Files
supersonic/webapp/packages/supersonic-fe/supersonic-webapp/umi.70e4115f.js
2023-07-16 21:32:33 +08:00

4313 lines
7.6 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(ce){var R={};function l(E){if(R[E])return R[E].exports;var m=R[E]={i:E,l:!1,exports:{}};return ce[E].call(m.exports,m,m.exports,l),m.l=!0,m.exports}return l.m=ce,l.c=R,l.d=function(E,m,O){l.o(E,m)||Object.defineProperty(E,m,{enumerable:!0,get:O})},l.r=function(E){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},l.t=function(E,m){if(m&1&&(E=l(E)),m&8||m&4&&typeof E=="object"&&E&&E.__esModule)return E;var O=Object.create(null);if(l.r(O),Object.defineProperty(O,"default",{enumerable:!0,value:E}),m&2&&typeof E!="string")for(var C in E)l.d(O,C,function(k){return E[k]}.bind(null,C));return O},l.n=function(E){var m=E&&E.__esModule?function(){return E.default}:function(){return E};return l.d(m,"a",m),m},l.o=function(E,m){return Object.prototype.hasOwnProperty.call(E,m)},l.p="/webapp/",l(l.s=0)})({"++nV":function(ce,R,l){(function(E){ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./lib/lang"),S=m("./lib/event_emitter").EventEmitter,y=m("./editor").Editor,w=m("./virtual_renderer").VirtualRenderer,x=m("./edit_session").EditSession,T=function(D,N,F){this.BELOW=1,this.BESIDE=0,this.$container=D,this.$theme=N,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(F||1),this.$cEditor=this.$editors[0],this.on("focus",function(B){this.$cEditor=B}.bind(this))};(function(){k.implement(this,S),this.$createEditor=function(){var j=document.createElement("div");j.className=this.$editorCSS,j.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(j);var D=new y(new w(j,this.$theme));return D.on("focus",function(){this._emit("focus",D)}.bind(this)),this.$editors.push(D),D.setFontSize(this.$fontSize),D},this.setSplits=function(j){var D;if(j<1)throw"The number of splits have to be > 0!";if(j!=this.$splits){if(j>this.$splits){for(;this.$splits<this.$editors.length&&this.$splits<j;)D=this.$editors[this.$splits],this.$container.appendChild(D.container),D.setFontSize(this.$fontSize),this.$splits++;for(;this.$splits<j;)this.$createEditor(),this.$splits++}else for(;this.$splits>j;)D=this.$editors[this.$splits-1],this.$container.removeChild(D.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(j){return this.$editors[j]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(j){this.$editors.forEach(function(D){D.setTheme(j)})},this.setKeyboardHandler=function(j){this.$editors.forEach(function(D){D.setKeyboardHandler(j)})},this.forEach=function(j,D){this.$editors.forEach(j,D)},this.$fontSize="",this.setFontSize=function(j){this.$fontSize=j,this.forEach(function(D){D.setFontSize(j)})},this.$cloneSession=function(j){var D=new x(j.getDocument(),j.getMode()),N=j.getUndoManager();return D.setUndoManager(N),D.setTabSize(j.getTabSize()),D.setUseSoftTabs(j.getUseSoftTabs()),D.setOverwrite(j.getOverwrite()),D.setBreakpoints(j.getBreakpoints()),D.setUseWrapMode(j.getUseWrapMode()),D.setUseWorker(j.getUseWorker()),D.setWrapLimitRange(j.$wrapLimitRange.min,j.$wrapLimitRange.max),D.$foldData=j.$cloneFoldData(),D},this.setSession=function(j,D){var N;D==null?N=this.$cEditor:N=this.$editors[D];var F=this.$editors.some(function(B){return B.session===j});return F&&(j=this.$cloneSession(j)),N.setSession(j),j},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(j){this.$orientation!=j&&(this.$orientation=j,this.resize())},this.resize=function(){var j=this.$container.clientWidth,D=this.$container.clientHeight,N;if(this.$orientation==this.BESIDE)for(var F=j/this.$splits,B=0;B<this.$splits;B++)N=this.$editors[B],N.container.style.width=F+"px",N.container.style.top="0px",N.container.style.left=B*F+"px",N.container.style.height=D+"px",N.resize();else for(var U=D/this.$splits,B=0;B<this.$splits;B++)N=this.$editors[B],N.container.style.width=j+"px",N.container.style.top=B*U+"px",N.container.style.left="0px",N.container.style.height=U+"px",N.resize()}}).call(T.prototype),O.Split=T}),ace.define("ace/ext/split",["require","exports","module","ace/split"],function(m,O,C){"use strict";C.exports=m("../split")}),function(){ace.require(["ace/ext/split"],function(m){E&&(E.exports=m)})}()}).call(this,l("hOG+")(ce))},"+0iv":function(ce,R,l){"use strict";/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/var E=l("qDJ8");function m(O){return E(O)===!0&&Object.prototype.toString.call(O)==="[object Object]"}ce.exports=function(C){var k,A;return!(m(C)===!1||(k=C.constructor,typeof k!="function")||(A=k.prototype,m(A)===!1)||A.hasOwnProperty("isPrototypeOf")===!1)}},"+2a4":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("jbR1"),A=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{some:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return A(x,function(j){if(T(j,j,w))return A.stop()},void 0,!1,!0).stopped}})},"+4le":function(ce,R,l){l("UXQe")},"+6XX":function(ce,R,l){var E=l("y1pI");function m(O){return E(this.__data__,O)>-1}ce.exports=m},"+8Ar":function(ce,R,l){"use strict";var E=l("+aGp"),m=/^ms-/;function O(C){return E(C).replace(m,"-ms-")}ce.exports=O},"+BJd":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("6MrE"),C=l.n(O)},"+GPJ":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("/dTS"),S=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{intersection:function(w){var x=C(this),T=new(A(x,O("Set"))),j=k(x.has),D=k(T.add);return S(w,function(N){j.call(x,N)&&D.call(T,N)}),T}})},"+Gva":function(ce,R,l){"use strict";var E=l("N2Kk"),m=l("wx14"),O={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},C=O,k={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},A=k,S={lang:Object(m.a)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},C),timePickerLocale:Object(m.a)({},A)};S.lang.ok="\u786E\u5B9A";var y=S,w=y,x="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}",T={locale:"zh-cn",Pagination:E.a,DatePicker:y,TimePicker:A,Calendar:w,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:x,method:x,array:x,object:x,number:x,date:x,boolean:x,integer:x,float:x,regexp:x,email:x,url:x,hex:x},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"}},j=R.a=T},"+Hw1":function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{iaddh:function(O,C,k,A){var S=O>>>0,y=C>>>0,w=k>>>0;return y+(A>>>0)+((S&w|(S|w)&~(S+w>>>0))>>>31)|0}})},"+J/V":function(ce,R,l){"use strict";l.d(R,"a",function(){return T});var E=l("ODXe"),m=l("q1tI");function O(j){var D=m.useRef();D.current=j;var N=m.useCallback(function(){for(var F,B=arguments.length,U=new Array(B),J=0;J<B;J++)U[J]=arguments[J];return(F=D.current)===null||F===void 0?void 0:F.call.apply(F,[D].concat(U))},[]);return N}var C=l("WLtj"),k=Object(C.a)()?m.useLayoutEffect:m.useEffect,A=function(D,N){var F=m.useRef(!0);k(function(){return D(F.current)},N),k(function(){return F.current=!1,function(){F.current=!0}},[])},S=function(D,N){A(function(F){if(!F)return D()},N)},y=A;function w(j){var D=m.useRef(!1),N=m.useState(j),F=Object(E.a)(N,2),B=F[0],U=F[1];m.useEffect(function(){return D.current=!1,function(){D.current=!0}},[]);function J($,X){X&&D.current||U($)}return[B,J]}function x(j){return j!==void 0}function T(j,D){var N=D||{},F=N.defaultValue,B=N.value,U=N.onChange,J=N.postState,$=w(function(){return x(B)?B:x(F)?typeof F=="function"?F():F:typeof j=="function"?j():j}),X=Object(E.a)($,2),ee=X[0],ie=X[1],G=B!==void 0?B:ee,Q=J?J(G):G,W=O(U),ne=w([G]),te=Object(E.a)(ne,2),_e=te[0],he=te[1];S(function(){var ge=_e[0];ee!==ge&&W(ee,ge)},[_e]),S(function(){x(B)||ie(B)},[B]);var oe=O(function(ge,me){ie(ge,me),he([G],me)});return[Q,oe]}},"+K+b":function(ce,R,l){var E=l("JHRd");function m(O){var C=new O.constructor(O.byteLength);return new E(C).set(new E(O)),C}ce.exports=m},"+KLJ":function(ce,R,l){"use strict";var E=l("wx14"),m=l("ODXe"),O=l("rePB"),C=l("jO45"),k=l("Ue1A"),A=l("jN4g"),S=l("2BaD"),y=l("4i/N"),w=l("IMoZ"),x=l("RCxd"),T=l("zueq"),j=l("+YFz"),D=l("TSYQ"),N=l.n(D),F=l("8XRh"),B=l("q1tI"),U=l("H84U"),J=l("RqAY"),$=l("0n0R"),X=l("1OyB"),ee=l("vuIU"),ie=l("Ji7U"),G=l("LK+K"),Q=function(Z){Object(ie.a)(Ee,Z);var xe=Object(G.a)(Ee);function Ee(){var Le;return Object(X.a)(this,Ee),Le=xe.apply(this,arguments),Le.state={error:void 0,info:{componentStack:""}},Le}return Object(ee.a)(Ee,[{key:"componentDidCatch",value:function(we,fe){this.setState({error:we,info:fe})}},{key:"render",value:function(){var we=this.props,fe=we.message,pe=we.description,Ke=we.children,Me=this.state,ze=Me.error,Ue=Me.info,He=Ue&&Ue.componentStack?Ue.componentStack:null,Ne=typeof fe=="undefined"?(ze||"").toString():fe,it=typeof pe=="undefined"?He:pe;return ze?B.createElement(me,{type:"error",message:Ne,description:B.createElement("pre",null,it)}):Ke}}]),Ee}(B.Component),W=Q,ne=function(Z,xe){var Ee={};for(var Le in Z)Object.prototype.hasOwnProperty.call(Z,Le)&&xe.indexOf(Le)<0&&(Ee[Le]=Z[Le]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Le=Object.getOwnPropertySymbols(Z);we<Le.length;we++)xe.indexOf(Le[we])<0&&Object.prototype.propertyIsEnumerable.call(Z,Le[we])&&(Ee[Le[we]]=Z[Le[we]]);return Ee},te={success:C.a,info:T.a,error:A.a,warning:w.a},_e={success:k.a,info:j.a,error:S.a,warning:x.a},he=function(xe){var Ee=xe.description,Le=xe.icon,we=xe.prefixCls,fe=xe.type,pe=(Ee?_e:te)[fe]||null;return Le?Object($.d)(Le,B.createElement("span",{className:"".concat(we,"-icon")},Le),function(){return{className:N()("".concat(we,"-icon"),Object(O.a)({},Le.props.className,Le.props.className))}}):B.createElement(pe,{className:"".concat(we,"-icon")})},oe=function(xe){var Ee=xe.isClosable,Le=xe.closeText,we=xe.prefixCls,fe=xe.closeIcon,pe=xe.handleClose;return Ee?B.createElement("button",{type:"button",onClick:pe,className:"".concat(we,"-close-icon"),tabIndex:0},Le?B.createElement("span",{className:"".concat(we,"-close-text")},Le):fe):null},ge=function(xe){var Ee,Le=xe.description,we=xe.prefixCls,fe=xe.message,pe=xe.banner,Ke=xe.className,Me=Ke===void 0?"":Ke,ze=xe.style,Ue=xe.onMouseEnter,He=xe.onMouseLeave,Ne=xe.onClick,it=xe.afterClose,Xe=xe.showIcon,ht=xe.closable,lt=xe.closeText,Et=xe.closeIcon,tt=Et===void 0?B.createElement(y.a,null):Et,mt=xe.action,xt=ne(xe,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),Xt=B.useState(!1),vt=Object(m.a)(Xt,2),qe=vt[0],Re=vt[1],Se=B.useRef(),Ve=B.useContext(U.b),Ge=Ve.getPrefixCls,_t=Ve.direction,bt=Ge("alert",we),gt=function(Qe){var Tt;Re(!0),(Tt=xt.onClose)===null||Tt===void 0||Tt.call(xt,Qe)},at=function(){var Qe=xt.type;return Qe!==void 0?Qe:pe?"warning":"info"},ft=lt?!0:ht,Fe=at(),Te=pe&&Xe===void 0?!0:Xe,ut=N()(bt,"".concat(bt,"-").concat(Fe),(Ee={},Object(O.a)(Ee,"".concat(bt,"-with-description"),!!Le),Object(O.a)(Ee,"".concat(bt,"-no-icon"),!Te),Object(O.a)(Ee,"".concat(bt,"-banner"),!!pe),Object(O.a)(Ee,"".concat(bt,"-rtl"),_t==="rtl"),Ee),Me),le=Object(J.a)(xt);return B.createElement(F.b,{visible:!qe,motionName:"".concat(bt,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(Qe){return{maxHeight:Qe.offsetHeight}},onLeaveEnd:it},function($e){var Qe=$e.className,Tt=$e.style;return B.createElement("div",Object(E.a)({ref:Se,"data-show":!qe,className:N()(ut,Qe),style:Object(E.a)(Object(E.a)({},ze),Tt),onMouseEnter:Ue,onMouseLeave:He,onClick:Ne,role:"alert"},le),Te?B.createElement(he,{description:Le,icon:xt.icon,prefixCls:bt,type:Fe}):null,B.createElement("div",{className:"".concat(bt,"-content")},fe?B.createElement("div",{className:"".concat(bt,"-message")},fe):null,Le?B.createElement("div",{className:"".concat(bt,"-description")},Le):null),mt?B.createElement("div",{className:"".concat(bt,"-action")},mt):null,B.createElement(oe,{isClosable:!!ft,closeText:lt,prefixCls:bt,closeIcon:tt,handleClose:gt}))})};ge.ErrorBoundary=W;var me=R.a=ge},"+L6B":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("qCM6"),C=l.n(O)},"+P9B":function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("+xQR")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="CloseOutlined";var x=C.forwardRef(w);R.default=x},"+QRC":function(ce,R,l){"use strict";var E=l("E9nw"),m={"text/plain":"Text","text/html":"Url",default:"Text"},O="Copy to clipboard: #{key}, Enter";function C(A){var S=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return A.replace(/#{\s*key\s*}/g,S)}function k(A,S){var y,w,x,T,j,D,N=!1;S||(S={}),y=S.debug||!1;try{x=E(),T=document.createRange(),j=document.getSelection(),D=document.createElement("span"),D.textContent=A,D.ariaHidden="true",D.style.all="unset",D.style.position="fixed",D.style.top=0,D.style.clip="rect(0, 0, 0, 0)",D.style.whiteSpace="pre",D.style.webkitUserSelect="text",D.style.MozUserSelect="text",D.style.msUserSelect="text",D.style.userSelect="text",D.addEventListener("copy",function(B){if(B.stopPropagation(),S.format)if(B.preventDefault(),typeof B.clipboardData=="undefined"){y&&console.warn("unable to use e.clipboardData"),y&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var U=m[S.format]||m.default;window.clipboardData.setData(U,A)}else B.clipboardData.clearData(),B.clipboardData.setData(S.format,A);S.onCopy&&(B.preventDefault(),S.onCopy(B.clipboardData))}),document.body.appendChild(D),T.selectNodeContents(D),j.addRange(T);var F=document.execCommand("copy");if(!F)throw new Error("copy command was unsuccessful");N=!0}catch(B){y&&console.error("unable to copy using execCommand: ",B),y&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(S.format||"text",A),S.onCopy&&S.onCopy(window.clipboardData),N=!0}catch(U){y&&console.error("unable to copy using clipboardData: ",U),y&&console.error("falling back to prompt"),w=C("message"in S?S.message:O),window.prompt(w,A)}}finally{j&&(typeof j.removeRange=="function"?j.removeRange(T):j.removeAllRanges()),D&&document.body.removeChild(D),x()}return N}ce.exports=k},"+Qka":function(ce,R,l){var E=l("fmRc"),m=l("t2Dn"),O=l("cq/+"),C=l("T1AV"),k=l("GoyQ"),A=l("mTTR"),S=l("itsj");function y(w,x,T,j,D){w!==x&&O(x,function(N,F){if(D||(D=new E),k(N))C(w,x,F,T,y,j,D);else{var B=j?j(S(w,F),N,F+"",w,x,D):void 0;B===void 0&&(B=N),m(w,F,B)}},A)}ce.exports=y},"+SQA":function(ce,R,l){"use strict";var E=l("cT1L"),m=l("tSXo"),O=[].slice,C={},k=function(A,S,y){if(!(S in C)){for(var w=[],x=0;x<S;x++)w[x]="a["+x+"]";C[S]=Function("C,a","return new C("+w.join(",")+")")}return C[S](A,y)};ce.exports=Function.bind||function(S){var y=E(this),w=O.call(arguments,1),x=function(){var j=w.concat(O.call(arguments));return this instanceof x?k(y,j.length,j):y.apply(S,j)};return m(y.prototype)&&(x.prototype=y.prototype),x}},"+UJD":function(ce,R,l){var E=l("zoYe"),m=l("wy8a"),O=l("LPhD"),C=l("Em2t"),k=l("dt0z"),A=l("TO8r");function S(y,w,x){if(y=k(y),y&&(x||w===void 0))return y.slice(0,A(y)+1);if(!y||!(w=E(w)))return y;var T=C(y),j=O(T,C(w))+1;return m(T,0,j).join("")}ce.exports=S},"+X1D":function(ce,R,l){"use strict";var E=l("f1E4"),m=l("cT1L");ce.exports=function(){for(var O=E(this),C=m(O.delete),k=!0,A,S=0,y=arguments.length;S<y;S++)A=C.call(O,arguments[S]),k=k&&A;return!!k}},"+YFz":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O=l.n(m),C=l("hmRj"),k=l("6VBw"),A=function(y,w){return m.createElement(k.a,Object(E.a)(Object(E.a)({},y),{},{ref:w,icon:C.a}))};A.displayName="InfoCircleOutlined",R.a=m.forwardRef(A)},"+ZEL":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=C;var E=l("JysN"),m=O(E);function O(k){return k&&k.__esModule?k:{default:k}}function C(k,A,S){if(k.hasOwnProperty(A)){for(var y={},w=k[A],x=(0,m.default)(A),T=Object.keys(S),j=0;j<T.length;j++){var D=T[j];if(D===A)for(var N=0;N<w.length;N++)y[w[N]+x]=S[A];y[D]=S[D]}return y}return S}ce.exports=R.default},"+aGp":function(ce,R,l){"use strict";var E=/([A-Z])/g;function m(O){return O.replace(E,"-$1").toLowerCase()}ce.exports=m},"+c4W":function(ce,R,l){var E=l("711d"),m=l("4/ic"),O=l("9ggG"),C=l("9Nap");function k(A){return O(A)?E(C(A)):m(A)}ce.exports=k},"+eQT":function(ce,R,l){"use strict";var E=l("wd/R"),m=l.n(E),O={},C=[],k=function(nr){C.push(nr)};function A(qt,nr){if(!1)var Ur}function S(qt,nr){if(!1)var Ur}function y(){O={}}function w(qt,nr,Ur){!nr&&!O[Ur]&&(qt(!1,Ur),O[Ur]=!0)}function x(qt,nr){w(A,qt,nr)}function T(qt,nr){w(S,qt,nr)}x.preMessage=k,x.resetWarned=y,x.noteOnce=T;var j=x,D={getNow:function(){return m()()},getFixedDate:function(nr){return m()(nr,"YYYY-MM-DD")},getEndDate:function(nr){var Ur=nr.clone();return Ur.endOf("month")},getWeekDay:function(nr){var Ur=nr.clone().locale("en_US");return Ur.weekday()+Ur.localeData().firstDayOfWeek()},getYear:function(nr){return nr.year()},getMonth:function(nr){return nr.month()},getDate:function(nr){return nr.date()},getHour:function(nr){return nr.hour()},getMinute:function(nr){return nr.minute()},getSecond:function(nr){return nr.second()},addYear:function(nr,Ur){var Yr=nr.clone();return Yr.add(Ur,"year")},addMonth:function(nr,Ur){var Yr=nr.clone();return Yr.add(Ur,"month")},addDate:function(nr,Ur){var Yr=nr.clone();return Yr.add(Ur,"day")},setYear:function(nr,Ur){var Yr=nr.clone();return Yr.year(Ur)},setMonth:function(nr,Ur){var Yr=nr.clone();return Yr.month(Ur)},setDate:function(nr,Ur){var Yr=nr.clone();return Yr.date(Ur)},setHour:function(nr,Ur){var Yr=nr.clone();return Yr.hour(Ur)},setMinute:function(nr,Ur){var Yr=nr.clone();return Yr.minute(Ur)},setSecond:function(nr,Ur){var Yr=nr.clone();return Yr.second(Ur)},isAfter:function(nr,Ur){return nr.isAfter(Ur)},isValidate:function(nr){return nr.isValid()},locale:{getWeekFirstDay:function(nr){var Ur=m()().locale(nr);return Ur.localeData().firstDayOfWeek()},getWeekFirstDate:function(nr,Ur){var Yr=Ur.clone(),ni=Yr.locale(nr);return ni.weekday(0)},getWeek:function(nr,Ur){var Yr=Ur.clone(),ni=Yr.locale(nr);return ni.week()},getShortWeekDays:function(nr){var Ur=m()().locale(nr);return Ur.localeData().weekdaysMin()},getShortMonths:function(nr){var Ur=m()().locale(nr);return Ur.localeData().monthsShort()},format:function(nr,Ur,Yr){var ni=Ur.clone(),vi=ni.locale(nr);return vi.format(Yr)},parse:function(nr,Ur,Yr){for(var ni=[],vi=0;vi<Yr.length;vi+=1){var zr=Yr[vi],wr=Ur;if(zr.includes("wo")||zr.includes("Wo")){zr=zr.replace(/wo/g,"w").replace(/Wo/g,"W");var Ua=zr.match(/[-YyMmDdHhSsWwGg]+/g),La=wr.match(/[-\d]+/g);Ua&&La?(zr=Ua.join(""),wr=La.join("")):ni.push(zr.replace(/o/g,""))}var Nr=m()(wr,zr,nr,!0);if(Nr.isValid())return Nr}for(var ua=0;ua<ni.length;ua+=1){var ra=m()(Ur,ni[ua],nr,!1);if(ra.isValid())return T(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),ra}return null}}},N=D,F=l("wx14"),B=l("CWQg"),U=l("q1tI"),J=l("2/Rp");function $(qt){return U.createElement(J.a,Object(F.a)({size:"small",type:"primary"},qt))}var X=l("mr32");function ee(qt){return U.createElement(X.a,Object(F.a)({color:"blue"},qt))}var ie=l("rePB"),G=l("VTBJ"),Q={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"},W=Q,ne=l("6VBw"),te=function(nr,Ur){return U.createElement(ne.a,Object(G.a)(Object(G.a)({},nr),{},{ref:Ur,icon:W}))};te.displayName="CalendarOutlined";var _e=U.forwardRef(te),he={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"},oe=he,ge=function(nr,Ur){return U.createElement(ne.a,Object(G.a)(Object(G.a)({},nr),{},{ref:Ur,icon:oe}))};ge.displayName="ClockCircleOutlined";var me=U.forwardRef(ge),Z=l("jN4g"),xe={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"},Ee=xe,Le=function(nr,Ur){return U.createElement(ne.a,Object(G.a)(Object(G.a)({},nr),{},{ref:Ur,icon:Ee}))};Le.displayName="SwapRightOutlined";var we=U.forwardRef(Le),fe=l("TSYQ"),pe=l.n(fe),Ke=l("1OyB"),Me=l("vuIU"),ze=l("Ji7U"),Ue=l("LK+K"),He=l("ODXe");function Ne(qt){var nr=U.useRef();nr.current=qt;var Ur=U.useCallback(function(){for(var Yr,ni=arguments.length,vi=new Array(ni),zr=0;zr<ni;zr++)vi[zr]=arguments[zr];return(Yr=nr.current)===null||Yr===void 0?void 0:Yr.call.apply(Yr,[nr].concat(vi))},[]);return Ur}function it(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xe=it()?U.useLayoutEffect:U.useEffect,ht=function(nr,Ur){var Yr=U.useRef(!0);Xe(function(){return nr(Yr.current)},Ur),Xe(function(){return Yr.current=!1,function(){Yr.current=!0}},[])},lt=function(nr,Ur){ht(function(Yr){if(!Yr)return nr()},Ur)},Et=ht;function tt(qt){var nr=U.useRef(!1),Ur=U.useState(qt),Yr=Object(He.a)(Ur,2),ni=Yr[0],vi=Yr[1];U.useEffect(function(){return nr.current=!1,function(){nr.current=!0}},[]);function zr(wr,Ua){Ua&&nr.current||vi(wr)}return[ni,zr]}function mt(qt){return qt!==void 0}function xt(qt,nr){var Ur=nr||{},Yr=Ur.defaultValue,ni=Ur.value,vi=Ur.onChange,zr=Ur.postState,wr=tt(function(){return mt(ni)?ni:mt(Yr)?typeof Yr=="function"?Yr():Yr:typeof qt=="function"?qt():qt}),Ua=Object(He.a)(wr,2),La=Ua[0],Nr=Ua[1],ua=ni!==void 0?ni:La,ra=zr?zr(ua):ua,ri=Ne(vi),li=tt([ua]),hi=Object(He.a)(li,2),ii=hi[0],Di=hi[1];lt(function(){var ps=ii[0];La!==ps&&ri(La,ps)},[ii]),lt(function(){mt(ni)||Nr(ni)},[ni]);var Xo=Ne(function(ps,mc){Nr(ps,mc),Di([ua],mc)});return[ra,Xo]}var Xt=l("U8pU"),vt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(nr){var Ur=nr.keyCode;if(nr.altKey&&!nr.ctrlKey||nr.metaKey||Ur>=vt.F1&&Ur<=vt.F12)return!1;switch(Ur){case vt.ALT:case vt.CAPS_LOCK:case vt.CONTEXT_MENU:case vt.CTRL:case vt.DOWN:case vt.END:case vt.ESC:case vt.HOME:case vt.INSERT:case vt.LEFT:case vt.MAC_FF_META:case vt.META:case vt.NUMLOCK:case vt.NUM_CENTER:case vt.PAGE_DOWN:case vt.PAGE_UP:case vt.PAUSE:case vt.PRINT_SCREEN:case vt.RIGHT:case vt.SHIFT:case vt.UP:case vt.WIN_KEY:case vt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(nr){if(nr>=vt.ZERO&&nr<=vt.NINE||nr>=vt.NUM_ZERO&&nr<=vt.NUM_MULTIPLY||nr>=vt.A&&nr<=vt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&nr===0)return!0;switch(nr){case vt.SPACE:case vt.QUESTION_MARK:case vt.NUM_PLUS:case vt.NUM_MINUS:case vt.NUM_PERIOD:case vt.NUM_DIVISION:case vt.SEMICOLON:case vt.DASH:case vt.EQUALS:case vt.COMMA:case vt.PERIOD:case vt.SLASH:case vt.APOSTROPHE:case vt.SINGLE_QUOTE:case vt.OPEN_SQUARE_BRACKET:case vt.BACKSLASH:case vt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},qe=vt,Re=U.createContext({}),Se=Re,Ve={visibility:"hidden"};function Ge(qt){var nr=qt.prefixCls,Ur=qt.prevIcon,Yr=Ur===void 0?"\u2039":Ur,ni=qt.nextIcon,vi=ni===void 0?"\u203A":ni,zr=qt.superPrevIcon,wr=zr===void 0?"\xAB":zr,Ua=qt.superNextIcon,La=Ua===void 0?"\xBB":Ua,Nr=qt.onSuperPrev,ua=qt.onSuperNext,ra=qt.onPrev,ri=qt.onNext,li=qt.children,hi=U.useContext(Se),ii=hi.hideNextBtn,Di=hi.hidePrevBtn;return U.createElement("div",{className:nr},Nr&&U.createElement("button",{type:"button",onClick:Nr,tabIndex:-1,className:"".concat(nr,"-super-prev-btn"),style:Di?Ve:{}},wr),ra&&U.createElement("button",{type:"button",onClick:ra,tabIndex:-1,className:"".concat(nr,"-prev-btn"),style:Di?Ve:{}},Yr),U.createElement("div",{className:"".concat(nr,"-view")},li),ri&&U.createElement("button",{type:"button",onClick:ri,tabIndex:-1,className:"".concat(nr,"-next-btn"),style:ii?Ve:{}},vi),ua&&U.createElement("button",{type:"button",onClick:ua,tabIndex:-1,className:"".concat(nr,"-super-next-btn"),style:ii?Ve:{}},La))}var _t=Ge;function bt(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.viewDate,ni=qt.onPrevDecades,vi=qt.onNextDecades,zr=U.useContext(Se),wr=zr.hideHeader;if(wr)return null;var Ua="".concat(nr,"-header"),La=Ur.getYear(Yr),Nr=Math.floor(La/nt)*nt,ua=Nr+nt-1;return U.createElement(_t,Object(F.a)({},qt,{prefixCls:Ua,onSuperPrev:ni,onSuperNext:vi}),Nr,"-",ua)}var gt=bt;function at(qt,nr,Ur,Yr,ni){var vi=qt.setHour(nr,Ur);return vi=qt.setMinute(vi,Yr),vi=qt.setSecond(vi,ni),vi}function ft(qt,nr,Ur){if(!Ur)return nr;var Yr=nr;return Yr=qt.setHour(Yr,qt.getHour(Ur)),Yr=qt.setMinute(Yr,qt.getMinute(Ur)),Yr=qt.setSecond(Yr,qt.getSecond(Ur)),Yr}function Fe(qt,nr,Ur,Yr,ni,vi){var zr=Math.floor(qt/Yr)*Yr;if(zr<qt)return[zr,60-ni,60-vi];var wr=Math.floor(nr/ni)*ni;if(wr<nr)return[zr,wr,60-vi];var Ua=Math.floor(Ur/vi)*vi;return[zr,wr,Ua]}function Te(qt,nr){var Ur=qt.getYear(nr),Yr=qt.getMonth(nr)+1,ni=qt.getEndDate(qt.getFixedDate("".concat(Ur,"-").concat(Yr,"-01"))),vi=qt.getDate(ni),zr=Yr<10?"0".concat(Yr):"".concat(Yr);return"".concat(Ur,"-").concat(zr,"-").concat(vi)}function ut(qt){for(var nr=qt.prefixCls,Ur=qt.disabledDate,Yr=qt.onSelect,ni=qt.picker,vi=qt.rowNum,zr=qt.colNum,wr=qt.prefixColumn,Ua=qt.rowClassName,La=qt.baseDate,Nr=qt.getCellClassName,ua=qt.getCellText,ra=qt.getCellNode,ri=qt.getCellDate,li=qt.generateConfig,hi=qt.titleCell,ii=qt.headerCells,Di=U.useContext(Se),Xo=Di.onDateMouseEnter,ps=Di.onDateMouseLeave,mc=Di.mode,Ts="".concat(nr,"-cell"),Ar=[],Gs=0;Gs<vi;Gs+=1){for(var Nc=[],Jc=void 0,Fc=function(){var Vl,hu=Gs*zr+Ro,ru=ri(La,hu),pd=Ca({cellDate:ru,mode:mc,disabledDate:Ur,generateConfig:li});Ro===0&&(Jc=ru,wr&&Nc.push(wr(Jc)));var ql=hi&&hi(ru);Nc.push(U.createElement("td",{key:Ro,title:ql,className:pe()(Ts,Object(G.a)((Vl={},Object(ie.a)(Vl,"".concat(Ts,"-disabled"),pd),Object(ie.a)(Vl,"".concat(Ts,"-start"),ua(ru)===1||ni==="year"&&Number(ql)%10==0),Object(ie.a)(Vl,"".concat(Ts,"-end"),ql===Te(li,ru)||ni==="year"&&Number(ql)%10==9),Vl),Nr(ru))),onClick:function(){pd||Yr(ru)},onMouseEnter:function(){!pd&&Xo&&Xo(ru)},onMouseLeave:function(){!pd&&ps&&ps(ru)}},ra?ra(ru):U.createElement("div",{className:"".concat(Ts,"-inner")},ua(ru))))},Ro=0;Ro<zr;Ro+=1)Fc();Ar.push(U.createElement("tr",{key:Gs,className:Ua&&Ua(Jc)},Nc))}return U.createElement("div",{className:"".concat(nr,"-body")},U.createElement("table",{className:"".concat(nr,"-content")},ii&&U.createElement("thead",null,U.createElement("tr",null,ii)),U.createElement("tbody",null,Ar)))}var le=3,$e=4;function Qe(qt){var nr=ot-1,Ur=qt.prefixCls,Yr=qt.viewDate,ni=qt.generateConfig,vi="".concat(Ur,"-cell"),zr=ni.getYear(Yr),wr=Math.floor(zr/ot)*ot,Ua=Math.floor(zr/nt)*nt,La=Ua+nt-1,Nr=ni.setYear(Yr,Ua-Math.ceil((le*$e*ot-nt)/2)),ua=function(ri){var li,hi=ni.getYear(ri),ii=hi+nr;return li={},Object(ie.a)(li,"".concat(vi,"-in-view"),Ua<=hi&&ii<=La),Object(ie.a)(li,"".concat(vi,"-selected"),hi===wr),li};return U.createElement(ut,Object(F.a)({},qt,{rowNum:$e,colNum:le,baseDate:Nr,getCellText:function(ri){var li=ni.getYear(ri);return"".concat(li,"-").concat(li+nr)},getCellClassName:ua,getCellDate:function(ri,li){return ni.addYear(ri,li*ot)}}))}var Tt=Qe,Ot=l("KQm4"),Ut=function(nr){return+setTimeout(nr,16)},At=function(nr){return clearTimeout(nr)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ut=function(nr){return window.requestAnimationFrame(nr)},At=function(nr){return window.cancelAnimationFrame(nr)});var Pt=0,Dt=new Map;function Qt(qt){Dt.delete(qt)}var cn=function(nr){var Ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Pt+=1;var Yr=Pt;function ni(vi){if(vi===0)Qt(Yr),nr();else{var zr=Ut(function(){ni(vi-1)});Dt.set(Yr,zr)}}return ni(Ur),Yr};cn.cancel=function(qt){var nr=Dt.get(qt);return Qt(nr),At(nr)};var $n=cn,hn=function(qt){if(!qt)return!1;if(qt instanceof Element){if(qt.offsetParent)return!0;if(qt.getBBox){var nr=qt.getBBox(),Ur=nr.width,Yr=nr.height;if(Ur||Yr)return!0}if(qt.getBoundingClientRect){var ni=qt.getBoundingClientRect(),vi=ni.width,zr=ni.height;if(vi||zr)return!0}}return!1},_n=new Map;function bn(qt,nr){var Ur;function Yr(){hn(qt)?nr():Ur=$n(function(){Yr()})}return Yr(),function(){$n.cancel(Ur)}}function Bn(qt,nr,Ur){if(_n.get(qt)&&cancelAnimationFrame(_n.get(qt)),Ur<=0){_n.set(qt,requestAnimationFrame(function(){qt.scrollTop=nr}));return}var Yr=nr-qt.scrollTop,ni=Yr/Ur*10;_n.set(qt,requestAnimationFrame(function(){qt.scrollTop+=ni,qt.scrollTop!==nr&&Bn(qt,nr,Ur-10)}))}function Tn(qt,nr){var Ur=nr.onLeftRight,Yr=nr.onCtrlLeftRight,ni=nr.onUpDown,vi=nr.onPageUpDown,zr=nr.onEnter,wr=qt.which,Ua=qt.ctrlKey,La=qt.metaKey;switch(wr){case qe.LEFT:if(Ua||La){if(Yr)return Yr(-1),!0}else if(Ur)return Ur(-1),!0;break;case qe.RIGHT:if(Ua||La){if(Yr)return Yr(1),!0}else if(Ur)return Ur(1),!0;break;case qe.UP:if(ni)return ni(-1),!0;break;case qe.DOWN:if(ni)return ni(1),!0;break;case qe.PAGE_UP:if(vi)return vi(-1),!0;break;case qe.PAGE_DOWN:if(vi)return vi(1),!0;break;case qe.ENTER:if(zr)return zr(),!0;break}return!1}function Tr(qt,nr,Ur,Yr){var ni=qt;if(!ni)switch(nr){case"time":ni=Yr?"hh:mm:ss a":"HH:mm:ss";break;case"week":ni="gggg-wo";break;case"month":ni="YYYY-MM";break;case"quarter":ni="YYYY-[Q]Q";break;case"year":ni="YYYY";break;default:ni=Ur?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return ni}function Sr(qt,nr,Ur){var Yr=qt==="time"?8:10,ni=typeof nr=="function"?nr(Ur.getNow()).length:nr.length;return Math.max(Yr,ni)+2}var Wr=null,br=new Set;function Wn(qt){return!Wr&&typeof window!="undefined"&&window.addEventListener&&(Wr=function(Ur){Object(Ot.a)(br).forEach(function(Yr){Yr(Ur)})},window.addEventListener("mousedown",Wr)),br.add(qt),function(){br.delete(qt),br.size===0&&(window.removeEventListener("mousedown",Wr),Wr=null)}}function gr(qt){var nr=qt.target;if(qt.composed&&nr.shadowRoot){var Ur;return((Ur=qt.composedPath)===null||Ur===void 0?void 0:Ur.call(qt)[0])||nr}return nr}var na=function(nr){return nr==="month"||nr==="date"?"year":nr},jn=function(nr){return nr==="date"?"month":nr},un=function(nr){return nr==="month"||nr==="date"?"quarter":nr},zt=function(nr){return nr==="date"?"week":nr},Bt={year:na,month:jn,quarter:un,week:zt,time:null,date:null};function H(qt,nr){return qt.some(function(Ur){return Ur&&Ur.contains(nr)})}var ot=10,nt=ot*10;function Ct(qt){var nr=qt.prefixCls,Ur=qt.onViewDateChange,Yr=qt.generateConfig,ni=qt.viewDate,vi=qt.operationRef,zr=qt.onSelect,wr=qt.onPanelChange,Ua="".concat(nr,"-decade-panel");vi.current={onKeyDown:function(ra){return Tn(ra,{onLeftRight:function(li){zr(Yr.addYear(ni,li*ot),"key")},onCtrlLeftRight:function(li){zr(Yr.addYear(ni,li*nt),"key")},onUpDown:function(li){zr(Yr.addYear(ni,li*ot*le),"key")},onEnter:function(){wr("year",ni)}})}};var La=function(ra){var ri=Yr.addYear(ni,ra*nt);Ur(ri),wr(null,ri)},Nr=function(ra){zr(ra,"mouse"),wr("year",ra)};return U.createElement("div",{className:Ua},U.createElement(gt,Object(F.a)({},qt,{prefixCls:nr,onPrevDecades:function(){La(-1)},onNextDecades:function(){La(1)}})),U.createElement(Tt,Object(F.a)({},qt,{prefixCls:nr,onSelect:Nr})))}var Wt=Ct,kn=7;function Sn(qt,nr){if(!qt&&!nr)return!0;if(!qt||!nr)return!1}function Zn(qt,nr,Ur){var Yr=Sn(nr,Ur);if(typeof Yr=="boolean")return Yr;var ni=Math.floor(qt.getYear(nr)/10),vi=Math.floor(qt.getYear(Ur)/10);return ni===vi}function Or(qt,nr,Ur){var Yr=Sn(nr,Ur);return typeof Yr=="boolean"?Yr:qt.getYear(nr)===qt.getYear(Ur)}function Yn(qt,nr){var Ur=Math.floor(qt.getMonth(nr)/3);return Ur+1}function Nn(qt,nr,Ur){var Yr=Sn(nr,Ur);return typeof Yr=="boolean"?Yr:Or(qt,nr,Ur)&&Yn(qt,nr)===Yn(qt,Ur)}function Zt(qt,nr,Ur){var Yr=Sn(nr,Ur);return typeof Yr=="boolean"?Yr:Or(qt,nr,Ur)&&qt.getMonth(nr)===qt.getMonth(Ur)}function rr(qt,nr,Ur){var Yr=Sn(nr,Ur);return typeof Yr=="boolean"?Yr:qt.getYear(nr)===qt.getYear(Ur)&&qt.getMonth(nr)===qt.getMonth(Ur)&&qt.getDate(nr)===qt.getDate(Ur)}function Gn(qt,nr,Ur){var Yr=Sn(nr,Ur);return typeof Yr=="boolean"?Yr:qt.getHour(nr)===qt.getHour(Ur)&&qt.getMinute(nr)===qt.getMinute(Ur)&&qt.getSecond(nr)===qt.getSecond(Ur)}function ln(qt,nr,Ur,Yr){var ni=Sn(Ur,Yr);return typeof ni=="boolean"?ni:qt.locale.getWeek(nr,Ur)===qt.locale.getWeek(nr,Yr)}function Xn(qt,nr,Ur){return rr(qt,nr,Ur)&&Gn(qt,nr,Ur)}function Kn(qt,nr,Ur,Yr){return!nr||!Ur||!Yr?!1:!rr(qt,nr,Yr)&&!rr(qt,Ur,Yr)&&qt.isAfter(Yr,nr)&&qt.isAfter(Ur,Yr)}function fr(qt,nr,Ur){var Yr=nr.locale.getWeekFirstDay(qt),ni=nr.setDate(Ur,1),vi=nr.getWeekDay(ni),zr=nr.addDate(ni,Yr-vi);return nr.getMonth(zr)===nr.getMonth(Ur)&&nr.getDate(zr)>1&&(zr=nr.addDate(zr,-7)),zr}function Hn(qt,nr,Ur){var Yr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(nr){case"year":return Ur.addYear(qt,Yr*10);case"quarter":case"month":return Ur.addYear(qt,Yr);default:return Ur.addMonth(qt,Yr)}}function Sa(qt,nr){var Ur=nr.generateConfig,Yr=nr.locale,ni=nr.format;return typeof ni=="function"?ni(qt):Ur.locale.format(Yr.locale,qt,ni)}function Lr(qt,nr){var Ur=nr.generateConfig,Yr=nr.locale,ni=nr.formatList;return!qt||typeof ni[0]=="function"?null:Ur.locale.parse(Yr.locale,qt,ni)}function Ca(qt){var nr=qt.cellDate,Ur=qt.mode,Yr=qt.disabledDate,ni=qt.generateConfig;if(!Yr)return!1;var vi=function(li,hi,ii){for(var Di=hi;Di<=ii;){var Xo=void 0;switch(li){case"date":{if(Xo=ni.setDate(nr,Di),!Yr(Xo))return!1;break}case"month":{if(Xo=ni.setMonth(nr,Di),!Ca({cellDate:Xo,mode:"month",generateConfig:ni,disabledDate:Yr}))return!1;break}case"year":{if(Xo=ni.setYear(nr,Di),!Ca({cellDate:Xo,mode:"year",generateConfig:ni,disabledDate:Yr}))return!1;break}}Di+=1}return!0};switch(Ur){case"date":case"week":return Yr(nr);case"month":{var zr=1,wr=ni.getDate(ni.getEndDate(nr));return vi("date",zr,wr)}case"quarter":{var Ua=Math.floor(ni.getMonth(nr)/3)*3,La=Ua+2;return vi("month",Ua,La)}case"year":return vi("month",0,11);case"decade":{var Nr=ni.getYear(nr),ua=Math.floor(Nr/ot)*ot,ra=ua+ot-1;return vi("year",ua,ra)}}}function za(qt){var nr=U.useContext(Se),Ur=nr.hideHeader;if(Ur)return null;var Yr=qt.prefixCls,ni=qt.generateConfig,vi=qt.locale,zr=qt.value,wr=qt.format,Ua="".concat(Yr,"-header");return U.createElement(_t,{prefixCls:Ua},zr?Sa(zr,{locale:vi,format:wr,generateConfig:ni}):"\xA0")}var Ma=za;function va(qt,nr,Ur){var Yr=U.useRef({});return(!("value"in Yr.current)||Ur(Yr.current.condition,nr))&&(Yr.current.value=qt(),Yr.current.condition=nr),Yr.current.value}function qa(qt){var nr=qt.prefixCls,Ur=qt.units,Yr=qt.onSelect,ni=qt.value,vi=qt.active,zr=qt.hideDisabledOptions,wr="".concat(nr,"-cell"),Ua=U.useContext(Se),La=Ua.open,Nr=Object(U.useRef)(null),ua=Object(U.useRef)(new Map),ra=Object(U.useRef)();return Object(U.useLayoutEffect)(function(){var ri=ua.current.get(ni);ri&&La!==!1&&Bn(Nr.current,ri.offsetTop,120)},[ni]),Object(U.useLayoutEffect)(function(){if(La){var ri=ua.current.get(ni);ri&&(ra.current=bn(ri,function(){Bn(Nr.current,ri.offsetTop,0)}))}return function(){var li;(li=ra.current)===null||li===void 0||li.call(ra)}},[La]),U.createElement("ul",{className:pe()("".concat(nr,"-column"),Object(ie.a)({},"".concat(nr,"-column-active"),vi)),ref:Nr,style:{position:"relative"}},Ur.map(function(ri){var li;return zr&&ri.disabled?null:U.createElement("li",{key:ri.value,ref:function(ii){ua.current.set(ri.value,ii)},className:pe()(wr,(li={},Object(ie.a)(li,"".concat(wr,"-disabled"),ri.disabled),Object(ie.a)(li,"".concat(wr,"-selected"),ni===ri.value),li)),onClick:function(){ri.disabled||Yr(ri.value)}},U.createElement("div",{className:"".concat(wr,"-inner")},ri.label))}))}var gi=qa;function Qi(qt,nr){for(var Ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Yr=String(qt);Yr.length<nr;)Yr="".concat(Ur).concat(qt);return Yr}var mi=function(){for(var nr=arguments.length,Ur=new Array(nr),Yr=0;Yr<nr;Yr++)Ur[Yr]=arguments[Yr];return Ur};function Cr(qt){return qt==null?[]:Array.isArray(qt)?qt:[qt]}function Un(qt){var nr={};return Object.keys(qt).forEach(function(Ur){(Ur.substr(0,5)==="data-"||Ur.substr(0,5)==="aria-"||Ur==="role"||Ur==="name")&&Ur.substr(0,7)!=="data-__"&&(nr[Ur]=qt[Ur])}),nr}function Lt(qt,nr){return qt?qt[nr]:null}function gn(qt,nr,Ur){var Yr=[Lt(qt,0),Lt(qt,1)];return Yr[Ur]=typeof nr=="function"?nr(Yr[Ur]):nr,!Yr[0]&&!Yr[1]?null:Yr}function Ln(qt,nr){if(qt.length!==nr.length)return!0;for(var Ur=0;Ur<qt.length;Ur+=1)if(qt[Ur].disabled!==nr[Ur].disabled)return!0;return!1}function kr(qt,nr,Ur,Yr){for(var ni=[],vi=Ur>=1?Ur|0:1,zr=qt;zr<=nr;zr+=vi)ni.push({label:Qi(zr,2),value:zr,disabled:(Yr||[]).includes(zr)});return ni}function ea(qt){var nr=qt.generateConfig,Ur=qt.prefixCls,Yr=qt.operationRef,ni=qt.activeColumnIndex,vi=qt.value,zr=qt.showHour,wr=qt.showMinute,Ua=qt.showSecond,La=qt.use12Hours,Nr=qt.hourStep,ua=Nr===void 0?1:Nr,ra=qt.minuteStep,ri=ra===void 0?1:ra,li=qt.secondStep,hi=li===void 0?1:li,ii=qt.disabledHours,Di=qt.disabledMinutes,Xo=qt.disabledSeconds,ps=qt.disabledTime,mc=qt.hideDisabledOptions,Ts=qt.onSelect,Ar=[],Gs="".concat(Ur,"-content"),Nc="".concat(Ur,"-time-panel"),Jc,Fc=vi?nr.getHour(vi):-1,Ro=Fc,Dl=vi?nr.getMinute(vi):-1,Vl=vi?nr.getSecond(vi):-1,hu=nr.getNow(),ru=U.useMemo(function(){if(ps){var yn=ps(hu);return[yn.disabledHours,yn.disabledMinutes,yn.disabledSeconds]}return[ii,Di,Xo]},[ii,Di,Xo,ps,hu]),pd=Object(He.a)(ru,3),ql=pd[0],Ru=pd[1],Hl=pd[2],fu=function(Dr,Xr,Ta,Ra){var wi=vi||nr.getNow(),mo=Math.max(0,Xr),Yi=Math.max(0,Ta),Ji=Math.max(0,Ra);return wi=at(nr,wi,!La||!Dr?mo:mo+12,Yi,Ji),wi},nd=kr(0,23,ua,ql&&ql()),bd=va(function(){return nd},nd,Ln);La&&(Jc=Ro>=12,Ro%=12);var ml=U.useMemo(function(){if(!La)return[!1,!1];var yn=[!0,!0];return bd.forEach(function(Dr){var Xr=Dr.disabled,Ta=Dr.value;Xr||(Ta>=12?yn[1]=!1:yn[0]=!1)}),yn},[La,bd]),os=Object(He.a)(ml,2),wu=os[0],cd=os[1],Ud=U.useMemo(function(){return La?bd.filter(Jc?function(yn){return yn.value>=12}:function(yn){return yn.value<12}).map(function(yn){var Dr=yn.value%12,Xr=Dr===0?"12":Qi(Dr,2);return Object(G.a)(Object(G.a)({},yn),{},{label:Xr,value:Dr})}):bd},[La,Jc,bd]),Eu=kr(0,59,ri,Ru&&Ru(Fc)),El=kr(0,59,hi,Hl&&Hl(Fc,Dl));Yr.current={onUpDown:function(Dr){var Xr=Ar[ni];if(Xr)for(var Ta=Xr.units.findIndex(function(Yi){return Yi.value===Xr.value}),Ra=Xr.units.length,wi=1;wi<Ra;wi+=1){var mo=Xr.units[(Ta+Dr*wi+Ra)%Ra];if(mo.disabled!==!0){Xr.onSelect(mo.value);break}}}};function eu(yn,Dr,Xr,Ta,Ra){yn!==!1&&Ar.push({node:U.cloneElement(Dr,{prefixCls:Nc,value:Xr,active:ni===Ar.length,onSelect:Ra,units:Ta,hideDisabledOptions:mc}),onSelect:Ra,value:Xr,units:Ta})}eu(zr,U.createElement(gi,{key:"hour"}),Ro,Ud,function(yn){Ts(fu(Jc,yn,Dl,Vl),"mouse")}),eu(wr,U.createElement(gi,{key:"minute"}),Dl,Eu,function(yn){Ts(fu(Jc,Ro,yn,Vl),"mouse")}),eu(Ua,U.createElement(gi,{key:"second"}),Vl,El,function(yn){Ts(fu(Jc,Ro,Dl,yn),"mouse")});var rd=-1;return typeof Jc=="boolean"&&(rd=Jc?1:0),eu(La===!0,U.createElement(gi,{key:"12hours"}),rd,[{label:"AM",value:0,disabled:wu},{label:"PM",value:1,disabled:cd}],function(yn){Ts(fu(!!yn,Ro,Dl,Vl),"mouse")}),U.createElement("div",{className:Gs},Ar.map(function(yn){var Dr=yn.node;return Dr}))}var Qr=ea,Na=function(nr){return nr.filter(function(Ur){return Ur!==!1}).length};function ar(qt){var nr=qt.generateConfig,Ur=qt.format,Yr=Ur===void 0?"HH:mm:ss":Ur,ni=qt.prefixCls,vi=qt.active,zr=qt.operationRef,wr=qt.showHour,Ua=qt.showMinute,La=qt.showSecond,Nr=qt.use12Hours,ua=Nr===void 0?!1:Nr,ra=qt.onSelect,ri=qt.value,li="".concat(ni,"-time-panel"),hi=U.useRef(),ii=U.useState(-1),Di=Object(He.a)(ii,2),Xo=Di[0],ps=Di[1],mc=Na([wr,Ua,La,ua]);return zr.current={onKeyDown:function(Ar){return Tn(Ar,{onLeftRight:function(Nc){ps((Xo+Nc+mc)%mc)},onUpDown:function(Nc){Xo===-1?ps(0):hi.current&&hi.current.onUpDown(Nc)},onEnter:function(){ra(ri||nr.getNow(),"key"),ps(-1)}})},onBlur:function(){ps(-1)}},U.createElement("div",{className:pe()(li,Object(ie.a)({},"".concat(li,"-active"),vi))},U.createElement(Ma,Object(F.a)({},qt,{format:Yr,prefixCls:ni})),U.createElement(Qr,Object(F.a)({},qt,{prefixCls:ni,activeColumnIndex:Xo,operationRef:hi})))}var pi=ar,_i=U.createContext({}),ti=_i;function ui(qt){var nr=qt.cellPrefixCls,Ur=qt.generateConfig,Yr=qt.rangedValue,ni=qt.hoverRangedValue,vi=qt.isInView,zr=qt.isSameCell,wr=qt.offsetCell,Ua=qt.today,La=qt.value;function Nr(ua){var ra,ri=wr(ua,-1),li=wr(ua,1),hi=Lt(Yr,0),ii=Lt(Yr,1),Di=Lt(ni,0),Xo=Lt(ni,1),ps=Kn(Ur,Di,Xo,ua);function mc(Fc){return zr(hi,Fc)}function Ts(Fc){return zr(ii,Fc)}var Ar=zr(Di,ua),Gs=zr(Xo,ua),Nc=(ps||Gs)&&(!vi(ri)||Ts(ri)),Jc=(ps||Ar)&&(!vi(li)||mc(li));return ra={},Object(ie.a)(ra,"".concat(nr,"-in-view"),vi(ua)),Object(ie.a)(ra,"".concat(nr,"-in-range"),Kn(Ur,hi,ii,ua)),Object(ie.a)(ra,"".concat(nr,"-range-start"),mc(ua)),Object(ie.a)(ra,"".concat(nr,"-range-end"),Ts(ua)),Object(ie.a)(ra,"".concat(nr,"-range-start-single"),mc(ua)&&!ii),Object(ie.a)(ra,"".concat(nr,"-range-end-single"),Ts(ua)&&!hi),Object(ie.a)(ra,"".concat(nr,"-range-start-near-hover"),mc(ua)&&(zr(ri,Di)||Kn(Ur,Di,Xo,ri))),Object(ie.a)(ra,"".concat(nr,"-range-end-near-hover"),Ts(ua)&&(zr(li,Xo)||Kn(Ur,Di,Xo,li))),Object(ie.a)(ra,"".concat(nr,"-range-hover"),ps),Object(ie.a)(ra,"".concat(nr,"-range-hover-start"),Ar),Object(ie.a)(ra,"".concat(nr,"-range-hover-end"),Gs),Object(ie.a)(ra,"".concat(nr,"-range-hover-edge-start"),Nc),Object(ie.a)(ra,"".concat(nr,"-range-hover-edge-end"),Jc),Object(ie.a)(ra,"".concat(nr,"-range-hover-edge-start-near-range"),Nc&&zr(ri,ii)),Object(ie.a)(ra,"".concat(nr,"-range-hover-edge-end-near-range"),Jc&&zr(li,hi)),Object(ie.a)(ra,"".concat(nr,"-today"),zr(Ua,ua)),Object(ie.a)(ra,"".concat(nr,"-selected"),zr(La,ua)),ra}return Nr}function Ri(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.prefixColumn,ni=qt.locale,vi=qt.rowCount,zr=qt.viewDate,wr=qt.value,Ua=qt.dateRender,La=U.useContext(ti),Nr=La.rangedValue,ua=La.hoverRangedValue,ra=fr(ni.locale,Ur,zr),ri="".concat(nr,"-cell"),li=Ur.locale.getWeekFirstDay(ni.locale),hi=Ur.getNow(),ii=[],Di=ni.shortWeekDays||(Ur.locale.getShortWeekDays?Ur.locale.getShortWeekDays(ni.locale):[]);Yr&&ii.push(U.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Xo=0;Xo<kn;Xo+=1)ii.push(U.createElement("th",{key:Xo},Di[(Xo+li)%kn]));var ps=ui({cellPrefixCls:ri,today:hi,value:wr,generateConfig:Ur,rangedValue:Yr?null:Nr,hoverRangedValue:Yr?null:ua,isSameCell:function(Ar,Gs){return rr(Ur,Ar,Gs)},isInView:function(Ar){return Zt(Ur,Ar,zr)},offsetCell:function(Ar,Gs){return Ur.addDate(Ar,Gs)}}),mc=Ua?function(Ts){return Ua(Ts,hi)}:void 0;return U.createElement(ut,Object(F.a)({},qt,{rowNum:vi,colNum:kn,baseDate:ra,getCellNode:mc,getCellText:Ur.getDate,getCellClassName:ps,getCellDate:Ur.addDate,titleCell:function(Ar){return Sa(Ar,{locale:ni,format:"YYYY-MM-DD",generateConfig:Ur})},headerCells:ii}))}var ao=Ri;function Zi(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.locale,ni=qt.viewDate,vi=qt.onNextMonth,zr=qt.onPrevMonth,wr=qt.onNextYear,Ua=qt.onPrevYear,La=qt.onYearClick,Nr=qt.onMonthClick,ua=U.useContext(Se),ra=ua.hideHeader;if(ra)return null;var ri="".concat(nr,"-header"),li=Yr.shortMonths||(Ur.locale.getShortMonths?Ur.locale.getShortMonths(Yr.locale):[]),hi=Ur.getMonth(ni),ii=U.createElement("button",{type:"button",key:"year",onClick:La,tabIndex:-1,className:"".concat(nr,"-year-btn")},Sa(ni,{locale:Yr,format:Yr.yearFormat,generateConfig:Ur})),Di=U.createElement("button",{type:"button",key:"month",onClick:Nr,tabIndex:-1,className:"".concat(nr,"-month-btn")},Yr.monthFormat?Sa(ni,{locale:Yr,format:Yr.monthFormat,generateConfig:Ur}):li[hi]),Xo=Yr.monthBeforeYear?[Di,ii]:[ii,Di];return U.createElement(_t,Object(F.a)({},qt,{prefixCls:ri,onSuperPrev:Ua,onPrev:zr,onNext:vi,onSuperNext:wr}),Xo)}var Fi=Zi,Si=6;function qi(qt){var nr=qt.prefixCls,Ur=qt.panelName,Yr=Ur===void 0?"date":Ur,ni=qt.keyboardConfig,vi=qt.active,zr=qt.operationRef,wr=qt.generateConfig,Ua=qt.value,La=qt.viewDate,Nr=qt.onViewDateChange,ua=qt.onPanelChange,ra=qt.onSelect,ri="".concat(nr,"-").concat(Yr,"-panel");zr.current={onKeyDown:function(Di){return Tn(Di,Object(G.a)({onLeftRight:function(ps){ra(wr.addDate(Ua||La,ps),"key")},onCtrlLeftRight:function(ps){ra(wr.addYear(Ua||La,ps),"key")},onUpDown:function(ps){ra(wr.addDate(Ua||La,ps*kn),"key")},onPageUpDown:function(ps){ra(wr.addMonth(Ua||La,ps),"key")}},ni))}};var li=function(Di){var Xo=wr.addYear(La,Di);Nr(Xo),ua(null,Xo)},hi=function(Di){var Xo=wr.addMonth(La,Di);Nr(Xo),ua(null,Xo)};return U.createElement("div",{className:pe()(ri,Object(ie.a)({},"".concat(ri,"-active"),vi))},U.createElement(Fi,Object(F.a)({},qt,{prefixCls:nr,value:Ua,viewDate:La,onPrevYear:function(){li(-1)},onNextYear:function(){li(1)},onPrevMonth:function(){hi(-1)},onNextMonth:function(){hi(1)},onMonthClick:function(){ua("month",La)},onYearClick:function(){ua("year",La)}})),U.createElement(ao,Object(F.a)({},qt,{onSelect:function(Di){return ra(Di,"mouse")},prefixCls:nr,value:Ua,viewDate:La,rowCount:Si})))}var eo=qi,xo=mi("date","time");function cs(qt){var nr=qt.prefixCls,Ur=qt.operationRef,Yr=qt.generateConfig,ni=qt.value,vi=qt.defaultValue,zr=qt.disabledTime,wr=qt.showTime,Ua=qt.onSelect,La="".concat(nr,"-datetime-panel"),Nr=U.useState(null),ua=Object(He.a)(Nr,2),ra=ua[0],ri=ua[1],li=U.useRef({}),hi=U.useRef({}),ii=Object(Xt.a)(wr)==="object"?Object(G.a)({},wr):{};function Di(Ts){var Ar=xo.indexOf(ra)+Ts,Gs=xo[Ar]||null;return Gs}var Xo=function(Ar){hi.current.onBlur&&hi.current.onBlur(Ar),ri(null)};Ur.current={onKeyDown:function(Ar){if(Ar.which===qe.TAB){var Gs=Di(Ar.shiftKey?-1:1);return ri(Gs),Gs&&Ar.preventDefault(),!0}if(ra){var Nc=ra==="date"?li:hi;return Nc.current&&Nc.current.onKeyDown&&Nc.current.onKeyDown(Ar),!0}return[qe.LEFT,qe.RIGHT,qe.UP,qe.DOWN].includes(Ar.which)?(ri("date"),!0):!1},onBlur:Xo,onClose:Xo};var ps=function(Ar,Gs){var Nc=Ar;Gs==="date"&&!ni&&ii.defaultValue?(Nc=Yr.setHour(Nc,Yr.getHour(ii.defaultValue)),Nc=Yr.setMinute(Nc,Yr.getMinute(ii.defaultValue)),Nc=Yr.setSecond(Nc,Yr.getSecond(ii.defaultValue))):Gs==="time"&&!ni&&vi&&(Nc=Yr.setYear(Nc,Yr.getYear(vi)),Nc=Yr.setMonth(Nc,Yr.getMonth(vi)),Nc=Yr.setDate(Nc,Yr.getDate(vi))),Ua&&Ua(Nc,"mouse")},mc=zr?zr(ni||null):{};return U.createElement("div",{className:pe()(La,Object(ie.a)({},"".concat(La,"-active"),ra))},U.createElement(eo,Object(F.a)({},qt,{operationRef:li,active:ra==="date",onSelect:function(Ar){ps(ft(Yr,Ar,!ni&&Object(Xt.a)(wr)==="object"?wr.defaultValue:null),"date")}})),U.createElement(pi,Object(F.a)({},qt,{format:void 0},ii,mc,{disabledTime:null,defaultValue:void 0,operationRef:hi,active:ra==="time",onSelect:function(Ar){ps(Ar,"time")}})))}var ba=cs;function sa(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.locale,ni=qt.value,vi="".concat(nr,"-cell"),zr=function(Nr){return U.createElement("td",{key:"week",className:pe()(vi,"".concat(vi,"-week"))},Ur.locale.getWeek(Yr.locale,Nr))},wr="".concat(nr,"-week-panel-row"),Ua=function(Nr){return pe()(wr,Object(ie.a)({},"".concat(wr,"-selected"),ln(Ur,Yr.locale,ni,Nr)))};return U.createElement(eo,Object(F.a)({},qt,{panelName:"week",prefixColumn:zr,rowClassName:Ua,keyboardConfig:{onLeftRight:null}}))}var Da=sa;function On(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.locale,ni=qt.viewDate,vi=qt.onNextYear,zr=qt.onPrevYear,wr=qt.onYearClick,Ua=U.useContext(Se),La=Ua.hideHeader;if(La)return null;var Nr="".concat(nr,"-header");return U.createElement(_t,Object(F.a)({},qt,{prefixCls:Nr,onSuperPrev:zr,onSuperNext:vi}),U.createElement("button",{type:"button",onClick:wr,className:"".concat(nr,"-year-btn")},Sa(ni,{locale:Yr,format:Yr.yearFormat,generateConfig:Ur})))}var xn=On,Rt=3,mr=4;function ta(qt){var nr=qt.prefixCls,Ur=qt.locale,Yr=qt.value,ni=qt.viewDate,vi=qt.generateConfig,zr=qt.monthCellRender,wr=U.useContext(ti),Ua=wr.rangedValue,La=wr.hoverRangedValue,Nr="".concat(nr,"-cell"),ua=ui({cellPrefixCls:Nr,value:Yr,generateConfig:vi,rangedValue:Ua,hoverRangedValue:La,isSameCell:function(ii,Di){return Zt(vi,ii,Di)},isInView:function(){return!0},offsetCell:function(ii,Di){return vi.addMonth(ii,Di)}}),ra=Ur.shortMonths||(vi.locale.getShortMonths?vi.locale.getShortMonths(Ur.locale):[]),ri=vi.setMonth(ni,0),li=zr?function(hi){return zr(hi,Ur)}:void 0;return U.createElement(ut,Object(F.a)({},qt,{rowNum:mr,colNum:Rt,baseDate:ri,getCellNode:li,getCellText:function(ii){return Ur.monthFormat?Sa(ii,{locale:Ur,format:Ur.monthFormat,generateConfig:vi}):ra[vi.getMonth(ii)]},getCellClassName:ua,getCellDate:vi.addMonth,titleCell:function(ii){return Sa(ii,{locale:Ur,format:"YYYY-MM",generateConfig:vi})}}))}var ma=ta;function Oa(qt){var nr=qt.prefixCls,Ur=qt.operationRef,Yr=qt.onViewDateChange,ni=qt.generateConfig,vi=qt.value,zr=qt.viewDate,wr=qt.onPanelChange,Ua=qt.onSelect,La="".concat(nr,"-month-panel");Ur.current={onKeyDown:function(ra){return Tn(ra,{onLeftRight:function(li){Ua(ni.addMonth(vi||zr,li),"key")},onCtrlLeftRight:function(li){Ua(ni.addYear(vi||zr,li),"key")},onUpDown:function(li){Ua(ni.addMonth(vi||zr,li*Rt),"key")},onEnter:function(){wr("date",vi||zr)}})}};var Nr=function(ra){var ri=ni.addYear(zr,ra);Yr(ri),wr(null,ri)};return U.createElement("div",{className:La},U.createElement(xn,Object(F.a)({},qt,{prefixCls:nr,onPrevYear:function(){Nr(-1)},onNextYear:function(){Nr(1)},onYearClick:function(){wr("year",zr)}})),U.createElement(ma,Object(F.a)({},qt,{prefixCls:nr,onSelect:function(ra){Ua(ra,"mouse"),wr("date",ra)}})))}var Pn=Oa;function Kr(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.locale,ni=qt.viewDate,vi=qt.onNextYear,zr=qt.onPrevYear,wr=qt.onYearClick,Ua=U.useContext(Se),La=Ua.hideHeader;if(La)return null;var Nr="".concat(nr,"-header");return U.createElement(_t,Object(F.a)({},qt,{prefixCls:Nr,onSuperPrev:zr,onSuperNext:vi}),U.createElement("button",{type:"button",onClick:wr,className:"".concat(nr,"-year-btn")},Sa(ni,{locale:Yr,format:Yr.yearFormat,generateConfig:Ur})))}var Vn=Kr,tr=4,Ea=1;function Ja(qt){var nr=qt.prefixCls,Ur=qt.locale,Yr=qt.value,ni=qt.viewDate,vi=qt.generateConfig,zr=U.useContext(ti),wr=zr.rangedValue,Ua=zr.hoverRangedValue,La="".concat(nr,"-cell"),Nr=ui({cellPrefixCls:La,value:Yr,generateConfig:vi,rangedValue:wr,hoverRangedValue:Ua,isSameCell:function(ri,li){return Nn(vi,ri,li)},isInView:function(){return!0},offsetCell:function(ri,li){return vi.addMonth(ri,li*3)}}),ua=vi.setDate(vi.setMonth(ni,0),1);return U.createElement(ut,Object(F.a)({},qt,{rowNum:Ea,colNum:tr,baseDate:ua,getCellText:function(ri){return Sa(ri,{locale:Ur,format:Ur.quarterFormat||"[Q]Q",generateConfig:vi})},getCellClassName:Nr,getCellDate:function(ri,li){return vi.addMonth(ri,li*3)},titleCell:function(ri){return Sa(ri,{locale:Ur,format:"YYYY-[Q]Q",generateConfig:vi})}}))}var go=Ja;function fi(qt){var nr=qt.prefixCls,Ur=qt.operationRef,Yr=qt.onViewDateChange,ni=qt.generateConfig,vi=qt.value,zr=qt.viewDate,wr=qt.onPanelChange,Ua=qt.onSelect,La="".concat(nr,"-quarter-panel");Ur.current={onKeyDown:function(ra){return Tn(ra,{onLeftRight:function(li){Ua(ni.addMonth(vi||zr,li*3),"key")},onCtrlLeftRight:function(li){Ua(ni.addYear(vi||zr,li),"key")},onUpDown:function(li){Ua(ni.addYear(vi||zr,li),"key")}})}};var Nr=function(ra){var ri=ni.addYear(zr,ra);Yr(ri),wr(null,ri)};return U.createElement("div",{className:La},U.createElement(Vn,Object(F.a)({},qt,{prefixCls:nr,onPrevYear:function(){Nr(-1)},onNextYear:function(){Nr(1)},onYearClick:function(){wr("year",zr)}})),U.createElement(go,Object(F.a)({},qt,{prefixCls:nr,onSelect:function(ra){Ua(ra,"mouse")}})))}var lo=fi;function Oi(qt){var nr=qt.prefixCls,Ur=qt.generateConfig,Yr=qt.viewDate,ni=qt.onPrevDecade,vi=qt.onNextDecade,zr=qt.onDecadeClick,wr=U.useContext(Se),Ua=wr.hideHeader;if(Ua)return null;var La="".concat(nr,"-header"),Nr=Ur.getYear(Yr),ua=Math.floor(Nr/$t)*$t,ra=ua+$t-1;return U.createElement(_t,Object(F.a)({},qt,{prefixCls:La,onSuperPrev:ni,onSuperNext:vi}),U.createElement("button",{type:"button",onClick:zr,className:"".concat(nr,"-decade-btn")},ua,"-",ra))}var io=Oi,Vi=3,vo=4;function qo(qt){var nr=qt.prefixCls,Ur=qt.value,Yr=qt.viewDate,ni=qt.locale,vi=qt.generateConfig,zr=U.useContext(ti),wr=zr.rangedValue,Ua=zr.hoverRangedValue,La="".concat(nr,"-cell"),Nr=vi.getYear(Yr),ua=Math.floor(Nr/$t)*$t,ra=ua+$t-1,ri=vi.setYear(Yr,ua-Math.ceil((Vi*vo-$t)/2)),li=function(Di){var Xo=vi.getYear(Di);return ua<=Xo&&Xo<=ra},hi=ui({cellPrefixCls:La,value:Ur,generateConfig:vi,rangedValue:wr,hoverRangedValue:Ua,isSameCell:function(Di,Xo){return Or(vi,Di,Xo)},isInView:li,offsetCell:function(Di,Xo){return vi.addYear(Di,Xo)}});return U.createElement(ut,Object(F.a)({},qt,{rowNum:vo,colNum:Vi,baseDate:ri,getCellText:vi.getYear,getCellClassName:hi,getCellDate:vi.addYear,titleCell:function(Di){return Sa(Di,{locale:ni,format:"YYYY",generateConfig:vi})}}))}var hs=qo,$t=10;function rt(qt){var nr=qt.prefixCls,Ur=qt.operationRef,Yr=qt.onViewDateChange,ni=qt.generateConfig,vi=qt.value,zr=qt.viewDate,wr=qt.sourceMode,Ua=qt.onSelect,La=qt.onPanelChange,Nr="".concat(nr,"-year-panel");Ur.current={onKeyDown:function(ri){return Tn(ri,{onLeftRight:function(hi){Ua(ni.addYear(vi||zr,hi),"key")},onCtrlLeftRight:function(hi){Ua(ni.addYear(vi||zr,hi*$t),"key")},onUpDown:function(hi){Ua(ni.addYear(vi||zr,hi*Vi),"key")},onEnter:function(){La(wr==="date"?"date":"month",vi||zr)}})}};var ua=function(ri){var li=ni.addYear(zr,ri*10);Yr(li),La(null,li)};return U.createElement("div",{className:Nr},U.createElement(io,Object(F.a)({},qt,{prefixCls:nr,onPrevDecade:function(){ua(-1)},onNextDecade:function(){ua(1)},onDecadeClick:function(){La("decade",zr)}})),U.createElement(hs,Object(F.a)({},qt,{prefixCls:nr,onSelect:function(ri){La(wr==="date"?"date":"month",ri),Ua(ri,"mouse")}})))}var Vt=rt;function tn(qt,nr,Ur){return Ur?U.createElement("div",{className:"".concat(qt,"-footer-extra")},Ur(nr)):null}function wn(qt){var nr=qt.prefixCls,Ur=qt.rangeList,Yr=Ur===void 0?[]:Ur,ni=qt.components,vi=ni===void 0?{}:ni,zr=qt.needConfirmButton,wr=qt.onNow,Ua=qt.onOk,La=qt.okDisabled,Nr=qt.showNow,ua=qt.locale,ra,ri;if(Yr.length){var li=vi.rangeItem||"span";ra=U.createElement(U.Fragment,null,Yr.map(function(ii){var Di=ii.label,Xo=ii.onClick,ps=ii.onMouseEnter,mc=ii.onMouseLeave;return U.createElement("li",{key:Di,className:"".concat(nr,"-preset")},U.createElement(li,{onClick:Xo,onMouseEnter:ps,onMouseLeave:mc},Di))}))}if(zr){var hi=vi.button||"button";wr&&!ra&&Nr!==!1&&(ra=U.createElement("li",{className:"".concat(nr,"-now")},U.createElement("a",{className:"".concat(nr,"-now-btn"),onClick:wr},ua.now))),ri=zr&&U.createElement("li",{className:"".concat(nr,"-ok")},U.createElement(hi,{disabled:La,onClick:Ua},ua.ok))}return!ra&&!ri?null:U.createElement("ul",{className:"".concat(nr,"-ranges")},ra,ri)}var qn=["date","month"];function zn(qt){var nr,Ur=qt.prefixCls,Yr=Ur===void 0?"rc-picker":Ur,ni=qt.className,vi=qt.style,zr=qt.locale,wr=qt.generateConfig,Ua=qt.value,La=qt.defaultValue,Nr=qt.pickerValue,ua=qt.defaultPickerValue,ra=qt.disabledDate,ri=qt.mode,li=qt.picker,hi=li===void 0?"date":li,ii=qt.tabIndex,Di=ii===void 0?0:ii,Xo=qt.showNow,ps=qt.showTime,mc=qt.showToday,Ts=qt.renderExtraFooter,Ar=qt.hideHeader,Gs=qt.onSelect,Nc=qt.onChange,Jc=qt.onPanelChange,Fc=qt.onMouseDown,Ro=qt.onPickerValueChange,Dl=qt.onOk,Vl=qt.components,hu=qt.direction,ru=qt.hourStep,pd=ru===void 0?1:ru,ql=qt.minuteStep,Ru=ql===void 0?1:ql,Hl=qt.secondStep,fu=Hl===void 0?1:Hl,nd=hi==="date"&&!!ps||hi==="time",bd=24%pd==0,ml=60%Ru==0,os=60%fu==0,wu=U.useContext(Se),cd=wu.operationRef,Ud=wu.panelRef,Eu=wu.onSelect,El=wu.hideRanges,eu=wu.defaultOpenValue,rd=U.useContext(ti),yn=rd.inRange,Dr=rd.panelPosition,Xr=rd.rangedValue,Ta=rd.hoverRangedValue,Ra=U.useRef({}),wi=U.useRef(!0),mo=xt(null,{value:Ua,defaultValue:La,postState:function(uo){return!uo&&eu&&hi==="time"?eu:uo}}),Yi=Object(He.a)(mo,2),Ji=Yi[0],Vs=Yi[1],Jo=xt(null,{value:Nr,defaultValue:ua||Ji,postState:function(uo){var As=wr.getNow();if(!uo)return As;if(!Ji&&ps){var zc=Object(Xt.a)(ps)==="object"?ps.defaultValue:La;return ft(wr,Array.isArray(uo)?uo[0]:uo,zc||As)}return Array.isArray(uo)?uo[0]:uo}}),dn=Object(He.a)(Jo,2),pn=dn[0],sr=dn[1],lr=function(uo){sr(uo),Ro&&Ro(uo)},_a=function(uo){var As=Bt[hi];return As?As(uo):uo},Fa=xt(function(){return hi==="time"?"time":_a("date")},{value:ri}),Va=Object(He.a)(Fa,2),di=Va[0],Ci=Va[1];U.useEffect(function(){Ci(hi)},[hi]);var wo=U.useState(function(){return di}),ho=Object(He.a)(wo,2),Io=ho[0],Fo=ho[1],xs=function(uo,As){var zc=_a(uo||di);Fo(di),Ci(zc),Jc&&(di!==zc||Xn(wr,pn,pn))&&Jc(As,zc)},ms=function(uo,As){var zc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(di===hi||zc)&&(Vs(uo),Gs&&Gs(uo),Eu&&Eu(uo,As),Nc&&!Xn(wr,uo,Ji)&&!(ra==null?void 0:ra(uo))&&Nc(uo))},ys=function(uo){if(qn.includes(di)){var As,zc,cc=di==="date";switch(uo===qe.PAGE_UP||uo===qe.PAGE_DOWN?zc=cc?wr.addMonth:wr.addYear:zc=cc?wr.addDate:wr.addMonth,uo){case qe.LEFT:case qe.PAGE_UP:As=zc(pn,-1);break;case qe.RIGHT:case qe.PAGE_DOWN:As=zc(pn,1);break;case qe.UP:case qe.DOWN:As=zc(pn,Number("".concat(uo===qe.UP?"-":"").concat(cc?kn:Rt)));break}if(As)return!(ra==null?void 0:ra(As))}return!0},bs=function(uo){if(Ra.current&&Ra.current.onKeyDown){var As=!0,zc=uo.which;if([qe.LEFT,qe.RIGHT,qe.UP,qe.DOWN,qe.PAGE_UP,qe.PAGE_DOWN,qe.ENTER].includes(zc)&&(uo.preventDefault(),zc!==qe.ENTER&&Di===0&&(As=ys(zc))),As)return Ra.current.onKeyDown(uo)}return j(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Po=function(uo){Ra.current&&Ra.current.onBlur&&Ra.current.onBlur(uo)};cd&&Dr!=="right"&&(cd.current={onKeyDown:bs,onClose:function(){Ra.current&&Ra.current.onClose&&Ra.current.onClose()}}),U.useEffect(function(){Ua&&!wi.current&&sr(Ua)},[Ua]),U.useEffect(function(){wi.current=!1},[]);var yr,Ls=Object(G.a)(Object(G.a)({},qt),{},{operationRef:Ra,prefixCls:Yr,viewDate:pn,value:Ji,onViewDateChange:lr,sourceMode:Io,onPanelChange:xs,disabledDate:ra});switch(delete Ls.onChange,delete Ls.onSelect,di){case"decade":yr=U.createElement(Wt,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}));break;case"year":yr=U.createElement(Vt,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}));break;case"month":yr=U.createElement(Pn,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}));break;case"quarter":yr=U.createElement(lo,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}));break;case"week":yr=U.createElement(Da,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}));break;case"time":delete Ls.showTime,yr=U.createElement(pi,Object(F.a)({},Ls,Object(Xt.a)(ps)==="object"?ps:null,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}));break;default:ps?yr=U.createElement(ba,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}})):yr=U.createElement(eo,Object(F.a)({},Ls,{onSelect:function(uo,As){lr(uo),ms(uo,As)}}))}var Zs,Sc,Hs=function(){var uo=wr.getNow(),As=Fe(wr.getHour(uo),wr.getMinute(uo),wr.getSecond(uo),bd?pd:1,ml?Ru:1,os?fu:1),zc=at(wr,uo,As[0],As[1],As[2]);ms(zc,"submit")};El||(Zs=tn(Yr,di,Ts),Sc=wn({prefixCls:Yr,components:Vl,needConfirmButton:nd,okDisabled:!Ji||ra&&ra(Ji),locale:zr,showNow:Xo,onNow:nd&&Hs,onOk:function(){Ji&&(ms(Ji,"submit",!0),Dl&&Dl(Ji))}}));var bc;if(mc&&di==="date"&&hi==="date"&&!ps){var cr=wr.getNow(),qr="".concat(Yr,"-today-btn"),yi=ra&&ra(cr);bc=U.createElement("a",{className:pe()(qr,yi&&"".concat(qr,"-disabled")),"aria-disabled":yi,onClick:function(){yi||ms(cr,"mouse",!0)}},zr.today)}return U.createElement(Se.Provider,{value:Object(G.a)(Object(G.a)({},wu),{},{mode:di,hideHeader:"hideHeader"in qt?Ar:wu.hideHeader,hidePrevBtn:yn&&Dr==="right",hideNextBtn:yn&&Dr==="left"})},U.createElement("div",{tabIndex:Di,className:pe()("".concat(Yr,"-panel"),ni,(nr={},Object(ie.a)(nr,"".concat(Yr,"-panel-has-range"),Xr&&Xr[0]&&Xr[1]),Object(ie.a)(nr,"".concat(Yr,"-panel-has-range-hover"),Ta&&Ta[0]&&Ta[1]),Object(ie.a)(nr,"".concat(Yr,"-panel-rtl"),hu==="rtl"),nr)),style:vi,onKeyDown:bs,onBlur:Po,onMouseDown:Fc,ref:Ud},yr,Zs||Sc||bc?U.createElement("div",{className:"".concat(Yr,"-footer")},Zs,Sc,bc):null))}var xr=zn,da=l("uciX"),en={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 Fn(qt){var nr,Ur=qt.prefixCls,Yr=qt.popupElement,ni=qt.popupStyle,vi=qt.visible,zr=qt.dropdownClassName,wr=qt.dropdownAlign,Ua=qt.transitionName,La=qt.getPopupContainer,Nr=qt.children,ua=qt.range,ra=qt.popupPlacement,ri=qt.direction,li="".concat(Ur,"-dropdown"),hi=function(){return ra!==void 0?ra:ri==="rtl"?"bottomRight":"bottomLeft"};return U.createElement(da.a,{showAction:[],hideAction:[],popupPlacement:hi(),builtinPlacements:en,prefixCls:li,popupTransitionName:Ua,popup:Yr,popupAlign:wr,popupVisible:vi,popupClassName:pe()(zr,(nr={},Object(ie.a)(nr,"".concat(li,"-range"),ua),Object(ie.a)(nr,"".concat(li,"-rtl"),ri==="rtl"),nr)),popupStyle:ni,getPopupContainer:La},Nr)}var Jn=Fn;function Ir(qt){var nr=qt.open,Ur=qt.value,Yr=qt.isClickOutside,ni=qt.triggerOpen,vi=qt.forwardKeyDown,zr=qt.onKeyDown,wr=qt.blurToCancel,Ua=qt.onSubmit,La=qt.onCancel,Nr=qt.onFocus,ua=qt.onBlur,ra=qt.currentFocusedKey,ri=qt.key,li=ri===void 0?"start":ri,hi=Object(U.useState)(!1),ii=Object(He.a)(hi,2),Di=ii[0],Xo=ii[1],ps=Object(U.useState)(!1),mc=Object(He.a)(ps,2),Ts=mc[0],Ar=mc[1],Gs=Object(U.useRef)(),Nc=Object(U.useRef)(!1),Jc=Object(U.useRef)(!1),Fc=Object(U.useRef)(!1),Ro={onMouseDown:function(){Xo(!0),ni(!0)},onKeyDown:function(Vl){var hu=function(){Fc.current=!0};if(zr(Vl,hu),!Fc.current){switch(Vl.which){case qe.ENTER:{nr?Ua()!==!1&&Xo(!0):ni(!0),Vl.preventDefault();return}case qe.TAB:{Di&&nr&&!Vl.shiftKey?(Xo(!1),Vl.preventDefault()):!Di&&nr&&!vi(Vl)&&Vl.shiftKey&&(Xo(!0),Vl.preventDefault());return}case qe.ESC:{Xo(!0),La();return}}!nr&&![qe.SHIFT].includes(Vl.which)?ni(!0):Di||vi(Vl)}},onFocus:function(Vl){Xo(!0),Ar(!0),ra&&(ra.current=li),clearTimeout(Gs.current),Nr&&Nr(Vl)},onBlur:function(Vl){if(Nc.current||!Yr(document.activeElement)){Nc.current=!1;return}wr?setTimeout(function(){for(var hu=document,ru=hu.activeElement;ru&&ru.shadowRoot;)ru=ru.shadowRoot.activeElement;Yr(ru)&&La()},0):nr&&(ni(!1),Jc.current&&Ua()),Ar(!1),ra?(ra.current="",Gs.current=setTimeout(function(){ra.current||ua==null||ua(Vl)},100)):ua==null||ua(Vl)}};return Object(U.useEffect)(function(){Jc.current=!1},[nr]),Object(U.useEffect)(function(){Jc.current=!0},[Ur]),Object(U.useEffect)(function(){return Wn(function(Dl){var Vl=gr(Dl),hu=Yr(Vl);nr?hu?(!Ts||hu)&&ni(!1):(Nc.current=!0,requestAnimationFrame(function(){Nc.current=!1})):Ts&&!hu&&(Nc.current=!0)})}),Object(U.useEffect)(function(){return function(){return clearTimeout(Gs.current)}},[]),[Ro,{focused:Ts,typing:Di}]}function Gr(qt){var nr=qt.valueTexts,Ur=qt.onTextChange,Yr=U.useState(""),ni=Object(He.a)(Yr,2),vi=ni[0],zr=ni[1],wr=U.useRef([]);wr.current=nr;function Ua(Nr){zr(Nr),Ur(Nr)}function La(){zr(wr.current[0])}return U.useEffect(function(){nr.every(function(Nr){return Nr!==vi})&&La()},[nr.join("||")]),[vi,Ua,La]}var ga=l("Gytx"),Mr=l.n(ga);function $a(qt,nr){var Ur=nr.formatList,Yr=nr.generateConfig,ni=nr.locale;return va(function(){if(!qt)return[[""],""];for(var vi="",zr=[],wr=0;wr<Ur.length;wr+=1){var Ua=Ur[wr],La=Sa(qt,{generateConfig:Yr,locale:ni,format:Ua});zr.push(La),wr===0&&(vi=La)}return[zr,vi]},[qt,Ur],function(vi,zr){return vi[0]!==zr[0]||!Mr()(vi[1],zr[1])})}function Ya(qt,nr){var Ur=nr.formatList,Yr=nr.generateConfig,ni=nr.locale,vi=Object(U.useState)(null),zr=Object(He.a)(vi,2),wr=zr[0],Ua=zr[1],La=Object(U.useRef)(null);function Nr(ii){var Di=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(La.current),Di){Ua(ii);return}La.current=requestAnimationFrame(function(){Ua(ii)})}var ua=$a(wr,{formatList:Ur,generateConfig:Yr,locale:ni}),ra=Object(He.a)(ua,2),ri=ra[1];function li(ii){Nr(ii)}function hi(){var ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Nr(null,ii)}return Object(U.useEffect)(function(){hi(!0)},[qt]),Object(U.useEffect)(function(){return function(){return cancelAnimationFrame(La.current)}},[]),[ri,li,hi]}function _o(qt){var nr=qt.picker,Ur=qt.disabledHours,Yr=qt.disabledMinutes,ni=qt.disabledSeconds;nr==="time"&&(Ur||Yr||ni)&&j(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ni(qt){var nr,Ur=qt.prefixCls,Yr=Ur===void 0?"rc-picker":Ur,ni=qt.id,vi=qt.tabIndex,zr=qt.style,wr=qt.className,Ua=qt.dropdownClassName,La=qt.dropdownAlign,Nr=qt.popupStyle,ua=qt.transitionName,ra=qt.generateConfig,ri=qt.locale,li=qt.inputReadOnly,hi=qt.allowClear,ii=qt.autoFocus,Di=qt.showTime,Xo=qt.picker,ps=Xo===void 0?"date":Xo,mc=qt.format,Ts=qt.use12Hours,Ar=qt.value,Gs=qt.defaultValue,Nc=qt.open,Jc=qt.defaultOpen,Fc=qt.defaultOpenValue,Ro=qt.suffixIcon,Dl=qt.clearIcon,Vl=qt.disabled,hu=qt.disabledDate,ru=qt.placeholder,pd=qt.getPopupContainer,ql=qt.pickerRef,Ru=qt.panelRender,Hl=qt.onChange,fu=qt.onOpenChange,nd=qt.onFocus,bd=qt.onBlur,ml=qt.onMouseDown,os=qt.onMouseUp,wu=qt.onMouseEnter,cd=qt.onMouseLeave,Ud=qt.onContextMenu,Eu=qt.onClick,El=qt.onKeyDown,eu=qt.onSelect,rd=qt.direction,yn=qt.autoComplete,Dr=yn===void 0?"off":yn,Xr=qt.inputRender,Ta=U.useRef(null),Ra=ps==="date"&&!!Di||ps==="time",wi=Cr(Tr(mc,ps,Di,Ts)),mo=U.useRef(null),Yi=U.useRef(null),Ji=U.useRef(null),Vs=xt(null,{value:Ar,defaultValue:Gs}),Jo=Object(He.a)(Vs,2),dn=Jo[0],pn=Jo[1],sr=U.useState(dn),lr=Object(He.a)(sr,2),_a=lr[0],Fa=lr[1],Va=U.useRef(null),di=xt(!1,{value:Nc,defaultValue:Jc,postState:function(xa){return Vl?!1:xa},onChange:function(xa){fu&&fu(xa),!xa&&Va.current&&Va.current.onClose&&Va.current.onClose()}}),Ci=Object(He.a)(di,2),wo=Ci[0],ho=Ci[1],Io=$a(_a,{formatList:wi,generateConfig:ra,locale:ri}),Fo=Object(He.a)(Io,2),xs=Fo[0],ms=Fo[1],ys=Gr({valueTexts:xs,onTextChange:function(xa){var as=Lr(xa,{locale:ri,formatList:wi,generateConfig:ra});as&&(!hu||!hu(as))&&Fa(as)}}),bs=Object(He.a)(ys,3),Po=bs[0],yr=bs[1],Ls=bs[2],Zs=function(xa){Fa(xa),pn(xa),Hl&&!Xn(ra,dn,xa)&&Hl(xa,xa?Sa(xa,{generateConfig:ra,locale:ri,format:wi[0]}):"")},Sc=function(xa){Vl&&xa||ho(xa)},Hs=function(xa){return wo&&Va.current&&Va.current.onKeyDown?Va.current.onKeyDown(xa):(j(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},bc=function(){for(var xa=arguments.length,as=new Array(xa),ws=0;ws<xa;ws++)as[ws]=arguments[ws];Eu==null||Eu.apply(void 0,as),Ta.current&&(Ta.current.focus(),Sc(!0))},cr=Ir({blurToCancel:Ra,open:wo,value:Po,triggerOpen:Sc,forwardKeyDown:Hs,isClickOutside:function(xa){return!H([mo.current,Yi.current,Ji.current],xa)},onSubmit:function(){return!_a||hu&&hu(_a)?!1:(Zs(_a),Sc(!1),Ls(),!0)},onCancel:function(){Sc(!1),Fa(dn),Ls()},onKeyDown:function(xa,as){El==null||El(xa,as)},onFocus:nd,onBlur:bd}),qr=Object(He.a)(cr,2),yi=qr[0],Ki=qr[1],uo=Ki.focused,As=Ki.typing;U.useEffect(function(){wo||(Fa(dn),!xs.length||xs[0]===""?yr(""):ms!==Po&&Ls())},[wo,xs]),U.useEffect(function(){wo||Ls()},[ps]),U.useEffect(function(){Fa(dn)},[dn]),ql&&(ql.current={focus:function(){Ta.current&&Ta.current.focus()},blur:function(){Ta.current&&Ta.current.blur()}});var zc=Ya(Po,{formatList:wi,generateConfig:ra,locale:ri}),cc=Object(He.a)(zc,3),fl=cc[0],Bc=cc[1],Gl=cc[2],Fl=Object(G.a)(Object(G.a)({},qt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),pl=U.createElement(xr,Object(F.a)({},Fl,{generateConfig:ra,className:pe()(Object(ie.a)({},"".concat(Yr,"-panel-focused"),!As)),value:_a,locale:ri,tabIndex:-1,onSelect:function(xa){eu==null||eu(xa),Fa(xa)},direction:rd,onPanelChange:function(xa,as){var ws=qt.onPanelChange;Gl(!0),ws==null||ws(xa,as)}}));Ru&&(pl=Ru(pl));var gu=U.createElement("div",{className:"".concat(Yr,"-panel-container"),onMouseDown:function(xa){xa.preventDefault()}},pl),bl;Ro&&(bl=U.createElement("span",{className:"".concat(Yr,"-suffix")},Ro));var tu;hi&&dn&&!Vl&&(tu=U.createElement("span",{onMouseDown:function(xa){xa.preventDefault(),xa.stopPropagation()},onMouseUp:function(xa){xa.preventDefault(),xa.stopPropagation(),Zs(null),Sc(!1)},className:"".concat(Yr,"-clear"),role:"button"},Dl||U.createElement("span",{className:"".concat(Yr,"-clear-btn")})));var hl=Object(G.a)(Object(G.a)(Object(G.a)({id:ni,tabIndex:vi,disabled:Vl,readOnly:li||typeof wi[0]=="function"||!As,value:fl||Po,onChange:function(xa){yr(xa.target.value)},autoFocus:ii,placeholder:ru,ref:Ta,title:Po},yi),{},{size:Sr(ps,wi[0],ra)},Un(qt)),{},{autoComplete:Dr}),ju=Xr?Xr(hl):U.createElement("input",hl),il=function(xa,as){(as==="submit"||as!=="key"&&!Ra)&&(Zs(xa),Sc(!1))},Mu=rd==="rtl"?"bottomRight":"bottomLeft";return U.createElement(Se.Provider,{value:{operationRef:Va,hideHeader:ps==="time",panelRef:mo,onSelect:il,open:wo,defaultOpenValue:Fc,onDateMouseEnter:Bc,onDateMouseLeave:Gl}},U.createElement(Jn,{visible:wo,popupElement:gu,popupStyle:Nr,prefixCls:Yr,dropdownClassName:Ua,dropdownAlign:La,getPopupContainer:pd,transitionName:ua,popupPlacement:Mu,direction:rd},U.createElement("div",{ref:Ji,className:pe()(Yr,wr,(nr={},Object(ie.a)(nr,"".concat(Yr,"-disabled"),Vl),Object(ie.a)(nr,"".concat(Yr,"-focused"),uo),Object(ie.a)(nr,"".concat(Yr,"-rtl"),rd==="rtl"),nr)),style:zr,onMouseDown:ml,onMouseUp:os,onMouseEnter:wu,onMouseLeave:cd,onContextMenu:Ud,onClick:bc},U.createElement("div",{className:pe()("".concat(Yr,"-input"),Object(ie.a)({},"".concat(Yr,"-input-placeholder"),!!fl)),ref:Yi},ju,bl,tu))))}var ec=function(qt){Object(ze.a)(Ur,qt);var nr=Object(Ue.a)(Ur);function Ur(){var Yr;Object(Ke.a)(this,Ur);for(var ni=arguments.length,vi=new Array(ni),zr=0;zr<ni;zr++)vi[zr]=arguments[zr];return Yr=nr.call.apply(nr,[this].concat(vi)),Yr.pickerRef=U.createRef(),Yr.focus=function(){Yr.pickerRef.current&&Yr.pickerRef.current.focus()},Yr.blur=function(){Yr.pickerRef.current&&Yr.pickerRef.current.blur()},Yr}return Object(Me.a)(Ur,[{key:"render",value:function(){return U.createElement(Ni,Object(F.a)({},this.props,{pickerRef:this.pickerRef}))}}]),Ur}(U.Component),ks=ec;function jo(qt,nr,Ur){var Yr=qt.picker,ni=qt.locale,vi=qt.selectedValue,zr=qt.disabledDate,wr=qt.disabled,Ua=qt.generateConfig,La=Lt(vi,0),Nr=Lt(vi,1);function ua(ii){return Ua.locale.getWeekFirstDate(ni.locale,ii)}function ra(ii){var Di=Ua.getYear(ii),Xo=Ua.getMonth(ii);return Di*100+Xo}function ri(ii){var Di=Ua.getYear(ii),Xo=Yn(Ua,ii);return Di*10+Xo}var li=U.useCallback(function(ii){if(zr&&zr(ii))return!0;if(wr[1]&&Nr)return!rr(Ua,ii,Nr)&&Ua.isAfter(ii,Nr);if(nr&&Nr)switch(Yr){case"quarter":return ri(ii)>ri(Nr);case"month":return ra(ii)>ra(Nr);case"week":return ua(ii)>ua(Nr);default:return!rr(Ua,ii,Nr)&&Ua.isAfter(ii,Nr)}return!1},[zr,wr[1],Nr,nr]),hi=U.useCallback(function(ii){if(zr&&zr(ii))return!0;if(wr[0]&&La)return!rr(Ua,ii,Nr)&&Ua.isAfter(La,ii);if(Ur&&La)switch(Yr){case"quarter":return ri(ii)<ri(La);case"month":return ra(ii)<ra(La);case"week":return ua(ii)<ua(La);default:return!rr(Ua,ii,La)&&Ua.isAfter(La,ii)}return!1},[zr,wr[0],La,Ur]);return[li,hi]}function Qn(qt,nr,Ur,Yr){var ni=Hn(qt,Ur,Yr,1);function vi(zr){return zr(qt,nr)?"same":zr(ni,nr)?"closing":"far"}switch(Ur){case"year":return vi(function(zr,wr){return Zn(Yr,zr,wr)});case"quarter":case"month":return vi(function(zr,wr){return Or(Yr,zr,wr)});default:return vi(function(zr,wr){return Zt(Yr,zr,wr)})}}function ka(qt,nr,Ur,Yr){var ni=Lt(qt,0),vi=Lt(qt,1);if(nr===0)return ni;if(ni&&vi){var zr=Qn(ni,vi,Ur,Yr);switch(zr){case"same":return ni;case"closing":return ni;default:return Hn(vi,Ur,Yr,-1)}}return ni}function Pa(qt){var nr=qt.values,Ur=qt.picker,Yr=qt.defaultDates,ni=qt.generateConfig,vi=U.useState(function(){return[Lt(Yr,0),Lt(Yr,1)]}),zr=Object(He.a)(vi,2),wr=zr[0],Ua=zr[1],La=U.useState(null),Nr=Object(He.a)(La,2),ua=Nr[0],ra=Nr[1],ri=Lt(nr,0),li=Lt(nr,1);function hi(Di){return wr[Di]?wr[Di]:Lt(ua,Di)||ka(nr,Di,Ur,ni)||ri||li||ni.getNow()}function ii(Di,Xo){if(Di){var ps=gn(ua,Di,Xo);Ua(gn(wr,null,Xo)||[null,null]);var mc=(Xo+1)%2;Lt(nr,mc)||(ps=gn(ps,Di,mc)),ra(ps)}else(ri||li)&&ra(null)}return[hi,ii]}function Qa(qt,nr){return qt&&qt[0]&&qt[1]&&nr.isAfter(qt[0],qt[1])?[qt[1],qt[0]]:qt}function Ei(qt,nr,Ur,Yr){return!!(qt||Yr&&Yr[nr]||Ur[(nr+1)%2])}function zo(qt){var nr,Ur,Yr,ni=qt.prefixCls,vi=ni===void 0?"rc-picker":ni,zr=qt.id,wr=qt.style,Ua=qt.className,La=qt.popupStyle,Nr=qt.dropdownClassName,ua=qt.transitionName,ra=qt.dropdownAlign,ri=qt.getPopupContainer,li=qt.generateConfig,hi=qt.locale,ii=qt.placeholder,Di=qt.autoFocus,Xo=qt.disabled,ps=qt.format,mc=qt.picker,Ts=mc===void 0?"date":mc,Ar=qt.showTime,Gs=qt.use12Hours,Nc=qt.separator,Jc=Nc===void 0?"~":Nc,Fc=qt.value,Ro=qt.defaultValue,Dl=qt.defaultPickerValue,Vl=qt.open,hu=qt.defaultOpen,ru=qt.disabledDate,pd=qt.disabledTime,ql=qt.dateRender,Ru=qt.panelRender,Hl=qt.ranges,fu=qt.allowEmpty,nd=qt.allowClear,bd=qt.suffixIcon,ml=qt.clearIcon,os=qt.pickerRef,wu=qt.inputReadOnly,cd=qt.mode,Ud=qt.renderExtraFooter,Eu=qt.onChange,El=qt.onOpenChange,eu=qt.onPanelChange,rd=qt.onCalendarChange,yn=qt.onFocus,Dr=qt.onBlur,Xr=qt.onMouseDown,Ta=qt.onMouseUp,Ra=qt.onMouseEnter,wi=qt.onMouseLeave,mo=qt.onClick,Yi=qt.onOk,Ji=qt.onKeyDown,Vs=qt.components,Jo=qt.order,dn=qt.direction,pn=qt.activePickerIndex,sr=qt.autoComplete,lr=sr===void 0?"off":sr,_a=Ts==="date"&&!!Ar||Ts==="time",Fa=Object(U.useRef)({}),Va=Object(U.useRef)(null),di=Object(U.useRef)(null),Ci=Object(U.useRef)(null),wo=Object(U.useRef)(null),ho=Object(U.useRef)(null),Io=Object(U.useRef)(null),Fo=Object(U.useRef)(null),xs=Object(U.useRef)(null),ms=Cr(Tr(ps,Ts,Ar,Gs)),ys=xt(0,{value:pn}),bs=Object(He.a)(ys,2),Po=bs[0],yr=bs[1],Ls=Object(U.useRef)(null),Zs=U.useMemo(function(){return Array.isArray(Xo)?Xo:[Xo||!1,Xo||!1]},[Xo]),Sc=xt(null,{value:Fc,defaultValue:Ro,postState:function(Eo){return Ts==="time"&&!Jo?Eo:Qa(Eo,li)}}),Hs=Object(He.a)(Sc,2),bc=Hs[0],cr=Hs[1],qr=Pa({values:bc,picker:Ts,defaultDates:Dl,generateConfig:li}),yi=Object(He.a)(qr,2),Ki=yi[0],uo=yi[1],As=xt(bc,{postState:function(Eo){var Is=Eo;if(Zs[0]&&Zs[1])return Is;for(var $s=0;$s<2;$s+=1)Zs[$s]&&!Is&&!Lt(Is,$s)&&!Lt(fu,$s)&&(Is=gn(Is,li.getNow(),$s));return Is}}),zc=Object(He.a)(As,2),cc=zc[0],fl=zc[1],Bc=xt([Ts,Ts],{value:cd}),Gl=Object(He.a)(Bc,2),Fl=Gl[0],pl=Gl[1];Object(U.useEffect)(function(){pl([Ts,Ts])},[Ts]);var gu=function(Eo,Is){pl(Eo),eu&&eu(Is,Eo)},bl=jo({picker:Ts,selectedValue:cc,locale:hi,disabled:Zs,disabledDate:ru,generateConfig:li},Fa.current[1],Fa.current[0]),tu=Object(He.a)(bl,2),hl=tu[0],ju=tu[1],il=xt(!1,{value:Vl,defaultValue:hu,postState:function(Eo){return Zs[Po]?!1:Eo},onChange:function(Eo){El&&El(Eo),!Eo&&Ls.current&&Ls.current.onClose&&Ls.current.onClose()}}),Mu=Object(He.a)(il,2),ji=Mu[0],xa=Mu[1],as=ji&&Po===0,ws=ji&&Po===1,Cs=Object(U.useState)(0),$o=Object(He.a)(Cs,2),_c=$o[0],Lc=$o[1];Object(U.useEffect)(function(){!ji&&Va.current&&Lc(Va.current.offsetWidth)},[ji]);var Rl=U.useRef();function Ol(Ms,Eo){if(Ms)clearTimeout(Rl.current),Fa.current[Eo]=!0,yr(Eo),xa(Ms),ji||uo(null,Eo);else if(Po===Eo){xa(Ms);var Is=Fa.current;Rl.current=setTimeout(function(){Is===Fa.current&&(Fa.current={})})}}function cl(Ms){Ol(!0,Ms),setTimeout(function(){var Eo=[Io,Fo][Ms];Eo.current&&Eo.current.focus()},0)}function au(Ms,Eo){var Is=Ms,$s=Lt(Is,0),_l=Lt(Is,1);$s&&_l&&li.isAfter($s,_l)&&(Ts==="week"&&!ln(li,hi.locale,$s,_l)||Ts==="quarter"&&!Nn(li,$s,_l)||Ts!=="week"&&Ts!=="quarter"&&Ts!=="time"&&!rr(li,$s,_l)?(Eo===0?(Is=[$s,null],_l=null):($s=null,Is=[null,_l]),Fa.current=Object(ie.a)({},Eo,!0)):(Ts!=="time"||Jo!==!1)&&(Is=Qa(Is,li))),fl(Is);var Wl=Is&&Is[0]?Sa(Is[0],{generateConfig:li,locale:hi,format:ms[0]}):"",Hu=Is&&Is[1]?Sa(Is[1],{generateConfig:li,locale:hi,format:ms[0]}):"";if(rd){var gd={range:Eo===0?"start":"end"};rd(Is,[Wl,Hu],gd)}var Cd=Ei($s,0,Zs,fu),Gu=Ei(_l,1,Zs,fu),ol=Is===null||Cd&&Gu;ol&&(cr(Is),Eu&&(!Xn(li,Lt(bc,0),$s)||!Xn(li,Lt(bc,1),_l))&&Eu(Is,[Wl,Hu]));var Md=null;Eo===0&&!Zs[1]?Md=1:Eo===1&&!Zs[0]&&(Md=0),Md!==null&&Md!==Po&&(!Fa.current[Md]||!Lt(Is,Md))&&Lt(Is,Eo)?cl(Md):Ol(!1,Eo)}var Yu=function(Eo){return ji&&Ls.current&&Ls.current.onKeyDown?Ls.current.onKeyDown(Eo):(j(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Od={formatList:ms,generateConfig:li,locale:hi},Lu=$a(Lt(cc,0),Od),Hd=Object(He.a)(Lu,2),af=Hd[0],Gd=Hd[1],Nd=$a(Lt(cc,1),Od),kd=Object(He.a)(Nd,2),xf=kd[0],Bd=kd[1],Fu=function(Eo,Is){var $s=Lr(Eo,{locale:hi,formatList:ms,generateConfig:li}),_l=Is===0?hl:ju;$s&&!_l($s)&&(fl(gn(cc,$s,Is)),uo($s,Is))},xd=Gr({valueTexts:af,onTextChange:function(Eo){return Fu(Eo,0)}}),of=Object(He.a)(xd,3),ld=of[0],cu=of[1],ll=of[2],ad=Gr({valueTexts:xf,onTextChange:function(Eo){return Fu(Eo,1)}}),Xu=Object(He.a)(ad,3),_s=Xu[0],jl=Xu[1],Uu=Xu[2],jd=Object(U.useState)(null),Sf=Object(He.a)(jd,2),Af=Sf[0],mf=Sf[1],Ld=Object(U.useState)(null),qd=Object(He.a)(Ld,2),bu=qd[0],$d=qd[1],Ju=Ya(ld,{formatList:ms,generateConfig:li,locale:hi}),Jd=Object(He.a)(Ju,3),Zo=Jd[0],Vr=Jd[1],Yo=Jd[2],Mi=Ya(_s,{formatList:ms,generateConfig:li,locale:hi}),ds=Object(He.a)(Mi,3),oc=ds[0],Il=ds[1],pu=ds[2],Nl=function(Eo){$d(gn(cc,Eo,Po)),Po===0?Vr(Eo):Il(Eo)},Du=function(){$d(gn(cc,null,Po)),Po===0?Yo():pu()},vu=function(Eo,Is){return{blurToCancel:_a,forwardKeyDown:Yu,onBlur:Dr,isClickOutside:function(_l){return!H([di.current,Ci.current,wo.current,Va.current],_l)},onFocus:function(_l){yr(Eo),yn&&yn(_l)},triggerOpen:function(_l){Ol(_l,Eo)},onSubmit:function(){if(!cc||ru&&ru(cc[Eo]))return!1;au(cc,Eo),Is()},onCancel:function(){Ol(!1,Eo),fl(bc),Is()}}},lu=Object(U.useRef)(""),id=Ir(Object(G.a)(Object(G.a)({},vu(0,ll)),{},{open:as,value:ld,currentFocusedKey:lu,key:"start",onKeyDown:function(Eo,Is){Ji==null||Ji(Eo,Is)}})),Ws=Object(He.a)(id,2),re=Ws[0],Ae=Ws[1],ct=Ae.focused,wt=Ae.typing,an=Ir(Object(G.a)(Object(G.a)({},vu(1,Uu)),{},{open:ws,value:_s,currentFocusedKey:lu,key:"end",onKeyDown:function(Eo,Is){Ji==null||Ji(Eo,Is)}})),jr=Object(He.a)(an,2),Xa=jr[0],fs=jr[1],Xs=fs.focused,Uc=fs.typing,zl=function(Eo){mo&&mo(Eo),!ji&&!Io.current.contains(Eo.target)&&!Fo.current.contains(Eo.target)&&(Zs[0]?Zs[1]||cl(1):cl(0))},Bu=function(Eo){Xr&&Xr(Eo),ji&&(ct||Xs)&&!Io.current.contains(Eo.target)&&!Fo.current.contains(Eo.target)&&Eo.preventDefault()},ud=bc&&bc[0]?Sa(bc[0],{locale:hi,format:"YYYYMMDDHHmmss",generateConfig:li}):"",Mp=bc&&bc[1]?Sa(bc[1],{locale:hi,format:"YYYYMMDDHHmmss",generateConfig:li}):"";Object(U.useEffect)(function(){ji||(fl(bc),!af.length||af[0]===""?cu(""):Gd!==ld&&ll(),!xf.length||xf[0]===""?jl(""):Bd!==_s&&Uu())},[ji,af,xf]),Object(U.useEffect)(function(){fl(bc)},[ud,Mp]),os&&(os.current={focus:function(){Io.current&&Io.current.focus()},blur:function(){Io.current&&Io.current.blur(),Fo.current&&Fo.current.blur()}});var ev=Object.keys(Hl||{}),Rn=ev.map(function(Ms){var Eo=Hl[Ms],Is=typeof Eo=="function"?Eo():Eo;return{label:Ms,onClick:function(){au(Is,null),Ol(!1,Po)},onMouseEnter:function(){mf(Is)},onMouseLeave:function(){mf(null)}}});function St(){var Ms=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Is=null;ji&&bu&&bu[0]&&bu[1]&&li.isAfter(bu[1],bu[0])&&(Is=bu);var $s=Ar;if(Ar&&Object(Xt.a)(Ar)==="object"&&Ar.defaultValue){var _l=Ar.defaultValue;$s=Object(G.a)(Object(G.a)({},Ar),{},{defaultValue:Lt(_l,Po)||void 0})}var Wl=null;return ql&&(Wl=function(gd,Cd){return ql(gd,Cd,{range:Po?"end":"start"})}),U.createElement(ti.Provider,{value:{inRange:!0,panelPosition:Ms,rangedValue:Af||cc,hoverRangedValue:Is}},U.createElement(xr,Object(F.a)({},qt,Eo,{dateRender:Wl,showTime:$s,mode:Fl[Po],generateConfig:li,style:void 0,direction:dn,disabledDate:Po===0?hl:ju,disabledTime:function(gd){return pd?pd(gd,Po===0?"start":"end"):!1},className:pe()(Object(ie.a)({},"".concat(vi,"-panel-focused"),Po===0?!wt:!Uc)),value:Lt(cc,Po),locale:hi,tabIndex:-1,onPanelChange:function(gd,Cd){Po===0&&Yo(!0),Po===1&&pu(!0),gu(gn(Fl,Cd,Po),gn(cc,gd,Po));var Gu=gd;Ms==="right"&&Fl[Po]===Cd&&(Gu=Hn(Gu,Cd,li,-1)),uo(Gu,Po)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Po===0?Lt(cc,1):Lt(cc,0)})))}var on=0,Dn=0;if(Po&&Ci.current&&ho.current&&di.current){on=Ci.current.offsetWidth+ho.current.offsetWidth;var aa=xs.current.offsetLeft>on?xs.current.offsetLeft-on:xs.current.offsetLeft;di.current.offsetWidth&&xs.current.offsetWidth&&on>di.current.offsetWidth-xs.current.offsetWidth-(dn==="rtl"?0:aa)&&(Dn=on)}var oa=dn==="rtl"?{right:on}:{left:on};function Jr(){var Ms,Eo=tn(vi,Fl[Po],Ud),Is=wn({prefixCls:vi,components:Vs,needConfirmButton:_a,okDisabled:!Lt(cc,Po)||ru&&ru(cc[Po]),locale:hi,rangeList:Rn,onOk:function(){Lt(cc,Po)&&(au(cc,Po),Yi&&Yi(cc))}});if(Ts!=="time"&&!Ar){var $s=Ki(Po),_l=Hn($s,Ts,li),Wl=Fl[Po],Hu=Wl===Ts,gd=St(Hu?"left":!1,{pickerValue:$s,onPickerValueChange:function(Md){uo(Md,Po)}}),Cd=St("right",{pickerValue:_l,onPickerValueChange:function(Md){uo(Hn(Md,Ts,li,-1),Po)}});dn==="rtl"?Ms=U.createElement(U.Fragment,null,Cd,Hu&&gd):Ms=U.createElement(U.Fragment,null,gd,Hu&&Cd)}else Ms=St();var Gu=U.createElement(U.Fragment,null,U.createElement("div",{className:"".concat(vi,"-panels")},Ms),(Eo||Is)&&U.createElement("div",{className:"".concat(vi,"-footer")},Eo,Is));return Ru&&(Gu=Ru(Gu)),U.createElement("div",{className:"".concat(vi,"-panel-container"),style:{marginLeft:Dn},ref:di,onMouseDown:function(Md){Md.preventDefault()}},Gu)}var Ia=U.createElement("div",{className:pe()("".concat(vi,"-range-wrapper"),"".concat(vi,"-").concat(Ts,"-range-wrapper")),style:{minWidth:_c}},U.createElement("div",{ref:xs,className:"".concat(vi,"-range-arrow"),style:oa}),Jr()),Li;bd&&(Li=U.createElement("span",{className:"".concat(vi,"-suffix")},bd));var no;nd&&(Lt(bc,0)&&!Zs[0]||Lt(bc,1)&&!Zs[1])&&(no=U.createElement("span",{onMouseDown:function(Eo){Eo.preventDefault(),Eo.stopPropagation()},onMouseUp:function(Eo){Eo.preventDefault(),Eo.stopPropagation();var Is=bc;Zs[0]||(Is=gn(Is,null,0)),Zs[1]||(Is=gn(Is,null,1)),au(Is,null),Ol(!1,Po)},className:"".concat(vi,"-clear")},ml||U.createElement("span",{className:"".concat(vi,"-clear-btn")})));var es={size:Sr(Ts,ms[0],li)},Bo=0,Uo=0;Ci.current&&wo.current&&ho.current&&(Po===0?Uo=Ci.current.offsetWidth:(Bo=on,Uo=wo.current.offsetWidth));var Dc=dn==="rtl"?{right:Bo}:{left:Bo},nc=function(Eo,Is){var $s=gn(cc,Eo,Po);Is==="submit"||Is!=="key"&&!_a?(au($s,Po),Po===0?Yo():pu()):fl($s)};return U.createElement(Se.Provider,{value:{operationRef:Ls,hideHeader:Ts==="time",onDateMouseEnter:Nl,onDateMouseLeave:Du,hideRanges:!0,onSelect:nc,open:ji}},U.createElement(Jn,{visible:ji,popupElement:Ia,popupStyle:La,prefixCls:vi,dropdownClassName:Nr,dropdownAlign:ra,getPopupContainer:ri,transitionName:ua,range:!0,direction:dn},U.createElement("div",Object(F.a)({ref:Va,className:pe()(vi,"".concat(vi,"-range"),Ua,(nr={},Object(ie.a)(nr,"".concat(vi,"-disabled"),Zs[0]&&Zs[1]),Object(ie.a)(nr,"".concat(vi,"-focused"),Po===0?ct:Xs),Object(ie.a)(nr,"".concat(vi,"-rtl"),dn==="rtl"),nr)),style:wr,onClick:zl,onMouseEnter:Ra,onMouseLeave:wi,onMouseDown:Bu,onMouseUp:Ta},Un(qt)),U.createElement("div",{className:pe()("".concat(vi,"-input"),(Ur={},Object(ie.a)(Ur,"".concat(vi,"-input-active"),Po===0),Object(ie.a)(Ur,"".concat(vi,"-input-placeholder"),!!Zo),Ur)),ref:Ci},U.createElement("input",Object(F.a)({id:zr,disabled:Zs[0],readOnly:wu||typeof ms[0]=="function"||!wt,value:Zo||ld,onChange:function(Eo){cu(Eo.target.value)},autoFocus:Di,placeholder:Lt(ii,0)||"",ref:Io},re,es,{autoComplete:lr}))),U.createElement("div",{className:"".concat(vi,"-range-separator"),ref:ho},Jc),U.createElement("div",{className:pe()("".concat(vi,"-input"),(Yr={},Object(ie.a)(Yr,"".concat(vi,"-input-active"),Po===1),Object(ie.a)(Yr,"".concat(vi,"-input-placeholder"),!!oc),Yr)),ref:wo},U.createElement("input",Object(F.a)({disabled:Zs[1],readOnly:wu||typeof ms[0]=="function"||!Uc,value:oc||_s,onChange:function(Eo){jl(Eo.target.value)},placeholder:Lt(ii,1)||"",ref:Fo},Xa,es,{autoComplete:lr}))),U.createElement("div",{className:"".concat(vi,"-active-bar"),style:Object(G.a)(Object(G.a)({},Dc),{},{width:Uo,position:"absolute"})}),Li,no)))}var fo=function(qt){Object(ze.a)(Ur,qt);var nr=Object(Ue.a)(Ur);function Ur(){var Yr;Object(Ke.a)(this,Ur);for(var ni=arguments.length,vi=new Array(ni),zr=0;zr<ni;zr++)vi[zr]=arguments[zr];return Yr=nr.call.apply(nr,[this].concat(vi)),Yr.pickerRef=U.createRef(),Yr.focus=function(){Yr.pickerRef.current&&Yr.pickerRef.current.focus()},Yr.blur=function(){Yr.pickerRef.current&&Yr.pickerRef.current.blur()},Yr}return Object(Me.a)(Ur,[{key:"render",value:function(){return U.createElement(zo,Object(F.a)({},this.props,{pickerRef:this.pickerRef}))}}]),Ur}(U.Component),gs=fo,Ks=ks,pc=l("H84U"),tc=l("caoh"),xc=l("3Nzz"),kc=l("ihLV"),Ss=l("+f9I"),Js=l("YMnH"),Mo=l("ATYA"),js=l("61s2");function Yc(qt,nr,Ur){return Ur!==void 0?Ur:qt==="year"&&nr.lang.yearPlaceholder?nr.lang.yearPlaceholder:qt==="quarter"&&nr.lang.quarterPlaceholder?nr.lang.quarterPlaceholder:qt==="month"&&nr.lang.monthPlaceholder?nr.lang.monthPlaceholder:qt==="week"&&nr.lang.weekPlaceholder?nr.lang.weekPlaceholder:qt==="time"&&nr.timePickerLocale.placeholder?nr.timePickerLocale.placeholder:nr.lang.placeholder}function gc(qt,nr,Ur){return Ur!==void 0?Ur:qt==="year"&&nr.lang.yearPlaceholder?nr.lang.rangeYearPlaceholder:qt==="quarter"&&nr.lang.quarterPlaceholder?nr.lang.rangeQuarterPlaceholder:qt==="month"&&nr.lang.monthPlaceholder?nr.lang.rangeMonthPlaceholder:qt==="week"&&nr.lang.weekPlaceholder?nr.lang.rangeWeekPlaceholder:qt==="time"&&nr.timePickerLocale.placeholder?nr.timePickerLocale.rangePlaceholder:nr.lang.rangePlaceholder}function Cl(qt,nr){var Ur={adjustX:1,adjustY:1};switch(nr){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Ur};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Ur};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Ur};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Ur};default:return{points:qt==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Ur}}}var wl=function(qt,nr){var Ur={};for(var Yr in qt)Object.prototype.hasOwnProperty.call(qt,Yr)&&nr.indexOf(Yr)<0&&(Ur[Yr]=qt[Yr]);if(qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ni=0,Yr=Object.getOwnPropertySymbols(qt);ni<Yr.length;ni++)nr.indexOf(Yr[ni])<0&&Object.prototype.propertyIsEnumerable.call(qt,Yr[ni])&&(Ur[Yr[ni]]=qt[Yr[ni]]);return Ur};function Wc(qt){var nr=Object(U.forwardRef)(function(Ur,Yr){var ni=Ur.prefixCls,vi=Ur.getPopupContainer,zr=Ur.className,wr=Ur.placement,Ua=Ur.size,La=Ur.disabled,Nr=Ur.bordered,ua=Nr===void 0?!0:Nr,ra=Ur.placeholder,ri=Ur.popupClassName,li=Ur.dropdownClassName,hi=Ur.status,ii=wl(Ur,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),Di=U.useRef(null),Xo=Object(U.useContext)(pc.b),ps=Xo.getPrefixCls,mc=Xo.direction,Ts=Xo.getPopupContainer,Ar=ps("picker",ni),Gs=Object(Ss.c)(Ar,mc),Nc=Gs.compactSize,Jc=Gs.compactItemClassnames,Fc=Ur.format,Ro=Ur.showTime,Dl=Ur.picker,Vl=ps(),hu={};hu=Object(F.a)(Object(F.a)(Object(F.a)({},hu),Ro?al(Object(F.a)({format:Fc,picker:Dl},Ro)):{}),Dl==="time"?al(Object(F.a)(Object(F.a)({format:Fc},Ur),{picker:Dl})):{});var ru=U.useContext(xc.b),pd=Nc||Ua||ru,ql=U.useContext(tc.b),Ru=La!=null?La:ql,Hl=Object(U.useContext)(kc.b),fu=Hl.hasFeedback,nd=Hl.status,bd=Hl.feedbackIcon,ml=U.createElement(U.Fragment,null,Dl==="time"?U.createElement(me,null):U.createElement(_e,null),fu&&bd);return Object(U.useImperativeHandle)(Yr,function(){return{focus:function(){var wu;return(wu=Di.current)===null||wu===void 0?void 0:wu.focus()},blur:function(){var wu;return(wu=Di.current)===null||wu===void 0?void 0:wu.blur()}}}),U.createElement(Js.a,{componentName:"DatePicker",defaultLocale:js.a},function(os){var wu,cd=Object(F.a)(Object(F.a)({},os),Ur.locale);return U.createElement(gs,Object(F.a)({separator:U.createElement("span",{"aria-label":"to",className:"".concat(Ar,"-separator")},U.createElement(we,null)),disabled:Ru,ref:Di,dropdownAlign:Cl(mc,wr),placeholder:gc(Dl,cd,ra),suffixIcon:ml,clearIcon:U.createElement(Z.a,null),prevIcon:U.createElement("span",{className:"".concat(Ar,"-prev-icon")}),nextIcon:U.createElement("span",{className:"".concat(Ar,"-next-icon")}),superPrevIcon:U.createElement("span",{className:"".concat(Ar,"-super-prev-icon")}),superNextIcon:U.createElement("span",{className:"".concat(Ar,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(Vl,"-slide-up")},ii,hu,{className:pe()((wu={},Object(ie.a)(wu,"".concat(Ar,"-").concat(pd),pd),Object(ie.a)(wu,"".concat(Ar,"-borderless"),!ua),wu),Object(Mo.b)(Ar,Object(Mo.a)(nd,hi),fu),Jc,zr),locale:cd.lang,prefixCls:Ar,getPopupContainer:vi||Ts,generateConfig:qt,components:su,direction:mc,dropdownClassName:ri||li}))})});return nr}var nl=function(qt,nr){var Ur={};for(var Yr in qt)Object.prototype.hasOwnProperty.call(qt,Yr)&&nr.indexOf(Yr)<0&&(Ur[Yr]=qt[Yr]);if(qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ni=0,Yr=Object.getOwnPropertySymbols(qt);ni<Yr.length;ni++)nr.indexOf(Yr[ni])<0&&Object.prototype.propertyIsEnumerable.call(qt,Yr[ni])&&(Ur[Yr[ni]]=qt[Yr[ni]]);return Ur};function Rc(qt){function nr(Ua,La){var Nr=Object(U.forwardRef)(function(ua,ra){var ri=ua.prefixCls,li=ua.getPopupContainer,hi=ua.className,ii=ua.size,Di=ua.bordered,Xo=Di===void 0?!0:Di,ps=ua.placement,mc=ua.placeholder,Ts=ua.popupClassName,Ar=ua.dropdownClassName,Gs=ua.disabled,Nc=ua.status,Jc=nl(ua,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),Fc=Object(U.useContext)(pc.b),Ro=Fc.getPrefixCls,Dl=Fc.direction,Vl=Fc.getPopupContainer,hu=Ro("picker",ri),ru=Object(Ss.c)(hu,Dl),pd=ru.compactSize,ql=ru.compactItemClassnames,Ru=U.useRef(null),Hl=ua.format,fu=ua.showTime;Object(U.useImperativeHandle)(ra,function(){return{focus:function(){var Ta;return(Ta=Ru.current)===null||Ta===void 0?void 0:Ta.focus()},blur:function(){var Ta;return(Ta=Ru.current)===null||Ta===void 0?void 0:Ta.blur()}}});var nd={showToday:!0},bd={};Ua&&(bd.picker=Ua);var ml=Ua||ua.picker;bd=Object(F.a)(Object(F.a)(Object(F.a)({},bd),fu?al(Object(F.a)({format:Hl,picker:ml},fu)):{}),ml==="time"?al(Object(F.a)(Object(F.a)({format:Hl},ua),{picker:ml})):{});var os=Ro(),wu=U.useContext(xc.b),cd=pd||ii||wu,Ud=U.useContext(tc.b),Eu=Gs!=null?Gs:Ud,El=Object(U.useContext)(kc.b),eu=El.hasFeedback,rd=El.status,yn=El.feedbackIcon,Dr=U.createElement(U.Fragment,null,ml==="time"?U.createElement(me,null):U.createElement(_e,null),eu&&yn);return U.createElement(Js.a,{componentName:"DatePicker",defaultLocale:js.a},function(Xr){var Ta,Ra=Object(F.a)(Object(F.a)({},Xr),ua.locale);return U.createElement(Ks,Object(F.a)({ref:Ru,placeholder:Yc(ml,Ra,mc),suffixIcon:Dr,dropdownAlign:Cl(Dl,ps),clearIcon:U.createElement(Z.a,null),prevIcon:U.createElement("span",{className:"".concat(hu,"-prev-icon")}),nextIcon:U.createElement("span",{className:"".concat(hu,"-next-icon")}),superPrevIcon:U.createElement("span",{className:"".concat(hu,"-super-prev-icon")}),superNextIcon:U.createElement("span",{className:"".concat(hu,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(os,"-slide-up")},nd,Jc,bd,{locale:Ra.lang,className:pe()((Ta={},Object(ie.a)(Ta,"".concat(hu,"-").concat(cd),cd),Object(ie.a)(Ta,"".concat(hu,"-borderless"),!Xo),Ta),Object(Mo.b)(hu,Object(Mo.a)(rd,Nc),eu),ql,hi),prefixCls:hu,getPopupContainer:li||Vl,generateConfig:qt,components:su,direction:Dl,disabled:Eu,dropdownClassName:Ts||Ar}))})});return La&&(Nr.displayName=La),Nr}var Ur=nr(),Yr=nr("week","WeekPicker"),ni=nr("month","MonthPicker"),vi=nr("year","YearPicker"),zr=nr("time","TimePicker"),wr=nr("quarter","QuarterPicker");return{DatePicker:Ur,WeekPicker:Yr,MonthPicker:ni,YearPicker:vi,TimePicker:zr,QuarterPicker:wr}}var su={button:$,rangeItem:ee};function Pl(qt){return qt?Array.isArray(qt)?qt:[qt]:[]}function al(qt){var nr=qt.format,Ur=qt.picker,Yr=qt.showHour,ni=qt.showMinute,vi=qt.showSecond,zr=qt.use12Hours,wr=Pl(nr)[0],Ua=Object(F.a)({},qt);return wr&&typeof wr=="string"&&(!wr.includes("s")&&vi===void 0&&(Ua.showSecond=!1),!wr.includes("m")&&ni===void 0&&(Ua.showMinute=!1),!wr.includes("H")&&!wr.includes("h")&&Yr===void 0&&(Ua.showHour=!1),(wr.includes("a")||wr.includes("A"))&&zr===void 0&&(Ua.use12Hours=!0)),Ur==="time"?Ua:(typeof wr=="function"&&delete Ua.format,{showTime:Ua})}var Ml=Object(B.a)("bottomLeft","bottomRight","topLeft","topRight");function Tl(qt){var nr=Rc(qt),Ur=nr.DatePicker,Yr=nr.WeekPicker,ni=nr.MonthPicker,vi=nr.YearPicker,zr=nr.TimePicker,wr=nr.QuarterPicker,Ua=Wc(qt),La=Ur;return La.WeekPicker=Yr,La.MonthPicker=ni,La.YearPicker=vi,La.RangePicker=Ua,La.TimePicker=zr,La.QuarterPicker=wr,La}var td=Tl,rl=td(N),dl=R.a=rl},"+f9I":function(ce,R,l){"use strict";l.d(R,"c",function(){return T}),l.d(R,"a",function(){return j});var E=l("wx14"),m=l("rePB"),O=l("TSYQ"),C=l.n(O),k=l("axMd"),A=l("q1tI"),S=l.n(A),y=l("H84U"),w=function(F,B){var U={};for(var J in F)Object.prototype.hasOwnProperty.call(F,J)&&B.indexOf(J)<0&&(U[J]=F[J]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,J=Object.getOwnPropertySymbols(F);$<J.length;$++)B.indexOf(J[$])<0&&Object.prototype.propertyIsEnumerable.call(F,J[$])&&(U[J[$]]=F[J[$]]);return U},x=A.createContext(null),T=function(B,U){var J=A.useContext(x),$=A.useMemo(function(){var X;if(!J)return"";var ee=J.compactDirection,ie=J.isFirstItem,G=J.isLastItem,Q=ee==="vertical"?"-vertical-":"-";return C()((X={},Object(m.a)(X,"".concat(B,"-compact").concat(Q,"item"),!0),Object(m.a)(X,"".concat(B,"-compact").concat(Q,"first-item"),ie),Object(m.a)(X,"".concat(B,"-compact").concat(Q,"last-item"),G),Object(m.a)(X,"".concat(B,"-compact").concat(Q,"item-rtl"),U==="rtl"),X))},[B,U,J]);return{compactSize:J==null?void 0:J.compactSize,compactDirection:J==null?void 0:J.compactDirection,compactItemClassnames:$}},j=function(B){var U=B.children;return A.createElement(x.Provider,{value:null},U)},D=function(B){var U=B.children,J=w(B,["children"]);return A.createElement(x.Provider,{value:J},U)},N=function(B){var U,J=A.useContext(y.b),$=J.getPrefixCls,X=J.direction,ee=B.size,ie=ee===void 0?"middle":ee,G=B.direction,Q=B.block,W=B.prefixCls,ne=B.className,te=B.children,_e=w(B,["size","direction","block","prefixCls","className","children"]),he=$("space-compact",W),oe=C()(he,(U={},Object(m.a)(U,"".concat(he,"-rtl"),X==="rtl"),Object(m.a)(U,"".concat(he,"-block"),Q),Object(m.a)(U,"".concat(he,"-vertical"),G==="vertical"),U),ne),ge=A.useContext(x),me=Object(k.a)(te),Z=A.useMemo(function(){return me.map(function(xe,Ee){var Le=xe&&xe.key||"".concat(he,"-item-").concat(Ee);return A.createElement(D,{key:Le,compactSize:ie,compactDirection:G,isFirstItem:Ee===0&&(!ge||(ge==null?void 0:ge.isFirstItem)),isLastItem:Ee===me.length-1&&(!ge||(ge==null?void 0:ge.isLastItem))},xe)})},[ie,me,ge]);return me.length===0?null:A.createElement("div",Object(E.a)({className:oe},_e),Z)};R.b=N},"+i8S":function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("q1tI"),m=l.n(E),O=function(k){var A=Object(E.useRef)(null);return A.current=k,Object(E.useCallback)(function(){for(var S,y=arguments.length,w=new Array(y),x=0;x<y;x++)w[x]=arguments[x];return(S=A.current)===null||S===void 0?void 0:S.call.apply(S,[A].concat(w))},[])}},"+iFO":function(ce,R,l){var E=l("dTAl"),m=l("LcsW"),O=l("6sVZ");function C(k){return typeof k.constructor=="function"&&!O(k)?E(m(k)):{}}ce.exports=C},"+l9e":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("zv1X").map,O=l("jMDO"),C=l("kGMc"),k=O("map"),A=C("map");E({target:"Array",proto:!0,forced:!k||!A},{map:function(y){return m(this,y,arguments.length>1?arguments[1]:void 0)}})},"+nKL":function(ce,R,l){"use strict";var E=l("wx14"),m=l("VTBJ"),O=l("rePB"),C=l("ODXe"),k=l("Ff2n"),A=l("q1tI"),S=l.n(A),y=l("TSYQ"),w=l.n(y),x=l("t23M"),T=A.forwardRef(function(Ve,Ge){var _t=Ve.height,bt=Ve.offset,gt=Ve.children,at=Ve.prefixCls,ft=Ve.onInnerResize,Fe=Ve.innerProps,Te={},ut={display:"flex",flexDirection:"column"};return bt!==void 0&&(Te={height:_t,position:"relative",overflow:"hidden"},ut=Object(m.a)(Object(m.a)({},ut),{},{transform:"translateY(".concat(bt,"px)"),position:"absolute",left:0,right:0,top:0})),A.createElement("div",{style:Te},A.createElement(x.a,{onResize:function($e){var Qe=$e.offsetHeight;Qe&&ft&&ft()}},A.createElement("div",Object(E.a)({style:ut,className:w()(Object(O.a)({},"".concat(at,"-holder-inner"),at)),ref:Ge},Fe),gt)))});T.displayName="Filler";var j=T,D=l("1OyB"),N=l("vuIU"),F=l("Ji7U"),B=l("LK+K"),U=function(Ge){return+setTimeout(Ge,16)},J=function(Ge){return clearTimeout(Ge)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(U=function(Ge){return window.requestAnimationFrame(Ge)},J=function(Ge){return window.cancelAnimationFrame(Ge)});var $=0,X=new Map;function ee(Ve){X.delete(Ve)}var ie=function(Ge){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;$+=1;var bt=$;function gt(at){if(at===0)ee(bt),Ge();else{var ft=U(function(){gt(at-1)});X.set(bt,ft)}}return gt(_t),bt};ie.cancel=function(Ve){var Ge=X.get(Ve);return ee(Ge),J(Ge)};var G=ie,Q=20;function W(Ve){return"touches"in Ve?Ve.touches[0].pageY:Ve.pageY}var ne=function(Ve){Object(F.a)(_t,Ve);var Ge=Object(B.a)(_t);function _t(){var bt;Object(D.a)(this,_t);for(var gt=arguments.length,at=new Array(gt),ft=0;ft<gt;ft++)at[ft]=arguments[ft];return bt=Ge.call.apply(Ge,[this].concat(at)),bt.moveRaf=null,bt.scrollbarRef=A.createRef(),bt.thumbRef=A.createRef(),bt.visibleTimeout=null,bt.state={dragging:!1,pageY:null,startTop:null,visible:!1},bt.delayHidden=function(){clearTimeout(bt.visibleTimeout),bt.setState({visible:!0}),bt.visibleTimeout=setTimeout(function(){bt.setState({visible:!1})},2e3)},bt.onScrollbarTouchStart=function(Fe){Fe.preventDefault()},bt.onContainerMouseDown=function(Fe){Fe.stopPropagation(),Fe.preventDefault()},bt.patchEvents=function(){window.addEventListener("mousemove",bt.onMouseMove),window.addEventListener("mouseup",bt.onMouseUp),bt.thumbRef.current.addEventListener("touchmove",bt.onMouseMove),bt.thumbRef.current.addEventListener("touchend",bt.onMouseUp)},bt.removeEvents=function(){var Fe;window.removeEventListener("mousemove",bt.onMouseMove),window.removeEventListener("mouseup",bt.onMouseUp),(Fe=bt.scrollbarRef.current)===null||Fe===void 0||Fe.removeEventListener("touchstart",bt.onScrollbarTouchStart),bt.thumbRef.current&&(bt.thumbRef.current.removeEventListener("touchstart",bt.onMouseDown),bt.thumbRef.current.removeEventListener("touchmove",bt.onMouseMove),bt.thumbRef.current.removeEventListener("touchend",bt.onMouseUp)),G.cancel(bt.moveRaf)},bt.onMouseDown=function(Fe){var Te=bt.props.onStartMove;bt.setState({dragging:!0,pageY:W(Fe),startTop:bt.getTop()}),Te(),bt.patchEvents(),Fe.stopPropagation(),Fe.preventDefault()},bt.onMouseMove=function(Fe){var Te=bt.state,ut=Te.dragging,le=Te.pageY,$e=Te.startTop,Qe=bt.props.onScroll;if(G.cancel(bt.moveRaf),ut){var Tt=W(Fe)-le,Ot=$e+Tt,Ut=bt.getEnableScrollRange(),At=bt.getEnableHeightRange(),Pt=At?Ot/At:0,Dt=Math.ceil(Pt*Ut);bt.moveRaf=G(function(){Qe(Dt)})}},bt.onMouseUp=function(){var Fe=bt.props.onStopMove;bt.setState({dragging:!1}),Fe(),bt.removeEvents()},bt.getSpinHeight=function(){var Fe=bt.props,Te=Fe.height,ut=Fe.count,le=Te/ut*10;return le=Math.max(le,Q),le=Math.min(le,Te/2),Math.floor(le)},bt.getEnableScrollRange=function(){var Fe=bt.props,Te=Fe.scrollHeight,ut=Fe.height;return Te-ut||0},bt.getEnableHeightRange=function(){var Fe=bt.props.height,Te=bt.getSpinHeight();return Fe-Te||0},bt.getTop=function(){var Fe=bt.props.scrollTop,Te=bt.getEnableScrollRange(),ut=bt.getEnableHeightRange();if(Fe===0||Te===0)return 0;var le=Fe/Te;return le*ut},bt.showScroll=function(){var Fe=bt.props,Te=Fe.height,ut=Fe.scrollHeight;return ut>Te},bt}return Object(N.a)(_t,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(gt){gt.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var gt=this.state,at=gt.dragging,ft=gt.visible,Fe=this.props,Te=Fe.prefixCls,ut=Fe.direction,le=this.getSpinHeight(),$e=this.getTop(),Qe=this.showScroll(),Tt=Qe&&ft,Ot=ut==="rtl"?{left:0}:{right:0};return A.createElement("div",{ref:this.scrollbarRef,className:w()("".concat(Te,"-scrollbar"),Object(O.a)({},"".concat(Te,"-scrollbar-show"),Qe)),style:Object(m.a)(Object(m.a)({width:8,top:0,bottom:0},Ot),{},{position:"absolute",display:Tt?null:"none"}),onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},A.createElement("div",{ref:this.thumbRef,className:w()("".concat(Te,"-scrollbar-thumb"),Object(O.a)({},"".concat(Te,"-scrollbar-thumb-moving"),at)),style:{width:"100%",height:le,top:$e,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),_t}(A.Component);function te(Ve){var Ge=Ve.children,_t=Ve.setRef,bt=A.useCallback(function(gt){_t(gt)},[]);return A.cloneElement(Ge,{ref:bt})}function _e(Ve,Ge,_t,bt,gt,at){var ft=at.getKey;return Ve.slice(Ge,_t+1).map(function(Fe,Te){var ut=Ge+Te,le=gt(Fe,ut,{}),$e=ft(Fe);return A.createElement(te,{key:$e,setRef:function(Tt){return bt(Fe,Tt)}},le)})}var he=l("i8i4"),oe=l.n(he);function ge(Ve){return Ve instanceof HTMLElement||Ve instanceof SVGElement}function me(Ve){return ge(Ve)?Ve:Ve instanceof S.a.Component?oe.a.findDOMNode(Ve):null}var Z=function(){function Ve(){Object(D.a)(this,Ve),this.maps=void 0,this.maps=Object.create(null)}return Object(N.a)(Ve,[{key:"set",value:function(_t,bt){this.maps[_t]=bt}},{key:"get",value:function(_t){return this.maps[_t]}}]),Ve}(),xe=Z;function Ee(Ve,Ge,_t){var bt=A.useState(0),gt=Object(C.a)(bt,2),at=gt[0],ft=gt[1],Fe=Object(A.useRef)(new Map),Te=Object(A.useRef)(new xe),ut=Object(A.useRef)();function le(){G.cancel(ut.current)}function $e(){le(),ut.current=G(function(){Fe.current.forEach(function(Tt,Ot){if(Tt&&Tt.offsetParent){var Ut=me(Tt),At=Ut.offsetHeight;Te.current.get(Ot)!==At&&Te.current.set(Ot,Ut.offsetHeight)}}),ft(function(Tt){return Tt+1})})}function Qe(Tt,Ot){var Ut=Ve(Tt),At=Fe.current.get(Ut);Ot?(Fe.current.set(Ut,Ot),$e()):Fe.current.delete(Ut),!At!=!Ot&&(Ot?Ge==null||Ge(Tt):_t==null||_t(Tt))}return Object(A.useEffect)(function(){return le},[]),[Qe,$e,Te.current,at]}var Le=l("U8pU");function we(Ve,Ge,_t,bt,gt,at,ft,Fe){var Te=A.useRef();return function(ut){if(ut==null){Fe();return}if(G.cancel(Te.current),typeof ut=="number")ft(ut);else if(ut&&Object(Le.a)(ut)==="object"){var le,$e=ut.align;"index"in ut?le=ut.index:le=Ge.findIndex(function(Ut){return gt(Ut)===ut.key});var Qe=ut.offset,Tt=Qe===void 0?0:Qe,Ot=function Ut(At,Pt){if(!(At<0||!Ve.current)){var Dt=Ve.current.clientHeight,Qt=!1,cn=Pt;if(Dt){for(var $n=Pt||$e,hn=0,_n=0,bn=0,Bn=Math.min(Ge.length,le),Tn=0;Tn<=Bn;Tn+=1){var Tr=gt(Ge[Tn]);_n=hn;var Sr=_t.get(Tr);bn=_n+(Sr===void 0?bt:Sr),hn=bn,Tn===le&&Sr===void 0&&(Qt=!0)}var Wr=null;switch($n){case"top":Wr=_n-Tt;break;case"bottom":Wr=bn-Dt+Tt;break;default:{var br=Ve.current.scrollTop,Wn=br+Dt;_n<br?cn="top":bn>Wn&&(cn="bottom")}}Wr!==null&&Wr!==Ve.current.scrollTop&&ft(Wr)}Te.current=G(function(){Qt&&at(),Ut(At-1,cn)},2)}};Ot(3)}}}function fe(Ve,Ge,_t,bt){var gt=_t-Ve,at=Ge-_t,ft=Math.min(gt,at)*2;if(bt<=ft){var Fe=Math.floor(bt/2);return bt%2?_t+Fe+1:_t-Fe}return gt>at?_t-(bt-at):_t+(bt-gt)}function pe(Ve,Ge,_t){var bt=Ve.length,gt=Ge.length,at,ft;if(bt===0&&gt===0)return null;bt<gt?(at=Ve,ft=Ge):(at=Ge,ft=Ve);var Fe={__EMPTY_ITEM__:!0};function Te(Ot){return Ot!==void 0?_t(Ot):Fe}for(var ut=null,le=Math.abs(bt-gt)!==1,$e=0;$e<ft.length;$e+=1){var Qe=Te(at[$e]),Tt=Te(ft[$e]);if(Qe!==Tt){ut=$e,le=le||Qe!==Te(ft[$e+1]);break}}return ut===null?null:{index:ut,multiple:le}}function Ke(Ve,Ge,_t){var bt=A.useState(Ve),gt=Object(C.a)(bt,2),at=gt[0],ft=gt[1],Fe=A.useState(null),Te=Object(C.a)(Fe,2),ut=Te[0],le=Te[1];return A.useEffect(function(){var $e=pe(at||[],Ve||[],Ge);($e==null?void 0:$e.index)!==void 0&&(_t==null||_t($e.index),le(Ve[$e.index])),ft(Ve)},[Ve]),[ut]}var Me=(typeof navigator=="undefined"?"undefined":Object(Le.a)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),ze=Me,Ue=function(Ve,Ge){var _t=Object(A.useRef)(!1),bt=Object(A.useRef)(null);function gt(){clearTimeout(bt.current),_t.current=!0,bt.current=setTimeout(function(){_t.current=!1},50)}var at=Object(A.useRef)({top:Ve,bottom:Ge});return at.current.top=Ve,at.current.bottom=Ge,function(ft){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Te=ft<0&&at.current.top||ft>0&&at.current.bottom;return Fe&&Te?(clearTimeout(bt.current),_t.current=!1):(!Te||_t.current)&&gt(),!_t.current&&Te}};function He(Ve,Ge,_t,bt){var gt=Object(A.useRef)(0),at=Object(A.useRef)(null),ft=Object(A.useRef)(null),Fe=Object(A.useRef)(!1),Te=Ue(Ge,_t);function ut($e){if(!!Ve){G.cancel(at.current);var Qe=$e.deltaY;gt.current+=Qe,ft.current=Qe,!Te(Qe)&&(ze||$e.preventDefault(),at.current=G(function(){var Tt=Fe.current?10:1;bt(gt.current*Tt),gt.current=0}))}}function le($e){!Ve||(Fe.current=$e.detail===ft.current)}return[ut,le]}function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var it=Ne()?A.useLayoutEffect:A.useEffect,Xe=function(Ge,_t){var bt=A.useRef(!0);it(function(){return Ge(bt.current)},_t),it(function(){return bt.current=!1,function(){bt.current=!0}},[])},ht=function(Ge,_t){Xe(function(bt){if(!bt)return Ge()},_t)},lt=Xe,Et=14/15;function tt(Ve,Ge,_t){var bt=Object(A.useRef)(!1),gt=Object(A.useRef)(0),at=Object(A.useRef)(null),ft=Object(A.useRef)(null),Fe,Te=function(Qe){if(bt.current){var Tt=Math.ceil(Qe.touches[0].pageY),Ot=gt.current-Tt;gt.current=Tt,_t(Ot)&&Qe.preventDefault(),clearInterval(ft.current),ft.current=setInterval(function(){Ot*=Et,(!_t(Ot,!0)||Math.abs(Ot)<=.1)&&clearInterval(ft.current)},16)}},ut=function(){bt.current=!1,Fe()},le=function(Qe){Fe(),Qe.touches.length===1&&!bt.current&&(bt.current=!0,gt.current=Math.ceil(Qe.touches[0].pageY),at.current=Qe.target,at.current.addEventListener("touchmove",Te),at.current.addEventListener("touchend",ut))};Fe=function(){at.current&&(at.current.removeEventListener("touchmove",Te),at.current.removeEventListener("touchend",ut))},lt(function(){return Ve&&Ge.current.addEventListener("touchstart",le),function(){var $e;($e=Ge.current)===null||$e===void 0||$e.removeEventListener("touchstart",le),Fe(),clearInterval(ft.current)}},[Ve])}var mt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","component","onScroll","onVisibleChange","innerProps"],xt=[],Xt={overflowY:"auto",overflowAnchor:"none"};function vt(Ve,Ge){var _t=Ve.prefixCls,bt=_t===void 0?"rc-virtual-list":_t,gt=Ve.className,at=Ve.height,ft=Ve.itemHeight,Fe=Ve.fullHeight,Te=Fe===void 0?!0:Fe,ut=Ve.style,le=Ve.data,$e=Ve.children,Qe=Ve.itemKey,Tt=Ve.virtual,Ot=Ve.direction,Ut=Ve.component,At=Ut===void 0?"div":Ut,Pt=Ve.onScroll,Dt=Ve.onVisibleChange,Qt=Ve.innerProps,cn=Object(k.a)(Ve,mt),$n=!!(Tt!==!1&&at&&ft),hn=$n&&le&&ft*le.length>at,_n=Object(A.useState)(0),bn=Object(C.a)(_n,2),Bn=bn[0],Tn=bn[1],Tr=Object(A.useState)(!1),Sr=Object(C.a)(Tr,2),Wr=Sr[0],br=Sr[1],Wn=w()(bt,Object(O.a)({},"".concat(bt,"-rtl"),Ot==="rtl"),gt),gr=le||xt,na=Object(A.useRef)(),jn=Object(A.useRef)(),un=Object(A.useRef)(),zt=A.useCallback(function(gn){return typeof Qe=="function"?Qe(gn):gn==null?void 0:gn[Qe]},[Qe]),Bt={getKey:zt};function H(gn){Tn(function(Ln){var kr;typeof gn=="function"?kr=gn(Ln):kr=gn;var ea=Sa(kr);return na.current.scrollTop=ea,ea})}var ot=Object(A.useRef)({start:0,end:gr.length}),nt=Object(A.useRef)(),Ct=Ke(gr,zt),Wt=Object(C.a)(Ct,1),kn=Wt[0];nt.current=kn;var Sn=Ee(zt,null,null),Zn=Object(C.a)(Sn,4),Or=Zn[0],Yn=Zn[1],Nn=Zn[2],Zt=Zn[3],rr=A.useMemo(function(){if(!$n)return{scrollHeight:void 0,start:0,end:gr.length-1,offset:void 0};if(!hn){var gn;return{scrollHeight:((gn=jn.current)===null||gn===void 0?void 0:gn.offsetHeight)||0,start:0,end:gr.length-1,offset:void 0}}for(var Ln=0,kr,ea,Qr,Na=gr.length,ar=0;ar<Na;ar+=1){var pi=gr[ar],_i=zt(pi),ti=Nn.get(_i),ui=Ln+(ti===void 0?ft:ti);ui>=Bn&&kr===void 0&&(kr=ar,ea=Ln),ui>Bn+at&&Qr===void 0&&(Qr=ar),Ln=ui}return kr===void 0&&(kr=0,ea=0,Qr=Math.ceil(at/ft)),Qr===void 0&&(Qr=gr.length-1),Qr=Math.min(Qr+1,gr.length),{scrollHeight:Ln,start:kr,end:Qr,offset:ea}},[hn,$n,Bn,gr,Zt,at]),Gn=rr.scrollHeight,ln=rr.start,Xn=rr.end,Kn=rr.offset;ot.current.start=ln,ot.current.end=Xn;var fr=Gn-at,Hn=Object(A.useRef)(fr);Hn.current=fr;function Sa(gn){var Ln=gn;return Number.isNaN(Hn.current)||(Ln=Math.min(Ln,Hn.current)),Ln=Math.max(Ln,0),Ln}var Lr=Bn<=0,Ca=Bn>=fr,za=Ue(Lr,Ca);function Ma(gn){var Ln=gn;H(Ln)}function va(gn){var Ln=gn.currentTarget.scrollTop;Ln!==Bn&&H(Ln),Pt==null||Pt(gn)}var qa=He($n,Lr,Ca,function(gn){H(function(Ln){var kr=Ln+gn;return kr})}),gi=Object(C.a)(qa,2),Qi=gi[0],mi=gi[1];tt($n,na,function(gn,Ln){return za(gn,Ln)?!1:(Qi({preventDefault:function(){},deltaY:gn}),!0)}),lt(function(){function gn(Ln){$n&&Ln.preventDefault()}return na.current.addEventListener("wheel",Qi),na.current.addEventListener("DOMMouseScroll",mi),na.current.addEventListener("MozMousePixelScroll",gn),function(){na.current&&(na.current.removeEventListener("wheel",Qi),na.current.removeEventListener("DOMMouseScroll",mi),na.current.removeEventListener("MozMousePixelScroll",gn))}},[$n]);var Cr=we(na,gr,Nn,ft,zt,Yn,H,function(){var gn;(gn=un.current)===null||gn===void 0||gn.delayHidden()});A.useImperativeHandle(Ge,function(){return{scrollTo:Cr}}),lt(function(){if(Dt){var gn=gr.slice(ln,Xn+1);Dt(gn,gr)}},[ln,Xn,gr]);var Un=_e(gr,ln,Xn,Or,$e,Bt),Lt=null;return at&&(Lt=Object(m.a)(Object(O.a)({},Te?"height":"maxHeight",at),Xt),$n&&(Lt.overflowY="hidden",Wr&&(Lt.pointerEvents="none"))),A.createElement("div",Object(E.a)({style:Object(m.a)(Object(m.a)({},ut),{},{position:"relative"}),className:Wn},cn),A.createElement(At,{className:"".concat(bt,"-holder"),style:Lt,ref:na,onScroll:va},A.createElement(j,{prefixCls:bt,height:Gn,offset:Kn,onInnerResize:Yn,ref:jn,innerProps:Qt},Un)),$n&&A.createElement(ne,{ref:un,prefixCls:bt,scrollTop:Bn,height:at,scrollHeight:Gn,count:gr.length,direction:Ot,onScroll:Ma,onStartMove:function(){br(!0)},onStopMove:function(){br(!1)}}))}var qe=A.forwardRef(vt);qe.displayName="List";var Re=qe,Se=R.a=Re},"+qE3":function(ce,R,l){"use strict";var E=typeof Reflect=="object"?Reflect:null,m=E&&typeof E.apply=="function"?E.apply:function(ie,G,Q){return Function.prototype.apply.call(ie,G,Q)},O;E&&typeof E.ownKeys=="function"?O=E.ownKeys:Object.getOwnPropertySymbols?O=function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:O=function(ie){return Object.getOwnPropertyNames(ie)};function C(ee){console&&console.warn&&console.warn(ee)}var k=Number.isNaN||function(ie){return ie!==ie};function A(){A.init.call(this)}ce.exports=A,ce.exports.once=J,A.EventEmitter=A,A.prototype._events=void 0,A.prototype._eventsCount=0,A.prototype._maxListeners=void 0;var S=10;function y(ee){if(typeof ee!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof ee)}Object.defineProperty(A,"defaultMaxListeners",{enumerable:!0,get:function(){return S},set:function(ie){if(typeof ie!="number"||ie<0||k(ie))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+ie+".");S=ie}}),A.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},A.prototype.setMaxListeners=function(ie){if(typeof ie!="number"||ie<0||k(ie))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ie+".");return this._maxListeners=ie,this};function w(ee){return ee._maxListeners===void 0?A.defaultMaxListeners:ee._maxListeners}A.prototype.getMaxListeners=function(){return w(this)},A.prototype.emit=function(ie){for(var G=[],Q=1;Q<arguments.length;Q++)G.push(arguments[Q]);var W=ie==="error",ne=this._events;if(ne!==void 0)W=W&&ne.error===void 0;else if(!W)return!1;if(W){var te;if(G.length>0&&(te=G[0]),te instanceof Error)throw te;var _e=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw _e.context=te,_e}var he=ne[ie];if(he===void 0)return!1;if(typeof he=="function")m(he,this,G);else for(var oe=he.length,ge=F(he,oe),Q=0;Q<oe;++Q)m(ge[Q],this,G);return!0};function x(ee,ie,G,Q){var W,ne,te;if(y(G),ne=ee._events,ne===void 0?(ne=ee._events=Object.create(null),ee._eventsCount=0):(ne.newListener!==void 0&&(ee.emit("newListener",ie,G.listener?G.listener:G),ne=ee._events),te=ne[ie]),te===void 0)te=ne[ie]=G,++ee._eventsCount;else if(typeof te=="function"?te=ne[ie]=Q?[G,te]:[te,G]:Q?te.unshift(G):te.push(G),W=w(ee),W>0&&te.length>W&&!te.warned){te.warned=!0;var _e=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");_e.name="MaxListenersExceededWarning",_e.emitter=ee,_e.type=ie,_e.count=te.length,C(_e)}return ee}A.prototype.addListener=function(ie,G){return x(this,ie,G,!1)},A.prototype.on=A.prototype.addListener,A.prototype.prependListener=function(ie,G){return x(this,ie,G,!0)};function T(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function j(ee,ie,G){var Q={fired:!1,wrapFn:void 0,target:ee,type:ie,listener:G},W=T.bind(Q);return W.listener=G,Q.wrapFn=W,W}A.prototype.once=function(ie,G){return y(G),this.on(ie,j(this,ie,G)),this},A.prototype.prependOnceListener=function(ie,G){return y(G),this.prependListener(ie,j(this,ie,G)),this},A.prototype.removeListener=function(ie,G){var Q,W,ne,te,_e;if(y(G),W=this._events,W===void 0)return this;if(Q=W[ie],Q===void 0)return this;if(Q===G||Q.listener===G)--this._eventsCount==0?this._events=Object.create(null):(delete W[ie],W.removeListener&&this.emit("removeListener",ie,Q.listener||G));else if(typeof Q!="function"){for(ne=-1,te=Q.length-1;te>=0;te--)if(Q[te]===G||Q[te].listener===G){_e=Q[te].listener,ne=te;break}if(ne<0)return this;ne===0?Q.shift():B(Q,ne),Q.length===1&&(W[ie]=Q[0]),W.removeListener!==void 0&&this.emit("removeListener",ie,_e||G)}return this},A.prototype.off=A.prototype.removeListener,A.prototype.removeAllListeners=function(ie){var G,Q,W;if(Q=this._events,Q===void 0)return this;if(Q.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Q[ie]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete Q[ie]),this;if(arguments.length===0){var ne=Object.keys(Q),te;for(W=0;W<ne.length;++W)te=ne[W],te!=="removeListener"&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(G=Q[ie],typeof G=="function")this.removeListener(ie,G);else if(G!==void 0)for(W=G.length-1;W>=0;W--)this.removeListener(ie,G[W]);return this};function D(ee,ie,G){var Q=ee._events;if(Q===void 0)return[];var W=Q[ie];return W===void 0?[]:typeof W=="function"?G?[W.listener||W]:[W]:G?U(W):F(W,W.length)}A.prototype.listeners=function(ie){return D(this,ie,!0)},A.prototype.rawListeners=function(ie){return D(this,ie,!1)},A.listenerCount=function(ee,ie){return typeof ee.listenerCount=="function"?ee.listenerCount(ie):N.call(ee,ie)},A.prototype.listenerCount=N;function N(ee){var ie=this._events;if(ie!==void 0){var G=ie[ee];if(typeof G=="function")return 1;if(G!==void 0)return G.length}return 0}A.prototype.eventNames=function(){return this._eventsCount>0?O(this._events):[]};function F(ee,ie){for(var G=new Array(ie),Q=0;Q<ie;++Q)G[Q]=ee[Q];return G}function B(ee,ie){for(;ie+1<ee.length;ie++)ee[ie]=ee[ie+1];ee.pop()}function U(ee){for(var ie=new Array(ee.length),G=0;G<ie.length;++G)ie[G]=ee[G].listener||ee[G];return ie}function J(ee,ie){return new Promise(function(G,Q){function W(te){ee.removeListener(ie,ne),Q(te)}function ne(){typeof ee.removeListener=="function"&&ee.removeListener("error",W),G([].slice.call(arguments))}X(ee,ie,ne,{once:!0}),ie!=="error"&&$(ee,W,{once:!0})})}function $(ee,ie,G){typeof ee.on=="function"&&X(ee,"error",ie,G)}function X(ee,ie,G,Q){if(typeof ee.on=="function")Q.once?ee.once(ie,G):ee.on(ie,G);else if(typeof ee.addEventListener=="function")ee.addEventListener(ie,function W(ne){Q.once&&ee.removeEventListener(ie,W),G(ne)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof ee)}},"+rjg":function(ce,R,l){"use strict";var E=l("m0kY"),m=l("FCfD");ce.exports="".repeat||function(C){var k=String(m(this)),A="",S=E(C);if(S<0||S==Infinity)throw RangeError("Wrong number of repetitions");for(;S>0;(S>>>=1)&&(k+=k))S&1&&(A+=k);return A}},"+u1y":function(ce,R,l){"use strict";var E=l("tny8"),m=l("eNh0"),O=l("cTDu"),C=l("oa35"),k=l("YfKC").f;E&&!("lastIndex"in[])&&(k(Array.prototype,"lastIndex",{configurable:!0,get:function(){var S=O(this),y=C(S.length);return y==0?0:y-1}}),m("lastIndex"))},"+uh/":function(ce,R,l){"use strict";var E=l("k1fw"),m=l("+BJd"),O=l("mr32"),C=l("tJVT"),k=l("q1tI"),A=l("EFp3"),S=l("yfLh"),y=l("+L6B"),w=l("sRBo"),x=l("qVdP"),T=l("R9oj"),j=l("5NDa"),D=l("DjyN"),N=l("aJyg"),F=l("g9YV"),B=l("wCAj"),U=l("2/Rp"),J=l("kaz8"),$=l("DYRE"),X=l("zeV3"),ee=l("5Dmo"),ie=l("3S7+"),G=l("PpiC"),Q=l("RCxd"),W=l("zqxM"),ne=l.n(W),te=l("2qtc"),_e=l("kLXV"),he=l("qLMh"),oe=l("9og8"),ge=l("nRAU"),me=l("nKUr"),Z=function(Ue){var He=Ue.initialValues,Ne=Ue.visible,it=Ue.onCancel,Xe=Ue.onSubmit,ht=Object(k.useRef)(),lt=function(){var tt=Object(oe.a)(Object(he.a)().mark(function mt(){var xt;return Object(he.a)().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:return vt.next=2,ht.current.getFormValidateFields();case 2:xt=vt.sent,Xe==null||Xe(xt);case 4:case"end":return vt.stop()}},mt)}));return function(){return tt.apply(this,arguments)}}(),Et=function(){return Object(me.jsxs)(me.Fragment,{children:[Object(me.jsx)(U.a,{onClick:it,children:"\u53D6\u6D88"}),Object(me.jsx)(U.a,{type:"primary",onClick:function(){lt()},children:"\u5B8C\u6210"})]})};return Object(me.jsx)(me.Fragment,{children:Object(me.jsx)(_e.a,{width:600,destroyOnClose:!0,title:"\u7EF4\u5EA6\u503C\u8BBE\u7F6E",maskClosable:!1,open:Ne,footer:Et(),onCancel:it,children:Object(me.jsx)(ge.a,{initialValues:He,ref:ht})})})},xe=Z,Ee=l("VnvH"),Le=l("sjmD"),we=["knowledgeInfosMap","onKnowledgeInfosMapChange"],fe=function(Ue){var He=Ue.knowledgeInfosMap,Ne=Ue.onKnowledgeInfosMapChange,it=Object(G.a)(Ue,we),Xe=Object(k.useState)(!1),ht=Object(C.a)(Xe,2),lt=ht[0],Et=ht[1],tt=Object(k.useState)({}),mt=Object(C.a)(tt,2),xt=mt[0],Xt=mt[1],vt=Object(k.useState)(),qe=Object(C.a)(vt,2),Re=qe[0],Se=qe[1],Ve=function(gt,at){var ft=gt.bizName,Fe=gt.id,Te=Object(E.a)({},He),ut=Te[ft];ut?Te[ft]=Object(E.a)(Object(E.a)({},ut),at):Te[ft]=Object(E.a)({itemId:Fe,bizName:ft},at),Ne==null||Ne(Te)},Ge=[{dataIndex:"name",title:"\u540D\u79F0"},{dataIndex:"type",width:80,title:"\u7C7B\u578B",render:function(gt){return Object(me.jsx)(Ee.a,{type:gt})}},{dataIndex:"y",title:Object(me.jsxs)(X.b,{children:[Object(me.jsx)("span",{children:"\u7EF4\u5EA6\u503C\u53EF\u89C1"}),Object(me.jsx)(ie.a,{title:"\u52FE\u9009\u53EF\u89C1\u540E\uFF0C\u7EF4\u5EA6\u503C\u5C06\u5728\u641C\u7D22\u65F6\u53EF\u4EE5\u88AB\u8054\u60F3\u51FA\u6765",children:Object(me.jsx)(Q.a,{})})]}),width:120,render:function(gt,at){var ft,Fe=at.type,Te=at.bizName;return Fe===Le.b.DIMENSION?Object(me.jsx)(J.a,{checked:(ft=He[Te])===null||ft===void 0?void 0:ft.searchEnable,onChange:function(le){Ve(at,{searchEnable:le.target.checked})},onClick:function(le){le.stopPropagation()}}):Object(me.jsx)(me.Fragment,{})}},{title:"\u64CD\u4F5C",dataIndex:"x",render:function(gt,at){var ft,Fe=at.type,Te=at.bizName;return Fe===Le.b.DIMENSION?Object(me.jsx)(U.a,{style:{padding:0},type:"link",disabled:!((ft=He[Te])!==null&&ft!==void 0&&ft.searchEnable),onClick:function(le){var $e;Xt(at),Se(($e=He[Te])===null||$e===void 0?void 0:$e.knowledgeAdvancedConfig),Et(!0),le.stopPropagation()},children:"\u53EF\u89C1\u7EF4\u5EA6\u503C\u8BBE\u7F6E"},"editable"):Object(me.jsx)(me.Fragment,{})}}],_t=[{dataIndex:"name",title:"\u540D\u79F0"},{dataIndex:"type",title:"\u7C7B\u578B",render:function(gt){return Object(me.jsx)(Ee.a,{type:gt})}}];return Object(me.jsxs)(me.Fragment,{children:[Object(me.jsx)(N.a,Object(E.a)(Object(E.a)({},it),{},{children:function(gt){var at=gt.direction,ft=gt.filteredItems,Fe=gt.onItemSelectAll,Te=gt.onItemSelect,ut=gt.selectedKeys,le=at==="left"?_t:Ge,$e={onSelectAll:function(Tt,Ot){var Ut=Ot.map(function(Pt){var Dt=Pt.key;return Dt}),At=Tt?ne()(Ut,ut):ne()(ut,Ut);Fe(At,Tt)},onSelect:function(Tt,Ot){var Ut=Tt.key;Te(Ut,Ot)},selectedRowKeys:ut};return Object(me.jsx)(B.a,{rowSelection:$e,columns:le,dataSource:ft,size:"small",pagination:!1,scroll:{y:450},onRow:function(Tt){var Ot=Tt.key;return{onClick:function(){Te(Ot,!ut.includes(Ot))}}}})}})),Object(me.jsx)(xe,{visible:lt,initialValues:Re,onSubmit:function(gt){Ve(xt,{knowledgeAdvancedConfig:gt}),Et(!1)},onCancel:function(){Et(!1)}})]})},pe=fe,Ke=function(Ue){var He=Ue.knowledgeInfosMap,Ne=Ue.onKnowledgeInfosMapChange,it=Ue.sourceList,Xe=it===void 0?[]:it,ht=Ue.targetList,lt=ht===void 0?[]:ht,Et=Ue.titles,tt=Ue.transferProps,mt=tt===void 0?{}:tt,xt=Ue.onChange,Xt=Object(k.useState)([]),vt=Object(C.a)(Xt,2),qe=vt[0],Re=vt[1],Se=Object(k.useState)(lt),Ve=Object(C.a)(Se,2),Ge=Ve[0],_t=Ve[1];Object(k.useEffect)(function(){Re(Xe.map(function(gt){var at=gt.key,ft=gt.id,Fe=gt.name,Te=gt.bizName,ut=gt.transType;return{key:at,name:Fe,bizName:Te,id:ft,type:ut}}))},[Xe]),Object(k.useEffect)(function(){_t(lt)},[lt]);var bt=function(at){_t(at),xt==null||xt(at)};return Object(me.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:Object(me.jsx)(pe,Object(E.a)({knowledgeInfosMap:He,onKnowledgeInfosMapChange:Ne,dataSource:qe,showSearch:!0,titles:Et||["\u4E0D\u53EF\u89C1\u7EF4\u5EA6","\u53EF\u89C1\u7EF4\u5EA6"],listStyle:{width:500,height:600},filterOption:function(at,ft){var Fe=ft.name;return!!Fe.includes(at)},targetKeys:Ge,onChange:bt,render:function(at){return Object(me.jsxs)("div",{style:{display:"flex"},children:[Object(me.jsx)("span",{style:{flex:"1"},children:at.name}),Object(me.jsx)("span",{style:{flex:"0 1 40px"},children:at.type==="dimension"?Object(me.jsx)(O.a,{color:"blue",children:"\u7EF4\u5EA6"}):at.type==="metric"?Object(me.jsx)(O.a,{color:"orange",children:"\u6307\u6807"}):Object(me.jsx)(me.Fragment,{})})]})}},mt))})},Me=R.a=Ke},"+vfm":function(ce,R,l){var E=l("tSXo"),m=l("g1ZG");ce.exports=function(O,C,k){var A,S;return m&&typeof(A=C.constructor)=="function"&&A!==k&&E(S=A.prototype)&&S!==k.prototype&&m(O,S),O}},"+wdc":function(ce,R,l){"use strict";/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E,m,O,C;if(typeof performance=="object"&&typeof performance.now=="function"){var k=performance;R.unstable_now=function(){return k.now()}}else{var A=Date,S=A.now();R.unstable_now=function(){return A.now()-S}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var y=null,w=null,x=function we(){if(y!==null)try{var fe=R.unstable_now();y(!0,fe),y=null}catch(pe){throw setTimeout(we,0),pe}};E=function(fe){y!==null?setTimeout(E,0,fe):(y=fe,setTimeout(x,0))},m=function(fe,pe){w=setTimeout(fe,pe)},O=function(){clearTimeout(w)},R.unstable_shouldYield=function(){return!1},C=R.unstable_forceFrameRate=function(){}}else{var T=window.setTimeout,j=window.clearTimeout;if(typeof console!="undefined"){var D=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof D!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var N=!1,F=null,B=-1,U=5,J=0;R.unstable_shouldYield=function(){return R.unstable_now()>=J},C=function(){},R.unstable_forceFrameRate=function(we){0>we||125<we?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<we?Math.floor(1e3/we):5};var $=new MessageChannel,X=$.port2;$.port1.onmessage=function(){if(F!==null){var we=R.unstable_now();J=we+U;try{F(!0,we)?X.postMessage(null):(N=!1,F=null)}catch(fe){throw X.postMessage(null),fe}}else N=!1},E=function(fe){F=fe,N||(N=!0,X.postMessage(null))},m=function(fe,pe){B=T(function(){fe(R.unstable_now())},pe)},O=function(){j(B),B=-1}}function ee(we,fe){var pe=we.length;we.push(fe);e:for(;;){var Ke=pe-1>>>1,Me=we[Ke];if(Me!==void 0&&0<Q(Me,fe))we[Ke]=fe,we[pe]=Me,pe=Ke;else break e}}function ie(we){return we=we[0],we===void 0?null:we}function G(we){var fe=we[0];if(fe!==void 0){var pe=we.pop();if(pe!==fe){we[0]=pe;e:for(var Ke=0,Me=we.length;Ke<Me;){var ze=2*(Ke+1)-1,Ue=we[ze],He=ze+1,Ne=we[He];if(Ue!==void 0&&0>Q(Ue,pe))Ne!==void 0&&0>Q(Ne,Ue)?(we[Ke]=Ne,we[He]=pe,Ke=He):(we[Ke]=Ue,we[ze]=pe,Ke=ze);else if(Ne!==void 0&&0>Q(Ne,pe))we[Ke]=Ne,we[He]=pe,Ke=He;else break e}}return fe}return null}function Q(we,fe){var pe=we.sortIndex-fe.sortIndex;return pe!==0?pe:we.id-fe.id}var W=[],ne=[],te=1,_e=null,he=3,oe=!1,ge=!1,me=!1;function Z(we){for(var fe=ie(ne);fe!==null;){if(fe.callback===null)G(ne);else if(fe.startTime<=we)G(ne),fe.sortIndex=fe.expirationTime,ee(W,fe);else break;fe=ie(ne)}}function xe(we){if(me=!1,Z(we),!ge)if(ie(W)!==null)ge=!0,E(Ee);else{var fe=ie(ne);fe!==null&&m(xe,fe.startTime-we)}}function Ee(we,fe){ge=!1,me&&(me=!1,O()),oe=!0;var pe=he;try{for(Z(fe),_e=ie(W);_e!==null&&(!(_e.expirationTime>fe)||we&&!R.unstable_shouldYield());){var Ke=_e.callback;if(typeof Ke=="function"){_e.callback=null,he=_e.priorityLevel;var Me=Ke(_e.expirationTime<=fe);fe=R.unstable_now(),typeof Me=="function"?_e.callback=Me:_e===ie(W)&&G(W),Z(fe)}else G(W);_e=ie(W)}if(_e!==null)var ze=!0;else{var Ue=ie(ne);Ue!==null&&m(xe,Ue.startTime-fe),ze=!1}return ze}finally{_e=null,he=pe,oe=!1}}var Le=C;R.unstable_IdlePriority=5,R.unstable_ImmediatePriority=1,R.unstable_LowPriority=4,R.unstable_NormalPriority=3,R.unstable_Profiling=null,R.unstable_UserBlockingPriority=2,R.unstable_cancelCallback=function(we){we.callback=null},R.unstable_continueExecution=function(){ge||oe||(ge=!0,E(Ee))},R.unstable_getCurrentPriorityLevel=function(){return he},R.unstable_getFirstCallbackNode=function(){return ie(W)},R.unstable_next=function(we){switch(he){case 1:case 2:case 3:var fe=3;break;default:fe=he}var pe=he;he=fe;try{return we()}finally{he=pe}},R.unstable_pauseExecution=function(){},R.unstable_requestPaint=Le,R.unstable_runWithPriority=function(we,fe){switch(we){case 1:case 2:case 3:case 4:case 5:break;default:we=3}var pe=he;he=we;try{return fe()}finally{he=pe}},R.unstable_scheduleCallback=function(we,fe,pe){var Ke=R.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?Ke+pe:Ke):pe=Ke,we){case 1:var Me=-1;break;case 2:Me=250;break;case 5:Me=1073741823;break;case 4:Me=1e4;break;default:Me=5e3}return Me=pe+Me,we={id:te++,callback:fe,priorityLevel:we,startTime:pe,expirationTime:Me,sortIndex:-1},pe>Ke?(we.sortIndex=pe,ee(ne,we),ie(W)===null&&we===ie(ne)&&(me?O():me=!0,m(xe,pe-Ke))):(we.sortIndex=Me,ee(W,we),ge||oe||(ge=!0,E(Ee))),we},R.unstable_wrapCallback=function(we){var fe=he;return function(){var pe=he;he=fe;try{return we.apply(this,arguments)}finally{he=pe}}}},"+xQR":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"};R.default=E},"/0sN":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("PPXv"),k=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{keyOf:function(S){return k(C(O(this)),function(y,w){if(w===S)return k.stop(y)},void 0,!0,!0).result}})},"/3Kx":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m,O,C,k,A){for(var S=0,y=m.length;S<y;++S){var w=m[S](O,C,k,A);if(w)return w}}ce.exports=R.default},"/3zY":function(ce,R,l){var E=l("0qr0"),m=l("oa35"),O=l("bIKR"),C=function(k){return function(A,S,y){var w=E(A),x=m(w.length),T=O(y,x),j;if(k&&S!=S){for(;x>T;)if(j=w[T++],j!=j)return!0}else for(;x>T;T++)if((k||T in w)&&w[T]===S)return k||T||0;return!k&&-1}};ce.exports={includes:C(!0),indexOf:C(!1)}},"/4VF":function(ce,R){ce.exports="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMUFGNTkxMTlEQjhFMzExQjMxOUY0QThBNEI3RTdCNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGNjNCRkJEM0NDNTkxMUUzQTA0QUUzRDFFMDU4MjVFMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGNjNCRkJEMkNDNTkxMUUzQTA0QUUzRDFFMDU4MjVFMyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyMkFGNTkxMTlEQjhFMzExQjMxOUY0QThBNEI3RTdCNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyMUFGNTkxMTlEQjhFMzExQjMxOUY0QThBNEI3RTdCNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhW2ShQAAAJrSURBVHja7Jhrb5NQGMfPORzgMMoGoyus1dpG50y8xI/vp1ATE5PFxCZetszZbaUXSrn5OE0zDbTcDtsL/umLBk7hx3luf4rfvJ2i+ySC7pkaoAaoAWqA7lq01NMQZOuiqVEm4ShCjhs6i/DCCeD7HQDtt4SjLpNFvD6iMnJoiINO/OnMu5wGtYYMbvy8r9ymWQsOvuizninWB7Sv0SeHMsab1jy25fYurQNIIPhoG80fPe3KVMDcgWyDJkYqIT0FbOuUO1Bby3EPc5c/0I6c4yeqTLgDYZwv4bgDeX6cffEqiLkDTRZh9sXX84A7EEyG7It/TPgDTeZhxrEAe3k1C7kDgWBU+duSAxacfPdqGh2Q1x++uEGYygSnPn5dLldRTUCgmRu9++w6SQn++9TIzZX71dgPdxW9H7lghm6GCbnZuej8OvjpBKiEShk00HgajKcBqk6Np+YRMhhnhiroqrDDBIniFvv7VGClF14EuTX3IuhVs2XEHUiRCHhTS6eJUxM8f0sh8DlAaNCRgOz00j+78nN5/hxAD0ww8DIhOejByHYN8eTUczJ3gUxAYBGf9dieKhQIgSKT10Pl29gfnXtxXEVSixS/GijFaG7v7nGPVVBl4ItfPlJg88uXT2ePDi2pLNBxT14XUXk9bEvWNtu/6WZGSzA1Wm2bgbLY7GvJhmYztOTK+x7UR/9ALAIEIa8wWP8muATtNDeQrYuIj2DvrfSLk7SNLVnnWysuH1Dlufz/CyQjae/jyUCaIiDO0lMikAbE3ZakPTNJTLpKWnOx1/6Eo0wkGPPmQTlyqMC/TAUk0eQd+iXAAATbqtpVJOYRAAAAAElFTkSuQmCC"},"/71f":function(ce,R,l){"use strict";var E=l("rePB"),m=l("VTBJ"),O=l("Ff2n"),C=l("ODXe"),k=l("+J/V"),A=l("wEI+"),S=l("Tckk"),y=l("TSYQ"),w=l.n(y),x=l("q1tI"),T=l.n(x),j=l("KQm4"),D=l("BMrR"),N=l("kPKH"),F=l("BGR+"),B=l("nKUr"),U=["prefixCls","className","style","options","loading","multiple","bordered","onChange"],J=function(Me){var ze=Me.prefixCls,Ue="".concat(ze,"-loading-block");return Object(B.jsxs)("div",{className:"".concat(ze,"-loading-content"),children:[Object(B.jsx)(D.a,{gutter:8,children:Object(B.jsx)(N.a,{span:22,children:Object(B.jsx)("div",{className:Ue})})}),Object(B.jsxs)(D.a,{gutter:8,children:[Object(B.jsx)(N.a,{span:8,children:Object(B.jsx)("div",{className:Ue})}),Object(B.jsx)(N.a,{span:14,children:Object(B.jsx)("div",{className:Ue})})]}),Object(B.jsxs)(D.a,{gutter:8,children:[Object(B.jsx)(N.a,{span:6,children:Object(B.jsx)("div",{className:Ue})}),Object(B.jsx)(N.a,{span:16,children:Object(B.jsx)("div",{className:Ue})})]}),Object(B.jsxs)(D.a,{gutter:8,children:[Object(B.jsx)(N.a,{span:13,children:Object(B.jsx)("div",{className:Ue})}),Object(B.jsx)(N.a,{span:9,children:Object(B.jsx)("div",{className:Ue})})]}),Object(B.jsxs)(D.a,{gutter:8,children:[Object(B.jsx)(N.a,{span:4,children:Object(B.jsx)("div",{className:Ue})}),Object(B.jsx)(N.a,{span:3,children:Object(B.jsx)("div",{className:Ue})}),Object(B.jsx)(N.a,{span:14,children:Object(B.jsx)("div",{className:Ue})})]})]})},$=Object(x.createContext)(null),X=function(Me){var ze=Me.prefixCls,Ue=Me.className,He=Me.style,Ne=Me.options,it=Ne===void 0?[]:Ne,Xe=Me.loading,ht=Xe===void 0?!1:Xe,lt=Me.multiple,Et=lt===void 0?!1:lt,tt=Me.bordered,mt=tt===void 0?!0:tt,xt=Me.onChange,Xt=Object(O.a)(Me,U),vt=Object(x.useContext)(A.a.ConfigContext),qe=Object(x.useCallback)(function(){return it==null?void 0:it.map(function($e){return typeof $e=="string"?{title:$e,value:$e}:$e})},[it]),Re=vt.getPrefixCls("pro-checkcard",ze),Se="".concat(Re,"-group"),Ve=Object(F.a)(Xt,["children","defaultValue","value","disabled","size"]),Ge=Object(k.a)(Me.defaultValue,{value:Me.value,onChange:Me.onChange}),_t=Object(C.a)(Ge,2),bt=_t[0],gt=_t[1],at=Object(x.useRef)(new Map),ft=function(Qe){var Tt;(Tt=at.current)===null||Tt===void 0||Tt.set(Qe,!0)},Fe=function(Qe){var Tt;(Tt=at.current)===null||Tt===void 0||Tt.delete(Qe)},Te=function(Qe){if(!Et){var Tt;Tt=bt,Tt===Qe.value?Tt=void 0:Tt=Qe.value,gt==null||gt(Tt)}if(Et){var Ot,Ut,At=[],Pt=bt,Dt=Pt==null?void 0:Pt.includes(Qe.value);At=Object(j.a)(Pt||[]),Dt||At.push(Qe.value),Dt&&(At=At.filter(function($n){return $n!==Qe.value}));var Qt=qe(),cn=(Ot=At)===null||Ot===void 0||(Ut=Ot.filter(function($n){return at.current.has($n)}))===null||Ut===void 0?void 0:Ut.sort(function($n,hn){var _n=Qt.findIndex(function(Bn){return Bn.value===$n}),bn=Qt.findIndex(function(Bn){return Bn.value===hn});return _n-bn});gt(cn)}},ut=Object(x.useMemo)(function(){if(ht)return new Array(it.length||T.a.Children.toArray(Me.children).length||1).fill(0).map(function(Qe,Tt){return Object(B.jsx)(ge,{loading:!0},Tt)});if(it&&it.length>0){var $e=bt;return qe().map(function(Qe){var Tt;return Object(B.jsx)(ge,{disabled:Qe.disabled,size:(Tt=Qe.size)!==null&&Tt!==void 0?Tt:Me.size,value:Qe.value,checked:Et?$e==null?void 0:$e.includes(Qe.value):$e===Qe.value,onChange:Qe.onChange,title:Qe.title,avatar:Qe.avatar,description:Qe.description,cover:Qe.cover},Qe.value.toString())})}return Me.children},[qe,ht,Et,it,Me.children,Me.size,bt]),le=w()(Se,Ue);return Object(B.jsx)($.Provider,{value:{toggleOption:Te,bordered:mt,value:bt,disabled:Me.disabled,size:Me.size,loading:Me.loading,multiple:Me.multiple,registerValue:ft,cancelValue:Fe},children:Object(B.jsx)("div",Object(m.a)(Object(m.a)({className:le,style:He},Ve),{},{children:ut}))})},ee=X,ie=l("EoNY"),G=l("jJZc"),Q=function(Me){return{backgroundColor:Me.colorPrimaryBgHover,borderColor:Me.colorPrimary}},W=function(Me){return Object(E.a)({backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,cursor:"not-allowed"},Me.componentCls,{"&-description":{color:Me.colorTextDisabled},"&-title":{color:Me.colorTextDisabled},"&-avatar":{opacity:"0.25"}})},ne=new ie.a("card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),te=function(Me){var ze;return Object(E.a)({},Me.componentCls,(ze={position:"relative",display:"inline-block",width:"320px",marginInlineEnd:"16px",marginBlockEnd:"16px",color:Me.colorText,fontSize:Me.fontSize,lineHeight:Me.lineHeight,verticalAlign:"top",backgroundColor:Me.colorBgContainer,borderRadius:Me.borderRadius,cursor:"pointer",transition:"all 0.3s","&:last-child":{marginInlineEnd:0},"& + &":{marginInlineStart:"0 !important"},"&-bordered":{border:"".concat(Me.lineWidth,"px solid ").concat(Me.colorBorder)},"&-group":{display:"inline-block"}},Object(E.a)(ze,"".concat(Me.componentCls,"-loading"),{overflow:"hidden",userSelect:"none","&-content":Object(E.a)({paddingInline:Me.padding,paddingBlock:Me.paddingSM,p:{marginBlock:0,marginInline:0}},"".concat(Me.componentCls,"-loading-block"),{height:"14px",marginBlock:"4px",background:"linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",animationName:ne,animationDuration:"1.4s",animationTimingFunction:"ease",animationIterationCount:"infinite"})}),Object(E.a)(ze,"&:focus",Q(Me)),Object(E.a)(ze,"&-checked",Object(m.a)(Object(m.a)({},Q(Me)),{},{"&:after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"6px solid ".concat(Me.colorPrimary),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:"2px",content:"''"}})),Object(E.a)(ze,"&-disabled",W(Me)),Object(E.a)(ze,"&[disabled]",W(Me)),Object(E.a)(ze,"&-checked&-disabled",{"&:after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"6px solid ".concat(Me.colorTextDisabled),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:"2px",content:"''"}}),Object(E.a)(ze,"&-lg",{width:440}),Object(E.a)(ze,"&-sm",{width:212}),Object(E.a)(ze,"&-cover",{paddingInline:Me.paddingXXS,paddingBlock:Me.paddingXXS,img:{width:"100%",height:"100%",overflow:"hidden",borderRadius:Me.borderRadius}}),Object(E.a)(ze,"&-content",{display:"flex",paddingInline:Me.paddingSM,paddingBlock:Me.padding}),Object(E.a)(ze,"&-avatar-header",{display:"flex",alignItems:"center"}),Object(E.a)(ze,"&-avatar",{paddingInlineEnd:8}),Object(E.a)(ze,"&-detail",{overflow:"hidden",width:"100%","> div:not(:last-child)":{marginBlockEnd:4}}),Object(E.a)(ze,"&-header",{display:"flex",alignItems:"center",justifyContent:"space-between"}),Object(E.a)(ze,"&-title",{overflow:"hidden",color:Me.colorTextHeading,fontWeight:"500",fontSize:Me.fontSize,whiteSpace:"nowrap",textOverflow:"ellipsis"}),Object(E.a)(ze,"&-description",{color:Me.colorTextSecondary}),Object(E.a)(ze,"&:not(".concat(Me.componentCls,"-disabled)"),{"&:hover":{borderColor:Me.colorPrimary}}),ze))};function _e(Ke){return Object(G.d)("CheckCard",function(Me){var ze=Object(m.a)(Object(m.a)({},Me),{},{componentCls:".".concat(Ke)});return[te(ze)]})}var he=["prefixCls","className","avatar","title","description","cover","extra","style"],oe=function(Me){var ze,Ue=Object(k.a)(Me.defaultChecked||!1,{value:Me.checked,onChange:Me.onChange}),He=Object(C.a)(Ue,2),Ne=He[0],it=He[1],Xe=Object(x.useContext)($),ht=Object(x.useContext)(A.a.ConfigContext),lt=ht.getPrefixCls,Et=function(_n){var bn,Bn;Me==null||(bn=Me.onClick)===null||bn===void 0||bn.call(Me,_n);var Tn=!Ne;Xe==null||(Bn=Xe.toggleOption)===null||Bn===void 0||Bn.call(Xe,{value:Me.value}),it==null||it(Tn)},tt=function(_n){return _n==="large"?"lg":_n==="small"?"sm":""};Object(x.useEffect)(function(){var hn;return Xe==null||(hn=Xe.registerValue)===null||hn===void 0||hn.call(Xe,Me.value),function(){var _n;return Xe==null||(_n=Xe.cancelValue)===null||_n===void 0?void 0:_n.call(Xe,Me.value)}},[Me.value]);var mt=function(_n,bn){return Object(B.jsx)("div",{className:"".concat(_n,"-cover"),children:typeof bn=="string"?Object(B.jsx)("img",{src:bn,alt:"checkcard"}):bn})},xt=Me.prefixCls,Xt=Me.className,vt=Me.avatar,qe=Me.title,Re=Me.description,Se=Me.cover,Ve=Me.extra,Ge=Me.style,_t=Ge===void 0?{}:Ge,bt=Object(O.a)(Me,he),gt=Object(m.a)({},bt),at=lt("pro-checkcard",xt),ft=_e(at),Fe=ft.wrapSSR,Te=ft.hashId;gt.checked=Ne;var ut=!1;if(Xe){var le;gt.disabled=Me.disabled||Xe.disabled,gt.loading=Me.loading||Xe.loading,gt.bordered=Me.bordered||Xe.bordered,ut=Xe.multiple;var $e=Xe.multiple?(le=Xe.value)===null||le===void 0?void 0:le.includes(Me.value):Xe.value===Me.value;gt.checked=gt.loading?!1:$e,gt.size=Me.size||Xe.size}var Qe=gt.disabled,Tt=Qe===void 0?!1:Qe,Ot=gt.size,Ut=gt.loading,At=gt.bordered,Pt=At===void 0?!0:At,Dt=gt.checked,Qt=tt(Ot),cn=w()(at,Xt,Te,(ze={},Object(E.a)(ze,"".concat(at,"-loading"),Ut),Object(E.a)(ze,"".concat(at,"-").concat(Qt),Qt),Object(E.a)(ze,"".concat(at,"-checked"),Dt),Object(E.a)(ze,"".concat(at,"-multiple"),ut),Object(E.a)(ze,"".concat(at,"-disabled"),Tt),Object(E.a)(ze,"".concat(at,"-bordered"),Pt),ze)),$n=Object(x.useMemo)(function(){if(Ut)return Object(B.jsx)(J,{prefixCls:at||""});if(Se)return mt(at||"",Se);var hn=vt?Object(B.jsx)("div",{className:"".concat(at,"-avatar ").concat(Te).trim(),children:typeof vt=="string"?Object(B.jsx)(S.a,{size:48,shape:"square",src:vt}):vt}):null,_n=(qe!=null?qe:Ve)!=null&&Object(B.jsxs)("div",{className:"".concat(at,"-header ").concat(Te).trim(),children:[Object(B.jsx)("div",{className:"".concat(at,"-title ").concat(Te).trim(),children:qe}),Ve&&Object(B.jsx)("div",{className:"".concat(at,"-extra ").concat(Te).trim(),children:Ve})]}),bn=Re?Object(B.jsx)("div",{className:"".concat(at,"-description ").concat(Te).trim(),children:Re}):null,Bn=w()("".concat(at,"-content"),Te,Object(E.a)({},"".concat(at,"-avatar-header"),hn&&_n&&!bn));return Object(B.jsxs)("div",{className:Bn,children:[hn,_n||bn?Object(B.jsxs)("div",{className:"".concat(at,"-detail ").concat(Te).trim(),children:[_n,bn]}):null]})},[vt,Ut,Se,Re,Ve,Te,at,qe]);return Fe(Object(B.jsx)("div",{className:cn,style:_t,onClick:function(_n){!Ut&&!Tt&&Et(_n)},children:$n}))};oe.Group=ee;var ge=oe,me=l("9kvl"),Z=l("j4O4"),xe=l.n(Z),Ee=l("c+yx"),Le=l("L+An"),we=l.n(Le),fe=function(Me){var ze=Me.domainManger,Ue=Me.dispatch,He=Me.modelList,Ne=ze.selectDomainId,it=function(ht){var lt=ht.metricCnt,Et=ht.dimensionCnt;return Object(B.jsxs)("div",{className:we.a.overviewExtraContainer,children:[Object(B.jsx)("div",{className:we.a.extraWrapper,children:Object(B.jsxs)("div",{className:we.a.extraStatistic,children:[Object(B.jsx)("div",{className:we.a.extraTitle,children:"\u7EF4\u5EA6\u6570"}),Object(B.jsx)("div",{className:we.a.extraValue,children:Object(B.jsx)("span",{className:"ant-statistic-content-value",children:Object(Ee.b)(Et||0)})})]})}),Object(B.jsx)("div",{className:we.a.extraWrapper,children:Object(B.jsxs)("div",{className:we.a.extraStatistic,children:[Object(B.jsx)("div",{className:we.a.extraTitle,children:"\u6307\u6807\u6570"}),Object(B.jsx)("div",{className:we.a.extraValue,children:Object(B.jsx)("span",{className:"ant-statistic-content-value",children:Object(Ee.b)(lt||0)})})]})})]})};return Object(B.jsx)(B.Fragment,{children:Object(B.jsx)(ge.Group,{value:Ne,defaultValue:Ne,children:He&&He.map(function(Xe){return Object(B.jsx)(ge,{avatar:xe.a,title:Xe.name,value:Xe.id,description:it(Xe),onClick:function(){var lt=Xe.id,Et=Xe.name;Ue({type:"domainManger/setSelectDomain",selectDomainId:lt,selectDomainName:Et,domainData:Xe})}},Xe.id)})})})},pe=R.a=Object(me.c)(function(Ke){var Me=Ke.domainManger;return{domainManger:Me}})(fe)},"/8Wl":function(ce,R,l){var E=l("MMxC"),m=Math.ceil,O=Math.floor;E({target:"Math",stat:!0},{trunc:function(k){return(k>0?O:m)(k)}})},"/9aa":function(ce,R,l){var E=l("NykK"),m=l("ExA7"),O="[object Symbol]";function C(k){return typeof k=="symbol"||m(k)&&E(k)==O}ce.exports=C},"/FUP":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ReactCSS=R.loop=R.handleActive=R.handleHover=R.hover=void 0;var E=l("W3HW"),m=D(E),O=l("lreK"),C=D(O),k=l("KfSR"),A=D(k),S=l("VYtm"),y=D(S),w=l("XQvf"),x=D(w),T=l("B5Mt"),j=D(T);function D(F){return F&&F.__esModule?F:{default:F}}R.hover=y.default,R.handleHover=y.default,R.handleActive=x.default,R.loop=j.default;var N=R.ReactCSS=function(B){for(var U=arguments.length,J=Array(U>1?U-1:0),$=1;$<U;$++)J[$-1]=arguments[$];var X=(0,m.default)(J),ee=(0,C.default)(B,X);return(0,A.default)(ee)};R.default=N},"/LiH":function(ce,R,l){"use strict";var E={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},m={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},O=typeof Object.getOwnPropertySymbols=="function";ce.exports=function(k,A,S){if(typeof A!="string"){var y=Object.getOwnPropertyNames(A);O&&(y=y.concat(Object.getOwnPropertySymbols(A)));for(var w=0;w<y.length;++w)if(!E[y[w]]&&!m[y[w]]&&(!S||!S[y[w]]))try{k[y[w]]=A[y[w]]}catch(x){}}return k}},"/MKj":function(ce,R,l){"use strict";l.d(R,"a",function(){return N}),l.d(R,"b",function(){return O}),l.d(R,"c",function(){return bt});var E=l("q1tI"),m=l.n(E),O=m.a.createContext(null),C=O;function k(Ot){Ot()}var A=k,S=function(Ut){return A=Ut},y=function(){return A};function w(){var Ot=y(),Ut=null,At=null;return{clear:function(){Ut=null,At=null},notify:function(){Ot(function(){for(var Dt=Ut;Dt;)Dt.callback(),Dt=Dt.next})},get:function(){for(var Dt=[],Qt=Ut;Qt;)Dt.push(Qt),Qt=Qt.next;return Dt},subscribe:function(Dt){var Qt=!0,cn=At={callback:Dt,next:null,prev:At};return cn.prev?cn.prev.next=cn:Ut=cn,function(){!Qt||Ut===null||(Qt=!1,cn.next?cn.next.prev=cn.prev:At=cn.prev,cn.prev?cn.prev.next=cn.next:Ut=cn.next)}}}}var x={notify:function(){},get:function(){return[]}};function T(Ot,Ut){var At,Pt=x;function Dt(Bn){return hn(),Pt.subscribe(Bn)}function Qt(){Pt.notify()}function cn(){bn.onStateChange&&bn.onStateChange()}function $n(){return Boolean(At)}function hn(){At||(At=Ut?Ut.addNestedSub(cn):Ot.subscribe(cn),Pt=w())}function _n(){At&&(At(),At=void 0,Pt.clear(),Pt=x)}var bn={addNestedSub:Dt,notifyNestedSubs:Qt,handleChangeWrapper:cn,isSubscribed:$n,trySubscribe:hn,tryUnsubscribe:_n,getListeners:function(){return Pt}};return bn}var j=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?E.useLayoutEffect:E.useEffect;function D(Ot){var Ut=Ot.store,At=Ot.context,Pt=Ot.children,Dt=Object(E.useMemo)(function(){var $n=T(Ut);return{store:Ut,subscription:$n}},[Ut]),Qt=Object(E.useMemo)(function(){return Ut.getState()},[Ut]);j(function(){var $n=Dt.subscription;return $n.onStateChange=$n.notifyNestedSubs,$n.trySubscribe(),Qt!==Ut.getState()&&$n.notifyNestedSubs(),function(){$n.tryUnsubscribe(),$n.onStateChange=null}},[Dt,Qt]);var cn=At||O;return m.a.createElement(cn.Provider,{value:Dt},Pt)}var N=D,F=l("wx14"),B=l("zLVn"),U=l("dWyf"),J=l.n(U),$=l("0vxD"),X=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ee=["reactReduxForwardedRef"],ie=[],G=[null,null],Q=function(Ut){try{return JSON.stringify(Ut)}catch(At){return String(Ut)}};function W(Ot,Ut){var At=Ot[1];return[Ut.payload,At+1]}function ne(Ot,Ut,At){j(function(){return Ot.apply(void 0,Ut)},At)}function te(Ot,Ut,At,Pt,Dt,Qt,cn){Ot.current=Pt,Ut.current=Dt,At.current=!1,Qt.current&&(Qt.current=null,cn())}function _e(Ot,Ut,At,Pt,Dt,Qt,cn,$n,hn,_n){if(!!Ot){var bn=!1,Bn=null,Tn=function(){if(!bn){var Wr=Ut.getState(),br,Wn;try{br=Pt(Wr,Dt.current)}catch(gr){Wn=gr,Bn=gr}Wn||(Bn=null),br===Qt.current?cn.current||hn():(Qt.current=br,$n.current=br,cn.current=!0,_n({type:"STORE_UPDATED",payload:{error:Wn}}))}};At.onStateChange=Tn,At.trySubscribe(),Tn();var Tr=function(){if(bn=!0,At.tryUnsubscribe(),At.onStateChange=null,Bn)throw Bn};return Tr}}var he=function(){return[null,0]};function oe(Ot,Ut){Ut===void 0&&(Ut={});var At=Ut,Pt=At.getDisplayName,Dt=Pt===void 0?function(zt){return"ConnectAdvanced("+zt+")"}:Pt,Qt=At.methodName,cn=Qt===void 0?"connectAdvanced":Qt,$n=At.renderCountProp,hn=$n===void 0?void 0:$n,_n=At.shouldHandleStateChanges,bn=_n===void 0?!0:_n,Bn=At.storeKey,Tn=Bn===void 0?"store":Bn,Tr=At.withRef,Sr=Tr===void 0?!1:Tr,Wr=At.forwardRef,br=Wr===void 0?!1:Wr,Wn=At.context,gr=Wn===void 0?O:Wn,na=Object(B.a)(At,X);if(!1)var jn;var un=gr;return function(Bt){var H=Bt.displayName||Bt.name||"Component",ot=Dt(H),nt=Object(F.a)({},na,{getDisplayName:Dt,methodName:cn,renderCountProp:hn,shouldHandleStateChanges:bn,storeKey:Tn,displayName:ot,wrappedComponentName:H,WrappedComponent:Bt}),Ct=na.pure;function Wt(Yn){return Ot(Yn.dispatch,nt)}var kn=Ct?E.useMemo:function(Yn){return Yn()};function Sn(Yn){var Nn=Object(E.useMemo)(function(){var ea=Yn.reactReduxForwardedRef,Qr=Object(B.a)(Yn,ee);return[Yn.context,ea,Qr]},[Yn]),Zt=Nn[0],rr=Nn[1],Gn=Nn[2],ln=Object(E.useMemo)(function(){return Zt&&Zt.Consumer&&Object($.isContextConsumer)(m.a.createElement(Zt.Consumer,null))?Zt:un},[Zt,un]),Xn=Object(E.useContext)(ln),Kn=Boolean(Yn.store)&&Boolean(Yn.store.getState)&&Boolean(Yn.store.dispatch),fr=Boolean(Xn)&&Boolean(Xn.store),Hn=Kn?Yn.store:Xn.store,Sa=Object(E.useMemo)(function(){return Wt(Hn)},[Hn]),Lr=Object(E.useMemo)(function(){if(!bn)return G;var ea=T(Hn,Kn?null:Xn.subscription),Qr=ea.notifyNestedSubs.bind(ea);return[ea,Qr]},[Hn,Kn,Xn]),Ca=Lr[0],za=Lr[1],Ma=Object(E.useMemo)(function(){return Kn?Xn:Object(F.a)({},Xn,{subscription:Ca})},[Kn,Xn,Ca]),va=Object(E.useReducer)(W,ie,he),qa=va[0],gi=qa[0],Qi=va[1];if(gi&&gi.error)throw gi.error;var mi=Object(E.useRef)(),Cr=Object(E.useRef)(Gn),Un=Object(E.useRef)(),Lt=Object(E.useRef)(!1),gn=kn(function(){return Un.current&&Gn===Cr.current?Un.current:Sa(Hn.getState(),Gn)},[Hn,gi,Gn]);ne(te,[Cr,mi,Lt,Gn,gn,Un,za]),ne(_e,[bn,Hn,Ca,Sa,Cr,mi,Lt,Un,za,Qi],[Hn,Ca,Sa]);var Ln=Object(E.useMemo)(function(){return m.a.createElement(Bt,Object(F.a)({},gn,{ref:rr}))},[rr,Bt,gn]),kr=Object(E.useMemo)(function(){return bn?m.a.createElement(ln.Provider,{value:Ma},Ln):Ln},[ln,Ln,Ma]);return kr}var Zn=Ct?m.a.memo(Sn):Sn;if(Zn.WrappedComponent=Bt,Zn.displayName=Sn.displayName=ot,br){var Or=m.a.forwardRef(function(Nn,Zt){return m.a.createElement(Zn,Object(F.a)({},Nn,{reactReduxForwardedRef:Zt}))});return Or.displayName=ot,Or.WrappedComponent=Bt,J()(Or,Bt)}return J()(Zn,Bt)}}function ge(Ot,Ut){return Ot===Ut?Ot!==0||Ut!==0||1/Ot==1/Ut:Ot!==Ot&&Ut!==Ut}function me(Ot,Ut){if(ge(Ot,Ut))return!0;if(typeof Ot!="object"||Ot===null||typeof Ut!="object"||Ut===null)return!1;var At=Object.keys(Ot),Pt=Object.keys(Ut);if(At.length!==Pt.length)return!1;for(var Dt=0;Dt<At.length;Dt++)if(!Object.prototype.hasOwnProperty.call(Ut,At[Dt])||!ge(Ot[At[Dt]],Ut[At[Dt]]))return!1;return!0}function Z(Ot,Ut){var At={},Pt=function(cn){var $n=Ot[cn];typeof $n=="function"&&(At[cn]=function(){return Ut($n.apply(void 0,arguments))})};for(var Dt in Ot)Pt(Dt);return At}function xe(Ot){if(typeof Ot!="object"||Ot===null)return!1;var Ut=Object.getPrototypeOf(Ot);if(Ut===null)return!0;for(var At=Ut;Object.getPrototypeOf(At)!==null;)At=Object.getPrototypeOf(At);return Ut===At}function Ee(Ot){typeof console!="undefined"&&typeof console.error=="function"&&console.error(Ot);try{throw new Error(Ot)}catch(Ut){}}function Le(Ot,Ut,At){xe(Ot)||Ee(At+"() in "+Ut+" must return a plain object. Instead received "+Ot+".")}function we(Ot){return function(At,Pt){var Dt=Ot(At,Pt);function Qt(){return Dt}return Qt.dependsOnOwnProps=!1,Qt}}function fe(Ot){return Ot.dependsOnOwnProps!==null&&Ot.dependsOnOwnProps!==void 0?Boolean(Ot.dependsOnOwnProps):Ot.length!==1}function pe(Ot,Ut){return function(Pt,Dt){var Qt=Dt.displayName,cn=function(hn,_n){return cn.dependsOnOwnProps?cn.mapToProps(hn,_n):cn.mapToProps(hn)};return cn.dependsOnOwnProps=!0,cn.mapToProps=function(hn,_n){cn.mapToProps=Ot,cn.dependsOnOwnProps=fe(Ot);var bn=cn(hn,_n);return typeof bn=="function"&&(cn.mapToProps=bn,cn.dependsOnOwnProps=fe(bn),bn=cn(hn,_n)),bn},cn}}function Ke(Ot){return typeof Ot=="function"?pe(Ot,"mapDispatchToProps"):void 0}function Me(Ot){return Ot?void 0:we(function(Ut){return{dispatch:Ut}})}function ze(Ot){return Ot&&typeof Ot=="object"?we(function(Ut){return Z(Ot,Ut)}):void 0}var Ue=[Ke,Me,ze];function He(Ot){return typeof Ot=="function"?pe(Ot,"mapStateToProps"):void 0}function Ne(Ot){return Ot?void 0:we(function(){return{}})}var it=[He,Ne];function Xe(Ot,Ut,At){return Object(F.a)({},At,Ot,Ut)}function ht(Ot){return function(At,Pt){var Dt=Pt.displayName,Qt=Pt.pure,cn=Pt.areMergedPropsEqual,$n=!1,hn;return function(bn,Bn,Tn){var Tr=Ot(bn,Bn,Tn);return $n?(!Qt||!cn(Tr,hn))&&(hn=Tr):($n=!0,hn=Tr),hn}}}function lt(Ot){return typeof Ot=="function"?ht(Ot):void 0}function Et(Ot){return Ot?void 0:function(){return Xe}}var tt=[lt,Et];function mt(Ot,Ut,At){if(Ot)(Ut==="mapStateToProps"||Ut==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(Ot,"dependsOnOwnProps")||Ee("The selector for "+Ut+" of "+At+" did not specify a value for dependsOnOwnProps."));else throw new Error("Unexpected value for "+Ut+" in "+At+".")}function xt(Ot,Ut,At,Pt){mt(Ot,"mapStateToProps",Pt),mt(Ut,"mapDispatchToProps",Pt),mt(At,"mergeProps",Pt)}var Xt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function vt(Ot,Ut,At,Pt){return function(Qt,cn){return At(Ot(Qt,cn),Ut(Pt,cn),cn)}}function qe(Ot,Ut,At,Pt,Dt){var Qt=Dt.areStatesEqual,cn=Dt.areOwnPropsEqual,$n=Dt.areStatePropsEqual,hn=!1,_n,bn,Bn,Tn,Tr;function Sr(na,jn){return _n=na,bn=jn,Bn=Ot(_n,bn),Tn=Ut(Pt,bn),Tr=At(Bn,Tn,bn),hn=!0,Tr}function Wr(){return Bn=Ot(_n,bn),Ut.dependsOnOwnProps&&(Tn=Ut(Pt,bn)),Tr=At(Bn,Tn,bn),Tr}function br(){return Ot.dependsOnOwnProps&&(Bn=Ot(_n,bn)),Ut.dependsOnOwnProps&&(Tn=Ut(Pt,bn)),Tr=At(Bn,Tn,bn),Tr}function Wn(){var na=Ot(_n,bn),jn=!$n(na,Bn);return Bn=na,jn&&(Tr=At(Bn,Tn,bn)),Tr}function gr(na,jn){var un=!cn(jn,bn),zt=!Qt(na,_n,jn,bn);return _n=na,bn=jn,un&&zt?Wr():un?br():zt?Wn():Tr}return function(jn,un){return hn?gr(jn,un):Sr(jn,un)}}function Re(Ot,Ut){var At=Ut.initMapStateToProps,Pt=Ut.initMapDispatchToProps,Dt=Ut.initMergeProps,Qt=Object(B.a)(Ut,Xt),cn=At(Ot,Qt),$n=Pt(Ot,Qt),hn=Dt(Ot,Qt),_n=Qt.pure?qe:vt;return _n(cn,$n,hn,Ot,Qt)}var Se=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Ve(Ot,Ut,At){for(var Pt=Ut.length-1;Pt>=0;Pt--){var Dt=Ut[Pt](Ot);if(Dt)return Dt}return function(Qt,cn){throw new Error("Invalid value of type "+typeof Ot+" for "+At+" argument when connecting component "+cn.wrappedComponentName+".")}}function Ge(Ot,Ut){return Ot===Ut}function _t(Ot){var Ut=Ot===void 0?{}:Ot,At=Ut.connectHOC,Pt=At===void 0?oe:At,Dt=Ut.mapStateToPropsFactories,Qt=Dt===void 0?it:Dt,cn=Ut.mapDispatchToPropsFactories,$n=cn===void 0?Ue:cn,hn=Ut.mergePropsFactories,_n=hn===void 0?tt:hn,bn=Ut.selectorFactory,Bn=bn===void 0?Re:bn;return function(Tr,Sr,Wr,br){br===void 0&&(br={});var Wn=br,gr=Wn.pure,na=gr===void 0?!0:gr,jn=Wn.areStatesEqual,un=jn===void 0?Ge:jn,zt=Wn.areOwnPropsEqual,Bt=zt===void 0?me:zt,H=Wn.areStatePropsEqual,ot=H===void 0?me:H,nt=Wn.areMergedPropsEqual,Ct=nt===void 0?me:nt,Wt=Object(B.a)(Wn,Se),kn=Ve(Tr,Qt,"mapStateToProps"),Sn=Ve(Sr,$n,"mapDispatchToProps"),Zn=Ve(Wr,_n,"mergeProps");return Pt(Bn,Object(F.a)({methodName:"connect",getDisplayName:function(Yn){return"Connect("+Yn+")"},shouldHandleStateChanges:Boolean(Tr),initMapStateToProps:kn,initMapDispatchToProps:Sn,initMergeProps:Zn,pure:na,areStatesEqual:un,areOwnPropsEqual:Bt,areStatePropsEqual:ot,areMergedPropsEqual:Ct},Wt))}}var bt=_t();function gt(){var Ot=Object(E.useContext)(O);return Ot}function at(Ot){Ot===void 0&&(Ot=O);var Ut=Ot===O?gt:function(){return Object(E.useContext)(Ot)};return function(){var Pt=Ut(),Dt=Pt.store;return Dt}}var ft=at();function Fe(Ot){Ot===void 0&&(Ot=O);var Ut=Ot===O?ft:at(Ot);return function(){var Pt=Ut();return Pt.dispatch}}var Te=Fe(),ut=function(Ut,At){return Ut===At};function le(Ot,Ut,At,Pt){var Dt=Object(E.useReducer)(function(Sr){return Sr+1},0),Qt=Dt[1],cn=Object(E.useMemo)(function(){return T(At,Pt)},[At,Pt]),$n=Object(E.useRef)(),hn=Object(E.useRef)(),_n=Object(E.useRef)(),bn=Object(E.useRef)(),Bn=At.getState(),Tn;try{if(Ot!==hn.current||Bn!==_n.current||$n.current){var Tr=Ot(Bn);bn.current===void 0||!Ut(Tr,bn.current)?Tn=Tr:Tn=bn.current}else Tn=bn.current}catch(Sr){throw $n.current&&(Sr.message+=`
The error may be correlated with this previous error:
`+$n.current.stack+`
`),Sr}return j(function(){hn.current=Ot,_n.current=Bn,bn.current=Tn,$n.current=void 0}),j(function(){function Sr(){try{var Wr=At.getState();if(Wr===_n.current)return;var br=hn.current(Wr);if(Ut(br,bn.current))return;bn.current=br,_n.current=Wr}catch(Wn){$n.current=Wn}Qt()}return cn.onStateChange=Sr,cn.trySubscribe(),Sr(),function(){return cn.tryUnsubscribe()}},[At,cn]),Tn}function $e(Ot){Ot===void 0&&(Ot=O);var Ut=Ot===O?gt:function(){return Object(E.useContext)(Ot)};return function(Pt,Dt){Dt===void 0&&(Dt=ut);var Qt=Ut(),cn=Qt.store,$n=Qt.subscription,hn=le(Pt,Dt,cn,$n);return Object(E.useDebugValue)(hn),hn}}var Qe=$e(),Tt=l("i8i4");S(Tt.unstable_batchedUpdates)},"/MOW":function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("UF9F")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="CloseCircleFilled";var x=C.forwardRef(w);R.default=x},"/MfK":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="DeleteOutlined";var S=R.a=m.forwardRef(A)},"/NY7":function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.changeConfirmLocale=k,R.getConfirmLocale=A;var m=E(l("pVnL")),O=E(l("PE/4")),C=(0,m.default)({},O.default.Modal);function k(S){S?C=(0,m.default)((0,m.default)({},C),S):C=(0,m.default)({},O.default.Modal)}function A(){return C}},"/R3g":function(ce,R,l){var E=l("MMxC"),m=l("zTPR"),O=l("ls1J"),C=l("f1E4"),k=l("Acmb"),A=l("IuhT"),S=O.keys,y=O.toKey,w=function(T){var j=[];return A(T,j.push,j),j},x=function(T,j){var D=S(T,j),N=k(T);if(N===null)return D;var F=x(N,j);return F.length?D.length?w(new m(D.concat(F))):F:D};E({target:"Reflect",stat:!0},{getMetadataKeys:function(j){var D=arguments.length<2?void 0:y(arguments[1]);return x(C(j),D)}})},"/dTS":function(ce,R,l){var E=l("f1E4"),m=l("cT1L"),O=l("2kyd"),C=O("species");ce.exports=function(k,A){var S=E(k).constructor,y;return S===void 0||(y=E(S)[C])==null?A:m(y)}},"/eD2":function(ce,R,l){"use strict";var E=l("tJVT"),m=l("q1tI"),O=l.n(m),C=l("IehP"),k=l("D2BO"),A=l.n(k),S=l("nKUr"),y=l.n(S),w=function(T){var j=T.children,D=T.maxRef,N=T.top,F=N===void 0?"50px":N,B=T.isFullScreen,U=T.triggerBackToNormal,J=Object(m.useState)(A.a.normalState),$=Object(E.a)(J,2),X=$[0],ee=$[1],ie=function(){ee(A.a.maxState)},G=function(){ee(A.a.normalState)},Q=function(){typeof U=="function"&&U()};return Object(m.useEffect)(function(){B?ie():G()},[B]),Object(m.useImperativeHandle)(D,function(){return{changeToMax:ie,changeToNormal:G}}),Object(S.jsx)("div",{className:X,style:X===A.a.maxState?{paddingTop:F}:{},children:Object(S.jsxs)("div",{className:A.a.innerWrap,style:X===A.a.maxState?{top:F}:{height:"100%"},children:[Object(S.jsx)("div",{className:A.a.backNormal,children:Object(S.jsx)(C.a,{className:A.a.fullscreenExitIcon,title:"\u9000\u51FA\u5168\u5C4F",onClick:Q})}),j]})})};R.a=w},"/ezw":function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("U8pU"),C=l("TSYQ"),k=l.n(C),A=l("q1tI"),S=l("H84U"),y=l("Ya77"),w=function(Me){var ze,Ue,He=Me.prefixCls,Ne=Me.className,it=Me.style,Xe=Me.size,ht=Me.shape,lt=k()((ze={},Object(E.a)(ze,"".concat(He,"-lg"),Xe==="large"),Object(E.a)(ze,"".concat(He,"-sm"),Xe==="small"),ze)),Et=k()((Ue={},Object(E.a)(Ue,"".concat(He,"-circle"),ht==="circle"),Object(E.a)(Ue,"".concat(He,"-square"),ht==="square"),Object(E.a)(Ue,"".concat(He,"-round"),ht==="round"),Ue)),tt=A.useMemo(function(){return typeof Xe=="number"?{width:Xe,height:Xe,lineHeight:"".concat(Xe,"px")}:{}},[Xe]);return A.createElement("span",{className:k()(He,lt,Et,Ne),style:Object(m.a)(Object(m.a)({},tt),it)})},x=w,T=function(Me){var ze=Me.prefixCls,Ue=Me.className,He=Me.active,Ne=Me.shape,it=Ne===void 0?"circle":Ne,Xe=Me.size,ht=Xe===void 0?"default":Xe,lt=A.useContext(S.b),Et=lt.getPrefixCls,tt=Et("skeleton",ze),mt=Object(y.a)(Me,["prefixCls","className"]),xt=k()(tt,"".concat(tt,"-element"),Object(E.a)({},"".concat(tt,"-active"),He),Ue);return A.createElement("div",{className:xt},A.createElement(x,Object(m.a)({prefixCls:"".concat(tt,"-avatar"),shape:it,size:ht},mt)))},j=T,D=function(Me){var ze,Ue=Me.prefixCls,He=Me.className,Ne=Me.active,it=Me.block,Xe=it===void 0?!1:it,ht=Me.size,lt=ht===void 0?"default":ht,Et=A.useContext(S.b),tt=Et.getPrefixCls,mt=tt("skeleton",Ue),xt=Object(y.a)(Me,["prefixCls"]),Xt=k()(mt,"".concat(mt,"-element"),(ze={},Object(E.a)(ze,"".concat(mt,"-active"),Ne),Object(E.a)(ze,"".concat(mt,"-block"),Xe),ze),He);return A.createElement("div",{className:Xt},A.createElement(x,Object(m.a)({prefixCls:"".concat(mt,"-button"),size:lt},xt)))},N=D,F=l("VTBJ"),B={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"},U=B,J=l("6VBw"),$=function(Me,ze){return A.createElement(J.a,Object(F.a)(Object(F.a)({},Me),{},{ref:ze,icon:U}))};$.displayName="DotChartOutlined";var X=A.forwardRef($),ee=function(Me){var ze=Me.prefixCls,Ue=Me.className,He=Me.style,Ne=Me.active,it=Me.children,Xe=A.useContext(S.b),ht=Xe.getPrefixCls,lt=ht("skeleton",ze),Et=k()(lt,"".concat(lt,"-element"),Object(E.a)({},"".concat(lt,"-active"),Ne),Ue),tt=it!=null?it:A.createElement(X,null);return A.createElement("div",{className:Et},A.createElement("div",{className:k()("".concat(lt,"-image"),Ue),style:He},tt))},ie=ee,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",Q=function(Me){var ze=Me.prefixCls,Ue=Me.className,He=Me.style,Ne=Me.active,it=A.useContext(S.b),Xe=it.getPrefixCls,ht=Xe("skeleton",ze),lt=k()(ht,"".concat(ht,"-element"),Object(E.a)({},"".concat(ht,"-active"),Ne),Ue);return A.createElement("div",{className:lt},A.createElement("div",{className:k()("".concat(ht,"-image"),Ue),style:He},A.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(ht,"-image-svg")},A.createElement("path",{d:G,className:"".concat(ht,"-image-path")}))))},W=Q,ne=function(Me){var ze,Ue=Me.prefixCls,He=Me.className,Ne=Me.active,it=Me.block,Xe=Me.size,ht=Xe===void 0?"default":Xe,lt=A.useContext(S.b),Et=lt.getPrefixCls,tt=Et("skeleton",Ue),mt=Object(y.a)(Me,["prefixCls"]),xt=k()(tt,"".concat(tt,"-element"),(ze={},Object(E.a)(ze,"".concat(tt,"-active"),Ne),Object(E.a)(ze,"".concat(tt,"-block"),it),ze),He);return A.createElement("div",{className:xt},A.createElement(x,Object(m.a)({prefixCls:"".concat(tt,"-input"),size:ht},mt)))},te=ne,_e=l("KQm4"),he=function(Me){var ze=function(lt){var Et=Me.width,tt=Me.rows,mt=tt===void 0?2:tt;if(Array.isArray(Et))return Et[lt];if(mt-1===lt)return Et},Ue=Me.prefixCls,He=Me.className,Ne=Me.style,it=Me.rows,Xe=Object(_e.a)(Array(it)).map(function(ht,lt){return A.createElement("li",{key:lt,style:{width:ze(lt)}})});return A.createElement("ul",{className:k()(Ue,He),style:Ne},Xe)},oe=he,ge=function(Me){var ze=Me.prefixCls,Ue=Me.className,He=Me.width,Ne=Me.style;return A.createElement("h3",{className:k()(ze,Ue),style:Object(m.a)({width:He},Ne)})},me=ge;function Z(Ke){return Ke&&Object(O.a)(Ke)==="object"?Ke:{}}function xe(Ke,Me){return Ke&&!Me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ee(Ke,Me){return!Ke&&Me?{width:"38%"}:Ke&&Me?{width:"50%"}:{}}function Le(Ke,Me){var ze={};return(!Ke||!Me)&&(ze.width="61%"),!Ke&&Me?ze.rows=3:ze.rows=2,ze}var we=function(Me){var ze=Me.prefixCls,Ue=Me.loading,He=Me.className,Ne=Me.style,it=Me.children,Xe=Me.avatar,ht=Xe===void 0?!1:Xe,lt=Me.title,Et=lt===void 0?!0:lt,tt=Me.paragraph,mt=tt===void 0?!0:tt,xt=Me.active,Xt=Me.round,vt=A.useContext(S.b),qe=vt.getPrefixCls,Re=vt.direction,Se=qe("skeleton",ze);if(Ue||!("loading"in Me)){var Ve,Ge=!!ht,_t=!!Et,bt=!!mt,gt;if(Ge){var at=Object(m.a)(Object(m.a)({prefixCls:"".concat(Se,"-avatar")},xe(_t,bt)),Z(ht));gt=A.createElement("div",{className:"".concat(Se,"-header")},A.createElement(x,Object(m.a)({},at)))}var ft;if(_t||bt){var Fe;if(_t){var Te=Object(m.a)(Object(m.a)({prefixCls:"".concat(Se,"-title")},Ee(Ge,bt)),Z(Et));Fe=A.createElement(me,Object(m.a)({},Te))}var ut;if(bt){var le=Object(m.a)(Object(m.a)({prefixCls:"".concat(Se,"-paragraph")},Le(Ge,_t)),Z(mt));ut=A.createElement(oe,Object(m.a)({},le))}ft=A.createElement("div",{className:"".concat(Se,"-content")},Fe,ut)}var $e=k()(Se,(Ve={},Object(E.a)(Ve,"".concat(Se,"-with-avatar"),Ge),Object(E.a)(Ve,"".concat(Se,"-active"),xt),Object(E.a)(Ve,"".concat(Se,"-rtl"),Re==="rtl"),Object(E.a)(Ve,"".concat(Se,"-round"),Xt),Ve),He);return A.createElement("div",{className:$e,style:Ne},gt,ft)}return typeof it!="undefined"?it:null};we.Button=N,we.Avatar=j,we.Input=te,we.Image=W,we.Node=ie;var fe=we,pe=R.a=fe},"/gva":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("ukPv"),O=l("kkxG"),C=l("NMFW"),k=l("a5mf"),A=l("IuhT"),S=l("igoe"),y=l("tSXo"),w=l("MVys"),x=l("GPrf"),T=l("kiNa"),j=l("+vfm");ce.exports=function(D,N,F){var B=D.indexOf("Map")!==-1,U=D.indexOf("Weak")!==-1,J=B?"set":"add",$=m[D],X=$&&$.prototype,ee=$,ie={},G=function(he){var oe=X[he];C(X,he,he=="add"?function(me){return oe.call(this,me===0?0:me),this}:he=="delete"?function(ge){return U&&!y(ge)?!1:oe.call(this,ge===0?0:ge)}:he=="get"?function(me){return U&&!y(me)?void 0:oe.call(this,me===0?0:me)}:he=="has"?function(me){return U&&!y(me)?!1:oe.call(this,me===0?0:me)}:function(me,Z){return oe.call(this,me===0?0:me,Z),this})};if(O(D,typeof $!="function"||!(U||X.forEach&&!w(function(){new $().entries().next()}))))ee=F.getConstructor(N,D,B,J),k.REQUIRED=!0;else if(O(D,!0)){var Q=new ee,W=Q[J](U?{}:-0,1)!=Q,ne=w(function(){Q.has(1)}),te=x(function(he){new $(he)}),_e=!U&&w(function(){for(var he=new $,oe=5;oe--;)he[J](oe,oe);return!he.has(-0)});te||(ee=N(function(he,oe){S(he,ee,D);var ge=j(new $,he,ee);return oe!=null&&A(oe,ge[J],ge,B),ge}),ee.prototype=X,X.constructor=ee),(ne||_e)&&(G("delete"),G("has"),B&&G("get")),(_e||W)&&G(J),U&&X.clear&&delete X.clear}return ie[D]=ee,E({global:!0,forced:ee!=$},ie),T(ee,D),U||F.setStrong(ee,D,B),ee}},"/kpp":function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("U8pU"),C=l("TSYQ"),k=l.n(C),A=l("q1tI"),S=l.n(A),y=l("H84U"),w=l("o/2+"),x=function(N,F){var B={};for(var U in N)Object.prototype.hasOwnProperty.call(N,U)&&F.indexOf(U)<0&&(B[U]=N[U]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,U=Object.getOwnPropertySymbols(N);J<U.length;J++)F.indexOf(U[J])<0&&Object.prototype.propertyIsEnumerable.call(N,U[J])&&(B[U[J]]=N[U[J]]);return B};function T(N){return typeof N=="number"?"".concat(N," ").concat(N," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(N)?"0 0 ".concat(N):N}var j=["xs","sm","md","lg","xl","xxl"],D=A.forwardRef(function(N,F){var B,U=A.useContext(y.b),J=U.getPrefixCls,$=U.direction,X=A.useContext(w.a),ee=X.gutter,ie=X.wrap,G=X.supportFlexGap,Q=N.prefixCls,W=N.span,ne=N.order,te=N.offset,_e=N.push,he=N.pull,oe=N.className,ge=N.children,me=N.flex,Z=N.style,xe=x(N,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Ee=J("col",Q),Le={};j.forEach(function(Me){var ze,Ue={},He=N[Me];typeof He=="number"?Ue.span=He:Object(O.a)(He)==="object"&&(Ue=He||{}),delete xe[Me],Le=Object(m.a)(Object(m.a)({},Le),(ze={},Object(E.a)(ze,"".concat(Ee,"-").concat(Me,"-").concat(Ue.span),Ue.span!==void 0),Object(E.a)(ze,"".concat(Ee,"-").concat(Me,"-order-").concat(Ue.order),Ue.order||Ue.order===0),Object(E.a)(ze,"".concat(Ee,"-").concat(Me,"-offset-").concat(Ue.offset),Ue.offset||Ue.offset===0),Object(E.a)(ze,"".concat(Ee,"-").concat(Me,"-push-").concat(Ue.push),Ue.push||Ue.push===0),Object(E.a)(ze,"".concat(Ee,"-").concat(Me,"-pull-").concat(Ue.pull),Ue.pull||Ue.pull===0),Object(E.a)(ze,"".concat(Ee,"-rtl"),$==="rtl"),ze))});var we=k()(Ee,(B={},Object(E.a)(B,"".concat(Ee,"-").concat(W),W!==void 0),Object(E.a)(B,"".concat(Ee,"-order-").concat(ne),ne),Object(E.a)(B,"".concat(Ee,"-offset-").concat(te),te),Object(E.a)(B,"".concat(Ee,"-push-").concat(_e),_e),Object(E.a)(B,"".concat(Ee,"-pull-").concat(he),he),B),oe,Le),fe={};if(ee&&ee[0]>0){var pe=ee[0]/2;fe.paddingLeft=pe,fe.paddingRight=pe}if(ee&&ee[1]>0&&!G){var Ke=ee[1]/2;fe.paddingTop=Ke,fe.paddingBottom=Ke}return me&&(fe.flex=T(me),ie===!1&&!fe.minWidth&&(fe.minWidth=0)),A.createElement("div",Object(m.a)({},xe,{style:Object(m.a)(Object(m.a)({},fe),Z),className:we,ref:F}),ge)});R.a=D},"/mKc":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("7BAe"),S=l("/dTS"),y=l("jbR1"),w=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{filter:function(T){var j=C(this),D=y(j),N=A(T,arguments.length>1?arguments[1]:void 0,3),F=new(S(j,O("Set"))),B=k(F.add);return w(D,function(U){N(U,U,j)&&B.call(F,U)},void 0,!1,!0),F}})},"/qDX":function(ce,R,l){},"/qSt":function(ce,R,l){"use strict";var E=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=E(l("QILm")),O=E(l("3tO9")),C=l("vmBS"),k=["icon","className","onClick","style","primaryColor","secondaryColor"],A={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function S(T){var j=T.primaryColor,D=T.secondaryColor;A.primaryColor=j,A.secondaryColor=D||(0,C.getSecondaryColor)(j),A.calculated=!!D}function y(){return(0,O.default)({},A)}var w=function(j){var D=j.icon,N=j.className,F=j.onClick,B=j.style,U=j.primaryColor,J=j.secondaryColor,$=(0,m.default)(j,k),X=A;if(U&&(X={primaryColor:U,secondaryColor:J||(0,C.getSecondaryColor)(U)}),(0,C.useInsertStyles)(),(0,C.warning)((0,C.isIconDefinition)(D),"icon should be icon definiton, but got ".concat(D)),!(0,C.isIconDefinition)(D))return null;var ee=D;return ee&&typeof ee.icon=="function"&&(ee=(0,O.default)((0,O.default)({},ee),{},{icon:ee.icon(X.primaryColor,X.secondaryColor)})),(0,C.generate)(ee.icon,"svg-".concat(ee.name),(0,O.default)({className:N,onClick:F,style:B,"data-icon":ee.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},$))};w.displayName="IconReact",w.getTwoToneColors=y,w.setTwoToneColors=S;var x=w;R.default=x},"/vMi":function(ce,R,l){"use strict";var E=l("/gva"),m=l("uz3g");E("WeakSet",function(O){return function(){return O(this,arguments.length?arguments[0]:void 0)}},m)},"/wGt":function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("ODXe"),C=l("4i/N"),k=l("TSYQ"),A=l.n(k),S=l("VTBJ"),y=l("q1tI"),w=l("bTyn");function x(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var T=x()?y.useLayoutEffect:y.useEffect,j=function(Ve,Ge){var _t=y.useRef(!0);T(function(){return Ve(_t.current)},Ge),T(function(){return _t.current=!1,function(){_t.current=!0}},[])},D=function(Ve,Ge){j(function(_t){if(!_t)return Ve()},Ge)},N=j,F=l("8XRh"),B={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ve){var Ge=Ve.keyCode;if(Ve.altKey&&!Ve.ctrlKey||Ve.metaKey||Ge>=B.F1&&Ge<=B.F12)return!1;switch(Ge){case B.ALT:case B.CAPS_LOCK:case B.CONTEXT_MENU:case B.CTRL:case B.DOWN:case B.END:case B.ESC:case B.HOME:case B.INSERT:case B.LEFT:case B.MAC_FF_META:case B.META:case B.NUMLOCK:case B.NUM_CENTER:case B.PAGE_DOWN:case B.PAGE_UP:case B.PAUSE:case B.PRINT_SCREEN:case B.RIGHT:case B.SHIFT:case B.UP:case B.WIN_KEY:case B.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ve){if(Ve>=B.ZERO&&Ve<=B.NINE||Ve>=B.NUM_ZERO&&Ve<=B.NUM_MULTIPLY||Ve>=B.A&&Ve<=B.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ve===0)return!0;switch(Ve){case B.SPACE:case B.QUESTION_MARK:case B.NUM_PLUS:case B.NUM_MINUS:case B.NUM_PERIOD:case B.NUM_DIVISION:case B.SEMICOLON:case B.DASH:case B.EQUALS:case B.COMMA:case B.PERIOD:case B.SLASH:case B.APOSTROPHE:case B.SINGLE_QUOTE:case B.OPEN_SQUARE_BRACKET:case B.BACKSLASH:case B.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},U=B,J=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,$=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,X="".concat(J," ").concat($).split(/[\s\n]+/),ee="aria-",ie="data-";function G(Se,Ve){return Se.indexOf(Ve)===0}function Q(Se){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ge;Ve===!1?Ge={aria:!0,data:!0,attr:!0}:Ve===!0?Ge={aria:!0}:Ge=Object(S.a)({},Ve);var _t={};return Object.keys(Se).forEach(function(bt){(Ge.aria&&(bt==="role"||G(bt,ee))||Ge.data&&G(bt,ie)||Ge.attr&&X.includes(bt))&&(_t[bt]=Se[bt])}),_t}var W=y.createContext(null),ne=W,te=function(Ve){var Ge=Ve.prefixCls,_t=Ve.className,bt=Ve.style,gt=Ve.children,at=Ve.containerRef,ft=Ve.id,Fe=Ve.onMouseEnter,Te=Ve.onMouseOver,ut=Ve.onMouseLeave,le=Ve.onClick,$e=Ve.onKeyDown,Qe=Ve.onKeyUp,Tt={onMouseEnter:Fe,onMouseOver:Te,onMouseLeave:ut,onClick:le,onKeyDown:$e,onKeyUp:Qe};return y.createElement(y.Fragment,null,y.createElement("div",Object(E.a)({id:ft,className:A()("".concat(Ge,"-content"),_t),style:Object(S.a)({},bt),"aria-modal":"true",role:"dialog",ref:at},Tt),gt))},_e=te,he={},oe=[],ge=function(Ve){oe.push(Ve)};function me(Se,Ve){if(!1)var Ge}function Z(Se,Ve){if(!1)var Ge}function xe(){he={}}function Ee(Se,Ve,Ge){!Ve&&!he[Ge]&&(Se(!1,Ge),he[Ge]=!0)}function Le(Se,Ve){Ee(me,Se,Ve)}function we(Se,Ve){Ee(Z,Se,Ve)}Le.preMessage=ge,Le.resetWarned=xe,Le.noteOnce=we;var fe=Le;function pe(Se){return typeof Se=="string"&&String(Number(Se))===Se?(fe(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Se)):Se}function Ke(Se){fe(!("wrapperClassName"in Se),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),fe(x()||!Se.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Me={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ze(Se,Ve){var Ge,_t,bt,gt,at=Se.prefixCls,ft=Se.open,Fe=Se.placement,Te=Se.inline,ut=Se.push,le=Se.forceRender,$e=Se.autoFocus,Qe=Se.keyboard,Tt=Se.rootClassName,Ot=Se.rootStyle,Ut=Se.zIndex,At=Se.className,Pt=Se.id,Dt=Se.style,Qt=Se.motion,cn=Se.width,$n=Se.height,hn=Se.children,_n=Se.contentWrapperStyle,bn=Se.mask,Bn=Se.maskClosable,Tn=Se.maskMotion,Tr=Se.maskClassName,Sr=Se.maskStyle,Wr=Se.afterOpenChange,br=Se.onClose,Wn=Se.onMouseEnter,gr=Se.onMouseOver,na=Se.onMouseLeave,jn=Se.onClick,un=Se.onKeyDown,zt=Se.onKeyUp,Bt=y.useRef(),H=y.useRef(),ot=y.useRef();y.useImperativeHandle(Ve,function(){return Bt.current});var nt=function(Hn){var Sa=Hn.keyCode,Lr=Hn.shiftKey;switch(Sa){case U.TAB:{if(Sa===U.TAB){if(!Lr&&document.activeElement===ot.current){var Ca;(Ca=H.current)===null||Ca===void 0||Ca.focus({preventScroll:!0})}else if(Lr&&document.activeElement===H.current){var za;(za=ot.current)===null||za===void 0||za.focus({preventScroll:!0})}}break}case U.ESC:{br&&Qe&&(Hn.stopPropagation(),br(Hn));break}}};y.useEffect(function(){if(ft&&$e){var fr;(fr=Bt.current)===null||fr===void 0||fr.focus({preventScroll:!0})}},[ft]);var Ct=y.useState(!1),Wt=Object(O.a)(Ct,2),kn=Wt[0],Sn=Wt[1],Zn=y.useContext(ne),Or;ut===!1?Or={distance:0}:ut===!0?Or={}:Or=ut||{};var Yn=(Ge=(_t=(bt=Or)===null||bt===void 0?void 0:bt.distance)!==null&&_t!==void 0?_t:Zn==null?void 0:Zn.pushDistance)!==null&&Ge!==void 0?Ge:180,Nn=y.useMemo(function(){return{pushDistance:Yn,push:function(){Sn(!0)},pull:function(){Sn(!1)}}},[Yn]);y.useEffect(function(){if(ft){var fr;Zn==null||(fr=Zn.push)===null||fr===void 0||fr.call(Zn)}else{var Hn;Zn==null||(Hn=Zn.pull)===null||Hn===void 0||Hn.call(Zn)}},[ft]),y.useEffect(function(){return function(){var fr;Zn==null||(fr=Zn.pull)===null||fr===void 0||fr.call(Zn)}},[]);var Zt=bn&&y.createElement(F.b,Object(E.a)({key:"mask"},Tn,{visible:ft}),function(fr,Hn){var Sa=fr.className,Lr=fr.style;return y.createElement("div",{className:A()("".concat(at,"-mask"),Sa,Tr),style:Object(S.a)(Object(S.a)({},Lr),Sr),onClick:Bn&&ft?br:void 0,ref:Hn})}),rr=typeof Qt=="function"?Qt(Fe):Qt,Gn={};if(kn&&Yn)switch(Fe){case"top":Gn.transform="translateY(".concat(Yn,"px)");break;case"bottom":Gn.transform="translateY(".concat(-Yn,"px)");break;case"left":Gn.transform="translateX(".concat(Yn,"px)");break;default:Gn.transform="translateX(".concat(-Yn,"px)");break}Fe==="left"||Fe==="right"?Gn.width=pe(cn):Gn.height=pe($n);var ln={onMouseEnter:Wn,onMouseOver:gr,onMouseLeave:na,onClick:jn,onKeyDown:un,onKeyUp:zt},Xn=y.createElement(F.b,Object(E.a)({key:"panel"},rr,{visible:ft,forceRender:le,onVisibleChanged:function(Hn){Wr==null||Wr(Hn)},removeOnLeave:!1,leavedClassName:"".concat(at,"-content-wrapper-hidden")}),function(fr,Hn){var Sa=fr.className,Lr=fr.style;return y.createElement("div",Object(E.a)({className:A()("".concat(at,"-content-wrapper"),Sa),style:Object(S.a)(Object(S.a)(Object(S.a)({},Gn),Lr),_n)},Q(Se,{data:!0})),y.createElement(_e,Object(E.a)({id:Pt,containerRef:Hn,prefixCls:at,className:At,style:Dt},ln),hn))}),Kn=Object(S.a)({},Ot);return Ut&&(Kn.zIndex=Ut),y.createElement(ne.Provider,{value:Nn},y.createElement("div",{className:A()(at,"".concat(at,"-").concat(Fe),Tt,(gt={},Object(m.a)(gt,"".concat(at,"-open"),ft),Object(m.a)(gt,"".concat(at,"-inline"),Te),gt)),style:Kn,tabIndex:-1,ref:Bt,onKeyDown:nt},Zt,y.createElement("div",{tabIndex:0,ref:H,style:Me,"aria-hidden":"true","data-sentinel":"start"}),Xn,y.createElement("div",{tabIndex:0,ref:ot,style:Me,"aria-hidden":"true","data-sentinel":"end"})))}var Ue=y.forwardRef(ze),He=Ue,Ne=function(Ve){var Ge=Ve.open,_t=Ge===void 0?!1:Ge,bt=Ve.prefixCls,gt=bt===void 0?"rc-drawer":bt,at=Ve.placement,ft=at===void 0?"right":at,Fe=Ve.autoFocus,Te=Fe===void 0?!0:Fe,ut=Ve.keyboard,le=ut===void 0?!0:ut,$e=Ve.width,Qe=$e===void 0?378:$e,Tt=Ve.mask,Ot=Tt===void 0?!0:Tt,Ut=Ve.maskClosable,At=Ut===void 0?!0:Ut,Pt=Ve.getContainer,Dt=Ve.forceRender,Qt=Ve.afterOpenChange,cn=Ve.destroyOnClose,$n=Ve.onMouseEnter,hn=Ve.onMouseOver,_n=Ve.onMouseLeave,bn=Ve.onClick,Bn=Ve.onKeyDown,Tn=Ve.onKeyUp,Tr=y.useState(!1),Sr=Object(O.a)(Tr,2),Wr=Sr[0],br=Sr[1],Wn=y.useState(!1),gr=Object(O.a)(Wn,2),na=gr[0],jn=gr[1];N(function(){jn(!0)},[]);var un=na?_t:!1,zt=y.useRef(),Bt=y.useRef();N(function(){un&&(Bt.current=document.activeElement)},[un]);var H=function(Wt){var kn;if(br(Wt),Qt==null||Qt(Wt),!Wt&&Bt.current&&!((kn=zt.current)===null||kn===void 0?void 0:kn.contains(Bt.current))){var Sn;(Sn=Bt.current)===null||Sn===void 0||Sn.focus({preventScroll:!0})}};if(!Dt&&!Wr&&!un&&cn)return null;var ot={onMouseEnter:$n,onMouseOver:hn,onMouseLeave:_n,onClick:bn,onKeyDown:Bn,onKeyUp:Tn},nt=Object(S.a)(Object(S.a)({},Ve),{},{open:un,prefixCls:gt,placement:ft,autoFocus:Te,keyboard:le,width:Qe,mask:Ot,maskClosable:At,inline:Pt===!1,afterOpenChange:H,ref:zt},ot);return y.createElement(w.a,{open:un||Dt||Wr,autoDestroy:!1,getContainer:Pt,autoLock:Ot&&(un||Wr)},y.createElement(He,nt))},it=Ne,Xe=it,ht=l("H84U"),lt=l("ihLV"),Et=l("EXcs"),tt=l("CWQg"),mt=l("+f9I"),xt=function(Se,Ve){var Ge={};for(var _t in Se)Object.prototype.hasOwnProperty.call(Se,_t)&&Ve.indexOf(_t)<0&&(Ge[_t]=Se[_t]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,_t=Object.getOwnPropertySymbols(Se);bt<_t.length;bt++)Ve.indexOf(_t[bt])<0&&Object.prototype.propertyIsEnumerable.call(Se,_t[bt])&&(Ge[_t[bt]]=Se[_t[bt]]);return Ge},Xt=Object(tt.a)("default","large"),vt={distance:180};function qe(Se){var Ve=Se.width,Ge=Se.height,_t=Se.size,bt=_t===void 0?"default":_t,gt=Se.closable,at=gt===void 0?!0:gt,ft=Se.mask,Fe=ft===void 0?!0:ft,Te=Se.push,ut=Te===void 0?vt:Te,le=Se.closeIcon,$e=le===void 0?y.createElement(C.a,null):le,Qe=Se.bodyStyle,Tt=Se.drawerStyle,Ot=Se.className,Ut=Se.visible,At=Se.open,Pt=Se.children,Dt=Se.style,Qt=Se.title,cn=Se.headerStyle,$n=Se.onClose,hn=Se.footer,_n=Se.footerStyle,bn=Se.prefixCls,Bn=Se.getContainer,Tn=Se.extra,Tr=Se.afterVisibleChange,Sr=Se.afterOpenChange,Wr=xt(Se,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),br=y.useContext(ht.b),Wn=br.getPopupContainer,gr=br.getPrefixCls,na=br.direction,jn=gr("drawer",bn),un=Bn===void 0&&Wn?function(){return Wn(document.body)}:Bn,zt=at&&y.createElement("button",{type:"button",onClick:$n,"aria-label":"Close",className:"".concat(jn,"-close")},$e);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(Sn){var Zn=Object(O.a)(Sn,2),Or=Zn[0],Yn=Zn[1]});function Bt(){return!Qt&&!at?null:y.createElement("div",{className:A()("".concat(jn,"-header"),Object(m.a)({},"".concat(jn,"-header-close-only"),at&&!Qt&&!Tn)),style:cn},y.createElement("div",{className:"".concat(jn,"-header-title")},zt,Qt&&y.createElement("div",{className:"".concat(jn,"-title")},Qt)),Tn&&y.createElement("div",{className:"".concat(jn,"-extra")},Tn))}function H(){if(!hn)return null;var Sn="".concat(jn,"-footer");return y.createElement("div",{className:Sn,style:_n},hn)}var ot=A()(Object(m.a)({"no-mask":!Fe},"".concat(jn,"-rtl"),na==="rtl"),Ot),nt=y.useMemo(function(){return Ve!=null?Ve:bt==="large"?736:378},[Ve,bt]),Ct=y.useMemo(function(){return Ge!=null?Ge:bt==="large"?736:378},[Ge,bt]),Wt={motionName:Object(Et.c)(jn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},kn=function(Zn){return{motionName:Object(Et.c)(jn,"panel-motion-".concat(Zn)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}};return y.createElement(mt.a,null,y.createElement(lt.e,{status:!0,override:!0},y.createElement(Xe,Object(E.a)({prefixCls:jn,onClose:$n},Wr,{open:At!=null?At:Ut,mask:Fe,push:ut,width:nt,height:Ct,rootClassName:ot,getContainer:un,afterOpenChange:function(Zn){Sr==null||Sr(Zn),Tr==null||Tr(Zn)},maskMotion:Wt,motion:kn,rootStyle:Dt}),y.createElement("div",{className:"".concat(jn,"-wrapper-body"),style:Object(E.a)({},Tt)},Bt(),y.createElement("div",{className:"".concat(jn,"-body"),style:Qe},Pt),H()))))}var Re=R.a=qe},"/xke":function(ce,R,l){"use strict";l.r(R);var E=l("EFp3"),m=l.n(E),O=l("rSSe"),C=l.n(O)},"/yC2":function(ce,R,l){var E=l("tny8"),m=l("MVys"),O=l("8w+9");ce.exports=!E&&!m(function(){return Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a!=7})},0:function(ce,R,l){ce.exports=l("tB8F")},"03A+":function(ce,R,l){var E=l("JTzB"),m=l("ExA7"),O=Object.prototype,C=O.hasOwnProperty,k=O.propertyIsEnumerable,A=E(function(){return arguments}())?E:function(S){return m(S)&&C.call(S,"callee")&&!k.call(S,"callee")};ce.exports=A},"03hy":function(ce,R,l){"use strict";var E=l("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.getTwoToneColor=A,R.setTwoToneColor=k;var m=E(l("J4zp")),O=E(l("/qSt")),C=l("vmBS");function k(S){var y=(0,C.normalizeTwoToneColors)(S),w=(0,m.default)(y,2),x=w[0],T=w[1];return O.default.setTwoToneColors({primaryColor:x,secondaryColor:T})}function A(){var S=O.default.getTwoToneColors();return S.calculated?[S.primaryColor,S.secondaryColor]:S.primaryColor}},"09Wf":function(ce,R,l){"use strict";l.d(R,"b",function(){return m}),l.d(R,"a",function(){return O});var E=l("CWQg"),m=Object(E.a)("success","processing","error","default","warning"),O=Object(E.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Cz8":function(ce,R,l){var E=l("Xi7e"),m=l("ebwN"),O=l("e4Nc"),C=200;function k(A,S){var y=this.__data__;if(y instanceof E){var w=y.__data__;if(!m||w.length<C-1)return w.push([A,S]),this.size=++y.size,this;y=this.__data__=new O(w)}return y.set(A,S),this.size=y.size,this}ce.exports=k},"0G8d":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("qJkI"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},"0JQy":function(ce,R){var l="\\ud800-\\udfff",E="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",O="\\u20d0-\\u20ff",C=E+m+O,k="\\ufe0e\\ufe0f",A="["+l+"]",S="["+C+"]",y="\\ud83c[\\udffb-\\udfff]",w="(?:"+S+"|"+y+")",x="[^"+l+"]",T="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",D="\\u200d",N=w+"?",F="["+k+"]?",B="(?:"+D+"(?:"+[x,T,j].join("|")+")"+F+N+")*",U=F+N+B,J="(?:"+[x+S+"?",S,T,j,A].join("|")+")",$=RegExp(y+"(?="+y+")|"+J+U,"g");function X(ee){return ee.match($)||[]}ce.exports=X},"0Jrw":function(ce,R,l){"use strict";R.__esModule=!0;var E=l("a1Gm"),m=O(E);function O(S){return S&&S.__esModule?S:{default:S}}function C(S,y){if(!(S instanceof y))throw new TypeError("Cannot call a class as a function")}var k=50,A=function(){function S(){C(this,S),this.level=0}return S.prototype.beginIfPossible=function(w,x){this.level===0&&this.isInlineBlock(w,x)?this.level=1:this.level>0?this.level++:this.level=0},S.prototype.end=function(){this.level--},S.prototype.isActive=function(){return this.level>0},S.prototype.isInlineBlock=function(w,x){for(var T=0,j=0,D=x;D<w.length;D++){var N=w[D];if(T+=N.value.length,T>k)return!1;if(N.type===m.default.OPEN_PAREN)j++;else if(N.type===m.default.CLOSE_PAREN&&(j--,j===0))return!0;if(this.isForbiddenToken(N))return!1}return!1},S.prototype.isForbiddenToken=function(w){var x=w.type,T=w.value;return x===m.default.RESERVED_TOPLEVEL||x===m.default.RESERVED_NEWLINE||x===m.default.COMMENT||x===m.default.BLOCK_COMMENT||T===";"},S}();R.default=A,ce.exports=R.default},"0O5u":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("MVys"),O=l("Un+d"),C=l("tSXo"),k=l("cTDu"),A=l("oa35"),S=l("arQb"),y=l("nMuc"),w=l("jMDO"),x=l("2kyd"),T=l("hRxt"),j=x("isConcatSpreadable"),D=9007199254740991,N="Maximum allowed index exceeded",F=T>=51||!m(function(){var $=[];return $[j]=!1,$.concat()[0]!==$}),B=w("concat"),U=function($){if(!C($))return!1;var X=$[j];return X!==void 0?!!X:O($)},J=!F||!B;E({target:"Array",proto:!0,forced:J},{concat:function(X){var ee=k(this),ie=y(ee,0),G=0,Q,W,ne,te,_e;for(Q=-1,ne=arguments.length;Q<ne;Q++)if(_e=Q===-1?ee:arguments[Q],U(_e)){if(te=A(_e.length),G+te>D)throw TypeError(N);for(W=0;W<te;W++,G++)W in _e&&S(ie,G,_e[W])}else{if(G>=D)throw TypeError(N);S(ie,G++,_e)}return ie.length=G,ie}})},"0UDB":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("rePB"),O=l("U8pU"),C=l("ODXe"),k=l("Ff2n"),A=l("wx14"),S=l("q1tI"),y=l.n(S),w=l("piRP"),x=l("TSYQ"),T=l.n(x),j=l("QMCc"),D=Object(S.createContext)({}),N=D,F=l("1gO8"),B=l("WLtj");function U(jn,un){if(!jn)return!1;if(jn.contains)return jn.contains(un);for(var zt=un;zt;){if(zt===jn)return!0;zt=zt.parentNode}return!1}var J="data-rc-order",$="rc-util-key",X=new Map;function ee(){var jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},un=jn.mark;return un?un.startsWith("data-")?un:"data-".concat(un):$}function ie(jn){if(jn.attachTo)return jn.attachTo;var un=document.querySelector("head");return un||document.body}function G(jn){return jn==="queue"?"prependQueue":jn?"prepend":"append"}function Q(jn){return Array.from((X.get(jn)||jn).children).filter(function(un){return un.tagName==="STYLE"})}function W(jn){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(B.a)())return null;var zt=un.csp,Bt=un.prepend,H=document.createElement("style");H.setAttribute(J,G(Bt)),zt!=null&&zt.nonce&&(H.nonce=zt==null?void 0:zt.nonce),H.innerHTML=jn;var ot=ie(un),nt=ot.firstChild;if(Bt){if(Bt==="queue"){var Ct=Q(ot).filter(function(Wt){return["prepend","prependQueue"].includes(Wt.getAttribute(J))});if(Ct.length)return ot.insertBefore(H,Ct[Ct.length-1].nextSibling),H}ot.insertBefore(H,nt)}else ot.appendChild(H);return H}function ne(jn){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=ie(un);return Q(zt).find(function(Bt){return Bt.getAttribute(ee(un))===jn})}function te(jn){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=ne(jn,un);if(zt){var Bt=ie(un);Bt.removeChild(zt)}}function _e(jn,un){var zt=X.get(jn);if(!zt||!U(document,zt)){var Bt=W("",un),H=Bt.parentNode;X.set(jn,H),jn.removeChild(Bt)}}function he(){X.clear()}function oe(jn,un){var zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Bt=ie(zt);_e(Bt,zt);var H=ne(un,zt);if(H){var ot,nt;if((ot=zt.csp)!==null&&ot!==void 0&&ot.nonce&&H.nonce!==((nt=zt.csp)===null||nt===void 0?void 0:nt.nonce)){var Ct;H.nonce=(Ct=zt.csp)===null||Ct===void 0?void 0:Ct.nonce}return H.innerHTML!==jn&&(H.innerHTML=jn),H}var Wt=W(jn,zt);return Wt.setAttribute(ee(zt),un),Wt}function ge(jn){var un;return jn==null||(un=jn.getRootNode)===null||un===void 0?void 0:un.call(jn)}function me(jn){return ge(jn)!==(jn==null?void 0:jn.ownerDocument)}function Z(jn){return me(jn)?ge(jn):null}function xe(jn,un){Object(F.a)(jn,"[@ant-design/icons] ".concat(un))}function Ee(jn){return Object(O.a)(jn)==="object"&&typeof jn.name=="string"&&typeof jn.theme=="string"&&(Object(O.a)(jn.icon)==="object"||typeof jn.icon=="function")}function Le(){var jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(jn).reduce(function(un,zt){var Bt=jn[zt];switch(zt){case"class":un.className=Bt,delete un.class;break;default:un[zt]=Bt}return un},{})}function we(jn,un,zt){return zt?y.a.createElement(jn.tag,Object(E.a)(Object(E.a)({key:un},Le(jn.attrs)),zt),(jn.children||[]).map(function(Bt,H){return we(Bt,"".concat(un,"-").concat(jn.tag,"-").concat(H))})):y.a.createElement(jn.tag,Object(E.a)({key:un},Le(jn.attrs)),(jn.children||[]).map(function(Bt,H){return we(Bt,"".concat(un,"-").concat(jn.tag,"-").concat(H))}))}function fe(jn){return Object(j.b)(jn)[0]}function pe(jn){return jn?Array.isArray(jn)?jn:[jn]:[]}var Ke={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Me=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,ze=function(un){var zt=Object(S.useContext)(N),Bt=zt.csp,H=zt.prefixCls,ot=Me;H&&(ot=ot.replace(/anticon/g,H)),Object(S.useEffect)(function(){var nt=un.current,Ct=Z(nt);oe(ot,"@ant-design-icons",{prepend:!0,csp:Bt,attachTo:Ct})},[])},Ue=["icon","className","onClick","style","primaryColor","secondaryColor"],He={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ne(jn){var un=jn.primaryColor,zt=jn.secondaryColor;He.primaryColor=un,He.secondaryColor=zt||fe(un),He.calculated=!!zt}function it(){return Object(E.a)({},He)}var Xe=function(un){var zt=un.icon,Bt=un.className,H=un.onClick,ot=un.style,nt=un.primaryColor,Ct=un.secondaryColor,Wt=Object(k.a)(un,Ue),kn=S.useRef(),Sn=He;if(nt&&(Sn={primaryColor:nt,secondaryColor:Ct||fe(nt)}),ze(kn),xe(Ee(zt),"icon should be icon definiton, but got ".concat(zt)),!Ee(zt))return null;var Zn=zt;return Zn&&typeof Zn.icon=="function"&&(Zn=Object(E.a)(Object(E.a)({},Zn),{},{icon:Zn.icon(Sn.primaryColor,Sn.secondaryColor)})),we(Zn.icon,"svg-".concat(Zn.name),Object(E.a)(Object(E.a)({className:Bt,onClick:H,style:ot,"data-icon":Zn.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Wt),{},{ref:kn}))};Xe.displayName="IconReact",Xe.getTwoToneColors=it,Xe.setTwoToneColors=Ne;var ht=Xe;function lt(jn){var un=pe(jn),zt=Object(C.a)(un,2),Bt=zt[0],H=zt[1];return ht.setTwoToneColors({primaryColor:Bt,secondaryColor:H})}function Et(){var jn=ht.getTwoToneColors();return jn.calculated?[jn.primaryColor,jn.secondaryColor]:jn.primaryColor}var tt=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];lt(j.a.primary);var mt=S.forwardRef(function(jn,un){var zt,Bt=jn.className,H=jn.icon,ot=jn.spin,nt=jn.rotate,Ct=jn.tabIndex,Wt=jn.onClick,kn=jn.twoToneColor,Sn=Object(k.a)(jn,tt),Zn=S.useContext(N),Or=Zn.prefixCls,Yn=Or===void 0?"anticon":Or,Nn=Zn.rootClassName,Zt=T()(Nn,Yn,(zt={},Object(m.a)(zt,"".concat(Yn,"-").concat(H.name),!!H.name),Object(m.a)(zt,"".concat(Yn,"-spin"),!!ot||H.name==="loading"),zt),Bt),rr=Ct;rr===void 0&&Wt&&(rr=-1);var Gn=nt?{msTransform:"rotate(".concat(nt,"deg)"),transform:"rotate(".concat(nt,"deg)")}:void 0,ln=pe(kn),Xn=Object(C.a)(ln,2),Kn=Xn[0],fr=Xn[1];return S.createElement("span",Object(A.a)({role:"img","aria-label":H.name},Sn,{ref:un,tabIndex:rr,onClick:Wt,className:Zt}),S.createElement(ht,{icon:H,primaryColor:Kn,secondaryColor:fr,style:Gn}))});mt.displayName="AntdIcon",mt.getTwoToneColor=Et,mt.setTwoToneColor=lt;var xt=mt,Xt=function(un,zt){return S.createElement(xt,Object(A.a)({},un,{ref:zt,icon:w.a}))},vt=S.forwardRef(Xt),qe=l("hmRj"),Re=function(un,zt){return S.createElement(xt,Object(A.a)({},un,{ref:zt,icon:qe.a}))},Se=S.forwardRef(Re),Ve=l("wEI+"),Ge=l("3S7+"),_t=l("jJZc"),bt=function(un){return Object(m.a)({},un.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:un.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:un.colorTextSecondary,fontWeight:"normal",fontSize:un.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function gt(jn){return Object(_t.d)("LabelIconTip",function(un){var zt=Object(E.a)(Object(E.a)({},un),{},{componentCls:".".concat(jn)});return[bt(zt)]})}var at=l("nKUr"),ft=y.a.memo(function(jn){var un=jn.label,zt=jn.tooltip,Bt=jn.ellipsis,H=jn.subTitle,ot=Object(S.useContext)(Ve.a.ConfigContext),nt=ot.getPrefixCls,Ct=nt("pro-core-label-tip"),Wt=gt(Ct),kn=Wt.wrapSSR,Sn=Wt.hashId;if(!zt&&!H)return Object(at.jsx)(at.Fragment,{children:un});var Zn=typeof zt=="string"||y.a.isValidElement(zt)?{title:zt}:zt,Or=(Zn==null?void 0:Zn.icon)||Object(at.jsx)(Se,{});return kn(Object(at.jsxs)("div",{className:T()(Ct,Sn),onMouseDown:function(Nn){return Nn.stopPropagation()},onMouseLeave:function(Nn){return Nn.stopPropagation()},onMouseMove:function(Nn){return Nn.stopPropagation()},children:[Object(at.jsx)("div",{className:T()("".concat(Ct,"-title"),Sn,Object(m.a)({},"".concat(Ct,"-title-ellipsis"),Bt)),children:un}),H&&Object(at.jsx)("div",{className:"".concat(Ct,"-subtitle ").concat(Sn).trim(),children:H}),zt&&Object(at.jsx)(Ge.a,Object(E.a)(Object(E.a)({},Zn),{},{children:Object(at.jsx)("span",{className:"".concat(Ct,"-icon ").concat(Sn).trim(),children:Or})}))]}))}),Fe=l("TLLU"),Te=l("ZTPi"),ut=l("BGR+"),le=l("+J/V"),$e=function(un){var zt,Bt,H=un.componentCls,ot=un.antCls;return Object(m.a)({},"".concat(H,"-actions"),(Bt={marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none",display:"flex",gap:un.marginXS,background:un.colorBgContainer,borderBlockStart:"".concat(un.lineWidth,"px ").concat(un.lineType," ").concat(un.colorSplit),minHeight:42},Object(m.a)(Bt,"& > *",{alignItems:"center",justifyContent:"center",flex:1,display:"flex",cursor:"pointer",color:un.colorTextSecondary,transition:"color 0.3s","&:hover":{color:un.colorPrimaryHover}}),Object(m.a)(Bt,"& > li > div",{flex:1,width:"100%",marginBlock:un.marginSM,marginInline:0,color:un.colorTextSecondary,textAlign:"center",a:{color:un.colorTextSecondary,transition:"color 0.3s","&:hover":{color:un.colorPrimaryHover}},div:(zt={position:"relative",display:"block",minWidth:32,fontSize:un.fontSize,lineHeight:un.lineHeight,cursor:"pointer","&:hover":{color:un.colorPrimaryHover,transition:"color 0.3s"}},Object(m.a)(zt,"a:not(".concat(ot,`-btn),
> .anticon`),{display:"inline-block",width:"100%",color:un.colorTextSecondary,lineHeight:"22px",transition:"color 0.3s","&:hover":{color:un.colorPrimaryHover}}),Object(m.a)(zt,".anticon",{fontSize:un.cardActionIconSize,lineHeight:"22px"}),zt),"&:not(:last-child)":{borderInlineEnd:"".concat(un.lineWidth,"px ").concat(un.lineType," ").concat(un.colorSplit)}}),Bt))};function Qe(jn){return Object(_t.d)("ProCardActions",function(un){var zt=Object(E.a)(Object(E.a)({},un),{},{componentCls:".".concat(jn),cardActionIconSize:16});return[$e(zt)]})}var Tt=function(un){var zt=un.actions,Bt=un.prefixCls,H=Qe(Bt),ot=H.wrapSSR,nt=H.hashId;return Array.isArray(zt)&&zt!==null&&zt!==void 0&&zt.length?ot(Object(at.jsx)("ul",{className:T()("".concat(Bt,"-actions"),nt),children:zt.map(function(Ct,Wt){return Object(at.jsx)("li",{style:{width:"".concat(100/zt.length,"%"),padding:0,margin:0},className:T()("".concat(Bt,"-actions-item"),nt),children:Ct},"action-".concat(Wt))})})):ot(Object(at.jsx)("ul",{className:T()("".concat(Bt,"-actions"),nt),children:zt}))},Ot=Tt,Ut=l("BMrR"),At=l("kPKH"),Pt=l("EoNY"),Dt=new Pt.a("card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Qt=function(un){var zt;return Object(m.a)({},un.componentCls,(zt={"&-loading":{overflow:"hidden"},"&-loading &-body":{userSelect:"none"}},Object(m.a)(zt,"".concat(un.componentCls,"-loading-content"),{width:"100%",p:{marginBlock:0,marginInline:0}}),Object(m.a)(zt,"".concat(un.componentCls,"-loading-block"),{height:"14px",marginBlock:"4px",background:"linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",backgroundSize:"600% 600%",borderRadius:un.borderRadius,animationName:Dt,animationDuration:"1.4s",animationTimingFunction:"ease",animationIterationCount:"infinite"}),zt))};function cn(jn){return Object(_t.d)("ProCardLoading",function(un){var zt=Object(E.a)(Object(E.a)({},un),{},{componentCls:".".concat(jn)});return[Qt(zt)]})}var $n=function(un){var zt=un.style,Bt=un.prefix,H=cn(Bt||"ant-pro-card"),ot=H.wrapSSR;return ot(Object(at.jsxs)("div",{className:"".concat(Bt,"-loading-content"),style:zt,children:[Object(at.jsx)(Ut.a,{gutter:8,children:Object(at.jsx)(At.a,{span:22,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})})}),Object(at.jsxs)(Ut.a,{gutter:8,children:[Object(at.jsx)(At.a,{span:8,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})}),Object(at.jsx)(At.a,{span:15,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})})]}),Object(at.jsxs)(Ut.a,{gutter:8,children:[Object(at.jsx)(At.a,{span:6,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})}),Object(at.jsx)(At.a,{span:18,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})})]}),Object(at.jsxs)(Ut.a,{gutter:8,children:[Object(at.jsx)(At.a,{span:13,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})}),Object(at.jsx)(At.a,{span:9,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})})]}),Object(at.jsxs)(Ut.a,{gutter:8,children:[Object(at.jsx)(At.a,{span:4,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})}),Object(at.jsx)(At.a,{span:3,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})}),Object(at.jsx)(At.a,{span:16,children:Object(at.jsx)("div",{className:"".concat(Bt,"-loading-block")})})]})]}))},hn=$n,_n=l("sGYi"),bn=function(un){return{backgroundColor:un.controlItemBgActive,borderColor:un.controlOutline}},Bn=function(un){var zt,Bt,H,ot,nt,Ct=un.componentCls;return nt={},Object(m.a)(nt,Ct,Object(E.a)(Object(E.a)({position:"relative",display:"flex",flexDirection:"column",boxSizing:"border-box",width:"100%",marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,backgroundColor:un.colorBgContainer,borderRadius:un.borderRadius},_t.b===null||_t.b===void 0?void 0:Object(_t.b)(un)),{},(Bt={"&-box-shadow":{boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017",borderColor:"transparent"},"&-col":{width:"100%"},"&-border":{border:"".concat(un.lineWidth,"px ").concat(un.lineType," ").concat(un.colorSplit)},"&-hoverable":Object(m.a)({cursor:"pointer",transition:"box-shadow 0.3s, border-color 0.3s","&:hover":{borderColor:"transparent",boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017"}},"&".concat(Ct,"-checked:hover"),{borderColor:un.controlOutline}),"&-checked":Object(E.a)(Object(E.a)({},bn(un)),{},{"&::after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"6px solid ".concat(un.colorPrimary),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:2,content:'""'}}),"&:focus":Object(E.a)({},bn(un)),"&&-ghost":Object(m.a)({backgroundColor:"transparent"},"> ".concat(Ct),{"&-header":{paddingInlineEnd:0,paddingBlockEnd:un.padding,paddingInlineStart:0},"&-body":{paddingBlock:0,paddingInline:0,backgroundColor:"transparent"}}),"&&-split > &-body":{paddingBlock:0,paddingInline:0},"&&-contain-card > &-body":{display:"flex"}},Object(m.a)(Bt,"".concat(Ct,"-body-direction-column"),{flexDirection:"column"}),Object(m.a)(Bt,"".concat(Ct,"-body-wrap"),{flexWrap:"wrap"}),Object(m.a)(Bt,"&&-collapse",Object(m.a)({},"> ".concat(Ct),{"&-header":{paddingBlockEnd:un.padding,borderBlockEnd:0},"&-body":{display:"none"}})),Object(m.a)(Bt,"".concat(Ct,"-header"),{display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:un.paddingLG,paddingBlock:un.padding,paddingBlockEnd:0,"&-border":{"&":{paddingBlockEnd:un.padding},borderBlockEnd:"".concat(un.lineWidth,"px ").concat(un.lineType," ").concat(un.colorSplit)},"&-collapsible":{cursor:"pointer"}}),Object(m.a)(Bt,"".concat(Ct,"-title"),{color:un.colorText,fontWeight:500,fontSize:un.fontSizeLG,lineHeight:un.lineHeight}),Object(m.a)(Bt,"".concat(Ct,"-extra"),{color:un.colorText}),Object(m.a)(Bt,"".concat(Ct,"-type-inner"),Object(m.a)({},"".concat(Ct,"-header"),{backgroundColor:un.colorFillAlter})),Object(m.a)(Bt,"".concat(Ct,"-collapsible-icon"),{marginInlineEnd:un.marginXS,color:un.colorIconHover,":hover":{color:un.colorPrimaryHover},"& svg":{transition:"transform ".concat(un.motionDurationMid)}}),Object(m.a)(Bt,"".concat(Ct,"-body"),{display:"block",boxSizing:"border-box",height:"100%",paddingInline:un.paddingLG,paddingBlock:un.padding,"&-center":{display:"flex",alignItems:"center",justifyContent:"center"}}),Object(m.a)(Bt,"&&-size-small",(zt={},Object(m.a)(zt,Ct,{"&-header":{paddingInline:un.paddingSM,paddingBlock:un.paddingXS,paddingBlockEnd:0,"&-border":{paddingBlockEnd:un.paddingXS}},"&-title":{fontSize:un.fontSize},"&-body":{paddingInline:un.paddingSM,paddingBlock:un.paddingSM}}),Object(m.a)(zt,"".concat(Ct,"-header").concat(Ct,"-header-collapsible"),{paddingBlock:un.paddingXS}),zt)),Bt))),Object(m.a)(nt,"".concat(Ct,"-col"),(H={},Object(m.a)(H,"&".concat(Ct,"-split-vertical"),{borderInlineEnd:"".concat(un.lineWidth,"px ").concat(un.lineType," ").concat(un.colorSplit)}),Object(m.a)(H,"&".concat(Ct,"-split-horizontal"),{borderBlockEnd:"".concat(un.lineWidth,"px ").concat(un.lineType," ").concat(un.colorSplit)}),H)),Object(m.a)(nt,"".concat(Ct,"-tabs"),(ot={},Object(m.a)(ot,"".concat(un.antCls,"-tabs-top > ").concat(un.antCls,"-tabs-nav"),Object(m.a)({marginBlockEnd:0},"".concat(un.antCls,"-tabs-nav-list"),{marginBlockStart:un.marginXS,paddingInlineStart:un.padding})),Object(m.a)(ot,"".concat(un.antCls,"-tabs-bottom > ").concat(un.antCls,"-tabs-nav"),Object(m.a)({marginBlockEnd:0},"".concat(un.antCls,"-tabs-nav-list"),{paddingInlineStart:un.padding})),Object(m.a)(ot,"".concat(un.antCls,"-tabs-left"),Object(m.a)({},"".concat(un.antCls,"-tabs-content-holder"),Object(m.a)({},"".concat(un.antCls,"-tabs-content"),Object(m.a)({},"".concat(un.antCls,"-tabs-tabpane"),{paddingInlineStart:0})))),Object(m.a)(ot,"".concat(un.antCls,"-tabs-left > ").concat(un.antCls,"-tabs-nav"),Object(m.a)({marginInlineEnd:0},"".concat(un.antCls,"-tabs-nav-list"),{paddingBlockStart:un.padding})),Object(m.a)(ot,"".concat(un.antCls,"-tabs-right"),Object(m.a)({},"".concat(un.antCls,"-tabs-content-holder"),Object(m.a)({},"".concat(un.antCls,"-tabs-content"),Object(m.a)({},"".concat(un.antCls,"-tabs-tabpane"),{paddingInlineStart:0})))),Object(m.a)(ot,"".concat(un.antCls,"-tabs-right > ").concat(un.antCls,"-tabs-nav"),Object(m.a)({},"".concat(un.antCls,"-tabs-nav-list"),{paddingBlockStart:un.padding})),ot)),nt},Tn=24,Tr=function(un,zt){var Bt=zt.componentCls;return un===0?Object(m.a)({},"".concat(Bt,"-col-0"),{display:"none"}):Object(m.a)({},"".concat(Bt,"-col-").concat(un),{flexShrink:0,width:"".concat(un/Tn*100,"%")})},Sr=function(un){return Array(Tn+1).fill(1).map(function(zt,Bt){return Tr(Bt,un)})};function Wr(jn){return Object(_t.d)("ProCard",function(un){var zt=Object(E.a)(Object(E.a)({},un),{},{componentCls:".".concat(jn)});return[Bn(zt),Sr(zt)]})}var br=["className","style","bodyStyle","headStyle","title","subTitle","extra","tip","wrap","layout","loading","gutter","tooltip","split","headerBordered","bordered","boxShadow","children","size","actions","ghost","hoverable","direction","collapsed","collapsible","collapsibleIconRender","defaultCollapsed","onCollapse","checked","onChecked","tabs","type"],Wn=Fe.a.useBreakpoint,gr=y.a.forwardRef(function(jn,un){var zt,Bt,H,ot=jn.className,nt=jn.style,Ct=jn.bodyStyle,Wt=Ct===void 0?{}:Ct,kn=jn.headStyle,Sn=kn===void 0?{}:kn,Zn=jn.title,Or=jn.subTitle,Yn=jn.extra,Nn=jn.tip,Zt=jn.wrap,rr=Zt===void 0?!1:Zt,Gn=jn.layout,ln=jn.loading,Xn=jn.gutter,Kn=Xn===void 0?0:Xn,fr=jn.tooltip,Hn=jn.split,Sa=jn.headerBordered,Lr=Sa===void 0?!1:Sa,Ca=jn.bordered,za=Ca===void 0?!1:Ca,Ma=jn.boxShadow,va=Ma===void 0?!1:Ma,qa=jn.children,gi=jn.size,Qi=jn.actions,mi=jn.ghost,Cr=mi===void 0?!1:mi,Un=jn.hoverable,Lt=Un===void 0?!1:Un,gn=jn.direction,Ln=jn.collapsed,kr=jn.collapsible,ea=kr===void 0?!1:kr,Qr=jn.collapsibleIconRender,Na=jn.defaultCollapsed,ar=Na===void 0?!1:Na,pi=jn.onCollapse,_i=jn.checked,ti=jn.onChecked,ui=jn.tabs,Ri=jn.type,ao=Object(k.a)(jn,br),Zi=Object(S.useContext)(Ve.a.ConfigContext),Fi=Zi.getPrefixCls,Si=Wn(),qi=Object(le.a)(ar,{value:Ln,onChange:pi}),eo=Object(C.a)(qi,2),xo=eo[0],cs=eo[1],ba=["xxl","xl","lg","md","sm","xs"],sa=Object(_n.b)(ui==null?void 0:ui.items,qa,ui),Da=function(vo){var qo=[0,0],hs=Array.isArray(vo)?vo:[vo,0];return hs.forEach(function($t,rt){if(Object(O.a)($t)==="object")for(var Vt=0;Vt<ba.length;Vt+=1){var tn=ba[Vt];if(Si[tn]&&$t[tn]!==void 0){qo[rt]=$t[tn];break}}else qo[rt]=$t||0}),qo},On=function(vo,qo){return vo?qo:{}},xn=function(vo){var qo=vo;if(Object(O.a)(vo)==="object")for(var hs=0;hs<ba.length;hs+=1){var $t=ba[hs];if(Si[$t]&&vo[$t]!==void 0){qo=vo[$t];break}}var rt=On(typeof qo=="string"&&/\d%|\dpx/i.test(qo),{width:qo,flexShrink:0});return{span:qo,colSpanStyle:rt}},Rt=Fi("pro-card"),mr=Wr(Rt),ta=mr.wrapSSR,ma=mr.hashId,Oa=Da(Kn),Pn=Object(C.a)(Oa,2),Kr=Pn[0],Vn=Pn[1],tr=!1,Ea=y.a.Children.toArray(qa),Ja=Ea.map(function(Vi,vo){var qo;if(Vi!=null&&(qo=Vi.type)!==null&&qo!==void 0&&qo.isProCard){var hs;tr=!0;var $t=Vi.props.colSpan,rt=xn($t),Vt=rt.span,tn=rt.colSpanStyle,wn=T()(["".concat(Rt,"-col")],ma,(hs={},Object(m.a)(hs,"".concat(Rt,"-split-vertical"),Hn==="vertical"&&vo!==Ea.length-1),Object(m.a)(hs,"".concat(Rt,"-split-horizontal"),Hn==="horizontal"&&vo!==Ea.length-1),Object(m.a)(hs,"".concat(Rt,"-col-").concat(Vt),typeof Vt=="number"&&Vt>=0&&Vt<=24),hs)),qn=ta(Object(at.jsx)("div",{style:Object(E.a)(Object(E.a)(Object(E.a)({},tn),On(Kr>0,{paddingInlineEnd:Kr/2,paddingInlineStart:Kr/2})),On(Vn>0,{paddingBlockStart:Vn/2,paddingBlockEnd:Vn/2})),className:wn,children:y.a.cloneElement(Vi)}));return y.a.cloneElement(qn,{key:"pro-card-col-".concat((Vi==null?void 0:Vi.key)||vo)})}return Vi}),go=T()("".concat(Rt),ot,ma,(zt={},Object(m.a)(zt,"".concat(Rt,"-border"),za),Object(m.a)(zt,"".concat(Rt,"-box-shadow"),va),Object(m.a)(zt,"".concat(Rt,"-contain-card"),tr),Object(m.a)(zt,"".concat(Rt,"-loading"),ln),Object(m.a)(zt,"".concat(Rt,"-split"),Hn==="vertical"||Hn==="horizontal"),Object(m.a)(zt,"".concat(Rt,"-ghost"),Cr),Object(m.a)(zt,"".concat(Rt,"-hoverable"),Lt),Object(m.a)(zt,"".concat(Rt,"-size-").concat(gi),gi),Object(m.a)(zt,"".concat(Rt,"-type-").concat(Ri),Ri),Object(m.a)(zt,"".concat(Rt,"-collapse"),xo),Object(m.a)(zt,"".concat(Rt,"-checked"),_i),zt)),fi=T()("".concat(Rt,"-body"),ma,(Bt={},Object(m.a)(Bt,"".concat(Rt,"-body-center"),Gn==="center"),Object(m.a)(Bt,"".concat(Rt,"-body-direction-column"),Hn==="horizontal"||gn==="column"),Object(m.a)(Bt,"".concat(Rt,"-body-wrap"),rr&&tr),Bt)),lo=Wt,Oi=y.a.isValidElement(ln)?ln:Object(at.jsx)(hn,{prefix:Rt,style:Wt.padding===0||Wt.padding==="0px"?{padding:24}:void 0}),io=ea&&Ln===void 0&&(Qr?Qr({collapsed:xo}):Object(at.jsx)(vt,{rotate:xo?void 0:90,className:"".concat(Rt,"-collapsible-icon ").concat(ma).trim()}));return ta(Object(at.jsxs)("div",Object(E.a)(Object(E.a)({className:go,style:nt,ref:un,onClick:function(vo){var qo;ti==null||ti(vo),ao==null||(qo=ao.onClick)===null||qo===void 0||qo.call(ao,vo)}},Object(ut.a)(ao,["prefixCls","colSpan"])),{},{children:[(Zn||Yn||io)&&Object(at.jsxs)("div",{className:T()("".concat(Rt,"-header"),ma,(H={},Object(m.a)(H,"".concat(Rt,"-header-border"),Lr||Ri==="inner"),Object(m.a)(H,"".concat(Rt,"-header-collapsible"),io),H)),style:Sn,onClick:function(){io&&cs(!xo)},children:[Object(at.jsxs)("div",{className:"".concat(Rt,"-title ").concat(ma).trim(),children:[io,Object(at.jsx)(ft,{label:Zn,tooltip:fr||Nn,subTitle:Or})]}),Yn&&Object(at.jsx)("div",{className:"".concat(Rt,"-extra ").concat(ma).trim(),onChange:function(vo){vo.stopPropagation(),vo.preventDefault()},onClick:function(vo){vo.stopPropagation(),vo.preventDefault()},children:Yn})]}),ui?Object(at.jsx)("div",{className:"".concat(Rt,"-tabs ").concat(ma).trim(),children:Object(at.jsx)(Te.a,Object(E.a)(Object(E.a)({onChange:ui.onChange},ui),{},{items:sa,children:ln?Oi:qa}))}):Object(at.jsx)("div",{className:fi,style:lo,children:ln?Oi:Ja}),Qi?Object(at.jsx)(Ot,{actions:Qi,prefixCls:Rt}):null]})))}),na=R.a=gr},"0Wiw":function(ce,R,l){ce.exports={message:"message___ov1VS",domainName:"domainName___2DDh-",messageContent:"messageContent___5HLSN",messageBody:"messageBody___3Dtin",messageTopBar:"messageTopBar___9O3GQ",avatar:"avatar___1wuzv",bubble:"bubble___2rE8_",text:"text___2A2KV",textMsg:"textMsg___1Cagn",topBar:"topBar___3SUj7",messageTitleWrapper:"messageTitleWrapper___2nkrf",messageTitle:"messageTitle___nEuXN",right:"right___3ioPO",textBubble:"textBubble___ihT3i",listenerSex:"listenerSex___37uVn",listenerArea:"listenerArea___3pK5q",typing:"typing___1luaU",messageEntityName:"messageEntityName___258Wt",messageAvatar:"messageAvatar___1Ywwf",dataHolder:"dataHolder___u5qE_",subTitle:"subTitle___ck_64",subTitleValue:"subTitleValue___k_e_P",avatarPopover:"avatarPopover___3r5u1",moreOption:"moreOption___1NGcC",selectOthers:"selectOthers___2xwh0",indicators:"indicators___1jqCq",indicator:"indicator___YCPxh",contentName:"contentName___211iT",aggregatorIndicator:"aggregatorIndicator___2E_41",entityId:"entityId___1lmAV",idTitle:"idTitle___1jx5q",idValue:"idValue___bpiF6",typingBubble:"typingBubble___Q0Uqn",quote:"quote___3zRsl",filterSection:"filterSection___22RNx",filterItem:"filterItem___2-VW0",noPermissionTip:"noPermissionTip___3KH3I",tip:"tip___CcPGG",infoBar:"infoBar___2hqGy",mainEntityInfo:"mainEntityInfo___7_pqq",infoItem:"infoItem___2NwSz",infoName:"infoName___3W7On",infoValue:"infoValue___3egki",textWrapper:"textWrapper___H89lc",rightTextWrapper:"rightTextWrapper___yPncY",rightAvatar:"rightAvatar___E5la8"}},"0XgM":function(ce,R,l){},"0fbx":function(ce,R,l){},"0gSV":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.tagged=void 0;var E=l("GXnB"),m=l("Ztfv");function O(C,k){return function(A,S,y){var w=new E.Metadata(C,k);typeof y=="number"?m.tagParameter(A,S,y,w):m.tagProperty(A,S,w)}}R.tagged=O},"0jNN":function(ce,R,l){"use strict";var E=l("sxOR"),m=Object.prototype.hasOwnProperty,O=Array.isArray,C=function(){for(var B=[],U=0;U<256;++U)B.push("%"+((U<16?"0":"")+U.toString(16)).toUpperCase());return B}(),k=function(U){for(;U.length>1;){var J=U.pop(),$=J.obj[J.prop];if(O($)){for(var X=[],ee=0;ee<$.length;++ee)typeof $[ee]!="undefined"&&X.push($[ee]);J.obj[J.prop]=X}}},A=function(U,J){for(var $=J&&J.plainObjects?Object.create(null):{},X=0;X<U.length;++X)typeof U[X]!="undefined"&&($[X]=U[X]);return $},S=function B(U,J,$){if(!J)return U;if(typeof J!="object"){if(O(U))U.push(J);else if(U&&typeof U=="object")($&&($.plainObjects||$.allowPrototypes)||!m.call(Object.prototype,J))&&(U[J]=!0);else return[U,J];return U}if(!U||typeof U!="object")return[U].concat(J);var X=U;return O(U)&&!O(J)&&(X=A(U,$)),O(U)&&O(J)?(J.forEach(function(ee,ie){if(m.call(U,ie)){var G=U[ie];G&&typeof G=="object"&&ee&&typeof ee=="object"?U[ie]=B(G,ee,$):U.push(ee)}else U[ie]=ee}),U):Object.keys(J).reduce(function(ee,ie){var G=J[ie];return m.call(ee,ie)?ee[ie]=B(ee[ie],G,$):ee[ie]=G,ee},X)},y=function(U,J){return Object.keys(J).reduce(function($,X){return $[X]=J[X],$},U)},w=function(U,J,$){var X=U.replace(/\+/g," ");if($==="iso-8859-1")return X.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(X)}catch(ee){return X}},x=function(U,J,$,X,ee){if(U.length===0)return U;var ie=U;if(typeof U=="symbol"?ie=Symbol.prototype.toString.call(U):typeof U!="string"&&(ie=String(U)),$==="iso-8859-1")return escape(ie).replace(/%u[0-9a-f]{4}/gi,function(ne){return"%26%23"+parseInt(ne.slice(2),16)+"%3B"});for(var G="",Q=0;Q<ie.length;++Q){var W=ie.charCodeAt(Q);if(W===45||W===46||W===95||W===126||W>=48&&W<=57||W>=65&&W<=90||W>=97&&W<=122||ee===E.RFC1738&&(W===40||W===41)){G+=ie.charAt(Q);continue}if(W<128){G=G+C[W];continue}if(W<2048){G=G+(C[192|W>>6]+C[128|W&63]);continue}if(W<55296||W>=57344){G=G+(C[224|W>>12]+C[128|W>>6&63]+C[128|W&63]);continue}Q+=1,W=65536+((W&1023)<<10|ie.charCodeAt(Q)&1023),G+=C[240|W>>18]+C[128|W>>12&63]+C[128|W>>6&63]+C[128|W&63]}return G},T=function(U){for(var J=[{obj:{o:U},prop:"o"}],$=[],X=0;X<J.length;++X)for(var ee=J[X],ie=ee.obj[ee.prop],G=Object.keys(ie),Q=0;Q<G.length;++Q){var W=G[Q],ne=ie[W];typeof ne=="object"&&ne!==null&&$.indexOf(ne)===-1&&(J.push({obj:ie,prop:W}),$.push(ne))}return k(J),U},j=function(U){return Object.prototype.toString.call(U)==="[object RegExp]"},D=function(U){return!U||typeof U!="object"?!1:!!(U.constructor&&U.constructor.isBuffer&&U.constructor.isBuffer(U))},N=function(U,J){return[].concat(U,J)},F=function(U,J){if(O(U)){for(var $=[],X=0;X<U.length;X+=1)$.push(J(U[X]));return $}return J(U)};ce.exports={arrayToObject:A,assign:y,combine:N,compact:T,decode:w,encode:x,isBuffer:D,isRegExp:j,maybeMap:F,merge:S}},"0mDd":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=l("bniK"),m=k(E),O=l("2mcs"),C=k(O);function k(w){return w&&w.__esModule?w:{default:w}}var A=m.default.isUnitlessNumber,S={};function y(w,x,T){var j=x==null||typeof x=="boolean"||x==="";if(j)return"";var D=isNaN(x);if(D||x===0||A.hasOwnProperty(w)&&A[w])return""+x;if(typeof x=="string"){if(!1)var N,F,B,U;x=x.trim()}return x+"px"}R.default=y},"0n0R":function(ce,R,l){"use strict";l.d(R,"c",function(){return O}),l.d(R,"b",function(){return C}),l.d(R,"d",function(){return k}),l.d(R,"a",function(){return A});var E=l("q1tI"),m=l.n(E),O=E.isValidElement;function C(S){return S&&O(S)&&S.type===E.Fragment}function k(S,y,w){return O(S)?E.cloneElement(S,typeof w=="function"?w(S.props||{}):w):y}function A(S,y){return k(S,S,y)}},"0pSW":function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=m.get,k=m.toKey;E({target:"Reflect",stat:!0},{getOwnMetadata:function(S,y){var w=arguments.length<3?void 0:k(arguments[2]);return C(S,O(y),w)}})},"0qr0":function(ce,R,l){var E=l("EzR6"),m=l("FCfD");ce.exports=function(O){return E(m(O))}},"0rfJ":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SliderPointer=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.SliderPointer=function(){var y=(0,C.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return m.default.createElement("div",{style:y.picker})};R.default=A},"0vxD":function(ce,R,l){"use strict";ce.exports=l("DUzY")},"0x2o":function(ce,R,l){"use strict";/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/l("MgzW");var E=l("q1tI"),m=60103;if(R.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var O=Symbol.for;m=O("react.element"),R.Fragment=O("react.fragment")}var C=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(y,w,x){var T,j={},D=null,N=null;x!==void 0&&(D=""+x),w.key!==void 0&&(D=""+w.key),w.ref!==void 0&&(N=w.ref);for(T in w)k.call(w,T)&&!A.hasOwnProperty(T)&&(j[T]=w[T]);if(y&&y.defaultProps)for(T in w=y.defaultProps,w)j[T]===void 0&&(j[T]=w[T]);return{$$typeof:m,type:y,key:D,ref:N,props:j,_owner:C.current}}R.jsx=S,R.jsxs=S},"0ycA":function(ce,R){function l(){return[]}ce.exports=l},1:function(ce,R){},"1+5i":function(ce,R,l){var E=l("w/wX"),m=l("sEf8"),O=l("mdPL"),C=O&&O.isSet,k=C?m(C):E;ce.exports=k},"14J3":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("1GLa")},"15/o":function(ce,R,l){},"16Al":function(ce,R,l){"use strict";var E=l("WbBG");function m(){}function O(){}O.resetWarningCache=m,ce.exports=function(){function C(S,y,w,x,T,j){if(j!==E){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}}C.isRequired=C;function k(){return C}var A={array:C,bigint:C,bool:C,func:C,number:C,object:C,string:C,symbol:C,any:C,arrayOf:k,element:C,elementType:C,instanceOf:k,node:C,objectOf:k,oneOf:k,oneOfType:k,shape:k,exact:k,checkPropTypes:O,resetWarningCache:m};return A.PropTypes=A,A}},"17x9":function(ce,R,l){if(!1)var E,m;else ce.exports=l("16Al")()},"18yb":function(ce,R,l){"use strict";l.d(R,"a",function(){return y});var E=l("ODXe"),m=l("q1tI"),O=l.n(m),C=l("X9aP"),k=0,A=Object(C.a)();function S(){var w;return A?(w=k,k+=1):w="TEST_OR_SSR",w}function y(w){var x=m.useState(),T=Object(E.a)(x,2),j=T[0],D=T[1];return m.useEffect(function(){D("rc_select_".concat(S()))},[]),w||j}},"1Cbe":function(ce,R,l){var E=l("2kyd"),m=E("toStringTag"),O={};O[m]="z",ce.exports=String(O)==="[object z]"},"1GLa":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("FIfw"),C=l.n(O)},"1GRj":function(ce,R,l){"use strict";var E=l("wx14"),m=l("U8pU"),O=l("9BLJ"),C=l("VTBJ"),k=l("rePB"),A=l("ODXe"),S=l("Ff2n"),y=l("q1tI"),w=l.n(y),x=l("TSYQ"),T=l.n(x),j=/margin|padding|width|height|max|min|offset/,D={left:!0,top:!0},N={cssFloat:1,styleFloat:1,float:1};function F(Nn){return Nn.nodeType===1?Nn.ownerDocument.defaultView.getComputedStyle(Nn,null):{}}function B(Nn,Zt,rr){if(Zt=Zt.toLowerCase(),rr==="auto"){if(Zt==="height")return Nn.offsetHeight;if(Zt==="width")return Nn.offsetWidth}return Zt in D||(D[Zt]=j.test(Zt)),D[Zt]?parseFloat(rr)||0:rr}function U(Nn,Zt){var rr=arguments.length,Gn=F(Nn);return Zt=N[Zt]?"cssFloat"in Nn.style?"cssFloat":"styleFloat":Zt,rr===1?Gn:B(Nn,Zt,Gn[Zt]||Nn.style[Zt])}function J(Nn,Zt,rr){var Gn=arguments.length;if(Zt=N[Zt]?"cssFloat"in Nn.style?"cssFloat":"styleFloat":Zt,Gn===3)return typeof rr=="number"&&j.test(Zt)&&(rr="".concat(rr,"px")),Nn.style[Zt]=rr,rr;for(var ln in Zt)Zt.hasOwnProperty(ln)&&J(Nn,ln,Zt[ln]);return F(Nn)}function $(Nn){return Nn===document.body?document.documentElement.clientWidth:Nn.offsetWidth}function X(Nn){return Nn===document.body?window.innerHeight||document.documentElement.clientHeight:Nn.offsetHeight}function ee(){var Nn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Zt=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Nn,height:Zt}}function ie(){var Nn=document.documentElement.clientWidth,Zt=window.innerHeight||document.documentElement.clientHeight;return{width:Nn,height:Zt}}function G(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Q(Nn){var Zt=Nn.getBoundingClientRect(),rr=document.documentElement;return{left:Zt.left+(window.pageXOffset||rr.scrollLeft)-(rr.clientLeft||document.body.clientLeft||0),top:Zt.top+(window.pageYOffset||rr.scrollTop)-(rr.clientTop||document.body.clientTop||0)}}function W(Nn){var Zt=y.useRef();Zt.current=Nn;var rr=y.useCallback(function(){for(var Gn,ln=arguments.length,Xn=new Array(ln),Kn=0;Kn<ln;Kn++)Xn[Kn]=arguments[Kn];return(Gn=Zt.current)===null||Gn===void 0?void 0:Gn.call.apply(Gn,[Zt].concat(Xn))},[]);return rr}function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var te=ne()?y.useLayoutEffect:y.useEffect,_e=function(Zt,rr){var Gn=y.useRef(!0);te(function(){return Zt(Gn.current)},rr),te(function(){return Gn.current=!1,function(){Gn.current=!0}},[])},he=function(Zt,rr){_e(function(Gn){if(!Gn)return Zt()},rr)},oe=_e;function ge(Nn){var Zt=y.useRef(!1),rr=y.useState(Nn),Gn=Object(A.a)(rr,2),ln=Gn[0],Xn=Gn[1];y.useEffect(function(){return Zt.current=!1,function(){Zt.current=!0}},[]);function Kn(fr,Hn){Hn&&Zt.current||Xn(fr)}return[ln,Kn]}function me(Nn){return Nn!==void 0}function Z(Nn,Zt){var rr=Zt||{},Gn=rr.defaultValue,ln=rr.value,Xn=rr.onChange,Kn=rr.postState,fr=ge(function(){return me(ln)?ln:me(Gn)?typeof Gn=="function"?Gn():Gn:typeof Nn=="function"?Nn():Nn}),Hn=Object(A.a)(fr,2),Sa=Hn[0],Lr=Hn[1],Ca=ln!==void 0?ln:Sa,za=Kn?Kn(Ca):Ca,Ma=W(Xn),va=ge([Ca]),qa=Object(A.a)(va,2),gi=qa[0],Qi=qa[1];he(function(){var Cr=gi[0];Sa!==Cr&&Ma(Sa,Cr)},[gi]),he(function(){me(ln)||Lr(ln)},[ln]);var mi=W(function(Cr,Un){Lr(Cr,Un),Qi([Ca],Un)});return[za,mi]}var xe=l("hzQT"),Ee=l("i8i4"),Le=l.n(Ee);function we(Nn,Zt,rr,Gn){var ln=Le.a.unstable_batchedUpdates?function(Kn){Le.a.unstable_batchedUpdates(rr,Kn)}:rr;return Nn!=null&&Nn.addEventListener&&Nn.addEventListener(Zt,ln,Gn),{remove:function(){Nn!=null&&Nn.removeEventListener&&Nn.removeEventListener(Zt,ln,Gn)}}}var fe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Zt){var rr=Zt.keyCode;if(Zt.altKey&&!Zt.ctrlKey||Zt.metaKey||rr>=fe.F1&&rr<=fe.F12)return!1;switch(rr){case fe.ALT:case fe.CAPS_LOCK:case fe.CONTEXT_MENU:case fe.CTRL:case fe.DOWN:case fe.END:case fe.ESC:case fe.HOME:case fe.INSERT:case fe.LEFT:case fe.MAC_FF_META:case fe.META:case fe.NUMLOCK:case fe.NUM_CENTER:case fe.PAGE_DOWN:case fe.PAGE_UP:case fe.PAUSE:case fe.PRINT_SCREEN:case fe.RIGHT:case fe.SHIFT:case fe.UP:case fe.WIN_KEY:case fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Zt){if(Zt>=fe.ZERO&&Zt<=fe.NINE||Zt>=fe.NUM_ZERO&&Zt<=fe.NUM_MULTIPLY||Zt>=fe.A&&Zt<=fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Zt===0)return!0;switch(Zt){case fe.SPACE:case fe.QUESTION_MARK:case fe.NUM_PLUS:case fe.NUM_MINUS:case fe.NUM_PERIOD:case fe.NUM_DIVISION:case fe.SEMICOLON:case fe.DASH:case fe.EQUALS:case fe.COMMA:case fe.PERIOD:case fe.SLASH:case fe.APOSTROPHE:case fe.SINGLE_QUOTE:case fe.OPEN_SQUARE_BRACKET:case fe.BACKSLASH:case fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},pe=fe,Ke={},Me=[],ze=function(Zt){Me.push(Zt)};function Ue(Nn,Zt){if(!1)var rr}function He(Nn,Zt){if(!1)var rr}function Ne(){Ke={}}function it(Nn,Zt,rr){!Zt&&!Ke[rr]&&(Nn(!1,rr),Ke[rr]=!0)}function Xe(Nn,Zt){it(Ue,Nn,Zt)}function ht(Nn,Zt){it(He,Nn,Zt)}Xe.preMessage=ze,Xe.resetWarned=Ne,Xe.noteOnce=ht;var lt=Xe,Et=["visible","onVisibleChange","getContainer","current","countRender"],tt=y.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:""}),mt=tt.Provider,xt=function(Zt){var rr=Zt.previewPrefixCls,Gn=rr===void 0?"rc-image-preview":rr,ln=Zt.children,Xn=Zt.icons,Kn=Xn===void 0?{}:Xn,fr=Zt.preview,Hn=Object(m.a)(fr)==="object"?fr:{},Sa=Hn.visible,Lr=Sa===void 0?void 0:Sa,Ca=Hn.onVisibleChange,za=Ca===void 0?void 0:Ca,Ma=Hn.getContainer,va=Ma===void 0?void 0:Ma,qa=Hn.current,gi=qa===void 0?0:qa,Qi=Hn.countRender,mi=Qi===void 0?void 0:Qi,Cr=Object(S.a)(Hn,Et),Un=Object(y.useState)(new Map),Lt=Object(A.a)(Un,2),gn=Lt[0],Ln=Lt[1],kr=Object(y.useState)(),ea=Object(A.a)(kr,2),Qr=ea[0],Na=ea[1],ar=Z(!!Lr,{value:Lr,onChange:za}),pi=Object(A.a)(ar,2),_i=pi[0],ti=pi[1],ui=Object(y.useState)(null),Ri=Object(A.a)(ui,2),ao=Ri[0],Zi=Ri[1],Fi=Lr!==void 0,Si=Array.from(gn.keys()),qi=Si[gi],eo=new Map(Array.from(gn).filter(function(ba){var sa=Object(A.a)(ba,2),Da=sa[1].canPreview;return!!Da}).map(function(ba){var sa=Object(A.a)(ba,2),Da=sa[0],On=sa[1].url;return[Da,On]})),xo=function(sa,Da){var On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,xn=function(){Ln(function(mr){var ta=new Map(mr),ma=ta.delete(sa);return ma?ta:mr})};return Ln(function(Rt){return new Map(Rt).set(sa,{url:Da,canPreview:On})}),xn},cs=function(sa){sa.stopPropagation(),ti(!1),Zi(null)};return y.useEffect(function(){Na(qi)},[qi]),y.useEffect(function(){!_i&&Fi&&Na(qi)},[qi,Fi,_i]),y.createElement(mt,{value:{isPreviewGroup:!0,previewUrls:eo,setPreviewUrls:Ln,current:Qr,setCurrent:Na,setShowPreview:ti,setMousePosition:Zi,registerImage:xo}},ln,y.createElement(Pt,Object(E.a)({"aria-hidden":!_i,visible:_i,prefixCls:Gn,onClose:cs,mousePosition:ao,src:eo.get(Qr),icons:Kn,getContainer:va,countRender:mi},Cr)))},Xt=xt,vt=l("8XRh"),qe=l("bTyn"),Re=1,Se=50,Ve=1,Ge=.2,_t=function(Zt){var rr,Gn=Zt.visible,ln=Zt.maskTransitionName,Xn=Zt.getContainer,Kn=Zt.prefixCls,fr=Zt.rootClassName,Hn=Zt.icons,Sa=Zt.countRender,Lr=Zt.showSwitch,Ca=Zt.showProgress,za=Zt.current,Ma=Zt.count,va=Zt.scale,qa=Zt.onSwitchLeft,gi=Zt.onSwitchRight,Qi=Zt.onClose,mi=Zt.onZoomIn,Cr=Zt.onZoomOut,Un=Zt.onRotateRight,Lt=Zt.onRotateLeft,gn=Hn.rotateLeft,Ln=Hn.rotateRight,kr=Hn.zoomIn,ea=Hn.zoomOut,Qr=Hn.close,Na=Hn.left,ar=Hn.right,pi="".concat(Kn,"-operations-operation"),_i="".concat(Kn,"-operations-icon"),ti=[{icon:Qr,onClick:Qi,type:"close"},{icon:kr,onClick:mi,type:"zoomIn",disabled:va===Se},{icon:ea,onClick:Cr,type:"zoomOut",disabled:va===Re},{icon:Ln,onClick:Un,type:"rotateRight"},{icon:gn,onClick:Lt,type:"rotateLeft"}],ui=y.createElement(y.Fragment,null,Lr&&y.createElement(y.Fragment,null,y.createElement("div",{className:T()("".concat(Kn,"-switch-left"),Object(k.a)({},"".concat(Kn,"-switch-left-disabled"),za===0)),onClick:qa},Na),y.createElement("div",{className:T()("".concat(Kn,"-switch-right"),Object(k.a)({},"".concat(Kn,"-switch-right-disabled"),za===Ma-1)),onClick:gi},ar)),y.createElement("ul",{className:"".concat(Kn,"-operations")},Ca&&y.createElement("li",{className:"".concat(Kn,"-operations-progress")},(rr=Sa==null?void 0:Sa(za+1,Ma))!==null&&rr!==void 0?rr:"".concat(za+1," / ").concat(Ma)),ti.map(function(Ri){var ao,Zi=Ri.icon,Fi=Ri.onClick,Si=Ri.type,qi=Ri.disabled;return y.createElement("li",{className:T()(pi,(ao={},Object(k.a)(ao,"".concat(Kn,"-operations-operation-").concat(Si),!0),Object(k.a)(ao,"".concat(Kn,"-operations-operation-disabled"),!!qi),ao)),onClick:Fi,key:Si},y.isValidElement(Zi)?y.cloneElement(Zi,{className:_i}):Zi)})));return y.createElement(vt.b,{visible:Gn,motionName:ln},function(Ri){var ao=Ri.className,Zi=Ri.style;return y.createElement(qe.a,{open:!0,getContainer:Xn!=null?Xn:document.body},y.createElement("div",{className:T()("".concat(Kn,"-operations-wrapper"),ao,fr),style:Zi},ui))})},bt=_t,gt=function(Zt){return+setTimeout(Zt,16)},at=function(Zt){return clearTimeout(Zt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(gt=function(Zt){return window.requestAnimationFrame(Zt)},at=function(Zt){return window.cancelAnimationFrame(Zt)});var ft=0,Fe=new Map;function Te(Nn){Fe.delete(Nn)}var ut=function(Zt){var rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ft+=1;var Gn=ft;function ln(Xn){if(Xn===0)Te(Gn),Zt();else{var Kn=gt(function(){ln(Xn-1)});Fe.set(Gn,Kn)}}return ln(rr),Gn};ut.cancel=function(Nn){var Zt=Fe.get(Nn);return Te(Zt),at(Zt)};var le=ut,$e={x:0,y:0,rotate:0,scale:1};function Qe(Nn){var Zt=Object(y.useRef)(null),rr=Object(y.useRef)([]),Gn=Object(y.useState)($e),ln=Object(A.a)(Gn,2),Xn=ln[0],Kn=ln[1],fr=function(){Kn($e)},Hn=function(Ca){Zt.current===null&&(rr.current=[],Zt.current=le(function(){Kn(function(za){var Ma=za;return rr.current.forEach(function(va){Ma=Object(C.a)(Object(C.a)({},Ma),va)}),Zt.current=null,Ma})})),rr.current.push(Object(C.a)(Object(C.a)({},Xn),Ca))},Sa=function(Ca,za,Ma){var va=Nn.current,qa=va.width,gi=va.height,Qi=va.offsetWidth,mi=va.offsetHeight,Cr=va.offsetLeft,Un=va.offsetTop,Lt=Ca,gn=Xn.scale*Ca;gn>Se?(Lt=Se/Xn.scale,gn=Se):gn<Re&&(Lt=Re/Xn.scale,gn=Re);var Ln=za!=null?za:innerWidth/2,kr=Ma!=null?Ma:innerHeight/2,ea=Lt-1,Qr=ea*qa*.5,Na=ea*gi*.5,ar=ea*(Ln-Xn.x-Cr),pi=ea*(kr-Xn.y-Un),_i=Xn.x-(ar-Qr),ti=Xn.y-(pi-Na);if(Ca<1&&gn===1){var ui=Qi*gn,Ri=mi*gn,ao=ie(),Zi=ao.width,Fi=ao.height;ui<=Zi&&Ri<=Fi&&(_i=0,ti=0)}Hn({x:_i,y:ti,scale:gn})};return{transform:Xn,resetTransform:fr,updateTransform:Hn,dispatchZoonChange:Sa}}function Tt(Nn,Zt,rr,Gn){var ln=Zt+rr,Xn=(rr-Gn)/2;if(rr>Gn){if(Zt>0)return Object(k.a)({},Nn,Xn);if(Zt<0&&ln<Gn)return Object(k.a)({},Nn,-Xn)}else if(Zt<0||ln>Gn)return Object(k.a)({},Nn,Zt<0?Xn:-Xn);return{}}function Ot(Nn,Zt,rr,Gn){var ln=ie(),Xn=ln.width,Kn=ln.height,fr=null;return Nn<=Xn&&Zt<=Kn?fr={x:0,y:0}:(Nn>Xn||Zt>Kn)&&(fr=Object(C.a)(Object(C.a)({},Tt("x",rr,Nn,Xn)),Tt("y",Gn,Zt,Kn))),fr}var Ut=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],At=function(Zt){var rr=Zt.prefixCls,Gn=Zt.src,ln=Zt.alt,Xn=Zt.onClose,Kn=Zt.afterClose,fr=Zt.visible,Hn=Zt.icons,Sa=Hn===void 0?{}:Hn,Lr=Zt.rootClassName,Ca=Zt.getContainer,za=Zt.countRender,Ma=Zt.scaleStep,va=Ma===void 0?.5:Ma,qa=Zt.transitionName,gi=qa===void 0?"zoom":qa,Qi=Zt.maskTransitionName,mi=Qi===void 0?"fade":Qi,Cr=Object(S.a)(Zt,Ut),Un=Object(y.useRef)(),Lt=Object(y.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),gn=Object(y.useState)(!1),Ln=Object(A.a)(gn,2),kr=Ln[0],ea=Ln[1],Qr=Object(y.useContext)(tt),Na=Qr.previewUrls,ar=Qr.current,pi=Qr.isPreviewGroup,_i=Qr.setCurrent,ti=Na.size,ui=Array.from(Na.keys()),Ri=ui.indexOf(ar),ao=pi?Na.get(ar):Gn,Zi=pi&&ti>1,Fi=pi&&ti>=1,Si=Qe(Un),qi=Si.transform,eo=Si.resetTransform,xo=Si.updateTransform,cs=Si.dispatchZoonChange,ba=qi.rotate,sa=qi.scale,Da=T()(Object(k.a)({},"".concat(rr,"-moving"),kr)),On=function(){eo()},xn=function(){cs(Ve+va)},Rt=function(){cs(Ve-va)},mr=function(){xo({rotate:ba+90})},ta=function(){xo({rotate:ba-90})},ma=function(fi){fi.preventDefault(),fi.stopPropagation(),Ri>0&&_i(ui[Ri-1])},Oa=function(fi){fi.preventDefault(),fi.stopPropagation(),Ri<ti-1&&_i(ui[Ri+1])},Pn=function(){if(fr&&kr){ea(!1);var fi=Lt.current,lo=fi.transformX,Oi=fi.transformY,io=qi.x!==lo&&qi.y!==Oi;if(!io)return;var Vi=Un.current.offsetWidth*sa,vo=Un.current.offsetHeight*sa,qo=Un.current.getBoundingClientRect(),hs=qo.left,$t=qo.top,rt=ba%180!=0,Vt=Ot(rt?vo:Vi,rt?Vi:vo,hs,$t);Vt&&xo(Object(C.a)({},Vt))}},Kr=function(fi){fi.button===0&&(fi.preventDefault(),fi.stopPropagation(),Lt.current={deltaX:fi.pageX-qi.x,deltaY:fi.pageY-qi.y,transformX:qi.x,transformY:qi.y},ea(!0))},Vn=function(fi){fr&&kr&&xo({x:fi.pageX-Lt.current.deltaX,y:fi.pageY-Lt.current.deltaY})},tr=function(fi){if(!(!fr||fi.deltaY==0)){var lo=Math.abs(fi.deltaY/100),Oi=Math.min(lo,Ge),io=Ve+Oi*va;fi.deltaY>0&&(io=Ve/io),cs(io,fi.clientX,fi.clientY)}},Ea=Object(y.useCallback)(function(go){!fr||!Zi||(go.keyCode===pe.LEFT?Ri>0&&_i(ui[Ri-1]):go.keyCode===pe.RIGHT&&Ri<ti-1&&_i(ui[Ri+1]))},[Ri,ti,ui,_i,Zi,fr]),Ja=function(fi){fr&&(sa!==1?xo({x:0,y:0,scale:1}):cs(Ve+va,fi.clientX,fi.clientY))};return Object(y.useEffect)(function(){var go,fi,lo=we(window,"mouseup",Pn,!1),Oi=we(window,"mousemove",Vn,!1),io=we(window,"keydown",Ea,!1);try{window.top!==window.self&&(go=we(window.top,"mouseup",Pn,!1),fi=we(window.top,"mousemove",Vn,!1))}catch(Vi){Ue(!1,"[rc-image] ".concat(Vi))}return function(){var Vi,vo;lo.remove(),Oi.remove(),io.remove(),(Vi=go)===null||Vi===void 0||Vi.remove(),(vo=fi)===null||vo===void 0||vo.remove()}},[fr,kr,Ea]),w.a.createElement(w.a.Fragment,null,w.a.createElement(xe.a,Object(E.a)({transitionName:gi,maskTransitionName:mi,closable:!1,keyboard:!0,prefixCls:rr,onClose:Xn,afterClose:On,visible:fr,wrapClassName:Da,rootClassName:Lr,getContainer:Ca},Cr),w.a.createElement("div",{className:"".concat(rr,"-img-wrapper")},w.a.createElement("img",{width:Zt.width,height:Zt.height,onWheel:tr,onMouseDown:Kr,onDoubleClick:Ja,ref:Un,className:"".concat(rr,"-img"),src:ao,alt:ln,style:{transform:"translate3d(".concat(qi.x,"px, ").concat(qi.y,"px, 0) scale3d(").concat(sa,", ").concat(sa,", 1) rotate(").concat(ba,"deg)")}}))),w.a.createElement(bt,{visible:fr,maskTransitionName:mi,getContainer:Ca,prefixCls:rr,rootClassName:Lr,icons:Sa,countRender:za,showSwitch:Zi,showProgress:Fi,current:Ri,count:ti,scale:sa,onSwitchLeft:ma,onSwitchRight:Oa,onZoomIn:xn,onZoomOut:Rt,onRotateRight:mr,onRotateLeft:ta,onClose:Xn}))},Pt=At,Dt=["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"],Qt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons","scaleStep"],cn=0,$n=function(Zt){var rr,Gn=Zt.src,ln=Zt.alt,Xn=Zt.onPreviewClose,Kn=Zt.prefixCls,fr=Kn===void 0?"rc-image":Kn,Hn=Zt.previewPrefixCls,Sa=Hn===void 0?"".concat(fr,"-preview"):Hn,Lr=Zt.placeholder,Ca=Zt.fallback,za=Zt.width,Ma=Zt.height,va=Zt.style,qa=Zt.preview,gi=qa===void 0?!0:qa,Qi=Zt.className,mi=Zt.onClick,Cr=Zt.onError,Un=Zt.wrapperClassName,Lt=Zt.wrapperStyle,gn=Zt.rootClassName,Ln=Zt.crossOrigin,kr=Zt.decoding,ea=Zt.loading,Qr=Zt.referrerPolicy,Na=Zt.sizes,ar=Zt.srcSet,pi=Zt.useMap,_i=Zt.draggable,ti=Object(S.a)(Zt,Dt),ui=Lr&&Lr!==!0,Ri=Object(m.a)(gi)==="object"?gi:{},ao=Ri.src,Zi=Ri.visible,Fi=Zi===void 0?void 0:Zi,Si=Ri.onVisibleChange,qi=Si===void 0?Xn:Si,eo=Ri.getContainer,xo=eo===void 0?void 0:eo,cs=Ri.mask,ba=Ri.maskClassName,sa=Ri.icons,Da=Ri.scaleStep,On=Object(S.a)(Ri,Qt),xn=ao!=null?ao:Gn,Rt=Fi!==void 0,mr=Z(!!Fi,{value:Fi,onChange:qi}),ta=Object(A.a)(mr,2),ma=ta[0],Oa=ta[1],Pn=Object(y.useState)(ui?"loading":"normal"),Kr=Object(A.a)(Pn,2),Vn=Kr[0],tr=Kr[1],Ea=Object(y.useState)(null),Ja=Object(A.a)(Ea,2),go=Ja[0],fi=Ja[1],lo=Vn==="error",Oi=y.useContext(tt),io=Oi.isPreviewGroup,Vi=Oi.setCurrent,vo=Oi.setShowPreview,qo=Oi.setMousePosition,hs=Oi.registerImage,$t=y.useState(function(){return cn+=1,cn}),rt=Object(A.a)($t,1),Vt=rt[0],tn=!!gi,wn=y.useRef(!1),qn=function(){tr("normal")},zn=function(ga){Cr&&Cr(ga),tr("error")},xr=function(ga){if(!Rt){var Mr=Q(ga.target),$a=Mr.left,Ya=Mr.top;io?(Vi(Vt),qo({x:$a,y:Ya})):fi({x:$a,y:Ya})}io?vo(!0):Oa(!0),mi&&mi(ga)},da=function(ga){ga.stopPropagation(),Oa(!1),Rt||fi(null)},en=function(ga){wn.current=!1,Vn==="loading"&&ga!=null&&ga.complete&&(ga.naturalWidth||ga.naturalHeight)&&(wn.current=!0,qn())};y.useEffect(function(){var Gr=hs(Vt,xn);return Gr},[]),y.useEffect(function(){hs(Vt,xn,tn)},[xn,tn]),y.useEffect(function(){lo&&tr("normal"),ui&&!wn.current&&tr("loading")},[Gn]);var Fn=T()(fr,Un,gn,Object(k.a)({},"".concat(fr,"-error"),lo)),Jn=lo&&Ca?Ca:xn,Ir={crossOrigin:Ln,decoding:kr,draggable:_i,loading:ea,referrerPolicy:Qr,sizes:Na,srcSet:ar,useMap:pi,alt:ln,className:T()("".concat(fr,"-img"),Object(k.a)({},"".concat(fr,"-img-placeholder"),Lr===!0),Qi),style:Object(C.a)({height:Ma},va)};return y.createElement(y.Fragment,null,y.createElement("div",Object(E.a)({},ti,{className:Fn,onClick:tn?xr:mi,style:Object(C.a)({width:za,height:Ma},Lt)}),y.createElement("img",Object(E.a)({},Ir,{ref:en},lo&&Ca?{src:Ca}:{onLoad:qn,onError:zn,src:Gn},{width:za,height:Ma})),Vn==="loading"&&y.createElement("div",{"aria-hidden":"true",className:"".concat(fr,"-placeholder")},Lr),cs&&tn&&y.createElement("div",{className:T()("".concat(fr,"-mask"),ba),style:{display:((rr=Ir.style)===null||rr===void 0?void 0:rr.display)==="none"?"none":void 0}},cs)),!io&&tn&&y.createElement(Pt,Object(E.a)({"aria-hidden":!ma,visible:ma,prefixCls:Sa,onClose:da,mousePosition:go,src:Jn,alt:ln,getContainer:xo,icons:sa,scaleStep:Da,rootClassName:gn},On)))};$n.PreviewGroup=Xt,$n.displayName="Image";var hn=$n,_n=hn,bn=l("H84U"),Bn=l("D7Yy"),Tn=l("EXcs"),Tr=l("4i/N"),Sr=l("5bA4"),Wr=l("UESt"),br={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"},Wn=br,gr=l("6VBw"),na=function(Zt,rr){return y.createElement(gr.a,Object(C.a)(Object(C.a)({},Zt),{},{ref:rr,icon:Wn}))};na.displayName="RotateLeftOutlined";var jn=y.forwardRef(na),un={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"},zt=un,Bt=function(Zt,rr){return y.createElement(gr.a,Object(C.a)(Object(C.a)({},Zt),{},{ref:rr,icon:zt}))};Bt.displayName="RotateRightOutlined";var H=y.forwardRef(Bt),ot=l("C/nq"),nt=l("CqGu"),Ct=function(Nn,Zt){var rr={};for(var Gn in Nn)Object.prototype.hasOwnProperty.call(Nn,Gn)&&Zt.indexOf(Gn)<0&&(rr[Gn]=Nn[Gn]);if(Nn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ln=0,Gn=Object.getOwnPropertySymbols(Nn);ln<Gn.length;ln++)Zt.indexOf(Gn[ln])<0&&Object.prototype.propertyIsEnumerable.call(Nn,Gn[ln])&&(rr[Gn[ln]]=Nn[Gn[ln]]);return rr},Wt={rotateLeft:y.createElement(jn,null),rotateRight:y.createElement(H,null),zoomIn:y.createElement(ot.a,null),zoomOut:y.createElement(nt.a,null),close:y.createElement(Tr.a,null),left:y.createElement(Sr.a,null),right:y.createElement(Wr.a,null)},kn=function(Zt){var rr=Zt.previewPrefixCls,Gn=Zt.preview,ln=Ct(Zt,["previewPrefixCls","preview"]),Xn=y.useContext(bn.b),Kn=Xn.getPrefixCls,fr=Kn("image-preview",rr),Hn=Kn(),Sa=y.useMemo(function(){if(Gn===!1)return Gn;var Lr=Object(m.a)(Gn)==="object"?Gn:{};return Object(E.a)(Object(E.a)({},Lr),{transitionName:Object(Tn.c)(Hn,"zoom",Lr.transitionName),maskTransitionName:Object(Tn.c)(Hn,"fade",Lr.maskTransitionName)})},[Gn]);return y.createElement(_n.PreviewGroup,Object(E.a)({preview:Sa,previewPrefixCls:fr,icons:Wt},ln))},Sn=kn,Zn=function(Nn,Zt){var rr={};for(var Gn in Nn)Object.prototype.hasOwnProperty.call(Nn,Gn)&&Zt.indexOf(Gn)<0&&(rr[Gn]=Nn[Gn]);if(Nn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ln=0,Gn=Object.getOwnPropertySymbols(Nn);ln<Gn.length;ln++)Zt.indexOf(Gn[ln])<0&&Object.prototype.propertyIsEnumerable.call(Nn,Gn[ln])&&(rr[Gn[ln]]=Nn[Gn[ln]]);return rr},Or=function(Zt){var rr=Zt.prefixCls,Gn=Zt.preview,ln=Zn(Zt,["prefixCls","preview"]),Xn=Object(y.useContext)(bn.b),Kn=Xn.getPrefixCls,fr=Xn.locale,Hn=fr===void 0?Bn.a:fr,Sa=Xn.getPopupContainer,Lr=Kn("image",rr),Ca=Kn(),za=Hn.Image||Bn.a.Image,Ma=y.useMemo(function(){if(Gn===!1)return Gn;var va=Object(m.a)(Gn)==="object"?Gn:{},qa=va.getContainer,gi=Zn(va,["getContainer"]);return Object(E.a)(Object(E.a)({mask:y.createElement("div",{className:"".concat(Lr,"-mask-info")},y.createElement(O.a,null),za==null?void 0:za.preview),icons:Wt},gi),{getContainer:qa||Sa,transitionName:Object(Tn.c)(Ca,"zoom",va.transitionName),maskTransitionName:Object(Tn.c)(Ca,"fade",va.maskTransitionName)})},[Gn,za]);return y.createElement(_n,Object(E.a)({prefixCls:Lr,preview:Ma},ln))};Or.PreviewGroup=Sn;var Yn=R.a=Or},"1H91":function(ce,R,l){"use strict";var E=l("7BAe"),m=l("cTDu"),O=l("Y3g6"),C=l("bF+Q"),k=l("oa35"),A=l("arQb"),S=l("9SZg");ce.exports=function(w){var x=m(w),T=typeof this=="function"?this:Array,j=arguments.length,D=j>1?arguments[1]:void 0,N=D!==void 0,F=S(x),B=0,U,J,$,X,ee,ie;if(N&&(D=E(D,j>2?arguments[2]:void 0,2)),F!=null&&!(T==Array&&C(F)))for(X=F.call(x),ee=X.next,J=new T;!($=ee.call(X)).done;B++)ie=N?O(X,D,[$.value,B],!0):$.value,A(J,B,ie);else for(U=k(x.length),J=new T(U);U>B;B++)ie=N?D(x[B],B):x[B],A(J,B,ie);return J.length=B,J}},"1HLR":function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("q1tI"),m=l.n(E);function O(C,k,A){var S=E.useRef({});return(!("value"in S.current)||A(S.current.condition,k))&&(S.current.value=C(),S.current.condition=k),S.current.value}},"1OSk":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SketchPresetColors=void 0;var E=Object.assign||function(T){for(var j=1;j<arguments.length;j++){var D=arguments[j];for(var N in D)Object.prototype.hasOwnProperty.call(D,N)&&(T[N]=D[N])}return T},m=l("q1tI"),O=w(m),C=l("17x9"),k=w(C),A=l("/FUP"),S=w(A),y=l("UtML");function w(T){return T&&T.__esModule?T:{default:T}}var x=R.SketchPresetColors=function(j){var D=j.colors,N=j.onClick,F=N===void 0?function(){}:N,B=j.onSwatchHover,U=(0,S.default)({default:{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:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!D||!D.length}),J=function(X,ee){F({hex:X,source:"hex"},ee)};return O.default.createElement("div",{style:U.colors,className:"flexbox-fix"},D.map(function($){var X=typeof $=="string"?{color:$}:$,ee=""+X.color+(X.title||"");return O.default.createElement("div",{key:ee,style:U.swatchWrap},O.default.createElement(y.Swatch,E({},X,{style:U.swatch,onClick:J,onHover:B,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+X.color}})))}))};x.propTypes={colors:k.default.arrayOf(k.default.oneOfType([k.default.string,k.default.shape({color:k.default.string,title:k.default.string})])).isRequired},R.default=x},"1OyB":function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){if(!(m instanceof O))throw new TypeError("Cannot call a class as a function")}},"1RFy":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Sketch=void 0;var E=Object.assign||function(U){for(var J=1;J<arguments.length;J++){var $=arguments[J];for(var X in $)Object.prototype.hasOwnProperty.call($,X)&&(U[X]=$[X])}return U},m=l("q1tI"),O=F(m),C=l("17x9"),k=F(C),A=l("/FUP"),S=F(A),y=l("QkVN"),w=F(y),x=l("UtML"),T=l("2/ZD"),j=F(T),D=l("1OSk"),N=F(D);function F(U){return U&&U.__esModule?U:{default:U}}var B=R.Sketch=function(J){var $=J.width,X=J.rgb,ee=J.hex,ie=J.hsv,G=J.hsl,Q=J.onChange,W=J.onSwatchHover,ne=J.disableAlpha,te=J.presetColors,_e=J.renderers,he=J.styles,oe=he===void 0?{}:he,ge=J.className,me=ge===void 0?"":ge,Z=(0,S.default)((0,w.default)({default:E({picker:{width:$,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("+X.r+","+X.g+","+X.b+","+X.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)"}},oe),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},oe),{disableAlpha:ne});return O.default.createElement("div",{style:Z.picker,className:"sketch-picker "+me},O.default.createElement("div",{style:Z.saturation},O.default.createElement(x.Saturation,{style:Z.Saturation,hsl:G,hsv:ie,onChange:Q})),O.default.createElement("div",{style:Z.controls,className:"flexbox-fix"},O.default.createElement("div",{style:Z.sliders},O.default.createElement("div",{style:Z.hue},O.default.createElement(x.Hue,{style:Z.Hue,hsl:G,onChange:Q})),O.default.createElement("div",{style:Z.alpha},O.default.createElement(x.Alpha,{style:Z.Alpha,rgb:X,hsl:G,renderers:_e,onChange:Q}))),O.default.createElement("div",{style:Z.color},O.default.createElement(x.Checkboard,null),O.default.createElement("div",{style:Z.activeColor}))),O.default.createElement(j.default,{rgb:X,hsl:G,hex:ee,onChange:Q,disableAlpha:ne}),O.default.createElement(N.default,{colors:te,onClick:Q,onSwatchHover:W}))};B.propTypes={disableAlpha:k.default.bool,width:k.default.oneOfType([k.default.string,k.default.number]),styles:k.default.object},B.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},R.default=(0,x.ColorWrap)(B)},"1WJl":function(ce,R,l){"use strict";ce.exports=function E(m,O){if(m===O)return!0;if(m&&O&&typeof m=="object"&&typeof O=="object"){if(m.constructor!==O.constructor)return!1;var C,k,A;if(Array.isArray(m)){if(C=m.length,C!=O.length)return!1;for(k=C;k--!=0;)if(!E(m[k],O[k]))return!1;return!0}if(m.constructor===RegExp)return m.source===O.source&&m.flags===O.flags;if(m.valueOf!==Object.prototype.valueOf)return m.valueOf()===O.valueOf();if(m.toString!==Object.prototype.toString)return m.toString()===O.toString();if(A=Object.keys(m),C=A.length,C!==Object.keys(O).length)return!1;for(k=C;k--!=0;)if(!Object.prototype.hasOwnProperty.call(O,A[k]))return!1;for(k=C;k--!=0;){var S=A[k];if(!E(m[S],O[S]))return!1}return!0}return m!==m&&O!==O}},"1YHl":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("15/o"),C=l.n(O)},"1aI8":function(ce,R,l){var E=l("ZkJ9"),m=l("ukPv"),O=l("tSXo"),C=l("lz10"),k=l("jtLI"),A=l("CjUg"),S=l("6ixQ"),y=m.WeakMap,w,x,T,j=function($){return T($)?x($):w($,{})},D=function($){return function(X){var ee;if(!O(X)||(ee=x(X)).type!==$)throw TypeError("Incompatible receiver, "+$+" required");return ee}};if(E){var N=new y,F=N.get,B=N.has,U=N.set;w=function($,X){return U.call(N,$,X),X},x=function($){return F.call(N,$)||{}},T=function($){return B.call(N,$)}}else{var J=A("state");S[J]=!0,w=function($,X){return C($,J,X),X},x=function($){return k($,J)?$[J]:{}},T=function($){return k($,J)}}ce.exports={set:w,get:x,has:T,enforce:j,getterFor:D}},"1cr7":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=C;var E=["-webkit-","-moz-",""],m={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},O={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};function C(k,A){if(m.hasOwnProperty(k)&&O.hasOwnProperty(A))return E.map(function(S){return S+A})}ce.exports=R.default},"1fhP":function(ce,R,l){"use strict";l.r(R);var E=l("Znn+"),m=l("ZTPi"),O=l("Q9mQ"),C=l("diRs"),k=l("qLMh"),A=l("miYZ"),S=l("tsqr"),y=l("9og8"),w=l("tJVT"),x=l("q1tI"),T=l("Ty5D"),j=l("9kvl"),D=l("9JVj"),N=l("L+An"),F=l.n(N),B=l("8Skl"),U=l("DYRE"),J=l("zeV3"),$=l("k1fw"),X=l("hFxe"),ee=l("nhC9"),ie=l("+L6B"),G=l("2/Rp"),Q=l("OaEy"),W=l("2fM7"),ne=l("5NDa"),te=l("5rEg"),_e=l("y8nQ"),he=l("Vl3Y"),oe=l("Aw1E"),ge=l("sjmD"),me=function(Fe){if(!(Fe!=null&&Fe.chatDefaultConfig))return{};var Te=Fe.chatDefaultConfig,ut=Fe.entity,le={dimensionIds:[],metricIds:[]},$e=Te||{},Qe=$e.dimensions,Tt=$e.metrics;Array.isArray(Qe)&&(le.dimensionIds=Qe.map(function(Dt){return Dt.id})),Array.isArray(Tt)&&(le.metricIds=Tt.map(function(Dt){return Dt.id}));var Ot={};if(ut){var Ut=ut.dimItem,At=(Ut==null?void 0:Ut.id)||null,Pt=ut.names||[];Ot={entity:Object($.a)(Object($.a)({},ut),{},{entityId:At,name:Pt.join(",")})}}return Object($.a)(Object($.a)(Object($.a)({},Fe),Ot),{},{chatDefaultConfig:Object($.a)(Object($.a)({},Te),le)})},Z=function(Fe,Te){return"".concat(Fe,"-").concat(Te)},xe=function(Fe){var Te=Fe.reduce(function(ut,le){var $e=le.split("-"),Qe=Object(w.a)($e,2),Tt=Qe[0],Ot=Qe[1];return Ot&&(Tt===ge.b.DIMENSION&&ut.dimensionIds.push(Number(Ot)),Tt===ge.b.METRIC&&ut.metricIds.push(Number(Ot))),ut},{dimensionIds:[],metricIds:[]});return Te},Ee=l("nKUr"),Le=he.a.Item,we=function(Fe,Te){var ut=Fe.entityData,le=Fe.dimensionList,$e=Fe.domainId,Qe=Fe.onSubmit,Tt=he.a.useForm(),Ot=Object(w.a)(Tt,1),Ut=Ot[0],At=me(ut),Pt=Object(x.useState)([]),Dt=Object(w.a)(Pt,2),Qt=Dt[0],cn=Dt[1],$n=function(){var _n=Object(y.a)(Object(k.a)().mark(function bn(){return Object(k.a)().wrap(function(Tn){for(;;)switch(Tn.prev=Tn.next){case 0:return Tn.next=2,Ut.validateFields();case 2:return Tn.abrupt("return",Tn.sent);case 3:case"end":return Tn.stop()}},bn)}));return function(){return _n.apply(this,arguments)}}();Object(x.useEffect)(function(){Ut.resetFields(),!!(ut!=null&&ut.entity)&&Ut.setFieldsValue(Object($.a)(Object($.a)({},At.entity),{},{id:At.id}))},[ut]),Object(x.useImperativeHandle)(Te,function(){return{getFormValidateFields:$n}}),Object(x.useEffect)(function(){var _n=le.map(function(bn){return{label:bn.name,value:bn.id}});cn(_n)},[le]);var hn=function(){var _n=Object(y.a)(Object(k.a)().mark(function bn(){var Bn,Tn,Tr,Sr,Wr,br,Wn,gr;return Object(k.a)().wrap(function(jn){for(;;)switch(jn.prev=jn.next){case 0:return jn.next=2,Ut.validateFields();case 2:return Bn=jn.sent,Tn=Bn.id,Tr=Bn.name,Sr=X.a,Tn&&(Sr=X.n),jn.next=8,Sr({chatDetailConfig:Object($.a)(Object($.a)({},At),{},{entity:Object($.a)(Object($.a)({},Bn),{},{names:Tr.split(",")})}),id:Tn,domainId:$e});case 8:if(Wr=jn.sent,br=Wr.code,Wn=Wr.msg,gr=Wr.data,br!==200){jn.next=17;break}return Ut.setFieldValue("id",gr),Qe==null||Qe(),S.default.success("\u4FDD\u5B58\u6210\u529F"),jn.abrupt("return");case 17:S.default.error(Wn);case 18:case"end":return jn.stop()}},bn)}));return function(){return _n.apply(this,arguments)}}();return Object(Ee.jsx)(Ee.Fragment,{children:Object(Ee.jsxs)(he.a,Object($.a)(Object($.a)({},oe.a),{},{form:Ut,layout:"vertical",className:F.a.form,children:[Object(Ee.jsx)(Le,{hidden:!0,name:"id",label:"ID",children:Object(Ee.jsx)(te.a,{placeholder:"id"})}),Object(Ee.jsx)(Le,{name:"name",label:"\u5B9E\u4F53\u522B\u540D",children:Object(Ee.jsx)(te.a,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u4F53\u522B\u540D,\u591A\u4E2A\u540D\u79F0\u4EE5\u82F1\u6587\u9017\u53F7\u5206\u9694"})}),Object(Ee.jsx)(Le,{name:"entityId",label:"\u552F\u4E00\u6807\u8BC6",children:Object(Ee.jsx)(W.a,{allowClear:!0,style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u4E3B\u4F53\u6807\u8BC6",options:Qt})}),Object(Ee.jsx)(Le,{children:Object(Ee.jsx)(G.a,{type:"primary",onClick:function(){hn()},children:"\u4FDD \u5B58"})})]}))})},fe=Object(x.forwardRef)(we),pe=l("giR+"),Ke=l("fyUT"),Me=l("jrin"),ze=l("oBTY"),Ue=l("NgHe"),He=l("VnvH"),Ne=he.a.Item,it=W.a.Option,Xe=function(Fe,Te){var ut=Fe.metricList,le=Fe.dimensionList,$e=Fe.domainId,Qe=Fe.entityData,Tt=Fe.chatConfigKey,Ot=Fe.chatConfigType,Ut=Fe.onSubmit,At=he.a.useForm(),Pt=Object(w.a)(At,1),Dt=Pt[0],Qt=Object(x.useState)([]),cn=Object(w.a)(Qt,2),$n=cn[0],hn=cn[1],_n=Object(x.useState)(),bn=Object(w.a)(_n,2),Bn=bn[0],Tn=bn[1],Tr=Object(x.useState)(),Sr=Object(w.a)(Tr,2),Wr=Sr[0],br=Sr[1],Wn=Object(x.useState)([]),gr=Object(w.a)(Wn,2),na=gr[0],jn=gr[1],un=me(Qe),zt=function(){var ot=Object(y.a)(Object(k.a)().mark(function nt(){return Object(k.a)().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return Wt.next=2,Dt.validateFields();case 2:return Wt.abrupt("return",Wt.sent);case 3:case"end":return Wt.stop()}},nt)}));return function(){return ot.apply(this,arguments)}}();Object(x.useImperativeHandle)(Te,function(){return{getFormValidateFields:zt}}),Object(x.useEffect)(function(){if(Dt.resetFields(),Tn(null),br(""),!!(Qe!=null&&Qe.chatDefaultConfig)){var ot=un.chatDefaultConfig,nt=un.id,Ct=ot.period,Wt=ot.unit;Tn(Wt),br(Ct),Dt.setFieldsValue(Object($.a)(Object($.a)({},ot),{},{id:nt})),Ot===ge.a.DETAIL&&Bt(ot)}},[Qe,na]);var Bt=function(nt){var Ct=nt.dimensionIds,Wt=nt.metricIds,kn=Ct.map(function(Zn){return Z(ge.b.DIMENSION,Zn)}),Sn=Wt.map(function(Zn){return Z(ge.b.METRIC,Zn)});Dt.setFieldsValue({dataItemIds:[].concat(Object(ze.a)(kn),Object(ze.a)(Sn))})};Object(x.useEffect)(function(){var ot=ut.map(function(nt){return{label:nt.name,value:nt.id}});hn(ot)},[ut]),Object(x.useEffect)(function(){if(Array.isArray(le)&&Array.isArray(ut)){var ot=le.map(function(Ct){var Wt=Ct.name,kn=Ct.id,Sn=Ct.bizName;return{name:Wt,label:Object(Ee.jsxs)(Ee.Fragment,{children:[Object(Ee.jsx)(He.a,{type:ge.b.DIMENSION}),Wt]}),value:Z(ge.b.DIMENSION,kn),bizName:Sn,id:kn,transType:ge.b.DIMENSION}}),nt=ut.map(function(Ct){var Wt=Ct.name,kn=Ct.id,Sn=Ct.bizName;return{name:Wt,label:Object(Ee.jsxs)(Ee.Fragment,{children:[Object(Ee.jsx)(He.a,{type:ge.b.METRIC}),Wt]}),value:Z(ge.b.METRIC,kn),bizName:Sn,id:kn,transType:ge.b.METRIC}});jn([].concat(Object(ze.a)(ot),Object(ze.a)(nt)))}},[le,ut]);var H=function(){var ot=Object(y.a)(Object(k.a)().mark(function nt(){var Ct,Wt,kn,Sn,Zn,Or,Yn,Nn,Zt,rr,Gn,ln,Xn,Kn;return Object(k.a)().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:return Hn.next=2,Dt.validateFields();case 2:return Wt=Hn.sent,kn=Wt.id,Sn=Wt.dataItemIds,Zn={},Sn&&(Or=xe(Sn),Yn=Or.dimensionIds,Nn=Or.metricIds,Zn={dimensionIds:Yn,metricIds:Nn}),Zt=X.a,kn&&(Zt=X.n),rr=Object($.a)(Object($.a)({},un),{},{chatDefaultConfig:Object($.a)(Object($.a)({},Wt),Zn)}),Hn.next=11,Zt((Ct={},Object(Me.a)(Ct,Tt,rr),Object(Me.a)(Ct,"domainId",$e),Object(Me.a)(Ct,"id",kn),Ct));case 11:if(Gn=Hn.sent,ln=Gn.code,Xn=Gn.msg,Kn=Gn.data,ln!==200){Hn.next=20;break}return Dt.setFieldValue("id",Kn),Ut==null||Ut(),S.default.success("\u4FDD\u5B58\u6210\u529F"),Hn.abrupt("return");case 20:S.default.error(Xn);case 21:case"end":return Hn.stop()}},nt)}));return function(){return ot.apply(this,arguments)}}();return Object(Ee.jsx)(Ee.Fragment,{children:Object(Ee.jsxs)(he.a,Object($.a)(Object($.a)({},oe.a),{},{form:Dt,layout:"vertical",className:F.a.form,initialValues:{unit:7,period:"DAY"},children:[Object(Ee.jsx)(Ne,{hidden:!0,name:"id",label:"ID",children:Object(Ee.jsx)(te.a,{placeholder:"id"})}),Ot===ge.a.DETAIL&&Object(Ee.jsx)(Ne,{name:"dataItemIds",label:"\u5C55\u793A\u7EF4\u5EA6/\u6307\u6807",children:Object(Ee.jsx)(W.a,{mode:"multiple",allowClear:!0,style:{width:"100%"},optionLabelProp:"name",filterOption:function(nt,Ct){var Wt=Ct.name;return!!Wt.includes(nt)},placeholder:"\u8BF7\u9009\u62E9\u5C55\u793A\u7EF4\u5EA6/\u6307\u6807\u4FE1\u606F",options:na})}),Ot===ge.a.AGG&&Object(Ee.jsx)(Ne,{name:"metricIds",label:Object(Ee.jsx)(Ue.a,{title:"\u6307\u6807",subTitle:"\u95EE\u7B54\u641C\u7D22\u7ED3\u679C\u9009\u62E9\u4E2D\uFF0C\u5982\u679C\u6CA1\u6709\u6307\u5B9A\u6307\u6807\uFF0C\u5C06\u4F1A\u91C7\u7528\u9ED8\u8BA4\u6307\u6807\u8FDB\u884C\u5C55\u793A"}),children:Object(Ee.jsx)(W.a,{mode:"multiple",allowClear:!0,style:{width:"100%"},filterOption:function(nt,Ct){var Wt=Ct.label;return!!Wt.includes(nt)},placeholder:"\u8BF7\u9009\u62E9\u5C55\u793A\u6307\u6807\u4FE1\u606F",options:$n})}),Object(Ee.jsx)(Ne,{label:Object(Ee.jsx)(Ue.a,{title:"\u65F6\u95F4\u8303\u56F4",subTitle:"\u95EE\u7B54\u641C\u7D22\u7ED3\u679C\u9009\u62E9\u4E2D\uFF0C\u5982\u679C\u6CA1\u6709\u6307\u5B9A\u65F6\u95F4\u8303\u56F4\uFF0C\u5C06\u4F1A\u91C7\u7528\u9ED8\u8BA4\u65F6\u95F4\u8303\u56F4"}),children:Object(Ee.jsxs)(te.a.Group,{compact:!0,children:[Object(Ee.jsx)("span",{style:{display:"inline-block",lineHeight:"32px",marginRight:"8px"},children:Ot===ge.a.DETAIL?"\u524D":"\u6700\u8FD1"}),Object(Ee.jsx)(Ke.a,{value:Bn,style:{width:"120px"},onChange:function(nt){Tn(nt),Dt.setFieldValue("unit",nt)}}),Object(Ee.jsxs)(W.a,{value:Wr,style:{width:"100px"},onChange:function(nt){Dt.setFieldValue("period",nt),br(nt)},children:[Object(Ee.jsx)(it,{value:"DAY",children:"\u5929"}),Object(Ee.jsx)(it,{value:"WEEK",children:"\u5468"}),Object(Ee.jsx)(it,{value:"MONTH",children:"\u6708"}),Object(Ee.jsx)(it,{value:"YEAR",children:"\u5E74"})]})]})}),Object(Ee.jsx)(Ne,{name:"unit",hidden:!0,children:Object(Ee.jsx)(Ke.a,{})}),Object(Ee.jsx)(Ne,{name:"period",hidden:!0,children:Object(Ee.jsx)(te.a,{})}),Object(Ee.jsx)(Ne,{children:Object(Ee.jsx)(G.a,{type:"primary",onClick:function(){H()},children:"\u4FDD \u5B58"})})]}))})},ht=Object(x.forwardRef)(Xe),lt=l("2qtc"),Et=l("kLXV"),tt=l("+uh/"),mt=l("nRAU"),xt={blackIdListKey:"blackDimIdList",visibleIdListKey:"whiteDimIdList",modalTitle:"\u95EE\u7B54\u53EF\u89C1\u4FE1\u606F",titles:["\u4E0D\u53EF\u89C1\u7EF4\u5EA6/\u6307\u6807","\u53EF\u89C1\u7EF4\u5EA6/\u6307\u6807"]},Xt=function(Fe){var Te=Fe.domainId,ut=Fe.visible,le=Fe.entityData,$e=le===void 0?{}:le,Qe=Fe.chatConfigKey,Tt=Fe.settingSourceList,Ot=Fe.onCancel,Ut=Fe.onSubmit,At=Object(x.useState)([]),Pt=Object(w.a)(At,2),Dt=Pt[0],Qt=Pt[1],cn=xt,$n=me($e),hn=Object(x.useState)({}),_n=Object(w.a)(hn,2),bn=_n[0],Bn=_n[1],Tn=Object(x.useRef)(),Tr=Object(x.useState)(),Sr=Object(w.a)(Tr,2),Wr=Sr[0],br=Sr[1];Object(x.useEffect)(function(){if($e!=null&&$e.visibility&&Array.isArray(Tt)){var un=$e.visibility,zt=un.whiteDimIdList,Bt=un.whiteMetricIdList,H=zt.map(function(Ct){return Z(ge.b.DIMENSION,Ct)}),ot=Bt.map(function(Ct){return Z(ge.b.METRIC,Ct)});Qt([].concat(Object(ze.a)(H),Object(ze.a)(ot)))}if($e!=null&&$e.globalKnowledgeConfig&&br($e.globalKnowledgeConfig),Array.isArray($e==null?void 0:$e.knowledgeInfos)){var nt=$e.knowledgeInfos.reduce(function(Ct,Wt){var kn=Wt.bizName;return Ct[kn]=Wt,Ct},{});Bn(nt)}},[$e,Tt]);var Wn=function(){var un=Object(y.a)(Object(k.a)().mark(function zt(){var Bt,H,ot,nt,Ct,Wt,kn,Sn,Zn,Or,Yn,Nn,Zt;return Object(k.a)().wrap(function(Gn){for(;;)switch(Gn.prev=Gn.next){case 0:return Gn.next=2,Tn==null||(Bt=Tn.current)===null||Bt===void 0||(H=Bt.getFormValidateFields)===null||H===void 0?void 0:H.call(Bt);case 2:return nt=Gn.sent,Ct=$e.globalKnowledgeConfig,nt&&(Ct=nt),Wt=$e.id,kn=X.a,Wt&&(kn=X.n),Sn=Tt.reduce(function(ln,Xn){var Kn=Xn.id,fr=Xn.transType;return Dt.includes(Z(fr,Kn))||(fr===ge.b.DIMENSION&&ln.blackDimIdList.push(Kn),fr===ge.b.METRIC&&ln.blackMetricIdList.push(Kn)),ln},{blackDimIdList:[],blackMetricIdList:[]}),Zn=Object.keys(bn).reduce(function(ln,Xn){var Kn=bn[Xn];return Kn.searchEnable&&ln.push(Kn),ln},[]),Or=Object($.a)(Object($.a)({},$n),{},{visibility:Sn,knowledgeInfos:Zn},Ct?{globalKnowledgeConfig:Ct}:{}),Gn.next=13,kn((ot={},Object(Me.a)(ot,Qe,Or),Object(Me.a)(ot,"domainId",Te),Object(Me.a)(ot,"id",Wt),ot));case 13:if(Yn=Gn.sent,Nn=Yn.code,Zt=Yn.msg,Nn!==200){Gn.next=20;break}return Ut==null||Ut(),S.default.success("\u4FDD\u5B58\u6210\u529F"),Gn.abrupt("return");case 20:S.default.error(Zt);case 21:case"end":return Gn.stop()}},zt)}));return function(){return un.apply(this,arguments)}}(),gr=function(zt){Qt(zt)},na=function(){return Object(Ee.jsxs)(Ee.Fragment,{children:[Object(Ee.jsx)(G.a,{onClick:Ot,children:"\u53D6\u6D88"}),Object(Ee.jsx)(G.a,{type:"primary",onClick:function(){Wn()},children:"\u5B8C\u6210"})]})},jn=[{label:"\u53EF\u89C1\u8BBE\u7F6E",key:"visibleSetting",children:Object(Ee.jsx)(tt.a,{onKnowledgeInfosMapChange:function(zt){Bn(zt)},knowledgeInfosMap:bn,titles:cn.titles,sourceList:Tt,targetList:Dt,onChange:function(zt){gr(zt)}})},{label:"\u5168\u5C40\u7EF4\u5EA6\u503C\u8FC7\u6EE4",key:"dimensionValueFilter",children:Object(Ee.jsx)(mt.a,{initialValues:Wr,ref:Tn})}];return Object(Ee.jsx)(Ee.Fragment,{children:Object(Ee.jsx)(Et.a,{width:1200,destroyOnClose:!0,title:cn.modalTitle,maskClosable:!1,open:ut,footer:na(),onCancel:Ot,children:Object(Ee.jsx)(m.a,{items:jn,defaultActiveKey:"visibleSetting"})})})},vt=Xt,qe=he.a.Item,Re=function(Fe){var Te=Fe.domainId,ut=Fe.metricList,le=Fe.dimensionList,$e=Fe.entityData,Qe=Fe.chatConfigKey,Tt=Fe.onSubmit,Ot=Object(x.useState)(!1),Ut=Object(w.a)(Ot,2),At=Ut[0],Pt=Ut[1];return Object(Ee.jsxs)(Ee.Fragment,{children:[Object(Ee.jsx)(he.a,Object($.a)(Object($.a)({},oe.a),{},{children:Object(Ee.jsx)(qe,{label:Object(Ee.jsx)(Ue.a,{title:"\u53EF\u89C1\u7EF4\u5EA6/\u6307\u6807",subTitle:"\u8BBE\u7F6E\u53EF\u89C1\u540E\uFF0C\u5C06\u5141\u8BB8\u5728\u95EE\u7B54\u4E2D\u88AB\u4F7F\u7528"}),children:Object(Ee.jsx)(G.a,{type:"primary",onClick:function(){Pt(!0)},children:"\u8BBE \u7F6E"})})})),At&&Object(Ee.jsx)(vt,{domainId:Te,entityData:$e,chatConfigKey:Qe,settingSourceList:[].concat(Object(ze.a)(le.map(function(Dt){var Qt=ge.b.DIMENSION,cn=Dt.id;return Object($.a)(Object($.a)({},Dt),{},{transType:Qt,key:Z(Qt,cn)})})),Object(ze.a)(ut.map(function(Dt){var Qt=ge.b.METRIC,cn=Dt.id;return Object($.a)(Object($.a)({},Dt),{},{transType:Qt,key:Z(Qt,cn)})}))),visible:At,onCancel:function(){Pt(!1)},onSubmit:function(){Tt==null||Tt(),Pt(!1)}})]})},Se=Object(x.forwardRef)(Re),Ve=function(Fe){var Te=Fe.domainManger,ut=Fe.dispatch,le=Fe.chatConfigType,$e=le===void 0?ge.a.DETAIL:le,Qe=Te.selectDomainId,Tt=Te.dimensionList,Ot=Te.metricList,Ut=Object(x.useState)(),At=Object(w.a)(Ut,2),Pt=At[0],Dt=At[1],Qt=Object(x.useRef)({}),cn=function(){var hn=Object(y.a)(Object(k.a)().mark(function _n(){var bn,Bn,Tn,Tr,Sr,Wr,br;return Object(k.a)().wrap(function(gr){for(;;)switch(gr.prev=gr.next){case 0:return gr.next=2,Object(X.w)({domainId:Qe});case 2:if(bn=gr.sent,Bn=bn.code,Tn=bn.data,Bn!==200){gr.next=10;break}return Tr=Tn.chatAggRichConfig,Sr=Tn.chatDetailRichConfig,Wr=Tn.id,br=Tn.domainId,$e===ge.a.DETAIL&&Dt(Object($.a)(Object($.a)({},Sr),{},{id:Wr,domainId:br})),$e===ge.a.AGG&&Dt(Object($.a)(Object($.a)({},Tr),{},{id:Wr,domainId:br})),gr.abrupt("return");case 10:S.default.error("\u83B7\u53D6\u95EE\u7B54\u8BBE\u7F6E\u4FE1\u606F\u5931\u8D25");case 11:case"end":return gr.stop()}},_n)}));return function(){return hn.apply(this,arguments)}}(),$n=function(){var hn=Object(y.a)(Object(k.a)().mark(function _n(){return Object(k.a)().wrap(function(Bn){for(;;)switch(Bn.prev=Bn.next){case 0:cn();case 1:case"end":return Bn.stop()}},_n)}));return function(){return hn.apply(this,arguments)}}();return Object(x.useEffect)(function(){$n()},[Qe]),Object(Ee.jsx)("div",{style:{width:800,margin:"0 auto"},children:Object(Ee.jsxs)(J.b,{direction:"vertical",style:{width:"100%"},size:20,children:[$e==="detail"&&Pt&&Object(Ee.jsx)(ee.a,{title:"\u5B9E\u4F53",bordered:!0,children:Object(Ee.jsx)(fe,{ref:Qt,domainId:Number(Qe),entityData:Pt,dimensionList:Tt.filter(function(hn){var _n,bn=Pt==null||(_n=Pt.visibility)===null||_n===void 0?void 0:_n.blackDimIdList;return Array.isArray(bn)?!bn.includes(hn.id):!1}),onSubmit:function(){cn()}})}),Object(Ee.jsx)(ee.a,{bordered:!0,title:"\u95EE\u7B54\u53EF\u89C1",children:Object(Ee.jsx)(Se,{chatConfigKey:$e===ge.a.DETAIL?"chatDetailConfig":"chatAggConfig",entityData:Pt||{},domainId:Number(Qe),metricList:Ot,dimensionList:Tt,onSubmit:function(){var _n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_n.from==="dimensionSearchVisible"&&ut({type:"domainManger/queryDimensionList",payload:{domainId:Qe}}),cn()}})}),Object(Ee.jsx)(ee.a,{bordered:!0,title:"\u9ED8\u8BA4\u8BBE\u7F6E",children:Object(Ee.jsx)(ht,{domainId:Number(Qe),entityData:Pt||{},chatConfigType:$e,chatConfigKey:$e===ge.a.DETAIL?"chatDetailConfig":"chatAggConfig",dimensionList:Tt.filter(function(hn){var _n,bn=Pt==null||(_n=Pt.visibility)===null||_n===void 0?void 0:_n.blackDimIdList;return Array.isArray(bn)?!bn.includes(hn.id):!1}),metricList:Ot.filter(function(hn){var _n,bn=Pt==null||(_n=Pt.visibility)===null||_n===void 0?void 0:_n.blackMetricIdList;return Array.isArray(bn)?!bn.includes(hn.id):!1}),onSubmit:function(){cn()}})})]})})},Ge=Object(j.c)(function(ft){var Fe=ft.domainManger;return{domainManger:Fe}})(Ve),_t=l("/71f"),bt=l("MVZ2"),gt=function(Fe){var Te=Fe.domainManger,ut=Fe.dispatch;window.RUNNING_ENV="chat";var le="metric",$e=Object(T.l)(),Qe=$e.menuKey?$e.menuKey:le,Tt=$e.modelId,Ot=Te.selectDomainId,Ut=Te.selectDomainName,At=Te.domainList,Pt=Object(x.useState)([]),Dt=Object(w.a)(Pt,2),Qt=Dt[0],cn=Dt[1],$n=Object(x.useState)(!1),hn=Object(w.a)($n,2),_n=hn[0],bn=hn[1],Bn=Object(x.useState)(!1),Tn=Object(w.a)(Bn,2),Tr=Tn[0],Sr=Tn[1],Wr=Object(x.useState)(Qe),br=Object(w.a)(Wr,2),Wn=br[0],gr=br[1],na=function(nt){bn(nt)};Object(x.useEffect)(function(){Ot&&(ut({type:"domainManger/queryDimensionList",payload:{domainId:Ot}}),ut({type:"domainManger/queryMetricList",payload:{domainId:Ot}}),zt(Ot,Qe))},[Ot]),Object(x.useEffect)(function(){if(!!Ot){var ot=Object(bt.d)(At,Ot);if(cn(ot),Array.isArray(ot)&&ot.length>0)Sr(!1),zt(Ot,"overview"),gr("overview");else{Sr(!0);var nt=Qe==="overview"?le:Qe;zt(Ot,nt),gr(nt)}}},[At,Ot]);var jn=function(nt){var Ct=nt.filter(function(Yn){return"".concat(Yn.id)===Tt})[0];if(Ct){var Zn=Ct.id,Or=Ct.name;ut({type:"domainManger/setSelectDomain",selectDomainId:Zn,selectDomainName:Or,domainData:Ct})}else{var Wt=nt.filter(function(Yn){return Yn.parentId===0})[0];if(Wt){var kn=Wt.id,Sn=Wt.name;ut({type:"domainManger/setSelectDomain",selectDomainId:kn,selectDomainName:Sn,domainData:Wt})}}},un=function(){var ot=Object(y.a)(Object(k.a)().mark(function nt(){var Ct,Wt,kn,Sn;return Object(k.a)().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return Or.next=2,Object(X.x)();case 2:Ct=Or.sent,Wt=Ct.code,kn=Ct.data,Sn=Ct.msg,Wt===200?(Ot||jn(kn),ut({type:"domainManger/setDomainList",payload:{domainList:kn}})):S.default.error(Sn);case 7:case"end":return Or.stop()}},nt)}));return function(){return ot.apply(this,arguments)}}();Object(x.useEffect)(function(){un()},[]);var zt=function(nt,Ct){j.d.push("/chatSetting/".concat(nt,"/").concat(Ct))},Bt=[{label:"\u5B50\u4E3B\u9898\u57DF",key:"overview",children:Object(Ee.jsx)(_t.a,{modelList:Qt})}],H=[{label:"\u6307\u6807\u573A\u666F",key:"metric",children:Object(Ee.jsx)(Ge,{chatConfigType:ge.a.AGG})},{label:"\u660E\u7EC6\u573A\u666F",key:"dimenstion",children:Object(Ee.jsx)(Ge,{chatConfigType:ge.a.DETAIL})}];return Object(Ee.jsxs)("div",{className:F.a.projectBody,children:[Object(Ee.jsx)(j.a,{title:"\u95EE\u7B54\u8BBE\u7F6E-\u8D85\u97F3\u6570"}),Object(Ee.jsxs)("div",{className:F.a.projectManger,children:[Object(Ee.jsx)("h2",{className:F.a.title,children:Object(Ee.jsx)(C.a,{zIndex:1e3,overlayInnerStyle:{overflow:"scroll",maxHeight:"800px"},content:Object(Ee.jsx)(D.a,{createDomainBtnVisible:!1,onTreeSelected:function(){bn(!1)}}),trigger:"click",open:_n,onOpenChange:na,children:Object(Ee.jsxs)("div",{className:F.a.domainSelector,children:[Object(Ee.jsx)("span",{className:F.a.domainTitle,children:Ut?"\u9009\u62E9\u7684\u4E3B\u9898\u57DF\uFF1A".concat(Ut):"\u4E3B\u9898\u57DF\u4FE1\u606F"}),Object(Ee.jsx)("span",{className:F.a.downIcon,children:Object(Ee.jsx)(B.a,{})})]})})}),Ot?Object(Ee.jsx)(Ee.Fragment,{children:Object(Ee.jsx)(m.a,{className:F.a.tab,activeKey:Wn,destroyInactiveTabPane:!0,onChange:function(nt){gr(nt),zt(Ot,nt)},items:Tr?H:Bt})}):Object(Ee.jsx)("h2",{className:F.a.mainTip,children:"\u8BF7\u9009\u62E9\u9879\u76EE"})]})]})},at=R.default=Object(j.c)(function(ft){var Fe=ft.domainManger;return{domainManger:Fe}})(gt)},"1gO8":function(ce,R,l){"use strict";l.d(R,"b",function(){return w});var E={},m=[],O=function(T){m.push(T)};function C(x,T){if(!1)var j}function k(x,T){if(!1)var j}function A(){E={}}function S(x,T,j){!T&&!E[j]&&(x(!1,j),E[j]=!0)}function y(x,T){S(C,x,T)}function w(x,T){S(k,x,T)}y.preMessage=O,y.resetWarned=A,y.noteOnce=w,R.a=y},"1hJj":function(ce,R,l){var E=l("e4Nc"),m=l("ftKO"),O=l("3A9y");function C(k){var A=-1,S=k==null?0:k.length;for(this.__data__=new E;++A<S;)this.add(k[A])}C.prototype.add=C.prototype.push=m,C.prototype.has=O,ce.exports=C},"1j5w":function(ce,R,l){"use strict";l.d(R,"f",function(){return _i}),l.d(R,"b",function(){return fr}),l.d(R,"d",function(){return fr}),l.d(R,"e",function(){return qi}),l.d(R,"c",function(){return qi}),l.d(R,"a",function(){return eo}),l.d(R,"h",function(){return Xe});var E=l("wx14"),m=l("rePB"),O=l("VTBJ"),C=l("KQm4"),k=l("ODXe"),A=l("Ff2n"),S=l("TSYQ"),y=l.n(S),w=l("8z13"),x=l("q1tI"),T=l.n(x);function j(ba){var sa=x.useRef();sa.current=ba;var Da=x.useCallback(function(){for(var On,xn=arguments.length,Rt=new Array(xn),mr=0;mr<xn;mr++)Rt[mr]=arguments[mr];return(On=sa.current)===null||On===void 0?void 0:On.call.apply(On,[sa].concat(Rt))},[]);return Da}function D(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var N=D()?x.useLayoutEffect:x.useEffect,F=function(sa,Da){var On=x.useRef(!0);N(function(){return sa(On.current)},Da),N(function(){return On.current=!1,function(){On.current=!0}},[])},B=function(sa,Da){F(function(On){if(!On)return sa()},Da)},U=F;function J(ba){var sa=x.useRef(!1),Da=x.useState(ba),On=Object(k.a)(Da,2),xn=On[0],Rt=On[1];x.useEffect(function(){return sa.current=!1,function(){sa.current=!0}},[]);function mr(ta,ma){ma&&sa.current||Rt(ta)}return[xn,mr]}function $(ba){return ba!==void 0}function X(ba,sa){var Da=sa||{},On=Da.defaultValue,xn=Da.value,Rt=Da.onChange,mr=Da.postState,ta=J(function(){return $(xn)?xn:$(On)?typeof On=="function"?On():On:typeof ba=="function"?ba():ba}),ma=Object(k.a)(ta,2),Oa=ma[0],Pn=ma[1],Kr=xn!==void 0?xn:Oa,Vn=mr?mr(Kr):Kr,tr=j(Rt),Ea=J([Kr]),Ja=Object(k.a)(Ea,2),go=Ja[0],fi=Ja[1];B(function(){var Oi=go[0];Oa!==Oi&&tr(Oa,Oi)},[go]),B(function(){$(xn)||Pn(xn)},[xn]);var lo=j(function(Oi,io){Pn(Oi,io),fi([Kr],io)});return[Vn,lo]}var ee={},ie=[],G=function(sa){ie.push(sa)};function Q(ba,sa){if(!1)var Da}function W(ba,sa){if(!1)var Da}function ne(){ee={}}function te(ba,sa,Da){!sa&&!ee[Da]&&(ba(!1,Da),ee[Da]=!0)}function _e(ba,sa){te(Q,ba,sa)}function he(ba,sa){te(W,ba,sa)}_e.preMessage=G,_e.resetWarned=ne,_e.noteOnce=he;var oe=_e,ge=l("i8i4"),me=l("U8pU");function Z(ba,sa){var Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,On=new Set;function xn(Rt,mr){var ta=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ma=On.has(Rt);if(oe(!ma,"Warning: There may be circular references"),ma)return!1;if(Rt===mr)return!0;if(Da&&ta>1)return!1;On.add(Rt);var Oa=ta+1;if(Array.isArray(Rt)){if(!Array.isArray(mr)||Rt.length!==mr.length)return!1;for(var Pn=0;Pn<Rt.length;Pn++)if(!xn(Rt[Pn],mr[Pn],Oa))return!1;return!0}if(Rt&&mr&&Object(me.a)(Rt)==="object"&&Object(me.a)(mr)==="object"){var Kr=Object.keys(Rt);return Kr.length!==Object.keys(mr).length?!1:Kr.every(function(Vn){return xn(Rt[Vn],mr[Vn],Oa)})}return!1}return xn(ba,sa)}var xe=Z,Ee=x.createContext(null);function Le(ba,sa){return ba===void 0?null:"".concat(ba,"-").concat(sa)}function we(ba){var sa=x.useContext(Ee);return Le(sa,ba)}function fe(ba,sa,Da){var On=x.useRef({});return(!("value"in On.current)||Da(On.current.condition,sa))&&(On.current.value=ba(),On.current.condition=sa),On.current.value}var pe=["children","locked"],Ke=x.createContext(null);function Me(ba,sa){var Da=Object(O.a)({},ba);return Object.keys(sa).forEach(function(On){var xn=sa[On];xn!==void 0&&(Da[On]=xn)}),Da}function ze(ba){var sa=ba.children,Da=ba.locked,On=Object(A.a)(ba,pe),xn=x.useContext(Ke),Rt=fe(function(){return Me(xn,On)},[xn,On],function(mr,ta){return!Da&&(mr[0]!==ta[0]||!xe(mr[1],ta[1],!0))});return x.createElement(Ke.Provider,{value:Rt},sa)}var Ue=[],He=x.createContext(null);function Ne(){return x.useContext(He)}var it=x.createContext(Ue);function Xe(ba){var sa=x.useContext(it);return x.useMemo(function(){return ba!==void 0?[].concat(Object(C.a)(sa),[ba]):sa},[sa,ba])}var ht=x.createContext(null),lt=x.createContext({}),Et=lt,tt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(sa){var Da=sa.keyCode;if(sa.altKey&&!sa.ctrlKey||sa.metaKey||Da>=tt.F1&&Da<=tt.F12)return!1;switch(Da){case tt.ALT:case tt.CAPS_LOCK:case tt.CONTEXT_MENU:case tt.CTRL:case tt.DOWN:case tt.END:case tt.ESC:case tt.HOME:case tt.INSERT:case tt.LEFT:case tt.MAC_FF_META:case tt.META:case tt.NUMLOCK:case tt.NUM_CENTER:case tt.PAGE_DOWN:case tt.PAGE_UP:case tt.PAUSE:case tt.PRINT_SCREEN:case tt.RIGHT:case tt.SHIFT:case tt.UP:case tt.WIN_KEY:case tt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(sa){if(sa>=tt.ZERO&&sa<=tt.NINE||sa>=tt.NUM_ZERO&&sa<=tt.NUM_MULTIPLY||sa>=tt.A&&sa<=tt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&sa===0)return!0;switch(sa){case tt.SPACE:case tt.QUESTION_MARK:case tt.NUM_PLUS:case tt.NUM_MINUS:case tt.NUM_PERIOD:case tt.NUM_DIVISION:case tt.SEMICOLON:case tt.DASH:case tt.EQUALS:case tt.COMMA:case tt.PERIOD:case tt.SLASH:case tt.APOSTROPHE:case tt.SINGLE_QUOTE:case tt.OPEN_SQUARE_BRACKET:case tt.BACKSLASH:case tt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},mt=tt,xt=function(sa){return+setTimeout(sa,16)},Xt=function(sa){return clearTimeout(sa)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(xt=function(sa){return window.requestAnimationFrame(sa)},Xt=function(sa){return window.cancelAnimationFrame(sa)});var vt=0,qe=new Map;function Re(ba){qe.delete(ba)}var Se=function(sa){var Da=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;vt+=1;var On=vt;function xn(Rt){if(Rt===0)Re(On),sa();else{var mr=xt(function(){xn(Rt-1)});qe.set(On,mr)}}return xn(Da),On};Se.cancel=function(ba){var sa=qe.get(ba);return Re(sa),Xt(sa)};var Ve=Se,Ge=function(ba){if(!ba)return!1;if(ba instanceof Element){if(ba.offsetParent)return!0;if(ba.getBBox){var sa=ba.getBBox(),Da=sa.width,On=sa.height;if(Da||On)return!0}if(ba.getBoundingClientRect){var xn=ba.getBoundingClientRect(),Rt=xn.width,mr=xn.height;if(Rt||mr)return!0}}return!1};function _t(ba){var sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ge(ba)){var Da=ba.nodeName.toLowerCase(),On=["input","select","textarea","button"].includes(Da)||ba.isContentEditable||Da==="a"&&!!ba.getAttribute("href"),xn=ba.getAttribute("tabindex"),Rt=Number(xn),mr=null;return xn&&!Number.isNaN(Rt)?mr=Rt:On&&mr===null&&(mr=0),On&&ba.disabled&&(mr=null),mr!==null&&(mr>=0||sa&&mr<0)}return!1}function bt(ba){var sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Da=Object(C.a)(ba.querySelectorAll("*")).filter(function(On){return _t(On,sa)});return _t(ba,sa)&&Da.unshift(ba),Da}var gt=null;function at(){gt=document.activeElement}function ft(){gt=null}function Fe(){if(gt)try{gt.focus()}catch(ba){}}function Te(ba,sa){if(sa.keyCode===9){var Da=bt(ba),On=Da[sa.shiftKey?0:Da.length-1],xn=On===document.activeElement||ba===document.activeElement;if(xn){var Rt=Da[sa.shiftKey?Da.length-1:0];Rt.focus(),sa.preventDefault()}}}var ut=mt.LEFT,le=mt.RIGHT,$e=mt.UP,Qe=mt.DOWN,Tt=mt.ENTER,Ot=mt.ESC,Ut=mt.HOME,At=mt.END,Pt=[$e,Qe,ut,le];function Dt(ba,sa,Da,On){var xn,Rt,mr,ta,ma="prev",Oa="next",Pn="children",Kr="parent";if(ba==="inline"&&On===Tt)return{inlineTrigger:!0};var Vn=(xn={},Object(m.a)(xn,$e,ma),Object(m.a)(xn,Qe,Oa),xn),tr=(Rt={},Object(m.a)(Rt,ut,Da?Oa:ma),Object(m.a)(Rt,le,Da?ma:Oa),Object(m.a)(Rt,Qe,Pn),Object(m.a)(Rt,Tt,Pn),Rt),Ea=(mr={},Object(m.a)(mr,$e,ma),Object(m.a)(mr,Qe,Oa),Object(m.a)(mr,Tt,Pn),Object(m.a)(mr,Ot,Kr),Object(m.a)(mr,ut,Da?Pn:Kr),Object(m.a)(mr,le,Da?Kr:Pn),mr),Ja={inline:Vn,horizontal:tr,vertical:Ea,inlineSub:Vn,horizontalSub:Ea,verticalSub:Ea},go=(ta=Ja["".concat(ba).concat(sa?"":"Sub")])===null||ta===void 0?void 0:ta[On];switch(go){case ma:return{offset:-1,sibling:!0};case Oa:return{offset:1,sibling:!0};case Kr:return{offset:-1,sibling:!1};case Pn:return{offset:1,sibling:!1};default:return null}}function Qt(ba){for(var sa=ba;sa;){if(sa.getAttribute("data-menu-list"))return sa;sa=sa.parentElement}return null}function cn(ba,sa){for(var Da=ba||document.activeElement;Da;){if(sa.has(Da))return Da;Da=Da.parentElement}return null}function $n(ba,sa){var Da=bt(ba,!0);return Da.filter(function(On){return sa.has(On)})}function hn(ba,sa,Da){var On=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ba)return null;var xn=$n(ba,sa),Rt=xn.length,mr=xn.findIndex(function(ta){return Da===ta});return On<0?mr===-1?mr=Rt-1:mr-=1:On>0&&(mr+=1),mr=(mr+Rt)%Rt,xn[mr]}function _n(ba,sa,Da,On,xn,Rt,mr,ta,ma,Oa){var Pn=x.useRef(),Kr=x.useRef();Kr.current=sa;var Vn=function(){Ve.cancel(Pn.current)};return x.useEffect(function(){return function(){Vn()}},[]),function(tr){var Ea=tr.which;if([].concat(Pt,[Tt,Ot,Ut,At]).includes(Ea)){var Ja,go,fi,lo=function(){Ja=new Set,go=new Map,fi=new Map;var zn=Rt();return zn.forEach(function(xr){var da=document.querySelector("[data-menu-id='".concat(Le(On,xr),"']"));da&&(Ja.add(da),fi.set(da,xr),go.set(xr,da))}),Ja};lo();var Oi=go.get(sa),io=cn(Oi,Ja),Vi=fi.get(io),vo=Dt(ba,mr(Vi,!0).length===1,Da,Ea);if(!vo&&Ea!==Ut&&Ea!==At)return;(Pt.includes(Ea)||[Ut,At].includes(Ea))&&tr.preventDefault();var qo=function(zn){if(zn){var xr=zn,da=zn.querySelector("a");da!=null&&da.getAttribute("href")&&(xr=da);var en=fi.get(zn);ta(en),Vn(),Pn.current=Ve(function(){Kr.current===en&&xr.focus()})}};if([Ut,At].includes(Ea)||vo.sibling||!io){var hs;!io||ba==="inline"?hs=xn.current:hs=Qt(io);var $t,rt=$n(hs,Ja);Ea===Ut?$t=rt[0]:Ea===At?$t=rt[rt.length-1]:$t=hn(hs,Ja,io,vo.offset),qo($t)}else if(vo.inlineTrigger)ma(Vi);else if(vo.offset>0)ma(Vi,!0),Vn(),Pn.current=Ve(function(){lo();var qn=io.getAttribute("aria-controls"),zn=document.getElementById(qn),xr=hn(zn,Ja);qo(xr)},5);else if(vo.offset<0){var Vt=mr(Vi,!0),tn=Vt[Vt.length-2],wn=go.get(tn);ma(tn,!1),qo(wn)}}Oa==null||Oa(tr)}}function bn(ba){Promise.resolve().then(ba)}var Bn="__RC_UTIL_PATH_SPLIT__",Tn=function(sa){return sa.join(Bn)},Tr=function(sa){return sa.split(Bn)},Sr="rc-menu-more";function Wr(){var ba=x.useState({}),sa=Object(k.a)(ba,2),Da=sa[1],On=Object(x.useRef)(new Map),xn=Object(x.useRef)(new Map),Rt=x.useState([]),mr=Object(k.a)(Rt,2),ta=mr[0],ma=mr[1],Oa=Object(x.useRef)(0),Pn=Object(x.useRef)(!1),Kr=function(){Pn.current||Da({})},Vn=Object(x.useCallback)(function(Oi,io){var Vi=Tn(io);xn.current.set(Vi,Oi),On.current.set(Oi,Vi),Oa.current+=1;var vo=Oa.current;bn(function(){vo===Oa.current&&Kr()})},[]),tr=Object(x.useCallback)(function(Oi,io){var Vi=Tn(io);xn.current.delete(Vi),On.current.delete(Oi)},[]),Ea=Object(x.useCallback)(function(Oi){ma(Oi)},[]),Ja=Object(x.useCallback)(function(Oi,io){var Vi=On.current.get(Oi)||"",vo=Tr(Vi);return io&&ta.includes(vo[0])&&vo.unshift(Sr),vo},[ta]),go=Object(x.useCallback)(function(Oi,io){return Oi.some(function(Vi){var vo=Ja(Vi,!0);return vo.includes(io)})},[Ja]),fi=function(){var io=Object(C.a)(On.current.keys());return ta.length&&io.push(Sr),io},lo=Object(x.useCallback)(function(Oi){var io="".concat(On.current.get(Oi)).concat(Bn),Vi=new Set;return Object(C.a)(xn.current.keys()).forEach(function(vo){vo.startsWith(io)&&Vi.add(xn.current.get(vo))}),Vi},[]);return x.useEffect(function(){return function(){Pn.current=!0}},[]),{registerPath:Vn,unregisterPath:tr,refreshOverflowKeys:Ea,isSubPathKey:go,getKeyPath:Ja,getKeys:fi,getSubPathKeys:lo}}function br(ba){var sa=x.useRef(ba);sa.current=ba;var Da=x.useCallback(function(){for(var On,xn=arguments.length,Rt=new Array(xn),mr=0;mr<xn;mr++)Rt[mr]=arguments[mr];return(On=sa.current)===null||On===void 0?void 0:On.call.apply(On,[sa].concat(Rt))},[]);return ba?Da:void 0}var Wn=Math.random().toFixed(5).toString().slice(2),gr=0;function na(ba){var sa=X(ba,{value:ba}),Da=Object(k.a)(sa,2),On=Da[0],xn=Da[1];return x.useEffect(function(){gr+=1;var Rt="".concat(Wn,"-").concat(gr);xn("rc-menu-uuid-".concat(Rt))},[]),On}var jn=l("1OyB"),un=l("vuIU"),zt=l("Ji7U"),Bt=l("LK+K");function H(ba,sa){var Da=Object(O.a)({},ba);return Array.isArray(sa)&&sa.forEach(function(On){delete Da[On]}),Da}var ot=l("TOwV");function nt(ba,sa){typeof ba=="function"?ba(sa):Object(me.a)(ba)==="object"&&ba&&"current"in ba&&(ba.current=sa)}function Ct(){for(var ba=arguments.length,sa=new Array(ba),Da=0;Da<ba;Da++)sa[Da]=arguments[Da];var On=sa.filter(function(xn){return xn});return On.length<=1?On[0]:function(xn){sa.forEach(function(Rt){nt(Rt,xn)})}}function Wt(){for(var ba=arguments.length,sa=new Array(ba),Da=0;Da<ba;Da++)sa[Da]=arguments[Da];return fe(function(){return Ct.apply(void 0,sa)},sa,function(On,xn){return On.length===xn.length&&On.every(function(Rt,mr){return Rt===xn[mr]})})}function kn(ba){var sa,Da,On=Object(ot.isMemo)(ba)?ba.type.type:ba.type;return!(typeof On=="function"&&!((sa=On.prototype)!==null&&sa!==void 0&&sa.render)||typeof ba=="function"&&!((Da=ba.prototype)!==null&&Da!==void 0&&Da.render))}function Sn(ba,sa,Da,On){var xn=x.useContext(Ke),Rt=xn.activeKey,mr=xn.onActive,ta=xn.onInactive,ma={active:Rt===ba};return sa||(ma.onMouseEnter=function(Oa){Da==null||Da({key:ba,domEvent:Oa}),mr(ba)},ma.onMouseLeave=function(Oa){On==null||On({key:ba,domEvent:Oa}),ta(ba)}),ma}function Zn(ba){var sa=x.useContext(Ke),Da=sa.mode,On=sa.rtl,xn=sa.inlineIndent;if(Da!=="inline")return null;var Rt=ba;return On?{paddingRight:Rt*xn}:{paddingLeft:Rt*xn}}function Or(ba){var sa=ba.icon,Da=ba.props,On=ba.children,xn;return typeof sa=="function"?xn=x.createElement(sa,Object(O.a)({},Da)):xn=sa,xn||On||null}var Yn=["item"];function Nn(ba){var sa=ba.item,Da=Object(A.a)(ba,Yn);return Object.defineProperty(Da,"item",{get:function(){return oe(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),sa}}),Da}var Zt=["title","attribute","elementRef"],rr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Gn=["active"],ln=function(ba){Object(zt.a)(Da,ba);var sa=Object(Bt.a)(Da);function Da(){return Object(jn.a)(this,Da),sa.apply(this,arguments)}return Object(un.a)(Da,[{key:"render",value:function(){var xn=this.props,Rt=xn.title,mr=xn.attribute,ta=xn.elementRef,ma=Object(A.a)(xn,Zt),Oa=H(ma,["eventKey","popupClassName","popupOffset","onTitleClick"]);return oe(!mr,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),x.createElement(w.a.Item,Object(E.a)({},mr,{title:typeof Rt=="string"?Rt:void 0},Oa,{ref:ta}))}}]),Da}(x.Component),Xn=x.forwardRef(function(ba,sa){var Da,On=ba.style,xn=ba.className,Rt=ba.eventKey,mr=ba.warnKey,ta=ba.disabled,ma=ba.itemIcon,Oa=ba.children,Pn=ba.role,Kr=ba.onMouseEnter,Vn=ba.onMouseLeave,tr=ba.onClick,Ea=ba.onKeyDown,Ja=ba.onFocus,go=Object(A.a)(ba,rr),fi=we(Rt),lo=x.useContext(Ke),Oi=lo.prefixCls,io=lo.onItemClick,Vi=lo.disabled,vo=lo.overflowDisabled,qo=lo.itemIcon,hs=lo.selectedKeys,$t=lo.onActive,rt=x.useContext(Et),Vt=rt._internalRenderMenuItem,tn="".concat(Oi,"-item"),wn=x.useRef(),qn=x.useRef(),zn=Vi||ta,xr=Wt(sa,qn),da=Xe(Rt),en=function(jo){return{key:Rt,keyPath:Object(C.a)(da).reverse(),item:wn.current,domEvent:jo}},Fn=ma||qo,Jn=Sn(Rt,zn,Kr,Vn),Ir=Jn.active,Gr=Object(A.a)(Jn,Gn),ga=hs.includes(Rt),Mr=Zn(da.length),$a=function(jo){if(!zn){var Qn=en(jo);tr==null||tr(Nn(Qn)),io(Qn)}},Ya=function(jo){if(Ea==null||Ea(jo),jo.which===mt.ENTER){var Qn=en(jo);tr==null||tr(Nn(Qn)),io(Qn)}},_o=function(jo){$t(Rt),Ja==null||Ja(jo)},Ni={};ba.role==="option"&&(Ni["aria-selected"]=ga);var ec=x.createElement(ln,Object(E.a)({ref:wn,elementRef:xr,role:Pn===null?"none":Pn||"menuitem",tabIndex:ta?null:-1,"data-menu-id":vo&&fi?null:fi},go,Gr,Ni,{component:"li","aria-disabled":ta,style:Object(O.a)(Object(O.a)({},Mr),On),className:y()(tn,(Da={},Object(m.a)(Da,"".concat(tn,"-active"),Ir),Object(m.a)(Da,"".concat(tn,"-selected"),ga),Object(m.a)(Da,"".concat(tn,"-disabled"),zn),Da),xn),onClick:$a,onKeyDown:Ya,onFocus:_o}),Oa,x.createElement(Or,{props:Object(O.a)(Object(O.a)({},ba),{},{isSelected:ga}),icon:Fn}));return Vt&&(ec=Vt(ec,ba,{selected:ga})),ec});function Kn(ba,sa){var Da=ba.eventKey,On=Ne(),xn=Xe(Da);return x.useEffect(function(){if(On)return On.registerPath(Da,xn),function(){On.unregisterPath(Da,xn)}},[xn]),On?null:x.createElement(Xn,Object(E.a)({},ba,{ref:sa}))}var fr=x.forwardRef(Kn),Hn=["className","children"],Sa=function(sa,Da){var On=sa.className,xn=sa.children,Rt=Object(A.a)(sa,Hn),mr=x.useContext(Ke),ta=mr.prefixCls,ma=mr.mode,Oa=mr.rtl;return x.createElement("ul",Object(E.a)({className:y()(ta,Oa&&"".concat(ta,"-rtl"),"".concat(ta,"-sub"),"".concat(ta,"-").concat(ma==="inline"?"inline":"vertical"),On),role:"menu"},Rt,{"data-menu-list":!0,ref:Da}),xn)},Lr=x.forwardRef(Sa);Lr.displayName="SubMenuList";var Ca=Lr;function za(ba){var sa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Da=[];return T.a.Children.forEach(ba,function(On){On==null&&!sa.keepEmpty||(Array.isArray(On)?Da=Da.concat(za(On)):Object(ot.isFragment)(On)&&On.props?Da=Da.concat(za(On.props.children,sa)):Da.push(On))}),Da}var Ma=["label","children","key","type"];function va(ba,sa){return za(ba).map(function(Da,On){if(x.isValidElement(Da)){var xn,Rt,mr=Da.key,ta=(xn=(Rt=Da.props)===null||Rt===void 0?void 0:Rt.eventKey)!==null&&xn!==void 0?xn:mr,ma=ta==null;ma&&(ta="tmp_key-".concat([].concat(Object(C.a)(sa),[On]).join("-")));var Oa={key:ta,eventKey:ta};return x.cloneElement(Da,Oa)}return Da})}function qa(ba){return(ba||[]).map(function(sa,Da){if(sa&&Object(me.a)(sa)==="object"){var On=sa,xn=On.label,Rt=On.children,mr=On.key,ta=On.type,ma=Object(A.a)(On,Ma),Oa=mr!=null?mr:"tmp-".concat(Da);return Rt||ta==="group"?ta==="group"?x.createElement(qi,Object(E.a)({key:Oa},ma,{title:xn}),qa(Rt)):x.createElement(_i,Object(E.a)({key:Oa},ma,{title:xn}),qa(Rt)):ta==="divider"?x.createElement(eo,Object(E.a)({key:Oa},ma)):x.createElement(fr,Object(E.a)({key:Oa},ma),xn)}return null}).filter(function(sa){return sa})}function gi(ba,sa,Da){var On=ba;return sa&&(On=qa(sa)),va(On,Da)}var Qi=l("uciX"),mi={adjustX:1,adjustY:1},Cr={topLeft:{points:["bl","tl"],overflow:mi,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:mi,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:mi,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:mi,offset:[4,0]}},Un={topLeft:{points:["bl","tl"],overflow:mi,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:mi,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:mi,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:mi,offset:[4,0]}},Lt=Cr;function gn(ba,sa,Da){if(sa)return sa;if(Da)return Da[ba]||Da.other}var Ln={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function kr(ba){var sa=ba.prefixCls,Da=ba.visible,On=ba.children,xn=ba.popup,Rt=ba.popupClassName,mr=ba.popupOffset,ta=ba.disabled,ma=ba.mode,Oa=ba.onVisibleChange,Pn=x.useContext(Ke),Kr=Pn.getPopupContainer,Vn=Pn.rtl,tr=Pn.subMenuOpenDelay,Ea=Pn.subMenuCloseDelay,Ja=Pn.builtinPlacements,go=Pn.triggerSubMenuAction,fi=Pn.forceSubMenuRender,lo=Pn.rootClassName,Oi=Pn.motion,io=Pn.defaultMotions,Vi=x.useState(!1),vo=Object(k.a)(Vi,2),qo=vo[0],hs=vo[1],$t=Vn?Object(O.a)(Object(O.a)({},Un),Ja):Object(O.a)(Object(O.a)({},Cr),Ja),rt=Ln[ma],Vt=gn(ma,Oi,io),tn=x.useRef(Vt);ma!=="inline"&&(tn.current=Vt);var wn=Object(O.a)(Object(O.a)({},tn.current),{},{leavedClassName:"".concat(sa,"-hidden"),removeOnLeave:!1,motionAppear:!0}),qn=x.useRef();return x.useEffect(function(){return qn.current=Ve(function(){hs(Da)}),function(){Ve.cancel(qn.current)}},[Da]),x.createElement(Qi.a,{prefixCls:sa,popupClassName:y()("".concat(sa,"-popup"),Object(m.a)({},"".concat(sa,"-rtl"),Vn),Rt,lo),stretch:ma==="horizontal"?"minWidth":null,getPopupContainer:Kr,builtinPlacements:$t,popupPlacement:rt,popupVisible:qo,popup:xn,popupAlign:mr&&{offset:mr},action:ta?[]:[go],mouseEnterDelay:tr,mouseLeaveDelay:Ea,onPopupVisibleChange:Oa,forceRender:fi,popupMotion:wn},On)}var ea=l("8XRh");function Qr(ba){var sa=ba.id,Da=ba.open,On=ba.keyPath,xn=ba.children,Rt="inline",mr=x.useContext(Ke),ta=mr.prefixCls,ma=mr.forceSubMenuRender,Oa=mr.motion,Pn=mr.defaultMotions,Kr=mr.mode,Vn=x.useRef(!1);Vn.current=Kr===Rt;var tr=x.useState(!Vn.current),Ea=Object(k.a)(tr,2),Ja=Ea[0],go=Ea[1],fi=Vn.current?Da:!1;x.useEffect(function(){Vn.current&&go(!1)},[Kr]);var lo=Object(O.a)({},gn(Rt,Oa,Pn));On.length>1&&(lo.motionAppear=!1);var Oi=lo.onVisibleChanged;return lo.onVisibleChanged=function(io){return!Vn.current&&!io&&go(!0),Oi==null?void 0:Oi(io)},Ja?null:x.createElement(ze,{mode:Rt,locked:!Vn.current},x.createElement(ea.b,Object(E.a)({visible:fi},lo,{forceRender:ma,removeOnLeave:!1,leavedClassName:"".concat(ta,"-hidden")}),function(io){var Vi=io.className,vo=io.style;return x.createElement(Ca,{id:sa,className:Vi,style:vo},xn)}))}var Na=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ar=["active"],pi=function(sa){var Da,On=sa.style,xn=sa.className,Rt=sa.title,mr=sa.eventKey,ta=sa.warnKey,ma=sa.disabled,Oa=sa.internalPopupClose,Pn=sa.children,Kr=sa.itemIcon,Vn=sa.expandIcon,tr=sa.popupClassName,Ea=sa.popupOffset,Ja=sa.onClick,go=sa.onMouseEnter,fi=sa.onMouseLeave,lo=sa.onTitleClick,Oi=sa.onTitleMouseEnter,io=sa.onTitleMouseLeave,Vi=Object(A.a)(sa,Na),vo=we(mr),qo=x.useContext(Ke),hs=qo.prefixCls,$t=qo.mode,rt=qo.openKeys,Vt=qo.disabled,tn=qo.overflowDisabled,wn=qo.activeKey,qn=qo.selectedKeys,zn=qo.itemIcon,xr=qo.expandIcon,da=qo.onItemClick,en=qo.onOpenChange,Fn=qo.onActive,Jn=x.useContext(Et),Ir=Jn._internalRenderSubMenuItem,Gr=x.useContext(ht),ga=Gr.isSubPathKey,Mr=Xe(),$a="".concat(hs,"-submenu"),Ya=Vt||ma,_o=x.useRef(),Ni=x.useRef(),ec=Kr||zn,ks=Vn||xr,jo=rt.includes(mr),Qn=!tn&&jo,ka=ga(qn,mr),Pa=Sn(mr,Ya,Oi,io),Qa=Pa.active,Ei=Object(A.a)(Pa,ar),zo=x.useState(!1),fo=Object(k.a)(zo,2),gs=fo[0],Ks=fo[1],pc=function(su){Ya||Ks(su)},tc=function(su){pc(!0),go==null||go({key:mr,domEvent:su})},xc=function(su){pc(!1),fi==null||fi({key:mr,domEvent:su})},kc=x.useMemo(function(){return Qa||($t!=="inline"?gs||ga([wn],mr):!1)},[$t,Qa,wn,gs,mr,ga]),Ss=Zn(Mr.length),Js=function(su){Ya||(lo==null||lo({key:mr,domEvent:su}),$t==="inline"&&en(mr,!jo))},Mo=br(function(Rc){Ja==null||Ja(Nn(Rc)),da(Rc)}),js=function(su){$t!=="inline"&&en(mr,su)},Yc=function(){Fn(mr)},gc=vo&&"".concat(vo,"-popup"),Cl=x.createElement("div",Object(E.a)({role:"menuitem",style:Ss,className:"".concat($a,"-title"),tabIndex:Ya?null:-1,ref:_o,title:typeof Rt=="string"?Rt:null,"data-menu-id":tn&&vo?null:vo,"aria-expanded":Qn,"aria-haspopup":!0,"aria-controls":gc,"aria-disabled":Ya,onClick:Js,onFocus:Yc},Ei),Rt,x.createElement(Or,{icon:$t!=="horizontal"?ks:null,props:Object(O.a)(Object(O.a)({},sa),{},{isOpen:Qn,isSubMenu:!0})},x.createElement("i",{className:"".concat($a,"-arrow")}))),wl=x.useRef($t);if($t!=="inline"&&Mr.length>1?wl.current="vertical":wl.current=$t,!tn){var Wc=wl.current;Cl=x.createElement(kr,{mode:Wc,prefixCls:$a,visible:!Oa&&Qn&&$t!=="inline",popupClassName:tr,popupOffset:Ea,popup:x.createElement(ze,{mode:Wc==="horizontal"?"vertical":Wc},x.createElement(Ca,{id:gc,ref:Ni},Pn)),disabled:Ya,onVisibleChange:js},Cl)}var nl=x.createElement(w.a.Item,Object(E.a)({role:"none"},Vi,{component:"li",style:On,className:y()($a,"".concat($a,"-").concat($t),xn,(Da={},Object(m.a)(Da,"".concat($a,"-open"),Qn),Object(m.a)(Da,"".concat($a,"-active"),kc),Object(m.a)(Da,"".concat($a,"-selected"),ka),Object(m.a)(Da,"".concat($a,"-disabled"),Ya),Da)),onMouseEnter:tc,onMouseLeave:xc}),Cl,!tn&&x.createElement(Qr,{id:gc,open:Qn,keyPath:Mr},Pn));return Ir&&(nl=Ir(nl,sa,{selected:ka,active:kc,open:Qn,disabled:Ya})),x.createElement(ze,{onItemClick:Mo,mode:$t==="horizontal"?"vertical":$t,itemIcon:ec,expandIcon:ks},nl)};function _i(ba){var sa=ba.eventKey,Da=ba.children,On=Xe(sa),xn=va(Da,On),Rt=Ne();x.useEffect(function(){if(Rt)return Rt.registerPath(sa,On),function(){Rt.unregisterPath(sa,On)}},[On]);var mr;return Rt?mr=xn:mr=x.createElement(pi,ba,xn),x.createElement(it.Provider,{value:On},mr)}var ti=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ui=[],Ri=x.forwardRef(function(ba,sa){var Da,On,xn=ba,Rt=xn.prefixCls,mr=Rt===void 0?"rc-menu":Rt,ta=xn.rootClassName,ma=xn.style,Oa=xn.className,Pn=xn.tabIndex,Kr=Pn===void 0?0:Pn,Vn=xn.items,tr=xn.children,Ea=xn.direction,Ja=xn.id,go=xn.mode,fi=go===void 0?"vertical":go,lo=xn.inlineCollapsed,Oi=xn.disabled,io=xn.disabledOverflow,Vi=xn.subMenuOpenDelay,vo=Vi===void 0?.1:Vi,qo=xn.subMenuCloseDelay,hs=qo===void 0?.1:qo,$t=xn.forceSubMenuRender,rt=xn.defaultOpenKeys,Vt=xn.openKeys,tn=xn.activeKey,wn=xn.defaultActiveFirst,qn=xn.selectable,zn=qn===void 0?!0:qn,xr=xn.multiple,da=xr===void 0?!1:xr,en=xn.defaultSelectedKeys,Fn=xn.selectedKeys,Jn=xn.onSelect,Ir=xn.onDeselect,Gr=xn.inlineIndent,ga=Gr===void 0?24:Gr,Mr=xn.motion,$a=xn.defaultMotions,Ya=xn.triggerSubMenuAction,_o=Ya===void 0?"hover":Ya,Ni=xn.builtinPlacements,ec=xn.itemIcon,ks=xn.expandIcon,jo=xn.overflowedIndicator,Qn=jo===void 0?"...":jo,ka=xn.overflowedIndicatorPopupClassName,Pa=xn.getPopupContainer,Qa=xn.onClick,Ei=xn.onOpenChange,zo=xn.onKeyDown,fo=xn.openAnimation,gs=xn.openTransitionName,Ks=xn._internalRenderMenuItem,pc=xn._internalRenderSubMenuItem,tc=Object(A.a)(xn,ti),xc=x.useMemo(function(){return gi(tr,Vn,ui)},[tr,Vn]),kc=x.useState(!1),Ss=Object(k.a)(kc,2),Js=Ss[0],Mo=Ss[1],js=x.useRef(),Yc=na(Ja),gc=Ea==="rtl",Cl=X(rt,{value:Vt,postState:function(El){return El||ui}}),wl=Object(k.a)(Cl,2),Wc=wl[0],nl=wl[1],Rc=function(El){var eu=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function rd(){nl(El),Ei==null||Ei(El)}eu?Object(ge.flushSync)(rd):rd()},su=x.useState(Wc),Pl=Object(k.a)(su,2),al=Pl[0],Ml=Pl[1],Tl=x.useRef(!1),td=x.useMemo(function(){return(fi==="inline"||fi==="vertical")&&lo?["vertical",lo]:[fi,!1]},[fi,lo]),rl=Object(k.a)(td,2),dl=rl[0],qt=rl[1],nr=dl==="inline",Ur=x.useState(dl),Yr=Object(k.a)(Ur,2),ni=Yr[0],vi=Yr[1],zr=x.useState(qt),wr=Object(k.a)(zr,2),Ua=wr[0],La=wr[1];x.useEffect(function(){vi(dl),La(qt),!!Tl.current&&(nr?nl(al):Rc(ui))},[dl,qt]);var Nr=x.useState(0),ua=Object(k.a)(Nr,2),ra=ua[0],ri=ua[1],li=ra>=xc.length-1||ni!=="horizontal"||io;x.useEffect(function(){nr&&Ml(Wc)},[Wc]),x.useEffect(function(){return Tl.current=!0,function(){Tl.current=!1}},[]);var hi=Wr(),ii=hi.registerPath,Di=hi.unregisterPath,Xo=hi.refreshOverflowKeys,ps=hi.isSubPathKey,mc=hi.getKeyPath,Ts=hi.getKeys,Ar=hi.getSubPathKeys,Gs=x.useMemo(function(){return{registerPath:ii,unregisterPath:Di}},[ii,Di]),Nc=x.useMemo(function(){return{isSubPathKey:ps}},[ps]);x.useEffect(function(){Xo(li?ui:xc.slice(ra+1).map(function(Eu){return Eu.key}))},[ra,li]);var Jc=X(tn||wn&&((Da=xc[0])===null||Da===void 0?void 0:Da.key),{value:tn}),Fc=Object(k.a)(Jc,2),Ro=Fc[0],Dl=Fc[1],Vl=br(function(Eu){Dl(Eu)}),hu=br(function(){Dl(void 0)});Object(x.useImperativeHandle)(sa,function(){return{list:js.current,focus:function(El){var eu,rd=Ro!=null?Ro:(eu=xc.find(function(Ta){return!Ta.props.disabled}))===null||eu===void 0?void 0:eu.key;if(rd){var yn,Dr,Xr;(yn=js.current)===null||yn===void 0||(Dr=yn.querySelector("li[data-menu-id='".concat(Le(Yc,rd),"']")))===null||Dr===void 0||(Xr=Dr.focus)===null||Xr===void 0||Xr.call(Dr,El)}}}});var ru=X(en||[],{value:Fn,postState:function(El){return Array.isArray(El)?El:El==null?ui:[El]}}),pd=Object(k.a)(ru,2),ql=pd[0],Ru=pd[1],Hl=function(El){if(zn){var eu=El.key,rd=ql.includes(eu),yn;da?rd?yn=ql.filter(function(Xr){return Xr!==eu}):yn=[].concat(Object(C.a)(ql),[eu]):yn=[eu],Ru(yn);var Dr=Object(O.a)(Object(O.a)({},El),{},{selectedKeys:yn});rd?Ir==null||Ir(Dr):Jn==null||Jn(Dr)}!da&&Wc.length&&ni!=="inline"&&Rc(ui)},fu=br(function(Eu){Qa==null||Qa(Nn(Eu)),Hl(Eu)}),nd=br(function(Eu,El){var eu=Wc.filter(function(yn){return yn!==Eu});if(El)eu.push(Eu);else if(ni!=="inline"){var rd=Ar(Eu);eu=eu.filter(function(yn){return!rd.has(yn)})}xe(Wc,eu,!0)||Rc(eu,!0)}),bd=br(Pa),ml=function(El,eu){var rd=eu!=null?eu:!Wc.includes(El);nd(El,rd)},os=_n(ni,Ro,gc,Yc,js,Ts,mc,Dl,ml,zo);x.useEffect(function(){Mo(!0)},[]);var wu=x.useMemo(function(){return{_internalRenderMenuItem:Ks,_internalRenderSubMenuItem:pc}},[Ks,pc]),cd=ni!=="horizontal"||io?xc:xc.map(function(Eu,El){return x.createElement(ze,{key:Eu.key,overflowDisabled:El>ra},Eu)}),Ud=x.createElement(w.a,Object(E.a)({id:Ja,ref:js,prefixCls:"".concat(mr,"-overflow"),component:"ul",itemComponent:fr,className:y()(mr,"".concat(mr,"-root"),"".concat(mr,"-").concat(ni),Oa,(On={},Object(m.a)(On,"".concat(mr,"-inline-collapsed"),Ua),Object(m.a)(On,"".concat(mr,"-rtl"),gc),On),ta),dir:Ea,style:ma,role:"menu",tabIndex:Kr,data:cd,renderRawItem:function(El){return El},renderRawRest:function(El){var eu=El.length,rd=eu?xc.slice(-eu):null;return x.createElement(_i,{eventKey:Sr,title:Qn,disabled:li,internalPopupClose:eu===0,popupClassName:ka},rd)},maxCount:ni!=="horizontal"||io?w.a.INVALIDATE:w.a.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(El){ri(El)},onKeyDown:os},tc));return x.createElement(Et.Provider,{value:wu},x.createElement(Ee.Provider,{value:Yc},x.createElement(ze,{prefixCls:mr,rootClassName:ta,mode:ni,openKeys:Wc,rtl:gc,disabled:Oi,motion:Js?Mr:null,defaultMotions:Js?$a:null,activeKey:Ro,onActive:Vl,onInactive:hu,selectedKeys:ql,inlineIndent:ga,subMenuOpenDelay:vo,subMenuCloseDelay:hs,forceSubMenuRender:$t,builtinPlacements:Ni,triggerSubMenuAction:_o,getPopupContainer:bd,itemIcon:ec,expandIcon:ks,onItemClick:fu,onOpenChange:nd},x.createElement(ht.Provider,{value:Nc},Ud),x.createElement("div",{style:{display:"none"},"aria-hidden":!0},x.createElement(He.Provider,{value:Gs},xc)))))}),ao=Ri,Zi=["className","title","eventKey","children"],Fi=["children"],Si=function(sa){var Da=sa.className,On=sa.title,xn=sa.eventKey,Rt=sa.children,mr=Object(A.a)(sa,Zi),ta=x.useContext(Ke),ma=ta.prefixCls,Oa="".concat(ma,"-item-group");return x.createElement("li",Object(E.a)({role:"presentation"},mr,{onClick:function(Kr){return Kr.stopPropagation()},className:y()(Oa,Da)}),x.createElement("div",{role:"presentation",className:"".concat(Oa,"-title"),title:typeof On=="string"?On:void 0},On),x.createElement("ul",{role:"group",className:"".concat(Oa,"-list")},Rt))};function qi(ba){var sa=ba.children,Da=Object(A.a)(ba,Fi),On=Xe(Da.eventKey),xn=va(sa,On),Rt=Ne();return Rt?xn:x.createElement(Si,H(Da,["warnKey"]),xn)}function eo(ba){var sa=ba.className,Da=ba.style,On=x.useContext(Ke),xn=On.prefixCls,Rt=Ne();return Rt?null:x.createElement("li",{className:y()("".concat(xn,"-item-divider"),sa),style:Da})}var xo=ao;xo.Item=fr,xo.SubMenu=_i,xo.ItemGroup=qi,xo.Divider=eo;var cs=R.g=xo},"1jPx":function(ce,R,l){"use strict";var E=l("8OQV"),m=l("FVwB").exportTypedArrayStaticMethod,O=l("Sn4z");m("from",O,E)},"1nhP":function(ce,R,l){var E=l("m0kY");ce.exports=function(m){var O=E(m);if(O<0)throw RangeError("The argument can't be less than 0");return O}},"1vuE":function(ce,R,l){var E=l("eNh0");E("flat")},"1vzs":function(ce,R,l){"use strict";l.d(R,"a",function(){return w});var E=l("bRQS"),m=l("jN4g"),O=l("4i/N"),C=l("8Skl"),k=l("ye1Q"),A=l("l+S1"),S=l("q1tI"),y=l.n(S);function w(x){var T=x.suffixIcon,j=x.clearIcon,D=x.menuItemSelectedIcon,N=x.removeIcon,F=x.loading,B=x.multiple,U=x.hasFeedback,J=x.prefixCls,$=x.showArrow,X=x.feedbackIcon,ee=j!=null?j:S.createElement(m.a,null),ie=function(_e){return S.createElement(S.Fragment,null,$!==!1&&_e,U&&X)},G=null;if(T!==void 0)G=ie(T);else if(F)G=ie(S.createElement(k.a,{spin:!0}));else{var Q="".concat(J,"-suffix");G=function(_e){var he=_e.open,oe=_e.showSearch;return ie(he&&oe?S.createElement(A.a,{className:Q}):S.createElement(C.a,{className:Q}))}}var W=null;D!==void 0?W=D:B?W=S.createElement(E.a,null):W=null;var ne=null;return N!==void 0?ne=N:ne=S.createElement(O.a,null),{clearIcon:ee,suffixIcon:G,itemIcon:W,removeIcon:ne}}},"1wcP":function(ce,R,l){},2:function(ce,R){},"2/Rp":function(ce,R,l){"use strict";var E=l("zvFY");R.a=E.b},"2/ZD":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SketchFields=void 0;var E=l("q1tI"),m=y(E),O=l("/FUP"),C=y(O),k=l("4iDX"),A=y(k),S=l("UtML");function y(x){return x&&x.__esModule?x:{default:x}}var w=R.SketchFields=function(T){var j=T.onChange,D=T.rgb,N=T.hsl,F=T.hex,B=T.disableAlpha,U=(0,C.default)({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:B}),J=function(X,ee){X.hex?A.default.isValidHex(X.hex)&&j({hex:X.hex,source:"hex"},ee):X.r||X.g||X.b?j({r:X.r||D.r,g:X.g||D.g,b:X.b||D.b,a:D.a,source:"rgb"},ee):X.a&&(X.a<0?X.a=0:X.a>100&&(X.a=100),X.a/=100,j({h:N.h,s:N.s,l:N.l,a:X.a,source:"rgb"},ee))};return m.default.createElement("div",{style:U.fields,className:"flexbox-fix"},m.default.createElement("div",{style:U.double},m.default.createElement(S.EditableInput,{style:{input:U.input,label:U.label},label:"hex",value:F.replace("#",""),onChange:J})),m.default.createElement("div",{style:U.single},m.default.createElement(S.EditableInput,{style:{input:U.input,label:U.label},label:"r",value:D.r,onChange:J,dragLabel:"true",dragMax:"255"})),m.default.createElement("div",{style:U.single},m.default.createElement(S.EditableInput,{style:{input:U.input,label:U.label},label:"g",value:D.g,onChange:J,dragLabel:"true",dragMax:"255"})),m.default.createElement("div",{style:U.single},m.default.createElement(S.EditableInput,{style:{input:U.input,label:U.label},label:"b",value:D.b,onChange:J,dragLabel:"true",dragMax:"255"})),m.default.createElement("div",{style:U.alpha},m.default.createElement(S.EditableInput,{style:{input:U.input,label:U.label},label:"a",value:Math.round(D.a*100),onChange:J,dragLabel:"true",dragMax:"100"})))};R.default=w},"23DT":function(ce,R,l){"use strict";var E={},m=[],O=function(T){m.push(T)};function C(x,T){if(!1)var j}function k(x,T){if(!1)var j}function A(){E={}}function S(x,T,j){!T&&!E[j]&&(x(!1,j),E[j]=!0)}function y(x,T){S(C,x,T)}function w(x,T){S(k,x,T)}y.preMessage=O,y.resetWarned=A,y.noteOnce=w,R.a=y},"25BE":function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){if(typeof Symbol!="undefined"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}},"284h":function(ce,R,l){var E=l("cDf5").default;function m(C){if(typeof WeakMap!="function")return null;var k=new WeakMap,A=new WeakMap;return(m=function(y){return y?A:k})(C)}function O(C,k){if(!k&&C&&C.__esModule)return C;if(C===null||E(C)!=="object"&&typeof C!="function")return{default:C};var A=m(k);if(A&&A.has(C))return A.get(C);var S={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in C)if(w!=="default"&&Object.prototype.hasOwnProperty.call(C,w)){var x=y?Object.getOwnPropertyDescriptor(C,w):null;x&&(x.get||x.set)?Object.defineProperty(S,w,x):S[w]=C[w]}return S.default=C,A&&A.set(C,S),S}ce.exports=O,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"29mP":function(ce,R,l){var E=l("nFn1"),m=l("ukPv"),O=function(C){return typeof C=="function"?C:void 0};ce.exports=function(C,k){return arguments.length<2?O(E[C])||O(m[C]):E[C]&&E[C][k]||m[C]&&m[C][k]}},"2AO3":function(ce,R,l){"use strict";l.r(R);var E={};l.r(E),l.d(E,"updateProps",function(){return pf}),l.d(E,"initProps",function(){return dp}),l.d(E,"removeElement",function(){return x_}),l.d(E,"removeElementWithFadeOut",function(){return Dp}),l.d(E,"isElementRemoved",function(){return Ey}),l.d(E,"extendShape",function(){return nh}),l.d(E,"extendPath",function(){return DR}),l.d(E,"registerShape",function(){return Vf}),l.d(E,"getShapeClass",function(){return qO}),l.d(E,"makePath",function(){return $x}),l.d(E,"makeImage",function(){return g6}),l.d(E,"mergePath",function(){return zg}),l.d(E,"resizePath",function(){return zv}),l.d(E,"subPixelOptimizeLine",function(){return Wh}),l.d(E,"subPixelOptimizeRect",function(){return EW}),l.d(E,"subPixelOptimize",function(){return ag}),l.d(E,"getTransform",function(){return A0}),l.d(E,"applyTransform",function(){return Vm}),l.d(E,"transformDirection",function(){return rA}),l.d(E,"groupTransition",function(){return Wx}),l.d(E,"clipPointsByRect",function(){return IR}),l.d(E,"clipRectByRect",function(){return _6}),l.d(E,"createIcon",function(){return tC}),l.d(E,"linePolygonIntersect",function(){return Kx}),l.d(E,"lineLineIntersect",function(){return y6}),l.d(E,"setTooltipConfig",function(){return nC}),l.d(E,"traverseElements",function(){return Fy}),l.d(E,"Group",function(){return _s}),l.d(E,"Image",function(){return Gi}),l.d(E,"Text",function(){return Ho}),l.d(E,"Circle",function(){return Um}),l.d(E,"Ellipse",function(){return ZT}),l.d(E,"Sector",function(){return bv}),l.d(E,"Ring",function(){return Es}),l.d(E,"Polygon",function(){return $h}),l.d(E,"Polyline",function(){return Cg}),l.d(E,"Rect",function(){return Ic}),l.d(E,"Line",function(){return _h}),l.d(E,"BezierCurve",function(){return qT}),l.d(E,"Arc",function(){return xi}),l.d(E,"IncrementalDisplayable",function(){return RR}),l.d(E,"CompoundPath",function(){return eA}),l.d(E,"LinearGradient",function(){return h1}),l.d(E,"RadialGradient",function(){return tA}),l.d(E,"BoundingRect",function(){return fo}),l.d(E,"OrientedBoundingRect",function(){return zx}),l.d(E,"Point",function(){return Ni}),l.d(E,"Path",function(){return Ti});var m={};l.r(m),l.d(m,"extendShape",function(){return nh}),l.d(m,"extendPath",function(){return DR}),l.d(m,"makePath",function(){return $x}),l.d(m,"makeImage",function(){return g6}),l.d(m,"mergePath",function(){return zg}),l.d(m,"resizePath",function(){return zv}),l.d(m,"createIcon",function(){return tC}),l.d(m,"updateProps",function(){return pf}),l.d(m,"initProps",function(){return dp}),l.d(m,"getTransform",function(){return A0}),l.d(m,"clipPointsByRect",function(){return IR}),l.d(m,"clipRectByRect",function(){return _6}),l.d(m,"registerShape",function(){return Vf}),l.d(m,"getShapeClass",function(){return qO}),l.d(m,"Group",function(){return _s}),l.d(m,"Image",function(){return Gi}),l.d(m,"Text",function(){return Ho}),l.d(m,"Circle",function(){return Um}),l.d(m,"Ellipse",function(){return ZT}),l.d(m,"Sector",function(){return bv}),l.d(m,"Ring",function(){return Es}),l.d(m,"Polygon",function(){return $h}),l.d(m,"Polyline",function(){return Cg}),l.d(m,"Rect",function(){return Ic}),l.d(m,"Line",function(){return _h}),l.d(m,"BezierCurve",function(){return qT}),l.d(m,"Arc",function(){return xi}),l.d(m,"IncrementalDisplayable",function(){return RR}),l.d(m,"CompoundPath",function(){return eA}),l.d(m,"LinearGradient",function(){return h1}),l.d(m,"RadialGradient",function(){return tA}),l.d(m,"BoundingRect",function(){return fo});var O=l("jrin"),C=l("k1fw"),k=l("qLMh"),A=l("oBTY"),S=l("9og8"),y=l("tJVT"),w=l("c+yx"),x=l("q1tI"),T=l.n(x),j=l("9kvl"),D=l("cWXX"),N=l("/ezw"),F=l("TSYQ"),B=l.n(F),U=l("R+Pm"),J=l("ShgS"),$=Object(U.a)({scriptUrl:J.a.iconfontUrl}),X=$,ee=l("nIWy"),ie=l.n(ee),G=l("nKUr"),Q=function(){return Object(G.jsx)(X,{type:"icon-zhinengsuanfa",className:ie.a.leftAvatar})},W=Q,ne=l("0Wiw"),te=l.n(ne),_e=function(n){var e,s=n.position,f=n.width,p=n.height,h=n.children,_=n.bubbleClassName,M=n.domainName,L=n.question,z=n.followQuestions,Y=B()(te.a.message,(e={},Object(O.a)(e,te.a.left,s==="left"),Object(O.a)(e,te.a.right,s==="right"),e)),q=L?z&&z.length>0?"\u591A\u8F6E\u5BF9\u8BDD\uFF1A".concat([L].concat(Object(A.a)(z)).join(" \u2190 ")):"\u5355\u8F6E\u5BF9\u8BDD\uFF1A".concat(L):"";return Object(G.jsxs)("div",{className:Y,style:{width:f},children:[!!M&&Object(G.jsx)("div",{className:te.a.domainName,children:M}),Object(G.jsx)("div",{className:te.a.messageContent,children:Object(G.jsx)("div",{className:te.a.messageBody,children:Object(G.jsxs)("div",{className:"".concat(te.a.bubble).concat(_?" ".concat(_):""),style:{height:p},onClick:function(ye){ye.stopPropagation()},children:[s==="left"&&L&&Object(G.jsx)("div",{className:te.a.messageTopBar,title:q,children:q}),h]})})})]})},he=_e,oe=function(n){var e=n.position,s=n.data,f=n.quote,p=B()(te.a.textWrapper,Object(O.a)({},te.a.rightTextWrapper,e==="right"));return Object(G.jsxs)("div",{className:p,children:[e==="left"&&Object(G.jsx)(W,{}),Object(G.jsxs)(he,{position:e,bubbleClassName:te.a.textBubble,children:[e==="right"&&f&&Object(G.jsx)("div",{className:te.a.quote,children:f}),Object(G.jsx)("div",{className:te.a.text,children:s})]})]})},ge=oe,me=l("LvDl"),Z=function(n,e){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(s[p]=f[p])},Z(n,e)};function xe(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Z(a,n);function e(){this.constructor=a}a.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var Ee=function(){return Ee=Object.assign||function(e){for(var s,f=1,p=arguments.length;f<p;f++){s=arguments[f];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(e[h]=s[h])}return e},Ee.apply(this,arguments)};function Le(a,n){var e={};for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&n.indexOf(s)<0&&(e[s]=a[s]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,s=Object.getOwnPropertySymbols(a);f<s.length;f++)n.indexOf(s[f])<0&&Object.prototype.propertyIsEnumerable.call(a,s[f])&&(e[s[f]]=a[s[f]]);return e}function we(a,n,e,s){var f=arguments.length,p=f<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,e):s,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(a,n,e,s);else for(var _=a.length-1;_>=0;_--)(h=a[_])&&(p=(f<3?h(p):f>3?h(n,e,p):h(n,e))||p);return f>3&&p&&Object.defineProperty(n,e,p),p}function fe(a,n){return function(e,s){n(e,s,a)}}function pe(a,n,e,s,f,p){function h(We){if(We!==void 0&&typeof We!="function")throw new TypeError("Function expected");return We}for(var _=s.kind,M=_==="getter"?"get":_==="setter"?"set":"value",L=!n&&a?s.static?a:a.prototype:null,z=n||(L?Object.getOwnPropertyDescriptor(L,s.name):{}),Y,q=!1,se=e.length-1;se>=0;se--){var ye={};for(var je in s)ye[je]=je==="access"?{}:s[je];for(var je in s.access)ye.access[je]=s.access[je];ye.addInitializer=function(We){if(q)throw new TypeError("Cannot add initializers after decoration has completed");p.push(h(We||null))};var De=(0,e[se])(_==="accessor"?{get:z.get,set:z.set}:z[M],ye);if(_==="accessor"){if(De===void 0)continue;if(De===null||typeof De!="object")throw new TypeError("Object expected");(Y=h(De.get))&&(z.get=Y),(Y=h(De.set))&&(z.set=Y),(Y=h(De.init))&&f.unshift(Y)}else(Y=h(De))&&(_==="field"?f.unshift(Y):z[M]=Y)}L&&Object.defineProperty(L,s.name,z),q=!0}function Ke(a,n,e){for(var s=arguments.length>2,f=0;f<n.length;f++)e=s?n[f].call(a,e):n[f].call(a);return s?e:void 0}function Me(a){return typeof a=="symbol"?a:"".concat(a)}function ze(a,n,e){return typeof n=="symbol"&&(n=n.description?"[".concat(n.description,"]"):""),Object.defineProperty(a,"name",{configurable:!0,value:e?"".concat(e," ",n):n})}function Ue(a,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,n)}function He(a,n,e,s){function f(p){return p instanceof e?p:new e(function(h){h(p)})}return new(e||(e=Promise))(function(p,h){function _(z){try{L(s.next(z))}catch(Y){h(Y)}}function M(z){try{L(s.throw(z))}catch(Y){h(Y)}}function L(z){z.done?p(z.value):f(z.value).then(_,M)}L((s=s.apply(a,n||[])).next())})}function Ne(a,n){var e={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},s,f,p,h;return h={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function _(L){return function(z){return M([L,z])}}function M(L){if(s)throw new TypeError("Generator is already executing.");for(;h&&(h=0,L[0]&&(e=0)),e;)try{if(s=1,f&&(p=L[0]&2?f.return:L[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,L[1])).done)return p;switch(f=0,p&&(L=[L[0]&2,p.value]),L[0]){case 0:case 1:p=L;break;case 4:return e.label++,{value:L[1],done:!1};case 5:e.label++,f=L[1],L=[0];continue;case 7:L=e.ops.pop(),e.trys.pop();continue;default:if(p=e.trys,!(p=p.length>0&&p[p.length-1])&&(L[0]===6||L[0]===2)){e=0;continue}if(L[0]===3&&(!p||L[1]>p[0]&&L[1]<p[3])){e.label=L[1];break}if(L[0]===6&&e.label<p[1]){e.label=p[1],p=L;break}if(p&&e.label<p[2]){e.label=p[2],e.ops.push(L);break}p[2]&&e.ops.pop(),e.trys.pop();continue}L=n.call(a,e)}catch(z){L=[6,z],f=0}finally{s=p=0}if(L[0]&5)throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}}var it=Object.create?function(a,n,e,s){s===void 0&&(s=e);var f=Object.getOwnPropertyDescriptor(n,e);(!f||("get"in f?!n.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(a,s,f)}:function(a,n,e,s){s===void 0&&(s=e),a[s]=n[e]};function Xe(a,n){for(var e in a)e!=="default"&&!Object.prototype.hasOwnProperty.call(n,e)&&it(n,a,e)}function ht(a){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&a[n],s=0;if(e)return e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&s>=a.length&&(a=void 0),{value:a&&a[s++],done:!a}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function lt(a,n){var e=typeof Symbol=="function"&&a[Symbol.iterator];if(!e)return a;var s=e.call(a),f,p=[],h;try{for(;(n===void 0||n-- >0)&&!(f=s.next()).done;)p.push(f.value)}catch(_){h={error:_}}finally{try{f&&!f.done&&(e=s.return)&&e.call(s)}finally{if(h)throw h.error}}return p}function Et(){for(var a=[],n=0;n<arguments.length;n++)a=a.concat(lt(arguments[n]));return a}function tt(){for(var a=0,n=0,e=arguments.length;n<e;n++)a+=arguments[n].length;for(var s=Array(a),f=0,n=0;n<e;n++)for(var p=arguments[n],h=0,_=p.length;h<_;h++,f++)s[f]=p[h];return s}function mt(a,n,e){if(e||arguments.length===2)for(var s=0,f=n.length,p;s<f;s++)(p||!(s in n))&&(p||(p=Array.prototype.slice.call(n,0,s)),p[s]=n[s]);return a.concat(p||Array.prototype.slice.call(n))}function xt(a){return this instanceof xt?(this.v=a,this):new xt(a)}function Xt(a,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=e.apply(a,n||[]),f,p=[];return f={},h("next"),h("throw"),h("return"),f[Symbol.asyncIterator]=function(){return this},f;function h(q){s[q]&&(f[q]=function(se){return new Promise(function(ye,je){p.push([q,se,ye,je])>1||_(q,se)})})}function _(q,se){try{M(s[q](se))}catch(ye){Y(p[0][3],ye)}}function M(q){q.value instanceof xt?Promise.resolve(q.value.v).then(L,z):Y(p[0][2],q)}function L(q){_("next",q)}function z(q){_("throw",q)}function Y(q,se){q(se),p.shift(),p.length&&_(p[0][0],p[0][1])}}function vt(a){var n,e;return n={},s("next"),s("throw",function(f){throw f}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(f,p){n[f]=a[f]?function(h){return(e=!e)?{value:xt(a[f](h)),done:!1}:p?p(h):h}:p}}function qe(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a[Symbol.asyncIterator],e;return n?n.call(a):(a=typeof ht=="function"?ht(a):a[Symbol.iterator](),e={},s("next"),s("throw"),s("return"),e[Symbol.asyncIterator]=function(){return this},e);function s(p){e[p]=a[p]&&function(h){return new Promise(function(_,M){h=a[p](h),f(_,M,h.done,h.value)})}}function f(p,h,_,M){Promise.resolve(M).then(function(L){p({value:L,done:_})},h)}}function Re(a,n){return Object.defineProperty?Object.defineProperty(a,"raw",{value:n}):a.raw=n,a}var Se=Object.create?function(a,n){Object.defineProperty(a,"default",{enumerable:!0,value:n})}:function(a,n){a.default=n};function Ve(a){if(a&&a.__esModule)return a;var n={};if(a!=null)for(var e in a)e!=="default"&&Object.prototype.hasOwnProperty.call(a,e)&&it(n,a,e);return Se(n,a),n}function Ge(a){return a&&a.__esModule?a:{default:a}}function _t(a,n,e,s){if(e==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?a!==n||!s:!n.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e==="m"?s:e==="a"?s.call(a):s?s.value:n.get(a)}function bt(a,n,e,s,f){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?a!==n||!f:!n.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?f.call(a,e):f?f.value=e:n.set(a,e),e}function gt(a,n){if(n===null||typeof n!="object"&&typeof n!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof a=="function"?n===a:a.has(n)}function at(a,n,e){if(n!=null){if(typeof n!="object")throw new TypeError("Object expected.");var s;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=n[Symbol.asyncDispose]}if(s===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=n[Symbol.dispose]}if(typeof s!="function")throw new TypeError("Object not disposable.");a.stack.push({value:n,dispose:s,async:e})}else e&&a.stack.push({async:!0});return n}var ft=typeof SuppressedError=="function"?SuppressedError:function(a,n,e){var s=new Error(e);return s.name="SuppressedError",s.error=a,s.suppressed=n,s};function Fe(a){function n(s){a.error=a.hasError?new ft(s,a.error,"An error was suppressed during disposal."):s,a.hasError=!0}function e(){for(;a.stack.length;){var s=a.stack.pop();try{var f=s.dispose&&s.dispose.call(s.value);if(s.async)return Promise.resolve(f).then(e,function(p){return n(p),e()})}catch(p){n(p)}}if(a.hasError)throw a.error}return e()}var Te={__extends:xe,__assign:Ee,__rest:Le,__decorate:we,__param:fe,__metadata:Ue,__awaiter:He,__generator:Ne,__createBinding:it,__exportStar:Xe,__values:ht,__read:lt,__spread:Et,__spreadArrays:tt,__spreadArray:mt,__await:xt,__asyncGenerator:Xt,__asyncDelegator:vt,__asyncValues:qe,__makeTemplateObject:Re,__importStar:Ve,__importDefault:Ge,__classPrivateFieldGet:_t,__classPrivateFieldSet:bt,__classPrivateFieldIn:gt,__addDisposableResource:at,__disposeResources:Fe},ut=l("wKP8"),le=l.n(ut);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var $e=function(n,e){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(s[p]=f[p])},$e(n,e)};function Qe(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");$e(a,n);function e(){this.constructor=a}a.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var Tt=function(){return Tt=Object.assign||function(e){for(var s,f=1,p=arguments.length;f<p;f++){s=arguments[f];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(e[h]=s[h])}return e},Tt.apply(this,arguments)};function Ot(a,n){var e={};for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&n.indexOf(s)<0&&(e[s]=a[s]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,s=Object.getOwnPropertySymbols(a);f<s.length;f++)n.indexOf(s[f])<0&&Object.prototype.propertyIsEnumerable.call(a,s[f])&&(e[s[f]]=a[s[f]]);return e}function Ut(a,n,e,s){var f=arguments.length,p=f<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,e):s,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(a,n,e,s);else for(var _=a.length-1;_>=0;_--)(h=a[_])&&(p=(f<3?h(p):f>3?h(n,e,p):h(n,e))||p);return f>3&&p&&Object.defineProperty(n,e,p),p}function At(a,n){return function(e,s){n(e,s,a)}}function Pt(a,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,n)}function Dt(a,n,e,s){function f(p){return p instanceof e?p:new e(function(h){h(p)})}return new(e||(e=Promise))(function(p,h){function _(z){try{L(s.next(z))}catch(Y){h(Y)}}function M(z){try{L(s.throw(z))}catch(Y){h(Y)}}function L(z){z.done?p(z.value):f(z.value).then(_,M)}L((s=s.apply(a,n||[])).next())})}function Qt(a,n){var e={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},s,f,p,h;return h={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function _(L){return function(z){return M([L,z])}}function M(L){if(s)throw new TypeError("Generator is already executing.");for(;e;)try{if(s=1,f&&(p=L[0]&2?f.return:L[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,L[1])).done)return p;switch(f=0,p&&(L=[L[0]&2,p.value]),L[0]){case 0:case 1:p=L;break;case 4:return e.label++,{value:L[1],done:!1};case 5:e.label++,f=L[1],L=[0];continue;case 7:L=e.ops.pop(),e.trys.pop();continue;default:if(p=e.trys,!(p=p.length>0&&p[p.length-1])&&(L[0]===6||L[0]===2)){e=0;continue}if(L[0]===3&&(!p||L[1]>p[0]&&L[1]<p[3])){e.label=L[1];break}if(L[0]===6&&e.label<p[1]){e.label=p[1],p=L;break}if(p&&e.label<p[2]){e.label=p[2],e.ops.push(L);break}p[2]&&e.ops.pop(),e.trys.pop();continue}L=n.call(a,e)}catch(z){L=[6,z],f=0}finally{s=p=0}if(L[0]&5)throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}}var cn=Object.create?function(a,n,e,s){s===void 0&&(s=e),Object.defineProperty(a,s,{enumerable:!0,get:function(){return n[e]}})}:function(a,n,e,s){s===void 0&&(s=e),a[s]=n[e]};function $n(a,n){for(var e in a)e!=="default"&&!Object.prototype.hasOwnProperty.call(n,e)&&cn(n,a,e)}function hn(a){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&a[n],s=0;if(e)return e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&s>=a.length&&(a=void 0),{value:a&&a[s++],done:!a}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function _n(a,n){var e=typeof Symbol=="function"&&a[Symbol.iterator];if(!e)return a;var s=e.call(a),f,p=[],h;try{for(;(n===void 0||n-- >0)&&!(f=s.next()).done;)p.push(f.value)}catch(_){h={error:_}}finally{try{f&&!f.done&&(e=s.return)&&e.call(s)}finally{if(h)throw h.error}}return p}function bn(){for(var a=[],n=0;n<arguments.length;n++)a=a.concat(_n(arguments[n]));return a}function Bn(){for(var a=0,n=0,e=arguments.length;n<e;n++)a+=arguments[n].length;for(var s=Array(a),f=0,n=0;n<e;n++)for(var p=arguments[n],h=0,_=p.length;h<_;h++,f++)s[f]=p[h];return s}function Tn(a,n,e){if(e||arguments.length===2)for(var s=0,f=n.length,p;s<f;s++)(p||!(s in n))&&(p||(p=Array.prototype.slice.call(n,0,s)),p[s]=n[s]);return a.concat(p||n)}function Tr(a){return this instanceof Tr?(this.v=a,this):new Tr(a)}function Sr(a,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=e.apply(a,n||[]),f,p=[];return f={},h("next"),h("throw"),h("return"),f[Symbol.asyncIterator]=function(){return this},f;function h(q){s[q]&&(f[q]=function(se){return new Promise(function(ye,je){p.push([q,se,ye,je])>1||_(q,se)})})}function _(q,se){try{M(s[q](se))}catch(ye){Y(p[0][3],ye)}}function M(q){q.value instanceof Tr?Promise.resolve(q.value.v).then(L,z):Y(p[0][2],q)}function L(q){_("next",q)}function z(q){_("throw",q)}function Y(q,se){q(se),p.shift(),p.length&&_(p[0][0],p[0][1])}}function Wr(a){var n,e;return n={},s("next"),s("throw",function(f){throw f}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(f,p){n[f]=a[f]?function(h){return(e=!e)?{value:Tr(a[f](h)),done:f==="return"}:p?p(h):h}:p}}function br(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a[Symbol.asyncIterator],e;return n?n.call(a):(a=typeof hn=="function"?hn(a):a[Symbol.iterator](),e={},s("next"),s("throw"),s("return"),e[Symbol.asyncIterator]=function(){return this},e);function s(p){e[p]=a[p]&&function(h){return new Promise(function(_,M){h=a[p](h),f(_,M,h.done,h.value)})}}function f(p,h,_,M){Promise.resolve(M).then(function(L){p({value:L,done:_})},h)}}function Wn(a,n){return Object.defineProperty?Object.defineProperty(a,"raw",{value:n}):a.raw=n,a}var gr=Object.create?function(a,n){Object.defineProperty(a,"default",{enumerable:!0,value:n})}:function(a,n){a.default=n};function na(a){if(a&&a.__esModule)return a;var n={};if(a!=null)for(var e in a)e!=="default"&&Object.prototype.hasOwnProperty.call(a,e)&&cn(n,a,e);return gr(n,a),n}function jn(a){return a&&a.__esModule?a:{default:a}}function un(a,n,e,s){if(e==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?a!==n||!s:!n.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e==="m"?s:e==="a"?s.call(a):s?s.value:n.get(a)}function zt(a,n,e,s,f){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?a!==n||!f:!n.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?f.call(a,e):f?f.value=e:n.set(a,e),e}var Bt=l("8MX5"),H=l("CVnW");/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var ot=function(n,e){return ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(s[p]=f[p])},ot(n,e)};function nt(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");ot(a,n);function e(){this.constructor=a}a.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var Ct=function(){return Ct=Object.assign||function(e){for(var s,f=1,p=arguments.length;f<p;f++){s=arguments[f];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(e[h]=s[h])}return e},Ct.apply(this,arguments)};function Wt(a,n){var e={};for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&n.indexOf(s)<0&&(e[s]=a[s]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,s=Object.getOwnPropertySymbols(a);f<s.length;f++)n.indexOf(s[f])<0&&Object.prototype.propertyIsEnumerable.call(a,s[f])&&(e[s[f]]=a[s[f]]);return e}function kn(a,n,e,s){var f=arguments.length,p=f<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,e):s,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(a,n,e,s);else for(var _=a.length-1;_>=0;_--)(h=a[_])&&(p=(f<3?h(p):f>3?h(n,e,p):h(n,e))||p);return f>3&&p&&Object.defineProperty(n,e,p),p}function Sn(a,n){return function(e,s){n(e,s,a)}}function Zn(a,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,n)}function Or(a,n,e,s){function f(p){return p instanceof e?p:new e(function(h){h(p)})}return new(e||(e=Promise))(function(p,h){function _(z){try{L(s.next(z))}catch(Y){h(Y)}}function M(z){try{L(s.throw(z))}catch(Y){h(Y)}}function L(z){z.done?p(z.value):f(z.value).then(_,M)}L((s=s.apply(a,n||[])).next())})}function Yn(a,n){var e={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},s,f,p,h;return h={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function _(L){return function(z){return M([L,z])}}function M(L){if(s)throw new TypeError("Generator is already executing.");for(;e;)try{if(s=1,f&&(p=L[0]&2?f.return:L[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,L[1])).done)return p;switch(f=0,p&&(L=[L[0]&2,p.value]),L[0]){case 0:case 1:p=L;break;case 4:return e.label++,{value:L[1],done:!1};case 5:e.label++,f=L[1],L=[0];continue;case 7:L=e.ops.pop(),e.trys.pop();continue;default:if(p=e.trys,!(p=p.length>0&&p[p.length-1])&&(L[0]===6||L[0]===2)){e=0;continue}if(L[0]===3&&(!p||L[1]>p[0]&&L[1]<p[3])){e.label=L[1];break}if(L[0]===6&&e.label<p[1]){e.label=p[1],p=L;break}if(p&&e.label<p[2]){e.label=p[2],e.ops.push(L);break}p[2]&&e.ops.pop(),e.trys.pop();continue}L=n.call(a,e)}catch(z){L=[6,z],f=0}finally{s=p=0}if(L[0]&5)throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}}var Nn=Object.create?function(a,n,e,s){s===void 0&&(s=e),Object.defineProperty(a,s,{enumerable:!0,get:function(){return n[e]}})}:function(a,n,e,s){s===void 0&&(s=e),a[s]=n[e]};function Zt(a,n){for(var e in a)e!=="default"&&!Object.prototype.hasOwnProperty.call(n,e)&&Nn(n,a,e)}function rr(a){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&a[n],s=0;if(e)return e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&s>=a.length&&(a=void 0),{value:a&&a[s++],done:!a}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Gn(a,n){var e=typeof Symbol=="function"&&a[Symbol.iterator];if(!e)return a;var s=e.call(a),f,p=[],h;try{for(;(n===void 0||n-- >0)&&!(f=s.next()).done;)p.push(f.value)}catch(_){h={error:_}}finally{try{f&&!f.done&&(e=s.return)&&e.call(s)}finally{if(h)throw h.error}}return p}function ln(){for(var a=[],n=0;n<arguments.length;n++)a=a.concat(Gn(arguments[n]));return a}function Xn(){for(var a=0,n=0,e=arguments.length;n<e;n++)a+=arguments[n].length;for(var s=Array(a),f=0,n=0;n<e;n++)for(var p=arguments[n],h=0,_=p.length;h<_;h++,f++)s[f]=p[h];return s}function Kn(a,n,e){if(e||arguments.length===2)for(var s=0,f=n.length,p;s<f;s++)(p||!(s in n))&&(p||(p=Array.prototype.slice.call(n,0,s)),p[s]=n[s]);return a.concat(p||n)}function fr(a){return this instanceof fr?(this.v=a,this):new fr(a)}function Hn(a,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=e.apply(a,n||[]),f,p=[];return f={},h("next"),h("throw"),h("return"),f[Symbol.asyncIterator]=function(){return this},f;function h(q){s[q]&&(f[q]=function(se){return new Promise(function(ye,je){p.push([q,se,ye,je])>1||_(q,se)})})}function _(q,se){try{M(s[q](se))}catch(ye){Y(p[0][3],ye)}}function M(q){q.value instanceof fr?Promise.resolve(q.value.v).then(L,z):Y(p[0][2],q)}function L(q){_("next",q)}function z(q){_("throw",q)}function Y(q,se){q(se),p.shift(),p.length&&_(p[0][0],p[0][1])}}function Sa(a){var n,e;return n={},s("next"),s("throw",function(f){throw f}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(f,p){n[f]=a[f]?function(h){return(e=!e)?{value:fr(a[f](h)),done:f==="return"}:p?p(h):h}:p}}function Lr(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a[Symbol.asyncIterator],e;return n?n.call(a):(a=typeof rr=="function"?rr(a):a[Symbol.iterator](),e={},s("next"),s("throw"),s("return"),e[Symbol.asyncIterator]=function(){return this},e);function s(p){e[p]=a[p]&&function(h){return new Promise(function(_,M){h=a[p](h),f(_,M,h.done,h.value)})}}function f(p,h,_,M){Promise.resolve(M).then(function(L){p({value:L,done:_})},h)}}function Ca(a,n){return Object.defineProperty?Object.defineProperty(a,"raw",{value:n}):a.raw=n,a}var za=Object.create?function(a,n){Object.defineProperty(a,"default",{enumerable:!0,value:n})}:function(a,n){a.default=n};function Ma(a){if(a&&a.__esModule)return a;var n={};if(a!=null)for(var e in a)e!=="default"&&Object.prototype.hasOwnProperty.call(a,e)&&Nn(n,a,e);return za(n,a),n}function va(a){return a&&a.__esModule?a:{default:a}}function qa(a,n,e,s){if(e==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?a!==n||!s:!n.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e==="m"?s:e==="a"?s.call(a):s?s.value:n.get(a)}function gi(a,n,e,s,f){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?a!==n||!f:!n.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?f.call(a,e):f?f.value=e:n.set(a,e),e}function Qi(a,n){return a==null&&(a=0),n==null&&(n=0),[a,n]}function mi(a,n){return a[0]=n[0],a[1]=n[1],a}function Cr(a){return[a[0],a[1]]}function Un(a,n,e){return a[0]=n,a[1]=e,a}function Lt(a,n,e){return a[0]=n[0]+e[0],a[1]=n[1]+e[1],a}function gn(a,n,e,s){return a[0]=n[0]+e[0]*s,a[1]=n[1]+e[1]*s,a}function Ln(a,n,e){return a[0]=n[0]-e[0],a[1]=n[1]-e[1],a}function kr(a){return Math.sqrt(Qr(a))}var ea=kr;function Qr(a){return a[0]*a[0]+a[1]*a[1]}var Na=Qr;function ar(a,n,e){return a[0]=n[0]*e[0],a[1]=n[1]*e[1],a}function pi(a,n,e){return a[0]=n[0]/e[0],a[1]=n[1]/e[1],a}function _i(a,n){return a[0]*n[0]+a[1]*n[1]}function ti(a,n,e){return a[0]=n[0]*e,a[1]=n[1]*e,a}function ui(a,n){var e=kr(n);return e===0?(a[0]=0,a[1]=0):(a[0]=n[0]/e,a[1]=n[1]/e),a}function Ri(a,n){return Math.sqrt((a[0]-n[0])*(a[0]-n[0])+(a[1]-n[1])*(a[1]-n[1]))}var ao=Ri;function Zi(a,n){return(a[0]-n[0])*(a[0]-n[0])+(a[1]-n[1])*(a[1]-n[1])}var Fi=Zi;function Si(a,n){return a[0]=-n[0],a[1]=-n[1],a}function qi(a,n,e,s){return a[0]=n[0]+s*(e[0]-n[0]),a[1]=n[1]+s*(e[1]-n[1]),a}function eo(a,n,e){var s=n[0],f=n[1];return a[0]=e[0]*s+e[2]*f+e[4],a[1]=e[1]*s+e[3]*f+e[5],a}function xo(a,n,e){return a[0]=Math.min(n[0],e[0]),a[1]=Math.min(n[1],e[1]),a}function cs(a,n,e){return a[0]=Math.max(n[0],e[0]),a[1]=Math.max(n[1],e[1]),a}var ba=function(){function a(n,e){this.target=n,this.topTarget=e&&e.topTarget}return a}(),sa=function(){function a(n){this.handler=n,n.on("mousedown",this._dragStart,this),n.on("mousemove",this._drag,this),n.on("mouseup",this._dragEnd,this)}return a.prototype._dragStart=function(n){for(var e=n.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=n.offsetX,this._y=n.offsetY,this.handler.dispatchToElement(new ba(e,n),"dragstart",n.event))},a.prototype._drag=function(n){var e=this._draggingTarget;if(e){var s=n.offsetX,f=n.offsetY,p=s-this._x,h=f-this._y;this._x=s,this._y=f,e.drift(p,h,n),this.handler.dispatchToElement(new ba(e,n),"drag",n.event);var _=this.handler.findHover(s,f,e).target,M=this._dropTarget;this._dropTarget=_,e!==_&&(M&&_!==M&&this.handler.dispatchToElement(new ba(M,n),"dragleave",n.event),_&&_!==M&&this.handler.dispatchToElement(new ba(_,n),"dragenter",n.event))}},a.prototype._dragEnd=function(n){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new ba(e,n),"dragend",n.event),this._dropTarget&&this.handler.dispatchToElement(new ba(this._dropTarget,n),"drop",n.event),this._draggingTarget=null,this._dropTarget=null},a}(),Da=sa,On=function(){function a(n){n&&(this._$eventProcessor=n)}return a.prototype.on=function(n,e,s,f){this._$handlers||(this._$handlers={});var p=this._$handlers;if(typeof e=="function"&&(f=s,s=e,e=null),!s||!n)return this;var h=this._$eventProcessor;e!=null&&h&&h.normalizeQuery&&(e=h.normalizeQuery(e)),p[n]||(p[n]=[]);for(var _=0;_<p[n].length;_++)if(p[n][_].h===s)return this;var M={h:s,query:e,ctx:f||this,callAtLast:s.zrEventfulCallAtLast},L=p[n].length-1,z=p[n][L];return z&&z.callAtLast?p[n].splice(L,0,M):p[n].push(M),this},a.prototype.isSilent=function(n){var e=this._$handlers;return!e||!e[n]||!e[n].length},a.prototype.off=function(n,e){var s=this._$handlers;if(!s)return this;if(!n)return this._$handlers={},this;if(e){if(s[n]){for(var f=[],p=0,h=s[n].length;p<h;p++)s[n][p].h!==e&&f.push(s[n][p]);s[n]=f}s[n]&&s[n].length===0&&delete s[n]}else delete s[n];return this},a.prototype.trigger=function(n){for(var e=[],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(!this._$handlers)return this;var f=this._$handlers[n],p=this._$eventProcessor;if(f)for(var h=e.length,_=f.length,M=0;M<_;M++){var L=f[M];if(!(p&&p.filter&&L.query!=null&&!p.filter(n,L.query)))switch(h){case 0:L.h.call(L.ctx);break;case 1:L.h.call(L.ctx,e[0]);break;case 2:L.h.call(L.ctx,e[0],e[1]);break;default:L.h.apply(L.ctx,e);break}}return p&&p.afterTrigger&&p.afterTrigger(n),this},a.prototype.triggerWithContext=function(n){for(var e=[],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(!this._$handlers)return this;var f=this._$handlers[n],p=this._$eventProcessor;if(f)for(var h=e.length,_=e[h-1],M=f.length,L=0;L<M;L++){var z=f[L];if(!(p&&p.filter&&z.query!=null&&!p.filter(n,z.query)))switch(h){case 0:z.h.call(_);break;case 1:z.h.call(_,e[0]);break;case 2:z.h.call(_,e[0],e[1]);break;default:z.h.apply(_,e.slice(1,h-1));break}}return p&&p.afterTrigger&&p.afterTrigger(n),this},a}(),xn=On,Rt=Math.log(2);function mr(a,n,e,s,f,p){var h=s+"-"+f,_=a.length;if(p.hasOwnProperty(h))return p[h];if(n===1){var M=Math.round(Math.log((1<<_)-1&~f)/Rt);return a[e][M]}for(var L=s|1<<e,z=e+1;s&1<<z;)z++;for(var Y=0,q=0,se=0;q<_;q++){var ye=1<<q;ye&f||(Y+=(se%2?-1:1)*a[e][q]*mr(a,n-1,z,L,f|ye,p),se++)}return p[h]=Y,Y}function ta(a,n){var e=[[a[0],a[1],1,0,0,0,-n[0]*a[0],-n[0]*a[1]],[0,0,0,a[0],a[1],1,-n[1]*a[0],-n[1]*a[1]],[a[2],a[3],1,0,0,0,-n[2]*a[2],-n[2]*a[3]],[0,0,0,a[2],a[3],1,-n[3]*a[2],-n[3]*a[3]],[a[4],a[5],1,0,0,0,-n[4]*a[4],-n[4]*a[5]],[0,0,0,a[4],a[5],1,-n[5]*a[4],-n[5]*a[5]],[a[6],a[7],1,0,0,0,-n[6]*a[6],-n[6]*a[7]],[0,0,0,a[6],a[7],1,-n[7]*a[6],-n[7]*a[7]]],s={},f=mr(e,8,0,0,0,s);if(f!==0){for(var p=[],h=0;h<8;h++)for(var _=0;_<8;_++)p[_]==null&&(p[_]=0),p[_]+=((h+_)%2?-1:1)*mr(e,7,h===0?1:0,1<<h,1<<_,s)/f*n[h];return function(M,L,z){var Y=L*p[6]+z*p[7]+1;M[0]=(L*p[0]+z*p[1]+p[2])/Y,M[1]=(L*p[3]+z*p[4]+p[5])/Y}}}var ma="___zrEVENTSAVED",Oa=[];function Pn(a,n,e,s,f){return Kr(Oa,n,s,f,!0)&&Kr(a,e,Oa[0],Oa[1])}function Kr(a,n,e,s,f){if(n.getBoundingClientRect&&Bt.a.domSupported&&!Ea(n)){var p=n[ma]||(n[ma]={}),h=Vn(n,p),_=tr(h,p,f);if(_)return _(a,e,s),!0}return!1}function Vn(a,n){var e=n.markers;if(e)return e;e=n.markers=[];for(var s=["left","right"],f=["top","bottom"],p=0;p<4;p++){var h=document.createElement("div"),_=h.style,M=p%2,L=(p>>1)%2;_.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",s[M]+":0",f[L]+":0",s[1-M]+":auto",f[1-L]+":auto",""].join("!important;"),a.appendChild(h),e.push(h)}return e}function tr(a,n,e){for(var s=e?"invTrans":"trans",f=n[s],p=n.srcCoords,h=[],_=[],M=!0,L=0;L<4;L++){var z=a[L].getBoundingClientRect(),Y=2*L,q=z.left,se=z.top;h.push(q,se),M=M&&p&&q===p[Y]&&se===p[Y+1],_.push(a[L].offsetLeft,a[L].offsetTop)}return M&&f?f:(n.srcCoords=h,n[s]=e?ta(_,h):ta(h,_))}function Ea(a){return a.nodeName.toUpperCase()==="CANVAS"}var Ja=/([&<>"'])/g,go={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function fi(a){return a==null?"":(a+"").replace(Ja,function(n,e){return go[e]})}var lo=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Oi=[],io=Bt.a.browser.firefox&&+Bt.a.browser.version.split(".")[0]<39;function Vi(a,n,e,s){return e=e||{},s?vo(a,n,e):io&&n.layerX!=null&&n.layerX!==n.offsetX?(e.zrX=n.layerX,e.zrY=n.layerY):n.offsetX!=null?(e.zrX=n.offsetX,e.zrY=n.offsetY):vo(a,n,e),e}function vo(a,n,e){if(Bt.a.domSupported&&a.getBoundingClientRect){var s=n.clientX,f=n.clientY;if(Ea(a)){var p=a.getBoundingClientRect();e.zrX=s-p.left,e.zrY=f-p.top;return}else if(Kr(Oi,a,s,f)){e.zrX=Oi[0],e.zrY=Oi[1];return}}e.zrX=e.zrY=0}function qo(a){return a||window.event}function hs(a,n,e){if(n=qo(n),n.zrX!=null)return n;var s=n.type,f=s&&s.indexOf("touch")>=0;if(f){var h=s!=="touchend"?n.targetTouches[0]:n.changedTouches[0];h&&Vi(a,h,n,e)}else{Vi(a,n,n,e);var p=$t(n);n.zrDelta=p?p/120:-(n.detail||0)/3}var _=n.button;return n.which==null&&_!==void 0&&lo.test(n.type)&&(n.which=_&1?1:_&2?3:_&4?2:0),n}function $t(a){var n=a.wheelDelta;if(n)return n;var e=a.deltaX,s=a.deltaY;if(e==null||s==null)return n;var f=Math.abs(s!==0?s:e),p=s>0?-1:s<0?1:e>0?-1:1;return 3*f*p}function rt(a,n,e,s){a.addEventListener(n,e,s)}function Vt(a,n,e,s){a.removeEventListener(n,e,s)}var tn=function(n){n.preventDefault(),n.stopPropagation(),n.cancelBubble=!0};function wn(a){return a.which===2||a.which===3}var qn=function(){function a(){this._track=[]}return a.prototype.recognize=function(n,e,s){return this._doTrack(n,e,s),this._recognize(n)},a.prototype.clear=function(){return this._track.length=0,this},a.prototype._doTrack=function(n,e,s){var f=n.touches;if(!!f){for(var p={points:[],touches:[],target:e,event:n},h=0,_=f.length;h<_;h++){var M=f[h],L=Vi(s,M,{});p.points.push([L.zrX,L.zrY]),p.touches.push(M)}this._track.push(p)}},a.prototype._recognize=function(n){for(var e in da)if(da.hasOwnProperty(e)){var s=da[e](this._track,n);if(s)return s}},a}();function zn(a){var n=a[1][0]-a[0][0],e=a[1][1]-a[0][1];return Math.sqrt(n*n+e*e)}function xr(a){return[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]}var da={pinch:function(n,e){var s=n.length;if(!!s){var f=(n[s-1]||{}).points,p=(n[s-2]||{}).points||f;if(p&&p.length>1&&f&&f.length>1){var h=zn(f)/zn(p);!isFinite(h)&&(h=1),e.pinchScale=h;var _=xr(f);return e.pinchX=_[0],e.pinchY=_[1],{type:"pinch",target:n[0].target,event:e}}}}};function en(){return[1,0,0,1,0,0]}function Fn(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=1,a[4]=0,a[5]=0,a}function Jn(a,n){return a[0]=n[0],a[1]=n[1],a[2]=n[2],a[3]=n[3],a[4]=n[4],a[5]=n[5],a}function Ir(a,n,e){var s=n[0]*e[0]+n[2]*e[1],f=n[1]*e[0]+n[3]*e[1],p=n[0]*e[2]+n[2]*e[3],h=n[1]*e[2]+n[3]*e[3],_=n[0]*e[4]+n[2]*e[5]+n[4],M=n[1]*e[4]+n[3]*e[5]+n[5];return a[0]=s,a[1]=f,a[2]=p,a[3]=h,a[4]=_,a[5]=M,a}function Gr(a,n,e){return a[0]=n[0],a[1]=n[1],a[2]=n[2],a[3]=n[3],a[4]=n[4]+e[0],a[5]=n[5]+e[1],a}function ga(a,n,e){var s=n[0],f=n[2],p=n[4],h=n[1],_=n[3],M=n[5],L=Math.sin(e),z=Math.cos(e);return a[0]=s*z+h*L,a[1]=-s*L+h*z,a[2]=f*z+_*L,a[3]=-f*L+z*_,a[4]=z*p+L*M,a[5]=z*M-L*p,a}function Mr(a,n,e){var s=e[0],f=e[1];return a[0]=n[0]*s,a[1]=n[1]*f,a[2]=n[2]*s,a[3]=n[3]*f,a[4]=n[4]*s,a[5]=n[5]*f,a}function $a(a,n){var e=n[0],s=n[2],f=n[4],p=n[1],h=n[3],_=n[5],M=e*h-p*s;return M?(M=1/M,a[0]=h*M,a[1]=-p*M,a[2]=-s*M,a[3]=e*M,a[4]=(s*_-h*f)*M,a[5]=(p*f-e*_)*M,a):null}function Ya(a){var n=en();return Jn(n,a),n}var _o=function(){function a(n,e){this.x=n||0,this.y=e||0}return a.prototype.copy=function(n){return this.x=n.x,this.y=n.y,this},a.prototype.clone=function(){return new a(this.x,this.y)},a.prototype.set=function(n,e){return this.x=n,this.y=e,this},a.prototype.equal=function(n){return n.x===this.x&&n.y===this.y},a.prototype.add=function(n){return this.x+=n.x,this.y+=n.y,this},a.prototype.scale=function(n){this.x*=n,this.y*=n},a.prototype.scaleAndAdd=function(n,e){this.x+=n.x*e,this.y+=n.y*e},a.prototype.sub=function(n){return this.x-=n.x,this.y-=n.y,this},a.prototype.dot=function(n){return this.x*n.x+this.y*n.y},a.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},a.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},a.prototype.normalize=function(){var n=this.len();return this.x/=n,this.y/=n,this},a.prototype.distance=function(n){var e=this.x-n.x,s=this.y-n.y;return Math.sqrt(e*e+s*s)},a.prototype.distanceSquare=function(n){var e=this.x-n.x,s=this.y-n.y;return e*e+s*s},a.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},a.prototype.transform=function(n){if(!!n){var e=this.x,s=this.y;return this.x=n[0]*e+n[2]*s+n[4],this.y=n[1]*e+n[3]*s+n[5],this}},a.prototype.toArray=function(n){return n[0]=this.x,n[1]=this.y,n},a.prototype.fromArray=function(n){this.x=n[0],this.y=n[1]},a.set=function(n,e,s){n.x=e,n.y=s},a.copy=function(n,e){n.x=e.x,n.y=e.y},a.len=function(n){return Math.sqrt(n.x*n.x+n.y*n.y)},a.lenSquare=function(n){return n.x*n.x+n.y*n.y},a.dot=function(n,e){return n.x*e.x+n.y*e.y},a.add=function(n,e,s){n.x=e.x+s.x,n.y=e.y+s.y},a.sub=function(n,e,s){n.x=e.x-s.x,n.y=e.y-s.y},a.scale=function(n,e,s){n.x=e.x*s,n.y=e.y*s},a.scaleAndAdd=function(n,e,s,f){n.x=e.x+s.x*f,n.y=e.y+s.y*f},a.lerp=function(n,e,s,f){var p=1-f;n.x=p*e.x+f*s.x,n.y=p*e.y+f*s.y},a}(),Ni=_o,ec=Math.min,ks=Math.max,jo=new Ni,Qn=new Ni,ka=new Ni,Pa=new Ni,Qa=new Ni,Ei=new Ni,zo=function(){function a(n,e,s,f){s<0&&(n=n+s,s=-s),f<0&&(e=e+f,f=-f),this.x=n,this.y=e,this.width=s,this.height=f}return a.prototype.union=function(n){var e=ec(n.x,this.x),s=ec(n.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ks(n.x+n.width,this.x+this.width)-e:this.width=n.width,isFinite(this.y)&&isFinite(this.height)?this.height=ks(n.y+n.height,this.y+this.height)-s:this.height=n.height,this.x=e,this.y=s},a.prototype.applyTransform=function(n){a.applyTransform(this,this,n)},a.prototype.calculateTransform=function(n){var e=this,s=n.width/e.width,f=n.height/e.height,p=en();return Gr(p,p,[-e.x,-e.y]),Mr(p,p,[s,f]),Gr(p,p,[n.x,n.y]),p},a.prototype.intersect=function(n,e){if(!n)return!1;n instanceof a||(n=a.create(n));var s=this,f=s.x,p=s.x+s.width,h=s.y,_=s.y+s.height,M=n.x,L=n.x+n.width,z=n.y,Y=n.y+n.height,q=!(p<M||L<f||_<z||Y<h);if(e){var se=Infinity,ye=0,je=Math.abs(p-M),De=Math.abs(L-f),We=Math.abs(_-z),st=Math.abs(Y-h),dt=Math.min(je,De),Mt=Math.min(We,st);p<M||L<f?dt>ye&&(ye=dt,je<De?Ni.set(Ei,-je,0):Ni.set(Ei,De,0)):dt<se&&(se=dt,je<De?Ni.set(Qa,je,0):Ni.set(Qa,-De,0)),_<z||Y<h?Mt>ye&&(ye=Mt,We<st?Ni.set(Ei,0,-We):Ni.set(Ei,0,st)):dt<se&&(se=dt,We<st?Ni.set(Qa,0,We):Ni.set(Qa,0,-st))}return e&&Ni.copy(e,q?Qa:Ei),q},a.prototype.contain=function(n,e){var s=this;return n>=s.x&&n<=s.x+s.width&&e>=s.y&&e<=s.y+s.height},a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height)},a.prototype.copy=function(n){a.copy(this,n)},a.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},a.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},a.prototype.isZero=function(){return this.width===0||this.height===0},a.create=function(n){return new a(n.x,n.y,n.width,n.height)},a.copy=function(n,e){n.x=e.x,n.y=e.y,n.width=e.width,n.height=e.height},a.applyTransform=function(n,e,s){if(!s){n!==e&&a.copy(n,e);return}if(s[1]<1e-5&&s[1]>-1e-5&&s[2]<1e-5&&s[2]>-1e-5){var f=s[0],p=s[3],h=s[4],_=s[5];n.x=e.x*f+h,n.y=e.y*p+_,n.width=e.width*f,n.height=e.height*p,n.width<0&&(n.x+=n.width,n.width=-n.width),n.height<0&&(n.y+=n.height,n.height=-n.height);return}jo.x=ka.x=e.x,jo.y=Pa.y=e.y,Qn.x=Pa.x=e.x+e.width,Qn.y=ka.y=e.y+e.height,jo.transform(s),Pa.transform(s),Qn.transform(s),ka.transform(s),n.x=ec(jo.x,Qn.x,ka.x,Pa.x),n.y=ec(jo.y,Qn.y,ka.y,Pa.y);var M=ks(jo.x,Qn.x,ka.x,Pa.x),L=ks(jo.y,Qn.y,ka.y,Pa.y);n.width=M-n.x,n.height=L-n.y},a}(),fo=zo,gs="silent";function Ks(a,n,e){return{type:a,event:e,target:n.target,topTarget:n.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:pc}}function pc(){tn(this.event)}var tc=function(a){nt(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.handler=null,e}return n.prototype.dispose=function(){},n.prototype.setCursor=function(){},n}(xn),xc=function(){function a(n,e){this.x=n,this.y=e}return a}(),kc=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ss=new fo(0,0,0,0),Js=function(a){nt(n,a);function n(e,s,f,p,h){var _=a.call(this)||this;return _._hovered=new xc(0,0),_.storage=e,_.painter=s,_.painterRoot=p,_._pointerSize=h,f=f||new tc,_.proxy=null,_.setHandlerProxy(f),_._draggingMgr=new Da(_),_}return n.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(H.k(kc,function(s){e.on&&e.on(s,this[s],this)},this),e.handler=this),this.proxy=e},n.prototype.mousemove=function(e){var s=e.zrX,f=e.zrY,p=Yc(this,s,f),h=this._hovered,_=h.target;_&&!_.__zr&&(h=this.findHover(h.x,h.y),_=h.target);var M=this._hovered=p?new xc(s,f):this.findHover(s,f),L=M.target,z=this.proxy;z.setCursor&&z.setCursor(L?L.cursor:"default"),_&&L!==_&&this.dispatchToElement(h,"mouseout",e),this.dispatchToElement(M,"mousemove",e),L&&L!==_&&this.dispatchToElement(M,"mouseover",e)},n.prototype.mouseout=function(e){var s=e.zrEventControl;s!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),s!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},n.prototype.resize=function(){this._hovered=new xc(0,0)},n.prototype.dispatch=function(e,s){var f=this[e];f&&f.call(this,s)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(e){var s=this.proxy;s.setCursor&&s.setCursor(e)},n.prototype.dispatchToElement=function(e,s,f){e=e||{};var p=e.target;if(!(p&&p.silent)){for(var h="on"+s,_=Ks(s,e,f);p&&(p[h]&&(_.cancelBubble=!!p[h].call(p,_)),p.trigger(s,_),p=p.__hostTarget?p.__hostTarget:p.parent,!_.cancelBubble););_.cancelBubble||(this.trigger(s,_),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(M){typeof M[h]=="function"&&M[h].call(M,_),M.trigger&&M.trigger(s,_)}))}},n.prototype.findHover=function(e,s,f){var p=this.storage.getDisplayList(),h=new xc(e,s);if(js(p,h,e,s,f),this._pointerSize&&!h.target){for(var _=[],M=this._pointerSize,L=M/2,z=new fo(e-L,s-L,M,M),Y=p.length-1;Y>=0;Y--){var q=p[Y];q!==f&&!q.ignore&&!q.ignoreCoarsePointer&&(!q.parent||!q.parent.ignoreCoarsePointer)&&(Ss.copy(q.getBoundingRect()),q.transform&&Ss.applyTransform(q.transform),Ss.intersect(z)&&_.push(q))}if(_.length)for(var se=4,ye=Math.PI/12,je=Math.PI*2,De=0;De<L;De+=se)for(var We=0;We<je;We+=ye){var st=e+De*Math.cos(We),dt=s+De*Math.sin(We);if(js(_,h,st,dt,f),h.target)return h}}return h},n.prototype.processGesture=function(e,s){this._gestureMgr||(this._gestureMgr=new qn);var f=this._gestureMgr;s==="start"&&f.clear();var p=f.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if(s==="end"&&f.clear(),p){var h=p.type;e.gestureEvent=h;var _=new xc;_.target=p.target,this.dispatchToElement(_,h,p.event)}},n}(xn);H.k(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){Js.prototype[a]=function(n){var e=n.zrX,s=n.zrY,f=Yc(this,e,s),p,h;if((a!=="mouseup"||!f)&&(p=this.findHover(e,s),h=p.target),a==="mousedown")this._downEl=h,this._downPoint=[n.zrX,n.zrY],this._upEl=h;else if(a==="mouseup")this._upEl=h;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||ao(this._downPoint,[n.zrX,n.zrY])>4)return;this._downPoint=null}this.dispatchToElement(p,a,n)}});function Mo(a,n,e){if(a[a.rectHover?"rectContain":"contain"](n,e)){for(var s=a,f=void 0,p=!1;s;){if(s.ignoreClip&&(p=!0),!p){var h=s.getClipPath();if(h&&!h.contain(n,e))return!1;s.silent&&(f=!0)}var _=s.__hostTarget;s=_||s.parent}return f?gs:!0}return!1}function js(a,n,e,s,f){for(var p=a.length-1;p>=0;p--){var h=a[p],_=void 0;if(h!==f&&!h.ignore&&(_=Mo(h,e,s))&&(!n.topTarget&&(n.topTarget=h),_!==gs)){n.target=h;break}}}function Yc(a,n,e){var s=a.painter;return n<0||n>s.getWidth()||e<0||e>s.getHeight()}var gc=Js,Cl=32,wl=7,Wc=256;function nl(a){for(var n=0;a>=Cl;)n|=a&1,a>>=1;return a+n}function Rc(a,n,e,s){var f=n+1;if(f===e)return 1;if(s(a[f++],a[n])<0){for(;f<e&&s(a[f],a[f-1])<0;)f++;su(a,n,f)}else for(;f<e&&s(a[f],a[f-1])>=0;)f++;return f-n}function su(a,n,e){for(e--;n<e;){var s=a[n];a[n++]=a[e],a[e--]=s}}function Pl(a,n,e,s,f){for(s===n&&s++;s<e;s++){for(var p=a[s],h=n,_=s,M;h<_;)M=h+_>>>1,f(p,a[M])<0?_=M:h=M+1;var L=s-h;switch(L){case 3:a[h+3]=a[h+2];case 2:a[h+2]=a[h+1];case 1:a[h+1]=a[h];break;default:for(;L>0;)a[h+L]=a[h+L-1],L--}a[h]=p}}function al(a,n,e,s,f,p){var h=0,_=0,M=1;if(p(a,n[e+f])>0){for(_=s-f;M<_&&p(a,n[e+f+M])>0;)h=M,M=(M<<1)+1,M<=0&&(M=_);M>_&&(M=_),h+=f,M+=f}else{for(_=f+1;M<_&&p(a,n[e+f-M])<=0;)h=M,M=(M<<1)+1,M<=0&&(M=_);M>_&&(M=_);var L=h;h=f-M,M=f-L}for(h++;h<M;){var z=h+(M-h>>>1);p(a,n[e+z])>0?h=z+1:M=z}return M}function Ml(a,n,e,s,f,p){var h=0,_=0,M=1;if(p(a,n[e+f])<0){for(_=f+1;M<_&&p(a,n[e+f-M])<0;)h=M,M=(M<<1)+1,M<=0&&(M=_);M>_&&(M=_);var L=h;h=f-M,M=f-L}else{for(_=s-f;M<_&&p(a,n[e+f+M])>=0;)h=M,M=(M<<1)+1,M<=0&&(M=_);M>_&&(M=_),h+=f,M+=f}for(h++;h<M;){var z=h+(M-h>>>1);p(a,n[e+z])<0?M=z:h=z+1}return M}function Tl(a,n){var e=wl,s=0,f=Wc,p=0,h,_,M=0;s=a.length,s<2*Wc&&(f=s>>>1);var L=[];p=s<120?5:s<1542?10:s<119151?19:40,h=[],_=[];function z(De,We){h[M]=De,_[M]=We,M+=1}function Y(){for(;M>1;){var De=M-2;if(De>=1&&_[De-1]<=_[De]+_[De+1]||De>=2&&_[De-2]<=_[De]+_[De-1])_[De-1]<_[De+1]&&De--;else if(_[De]>_[De+1])break;se(De)}}function q(){for(;M>1;){var De=M-2;De>0&&_[De-1]<_[De+1]&&De--,se(De)}}function se(De){var We=h[De],st=_[De],dt=h[De+1],Mt=_[De+1];_[De]=st+Mt,De===M-3&&(h[De+1]=h[De+2],_[De+1]=_[De+2]),M--;var nn=Ml(a[dt],a,We,st,0,n);We+=nn,st-=nn,st!==0&&(Mt=al(a[We+st-1],a,dt,Mt,Mt-1,n),Mt!==0&&(st<=Mt?ye(We,st,dt,Mt):je(We,st,dt,Mt)))}function ye(De,We,st,dt){var Mt=0;for(Mt=0;Mt<We;Mt++)L[Mt]=a[De+Mt];var nn=0,rn=st,Cn=De;if(a[Cn++]=a[rn++],--dt==0){for(Mt=0;Mt<We;Mt++)a[Cn+Mt]=L[nn+Mt];return}if(We===1){for(Mt=0;Mt<dt;Mt++)a[Cn+Mt]=a[rn+Mt];a[Cn+dt]=L[nn];return}for(var er=e,ir,dr,pr;;){ir=0,dr=0,pr=!1;do if(n(a[rn],L[nn])<0){if(a[Cn++]=a[rn++],dr++,ir=0,--dt==0){pr=!0;break}}else if(a[Cn++]=L[nn++],ir++,dr=0,--We==1){pr=!0;break}while((ir|dr)<er);if(pr)break;do{if(ir=Ml(a[rn],L,nn,We,0,n),ir!==0){for(Mt=0;Mt<ir;Mt++)a[Cn+Mt]=L[nn+Mt];if(Cn+=ir,nn+=ir,We-=ir,We<=1){pr=!0;break}}if(a[Cn++]=a[rn++],--dt==0){pr=!0;break}if(dr=al(L[nn],a,rn,dt,0,n),dr!==0){for(Mt=0;Mt<dr;Mt++)a[Cn+Mt]=a[rn+Mt];if(Cn+=dr,rn+=dr,dt-=dr,dt===0){pr=!0;break}}if(a[Cn++]=L[nn++],--We==1){pr=!0;break}er--}while(ir>=wl||dr>=wl);if(pr)break;er<0&&(er=0),er+=2}if(e=er,e<1&&(e=1),We===1){for(Mt=0;Mt<dt;Mt++)a[Cn+Mt]=a[rn+Mt];a[Cn+dt]=L[nn]}else{if(We===0)throw new Error;for(Mt=0;Mt<We;Mt++)a[Cn+Mt]=L[nn+Mt]}}function je(De,We,st,dt){var Mt=0;for(Mt=0;Mt<dt;Mt++)L[Mt]=a[st+Mt];var nn=De+We-1,rn=dt-1,Cn=st+dt-1,er=0,ir=0;if(a[Cn--]=a[nn--],--We==0){for(er=Cn-(dt-1),Mt=0;Mt<dt;Mt++)a[er+Mt]=L[Mt];return}if(dt===1){for(Cn-=We,nn-=We,ir=Cn+1,er=nn+1,Mt=We-1;Mt>=0;Mt--)a[ir+Mt]=a[er+Mt];a[Cn]=L[rn];return}for(var dr=e;;){var pr=0,ia=0,pa=!1;do if(n(L[rn],a[nn])<0){if(a[Cn--]=a[nn--],pr++,ia=0,--We==0){pa=!0;break}}else if(a[Cn--]=L[rn--],ia++,pr=0,--dt==1){pa=!0;break}while((pr|ia)<dr);if(pa)break;do{if(pr=We-Ml(L[rn],a,De,We,We-1,n),pr!==0){for(Cn-=pr,nn-=pr,We-=pr,ir=Cn+1,er=nn+1,Mt=pr-1;Mt>=0;Mt--)a[ir+Mt]=a[er+Mt];if(We===0){pa=!0;break}}if(a[Cn--]=L[rn--],--dt==1){pa=!0;break}if(ia=dt-al(a[nn],L,0,dt,dt-1,n),ia!==0){for(Cn-=ia,rn-=ia,dt-=ia,ir=Cn+1,er=rn+1,Mt=0;Mt<ia;Mt++)a[ir+Mt]=L[er+Mt];if(dt<=1){pa=!0;break}}if(a[Cn--]=a[nn--],--We==0){pa=!0;break}dr--}while(pr>=wl||ia>=wl);if(pa)break;dr<0&&(dr=0),dr+=2}if(e=dr,e<1&&(e=1),dt===1){for(Cn-=We,nn-=We,ir=Cn+1,er=nn+1,Mt=We-1;Mt>=0;Mt--)a[ir+Mt]=a[er+Mt];a[Cn]=L[rn]}else{if(dt===0)throw new Error;for(er=Cn-(dt-1),Mt=0;Mt<dt;Mt++)a[er+Mt]=L[Mt]}}return{mergeRuns:Y,forceMergeRuns:q,pushRun:z}}function td(a,n,e,s){e||(e=0),s||(s=a.length);var f=s-e;if(!(f<2)){var p=0;if(f<Cl){p=Rc(a,e,s,n),Pl(a,e,s,e+p,n);return}var h=Tl(a,n),_=nl(f);do{if(p=Rc(a,e,s,n),p<_){var M=f;M>_&&(M=_),Pl(a,e,e+M,e+p,n),p=M}h.pushRun(e,p),h.mergeRuns(),f-=p,e+=p}while(f!==0);h.forceMergeRuns()}}var rl=1,dl=2,qt=4,nr=!1;function Ur(){nr||(nr=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Yr(a,n){return a.zlevel===n.zlevel?a.z===n.z?a.z2-n.z2:a.z-n.z:a.zlevel-n.zlevel}var ni=function(){function a(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Yr}return a.prototype.traverse=function(n,e){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(n,e)},a.prototype.getDisplayList=function(n,e){e=e||!1;var s=this._displayList;return(n||!s.length)&&this.updateDisplayList(e),s},a.prototype.updateDisplayList=function(n){this._displayListLen=0;for(var e=this._roots,s=this._displayList,f=0,p=e.length;f<p;f++)this._updateAndAddDisplayable(e[f],null,n);s.length=this._displayListLen,td(s,Yr)},a.prototype._updateAndAddDisplayable=function(n,e,s){if(!(n.ignore&&!s)){n.beforeUpdate(),n.update(),n.afterUpdate();var f=n.getClipPath();if(n.ignoreClip)e=null;else if(f){e?e=e.slice():e=[];for(var p=f,h=n;p;)p.parent=h,p.updateTransform(),e.push(p),h=p,p=p.getClipPath()}if(n.childrenRef){for(var _=n.childrenRef(),M=0;M<_.length;M++){var L=_[M];n.__dirty&&(L.__dirty|=rl),this._updateAndAddDisplayable(L,e,s)}n.__dirty=0}else{var z=n;e&&e.length?z.__clipPaths=e:z.__clipPaths&&z.__clipPaths.length>0&&(z.__clipPaths=[]),isNaN(z.z)&&(Ur(),z.z=0),isNaN(z.z2)&&(Ur(),z.z2=0),isNaN(z.zlevel)&&(Ur(),z.zlevel=0),this._displayList[this._displayListLen++]=z}var Y=n.getDecalElement&&n.getDecalElement();Y&&this._updateAndAddDisplayable(Y,e,s);var q=n.getTextGuideLine();q&&this._updateAndAddDisplayable(q,e,s);var se=n.getTextContent();se&&this._updateAndAddDisplayable(se,e,s)}},a.prototype.addRoot=function(n){n.__zr&&n.__zr.storage===this||this._roots.push(n)},a.prototype.delRoot=function(n){if(n instanceof Array){for(var e=0,s=n.length;e<s;e++)this.delRoot(n[e]);return}var f=H.r(this._roots,n);f>=0&&this._roots.splice(f,1)},a.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},a.prototype.getRoots=function(){return this._roots},a.prototype.dispose=function(){this._displayList=null,this._roots=null},a}(),vi=ni,zr;zr=Bt.a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(a){return setTimeout(a,16)};var wr=zr,Ua={linear:function(n){return n},quadraticIn:function(n){return n*n},quadraticOut:function(n){return n*(2-n)},quadraticInOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)},cubicIn:function(n){return n*n*n},cubicOut:function(n){return--n*n*n+1},cubicInOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},quarticIn:function(n){return n*n*n*n},quarticOut:function(n){return 1- --n*n*n*n},quarticInOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},quinticIn:function(n){return n*n*n*n*n},quinticOut:function(n){return--n*n*n*n*n+1},quinticInOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},sinusoidalIn:function(n){return 1-Math.cos(n*Math.PI/2)},sinusoidalOut:function(n){return Math.sin(n*Math.PI/2)},sinusoidalInOut:function(n){return .5*(1-Math.cos(Math.PI*n))},exponentialIn:function(n){return n===0?0:Math.pow(1024,n-1)},exponentialOut:function(n){return n===1?1:1-Math.pow(2,-10*n)},exponentialInOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)},circularIn:function(n){return 1-Math.sqrt(1-n*n)},circularOut:function(n){return Math.sqrt(1- --n*n)},circularInOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},elasticIn:function(n){var e,s=.1,f=.4;return n===0?0:n===1?1:(!s||s<1?(s=1,e=f/4):e=f*Math.asin(1/s)/(2*Math.PI),-(s*Math.pow(2,10*(n-=1))*Math.sin((n-e)*(2*Math.PI)/f)))},elasticOut:function(n){var e,s=.1,f=.4;return n===0?0:n===1?1:(!s||s<1?(s=1,e=f/4):e=f*Math.asin(1/s)/(2*Math.PI),s*Math.pow(2,-10*n)*Math.sin((n-e)*(2*Math.PI)/f)+1)},elasticInOut:function(n){var e,s=.1,f=.4;return n===0?0:n===1?1:(!s||s<1?(s=1,e=f/4):e=f*Math.asin(1/s)/(2*Math.PI),(n*=2)<1?-.5*(s*Math.pow(2,10*(n-=1))*Math.sin((n-e)*(2*Math.PI)/f)):s*Math.pow(2,-10*(n-=1))*Math.sin((n-e)*(2*Math.PI)/f)*.5+1)},backIn:function(n){var e=1.70158;return n*n*((e+1)*n-e)},backOut:function(n){var e=1.70158;return--n*n*((e+1)*n+e)+1},backInOut:function(n){var e=1.70158*1.525;return(n*=2)<1?.5*(n*n*((e+1)*n-e)):.5*((n-=2)*n*((e+1)*n+e)+2)},bounceIn:function(n){return 1-Ua.bounceOut(1-n)},bounceOut:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},bounceInOut:function(n){return n<.5?Ua.bounceIn(n*2)*.5:Ua.bounceOut(n*2-1)*.5+.5}},La=Ua,Nr=Math.pow,ua=Math.sqrt,ra=1e-8,ri=1e-4,li=ua(3),hi=1/3,ii=Qi(),Di=Qi(),Xo=Qi();function ps(a){return a>-ra&&a<ra}function mc(a){return a>ra||a<-ra}function Ts(a,n,e,s,f){var p=1-f;return p*p*(p*a+3*f*n)+f*f*(f*s+3*p*e)}function Ar(a,n,e,s,f){var p=1-f;return 3*(((n-a)*p+2*(e-n)*f)*p+(s-e)*f*f)}function Gs(a,n,e,s,f,p){var h=s+3*(n-e)-a,_=3*(e-n*2+a),M=3*(n-a),L=a-f,z=_*_-3*h*M,Y=_*M-9*h*L,q=M*M-3*_*L,se=0;if(ps(z)&&ps(Y))if(ps(_))p[0]=0;else{var ye=-M/_;ye>=0&&ye<=1&&(p[se++]=ye)}else{var je=Y*Y-4*z*q;if(ps(je)){var De=Y/z,ye=-_/h+De,We=-De/2;ye>=0&&ye<=1&&(p[se++]=ye),We>=0&&We<=1&&(p[se++]=We)}else if(je>0){var st=ua(je),dt=z*_+1.5*h*(-Y+st),Mt=z*_+1.5*h*(-Y-st);dt<0?dt=-Nr(-dt,hi):dt=Nr(dt,hi),Mt<0?Mt=-Nr(-Mt,hi):Mt=Nr(Mt,hi);var ye=(-_-(dt+Mt))/(3*h);ye>=0&&ye<=1&&(p[se++]=ye)}else{var nn=(2*z*_-3*h*Y)/(2*ua(z*z*z)),rn=Math.acos(nn)/3,Cn=ua(z),er=Math.cos(rn),ye=(-_-2*Cn*er)/(3*h),We=(-_+Cn*(er+li*Math.sin(rn)))/(3*h),ir=(-_+Cn*(er-li*Math.sin(rn)))/(3*h);ye>=0&&ye<=1&&(p[se++]=ye),We>=0&&We<=1&&(p[se++]=We),ir>=0&&ir<=1&&(p[se++]=ir)}}return se}function Nc(a,n,e,s,f){var p=6*e-12*n+6*a,h=9*n+3*s-3*a-9*e,_=3*n-3*a,M=0;if(ps(h)){if(mc(p)){var L=-_/p;L>=0&&L<=1&&(f[M++]=L)}}else{var z=p*p-4*h*_;if(ps(z))f[0]=-p/(2*h);else if(z>0){var Y=ua(z),L=(-p+Y)/(2*h),q=(-p-Y)/(2*h);L>=0&&L<=1&&(f[M++]=L),q>=0&&q<=1&&(f[M++]=q)}}return M}function Jc(a,n,e,s,f,p){var h=(n-a)*f+a,_=(e-n)*f+n,M=(s-e)*f+e,L=(_-h)*f+h,z=(M-_)*f+_,Y=(z-L)*f+L;p[0]=a,p[1]=h,p[2]=L,p[3]=Y,p[4]=Y,p[5]=z,p[6]=M,p[7]=s}function Fc(a,n,e,s,f,p,h,_,M,L,z){var Y,q=.005,se=Infinity,ye,je,De,We;ii[0]=M,ii[1]=L;for(var st=0;st<1;st+=.05)Di[0]=Ts(a,e,f,h,st),Di[1]=Ts(n,s,p,_,st),De=Fi(ii,Di),De<se&&(Y=st,se=De);se=Infinity;for(var dt=0;dt<32&&!(q<ri);dt++)ye=Y-q,je=Y+q,Di[0]=Ts(a,e,f,h,ye),Di[1]=Ts(n,s,p,_,ye),De=Fi(Di,ii),ye>=0&&De<se?(Y=ye,se=De):(Xo[0]=Ts(a,e,f,h,je),Xo[1]=Ts(n,s,p,_,je),We=Fi(Xo,ii),je<=1&&We<se?(Y=je,se=We):q*=.5);return z&&(z[0]=Ts(a,e,f,h,Y),z[1]=Ts(n,s,p,_,Y)),ua(se)}function Ro(a,n,e,s,f,p,h,_,M){for(var L=a,z=n,Y=0,q=1/M,se=1;se<=M;se++){var ye=se*q,je=Ts(a,e,f,h,ye),De=Ts(n,s,p,_,ye),We=je-L,st=De-z;Y+=Math.sqrt(We*We+st*st),L=je,z=De}return Y}function Dl(a,n,e,s){var f=1-s;return f*(f*a+2*s*n)+s*s*e}function Vl(a,n,e,s){return 2*((1-s)*(n-a)+s*(e-n))}function hu(a,n,e,s,f){var p=a-2*n+e,h=2*(n-a),_=a-s,M=0;if(ps(p)){if(mc(h)){var L=-_/h;L>=0&&L<=1&&(f[M++]=L)}}else{var z=h*h-4*p*_;if(ps(z)){var L=-h/(2*p);L>=0&&L<=1&&(f[M++]=L)}else if(z>0){var Y=ua(z),L=(-h+Y)/(2*p),q=(-h-Y)/(2*p);L>=0&&L<=1&&(f[M++]=L),q>=0&&q<=1&&(f[M++]=q)}}return M}function ru(a,n,e){var s=a+e-2*n;return s===0?.5:(a-n)/s}function pd(a,n,e,s,f){var p=(n-a)*s+a,h=(e-n)*s+n,_=(h-p)*s+p;f[0]=a,f[1]=p,f[2]=_,f[3]=_,f[4]=h,f[5]=e}function ql(a,n,e,s,f,p,h,_,M){var L,z=.005,Y=Infinity;ii[0]=h,ii[1]=_;for(var q=0;q<1;q+=.05){Di[0]=Dl(a,e,f,q),Di[1]=Dl(n,s,p,q);var se=Fi(ii,Di);se<Y&&(L=q,Y=se)}Y=Infinity;for(var ye=0;ye<32&&!(z<ri);ye++){var je=L-z,De=L+z;Di[0]=Dl(a,e,f,je),Di[1]=Dl(n,s,p,je);var se=Fi(Di,ii);if(je>=0&&se<Y)L=je,Y=se;else{Xo[0]=Dl(a,e,f,De),Xo[1]=Dl(n,s,p,De);var We=Fi(Xo,ii);De<=1&&We<Y?(L=De,Y=We):z*=.5}}return M&&(M[0]=Dl(a,e,f,L),M[1]=Dl(n,s,p,L)),ua(Y)}function Ru(a,n,e,s,f,p,h){for(var _=a,M=n,L=0,z=1/h,Y=1;Y<=h;Y++){var q=Y*z,se=Dl(a,e,f,q),ye=Dl(n,s,p,q),je=se-_,De=ye-M;L+=Math.sqrt(je*je+De*De),_=se,M=ye}return L}var Hl=/cubic-bezier\(([0-9,\.e ]+)\)/;function fu(a){var n=a&&Hl.exec(a);if(n){var e=n[1].split(","),s=+Object(H.T)(e[0]),f=+Object(H.T)(e[1]),p=+Object(H.T)(e[2]),h=+Object(H.T)(e[3]);if(isNaN(s+f+p+h))return;var _=[];return function(M){return M<=0?0:M>=1?1:Gs(0,s,p,1,M,_)&&Ts(0,f,h,1,_[0])}}}var nd=function(){function a(n){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=n.life||1e3,this._delay=n.delay||0,this.loop=n.loop||!1,this.onframe=n.onframe||H.L,this.ondestroy=n.ondestroy||H.L,this.onrestart=n.onrestart||H.L,n.easing&&this.setEasing(n.easing)}return a.prototype.step=function(n,e){if(this._inited||(this._startTime=n+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var s=this._life,f=n-this._startTime-this._pausedTime,p=f/s;p<0&&(p=0),p=Math.min(p,1);var h=this.easingFunc,_=h?h(p):p;if(this.onframe(_),p===1)if(this.loop){var M=f%s;this._startTime=n-M,this._pausedTime=0,this.onrestart()}else return!0;return!1},a.prototype.pause=function(){this._paused=!0},a.prototype.resume=function(){this._paused=!1},a.prototype.setEasing=function(n){this.easing=n,this.easingFunc=Object(H.w)(n)?n:La[n]||fu(n)},a}(),bd=nd,ml=l("fqoZ"),os=l("fSag"),wu=Array.prototype.slice;function cd(a,n,e){return(n-a)*e+a}function Ud(a,n,e,s){for(var f=n.length,p=0;p<f;p++)a[p]=cd(n[p],e[p],s);return a}function Eu(a,n,e,s){for(var f=n.length,p=f&&n[0].length,h=0;h<f;h++){a[h]||(a[h]=[]);for(var _=0;_<p;_++)a[h][_]=cd(n[h][_],e[h][_],s)}return a}function El(a,n,e,s){for(var f=n.length,p=0;p<f;p++)a[p]=n[p]+e[p]*s;return a}function eu(a,n,e,s){for(var f=n.length,p=f&&n[0].length,h=0;h<f;h++){a[h]||(a[h]=[]);for(var _=0;_<p;_++)a[h][_]=n[h][_]+e[h][_]*s}return a}function rd(a,n){for(var e=a.length,s=n.length,f=e>s?n:a,p=Math.min(e,s),h=f[p-1]||{color:[0,0,0,0],offset:0},_=p;_<Math.max(e,s);_++)f.push({offset:h.offset,color:h.color.slice()})}function yn(a,n,e){var s=a,f=n;if(!(!s.push||!f.push)){var p=s.length,h=f.length;if(p!==h){var _=p>h;if(_)s.length=h;else for(var M=p;M<h;M++)s.push(e===1?f[M]:wu.call(f[M]))}for(var L=s[0]&&s[0].length,M=0;M<s.length;M++)if(e===1)isNaN(s[M])&&(s[M]=f[M]);else for(var z=0;z<L;z++)isNaN(s[M][z])&&(s[M][z]=f[M][z])}}function Dr(a){if(Object(H.u)(a)){var n=a.length;if(Object(H.u)(a[0])){for(var e=[],s=0;s<n;s++)e.push(wu.call(a[s]));return e}return wu.call(a)}return a}function Xr(a){return a[0]=Math.floor(a[0])||0,a[1]=Math.floor(a[1])||0,a[2]=Math.floor(a[2])||0,a[3]=a[3]==null?1:a[3],"rgba("+a.join(",")+")"}function Ta(a){return Object(H.u)(a&&a[0])?2:1}var Ra=0,wi=1,mo=2,Yi=3,Ji=4,Vs=5,Jo=6;function dn(a){return a===Ji||a===Vs}function pn(a){return a===wi||a===mo}var sr=[0,0,0,0],lr=function(){function a(n){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=n}return a.prototype.isFinished=function(){return this._finished},a.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},a.prototype.needsAnimate=function(){return this.keyframes.length>=1},a.prototype.getAdditiveTrack=function(){return this._additiveTrack},a.prototype.addKeyframe=function(n,e,s){this._needsSort=!0;var f=this.keyframes,p=f.length,h=!1,_=Jo,M=e;if(Object(H.u)(e)){var L=Ta(e);_=L,(L===1&&!Object(H.z)(e[0])||L===2&&!Object(H.z)(e[0][0]))&&(h=!0)}else if(Object(H.z)(e)&&!Object(H.l)(e))_=Ra;else if(Object(H.C)(e))if(!isNaN(+e))_=Ra;else{var z=ml.g(e);z&&(M=z,_=Yi)}else if(Object(H.x)(e)){var Y=Object(H.m)({},M);Y.colorStops=Object(H.H)(e.colorStops,function(se){return{offset:se.offset,color:ml.g(se.color)}}),Object(os.m)(e)?_=Ji:Object(os.o)(e)&&(_=Vs),M=Y}p===0?this.valType=_:(_!==this.valType||_===Jo)&&(h=!0),this.discrete=this.discrete||h;var q={time:n,value:M,rawValue:e,percent:0};return s&&(q.easing=s,q.easingFunc=Object(H.w)(s)?s:La[s]||fu(s)),f.push(q),q},a.prototype.prepare=function(n,e){var s=this.keyframes;this._needsSort&&s.sort(function(je,De){return je.time-De.time});for(var f=this.valType,p=s.length,h=s[p-1],_=this.discrete,M=pn(f),L=dn(f),z=0;z<p;z++){var Y=s[z],q=Y.value,se=h.value;Y.percent=Y.time/n,_||(M&&z!==p-1?yn(q,se,f):L&&rd(q.colorStops,se.colorStops))}if(!_&&f!==Vs&&e&&this.needsAnimate()&&e.needsAnimate()&&f===e.valType&&!e._finished){this._additiveTrack=e;for(var ye=s[0].value,z=0;z<p;z++)f===Ra?s[z].additiveValue=s[z].value-ye:f===Yi?s[z].additiveValue=El([],s[z].value,ye,-1):pn(f)&&(s[z].additiveValue=f===wi?El([],s[z].value,ye,-1):eu([],s[z].value,ye,-1))}},a.prototype.step=function(n,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var s=this._additiveTrack!=null,f=s?"additiveValue":"value",p=this.valType,h=this.keyframes,_=h.length,M=this.propName,L=p===Yi,z,Y=this._lastFr,q=Math.min,se,ye;if(_===1)se=ye=h[0];else{if(e<0)z=0;else if(e<this._lastFrP){var je=q(Y+1,_-1);for(z=je;z>=0&&!(h[z].percent<=e);z--);z=q(z,_-2)}else{for(z=Y;z<_&&!(h[z].percent>e);z++);z=q(z-1,_-2)}ye=h[z+1],se=h[z]}if(!!(se&&ye)){this._lastFr=z,this._lastFrP=e;var De=ye.percent-se.percent,We=De===0?1:q((e-se.percent)/De,1);ye.easingFunc&&(We=ye.easingFunc(We));var st=s?this._additiveValue:L?sr:n[M];if((pn(p)||L)&&!st&&(st=this._additiveValue=[]),this.discrete)n[M]=We<1?se.rawValue:ye.rawValue;else if(pn(p))p===wi?Ud(st,se[f],ye[f],We):Eu(st,se[f],ye[f],We);else if(dn(p)){var dt=se[f],Mt=ye[f],nn=p===Ji;n[M]={type:nn?"linear":"radial",x:cd(dt.x,Mt.x,We),y:cd(dt.y,Mt.y,We),colorStops:Object(H.H)(dt.colorStops,function(Cn,er){var ir=Mt.colorStops[er];return{offset:cd(Cn.offset,ir.offset,We),color:Xr(Ud([],Cn.color,ir.color,We))}}),global:Mt.global},nn?(n[M].x2=cd(dt.x2,Mt.x2,We),n[M].y2=cd(dt.y2,Mt.y2,We)):n[M].r=cd(dt.r,Mt.r,We)}else if(L)Ud(st,se[f],ye[f],We),s||(n[M]=Xr(st));else{var rn=cd(se[f],ye[f],We);s?this._additiveValue=rn:n[M]=rn}s&&this._addToTarget(n)}}},a.prototype._addToTarget=function(n){var e=this.valType,s=this.propName,f=this._additiveValue;e===Ra?n[s]=n[s]+f:e===Yi?(ml.g(n[s],sr),El(sr,sr,f,1),n[s]=Xr(sr)):e===wi?El(n[s],n[s],f,1):e===mo&&eu(n[s],n[s],f,1)},a}(),_a=function(){function a(n,e,s,f){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=n,this._loop=e,e&&f){Object(H.G)("Can' use additive animation on looped animation.");return}this._additiveAnimators=f,this._allowDiscrete=s}return a.prototype.getMaxTime=function(){return this._maxTime},a.prototype.getDelay=function(){return this._delay},a.prototype.getLoop=function(){return this._loop},a.prototype.getTarget=function(){return this._target},a.prototype.changeTarget=function(n){this._target=n},a.prototype.when=function(n,e,s){return this.whenWithKeys(n,e,Object(H.F)(e),s)},a.prototype.whenWithKeys=function(n,e,s,f){for(var p=this._tracks,h=0;h<s.length;h++){var _=s[h],M=p[_];if(!M){M=p[_]=new lr(_);var L=void 0,z=this._getAdditiveTrack(_);if(z){var Y=z.keyframes,q=Y[Y.length-1];L=q&&q.value,z.valType===Yi&&L&&(L=Xr(L))}else L=this._target[_];if(L==null)continue;n>0&&M.addKeyframe(0,Dr(L),f),this._trackKeys.push(_)}M.addKeyframe(n,Dr(e[_]),f)}return this._maxTime=Math.max(this._maxTime,n),this},a.prototype.pause=function(){this._clip.pause(),this._paused=!0},a.prototype.resume=function(){this._clip.resume(),this._paused=!1},a.prototype.isPaused=function(){return!!this._paused},a.prototype.duration=function(n){return this._maxTime=n,this._force=!0,this},a.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var n=this._doneCbs;if(n)for(var e=n.length,s=0;s<e;s++)n[s].call(this)},a.prototype._abortedCallback=function(){this._setTracksFinished();var n=this.animation,e=this._abortedCbs;if(n&&n.removeClip(this._clip),this._clip=null,e)for(var s=0;s<e.length;s++)e[s].call(this)},a.prototype._setTracksFinished=function(){for(var n=this._tracks,e=this._trackKeys,s=0;s<e.length;s++)n[e[s]].setFinished()},a.prototype._getAdditiveTrack=function(n){var e,s=this._additiveAnimators;if(s)for(var f=0;f<s.length;f++){var p=s[f].getTrack(n);p&&(e=p)}return e},a.prototype.start=function(n){if(!(this._started>0)){this._started=1;for(var e=this,s=[],f=this._maxTime||0,p=0;p<this._trackKeys.length;p++){var h=this._trackKeys[p],_=this._tracks[h],M=this._getAdditiveTrack(h),L=_.keyframes,z=L.length;if(_.prepare(f,M),_.needsAnimate())if(!this._allowDiscrete&&_.discrete){var Y=L[z-1];Y&&(e._target[_.propName]=Y.rawValue),_.setFinished()}else s.push(_)}if(s.length||this._force){var q=new bd({life:f,loop:this._loop,delay:this._delay||0,onframe:function(ye){e._started=2;var je=e._additiveAnimators;if(je){for(var De=!1,We=0;We<je.length;We++)if(je[We]._clip){De=!0;break}De||(e._additiveAnimators=null)}for(var We=0;We<s.length;We++)s[We].step(e._target,ye);var st=e._onframeCbs;if(st)for(var We=0;We<st.length;We++)st[We](e._target,ye)},ondestroy:function(){e._doneCallback()}});this._clip=q,this.animation&&this.animation.addClip(q),n&&q.setEasing(n)}else this._doneCallback();return this}},a.prototype.stop=function(n){if(!!this._clip){var e=this._clip;n&&e.onframe(1),this._abortedCallback()}},a.prototype.delay=function(n){return this._delay=n,this},a.prototype.during=function(n){return n&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(n)),this},a.prototype.done=function(n){return n&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(n)),this},a.prototype.aborted=function(n){return n&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(n)),this},a.prototype.getClip=function(){return this._clip},a.prototype.getTrack=function(n){return this._tracks[n]},a.prototype.getTracks=function(){var n=this;return Object(H.H)(this._trackKeys,function(e){return n._tracks[e]})},a.prototype.stopTracks=function(n,e){if(!n.length||!this._clip)return!0;for(var s=this._tracks,f=this._trackKeys,p=0;p<n.length;p++){var h=s[n[p]];h&&!h.isFinished()&&(e?h.step(this._target,1):this._started===1&&h.step(this._target,0),h.setFinished())}for(var _=!0,p=0;p<f.length;p++)if(!s[f[p]].isFinished()){_=!1;break}return _&&this._abortedCallback(),_},a.prototype.saveTo=function(n,e,s){if(!!n){e=e||this._trackKeys;for(var f=0;f<e.length;f++){var p=e[f],h=this._tracks[p];if(!(!h||h.isFinished())){var _=h.keyframes,M=_[s?0:_.length-1];M&&(n[p]=Dr(M.rawValue))}}}},a.prototype.__changeFinalValue=function(n,e){e=e||Object(H.F)(n);for(var s=0;s<e.length;s++){var f=e[s],p=this._tracks[f];if(!!p){var h=p.keyframes;if(h.length>1){var _=h.pop();p.addKeyframe(_.time,n[f]),p.prepare(this._maxTime,p.getAdditiveTrack())}}}},a}(),Fa=_a;function Va(){return new Date().getTime()}var di=function(a){nt(n,a);function n(e){var s=a.call(this)||this;return s._running=!1,s._time=0,s._pausedTime=0,s._pauseStart=0,s._paused=!1,e=e||{},s.stage=e.stage||{},s}return n.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},n.prototype.addAnimator=function(e){e.animation=this;var s=e.getClip();s&&this.addClip(s)},n.prototype.removeClip=function(e){if(!!e.animation){var s=e.prev,f=e.next;s?s.next=f:this._head=f,f?f.prev=s:this._tail=s,e.next=e.prev=e.animation=null}},n.prototype.removeAnimator=function(e){var s=e.getClip();s&&this.removeClip(s),e.animation=null},n.prototype.update=function(e){for(var s=Va()-this._pausedTime,f=s-this._time,p=this._head;p;){var h=p.next,_=p.step(s,f);_&&(p.ondestroy(),this.removeClip(p)),p=h}this._time=s,e||(this.trigger("frame",f),this.stage.update&&this.stage.update())},n.prototype._startLoop=function(){var e=this;this._running=!0;function s(){e._running&&(wr(s),!e._paused&&e.update())}wr(s)},n.prototype.start=function(){this._running||(this._time=Va(),this._pausedTime=0,this._startLoop())},n.prototype.stop=function(){this._running=!1},n.prototype.pause=function(){this._paused||(this._pauseStart=Va(),this._paused=!0)},n.prototype.resume=function(){this._paused&&(this._pausedTime+=Va()-this._pauseStart,this._paused=!1)},n.prototype.clear=function(){for(var e=this._head;e;){var s=e.next;e.prev=e.next=e.animation=null,e=s}this._head=this._tail=null},n.prototype.isFinished=function(){return this._head==null},n.prototype.animate=function(e,s){s=s||{},this.start();var f=new Fa(e,s.loop);return this.addAnimator(f),f},n}(xn),Ci=di,wo=300,ho=Bt.a.domSupported,Io=function(){var a=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],n=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},s=H.H(a,function(f){var p=f.replace("mouse","pointer");return e.hasOwnProperty(p)?p:f});return{mouse:a,touch:n,pointer:s}}(),Fo={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},xs=!1;function ms(a){var n=a.pointerType;return n==="pen"||n==="touch"}function ys(a){a.touching=!0,a.touchTimer!=null&&(clearTimeout(a.touchTimer),a.touchTimer=null),a.touchTimer=setTimeout(function(){a.touching=!1,a.touchTimer=null},700)}function bs(a){a&&(a.zrByTouch=!0)}function Po(a,n){return hs(a.dom,new Ls(a,n),!0)}function yr(a,n){for(var e=n,s=!1;e&&e.nodeType!==9&&!(s=e.domBelongToZr||e!==n&&e===a.painterRoot);)e=e.parentNode;return s}var Ls=function(){function a(n,e){this.stopPropagation=H.L,this.stopImmediatePropagation=H.L,this.preventDefault=H.L,this.type=e.type,this.target=this.currentTarget=n.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return a}(),Zs={mousedown:function(n){n=hs(this.dom,n),this.__mayPointerCapture=[n.zrX,n.zrY],this.trigger("mousedown",n)},mousemove:function(n){n=hs(this.dom,n);var e=this.__mayPointerCapture;e&&(n.zrX!==e[0]||n.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",n)},mouseup:function(n){n=hs(this.dom,n),this.__togglePointerCapture(!1),this.trigger("mouseup",n)},mouseout:function(n){n=hs(this.dom,n);var e=n.toElement||n.relatedTarget;yr(this,e)||(this.__pointerCapturing&&(n.zrEventControl="no_globalout"),this.trigger("mouseout",n))},wheel:function(n){xs=!0,n=hs(this.dom,n),this.trigger("mousewheel",n)},mousewheel:function(n){xs||(n=hs(this.dom,n),this.trigger("mousewheel",n))},touchstart:function(n){n=hs(this.dom,n),bs(n),this.__lastTouchMoment=new Date,this.handler.processGesture(n,"start"),Zs.mousemove.call(this,n),Zs.mousedown.call(this,n)},touchmove:function(n){n=hs(this.dom,n),bs(n),this.handler.processGesture(n,"change"),Zs.mousemove.call(this,n)},touchend:function(n){n=hs(this.dom,n),bs(n),this.handler.processGesture(n,"end"),Zs.mouseup.call(this,n),+new Date-+this.__lastTouchMoment<wo&&Zs.click.call(this,n)},pointerdown:function(n){Zs.mousedown.call(this,n)},pointermove:function(n){ms(n)||Zs.mousemove.call(this,n)},pointerup:function(n){Zs.mouseup.call(this,n)},pointerout:function(n){ms(n)||Zs.mouseout.call(this,n)}};H.k(["click","dblclick","contextmenu"],function(a){Zs[a]=function(n){n=hs(this.dom,n),this.trigger(a,n)}});var Sc={pointermove:function(n){ms(n)||Sc.mousemove.call(this,n)},pointerup:function(n){Sc.mouseup.call(this,n)},mousemove:function(n){this.trigger("mousemove",n)},mouseup:function(n){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",n),e&&(n.zrEventControl="only_globalout",this.trigger("mouseout",n))}};function Hs(a,n){var e=n.domHandlers;Bt.a.pointerEventsSupported?H.k(Io.pointer,function(s){cr(n,s,function(f){e[s].call(a,f)})}):(Bt.a.touchEventsSupported&&H.k(Io.touch,function(s){cr(n,s,function(f){e[s].call(a,f),ys(n)})}),H.k(Io.mouse,function(s){cr(n,s,function(f){f=qo(f),n.touching||e[s].call(a,f)})}))}function bc(a,n){Bt.a.pointerEventsSupported?H.k(Fo.pointer,e):Bt.a.touchEventsSupported||H.k(Fo.mouse,e);function e(s){function f(p){p=qo(p),yr(a,p.target)||(p=Po(a,p),n.domHandlers[s].call(a,p))}cr(n,s,f,{capture:!0})}}function cr(a,n,e,s){a.mounted[n]=e,a.listenerOpts[n]=s,rt(a.domTarget,n,e,s)}function qr(a){var n=a.mounted;for(var e in n)n.hasOwnProperty(e)&&Vt(a.domTarget,e,n[e],a.listenerOpts[e]);a.mounted={}}var yi=function(){function a(n,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=n,this.domHandlers=e}return a}(),Ki=function(a){nt(n,a);function n(e,s){var f=a.call(this)||this;return f.__pointerCapturing=!1,f.dom=e,f.painterRoot=s,f._localHandlerScope=new yi(e,Zs),ho&&(f._globalHandlerScope=new yi(document,Sc)),Hs(f,f._localHandlerScope),f}return n.prototype.dispose=function(){qr(this._localHandlerScope),ho&&qr(this._globalHandlerScope)},n.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},n.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,ho&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var s=this._globalHandlerScope;e?bc(this,s):qr(s)}},n}(xn),uo=Ki,As=1;Bt.a.hasGlobalWindow&&(As=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var zc=0,cc=As,fl=.4,Bc="#333",Gl="#ccc",Fl="#eee",pl=Fn,gu=5e-5;function bl(a){return a>gu||a<-gu}var tu=[],hl=[],ju=en(),il=Math.abs,Mu=function(){function a(){}return a.prototype.getLocalTransform=function(n){return a.getLocalTransform(this,n)},a.prototype.setPosition=function(n){this.x=n[0],this.y=n[1]},a.prototype.setScale=function(n){this.scaleX=n[0],this.scaleY=n[1]},a.prototype.setSkew=function(n){this.skewX=n[0],this.skewY=n[1]},a.prototype.setOrigin=function(n){this.originX=n[0],this.originY=n[1]},a.prototype.needLocalTransform=function(){return bl(this.rotation)||bl(this.x)||bl(this.y)||bl(this.scaleX-1)||bl(this.scaleY-1)||bl(this.skewX)||bl(this.skewY)},a.prototype.updateTransform=function(){var n=this.parent&&this.parent.transform,e=this.needLocalTransform(),s=this.transform;if(!(e||n)){s&&pl(s);return}s=s||en(),e?this.getLocalTransform(s):pl(s),n&&(e?Ir(s,n,s):Jn(s,n)),this.transform=s,this._resolveGlobalScaleRatio(s)},a.prototype._resolveGlobalScaleRatio=function(n){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(tu);var s=tu[0]<0?-1:1,f=tu[1]<0?-1:1,p=((tu[0]-s)*e+s)/tu[0]||0,h=((tu[1]-f)*e+f)/tu[1]||0;n[0]*=p,n[1]*=p,n[2]*=h,n[3]*=h}this.invTransform=this.invTransform||en(),$a(this.invTransform,n)},a.prototype.getComputedTransform=function(){for(var n=this,e=[];n;)e.push(n),n=n.parent;for(;n=e.pop();)n.updateTransform();return this.transform},a.prototype.setLocalTransform=function(n){if(!!n){var e=n[0]*n[0]+n[1]*n[1],s=n[2]*n[2]+n[3]*n[3],f=Math.atan2(n[1],n[0]),p=Math.PI/2+f-Math.atan2(n[3],n[2]);s=Math.sqrt(s)*Math.cos(p),e=Math.sqrt(e),this.skewX=p,this.skewY=0,this.rotation=-f,this.x=+n[4],this.y=+n[5],this.scaleX=e,this.scaleY=s,this.originX=0,this.originY=0}},a.prototype.decomposeTransform=function(){if(!!this.transform){var n=this.parent,e=this.transform;n&&n.transform&&(Ir(hl,n.invTransform,e),e=hl);var s=this.originX,f=this.originY;(s||f)&&(ju[4]=s,ju[5]=f,Ir(hl,e,ju),hl[4]-=s,hl[5]-=f,e=hl),this.setLocalTransform(e)}},a.prototype.getGlobalScale=function(n){var e=this.transform;return n=n||[],e?(n[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),n[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(n[0]=-n[0]),e[3]<0&&(n[1]=-n[1]),n):(n[0]=1,n[1]=1,n)},a.prototype.transformCoordToLocal=function(n,e){var s=[n,e],f=this.invTransform;return f&&eo(s,s,f),s},a.prototype.transformCoordToGlobal=function(n,e){var s=[n,e],f=this.transform;return f&&eo(s,s,f),s},a.prototype.getLineScale=function(){var n=this.transform;return n&&il(n[0]-1)>1e-10&&il(n[3]-1)>1e-10?Math.sqrt(il(n[0]*n[3]-n[2]*n[1])):1},a.prototype.copyTransform=function(n){xa(this,n)},a.getLocalTransform=function(n,e){e=e||[];var s=n.originX||0,f=n.originY||0,p=n.scaleX,h=n.scaleY,_=n.anchorX,M=n.anchorY,L=n.rotation||0,z=n.x,Y=n.y,q=n.skewX?Math.tan(n.skewX):0,se=n.skewY?Math.tan(-n.skewY):0;if(s||f||_||M){var ye=s+_,je=f+M;e[4]=-ye*p-q*je*h,e[5]=-je*h-se*ye*p}else e[4]=e[5]=0;return e[0]=p,e[3]=h,e[1]=se*p,e[2]=q*h,L&&ga(e,e,L),e[4]+=s+z,e[5]+=f+Y,e},a.initDefaultProps=function(){var n=a.prototype;n.scaleX=n.scaleY=n.globalScaleRatio=1,n.x=n.y=n.originX=n.originY=n.skewX=n.skewY=n.rotation=n.anchorX=n.anchorY=0}(),a}(),ji=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function xa(a,n){for(var e=0;e<ji.length;e++){var s=ji[e];a[s]=n[s]}}var as=Mu,ws=l("Gz1q"),Cs=l("rDUr"),$o={};function _c(a,n){n=n||Cs.a;var e=$o[n];e||(e=$o[n]=new ws.a(500));var s=e.get(a);return s==null&&(s=Cs.d.measureText(a,n).width,e.put(a,s)),s}function Lc(a,n,e,s){var f=_c(a,n),p=au(n),h=Ol(0,f,e),_=cl(0,p,s),M=new fo(h,_,f,p);return M}function Rl(a,n,e,s){var f=((a||"")+"").split(`
`),p=f.length;if(p===1)return Lc(f[0],n,e,s);for(var h=new fo(0,0,0,0),_=0;_<f.length;_++){var M=Lc(f[_],n,e,s);_===0?h.copy(M):h.union(M)}return h}function Ol(a,n,e){return e==="right"?a-=n:e==="center"&&(a-=n/2),a}function cl(a,n,e){return e==="middle"?a-=n/2:e==="bottom"&&(a-=n),a}function au(a){return _c("\u56FD",a)}function Yu(a,n){return Cs.d.measureText(a,n)}function Od(a,n){return typeof a=="string"?a.lastIndexOf("%")>=0?parseFloat(a)/100*n:parseFloat(a):a}function Lu(a,n,e){var s=n.position||"inside",f=n.distance!=null?n.distance:5,p=e.height,h=e.width,_=p/2,M=e.x,L=e.y,z="left",Y="top";if(s instanceof Array)M+=Od(s[0],e.width),L+=Od(s[1],e.height),z=null,Y=null;else switch(s){case"left":M-=f,L+=_,z="right",Y="middle";break;case"right":M+=f+h,L+=_,Y="middle";break;case"top":M+=h/2,L-=f,z="center",Y="bottom";break;case"bottom":M+=h/2,L+=p+f,z="center";break;case"inside":M+=h/2,L+=_,z="center",Y="middle";break;case"insideLeft":M+=f,L+=_,Y="middle";break;case"insideRight":M+=h-f,L+=_,z="right",Y="middle";break;case"insideTop":M+=h/2,L+=f,z="center";break;case"insideBottom":M+=h/2,L+=p-f,z="center",Y="bottom";break;case"insideTopLeft":M+=f,L+=f;break;case"insideTopRight":M+=h-f,L+=f,z="right";break;case"insideBottomLeft":M+=f,L+=p-f,Y="bottom";break;case"insideBottomRight":M+=h-f,L+=p-f,z="right",Y="bottom";break}return a=a||{},a.x=M,a.y=L,a.align=z,a.verticalAlign=Y,a}var Hd="__zr_normal__",af=ji.concat(["ignore"]),Gd=Object(H.N)(ji,function(a,n){return a[n]=!0,a},{ignore:!1}),Nd={},kd=new fo(0,0,0,0),xf=function(){function a(n){this.id=Object(H.p)(),this.animators=[],this.currentStates=[],this.states={},this._init(n)}return a.prototype._init=function(n){this.attr(n)},a.prototype.drift=function(n,e,s){switch(this.draggable){case"horizontal":e=0;break;case"vertical":n=0;break}var f=this.transform;f||(f=this.transform=[1,0,0,1,0,0]),f[4]+=n,f[5]+=e,this.decomposeTransform(),this.markRedraw()},a.prototype.beforeUpdate=function(){},a.prototype.afterUpdate=function(){},a.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},a.prototype.updateInnerText=function(n){var e=this._textContent;if(e&&(!e.ignore||n)){this.textConfig||(this.textConfig={});var s=this.textConfig,f=s.local,p=e.innerTransformable,h=void 0,_=void 0,M=!1;p.parent=f?this:null;var L=!1;if(p.copyTransform(e),s.position!=null){var z=kd;s.layoutRect?z.copy(s.layoutRect):z.copy(this.getBoundingRect()),f||z.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Nd,s,z):Lu(Nd,s,z),p.x=Nd.x,p.y=Nd.y,h=Nd.align,_=Nd.verticalAlign;var Y=s.origin;if(Y&&s.rotation!=null){var q=void 0,se=void 0;Y==="center"?(q=z.width*.5,se=z.height*.5):(q=Od(Y[0],z.width),se=Od(Y[1],z.height)),L=!0,p.originX=-p.x+q+(f?0:z.x),p.originY=-p.y+se+(f?0:z.y)}}s.rotation!=null&&(p.rotation=s.rotation);var ye=s.offset;ye&&(p.x+=ye[0],p.y+=ye[1],L||(p.originX=-ye[0],p.originY=-ye[1]));var je=s.inside==null?typeof s.position=="string"&&s.position.indexOf("inside")>=0:s.inside,De=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),We=void 0,st=void 0,dt=void 0;je&&this.canBeInsideText()?(We=s.insideFill,st=s.insideStroke,(We==null||We==="auto")&&(We=this.getInsideTextFill()),(st==null||st==="auto")&&(st=this.getInsideTextStroke(We),dt=!0)):(We=s.outsideFill,st=s.outsideStroke,(We==null||We==="auto")&&(We=this.getOutsideFill()),(st==null||st==="auto")&&(st=this.getOutsideStroke(We),dt=!0)),We=We||"#000",(We!==De.fill||st!==De.stroke||dt!==De.autoStroke||h!==De.align||_!==De.verticalAlign)&&(M=!0,De.fill=We,De.stroke=st,De.autoStroke=dt,De.align=h,De.verticalAlign=_,e.setDefaultTextStyle(De)),e.__dirty|=rl,M&&e.dirtyStyle(!0)}},a.prototype.canBeInsideText=function(){return!0},a.prototype.getInsideTextFill=function(){return"#fff"},a.prototype.getInsideTextStroke=function(n){return"#000"},a.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Gl:Bc},a.prototype.getOutsideStroke=function(n){var e=this.__zr&&this.__zr.getBackgroundColor(),s=typeof e=="string"&&Object(ml.g)(e);s||(s=[255,255,255,1]);for(var f=s[3],p=this.__zr.isDarkMode(),h=0;h<3;h++)s[h]=s[h]*f+(p?0:255)*(1-f);return s[3]=1,Object(ml.h)(s,"rgba")},a.prototype.traverse=function(n,e){},a.prototype.attrKV=function(n,e){n==="textConfig"?this.setTextConfig(e):n==="textContent"?this.setTextContent(e):n==="clipPath"?this.setClipPath(e):n==="extra"?(this.extra=this.extra||{},Object(H.m)(this.extra,e)):this[n]=e},a.prototype.hide=function(){this.ignore=!0,this.markRedraw()},a.prototype.show=function(){this.ignore=!1,this.markRedraw()},a.prototype.attr=function(n,e){if(typeof n=="string")this.attrKV(n,e);else if(Object(H.A)(n))for(var s=n,f=Object(H.F)(s),p=0;p<f.length;p++){var h=f[p];this.attrKV(h,n[h])}return this.markRedraw(),this},a.prototype.saveCurrentToNormalState=function(n){this._innerSaveToNormal(n);for(var e=this._normalState,s=0;s<this.animators.length;s++){var f=this.animators[s],p=f.__fromStateTransition;if(!(f.getLoop()||p&&p!==Hd)){var h=f.targetName,_=h?e[h]:e;f.saveTo(_)}}},a.prototype._innerSaveToNormal=function(n){var e=this._normalState;e||(e=this._normalState={}),n.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(n,e,af)},a.prototype._savePrimaryToNormal=function(n,e,s){for(var f=0;f<s.length;f++){var p=s[f];n[p]!=null&&!(p in e)&&(e[p]=this[p])}},a.prototype.hasState=function(){return this.currentStates.length>0},a.prototype.getState=function(n){return this.states[n]},a.prototype.ensureState=function(n){var e=this.states;return e[n]||(e[n]={}),e[n]},a.prototype.clearStates=function(n){this.useState(Hd,!1,n)},a.prototype.useState=function(n,e,s,f){var p=n===Hd,h=this.hasState();if(!(!h&&p)){var _=this.currentStates,M=this.stateTransition;if(!(Object(H.r)(_,n)>=0&&(e||_.length===1))){var L;if(this.stateProxy&&!p&&(L=this.stateProxy(n)),L||(L=this.states&&this.states[n]),!L&&!p){Object(H.G)("State "+n+" not exists.");return}p||this.saveCurrentToNormalState(L);var z=!!(L&&L.hoverLayer||f);z&&this._toggleHoverLayerFlag(!0),this._applyStateObj(n,L,this._normalState,e,!s&&!this.__inHover&&M&&M.duration>0,M);var Y=this._textContent,q=this._textGuide;return Y&&Y.useState(n,e,s,z),q&&q.useState(n,e,s,z),p?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(n):this.currentStates=[n],this._updateAnimationTargets(),this.markRedraw(),!z&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~rl),L}}},a.prototype.useStates=function(n,e,s){if(!n.length)this.clearStates();else{var f=[],p=this.currentStates,h=n.length,_=h===p.length;if(_){for(var M=0;M<h;M++)if(n[M]!==p[M]){_=!1;break}}if(_)return;for(var M=0;M<h;M++){var L=n[M],z=void 0;this.stateProxy&&(z=this.stateProxy(L,n)),z||(z=this.states[L]),z&&f.push(z)}var Y=f[h-1],q=!!(Y&&Y.hoverLayer||s);q&&this._toggleHoverLayerFlag(!0);var se=this._mergeStates(f),ye=this.stateTransition;this.saveCurrentToNormalState(se),this._applyStateObj(n.join(","),se,this._normalState,!1,!e&&!this.__inHover&&ye&&ye.duration>0,ye);var je=this._textContent,De=this._textGuide;je&&je.useStates(n,e,q),De&&De.useStates(n,e,q),this._updateAnimationTargets(),this.currentStates=n.slice(),this.markRedraw(),!q&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~rl)}},a.prototype._updateAnimationTargets=function(){for(var n=0;n<this.animators.length;n++){var e=this.animators[n];e.targetName&&e.changeTarget(this[e.targetName])}},a.prototype.removeState=function(n){var e=Object(H.r)(this.currentStates,n);if(e>=0){var s=this.currentStates.slice();s.splice(e,1),this.useStates(s)}},a.prototype.replaceState=function(n,e,s){var f=this.currentStates.slice(),p=Object(H.r)(f,n),h=Object(H.r)(f,e)>=0;p>=0?h?f.splice(p,1):f[p]=e:s&&!h&&f.push(e),this.useStates(f)},a.prototype.toggleState=function(n,e){e?this.useState(n,!0):this.removeState(n)},a.prototype._mergeStates=function(n){for(var e={},s,f=0;f<n.length;f++){var p=n[f];Object(H.m)(e,p),p.textConfig&&(s=s||{},Object(H.m)(s,p.textConfig))}return s&&(e.textConfig=s),e},a.prototype._applyStateObj=function(n,e,s,f,p,h){var _=!(e&&f);e&&e.textConfig?(this.textConfig=Object(H.m)({},f?this.textConfig:s.textConfig),Object(H.m)(this.textConfig,e.textConfig)):_&&s.textConfig&&(this.textConfig=s.textConfig);for(var M={},L=!1,z=0;z<af.length;z++){var Y=af[z],q=p&&Gd[Y];e&&e[Y]!=null?q?(L=!0,M[Y]=e[Y]):this[Y]=e[Y]:_&&s[Y]!=null&&(q?(L=!0,M[Y]=s[Y]):this[Y]=s[Y])}if(!p)for(var z=0;z<this.animators.length;z++){var se=this.animators[z],ye=se.targetName;se.getLoop()||se.__changeFinalValue(ye?(e||s)[ye]:e||s)}L&&this._transitionState(n,M,h)},a.prototype._attachComponent=function(n){if(!(n.__zr&&!n.__hostTarget)&&n!==this){var e=this.__zr;e&&n.addSelfToZr(e),n.__zr=e,n.__hostTarget=this}},a.prototype._detachComponent=function(n){n.__zr&&n.removeSelfFromZr(n.__zr),n.__zr=null,n.__hostTarget=null},a.prototype.getClipPath=function(){return this._clipPath},a.prototype.setClipPath=function(n){this._clipPath&&this._clipPath!==n&&this.removeClipPath(),this._attachComponent(n),this._clipPath=n,this.markRedraw()},a.prototype.removeClipPath=function(){var n=this._clipPath;n&&(this._detachComponent(n),this._clipPath=null,this.markRedraw())},a.prototype.getTextContent=function(){return this._textContent},a.prototype.setTextContent=function(n){var e=this._textContent;e!==n&&(e&&e!==n&&this.removeTextContent(),n.innerTransformable=new as,this._attachComponent(n),this._textContent=n,this.markRedraw())},a.prototype.setTextConfig=function(n){this.textConfig||(this.textConfig={}),Object(H.m)(this.textConfig,n),this.markRedraw()},a.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},a.prototype.removeTextContent=function(){var n=this._textContent;n&&(n.innerTransformable=null,this._detachComponent(n),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},a.prototype.getTextGuideLine=function(){return this._textGuide},a.prototype.setTextGuideLine=function(n){this._textGuide&&this._textGuide!==n&&this.removeTextGuideLine(),this._attachComponent(n),this._textGuide=n,this.markRedraw()},a.prototype.removeTextGuideLine=function(){var n=this._textGuide;n&&(this._detachComponent(n),this._textGuide=null,this.markRedraw())},a.prototype.markRedraw=function(){this.__dirty|=rl;var n=this.__zr;n&&(this.__inHover?n.refreshHover():n.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},a.prototype.dirty=function(){this.markRedraw()},a.prototype._toggleHoverLayerFlag=function(n){this.__inHover=n;var e=this._textContent,s=this._textGuide;e&&(e.__inHover=n),s&&(s.__inHover=n)},a.prototype.addSelfToZr=function(n){if(this.__zr!==n){this.__zr=n;var e=this.animators;if(e)for(var s=0;s<e.length;s++)n.animation.addAnimator(e[s]);this._clipPath&&this._clipPath.addSelfToZr(n),this._textContent&&this._textContent.addSelfToZr(n),this._textGuide&&this._textGuide.addSelfToZr(n)}},a.prototype.removeSelfFromZr=function(n){if(!!this.__zr){this.__zr=null;var e=this.animators;if(e)for(var s=0;s<e.length;s++)n.animation.removeAnimator(e[s]);this._clipPath&&this._clipPath.removeSelfFromZr(n),this._textContent&&this._textContent.removeSelfFromZr(n),this._textGuide&&this._textGuide.removeSelfFromZr(n)}},a.prototype.animate=function(n,e,s){var f=n?this[n]:this,p=new Fa(f,e,s);return n&&(p.targetName=n),this.addAnimator(p,n),p},a.prototype.addAnimator=function(n,e){var s=this.__zr,f=this;n.during(function(){f.updateDuringAnimation(e)}).done(function(){var p=f.animators,h=Object(H.r)(p,n);h>=0&&p.splice(h,1)}),this.animators.push(n),s&&s.animation.addAnimator(n),s&&s.wakeUp()},a.prototype.updateDuringAnimation=function(n){this.markRedraw()},a.prototype.stopAnimation=function(n,e){for(var s=this.animators,f=s.length,p=[],h=0;h<f;h++){var _=s[h];!n||n===_.scope?_.stop(e):p.push(_)}return this.animators=p,this},a.prototype.animateTo=function(n,e,s){Bd(this,n,e,s)},a.prototype.animateFrom=function(n,e,s){Bd(this,n,e,s,!0)},a.prototype._transitionState=function(n,e,s,f){for(var p=Bd(this,e,s,f),h=0;h<p.length;h++)p[h].__fromStateTransition=n},a.prototype.getBoundingRect=function(){return null},a.prototype.getPaintRect=function(){return null},a.initDefaultProps=function(){var n=a.prototype;n.type="element",n.name="",n.ignore=n.silent=n.isGroup=n.draggable=n.dragging=n.ignoreClip=n.__inHover=!1,n.__dirty=rl;var e={};function s(p,h,_){e[p+h+_]||(console.warn("DEPRECATED: '"+p+"' has been deprecated. use '"+h+"', '"+_+"' instead"),e[p+h+_]=!0)}function f(p,h,_,M){Object.defineProperty(n,p,{get:function(){if(!this[h]){var Y=this[h]=[];L(this,Y)}return this[h]},set:function(Y){this[_]=Y[0],this[M]=Y[1],this[h]=Y,L(this,Y)}});function L(z,Y){Object.defineProperty(Y,0,{get:function(){return z[_]},set:function(se){z[_]=se}}),Object.defineProperty(Y,1,{get:function(){return z[M]},set:function(se){z[M]=se}})}}Object.defineProperty&&(f("position","_legacyPos","x","y"),f("scale","_legacyScale","scaleX","scaleY"),f("origin","_legacyOrigin","originX","originY"))}(),a}();Object(H.K)(xf,xn),Object(H.K)(xf,as);function Bd(a,n,e,s,f){e=e||{};var p=[];ll(a,"",a,n,e,s,p,f);var h=p.length,_=!1,M=e.done,L=e.aborted,z=function(){_=!0,h--,h<=0&&(_?M&&M():L&&L())},Y=function(){h--,h<=0&&(_?M&&M():L&&L())};h||M&&M(),p.length>0&&e.during&&p[0].during(function(ye,je){e.during(je)});for(var q=0;q<p.length;q++){var se=p[q];z&&se.done(z),Y&&se.aborted(Y),e.force&&se.duration(e.duration),se.start(e.easing)}return p}function Fu(a,n,e){for(var s=0;s<e;s++)a[s]=n[s]}function xd(a){return Object(H.u)(a[0])}function of(a,n,e){if(Object(H.u)(n[e]))if(Object(H.u)(a[e])||(a[e]=[]),Object(H.E)(n[e])){var s=n[e].length;a[e].length!==s&&(a[e]=new n[e].constructor(s),Fu(a[e],n[e],s))}else{var f=n[e],p=a[e],h=f.length;if(xd(f))for(var _=f[0].length,M=0;M<h;M++)p[M]?Fu(p[M],f[M],_):p[M]=Array.prototype.slice.call(f[M]);else Fu(p,f,h);p.length=f.length}else a[e]=n[e]}function ld(a,n){return a===n||Object(H.u)(a)&&Object(H.u)(n)&&cu(a,n)}function cu(a,n){var e=a.length;if(e!==n.length)return!1;for(var s=0;s<e;s++)if(a[s]!==n[s])return!1;return!0}function ll(a,n,e,s,f,p,h,_){for(var M=Object(H.F)(s),L=f.duration,z=f.delay,Y=f.additive,q=f.setToFinal,se=!Object(H.A)(p),ye=a.animators,je=[],De=0;De<M.length;De++){var We=M[De],st=s[We];if(st!=null&&e[We]!=null&&(se||p[We]))if(Object(H.A)(st)&&!Object(H.u)(st)&&!Object(H.x)(st)){if(n){_||(e[We]=st,a.updateDuringAnimation(n));continue}ll(a,We,e[We],st,f,p&&p[We],h,_)}else je.push(We);else _||(e[We]=st,a.updateDuringAnimation(n),je.push(We))}var dt=je.length;if(!Y&&dt)for(var Mt=0;Mt<ye.length;Mt++){var nn=ye[Mt];if(nn.targetName===n){var rn=nn.stopTracks(je);if(rn){var Cn=Object(H.r)(ye,nn);ye.splice(Cn,1)}}}if(f.force||(je=Object(H.n)(je,function(pr){return!ld(s[pr],e[pr])}),dt=je.length),dt>0||f.force&&!h.length){var er=void 0,ir=void 0,dr=void 0;if(_){ir={},q&&(er={});for(var Mt=0;Mt<dt;Mt++){var We=je[Mt];ir[We]=e[We],q?er[We]=s[We]:e[We]=s[We]}}else if(q){dr={};for(var Mt=0;Mt<dt;Mt++){var We=je[Mt];dr[We]=Dr(e[We]),of(e,s,We)}}var nn=new Fa(e,!1,!1,Y?Object(H.n)(ye,function(ia){return ia.targetName===n}):null);nn.targetName=n,f.scope&&(nn.scope=f.scope),q&&er&&nn.whenWithKeys(0,er,je),dr&&nn.whenWithKeys(0,dr,je),nn.whenWithKeys(L==null?500:L,_?ir:s,je).delay(z||0),a.addAnimator(nn,n),h.push(nn)}}var ad=xf,Xu=function(a){nt(n,a);function n(e){var s=a.call(this)||this;return s.isGroup=!0,s._children=[],s.attr(e),s}return n.prototype.childrenRef=function(){return this._children},n.prototype.children=function(){return this._children.slice()},n.prototype.childAt=function(e){return this._children[e]},n.prototype.childOfName=function(e){for(var s=this._children,f=0;f<s.length;f++)if(s[f].name===e)return s[f]},n.prototype.childCount=function(){return this._children.length},n.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},n.prototype.addBefore=function(e,s){if(e&&e!==this&&e.parent!==this&&s&&s.parent===this){var f=this._children,p=f.indexOf(s);p>=0&&(f.splice(p,0,e),this._doAdd(e))}return this},n.prototype.replace=function(e,s){var f=H.r(this._children,e);return f>=0&&this.replaceAt(s,f),this},n.prototype.replaceAt=function(e,s){var f=this._children,p=f[s];if(e&&e!==this&&e.parent!==this&&e!==p){f[s]=e,p.parent=null;var h=this.__zr;h&&p.removeSelfFromZr(h),this._doAdd(e)}return this},n.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var s=this.__zr;s&&s!==e.__zr&&e.addSelfToZr(s),s&&s.refresh()},n.prototype.remove=function(e){var s=this.__zr,f=this._children,p=H.r(f,e);return p<0?this:(f.splice(p,1),e.parent=null,s&&e.removeSelfFromZr(s),s&&s.refresh(),this)},n.prototype.removeAll=function(){for(var e=this._children,s=this.__zr,f=0;f<e.length;f++){var p=e[f];s&&p.removeSelfFromZr(s),p.parent=null}return e.length=0,this},n.prototype.eachChild=function(e,s){for(var f=this._children,p=0;p<f.length;p++){var h=f[p];e.call(s,h,p)}return this},n.prototype.traverse=function(e,s){for(var f=0;f<this._children.length;f++){var p=this._children[f],h=e.call(s,p);p.isGroup&&!h&&p.traverse(e,s)}return this},n.prototype.addSelfToZr=function(e){a.prototype.addSelfToZr.call(this,e);for(var s=0;s<this._children.length;s++){var f=this._children[s];f.addSelfToZr(e)}},n.prototype.removeSelfFromZr=function(e){a.prototype.removeSelfFromZr.call(this,e);for(var s=0;s<this._children.length;s++){var f=this._children[s];f.removeSelfFromZr(e)}},n.prototype.getBoundingRect=function(e){for(var s=new fo(0,0,0,0),f=e||this._children,p=[],h=null,_=0;_<f.length;_++){var M=f[_];if(!(M.ignore||M.invisible)){var L=M.getBoundingRect(),z=M.getLocalTransform(p);z?(fo.applyTransform(s,L,z),h=h||s.clone(),h.union(s)):(h=h||L.clone(),h.union(L))}}return h||s},n}(ad);Xu.prototype.type="group";var _s=Xu;/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var jl={},Uu={};function jd(a){delete Uu[a]}function Sf(a){if(!a)return!1;if(typeof a=="string")return Object(ml.d)(a,1)<fl;if(a.colorStops){for(var n=a.colorStops,e=0,s=n.length,f=0;f<s;f++)e+=Object(ml.d)(n[f].color,1);return e/=s,e<fl}return!1}var Af=function(){function a(n,e,s){var f=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,s=s||{},this.dom=e,this.id=n;var p=new vi,h=s.renderer||"canvas";jl[h]||(h=H.F(jl)[0]),s.useDirtyRect=s.useDirtyRect==null?!1:s.useDirtyRect;var _=new jl[h](e,p,s,n),M=s.ssr||_.ssrOnly;this.storage=p,this.painter=_;var L=!Bt.a.node&&!Bt.a.worker&&!M?new uo(_.getViewportRoot(),_.root):null,z=s.useCoarsePointer,Y=z==null||z==="auto"?Bt.a.touchEventsSupported:!!z,q=44,se;Y&&(se=H.P(s.pointerSize,q)),this.handler=new gc(p,_,L,_.root,se),this.animation=new Ci({stage:{update:M?null:function(){return f._flush(!0)}}}),M||this.animation.start()}return a.prototype.add=function(n){!n||(this.storage.addRoot(n),n.addSelfToZr(this),this.refresh())},a.prototype.remove=function(n){!n||(this.storage.delRoot(n),n.removeSelfFromZr(this),this.refresh())},a.prototype.configLayer=function(n,e){this.painter.configLayer&&this.painter.configLayer(n,e),this.refresh()},a.prototype.setBackgroundColor=function(n){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(n),this.refresh(),this._backgroundColor=n,this._darkMode=Sf(n)},a.prototype.getBackgroundColor=function(){return this._backgroundColor},a.prototype.setDarkMode=function(n){this._darkMode=n},a.prototype.isDarkMode=function(){return this._darkMode},a.prototype.refreshImmediately=function(n){n||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},a.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},a.prototype.flush=function(){this._flush(!1)},a.prototype._flush=function(n){var e,s=Va();this._needsRefresh&&(e=!0,this.refreshImmediately(n)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var f=Va();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:f-s})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},a.prototype.setSleepAfterStill=function(n){this._sleepAfterStill=n},a.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},a.prototype.refreshHover=function(){this._needsRefreshHover=!0},a.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},a.prototype.resize=function(n){n=n||{},this.painter.resize(n.width,n.height),this.handler.resize()},a.prototype.clearAnimation=function(){this.animation.clear()},a.prototype.getWidth=function(){return this.painter.getWidth()},a.prototype.getHeight=function(){return this.painter.getHeight()},a.prototype.setCursorStyle=function(n){this.handler.setCursorStyle(n)},a.prototype.findHover=function(n,e){return this.handler.findHover(n,e)},a.prototype.on=function(n,e,s){return this.handler.on(n,e,s),this},a.prototype.off=function(n,e){this.handler.off(n,e)},a.prototype.trigger=function(n,e){this.handler.trigger(n,e)},a.prototype.clear=function(){for(var n=this.storage.getRoots(),e=0;e<n.length;e++)n[e]instanceof _s&&n[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},a.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,jd(this.id)},a}();function mf(a,n){var e=new Af(H.p(),a,n);return Uu[e.id]=e,e}function Ld(a){a.dispose()}function qd(){for(var a in Uu)Uu.hasOwnProperty(a)&&Uu[a].dispose();Uu={}}function bu(a){return Uu[a]}function $d(a,n){jl[a]=n}var Ju="5.4.3",Jd=1e-4,Zo=20;function Vr(a){return a.replace(/^\s+|\s+$/g,"")}function Yo(a,n,e,s){var f=n[0],p=n[1],h=e[0],_=e[1],M=p-f,L=_-h;if(M===0)return L===0?h:(h+_)/2;if(s)if(M>0){if(a<=f)return h;if(a>=p)return _}else{if(a>=f)return h;if(a<=p)return _}else{if(a===f)return h;if(a===p)return _}return(a-f)/M*L+h}function Mi(a,n){switch(a){case"center":case"middle":a="50%";break;case"left":case"top":a="0%";break;case"right":case"bottom":a="100%";break}return H.C(a)?Vr(a).match(/%$/)?parseFloat(a)/100*n:parseFloat(a):a==null?NaN:+a}function ds(a,n,e){return n==null&&(n=10),n=Math.min(Math.max(0,n),Zo),a=(+a).toFixed(n),e?a:+a}function oc(a){return a.sort(function(n,e){return n-e}),a}function Il(a){if(a=+a,isNaN(a))return 0;if(a>1e-14){for(var n=1,e=0;e<15;e++,n*=10)if(Math.round(a*n)/n===a)return e}return pu(a)}function pu(a){var n=a.toString().toLowerCase(),e=n.indexOf("e"),s=e>0?+n.slice(e+1):0,f=e>0?e:n.length,p=n.indexOf("."),h=p<0?0:f-1-p;return Math.max(0,h-s)}function Nl(a,n){var e=Math.log,s=Math.LN10,f=Math.floor(e(a[1]-a[0])/s),p=Math.round(e(Math.abs(n[1]-n[0]))/s),h=Math.min(Math.max(-f+p,0),20);return isFinite(h)?h:20}function Du(a,n,e){if(!a[n])return 0;var s=vu(a,e);return s[n]||0}function vu(a,n){var e=H.N(a,function(se,ye){return se+(isNaN(ye)?0:ye)},0);if(e===0)return[];for(var s=Math.pow(10,n),f=H.H(a,function(se){return(isNaN(se)?0:se)/e*s*100}),p=s*100,h=H.H(f,function(se){return Math.floor(se)}),_=H.N(h,function(se,ye){return se+ye},0),M=H.H(f,function(se,ye){return se-h[ye]});_<p;){for(var L=Number.NEGATIVE_INFINITY,z=null,Y=0,q=M.length;Y<q;++Y)M[Y]>L&&(L=M[Y],z=Y);++h[z],M[z]=0,++_}return H.H(h,function(se){return se/s})}function lu(a,n){var e=Math.max(Il(a),Il(n)),s=a+n;return e>Zo?s:ds(s,e)}var id=9007199254740991;function Ws(a){var n=Math.PI*2;return(a%n+n)%n}function re(a){return a>-Jd&&a<Jd}var Ae=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ct(a){if(a instanceof Date)return a;if(H.C(a)){var n=Ae.exec(a);if(!n)return new Date(NaN);if(n[8]){var e=+n[4]||0;return n[8].toUpperCase()!=="Z"&&(e-=+n[8].slice(0,3)),new Date(Date.UTC(+n[1],+(n[2]||1)-1,+n[3]||1,e,+(n[5]||0),+n[6]||0,n[7]?+n[7].substring(0,3):0))}else return new Date(+n[1],+(n[2]||1)-1,+n[3]||1,+n[4]||0,+(n[5]||0),+n[6]||0,n[7]?+n[7].substring(0,3):0)}else if(a==null)return new Date(NaN);return new Date(Math.round(a))}function wt(a){return Math.pow(10,an(a))}function an(a){if(a===0)return 0;var n=Math.floor(Math.log(a)/Math.LN10);return a/Math.pow(10,n)>=10&&n++,n}function jr(a,n){var e=an(a),s=Math.pow(10,e),f=a/s,p;return n?f<1.5?p=1:f<2.5?p=2:f<4?p=3:f<7?p=5:p=10:f<1?p=1:f<2?p=2:f<3?p=3:f<5?p=5:p=10,a=p*s,e>=-20?+a.toFixed(e<0?-e:0):a}function Xa(a,n){var e=(a.length-1)*n+1,s=Math.floor(e),f=+a[s-1],p=e-s;return p?f+p*(a[s]-f):f}function fs(a){a.sort(function(M,L){return _(M,L,0)?-1:1});for(var n=-Infinity,e=1,s=0;s<a.length;){for(var f=a[s].interval,p=a[s].close,h=0;h<2;h++)f[h]<=n&&(f[h]=n,p[h]=h?1:1-e),n=f[h],e=p[h];f[0]===f[1]&&p[0]*p[1]!=1?a.splice(s,1):s++}return a;function _(M,L,z){return M.interval[z]<L.interval[z]||M.interval[z]===L.interval[z]&&(M.close[z]-L.close[z]==(z?-1:1)||!z&&_(M,L,1))}}function Xs(a){var n=parseFloat(a);return n==a&&(n!==0||!H.C(a)||a.indexOf("x")<=0)?n:NaN}function Uc(a){return!isNaN(Xs(a))}function zl(){return Math.round(Math.random()*9)}function Bu(a,n){return n===0?a:Bu(n,a%n)}function ud(a,n){return a==null?n:n==null?a:a*n/Bu(a,n)}function Mp(a,n,e){return(n-a)*e+a}var ev="series\0",Rn="\0_ec_\0";function St(a){return a instanceof Array?a:a==null?[]:[a]}function on(a,n,e){if(a){a[n]=a[n]||{},a.emphasis=a.emphasis||{},a.emphasis[n]=a.emphasis[n]||{};for(var s=0,f=e.length;s<f;s++){var p=e[s];!a.emphasis[n].hasOwnProperty(p)&&a[n].hasOwnProperty(p)&&(a.emphasis[n][p]=a[n][p])}}}var Dn=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function aa(a){return Object(H.A)(a)&&!Object(H.t)(a)&&!(a instanceof Date)?a.value:a}function oa(a){return Object(H.A)(a)&&!(a instanceof Array)}function Jr(a,n,e){var s=e==="normalMerge",f=e==="replaceMerge",p=e==="replaceAll";a=a||[],n=(n||[]).slice();var h=Object(H.f)();Object(H.k)(n,function(M,L){if(!Object(H.A)(M)){n[L]=null;return}});var _=Ia(a,h,e);return(s||f)&&Li(_,a,h,n),s&&no(_,n),s||f?es(_,n,f):p&&Bo(_,n),Uo(_),_}function Ia(a,n,e){var s=[];if(e==="replaceAll")return s;for(var f=0;f<a.length;f++){var p=a[f];p&&p.id!=null&&n.set(p.id,f),s.push({existing:e==="replaceMerge"||_l(p)?null:p,newOption:null,keyInfo:null,brandNew:null})}return s}function Li(a,n,e,s){Object(H.k)(s,function(f,p){if(!(!f||f.id==null)){var h=nc(f.id),_=e.get(h);if(_!=null){var M=a[_];Object(H.b)(!M.newOption,'Duplicated option on id "'+h+'".'),M.newOption=f,M.existing=n[_],s[p]=null}}})}function no(a,n){Object(H.k)(n,function(e,s){if(!(!e||e.name==null))for(var f=0;f<a.length;f++){var p=a[f].existing;if(!a[f].newOption&&p&&(p.id==null||e.id==null)&&!_l(e)&&!_l(p)&&Dc("name",p,e)){a[f].newOption=e,n[s]=null;return}}})}function es(a,n,e){Object(H.k)(n,function(s){if(!!s){for(var f,p=0;(f=a[p])&&(f.newOption||_l(f.existing)||f.existing&&s.id!=null&&!Dc("id",s,f.existing));)p++;f?(f.newOption=s,f.brandNew=e):a.push({newOption:s,brandNew:e,existing:null,keyInfo:null}),p++}})}function Bo(a,n){Object(H.k)(n,function(e){a.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function Uo(a){var n=Object(H.f)();Object(H.k)(a,function(e){var s=e.existing;s&&n.set(s.id,e)}),Object(H.k)(a,function(e){var s=e.newOption;Object(H.b)(!s||s.id==null||!n.get(s.id)||n.get(s.id)===e,"id duplicates: "+(s&&s.id)),s&&s.id!=null&&n.set(s.id,e),!e.keyInfo&&(e.keyInfo={})}),Object(H.k)(a,function(e,s){var f=e.existing,p=e.newOption,h=e.keyInfo;if(!!Object(H.A)(p)){if(h.name=p.name!=null?nc(p.name):f?f.name:ev+s,f)h.id=nc(f.id);else if(p.id!=null)h.id=nc(p.id);else{var _=0;do h.id="\0"+h.name+"\0"+_++;while(n.get(h.id))}n.set(h.id,e)}})}function Dc(a,n,e){var s=Ms(n[a],null),f=Ms(e[a],null);return s!=null&&f!=null&&s===f}function nc(a){return Ms(a,"")}function Ms(a,n){return a==null?n:Object(H.C)(a)?a:Object(H.z)(a)||Object(H.D)(a)?a+"":n}function Eo(a){}function Is(a){return Object(H.D)(a)||Uc(a)}function $s(a){var n=a.name;return!!(n&&n.indexOf(ev))}function _l(a){return a&&a.id!=null&&nc(a.id).indexOf(Rn)===0}function Wl(a){return Rn+a}function Hu(a,n,e){Object(H.k)(a,function(s){var f=s.newOption;Object(H.A)(f)&&(s.keyInfo.mainType=n,s.keyInfo.subType=gd(n,f,s.existing,e))})}function gd(a,n,e,s){var f=n.type?n.type:e?e.subType:s.determineSubType(a,n);return f}function Cd(a,n){var e={},s={};return f(a||[],e),f(n||[],s,e),[p(e),p(s)];function f(h,_,M){for(var L=0,z=h.length;L<z;L++){var Y=Ms(h[L].seriesId,null);if(Y==null)return;for(var q=St(h[L].dataIndex),se=M&&M[Y],ye=0,je=q.length;ye<je;ye++){var De=q[ye];se&&se[De]?se[De]=null:(_[Y]||(_[Y]={}))[De]=1}}}function p(h,_){var M=[];for(var L in h)if(h.hasOwnProperty(L)&&h[L]!=null)if(_)M.push(+L);else{var z=p(h[L],!0);z.length&&M.push({seriesId:L,dataIndex:z})}return M}}function Gu(a,n){if(n.dataIndexInside!=null)return n.dataIndexInside;if(n.dataIndex!=null)return Object(H.t)(n.dataIndex)?Object(H.H)(n.dataIndex,function(e){return a.indexOfRawIndex(e)}):a.indexOfRawIndex(n.dataIndex);if(n.name!=null)return Object(H.t)(n.name)?Object(H.H)(n.name,function(e){return a.indexOfName(e)}):a.indexOfName(n.name)}function ol(){var a="__ec_inner_"+Md++;return function(n){return n[a]||(n[a]={})}}var Md=zl();function Ff(a,n,e){var s=pp(n,e),f=s.mainTypeSpecified,p=s.queryOptionMap,h=s.others,_=h,M=e?e.defaultMainType:null;return!f&&M&&p.set(M,{}),p.each(function(L,z){var Y=cp(a,z,L,{useDefault:M===z,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});_[z+"Models"]=Y.models,_[z+"Model"]=Y.models[0]}),_}function pp(a,n){var e;if(Object(H.C)(a)){var s={};s[a+"Index"]=0,e=s}else e=a;var f=Object(H.f)(),p={},h=!1;return Object(H.k)(e,function(_,M){if(M==="dataIndex"||M==="dataIndexInside"){p[M]=_;return}var L=M.match(/^(\w+)(Index|Id|Name)$/)||[],z=L[1],Y=(L[2]||"").toLowerCase();if(!(!z||!Y||n&&n.includeMainTypes&&Object(H.r)(n.includeMainTypes,z)<0)){h=h||!!z;var q=f.get(z)||f.set(z,{});q[Y]=_}}),{mainTypeSpecified:h,queryOptionMap:f,others:p}}var Vu={useDefault:!0,enableAll:!1,enableNone:!1},lf={useDefault:!1,enableAll:!0,enableNone:!0};function cp(a,n,e,s){s=s||Vu;var f=e.index,p=e.id,h=e.name,_={models:null,specified:f!=null||p!=null||h!=null};if(!_.specified){var M=void 0;return _.models=s.useDefault&&(M=a.getComponent(n))?[M]:[],_}return f==="none"||f===!1?(Object(H.b)(s.enableNone,'`"none"` or `false` is not a valid value on index option.'),_.models=[],_):(f==="all"&&(Object(H.b)(s.enableAll,'`"all"` is not a valid value on index option.'),f=p=h=null),_.models=a.queryComponents({mainType:n,index:f,id:p,name:h}),_)}function Gf(a,n,e){a.setAttribute?a.setAttribute(n,e):a[n]=e}function wp(a,n){return a.getAttribute?a.getAttribute(n):a[n]}function Tp(a){return a==="auto"?Bt.a.domSupported?"html":"richText":a||"html"}function lp(a,n){var e=Object(H.f)(),s=[];return Object(H.k)(a,function(f){var p=n(f);(e.get(p)||(s.push(p),e.set(p,[]))).push(f)}),{keys:s,buckets:e}}function vp(a,n,e,s,f){var p=n==null||n==="auto";if(s==null)return s;if(Object(H.z)(s)){var h=Mp(e||0,s,f);return ds(h,p?Math.max(Il(e||0),Il(s)):n)}else{if(Object(H.C)(s))return f<1?e:s;for(var _=[],M=e,L=s,z=Math.max(M?M.length:0,L.length),Y=0;Y<z;++Y){var q=a.getDimensionInfo(Y);if(q&&q.type==="ordinal")_[Y]=(f<1&&M?M:L)[Y];else{var se=M&&M[Y]?M[Y]:0,ye=L[Y],h=Mp(se,ye,f);_[Y]=ds(h,p?Math.max(Il(se),Il(ye)):n)}}return _}}var Uv=".",tv="___EC__COMPONENT__CONTAINER___",ph="___EC__EXTENDED_CLASS___";function up(a){var n={main:"",sub:""};if(a){var e=a.split(Uv);n.main=e[0]||"",n.sub=e[1]||""}return n}function Xv(a){H.b(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(a),'componentType "'+a+'" illegal')}function Fh(a){return!!(a&&a[ph])}function hp(a,n){a.$constructor=a,a.extend=function(e){var s=this,f;return kf(s)?f=function(p){Qe(h,p);function h(){return p.apply(this,arguments)||this}return h}(s):(f=function(){(e.$constructor||s).apply(this,arguments)},H.s(f,this)),H.m(f.prototype,e),f[ph]=!0,f.extend=this.extend,f.superCall=Pp,f.superApply=wv,f.superClass=s,f}}function kf(a){return H.w(a)&&/^class\s/.test(Function.prototype.toString.call(a))}function Df(a,n){a.extend=n.extend}var Bv=Math.round(Math.random()*10);function Sv(a){var n=["__\0is_clz",Bv++].join("_");a.prototype[n]=!0,a.isInstance=function(e){return!!(e&&e[n])}}function Pp(a,n){for(var e=[],s=2;s<arguments.length;s++)e[s-2]=arguments[s];return this.superClass.prototype[n].apply(a,e)}function wv(a,n,e){return this.superClass.prototype[n].apply(a,e)}function Qf(a){var n={};a.registerClass=function(s){var f=s.type||s.prototype.type;if(f){Xv(f),s.prototype.type=f;var p=up(f);if(!p.sub)n[p.main]=s;else if(p.sub!==tv){var h=e(p);h[p.sub]=s}}return s},a.getClass=function(s,f,p){var h=n[s];if(h&&h[tv]&&(h=f?h[f]:null),p&&!h)throw new Error(f?"Component "+s+"."+(f||"")+" is used but not imported.":s+".type should be specified.");return h},a.getClassesByMainType=function(s){var f=up(s),p=[],h=n[f.main];return h&&h[tv]?H.k(h,function(_,M){M!==tv&&p.push(_)}):p.push(h),p},a.hasClass=function(s){var f=up(s);return!!n[f.main]},a.getAllClassMainTypes=function(){var s=[];return H.k(n,function(f,p){s.push(p)}),s},a.hasSubTypes=function(s){var f=up(s),p=n[f.main];return p&&p[tv]};function e(s){var f=n[s.main];return(!f||!f[tv])&&(f=n[s.main]={},f[tv]=!0),f}}function lv(a,n){for(var e=0;e<a.length;e++)a[e][1]||(a[e][1]=a[e][0]);return n=n||!1,function(s,f,p){for(var h={},_=0;_<a.length;_++){var M=a[_][1];if(!(f&&H.r(f,M)>=0||p&&H.r(p,M)<0)){var L=s.getShallow(M,n);L!=null&&(h[a[_][0]]=L)}}return h}}var nv=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Hp=lv(nv),Tv=function(){function a(){}return a.prototype.getAreaStyle=function(n,e){return Hp(this,n,e)},a}(),Gp=new ws.a(50);function Ap(a){if(typeof a=="string"){var n=Gp.get(a);return n&&n.image}else return a}function hv(a,n,e,s,f){if(a)if(typeof a=="string"){if(n&&n.__zrImageSrc===a||!e)return n;var p=Gp.get(a),h={hostEl:e,cb:s,cbPayload:f};return p?(n=p.image,!bp(n)&&p.pending.push(h)):(n=Cs.d.loadImage(a,kp,kp),n.__zrImageSrc=a,Gp.put(a,n.__cachedImgObj={image:n,pending:[h]})),n}else return a;else return n}function kp(){var a=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var n=0;n<a.pending.length;n++){var e=a.pending[n],s=e.cb;s&&s(this,e.cbPayload),e.hostEl.dirty()}a.pending.length=0}function bp(a){return a&&a.width&&a.height}var jf=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function qf(a,n,e,s,f){if(!n)return"";var p=(a+"").split(`
`);f=Eh(n,e,s,f);for(var h=0,_=p.length;h<_;h++)p[h]=Av(p[h],f);return p.join(`
`)}function Eh(a,n,e,s){s=s||{};var f=Object(H.m)({},s);f.font=n,e=Object(H.P)(e,"..."),f.maxIterations=Object(H.P)(s.maxIterations,2);var p=f.minChar=Object(H.P)(s.minChar,0);f.cnCharWidth=_c("\u56FD",n);var h=f.ascCharWidth=_c("a",n);f.placeholder=Object(H.P)(s.placeholder,"");for(var _=a=Math.max(0,a-1),M=0;M<p&&_>=h;M++)_-=h;var L=_c(e,n);return L>_&&(e="",L=0),_=a-L,f.ellipsis=e,f.ellipsisWidth=L,f.contentWidth=_,f.containerWidth=a,f}function Av(a,n){var e=n.containerWidth,s=n.font,f=n.contentWidth;if(!e)return"";var p=_c(a,s);if(p<=e)return a;for(var h=0;;h++){if(p<=f||h>=n.maxIterations){a+=n.ellipsis;break}var _=h===0?Lg(a,f,n.ascCharWidth,n.cnCharWidth):p>0?Math.floor(a.length*f/p):0;a=a.substr(0,_),p=_c(a,s)}return a===""&&(a=n.placeholder),a}function Lg(a,n,e,s){for(var f=0,p=0,h=a.length;p<h&&f<n;p++){var _=a.charCodeAt(p);f+=0<=_&&_<=127?e:s}return p}function Fg(a,n){a!=null&&(a+="");var e=n.overflow,s=n.padding,f=n.font,p=e==="truncate",h=au(f),_=Object(H.P)(n.lineHeight,h),M=!!n.backgroundColor,L=n.lineOverflow==="truncate",z=n.width,Y;z!=null&&(e==="break"||e==="breakAll")?Y=a?Zv(a,n.font,z,e==="breakAll",0).lines:[]:Y=a?a.split(`
`):[];var q=Y.length*_,se=Object(H.P)(n.height,q);if(q>se&&L){var ye=Math.floor(se/_);Y=Y.slice(0,ye)}if(a&&p&&z!=null)for(var je=Eh(z,f,n.ellipsis,{minChar:n.truncateMinChar,placeholder:n.placeholder}),De=0;De<Y.length;De++)Y[De]=Av(Y[De],je);for(var We=se,st=0,De=0;De<Y.length;De++)st=Math.max(_c(Y[De],f),st);z==null&&(z=st);var dt=st;return s&&(We+=s[0]+s[2],dt+=s[1]+s[3],z+=s[1]+s[3]),M&&(dt=z),{lines:Y,height:se,outerWidth:dt,outerHeight:We,lineHeight:_,calculatedLineHeight:h,contentWidth:st,contentHeight:q,width:z}}var xh=function(){function a(){}return a}(),gv=function(){function a(n){this.tokens=[],n&&(this.tokens=n)}return a}(),vh=function(){function a(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return a}();function Uh(a,n){var e=new vh;if(a!=null&&(a+=""),!a)return e;for(var s=n.width,f=n.height,p=n.overflow,h=(p==="break"||p==="breakAll")&&s!=null?{width:s,accumWidth:0,breakAll:p==="breakAll"}:null,_=jf.lastIndex=0,M;(M=jf.exec(a))!=null;){var L=M.index;L>_&&Sh(e,a.substring(_,L),n,h),Sh(e,M[2],n,h,M[1]),_=jf.lastIndex}_<a.length&&Sh(e,a.substring(_,a.length),n,h);var z=[],Y=0,q=0,se=n.padding,ye=p==="truncate",je=n.lineOverflow==="truncate";function De(Lo,Rs,Ns){Lo.width=Rs,Lo.lineHeight=Ns,Y+=Ns,q=Math.max(q,Rs)}e:for(var We=0;We<e.lines.length;We++){for(var st=e.lines[We],dt=0,Mt=0,nn=0;nn<st.tokens.length;nn++){var rn=st.tokens[nn],Cn=rn.styleName&&n.rich[rn.styleName]||{},er=rn.textPadding=Cn.padding,ir=er?er[1]+er[3]:0,dr=rn.font=Cn.font||n.font;rn.contentHeight=au(dr);var pr=Object(H.P)(Cn.height,rn.contentHeight);if(rn.innerHeight=pr,er&&(pr+=er[0]+er[2]),rn.height=pr,rn.lineHeight=Object(H.Q)(Cn.lineHeight,n.lineHeight,pr),rn.align=Cn&&Cn.align||n.align,rn.verticalAlign=Cn&&Cn.verticalAlign||"middle",je&&f!=null&&Y+rn.lineHeight>f){nn>0?(st.tokens=st.tokens.slice(0,nn),De(st,Mt,dt),e.lines=e.lines.slice(0,We+1)):e.lines=e.lines.slice(0,We);break e}var ia=Cn.width,pa=ia==null||ia==="auto";if(typeof ia=="string"&&ia.charAt(ia.length-1)==="%")rn.percentWidth=ia,z.push(rn),rn.contentWidth=_c(rn.text,dr);else{if(pa){var Ga=Cn.backgroundColor,si=Ga&&Ga.image;si&&(si=Ap(si),bp(si)&&(rn.width=Math.max(rn.width,si.width*pr/si.height)))}var Bi=ye&&s!=null?s-Mt:null;Bi!=null&&Bi<rn.width?!pa||Bi<ir?(rn.text="",rn.width=rn.contentWidth=0):(rn.text=qf(rn.text,Bi-ir,dr,n.ellipsis,{minChar:n.truncateMinChar}),rn.width=rn.contentWidth=_c(rn.text,dr)):rn.contentWidth=_c(rn.text,dr)}rn.width+=ir,Mt+=rn.width,Cn&&(dt=Math.max(dt,rn.lineHeight))}De(st,Mt,dt)}e.outerWidth=e.width=Object(H.P)(s,q),e.outerHeight=e.height=Object(H.P)(f,Y),e.contentHeight=Y,e.contentWidth=q,se&&(e.outerWidth+=se[1]+se[3],e.outerHeight+=se[0]+se[2]);for(var We=0;We<z.length;We++){var rn=z[We],Go=rn.percentWidth;rn.width=parseInt(Go,10)/100*e.width}return e}function Sh(a,n,e,s,f){var p=n==="",h=f&&e.rich[f]||{},_=a.lines,M=h.font||e.font,L=!1,z,Y;if(s){var q=h.padding,se=q?q[1]+q[3]:0;if(h.width!=null&&h.width!=="auto"){var ye=Od(h.width,s.width)+se;_.length>0&&ye+s.accumWidth>s.width&&(z=n.split(`
`),L=!0),s.accumWidth=ye}else{var je=Zv(n,M,s.width,s.breakAll,s.accumWidth);s.accumWidth=je.accumWidth+se,Y=je.linesWidths,z=je.lines}}else z=n.split(`
`);for(var De=0;De<z.length;De++){var We=z[De],st=new xh;if(st.styleName=f,st.text=We,st.isLineHolder=!We&&!p,typeof h.width=="number"?st.width=h.width:st.width=Y?Y[De]:_c(We,M),!De&&!L){var dt=(_[_.length-1]||(_[0]=new gv)).tokens,Mt=dt.length;Mt===1&&dt[0].isLineHolder?dt[0]=st:(We||!Mt||p)&&dt.push(st)}else _.push(new gv([st]))}}function mv(a){var n=a.charCodeAt(0);return n>=32&&n<=591||n>=880&&n<=4351||n>=4608&&n<=5119||n>=7680&&n<=8303}var Jv=Object(H.N)(",&?/;] ".split(""),function(a,n){return a[n]=!0,a},{});function mg(a){return mv(a)?!!Jv[a]:!0}function Zv(a,n,e,s,f){for(var p=[],h=[],_="",M="",L=0,z=0,Y=0;Y<a.length;Y++){var q=a.charAt(Y);if(q===`
`){M&&(_+=M,z+=L),p.push(_),h.push(z),_="",M="",L=0,z=0;continue}var se=_c(q,n),ye=s?!1:!mg(q);if(p.length?z+se>e:f+z+se>e){z?(_||M)&&(ye?(_||(_=M,M="",L=0,z=L),p.push(_),h.push(z-L),M+=q,L+=se,_="",z=L):(M&&(_+=M,M="",L=0),p.push(_),h.push(z),_=q,z=se)):ye?(p.push(M),h.push(L),M=q,L=se):(p.push(q),h.push(se));continue}z+=se,ye?(M+=q,L+=se):(M&&(_+=M,M="",L=0),_+=q)}return!p.length&&!_&&(_=a,M="",L=0),M&&(_+=M),_&&(p.push(_),h.push(z)),p.length===1&&(z+=f),{accumWidth:z,lines:p,linesWidths:h}}var hh="__zr_style_"+Math.round(Math.random()*10),gh={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},kv={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};gh[hh]=!0;var $p=["z","z2","invisible"],od=["invisible"],_r=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype._init=function(e){for(var s=Object(H.F)(e),f=0;f<s.length;f++){var p=s[f];p==="style"?this.useStyle(e[p]):a.prototype.attrKV.call(this,p,e[p])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(e,s,f,p){var h=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&Ao(this,e,s)||h&&!h[0]&&!h[3])return!1;if(f&&this.__clipPaths){for(var _=0;_<this.__clipPaths.length;++_)if(this.__clipPaths[_].isZeroArea())return!1}if(p&&this.parent)for(var M=this.parent;M;){if(M.ignore)return!1;M=M.parent}return!0},n.prototype.contain=function(e,s){return this.rectContain(e,s)},n.prototype.traverse=function(e,s){e.call(s,this)},n.prototype.rectContain=function(e,s){var f=this.transformCoordToLocal(e,s),p=this.getBoundingRect();return p.contain(f[0],f[1])},n.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var s=this.transform,f=this.getBoundingRect(),p=this.style,h=p.shadowBlur||0,_=p.shadowOffsetX||0,M=p.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new fo(0,0,0,0)),s?fo.applyTransform(e,f,s):e.copy(f),(h||_||M)&&(e.width+=h*2+Math.abs(_),e.height+=h*2+Math.abs(M),e.x=Math.min(e.x,e.x+_-h),e.y=Math.min(e.y,e.y+M-h));var L=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-L),e.y=Math.floor(e.y-L),e.width=Math.ceil(e.width+1+L*2),e.height=Math.ceil(e.height+1+L*2))}return e},n.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new fo(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(e){return this.animate("style",e)},n.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,s){e!=="style"?a.prototype.attrKV.call(this,e,s):this.style?this.setStyle(s):this.useStyle(s)},n.prototype.setStyle=function(e,s){return typeof e=="string"?this.style[e]=s:Object(H.m)(this.style,e),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=dl,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&dl)},n.prototype.styleUpdated=function(){this.__dirty&=~dl},n.prototype.createStyle=function(e){return Object(H.g)(gh,e)},n.prototype.useStyle=function(e){e[hh]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},n.prototype.isStyleObject=function(e){return e[hh]},n.prototype._innerSaveToNormal=function(e){a.prototype._innerSaveToNormal.call(this,e);var s=this._normalState;e.style&&!s.style&&(s.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,s,$p)},n.prototype._applyStateObj=function(e,s,f,p,h,_){a.prototype._applyStateObj.call(this,e,s,f,p,h,_);var M=!(s&&p),L;if(s&&s.style?h?p?L=s.style:(L=this._mergeStyle(this.createStyle(),f.style),this._mergeStyle(L,s.style)):(L=this._mergeStyle(this.createStyle(),p?this.style:f.style),this._mergeStyle(L,s.style)):M&&(L=f.style),L)if(h){var z=this.style;if(this.style=this.createStyle(M?{}:z),M)for(var Y=Object(H.F)(z),q=0;q<Y.length;q++){var se=Y[q];se in L&&(L[se]=L[se],this.style[se]=z[se])}for(var ye=Object(H.F)(L),q=0;q<ye.length;q++){var se=ye[q];this.style[se]=this.style[se]}this._transitionState(e,{style:L},_,this.getAnimationStyleProps())}else this.useStyle(L);for(var je=this.__inHover?od:$p,q=0;q<je.length;q++){var se=je[q];s&&s[se]!=null?this[se]=s[se]:M&&f[se]!=null&&(this[se]=f[se])}},n.prototype._mergeStates=function(e){for(var s=a.prototype._mergeStates.call(this,e),f,p=0;p<e.length;p++){var h=e[p];h.style&&(f=f||{},this._mergeStyle(f,h.style))}return f&&(s.style=f),s},n.prototype._mergeStyle=function(e,s){return Object(H.m)(e,s),e},n.prototype.getAnimationStyleProps=function(){return kv},n.initDefaultProps=function(){var e=n.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=rl|dl}(),n}(ad),Br=new fo(0,0,0,0),ei=new fo(0,0,0,0);function Ao(a,n,e){return Br.copy(a.getBoundingRect()),a.transform&&Br.applyTransform(a.transform),ei.width=n,ei.height=e,!Br.intersect(ei)}var so=_r,So=Math.min,To=Math.max,Fs=Math.sin,rc=Math.cos,Ys=Math.PI*2,qs=Qi(),Qs=Qi(),Hc=Qi();function Oc(a,n,e){if(a.length!==0){for(var s=a[0],f=s[0],p=s[0],h=s[1],_=s[1],M=1;M<a.length;M++)s=a[M],f=So(f,s[0]),p=To(p,s[0]),h=So(h,s[1]),_=To(_,s[1]);n[0]=f,n[1]=h,e[0]=p,e[1]=_}}function lc(a,n,e,s,f,p){f[0]=So(a,e),f[1]=So(n,s),p[0]=To(a,e),p[1]=To(n,s)}var Ii=[],No=[];function vc(a,n,e,s,f,p,h,_,M,L){var z=Nc,Y=Ts,q=z(a,e,f,h,Ii);M[0]=Infinity,M[1]=Infinity,L[0]=-Infinity,L[1]=-Infinity;for(var se=0;se<q;se++){var ye=Y(a,e,f,h,Ii[se]);M[0]=So(ye,M[0]),L[0]=To(ye,L[0])}q=z(n,s,p,_,No);for(var se=0;se<q;se++){var je=Y(n,s,p,_,No[se]);M[1]=So(je,M[1]),L[1]=To(je,L[1])}M[0]=So(a,M[0]),L[0]=To(a,L[0]),M[0]=So(h,M[0]),L[0]=To(h,L[0]),M[1]=So(n,M[1]),L[1]=To(n,L[1]),M[1]=So(_,M[1]),L[1]=To(_,L[1])}function kt(a,n,e,s,f,p,h,_){var M=ru,L=Dl,z=To(So(M(a,e,f),1),0),Y=To(So(M(n,s,p),1),0),q=L(a,e,f,z),se=L(n,s,p,Y);h[0]=So(a,f,q),h[1]=So(n,p,se),_[0]=To(a,f,q),_[1]=To(n,p,se)}function Pe(a,n,e,s,f,p,h,_,M){var L=xo,z=cs,Y=Math.abs(f-p);if(Y%Ys<1e-4&&Y>1e-4){_[0]=a-e,_[1]=n-s,M[0]=a+e,M[1]=n+s;return}if(qs[0]=rc(f)*e+a,qs[1]=Fs(f)*s+n,Qs[0]=rc(p)*e+a,Qs[1]=Fs(p)*s+n,L(_,qs,Qs),z(M,qs,Qs),f=f%Ys,f<0&&(f=f+Ys),p=p%Ys,p<0&&(p=p+Ys),f>p&&!h?p+=Ys:f<p&&h&&(f+=Ys),h){var q=p;p=f,f=q}for(var se=0;se<p;se+=Math.PI/2)se>f&&(Hc[0]=rc(se)*e+a,Hc[1]=Fs(se)*s+n,L(_,Hc,_),z(M,Hc,M))}var pt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},It=[],sn=[],fn=[],An=[],ur=[],Pr=[],hr=Math.min,ha=Math.max,ya=Math.cos,Za=Math.sin,to=Math.abs,Xi=Math.PI,ss=Xi*2,ts=typeof Float32Array!="undefined",Os=[];function ac(a){var n=Math.round(a/Xi*1e8)/1e8;return n%2*Xi}function Ll(a,n){var e=ac(a[0]);e<0&&(e+=ss);var s=e-a[0],f=a[1];f+=s,!n&&f-e>=ss?f=e+ss:n&&e-f>=ss?f=e-ss:!n&&e>f?f=e+(ss-ac(e-f)):n&&e<f&&(f=e-(ss-ac(f-e))),a[0]=e,a[1]=f}var nu=function(){function a(n){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,n&&(this._saveData=!1),this._saveData&&(this.data=[])}return a.prototype.increaseVersion=function(){this._version++},a.prototype.getVersion=function(){return this._version},a.prototype.setScale=function(n,e,s){s=s||0,s>0&&(this._ux=to(s/cc/n)||0,this._uy=to(s/cc/e)||0)},a.prototype.setDPR=function(n){this.dpr=n},a.prototype.setContext=function(n){this._ctx=n},a.prototype.getContext=function(){return this._ctx},a.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},a.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},a.prototype.moveTo=function(n,e){return this._drawPendingPt(),this.addData(pt.M,n,e),this._ctx&&this._ctx.moveTo(n,e),this._x0=n,this._y0=e,this._xi=n,this._yi=e,this},a.prototype.lineTo=function(n,e){var s=to(n-this._xi),f=to(e-this._yi),p=s>this._ux||f>this._uy;if(this.addData(pt.L,n,e),this._ctx&&p&&this._ctx.lineTo(n,e),p)this._xi=n,this._yi=e,this._pendingPtDist=0;else{var h=s*s+f*f;h>this._pendingPtDist&&(this._pendingPtX=n,this._pendingPtY=e,this._pendingPtDist=h)}return this},a.prototype.bezierCurveTo=function(n,e,s,f,p,h){return this._drawPendingPt(),this.addData(pt.C,n,e,s,f,p,h),this._ctx&&this._ctx.bezierCurveTo(n,e,s,f,p,h),this._xi=p,this._yi=h,this},a.prototype.quadraticCurveTo=function(n,e,s,f){return this._drawPendingPt(),this.addData(pt.Q,n,e,s,f),this._ctx&&this._ctx.quadraticCurveTo(n,e,s,f),this._xi=s,this._yi=f,this},a.prototype.arc=function(n,e,s,f,p,h){this._drawPendingPt(),Os[0]=f,Os[1]=p,Ll(Os,h),f=Os[0],p=Os[1];var _=p-f;return this.addData(pt.A,n,e,s,s,f,_,0,h?0:1),this._ctx&&this._ctx.arc(n,e,s,f,p,h),this._xi=ya(p)*s+n,this._yi=Za(p)*s+e,this},a.prototype.arcTo=function(n,e,s,f,p){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(n,e,s,f,p),this},a.prototype.rect=function(n,e,s,f){return this._drawPendingPt(),this._ctx&&this._ctx.rect(n,e,s,f),this.addData(pt.R,n,e,s,f),this},a.prototype.closePath=function(){this._drawPendingPt(),this.addData(pt.Z);var n=this._ctx,e=this._x0,s=this._y0;return n&&n.closePath(),this._xi=e,this._yi=s,this},a.prototype.fill=function(n){n&&n.fill(),this.toStatic()},a.prototype.stroke=function(n){n&&n.stroke(),this.toStatic()},a.prototype.len=function(){return this._len},a.prototype.setData=function(n){var e=n.length;!(this.data&&this.data.length===e)&&ts&&(this.data=new Float32Array(e));for(var s=0;s<e;s++)this.data[s]=n[s];this._len=e},a.prototype.appendPath=function(n){n instanceof Array||(n=[n]);for(var e=n.length,s=0,f=this._len,p=0;p<e;p++)s+=n[p].len();ts&&this.data instanceof Float32Array&&(this.data=new Float32Array(f+s));for(var p=0;p<e;p++)for(var h=n[p].data,_=0;_<h.length;_++)this.data[f++]=h[_];this._len=f},a.prototype.addData=function(n,e,s,f,p,h,_,M,L){if(!!this._saveData){var z=this.data;this._len+arguments.length>z.length&&(this._expandData(),z=this.data);for(var Y=0;Y<arguments.length;Y++)z[this._len++]=arguments[Y]}},a.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},a.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var n=[],e=0;e<this._len;e++)n[e]=this.data[e];this.data=n}},a.prototype.toStatic=function(){if(!!this._saveData){this._drawPendingPt();var n=this.data;n instanceof Array&&(n.length=this._len,ts&&this._len>11&&(this.data=new Float32Array(n)))}},a.prototype.getBoundingRect=function(){fn[0]=fn[1]=ur[0]=ur[1]=Number.MAX_VALUE,An[0]=An[1]=Pr[0]=Pr[1]=-Number.MAX_VALUE;var n=this.data,e=0,s=0,f=0,p=0,h;for(h=0;h<this._len;){var _=n[h++],M=h===1;switch(M&&(e=n[h],s=n[h+1],f=e,p=s),_){case pt.M:e=f=n[h++],s=p=n[h++],ur[0]=f,ur[1]=p,Pr[0]=f,Pr[1]=p;break;case pt.L:lc(e,s,n[h],n[h+1],ur,Pr),e=n[h++],s=n[h++];break;case pt.C:vc(e,s,n[h++],n[h++],n[h++],n[h++],n[h],n[h+1],ur,Pr),e=n[h++],s=n[h++];break;case pt.Q:kt(e,s,n[h++],n[h++],n[h],n[h+1],ur,Pr),e=n[h++],s=n[h++];break;case pt.A:var L=n[h++],z=n[h++],Y=n[h++],q=n[h++],se=n[h++],ye=n[h++]+se;h+=1;var je=!n[h++];M&&(f=ya(se)*Y+L,p=Za(se)*q+z),Pe(L,z,Y,q,se,ye,je,ur,Pr),e=ya(ye)*Y+L,s=Za(ye)*q+z;break;case pt.R:f=e=n[h++],p=s=n[h++];var De=n[h++],We=n[h++];lc(f,p,f+De,p+We,ur,Pr);break;case pt.Z:e=f,s=p;break}xo(fn,fn,ur),cs(An,An,Pr)}return h===0&&(fn[0]=fn[1]=An[0]=An[1]=0),new fo(fn[0],fn[1],An[0]-fn[0],An[1]-fn[1])},a.prototype._calculateLength=function(){var n=this.data,e=this._len,s=this._ux,f=this._uy,p=0,h=0,_=0,M=0;this._pathSegLen||(this._pathSegLen=[]);for(var L=this._pathSegLen,z=0,Y=0,q=0;q<e;){var se=n[q++],ye=q===1;ye&&(p=n[q],h=n[q+1],_=p,M=h);var je=-1;switch(se){case pt.M:p=_=n[q++],h=M=n[q++];break;case pt.L:{var De=n[q++],We=n[q++],st=De-p,dt=We-h;(to(st)>s||to(dt)>f||q===e-1)&&(je=Math.sqrt(st*st+dt*dt),p=De,h=We);break}case pt.C:{var Mt=n[q++],nn=n[q++],De=n[q++],We=n[q++],rn=n[q++],Cn=n[q++];je=Ro(p,h,Mt,nn,De,We,rn,Cn,10),p=rn,h=Cn;break}case pt.Q:{var Mt=n[q++],nn=n[q++],De=n[q++],We=n[q++];je=Ru(p,h,Mt,nn,De,We,10),p=De,h=We;break}case pt.A:var er=n[q++],ir=n[q++],dr=n[q++],pr=n[q++],ia=n[q++],pa=n[q++],Ga=pa+ia;q+=1;var si=!n[q++];ye&&(_=ya(ia)*dr+er,M=Za(ia)*pr+ir),je=ha(dr,pr)*hr(ss,Math.abs(pa)),p=ya(Ga)*dr+er,h=Za(Ga)*pr+ir;break;case pt.R:{_=p=n[q++],M=h=n[q++];var Bi=n[q++],Go=n[q++];je=Bi*2+Go*2;break}case pt.Z:{var st=_-p,dt=M-h;je=Math.sqrt(st*st+dt*dt),p=_,h=M;break}}je>=0&&(L[Y++]=je,z+=je)}return this._pathLen=z,z},a.prototype.rebuildPath=function(n,e){var s=this.data,f=this._ux,p=this._uy,h=this._len,_,M,L,z,Y,q,se=e<1,ye,je,De=0,We=0,st,dt=0,Mt,nn;if(se&&(this._pathSegLen||this._calculateLength(),ye=this._pathSegLen,je=this._pathLen,st=e*je,!st))return;e:for(var rn=0;rn<h;){var Cn=s[rn++],er=rn===1;switch(er&&(L=s[rn],z=s[rn+1],_=L,M=z),Cn!==pt.L&&dt>0&&(n.lineTo(Mt,nn),dt=0),Cn){case pt.M:_=L=s[rn++],M=z=s[rn++],n.moveTo(L,z);break;case pt.L:{Y=s[rn++],q=s[rn++];var ir=to(Y-L),dr=to(q-z);if(ir>f||dr>p){if(se){var pr=ye[We++];if(De+pr>st){var ia=(st-De)/pr;n.lineTo(L*(1-ia)+Y*ia,z*(1-ia)+q*ia);break e}De+=pr}n.lineTo(Y,q),L=Y,z=q,dt=0}else{var pa=ir*ir+dr*dr;pa>dt&&(Mt=Y,nn=q,dt=pa)}break}case pt.C:{var Ga=s[rn++],si=s[rn++],Bi=s[rn++],Go=s[rn++],Lo=s[rn++],Rs=s[rn++];if(se){var pr=ye[We++];if(De+pr>st){var ia=(st-De)/pr;Jc(L,Ga,Bi,Lo,ia,It),Jc(z,si,Go,Rs,ia,sn),n.bezierCurveTo(It[1],sn[1],It[2],sn[2],It[3],sn[3]);break e}De+=pr}n.bezierCurveTo(Ga,si,Bi,Go,Lo,Rs),L=Lo,z=Rs;break}case pt.Q:{var Ga=s[rn++],si=s[rn++],Bi=s[rn++],Go=s[rn++];if(se){var pr=ye[We++];if(De+pr>st){var ia=(st-De)/pr;pd(L,Ga,Bi,ia,It),pd(z,si,Go,ia,sn),n.quadraticCurveTo(It[1],sn[1],It[2],sn[2]);break e}De+=pr}n.quadraticCurveTo(Ga,si,Bi,Go),L=Bi,z=Go;break}case pt.A:var Ns=s[rn++],Ds=s[rn++],yc=s[rn++],Zc=s[rn++],$c=s[rn++],Nu=s[rn++],yd=s[rn++],Ku=!s[rn++],vl=yc>Zc?yc:Zc,Vc=to(yc-Zc)>.001,$l=$c+Nu,el=!1;if(se){var pr=ye[We++];De+pr>st&&($l=$c+Nu*(st-De)/pr,el=!0),De+=pr}if(Vc&&n.ellipse?n.ellipse(Ns,Ds,yc,Zc,yd,$c,$l,Ku):n.arc(Ns,Ds,vl,$c,$l,Ku),el)break e;er&&(_=ya($c)*yc+Ns,M=Za($c)*Zc+Ds),L=ya($l)*yc+Ns,z=Za($l)*Zc+Ds;break;case pt.R:_=L=s[rn],M=z=s[rn+1],Y=s[rn++],q=s[rn++];var _u=s[rn++],Rf=s[rn++];if(se){var pr=ye[We++];if(De+pr>st){var Id=st-De;n.moveTo(Y,q),n.lineTo(Y+hr(Id,_u),q),Id-=_u,Id>0&&n.lineTo(Y+_u,q+hr(Id,Rf)),Id-=Rf,Id>0&&n.lineTo(Y+ha(_u-Id,0),q+Rf),Id-=_u,Id>0&&n.lineTo(Y,q+ha(Rf-Id,0));break e}De+=pr}n.rect(Y,q,_u,Rf);break;case pt.Z:if(se){var pr=ye[We++];if(De+pr>st){var ia=(st-De)/pr;n.lineTo(L*(1-ia)+_*ia,z*(1-ia)+M*ia);break e}De+=pr}n.closePath(),L=_,z=M}}},a.prototype.clone=function(){var n=new a,e=this.data;return n.data=e.slice?e.slice():Array.prototype.slice.call(e),n._len=this._len,n},a.CMD=pt,a.initDefaultProps=function(){var n=a.prototype;n._saveData=!0,n._ux=0,n._uy=0,n._pendingPtDist=0,n._version=0}(),a}(),tl=nu;function iu(a,n,e,s,f,p,h){if(f===0)return!1;var _=f,M=0,L=a;if(h>n+_&&h>s+_||h<n-_&&h<s-_||p>a+_&&p>e+_||p<a-_&&p<e-_)return!1;if(a!==e)M=(n-s)/(a-e),L=(a*s-e*n)/(a-e);else return Math.abs(p-a)<=_/2;var z=M*p-h+L,Y=z*z/(M*M+1);return Y<=_/2*_/2}function sd(a,n,e,s,f,p,h,_,M,L,z){if(M===0)return!1;var Y=M;if(z>n+Y&&z>s+Y&&z>p+Y&&z>_+Y||z<n-Y&&z<s-Y&&z<p-Y&&z<_-Y||L>a+Y&&L>e+Y&&L>f+Y&&L>h+Y||L<a-Y&&L<e-Y&&L<f-Y&&L<h-Y)return!1;var q=Fc(a,n,e,s,f,p,h,_,L,z,null);return q<=Y/2}function md(a,n,e,s,f,p,h,_,M){if(h===0)return!1;var L=h;if(M>n+L&&M>s+L&&M>p+L||M<n-L&&M<s-L&&M<p-L||_>a+L&&_>e+L&&_>f+L||_<a-L&&_<e-L&&_<f-L)return!1;var z=ql(a,n,e,s,f,p,_,M,null);return z<=L/2}var dd=Math.PI*2;function Xl(a){return a%=dd,a<0&&(a+=dd),a}var vd=Math.PI*2;function ff(a,n,e,s,f,p,h,_,M){if(h===0)return!1;var L=h;_-=a,M-=n;var z=Math.sqrt(_*_+M*M);if(z-L>e||z+L<e)return!1;if(Math.abs(s-f)%vd<1e-4)return!0;if(p){var Y=s;s=Xl(f),f=Xl(Y)}else s=Xl(s),f=Xl(f);s>f&&(f+=vd);var q=Math.atan2(M,_);return q<0&&(q+=vd),q>=s&&q<=f||q+vd>=s&&q+vd<=f}function Zd(a,n,e,s,f,p){if(p>n&&p>s||p<n&&p<s||s===n)return 0;var h=(p-n)/(s-n),_=s<n?1:-1;(h===1||h===0)&&(_=s<n?.5:-.5);var M=h*(e-a)+a;return M===f?Infinity:M>f?_:0}var Zl=tl.CMD,wf=Math.PI*2,Wd=1e-4;function Al(a,n){return Math.abs(a-n)<Wd}var Jl=[-1,-1,-1],mu=[-1,-1];function gp(){var a=mu[0];mu[0]=mu[1],mu[1]=a}function jv(a,n,e,s,f,p,h,_,M,L){if(L>n&&L>s&&L>p&&L>_||L<n&&L<s&&L<p&&L<_)return 0;var z=Gs(n,s,p,_,L,Jl);if(z===0)return 0;for(var Y=0,q=-1,se=void 0,ye=void 0,je=0;je<z;je++){var De=Jl[je],We=De===0||De===1?.5:1,st=Ts(a,e,f,h,De);st<M||(q<0&&(q=Nc(n,s,p,_,mu),mu[1]<mu[0]&&q>1&&gp(),se=Ts(n,s,p,_,mu[0]),q>1&&(ye=Ts(n,s,p,_,mu[1]))),q===2?De<mu[0]?Y+=se<n?We:-We:De<mu[1]?Y+=ye<se?We:-We:Y+=_<ye?We:-We:De<mu[0]?Y+=se<n?We:-We:Y+=_<se?We:-We)}return Y}function Vv(a,n,e,s,f,p,h,_){if(_>n&&_>s&&_>p||_<n&&_<s&&_<p)return 0;var M=hu(n,s,p,_,Jl);if(M===0)return 0;var L=ru(n,s,p);if(L>=0&&L<=1){for(var z=0,Y=Dl(n,s,p,L),q=0;q<M;q++){var se=Jl[q]===0||Jl[q]===1?.5:1,ye=Dl(a,e,f,Jl[q]);ye<h||(Jl[q]<L?z+=Y<n?se:-se:z+=p<Y?se:-se)}return z}else{var se=Jl[0]===0||Jl[0]===1?.5:1,ye=Dl(a,e,f,Jl[0]);return ye<h?0:p<n?se:-se}}function oi(a,n,e,s,f,p,h,_){if(_-=n,_>e||_<-e)return 0;var M=Math.sqrt(e*e-_*_);Jl[0]=-M,Jl[1]=M;var L=Math.abs(s-f);if(L<1e-4)return 0;if(L>=wf-1e-4){s=0,f=wf;var z=p?1:-1;return h>=Jl[0]+a&&h<=Jl[1]+a?z:0}if(s>f){var Y=s;s=f,f=Y}s<0&&(s+=wf,f+=wf);for(var q=0,se=0;se<2;se++){var ye=Jl[se];if(ye+a>h){var je=Math.atan2(_,ye),z=p?1:-1;je<0&&(je=wf+je),(je>=s&&je<=f||je+wf>=s&&je+wf<=f)&&(je>Math.PI/2&&je<Math.PI*1.5&&(z=-z),q+=z)}}return q}function rs(a,n,e,s,f){for(var p=a.data,h=a.len(),_=0,M=0,L=0,z=0,Y=0,q,se,ye=0;ye<h;){var je=p[ye++],De=ye===1;switch(je===Zl.M&&ye>1&&(e||(_+=Zd(M,L,z,Y,s,f))),De&&(M=p[ye],L=p[ye+1],z=M,Y=L),je){case Zl.M:z=p[ye++],Y=p[ye++],M=z,L=Y;break;case Zl.L:if(e){if(iu(M,L,p[ye],p[ye+1],n,s,f))return!0}else _+=Zd(M,L,p[ye],p[ye+1],s,f)||0;M=p[ye++],L=p[ye++];break;case Zl.C:if(e){if(sd(M,L,p[ye++],p[ye++],p[ye++],p[ye++],p[ye],p[ye+1],n,s,f))return!0}else _+=jv(M,L,p[ye++],p[ye++],p[ye++],p[ye++],p[ye],p[ye+1],s,f)||0;M=p[ye++],L=p[ye++];break;case Zl.Q:if(e){if(md(M,L,p[ye++],p[ye++],p[ye],p[ye+1],n,s,f))return!0}else _+=Vv(M,L,p[ye++],p[ye++],p[ye],p[ye+1],s,f)||0;M=p[ye++],L=p[ye++];break;case Zl.A:var We=p[ye++],st=p[ye++],dt=p[ye++],Mt=p[ye++],nn=p[ye++],rn=p[ye++];ye+=1;var Cn=!!(1-p[ye++]);q=Math.cos(nn)*dt+We,se=Math.sin(nn)*Mt+st,De?(z=q,Y=se):_+=Zd(M,L,q,se,s,f);var er=(s-We)*Mt/dt+We;if(e){if(ff(We,st,Mt,nn,nn+rn,Cn,n,er,f))return!0}else _+=oi(We,st,Mt,nn,nn+rn,Cn,er,f);M=Math.cos(nn+rn)*dt+We,L=Math.sin(nn+rn)*Mt+st;break;case Zl.R:z=M=p[ye++],Y=L=p[ye++];var ir=p[ye++],dr=p[ye++];if(q=z+ir,se=Y+dr,e){if(iu(z,Y,q,Y,n,s,f)||iu(q,Y,q,se,n,s,f)||iu(q,se,z,se,n,s,f)||iu(z,se,z,Y,n,s,f))return!0}else _+=Zd(q,Y,q,se,s,f),_+=Zd(z,se,z,Y,s,f);break;case Zl.Z:if(e){if(iu(M,L,z,Y,n,s,f))return!0}else _+=Zd(M,L,z,Y,s,f);M=z,L=Y;break}}return!e&&!Al(L,Y)&&(_+=Zd(M,L,z,Y,s,f)||0),_!==0}function Vo(a,n,e){return rs(a,0,!1,n,e)}function ul(a,n,e,s){return rs(a,n,!0,e,s)}var xu=Object(H.i)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},gh),Ka={style:Object(H.i)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},kv.style)},wa=ji.concat(["invisible","culling","z","z2","zlevel","parent"]),Ai=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.update=function(){var e=this;a.prototype.update.call(this);var s=this.style;if(s.decal){var f=this._decalEl=this._decalEl||new n;f.buildPath===n.prototype.buildPath&&(f.buildPath=function(M){e.buildPath(M,e.shape)}),f.silent=!0;var p=f.style;for(var h in s)p[h]!==s[h]&&(p[h]=s[h]);p.fill=s.fill?s.decal:null,p.decal=null,p.shadowColor=null,s.strokeFirst&&(p.stroke=null);for(var _=0;_<wa.length;++_)f[wa[_]]=this[wa[_]];f.__dirty|=rl}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var s=Object(H.F)(e);this.shape=this.getDefaultShape();var f=this.getDefaultStyle();f&&this.useStyle(f);for(var p=0;p<s.length;p++){var h=s[p],_=e[h];h==="style"?this.style?Object(H.m)(this.style,_):this.useStyle(_):h==="shape"?Object(H.m)(this.shape,_):a.prototype.attrKV.call(this,h,_)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var e=this.style.fill;if(e!=="none"){if(Object(H.C)(e)){var s=Object(ml.d)(e,0);return s>.5?Bc:s>.2?Fl:Gl}else if(e)return Gl}return Bc},n.prototype.getInsideTextStroke=function(e){var s=this.style.fill;if(Object(H.C)(s)){var f=this.__zr,p=!!(f&&f.isDarkMode()),h=Object(ml.d)(e,0)<fl;if(p===h)return s}},n.prototype.buildPath=function(e,s,f){},n.prototype.pathUpdated=function(){this.__dirty&=~qt},n.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},n.prototype.createPathProxy=function(){this.path=new tl(!1)},n.prototype.hasStroke=function(){var e=this.style,s=e.stroke;return!(s==null||s==="none"||!(e.lineWidth>0))},n.prototype.hasFill=function(){var e=this.style,s=e.fill;return s!=null&&s!=="none"},n.prototype.getBoundingRect=function(){var e=this._rect,s=this.style,f=!e;if(f){var p=!1;this.path||(p=!0,this.createPathProxy());var h=this.path;(p||this.__dirty&qt)&&(h.beginPath(),this.buildPath(h,this.shape,!1),this.pathUpdated()),e=h.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var _=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||f){_.copy(e);var M=s.strokeNoScale?this.getLineScale():1,L=s.lineWidth;if(!this.hasFill()){var z=this.strokeContainThreshold;L=Math.max(L,z==null?4:z)}M>1e-10&&(_.width+=L/M,_.height+=L/M,_.x-=L/M/2,_.y-=L/M/2)}return _}return e},n.prototype.contain=function(e,s){var f=this.transformCoordToLocal(e,s),p=this.getBoundingRect(),h=this.style;if(e=f[0],s=f[1],p.contain(e,s)){var _=this.path;if(this.hasStroke()){var M=h.lineWidth,L=h.strokeNoScale?this.getLineScale():1;if(L>1e-10&&(this.hasFill()||(M=Math.max(M,this.strokeContainThreshold)),ul(_,M/L,e,s)))return!0}if(this.hasFill())return Vo(_,e,s)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=qt,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(e){return this.animate("shape",e)},n.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,s){e==="shape"?this.setShape(s):a.prototype.attrKV.call(this,e,s)},n.prototype.setShape=function(e,s){var f=this.shape;return f||(f=this.shape={}),typeof e=="string"?f[e]=s:Object(H.m)(f,e),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&qt)},n.prototype.createStyle=function(e){return Object(H.g)(xu,e)},n.prototype._innerSaveToNormal=function(e){a.prototype._innerSaveToNormal.call(this,e);var s=this._normalState;e.shape&&!s.shape&&(s.shape=Object(H.m)({},this.shape))},n.prototype._applyStateObj=function(e,s,f,p,h,_){a.prototype._applyStateObj.call(this,e,s,f,p,h,_);var M=!(s&&p),L;if(s&&s.shape?h?p?L=s.shape:(L=Object(H.m)({},f.shape),Object(H.m)(L,s.shape)):(L=Object(H.m)({},p?this.shape:f.shape),Object(H.m)(L,s.shape)):M&&(L=f.shape),L)if(h){this.shape=Object(H.m)({},this.shape);for(var z={},Y=Object(H.F)(L),q=0;q<Y.length;q++){var se=Y[q];typeof L[se]=="object"?this.shape[se]=L[se]:z[se]=L[se]}this._transitionState(e,{shape:z},_)}else this.shape=L,this.dirtyShape()},n.prototype._mergeStates=function(e){for(var s=a.prototype._mergeStates.call(this,e),f,p=0;p<e.length;p++){var h=e[p];h.shape&&(f=f||{},this._mergeStyle(f,h.shape))}return f&&(s.shape=f),s},n.prototype.getAnimationStyleProps=function(){return Ka},n.prototype.isZeroArea=function(){return!1},n.extend=function(e){var s=function(p){nt(h,p);function h(_){var M=p.call(this,_)||this;return e.init&&e.init.call(M,_),M}return h.prototype.getDefaultStyle=function(){return Object(H.d)(e.style)},h.prototype.getDefaultShape=function(){return Object(H.d)(e.shape)},h}(n);for(var f in e)typeof e[f]=="function"&&(s.prototype[f]=e[f]);return s},n.initDefaultProps=function(){var e=n.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=rl|dl|qt}(),n}(so),Ti=Ai,bo=Object(H.i)({strokeFirst:!0,font:Cs.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},xu),Hi=function(a){nt(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.hasStroke=function(){var e=this.style,s=e.stroke;return s!=null&&s!=="none"&&e.lineWidth>0},n.prototype.hasFill=function(){var e=this.style,s=e.fill;return s!=null&&s!=="none"},n.prototype.createStyle=function(e){return Object(H.g)(bo,e)},n.prototype.setBoundingRect=function(e){this._rect=e},n.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var s=e.text;s!=null?s+="":s="";var f=Rl(s,e.font,e.textAlign,e.textBaseline);if(f.x+=e.x||0,f.y+=e.y||0,this.hasStroke()){var p=e.lineWidth;f.x-=p/2,f.y-=p/2,f.width+=p,f.height+=p}this._rect=f}return this._rect},n.initDefaultProps=function(){var e=n.prototype;e.dirtyRectTolerance=10}(),n}(so);Hi.prototype.type="tspan";var ki=Hi,oo=Object(H.i)({x:0,y:0},gh),Wa={style:Object(H.i)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},kv.style)};function bi(a){return!!(a&&typeof a!="string"&&a.width&&a.height)}var Ba=function(a){nt(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.createStyle=function(e){return Object(H.g)(oo,e)},n.prototype._getSize=function(e){var s=this.style,f=s[e];if(f!=null)return f;var p=bi(s.image)?s.image:this.__image;if(!p)return 0;var h=e==="width"?"height":"width",_=s[h];return _==null?p[e]:p[e]/p[h]*_},n.prototype.getWidth=function(){return this._getSize("width")},n.prototype.getHeight=function(){return this._getSize("height")},n.prototype.getAnimationStyleProps=function(){return Wa},n.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new fo(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},n}(so);Ba.prototype.type="image";var Gi=Ba;function Do(a,n){var e=n.x,s=n.y,f=n.width,p=n.height,h=n.r,_,M,L,z;f<0&&(e=e+f,f=-f),p<0&&(s=s+p,p=-p),typeof h=="number"?_=M=L=z=h:h instanceof Array?h.length===1?_=M=L=z=h[0]:h.length===2?(_=L=h[0],M=z=h[1]):h.length===3?(_=h[0],M=z=h[1],L=h[2]):(_=h[0],M=h[1],L=h[2],z=h[3]):_=M=L=z=0;var Y;_+M>f&&(Y=_+M,_*=f/Y,M*=f/Y),L+z>f&&(Y=L+z,L*=f/Y,z*=f/Y),M+L>p&&(Y=M+L,M*=p/Y,L*=p/Y),_+z>p&&(Y=_+z,_*=p/Y,z*=p/Y),a.moveTo(e+_,s),a.lineTo(e+f-M,s),M!==0&&a.arc(e+f-M,s+M,M,-Math.PI/2,0),a.lineTo(e+f,s+p-L),L!==0&&a.arc(e+f-L,s+p-L,L,0,Math.PI/2),a.lineTo(e+z,s+p),z!==0&&a.arc(e+z,s+p-z,z,Math.PI/2,Math.PI),a.lineTo(e,s+_),_!==0&&a.arc(e+_,s+_,_,Math.PI,Math.PI*1.5)}var Ps=Math.round;function zs(a,n,e){if(!!n){var s=n.x1,f=n.x2,p=n.y1,h=n.y2;a.x1=s,a.x2=f,a.y1=p,a.y2=h;var _=e&&e.lineWidth;return _&&(Ps(s*2)===Ps(f*2)&&(a.x1=a.x2=uc(s,_,!0)),Ps(p*2)===Ps(h*2)&&(a.y1=a.y2=uc(p,_,!0))),a}}function vs(a,n,e){if(!!n){var s=n.x,f=n.y,p=n.width,h=n.height;a.x=s,a.y=f,a.width=p,a.height=h;var _=e&&e.lineWidth;return _&&(a.x=uc(s,_,!0),a.y=uc(f,_,!0),a.width=Math.max(uc(s+p,_,!1)-a.x,p===0?0:1),a.height=Math.max(uc(f+h,_,!1)-a.y,h===0?0:1)),a}}function uc(a,n,e){if(!n)return a;var s=Ps(a*2);return(s+Ps(n))%2==0?s/2:(s+(e?1:-1))/2}var Kl=function(){function a(){this.x=0,this.y=0,this.width=0,this.height=0}return a}(),fd={},kl=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new Kl},n.prototype.buildPath=function(e,s){var f,p,h,_;if(this.subPixelOptimize){var M=vs(fd,s,this.style);f=M.x,p=M.y,h=M.width,_=M.height,M.r=s.r,s=M}else f=s.x,p=s.y,h=s.width,_=s.height;s.r?Do(e,s):e.rect(f,p,h,_)},n.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},n}(Ti);kl.prototype.type="rect";var Ic=kl,Pu={fill:"#000"},sf=2,$f={style:Object(H.i)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},kv.style)},Op=function(a){nt(n,a);function n(e){var s=a.call(this)||this;return s.type="text",s._children=[],s._defaultStyle=Pu,s.attr(e),s}return n.prototype.childrenRef=function(){return this._children},n.prototype.update=function(){a.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var s=this._children[e];s.zlevel=this.zlevel,s.z=this.z,s.z2=this.z2,s.culling=this.culling,s.cursor=this.cursor,s.invisible=this.invisible}},n.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):a.prototype.updateTransform.call(this)},n.prototype.getLocalTransform=function(e){var s=this.innerTransformable;return s?s.getLocalTransform(e):a.prototype.getLocalTransform.call(this,e)},n.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),a.prototype.getComputedTransform.call(this)},n.prototype._updateSubTexts=function(){this._childCursor=0,Je(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},n.prototype.addSelfToZr=function(e){a.prototype.addSelfToZr.call(this,e);for(var s=0;s<this._children.length;s++)this._children[s].__zr=e},n.prototype.removeSelfFromZr=function(e){a.prototype.removeSelfFromZr.call(this,e);for(var s=0;s<this._children.length;s++)this._children[s].__zr=null},n.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new fo(0,0,0,0),s=this._children,f=[],p=null,h=0;h<s.length;h++){var _=s[h],M=_.getBoundingRect(),L=_.getLocalTransform(f);L?(e.copy(M),e.applyTransform(L),p=p||e.clone(),p.union(e)):(p=p||M.clone(),p.union(M))}this._rect=p||e}return this._rect},n.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||Pu},n.prototype.setTextContent=function(e){},n.prototype._mergeStyle=function(e,s){if(!s)return e;var f=s.rich,p=e.rich||f&&{};return Object(H.m)(e,s),f&&p?(this._mergeRich(p,f),e.rich=p):p&&(e.rich=p),e},n.prototype._mergeRich=function(e,s){for(var f=Object(H.F)(s),p=0;p<f.length;p++){var h=f[p];e[h]=e[h]||{},Object(H.m)(e[h],s[h])}},n.prototype.getAnimationStyleProps=function(){return $f},n.prototype._getOrCreateChild=function(e){var s=this._children[this._childCursor];return(!s||!(s instanceof e))&&(s=new e),this._children[this._childCursor++]=s,s.__zr=this.__zr,s.parent=this,s},n.prototype._updatePlainTexts=function(){var e=this.style,s=e.font||Cs.a,f=e.padding,p=ci(e),h=Fg(p,e),_=yo(e),M=!!e.backgroundColor,L=h.outerHeight,z=h.outerWidth,Y=h.contentWidth,q=h.lines,se=h.lineHeight,ye=this._defaultStyle,je=e.x||0,De=e.y||0,We=e.align||ye.align||"left",st=e.verticalAlign||ye.verticalAlign||"top",dt=je,Mt=cl(De,h.contentHeight,st);if(_||f){var nn=Ol(je,z,We),rn=cl(De,L,st);_&&this._renderBackground(e,e,nn,rn,z,L)}Mt+=se/2,f&&(dt=ja(je,We,f),st==="top"?Mt+=f[0]:st==="bottom"&&(Mt-=f[2]));for(var Cn=0,er=!1,ir=Rr("fill"in e?e.fill:(er=!0,ye.fill)),dr=Mn("stroke"in e?e.stroke:!M&&(!ye.autoStroke||er)?(Cn=sf,ye.stroke):null),pr=e.textShadowBlur>0,ia=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),pa=h.calculatedLineHeight,Ga=0;Ga<q.length;Ga++){var si=this._getOrCreateChild(ki),Bi=si.createStyle();si.useStyle(Bi),Bi.text=q[Ga],Bi.x=dt,Bi.y=Mt,We&&(Bi.textAlign=We),Bi.textBaseline="middle",Bi.opacity=e.opacity,Bi.strokeFirst=!0,pr&&(Bi.shadowBlur=e.textShadowBlur||0,Bi.shadowColor=e.textShadowColor||"transparent",Bi.shadowOffsetX=e.textShadowOffsetX||0,Bi.shadowOffsetY=e.textShadowOffsetY||0),Bi.stroke=dr,Bi.fill=ir,dr&&(Bi.lineWidth=e.lineWidth||Cn,Bi.lineDash=e.lineDash,Bi.lineDashOffset=e.lineDashOffset||0),Bi.font=s,de(Bi,e),Mt+=se,ia&&si.setBoundingRect(new fo(Ol(Bi.x,e.width,Bi.textAlign),cl(Bi.y,pa,Bi.textBaseline),Y,pa))}},n.prototype._updateRichTexts=function(){var e=this.style,s=ci(e),f=Uh(s,e),p=f.width,h=f.outerWidth,_=f.outerHeight,M=e.padding,L=e.x||0,z=e.y||0,Y=this._defaultStyle,q=e.align||Y.align,se=e.verticalAlign||Y.verticalAlign,ye=Ol(L,h,q),je=cl(z,_,se),De=ye,We=je;M&&(De+=M[3],We+=M[0]);var st=De+p;yo(e)&&this._renderBackground(e,e,ye,je,h,_);for(var dt=!!e.backgroundColor,Mt=0;Mt<f.lines.length;Mt++){for(var nn=f.lines[Mt],rn=nn.tokens,Cn=rn.length,er=nn.lineHeight,ir=nn.width,dr=0,pr=De,ia=st,pa=Cn-1,Ga=void 0;dr<Cn&&(Ga=rn[dr],!Ga.align||Ga.align==="left");)this._placeToken(Ga,e,er,We,pr,"left",dt),ir-=Ga.width,pr+=Ga.width,dr++;for(;pa>=0&&(Ga=rn[pa],Ga.align==="right");)this._placeToken(Ga,e,er,We,ia,"right",dt),ir-=Ga.width,ia-=Ga.width,pa--;for(pr+=(p-(pr-De)-(st-ia)-ir)/2;dr<=pa;)Ga=rn[dr],this._placeToken(Ga,e,er,We,pr+Ga.width/2,"center",dt),pr+=Ga.width,dr++;We+=er}},n.prototype._placeToken=function(e,s,f,p,h,_,M){var L=s.rich[e.styleName]||{};L.text=e.text;var z=e.verticalAlign,Y=p+f/2;z==="top"?Y=p+e.height/2:z==="bottom"&&(Y=p+f-e.height/2);var q=!e.isLineHolder&&yo(L);q&&this._renderBackground(L,s,_==="right"?h-e.width:_==="center"?h-e.width/2:h,Y-e.height/2,e.width,e.height);var se=!!L.backgroundColor,ye=e.textPadding;ye&&(h=ja(h,_,ye),Y-=e.height/2-ye[0]-e.innerHeight/2);var je=this._getOrCreateChild(ki),De=je.createStyle();je.useStyle(De);var We=this._defaultStyle,st=!1,dt=0,Mt=Rr("fill"in L?L.fill:"fill"in s?s.fill:(st=!0,We.fill)),nn=Mn("stroke"in L?L.stroke:"stroke"in s?s.stroke:!se&&!M&&(!We.autoStroke||st)?(dt=sf,We.stroke):null),rn=L.textShadowBlur>0||s.textShadowBlur>0;De.text=e.text,De.x=h,De.y=Y,rn&&(De.shadowBlur=L.textShadowBlur||s.textShadowBlur||0,De.shadowColor=L.textShadowColor||s.textShadowColor||"transparent",De.shadowOffsetX=L.textShadowOffsetX||s.textShadowOffsetX||0,De.shadowOffsetY=L.textShadowOffsetY||s.textShadowOffsetY||0),De.textAlign=_,De.textBaseline="middle",De.font=e.font||Cs.a,De.opacity=Object(H.Q)(L.opacity,s.opacity,1),de(De,L),nn&&(De.lineWidth=Object(H.Q)(L.lineWidth,s.lineWidth,dt),De.lineDash=Object(H.P)(L.lineDash,s.lineDash),De.lineDashOffset=s.lineDashOffset||0,De.stroke=nn),Mt&&(De.fill=Mt);var Cn=e.contentWidth,er=e.contentHeight;je.setBoundingRect(new fo(Ol(De.x,Cn,De.textAlign),cl(De.y,er,De.textBaseline),Cn,er))},n.prototype._renderBackground=function(e,s,f,p,h,_){var M=e.backgroundColor,L=e.borderWidth,z=e.borderColor,Y=M&&M.image,q=M&&!Y,se=e.borderRadius,ye=this,je,De;if(q||e.lineHeight||L&&z){je=this._getOrCreateChild(Ic),je.useStyle(je.createStyle()),je.style.fill=null;var We=je.shape;We.x=f,We.y=p,We.width=h,We.height=_,We.r=se,je.dirtyShape()}if(q){var st=je.style;st.fill=M||null,st.fillOpacity=Object(H.P)(e.fillOpacity,1)}else if(Y){De=this._getOrCreateChild(Gi),De.onload=function(){ye.dirtyStyle()};var dt=De.style;dt.image=M.image,dt.x=f,dt.y=p,dt.width=h,dt.height=_}if(L&&z){var st=je.style;st.lineWidth=L,st.stroke=z,st.strokeOpacity=Object(H.P)(e.strokeOpacity,1),st.lineDash=e.borderDash,st.lineDashOffset=e.borderDashOffset||0,je.strokeContainThreshold=0,je.hasFill()&&je.hasStroke()&&(st.strokeFirst=!0,st.lineWidth*=2)}var Mt=(je||De).style;Mt.shadowBlur=e.shadowBlur||0,Mt.shadowColor=e.shadowColor||"transparent",Mt.shadowOffsetX=e.shadowOffsetX||0,Mt.shadowOffsetY=e.shadowOffsetY||0,Mt.opacity=Object(H.Q)(e.opacity,s.opacity,1)},n.makeFont=function(e){var s="";return Ce(e)&&(s=[e.fontStyle,e.fontWeight,Mv(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),s&&Object(H.T)(s)||e.textFont||e.font},n}(so),g0={left:!0,right:1,center:1},Rp={top:1,bottom:1,middle:1},by=["fontStyle","fontWeight","fontSize","fontFamily"];function Mv(a){return typeof a=="string"&&(a.indexOf("px")!==-1||a.indexOf("rem")!==-1||a.indexOf("em")!==-1)?a:isNaN(+a)?Cs.c+"px":a+"px"}function de(a,n){for(var e=0;e<by.length;e++){var s=by[e],f=n[s];f!=null&&(a[s]=f)}}function Ce(a){return a.fontSize!=null||a.fontFamily||a.fontWeight}function Je(a){return Kt(a),Object(H.k)(a.rich,Kt),a}function Kt(a){if(a){a.font=Op.makeFont(a);var n=a.align;n==="middle"&&(n="center"),a.align=n==null||g0[n]?n:"left";var e=a.verticalAlign;e==="center"&&(e="middle"),a.verticalAlign=e==null||Rp[e]?e:"top";var s=a.padding;s&&(a.padding=Object(H.M)(a.padding))}}function Mn(a,n){return a==null||n<=0||a==="transparent"||a==="none"?null:a.image||a.colorStops?"#000":a}function Rr(a){return a==null||a==="none"?null:a.image||a.colorStops?"#000":a}function ja(a,n,e){return n==="right"?a-e[1]:n==="center"?a+e[3]/2-e[1]/2:a+e[3]}function ci(a){var n=a.text;return n!=null&&(n+=""),n}function yo(a){return!!(a.backgroundColor||a.lineHeight||a.borderWidth&&a.borderColor)}var Ho=Op,sc=ol(),Pd=function(a,n,e,s){if(s){var f=sc(s);f.dataIndex=e,f.dataType=n,f.seriesIndex=a,s.type==="group"&&s.traverse(function(p){var h=sc(p);h.seriesIndex=a,h.dataIndex=e,h.dataType=n})}},Gc=1,Tu={},Fd=ol(),Ed=ol(),is=0,ko=1,Wo=2,ic=["emphasis","blur","select"],jc=["normal","emphasis","blur","select"],Td=10,Ou=9,Sd="highlight",Vd="downplay",Rd="select",Bh="unselect",Rm="toggleSelect";function Oy(a){return a!=null&&a!=="none"}var $w=new ws.a(100);function YE(a){if(Object(H.C)(a)){var n=$w.get(a);return n||(n=ml.c(a,-.1),$w.put(a,n)),n}else if(Object(H.x)(a)){var e=Object(H.m)({},a);return e.colorStops=Object(H.H)(a.colorStops,function(s){return{offset:s.offset,color:ml.c(s.color,-.1)}}),e}return a}function $b(a,n,e){a.onHoverStateChange&&(a.hoverState||0)!==e&&a.onHoverStateChange(n),a.hoverState=e}function Ww(a){$b(a,"emphasis",Wo)}function Kw(a){a.hoverState===Wo&&$b(a,"normal",is)}function XE(a){$b(a,"blur",ko)}function Yw(a){a.hoverState===ko&&$b(a,"normal",is)}function MP(a){a.selected=!0}function PP(a){a.selected=!1}function Xw(a,n,e){n(a,e)}function Dm(a,n,e){Xw(a,n,e),a.isGroup&&a.traverse(function(s){Xw(s,n,e)})}function m0(a,n){switch(n){case"emphasis":a.hoverState=Wo;break;case"normal":a.hoverState=is;break;case"blur":a.hoverState=ko;break;case"select":a.selected=!0}}function RP(a){a.isGroup?a.traverse(function(n){n.clearStates()}):a.clearStates()}function Jw(a,n,e,s){for(var f=a.style,p={},h=0;h<n.length;h++){var _=n[h],M=f[_];p[_]=M==null?s&&s[_]:M}for(var h=0;h<a.animators.length;h++){var L=a.animators[h];L.__fromStateTransition&&L.__fromStateTransition.indexOf(e)<0&&L.targetName==="style"&&L.saveTo(p,n)}return p}function DP(a,n,e,s){var f=e&&Object(H.r)(e,"select")>=0,p=!1;if(a instanceof Ti){var h=Fd(a),_=f&&h.selectFill||h.normalFill,M=f&&h.selectStroke||h.normalStroke;if(Oy(_)||Oy(M)){s=s||{};var L=s.style||{};L.fill==="inherit"?(p=!0,s=Object(H.m)({},s),L=Object(H.m)({},L),L.fill=_):!Oy(L.fill)&&Oy(_)?(p=!0,s=Object(H.m)({},s),L=Object(H.m)({},L),L.fill=YE(_)):!Oy(L.stroke)&&Oy(M)&&(p||(s=Object(H.m)({},s),L=Object(H.m)({},L)),L.stroke=YE(M)),s.style=L}}if(s&&s.z2==null){p||(s=Object(H.m)({},s));var z=a.z2EmphasisLift;s.z2=a.z2+(z!=null?z:Td)}return s}function IP(a,n,e){if(e&&e.z2==null){e=Object(H.m)({},e);var s=a.z2SelectLift;e.z2=a.z2+(s!=null?s:Ou)}return e}function Zw(a,n,e){var s=Object(H.r)(a.currentStates,n)>=0,f=a.style.opacity,p=s?null:Jw(a,["opacity"],n,{opacity:1});e=e||{};var h=e.style||{};return h.opacity==null&&(e=Object(H.m)({},e),h=Object(H.m)({opacity:s?f:p.opacity*.1},h),e.style=h),e}function JE(a,n){var e=this.states[a];if(this.style){if(a==="emphasis")return DP(this,a,n,e);if(a==="blur")return Zw(this,a,e);if(a==="select")return IP(this,a,e)}return e}function um(a){a.stateProxy=JE;var n=a.getTextContent(),e=a.getTextGuideLine();n&&(n.stateProxy=JE),e&&(e.stateProxy=JE)}function Qw(a,n){!eT(a,n)&&!a.__highByOuter&&Dm(a,Ww)}function ZE(a,n){!eT(a,n)&&!a.__highByOuter&&Dm(a,Kw)}function C_(a,n){a.__highByOuter|=1<<(n||0),Dm(a,Ww)}function wh(a,n){!(a.__highByOuter&=~(1<<(n||0)))&&Dm(a,Kw)}function NP(a){Dm(a,XE)}function QE(a){Dm(a,Yw)}function qw(a){Dm(a,MP)}function qE(a){Dm(a,PP)}function eT(a,n){return a.__highDownSilentOnTouch&&n.zrByTouch}function ex(a){var n=a.getModel(),e=[],s=[];n.eachComponent(function(f,p){var h=Ed(p),_=f==="series",M=_?a.getViewOfSeriesModel(p):a.getViewOfComponentModel(p);!_&&s.push(M),h.isBlured&&(M.group.traverse(function(L){Yw(L)}),_&&e.push(p)),h.isBlured=!1}),Object(H.k)(s,function(f){f&&f.toggleBlurSeries&&f.toggleBlurSeries(e,!1,n)})}function tT(a,n,e,s){var f=s.getModel();e=e||"coordinateSystem";function p(L,z){for(var Y=0;Y<z.length;Y++){var q=L.getItemGraphicEl(z[Y]);q&&QE(q)}}if(a!=null&&!(!n||n==="none")){var h=f.getSeriesByIndex(a),_=h.coordinateSystem;_&&_.master&&(_=_.master);var M=[];f.eachSeries(function(L){var z=h===L,Y=L.coordinateSystem;Y&&Y.master&&(Y=Y.master);var q=Y&&_?Y===_:z;if(!(e==="series"&&!z||e==="coordinateSystem"&&!q||n==="series"&&z)){var se=s.getViewOfSeriesModel(L);if(se.group.traverse(function(De){XE(De)}),Object(H.u)(n))p(L.getData(),n);else if(Object(H.A)(n))for(var ye=Object(H.F)(n),je=0;je<ye.length;je++)p(L.getData(ye[je]),n[ye[je]]);M.push(L),Ed(L).isBlured=!0}}),f.eachComponent(function(L,z){if(L!=="series"){var Y=s.getViewOfComponentModel(z);Y&&Y.toggleBlurSeries&&Y.toggleBlurSeries(M,!0,f)}})}}function _0(a,n,e){if(!(a==null||n==null)){var s=e.getModel().getComponent(a,n);if(!!s){Ed(s).isBlured=!0;var f=e.getViewOfComponentModel(s);!f||!f.focusBlurEnabled||f.group.traverse(function(p){XE(p)})}}}function LP(a,n,e){var s=a.seriesIndex,f=a.getData(n.dataType);if(!!f){var p=Gu(f,n);p=(Object(H.t)(p)?p[0]:p)||0;var h=f.getItemGraphicEl(p);if(!h)for(var _=f.count(),M=0;!h&&M<_;)h=f.getItemGraphicEl(M++);if(h){var L=sc(h);tT(s,L.focus,L.blurScope,e)}else{var z=a.get(["emphasis","focus"]),Y=a.get(["emphasis","blurScope"]);z!=null&&tT(s,z,Y,e)}}}function RO(a,n,e,s){var f={focusSelf:!1,dispatchers:null};if(a==null||a==="series"||n==null||e==null)return f;var p=s.getModel().getComponent(a,n);if(!p)return f;var h=s.getViewOfComponentModel(p);if(!h||!h.findHighDownDispatchers)return f;for(var _=h.findHighDownDispatchers(e),M,L=0;L<_.length;L++)if(sc(_[L]).focus==="self"){M=!0;break}return{focusSelf:M,dispatchers:_}}function nT(a,n,e){var s=sc(a),f=RO(s.componentMainType,s.componentIndex,s.componentHighDownName,e),p=f.dispatchers,h=f.focusSelf;p?(h&&_0(s.componentMainType,s.componentIndex,e),Object(H.k)(p,function(_){return Qw(_,n)})):(tT(s.seriesIndex,s.focus,s.blurScope,e),s.focus==="self"&&_0(s.componentMainType,s.componentIndex,e),Qw(a,n))}function tx(a,n,e){ex(e);var s=sc(a),f=RO(s.componentMainType,s.componentIndex,s.componentHighDownName,e).dispatchers;f?Object(H.k)(f,function(p){return ZE(p,n)}):ZE(a,n)}function rT(a,n,e){if(!!IO(n)){var s=n.dataType,f=a.getData(s),p=Gu(f,n);Object(H.t)(p)||(p=[p]),a[n.type===Rm?"toggleSelect":n.type===Rd?"select":"unselect"](p,s)}}function aT(a){var n=a.getAllData();Object(H.k)(n,function(e){var s=e.data,f=e.type;s.eachItemGraphicEl(function(p,h){a.isSelected(h,f)?qw(p):qE(p)})})}function iT(a){var n=[];return a.eachSeries(function(e){var s=e.getAllData();Object(H.k)(s,function(f){var p=f.data,h=f.type,_=e.getSelectedDataIndices();if(_.length>0){var M={dataIndex:_,seriesIndex:e.seriesIndex};h!=null&&(M.dataType=h),n.push(M)}})}),n}function E_(a,n,e){y0(a,!0),Dm(a,um),Cy(a,n,e)}function FP(a){y0(a,!1)}function Wp(a,n,e,s){s?FP(a):E_(a,n,e)}function Cy(a,n,e){var s=sc(a);n!=null?(s.focus=n,s.blurScope=e):s.focus&&(s.focus=null)}var Wb=["emphasis","blur","select"],DO={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Qv(a,n,e,s){e=e||"itemStyle";for(var f=0;f<Wb.length;f++){var p=Wb[f],h=n.getModel([p,e]),_=a.ensureState(p);_.style=s?s(h):h[DO[e]]()}}function y0(a,n){var e=n===!1,s=a;a.highDownSilentOnTouch&&(s.__highDownSilentOnTouch=a.highDownSilentOnTouch),(!e||s.__highDownDispatcher)&&(s.__highByOuter=s.__highByOuter||0,s.__highDownDispatcher=!e)}function b0(a){return!!(a&&a.__highDownDispatcher)}function oT(a,n,e){var s=sc(a);s.componentMainType=n.mainType,s.componentIndex=n.componentIndex,s.componentHighDownName=e}function aF(a){var n=Tu[a];return n==null&&Gc<=32&&(n=Tu[a]=Gc++),n}function IO(a){var n=a.type;return n===Rd||n===Bh||n===Rm}function sT(a){var n=a.type;return n===Sd||n===Vd}function UP(a){var n=Fd(a);n.normalFill=a.style.fill,n.normalStroke=a.style.stroke;var e=a.states.select||{};n.selectFill=e.style&&e.style.fill||null,n.selectStroke=e.style&&e.style.stroke||null}var cT=ol();function Kb(a,n,e,s,f){var p;if(n&&n.ecModel){var h=n.ecModel.getUpdatePayload();p=h&&h.animation}var _=n&&n.isAnimationEnabled(),M=a==="update";if(_){var L=void 0,z=void 0,Y=void 0;s?(L=Object(H.P)(s.duration,200),z=Object(H.P)(s.easing,"cubicOut"),Y=0):(L=n.getShallow(M?"animationDurationUpdate":"animationDuration"),z=n.getShallow(M?"animationEasingUpdate":"animationEasing"),Y=n.getShallow(M?"animationDelayUpdate":"animationDelay")),p&&(p.duration!=null&&(L=p.duration),p.easing!=null&&(z=p.easing),p.delay!=null&&(Y=p.delay)),Object(H.w)(Y)&&(Y=Y(e,f)),Object(H.w)(L)&&(L=L(e));var q={duration:L||0,delay:Y,easing:z};return q}else return null}function Yb(a,n,e,s,f,p,h){var _=!1,M;Object(H.w)(f)?(h=p,p=f,f=null):Object(H.A)(f)&&(p=f.cb,h=f.during,_=f.isFrom,M=f.removeOpt,f=f.dataIndex);var L=a==="leave";L||n.stopAnimation("leave");var z=Kb(a,s,f,L?M||{}:null,s&&s.getAnimationDelayParams?s.getAnimationDelayParams(n,f):null);if(z&&z.duration>0){var Y=z.duration,q=z.delay,se=z.easing,ye={duration:Y,delay:q||0,easing:se,done:p,force:!!p||!!h,setToFinal:!L,scope:a,during:h};_?n.animateFrom(e,ye):n.animateTo(e,ye)}else n.stopAnimation(),!_&&n.attr(e),h&&h(1),p&&p()}function pf(a,n,e,s,f,p){Yb("update",a,n,e,s,f,p)}function dp(a,n,e,s,f,p){Yb("enter",a,n,e,s,f,p)}function Ey(a){if(!a.__zr)return!0;for(var n=0;n<a.animators.length;n++){var e=a.animators[n];if(e.scope==="leave")return!0}return!1}function x_(a,n,e,s,f,p){Ey(a)||Yb("leave",a,n,e,s,f,p)}function lT(a,n,e,s){a.removeTextContent(),a.removeTextGuideLine(),x_(a,{style:{opacity:0}},n,e,s)}function Dp(a,n,e){function s(){a.parent&&a.parent.remove(a)}a.isGroup?a.traverse(function(f){f.isGroup||lT(f,n,e,s)}):lT(a,n,e,s)}function Ug(a){cT(a).oldStyle=a.style}function nx(a){return cT(a).oldStyle}var dm={};function Qd(a,n){for(var e=0;e<ic.length;e++){var s=ic[e],f=n[s],p=a.ensureState(s);p.style=p.style||{},p.style.text=f}var h=a.currentStates.slice();a.clearStates(!0),a.setStyle({text:n.normal}),a.useStates(h,!0)}function rx(a,n,e){var s=a.labelFetcher,f=a.labelDataIndex,p=a.labelDimIndex,h=n.normal,_;s&&(_=s.getFormattedLabel(f,"normal",null,p,h&&h.get("formatter"),e!=null?{interpolatedValue:e}:null)),_==null&&(_=Object(H.w)(a.defaultText)?a.defaultText(f,a,e):a.defaultText);for(var M={normal:_},L=0;L<ic.length;L++){var z=ic[L],Y=n[z];M[z]=Object(H.P)(s?s.getFormattedLabel(f,z,null,p,Y&&Y.get("formatter")):null,_)}return M}function Wf(a,n,e,s){e=e||dm;for(var f=a instanceof Ho,p=!1,h=0;h<jc.length;h++){var _=n[jc[h]];if(_&&_.getShallow("show")){p=!0;break}}var M=f?a:a.getTextContent();if(p){f||(M||(M=new Ho,a.setTextContent(M)),a.stateProxy&&(M.stateProxy=a.stateProxy));var L=rx(e,n),z=n.normal,Y=!!z.getShallow("show"),q=ep(z,s&&s.normal,e,!1,!f);q.text=L.normal,f||a.setTextConfig(Bg(z,e,!1));for(var h=0;h<ic.length;h++){var se=ic[h],_=n[se];if(_){var ye=M.ensureState(se),je=!!Object(H.P)(_.getShallow("show"),Y);if(je!==Y&&(ye.ignore=!je),ye.style=ep(_,s&&s[se],e,!0,!f),ye.style.text=L[se],!f){var De=a.ensureState(se);De.textConfig=Bg(_,e,!0)}}}M.silent=!!z.getShallow("silent"),M.style.x!=null&&(q.x=M.style.x),M.style.y!=null&&(q.y=M.style.y),M.ignore=!Y,M.useStyle(q),M.dirty(),e.enableTextSetter&&(Vh(M).setLabelText=function(We){var st=rx(e,n,We);Qd(M,st)})}else M&&(M.ignore=!0);a.dirty()}function _f(a,n){n=n||"label";for(var e={normal:a.getModel(n)},s=0;s<ic.length;s++){var f=ic[s];e[f]=a.getModel([f,n])}return e}function ep(a,n,e,s,f){var p={};return BP(p,a,e,s,f),n&&Object(H.m)(p,n),p}function Bg(a,n,e){n=n||{};var s={},f,p=a.getShallow("rotate"),h=Object(H.P)(a.getShallow("distance"),e?null:5),_=a.getShallow("offset");return f=a.getShallow("position")||(e?null:"inside"),f==="outside"&&(f=n.defaultOutsidePosition||"top"),f!=null&&(s.position=f),_!=null&&(s.offset=_),p!=null&&(p*=Math.PI/180,s.rotation=p),h!=null&&(s.distance=h),s.outsideFill=a.get("color")==="inherit"?n.inheritColor||null:"auto",s}function BP(a,n,e,s,f){e=e||dm;var p=n.ecModel,h=p&&p.option.textStyle,_=VP(n),M;if(_){M={};for(var L in _)if(_.hasOwnProperty(L)){var z=n.getModel(["rich",L]);Xb(M[L]={},z,h,e,s,f,!1,!0)}}M&&(a.rich=M);var Y=n.get("overflow");Y&&(a.overflow=Y);var q=n.get("minMargin");q!=null&&(a.margin=q),Xb(a,n,h,e,s,f,!0,!1)}function VP(a){for(var n;a&&a!==a.ecModel;){var e=(a.option||dm).rich;if(e){n=n||{};for(var s=Object(H.F)(e),f=0;f<s.length;f++){var p=s[f];n[p]=1}}a=a.parentModel}return n}var zP=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],ax=["align","lineHeight","width","height","tag","verticalAlign"],uT=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Xb(a,n,e,s,f,p,h,_){e=!f&&e||dm;var M=s&&s.inheritColor,L=n.getShallow("color"),z=n.getShallow("textBorderColor"),Y=Object(H.P)(n.getShallow("opacity"),e.opacity);(L==="inherit"||L==="auto")&&(M?L=M:L=null),(z==="inherit"||z==="auto")&&(M?z=M:z=null),p||(L=L||e.color,z=z||e.textBorderColor),L!=null&&(a.fill=L),z!=null&&(a.stroke=z);var q=Object(H.P)(n.getShallow("textBorderWidth"),e.textBorderWidth);q!=null&&(a.lineWidth=q);var se=Object(H.P)(n.getShallow("textBorderType"),e.textBorderType);se!=null&&(a.lineDash=se);var ye=Object(H.P)(n.getShallow("textBorderDashOffset"),e.textBorderDashOffset);ye!=null&&(a.lineDashOffset=ye),!f&&Y==null&&!_&&(Y=s&&s.defaultOpacity),Y!=null&&(a.opacity=Y),!f&&!p&&a.fill==null&&s.inheritColor&&(a.fill=s.inheritColor);for(var je=0;je<zP.length;je++){var De=zP[je],We=Object(H.P)(n.getShallow(De),e[De]);We!=null&&(a[De]=We)}for(var je=0;je<ax.length;je++){var De=ax[je],We=n.getShallow(De);We!=null&&(a[De]=We)}if(a.verticalAlign==null){var st=n.getShallow("baseline");st!=null&&(a.verticalAlign=st)}if(!h||!s.disableBox){for(var je=0;je<uT.length;je++){var De=uT[je],We=n.getShallow(De);We!=null&&(a[De]=We)}var dt=n.getShallow("borderType");dt!=null&&(a.borderDash=dt),(a.backgroundColor==="auto"||a.backgroundColor==="inherit")&&M&&(a.backgroundColor=M),(a.borderColor==="auto"||a.borderColor==="inherit")&&M&&(a.borderColor=M)}}function dT(a,n){var e=n&&n.getModel("textStyle");return Object(H.T)([a.fontStyle||e&&e.getShallow("fontStyle")||"",a.fontWeight||e&&e.getShallow("fontWeight")||"",(a.fontSize||e&&e.getShallow("fontSize")||12)+"px",a.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var Vh=ol();function ix(a,n,e,s){if(!!a){var f=Vh(a);f.prevValue=f.value,f.value=e;var p=n.normal;f.valueAnimation=p.get("valueAnimation"),f.valueAnimation&&(f.precision=p.get("precision"),f.defaultInterpolatedText=s,f.statesModels=n)}}function S_(a,n,e,s,f){var p=Vh(a);if(!p.valueAnimation||p.prevValue===p.value)return;var h=p.defaultInterpolatedText,_=Object(H.P)(p.interpolatedValue,p.prevValue),M=p.value;function L(z){var Y=vp(e,p.precision,_,M,z);p.interpolatedValue=z===1?null:Y;var q=rx({labelDataIndex:n,labelFetcher:f,defaultText:h?h(Y):Y+""},p.statesModels,Y);Qd(a,q)}a.percent=0,(p.prevValue==null?dp:pf)(a,{percent:1},s,n,null,L)}var Kp=["textStyle","color"],Ip=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],NO=new Ho,HP=function(){function a(){}return a.prototype.getTextColor=function(n){var e=this.ecModel;return this.getShallow("color")||(!n&&e?e.get(Kp):null)},a.prototype.getFont=function(){return dT({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},a.prototype.getTextRect=function(n){for(var e={text:n,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},s=0;s<Ip.length;s++)e[Ip[s]]=this.getShallow(Ip[s]);return NO.useStyle(e),NO.update(),NO.getBoundingRect()},a}(),GP=HP,fT=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],$P=lv(fT),WP=function(){function a(){}return a.prototype.getLineStyle=function(n){return $P(this,n)},a}(),pT=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],vT=lv(pT),Jb=function(){function a(){}return a.prototype.getItemStyle=function(n,e){return vT(this,n,e)},a}(),Im=function(){function a(n,e,s){this.parentModel=e,this.ecModel=s,this.option=n}return a.prototype.init=function(n,e,s){for(var f=[],p=3;p<arguments.length;p++)f[p-3]=arguments[p]},a.prototype.mergeOption=function(n,e){Object(H.I)(this.option,n,!0)},a.prototype.get=function(n,e){return n==null?this.option:this._doGet(this.parsePath(n),!e&&this.parentModel)},a.prototype.getShallow=function(n,e){var s=this.option,f=s==null?s:s[n];if(f==null&&!e){var p=this.parentModel;p&&(f=p.getShallow(n))}return f},a.prototype.getModel=function(n,e){var s=n!=null,f=s?this.parsePath(n):null,p=s?this._doGet(f):this.option;return e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(f)),new a(p,e,this.ecModel)},a.prototype.isEmpty=function(){return this.option==null},a.prototype.restoreData=function(){},a.prototype.clone=function(){var n=this.constructor;return new n(Object(H.d)(this.option))},a.prototype.parsePath=function(n){return typeof n=="string"?n.split("."):n},a.prototype.resolveParentPath=function(n){return n},a.prototype.isAnimationEnabled=function(){if(!Bt.a.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},a.prototype._doGet=function(n,e){var s=this.option;if(!n)return s;for(var f=0;f<n.length&&!(!!n[f]&&(s=s&&typeof s=="object"?s[n[f]]:null,s==null));f++);return s==null&&e&&(s=e._doGet(this.resolveParentPath(n),e.parentModel)),s},a}();hp(Im),Sv(Im),Object(H.K)(Im,WP),Object(H.K)(Im,Jb),Object(H.K)(Im,Tv),Object(H.K)(Im,GP);var tp=Im,hT=Math.round(Math.random()*10);function fm(a){return[a||"",hT++].join("_")}function eg(a){var n={};a.registerSubTypeDefaulter=function(e,s){var f=up(e);n[f.main]=s},a.determineSubType=function(e,s){var f=s.type;if(!f){var p=up(e).main;a.hasSubTypes(e)&&n[p]&&(f=n[p](s))}return f}}function xy(a,n){a.topologicalTravel=function(p,h,_,M){if(!p.length)return;var L=e(h),z=L.graph,Y=L.noEntryList,q={};for(H.k(p,function(st){q[st]=!0});Y.length;){var se=Y.pop(),ye=z[se],je=!!q[se];je&&(_.call(M,se,ye.originalDeps.slice()),delete q[se]),H.k(ye.successor,je?We:De)}H.k(q,function(){var st="";throw new Error(st)});function De(st){z[st].entryCount--,z[st].entryCount===0&&Y.push(st)}function We(st){q[st]=!0,De(st)}};function e(p){var h={},_=[];return H.k(p,function(M){var L=s(h,M),z=L.originalDeps=n(M),Y=f(z,p);L.entryCount=Y.length,L.entryCount===0&&_.push(M),H.k(Y,function(q){H.r(L.predecessor,q)<0&&L.predecessor.push(q);var se=s(h,q);H.r(se.successor,q)<0&&se.successor.push(M)})}),{graph:h,noEntryList:_}}function s(p,h){return p[h]||(p[h]={predecessor:[],successor:[]}),p[h]}function f(p,h){var _=[];return H.k(p,function(M){H.r(h,M)>=0&&_.push(M)}),_}}function w_(a,n){return H.I(H.I({},a,!0),n,!0)}var KP={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},gT={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}},ox="ZH",sx="EN",Sy=sx,_g={},ef={},cx=Bt.a.domSupported?function(){var a=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return a.indexOf(ox)>-1?ox:Sy}():Sy;function tg(a,n){a=a.toUpperCase(),ef[a]=new tp(n),_g[a]=n}function mT(a){if(Object(H.C)(a)){var n=_g[a.toUpperCase()]||{};return a===ox||a===sx?Object(H.d)(n):Object(H.I)(Object(H.d)(n),Object(H.d)(_g[Sy]),!1)}else return Object(H.I)(Object(H.d)(a),Object(H.d)(_g[Sy]),!1)}function lx(a){return ef[a]}function Kf(){return ef[Sy]}tg(sx,KP),tg(ox,gT);var ux=1e3,Zb=ux*60,T_=Zb*60,yg=T_*24,_T=yg*365,wy={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Qb="{yyyy}-{MM}-{dd}",dx={year:"{yyyy}",month:"{yyyy}-{MM}",day:Qb,hour:Qb+" "+wy.hour,minute:Qb+" "+wy.minute,second:Qb+" "+wy.second,millisecond:wy.none},fx=["year","month","day","hour","minute","second","millisecond"],px=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Th(a,n){return a+="","0000".substr(0,n-a.length)+a}function O0(a){switch(a){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return a}}function iF(a){return a===O0(a)}function yT(a){switch(a){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Ty(a,n,e,s){var f=ct(a),p=f[qb(e)](),h=f[ky(e)]()+1,_=Math.floor((h-1)/3)+1,M=f[LO(e)](),L=f["get"+(e?"UTC":"")+"Day"](),z=f[e1(e)](),Y=(z-1)%12+1,q=f[rv(e)](),se=f[_v(e)](),ye=f[jy(e)](),je=s instanceof tp?s:lx(s||cx)||Kf(),De=je.getModel("time"),We=De.get("month"),st=De.get("monthAbbr"),dt=De.get("dayOfWeek"),Mt=De.get("dayOfWeekAbbr");return(n||"").replace(/{yyyy}/g,p+"").replace(/{yy}/g,p%100+"").replace(/{Q}/g,_+"").replace(/{MMMM}/g,We[h-1]).replace(/{MMM}/g,st[h-1]).replace(/{MM}/g,Th(h,2)).replace(/{M}/g,h+"").replace(/{dd}/g,Th(M,2)).replace(/{d}/g,M+"").replace(/{eeee}/g,dt[L]).replace(/{ee}/g,Mt[L]).replace(/{e}/g,L+"").replace(/{HH}/g,Th(z,2)).replace(/{H}/g,z+"").replace(/{hh}/g,Th(Y+"",2)).replace(/{h}/g,Y+"").replace(/{mm}/g,Th(q,2)).replace(/{m}/g,q+"").replace(/{ss}/g,Th(se,2)).replace(/{s}/g,se+"").replace(/{SSS}/g,Th(ye,3)).replace(/{S}/g,ye+"")}function vx(a,n,e,s,f){var p=null;if(H.C(e))p=e;else if(H.w(e))p=e(a.value,n,{level:a.level});else{var h=H.m({},wy);if(a.level>0)for(var _=0;_<fx.length;++_)h[fx[_]]="{primary|"+h[fx[_]]+"}";var M=e?e.inherit===!1?e:H.i(e,h):h,L=Ay(a.value,f);if(M[L])p=M[L];else if(M.inherit){for(var z=px.indexOf(L),_=z-1;_>=0;--_)if(M[L]){p=M[L];break}p=p||h.none}if(H.t(p)){var Y=a.level==null?0:a.level>=0?a.level:p.length+a.level;Y=Math.min(Y,p.length-1),p=p[Y]}}return Ty(new Date(a.value),p,f,s)}function Ay(a,n){var e=ct(a),s=e[ky(n)]()+1,f=e[LO(n)](),p=e[e1(n)](),h=e[rv(n)](),_=e[_v(n)](),M=e[jy(n)](),L=M===0,z=L&&_===0,Y=z&&h===0,q=Y&&p===0,se=q&&f===1,ye=se&&s===1;return ye?"year":se?"month":q?"day":Y?"hour":z?"minute":L?"second":"millisecond"}function bT(a,n,e){var s=H.z(a)?ct(a):a;switch(n=n||Ay(a,e),n){case"year":return s[qb(e)]();case"half-year":return s[ky(e)]()>=6?1:0;case"quarter":return Math.floor((s[ky(e)]()+1)/4);case"month":return s[ky(e)]();case"day":return s[LO(e)]();case"half-day":return s[e1(e)]()/24;case"hour":return s[e1(e)]();case"minute":return s[rv(e)]();case"second":return s[_v(e)]();case"millisecond":return s[jy(e)]()}}function qb(a){return a?"getUTCFullYear":"getFullYear"}function ky(a){return a?"getUTCMonth":"getMonth"}function LO(a){return a?"getUTCDate":"getDate"}function e1(a){return a?"getUTCHours":"getHours"}function rv(a){return a?"getUTCMinutes":"getMinutes"}function _v(a){return a?"getUTCSeconds":"getSeconds"}function jy(a){return a?"getUTCMilliseconds":"getMilliseconds"}function oF(a){return a?"setUTCFullYear":"setFullYear"}function OT(a){return a?"setUTCMonth":"setMonth"}function hx(a){return a?"setUTCDate":"setDate"}function CT(a){return a?"setUTCHours":"setHours"}function Nm(a){return a?"setUTCMinutes":"setMinutes"}function YP(a){return a?"setUTCSeconds":"setSeconds"}function t1(a){return a?"setUTCMilliseconds":"setMilliseconds"}function ET(a){if(!Uc(a))return H.C(a)?a:"-";var n=(a+"").split(".");return n[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(n.length>1?"."+n[1]:"")}function xT(a,n){return a=(a||"").toLowerCase().replace(/-(.)/g,function(e,s){return s.toUpperCase()}),n&&a&&(a=a.charAt(0).toUpperCase()+a.slice(1)),a}var C0=H.M;function FO(a,n,e){var s="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function f(z){return z&&H.T(z)?z:"-"}function p(z){return!!(z!=null&&!isNaN(z)&&isFinite(z))}var h=n==="time",_=a instanceof Date;if(h||_){var M=h?ct(a):a;if(isNaN(+M)){if(_)return"-"}else return Ty(M,s,e)}if(n==="ordinal")return H.D(a)?f(a):H.z(a)&&p(a)?a+"":"-";var L=Xs(a);return p(L)?ET(L):H.D(a)?f(a):typeof a=="boolean"?a+"":"-"}var gx=["a","b","c","d","e","f","g"],mx=function(a,n){return"{"+a+(n==null?"":n)+"}"};function _x(a,n,e){H.t(n)||(n=[n]);var s=n.length;if(!s)return"";for(var f=n[0].$vars||[],p=0;p<f.length;p++){var h=gx[p];a=a.replace(mx(h),mx(h,0))}for(var _=0;_<s;_++)for(var M=0;M<f.length;M++){var L=n[_][f[M]];a=a.replace(mx(gx[M],_),e?fi(L):L)}return a}function XP(a,n,e){return H.k(n,function(s,f){a=a.replace("{"+f+"}",e?fi(s):s)}),a}function JP(a,n){var e=H.C(a)?{color:a,extraCssText:n}:a||{},s=e.color,f=e.type;n=e.extraCssText;var p=e.renderMode||"html";if(!s)return"";if(p==="html")return f==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+fi(s)+";"+(n||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+fi(s)+";"+(n||"")+'"></span>';var h=e.markerId||"markerX";return{renderMode:p,content:"{"+h+"|} ",style:f==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:s}:{width:10,height:10,borderRadius:5,backgroundColor:s}}}function n1(a,n,e){(a==="week"||a==="month"||a==="quarter"||a==="half-year"||a==="year")&&(a=`MM-dd
yyyy`);var s=ct(n),f=e?"getUTC":"get",p=s[f+"FullYear"](),h=s[f+"Month"]()+1,_=s[f+"Date"](),M=s[f+"Hours"](),L=s[f+"Minutes"](),z=s[f+"Seconds"](),Y=s[f+"Milliseconds"]();return a=a.replace("MM",Th(h,2)).replace("M",h).replace("yyyy",p).replace("yy",Th(p%100+"",2)).replace("dd",Th(_,2)).replace("d",_).replace("hh",Th(M,2)).replace("h",M).replace("mm",Th(L,2)).replace("m",L).replace("ss",Th(z,2)).replace("s",z).replace("SSS",Th(Y,3)),a}function ZP(a){return a&&a.charAt(0).toUpperCase()+a.substr(1)}function E0(a,n){return n=n||"transparent",H.C(a)?a:H.A(a)&&a.colorStops&&(a.colorStops[0]||{}).color||n}function yx(a,n){if(n==="_blank"||n==="blank"){var e=window.open();e.opener=null,e.location.href=a}else window.open(a,n)}var UO=H.k,BO=["left","right","top","bottom","width","height"],A_=[["width","left","right"],["height","top","bottom"]];function My(a,n,e,s,f){var p=0,h=0;s==null&&(s=Infinity),f==null&&(f=Infinity);var _=0;n.eachChild(function(M,L){var z=M.getBoundingRect(),Y=n.childAt(L+1),q=Y&&Y.getBoundingRect(),se,ye;if(a==="horizontal"){var je=z.width+(q?-q.x+z.x:0);se=p+je,se>s||M.newline?(p=0,se=je,h+=_+e,_=z.height):_=Math.max(_,z.height)}else{var De=z.height+(q?-q.y+z.y:0);ye=h+De,ye>f||M.newline?(p+=_+e,h=0,ye=De,_=z.width):_=Math.max(_,z.width)}M.newline||(M.x=p,M.y=h,M.markRedraw(),a==="horizontal"?p=se+e:h=ye+e)})}var x0=My,sF=H.h(My,"vertical"),cF=H.h(My,"horizontal");function QP(a,n,e){var s=n.width,f=n.height,p=Mi(a.left,s),h=Mi(a.top,f),_=Mi(a.right,s),M=Mi(a.bottom,f);return(isNaN(p)||isNaN(parseFloat(a.left)))&&(p=0),(isNaN(_)||isNaN(parseFloat(a.right)))&&(_=s),(isNaN(h)||isNaN(parseFloat(a.top)))&&(h=0),(isNaN(M)||isNaN(parseFloat(a.bottom)))&&(M=f),e=C0(e||0),{width:Math.max(_-p-e[1]-e[3],0),height:Math.max(M-h-e[0]-e[2],0)}}function Pv(a,n,e){e=C0(e||0);var s=n.width,f=n.height,p=Mi(a.left,s),h=Mi(a.top,f),_=Mi(a.right,s),M=Mi(a.bottom,f),L=Mi(a.width,s),z=Mi(a.height,f),Y=e[2]+e[0],q=e[1]+e[3],se=a.aspect;switch(isNaN(L)&&(L=s-_-q-p),isNaN(z)&&(z=f-M-Y-h),se!=null&&(isNaN(L)&&isNaN(z)&&(se>s/f?L=s*.8:z=f*.8),isNaN(L)&&(L=se*z),isNaN(z)&&(z=L/se)),isNaN(p)&&(p=s-_-L-q),isNaN(h)&&(h=f-M-z-Y),a.left||a.right){case"center":p=s/2-L/2-e[3];break;case"right":p=s-L-q;break}switch(a.top||a.bottom){case"middle":case"center":h=f/2-z/2-e[0];break;case"bottom":h=f-z-Y;break}p=p||0,h=h||0,isNaN(L)&&(L=s-q-p-(_||0)),isNaN(z)&&(z=f-Y-h-(M||0));var ye=new fo(p+e[3],h+e[0],L,z);return ye.margin=e,ye}function r1(a,n,e,s,f,p){var h=!f||!f.hv||f.hv[0],_=!f||!f.hv||f.hv[1],M=f&&f.boundingMode||"all";if(p=p||a,p.x=a.x,p.y=a.y,!h&&!_)return!1;var L;if(M==="raw")L=a.type==="group"?new fo(0,0,+n.width||0,+n.height||0):a.getBoundingRect();else if(L=a.getBoundingRect(),a.needLocalTransform()){var z=a.getLocalTransform();L=L.clone(),L.applyTransform(z)}var Y=Pv(H.i({width:L.width,height:L.height},n),e,s),q=h?Y.x-L.x:0,se=_?Y.y-L.y:0;return M==="raw"?(p.x=q,p.y=se):(p.x+=q,p.y+=se),p===a&&a.markRedraw(),!0}function lF(a,n){return a[A_[n][0]]!=null||a[A_[n][1]]!=null&&a[A_[n][2]]!=null}function a1(a){var n=a.layoutMode||a.constructor.layoutMode;return H.A(n)?n:n?{type:n}:null}function k_(a,n,e){var s=e&&e.ignoreSize;!H.t(s)&&(s=[s,s]);var f=h(A_[0],0),p=h(A_[1],1);L(A_[0],a,f),L(A_[1],a,p);function h(z,Y){var q={},se=0,ye={},je=0,De=2;if(UO(z,function(dt){ye[dt]=a[dt]}),UO(z,function(dt){_(n,dt)&&(q[dt]=ye[dt]=n[dt]),M(q,dt)&&se++,M(ye,dt)&&je++}),s[Y])return M(n,z[1])?ye[z[2]]=null:M(n,z[2])&&(ye[z[1]]=null),ye;if(je===De||!se)return ye;if(se>=De)return q;for(var We=0;We<z.length;We++){var st=z[We];if(!_(q,st)&&_(a,st)){q[st]=a[st];break}}return q}function _(z,Y){return z.hasOwnProperty(Y)}function M(z,Y){return z[Y]!=null&&z[Y]!=="auto"}function L(z,Y,q){UO(z,function(se){Y[se]=q[se]})}}function Py(a){return ST({},a)}function ST(a,n){return n&&a&&UO(BO,function(e){n.hasOwnProperty(e)&&(a[e]=n[e])}),a}var qP=ol(),Ry=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this,e,s,f)||this;return p.uid=fm("ec_cpt_model"),p}return n.prototype.init=function(e,s,f){this.mergeDefaultAndTheme(e,f)},n.prototype.mergeDefaultAndTheme=function(e,s){var f=a1(this),p=f?Py(e):{},h=s.getTheme();H.I(e,h.get(this.mainType)),H.I(e,this.getDefaultOption()),f&&k_(e,p,f)},n.prototype.mergeOption=function(e,s){H.I(this.option,e,!0);var f=a1(this);f&&k_(this.option,e,f)},n.prototype.optionUpdated=function(e,s){},n.prototype.getDefaultOption=function(){var e=this.constructor;if(!Fh(e))return e.defaultOption;var s=qP(this);if(!s.defaultOption){for(var f=[],p=e;p;){var h=p.prototype.defaultOption;h&&f.push(h),p=p.superClass}for(var _={},M=f.length-1;M>=0;M--)_=H.I(_,f[M],!0);s.defaultOption=_}return s.defaultOption},n.prototype.getReferringComponents=function(e,s){var f=e+"Index",p=e+"Id";return cp(this.ecModel,e,{index:this.get(f,!0),id:this.get(p,!0)},s)},n.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(e){this.option.zlevel=e},n.protoInitialize=function(){var e=n.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),n}(tp);Df(Ry,tp),Qf(Ry),eg(Ry),xy(Ry,eR);function eR(a){var n=[];return H.k(Ry.getClassesByMainType(a),function(e){n=n.concat(e.dependencies||e.prototype.dependencies||[])}),n=H.H(n,function(e){return up(e).main}),a!=="dataset"&&H.r(n,"dataset")<=0&&n.unshift("dataset"),n}var tf=Ry,wT="";typeof navigator!="undefined"&&(wT=navigator.platform||"");var S0="rgba(0, 0, 0, 0.2)",tR={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:S0,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:S0,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:S0,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:S0,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:S0,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:S0,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:wT.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},TT=Object(H.f)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),zh="original",qv="arrayRows",ng="objectRows",pm="keyedColumns",vm="typedArray",VO="unknown",bg="column",j_="row",eh={Must:1,Might:2,Not:3},AT=ol();function nR(a){AT(a).datasetMap=Object(H.f)()}function kT(a,n,e){var s={},f=bx(n);if(!f||!a)return s;var p=[],h=[],_=n.ecModel,M=AT(_).datasetMap,L=f.uid+"_"+e.seriesLayoutBy,z,Y;a=a.slice(),Object(H.k)(a,function(je,De){var We=Object(H.A)(je)?je:a[De]={name:je};We.type==="ordinal"&&z==null&&(z=De,Y=ye(We)),s[We.name]=[]});var q=M.get(L)||M.set(L,{categoryWayDim:Y,valueWayDim:0});Object(H.k)(a,function(je,De){var We=je.name,st=ye(je);if(z==null){var dt=q.valueWayDim;se(s[We],dt,st),se(h,dt,st),q.valueWayDim+=st}else if(z===De)se(s[We],0,st),se(p,0,st);else{var dt=q.categoryWayDim;se(s[We],dt,st),se(h,dt,st),q.categoryWayDim+=st}});function se(je,De,We){for(var st=0;st<We;st++)je.push(De+st)}function ye(je){var De=je.dimsDef;return De?De.length:1}return p.length&&(s.itemName=p),h.length&&(s.seriesName=h),s}function i1(a,n,e){var s={},f=bx(a);if(!f)return s;var p=n.sourceFormat,h=n.dimensionsDefine,_;(p===ng||p===pm)&&Object(H.k)(h,function(z,Y){(Object(H.A)(z)?z.name:z)==="name"&&(_=Y)});var M=function(){for(var z={},Y={},q=[],se=0,ye=Math.min(5,e);se<ye;se++){var je=Ah(n.data,p,n.seriesLayoutBy,h,n.startIndex,se);q.push(je);var De=je===eh.Not;if(De&&z.v==null&&se!==_&&(z.v=se),(z.n==null||z.n===z.v||!De&&q[z.n]===eh.Not)&&(z.n=se),We(z)&&q[z.n]!==eh.Not)return z;De||(je===eh.Might&&Y.v==null&&se!==_&&(Y.v=se),(Y.n==null||Y.n===Y.v)&&(Y.n=se))}function We(st){return st.v!=null&&st.n!=null}return We(z)?z:We(Y)?Y:null}();if(M){s.value=[M.v];var L=_!=null?_:M.n;s.itemName=[L],s.seriesName=[L]}return s}function bx(a){var n=a.get("data",!0);if(!n)return cp(a.ecModel,"dataset",{index:a.get("datasetIndex",!0),id:a.get("datasetId",!0)},Vu).models[0]}function rR(a){return!a.get("transform",!0)&&!a.get("fromTransformResult",!0)?[]:cp(a.ecModel,"dataset",{index:a.get("fromDatasetIndex",!0),id:a.get("fromDatasetId",!0)},Vu).models}function aR(a,n){return Ah(a.data,a.sourceFormat,a.seriesLayoutBy,a.dimensionsDefine,a.startIndex,n)}function Ah(a,n,e,s,f,p){var h,_=5;if(Object(H.E)(a))return eh.Not;var M,L;if(s){var z=s[p];Object(H.A)(z)?(M=z.name,L=z.type):Object(H.C)(z)&&(M=z)}if(L!=null)return L==="ordinal"?eh.Must:eh.Not;if(n===qv){var Y=a;if(e===j_){for(var q=Y[p],se=0;se<(q||[]).length&&se<_;se++)if((h=Mt(q[f+se]))!=null)return h}else for(var se=0;se<Y.length&&se<_;se++){var ye=Y[f+se];if(ye&&(h=Mt(ye[p]))!=null)return h}}else if(n===ng){var je=a;if(!M)return eh.Not;for(var se=0;se<je.length&&se<_;se++){var De=je[se];if(De&&(h=Mt(De[M]))!=null)return h}}else if(n===pm){var We=a;if(!M)return eh.Not;var q=We[M];if(!q||Object(H.E)(q))return eh.Not;for(var se=0;se<q.length&&se<_;se++)if((h=Mt(q[se]))!=null)return h}else if(n===zh)for(var st=a,se=0;se<st.length&&se<_;se++){var De=st[se],dt=aa(De);if(!Object(H.t)(dt))return eh.Not;if((h=Mt(dt[p]))!=null)return h}function Mt(nn){var rn=Object(H.C)(nn);if(nn!=null&&isFinite(nn)&&nn!=="")return rn?eh.Might:eh.Not;if(rn&&nn!=="-")return eh.Must}return eh.Not}var o1=Object(H.f)();function iR(a,n){Object(H.b)(o1.get(a)==null&&n),o1.set(a,n)}function oR(a,n,e){var s=o1.get(n);if(!s)return e;var f=s(a);if(!f)return e;if(!1)var p;return e.concat(f)}var jT=ol(),uF=ol(),s1=function(){function a(){}return a.prototype.getColorFromPalette=function(n,e,s){var f=St(this.get("color",!0)),p=this.get("colorLayer",!0);return sR(this,jT,f,p,n,e,s)},a.prototype.clearColorPalette=function(){dF(this,jT)},a}();function Ox(a,n,e,s){var f=St(a.get(["aria","decal","decals"]));return sR(a,uF,f,null,n,e,s)}function Cx(a,n){for(var e=a.length,s=0;s<e;s++)if(a[s].length>n)return a[s];return a[e-1]}function sR(a,n,e,s,f,p,h){p=p||a;var _=n(p),M=_.paletteIdx||0,L=_.paletteNameMap=_.paletteNameMap||{};if(L.hasOwnProperty(f))return L[f];var z=h==null||!s?e:Cx(s,h);if(z=z||e,!(!z||!z.length)){var Y=z[M];return f&&(L[f]=Y),_.paletteIdx=(M+1)%z.length,Y}}function dF(a,n){n(a).paletteIdx=0,n(a).paletteNameMap={}}var cR="[ECharts] ",Ex={},MT=typeof console!="undefined"&&console.warn&&console.log;function xx(a,n,e){if(MT){if(e){if(Ex[n])return;Ex[n]=!0}console[a](cR+n)}}function fF(a,n){xx("log",a,n)}function lR(a,n){xx("warn",a,n)}function Sx(a,n){xx("error",a,n)}function zO(a){}function pF(a,n,e){}function vF(){for(var a=[],n=0;n<arguments.length;n++)a[n]=arguments[n];var e="";if(!1)var s;return e}function Tf(a){throw new Error(a)}var w0,c1,PT,RT="\0_ec_inner",Tx=1,DT={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},hF={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},IT={};function D$(a){Object(H.k)(a,function(n,e){if(!tf.hasClass(e)){var s=DT[e];s&&!IT[s]&&(Sx("Component "+e+` is used but not imported.
import { `+s+` } from 'echarts/components';
echarts.use([`+s+"]);"),IT[s]=!0)}})}var NT=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.init=function(e,s,f,p,h,_){p=p||{},this.option=null,this._theme=new tp(p),this._locale=new tp(h),this._optionManager=_},n.prototype.setOption=function(e,s,f){var p=UT(s);this._optionManager.setOption(e,f,p),this._resetOption(null,p)},n.prototype.resetOption=function(e,s){return this._resetOption(e,UT(s))},n.prototype._resetOption=function(e,s){var f=!1,p=this._optionManager;if(!e||e==="recreate"){var h=p.mountOption(e==="recreate");!this.option||e==="recreate"?PT(this,h):(this.restoreData(),this._mergeOption(h,s)),f=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var _=p.getTimelineOption(this);_&&(f=!0,this._mergeOption(_,s))}if(!e||e==="recreate"||e==="media"){var M=p.getMediaOption(this);M.length&&Object(H.k)(M,function(L){f=!0,this._mergeOption(L,s)},this)}return f},n.prototype.mergeOption=function(e){this._mergeOption(e,null)},n.prototype._mergeOption=function(e,s){var f=this.option,p=this._componentsMap,h=this._componentsCount,_=[],M=Object(H.f)(),L=s&&s.replaceMergeMainTypeMap;nR(this),Object(H.k)(e,function(Y,q){Y!=null&&(tf.hasClass(q)?q&&(_.push(q),M.set(q,!0)):f[q]=f[q]==null?Object(H.d)(Y):Object(H.I)(f[q],Y,!0))}),L&&L.each(function(Y,q){tf.hasClass(q)&&!M.get(q)&&(_.push(q),M.set(q,!0))}),tf.topologicalTravel(_,tf.getAllClassMainTypes(),z,this);function z(Y){var q=oR(this,Y,St(e[Y])),se=p.get(Y),ye=se?L&&L.get(Y)?"replaceMerge":"normalMerge":"replaceAll",je=Jr(se,q,ye);Hu(je,Y,tf),f[Y]=null,p.set(Y,null),h.set(Y,0);var De=[],We=[],st=0,dt,Mt;Object(H.k)(je,function(nn,rn){var Cn=nn.existing,er=nn.newOption;if(!er)Cn&&(Cn.mergeOption({},this),Cn.optionUpdated({},!1));else{var ir=Y==="series",dr=tf.getClass(Y,nn.keyInfo.subType,!ir);if(!dr){if(!1)var pr,ia;return}if(Y==="tooltip"){if(dt)return;dt=!0}if(Cn&&Cn.constructor===dr)Cn.name=nn.keyInfo.name,Cn.mergeOption(er,this),Cn.optionUpdated(er,!1);else{var pa=Object(H.m)({componentIndex:rn},nn.keyInfo);Cn=new dr(er,this,this,pa),Object(H.m)(Cn,pa),nn.brandNew&&(Cn.__requireNewView=!0),Cn.init(er,this,this),Cn.optionUpdated(null,!0)}}Cn?(De.push(Cn.option),We.push(Cn),st++):(De.push(void 0),We.push(void 0))},this),f[Y]=De,p.set(Y,We),h.set(Y,st),Y==="series"&&w0(this)}this._seriesIndices||w0(this)},n.prototype.getOption=function(){var e=Object(H.d)(this.option);return Object(H.k)(e,function(s,f){if(tf.hasClass(f)){for(var p=St(s),h=p.length,_=!1,M=h-1;M>=0;M--)p[M]&&!_l(p[M])?_=!0:(p[M]=null,!_&&h--);p.length=h,e[f]=p}}),delete e[RT],e},n.prototype.getTheme=function(){return this._theme},n.prototype.getLocaleModel=function(){return this._locale},n.prototype.setUpdatePayload=function(e){this._payload=e},n.prototype.getUpdatePayload=function(){return this._payload},n.prototype.getComponent=function(e,s){var f=this._componentsMap.get(e);if(f){var p=f[s||0];if(p)return p;if(s==null){for(var h=0;h<f.length;h++)if(f[h])return f[h]}}},n.prototype.queryComponents=function(e){var s=e.mainType;if(!s)return[];var f=e.index,p=e.id,h=e.name,_=this._componentsMap.get(s);if(!_||!_.length)return[];var M;return f!=null?(M=[],Object(H.k)(St(f),function(L){_[L]&&M.push(_[L])})):p!=null?M=LT("id",p,_):h!=null?M=LT("name",h,_):M=Object(H.n)(_,function(L){return!!L}),FT(M,e)},n.prototype.findComponents=function(e){var s=e.query,f=e.mainType,p=_(s),h=p?this.queryComponents(p):Object(H.n)(this._componentsMap.get(f),function(L){return!!L});return M(FT(h,e));function _(L){var z=f+"Index",Y=f+"Id",q=f+"Name";return L&&(L[z]!=null||L[Y]!=null||L[q]!=null)?{mainType:f,index:L[z],id:L[Y],name:L[q]}:null}function M(L){return e.filter?Object(H.n)(L,e.filter):L}},n.prototype.eachComponent=function(e,s,f){var p=this._componentsMap;if(Object(H.w)(e)){var h=s,_=e;p.each(function(Y,q){for(var se=0;Y&&se<Y.length;se++){var ye=Y[se];ye&&_.call(h,q,ye,ye.componentIndex)}})}else for(var M=Object(H.C)(e)?p.get(e):Object(H.A)(e)?this.findComponents(e):null,L=0;M&&L<M.length;L++){var z=M[L];z&&s.call(f,z,z.componentIndex)}},n.prototype.getSeriesByName=function(e){var s=Ms(e,null);return Object(H.n)(this._componentsMap.get("series"),function(f){return!!f&&s!=null&&f.name===s})},n.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},n.prototype.getSeriesByType=function(e){return Object(H.n)(this._componentsMap.get("series"),function(s){return!!s&&s.subType===e})},n.prototype.getSeries=function(){return Object(H.n)(this._componentsMap.get("series"),function(e){return!!e})},n.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},n.prototype.eachSeries=function(e,s){c1(this),Object(H.k)(this._seriesIndices,function(f){var p=this._componentsMap.get("series")[f];e.call(s,p,f)},this)},n.prototype.eachRawSeries=function(e,s){Object(H.k)(this._componentsMap.get("series"),function(f){f&&e.call(s,f,f.componentIndex)})},n.prototype.eachSeriesByType=function(e,s,f){c1(this),Object(H.k)(this._seriesIndices,function(p){var h=this._componentsMap.get("series")[p];h.subType===e&&s.call(f,h,p)},this)},n.prototype.eachRawSeriesByType=function(e,s,f){return Object(H.k)(this.getSeriesByType(e),s,f)},n.prototype.isSeriesFiltered=function(e){return c1(this),this._seriesIndicesMap.get(e.componentIndex)==null},n.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},n.prototype.filterSeries=function(e,s){c1(this);var f=[];Object(H.k)(this._seriesIndices,function(p){var h=this._componentsMap.get("series")[p];e.call(s,h,p)&&f.push(p)},this),this._seriesIndices=f,this._seriesIndicesMap=Object(H.f)(f)},n.prototype.restoreData=function(e){w0(this);var s=this._componentsMap,f=[];s.each(function(p,h){tf.hasClass(h)&&f.push(h)}),tf.topologicalTravel(f,tf.getAllClassMainTypes(),function(p){Object(H.k)(s.get(p),function(h){h&&(p!=="series"||!uR(h,e))&&h.restoreData()})})},n.internalField=function(){w0=function(e){var s=e._seriesIndices=[];Object(H.k)(e._componentsMap.get("series"),function(f){f&&s.push(f.componentIndex)}),e._seriesIndicesMap=Object(H.f)(s)},c1=function(e){},PT=function(e,s){e.option={},e.option[RT]=Tx,e._componentsMap=Object(H.f)({series:[]}),e._componentsCount=Object(H.f)();var f=s.aria;Object(H.A)(f)&&f.enabled==null&&(f.enabled=!0),gF(s,e._theme.option),Object(H.I)(s,tR,!1),e._mergeOption(s,null)}}(),n}(tp);function uR(a,n){if(n){var e=n.seriesIndex,s=n.seriesId,f=n.seriesName;return e!=null&&a.componentIndex!==e||s!=null&&a.id!==s||f!=null&&a.name!==f}}function gF(a,n){var e=a.color&&!a.colorLayer;Object(H.k)(n,function(s,f){f==="colorLayer"&&e||tf.hasClass(f)||(typeof s=="object"?a[f]=a[f]?Object(H.I)(a[f],s,!1):Object(H.d)(s):a[f]==null&&(a[f]=s))})}function LT(a,n,e){if(Object(H.t)(n)){var s=Object(H.f)();return Object(H.k)(n,function(p){if(p!=null){var h=Ms(p,null);h!=null&&s.set(p,!0)}}),Object(H.n)(e,function(p){return p&&s.get(p[a])})}else{var f=Ms(n,null);return Object(H.n)(e,function(p){return p&&f!=null&&p[a]===f})}}function FT(a,n){return n.hasOwnProperty("subType")?Object(H.n)(a,function(e){return e&&e.subType===n.subType}):a}function UT(a){var n=Object(H.f)();return a&&Object(H.k)(St(a.replaceMerge),function(e){n.set(e,!0)}),{replaceMergeMainTypeMap:n}}Object(H.K)(NT,s1);var BT=NT,mF=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],dR=function(){function a(n){H.k(mF,function(e){this[e]=H.c(n[e],n)},this)}return a}(),be=dR,Be={},Nt=function(){function a(){this._coordinateSystems=[]}return a.prototype.create=function(n,e){var s=[];H.k(Be,function(f,p){var h=f.create(n,e);s=s.concat(h||[])}),this._coordinateSystems=s},a.prototype.update=function(n,e){H.k(this._coordinateSystems,function(s){s.update&&s.update(n,e)})},a.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},a.register=function(n,e){Be[n]=e},a.get=function(n){return Be[n]},a}(),In=Nt,Zr=/^(min|max)?(.+)$/,Ha=function(){function a(n){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=n}return a.prototype.setOption=function(n,e,s){n&&(Object(H.k)(St(n.series),function(h){h&&h.data&&Object(H.E)(h.data)&&Object(H.R)(h.data)}),Object(H.k)(St(n.dataset),function(h){h&&h.source&&Object(H.E)(h.source)&&Object(H.R)(h.source)})),n=Object(H.d)(n);var f=this._optionBackup,p=Ui(n,e,!f);this._newBaseOption=p.baseOption,f?(p.timelineOptions.length&&(f.timelineOptions=p.timelineOptions),p.mediaList.length&&(f.mediaList=p.mediaList),p.mediaDefault&&(f.mediaDefault=p.mediaDefault)):this._optionBackup=p},a.prototype.mountOption=function(n){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Object(H.d)(n?e.baseOption:this._newBaseOption)},a.prototype.getTimelineOption=function(n){var e,s=this._timelineOptions;if(s.length){var f=n.getComponent("timeline");f&&(e=Object(H.d)(s[f.getCurrentIndex()]))}return e},a.prototype.getMediaOption=function(n){var e=this._api.getWidth(),s=this._api.getHeight(),f=this._mediaList,p=this._mediaDefault,h=[],_=[];if(!f.length&&!p)return _;for(var M=0,L=f.length;M<L;M++)Oo(f[M].query,e,s)&&h.push(M);return!h.length&&p&&(h=[-1]),h.length&&!wc(h,this._currentMediaIndices)&&(_=Object(H.H)(h,function(z){return Object(H.d)(z===-1?p.option:f[z].option)})),this._currentMediaIndices=h,_},a}();function Ui(a,n,e){var s=[],f,p,h=a.baseOption,_=a.timeline,M=a.options,L=a.media,z=!!a.media,Y=!!(M||_||h&&h.timeline);h?(p=h,p.timeline||(p.timeline=_)):((Y||z)&&(a.options=a.media=null),p=a),z&&Object(H.t)(L)&&Object(H.k)(L,function(se){se&&se.option&&(se.query?s.push(se):f||(f=se))}),q(p),Object(H.k)(M,function(se){return q(se)}),Object(H.k)(s,function(se){return q(se.option)});function q(se){Object(H.k)(n,function(ye){ye(se,e)})}return{baseOption:p,timelineOptions:M||[],mediaDefault:f,mediaList:s}}function Oo(a,n,e){var s={width:n,height:e,aspectratio:n/e},f=!0;return Object(H.k)(a,function(p,h){var _=h.match(Zr);if(!(!_||!_[1]||!_[2])){var M=_[1],L=_[2].toLowerCase();Ko(s[L],p,M)||(f=!1)}}),f}function Ko(a,n,e){return e==="min"?a>=n:e==="max"?a<=n:a===n}function wc(a,n){return a.join(",")===n.join(",")}var Mc=Ha,Pc=H.k,Ul=H.A,Iu=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function wd(a){var n=a&&a.itemStyle;if(!!n)for(var e=0,s=Iu.length;e<s;e++){var f=Iu[e],p=n.normal,h=n.emphasis;p&&p[f]&&(a[f]=a[f]||{},a[f].normal?H.I(a[f].normal,p[f]):a[f].normal=p[f],p[f]=null),h&&h[f]&&(a[f]=a[f]||{},a[f].emphasis?H.I(a[f].emphasis,h[f]):a[f].emphasis=h[f],h[f]=null)}}function hd(a,n,e){if(a&&a[n]&&(a[n].normal||a[n].emphasis)){var s=a[n].normal,f=a[n].emphasis;s&&(e?(a[n].normal=a[n].emphasis=null,H.i(a[n],s)):a[n]=s),f&&(a.emphasis=a.emphasis||{},a.emphasis[n]=f,f.focus&&(a.emphasis.focus=f.focus),f.blurScope&&(a.emphasis.blurScope=f.blurScope))}}function _d(a){hd(a,"itemStyle"),hd(a,"lineStyle"),hd(a,"areaStyle"),hd(a,"label"),hd(a,"labelLine"),hd(a,"upperLabel"),hd(a,"edgeLabel")}function Zu(a,n){var e=Ul(a)&&a[n],s=Ul(e)&&e.textStyle;if(s)for(var f=0,p=Dn.length;f<p;f++){var h=Dn[f];s.hasOwnProperty(h)&&(e[h]=s[h])}}function zd(a){a&&(_d(a),Zu(a,"label"),a.emphasis&&Zu(a.emphasis,"label"))}function rg(a){if(!!Ul(a)){wd(a),_d(a),Zu(a,"label"),Zu(a,"upperLabel"),Zu(a,"edgeLabel"),a.emphasis&&(Zu(a.emphasis,"label"),Zu(a.emphasis,"upperLabel"),Zu(a.emphasis,"edgeLabel"));var n=a.markPoint;n&&(wd(n),zd(n));var e=a.markLine;e&&(wd(e),zd(e));var s=a.markArea;s&&zd(s);var f=a.data;if(a.type==="graph"){f=f||a.nodes;var p=a.links||a.edges;if(p&&!H.E(p))for(var h=0;h<p.length;h++)zd(p[h]);H.k(a.categories,function(L){_d(L)})}if(f&&!H.E(f))for(var h=0;h<f.length;h++)zd(f[h]);if(n=a.markPoint,n&&n.data)for(var _=n.data,h=0;h<_.length;h++)zd(_[h]);if(e=a.markLine,e&&e.data)for(var M=e.data,h=0;h<M.length;h++)H.t(M[h])?(zd(M[h][0]),zd(M[h][1])):zd(M[h]);a.type==="gauge"?(Zu(a,"axisLabel"),Zu(a,"title"),Zu(a,"detail")):a.type==="treemap"?(hd(a.breadcrumb,"itemStyle"),H.k(a.levels,function(L){_d(L)})):a.type==="tree"&&_d(a.leaves)}}function Yp(a){return H.t(a)?a:a?[a]:[]}function Hh(a){return(H.t(a)?a[0]:a)||{}}function uv(a,n){Pc(Yp(a.series),function(s){Ul(s)&&rg(s)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];n&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),Pc(e,function(s){Pc(Yp(a[s]),function(f){f&&(Zu(f,"axisLabel"),Zu(f.axisPointer,"label"))})}),Pc(Yp(a.parallel),function(s){var f=s&&s.parallelAxisDefault;Zu(f,"axisLabel"),Zu(f&&f.axisPointer,"label")}),Pc(Yp(a.calendar),function(s){hd(s,"itemStyle"),Zu(s,"dayLabel"),Zu(s,"monthLabel"),Zu(s,"yearLabel")}),Pc(Yp(a.radar),function(s){Zu(s,"name"),s.name&&s.axisName==null&&(s.axisName=s.name,delete s.name),s.nameGap!=null&&s.axisNameGap==null&&(s.axisNameGap=s.nameGap,delete s.nameGap)}),Pc(Yp(a.geo),function(s){Ul(s)&&(zd(s),Pc(Yp(s.regions),function(f){zd(f)}))}),Pc(Yp(a.timeline),function(s){zd(s),hd(s,"label"),hd(s,"itemStyle"),hd(s,"controlStyle",!0);var f=s.data;H.t(f)&&H.k(f,function(p){H.A(p)&&(hd(p,"label"),hd(p,"itemStyle"))})}),Pc(Yp(a.toolbox),function(s){hd(s,"iconStyle"),Pc(s.feature,function(f){hd(f,"iconStyle")})}),Zu(Hh(a.axisPointer),"label"),Zu(Hh(a.tooltip).axisPointer,"label")}function Og(a,n){for(var e=n.split(","),s=a,f=0;f<e.length&&(s=s&&s[e[f]],s!=null);f++);return s}function Lm(a,n,e,s){for(var f=n.split(","),p=a,h,_=0;_<f.length-1;_++)h=f[_],p[h]==null&&(p[h]={}),p=p[h];(s||p[f[_]]==null)&&(p[f[_]]=e)}function M_(a){a&&Object(H.k)(Bs,function(n){n[0]in a&&!(n[1]in a)&&(a[n[1]]=a[n[0]])})}var Bs=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],If=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],l1=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Ax(a){var n=a&&a.itemStyle;if(n)for(var e=0;e<l1.length;e++){var s=l1[e][1],f=l1[e][0];n[s]!=null&&(n[f]=n[s])}}function _F(a){!a||a.alignTo==="edge"&&a.margin!=null&&a.edgeDistance==null&&(a.edgeDistance=a.margin)}function yF(a){!a||a.downplay&&!a.blur&&(a.blur=a.downplay)}function qc(a){!a||a.focusNodeAdjacency!=null&&(a.emphasis=a.emphasis||{},a.emphasis.focus==null&&(a.emphasis.focus="adjacency"))}function Gh(a,n){if(a)for(var e=0;e<a.length;e++)n(a[e]),a[e]&&Gh(a[e].children,n)}function I$(a,n){uv(a,n),a.series=St(a.series),Object(H.k)(a.series,function(e){if(!!Object(H.A)(e)){var s=e.type;if(s==="line")e.clipOverflow!=null&&(e.clip=e.clipOverflow);else if(s==="pie"||s==="gauge"){e.clockWise!=null&&(e.clockwise=e.clockWise),_F(e.label);var f=e.data;if(f&&!Object(H.E)(f))for(var p=0;p<f.length;p++)_F(f[p]);e.hoverOffset!=null&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if(s==="gauge"){var h=Og(e,"pointer.color");h!=null&&Lm(e,"itemStyle.color",h)}else if(s==="bar"){Ax(e),Ax(e.backgroundStyle),Ax(e.emphasis);var f=e.data;if(f&&!Object(H.E)(f))for(var p=0;p<f.length;p++)typeof f[p]=="object"&&(Ax(f[p]),Ax(f[p]&&f[p].emphasis))}else if(s==="sunburst"){var _=e.highlightPolicy;_&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=_)),yF(e),Gh(e.data,yF)}else s==="graph"||s==="sankey"?qc(e):s==="map"&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Object(H.i)(e,e.mapLocation));e.hoverAnimation!=null&&(e.emphasis=e.emphasis||{},e.emphasis&&e.emphasis.scale==null&&(e.emphasis.scale=e.hoverAnimation)),M_(e)}}),a.dataRange&&(a.visualMap=a.dataRange),Object(H.k)(If,function(e){var s=a[e];s&&(Object(H.t)(s)||(s=[s]),Object(H.k)(s,function(f){M_(f)}))})}function av(a){var n=Object(H.f)();a.eachSeries(function(e){var s=e.get("stack");if(s){var f=n.get(s)||n.set(s,[]),p=e.getData(),h={stackResultDimension:p.getCalculationInfo("stackResultDimension"),stackedOverDimension:p.getCalculationInfo("stackedOverDimension"),stackedDimension:p.getCalculationInfo("stackedDimension"),stackedByDimension:p.getCalculationInfo("stackedByDimension"),isStackedByIndex:p.getCalculationInfo("isStackedByIndex"),data:p,seriesModel:e};if(!h.stackedDimension||!(h.isStackedByIndex||h.stackedByDimension))return;f.length&&p.setCalculationInfo("stackedOnSeries",f[f.length-1].seriesModel),f.push(h)}}),n.each(N$)}function N$(a){Object(H.k)(a,function(n,e){var s=[],f=[NaN,NaN],p=[n.stackResultDimension,n.stackedOverDimension],h=n.data,_=n.isStackedByIndex,M=n.seriesModel.get("stackStrategy")||"samesign";h.modify(p,function(L,z,Y){var q=h.get(n.stackedDimension,Y);if(isNaN(q))return f;var se,ye;_?ye=h.getRawIndex(Y):se=h.get(n.stackedByDimension,Y);for(var je=NaN,De=e-1;De>=0;De--){var We=a[De];if(_||(ye=We.data.rawIndexOf(We.stackedByDimension,se)),ye>=0){var st=We.data.getByRawIndex(We.stackResultDimension,ye);if(M==="all"||M==="positive"&&st>0||M==="negative"&&st<0||M==="samesign"&&q>=0&&st>0||M==="samesign"&&q<=0&&st<0){q=lu(q,st),je=st;break}}}return s[0]=q,s[1]=je,s})})}var HO=function(){function a(n){this.data=n.data||(n.sourceFormat===pm?{}:[]),this.sourceFormat=n.sourceFormat||VO,this.seriesLayoutBy=n.seriesLayoutBy||bg,this.startIndex=n.startIndex||0,this.dimensionsDetectedCount=n.dimensionsDetectedCount,this.metaRawOption=n.metaRawOption;var e=this.dimensionsDefine=n.dimensionsDefine;if(e)for(var s=0;s<e.length;s++){var f=e[s];f.type==null&&aR(this,s)===eh.Must&&(f.type="ordinal")}}return a}();function bF(a){return a instanceof HO}function kx(a,n,e){e=e||OF(a);var s=n.seriesLayoutBy,f=GO(a,e,s,n.sourceHeader,n.dimensions),p=new HO({data:a,sourceFormat:e,seriesLayoutBy:s,dimensionsDefine:f.dimensionsDefine,startIndex:f.startIndex,dimensionsDetectedCount:f.dimensionsDetectedCount,metaRawOption:Object(H.d)(n)});return p}function jx(a){return new HO({data:a,sourceFormat:Object(H.E)(a)?vm:zh})}function L$(a){return new HO({data:a.data,sourceFormat:a.sourceFormat,seriesLayoutBy:a.seriesLayoutBy,dimensionsDefine:Object(H.d)(a.dimensionsDefine),startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount})}function OF(a){var n=VO;if(Object(H.E)(a))n=vm;else if(Object(H.t)(a)){a.length===0&&(n=qv);for(var e=0,s=a.length;e<s;e++){var f=a[e];if(f!=null){if(Object(H.t)(f)){n=qv;break}else if(Object(H.A)(f)){n=ng;break}}}}else if(Object(H.A)(a)){for(var p in a)if(Object(H.q)(a,p)&&Object(H.u)(a[p])){n=pm;break}}return n}function GO(a,n,e,s,f){var p,h;if(!a)return{dimensionsDefine:Yf(f),startIndex:h,dimensionsDetectedCount:p};if(n===qv){var _=a;s==="auto"||s==null?fR(function(L){L!=null&&L!=="-"&&(Object(H.C)(L)?h==null&&(h=1):h=0)},e,_,10):h=Object(H.z)(s)?s:s?1:0,!f&&h===1&&(f=[],fR(function(L,z){f[z]=L!=null?L+"":""},e,_,Infinity)),p=f?f.length:e===j_?_.length:_[0]?_[0].length:null}else if(n===ng)f||(f=F$(a));else if(n===pm)f||(f=[],Object(H.k)(a,function(L,z){f.push(z)}));else if(n===zh){var M=aa(a[0]);p=Object(H.t)(M)&&M.length||1}return{startIndex:h,dimensionsDefine:Yf(f),dimensionsDetectedCount:p}}function F$(a){for(var n=0,e;n<a.length&&!(e=a[n++]););if(e)return Object(H.F)(e)}function Yf(a){if(!!a){var n=Object(H.f)();return Object(H.H)(a,function(e,s){e=Object(H.A)(e)?e:{name:e};var f={name:e.name,displayName:e.displayName,type:e.type};if(f.name==null)return f;f.name+="",f.displayName==null&&(f.displayName=f.name);var p=n.get(f.name);return p?f.name+="-"+p.count++:n.set(f.name,{count:1}),f})}}function fR(a,n,e,s){if(n===j_)for(var f=0;f<e.length&&f<s;f++)a(e[f]?e[f][0]:null,f);else for(var p=e[0]||[],f=0;f<p.length&&f<s;f++)a(p[f],f)}function CF(a){var n=a.sourceFormat;return n===ng||n===pm}var u1,T0,d1,EF,pR,xF=function(){function a(n,e){var s=bF(n)?n:jx(n);this._source=s;var f=this._data=s.data;s.sourceFormat===vm&&(this._offset=0,this._dimSize=e,this._data=f),pR(this,f,s)}return a.prototype.getSource=function(){return this._source},a.prototype.count=function(){return 0},a.prototype.getItem=function(n,e){},a.prototype.appendData=function(n){},a.prototype.clean=function(){},a.protoInitialize=function(){var n=a.prototype;n.pure=!1,n.persistent=!0}(),a.internalField=function(){var n;pR=function(h,_,M){var L=M.sourceFormat,z=M.seriesLayoutBy,Y=M.startIndex,q=M.dimensionsDefine,se=EF[gR(L,z)];if(Object(H.m)(h,se),L===vm)h.getItem=e,h.count=f,h.fillStorage=s;else{var ye=vR(L,z);h.getItem=Object(H.c)(ye,null,_,Y,q);var je=AF(L,z);h.count=Object(H.c)(je,null,_,Y,q)}};var e=function(h,_){h=h-this._offset,_=_||[];for(var M=this._data,L=this._dimSize,z=L*h,Y=0;Y<L;Y++)_[Y]=M[z+Y];return _},s=function(h,_,M,L){for(var z=this._data,Y=this._dimSize,q=0;q<Y;q++){for(var se=L[q],ye=se[0]==null?Infinity:se[0],je=se[1]==null?-Infinity:se[1],De=_-h,We=M[q],st=0;st<De;st++){var dt=z[st*Y+q];We[h+st]=dt,dt<ye&&(ye=dt),dt>je&&(je=dt)}se[0]=ye,se[1]=je}},f=function(){return this._data?this._data.length/this._dimSize:0};EF=(n={},n[qv+"_"+bg]={pure:!0,appendData:p},n[qv+"_"+j_]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},n[ng]={pure:!0,appendData:p},n[pm]={pure:!0,appendData:function(h){var _=this._data;Object(H.k)(h,function(M,L){for(var z=_[L]||(_[L]=[]),Y=0;Y<(M||[]).length;Y++)z.push(M[Y])})}},n[zh]={appendData:p},n[vm]={persistent:!1,pure:!0,appendData:function(h){this._data=h},clean:function(){this._offset+=this.count(),this._data=null}},n);function p(h){for(var _=0;_<h.length;_++)this._data.push(h[_])}}(),a}(),SF=function(a,n,e,s){return a[s]},U$=(u1={},u1[qv+"_"+bg]=function(a,n,e,s){return a[s+n]},u1[qv+"_"+j_]=function(a,n,e,s,f){s+=n;for(var p=f||[],h=a,_=0;_<h.length;_++){var M=h[_];p[_]=M?M[s]:null}return p},u1[ng]=SF,u1[pm]=function(a,n,e,s,f){for(var p=f||[],h=0;h<e.length;h++){var _=e[h].name,M=a[_];p[h]=M?M[s]:null}return p},u1[zh]=SF,u1);function vR(a,n){var e=U$[gR(a,n)];return e}var wF=function(a,n,e){return a.length},TF=(T0={},T0[qv+"_"+bg]=function(a,n,e){return Math.max(0,a.length-n)},T0[qv+"_"+j_]=function(a,n,e){var s=a[0];return s?Math.max(0,s.length-n):0},T0[ng]=wF,T0[pm]=function(a,n,e){var s=e[0].name,f=a[s];return f?f.length:0},T0[zh]=wF,T0);function AF(a,n){var e=TF[gR(a,n)];return e}var VT=function(a,n,e){return a[n]},B$=(d1={},d1[qv]=VT,d1[ng]=function(a,n,e){return a[e]},d1[pm]=VT,d1[zh]=function(a,n,e){var s=aa(a);return s instanceof Array?s[n]:s},d1[vm]=VT,d1);function hR(a){var n=B$[a];return n}function gR(a,n){return a===qv?a+"_"+n:a}function f1(a,n,e){if(!!a){var s=a.getRawDataItem(n);if(s!=null){var f=a.getStore(),p=f.getSource().sourceFormat;if(e!=null){var h=a.getDimensionIndex(e),_=f.getDimensionProperty(h);return hR(p)(s,h,_)}else{var M=s;return p===zh&&(M=aa(s)),M}}}}function nse(a,n,e){if(!!a){var s=a.getStore().getSource().sourceFormat;if(!(s!==zh&&s!==ng)){var f=a.getRawDataItem(n);if(s===zh&&!Object(H.A)(f)&&(f=null),f)return f[e]}}}var V$=/\{@(.+?)\}/g,mR=function(){function a(){}return a.prototype.getDataParams=function(n,e){var s=this.getData(e),f=this.getRawValue(n,e),p=s.getRawIndex(n),h=s.getName(n),_=s.getRawDataItem(n),M=s.getItemVisual(n,"style"),L=M&&M[s.getItemVisual(n,"drawType")||"fill"],z=M&&M.stroke,Y=this.mainType,q=Y==="series",se=s.userOutput&&s.userOutput.get();return{componentType:Y,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:q?this.subType:null,seriesIndex:this.seriesIndex,seriesId:q?this.id:null,seriesName:q?this.name:null,name:h,dataIndex:p,data:_,dataType:e,value:f,color:L,borderColor:z,dimensionNames:se?se.fullDimensions:null,encode:se?se.encode:null,$vars:["seriesName","name","value"]}},a.prototype.getFormattedLabel=function(n,e,s,f,p,h){e=e||"normal";var _=this.getData(s),M=this.getDataParams(n,s);if(h&&(M.value=h.interpolatedValue),f!=null&&H.t(M.value)&&(M.value=M.value[f]),!p){var L=_.getItemModel(n);p=L.get(e==="normal"?["label","formatter"]:[e,"label","formatter"])}if(H.w(p))return M.status=e,M.dimensionIndex=f,p(M);if(H.C(p)){var z=_x(p,M);return z.replace(V$,function(Y,q){var se=q.length,ye=q;ye.charAt(0)==="["&&ye.charAt(se-1)==="]"&&(ye=+ye.slice(1,se-1));var je=f1(_,n,ye);if(h&&H.t(h.interpolatedValue)){var De=_.getDimensionIndex(ye);De>=0&&(je=h.interpolatedValue[De])}return je!=null?je+"":""})}},a.prototype.getRawValue=function(n,e){return f1(this.getData(e),n)},a.prototype.formatTooltip=function(n,e,s){},a}();function kF(a){var n,e;return H.A(a)?a.type&&(e=a):n=a,{text:n,frag:e}}function $O(a){return new z$(a)}var z$=function(){function a(n){n=n||{},this._reset=n.reset,this._plan=n.plan,this._count=n.count,this._onDirty=n.onDirty,this._dirty=!0}return a.prototype.perform=function(n){var e=this._upstream,s=n&&n.skip;if(this._dirty&&e){var f=this.context;f.data=f.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var p;this._plan&&!s&&(p=this._plan(this.context));var h=z(this._modBy),_=this._modDataCount||0,M=z(n&&n.modBy),L=n&&n.modDataCount||0;(h!==M||_!==L)&&(p="reset");function z(st){return!(st>=1)&&(st=1),st}var Y;(this._dirty||p==="reset")&&(this._dirty=!1,Y=this._doReset(s)),this._modBy=M,this._modDataCount=L;var q=n&&n.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var se=this._dueIndex,ye=Math.min(q!=null?this._dueIndex+q:Infinity,this._dueEnd);if(!s&&(Y||se<ye)){var je=this._progress;if(Object(H.t)(je))for(var De=0;De<je.length;De++)this._doProgress(je[De],se,ye,M,L);else this._doProgress(je,se,ye,M,L)}this._dueIndex=ye;var We=this._settedOutputEnd!=null?this._settedOutputEnd:ye;this._outputDueEnd=We}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},a.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},a.prototype._doProgress=function(n,e,s,f,p){jF.reset(e,s,f,p),this._callingProgress=n,this._callingProgress({start:e,end:s,count:s-e,next:jF.next},this.context)},a.prototype._doReset=function(n){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var e,s;!n&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(s=e.forceFirstProgress,e=e.progress),Object(H.t)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var f=this._downstream;return f&&f.dirty(),s},a.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},a.prototype.pipe=function(n){(this._downstream!==n||this._dirty)&&(this._downstream=n,n._upstream=this,n.dirty())},a.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},a.prototype.getUpstream=function(){return this._upstream},a.prototype.getDownstream=function(){return this._downstream},a.prototype.setOutputEnd=function(n){this._outputDueEnd=this._settedOutputEnd=n},a}(),jF=function(){var a,n,e,s,f,p={reset:function(M,L,z,Y){n=M,a=L,e=z,s=Y,f=Math.ceil(s/e),p.next=e>1&&s>0?_:h}};return p;function h(){return n<a?n++:null}function _(){var M=n%f*e+Math.ceil(n/f),L=n>=a?null:M<s?M:n;return n++,L}}();function Dy(a,n){var e=n&&n.type;return e==="ordinal"?a:(e==="time"&&!Object(H.z)(a)&&a!=null&&a!=="-"&&(a=+ct(a)),a==null||a===""?NaN:+a)}var MF=Object(H.f)({number:function(a){return parseFloat(a)},time:function(a){return+ct(a)},trim:function(a){return Object(H.C)(a)?Object(H.T)(a):a}});function PF(a){return MF.get(a)}var _R={lt:function(a,n){return a<n},lte:function(a,n){return a<=n},gt:function(a,n){return a>n},gte:function(a,n){return a>=n}},H$=function(){function a(n,e){if(!Object(H.z)(e)){var s="";Tf(s)}this._opFn=_R[n],this._rvalFloat=Xs(e)}return a.prototype.evaluate=function(n){return Object(H.z)(n)?this._opFn(n,this._rvalFloat):this._opFn(Xs(n),this._rvalFloat)},a}(),RF=function(){function a(n,e){var s=n==="desc";this._resultLT=s?1:-1,e==null&&(e=s?"min":"max"),this._incomparable=e==="min"?-Infinity:Infinity}return a.prototype.evaluate=function(n,e){var s=Object(H.z)(n)?n:Xs(n),f=Object(H.z)(e)?e:Xs(e),p=isNaN(s),h=isNaN(f);if(p&&(s=this._incomparable),h&&(f=this._incomparable),p&&h){var _=Object(H.C)(n),M=Object(H.C)(e);_&&(s=M?n:0),M&&(f=_?e:0)}return s<f?this._resultLT:s>f?-this._resultLT:0},a}(),DF=function(){function a(n,e){this._rval=e,this._isEQ=n,this._rvalTypeof=typeof e,this._rvalFloat=Xs(e)}return a.prototype.evaluate=function(n){var e=n===this._rval;if(!e){var s=typeof n;s!==this._rvalTypeof&&(s==="number"||this._rvalTypeof==="number")&&(e=Xs(n)===this._rvalFloat)}return this._isEQ?e:!e},a}();function G$(a,n){return a==="eq"||a==="ne"?new DF(a==="eq",n):Object(H.q)(_R,a)?new H$(a,n):null}var $$=function(){function a(){}return a.prototype.getRawData=function(){throw new Error("not supported")},a.prototype.getRawDataItem=function(n){throw new Error("not supported")},a.prototype.cloneRawData=function(){},a.prototype.getDimensionInfo=function(n){},a.prototype.cloneAllDimensionInfo=function(){},a.prototype.count=function(){},a.prototype.retrieveValue=function(n,e){},a.prototype.retrieveValueFromItem=function(n,e){},a.prototype.convertValue=function(n,e){return Dy(n,e)},a}();function W$(a,n){var e=new $$,s=a.data,f=e.sourceFormat=a.sourceFormat,p=a.startIndex,h="";a.seriesLayoutBy!==bg&&Tf(h);var _=[],M={},L=a.dimensionsDefine;if(L)Object(H.k)(L,function(je,De){var We=je.name,st={index:De,name:We,displayName:je.displayName};if(_.push(st),We!=null){var dt="";Object(H.q)(M,We)&&Tf(dt),M[We]=st}});else for(var z=0;z<a.dimensionsDetectedCount;z++)_.push({index:z});var Y=vR(f,bg);n.__isBuiltIn&&(e.getRawDataItem=function(je){return Y(s,p,_,je)},e.getRawData=Object(H.c)(IF,null,a)),e.cloneRawData=Object(H.c)(K$,null,a);var q=AF(f,bg);e.count=Object(H.c)(q,null,s,p,_);var se=hR(f);e.retrieveValue=function(je,De){var We=Y(s,p,_,je);return ye(We,De)};var ye=e.retrieveValueFromItem=function(je,De){if(je!=null){var We=_[De];if(We)return se(je,De,We.name)}};return e.getDimensionInfo=Object(H.c)(Y$,null,_,M),e.cloneAllDimensionInfo=Object(H.c)(X$,null,_),e}function IF(a){var n=a.sourceFormat;if(!LF(n)){var e="";Tf(e)}return a.data}function K$(a){var n=a.sourceFormat,e=a.data;if(!LF(n)){var s="";Tf(s)}if(n===qv){for(var f=[],p=0,h=e.length;p<h;p++)f.push(e[p].slice());return f}else if(n===ng){for(var f=[],p=0,h=e.length;p<h;p++)f.push(Object(H.m)({},e[p]));return f}}function Y$(a,n,e){if(e!=null){if(Object(H.z)(e)||!isNaN(e)&&!Object(H.q)(n,e))return a[e];if(Object(H.q)(n,e))return n[e]}}function X$(a){return Object(H.d)(a)}var yR=Object(H.f)();function J$(a){a=Object(H.d)(a);var n=a.type,e="";n||Tf(e);var s=n.split(":");s.length!==2&&Tf(e);var f=!1;s[0]==="echarts"&&(n=s[1],f=!0),a.__isBuiltIn=f,yR.set(n,a)}function NF(a,n,e){var s=St(a),f=s.length,p="";f||Tf(p);for(var h=0,_=f;h<_;h++){var M=s[h];n=zT(M,n,e,f===1?null:h),h!==_-1&&(n.length=Math.max(n.length,1))}return n}function zT(a,n,e,s){var f="";n.length||Tf(f),Object(H.A)(a)||Tf(f);var p=a.type,h=yR.get(p);h||Tf(f);var _=Object(H.H)(n,function(z){return W$(z,h)}),M=St(h.transform({upstream:_[0],upstreamList:_,config:Object(H.d)(a.config)}));if(!1)var L;return Object(H.H)(M,function(z,Y){var q="";Object(H.A)(z)||Tf(q),z.data||Tf(q);var se=OF(z.data);LF(se)||Tf(q);var ye,je=n[0];if(je&&Y===0&&!z.dimensions){var De=je.startIndex;De&&(z.data=je.data.slice(0,De).concat(z.data)),ye={seriesLayoutBy:bg,sourceHeader:De,dimensions:je.metaRawOption.dimensions}}else ye={seriesLayoutBy:bg,sourceHeader:0,dimensions:z.dimensions};return kx(z.data,ye,null)})}function LF(a){return a===qv||a===ng}var bR="undefined",rse=typeof Uint32Array===bR?Array:Uint32Array,ase=typeof Uint16Array===bR?Array:Uint16Array,FF=typeof Int32Array===bR?Array:Int32Array,UF=typeof Float64Array===bR?Array:Float64Array,BF={float:UF,int:FF,ordinal:Array,number:Array,time:UF},OR;function Mx(a){return a>65535?rse:ase}function WO(){return[Infinity,-Infinity]}function Z$(a){var n=a.constructor;return n===Array?a.slice():new n(a)}function VF(a,n,e,s,f){var p=BF[e||"float"];if(f){var h=a[n],_=h&&h.length;if(_!==s){for(var M=new p(s),L=0;L<_;L++)M[L]=h[L];a[n]=M}}else a[n]=new p(s)}var zF=function(){function a(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(H.f)()}return a.prototype.initData=function(n,e,s){this._provider=n,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var f=n.getSource(),p=this.defaultDimValueGetter=OR[f.sourceFormat];this._dimValueGetter=s||p,this._rawExtent=[];var h=CF(f);this._dimensions=Object(H.H)(e,function(_){return{type:_.type,property:_.property}}),this._initDataFromProvider(0,n.count())},a.prototype.getProvider=function(){return this._provider},a.prototype.getSource=function(){return this._provider.getSource()},a.prototype.ensureCalculationDimension=function(n,e){var s=this._calcDimNameToIdx,f=this._dimensions,p=s.get(n);if(p!=null){if(f[p].type===e)return p}else p=f.length;return f[p]={type:e},s.set(n,p),this._chunks[p]=new BF[e||"float"](this._rawCount),this._rawExtent[p]=WO(),p},a.prototype.collectOrdinalMeta=function(n,e){var s=this._chunks[n],f=this._dimensions[n],p=this._rawExtent,h=f.ordinalOffset||0,_=s.length;h===0&&(p[n]=WO());for(var M=p[n],L=h;L<_;L++){var z=s[L]=e.parseAndCollect(s[L]);isNaN(z)||(M[0]=Math.min(z,M[0]),M[1]=Math.max(z,M[1]))}f.ordinalMeta=e,f.ordinalOffset=_,f.type="ordinal"},a.prototype.getOrdinalMeta=function(n){var e=this._dimensions[n],s=e.ordinalMeta;return s},a.prototype.getDimensionProperty=function(n){var e=this._dimensions[n];return e&&e.property},a.prototype.appendData=function(n){var e=this._provider,s=this.count();e.appendData(n);var f=e.count();return e.persistent||(f+=s),s<f&&this._initDataFromProvider(s,f,!0),[s,f]},a.prototype.appendValues=function(n,e){for(var s=this._chunks,f=this._dimensions,p=f.length,h=this._rawExtent,_=this.count(),M=_+Math.max(n.length,e||0),L=0;L<p;L++){var z=f[L];VF(s,L,z.type,M,!0)}for(var Y=[],q=_;q<M;q++)for(var se=q-_,ye=0;ye<p;ye++){var z=f[ye],je=OR.arrayRows.call(this,n[se]||Y,z.property,se,ye);s[ye][q]=je;var De=h[ye];je<De[0]&&(De[0]=je),je>De[1]&&(De[1]=je)}return this._rawCount=this._count=M,{start:_,end:M}},a.prototype._initDataFromProvider=function(n,e,s){for(var f=this._provider,p=this._chunks,h=this._dimensions,_=h.length,M=this._rawExtent,L=Object(H.H)(h,function(st){return st.property}),z=0;z<_;z++){var Y=h[z];M[z]||(M[z]=WO()),VF(p,z,Y.type,e,s)}if(f.fillStorage)f.fillStorage(n,e,p,M);else for(var q=[],se=n;se<e;se++){q=f.getItem(se,q);for(var ye=0;ye<_;ye++){var je=p[ye],De=this._dimValueGetter(q,L[ye],se,ye);je[se]=De;var We=M[ye];De<We[0]&&(We[0]=De),De>We[1]&&(We[1]=De)}}!f.persistent&&f.clean&&f.clean(),this._rawCount=this._count=e,this._extent=[]},a.prototype.count=function(){return this._count},a.prototype.get=function(n,e){if(!(e>=0&&e<this._count))return NaN;var s=this._chunks[n];return s?s[this.getRawIndex(e)]:NaN},a.prototype.getValues=function(n,e){var s=[],f=[];if(e==null){e=n,n=[];for(var p=0;p<this._dimensions.length;p++)f.push(p)}else f=n;for(var p=0,h=f.length;p<h;p++)s.push(this.get(f[p],e));return s},a.prototype.getByRawIndex=function(n,e){if(!(e>=0&&e<this._rawCount))return NaN;var s=this._chunks[n];return s?s[e]:NaN},a.prototype.getSum=function(n){var e=this._chunks[n],s=0;if(e)for(var f=0,p=this.count();f<p;f++){var h=this.get(n,f);isNaN(h)||(s+=h)}return s},a.prototype.getMedian=function(n){var e=[];this.each([n],function(p){isNaN(p)||e.push(p)});var s=e.sort(function(p,h){return p-h}),f=this.count();return f===0?0:f%2==1?s[(f-1)/2]:(s[f/2]+s[f/2-1])/2},a.prototype.indexOfRawIndex=function(n){if(n>=this._rawCount||n<0)return-1;if(!this._indices)return n;var e=this._indices,s=e[n];if(s!=null&&s<this._count&&s===n)return n;for(var f=0,p=this._count-1;f<=p;){var h=(f+p)/2|0;if(e[h]<n)f=h+1;else if(e[h]>n)p=h-1;else return h}return-1},a.prototype.indicesOfNearest=function(n,e,s){var f=this._chunks,p=f[n],h=[];if(!p)return h;s==null&&(s=Infinity);for(var _=Infinity,M=-1,L=0,z=0,Y=this.count();z<Y;z++){var q=this.getRawIndex(z),se=e-p[q],ye=Math.abs(se);ye<=s&&((ye<_||ye===_&&se>=0&&M<0)&&(_=ye,M=se,L=0),se===M&&(h[L++]=z))}return h.length=L,h},a.prototype.getIndices=function(){var n,e=this._indices;if(e){var s=e.constructor,f=this._count;if(s===Array){n=new s(f);for(var p=0;p<f;p++)n[p]=e[p]}else n=new s(e.buffer,0,f)}else{var s=Mx(this._rawCount);n=new s(this.count());for(var p=0;p<n.length;p++)n[p]=p}return n},a.prototype.filter=function(n,e){if(!this._count)return this;for(var s=this.clone(),f=s.count(),p=Mx(s._rawCount),h=new p(f),_=[],M=n.length,L=0,z=n[0],Y=s._chunks,q=0;q<f;q++){var se=void 0,ye=s.getRawIndex(q);if(M===0)se=e(q);else if(M===1){var je=Y[z][ye];se=e(je,q)}else{for(var De=0;De<M;De++)_[De]=Y[n[De]][ye];_[De]=q,se=e.apply(null,_)}se&&(h[L++]=ye)}return L<f&&(s._indices=h),s._count=L,s._extent=[],s._updateGetRawIdx(),s},a.prototype.selectRange=function(n){var e=this.clone(),s=e._count;if(!s)return this;var f=Object(H.F)(n),p=f.length;if(!p)return this;var h=e.count(),_=Mx(e._rawCount),M=new _(h),L=0,z=f[0],Y=n[z][0],q=n[z][1],se=e._chunks,ye=!1;if(!e._indices){var je=0;if(p===1){for(var De=se[f[0]],We=0;We<s;We++){var st=De[We];(st>=Y&&st<=q||isNaN(st))&&(M[L++]=je),je++}ye=!0}else if(p===2){for(var De=se[f[0]],dt=se[f[1]],Mt=n[f[1]][0],nn=n[f[1]][1],We=0;We<s;We++){var st=De[We],rn=dt[We];(st>=Y&&st<=q||isNaN(st))&&(rn>=Mt&&rn<=nn||isNaN(rn))&&(M[L++]=je),je++}ye=!0}}if(!ye)if(p===1)for(var We=0;We<h;We++){var Cn=e.getRawIndex(We),st=se[f[0]][Cn];(st>=Y&&st<=q||isNaN(st))&&(M[L++]=Cn)}else for(var We=0;We<h;We++){for(var er=!0,Cn=e.getRawIndex(We),ir=0;ir<p;ir++){var dr=f[ir],st=se[dr][Cn];(st<n[dr][0]||st>n[dr][1])&&(er=!1)}er&&(M[L++]=e.getRawIndex(We))}return L<h&&(e._indices=M),e._count=L,e._extent=[],e._updateGetRawIdx(),e},a.prototype.map=function(n,e){var s=this.clone(n);return this._updateDims(s,n,e),s},a.prototype.modify=function(n,e){this._updateDims(this,n,e)},a.prototype._updateDims=function(n,e,s){for(var f=n._chunks,p=[],h=e.length,_=n.count(),M=[],L=n._rawExtent,z=0;z<e.length;z++)L[e[z]]=WO();for(var Y=0;Y<_;Y++){for(var q=n.getRawIndex(Y),se=0;se<h;se++)M[se]=f[e[se]][q];M[h]=Y;var ye=s&&s.apply(null,M);if(ye!=null){typeof ye!="object"&&(p[0]=ye,ye=p);for(var z=0;z<ye.length;z++){var je=e[z],De=ye[z],We=L[je],st=f[je];st&&(st[q]=De),De<We[0]&&(We[0]=De),De>We[1]&&(We[1]=De)}}}},a.prototype.lttbDownSample=function(n,e){var s=this.clone([n],!0),f=s._chunks,p=f[n],h=this.count(),_=0,M=Math.floor(1/e),L=this.getRawIndex(0),z,Y,q,se=new(Mx(this._rawCount))(Math.min((Math.ceil(h/M)+2)*2,h));se[_++]=L;for(var ye=1;ye<h-1;ye+=M){for(var je=Math.min(ye+M,h-1),De=Math.min(ye+M*2,h),We=(De+je)/2,st=0,dt=je;dt<De;dt++){var Mt=this.getRawIndex(dt),nn=p[Mt];isNaN(nn)||(st+=nn)}st/=De-je;var rn=ye,Cn=Math.min(ye+M,h),er=ye-1,ir=p[L];z=-1,q=rn;for(var dr=-1,pr=0,dt=rn;dt<Cn;dt++){var Mt=this.getRawIndex(dt),nn=p[Mt];if(isNaN(nn)){pr++,dr<0&&(dr=Mt);continue}Y=Math.abs((er-We)*(nn-ir)-(er-dt)*(st-ir)),Y>z&&(z=Y,q=Mt)}pr>0&&pr<Cn-rn&&(se[_++]=Math.min(dr,q),q=Math.max(dr,q)),se[_++]=q,L=q}return se[_++]=this.getRawIndex(h-1),s._count=_,s._indices=se,s.getRawIndex=this._getRawIdx,s},a.prototype.downSample=function(n,e,s,f){for(var p=this.clone([n],!0),h=p._chunks,_=[],M=Math.floor(1/e),L=h[n],z=this.count(),Y=p._rawExtent[n]=WO(),q=new(Mx(this._rawCount))(Math.ceil(z/M)),se=0,ye=0;ye<z;ye+=M){M>z-ye&&(M=z-ye,_.length=M);for(var je=0;je<M;je++){var De=this.getRawIndex(ye+je);_[je]=L[De]}var We=s(_),st=this.getRawIndex(Math.min(ye+f(_,We)||0,z-1));L[st]=We,We<Y[0]&&(Y[0]=We),We>Y[1]&&(Y[1]=We),q[se++]=st}return p._count=se,p._indices=q,p._updateGetRawIdx(),p},a.prototype.each=function(n,e){if(!!this._count)for(var s=n.length,f=this._chunks,p=0,h=this.count();p<h;p++){var _=this.getRawIndex(p);switch(s){case 0:e(p);break;case 1:e(f[n[0]][_],p);break;case 2:e(f[n[0]][_],f[n[1]][_],p);break;default:for(var M=0,L=[];M<s;M++)L[M]=f[n[M]][_];L[M]=p,e.apply(null,L)}}},a.prototype.getDataExtent=function(n){var e=this._chunks[n],s=WO();if(!e)return s;var f=this.count(),p=!this._indices,h;if(p)return this._rawExtent[n].slice();if(h=this._extent[n],h)return h.slice();h=s;for(var _=h[0],M=h[1],L=0;L<f;L++){var z=this.getRawIndex(L),Y=e[z];Y<_&&(_=Y),Y>M&&(M=Y)}return h=[_,M],this._extent[n]=h,h},a.prototype.getRawDataItem=function(n){var e=this.getRawIndex(n);if(this._provider.persistent)return this._provider.getItem(e);for(var s=[],f=this._chunks,p=0;p<f.length;p++)s.push(f[p][e]);return s},a.prototype.clone=function(n,e){var s=new a,f=this._chunks,p=n&&Object(H.N)(n,function(_,M){return _[M]=!0,_},{});if(p)for(var h=0;h<f.length;h++)s._chunks[h]=p[h]?Z$(f[h]):f[h];else s._chunks=f;return this._copyCommonProps(s),e||(s._indices=this._cloneIndices()),s._updateGetRawIdx(),s},a.prototype._copyCommonProps=function(n){n._count=this._count,n._rawCount=this._rawCount,n._provider=this._provider,n._dimensions=this._dimensions,n._extent=Object(H.d)(this._extent),n._rawExtent=Object(H.d)(this._rawExtent)},a.prototype._cloneIndices=function(){if(this._indices){var n=this._indices.constructor,e=void 0;if(n===Array){var s=this._indices.length;e=new n(s);for(var f=0;f<s;f++)e[f]=this._indices[f]}else e=new n(this._indices);return e}return null},a.prototype._getRawIdxIdentity=function(n){return n},a.prototype._getRawIdx=function(n){return n<this._count&&n>=0?this._indices[n]:-1},a.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},a.internalField=function(){function n(e,s,f,p){return Dy(e[p],this._dimensions[p])}OR={arrayRows:n,objectRows:function(e,s,f,p){return Dy(e[s],this._dimensions[p])},keyedColumns:n,original:function(e,s,f,p){var h=e&&(e.value==null?e:e.value);return Dy(h instanceof Array?h[p]:h,this._dimensions[p])},typedArray:function(e,s,f,p){return e[p]}}}(),a}(),HF=zF,GF=function(){function a(n){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=n}return a.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},a.prototype._setLocalSource=function(n,e){this._sourceList=n,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},a.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},a.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},a.prototype._createSource=function(){this._setLocalSource([],[]);var n=this._sourceHost,e=this._getUpstreamSourceManagers(),s=!!e.length,f,p;if(KO(n)){var h=n,_=void 0,M=void 0,L=void 0;if(s){var z=e[0];z.prepareSource(),L=z.getSource(),_=L.data,M=L.sourceFormat,p=[z._getVersionSign()]}else _=h.get("data",!0),M=Object(H.E)(_)?vm:zh,p=[];var Y=this._getSourceMetaRawOption()||{},q=L&&L.metaRawOption||{},se=Object(H.P)(Y.seriesLayoutBy,q.seriesLayoutBy)||null,ye=Object(H.P)(Y.sourceHeader,q.sourceHeader),je=Object(H.P)(Y.dimensions,q.dimensions),De=se!==q.seriesLayoutBy||!!ye!=!!q.sourceHeader||je;f=De?[kx(_,{seriesLayoutBy:se,sourceHeader:ye,dimensions:je},M)]:[]}else{var We=n;if(s){var st=this._applyTransform(e);f=st.sourceList,p=st.upstreamSignList}else{var dt=We.get("source",!0);f=[kx(dt,this._getSourceMetaRawOption(),null)],p=[]}}this._setLocalSource(f,p)},a.prototype._applyTransform=function(n){var e=this._sourceHost,s=e.get("transform",!0),f=e.get("fromTransformResult",!0);if(f!=null){var p="";n.length!==1&&CR(p)}var h,_=[],M=[];return Object(H.k)(n,function(L){L.prepareSource();var z=L.getSource(f||0),Y="";f!=null&&!z&&CR(Y),_.push(z),M.push(L._getVersionSign())}),s?h=NF(s,_,{datasetIndex:e.componentIndex}):f!=null&&(h=[L$(_[0])]),{sourceList:h,upstreamSignList:M}},a.prototype._isDirty=function(){if(this._dirty)return!0;for(var n=this._getUpstreamSourceManagers(),e=0;e<n.length;e++){var s=n[e];if(s._isDirty()||this._upstreamSignList[e]!==s._getVersionSign())return!0}},a.prototype.getSource=function(n){n=n||0;var e=this._sourceList[n];if(!e){var s=this._getUpstreamSourceManagers();return s[0]&&s[0].getSource(n)}return e},a.prototype.getSharedDataStore=function(n){var e=n.makeStoreSchema();return this._innerGetDataStore(e.dimensions,n.source,e.hash)},a.prototype._innerGetDataStore=function(n,e,s){var f=0,p=this._storeList,h=p[f];h||(h=p[f]={});var _=h[s];if(!_){var M=this._getUpstreamSourceManagers()[0];KO(this._sourceHost)&&M?_=M._innerGetDataStore(n,e,s):(_=new HF,_.initData(new xF(e,n.length),n)),h[s]=_}return _},a.prototype._getUpstreamSourceManagers=function(){var n=this._sourceHost;if(KO(n)){var e=bx(n);return e?[e.getSourceManager()]:[]}else return Object(H.H)(rR(n),function(s){return s.getSourceManager()})},a.prototype._getSourceMetaRawOption=function(){var n=this._sourceHost,e,s,f;if(KO(n))e=n.get("seriesLayoutBy",!0),s=n.get("sourceHeader",!0),f=n.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var p=n;e=p.get("seriesLayoutBy",!0),s=p.get("sourceHeader",!0),f=p.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:s,dimensions:f}},a}();function $F(a){var n=a.option.transform;n&&Object(H.R)(a.option.transform)}function KO(a){return a.mainType==="series"}function CR(a){throw new Error(a)}var HT="line-height:1";function WF(a,n){var e=a.color||"#6e7079",s=a.fontSize||12,f=a.fontWeight||"400",p=a.color||"#464646",h=a.fontSize||14,_=a.fontWeight||"900";return n==="html"?{nameStyle:"font-size:"+fi(s+"")+"px;color:"+fi(e)+";font-weight:"+fi(f+""),valueStyle:"font-size:"+fi(h+"")+"px;color:"+fi(p)+";font-weight:"+fi(_+"")}:{nameStyle:{fontSize:s,fill:e,fontWeight:f},valueStyle:{fontSize:h,fill:p,fontWeight:_}}}var yv=[0,10,20,30],Q$=["",`
`,`
`,`
`];function th(a,n){return n.type=a,n}function hm(a){return a.type==="section"}function GT(a){return hm(a)?q$:eW}function KF(a){if(hm(a)){var n=0,e=a.blocks.length,s=e>1||e>0&&!a.noHeader;return Object(H.k)(a.blocks,function(f){var p=KF(f);p>=n&&(n=p+ +(s&&(!p||hm(f)&&!f.noHeader)))}),n}return 0}function q$(a,n,e,s){var f=n.noHeader,p=tW(KF(n)),h=[],_=n.blocks||[];Object(H.b)(!_||Object(H.t)(_)),_=_||[];var M=a.orderMode;if(n.sortBlocks&&M){_=_.slice();var L={valueAsc:"asc",valueDesc:"desc"};if(Object(H.q)(L,M)){var z=new RF(L[M],null);_.sort(function(ye,je){return z.evaluate(ye.sortParam,je.sortParam)})}else M==="seriesDesc"&&_.reverse()}Object(H.k)(_,function(ye,je){var De=n.valueFormatter,We=GT(ye)(De?Object(H.m)(Object(H.m)({},a),{valueFormatter:De}):a,ye,je>0?p.html:0,s);We!=null&&h.push(We)});var Y=a.renderMode==="richText"?h.join(p.richText):ER(h.join(""),f?e:p.html);if(f)return Y;var q=FO(n.header,"ordinal",a.useUTC),se=WF(s,a.renderMode).nameStyle;return a.renderMode==="richText"?XF(a,q,se)+p.richText+Y:ER('<div style="'+se+";"+HT+';">'+fi(q)+"</div>"+Y,e)}function eW(a,n,e,s){var f=a.renderMode,p=n.noName,h=n.noValue,_=!n.markerType,M=n.name,L=a.useUTC,z=n.valueFormatter||a.valueFormatter||function(Mt){return Mt=Object(H.t)(Mt)?Mt:[Mt],Object(H.H)(Mt,function(nn,rn){return FO(nn,Object(H.t)(se)?se[rn]:se,L)})};if(!(p&&h)){var Y=_?"":a.markupStyleCreator.makeTooltipMarker(n.markerType,n.markerColor||"#333",f),q=p?"":FO(M,"ordinal",L),se=n.valueType,ye=h?[]:z(n.value),je=!_||!p,De=!_&&p,We=WF(s,f),st=We.nameStyle,dt=We.valueStyle;return f==="richText"?(_?"":Y)+(p?"":XF(a,q,st))+(h?"":aW(a,ye,je,De,dt)):ER((_?"":Y)+(p?"":nW(q,!_,st))+(h?"":rW(ye,je,De,dt)),e)}}function YF(a,n,e,s,f,p){if(!!a){var h=GT(a),_={useUTC:f,renderMode:e,orderMode:s,markupStyleCreator:n,valueFormatter:a.valueFormatter};return h(_,a,0,p)}}function tW(a){return{html:yv[a],richText:Q$[a]}}function ER(a,n){var e='<div style="clear:both"></div>',s="margin: "+n+"px 0 0";return'<div style="'+s+";"+HT+';">'+a+e+"</div>"}function nW(a,n,e){var s=n?"margin-left:2px":"";return'<span style="'+e+";"+s+'">'+fi(a)+"</span>"}function rW(a,n,e,s){var f=e?"10px":"20px",p=n?"float:right;margin-left:"+f:"";return a=Object(H.t)(a)?a:[a],'<span style="'+p+";"+s+'">'+Object(H.H)(a,function(h){return fi(h)}).join("&nbsp;&nbsp;")+"</span>"}function XF(a,n,e){return a.markupStyleCreator.wrapRichTextStyle(n,e)}function aW(a,n,e,s,f){var p=[f],h=s?10:20;return e&&p.push({padding:[0,0,0,h],align:"right"}),a.markupStyleCreator.wrapRichTextStyle(Object(H.t)(n)?n.join(" "):n,p)}function YO(a,n){var e=a.getData().getItemVisual(n,"style"),s=e[a.visualDrawType];return E0(s)}function xR(a,n){var e=a.get("padding");return e!=null?e:n==="richText"?[8,10]:10}var Fm=function(){function a(){this.richTextStyles={},this._nextStyleNameId=zl()}return a.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},a.prototype.makeTooltipMarker=function(n,e,s){var f=s==="richText"?this._generateStyleName():null,p=JP({color:e,type:n,renderMode:s,markerId:f});return Object(H.C)(p)?p:(this.richTextStyles[f]=p.style,p.content)},a.prototype.wrapRichTextStyle=function(n,e){var s={};Object(H.t)(e)?Object(H.k)(e,function(p){return Object(H.m)(s,p)}):Object(H.m)(s,e);var f=this._generateStyleName();return this.richTextStyles[f]=s,"{"+f+"|"+n+"}"},a}();function JF(a){var n=a.series,e=a.dataIndex,s=a.multipleSeries,f=n.getData(),p=f.mapDimensionsAll("defaultedTooltip"),h=p.length,_=n.getRawValue(e),M=Object(H.t)(_),L=YO(n,e),z,Y,q,se;if(h>1||M&&!h){var ye=iW(_,n,e,p,L);z=ye.inlineValues,Y=ye.inlineValueTypes,q=ye.blocks,se=ye.inlineValues[0]}else if(h){var je=f.getDimensionInfo(p[0]);se=z=f1(f,e,p[0]),Y=je.type}else se=z=M?_[0]:_;var De=$s(n),We=De&&n.name||"",st=f.getName(e),dt=s?We:st;return th("section",{header:We,noHeader:s||!De,sortParam:se,blocks:[th("nameValue",{markerType:"item",markerColor:L,name:dt,noName:!Object(H.T)(dt),value:z,valueType:Y})].concat(q||[])})}function iW(a,n,e,s,f){var p=n.getData(),h=Object(H.N)(a,function(Y,q,se){var ye=p.getDimensionInfo(se);return Y=Y||ye&&ye.tooltip!==!1&&ye.displayName!=null},!1),_=[],M=[],L=[];s.length?Object(H.k)(s,function(Y){z(f1(p,e,Y),Y)}):Object(H.k)(a,z);function z(Y,q){var se=p.getDimensionInfo(q);!se||se.otherDims.tooltip===!1||(h?L.push(th("nameValue",{markerType:"subItem",markerColor:f,name:se.displayName,value:Y,valueType:se.type})):(_.push(Y),M.push(se.type)))}return{inlineValues:_,inlineValueTypes:M,blocks:L}}var Iy=ol();function $T(a,n){return a.getName(n)||a.getId(n)}var WT="__universalTransitionEnabled",KT=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n.prototype.init=function(e,s,f){this.seriesIndex=this.componentIndex,this.dataTask=$O({count:SR,reset:oW}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,f);var p=Iy(this).sourceManager=new GF(this);p.prepareSource();var h=this.getInitialData(e,f);TR(h,this),this.dataTask.context.data=h,Iy(this).dataBeforeProcessed=h,ZF(this),this._initSelectedMapFromData(h)},n.prototype.mergeDefaultAndTheme=function(e,s){var f=a1(this),p=f?Py(e):{},h=this.subType;tf.hasClass(h)&&(h+="Series"),H.I(e,s.getTheme().get(this.subType)),H.I(e,this.getDefaultOption()),on(e,"label",["show"]),this.fillDataTextStyle(e.data),f&&k_(e,p,f)},n.prototype.mergeOption=function(e,s){e=H.I(this.option,e,!0),this.fillDataTextStyle(e.data);var f=a1(this);f&&k_(this.option,e,f);var p=Iy(this).sourceManager;p.dirty(),p.prepareSource();var h=this.getInitialData(e,s);TR(h,this),this.dataTask.dirty(),this.dataTask.context.data=h,Iy(this).dataBeforeProcessed=h,ZF(this),this._initSelectedMapFromData(h)},n.prototype.fillDataTextStyle=function(e){if(e&&!H.E(e))for(var s=["show"],f=0;f<e.length;f++)e[f]&&e[f].label&&on(e[f],"label",s)},n.prototype.getInitialData=function(e,s){},n.prototype.appendData=function(e){var s=this.getRawData();s.appendData(e.data)},n.prototype.getData=function(e){var s=Px(this);if(s){var f=s.context.data;return e==null?f:f.getLinkedData(e)}else return Iy(this).data},n.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},n.prototype.setData=function(e){var s=Px(this);if(s){var f=s.context;f.outputData=e,s!==this.dataTask&&(f.data=e)}Iy(this).data=e},n.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return H.f(e)},n.prototype.getSourceManager=function(){return Iy(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return Iy(this).dataBeforeProcessed},n.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},n.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},n.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},n.prototype.formatTooltip=function(e,s,f){return JF({series:this,dataIndex:e,multipleSeries:s})},n.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(Bt.a.node&&!(e&&e.ssr))return!1;var s=this.getShallow("animation");return s&&this.getData().count()>this.getShallow("animationThreshold")&&(s=!1),!!s},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(e,s,f){var p=this.ecModel,h=s1.prototype.getColorFromPalette.call(this,e,s,f);return h||(h=p.getColorFromPalette(e,s,f)),h},n.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(e,s){this._innerSelect(this.getData(s),e)},n.prototype.unselect=function(e,s){var f=this.option.selectedMap;if(!!f){var p=this.option.selectedMode,h=this.getData(s);if(p==="series"||f==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var _=0;_<e.length;_++){var M=e[_],L=$T(h,M);f[L]=!1,this._selectedDataIndicesMap[L]=-1}}},n.prototype.toggleSelect=function(e,s){for(var f=[],p=0;p<e.length;p++)f[0]=e[p],this.isSelected(e[p],s)?this.unselect(f,s):this.select(f,s)},n.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,s=H.F(e),f=[],p=0;p<s.length;p++){var h=e[s[p]];h>=0&&f.push(h)}return f},n.prototype.isSelected=function(e,s){var f=this.option.selectedMap;if(!f)return!1;var p=this.getData(s);return(f==="all"||f[$T(p,e)])&&!p.getItemModel(e).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[WT])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},n.prototype._innerSelect=function(e,s){var f,p,h=this.option,_=h.selectedMode,M=s.length;if(!(!_||!M)){if(_==="series")h.selectedMap="all";else if(_==="multiple"){H.A(h.selectedMap)||(h.selectedMap={});for(var L=h.selectedMap,z=0;z<M;z++){var Y=s[z],q=$T(e,Y);L[q]=!0,this._selectedDataIndicesMap[q]=e.getRawIndex(Y)}}else if(_==="single"||_===!0){var se=s[M-1],q=$T(e,se);h.selectedMap=(f={},f[q]=!0,f),this._selectedDataIndicesMap=(p={},p[q]=e.getRawIndex(se),p)}}},n.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var s=[];e.hasItemOption&&e.each(function(f){var p=e.getRawDataItem(f);p&&p.selected&&s.push(f)}),s.length>0&&this._innerSelect(e,s)}},n.registerClass=function(e){return tf.registerClass(e)},n.protoInitialize=function(){var e=n.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),n}(tf);H.K(KT,mR),H.K(KT,s1),Df(KT,tf);function ZF(a){var n=a.name;$s(a)||(a.name=QF(a)||n)}function QF(a){var n=a.getRawData(),e=n.mapDimensionsAll("seriesName"),s=[];return H.k(e,function(f){var p=n.getDimensionInfo(f);p.displayName&&s.push(p.displayName)}),s.join(" ")}function SR(a){return a.model.getRawData().count()}function oW(a){var n=a.model;return n.setData(n.getRawData().cloneShallow()),wR}function wR(a,n){n.outputData&&a.end>n.outputData.count()&&n.model.getRawData().cloneShallow(n.outputData)}function TR(a,n){H.k(H.e(a.CHANGABLE_METHODS,a.DOWNSAMPLE_METHODS),function(e){a.wrapMethod(e,H.h(qF,n))})}function qF(a,n){var e=Px(a);return e&&e.setOutputEnd((n||this).count()),n}function Px(a){var n=(a.ecModel||{}).scheduler,e=n&&n.getPipeline(a.uid);if(e){var s=e.currentTask;if(s){var f=s.agentStubMap;f&&(s=f.get(a.uid))}return s}}var mp=KT,AR=function(){function a(){this.group=new _s,this.uid=fm("viewComponent")}return a.prototype.init=function(n,e){},a.prototype.render=function(n,e,s,f){},a.prototype.dispose=function(n,e){},a.prototype.updateView=function(n,e,s,f){},a.prototype.updateLayout=function(n,e,s,f){},a.prototype.updateVisual=function(n,e,s,f){},a.prototype.toggleBlurSeries=function(n,e,s){},a.prototype.eachRendered=function(n){var e=this.group;e&&e.traverse(n)},a}();hp(AR),Qf(AR);var Np=AR;function XO(){var a=ol();return function(n){var e=a(n),s=n.pipelineContext,f=!!e.large,p=!!e.progressiveRender,h=e.large=!!(s&&s.large),_=e.progressiveRender=!!(s&&s.progressiveRender);return(f!==h||p!==_)&&"reset"}}var JO=tl.CMD,sW=[[],[],[]],e6=Math.sqrt,cW=Math.atan2;function ZO(a,n){if(!!n){var e=a.data,s=a.len(),f,p,h,_,M,L,z=JO.M,Y=JO.C,q=JO.L,se=JO.R,ye=JO.A,je=JO.Q;for(h=0,_=0;h<s;){switch(f=e[h++],_=h,p=0,f){case z:p=1;break;case q:p=1;break;case Y:p=3;break;case je:p=2;break;case ye:var De=n[4],We=n[5],st=e6(n[0]*n[0]+n[1]*n[1]),dt=e6(n[2]*n[2]+n[3]*n[3]),Mt=cW(-n[1]/dt,n[0]/st);e[h]*=st,e[h++]+=De,e[h]*=dt,e[h++]+=We,e[h++]*=st,e[h++]*=dt,e[h++]+=Mt,e[h++]+=Mt,h+=2,_=h;break;case se:L[0]=e[h++],L[1]=e[h++],eo(L,L,n),e[_++]=L[0],e[_++]=L[1],L[0]+=e[h++],L[1]+=e[h++],eo(L,L,n),e[_++]=L[0],e[_++]=L[1]}for(M=0;M<p;M++){var nn=sW[M];nn[0]=e[h++],nn[1]=e[h++],eo(nn,nn,n),e[_++]=nn[0],e[_++]=nn[1]}}a.increaseVersion()}}var Rx=Math.sqrt,Dx=Math.sin,Ix=Math.cos,p1=Math.PI;function t6(a){return Math.sqrt(a[0]*a[0]+a[1]*a[1])}function YT(a,n){return(a[0]*n[0]+a[1]*n[1])/(t6(a)*t6(n))}function n6(a,n){return(a[0]*n[1]<a[1]*n[0]?-1:1)*Math.acos(YT(a,n))}function r6(a,n,e,s,f,p,h,_,M,L,z){var Y=M*(p1/180),q=Ix(Y)*(a-e)/2+Dx(Y)*(n-s)/2,se=-1*Dx(Y)*(a-e)/2+Ix(Y)*(n-s)/2,ye=q*q/(h*h)+se*se/(_*_);ye>1&&(h*=Rx(ye),_*=Rx(ye));var je=(f===p?-1:1)*Rx((h*h*(_*_)-h*h*(se*se)-_*_*(q*q))/(h*h*(se*se)+_*_*(q*q)))||0,De=je*h*se/_,We=je*-_*q/h,st=(a+e)/2+Ix(Y)*De-Dx(Y)*We,dt=(n+s)/2+Dx(Y)*De+Ix(Y)*We,Mt=n6([1,0],[(q-De)/h,(se-We)/_]),nn=[(q-De)/h,(se-We)/_],rn=[(-1*q-De)/h,(-1*se-We)/_],Cn=n6(nn,rn);if(YT(nn,rn)<=-1&&(Cn=p1),YT(nn,rn)>=1&&(Cn=0),Cn<0){var er=Math.round(Cn/p1*1e6)/1e6;Cn=p1*2+er%2*p1}z.addData(L,st,dt,h,_,Mt,Cn,Y,p)}var ise=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,ose=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function lW(a){var n=new tl;if(!a)return n;var e=0,s=0,f=e,p=s,h,_=tl.CMD,M=a.match(ise);if(!M)return n;for(var L=0;L<M.length;L++){for(var z=M[L],Y=z.charAt(0),q=void 0,se=z.match(ose)||[],ye=se.length,je=0;je<ye;je++)se[je]=parseFloat(se[je]);for(var De=0;De<ye;){var We=void 0,st=void 0,dt=void 0,Mt=void 0,nn=void 0,rn=void 0,Cn=void 0,er=e,ir=s,dr=void 0,pr=void 0;switch(Y){case"l":e+=se[De++],s+=se[De++],q=_.L,n.addData(q,e,s);break;case"L":e=se[De++],s=se[De++],q=_.L,n.addData(q,e,s);break;case"m":e+=se[De++],s+=se[De++],q=_.M,n.addData(q,e,s),f=e,p=s,Y="l";break;case"M":e=se[De++],s=se[De++],q=_.M,n.addData(q,e,s),f=e,p=s,Y="L";break;case"h":e+=se[De++],q=_.L,n.addData(q,e,s);break;case"H":e=se[De++],q=_.L,n.addData(q,e,s);break;case"v":s+=se[De++],q=_.L,n.addData(q,e,s);break;case"V":s=se[De++],q=_.L,n.addData(q,e,s);break;case"C":q=_.C,n.addData(q,se[De++],se[De++],se[De++],se[De++],se[De++],se[De++]),e=se[De-2],s=se[De-1];break;case"c":q=_.C,n.addData(q,se[De++]+e,se[De++]+s,se[De++]+e,se[De++]+s,se[De++]+e,se[De++]+s),e+=se[De-2],s+=se[De-1];break;case"S":We=e,st=s,dr=n.len(),pr=n.data,h===_.C&&(We+=e-pr[dr-4],st+=s-pr[dr-3]),q=_.C,er=se[De++],ir=se[De++],e=se[De++],s=se[De++],n.addData(q,We,st,er,ir,e,s);break;case"s":We=e,st=s,dr=n.len(),pr=n.data,h===_.C&&(We+=e-pr[dr-4],st+=s-pr[dr-3]),q=_.C,er=e+se[De++],ir=s+se[De++],e+=se[De++],s+=se[De++],n.addData(q,We,st,er,ir,e,s);break;case"Q":er=se[De++],ir=se[De++],e=se[De++],s=se[De++],q=_.Q,n.addData(q,er,ir,e,s);break;case"q":er=se[De++]+e,ir=se[De++]+s,e+=se[De++],s+=se[De++],q=_.Q,n.addData(q,er,ir,e,s);break;case"T":We=e,st=s,dr=n.len(),pr=n.data,h===_.Q&&(We+=e-pr[dr-4],st+=s-pr[dr-3]),e=se[De++],s=se[De++],q=_.Q,n.addData(q,We,st,e,s);break;case"t":We=e,st=s,dr=n.len(),pr=n.data,h===_.Q&&(We+=e-pr[dr-4],st+=s-pr[dr-3]),e+=se[De++],s+=se[De++],q=_.Q,n.addData(q,We,st,e,s);break;case"A":dt=se[De++],Mt=se[De++],nn=se[De++],rn=se[De++],Cn=se[De++],er=e,ir=s,e=se[De++],s=se[De++],q=_.A,r6(er,ir,e,s,rn,Cn,dt,Mt,nn,q,n);break;case"a":dt=se[De++],Mt=se[De++],nn=se[De++],rn=se[De++],Cn=se[De++],er=e,ir=s,e+=se[De++],s+=se[De++],q=_.A,r6(er,ir,e,s,rn,Cn,dt,Mt,nn,q,n);break}}(Y==="z"||Y==="Z")&&(q=_.Z,n.addData(q),e=f,s=p),h=q}return n.toStatic(),n}var a6=function(a){nt(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.applyTransform=function(e){},n}(Ti);function XT(a){return a.setData!=null}function Nx(a,n){var e=lW(a),s=Object(H.m)({},n);return s.buildPath=function(f){if(XT(f)){f.setData(e.data);var p=f.getContext();p&&f.rebuildPath(p,1)}else{var p=f;e.rebuildPath(p,1)}},s.applyTransform=function(f){ZO(e,f),this.dirtyShape()},s}function i6(a,n){return new a6(Nx(a,n))}function uW(a,n){var e=Nx(a,n),s=function(f){nt(p,f);function p(h){var _=f.call(this,h)||this;return _.applyTransform=e.applyTransform,_.buildPath=e.buildPath,_}return p}(a6);return s}function dW(a,n){for(var e=[],s=a.length,f=0;f<s;f++){var p=a[f];e.push(p.getUpdatedPathProxy(!0))}var h=new Ti(n);return h.createPathProxy(),h.buildPath=function(_){if(XT(_)){_.appendPath(e);var M=_.getContext();M&&_.rebuildPath(M,1)}},h}function JT(a,n){n=n||{};var e=new Ti;return a.shape&&e.setShape(a.shape),e.setStyle(a.style),n.bakeTransform?ZO(e.path,a.getComputedTransform()):n.toLocal?e.setLocalTransform(a.getComputedTransform()):e.copyTransform(a),e.buildPath=a.buildPath,e.applyTransform=e.applyTransform,e.z=a.z,e.z2=a.z2,e.zlevel=a.zlevel,e}var fW=function(){function a(){this.cx=0,this.cy=0,this.r=0}return a}(),o6=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new fW},n.prototype.buildPath=function(e,s){e.moveTo(s.cx+s.r,s.cy),e.arc(s.cx,s.cy,s.r,0,Math.PI*2)},n}(Ti);o6.prototype.type="circle";var Um=o6,s6=function(){function a(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return a}(),c6=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new s6},n.prototype.buildPath=function(e,s){var f=.5522848,p=s.cx,h=s.cy,_=s.rx,M=s.ry,L=_*f,z=M*f;e.moveTo(p-_,h),e.bezierCurveTo(p-_,h-z,p-L,h-M,p,h-M),e.bezierCurveTo(p+L,h-M,p+_,h-z,p+_,h),e.bezierCurveTo(p+_,h+z,p+L,h+M,p,h+M),e.bezierCurveTo(p-L,h+M,p-_,h+z,p-_,h),e.closePath()},n}(Ti);c6.prototype.type="ellipse";var ZT=c6,Lx=Math.PI,kR=Lx*2,v1=Math.sin,QO=Math.cos,l6=Math.acos,Xp=Math.atan2,u6=Math.abs,Fx=Math.sqrt,Ux=Math.max,P_=Math.min,Bm=1e-4;function pW(a,n,e,s,f,p,h,_){var M=e-a,L=s-n,z=h-f,Y=_-p,q=Y*M-z*L;if(!(q*q<Bm))return q=(z*(n-p)-Y*(a-f))/q,[a+q*M,n+q*L]}function co(a,n,e,s,f,p,h){var _=a-e,M=n-s,L=(h?p:-p)/Fx(_*_+M*M),z=L*M,Y=-L*_,q=a+z,se=n+Y,ye=e+z,je=s+Y,De=(q+ye)/2,We=(se+je)/2,st=ye-q,dt=je-se,Mt=st*st+dt*dt,nn=f-p,rn=q*je-ye*se,Cn=(dt<0?-1:1)*Fx(Ux(0,nn*nn*Mt-rn*rn)),er=(rn*dt-st*Cn)/Mt,ir=(-rn*st-dt*Cn)/Mt,dr=(rn*dt+st*Cn)/Mt,pr=(-rn*st+dt*Cn)/Mt,ia=er-De,pa=ir-We,Ga=dr-De,si=pr-We;return ia*ia+pa*pa>Ga*Ga+si*si&&(er=dr,ir=pr),{cx:er,cy:ir,x0:-z,y0:-Y,x1:er*(f/nn-1),y1:ir*(f/nn-1)}}function kh(a){var n;if(Object(H.t)(a)){var e=a.length;if(!e)return a;e===1?n=[a[0],a[0],0,0]:e===2?n=[a[0],a[0],a[1],a[1]]:e===3?n=a.concat(a[2]):n=a}else n=[a,a,a,a];return n}function jR(a,n){var e,s=Ux(n.r,0),f=Ux(n.r0||0,0),p=s>0,h=f>0;if(!(!p&&!h)){if(p||(s=f,f=0),f>s){var _=s;s=f,f=_}var M=n.startAngle,L=n.endAngle;if(!(isNaN(M)||isNaN(L))){var z=n.cx,Y=n.cy,q=!!n.clockwise,se=u6(L-M),ye=se>kR&&se%kR;if(ye>Bm&&(se=ye),!(s>Bm))a.moveTo(z,Y);else if(se>kR-Bm)a.moveTo(z+s*QO(M),Y+s*v1(M)),a.arc(z,Y,s,M,L,!q),f>Bm&&(a.moveTo(z+f*QO(L),Y+f*v1(L)),a.arc(z,Y,f,L,M,q));else{var je=void 0,De=void 0,We=void 0,st=void 0,dt=void 0,Mt=void 0,nn=void 0,rn=void 0,Cn=void 0,er=void 0,ir=void 0,dr=void 0,pr=void 0,ia=void 0,pa=void 0,Ga=void 0,si=s*QO(M),Bi=s*v1(M),Go=f*QO(L),Lo=f*v1(L),Rs=se>Bm;if(Rs){var Ns=n.cornerRadius;Ns&&(e=kh(Ns),je=e[0],De=e[1],We=e[2],st=e[3]);var Ds=u6(s-f)/2;if(dt=P_(Ds,We),Mt=P_(Ds,st),nn=P_(Ds,je),rn=P_(Ds,De),ir=Cn=Ux(dt,Mt),dr=er=Ux(nn,rn),(Cn>Bm||er>Bm)&&(pr=s*QO(L),ia=s*v1(L),pa=f*QO(M),Ga=f*v1(M),se<Lx)){var yc=pW(si,Bi,pa,Ga,pr,ia,Go,Lo);if(yc){var Zc=si-yc[0],$c=Bi-yc[1],Nu=pr-yc[0],yd=ia-yc[1],Ku=1/v1(l6((Zc*Nu+$c*yd)/(Fx(Zc*Zc+$c*$c)*Fx(Nu*Nu+yd*yd)))/2),vl=Fx(yc[0]*yc[0]+yc[1]*yc[1]);ir=P_(Cn,(s-vl)/(Ku+1)),dr=P_(er,(f-vl)/(Ku-1))}}}if(!Rs)a.moveTo(z+si,Y+Bi);else if(ir>Bm){var Vc=P_(We,ir),$l=P_(st,ir),el=co(pa,Ga,si,Bi,s,Vc,q),_u=co(pr,ia,Go,Lo,s,$l,q);a.moveTo(z+el.cx+el.x0,Y+el.cy+el.y0),ir<Cn&&Vc===$l?a.arc(z+el.cx,Y+el.cy,ir,Xp(el.y0,el.x0),Xp(_u.y0,_u.x0),!q):(Vc>0&&a.arc(z+el.cx,Y+el.cy,Vc,Xp(el.y0,el.x0),Xp(el.y1,el.x1),!q),a.arc(z,Y,s,Xp(el.cy+el.y1,el.cx+el.x1),Xp(_u.cy+_u.y1,_u.cx+_u.x1),!q),$l>0&&a.arc(z+_u.cx,Y+_u.cy,$l,Xp(_u.y1,_u.x1),Xp(_u.y0,_u.x0),!q))}else a.moveTo(z+si,Y+Bi),a.arc(z,Y,s,M,L,!q);if(!(f>Bm)||!Rs)a.lineTo(z+Go,Y+Lo);else if(dr>Bm){var Vc=P_(je,dr),$l=P_(De,dr),el=co(Go,Lo,pr,ia,f,-$l,q),_u=co(si,Bi,pa,Ga,f,-Vc,q);a.lineTo(z+el.cx+el.x0,Y+el.cy+el.y0),dr<er&&Vc===$l?a.arc(z+el.cx,Y+el.cy,dr,Xp(el.y0,el.x0),Xp(_u.y0,_u.x0),!q):($l>0&&a.arc(z+el.cx,Y+el.cy,$l,Xp(el.y0,el.x0),Xp(el.y1,el.x1),!q),a.arc(z,Y,f,Xp(el.cy+el.y1,el.cx+el.x1),Xp(_u.cy+_u.y1,_u.cx+_u.x1),q),Vc>0&&a.arc(z+_u.cx,Y+_u.cy,Vc,Xp(_u.y1,_u.x1),Xp(_u.y0,_u.x0),!q))}else a.lineTo(z+Go,Y+Lo),a.arc(z,Y,f,L,M,q)}a.closePath()}}}var mh=function(){function a(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return a}(),MR=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new mh},n.prototype.buildPath=function(e,s){jR(e,s)},n.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},n}(Ti);MR.prototype.type="sector";var bv=MR,ls=function(){function a(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return a}(),d6=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new ls},n.prototype.buildPath=function(e,s){var f=s.cx,p=s.cy,h=Math.PI*2;e.moveTo(f+s.r,p),e.arc(f,p,s.r,0,h,!1),e.moveTo(f+s.r0,p),e.arc(f,p,s.r0,0,h,!0)},n}(Ti);d6.prototype.type="ring";var Es=d6;function la(a,n,e,s){var f=[],p=[],h=[],_=[],M,L,z,Y;if(s){z=[Infinity,Infinity],Y=[-Infinity,-Infinity];for(var q=0,se=a.length;q<se;q++)xo(z,z,a[q]),cs(Y,Y,a[q]);xo(z,z,s[0]),cs(Y,Y,s[1])}for(var q=0,se=a.length;q<se;q++){var ye=a[q];if(e)M=a[q?q-1:se-1],L=a[(q+1)%se];else if(q===0||q===se-1){f.push(Cr(a[q]));continue}else M=a[q-1],L=a[q+1];Ln(p,L,M),ti(p,p,n);var je=Ri(ye,M),De=Ri(ye,L),We=je+De;We!==0&&(je/=We,De/=We),ti(h,p,-je),ti(_,p,De);var st=Lt([],ye,h),dt=Lt([],ye,_);s&&(cs(st,st,z),xo(st,st,Y),cs(dt,dt,z),xo(dt,dt,Y)),f.push(st),f.push(dt)}return e&&f.push(f.shift()),f}function vW(a,n,e){var s=n.smooth,f=n.points;if(f&&f.length>=2){if(s){var p=la(f,s,e,n.smoothConstraint);a.moveTo(f[0][0],f[0][1]);for(var h=f.length,_=0;_<(e?h:h-1);_++){var M=p[_*2],L=p[_*2+1],z=f[(_+1)%h];a.bezierCurveTo(M[0],M[1],L[0],L[1],z[0],z[1])}}else{a.moveTo(f[0][0],f[0][1]);for(var _=1,Y=f.length;_<Y;_++)a.lineTo(f[_][0],f[_][1])}e&&a.closePath()}}var sse=function(){function a(){this.points=null,this.smooth=0,this.smoothConstraint=null}return a}(),hW=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new sse},n.prototype.buildPath=function(e,s){vW(e,s,!0)},n}(Ti);hW.prototype.type="polygon";var $h=hW,gW=function(){function a(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return a}(),mW=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new gW},n.prototype.buildPath=function(e,s){vW(e,s,!1)},n}(Ti);mW.prototype.type="polyline";var Cg=mW,QT={},cse=function(){function a(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return a}(),_W=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new cse},n.prototype.buildPath=function(e,s){var f,p,h,_;if(this.subPixelOptimize){var M=zs(QT,s,this.style);f=M.x1,p=M.y1,h=M.x2,_=M.y2}else f=s.x1,p=s.y1,h=s.x2,_=s.y2;var L=s.percent;L!==0&&(e.moveTo(f,p),L<1&&(h=f*(1-L)+h*L,_=p*(1-L)+_*L),e.lineTo(h,_))},n.prototype.pointAt=function(e){var s=this.shape;return[s.x1*(1-e)+s.x2*e,s.y1*(1-e)+s.y2*e]},n}(Ti);_W.prototype.type="line";var _h=_W,Vg=[],lse=function(){function a(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return a}();function yW(a,n,e){var s=a.cpx2,f=a.cpy2;return s!=null||f!=null?[(e?Ar:Ts)(a.x1,a.cpx1,a.cpx2,a.x2,n),(e?Ar:Ts)(a.y1,a.cpy1,a.cpy2,a.y2,n)]:[(e?Vl:Dl)(a.x1,a.cpx1,a.x2,n),(e?Vl:Dl)(a.y1,a.cpy1,a.y2,n)]}var bW=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new lse},n.prototype.buildPath=function(e,s){var f=s.x1,p=s.y1,h=s.x2,_=s.y2,M=s.cpx1,L=s.cpy1,z=s.cpx2,Y=s.cpy2,q=s.percent;q!==0&&(e.moveTo(f,p),z==null||Y==null?(q<1&&(pd(f,M,h,q,Vg),M=Vg[1],h=Vg[2],pd(p,L,_,q,Vg),L=Vg[1],_=Vg[2]),e.quadraticCurveTo(M,L,h,_)):(q<1&&(Jc(f,M,z,h,q,Vg),M=Vg[1],z=Vg[2],h=Vg[3],Jc(p,L,Y,_,q,Vg),L=Vg[1],Y=Vg[2],_=Vg[3]),e.bezierCurveTo(M,L,z,Y,h,_)))},n.prototype.pointAt=function(e){return yW(this.shape,e,!1)},n.prototype.tangentAt=function(e){var s=yW(this.shape,e,!0);return ui(s,s)},n}(Ti);bW.prototype.type="bezier-curve";var qT=bW,use=function(){function a(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return a}(),iv=function(a){nt(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new use},n.prototype.buildPath=function(e,s){var f=s.cx,p=s.cy,h=Math.max(s.r,0),_=s.startAngle,M=s.endAngle,L=s.clockwise,z=Math.cos(_),Y=Math.sin(_);e.moveTo(z*h+f,Y*h+p),e.arc(f,p,h,_,M,!L)},n}(Ti);iv.prototype.type="arc";var xi=iv,Pi=function(a){nt(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="compound",e}return n.prototype._updatePathDirty=function(){for(var e=this.shape.paths,s=this.shapeChanged(),f=0;f<e.length;f++)s=s||e[f].shapeChanged();s&&this.dirtyShape()},n.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],s=this.getGlobalScale(),f=0;f<e.length;f++)e[f].path||e[f].createPathProxy(),e[f].path.setScale(s[0],s[1],e[f].segmentIgnoreThreshold)},n.prototype.buildPath=function(e,s){for(var f=s.paths||[],p=0;p<f.length;p++)f[p].buildPath(e,f[p].shape,!0)},n.prototype.afterBrush=function(){for(var e=this.shape.paths||[],s=0;s<e.length;s++)e[s].pathUpdated()},n.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ti.prototype.getBoundingRect.call(this)},n}(Ti),eA=Pi,dv=function(){function a(n){this.colorStops=n||[]}return a.prototype.addColorStop=function(n,e){this.colorStops.push({offset:n,color:e})},a}(),OW=dv,PR=function(a){nt(n,a);function n(e,s,f,p,h,_){var M=a.call(this,h)||this;return M.x=e==null?0:e,M.y=s==null?0:s,M.x2=f==null?1:f,M.y2=p==null?0:p,M.type="linear",M.global=_||!1,M}return n}(OW),h1=PR,f6=function(a){nt(n,a);function n(e,s,f,p,h){var _=a.call(this,p)||this;return _.x=e==null?.5:e,_.y=s==null?.5:s,_.r=f==null?.5:f,_.type="radial",_.global=h||!1,_}return n}(OW),tA=f6,Ny=[0,0],Ly=[0,0],Bx=new Ni,Vx=new Ni,p6=function(){function a(n,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var s=0;s<4;s++)this._corners[s]=new Ni;for(var s=0;s<2;s++)this._axes[s]=new Ni;n&&this.fromBoundingRect(n,e)}return a.prototype.fromBoundingRect=function(n,e){var s=this._corners,f=this._axes,p=n.x,h=n.y,_=p+n.width,M=h+n.height;if(s[0].set(p,h),s[1].set(_,h),s[2].set(_,M),s[3].set(p,M),e)for(var L=0;L<4;L++)s[L].transform(e);Ni.sub(f[0],s[1],s[0]),Ni.sub(f[1],s[3],s[0]),f[0].normalize(),f[1].normalize();for(var L=0;L<2;L++)this._origin[L]=f[L].dot(s[0])},a.prototype.intersect=function(n,e){var s=!0,f=!e;return Bx.set(Infinity,Infinity),Vx.set(0,0),!this._intersectCheckOneSide(this,n,Bx,Vx,f,1)&&(s=!1,f)||!this._intersectCheckOneSide(n,this,Bx,Vx,f,-1)&&(s=!1,f)||f||Ni.copy(e,s?Bx:Vx),s},a.prototype._intersectCheckOneSide=function(n,e,s,f,p,h){for(var _=!0,M=0;M<2;M++){var L=this._axes[M];if(this._getProjMinMaxOnAxis(M,n._corners,Ny),this._getProjMinMaxOnAxis(M,e._corners,Ly),Ny[1]<Ly[0]||Ny[0]>Ly[1]){if(_=!1,p)return _;var z=Math.abs(Ly[0]-Ny[1]),Y=Math.abs(Ny[0]-Ly[1]);Math.min(z,Y)>f.len()&&(z<Y?Ni.scale(f,L,-z*h):Ni.scale(f,L,Y*h))}else if(s){var z=Math.abs(Ly[0]-Ny[1]),Y=Math.abs(Ny[0]-Ly[1]);Math.min(z,Y)<s.len()&&(z<Y?Ni.scale(s,L,z*h):Ni.scale(s,L,-Y*h))}}return _},a.prototype._getProjMinMaxOnAxis=function(n,e,s){for(var f=this._axes[n],p=this._origin,h=e[0].dot(f)+p[n],_=h,M=h,L=1;L<e.length;L++){var z=e[L].dot(f)+p[n];_=Math.min(z,_),M=Math.max(z,M)}s[0]=_,s[1]=M},a}(),zx=p6,v6=[],h6=function(a){nt(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return n.prototype.traverse=function(e,s){e.call(s,this)},n.prototype.useStyle=function(){this.style={}},n.prototype.getCursor=function(){return this._cursor},n.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},n.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},n.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},n.prototype.addDisplayable=function(e,s){s?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},n.prototype.addDisplayables=function(e,s){s=s||!1;for(var f=0;f<e.length;f++)this.addDisplayable(e[f],s)},n.prototype.getDisplayables=function(){return this._displayables},n.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},n.prototype.eachPendingDisplayable=function(e){for(var s=this._cursor;s<this._displayables.length;s++)e&&e(this._displayables[s]);for(var s=0;s<this._temporaryDisplayables.length;s++)e&&e(this._temporaryDisplayables[s])},n.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var s=this._displayables[e];s.parent=this,s.update(),s.parent=null}for(var e=0;e<this._temporaryDisplayables.length;e++){var s=this._temporaryDisplayables[e];s.parent=this,s.update(),s.parent=null}},n.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new fo(Infinity,Infinity,-Infinity,-Infinity),s=0;s<this._displayables.length;s++){var f=this._displayables[s],p=f.getBoundingRect().clone();f.needLocalTransform()&&p.applyTransform(f.getLocalTransform(v6)),e.union(p)}this._rect=e}return this._rect},n.prototype.contain=function(e,s){var f=this.transformCoordToLocal(e,s),p=this.getBoundingRect();if(p.contain(f[0],f[1]))for(var h=0;h<this._displayables.length;h++){var _=this._displayables[h];if(_.contain(e,s))return!0}return!1},n}(so),RR=h6,Hx=Math.max,Gx=Math.min,nA={};function nh(a){return Ti.extend(a)}var CW=uW;function DR(a,n){return CW(a,n)}function Vf(a,n){nA[a]=n}function qO(a){if(nA.hasOwnProperty(a))return nA[a]}function $x(a,n,e,s){var f=i6(a,n);return e&&(s==="center"&&(e=m6(e,f.getBoundingRect())),zv(f,e)),f}function g6(a,n,e){var s=new Gi({style:{image:a,x:n.x,y:n.y,width:n.width,height:n.height},onload:function(f){if(e==="center"){var p={width:f.width,height:f.height};s.setStyle(m6(n,p))}}});return s}function m6(a,n){var e=n.width/n.height,s=a.height*e,f;s<=a.width?f=a.height:(s=a.width,f=s/e);var p=a.x+a.width/2,h=a.y+a.height/2;return{x:p-s/2,y:h-f/2,width:s,height:f}}var zg=dW;function zv(a,n){if(!!a.applyTransform){var e=a.getBoundingRect(),s=e.calculateTransform(n);a.applyTransform(s)}}function Wh(a,n){return zs(a,a,{lineWidth:n}),a}function EW(a){return vs(a.shape,a.shape,a.style),a}var ag=uc;function A0(a,n){for(var e=Fn([]);a&&a!==n;)Ir(e,a.getLocalTransform(),e),a=a.parent;return e}function Vm(a,n,e){return n&&!Object(H.u)(n)&&(n=as.getLocalTransform(n)),e&&(n=$a([],n)),eo([],a,n)}function rA(a,n,e){var s=n[4]===0||n[5]===0||n[0]===0?1:Math.abs(2*n[4]/n[0]),f=n[4]===0||n[5]===0||n[2]===0?1:Math.abs(2*n[4]/n[2]),p=[a==="left"?-s:a==="right"?s:0,a==="top"?-f:a==="bottom"?f:0];return p=Vm(p,n,e),Math.abs(p[0])>Math.abs(p[1])?p[0]>0?"right":"left":p[1]>0?"bottom":"top"}function eC(a){return!a.isGroup}function xW(a){return a.shape!=null}function Wx(a,n,e){if(!a||!n)return;function s(h){var _={};return h.traverse(function(M){eC(M)&&M.anid&&(_[M.anid]=M)}),_}function f(h){var _={x:h.x,y:h.y,rotation:h.rotation};return xW(h)&&(_.shape=Object(H.m)({},h.shape)),_}var p=s(a);n.traverse(function(h){if(eC(h)&&h.anid){var _=p[h.anid];if(_){var M=f(h);h.attr(f(_)),pf(h,M,e,sc(h).dataIndex)}}})}function IR(a,n){return Object(H.H)(a,function(e){var s=e[0];s=Hx(s,n.x),s=Gx(s,n.x+n.width);var f=e[1];return f=Hx(f,n.y),f=Gx(f,n.y+n.height),[s,f]})}function _6(a,n){var e=Hx(a.x,n.x),s=Gx(a.x+a.width,n.x+n.width),f=Hx(a.y,n.y),p=Gx(a.y+a.height,n.y+n.height);if(s>=e&&p>=f)return{x:e,y:f,width:s-e,height:p-f}}function tC(a,n,e){var s=Object(H.m)({rectHover:!0},n),f=s.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},a)return a.indexOf("image://")===0?(f.image=a.slice(8),Object(H.i)(f,e),new Gi(s)):$x(a.replace("path://",""),s,e,"center")}function Kx(a,n,e,s,f){for(var p=0,h=f[f.length-1];p<f.length;p++){var _=f[p];if(y6(a,n,e,s,_[0],_[1],h[0],h[1]))return!0;h=_}}function y6(a,n,e,s,f,p,h,_){var M=e-a,L=s-n,z=h-f,Y=_-p,q=NR(z,Y,M,L);if(b6(q))return!1;var se=a-f,ye=n-p,je=NR(se,ye,M,L)/q;if(je<0||je>1)return!1;var De=NR(se,ye,z,Y)/q;return!(De<0||De>1)}function NR(a,n,e,s){return a*s-e*n}function b6(a){return a<=1e-6&&a>=-1e-6}function nC(a){var n=a.itemTooltipOption,e=a.componentModel,s=a.itemName,f=Object(H.C)(n)?{formatter:n}:n,p=e.mainType,h=e.componentIndex,_={componentType:p,name:s,$vars:["name"]};_[p+"Index"]=h;var M=a.formatterParamsExtra;M&&Object(H.k)(Object(H.F)(M),function(z){Object(H.q)(_,z)||(_[z]=M[z],_.$vars.push(z))});var L=sc(a.el);L.componentMainType=p,L.componentIndex=h,L.tooltipConfig={name:s,option:Object(H.i)({content:s,formatterParams:_},f)}}function gm(a,n){var e;a.isGroup&&(e=n(a)),e||a.traverse(n)}function Fy(a,n){if(a)if(Object(H.t)(a))for(var e=0;e<a.length;e++)gm(a[e],n);else gm(a,n)}Vf("circle",Um),Vf("ellipse",ZT),Vf("sector",bv),Vf("ring",Es),Vf("polygon",$h),Vf("polyline",Cg),Vf("rect",Ic),Vf("line",_h),Vf("bezierCurve",qT),Vf("arc",xi);var rh=ol(),SW=XO(),LR=function(){function a(){this.group=new _s,this.uid=fm("viewChart"),this.renderTask=$O({plan:wW,reset:aA}),this.renderTask.context={view:this}}return a.prototype.init=function(n,e){},a.prototype.render=function(n,e,s,f){},a.prototype.highlight=function(n,e,s,f){var p=n.getData(f&&f.dataType);!p||C6(p,f,"emphasis")},a.prototype.downplay=function(n,e,s,f){var p=n.getData(f&&f.dataType);!p||C6(p,f,"normal")},a.prototype.remove=function(n,e){this.group.removeAll()},a.prototype.dispose=function(n,e){},a.prototype.updateView=function(n,e,s,f){this.render(n,e,s,f)},a.prototype.updateLayout=function(n,e,s,f){this.render(n,e,s,f)},a.prototype.updateVisual=function(n,e,s,f){this.render(n,e,s,f)},a.prototype.eachRendered=function(n){Fy(this.group,n)},a.markUpdateMethod=function(n,e){rh(n).updateMethod=e},a.protoInitialize=function(){var n=a.prototype;n.type="chart"}(),a}();function O6(a,n,e){a&&b0(a)&&(n==="emphasis"?C_:wh)(a,e)}function C6(a,n,e){var s=Gu(a,n),f=n&&n.highlightKey!=null?aF(n.highlightKey):null;s!=null?Object(H.k)(St(s),function(p){O6(a.getItemGraphicEl(p),e,f)}):a.eachItemGraphicEl(function(p){O6(p,e,f)})}hp(LR,["dispose"]),Qf(LR);function wW(a){return SW(a.model)}function aA(a){var n=a.model,e=a.ecModel,s=a.api,f=a.payload,p=n.pipelineContext.progressiveRender,h=a.view,_=f&&rh(f).updateMethod,M=p?"incrementalPrepareRender":_&&h[_]?_:"render";return M!=="render"&&h[M](n,e,s,f),TW[M]}var TW={incrementalPrepareRender:{progress:function(a,n){n.view.incrementalRender(a,n.model,n.ecModel,n.api,n.payload)}},render:{forceFirstProgress:!0,progress:function(a,n){n.view.render(n.model,n.ecModel,n.api,n.payload)}}},np=LR,rC="\0__throttleOriginMethod",E6="\0__throttleRate",k0="\0__throttleType";function FR(a,n,e){var s,f=0,p=0,h=null,_,M,L,z;n=n||0;function Y(){p=new Date().getTime(),h=null,a.apply(M,L||[])}var q=function(){for(var se=[],ye=0;ye<arguments.length;ye++)se[ye]=arguments[ye];s=new Date().getTime(),M=this,L=se;var je=z||n,De=z||e;z=null,_=s-(De?f:p)-je,clearTimeout(h),De?h=setTimeout(Y,je):_>=0?Y():h=setTimeout(Y,-_),f=s};return q.clear=function(){h&&(clearTimeout(h),h=null)},q.debounceNextCall=function(se){z=se},q}function Uy(a,n,e,s){var f=a[n];if(!!f){var p=f[rC]||f,h=f[k0],_=f[E6];if(_!==e||h!==s){if(e==null||!s)return a[n]=p;f=a[n]=FR(p,e,s==="debounce"),f[rC]=p,f[k0]=s,f[E6]=e}return f}}function aC(a,n){var e=a[n];e&&e[rC]&&(e.clear&&e.clear(),a[n]=e[rC])}var x6=ol(),S6={itemStyle:lv(pT,!0),lineStyle:lv(fT,!0)},AW={lineStyle:"stroke",itemStyle:"fill"};function w6(a,n){var e=a.visualStyleMapper||S6[n];return e||(console.warn("Unknown style type '"+n+"'."),S6.itemStyle)}function T6(a,n){var e=a.visualDrawType||AW[n];return e||(console.warn("Unknown style type '"+n+"'."),"fill")}var g1={createOnAllSeries:!0,performRawSeries:!0,reset:function(a,n){var e=a.getData(),s=a.visualStyleAccessPath||"itemStyle",f=a.getModel(s),p=w6(a,s),h=p(f),_=f.getShallow("decal");_&&(e.setVisual("decal",_),_.dirty=!0);var M=T6(a,s),L=h[M],z=Object(H.w)(L)?L:null,Y=h.fill==="auto"||h.stroke==="auto";if(!h[M]||z||Y){var q=a.getColorFromPalette(a.name,null,n.getSeriesCount());h[M]||(h[M]=q,e.setVisual("colorFromPalette",!0)),h.fill=h.fill==="auto"||Object(H.w)(h.fill)?q:h.fill,h.stroke=h.stroke==="auto"||Object(H.w)(h.stroke)?q:h.stroke}if(e.setVisual("style",h),e.setVisual("drawType",M),!n.isSeriesFiltered(a)&&z)return e.setVisual("colorFromPalette",!1),{dataEach:function(se,ye){var je=a.getDataParams(ye),De=Object(H.m)({},h);De[M]=z(je),se.setItemVisual(ye,"style",De)}}}},Yx=new tp,kW={createOnAllSeries:!0,performRawSeries:!0,reset:function(a,n){if(!(a.ignoreStyleOnData||n.isSeriesFiltered(a))){var e=a.getData(),s=a.visualStyleAccessPath||"itemStyle",f=w6(a,s),p=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(h,_){var M=h.getRawDataItem(_);if(M&&M[s]){Yx.option=M[s];var L=f(Yx),z=h.ensureUniqueItemVisual(_,"style");Object(H.m)(z,L),Yx.option.decal&&(h.setItemVisual(_,"decal",Yx.option.decal),Yx.option.decal.dirty=!0),p in L&&h.setItemVisual(_,"colorFromPalette",!1)}}:null}}}},jW={performRawSeries:!0,overallReset:function(a){var n=Object(H.f)();a.eachSeries(function(e){var s=e.getColorBy();if(!e.isColorBySeries()){var f=e.type+"-"+s,p=n.get(f);p||(p={},n.set(f,p)),x6(e).scope=p}}),a.eachSeries(function(e){if(!(e.isColorBySeries()||a.isSeriesFiltered(e))){var s=e.getRawData(),f={},p=e.getData(),h=x6(e).scope,_=e.visualStyleAccessPath||"itemStyle",M=T6(e,_);p.each(function(L){var z=p.getRawIndex(L);f[z]=L}),s.each(function(L){var z=f[L],Y=p.getItemVisual(z,"colorFromPalette");if(Y){var q=p.ensureUniqueItemVisual(z,"style"),se=s.getName(L)||L+"",ye=s.count();q[M]=e.getColorFromPalette(se,h,ye)}})}})}},iA=Math.PI;function MW(a,n){n=n||{},H.i(n,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var e=new _s,s=new Ic({style:{fill:n.maskColor},zlevel:n.zlevel,z:1e4});e.add(s);var f=new Ho({style:{text:n.text,fill:n.textColor,fontSize:n.fontSize,fontWeight:n.fontWeight,fontStyle:n.fontStyle,fontFamily:n.fontFamily},zlevel:n.zlevel,z:10001}),p=new Ic({style:{fill:"none"},textContent:f,textConfig:{position:"right",distance:10},zlevel:n.zlevel,z:10001});e.add(p);var h;return n.showSpinner&&(h=new xi({shape:{startAngle:-iA/2,endAngle:-iA/2+.1,r:n.spinnerRadius},style:{stroke:n.color,lineCap:"round",lineWidth:n.lineWidth},zlevel:n.zlevel,z:10001}),h.animateShape(!0).when(1e3,{endAngle:iA*3/2}).start("circularInOut"),h.animateShape(!0).when(1e3,{startAngle:iA*3/2}).delay(300).start("circularInOut"),e.add(h)),e.resize=function(){var _=f.getBoundingRect().width,M=n.showSpinner?n.spinnerRadius:0,L=(a.getWidth()-M*2-(n.showSpinner&&_?10:0)-_)/2-(n.showSpinner&&_?0:5+_/2)+(n.showSpinner?0:_/2)+(_?0:M),z=a.getHeight()/2;n.showSpinner&&h.setShape({cx:L,cy:z}),p.setShape({x:L-M,y:z-M,width:M*2,height:M*2}),s.setShape({x:0,y:0,width:a.getWidth(),height:a.getHeight()})},e.resize(),e}var PW=function(){function a(n,e,s,f){this._stageTaskMap=Object(H.f)(),this.ecInstance=n,this.api=e,s=this._dataProcessorHandlers=s.slice(),f=this._visualHandlers=f.slice(),this._allHandlers=s.concat(f)}return a.prototype.restoreData=function(n,e){n.restoreData(e),this._stageTaskMap.each(function(s){var f=s.overallTask;f&&f.dirty()})},a.prototype.getPerformArgs=function(n,e){if(!!n.__pipeline){var s=this._pipelineMap.get(n.__pipeline.id),f=s.context,p=!e&&s.progressiveEnabled&&(!f||f.progressiveRender)&&n.__idxInPipeline>s.blockIndex,h=p?s.step:null,_=f&&f.modDataCount,M=_!=null?Math.ceil(_/h):null;return{step:h,modBy:M,modDataCount:_}}},a.prototype.getPipeline=function(n){return this._pipelineMap.get(n)},a.prototype.updateStreamModes=function(n,e){var s=this._pipelineMap.get(n.uid),f=n.getData(),p=f.count(),h=s.progressiveEnabled&&e.incrementalPrepareRender&&p>=s.threshold,_=n.get("large")&&p>=n.get("largeThreshold"),M=n.get("progressiveChunkMode")==="mod"?p:null;n.pipelineContext=s.context={progressiveRender:h,modDataCount:M,large:_}},a.prototype.restorePipelines=function(n){var e=this,s=e._pipelineMap=Object(H.f)();n.eachSeries(function(f){var p=f.getProgressive(),h=f.uid;s.set(h,{id:h,head:null,tail:null,threshold:f.getProgressiveThreshold(),progressiveEnabled:p&&!(f.preventIncremental&&f.preventIncremental()),blockIndex:-1,step:Math.round(p||700),count:0}),e._pipe(f,f.dataTask)})},a.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,e=this.api.getModel(),s=this.api;Object(H.k)(this._allHandlers,function(f){var p=n.get(f.uid)||n.set(f.uid,{}),h="";Object(H.b)(!(f.reset&&f.overallReset),h),f.reset&&this._createSeriesStageTask(f,p,e,s),f.overallReset&&this._createOverallStageTask(f,p,e,s)},this)},a.prototype.prepareView=function(n,e,s,f){var p=n.renderTask,h=p.context;h.model=e,h.ecModel=s,h.api=f,p.__block=!n.incrementalPrepareRender,this._pipe(e,p)},a.prototype.performDataProcessorTasks=function(n,e){this._performStageTasks(this._dataProcessorHandlers,n,e,{block:!0})},a.prototype.performVisualTasks=function(n,e,s){this._performStageTasks(this._visualHandlers,n,e,s)},a.prototype._performStageTasks=function(n,e,s,f){f=f||{};var p=!1,h=this;Object(H.k)(n,function(M,L){if(!(f.visualType&&f.visualType!==M.visualType)){var z=h._stageTaskMap.get(M.uid),Y=z.seriesTaskMap,q=z.overallTask;if(q){var se,ye=q.agentStubMap;ye.each(function(De){_(f,De)&&(De.dirty(),se=!0)}),se&&q.dirty(),h.updatePayload(q,s);var je=h.getPerformArgs(q,f.block);ye.each(function(De){De.perform(je)}),q.perform(je)&&(p=!0)}else Y&&Y.each(function(De,We){_(f,De)&&De.dirty();var st=h.getPerformArgs(De,f.block);st.skip=!M.performRawSeries&&e.isSeriesFiltered(De.context.model),h.updatePayload(De,s),De.perform(st)&&(p=!0)})}});function _(M,L){return M.setDirty&&(!M.dirtyMap||M.dirtyMap.get(L.__pipeline.id))}this.unfinished=p||this.unfinished},a.prototype.performSeriesTasks=function(n){var e;n.eachSeries(function(s){e=s.dataTask.perform()||e}),this.unfinished=e||this.unfinished},a.prototype.plan=function(){this._pipelineMap.each(function(n){var e=n.tail;do{if(e.__block){n.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},a.prototype.updatePayload=function(n,e){e!=="remain"&&(n.context.payload=e)},a.prototype._createSeriesStageTask=function(n,e,s,f){var p=this,h=e.seriesTaskMap,_=e.seriesTaskMap=Object(H.f)(),M=n.seriesType,L=n.getTargetSeries;n.createOnAllSeries?s.eachRawSeries(z):M?s.eachRawSeriesByType(M,z):L&&L(s,f).each(z);function z(Y){var q=Y.uid,se=_.set(q,h&&h.get(q)||$O({plan:LW,reset:FW,count:Xx}));se.context={model:Y,ecModel:s,api:f,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:p},p._pipe(Y,se)}},a.prototype._createOverallStageTask=function(n,e,s,f){var p=this,h=e.overallTask=e.overallTask||$O({reset:RW});h.context={ecModel:s,api:f,overallReset:n.overallReset,scheduler:p};var _=h.agentStubMap,M=h.agentStubMap=Object(H.f)(),L=n.seriesType,z=n.getTargetSeries,Y=!0,q=!1,se="";Object(H.b)(!n.createOnAllSeries,se),L?s.eachRawSeriesByType(L,ye):z?z(s,f).each(ye):(Y=!1,Object(H.k)(s.getSeries(),ye));function ye(je){var De=je.uid,We=M.set(De,_&&_.get(De)||(q=!0,$O({reset:DW,onDirty:NW})));We.context={model:je,overallProgress:Y},We.agent=h,We.__block=Y,p._pipe(je,We)}q&&h.dirty()},a.prototype._pipe=function(n,e){var s=n.uid,f=this._pipelineMap.get(s);!f.head&&(f.head=e),f.tail&&f.tail.pipe(e),f.tail=e,e.__idxInPipeline=f.count++,e.__pipeline=f},a.wrapStageHandler=function(n,e){return Object(H.w)(n)&&(n={overallReset:n,seriesType:UW(n)}),n.uid=fm("stageHandler"),e&&(n.visualType=e),n},a}();function RW(a){a.overallReset(a.ecModel,a.api,a.payload)}function DW(a){return a.overallProgress&&IW}function IW(){this.agent.dirty(),this.getDownstream().dirty()}function NW(){this.agent&&this.agent.dirty()}function LW(a){return a.plan?a.plan(a.model,a.ecModel,a.api,a.payload):null}function FW(a){a.useClearVisual&&a.data.clearAllVisual();var n=a.resetDefines=St(a.reset(a.model,a.ecModel,a.api,a.payload));return n.length>1?Object(H.H)(n,function(e,s){return A6(s)}):m1}var m1=A6(0);function A6(a){return function(n,e){var s=e.data,f=e.resetDefines[a];if(f&&f.dataEach)for(var p=n.start;p<n.end;p++)f.dataEach(s,p);else f&&f.progress&&f.progress(n,s)}}function Xx(a){return a.data.count()}function UW(a){oA=null;try{a(Jx,k6)}catch(n){}return oA}var Jx={},k6={},oA;j6(Jx,BT),j6(k6,be),Jx.eachSeriesByType=Jx.eachRawSeriesByType=function(a){oA=a},Jx.eachComponent=function(a){a.mainType==="series"&&a.subType&&(oA=a.subType)};function j6(a,n){for(var e in n.prototype)a[e]=H.L}var M6=PW,P6=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],BW={color:P6,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],P6]},ig="#B9B8CE",R6="#100C2A",sA=function(){return{axisLine:{lineStyle:{color:ig}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},D6=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],I6={darkMode:!0,color:D6,backgroundColor:R6,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ig}},textStyle:{color:ig},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ig}},dataZoom:{borderColor:"#71708A",textStyle:{color:ig},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:ig}},timeline:{lineStyle:{color:ig},label:{color:ig},controlStyle:{color:ig,borderColor:ig}},calendar:{itemStyle:{color:R6},dayLabel:{color:ig},monthLabel:{color:ig},yearLabel:{color:ig}},timeAxis:sA(),logAxis:sA(),valueAxis:sA(),categoryAxis:sA(),line:{symbol:"circle"},graph:{color:D6},gauge:{title:{color:ig},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ig},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};I6.categoryAxis.splitLine.show=!1;var VW=I6,zW=function(){function a(){}return a.prototype.normalizeQuery=function(n){var e={},s={},f={};if(H.C(n)){var p=up(n);e.mainType=p.main||null,e.subType=p.sub||null}else{var h=["Index","Name","Id"],_={name:1,dataIndex:1,dataType:1};H.k(n,function(M,L){for(var z=!1,Y=0;Y<h.length;Y++){var q=h[Y],se=L.lastIndexOf(q);if(se>0&&se===L.length-q.length){var ye=L.slice(0,se);ye!=="data"&&(e.mainType=ye,e[q.toLowerCase()]=M,z=!0)}}_.hasOwnProperty(L)&&(s[L]=M,z=!0),z||(f[L]=M)})}return{cptQuery:e,dataQuery:s,otherQuery:f}},a.prototype.filter=function(n,e){var s=this.eventInfo;if(!s)return!0;var f=s.targetEl,p=s.packedEvent,h=s.model,_=s.view;if(!h||!_)return!0;var M=e.cptQuery,L=e.dataQuery;return z(M,h,"mainType")&&z(M,h,"subType")&&z(M,h,"index","componentIndex")&&z(M,h,"name")&&z(M,h,"id")&&z(L,p,"name")&&z(L,p,"dataIndex")&&z(L,p,"dataType")&&(!_.filterForExposedEvent||_.filterForExposedEvent(n,e.otherQuery,f,p));function z(Y,q,se,ye){return Y[se]==null||q[ye||se]===Y[se]}},a.prototype.afterTrigger=function(){this.eventInfo=null},a}(),UR=["symbol","symbolSize","symbolRotate","symbolOffset"],_1=UR.concat(["symbolKeepAspect"]),N6={createOnAllSeries:!0,performRawSeries:!0,reset:function(a,n){var e=a.getData();if(a.legendIcon&&e.setVisual("legendIcon",a.legendIcon),!a.hasSymbolVisual)return;for(var s={},f={},p=!1,h=0;h<UR.length;h++){var _=UR[h],M=a.get(_);Object(H.w)(M)?(p=!0,f[_]=M):s[_]=M}if(s.symbol=s.symbol||a.defaultSymbol,e.setVisual(Object(H.m)({legendIcon:a.legendIcon||s.symbol,symbolKeepAspect:a.get("symbolKeepAspect")},s)),n.isSeriesFiltered(a))return;var L=Object(H.F)(f);function z(Y,q){for(var se=a.getRawValue(q),ye=a.getDataParams(q),je=0;je<L.length;je++){var De=L[je];Y.setItemVisual(q,De,f[De](se,ye))}}return{dataEach:p?z:null}}},HW={createOnAllSeries:!0,performRawSeries:!0,reset:function(a,n){if(!a.hasSymbolVisual||n.isSeriesFiltered(a))return;var e=a.getData();function s(f,p){for(var h=f.getItemModel(p),_=0;_<_1.length;_++){var M=_1[_],L=h.getShallow(M,!0);L!=null&&f.setItemVisual(p,M,L)}}return{dataEach:e.hasItemOption?s:null}}};function BR(a,n,e){switch(e){case"color":var s=a.getItemVisual(n,"style");return s[a.getVisual("drawType")];case"opacity":return a.getItemVisual(n,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return a.getItemVisual(n,e);default:}}function Zx(a,n){switch(n){case"color":var e=a.getVisual("style");return e[a.getVisual("drawType")];case"opacity":return a.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return a.getVisual(n);default:}}function By(a,n,e,s){switch(e){case"color":var f=a.ensureUniqueItemVisual(n,"style");f[a.getVisual("drawType")]=s,a.setItemVisual(n,"colorFromPalette",!1);break;case"opacity":a.ensureUniqueItemVisual(n,"style").opacity=s;break;case"symbol":case"symbolSize":case"liftZ":a.setItemVisual(n,e,s);break;default:}}function L6(a,n){function e(s,f){var p=[];return s.eachComponent({mainType:"series",subType:a,query:f},function(h){p.push(h.seriesIndex)}),p}Object(H.k)([[a+"ToggleSelect","toggleSelect"],[a+"Select","select"],[a+"UnSelect","unselect"]],function(s){n(s[0],function(f,p,h){f=Object(H.m)({},f),h.dispatchAction(Object(H.m)(f,{type:s[1],seriesIndex:e(p,f)}))})})}function j0(a,n,e,s,f){var p=a+n;e.isSilent(p)||s.eachComponent({mainType:"series",subType:"pie"},function(h){for(var _=h.seriesIndex,M=h.option.selectedMap,L=f.selected,z=0;z<L.length;z++)if(L[z].seriesIndex===_){var Y=h.getData(),q=Gu(Y,f.fromActionPayload);e.trigger(p,{type:p,seriesId:h.id,name:Object(H.t)(q)?Y.getName(q[0]):Y.getName(q),selected:Object(H.C)(M)?M:Object(H.m)({},M)})}})}function GW(a,n,e){a.on("selectchanged",function(s){var f=e.getModel();s.isFromClick?(j0("map","selectchanged",n,f,s),j0("pie","selectchanged",n,f,s)):s.fromAction==="select"?(j0("map","selected",n,f,s),j0("pie","selected",n,f,s)):s.fromAction==="unselect"&&(j0("map","unselected",n,f,s),j0("pie","unselected",n,f,s))})}function y1(a,n,e){for(var s;a&&!(n(a)&&(s=a,e));)a=a.__hostTarget||a.parent;return s}var $W=Math.round(Math.random()*9),WW=typeof Object.defineProperty=="function",KW=function(){function a(){this._id="__ec_inner_"+$W++}return a.prototype.get=function(n){return this._guard(n)[this._id]},a.prototype.set=function(n,e){var s=this._guard(n);return WW?Object.defineProperty(s,this._id,{value:e,enumerable:!1,configurable:!0}):s[this._id]=e,this},a.prototype.delete=function(n){return this.has(n)?(delete this._guard(n)[this._id],!0):!1},a.prototype.has=function(n){return!!this._guard(n)[this._id]},a.prototype._guard=function(n){if(n!==Object(n))throw TypeError("Value of WeakMap is not a non-null object.");return n},a}(),YW=KW,XW=Ti.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,n){var e=n.cx,s=n.cy,f=n.width/2,p=n.height/2;a.moveTo(e,s-p),a.lineTo(e+f,s+p),a.lineTo(e-f,s+p),a.closePath()}}),JW=Ti.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,n){var e=n.cx,s=n.cy,f=n.width/2,p=n.height/2;a.moveTo(e,s-p),a.lineTo(e+f,s),a.lineTo(e,s+p),a.lineTo(e-f,s),a.closePath()}}),ZW=Ti.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,n){var e=n.x,s=n.y,f=n.width/5*3,p=Math.max(f,n.height),h=f/2,_=h*h/(p-h),M=s-p+h+_,L=Math.asin(_/h),z=Math.cos(L)*h,Y=Math.sin(L),q=Math.cos(L),se=h*.6,ye=h*.7;a.moveTo(e-z,M+_),a.arc(e,M,h,Math.PI-L,Math.PI*2+L),a.bezierCurveTo(e+z-Y*se,M+_+q*se,e,s-ye,e,s),a.bezierCurveTo(e,s-ye,e-z+Y*se,M+_+q*se,e-z,M+_),a.closePath()}}),QW=Ti.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,n){var e=n.height,s=n.width,f=n.x,p=n.y,h=s/3*2;a.moveTo(f,p),a.lineTo(f+h,p+e),a.lineTo(f,p+e/4*3),a.lineTo(f-h,p+e),a.lineTo(f,p),a.closePath()}}),iC={line:_h,rect:Ic,roundRect:Ic,square:Ic,circle:Um,diamond:JW,pin:ZW,arrow:QW,triangle:XW},cA={line:function(a,n,e,s,f){f.x1=a,f.y1=n+s/2,f.x2=a+e,f.y2=n+s/2},rect:function(a,n,e,s,f){f.x=a,f.y=n,f.width=e,f.height=s},roundRect:function(a,n,e,s,f){f.x=a,f.y=n,f.width=e,f.height=s,f.r=Math.min(e,s)/4},square:function(a,n,e,s,f){var p=Math.min(e,s);f.x=a,f.y=n,f.width=p,f.height=p},circle:function(a,n,e,s,f){f.cx=a+e/2,f.cy=n+s/2,f.r=Math.min(e,s)/2},diamond:function(a,n,e,s,f){f.cx=a+e/2,f.cy=n+s/2,f.width=e,f.height=s},pin:function(a,n,e,s,f){f.x=a+e/2,f.y=n+s/2,f.width=e,f.height=s},arrow:function(a,n,e,s,f){f.x=a+e/2,f.y=n+s/2,f.width=e,f.height=s},triangle:function(a,n,e,s,f){f.cx=a+e/2,f.cy=n+s/2,f.width=e,f.height=s}},lA={};Object(H.k)(iC,function(a,n){lA[n]=new a});var Qx=Ti.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(a,n,e){var s=Lu(a,n,e),f=this.shape;return f&&f.symbolType==="pin"&&n.position==="inside"&&(s.y=e.y+e.height*.4),s},buildPath:function(a,n,e){var s=n.symbolType;if(s!=="none"){var f=lA[s];f||(s="rect",f=lA[s]),cA[s](n.x,n.y,n.width,n.height,f.shape),f.buildPath(a,f.shape,e)}}});function qW(a,n){if(this.type!=="image"){var e=this.style;this.__isEmptyBrush?(e.stroke=a,e.fill=n||"#fff",e.lineWidth=2):this.shape.symbolType==="line"?e.stroke=a:e.fill=a,this.markRedraw()}}function Rv(a,n,e,s,f,p,h){var _=a.indexOf("empty")===0;_&&(a=a.substr(5,1).toLowerCase()+a.substr(6));var M;return a.indexOf("image://")===0?M=g6(a.slice(8),new fo(n,e,s,f),h?"center":"cover"):a.indexOf("path://")===0?M=$x(a.slice(7),{},new fo(n,e,s,f),h?"center":"cover"):M=new Qx({shape:{symbolType:a,x:n,y:e,width:s,height:f}}),M.__isEmptyBrush=_,M.setColor=qW,p&&M.setColor(p),M}function qx(a){return Object(H.t)(a)||(a=[+a,+a]),[a[0]||0,a[1]||0]}function oC(a,n){if(a!=null)return Object(H.t)(a)||(a=[a,a]),[Mi(a[0],n[0])||0,Mi(Object(H.P)(a[1],a[0]),n[1])||0]}function b1(a){return isFinite(a)}function uA(a,n,e){var s=n.x==null?0:n.x,f=n.x2==null?1:n.x2,p=n.y==null?0:n.y,h=n.y2==null?0:n.y2;n.global||(s=s*e.width+e.x,f=f*e.width+e.x,p=p*e.height+e.y,h=h*e.height+e.y),s=b1(s)?s:0,f=b1(f)?f:1,p=b1(p)?p:0,h=b1(h)?h:0;var _=a.createLinearGradient(s,p,f,h);return _}function eK(a,n,e){var s=e.width,f=e.height,p=Math.min(s,f),h=n.x==null?.5:n.x,_=n.y==null?.5:n.y,M=n.r==null?.5:n.r;n.global||(h=h*s+e.x,_=_*f+e.y,M=M*p),h=b1(h)?h:.5,_=b1(_)?_:.5,M=M>=0&&b1(M)?M:.5;var L=a.createRadialGradient(h,_,0,h,_,M);return L}function VR(a,n,e){for(var s=n.type==="radial"?eK(a,n,e):uA(a,n,e),f=n.colorStops,p=0;p<f.length;p++)s.addColorStop(f[p].offset,f[p].color);return s}function tK(a,n){if(a===n||!a&&!n)return!1;if(!a||!n||a.length!==n.length)return!0;for(var e=0;e<a.length;e++)if(a[e]!==n[e])return!0;return!1}function dA(a){return parseInt(a,10)}function sC(a,n,e){var s=["width","height"][n],f=["clientWidth","clientHeight"][n],p=["paddingLeft","paddingTop"][n],h=["paddingRight","paddingBottom"][n];if(e[s]!=null&&e[s]!=="auto")return parseFloat(e[s]);var _=document.defaultView.getComputedStyle(a);return(a[f]||dA(_[s])||dA(a.style[s]))-(dA(_[p])||0)-(dA(_[h])||0)|0}function nK(a,n){return!a||a==="solid"||!(n>0)?null:a==="dashed"?[4*n,2*n]:a==="dotted"?[n]:Object(H.z)(a)?[a]:Object(H.t)(a)?a:null}function zR(a){var n=a.style,e=n.lineDash&&n.lineWidth>0&&nK(n.lineDash,n.lineWidth),s=n.lineDashOffset;if(e){var f=n.strokeNoScale&&a.getLineScale?a.getLineScale():1;f&&f!==1&&(e=Object(H.H)(e,function(p){return p/f}),s/=f)}return[e,s]}var rK=new tl(!0);function M0(a){var n=a.stroke;return!(n==null||n==="none"||!(a.lineWidth>0))}function eS(a){return typeof a=="string"&&a!=="none"}function fA(a){var n=a.fill;return n!=null&&n!=="none"}function F6(a,n){if(n.fillOpacity!=null&&n.fillOpacity!==1){var e=a.globalAlpha;a.globalAlpha=n.fillOpacity*n.opacity,a.fill(),a.globalAlpha=e}else a.fill()}function U6(a,n){if(n.strokeOpacity!=null&&n.strokeOpacity!==1){var e=a.globalAlpha;a.globalAlpha=n.strokeOpacity*n.opacity,a.stroke(),a.globalAlpha=e}else a.stroke()}function HR(a,n,e){var s=hv(n.image,n.__image,e);if(bp(s)){var f=a.createPattern(s,n.repeat||"repeat");if(typeof DOMMatrix=="function"&&f&&f.setTransform){var p=new DOMMatrix;p.translateSelf(n.x||0,n.y||0),p.rotateSelf(0,0,(n.rotation||0)*H.a),p.scaleSelf(n.scaleX||1,n.scaleY||1),f.setTransform(p)}return f}}function aK(a,n,e,s){var f,p=M0(e),h=fA(e),_=e.strokePercent,M=_<1,L=!n.path;(!n.silent||M)&&L&&n.createPathProxy();var z=n.path||rK,Y=n.__dirty;if(!s){var q=e.fill,se=e.stroke,ye=h&&!!q.colorStops,je=p&&!!se.colorStops,De=h&&!!q.image,We=p&&!!se.image,st=void 0,dt=void 0,Mt=void 0,nn=void 0,rn=void 0;(ye||je)&&(rn=n.getBoundingRect()),ye&&(st=Y?VR(a,q,rn):n.__canvasFillGradient,n.__canvasFillGradient=st),je&&(dt=Y?VR(a,se,rn):n.__canvasStrokeGradient,n.__canvasStrokeGradient=dt),De&&(Mt=Y||!n.__canvasFillPattern?HR(a,q,n):n.__canvasFillPattern,n.__canvasFillPattern=Mt),We&&(nn=Y||!n.__canvasStrokePattern?HR(a,se,n):n.__canvasStrokePattern,n.__canvasStrokePattern=Mt),ye?a.fillStyle=st:De&&(Mt?a.fillStyle=Mt:h=!1),je?a.strokeStyle=dt:We&&(nn?a.strokeStyle=nn:p=!1)}var Cn=n.getGlobalScale();z.setScale(Cn[0],Cn[1],n.segmentIgnoreThreshold);var er,ir;a.setLineDash&&e.lineDash&&(f=zR(n),er=f[0],ir=f[1]);var dr=!0;(L||Y&qt)&&(z.setDPR(a.dpr),M?z.setContext(null):(z.setContext(a),dr=!1),z.reset(),n.buildPath(z,n.shape,s),z.toStatic(),n.pathUpdated()),dr&&z.rebuildPath(a,M?_:1),er&&(a.setLineDash(er),a.lineDashOffset=ir),s||(e.strokeFirst?(p&&U6(a,e),h&&F6(a,e)):(h&&F6(a,e),p&&U6(a,e))),er&&a.setLineDash([])}function pA(a,n,e){var s=n.__image=hv(e.image,n.__image,n,n.onload);if(!(!s||!bp(s))){var f=e.x||0,p=e.y||0,h=n.getWidth(),_=n.getHeight(),M=s.width/s.height;if(h==null&&_!=null?h=_*M:_==null&&h!=null?_=h/M:h==null&&_==null&&(h=s.width,_=s.height),e.sWidth&&e.sHeight){var L=e.sx||0,z=e.sy||0;a.drawImage(s,L,z,e.sWidth,e.sHeight,f,p,h,_)}else if(e.sx&&e.sy){var L=e.sx,z=e.sy,Y=h-L,q=_-z;a.drawImage(s,L,z,Y,q,f,p,h,_)}else a.drawImage(s,f,p,h,_)}}function GR(a,n,e){var s,f=e.text;if(f!=null&&(f+=""),f){a.font=e.font||Cs.a,a.textAlign=e.textAlign,a.textBaseline=e.textBaseline;var p=void 0,h=void 0;a.setLineDash&&e.lineDash&&(s=zR(n),p=s[0],h=s[1]),p&&(a.setLineDash(p),a.lineDashOffset=h),e.strokeFirst?(M0(e)&&a.strokeText(f,e.x,e.y),fA(e)&&a.fillText(f,e.x,e.y)):(fA(e)&&a.fillText(f,e.x,e.y),M0(e)&&a.strokeText(f,e.x,e.y)),p&&a.setLineDash([])}}var B6=["shadowBlur","shadowOffsetX","shadowOffsetY"],V6=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function z6(a,n,e,s,f){var p=!1;if(!s&&(e=e||{},n===e))return!1;if(s||n.opacity!==e.opacity){Kh(a,f),p=!0;var h=Math.max(Math.min(n.opacity,1),0);a.globalAlpha=isNaN(h)?gh.opacity:h}(s||n.blend!==e.blend)&&(p||(Kh(a,f),p=!0),a.globalCompositeOperation=n.blend||gh.blend);for(var _=0;_<B6.length;_++){var M=B6[_];(s||n[M]!==e[M])&&(p||(Kh(a,f),p=!0),a[M]=a.dpr*(n[M]||0))}return(s||n.shadowColor!==e.shadowColor)&&(p||(Kh(a,f),p=!0),a.shadowColor=n.shadowColor||gh.shadowColor),p}function H6(a,n,e,s,f){var p=tS(n,f.inHover),h=s?null:e&&tS(e,f.inHover)||{};if(p===h)return!1;var _=z6(a,p,h,s,f);if((s||p.fill!==h.fill)&&(_||(Kh(a,f),_=!0),eS(p.fill)&&(a.fillStyle=p.fill)),(s||p.stroke!==h.stroke)&&(_||(Kh(a,f),_=!0),eS(p.stroke)&&(a.strokeStyle=p.stroke)),(s||p.opacity!==h.opacity)&&(_||(Kh(a,f),_=!0),a.globalAlpha=p.opacity==null?1:p.opacity),n.hasStroke()){var M=p.lineWidth,L=M/(p.strokeNoScale&&n.getLineScale?n.getLineScale():1);a.lineWidth!==L&&(_||(Kh(a,f),_=!0),a.lineWidth=L)}for(var z=0;z<V6.length;z++){var Y=V6[z],q=Y[0];(s||p[q]!==h[q])&&(_||(Kh(a,f),_=!0),a[q]=p[q]||Y[1])}return _}function iK(a,n,e,s,f){return z6(a,tS(n,f.inHover),e&&tS(e,f.inHover),s,f)}function G6(a,n){var e=n.transform,s=a.dpr||1;e?a.setTransform(s*e[0],s*e[1],s*e[2],s*e[3],s*e[4],s*e[5]):a.setTransform(s,0,0,s,0,0)}function oK(a,n,e){for(var s=!1,f=0;f<a.length;f++){var p=a[f];s=s||p.isZeroArea(),G6(n,p),n.beginPath(),p.buildPath(n,p.shape),n.clip()}e.allClipped=s}function sK(a,n){return a&&n?a[0]!==n[0]||a[1]!==n[1]||a[2]!==n[2]||a[3]!==n[3]||a[4]!==n[4]||a[5]!==n[5]:!(!a&&!n)}var $6=1,$R=2,W6=3,WR=4;function cK(a){var n=fA(a),e=M0(a);return!(a.lineDash||!(+n^+e)||n&&typeof a.fill!="string"||e&&typeof a.stroke!="string"||a.strokePercent<1||a.strokeOpacity<1||a.fillOpacity<1)}function Kh(a,n){n.batchFill&&a.fill(),n.batchStroke&&a.stroke(),n.batchFill="",n.batchStroke=""}function tS(a,n){return n&&a.__hoverStyle||a.style}function O1(a,n){C1(a,n,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function C1(a,n,e,s){var f=n.transform;if(!n.shouldBePainted(e.viewWidth,e.viewHeight,!1,!1)){n.__dirty&=~rl,n.__isRendered=!1;return}var p=n.__clipPaths,h=e.prevElClipPaths,_=!1,M=!1;if((!h||tK(p,h))&&(h&&h.length&&(Kh(a,e),a.restore(),M=_=!0,e.prevElClipPaths=null,e.allClipped=!1,e.prevEl=null),p&&p.length&&(Kh(a,e),a.save(),oK(p,a,e),_=!0),e.prevElClipPaths=p),e.allClipped){n.__isRendered=!1;return}n.beforeBrush&&n.beforeBrush(),n.innerBeforeBrush();var L=e.prevEl;L||(M=_=!0);var z=n instanceof Ti&&n.autoBatch&&cK(n.style);_||sK(f,L.transform)?(Kh(a,e),G6(a,n)):z||Kh(a,e);var Y=tS(n,e.inHover);n instanceof Ti?(e.lastDrawType!==$6&&(M=!0,e.lastDrawType=$6),H6(a,n,L,M,e),(!z||!e.batchFill&&!e.batchStroke)&&a.beginPath(),aK(a,n,Y,z),z&&(e.batchFill=Y.fill||"",e.batchStroke=Y.stroke||"")):n instanceof ki?(e.lastDrawType!==W6&&(M=!0,e.lastDrawType=W6),H6(a,n,L,M,e),GR(a,n,Y)):n instanceof Gi?(e.lastDrawType!==$R&&(M=!0,e.lastDrawType=$R),iK(a,n,L,M,e),pA(a,n,Y)):n.getTemporalDisplayables&&(e.lastDrawType!==WR&&(M=!0,e.lastDrawType=WR),K6(a,n,e)),z&&s&&Kh(a,e),n.innerAfterBrush(),n.afterBrush&&n.afterBrush(),e.prevEl=n,n.__dirty=0,n.__isRendered=!0}function K6(a,n,e){var s=n.getDisplayables(),f=n.getTemporalDisplayables();a.save();var p={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:e.viewWidth,viewHeight:e.viewHeight,inHover:e.inHover},h,_;for(h=n.getCursor(),_=s.length;h<_;h++){var M=s[h];M.beforeBrush&&M.beforeBrush(),M.innerBeforeBrush(),C1(a,M,p,h===_-1),M.innerAfterBrush(),M.afterBrush&&M.afterBrush(),p.prevEl=M}for(var L=0,z=f.length;L<z;L++){var M=f[L];M.beforeBrush&&M.beforeBrush(),M.innerBeforeBrush(),C1(a,M,p,L===z-1),M.innerAfterBrush(),M.afterBrush&&M.afterBrush(),p.prevEl=M}n.clearTemporalDisplayables(),n.notClear=!0,a.restore()}var KR=new YW,vA=new ws.a(100),Y6=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function cC(a,n){if(a==="none")return null;var e=n.getDevicePixelRatio(),s=n.getZr(),f=s.painter.type==="svg";a.dirty&&KR.delete(a);var p=KR.get(a);if(p)return p;var h=Object(H.i)(a,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});h.backgroundColor==="none"&&(h.backgroundColor=null);var _={repeat:"repeat"};return M(_),_.rotation=h.rotation,_.scaleX=_.scaleY=f?1:1/e,KR.set(a,_),a.dirty=!1,_;function M(L){for(var z=[e],Y=!0,q=0;q<Y6.length;++q){var se=h[Y6[q]];if(se!=null&&!Object(H.t)(se)&&!Object(H.C)(se)&&!Object(H.z)(se)&&typeof se!="boolean"){Y=!1;break}z.push(se)}var ye;if(Y){ye=z.join(",")+(f?"-svg":"");var je=vA.get(ye);je&&(f?L.svgElement=je:L.image=je)}var De=J6(h.dashArrayX),We=lK(h.dashArrayY),st=X6(h.symbol),dt=Z6(De),Mt=Q6(We),nn=!f&&Cs.d.createCanvas(),rn=f&&{tag:"g",attrs:{},key:"dcl",children:[]},Cn=ir(),er;nn&&(nn.width=Cn.width*e,nn.height=Cn.height*e,er=nn.getContext("2d")),dr(),Y&&vA.put(ye,nn||rn),L.image=nn,L.svgElement=rn,L.svgWidth=Cn.width,L.svgHeight=Cn.height;function ir(){for(var pr=1,ia=0,pa=dt.length;ia<pa;++ia)pr=ud(pr,dt[ia]);for(var Ga=1,ia=0,pa=st.length;ia<pa;++ia)Ga=ud(Ga,st[ia].length);pr*=Ga;var si=Mt*dt.length*st.length;if(!1)var Bi;return{width:Math.max(1,Math.min(pr,h.maxTileWidth)),height:Math.max(1,Math.min(si,h.maxTileHeight))}}function dr(){er&&(er.clearRect(0,0,nn.width,nn.height),h.backgroundColor&&(er.fillStyle=h.backgroundColor,er.fillRect(0,0,nn.width,nn.height)));for(var pr=0,ia=0;ia<We.length;++ia)pr+=We[ia];if(pr<=0)return;for(var pa=-Mt,Ga=0,si=0,Bi=0;pa<Cn.height;){if(Ga%2==0){for(var Go=si/2%st.length,Lo=0,Rs=0,Ns=0;Lo<Cn.width*2;){for(var Ds=0,ia=0;ia<De[Bi].length;++ia)Ds+=De[Bi][ia];if(Ds<=0)break;if(Rs%2==0){var yc=(1-h.symbolSize)*.5,Zc=Lo+De[Bi][Rs]*yc,$c=pa+We[Ga]*yc,Nu=De[Bi][Rs]*h.symbolSize,yd=We[Ga]*h.symbolSize,Ku=Ns/2%st[Go].length;vl(Zc,$c,Nu,yd,st[Go][Ku])}Lo+=De[Bi][Rs],++Ns,++Rs,Rs===De[Bi].length&&(Rs=0)}++Bi,Bi===De.length&&(Bi=0)}pa+=We[Ga],++si,++Ga,Ga===We.length&&(Ga=0)}function vl(Vc,$l,el,_u,Rf){var Id=f?1:e,xp=Rv(Rf,Vc*Id,$l*Id,el*Id,_u*Id,h.color,h.symbolKeepAspect);if(f){var op=s.painter.renderOneToVNode(xp);op&&rn.children.push(op)}else O1(er,xp)}}}}function X6(a){if(!a||a.length===0)return[["rect"]];if(Object(H.C)(a))return[[a]];for(var n=!0,e=0;e<a.length;++e)if(!Object(H.C)(a[e])){n=!1;break}if(n)return X6([a]);for(var s=[],e=0;e<a.length;++e)Object(H.C)(a[e])?s.push([a[e]]):s.push(a[e]);return s}function J6(a){if(!a||a.length===0)return[[0,0]];if(Object(H.z)(a)){var n=Math.ceil(a);return[[n,n]]}for(var e=!0,s=0;s<a.length;++s)if(!Object(H.z)(a[s])){e=!1;break}if(e)return J6([a]);for(var f=[],s=0;s<a.length;++s)if(Object(H.z)(a[s])){var n=Math.ceil(a[s]);f.push([n,n])}else{var n=Object(H.H)(a[s],function(_){return Math.ceil(_)});n.length%2==1?f.push(n.concat(n)):f.push(n)}return f}function lK(a){if(!a||typeof a=="object"&&a.length===0)return[0,0];if(Object(H.z)(a)){var n=Math.ceil(a);return[n,n]}var e=Object(H.H)(a,function(s){return Math.ceil(s)});return a.length%2?e.concat(e):e}function Z6(a){return Object(H.H)(a,function(n){return Q6(n)})}function Q6(a){for(var n=0,e=0;e<a.length;++e)n+=a[e];return a.length%2==1?n*2:n}function uK(a,n){a.eachRawSeries(function(e){if(!a.isSeriesFiltered(e)){var s=e.getData();s.hasItemVisual()&&s.each(function(h){var _=s.getItemVisual(h,"decal");if(_){var M=s.ensureUniqueItemVisual(h,"style");M.decal=cC(_,n)}});var f=s.getVisual("decal");if(f){var p=s.getVisual("style");p.decal=cC(f,n)}}})}var dK=new xn,Hg=dK,q6={};function Eg(a,n){q6[a]=n}function e5(a){return q6[a]}var dse="5.4.2",fK={zrender:"5.4.3"},t5=1,pK=800,vK=900,hK=1e3,lC=2e3,n5=5e3,r5=1e3,gK=1100,hA=2e3,nS=3e3,mK=4e3,R_=4500,_K=4600,YR=5e3,a5=6e3,i5=7e3,o5={PROCESSOR:{FILTER:hK,SERIES_FILTER:pK,STATISTIC:n5},VISUAL:{LAYOUT:r5,PROGRESSIVE_LAYOUT:gK,GLOBAL:hA,CHART:nS,POST_CHART_LAYOUT:_K,COMPONENT:mK,BRUSH:YR,CHART_ITEM:R_,ARIA:a5,DECAL:i5}},Yh="__flagInMainProcess",xg="__pendingUpdate",XR="__needsUpdateStatus",rS=/^[a-zA-Z0-9_]+$/,JR="__connectUpdateStatus",s5=0,yK=1,bK=2;function c5(a){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(this.isDisposed()){Gg(this.id);return}return u5(this,a,n)}}function l5(a){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return u5(this,a,n)}}function u5(a,n,e){return e[0]=e[0]&&e[0].toLowerCase(),xn.prototype[n].apply(a,e)}var d5=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n}(xn),ZR=d5.prototype;ZR.on=l5("on"),ZR.off=l5("off");var uC,D_,gA,zm,QR,qR,eD,aS,Sg,f5,p5,tD,v5,mA,nD,h5,mm,g5,_A=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this,new zW)||this;p._chartsViews=[],p._chartsMap={},p._componentsViews=[],p._componentsMap={},p._pendingActions=[],f=f||{},Object(H.C)(s)&&(s=m5[s]),p._dom=e;var h="canvas",_="auto",M=!1;if(!1)var L,z;var Y=p._zr=mf(e,{renderer:f.renderer||h,devicePixelRatio:f.devicePixelRatio,width:f.width,height:f.height,ssr:f.ssr,useDirtyRect:Object(H.P)(f.useDirtyRect,M),useCoarsePointer:Object(H.P)(f.useCoarsePointer,_),pointerSize:f.pointerSize});p._ssr=f.ssr,p._throttledZrFlush=FR(Object(H.c)(Y.flush,Y),17),s=Object(H.d)(s),s&&I$(s,!0),p._theme=s,p._locale=mT(f.locale||cx),p._coordSysMgr=new In;var q=p._api=nD(p);function se(ye,je){return ye.__prio-je.__prio}return td(bA,se),td(aD,se),p._scheduler=new M6(p,q,aD,bA),p._messageCenter=new d5,p._initEvents(),p.resize=Object(H.c)(p.resize,p),Y.animation.on("frame",p._onframe,p),f5(Y,p),p5(Y,p),Object(H.R)(p),p}return n.prototype._onframe=function(){if(!this._disposed){g5(this);var e=this._scheduler;if(this[xg]){var s=this[xg].silent;this[Yh]=!0;try{uC(this),zm.update.call(this,null,this[xg].updateParams)}catch(M){throw this[Yh]=!1,this[xg]=null,M}this._zr.flush(),this[Yh]=!1,this[xg]=null,aS.call(this,s),Sg.call(this,s)}else if(e.unfinished){var f=t5,p=this._model,h=this._api;e.unfinished=!1;do{var _=+new Date;e.performSeriesTasks(p),e.performDataProcessorTasks(p),qR(this,p),e.performVisualTasks(p),mA(this,this._model,h,"remain",{}),f-=+new Date-_}while(f>0&&e.unfinished);e.unfinished||this._zr.flush()}}},n.prototype.getDom=function(){return this._dom},n.prototype.getId=function(){return this.id},n.prototype.getZr=function(){return this._zr},n.prototype.isSSR=function(){return this._ssr},n.prototype.setOption=function(e,s,f){if(!this[Yh]){if(this._disposed){Gg(this.id);return}var p,h,_;if(Object(H.A)(s)&&(f=s.lazyUpdate,p=s.silent,h=s.replaceMerge,_=s.transition,s=s.notMerge),this[Yh]=!0,!this._model||s){var M=new Mc(this._api),L=this._theme,z=this._model=new BT;z.scheduler=this._scheduler,z.ssr=this._ssr,z.init(null,null,null,L,this._locale,M)}this._model.setOption(e,{replaceMerge:h},iD);var Y={seriesTransition:_,optionChanged:!0};if(f)this[xg]={silent:p,updateParams:Y},this[Yh]=!1,this.getZr().wakeUp();else{try{uC(this),zm.update.call(this,null,Y)}catch(q){throw this[xg]=null,this[Yh]=!1,q}this._ssr||this._zr.flush(),this[xg]=null,this[Yh]=!1,aS.call(this,p),Sg.call(this,p)}}},n.prototype.setTheme=function(){zO("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},n.prototype.getModel=function(){return this._model},n.prototype.getOption=function(){return this._model&&this._model.getOption()},n.prototype.getWidth=function(){return this._zr.getWidth()},n.prototype.getHeight=function(){return this._zr.getHeight()},n.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Bt.a.hasGlobalWindow&&window.devicePixelRatio||1},n.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},n.prototype.renderToCanvas=function(e){e=e||{};var s=this._zr.painter;return s.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},n.prototype.renderToSVGString=function(e){e=e||{};var s=this._zr.painter;return s.renderToString({useViewBox:e.useViewBox})},n.prototype.getSvgDataURL=function(){if(!!Bt.a.svgSupported){var e=this._zr,s=e.storage.getDisplayList();return Object(H.k)(s,function(f){f.stopAnimation(null,!0)}),e.painter.toDataURL()}},n.prototype.getDataURL=function(e){if(this._disposed){Gg(this.id);return}e=e||{};var s=e.excludeComponents,f=this._model,p=[],h=this;Object(H.k)(s,function(M){f.eachComponent({mainType:M},function(L){var z=h._componentsMap[L.__viewId];z.group.ignore||(p.push(z),z.group.ignore=!0)})});var _=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(H.k)(p,function(M){M.group.ignore=!1}),_},n.prototype.getConnectedDataURL=function(e){if(this._disposed){Gg(this.id);return}var s=e.type==="svg",f=this.group,p=Math.min,h=Math.max,_=Infinity;if(OA[f]){var M=_,L=_,z=-_,Y=-_,q=[],se=e&&e.pixelRatio||this.getDevicePixelRatio();Object(H.k)(E1,function(dt,Mt){if(dt.group===f){var nn=s?dt.getZr().painter.getSvgDom().innerHTML:dt.renderToCanvas(Object(H.d)(e)),rn=dt.getDom().getBoundingClientRect();M=p(rn.left,M),L=p(rn.top,L),z=h(rn.right,z),Y=h(rn.bottom,Y),q.push({dom:nn,left:rn.left,top:rn.top})}}),M*=se,L*=se,z*=se,Y*=se;var ye=z-M,je=Y-L,De=Cs.d.createCanvas(),We=mf(De,{renderer:s?"svg":"canvas"});if(We.resize({width:ye,height:je}),s){var st="";return Object(H.k)(q,function(dt){var Mt=dt.left-M,nn=dt.top-L;st+='<g transform="translate('+Mt+","+nn+')">'+dt.dom+"</g>"}),We.painter.getSvgRoot().innerHTML=st,e.connectedBackgroundColor&&We.painter.setBackgroundColor(e.connectedBackgroundColor),We.refreshImmediately(),We.painter.toDataURL()}else return e.connectedBackgroundColor&&We.add(new Ic({shape:{x:0,y:0,width:ye,height:je},style:{fill:e.connectedBackgroundColor}})),Object(H.k)(q,function(dt){var Mt=new Gi({style:{x:dt.left*se-M,y:dt.top*se-L,image:dt.dom}});We.add(Mt)}),We.refreshImmediately(),De.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},n.prototype.convertToPixel=function(e,s){return QR(this,"convertToPixel",e,s)},n.prototype.convertFromPixel=function(e,s){return QR(this,"convertFromPixel",e,s)},n.prototype.containPixel=function(e,s){if(this._disposed){Gg(this.id);return}var f=this._model,p,h=Ff(f,e);return Object(H.k)(h,function(_,M){M.indexOf("Models")>=0&&Object(H.k)(_,function(L){var z=L.coordinateSystem;if(z&&z.containPoint)p=p||!!z.containPoint(s);else if(M==="seriesModels"){var Y=this._chartsMap[L.__viewId];Y&&Y.containPoint&&(p=p||Y.containPoint(s,L))}},this)},this),!!p},n.prototype.getVisual=function(e,s){var f=this._model,p=Ff(f,e,{defaultMainType:"series"}),h=p.seriesModel,_=h.getData(),M=p.hasOwnProperty("dataIndexInside")?p.dataIndexInside:p.hasOwnProperty("dataIndex")?_.indexOfRawIndex(p.dataIndex):null;return M!=null?BR(_,M,s):Zx(_,s)},n.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},n.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},n.prototype._initEvents=function(){var e=this;Object(H.k)(OK,function(s){var f=function(p){var h=e.getModel(),_=p.target,M,L=s==="globalout";if(L?M={}:_&&y1(_,function(ye){var je=sc(ye);if(je&&je.dataIndex!=null){var De=je.dataModel||h.getSeriesByIndex(je.seriesIndex);return M=De&&De.getDataParams(je.dataIndex,je.dataType)||{},!0}else if(je.eventData)return M=Object(H.m)({},je.eventData),!0},!0),M){var z=M.componentType,Y=M.componentIndex;(z==="markLine"||z==="markPoint"||z==="markArea")&&(z="series",Y=M.seriesIndex);var q=z&&Y!=null&&h.getComponent(z,Y),se=q&&e[q.mainType==="series"?"_chartsMap":"_componentsMap"][q.__viewId];M.event=p,M.type=s,e._$eventProcessor.eventInfo={targetEl:_,packedEvent:M,model:q,view:se},e.trigger(s,M)}};f.zrEventfulCallAtLast=!0,e._zr.on(s,f,e)}),Object(H.k)(iS,function(s,f){e._messageCenter.on(f,function(p){this.trigger(f,p)},e)}),Object(H.k)(["selectchanged"],function(s){e._messageCenter.on(s,function(f){this.trigger(s,f)},e)}),GW(this._messageCenter,this,this._api)},n.prototype.isDisposed=function(){return this._disposed},n.prototype.clear=function(){if(this._disposed){Gg(this.id);return}this.setOption({series:[]},!0)},n.prototype.dispose=function(){if(this._disposed){Gg(this.id);return}this._disposed=!0;var e=this.getDom();e&&Gf(this.getDom(),Vy,"");var s=this,f=s._api,p=s._model;Object(H.k)(s._componentsViews,function(h){h.dispose(p,f)}),Object(H.k)(s._chartsViews,function(h){h.dispose(p,f)}),s._zr.dispose(),s._dom=s._model=s._chartsMap=s._componentsMap=s._chartsViews=s._componentsViews=s._scheduler=s._api=s._zr=s._throttledZrFlush=s._theme=s._coordSysMgr=s._messageCenter=null,delete E1[s.id]},n.prototype.resize=function(e){if(!this[Yh]){if(this._disposed){Gg(this.id);return}this._zr.resize(e);var s=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!s){var f=s.resetOption("media"),p=e&&e.silent;this[xg]&&(p==null&&(p=this[xg].silent),f=!0,this[xg]=null),this[Yh]=!0;try{f&&uC(this),zm.update.call(this,{type:"resize",animation:Object(H.m)({duration:0},e&&e.animation)})}catch(h){throw this[Yh]=!1,h}this[Yh]=!1,aS.call(this,p),Sg.call(this,p)}}},n.prototype.showLoading=function(e,s){if(this._disposed){Gg(this.id);return}if(Object(H.A)(e)&&(s=e,e=""),e=e||"default",this.hideLoading(),!!oD[e]){var f=oD[e](this._api,s),p=this._zr;this._loadingFX=f,p.add(f)}},n.prototype.hideLoading=function(){if(this._disposed){Gg(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},n.prototype.makeActionFromEvent=function(e){var s=Object(H.m)({},e);return s.type=iS[e.type],s},n.prototype.dispatchAction=function(e,s){if(this._disposed){Gg(this.id);return}if(Object(H.A)(s)||(s={silent:!!s}),!!yA[e.type]&&!!this._model){if(this[Yh]){this._pendingActions.push(e);return}var f=s.silent;eD.call(this,e,f);var p=s.flush;p?this._zr.flush():p!==!1&&Bt.a.browser.weChat&&this._throttledZrFlush(),aS.call(this,f),Sg.call(this,f)}},n.prototype.updateLabelLayout=function(){Hg.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},n.prototype.appendData=function(e){if(this._disposed){Gg(this.id);return}var s=e.seriesIndex,f=this.getModel(),p=f.getSeriesByIndex(s);p.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},n.internalField=function(){uC=function(Y){var q=Y._scheduler;q.restorePipelines(Y._model),q.prepareStageTasks(),D_(Y,!0),D_(Y,!1),q.plan()},D_=function(Y,q){for(var se=Y._model,ye=Y._scheduler,je=q?Y._componentsViews:Y._chartsViews,De=q?Y._componentsMap:Y._chartsMap,We=Y._zr,st=Y._api,dt=0;dt<je.length;dt++)je[dt].__alive=!1;q?se.eachComponent(function(rn,Cn){rn!=="series"&&Mt(Cn)}):se.eachSeries(Mt);function Mt(rn){var Cn=rn.__requireNewView;rn.__requireNewView=!1;var er="_ec_"+rn.id+"_"+rn.type,ir=!Cn&&De[er];if(!ir){var dr=up(rn.type),pr=q?Np.getClass(dr.main,dr.sub):np.getClass(dr.sub);ir=new pr,ir.init(se,st),De[er]=ir,je.push(ir),We.add(ir.group)}rn.__viewId=ir.__id=er,ir.__alive=!0,ir.__model=rn,ir.group.__ecComponentInfo={mainType:rn.mainType,index:rn.componentIndex},!q&&ye.prepareView(ir,rn,se,st)}for(var dt=0;dt<je.length;){var nn=je[dt];nn.__alive?dt++:(!q&&nn.renderTask.dispose(),We.remove(nn.group),nn.dispose(se,st),je.splice(dt,1),De[nn.__id]===nn&&delete De[nn.__id],nn.__id=nn.group.__ecComponentInfo=null)}},gA=function(Y,q,se,ye,je){var De=Y._model;if(De.setUpdatePayload(se),!ye){Object(H.k)([].concat(Y._componentsViews).concat(Y._chartsViews),nn);return}var We={};We[ye+"Id"]=se[ye+"Id"],We[ye+"Index"]=se[ye+"Index"],We[ye+"Name"]=se[ye+"Name"];var st={mainType:ye,query:We};je&&(st.subType=je);var dt=se.excludeSeriesId,Mt;dt!=null&&(Mt=Object(H.f)(),Object(H.k)(St(dt),function(rn){var Cn=Ms(rn,null);Cn!=null&&Mt.set(Cn,!0)})),De&&De.eachComponent(st,function(rn){var Cn=Mt&&Mt.get(rn.id)!=null;if(!Cn)if(sT(se))if(rn instanceof mp)se.type===Sd&&!se.notBlur&&!rn.get(["emphasis","disabled"])&&LP(rn,se,Y._api);else{var er=RO(rn.mainType,rn.componentIndex,se.name,Y._api),ir=er.focusSelf,dr=er.dispatchers;se.type===Sd&&ir&&!se.notBlur&&_0(rn.mainType,rn.componentIndex,Y._api),dr&&Object(H.k)(dr,function(pr){se.type===Sd?C_(pr):wh(pr)})}else IO(se)&&rn instanceof mp&&(rT(rn,se,Y._api),aT(rn),mm(Y))},Y),De&&De.eachComponent(st,function(rn){var Cn=Mt&&Mt.get(rn.id)!=null;Cn||nn(Y[ye==="series"?"_chartsMap":"_componentsMap"][rn.__viewId])},Y);function nn(rn){rn&&rn.__alive&&rn[q]&&rn[q](rn.__model,De,Y._api,se)}},zm={prepareAndUpdate:function(Y){uC(this),zm.update.call(this,Y,{optionChanged:Y.newOption!=null})},update:function(Y,q){var se=this._model,ye=this._api,je=this._zr,De=this._coordSysMgr,We=this._scheduler;if(!!se){se.setUpdatePayload(Y),We.restoreData(se,Y),We.performSeriesTasks(se),De.create(se,ye),We.performDataProcessorTasks(se,Y),qR(this,se),De.update(se,ye),e(se),We.performVisualTasks(se,Y),tD(this,se,ye,Y,q);var st=se.get("backgroundColor")||"transparent",dt=se.get("darkMode");je.setBackgroundColor(st),dt!=null&&dt!=="auto"&&je.setDarkMode(dt),Hg.trigger("afterupdate",se,ye)}},updateTransform:function(Y){var q=this,se=this._model,ye=this._api;if(!!se){se.setUpdatePayload(Y);var je=[];se.eachComponent(function(We,st){if(We!=="series"){var dt=q.getViewOfComponentModel(st);if(dt&&dt.__alive)if(dt.updateTransform){var Mt=dt.updateTransform(st,se,ye,Y);Mt&&Mt.update&&je.push(dt)}else je.push(dt)}});var De=Object(H.f)();se.eachSeries(function(We){var st=q._chartsMap[We.__viewId];if(st.updateTransform){var dt=st.updateTransform(We,se,ye,Y);dt&&dt.update&&De.set(We.uid,1)}else De.set(We.uid,1)}),e(se),this._scheduler.performVisualTasks(se,Y,{setDirty:!0,dirtyMap:De}),mA(this,se,ye,Y,{},De),Hg.trigger("afterupdate",se,ye)}},updateView:function(Y){var q=this._model;!q||(q.setUpdatePayload(Y),np.markUpdateMethod(Y,"updateView"),e(q),this._scheduler.performVisualTasks(q,Y,{setDirty:!0}),tD(this,q,this._api,Y,{}),Hg.trigger("afterupdate",q,this._api))},updateVisual:function(Y){var q=this,se=this._model;!se||(se.setUpdatePayload(Y),se.eachSeries(function(ye){ye.getData().clearAllVisual()}),np.markUpdateMethod(Y,"updateVisual"),e(se),this._scheduler.performVisualTasks(se,Y,{visualType:"visual",setDirty:!0}),se.eachComponent(function(ye,je){if(ye!=="series"){var De=q.getViewOfComponentModel(je);De&&De.__alive&&De.updateVisual(je,se,q._api,Y)}}),se.eachSeries(function(ye){var je=q._chartsMap[ye.__viewId];je.updateVisual(ye,se,q._api,Y)}),Hg.trigger("afterupdate",se,this._api))},updateLayout:function(Y){zm.update.call(this,Y)}},QR=function(Y,q,se,ye){if(Y._disposed){Gg(Y.id);return}for(var je=Y._model,De=Y._coordSysMgr.getCoordinateSystems(),We,st=Ff(je,se),dt=0;dt<De.length;dt++){var Mt=De[dt];if(Mt[q]&&(We=Mt[q](je,st,ye))!=null)return We}},qR=function(Y,q){var se=Y._chartsMap,ye=Y._scheduler;q.eachSeries(function(je){ye.updateStreamModes(je,se[je.__viewId])})},eD=function(Y,q){var se=this,ye=this.getModel(),je=Y.type,De=Y.escapeConnect,We=yA[je],st=We.actionInfo,dt=(st.update||"update").split(":"),Mt=dt.pop(),nn=dt[0]!=null&&up(dt[0]);this[Yh]=!0;var rn=[Y],Cn=!1;Y.batch&&(Cn=!0,rn=Object(H.H)(Y.batch,function(Ga){return Ga=Object(H.i)(Object(H.m)({},Ga),Y),Ga.batch=null,Ga}));var er=[],ir,dr=IO(Y),pr=sT(Y);if(pr&&ex(this._api),Object(H.k)(rn,function(Ga){if(ir=We.action(Ga,se._model,se._api),ir=ir||Object(H.m)({},Ga),ir.type=st.event||ir.type,er.push(ir),pr){var si=pp(Y),Bi=si.queryOptionMap,Go=si.mainTypeSpecified,Lo=Go?Bi.keys()[0]:"series";gA(se,Mt,Ga,Lo),mm(se)}else dr?(gA(se,Mt,Ga,"series"),mm(se)):nn&&gA(se,Mt,Ga,nn.main,nn.sub)}),Mt!=="none"&&!pr&&!dr&&!nn)try{this[xg]?(uC(this),zm.update.call(this,Y),this[xg]=null):zm[Mt].call(this,Y)}catch(Ga){throw this[Yh]=!1,Ga}if(Cn?ir={type:st.event||je,escapeConnect:De,batch:er}:ir=er[0],this[Yh]=!1,!q){var ia=this._messageCenter;if(ia.trigger(ir.type,ir),dr){var pa={type:"selectchanged",escapeConnect:De,selected:iT(ye),isFromClick:Y.isFromClick||!1,fromAction:Y.type,fromActionPayload:Y};ia.trigger(pa.type,pa)}}},aS=function(Y){for(var q=this._pendingActions;q.length;){var se=q.shift();eD.call(this,se,Y)}},Sg=function(Y){!Y&&this.trigger("updated")},f5=function(Y,q){Y.on("rendered",function(se){q.trigger("rendered",se),Y.animation.isFinished()&&!q[xg]&&!q._scheduler.unfinished&&!q._pendingActions.length&&q.trigger("finished")})},p5=function(Y,q){Y.on("mouseover",function(se){var ye=se.target,je=y1(ye,b0);je&&(nT(je,se,q._api),mm(q))}).on("mouseout",function(se){var ye=se.target,je=y1(ye,b0);je&&(tx(je,se,q._api),mm(q))}).on("click",function(se){var ye=se.target,je=y1(ye,function(st){return sc(st).dataIndex!=null},!0);if(je){var De=je.selected?"unselect":"select",We=sc(je);q._api.dispatchAction({type:De,dataType:We.dataType,dataIndexInside:We.dataIndex,seriesIndex:We.seriesIndex,isFromClick:!0})}})};function e(Y){Y.clearColorPalette(),Y.eachSeries(function(q){q.clearColorPalette()})}function s(Y){var q=[],se=[],ye=!1;if(Y.eachComponent(function(st,dt){var Mt=dt.get("zlevel")||0,nn=dt.get("z")||0,rn=dt.getZLevelKey();ye=ye||!!rn,(st==="series"?se:q).push({zlevel:Mt,z:nn,idx:dt.componentIndex,type:st,key:rn})}),ye){var je=q.concat(se),De,We;td(je,function(st,dt){return st.zlevel===dt.zlevel?st.z-dt.z:st.zlevel-dt.zlevel}),Object(H.k)(je,function(st){var dt=Y.getComponent(st.type,st.idx),Mt=st.zlevel,nn=st.key;De!=null&&(Mt=Math.max(De,Mt)),nn?(Mt===De&&nn!==We&&Mt++,We=nn):We&&(Mt===De&&Mt++,We=""),De=Mt,dt.setZLevel(Mt)})}}tD=function(Y,q,se,ye,je){s(q),v5(Y,q,se,ye,je),Object(H.k)(Y._chartsViews,function(De){De.__alive=!1}),mA(Y,q,se,ye,je),Object(H.k)(Y._chartsViews,function(De){De.__alive||De.remove(q,se)})},v5=function(Y,q,se,ye,je,De){Object(H.k)(De||Y._componentsViews,function(We){var st=We.__model;L(st,We),We.render(st,q,se,ye),_(st,We),z(st,We)})},mA=function(Y,q,se,ye,je,De){var We=Y._scheduler;je=Object(H.m)(je||{},{updatedSeries:q.getSeries()}),Hg.trigger("series:beforeupdate",q,se,je);var st=!1;q.eachSeries(function(dt){var Mt=Y._chartsMap[dt.__viewId];Mt.__alive=!0;var nn=Mt.renderTask;We.updatePayload(nn,ye),L(dt,Mt),De&&De.get(dt.uid)&&nn.dirty(),nn.perform(We.getPerformArgs(nn))&&(st=!0),Mt.group.silent=!!dt.get("silent"),h(dt,Mt),aT(dt)}),We.unfinished=st||We.unfinished,Hg.trigger("series:layoutlabels",q,se,je),Hg.trigger("series:transition",q,se,je),q.eachSeries(function(dt){var Mt=Y._chartsMap[dt.__viewId];_(dt,Mt),z(dt,Mt)}),p(Y,q),Hg.trigger("series:afterupdate",q,se,je)},mm=function(Y){Y[XR]=!0,Y.getZr().wakeUp()},g5=function(Y){!Y[XR]||(Y.getZr().storage.traverse(function(q){Ey(q)||f(q)}),Y[XR]=!1)};function f(Y){for(var q=[],se=Y.currentStates,ye=0;ye<se.length;ye++){var je=se[ye];je==="emphasis"||je==="blur"||je==="select"||q.push(je)}Y.selected&&Y.states.select&&q.push("select"),Y.hoverState===Wo&&Y.states.emphasis?q.push("emphasis"):Y.hoverState===ko&&Y.states.blur&&q.push("blur"),Y.useStates(q)}function p(Y,q){var se=Y._zr,ye=se.storage,je=0;ye.traverse(function(De){De.isGroup||je++}),je>q.get("hoverLayerThreshold")&&!Bt.a.node&&!Bt.a.worker&&q.eachSeries(function(De){if(!De.preventUsingHoverLayer){var We=Y._chartsMap[De.__viewId];We.__alive&&We.eachRendered(function(st){st.states.emphasis&&(st.states.emphasis.hoverLayer=!0)})}})}function h(Y,q){var se=Y.get("blendMode")||null;q.eachRendered(function(ye){ye.isGroup||(ye.style.blend=se)})}function _(Y,q){if(!Y.preventAutoZ){var se=Y.get("z")||0,ye=Y.get("zlevel")||0;q.eachRendered(function(je){return M(je,se,ye,-Infinity),!0})}}function M(Y,q,se,ye){var je=Y.getTextContent(),De=Y.getTextGuideLine(),We=Y.isGroup;if(We)for(var st=Y.childrenRef(),dt=0;dt<st.length;dt++)ye=Math.max(M(st[dt],q,se,ye),ye);else Y.z=q,Y.zlevel=se,ye=Math.max(Y.z2,ye);if(je&&(je.z=q,je.zlevel=se,isFinite(ye)&&(je.z2=ye+2)),De){var Mt=Y.textGuideLineConfig;De.z=q,De.zlevel=se,isFinite(ye)&&(De.z2=ye+(Mt&&Mt.showAbove?1:-1))}return ye}function L(Y,q){q.eachRendered(function(se){if(!Ey(se)){var ye=se.getTextContent(),je=se.getTextGuideLine();se.stateTransition&&(se.stateTransition=null),ye&&ye.stateTransition&&(ye.stateTransition=null),je&&je.stateTransition&&(je.stateTransition=null),se.hasState()?(se.prevStates=se.currentStates,se.clearStates()):se.prevStates&&(se.prevStates=null)}})}function z(Y,q){var se=Y.getModel("stateAnimation"),ye=Y.isAnimationEnabled(),je=se.get("duration"),De=je>0?{duration:je,delay:se.get("delay"),easing:se.get("easing")}:null;q.eachRendered(function(We){if(We.states&&We.states.emphasis){if(Ey(We))return;if(We instanceof Ti&&UP(We),We.__dirty){var st=We.prevStates;st&&We.useStates(st)}if(ye){We.stateTransition=De;var dt=We.getTextContent(),Mt=We.getTextGuideLine();dt&&(dt.stateTransition=De),Mt&&(Mt.stateTransition=De)}We.__dirty&&f(We)}})}nD=function(Y){return new(function(q){Qe(se,q);function se(){return q!==null&&q.apply(this,arguments)||this}return se.prototype.getCoordinateSystems=function(){return Y._coordSysMgr.getCoordinateSystems()},se.prototype.getComponentByElement=function(ye){for(;ye;){var je=ye.__ecComponentInfo;if(je!=null)return Y._model.getComponent(je.mainType,je.index);ye=ye.parent}},se.prototype.enterEmphasis=function(ye,je){C_(ye,je),mm(Y)},se.prototype.leaveEmphasis=function(ye,je){wh(ye,je),mm(Y)},se.prototype.enterBlur=function(ye){NP(ye),mm(Y)},se.prototype.leaveBlur=function(ye){QE(ye),mm(Y)},se.prototype.enterSelect=function(ye){qw(ye),mm(Y)},se.prototype.leaveSelect=function(ye){qE(ye),mm(Y)},se.prototype.getModel=function(){return Y.getModel()},se.prototype.getViewOfComponentModel=function(ye){return Y.getViewOfComponentModel(ye)},se.prototype.getViewOfSeriesModel=function(ye){return Y.getViewOfSeriesModel(ye)},se}(be))(Y)},h5=function(Y){function q(se,ye){for(var je=0;je<se.length;je++){var De=se[je];De[JR]=ye}}Object(H.k)(iS,function(se,ye){Y._messageCenter.on(ye,function(je){if(OA[Y.group]&&Y[JR]!==s5){if(je&&je.escapeConnect)return;var De=Y.makeActionFromEvent(je),We=[];Object(H.k)(E1,function(st){st!==Y&&st.group===Y.group&&We.push(st)}),q(We,s5),Object(H.k)(We,function(st){st[JR]!==yK&&st.dispatchAction(De)}),q(We,bK)}})})}}(),n}(xn),rD=_A.prototype;rD.on=c5("on"),rD.off=c5("off"),rD.one=function(a,n,e){var s=this;zO("ECharts#one is deprecated.");function f(){for(var p=[],h=0;h<arguments.length;h++)p[h]=arguments[h];n&&n.apply&&n.apply(this,p),s.off(a,f)}this.on.call(this,a,f,e)};var OK=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Gg(a){}var yA={},iS={},aD=[],iD=[],bA=[],m5={},oD={},E1={},OA={},CK=+new Date-0,dC=+new Date-0,Vy="_echarts_instance_";function _5(a,n,e){var s=!(e&&e.ssr);if(s){var f=sD(a);if(f)return f}var p=new _A(a,n,e);return p.id="ec_"+CK++,E1[p.id]=p,s&&Gf(a,Vy,p.id),h5(p),Hg.trigger("afterinit",p),p}function fse(a){if(Object(H.t)(a)){var n=a;a=null,Object(H.k)(n,function(e){e.group!=null&&(a=e.group)}),a=a||"g_"+dC++,Object(H.k)(n,function(e){e.group=a})}return OA[a]=!0,a}function EK(a){OA[a]=!1}var pse=EK;function vse(a){Object(H.C)(a)?a=E1[a]:a instanceof _A||(a=sD(a)),a instanceof _A&&!a.isDisposed()&&a.dispose()}function sD(a){return E1[wp(a,Vy)]}function hse(a){return E1[a]}function oS(a,n){m5[a]=n}function y5(a){Object(H.r)(iD,a)<0&&iD.push(a)}function b5(a,n){lD(aD,a,n,lC)}function xK(a){cD("afterinit",a)}function SK(a){cD("afterupdate",a)}function cD(a,n){Hg.on(a,n)}function I_(a,n,e){Object(H.w)(n)&&(e=n,n="");var s=Object(H.A)(a)?a.type:[a,a={event:n}][0];a.event=(a.event||s).toLowerCase(),n=a.event,!iS[n]&&(Object(H.b)(rS.test(s)&&rS.test(n)),yA[s]||(yA[s]={action:e,actionInfo:a}),iS[n]=s)}function wK(a,n){In.register(a,n)}function gse(a){var n=In.get(a);if(n)return n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice()}function TK(a,n){lD(bA,a,n,r5,"layout")}function x1(a,n){lD(bA,a,n,nS,"visual")}var O5=[];function lD(a,n,e,s,f){if((Object(H.w)(n)||Object(H.A)(n))&&(e=n,n=s),!(Object(H.r)(O5,e)>=0)){O5.push(e);var p=M6.wrapStageHandler(e,f);p.__prio=n,p.__raw=e,a.push(p)}}function C5(a,n){oD[a]=n}function mse(a){Object(Cs.e)({createCanvas:a})}function AK(a,n,e){var s=e5("registerMap");s&&s(a,n,e)}function kK(a){var n=e5("getMap");return n&&n(a)}var uD=J$;x1(hA,g1),x1(R_,kW),x1(R_,jW),x1(hA,N6),x1(R_,HW),x1(i5,uK),y5(I$),b5(vK,av),C5("default",MW),I_({type:Sd,event:Sd,update:Sd},H.L),I_({type:Vd,event:Vd,update:Vd},H.L),I_({type:Rd,event:Rd,update:Rd},H.L),I_({type:Bh,event:Bh,update:Bh},H.L),I_({type:Rm,event:Rm,update:Rm},H.L),oS("light",BW),oS("dark",VW);var _se={},E5=[],jK={registerPreprocessor:y5,registerProcessor:b5,registerPostInit:xK,registerPostUpdate:SK,registerUpdateLifecycle:cD,registerAction:I_,registerCoordinateSystem:wK,registerLayout:TK,registerVisual:x1,registerTransform:uD,registerLoading:C5,registerMap:AK,registerImpl:Eg,PRIORITY:o5,ComponentModel:tf,ComponentView:Np,SeriesModel:mp,ChartView:np,registerComponentModel:function(a){tf.registerClass(a)},registerComponentView:function(a){Np.registerClass(a)},registerSeriesModel:function(a){mp.registerClass(a)},registerChartView:function(a){np.registerClass(a)},registerSubTypeDefaulter:function(a,n){tf.registerSubTypeDefaulter(a,n)},registerPainter:function(a,n){$d(a,n)}};function Dd(a){if(Object(H.t)(a)){Object(H.k)(a,function(n){Dd(n)});return}Object(H.r)(E5,a)>=0||(E5.push(a),Object(H.w)(a)&&(a={install:a}),a.install(jK))}function yse(a){var n=tf.extend(a);return tf.registerClass(n),n}function bse(a){var n=Np.extend(a);return Np.registerClass(n),n}function Ose(a){var n=mp.extend(a);return mp.registerClass(n),n}function MK(a){var n=np.extend(a);return np.registerClass(n),n}var sS=Math.PI*2,S1=tl.CMD,x5=["top","right","bottom","left"];function PK(a,n,e,s,f){var p=e.width,h=e.height;switch(a){case"top":s.set(e.x+p/2,e.y-n),f.set(0,-1);break;case"bottom":s.set(e.x+p/2,e.y+h+n),f.set(0,1);break;case"left":s.set(e.x-n,e.y+h/2),f.set(-1,0);break;case"right":s.set(e.x+p+n,e.y+h/2),f.set(1,0);break}}function dD(a,n,e,s,f,p,h,_,M){h-=a,_-=n;var L=Math.sqrt(h*h+_*_);h/=L,_/=L;var z=h*e+a,Y=_*e+n;if(Math.abs(s-f)%sS<1e-4)return M[0]=z,M[1]=Y,L-e;if(p){var q=s;s=Xl(f),f=Xl(q)}else s=Xl(s),f=Xl(f);s>f&&(f+=sS);var se=Math.atan2(_,h);if(se<0&&(se+=sS),se>=s&&se<=f||se+sS>=s&&se+sS<=f)return M[0]=z,M[1]=Y,L-e;var ye=e*Math.cos(s)+a,je=e*Math.sin(s)+n,De=e*Math.cos(f)+a,We=e*Math.sin(f)+n,st=(ye-h)*(ye-h)+(je-_)*(je-_),dt=(De-h)*(De-h)+(We-_)*(We-_);return st<dt?(M[0]=ye,M[1]=je,Math.sqrt(st)):(M[0]=De,M[1]=We,Math.sqrt(dt))}function CA(a,n,e,s,f,p,h,_){var M=f-a,L=p-n,z=e-a,Y=s-n,q=Math.sqrt(z*z+Y*Y);z/=q,Y/=q;var se=M*z+L*Y,ye=se/q;_&&(ye=Math.min(Math.max(ye,0),1)),ye*=q;var je=h[0]=a+ye*z,De=h[1]=n+ye*Y;return Math.sqrt((je-f)*(je-f)+(De-p)*(De-p))}function S5(a,n,e,s,f,p,h){e<0&&(a=a+e,e=-e),s<0&&(n=n+s,s=-s);var _=a+e,M=n+s,L=h[0]=Math.min(Math.max(f,a),_),z=h[1]=Math.min(Math.max(p,n),M);return Math.sqrt((L-f)*(L-f)+(z-p)*(z-p))}var Xh=[];function RK(a,n,e){var s=S5(n.x,n.y,n.width,n.height,a.x,a.y,Xh);return e.set(Xh[0],Xh[1]),s}function DK(a,n,e){for(var s=0,f=0,p=0,h=0,_,M,L=Infinity,z=n.data,Y=a.x,q=a.y,se=0;se<z.length;){var ye=z[se++];se===1&&(s=z[se],f=z[se+1],p=s,h=f);var je=L;switch(ye){case S1.M:p=z[se++],h=z[se++],s=p,f=h;break;case S1.L:je=CA(s,f,z[se],z[se+1],Y,q,Xh,!0),s=z[se++],f=z[se++];break;case S1.C:je=Fc(s,f,z[se++],z[se++],z[se++],z[se++],z[se],z[se+1],Y,q,Xh),s=z[se++],f=z[se++];break;case S1.Q:je=ql(s,f,z[se++],z[se++],z[se],z[se+1],Y,q,Xh),s=z[se++],f=z[se++];break;case S1.A:var De=z[se++],We=z[se++],st=z[se++],dt=z[se++],Mt=z[se++],nn=z[se++];se+=1;var rn=!!(1-z[se++]);_=Math.cos(Mt)*st+De,M=Math.sin(Mt)*dt+We,se<=1&&(p=_,h=M);var Cn=(Y-De)*dt/st+De;je=dD(De,We,dt,Mt,Mt+nn,rn,Cn,q,Xh),s=Math.cos(Mt+nn)*st+De,f=Math.sin(Mt+nn)*dt+We;break;case S1.R:p=s=z[se++],h=f=z[se++];var er=z[se++],ir=z[se++];je=S5(p,h,er,ir,Y,q,Xh);break;case S1.Z:je=CA(s,f,p,h,Y,q,Xh,!0),s=p,f=h;break}je<L&&(L=je,e.set(Xh[0],Xh[1]))}return L}var Hm=new Ni,Xf=new Ni,Ov=new Ni,N_=new Ni,L_=new Ni;function w5(a,n){if(!!a){var e=a.getTextGuideLine(),s=a.getTextContent();if(!!(s&&e)){var f=a.textGuideLineConfig||{},p=[[0,0],[0,0],[0,0]],h=f.candidates||x5,_=s.getBoundingRect().clone();_.applyTransform(s.getComputedTransform());var M=Infinity,L=f.anchor,z=a.getComputedTransform(),Y=z&&$a([],z),q=n.get("length2")||0;L&&Ov.copy(L);for(var se=0;se<h.length;se++){var ye=h[se];PK(ye,0,_,Hm,N_),Ni.scaleAndAdd(Xf,Hm,N_,q),Xf.transform(Y);var je=a.getBoundingRect(),De=L?L.distance(Xf):a instanceof Ti?DK(Xf,a.path,Ov):RK(Xf,je,Ov);De<M&&(M=De,Xf.transform(z),Ov.transform(z),Ov.toArray(p[0]),Xf.toArray(p[1]),Hm.toArray(p[2]))}T5(p,n.get("minTurnAngle")),e.setShape({points:p})}}}var EA=[],og=new Ni;function T5(a,n){if(n<=180&&n>0){n=n/180*Math.PI,Hm.fromArray(a[0]),Xf.fromArray(a[1]),Ov.fromArray(a[2]),Ni.sub(N_,Hm,Xf),Ni.sub(L_,Ov,Xf);var e=N_.len(),s=L_.len();if(!(e<.001||s<.001)){N_.scale(1/e),L_.scale(1/s);var f=N_.dot(L_),p=Math.cos(n);if(p<f){var h=CA(Xf.x,Xf.y,Ov.x,Ov.y,Hm.x,Hm.y,EA,!1);og.fromArray(EA),og.scaleAndAdd(L_,h/Math.tan(Math.PI-n));var _=Ov.x!==Xf.x?(og.x-Xf.x)/(Ov.x-Xf.x):(og.y-Xf.y)/(Ov.y-Xf.y);if(isNaN(_))return;_<0?Ni.copy(og,Xf):_>1&&Ni.copy(og,Ov),og.toArray(a[1])}}}}function IK(a,n,e){if(e<=180&&e>0){e=e/180*Math.PI,Hm.fromArray(a[0]),Xf.fromArray(a[1]),Ov.fromArray(a[2]),Ni.sub(N_,Xf,Hm),Ni.sub(L_,Ov,Xf);var s=N_.len(),f=L_.len();if(!(s<.001||f<.001)){N_.scale(1/s),L_.scale(1/f);var p=N_.dot(n),h=Math.cos(e);if(p<h){var _=CA(Xf.x,Xf.y,Ov.x,Ov.y,Hm.x,Hm.y,EA,!1);og.fromArray(EA);var M=Math.PI/2,L=Math.acos(L_.dot(n)),z=M+L-e;if(z>=M)Ni.copy(og,Ov);else{og.scaleAndAdd(L_,_/Math.tan(Math.PI/2-z));var Y=Ov.x!==Xf.x?(og.x-Xf.x)/(Ov.x-Xf.x):(og.y-Xf.y)/(Ov.y-Xf.y);if(isNaN(Y))return;Y<0?Ni.copy(og,Xf):Y>1&&Ni.copy(og,Ov)}og.toArray(a[1])}}}}function A5(a,n,e,s){var f=e==="normal",p=f?a:a.ensureState(e);p.ignore=n;var h=s.get("smooth");h&&h===!0&&(h=.3),p.shape=p.shape||{},h>0&&(p.shape.smooth=h);var _=s.getModel("lineStyle").getLineStyle();f?a.useStyle(_):p.style=_}function NK(a,n){var e=n.smooth,s=n.points;if(!!s)if(a.moveTo(s[0][0],s[0][1]),e>0&&s.length>=3){var f=ao(s[0],s[1]),p=ao(s[1],s[2]);if(!f||!p){a.lineTo(s[1][0],s[1][1]),a.lineTo(s[2][0],s[2][1]);return}var h=Math.min(f,p)*e,_=qi([],s[1],s[0],h/f),M=qi([],s[1],s[2],h/p),L=qi([],_,M,.5);a.bezierCurveTo(_[0],_[1],_[0],_[1],L[0],L[1]),a.bezierCurveTo(M[0],M[1],M[0],M[1],s[2][0],s[2][1])}else for(var z=1;z<s.length;z++)a.lineTo(s[z][0],s[z][1])}function fD(a,n,e){var s=a.getTextGuideLine(),f=a.getTextContent();if(!f){s&&a.removeTextGuideLine();return}for(var p=n.normal,h=p.get("show"),_=f.ignore,M=0;M<jc.length;M++){var L=jc[M],z=n[L],Y=L==="normal";if(z){var q=z.get("show"),se=Y?_:Object(H.P)(f.states[L]&&f.states[L].ignore,_);if(se||!Object(H.P)(q,h)){var ye=Y?s:s&&s.states[L];ye&&(ye.ignore=!0);continue}s||(s=new Cg,a.setTextGuideLine(s),!Y&&(_||!h)&&A5(s,!0,"normal",n.normal),a.stateProxy&&(s.stateProxy=a.stateProxy)),A5(s,!1,L,z)}}if(s){Object(H.i)(s.style,e),s.style.fill=null;var je=p.get("showAbove"),De=a.textGuideLineConfig=a.textGuideLineConfig||{};De.showAbove=je||!1,s.buildPath=NK}}function pD(a,n){n=n||"labelLine";for(var e={normal:a.getModel(n)},s=0;s<ic.length;s++){var f=ic[s];e[f]=a.getModel([f,n])}return e}function k5(a){for(var n=[],e=0;e<a.length;e++){var s=a[e];if(!s.defaultAttr.ignore){var f=s.label,p=f.getComputedTransform(),h=f.getBoundingRect(),_=!p||p[1]<1e-5&&p[2]<1e-5,M=f.style.margin||0,L=h.clone();L.applyTransform(p),L.x-=M/2,L.y-=M/2,L.width+=M,L.height+=M;var z=_?new zx(h,p):null;n.push({label:f,labelLine:s.labelLine,rect:L,localRect:h,obb:z,priority:s.priority,defaultAttr:s.defaultAttr,layoutOption:s.computedLayoutOption,axisAligned:_,transform:p})}}return n}function j5(a,n,e,s,f,p){var h=a.length;if(h<2)return;a.sort(function(ir,dr){return ir.rect[n]-dr.rect[n]});for(var _=0,M,L=!1,z=[],Y=0,q=0;q<h;q++){var se=a[q],ye=se.rect;M=ye[n]-_,M<0&&(ye[n]-=M,se.label[n]-=M,L=!0);var je=Math.max(-M,0);z.push(je),Y+=je,_=ye[n]+ye[e]}Y>0&&p&&rn(-Y/h,0,h);var De=a[0],We=a[h-1],st,dt;Mt(),st<0&&Cn(-st,.8),dt<0&&Cn(dt,.8),Mt(),nn(st,dt,1),nn(dt,st,-1),Mt(),st<0&&er(-st),dt<0&&er(dt);function Mt(){st=De.rect[n]-s,dt=f-We.rect[n]-We.rect[e]}function nn(ir,dr,pr){if(ir<0){var ia=Math.min(dr,-ir);if(ia>0){rn(ia*pr,0,h);var pa=ia+ir;pa<0&&Cn(-pa*pr,1)}else Cn(-ir*pr,1)}}function rn(ir,dr,pr){ir!==0&&(L=!0);for(var ia=dr;ia<pr;ia++){var pa=a[ia],Ga=pa.rect;Ga[n]+=ir,pa.label[n]+=ir}}function Cn(ir,dr){for(var pr=[],ia=0,pa=1;pa<h;pa++){var Ga=a[pa-1].rect,si=Math.max(a[pa].rect[n]-Ga[n]-Ga[e],0);pr.push(si),ia+=si}if(!!ia){var Bi=Math.min(Math.abs(ir)/ia,dr);if(ir>0)for(var pa=0;pa<h-1;pa++){var Go=pr[pa]*Bi;rn(Go,0,pa+1)}else for(var pa=h-1;pa>0;pa--){var Go=pr[pa-1]*Bi;rn(-Go,pa,h)}}}function er(ir){var dr=ir<0?-1:1;ir=Math.abs(ir);for(var pr=Math.ceil(ir/(h-1)),ia=0;ia<h-1;ia++)if(dr>0?rn(pr,0,ia+1):rn(-pr,h-ia-1,h),ir-=pr,ir<=0)return}return L}function LK(a,n,e,s){return j5(a,"x","width",n,e,s)}function M5(a,n,e,s){return j5(a,"y","height",n,e,s)}function P5(a){var n=[];a.sort(function(je,De){return De.priority-je.priority});var e=new fo(0,0,0,0);function s(je){if(!je.ignore){var De=je.ensureState("emphasis");De.ignore==null&&(De.ignore=!1)}je.ignore=!0}for(var f=0;f<a.length;f++){var p=a[f],h=p.axisAligned,_=p.localRect,M=p.transform,L=p.label,z=p.labelLine;e.copy(p.rect),e.width-=.1,e.height-=.1,e.x+=.05,e.y+=.05;for(var Y=p.obb,q=!1,se=0;se<n.length;se++){var ye=n[se];if(!!e.intersect(ye.rect)){if(h&&ye.axisAligned){q=!0;break}if(ye.obb||(ye.obb=new zx(ye.localRect,ye.transform)),Y||(Y=new zx(_,M)),Y.intersect(ye.obb)){q=!0;break}}}q?(s(L),z&&s(z)):(L.attr("ignore",p.defaultAttr.ignore),z&&z.attr("ignore",p.defaultAttr.labelGuideIgnore),n.push(p))}}function FK(a){if(a){for(var n=[],e=0;e<a.length;e++)n.push(a[e].slice());return n}}function UK(a,n){var e=a.label,s=n&&n.getTextGuideLine();return{dataIndex:a.dataIndex,dataType:a.dataType,seriesIndex:a.seriesModel.seriesIndex,text:a.label.style.text,rect:a.hostRect,labelRect:a.rect,align:e.style.align,verticalAlign:e.style.verticalAlign,labelLinePoints:FK(s&&s.shape.points)}}var R5=["align","verticalAlign","width","height","fontSize"],$g=new as,vD=ol(),BK=ol();function xA(a,n,e){for(var s=0;s<e.length;s++){var f=e[s];n[f]!=null&&(a[f]=n[f])}}var Cp=["x","y","rotation"],VK=function(){function a(){this._labelList=[],this._chartViewList=[]}return a.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},a.prototype._addLabel=function(n,e,s,f,p){var h=f.style,_=f.__hostTarget,M=_.textConfig||{},L=f.getComputedTransform(),z=f.getBoundingRect().plain();fo.applyTransform(z,z,L),L?$g.setLocalTransform(L):($g.x=$g.y=$g.rotation=$g.originX=$g.originY=0,$g.scaleX=$g.scaleY=1);var Y=f.__hostTarget,q;if(Y){q=Y.getBoundingRect().plain();var se=Y.getComputedTransform();fo.applyTransform(q,q,se)}var ye=q&&Y.getTextGuideLine();this._labelList.push({label:f,labelLine:ye,seriesModel:s,dataIndex:n,dataType:e,layoutOption:p,computedLayoutOption:null,rect:z,hostRect:q,priority:q?q.width*q.height:0,defaultAttr:{ignore:f.ignore,labelGuideIgnore:ye&&ye.ignore,x:$g.x,y:$g.y,scaleX:$g.scaleX,scaleY:$g.scaleY,rotation:$g.rotation,style:{x:h.x,y:h.y,align:h.align,verticalAlign:h.verticalAlign,width:h.width,height:h.height,fontSize:h.fontSize},cursor:f.cursor,attachedPos:M.position,attachedRot:M.rotation}})},a.prototype.addLabelsOfSeries=function(n){var e=this;this._chartViewList.push(n);var s=n.__model,f=s.get("labelLayout");!(Object(H.w)(f)||Object(H.F)(f).length)||n.group.traverse(function(p){if(p.ignore)return!0;var h=p.getTextContent(),_=sc(p);h&&!h.disableLabelLayout&&e._addLabel(_.dataIndex,_.dataType,s,h,f)})},a.prototype.updateLayoutConfig=function(n){var e=n.getWidth(),s=n.getHeight();function f(dt,Mt){return function(){w5(dt,Mt)}}for(var p=0;p<this._labelList.length;p++){var h=this._labelList[p],_=h.label,M=_.__hostTarget,L=h.defaultAttr,z=void 0;Object(H.w)(h.layoutOption)?z=h.layoutOption(UK(h,M)):z=h.layoutOption,z=z||{},h.computedLayoutOption=z;var Y=Math.PI/180;M&&M.setTextConfig({local:!1,position:z.x!=null||z.y!=null?null:L.attachedPos,rotation:z.rotate!=null?z.rotate*Y:L.attachedRot,offset:[z.dx||0,z.dy||0]});var q=!1;if(z.x!=null?(_.x=Mi(z.x,e),_.setStyle("x",0),q=!0):(_.x=L.x,_.setStyle("x",L.style.x)),z.y!=null?(_.y=Mi(z.y,s),_.setStyle("y",0),q=!0):(_.y=L.y,_.setStyle("y",L.style.y)),z.labelLinePoints){var se=M.getTextGuideLine();se&&(se.setShape({points:z.labelLinePoints}),q=!1)}var ye=vD(_);ye.needsUpdateLabelLine=q,_.rotation=z.rotate!=null?z.rotate*Y:L.rotation,_.scaleX=L.scaleX,_.scaleY=L.scaleY;for(var je=0;je<R5.length;je++){var De=R5[je];_.setStyle(De,z[De]!=null?z[De]:L.style[De])}if(z.draggable){if(_.draggable=!0,_.cursor="move",M){var We=h.seriesModel;if(h.dataIndex!=null){var st=h.seriesModel.getData(h.dataType);We=st.getItemModel(h.dataIndex)}_.on("drag",f(M,We.getModel("labelLine")))}}else _.off("drag"),_.cursor=L.cursor}},a.prototype.layout=function(n){var e=n.getWidth(),s=n.getHeight(),f=k5(this._labelList),p=Object(H.n)(f,function(M){return M.layoutOption.moveOverlap==="shiftX"}),h=Object(H.n)(f,function(M){return M.layoutOption.moveOverlap==="shiftY"});LK(p,0,e),M5(h,0,s);var _=Object(H.n)(f,function(M){return M.layoutOption.hideOverlap});P5(_)},a.prototype.processLabelsOverall=function(){var n=this;Object(H.k)(this._chartViewList,function(e){var s=e.__model,f=e.ignoreLabelLineUpdate,p=s.isAnimationEnabled();e.group.traverse(function(h){if(h.ignore&&!h.forceLabelAnimation)return!0;var _=!f,M=h.getTextContent();!_&&M&&(_=vD(M).needsUpdateLabelLine),_&&n._updateLabelLine(h,s),p&&n._animateLabels(h,s)})})},a.prototype._updateLabelLine=function(n,e){var s=n.getTextContent(),f=sc(n),p=f.dataIndex;if(s&&p!=null){var h=e.getData(f.dataType),_=h.getItemModel(p),M={},L=h.getItemVisual(p,"style"),z=h.getVisual("drawType");M.stroke=L[z];var Y=_.getModel("labelLine");fD(n,pD(_),M),w5(n,Y)}},a.prototype._animateLabels=function(n,e){var s=n.getTextContent(),f=n.getTextGuideLine();if(s&&(n.forceLabelAnimation||!s.ignore&&!s.invisible&&!n.disableLabelAnimation&&!Ey(n))){var p=vD(s),h=p.oldLayout,_=sc(n),M=_.dataIndex,L={x:s.x,y:s.y,rotation:s.rotation},z=e.getData(_.dataType);if(h){s.attr(h);var q=n.prevStates;q&&(Object(H.r)(q,"select")>=0&&s.attr(p.oldLayoutSelect),Object(H.r)(q,"emphasis")>=0&&s.attr(p.oldLayoutEmphasis)),pf(s,L,e,M)}else if(s.attr(L),!Vh(s).valueAnimation){var Y=Object(H.P)(s.style.opacity,1);s.style.opacity=0,dp(s,{style:{opacity:Y}},e,M)}if(p.oldLayout=L,s.states.select){var se=p.oldLayoutSelect={};xA(se,L,Cp),xA(se,s.states.select,Cp)}if(s.states.emphasis){var ye=p.oldLayoutEmphasis={};xA(ye,L,Cp),xA(ye,s.states.emphasis,Cp)}S_(s,M,z,e,e)}if(f&&!f.ignore&&!f.invisible){var p=BK(f),h=p.oldLayout,je={points:f.shape.points};h?(f.attr({shape:h}),pf(f,{shape:je},e)):(f.setShape(je),f.style.strokePercent=0,dp(f,{style:{strokePercent:1}},e)),p.oldLayout=je}},a}(),zK=VK,hD=ol();function w1(a){a.registerUpdateLifecycle("series:beforeupdate",function(n,e,s){var f=hD(e).labelManager;f||(f=hD(e).labelManager=new zK),f.clearLabels()}),a.registerUpdateLifecycle("series:layoutlabels",function(n,e,s){var f=hD(e).labelManager;s.updatedSeries.forEach(function(p){f.addLabelsOfSeries(e.getViewOfSeriesModel(p))}),f.updateLayoutConfig(e),f.layout(e),f.processLabelsOverall()})}Dd(w1);function P0(a,n,e){var s=Cs.d.createCanvas(),f=n.getWidth(),p=n.getHeight(),h=s.style;return h&&(h.position="absolute",h.left="0",h.top="0",h.width=f+"px",h.height=p+"px",s.setAttribute("data-zr-dom-id",a)),s.width=f*e,s.height=p*e,s}var D5=function(a){nt(n,a);function n(e,s,f){var p=a.call(this)||this;p.motionBlur=!1,p.lastFrameAlpha=.7,p.dpr=1,p.virtual=!1,p.config={},p.incremental=!1,p.zlevel=0,p.maxRepaintRectCount=5,p.__dirty=!0,p.__firstTimePaint=!0,p.__used=!1,p.__drawIndex=0,p.__startIndex=0,p.__endIndex=0,p.__prevStartIndex=null,p.__prevEndIndex=null;var h;f=f||cc,typeof e=="string"?h=P0(e,s,f):H.A(e)&&(h=e,e=h.id),p.id=e,p.dom=h;var _=h.style;return _&&(H.j(h),h.onselectstart=function(){return!1},_.padding="0",_.margin="0",_.borderWidth="0"),p.painter=s,p.dpr=f,p}return n.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},n.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},n.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},n.prototype.setUnpainted=function(){this.__firstTimePaint=!0},n.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=P0("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),e!==1&&this.ctxBack.scale(e,e)},n.prototype.createRepaintRects=function(e,s,f,p){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var h=[],_=this.maxRepaintRectCount,M=!1,L=new fo(0,0,0,0);function z(st){if(!(!st.isFinite()||st.isZero()))if(h.length===0){var dt=new fo(0,0,0,0);dt.copy(st),h.push(dt)}else{for(var Mt=!1,nn=Infinity,rn=0,Cn=0;Cn<h.length;++Cn){var er=h[Cn];if(er.intersect(st)){var ir=new fo(0,0,0,0);ir.copy(er),ir.union(st),h[Cn]=ir,Mt=!0;break}else if(M){L.copy(st),L.union(er);var dr=st.width*st.height,pr=er.width*er.height,ia=L.width*L.height,pa=ia-dr-pr;pa<nn&&(nn=pa,rn=Cn)}}if(M&&(h[rn].union(st),Mt=!0),!Mt){var dt=new fo(0,0,0,0);dt.copy(st),h.push(dt)}M||(M=h.length>=_)}}for(var Y=this.__startIndex;Y<this.__endIndex;++Y){var q=e[Y];if(q){var se=q.shouldBePainted(f,p,!0,!0),ye=q.__isRendered&&(q.__dirty&rl||!se)?q.getPrevPaintRect():null;ye&&z(ye);var je=se&&(q.__dirty&rl||!q.__isRendered)?q.getPaintRect():null;je&&z(je)}}for(var Y=this.__prevStartIndex;Y<this.__prevEndIndex;++Y){var q=s[Y],se=q.shouldBePainted(f,p,!0,!0);if(q&&(!se||!q.__zr)&&q.__isRendered){var ye=q.getPrevPaintRect();ye&&z(ye)}}var De;do{De=!1;for(var Y=0;Y<h.length;){if(h[Y].isZero()){h.splice(Y,1);continue}for(var We=Y+1;We<h.length;)h[Y].intersect(h[We])?(De=!0,h[Y].union(h[We]),h.splice(We,1)):We++;Y++}}while(De);return this._paintRects=h,h},n.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},n.prototype.resize=function(e,s){var f=this.dpr,p=this.dom,h=p.style,_=this.domBack;h&&(h.width=e+"px",h.height=s+"px"),p.width=e*f,p.height=s*f,_&&(_.width=e*f,_.height=s*f,f!==1&&this.ctxBack.scale(f,f))},n.prototype.clear=function(e,s,f){var p=this.dom,h=this.ctx,_=p.width,M=p.height;s=s||this.clearColor;var L=this.motionBlur&&!e,z=this.lastFrameAlpha,Y=this.dpr,q=this;L&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(p,0,0,_/Y,M/Y));var se=this.domBack;function ye(je,De,We,st){if(h.clearRect(je,De,We,st),s&&s!=="transparent"){var dt=void 0;if(H.x(s)){var Mt=s.global||s.__width===We&&s.__height===st;dt=Mt&&s.__canvasGradient||VR(h,s,{x:0,y:0,width:We,height:st}),s.__canvasGradient=dt,s.__width=We,s.__height=st}else H.y(s)&&(s.scaleX=s.scaleX||Y,s.scaleY=s.scaleY||Y,dt=HR(h,s,{dirty:function(){q.setUnpainted(),q.__painter.refresh()}}));h.save(),h.fillStyle=dt||s,h.fillRect(je,De,We,st),h.restore()}L&&(h.save(),h.globalAlpha=z,h.drawImage(se,je,De,We,st),h.restore())}!f||L?ye(0,0,_,M):f.length&&H.k(f,function(je){ye(je.x*Y,je.y*Y,je.width*Y,je.height*Y)})},n}(xn),gD=D5,cS=1e5,T1=314159,SA=.01,HK=.001;function I5(a){return a?a.__builtin__?!0:!(typeof a.resize!="function"||typeof a.refresh!="function"):!1}function GK(a,n){var e=document.createElement("div");return e.style.cssText=["position:relative","width:"+a+"px","height:"+n+"px","padding:0","margin:0","border-width:0"].join(";")+";",e}var $K=function(){function a(n,e,s,f){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var p=!n.nodeName||n.nodeName.toUpperCase()==="CANVAS";this._opts=s=H.m({},s||{}),this.dpr=s.devicePixelRatio||cc,this._singleCanvas=p,this.root=n;var h=n.style;h&&(H.j(n),n.innerHTML=""),this.storage=e;var _=this._zlevelList;this._prevDisplayList=[];var M=this._layers;if(p){var z=n,Y=z.width,q=z.height;s.width!=null&&(Y=s.width),s.height!=null&&(q=s.height),this.dpr=s.devicePixelRatio||1,z.width=Y*this.dpr,z.height=q*this.dpr,this._width=Y,this._height=q;var se=new gD(z,this,this.dpr);se.__builtin__=!0,se.initContext(),M[T1]=se,se.zlevel=T1,_.push(T1),this._domRoot=n}else{this._width=sC(n,0,s),this._height=sC(n,1,s);var L=this._domRoot=GK(this._width,this._height);n.appendChild(L)}}return a.prototype.getType=function(){return"canvas"},a.prototype.isSingleCanvas=function(){return this._singleCanvas},a.prototype.getViewportRoot=function(){return this._domRoot},a.prototype.getViewportRootOffset=function(){var n=this.getViewportRoot();if(n)return{offsetLeft:n.offsetLeft||0,offsetTop:n.offsetTop||0}},a.prototype.refresh=function(n){var e=this.storage.getDisplayList(!0),s=this._prevDisplayList,f=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,s,n,this._redrawId);for(var p=0;p<f.length;p++){var h=f[p],_=this._layers[h];if(!_.__builtin__&&_.refresh){var M=p===0?this._backgroundColor:null;_.refresh(M)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},a.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},a.prototype._paintHoverList=function(n){var e=n.length,s=this._hoverlayer;if(s&&s.clear(),!!e){for(var f={inHover:!0,viewWidth:this._width,viewHeight:this._height},p,h=0;h<e;h++){var _=n[h];_.__inHover&&(s||(s=this._hoverlayer=this.getLayer(cS)),p||(p=s.ctx,p.save()),C1(p,_,f,h===e-1))}p&&p.restore()}},a.prototype.getHoverLayer=function(){return this.getLayer(cS)},a.prototype.paintOne=function(n,e){O1(n,e)},a.prototype._paintList=function(n,e,s,f){if(this._redrawId===f){s=s||!1,this._updateLayerStatus(n);var p=this._doPaintList(n,e,s),h=p.finished,_=p.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),_&&this._paintHoverList(n),h)this.eachLayer(function(L){L.afterBrush&&L.afterBrush()});else{var M=this;wr(function(){M._paintList(n,e,s,f)})}}},a.prototype._compositeManually=function(){var n=this.getLayer(T1).ctx,e=this._domRoot.width,s=this._domRoot.height;n.clearRect(0,0,e,s),this.eachBuiltinLayer(function(f){f.virtual&&n.drawImage(f.dom,0,0,e,s)})},a.prototype._doPaintList=function(n,e,s){for(var f=this,p=[],h=this._opts.useDirtyRect,_=0;_<this._zlevelList.length;_++){var M=this._zlevelList[_],L=this._layers[M];L.__builtin__&&L!==this._hoverlayer&&(L.__dirty||s)&&p.push(L)}for(var z=!0,Y=!1,q=function(De){var We=p[De],st=We.ctx,dt=h&&We.createRepaintRects(n,e,se._width,se._height),Mt=s?We.__startIndex:We.__drawIndex,nn=!s&&We.incremental&&Date.now,rn=nn&&Date.now(),Cn=We.zlevel===se._zlevelList[0]?se._backgroundColor:null;if(We.__startIndex===We.__endIndex)We.clear(!1,Cn,dt);else if(Mt===We.__startIndex){var er=n[Mt];(!er.incremental||!er.notClear||s)&&We.clear(!1,Cn,dt)}Mt===-1&&(console.error("For some unknown reason. drawIndex is -1"),Mt=We.__startIndex);var ir,dr=function(si){var Bi={inHover:!1,allClipped:!1,prevEl:null,viewWidth:f._width,viewHeight:f._height};for(ir=Mt;ir<We.__endIndex;ir++){var Go=n[ir];if(Go.__inHover&&(Y=!0),f._doPaintEl(Go,We,h,si,Bi,ir===We.__endIndex-1),nn){var Lo=Date.now()-rn;if(Lo>15)break}}Bi.prevElClipPaths&&st.restore()};if(dt)if(dt.length===0)ir=We.__endIndex;else for(var pr=se.dpr,ia=0;ia<dt.length;++ia){var pa=dt[ia];st.save(),st.beginPath(),st.rect(pa.x*pr,pa.y*pr,pa.width*pr,pa.height*pr),st.clip(),dr(pa),st.restore()}else st.save(),dr(),st.restore();We.__drawIndex=ir,We.__drawIndex<We.__endIndex&&(z=!1)},se=this,ye=0;ye<p.length;ye++)q(ye);return Bt.a.wxa&&H.k(this._layers,function(je){je&&je.ctx&&je.ctx.draw&&je.ctx.draw()}),{finished:z,needsRefreshHover:Y}},a.prototype._doPaintEl=function(n,e,s,f,p,h){var _=e.ctx;if(s){var M=n.getPaintRect();(!f||M&&M.intersect(f))&&(C1(_,n,p,h),n.setPrevPaintRect(M))}else C1(_,n,p,h)},a.prototype.getLayer=function(n,e){this._singleCanvas&&!this._needsManuallyCompositing&&(n=T1);var s=this._layers[n];return s||(s=new gD("zr_"+n,this,this.dpr),s.zlevel=n,s.__builtin__=!0,this._layerConfig[n]?H.I(s,this._layerConfig[n],!0):this._layerConfig[n-SA]&&H.I(s,this._layerConfig[n-SA],!0),e&&(s.virtual=e),this.insertLayer(n,s),s.initContext()),s},a.prototype.insertLayer=function(n,e){var s=this._layers,f=this._zlevelList,p=f.length,h=this._domRoot,_=null,M=-1;if(!s[n]&&!!I5(e)){if(p>0&&n>f[0]){for(M=0;M<p-1&&!(f[M]<n&&f[M+1]>n);M++);_=s[f[M]]}if(f.splice(M+1,0,n),s[n]=e,!e.virtual)if(_){var L=_.dom;L.nextSibling?h.insertBefore(e.dom,L.nextSibling):h.appendChild(e.dom)}else h.firstChild?h.insertBefore(e.dom,h.firstChild):h.appendChild(e.dom);e.__painter=this}},a.prototype.eachLayer=function(n,e){for(var s=this._zlevelList,f=0;f<s.length;f++){var p=s[f];n.call(e,this._layers[p],p)}},a.prototype.eachBuiltinLayer=function(n,e){for(var s=this._zlevelList,f=0;f<s.length;f++){var p=s[f],h=this._layers[p];h.__builtin__&&n.call(e,h,p)}},a.prototype.eachOtherLayer=function(n,e){for(var s=this._zlevelList,f=0;f<s.length;f++){var p=s[f],h=this._layers[p];h.__builtin__||n.call(e,h,p)}},a.prototype.getLayers=function(){return this._layers},a.prototype._updateLayerStatus=function(n){this.eachBuiltinLayer(function(Y,q){Y.__dirty=Y.__used=!1});function e(Y){p&&(p.__endIndex!==Y&&(p.__dirty=!0),p.__endIndex=Y)}if(this._singleCanvas)for(var s=1;s<n.length;s++){var f=n[s];if(f.zlevel!==n[s-1].zlevel||f.incremental){this._needsManuallyCompositing=!0;break}}var p=null,h=0,_,M;for(M=0;M<n.length;M++){var f=n[M],L=f.zlevel,z=void 0;_!==L&&(_=L,h=0),f.incremental?(z=this.getLayer(L+HK,this._needsManuallyCompositing),z.incremental=!0,h=1):z=this.getLayer(L+(h>0?SA:0),this._needsManuallyCompositing),z.__builtin__||H.G("ZLevel "+L+" has been used by unkown layer "+z.id),z!==p&&(z.__used=!0,z.__startIndex!==M&&(z.__dirty=!0),z.__startIndex=M,z.incremental?z.__drawIndex=-1:z.__drawIndex=M,e(M),p=z),f.__dirty&rl&&!f.__inHover&&(z.__dirty=!0,z.incremental&&z.__drawIndex<0&&(z.__drawIndex=M))}e(M),this.eachBuiltinLayer(function(Y,q){!Y.__used&&Y.getElementCount()>0&&(Y.__dirty=!0,Y.__startIndex=Y.__endIndex=Y.__drawIndex=0),Y.__dirty&&Y.__drawIndex<0&&(Y.__drawIndex=Y.__startIndex)})},a.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},a.prototype._clearLayer=function(n){n.clear()},a.prototype.setBackgroundColor=function(n){this._backgroundColor=n,H.k(this._layers,function(e){e.setUnpainted()})},a.prototype.configLayer=function(n,e){if(e){var s=this._layerConfig;s[n]?H.I(s[n],e,!0):s[n]=e;for(var f=0;f<this._zlevelList.length;f++){var p=this._zlevelList[f];if(p===n||p===n+SA){var h=this._layers[p];H.I(h,s[n],!0)}}}},a.prototype.delLayer=function(n){var e=this._layers,s=this._zlevelList,f=e[n];!f||(f.dom.parentNode.removeChild(f.dom),delete e[n],s.splice(H.r(s,n),1))},a.prototype.resize=function(n,e){if(this._domRoot.style){var s=this._domRoot;s.style.display="none";var f=this._opts,p=this.root;if(n!=null&&(f.width=n),e!=null&&(f.height=e),n=sC(p,0,f),e=sC(p,1,f),s.style.display="",this._width!==n||e!==this._height){s.style.width=n+"px",s.style.height=e+"px";for(var h in this._layers)this._layers.hasOwnProperty(h)&&this._layers[h].resize(n,e);this.refresh(!0)}this._width=n,this._height=e}else{if(n==null||e==null)return;this._width=n,this._height=e,this.getLayer(T1).resize(n,e)}return this},a.prototype.clearLayer=function(n){var e=this._layers[n];e&&e.clear()},a.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},a.prototype.getRenderedCanvas=function(n){if(n=n||{},this._singleCanvas&&!this._compositeManually)return this._layers[T1].dom;var e=new gD("image",this,n.pixelRatio||this.dpr);e.initContext(),e.clear(!1,n.backgroundColor||this._backgroundColor);var s=e.ctx;if(n.pixelRatio<=this.dpr){this.refresh();var f=e.dom.width,p=e.dom.height;this.eachLayer(function(Y){Y.__builtin__?s.drawImage(Y.dom,0,0,f,p):Y.renderToCanvas&&(s.save(),Y.renderToCanvas(s),s.restore())})}else for(var h={inHover:!1,viewWidth:this._width,viewHeight:this._height},_=this.storage.getDisplayList(!0),M=0,L=_.length;M<L;M++){var z=_[M];C1(s,z,h,M===L-1)}return e.dom},a.prototype.getWidth=function(){return this._width},a.prototype.getHeight=function(){return this._height},a}(),wA=$K;function WK(a){a.registerPainter("canvas",wA)}var TA=Math.sin,mD=Math.cos,N5=Math.PI,A1=Math.PI*2,KK=180/N5,YK=function(){function a(){}return a.prototype.reset=function(n){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,n||4)},a.prototype.moveTo=function(n,e){this._add("M",n,e)},a.prototype.lineTo=function(n,e){this._add("L",n,e)},a.prototype.bezierCurveTo=function(n,e,s,f,p,h){this._add("C",n,e,s,f,p,h)},a.prototype.quadraticCurveTo=function(n,e,s,f){this._add("Q",n,e,s,f)},a.prototype.arc=function(n,e,s,f,p,h){this.ellipse(n,e,s,s,0,f,p,h)},a.prototype.ellipse=function(n,e,s,f,p,h,_,M){var L=_-h,z=!M,Y=Math.abs(L),q=Object(os.j)(Y-A1)||(z?L>=A1:-L>=A1),se=L>0?L%A1:L%A1+A1,ye=!1;q?ye=!0:Object(os.j)(Y)?ye=!1:ye=se>=N5==!!z;var je=n+s*mD(h),De=e+f*TA(h);this._start&&this._add("M",je,De);var We=Math.round(p*KK);if(q){var st=1/this._p,dt=(z?1:-1)*(A1-st);this._add("A",s,f,We,1,+z,n+s*mD(h+dt),e+f*TA(h+dt)),st>.01&&this._add("A",s,f,We,0,+z,je,De)}else{var Mt=n+s*mD(_),nn=e+f*TA(_);this._add("A",s,f,We,+ye,+z,Mt,nn)}},a.prototype.rect=function(n,e,s,f){this._add("M",n,e),this._add("l",s,0),this._add("l",0,f),this._add("l",-s,0),this._add("Z")},a.prototype.closePath=function(){this._d.length>0&&this._add("Z")},a.prototype._add=function(n,e,s,f,p,h,_,M,L){for(var z=[],Y=this._p,q=1;q<arguments.length;q++){var se=arguments[q];if(isNaN(se)){this._invalid=!0;return}z.push(Math.round(se*Y)/Y)}this._d.push(n+z.join(" ")),this._start=n==="Z"},a.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},a.prototype.getStr=function(){return this._str},a}(),_D=YK,lS="none",fC=Math.round;function XK(a){var n=a.fill;return n!=null&&n!==lS}function yD(a){var n=a.stroke;return n!=null&&n!==lS}var bD=["lineCap","miterLimit","lineJoin"],JK=Object(H.H)(bD,function(a){return"stroke-"+a.toLowerCase()});function ZK(a,n,e,s){var f=n.opacity==null?1:n.opacity;if(e instanceof Gi){a("opacity",f);return}if(XK(n)){var p=Object(os.p)(n.fill);a("fill",p.color);var h=n.fillOpacity!=null?n.fillOpacity*p.opacity*f:p.opacity*f;(s||h<1)&&a("fill-opacity",h)}else a("fill",lS);if(yD(n)){var _=Object(os.p)(n.stroke);a("stroke",_.color);var M=n.strokeNoScale?e.getLineScale():1,L=M?(n.lineWidth||0)/M:0,z=n.strokeOpacity!=null?n.strokeOpacity*_.opacity*f:_.opacity*f,Y=n.strokeFirst;if((s||L!==1)&&a("stroke-width",L),(s||Y)&&a("paint-order",Y?"stroke":"fill"),(s||z<1)&&a("stroke-opacity",z),n.lineDash){var q=zR(e),se=q[0],ye=q[1];se&&(ye=fC(ye||0),a("stroke-dasharray",se.join(",")),(ye||s)&&a("stroke-dashoffset",ye))}else s&&a("stroke-dasharray",lS);for(var je=0;je<bD.length;je++){var De=bD[je];if(s||n[De]!==xu[De]){var We=n[De]||xu[De];We&&a(JK[je],We)}}}else s&&a("stroke",lS)}var L5="http://www.w3.org/2000/svg",F5="http://www.w3.org/1999/xlink",QK="http://www.w3.org/2000/xmlns/",OD="http://www.w3.org/XML/1998/namespace";function U5(a){return document.createElementNS(L5,a)}function Dv(a,n,e,s,f){return{tag:a,attrs:e||{},children:s,text:f,key:n}}function qK(a,n){var e=[];if(n)for(var s in n){var f=n[s],p=s;f!==!1&&(f!==!0&&f!=null&&(p+='="'+f+'"'),e.push(p))}return"<"+a+" "+e.join(" ")+">"}function CD(a){return"</"+a+">"}function AA(a,n){n=n||{};var e=n.newline?`
`:"";function s(f){var p=f.children,h=f.tag,_=f.attrs,M=f.text;return qK(h,_)+(h!=="style"?fi(M):M||"")+(p?""+e+Object(H.H)(p,function(L){return s(L)}).join(e)+e:"")+CD(h)}return s(a)}function eY(a,n,e){e=e||{};var s=e.newline?`
`:"",f=" {"+s,p=s+"}",h=Object(H.H)(Object(H.F)(a),function(M){return M+f+Object(H.H)(Object(H.F)(a[M]),function(L){return L+":"+a[M][L]+";"}).join(s)+p}).join(s),_=Object(H.H)(Object(H.F)(n),function(M){return"@keyframes "+M+f+Object(H.H)(Object(H.F)(n[M]),function(L){return L+f+Object(H.H)(Object(H.F)(n[M][L]),function(z){var Y=n[M][L][z];return z==="d"&&(Y='path("'+Y+'")'),z+":"+Y+";"}).join(s)+p}).join(s)+p}).join(s);return!h&&!_?"":["<![CDATA[",h,_,"]]>"].join(s)}function kA(a){return{zrId:a,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function ED(a,n,e,s){return Dv("svg","root",{width:a,height:n,xmlns:L5,"xmlns:xlink":F5,version:"1.1",baseProfile:"full",viewBox:s?"0 0 "+a+" "+n:!1},e)}var xD={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},zy="transform-origin";function tY(a,n,e){var s=Object(H.m)({},a.shape);Object(H.m)(s,n),a.buildPath(e,s);var f=new _D;return f.reset(Object(os.f)(a)),e.rebuildPath(f,1),f.generateStr(),f.getStr()}function nY(a,n){var e=n.originX,s=n.originY;(e||s)&&(a[zy]=e+"px "+s+"px")}var rY={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function B5(a,n){var e=n.zrId+"-ani-"+n.cssAnimIdx++;return n.cssAnims[e]=a,e}function aY(a,n,e){var s=a.shape.paths,f={},p,h;if(Object(H.k)(s,function(M){var L=kA(e.zrId);L.animation=!0,R0(M,{},L,!0);var z=L.cssAnims,Y=L.cssNodes,q=Object(H.F)(z),se=q.length;if(!!se){h=q[se-1];var ye=z[h];for(var je in ye){var De=ye[je];f[je]=f[je]||{d:""},f[je].d+=De.d||""}for(var We in Y){var st=Y[We].animation;st.indexOf(h)>=0&&(p=st)}}}),!!p){n.d=!1;var _=B5(f,e);return p.replace(h,_)}}function Hy(a){return Object(H.C)(a)?xD[a]?"cubic-bezier("+xD[a]+")":fu(a)?a:"":""}function R0(a,n,e,s){var f=a.animators,p=f.length,h=[];if(a instanceof eA){var _=aY(a,n,e);if(_)h.push(_);else if(!p)return}else if(!p)return;for(var M={},L=0;L<p;L++){var z=f[L],Y=[z.getMaxTime()/1e3+"s"],q=Hy(z.getClip().easing),se=z.getDelay();q?Y.push(q):Y.push("linear"),se&&Y.push(se/1e3+"s"),z.getLoop()&&Y.push("infinite");var ye=Y.join(" ");M[ye]=M[ye]||[ye,[]],M[ye][1].push(z)}function je(st){var dt=st[1],Mt=dt.length,nn={},rn={},Cn={},er="animation-timing-function";function ir(vl,Vc,$l){for(var el=vl.getTracks(),_u=vl.getMaxTime(),Rf=0;Rf<el.length;Rf++){var Id=el[Rf];if(Id.needsAnimate()){var xp=Id.keyframes,op=Id.propName;if($l&&(op=$l(op)),op)for(var Ev=0;Ev<xp.length;Ev++){var Lv=xp[Ev],fh=Math.round(Lv.time/_u*100)+"%",km=Hy(Lv.easing),Rh=Lv.rawValue;(Object(H.C)(Rh)||Object(H.z)(Rh))&&(Vc[fh]=Vc[fh]||{},Vc[fh][op]=Lv.rawValue,km&&(Vc[fh][er]=km))}}}}for(var dr=0;dr<Mt;dr++){var pr=dt[dr],ia=pr.targetName;ia?ia==="shape"&&ir(pr,rn):!s&&ir(pr,nn)}for(var pa in nn){var Ga={};xa(Ga,a),Object(H.m)(Ga,nn[pa]);var si=Object(os.g)(Ga),Bi=nn[pa][er];Cn[pa]=si?{transform:si}:{},nY(Cn[pa],Ga),Bi&&(Cn[pa][er]=Bi)}var Go,Lo=!0;for(var pa in rn){Cn[pa]=Cn[pa]||{};var Rs=!Go,Bi=rn[pa][er];Rs&&(Go=new tl);var Ns=Go.len();Go.reset(),Cn[pa].d=tY(a,rn[pa],Go);var Ds=Go.len();if(!Rs&&Ns!==Ds){Lo=!1;break}Bi&&(Cn[pa][er]=Bi)}if(!Lo)for(var pa in Cn)delete Cn[pa].d;if(!s)for(var dr=0;dr<Mt;dr++){var pr=dt[dr],ia=pr.targetName;ia==="style"&&ir(pr,Cn,function(el){return rY[el]})}for(var yc=Object(H.F)(Cn),Zc=!0,$c,dr=1;dr<yc.length;dr++){var Nu=yc[dr-1],yd=yc[dr];if(Cn[Nu][zy]!==Cn[yd][zy]){Zc=!1;break}$c=Cn[Nu][zy]}if(Zc&&$c){for(var pa in Cn)Cn[pa][zy]&&delete Cn[pa][zy];n[zy]=$c}if(Object(H.n)(yc,function(vl){return Object(H.F)(Cn[vl]).length>0}).length){var Ku=B5(Cn,e);return Ku+" "+st[0]+" both"}}for(var De in M){var _=je(M[De]);_&&h.push(_)}if(h.length){var We=e.zrId+"-cls-"+e.cssClassIdx++;e.cssNodes["."+We]={animation:h.join(",")},n.class=We}}var uS=Math.round;function SD(a){return a&&Object(H.C)(a.src)}function wD(a){return a&&Object(H.w)(a.toDataURL)}function pC(a,n,e,s){ZK(function(f,p){var h=f==="fill"||f==="stroke";h&&Object(os.k)(p)?$5(n,a,f,s):h&&Object(os.n)(p)?W5(e,a,f,s):a[f]=p},n,e,!1),lY(e,a,s)}function V5(a){return Object(os.j)(a[0]-1)&&Object(os.j)(a[1])&&Object(os.j)(a[2])&&Object(os.j)(a[3]-1)}function z5(a){return Object(os.j)(a[4])&&Object(os.j)(a[5])}function TD(a,n,e){if(n&&!(z5(n)&&V5(n))){var s=e?10:1e4;a.transform=V5(n)?"translate("+uS(n[4]*s)/s+" "+uS(n[5]*s)/s+")":Object(os.e)(n)}}function H5(a,n,e){for(var s=a.points,f=[],p=0;p<s.length;p++)f.push(uS(s[p][0]*e)/e),f.push(uS(s[p][1]*e)/e);n.points=f.join(" ")}function AD(a){return!a.smooth}function kD(a){var n=Object(H.H)(a,function(e){return typeof e=="string"?[e,e]:e});return function(e,s,f){for(var p=0;p<n.length;p++){var h=n[p],_=e[h[0]];_!=null&&(s[h[1]]=uS(_*f)/f)}}}var iY={circle:[kD(["cx","cy","r"])],polyline:[H5,AD],polygon:[H5,AD]};function oY(a){for(var n=a.animators,e=0;e<n.length;e++)if(n[e].targetName==="shape")return!0;return!1}function G5(a,n){var e=a.style,s=a.shape,f=iY[a.type],p={},h=n.animation,_="path",M=a.style.strokePercent,L=n.compress&&Object(os.f)(a)||4;if(f&&!n.willUpdate&&!(f[1]&&!f[1](s))&&!(h&&oY(a))&&!(M<1)){_=a.type;var z=Math.pow(10,L);f[0](s,p,z)}else{var Y=!a.path||a.shapeChanged();a.path||a.createPathProxy();var q=a.path;Y&&(q.beginPath(),a.buildPath(q,a.shape),a.pathUpdated());var se=q.getVersion(),ye=a,je=ye.__svgPathBuilder;(ye.__svgPathVersion!==se||!je||M!==ye.__svgPathStrokePercent)&&(je||(je=ye.__svgPathBuilder=new _D),je.reset(L),q.rebuildPath(je,M),je.generateStr(),ye.__svgPathVersion=se,ye.__svgPathStrokePercent=M),p.d=je.getStr()}return TD(p,a.transform),pC(p,e,a,n),n.animation&&R0(a,p,n),Dv(_,a.id+"",p)}function sY(a,n){var e=a.style,s=e.image;if(s&&!Object(H.C)(s)&&(SD(s)?s=s.src:wD(s)&&(s=s.toDataURL())),!!s){var f=e.x||0,p=e.y||0,h=e.width,_=e.height,M={href:s,width:h,height:_};return f&&(M.x=f),p&&(M.y=p),TD(M,a.transform),pC(M,e,a,n),n.animation&&R0(a,M,n),Dv("image",a.id+"",M)}}function cY(a,n){var e=a.style,s=e.text;if(s!=null&&(s+=""),!(!s||isNaN(e.x)||isNaN(e.y))){var f=e.font||Cs.a,p=e.x||0,h=Object(os.b)(e.y||0,au(f),e.textBaseline),_=os.a[e.textAlign]||e.textAlign,M={"dominant-baseline":"central","text-anchor":_};if(Ce(e)){var L="",z=e.fontStyle,Y=Mv(e.fontSize);if(!parseFloat(Y))return;var q=e.fontFamily||Cs.b,se=e.fontWeight;L+="font-size:"+Y+";font-family:"+q+";",z&&z!=="normal"&&(L+="font-style:"+z+";"),se&&se!=="normal"&&(L+="font-weight:"+se+";"),M.style=L}else M.style="font: "+f;return s.match(/\s/)&&(M["xml:space"]="preserve"),p&&(M.x=p),h&&(M.y=h),TD(M,a.transform),pC(M,e,a,n),n.animation&&R0(a,M,n),Dv("text",a.id+"",M,void 0,s)}}function jD(a,n){if(a instanceof Ti)return G5(a,n);if(a instanceof Gi)return sY(a,n);if(a instanceof ki)return cY(a,n)}function lY(a,n,e){var s=a.style;if(Object(os.i)(s)){var f=Object(os.h)(a),p=e.shadowCache,h=p[f];if(!h){var _=a.getGlobalScale(),M=_[0],L=_[1];if(!M||!L)return;var z=s.shadowOffsetX||0,Y=s.shadowOffsetY||0,q=s.shadowBlur,se=Object(os.p)(s.shadowColor),ye=se.opacity,je=se.color,De=q/2/M,We=q/2/L,st=De+" "+We;h=e.zrId+"-s"+e.shadowIdx++,e.defs[h]=Dv("filter",h,{id:h,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Dv("feDropShadow","",{dx:z/M,dy:Y/L,stdDeviation:st,"flood-color":je,"flood-opacity":ye})]),p[f]=h}n.filter=Object(os.d)(h)}}function $5(a,n,e,s){var f=a[e],p,h={gradientUnits:f.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(os.m)(f))p="linearGradient",h.x1=f.x,h.y1=f.y,h.x2=f.x2,h.y2=f.y2;else if(Object(os.o)(f))p="radialGradient",h.cx=Object(H.P)(f.x,.5),h.cy=Object(H.P)(f.y,.5),h.r=Object(H.P)(f.r,.5);else return;for(var _=f.colorStops,M=[],L=0,z=_.length;L<z;++L){var Y=Object(os.q)(_[L].offset)*100+"%",q=_[L].color,se=Object(os.p)(q),ye=se.color,je=se.opacity,De={offset:Y};De["stop-color"]=ye,je<1&&(De["stop-opacity"]=je),M.push(Dv("stop",L+"",De))}var We=Dv(p,"",h,M),st=AA(We),dt=s.gradientCache,Mt=dt[st];Mt||(Mt=s.zrId+"-g"+s.gradientIdx++,dt[st]=Mt,h.id=Mt,s.defs[Mt]=Dv(p,Mt,h,M)),n[e]=Object(os.d)(Mt)}function W5(a,n,e,s){var f=a.style[e],p=a.getBoundingRect(),h={},_=f.repeat,M=_==="no-repeat",L=_==="repeat-x",z=_==="repeat-y",Y;if(Object(os.l)(f)){var q=f.imageWidth,se=f.imageHeight,ye=void 0,je=f.image;if(Object(H.C)(je)?ye=je:SD(je)?ye=je.src:wD(je)&&(ye=je.toDataURL()),typeof Image=="undefined"){var De="Image width/height must been given explictly in svg-ssr renderer.";Object(H.b)(q,De),Object(H.b)(se,De)}else if(q==null||se==null){var We=function(pr,ia){if(pr){var pa=pr.elm,Ga=q||ia.width,si=se||ia.height;pr.tag==="pattern"&&(L?(si=1,Ga/=p.width):z&&(Ga=1,si/=p.height)),pr.attrs.width=Ga,pr.attrs.height=si,pa&&(pa.setAttribute("width",Ga),pa.setAttribute("height",si))}},st=hv(ye,null,a,function(dr){M||We(rn,dr),We(Y,dr)});st&&st.width&&st.height&&(q=q||st.width,se=se||st.height)}Y=Dv("image","img",{href:ye,width:q,height:se}),h.width=q,h.height=se}else f.svgElement&&(Y=Object(H.d)(f.svgElement),h.width=f.svgWidth,h.height=f.svgHeight);if(!!Y){var dt,Mt;M?dt=Mt=1:L?(Mt=1,dt=h.width/p.width):z?(dt=1,Mt=h.height/p.height):h.patternUnits="userSpaceOnUse",dt!=null&&!isNaN(dt)&&(h.width=dt),Mt!=null&&!isNaN(Mt)&&(h.height=Mt);var nn=Object(os.g)(f);nn&&(h.patternTransform=nn);var rn=Dv("pattern","",h,[Y]),Cn=AA(rn),er=s.patternCache,ir=er[Cn];ir||(ir=s.zrId+"-p"+s.patternIdx++,er[Cn]=ir,h.id=ir,rn=s.defs[ir]=Dv("pattern",ir,h,[Y])),n[e]=Object(os.d)(ir)}}function K5(a,n,e){var s=e.clipPathCache,f=e.defs,p=s[a.id];if(!p){p=e.zrId+"-c"+e.clipPathIdx++;var h={id:p};s[a.id]=p,f[p]=Dv("clipPath",p,h,[G5(a,e)])}n["clip-path"]=Object(os.d)(p)}function Y5(a){return document.createTextNode(a)}function Cse(a){return document.createComment(a)}function k1(a,n,e){a.insertBefore(n,e)}function X5(a,n){a.removeChild(n)}function J5(a,n){a.appendChild(n)}function jA(a){return a.parentNode}function Z5(a){return a.nextSibling}function Q5(a){return a.tagName}function MD(a,n){a.textContent=n}function Ese(a){return a.textContent}function xse(a){return a.nodeType===1}function Sse(a){return a.nodeType===3}function wse(a){return a.nodeType===8}var q5=58,uY=120,dY=Dv("","");function PD(a){return a===void 0}function sg(a){return a!==void 0}function fY(a,n,e){for(var s={},f=n;f<=e;++f){var p=a[f].key;p!==void 0&&(s[p]=f)}return s}function vC(a,n){var e=a.key===n.key,s=a.tag===n.tag;return s&&e}function hC(a){var n,e=a.children,s=a.tag;if(sg(s)){var f=a.elm=U5(s);if(DD(dY,a),Object(H.t)(e))for(n=0;n<e.length;++n){var p=e[n];p!=null&&J5(f,hC(p))}else sg(a.text)&&!Object(H.A)(a.text)&&J5(f,Y5(a.text))}else a.elm=Y5(a.text);return a.elm}function RD(a,n,e,s,f){for(;s<=f;++s){var p=e[s];p!=null&&k1(a,hC(p),n)}}function F_(a,n,e,s){for(;e<=s;++e){var f=n[e];if(f!=null)if(sg(f.tag)){var p=jA(f.elm);X5(p,f.elm)}else X5(a,f.elm)}}function DD(a,n){var e,s=n.elm,f=a&&a.attrs||{},p=n.attrs||{};if(f!==p){for(e in p){var h=p[e],_=f[e];_!==h&&(h===!0?s.setAttribute(e,""):h===!1?s.removeAttribute(e):e.charCodeAt(0)!==uY?s.setAttribute(e,h):e==="xmlns:xlink"||e==="xmlns"?s.setAttributeNS(QK,e,h):e.charCodeAt(3)===q5?s.setAttributeNS(OD,e,h):e.charCodeAt(5)===q5?s.setAttributeNS(F5,e,h):s.setAttribute(e,h))}for(e in f)e in p||s.removeAttribute(e)}}function Hv(a,n,e){for(var s=0,f=0,p=n.length-1,h=n[0],_=n[p],M=e.length-1,L=e[0],z=e[M],Y,q,se,ye;s<=p&&f<=M;)h==null?h=n[++s]:_==null?_=n[--p]:L==null?L=e[++f]:z==null?z=e[--M]:vC(h,L)?(gC(h,L),h=n[++s],L=e[++f]):vC(_,z)?(gC(_,z),_=n[--p],z=e[--M]):vC(h,z)?(gC(h,z),k1(a,h.elm,Z5(_.elm)),h=n[++s],z=e[--M]):vC(_,L)?(gC(_,L),k1(a,_.elm,h.elm),_=n[--p],L=e[++f]):(PD(Y)&&(Y=fY(n,s,p)),q=Y[L.key],PD(q)?k1(a,hC(L),h.elm):(se=n[q],se.tag!==L.tag?k1(a,hC(L),h.elm):(gC(se,L),n[q]=void 0,k1(a,se.elm,h.elm))),L=e[++f]);(s<=p||f<=M)&&(s>p?(ye=e[M+1]==null?null:e[M+1].elm,RD(a,ye,e,f,M)):F_(a,n,s,p))}function gC(a,n){var e=n.elm=a.elm,s=a.children,f=n.children;a!==n&&(DD(a,n),PD(n.text)?sg(s)&&sg(f)?s!==f&&Hv(e,s,f):sg(f)?(sg(a.text)&&MD(e,""),RD(e,null,f,0,f.length-1)):sg(s)?F_(e,s,0,s.length-1):sg(a.text)&&MD(e,""):a.text!==n.text&&(sg(s)&&F_(e,s,0,s.length-1),MD(e,n.text)))}function MA(a,n){if(vC(a,n))gC(a,n);else{var e=a.elm,s=jA(e);hC(n),s!==null&&(k1(s,n.elm,Z5(e)),F_(s,[a],0,0))}return n}var pY=0,vY=function(){function a(n,e,s){if(this.type="svg",this.refreshHover=mC("refreshHover"),this.configLayer=mC("configLayer"),this.storage=e,this._opts=s=Object(H.m)({},s),this.root=n,this._id="zr"+pY++,this._oldVNode=ED(s.width,s.height),n&&!s.ssr){var f=this._viewport=document.createElement("div");f.style.cssText="position:relative;overflow:hidden";var p=this._svgDom=this._oldVNode.elm=U5("svg");DD(null,this._oldVNode),f.appendChild(p),n.appendChild(f)}this.resize(s.width,s.height)}return a.prototype.getType=function(){return this.type},a.prototype.getViewportRoot=function(){return this._viewport},a.prototype.getViewportRootOffset=function(){var n=this.getViewportRoot();if(n)return{offsetLeft:n.offsetLeft||0,offsetTop:n.offsetTop||0}},a.prototype.getSvgDom=function(){return this._svgDom},a.prototype.refresh=function(){if(this.root){var n=this.renderToVNode({willUpdate:!0});n.attrs.style="position:absolute;left:0;top:0;user-select:none",MA(this._oldVNode,n),this._oldVNode=n}},a.prototype.renderOneToVNode=function(n){return jD(n,kA(this._id))},a.prototype.renderToVNode=function(n){n=n||{};var e=this.storage.getDisplayList(!0),s=this._width,f=this._height,p=kA(this._id);p.animation=n.animation,p.willUpdate=n.willUpdate,p.compress=n.compress;var h=[],_=this._bgVNode=hY(s,f,this._backgroundColor,p);_&&h.push(_);var M=n.compress?null:this._mainVNode=Dv("g","main",{},[]);this._paintList(e,p,M?M.children:h),M&&h.push(M);var L=Object(H.H)(Object(H.F)(p.defs),function(q){return p.defs[q]});if(L.length&&h.push(Dv("defs","defs",{},L)),n.animation){var z=eY(p.cssNodes,p.cssAnims,{newline:!0});if(z){var Y=Dv("style","stl",{},[],z);h.push(Y)}}return ED(s,f,h,n.useViewBox)},a.prototype.renderToString=function(n){return n=n||{},AA(this.renderToVNode({animation:Object(H.P)(n.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(H.P)(n.useViewBox,!0)}),{newline:!0})},a.prototype.setBackgroundColor=function(n){this._backgroundColor=n},a.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},a.prototype._paintList=function(n,e,s){for(var f=n.length,p=[],h=0,_,M,L=0,z=0;z<f;z++){var Y=n[z];if(!Y.invisible){var q=Y.__clipPaths,se=q&&q.length||0,ye=M&&M.length||0,je=void 0;for(je=Math.max(se-1,ye-1);je>=0&&!(q&&M&&q[je]===M[je]);je--);for(var De=ye-1;De>je;De--)h--,_=p[h-1];for(var We=je+1;We<se;We++){var st={};K5(q[We],st,e);var dt=Dv("g","clip-g-"+L++,st,[]);(_?_.children:s).push(dt),p[h++]=dt,_=dt}M=q;var Mt=jD(Y,e);Mt&&(_?_.children:s).push(Mt)}}},a.prototype.resize=function(n,e){var s=this._opts,f=this.root,p=this._viewport;if(n!=null&&(s.width=n),e!=null&&(s.height=e),f&&p&&(p.style.display="none",n=sC(f,0,s),e=sC(f,1,s),p.style.display=""),this._width!==n||this._height!==e){if(this._width=n,this._height=e,p){var h=p.style;h.width=n+"px",h.height=e+"px"}if(Object(os.n)(this._backgroundColor))this.refresh();else{var _=this._svgDom;_&&(_.setAttribute("width",n),_.setAttribute("height",e));var M=this._bgVNode&&this._bgVNode.elm;M&&(M.setAttribute("width",n),M.setAttribute("height",e))}}},a.prototype.getWidth=function(){return this._width},a.prototype.getHeight=function(){return this._height},a.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},a.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},a.prototype.toDataURL=function(n){var e=this.renderToString(),s="data:image/svg+xml;";return n?(e=Object(os.c)(e),e&&s+"base64,"+e):s+"charset=UTF-8,"+encodeURIComponent(e)},a}();function mC(a){return function(){}}function hY(a,n,e,s){var f;if(e&&e!=="none")if(f=Dv("rect","bg",{width:a,height:n,x:"0",y:"0",id:"0"}),Object(os.k)(e))$5({fill:e},f.attrs,"fill",s);else if(Object(os.n)(e))W5({style:{fill:e},dirty:H.L,getBoundingRect:function(){return{width:a,height:n}}},f.attrs,"fill",s);else{var p=Object(os.p)(e),h=p.color,_=p.opacity;f.attrs.fill=h,_<1&&(f.attrs["fill-opacity"]=_)}return f}var PA=vY;function gY(a){a.registerPainter("svg",PA)}function dS(a){return a==null?0:a.length||1}function e8(a){return a}var mY=function(){function a(n,e,s,f,p,h){this._old=n,this._new=e,this._oldKeyGetter=s||e8,this._newKeyGetter=f||e8,this.context=p,this._diffModeMultiple=h==="multiple"}return a.prototype.add=function(n){return this._add=n,this},a.prototype.update=function(n){return this._update=n,this},a.prototype.updateManyToOne=function(n){return this._updateManyToOne=n,this},a.prototype.updateOneToMany=function(n){return this._updateOneToMany=n,this},a.prototype.updateManyToMany=function(n){return this._updateManyToMany=n,this},a.prototype.remove=function(n){return this._remove=n,this},a.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},a.prototype._executeOneToOne=function(){var n=this._old,e=this._new,s={},f=new Array(n.length),p=new Array(e.length);this._initIndexMap(n,null,f,"_oldKeyGetter"),this._initIndexMap(e,s,p,"_newKeyGetter");for(var h=0;h<n.length;h++){var _=f[h],M=s[_],L=dS(M);if(L>1){var z=M.shift();M.length===1&&(s[_]=M[0]),this._update&&this._update(z,h)}else L===1?(s[_]=null,this._update&&this._update(M,h)):this._remove&&this._remove(h)}this._performRestAdd(p,s)},a.prototype._executeMultiple=function(){var n=this._old,e=this._new,s={},f={},p=[],h=[];this._initIndexMap(n,s,p,"_oldKeyGetter"),this._initIndexMap(e,f,h,"_newKeyGetter");for(var _=0;_<p.length;_++){var M=p[_],L=s[M],z=f[M],Y=dS(L),q=dS(z);if(Y>1&&q===1)this._updateManyToOne&&this._updateManyToOne(z,L),f[M]=null;else if(Y===1&&q>1)this._updateOneToMany&&this._updateOneToMany(z,L),f[M]=null;else if(Y===1&&q===1)this._update&&this._update(z,L),f[M]=null;else if(Y>1&&q>1)this._updateManyToMany&&this._updateManyToMany(z,L),f[M]=null;else if(Y>1)for(var se=0;se<Y;se++)this._remove&&this._remove(L[se]);else this._remove&&this._remove(L)}this._performRestAdd(h,f)},a.prototype._performRestAdd=function(n,e){for(var s=0;s<n.length;s++){var f=n[s],p=e[f],h=dS(p);if(h>1)for(var _=0;_<h;_++)this._add&&this._add(p[_]);else h===1&&this._add&&this._add(p);e[f]=null}},a.prototype._initIndexMap=function(n,e,s,f){for(var p=this._diffModeMultiple,h=0;h<n.length;h++){var _="_ec_"+this[f](n[h],h);if(p||(s[h]=_),!!e){var M=e[_],L=dS(M);L===0?(e[_]=h,p&&s.push(_)):L===1?e[_]=[M,h]:M.push(h)}}},a}(),D0=mY,t8=function(){function a(n,e){this._encode=n,this._schema=e}return a.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},a.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},a}();function _Y(a,n){var e={},s=e.encode={},f=Object(H.f)(),p=[],h=[],_={};Object(H.k)(a.dimensions,function(q){var se=a.getDimensionInfo(q),ye=se.coordDim;if(ye){var je=se.coordDimIndex;RA(s,ye)[je]=q,se.isExtraCoord||(f.set(ye,1),yY(se.type)&&(p[0]=q),RA(_,ye)[je]=a.getDimensionIndex(se.name)),se.defaultTooltip&&h.push(q)}TT.each(function(De,We){var st=RA(s,We),dt=se.otherDims[We];dt!=null&&dt!==!1&&(st[dt]=se.name)})});var M=[],L={};f.each(function(q,se){var ye=s[se];L[se]=ye[0],M=M.concat(ye)}),e.dataDimsOnCoord=M,e.dataDimIndicesOnCoord=Object(H.H)(M,function(q){return a.getDimensionInfo(q).storeDimIndex}),e.encodeFirstDimNotExtra=L;var z=s.label;z&&z.length&&(p=z.slice());var Y=s.tooltip;return Y&&Y.length?h=Y.slice():h.length||(h=p.slice()),s.defaultedLabel=p,s.defaultedTooltip=h,e.userOutput=new t8(_,n),e}function RA(a,n){return a.hasOwnProperty(n)||(a[n]=[]),a[n]}function DA(a){return a==="category"?"ordinal":a==="time"?"time":"float"}function yY(a){return!(a==="ordinal"||a==="time")}var bY=function(){function a(n){this.otherDims={},n!=null&&H.m(this,n)}return a}(),IA=bY,OY=ol(),n8={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},r8=function(){function a(n){this.dimensions=n.dimensions,this._dimOmitted=n.dimensionOmitted,this.source=n.source,this._fullDimCount=n.fullDimensionCount,this._updateDimOmitted(n.dimensionOmitted)}return a.prototype.isDimensionOmitted=function(){return this._dimOmitted},a.prototype._updateDimOmitted=function(n){this._dimOmitted=n,!!n&&(this._dimNameMap||(this._dimNameMap=o8(this.source)))},a.prototype.getSourceDimensionIndex=function(n){return Object(H.P)(this._dimNameMap.get(n),-1)},a.prototype.getSourceDimension=function(n){var e=this.source.dimensionsDefine;if(e)return e[n]},a.prototype.makeStoreSchema=function(){for(var n=this._fullDimCount,e=CF(this.source),s=!s8(n),f="",p=[],h=0,_=0;h<n;h++){var M=void 0,L=void 0,z=void 0,Y=this.dimensions[_];if(Y&&Y.storeDimIndex===h)M=e?Y.name:null,L=Y.type,z=Y.ordinalMeta,_++;else{var q=this.getSourceDimension(h);q&&(M=e?q.name:null,L=q.type)}p.push({property:M,type:L,ordinalMeta:z}),e&&M!=null&&(!Y||!Y.isCalculationCoord)&&(f+=s?M.replace(/\`/g,"`1").replace(/\$/g,"`2"):M),f+="$",f+=n8[L]||"f",z&&(f+=z.uid),f+="$"}var se=this.source,ye=[se.seriesLayoutBy,se.startIndex,f].join("$$");return{dimensions:p,hash:ye}},a.prototype.makeOutputDimensionNames=function(){for(var n=[],e=0,s=0;e<this._fullDimCount;e++){var f=void 0,p=this.dimensions[s];if(p&&p.storeDimIndex===e)p.isCalculationCoord||(f=p.name),s++;else{var h=this.getSourceDimension(e);h&&(f=h.name)}n.push(f)}return n},a.prototype.appendCalculationDimension=function(n){this.dimensions.push(n),n.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},a}();function a8(a){return a instanceof r8}function i8(a){for(var n=Object(H.f)(),e=0;e<(a||[]).length;e++){var s=a[e],f=Object(H.A)(s)?s.name:s;f!=null&&n.get(f)==null&&n.set(f,e)}return n}function o8(a){var n=OY(a);return n.dimNameMap||(n.dimNameMap=i8(a.dimensionsDefine))}function s8(a){return a>30}var j1=H.A,Gy=H.H,CY=typeof Int32Array=="undefined"?Array:Int32Array,EY="e\0\0",c8=-1,xY=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],ID=["_approximateExtent"],l8,NA,fS,pS,ND,vS,LD,SY=function(){function a(n,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var s,f=!1;a8(n)?(s=n.dimensions,this._dimOmitted=n.isDimensionOmitted(),this._schema=n):(f=!0,s=n),s=s||["x","y"];for(var p={},h=[],_={},M=!1,L={},z=0;z<s.length;z++){var Y=s[z],q=H.C(Y)?new IA({name:Y}):Y instanceof IA?Y:new IA(Y),se=q.name;q.type=q.type||"float",q.coordDim||(q.coordDim=se,q.coordDimIndex=0);var ye=q.otherDims=q.otherDims||{};h.push(se),p[se]=q,L[se]!=null&&(M=!0),q.createInvertedIndices&&(_[se]=[]),ye.itemName===0&&(this._nameDimIdx=z),ye.itemId===0&&(this._idDimIdx=z),f&&(q.storeDimIndex=z)}if(this.dimensions=h,this._dimInfos=p,this._initGetDimensionInfo(M),this.hostModel=e,this._invertedIndicesMap=_,this._dimOmitted){var je=this._dimIdxToName=H.f();H.k(h,function(De){je.set(p[De].storeDimIndex,De)})}}return a.prototype.getDimension=function(n){var e=this._recognizeDimIndex(n);if(e==null)return n;if(e=n,!this._dimOmitted)return this.dimensions[e];var s=this._dimIdxToName.get(e);if(s!=null)return s;var f=this._schema.getSourceDimension(e);if(f)return f.name},a.prototype.getDimensionIndex=function(n){var e=this._recognizeDimIndex(n);if(e!=null)return e;if(n==null)return-1;var s=this._getDimInfo(n);return s?s.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(n):-1},a.prototype._recognizeDimIndex=function(n){if(H.z(n)||n!=null&&!isNaN(n)&&!this._getDimInfo(n)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(n)<0))return+n},a.prototype._getStoreDimIndex=function(n){var e=this.getDimensionIndex(n);return e},a.prototype.getDimensionInfo=function(n){return this._getDimInfo(this.getDimension(n))},a.prototype._initGetDimensionInfo=function(n){var e=this._dimInfos;this._getDimInfo=n?function(s){return e.hasOwnProperty(s)?e[s]:void 0}:function(s){return e[s]}},a.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},a.prototype.mapDimension=function(n,e){var s=this._dimSummary;if(e==null)return s.encodeFirstDimNotExtra[n];var f=s.encode[n];return f?f[e]:null},a.prototype.mapDimensionsAll=function(n){var e=this._dimSummary,s=e.encode[n];return(s||[]).slice()},a.prototype.getStore=function(){return this._store},a.prototype.initData=function(n,e,s){var f=this,p;if(n instanceof HF&&(p=n),!p){var h=this.dimensions,_=bF(n)||H.u(n)?new xF(n,h.length):n;p=new HF;var M=Gy(h,function(L){return{type:f._dimInfos[L].type,property:L}});p.initData(_,M,s)}this._store=p,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,p.count()),this._dimSummary=_Y(this,this._schema),this.userOutput=this._dimSummary.userOutput},a.prototype.appendData=function(n){var e=this._store.appendData(n);this._doInit(e[0],e[1])},a.prototype.appendValues=function(n,e){var s=this._store.appendValues(n,e.length),f=s.start,p=s.end,h=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var _=f;_<p;_++){var M=_-f;this._nameList[_]=e[M],h&&LD(this,_)}},a.prototype._updateOrdinalMeta=function(){for(var n=this._store,e=this.dimensions,s=0;s<e.length;s++){var f=this._dimInfos[e[s]];f.ordinalMeta&&n.collectOrdinalMeta(f.storeDimIndex,f.ordinalMeta)}},a.prototype._shouldMakeIdFromName=function(){var n=this._store.getProvider();return this._idDimIdx==null&&n.getSource().sourceFormat!==vm&&!n.fillStorage},a.prototype._doInit=function(n,e){if(!(n>=e)){var s=this._store,f=s.getProvider();this._updateOrdinalMeta();var p=this._nameList,h=this._idList,_=f.getSource().sourceFormat,M=_===zh;if(M&&!f.pure)for(var L=[],z=n;z<e;z++){var Y=f.getItem(z,L);if(!this.hasItemOption&&oa(Y)&&(this.hasItemOption=!0),Y){var q=Y.name;p[z]==null&&q!=null&&(p[z]=Ms(q,null));var se=Y.id;h[z]==null&&se!=null&&(h[z]=Ms(se,null))}}if(this._shouldMakeIdFromName())for(var z=n;z<e;z++)LD(this,z);l8(this)}},a.prototype.getApproximateExtent=function(n){return this._approximateExtent[n]||this._store.getDataExtent(this._getStoreDimIndex(n))},a.prototype.setApproximateExtent=function(n,e){e=this.getDimension(e),this._approximateExtent[e]=n.slice()},a.prototype.getCalculationInfo=function(n){return this._calculationInfo[n]},a.prototype.setCalculationInfo=function(n,e){j1(n)?H.m(this._calculationInfo,n):this._calculationInfo[n]=e},a.prototype.getName=function(n){var e=this.getRawIndex(n),s=this._nameList[e];return s==null&&this._nameDimIdx!=null&&(s=fS(this,this._nameDimIdx,e)),s==null&&(s=""),s},a.prototype._getCategory=function(n,e){var s=this._store.get(n,e),f=this._store.getOrdinalMeta(n);return f?f.categories[s]:s},a.prototype.getId=function(n){return NA(this,this.getRawIndex(n))},a.prototype.count=function(){return this._store.count()},a.prototype.get=function(n,e){var s=this._store,f=this._dimInfos[n];if(f)return s.get(f.storeDimIndex,e)},a.prototype.getByRawIndex=function(n,e){var s=this._store,f=this._dimInfos[n];if(f)return s.getByRawIndex(f.storeDimIndex,e)},a.prototype.getIndices=function(){return this._store.getIndices()},a.prototype.getDataExtent=function(n){return this._store.getDataExtent(this._getStoreDimIndex(n))},a.prototype.getSum=function(n){return this._store.getSum(this._getStoreDimIndex(n))},a.prototype.getMedian=function(n){return this._store.getMedian(this._getStoreDimIndex(n))},a.prototype.getValues=function(n,e){var s=this,f=this._store;return H.t(n)?f.getValues(Gy(n,function(p){return s._getStoreDimIndex(p)}),e):f.getValues(n)},a.prototype.hasValue=function(n){for(var e=this._dimSummary.dataDimIndicesOnCoord,s=0,f=e.length;s<f;s++)if(isNaN(this._store.get(e[s],n)))return!1;return!0},a.prototype.indexOfName=function(n){for(var e=0,s=this._store.count();e<s;e++)if(this.getName(e)===n)return e;return-1},a.prototype.getRawIndex=function(n){return this._store.getRawIndex(n)},a.prototype.indexOfRawIndex=function(n){return this._store.indexOfRawIndex(n)},a.prototype.rawIndexOf=function(n,e){var s=n&&this._invertedIndicesMap[n],f=s[e];return f==null||isNaN(f)?c8:f},a.prototype.indicesOfNearest=function(n,e,s){return this._store.indicesOfNearest(this._getStoreDimIndex(n),e,s)},a.prototype.each=function(n,e,s){"use strict";H.w(n)&&(s=e,e=n,n=[]);var f=s||this,p=Gy(pS(n),this._getStoreDimIndex,this);this._store.each(p,f?H.c(e,f):e)},a.prototype.filterSelf=function(n,e,s){"use strict";H.w(n)&&(s=e,e=n,n=[]);var f=s||this,p=Gy(pS(n),this._getStoreDimIndex,this);return this._store=this._store.filter(p,f?H.c(e,f):e),this},a.prototype.selectRange=function(n){"use strict";var e=this,s={},f=H.F(n),p=[];return H.k(f,function(h){var _=e._getStoreDimIndex(h);s[_]=n[h],p.push(_)}),this._store=this._store.selectRange(s),this},a.prototype.mapArray=function(n,e,s){"use strict";H.w(n)&&(s=e,e=n,n=[]),s=s||this;var f=[];return this.each(n,function(){f.push(e&&e.apply(this,arguments))},s),f},a.prototype.map=function(n,e,s,f){"use strict";var p=s||f||this,h=Gy(pS(n),this._getStoreDimIndex,this),_=vS(this);return _._store=this._store.map(h,p?H.c(e,p):e),_},a.prototype.modify=function(n,e,s,f){var p=this,h=s||f||this,_=Gy(pS(n),this._getStoreDimIndex,this);this._store.modify(_,h?H.c(e,h):e)},a.prototype.downSample=function(n,e,s,f){var p=vS(this);return p._store=this._store.downSample(this._getStoreDimIndex(n),e,s,f),p},a.prototype.lttbDownSample=function(n,e){var s=vS(this);return s._store=this._store.lttbDownSample(this._getStoreDimIndex(n),e),s},a.prototype.getRawDataItem=function(n){return this._store.getRawDataItem(n)},a.prototype.getItemModel=function(n){var e=this.hostModel,s=this.getRawDataItem(n);return new tp(s,e,e&&e.ecModel)},a.prototype.diff=function(n){var e=this;return new D0(n?n.getStore().getIndices():[],this.getStore().getIndices(),function(s){return NA(n,s)},function(s){return NA(e,s)})},a.prototype.getVisual=function(n){var e=this._visual;return e&&e[n]},a.prototype.setVisual=function(n,e){this._visual=this._visual||{},j1(n)?H.m(this._visual,n):this._visual[n]=e},a.prototype.getItemVisual=function(n,e){var s=this._itemVisuals[n],f=s&&s[e];return f==null?this.getVisual(e):f},a.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},a.prototype.ensureUniqueItemVisual=function(n,e){var s=this._itemVisuals,f=s[n];f||(f=s[n]={});var p=f[e];return p==null&&(p=this.getVisual(e),H.t(p)?p=p.slice():j1(p)&&(p=H.m({},p)),f[e]=p),p},a.prototype.setItemVisual=function(n,e,s){var f=this._itemVisuals[n]||{};this._itemVisuals[n]=f,j1(e)?H.m(f,e):f[e]=s},a.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},a.prototype.setLayout=function(n,e){j1(n)?H.m(this._layout,n):this._layout[n]=e},a.prototype.getLayout=function(n){return this._layout[n]},a.prototype.getItemLayout=function(n){return this._itemLayouts[n]},a.prototype.setItemLayout=function(n,e,s){this._itemLayouts[n]=s?H.m(this._itemLayouts[n]||{},e):e},a.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},a.prototype.setItemGraphicEl=function(n,e){var s=this.hostModel&&this.hostModel.seriesIndex;Pd(s,this.dataType,n,e),this._graphicEls[n]=e},a.prototype.getItemGraphicEl=function(n){return this._graphicEls[n]},a.prototype.eachItemGraphicEl=function(n,e){H.k(this._graphicEls,function(s,f){s&&n&&n.call(e,s,f)})},a.prototype.cloneShallow=function(n){return n||(n=new a(this._schema?this._schema:Gy(this.dimensions,this._getDimInfo,this),this.hostModel)),ND(n,this),n._store=this._store,n},a.prototype.wrapMethod=function(n,e){var s=this[n];!H.w(s)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(n),this[n]=function(){var f=s.apply(this,arguments);return e.apply(this,[f].concat(H.S(arguments)))})},a.internalField=function(){l8=function(n){var e=n._invertedIndicesMap;H.k(e,function(s,f){var p=n._dimInfos[f],h=p.ordinalMeta,_=n._store;if(h){s=e[f]=new CY(h.categories.length);for(var M=0;M<s.length;M++)s[M]=c8;for(var M=0;M<_.count();M++)s[_.get(p.storeDimIndex,M)]=M}})},fS=function(n,e,s){return Ms(n._getCategory(e,s),null)},NA=function(n,e){var s=n._idList[e];return s==null&&n._idDimIdx!=null&&(s=fS(n,n._idDimIdx,e)),s==null&&(s=EY+e),s},pS=function(n){return H.t(n)||(n=n!=null?[n]:[]),n},vS=function(n){var e=new a(n._schema?n._schema:Gy(n.dimensions,n._getDimInfo,n),n.hostModel);return ND(e,n),e},ND=function(n,e){H.k(xY.concat(e.__wrappedMethods||[]),function(s){e.hasOwnProperty(s)&&(n[s]=e[s])}),n.__wrappedMethods=e.__wrappedMethods,H.k(ID,function(s){n[s]=H.d(e[s])}),n._calculationInfo=H.m({},e._calculationInfo)},LD=function(n,e){var s=n._nameList,f=n._idList,p=n._nameDimIdx,h=n._idDimIdx,_=s[e],M=f[e];if(_==null&&p!=null&&(s[e]=_=fS(n,p,e)),M==null&&h!=null&&(f[e]=M=fS(n,h,e)),M==null&&_!=null){var L=n._nameRepeatCount,z=L[_]=(L[_]||0)+1;M=_,z>1&&(M+="__ec__"+z),f[e]=M}}}(),a}(),cg=SY;function Tse(a,n){return _C(a,n).dimensions}function _C(a,n){bF(a)||(a=jx(a)),n=n||{};var e=n.coordDimensions||[],s=n.dimensionsDefine||a.dimensionsDefine||[],f=Object(H.f)(),p=[],h=TY(a,e,s,n.dimensionsCount),_=n.canOmitUnusedDimensions&&s8(h),M=s===a.dimensionsDefine,L=M?o8(a):i8(s),z=n.encodeDefine;!z&&n.encodeDefaulter&&(z=n.encodeDefaulter(a,h));for(var Y=Object(H.f)(z),q=new FF(h),se=0;se<q.length;se++)q[se]=-1;function ye(ir){var dr=q[ir];if(dr<0){var pr=s[ir],ia=Object(H.A)(pr)?pr:{name:pr},pa=new IA,Ga=ia.name;Ga!=null&&L.get(Ga)!=null&&(pa.name=pa.displayName=Ga),ia.type!=null&&(pa.type=ia.type),ia.displayName!=null&&(pa.displayName=ia.displayName);var si=p.length;return q[ir]=si,pa.storeDimIndex=ir,p.push(pa),pa}return p[dr]}if(!_)for(var se=0;se<h;se++)ye(se);Y.each(function(ir,dr){var pr=St(ir).slice();if(pr.length===1&&!Object(H.C)(pr[0])&&pr[0]<0){Y.set(dr,!1);return}var ia=Y.set(dr,[]);Object(H.k)(pr,function(pa,Ga){var si=Object(H.C)(pa)?L.get(pa):pa;si!=null&&si<h&&(ia[Ga]=si,De(ye(si),dr,Ga))})});var je=0;Object(H.k)(e,function(ir){var dr,pr,ia,pa;if(Object(H.C)(ir))dr=ir,pa={};else{pa=ir,dr=pa.name;var Ga=pa.ordinalMeta;pa.ordinalMeta=null,pa=Object(H.m)({},pa),pa.ordinalMeta=Ga,pr=pa.dimsDef,ia=pa.otherDims,pa.name=pa.coordDim=pa.coordDimIndex=pa.dimsDef=pa.otherDims=null}var si=Y.get(dr);if(si!==!1){if(si=St(si),!si.length)for(var Bi=0;Bi<(pr&&pr.length||1);Bi++){for(;je<h&&ye(je).coordDim!=null;)je++;je<h&&si.push(je++)}Object(H.k)(si,function(Go,Lo){var Rs=ye(Go);if(M&&pa.type!=null&&(Rs.type=pa.type),De(Object(H.i)(Rs,pa),dr,Lo),Rs.name==null&&pr){var Ns=pr[Lo];!Object(H.A)(Ns)&&(Ns={name:Ns}),Rs.name=Rs.displayName=Ns.name,Rs.defaultTooltip=Ns.defaultTooltip}ia&&Object(H.i)(Rs.otherDims,ia)})}});function De(ir,dr,pr){TT.get(dr)!=null?ir.otherDims[dr]=pr:(ir.coordDim=dr,ir.coordDimIndex=pr,f.set(dr,!0))}var We=n.generateCoord,st=n.generateCoordCount,dt=st!=null;st=We?st||1:0;var Mt=We||"value";function nn(ir){ir.name==null&&(ir.name=ir.coordDim)}if(_)Object(H.k)(p,function(ir){nn(ir)}),p.sort(function(ir,dr){return ir.storeDimIndex-dr.storeDimIndex});else for(var rn=0;rn<h;rn++){var Cn=ye(rn),er=Cn.coordDim;er==null&&(Cn.coordDim=AY(Mt,f,dt),Cn.coordDimIndex=0,(!We||st<=0)&&(Cn.isExtraCoord=!0),st--),nn(Cn),Cn.type==null&&(aR(a,rn)===eh.Must||Cn.isExtraCoord&&(Cn.otherDims.itemName!=null||Cn.otherDims.seriesName!=null))&&(Cn.type="ordinal")}return wY(p),new r8({source:a,dimensions:p,fullDimensionCount:h,dimensionOmitted:_})}function wY(a){for(var n=Object(H.f)(),e=0;e<a.length;e++){var s=a[e],f=s.name,p=n.get(f)||0;p>0&&(s.name=f+(p-1)),p++,n.set(f,p)}}function TY(a,n,e,s){var f=Math.max(a.dimensionsDetectedCount||1,n.length,e.length,s||0);return Object(H.k)(n,function(p){var h;Object(H.A)(p)&&(h=p.dimsDef)&&(f=Math.max(f,h.length))}),f}function AY(a,n,e){if(e||n.hasKey(a)){for(var s=0;n.hasKey(a+s);)s++;a+=s}return n.set(a,!0),a}var kY=function(){function a(n){this.coordSysDims=[],this.axisMap=Object(H.f)(),this.categoryAxisMap=Object(H.f)(),this.coordSysName=n}return a}();function jY(a){var n=a.get("coordinateSystem"),e=new kY(n),s=MY[n];if(s)return s(a,e,e.axisMap,e.categoryAxisMap),e}var MY={cartesian2d:function(a,n,e,s){var f=a.getReferringComponents("xAxis",Vu).models[0],p=a.getReferringComponents("yAxis",Vu).models[0];n.coordSysDims=["x","y"],e.set("x",f),e.set("y",p),_m(f)&&(s.set("x",f),n.firstCategoryDimIndex=0),_m(p)&&(s.set("y",p),n.firstCategoryDimIndex==null&&(n.firstCategoryDimIndex=1))},singleAxis:function(a,n,e,s){var f=a.getReferringComponents("singleAxis",Vu).models[0];n.coordSysDims=["single"],e.set("single",f),_m(f)&&(s.set("single",f),n.firstCategoryDimIndex=0)},polar:function(a,n,e,s){var f=a.getReferringComponents("polar",Vu).models[0],p=f.findAxisModel("radiusAxis"),h=f.findAxisModel("angleAxis");n.coordSysDims=["radius","angle"],e.set("radius",p),e.set("angle",h),_m(p)&&(s.set("radius",p),n.firstCategoryDimIndex=0),_m(h)&&(s.set("angle",h),n.firstCategoryDimIndex==null&&(n.firstCategoryDimIndex=1))},geo:function(a,n,e,s){n.coordSysDims=["lng","lat"]},parallel:function(a,n,e,s){var f=a.ecModel,p=f.getComponent("parallel",a.get("parallelIndex")),h=n.coordSysDims=p.dimensions.slice();Object(H.k)(p.parallelAxisIndex,function(_,M){var L=f.getComponent("parallelAxis",_),z=h[M];e.set(z,L),_m(L)&&(s.set(z,L),n.firstCategoryDimIndex==null&&(n.firstCategoryDimIndex=M))})}};function _m(a){return a.get("type")==="category"}function PY(a,n,e){e=e||{};var s=e.byIndex,f=e.stackedCoordDimension,p,h,_;RY(n)?p=n:(h=n.schema,p=h.dimensions,_=n.store);var M=!!(a&&a.get("stack")),L,z,Y,q;if(Object(H.k)(p,function(st,dt){Object(H.C)(st)&&(p[dt]=st={name:st}),M&&!st.isExtraCoord&&(!s&&!L&&st.ordinalMeta&&(L=st),!z&&st.type!=="ordinal"&&st.type!=="time"&&(!f||f===st.coordDim)&&(z=st))}),z&&!s&&!L&&(s=!0),z){Y="__\0ecstackresult_"+a.id,q="__\0ecstackedover_"+a.id,L&&(L.createInvertedIndices=!0);var se=z.coordDim,ye=z.type,je=0;Object(H.k)(p,function(st){st.coordDim===se&&je++});var De={name:Y,coordDim:se,coordDimIndex:je,type:ye,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:p.length},We={name:q,coordDim:q,coordDimIndex:je+1,type:ye,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:p.length+1};h?(_&&(De.storeDimIndex=_.ensureCalculationDimension(q,ye),We.storeDimIndex=_.ensureCalculationDimension(Y,ye)),h.appendCalculationDimension(De),h.appendCalculationDimension(We)):(p.push(De),p.push(We))}return{stackedDimension:z&&z.name,stackedByDimension:L&&L.name,isStackedByIndex:s,stackedOverDimension:q,stackResultDimension:Y}}function RY(a){return!a8(a.schema)}function $y(a,n){return!!n&&n===a.getCalculationInfo("stackedDimension")}function hS(a,n){return $y(a,n)?a.getCalculationInfo("stackResultDimension"):n}function DY(a,n){var e=a.get("coordinateSystem"),s=In.get(e),f;return n&&n.coordSysDims&&(f=H.H(n.coordSysDims,function(p){var h={name:p},_=n.axisMap.get(p);if(_){var M=_.get("type");h.type=DA(M)}return h})),f||(f=s&&(s.getDimensionsInfo?s.getDimensionsInfo():s.dimensions.slice())||["x","y"]),f}function IY(a,n,e){var s,f;return e&&H.k(a,function(p,h){var _=p.coordDim,M=e.categoryAxisMap.get(_);M&&(s==null&&(s=h),p.ordinalMeta=M.getOrdinalMeta(),n&&(p.createInvertedIndices=!0)),p.otherDims.itemName!=null&&(f=!0)}),!f&&s!=null&&(a[s].otherDims.itemName=0),s}function NY(a,n,e){e=e||{};var s=n.getSourceManager(),f,p=!1;a?(p=!0,f=jx(a)):(f=s.getSource(),p=f.sourceFormat===zh);var h=jY(n),_=DY(n,h),M=e.useEncodeDefaulter,L=H.w(M)?M:M?H.h(kT,_,n):null,z={coordDimensions:_,generateCoord:e.generateCoord,encodeDefine:n.getEncode(),encodeDefaulter:L,canOmitUnusedDimensions:!p},Y=_C(f,z),q=IY(Y.dimensions,e.createInvertedIndices,h),se=p?null:s.getSharedDataStore(Y),ye=PY(n,{schema:Y,store:se}),je=new cg(Y,n);je.setCalculationInfo(ye);var De=q!=null&&LY(f)?function(We,st,dt,Mt){return Mt===q?dt:this.defaultDimValueGetter(We,st,dt,Mt)}:null;return je.hasItemOption=!1,je.initData(p?f:se,null,De),je}function LY(a){if(a.sourceFormat===zh){var n=FY(a.data||[]);return!H.t(aa(n))}}function FY(a){for(var n=0;n<a.length&&a[n]==null;)n++;return a[n]}var I0=NY,UY=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return n.prototype.getInitialData=function(e){if(!1)var s;return I0(null,this,{useEncodeDefaulter:!0})},n.prototype.getLegendIcon=function(e){var s=new _s,f=Rv("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);s.add(f),f.setStyle(e.lineStyle);var p=this.getData().getVisual("symbol"),h=this.getData().getVisual("symbolRotate"),_=p==="none"?"circle":p,M=e.itemHeight*.8,L=Rv(_,(e.itemWidth-M)/2,(e.itemHeight-M)/2,M,M,e.itemStyle.fill);s.add(L),L.setStyle(e.itemStyle);var z=e.iconRotate==="inherit"?h:e.iconRotate||0;return L.rotation=z*Math.PI/180,L.setOrigin([e.itemWidth/2,e.itemHeight/2]),_.indexOf("empty")>-1&&(L.style.stroke=L.style.fill,L.style.fill="#fff",L.style.lineWidth=2),s},n.type="series.line",n.dependencies=["grid","polar"],n.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},n}(mp),BY=UY;function yC(a,n){var e=a.mapDimensionsAll("defaultedLabel"),s=e.length;if(s===1){var f=f1(a,n,e[0]);return f!=null?f+"":null}else if(s){for(var p=[],h=0;h<e.length;h++)p.push(f1(a,n,e[h]));return p.join(" ")}}function u8(a,n){var e=a.mapDimensionsAll("defaultedLabel");if(!Object(H.t)(n))return n+"";for(var s=[],f=0;f<e.length;f++){var p=a.getDimensionIndex(e[f]);p>=0&&s.push(n[p])}return s.join(" ")}var VY=function(a){Qe(n,a);function n(e,s,f,p){var h=a.call(this)||this;return h.updateData(e,s,f,p),h}return n.prototype._createSymbol=function(e,s,f,p,h){this.removeAll();var _=Rv(e,-1,-1,2,2,null,h);_.attr({z2:100,culling:!0,scaleX:p[0]/2,scaleY:p[1]/2}),_.drift=zY,this._symbolType=e,this.add(_)},n.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},n.prototype.getSymbolType=function(){return this._symbolType},n.prototype.getSymbolPath=function(){return this.childAt(0)},n.prototype.highlight=function(){C_(this.childAt(0))},n.prototype.downplay=function(){wh(this.childAt(0))},n.prototype.setZ=function(e,s){var f=this.childAt(0);f.zlevel=e,f.z=s},n.prototype.setDraggable=function(e,s){var f=this.childAt(0);f.draggable=e,f.cursor=!s&&e?"move":f.cursor},n.prototype.updateData=function(e,s,f,p){this.silent=!1;var h=e.getItemVisual(s,"symbol")||"circle",_=e.hostModel,M=n.getSymbolSize(e,s),L=h!==this._symbolType,z=p&&p.disableAnimation;if(L){var Y=e.getItemVisual(s,"symbolKeepAspect");this._createSymbol(h,e,s,M,Y)}else{var q=this.childAt(0);q.silent=!1;var se={scaleX:M[0]/2,scaleY:M[1]/2};z?q.attr(se):pf(q,se,_,s),Ug(q)}if(this._updateCommon(e,s,M,f,p),L){var q=this.childAt(0);if(!z){var se={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:q.style.opacity}};q.scaleX=q.scaleY=0,q.style.opacity=0,dp(q,se,_,s)}}z&&this.childAt(0).stopAnimation("leave")},n.prototype._updateCommon=function(e,s,f,p,h){var _=this.childAt(0),M=e.hostModel,L,z,Y,q,se,ye,je,De,We;if(p&&(L=p.emphasisItemStyle,z=p.blurItemStyle,Y=p.selectItemStyle,q=p.focus,se=p.blurScope,je=p.labelStatesModels,De=p.hoverScale,We=p.cursorStyle,ye=p.emphasisDisabled),!p||e.hasItemOption){var st=p&&p.itemModel?p.itemModel:e.getItemModel(s),dt=st.getModel("emphasis");L=dt.getModel("itemStyle").getItemStyle(),Y=st.getModel(["select","itemStyle"]).getItemStyle(),z=st.getModel(["blur","itemStyle"]).getItemStyle(),q=dt.get("focus"),se=dt.get("blurScope"),ye=dt.get("disabled"),je=_f(st),De=dt.getShallow("scale"),We=st.getShallow("cursor")}var Mt=e.getItemVisual(s,"symbolRotate");_.attr("rotation",(Mt||0)*Math.PI/180||0);var nn=oC(e.getItemVisual(s,"symbolOffset"),f);nn&&(_.x=nn[0],_.y=nn[1]),We&&_.attr("cursor",We);var rn=e.getItemVisual(s,"style"),Cn=rn.fill;if(_ instanceof Gi){var er=_.style;_.useStyle(Object(H.m)({image:er.image,x:er.x,y:er.y,width:er.width,height:er.height},rn))}else _.__isEmptyBrush?_.useStyle(Object(H.m)({},rn)):_.useStyle(rn),_.style.decal=null,_.setColor(Cn,h&&h.symbolInnerColor),_.style.strokeNoScale=!0;var ir=e.getItemVisual(s,"liftZ"),dr=this._z2;ir!=null?dr==null&&(this._z2=_.z2,_.z2+=ir):dr!=null&&(_.z2=dr,this._z2=null);var pr=h&&h.useNameLabel;Wf(_,je,{labelFetcher:M,labelDataIndex:s,defaultText:ia,inheritColor:Cn,defaultOpacity:rn.opacity});function ia(si){return pr?e.getName(si):yC(e,si)}this._sizeX=f[0]/2,this._sizeY=f[1]/2;var pa=_.ensureState("emphasis");pa.style=L,_.ensureState("select").style=Y,_.ensureState("blur").style=z;var Ga=De==null||De===!0?Math.max(1.1,3/this._sizeY):isFinite(De)&&De>0?+De:1;pa.scaleX=this._sizeX*Ga,pa.scaleY=this._sizeY*Ga,this.setSymbolScale(1),Wp(this,q,se,ye)},n.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},n.prototype.fadeOut=function(e,s,f){var p=this.childAt(0),h=sc(this).dataIndex,_=f&&f.animation;if(this.silent=p.silent=!0,f&&f.fadeLabel){var M=p.getTextContent();M&&x_(M,{style:{opacity:0}},s,{dataIndex:h,removeOpt:_,cb:function(){p.removeTextContent()}})}else p.removeTextContent();x_(p,{style:{opacity:0},scaleX:0,scaleY:0},s,{dataIndex:h,cb:e,removeOpt:_})},n.getSymbolSize=function(e,s){return qx(e.getItemVisual(s,"symbolSize"))},n}(_s);function zY(a,n){this.parent.drift(a,n)}var gS=VY;function FD(a,n,e,s){return n&&!isNaN(n[0])&&!isNaN(n[1])&&!(s.isIgnore&&s.isIgnore(e))&&!(s.clipShape&&!s.clipShape.contain(n[0],n[1]))&&a.getItemVisual(e,"symbol")!=="none"}function d8(a){return a!=null&&!Object(H.A)(a)&&(a={isIgnore:a}),a||{}}function f8(a){var n=a.hostModel,e=n.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:n.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:n.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:_f(n),cursorStyle:n.get("cursor")}}var HY=function(){function a(n){this.group=new _s,this._SymbolCtor=n||gS}return a.prototype.updateData=function(n,e){this._progressiveEls=null,e=d8(e);var s=this.group,f=n.hostModel,p=this._data,h=this._SymbolCtor,_=e.disableAnimation,M=f8(n),L={disableAnimation:_},z=e.getSymbolPoint||function(Y){return n.getItemLayout(Y)};p||s.removeAll(),n.diff(p).add(function(Y){var q=z(Y);if(FD(n,q,Y,e)){var se=new h(n,Y,M,L);se.setPosition(q),n.setItemGraphicEl(Y,se),s.add(se)}}).update(function(Y,q){var se=p.getItemGraphicEl(q),ye=z(Y);if(!FD(n,ye,Y,e)){s.remove(se);return}var je=n.getItemVisual(Y,"symbol")||"circle",De=se&&se.getSymbolType&&se.getSymbolType();if(!se||De&&De!==je)s.remove(se),se=new h(n,Y,M,L),se.setPosition(ye);else{se.updateData(n,Y,M,L);var We={x:ye[0],y:ye[1]};_?se.attr(We):pf(se,We,f)}s.add(se),n.setItemGraphicEl(Y,se)}).remove(function(Y){var q=p.getItemGraphicEl(Y);q&&q.fadeOut(function(){s.remove(q)},f)}).execute(),this._getSymbolPoint=z,this._data=n},a.prototype.updateLayout=function(){var n=this,e=this._data;e&&e.eachItemGraphicEl(function(s,f){var p=n._getSymbolPoint(f);s.setPosition(p),s.markRedraw()})},a.prototype.incrementalPrepareUpdate=function(n){this._seriesScope=f8(n),this._data=null,this.group.removeAll()},a.prototype.incrementalUpdate=function(n,e,s){this._progressiveEls=[],s=d8(s);function f(M){M.isGroup||(M.incremental=!0,M.ensureState("emphasis").hoverLayer=!0)}for(var p=n.start;p<n.end;p++){var h=e.getItemLayout(p);if(FD(e,h,p,s)){var _=new this._SymbolCtor(e,p,this._seriesScope);_.traverse(f),_.setPosition(h),this.group.add(_),e.setItemGraphicEl(p,_),this._progressiveEls.push(_)}}},a.prototype.eachRendered=function(n){Fy(this._progressiveEls||this.group,n)},a.prototype.remove=function(n){var e=this.group,s=this._data;s&&n?s.eachItemGraphicEl(function(f){f.fadeOut(function(){e.remove(f)},s.hostModel)}):e.removeAll()},a}(),mS=HY;function p8(a,n,e){var s=a.getBaseAxis(),f=a.getOtherAxis(s),p=GY(f,e),h=s.dim,_=f.dim,M=n.mapDimension(_),L=n.mapDimension(h),z=_==="x"||_==="radius"?1:0,Y=Object(H.H)(a.dimensions,function(ye){return n.mapDimension(ye)}),q=!1,se=n.getCalculationInfo("stackResultDimension");return $y(n,Y[0])&&(q=!0,Y[0]=se),$y(n,Y[1])&&(q=!0,Y[1]=se),{dataDimsForPoint:Y,valueStart:p,valueAxisDim:_,baseAxisDim:h,stacked:!!q,valueDim:M,baseDim:L,baseDataOffset:z,stackedOverDimension:n.getCalculationInfo("stackedOverDimension")}}function GY(a,n){var e=0,s=a.scale.getExtent();return n==="start"?e=s[0]:n==="end"?e=s[1]:Object(H.z)(n)&&!isNaN(n)?e=n:s[0]>0?e=s[0]:s[1]<0&&(e=s[1]),e}function v8(a,n,e,s){var f=NaN;a.stacked&&(f=e.get(e.getCalculationInfo("stackedOverDimension"),s)),isNaN(f)&&(f=a.valueStart);var p=a.baseDataOffset,h=[];return h[p]=e.get(a.baseDim,s),h[1-p]=f,n.dataToPoint(h)}var h8=typeof Float32Array!="undefined",g8=h8?Float32Array:Array;function U_(a){return Object(H.t)(a)?h8?new Float32Array(a):a:new g8(a)}function $Y(a,n){var e=[];return n.diff(a).add(function(s){e.push({cmd:"+",idx:s})}).update(function(s,f){e.push({cmd:"=",idx:f,idx1:s})}).remove(function(s){e.push({cmd:"-",idx:s})}).execute(),e}function WY(a,n,e,s,f,p,h,_){for(var M=$Y(a,n),L=[],z=[],Y=[],q=[],se=[],ye=[],je=[],De=p8(f,n,h),We=a.getLayout("points")||[],st=n.getLayout("points")||[],dt=0;dt<M.length;dt++){var Mt=M[dt],nn=!0,rn=void 0,Cn=void 0;switch(Mt.cmd){case"=":rn=Mt.idx*2,Cn=Mt.idx1*2;var er=We[rn],ir=We[rn+1],dr=st[Cn],pr=st[Cn+1];(isNaN(er)||isNaN(ir))&&(er=dr,ir=pr),L.push(er,ir),z.push(dr,pr),Y.push(e[rn],e[rn+1]),q.push(s[Cn],s[Cn+1]),je.push(n.getRawIndex(Mt.idx1));break;case"+":var ia=Mt.idx,pa=De.dataDimsForPoint,Ga=f.dataToPoint([n.get(pa[0],ia),n.get(pa[1],ia)]);Cn=ia*2,L.push(Ga[0],Ga[1]),z.push(st[Cn],st[Cn+1]);var si=v8(De,f,n,ia);Y.push(si[0],si[1]),q.push(s[Cn],s[Cn+1]),je.push(n.getRawIndex(ia));break;case"-":nn=!1}nn&&(se.push(Mt),ye.push(ye.length))}ye.sort(function(Nu,yd){return je[Nu]-je[yd]});for(var Bi=L.length,Go=U_(Bi),Lo=U_(Bi),Rs=U_(Bi),Ns=U_(Bi),Ds=[],dt=0;dt<ye.length;dt++){var yc=ye[dt],Zc=dt*2,$c=yc*2;Go[Zc]=L[$c],Go[Zc+1]=L[$c+1],Lo[Zc]=z[$c],Lo[Zc+1]=z[$c+1],Rs[Zc]=Y[$c],Rs[Zc+1]=Y[$c+1],Ns[Zc]=q[$c],Ns[Zc+1]=q[$c+1],Ds[dt]=se[yc]}return{current:Go,next:Lo,stackedOnCurrent:Rs,stackedOnNext:Ns,status:Ds}}var Wy=Math.min,Ky=Math.max;function M1(a,n){return isNaN(a)||isNaN(n)}function UD(a,n,e,s,f,p,h,_,M){for(var L,z,Y,q,se,ye,je=e,De=0;De<s;De++){var We=n[je*2],st=n[je*2+1];if(je>=f||je<0)break;if(M1(We,st)){if(M){je+=p;continue}break}if(je===e)a[p>0?"moveTo":"lineTo"](We,st),Y=We,q=st;else{var dt=We-L,Mt=st-z;if(dt*dt+Mt*Mt<.5){je+=p;continue}if(h>0){for(var nn=je+p,rn=n[nn*2],Cn=n[nn*2+1];rn===We&&Cn===st&&De<s;)De++,nn+=p,je+=p,rn=n[nn*2],Cn=n[nn*2+1],We=n[je*2],st=n[je*2+1],dt=We-L,Mt=st-z;var er=De+1;if(M)for(;M1(rn,Cn)&&er<s;)er++,nn+=p,rn=n[nn*2],Cn=n[nn*2+1];var ir=.5,dr=0,pr=0,ia=void 0,pa=void 0;if(er>=s||M1(rn,Cn))se=We,ye=st;else{dr=rn-L,pr=Cn-z;var Ga=We-L,si=rn-We,Bi=st-z,Go=Cn-st,Lo=void 0,Rs=void 0;if(_==="x"){Lo=Math.abs(Ga),Rs=Math.abs(si);var Ns=dr>0?1:-1;se=We-Ns*Lo*h,ye=st,ia=We+Ns*Rs*h,pa=st}else if(_==="y"){Lo=Math.abs(Bi),Rs=Math.abs(Go);var Ds=pr>0?1:-1;se=We,ye=st-Ds*Lo*h,ia=We,pa=st+Ds*Rs*h}else Lo=Math.sqrt(Ga*Ga+Bi*Bi),Rs=Math.sqrt(si*si+Go*Go),ir=Rs/(Rs+Lo),se=We-dr*h*(1-ir),ye=st-pr*h*(1-ir),ia=We+dr*h*ir,pa=st+pr*h*ir,ia=Wy(ia,Ky(rn,We)),pa=Wy(pa,Ky(Cn,st)),ia=Ky(ia,Wy(rn,We)),pa=Ky(pa,Wy(Cn,st)),dr=ia-We,pr=pa-st,se=We-dr*Lo/Rs,ye=st-pr*Lo/Rs,se=Wy(se,Ky(L,We)),ye=Wy(ye,Ky(z,st)),se=Ky(se,Wy(L,We)),ye=Ky(ye,Wy(z,st)),dr=We-se,pr=st-ye,ia=We+dr*Rs/Lo,pa=st+pr*Rs/Lo}a.bezierCurveTo(Y,q,se,ye,We,st),Y=ia,q=pa}else a.lineTo(We,st)}L=We,z=st,je+=p}return De}var m8=function(){function a(){this.smooth=0,this.smoothConstraint=!0}return a}(),KY=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="ec-polyline",s}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new m8},n.prototype.buildPath=function(e,s){var f=s.points,p=0,h=f.length/2;if(s.connectNulls){for(;h>0&&M1(f[h*2-2],f[h*2-1]);h--);for(;p<h&&M1(f[p*2],f[p*2+1]);p++);}for(;p<h;)p+=UD(e,f,p,h,h,1,s.smooth,s.smoothMonotone,s.connectNulls)+1},n.prototype.getPointOn=function(e,s){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var f=this.path,p=f.data,h=tl.CMD,_,M,L=s==="x",z=[],Y=0;Y<p.length;){var q=p[Y++],se=void 0,ye=void 0,je=void 0,De=void 0,We=void 0,st=void 0,dt=void 0;switch(q){case h.M:_=p[Y++],M=p[Y++];break;case h.L:if(se=p[Y++],ye=p[Y++],dt=L?(e-_)/(se-_):(e-M)/(ye-M),dt<=1&&dt>=0){var Mt=L?(ye-M)*dt+M:(se-_)*dt+_;return L?[e,Mt]:[Mt,e]}_=se,M=ye;break;case h.C:se=p[Y++],ye=p[Y++],je=p[Y++],De=p[Y++],We=p[Y++],st=p[Y++];var nn=L?Gs(_,se,je,We,e,z):Gs(M,ye,De,st,e,z);if(nn>0)for(var rn=0;rn<nn;rn++){var Cn=z[rn];if(Cn<=1&&Cn>=0){var Mt=L?Ts(M,ye,De,st,Cn):Ts(_,se,je,We,Cn);return L?[e,Mt]:[Mt,e]}}_=We,M=st;break}}},n}(Ti),BD=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n}(m8),_8=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="ec-polygon",s}return n.prototype.getDefaultShape=function(){return new BD},n.prototype.buildPath=function(e,s){var f=s.points,p=s.stackedOnPoints,h=0,_=f.length/2,M=s.smoothMonotone;if(s.connectNulls){for(;_>0&&M1(f[_*2-2],f[_*2-1]);_--);for(;h<_&&M1(f[h*2],f[h*2+1]);h++);}for(;h<_;){var L=UD(e,f,h,_,_,1,s.smooth,M,s.connectNulls);UD(e,p,h+L-1,L,_,-1,s.stackedOnSmooth,M,s.connectNulls),h+=L+1,e.closePath()}},n}(Ti);function y8(a,n,e,s,f){var p=a.getArea(),h=p.x,_=p.y,M=p.width,L=p.height,z=e.get(["lineStyle","width"])||2;h-=z/2,_-=z/2,M+=z,L+=z,h=Math.floor(h),M=Math.round(M);var Y=new Ic({shape:{x:h,y:_,width:M,height:L}});if(n){var q=a.getBaseAxis(),se=q.isHorizontal(),ye=q.inverse;se?(ye&&(Y.shape.x+=M),Y.shape.width=0):(ye||(Y.shape.y+=L),Y.shape.height=0);var je=Object(H.w)(f)?function(De){f(De,Y)}:null;dp(Y,{shape:{width:M,height:L,x:h,y:_}},e,null,s,je)}return Y}function b8(a,n,e){var s=a.getArea(),f=ds(s.r0,1),p=ds(s.r,1),h=new bv({shape:{cx:ds(a.cx,1),cy:ds(a.cy,1),r0:f,r:p,startAngle:s.startAngle,endAngle:s.endAngle,clockwise:s.clockwise}});if(n){var _=a.getBaseAxis().dim==="angle";_?h.shape.endAngle=s.startAngle:h.shape.r=f,dp(h,{shape:{endAngle:s.endAngle,r:p}},e)}return h}function LA(a,n,e,s,f){if(a){if(a.type==="polar")return b8(a,n,e);if(a.type==="cartesian2d")return y8(a,n,e,s,f)}else return null;return null}function P1(a,n){return a.type===n}function O8(a,n){if(a.length===n.length){for(var e=0;e<a.length;e++)if(a[e]!==n[e])return;return!0}}function C8(a){for(var n=Infinity,e=Infinity,s=-Infinity,f=-Infinity,p=0;p<a.length;){var h=a[p++],_=a[p++];isNaN(h)||(n=Math.min(h,n),s=Math.max(h,s)),isNaN(_)||(e=Math.min(_,e),f=Math.max(_,f))}return[[n,e],[s,f]]}function E8(a,n){var e=C8(a),s=e[0],f=e[1],p=C8(n),h=p[0],_=p[1];return Math.max(Math.abs(s[0]-h[0]),Math.abs(s[1]-h[1]),Math.abs(f[0]-_[0]),Math.abs(f[1]-_[1]))}function x8(a){return H.z(a)?a:a?.5:0}function YY(a,n,e){if(!e.valueDim)return[];for(var s=n.count(),f=U_(s*2),p=0;p<s;p++){var h=v8(e,a,n,p);f[p*2]=h[0],f[p*2+1]=h[1]}return f}function Yy(a,n,e,s){var f=n.getBaseAxis(),p=f.dim==="x"||f.dim==="radius"?0:1,h=[],_=0,M=[],L=[],z=[],Y=[];if(s){for(_=0;_<a.length;_+=2)!isNaN(a[_])&&!isNaN(a[_+1])&&Y.push(a[_],a[_+1]);a=Y}for(_=0;_<a.length-2;_+=2)switch(z[0]=a[_+2],z[1]=a[_+3],L[0]=a[_],L[1]=a[_+1],h.push(L[0],L[1]),e){case"end":M[p]=z[p],M[1-p]=L[1-p],h.push(M[0],M[1]);break;case"middle":var q=(L[p]+z[p])/2,se=[];M[p]=se[p]=q,M[1-p]=L[1-p],se[1-p]=z[1-p],h.push(M[0],M[1]),h.push(se[0],se[1]);break;default:M[p]=L[p],M[1-p]=z[1-p],h.push(M[0],M[1])}return h.push(a[_++],a[_++]),h}function XY(a,n){var e=[],s=a.length,f,p;function h(z,Y,q){var se=z.coord,ye=(q-se)/(Y.coord-se),je=Object(ml.b)(ye,[z.color,Y.color]);return{coord:q,color:je}}for(var _=0;_<s;_++){var M=a[_],L=M.coord;if(L<0)f=M;else if(L>n){p?e.push(h(p,M,n)):f&&e.push(h(f,M,0),h(f,M,n));break}else f&&(e.push(h(f,M,0)),f=null),e.push(M),p=M}return e}function JY(a,n,e){var s=a.getVisual("visualMeta");if(!(!s||!s.length||!a.count())&&n.type==="cartesian2d"){for(var f,p,h=s.length-1;h>=0;h--){var _=a.getDimensionInfo(s[h].dimension);if(f=_&&_.coordDim,f==="x"||f==="y"){p=s[h];break}}if(!!p){var M=n.getAxis(f),L=H.H(p.stops,function(dt){return{coord:M.toGlobalCoord(M.dataToCoord(dt.value)),color:dt.color}}),z=L.length,Y=p.outerColors.slice();z&&L[0].coord>L[z-1].coord&&(L.reverse(),Y.reverse());var q=XY(L,f==="x"?e.getWidth():e.getHeight()),se=q.length;if(!se&&z)return L[0].coord<0?Y[1]?Y[1]:L[z-1].color:Y[0]?Y[0]:L[0].color;var ye=10,je=q[0].coord-ye,De=q[se-1].coord+ye,We=De-je;if(We<.001)return"transparent";H.k(q,function(dt){dt.offset=(dt.coord-je)/We}),q.push({offset:se?q[se-1].offset:.5,color:Y[1]||"transparent"}),q.unshift({offset:se?q[0].offset:.5,color:Y[0]||"transparent"});var st=new h1(0,0,0,0,q,!0);return st[f]=je,st[f+"2"]=De,st}}}function ZY(a,n,e){var s=a.get("showAllSymbol"),f=s==="auto";if(!(s&&!f)){var p=e.getAxesByScale("ordinal")[0];if(!!p&&!(f&&QY(p,n))){var h=n.mapDimension(p.dim),_={};return H.k(p.getViewLabels(),function(M){var L=p.scale.getRawOrdinalNumber(M.tickValue);_[L]=1}),function(M){return!_.hasOwnProperty(n.get(h,M))}}}}function QY(a,n){var e=a.getExtent(),s=Math.abs(e[1]-e[0])/a.scale.count();isNaN(s)&&(s=0);for(var f=n.count(),p=Math.max(1,Math.round(f/5)),h=0;h<f;h+=p)if(gS.getSymbolSize(n,h)[a.isHorizontal()?1:0]*1.5>s)return!1;return!0}function qY(a,n){return isNaN(a)||isNaN(n)}function eX(a){for(var n=a.length/2;n>0&&qY(a[n*2-2],a[n*2-1]);n--);return n-1}function S8(a,n){return[a[n*2],a[n*2+1]]}function tX(a,n,e){for(var s=a.length/2,f=e==="x"?0:1,p,h,_=0,M=-1,L=0;L<s;L++)if(h=a[L*2+f],!(isNaN(h)||isNaN(a[L*2+1-f]))){if(L===0){p=h;continue}if(p<=n&&h>=n||p>=n&&h<=n){M=L;break}_=L,p=h}return{range:[_,M],t:(n-p)/(h-p)}}function w8(a){if(a.get(["endLabel","show"]))return!0;for(var n=0;n<ic.length;n++)if(a.get([ic[n],"endLabel","show"]))return!0;return!1}function VD(a,n,e,s){if(P1(n,"cartesian2d")){var f=s.getModel("endLabel"),p=f.get("valueAnimation"),h=s.getData(),_={lastFrameIndex:0},M=w8(s)?function(se,ye){a._endLabelOnDuring(se,ye,h,_,p,f,n)}:null,L=n.getBaseAxis().isHorizontal(),z=y8(n,e,s,function(){var se=a._endLabel;se&&e&&_.originalX!=null&&se.attr({x:_.originalX,y:_.originalY})},M);if(!s.get("clip",!0)){var Y=z.shape,q=Math.max(Y.width,Y.height);L?(Y.y-=q,Y.height+=q*2):(Y.x-=q,Y.width+=q*2)}return M&&M(1,z),z}else return b8(n,e,s)}function N0(a,n){var e=n.getBaseAxis(),s=e.isHorizontal(),f=e.inverse,p=s?f?"right":"left":"center",h=s?"middle":f?"top":"bottom";return{normal:{align:a.get("align")||p,verticalAlign:a.get("verticalAlign")||h}}}var nX=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.init=function(){var e=new _s,s=new mS;this.group.add(s.group),this._symbolDraw=s,this._lineGroup=e},n.prototype.render=function(e,s,f){var p=this,h=e.coordinateSystem,_=this.group,M=e.getData(),L=e.getModel("lineStyle"),z=e.getModel("areaStyle"),Y=M.getLayout("points")||[],q=h.type==="polar",se=this._coordSys,ye=this._symbolDraw,je=this._polyline,De=this._polygon,We=this._lineGroup,st=!s.ssr&&e.isAnimationEnabled(),dt=!z.isEmpty(),Mt=z.get("origin"),nn=p8(h,M,Mt),rn=dt&&YY(h,M,nn),Cn=e.get("showSymbol"),er=e.get("connectNulls"),ir=Cn&&!q&&ZY(e,M,h),dr=this._data;dr&&dr.eachItemGraphicEl(function(yd,Ku){yd.__temp&&(_.remove(yd),dr.setItemGraphicEl(Ku,null))}),Cn||ye.remove(),_.add(We);var pr=q?!1:e.get("step"),ia;h&&h.getArea&&e.get("clip",!0)&&(ia=h.getArea(),ia.width!=null?(ia.x-=.1,ia.y-=.1,ia.width+=.2,ia.height+=.2):ia.r0&&(ia.r0-=.5,ia.r+=.5)),this._clipShapeForSymbol=ia;var pa=JY(M,h,f)||M.getVisual("style")[M.getVisual("drawType")];if(!(je&&se.type===h.type&&pr===this._step))Cn&&ye.updateData(M,{isIgnore:ir,clipShape:ia,disableAnimation:!0,getSymbolPoint:function(yd){return[Y[yd*2],Y[yd*2+1]]}}),st&&this._initSymbolLabelAnimation(M,h,ia),pr&&(Y=Yy(Y,h,pr,er),rn&&(rn=Yy(rn,h,pr,er))),je=this._newPolyline(Y),dt?De=this._newPolygon(Y,rn):De&&(We.remove(De),De=this._polygon=null),q||this._initOrUpdateEndLabel(e,h,E0(pa)),We.setClipPath(VD(this,h,!0,e));else{dt&&!De?De=this._newPolygon(Y,rn):De&&!dt&&(We.remove(De),De=this._polygon=null),q||this._initOrUpdateEndLabel(e,h,E0(pa));var Ga=We.getClipPath();if(Ga){var si=VD(this,h,!1,e);dp(Ga,{shape:si.shape},e)}else We.setClipPath(VD(this,h,!0,e));Cn&&ye.updateData(M,{isIgnore:ir,clipShape:ia,disableAnimation:!0,getSymbolPoint:function(yd){return[Y[yd*2],Y[yd*2+1]]}}),(!O8(this._stackedOnPoints,rn)||!O8(this._points,Y))&&(st?this._doUpdateAnimation(M,rn,h,f,pr,Mt,er):(pr&&(Y=Yy(Y,h,pr,er),rn&&(rn=Yy(rn,h,pr,er))),je.setShape({points:Y}),De&&De.setShape({points:Y,stackedOnPoints:rn})))}var Bi=e.getModel("emphasis"),Go=Bi.get("focus"),Lo=Bi.get("blurScope"),Rs=Bi.get("disabled");if(je.useStyle(H.i(L.getLineStyle(),{fill:"none",stroke:pa,lineJoin:"bevel"})),Qv(je,e,"lineStyle"),je.style.lineWidth>0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var Ns=je.getState("emphasis").style;Ns.lineWidth=+je.style.lineWidth+1}sc(je).seriesIndex=e.seriesIndex,Wp(je,Go,Lo,Rs);var Ds=x8(e.get("smooth")),yc=e.get("smoothMonotone");if(je.setShape({smooth:Ds,smoothMonotone:yc,connectNulls:er}),De){var Zc=M.getCalculationInfo("stackedOnSeries"),$c=0;De.useStyle(H.i(z.getAreaStyle(),{fill:pa,opacity:.7,lineJoin:"bevel",decal:M.getVisual("style").decal})),Zc&&($c=x8(Zc.get("smooth"))),De.setShape({smooth:Ds,stackedOnSmooth:$c,smoothMonotone:yc,connectNulls:er}),Qv(De,e,"areaStyle"),sc(De).seriesIndex=e.seriesIndex,Wp(De,Go,Lo,Rs)}var Nu=function(yd){p._changePolyState(yd)};M.eachItemGraphicEl(function(yd){yd&&(yd.onHoverStateChange=Nu)}),this._polyline.onHoverStateChange=Nu,this._data=M,this._coordSys=h,this._stackedOnPoints=rn,this._points=Y,this._step=pr,this._valueOrigin=Mt,e.get("triggerLineEvent")&&(this.packEventData(e,je),De&&this.packEventData(e,De))},n.prototype.packEventData=function(e,s){sc(s).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},n.prototype.highlight=function(e,s,f,p){var h=e.getData(),_=Gu(h,p);if(this._changePolyState("emphasis"),!(_ instanceof Array)&&_!=null&&_>=0){var M=h.getLayout("points"),L=h.getItemGraphicEl(_);if(!L){var z=M[_*2],Y=M[_*2+1];if(isNaN(z)||isNaN(Y)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(z,Y))return;var q=e.get("zlevel")||0,se=e.get("z")||0;L=new gS(h,_),L.x=z,L.y=Y,L.setZ(q,se);var ye=L.getSymbolPath().getTextContent();ye&&(ye.zlevel=q,ye.z=se,ye.z2=this._polyline.z2+1),L.__temp=!0,h.setItemGraphicEl(_,L),L.stopSymbolAnimation(!0),this.group.add(L)}L.highlight()}else np.prototype.highlight.call(this,e,s,f,p)},n.prototype.downplay=function(e,s,f,p){var h=e.getData(),_=Gu(h,p);if(this._changePolyState("normal"),_!=null&&_>=0){var M=h.getItemGraphicEl(_);M&&(M.__temp?(h.setItemGraphicEl(_,null),this.group.remove(M)):M.downplay())}else np.prototype.downplay.call(this,e,s,f,p)},n.prototype._changePolyState=function(e){var s=this._polygon;m0(this._polyline,e),s&&m0(s,e)},n.prototype._newPolyline=function(e){var s=this._polyline;return s&&this._lineGroup.remove(s),s=new KY({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(s),this._polyline=s,s},n.prototype._newPolygon=function(e,s){var f=this._polygon;return f&&this._lineGroup.remove(f),f=new _8({shape:{points:e,stackedOnPoints:s},segmentIgnoreThreshold:2}),this._lineGroup.add(f),this._polygon=f,f},n.prototype._initSymbolLabelAnimation=function(e,s,f){var p,h,_=s.getBaseAxis(),M=_.inverse;s.type==="cartesian2d"?(p=_.isHorizontal(),h=!1):s.type==="polar"&&(p=_.dim==="angle",h=!0);var L=e.hostModel,z=L.get("animationDuration");H.w(z)&&(z=z(null));var Y=L.get("animationDelay")||0,q=H.w(Y)?Y(null):Y;e.eachItemGraphicEl(function(se,ye){var je=se;if(je){var De=[se.x,se.y],We=void 0,st=void 0,dt=void 0;if(f)if(h){var Mt=f,nn=s.pointToCoord(De);p?(We=Mt.startAngle,st=Mt.endAngle,dt=-nn[1]/180*Math.PI):(We=Mt.r0,st=Mt.r,dt=nn[0])}else{var rn=f;p?(We=rn.x,st=rn.x+rn.width,dt=se.x):(We=rn.y+rn.height,st=rn.y,dt=se.y)}var Cn=st===We?0:(dt-We)/(st-We);M&&(Cn=1-Cn);var er=H.w(Y)?Y(ye):z*Cn+q,ir=je.getSymbolPath(),dr=ir.getTextContent();je.attr({scaleX:0,scaleY:0}),je.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:er}),dr&&dr.animateFrom({style:{opacity:0}},{duration:300,delay:er}),ir.disableLabelAnimation=!0}})},n.prototype._initOrUpdateEndLabel=function(e,s,f){var p=e.getModel("endLabel");if(w8(e)){var h=e.getData(),_=this._polyline,M=h.getLayout("points");if(!M){_.removeTextContent(),this._endLabel=null;return}var L=this._endLabel;L||(L=this._endLabel=new Ho({z2:200}),L.ignoreClip=!0,_.setTextContent(this._endLabel),_.disableLabelAnimation=!0);var z=eX(M);z>=0&&(Wf(_,_f(e,"endLabel"),{inheritColor:f,labelFetcher:e,labelDataIndex:z,defaultText:function(Y,q,se){return se!=null?u8(h,se):yC(h,Y)},enableTextSetter:!0},N0(p,s)),_.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},n.prototype._endLabelOnDuring=function(e,s,f,p,h,_,M){var L=this._endLabel,z=this._polyline;if(L){e<1&&p.originalX==null&&(p.originalX=L.x,p.originalY=L.y);var Y=f.getLayout("points"),q=f.hostModel,se=q.get("connectNulls"),ye=_.get("precision"),je=_.get("distance")||0,De=M.getBaseAxis(),We=De.isHorizontal(),st=De.inverse,dt=s.shape,Mt=st?We?dt.x:dt.y+dt.height:We?dt.x+dt.width:dt.y,nn=(We?je:0)*(st?-1:1),rn=(We?0:-je)*(st?-1:1),Cn=We?"x":"y",er=tX(Y,Mt,Cn),ir=er.range,dr=ir[1]-ir[0],pr=void 0;if(dr>=1){if(dr>1&&!se){var ia=S8(Y,ir[0]);L.attr({x:ia[0]+nn,y:ia[1]+rn}),h&&(pr=q.getRawValue(ir[0]))}else{var ia=z.getPointOn(Mt,Cn);ia&&L.attr({x:ia[0]+nn,y:ia[1]+rn});var pa=q.getRawValue(ir[0]),Ga=q.getRawValue(ir[1]);h&&(pr=vp(f,ye,pa,Ga,er.t))}p.lastFrameIndex=ir[0]}else{var si=e===1||p.lastFrameIndex>0?ir[0]:0,ia=S8(Y,si);h&&(pr=q.getRawValue(si)),L.attr({x:ia[0]+nn,y:ia[1]+rn})}h&&Vh(L).setLabelText(pr)}},n.prototype._doUpdateAnimation=function(e,s,f,p,h,_,M){var L=this._polyline,z=this._polygon,Y=e.hostModel,q=WY(this._data,e,this._stackedOnPoints,s,this._coordSys,f,this._valueOrigin,_),se=q.current,ye=q.stackedOnCurrent,je=q.next,De=q.stackedOnNext;if(h&&(se=Yy(q.current,f,h,M),ye=Yy(q.stackedOnCurrent,f,h,M),je=Yy(q.next,f,h,M),De=Yy(q.stackedOnNext,f,h,M)),E8(se,je)>3e3||z&&E8(ye,De)>3e3){L.stopAnimation(),L.setShape({points:je}),z&&(z.stopAnimation(),z.setShape({points:je,stackedOnPoints:De}));return}L.shape.__points=q.current,L.shape.points=se;var We={shape:{points:je}};q.current!==se&&(We.shape.__points=q.next),L.stopAnimation(),pf(L,We,Y),z&&(z.setShape({points:se,stackedOnPoints:ye}),z.stopAnimation(),pf(z,{shape:{stackedOnPoints:De}},Y),L.shape.points!==z.shape.points&&(z.shape.points=L.shape.points));for(var st=[],dt=q.status,Mt=0;Mt<dt.length;Mt++){var nn=dt[Mt].cmd;if(nn==="="){var rn=e.getItemGraphicEl(dt[Mt].idx1);rn&&st.push({el:rn,ptIdx:Mt})}}L.animators&&L.animators.length&&L.animators[0].during(function(){z&&z.dirtyShape();for(var Cn=L.shape.__points,er=0;er<st.length;er++){var ir=st[er].el,dr=st[er].ptIdx*2;ir.x=Cn[dr],ir.y=Cn[dr+1],ir.markRedraw()}})},n.prototype.remove=function(e){var s=this.group,f=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),f&&f.eachItemGraphicEl(function(p,h){p.__temp&&(s.remove(p),f.setItemGraphicEl(h,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},n.type="line",n}(np),rX=nX;function _S(a,n){return{seriesType:a,plan:XO(),reset:function(e){var s=e.getData(),f=e.coordinateSystem,p=e.pipelineContext,h=n||p.large;if(!!f){var _=Object(H.H)(f.dimensions,function(se){return s.mapDimension(se)}).slice(0,2),M=_.length,L=s.getCalculationInfo("stackResultDimension");$y(s,_[0])&&(_[0]=L),$y(s,_[1])&&(_[1]=L);var z=s.getStore(),Y=s.getDimensionIndex(_[0]),q=s.getDimensionIndex(_[1]);return M&&{progress:function(se,ye){for(var je=se.end-se.start,De=h&&U_(je*M),We=[],st=[],dt=se.start,Mt=0;dt<se.end;dt++){var nn=void 0;if(M===1){var rn=z.get(Y,dt);nn=f.dataToPoint(rn,null,st)}else We[0]=z.get(Y,dt),We[1]=z.get(q,dt),nn=f.dataToPoint(We,null,st);h?(De[Mt++]=nn[0],De[Mt++]=nn[1]):ye.setItemLayout(dt,nn.slice())}h&&ye.setLayout("points",De)}}}}}}var zD={average:function(a){for(var n=0,e=0,s=0;s<a.length;s++)isNaN(a[s])||(n+=a[s],e++);return e===0?NaN:n/e},sum:function(a){for(var n=0,e=0;e<a.length;e++)n+=a[e]||0;return n},max:function(a){for(var n=-Infinity,e=0;e<a.length;e++)a[e]>n&&(n=a[e]);return isFinite(n)?n:NaN},min:function(a){for(var n=Infinity,e=0;e<a.length;e++)a[e]<n&&(n=a[e]);return isFinite(n)?n:NaN},nearest:function(a){return a[0]}},T8=function(a){return Math.round(a.length/2)};function A8(a){return{seriesType:a,reset:function(n,e,s){var f=n.getData(),p=n.get("sampling"),h=n.coordinateSystem,_=f.count();if(_>10&&h.type==="cartesian2d"&&p){var M=h.getBaseAxis(),L=h.getOtherAxis(M),z=M.getExtent(),Y=s.getDevicePixelRatio(),q=Math.abs(z[1]-z[0])*(Y||1),se=Math.round(_/q);if(isFinite(se)&&se>1){p==="lttb"&&n.setData(f.lttbDownSample(f.mapDimension(L.dim),1/se));var ye=void 0;Object(H.C)(p)?ye=zD[p]:Object(H.w)(p)&&(ye=p),ye&&n.setData(f.downSample(f.mapDimension(L.dim),1/se,ye,T8))}}}}}function HD(a){a.registerChartView(rX),a.registerSeriesModel(BY),a.registerLayout(_S("line",!0)),a.registerVisual({seriesType:"line",reset:function(n){var e=n.getData(),s=n.getModel("lineStyle").getLineStyle();s&&!s.stroke&&(s.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",s)}}),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,A8("line"))}var GD="__ec_stack_";function FA(a){return a.get("stack")||GD+a.seriesIndex}function $D(a){return a.dim+a.index}function k8(a){var n=[],e=a.axis,s="axis0";if(e.type==="category"){for(var f=e.getBandWidth(),p=0;p<a.count;p++)n.push(Object(H.i)({bandWidth:f,axisKey:s,stackId:GD+p},a));for(var h=M8(n),_=[],p=0;p<a.count;p++){var M=h[s][GD+p];M.offsetCenter=M.offset+M.width/2,_.push(M)}return _}}function WD(a,n){var e=[];return n.eachSeriesByType(a,function(s){R8(s)&&e.push(s)}),e}function aX(a){var n={};Object(H.k)(a,function(M){var L=M.coordinateSystem,z=L.getBaseAxis();if(!(z.type!=="time"&&z.type!=="value"))for(var Y=M.getData(),q=z.dim+"_"+z.index,se=Y.getDimensionIndex(Y.mapDimension(z.dim)),ye=Y.getStore(),je=0,De=ye.count();je<De;++je){var We=ye.get(se,je);n[q]?n[q].push(We):n[q]=[We]}});var e={};for(var s in n)if(n.hasOwnProperty(s)){var f=n[s];if(f){f.sort(function(M,L){return M-L});for(var p=null,h=1;h<f.length;++h){var _=f[h]-f[h-1];_>0&&(p=p===null?_:Math.min(p,_))}e[s]=p}}return e}function j8(a){var n=aX(a),e=[];return Object(H.k)(a,function(s){var f=s.coordinateSystem,p=f.getBaseAxis(),h=p.getExtent(),_;if(p.type==="category")_=p.getBandWidth();else if(p.type==="value"||p.type==="time"){var M=p.dim+"_"+p.index,L=n[M],z=Math.abs(h[1]-h[0]),Y=p.scale.getExtent(),q=Math.abs(Y[1]-Y[0]);_=L?z/q*L:z}else{var se=s.getData();_=Math.abs(h[1]-h[0])/se.count()}var ye=Mi(s.get("barWidth"),_),je=Mi(s.get("barMaxWidth"),_),De=Mi(s.get("barMinWidth")||(D8(s)?.5:1),_),We=s.get("barGap"),st=s.get("barCategoryGap");e.push({bandWidth:_,barWidth:ye,barMaxWidth:je,barMinWidth:De,barGap:We,barCategoryGap:st,axisKey:$D(p),stackId:FA(s)})}),M8(e)}function M8(a){var n={};Object(H.k)(a,function(s,f){var p=s.axisKey,h=s.bandWidth,_=n[p]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},M=_.stacks;n[p]=_;var L=s.stackId;M[L]||_.autoWidthCount++,M[L]=M[L]||{width:0,maxWidth:0};var z=s.barWidth;z&&!M[L].width&&(M[L].width=z,z=Math.min(_.remainedWidth,z),_.remainedWidth-=z);var Y=s.barMaxWidth;Y&&(M[L].maxWidth=Y);var q=s.barMinWidth;q&&(M[L].minWidth=q);var se=s.barGap;se!=null&&(_.gap=se);var ye=s.barCategoryGap;ye!=null&&(_.categoryGap=ye)});var e={};return Object(H.k)(n,function(s,f){e[f]={};var p=s.stacks,h=s.bandWidth,_=s.categoryGap;if(_==null){var M=Object(H.F)(p).length;_=Math.max(35-M*4,15)+"%"}var L=Mi(_,h),z=Mi(s.gap,1),Y=s.remainedWidth,q=s.autoWidthCount,se=(Y-L)/(q+(q-1)*z);se=Math.max(se,0),Object(H.k)(p,function(We){var st=We.maxWidth,dt=We.minWidth;if(We.width){var Mt=We.width;st&&(Mt=Math.min(Mt,st)),dt&&(Mt=Math.max(Mt,dt)),We.width=Mt,Y-=Mt+z*Mt,q--}else{var Mt=se;st&&st<Mt&&(Mt=Math.min(st,Y)),dt&&dt>Mt&&(Mt=dt),Mt!==se&&(We.width=Mt,Y-=Mt+z*Mt,q--)}}),se=(Y-L)/(q+(q-1)*z),se=Math.max(se,0);var ye=0,je;Object(H.k)(p,function(We,st){We.width||(We.width=se),je=We,ye+=We.width*(1+z)}),je&&(ye-=je.width*z);var De=-ye/2;Object(H.k)(p,function(We,st){e[f][st]=e[f][st]||{bandWidth:h,offset:De,width:We.width},De+=We.width*(1+z)})}),e}function KD(a,n,e){if(a&&n){var s=a[$D(n)];return s!=null&&e!=null?s[FA(e)]:s}}function P8(a,n){var e=WD(a,n),s=j8(e);Object(H.k)(e,function(f){var p=f.getData(),h=f.coordinateSystem,_=h.getBaseAxis(),M=FA(f),L=s[$D(_)][M],z=L.offset,Y=L.width;p.setLayout({bandWidth:L.bandWidth,offset:z,size:Y})})}function YD(a){return{seriesType:a,plan:XO(),reset:function(n){if(!!R8(n)){var e=n.getData(),s=n.coordinateSystem,f=s.getBaseAxis(),p=s.getOtherAxis(f),h=e.getDimensionIndex(e.mapDimension(p.dim)),_=e.getDimensionIndex(e.mapDimension(f.dim)),M=n.get("showBackground",!0),L=e.mapDimension(p.dim),z=e.getCalculationInfo("stackResultDimension"),Y=$y(e,L)&&!!e.getCalculationInfo("stackedOnSeries"),q=p.isHorizontal(),se=iX(f,p),ye=D8(n),je=n.get("barMinHeight")||0,De=z&&e.getDimensionIndex(z),We=e.getLayout("size"),st=e.getLayout("offset");return{progress:function(dt,Mt){for(var nn=dt.count,rn=ye&&U_(nn*3),Cn=ye&&M&&U_(nn*3),er=ye&&U_(nn),ir=s.master.getRect(),dr=q?ir.width:ir.height,pr,ia=Mt.getStore(),pa=0;(pr=dt.next())!=null;){var Ga=ia.get(Y?De:h,pr),si=ia.get(_,pr),Bi=se,Go=void 0;Y&&(Go=+Ga-ia.get(h,pr));var Lo=void 0,Rs=void 0,Ns=void 0,Ds=void 0;if(q){var yc=s.dataToPoint([Ga,si]);if(Y){var Zc=s.dataToPoint([Go,si]);Bi=Zc[0]}Lo=Bi,Rs=yc[1]+st,Ns=yc[0]-Bi,Ds=We,Math.abs(Ns)<je&&(Ns=(Ns<0?-1:1)*je)}else{var yc=s.dataToPoint([si,Ga]);if(Y){var Zc=s.dataToPoint([si,Go]);Bi=Zc[1]}Lo=yc[0]+st,Rs=Bi,Ns=We,Ds=yc[1]-Bi,Math.abs(Ds)<je&&(Ds=(Ds<=0?-1:1)*je)}ye?(rn[pa]=Lo,rn[pa+1]=Rs,rn[pa+2]=q?Ns:Ds,Cn&&(Cn[pa]=q?ir.x:Lo,Cn[pa+1]=q?Rs:ir.y,Cn[pa+2]=dr),er[pr]=pr):Mt.setItemLayout(pr,{x:Lo,y:Rs,width:Ns,height:Ds}),pa+=3}ye&&Mt.setLayout({largePoints:rn,largeDataIndices:er,largeBackgroundPoints:Cn,valueAxisHorizontal:q})}}}}}}function R8(a){return a.coordinateSystem&&a.coordinateSystem.type==="cartesian2d"}function D8(a){return a.pipelineContext&&a.pipelineContext.large}function iX(a,n){return n.toGlobalCoord(n.dataToCoord(n.type==="log"?1:0))}var XD=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.getInitialData=function(e,s){return I0(null,this,{useEncodeDefaulter:!0})},n.prototype.getMarkerPosition=function(e,s,f){var p=this.coordinateSystem;if(p&&p.clampData){var h=p.clampData(e),_=p.dataToPoint(h);if(f)Object(H.k)(p.getAxes(),function(q,se){if(q.type==="category"&&s!=null){var ye=q.getTicksCoords(),je=h[se],De=s[se]==="x1"||s[se]==="y1";if(De&&(je+=1),ye.length<2)return;if(ye.length===2){_[se]=q.toGlobalCoord(q.getExtent()[De?1:0]);return}for(var We=void 0,st=void 0,dt=1,Mt=0;Mt<ye.length;Mt++){var nn=ye[Mt].coord,rn=Mt===ye.length-1?ye[Mt-1].tickValue+dt:ye[Mt].tickValue;if(rn===je){st=nn;break}else if(rn<je)We=nn;else if(We!=null&&rn>je){st=(nn+We)/2;break}Mt===1&&(dt=rn-ye[0].tickValue)}st==null&&(We?We&&(st=ye[ye.length-1].coord):st=ye[0].coord),_[se]=q.toGlobalCoord(st)}});else{var M=this.getData(),L=M.getLayout("offset"),z=M.getLayout("size"),Y=p.getBaseAxis().isHorizontal()?0:1;_[Y]+=L+z/2}return _}return[NaN,NaN]},n.type="series.__base_bar__",n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},n}(mp);mp.registerClass(XD);var UA=XD,oX=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.getInitialData=function(){return I0(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},n.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},n.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),s=this.get("largeThreshold");return s>e&&(e=s),e},n.prototype.brushSelector=function(e,s,f){return f.rect(s.getItemLayout(e))},n.type="series.bar",n.dependencies=["grid","polar"],n.defaultOption=w_(UA.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),n}(UA),sX=oX,JD=function(){function a(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return a}(),cX=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="sausage",s}return n.prototype.getDefaultShape=function(){return new JD},n.prototype.buildPath=function(e,s){var f=s.cx,p=s.cy,h=Math.max(s.r0||0,0),_=Math.max(s.r,0),M=(_-h)*.5,L=h+M,z=s.startAngle,Y=s.endAngle,q=s.clockwise,se=Math.PI*2,ye=q?Y-z<se:z-Y<se;ye||(z=Y-(q?se:-se));var je=Math.cos(z),De=Math.sin(z),We=Math.cos(Y),st=Math.sin(Y);ye?(e.moveTo(je*h+f,De*h+p),e.arc(je*L+f,De*L+p,M,-Math.PI+z,z,!q)):e.moveTo(je*_+f,De*_+p),e.arc(f,p,_,z,Y,!q),e.arc(We*L+f,st*L+p,M,Y-Math.PI*2,Y-Math.PI,!q),h!==0&&e.arc(f,p,h,Y,z,q)},n}(Ti),bC=cX;function lX(a,n){n=n||{};var e=n.isRoundCap;return function(s,f,p){var h=f.position;if(!h||h instanceof Array)return Lu(s,f,p);var _=a(h),M=f.distance!=null?f.distance:5,L=this.shape,z=L.cx,Y=L.cy,q=L.r,se=L.r0,ye=(q+se)/2,je=L.startAngle,De=L.endAngle,We=(je+De)/2,st=e?Math.abs(q-se)/2:0,dt=Math.cos,Mt=Math.sin,nn=z+q*dt(je),rn=Y+q*Mt(je),Cn="left",er="top";switch(_){case"startArc":nn=z+(se-M)*dt(We),rn=Y+(se-M)*Mt(We),Cn="center",er="top";break;case"insideStartArc":nn=z+(se+M)*dt(We),rn=Y+(se+M)*Mt(We),Cn="center",er="bottom";break;case"startAngle":nn=z+ye*dt(je)+BA(je,M+st,!1),rn=Y+ye*Mt(je)+VA(je,M+st,!1),Cn="right",er="middle";break;case"insideStartAngle":nn=z+ye*dt(je)+BA(je,-M+st,!1),rn=Y+ye*Mt(je)+VA(je,-M+st,!1),Cn="left",er="middle";break;case"middle":nn=z+ye*dt(We),rn=Y+ye*Mt(We),Cn="center",er="middle";break;case"endArc":nn=z+(q+M)*dt(We),rn=Y+(q+M)*Mt(We),Cn="center",er="bottom";break;case"insideEndArc":nn=z+(q-M)*dt(We),rn=Y+(q-M)*Mt(We),Cn="center",er="top";break;case"endAngle":nn=z+ye*dt(De)+BA(De,M+st,!0),rn=Y+ye*Mt(De)+VA(De,M+st,!0),Cn="left",er="middle";break;case"insideEndAngle":nn=z+ye*dt(De)+BA(De,-M+st,!0),rn=Y+ye*Mt(De)+VA(De,-M+st,!0),Cn="right",er="middle";break;default:return Lu(s,f,p)}return s=s||{},s.x=nn,s.y=rn,s.align=Cn,s.verticalAlign=er,s}}function R1(a,n,e,s){if(Object(H.z)(s)){a.setTextConfig({rotation:s});return}else if(Object(H.t)(n)){a.setTextConfig({rotation:0});return}var f=a.shape,p=f.clockwise?f.startAngle:f.endAngle,h=f.clockwise?f.endAngle:f.startAngle,_=(p+h)/2,M,L=e(n);switch(L){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":M=_;break;case"startAngle":case"insideStartAngle":M=p;break;case"endAngle":case"insideEndAngle":M=h;break;default:a.setTextConfig({rotation:0});return}var z=Math.PI*1.5-M;L==="middle"&&z>Math.PI/2&&z<Math.PI*1.5&&(z-=Math.PI),a.setTextConfig({rotation:z})}function BA(a,n,e){return n*Math.sin(a)*(e?-1:1)}function VA(a,n,e){return n*Math.cos(a)*(e?1:-1)}function D1(a,n,e){var s=a.get("borderRadius");if(s==null)return e?{cornerRadius:0}:null;Object(H.t)(s)||(s=[s,s,s,s]);var f=Math.abs(n.r||0-n.r0||0);return{cornerRadius:Object(H.H)(s,function(p){return Od(p,f)})}}var ZD=Math.max,zA=Math.min;function QD(a,n){var e=a.getArea&&a.getArea();if(P1(a,"cartesian2d")){var s=a.getBaseAxis();if(s.type!=="category"||!s.onBand){var f=n.getLayout("bandWidth");s.isHorizontal()?(e.x-=f,e.width+=f*2):(e.y-=f,e.height+=f*2)}}return e}var uX=function(a){Qe(n,a);function n(){var e=a.call(this)||this;return e.type=n.type,e._isFirstFrame=!0,e}return n.prototype.render=function(e,s,f,p){this._model=e,this._removeOnRenderedListener(f),this._updateDrawMode(e);var h=e.get("coordinateSystem");(h==="cartesian2d"||h==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,s,f):this._renderNormal(e,s,f,p))},n.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},n.prototype.incrementalRender=function(e,s){this._progressiveEls=[],this._incrementalRenderLarge(e,s)},n.prototype.eachRendered=function(e){Fy(this._progressiveEls||this.group,e)},n.prototype._updateDrawMode=function(e){var s=e.pipelineContext.large;(this._isLargeDraw==null||s!==this._isLargeDraw)&&(this._isLargeDraw=s,this._clear())},n.prototype._renderNormal=function(e,s,f,p){var h=this.group,_=e.getData(),M=this._data,L=e.coordinateSystem,z=L.getBaseAxis(),Y;L.type==="cartesian2d"?Y=z.isHorizontal():L.type==="polar"&&(Y=z.dim==="angle");var q=e.isAnimationEnabled()?e:null,se=dX(e,L);se&&this._enableRealtimeSort(se,_,f);var ye=e.get("clip",!0)||se,je=QD(L,_);h.removeClipPath();var De=e.get("roundCap",!0),We=e.get("showBackground",!0),st=e.getModel("backgroundStyle"),dt=st.get("borderRadius")||0,Mt=[],nn=this._backgroundEls,rn=p&&p.isInitSort,Cn=p&&p.type==="changeAxisOrder";function er(pr){var ia=HA[L.type](_,pr),pa=_X(L,Y,ia);return pa.useStyle(st.getItemStyle()),L.type==="cartesian2d"?pa.setShape("r",dt):pa.setShape("cornerRadius",dt),Mt[pr]=pa,pa}_.diff(M).add(function(pr){var ia=_.getItemModel(pr),pa=HA[L.type](_,pr,ia);if(We&&er(pr),!(!_.hasValue(pr)||!F8[L.type](pa))){var Ga=!1;ye&&(Ga=yS[L.type](je,pa));var si=I8[L.type](e,_,pr,pa,Y,q,z.model,!1,De);se&&(si.forceLabelAnimation=!0),B8(si,_,pr,ia,pa,e,Y,L.type==="polar"),rn?si.attr({shape:pa}):se?N8(se,q,si,pa,pr,Y,!1,!1):dp(si,{shape:pa},e,pr),_.setItemGraphicEl(pr,si),h.add(si),si.ignore=Ga}}).update(function(pr,ia){var pa=_.getItemModel(pr),Ga=HA[L.type](_,pr,pa);if(We){var si=void 0;nn.length===0?si=er(ia):(si=nn[ia],si.useStyle(st.getItemStyle()),L.type==="cartesian2d"?si.setShape("r",dt):si.setShape("cornerRadius",dt),Mt[pr]=si);var Bi=HA[L.type](_,pr),Go=G8(Y,Bi,L);pf(si,{shape:Go},q,pr)}var Lo=M.getItemGraphicEl(ia);if(!_.hasValue(pr)||!F8[L.type](Ga)){h.remove(Lo);return}var Rs=!1;if(ye&&(Rs=yS[L.type](je,Ga),Rs&&h.remove(Lo)),Lo?Ug(Lo):Lo=I8[L.type](e,_,pr,Ga,Y,q,z.model,!!Lo,De),se&&(Lo.forceLabelAnimation=!0),Cn){var Ns=Lo.getTextContent();if(Ns){var Ds=Vh(Ns);Ds.prevValue!=null&&(Ds.prevValue=Ds.value)}}else B8(Lo,_,pr,pa,Ga,e,Y,L.type==="polar");rn?Lo.attr({shape:Ga}):se?N8(se,q,Lo,Ga,pr,Y,!0,Cn):pf(Lo,{shape:Ga},e,pr,null),_.setItemGraphicEl(pr,Lo),Lo.ignore=Rs,h.add(Lo)}).remove(function(pr){var ia=M.getItemGraphicEl(pr);ia&&Dp(ia,e,pr)}).execute();var ir=this._backgroundGroup||(this._backgroundGroup=new _s);ir.removeAll();for(var dr=0;dr<Mt.length;++dr)ir.add(Mt[dr]);h.add(ir),this._backgroundEls=Mt,this._data=_},n.prototype._renderLarge=function(e,s,f){this._clear(),z8(e,this.group),this._updateLargeClip(e)},n.prototype._incrementalRenderLarge=function(e,s){this._removeBackground(),z8(s,this.group,this._progressiveEls,!0)},n.prototype._updateLargeClip=function(e){var s=e.get("clip",!0)&&LA(e.coordinateSystem,!1,e),f=this.group;s?f.setClipPath(s):f.removeClipPath()},n.prototype._enableRealtimeSort=function(e,s,f){var p=this;if(!!s.count()){var h=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(s,e,f),this._isFirstFrame=!1;else{var _=function(M){var L=s.getItemGraphicEl(M),z=L&&L.shape;return z&&Math.abs(h.isHorizontal()?z.height:z.width)||0};this._onRendered=function(){p._updateSortWithinSameData(s,_,h,f)},f.getZr().on("rendered",this._onRendered)}}},n.prototype._dataSort=function(e,s,f){var p=[];return e.each(e.mapDimension(s.dim),function(h,_){var M=f(_);M=M==null?NaN:M,p.push({dataIndex:_,mappedValue:M,ordinalNumber:h})}),p.sort(function(h,_){return _.mappedValue-h.mappedValue}),{ordinalNumbers:Object(H.H)(p,function(h){return h.ordinalNumber})}},n.prototype._isOrderChangedWithinSameData=function(e,s,f){for(var p=f.scale,h=e.mapDimension(f.dim),_=Number.MAX_VALUE,M=0,L=p.getOrdinalMeta().categories.length;M<L;++M){var z=e.rawIndexOf(h,p.getRawOrdinalNumber(M)),Y=z<0?Number.MIN_VALUE:s(e.indexOfRawIndex(z));if(Y>_)return!0;_=Y}return!1},n.prototype._isOrderDifferentInView=function(e,s){for(var f=s.scale,p=f.getExtent(),h=Math.max(0,p[0]),_=Math.min(p[1],f.getOrdinalMeta().categories.length-1);h<=_;++h)if(e.ordinalNumbers[h]!==f.getRawOrdinalNumber(h))return!0},n.prototype._updateSortWithinSameData=function(e,s,f,p){if(!!this._isOrderChangedWithinSameData(e,s,f)){var h=this._dataSort(e,f,s);this._isOrderDifferentInView(h,f)&&(this._removeOnRenderedListener(p),p.dispatchAction({type:"changeAxisOrder",componentType:f.dim+"Axis",axisId:f.index,sortInfo:h}))}},n.prototype._dispatchInitSort=function(e,s,f){var p=s.baseAxis,h=this._dataSort(e,p,function(_){return e.get(e.mapDimension(s.otherAxis.dim),_)});f.dispatchAction({type:"changeAxisOrder",componentType:p.dim+"Axis",isInitSort:!0,axisId:p.index,sortInfo:h})},n.prototype.remove=function(e,s){this._clear(this._model),this._removeOnRenderedListener(s)},n.prototype.dispose=function(e,s){this._removeOnRenderedListener(s)},n.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},n.prototype._clear=function(e){var s=this.group,f=this._data;e&&e.isAnimationEnabled()&&f&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],f.eachItemGraphicEl(function(p){Dp(p,e,sc(p).dataIndex)})):s.removeAll(),this._data=null,this._isFirstFrame=!0},n.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},n.type="bar",n}(np),yS={cartesian2d:function(a,n){var e=n.width<0?-1:1,s=n.height<0?-1:1;e<0&&(n.x+=n.width,n.width=-n.width),s<0&&(n.y+=n.height,n.height=-n.height);var f=a.x+a.width,p=a.y+a.height,h=ZD(n.x,a.x),_=zA(n.x+n.width,f),M=ZD(n.y,a.y),L=zA(n.y+n.height,p),z=_<h,Y=L<M;return n.x=z&&h>f?_:h,n.y=Y&&M>p?L:M,n.width=z?0:_-h,n.height=Y?0:L-M,e<0&&(n.x+=n.width,n.width=-n.width),s<0&&(n.y+=n.height,n.height=-n.height),z||Y},polar:function(a,n){var e=n.r0<=n.r?1:-1;if(e<0){var s=n.r;n.r=n.r0,n.r0=s}var f=zA(n.r,a.r),p=ZD(n.r0,a.r0);n.r=f,n.r0=p;var h=f-p<0;if(e<0){var s=n.r;n.r=n.r0,n.r0=s}return h}},I8={cartesian2d:function(a,n,e,s,f,p,h,_,M){var L=new Ic({shape:Object(H.m)({},s),z2:1});if(L.__dataIndex=e,L.name="item",p){var z=L.shape,Y=f?"height":"width";z[Y]=0}return L},polar:function(a,n,e,s,f,p,h,_,M){var L=!f&&M?bC:bv,z=new L({shape:s,z2:1});z.name="item";var Y=U8(f);if(z.calculateTextPosition=lX(Y,{isRoundCap:L===bC}),p){var q=z.shape,se=f?"r":"endAngle",ye={};q[se]=f?s.r0:s.startAngle,ye[se]=s[se],(_?pf:dp)(z,{shape:ye},p)}return z}};function dX(a,n){var e=a.get("realtimeSort",!0),s=n.getBaseAxis();if(e&&s.type==="category"&&n.type==="cartesian2d")return{baseAxis:s,otherAxis:n.getOtherAxis(s)}}function N8(a,n,e,s,f,p,h,_){var M,L;p?(L={x:s.x,width:s.width},M={y:s.y,height:s.height}):(L={y:s.y,height:s.height},M={x:s.x,width:s.width}),_||(h?pf:dp)(e,{shape:M},n,f,null);var z=n?a.baseAxis.model:null;(h?pf:dp)(e,{shape:L},z,f)}function L8(a,n){for(var e=0;e<n.length;e++)if(!isFinite(a[n[e]]))return!0;return!1}var fX=["x","y","width","height"],pX=["cx","cy","r","startAngle","endAngle"],F8={cartesian2d:function(a){return!L8(a,fX)},polar:function(a){return!L8(a,pX)}},HA={cartesian2d:function(a,n,e){var s=a.getItemLayout(n),f=e?hX(e,s):0,p=s.width>0?1:-1,h=s.height>0?1:-1;return{x:s.x+p*f/2,y:s.y+h*f/2,width:s.width-p*f,height:s.height-h*f}},polar:function(a,n,e){var s=a.getItemLayout(n);return{cx:s.cx,cy:s.cy,r0:s.r0,r:s.r,startAngle:s.startAngle,endAngle:s.endAngle,clockwise:s.clockwise}}};function vX(a){return a.startAngle!=null&&a.endAngle!=null&&a.startAngle===a.endAngle}function U8(a){return function(n){var e=n?"Arc":"Angle";return function(s){switch(s){case"start":case"insideStart":case"end":case"insideEnd":return s+e;default:return s}}}(a)}function B8(a,n,e,s,f,p,h,_){var M=n.getItemVisual(e,"style");if(_){if(!p.get("roundCap")){var z=a.shape,Y=D1(s.getModel("itemStyle"),z,!0);Object(H.m)(z,Y),a.setShape(z)}}else{var L=s.get(["itemStyle","borderRadius"])||0;a.setShape("r",L)}a.useStyle(M);var q=s.getShallow("cursor");q&&a.attr("cursor",q);var se=_?h?f.r>=f.r0?"endArc":"startArc":f.endAngle>=f.startAngle?"endAngle":"startAngle":h?f.height>=0?"bottom":"top":f.width>=0?"right":"left",ye=_f(s);Wf(a,ye,{labelFetcher:p,labelDataIndex:e,defaultText:yC(p.getData(),e),inheritColor:M.fill,defaultOpacity:M.opacity,defaultOutsidePosition:se});var je=a.getTextContent();if(_&&je){var De=s.get(["label","position"]);a.textConfig.inside=De==="middle"?!0:null,R1(a,De==="outside"?se:De,U8(h),s.get(["label","rotate"]))}ix(je,ye,p.getRawValue(e),function(st){return u8(n,st)});var We=s.getModel(["emphasis"]);Wp(a,We.get("focus"),We.get("blurScope"),We.get("disabled")),Qv(a,s),vX(f)&&(a.style.fill="none",a.style.stroke="none",Object(H.k)(a.states,function(st){st.style&&(st.style.fill=st.style.stroke="none")}))}function hX(a,n){var e=a.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var s=a.get(["itemStyle","borderWidth"])||0,f=isNaN(n.width)?Number.MAX_VALUE:Math.abs(n.width),p=isNaN(n.height)?Number.MAX_VALUE:Math.abs(n.height);return Math.min(s,f,p)}var gX=function(){function a(){}return a}(),V8=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="largeBar",s}return n.prototype.getDefaultShape=function(){return new gX},n.prototype.buildPath=function(e,s){for(var f=s.points,p=this.baseDimIdx,h=1-this.baseDimIdx,_=[],M=[],L=this.barWidth,z=0;z<f.length;z+=3)M[p]=L,M[h]=f[z+2],_[p]=f[z+p],_[h]=f[z+h],e.rect(_[0],_[1],M[0],M[1])},n}(Ti);function z8(a,n,e,s){var f=a.getData(),p=f.getLayout("valueAxisHorizontal")?1:0,h=f.getLayout("largeDataIndices"),_=f.getLayout("size"),M=a.getModel("backgroundStyle"),L=f.getLayout("largeBackgroundPoints");if(L){var z=new V8({shape:{points:L},incremental:!!s,silent:!0,z2:0});z.baseDimIdx=p,z.largeDataIndices=h,z.barWidth=_,z.useStyle(M.getItemStyle()),n.add(z),e&&e.push(z)}var Y=new V8({shape:{points:f.getLayout("largePoints")},incremental:!!s,ignoreCoarsePointer:!0,z2:1});Y.baseDimIdx=p,Y.largeDataIndices=h,Y.barWidth=_,n.add(Y),Y.useStyle(f.getVisual("style")),sc(Y).seriesIndex=a.seriesIndex,a.get("silent")||(Y.on("mousedown",H8),Y.on("mousemove",H8)),e&&e.push(Y)}var H8=FR(function(a){var n=this,e=mX(n,a.offsetX,a.offsetY);sc(n).dataIndex=e>=0?e:null},30,!1);function mX(a,n,e){for(var s=a.baseDimIdx,f=1-s,p=a.shape.points,h=a.largeDataIndices,_=[],M=[],L=a.barWidth,z=0,Y=p.length/3;z<Y;z++){var q=z*3;if(M[s]=L,M[f]=p[q+2],_[s]=p[q+s],_[f]=p[q+f],M[f]<0&&(_[f]+=M[f],M[f]=-M[f]),n>=_[0]&&n<=_[0]+M[0]&&e>=_[1]&&e<=_[1]+M[1])return h[z]}return-1}function G8(a,n,e){if(P1(e,"cartesian2d")){var s=n,f=e.getArea();return{x:a?s.x:f.x,y:a?f.y:s.y,width:a?s.width:f.width,height:a?f.height:s.height}}else{var f=e.getArea(),p=n;return{cx:f.cx,cy:f.cy,r0:a?f.r0:p.r0,r:a?f.r:p.r,startAngle:a?p.startAngle:0,endAngle:a?p.endAngle:Math.PI*2}}}function _X(a,n,e){var s=a.type==="polar"?bv:Ic;return new s({shape:G8(n,e,a),silent:!0,z2:0})}var yX=uX;function bX(a){a.registerChartView(yX),a.registerSeriesModel(sX),a.registerLayout(a.PRIORITY.VISUAL.LAYOUT,H.h(P8,"bar")),a.registerLayout(a.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,YD("bar")),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,A8("bar")),a.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(n,e){var s=n.componentType||"series";e.eachComponent({mainType:s,query:n},function(f){n.sortInfo&&f.axis.setCategorySortInfo(n.sortInfo)})})}var GA=Math.PI*2,qD=Math.PI/180;function $8(a,n){return Pv(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function W8(a,n){var e=$8(a,n),s=a.get("center"),f=a.get("radius");H.t(f)||(f=[0,f]);var p=Mi(e.width,n.getWidth()),h=Mi(e.height,n.getHeight()),_=Math.min(p,h),M=Mi(f[0],_/2),L=Mi(f[1],_/2),z,Y,q=a.coordinateSystem;if(q){var se=q.dataToPoint(s);z=se[0]||0,Y=se[1]||0}else H.t(s)||(s=[s,s]),z=Mi(s[0],p)+e.x,Y=Mi(s[1],h)+e.y;return{cx:z,cy:Y,r0:M,r:L}}function OX(a,n,e){n.eachSeriesByType(a,function(s){var f=s.getData(),p=f.mapDimension("value"),h=$8(s,e),_=W8(s,e),M=_.cx,L=_.cy,z=_.r,Y=_.r0,q=-s.get("startAngle")*qD,se=s.get("minAngle")*qD,ye=0;f.each(p,function(dr){!isNaN(dr)&&ye++});var je=f.getSum(p),De=Math.PI/(je||ye)*2,We=s.get("clockwise"),st=s.get("roseType"),dt=s.get("stillShowZeroSum"),Mt=f.getDataExtent(p);Mt[0]=0;var nn=GA,rn=0,Cn=q,er=We?1:-1;if(f.setLayout({viewRect:h,r:z}),f.each(p,function(dr,pr){var ia;if(isNaN(dr)){f.setItemLayout(pr,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:We,cx:M,cy:L,r0:Y,r:st?NaN:z});return}st!=="area"?ia=je===0&&dt?De:dr*De:ia=GA/ye,ia<se?(ia=se,nn-=se):rn+=dr;var pa=Cn+er*ia;f.setItemLayout(pr,{angle:ia,startAngle:Cn,endAngle:pa,clockwise:We,cx:M,cy:L,r0:Y,r:st?Yo(dr,Mt,[Y,z]):z}),Cn=pa}),nn<GA&&ye)if(nn<=.001){var ir=GA/ye;f.each(p,function(dr,pr){if(!isNaN(dr)){var ia=f.getItemLayout(pr);ia.angle=ir,ia.startAngle=q+er*pr*ir,ia.endAngle=q+er*(pr+1)*ir}})}else De=nn/rn,Cn=q,f.each(p,function(dr,pr){if(!isNaN(dr)){var ia=f.getItemLayout(pr),pa=ia.angle===se?se:dr*De;ia.startAngle=Cn,ia.endAngle=Cn+er*pa,Cn+=er*pa}})})}function bS(a){return{seriesType:a,reset:function(n,e){var s=e.findComponents({mainType:"legend"});if(!(!s||!s.length)){var f=n.getData();f.filterSelf(function(p){for(var h=f.getName(p),_=0;_<s.length;_++)if(!s[_].isSelected(h))return!1;return!0})}}}}var CX=Math.PI/180;function K8(a,n,e,s,f,p,h,_,M,L){if(a.length<2)return;function z(je){for(var De=je.rB,We=De*De,st=0;st<je.list.length;st++){var dt=je.list[st],Mt=Math.abs(dt.label.y-e),nn=s+dt.len,rn=nn*nn,Cn=Math.sqrt((1-Math.abs(Mt*Mt/We))*rn),er=n+(Cn+dt.len2)*f,ir=er-dt.label.x,dr=dt.targetTextWidth-ir*f;Y8(dt,dr,!0),dt.label.x=er}}function Y(je){for(var De={list:[],maxY:0},We={list:[],maxY:0},st=0;st<je.length;st++)if(je[st].labelAlignTo==="none"){var dt=je[st],Mt=dt.label.y>e?We:De,nn=Math.abs(dt.label.y-e);if(nn>=Mt.maxY){var rn=dt.label.x-n-dt.len2*f,Cn=s+dt.len,er=Math.abs(rn)<Cn?Math.sqrt(nn*nn/(1-rn*rn/Cn/Cn)):Cn;Mt.rB=er,Mt.maxY=nn}Mt.list.push(dt)}z(De),z(We)}for(var q=a.length,se=0;se<q;se++)if(a[se].position==="outer"&&a[se].labelAlignTo==="labelLine"){var ye=a[se].label.x-L;a[se].linePoints[1][0]+=ye,a[se].label.x=L}M5(a,M,M+h)&&Y(a)}function EX(a,n,e,s,f,p,h,_){for(var M=[],L=[],z=Number.MAX_VALUE,Y=-Number.MAX_VALUE,q=0;q<a.length;q++){var se=a[q].label;eI(a[q])||(se.x<n?(z=Math.min(z,se.x),M.push(a[q])):(Y=Math.max(Y,se.x),L.push(a[q])))}for(var q=0;q<a.length;q++){var ye=a[q];if(!eI(ye)&&ye.linePoints){if(ye.labelStyleWidth!=null)continue;var se=ye.label,je=ye.linePoints,De=void 0;ye.labelAlignTo==="edge"?se.x<n?De=je[2][0]-ye.labelDistance-h-ye.edgeDistance:De=h+f-ye.edgeDistance-je[2][0]-ye.labelDistance:ye.labelAlignTo==="labelLine"?se.x<n?De=z-h-ye.bleedMargin:De=h+f-Y-ye.bleedMargin:se.x<n?De=se.x-h-ye.bleedMargin:De=h+f-se.x-ye.bleedMargin,ye.targetTextWidth=De,Y8(ye,De)}}K8(L,n,e,s,1,f,p,h,_,Y),K8(M,n,e,s,-1,f,p,h,_,z);for(var q=0;q<a.length;q++){var ye=a[q];if(!eI(ye)&&ye.linePoints){var se=ye.label,je=ye.linePoints,We=ye.labelAlignTo==="edge",st=se.style.padding,dt=st?st[1]+st[3]:0,Mt=se.style.backgroundColor?0:dt,nn=ye.rect.width+Mt,rn=je[1][0]-je[2][0];We?se.x<n?je[2][0]=h+ye.edgeDistance+nn+ye.labelDistance:je[2][0]=h+f-ye.edgeDistance-nn-ye.labelDistance:(se.x<n?je[2][0]=se.x+ye.labelDistance:je[2][0]=se.x-ye.labelDistance,je[1][0]=je[2][0]+rn),je[1][1]=je[2][1]=se.y}}}function Y8(a,n,e){if(e===void 0&&(e=!1),a.labelStyleWidth==null){var s=a.label,f=s.style,p=a.rect,h=f.backgroundColor,_=f.padding,M=_?_[1]+_[3]:0,L=f.overflow,z=p.width+(h?0:M);if(n<z||e){var Y=p.height;if(L&&L.match("break")){s.setStyle("backgroundColor",null),s.setStyle("width",n-M);var q=s.getBoundingRect();s.setStyle("width",Math.ceil(q.width)),s.setStyle("backgroundColor",h)}else{var se=n-M,ye=n<z?se:e?se>a.unconstrainedWidth?null:se:null;s.setStyle("width",ye)}var je=s.getBoundingRect();p.width=je.width;var De=(s.style.margin||0)+2.1;p.height=je.height+De,p.y-=(p.height-Y)/2}}}function eI(a){return a.position==="center"}function xX(a){var n=a.getData(),e=[],s,f,p=!1,h=(a.get("minShowLabelAngle")||0)*CX,_=n.getLayout("viewRect"),M=n.getLayout("r"),L=_.width,z=_.x,Y=_.y,q=_.height;function se(rn){rn.ignore=!0}function ye(rn){if(!rn.ignore)return!0;for(var Cn in rn.states)if(rn.states[Cn].ignore===!1)return!0;return!1}n.each(function(rn){var Cn=n.getItemGraphicEl(rn),er=Cn.shape,ir=Cn.getTextContent(),dr=Cn.getTextGuideLine(),pr=n.getItemModel(rn),ia=pr.getModel("label"),pa=ia.get("position")||pr.get(["emphasis","label","position"]),Ga=ia.get("distanceToLabelLine"),si=ia.get("alignTo"),Bi=Mi(ia.get("edgeDistance"),L),Go=ia.get("bleedMargin"),Lo=pr.getModel("labelLine"),Rs=Lo.get("length");Rs=Mi(Rs,L);var Ns=Lo.get("length2");if(Ns=Mi(Ns,L),Math.abs(er.endAngle-er.startAngle)<h){Object(H.k)(ir.states,se),ir.ignore=!0,dr&&(Object(H.k)(dr.states,se),dr.ignore=!0);return}if(!!ye(ir)){var Ds=(er.startAngle+er.endAngle)/2,yc=Math.cos(Ds),Zc=Math.sin(Ds),$c,Nu,yd,Ku;s=er.cx,f=er.cy;var vl=pa==="inside"||pa==="inner";if(pa==="center")$c=er.cx,Nu=er.cy,Ku="center";else{var Vc=(vl?(er.r+er.r0)/2*yc:er.r*yc)+s,$l=(vl?(er.r+er.r0)/2*Zc:er.r*Zc)+f;if($c=Vc+yc*3,Nu=$l+Zc*3,!vl){var el=Vc+yc*(Rs+M-er.r),_u=$l+Zc*(Rs+M-er.r),Rf=el+(yc<0?-1:1)*Ns,Id=_u;si==="edge"?$c=yc<0?z+Bi:z+L-Bi:$c=Rf+(yc<0?-Ga:Ga),Nu=Id,yd=[[Vc,$l],[el,_u],[Rf,Id]]}Ku=vl?"center":si==="edge"?yc>0?"right":"left":yc>0?"left":"right"}var xp=Math.PI,op=0,Ev=ia.get("rotate");if(Object(H.z)(Ev))op=Ev*(xp/180);else if(pa==="center")op=0;else if(Ev==="radial"||Ev===!0){var Lv=yc<0?-Ds+xp:-Ds;op=Lv}else if(Ev==="tangential"&&pa!=="outside"&&pa!=="outer"){var fh=Math.atan2(yc,Zc);fh<0&&(fh=xp*2+fh);var km=Zc>0;km&&(fh=xp+fh),op=fh-xp}if(p=!!op,ir.x=$c,ir.y=Nu,ir.rotation=op,ir.setStyle({verticalAlign:"middle"}),vl){ir.setStyle({align:Ku});var Fv=ir.states.select;Fv&&(Fv.x+=ir.x,Fv.y+=ir.y)}else{var Rh=ir.getBoundingRect().clone();Rh.applyTransform(ir.getComputedTransform());var Fb=(ir.style.margin||0)+2.1;Rh.y-=Fb/2,Rh.height+=Fb,e.push({label:ir,labelLine:dr,position:pa,len:Rs,len2:Ns,minTurnAngle:Lo.get("minTurnAngle"),maxSurfaceAngle:Lo.get("maxSurfaceAngle"),surfaceNormal:new Ni(yc,Zc),linePoints:yd,textAlign:Ku,labelDistance:Ga,labelAlignTo:si,edgeDistance:Bi,bleedMargin:Go,rect:Rh,unconstrainedWidth:Rh.width,labelStyleWidth:ir.style.width})}Cn.setTextConfig({inside:vl})}}),!p&&a.get("avoidLabelOverlap")&&EX(e,s,f,M,L,q,z,Y);for(var je=0;je<e.length;je++){var De=e[je],We=De.label,st=De.labelLine,dt=isNaN(We.x)||isNaN(We.y);if(We){We.setStyle({align:De.textAlign}),dt&&(Object(H.k)(We.states,se),We.ignore=!0);var Mt=We.states.select;Mt&&(Mt.x+=We.x,Mt.y+=We.y)}if(st){var nn=De.linePoints;dt||!nn?(Object(H.k)(st.states,se),st.ignore=!0):(T5(nn,De.minTurnAngle),IK(nn,De.surfaceNormal,De.maxSurfaceAngle),st.setShape({points:nn}),We.__hostTarget.textGuideLineConfig={anchor:new Ni(nn[0][0],nn[0][1])})}}}var SX=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this)||this;p.z2=2;var h=new Ho;return p.setTextContent(h),p.updateData(e,s,f,!0),p}return n.prototype.updateData=function(e,s,f,p){var h=this,_=e.hostModel,M=e.getItemModel(s),L=M.getModel("emphasis"),z=e.getItemLayout(s),Y=Object(H.m)(D1(M.getModel("itemStyle"),z,!0),z);if(isNaN(Y.startAngle)){h.setShape(Y);return}if(p){h.setShape(Y);var q=_.getShallow("animationType");_.ecModel.ssr?(dp(h,{scaleX:0,scaleY:0},_,{dataIndex:s,isFrom:!0}),h.originX=Y.cx,h.originY=Y.cy):q==="scale"?(h.shape.r=z.r0,dp(h,{shape:{r:z.r}},_,s)):f!=null?(h.setShape({startAngle:f,endAngle:f}),dp(h,{shape:{startAngle:z.startAngle,endAngle:z.endAngle}},_,s)):(h.shape.endAngle=z.startAngle,pf(h,{shape:{endAngle:z.endAngle}},_,s))}else Ug(h),pf(h,{shape:Y},_,s);h.useStyle(e.getItemVisual(s,"style")),Qv(h,M);var se=(z.startAngle+z.endAngle)/2,ye=_.get("selectedOffset"),je=Math.cos(se)*ye,De=Math.sin(se)*ye,We=M.getShallow("cursor");We&&h.attr("cursor",We),this._updateLabel(_,e,s),h.ensureState("emphasis").shape=Object(H.m)({r:z.r+(L.get("scale")&&L.get("scaleSize")||0)},D1(L.getModel("itemStyle"),z)),Object(H.m)(h.ensureState("select"),{x:je,y:De,shape:D1(M.getModel(["select","itemStyle"]),z)}),Object(H.m)(h.ensureState("blur"),{shape:D1(M.getModel(["blur","itemStyle"]),z)});var st=h.getTextGuideLine(),dt=h.getTextContent();st&&Object(H.m)(st.ensureState("select"),{x:je,y:De}),Object(H.m)(dt.ensureState("select"),{x:je,y:De}),Wp(this,L.get("focus"),L.get("blurScope"),L.get("disabled"))},n.prototype._updateLabel=function(e,s,f){var p=this,h=s.getItemModel(f),_=h.getModel("labelLine"),M=s.getItemVisual(f,"style"),L=M&&M.fill,z=M&&M.opacity;Wf(p,_f(h),{labelFetcher:s.hostModel,labelDataIndex:f,inheritColor:L,defaultOpacity:z,defaultText:e.getFormattedLabel(f,"normal")||s.getName(f)});var Y=p.getTextContent();p.setTextConfig({position:null,rotation:null}),Y.attr({z2:10});var q=e.get(["label","position"]);if(q!=="outside"&&q!=="outer")p.removeTextGuideLine();else{var se=this.getTextGuideLine();se||(se=new Cg,this.setTextGuideLine(se)),fD(this,pD(h),{stroke:L,opacity:Object(H.Q)(_.get(["lineStyle","opacity"]),z,1)})}},n}(bv),wX=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return n.prototype.render=function(e,s,f,p){var h=e.getData(),_=this._data,M=this.group,L;if(!_&&h.count()>0){for(var z=h.getItemLayout(0),Y=1;isNaN(z&&z.startAngle)&&Y<h.count();++Y)z=h.getItemLayout(Y);z&&(L=z.startAngle)}if(this._emptyCircleSector&&M.remove(this._emptyCircleSector),h.count()===0&&e.get("showEmptyCircle")){var q=new bv({shape:W8(e,f)});q.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=q,M.add(q)}h.diff(_).add(function(se){var ye=new SX(h,se,L);h.setItemGraphicEl(se,ye),M.add(ye)}).update(function(se,ye){var je=_.getItemGraphicEl(ye);je.updateData(h,se,L),je.off("click"),M.add(je),h.setItemGraphicEl(se,je)}).remove(function(se){var ye=_.getItemGraphicEl(se);Dp(ye,e,se)}).execute(),xX(e),e.get("animationTypeUpdate")!=="expansion"&&(this._data=h)},n.prototype.dispose=function(){},n.prototype.containPoint=function(e,s){var f=s.getData(),p=f.getItemLayout(0);if(p){var h=e[0]-p.cx,_=e[1]-p.cy,M=Math.sqrt(h*h+_*_);return M<=p.r&&M>=p.r0}},n.type="pie",n}(np),TX=wX;function I1(a,n,e){n=Object(H.t)(n)&&{coordDimensions:n}||Object(H.m)({encodeDefine:a.getEncode()},n);var s=a.getSource(),f=_C(s,n).dimensions,p=new cg(f,a);return p.initData(s,e),p}var X8=function(){function a(n,e){this._getDataWithEncodedVisual=n,this._getRawData=e}return a.prototype.getAllNames=function(){var n=this._getRawData();return n.mapArray(n.getName)},a.prototype.containName=function(n){var e=this._getRawData();return e.indexOfName(n)>=0},a.prototype.indexOfName=function(n){var e=this._getDataWithEncodedVisual();return e.indexOfName(n)},a.prototype.getItemVisual=function(n,e){var s=this._getDataWithEncodedVisual();return s.getItemVisual(n,e)},a}(),OS=X8,AX=ol(),kX=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.init=function(e){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(H.c(this.getData,this),H.c(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.mergeOption=function(){a.prototype.mergeOption.apply(this,arguments)},n.prototype.getInitialData=function(){return I1(this,{coordDimensions:["value"],encodeDefaulter:H.h(i1,this)})},n.prototype.getDataParams=function(e){var s=this.getData(),f=AX(s),p=f.seats;if(!p){var h=[];s.each(s.mapDimension("value"),function(M){h.push(M)}),p=f.seats=vu(h,s.hostModel.get("percentPrecision"))}var _=a.prototype.getDataParams.call(this,e);return _.percent=p[e]||0,_.$vars.push("percent"),_},n.prototype._defaultLabelLine=function(e){on(e,"labelLine",["show"]);var s=e.labelLine,f=e.emphasis.labelLine;s.show=s.show&&e.label.show,f.show=f.show&&e.emphasis.label.show},n.type="series.pie",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},n}(mp),jX=kX;function MX(a){return{seriesType:a,reset:function(n,e){var s=n.getData();s.filterSelf(function(f){var p=s.mapDimension("value"),h=s.get(p,f);return!(Object(H.z)(h)&&!isNaN(h)&&h<0)})}}}function PX(a){a.registerChartView(TX),a.registerSeriesModel(jX),L6("pie",a.registerAction),a.registerLayout(Object(H.h)(OX,"pie")),a.registerProcessor(bS("pie")),a.registerProcessor(MX("pie"))}var RX=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return n.prototype.getInitialData=function(e,s){return I0(null,this,{useEncodeDefaulter:!0})},n.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?5e3:this.get("progressive"):e},n.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?1e4:this.get("progressiveThreshold"):e},n.prototype.brushSelector=function(e,s,f){return f.point(s.getItemLayout(e))},n.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},n.type="series.scatter",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},n}(mp),DX=RX,J8=4,IX=function(){function a(){}return a}(),NX=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s._off=0,s.hoverDataIdx=-1,s}return n.prototype.getDefaultShape=function(){return new IX},n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.buildPath=function(e,s){var f=s.points,p=s.size,h=this.symbolProxy,_=h.shape,M=e.getContext?e.getContext():e,L=M&&p[0]<J8,z=this.softClipShape,Y;if(L){this._ctx=M;return}for(this._ctx=null,Y=this._off;Y<f.length;){var q=f[Y++],se=f[Y++];isNaN(q)||isNaN(se)||z&&!z.contain(q,se)||(_.x=q-p[0]/2,_.y=se-p[1]/2,_.width=p[0],_.height=p[1],h.buildPath(e,_,!0))}this.incremental&&(this._off=Y,this.notClear=!0)},n.prototype.afterBrush=function(){var e=this.shape,s=e.points,f=e.size,p=this._ctx,h=this.softClipShape,_;if(!!p){for(_=this._off;_<s.length;){var M=s[_++],L=s[_++];isNaN(M)||isNaN(L)||h&&!h.contain(M,L)||p.fillRect(M-f[0]/2,L-f[1]/2,f[0],f[1])}this.incremental&&(this._off=_,this.notClear=!0)}},n.prototype.findDataIndex=function(e,s){for(var f=this.shape,p=f.points,h=f.size,_=Math.max(h[0],4),M=Math.max(h[1],4),L=p.length/2-1;L>=0;L--){var z=L*2,Y=p[z]-_/2,q=p[z+1]-M/2;if(e>=Y&&s>=q&&e<=Y+_&&s<=q+M)return L}return-1},n.prototype.contain=function(e,s){var f=this.transformCoordToLocal(e,s),p=this.getBoundingRect();if(e=f[0],s=f[1],p.contain(e,s)){var h=this.hoverDataIdx=this.findDataIndex(e,s);return h>=0}return this.hoverDataIdx=-1,!1},n.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var s=this.shape,f=s.points,p=s.size,h=p[0],_=p[1],M=Infinity,L=Infinity,z=-Infinity,Y=-Infinity,q=0;q<f.length;){var se=f[q++],ye=f[q++];M=Math.min(se,M),z=Math.max(se,z),L=Math.min(ye,L),Y=Math.max(ye,Y)}e=this._rect=new fo(M-h/2,L-_/2,z-M+h,Y-L+_)}return e},n}(Ti),LX=function(){function a(){this.group=new _s}return a.prototype.updateData=function(n,e){this._clear();var s=this._create();s.setShape({points:n.getLayout("points")}),this._setCommon(s,n,e)},a.prototype.updateLayout=function(n){var e=n.getLayout("points");this.group.eachChild(function(s){if(s.startIndex!=null){var f=(s.endIndex-s.startIndex)*2,p=s.startIndex*4*2;e=new Float32Array(e.buffer,p,f)}s.setShape("points",e),s.reset()})},a.prototype.incrementalPrepareUpdate=function(n){this._clear()},a.prototype.incrementalUpdate=function(n,e,s){var f=this._newAdded[0],p=e.getLayout("points"),h=f&&f.shape.points;if(h&&h.length<2e4){var _=h.length,M=new Float32Array(_+p.length);M.set(h),M.set(p,_),f.endIndex=n.end,f.setShape({points:M})}else{this._newAdded=[];var L=this._create();L.startIndex=n.start,L.endIndex=n.end,L.incremental=!0,L.setShape({points:p}),this._setCommon(L,e,s)}},a.prototype.eachRendered=function(n){this._newAdded[0]&&n(this._newAdded[0])},a.prototype._create=function(){var n=new NX({cursor:"default"});return n.ignoreCoarsePointer=!0,this.group.add(n),this._newAdded.push(n),n},a.prototype._setCommon=function(n,e,s){var f=e.hostModel;s=s||{};var p=e.getVisual("symbolSize");n.setShape("size",p instanceof Array?p:[p,p]),n.softClipShape=s.clipShape||null,n.symbolProxy=Rv(e.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var h=n.shape.size[0]<J8;n.useStyle(f.getModel("itemStyle").getItemStyle(h?["color","shadowBlur","shadowColor"]:["color"]));var _=e.getVisual("style"),M=_&&_.fill;M&&n.setColor(M);var L=sc(n);L.seriesIndex=f.seriesIndex,n.on("mousemove",function(z){L.dataIndex=null;var Y=n.hoverDataIdx;Y>=0&&(L.dataIndex=Y+(n.startIndex||0))})},a.prototype.remove=function(){this._clear()},a.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},a}(),FX=LX,UX=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=e.getData(),h=this._updateSymbolDraw(p,e);h.updateData(p,{clipShape:this._getClipShape(e)}),this._finished=!0},n.prototype.incrementalPrepareRender=function(e,s,f){var p=e.getData(),h=this._updateSymbolDraw(p,e);h.incrementalPrepareUpdate(p),this._finished=!1},n.prototype.incrementalRender=function(e,s,f){this._symbolDraw.incrementalUpdate(e,s.getData(),{clipShape:this._getClipShape(s)}),this._finished=e.end===s.getData().count()},n.prototype.updateTransform=function(e,s,f){var p=e.getData();if(this.group.dirty(),!this._finished||p.count()>1e4)return{update:!0};var h=_S("").reset(e,s,f);h.progress&&h.progress({start:0,end:p.count(),count:p.count()},p),this._symbolDraw.updateLayout(p)},n.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},n.prototype._getClipShape=function(e){var s=e.coordinateSystem,f=s&&s.getArea&&s.getArea();return e.get("clip",!0)?f:null},n.prototype._updateSymbolDraw=function(e,s){var f=this._symbolDraw,p=s.pipelineContext,h=p.large;return(!f||h!==this._isLargeDraw)&&(f&&f.remove(),f=this._symbolDraw=h?new FX:new mS,this._isLargeDraw=h,this.group.removeAll()),this.group.add(f.group),f},n.prototype.remove=function(e,s){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},n.prototype.dispose=function(){},n.type="scatter",n}(np),BX=UX,VX=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.type="grid",n.dependencies=["xAxis","yAxis"],n.layoutMode="box",n.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},n}(tf),zX=VX,CS=function(){function a(){}return a.prototype.getNeedCrossZero=function(){var n=this.option;return!n.scale},a.prototype.getCoordSysModel=function(){},a}(),$A=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Vu).models[0]},n.type="cartesian2dAxis",n}(tf);H.K($A,CS);var Ase=$A,Z8={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},HX=H.I({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Z8),tI=H.I({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Z8),GX=H.I({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},tI),$X=H.i({logBase:10},tI),Q8={category:HX,value:tI,time:GX,log:$X},q8=0,WX=function(){function a(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this.uid=++q8}return a.createByAxisModel=function(n){var e=n.option,s=e.data,f=s&&Object(H.H)(s,KX);return new a({categories:f,needCollect:!f,deduplication:e.dedplication!==!1})},a.prototype.getOrdinal=function(n){return this._getOrCreateMap().get(n)},a.prototype.parseAndCollect=function(n){var e,s=this._needCollect;if(!Object(H.C)(n)&&!s)return n;if(s&&!this._deduplication)return e=this.categories.length,this.categories[e]=n,e;var f=this._getOrCreateMap();return e=f.get(n),e==null&&(s?(e=this.categories.length,this.categories[e]=n,f.set(n,e)):e=NaN),e},a.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(H.f)(this.categories))},a}();function KX(a){return Object(H.A)(a)&&a.value!=null?a.value:a+""}var nI=WX,YX={value:1,category:1,time:1,log:1};function OC(a,n,e,s){Object(H.k)(YX,function(f,p){var h=Object(H.I)(Object(H.I)({},Q8[p],!0),s,!0),_=function(M){Qe(L,M);function L(){var z=M!==null&&M.apply(this,arguments)||this;return z.type=n+"Axis."+p,z}return L.prototype.mergeDefaultAndTheme=function(z,Y){var q=a1(this),se=q?Py(z):{},ye=Y.getTheme();Object(H.I)(z,ye.get(p+"Axis")),Object(H.I)(z,this.getDefaultOption()),z.type=rI(z),q&&k_(z,se,q)},L.prototype.optionUpdated=function(){var z=this.option;z.type==="category"&&(this.__ordinalMeta=nI.createByAxisModel(this))},L.prototype.getCategories=function(z){var Y=this.option;if(Y.type==="category")return z?Y.data:this.__ordinalMeta.categories},L.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},L.type=n+"Axis."+p,L.defaultOption=h,L}(e);a.registerComponentModel(_)}),a.registerSubTypeDefaulter(n+"Axis",rI)}function rI(a){return a.type||(a.data?"category":"value")}var e7=function(){function a(n){this._setting=n||{},this._extent=[Infinity,-Infinity]}return a.prototype.getSetting=function(n){return this._setting[n]},a.prototype.unionExtent=function(n){var e=this._extent;n[0]<e[0]&&(e[0]=n[0]),n[1]>e[1]&&(e[1]=n[1])},a.prototype.unionExtentFromData=function(n,e){this.unionExtent(n.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(n,e){var s=this._extent;isNaN(n)||(s[0]=n),isNaN(e)||(s[1]=e)},a.prototype.isInExtentRange=function(n){return this._extent[0]<=n&&this._extent[1]>=n},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(n){this._isBlank=n},a}();Qf(e7);var L0=e7;function kse(a){var n=Math.pow(10,an(Math.abs(a))),e=Math.abs(a/n);return e===0||e===1||e===2||e===3||e===5}function aI(a){return a.type==="interval"||a.type==="log"}function XX(a,n,e,s){var f={},p=a[1]-a[0],h=f.interval=jr(p/n,!0);e!=null&&h<e&&(h=f.interval=e),s!=null&&h>s&&(h=f.interval=s);var _=f.intervalPrecision=t7(h),M=f.niceTickExtent=[ds(Math.ceil(a[0]/h)*h,_),ds(Math.floor(a[1]/h)*h,_)];return JX(M,a),f}function WA(a){var n=Math.pow(10,an(a)),e=a/n;return e?e===2?e=3:e===3?e=5:e*=2:e=1,ds(e*n)}function t7(a){return Il(a)+2}function n7(a,n,e){a[n]=Math.max(Math.min(a[n],e[1]),e[0])}function JX(a,n){!isFinite(a[0])&&(a[0]=n[0]),!isFinite(a[1])&&(a[1]=n[1]),n7(a,0,n),n7(a,1,n),a[0]>a[1]&&(a[0]=a[1])}function KA(a,n){return a>=n[0]&&a<=n[1]}function ES(a,n){return n[1]===n[0]?.5:(a-n[0])/(n[1]-n[0])}function YA(a,n){return a*(n[1]-n[0])+n[0]}var r7=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;s.type="ordinal";var f=s.getSetting("ordinalMeta");return f||(f=new nI({})),Object(H.t)(f)&&(f=new nI({categories:Object(H.H)(f,function(p){return Object(H.A)(p)?p.value:p})})),s._ordinalMeta=f,s._extent=s.getSetting("extent")||[0,f.categories.length-1],s}return n.prototype.parse=function(e){return e==null?NaN:Object(H.C)(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},n.prototype.contain=function(e){return e=this.parse(e),KA(e,this._extent)&&this._ordinalMeta.categories[e]!=null},n.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),ES(e,this._extent)},n.prototype.scale=function(e){return e=Math.round(YA(e,this._extent)),this.getRawOrdinalNumber(e)},n.prototype.getTicks=function(){for(var e=[],s=this._extent,f=s[0];f<=s[1];)e.push({value:f}),f++;return e},n.prototype.getMinorTicks=function(e){},n.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var s=e.ordinalNumbers,f=this._ordinalNumbersByTick=[],p=this._ticksByOrdinalNumber=[],h=0,_=this._ordinalMeta.categories.length,M=Math.min(_,s.length);h<M;++h){var L=s[h];f[h]=L,p[L]=h}for(var z=0;h<_;++h){for(;p[z]!=null;)z++;f.push(z),p[z]=h}},n.prototype._getTickNumber=function(e){var s=this._ticksByOrdinalNumber;return s&&e>=0&&e<s.length?s[e]:e},n.prototype.getRawOrdinalNumber=function(e){var s=this._ordinalNumbersByTick;return s&&e>=0&&e<s.length?s[e]:e},n.prototype.getLabel=function(e){if(!this.isBlank()){var s=this.getRawOrdinalNumber(e.value),f=this._ordinalMeta.categories[s];return f==null?"":f+""}},n.prototype.count=function(){return this._extent[1]-this._extent[0]+1},n.prototype.unionExtentFromData=function(e,s){this.unionExtent(e.getApproximateExtent(s))},n.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},n.prototype.getOrdinalMeta=function(){return this._ordinalMeta},n.prototype.calcNiceTicks=function(){},n.prototype.calcNiceExtent=function(){},n.type="ordinal",n}(L0);L0.registerClass(r7);var iI=r7,Xy=ds,a7=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return n.prototype.parse=function(e){return e},n.prototype.contain=function(e){return KA(e,this._extent)},n.prototype.normalize=function(e){return ES(e,this._extent)},n.prototype.scale=function(e){return YA(e,this._extent)},n.prototype.setExtent=function(e,s){var f=this._extent;isNaN(e)||(f[0]=parseFloat(e)),isNaN(s)||(f[1]=parseFloat(s))},n.prototype.unionExtent=function(e){var s=this._extent;e[0]<s[0]&&(s[0]=e[0]),e[1]>s[1]&&(s[1]=e[1]),this.setExtent(s[0],s[1])},n.prototype.getInterval=function(){return this._interval},n.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=t7(e)},n.prototype.getTicks=function(e){var s=this._interval,f=this._extent,p=this._niceExtent,h=this._intervalPrecision,_=[];if(!s)return _;var M=1e4;f[0]<p[0]&&(e?_.push({value:Xy(p[0]-s,h)}):_.push({value:f[0]}));for(var L=p[0];L<=p[1]&&(_.push({value:L}),L=Xy(L+s,h),L!==_[_.length-1].value);)if(_.length>M)return[];var z=_.length?_[_.length-1].value:p[1];return f[1]>z&&(e?_.push({value:Xy(z+s,h)}):_.push({value:f[1]})),_},n.prototype.getMinorTicks=function(e){for(var s=this.getTicks(!0),f=[],p=this.getExtent(),h=1;h<s.length;h++){for(var _=s[h],M=s[h-1],L=0,z=[],Y=_.value-M.value,q=Y/e;L<e-1;){var se=Xy(M.value+(L+1)*q);se>p[0]&&se<p[1]&&z.push(se),L++}f.push(z)}return f},n.prototype.getLabel=function(e,s){if(e==null)return"";var f=s&&s.precision;f==null?f=Il(e.value)||0:f==="auto"&&(f=this._intervalPrecision);var p=Xy(e.value,f,!0);return ET(p)},n.prototype.calcNiceTicks=function(e,s,f){e=e||5;var p=this._extent,h=p[1]-p[0];if(!!isFinite(h)){h<0&&(h=-h,p.reverse());var _=XX(p,e,s,f);this._intervalPrecision=_.intervalPrecision,this._interval=_.interval,this._niceExtent=_.niceTickExtent}},n.prototype.calcNiceExtent=function(e){var s=this._extent;if(s[0]===s[1])if(s[0]!==0){var f=Math.abs(s[0]);e.fixMax||(s[1]+=f/2),s[0]-=f/2}else s[1]=1;var p=s[1]-s[0];isFinite(p)||(s[0]=0,s[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var h=this._interval;e.fixMin||(s[0]=Xy(Math.floor(s[0]/h)*h)),e.fixMax||(s[1]=Xy(Math.ceil(s[1]/h)*h))},n.prototype.setNiceExtent=function(e,s){this._niceExtent=[e,s]},n.type="interval",n}(L0);L0.registerClass(a7);var Jy=a7,ZX=function(a,n,e,s){for(;e<s;){var f=e+s>>>1;a[f][1]<n?e=f+1:s=f}return e},i7=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="time",s}return n.prototype.getLabel=function(e){var s=this.getSetting("useUTC");return Ty(e.value,dx[yT(O0(this._minLevelUnit))]||dx.second,s,this.getSetting("locale"))},n.prototype.getFormattedLabel=function(e,s,f){var p=this.getSetting("useUTC"),h=this.getSetting("locale");return vx(e,s,f,h,p)},n.prototype.getTicks=function(){var e=this._interval,s=this._extent,f=[];if(!e)return f;f.push({value:s[0],level:0});var p=this.getSetting("useUTC"),h=aJ(this._minLevelUnit,this._approxInterval,p,s);return f=f.concat(h),f.push({value:s[1],level:0}),f},n.prototype.calcNiceExtent=function(e){var s=this._extent;if(s[0]===s[1]&&(s[0]-=yg,s[1]+=yg),s[1]===-Infinity&&s[0]===Infinity){var f=new Date;s[1]=+new Date(f.getFullYear(),f.getMonth(),f.getDate()),s[0]=s[1]-yg}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},n.prototype.calcNiceTicks=function(e,s,f){e=e||10;var p=this._extent,h=p[1]-p[0];this._approxInterval=h/e,s!=null&&this._approxInterval<s&&(this._approxInterval=s),f!=null&&this._approxInterval>f&&(this._approxInterval=f);var _=XA.length,M=Math.min(ZX(XA,this._approxInterval,0,_),_-1);this._interval=XA[M][1],this._minLevelUnit=XA[Math.max(M-1,0)][0]},n.prototype.parse=function(e){return Object(H.z)(e)?e:+ct(e)},n.prototype.contain=function(e){return KA(this.parse(e),this._extent)},n.prototype.normalize=function(e){return ES(this.parse(e),this._extent)},n.prototype.scale=function(e){return YA(e,this._extent)},n.type="time",n}(Jy),XA=[["second",ux],["minute",Zb],["hour",T_],["quarter-day",T_*6],["half-day",T_*12],["day",yg*1.2],["half-week",yg*3.5],["week",yg*7],["month",yg*31],["quarter",yg*95],["half-year",_T/2],["year",_T]];function QX(a,n,e,s){var f=ct(n),p=ct(e),h=function(ye){return bT(f,ye,s)===bT(p,ye,s)},_=function(){return h("year")},M=function(){return _()&&h("month")},L=function(){return M()&&h("day")},z=function(){return L()&&h("hour")},Y=function(){return z()&&h("minute")},q=function(){return Y()&&h("second")},se=function(){return q()&&h("millisecond")};switch(a){case"year":return _();case"month":return M();case"day":return L();case"hour":return z();case"minute":return Y();case"second":return q();case"millisecond":return se()}}function qX(a,n){return a/=yg,a>16?16:a>7.5?7:a>3.5?4:a>1.5?2:1}function eJ(a){var n=30*yg;return a/=n,a>6?6:a>3?3:a>2?2:1}function tJ(a){return a/=T_,a>12?12:a>6?6:a>3.5?4:a>2?2:1}function o7(a,n){return a/=n?Zb:ux,a>30?30:a>20?20:a>15?15:a>10?10:a>5?5:a>2?2:1}function nJ(a){return jr(a,!0)}function rJ(a,n,e){var s=new Date(a);switch(O0(n)){case"year":case"month":s[OT(e)](0);case"day":s[hx(e)](1);case"hour":s[CT(e)](0);case"minute":s[Nm(e)](0);case"second":s[YP(e)](0),s[t1(e)](0)}return s.getTime()}function aJ(a,n,e,s){var f=1e4,p=px,h=0;function _(dr,pr,ia,pa,Ga,si,Bi){for(var Go=new Date(pr),Lo=pr,Rs=Go[pa]();Lo<ia&&Lo<=s[1];)Bi.push({value:Lo}),Rs+=dr,Go[Ga](Rs),Lo=Go.getTime();Bi.push({value:Lo,notAdd:!0})}function M(dr,pr,ia){var pa=[],Ga=!pr.length;if(!QX(O0(dr),s[0],s[1],e)){Ga&&(pr=[{value:rJ(new Date(s[0]),dr,e)},{value:s[1]}]);for(var si=0;si<pr.length-1;si++){var Bi=pr[si].value,Go=pr[si+1].value;if(Bi!==Go){var Lo=void 0,Rs=void 0,Ns=void 0,Ds=!1;switch(dr){case"year":Lo=Math.max(1,Math.round(n/yg/365)),Rs=qb(e),Ns=oF(e);break;case"half-year":case"quarter":case"month":Lo=eJ(n),Rs=ky(e),Ns=OT(e);break;case"week":case"half-week":case"day":Lo=qX(n,31),Rs=LO(e),Ns=hx(e),Ds=!0;break;case"half-day":case"quarter-day":case"hour":Lo=tJ(n),Rs=e1(e),Ns=CT(e);break;case"minute":Lo=o7(n,!0),Rs=rv(e),Ns=Nm(e);break;case"second":Lo=o7(n,!1),Rs=_v(e),Ns=YP(e);break;case"millisecond":Lo=nJ(n),Rs=jy(e),Ns=t1(e);break}_(Lo,Bi,Go,Rs,Ns,Ds,pa),dr==="year"&&ia.length>1&&si===0&&ia.unshift({value:ia[0].value-Lo})}}for(var si=0;si<pa.length;si++)ia.push(pa[si]);return pa}}for(var L=[],z=[],Y=0,q=0,se=0;se<p.length&&h++<f;++se){var ye=O0(p[se]);if(!!iF(p[se])){M(p[se],L[L.length-1]||[],z);var je=p[se+1]?O0(p[se+1]):null;if(ye!==je){if(z.length){q=Y,z.sort(function(dr,pr){return dr.value-pr.value});for(var De=[],We=0;We<z.length;++We){var st=z[We].value;(We===0||z[We-1].value!==st)&&(De.push(z[We]),st>=s[0]&&st<=s[1]&&Y++)}var dt=(s[1]-s[0])/n;if(Y>dt*1.5&&q>dt/1.5||(L.push(De),Y>dt||a===p[se]))break}z=[]}}}for(var Mt=Object(H.n)(Object(H.H)(L,function(dr){return Object(H.n)(dr,function(pr){return pr.value>=s[0]&&pr.value<=s[1]&&!pr.notAdd})}),function(dr){return dr.length>0}),nn=[],rn=Mt.length-1,se=0;se<Mt.length;++se)for(var Cn=Mt[se],er=0;er<Cn.length;++er)nn.push({value:Cn[er].value,level:rn-se});nn.sort(function(dr,pr){return dr.value-pr.value});for(var ir=[],se=0;se<nn.length;++se)(se===0||nn[se].value!==nn[se-1].value)&&ir.push(nn[se]);return ir}L0.registerClass(i7);var s7=i7,c7=L0.prototype,xS=Jy.prototype,Lp=ds,JA=Math.floor,l7=Math.ceil,ZA=Math.pow,Gm=Math.log,oI=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Jy,e._interval=0,e}return n.prototype.getTicks=function(e){var s=this._originalScale,f=this._extent,p=s.getExtent(),h=xS.getTicks.call(this,e);return H.H(h,function(_){var M=_.value,L=ds(ZA(this.base,M));return L=M===f[0]&&this._fixMin?QA(L,p[0]):L,L=M===f[1]&&this._fixMax?QA(L,p[1]):L,{value:L}},this)},n.prototype.setExtent=function(e,s){var f=Gm(this.base);e=Gm(Math.max(0,e))/f,s=Gm(Math.max(0,s))/f,xS.setExtent.call(this,e,s)},n.prototype.getExtent=function(){var e=this.base,s=c7.getExtent.call(this);s[0]=ZA(e,s[0]),s[1]=ZA(e,s[1]);var f=this._originalScale,p=f.getExtent();return this._fixMin&&(s[0]=QA(s[0],p[0])),this._fixMax&&(s[1]=QA(s[1],p[1])),s},n.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var s=this.base;e[0]=Gm(e[0])/Gm(s),e[1]=Gm(e[1])/Gm(s),c7.unionExtent.call(this,e)},n.prototype.unionExtentFromData=function(e,s){this.unionExtent(e.getApproximateExtent(s))},n.prototype.calcNiceTicks=function(e){e=e||10;var s=this._extent,f=s[1]-s[0];if(!(f===Infinity||f<=0)){var p=wt(f),h=e/f*p;for(h<=.5&&(p*=10);!isNaN(p)&&Math.abs(p)<1&&Math.abs(p)>0;)p*=10;var _=[ds(l7(s[0]/p)*p),ds(JA(s[1]/p)*p)];this._interval=p,this._niceExtent=_}},n.prototype.calcNiceExtent=function(e){xS.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},n.prototype.parse=function(e){return e},n.prototype.contain=function(e){return e=Gm(e)/Gm(this.base),KA(e,this._extent)},n.prototype.normalize=function(e){return e=Gm(e)/Gm(this.base),ES(e,this._extent)},n.prototype.scale=function(e){return e=YA(e,this._extent),ZA(this.base,e)},n.type="log",n}(L0),u7=oI.prototype;u7.getMinorTicks=xS.getMinorTicks,u7.getLabel=xS.getLabel;function QA(a,n){return Lp(a,Il(n))}L0.registerClass(oI);var iJ=oI,oJ=function(){function a(n,e,s){this._prepareParams(n,e,s)}return a.prototype._prepareParams=function(n,e,s){s[1]<s[0]&&(s=[NaN,NaN]),this._dataMin=s[0],this._dataMax=s[1];var f=this._isOrdinal=n.type==="ordinal";this._needCrossZero=n.type==="interval"&&e.getNeedCrossZero&&e.getNeedCrossZero();var p=this._modelMinRaw=e.get("min",!0);Object(H.w)(p)?this._modelMinNum=qA(n,p({min:s[0],max:s[1]})):p!=="dataMin"&&(this._modelMinNum=qA(n,p));var h=this._modelMaxRaw=e.get("max",!0);if(Object(H.w)(h)?this._modelMaxNum=qA(n,h({min:s[0],max:s[1]})):h!=="dataMax"&&(this._modelMaxNum=qA(n,h)),f)this._axisDataLen=e.getCategories().length;else{var _=e.get("boundaryGap"),M=Object(H.t)(_)?_:[_||0,_||0];typeof M[0]=="boolean"||typeof M[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Od(M[0],1),Od(M[1],1)]}},a.prototype.calculate=function(){var n=this._isOrdinal,e=this._dataMin,s=this._dataMax,f=this._axisDataLen,p=this._boundaryGapInner,h=n?null:s-e||Math.abs(e),_=this._modelMinRaw==="dataMin"?e:this._modelMinNum,M=this._modelMaxRaw==="dataMax"?s:this._modelMaxNum,L=_!=null,z=M!=null;_==null&&(_=n?f?0:NaN:e-p[0]*h),M==null&&(M=n?f?f-1:NaN:s+p[1]*h),(_==null||!isFinite(_))&&(_=NaN),(M==null||!isFinite(M))&&(M=NaN);var Y=Object(H.l)(_)||Object(H.l)(M)||n&&!f;this._needCrossZero&&(_>0&&M>0&&!L&&(_=0),_<0&&M<0&&!z&&(M=0));var q=this._determinedMin,se=this._determinedMax;return q!=null&&(_=q,L=!0),se!=null&&(M=se,z=!0),{min:_,max:M,minFixed:L,maxFixed:z,isBlank:Y}},a.prototype.modifyDataMinMax=function(n,e){this[sJ[n]]=e},a.prototype.setDeterminedMinMax=function(n,e){var s=d7[n];this[s]=e},a.prototype.freeze=function(){this.frozen=!0},a}(),d7={min:"_determinedMin",max:"_determinedMax"},sJ={min:"_dataMin",max:"_dataMax"};function f7(a,n,e){var s=a.rawExtentInfo;return s||(s=new oJ(a,n,e),a.rawExtentInfo=s,s)}function qA(a,n){return n==null?null:Object(H.l)(n)?NaN:a.parse(n)}function sI(a,n){var e=a.type,s=f7(a,n,a.getExtent()).calculate();a.setBlank(s.isBlank);var f=s.min,p=s.max,h=n.ecModel;if(h&&e==="time"){var _=WD("bar",h),M=!1;if(H.k(_,function(Y){M=M||Y.getBaseAxis()===n.axis}),M){var L=j8(_),z=cJ(f,p,n,L);f=z.min,p=z.max}}return{extent:[f,p],fixMin:s.minFixed,fixMax:s.maxFixed}}function cJ(a,n,e,s){var f=e.axis.getExtent(),p=f[1]-f[0],h=KD(s,e.axis);if(h===void 0)return{min:a,max:n};var _=Infinity;H.k(h,function(se){_=Math.min(se.offset,_)});var M=-Infinity;H.k(h,function(se){M=Math.max(se.offset+se.width,M)}),_=Math.abs(_),M=Math.abs(M);var L=_+M,z=n-a,Y=1-(_+M)/p,q=z/Y-z;return n+=q*(M/L),a-=q*(_/L),{min:a,max:n}}function CC(a,n){var e=n,s=sI(a,e),f=s.extent,p=e.get("splitNumber");a instanceof iJ&&(a.base=e.get("logBase"));var h=a.type,_=e.get("interval"),M=h==="interval"||h==="time";a.setExtent(f[0],f[1]),a.calcNiceExtent({splitNumber:p,fixMin:s.fixMin,fixMax:s.fixMax,minInterval:M?e.get("minInterval"):null,maxInterval:M?e.get("maxInterval"):null}),_!=null&&a.setInterval&&a.setInterval(_)}function ek(a,n){if(n=n||a.get("type"),n)switch(n){case"category":return new iI({ordinalMeta:a.getOrdinalMeta?a.getOrdinalMeta():a.getCategories(),extent:[Infinity,-Infinity]});case"time":return new s7({locale:a.ecModel.getLocaleModel(),useUTC:a.ecModel.get("useUTC")});default:return new(L0.getClass(n)||Jy)}}function lJ(a){var n=a.scale.getExtent(),e=n[0],s=n[1];return!(e>0&&s>0||e<0&&s<0)}function SS(a){var n=a.getLabelModel().get("formatter"),e=a.type==="category"?a.scale.getExtent()[0]:null;return a.scale.type==="time"?function(s){return function(f,p){return a.scale.getFormattedLabel(f,p,s)}}(n):H.C(n)?function(s){return function(f){var p=a.scale.getLabel(f),h=s.replace("{value}",p!=null?p:"");return h}}(n):H.w(n)?function(s){return function(f,p){return e!=null&&(p=f.value-e),s(cI(a,f),p,f.level!=null?{level:f.level}:null)}}(n):function(s){return a.scale.getLabel(s)}}function cI(a,n){return a.type==="category"?a.scale.getLabel(n):n.value}function Cc(a){var n=a.model,e=a.scale;if(!(!n.get(["axisLabel","show"])||e.isBlank())){var s,f,p=e.getExtent();e instanceof iI?f=e.count():(s=e.getTicks(),f=s.length);var h=a.getLabelModel(),_=SS(a),M,L=1;f>40&&(L=Math.ceil(f/40));for(var z=0;z<f;z+=L){var Y=s?s[z]:{value:p[0]+z},q=_(Y,z),se=h.getTextRect(q),ye=Ec(se,h.get("rotate")||0);M?M.union(ye):M=ye}return M}}function Ec(a,n){var e=n*Math.PI/180,s=a.width,f=a.height,p=s*Math.abs(Math.cos(e))+Math.abs(f*Math.sin(e)),h=s*Math.abs(Math.sin(e))+Math.abs(f*Math.cos(e)),_=new fo(a.x,a.y,p,h);return _}function lI(a){var n=a.get("interval");return n==null?"auto":n}function uI(a){return a.type==="category"&&lI(a.getLabelModel())===0}function tk(a,n){var e={};return H.k(a.mapDimensionsAll(n),function(s){e[hS(a,s)]=!0}),H.F(e)}function uJ(a,n,e){n&&H.k(tk(n,e),function(s){var f=n.getApproximateExtent(s);f[0]<a[0]&&(a[0]=f[0]),f[1]>a[1]&&(a[1]=f[1])})}var dJ=function(){function a(n){this.type="cartesian",this._dimList=[],this._axes={},this.name=n||""}return a.prototype.getAxis=function(n){return this._axes[n]},a.prototype.getAxes=function(){return H.H(this._dimList,function(n){return this._axes[n]},this)},a.prototype.getAxesByScale=function(n){return n=n.toLowerCase(),H.n(this.getAxes(),function(e){return e.scale.type===n})},a.prototype.addAxis=function(n){var e=n.dim;this._axes[e]=n,this._dimList.push(e)},a}(),p7=dJ,dI=["x","y"];function v7(a){return a.type==="interval"||a.type==="time"}var fJ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=dI,e}return n.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,s=this.getAxis("y").scale;if(!(!v7(e)||!v7(s))){var f=e.getExtent(),p=s.getExtent(),h=this.dataToPoint([f[0],p[0]]),_=this.dataToPoint([f[1],p[1]]),M=f[1]-f[0],L=p[1]-p[0];if(!(!M||!L)){var z=(_[0]-h[0])/M,Y=(_[1]-h[1])/L,q=h[0]-f[0]*z,se=h[1]-p[0]*Y,ye=this._transform=[z,0,0,Y,q,se];this._invTransform=$a([],ye)}}},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},n.prototype.containPoint=function(e){var s=this.getAxis("x"),f=this.getAxis("y");return s.contain(s.toLocalCoord(e[0]))&&f.contain(f.toLocalCoord(e[1]))},n.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},n.prototype.containZone=function(e,s){var f=this.dataToPoint(e),p=this.dataToPoint(s),h=this.getArea(),_=new fo(f[0],f[1],p[0]-f[0],p[1]-f[1]);return h.intersect(_)},n.prototype.dataToPoint=function(e,s,f){f=f||[];var p=e[0],h=e[1];if(this._transform&&p!=null&&isFinite(p)&&h!=null&&isFinite(h))return eo(f,e,this._transform);var _=this.getAxis("x"),M=this.getAxis("y");return f[0]=_.toGlobalCoord(_.dataToCoord(p,s)),f[1]=M.toGlobalCoord(M.dataToCoord(h,s)),f},n.prototype.clampData=function(e,s){var f=this.getAxis("x").scale,p=this.getAxis("y").scale,h=f.getExtent(),_=p.getExtent(),M=f.parse(e[0]),L=p.parse(e[1]);return s=s||[],s[0]=Math.min(Math.max(Math.min(h[0],h[1]),M),Math.max(h[0],h[1])),s[1]=Math.min(Math.max(Math.min(_[0],_[1]),L),Math.max(_[0],_[1])),s},n.prototype.pointToData=function(e,s){var f=[];if(this._invTransform)return eo(f,e,this._invTransform);var p=this.getAxis("x"),h=this.getAxis("y");return f[0]=p.coordToData(p.toLocalCoord(e[0]),s),f[1]=h.coordToData(h.toLocalCoord(e[1]),s),f},n.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},n.prototype.getArea=function(){var e=this.getAxis("x").getGlobalExtent(),s=this.getAxis("y").getGlobalExtent(),f=Math.min(e[0],e[1]),p=Math.min(s[0],s[1]),h=Math.max(e[0],e[1])-f,_=Math.max(s[0],s[1])-p;return new fo(f,p,h,_)},n}(p7),fI=fJ,EC=ol();function pJ(a){return a.type==="category"?h7(a):gJ(a)}function vJ(a,n){return a.type==="category"?hJ(a,n):{ticks:H.H(a.scale.getTicks(),function(e){return e.value})}}function h7(a){var n=a.getLabelModel(),e=g7(a,n);return!n.get("show")||a.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function g7(a,n){var e=m7(a,"labels"),s=lI(n),f=nk(e,s);if(f)return f;var p,h;return H.w(s)?p=O7(a,s):(h=s==="auto"?mJ(a):s,p=b7(a,h)),_7(e,s,{labels:p,labelCategoryInterval:h})}function hJ(a,n){var e=m7(a,"ticks"),s=lI(n),f=nk(e,s);if(f)return f;var p,h;if((!n.get("show")||a.scale.isBlank())&&(p=[]),H.w(s))p=O7(a,s,!0);else if(s==="auto"){var _=g7(a,a.getLabelModel());h=_.labelCategoryInterval,p=H.H(_.labels,function(M){return M.tickValue})}else h=s,p=b7(a,h,!0);return _7(e,s,{ticks:p,tickCategoryInterval:h})}function gJ(a){var n=a.scale.getTicks(),e=SS(a);return{labels:H.H(n,function(s,f){return{level:s.level,formattedLabel:e(s,f),rawLabel:a.scale.getLabel(s),tickValue:s.value}})}}function m7(a,n){return EC(a)[n]||(EC(a)[n]=[])}function nk(a,n){for(var e=0;e<a.length;e++)if(a[e].key===n)return a[e].value}function _7(a,n,e){return a.push({key:n,value:e}),e}function mJ(a){var n=EC(a).autoInterval;return n!=null?n:EC(a).autoInterval=a.calculateCategoryInterval()}function _J(a){var n=y7(a),e=SS(a),s=(n.axisRotate-n.labelRotate)/180*Math.PI,f=a.scale,p=f.getExtent(),h=f.count();if(p[1]-p[0]<1)return 0;var _=1;h>40&&(_=Math.max(1,Math.floor(h/40)));for(var M=p[0],L=a.dataToCoord(M+1)-a.dataToCoord(M),z=Math.abs(L*Math.cos(s)),Y=Math.abs(L*Math.sin(s)),q=0,se=0;M<=p[1];M+=_){var ye=0,je=0,De=Rl(e({value:M}),n.font,"center","top");ye=De.width*1.3,je=De.height*1.3,q=Math.max(q,ye,7),se=Math.max(se,je,7)}var We=q/z,st=se/Y;isNaN(We)&&(We=Infinity),isNaN(st)&&(st=Infinity);var dt=Math.max(0,Math.floor(Math.min(We,st))),Mt=EC(a.model),nn=a.getExtent(),rn=Mt.lastAutoInterval,Cn=Mt.lastTickCount;return rn!=null&&Cn!=null&&Math.abs(rn-dt)<=1&&Math.abs(Cn-h)<=1&&rn>dt&&Mt.axisExtent0===nn[0]&&Mt.axisExtent1===nn[1]?dt=rn:(Mt.lastTickCount=h,Mt.lastAutoInterval=dt,Mt.axisExtent0=nn[0],Mt.axisExtent1=nn[1]),dt}function y7(a){var n=a.getLabelModel();return{axisRotate:a.getRotate?a.getRotate():a.isHorizontal&&!a.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}}function b7(a,n,e){var s=SS(a),f=a.scale,p=f.getExtent(),h=a.getLabelModel(),_=[],M=Math.max((n||0)+1,1),L=p[0],z=f.count();L!==0&&M>1&&z/M>2&&(L=Math.round(Math.ceil(L/M)*M));var Y=uI(a),q=h.get("showMinLabel")||Y,se=h.get("showMaxLabel")||Y;q&&L!==p[0]&&je(p[0]);for(var ye=L;ye<=p[1];ye+=M)je(ye);se&&ye-M!==p[1]&&je(p[1]);function je(De){var We={value:De};_.push(e?De:{formattedLabel:s(We),rawLabel:f.getLabel(We),tickValue:De})}return _}function O7(a,n,e){var s=a.scale,f=SS(a),p=[];return H.k(s.getTicks(),function(h){var _=s.getLabel(h),M=h.value;n(h.value,_)&&p.push(e?M:{formattedLabel:f(h),rawLabel:_,tickValue:M})}),p}var pI=[0,1],yJ=function(){function a(n,e,s){this.onBand=!1,this.inverse=!1,this.dim=n,this.scale=e,this._extent=s||[0,0]}return a.prototype.contain=function(n){var e=this._extent,s=Math.min(e[0],e[1]),f=Math.max(e[0],e[1]);return n>=s&&n<=f},a.prototype.containData=function(n){return this.scale.contain(n)},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.getPixelPrecision=function(n){return Nl(n||this.scale.getExtent(),this._extent)},a.prototype.setExtent=function(n,e){var s=this._extent;s[0]=n,s[1]=e},a.prototype.dataToCoord=function(n,e){var s=this._extent,f=this.scale;return n=f.normalize(n),this.onBand&&f.type==="ordinal"&&(s=s.slice(),C7(s,f.count())),Yo(n,pI,s,e)},a.prototype.coordToData=function(n,e){var s=this._extent,f=this.scale;this.onBand&&f.type==="ordinal"&&(s=s.slice(),C7(s,f.count()));var p=Yo(n,s,pI,e);return this.scale.scale(p)},a.prototype.pointToData=function(n,e){},a.prototype.getTicksCoords=function(n){n=n||{};var e=n.tickModel||this.getTickModel(),s=vJ(this,e),f=s.ticks,p=Object(H.H)(f,function(_){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(_):_),tickValue:_}},this),h=e.get("alignWithLabel");return bJ(this,p,h,n.clamp),p},a.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var n=this.model.getModel("minorTick"),e=n.get("splitNumber");e>0&&e<100||(e=5);var s=this.scale.getMinorTicks(e),f=Object(H.H)(s,function(p){return Object(H.H)(p,function(h){return{coord:this.dataToCoord(h),tickValue:h}},this)},this);return f},a.prototype.getViewLabels=function(){return pJ(this).labels},a.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},a.prototype.getTickModel=function(){return this.model.getModel("axisTick")},a.prototype.getBandWidth=function(){var n=this._extent,e=this.scale.getExtent(),s=e[1]-e[0]+(this.onBand?1:0);s===0&&(s=1);var f=Math.abs(n[1]-n[0]);return Math.abs(f)/s},a.prototype.calculateCategoryInterval=function(){return _J(this)},a}();function C7(a,n){var e=a[1]-a[0],s=n,f=e/s/2;a[0]+=f,a[1]-=f}function bJ(a,n,e,s){var f=n.length;if(!a.onBand||e||!f)return;var p=a.getExtent(),h,_;if(f===1)n[0].coord=p[0],h=n[1]={coord:p[0]};else{var M=n[f-1].tickValue-n[0].tickValue,L=(n[f-1].coord-n[0].coord)/M;Object(H.k)(n,function(se){se.coord-=L/2});var z=a.scale.getExtent();_=1+z[1]-n[f-1].tickValue,h={coord:n[f-1].coord+L*_},n.push(h)}var Y=p[0]>p[1];q(n[0].coord,p[0])&&(s?n[0].coord=p[0]:n.shift()),s&&q(p[0],n[0].coord)&&n.unshift({coord:p[0]}),q(p[1],h.coord)&&(s?h.coord=p[1]:n.pop()),s&&q(h.coord,p[1])&&n.push({coord:p[1]});function q(se,ye){return se=ds(se),ye=ds(ye),Y?se>ye:se<ye}}var ym=yJ,OJ=function(a){Qe(n,a);function n(e,s,f,p,h){var _=a.call(this,e,s,f)||this;return _.index=0,_.type=p||"value",_.position=h||"bottom",_}return n.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},n.prototype.getGlobalExtent=function(e){var s=this.getExtent();return s[0]=this.toGlobalCoord(s[0]),s[1]=this.toGlobalCoord(s[1]),e&&s[0]>s[1]&&s.reverse(),s},n.prototype.pointToData=function(e,s){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),s)},n.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},n}(ym),CJ=OJ;function vI(a,n,e){e=e||{};var s=a.coordinateSystem,f=n.axis,p={},h=f.getAxesOnZeroOf()[0],_=f.position,M=h?"onZero":_,L=f.dim,z=s.getRect(),Y=[z.x,z.x+z.width,z.y,z.y+z.height],q={left:0,right:1,top:0,bottom:1,onZero:2},se=n.get("offset")||0,ye=L==="x"?[Y[2]-se,Y[3]+se]:[Y[0]-se,Y[1]+se];if(h){var je=h.toGlobalCoord(h.dataToCoord(0));ye[q.onZero]=Math.max(Math.min(je,ye[1]),ye[0])}p.position=[L==="y"?ye[q[M]]:Y[0],L==="x"?ye[q[M]]:Y[3]],p.rotation=Math.PI/2*(L==="x"?0:1);var De={top:-1,bottom:1,left:-1,right:1};p.labelDirection=p.tickDirection=p.nameDirection=De[_],p.labelOffset=h?ye[q[_]]-ye[q.onZero]:0,n.get(["axisTick","inside"])&&(p.tickDirection=-p.tickDirection),H.O(e.labelInside,n.get(["axisLabel","inside"]))&&(p.labelDirection=-p.labelDirection);var We=n.get(["axisLabel","rotate"]);return p.labelRotate=M==="top"?-We:We,p.z2=1,p}function E7(a){return a.get("coordinateSystem")==="cartesian2d"}function wS(a){var n={xAxisModel:null,yAxisModel:null};return H.k(n,function(e,s){var f=s.replace(/Model$/,""),p=a.getReferringComponents(f,Vu).models[0];n[s]=p}),n}var hI=Math.log;function x7(a,n,e){var s=Jy.prototype,f=s.getTicks.call(e),p=s.getTicks.call(e,!0),h=f.length-1,_=s.getInterval.call(e),M=sI(a,n),L=M.extent,z=M.fixMin,Y=M.fixMax;if(a.type==="log"){var q=hI(a.base);L=[hI(L[0])/q,hI(L[1])/q]}a.setExtent(L[0],L[1]),a.calcNiceExtent({splitNumber:h,fixMin:z,fixMax:Y});var se=s.getExtent.call(a);z&&(L[0]=se[0]),Y&&(L[1]=se[1]);var ye=s.getInterval.call(a),je=L[0],De=L[1];if(z&&Y)ye=(De-je)/h;else if(z)for(De=L[0]+ye*h;De<L[1]&&isFinite(De)&&isFinite(L[1]);)ye=WA(ye),De=L[0]+ye*h;else if(Y)for(je=L[1]-ye*h;je>L[0]&&isFinite(je)&&isFinite(L[0]);)ye=WA(ye),je=L[1]-ye*h;else{var We=a.getTicks().length-1;We>h&&(ye=WA(ye));var st=ye*h;De=Math.ceil(L[1]/ye)*ye,je=ds(De-st),je<0&&L[0]>=0?(je=0,De=ds(st)):De>0&&L[1]<=0&&(De=0,je=-ds(st))}var dt=(f[0].value-p[0].value)/_,Mt=(f[h].value-p[h].value)/_;if(s.setExtent.call(a,je+ye*dt,De+ye*Mt),s.setInterval.call(a,ye),(dt||Mt)&&s.setNiceExtent.call(a,je+ye,De-ye),!1)var nn}var EJ=function(){function a(n,e,s){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=dI,this._initCartesian(n,e,s),this.model=n}return a.prototype.getRect=function(){return this._rect},a.prototype.update=function(n,e){var s=this._axesMap;this._updateScale(n,this.model);function f(h){var _,M=Object(H.F)(h),L=M.length;if(!!L){for(var z=[],Y=L-1;Y>=0;Y--){var q=+M[Y],se=h[q],ye=se.model,je=se.scale;aI(je)&&ye.get("alignTicks")&&ye.get("interval")==null?z.push(se):(CC(je,ye),aI(je)&&(_=se))}z.length&&(_||(_=z.pop(),CC(_.scale,_.model)),Object(H.k)(z,function(De){x7(De.scale,De.model,_.scale)}))}}f(s.x),f(s.y);var p={};Object(H.k)(s.x,function(h){S7(s,"y",h,p)}),Object(H.k)(s.y,function(h){S7(s,"x",h,p)}),this.resize(this.model,e)},a.prototype.resize=function(n,e,s){var f=n.getBoxLayoutParams(),p=!s&&n.get("containLabel"),h=Pv(f,{width:e.getWidth(),height:e.getHeight()});this._rect=h;var _=this._axesList;M(),p&&(Object(H.k)(_,function(L){if(!L.model.get(["axisLabel","inside"])){var z=Cc(L);if(z){var Y=L.isHorizontal()?"height":"width",q=L.model.get(["axisLabel","margin"]);h[Y]-=z[Y]+q,L.position==="top"?h.y+=z.height+q:L.position==="left"&&(h.x+=z.width+q)}}}),M()),Object(H.k)(this._coordsList,function(L){L.calcAffineTransform()});function M(){Object(H.k)(_,function(L){var z=L.isHorizontal(),Y=z?[0,h.width]:[0,h.height],q=L.inverse?1:0;L.setExtent(Y[q],Y[1-q]),T7(L,z?h.x:h.y)})}},a.prototype.getAxis=function(n,e){var s=this._axesMap[n];if(s!=null)return s[e||0]},a.prototype.getAxes=function(){return this._axesList.slice()},a.prototype.getCartesian=function(n,e){if(n!=null&&e!=null){var s="x"+n+"y"+e;return this._coordsMap[s]}Object(H.A)(n)&&(e=n.yAxisIndex,n=n.xAxisIndex);for(var f=0,p=this._coordsList;f<p.length;f++)if(p[f].getAxis("x").index===n||p[f].getAxis("y").index===e)return p[f]},a.prototype.getCartesians=function(){return this._coordsList.slice()},a.prototype.convertToPixel=function(n,e,s){var f=this._findConvertTarget(e);return f.cartesian?f.cartesian.dataToPoint(s):f.axis?f.axis.toGlobalCoord(f.axis.dataToCoord(s)):null},a.prototype.convertFromPixel=function(n,e,s){var f=this._findConvertTarget(e);return f.cartesian?f.cartesian.pointToData(s):f.axis?f.axis.coordToData(f.axis.toLocalCoord(s)):null},a.prototype._findConvertTarget=function(n){var e=n.seriesModel,s=n.xAxisModel||e&&e.getReferringComponents("xAxis",Vu).models[0],f=n.yAxisModel||e&&e.getReferringComponents("yAxis",Vu).models[0],p=n.gridModel,h=this._coordsList,_,M;if(e)_=e.coordinateSystem,Object(H.r)(h,_)<0&&(_=null);else if(s&&f)_=this.getCartesian(s.componentIndex,f.componentIndex);else if(s)M=this.getAxis("x",s.componentIndex);else if(f)M=this.getAxis("y",f.componentIndex);else if(p){var L=p.coordinateSystem;L===this&&(_=this._coordsList[0])}return{cartesian:_,axis:M}},a.prototype.containPoint=function(n){var e=this._coordsList[0];if(e)return e.containPoint(n)},a.prototype._initCartesian=function(n,e,s){var f=this,p=this,h={left:!1,right:!1,top:!1,bottom:!1},_={x:{},y:{}},M={x:0,y:0};if(e.eachComponent("xAxis",L("x"),this),e.eachComponent("yAxis",L("y"),this),!M.x||!M.y){this._axesMap={},this._axesList=[];return}this._axesMap=_,Object(H.k)(_.x,function(z,Y){Object(H.k)(_.y,function(q,se){var ye="x"+Y+"y"+se,je=new fI(ye);je.master=f,je.model=n,f._coordsMap[ye]=je,f._coordsList.push(je),je.addAxis(z),je.addAxis(q)})});function L(z){return function(Y,q){if(!!gI(Y,n)){var se=Y.get("position");z==="x"?se!=="top"&&se!=="bottom"&&(se=h.bottom?"top":"bottom"):se!=="left"&&se!=="right"&&(se=h.left?"right":"left"),h[se]=!0;var ye=new CJ(z,ek(Y),[0,0],Y.get("type"),se),je=ye.type==="category";ye.onBand=je&&Y.get("boundaryGap"),ye.inverse=Y.get("inverse"),Y.axis=ye,ye.model=Y,ye.grid=p,ye.index=q,p._axesList.push(ye),_[z][q]=ye,M[z]++}}}},a.prototype._updateScale=function(n,e){Object(H.k)(this._axesList,function(f){if(f.scale.setExtent(Infinity,-Infinity),f.type==="category"){var p=f.model.get("categorySortInfo");f.scale.setSortInfo(p)}}),n.eachSeries(function(f){if(E7(f)){var p=wS(f),h=p.xAxisModel,_=p.yAxisModel;if(!gI(h,e)||!gI(_,e))return;var M=this.getCartesian(h.componentIndex,_.componentIndex),L=f.getData(),z=M.getAxis("x"),Y=M.getAxis("y");s(L,z),s(L,Y)}},this);function s(f,p){Object(H.k)(tk(f,p.dim),function(h){p.scale.unionExtentFromData(f,h)})}},a.prototype.getTooltipAxes=function(n){var e=[],s=[];return Object(H.k)(this.getCartesians(),function(f){var p=n!=null&&n!=="auto"?f.getAxis(n):f.getBaseAxis(),h=f.getOtherAxis(p);Object(H.r)(e,p)<0&&e.push(p),Object(H.r)(s,h)<0&&s.push(h)}),{baseAxes:e,otherAxes:s}},a.create=function(n,e){var s=[];return n.eachComponent("grid",function(f,p){var h=new a(f,n,e);h.name="grid_"+p,h.resize(f,e,!0),f.coordinateSystem=h,s.push(h)}),n.eachSeries(function(f){if(!!E7(f)){var p=wS(f),h=p.xAxisModel,_=p.yAxisModel,M=h.getCoordSysModel(),L=M.coordinateSystem;f.coordinateSystem=L.getCartesian(h.componentIndex,_.componentIndex)}}),s},a.dimensions=dI,a}();function gI(a,n){return a.getCoordSysModel()===n}function S7(a,n,e,s){e.getAxesOnZeroOf=function(){return p?[p]:[]};var f=a[n],p,h=e.model,_=h.get(["axisLine","onZero"]),M=h.get(["axisLine","onZeroAxisIndex"]);if(!_)return;if(M!=null)w7(f[M])&&(p=f[M]);else for(var L in f)if(f.hasOwnProperty(L)&&w7(f[L])&&!s[z(f[L])]){p=f[L];break}p&&(s[z(p)]=!0);function z(Y){return Y.dim+"_"+Y.index}}function w7(a){return a&&a.type!=="category"&&a.type!=="time"&&lJ(a)}function T7(a,n){var e=a.getExtent(),s=e[0]+e[1];a.toGlobalCoord=a.dim==="x"?function(f){return f+n}:function(f){return s-f+n},a.toLocalCoord=a.dim==="x"?function(f){return f-n}:function(f){return s-f+n}}var xJ=EJ,Zy=Math.PI,N1=function(){function a(n,e){this.group=new _s,this.opt=e,this.axisModel=n,Object(H.i)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var s=new _s({x:e.position[0],y:e.position[1],rotation:e.rotation});s.updateTransform(),this._transformGroup=s}return a.prototype.hasBuilder=function(n){return!!A7[n]},a.prototype.add=function(n){A7[n](this.opt,this.axisModel,this.group,this._transformGroup)},a.prototype.getGroup=function(){return this.group},a.innerTextLayout=function(n,e,s){var f=Ws(e-n),p,h;return re(f)?(h=s>0?"top":"bottom",p="center"):re(f-Zy)?(h=s>0?"bottom":"top",p="center"):(h="middle",f>0&&f<Zy?p=s>0?"right":"left":p=s>0?"left":"right"),{rotation:f,textAlign:p,textVerticalAlign:h}},a.makeAxisEventDataBase=function(n){var e={componentType:n.mainType,componentIndex:n.componentIndex};return e[n.mainType+"Index"]=n.componentIndex,e},a.isLabelSilent=function(n){var e=n.get("tooltip");return n.get("silent")||!(n.get("triggerEvent")||e&&e.show)},a}(),A7={axisLine:function(a,n,e,s){var f=n.get(["axisLine","show"]);if(f==="auto"&&a.handleAutoShown&&(f=a.handleAutoShown("axisLine")),!!f){var p=n.axis.getExtent(),h=s.transform,_=[p[0],0],M=[p[1],0],L=_[0]>M[0];h&&(eo(_,_,h),eo(M,M,h));var z=Object(H.m)({lineCap:"round"},n.getModel(["axisLine","lineStyle"]).getLineStyle()),Y=new _h({shape:{x1:_[0],y1:_[1],x2:M[0],y2:M[1]},style:z,strokeContainThreshold:a.strokeContainThreshold||5,silent:!0,z2:1});Wh(Y.shape,Y.style.lineWidth),Y.anid="line",e.add(Y);var q=n.get(["axisLine","symbol"]);if(q!=null){var se=n.get(["axisLine","symbolSize"]);Object(H.C)(q)&&(q=[q,q]),(Object(H.C)(se)||Object(H.z)(se))&&(se=[se,se]);var ye=oC(n.get(["axisLine","symbolOffset"])||0,se),je=se[0],De=se[1];Object(H.k)([{rotate:a.rotation+Math.PI/2,offset:ye[0],r:0},{rotate:a.rotation-Math.PI/2,offset:ye[1],r:Math.sqrt((_[0]-M[0])*(_[0]-M[0])+(_[1]-M[1])*(_[1]-M[1]))}],function(We,st){if(q[st]!=="none"&&q[st]!=null){var dt=Rv(q[st],-je/2,-De/2,je,De,z.stroke,!0),Mt=We.r+We.offset,nn=L?M:_;dt.attr({rotation:We.rotate,x:nn[0]+Mt*Math.cos(a.rotation),y:nn[1]-Mt*Math.sin(a.rotation),silent:!0,z2:11}),e.add(dt)}})}}},axisTickLabel:function(a,n,e,s){var f=wJ(e,s,n,a),p=TJ(e,s,n,a);if(Qy(n,p,f),$m(e,s,n,a.tickDirection),n.get(["axisLabel","hideOverlap"])){var h=k5(Object(H.H)(p,function(_){return{label:_,priority:_.z2,defaultAttr:{ignore:_.ignore}}}));P5(h)}},axisName:function(a,n,e,s){var f=Object(H.O)(a.axisName,n.get("name"));if(!!f){var p=n.get("nameLocation"),h=a.nameDirection,_=n.getModel("nameTextStyle"),M=n.get("nameGap")||0,L=n.axis.getExtent(),z=L[0]>L[1]?-1:1,Y=[p==="start"?L[0]-z*M:p==="end"?L[1]+z*M:(L[0]+L[1])/2,j7(p)?a.labelOffset+h*M:0],q,se=n.get("nameRotate");se!=null&&(se=se*Zy/180);var ye;j7(p)?q=N1.innerTextLayout(a.rotation,se!=null?se:a.rotation,h):(q=SJ(a.rotation,p,se||0,L),ye=a.axisNameAvailableWidth,ye!=null&&(ye=Math.abs(ye/Math.sin(q.rotation)),!isFinite(ye)&&(ye=null)));var je=_.getFont(),De=n.get("nameTruncate",!0)||{},We=De.ellipsis,st=Object(H.O)(a.nameTruncateMaxWidth,De.maxWidth,ye),dt=new Ho({x:Y[0],y:Y[1],rotation:q.rotation,silent:N1.isLabelSilent(n),style:ep(_,{text:f,font:je,overflow:"truncate",width:st,ellipsis:We,fill:_.getTextColor()||n.get(["axisLine","lineStyle","color"]),align:_.get("align")||q.textAlign,verticalAlign:_.get("verticalAlign")||q.textVerticalAlign}),z2:1});if(nC({el:dt,componentModel:n,itemName:f}),dt.__fullText=f,dt.anid="name",n.get("triggerEvent")){var Mt=N1.makeAxisEventDataBase(n);Mt.targetType="axisName",Mt.name=f,sc(dt).eventData=Mt}s.add(dt),dt.updateTransform(),e.add(dt),dt.decomposeTransform()}}};function SJ(a,n,e,s){var f=Ws(e-a),p,h,_=s[0]>s[1],M=n==="start"&&!_||n!=="start"&&_;return re(f-Zy/2)?(h=M?"bottom":"top",p="center"):re(f-Zy*1.5)?(h=M?"top":"bottom",p="center"):(h="middle",f<Zy*1.5&&f>Zy/2?p=M?"left":"right":p=M?"right":"left"),{rotation:f,textAlign:p,textVerticalAlign:h}}function Qy(a,n,e){if(!uI(a.axis)){var s=a.get(["axisLabel","showMinLabel"]),f=a.get(["axisLabel","showMaxLabel"]);n=n||[],e=e||[];var p=n[0],h=n[1],_=n[n.length-1],M=n[n.length-2],L=e[0],z=e[1],Y=e[e.length-1],q=e[e.length-2];s===!1?(Wg(p),Wg(L)):k7(p,h)&&(s?(Wg(h),Wg(z)):(Wg(p),Wg(L))),f===!1?(Wg(_),Wg(Y)):k7(M,_)&&(f?(Wg(M),Wg(q)):(Wg(_),Wg(Y)))}}function Wg(a){a&&(a.ignore=!0)}function k7(a,n){var e=a&&a.getBoundingRect().clone(),s=n&&n.getBoundingRect().clone();if(!(!e||!s)){var f=Fn([]);return ga(f,f,-a.rotation),e.applyTransform(Ir([],f,a.getLocalTransform())),s.applyTransform(Ir([],f,n.getLocalTransform())),e.intersect(s)}}function j7(a){return a==="middle"||a==="center"}function TS(a,n,e,s,f){for(var p=[],h=[],_=[],M=0;M<a.length;M++){var L=a[M].coord;h[0]=L,h[1]=0,_[0]=L,_[1]=e,n&&(eo(h,h,n),eo(_,_,n));var z=new _h({shape:{x1:h[0],y1:h[1],x2:_[0],y2:_[1]},style:s,z2:2,autoBatch:!0,silent:!0});Wh(z.shape,z.style.lineWidth),z.anid=f+"_"+a[M].tickValue,p.push(z)}return p}function wJ(a,n,e,s){var f=e.axis,p=e.getModel("axisTick"),h=p.get("show");if(h==="auto"&&s.handleAutoShown&&(h=s.handleAutoShown("axisTick")),!(!h||f.scale.isBlank())){for(var _=p.getModel("lineStyle"),M=s.tickDirection*p.get("length"),L=f.getTicksCoords(),z=TS(L,n.transform,M,Object(H.i)(_.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),Y=0;Y<z.length;Y++)a.add(z[Y]);return z}}function $m(a,n,e,s){var f=e.axis,p=e.getModel("minorTick");if(!(!p.get("show")||f.scale.isBlank())){var h=f.getMinorTicksCoords();if(!!h.length)for(var _=p.getModel("lineStyle"),M=s*p.get("length"),L=Object(H.i)(_.getLineStyle(),Object(H.i)(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),z=0;z<h.length;z++)for(var Y=TS(h[z],n.transform,M,L,"minorticks_"+z),q=0;q<Y.length;q++)a.add(Y[q])}}function TJ(a,n,e,s){var f=e.axis,p=Object(H.O)(s.axisLabelShow,e.get(["axisLabel","show"]));if(!(!p||f.scale.isBlank())){var h=e.getModel("axisLabel"),_=h.get("margin"),M=f.getViewLabels(),L=(Object(H.O)(s.labelRotate,h.get("rotate"))||0)*Zy/180,z=N1.innerTextLayout(s.rotation,L,s.labelDirection),Y=e.getCategories&&e.getCategories(!0),q=[],se=N1.isLabelSilent(e),ye=e.get("triggerEvent");return Object(H.k)(M,function(je,De){var We=f.scale.type==="ordinal"?f.scale.getRawOrdinalNumber(je.tickValue):je.tickValue,st=je.formattedLabel,dt=je.rawLabel,Mt=h;if(Y&&Y[We]){var nn=Y[We];Object(H.A)(nn)&&nn.textStyle&&(Mt=new tp(nn.textStyle,h,e.ecModel))}var rn=Mt.getTextColor()||e.get(["axisLine","lineStyle","color"]),Cn=f.dataToCoord(We),er=new Ho({x:Cn,y:s.labelOffset+s.labelDirection*_,rotation:z.rotation,silent:se,z2:10+(je.level||0),style:ep(Mt,{text:st,align:Mt.getShallow("align",!0)||z.textAlign,verticalAlign:Mt.getShallow("verticalAlign",!0)||Mt.getShallow("baseline",!0)||z.textVerticalAlign,fill:Object(H.w)(rn)?rn(f.type==="category"?dt:f.type==="value"?We+"":We,De):rn})});if(er.anid="label_"+We,ye){var ir=N1.makeAxisEventDataBase(e);ir.targetType="axisLabel",ir.value=dt,ir.tickIndex=De,f.type==="category"&&(ir.dataIndex=We),sc(er).eventData=ir}n.add(er),er.updateTransform(),q.push(er),a.add(er),er.decomposeTransform()}),q}}var F0=N1;function AJ(a,n){var e={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return kJ(e,a,n),e.seriesInvolved&&MJ(e,a),e}function kJ(a,n,e){var s=n.getComponent("tooltip"),f=n.getComponent("axisPointer"),p=f.get("link",!0)||[],h=[];Object(H.k)(e.getCoordinateSystems(),function(_){if(!_.axisPointerEnabled)return;var M=AS(_.model),L=a.coordSysAxesInfo[M]={};a.coordSysMap[M]=_;var z=_.model,Y=z.getModel("tooltip",s);if(Object(H.k)(_.getAxes(),Object(H.h)(je,!1,null)),_.getTooltipAxes&&s&&Y.get("show")){var q=Y.get("trigger")==="axis",se=Y.get(["axisPointer","type"])==="cross",ye=_.getTooltipAxes(Y.get(["axisPointer","axis"]));(q||se)&&Object(H.k)(ye.baseAxes,Object(H.h)(je,se?"cross":!0,q)),se&&Object(H.k)(ye.otherAxes,Object(H.h)(je,"cross",!1))}function je(De,We,st){var dt=st.model.getModel("axisPointer",f),Mt=dt.get("show");if(!(!Mt||Mt==="auto"&&!De&&!_I(dt))){We==null&&(We=dt.get("triggerTooltip")),dt=De?jJ(st,Y,f,n,De,We):dt;var nn=dt.get("snap"),rn=AS(st.model),Cn=We||nn||st.type==="category",er=a.axesInfo[rn]={key:rn,axis:st,coordSys:_,axisPointerModel:dt,triggerTooltip:We,involveSeries:Cn,snap:nn,useHandle:_I(dt),seriesModels:[],linkGroup:null};L[rn]=er,a.seriesInvolved=a.seriesInvolved||Cn;var ir=PJ(p,st);if(ir!=null){var dr=h[ir]||(h[ir]={axesInfo:{}});dr.axesInfo[rn]=er,dr.mapper=p[ir].mapper,er.linkGroup=dr}}}})}function jJ(a,n,e,s,f,p){var h=n.getModel("axisPointer"),_=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],M={};Object(H.k)(_,function(q){M[q]=Object(H.d)(h.get(q))}),M.snap=a.type!=="category"&&!!p,h.get("type")==="cross"&&(M.type="line");var L=M.label||(M.label={});if(L.show==null&&(L.show=!1),f==="cross"){var z=h.get(["label","show"]);if(L.show=z!=null?z:!0,!p){var Y=M.lineStyle=h.get("crossStyle");Y&&Object(H.i)(L,Y.textStyle)}}return a.model.getModel("axisPointer",new tp(M,e,s))}function MJ(a,n){n.eachSeries(function(e){var s=e.coordinateSystem,f=e.get(["tooltip","trigger"],!0),p=e.get(["tooltip","show"],!0);!s||f==="none"||f===!1||f==="item"||p===!1||e.get(["axisPointer","show"],!0)===!1||Object(H.k)(a.coordSysAxesInfo[AS(s.model)],function(h){var _=h.axis;s.getAxis(_.dim)===_&&(h.seriesModels.push(e),h.seriesDataCount==null&&(h.seriesDataCount=0),h.seriesDataCount+=e.getData().count())})})}function PJ(a,n){for(var e=n.model,s=n.dim,f=0;f<a.length;f++){var p=a[f]||{};if(xC(p[s+"AxisId"],e.id)||xC(p[s+"AxisIndex"],e.componentIndex)||xC(p[s+"AxisName"],e.name))return f}}function xC(a,n){return a==="all"||Object(H.t)(a)&&Object(H.r)(a,n)>=0||a===n}function RJ(a){var n=mI(a);if(!!n){var e=n.axisPointerModel,s=n.axis.scale,f=e.option,p=e.get("status"),h=e.get("value");h!=null&&(h=s.parse(h));var _=_I(e);p==null&&(f.status=_?"show":"hide");var M=s.getExtent().slice();M[0]>M[1]&&M.reverse(),(h==null||h>M[1])&&(h=M[1]),h<M[0]&&(h=M[0]),f.value=h,_&&(f.status=n.axis.scale.isBlank()?"hide":"show")}}function mI(a){var n=(a.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return n&&n.axesInfo[AS(a)]}function DJ(a){var n=mI(a);return n&&n.axisPointerModel}function _I(a){return!!a.get(["handle","show"])}function AS(a){return a.type+"||"+a.id}var M7={},IJ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f,p){this.axisPointerClass&&RJ(e),a.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,f,!0)},n.prototype.updateAxisPointer=function(e,s,f,p){this._doUpdateAxisPointerClass(e,f,!1)},n.prototype.remove=function(e,s){var f=this._axisPointer;f&&f.remove(s)},n.prototype.dispose=function(e,s){this._disposeAxisPointer(s),a.prototype.dispose.apply(this,arguments)},n.prototype._doUpdateAxisPointerClass=function(e,s,f){var p=n.getAxisPointerClass(this.axisPointerClass);if(!!p){var h=DJ(e);h?(this._axisPointer||(this._axisPointer=new p)).render(e,h,s,f):this._disposeAxisPointer(s)}},n.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},n.registerAxisPointerClass=function(e,s){M7[e]=s},n.getAxisPointerClass=function(e){return e&&M7[e]},n.type="axis",n}(Np),L1=IJ,yI=ol();function F1(a,n,e,s){var f=e.axis;if(!f.scale.isBlank()){var p=e.getModel("splitArea"),h=p.getModel("areaStyle"),_=h.get("color"),M=s.coordinateSystem.getRect(),L=f.getTicksCoords({tickModel:p,clamp:!0});if(!!L.length){var z=_.length,Y=yI(a).splitAreaColors,q=H.f(),se=0;if(Y)for(var ye=0;ye<L.length;ye++){var je=Y.get(L[ye].tickValue);if(je!=null){se=(je+(z-1)*ye)%z;break}}var De=f.toGlobalCoord(L[0].coord),We=h.getAreaStyle();_=H.t(_)?_:[_];for(var ye=1;ye<L.length;ye++){var st=f.toGlobalCoord(L[ye].coord),dt=void 0,Mt=void 0,nn=void 0,rn=void 0;f.isHorizontal()?(dt=De,Mt=M.y,nn=st-dt,rn=M.height,De=dt+nn):(dt=M.x,Mt=De,nn=M.width,rn=st-Mt,De=Mt+rn);var Cn=L[ye-1].tickValue;Cn!=null&&q.set(Cn,se),n.add(new Ic({anid:Cn!=null?"area_"+Cn:null,shape:{x:dt,y:Mt,width:nn,height:rn},style:H.i({fill:_[se]},We),autoBatch:!0,silent:!0})),se=(se+1)%z}yI(a).splitAreaColors=q}}}function P7(a){yI(a).splitAreaColors=null}var NJ=["axisLine","axisTickLabel","axisName"],LJ=["splitArea","splitLine","minorSplitLine"],rk=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="CartesianAxisPointer",e}return n.prototype.render=function(e,s,f,p){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new _s,this.group.add(this._axisGroup),!!e.get("show")){var _=e.getCoordSysModel(),M=vI(_,e),L=new F0(e,H.m({handleAutoShown:function(Y){for(var q=_.coordinateSystem.getCartesians(),se=0;se<q.length;se++)if(aI(q[se].getOtherAxis(e.axis).scale))return!0;return!1}},M));H.k(NJ,L.add,L),this._axisGroup.add(L.getGroup()),H.k(LJ,function(Y){e.get([Y,"show"])&&FJ[Y](this,this._axisGroup,e,_)},this);var z=p&&p.type==="changeAxisOrder"&&p.isInitSort;z||Wx(h,this._axisGroup,e),a.prototype.render.call(this,e,s,f,p)}},n.prototype.remove=function(){P7(this)},n.type="cartesianAxis",n}(L1),FJ={splitLine:function(a,n,e,s){var f=e.axis;if(!f.scale.isBlank()){var p=e.getModel("splitLine"),h=p.getModel("lineStyle"),_=h.get("color");_=H.t(_)?_:[_];for(var M=s.coordinateSystem.getRect(),L=f.isHorizontal(),z=0,Y=f.getTicksCoords({tickModel:p}),q=[],se=[],ye=h.getLineStyle(),je=0;je<Y.length;je++){var De=f.toGlobalCoord(Y[je].coord);L?(q[0]=De,q[1]=M.y,se[0]=De,se[1]=M.y+M.height):(q[0]=M.x,q[1]=De,se[0]=M.x+M.width,se[1]=De);var We=z++%_.length,st=Y[je].tickValue,dt=new _h({anid:st!=null?"line_"+Y[je].tickValue:null,autoBatch:!0,shape:{x1:q[0],y1:q[1],x2:se[0],y2:se[1]},style:H.i({stroke:_[We]},ye),silent:!0});Wh(dt.shape,ye.lineWidth),n.add(dt)}}},minorSplitLine:function(a,n,e,s){var f=e.axis,p=e.getModel("minorSplitLine"),h=p.getModel("lineStyle"),_=s.coordinateSystem.getRect(),M=f.isHorizontal(),L=f.getMinorTicksCoords();if(!!L.length)for(var z=[],Y=[],q=h.getLineStyle(),se=0;se<L.length;se++)for(var ye=0;ye<L[se].length;ye++){var je=f.toGlobalCoord(L[se][ye].coord);M?(z[0]=je,z[1]=_.y,Y[0]=je,Y[1]=_.y+_.height):(z[0]=_.x,z[1]=je,Y[0]=_.x+_.width,Y[1]=je);var De=new _h({anid:"minor_line_"+L[se][ye].tickValue,autoBatch:!0,shape:{x1:z[0],y1:z[1],x2:Y[0],y2:Y[1]},style:q,silent:!0});Wh(De.shape,q.lineWidth),n.add(De)}},splitArea:function(a,n,e,s){F1(a,n,e,s)}},bI=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="xAxis",n}(rk),UJ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=bI.type,e}return n.type="yAxis",n}(rk),jse=rk,R7=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="grid",e}return n.prototype.render=function(e,s){this.group.removeAll(),e.get("show")&&this.group.add(new Ic({shape:e.coordinateSystem.getRect(),style:Object(H.i)({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},n.type="grid",n}(Np),D7={offset:0};function I7(a){a.registerComponentView(R7),a.registerComponentModel(zX),a.registerCoordinateSystem("cartesian2d",xJ),OC(a,"x",$A,D7),OC(a,"y",$A,D7),a.registerComponentView(bI),a.registerComponentView(UJ),a.registerPreprocessor(function(n){n.xAxis&&n.yAxis&&!n.grid&&(n.grid={})})}function BJ(a){Dd(I7),a.registerSeriesModel(DX),a.registerChartView(BX),a.registerLayout(_S("scatter"))}function VJ(a){a.eachSeriesByType("radar",function(n){var e=n.getData(),s=[],f=n.coordinateSystem;if(!!f){var p=f.getIndicatorAxes();H.k(p,function(h,_){e.each(e.mapDimension(p[_].dim),function(M,L){s[L]=s[L]||[];var z=f.dataToPoint(M,_);s[L][_]=N7(z)?z:L7(f)})}),e.each(function(h){var _=H.o(s[h],function(M){return N7(M)})||L7(f);s[h].push(_.slice()),e.setItemLayout(h,s[h])})}})}function N7(a){return!isNaN(a[0])&&!isNaN(a[1])}function L7(a){return[a.cx,a.cy]}function OI(a){var n=a.polar;if(n){H.t(n)||(n=[n]);var e=[];H.k(n,function(s,f){s.indicator?(s.type&&!s.shape&&(s.shape=s.type),a.radar=a.radar||[],H.t(a.radar)||(a.radar=[a.radar]),a.radar.push(s)):e.push(s)}),a.polar=e}H.k(a.series,function(s){s&&s.type==="radar"&&s.polarIndex&&(s.radarIndex=s.polarIndex)})}var CI=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=e.coordinateSystem,h=this.group,_=e.getData(),M=this._data;function L(q,se){var ye=q.getItemVisual(se,"symbol")||"circle";if(ye!=="none"){var je=qx(q.getItemVisual(se,"symbolSize")),De=Rv(ye,-1,-1,2,2),We=q.getItemVisual(se,"symbolRotate")||0;return De.attr({style:{strokeNoScale:!0},z2:100,scaleX:je[0]/2,scaleY:je[1]/2,rotation:We*Math.PI/180||0}),De}}function z(q,se,ye,je,De,We){ye.removeAll();for(var st=0;st<se.length-1;st++){var dt=L(je,De);dt&&(dt.__dimIdx=st,q[st]?(dt.setPosition(q[st]),E[We?"initProps":"updateProps"](dt,{x:se[st][0],y:se[st][1]},e,De)):dt.setPosition(se[st]),ye.add(dt))}}function Y(q){return H.H(q,function(se){return[p.cx,p.cy]})}_.diff(M).add(function(q){var se=_.getItemLayout(q);if(!!se){var ye=new $h,je=new Cg,De={shape:{points:se}};ye.shape.points=Y(se),je.shape.points=Y(se),dp(ye,De,e,q),dp(je,De,e,q);var We=new _s,st=new _s;We.add(je),We.add(ye),We.add(st),z(je.shape.points,se,st,_,q,!0),_.setItemGraphicEl(q,We)}}).update(function(q,se){var ye=M.getItemGraphicEl(se),je=ye.childAt(0),De=ye.childAt(1),We=ye.childAt(2),st={shape:{points:_.getItemLayout(q)}};!st.shape.points||(z(je.shape.points,st.shape.points,We,_,q,!1),Ug(De),Ug(je),pf(je,st,e),pf(De,st,e),_.setItemGraphicEl(q,ye))}).remove(function(q){h.remove(M.getItemGraphicEl(q))}).execute(),_.eachItemGraphicEl(function(q,se){var ye=_.getItemModel(se),je=q.childAt(0),De=q.childAt(1),We=q.childAt(2),st=_.getItemVisual(se,"style"),dt=st.fill;h.add(q),je.useStyle(H.i(ye.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:dt})),Qv(je,ye,"lineStyle"),Qv(De,ye,"areaStyle");var Mt=ye.getModel("areaStyle"),nn=Mt.isEmpty()&&Mt.parentModel.isEmpty();De.ignore=nn,H.k(["emphasis","select","blur"],function(er){var ir=ye.getModel([er,"areaStyle"]),dr=ir.isEmpty()&&ir.parentModel.isEmpty();De.ensureState(er).ignore=dr&&nn}),De.useStyle(H.i(Mt.getAreaStyle(),{fill:dt,opacity:.7,decal:st.decal}));var rn=ye.getModel("emphasis"),Cn=rn.getModel("itemStyle").getItemStyle();We.eachChild(function(er){if(er instanceof Gi){var ir=er.style;er.useStyle(H.m({image:ir.image,x:ir.x,y:ir.y,width:ir.width,height:ir.height},st))}else er.useStyle(st),er.setColor(dt),er.style.strokeNoScale=!0;var dr=er.ensureState("emphasis");dr.style=H.d(Cn);var pr=_.getStore().get(_.getDimensionIndex(er.__dimIdx),se);(pr==null||isNaN(pr))&&(pr=""),Wf(er,_f(ye),{labelFetcher:_.hostModel,labelDataIndex:se,labelDimIndex:er.__dimIdx,defaultText:pr,inheritColor:dt,defaultOpacity:st.opacity})}),Wp(q,rn.get("focus"),rn.get("blurScope"),rn.get("disabled"))}),this._data=_},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.type="radar",n}(np),zJ=CI,F7=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return n.prototype.init=function(e){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(H.c(this.getData,this),H.c(this.getRawData,this))},n.prototype.getInitialData=function(e,s){return I1(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},n.prototype.formatTooltip=function(e,s,f){var p=this.getData(),h=this.coordinateSystem,_=h.getIndicatorAxes(),M=this.getData().getName(e),L=M===""?this.name:M,z=YO(this,e);return th("section",{header:L,sortBlocks:!0,blocks:H.H(_,function(Y){var q=p.get(p.mapDimension(Y.dim),e);return th("nameValue",{markerType:"subItem",markerColor:z,name:Y.name,value:q,sortParam:q})})})},n.prototype.getTooltipPosition=function(e){if(e!=null){for(var s=this.getData(),f=this.coordinateSystem,p=s.getValues(H.H(f.dimensions,function(L){return s.mapDimension(L)}),e),h=0,_=p.length;h<_;h++)if(!isNaN(p[h])){var M=f.getIndicatorAxes();return f.coordToPoint(M[h].dataToCoord(p[h]),h)}}},n.type="series.radar",n.dependencies=["radar"],n.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},n}(mp),U7=F7,SC=Q8.value;function ak(a,n){return H.i({show:n},a)}var B7=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),s=this.get("splitNumber"),f=this.get("scale"),p=this.get("axisLine"),h=this.get("axisTick"),_=this.get("axisLabel"),M=this.get("axisName"),L=this.get(["axisName","show"]),z=this.get(["axisName","formatter"]),Y=this.get("axisNameGap"),q=this.get("triggerEvent"),se=H.H(this.get("indicator")||[],function(ye){ye.max!=null&&ye.max>0&&!ye.min?ye.min=0:ye.min!=null&&ye.min<0&&!ye.max&&(ye.max=0);var je=M;ye.color!=null&&(je=H.i({color:ye.color},M));var De=H.I(H.d(ye),{boundaryGap:e,splitNumber:s,scale:f,axisLine:p,axisTick:h,axisLabel:_,name:ye.text,showName:L,nameLocation:"end",nameGap:Y,nameTextStyle:je,triggerEvent:q},!1);if(H.C(z)){var We=De.name;De.name=z.replace("{value}",We!=null?We:"")}else H.w(z)&&(De.name=z(De.name,De));var st=new tp(De,null,this.ecModel);return H.K(st,CS.prototype),st.mainType="radar",st.componentIndex=this.componentIndex,st},this);this._indicatorModels=se},n.prototype.getIndicatorModels=function(){return this._indicatorModels},n.type="radar",n.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:H.I({lineStyle:{color:"#bbb"}},SC.axisLine),axisLabel:ak(SC.axisLabel,!1),axisTick:ak(SC.axisTick,!1),splitLine:ak(SC.splitLine,!0),splitArea:ak(SC.splitArea,!0),indicator:[]},n}(tf),V7=B7,HJ=["axisLine","axisTickLabel","axisName"],GJ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=this.group;p.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},n.prototype._buildAxes=function(e){var s=e.coordinateSystem,f=s.getIndicatorAxes(),p=H.H(f,function(h){var _=h.model.get("showName")?h.name:"",M=new F0(h.model,{axisName:_,position:[s.cx,s.cy],rotation:h.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return M});H.k(p,function(h){H.k(HJ,h.add,h),this.group.add(h.getGroup())},this)},n.prototype._buildSplitLineAndArea=function(e){var s=e.coordinateSystem,f=s.getIndicatorAxes();if(!f.length)return;var p=e.get("shape"),h=e.getModel("splitLine"),_=e.getModel("splitArea"),M=h.getModel("lineStyle"),L=_.getModel("areaStyle"),z=h.get("show"),Y=_.get("show"),q=M.get("color"),se=L.get("color"),ye=H.t(q)?q:[q],je=H.t(se)?se:[se],De=[],We=[];function st(si,Bi,Go){var Lo=Go%Bi.length;return si[Lo]=si[Lo]||[],Lo}if(p==="circle")for(var dt=f[0].getTicksCoords(),Mt=s.cx,nn=s.cy,rn=0;rn<dt.length;rn++){if(z){var Cn=st(De,ye,rn);De[Cn].push(new Um({shape:{cx:Mt,cy:nn,r:dt[rn].coord}}))}if(Y&&rn<dt.length-1){var Cn=st(We,je,rn);We[Cn].push(new Es({shape:{cx:Mt,cy:nn,r0:dt[rn].coord,r:dt[rn+1].coord}}))}}else for(var er,ir=H.H(f,function(si,Bi){var Go=si.getTicksCoords();return er=er==null?Go.length-1:Math.min(Go.length-1,er),H.H(Go,function(Lo){return s.coordToPoint(Lo.coord,Bi)})}),dr=[],rn=0;rn<=er;rn++){for(var pr=[],ia=0;ia<f.length;ia++)pr.push(ir[ia][rn]);if(pr[0]&&pr.push(pr[0].slice()),z){var Cn=st(De,ye,rn);De[Cn].push(new Cg({shape:{points:pr}}))}if(Y&&dr){var Cn=st(We,je,rn-1);We[Cn].push(new $h({shape:{points:pr.concat(dr)}}))}dr=pr.slice().reverse()}var pa=M.getLineStyle(),Ga=L.getAreaStyle();H.k(We,function(si,Bi){this.group.add(zg(si,{style:H.i({stroke:"none",fill:je[Bi%je.length]},Ga),silent:!0}))},this),H.k(De,function(si,Bi){this.group.add(zg(si,{style:H.i({fill:"none",stroke:ye[Bi%ye.length]},pa),silent:!0}))},this)},n.type="radar",n}(Np),$J=GJ,WJ=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this,e,s,f)||this;return p.type="value",p.angle=0,p.name="",p}return n}(ym),KJ=WJ,YJ=function(){function a(n,e,s){this.dimensions=[],this._model=n,this._indicatorAxes=Object(H.H)(n.getIndicatorModels(),function(f,p){var h="indicator_"+p,_=new KJ(h,new Jy);return _.name=f.get("name"),_.model=f,f.axis=_,this.dimensions.push(h),_},this),this.resize(n,s)}return a.prototype.getIndicatorAxes=function(){return this._indicatorAxes},a.prototype.dataToPoint=function(n,e){var s=this._indicatorAxes[e];return this.coordToPoint(s.dataToCoord(n),e)},a.prototype.coordToPoint=function(n,e){var s=this._indicatorAxes[e],f=s.angle,p=this.cx+n*Math.cos(f),h=this.cy-n*Math.sin(f);return[p,h]},a.prototype.pointToData=function(n){var e=n[0]-this.cx,s=n[1]-this.cy,f=Math.sqrt(e*e+s*s);e/=f,s/=f;for(var p=Math.atan2(-s,e),h=Infinity,_,M=-1,L=0;L<this._indicatorAxes.length;L++){var z=this._indicatorAxes[L],Y=Math.abs(p-z.angle);Y<h&&(_=z,M=L,h=Y)}return[M,+(_&&_.coordToData(f))]},a.prototype.resize=function(n,e){var s=n.get("center"),f=e.getWidth(),p=e.getHeight(),h=Math.min(f,p)/2;this.cx=Mi(s[0],f),this.cy=Mi(s[1],p),this.startAngle=n.get("startAngle")*Math.PI/180;var _=n.get("radius");(Object(H.C)(_)||Object(H.z)(_))&&(_=[0,_]),this.r0=Mi(_[0],h),this.r=Mi(_[1],h),Object(H.k)(this._indicatorAxes,function(M,L){M.setExtent(this.r0,this.r);var z=this.startAngle+L*Math.PI*2/this._indicatorAxes.length;z=Math.atan2(Math.sin(z),Math.cos(z)),M.angle=z},this)},a.prototype.update=function(n,e){var s=this._indicatorAxes,f=this._model;Object(H.k)(s,function(_){_.scale.setExtent(Infinity,-Infinity)}),n.eachSeriesByType("radar",function(_,M){if(!(_.get("coordinateSystem")!=="radar"||n.getComponent("radar",_.get("radarIndex"))!==f)){var L=_.getData();Object(H.k)(s,function(z){z.scale.unionExtentFromData(L,L.mapDimension(z.dim))})}},this);var p=f.get("splitNumber"),h=new Jy;h.setExtent(0,p),h.setInterval(1),Object(H.k)(s,function(_,M){x7(_.scale,_.model,h)})},a.prototype.convertToPixel=function(n,e,s){return console.warn("Not implemented."),null},a.prototype.convertFromPixel=function(n,e,s){return console.warn("Not implemented."),null},a.prototype.containPoint=function(n){return console.warn("Not implemented."),!1},a.create=function(n,e){var s=[];return n.eachComponent("radar",function(f){var p=new a(f,n,e);s.push(p),f.coordinateSystem=p}),n.eachSeriesByType("radar",function(f){f.get("coordinateSystem")==="radar"&&(f.coordinateSystem=s[f.get("radarIndex")||0])}),s},a.dimensions=[],a}(),XJ=YJ;function ik(a){a.registerCoordinateSystem("radar",XJ),a.registerComponentModel(V7),a.registerComponentView($J),a.registerVisual({seriesType:"radar",reset:function(n){var e=n.getData();e.each(function(s){e.setItemVisual(s,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}function JJ(a){Dd(ik),a.registerChartView(zJ),a.registerSeriesModel(U7),a.registerLayout(VJ),a.registerProcessor(bS("radar")),a.registerPreprocessor(OI)}var z7="\0_ec_interaction_mutex";function ZJ(a,n,e){var s=EI(a);s[n]=e}function QJ(a,n,e){var s=EI(a),f=s[n];f===e&&(s[n]=null)}function H7(a,n){return!!EI(a)[n]}function EI(a){return a[z7]||(a[z7]={})}I_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},H.L);var xI=function(a){Qe(n,a);function n(e){var s=a.call(this)||this;s._zr=e;var f=Object(H.c)(s._mousedownHandler,s),p=Object(H.c)(s._mousemoveHandler,s),h=Object(H.c)(s._mouseupHandler,s),_=Object(H.c)(s._mousewheelHandler,s),M=Object(H.c)(s._pinchHandler,s);return s.enable=function(L,z){this.disable(),this._opt=Object(H.i)(Object(H.d)(z)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),L==null&&(L=!0),(L===!0||L==="move"||L==="pan")&&(e.on("mousedown",f),e.on("mousemove",p),e.on("mouseup",h)),(L===!0||L==="scale"||L==="zoom")&&(e.on("mousewheel",_),e.on("pinch",M))},s.disable=function(){e.off("mousedown",f),e.off("mousemove",p),e.off("mouseup",h),e.off("mousewheel",_),e.off("pinch",M)},s}return n.prototype.isDragging=function(){return this._dragging},n.prototype.isPinching=function(){return this._pinching},n.prototype.setPointerChecker=function(e){this.pointerChecker=e},n.prototype.dispose=function(){this.disable()},n.prototype._mousedownHandler=function(e){if(!wn(e)){for(var s=e.target;s;){if(s.draggable)return;s=s.__hostTarget||s.parent}var f=e.offsetX,p=e.offsetY;this.pointerChecker&&this.pointerChecker(e,f,p)&&(this._x=f,this._y=p,this._dragging=!0)}},n.prototype._mousemoveHandler=function(e){if(!(!this._dragging||!ok("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||H7(this._zr,"globalPan"))){var s=e.offsetX,f=e.offsetY,p=this._x,h=this._y,_=s-p,M=f-h;this._x=s,this._y=f,this._opt.preventDefaultMouseMove&&tn(e.event),G7(this,"pan","moveOnMouseMove",e,{dx:_,dy:M,oldX:p,oldY:h,newX:s,newY:f,isAvailableBehavior:null})}},n.prototype._mouseupHandler=function(e){wn(e)||(this._dragging=!1)},n.prototype._mousewheelHandler=function(e){var s=ok("zoomOnMouseWheel",e,this._opt),f=ok("moveOnMouseWheel",e,this._opt),p=e.wheelDelta,h=Math.abs(p),_=e.offsetX,M=e.offsetY;if(!(p===0||!s&&!f)){if(s){var L=h>3?1.4:h>1?1.2:1.1,z=p>0?L:1/L;SI(this,"zoom","zoomOnMouseWheel",e,{scale:z,originX:_,originY:M,isAvailableBehavior:null})}if(f){var Y=Math.abs(p),q=(p>0?1:-1)*(Y>3?.4:Y>1?.15:.05);SI(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:q,originX:_,originY:M,isAvailableBehavior:null})}}},n.prototype._pinchHandler=function(e){if(!H7(this._zr,"globalPan")){var s=e.pinchScale>1?1.1:1/1.1;SI(this,"zoom",null,e,{scale:s,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},n}(xn);function SI(a,n,e,s,f){a.pointerChecker&&a.pointerChecker(s,f.originX,f.originY)&&(tn(s.event),G7(a,n,e,s,f))}function G7(a,n,e,s,f){f.isAvailableBehavior=Object(H.c)(ok,null,e,s),a.trigger(n,f)}function ok(a,n,e){var s=e[a];return!a||s&&(!Object(H.C)(s)||n.event[s+"Key"])}var kS=xI;function sk(a,n,e){var s=a.target;s.x+=n,s.y+=e,s.dirty()}function wI(a,n,e,s){var f=a.target,p=a.zoomLimit,h=a.zoom=a.zoom||1;if(h*=n,p){var _=p.min||0,M=p.max||Infinity;h=Math.max(Math.min(M,h),_)}var L=h/a.zoom;a.zoom=h,f.x-=(e-f.x)*(L-1),f.y-=(s-f.y)*(L-1),f.scaleX*=L,f.scaleY*=L,f.dirty()}var qJ={axisPointer:1,tooltip:1,brush:1};function ck(a,n,e){var s=n.getComponentByElement(a.topTarget),f=s&&s.coordinateSystem;return s&&s!==e&&!qJ.hasOwnProperty(s.mainType)&&f&&f.model!==e}function $7(a){if(Object(H.C)(a)){var n=new DOMParser;a=n.parseFromString(a,"text/xml")}var e=a;for(e.nodeType===9&&(e=e.firstChild);e.nodeName.toLowerCase()!=="svg"||e.nodeType!==1;)e=e.nextSibling;return e}var TI,lk={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},uk=Object(H.F)(lk),wC={"alignment-baseline":"textBaseline","stop-color":"stopColor"},W7=Object(H.F)(wC),K7=function(){function a(){this._defs={},this._root=null}return a.prototype.parse=function(n,e){e=e||{};var s=$7(n);this._defsUsePending=[];var f=new _s;this._root=f;var p=[],h=s.getAttribute("viewBox")||"",_=parseFloat(s.getAttribute("width")||e.width),M=parseFloat(s.getAttribute("height")||e.height);isNaN(_)&&(_=null),isNaN(M)&&(M=null),Yg(s,f,null,!0,!1);for(var L=s.firstChild;L;)this._parseNode(L,f,p,null,!1,!1),L=L.nextSibling;nZ(this._defs,this._defsUsePending),this._defsUsePending=[];var z,Y;if(h){var q=dk(h);q.length>=4&&(z={x:parseFloat(q[0]||0),y:parseFloat(q[1]||0),width:parseFloat(q[2]),height:parseFloat(q[3])})}if(z&&_!=null&&M!=null&&(Y=J7(z,{x:0,y:0,width:_,height:M}),!e.ignoreViewBox)){var se=f;f=new _s,f.add(se),se.scaleX=se.scaleY=Y.scale,se.x=Y.x,se.y=Y.y}return!e.ignoreRootClip&&_!=null&&M!=null&&f.setClipPath(new Ic({shape:{x:0,y:0,width:_,height:M}})),{root:f,width:_,height:M,viewBoxRect:z,viewBoxTransform:Y,named:p}},a.prototype._parseNode=function(n,e,s,f,p,h){var _=n.nodeName.toLowerCase(),M,L=f;if(_==="defs"&&(p=!0),_==="text"&&(h=!0),_==="defs"||_==="switch")M=e;else{if(!p){var z=TI[_];if(z&&Object(H.q)(TI,_)){M=z.call(this,n,e);var Y=n.getAttribute("name");if(Y){var q={name:Y,namedFrom:null,svgNodeTagLower:_,el:M};s.push(q),_==="g"&&(L=q)}else f&&s.push({name:f.name,namedFrom:f,svgNodeTagLower:_,el:M});e.add(M)}}var se=AI[_];if(se&&Object(H.q)(AI,_)){var ye=se.call(this,n),je=n.getAttribute("id");je&&(this._defs[je]=ye)}}if(M&&M.isGroup)for(var De=n.firstChild;De;)De.nodeType===1?this._parseNode(De,M,s,L,p,h):De.nodeType===3&&h&&this._parseText(De,M),De=De.nextSibling},a.prototype._parseText=function(n,e){var s=new ki({style:{text:n.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Kg(e,s),Yg(n,s,this._defsUsePending,!1,!1),eZ(s,e);var f=s.style,p=f.fontSize;p&&p<9&&(f.fontSize=9,s.scaleX*=p/9,s.scaleY*=p/9);var h=(f.fontSize||f.fontFamily)&&[f.fontStyle,f.fontWeight,(f.fontSize||12)+"px",f.fontFamily||"sans-serif"].join(" ");f.font=h;var _=s.getBoundingRect();return this._textX+=_.width,e.add(s),s},a.internalField=function(){TI={g:function(e,s){var f=new _s;return Kg(s,f),Yg(e,f,this._defsUsePending,!1,!1),f},rect:function(e,s){var f=new Ic;return Kg(s,f),Yg(e,f,this._defsUsePending,!1,!1),f.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),f.silent=!0,f},circle:function(e,s){var f=new Um;return Kg(s,f),Yg(e,f,this._defsUsePending,!1,!1),f.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),f.silent=!0,f},line:function(e,s){var f=new _h;return Kg(s,f),Yg(e,f,this._defsUsePending,!1,!1),f.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),f.silent=!0,f},ellipse:function(e,s){var f=new ZT;return Kg(s,f),Yg(e,f,this._defsUsePending,!1,!1),f.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),f.silent=!0,f},polygon:function(e,s){var f=e.getAttribute("points"),p;f&&(p=jI(f));var h=new $h({shape:{points:p||[]},silent:!0});return Kg(s,h),Yg(e,h,this._defsUsePending,!1,!1),h},polyline:function(e,s){var f=e.getAttribute("points"),p;f&&(p=jI(f));var h=new Cg({shape:{points:p||[]},silent:!0});return Kg(s,h),Yg(e,h,this._defsUsePending,!1,!1),h},image:function(e,s){var f=new Gi;return Kg(s,f),Yg(e,f,this._defsUsePending,!1,!1),f.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),f.silent=!0,f},text:function(e,s){var f=e.getAttribute("x")||"0",p=e.getAttribute("y")||"0",h=e.getAttribute("dx")||"0",_=e.getAttribute("dy")||"0";this._textX=parseFloat(f)+parseFloat(h),this._textY=parseFloat(p)+parseFloat(_);var M=new _s;return Kg(s,M),Yg(e,M,this._defsUsePending,!1,!0),M},tspan:function(e,s){var f=e.getAttribute("x"),p=e.getAttribute("y");f!=null&&(this._textX=parseFloat(f)),p!=null&&(this._textY=parseFloat(p));var h=e.getAttribute("dx")||"0",_=e.getAttribute("dy")||"0",M=new _s;return Kg(s,M),Yg(e,M,this._defsUsePending,!1,!0),this._textX+=parseFloat(h),this._textY+=parseFloat(_),M},path:function(e,s){var f=e.getAttribute("d")||"",p=i6(f);return Kg(s,p),Yg(e,p,this._defsUsePending,!1,!1),p.silent=!0,p}}}(),a}(),AI={lineargradient:function(n){var e=parseInt(n.getAttribute("x1")||"0",10),s=parseInt(n.getAttribute("y1")||"0",10),f=parseInt(n.getAttribute("x2")||"10",10),p=parseInt(n.getAttribute("y2")||"0",10),h=new h1(e,s,f,p);return kI(n,h),Y7(n,h),h},radialgradient:function(n){var e=parseInt(n.getAttribute("cx")||"0",10),s=parseInt(n.getAttribute("cy")||"0",10),f=parseInt(n.getAttribute("r")||"0",10),p=new tA(e,s,f);return kI(n,p),Y7(n,p),p}};function kI(a,n){var e=a.getAttribute("gradientUnits");e==="userSpaceOnUse"&&(n.global=!0)}function Y7(a,n){for(var e=a.firstChild;e;){if(e.nodeType===1&&e.nodeName.toLocaleLowerCase()==="stop"){var s=e.getAttribute("offset"),f=void 0;s&&s.indexOf("%")>0?f=parseInt(s,10)/100:s?f=parseFloat(s):f=0;var p={};X7(e,p,p);var h=p.stopColor||e.getAttribute("stop-color")||"#000000";n.colorStops.push({offset:f,color:h})}e=e.nextSibling}}function Kg(a,n){a&&a.__inheritedStyle&&(n.__inheritedStyle||(n.__inheritedStyle={}),Object(H.i)(n.__inheritedStyle,a.__inheritedStyle))}function jI(a){for(var n=dk(a),e=[],s=0;s<n.length;s+=2){var f=parseFloat(n[s]),p=parseFloat(n[s+1]);e.push([f,p])}return e}function Yg(a,n,e,s,f){var p=n,h=p.__inheritedStyle=p.__inheritedStyle||{},_={};a.nodeType===1&&(aZ(a,n),X7(a,h,_),s||iZ(a,h,_)),p.style=p.style||{},h.fill!=null&&(p.style.fill=MI(p,"fill",h.fill,e)),h.stroke!=null&&(p.style.stroke=MI(p,"stroke",h.stroke,e)),Object(H.k)(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(M){h[M]!=null&&(p.style[M]=parseFloat(h[M]))}),Object(H.k)(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(M){h[M]!=null&&(p.style[M]=h[M])}),f&&(p.__selfStyle=_),h.lineDash&&(p.style.lineDash=Object(H.H)(dk(h.lineDash),function(M){return parseFloat(M)})),(h.visibility==="hidden"||h.visibility==="collapse")&&(p.invisible=!0),h.display==="none"&&(p.ignore=!0)}function eZ(a,n){var e=n.__selfStyle;if(e){var s=e.textBaseline,f=s;!s||s==="auto"||s==="baseline"?f="alphabetic":s==="before-edge"||s==="text-before-edge"?f="top":s==="after-edge"||s==="text-after-edge"?f="bottom":(s==="central"||s==="mathematical")&&(f="middle"),a.style.textBaseline=f}var p=n.__inheritedStyle;if(p){var h=p.textAlign,_=h;h&&(h==="middle"&&(_="center"),a.style.textAlign=_)}}var tZ=/^url\(\s*#(.*?)\)/;function MI(a,n,e,s){var f=e&&e.match(tZ);if(f){var p=Object(H.T)(f[1]);s.push([a,n,p]);return}return e==="none"&&(e=null),e}function nZ(a,n){for(var e=0;e<n.length;e++){var s=n[e];s[0].style[s[1]]=a[s[2]]}}var rZ=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function dk(a){return a.match(rZ)||[]}var jS=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,PI=Math.PI/180;function aZ(a,n){var e=a.getAttribute("transform");if(e){e=e.replace(/,/g," ");var s=[],f=null;e.replace(jS,function(Y,q,se){return s.push(q,se),""});for(var p=s.length-1;p>0;p-=2){var h=s[p],_=s[p-1],M=dk(h);switch(f=f||en(),_){case"translate":Gr(f,f,[parseFloat(M[0]),parseFloat(M[1]||"0")]);break;case"scale":Mr(f,f,[parseFloat(M[0]),parseFloat(M[1]||M[0])]);break;case"rotate":ga(f,f,-parseFloat(M[0])*PI);break;case"skewX":var L=Math.tan(parseFloat(M[0])*PI);Ir(f,[1,0,L,1,0,0],f);break;case"skewY":var z=Math.tan(parseFloat(M[0])*PI);Ir(f,[1,z,0,1,0,0],f);break;case"matrix":f[0]=parseFloat(M[0]),f[1]=parseFloat(M[1]),f[2]=parseFloat(M[2]),f[3]=parseFloat(M[3]),f[4]=parseFloat(M[4]),f[5]=parseFloat(M[5]);break}}n.setLocalTransform(f)}}var MS=/([^\s:;]+)\s*:\s*([^:;]+)/g;function X7(a,n,e){var s=a.getAttribute("style");if(!!s){MS.lastIndex=0;for(var f;(f=MS.exec(s))!=null;){var p=f[1],h=Object(H.q)(lk,p)?lk[p]:null;h&&(n[h]=f[2]);var _=Object(H.q)(wC,p)?wC[p]:null;_&&(e[_]=f[2])}}}function iZ(a,n,e){for(var s=0;s<uk.length;s++){var f=uk[s],p=a.getAttribute(f);p!=null&&(n[lk[f]]=p)}for(var s=0;s<W7.length;s++){var f=W7[s],p=a.getAttribute(f);p!=null&&(e[wC[f]]=p)}}function J7(a,n){var e=n.width/a.width,s=n.height/a.height,f=Math.min(e,s);return{scale:f,x:-(a.x+a.width/2)*f+(n.x+n.width/2),y:-(a.y+a.height/2)*f+(n.y+n.height/2)}}function oZ(a,n){var e=new K7;return e.parse(a,n)}var sZ=1e-8;function Z7(a,n){return Math.abs(a-n)<sZ}function U1(a,n,e){var s=0,f=a[0];if(!f)return!1;for(var p=1;p<a.length;p++){var h=a[p];s+=Zd(f[0],f[1],h[0],h[1],n,e),f=h}var _=a[0];return(!Z7(f[0],_[0])||!Z7(f[1],_[1]))&&(s+=Zd(f[0],f[1],_[0],_[1],n,e)),s!==0}var cZ=[];function RI(a,n){for(var e=0;e<a.length;e++)eo(a[e],a[e],n)}function Q7(a,n,e,s){for(var f=0;f<a.length;f++){var p=a[f];s&&(p=s.project(p)),p&&isFinite(p[0])&&isFinite(p[1])&&(xo(n,n,p),cs(e,e,p))}}function lZ(a){for(var n=0,e=0,s=0,f=a.length,p=a[f-1][0],h=a[f-1][1],_=0;_<f;_++){var M=a[_][0],L=a[_][1],z=p*L-M*h;n+=z,e+=(p+M)*z,s+=(h+L)*z,p=M,h=L}return n?[e/n/3,s/n/3,n]:[a[0][0]||0,a[0][1]||0]}var q7=function(){function a(n){this.name=n}return a.prototype.setCenter=function(n){this._center=n},a.prototype.getCenter=function(){var n=this._center;return n||(n=this._center=this.calcCenter()),n},a}(),eU=function(){function a(n,e){this.type="polygon",this.exterior=n,this.interiors=e}return a}(),tU=function(){function a(n){this.type="linestring",this.points=n}return a}(),DI=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this,e)||this;return p.type="geoJSON",p.geometries=s,p._center=f&&[f[0],f[1]],p}return n.prototype.calcCenter=function(){for(var e=this.geometries,s,f=0,p=0;p<e.length;p++){var h=e[p],_=h.exterior,M=_&&_.length;M>f&&(s=h,f=M)}if(s)return lZ(s.exterior);var L=this.getBoundingRect();return[L.x+L.width/2,L.y+L.height/2]},n.prototype.getBoundingRect=function(e){var s=this._rect;if(s&&!e)return s;var f=[Infinity,Infinity],p=[-Infinity,-Infinity],h=this.geometries;return Object(H.k)(h,function(_){_.type==="polygon"?Q7(_.exterior,f,p,e):Object(H.k)(_.points,function(M){Q7(M,f,p,e)})}),isFinite(f[0])&&isFinite(f[1])&&isFinite(p[0])&&isFinite(p[1])||(f[0]=f[1]=p[0]=p[1]=0),s=new fo(f[0],f[1],p[0]-f[0],p[1]-f[1]),e||(this._rect=s),s},n.prototype.contain=function(e){var s=this.getBoundingRect(),f=this.geometries;if(!s.contain(e[0],e[1]))return!1;e:for(var p=0,h=f.length;p<h;p++){var _=f[p];if(_.type==="polygon"){var M=_.exterior,L=_.interiors;if(U1(M,e[0],e[1])){for(var z=0;z<(L?L.length:0);z++)if(U1(L[z],e[0],e[1]))continue e;return!0}}}return!1},n.prototype.transformTo=function(e,s,f,p){var h=this.getBoundingRect(),_=h.width/h.height;f?p||(p=f/_):f=_*p;for(var M=new fo(e,s,f,p),L=h.calculateTransform(M),z=this.geometries,Y=0;Y<z.length;Y++){var q=z[Y];q.type==="polygon"?(RI(q.exterior,L),Object(H.k)(q.interiors,function(se){RI(se,L)})):Object(H.k)(q.points,function(se){RI(se,L)})}h=this._rect,h.copy(M),this._center=[h.x+h.width/2,h.y+h.height/2]},n.prototype.cloneShallow=function(e){e==null&&(e=this.name);var s=new n(e,this.geometries,this._center);return s._rect=this._rect,s.transformTo=null,s},n}(q7),uZ=function(a){Qe(n,a);function n(e,s){var f=a.call(this,e)||this;return f.type="geoSVG",f._elOnlyForCalculate=s,f}return n.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,s=e.getBoundingRect(),f=[s.x+s.width/2,s.y+s.height/2],p=Fn(cZ),h=e;h&&!h.isGeoSVGGraphicRoot;)Ir(p,h.getLocalTransform(),p),h=h.parent;return $a(p,p),eo(f,f,p),f},n}(q7),dZ=Object(H.f)(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),fZ=function(){function a(n,e){this.type="geoSVG",this._usedGraphicMap=Object(H.f)(),this._freedGraphics=[],this._mapName=n,this._parsedXML=$7(e)}return a.prototype.load=function(){var n=this._firstGraphic;if(!n){n=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(n),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=pZ(n.named),s=e.regions,f=e.regionsMap;this._regions=s,this._regionsMap=f}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},a.prototype._buildGraphic=function(n){var e,s;try{e=n&&oZ(n,{ignoreViewBox:!0,ignoreRootClip:!0})||{},s=e.root,Object(H.b)(s!=null)}catch(De){throw new Error(`Invalid svg format
`+De.message)}var f=new _s;f.add(s),f.isGeoSVGGraphicRoot=!0;var p=e.width,h=e.height,_=e.viewBoxRect,M=this._boundingRect;if(!M){var L=void 0,z=void 0,Y=void 0,q=void 0;if(p!=null?(L=0,Y=p):_&&(L=_.x,Y=_.width),h!=null?(z=0,q=h):_&&(z=_.y,q=_.height),L==null||z==null){var se=s.getBoundingRect();L==null&&(L=se.x,Y=se.width),z==null&&(z=se.y,q=se.height)}M=this._boundingRect=new fo(L,z,Y,q)}if(_){var ye=J7(_,M);s.scaleX=s.scaleY=ye.scale,s.x=ye.x,s.y=ye.y}f.setClipPath(new Ic({shape:M.plain()}));var je=[];return Object(H.k)(e.named,function(De){dZ.get(De.svgNodeTagLower)!=null&&(je.push(De),nU(De.el))}),{root:f,boundingRect:M,named:je}},a.prototype.useGraphic=function(n){var e=this._usedGraphicMap,s=e.get(n);return s||(s=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(n,s),s)},a.prototype.freeGraphic=function(n){var e=this._usedGraphicMap,s=e.get(n);s&&(e.removeKey(n),this._freedGraphics.push(s))},a}();function nU(a){a.silent=!1,a.isGroup&&a.traverse(function(n){n.silent=!1})}function pZ(a){var n=[],e=Object(H.f)();return Object(H.k)(a,function(s){if(s.namedFrom==null){var f=new uZ(s.name,s.el);n.push(f),e.set(s.name,f)}}),{regions:n,regionsMap:e}}function vZ(a){if(!a.UTF8Encoding)return a;var n=a,e=n.UTF8Scale;e==null&&(e=1024);var s=n.features;return H.k(s,function(f){var p=f.geometry,h=p.encodeOffsets,_=p.coordinates;if(!!h)switch(p.type){case"LineString":p.coordinates=rU(_,h,e);break;case"Polygon":II(_,h,e);break;case"MultiLineString":II(_,h,e);break;case"MultiPolygon":H.k(_,function(M,L){return II(M,h[L],e)})}}),n.UTF8Encoding=!1,n}function II(a,n,e){for(var s=0;s<a.length;s++)a[s]=rU(a[s],n[s],e)}function rU(a,n,e){for(var s=[],f=n[0],p=n[1],h=0;h<a.length;h+=2){var _=a.charCodeAt(h)-64,M=a.charCodeAt(h+1)-64;_=_>>1^-(_&1),M=M>>1^-(M&1),_+=f,M+=p,f=_,p=M,s.push([_/e,M/e])}return s}function aU(a,n){return a=vZ(a),H.H(H.n(a.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var s=e.properties,f=e.geometry,p=[];switch(f.type){case"Polygon":var h=f.coordinates;p.push(new eU(h[0],h.slice(1)));break;case"MultiPolygon":H.k(f.coordinates,function(M){M[0]&&p.push(new eU(M[0],M.slice(1)))});break;case"LineString":p.push(new tU([f.coordinates]));break;case"MultiLineString":p.push(new tU(f.coordinates))}var _=new DI(s[n||"name"],p,s.cp);return _.properties=s,_})}for(var NI=[126,25],iU="\u5357\u6D77\u8BF8\u5C9B",qy=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],B1=0;B1<qy.length;B1++)for(var TC=0;TC<qy[B1].length;TC++)qy[B1][TC][0]/=10.5,qy[B1][TC][1]/=-10.5/.75,qy[B1][TC][0]+=NI[0],qy[B1][TC][1]+=NI[1];function hZ(a,n){if(a==="china"){for(var e=0;e<n.length;e++)if(n[e].name===iU)return;n.push(new DI(iU,H.H(qy,function(s){return{type:"polygon",exterior:s}}),NI))}}var gZ={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function oU(a,n){if(a==="china"){var e=gZ[n.name];if(e){var s=n.getCenter();s[0]+=e[0]/10.5,s[1]+=-e[1]/(10.5/.75),n.setCenter(s)}}}var mZ=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function _Z(a,n){a==="china"&&n.name==="\u53F0\u6E7E"&&n.geometries.push({type:"polygon",exterior:mZ[0]})}var yZ="name",bZ=function(){function a(n,e,s){this.type="geoJSON",this._parsedMap=Object(H.f)(),this._mapName=n,this._specialAreas=s,this._geoJSON=sU(e)}return a.prototype.load=function(n,e){e=e||yZ;var s=this._parsedMap.get(e);if(!s){var f=this._parseToRegions(e);s=this._parsedMap.set(e,{regions:f,boundingRect:OZ(f)})}var p=Object(H.f)(),h=[];return Object(H.k)(s.regions,function(_){var M=_.name;n&&Object(H.q)(n,M)&&(_=_.cloneShallow(M=n[M])),h.push(_),p.set(M,_)}),{regions:h,boundingRect:s.boundingRect||new fo(0,0,0,0),regionsMap:p}},a.prototype._parseToRegions=function(n){var e=this._mapName,s=this._geoJSON,f;try{f=s?aU(s,n):[]}catch(p){throw new Error(`Invalid geoJson format
`+p.message)}return hZ(e,f),Object(H.k)(f,function(p){var h=p.name;oU(e,p),_Z(e,p);var _=this._specialAreas&&this._specialAreas[h];_&&p.transformTo(_.left,_.top,_.width,_.height)},this),f},a.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},a}();function OZ(a){for(var n,e=0;e<a.length;e++){var s=a[e].getBoundingRect();n=n||s.clone(),n.union(s)}return n}function sU(a){return Object(H.C)(a)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(a):new Function("return ("+a+");")():a}var PS=Object(H.f)(),U0={registerMap:function(a,n,e){if(n.svg){var s=new fZ(a,n.svg);PS.set(a,s)}else{var f=n.geoJson||n.geoJSON;f&&!n.features?e=n.specialAreas:f=n;var s=new bZ(a,f,e);PS.set(a,s)}},getGeoResource:function(a){return PS.get(a)},getMapForUser:function(a){var n=PS.get(a);return n&&n.type==="geoJSON"&&n.getMapForUser()},load:function(a,n,e){var s=PS.get(a);if(!!s)return s.load(n,e)}},LI=["rect","circle","line","ellipse","polygon","polyline","path"],CZ=H.f(LI),EZ=H.f(LI.concat(["g"])),xZ=H.f(LI.concat(["g"])),RS=ol();function fk(a){var n=a.getItemStyle(),e=a.get("areaColor");return e!=null&&(n.fill=e),n}function cU(a){var n=a.style;n&&(n.stroke=n.stroke||n.fill,n.fill=null)}var lU=function(){function a(n){var e=new _s;this.uid=fm("ec_map_draw"),this._controller=new kS(n.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new _s),e.add(this._svgGroup=new _s)}return a.prototype.draw=function(n,e,s,f,p){var h=n.mainType==="geo",_=n.getData&&n.getData();h&&e.eachComponent({mainType:"series",subType:"map"},function(We){!_&&We.getHostGeoModel()===n&&(_=We.getData())});var M=n.coordinateSystem,L=this._regionsGroup,z=this.group,Y=M.getTransformInfo(),q=Y.raw,se=Y.roam,ye=!L.childAt(0)||p;ye?(z.x=se.x,z.y=se.y,z.scaleX=se.scaleX,z.scaleY=se.scaleY,z.dirty()):pf(z,se,n);var je=_&&_.getVisual("visualMeta")&&_.getVisual("visualMeta").length>0,De={api:s,geo:M,mapOrGeoModel:n,data:_,isVisualEncodedByVisualMap:je,isGeo:h,transformInfoRaw:q};M.resourceType==="geoJSON"?this._buildGeoJSON(De):M.resourceType==="geoSVG"&&this._buildSVG(De),this._updateController(n,e,s),this._updateMapSelectHandler(n,L,s,f)},a.prototype._buildGeoJSON=function(n){var e=this._regionsGroupByName=H.f(),s=H.f(),f=this._regionsGroup,p=n.transformInfoRaw,h=n.mapOrGeoModel,_=n.data,M=n.geo.projection,L=M&&M.stream;function z(se,ye){return ye&&(se=ye(se)),se&&[se[0]*p.scaleX+p.x,se[1]*p.scaleY+p.y]}function Y(se){for(var ye=[],je=!L&&M&&M.project,De=0;De<se.length;++De){var We=z(se[De],je);We&&ye.push(We)}return ye}function q(se){return{shape:{points:Y(se)}}}f.removeAll(),H.k(n.geo.regions,function(se){var ye=se.name,je=e.get(ye),De=s.get(ye)||{},We=De.dataIdx,st=De.regionModel;je||(je=e.set(ye,new _s),f.add(je),We=_?_.indexOfName(ye):null,st=n.isGeo?h.getRegionModel(ye):_?_.getItemModel(We):null,s.set(ye,{dataIdx:We,regionModel:st}));var dt=[],Mt=[];H.k(se.geometries,function(Cn){if(Cn.type==="polygon"){var er=[Cn.exterior].concat(Cn.interiors||[]);L&&(er=hU(er,L)),H.k(er,function(dr){dt.push(new $h(q(dr)))})}else{var ir=Cn.points;L&&(ir=hU(ir,L,!0)),H.k(ir,function(dr){Mt.push(new Cg(q(dr)))})}});var nn=z(se.getCenter(),M&&M.project);function rn(Cn,er){if(!!Cn.length){var ir=new eA({culling:!0,segmentIgnoreThreshold:1,shape:{paths:Cn}});je.add(ir),uU(n,ir,We,st),dU(n,ir,ye,st,h,We,nn),er&&(cU(ir),H.k(ir.states,cU))}}rn(dt),rn(Mt,!0)}),e.each(function(se,ye){var je=s.get(ye),De=je.dataIdx,We=je.regionModel;fU(n,se,ye,We,h,De),pU(n,se,ye,We,h),vU(n,se,ye,We,h)},this)},a.prototype._buildSVG=function(n){var e=n.geo.map,s=n.transformInfoRaw;this._svgGroup.x=s.x,this._svgGroup.y=s.y,this._svgGroup.scaleX=s.scaleX,this._svgGroup.scaleY=s.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var f=this._svgDispatcherMap=H.f(),p=!1;H.k(this._svgGraphicRecord.named,function(h){var _=h.name,M=n.mapOrGeoModel,L=n.data,z=h.svgNodeTagLower,Y=h.el,q=L?L.indexOfName(_):null,se=M.getRegionModel(_);if(CZ.get(z)!=null&&Y instanceof so&&uU(n,Y,q,se),Y instanceof so&&(Y.culling=!0),Y.z2EmphasisLift=0,!h.namedFrom&&(xZ.get(z)!=null&&dU(n,Y,_,se,M,q,null),fU(n,Y,_,se,M,q),pU(n,Y,_,se,M),EZ.get(z)!=null)){var ye=vU(n,Y,_,se,M);ye==="self"&&(p=!0);var je=f.get(_)||f.set(_,[]);je.push(Y)}},this),this._enableBlurEntireSVG(p,n)},a.prototype._enableBlurEntireSVG=function(n,e){if(n&&e.isGeo){var s=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),f=s.opacity;this._svgGraphicRecord.root.traverse(function(p){if(!p.isGroup){um(p);var h=p.ensureState("blur").style||{};h.opacity==null&&f!=null&&(h.opacity=f),p.ensureState("emphasis")}})}},a.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},a.prototype.findHighDownDispatchers=function(n,e){if(n==null)return[];var s=e.coordinateSystem;if(s.resourceType==="geoJSON"){var f=this._regionsGroupByName;if(f){var p=f.get(n);return p?[p]:[]}}else if(s.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get(n)||[]},a.prototype._svgResourceChanged=function(n){return this._svgMapName!==n},a.prototype._useSVG=function(n){var e=U0.getGeoResource(n);if(e&&e.type==="geoSVG"){var s=e.useGraphic(this.uid);this._svgGroup.add(s.root),this._svgGraphicRecord=s,this._svgMapName=n}},a.prototype._freeSVG=function(){var n=this._svgMapName;if(n!=null){var e=U0.getGeoResource(n);e&&e.type==="geoSVG"&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},a.prototype._updateController=function(n,e,s){var f=n.coordinateSystem,p=this._controller,h=this._controllerHost;h.zoomLimit=n.get("scaleLimit"),h.zoom=f.getZoom(),p.enable(n.get("roam")||!1);var _=n.mainType;function M(){var L={type:"geoRoam",componentType:_};return L[_+"Id"]=n.id,L}p.off("pan").on("pan",function(L){this._mouseDownFlag=!1,sk(h,L.dx,L.dy),s.dispatchAction(H.m(M(),{dx:L.dx,dy:L.dy,animation:{duration:0}}))},this),p.off("zoom").on("zoom",function(L){this._mouseDownFlag=!1,wI(h,L.scale,L.originX,L.originY),s.dispatchAction(H.m(M(),{zoom:L.scale,originX:L.originX,originY:L.originY,animation:{duration:0}}))},this),p.setPointerChecker(function(L,z,Y){return f.containPoint([z,Y])&&!ck(L,s,n)})},a.prototype.resetForLabelLayout=function(){this.group.traverse(function(n){var e=n.getTextContent();e&&(e.ignore=RS(e).ignore)})},a.prototype._updateMapSelectHandler=function(n,e,s,f){var p=this;e.off("mousedown"),e.off("click"),n.get("selectedMode")&&(e.on("mousedown",function(){p._mouseDownFlag=!0}),e.on("click",function(h){!p._mouseDownFlag||(p._mouseDownFlag=!1)}))},a}();function uU(a,n,e,s){var f=s.getModel("itemStyle"),p=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["blur","itemStyle"]),_=s.getModel(["select","itemStyle"]),M=fk(f),L=fk(p),z=fk(_),Y=fk(h),q=a.data;if(q){var se=q.getItemVisual(e,"style"),ye=q.getItemVisual(e,"decal");a.isVisualEncodedByVisualMap&&se.fill&&(M.fill=se.fill),ye&&(M.decal=cC(ye,a.api))}n.setStyle(M),n.style.strokeNoScale=!0,n.ensureState("emphasis").style=L,n.ensureState("select").style=z,n.ensureState("blur").style=Y,um(n)}function dU(a,n,e,s,f,p,h){var _=a.data,M=a.isGeo,L=_&&isNaN(_.get(_.mapDimension("value"),p)),z=_&&_.getItemLayout(p);if(M||L||z&&z.showLabel){var Y=M?e:p,q=void 0;(!_||p>=0)&&(q=f);var se=h?{normal:{align:"center",verticalAlign:"middle"}}:null;Wf(n,_f(s),{labelFetcher:q,labelDataIndex:Y,defaultText:e},se);var ye=n.getTextContent();if(ye&&(RS(ye).ignore=ye.ignore,n.textConfig&&h)){var je=n.getBoundingRect().clone();n.textConfig.layoutRect=je,n.textConfig.position=[(h[0]-je.x)/je.width*100+"%",(h[1]-je.y)/je.height*100+"%"]}n.disableLabelAnimation=!0}else n.removeTextContent(),n.removeTextConfig(),n.disableLabelAnimation=null}function fU(a,n,e,s,f,p){a.data?a.data.setItemGraphicEl(p,n):sc(n).eventData={componentType:"geo",componentIndex:f.componentIndex,geoIndex:f.componentIndex,name:e,region:s&&s.option||{}}}function pU(a,n,e,s,f){a.data||nC({el:n,componentModel:f,itemName:e,itemTooltipOption:s.get("tooltip")})}function vU(a,n,e,s,f){n.highDownSilentOnTouch=!!f.get("selectedMode");var p=s.getModel("emphasis"),h=p.get("focus");return Wp(n,h,p.get("blurScope"),p.get("disabled")),a.isGeo&&oT(n,f,e),h}function hU(a,n,e){var s=[],f;function p(){f=[]}function h(){f.length&&(s.push(f),f=[])}var _=n({polygonStart:p,polygonEnd:h,lineStart:p,lineEnd:h,point:function(M,L){isFinite(M)&&isFinite(L)&&f.push([M,L])},sphere:function(){}});return!e&&_.polygonStart(),H.k(a,function(M){_.lineStart();for(var L=0;L<M.length;L++)_.point(M[L][0],M[L][1]);_.lineEnd()}),!e&&_.polygonEnd(),s}var gU=lU,SZ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f,p){if(!(p&&p.type==="mapToggleSelect"&&p.from===this.uid)){var h=this.group;if(h.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&p&&p.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),p&&p.type==="geoRoam"&&p.componentType==="series"&&p.seriesId===e.id){var _=this._mapDraw;_&&h.add(_.group)}else if(e.needsDrawMap){var _=this._mapDraw||new gU(f);h.add(_.group),_.draw(e,s,f,this,p),this._mapDraw=_}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(e,s,f)}}},n.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},n.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},n.prototype._renderSymbols=function(e,s,f){var p=e.originalData,h=this.group;p.each(p.mapDimension("value"),function(_,M){if(!isNaN(_)){var L=p.getItemLayout(M);if(!(!L||!L.point)){var z=L.point,Y=L.offset,q=new Um({style:{fill:e.getData().getVisual("style").fill},shape:{cx:z[0]+Y*9,cy:z[1],r:3},silent:!0,z2:8+(Y?0:Td+1)});if(!Y){var se=e.mainSeries.getData(),ye=p.getName(M),je=se.indexOfName(ye),De=p.getItemModel(M),We=De.getModel("label"),st=se.getItemGraphicEl(je);Wf(q,_f(De),{labelFetcher:{getFormattedLabel:function(dt,Mt){return e.getFormattedLabel(je,Mt)}},defaultText:ye}),q.disableLabelAnimation=!0,We.get("position")||q.setTextConfig({position:"bottom"}),st.onHoverStateChange=function(dt){m0(q,dt)}}h.add(q)}}})},n.type="map",n}(np),wZ=SZ,TZ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.needsDrawMap=!1,e.seriesGroup=[],e.getTooltipPosition=function(s){if(s!=null){var f=this.getData().getName(s),p=this.coordinateSystem,h=p.getRegion(f);return h&&p.dataToPoint(h.getCenter())}},e}return n.prototype.getInitialData=function(e){for(var s=I1(this,{coordDimensions:["value"],encodeDefaulter:H.h(i1,this)}),f=H.f(),p=[],h=0,_=s.count();h<_;h++){var M=s.getName(h);f.set(M,!0)}var L=U0.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return H.k(L.regions,function(z){var Y=z.name;f.get(Y)||p.push(Y)}),s.appendValues([],p),s},n.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return e!=null?this.ecModel.getComponent("geo",e):null},n.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},n.prototype.getRawValue=function(e){var s=this.getData();return s.get(s.mapDimension("value"),e)},n.prototype.getRegionModel=function(e){var s=this.getData();return s.getItemModel(s.indexOfName(e))},n.prototype.formatTooltip=function(e,s,f){for(var p=this.getData(),h=this.getRawValue(e),_=p.getName(e),M=this.seriesGroup,L=[],z=0;z<M.length;z++){var Y=M[z].originalData.indexOfName(_),q=p.mapDimension("value");isNaN(M[z].originalData.get(q,Y))||L.push(M[z].name)}return th("section",{header:L.join(", "),noHeader:!L.length,blocks:[th("nameValue",{name:_,value:h})]})},n.prototype.setZoom=function(e){this.option.zoom=e},n.prototype.setCenter=function(e){this.option.center=e},n.prototype.getLegendIcon=function(e){var s=e.icon||"roundRect",f=Rv(s,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return f.setStyle(e.itemStyle),f.style.stroke="none",s.indexOf("empty")>-1&&(f.style.stroke=f.style.fill,f.style.fill="#fff",f.style.lineWidth=2),f},n.type="series.map",n.dependencies=["geo"],n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},n}(mp),AZ=TZ;function kZ(a,n){var e={};return H.k(a,function(s){s.each(s.mapDimension("value"),function(f,p){var h="ec-"+s.getName(p);e[h]=e[h]||[],isNaN(f)||e[h].push(f)})}),a[0].map(a[0].mapDimension("value"),function(s,f){for(var p="ec-"+a[0].getName(f),h=0,_=Infinity,M=-Infinity,L=e[p].length,z=0;z<L;z++)_=Math.min(_,e[p][z]),M=Math.max(M,e[p][z]),h+=e[p][z];var Y;return n==="min"?Y=_:n==="max"?Y=M:n==="average"?Y=h/L:Y=h,L===0?NaN:Y})}function jZ(a){var n={};a.eachSeriesByType("map",function(e){var s=e.getHostGeoModel(),f=s?"o"+s.id:"i"+e.getMapType();(n[f]=n[f]||[]).push(e)}),H.k(n,function(e,s){for(var f=kZ(H.H(e,function(h){return h.getData()}),e[0].get("mapValueCalculation")),p=0;p<e.length;p++)e[p].originalData=e[p].getData();for(var p=0;p<e.length;p++)e[p].seriesGroup=e,e[p].needsDrawMap=p===0&&!e[p].getHostGeoModel(),e[p].setData(f.cloneShallow()),e[p].mainSeries=e[0]})}function MZ(a){var n={};a.eachSeriesByType("map",function(e){var s=e.getMapType();if(!(e.getHostGeoModel()||n[s])){var f={};H.k(e.seriesGroup,function(h){var _=h.coordinateSystem,M=h.originalData;h.get("showLegendSymbol")&&a.getComponent("legend")&&M.each(M.mapDimension("value"),function(L,z){var Y=M.getName(z),q=_.getRegion(Y);if(!(!q||isNaN(L))){var se=f[Y]||0,ye=_.dataToPoint(q.getCenter());f[Y]=se+1,M.setItemLayout(z,{point:ye,offset:se})}})});var p=e.getData();p.each(function(h){var _=p.getName(h),M=p.getItemLayout(h)||{};M.showLabel=!f[_],p.setItemLayout(h,M)}),n[s]=!0}})}var mU=eo,PZ=function(a){Qe(n,a);function n(e){var s=a.call(this)||this;return s.type="view",s.dimensions=["x","y"],s._roamTransformable=new as,s._rawTransformable=new as,s.name=e,s}return n.prototype.setBoundingRect=function(e,s,f,p){return this._rect=new fo(e,s,f,p),this._rect},n.prototype.getBoundingRect=function(){return this._rect},n.prototype.setViewRect=function(e,s,f,p){this._transformTo(e,s,f,p),this._viewRect=new fo(e,s,f,p)},n.prototype._transformTo=function(e,s,f,p){var h=this.getBoundingRect(),_=this._rawTransformable;_.transform=h.calculateTransform(new fo(e,s,f,p));var M=_.parent;_.parent=null,_.decomposeTransform(),_.parent=M,this._updateTransform()},n.prototype.setCenter=function(e,s){!e||(this._center=[Mi(e[0],s.getWidth()),Mi(e[1],s.getHeight())],this._updateCenterAndZoom())},n.prototype.setZoom=function(e){e=e||1;var s=this.zoomLimit;s&&(s.max!=null&&(e=Math.min(s.max,e)),s.min!=null&&(e=Math.max(s.min,e))),this._zoom=e,this._updateCenterAndZoom()},n.prototype.getDefaultCenter=function(){var e=this.getBoundingRect(),s=e.x+e.width/2,f=e.y+e.height/2;return[s,f]},n.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},n.prototype.getZoom=function(){return this._zoom||1},n.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},n.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),s=this._roamTransformable,f=this.getDefaultCenter(),p=this.getCenter(),h=this.getZoom();p=eo([],p,e),f=eo([],f,e),s.originX=p[0],s.originY=p[1],s.x=f[0]-p[0],s.y=f[1]-p[1],s.scaleX=s.scaleY=h,this._updateTransform()},n.prototype._updateTransform=function(){var e=this._roamTransformable,s=this._rawTransformable;s.parent=e,e.updateTransform(),s.updateTransform(),Jn(this.transform||(this.transform=[]),s.transform||en()),this._rawTransform=s.getLocalTransform(),this.invTransform=this.invTransform||[],$a(this.invTransform,this.transform),this.decomposeTransform()},n.prototype.getTransformInfo=function(){var e=this._rawTransformable,s=this._roamTransformable,f=new as;return f.transform=s.transform,f.decomposeTransform(),{roam:{x:f.x,y:f.y,scaleX:f.scaleX,scaleY:f.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},n.prototype.getViewRect=function(){return this._viewRect},n.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},n.prototype.dataToPoint=function(e,s,f){var p=s?this._rawTransform:this.transform;return f=f||[],p?mU(f,e,p):mi(f,e)},n.prototype.pointToData=function(e){var s=this.invTransform;return s?mU([],e,s):[e[0],e[1]]},n.prototype.convertToPixel=function(e,s,f){var p=_U(s);return p===this?p.dataToPoint(f):null},n.prototype.convertFromPixel=function(e,s,f){var p=_U(s);return p===this?p.pointToData(f):null},n.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},n.dimensions=["x","y"],n}(as);function _U(a){var n=a.seriesModel;return n?n.coordinateSystem:null}var DS=PZ,RZ={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},yU=["lng","lat"],bU=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this,e)||this;p.dimensions=yU,p.type="geo",p._nameCoordMap=H.f(),p.map=s;var h=f.projection,_=U0.load(s,f.nameMap,f.nameProperty),M=U0.getGeoResource(s),L=p.resourceType=M?M.type:null,z=p.regions=_.regions,Y=RZ[M.type];p._regionsMap=_.regionsMap,p.regions=_.regions,p.projection=h;var q;if(h)for(var se=0;se<z.length;se++){var ye=z[se].getBoundingRect(h);q=q||ye.clone(),q.union(ye)}else q=_.boundingRect;return p.setBoundingRect(q.x,q.y,q.width,q.height),p.aspectScale=h?1:H.P(f.aspectScale,Y.aspectScale),p._invertLongitute=h?!1:Y.invertLongitute,p}return n.prototype._transformTo=function(e,s,f,p){var h=this.getBoundingRect(),_=this._invertLongitute;h=h.clone(),_&&(h.y=-h.y-h.height);var M=this._rawTransformable;M.transform=h.calculateTransform(new fo(e,s,f,p));var L=M.parent;M.parent=null,M.decomposeTransform(),M.parent=L,_&&(M.scaleY=-M.scaleY),this._updateTransform()},n.prototype.getRegion=function(e){return this._regionsMap.get(e)},n.prototype.getRegionByCoord=function(e){for(var s=this.regions,f=0;f<s.length;f++){var p=s[f];if(p.type==="geoJSON"&&p.contain(e))return s[f]}},n.prototype.addGeoCoord=function(e,s){this._nameCoordMap.set(e,s)},n.prototype.getGeoCoord=function(e){var s=this._regionsMap.get(e);return this._nameCoordMap.get(e)||s&&s.getCenter()},n.prototype.dataToPoint=function(e,s,f){if(H.C(e)&&(e=this.getGeoCoord(e)),e){var p=this.projection;return p&&(e=p.project(e)),e&&this.projectedToPoint(e,s,f)}},n.prototype.pointToData=function(e){var s=this.projection;return s&&(e=s.unproject(e)),e&&this.pointToProjected(e)},n.prototype.pointToProjected=function(e){return a.prototype.pointToData.call(this,e)},n.prototype.projectedToPoint=function(e,s,f){return a.prototype.dataToPoint.call(this,e,s,f)},n.prototype.convertToPixel=function(e,s,f){var p=OU(s);return p===this?p.dataToPoint(f):null},n.prototype.convertFromPixel=function(e,s,f){var p=OU(s);return p===this?p.pointToData(f):null},n}(DS);H.K(bU,DS);function OU(a){var n=a.geoModel,e=a.seriesModel;return n?n.coordinateSystem:e?e.coordinateSystem||(e.getReferringComponents("geo",Vu).models[0]||{}).coordinateSystem:null}var CU=bU;function EU(a,n){var e=a.get("boundingCoords");if(e!=null){var s=e[0],f=e[1];if(isFinite(s[0])&&isFinite(s[1])&&isFinite(f[0])&&isFinite(f[1])){var p=this.projection;if(p){var h=s[0],_=s[1],M=f[0],L=f[1];s=[Infinity,Infinity],f=[-Infinity,-Infinity];var z=function(rn,Cn,er,ir){for(var dr=er-rn,pr=ir-Cn,ia=0;ia<=100;ia++){var pa=ia/100,Ga=p.project([rn+dr*pa,Cn+pr*pa]);xo(s,s,Ga),cs(f,f,Ga)}};z(h,_,M,_),z(M,_,M,L),z(M,L,h,L),z(h,L,M,_)}this.setBoundingRect(s[0],s[1],f[0]-s[0],f[1]-s[1])}}var Y=this.getBoundingRect(),q=a.get("layoutCenter"),se=a.get("layoutSize"),ye=n.getWidth(),je=n.getHeight(),De=Y.width/Y.height*this.aspectScale,We=!1,st,dt;q&&se&&(st=[Mi(q[0],ye),Mi(q[1],je)],dt=Mi(se,Math.min(ye,je)),!isNaN(st[0])&&!isNaN(st[1])&&!isNaN(dt)&&(We=!0));var Mt;if(We)Mt={},De>1?(Mt.width=dt,Mt.height=dt/De):(Mt.height=dt,Mt.width=dt*De),Mt.y=st[1]-Mt.height/2,Mt.x=st[0]-Mt.width/2;else{var nn=a.getBoxLayoutParams();nn.aspect=De,Mt=Pv(nn,{width:ye,height:je})}this.setViewRect(Mt.x,Mt.y,Mt.width,Mt.height),this.setCenter(a.get("center"),n),this.setZoom(a.get("zoom"))}function DZ(a,n){H.k(n.get("geoCoord"),function(e,s){a.addGeoCoord(s,e)})}var IZ=function(){function a(){this.dimensions=yU}return a.prototype.create=function(n,e){var s=[];function f(h){return{nameProperty:h.get("nameProperty"),aspectScale:h.get("aspectScale"),projection:h.get("projection")}}n.eachComponent("geo",function(h,_){var M=h.get("map"),L=new CU(M+_,M,H.m({nameMap:h.get("nameMap")},f(h)));L.zoomLimit=h.get("scaleLimit"),s.push(L),h.coordinateSystem=L,L.model=h,L.resize=EU,L.resize(h,e)}),n.eachSeries(function(h){var _=h.get("coordinateSystem");if(_==="geo"){var M=h.get("geoIndex")||0;h.coordinateSystem=s[M]}});var p={};return n.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var _=h.getMapType();p[_]=p[_]||[],p[_].push(h)}}),H.k(p,function(h,_){var M=H.H(h,function(z){return z.get("nameMap")}),L=new CU(_,_,H.m({nameMap:H.J(M)},f(h[0])));L.zoomLimit=H.O.apply(null,H.H(h,function(z){return z.get("scaleLimit")})),s.push(L),L.resize=EU,L.resize(h[0],e),H.k(h,function(z){z.coordinateSystem=L,DZ(L,z)})}),s},a.prototype.getFilledRegions=function(n,e,s,f){for(var p=(n||[]).slice(),h=H.f(),_=0;_<p.length;_++)h.set(p[_].name,p[_]);var M=U0.load(e,s,f);return H.k(M.regions,function(L){var z=L.name;!h.get(z)&&p.push({name:z})}),p},a}(),xU=new IZ,SU=xU,NZ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s,f){var p=U0.getGeoResource(e.map);if(p&&p.type==="geoJSON"){var h=e.itemStyle=e.itemStyle||{};"color"in h||(h.color="#eee")}this.mergeDefaultAndTheme(e,f),on(e,"label",["show"])},n.prototype.optionUpdated=function(){var e=this,s=this.option;s.regions=SU.getFilledRegions(s.regions,s.map,s.nameMap,s.nameProperty);var f={};this._optionModelMap=H.N(s.regions||[],function(p,h){var _=h.name;return _&&(p.set(_,new tp(h,e,e.ecModel)),h.selected&&(f[_]=!0)),p},H.f()),s.selectedMap||(s.selectedMap=f)},n.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new tp(null,this,this.ecModel)},n.prototype.getFormattedLabel=function(e,s){var f=this.getRegionModel(e),p=s==="normal"?f.get(["label","formatter"]):f.get(["emphasis","label","formatter"]),h={name:e};if(H.w(p))return h.status=s,p(h);if(H.C(p))return p.replace("{a}",e!=null?e:"")},n.prototype.setZoom=function(e){this.option.zoom=e},n.prototype.setCenter=function(e){this.option.center=e},n.prototype.select=function(e){var s=this.option,f=s.selectedMode;if(!!f){f!=="multiple"&&(s.selectedMap=null);var p=s.selectedMap||(s.selectedMap={});p[e]=!0}},n.prototype.unSelect=function(e){var s=this.option.selectedMap;s&&(s[e]=!1)},n.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},n.prototype.isSelected=function(e){var s=this.option.selectedMap;return!!(s&&s[e])},n.type="geo",n.layoutMode="box",n.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},n}(tf),LZ=NZ;function wU(a,n){return a.pointToProjected?a.pointToProjected(n):a.pointToData(n)}function pk(a,n,e,s){var f=a.getZoom(),p=a.getCenter(),h=n.zoom,_=a.projectedToPoint?a.projectedToPoint(p):a.dataToPoint(p);if(n.dx!=null&&n.dy!=null&&(_[0]-=n.dx,_[1]-=n.dy,a.setCenter(wU(a,_),s)),h!=null){if(e){var M=e.min||0,L=e.max||Infinity;h=Math.max(Math.min(f*h,L),M)/f}a.scaleX*=h,a.scaleY*=h;var z=(n.originX-a.x)*(h-1),Y=(n.originY-a.y)*(h-1);a.x-=z,a.y-=Y,a.updateTransform(),a.setCenter(wU(a,_),s),a.setZoom(h*f)}return{center:a.getCenter(),zoom:a.getZoom()}}var TU=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.focusBlurEnabled=!0,e}return n.prototype.init=function(e,s){this._api=s},n.prototype.render=function(e,s,f,p){if(this._model=e,!e.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new gU(f));var h=this._mapDraw;h.draw(e,s,f,this,p),h.group.on("click",this._handleRegionClick,this),h.group.silent=e.get("silent"),this.group.add(h.group),this.updateSelectStatus(e,s,f)},n.prototype._handleRegionClick=function(e){var s;y1(e.target,function(f){return(s=sc(f).eventData)!=null},!0),s&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:s.name})},n.prototype.updateSelectStatus=function(e,s,f){var p=this;this._mapDraw.group.traverse(function(h){var _=sc(h).eventData;if(_)return p._model.isSelected(_.name)?f.enterSelect(h):f.leaveSelect(h),!0})},n.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},n.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},n.type="geo",n}(Np),FZ=TU;function UZ(a,n,e){U0.registerMap(a,n,e)}function AU(a){a.registerCoordinateSystem("geo",SU),a.registerComponentModel(LZ),a.registerComponentView(FZ),a.registerImpl("registerMap",UZ),a.registerImpl("getMap",function(e){return U0.getMapForUser(e)});function n(e,s){s.update="geo:updateSelectStatus",a.registerAction(s,function(f,p){var h={},_=[];return p.eachComponent({mainType:"geo",query:f},function(M){M[e](f.name);var L=M.coordinateSystem;Object(H.k)(L.regions,function(Y){h[Y.name]=M.isSelected(Y.name)||!1});var z=[];Object(H.k)(h,function(Y,q){h[q]&&z.push(q)}),_.push({geoIndex:M.componentIndex,name:z})}),{selected:h,allSelected:_,name:f.name}})}n("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),n("select",{type:"geoSelect",event:"geoselected"}),n("unSelect",{type:"geoUnSelect",event:"geounselected"}),a.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(e,s,f){var p=e.componentType||"series";s.eachComponent({mainType:p,query:e},function(h){var _=h.coordinateSystem;if(_.type==="geo"){var M=pk(_,e,h.get("scaleLimit"),f);h.setCenter&&h.setCenter(M.center),h.setZoom&&h.setZoom(M.zoom),p==="series"&&Object(H.k)(h.seriesGroup,function(L){L.setCenter(M.center),L.setZoom(M.zoom)})}})})}function BZ(a){Dd(AU),a.registerChartView(wZ),a.registerSeriesModel(AZ),a.registerLayout(MZ),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,jZ),L6("map",a.registerAction)}function kU(a){var n=a;n.hierNode={defaultAncestor:null,ancestor:n,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e=[n],s,f;s=e.pop();)if(f=s.children,s.isExpand&&f.length)for(var p=f.length,h=p-1;h>=0;h--){var _=f[h];_.hierNode={defaultAncestor:null,ancestor:_,prelim:0,modifier:0,change:0,shift:0,i:h,thread:null},e.push(_)}}function VZ(a,n){var e=a.isExpand?a.children:[],s=a.parentNode.children,f=a.hierNode.i?s[a.hierNode.i-1]:null;if(e.length){MU(a);var p=(e[0].hierNode.prelim+e[e.length-1].hierNode.prelim)/2;f?(a.hierNode.prelim=f.hierNode.prelim+n(a,f),a.hierNode.modifier=a.hierNode.prelim-p):a.hierNode.prelim=p}else f&&(a.hierNode.prelim=f.hierNode.prelim+n(a,f));a.parentNode.hierNode.defaultAncestor=HZ(a,f,a.parentNode.hierNode.defaultAncestor||s[0],n)}function jU(a){var n=a.hierNode.prelim+a.parentNode.hierNode.modifier;a.setLayout({x:n},!0),a.hierNode.modifier+=a.parentNode.hierNode.modifier}function FI(a){return arguments.length?a:WZ}function AC(a,n){return a-=Math.PI/2,{x:n*Math.cos(a),y:n*Math.sin(a)}}function zZ(a,n){return Pv(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function MU(a){for(var n=a.children,e=n.length,s=0,f=0;--e>=0;){var p=n[e];p.hierNode.prelim+=s,p.hierNode.modifier+=s,f+=p.hierNode.change,s+=p.hierNode.shift+f}}function HZ(a,n,e,s){if(n){for(var f=a,p=a,h=p.parentNode.children[0],_=n,M=f.hierNode.modifier,L=p.hierNode.modifier,z=h.hierNode.modifier,Y=_.hierNode.modifier;_=vk(_),p=hk(p),_&&p;){f=vk(f),h=hk(h),f.hierNode.ancestor=a;var q=_.hierNode.prelim+Y-p.hierNode.prelim-L+s(_,p);q>0&&($Z(GZ(_,a,e),a,q),L+=q,M+=q),Y+=_.hierNode.modifier,L+=p.hierNode.modifier,M+=f.hierNode.modifier,z+=h.hierNode.modifier}_&&!vk(f)&&(f.hierNode.thread=_,f.hierNode.modifier+=Y-M),p&&!hk(h)&&(h.hierNode.thread=p,h.hierNode.modifier+=L-z,e=a)}return e}function vk(a){var n=a.children;return n.length&&a.isExpand?n[n.length-1]:a.hierNode.thread}function hk(a){var n=a.children;return n.length&&a.isExpand?n[0]:a.hierNode.thread}function GZ(a,n,e){return a.hierNode.ancestor.parentNode===n.parentNode?a.hierNode.ancestor:e}function $Z(a,n,e){var s=e/(n.hierNode.i-a.hierNode.i);n.hierNode.change-=s,n.hierNode.shift+=e,n.hierNode.modifier+=e,n.hierNode.prelim+=e,a.hierNode.change+=s}function WZ(a,n){return a.parentNode===n.parentNode?1:2}var PU=function(){function a(){this.parentPoint=[],this.childPoints=[]}return a}(),RU=function(a){Qe(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new PU},n.prototype.buildPath=function(e,s){var f=s.childPoints,p=f.length,h=s.parentPoint,_=f[0],M=f[p-1];if(p===1){e.moveTo(h[0],h[1]),e.lineTo(_[0],_[1]);return}var L=s.orient,z=L==="TB"||L==="BT"?0:1,Y=1-z,q=Mi(s.forkPosition,1),se=[];se[z]=h[z],se[Y]=h[Y]+(M[Y]-h[Y])*q,e.moveTo(h[0],h[1]),e.lineTo(se[0],se[1]),e.moveTo(_[0],_[1]),se[z]=_[z],e.lineTo(se[0],se[1]),se[z]=M[z],e.lineTo(se[0],se[1]),e.lineTo(M[0],M[1]);for(var ye=1;ye<p-1;ye++){var je=f[ye];e.moveTo(je[0],je[1]),se[z]=je[z],e.lineTo(se[0],se[1])}},n}(Ti),kC=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._mainGroup=new _s,e}return n.prototype.init=function(e,s){this._controller=new kS(s.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},n.prototype.render=function(e,s,f){var p=e.getData(),h=e.layoutInfo,_=this._mainGroup,M=e.get("layout");M==="radial"?(_.x=h.x+h.width/2,_.y=h.y+h.height/2):(_.x=h.x,_.y=h.y),this._updateViewCoordSys(e,f),this._updateController(e,s,f);var L=this._data;p.diff(L).add(function(z){DU(p,z)&&UI(p,z,null,_,e)}).update(function(z,Y){var q=L.getItemGraphicEl(Y);if(!DU(p,z)){q&&zI(L,Y,q,_,e);return}UI(p,z,q,_,e)}).remove(function(z){var Y=L.getItemGraphicEl(z);Y&&zI(L,z,Y,_,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),e.get("expandAndCollapse")===!0&&p.eachItemGraphicEl(function(z,Y){z.off("click").on("click",function(){f.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:Y})})}),this._data=p},n.prototype._updateViewCoordSys=function(e,s){var f=e.getData(),p=[];f.each(function(Y){var q=f.getItemLayout(Y);q&&!isNaN(q.x)&&!isNaN(q.y)&&p.push([+q.x,+q.y])});var h=[],_=[];Oc(p,h,_);var M=this._min,L=this._max;_[0]-h[0]==0&&(h[0]=M?M[0]:h[0]-1,_[0]=L?L[0]:_[0]+1),_[1]-h[1]==0&&(h[1]=M?M[1]:h[1]-1,_[1]=L?L[1]:_[1]+1);var z=e.coordinateSystem=new DS;z.zoomLimit=e.get("scaleLimit"),z.setBoundingRect(h[0],h[1],_[0]-h[0],_[1]-h[1]),z.setCenter(e.get("center"),s),z.setZoom(e.get("zoom")),this.group.attr({x:z.x,y:z.y,scaleX:z.scaleX,scaleY:z.scaleY}),this._min=h,this._max=_},n.prototype._updateController=function(e,s,f){var p=this,h=this._controller,_=this._controllerHost,M=this.group;h.setPointerChecker(function(L,z,Y){var q=M.getBoundingRect();return q.applyTransform(M.transform),q.contain(z,Y)&&!ck(L,f,e)}),h.enable(e.get("roam")),_.zoomLimit=e.get("scaleLimit"),_.zoom=e.coordinateSystem.getZoom(),h.off("pan").off("zoom").on("pan",function(L){sk(_,L.dx,L.dy),f.dispatchAction({seriesId:e.id,type:"treeRoam",dx:L.dx,dy:L.dy})}).on("zoom",function(L){wI(_,L.scale,L.originX,L.originY),f.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:L.scale,originX:L.originX,originY:L.originY}),p._updateNodeAndLinkScale(e),f.updateLabelLayout()})},n.prototype._updateNodeAndLinkScale=function(e){var s=e.getData(),f=this._getNodeGlobalScale(e);s.eachItemGraphicEl(function(p,h){p.setSymbolScale(f)})},n.prototype._getNodeGlobalScale=function(e){var s=e.coordinateSystem;if(s.type!=="view")return 1;var f=this._nodeScaleRatio,p=s.scaleX||1,h=s.getZoom(),_=(h-1)*f+1;return _/p},n.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},n.type="tree",n}(np);function DU(a,n){var e=a.getItemLayout(n);return e&&!isNaN(e.x)&&!isNaN(e.y)}function UI(a,n,e,s,f){var p=!e,h=a.tree.getNodeByDataIndex(n),_=h.getModel(),M=h.getVisual("style").fill,L=h.isExpand===!1&&h.children.length!==0?M:"#fff",z=a.tree.root,Y=h.parentNode===z?h:h.parentNode||h,q=a.getItemGraphicEl(Y.dataIndex),se=Y.getLayout(),ye=q?{x:q.__oldX,y:q.__oldY,rawX:q.__radialOldRawX,rawY:q.__radialOldRawY}:se,je=h.getLayout();p?(e=new gS(a,n,null,{symbolInnerColor:L,useNameLabel:!0}),e.x=ye.x,e.y=ye.y):e.updateData(a,n,null,{symbolInnerColor:L,useNameLabel:!0}),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=je.rawX,e.__radialRawY=je.rawY,s.add(e),a.setItemGraphicEl(n,e),e.__oldX=e.x,e.__oldY=e.y,pf(e,{x:je.x,y:je.y},f);var De=e.getSymbolPath();if(f.get("layout")==="radial"){var We=z.children[0],st=We.getLayout(),dt=We.children.length,Mt=void 0,nn=void 0;if(je.x===st.x&&h.isExpand===!0&&We.children.length){var rn={x:(We.children[0].getLayout().x+We.children[dt-1].getLayout().x)/2,y:(We.children[0].getLayout().y+We.children[dt-1].getLayout().y)/2};Mt=Math.atan2(rn.y-st.y,rn.x-st.x),Mt<0&&(Mt=Math.PI*2+Mt),nn=rn.x<st.x,nn&&(Mt=Mt-Math.PI)}else Mt=Math.atan2(je.y-st.y,je.x-st.x),Mt<0&&(Mt=Math.PI*2+Mt),h.children.length===0||h.children.length!==0&&h.isExpand===!1?(nn=je.x<st.x,nn&&(Mt=Mt-Math.PI)):(nn=je.x>st.x,nn||(Mt=Mt-Math.PI));var Cn=nn?"left":"right",er=_.getModel("label"),ir=er.get("rotate"),dr=ir*(Math.PI/180),pr=De.getTextContent();pr&&(De.setTextConfig({position:er.get("position")||Cn,rotation:ir==null?-Mt:dr,origin:"center"}),pr.setStyle("verticalAlign","middle"))}var ia=_.get(["emphasis","focus"]),pa=ia==="relative"?H.e(h.getAncestorsIndices(),h.getDescendantIndices()):ia==="ancestor"?h.getAncestorsIndices():ia==="descendant"?h.getDescendantIndices():null;pa&&(sc(e).focus=pa),KZ(f,h,z,e,ye,se,je,s),e.__edge&&(e.onHoverStateChange=function(Ga){if(Ga!=="blur"){var si=h.parentNode&&a.getItemGraphicEl(h.parentNode.dataIndex);si&&si.hoverState===ko||m0(e.__edge,Ga)}})}function KZ(a,n,e,s,f,p,h,_){var M=n.getModel(),L=a.get("edgeShape"),z=a.get("layout"),Y=a.getOrient(),q=a.get(["lineStyle","curveness"]),se=a.get("edgeForkPosition"),ye=M.getModel("lineStyle").getLineStyle(),je=s.__edge;if(L==="curve")n.parentNode&&n.parentNode!==e&&(je||(je=s.__edge=new qT({shape:gk(z,Y,q,f,f)})),pf(je,{shape:gk(z,Y,q,p,h)},a));else if(L==="polyline"&&z==="orthogonal"&&n!==e&&n.children&&n.children.length!==0&&n.isExpand===!0){for(var De=n.children,We=[],st=0;st<De.length;st++){var dt=De[st].getLayout();We.push([dt.x,dt.y])}je||(je=s.__edge=new RU({shape:{parentPoint:[h.x,h.y],childPoints:[[h.x,h.y]],orient:Y,forkPosition:se}})),pf(je,{shape:{parentPoint:[h.x,h.y],childPoints:We}},a)}je&&!(L==="polyline"&&!n.isExpand)&&(je.useStyle(H.i({strokeNoScale:!0,fill:null},ye)),Qv(je,M,"lineStyle"),um(je),_.add(je))}function BI(a,n,e,s,f){var p=n.tree.root,h=VI(p,a),_=h.source,M=h.sourceLayout,L=n.getItemGraphicEl(a.dataIndex);if(!!L){var z=n.getItemGraphicEl(_.dataIndex),Y=z.__edge,q=L.__edge||(_.isExpand===!1||_.children.length===1?Y:void 0),se=s.get("edgeShape"),ye=s.get("layout"),je=s.get("orient"),De=s.get(["lineStyle","curveness"]);q&&(se==="curve"?x_(q,{shape:gk(ye,je,De,M,M),style:{opacity:0}},s,{cb:function(){e.remove(q)},removeOpt:f}):se==="polyline"&&s.get("layout")==="orthogonal"&&x_(q,{shape:{parentPoint:[M.x,M.y],childPoints:[[M.x,M.y]]},style:{opacity:0}},s,{cb:function(){e.remove(q)},removeOpt:f}))}}function VI(a,n){for(var e=n.parentNode===a?n:n.parentNode||n,s;s=e.getLayout(),s==null;)e=e.parentNode===a?e:e.parentNode||e;return{source:e,sourceLayout:s}}function zI(a,n,e,s,f){var p=a.tree.getNodeByDataIndex(n),h=a.tree.root,_=VI(h,p).sourceLayout,M={duration:f.get("animationDurationUpdate"),easing:f.get("animationEasingUpdate")};x_(e,{x:_.x+1,y:_.y+1},f,{cb:function(){s.remove(e),a.setItemGraphicEl(n,null)},removeOpt:M}),e.fadeOut(null,a.hostModel,{fadeLabel:!0,animation:M}),p.children.forEach(function(L){BI(L,a,s,f,M)}),BI(p,a,s,f,M)}function gk(a,n,e,s,f){var p,h,_,M,L,z,Y,q;if(a==="radial"){L=s.rawX,Y=s.rawY,z=f.rawX,q=f.rawY;var se=AC(L,Y),ye=AC(L,Y+(q-Y)*e),je=AC(z,q+(Y-q)*e),De=AC(z,q);return{x1:se.x||0,y1:se.y||0,x2:De.x||0,y2:De.y||0,cpx1:ye.x||0,cpy1:ye.y||0,cpx2:je.x||0,cpy2:je.y||0}}else L=s.x,Y=s.y,z=f.x,q=f.y,(n==="LR"||n==="RL")&&(p=L+(z-L)*e,h=Y,_=z+(L-z)*e,M=q),(n==="TB"||n==="BT")&&(p=L,h=Y+(q-Y)*e,_=z,M=q+(Y-q)*e);return{x1:L,y1:Y,x2:z,y2:q,cpx1:p,cpy1:h,cpx2:_,cpy2:M}}var YZ=kC,bm=ol();function XZ(a){var n=a.mainData,e=a.datas;e||(e={main:n},a.datasAttr={main:"data"}),a.datas=a.mainData=null,IU(n,e,a),Object(H.k)(e,function(s){Object(H.k)(n.TRANSFERABLE_METHODS,function(f){s.wrapMethod(f,Object(H.h)(JZ,a))})}),n.wrapMethod("cloneShallow",Object(H.h)(QZ,a)),Object(H.k)(n.CHANGABLE_METHODS,function(s){n.wrapMethod(s,Object(H.h)(ZZ,a))}),Object(H.b)(e[n.dataType]===n)}function JZ(a,n){if(tQ(this)){var e=Object(H.m)({},bm(this).datas);e[this.dataType]=n,IU(n,e,a)}else HI(n,this.dataType,bm(this).mainData,a);return n}function ZZ(a,n){return a.struct&&a.struct.update(),n}function QZ(a,n){return Object(H.k)(bm(n).datas,function(e,s){e!==n&&HI(e.cloneShallow(),s,n,a)}),n}function qZ(a){var n=bm(this).mainData;return a==null||n==null?n:bm(n).datas[a]}function eQ(){var a=bm(this).mainData;return a==null?[{data:a}]:Object(H.H)(Object(H.F)(bm(a).datas),function(n){return{type:n,data:bm(a).datas[n]}})}function tQ(a){return bm(a).mainData===a}function IU(a,n,e){bm(a).datas={},Object(H.k)(n,function(s,f){HI(s,f,a,e)})}function HI(a,n,e,s){bm(e).datas[n]=a,bm(a).mainData=e,a.dataType=n,s.struct&&(a[s.structAttr]=s.struct,s.struct[s.datasAttr[n]]=a),a.getLinkedData=qZ,a.getLinkedDataAll=eQ}var NU=XZ,nQ=function(){function a(n,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=n||"",this.hostTree=e}return a.prototype.isRemoved=function(){return this.dataIndex<0},a.prototype.eachNode=function(n,e,s){H.w(n)&&(s=e,e=n,n=null),n=n||{},H.C(n)&&(n={order:n});var f=n.order||"preorder",p=this[n.attr||"children"],h;f==="preorder"&&(h=e.call(s,this));for(var _=0;!h&&_<p.length;_++)p[_].eachNode(n,e,s);f==="postorder"&&e.call(s,this)},a.prototype.updateDepthAndHeight=function(n){var e=0;this.depth=n;for(var s=0;s<this.children.length;s++){var f=this.children[s];f.updateDepthAndHeight(n+1),f.height>e&&(e=f.height)}this.height=e+1},a.prototype.getNodeById=function(n){if(this.getId()===n)return this;for(var e=0,s=this.children,f=s.length;e<f;e++){var p=s[e].getNodeById(n);if(p)return p}},a.prototype.contains=function(n){if(n===this)return!0;for(var e=0,s=this.children,f=s.length;e<f;e++){var p=s[e].contains(n);if(p)return p}},a.prototype.getAncestors=function(n){for(var e=[],s=n?this:this.parentNode;s;)e.push(s),s=s.parentNode;return e.reverse(),e},a.prototype.getAncestorsIndices=function(){for(var n=[],e=this;e;)n.push(e.dataIndex),e=e.parentNode;return n.reverse(),n},a.prototype.getDescendantIndices=function(){var n=[];return this.eachNode(function(e){n.push(e.dataIndex)}),n},a.prototype.getValue=function(n){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(n||"value"),this.dataIndex)},a.prototype.setLayout=function(n,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,e)},a.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},a.prototype.getModel=function(n){if(!(this.dataIndex<0)){var e=this.hostTree,s=e.data.getItemModel(this.dataIndex);return s.getModel(n)}},a.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},a.prototype.setVisual=function(n,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,e)},a.prototype.getVisual=function(n){return this.hostTree.data.getItemVisual(this.dataIndex,n)},a.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},a.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},a.prototype.getChildIndex=function(){if(this.parentNode){for(var n=this.parentNode.children,e=0;e<n.length;++e)if(n[e]===this)return e;return-1}return-1},a.prototype.isAncestorOf=function(n){for(var e=n.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},a.prototype.isDescendantOf=function(n){return n!==this&&n.isAncestorOf(this)},a}(),mk=function(){function a(n){this.type="tree",this._nodes=[],this.hostModel=n}return a.prototype.eachNode=function(n,e,s){this.root.eachNode(n,e,s)},a.prototype.getNodeByDataIndex=function(n){var e=this.data.getRawIndex(n);return this._nodes[e]},a.prototype.getNodeById=function(n){return this.root.getNodeById(n)},a.prototype.update=function(){for(var n=this.data,e=this._nodes,s=0,f=e.length;s<f;s++)e[s].dataIndex=-1;for(var s=0,f=n.count();s<f;s++)e[n.getRawIndex(s)].dataIndex=s},a.prototype.clearLayouts=function(){this.data.clearItemLayouts()},a.createTree=function(n,e,s){var f=new a(e),p=[],h=1;_(n);function _(z,Y){var q=z.value;h=Math.max(h,H.t(q)?q.length:1),p.push(z);var se=new nQ(Ms(z.name,""),f);Y?rQ(se,Y):f.root=se,f._nodes.push(se);var ye=z.children;if(ye)for(var je=0;je<ye.length;je++)_(ye[je],se)}f.root.updateDepthAndHeight(0);var M=_C(p,{coordDimensions:["value"],dimensionsCount:h}).dimensions,L=new cg(M,e);return L.initData(p),s&&s(L),NU({mainData:L,struct:f,structAttr:"tree"}),f.update(),f},a}();function rQ(a,n){var e=n.children;a.parentNode!==n&&(e.push(a),a.parentNode=n)}var _k=mk;function IS(a,n,e){if(a&&H.r(n,a.type)>=0){var s=e.getData().tree.root,f=a.targetNode;if(H.C(f)&&(f=s.getNodeById(f)),f&&s.contains(f))return{node:f};var p=a.targetNodeId;if(p!=null&&(f=s.getNodeById(p)))return{node:f}}}function NS(a){for(var n=[];a;)a=a.parentNode,a&&n.push(a);return n.reverse()}function GI(a,n){var e=NS(a);return H.r(e,n)>=0}function LS(a,n){for(var e=[];a;){var s=a.dataIndex;e.push({name:a.name,dataIndex:s,value:n.getRawValue(s)}),a=a.parentNode}return e.reverse(),e}var aQ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return n.prototype.getInitialData=function(e){var s={name:e.name,children:e.data},f=e.leaves||{},p=new tp(f,this,this.ecModel),h=_k.createTree(s,this,_);function _(Y){Y.wrapMethod("getItemModel",function(q,se){var ye=h.getNodeByDataIndex(se);return ye&&ye.children.length&&ye.isExpand||(q.parentModel=p),q})}var M=0;h.eachNode("preorder",function(Y){Y.depth>M&&(M=Y.depth)});var L=e.expandAndCollapse,z=L&&e.initialTreeDepth>=0?e.initialTreeDepth:M;return h.root.eachNode("preorder",function(Y){var q=Y.hostTree.data.getRawDataItem(Y.dataIndex);Y.isExpand=q&&q.collapsed!=null?!q.collapsed:Y.depth<=z}),h.data},n.prototype.getOrient=function(){var e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},n.prototype.setZoom=function(e){this.option.zoom=e},n.prototype.setCenter=function(e){this.option.center=e},n.prototype.formatTooltip=function(e,s,f){for(var p=this.getData().tree,h=p.root.children[0],_=p.getNodeByDataIndex(e),M=_.getValue(),L=_.name;_&&_!==h;)L=_.parentNode.name+"."+L,_=_.parentNode;return th("nameValue",{name:L,value:M,noValue:isNaN(M)||M==null})},n.prototype.getDataParams=function(e){var s=a.prototype.getDataParams.apply(this,arguments),f=this.getData().tree.getNodeByDataIndex(e);return s.treeAncestors=LS(f,this),s.collapsed=!f.isExpand,s},n.type="series.tree",n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},n}(mp),iQ=aQ;function oQ(a,n,e){for(var s=[a],f=[],p;p=s.pop();)if(f.push(p),p.isExpand){var h=p.children;if(h.length)for(var _=0;_<h.length;_++)s.push(h[_])}for(;p=f.pop();)n(p,e)}function V1(a,n){for(var e=[a],s;s=e.pop();)if(n(s),s.isExpand){var f=s.children;if(f.length)for(var p=f.length-1;p>=0;p--)e.push(f[p])}}function sQ(a,n){a.eachSeriesByType("tree",function(e){cQ(e,n)})}function cQ(a,n){var e=zZ(a,n);a.layoutInfo=e;var s=a.get("layout"),f=0,p=0,h=null;s==="radial"?(f=2*Math.PI,p=Math.min(e.height,e.width)/2,h=FI(function(dt,Mt){return(dt.parentNode===Mt.parentNode?1:2)/dt.depth})):(f=e.width,p=e.height,h=FI());var _=a.getData().tree.root,M=_.children[0];if(M){kU(_),oQ(M,VZ,h),_.hierNode.modifier=-M.hierNode.prelim,V1(M,jU);var L=M,z=M,Y=M;V1(M,function(dt){var Mt=dt.getLayout().x;Mt<L.getLayout().x&&(L=dt),Mt>z.getLayout().x&&(z=dt),dt.depth>Y.depth&&(Y=dt)});var q=L===z?1:h(L,z)/2,se=q-L.getLayout().x,ye=0,je=0,De=0,We=0;if(s==="radial")ye=f/(z.getLayout().x+q+se),je=p/(Y.depth-1||1),V1(M,function(dt){De=(dt.getLayout().x+se)*ye,We=(dt.depth-1)*je;var Mt=AC(De,We);dt.setLayout({x:Mt.x,y:Mt.y,rawX:De,rawY:We},!0)});else{var st=a.getOrient();st==="RL"||st==="LR"?(je=p/(z.getLayout().x+q+se),ye=f/(Y.depth-1||1),V1(M,function(dt){We=(dt.getLayout().x+se)*je,De=st==="LR"?(dt.depth-1)*ye:f-(dt.depth-1)*ye,dt.setLayout({x:De,y:We},!0)})):(st==="TB"||st==="BT")&&(ye=f/(z.getLayout().x+q+se),je=p/(Y.depth-1||1),V1(M,function(dt){De=(dt.getLayout().x+se)*ye,We=st==="TB"?(dt.depth-1)*je:p-(dt.depth-1)*je,dt.setLayout({x:De,y:We},!0)}))}}}function lQ(a){a.eachSeriesByType("tree",function(n){var e=n.getData(),s=e.tree;s.eachNode(function(f){var p=f.getModel(),h=p.getModel("itemStyle").getItemStyle(),_=e.ensureUniqueItemVisual(f.dataIndex,"style");Object(H.m)(_,h)})})}function $I(a){a.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(n,e){e.eachComponent({mainType:"series",subType:"tree",query:n},function(s){var f=n.dataIndex,p=s.getData().tree,h=p.getNodeByDataIndex(f);h.isExpand=!h.isExpand})}),a.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(n,e,s){e.eachComponent({mainType:"series",subType:"tree",query:n},function(f){var p=f.coordinateSystem,h=pk(p,n,void 0,s);f.setCenter&&f.setCenter(h.center),f.setZoom&&f.setZoom(h.zoom)})})}function uQ(a){a.registerChartView(YZ),a.registerSeriesModel(iQ),a.registerLayout(sQ),a.registerVisual(lQ),$I(a)}var LU=["treemapZoomToNode","treemapRender","treemapMove"];function z1(a){for(var n=0;n<LU.length;n++)a.registerAction({type:LU[n],update:"updateView"},H.L);a.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,s){s.eachComponent({mainType:"series",subType:"treemap",query:e},f);function f(p,h){var _=["treemapZoomToNode","treemapRootToNode"],M=IS(e,_,p);if(M){var L=p.getViewRoot();L&&(e.direction=GI(L,M.node)?"rollUp":"drillDown"),p.resetViewRoot(M.node)}}})}function WI(a){var n=a.getData(),e=n.tree,s={};e.eachNode(function(f){for(var p=f;p&&p.depth>1;)p=p.parentNode;var h=Ox(a.ecModel,p.name||p.dataIndex+"",s);f.setVisual("decal",h)})}var dQ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.preventUsingHoverLayer=!0,e}return n.prototype.getInitialData=function(e,s){var f={name:e.name,children:e.data};FU(f);var p=e.levels||[],h=this.designatedVisualItemStyle={},_=new tp({itemStyle:h},this,s);p=e.levels=fQ(p,s);var M=H.H(p||[],function(Y){return new tp(Y,_,s)},this),L=_k.createTree(f,this,z);function z(Y){Y.wrapMethod("getItemModel",function(q,se){var ye=L.getNodeByDataIndex(se),je=ye?M[ye.depth]:null;return q.parentModel=je||_,q})}return L.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.formatTooltip=function(e,s,f){var p=this.getData(),h=this.getRawValue(e),_=p.getName(e);return th("nameValue",{name:_,value:h})},n.prototype.getDataParams=function(e){var s=a.prototype.getDataParams.apply(this,arguments),f=this.getData().tree.getNodeByDataIndex(e);return s.treeAncestors=LS(f,this),s.treePathInfo=s.treeAncestors,s},n.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},H.m(this.layoutInfo,e)},n.prototype.mapIdToIndex=function(e){var s=this._idIndexMap;s||(s=this._idIndexMap=H.f(),this._idIndexMapCount=0);var f=s.get(e);return f==null&&s.set(e,f=this._idIndexMapCount++),f},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var s=this.getRawData().tree.root;(!e||e!==s&&!s.contains(e))&&(this._viewRoot=s)},n.prototype.enableAriaDecal=function(){WI(this)},n.type="series.treemap",n.layoutMode="box",n.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},n}(mp);function FU(a){var n=0;H.k(a.children,function(s){FU(s);var f=s.value;H.t(f)&&(f=f[0]),n+=f});var e=a.value;H.t(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=n),e<0&&(e=0),H.t(a.value)?a.value[0]=e:a.value=e}function fQ(a,n){var e=St(n.get("color")),s=St(n.get(["aria","decal","decals"]));if(!!e){a=a||[];var f,p;H.k(a,function(_){var M=new tp(_),L=M.get("color"),z=M.get("decal");(M.get(["itemStyle","color"])||L&&L!=="none")&&(f=!0),(M.get(["itemStyle","decal"])||z&&z!=="none")&&(p=!0)});var h=a[0]||(a[0]={});return f||(h.color=e.slice()),!p&&s&&(h.decal=s.slice()),a}}var pQ=dQ,vQ=8,UU=8,KI=5,hQ=function(){function a(n){this.group=new _s,n.add(this.group)}return a.prototype.render=function(n,e,s,f){var p=n.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!(!p.get("show")||!s)){var _=p.getModel("itemStyle"),M=p.getModel("emphasis"),L=_.getModel("textStyle"),z=M.getModel(["itemStyle","textStyle"]),Y={pos:{left:p.get("left"),right:p.get("right"),top:p.get("top"),bottom:p.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:p.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(s,Y,L),this._renderContent(n,Y,_,M,L,z,f),r1(h,Y.pos,Y.box)}},a.prototype._prepare=function(n,e,s){for(var f=n;f;f=f.parentNode){var p=Ms(f.getModel().get("name"),""),h=s.getTextRect(p),_=Math.max(h.width+vQ*2,e.emptyItemWidth);e.totalWidth+=_+UU,e.renderList.push({node:f,text:p,width:_})}},a.prototype._renderContent=function(n,e,s,f,p,h,_){for(var M=0,L=e.emptyItemWidth,z=n.get(["breadcrumb","height"]),Y=QP(e.pos,e.box),q=e.totalWidth,se=e.renderList,ye=f.getModel("itemStyle").getItemStyle(),je=se.length-1;je>=0;je--){var De=se[je],We=De.node,st=De.width,dt=De.text;q>Y.width&&(q-=st-L,st=L,dt=null);var Mt=new $h({shape:{points:gQ(M,0,st,z,je===se.length-1,je===0)},style:Object(H.i)(s.getItemStyle(),{lineJoin:"bevel"}),textContent:new Ho({style:ep(p,{text:dt})}),textConfig:{position:"inside"},z2:Td*1e4,onclick:Object(H.h)(_,We)});Mt.disableLabelAnimation=!0,Mt.getTextContent().ensureState("emphasis").style=ep(h,{text:dt}),Mt.ensureState("emphasis").style=ye,Wp(Mt,f.get("focus"),f.get("blurScope"),f.get("disabled")),this.group.add(Mt),mQ(Mt,n,We),M+=st+UU}},a.prototype.remove=function(){this.group.removeAll()},a}();function gQ(a,n,e,s,f,p){var h=[[f?a:a-KI,n],[a+e,n],[a+e,n+s],[f?a:a-KI,n+s]];return!p&&h.splice(2,0,[a+e+KI,n+s/2]),!f&&h.push([a,n+s/2]),h}function mQ(a,n,e){sc(a).eventData={componentType:"series",componentSubType:"treemap",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&LS(e,n)}}var _Q=hQ,yQ=function(){function a(){this._storage=[],this._elExistsMap={}}return a.prototype.add=function(n,e,s,f,p){return this._elExistsMap[n.id]?!1:(this._elExistsMap[n.id]=!0,this._storage.push({el:n,target:e,duration:s,delay:f,easing:p}),!0)},a.prototype.finished=function(n){return this._finishedCallback=n,this},a.prototype.start=function(){for(var n=this,e=this._storage.length,s=function(){e--,e<=0&&(n._storage.length=0,n._elExistsMap={},n._finishedCallback&&n._finishedCallback())},f=0,p=this._storage.length;f<p;f++){var h=this._storage[f];h.el.animateTo(h.target,{duration:h.duration,delay:h.delay,easing:h.easing,setToFinal:!0,done:s,aborted:s})}return this},a}();function bQ(){return new yQ}var yk=_s,BU=Ic,VU=3,zU="label",HU="upperLabel",OQ=Td*10,CQ=Td*2,GU=Td*3,eb=lv([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),$U=function(a){var n=eb(a);return n.stroke=n.fill=n.lineWidth=null,n},bk=ol(),EQ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._state="ready",e._storage=FS(),e}return n.prototype.render=function(e,s,f,p){var h=s.findComponents({mainType:"series",subType:"treemap",query:p});if(!(Object(H.r)(h,e)<0)){this.seriesModel=e,this.api=f,this.ecModel=s;var _=["treemapZoomToNode","treemapRootToNode"],M=IS(p,_,e),L=p&&p.type,z=e.layoutInfo,Y=!this._oldTree,q=this._storage,se=L==="treemapRootToNode"&&M&&q?{rootNodeGroup:q.nodeGroup[M.node.getRawIndex()],direction:p.direction}:null,ye=this._giveContainerGroup(z),je=e.get("animation"),De=this._doRender(ye,e,se);je&&!Y&&(!L||L==="treemapZoomToNode"||L==="treemapRootToNode")?this._doAnimation(ye,De,e,se):De.renderFinally(),this._resetController(f),this._renderBreadcrumb(e,f,M)}},n.prototype._giveContainerGroup=function(e){var s=this._containerGroup;return s||(s=this._containerGroup=new yk,this._initEvents(s),this.group.add(s)),s.x=e.x,s.y=e.y,s},n.prototype._doRender=function(e,s,f){var p=s.getData().tree,h=this._oldTree,_=FS(),M=FS(),L=this._storage,z=[];function Y(De,We,st,dt){return xQ(s,M,L,f,_,z,De,We,st,dt)}se(p.root?[p.root]:[],h&&h.root?[h.root]:[],e,p===h||!h,0);var q=ye(L);return this._oldTree=p,this._storage=M,{lastsForAnimation:_,willDeleteEls:q,renderFinally:je};function se(De,We,st,dt,Mt){dt?(We=De,Object(H.k)(De,function(Cn,er){!Cn.isRemoved()&&rn(er,er)})):new D0(We,De,nn,nn).add(rn).update(rn).remove(Object(H.h)(rn,null)).execute();function nn(Cn){return Cn.getId()}function rn(Cn,er){var ir=Cn!=null?De[Cn]:null,dr=er!=null?We[er]:null,pr=Y(ir,dr,st,Mt);pr&&se(ir&&ir.viewChildren||[],dr&&dr.viewChildren||[],pr,dt,Mt+1)}}function ye(De){var We=FS();return De&&Object(H.k)(De,function(st,dt){var Mt=We[dt];Object(H.k)(st,function(nn){nn&&(Mt.push(nn),bk(nn).willDelete=!0)})}),We}function je(){Object(H.k)(q,function(De){Object(H.k)(De,function(We){We.parent&&We.parent.remove(We)})}),Object(H.k)(z,function(De){De.invisible=!0,De.dirty()})}},n.prototype._doAnimation=function(e,s,f,p){var h=f.get("animationDurationUpdate"),_=f.get("animationEasing"),M=(Object(H.w)(h)?0:h)||0,L=(Object(H.w)(_)?null:_)||"cubicOut",z=bQ();Object(H.k)(s.willDeleteEls,function(Y,q){Object(H.k)(Y,function(se,ye){if(!se.invisible){var je=se.parent,De,We=bk(je);if(p&&p.direction==="drillDown")De=je===p.rootNodeGroup?{shape:{x:0,y:0,width:We.nodeWidth,height:We.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var st=0,dt=0;We.willDelete||(st=We.nodeWidth/2,dt=We.nodeHeight/2),De=q==="nodeGroup"?{x:st,y:dt,style:{opacity:0}}:{shape:{x:st,y:dt,width:0,height:0},style:{opacity:0}}}De&&z.add(se,De,M,0,L)}})}),Object(H.k)(this._storage,function(Y,q){Object(H.k)(Y,function(se,ye){var je=s.lastsForAnimation[q][ye],De={};!je||(se instanceof _s?je.oldX!=null&&(De.x=se.x,De.y=se.y,se.x=je.oldX,se.y=je.oldY):(je.oldShape&&(De.shape=Object(H.m)({},se.shape),se.setShape(je.oldShape)),je.fadein?(se.setStyle("opacity",0),De.style={opacity:1}):se.style.opacity!==1&&(De.style={opacity:1})),z.add(se,De,M,0,L))})},this),this._state="animating",z.finished(Object(H.c)(function(){this._state="ready",s.renderFinally()},this)).start()},n.prototype._resetController=function(e){var s=this._controller;s||(s=this._controller=new kS(e.getZr()),s.enable(this.seriesModel.get("roam")),s.on("pan",Object(H.c)(this._onPan,this)),s.on("zoom",Object(H.c)(this._onZoom,this)));var f=new fo(0,0,e.getWidth(),e.getHeight());s.setPointerChecker(function(p,h,_){return f.contain(h,_)})},n.prototype._clearController=function(){var e=this._controller;e&&(e.dispose(),e=null)},n.prototype._onPan=function(e){if(this._state!=="animating"&&(Math.abs(e.dx)>VU||Math.abs(e.dy)>VU)){var s=this.seriesModel.getData().tree.root;if(!s)return;var f=s.getLayout();if(!f)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:f.x+e.dx,y:f.y+e.dy,width:f.width,height:f.height}})}},n.prototype._onZoom=function(e){var s=e.originX,f=e.originY;if(this._state!=="animating"){var p=this.seriesModel.getData().tree.root;if(!p)return;var h=p.getLayout();if(!h)return;var _=new fo(h.x,h.y,h.width,h.height),M=this.seriesModel.layoutInfo;s-=M.x,f-=M.y;var L=en();Gr(L,L,[-s,-f]),Mr(L,L,[e.scale,e.scale]),Gr(L,L,[s,f]),_.applyTransform(L),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:_.x,y:_.y,width:_.width,height:_.height}})}},n.prototype._initEvents=function(e){var s=this;e.on("click",function(f){if(s._state==="ready"){var p=s.seriesModel.get("nodeClick",!0);if(!!p){var h=s.findTarget(f.offsetX,f.offsetY);if(!!h){var _=h.node;if(_.getLayout().isLeafRoot)s._rootToNode(h);else if(p==="zoomToNode")s._zoomToNode(h);else if(p==="link"){var M=_.hostTree.data.getItemModel(_.dataIndex),L=M.get("link",!0),z=M.get("target",!0)||"blank";L&&yx(L,z)}}}}},this)},n.prototype._renderBreadcrumb=function(e,s,f){var p=this;f||(f=e.get("leafDepth",!0)!=null?{node:e.getViewRoot()}:this.findTarget(s.getWidth()/2,s.getHeight()/2),f||(f={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new _Q(this.group))).render(e,s,f.node,function(h){p._state!=="animating"&&(GI(e.getViewRoot(),h)?p._rootToNode({node:h}):p._zoomToNode({node:h}))})},n.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=FS(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},n.prototype.dispose=function(){this._clearController()},n.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},n.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},n.prototype.findTarget=function(e,s){var f,p=this.seriesModel.getViewRoot();return p.eachNode({attr:"viewChildren",order:"preorder"},function(h){var _=this._storage.background[h.getRawIndex()];if(_){var M=_.transformCoordToLocal(e,s),L=_.shape;if(L.x<=M[0]&&M[0]<=L.x+L.width&&L.y<=M[1]&&M[1]<=L.y+L.height)f={node:h,offsetX:M[0],offsetY:M[1]};else return!1}},this),f},n.type="treemap",n}(np);function FS(){return{nodeGroup:[],background:[],content:[]}}function xQ(a,n,e,s,f,p,h,_,M,L){if(!h)return;var z=h.getLayout(),Y=a.getData(),q=h.getModel();if(Y.setItemGraphicEl(h.dataIndex,null),!z||!z.isInView)return;var se=z.width,ye=z.height,je=z.borderWidth,De=z.invisible,We=h.getRawIndex(),st=_&&_.getRawIndex(),dt=h.viewChildren,Mt=z.upperHeight,nn=dt&&dt.length,rn=q.getModel("itemStyle"),Cn=q.getModel(["emphasis","itemStyle"]),er=q.getModel(["blur","itemStyle"]),ir=q.getModel(["select","itemStyle"]),dr=rn.get("borderRadius")||0,pr=$c("nodeGroup",yk);if(!pr)return;if(M.add(pr),pr.x=z.x||0,pr.y=z.y||0,pr.markRedraw(),bk(pr).nodeWidth=se,bk(pr).nodeHeight=ye,z.isAboveViewRoot)return pr;var ia=$c("background",BU,L,CQ);ia&&Rs(pr,ia,nn&&z.upperLabelHeight);var pa=q.getModel("emphasis"),Ga=pa.get("focus"),si=pa.get("blurScope"),Bi=pa.get("disabled"),Go=Ga==="ancestor"?h.getAncestorsIndices():Ga==="descendant"?h.getDescendantIndices():Ga;if(nn)b0(pr)&&y0(pr,!1),ia&&(y0(ia,!Bi),Y.setItemGraphicEl(h.dataIndex,ia),Cy(ia,Go,si));else{var Lo=$c("content",BU,L,GU);Lo&&Ns(pr,Lo),ia.disableMorphing=!0,ia&&b0(ia)&&y0(ia,!1),y0(pr,!Bi),Y.setItemGraphicEl(h.dataIndex,pr),Cy(pr,Go,si)}return pr;function Rs(Ku,vl,Vc){var $l=sc(vl);if($l.dataIndex=h.dataIndex,$l.seriesIndex=a.seriesIndex,vl.setShape({x:0,y:0,width:se,height:ye,r:dr}),De)Ds(vl);else{vl.invisible=!1;var el=h.getVisual("style"),_u=el.stroke,Rf=$U(rn);Rf.fill=_u;var Id=eb(Cn);Id.fill=Cn.get("borderColor");var xp=eb(er);xp.fill=er.get("borderColor");var op=eb(ir);if(op.fill=ir.get("borderColor"),Vc){var Ev=se-2*je;yc(vl,_u,el.opacity,{x:je,y:0,width:Ev,height:Mt})}else vl.removeTextContent();vl.setStyle(Rf),vl.ensureState("emphasis").style=Id,vl.ensureState("blur").style=xp,vl.ensureState("select").style=op,um(vl)}Ku.add(vl)}function Ns(Ku,vl){var Vc=sc(vl);Vc.dataIndex=h.dataIndex,Vc.seriesIndex=a.seriesIndex;var $l=Math.max(se-2*je,0),el=Math.max(ye-2*je,0);if(vl.culling=!0,vl.setShape({x:je,y:je,width:$l,height:el,r:dr}),De)Ds(vl);else{vl.invisible=!1;var _u=h.getVisual("style"),Rf=_u.fill,Id=$U(rn);Id.fill=Rf,Id.decal=_u.decal;var xp=eb(Cn),op=eb(er),Ev=eb(ir);yc(vl,Rf,_u.opacity,null),vl.setStyle(Id),vl.ensureState("emphasis").style=xp,vl.ensureState("blur").style=op,vl.ensureState("select").style=Ev,um(vl)}Ku.add(vl)}function Ds(Ku){!Ku.invisible&&p.push(Ku)}function yc(Ku,vl,Vc,$l){var el=q.getModel($l?HU:zU),_u=Ms(q.get("name"),null),Rf=el.getShallow("show");Wf(Ku,_f(q,$l?HU:zU),{defaultText:Rf?_u:null,inheritColor:vl,defaultOpacity:Vc,labelFetcher:a,labelDataIndex:h.dataIndex});var Id=Ku.getTextContent();if(!!Id){var xp=Id.style,op=Object(H.M)(xp.padding||0);$l&&(Ku.setTextConfig({layoutRect:$l}),Id.disableLabelLayout=!0),Id.beforeUpdate=function(){var Lv=Math.max(($l?$l.width:Ku.shape.width)-op[1]-op[3],0),fh=Math.max(($l?$l.height:Ku.shape.height)-op[0]-op[2],0);(xp.width!==Lv||xp.height!==fh)&&Id.setStyle({width:Lv,height:fh})},xp.truncateMinChar=2,xp.lineOverflow="truncate",Zc(xp,$l,z);var Ev=Id.getState("emphasis");Zc(Ev?Ev.style:null,$l,z)}}function Zc(Ku,vl,Vc){var $l=Ku?Ku.text:null;if(!vl&&Vc.isLeafRoot&&$l!=null){var el=a.get("drillDownIcon",!0);Ku.text=el?el+" "+$l:$l}}function $c(Ku,vl,Vc,$l){var el=st!=null&&e[Ku][st],_u=f[Ku];return el?(e[Ku][st]=null,Nu(_u,el)):De||(el=new vl,el instanceof so&&(el.z2=SQ(Vc,$l)),yd(_u,el)),n[Ku][We]=el}function Nu(Ku,vl){var Vc=Ku[We]={};vl instanceof yk?(Vc.oldX=vl.x,Vc.oldY=vl.y):Vc.oldShape=Object(H.m)({},vl.shape)}function yd(Ku,vl){var Vc=Ku[We]={},$l=h.parentNode,el=vl instanceof _s;if($l&&(!s||s.direction==="drillDown")){var _u=0,Rf=0,Id=f.background[$l.getRawIndex()];!s&&Id&&Id.oldShape&&(_u=Id.oldShape.width,Rf=Id.oldShape.height),el?(Vc.oldX=0,Vc.oldY=Rf):Vc.oldShape={x:_u,y:Rf,width:0,height:0}}Vc.fadein=!el}}function SQ(a,n){return a*OQ+n}var wQ=EQ,US=H.k,TQ=H.A,Ok=-1,Ck=function(){function a(n){var e=n.mappingMethod,s=n.type,f=this.option=H.d(n);this.type=s,this.mappingMethod=e,this._normalizeData=jQ[e];var p=a.visualHandlers[s];this.applyVisual=p.applyVisual,this.getColorMapper=p.getColorMapper,this._normalizedToVisual=p._normalizedToVisual[e],e==="piecewise"?(YI(f),AQ(f)):e==="category"?f.categories?kQ(f):YI(f,!0):(H.b(e!=="linear"||f.dataExtent),YI(f))}return a.prototype.mapValueToVisual=function(n){var e=this._normalizeData(n);return this._normalizedToVisual(e,n)},a.prototype.getNormalizer=function(){return H.c(this._normalizeData,this)},a.listVisualTypes=function(){return H.F(a.visualHandlers)},a.isValidType=function(n){return a.visualHandlers.hasOwnProperty(n)},a.eachVisual=function(n,e,s){H.A(n)?H.k(n,e,s):e.call(s,n)},a.mapVisual=function(n,e,s){var f,p=H.t(n)?[]:H.A(n)?{}:(f=!0,null);return a.eachVisual(n,function(h,_){var M=e.call(s,h,_);f?p=M:p[_]=M}),p},a.retrieveVisuals=function(n){var e={},s;return n&&US(a.visualHandlers,function(f,p){n.hasOwnProperty(p)&&(e[p]=n[p],s=!0)}),s?e:null},a.prepareVisualTypes=function(n){if(H.t(n))n=n.slice();else if(TQ(n)){var e=[];US(n,function(s,f){e.push(f)}),n=e}else return[];return n.sort(function(s,f){return f==="color"&&s!=="color"&&s.indexOf("color")===0?1:-1}),n},a.dependsOn=function(n,e){return e==="color"?!!(n&&n.indexOf(e)===0):n===e},a.findPieceIndex=function(n,e,s){for(var f,p=Infinity,h=0,_=e.length;h<_;h++){var M=e[h].value;if(M!=null){if(M===n||H.C(M)&&M===n+"")return h;s&&q(M,h)}}for(var h=0,_=e.length;h<_;h++){var L=e[h],z=L.interval,Y=L.close;if(z){if(z[0]===-Infinity){if(Sk(Y[1],n,z[1]))return h}else if(z[1]===Infinity){if(Sk(Y[0],z[0],n))return h}else if(Sk(Y[0],z[0],n)&&Sk(Y[1],n,z[1]))return h;s&&q(z[0],h),s&&q(z[1],h)}}if(s)return n===Infinity?e.length-1:n===-Infinity?0:f;function q(se,ye){var je=Math.abs(se-n);je<p&&(p=je,f=ye)}},a.visualHandlers={color:{applyVisual:BS("color"),getColorMapper:function(){var n=this.option;return H.c(n.mappingMethod==="category"?function(e,s){return!s&&(e=this._normalizeData(e)),VS.call(this,e)}:function(e,s,f){var p=!!f;return!s&&(e=this._normalizeData(e)),f=ml.a(e,n.parsedVisual,f),p?f:ml.h(f,"rgba")},this)},_normalizedToVisual:{linear:function(n){return ml.h(ml.a(n,this.option.parsedVisual),"rgba")},category:VS,piecewise:function(n,e){var s=XI.call(this,e);return s==null&&(s=ml.h(ml.a(n,this.option.parsedVisual),"rgba")),s},fixed:H1}},colorHue:Ek(function(n,e){return ml.f(n,e)}),colorSaturation:Ek(function(n,e){return ml.f(n,null,e)}),colorLightness:Ek(function(n,e){return ml.f(n,null,null,e)}),colorAlpha:Ek(function(n,e){return ml.e(n,e)}),decal:{applyVisual:BS("decal"),_normalizedToVisual:{linear:null,category:VS,piecewise:null,fixed:null}},opacity:{applyVisual:BS("opacity"),_normalizedToVisual:xk([0,1])},liftZ:{applyVisual:BS("liftZ"),_normalizedToVisual:{linear:H1,category:H1,piecewise:H1,fixed:H1}},symbol:{applyVisual:function(n,e,s){var f=this.mapValueToVisual(n);s("symbol",f)},_normalizedToVisual:{linear:WU,category:VS,piecewise:function(n,e){var s=XI.call(this,e);return s==null&&(s=WU.call(this,n)),s},fixed:H1}},symbolSize:{applyVisual:BS("symbolSize"),_normalizedToVisual:xk([0,1])}},a}();function AQ(a){var n=a.pieceList;a.hasSpecialVisual=!1,H.k(n,function(e,s){e.originIndex=s,e.visual!=null&&(a.hasSpecialVisual=!0)})}function kQ(a){var n=a.categories,e=a.categoryMap={},s=a.visual;if(US(n,function(h,_){e[h]=_}),!H.t(s)){var f=[];H.A(s)?US(s,function(h,_){var M=e[_];f[M!=null?M:Ok]=h}):f[Ok]=s,s=KU(a,f)}for(var p=n.length-1;p>=0;p--)s[p]==null&&(delete e[n[p]],n.pop())}function YI(a,n){var e=a.visual,s=[];H.A(e)?US(e,function(p){s.push(p)}):e!=null&&s.push(e);var f={color:1,symbol:1};!n&&s.length===1&&!f.hasOwnProperty(a.type)&&(s[1]=s[0]),KU(a,s)}function Ek(a){return{applyVisual:function(n,e,s){var f=this.mapValueToVisual(n);s("color",a(e("color"),f))},_normalizedToVisual:xk([0,1])}}function WU(a){var n=this.option.visual;return n[Math.round(Yo(a,[0,1],[0,n.length-1],!0))]||{}}function BS(a){return function(n,e,s){s(a,this.mapValueToVisual(n))}}function VS(a){var n=this.option.visual;return n[this.option.loop&&a!==Ok?a%n.length:a]}function H1(){return this.option.visual[0]}function xk(a){return{linear:function(n){return Yo(n,a,this.option.visual,!0)},category:VS,piecewise:function(n,e){var s=XI.call(this,e);return s==null&&(s=Yo(n,a,this.option.visual,!0)),s},fixed:H1}}function XI(a){var n=this.option,e=n.pieceList;if(n.hasSpecialVisual){var s=Ck.findPieceIndex(a,e),f=e[s];if(f&&f.visual)return f.visual[this.type]}}function KU(a,n){return a.visual=n,a.type==="color"&&(a.parsedVisual=H.H(n,function(e){var s=ml.g(e);return s||[0,0,0,1]})),n}var jQ={linear:function(a){return Yo(a,this.option.dataExtent,[0,1],!0)},piecewise:function(a){var n=this.option.pieceList,e=Ck.findPieceIndex(a,n,!0);if(e!=null)return Yo(e,[0,n.length-1],[0,1],!0)},category:function(a){var n=this.option.categories?this.option.categoryMap[a]:a;return n==null?Ok:n},fixed:H.L};function Sk(a,n,e){return a?n<=e:n<e}var jh=Ck,MQ="itemStyle",YU=ol(),PQ={seriesType:"treemap",reset:function(a){var n=a.getData().tree,e=n.root;e.isRemoved()||XU(e,{},a.getViewRoot().getAncestors(),a)}};function XU(a,n,e,s){var f=a.getModel(),p=a.getLayout(),h=a.hostTree.data;if(!(!p||p.invisible||!p.isInView)){var _=f.getModel(MQ),M=JI(_,n,s),L=h.ensureUniqueItemVisual(a.dataIndex,"style"),z=_.get("borderColor"),Y=_.get("borderColorSaturation"),q;Y!=null&&(q=JU(M),z=RQ(Y,q)),L.stroke=z;var se=a.viewChildren;if(!se||!se.length)q=JU(M),L.fill=q;else{var ye=DQ(a,f,p,_,M,se);Object(H.k)(se,function(je,De){if(je.depth>=e.length||je===e[je.depth]){var We=IQ(f,M,je,De,ye,s);XU(je,We,e,s)}})}}}function JI(a,n,e){var s=Object(H.m)({},n),f=e.designatedVisualItemStyle;return Object(H.k)(["color","colorAlpha","colorSaturation"],function(p){f[p]=n[p];var h=a.get(p);f[p]=null,h!=null&&(s[p]=h)}),s}function JU(a){var n=ZI(a,"color");if(n){var e=ZI(a,"colorAlpha"),s=ZI(a,"colorSaturation");return s&&(n=Object(ml.f)(n,null,null,s)),e&&(n=Object(ml.e)(n,e)),n}}function RQ(a,n){return n!=null?Object(ml.f)(n,null,null,a):null}function ZI(a,n){var e=a[n];if(e!=null&&e!=="none")return e}function DQ(a,n,e,s,f,p){if(!(!p||!p.length)){var h=QI(n,"color")||f.color!=null&&f.color!=="none"&&(QI(n,"colorAlpha")||QI(n,"colorSaturation"));if(!!h){var _=n.get("visualMin"),M=n.get("visualMax"),L=e.dataExtent.slice();_!=null&&_<L[0]&&(L[0]=_),M!=null&&M>L[1]&&(L[1]=M);var z=n.get("colorMappingBy"),Y={type:h.name,dataExtent:L,visual:h.range};Y.type==="color"&&(z==="index"||z==="id")?(Y.mappingMethod="category",Y.loop=!0):Y.mappingMethod="linear";var q=new jh(Y);return YU(q).drColorMappingBy=z,q}}}function QI(a,n){var e=a.get(n);return Object(H.t)(e)&&e.length?{name:n,range:e}:null}function IQ(a,n,e,s,f,p){var h=Object(H.m)({},n);if(f){var _=f.type,M=_==="color"&&YU(f).drColorMappingBy,L=M==="index"?s:M==="id"?p.mapIdToIndex(e.getId()):e.getValue(a.get("visualDimension"));h[_]=f.mapValueToVisual(L)}return h}var zS=Math.max,wk=Math.min,ZU=H.O,qI=H.k,Tk=["itemStyle","borderWidth"],NQ=["itemStyle","gapWidth"],LQ=["upperLabel","show"],FQ=["upperLabel","height"],QU={seriesType:"treemap",reset:function(a,n,e,s){var f=e.getWidth(),p=e.getHeight(),h=a.option,_=Pv(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),M=h.size||[],L=Mi(ZU(_.width,M[0]),f),z=Mi(ZU(_.height,M[1]),p),Y=s&&s.type,q=["treemapZoomToNode","treemapRootToNode"],se=IS(s,q,a),ye=Y==="treemapRender"||Y==="treemapMove"?s.rootRect:null,je=a.getViewRoot(),De=NS(je);if(Y!=="treemapMove"){var We=Y==="treemapZoomToNode"?kk(a,se,je,L,z):ye?[ye.width,ye.height]:[L,z],st=h.sort;st&&st!=="asc"&&st!=="desc"&&(st="desc");var dt={squareRatio:h.squareRatio,sort:st,leafDepth:h.leafDepth};je.hostTree.clearLayouts();var Mt={x:0,y:0,width:We[0],height:We[1],area:We[0]*We[1]};je.setLayout(Mt),Ak(je,dt,!1,0),Mt=je.getLayout(),qI(De,function(rn,Cn){var er=(De[Cn+1]||je).getValue();rn.setLayout(H.m({dataExtent:[er,er],borderWidth:0,upperHeight:0},Mt))})}var nn=a.getData().tree.root;nn.setLayout(HS(_,ye,se),!0),a.setLayoutInfo(_),MC(nn,new fo(-_.x,-_.y,f,p),De,je,0)}};function Ak(a,n,e,s){var f,p;if(!a.isRemoved()){var h=a.getLayout();f=h.width,p=h.height;var _=a.getModel(),M=_.get(Tk),L=_.get(NQ)/2,z=jk(_),Y=Math.max(M,z),q=M-L,se=Y-L;a.setLayout({borderWidth:M,upperHeight:Y,upperLabelHeight:z},!0),f=zS(f-2*q,0),p=zS(p-q-se,0);var ye=f*p,je=qU(a,_,ye,n,e,s);if(!!je.length){var De={x:q,y:se,width:f,height:p},We=wk(f,p),st=Infinity,dt=[];dt.area=0;for(var Mt=0,nn=je.length;Mt<nn;){var rn=je[Mt];dt.push(rn),dt.area+=rn.getLayout().area;var Cn=jC(dt,We,n.squareRatio);Cn<=st?(Mt++,st=Cn):(dt.area-=dt.pop().getLayout().area,tb(dt,We,De,L,!1),We=wk(De.width,De.height),dt.length=dt.area=0,st=Infinity)}if(dt.length&&tb(dt,We,De,L,!0),!e){var er=_.get("childrenVisibleMin");er!=null&&ye<er&&(e=!0)}for(var Mt=0,nn=je.length;Mt<nn;Mt++)Ak(je[Mt],n,e,s+1)}}}function qU(a,n,e,s,f,p){var h=a.children||[],_=s.sort;_!=="asc"&&_!=="desc"&&(_=null);var M=s.leafDepth!=null&&s.leafDepth<=p;if(f&&!M)return a.viewChildren=[];h=H.n(h,function(se){return!se.isRemoved()}),eN(h,_);var L=tN(n,h,_);if(L.sum===0)return a.viewChildren=[];if(L.sum=UQ(n,e,L.sum,_,h),L.sum===0)return a.viewChildren=[];for(var z=0,Y=h.length;z<Y;z++){var q=h[z].getValue()/L.sum*e;h[z].setLayout({area:q})}return M&&(h.length&&a.setLayout({isLeafRoot:!0},!0),h.length=0),a.viewChildren=h,a.setLayout({dataExtent:L.dataExtent},!0),h}function UQ(a,n,e,s,f){if(!s)return e;for(var p=a.get("visibleMin"),h=f.length,_=h,M=h-1;M>=0;M--){var L=f[s==="asc"?h-M-1:M].getValue();L/e*n<p&&(_=M,e-=L)}return s==="asc"?f.splice(0,h-_):f.splice(_,h-_),e}function eN(a,n){return n&&a.sort(function(e,s){var f=n==="asc"?e.getValue()-s.getValue():s.getValue()-e.getValue();return f===0?n==="asc"?e.dataIndex-s.dataIndex:s.dataIndex-e.dataIndex:f}),a}function tN(a,n,e){for(var s=0,f=0,p=n.length;f<p;f++)s+=n[f].getValue();var h=a.get("visualDimension"),_;return!n||!n.length?_=[NaN,NaN]:h==="value"&&e?(_=[n[n.length-1].getValue(),n[0].getValue()],e==="asc"&&_.reverse()):(_=[Infinity,-Infinity],qI(n,function(M){var L=M.getValue(h);L<_[0]&&(_[0]=L),L>_[1]&&(_[1]=L)})),{sum:s,dataExtent:_}}function jC(a,n,e){for(var s=0,f=Infinity,p=0,h=void 0,_=a.length;p<_;p++)h=a[p].getLayout().area,h&&(h<f&&(f=h),h>s&&(s=h));var M=a.area*a.area,L=n*n*e;return M?zS(L*s/M,M/(L*f)):Infinity}function tb(a,n,e,s,f){var p=n===e.width?0:1,h=1-p,_=["x","y"],M=["width","height"],L=e[_[p]],z=n?a.area/n:0;(f||z>e[M[h]])&&(z=e[M[h]]);for(var Y=0,q=a.length;Y<q;Y++){var se=a[Y],ye={},je=z?se.getLayout().area/z:0,De=ye[M[h]]=zS(z-2*s,0),We=e[_[p]]+e[M[p]]-L,st=Y===q-1||We<je?We:je,dt=ye[M[p]]=zS(st-2*s,0);ye[_[h]]=e[_[h]]+wk(s,De/2),ye[_[p]]=L+wk(s,dt/2),L+=st,se.setLayout(ye,!0)}e[_[h]]+=z,e[M[h]]-=z}function kk(a,n,e,s,f){var p=(n||{}).node,h=[s,f];if(!p||p===e)return h;for(var _,M=s*f,L=M*a.option.zoomToNodeRatio;_=p.parentNode;){for(var z=0,Y=_.children,q=0,se=Y.length;q<se;q++)z+=Y[q].getValue();var ye=p.getValue();if(ye===0)return h;L*=z/ye;var je=_.getModel(),De=je.get(Tk),We=Math.max(De,jk(je));L+=4*De*De+(3*De+We)*Math.pow(L,.5),L>id&&(L=id),p=_}L<M&&(L=M);var st=Math.pow(L/M,.5);return[s*st,f*st]}function HS(a,n,e){if(n)return{x:n.x,y:n.y};var s={x:0,y:0};if(!e)return s;var f=e.node,p=f.getLayout();if(!p)return s;for(var h=[p.width/2,p.height/2],_=f;_;){var M=_.getLayout();h[0]+=M.x,h[1]+=M.y,_=_.parentNode}return{x:a.width/2-h[0],y:a.height/2-h[1]}}function MC(a,n,e,s,f){var p=a.getLayout(),h=e[f],_=h&&h===a;if(!(h&&!_||f===e.length&&a!==s)){a.setLayout({isInView:!0,invisible:!_&&!n.intersect(p),isAboveViewRoot:_},!0);var M=new fo(n.x-p.x,n.y-p.y,n.width,n.height);qI(a.viewChildren||[],function(L){MC(L,M,e,s,f+1)})}}function jk(a){return a.get(LQ)?a.get(FQ):0}function eB(a){a.registerSeriesModel(pQ),a.registerChartView(wQ),a.registerVisual(PQ),a.registerLayout(QU),z1(a)}function tB(a){var n=a.findComponents({mainType:"legend"});!n||!n.length||a.eachSeriesByType("graph",function(e){var s=e.getCategoriesData(),f=e.getGraph(),p=f.data,h=s.mapArray(s.getName);p.filterSelf(function(_){var M=p.getItemModel(_),L=M.getShallow("category");if(L!=null){Object(H.z)(L)&&(L=h[L]);for(var z=0;z<n.length;z++)if(!n[z].isSelected(L))return!1}return!0})})}function nB(a){var n={};a.eachSeriesByType("graph",function(e){var s=e.getCategoriesData(),f=e.getData(),p={};s.each(function(h){var _=s.getName(h);p["ec-"+_]=h;var M=s.getItemModel(h),L=M.getModel("itemStyle").getItemStyle();L.fill||(L.fill=e.getColorFromPalette(_,n)),s.setItemVisual(h,"style",L);for(var z=["symbol","symbolSize","symbolKeepAspect"],Y=0;Y<z.length;Y++){var q=M.getShallow(z[Y],!0);q!=null&&s.setItemVisual(h,z[Y],q)}}),s.count()&&f.each(function(h){var _=f.getItemModel(h),M=_.getShallow("category");if(M!=null){Object(H.C)(M)&&(M=p["ec-"+M]);var L=s.getItemVisual(M,"style"),z=f.ensureUniqueItemVisual(h,"style");Object(H.m)(z,L);for(var Y=["symbol","symbolSize","symbolKeepAspect"],q=0;q<Y.length;q++)f.setItemVisual(h,Y[q],s.getItemVisual(M,Y[q]))}})})}function B0(a){return a instanceof Array||(a=[a,a]),a}function B_(a){a.eachSeriesByType("graph",function(n){var e=n.getGraph(),s=n.getEdgeData(),f=B0(n.get("edgeSymbol")),p=B0(n.get("edgeSymbolSize"));s.setVisual("fromSymbol",f&&f[0]),s.setVisual("toSymbol",f&&f[1]),s.setVisual("fromSymbolSize",p&&p[0]),s.setVisual("toSymbolSize",p&&p[1]),s.setVisual("style",n.getModel("lineStyle").getLineStyle()),s.each(function(h){var _=s.getItemModel(h),M=e.getEdgeByIndex(h),L=B0(_.getShallow("symbol",!0)),z=B0(_.getShallow("symbolSize",!0)),Y=_.getModel("lineStyle").getLineStyle(),q=s.ensureUniqueItemVisual(h,"style");switch(Object(H.m)(q,Y),q.stroke){case"source":{var se=M.node1.getVisual("style");q.stroke=se&&se.fill;break}case"target":{var se=M.node2.getVisual("style");q.stroke=se&&se.fill;break}}L[0]&&M.setVisual("fromSymbol",L[0]),L[1]&&M.setVisual("toSymbol",L[1]),z[0]&&M.setVisual("fromSymbolSize",z[0]),z[1]&&M.setVisual("toSymbolSize",z[1])})})}var GS="-->",Mk=function(a){return a.get("autoCurveness")||null},nN=function(a,n){var e=Mk(a),s=20,f=[];if(H.z(e))s=e;else if(H.t(e)){a.__curvenessList=e;return}n>s&&(s=n);var p=s%2?s+2:s+3;f=[];for(var h=0;h<p;h++)f.push((h%2?h+1:h)/10*(h%2?-1:1));a.__curvenessList=f},wg=function(a,n,e){var s=[a.id,a.dataIndex].join("."),f=[n.id,n.dataIndex].join(".");return[e.uid,s,f].join(GS)},$S=function(a){var n=a.split(GS);return[n[0],n[2],n[1]].join(GS)},rB=function(a,n){var e=wg(a.node1,a.node2,n);return n.__edgeMap[e]},Pk=function(a,n){var e=Rk(wg(a.node1,a.node2,n),n),s=Rk(wg(a.node2,a.node1,n),n);return e+s},Rk=function(a,n){var e=n.__edgeMap;return e[a]?e[a].length:0};function aB(a){!Mk(a)||(a.__curvenessList=[],a.__edgeMap={},nN(a))}function iB(a,n,e,s){if(!!Mk(e)){var f=wg(a,n,e),p=e.__edgeMap,h=p[$S(f)];p[f]&&!h?p[f].isForward=!0:h&&p[f]&&(h.isForward=!0,p[f].isForward=!1),p[f]=p[f]||[],p[f].push(s)}}function Dk(a,n,e,s){var f=Mk(n),p=H.t(f);if(!f)return null;var h=rB(a,n);if(!h)return null;for(var _=-1,M=0;M<h.length;M++)if(h[M]===e){_=M;break}var L=Pk(a,n);nN(n,L),a.lineStyle=a.lineStyle||{};var z=wg(a.node1,a.node2,n),Y=n.__curvenessList,q=p||L%2?0:1;if(h.isForward)return Y[q+_];var se=$S(z),ye=Rk(se,n),je=Y[_+ye+q];return s?p?f&&f[0]===0?(ye+q)%2?je:-je:((ye%2?0:1)+q)%2?je:-je:(ye+q)%2?je:-je:Y[_+ye+q]}function rN(a){var n=a.coordinateSystem;if(!(n&&n.type!=="view")){var e=a.getGraph();e.eachNode(function(s){var f=s.getModel();s.setLayout([+f.get("x"),+f.get("y")])}),PC(e,a)}}function PC(a,n){a.eachEdge(function(e,s){var f=H.Q(e.getModel().get(["lineStyle","curveness"]),-Dk(e,n,s,!0),0),p=Cr(e.node1.getLayout()),h=Cr(e.node2.getLayout()),_=[p,h];+f&&_.push([(p[0]+h[0])/2-(p[1]-h[1])*f,(p[1]+h[1])/2-(h[0]-p[0])*f]),e.setLayout(_)})}function aN(a,n){a.eachSeriesByType("graph",function(e){var s=e.get("layout"),f=e.coordinateSystem;if(f&&f.type!=="view"){var p=e.getData(),h=[];Object(H.k)(f.dimensions,function(q){h=h.concat(p.mapDimensionsAll(q))});for(var _=0;_<p.count();_++){for(var M=[],L=!1,z=0;z<h.length;z++){var Y=p.get(h[z],_);isNaN(Y)||(L=!0),M.push(Y)}L?p.setItemLayout(_,f.dataToPoint(M)):p.setItemLayout(_,[NaN,NaN])}PC(p.graph,e)}else(!s||s==="none")&&rN(e)})}function G1(a){var n=a.coordinateSystem;if(n.type!=="view")return 1;var e=a.option.nodeScaleRatio,s=n.scaleX,f=n.getZoom(),p=(f-1)*e+1;return p/s}function RC(a){var n=a.getVisual("symbolSize");return n instanceof Array&&(n=(n[0]+n[1])/2),+n}var Ik=Math.PI,Nk=[];function WS(a,n,e,s){var f=a.coordinateSystem;if(!(f&&f.type!=="view")){var p=f.getBoundingRect(),h=a.getData(),_=h.graph,M=p.width/2+p.x,L=p.height/2+p.y,z=Math.min(p.width,p.height)/2,Y=h.count();if(h.setLayout({cx:M,cy:L}),!!Y){if(e){var q=f.pointToData(s),se=q[0],ye=q[1],je=[se-M,ye-L];ui(je,je),ti(je,je,z),e.setLayout([M+je[0],L+je[1]],!0);var De=a.get(["circular","rotateLabel"]);sB(e,De,M,L)}oB[n](a,_,h,z,M,L,Y),_.eachEdge(function(We,st){var dt=H.Q(We.getModel().get(["lineStyle","curveness"]),Dk(We,a,st),0),Mt=Cr(We.node1.getLayout()),nn=Cr(We.node2.getLayout()),rn,Cn=(Mt[0]+nn[0])/2,er=(Mt[1]+nn[1])/2;+dt&&(dt*=3,rn=[M*dt+Cn*(1-dt),L*dt+er*(1-dt)]),We.setLayout([Mt,nn,rn])})}}}var oB={value:function(a,n,e,s,f,p,h){var _=0,M=e.getSum("value"),L=Math.PI*2/(M||h);n.eachNode(function(z){var Y=z.getValue("value"),q=L*(M?Y:1)/2;_+=q,z.setLayout([s*Math.cos(_)+f,s*Math.sin(_)+p]),_+=q})},symbolSize:function(a,n,e,s,f,p,h){var _=0;Nk.length=h;var M=G1(a);n.eachNode(function(Y){var q=RC(Y);isNaN(q)&&(q=2),q<0&&(q=0),q*=M;var se=Math.asin(q/2/s);isNaN(se)&&(se=Ik/2),Nk[Y.dataIndex]=se,_+=se*2});var L=(2*Ik-_)/h/2,z=0;n.eachNode(function(Y){var q=L+Nk[Y.dataIndex];z+=q,(!Y.getLayout()||!Y.getLayout().fixed)&&Y.setLayout([s*Math.cos(z)+f,s*Math.sin(z)+p]),z+=q})}};function sB(a,n,e,s){var f=a.getGraphicEl();if(!!f){var p=a.getModel(),h=p.get(["label","rotate"])||0,_=f.getSymbolPath();if(n){var M=a.getLayout(),L=Math.atan2(M[1]-s,M[0]-e);L<0&&(L=Math.PI*2+L);var z=M[0]<e;z&&(L=L-Math.PI);var Y=z?"left":"right";_.setTextConfig({rotation:-L,position:Y,origin:"center"});var q=_.ensureState("emphasis");H.m(q.textConfig||(q.textConfig={}),{position:Y})}else _.setTextConfig({rotation:h*=Math.PI/180})}}function cB(a){a.eachSeriesByType("graph",function(n){n.get("layout")==="circular"&&WS(n,"symbolSize")})}var $1=gn;function iN(a,n,e){for(var s=a,f=n,p=e.rect,h=p.width,_=p.height,M=[p.x+h/2,p.y+_/2],L=e.gravity==null?.1:e.gravity,z=0;z<s.length;z++){var Y=s[z];Y.p||(Y.p=Qi(h*(Math.random()-.5)+M[0],_*(Math.random()-.5)+M[1])),Y.pp=Cr(Y.p),Y.edges=null}var q=e.friction==null?.6:e.friction,se=q,ye,je;return{warmUp:function(){se=q*.8},setFixed:function(De){s[De].fixed=!0},setUnfixed:function(De){s[De].fixed=!1},beforeStep:function(De){ye=De},afterStep:function(De){je=De},step:function(De){ye&&ye(s,f);for(var We=[],st=s.length,dt=0;dt<f.length;dt++){var Mt=f[dt];if(!Mt.ignoreForceLayout){var nn=Mt.n1,rn=Mt.n2;Ln(We,rn.p,nn.p);var Cn=kr(We)-Mt.d,er=rn.w/(nn.w+rn.w);isNaN(er)&&(er=0),ui(We,We),!nn.fixed&&$1(nn.p,nn.p,We,er*Cn*se),!rn.fixed&&$1(rn.p,rn.p,We,-(1-er)*Cn*se)}}for(var dt=0;dt<st;dt++){var ir=s[dt];ir.fixed||(Ln(We,M,ir.p),$1(ir.p,ir.p,We,L*se))}for(var dt=0;dt<st;dt++)for(var nn=s[dt],dr=dt+1;dr<st;dr++){var rn=s[dr];Ln(We,rn.p,nn.p);var Cn=kr(We);Cn===0&&(Un(We,Math.random()-.5,Math.random()-.5),Cn=1);var pr=(nn.rep+rn.rep)/Cn/Cn;!nn.fixed&&$1(nn.pp,nn.pp,We,pr),!rn.fixed&&$1(rn.pp,rn.pp,We,-pr)}for(var ia=[],dt=0;dt<st;dt++){var ir=s[dt];ir.fixed||(Ln(ia,ir.p,ir.pp),$1(ir.p,ir.p,ia,se),mi(ir.pp,ir.p))}se=se*.992;var pa=se<.01;je&&je(s,f,pa),De&&De(pa)}}}function Lk(a){a.eachSeriesByType("graph",function(n){var e=n.coordinateSystem;if(!(e&&e.type!=="view"))if(n.get("layout")==="force"){var s=n.preservedPoints||{},f=n.getGraph(),p=f.data,h=f.edgeData,_=n.getModel("force"),M=_.get("initLayout");n.preservedPoints?p.each(function(dt){var Mt=p.getId(dt);p.setItemLayout(dt,s[Mt]||[NaN,NaN])}):!M||M==="none"?rN(n):M==="circular"&&WS(n,"value");var L=p.getDataExtent("value"),z=h.getDataExtent("value"),Y=_.get("repulsion"),q=_.get("edgeLength"),se=H.t(Y)?Y:[Y,Y],ye=H.t(q)?q:[q,q];ye=[ye[1],ye[0]];var je=p.mapArray("value",function(dt,Mt){var nn=p.getItemLayout(Mt),rn=Yo(dt,L,se);return isNaN(rn)&&(rn=(se[0]+se[1])/2),{w:rn,rep:rn,fixed:p.getItemModel(Mt).get("fixed"),p:!nn||isNaN(nn[0])||isNaN(nn[1])?null:nn}}),De=h.mapArray("value",function(dt,Mt){var nn=f.getEdgeByIndex(Mt),rn=Yo(dt,z,ye);isNaN(rn)&&(rn=(ye[0]+ye[1])/2);var Cn=nn.getModel(),er=H.Q(nn.getModel().get(["lineStyle","curveness"]),-Dk(nn,n,Mt,!0),0);return{n1:je[nn.node1.dataIndex],n2:je[nn.node2.dataIndex],d:rn,curveness:er,ignoreForceLayout:Cn.get("ignoreForceLayout")}}),We=e.getBoundingRect(),st=iN(je,De,{rect:We,gravity:_.get("gravity"),friction:_.get("friction")});st.beforeStep(function(dt,Mt){for(var nn=0,rn=dt.length;nn<rn;nn++)dt[nn].fixed&&mi(dt[nn].p,f.getNodeByIndex(nn).getLayout())}),st.afterStep(function(dt,Mt,nn){for(var rn=0,Cn=dt.length;rn<Cn;rn++)dt[rn].fixed||f.getNodeByIndex(rn).setLayout(dt[rn].p),s[p.getId(rn)]=dt[rn].p;for(var rn=0,Cn=Mt.length;rn<Cn;rn++){var er=Mt[rn],ir=f.getEdgeByIndex(rn),dr=er.n1.p,pr=er.n2.p,ia=ir.getLayout();ia=ia?ia.slice():[],ia[0]=ia[0]||[],ia[1]=ia[1]||[],mi(ia[0],dr),mi(ia[1],pr),+er.curveness&&(ia[2]=[(dr[0]+pr[0])/2-(dr[1]-pr[1])*er.curveness,(dr[1]+pr[1])/2-(pr[0]-dr[0])*er.curveness]),ir.setLayout(ia)}}),n.forceLayout=st,n.preservedPoints=s,st.step()}else n.forceLayout=null})}function oN(a,n,e){var s=Object(H.m)(a.getBoxLayoutParams(),{aspect:e});return Pv(s,{width:n.getWidth(),height:n.getHeight()})}function Mh(a,n){var e=[];return a.eachSeriesByType("graph",function(s){var f=s.get("coordinateSystem");if(!f||f==="view"){var p=s.getData(),h=p.mapArray(function(De){var We=p.getItemModel(De);return[+We.get("x"),+We.get("y")]}),_=[],M=[];Oc(h,_,M),M[0]-_[0]==0&&(M[0]+=1,_[0]-=1),M[1]-_[1]==0&&(M[1]+=1,_[1]-=1);var L=(M[0]-_[0])/(M[1]-_[1]),z=oN(s,n,L);isNaN(L)&&(_=[z.x,z.y],M=[z.x+z.width,z.y+z.height]);var Y=M[0]-_[0],q=M[1]-_[1],se=z.width,ye=z.height,je=s.coordinateSystem=new DS;je.zoomLimit=s.get("scaleLimit"),je.setBoundingRect(_[0],_[1],Y,q),je.setViewRect(z.x,z.y,se,ye),je.setCenter(s.get("center"),n),je.setZoom(s.get("zoom")),e.push(je)}}),e}var Fk=_h.prototype,sN=qT.prototype,DC=function(){function a(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return a}(),cN=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n}(DC);function lN(a){return isNaN(+a.cpx1)||isNaN(+a.cpy1)}var BQ=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="ec-line",s}return n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new DC},n.prototype.buildPath=function(e,s){lN(s)?Fk.buildPath.call(this,e,s):sN.buildPath.call(this,e,s)},n.prototype.pointAt=function(e){return lN(this.shape)?Fk.pointAt.call(this,e):sN.pointAt.call(this,e)},n.prototype.tangentAt=function(e){var s=this.shape,f=lN(s)?[s.x2-s.x1,s.y2-s.y1]:sN.tangentAt.call(this,e);return ui(f,f)},n}(Ti),VQ=BQ,uN=["fromSymbol","toSymbol"];function lB(a){return"_"+a+"Type"}function dN(a,n,e){var s=n.getItemVisual(e,a);if(!(!s||s==="none")){var f=n.getItemVisual(e,a+"Size"),p=n.getItemVisual(e,a+"Rotate"),h=n.getItemVisual(e,a+"Offset"),_=n.getItemVisual(e,a+"KeepAspect"),M=qx(f),L=oC(h||0,M),z=Rv(s,-M[0]/2+L[0],-M[1]/2+L[1],M[0],M[1],null,_);return z.__specifiedRotation=p==null||isNaN(p)?void 0:+p*Math.PI/180||0,z.name=a,z}}function fN(a){var n=new VQ({name:"line",subPixelOptimize:!0});return V0(n.shape,a),n}function V0(a,n){a.x1=n[0][0],a.y1=n[0][1],a.x2=n[1][0],a.y2=n[1][1],a.percent=1;var e=n[2];e?(a.cpx1=e[0],a.cpy1=e[1]):(a.cpx1=NaN,a.cpy1=NaN)}var zQ=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this)||this;return p._createLine(e,s,f),p}return n.prototype._createLine=function(e,s,f){var p=e.hostModel,h=e.getItemLayout(s),_=fN(h);_.shape.percent=0,dp(_,{shape:{percent:1}},p,s),this.add(_),Object(H.k)(uN,function(M){var L=dN(M,e,s);this.add(L),this[lB(M)]=e.getItemVisual(s,M)},this),this._updateCommonStl(e,s,f)},n.prototype.updateData=function(e,s,f){var p=e.hostModel,h=this.childOfName("line"),_=e.getItemLayout(s),M={shape:{}};V0(M.shape,_),pf(h,M,p,s),Object(H.k)(uN,function(L){var z=e.getItemVisual(s,L),Y=lB(L);if(this[Y]!==z){this.remove(this.childOfName(L));var q=dN(L,e,s);this.add(q)}this[Y]=z},this),this._updateCommonStl(e,s,f)},n.prototype.getLinePath=function(){return this.childAt(0)},n.prototype._updateCommonStl=function(e,s,f){var p=e.hostModel,h=this.childOfName("line"),_=f&&f.emphasisLineStyle,M=f&&f.blurLineStyle,L=f&&f.selectLineStyle,z=f&&f.labelStatesModels,Y=f&&f.emphasisDisabled,q=f&&f.focus,se=f&&f.blurScope;if(!f||e.hasItemOption){var ye=e.getItemModel(s),je=ye.getModel("emphasis");_=je.getModel("lineStyle").getLineStyle(),M=ye.getModel(["blur","lineStyle"]).getLineStyle(),L=ye.getModel(["select","lineStyle"]).getLineStyle(),Y=je.get("disabled"),q=je.get("focus"),se=je.get("blurScope"),z=_f(ye)}var De=e.getItemVisual(s,"style"),We=De.stroke;h.useStyle(De),h.style.fill=null,h.style.strokeNoScale=!0,h.ensureState("emphasis").style=_,h.ensureState("blur").style=M,h.ensureState("select").style=L,Object(H.k)(uN,function(rn){var Cn=this.childOfName(rn);if(Cn){Cn.setColor(We),Cn.style.opacity=De.opacity;for(var er=0;er<ic.length;er++){var ir=ic[er],dr=h.getState(ir);if(dr){var pr=dr.style||{},ia=Cn.ensureState(ir),pa=ia.style||(ia.style={});pr.stroke!=null&&(pa[Cn.__isEmptyBrush?"stroke":"fill"]=pr.stroke),pr.opacity!=null&&(pa.opacity=pr.opacity)}}Cn.markRedraw()}},this);var st=p.getRawValue(s);Wf(this,z,{labelDataIndex:s,labelFetcher:{getFormattedLabel:function(rn,Cn){return p.getFormattedLabel(rn,Cn,e.dataType)}},inheritColor:We||"#000",defaultOpacity:De.opacity,defaultText:(st==null?e.getName(s):isFinite(st)?ds(st):st)+""});var dt=this.getTextContent();if(dt){var Mt=z.normal;dt.__align=dt.style.align,dt.__verticalAlign=dt.style.verticalAlign,dt.__position=Mt.get("position")||"middle";var nn=Mt.get("distance");Object(H.t)(nn)||(nn=[nn,nn]),dt.__labelDistance=nn}this.setTextConfig({position:null,local:!0,inside:!1}),Wp(this,q,se,Y)},n.prototype.highlight=function(){C_(this)},n.prototype.downplay=function(){wh(this)},n.prototype.updateLayout=function(e,s){this.setLinePoints(e.getItemLayout(s))},n.prototype.setLinePoints=function(e){var s=this.childOfName("line");V0(s.shape,e),s.dirty()},n.prototype.beforeUpdate=function(){var e=this,s=e.childOfName("fromSymbol"),f=e.childOfName("toSymbol"),p=e.getTextContent();if(!s&&!f&&(!p||p.ignore))return;for(var h=1,_=this.parent;_;)_.scaleX&&(h/=_.scaleX),_=_.parent;var M=e.childOfName("line");if(!this.__dirty&&!M.__dirty)return;var L=M.shape.percent,z=M.pointAt(0),Y=M.pointAt(L),q=Ln([],Y,z);ui(q,q);function se(dr,pr){var ia=dr.__specifiedRotation;if(ia==null){var pa=M.tangentAt(pr);dr.attr("rotation",(pr===1?-1:1)*Math.PI/2-Math.atan2(pa[1],pa[0]))}else dr.attr("rotation",ia)}if(s&&(s.setPosition(z),se(s,0),s.scaleX=s.scaleY=h*L,s.markRedraw()),f&&(f.setPosition(Y),se(f,1),f.scaleX=f.scaleY=h*L,f.markRedraw()),p&&!p.ignore){p.x=p.y=0,p.originX=p.originY=0;var ye=void 0,je=void 0,De=p.__labelDistance,We=De[0]*h,st=De[1]*h,dt=L/2,Mt=M.tangentAt(dt),nn=[Mt[1],-Mt[0]],rn=M.pointAt(dt);nn[1]>0&&(nn[0]=-nn[0],nn[1]=-nn[1]);var Cn=Mt[0]<0?-1:1;if(p.__position!=="start"&&p.__position!=="end"){var er=-Math.atan2(Mt[1],Mt[0]);Y[0]<z[0]&&(er=Math.PI+er),p.rotation=er}var ir=void 0;switch(p.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":ir=-st,je="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":ir=st,je="top";break;default:ir=0,je="middle"}switch(p.__position){case"end":p.x=q[0]*We+Y[0],p.y=q[1]*st+Y[1],ye=q[0]>.8?"left":q[0]<-.8?"right":"center",je=q[1]>.8?"top":q[1]<-.8?"bottom":"middle";break;case"start":p.x=-q[0]*We+z[0],p.y=-q[1]*st+z[1],ye=q[0]>.8?"right":q[0]<-.8?"left":"center",je=q[1]>.8?"bottom":q[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p.x=We*Cn+z[0],p.y=z[1]+ir,ye=Mt[0]<0?"right":"left",p.originX=-We*Cn,p.originY=-ir;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p.x=rn[0],p.y=rn[1]+ir,ye="center",p.originY=-ir;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p.x=-We*Cn+Y[0],p.y=Y[1]+ir,ye=Mt[0]>=0?"right":"left",p.originX=We*Cn,p.originY=-ir;break}p.scaleX=p.scaleY=h,p.setStyle({verticalAlign:p.__verticalAlign||je,align:p.__align||ye})}},n}(_s),KS=zQ,HQ=function(){function a(n){this.group=new _s,this._LineCtor=n||KS}return a.prototype.updateData=function(n){var e=this;this._progressiveEls=null;var s=this,f=s.group,p=s._lineData;s._lineData=n,p||f.removeAll();var h=uB(n);n.diff(p).add(function(_){e._doAdd(n,_,h)}).update(function(_,M){e._doUpdate(p,n,M,_,h)}).remove(function(_){f.remove(p.getItemGraphicEl(_))}).execute()},a.prototype.updateLayout=function(){var n=this._lineData;!n||n.eachItemGraphicEl(function(e,s){e.updateLayout(n,s)},this)},a.prototype.incrementalPrepareUpdate=function(n){this._seriesScope=uB(n),this._lineData=null,this.group.removeAll()},a.prototype.incrementalUpdate=function(n,e){this._progressiveEls=[];function s(_){!_.isGroup&&!GQ(_)&&(_.incremental=!0,_.ensureState("emphasis").hoverLayer=!0)}for(var f=n.start;f<n.end;f++){var p=e.getItemLayout(f);if(YS(p)){var h=new this._LineCtor(e,f,this._seriesScope);h.traverse(s),this.group.add(h),e.setItemGraphicEl(f,h),this._progressiveEls.push(h)}}},a.prototype.remove=function(){this.group.removeAll()},a.prototype.eachRendered=function(n){Fy(this._progressiveEls||this.group,n)},a.prototype._doAdd=function(n,e,s){var f=n.getItemLayout(e);if(!!YS(f)){var p=new this._LineCtor(n,e,s);n.setItemGraphicEl(e,p),this.group.add(p)}},a.prototype._doUpdate=function(n,e,s,f,p){var h=n.getItemGraphicEl(s);if(!YS(e.getItemLayout(f))){this.group.remove(h);return}h?h.updateData(e,f,p):h=new this._LineCtor(e,f,p),e.setItemGraphicEl(f,h),this.group.add(h)},a}();function GQ(a){return a.animators&&a.animators.length>0}function uB(a){var n=a.hostModel,e=n.getModel("emphasis");return{lineStyle:n.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:n.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:n.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:e.get("disabled"),blurScope:e.get("blurScope"),focus:e.get("focus"),labelStatesModels:_f(n)}}function dB(a){return isNaN(a[0])||isNaN(a[1])}function YS(a){return a&&!dB(a[0])&&!dB(a[1])}var Uk=HQ,Bk=[],pN=[],Vk=[],IC=Dl,NC=Fi,fB=Math.abs;function pB(a,n,e){for(var s=a[0],f=a[1],p=a[2],h=Infinity,_,M=e*e,L=.1,z=.1;z<=.9;z+=.1){Bk[0]=IC(s[0],f[0],p[0],z),Bk[1]=IC(s[1],f[1],p[1],z);var Y=fB(NC(Bk,n)-M);Y<h&&(h=Y,_=z)}for(var q=0;q<32;q++){var se=_+L;pN[0]=IC(s[0],f[0],p[0],_),pN[1]=IC(s[1],f[1],p[1],_),Vk[0]=IC(s[0],f[0],p[0],se),Vk[1]=IC(s[1],f[1],p[1],se);var Y=NC(pN,n)-M;if(fB(Y)<.01)break;var ye=NC(Vk,n)-M;L/=2,Y<0?ye>=0?_=_+L:_=_-L:ye>=0?_=_-L:_=_+L}return _}function uf(a,n){var e=[],s=pd,f=[[],[],[]],p=[[],[]],h=[];n/=2,a.eachEdge(function(_,M){var L=_.getLayout(),z=_.getVisual("fromSymbol"),Y=_.getVisual("toSymbol");L.__original||(L.__original=[Cr(L[0]),Cr(L[1])],L[2]&&L.__original.push(Cr(L[2])));var q=L.__original;if(L[2]!=null){if(mi(f[0],q[0]),mi(f[1],q[2]),mi(f[2],q[1]),z&&z!=="none"){var se=RC(_.node1),ye=pB(f,q[0],se*n);s(f[0][0],f[1][0],f[2][0],ye,e),f[0][0]=e[3],f[1][0]=e[4],s(f[0][1],f[1][1],f[2][1],ye,e),f[0][1]=e[3],f[1][1]=e[4]}if(Y&&Y!=="none"){var se=RC(_.node2),ye=pB(f,q[1],se*n);s(f[0][0],f[1][0],f[2][0],ye,e),f[1][0]=e[1],f[2][0]=e[2],s(f[0][1],f[1][1],f[2][1],ye,e),f[1][1]=e[1],f[2][1]=e[2]}mi(L[0],f[0]),mi(L[1],f[2]),mi(L[2],f[1])}else{if(mi(p[0],q[0]),mi(p[1],q[1]),Ln(h,p[1],p[0]),ui(h,h),z&&z!=="none"){var se=RC(_.node1);gn(p[0],p[0],h,se*n)}if(Y&&Y!=="none"){var se=RC(_.node2);gn(p[1],p[1],h,-se*n)}mi(L[0],p[0]),mi(L[1],p[1])}})}function nb(a){return a.type==="view"}var vB=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s){var f=new mS,p=new Uk,h=this.group;this._controller=new kS(s.getZr()),this._controllerHost={target:h},h.add(f.group),h.add(p.group),this._symbolDraw=f,this._lineDraw=p,this._firstRender=!0},n.prototype.render=function(e,s,f){var p=this,h=e.coordinateSystem;this._model=e;var _=this._symbolDraw,M=this._lineDraw,L=this.group;if(nb(h)){var z={x:h.x,y:h.y,scaleX:h.scaleX,scaleY:h.scaleY};this._firstRender?L.attr(z):pf(L,z,e)}uf(e.getGraph(),G1(e));var Y=e.getData();_.updateData(Y);var q=e.getEdgeData();M.updateData(q),this._updateNodeAndLinkScale(),this._updateController(e,s,f),clearTimeout(this._layoutTimeout);var se=e.forceLayout,ye=e.get(["force","layoutAnimation"]);se&&this._startForceLayoutIteration(se,ye);var je=e.get("layout");Y.graph.eachNode(function(dt){var Mt=dt.dataIndex,nn=dt.getGraphicEl(),rn=dt.getModel();if(!!nn){nn.off("drag").off("dragend");var Cn=rn.get("draggable");Cn&&nn.on("drag",function(ir){switch(je){case"force":se.warmUp(),!p._layouting&&p._startForceLayoutIteration(se,ye),se.setFixed(Mt),Y.setItemLayout(Mt,[nn.x,nn.y]);break;case"circular":Y.setItemLayout(Mt,[nn.x,nn.y]),dt.setLayout({fixed:!0},!0),WS(e,"symbolSize",dt,[ir.offsetX,ir.offsetY]),p.updateLayout(e);break;case"none":default:Y.setItemLayout(Mt,[nn.x,nn.y]),PC(e.getGraph(),e),p.updateLayout(e);break}}).on("dragend",function(){se&&se.setUnfixed(Mt)}),nn.setDraggable(Cn,!!rn.get("cursor"));var er=rn.get(["emphasis","focus"]);er==="adjacency"&&(sc(nn).focus=dt.getAdjacentDataIndices())}}),Y.graph.eachEdge(function(dt){var Mt=dt.getGraphicEl(),nn=dt.getModel().get(["emphasis","focus"]);!Mt||nn==="adjacency"&&(sc(Mt).focus={edge:[dt.dataIndex],node:[dt.node1.dataIndex,dt.node2.dataIndex]})});var De=e.get("layout")==="circular"&&e.get(["circular","rotateLabel"]),We=Y.getLayout("cx"),st=Y.getLayout("cy");Y.graph.eachNode(function(dt){sB(dt,De,We,st)}),this._firstRender=!1},n.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(e,s){var f=this;(function p(){e.step(function(h){f.updateLayout(f._model),(f._layouting=!h)&&(s?f._layoutTimeout=setTimeout(p,16):p())})})()},n.prototype._updateController=function(e,s,f){var p=this,h=this._controller,_=this._controllerHost,M=this.group;if(h.setPointerChecker(function(L,z,Y){var q=M.getBoundingRect();return q.applyTransform(M.transform),q.contain(z,Y)&&!ck(L,f,e)}),!nb(e.coordinateSystem)){h.disable();return}h.enable(e.get("roam")),_.zoomLimit=e.get("scaleLimit"),_.zoom=e.coordinateSystem.getZoom(),h.off("pan").off("zoom").on("pan",function(L){sk(_,L.dx,L.dy),f.dispatchAction({seriesId:e.id,type:"graphRoam",dx:L.dx,dy:L.dy})}).on("zoom",function(L){wI(_,L.scale,L.originX,L.originY),f.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:L.scale,originX:L.originX,originY:L.originY}),p._updateNodeAndLinkScale(),uf(e.getGraph(),G1(e)),p._lineDraw.updateLayout(),f.updateLabelLayout()})},n.prototype._updateNodeAndLinkScale=function(){var e=this._model,s=e.getData(),f=G1(e);s.eachItemGraphicEl(function(p,h){p&&p.setSymbolScale(f)})},n.prototype.updateLayout=function(e){uf(e.getGraph(),G1(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},n.prototype.remove=function(e,s){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},n.type="graph",n}(np),LC=vB;function rb(a){return"_EC_"+a}var hB=function(){function a(n){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=n||!1}return a.prototype.isDirected=function(){return this._directed},a.prototype.addNode=function(n,e){n=n==null?""+e:""+n;var s=this._nodesMap;if(!s[rb(n)]){var f=new ab(n,e);return f.hostGraph=this,this.nodes.push(f),s[rb(n)]=f,f}},a.prototype.getNodeByIndex=function(n){var e=this.data.getRawIndex(n);return this.nodes[e]},a.prototype.getNodeById=function(n){return this._nodesMap[rb(n)]},a.prototype.addEdge=function(n,e,s){var f=this._nodesMap,p=this._edgesMap;if(H.z(n)&&(n=this.nodes[n]),H.z(e)&&(e=this.nodes[e]),n instanceof ab||(n=f[rb(n)]),e instanceof ab||(e=f[rb(e)]),!(!n||!e)){var h=n.id+"-"+e.id,_=new z0(n,e,s);return _.hostGraph=this,this._directed&&(n.outEdges.push(_),e.inEdges.push(_)),n.edges.push(_),n!==e&&e.edges.push(_),this.edges.push(_),p[h]=_,_}},a.prototype.getEdgeByIndex=function(n){var e=this.edgeData.getRawIndex(n);return this.edges[e]},a.prototype.getEdge=function(n,e){n instanceof ab&&(n=n.id),e instanceof ab&&(e=e.id);var s=this._edgesMap;return this._directed?s[n+"-"+e]:s[n+"-"+e]||s[e+"-"+n]},a.prototype.eachNode=function(n,e){for(var s=this.nodes,f=s.length,p=0;p<f;p++)s[p].dataIndex>=0&&n.call(e,s[p],p)},a.prototype.eachEdge=function(n,e){for(var s=this.edges,f=s.length,p=0;p<f;p++)s[p].dataIndex>=0&&s[p].node1.dataIndex>=0&&s[p].node2.dataIndex>=0&&n.call(e,s[p],p)},a.prototype.breadthFirstTraverse=function(n,e,s,f){if(e instanceof ab||(e=this._nodesMap[rb(e)]),!!e){for(var p=s==="out"?"outEdges":s==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(!n.call(f,e,null))for(var _=[e];_.length;)for(var M=_.shift(),L=M[p],h=0;h<L.length;h++){var z=L[h],Y=z.node1===M?z.node2:z.node1;if(!Y.__visited){if(n.call(f,Y,M))return;_.push(Y),Y.__visited=!0}}}},a.prototype.update=function(){for(var n=this.data,e=this.edgeData,s=this.nodes,f=this.edges,p=0,h=s.length;p<h;p++)s[p].dataIndex=-1;for(var p=0,h=n.count();p<h;p++)s[n.getRawIndex(p)].dataIndex=p;e.filterSelf(function(_){var M=f[e.getRawIndex(_)];return M.node1.dataIndex>=0&&M.node2.dataIndex>=0});for(var p=0,h=f.length;p<h;p++)f[p].dataIndex=-1;for(var p=0,h=e.count();p<h;p++)f[e.getRawIndex(p)].dataIndex=p},a.prototype.clone=function(){for(var n=new a(this._directed),e=this.nodes,s=this.edges,f=0;f<e.length;f++)n.addNode(e[f].id,e[f].dataIndex);for(var f=0;f<s.length;f++){var p=s[f];n.addEdge(p.node1.id,p.node2.id,p.dataIndex)}return n},a}(),ab=function(){function a(n,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=n==null?"":n,this.dataIndex=e==null?-1:e}return a.prototype.degree=function(){return this.edges.length},a.prototype.inDegree=function(){return this.inEdges.length},a.prototype.outDegree=function(){return this.outEdges.length},a.prototype.getModel=function(n){if(!(this.dataIndex<0)){var e=this.hostGraph,s=e.data.getItemModel(this.dataIndex);return s.getModel(n)}},a.prototype.getAdjacentDataIndices=function(){for(var n={edge:[],node:[]},e=0;e<this.edges.length;e++){var s=this.edges[e];s.dataIndex<0||(n.edge.push(s.dataIndex),n.node.push(s.node1.dataIndex,s.node2.dataIndex))}return n},a}(),z0=function(){function a(n,e,s){this.dataIndex=-1,this.node1=n,this.node2=e,this.dataIndex=s==null?-1:s}return a.prototype.getModel=function(n){if(!(this.dataIndex<0)){var e=this.hostGraph,s=e.edgeData.getItemModel(this.dataIndex);return s.getModel(n)}},a.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},a}();function $i(a,n){return{getValue:function(e){var s=this[a][n];return s.getStore().get(s.getDimensionIndex(e||"value"),this.dataIndex)},setVisual:function(e,s){this.dataIndex>=0&&this[a][n].setItemVisual(this.dataIndex,e,s)},getVisual:function(e){return this[a][n].getItemVisual(this.dataIndex,e)},setLayout:function(e,s){this.dataIndex>=0&&this[a][n].setItemLayout(this.dataIndex,e,s)},getLayout:function(){return this[a][n].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[a][n].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[a][n].getRawIndex(this.dataIndex)}}}H.K(ab,$i("hostGraph","data")),H.K(z0,$i("hostGraph","edgeData"));var xl=hB;function Qu(a,n,e,s,f){for(var p=new xl(s),h=0;h<a.length;h++)p.addNode(H.O(a[h].id,a[h].name,h),h);for(var _=[],M=[],L=0,h=0;h<n.length;h++){var z=n[h],Y=z.source,q=z.target;p.addEdge(Y,q,L)&&(M.push(z),_.push(H.O(Ms(z.id,null),Y+" > "+q)),L++)}var se=e.get("coordinateSystem"),ye;if(se==="cartesian2d"||se==="polar")ye=I0(a,e);else{var je=In.get(se),De=je?je.dimensions||[]:[];H.r(De,"value")<0&&De.concat(["value"]);var We=_C(a,{coordDimensions:De,encodeDefine:e.getEncode()}).dimensions;ye=new cg(We,e),ye.initData(a)}var st=new cg(["value"],e);return st.initData(M,_),f&&f(ye,st),NU({mainData:ye,struct:p,structAttr:"graph",datas:{node:ye,edge:st},datasAttr:{node:"data",edge:"edgeData"}}),p.update(),p}var ib=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return n.prototype.init=function(e){a.prototype.init.apply(this,arguments);var s=this;function f(){return s._categoriesData}this.legendVisualProvider=new OS(f,f),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeOption=function(e){a.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeDefaultAndTheme=function(e){a.prototype.mergeDefaultAndTheme.apply(this,arguments),on(e,"edgeLabel",["show"])},n.prototype.getInitialData=function(e,s){var f=e.edges||e.links||[],p=e.data||e.nodes||[],h=this;if(p&&f){aB(this);var _=Qu(p,f,this,!0,M);return H.k(_.edges,function(L){iB(L.node1,L.node2,this,L.dataIndex)},this),_.data}function M(L,z){L.wrapMethod("getItemModel",function(ye){var je=h._categoriesModels,De=ye.getShallow("category"),We=je[De];return We&&(We.parentModel=ye.parentModel,ye.parentModel=We),ye});var Y=tp.prototype.getModel;function q(ye,je){var De=Y.call(this,ye,je);return De.resolveParentPath=se,De}z.wrapMethod("getItemModel",function(ye){return ye.resolveParentPath=se,ye.getModel=q,ye});function se(ye){if(ye&&(ye[0]==="label"||ye[1]==="label")){var je=ye.slice();return ye[0]==="label"?je[0]="edgeLabel":ye[1]==="label"&&(je[1]="edgeLabel"),je}return ye}}},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.getCategoriesData=function(){return this._categoriesData},n.prototype.formatTooltip=function(e,s,f){if(f==="edge"){var p=this.getData(),h=this.getDataParams(e,f),_=p.graph.getEdgeByIndex(e),M=p.getName(_.node1.dataIndex),L=p.getName(_.node2.dataIndex),z=[];return M!=null&&z.push(M),L!=null&&z.push(L),th("nameValue",{name:z.join(" > "),value:h.value,noValue:h.value==null})}var Y=JF({series:this,dataIndex:e,multipleSeries:s});return Y},n.prototype._updateCategoriesData=function(){var e=H.H(this.option.categories||[],function(f){return f.value!=null?f:H.m({value:0},f)}),s=new cg(["value"],this);s.initData(e),this._categoriesData=s,this._categoriesModels=s.mapArray(function(f){return s.getItemModel(f)})},n.prototype.setZoom=function(e){this.option.zoom=e},n.prototype.setCenter=function(e){this.option.center=e},n.prototype.isAnimationEnabled=function(){return a.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},n.type="series.graph",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(mp),vN=ib,Jh={type:"graphRoam",event:"graphRoam",update:"none"};function Xg(a){a.registerChartView(LC),a.registerSeriesModel(vN),a.registerProcessor(tB),a.registerVisual(nB),a.registerVisual(B_),a.registerLayout(aN),a.registerLayout(a.PRIORITY.VISUAL.POST_CHART_LAYOUT,cB),a.registerLayout(Lk),a.registerCoordinateSystem("graphView",{dimensions:DS.dimensions,create:Mh}),a.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},H.L),a.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},H.L),a.registerAction(Jh,function(n,e,s){e.eachComponent({mainType:"series",query:n},function(f){var p=f.coordinateSystem,h=pk(p,n,void 0,s);f.setCenter&&f.setCenter(h.center),f.setZoom&&f.setZoom(h.zoom)})})}var zk=function(){function a(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return a}(),V_=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="pointer",s}return n.prototype.getDefaultShape=function(){return new zk},n.prototype.buildPath=function(e,s){var f=Math.cos,p=Math.sin,h=s.r,_=s.width,M=s.angle,L=s.x-f(M)*_*(_>=h/3?1:2),z=s.y-p(M)*_*(_>=h/3?1:2);M=s.angle-Math.PI/2,e.moveTo(L,z),e.lineTo(s.x+f(M)*_,s.y+p(M)*_),e.lineTo(s.x+f(s.angle)*h,s.y+p(s.angle)*h),e.lineTo(s.x-f(M)*_,s.y-p(M)*_),e.lineTo(L,z)},n}(Ti),Hk=V_;function Gk(a,n){var e=a.get("center"),s=n.getWidth(),f=n.getHeight(),p=Math.min(s,f),h=Mi(e[0],n.getWidth()),_=Mi(e[1],n.getHeight()),M=Mi(a.get("radius"),p/2);return{cx:h,cy:_,r:M}}function W1(a,n){var e=a==null?"":a+"";return n&&(Object(H.C)(n)?e=n.replace("{value}",e):Object(H.w)(n)&&(e=n(a))),e}var $k=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){this.group.removeAll();var p=e.get(["axisLine","lineStyle","color"]),h=Gk(e,f);this._renderMain(e,s,f,p,h),this._data=e.getData()},n.prototype.dispose=function(){},n.prototype._renderMain=function(e,s,f,p,h){var _=this.group,M=e.get("clockwise"),L=-e.get("startAngle")/180*Math.PI,z=-e.get("endAngle")/180*Math.PI,Y=e.getModel("axisLine"),q=Y.get("roundCap"),se=q?bC:bv,ye=Y.get("show"),je=Y.getModel("lineStyle"),De=je.get("width"),We=[L,z];Ll(We,!M),L=We[0],z=We[1];for(var st=z-L,dt=L,Mt=[],nn=0;ye&&nn<p.length;nn++){var rn=Math.min(Math.max(p[nn][0],0),1);z=L+st*rn;var Cn=new se({shape:{startAngle:dt,endAngle:z,cx:h.cx,cy:h.cy,clockwise:M,r0:h.r-De,r:h.r},silent:!0});Cn.setStyle({fill:p[nn][1]}),Cn.setStyle(je.getLineStyle(["color","width"])),Mt.push(Cn),dt=z}Mt.reverse(),Object(H.k)(Mt,function(ir){return _.add(ir)});var er=function(ir){if(ir<=0)return p[0][1];var dr;for(dr=0;dr<p.length;dr++)if(p[dr][0]>=ir&&(dr===0?0:p[dr-1][0])<ir)return p[dr][1];return p[dr-1][1]};this._renderTicks(e,s,f,er,h,L,z,M,De),this._renderTitleAndDetail(e,s,f,er,h),this._renderAnchor(e,h),this._renderPointer(e,s,f,er,h,L,z,M,De)},n.prototype._renderTicks=function(e,s,f,p,h,_,M,L,z){for(var Y=this.group,q=h.cx,se=h.cy,ye=h.r,je=+e.get("min"),De=+e.get("max"),We=e.getModel("splitLine"),st=e.getModel("axisTick"),dt=e.getModel("axisLabel"),Mt=e.get("splitNumber"),nn=st.get("splitNumber"),rn=Mi(We.get("length"),ye),Cn=Mi(st.get("length"),ye),er=_,ir=(M-_)/Mt,dr=ir/nn,pr=We.getModel("lineStyle").getLineStyle(),ia=st.getModel("lineStyle").getLineStyle(),pa=We.get("distance"),Ga,si,Bi=0;Bi<=Mt;Bi++){if(Ga=Math.cos(er),si=Math.sin(er),We.get("show")){var Go=pa?pa+z:z,Lo=new _h({shape:{x1:Ga*(ye-Go)+q,y1:si*(ye-Go)+se,x2:Ga*(ye-rn-Go)+q,y2:si*(ye-rn-Go)+se},style:pr,silent:!0});pr.stroke==="auto"&&Lo.setStyle({stroke:p(Bi/Mt)}),Y.add(Lo)}if(dt.get("show")){var Go=dt.get("distance")+pa,Rs=W1(ds(Bi/Mt*(De-je)+je),dt.get("formatter")),Ns=p(Bi/Mt),Ds=Ga*(ye-rn-Go)+q,yc=si*(ye-rn-Go)+se,Zc=dt.get("rotate"),$c=0;Zc==="radial"?($c=-er+2*Math.PI,$c>Math.PI/2&&($c+=Math.PI)):Zc==="tangential"?$c=-er-Math.PI/2:Object(H.z)(Zc)&&($c=Zc*Math.PI/180),$c===0?Y.add(new Ho({style:ep(dt,{text:Rs,x:Ds,y:yc,verticalAlign:si<-.8?"top":si>.8?"bottom":"middle",align:Ga<-.4?"left":Ga>.4?"right":"center"},{inheritColor:Ns}),silent:!0})):Y.add(new Ho({style:ep(dt,{text:Rs,x:Ds,y:yc,verticalAlign:"middle",align:"center"},{inheritColor:Ns}),silent:!0,originX:Ds,originY:yc,rotation:$c}))}if(st.get("show")&&Bi!==Mt){var Go=st.get("distance");Go=Go?Go+z:z;for(var Nu=0;Nu<=nn;Nu++){Ga=Math.cos(er),si=Math.sin(er);var yd=new _h({shape:{x1:Ga*(ye-Go)+q,y1:si*(ye-Go)+se,x2:Ga*(ye-Cn-Go)+q,y2:si*(ye-Cn-Go)+se},silent:!0,style:ia});ia.stroke==="auto"&&yd.setStyle({stroke:p((Bi+Nu/nn)/Mt)}),Y.add(yd),er+=dr}er-=dr}else er+=ir}},n.prototype._renderPointer=function(e,s,f,p,h,_,M,L,z){var Y=this.group,q=this._data,se=this._progressEls,ye=[],je=e.get(["pointer","show"]),De=e.getModel("progress"),We=De.get("show"),st=e.getData(),dt=st.mapDimension("value"),Mt=+e.get("min"),nn=+e.get("max"),rn=[Mt,nn],Cn=[_,M];function er(dr,pr){var ia=st.getItemModel(dr),pa=ia.getModel("pointer"),Ga=Mi(pa.get("width"),h.r),si=Mi(pa.get("length"),h.r),Bi=e.get(["pointer","icon"]),Go=pa.get("offsetCenter"),Lo=Mi(Go[0],h.r),Rs=Mi(Go[1],h.r),Ns=pa.get("keepAspect"),Ds;return Bi?Ds=Rv(Bi,Lo-Ga/2,Rs-si,Ga,si,null,Ns):Ds=new Hk({shape:{angle:-Math.PI/2,width:Ga,r:si,x:Lo,y:Rs}}),Ds.rotation=-(pr+Math.PI/2),Ds.x=h.cx,Ds.y=h.cy,Ds}function ir(dr,pr){var ia=De.get("roundCap"),pa=ia?bC:bv,Ga=De.get("overlap"),si=Ga?De.get("width"):z/st.count(),Bi=Ga?h.r-si:h.r-(dr+1)*si,Go=Ga?h.r:h.r-dr*si,Lo=new pa({shape:{startAngle:_,endAngle:pr,cx:h.cx,cy:h.cy,clockwise:L,r0:Bi,r:Go}});return Ga&&(Lo.z2=nn-st.get(dt,dr)%nn),Lo}(We||je)&&(st.diff(q).add(function(dr){var pr=st.get(dt,dr);if(je){var ia=er(dr,_);dp(ia,{rotation:-((isNaN(+pr)?Cn[0]:Yo(pr,rn,Cn,!0))+Math.PI/2)},e),Y.add(ia),st.setItemGraphicEl(dr,ia)}if(We){var pa=ir(dr,_),Ga=De.get("clip");dp(pa,{shape:{endAngle:Yo(pr,rn,Cn,Ga)}},e),Y.add(pa),Pd(e.seriesIndex,st.dataType,dr,pa),ye[dr]=pa}}).update(function(dr,pr){var ia=st.get(dt,dr);if(je){var pa=q.getItemGraphicEl(pr),Ga=pa?pa.rotation:_,si=er(dr,Ga);si.rotation=Ga,pf(si,{rotation:-((isNaN(+ia)?Cn[0]:Yo(ia,rn,Cn,!0))+Math.PI/2)},e),Y.add(si),st.setItemGraphicEl(dr,si)}if(We){var Bi=se[pr],Go=Bi?Bi.shape.endAngle:_,Lo=ir(dr,Go),Rs=De.get("clip");pf(Lo,{shape:{endAngle:Yo(ia,rn,Cn,Rs)}},e),Y.add(Lo),Pd(e.seriesIndex,st.dataType,dr,Lo),ye[dr]=Lo}}).execute(),st.each(function(dr){var pr=st.getItemModel(dr),ia=pr.getModel("emphasis"),pa=ia.get("focus"),Ga=ia.get("blurScope"),si=ia.get("disabled");if(je){var Bi=st.getItemGraphicEl(dr),Go=st.getItemVisual(dr,"style"),Lo=Go.fill;if(Bi instanceof Gi){var Rs=Bi.style;Bi.useStyle(Object(H.m)({image:Rs.image,x:Rs.x,y:Rs.y,width:Rs.width,height:Rs.height},Go))}else Bi.useStyle(Go),Bi.type!=="pointer"&&Bi.setColor(Lo);Bi.setStyle(pr.getModel(["pointer","itemStyle"]).getItemStyle()),Bi.style.fill==="auto"&&Bi.setStyle("fill",p(Yo(st.get(dt,dr),rn,[0,1],!0))),Bi.z2EmphasisLift=0,Qv(Bi,pr),Wp(Bi,pa,Ga,si)}if(We){var Ns=ye[dr];Ns.useStyle(st.getItemVisual(dr,"style")),Ns.setStyle(pr.getModel(["progress","itemStyle"]).getItemStyle()),Ns.z2EmphasisLift=0,Qv(Ns,pr),Wp(Ns,pa,Ga,si)}}),this._progressEls=ye)},n.prototype._renderAnchor=function(e,s){var f=e.getModel("anchor"),p=f.get("show");if(p){var h=f.get("size"),_=f.get("icon"),M=f.get("offsetCenter"),L=f.get("keepAspect"),z=Rv(_,s.cx-h/2+Mi(M[0],s.r),s.cy-h/2+Mi(M[1],s.r),h,h,null,L);z.z2=f.get("showAbove")?1:0,z.setStyle(f.getModel("itemStyle").getItemStyle()),this.group.add(z)}},n.prototype._renderTitleAndDetail=function(e,s,f,p,h){var _=this,M=e.getData(),L=M.mapDimension("value"),z=+e.get("min"),Y=+e.get("max"),q=new _s,se=[],ye=[],je=e.isAnimationEnabled(),De=e.get(["pointer","showAbove"]);M.diff(this._data).add(function(We){se[We]=new Ho({silent:!0}),ye[We]=new Ho({silent:!0})}).update(function(We,st){se[We]=_._titleEls[st],ye[We]=_._detailEls[st]}).execute(),M.each(function(We){var st=M.getItemModel(We),dt=M.get(L,We),Mt=new _s,nn=p(Yo(dt,[z,Y],[0,1],!0)),rn=st.getModel("title");if(rn.get("show")){var Cn=rn.get("offsetCenter"),er=h.cx+Mi(Cn[0],h.r),ir=h.cy+Mi(Cn[1],h.r),dr=se[We];dr.attr({z2:De?0:2,style:ep(rn,{x:er,y:ir,text:M.getName(We),align:"center",verticalAlign:"middle"},{inheritColor:nn})}),Mt.add(dr)}var pr=st.getModel("detail");if(pr.get("show")){var ia=pr.get("offsetCenter"),pa=h.cx+Mi(ia[0],h.r),Ga=h.cy+Mi(ia[1],h.r),si=Mi(pr.get("width"),h.r),Bi=Mi(pr.get("height"),h.r),Go=e.get(["progress","show"])?M.getItemVisual(We,"style").fill:nn,dr=ye[We],Lo=pr.get("formatter");dr.attr({z2:De?0:2,style:ep(pr,{x:pa,y:Ga,text:W1(dt,Lo),width:isNaN(si)?null:si,height:isNaN(Bi)?null:Bi,align:"center",verticalAlign:"middle"},{inheritColor:Go})}),ix(dr,{normal:pr},dt,function(Ns){return W1(Ns,Lo)}),je&&S_(dr,We,M,e,{getFormattedLabel:function(Ns,Ds,yc,Zc,$c,Nu){return W1(Nu?Nu.interpolatedValue:dt,Lo)}}),Mt.add(dr)}q.add(Mt)}),this.group.add(q),this._titleEls=se,this._detailEls=ye},n.type="gauge",n}(np),gB=$k,mB=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="itemStyle",e}return n.prototype.getInitialData=function(e,s){return I1(this,["value"])},n.type="series.gauge",n.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},n}(mp),$Q=mB;function WQ(a){a.registerChartView(gB),a.registerSeriesModel($Q)}var KQ=["itemStyle","opacity"],YQ=function(a){Qe(n,a);function n(e,s){var f=a.call(this)||this,p=f,h=new Cg,_=new Ho;return p.setTextContent(_),f.setTextGuideLine(h),f.updateData(e,s,!0),f}return n.prototype.updateData=function(e,s,f){var p=this,h=e.hostModel,_=e.getItemModel(s),M=e.getItemLayout(s),L=_.getModel("emphasis"),z=_.get(KQ);z=z==null?1:z,f||Ug(p),p.useStyle(e.getItemVisual(s,"style")),p.style.lineJoin="round",f?(p.setShape({points:M.points}),p.style.opacity=0,dp(p,{style:{opacity:z}},h,s)):pf(p,{style:{opacity:z},shape:{points:M.points}},h,s),Qv(p,_),this._updateLabel(e,s),Wp(this,L.get("focus"),L.get("blurScope"),L.get("disabled"))},n.prototype._updateLabel=function(e,s){var f=this,p=this.getTextGuideLine(),h=f.getTextContent(),_=e.hostModel,M=e.getItemModel(s),L=e.getItemLayout(s),z=L.label,Y=e.getItemVisual(s,"style"),q=Y.fill;Wf(h,_f(M),{labelFetcher:e.hostModel,labelDataIndex:s,defaultOpacity:Y.opacity,defaultText:e.getName(s)},{normal:{align:z.textAlign,verticalAlign:z.verticalAlign}}),f.setTextConfig({local:!0,inside:!!z.inside,insideStroke:q,outsideFill:q});var se=z.linePoints;p.setShape({points:se}),f.textGuideLineConfig={anchor:se?new Ni(se[0][0],se[0][1]):null},pf(h,{style:{x:z.x,y:z.y}},_,s),h.attr({rotation:z.rotation,originX:z.x,originY:z.y,z2:10}),fD(f,pD(M),{stroke:q})},n}($h),XQ=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.ignoreLabelLineUpdate=!0,e}return n.prototype.render=function(e,s,f){var p=e.getData(),h=this._data,_=this.group;p.diff(h).add(function(M){var L=new YQ(p,M);p.setItemGraphicEl(M,L),_.add(L)}).update(function(M,L){var z=h.getItemGraphicEl(L);z.updateData(p,M),_.add(z),p.setItemGraphicEl(M,z)}).remove(function(M){var L=h.getItemGraphicEl(M);Dp(L,e,M)}).execute(),this._data=p},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(np),JQ=XQ,hN=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(H.c(this.getData,this),H.c(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.getInitialData=function(e,s){return I1(this,{coordDimensions:["value"],encodeDefaulter:H.h(i1,this)})},n.prototype._defaultLabelLine=function(e){on(e,"labelLine",["show"]);var s=e.labelLine,f=e.emphasis.labelLine;s.show=s.show&&e.label.show,f.show=f.show&&e.emphasis.label.show},n.prototype.getDataParams=function(e){var s=this.getData(),f=a.prototype.getDataParams.call(this,e),p=s.mapDimension("value"),h=s.getSum(p);return f.percent=h?+(s.get(p,e)/h*100).toFixed(2):0,f.$vars.push("percent"),f},n.type="series.funnel",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(mp),ZQ=hN;function _B(a,n){return Pv(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function Wk(a,n){for(var e=a.mapDimension("value"),s=a.mapArray(e,function(M){return M}),f=[],p=n==="ascending",h=0,_=a.count();h<_;h++)f[h]=h;return Object(H.w)(n)?f.sort(n):n!=="none"&&f.sort(function(M,L){return p?s[M]-s[L]:s[L]-s[M]}),f}function QQ(a){var n=a.hostModel,e=n.get("orient");a.each(function(s){var f=a.getItemModel(s),p=f.getModel("label"),h=p.get("position"),_=f.getModel("labelLine"),M=a.getItemLayout(s),L=M.points,z=h==="inner"||h==="inside"||h==="center"||h==="insideLeft"||h==="insideRight",Y,q,se,ye;if(z)h==="insideLeft"?(q=(L[0][0]+L[3][0])/2+5,se=(L[0][1]+L[3][1])/2,Y="left"):h==="insideRight"?(q=(L[1][0]+L[2][0])/2-5,se=(L[1][1]+L[2][1])/2,Y="right"):(q=(L[0][0]+L[1][0]+L[2][0]+L[3][0])/4,se=(L[0][1]+L[1][1]+L[2][1]+L[3][1])/4,Y="center"),ye=[[q,se],[q,se]];else{var je=void 0,De=void 0,We=void 0,st=void 0,dt=_.get("length");h==="left"?(je=(L[3][0]+L[0][0])/2,De=(L[3][1]+L[0][1])/2,We=je-dt,q=We-5,Y="right"):h==="right"?(je=(L[1][0]+L[2][0])/2,De=(L[1][1]+L[2][1])/2,We=je+dt,q=We+5,Y="left"):h==="top"?(je=(L[3][0]+L[0][0])/2,De=(L[3][1]+L[0][1])/2,st=De-dt,se=st-5,Y="center"):h==="bottom"?(je=(L[1][0]+L[2][0])/2,De=(L[1][1]+L[2][1])/2,st=De+dt,se=st+5,Y="center"):h==="rightTop"?(je=e==="horizontal"?L[3][0]:L[1][0],De=e==="horizontal"?L[3][1]:L[1][1],e==="horizontal"?(st=De-dt,se=st-5,Y="center"):(We=je+dt,q=We+5,Y="top")):h==="rightBottom"?(je=L[2][0],De=L[2][1],e==="horizontal"?(st=De+dt,se=st+5,Y="center"):(We=je+dt,q=We+5,Y="bottom")):h==="leftTop"?(je=L[0][0],De=e==="horizontal"?L[0][1]:L[1][1],e==="horizontal"?(st=De-dt,se=st-5,Y="center"):(We=je-dt,q=We-5,Y="right")):h==="leftBottom"?(je=e==="horizontal"?L[1][0]:L[3][0],De=e==="horizontal"?L[1][1]:L[2][1],e==="horizontal"?(st=De+dt,se=st+5,Y="center"):(We=je-dt,q=We-5,Y="right")):(je=(L[1][0]+L[2][0])/2,De=(L[1][1]+L[2][1])/2,e==="horizontal"?(st=De+dt,se=st+5,Y="center"):(We=je+dt,q=We+5,Y="left")),e==="horizontal"?(We=je,q=We):(st=De,se=st),ye=[[je,De],[We,st]]}M.label={linePoints:ye,x:q,y:se,verticalAlign:"middle",textAlign:Y,inside:z}})}function df(a,n){a.eachSeriesByType("funnel",function(e){var s=e.getData(),f=s.mapDimension("value"),p=e.get("sort"),h=_B(e,n),_=e.get("orient"),M=h.width,L=h.height,z=Wk(s,p),Y=h.x,q=h.y,se=_==="horizontal"?[Mi(e.get("minSize"),L),Mi(e.get("maxSize"),L)]:[Mi(e.get("minSize"),M),Mi(e.get("maxSize"),M)],ye=s.getDataExtent(f),je=e.get("min"),De=e.get("max");je==null&&(je=Math.min(ye[0],0)),De==null&&(De=ye[1]);var We=e.get("funnelAlign"),st=e.get("gap"),dt=_==="horizontal"?M:L,Mt=(dt-st*(s.count()-1))/s.count(),nn=function(Ga,si){if(_==="horizontal"){var Bi=s.get(f,Ga)||0,Go=Yo(Bi,[je,De],se,!0),Lo=void 0;switch(We){case"top":Lo=q;break;case"center":Lo=q+(L-Go)/2;break;case"bottom":Lo=q+(L-Go);break}return[[si,Lo],[si,Lo+Go]]}var Rs=s.get(f,Ga)||0,Ns=Yo(Rs,[je,De],se,!0),Ds;switch(We){case"left":Ds=Y;break;case"center":Ds=Y+(M-Ns)/2;break;case"right":Ds=Y+M-Ns;break}return[[Ds,si],[Ds+Ns,si]]};p==="ascending"&&(Mt=-Mt,st=-st,_==="horizontal"?Y+=M:q+=L,z=z.reverse());for(var rn=0;rn<z.length;rn++){var Cn=z[rn],er=z[rn+1],ir=s.getItemModel(Cn);if(_==="horizontal"){var dr=ir.get(["itemStyle","width"]);dr==null?dr=Mt:(dr=Mi(dr,M),p==="ascending"&&(dr=-dr));var pr=nn(Cn,Y),ia=nn(er,Y+dr);Y+=dr+st,s.setItemLayout(Cn,{points:pr.concat(ia.slice().reverse())})}else{var pa=ir.get(["itemStyle","height"]);pa==null?pa=Mt:(pa=Mi(pa,L),p==="ascending"&&(pa=-pa));var pr=nn(Cn,q),ia=nn(er,q+pa);q+=pa+st,s.setItemLayout(Cn,{points:pr.concat(ia.slice().reverse())})}}QQ(s)})}function Kd(a){a.registerChartView(JQ),a.registerSeriesModel(ZQ),a.registerLayout(df),a.registerProcessor(bS("funnel"))}var qQ=.3,eq=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._dataGroup=new _s,e._initialized=!1,e}return n.prototype.init=function(){this.group.add(this._dataGroup)},n.prototype.render=function(e,s,f,p){this._progressiveEls=null;var h=this._dataGroup,_=e.getData(),M=this._data,L=e.coordinateSystem,z=L.dimensions,Y=gN(e);_.diff(M).add(q).update(se).remove(ye).execute();function q(De){var We=bB(_,h,De,z,L);mN(We,_,De,Y)}function se(De,We){var st=M.getItemGraphicEl(We),dt=XS(_,De,z,L);_.setItemGraphicEl(De,st),pf(st,{shape:{points:dt}},e,De),Ug(st),mN(st,_,De,Y)}function ye(De){var We=M.getItemGraphicEl(De);h.remove(We)}if(!this._initialized){this._initialized=!0;var je=yB(L,e,function(){setTimeout(function(){h.removeClipPath()})});h.setClipPath(je)}this._data=_},n.prototype.incrementalPrepareRender=function(e,s,f){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},n.prototype.incrementalRender=function(e,s,f){for(var p=s.getData(),h=s.coordinateSystem,_=h.dimensions,M=gN(s),L=this._progressiveEls=[],z=e.start;z<e.end;z++){var Y=bB(p,this._dataGroup,z,_,h);Y.incremental=!0,mN(Y,p,z,M),L.push(Y)}},n.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},n.type="parallel",n}(np);function yB(a,n,e){var s=a.model,f=a.getRect(),p=new Ic({shape:{x:f.x,y:f.y,width:f.width,height:f.height}}),h=s.get("layout")==="horizontal"?"width":"height";return p.setShape(h,0),dp(p,{shape:{width:f.width,height:f.height}},n,e),p}function XS(a,n,e,s){for(var f=[],p=0;p<e.length;p++){var h=e[p],_=a.get(a.mapDimension(h),n);tq(_,s.getAxis(h).type)||f.push(s.dataToPoint(_,h))}return f}function bB(a,n,e,s,f){var p=XS(a,e,s,f),h=new Cg({shape:{points:p},z2:10});return n.add(h),a.setItemGraphicEl(e,h),h}function gN(a){var n=a.get("smooth",!0);return n===!0&&(n=qQ),n=Xs(n),Object(H.l)(n)&&(n=0),{smooth:n}}function mN(a,n,e,s){a.useStyle(n.getItemVisual(e,"style")),a.style.fill=null,a.setShape("smooth",s.smooth);var f=n.getItemModel(e),p=f.getModel("emphasis");Qv(a,f,"lineStyle"),Wp(a,p.get("focus"),p.get("blurScope"),p.get("disabled"))}function tq(a,n){return n==="category"?a==null:a==null||isNaN(a)}var Kk=eq,Ph=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return n.prototype.getInitialData=function(e,s){return I0(null,this,{useEncodeDefaulter:Object(H.c)(_N,null,this)})},n.prototype.getRawIndicesByActiveState=function(e){var s=this.coordinateSystem,f=this.getData(),p=[];return s.eachActiveState(f,function(h,_){e===h&&p.push(f.getRawIndex(_))}),p},n.type="series.parallel",n.dependencies=["parallel"],n.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},n}(mp);function _N(a){var n=a.ecModel.getComponent("parallel",a.get("parallelIndex"));if(!!n){var e={};return Object(H.k)(n.dimensions,function(s){var f=OB(s);e[s]=f}),e}}function OB(a){return+a.replace("dim","")}var CB=Ph,EB=["lineStyle","opacity"],xB={seriesType:"parallel",reset:function(a,n){var e=a.coordinateSystem,s={normal:a.get(["lineStyle","opacity"]),active:a.get("activeOpacity"),inactive:a.get("inactiveOpacity")};return{progress:function(f,p){e.eachActiveState(p,function(h,_){var M=s[h];if(h==="normal"&&p.hasItemOption){var L=p.getItemModel(_).get(EB,!0);L!=null&&(M=L)}var z=p.ensureUniqueItemVisual(_,"style");z.opacity=M},f.start,f.end)}}}},JS=xB;function SB(a){wB(a),TB(a)}function wB(a){if(!a.parallel){var n=!1;H.k(a.series,function(e){e&&e.type==="parallel"&&(n=!0)}),n&&(a.parallel=[{}])}}function TB(a){var n=St(a.parallelAxis);H.k(n,function(e){if(!!H.A(e)){var s=e.parallelIndex||0,f=St(a.parallel)[s];f&&f.parallelAxisDefault&&H.I(e,f.parallelAxisDefault,!1)}})}var AB=5,yN=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){this._model=e,this._api=f,this._handlers||(this._handlers={},Object(H.k)(bN,function(p,h){f.getZr().on(h,this._handlers[h]=Object(H.c)(p,this))},this)),Uy(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},n.prototype.dispose=function(e,s){aC(this,"_throttledDispatchExpand"),Object(H.k)(this._handlers,function(f,p){s.getZr().off(p,f)}),this._handlers=null},n.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},n.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(Object(H.m)({type:"parallelAxisExpand"},e))},n.type="parallel",n}(Np),bN={mousedown:function(a){ON(this,"click")&&(this._mouseDownPoint=[a.offsetX,a.offsetY])},mouseup:function(a){var n=this._mouseDownPoint;if(ON(this,"click")&&n){var e=[a.offsetX,a.offsetY],s=Math.pow(n[0]-e[0],2)+Math.pow(n[1]-e[1],2);if(s>AB)return;var f=this._model.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]);f.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:f.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(a){if(!(this._mouseDownPoint||!ON(this,"mousemove"))){var n=this._model,e=n.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]),s=e.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(n.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:s==="jump"?null:{duration:0}})}}};function ON(a,n){var e=a._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===n}var ZS=yN,nq=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},n.prototype.mergeOption=function(e){var s=this.option;e&&H.I(s,e,!0),this._initDimensions()},n.prototype.contains=function(e,s){var f=e.get("parallelIndex");return f!=null&&s.getComponent("parallel",f)===this},n.prototype.setAxisExpand=function(e){H.k(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(s){e.hasOwnProperty(s)&&(this.option[s]=e[s])},this)},n.prototype._initDimensions=function(){var e=this.dimensions=[],s=this.parallelAxisIndex=[],f=H.n(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(p){return(p.get("parallelIndex")||0)===this.componentIndex},this);H.k(f,function(p){e.push("dim"+p.get("dim")),s.push(p.componentIndex)})},n.type="parallel",n.dependencies=["parallelAxis"],n.layoutMode="box",n.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},n}(tf),kB=nq,rq=function(a){Qe(n,a);function n(e,s,f,p,h){var _=a.call(this,e,s,f)||this;return _.type=p||"value",_.axisIndex=h,_}return n.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},n}(ym),CN=rq;function Om(a,n,e,s,f,p){a=a||0;var h=e[1]-e[0];if(f!=null&&(f=H0(f,[0,h])),p!=null&&(p=Math.max(p,f!=null?f:0)),s==="all"){var _=Math.abs(n[1]-n[0]);_=H0(_,[0,h]),f=p=H0(_,[f,p]),s=0}n[0]=H0(n[0],e),n[1]=H0(n[1],e);var M=ob(n,s);n[s]+=a;var L=f||0,z=e.slice();M.sign<0?z[0]+=L:z[1]-=L,n[s]=H0(n[s],z);var Y;return Y=ob(n,s),f!=null&&(Y.sign!==M.sign||Y.span<f)&&(n[1-s]=n[s]+M.sign*f),Y=ob(n,s),p!=null&&Y.span>p&&(n[1-s]=n[s]+Y.sign*p),n}function ob(a,n){var e=a[n]-a[1-n];return{span:Math.abs(e),sign:e>0?-1:e<0?1:n?-1:1}}function H0(a,n){return Math.min(n[1]!=null?n[1]:Infinity,Math.max(n[0]!=null?n[0]:-Infinity,a))}var QS=H.k,qS=Math.min,Yk=Math.max,Xk=Math.floor,aq=Math.ceil,jB=ds,iq=Math.PI,Jk=function(){function a(n,e,s){this.type="parallel",this._axesMap=H.f(),this._axesLayout={},this.dimensions=n.dimensions,this._model=n,this._init(n,e,s)}return a.prototype._init=function(n,e,s){var f=n.dimensions,p=n.parallelAxisIndex;QS(f,function(h,_){var M=p[_],L=e.getComponent("parallelAxis",M),z=this._axesMap.set(h,new CN(h,ek(L),[0,0],L.get("type"),M)),Y=z.type==="category";z.onBand=Y&&L.get("boundaryGap"),z.inverse=L.get("inverse"),L.axis=z,z.model=L,z.coordinateSystem=L.coordinateSystem=this},this)},a.prototype.update=function(n,e){this._updateAxesFromSeries(this._model,n)},a.prototype.containPoint=function(n){var e=this._makeLayoutInfo(),s=e.axisBase,f=e.layoutBase,p=e.pixelDimIndex,h=n[1-p],_=n[p];return h>=s&&h<=s+e.axisLength&&_>=f&&_<=f+e.layoutLength},a.prototype.getModel=function(){return this._model},a.prototype._updateAxesFromSeries=function(n,e){e.eachSeries(function(s){if(!!n.contains(s,e)){var f=s.getData();QS(this.dimensions,function(p){var h=this._axesMap.get(p);h.scale.unionExtentFromData(f,f.mapDimension(p)),CC(h.scale,h.model)},this)}},this)},a.prototype.resize=function(n,e){this._rect=Pv(n.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},a.prototype.getRect=function(){return this._rect},a.prototype._makeLayoutInfo=function(){var n=this._model,e=this._rect,s=["x","y"],f=["width","height"],p=n.get("layout"),h=p==="horizontal"?0:1,_=e[f[h]],M=[0,_],L=this.dimensions.length,z=Zk(n.get("axisExpandWidth"),M),Y=Zk(n.get("axisExpandCount")||0,[0,L]),q=n.get("axisExpandable")&&L>3&&L>Y&&Y>1&&z>0&&_>0,se=n.get("axisExpandWindow"),ye;if(se)ye=Zk(se[1]-se[0],M),se[1]=se[0]+ye;else{ye=Zk(z*(Y-1),M);var je=n.get("axisExpandCenter")||Xk(L/2);se=[z*je-ye/2],se[1]=se[0]+ye}var De=(_-ye)/(L-Y);De<3&&(De=0);var We=[Xk(jB(se[0]/z,1))+1,aq(jB(se[1]/z,1))-1],st=De/z*se[0];return{layout:p,pixelDimIndex:h,layoutBase:e[s[h]],layoutLength:_,axisBase:e[s[1-h]],axisLength:e[f[1-h]],axisExpandable:q,axisExpandWidth:z,axisCollapseWidth:De,axisExpandWindow:se,axisCount:L,winInnerIndices:We,axisExpandWindow0Pos:st}},a.prototype._layoutAxes=function(){var n=this._rect,e=this._axesMap,s=this.dimensions,f=this._makeLayoutInfo(),p=f.layout;e.each(function(h){var _=[0,f.axisLength],M=h.inverse?1:0;h.setExtent(_[M],_[1-M])}),QS(s,function(h,_){var M=(f.axisExpandable?Qk:oq)(_,f),L={horizontal:{x:M.position,y:f.axisLength},vertical:{x:0,y:M.position}},z={horizontal:iq/2,vertical:0},Y=[L[p].x+n.x,L[p].y+n.y],q=z[p],se=en();ga(se,se,q),Gr(se,se,Y),this._axesLayout[h]={position:Y,rotation:q,transform:se,axisNameAvailableWidth:M.axisNameAvailableWidth,axisLabelShow:M.axisLabelShow,nameTruncateMaxWidth:M.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},a.prototype.getAxis=function(n){return this._axesMap.get(n)},a.prototype.dataToPoint=function(n,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(n),e)},a.prototype.eachActiveState=function(n,e,s,f){s==null&&(s=0),f==null&&(f=n.count());var p=this._axesMap,h=this.dimensions,_=[],M=[];H.k(h,function(De){_.push(n.mapDimension(De)),M.push(p.get(De).model)});for(var L=this.hasAxisBrushed(),z=s;z<f;z++){var Y=void 0;if(!L)Y="normal";else{Y="active";for(var q=n.getValues(_,z),se=0,ye=h.length;se<ye;se++){var je=M[se].getActiveState(q[se]);if(je==="inactive"){Y="inactive";break}}}e(Y,z)}},a.prototype.hasAxisBrushed=function(){for(var n=this.dimensions,e=this._axesMap,s=!1,f=0,p=n.length;f<p;f++)e.get(n[f]).model.getActiveState()!=="normal"&&(s=!0);return s},a.prototype.axisCoordToPoint=function(n,e){var s=this._axesLayout[e];return Vm([n,0],s.transform)},a.prototype.getAxisLayout=function(n){return H.d(this._axesLayout[n])},a.prototype.getSlidedAxisExpandWindow=function(n){var e=this._makeLayoutInfo(),s=e.pixelDimIndex,f=e.axisExpandWindow.slice(),p=f[1]-f[0],h=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(n))return{behavior:"none",axisExpandWindow:f};var _=n[s]-e.layoutBase-e.axisExpandWindow0Pos,M,L="slide",z=e.axisCollapseWidth,Y=this._model.get("axisExpandSlideTriggerArea"),q=Y[0]!=null;if(z)q&&z&&_<p*Y[0]?(L="jump",M=_-p*Y[2]):q&&z&&_>p*(1-Y[0])?(L="jump",M=_-p*(1-Y[2])):(M=_-p*Y[1])>=0&&(M=_-p*(1-Y[1]))<=0&&(M=0),M*=e.axisExpandWidth/z,M?Om(M,f,h,"all"):L="none";else{var se=f[1]-f[0],ye=h[1]*_/se;f=[Yk(0,ye-se/2)],f[1]=qS(h[1],f[0]+se),f[0]=f[1]-se}return{axisExpandWindow:f,behavior:L}},a}();function Zk(a,n){return qS(Yk(a,n[0]),n[1])}function oq(a,n){var e=n.layoutLength/(n.axisCount-1);return{position:e*a,axisNameAvailableWidth:e,axisLabelShow:!0}}function Qk(a,n){var e=n.layoutLength,s=n.axisExpandWidth,f=n.axisCount,p=n.axisCollapseWidth,h=n.winInnerIndices,_,M=p,L=!1,z;return a<h[0]?(_=a*p,z=p):a<=h[1]?(_=n.axisExpandWindow0Pos+a*s-n.axisExpandWindow[0],M=s,L=!0):(_=e-(f-1-a)*p,z=p),{position:_,axisNameAvailableWidth:M,axisLabelShow:L,nameTruncateMaxWidth:z}}var sq=Jk;function MB(a,n){var e=[];return a.eachComponent("parallel",function(s,f){var p=new sq(s,a,n);p.name="parallel_"+f,p.resize(s,n),s.coordinateSystem=p,p.model=s,e.push(p)}),a.eachSeries(function(s){if(s.get("coordinateSystem")==="parallel"){var f=s.getReferringComponents("parallel",Vu).models[0];s.coordinateSystem=f.coordinateSystem}}),e}var sb={create:MB},cq=sb,PB=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.activeIntervals=[],e}return n.prototype.getAreaSelectStyle=function(){return lv([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},n.prototype.setActiveIntervals=function(e){var s=this.activeIntervals=H.d(e);if(s)for(var f=s.length-1;f>=0;f--)oc(s[f])},n.prototype.getActiveState=function(e){var s=this.activeIntervals;if(!s.length)return"normal";if(e==null||isNaN(+e))return"inactive";if(s.length===1){var f=s[0];if(f[0]<=e&&e<=f[1])return"active"}else for(var p=0,h=s.length;p<h;p++)if(s[p][0]<=e&&e<=s[p][1])return"active";return"inactive"},n}(tf);H.K(PB,CS);var G0=PB,cb=!0,FC=Math.min,UC=Math.max,RB=Math.pow,DB=1e4,IB=6,NB=6,EN="globalPan",LB={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},xN={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},qk={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},SN=0,ej=function(a){Qe(n,a);function n(e){var s=a.call(this)||this;return s._track=[],s._covers=[],s._handlers={},s._zr=e,s.group=new _s,s._uid="brushController_"+SN++,Object(H.k)(pq,function(f,p){this._handlers[p]=Object(H.c)(f,this)},s),s}return n.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},n.prototype._doEnableBrush=function(e){var s=this._zr;this._enableGlobalPan||ZJ(s,EN,this._uid),Object(H.k)(this._handlers,function(f,p){s.on(p,f)}),this._brushType=e.brushType,this._brushOption=Object(H.I)(Object(H.d)(qk),e,!0)},n.prototype._doDisableBrush=function(){var e=this._zr;QJ(e,EN,this._uid),Object(H.k)(this._handlers,function(s,f){e.off(f,s)}),this._brushType=this._brushOption=null},n.prototype.setPanels=function(e){if(e&&e.length){var s=this._panels={};Object(H.k)(e,function(f){s[f.panelId]=Object(H.d)(f)})}else this._panels=null;return this},n.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var s=this.group;return this._zr.add(s),s.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=s.getLocalTransform(),this},n.prototype.updateCovers=function(e){e=Object(H.H)(e,function(q){return Object(H.I)(Object(H.d)(qk),q,!0)});var s="\0-brush-index-",f=this._covers,p=this._covers=[],h=this,_=this._creatingCover;return new D0(f,e,L,M).add(z).update(z).remove(Y).execute(),this;function M(q,se){return(q.id!=null?q.id:s+se)+"-"+q.brushType}function L(q,se){return M(q.__brushOption,se)}function z(q,se){var ye=e[q];if(se!=null&&f[se]===_)p[q]=f[se];else{var je=p[q]=se!=null?(f[se].__brushOption=ye,f[se]):FB(h,wN(h,ye));TN(h,je)}}function Y(q){f[q]!==_&&h.group.remove(f[q])}},n.prototype.unmount=function(){return this.enableBrush(!1),kN(this),this._zr.remove(this.group),this},n.prototype.dispose=function(){this.unmount(),this.off()},n}(xn);function wN(a,n){var e=ij[n.brushType].createCover(a,n);return e.__brushOption=n,BB(e,n),a.group.add(e),e}function FB(a,n){var e=tj(n);return e.endCreating&&(e.endCreating(a,n),BB(n,n.__brushOption)),n}function UB(a,n){var e=n.__brushOption;tj(n).updateCoverShape(a,n,e.range,e)}function BB(a,n){var e=n.z;e==null&&(e=DB),a.traverse(function(s){s.z=e,s.z2=e})}function TN(a,n){tj(n).updateCommon(a,n),UB(a,n)}function tj(a){return ij[a.__brushOption.brushType]}function AN(a,n,e){var s=a._panels;if(!s)return cb;var f,p=a._transform;return Object(H.k)(s,function(h){h.isTargetByCursor(n,e,p)&&(f=h)}),f}function VB(a,n){var e=a._panels;if(!e)return cb;var s=n.__brushOption.panelId;return s!=null?e[s]:cb}function kN(a){var n=a._covers,e=n.length;return Object(H.k)(n,function(s){a.group.remove(s)},a),n.length=0,!!e}function z_(a,n){var e=Object(H.H)(a._covers,function(s){var f=s.__brushOption,p=Object(H.d)(f.range);return{brushType:f.brushType,panelId:f.panelId,range:p}});a.trigger("brush",{areas:e,isEnd:!!n.isEnd,removeOnClick:!!n.removeOnClick})}function e2(a){var n=a._track;if(!n.length)return!1;var e=n[n.length-1],s=n[0],f=e[0]-s[0],p=e[1]-s[1],h=RB(f*f+p*p,.5);return h>IB}function $u(a){var n=a.length-1;return n<0&&(n=0),[a[0],a[n]]}function Wu(a,n,e,s){var f=new _s;return f.add(new Ic({name:"main",style:nj(e),silent:!0,draggable:!0,cursor:"move",drift:Object(H.h)(RN,a,n,f,["n","s","w","e"]),ondragend:Object(H.h)(z_,n,{isEnd:!0})})),Object(H.k)(s,function(p){f.add(new Ic({name:p.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(H.h)(RN,a,n,f,p),ondragend:Object(H.h)(z_,n,{isEnd:!0})}))}),f}function Jp(a,n,e,s){var f=s.brushStyle.lineWidth||0,p=UC(f,NB),h=e[0][0],_=e[1][0],M=h-f/2,L=_-f/2,z=e[0][1],Y=e[1][1],q=z-p+f/2,se=Y-p+f/2,ye=z-h,je=Y-_,De=ye+f,We=je+f;$0(a,n,"main",h,_,ye,je),s.transformable&&($0(a,n,"w",M,L,p,We),$0(a,n,"e",q,L,p,We),$0(a,n,"n",M,L,De,p),$0(a,n,"s",M,se,De,p),$0(a,n,"nw",M,L,p,p),$0(a,n,"ne",q,L,p,p),$0(a,n,"sw",M,se,p,p),$0(a,n,"se",q,se,p,p))}function jN(a,n){var e=n.__brushOption,s=e.transformable,f=n.childAt(0);f.useStyle(nj(e)),f.attr({silent:!s,cursor:s?"move":"default"}),Object(H.k)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(p){var h=n.childOfName(p.join("")),_=p.length===1?PN(a,p[0]):zB(a,p);h&&h.attr({silent:!s,invisible:!s,cursor:s?xN[_]+"-resize":null})})}function $0(a,n,e,s,f,p,h){var _=n.childOfName(e);_&&_.setShape(dq(rj(a,n,[[s,f],[s+p,f+h]])))}function nj(a){return Object(H.i)({strokeNoScale:!0},a.brushStyle)}function MN(a,n,e,s){var f=[FC(a,e),FC(n,s)],p=[UC(a,e),UC(n,s)];return[[f[0],p[0]],[f[1],p[1]]]}function lq(a){return A0(a.group)}function PN(a,n){var e={w:"left",e:"right",n:"top",s:"bottom"},s={left:"w",right:"e",top:"n",bottom:"s"},f=rA(e[n],lq(a));return s[f]}function zB(a,n){var e=[PN(a,n[0]),PN(a,n[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function RN(a,n,e,s,f,p){var h=e.__brushOption,_=a.toRectRange(h.range),M=HB(n,f,p);Object(H.k)(s,function(L){var z=LB[L];_[z[0]][z[1]]+=M[z[0]]}),h.range=a.fromRectRange(MN(_[0][0],_[1][0],_[0][1],_[1][1])),TN(n,e),z_(n,{isEnd:!1})}function uq(a,n,e,s){var f=n.__brushOption.range,p=HB(a,e,s);Object(H.k)(f,function(h){h[0]+=p[0],h[1]+=p[1]}),TN(a,n),z_(a,{isEnd:!1})}function HB(a,n,e){var s=a.group,f=s.transformCoordToLocal(n,e),p=s.transformCoordToLocal(0,0);return[f[0]-p[0],f[1]-p[1]]}function rj(a,n,e){var s=VB(a,n);return s&&s!==cb?s.clipPath(e,a._transform):Object(H.d)(e)}function dq(a){var n=FC(a[0][0],a[1][0]),e=FC(a[0][1],a[1][1]),s=UC(a[0][0],a[1][0]),f=UC(a[0][1],a[1][1]);return{x:n,y:e,width:s-n,height:f-e}}function fq(a,n,e){if(!(!a._brushType||vq(a,n.offsetX,n.offsetY))){var s=a._zr,f=a._covers,p=AN(a,n,e);if(!a._dragging)for(var h=0;h<f.length;h++){var _=f[h].__brushOption;if(p&&(p===cb||_.panelId===p.panelId)&&ij[_.brushType].contain(f[h],e[0],e[1]))return}p&&s.setCursorStyle("crosshair")}}function DN(a){var n=a.event;n.preventDefault&&n.preventDefault()}function aj(a,n,e){return a.childOfName("main").contain(n,e)}function GB(a,n,e,s){var f=a._creatingCover,p=a._creatingPanel,h=a._brushOption,_;if(a._track.push(e.slice()),e2(a)||f){if(p&&!f){h.brushMode==="single"&&kN(a);var M=Object(H.d)(h);M.brushType=IN(M.brushType,p),M.panelId=p===cb?null:p.panelId,f=a._creatingCover=wN(a,M),a._covers.push(f)}if(f){var L=ij[IN(a._brushType,p)],z=f.__brushOption;z.range=L.getCreatingRange(rj(a,f,a._track)),s&&(FB(a,f),L.updateCommon(a,f)),UB(a,f),_={isEnd:s}}}else s&&h.brushMode==="single"&&h.removeOnClick&&AN(a,n,e)&&kN(a)&&(_={isEnd:s,removeOnClick:!0});return _}function IN(a,n){return a==="auto"?n.defaultBrushType:a}var pq={mousedown:function(a){if(this._dragging)$B(this,a);else if(!a.target||!a.target.draggable){DN(a);var n=this.group.transformCoordToLocal(a.offsetX,a.offsetY);this._creatingCover=null;var e=this._creatingPanel=AN(this,a,n);e&&(this._dragging=!0,this._track=[n.slice()])}},mousemove:function(a){var n=a.offsetX,e=a.offsetY,s=this.group.transformCoordToLocal(n,e);if(fq(this,a,s),this._dragging){DN(a);var f=GB(this,a,s,!1);f&&z_(this,f)}},mouseup:function(a){$B(this,a)}};function $B(a,n){if(a._dragging){DN(n);var e=n.offsetX,s=n.offsetY,f=a.group.transformCoordToLocal(e,s),p=GB(a,n,f,!0);a._dragging=!1,a._track=[],a._creatingCover=null,p&&z_(a,p)}}function vq(a,n,e){var s=a._zr;return n<0||n>s.getWidth()||e<0||e>s.getHeight()}var ij={lineX:WB(0),lineY:WB(1),rect:{createCover:function(a,n){function e(s){return s}return Wu({toRectRange:e,fromRectRange:e},a,n,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(a){var n=$u(a);return MN(n[1][0],n[1][1],n[0][0],n[0][1])},updateCoverShape:function(a,n,e,s){Jp(a,n,e,s)},updateCommon:jN,contain:aj},polygon:{createCover:function(a,n){var e=new _s;return e.add(new Cg({name:"main",style:nj(n),silent:!0})),e},getCreatingRange:function(a){return a},endCreating:function(a,n){n.remove(n.childAt(0)),n.add(new $h({name:"main",draggable:!0,drift:Object(H.h)(uq,a,n),ondragend:Object(H.h)(z_,a,{isEnd:!0})}))},updateCoverShape:function(a,n,e,s){n.childAt(0).setShape({points:rj(a,n,e)})},updateCommon:jN,contain:aj}};function WB(a){return{createCover:function(n,e){return Wu({toRectRange:function(s){var f=[s,[0,100]];return a&&f.reverse(),f},fromRectRange:function(s){return s[a]}},n,e,[[["w"],["e"]],[["n"],["s"]]][a])},getCreatingRange:function(n){var e=$u(n),s=FC(e[0][a],e[1][a]),f=UC(e[0][a],e[1][a]);return[s,f]},updateCoverShape:function(n,e,s,f){var p,h=VB(n,e);if(h!==cb&&h.getLinearBrushOtherExtent)p=h.getLinearBrushOtherExtent(a);else{var _=n._zr;p=[0,[_.getWidth(),_.getHeight()][1-a]]}var M=[s,p];a&&M.reverse(),Jp(n,e,M,f)},updateCommon:jN,contain:aj}}var NN=ej;function KB(a){return a=H_(a),function(n){return IR(n,a)}}function YB(a,n){return a=H_(a),function(e){var s=n!=null?n:e,f=s?a.width:a.height,p=s?a.x:a.y;return[p,p+(f||0)]}}function t2(a,n,e){var s=H_(a);return function(f,p){return s.contain(p[0],p[1])&&!ck(f,n,e)}}function H_(a){return fo.create(a)}var XB=["axisLine","axisTickLabel","axisName"],JB=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s){a.prototype.init.apply(this,arguments),(this._brushController=new NN(s.getZr())).on("brush",H.c(this._onBrush,this))},n.prototype.render=function(e,s,f,p){if(!ZB(e,s,p)){this.axisModel=e,this.api=f,this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new _s,this.group.add(this._axisGroup),!!e.get("show")){var _=gq(e,s),M=_.coordinateSystem,L=e.getAreaSelectStyle(),z=L.width,Y=e.axis.dim,q=M.getAxisLayout(Y),se=H.m({strokeContainThreshold:z},q),ye=new F0(e,se);H.k(XB,ye.add,ye),this._axisGroup.add(ye.getGroup()),this._refreshBrushController(se,L,e,_,z,f),Wx(h,this._axisGroup,e)}}},n.prototype._refreshBrushController=function(e,s,f,p,h,_){var M=f.axis.getExtent(),L=M[1]-M[0],z=Math.min(30,Math.abs(L)*.1),Y=fo.create({x:M[0],y:-h/2,width:L,height:h});Y.x-=z,Y.width+=2*z,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:KB(Y),isTargetByCursor:t2(Y,_,p),getLinearBrushOtherExtent:YB(Y,0)}]).enableBrush({brushType:"lineX",brushStyle:s,removeOnClick:!0}).updateCovers(hq(f))},n.prototype._onBrush=function(e){var s=e.areas,f=this.axisModel,p=f.axis,h=H.H(s,function(_){return[p.coordToData(_.range[0],!0),p.coordToData(_.range[1],!0)]});(!f.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:f.id,intervals:h})},n.prototype.dispose=function(){this._brushController.dispose()},n.type="parallelAxis",n}(Np);function ZB(a,n,e){return e&&e.type==="axisAreaSelect"&&n.findComponents({mainType:"parallelAxis",query:e})[0]===a}function hq(a){var n=a.axis;return H.H(a.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[n.dataToCoord(e[0],!0),n.dataToCoord(e[1],!0)]}})}function gq(a,n){return n.getComponent("parallel",a.get("parallelIndex"))}var QB=JB,mq={type:"axisAreaSelect",event:"axisAreaSelected"};function BC(a){a.registerAction(mq,function(n,e){e.eachComponent({mainType:"parallelAxis",query:n},function(s){s.axis.model.setActiveIntervals(n.intervals)})}),a.registerAction("parallelAxisExpand",function(n,e){e.eachComponent({mainType:"parallel",query:n},function(s){s.setAxisExpand(n)})})}var _q={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function qB(a){a.registerComponentView(ZS),a.registerComponentModel(kB),a.registerCoordinateSystem("parallel",cq),a.registerPreprocessor(SB),a.registerComponentModel(G0),a.registerComponentView(QB),OC(a,"parallel",G0,_q),BC(a)}function yq(a){Dd(qB),a.registerChartView(Kk),a.registerSeriesModel(CB),a.registerVisual(a.PRIORITY.VISUAL.BRUSH,JS)}var bq=function(){function a(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return a}(),Oq=function(a){Qe(n,a);function n(e){return a.call(this,e)||this}return n.prototype.getDefaultShape=function(){return new bq},n.prototype.buildPath=function(e,s){var f=s.extent;e.moveTo(s.x1,s.y1),e.bezierCurveTo(s.cpx1,s.cpy1,s.cpx2,s.cpy2,s.x2,s.y2),s.orient==="vertical"?(e.lineTo(s.x2+f,s.y2),e.bezierCurveTo(s.cpx2+f,s.cpy2,s.cpx1+f,s.cpy1,s.x1+f,s.y1)):(e.lineTo(s.x2,s.y2+f),e.bezierCurveTo(s.cpx2,s.cpy2+f,s.cpx1,s.cpy1+f,s.x1,s.y1+f)),e.closePath()},n.prototype.highlight=function(){C_(this)},n.prototype.downplay=function(){wh(this)},n}(Ti),Cq=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._focusAdjacencyDisabled=!1,e}return n.prototype.render=function(e,s,f){var p=this,h=e.getGraph(),_=this.group,M=e.layoutInfo,L=M.width,z=M.height,Y=e.getData(),q=e.getData("edge"),se=e.get("orient");this._model=e,_.removeAll(),_.x=M.x,_.y=M.y,h.eachEdge(function(ye){var je=new Oq,De=sc(je);De.dataIndex=ye.dataIndex,De.seriesIndex=e.seriesIndex,De.dataType="edge";var We=ye.getModel(),st=We.getModel("lineStyle"),dt=st.get("curveness"),Mt=ye.node1.getLayout(),nn=ye.node1.getModel(),rn=nn.get("localX"),Cn=nn.get("localY"),er=ye.node2.getLayout(),ir=ye.node2.getModel(),dr=ir.get("localX"),pr=ir.get("localY"),ia=ye.getLayout(),pa,Ga,si,Bi,Go,Lo,Rs,Ns;switch(je.shape.extent=Math.max(1,ia.dy),je.shape.orient=se,se==="vertical"?(pa=(rn!=null?rn*L:Mt.x)+ia.sy,Ga=(Cn!=null?Cn*z:Mt.y)+Mt.dy,si=(dr!=null?dr*L:er.x)+ia.ty,Bi=pr!=null?pr*z:er.y,Go=pa,Lo=Ga*(1-dt)+Bi*dt,Rs=si,Ns=Ga*dt+Bi*(1-dt)):(pa=(rn!=null?rn*L:Mt.x)+Mt.dx,Ga=(Cn!=null?Cn*z:Mt.y)+ia.sy,si=dr!=null?dr*L:er.x,Bi=(pr!=null?pr*z:er.y)+ia.ty,Go=pa*(1-dt)+si*dt,Lo=Ga,Rs=pa*dt+si*(1-dt),Ns=Bi),je.setShape({x1:pa,y1:Ga,x2:si,y2:Bi,cpx1:Go,cpy1:Lo,cpx2:Rs,cpy2:Ns}),je.useStyle(st.getItemStyle()),je.style.fill){case"source":je.style.fill=ye.node1.getVisual("color"),je.style.decal=ye.node1.getVisual("style").decal;break;case"target":je.style.fill=ye.node2.getVisual("color"),je.style.decal=ye.node2.getVisual("style").decal;break;case"gradient":var Ds=ye.node1.getVisual("color"),yc=ye.node2.getVisual("color");Object(H.C)(Ds)&&Object(H.C)(yc)&&(je.style.fill=new h1(0,0,+(se==="horizontal"),+(se==="vertical"),[{color:Ds,offset:0},{color:yc,offset:1}]))}Wf(je,_f(We,"edgeLabel"),{labelFetcher:e,labelDataIndex:ye.dataIndex,defaultText:""+We.get("value")}),je.setTextConfig({position:"inside"});var Zc=We.getModel("emphasis");Qv(je,We,"lineStyle",function(Nu){return Nu.getItemStyle()}),_.add(je),q.setItemGraphicEl(ye.dataIndex,je);var $c=Zc.get("focus");Wp(je,$c==="adjacency"?ye.getAdjacentDataIndices():$c,Zc.get("blurScope"),Zc.get("disabled")),sc(je).dataType="edge"}),h.eachNode(function(ye){var je=ye.getLayout(),De=ye.getModel(),We=De.get("localX"),st=De.get("localY"),dt=De.getModel("emphasis"),Mt=new Ic({shape:{x:We!=null?We*L:je.x,y:st!=null?st*z:je.y,width:je.dx,height:je.dy},style:De.getModel("itemStyle").getItemStyle(),z2:10});Wf(Mt,_f(De),{labelFetcher:e,labelDataIndex:ye.dataIndex,defaultText:ye.id}),Mt.disableLabelAnimation=!0,Mt.setStyle("fill",ye.getVisual("color")),Mt.setStyle("decal",ye.getVisual("style").decal),Qv(Mt,De),_.add(Mt),Y.setItemGraphicEl(ye.dataIndex,Mt),sc(Mt).dataType="node";var nn=dt.get("focus");Wp(Mt,nn==="adjacency"?ye.getAdjacentDataIndices():nn,dt.get("blurScope"),dt.get("disabled"))}),Y.eachItemGraphicEl(function(ye,je){var De=Y.getItemModel(je);De.get("draggable")&&(ye.drift=function(We,st){p._focusAdjacencyDisabled=!0,this.shape.x+=We,this.shape.y+=st,this.dirty(),f.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:Y.getRawIndex(je),localX:this.shape.x/L,localY:this.shape.y/z})},ye.ondragend=function(){p._focusAdjacencyDisabled=!1},ye.draggable=!0,ye.cursor="move")}),!this._data&&e.isAnimationEnabled()&&_.setClipPath(Eq(_.getBoundingRect(),e,function(){_.removeClipPath()})),this._data=e.getData()},n.prototype.dispose=function(){},n.type="sankey",n}(np);function Eq(a,n,e){var s=new Ic({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return dp(s,{shape:{width:a.width+20}},n,e),s}var xq=Cq,Sq=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.getInitialData=function(e,s){var f=e.edges||e.links,p=e.data||e.nodes,h=e.levels;this.levelModels=[];for(var _=this.levelModels,M=0;M<h.length;M++)h[M].depth!=null&&h[M].depth>=0&&(_[h[M].depth]=new tp(h[M],this,s));if(p&&f){var L=Qu(p,f,this,!0,z);return L.data}function z(Y,q){Y.wrapMethod("getItemModel",function(se,ye){var je=se.parentModel,De=je.getData().getItemLayout(ye);if(De){var We=De.depth,st=je.levelModels[We];st&&(se.parentModel=st)}return se}),q.wrapMethod("getItemModel",function(se,ye){var je=se.parentModel,De=je.getGraph().getEdgeByIndex(ye),We=De.node1.getLayout();if(We){var st=We.depth,dt=je.levelModels[st];dt&&(se.parentModel=dt)}return se})}},n.prototype.setNodePosition=function(e,s){var f=this.option.data||this.option.nodes,p=f[e];p.localX=s[0],p.localY=s[1]},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.formatTooltip=function(e,s,f){function p(se){return isNaN(se)||se==null}if(f==="edge"){var h=this.getDataParams(e,f),_=h.data,M=h.value,L=_.source+" -- "+_.target;return th("nameValue",{name:L,value:M,noValue:p(M)})}else{var z=this.getGraph().getNodeByIndex(e),Y=z.getLayout().value,q=this.getDataParams(e,f).data.name;return th("nameValue",{name:q!=null?q+"":null,value:Y,noValue:p(Y)})}},n.prototype.optionUpdated=function(){},n.prototype.getDataParams=function(e,s){var f=a.prototype.getDataParams.call(this,e,s);if(f.value==null&&s==="node"){var p=this.getGraph().getNodeByIndex(e),h=p.getLayout().value;f.value=h}return f},n.type="series.sankey",n.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},n}(mp),wq=Sq;function e9(a,n){a.eachSeriesByType("sankey",function(e){var s=e.get("nodeWidth"),f=e.get("nodeGap"),p=Tq(e,n);e.layoutInfo=p;var h=p.width,_=p.height,M=e.getGraph(),L=M.nodes,z=M.edges;kq(L);var Y=H.n(L,function(je){return je.getLayout().value===0}),q=Y.length!==0?0:e.get("layoutIterations"),se=e.get("orient"),ye=e.get("nodeAlign");Aq(L,z,s,f,h,_,q,se,ye)})}function Tq(a,n){return Pv(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function Aq(a,n,e,s,f,p,h,_,M){jq(a,n,e,f,p,_,M),n9(a,n,p,f,s,h,_),Vq(a,_)}function kq(a){H.k(a,function(n){var e=lb(n.outEdges,n2),s=lb(n.inEdges,n2),f=n.getValue()||0,p=Math.max(e,s,f);n.setLayout({value:p},!0)})}function jq(a,n,e,s,f,p,h){for(var _=[],M=[],L=[],z=[],Y=0,q=0;q<n.length;q++)_[q]=1;for(var q=0;q<a.length;q++)M[q]=a[q].inEdges.length,M[q]===0&&L.push(a[q]);for(var se=-1;L.length;){for(var ye=0;ye<L.length;ye++){var je=L[ye],De=je.hostGraph.data.getRawDataItem(je.dataIndex),We=De.depth!=null&&De.depth>=0;We&&De.depth>se&&(se=De.depth),je.setLayout({depth:We?De.depth:Y},!0),p==="vertical"?je.setLayout({dy:e},!0):je.setLayout({dx:e},!0);for(var st=0;st<je.outEdges.length;st++){var dt=je.outEdges[st],Mt=n.indexOf(dt);_[Mt]=0;var nn=dt.node2,rn=a.indexOf(nn);--M[rn]==0&&z.indexOf(nn)<0&&z.push(nn)}}++Y,L=z,z=[]}for(var q=0;q<_.length;q++)if(_[q]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Cn=se>Y-1?se:Y-1;h&&h!=="left"&&t9(a,h,p,Cn);var er=p==="vertical"?(f-e)/Cn:(s-e)/Cn;Pq(a,er,p)}function W0(a){var n=a.hostGraph.data.getRawDataItem(a.dataIndex);return n.depth!=null&&n.depth>=0}function t9(a,n,e,s){if(n==="right"){for(var f=[],p=a,h=0;p.length;){for(var _=0;_<p.length;_++){var M=p[_];M.setLayout({skNodeHeight:h},!0);for(var L=0;L<M.inEdges.length;L++){var z=M.inEdges[L];f.indexOf(z.node1)<0&&f.push(z.node1)}}p=f,f=[],++h}H.k(a,function(Y){W0(Y)||Y.setLayout({depth:Math.max(0,s-Y.getLayout().skNodeHeight)},!0)})}else n==="justify"&&Mq(a,s)}function Mq(a,n){H.k(a,function(e){!W0(e)&&!e.outEdges.length&&e.setLayout({depth:n},!0)})}function Pq(a,n,e){H.k(a,function(s){var f=s.getLayout().depth*n;e==="vertical"?s.setLayout({y:f},!0):s.setLayout({x:f},!0)})}function n9(a,n,e,s,f,p,h){var _=Rq(a,h);Dq(_,n,e,s,f,h),LN(_,f,e,s,h);for(var M=1;p>0;p--)M*=.99,Iq(_,M,h),LN(_,f,e,s,h),Bq(_,M,h),LN(_,f,e,s,h)}function Rq(a,n){var e=[],s=n==="vertical"?"y":"x",f=lp(a,function(p){return p.getLayout()[s]});return f.keys.sort(function(p,h){return p-h}),H.k(f.keys,function(p){e.push(f.buckets.get(p))}),e}function Dq(a,n,e,s,f,p){var h=Infinity;H.k(a,function(_){var M=_.length,L=0;H.k(_,function(Y){L+=Y.getLayout().value});var z=p==="vertical"?(s-(M-1)*f)/L:(e-(M-1)*f)/L;z<h&&(h=z)}),H.k(a,function(_){H.k(_,function(M,L){var z=M.getLayout().value*h;p==="vertical"?(M.setLayout({x:L},!0),M.setLayout({dx:z},!0)):(M.setLayout({y:L},!0),M.setLayout({dy:z},!0))})}),H.k(n,function(_){var M=+_.getValue()*h;_.setLayout({dy:M},!0)})}function LN(a,n,e,s,f){var p=f==="vertical"?"x":"y";H.k(a,function(h){h.sort(function(je,De){return je.getLayout()[p]-De.getLayout()[p]});for(var _,M,L,z=0,Y=h.length,q=f==="vertical"?"dx":"dy",se=0;se<Y;se++)M=h[se],L=z-M.getLayout()[p],L>0&&(_=M.getLayout()[p]+L,f==="vertical"?M.setLayout({x:_},!0):M.setLayout({y:_},!0)),z=M.getLayout()[p]+M.getLayout()[q]+n;var ye=f==="vertical"?s:e;if(L=z-n-ye,L>0){_=M.getLayout()[p]-L,f==="vertical"?M.setLayout({x:_},!0):M.setLayout({y:_},!0),z=_;for(var se=Y-2;se>=0;--se)M=h[se],L=M.getLayout()[p]+M.getLayout()[q]+n-z,L>0&&(_=M.getLayout()[p]-L,f==="vertical"?M.setLayout({x:_},!0):M.setLayout({y:_},!0)),z=M.getLayout()[p]}})}function Iq(a,n,e){H.k(a.slice().reverse(),function(s){H.k(s,function(f){if(f.outEdges.length){var p=lb(f.outEdges,Nq,e)/lb(f.outEdges,n2);if(isNaN(p)){var h=f.outEdges.length;p=h?lb(f.outEdges,Lq,e)/h:0}if(e==="vertical"){var _=f.getLayout().x+(p-K0(f,e))*n;f.setLayout({x:_},!0)}else{var M=f.getLayout().y+(p-K0(f,e))*n;f.setLayout({y:M},!0)}}})})}function Nq(a,n){return K0(a.node2,n)*a.getValue()}function Lq(a,n){return K0(a.node2,n)}function Fq(a,n){return K0(a.node1,n)*a.getValue()}function Uq(a,n){return K0(a.node1,n)}function K0(a,n){return n==="vertical"?a.getLayout().x+a.getLayout().dx/2:a.getLayout().y+a.getLayout().dy/2}function n2(a){return a.getValue()}function lb(a,n,e){for(var s=0,f=a.length,p=-1;++p<f;){var h=+n(a[p],e);isNaN(h)||(s+=h)}return s}function Bq(a,n,e){H.k(a,function(s){H.k(s,function(f){if(f.inEdges.length){var p=lb(f.inEdges,Fq,e)/lb(f.inEdges,n2);if(isNaN(p)){var h=f.inEdges.length;p=h?lb(f.inEdges,Uq,e)/h:0}if(e==="vertical"){var _=f.getLayout().x+(p-K0(f,e))*n;f.setLayout({x:_},!0)}else{var M=f.getLayout().y+(p-K0(f,e))*n;f.setLayout({y:M},!0)}}})})}function Vq(a,n){var e=n==="vertical"?"x":"y";H.k(a,function(s){s.outEdges.sort(function(f,p){return f.node2.getLayout()[e]-p.node2.getLayout()[e]}),s.inEdges.sort(function(f,p){return f.node1.getLayout()[e]-p.node1.getLayout()[e]})}),H.k(a,function(s){var f=0,p=0;H.k(s.outEdges,function(h){h.setLayout({sy:f},!0),f+=h.getLayout().dy}),H.k(s.inEdges,function(h){h.setLayout({ty:p},!0),p+=h.getLayout().dy})})}function Y0(a){a.eachSeriesByType("sankey",function(n){var e=n.getGraph(),s=e.nodes,f=e.edges;if(s.length){var p=Infinity,h=-Infinity;H.k(s,function(_){var M=_.getLayout().value;M<p&&(p=M),M>h&&(h=M)}),H.k(s,function(_){var M=new jh({type:"color",mappingMethod:"linear",dataExtent:[p,h],visual:n.get("color")}),L=M.mapValueToVisual(_.getLayout().value),z=_.getModel().get(["itemStyle","color"]);z!=null?(_.setVisual("color",z),_.setVisual("style",{fill:z})):(_.setVisual("color",L),_.setVisual("style",{fill:L}))})}f.length&&H.k(f,function(_){var M=_.getModel().get("lineStyle");_.setVisual("style",M)})})}function zq(a){a.registerChartView(xq),a.registerSeriesModel(wq),a.registerLayout(e9),a.registerVisual(Y0),a.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(n,e){e.eachComponent({mainType:"series",subType:"sankey",query:n},function(s){s.setNodePosition(n.dataIndex,[n.localX,n.localY])})})}var oj=function(){function a(){}return a.prototype.getInitialData=function(n,e){var s,f=e.getComponent("xAxis",this.get("xAxisIndex")),p=e.getComponent("yAxis",this.get("yAxisIndex")),h=f.get("type"),_=p.get("type"),M;h==="category"?(n.layout="horizontal",s=f.getOrdinalMeta(),M=!0):_==="category"?(n.layout="vertical",s=p.getOrdinalMeta(),M=!0):n.layout=n.layout||"horizontal";var L=["x","y"],z=n.layout==="horizontal"?0:1,Y=this._baseAxisDim=L[z],q=L[1-z],se=[f,p],ye=se[z].get("type"),je=se[1-z].get("type"),De=n.data;if(De&&M){var We=[];H.k(De,function(Mt,nn){var rn;H.t(Mt)?(rn=Mt.slice(),Mt.unshift(nn)):H.t(Mt.value)?(rn=H.m({},Mt),rn.value=rn.value.slice(),Mt.value.unshift(nn)):rn=Mt,We.push(rn)}),n.data=We}var st=this.defaultValueDimensions,dt=[{name:Y,type:DA(ye),ordinalMeta:s,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:q,type:DA(je),dimsDef:st.slice()}];return I1(this,{coordDimensions:dt,dimensionsCount:st.length+1,encodeDefaulter:H.h(kT,dt,this)})},a.prototype.getBaseAxis=function(){var n=this._baseAxisDim;return this.ecModel.getComponent(n+"Axis",this.get(n+"AxisIndex")).axis},a}(),r9=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return n.type="series.boxplot",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},n}(mp);Object(H.K)(r9,oj,!0);var Hq=r9,Gq=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=e.getData(),h=this.group,_=this._data;this._data||h.removeAll();var M=e.get("layout")==="horizontal"?1:0;p.diff(_).add(function(L){if(p.hasValue(L)){var z=p.getItemLayout(L),Y=VC(z,p,L,M,!0);p.setItemGraphicEl(L,Y),h.add(Y)}}).update(function(L,z){var Y=_.getItemGraphicEl(z);if(!p.hasValue(L)){h.remove(Y);return}var q=p.getItemLayout(L);Y?(Ug(Y),a9(q,Y,p,L)):Y=VC(q,p,L,M),h.add(Y),p.setItemGraphicEl(L,Y)}).remove(function(L){var z=_.getItemGraphicEl(L);z&&h.remove(z)}).execute(),this._data=p},n.prototype.remove=function(e){var s=this.group,f=this._data;this._data=null,f&&f.eachItemGraphicEl(function(p){p&&s.remove(p)})},n.type="boxplot",n}(np),FN=function(){function a(){}return a}(),$q=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="boxplotBoxPath",s}return n.prototype.getDefaultShape=function(){return new FN},n.prototype.buildPath=function(e,s){var f=s.points,p=0;for(e.moveTo(f[p][0],f[p][1]),p++;p<4;p++)e.lineTo(f[p][0],f[p][1]);for(e.closePath();p<f.length;p++)e.moveTo(f[p][0],f[p][1]),p++,e.lineTo(f[p][0],f[p][1])},n}(Ti);function VC(a,n,e,s,f){var p=a.ends,h=new $q({shape:{points:f?i9(p,s,a):p}});return a9(a,h,n,e,f),h}function a9(a,n,e,s,f){var p=e.hostModel,h=E[f?"initProps":"updateProps"];h(n,{shape:{points:a.ends}},p,s),n.useStyle(e.getItemVisual(s,"style")),n.style.strokeNoScale=!0,n.z2=100;var _=e.getItemModel(s),M=_.getModel("emphasis");Qv(n,_),Wp(n,M.get("focus"),M.get("blurScope"),M.get("disabled"))}function i9(a,n,e){return H.H(a,function(s){return s=s.slice(),s[n]=e.initBaseline,s})}var Wq=Gq,zC=H.k;function Kq(a){var n=Yq(a);zC(n,function(e){var s=e.seriesModels;!s.length||(Xq(e),zC(s,function(f,p){sj(f,e.boxOffsetList[p],e.boxWidthList[p])}))})}function Yq(a){var n=[],e=[];return a.eachSeriesByType("boxplot",function(s){var f=s.getBaseAxis(),p=H.r(e,f);p<0&&(p=e.length,e[p]=f,n[p]={axis:f,seriesModels:[]}),n[p].seriesModels.push(s)}),n}function Xq(a){var n=a.axis,e=a.seriesModels,s=e.length,f=a.boxWidthList=[],p=a.boxOffsetList=[],h=[],_;if(n.type==="category")_=n.getBandWidth();else{var M=0;zC(e,function(ye){M=Math.max(M,ye.getData().count())});var L=n.getExtent();_=Math.abs(L[1]-L[0])/M}zC(e,function(ye){var je=ye.get("boxWidth");H.t(je)||(je=[je,je]),h.push([Mi(je[0],_)||0,Mi(je[1],_)||0])});var z=_*.8-2,Y=z/s*.3,q=(z-Y*(s-1))/s,se=q/2-z/2;zC(e,function(ye,je){p.push(se),se+=Y+q,f.push(Math.min(Math.max(q,h[je][0]),h[je][1]))})}function sj(a,n,e){var s=a.coordinateSystem,f=a.getData(),p=e/2,h=a.get("layout")==="horizontal"?0:1,_=1-h,M=["x","y"],L=f.mapDimension(M[h]),z=f.mapDimensionsAll(M[_]);if(L==null||z.length<5)return;for(var Y=0;Y<f.count();Y++){var q=f.get(L,Y),se=dt(q,z[2],Y),ye=dt(q,z[0],Y),je=dt(q,z[1],Y),De=dt(q,z[3],Y),We=dt(q,z[4],Y),st=[];Mt(st,je,!1),Mt(st,De,!0),st.push(ye,je,We,De),nn(st,ye),nn(st,We),nn(st,se),f.setItemLayout(Y,{initBaseline:se[_],ends:st})}function dt(rn,Cn,er){var ir=f.get(Cn,er),dr=[];dr[h]=rn,dr[_]=ir;var pr;return isNaN(rn)||isNaN(ir)?pr=[NaN,NaN]:(pr=s.dataToPoint(dr),pr[h]+=n),pr}function Mt(rn,Cn,er){var ir=Cn.slice(),dr=Cn.slice();ir[h]+=p,dr[h]-=p,er?rn.push(ir,dr):rn.push(dr,ir)}function nn(rn,Cn){var er=Cn.slice(),ir=Cn.slice();er[h]-=p,ir[h]+=p,rn.push(er,ir)}}function Wm(a,n){n=n||{};for(var e=[],s=[],f=n.boundIQR,p=f==="none"||f===0,h=0;h<a.length;h++){var _=oc(a[h].slice()),M=Xa(_,.25),L=Xa(_,.5),z=Xa(_,.75),Y=_[0],q=_[_.length-1],se=(f==null?1.5:f)*(z-M),ye=p?Y:Math.max(Y,M-se),je=p?q:Math.min(q,z+se),De=n.itemNameFormatter,We=Object(H.w)(De)?De({value:h}):Object(H.C)(De)?De.replace("{value}",h+""):h+"";e.push([We,ye,M,L,z,je]);for(var st=0;st<_.length;st++){var dt=_[st];if(dt<ye||dt>je){var Mt=[We,dt];s.push(Mt)}}}return{boxData:e,outliers:s}}var Jq={type:"echarts:boxplot",transform:function(n){var e=n.upstream;if(e.sourceFormat!==qv){var s="";Tf(s)}var f=Wm(e.getRawData(),n.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:f.boxData},{data:f.outliers}]}};function Zq(a){a.registerSeriesModel(Hq),a.registerChartView(Wq),a.registerLayout(Kq),a.registerTransform(Jq)}var Qq=["color","borderColor"],qq=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},n.prototype.incrementalPrepareRender=function(e,s,f){this._clear(),this._updateDrawMode(e)},n.prototype.incrementalRender=function(e,s,f,p){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,s):this._incrementalRenderNormal(e,s)},n.prototype.eachRendered=function(e){Fy(this._progressiveEls||this.group,e)},n.prototype._updateDrawMode=function(e){var s=e.pipelineContext.large;(this._isLargeDraw==null||s!==this._isLargeDraw)&&(this._isLargeDraw=s,this._clear())},n.prototype._renderNormal=function(e){var s=e.getData(),f=this._data,p=this.group,h=s.getLayout("isSimpleBox"),_=e.get("clip",!0),M=e.coordinateSystem,L=M.getArea&&M.getArea();this._data||p.removeAll(),s.diff(f).add(function(z){if(s.hasValue(z)){var Y=s.getItemLayout(z);if(_&&o9(L,Y))return;var q=Gv(Y,z,!0);dp(q,{shape:{points:Y.ends}},e,z),BN(q,s,z,h),p.add(q),s.setItemGraphicEl(z,q)}}).update(function(z,Y){var q=f.getItemGraphicEl(Y);if(!s.hasValue(z)){p.remove(q);return}var se=s.getItemLayout(z);if(_&&o9(L,se)){p.remove(q);return}q?(pf(q,{shape:{points:se.ends}},e,z),Ug(q)):q=Gv(se,z),BN(q,s,z,h),p.add(q),s.setItemGraphicEl(z,q)}).remove(function(z){var Y=f.getItemGraphicEl(z);Y&&p.remove(Y)}).execute(),this._data=s},n.prototype._renderLarge=function(e){this._clear(),s9(e,this.group);var s=e.get("clip",!0)?LA(e.coordinateSystem,!1,e):null;s?this.group.setClipPath(s):this.group.removeClipPath()},n.prototype._incrementalRenderNormal=function(e,s){for(var f=s.getData(),p=f.getLayout("isSimpleBox"),h;(h=e.next())!=null;){var _=f.getItemLayout(h),M=Gv(_,h);BN(M,f,h,p),M.incremental=!0,this.group.add(M),this._progressiveEls.push(M)}},n.prototype._incrementalRenderLarge=function(e,s){s9(s,this.group,this._progressiveEls,!0)},n.prototype.remove=function(e){this._clear()},n.prototype._clear=function(){this.group.removeAll(),this._data=null},n.type="candlestick",n}(np),X0=function(){function a(){}return a}(),UN=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="normalCandlestickBox",s}return n.prototype.getDefaultShape=function(){return new X0},n.prototype.buildPath=function(e,s){var f=s.points;this.__simpleBox?(e.moveTo(f[4][0],f[4][1]),e.lineTo(f[6][0],f[6][1])):(e.moveTo(f[0][0],f[0][1]),e.lineTo(f[1][0],f[1][1]),e.lineTo(f[2][0],f[2][1]),e.lineTo(f[3][0],f[3][1]),e.closePath(),e.moveTo(f[4][0],f[4][1]),e.lineTo(f[5][0],f[5][1]),e.moveTo(f[6][0],f[6][1]),e.lineTo(f[7][0],f[7][1]))},n}(Ti);function Gv(a,n,e){var s=a.ends;return new UN({shape:{points:e?eee(s,a):s},z2:100})}function o9(a,n){for(var e=!0,s=0;s<n.ends.length;s++)if(a.contain(n.ends[s][0],n.ends[s][1])){e=!1;break}return e}function BN(a,n,e,s){var f=n.getItemModel(e);a.useStyle(n.getItemVisual(e,"style")),a.style.strokeNoScale=!0,a.__simpleBox=s,Qv(a,f)}function eee(a,n){return H.H(a,function(e){return e=e.slice(),e[1]=n.initBaseline,e})}var tee=function(){function a(){}return a}(),VN=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s.type="largeCandlestickBox",s}return n.prototype.getDefaultShape=function(){return new tee},n.prototype.buildPath=function(e,s){for(var f=s.points,p=0;p<f.length;)if(this.__sign===f[p++]){var h=f[p++];e.moveTo(h,f[p++]),e.lineTo(h,f[p++])}else p+=3},n}(Ti);function s9(a,n,e,s){var f=a.getData(),p=f.getLayout("largePoints"),h=new VN({shape:{points:p},__sign:1,ignoreCoarsePointer:!0});n.add(h);var _=new VN({shape:{points:p},__sign:-1,ignoreCoarsePointer:!0});n.add(_);var M=new VN({shape:{points:p},__sign:0,ignoreCoarsePointer:!0});n.add(M),zN(1,h,a,f),zN(-1,_,a,f),zN(0,M,a,f),s&&(h.incremental=!0,_.incremental=!0),e&&e.push(h,_)}function zN(a,n,e,s){var f=e.get(["itemStyle",a>0?"borderColor":"borderColor0"])||e.get(["itemStyle",a>0?"color":"color0"]);a===0&&(f=e.get(["itemStyle","borderColorDoji"]));var p=e.getModel("itemStyle").getItemStyle(Qq);n.useStyle(p),n.style.fill=null,n.style.stroke=f}var nee=qq,c9=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return n.prototype.getShadowDim=function(){return"open"},n.prototype.brushSelector=function(e,s,f){var p=s.getItemLayout(e);return p&&f.rect(p.brushRect)},n.type="series.candlestick",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},n}(mp);Object(H.K)(c9,oj,!0);var ree=c9;function aee(a){!a||!H.t(a.series)||H.k(a.series,function(n){H.A(n)&&n.type==="k"&&(n.type="candlestick")})}var K1=["itemStyle","borderColor"],l9=["itemStyle","borderColor0"],u9=["itemStyle","borderColorDoji"],d9=["itemStyle","color"],iee=["itemStyle","color0"],HC={seriesType:"candlestick",plan:XO(),performRawSeries:!0,reset:function(a,n){function e(p,h){return h.get(p>0?d9:iee)}function s(p,h){return h.get(p===0?u9:p>0?K1:l9)}if(!n.isSeriesFiltered(a)){var f=a.pipelineContext.large;return!f&&{progress:function(p,h){for(var _;(_=p.next())!=null;){var M=h.getItemModel(_),L=h.getItemLayout(_).sign,z=M.getItemStyle();z.fill=e(L,M),z.stroke=s(L,M)||z.fill;var Y=h.ensureUniqueItemVisual(_,"style");Object(H.m)(Y,z)}}}}}},Jg=HC,Cv={seriesType:"candlestick",plan:XO(),reset:function(a){var n=a.coordinateSystem,e=a.getData(),s=oee(a,e),f=0,p=1,h=["x","y"],_=e.getDimensionIndex(e.mapDimension(h[f])),M=Object(H.H)(e.mapDimensionsAll(h[p]),e.getDimensionIndex,e),L=M[0],z=M[1],Y=M[2],q=M[3];if(e.setLayout({candleWidth:s,isSimpleBox:s<=1.3}),_<0||M.length<4)return;return{progress:a.pipelineContext.large?ye:se};function se(je,De){for(var We,st=De.getStore();(We=je.next())!=null;){var dt=st.get(_,We),Mt=st.get(L,We),nn=st.get(z,We),rn=st.get(Y,We),Cn=st.get(q,We),er=Math.min(Mt,nn),ir=Math.max(Mt,nn),dr=Go(er,dt),pr=Go(ir,dt),ia=Go(rn,dt),pa=Go(Cn,dt),Ga=[];Lo(Ga,pr,0),Lo(Ga,dr,1),Ga.push(Ns(pa),Ns(pr),Ns(ia),Ns(dr));var si=De.getItemModel(We),Bi=!!si.get(["itemStyle","borderColorDoji"]);De.setItemLayout(We,{sign:HN(st,We,Mt,nn,z,Bi),initBaseline:Mt>nn?pr[p]:dr[p],ends:Ga,brushRect:Rs(rn,Cn,dt)})}function Go(Ds,yc){var Zc=[];return Zc[f]=yc,Zc[p]=Ds,isNaN(yc)||isNaN(Ds)?[NaN,NaN]:n.dataToPoint(Zc)}function Lo(Ds,yc,Zc){var $c=yc.slice(),Nu=yc.slice();$c[f]=ag($c[f]+s/2,1,!1),Nu[f]=ag(Nu[f]-s/2,1,!0),Zc?Ds.push($c,Nu):Ds.push(Nu,$c)}function Rs(Ds,yc,Zc){var $c=Go(Ds,Zc),Nu=Go(yc,Zc);return $c[f]-=s/2,Nu[f]-=s/2,{x:$c[0],y:$c[1],width:p?s:Nu[0]-$c[0],height:p?Nu[1]-$c[1]:s}}function Ns(Ds){return Ds[f]=ag(Ds[f],1),Ds}}function ye(je,De){for(var We=U_(je.count*4),st=0,dt,Mt=[],nn=[],rn,Cn=De.getStore(),er=!!a.get(["itemStyle","borderColorDoji"]);(rn=je.next())!=null;){var ir=Cn.get(_,rn),dr=Cn.get(L,rn),pr=Cn.get(z,rn),ia=Cn.get(Y,rn),pa=Cn.get(q,rn);if(isNaN(ir)||isNaN(ia)||isNaN(pa)){We[st++]=NaN,st+=3;continue}We[st++]=HN(Cn,rn,dr,pr,z,er),Mt[f]=ir,Mt[p]=ia,dt=n.dataToPoint(Mt,null,nn),We[st++]=dt?dt[0]:NaN,We[st++]=dt?dt[1]:NaN,Mt[p]=pa,dt=n.dataToPoint(Mt,null,nn),We[st++]=dt?dt[1]:NaN}De.setLayout("largePoints",We)}}};function HN(a,n,e,s,f,p){var h;return e>s?h=-1:e<s?h=1:h=p?0:n>0?a.get(f,n-1)<=s?1:-1:1,h}function oee(a,n){var e=a.getBaseAxis(),s,f=e.type==="category"?e.getBandWidth():(s=e.getExtent(),Math.abs(s[1]-s[0])/n.count()),p=Mi(Object(H.P)(a.get("barMaxWidth"),f),f),h=Mi(Object(H.P)(a.get("barMinWidth"),1),f),_=a.get("barWidth");return _!=null?Mi(_,f):Math.max(Math.min(f/2,p),h)}var f9=Cv;function see(a){a.registerChartView(nee),a.registerSeriesModel(ree),a.registerPreprocessor(aee),a.registerVisual(Jg),a.registerLayout(f9)}function p9(a,n){var e=n.rippleEffectColor||n.color;a.eachChild(function(s){s.attr({z:n.z,zlevel:n.zlevel,style:{stroke:n.brushType==="stroke"?e:null,fill:n.brushType==="fill"?e:null}})})}var cee=function(a){Qe(n,a);function n(e,s){var f=a.call(this)||this,p=new gS(e,s),h=new _s;return f.add(p),f.add(h),f.updateData(e,s),f}return n.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.prototype.startEffectAnimation=function(e){for(var s=e.symbolType,f=e.color,p=e.rippleNumber,h=this.childAt(1),_=0;_<p;_++){var M=Rv(s,-1,-1,2,2,f);M.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var L=-_/p*e.period+e.effectOffset;M.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(L).start(),M.animateStyle(!0).when(e.period,{opacity:0}).delay(L).start(),h.add(M)}p9(h,e)},n.prototype.updateEffectAnimation=function(e){for(var s=this._effectCfg,f=this.childAt(1),p=["symbolType","period","rippleScale","rippleNumber"],h=0;h<p.length;h++){var _=p[h];if(s[_]!==e[_]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}p9(f,e)},n.prototype.highlight=function(){C_(this)},n.prototype.downplay=function(){wh(this)},n.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},n.prototype.updateData=function(e,s){var f=this,p=e.hostModel;this.childAt(0).updateData(e,s);var h=this.childAt(1),_=e.getItemModel(s),M=e.getItemVisual(s,"symbol"),L=qx(e.getItemVisual(s,"symbolSize")),z=e.getItemVisual(s,"style"),Y=z&&z.fill,q=_.getModel("emphasis");h.setScale(L),h.traverse(function(De){De.setStyle("fill",Y)});var se=oC(e.getItemVisual(s,"symbolOffset"),L);se&&(h.x=se[0],h.y=se[1]);var ye=e.getItemVisual(s,"symbolRotate");h.rotation=(ye||0)*Math.PI/180||0;var je={};je.showEffectOn=p.get("showEffectOn"),je.rippleScale=_.get(["rippleEffect","scale"]),je.brushType=_.get(["rippleEffect","brushType"]),je.period=_.get(["rippleEffect","period"])*1e3,je.effectOffset=s/e.count(),je.z=p.getShallow("z")||0,je.zlevel=p.getShallow("zlevel")||0,je.symbolType=M,je.color=Y,je.rippleEffectColor=_.get(["rippleEffect","color"]),je.rippleNumber=_.get(["rippleEffect","number"]),je.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(je):this.startEffectAnimation(je),this._effectCfg=je):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(De){De==="emphasis"?je.showEffectOn!=="render"&&f.startEffectAnimation(je):De==="normal"&&je.showEffectOn!=="render"&&f.stopEffectAnimation()}),this._effectCfg=je,Wp(this,q.get("focus"),q.get("blurScope"),q.get("disabled"))},n.prototype.fadeOut=function(e){e&&e()},n}(_s),ub=cee,G_=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(){this._symbolDraw=new mS(ub)},n.prototype.render=function(e,s,f){var p=e.getData(),h=this._symbolDraw;h.updateData(p,{clipShape:this._getClipShape(e)}),this.group.add(h.group)},n.prototype._getClipShape=function(e){var s=e.coordinateSystem,f=s&&s.getArea&&s.getArea();return e.get("clip",!0)?f:null},n.prototype.updateTransform=function(e,s,f){var p=e.getData();this.group.dirty();var h=_S("").reset(e,s,f);h.progress&&h.progress({start:0,end:p.count(),count:p.count()},p),this._symbolDraw.updateLayout()},n.prototype._updateGroupTransform=function(e){var s=e.coordinateSystem;s&&s.getRoamTransform&&(this.group.transform=Ya(s.getRoamTransform()),this.group.decomposeTransform())},n.prototype.remove=function(e,s){this._symbolDraw&&this._symbolDraw.remove(!0)},n.type="effectScatter",n}(np),GN=G_,$N=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return n.prototype.getInitialData=function(e,s){return I0(null,this,{useEncodeDefaulter:!0})},n.prototype.brushSelector=function(e,s,f){return f.point(s.getItemLayout(e))},n.type="series.effectScatter",n.dependencies=["grid","polar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},n}(mp),lee=$N;function uee(a){a.registerChartView(GN),a.registerSeriesModel(lee),a.registerLayout(_S("effectScatter"))}var dee=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this)||this;return p.add(p.createLine(e,s,f)),p._updateEffectSymbol(e,s),p}return n.prototype.createLine=function(e,s,f){return new KS(e,s,f)},n.prototype._updateEffectSymbol=function(e,s){var f=e.getItemModel(s),p=f.getModel("effect"),h=p.get("symbolSize"),_=p.get("symbol");H.t(h)||(h=[h,h]);var M=e.getItemVisual(s,"style"),L=p.get("color")||M&&M.stroke,z=this.childAt(1);this._symbolType!==_&&(this.remove(z),z=Rv(_,-.5,-.5,1,1,L),z.z2=100,z.culling=!0,this.add(z)),!!z&&(z.setStyle("shadowColor",L),z.setStyle(p.getItemStyle(["color"])),z.scaleX=h[0],z.scaleY=h[1],z.setColor(L),this._symbolType=_,this._symbolScale=h,this._updateEffectAnimation(e,p,s))},n.prototype._updateEffectAnimation=function(e,s,f){var p=this.childAt(1);if(!!p){var h=e.getItemLayout(f),_=s.get("period")*1e3,M=s.get("loop"),L=s.get("roundTrip"),z=s.get("constantSpeed"),Y=H.O(s.get("delay"),function(se){return se/e.count()*_/3});if(p.ignore=!0,this._updateAnimationPoints(p,h),z>0&&(_=this._getLineLength(p)/z*1e3),_!==this._period||M!==this._loop||L!==this._roundTrip){p.stopAnimation();var q=void 0;H.w(Y)?q=Y(f):q=Y,p.__t>0&&(q=-_*p.__t),this._animateSymbol(p,_,q,M,L)}this._period=_,this._loop=M,this._roundTrip=L}},n.prototype._animateSymbol=function(e,s,f,p,h){if(s>0){e.__t=0;var _=this,M=e.animate("",p).when(h?s*2:s,{__t:h?2:1}).delay(f).during(function(){_._updateSymbolPosition(e)});p||M.done(function(){_.remove(e)}),M.start()}},n.prototype._getLineLength=function(e){return ao(e.__p1,e.__cp1)+ao(e.__cp1,e.__p2)},n.prototype._updateAnimationPoints=function(e,s){e.__p1=s[0],e.__p2=s[1],e.__cp1=s[2]||[(s[0][0]+s[1][0])/2,(s[0][1]+s[1][1])/2]},n.prototype.updateData=function(e,s,f){this.childAt(0).updateData(e,s,f),this._updateEffectSymbol(e,s)},n.prototype._updateSymbolPosition=function(e){var s=e.__p1,f=e.__p2,p=e.__cp1,h=e.__t<1?e.__t:2-e.__t,_=[e.x,e.y],M=_.slice(),L=Dl,z=Vl;_[0]=L(s[0],p[0],f[0],h),_[1]=L(s[1],p[1],f[1],h);var Y=e.__t<1?z(s[0],p[0],f[0],h):z(f[0],p[0],s[0],1-h),q=e.__t<1?z(s[1],p[1],f[1],h):z(f[1],p[1],s[1],1-h);e.rotation=-Math.atan2(q,Y)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(e.__lastT!==void 0&&e.__lastT<e.__t?(e.scaleY=ao(M,_)*1.05,h===1&&(_[0]=M[0]+(_[0]-M[0])/2,_[1]=M[1]+(_[1]-M[1])/2)):e.__lastT===1?e.scaleY=2*ao(s,_):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=_[0],e.y=_[1]},n.prototype.updateLayout=function(e,s){this.childAt(0).updateLayout(e,s);var f=e.getItemModel(s).getModel("effect");this._updateEffectAnimation(e,f,s)},n}(_s),WN=dee,fee=function(a){Qe(n,a);function n(e,s,f){var p=a.call(this)||this;return p._createPolyline(e,s,f),p}return n.prototype._createPolyline=function(e,s,f){var p=e.getItemLayout(s),h=new Cg({shape:{points:p}});this.add(h),this._updateCommonStl(e,s,f)},n.prototype.updateData=function(e,s,f){var p=e.hostModel,h=this.childAt(0),_={shape:{points:e.getItemLayout(s)}};pf(h,_,p,s),this._updateCommonStl(e,s,f)},n.prototype._updateCommonStl=function(e,s,f){var p=this.childAt(0),h=e.getItemModel(s),_=f&&f.emphasisLineStyle,M=f&&f.focus,L=f&&f.blurScope,z=f&&f.emphasisDisabled;if(!f||e.hasItemOption){var Y=h.getModel("emphasis");_=Y.getModel("lineStyle").getLineStyle(),z=Y.get("disabled"),M=Y.get("focus"),L=Y.get("blurScope")}p.useStyle(e.getItemVisual(s,"style")),p.style.fill=null,p.style.strokeNoScale=!0;var q=p.ensureState("emphasis");q.style=_,Wp(this,M,L,z)},n.prototype.updateLayout=function(e,s){var f=this.childAt(0);f.setShape("points",e.getItemLayout(s))},n}(_s),v9=fee,pee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return n.prototype.createLine=function(e,s,f){return new v9(e,s,f)},n.prototype._updateAnimationPoints=function(e,s){this._points=s;for(var f=[0],p=0,h=1;h<s.length;h++){var _=s[h-1],M=s[h];p+=ao(_,M),f.push(p)}if(p===0){this._length=0;return}for(var h=0;h<f.length;h++)f[h]/=p;this._offsets=f,this._length=p},n.prototype._getLineLength=function(){return this._length},n.prototype._updateSymbolPosition=function(e){var s=e.__t<1?e.__t:2-e.__t,f=this._points,p=this._offsets,h=f.length;if(!!p){var _=this._lastFrame,M;if(s<this._lastFramePercent){var L=Math.min(_+1,h-1);for(M=L;M>=0&&!(p[M]<=s);M--);M=Math.min(M,h-2)}else{for(M=_;M<h&&!(p[M]>s);M++);M=Math.min(M-1,h-2)}var z=(s-p[M])/(p[M+1]-p[M]),Y=f[M],q=f[M+1];e.x=Y[0]*(1-z)+z*q[0],e.y=Y[1]*(1-z)+z*q[1];var se=e.__t<1?q[0]-Y[0]:Y[0]-q[0],ye=e.__t<1?q[1]-Y[1]:Y[1]-q[1];e.rotation=-Math.atan2(ye,se)-Math.PI/2,this._lastFrame=M,this._lastFramePercent=s,e.ignore=!1}},n}(WN),vee=pee,hee=function(){function a(){this.polyline=!1,this.curveness=0,this.segs=[]}return a}(),gee=function(a){Qe(n,a);function n(e){var s=a.call(this,e)||this;return s._off=0,s.hoverDataIdx=-1,s}return n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new hee},n.prototype.buildPath=function(e,s){var f=s.segs,p=s.curveness,h;if(s.polyline)for(h=this._off;h<f.length;){var _=f[h++];if(_>0){e.moveTo(f[h++],f[h++]);for(var M=1;M<_;M++)e.lineTo(f[h++],f[h++])}}else for(h=this._off;h<f.length;){var L=f[h++],z=f[h++],Y=f[h++],q=f[h++];if(e.moveTo(L,z),p>0){var se=(L+Y)/2-(z-q)*p,ye=(z+q)/2-(Y-L)*p;e.quadraticCurveTo(se,ye,Y,q)}else e.lineTo(Y,q)}this.incremental&&(this._off=h,this.notClear=!0)},n.prototype.findDataIndex=function(e,s){var f=this.shape,p=f.segs,h=f.curveness,_=this.style.lineWidth;if(f.polyline)for(var M=0,L=0;L<p.length;){var z=p[L++];if(z>0)for(var Y=p[L++],q=p[L++],se=1;se<z;se++){var ye=p[L++],je=p[L++];if(iu(Y,q,ye,je,_,e,s))return M}M++}else for(var M=0,L=0;L<p.length;){var Y=p[L++],q=p[L++],ye=p[L++],je=p[L++];if(h>0){var De=(Y+ye)/2-(q-je)*h,We=(q+je)/2-(ye-Y)*h;if(md(Y,q,De,We,ye,je,_,e,s))return M}else if(iu(Y,q,ye,je,_,e,s))return M;M++}return-1},n.prototype.contain=function(e,s){var f=this.transformCoordToLocal(e,s),p=this.getBoundingRect();if(e=f[0],s=f[1],p.contain(e,s)){var h=this.hoverDataIdx=this.findDataIndex(e,s);return h>=0}return this.hoverDataIdx=-1,!1},n.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var s=this.shape,f=s.segs,p=Infinity,h=Infinity,_=-Infinity,M=-Infinity,L=0;L<f.length;){var z=f[L++],Y=f[L++];p=Math.min(z,p),_=Math.max(z,_),h=Math.min(Y,h),M=Math.max(Y,M)}e=this._rect=new fo(p,h,_,M)}return e},n}(Ti),r2=function(){function a(){this.group=new _s}return a.prototype.updateData=function(n){this._clear();var e=this._create();e.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(e,n)},a.prototype.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clear()},a.prototype.incrementalUpdate=function(n,e){var s=this._newAdded[0],f=e.getLayout("linesPoints"),p=s&&s.shape.segs;if(p&&p.length<2e4){var h=p.length,_=new Float32Array(h+f.length);_.set(p),_.set(f,h),s.setShape({segs:_})}else{this._newAdded=[];var M=this._create();M.incremental=!0,M.setShape({segs:f}),this._setCommon(M,e),M.__startIndex=n.start}},a.prototype.remove=function(){this._clear()},a.prototype.eachRendered=function(n){this._newAdded[0]&&n(this._newAdded[0])},a.prototype._create=function(){var n=new gee({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(n),this.group.add(n),n},a.prototype._setCommon=function(n,e,s){var f=e.hostModel;n.setShape({polyline:f.get("polyline"),curveness:f.get(["lineStyle","curveness"])}),n.useStyle(f.getModel("lineStyle").getLineStyle()),n.style.strokeNoScale=!0;var p=e.getVisual("style");p&&p.stroke&&n.setStyle("stroke",p.stroke),n.setStyle("fill",null);var h=sc(n);h.seriesIndex=f.seriesIndex,n.on("mousemove",function(_){h.dataIndex=null;var M=n.hoverDataIdx;M>0&&(h.dataIndex=M+n.__startIndex)})},a.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},a}(),db=r2,mee={seriesType:"lines",plan:XO(),reset:function(a){var n=a.coordinateSystem;if(!!n){var e=a.get("polyline"),s=a.pipelineContext.large;return{progress:function(f,p){var h=[];if(s){var _=void 0,M=f.end-f.start;if(e){for(var L=0,z=f.start;z<f.end;z++)L+=a.getLineCoordsCount(z);_=new Float32Array(M+L*2)}else _=new Float32Array(M*4);for(var Y=0,q=[],z=f.start;z<f.end;z++){var se=a.getLineCoords(z,h);e&&(_[Y++]=se);for(var ye=0;ye<se;ye++)q=n.dataToPoint(h[ye],!1,q),_[Y++]=q[0],_[Y++]=q[1]}p.setLayout("linesPoints",_)}else for(var z=f.start;z<f.end;z++){var je=p.getItemModel(z),se=a.getLineCoords(z,h),De=[];if(e)for(var We=0;We<se;We++)De.push(n.dataToPoint(h[We]));else{De[0]=n.dataToPoint(h[0]),De[1]=n.dataToPoint(h[1]);var st=je.get(["lineStyle","curveness"]);+st&&(De[2]=[(De[0][0]+De[1][0])/2-(De[0][1]-De[1][1])*st,(De[0][1]+De[1][1])/2-(De[1][0]-De[0][0])*st])}p.setItemLayout(z,De)}}}}}},J0=mee,_ee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=e.getData(),h=this._updateLineDraw(p,e),_=e.get("zlevel"),M=e.get(["effect","trailLength"]),L=f.getZr(),z=L.painter.getType()==="svg";z||L.painter.getLayer(_).clear(!0),this._lastZlevel!=null&&!z&&L.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&M>0&&(z||L.configLayer(_,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(M/10+.9,1),0)})),h.updateData(p);var Y=e.get("clip",!0)&&LA(e.coordinateSystem,!1,e);Y?this.group.setClipPath(Y):this.group.removeClipPath(),this._lastZlevel=_,this._finished=!0},n.prototype.incrementalPrepareRender=function(e,s,f){var p=e.getData(),h=this._updateLineDraw(p,e);h.incrementalPrepareUpdate(p),this._clearLayer(f),this._finished=!1},n.prototype.incrementalRender=function(e,s,f){this._lineDraw.incrementalUpdate(e,s.getData()),this._finished=e.end===s.getData().count()},n.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},n.prototype.updateTransform=function(e,s,f){var p=e.getData(),h=e.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var _=J0.reset(e,s,f);_.progress&&_.progress({start:0,end:p.count(),count:p.count()},p),this._lineDraw.updateLayout(),this._clearLayer(f)},n.prototype._updateLineDraw=function(e,s){var f=this._lineDraw,p=this._showEffect(s),h=!!s.get("polyline"),_=s.pipelineContext,M=_.large;return(!f||p!==this._hasEffet||h!==this._isPolyline||M!==this._isLargeDraw)&&(f&&f.remove(),f=this._lineDraw=M?new db:new Uk(h?p?vee:v9:p?WN:KS),this._hasEffet=p,this._isPolyline=h,this._isLargeDraw=M),this.group.add(f.group),f},n.prototype._showEffect=function(e){return!!e.get(["effect","show"])},n.prototype._clearLayer=function(e){var s=e.getZr(),f=s.painter.getType()==="svg";!f&&this._lastZlevel!=null&&s.painter.getLayer(this._lastZlevel).clear(!0)},n.prototype.remove=function(e,s){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(s)},n.prototype.dispose=function(e,s){this.remove(e,s)},n.type="lines",n}(np),yee=_ee,bee=typeof Uint32Array=="undefined"?Array:Uint32Array,Oee=typeof Float64Array=="undefined"?Array:Float64Array;function h9(a){var n=a.data;n&&n[0]&&n[0][0]&&n[0][0].coord&&(a.data=Object(H.H)(n,function(e){var s=[e[0].coord,e[1].coord],f={coords:s};return e[0].name&&(f.fromName=e[0].name),e[1].name&&(f.toName=e[1].name),Object(H.J)([f,e[0],e[1]])}))}var Cee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return n.prototype.init=function(e){e.data=e.data||[],h9(e);var s=this._processFlatCoordsArray(e.data);this._flatCoords=s.flatCoords,this._flatCoordsOffset=s.flatCoordsOffset,s.flatCoords&&(e.data=new Float32Array(s.count)),a.prototype.init.apply(this,arguments)},n.prototype.mergeOption=function(e){if(h9(e),e.data){var s=this._processFlatCoordsArray(e.data);this._flatCoords=s.flatCoords,this._flatCoordsOffset=s.flatCoordsOffset,s.flatCoords&&(e.data=new Float32Array(s.count))}a.prototype.mergeOption.apply(this,arguments)},n.prototype.appendData=function(e){var s=this._processFlatCoordsArray(e.data);s.flatCoords&&(this._flatCoords?(this._flatCoords=Object(H.e)(this._flatCoords,s.flatCoords),this._flatCoordsOffset=Object(H.e)(this._flatCoordsOffset,s.flatCoordsOffset)):(this._flatCoords=s.flatCoords,this._flatCoordsOffset=s.flatCoordsOffset),e.data=new Float32Array(s.count)),this.getRawData().appendData(e.data)},n.prototype._getCoordsFromItemModel=function(e){var s=this.getData().getItemModel(e),f=s.option instanceof Array?s.option:s.getShallow("coords");return f},n.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[e*2+1]:this._getCoordsFromItemModel(e).length},n.prototype.getLineCoords=function(e,s){if(this._flatCoordsOffset){for(var f=this._flatCoordsOffset[e*2],p=this._flatCoordsOffset[e*2+1],h=0;h<p;h++)s[h]=s[h]||[],s[h][0]=this._flatCoords[f+h*2],s[h][1]=this._flatCoords[f+h*2+1];return p}else{for(var _=this._getCoordsFromItemModel(e),h=0;h<_.length;h++)s[h]=s[h]||[],s[h][0]=_[h][0],s[h][1]=_[h][1];return _.length}},n.prototype._processFlatCoordsArray=function(e){var s=0;if(this._flatCoords&&(s=this._flatCoords.length),Object(H.z)(e[0])){for(var f=e.length,p=new bee(f),h=new Oee(f),_=0,M=0,L=0,z=0;z<f;){L++;var Y=e[z++];p[M++]=_+s,p[M++]=Y;for(var q=0;q<Y;q++){var se=e[z++],ye=e[z++];h[_++]=se,h[_++]=ye,z>f}}return{flatCoordsOffset:new Uint32Array(p.buffer,0,M),flatCoords:h,count:L}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},n.prototype.getInitialData=function(e,s){if(!1)var f;var p=new cg(["value"],this);return p.hasItemOption=!1,p.initData(e.data,[],function(h,_,M,L){if(h instanceof Array)return NaN;p.hasItemOption=!0;var z=h.value;if(z!=null)return z instanceof Array?z[L]:z}),p},n.prototype.formatTooltip=function(e,s,f){var p=this.getData(),h=p.getItemModel(e),_=h.get("name");if(_)return _;var M=h.get("fromName"),L=h.get("toName"),z=[];return M!=null&&z.push(M),L!=null&&z.push(L),th("nameValue",{name:z.join(" > ")})},n.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},n.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?1e4:this.get("progressive"):e},n.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?2e4:this.get("progressiveThreshold"):e},n.prototype.getZLevelKey=function(){var e=this.getModel("effect"),s=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&s>0?s+"":""},n.type="series.lines",n.dependencies=["grid","polar","geo","calendar"],n.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},n}(mp),Eee=Cee;function cj(a){return a instanceof Array||(a=[a,a]),a}var xee={seriesType:"lines",reset:function(a){var n=cj(a.get("symbol")),e=cj(a.get("symbolSize")),s=a.getData();s.setVisual("fromSymbol",n&&n[0]),s.setVisual("toSymbol",n&&n[1]),s.setVisual("fromSymbolSize",e&&e[0]),s.setVisual("toSymbolSize",e&&e[1]);function f(p,h){var _=p.getItemModel(h),M=cj(_.getShallow("symbol",!0)),L=cj(_.getShallow("symbolSize",!0));M[0]&&p.setItemVisual(h,"fromSymbol",M[0]),M[1]&&p.setItemVisual(h,"toSymbol",M[1]),L[0]&&p.setItemVisual(h,"fromSymbolSize",L[0]),L[1]&&p.setItemVisual(h,"toSymbolSize",L[1])}return{dataEach:s.hasItemOption?f:null}}},g9=xee;function m9(a){a.registerChartView(yee),a.registerSeriesModel(Eee),a.registerLayout(J0),a.registerVisual(g9)}var _9=256,See=function(){function a(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var n=Cs.d.createCanvas();this.canvas=n}return a.prototype.update=function(n,e,s,f,p,h){var _=this._getBrush(),M=this._getGradient(p,"inRange"),L=this._getGradient(p,"outOfRange"),z=this.pointSize+this.blurSize,Y=this.canvas,q=Y.getContext("2d"),se=n.length;Y.width=e,Y.height=s;for(var ye=0;ye<se;++ye){var je=n[ye],De=je[0],We=je[1],st=je[2],dt=f(st);q.globalAlpha=dt,q.drawImage(_,De-z,We-z)}if(!Y.width||!Y.height)return Y;for(var Mt=q.getImageData(0,0,Y.width,Y.height),nn=Mt.data,rn=0,Cn=nn.length,er=this.minOpacity,ir=this.maxOpacity,dr=ir-er;rn<Cn;){var dt=nn[rn+3]/256,pr=Math.floor(dt*(_9-1))*4;if(dt>0){var ia=h(dt)?M:L;dt>0&&(dt=dt*dr+er),nn[rn++]=ia[pr],nn[rn++]=ia[pr+1],nn[rn++]=ia[pr+2],nn[rn++]=ia[pr+3]*dt*256}else rn+=4}return q.putImageData(Mt,0,0),Y},a.prototype._getBrush=function(){var n=this._brushCanvas||(this._brushCanvas=Cs.d.createCanvas()),e=this.pointSize+this.blurSize,s=e*2;n.width=s,n.height=s;var f=n.getContext("2d");return f.clearRect(0,0,s,s),f.shadowOffsetX=s,f.shadowBlur=this.blurSize,f.shadowColor="#000",f.beginPath(),f.arc(-e,e,this.pointSize,0,Math.PI*2,!0),f.closePath(),f.fill(),n},a.prototype._getGradient=function(n,e){for(var s=this._gradientPixels,f=s[e]||(s[e]=new Uint8ClampedArray(256*4)),p=[0,0,0,0],h=0,_=0;_<256;_++)n[e](_/255,!0,p),f[h++]=p[0],f[h++]=p[1],f[h++]=p[2],f[h++]=p[3];return f},a}(),wee=See;function y9(a,n,e){var s=a[1]-a[0];n=H.H(n,function(h){return{interval:[(h.interval[0]-a[0])/s,(h.interval[1]-a[0])/s]}});var f=n.length,p=0;return function(h){var _;for(_=p;_<f;_++){var M=n[_].interval;if(M[0]<=h&&h<=M[1]){p=_;break}}if(_===f)for(_=p-1;_>=0;_--){var M=n[_].interval;if(M[0]<=h&&h<=M[1]){p=_;break}}return _>=0&&_<f&&e[_]}}function Y1(a,n){var e=a[1]-a[0];return n=[(n[0]-a[0])/e,(n[1]-a[0])/e],function(s){return s>=n[0]&&s<=n[1]}}function Fp(a){var n=a.dimensions;return n[0]==="lng"&&n[1]==="lat"}var lj=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p;s.eachComponent("visualMap",function(_){_.eachTargetSeries(function(M){M===e&&(p=_)})}),this._progressiveEls=null,this.group.removeAll();var h=e.coordinateSystem;h.type==="cartesian2d"||h.type==="calendar"?this._renderOnCartesianAndCalendar(e,f,0,e.getData().count()):Fp(h)&&this._renderOnGeo(h,e,p,f)},n.prototype.incrementalPrepareRender=function(e,s,f){this.group.removeAll()},n.prototype.incrementalRender=function(e,s,f,p){var h=s.coordinateSystem;h&&(Fp(h)?this.render(s,f,p):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(s,p,e.start,e.end,!0)))},n.prototype.eachRendered=function(e){Fy(this._progressiveEls||this.group,e)},n.prototype._renderOnCartesianAndCalendar=function(e,s,f,p,h){var _=e.coordinateSystem,M=P1(_,"cartesian2d"),L,z,Y,q;if(M){var se=_.getAxis("x"),ye=_.getAxis("y");L=se.getBandWidth()+.5,z=ye.getBandWidth()+.5,Y=se.scale.getExtent(),q=ye.scale.getExtent()}for(var je=this.group,De=e.getData(),We=e.getModel(["emphasis","itemStyle"]).getItemStyle(),st=e.getModel(["blur","itemStyle"]).getItemStyle(),dt=e.getModel(["select","itemStyle"]).getItemStyle(),Mt=e.get(["itemStyle","borderRadius"]),nn=_f(e),rn=e.getModel("emphasis"),Cn=rn.get("focus"),er=rn.get("blurScope"),ir=rn.get("disabled"),dr=M?[De.mapDimension("x"),De.mapDimension("y"),De.mapDimension("value")]:[De.mapDimension("time"),De.mapDimension("value")],pr=f;pr<p;pr++){var ia=void 0,pa=De.getItemVisual(pr,"style");if(M){var Ga=De.get(dr[0],pr),si=De.get(dr[1],pr);if(isNaN(De.get(dr[2],pr))||isNaN(Ga)||isNaN(si)||Ga<Y[0]||Ga>Y[1]||si<q[0]||si>q[1])continue;var Bi=_.dataToPoint([Ga,si]);ia=new Ic({shape:{x:Bi[0]-L/2,y:Bi[1]-z/2,width:L,height:z},style:pa})}else{if(isNaN(De.get(dr[1],pr)))continue;ia=new Ic({z2:1,shape:_.dataToRect([De.get(dr[0],pr)]).contentShape,style:pa})}if(De.hasItemOption){var Go=De.getItemModel(pr),Lo=Go.getModel("emphasis");We=Lo.getModel("itemStyle").getItemStyle(),st=Go.getModel(["blur","itemStyle"]).getItemStyle(),dt=Go.getModel(["select","itemStyle"]).getItemStyle(),Mt=Go.get(["itemStyle","borderRadius"]),Cn=Lo.get("focus"),er=Lo.get("blurScope"),ir=Lo.get("disabled"),nn=_f(Go)}ia.shape.r=Mt;var Rs=e.getRawValue(pr),Ns="-";Rs&&Rs[2]!=null&&(Ns=Rs[2]+""),Wf(ia,nn,{labelFetcher:e,labelDataIndex:pr,defaultOpacity:pa.opacity,defaultText:Ns}),ia.ensureState("emphasis").style=We,ia.ensureState("blur").style=st,ia.ensureState("select").style=dt,Wp(ia,Cn,er,ir),ia.incremental=h,h&&(ia.states.emphasis.hoverLayer=!0),je.add(ia),De.setItemGraphicEl(pr,ia),this._progressiveEls&&this._progressiveEls.push(ia)}},n.prototype._renderOnGeo=function(e,s,f,p){var h=f.targetVisuals.inRange,_=f.targetVisuals.outOfRange,M=s.getData(),L=this._hmLayer||this._hmLayer||new wee;L.blurSize=s.get("blurSize"),L.pointSize=s.get("pointSize"),L.minOpacity=s.get("minOpacity"),L.maxOpacity=s.get("maxOpacity");var z=e.getViewRect().clone(),Y=e.getRoamTransform();z.applyTransform(Y);var q=Math.max(z.x,0),se=Math.max(z.y,0),ye=Math.min(z.width+z.x,p.getWidth()),je=Math.min(z.height+z.y,p.getHeight()),De=ye-q,We=je-se,st=[M.mapDimension("lng"),M.mapDimension("lat"),M.mapDimension("value")],dt=M.mapArray(st,function(Cn,er,ir){var dr=e.dataToPoint([Cn,er]);return dr[0]-=q,dr[1]-=se,dr.push(ir),dr}),Mt=f.getExtent(),nn=f.type==="visualMap.continuous"?Y1(Mt,f.option.range):y9(Mt,f.getPieceList(),f.option.selected);L.update(dt,De,We,h.color.getNormalizer(),{inRange:h.color.getColorMapper(),outOfRange:_.color.getColorMapper()},nn);var rn=new Gi({style:{width:De,height:We,x:q,y:se,image:L.canvas},silent:!0});this.group.add(rn)},n.type="heatmap",n}(np),Tee=lj,a2=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.getInitialData=function(e,s){return I0(null,this,{generateCoord:"value"})},n.prototype.preventIncremental=function(){var e=In.get(this.get("coordinateSystem"));if(e&&e.dimensions)return e.dimensions[0]==="lng"&&e.dimensions[1]==="lat"},n.type="series.heatmap",n.dependencies=["grid","geo","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},n}(mp),Km=a2;function Mse(a){a.registerChartView(Tee),a.registerSeriesModel(Km)}var b9=["itemStyle","borderWidth"],yh=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],uj=new Um,Aee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=this.group,h=e.getData(),_=this._data,M=e.coordinateSystem,L=M.getBaseAxis(),z=L.isHorizontal(),Y=M.master.getRect(),q={ecSize:{width:f.getWidth(),height:f.getHeight()},seriesModel:e,coordSys:M,coordSysExtent:[[Y.x,Y.x+Y.width],[Y.y,Y.y+Y.height]],isHorizontal:z,valueDim:yh[+z],categoryDim:yh[1-+z]};return h.diff(_).add(function(se){if(!!h.hasValue(se)){var ye=E9(h,se),je=i2(h,se,ye,q),De=x9(h,q,je);h.setItemGraphicEl(se,De),p.add(De),w9(De,q,je)}}).update(function(se,ye){var je=_.getItemGraphicEl(ye);if(!h.hasValue(se)){p.remove(je);return}var De=E9(h,se),We=i2(h,se,De,q),st=Cf(h,We);je&&st!==je.__pictorialShapeStr&&(p.remove(je),h.setItemGraphicEl(se,null),je=null),je?Z1(je,q,We):je=x9(h,q,We,!0),h.setItemGraphicEl(se,je),je.__pictorialSymbolMeta=We,p.add(je),w9(je,q,We)}).remove(function(se){var ye=_.getItemGraphicEl(se);ye&&S9(_,se,ye.__pictorialSymbolMeta.animationModel,ye)}).execute(),this._data=h,this.group},n.prototype.remove=function(e,s){var f=this.group,p=this._data;e.get("animation")?p&&p.eachItemGraphicEl(function(h){S9(p,sc(h).dataIndex,e,h)}):f.removeAll()},n.type="pictorialBar",n}(np);function i2(a,n,e,s){var f=a.getItemLayout(n),p=e.get("symbolRepeat"),h=e.get("symbolClip"),_=e.get("symbolPosition")||"start",M=e.get("symbolRotate"),L=(M||0)*Math.PI/180||0,z=e.get("symbolPatternSize")||2,Y=e.isAnimationEnabled(),q={dataIndex:n,layout:f,itemModel:e,symbolType:a.getItemVisual(n,"symbol")||"circle",style:a.getItemVisual(n,"style"),symbolClip:h,symbolRepeat:p,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:z,rotation:L,animationModel:Y?e:null,hoverScale:Y&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};KN(e,p,f,s,q),X1(a,n,f,p,h,q.boundingLength,q.pxSign,z,s,q),J1(e,q.symbolScale,L,s,q);var se=q.symbolSize,ye=oC(e.get("symbolOffset"),se);return O9(e,se,f,p,h,ye,_,q.valueLineWidth,q.boundingLength,q.repeatCutLength,s,q),q}function KN(a,n,e,s,f){var p=s.valueDim,h=a.get("symbolBoundingData"),_=s.coordSys.getOtherAxis(s.coordSys.getBaseAxis()),M=_.toGlobalCoord(_.dataToCoord(0)),L=1-+(e[p.wh]<=0),z;if(H.t(h)){var Y=[o2(_,h[0])-M,o2(_,h[1])-M];Y[1]<Y[0]&&Y.reverse(),z=Y[L]}else h!=null?z=o2(_,h)-M:n?z=s.coordSysExtent[p.index][L]-M:z=e[p.wh];f.boundingLength=z,n&&(f.repeatCutLength=e[p.wh]),f.pxSign=z>0?1:-1}function o2(a,n){return a.toGlobalCoord(a.dataToCoord(a.scale.parse(n)))}function X1(a,n,e,s,f,p,h,_,M,L){var z=M.valueDim,Y=M.categoryDim,q=Math.abs(e[Y.wh]),se=a.getItemVisual(n,"symbolSize"),ye;H.t(se)?ye=se.slice():se==null?ye=["100%","100%"]:ye=[se,se],ye[Y.index]=Mi(ye[Y.index],q),ye[z.index]=Mi(ye[z.index],s?q:Math.abs(p)),L.symbolSize=ye;var je=L.symbolScale=[ye[0]/_,ye[1]/_];je[z.index]*=(M.isHorizontal?-1:1)*h}function J1(a,n,e,s,f){var p=a.get(b9)||0;p&&(uj.attr({scaleX:n[0],scaleY:n[1],rotation:e}),uj.updateTransform(),p/=uj.getLineScale(),p*=n[s.valueDim.index]),f.valueLineWidth=p||0}function O9(a,n,e,s,f,p,h,_,M,L,z,Y){var q=z.categoryDim,se=z.valueDim,ye=Y.pxSign,je=Math.max(n[se.index]+_,0),De=je;if(s){var We=Math.abs(M),st=H.O(a.get("symbolMargin"),"15%")+"",dt=!1;st.lastIndexOf("!")===st.length-1&&(dt=!0,st=st.slice(0,st.length-1));var Mt=Mi(st,n[se.index]),nn=Math.max(je+Mt*2,0),rn=dt?0:Mt*2,Cn=Uc(s),er=Cn?s:ov((We+rn)/nn),ir=We-er*je;Mt=ir/2/(dt?er:Math.max(er-1,1)),nn=je+Mt*2,rn=dt?0:Mt*2,!Cn&&s!=="fixed"&&(er=L?ov((Math.abs(L)+rn)/nn):0),De=er*nn-rn,Y.repeatTimes=er,Y.symbolMargin=Mt}var dr=ye*(De/2),pr=Y.pathPosition=[];pr[q.index]=e[q.wh]/2,pr[se.index]=h==="start"?dr:h==="end"?M-dr:M/2,p&&(pr[0]+=p[0],pr[1]+=p[1]);var ia=Y.bundlePosition=[];ia[q.index]=e[q.xy],ia[se.index]=e[se.xy];var pa=Y.barRectShape=H.m({},e);pa[se.wh]=ye*Math.max(Math.abs(e[se.wh]),Math.abs(pr[se.index]+dr)),pa[q.wh]=e[q.wh];var Ga=Y.clipShape={};Ga[q.xy]=-e[q.xy],Ga[q.wh]=z.ecSize[q.wh],Ga[se.xy]=0,Ga[se.wh]=e[se.wh]}function Nf(a){var n=a.symbolPatternSize,e=Rv(a.symbolType,-n/2,-n/2,n,n);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function dj(a,n,e,s){var f=a.__pictorialBundle,p=e.symbolSize,h=e.valueLineWidth,_=e.pathPosition,M=n.valueDim,L=e.repeatTimes||0,z=0,Y=p[n.valueDim.index]+h+e.symbolMargin*2;for(GC(a,function(je){je.__pictorialAnimationIndex=z,je.__pictorialRepeatTimes=L,z<L?Q1(je,null,ye(z),e,s):Q1(je,null,{scaleX:0,scaleY:0},e,s,function(){f.remove(je)}),z++});z<L;z++){var q=Nf(e);q.__pictorialAnimationIndex=z,q.__pictorialRepeatTimes=L,f.add(q);var se=ye(z);Q1(q,{x:se.x,y:se.y,scaleX:0,scaleY:0},{scaleX:se.scaleX,scaleY:se.scaleY,rotation:se.rotation},e,s)}function ye(je){var De=_.slice(),We=e.pxSign,st=je;return(e.symbolRepeatDirection==="start"?We>0:We<0)&&(st=L-1-je),De[M.index]=Y*(st-L/2+.5)+_[M.index],{x:De[0],y:De[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function C9(a,n,e,s){var f=a.__pictorialBundle,p=a.__pictorialMainPath;p?Q1(p,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,s):(p=a.__pictorialMainPath=Nf(e),f.add(p),Q1(p,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,s))}function YN(a,n,e){var s=H.m({},n.barRectShape),f=a.__pictorialBarRect;f?Q1(f,null,{shape:s},n,e):(f=a.__pictorialBarRect=new Ic({z2:2,shape:s,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),f.disableMorphing=!0,a.add(f))}function XN(a,n,e,s){if(e.symbolClip){var f=a.__pictorialClipPath,p=H.m({},e.clipShape),h=n.valueDim,_=e.animationModel,M=e.dataIndex;if(f)pf(f,{shape:p},_,M);else{p[h.wh]=0,f=new Ic({shape:p}),a.__pictorialBundle.setClipPath(f),a.__pictorialClipPath=f;var L={};L[h.wh]=e.clipShape[h.wh],E[s?"updateProps":"initProps"](f,{shape:L},_,M)}}}function E9(a,n){var e=a.getItemModel(n);return e.getAnimationDelayParams=kee,e.isAnimationEnabled=jee,e}function kee(a){return{index:a.__pictorialAnimationIndex,count:a.__pictorialRepeatTimes}}function jee(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function x9(a,n,e,s){var f=new _s,p=new _s;return f.add(p),f.__pictorialBundle=p,p.x=e.bundlePosition[0],p.y=e.bundlePosition[1],e.symbolRepeat?dj(f,n,e):C9(f,n,e),YN(f,e,s),XN(f,n,e,s),f.__pictorialShapeStr=Cf(a,e),f.__pictorialSymbolMeta=e,f}function Z1(a,n,e){var s=e.animationModel,f=e.dataIndex,p=a.__pictorialBundle;pf(p,{x:e.bundlePosition[0],y:e.bundlePosition[1]},s,f),e.symbolRepeat?dj(a,n,e,!0):C9(a,n,e,!0),YN(a,e,!0),XN(a,n,e,!0)}function S9(a,n,e,s){var f=s.__pictorialBarRect;f&&f.removeTextContent();var p=[];GC(s,function(h){p.push(h)}),s.__pictorialMainPath&&p.push(s.__pictorialMainPath),s.__pictorialClipPath&&(e=null),H.k(p,function(h){x_(h,{scaleX:0,scaleY:0},e,n,function(){s.parent&&s.parent.remove(s)})}),a.setItemGraphicEl(n,null)}function Cf(a,n){return[a.getItemVisual(n.dataIndex,"symbol")||"none",!!n.symbolRepeat,!!n.symbolClip].join(":")}function GC(a,n,e){H.k(a.__pictorialBundle.children(),function(s){s!==a.__pictorialBarRect&&n.call(e,s)})}function Q1(a,n,e,s,f,p){n&&a.attr(n),s.symbolClip&&!f?e&&a.attr(e):e&&E[f?"updateProps":"initProps"](a,e,s.animationModel,s.dataIndex,p)}function w9(a,n,e){var s=e.dataIndex,f=e.itemModel,p=f.getModel("emphasis"),h=p.getModel("itemStyle").getItemStyle(),_=f.getModel(["blur","itemStyle"]).getItemStyle(),M=f.getModel(["select","itemStyle"]).getItemStyle(),L=f.getShallow("cursor"),z=p.get("focus"),Y=p.get("blurScope"),q=p.get("scale");GC(a,function(je){if(je instanceof Gi){var De=je.style;je.useStyle(H.m({image:De.image,x:De.x,y:De.y,width:De.width,height:De.height},e.style))}else je.useStyle(e.style);var We=je.ensureState("emphasis");We.style=h,q&&(We.scaleX=je.scaleX*1.1,We.scaleY=je.scaleY*1.1),je.ensureState("blur").style=_,je.ensureState("select").style=M,L&&(je.cursor=L),je.z2=e.z2});var se=n.valueDim.posDesc[+(e.boundingLength>0)],ye=a.__pictorialBarRect;Wf(ye,_f(f),{labelFetcher:n.seriesModel,labelDataIndex:s,defaultText:yC(n.seriesModel.getData(),s),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:se}),Wp(a,z,Y,p.get("disabled"))}function ov(a){var n=Math.round(a);return Math.abs(a-n)<1e-4?n:Math.ceil(a)}var bh=Aee,T9=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return n.prototype.getInitialData=function(e){return e.stack=null,a.prototype.getInitialData.apply(this,arguments)},n.type="series.pictorialBar",n.dependencies=["grid"],n.defaultOption=w_(UA.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),n}(UA),A9=T9;function fb(a){a.registerChartView(bh),a.registerSeriesModel(A9),a.registerLayout(a.PRIORITY.VISUAL.LAYOUT,Object(H.h)(P8,"pictorialBar")),a.registerLayout(a.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,YD("pictorialBar"))}var Mee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._layers=[],e}return n.prototype.render=function(e,s,f){var p=e.getData(),h=this,_=this.group,M=e.getLayerSeries(),L=p.getLayout("layoutInfo"),z=L.rect,Y=L.boundaryGap;_.x=0,_.y=z.y+Y[0];function q(De){return De.name}var se=new D0(this._layersSeries||[],M,q,q),ye=[];se.add(Object(H.c)(je,this,"add")).update(Object(H.c)(je,this,"update")).remove(Object(H.c)(je,this,"remove")).execute();function je(De,We,st){var dt=h._layers;if(De==="remove"){_.remove(dt[We]);return}for(var Mt=[],nn=[],rn,Cn=M[We].indices,er=0;er<Cn.length;er++){var ir=p.getItemLayout(Cn[er]),dr=ir.x,pr=ir.y0,ia=ir.y;Mt.push(dr,pr),nn.push(dr,pr+ia),rn=p.getItemVisual(Cn[er],"style")}var pa,Ga=p.getItemLayout(Cn[0]),si=e.getModel("label"),Bi=si.get("margin"),Go=e.getModel("emphasis");if(De==="add"){var Lo=ye[We]=new _s;pa=new _8({shape:{points:Mt,stackedOnPoints:nn,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),Lo.add(pa),_.add(Lo),e.isAnimationEnabled()&&pa.setClipPath(fj(pa.getBoundingRect(),e,function(){pa.removeClipPath()}))}else{var Lo=dt[st];pa=Lo.childAt(0),_.add(Lo),ye[We]=Lo,pf(pa,{shape:{points:Mt,stackedOnPoints:nn}},e),Ug(pa)}Wf(pa,_f(e),{labelDataIndex:Cn[er-1],defaultText:p.getName(Cn[er-1]),inheritColor:rn.fill},{normal:{verticalAlign:"middle"}}),pa.setTextConfig({position:null,local:!0});var Rs=pa.getTextContent();Rs&&(Rs.x=Ga.x-Bi,Rs.y=Ga.y0+Ga.y/2),pa.useStyle(rn),p.setItemGraphicEl(We,pa),Qv(pa,e),Wp(pa,Go.get("focus"),Go.get("blurScope"),Go.get("disabled"))}this._layersSeries=M,this._layers=ye},n.type="themeRiver",n}(np);function fj(a,n,e){var s=new Ic({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return dp(s,{shape:{x:a.x-50,width:a.width+100,height:a.height+20}},n,e),s}var s2=Mee,q1=2,pj=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e){a.prototype.init.apply(this,arguments),this.legendVisualProvider=new OS(H.c(this.getData,this),H.c(this.getRawData,this))},n.prototype.fixData=function(e){var s=e.length,f={},p=lp(e,function(q){return f.hasOwnProperty(q[0]+"")||(f[q[0]+""]=-1),q[2]}),h=[];p.buckets.each(function(q,se){h.push({name:se,dataList:q})});for(var _=h.length,M=0;M<_;++M){for(var L=h[M].name,z=0;z<h[M].dataList.length;++z){var Y=h[M].dataList[z][0]+"";f[Y]=M}for(var Y in f)f.hasOwnProperty(Y)&&f[Y]!==M&&(f[Y]=M,e[s]=[Y,0,L],s++)}return e},n.prototype.getInitialData=function(e,s){for(var f=this.getReferringComponents("singleAxis",Vu).models[0],p=f.get("type"),h=H.n(e.data,function(ye){return ye[2]!==void 0}),_=this.fixData(h||[]),M=[],L=this.nameMap=H.f(),z=0,Y=0;Y<_.length;++Y)M.push(_[Y][q1]),L.get(_[Y][q1])||(L.set(_[Y][q1],z),z++);var q=_C(_,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:DA(p)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,se=new cg(q,this);return se.initData(_),se},n.prototype.getLayerSeries=function(){for(var e=this.getData(),s=e.count(),f=[],p=0;p<s;++p)f[p]=p;var h=e.mapDimension("single"),_=lp(f,function(L){return e.get("name",L)}),M=[];return _.buckets.each(function(L,z){L.sort(function(Y,q){return e.get(h,Y)-e.get(h,q)}),M.push({name:z,indices:L})}),M},n.prototype.getAxisTooltipData=function(e,s,f){H.t(e)||(e=e?[e]:[]);for(var p=this.getData(),h=this.getLayerSeries(),_=[],M=h.length,L,z=0;z<M;++z){for(var Y=Number.MAX_VALUE,q=-1,se=h[z].indices.length,ye=0;ye<se;++ye){var je=p.get(e[0],h[z].indices[ye]),De=Math.abs(je-s);De<=Y&&(L=je,Y=De,q=h[z].indices[ye])}_.push(q)}return{dataIndices:_,nestestValue:L}},n.prototype.formatTooltip=function(e,s,f){var p=this.getData(),h=p.getName(e),_=p.get(p.mapDimension("value"),e);return th("nameValue",{name:h,value:_})},n.type="series.themeRiver",n.dependencies=["singleAxis"],n.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},n}(mp),Pee=pj;function Ree(a,n){a.eachSeriesByType("themeRiver",function(e){var s=e.getData(),f=e.coordinateSystem,p={},h=f.getRect();p.rect=h;var _=e.get("boundaryGap"),M=f.getAxis();if(p.boundaryGap=_,M.orient==="horizontal"){_[0]=Mi(_[0],h.height),_[1]=Mi(_[1],h.height);var L=h.height-_[0]-_[1];k9(s,e,L)}else{_[0]=Mi(_[0],h.width),_[1]=Mi(_[1],h.width);var z=h.width-_[0]-_[1];k9(s,e,z)}s.setLayout("layoutInfo",p)})}function k9(a,n,e){if(!!a.count())for(var s=n.coordinateSystem,f=n.getLayerSeries(),p=a.mapDimension("single"),h=a.mapDimension("value"),_=H.H(f,function(De){return H.H(De.indices,function(We){var st=s.dataToPoint(a.get(p,We));return st[1]=a.get(h,We),st})}),M=vj(_),L=M.y0,z=e/M.max,Y=f.length,q=f[0].indices.length,se,ye=0;ye<q;++ye){se=L[ye]*z,a.setItemLayout(f[0].indices[ye],{layerIndex:0,x:_[0][ye][0],y0:se,y:_[0][ye][1]*z});for(var je=1;je<Y;++je)se+=_[je-1][ye][1]*z,a.setItemLayout(f[je].indices[ye],{layerIndex:je,x:_[je][ye][0],y0:se,y:_[je][ye][1]*z})}}function vj(a){for(var n=a.length,e=a[0].length,s=[],f=[],p=0,h=0;h<e;++h){for(var _=0,M=0;M<n;++M)_+=a[M][h][1];_>p&&(p=_),s.push(_)}for(var L=0;L<e;++L)f[L]=(p-s[L])/2;p=0;for(var z=0;z<e;++z){var Y=s[z]+f[z];Y>p&&(p=Y)}return{y0:f,max:p}}function Dee(a){a.registerChartView(s2),a.registerSeriesModel(Pee),a.registerLayout(Ree),a.registerProcessor(bS("themeRiver"))}var Iee=2,$C=4,j9=function(a){Qe(n,a);function n(e,s,f,p){var h=a.call(this)||this;h.z2=Iee,h.textConfig={inside:!0},sc(h).seriesIndex=s.seriesIndex;var _=new Ho({z2:$C,silent:e.getModel().get(["label","silent"])});return h.setTextContent(_),h.updateData(!0,e,s,f,p),h}return n.prototype.updateData=function(e,s,f,p,h){this.node=s,s.piece=this,f=f||this._seriesModel,p=p||this._ecModel;var _=this;sc(_).dataIndex=s.dataIndex;var M=s.getModel(),L=M.getModel("emphasis"),z=s.getLayout(),Y=H.m({},z);Y.label=null;var q=s.getVisual("style");q.lineJoin="bevel";var se=s.getVisual("decal");se&&(q.decal=cC(se,h));var ye=D1(M.getModel("itemStyle"),Y,!0);H.m(Y,ye),H.k(ic,function(st){var dt=_.ensureState(st),Mt=M.getModel([st,"itemStyle"]);dt.style=Mt.getItemStyle();var nn=D1(Mt,Y);nn&&(dt.shape=nn)}),e?(_.setShape(Y),_.shape.r=z.r0,dp(_,{shape:{r:z.r}},f,s.dataIndex)):(pf(_,{shape:Y},f),Ug(_)),_.useStyle(q),this._updateLabel(f);var je=M.getShallow("cursor");je&&_.attr("cursor",je),this._seriesModel=f||this._seriesModel,this._ecModel=p||this._ecModel;var De=L.get("focus"),We=De==="ancestor"?s.getAncestorsIndices():De==="descendant"?s.getDescendantIndices():De;Wp(this,We,L.get("blurScope"),L.get("disabled"))},n.prototype._updateLabel=function(e){var s=this,f=this.node.getModel(),p=f.getModel("label"),h=this.node.getLayout(),_=h.endAngle-h.startAngle,M=(h.startAngle+h.endAngle)/2,L=Math.cos(M),z=Math.sin(M),Y=this,q=Y.getTextContent(),se=this.node.dataIndex,ye=p.get("minAngle")/180*Math.PI,je=p.get("show")&&!(ye!=null&&Math.abs(_)<ye);q.ignore=!je,H.k(jc,function(We){var st=We==="normal"?f.getModel("label"):f.getModel([We,"label"]),dt=We==="normal",Mt=dt?q:q.ensureState(We),nn=e.getFormattedLabel(se,We);dt&&(nn=nn||s.node.name),Mt.style=ep(st,{},null,We!=="normal",!0),nn&&(Mt.style.text=nn);var rn=st.get("show");rn!=null&&!dt&&(Mt.ignore=!rn);var Cn=De(st,"position"),er=dt?Y:Y.states[We],ir=er.style.fill;er.textConfig={outsideFill:st.get("color")==="inherit"?ir:null,inside:Cn!=="outside"};var dr,pr=De(st,"distance")||0,ia=De(st,"align");Cn==="outside"?(dr=h.r+pr,ia=M>Math.PI/2?"right":"left"):!ia||ia==="center"?(_===2*Math.PI&&h.r0===0?dr=0:dr=(h.r+h.r0)/2,ia="center"):ia==="left"?(dr=h.r0+pr,M>Math.PI/2&&(ia="right")):ia==="right"&&(dr=h.r-pr,M>Math.PI/2&&(ia="left")),Mt.style.align=ia,Mt.style.verticalAlign=De(st,"verticalAlign")||"middle",Mt.x=dr*L+h.cx,Mt.y=dr*z+h.cy;var pa=De(st,"rotate"),Ga=0;pa==="radial"?(Ga=Xl(-M),Ga>Math.PI/2&&Ga<Math.PI*1.5&&(Ga+=Math.PI)):pa==="tangential"?(Ga=Math.PI/2-M,Ga>Math.PI/2?Ga-=Math.PI:Ga<-Math.PI/2&&(Ga+=Math.PI)):H.z(pa)&&(Ga=pa*Math.PI/180),Mt.rotation=Ga});function De(We,st){var dt=We.get(st);return dt==null?p.get(st):dt}q.dirtyStyle()},n}(bv),pb=j9,Z0="sunburstRootToNode",M9="sunburstHighlight",Nee="sunburstUnhighlight";function Lee(a){a.registerAction({type:Z0,update:"updateView"},function(n,e){e.eachComponent({mainType:"series",subType:"sunburst",query:n},s);function s(f,p){var h=IS(n,[Z0],f);if(h){var _=f.getViewRoot();_&&(n.direction=GI(_,h.node)?"rollUp":"drillDown"),f.resetViewRoot(h.node)}}}),a.registerAction({type:M9,update:"none"},function(n,e,s){n=Object(H.m)({},n),e.eachComponent({mainType:"series",subType:"sunburst",query:n},f);function f(p){var h=IS(n,[M9],p);h&&(n.dataIndex=h.node.dataIndex)}s.dispatchAction(Object(H.m)(n,{type:"highlight"}))}),a.registerAction({type:Nee,update:"updateView"},function(n,e,s){n=Object(H.m)({},n),s.dispatchAction(Object(H.m)(n,{type:"downplay"}))})}var Fee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f,p){var h=this;this.seriesModel=e,this.api=f,this.ecModel=s;var _=e.getData(),M=_.tree.root,L=e.getViewRoot(),z=this.group,Y=e.get("renderLabelForZeroData"),q=[];L.eachNode(function(st){q.push(st)});var se=this._oldChildren||[];ye(q,se),We(M,L),this._initEvents(),this._oldChildren=q;function ye(st,dt){if(st.length===0&&dt.length===0)return;new D0(dt,st,Mt,Mt).add(nn).update(nn).remove(H.h(nn,null)).execute();function Mt(rn){return rn.getId()}function nn(rn,Cn){var er=rn==null?null:st[rn],ir=Cn==null?null:dt[Cn];je(er,ir)}}function je(st,dt){if(!Y&&st&&!st.getValue()&&(st=null),st!==M&&dt!==M){if(dt&&dt.piece)st?(dt.piece.updateData(!1,st,e,s,f),_.setItemGraphicEl(st.dataIndex,dt.piece)):De(dt);else if(st){var Mt=new pb(st,e,s,f);z.add(Mt),_.setItemGraphicEl(st.dataIndex,Mt)}}}function De(st){!st||st.piece&&(z.remove(st.piece),st.piece=null)}function We(st,dt){dt.depth>0?(h.virtualPiece?h.virtualPiece.updateData(!1,st,e,s,f):(h.virtualPiece=new pb(st,e,s,f),z.add(h.virtualPiece)),dt.piece.off("click"),h.virtualPiece.on("click",function(Mt){h._rootToNode(dt.parentNode)})):h.virtualPiece&&(z.remove(h.virtualPiece),h.virtualPiece=null)}},n.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(s){var f=!1,p=e.seriesModel.getViewRoot();p.eachNode(function(h){if(!f&&h.piece&&h.piece===s.target){var _=h.getModel().get("nodeClick");if(_==="rootToNode")e._rootToNode(h);else if(_==="link"){var M=h.getModel(),L=M.get("link");if(L){var z=M.get("target",!0)||"_blank";yx(L,z)}}f=!0}})})},n.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Z0,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},n.prototype.containPoint=function(e,s){var f=s.getData(),p=f.getItemLayout(0);if(p){var h=e[0]-p.cx,_=e[1]-p.cy,M=Math.sqrt(h*h+_*_);return M<=p.r&&M>=p.r0}},n.type="sunburst",n}(np),Uee=Fee,Bee=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.ignoreStyleOnData=!0,e}return n.prototype.getInitialData=function(e,s){var f={name:e.name,children:e.data};P9(f);var p=this._levelModels=H.H(e.levels||[],function(M){return new tp(M,this,s)},this),h=_k.createTree(f,this,_);function _(M){M.wrapMethod("getItemModel",function(L,z){var Y=h.getNodeByDataIndex(z),q=p[Y.depth];return q&&(L.parentModel=q),L})}return h.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.getDataParams=function(e){var s=a.prototype.getDataParams.apply(this,arguments),f=this.getData().tree.getNodeByDataIndex(e);return s.treePathInfo=LS(f,this),s},n.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var s=this.getRawData().tree.root;(!e||e!==s&&!s.contains(e))&&(this._viewRoot=s)},n.prototype.enableAriaDecal=function(){WI(this)},n.type="series.sunburst",n.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},n}(mp);function P9(a){var n=0;H.k(a.children,function(s){P9(s);var f=s.value;H.t(f)&&(f=f[0]),n+=f});var e=a.value;H.t(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=n),e<0&&(e=0),H.t(a.value)?a.value[0]=e:a.value=e}var Vee=Bee,R9=Math.PI/180;function Q0(a,n,e){n.eachSeriesByType(a,function(s){var f=s.get("center"),p=s.get("radius");H.t(p)||(p=[0,p]),H.t(f)||(f=[f,f]);var h=e.getWidth(),_=e.getHeight(),M=Math.min(h,_),L=Mi(f[0],h),z=Mi(f[1],_),Y=Mi(p[0],M/2),q=Mi(p[1],M/2),se=-s.get("startAngle")*R9,ye=s.get("minAngle")*R9,je=s.getData().tree.root,De=s.getViewRoot(),We=De.depth,st=s.get("sort");st!=null&&c2(De,st);var dt=0;H.k(De.children,function(Bi){!isNaN(Bi.getValue())&&dt++});var Mt=De.getValue(),nn=Math.PI/(Mt||dt)*2,rn=De.depth>0,Cn=De.height-(rn?-1:1),er=(q-Y)/(Cn||1),ir=s.get("clockwise"),dr=s.get("stillShowZeroSum"),pr=ir?1:-1,ia=function(Bi,Go){if(!!Bi){var Lo=Go;if(Bi!==je){var Rs=Bi.getValue(),Ns=Mt===0&&dr?nn:Rs*nn;Ns<ye&&(Ns=ye),Lo=Go+pr*Ns;var Ds=Bi.depth-We-(rn?-1:1),yc=Y+er*Ds,Zc=Y+er*(Ds+1),$c=s.getLevelModel(Bi);if($c){var Nu=$c.get("r0",!0),yd=$c.get("r",!0),Ku=$c.get("radius",!0);Ku!=null&&(Nu=Ku[0],yd=Ku[1]),Nu!=null&&(yc=Mi(Nu,M/2)),yd!=null&&(Zc=Mi(yd,M/2))}Bi.setLayout({angle:Ns,startAngle:Go,endAngle:Lo,clockwise:ir,cx:L,cy:z,r0:yc,r:Zc})}if(Bi.children&&Bi.children.length){var vl=0;H.k(Bi.children,function(Vc){vl+=ia(Vc,Go+vl)})}return Lo-Go}};if(rn){var pa=Y,Ga=Y+er,si=Math.PI*2;je.setLayout({angle:si,startAngle:se,endAngle:se+si,clockwise:ir,cx:L,cy:z,r0:pa,r:Ga})}ia(De,se)})}function c2(a,n){var e=a.children||[];a.children=D9(e,n),e.length&&H.k(a.children,function(s){c2(s,n)})}function D9(a,n){if(H.w(n)){var e=H.H(a,function(f,p){var h=f.getValue();return{params:{depth:f.depth,height:f.height,dataIndex:f.dataIndex,getValue:function(){return h}},index:p}});return e.sort(function(f,p){return n(f.params,p.params)}),H.H(e,function(f){return a[f.index]})}else{var s=n==="asc";return a.sort(function(f,p){var h=(f.getValue()-p.getValue())*(s?1:-1);return h===0?(f.dataIndex-p.dataIndex)*(s?-1:1):h})}}function zee(a){var n={};function e(s,f,p){for(var h=s;h&&h.depth>1;)h=h.parentNode;var _=f.getColorFromPalette(h.name||h.dataIndex+"",n);return s.depth>1&&Object(H.C)(_)&&(_=Object(ml.c)(_,(s.depth-1)/(p-1)*.5)),_}a.eachSeriesByType("sunburst",function(s){var f=s.getData(),p=f.tree;p.eachNode(function(h){var _=h.getModel(),M=_.getModel("itemStyle").getItemStyle();M.fill||(M.fill=e(h,s,p.root.height));var L=f.ensureUniqueItemVisual(h.dataIndex,"style");Object(H.m)(L,M)})})}function Hee(a){a.registerChartView(Uee),a.registerSeriesModel(Vee),a.registerLayout(Object(H.h)(Q0,"sunburst")),a.registerProcessor(Object(H.h)(bS,"sunburst")),a.registerVisual(zee),Lee(a)}var I9={color:"fill",borderColor:"stroke"},Gee={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},q0=ol(),eO=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},n.prototype.getInitialData=function(e,s){return I0(null,this)},n.prototype.getDataParams=function(e,s,f){var p=a.prototype.getDataParams.call(this,e,s);return f&&(p.info=q0(f).info),p},n.type="series.custom",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},n}(mp),$ee=eO;function Wee(a,n){return n=n||[0,0],H.H(["x","y"],function(e,s){var f=this.getAxis(e),p=n[s],h=a[s]/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(p-h)-f.dataToCoord(p+h))},this)}function N9(a){var n=a.master.getRect();return{coordSys:{type:"cartesian2d",x:n.x,y:n.y,width:n.width,height:n.height},api:{coord:function(e){return a.dataToPoint(e)},size:H.c(Wee,a)}}}function Kee(a,n){return n=n||[0,0],H.H([0,1],function(e){var s=n[e],f=a[e]/2,p=[],h=[];return p[e]=s-f,h[e]=s+f,p[1-e]=h[1-e]=n[1-e],Math.abs(this.dataToPoint(p)[e]-this.dataToPoint(h)[e])},this)}function Yee(a){var n=a.getBoundingRect();return{coordSys:{type:"geo",x:n.x,y:n.y,width:n.width,height:n.height,zoom:a.getZoom()},api:{coord:function(e){return a.dataToPoint(e)},size:H.c(Kee,a)}}}function Xee(a,n){var e=this.getAxis(),s=n instanceof Array?n[0]:n,f=(a instanceof Array?a[0]:a)/2;return e.type==="category"?e.getBandWidth():Math.abs(e.dataToCoord(s-f)-e.dataToCoord(s+f))}function tO(a){var n=a.getRect();return{coordSys:{type:"singleAxis",x:n.x,y:n.y,width:n.width,height:n.height},api:{coord:function(e){return a.dataToPoint(e)},size:Object(H.c)(Xee,a)}}}function hj(a,n){return n=n||[0,0],H.H(["Radius","Angle"],function(e,s){var f="get"+e+"Axis",p=this[f](),h=n[s],_=a[s]/2,M=p.type==="category"?p.getBandWidth():Math.abs(p.dataToCoord(h-_)-p.dataToCoord(h+_));return e==="Angle"&&(M=M*Math.PI/180),M},this)}function gj(a){var n=a.getRadiusAxis(),e=a.getAngleAxis(),s=n.getExtent();return s[0]>s[1]&&s.reverse(),{coordSys:{type:"polar",cx:a.cx,cy:a.cy,r:s[1],r0:s[0]},api:{coord:function(f){var p=n.dataToRadius(f[0]),h=e.dataToAngle(f[1]),_=a.coordToPoint([p,h]);return _.push(p,h*Math.PI/180),_},size:H.c(hj,a)}}}function Jee(a){var n=a.getRect(),e=a.getRangeInfo();return{coordSys:{type:"calendar",x:n.x,y:n.y,width:n.width,height:n.height,cellWidth:a.getCellWidth(),cellHeight:a.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(s,f){return a.dataToPoint(s,f)}}}}var Zee={};function L9(a,n,e,s){return a&&(a.legacy||a.legacy!==!1&&!e&&!s&&n!=="tspan"&&(n==="text"||Object(H.q)(a,"text")))}function F9(a,n,e){var s=a,f,p,h;if(n==="text")h=s;else{h={},Object(H.q)(s,"text")&&(h.text=s.text),Object(H.q)(s,"rich")&&(h.rich=s.rich),Object(H.q)(s,"textFill")&&(h.fill=s.textFill),Object(H.q)(s,"textStroke")&&(h.stroke=s.textStroke),Object(H.q)(s,"fontFamily")&&(h.fontFamily=s.fontFamily),Object(H.q)(s,"fontSize")&&(h.fontSize=s.fontSize),Object(H.q)(s,"fontStyle")&&(h.fontStyle=s.fontStyle),Object(H.q)(s,"fontWeight")&&(h.fontWeight=s.fontWeight),p={type:"text",style:h,silent:!0},f={};var _=Object(H.q)(s,"textPosition");e?f.position=_?s.textPosition:"inside":_&&(f.position=s.textPosition),Object(H.q)(s,"textPosition")&&(f.position=s.textPosition),Object(H.q)(s,"textOffset")&&(f.offset=s.textOffset),Object(H.q)(s,"textRotation")&&(f.rotation=s.textRotation),Object(H.q)(s,"textDistance")&&(f.distance=s.textDistance)}return U9(h,a),Object(H.k)(h.rich,function(M){U9(M,M)}),{textConfig:f,textContent:p}}function U9(a,n){!n||(n.font=n.textFont||n.font,Object(H.q)(n,"textStrokeWidth")&&(a.lineWidth=n.textStrokeWidth),Object(H.q)(n,"textAlign")&&(a.align=n.textAlign),Object(H.q)(n,"textVerticalAlign")&&(a.verticalAlign=n.textVerticalAlign),Object(H.q)(n,"textLineHeight")&&(a.lineHeight=n.textLineHeight),Object(H.q)(n,"textWidth")&&(a.width=n.textWidth),Object(H.q)(n,"textHeight")&&(a.height=n.textHeight),Object(H.q)(n,"textBackgroundColor")&&(a.backgroundColor=n.textBackgroundColor),Object(H.q)(n,"textPadding")&&(a.padding=n.textPadding),Object(H.q)(n,"textBorderColor")&&(a.borderColor=n.textBorderColor),Object(H.q)(n,"textBorderWidth")&&(a.borderWidth=n.textBorderWidth),Object(H.q)(n,"textBorderRadius")&&(a.borderRadius=n.textBorderRadius),Object(H.q)(n,"textBoxShadowColor")&&(a.shadowColor=n.textBoxShadowColor),Object(H.q)(n,"textBoxShadowBlur")&&(a.shadowBlur=n.textBoxShadowBlur),Object(H.q)(n,"textBoxShadowOffsetX")&&(a.shadowOffsetX=n.textBoxShadowOffsetX),Object(H.q)(n,"textBoxShadowOffsetY")&&(a.shadowOffsetY=n.textBoxShadowOffsetY))}function B9(a,n,e){var s=a;s.textPosition=s.textPosition||e.position||"inside",e.offset!=null&&(s.textOffset=e.offset),e.rotation!=null&&(s.textRotation=e.rotation),e.distance!=null&&(s.textDistance=e.distance);var f=s.textPosition.indexOf("inside")>=0,p=a.fill||"#000";vb(s,n);var h=s.textFill==null;return f?h&&(s.textFill=e.insideFill||"#fff",!s.textStroke&&e.insideStroke&&(s.textStroke=e.insideStroke),!s.textStroke&&(s.textStroke=p),s.textStrokeWidth==null&&(s.textStrokeWidth=2)):(h&&(s.textFill=a.fill||e.outsideFill||"#000"),!s.textStroke&&e.outsideStroke&&(s.textStroke=e.outsideStroke)),s.text=n.text,s.rich=n.rich,Object(H.k)(n.rich,function(_){vb(_,_)}),s}function vb(a,n){!n||(Object(H.q)(n,"fill")&&(a.textFill=n.fill),Object(H.q)(n,"stroke")&&(a.textStroke=n.fill),Object(H.q)(n,"lineWidth")&&(a.textStrokeWidth=n.lineWidth),Object(H.q)(n,"font")&&(a.font=n.font),Object(H.q)(n,"fontStyle")&&(a.fontStyle=n.fontStyle),Object(H.q)(n,"fontWeight")&&(a.fontWeight=n.fontWeight),Object(H.q)(n,"fontSize")&&(a.fontSize=n.fontSize),Object(H.q)(n,"fontFamily")&&(a.fontFamily=n.fontFamily),Object(H.q)(n,"align")&&(a.textAlign=n.align),Object(H.q)(n,"verticalAlign")&&(a.textVerticalAlign=n.verticalAlign),Object(H.q)(n,"lineHeight")&&(a.textLineHeight=n.lineHeight),Object(H.q)(n,"width")&&(a.textWidth=n.width),Object(H.q)(n,"height")&&(a.textHeight=n.height),Object(H.q)(n,"backgroundColor")&&(a.textBackgroundColor=n.backgroundColor),Object(H.q)(n,"padding")&&(a.textPadding=n.padding),Object(H.q)(n,"borderColor")&&(a.textBorderColor=n.borderColor),Object(H.q)(n,"borderWidth")&&(a.textBorderWidth=n.borderWidth),Object(H.q)(n,"borderRadius")&&(a.textBorderRadius=n.borderRadius),Object(H.q)(n,"shadowColor")&&(a.textBoxShadowColor=n.shadowColor),Object(H.q)(n,"shadowBlur")&&(a.textBoxShadowBlur=n.shadowBlur),Object(H.q)(n,"shadowOffsetX")&&(a.textBoxShadowOffsetX=n.shadowOffsetX),Object(H.q)(n,"shadowOffsetY")&&(a.textBoxShadowOffsetY=n.shadowOffsetY),Object(H.q)(n,"textShadowColor")&&(a.textShadowColor=n.textShadowColor),Object(H.q)(n,"textShadowBlur")&&(a.textShadowBlur=n.textShadowBlur),Object(H.q)(n,"textShadowOffsetX")&&(a.textShadowOffsetX=n.textShadowOffsetX),Object(H.q)(n,"textShadowOffsetY")&&(a.textShadowOffsetY=n.textShadowOffsetY))}function Pse(a,n){if(!1)var e}var V9={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},l2=Object(H.F)(V9),JN=Object(H.N)(ji,function(a,n){return a[n]=1,a},{}),Qee=ji.join(", "),u2=["","style","shape","extra"],WC=ol();function ZN(a,n,e,s,f){var p=a+"Animation",h=Kb(a,s,f)||{},_=WC(n).userDuring;return h.duration>0&&(h.during=_?Object(H.c)(G9,{el:n,userDuring:_}):null,h.setToFinal=!0,h.scope=a),Object(H.m)(h,e[p]),h}function d2(a,n,e,s){s=s||{};var f=s.dataIndex,p=s.isInit,h=s.clearStyle,_=e.isAnimationEnabled(),M=WC(a),L=n.style;M.userDuring=n.during;var z={},Y={};if(nte(a,n,Y),$9("shape",n,Y),$9("extra",n,Y),!p&&_&&(qN(a,n,z),QN("shape",a,n,z),QN("extra",a,n,z),W9(a,n,L,z)),Y.style=L,qee(a,Y,h),H9(a,n),_)if(p){var q={};Object(H.k)(u2,function(ye){var je=ye?n[ye]:n;je&&je.enterFrom&&(ye&&(q[ye]=q[ye]||{}),Object(H.m)(ye?q[ye]:q,je.enterFrom))});var se=ZN("enter",a,n,e,f);se.duration>0&&a.animateFrom(q,se)}else z9(a,n,f||0,e,z);Zg(a,n),L?a.dirty():a.markRedraw()}function Zg(a,n){for(var e=WC(a).leaveToProps,s=0;s<u2.length;s++){var f=u2[s],p=f?n[f]:n;p&&p.leaveTo&&(e||(e=WC(a).leaveToProps={}),f&&(e[f]=e[f]||{}),Object(H.m)(f?e[f]:e,p.leaveTo))}}function mj(a,n,e,s){if(a){var f=a.parent,p=WC(a).leaveToProps;if(p){var h=ZN("update",a,n,e,0);h.done=function(){f.remove(a),s&&s()},a.animateTo(p,h)}else f.remove(a),s&&s()}}function Tg(a){return a==="all"}function qee(a,n,e){var s=n.style;if(!a.isGroup&&s){if(e){a.useStyle({});for(var f=a.animators,p=0;p<f.length;p++){var h=f[p];h.targetName==="style"&&h.changeTarget(a.style)}}a.setStyle(s)}n&&(n.style=null,n&&a.attr(n),n.style=s)}function z9(a,n,e,s,f){if(f){var p=ZN("update",a,n,s,e);p.duration>0&&a.animateFrom(f,p)}}function H9(a,n){Object(H.q)(n,"silent")&&(a.silent=n.silent),Object(H.q)(n,"ignore")&&(a.ignore=n.ignore),a instanceof so&&Object(H.q)(n,"invisible")&&(a.invisible=n.invisible),a instanceof Ti&&Object(H.q)(n,"autoBatch")&&(a.autoBatch=n.autoBatch)}var $_={},ete={setTransform:function(a,n){return $_.el[a]=n,this},getTransform:function(a){return $_.el[a]},setShape:function(a,n){var e=$_.el,s=e.shape||(e.shape={});return s[a]=n,e.dirtyShape&&e.dirtyShape(),this},getShape:function(a){var n=$_.el.shape;if(n)return n[a]},setStyle:function(a,n){var e=$_.el,s=e.style;return s&&(s[a]=n,e.dirtyStyle&&e.dirtyStyle()),this},getStyle:function(a){var n=$_.el.style;if(n)return n[a]},setExtra:function(a,n){var e=$_.el.extra||($_.el.extra={});return e[a]=n,this},getExtra:function(a){var n=$_.el.extra;if(n)return n[a]}};function tte(a){}function G9(){var a=this,n=a.el;if(!!n){var e=WC(n).userDuring,s=a.userDuring;if(e!==s){a.el=a.userDuring=null;return}$_.el=n,s(ete)}}function QN(a,n,e,s){var f=e[a];if(!!f){var p=n[a],h;if(p){var _=e.transition,M=f.transition;if(M)if(!h&&(h=s[a]={}),Tg(M))Object(H.m)(h,p);else for(var L=St(M),z=0;z<L.length;z++){var Y=L[z],q=p[Y];h[Y]=q}else if(Tg(_)||Object(H.r)(_,a)>=0){!h&&(h=s[a]={});for(var se=Object(H.F)(p),z=0;z<se.length;z++){var Y=se[z],q=p[Y];rte(f[Y],q)&&(h[Y]=q)}}}}}function $9(a,n,e){var s=n[a];if(!!s)for(var f=e[a]={},p=Object(H.F)(s),h=0;h<p.length;h++){var _=p[h];f[_]=Dr(s[_])}}function qN(a,n,e){for(var s=n.transition,f=Tg(s)?ji:St(s||[]),p=0;p<f.length;p++){var h=f[p];if(!(h==="style"||h==="shape"||h==="extra")){var _=a[h];e[h]=_}}}function nte(a,n,e){for(var s=0;s<l2.length;s++){var f=l2[s],p=V9[f],h=n[f];h&&(e[p[0]]=h[0],e[p[1]]=h[1])}for(var s=0;s<ji.length;s++){var _=ji[s];n[_]!=null&&(e[_]=n[_])}}function W9(a,n,e,s){if(!!e){var f=a.style,p;if(f){var h=e.transition,_=n.transition;if(h&&!Tg(h)){var M=St(h);!p&&(p=s.style={});for(var L=0;L<M.length;L++){var z=M[L],Y=f[z];p[z]=Y}}else if(a.getAnimationStyleProps&&(Tg(_)||Tg(h)||Object(H.r)(_,"style")>=0)){var q=a.getAnimationStyleProps(),se=q?q.style:null;if(se){!p&&(p=s.style={});for(var ye=Object(H.F)(e),L=0;L<ye.length;L++){var z=ye[L];if(se[z]){var Y=f[z];p[z]=Y}}}}}}}function rte(a,n){return Object(H.u)(a)?a!==n:a!=null&&isFinite(a)}var Rse,eL=ol(),ate=["percent","easing","shape","style","extra"];function KC(a){a.stopAnimation("keyframe"),a.attr(eL(a))}function nO(a,n,e){if(!(!e.isAnimationEnabled()||!n)){if(Object(H.t)(n)){Object(H.k)(n,function(_){nO(a,_,e)});return}var s=n.keyframes,f=n.duration;if(e&&f==null){var p=Kb("enter",e,0);f=p&&p.duration}if(!(!s||!f)){var h=eL(a);Object(H.k)(u2,function(_){if(!(_&&!a[_])){var M,L=!1;s.sort(function(z,Y){return z.percent-Y.percent}),Object(H.k)(s,function(z){var Y=a.animators,q=_?z[_]:z;if(!!q){var se=Object(H.F)(q);if(_||(se=Object(H.n)(se,function(De){return Object(H.r)(ate,De)<0})),!!se.length){M||(M=a.animate(_,n.loop,!0),M.scope="keyframe");for(var ye=0;ye<Y.length;ye++)Y[ye]!==M&&Y[ye].targetName===M.targetName&&Y[ye].stopTracks(se);_&&(h[_]=h[_]||{});var je=_?h[_]:h;Object(H.k)(se,function(De){je[De]=((_?a[_]:a)||{})[De]}),M.whenWithKeys(f*z.percent,q,se,z.easing)}}}),!!M&&M.delay(n.delay||0).duration(f).start(n.easing)}})}}}var Qg="emphasis",W_="normal",_j="blur",yj="select",hb=[W_,Qg,_j,yj],tL={normal:["itemStyle"],emphasis:[Qg,"itemStyle"],blur:[_j,"itemStyle"],select:[yj,"itemStyle"]},nL={normal:["label"],emphasis:[Qg,"label"],blur:[_j,"label"],select:[yj,"label"]},K9=["x","y"],ite="e\0\0",Cm={normal:{},emphasis:{},blur:{},select:{}},ote={cartesian2d:N9,geo:Yee,single:tO,polar:gj,calendar:Jee};function gb(a){return a instanceof Ti}function rL(a){return a instanceof so}function ey(a,n){n.copyTransform(a),rL(n)&&rL(a)&&(n.setStyle(a.style),n.z=a.z,n.z2=a.z2,n.zlevel=a.zlevel,n.invisible=a.invisible,n.ignore=a.ignore,gb(n)&&gb(a)&&n.setShape(a.shape))}var ste=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f,p){this._progressiveEls=null;var h=this._data,_=e.getData(),M=this.group,L=Y9(e,_,s,f);h||M.removeAll(),_.diff(h).add(function(Y){cL(f,null,Y,L(Y,p),e,M,_)}).remove(function(Y){var q=h.getItemGraphicEl(Y);q&&mj(q,q0(q).option,e)}).update(function(Y,q){var se=h.getItemGraphicEl(q);cL(f,se,Y,L(Y,p),e,M,_)}).execute();var z=e.get("clip",!0)?LA(e.coordinateSystem,!1,e):null;z?M.setClipPath(z):M.removeClipPath(),this._data=_},n.prototype.incrementalPrepareRender=function(e,s,f){this.group.removeAll(),this._data=null},n.prototype.incrementalRender=function(e,s,f,p,h){var _=s.getData(),M=Y9(s,_,f,p),L=this._progressiveEls=[];function z(se){se.isGroup||(se.incremental=!0,se.ensureState("emphasis").hoverLayer=!0)}for(var Y=e.start;Y<e.end;Y++){var q=cL(null,null,Y,M(Y,h),s,this.group,_);q&&(q.traverse(z),L.push(q))}},n.prototype.eachRendered=function(e){Fy(this._progressiveEls||this.group,e)},n.prototype.filterForExposedEvent=function(e,s,f,p){var h=s.element;if(h==null||f.name===h)return!0;for(;(f=f.__hostTarget||f.parent)&&f!==this.group;)if(f.name===h)return!0;return!1},n.type="custom",n}(np),cte=ste;function aL(a){var n=a.type,e;if(n==="path"){var s=a.shape,f=s.width!=null&&s.height!=null?{x:s.x||0,y:s.y||0,width:s.width,height:s.height}:null,p=fL(s);e=$x(p,null,f,s.layout||"center"),q0(e).customPathData=p}else if(n==="image")e=new Gi({}),q0(e).customImagePath=a.style.image;else if(n==="text")e=new Ho({});else if(n==="group")e=new _s;else{if(n==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var h=qO(n);if(!h){var _="";Tf(_)}e=new h}return q0(e).customGraphicType=n,e.name=a.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function iL(a,n,e,s,f,p,h){KC(n);var _=f&&f.normal.cfg;_&&n.setTextConfig(_),s&&s.transition==null&&(s.transition=K9);var M=s&&s.style;if(M){if(n.type==="text"){var L=M;Object(H.q)(L,"textFill")&&(L.fill=L.textFill),Object(H.q)(L,"textStroke")&&(L.stroke=L.textStroke)}var z=void 0,Y=gb(n)?M.decal:null;a&&Y&&(Y.dirty=!0,z=cC(Y,a)),M.__decalPattern=z}if(rL(n)&&M){var z=M.__decalPattern;z&&(M.decal=z)}d2(n,s,p,{dataIndex:e,isInit:h,clearStyle:!0}),nO(n,s.keyframeAnimation,p)}function oL(a,n,e,s,f){var p=n.isGroup?null:n,h=f&&f[a].cfg;if(p){var _=p.ensureState(a);if(s===!1){var M=p.getState(a);M&&(M.style=null)}else _.style=s||null;h&&(_.textConfig=h),um(p)}}function bj(a,n,e){if(!a.isGroup){var s=a,f=e.currentZ,p=e.currentZLevel;s.z=f,s.zlevel=p;var h=n.z2;h!=null&&(s.z2=h||0);for(var _=0;_<hb.length;_++)Oj(s,n,hb[_])}}function Oj(a,n,e){var s=e===W_,f=s?n:rO(n,e),p=f?f.z2:null,h;p!=null&&(h=s?a:a.ensureState(e),h.z2=p||0)}function Y9(a,n,e,s){var f=a.get("renderItem"),p=a.coordinateSystem,h={};p&&(h=p.prepareCustoms?p.prepareCustoms(p):ote[p.type](p));for(var _=Object(H.i)({getWidth:s.getWidth,getHeight:s.getHeight,getZr:s.getZr,getDevicePixelRatio:s.getDevicePixelRatio,value:Mt,style:rn,ordinalRawValue:nn,styleEmphasis:Cn,visual:dr,barLayout:pr,currentSeriesIndices:ia,font:pa},h.api||{}),M={context:{},seriesId:a.id,seriesName:a.name,seriesIndex:a.seriesIndex,coordSys:h.coordSys,dataInsideLength:n.count(),encode:sL(a.getData())},L,z,Y={},q={},se={},ye={},je=0;je<hb.length;je++){var De=hb[je];se[De]=a.getModel(tL[De]),ye[De]=a.getModel(nL[De])}function We(Ga){return Ga===L?z||(z=n.getItemModel(Ga)):n.getItemModel(Ga)}function st(Ga,si){return n.hasItemOption?Ga===L?Y[si]||(Y[si]=We(Ga).getModel(tL[si])):We(Ga).getModel(tL[si]):se[si]}function dt(Ga,si){return n.hasItemOption?Ga===L?q[si]||(q[si]=We(Ga).getModel(nL[si])):We(Ga).getModel(nL[si]):ye[si]}return function(Ga,si){return L=Ga,z=null,Y={},q={},f&&f(Object(H.i)({dataIndexInside:Ga,dataIndex:n.getRawIndex(Ga),actionType:si?si.type:null},M),_)};function Mt(Ga,si){return si==null&&(si=L),n.getStore().get(n.getDimensionIndex(Ga||0),si)}function nn(Ga,si){si==null&&(si=L),Ga=Ga||0;var Bi=n.getDimensionInfo(Ga);if(!Bi){var Go=n.getDimensionIndex(Ga);return Go>=0?n.getStore().get(Go,si):void 0}var Lo=n.get(Bi.name,si),Rs=Bi&&Bi.ordinalMeta;return Rs?Rs.categories[Lo]:Lo}function rn(Ga,si){si==null&&(si=L);var Bi=n.getItemVisual(si,"style"),Go=Bi&&Bi.fill,Lo=Bi&&Bi.opacity,Rs=st(si,W_).getItemStyle();Go!=null&&(Rs.fill=Go),Lo!=null&&(Rs.opacity=Lo);var Ns={inheritColor:Object(H.C)(Go)?Go:"#000"},Ds=dt(si,W_),yc=ep(Ds,null,Ns,!1,!0);yc.text=Ds.getShallow("show")?Object(H.P)(a.getFormattedLabel(si,W_),yC(n,si)):null;var Zc=Bg(Ds,Ns,!1);return ir(Ga,Rs),Rs=B9(Rs,yc,Zc),Ga&&er(Rs,Ga),Rs.legacy=!0,Rs}function Cn(Ga,si){si==null&&(si=L);var Bi=st(si,Qg).getItemStyle(),Go=dt(si,Qg),Lo=ep(Go,null,null,!0,!0);Lo.text=Go.getShallow("show")?Object(H.Q)(a.getFormattedLabel(si,Qg),a.getFormattedLabel(si,W_),yC(n,si)):null;var Rs=Bg(Go,null,!0);return ir(Ga,Bi),Bi=B9(Bi,Lo,Rs),Ga&&er(Bi,Ga),Bi.legacy=!0,Bi}function er(Ga,si){for(var Bi in si)Object(H.q)(si,Bi)&&(Ga[Bi]=si[Bi])}function ir(Ga,si){Ga&&(Ga.textFill&&(si.textFill=Ga.textFill),Ga.textPosition&&(si.textPosition=Ga.textPosition))}function dr(Ga,si){if(si==null&&(si=L),Object(H.q)(I9,Ga)){var Bi=n.getItemVisual(si,"style");return Bi?Bi[I9[Ga]]:null}if(Object(H.q)(Gee,Ga))return n.getItemVisual(si,Ga)}function pr(Ga){if(p.type==="cartesian2d"){var si=p.getBaseAxis();return k8(Object(H.i)({axis:si},Ga))}}function ia(){return e.getCurrentSeriesIndices()}function pa(Ga){return dT(Ga,e)}}function sL(a){var n={};return Object(H.k)(a.dimensions,function(e){var s=a.getDimensionInfo(e);if(!s.isExtraCoord){var f=s.coordDim,p=n[f]=n[f]||[];p[s.coordDimIndex]=a.getDimensionIndex(e)}}),n}function cL(a,n,e,s,f,p,h){if(!s){p.remove(n);return}var _=Cj(a,n,e,s,f,p);return _&&h.setItemGraphicEl(e,_),_&&Wp(_,s.focus,s.blurScope,s.emphasisDisabled),_}function Cj(a,n,e,s,f,p){var h=-1,_=n;n&&X9(n,s,f)&&(h=Object(H.r)(p.childrenRef(),n),n=null);var M=!n,L=n;L?L.clearStates():(L=aL(s),_&&ey(_,L)),s.morph===!1?L.disableMorphing=!0:L.disableMorphing&&(L.disableMorphing=!1),Cm.normal.cfg=Cm.normal.conOpt=Cm.emphasis.cfg=Cm.emphasis.conOpt=Cm.blur.cfg=Cm.blur.conOpt=Cm.select.cfg=Cm.select.conOpt=null,Cm.isLegacy=!1,lte(L,e,s,f,M,Cm),J9(L,e,s,f,M),iL(a,L,e,s,Cm,f,M),Object(H.q)(s,"info")&&(q0(L).info=s.info);for(var z=0;z<hb.length;z++){var Y=hb[z];if(Y!==W_){var q=rO(s,Y),se=lL(s,q,Y);oL(Y,L,q,se,Cm)}}return bj(L,s,f),s.type==="group"&&mb(a,L,e,s,f),h>=0?p.replaceAt(L,h):p.add(L),L}function X9(a,n,e){var s=q0(a),f=n.type,p=n.shape,h=n.style;return e.isUniversalTransitionEnabled()||f!=null&&f!==s.customGraphicType||f==="path"&&Mf(p)&&fL(p)!==s.customPathData||f==="image"&&Object(H.q)(h,"image")&&h.image!==s.customImagePath}function J9(a,n,e,s,f){var p=e.clipPath;if(p===!1)a&&a.getClipPath()&&a.removeClipPath();else if(p){var h=a.getClipPath();h&&X9(h,p,s)&&(h=null),h||(h=aL(p),a.setClipPath(h)),iL(null,h,n,p,null,s,f)}}function lte(a,n,e,s,f,p){if(!a.isGroup){YC(e,null,p),YC(e,Qg,p);var h=p.normal.conOpt,_=p.emphasis.conOpt,M=p.blur.conOpt,L=p.select.conOpt;if(h!=null||_!=null||L!=null||M!=null){var z=a.getTextContent();if(h===!1)z&&a.removeTextContent();else{h=p.normal.conOpt=h||{type:"text"},z?z.clearStates():(z=aL(h),a.setTextContent(z)),iL(null,z,n,h,null,s,f);for(var Y=h&&h.style,q=0;q<hb.length;q++){var se=hb[q];if(se!==W_){var ye=p[se].conOpt;oL(se,z,ye,lL(h,ye,se),null)}}Y?z.dirty():z.markRedraw()}}}}function YC(a,n,e){var s=n?rO(a,n):a,f=n?lL(a,s,Qg):a.style,p=a.type,h=s?s.textConfig:null,_=a.textContent,M=_?n?rO(_,n):_:null;if(f&&(e.isLegacy||L9(f,p,!!h,!!M))){e.isLegacy=!0;var L=F9(f,p,!n);!h&&L.textConfig&&(h=L.textConfig),!M&&L.textContent&&(M=L.textContent)}if(!n&&M){var z=M;!z.type&&(z.type="text")}var Y=n?e[n]:e.normal;Y.cfg=h,Y.conOpt=M}function rO(a,n){return n?a?a[n]:null:a}function lL(a,n,e){var s=n&&n.style;return s==null&&e===Qg&&a&&(s=a.styleEmphasis),s}function mb(a,n,e,s,f){var p=s.children,h=p?p.length:0,_=s.$mergeChildren,M=_==="byName"||s.diffChildrenByName,L=_===!1;if(!(!h&&!M&&!L)){if(M){uL({api:a,oldChildren:n.children()||[],newChildren:p||[],dataIndex:e,seriesModel:f,group:n});return}L&&n.removeAll();for(var z=0;z<h;z++){var Y=p[z],q=n.childAt(z);Y?(Y.ignore==null&&(Y.ignore=!1),Cj(a,q,e,Y,f,n)):q.ignore=!0}for(var se=n.childCount()-1;se>=z;se--){var ye=n.childAt(se);ute(n,ye,f)}}}function ute(a,n,e){n&&mj(n,q0(a).option,e)}function uL(a){new D0(a.oldChildren,a.newChildren,Z9,Z9,a).add(dL).update(dL).remove(dte).execute()}function Z9(a,n){var e=a&&a.name;return e!=null?e:ite+n}function dL(a,n){var e=this.context,s=a!=null?e.newChildren[a]:null,f=n!=null?e.oldChildren[n]:null;Cj(e.api,f,e.dataIndex,s,e.seriesModel,e.group)}function dte(a){var n=this.context,e=n.oldChildren[a];e&&mj(e,q0(e).option,n.seriesModel)}function fL(a){return a&&(a.pathData||a.d)}function Mf(a){return a&&(Object(H.q)(a,"pathData")||Object(H.q)(a,"d"))}function XC(a){a.registerChartView(cte),a.registerSeriesModel($ee)}var aO=ol(),f2=H.d,zf=H.c,fte=function(){function a(){this._dragging=!1,this.animationThreshold=15}return a.prototype.render=function(n,e,s,f){var p=e.get("value"),h=e.get("status");if(this._axisModel=n,this._axisPointerModel=e,this._api=s,!(!f&&this._lastValue===p&&this._lastStatus===h)){this._lastValue=p,this._lastStatus=h;var _=this._group,M=this._handle;if(!h||h==="hide"){_&&_.hide(),M&&M.hide();return}_&&_.show(),M&&M.show();var L={};this.makeElOption(L,p,n,e,s);var z=L.graphicKey;z!==this._lastGraphicKey&&this.clear(s),this._lastGraphicKey=z;var Y=this._moveAnimation=this.determineAnimation(n,e);if(!_)_=this._group=new _s,this.createPointerEl(_,L,n,e),this.createLabelEl(_,L,n,e),s.getZr().add(_);else{var q=H.h(ah,e,Y);this.updatePointerEl(_,L,q),this.updateLabelEl(_,L,q,e)}JC(_,e,!0),this._renderHandle(p)}},a.prototype.remove=function(n){this.clear(n)},a.prototype.dispose=function(n){this.clear(n)},a.prototype.determineAnimation=function(n,e){var s=e.get("animation"),f=n.axis,p=f.type==="category",h=e.get("snap");if(!h&&!p)return!1;if(s==="auto"||s==null){var _=this.animationThreshold;if(p&&f.getBandWidth()>_)return!0;if(h){var M=mI(n).seriesDataCount,L=f.getExtent();return Math.abs(L[0]-L[1])/M>_}return!1}return s===!0},a.prototype.makeElOption=function(n,e,s,f,p){},a.prototype.createPointerEl=function(n,e,s,f){var p=e.pointer;if(p){var h=aO(n).pointerEl=new E[p.type](f2(e.pointer));n.add(h)}},a.prototype.createLabelEl=function(n,e,s,f){if(e.label){var p=aO(n).labelEl=new Ho(f2(e.label));n.add(p),q9(p,f)}},a.prototype.updatePointerEl=function(n,e,s){var f=aO(n).pointerEl;f&&e.pointer&&(f.setStyle(e.pointer.style),s(f,{shape:e.pointer.shape}))},a.prototype.updateLabelEl=function(n,e,s,f){var p=aO(n).labelEl;p&&(p.setStyle(e.label.style),s(p,{x:e.label.x,y:e.label.y}),q9(p,f))},a.prototype._renderHandle=function(n){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,s=this._api.getZr(),f=this._handle,p=e.getModel("handle"),h=e.get("status");if(!p.get("show")||!h||h==="hide"){f&&s.remove(f),this._handle=null;return}var _;this._handle||(_=!0,f=this._handle=tC(p.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(L){tn(L.event)},onmousedown:zf(this._onHandleDragMove,this,0,0),drift:zf(this._onHandleDragMove,this),ondragend:zf(this._onHandleDragEnd,this)}),s.add(f)),JC(f,e,!1),f.setStyle(p.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var M=p.get("size");H.t(M)||(M=[M,M]),f.scaleX=M[0]/2,f.scaleY=M[1]/2,Uy(this,"_doDispatchAxisPointer",p.get("throttle")||0,"fixRate"),this._moveHandleToValue(n,_)}},a.prototype._moveHandleToValue=function(n,e){ah(this._axisPointerModel,!e&&this._moveAnimation,this._handle,p2(this.getHandleTransform(n,this._axisModel,this._axisPointerModel)))},a.prototype._onHandleDragMove=function(n,e){var s=this._handle;if(!!s){this._dragging=!0;var f=this.updateHandleTransform(p2(s),[n,e],this._axisModel,this._axisPointerModel);this._payloadInfo=f,s.stopAnimation(),s.attr(p2(f)),aO(s).lastProp=null,this._doDispatchAxisPointer()}},a.prototype._doDispatchAxisPointer=function(){var n=this._handle;if(!!n){var e=this._payloadInfo,s=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:s.axis.dim,axisIndex:s.componentIndex}]})}},a.prototype._onHandleDragEnd=function(){this._dragging=!1;var n=this._handle;if(!!n){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},a.prototype.clear=function(n){this._lastValue=null,this._lastStatus=null;var e=n.getZr(),s=this._group,f=this._handle;e&&s&&(this._lastGraphicKey=null,s&&e.remove(s),f&&e.remove(f),this._group=null,this._handle=null,this._payloadInfo=null),aC(this,"_doDispatchAxisPointer")},a.prototype.doClear=function(){},a.prototype.buildLabel=function(n,e,s){return s=s||0,{x:n[s],y:n[1-s],width:e[s],height:e[1-s]}},a}();function ah(a,n,e,s){Q9(aO(e).lastProp,s)||(aO(e).lastProp=s,n?pf(e,s,a):(e.stopAnimation(),e.attr(s)))}function Q9(a,n){if(H.A(a)&&H.A(n)){var e=!0;return H.k(n,function(s,f){e=e&&Q9(a[f],s)}),!!e}else return a===n}function q9(a,n){a[n.get(["label","show"])?"show":"hide"]()}function p2(a){return{x:a.x||0,y:a.y||0,rotation:a.rotation||0}}function JC(a,n,e){var s=n.get("z"),f=n.get("zlevel");a&&a.traverse(function(p){p.type!=="group"&&(s!=null&&(p.z=s),f!=null&&(p.zlevel=f),p.silent=e)})}var Em=fte;function eV(a){var n=a.get("type"),e=a.getModel(n+"Style"),s;return n==="line"?(s=e.getLineStyle(),s.fill=null):n==="shadow"&&(s=e.getAreaStyle(),s.stroke=null),s}function pte(a,n,e,s,f){var p=e.get("value"),h=vte(p,n.axis,n.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),_=e.getModel("label"),M=C0(_.get("padding")||0),L=_.getFont(),z=Rl(h,L),Y=f.position,q=z.width+M[1]+M[3],se=z.height+M[0]+M[2],ye=f.align;ye==="right"&&(Y[0]-=q),ye==="center"&&(Y[0]-=q/2);var je=f.verticalAlign;je==="bottom"&&(Y[1]-=se),je==="middle"&&(Y[1]-=se/2),Dse(Y,q,se,s);var De=_.get("backgroundColor");(!De||De==="auto")&&(De=n.get(["axisLine","lineStyle","color"])),a.label={x:Y[0],y:Y[1],style:ep(_,{text:h,font:L,fill:_.getTextColor(),padding:M,backgroundColor:De}),z2:10}}function Dse(a,n,e,s){var f=s.getWidth(),p=s.getHeight();a[0]=Math.min(a[0]+n,f)-n,a[1]=Math.min(a[1]+e,p)-e,a[0]=Math.max(a[0],0),a[1]=Math.max(a[1],0)}function vte(a,n,e,s,f){a=n.scale.parse(a);var p=n.scale.getLabel({value:a},{precision:f.precision}),h=f.formatter;if(h){var _={value:cI(n,{value:a}),axisDimension:n.dim,axisIndex:n.index,seriesData:[]};H.k(s,function(M){var L=e.getSeriesByIndex(M.seriesIndex),z=M.dataIndexInside,Y=L&&L.getDataParams(z);Y&&_.seriesData.push(Y)}),H.C(h)?p=h.replace("{value}",p):H.w(h)&&(p=h(_))}return p}function tV(a,n,e){var s=en();return ga(s,s,e.rotation),Gr(s,s,e.position),Vm([a.dataToCoord(n),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],s)}function hte(a,n,e,s,f,p){var h=F0.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=f.get(["label","margin"]),pte(n,s,f,p,{position:tV(s.axis,a,e),align:h.textAlign,verticalAlign:h.textVerticalAlign})}function pL(a,n,e){return e=e||0,{x1:a[e],y1:a[1-e],x2:n[e],y2:n[1-e]}}function vL(a,n,e){return e=e||0,{x:a[e],y:a[1-e],width:n[e],height:n[1-e]}}function gte(a,n,e,s,f,p){return{cx:a,cy:n,r0:e,r:s,startAngle:f,endAngle:p,clockwise:!0}}var Ise=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.makeElOption=function(e,s,f,p,h){var _=f.axis,M=_.grid,L=p.get("type"),z=v2(M,_).getOtherAxis(_).getGlobalExtent(),Y=_.toGlobalCoord(_.dataToCoord(s,!0));if(L&&L!=="none"){var q=eV(p),se=Zp[L](_,Y,z);se.style=q,e.graphicKey=se.type,e.pointer=se}var ye=vI(M.model,f);hte(s,e,ye,f,p,h)},n.prototype.getHandleTransform=function(e,s,f){var p=vI(s.axis.grid.model,s,{labelInside:!1});p.labelMargin=f.get(["handle","margin"]);var h=tV(s.axis,e,p);return{x:h[0],y:h[1],rotation:p.rotation+(p.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(e,s,f,p){var h=f.axis,_=h.grid,M=h.getGlobalExtent(!0),L=v2(_,h).getOtherAxis(h).getGlobalExtent(),z=h.dim==="x"?0:1,Y=[e.x,e.y];Y[z]+=s[z],Y[z]=Math.min(M[1],Y[z]),Y[z]=Math.max(M[0],Y[z]);var q=(L[1]+L[0])/2,se=[q,q];se[z]=Y[z];var ye=[{verticalAlign:"middle"},{align:"center"}];return{x:Y[0],y:Y[1],rotation:e.rotation,cursorPoint:se,tooltipOption:ye[z]}},n}(Em);function v2(a,n){var e={};return e[n.dim+"AxisIndex"]=n.index,a.getCartesian(e)}var Zp={line:function(a,n,e){var s=pL([n,e[0]],[n,e[1]],nV(a));return{type:"Line",subPixelOptimize:!0,shape:s}},shadow:function(a,n,e){var s=Math.max(1,a.getBandWidth()),f=e[1]-e[0];return{type:"Rect",shape:vL([n-s/2,e[0]],[s,f],nV(a))}}};function nV(a){return a.dim==="x"?0:1}var iO=Ise,ih=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="axisPointer",n.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},n}(tf),rV=ih,K_=ol(),aV=H.k;function Ag(a,n,e){if(!Bt.a.node){var s=n.getZr();K_(s).records||(K_(s).records={}),Y_(s,n);var f=K_(s).records[a]||(K_(s).records[a]={});f.handler=e}}function Y_(a,n){if(K_(a).initialized)return;K_(a).initialized=!0,e("click",H.h(iV,"click")),e("mousemove",H.h(iV,"mousemove")),e("globalout",xj);function e(s,f){a.on(s,function(p){var h=mte(n);aV(K_(a).records,function(_){_&&f(_,p,h.dispatchAction)}),Ej(h.pendings,n)})}}function Ej(a,n){var e=a.showTip.length,s=a.hideTip.length,f;e?f=a.showTip[e-1]:s&&(f=a.hideTip[s-1]),f&&(f.dispatchAction=null,n.dispatchAction(f))}function xj(a,n,e){a.handler("leave",null,e)}function iV(a,n,e,s){n.handler(a,e,s)}function mte(a){var n={showTip:[],hideTip:[]},e=function(s){var f=n[s.type];f?f.push(s):(s.dispatchAction=e,a.dispatchAction(s))};return{dispatchAction:e,pendings:n}}function Ym(a,n){if(!Bt.a.node){var e=n.getZr(),s=(K_(e).records||{})[a];s&&(K_(e).records[a]=null)}}var _te=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=s.getComponent("tooltip"),h=e.get("triggerOn")||p&&p.get("triggerOn")||"mousemove|click";Ag("axisPointer",f,function(_,M,L){h!=="none"&&(_==="leave"||h.indexOf(_)>=0)&&L({type:"updateAxisPointer",currTrigger:_,x:M&&M.offsetX,y:M&&M.offsetY})})},n.prototype.remove=function(e,s){Ym("axisPointer",s)},n.prototype.dispose=function(e,s){Ym("axisPointer",s)},n.type="axisPointer",n}(Np),yte=_te;function oV(a,n){var e=[],s=a.seriesIndex,f;if(s==null||!(f=n.getSeriesByIndex(s)))return{point:[]};var p=f.getData(),h=Gu(p,a);if(h==null||h<0||H.t(h))return{point:[]};var _=p.getItemGraphicEl(h),M=f.coordinateSystem;if(f.getTooltipPosition)e=f.getTooltipPosition(h)||[];else if(M&&M.dataToPoint)if(a.isStacked){var L=M.getBaseAxis(),z=M.getOtherAxis(L),Y=z.dim,q=L.dim,se=Y==="x"||Y==="radius"?1:0,ye=p.mapDimension(q),je=[];je[se]=p.get(ye,h),je[1-se]=p.get(p.getCalculationInfo("stackResultDimension"),h),e=M.dataToPoint(je)||[]}else e=M.dataToPoint(p.getValues(H.H(M.dimensions,function(We){return p.mapDimension(We)}),h))||[];else if(_){var De=_.getBoundingRect().clone();De.applyTransform(_.transform),e=[De.x+De.width/2,De.y+De.height/2]}return{point:e,el:_}}var Sj=ol();function bte(a,n,e){var s=a.currTrigger,f=[a.x,a.y],p=a,h=a.dispatchAction||Object(H.c)(e.dispatchAction,e),_=n.getComponent("axisPointer").coordSysAxesInfo;if(!!_){Tj(f)&&(f=oV({seriesIndex:p.seriesIndex,dataIndex:p.dataIndex},n).point);var M=Tj(f),L=p.axesInfo,z=_.axesInfo,Y=s==="leave"||Tj(f),q={},se={},ye={list:[],map:{}},je={showPointer:Object(H.h)(wj,se),showTooltip:Object(H.h)(Cte,ye)};Object(H.k)(_.coordSysMap,function(We,st){var dt=M||We.containPoint(f);Object(H.k)(_.coordSysAxesInfo[st],function(Mt,nn){var rn=Mt.axis,Cn=wte(L,Mt);if(!Y&&dt&&(!L||Cn)){var er=Cn&&Cn.value;er==null&&!M&&(er=rn.pointToData(f)),er!=null&&sV(Mt,er,je,!1,q)}})});var De={};return Object(H.k)(z,function(We,st){var dt=We.linkGroup;dt&&!se[st]&&Object(H.k)(dt.axesInfo,function(Mt,nn){var rn=se[nn];if(Mt!==We&&rn){var Cn=rn.value;dt.mapper&&(Cn=We.axis.scale.parse(dt.mapper(Cn,cV(Mt),cV(We)))),De[We.key]=Cn}})}),Object(H.k)(De,function(We,st){sV(z[st],We,je,!0,q)}),Ete(se,z,q),xte(ye,f,a,h),Ste(z,h,e),q}}function sV(a,n,e,s,f){var p=a.axis;if(!(p.scale.isBlank()||!p.containData(n))){if(!a.involveSeries){e.showPointer(a,n);return}var h=Ote(n,a),_=h.payloadBatch,M=h.snapToValue;_[0]&&f.seriesIndex==null&&Object(H.m)(f,_[0]),!s&&a.snap&&p.containData(M)&&M!=null&&(n=M),e.showPointer(a,n,_),e.showTooltip(a,h,M)}}function Ote(a,n){var e=n.axis,s=e.dim,f=a,p=[],h=Number.MAX_VALUE,_=-1;return Object(H.k)(n.seriesModels,function(M,L){var z=M.getData().mapDimensionsAll(s),Y,q;if(M.getAxisTooltipData){var se=M.getAxisTooltipData(z,a,e);q=se.dataIndices,Y=se.nestestValue}else{if(q=M.getData().indicesOfNearest(z[0],a,e.type==="category"?.5:null),!q.length)return;Y=M.getData().get(z[0],q[0])}if(!(Y==null||!isFinite(Y))){var ye=a-Y,je=Math.abs(ye);je<=h&&((je<h||ye>=0&&_<0)&&(h=je,_=ye,f=Y,p.length=0),Object(H.k)(q,function(De){p.push({seriesIndex:M.seriesIndex,dataIndexInside:De,dataIndex:M.getData().getRawIndex(De)})}))}}),{payloadBatch:p,snapToValue:f}}function wj(a,n,e,s){a[n.key]={value:e,payloadBatch:s}}function Cte(a,n,e,s){var f=e.payloadBatch,p=n.axis,h=p.model,_=n.axisPointerModel;if(!(!n.triggerTooltip||!f.length)){var M=n.coordSys.model,L=AS(M),z=a.map[L];z||(z=a.map[L]={coordSysId:M.id,coordSysIndex:M.componentIndex,coordSysType:M.type,coordSysMainType:M.mainType,dataByAxis:[]},a.list.push(z)),z.dataByAxis.push({axisDim:p.dim,axisIndex:h.componentIndex,axisType:h.type,axisId:h.id,value:s,valueLabelOpt:{precision:_.get(["label","precision"]),formatter:_.get(["label","formatter"])},seriesDataIndices:f.slice()})}}function Ete(a,n,e){var s=e.axesInfo=[];Object(H.k)(n,function(f,p){var h=f.axisPointerModel.option,_=a[p];_?(!f.useHandle&&(h.status="show"),h.value=_.value,h.seriesDataIndices=(_.payloadBatch||[]).slice()):!f.useHandle&&(h.status="hide"),h.status==="show"&&s.push({axisDim:f.axis.dim,axisIndex:f.axis.model.componentIndex,value:h.value})})}function xte(a,n,e,s){if(Tj(n)||!a.list.length){s({type:"hideTip"});return}var f=((a.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};s({type:"showTip",escapeConnect:!0,x:n[0],y:n[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:f.dataIndexInside,dataIndex:f.dataIndex,seriesIndex:f.seriesIndex,dataByCoordSys:a.list})}function Ste(a,n,e){var s=e.getZr(),f="axisPointerLastHighlights",p=Sj(s)[f]||{},h=Sj(s)[f]={};Object(H.k)(a,function(L,z){var Y=L.axisPointerModel.option;Y.status==="show"&&Object(H.k)(Y.seriesDataIndices,function(q){var se=q.seriesIndex+" | "+q.dataIndex;h[se]=q})});var _=[],M=[];Object(H.k)(p,function(L,z){!h[z]&&M.push(L)}),Object(H.k)(h,function(L,z){!p[z]&&_.push(L)}),M.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:M}),_.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:_})}function wte(a,n){for(var e=0;e<(a||[]).length;e++){var s=a[e];if(n.axis.dim===s.axisDim&&n.axis.model.componentIndex===s.axisIndex)return s}}function cV(a){var n=a.axis.model,e={},s=e.axisDim=a.axis.dim;return e.axisIndex=e[s+"AxisIndex"]=n.componentIndex,e.axisName=e[s+"AxisName"]=n.name,e.axisId=e[s+"AxisId"]=n.id,e}function Tj(a){return!a||a[0]==null||isNaN(a[0])||a[1]==null||isNaN(a[1])}function h2(a){L1.registerAxisPointerClass("CartesianAxisPointer",iO),a.registerComponentModel(rV),a.registerComponentView(yte),a.registerPreprocessor(function(n){if(n){(!n.axisPointer||n.axisPointer.length===0)&&(n.axisPointer={});var e=n.axisPointer.link;e&&!Object(H.t)(e)&&(n.axisPointer.link=[e])}}),a.registerProcessor(a.PRIORITY.PROCESSOR.STATISTIC,function(n,e){n.getComponent("axisPointer").coordSysAxesInfo=AJ(n,e)}),a.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},bte)}function Tte(a){Dd(I7),Dd(h2)}var Ate=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.makeElOption=function(e,s,f,p,h){var _=f.axis;_.dim==="angle"&&(this.animationThreshold=Math.PI/18);var M=_.polar,L=M.getOtherAxis(_),z=L.getExtent(),Y=_.dataToCoord(s),q=p.get("type");if(q&&q!=="none"){var se=eV(p),ye=kte[q](_,M,Y,z);ye.style=se,e.graphicKey=ye.type,e.pointer=ye}var je=p.get(["label","margin"]),De=hL(s,f,p,M,je);pte(e,f,p,h,De)},n}(Em);function hL(a,n,e,s,f){var p=n.axis,h=p.dataToCoord(a),_=s.getAngleAxis().getExtent()[0];_=_/180*Math.PI;var M=s.getRadiusAxis().getExtent(),L,z,Y;if(p.dim==="radius"){var q=en();ga(q,q,_),Gr(q,q,[s.cx,s.cy]),L=Vm([h,-f],q);var se=n.getModel("axisLabel").get("rotate")||0,ye=F0.innerTextLayout(_,se*Math.PI/180,-1);z=ye.textAlign,Y=ye.textVerticalAlign}else{var je=M[1];L=s.coordToPoint([je+f,h]);var De=s.cx,We=s.cy;z=Math.abs(L[0]-De)/je<.3?"center":L[0]>De?"left":"right",Y=Math.abs(L[1]-We)/je<.3?"middle":L[1]>We?"top":"bottom"}return{position:L,align:z,verticalAlign:Y}}var kte={line:function(a,n,e,s){return a.dim==="angle"?{type:"Line",shape:pL(n.coordToPoint([s[0],e]),n.coordToPoint([s[1],e]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:e}}},shadow:function(a,n,e,s){var f=Math.max(1,a.getBandWidth()),p=Math.PI/180;return a.dim==="angle"?{type:"Sector",shape:gte(n.cx,n.cy,s[0],s[1],(-e-f/2)*p,(-e+f/2)*p)}:{type:"Sector",shape:gte(n.cx,n.cy,e-f/2,e+f/2,0,Math.PI*2)}}},jte=Ate,Xm=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.findAxisModel=function(e){var s,f=this.ecModel;return f.eachComponent(e,function(p){p.getCoordSysModel()===this&&(s=p)},this),s},n.type="polar",n.dependencies=["radiusAxis","angleAxis"],n.defaultOption={z:0,center:["50%","50%"],radius:"80%"},n}(tf),Mte=Xm,ZC=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Vu).models[0]},n.type="polarAxis",n}(tf);H.K(ZC,CS);var rp=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="angleAxis",n}(ZC),Pte=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="radiusAxis",n}(ZC),X_=function(a){Qe(n,a);function n(e,s){return a.call(this,"radius",e,s)||this}return n.prototype.pointToData=function(e,s){return this.polar.pointToData(e,s)[this.dim==="radius"?0:1]},n}(ym);X_.prototype.dataToRadius=ym.prototype.dataToCoord,X_.prototype.radiusToData=ym.prototype.coordToData;var xm=X_,Rte=ol(),gL=function(a){Qe(n,a);function n(e,s){return a.call(this,"angle",e,s||[0,360])||this}return n.prototype.pointToData=function(e,s){return this.polar.pointToData(e,s)[this.dim==="radius"?0:1]},n.prototype.calculateCategoryInterval=function(){var e=this,s=e.getLabelModel(),f=e.scale,p=f.getExtent(),h=f.count();if(p[1]-p[0]<1)return 0;var _=p[0],M=e.dataToCoord(_+1)-e.dataToCoord(_),L=Math.abs(M),z=Rl(_==null?"":_+"",s.getFont(),"center","top"),Y=Math.max(z.height,7),q=Y/L;isNaN(q)&&(q=Infinity);var se=Math.max(0,Math.floor(q)),ye=Rte(e.model),je=ye.lastAutoInterval,De=ye.lastTickCount;return je!=null&&De!=null&&Math.abs(je-se)<=1&&Math.abs(De-h)<=1&&je>se?se=je:(ye.lastTickCount=h,ye.lastAutoInterval=se),se},n}(ym);gL.prototype.dataToAngle=ym.prototype.dataToCoord,gL.prototype.angleToData=ym.prototype.coordToData;var g2=gL,lV=["radius","angle"],m2=function(){function a(n){this.dimensions=lV,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new xm,this._angleAxis=new g2,this.axisPointerEnabled=!0,this.name=n||"",this._radiusAxis.polar=this._angleAxis.polar=this}return a.prototype.containPoint=function(n){var e=this.pointToCoord(n);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},a.prototype.containData=function(n){return this._radiusAxis.containData(n[0])&&this._angleAxis.containData(n[1])},a.prototype.getAxis=function(n){var e="_"+n+"Axis";return this[e]},a.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},a.prototype.getAxesByScale=function(n){var e=[],s=this._angleAxis,f=this._radiusAxis;return s.scale.type===n&&e.push(s),f.scale.type===n&&e.push(f),e},a.prototype.getAngleAxis=function(){return this._angleAxis},a.prototype.getRadiusAxis=function(){return this._radiusAxis},a.prototype.getOtherAxis=function(n){var e=this._angleAxis;return n===e?this._radiusAxis:e},a.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},a.prototype.getTooltipAxes=function(n){var e=n!=null&&n!=="auto"?this.getAxis(n):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},a.prototype.dataToPoint=function(n,e){return this.coordToPoint([this._radiusAxis.dataToRadius(n[0],e),this._angleAxis.dataToAngle(n[1],e)])},a.prototype.pointToData=function(n,e){var s=this.pointToCoord(n);return[this._radiusAxis.radiusToData(s[0],e),this._angleAxis.angleToData(s[1],e)]},a.prototype.pointToCoord=function(n){var e=n[0]-this.cx,s=n[1]-this.cy,f=this.getAngleAxis(),p=f.getExtent(),h=Math.min(p[0],p[1]),_=Math.max(p[0],p[1]);f.inverse?h=_-360:_=h+360;var M=Math.sqrt(e*e+s*s);e/=M,s/=M;for(var L=Math.atan2(-s,e)/Math.PI*180,z=L<h?1:-1;L<h||L>_;)L+=z*360;return[M,L]},a.prototype.coordToPoint=function(n){var e=n[0],s=n[1]/180*Math.PI,f=Math.cos(s)*e+this.cx,p=-Math.sin(s)*e+this.cy;return[f,p]},a.prototype.getArea=function(){var n=this.getAngleAxis(),e=this.getRadiusAxis(),s=e.getExtent().slice();s[0]>s[1]&&s.reverse();var f=n.getExtent(),p=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:s[0],r:s[1],startAngle:-f[0]*p,endAngle:-f[1]*p,clockwise:n.inverse,contain:function(h,_){var M=h-this.cx,L=_-this.cy,z=M*M+L*L-1e-4,Y=this.r,q=this.r0;return z<=Y*Y&&z>=q*q}}},a.prototype.convertToPixel=function(n,e,s){var f=Jf(e);return f===this?this.dataToPoint(s):null},a.prototype.convertFromPixel=function(n,e,s){var f=Jf(e);return f===this?this.pointToData(s):null},a}();function Jf(a){var n=a.seriesModel,e=a.polarModel;return e&&e.coordinateSystem||n&&n.coordinateSystem}var Dte=m2;function Ite(a,n,e){var s=n.get("center"),f=e.getWidth(),p=e.getHeight();a.cx=Mi(s[0],f),a.cy=Mi(s[1],p);var h=a.getRadiusAxis(),_=Math.min(f,p)/2,M=n.get("radius");M==null?M=[0,"100%"]:H.t(M)||(M=[0,M]);var L=[Mi(M[0],_),Mi(M[1],_)];h.inverse?h.setExtent(L[1],L[0]):h.setExtent(L[0],L[1])}function _2(a,n){var e=this,s=e.getAngleAxis(),f=e.getRadiusAxis();if(s.scale.setExtent(Infinity,-Infinity),f.scale.setExtent(Infinity,-Infinity),a.eachSeries(function(_){if(_.coordinateSystem===e){var M=_.getData();H.k(tk(M,"radius"),function(L){f.scale.unionExtentFromData(M,L)}),H.k(tk(M,"angle"),function(L){s.scale.unionExtentFromData(M,L)})}}),CC(s.scale,s.model),CC(f.scale,f.model),s.type==="category"&&!s.onBand){var p=s.getExtent(),h=360/s.scale.count();s.inverse?p[1]+=h:p[1]-=h,s.setExtent(p[0],p[1])}}function mL(a){return a.mainType==="angleAxis"}function _b(a,n){if(a.type=n.get("type"),a.scale=ek(n),a.onBand=n.get("boundaryGap")&&a.type==="category",a.inverse=n.get("inverse"),mL(n)){a.inverse=a.inverse!==n.get("clockwise");var e=n.get("startAngle");a.setExtent(e,e+(a.inverse?-360:360))}n.axis=a,a.model=n}var Nte={dimensions:lV,create:function(a,n){var e=[];return a.eachComponent("polar",function(s,f){var p=new Dte(f+"");p.update=_2;var h=p.getRadiusAxis(),_=p.getAngleAxis(),M=s.findAxisModel("radiusAxis"),L=s.findAxisModel("angleAxis");_b(h,M),_b(_,L),Ite(p,s,n),e.push(p),s.coordinateSystem=p,p.model=s}),a.eachSeries(function(s){if(s.get("coordinateSystem")==="polar"){var f=s.getReferringComponents("polar",Vu).models[0];s.coordinateSystem=f.coordinateSystem}}),e}},y2=Nte,_L=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function oO(a,n,e){n[1]>n[0]&&(n=n.slice().reverse());var s=a.coordToPoint([n[0],e]),f=a.coordToPoint([n[1],e]);return{x1:s[0],y1:s[1],x2:f[0],y2:f[1]}}function Aj(a){var n=a.getRadiusAxis();return n.inverse?0:1}function uV(a){var n=a[0],e=a[a.length-1];n&&e&&Math.abs(Math.abs(n.coord-e.coord)-360)<1e-4&&a.pop()}var yL=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="PolarAxisPointer",e}return n.prototype.render=function(e,s){if(this.group.removeAll(),!!e.get("show")){var f=e.axis,p=f.polar,h=p.getRadiusAxis().getExtent(),_=f.getTicksCoords(),M=f.getMinorTicksCoords(),L=H.H(f.getViewLabels(),function(z){z=H.d(z);var Y=f.scale,q=Y.type==="ordinal"?Y.getRawOrdinalNumber(z.tickValue):z.tickValue;return z.coord=f.dataToCoord(q),z});uV(L),uV(_),H.k(_L,function(z){e.get([z,"show"])&&(!f.scale.isBlank()||z==="axisLine")&&Lte[z](this.group,e,p,_,M,h,L)},this)}},n.type="angleAxis",n}(L1),Lte={axisLine:function(a,n,e,s,f,p){var h=n.getModel(["axisLine","lineStyle"]),_=Aj(e),M=_?0:1,L;p[M]===0?L=new Um({shape:{cx:e.cx,cy:e.cy,r:p[_]},style:h.getLineStyle(),z2:1,silent:!0}):L=new Es({shape:{cx:e.cx,cy:e.cy,r:p[_],r0:p[M]},style:h.getLineStyle(),z2:1,silent:!0}),L.style.fill=null,a.add(L)},axisTick:function(a,n,e,s,f,p){var h=n.getModel("axisTick"),_=(h.get("inside")?-1:1)*h.get("length"),M=p[Aj(e)],L=H.H(s,function(z){return new _h({shape:oO(e,[M,M+_],z.coord)})});a.add(zg(L,{style:H.i(h.getModel("lineStyle").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})}))},minorTick:function(a,n,e,s,f,p){if(!!f.length){for(var h=n.getModel("axisTick"),_=n.getModel("minorTick"),M=(h.get("inside")?-1:1)*_.get("length"),L=p[Aj(e)],z=[],Y=0;Y<f.length;Y++)for(var q=0;q<f[Y].length;q++)z.push(new _h({shape:oO(e,[L,L+M],f[Y][q].coord)}));a.add(zg(z,{style:H.i(_.getModel("lineStyle").getLineStyle(),H.i(h.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(a,n,e,s,f,p,h){var _=n.getCategories(!0),M=n.getModel("axisLabel"),L=M.get("margin"),z=n.get("triggerEvent");H.k(h,function(Y,q){var se=M,ye=Y.tickValue,je=p[Aj(e)],De=e.coordToPoint([je+L,Y.coord]),We=e.cx,st=e.cy,dt=Math.abs(De[0]-We)/je<.3?"center":De[0]>We?"left":"right",Mt=Math.abs(De[1]-st)/je<.3?"middle":De[1]>st?"top":"bottom";if(_&&_[ye]){var nn=_[ye];H.A(nn)&&nn.textStyle&&(se=new tp(nn.textStyle,M,M.ecModel))}var rn=new Ho({silent:F0.isLabelSilent(n),style:ep(se,{x:De[0],y:De[1],fill:se.getTextColor()||n.get(["axisLine","lineStyle","color"]),text:Y.formattedLabel,align:dt,verticalAlign:Mt})});if(a.add(rn),z){var Cn=F0.makeAxisEventDataBase(n);Cn.targetType="axisLabel",Cn.value=Y.rawLabel,sc(rn).eventData=Cn}},this)},splitLine:function(a,n,e,s,f,p){var h=n.getModel("splitLine"),_=h.getModel("lineStyle"),M=_.get("color"),L=0;M=M instanceof Array?M:[M];for(var z=[],Y=0;Y<s.length;Y++){var q=L++%M.length;z[q]=z[q]||[],z[q].push(new _h({shape:oO(e,p,s[Y].coord)}))}for(var Y=0;Y<z.length;Y++)a.add(zg(z[Y],{style:H.i({stroke:M[Y%M.length]},_.getLineStyle()),silent:!0,z:n.get("z")}))},minorSplitLine:function(a,n,e,s,f,p){if(!!f.length){for(var h=n.getModel("minorSplitLine"),_=h.getModel("lineStyle"),M=[],L=0;L<f.length;L++)for(var z=0;z<f[L].length;z++)M.push(new _h({shape:oO(e,p,f[L][z].coord)}));a.add(zg(M,{style:_.getLineStyle(),silent:!0,z:n.get("z")}))}},splitArea:function(a,n,e,s,f,p){if(!!s.length){var h=n.getModel("splitArea"),_=h.getModel("areaStyle"),M=_.get("color"),L=0;M=M instanceof Array?M:[M];for(var z=[],Y=Math.PI/180,q=-s[0].coord*Y,se=Math.min(p[0],p[1]),ye=Math.max(p[0],p[1]),je=n.get("clockwise"),De=1,We=s.length;De<=We;De++){var st=De===We?s[0].coord:s[De].coord,dt=L++%M.length;z[dt]=z[dt]||[],z[dt].push(new bv({shape:{cx:e.cx,cy:e.cy,r0:se,r:ye,startAngle:q,endAngle:-st*Y,clockwise:je},silent:!0})),q=-st*Y}for(var De=0;De<z.length;De++)a.add(zg(z[De],{style:H.i({fill:M[De%M.length]},_.getAreaStyle()),silent:!0}))}}},sO=yL,Fte=["axisLine","axisTickLabel","axisName"],kj=["splitLine","splitArea","minorSplitLine"],Ute=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="PolarAxisPointer",e}return n.prototype.render=function(e,s){if(this.group.removeAll(),!!e.get("show")){var f=this._axisGroup,p=this._axisGroup=new _s;this.group.add(p);var h=e.axis,_=h.polar,M=_.getAngleAxis(),L=h.getTicksCoords(),z=h.getMinorTicksCoords(),Y=M.getExtent()[0],q=h.getExtent(),se=b2(_,e,Y),ye=new F0(e,se);H.k(Fte,ye.add,ye),p.add(ye.getGroup()),Wx(f,p,e),H.k(kj,function(je){e.get([je,"show"])&&!h.scale.isBlank()&&Bte[je](this.group,e,_,Y,q,L,z)},this)}},n.type="radiusAxis",n}(L1),Bte={splitLine:function(a,n,e,s,f,p){var h=n.getModel("splitLine"),_=h.getModel("lineStyle"),M=_.get("color"),L=0;M=M instanceof Array?M:[M];for(var z=[],Y=0;Y<p.length;Y++){var q=L++%M.length;z[q]=z[q]||[],z[q].push(new Um({shape:{cx:e.cx,cy:e.cy,r:Math.max(p[Y].coord,0)}}))}for(var Y=0;Y<z.length;Y++)a.add(zg(z[Y],{style:H.i({stroke:M[Y%M.length],fill:null},_.getLineStyle()),silent:!0}))},minorSplitLine:function(a,n,e,s,f,p,h){if(!!h.length){for(var _=n.getModel("minorSplitLine"),M=_.getModel("lineStyle"),L=[],z=0;z<h.length;z++)for(var Y=0;Y<h[z].length;Y++)L.push(new Um({shape:{cx:e.cx,cy:e.cy,r:h[z][Y].coord}}));a.add(zg(L,{style:H.i({fill:null},M.getLineStyle()),silent:!0}))}},splitArea:function(a,n,e,s,f,p){if(!!p.length){var h=n.getModel("splitArea"),_=h.getModel("areaStyle"),M=_.get("color"),L=0;M=M instanceof Array?M:[M];for(var z=[],Y=p[0].coord,q=1;q<p.length;q++){var se=L++%M.length;z[se]=z[se]||[],z[se].push(new bv({shape:{cx:e.cx,cy:e.cy,r0:Y,r:p[q].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),Y=p[q].coord}for(var q=0;q<z.length;q++)a.add(zg(z[q],{style:H.i({fill:M[q%M.length]},_.getAreaStyle()),silent:!0}))}}};function b2(a,n,e){return{position:[a.cx,a.cy],rotation:e/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:n.getModel("axisLabel").get("rotate"),z2:1}}var Sm=Ute;function Iv(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function dV(a,n){return n.dim+a.model.componentIndex}function jj(a,n,e){var s={},f=lg(H.n(n.getSeriesByType(a),function(p){return!n.isSeriesFiltered(p)&&p.coordinateSystem&&p.coordinateSystem.type==="polar"}));n.eachSeriesByType(a,function(p){if(p.coordinateSystem.type==="polar"){var h=p.getData(),_=p.coordinateSystem,M=_.getBaseAxis(),L=dV(_,M),z=Iv(p),Y=f[L][z],q=Y.offset,se=Y.width,ye=_.getOtherAxis(M),je=p.coordinateSystem.cx,De=p.coordinateSystem.cy,We=p.get("barMinHeight")||0,st=p.get("barMinAngle")||0;s[z]=s[z]||[];for(var dt=h.mapDimension(ye.dim),Mt=h.mapDimension(M.dim),nn=$y(h,dt),rn=M.dim!=="radius"||!p.get("roundCap",!0),Cn=ye.dataToCoord(0),er=0,ir=h.count();er<ir;er++){var dr=h.get(dt,er),pr=h.get(Mt,er),ia=dr>=0?"p":"n",pa=Cn;nn&&(s[z][pr]||(s[z][pr]={p:Cn,n:Cn}),pa=s[z][pr][ia]);var Ga=void 0,si=void 0,Bi=void 0,Go=void 0;if(ye.dim==="radius"){var Lo=ye.dataToCoord(dr)-Cn,Rs=M.dataToCoord(pr);Math.abs(Lo)<We&&(Lo=(Lo<0?-1:1)*We),Ga=pa,si=pa+Lo,Bi=Rs-q,Go=Bi-se,nn&&(s[z][pr][ia]=si)}else{var Ns=ye.dataToCoord(dr,rn)-Cn,Ds=M.dataToCoord(pr);Math.abs(Ns)<st&&(Ns=(Ns<0?-1:1)*st),Ga=Ds+q,si=Ga+se,Bi=pa,Go=pa+Ns,nn&&(s[z][pr][ia]=Go)}h.setItemLayout(er,{cx:je,cy:De,r0:Ga,r:si,startAngle:-Bi*Math.PI/180,endAngle:-Go*Math.PI/180,clockwise:Bi>=Go})}}})}function lg(a){var n={};H.k(a,function(s,f){var p=s.getData(),h=s.coordinateSystem,_=h.getBaseAxis(),M=dV(h,_),L=_.getExtent(),z=_.type==="category"?_.getBandWidth():Math.abs(L[1]-L[0])/p.count(),Y=n[M]||{bandWidth:z,remainedWidth:z,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},q=Y.stacks;n[M]=Y;var se=Iv(s);q[se]||Y.autoWidthCount++,q[se]=q[se]||{width:0,maxWidth:0};var ye=Mi(s.get("barWidth"),z),je=Mi(s.get("barMaxWidth"),z),De=s.get("barGap"),We=s.get("barCategoryGap");ye&&!q[se].width&&(ye=Math.min(Y.remainedWidth,ye),q[se].width=ye,Y.remainedWidth-=ye),je&&(q[se].maxWidth=je),De!=null&&(Y.gap=De),We!=null&&(Y.categoryGap=We)});var e={};return H.k(n,function(s,f){e[f]={};var p=s.stacks,h=s.bandWidth,_=Mi(s.categoryGap,h),M=Mi(s.gap,1),L=s.remainedWidth,z=s.autoWidthCount,Y=(L-_)/(z+(z-1)*M);Y=Math.max(Y,0),H.k(p,function(je,De){var We=je.maxWidth;We&&We<Y&&(We=Math.min(We,L),je.width&&(We=Math.min(We,je.width)),L-=We,je.width=We,z--)}),Y=(L-_)/(z+(z-1)*M),Y=Math.max(Y,0);var q=0,se;H.k(p,function(je,De){je.width||(je.width=Y),se=je,q+=je.width*(1+M)}),se&&(q-=se.width*M);var ye=-q/2;H.k(p,function(je,De){e[f][De]=e[f][De]||{offset:ye,width:je.width},ye+=je.width*(1+M)})}),e}var bL=jj,oh={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},Vte={splitNumber:5},Jm=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="polar",n}(Np);function fV(a){Dd(h2),L1.registerAxisPointerClass("PolarAxisPointer",jte),a.registerCoordinateSystem("polar",y2),a.registerComponentModel(Mte),a.registerComponentView(Jm),OC(a,"angle",rp,oh),OC(a,"radius",Pte,Vte),a.registerComponentView(sO),a.registerComponentView(Sm),a.registerLayout(Object(H.h)(bL,"bar"))}function Mj(a,n){n=n||{};var e=a.coordinateSystem,s=a.axis,f={},p=s.position,h=s.orient,_=e.getRect(),M=[_.x,_.x+_.width,_.y,_.y+_.height],L={horizontal:{top:M[2],bottom:M[3]},vertical:{left:M[0],right:M[1]}};f.position=[h==="vertical"?L.vertical[p]:M[0],h==="horizontal"?L.horizontal[p]:M[3]];var z={horizontal:0,vertical:1};f.rotation=Math.PI/2*z[h];var Y={top:-1,bottom:1,right:1,left:-1};f.labelDirection=f.tickDirection=f.nameDirection=Y[p],a.get(["axisTick","inside"])&&(f.tickDirection=-f.tickDirection),H.O(n.labelInside,a.get(["axisLabel","inside"]))&&(f.labelDirection=-f.labelDirection);var q=n.rotate;return q==null&&(q=a.get(["axisLabel","rotate"])),f.labelRotation=p==="top"?-q:q,f.z2=1,f}var zte=["axisLine","axisTickLabel","axisName"],Hte=["splitArea","splitLine"],OL=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="SingleAxisPointer",e}return n.prototype.render=function(e,s,f,p){var h=this.group;h.removeAll();var _=this._axisGroup;this._axisGroup=new _s;var M=Mj(e),L=new F0(e,M);H.k(zte,L.add,L),h.add(this._axisGroup),h.add(L.getGroup()),H.k(Hte,function(z){e.get([z,"show"])&&pV[z](this,this.group,this._axisGroup,e)},this),Wx(_,this._axisGroup,e),a.prototype.render.call(this,e,s,f,p)},n.prototype.remove=function(){P7(this)},n.type="singleAxis",n}(L1),pV={splitLine:function(a,n,e,s){var f=s.axis;if(!f.scale.isBlank()){var p=s.getModel("splitLine"),h=p.getModel("lineStyle"),_=h.get("color");_=_ instanceof Array?_:[_];for(var M=h.get("width"),L=s.coordinateSystem.getRect(),z=f.isHorizontal(),Y=[],q=0,se=f.getTicksCoords({tickModel:p}),ye=[],je=[],De=0;De<se.length;++De){var We=f.toGlobalCoord(se[De].coord);z?(ye[0]=We,ye[1]=L.y,je[0]=We,je[1]=L.y+L.height):(ye[0]=L.x,ye[1]=We,je[0]=L.x+L.width,je[1]=We);var st=new _h({shape:{x1:ye[0],y1:ye[1],x2:je[0],y2:je[1]},silent:!0});Wh(st.shape,M);var dt=q++%_.length;Y[dt]=Y[dt]||[],Y[dt].push(st)}for(var Mt=h.getLineStyle(["color"]),De=0;De<Y.length;++De)n.add(zg(Y[De],{style:H.i({stroke:_[De%_.length]},Mt),silent:!0}))}},splitArea:function(a,n,e,s){F1(a,e,s,s)}},Gte=OL,Pj=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.getCoordSysModel=function(){return this},n.type="singleAxis",n.layoutMode="box",n.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},n}(tf);Object(H.K)(Pj,CS.prototype);var J_=Pj,$te=function(a){Qe(n,a);function n(e,s,f,p,h){var _=a.call(this,e,s,f)||this;return _.type=p||"value",_.position=h||"bottom",_}return n.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},n.prototype.pointToData=function(e,s){return this.coordinateSystem.pointToData(e)[0]},n}(ym),CL=$te,vV=["single"],Wte=function(){function a(n,e,s){this.type="single",this.dimension="single",this.dimensions=vV,this.axisPointerEnabled=!0,this.model=n,this._init(n,e,s)}return a.prototype._init=function(n,e,s){var f=this.dimension,p=new CL(f,ek(n),[0,0],n.get("type"),n.get("position")),h=p.type==="category";p.onBand=h&&n.get("boundaryGap"),p.inverse=n.get("inverse"),p.orient=n.get("orient"),n.axis=p,p.model=n,p.coordinateSystem=this,this._axis=p},a.prototype.update=function(n,e){n.eachSeries(function(s){if(s.coordinateSystem===this){var f=s.getData();Object(H.k)(f.mapDimensionsAll(this.dimension),function(p){this._axis.scale.unionExtentFromData(f,p)},this),CC(this._axis.scale,this._axis.model)}},this)},a.prototype.resize=function(n,e){this._rect=Pv({left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},a.prototype.getRect=function(){return this._rect},a.prototype._adjustAxis=function(){var n=this._rect,e=this._axis,s=e.isHorizontal(),f=s?[0,n.width]:[0,n.height],p=e.inverse?1:0;e.setExtent(f[p],f[1-p]),this._updateAxisTransform(e,s?n.x:n.y)},a.prototype._updateAxisTransform=function(n,e){var s=n.getExtent(),f=s[0]+s[1],p=n.isHorizontal();n.toGlobalCoord=p?function(h){return h+e}:function(h){return f-h+e},n.toLocalCoord=p?function(h){return h-e}:function(h){return f-h+e}},a.prototype.getAxis=function(){return this._axis},a.prototype.getBaseAxis=function(){return this._axis},a.prototype.getAxes=function(){return[this._axis]},a.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},a.prototype.containPoint=function(n){var e=this.getRect(),s=this.getAxis(),f=s.orient;return f==="horizontal"?s.contain(s.toLocalCoord(n[0]))&&n[1]>=e.y&&n[1]<=e.y+e.height:s.contain(s.toLocalCoord(n[1]))&&n[0]>=e.y&&n[0]<=e.y+e.height},a.prototype.pointToData=function(n){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(n[e.orient==="horizontal"?0:1]))]},a.prototype.dataToPoint=function(n){var e=this.getAxis(),s=this.getRect(),f=[],p=e.orient==="horizontal"?0:1;return n instanceof Array&&(n=n[0]),f[p]=e.toGlobalCoord(e.dataToCoord(+n)),f[1-p]=p===0?s.y+s.height/2:s.x+s.width/2,f},a.prototype.convertToPixel=function(n,e,s){var f=Rj(e);return f===this?this.dataToPoint(s):null},a.prototype.convertFromPixel=function(n,e,s){var f=Rj(e);return f===this?this.pointToData(s):null},a}();function Rj(a){var n=a.seriesModel,e=a.singleAxisModel;return e&&e.coordinateSystem||n&&n.coordinateSystem}var Kte=Wte;function Dj(a,n){var e=[];return a.eachComponent("singleAxis",function(s,f){var p=new Kte(s,a,n);p.name="single_"+f,p.resize(s,n),s.coordinateSystem=p,e.push(p)}),a.eachSeries(function(s){if(s.get("coordinateSystem")==="singleAxis"){var f=s.getReferringComponents("singleAxis",Vu).models[0];s.coordinateSystem=f&&f.coordinateSystem}}),e}var Yte={create:Dj,dimensions:vV},Ij=Yte,hV=["x","y"],EL=["width","height"],gV=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.makeElOption=function(e,s,f,p,h){var _=f.axis,M=_.coordinateSystem,L=Qp(M,1-yb(_)),z=M.dataToPoint(s)[0],Y=p.get("type");if(Y&&Y!=="none"){var q=eV(p),se=Xte[Y](_,z,L);se.style=q,e.graphicKey=se.type,e.pointer=se}var ye=Mj(f);hte(s,e,ye,f,p,h)},n.prototype.getHandleTransform=function(e,s,f){var p=Mj(s,{labelInside:!1});p.labelMargin=f.get(["handle","margin"]);var h=tV(s.axis,e,p);return{x:h[0],y:h[1],rotation:p.rotation+(p.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(e,s,f,p){var h=f.axis,_=h.coordinateSystem,M=yb(h),L=Qp(_,M),z=[e.x,e.y];z[M]+=s[M],z[M]=Math.min(L[1],z[M]),z[M]=Math.max(L[0],z[M]);var Y=Qp(_,1-M),q=(Y[1]+Y[0])/2,se=[q,q];return se[M]=z[M],{x:z[0],y:z[1],rotation:e.rotation,cursorPoint:se,tooltipOption:{verticalAlign:"middle"}}},n}(Em),Xte={line:function(a,n,e){var s=pL([n,e[0]],[n,e[1]],yb(a));return{type:"Line",subPixelOptimize:!0,shape:s}},shadow:function(a,n,e){var s=a.getBandWidth(),f=e[1]-e[0];return{type:"Rect",shape:vL([n-s/2,e[0]],[s,f],yb(a))}}};function yb(a){return a.isHorizontal()?0:1}function Qp(a,n){var e=a.getRect();return[e[hV[n]],e[hV[n]]+e[EL[n]]]}var Jte=gV,xL=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="single",n}(Np);function Zte(a){Dd(h2),L1.registerAxisPointerClass("SingleAxisPointer",Jte),a.registerComponentView(xL),a.registerComponentView(Gte),a.registerComponentModel(J_),OC(a,"single",J_,J_.defaultOption),a.registerCoordinateSystem("single",Ij)}var Qte=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s,f){var p=Py(e);a.prototype.init.apply(this,arguments),mV(e,p)},n.prototype.mergeOption=function(e){a.prototype.mergeOption.apply(this,arguments),mV(this.option,e)},n.prototype.getCellSize=function(){return this.option.cellSize},n.type="calendar",n.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},n}(tf);function mV(a,n){var e=a.cellSize,s;H.t(e)?s=e:s=a.cellSize=[e,e],s.length===1&&(s[1]=s[0]);var f=H.H([0,1],function(p){return lF(n,p)&&(s[p]="auto"),s[p]!=null&&s[p]!=="auto"});k_(a,n,{type:"box",ignoreSize:f})}var O2=Qte,qte=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){var p=this.group;p.removeAll();var h=e.coordinateSystem,_=h.getRangeInfo(),M=h.getOrient(),L=s.getLocaleModel();this._renderDayRect(e,_,p),this._renderLines(e,_,M,p),this._renderYearText(e,_,M,p),this._renderMonthText(e,L,M,p),this._renderWeekText(e,L,_,M,p)},n.prototype._renderDayRect=function(e,s,f){for(var p=e.coordinateSystem,h=e.getModel("itemStyle").getItemStyle(),_=p.getCellWidth(),M=p.getCellHeight(),L=s.start.time;L<=s.end.time;L=p.getNextNDay(L,1).time){var z=p.dataToRect([L],!1).tl,Y=new Ic({shape:{x:z[0],y:z[1],width:_,height:M},cursor:"default",style:h});f.add(Y)}},n.prototype._renderLines=function(e,s,f,p){var h=this,_=e.coordinateSystem,M=e.getModel(["splitLine","lineStyle"]).getLineStyle(),L=e.get(["splitLine","show"]),z=M.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var Y=s.start,q=0;Y.time<=s.end.time;q++){ye(Y.formatedDate),q===0&&(Y=_.getDateInfo(s.start.y+"-"+s.start.m));var se=Y.date;se.setMonth(se.getMonth()+1),Y=_.getDateInfo(se)}ye(_.getNextNDay(s.end.time,1).formatedDate);function ye(je){h._firstDayOfMonth.push(_.getDateInfo(je)),h._firstDayPoints.push(_.dataToRect([je],!1).tl);var De=h._getLinePointsOfOneWeek(e,je,f);h._tlpoints.push(De[0]),h._blpoints.push(De[De.length-1]),L&&h._drawSplitline(De,M,p)}L&&this._drawSplitline(h._getEdgesPoints(h._tlpoints,z,f),M,p),L&&this._drawSplitline(h._getEdgesPoints(h._blpoints,z,f),M,p)},n.prototype._getEdgesPoints=function(e,s,f){var p=[e[0].slice(),e[e.length-1].slice()],h=f==="horizontal"?0:1;return p[0][h]=p[0][h]-s/2,p[1][h]=p[1][h]+s/2,p},n.prototype._drawSplitline=function(e,s,f){var p=new Cg({z2:20,shape:{points:e},style:s});f.add(p)},n.prototype._getLinePointsOfOneWeek=function(e,s,f){for(var p=e.coordinateSystem,h=p.getDateInfo(s),_=[],M=0;M<7;M++){var L=p.getNextNDay(h.time,M),z=p.dataToRect([L.time],!1);_[2*L.day]=z.tl,_[2*L.day+1]=z[f==="horizontal"?"bl":"tr"]}return _},n.prototype._formatterLabel=function(e,s){return Object(H.C)(e)&&e?XP(e,s):Object(H.w)(e)?e(s):s.nameMap},n.prototype._yearTextPositionControl=function(e,s,f,p,h){var _=s[0],M=s[1],L=["center","bottom"];p==="bottom"?(M+=h,L=["center","top"]):p==="left"?_-=h:p==="right"?(_+=h,L=["center","top"]):M-=h;var z=0;return(p==="left"||p==="right")&&(z=Math.PI/2),{rotation:z,x:_,y:M,style:{align:L[0],verticalAlign:L[1]}}},n.prototype._renderYearText=function(e,s,f,p){var h=e.getModel("yearLabel");if(!!h.get("show")){var _=h.get("margin"),M=h.get("position");M||(M=f!=="horizontal"?"top":"left");var L=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],z=(L[0][0]+L[1][0])/2,Y=(L[0][1]+L[1][1])/2,q=f==="horizontal"?0:1,se={top:[z,L[q][1]],bottom:[z,L[1-q][1]],left:[L[1-q][0],Y],right:[L[q][0],Y]},ye=s.start.y;+s.end.y>+s.start.y&&(ye=ye+"-"+s.end.y);var je=h.get("formatter"),De={start:s.start.y,end:s.end.y,nameMap:ye},We=this._formatterLabel(je,De),st=new Ho({z2:30,style:ep(h,{text:We})});st.attr(this._yearTextPositionControl(st,se[M],f,M,_)),p.add(st)}},n.prototype._monthTextPositionControl=function(e,s,f,p,h){var _="left",M="top",L=e[0],z=e[1];return f==="horizontal"?(z=z+h,s&&(_="center"),p==="start"&&(M="bottom")):(L=L+h,s&&(M="middle"),p==="start"&&(_="right")),{x:L,y:z,align:_,verticalAlign:M}},n.prototype._renderMonthText=function(e,s,f,p){var h=e.getModel("monthLabel");if(!!h.get("show")){var _=h.get("nameMap"),M=h.get("margin"),L=h.get("position"),z=h.get("align"),Y=[this._tlpoints,this._blpoints];(!_||Object(H.C)(_))&&(_&&(s=lx(_)||s),_=s.get(["time","monthAbbr"])||[]);var q=L==="start"?0:1,se=f==="horizontal"?0:1;M=L==="start"?-M:M;for(var ye=z==="center",je=0;je<Y[q].length-1;je++){var De=Y[q][je].slice(),We=this._firstDayOfMonth[je];if(ye){var st=this._firstDayPoints[je];De[se]=(st[se]+Y[0][je+1][se])/2}var dt=h.get("formatter"),Mt=_[+We.m-1],nn={yyyy:We.y,yy:(We.y+"").slice(2),MM:We.m,M:+We.m,nameMap:Mt},rn=this._formatterLabel(dt,nn),Cn=new Ho({z2:30,style:Object(H.m)(ep(h,{text:rn}),this._monthTextPositionControl(De,ye,f,L,M))});p.add(Cn)}}},n.prototype._weekTextPositionControl=function(e,s,f,p,h){var _="center",M="middle",L=e[0],z=e[1],Y=f==="start";return s==="horizontal"?(L=L+p+(Y?1:-1)*h[0]/2,_=Y?"right":"left"):(z=z+p+(Y?1:-1)*h[1]/2,M=Y?"bottom":"top"),{x:L,y:z,align:_,verticalAlign:M}},n.prototype._renderWeekText=function(e,s,f,p,h){var _=e.getModel("dayLabel");if(!!_.get("show")){var M=e.coordinateSystem,L=_.get("position"),z=_.get("nameMap"),Y=_.get("margin"),q=M.getFirstDayOfWeek();if(!z||Object(H.C)(z)){z&&(s=lx(z)||s);var se=s.get(["time","dayOfWeekShort"]);z=se||Object(H.H)(s.get(["time","dayOfWeekAbbr"]),function(nn){return nn[0]})}var ye=M.getNextNDay(f.end.time,7-f.lweek).time,je=[M.getCellWidth(),M.getCellHeight()];Y=Mi(Y,Math.min(je[1],je[0])),L==="start"&&(ye=M.getNextNDay(f.start.time,-(7+f.fweek)).time,Y=-Y);for(var De=0;De<7;De++){var We=M.getNextNDay(ye,De),st=M.dataToRect([We.time],!1).center,dt=De;dt=Math.abs((De+q)%7);var Mt=new Ho({z2:30,style:Object(H.m)(ep(_,{text:z[dt]}),this._weekTextPositionControl(st,p,L,Y,je))});h.add(Mt)}}},n.type="calendar",n}(Np),SL=qte,wL=864e5,C2=function(){function a(n,e,s){this.type="calendar",this.dimensions=a.dimensions,this.getDimensionsInfo=a.getDimensionsInfo,this._model=n}return a.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},a.prototype.getRangeInfo=function(){return this._rangeInfo},a.prototype.getModel=function(){return this._model},a.prototype.getRect=function(){return this._rect},a.prototype.getCellWidth=function(){return this._sw},a.prototype.getCellHeight=function(){return this._sh},a.prototype.getOrient=function(){return this._orient},a.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},a.prototype.getDateInfo=function(n){n=ct(n);var e=n.getFullYear(),s=n.getMonth()+1,f=s<10?"0"+s:""+s,p=n.getDate(),h=p<10?"0"+p:""+p,_=n.getDay();return _=Math.abs((_+7-this.getFirstDayOfWeek())%7),{y:e+"",m:f,d:h,day:_,time:n.getTime(),formatedDate:e+"-"+f+"-"+h,date:n}},a.prototype.getNextNDay=function(n,e){return e=e||0,e===0?this.getDateInfo(n):(n=new Date(this.getDateInfo(n).time),n.setDate(n.getDate()+e),this.getDateInfo(n))},a.prototype.update=function(n,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var s=this._rangeInfo.weeks||1,f=["width","height"],p=this._model.getCellSize().slice(),h=this._model.getBoxLayoutParams(),_=this._orient==="horizontal"?[s,7]:[7,s];H.k([0,1],function(Y){z(p,Y)&&(h[f[Y]]=p[Y]*_[Y])});var M={width:e.getWidth(),height:e.getHeight()},L=this._rect=Pv(h,M);H.k([0,1],function(Y){z(p,Y)||(p[Y]=L[f[Y]]/_[Y])});function z(Y,q){return Y[q]!=null&&Y[q]!=="auto"}this._sw=p[0],this._sh=p[1]},a.prototype.dataToPoint=function(n,e){H.t(n)&&(n=n[0]),e==null&&(e=!0);var s=this.getDateInfo(n),f=this._rangeInfo,p=s.formatedDate;if(e&&!(s.time>=f.start.time&&s.time<f.end.time+wL))return[NaN,NaN];var h=s.day,_=this._getRangeInfo([f.start.time,p]).nthWeek;return this._orient==="vertical"?[this._rect.x+h*this._sw+this._sw/2,this._rect.y+_*this._sh+this._sh/2]:[this._rect.x+_*this._sw+this._sw/2,this._rect.y+h*this._sh+this._sh/2]},a.prototype.pointToData=function(n){var e=this.pointToDate(n);return e&&e.time},a.prototype.dataToRect=function(n,e){var s=this.dataToPoint(n,e);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},a.prototype.pointToDate=function(n){var e=Math.floor((n[0]-this._rect.x)/this._sw)+1,s=Math.floor((n[1]-this._rect.y)/this._sh)+1,f=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,e-1,f):this._getDateByWeeksAndDay(e,s-1,f)},a.prototype.convertToPixel=function(n,e,s){var f=TL(e);return f===this?f.dataToPoint(s):null},a.prototype.convertFromPixel=function(n,e,s){var f=TL(e);return f===this?f.pointToData(s):null},a.prototype.containPoint=function(n){return console.warn("Not implemented."),!1},a.prototype._initRangeOption=function(){var n=this._model.get("range"),e;if(H.t(n)&&n.length===1&&(n=n[0]),H.t(n))e=n;else{var s=n.toString();if(/^\d{4}$/.test(s)&&(e=[s+"-01-01",s+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(s)){var f=this.getDateInfo(s),p=f.date;p.setMonth(p.getMonth()+1);var h=this.getNextNDay(p,-1);e=[f.formatedDate,h.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(s)&&(e=[s,s])}if(!e)return n;var _=this._getRangeInfo(e);return _.start.time>_.end.time&&e.reverse(),e},a.prototype._getRangeInfo=function(n){var e=[this.getDateInfo(n[0]),this.getDateInfo(n[1])],s;e[0].time>e[1].time&&(s=!0,e.reverse());var f=Math.floor(e[1].time/wL)-Math.floor(e[0].time/wL)+1,p=new Date(e[0].time),h=p.getDate(),_=e[1].date.getDate();p.setDate(h+f-1);var M=p.getDate();if(M!==_)for(var L=p.getTime()-e[1].time>0?1:-1;(M=p.getDate())!==_&&(p.getTime()-e[1].time)*L>0;)f-=L,p.setDate(M-L);var z=Math.floor((f+e[0].day+6)/7),Y=s?-z+1:z-1;return s&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:f,weeks:z,nthWeek:Y,fweek:e[0].day,lweek:e[1].day}},a.prototype._getDateByWeeksAndDay=function(n,e,s){var f=this._getRangeInfo(s);if(n>f.weeks||n===0&&e<f.fweek||n===f.weeks&&e>f.lweek)return null;var p=(n-1)*7-f.fweek+e,h=new Date(f.start.time);return h.setDate(+f.start.d+p),this.getDateInfo(h)},a.create=function(n,e){var s=[];return n.eachComponent("calendar",function(f){var p=new a(f,n,e);s.push(p),f.coordinateSystem=p}),n.eachSeries(function(f){f.get("coordinateSystem")==="calendar"&&(f.coordinateSystem=s[f.get("calendarIndex")||0])}),s},a.dimensions=["time","value"],a}();function TL(a){var n=a.calendarModel,e=a.seriesModel,s=n?n.coordinateSystem:e?e.coordinateSystem:null;return s}var ene=C2;function tne(a){a.registerComponentModel(O2),a.registerComponentView(SL),a.registerCoordinateSystem("calendar",ene)}function _V(a,n){var e=a.existing;if(n.id=a.keyInfo.id,!n.type&&e&&(n.type=e.type),n.parentId==null){var s=n.parentOption;s?n.parentId=s.id:e&&(n.parentId=e.parentId)}n.parentOption=null}function yV(a,n){var e;return H.k(n,function(s){a[s]!=null&&a[s]!=="auto"&&(e=!0)}),e}function bV(a,n,e){var s=H.m({},e),f=a[n],p=e.$action||"merge";if(p==="merge")if(f){if(!1)var h;H.I(f,s,!0),k_(f,s,{ignoreSize:!0}),ST(e,f),nf(e,f),nf(e,f,"shape"),nf(e,f,"style"),nf(e,f,"extra"),e.clipPath=f.clipPath}else a[n]=s;else p==="replace"?a[n]=s:p==="remove"&&f&&(a[n]=null)}var yf=["transition","enterFrom","leaveTo"],nne=yf.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function nf(a,n,e){if(e&&(!a[e]&&n[e]&&(a[e]={}),a=a[e],n=n[e]),!(!a||!n))for(var s=e?yf:nne,f=0;f<s.length;f++){var p=s[f];a[p]==null&&n[p]!=null&&(a[p]=n[p])}}function vf(a,n){if(!!a&&(a.hv=n.hv=[yV(n,["left","right"]),yV(n,["top","bottom"])],a.type==="group")){var e=a,s=n;e.width==null&&(e.width=s.width=0),e.height==null&&(e.height=s.height=0)}}var Zm=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.preventAutoZ=!0,e}return n.prototype.mergeOption=function(e,s){var f=this.option.elements;this.option.elements=null,a.prototype.mergeOption.call(this,e,s),this.option.elements=f},n.prototype.optionUpdated=function(e,s){var f=this.option,p=(s?f:e).elements,h=f.elements=s?[]:f.elements,_=[];this._flatten(p,_,null);var M=Jr(h,_,"normalMerge"),L=this._elOptionsToUpdate=[];H.k(M,function(z,Y){var q=z.newOption;!q||(L.push(q),_V(z,q),bV(h,Y,q),vf(h[Y],q))},this),f.elements=H.n(h,function(z){return z&&delete z.$action,z!=null})},n.prototype._flatten=function(e,s,f){H.k(e,function(p){if(!!p){f&&(p.parentOption=f),s.push(p);var h=p.children;h&&h.length&&this._flatten(h,s,p),delete p.children}},this)},n.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},n.type="graphic",n.defaultOption={elements:[]},n}(tf),bf={path:null,compoundPath:null,group:_s,image:Gi,text:Ho},qg=ol(),E2=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(){this._elMap=H.f()},n.prototype.render=function(e,s,f){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,f)},n.prototype._updateElements=function(e){var s=e.useElOptionsToUpdate();if(!!s){var f=this._elMap,p=this.group,h=e.get("z"),_=e.get("zlevel");H.k(s,function(M){var L=Ms(M.id,null),z=L!=null?f.get(L):null,Y=Ms(M.parentId,null),q=Y!=null?f.get(Y):p,se=M.type,ye=M.style;se==="text"&&ye&&M.hv&&M.hv[1]&&(ye.textVerticalAlign=ye.textBaseline=ye.verticalAlign=ye.align=null);var je=M.textContent,De=M.textConfig;if(ye&&L9(ye,se,!!De,!!je)){var We=F9(ye,se,!0);!De&&We.textConfig&&(De=M.textConfig=We.textConfig),!je&&We.textContent&&(je=We.textContent)}var st=rne(M),dt=M.$action||"merge",Mt=dt==="merge",nn=dt==="replace";if(Mt){var rn=!z,Cn=z;rn?Cn=OV(L,q,M.type,f):(Cn&&(qg(Cn).isNew=!1),KC(Cn)),Cn&&(d2(Cn,st,e,{isInit:rn}),x2(Cn,M,h,_))}else if(nn){cO(z,M,f,e);var er=OV(L,q,M.type,f);er&&(d2(er,st,e,{isInit:!0}),x2(er,M,h,_))}else dt==="remove"&&(Zg(z,M),cO(z,M,f,e));var ir=f.get(L);if(ir&&je)if(Mt){var dr=ir.getTextContent();dr?dr.attr(je):ir.setTextContent(new Ho(je))}else nn&&ir.setTextContent(new Ho(je));if(ir){var pr=M.clipPath;if(pr){var ia=pr.type,pa=void 0,rn=!1;if(Mt){var Ga=ir.getClipPath();rn=!Ga||qg(Ga).type!==ia,pa=rn?AL(ia):Ga}else nn&&(rn=!0,pa=AL(ia));ir.setClipPath(pa),d2(pa,pr,e,{isInit:rn}),nO(pa,pr.keyframeAnimation,e)}var si=qg(ir);ir.setTextConfig(De),si.option=M,QC(ir,e,M),nC({el:ir,componentModel:e,itemName:ir.name,itemTooltipOption:M.tooltip}),nO(ir,M.keyframeAnimation,e)}})}},n.prototype._relocate=function(e,s){for(var f=e.option.elements,p=this.group,h=this._elMap,_=s.getWidth(),M=s.getHeight(),L=["x","y"],z=0;z<f.length;z++){var Y=f[z],q=Ms(Y.id,null),se=q!=null?h.get(q):null;if(!(!se||!se.isGroup)){var ye=se.parent,je=ye===p,De=qg(se),We=qg(ye);De.width=Mi(De.option.width,je?_:We.width)||0,De.height=Mi(De.option.height,je?M:We.height)||0}}for(var z=f.length-1;z>=0;z--){var Y=f[z],q=Ms(Y.id,null),se=q!=null?h.get(q):null;if(!!se){var ye=se.parent,We=qg(ye),st=ye===p?{width:_,height:M}:{width:We.width,height:We.height},dt={},Mt=r1(se,Y,st,null,{hv:Y.hv,boundingMode:Y.bounding},dt);if(!qg(se).isNew&&Mt){for(var nn=Y.transition,rn={},Cn=0;Cn<L.length;Cn++){var er=L[Cn],ir=dt[er];nn&&(Tg(nn)||H.r(nn,er)>=0)?rn[er]=ir:se[er]=ir}pf(se,rn,e,0)}else se.attr(dt)}}},n.prototype._clear=function(){var e=this,s=this._elMap;s.each(function(f){cO(f,qg(f).option,s,e._lastGraphicModel)}),this._elMap=H.f()},n.prototype.dispose=function(){this._clear()},n.type="graphic",n}(Np);function AL(a){var n=H.q(bf,a)?bf[a]:qO(a),e=new n({});return qg(e).type=a,e}function OV(a,n,e,s){var f=AL(e);return n.add(f),s.set(a,f),qg(f).id=a,qg(f).isNew=!0,f}function cO(a,n,e,s){var f=a&&a.parent;f&&(a.type==="group"&&a.traverse(function(p){cO(p,n,e,s)}),mj(a,n,s),e.removeKey(qg(a).id))}function x2(a,n,e,s){a.isGroup||H.k([["cursor",so.prototype.cursor],["zlevel",s||0],["z",e||0],["z2",0]],function(f){var p=f[0];H.q(n,p)?a[p]=H.P(n[p],f[1]):a[p]==null&&(a[p]=f[1])}),H.k(H.F(n),function(f){if(f.indexOf("on")===0){var p=n[f];a[f]=H.w(p)?p:null}}),H.q(n,"draggable")&&(a.draggable=n.draggable),n.name!=null&&(a.name=n.name),n.id!=null&&(a.id=n.id)}function rne(a){return a=H.m({},a),H.k(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(BO),function(n){delete a[n]}),a}function QC(a,n,e){var s=sc(a).eventData;!a.silent&&!a.ignore&&!s&&(s=sc(a).eventData={componentType:"graphic",componentIndex:n.componentIndex,name:a.name}),s&&(s.info=e.info)}function ane(a){a.registerComponentModel(Zm),a.registerComponentView(E2),a.registerPreprocessor(function(n){var e=n.graphic;Object(H.t)(e)?!e[0]||!e[0].elements?n.graphic=[{elements:e}]:n.graphic=[n.graphic[0]]:e&&!e.elements&&(n.graphic=[{elements:[e]}])})}var Qm=["x","y","radius","angle","single"],kL=["cartesian2d","polar","singleAxis"];function kg(a){var n=a.get("coordinateSystem");return Object(H.r)(kL,n)>=0}function wm(a){return a+"Axis"}function CV(a){return a+"AxisIndex"}function ine(a){return a+"AxisId"}function EV(a,n){var e=Object(H.f)(),s=[],f=Object(H.f)();a.eachComponent({mainType:"dataZoom",query:n},function(z){f.get(z.uid)||_(z)});var p;do p=!1,a.eachComponent("dataZoom",h);while(p);function h(z){!f.get(z.uid)&&M(z)&&(_(z),p=!0)}function _(z){f.set(z.uid,!0),s.push(z),L(z)}function M(z){var Y=!1;return z.eachTargetAxis(function(q,se){var ye=e.get(q);ye&&ye[se]&&(Y=!0)}),Y}function L(z){z.eachTargetAxis(function(Y,q){(e.get(Y)||e.set(Y,[]))[q]=!0})}return s}function xV(a){var n=a.ecModel,e={infoList:[],infoMap:Object(H.f)()};return a.eachTargetAxis(function(s,f){var p=n.getComponent(wm(s),f);if(!!p){var h=p.getCoordSysModel();if(!!h){var _=h.uid,M=e.infoMap.get(_);M||(M={model:h,axisModels:[]},e.infoList.push(M),e.infoMap.set(_,M)),M.axisModels.push(p)}}}),e}var Nj=function(){function a(){this.indexList=[],this.indexMap=[]}return a.prototype.add=function(n){this.indexMap[n]||(this.indexList.push(n),this.indexMap[n]=!0)},a}(),ou=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return n.prototype.init=function(e,s,f){var p=Of(e);this.settledOption=p,this.mergeDefaultAndTheme(e,f),this._doInit(p)},n.prototype.mergeOption=function(e){var s=Of(e);Object(H.I)(this.option,e,!0),Object(H.I)(this.settledOption,s,!0),this._doInit(s)},n.prototype._doInit=function(e){var s=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var f=this.settledOption;Object(H.k)([["start","startValue"],["end","endValue"]],function(p,h){this._rangePropMode[h]==="value"&&(s[p[0]]=f[p[0]]=null)},this),this._resetTarget()},n.prototype._resetTarget=function(){var e=this.get("orient",!0),s=this._targetAxisInfoMap=Object(H.f)(),f=this._fillSpecifiedTargetAxis(s);f?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(s,this._orient)),this._noTarget=!0,s.each(function(p){p.indexList.length&&(this._noTarget=!1)},this)},n.prototype._fillSpecifiedTargetAxis=function(e){var s=!1;return Object(H.k)(Qm,function(f){var p=this.getReferringComponents(wm(f),lf);if(!!p.specified){s=!0;var h=new Nj;Object(H.k)(p.models,function(_){h.add(_.componentIndex)}),e.set(f,h)}},this),s},n.prototype._fillAutoTargetAxisByOrient=function(e,s){var f=this.ecModel,p=!0;if(p){var h=s==="vertical"?"y":"x",_=f.findComponents({mainType:h+"Axis"});M(_,h)}if(p){var _=f.findComponents({mainType:"singleAxis",filter:function(z){return z.get("orient",!0)===s}});M(_,"single")}function M(L,z){var Y=L[0];if(!!Y){var q=new Nj;if(q.add(Y.componentIndex),e.set(z,q),p=!1,z==="x"||z==="y"){var se=Y.getReferringComponents("grid",Vu).models[0];se&&Object(H.k)(L,function(ye){Y.componentIndex!==ye.componentIndex&&se===ye.getReferringComponents("grid",Vu).models[0]&&q.add(ye.componentIndex)})}}}p&&Object(H.k)(Qm,function(L){if(!!p){var z=f.findComponents({mainType:wm(L),filter:function(q){return q.get("type",!0)==="category"}});if(z[0]){var Y=new Nj;Y.add(z[0].componentIndex),e.set(L,Y),p=!1}}},this)},n.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(s){!e&&(e=s)},this),e==="y"?"vertical":"horizontal"},n.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},n.prototype._updateRangeUse=function(e){var s=this._rangePropMode,f=this.get("rangeMode");Object(H.k)([["start","startValue"],["end","endValue"]],function(p,h){var _=e[p[0]]!=null,M=e[p[1]]!=null;_&&!M?s[h]="percent":!_&&M?s[h]="value":f?s[h]=f[h]:_&&(s[h]="percent")})},n.prototype.noTarget=function(){return this._noTarget},n.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(s,f){e==null&&(e=this.ecModel.getComponent(wm(s),f))},this),e},n.prototype.eachTargetAxis=function(e,s){this._targetAxisInfoMap.each(function(f,p){Object(H.k)(f.indexList,function(h){e.call(s,p,h)})})},n.prototype.getAxisProxy=function(e,s){var f=this.getAxisModel(e,s);if(f)return f.__dzAxisProxy},n.prototype.getAxisModel=function(e,s){var f=this._targetAxisInfoMap.get(e);if(f&&f.indexMap[s])return this.ecModel.getComponent(wm(e),s)},n.prototype.setRawRange=function(e){var s=this.option,f=this.settledOption;Object(H.k)([["start","startValue"],["end","endValue"]],function(p){(e[p[0]]!=null||e[p[1]]!=null)&&(s[p[0]]=f[p[0]]=e[p[0]],s[p[1]]=f[p[1]]=e[p[1]])},this),this._updateRangeUse(e)},n.prototype.setCalculatedRange=function(e){var s=this.option;Object(H.k)(["start","startValue","end","endValue"],function(f){s[f]=e[f]})},n.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},n.prototype.getValueRange=function(e,s){if(e==null&&s==null){var f=this.findRepresentativeAxisProxy();if(f)return f.getDataValueWindow()}else return this.getAxisProxy(e,s).getDataValueWindow()},n.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var s,f=this._targetAxisInfoMap.keys(),p=0;p<f.length;p++)for(var h=f[p],_=this._targetAxisInfoMap.get(h),M=0;M<_.indexList.length;M++){var L=this.getAxisProxy(h,_.indexList[M]);if(L.hostedBy(this))return L;s||(s=L)}return s},n.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},n.prototype.getOrient=function(){return this._orient},n.type="dataZoom",n.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],n.defaultOption={z:4,filterMode:"filter",start:0,end:100},n}(tf);function Of(a){var n={};return Object(H.k)(["start","end","startValue","endValue","throttle"],function(e){a.hasOwnProperty(e)&&(n[e]=a[e])}),n}var sh=ou,one=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="dataZoom.select",n}(sh),jL=one,ML=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f,p){this.dataZoomModel=e,this.ecModel=s,this.api=f},n.type="dataZoom",n}(Np),S2=ML,Lj=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="dataZoom.select",n}(S2),SV=Lj,bb=H.k,lO=oc,wV=function(){function a(n,e,s,f){this._dimName=n,this._axisIndex=e,this.ecModel=f,this._dataZoomModel=s}return a.prototype.hostedBy=function(n){return this._dataZoomModel===n},a.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},a.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},a.prototype.getTargetSeriesModels=function(){var n=[];return this.ecModel.eachSeries(function(e){if(kg(e)){var s=wm(this._dimName),f=e.getReferringComponents(s,Vu).models[0];f&&this._axisIndex===f.componentIndex&&n.push(e)}},this),n},a.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},a.prototype.getMinMaxSpan=function(){return H.d(this._minMaxSpan)},a.prototype.calculateDataWindow=function(n){var e=this._dataExtent,s=this.getAxisModel(),f=s.axis.scale,p=this._dataZoomModel.getRangePropMode(),h=[0,100],_=[],M=[],L;bb(["start","end"],function(q,se){var ye=n[q],je=n[q+"Value"];p[se]==="percent"?(ye==null&&(ye=h[se]),je=f.parse(Yo(ye,h,e))):(L=!0,je=je==null?e[se]:f.parse(je),ye=Yo(je,e,h)),M[se]=je==null||isNaN(je)?e[se]:je,_[se]=ye==null||isNaN(ye)?h[se]:ye}),lO(M),lO(_);var z=this._minMaxSpan;L?Y(M,_,e,h,!1):Y(_,M,h,e,!0);function Y(q,se,ye,je,De){var We=De?"Span":"ValueSpan";Om(0,q,ye,"all",z["min"+We],z["max"+We]);for(var st=0;st<2;st++)se[st]=Yo(q[st],ye,je,!0),De&&(se[st]=f.parse(se[st]))}return{valueWindow:M,percentWindow:_}},a.prototype.reset=function(n){if(n===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=TV(this,this._dimName,e),this._updateMinMaxSpan();var s=this.calculateDataWindow(n.settledOption);this._valueWindow=s.valueWindow,this._percentWindow=s.percentWindow,this._setAxisModel()}},a.prototype.filterData=function(n,e){if(n!==this._dataZoomModel)return;var s=this._dimName,f=this.getTargetSeriesModels(),p=n.get("filterMode"),h=this._valueWindow;if(p==="none")return;bb(f,function(M){var L=M.getData(),z=L.mapDimensionsAll(s);if(!!z.length){if(p==="weakFilter"){var Y=L.getStore(),q=H.H(z,function(se){return L.getDimensionIndex(se)},L);L.filterSelf(function(se){for(var ye,je,De,We=0;We<z.length;We++){var st=Y.get(q[We],se),dt=!isNaN(st),Mt=st<h[0],nn=st>h[1];if(dt&&!Mt&&!nn)return!0;dt&&(De=!0),Mt&&(ye=!0),nn&&(je=!0)}return De&&ye&&je})}else bb(z,function(se){if(p==="empty")M.setData(L=L.map(se,function(je){return _(je)?je:NaN}));else{var ye={};ye[se]=h,L.selectRange(ye)}});bb(z,function(se){L.setApproximateExtent(h,se)})}});function _(M){return M>=h[0]&&M<=h[1]}},a.prototype._updateMinMaxSpan=function(){var n=this._minMaxSpan={},e=this._dataZoomModel,s=this._dataExtent;bb(["min","max"],function(f){var p=e.get(f+"Span"),h=e.get(f+"ValueSpan");h!=null&&(h=this.getAxisModel().axis.scale.parse(h)),h!=null?p=Yo(s[0]+h,s,[0,100],!0):p!=null&&(h=Yo(p,[0,100],s,!0)-s[0]),n[f+"Span"]=p,n[f+"ValueSpan"]=h},this)},a.prototype._setAxisModel=function(){var n=this.getAxisModel(),e=this._percentWindow,s=this._valueWindow;if(!!e){var f=Nl(s,[0,500]);f=Math.min(f,20);var p=n.axis.scale.rawExtentInfo;e[0]!==0&&p.setDeterminedMinMax("min",+s[0].toFixed(f)),e[1]!==100&&p.setDeterminedMinMax("max",+s[1].toFixed(f)),p.freeze()}},a}();function TV(a,n,e){var s=[Infinity,-Infinity];bb(e,function(h){uJ(s,h.getData(),n)});var f=a.getAxisModel(),p=f7(f.axis.scale,f,s).calculate();return[p.min,p.max]}var PL=wV,ug={getTargetSeries:function(a){function n(f){a.eachComponent("dataZoom",function(p){p.eachTargetAxis(function(h,_){var M=a.getComponent(wm(h),_);f(h,_,M,p)})})}n(function(f,p,h,_){h.__dzAxisProxy=null});var e=[];n(function(f,p,h,_){h.__dzAxisProxy||(h.__dzAxisProxy=new PL(f,p,_,a),e.push(h.__dzAxisProxy))});var s=Object(H.f)();return Object(H.k)(e,function(f){Object(H.k)(f.getTargetSeriesModels(),function(p){s.set(p.uid,p)})}),s},overallReset:function(a,n){a.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(s,f){e.getAxisProxy(s,f).reset(e)}),e.eachTargetAxis(function(s,f){e.getAxisProxy(s,f).filterData(e,n)})}),a.eachComponent("dataZoom",function(e){var s=e.findRepresentativeAxisProxy();if(s){var f=s.getDataPercentWindow(),p=s.getDataValueWindow();e.setCalculatedRange({start:f[0],end:f[1],startValue:p[0],endValue:p[1]})}})}},RL=ug;function DL(a){a.registerAction("dataZoom",function(n,e){var s=EV(e,n);Object(H.k)(s,function(f){f.setRawRange({start:n.start,end:n.end,startValue:n.startValue,endValue:n.endValue})})})}var qC=!1;function Ep(a){qC||(qC=!0,a.registerProcessor(a.PRIORITY.PROCESSOR.FILTER,RL),DL(a),a.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function sne(a){a.registerComponentModel(jL),a.registerComponentView(SV),Ep(a)}var em=function(){function a(){}return a}(),IL={};function eE(a,n){IL[a]=n}function Pf(a){return IL[a]}var Up=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.optionUpdated=function(){a.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;H.k(this.option.feature,function(s,f){var p=Pf(f);p&&(p.getDefaultOption&&(p.defaultOption=p.getDefaultOption(e)),H.I(s,p.defaultOption))})},n.type="toolbox",n.layoutMode={type:"box",ignoreSize:!0},n.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},n}(tf),qu=Up;function tE(a,n,e){var s=n.getBoxLayoutParams(),f=n.get("padding"),p={width:e.getWidth(),height:e.getHeight()},h=Pv(s,p,f);x0(n.get("orient"),a,n.get("itemGap"),h.width,h.height),r1(a,s,p,f)}function Nv(a,n){var e=C0(n.get("padding")),s=n.getItemStyle(["color","opacity"]);return s.fill=n.get("backgroundColor"),a=new Ic({shape:{x:a.x-e[3],y:a.y-e[0],width:a.width+e[1]+e[3],height:a.height+e[0]+e[2],r:n.get("borderRadius")},style:s,silent:!0,z2:-1}),a}var AV=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.render=function(e,s,f,p){var h=this.group;if(h.removeAll(),!e.get("show"))return;var _=+e.get("itemSize"),M=e.get("orient")==="vertical",L=e.get("feature")||{},z=this._features||(this._features={}),Y=[];H.k(L,function(ye,je){Y.push(je)}),new D0(this._featureNames||[],Y).add(q).update(q).remove(H.h(q,null)).execute(),this._featureNames=Y;function q(ye,je){var De=Y[ye],We=Y[je],st=L[De],dt=new tp(st,e,e.ecModel),Mt;if(p&&p.newTitle!=null&&p.featureName===De&&(st.title=p.newTitle),De&&!We){if(cne(De))Mt={onclick:dt.option.onclick,featureName:De};else{var nn=Pf(De);if(!nn)return;Mt=new nn}z[De]=Mt}else if(Mt=z[We],!Mt)return;Mt.uid=fm("toolbox-feature"),Mt.model=dt,Mt.ecModel=s,Mt.api=f;var rn=Mt instanceof em;if(!De&&We){rn&&Mt.dispose&&Mt.dispose(s,f);return}if(!dt.get("show")||rn&&Mt.unusable){rn&&Mt.remove&&Mt.remove(s,f);return}se(dt,Mt,De),dt.setIconStatus=function(Cn,er){var ir=this.option,dr=this.iconPaths;ir.iconStatus=ir.iconStatus||{},ir.iconStatus[Cn]=er,dr[Cn]&&(er==="emphasis"?C_:wh)(dr[Cn])},Mt instanceof em&&Mt.render&&Mt.render(dt,s,f,p)}function se(ye,je,De){var We=ye.getModel("iconStyle"),st=ye.getModel(["emphasis","iconStyle"]),dt=je instanceof em&&je.getIcons?je.getIcons():ye.get("icon"),Mt=ye.get("title")||{},nn,rn;H.C(dt)?(nn={},nn[De]=dt):nn=dt,H.C(Mt)?(rn={},rn[De]=Mt):rn=Mt;var Cn=ye.iconPaths={};H.k(nn,function(er,ir){var dr=tC(er,{},{x:-_/2,y:-_/2,width:_,height:_});dr.setStyle(We.getItemStyle());var pr=dr.ensureState("emphasis");pr.style=st.getItemStyle();var ia=new Ho({style:{text:rn[ir],align:st.get("textAlign"),borderRadius:st.get("textBorderRadius"),padding:st.get("textPadding"),fill:null},ignore:!0});dr.setTextContent(ia),nC({el:dr,componentModel:e,itemName:ir,formatterParamsExtra:{title:rn[ir]}}),dr.__title=rn[ir],dr.on("mouseover",function(){var pa=st.getItemStyle(),Ga=M?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";ia.setStyle({fill:st.get("textFill")||pa.fill||pa.stroke||"#000",backgroundColor:st.get("textBackgroundColor")}),dr.setTextConfig({position:st.get("textPosition")||Ga}),ia.ignore=!e.get("showTitle"),f.enterEmphasis(this)}).on("mouseout",function(){ye.get(["iconStatus",ir])!=="emphasis"&&f.leaveEmphasis(this),ia.hide()}),(ye.get(["iconStatus",ir])==="emphasis"?C_:wh)(dr),h.add(dr),dr.on("click",H.c(je.onclick,je,s,f,ir)),Cn[ir]=dr})}tE(h,e,f),h.add(Nv(h.getBoundingRect(),e)),M||h.eachChild(function(ye){var je=ye.__title,De=ye.ensureState("emphasis"),We=De.textConfig||(De.textConfig={}),st=ye.getTextContent(),dt=st&&st.ensureState("emphasis");if(dt&&!H.w(dt)&&je){var Mt=dt.style||(dt.style={}),nn=Rl(je,Ho.makeFont(Mt)),rn=ye.x+h.x,Cn=ye.y+h.y+_,er=!1;Cn+nn.height>f.getHeight()&&(We.position="top",er=!0);var ir=er?-5-nn.height:_+10;rn+nn.width/2>f.getWidth()?(We.position=["100%",ir],Mt.align="right"):rn-nn.width/2<0&&(We.position=[0,ir],Mt.align="left")}})},n.prototype.updateView=function(e,s,f,p){H.k(this._features,function(h){h instanceof em&&h.updateView&&h.updateView(h.model,s,f,p)})},n.prototype.remove=function(e,s){H.k(this._features,function(f){f instanceof em&&f.remove&&f.remove(e,s)}),this.group.removeAll()},n.prototype.dispose=function(e,s){H.k(this._features,function(f){f instanceof em&&f.dispose&&f.dispose(e,s)})},n.type="toolbox",n}(Np);function cne(a){return a.indexOf("my")===0}var lne=AV,kV=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.onclick=function(e,s){var f=this.model,p=f.get("name")||e.get("title.0.text")||"echarts",h=s.getZr().painter.getType()==="svg",_=h?"svg":f.get("type",!0)||"png",M=s.getConnectedDataURL({type:_,backgroundColor:f.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:f.get("connectedBackgroundColor"),excludeComponents:f.get("excludeComponents"),pixelRatio:f.get("pixelRatio")}),L=Bt.a.browser;if(Object(H.w)(MouseEvent)&&(L.newEdge||!L.ie&&!L.edge)){var z=document.createElement("a");z.download=p+"."+_,z.target="_blank",z.href=M;var Y=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});z.dispatchEvent(Y)}else if(window.navigator.msSaveOrOpenBlob||h){var q=M.split(","),se=q[0].indexOf("base64")>-1,ye=h?decodeURIComponent(q[1]):q[1];se&&(ye=window.atob(ye));var je=p+"."+_;if(window.navigator.msSaveOrOpenBlob){for(var De=ye.length,We=new Uint8Array(De);De--;)We[De]=ye.charCodeAt(De);var st=new Blob([We]);window.navigator.msSaveOrOpenBlob(st,je)}else{var dt=document.createElement("iframe");document.body.appendChild(dt);var Mt=dt.contentWindow,nn=Mt.document;nn.open("image/svg+xml","replace"),nn.write(ye),nn.close(),Mt.focus(),nn.execCommand("SaveAs",!0,je),document.body.removeChild(dt)}}else{var rn=f.get("lang"),Cn='<body style="margin:0;"><img src="'+M+'" style="max-width:100%;" title="'+(rn&&rn[0]||"")+'" /></body>',er=window.open();er.document.write(Cn),er.document.title=p}},n.getDefaultOption=function(e){var s={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return s},n}(em),jV=kV,NL="__ec_magicType_stack__",une=["line","bar","stack"],dne=["line","bar","stack","tiled"],MV=[["line","bar"],["stack"]],fne=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.getIcons=function(){var e=this.model,s=e.get("icon"),f={};return H.k(e.get("type"),function(p){s[p]&&(f[p]=s[p])}),f},n.getDefaultOption=function(e){var s={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return s},n.prototype.onclick=function(e,s,f){var p=this.model,h=p.get(["seriesIndex",f]);if(!!PV[f]){var _={series:[]},M=function(Y){var q=Y.subType,se=Y.id,ye=PV[f](q,se,Y,p);ye&&(H.i(ye,Y.option),_.series.push(ye));var je=Y.coordinateSystem;if(je&&je.type==="cartesian2d"&&(f==="line"||f==="bar")){var De=je.getAxesByScale("ordinal")[0];if(De){var We=De.dim,st=We+"Axis",dt=Y.getReferringComponents(st,Vu).models[0],Mt=dt.componentIndex;_[st]=_[st]||[];for(var nn=0;nn<=Mt;nn++)_[st][Mt]=_[st][Mt]||{};_[st][Mt].boundaryGap=f==="bar"}}};H.k(MV,function(Y){H.r(Y,f)>=0&&H.k(Y,function(q){p.setIconStatus(q,"normal")})}),p.setIconStatus(f,"emphasis"),e.eachComponent({mainType:"series",query:h==null?null:{seriesIndex:h}},M);var L,z=f;f==="stack"&&(L=H.I({stack:p.option.title.tiled,tiled:p.option.title.stack},p.option.title),p.get(["iconStatus",f])!=="emphasis"&&(z="tiled")),s.dispatchAction({type:"changeMagicType",currentType:z,newOption:_,newTitle:L,featureName:"magicType"})}},n}(em),PV={line:function(a,n,e,s){if(a==="bar")return H.I({id:n,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},s.get(["option","line"])||{},!0)},bar:function(a,n,e,s){if(a==="line")return H.I({id:n,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},s.get(["option","bar"])||{},!0)},stack:function(a,n,e,s){var f=e.get("stack")===NL;if(a==="line"||a==="bar")return s.setIconStatus("stack",f?"normal":"emphasis"),H.I({id:n,stack:f?"":NL},s.get(["option","stack"])||{},!0)}};I_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(a,n){n.mergeOption(a.newOption)});var RV=fne,w2=new Array(60).join("-"),nE=" ";function uO(a){var n={},e=[],s=[];return a.eachRawSeries(function(f){var p=f.coordinateSystem;if(p&&(p.type==="cartesian2d"||p.type==="polar")){var h=p.getBaseAxis();if(h.type==="category"){var _=h.dim+"_"+h.index;n[_]||(n[_]={categoryAxis:h,valueAxis:p.getOtherAxis(h),series:[]},s.push({axisDim:h.dim,axisIndex:h.index})),n[_].series.push(f)}else e.push(f)}else e.push(f)}),{seriesGroupByCategoryAxis:n,other:e,meta:s}}function pne(a){var n=[];return H.k(a,function(e,s){var f=e.categoryAxis,p=e.valueAxis,h=p.dim,_=[" "].concat(H.H(e.series,function(se){return se.name})),M=[f.model.getCategories()];H.k(e.series,function(se){var ye=se.getRawData();M.push(se.getRawData().mapArray(ye.mapDimension(h),function(je){return je}))});for(var L=[_.join(nE)],z=0;z<M[0].length;z++){for(var Y=[],q=0;q<M.length;q++)Y.push(M[q][z]);L.push(Y.join(nE))}n.push(L.join(`
`))}),n.join(`
`+w2+`
`)}function DV(a){return H.H(a,function(n){var e=n.getRawData(),s=[n.name],f=[];return e.each(e.dimensions,function(){for(var p=arguments.length,h=arguments[p-1],_=e.getName(h),M=0;M<p-1;M++)f[M]=arguments[M];s.push((_?_+nE:"")+f.join(nE))}),s.join(`
`)}).join(`
`+w2+`
`)}function rE(a){var n=uO(a);return{value:H.n([pne(n.seriesGroupByCategoryAxis),DV(n.other)],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join(`
`+w2+`
`),meta:n.meta}}function T2(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function A2(a){var n=a.slice(0,a.indexOf(`
`));if(n.indexOf(nE)>=0)return!0}var LL=new RegExp("["+nE+"]+","g");function vne(a){for(var n=a.split(/\n+/g),e=T2(n.shift()).split(LL),s=[],f=H.H(e,function(M){return{name:M,data:[]}}),p=0;p<n.length;p++){var h=T2(n[p]).split(LL);s.push(h.shift());for(var _=0;_<h.length;_++)f[_]&&(f[_].data[p]=h[_])}return{series:f,categories:s}}function hne(a){for(var n=a.split(/\n+/g),e=T2(n.shift()),s=[],f=0;f<n.length;f++){var p=T2(n[f]);if(!!p){var h=p.split(LL),_="",M=void 0,L=!1;isNaN(h[0])?(L=!0,_=h[0],h=h.slice(1),s[f]={name:_,value:[]},M=s[f].value):M=s[f]=[];for(var z=0;z<h.length;z++)M.push(+h[z]);M.length===1&&(L?s[f].value=M[0]:s[f]=M[0])}}return{name:e,data:s}}function IV(a,n){var e=a.split(new RegExp(`
*`+w2+`
*`,"g")),s={series:[]};return H.k(e,function(f,p){if(A2(f)){var h=vne(f),_=n[p],M=_.axisDim+"Axis";_&&(s[M]=s[M]||[],s[M][_.axisIndex]={data:h.categories},s.series=s.series.concat(h.series))}else{var h=hne(f);s.series.push(h)}}),s}var FL=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.onclick=function(e,s){setTimeout(function(){s.dispatchAction({type:"hideTip"})});var f=s.getDom(),p=this.model;this._dom&&f.removeChild(this._dom);var h=document.createElement("div");h.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",h.style.backgroundColor=p.get("backgroundColor")||"#fff";var _=document.createElement("h4"),M=p.get("lang")||[];_.innerHTML=M[0]||p.get("title"),_.style.cssText="margin:10px 20px",_.style.color=p.get("textColor");var L=document.createElement("div"),z=document.createElement("textarea");L.style.cssText="overflow:auto";var Y=p.get("optionToContent"),q=p.get("contentToOption"),se=rE(e);if(H.w(Y)){var ye=Y(s.getOption());H.C(ye)?L.innerHTML=ye:H.v(ye)&&L.appendChild(ye)}else{z.readOnly=p.get("readOnly");var je=z.style;je.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",je.color=p.get("textColor"),je.borderColor=p.get("textareaBorderColor"),je.backgroundColor=p.get("textareaColor"),z.value=se.value,L.appendChild(z)}var De=se.meta,We=document.createElement("div");We.style.cssText="position:absolute;bottom:5px;left:0;right:0";var st="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",dt=document.createElement("div"),Mt=document.createElement("div");st+=";background-color:"+p.get("buttonColor"),st+=";color:"+p.get("buttonTextColor");var nn=this;function rn(){f.removeChild(h),nn._dom=null}rt(dt,"click",rn),rt(Mt,"click",function(){if(q==null&&Y!=null||q!=null&&Y==null){rn();return}var Cn;try{H.w(q)?Cn=q(L,s.getOption()):Cn=IV(z.value,De)}catch(er){throw rn(),new Error("Data view format error "+er)}Cn&&s.dispatchAction({type:"changeDataView",newOption:Cn}),rn()}),dt.innerHTML=M[1],Mt.innerHTML=M[2],Mt.style.cssText=dt.style.cssText=st,!p.get("readOnly")&&We.appendChild(Mt),We.appendChild(dt),h.appendChild(_),h.appendChild(L),h.appendChild(We),L.style.height=f.clientHeight-80+"px",f.appendChild(h),this._dom=h},n.prototype.remove=function(e,s){this._dom&&s.getDom().removeChild(this._dom)},n.prototype.dispose=function(e,s){this.remove(e,s)},n.getDefaultOption=function(e){var s={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return s},n}(em);function gne(a,n){return H.H(a,function(e,s){var f=n&&n[s];if(H.A(f)&&!H.t(f)){var p=H.A(e)&&!H.t(e);p||(e={value:e});var h=f.name!=null&&e.name==null;return e=H.i(e,f),h&&delete e.name,e}else return e})}I_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(a,n){var e=[];H.k(a.newOption.series,function(s){var f=n.getSeriesByName(s.name)[0];if(!f)e.push(H.m({type:"scatter"},s));else{var p=f.get("data");e.push({name:s.name,data:gne(s.data,p)})}}),n.mergeOption(H.i({series:e},a.newOption))});var Fj=FL,dO=H.k,UL=ol();function mne(a,n){var e=Uj(a);dO(n,function(s,f){for(var p=e.length-1;p>=0;p--){var h=e[p];if(h[f])break}if(p<0){var _=a.queryComponents({mainType:"dataZoom",subType:"select",id:f})[0];if(_){var M=_.getPercentRange();e[0][f]={dataZoomId:f,start:M[0],end:M[1]}}}}),e.push(n)}function _ne(a){var n=Uj(a),e=n[n.length-1];n.length>1&&n.pop();var s={};return dO(e,function(f,p){for(var h=n.length-1;h>=0;h--)if(f=n[h][p],f){s[p]=f;break}}),s}function NV(a){UL(a).snapshots=null}function yne(a){return Uj(a).length}function Uj(a){var n=UL(a);return n.snapshots||(n.snapshots=[{}]),n.snapshots}var bne=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.onclick=function(e,s){NV(e),s.dispatchAction({type:"restore",from:this.uid})},n.getDefaultOption=function(e){var s={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return s},n}(em);I_({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,n){n.resetOption("recreate")});var BL=bne,qm=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],aE=function(){function a(n,e,s){var f=this;this._targetInfoList=[];var p=oE(e,n);Object(H.k)(Nse,function(h,_){(!s||!s.include||Object(H.r)(s.include,_)>=0)&&h(p,f._targetInfoList)})}return a.prototype.setOutputRanges=function(n,e){return this.matchOutputRanges(n,e,function(s,f,p){if((s.coordRanges||(s.coordRanges=[])).push(f),!s.coordRange){s.coordRange=f;var h=zL[s.brushType](0,p,f);s.__rangeOffset={offset:Bj[s.brushType](h.values,s.range,[1,1]),xyMinMax:h.xyMinMax}}}),n},a.prototype.matchOutputRanges=function(n,e,s){Object(H.k)(n,function(f){var p=this.findTargetInfo(f,e);p&&p!==!0&&Object(H.k)(p.coordSyses,function(h){var _=zL[f.brushType](1,h,f.range,!0);s(f,_.values,h,e)})},this)},a.prototype.setInputRanges=function(n,e){Object(H.k)(n,function(s){var f=this.findTargetInfo(s,e);if(s.range=s.range||[],f&&f!==!0){s.panelId=f.panelId;var p=zL[s.brushType](0,f.coordSys,s.coordRange),h=s.__rangeOffset;s.range=h?Bj[s.brushType](p.values,h.offset,Lse(p.xyMinMax,h.xyMinMax)):p.values}},this)},a.prototype.makePanelOpts=function(n,e){return Object(H.H)(this._targetInfoList,function(s){var f=s.getPanelRect();return{panelId:s.panelId,defaultBrushType:e?e(s):null,clipPath:KB(f),isTargetByCursor:t2(f,n,s.coordSysModel),getLinearBrushOtherExtent:YB(f)}})},a.prototype.controlSeries=function(n,e,s){var f=this.findTargetInfo(n,s);return f===!0||f&&Object(H.r)(f.coordSyses,e.coordinateSystem)>=0},a.prototype.findTargetInfo=function(n,e){for(var s=this._targetInfoList,f=oE(e,n),p=0;p<s.length;p++){var h=s[p],_=n.panelId;if(_){if(h.panelId===_)return h}else for(var M=0;M<jg.length;M++)if(jg[M](f,h))return h}return!0},a}();function iE(a){return a[0]>a[1]&&a.reverse(),a}function oE(a,n){return Ff(a,n,{includeMainTypes:qm})}var Nse={grid:function(a,n){var e=a.xAxisModels,s=a.yAxisModels,f=a.gridModels,p=Object(H.f)(),h={},_={};!e&&!s&&!f||(Object(H.k)(e,function(M){var L=M.axis.grid.model;p.set(L.id,L),h[L.id]=!0}),Object(H.k)(s,function(M){var L=M.axis.grid.model;p.set(L.id,L),_[L.id]=!0}),Object(H.k)(f,function(M){p.set(M.id,M),h[M.id]=!0,_[M.id]=!0}),p.each(function(M){var L=M.coordinateSystem,z=[];Object(H.k)(L.getCartesians(),function(Y,q){(Object(H.r)(e,Y.getAxis("x").model)>=0||Object(H.r)(s,Y.getAxis("y").model)>=0)&&z.push(Y)}),n.push({panelId:"grid--"+M.id,gridModel:M,coordSysModel:M,coordSys:z[0],coordSyses:z,getPanelRect:VL.grid,xAxisDeclared:h[M.id],yAxisDeclared:_[M.id]})}))},geo:function(a,n){Object(H.k)(a.geoModels,function(e){var s=e.coordinateSystem;n.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:s,coordSyses:[s],getPanelRect:VL.geo})})}},jg=[function(a,n){var e=a.xAxisModel,s=a.yAxisModel,f=a.gridModel;return!f&&e&&(f=e.axis.grid.model),!f&&s&&(f=s.axis.grid.model),f&&f===n.gridModel},function(a,n){var e=a.geoModel;return e&&e===n.geoModel}],VL={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var a=this.coordSys,n=a.getBoundingRect().clone();return n.applyTransform(A0(a)),n}},zL={lineX:Object(H.h)(LV,0),lineY:Object(H.h)(LV,1),rect:function(a,n,e,s){var f=a?n.pointToData([e[0][0],e[1][0]],s):n.dataToPoint([e[0][0],e[1][0]],s),p=a?n.pointToData([e[0][1],e[1][1]],s):n.dataToPoint([e[0][1],e[1][1]],s),h=[iE([f[0],p[0]]),iE([f[1],p[1]])];return{values:h,xyMinMax:h}},polygon:function(a,n,e,s){var f=[[Infinity,-Infinity],[Infinity,-Infinity]],p=Object(H.H)(e,function(h){var _=a?n.pointToData(h,s):n.dataToPoint(h,s);return f[0][0]=Math.min(f[0][0],_[0]),f[1][0]=Math.min(f[1][0],_[1]),f[0][1]=Math.max(f[0][1],_[0]),f[1][1]=Math.max(f[1][1],_[1]),_});return{values:p,xyMinMax:f}}};function LV(a,n,e,s){var f=e.getAxis(["x","y"][a]),p=iE(Object(H.H)([0,1],function(_){return n?f.coordToData(f.toLocalCoord(s[_]),!0):f.toGlobalCoord(f.dataToCoord(s[_]))})),h=[];return h[a]=p,h[1-a]=[NaN,NaN],{values:p,xyMinMax:h}}var Bj={lineX:Object(H.h)(FV,0),lineY:Object(H.h)(FV,1),rect:function(a,n,e){return[[a[0][0]-e[0]*n[0][0],a[0][1]-e[0]*n[0][1]],[a[1][0]-e[1]*n[1][0],a[1][1]-e[1]*n[1][1]]]},polygon:function(a,n,e){return Object(H.H)(a,function(s,f){return[s[0]-e[0]*n[f][0],s[1]-e[1]*n[f][1]]})}};function FV(a,n,e,s){return[n[0]-s[a]*e[0],n[1]-s[a]*e[1]]}function Lse(a,n){var e=HL(a),s=HL(n),f=[e[0]/s[0],e[1]/s[1]];return isNaN(f[0])&&(f[0]=1),isNaN(f[1])&&(f[1]=1),f}function HL(a){return a?[a[0][1]-a[0][0],a[1][1]-a[1][0]]:[NaN,NaN]}var k2=aE,Vj=H.k,One=Wl("toolbox-dataZoom_"),j2=["zoom","back"],Cne=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.render=function(e,s,f,p){this._brushController||(this._brushController=new NN(f.getZr()),this._brushController.on("brush",H.c(this._onBrush,this)).mount()),xne(e,s,this,p,f),UV(e,s)},n.prototype.onclick=function(e,s,f){Ene[f].call(this)},n.prototype.remove=function(e,s){this._brushController&&this._brushController.unmount()},n.prototype.dispose=function(e,s){this._brushController&&this._brushController.dispose()},n.prototype._onBrush=function(e){var s=e.areas;if(!e.isEnd||!s.length)return;var f={},p=this.ecModel;this._brushController.updateCovers([]);var h=new k2(zj(this.model),p,{include:["grid"]});h.matchOutputRanges(s,p,function(L,z,Y){if(Y.type==="cartesian2d"){var q=L.brushType;q==="rect"?(_("x",Y,z[0]),_("y",Y,z[1])):_({lineX:"x",lineY:"y"}[q],Y,z)}}),mne(p,f),this._dispatchZoomAction(f);function _(L,z,Y){var q=z.getAxis(L),se=q.model,ye=M(L,se,p),je=ye.findRepresentativeAxisProxy(se).getMinMaxSpan();(je.minValueSpan!=null||je.maxValueSpan!=null)&&(Y=Om(0,Y.slice(),q.scale.getExtent(),0,je.minValueSpan,je.maxValueSpan)),ye&&(f[ye.id]={dataZoomId:ye.id,startValue:Y[0],endValue:Y[1]})}function M(L,z,Y){var q;return Y.eachComponent({mainType:"dataZoom",subType:"select"},function(se){var ye=se.getAxisModel(L,z.componentIndex);ye&&(q=se)}),q}},n.prototype._dispatchZoomAction=function(e){var s=[];Vj(e,function(f,p){s.push(H.d(f))}),s.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:s})},n.getDefaultOption=function(e){var s={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return s},n}(em),Ene={zoom:function(){var a=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:a})},back:function(){this._dispatchZoomAction(_ne(this.ecModel))}};function zj(a){var n={xAxisIndex:a.get("xAxisIndex",!0),yAxisIndex:a.get("yAxisIndex",!0),xAxisId:a.get("xAxisId",!0),yAxisId:a.get("yAxisId",!0)};return n.xAxisIndex==null&&n.xAxisId==null&&(n.xAxisIndex="all"),n.yAxisIndex==null&&n.yAxisId==null&&(n.yAxisIndex="all"),n}function UV(a,n){a.setIconStatus("back",yne(n)>1?"emphasis":"normal")}function xne(a,n,e,s,f){var p=e._isZoomActive;s&&s.type==="takeGlobalCursor"&&(p=s.key==="dataZoomSelect"?s.dataZoomSelectActive:!1),e._isZoomActive=p,a.setIconStatus("zoom",p?"emphasis":"normal");var h=new k2(zj(a),n,{include:["grid"]}),_=h.makePanelOpts(f,function(M){return M.xAxisDeclared&&!M.yAxisDeclared?"lineX":!M.xAxisDeclared&&M.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(_).enableBrush(p&&_.length?{brushType:"auto",brushStyle:a.getModel("brushStyle").getItemStyle()}:!1)}iR("dataZoom",function(a){var n=a.getComponent("toolbox",0),e=["feature","dataZoom"];if(!n||n.get(e)==null)return;var s=n.getModel(e),f=[],p=zj(s),h=Ff(a,p);Vj(h.xAxisModels,function(M){return _(M,"xAxis","xAxisIndex")}),Vj(h.yAxisModels,function(M){return _(M,"yAxis","yAxisIndex")});function _(M,L,z){var Y=M.componentIndex,q={type:"select",$fromToolbox:!0,filterMode:s.get("filterMode",!0)||"filter",id:One+L+Y};q[z]=Y,f.push(q)}return f});var Sne=Cne;function wne(a){a.registerComponentModel(qu),a.registerComponentView(lne),eE("saveAsImage",jV),eE("magicType",RV),eE("dataView",Fj),eE("dataZoom",Sne),eE("restore",BL),Dd(sne)}var Tne=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="tooltip",n.dependencies=["axisPointer"],n.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},n}(tf),Ane=Tne;function BV(a){var n=a.get("confine");return n!=null?!!n:a.get("renderMode")==="richText"}function VV(a){if(!!Bt.a.domSupported){for(var n=document.documentElement.style,e=0,s=a.length;e<s;e++)if(a[e]in n)return a[e]}}var zV=VV(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),kne=VV(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function HV(a,n){if(!a)return n;n=xT(n,!0);var e=a.indexOf(n);return a=e===-1?n:"-"+a.slice(0,e)+"-"+n,a.toLowerCase()}function GL(a,n){var e=a.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(a);return e?n?e[n]:e:null}var Fse=HV(kne,"transition"),$L=HV(zV,"transform"),jne="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Bt.a.transform3dSupported?"will-change:transform;":"");function Mne(a){return a=a==="left"?"right":a==="right"?"left":a==="top"?"bottom":"top",a}function Pne(a,n,e){if(!Object(H.C)(e)||e==="inside")return"";var s=a.get("backgroundColor"),f=a.get("borderWidth");n=E0(n);var p=Mne(e),h=Math.max(Math.round(f)*1.5,6),_="",M=$L+":",L;Object(H.r)(["left","right"],p)>-1?(_+="top:50%",M+="translateY(-50%) rotate("+(L=p==="left"?-225:-45)+"deg)"):(_+="left:50%",M+="translateX(-50%) rotate("+(L=p==="top"?225:45)+"deg)");var z=L*Math.PI/180,Y=h+f,q=Y*Math.abs(Math.cos(z))+Y*Math.abs(Math.sin(z)),se=Math.round(((q-Math.SQRT2*f)/2+Math.SQRT2*f-(q-Y)/2)*100)/100;_+=";"+p+":-"+se+"px";var ye=n+" solid "+f+"px;",je=["position:absolute;width:"+h+"px;height:"+h+"px;z-index:-1;",_+";"+M+";","border-bottom:"+ye,"border-right:"+ye,"background-color:"+s+";"];return'<div style="'+je.join("")+'"></div>'}function Rne(a,n){var e="cubic-bezier(0.23,1,0.32,1)",s=" "+a/2+"s "+e,f="opacity"+s+",visibility"+s;return n||(s=" "+a+"s "+e,f+=Bt.a.transformSupported?","+$L+s:",left"+s+",top"+s),Fse+":"+f}function GV(a,n,e){var s=a.toFixed(0)+"px",f=n.toFixed(0)+"px";if(!Bt.a.transformSupported)return e?"top:"+f+";left:"+s+";":[["top",f],["left",s]];var p=Bt.a.transform3dSupported,h="translate"+(p?"3d":"")+"("+s+","+f+(p?",0":"")+")";return e?"top:0;left:0;"+$L+":"+h+";":[["top",0],["left",0],[zV,h]]}function Use(a){var n=[],e=a.get("fontSize"),s=a.getTextColor();s&&n.push("color:"+s),n.push("font:"+a.getFont()),e&&n.push("line-height:"+Math.round(e*3/2)+"px");var f=a.get("textShadowColor"),p=a.get("textShadowBlur")||0,h=a.get("textShadowOffsetX")||0,_=a.get("textShadowOffsetY")||0;return f&&p&&n.push("text-shadow:"+h+"px "+_+"px "+p+"px "+f),Object(H.k)(["decoration","align"],function(M){var L=a.get(M);L&&n.push("text-"+M+":"+L)}),n.join(";")}function Dne(a,n,e){var s=[],f=a.get("transitionDuration"),p=a.get("backgroundColor"),h=a.get("shadowBlur"),_=a.get("shadowColor"),M=a.get("shadowOffsetX"),L=a.get("shadowOffsetY"),z=a.getModel("textStyle"),Y=xR(a,"html"),q=M+"px "+L+"px "+h+"px "+_;return s.push("box-shadow:"+q),n&&f&&s.push(Rne(f,e)),p&&s.push("background-color:"+p),Object(H.k)(["width","color","radius"],function(se){var ye="border-"+se,je=xT(ye),De=a.get(je);De!=null&&s.push(ye+":"+De+(se==="color"?"":"px"))}),s.push(Use(z)),Y!=null&&s.push("padding:"+C0(Y).join("px ")+"px"),s.join(";")+";"}function Ine(a,n,e,s,f){var p=n&&n.painter;if(e){var h=p&&p.getViewportRoot();h&&Pn(a,h,document.body,s,f)}else{a[0]=s,a[1]=f;var _=p&&p.getViewportRootOffset();_&&(a[0]+=_.offsetLeft,a[1]+=_.offsetTop)}a[2]=a[0]/n.getWidth(),a[3]=a[1]/n.getHeight()}var Nne=function(){function a(n,e,s){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Bt.a.wxa)return null;var f=document.createElement("div");f.domBelongToZr=!0,this.el=f;var p=this._zr=e.getZr(),h=this._appendToBody=s&&s.appendToBody;Ine(this._styleCoord,p,h,e.getWidth()/2,e.getHeight()/2),h?document.body.appendChild(f):n.appendChild(f),this._container=n;var _=this;f.onmouseenter=function(){_._enterable&&(clearTimeout(_._hideTimeout),_._show=!0),_._inContent=!0},f.onmousemove=function(M){if(M=M||window.event,!_._enterable){var L=p.handler,z=p.painter.getViewportRoot();hs(z,M,!0),L.dispatch("mousemove",M)}},f.onmouseleave=function(){_._inContent=!1,_._enterable&&_._show&&_.hideLater(_._hideDelay)}}return a.prototype.update=function(n){var e=this._container,s=GL(e,"position"),f=e.style;f.position!=="absolute"&&s!=="absolute"&&(f.position="relative");var p=n.get("alwaysShowContent");p&&this._moveIfResized(),this._alwaysShowContent=p,this.el.className=n.get("className")||""},a.prototype.show=function(n,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var s=this.el,f=s.style,p=this._styleCoord;s.innerHTML?f.cssText=jne+Dne(n,!this._firstShow,this._longHide)+GV(p[0],p[1],!0)+("border-color:"+E0(e)+";")+(n.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):f.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},a.prototype.setContent=function(n,e,s,f,p){var h=this.el;if(n==null){h.innerHTML="";return}var _="";if(Object(H.C)(p)&&s.get("trigger")==="item"&&!BV(s)&&(_=Pne(s,f,p)),Object(H.C)(n))h.innerHTML=n+_;else if(n){h.innerHTML="",Object(H.t)(n)||(n=[n]);for(var M=0;M<n.length;M++)Object(H.v)(n[M])&&n[M].parentNode!==h&&h.appendChild(n[M]);if(_&&h.childNodes.length){var L=document.createElement("div");L.innerHTML=_,h.appendChild(L)}}},a.prototype.setEnterable=function(n){this._enterable=n},a.prototype.getSize=function(){var n=this.el;return[n.offsetWidth,n.offsetHeight]},a.prototype.moveTo=function(n,e){var s=this._styleCoord;if(Ine(s,this._zr,this._appendToBody,n,e),s[0]!=null&&s[1]!=null){var f=this.el.style,p=GV(s[0],s[1]);Object(H.k)(p,function(h){f[h[0]]=h[1]})}},a.prototype._moveIfResized=function(){var n=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(n*this._zr.getWidth(),e*this._zr.getHeight())},a.prototype.hide=function(){var n=this,e=this.el.style;e.visibility="hidden",e.opacity="0",Bt.a.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return n._longHide=!0},500)},a.prototype.hideLater=function(n){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(n?(this._hideDelay=n,this._show=!1,this._hideTimeout=setTimeout(Object(H.c)(this.hide,this),n)):this.hide())},a.prototype.isShow=function(){return this._show},a.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},a}(),$V=Nne,Bse=function(){function a(n){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=n.getZr(),KV(this._styleCoord,this._zr,n.getWidth()/2,n.getHeight()/2)}return a.prototype.update=function(n){var e=n.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},a.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},a.prototype.setContent=function(n,e,s,f,p){var h=this;H.A(n)&&Tf(""),this.el&&this._zr.remove(this.el);var _=s.getModel("textStyle");this.el=new Ho({style:{rich:e.richTextStyles,text:n,lineHeight:22,borderWidth:1,borderColor:f,textShadowColor:_.get("textShadowColor"),fill:s.get(["textStyle","color"]),padding:xR(s,"richText"),verticalAlign:"top",align:"left"},z:s.get("z")}),H.k(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(L){h.el.style[L]=s.get(L)}),H.k(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(L){h.el.style[L]=_.get(L)||0}),this._zr.add(this.el);var M=this;this.el.on("mouseover",function(){M._enterable&&(clearTimeout(M._hideTimeout),M._show=!0),M._inContent=!0}),this.el.on("mouseout",function(){M._enterable&&M._show&&M.hideLater(M._hideDelay),M._inContent=!1})},a.prototype.setEnterable=function(n){this._enterable=n},a.prototype.getSize=function(){var n=this.el,e=this.el.getBoundingRect(),s=WV(n.style);return[e.width+s.left+s.right,e.height+s.top+s.bottom]},a.prototype.moveTo=function(n,e){var s=this.el;if(s){var f=this._styleCoord;KV(f,this._zr,n,e),n=f[0],e=f[1];var p=s.style,h=Ob(p.borderWidth||0),_=WV(p);s.x=n+h+_.left,s.y=e+h+_.top,s.markRedraw()}},a.prototype._moveIfResized=function(){var n=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(n*this._zr.getWidth(),e*this._zr.getHeight())},a.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},a.prototype.hideLater=function(n){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(n?(this._hideDelay=n,this._show=!1,this._hideTimeout=setTimeout(H.c(this.hide,this),n)):this.hide())},a.prototype.isShow=function(){return this._show},a.prototype.dispose=function(){this._zr.remove(this.el)},a}();function Ob(a){return Math.max(0,a)}function WV(a){var n=Ob(a.shadowBlur||0),e=Ob(a.shadowOffsetX||0),s=Ob(a.shadowOffsetY||0);return{left:Ob(n-e),right:Ob(n+e),top:Ob(n-s),bottom:Ob(n+s)}}function KV(a,n,e,s){a[0]=e,a[1]=s,a[2]=a[0]/n.getWidth(),a[3]=a[1]/n.getHeight()}var Lne=Bse,Fne=new Ic({shape:{x:-1,y:-1,width:2,height:2}}),Une=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s){if(!(Bt.a.node||!s.getDom())){var f=e.getComponent("tooltip"),p=this._renderMode=Tp(f.get("renderMode"));this._tooltipContent=p==="richText"?new Lne(s):new $V(s.getDom(),s,{appendToBody:f.get("appendToBody",!0)})}},n.prototype.render=function(e,s,f){if(!(Bt.a.node||!f.getDom())){this.group.removeAll(),this._tooltipModel=e,this._ecModel=s,this._api=f;var p=this._tooltipContent;p.update(e),p.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&e.get("transitionDuration")?Uy(this,"_updatePosition",50,"fixRate"):aC(this,"_updatePosition")}},n.prototype._initGlobalListener=function(){var e=this._tooltipModel,s=e.get("triggerOn");Ag("itemTooltip",this._api,Object(H.c)(function(f,p,h){s!=="none"&&(s.indexOf(f)>=0?this._tryShow(p,h):f==="leave"&&this._hide(h))},this))},n.prototype._keepShow=function(){var e=this._tooltipModel,s=this._ecModel,f=this._api,p=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&p!=="none"&&p!=="click"){var h=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!f.isDisposed()&&h.manuallyShowTip(e,s,f,{x:h._lastX,y:h._lastY,dataByCoordSys:h._lastDataByCoordSys})})}},n.prototype.manuallyShowTip=function(e,s,f,p){if(!(p.from===this.uid||Bt.a.node||!f.getDom())){var h=Z_(p,f);this._ticket="";var _=p.dataByCoordSys,M=Cb(p,s,f);if(M){var L=M.el.getBoundingRect().clone();L.applyTransform(M.el.transform),this._tryShow({offsetX:L.x+L.width/2,offsetY:L.y+L.height/2,target:M.el,position:p.position,positionDefault:"bottom"},h)}else if(p.tooltip&&p.x!=null&&p.y!=null){var z=Fne;z.x=p.x,z.y=p.y,z.update(),sc(z).tooltipConfig={name:null,option:p.tooltip},this._tryShow({offsetX:p.x,offsetY:p.y,target:z},h)}else if(_)this._tryShow({offsetX:p.x,offsetY:p.y,position:p.position,dataByCoordSys:_,tooltipOption:p.tooltipOption},h);else if(p.seriesIndex!=null){if(this._manuallyAxisShowTip(e,s,f,p))return;var Y=oV(p,s),q=Y.point[0],se=Y.point[1];q!=null&&se!=null&&this._tryShow({offsetX:q,offsetY:se,target:Y.el,position:p.position,positionDefault:"bottom"},h)}else p.x!=null&&p.y!=null&&(f.dispatchAction({type:"updateAxisPointer",x:p.x,y:p.y}),this._tryShow({offsetX:p.x,offsetY:p.y,position:p.position,target:f.getZr().findHover(p.x,p.y).target},h))}},n.prototype.manuallyHideTip=function(e,s,f,p){var h=this._tooltipContent;this._tooltipModel&&h.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,p.from!==this.uid&&this._hide(Z_(p,f))},n.prototype._manuallyAxisShowTip=function(e,s,f,p){var h=p.seriesIndex,_=p.dataIndex,M=s.getComponent("axisPointer").coordSysAxesInfo;if(!(h==null||_==null||M==null)){var L=s.getSeriesByIndex(h);if(!!L){var z=L.getData(),Y=fv([z.getItemModel(_),L,(L.coordinateSystem||{}).model],this._tooltipModel);if(Y.get("trigger")==="axis")return f.dispatchAction({type:"updateAxisPointer",seriesIndex:h,dataIndex:_,position:p.position}),!0}}},n.prototype._tryShow=function(e,s){var f=e.target,p=this._tooltipModel;if(!!p){this._lastX=e.offsetX,this._lastY=e.offsetY;var h=e.dataByCoordSys;if(h&&h.length)this._showAxisTooltip(h,e);else if(f){this._lastDataByCoordSys=null;var _,M;y1(f,function(L){if(sc(L).dataIndex!=null)return _=L,!0;if(sc(L).tooltipConfig!=null)return M=L,!0},!0),_?this._showSeriesItemTooltip(e,_,s):M?this._showComponentItemTooltip(e,M,s):this._hide(s)}else this._lastDataByCoordSys=null,this._hide(s)}},n.prototype._showOrMove=function(e,s){var f=e.get("showDelay");s=Object(H.c)(s,this),clearTimeout(this._showTimout),f>0?this._showTimout=setTimeout(s,f):s()},n.prototype._showAxisTooltip=function(e,s){var f=this._ecModel,p=this._tooltipModel,h=[s.offsetX,s.offsetY],_=fv([s.tooltipOption],p),M=this._renderMode,L=[],z=th("section",{blocks:[],noHeader:!0}),Y=[],q=new Fm;Object(H.k)(e,function(st){Object(H.k)(st.dataByAxis,function(dt){var Mt=f.getComponent(dt.axisDim+"Axis",dt.axisIndex),nn=dt.value;if(!(!Mt||nn==null)){var rn=vte(nn,Mt.axis,f,dt.seriesDataIndices,dt.valueLabelOpt),Cn=th("section",{header:rn,noHeader:!Object(H.T)(rn),sortBlocks:!0,blocks:[]});z.blocks.push(Cn),Object(H.k)(dt.seriesDataIndices,function(er){var ir=f.getSeriesByIndex(er.seriesIndex),dr=er.dataIndexInside,pr=ir.getDataParams(dr);if(!(pr.dataIndex<0)){pr.axisDim=dt.axisDim,pr.axisIndex=dt.axisIndex,pr.axisType=dt.axisType,pr.axisId=dt.axisId,pr.axisValue=cI(Mt.axis,{value:nn}),pr.axisValueLabel=rn,pr.marker=q.makeTooltipMarker("item",E0(pr.color),M);var ia=kF(ir.formatTooltip(dr,!0,null)),pa=ia.frag;if(pa){var Ga=fv([ir],p).get("valueFormatter");Cn.blocks.push(Ga?Object(H.m)({valueFormatter:Ga},pa):pa)}ia.text&&Y.push(ia.text),L.push(pr)}})}})}),z.blocks.reverse(),Y.reverse();var se=s.position,ye=_.get("order"),je=YF(z,q,M,ye,f.get("useUTC"),_.get("textStyle"));je&&Y.unshift(je);var De=M==="richText"?`
`:"<br/>",We=Y.join(De);this._showOrMove(_,function(){this._updateContentNotChangedOnAxis(e,L)?this._updatePosition(_,se,h[0],h[1],this._tooltipContent,L):this._showTooltipContent(_,We,L,Math.random()+"",h[0],h[1],se,null,q)})},n.prototype._showSeriesItemTooltip=function(e,s,f){var p=this._ecModel,h=sc(s),_=h.seriesIndex,M=p.getSeriesByIndex(_),L=h.dataModel||M,z=h.dataIndex,Y=h.dataType,q=L.getData(Y),se=this._renderMode,ye=e.positionDefault,je=fv([q.getItemModel(z),L,M&&(M.coordinateSystem||{}).model],this._tooltipModel,ye?{position:ye}:null),De=je.get("trigger");if(!(De!=null&&De!=="item")){var We=L.getDataParams(z,Y),st=new Fm;We.marker=st.makeTooltipMarker("item",E0(We.color),se);var dt=kF(L.formatTooltip(z,!1,Y)),Mt=je.get("order"),nn=je.get("valueFormatter"),rn=dt.frag,Cn=rn?YF(nn?Object(H.m)({valueFormatter:nn},rn):rn,st,se,Mt,p.get("useUTC"),je.get("textStyle")):dt.text,er="item_"+L.name+"_"+z;this._showOrMove(je,function(){this._showTooltipContent(je,Cn,We,er,e.offsetX,e.offsetY,e.position,e.target,st)}),f({type:"showTip",dataIndexInside:z,dataIndex:q.getRawIndex(z),seriesIndex:_,from:this.uid})}},n.prototype._showComponentItemTooltip=function(e,s,f){var p=sc(s),h=p.tooltipConfig,_=h.option||{};if(Object(H.C)(_)){var M=_;_={content:M,formatter:M}}var L=[_],z=this._ecModel.getComponent(p.componentMainType,p.componentIndex);z&&L.push(z),L.push({formatter:_.content});var Y=e.positionDefault,q=fv(L,this._tooltipModel,Y?{position:Y}:null),se=q.get("content"),ye=Math.random()+"",je=new Fm;this._showOrMove(q,function(){var De=Object(H.d)(q.get("formatterParams")||{});this._showTooltipContent(q,se,De,ye,e.offsetX,e.offsetY,e.position,s,je)}),f({type:"showTip",from:this.uid})},n.prototype._showTooltipContent=function(e,s,f,p,h,_,M,L,z){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var Y=this._tooltipContent;Y.setEnterable(e.get("enterable"));var q=e.get("formatter");M=M||e.get("position");var se=s,ye=this._getNearestPoint([h,_],f,e.get("trigger"),e.get("borderColor")),je=ye.color;if(q)if(Object(H.C)(q)){var De=e.ecModel.get("useUTC"),We=Object(H.t)(f)?f[0]:f,st=We&&We.axisType&&We.axisType.indexOf("time")>=0;se=q,st&&(se=Ty(We.axisValue,se,De)),se=_x(se,f,!0)}else if(Object(H.w)(q)){var dt=Object(H.c)(function(Mt,nn){Mt===this._ticket&&(Y.setContent(nn,z,e,je,M),this._updatePosition(e,M,h,_,Y,f,L))},this);this._ticket=p,se=q(f,p,dt)}else se=q;Y.setContent(se,z,e,je,M),Y.show(e,je),this._updatePosition(e,M,h,_,Y,f,L)}},n.prototype._getNearestPoint=function(e,s,f,p){if(f==="axis"||Object(H.t)(s))return{color:p||(this._renderMode==="html"?"#fff":"none")};if(!Object(H.t)(s))return{color:p||s.color||s.borderColor}},n.prototype._updatePosition=function(e,s,f,p,h,_,M){var L=this._api.getWidth(),z=this._api.getHeight();s=s||e.get("position");var Y=h.getSize(),q=e.get("align"),se=e.get("verticalAlign"),ye=M&&M.getBoundingRect().clone();if(M&&ye.applyTransform(M.transform),Object(H.w)(s)&&(s=s([f,p],_,h.el,ye,{viewSize:[L,z],contentSize:Y.slice()})),Object(H.t)(s))f=Mi(s[0],L),p=Mi(s[1],z);else if(Object(H.A)(s)){var je=s;je.width=Y[0],je.height=Y[1];var De=Pv(je,{width:L,height:z});f=De.x,p=De.y,q=null,se=null}else if(Object(H.C)(s)&&M){var We=ty(s,ye,Y,e.get("borderWidth"));f=We[0],p=We[1]}else{var We=Q_(f,p,h,L,z,q?null:20,se?null:20);f=We[0],p=We[1]}if(q&&(f-=ny(q)?Y[0]/2:q==="right"?Y[0]:0),se&&(p-=ny(se)?Y[1]/2:se==="bottom"?Y[1]:0),BV(e)){var We=Vse(f,p,h,L,z);f=We[0],p=We[1]}h.moveTo(f,p)},n.prototype._updateContentNotChangedOnAxis=function(e,s){var f=this._lastDataByCoordSys,p=this._cbParamsList,h=!!f&&f.length===e.length;return h&&Object(H.k)(f,function(_,M){var L=_.dataByAxis||[],z=e[M]||{},Y=z.dataByAxis||[];h=h&&L.length===Y.length,h&&Object(H.k)(L,function(q,se){var ye=Y[se]||{},je=q.seriesDataIndices||[],De=ye.seriesDataIndices||[];h=h&&q.value===ye.value&&q.axisType===ye.axisType&&q.axisId===ye.axisId&&je.length===De.length,h&&Object(H.k)(je,function(We,st){var dt=De[st];h=h&&We.seriesIndex===dt.seriesIndex&&We.dataIndex===dt.dataIndex}),p&&Object(H.k)(q.seriesDataIndices,function(We){var st=We.seriesIndex,dt=s[st],Mt=p[st];dt&&Mt&&Mt.data!==dt.data&&(h=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=s,!!h},n.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},n.prototype.dispose=function(e,s){Bt.a.node||!s.getDom()||(aC(this,"_updatePosition"),this._tooltipContent.dispose(),Ym("itemTooltip",s))},n.type="tooltip",n}(Np);function fv(a,n,e){var s=n.ecModel,f;e?(f=new tp(e,s,s),f=new tp(n.option,f,s)):f=n;for(var p=a.length-1;p>=0;p--){var h=a[p];h&&(h instanceof tp&&(h=h.get("tooltip",!0)),Object(H.C)(h)&&(h={formatter:h}),h&&(f=new tp(h,f,s)))}return f}function Z_(a,n){return a.dispatchAction||Object(H.c)(n.dispatchAction,n)}function Q_(a,n,e,s,f,p,h){var _=e.getSize(),M=_[0],L=_[1];return p!=null&&(a+M+p+2>s?a-=M+p:a+=p),h!=null&&(n+L+h>f?n-=L+h:n+=h),[a,n]}function Vse(a,n,e,s,f){var p=e.getSize(),h=p[0],_=p[1];return a=Math.min(a+h,s)-h,n=Math.min(n+_,f)-_,a=Math.max(a,0),n=Math.max(n,0),[a,n]}function ty(a,n,e,s){var f=e[0],p=e[1],h=Math.ceil(Math.SQRT2*s)+8,_=0,M=0,L=n.width,z=n.height;switch(a){case"inside":_=n.x+L/2-f/2,M=n.y+z/2-p/2;break;case"top":_=n.x+L/2-f/2,M=n.y-p-h;break;case"bottom":_=n.x+L/2-f/2,M=n.y+z+h;break;case"left":_=n.x-f-h,M=n.y+z/2-p/2;break;case"right":_=n.x+L+h,M=n.y+z/2-p/2}return[_,M]}function ny(a){return a==="center"||a==="middle"}function Cb(a,n,e){var s=pp(a).queryOptionMap,f=s.keys()[0];if(!(!f||f==="series")){var p=cp(n,f,s.get(f),{useDefault:!1,enableAll:!1,enableNone:!1}),h=p.models[0];if(!!h){var _=e.getViewOfComponentModel(h),M;if(_.group.traverse(function(L){var z=sc(L).tooltipConfig;if(z&&z.name===a.name)return M=L,!0}),M)return{componentMainType:f,componentIndex:h.componentIndex,el:M}}}}var Hj=Une;function YV(a){Dd(h2),a.registerComponentModel(Ane),a.registerComponentView(Hj),a.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},H.L),a.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},H.L)}var XV=["rect","polygon","keep","clear"];function Gj(a,n){var e=St(a?a.brush:[]);if(!!e.length){var s=[];H.k(e,function(M){var L=M.hasOwnProperty("toolbox")?M.toolbox:[];L instanceof Array&&(s=s.concat(L))});var f=a&&a.toolbox;H.t(f)&&(f=f[0]),f||(f={feature:{}},a.toolbox=[f]);var p=f.feature||(f.feature={}),h=p.brush||(p.brush={}),_=h.type||(h.type=[]);_.push.apply(_,s),$j(_),n&&!_.length&&_.push.apply(_,XV)}}function $j(a){var n={};H.k(a,function(e){n[e]=1}),a.length=0,H.k(n,function(e,s){a.push(s)})}var $v=H.k;function Wj(a){if(a){for(var n in a)if(a.hasOwnProperty(n))return!0}}function M2(a,n,e){var s={};return $v(n,function(p){var h=s[p]=f();$v(a[p],function(_,M){if(!!jh.isValidType(M)){var L={type:M,visual:_};e&&e(L,p),h[M]=new jh(L),M==="opacity"&&(L=H.d(L),L.type="colorAlpha",h.__hidden.__alphaForOpacity=new jh(L))}})}),s;function f(){var p=function(){};p.prototype.__hidden=p.prototype;var h=new p;return h}}function JV(a,n,e){var s;H.k(e,function(f){n.hasOwnProperty(f)&&Wj(n[f])&&(s=!0)}),s&&H.k(e,function(f){n.hasOwnProperty(f)&&Wj(n[f])?a[f]=H.d(n[f]):delete a[f]})}function WL(a,n,e,s,f,p){var h={};H.k(a,function(Y){var q=jh.prepareVisualTypes(n[Y]);h[Y]=q});var _;function M(Y){return BR(e,_,Y)}function L(Y,q){By(e,_,Y,q)}p==null?e.each(z):e.each([p],z);function z(Y,q){_=p==null?Y:q;var se=e.getRawDataItem(_);if(!(se&&se.visualMap===!1))for(var ye=s.call(f,Y),je=n[ye],De=h[ye],We=0,st=De.length;We<st;We++){var dt=De[We];je[dt]&&je[dt].applyVisual(Y,M,L)}}}function q_(a,n,e,s){var f={};return H.k(a,function(p){var h=jh.prepareVisualTypes(n[p]);f[p]=h}),{progress:function(h,_){var M;s!=null&&(M=_.getDimensionIndex(s));function L(nn){return BR(_,Y,nn)}function z(nn,rn){By(_,Y,nn,rn)}for(var Y,q=_.getStore();(Y=h.next())!=null;){var se=_.getRawDataItem(Y);if(!(se&&se.visualMap===!1))for(var ye=s!=null?q.get(M,Y):Y,je=e(ye),De=n[je],We=f[je],st=0,dt=We.length;st<dt;st++){var Mt=We[st];De[Mt]&&De[Mt].applyVisual(ye,L,z)}}}}}function KL(a){var n=a.brushType,e={point:function(s){return fO[n].point(s,e,a)},rect:function(s){return fO[n].rect(s,e,a)}};return e}var fO={lineX:Kj(0),lineY:Kj(1),rect:{point:function(a,n,e){return a&&e.boundingRect.contain(a[0],a[1])},rect:function(a,n,e){return a&&e.boundingRect.intersect(a)}},polygon:{point:function(a,n,e){return a&&e.boundingRect.contain(a[0],a[1])&&U1(e.range,a[0],a[1])},rect:function(a,n,e){var s=e.range;if(!a||s.length<=1)return!1;var f=a.x,p=a.y,h=a.width,_=a.height,M=s[0];if(U1(s,f,p)||U1(s,f+h,p)||U1(s,f,p+_)||U1(s,f+h,p+_)||fo.create(a).contain(M[0],M[1])||Kx(f,p,f+h,p,s)||Kx(f,p,f,p+_,s)||Kx(f+h,p,f+h,p+_,s)||Kx(f,p+_,f+h,p+_,s))return!0}}};function Kj(a){var n=["x","y"],e=["width","height"];return{point:function(s,f,p){if(s){var h=p.range,_=s[a];return Eb(_,h)}},rect:function(s,f,p){if(s){var h=p.range,_=[s[n[a]],s[n[a]]+s[e[a]]];return _[1]<_[0]&&_.reverse(),Eb(_[0],h)||Eb(_[1],h)||Eb(h[0],_)||Eb(h[1],_)}}}}function Eb(a,n){return n[0]<=a&&a<=n[1]}var ZV=fO,YL=["inBrush","outOfBrush"],XL="__ecBrushSelect",P2="__ecInBrushSelectEvent";function R2(a){a.eachComponent({mainType:"brush"},function(n){var e=n.brushTargetManager=new k2(n.option,a);e.setInputRanges(n.areas,a)})}function QV(a,n,e){var s=[],f,p;a.eachComponent({mainType:"brush"},function(h){e&&e.type==="takeGlobalCursor"&&h.setBrushOption(e.key==="brush"?e.brushOption:{brushType:!1})}),R2(a),a.eachComponent({mainType:"brush"},function(h,_){var M={brushId:h.id,brushIndex:_,brushName:h.name,areas:H.d(h.areas),selected:[]};s.push(M);var L=h.option,z=L.brushLink,Y=[],q=[],se=[],ye=!1;_||(f=L.throttleType,p=L.throttleDelay);var je=H.H(h.areas,function(nn){var rn=QL[nn.brushType],Cn=H.i({boundingRect:rn?rn(nn):void 0},nn);return Cn.selectors=KL(Cn),Cn}),De=M2(h.option,YL,function(nn){nn.mappingMethod="fixed"});H.t(z)&&H.k(z,function(nn){Y[nn]=1});function We(nn){return z==="all"||!!Y[nn]}function st(nn){return!!nn.length}a.eachSeries(function(nn,rn){var Cn=se[rn]=[];nn.subType==="parallel"?dt(nn,rn):Mt(nn,rn,Cn)});function dt(nn,rn){var Cn=nn.coordinateSystem;ye=ye||Cn.hasAxisBrushed(),We(rn)&&Cn.eachActiveState(nn.getData(),function(er,ir){er==="active"&&(q[ir]=1)})}function Mt(nn,rn,Cn){if(!(!nn.brushSelector||Mg(h,rn))&&(H.k(je,function(ir){h.brushTargetManager.controlSeries(ir,nn,a)&&Cn.push(ir),ye=ye||st(Cn)}),We(rn)&&st(Cn))){var er=nn.getData();er.each(function(ir){ZL(nn,Cn,er,ir)&&(q[ir]=1)})}}a.eachSeries(function(nn,rn){var Cn={seriesId:nn.id,seriesIndex:rn,seriesName:nn.name,dataIndex:[]};M.selected.push(Cn);var er=se[rn],ir=nn.getData(),dr=We(rn)?function(pr){return q[pr]?(Cn.dataIndex.push(ir.getRawIndex(pr)),"inBrush"):"outOfBrush"}:function(pr){return ZL(nn,er,ir,pr)?(Cn.dataIndex.push(ir.getRawIndex(pr)),"inBrush"):"outOfBrush"};(We(rn)?ye:st(er))&&WL(YL,De,ir,dr)})}),Yj(n,f,p,s,e)}function Yj(a,n,e,s,f){if(!!f){var p=a.getZr();if(!p[P2]){p[XL]||(p[XL]=JL);var h=Uy(p,XL,e,n);h(a,s)}}}function JL(a,n){if(!a.isDisposed()){var e=a.getZr();e[P2]=!0,a.dispatchAction({type:"brushSelect",batch:n}),e[P2]=!1}}function ZL(a,n,e,s){for(var f=0,p=n.length;f<p;f++){var h=n[f];if(a.brushSelector(s,e,h.selectors,h))return!0}}function Mg(a,n){var e=a.option.seriesIndex;return e!=null&&e!=="all"&&(H.t(e)?H.r(e,n)<0:n!==e)}var QL={rect:function(a){return sE(a.range)},polygon:function(a){for(var n,e=a.range,s=0,f=e.length;s<f;s++){n=n||[[Infinity,-Infinity],[Infinity,-Infinity]];var p=e[s];p[0]<n[0][0]&&(n[0][0]=p[0]),p[0]>n[0][1]&&(n[0][1]=p[0]),p[1]<n[1][0]&&(n[1][0]=p[1]),p[1]>n[1][1]&&(n[1][1]=p[1])}return n&&sE(n)}};function sE(a){return new fo(a[0][0],a[1][0],a[0][1]-a[0][0],a[1][1]-a[1][0])}var Bne=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s){this.ecModel=e,this.api=s,this.model,(this._brushController=new NN(s.getZr())).on("brush",H.c(this._onBrush,this)).mount()},n.prototype.render=function(e,s,f,p){this.model=e,this._updateController(e,s,f,p)},n.prototype.updateTransform=function(e,s,f,p){R2(s),this._updateController(e,s,f,p)},n.prototype.updateVisual=function(e,s,f,p){this.updateTransform(e,s,f,p)},n.prototype.updateView=function(e,s,f,p){this._updateController(e,s,f,p)},n.prototype._updateController=function(e,s,f,p){(!p||p.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(f)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},n.prototype.dispose=function(){this._brushController.dispose()},n.prototype._onBrush=function(e){var s=this.model.id,f=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:s,areas:H.d(f),$from:s}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:s,areas:H.d(f),$from:s})},n.type="brush",n}(Np),qV=Bne,Vne="#ddd",zne=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.areas=[],e.brushOption={},e}return n.prototype.optionUpdated=function(e,s){var f=this.option;!s&&JV(f,e,["inBrush","outOfBrush"]);var p=f.inBrush=f.inBrush||{};f.outOfBrush=f.outOfBrush||{color:Vne},p.hasOwnProperty("liftZ")||(p.liftZ=5)},n.prototype.setAreas=function(e){!e||(this.areas=H.H(e,function(s){return qL(this.option,s)},this))},n.prototype.setBrushOption=function(e){this.brushOption=qL(this.option,e),this.brushType=this.brushOption.brushType},n.type="brush",n.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],n.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},n}(tf);function qL(a,n){return H.I({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new tp(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},n,!0)}var zse=zne,Hse=["rect","polygon","lineX","lineY","keep","clear"],Gse=function(a){Qe(n,a);function n(){return a!==null&&a.apply(this,arguments)||this}return n.prototype.render=function(e,s,f){var p,h,_;s.eachComponent({mainType:"brush"},function(M){p=M.brushType,h=M.brushOption.brushMode||"single",_=_||!!M.areas.length}),this._brushType=p,this._brushMode=h,H.k(e.get("type",!0),function(M){e.setIconStatus(M,(M==="keep"?h==="multiple":M==="clear"?_:M===p)?"emphasis":"normal")})},n.prototype.updateView=function(e,s,f){this.render(e,s,f)},n.prototype.getIcons=function(){var e=this.model,s=e.get("icon",!0),f={};return H.k(e.get("type",!0),function(p){s[p]&&(f[p]=s[p])}),f},n.prototype.onclick=function(e,s,f){var p=this._brushType,h=this._brushMode;f==="clear"?(s.dispatchAction({type:"axisAreaSelect",intervals:[]}),s.dispatchAction({type:"brush",command:"clear",areas:[]})):s.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:f==="keep"?p:p===f?!1:f,brushMode:f==="keep"?h==="multiple"?"single":"multiple":h}})},n.getDefaultOption=function(e){var s={show:!0,type:Hse.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])};return s},n}(em),ez=Gse;function D2(a){a.registerComponentView(qV),a.registerComponentModel(zse),a.registerPreprocessor(Gj),a.registerVisual(a.PRIORITY.VISUAL.BRUSH,QV),a.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(n,e){e.eachComponent({mainType:"brush",query:n},function(s){s.setAreas(n.areas)})}),a.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},H.L),a.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},H.L),eE("brush",ez)}var e3=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.layoutMode={type:"box",ignoreSize:!0},e}return n.type="title",n.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},n}(tf),Hne=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.render=function(e,s,f){if(this.group.removeAll(),!!e.get("show")){var p=this.group,h=e.getModel("textStyle"),_=e.getModel("subtextStyle"),M=e.get("textAlign"),L=H.P(e.get("textBaseline"),e.get("textVerticalAlign")),z=new Ho({style:ep(h,{text:e.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),Y=z.getBoundingRect(),q=e.get("subtext"),se=new Ho({style:ep(_,{text:q,fill:_.getTextColor(),y:Y.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),ye=e.get("link"),je=e.get("sublink"),De=e.get("triggerEvent",!0);z.silent=!ye&&!De,se.silent=!je&&!De,ye&&z.on("click",function(){yx(ye,"_"+e.get("target"))}),je&&se.on("click",function(){yx(je,"_"+e.get("subtarget"))}),sc(z).eventData=sc(se).eventData=De?{componentType:"title",componentIndex:e.componentIndex}:null,p.add(z),q&&p.add(se);var We=p.getBoundingRect(),st=e.getBoxLayoutParams();st.width=We.width,st.height=We.height;var dt=Pv(st,{width:f.getWidth(),height:f.getHeight()},e.get("padding"));M||(M=e.get("left")||e.get("right"),M==="middle"&&(M="center"),M==="right"?dt.x+=dt.width:M==="center"&&(dt.x+=dt.width/2)),L||(L=e.get("top")||e.get("bottom"),L==="center"&&(L="middle"),L==="bottom"?dt.y+=dt.height:L==="middle"&&(dt.y+=dt.height/2),L=L||"top"),p.x=dt.x,p.y=dt.y,p.markRedraw();var Mt={align:M,verticalAlign:L};z.setStyle(Mt),se.setStyle(Mt),We=p.getBoundingRect();var nn=dt.margin,rn=e.getItemStyle(["color","opacity"]);rn.fill=e.get("backgroundColor");var Cn=new Ic({shape:{x:We.x-nn[3],y:We.y-nn[0],width:We.width+nn[1]+nn[3],height:We.height+nn[0]+nn[2],r:e.get("borderRadius")},style:rn,subPixelOptimize:!0,silent:!0});p.add(Cn)}},n.type="title",n}(Np);function Gne(a){a.registerComponentModel(e3),a.registerComponentView(Hne)}var tz=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.layoutMode="box",e}return n.prototype.init=function(e,s,f){this.mergeDefaultAndTheme(e,f),this._initData()},n.prototype.mergeOption=function(e){a.prototype.mergeOption.apply(this,arguments),this._initData()},n.prototype.setCurrentIndex=function(e){e==null&&(e=this.option.currentIndex);var s=this._data.count();this.option.loop?e=(e%s+s)%s:(e>=s&&(e=s-1),e<0&&(e=0)),this.option.currentIndex=e},n.prototype.getCurrentIndex=function(){return this.option.currentIndex},n.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},n.prototype.setPlayState=function(e){this.option.autoPlay=!!e},n.prototype.getPlayState=function(){return!!this.option.autoPlay},n.prototype._initData=function(){var e=this.option,s=e.data||[],f=e.axisType,p=this._names=[],h;f==="category"?(h=[],Object(H.k)(s,function(L,z){var Y=Ms(aa(L),""),q;Object(H.A)(L)?(q=Object(H.d)(L),q.value=z):q=z,h.push(q),p.push(Y)})):h=s;var _={category:"ordinal",time:"time",value:"number"}[f]||"number",M=this._data=new cg([{name:"value",type:_}],this);M.initData(h,p)},n.prototype.getData=function(){return this._data},n.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},n.type="timeline",n.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},n}(tf),Xj=tz,cE=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="timeline.slider",n.defaultOption=w_(Xj.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),n}(Xj);Object(H.K)(cE,mR.prototype);var hf=cE,Jj=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="timeline",n}(Np),$se=Jj,$ne=function(a){Qe(n,a);function n(e,s,f,p){var h=a.call(this,e,s,f)||this;return h.type=p||"value",h}return n.prototype.getLabelModel=function(){return this.model.getModel("label")},n.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},n}(ym),lE=$ne,Zj=Math.PI,Qj=ol(),I2=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(e,s){this.api=s},n.prototype.render=function(e,s,f){if(this.model=e,this.api=f,this.ecModel=s,this.group.removeAll(),e.get("show",!0)){var p=this._layout(e,f),h=this._createGroup("_mainGroup"),_=this._createGroup("_labelGroup"),M=this._axis=this._createAxis(p,e);e.formatTooltip=function(L){var z=M.scale.getLabel({value:L});return th("nameValue",{noName:!0,value:z})},Object(H.k)(["AxisLine","AxisTick","Control","CurrentPointer"],function(L){this["_render"+L](p,h,M,e)},this),this._renderAxisLabel(p,_,M,e),this._position(p,e)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(e,s){var f=e.get(["label","position"]),p=e.get("orient"),h=Wne(e,s),_;f==null||f==="auto"?_=p==="horizontal"?h.y+h.height/2<s.getHeight()/2?"-":"+":h.x+h.width/2<s.getWidth()/2?"+":"-":Object(H.C)(f)?_={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[p][f]:_=f;var M={horizontal:"center",vertical:_>=0||_==="+"?"left":"right"},L={horizontal:_>=0||_==="+"?"top":"bottom",vertical:"middle"},z={horizontal:0,vertical:Zj/2},Y=p==="vertical"?h.height:h.width,q=e.getModel("controlStyle"),se=q.get("show",!0),ye=se?q.get("itemSize"):0,je=se?q.get("itemGap"):0,De=ye+je,We=e.get(["label","rotate"])||0;We=We*Zj/180;var st,dt,Mt,nn=q.get("position",!0),rn=se&&q.get("showPlayBtn",!0),Cn=se&&q.get("showPrevBtn",!0),er=se&&q.get("showNextBtn",!0),ir=0,dr=Y;nn==="left"||nn==="bottom"?(rn&&(st=[0,0],ir+=De),Cn&&(dt=[ir,0],ir+=De),er&&(Mt=[dr-ye,0],dr-=De)):(rn&&(st=[dr-ye,0],dr-=De),Cn&&(dt=[0,0],ir+=De),er&&(Mt=[dr-ye,0],dr-=De));var pr=[ir,dr];return e.get("inverse")&&pr.reverse(),{viewRect:h,mainLength:Y,orient:p,rotation:z[p],labelRotation:We,labelPosOpt:_,labelAlign:e.get(["label","align"])||M[p],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||L[p],playPosition:st,prevBtnPosition:dt,nextBtnPosition:Mt,axisExtent:pr,controlSize:ye,controlGap:je}},n.prototype._position=function(e,s){var f=this._mainGroup,p=this._labelGroup,h=e.viewRect;if(e.orient==="vertical"){var _=en(),M=h.x,L=h.y+h.height;Gr(_,_,[-M,-L]),ga(_,_,-Zj/2),Gr(_,_,[M,L]),h=h.clone(),h.applyTransform(_)}var z=st(h),Y=st(f.getBoundingRect()),q=st(p.getBoundingRect()),se=[f.x,f.y],ye=[p.x,p.y];ye[0]=se[0]=z[0][0];var je=e.labelPosOpt;if(je==null||Object(H.C)(je)){var De=je==="+"?0:1;dt(se,Y,z,1,De),dt(ye,q,z,1,1-De)}else{var De=je>=0?0:1;dt(se,Y,z,1,De),ye[1]=se[1]+je}f.setPosition(se),p.setPosition(ye),f.rotation=p.rotation=e.rotation,We(f),We(p);function We(Mt){Mt.originX=z[0][0]-Mt.x,Mt.originY=z[1][0]-Mt.y}function st(Mt){return[[Mt.x,Mt.x+Mt.width],[Mt.y,Mt.y+Mt.height]]}function dt(Mt,nn,rn,Cn,er){Mt[Cn]+=rn[Cn][er]-nn[Cn][er]}},n.prototype._createAxis=function(e,s){var f=s.getData(),p=s.get("axisType"),h=N2(s,p);h.getTicks=function(){return f.mapArray(["value"],function(L){return{value:L}})};var _=f.getDataExtent("value");h.setExtent(_[0],_[1]),h.calcNiceTicks();var M=new lE("value",h,e.axisExtent,p);return M.model=s,M},n.prototype._createGroup=function(e){var s=this[e]=new _s;return this.group.add(s),s},n.prototype._renderAxisLine=function(e,s,f,p){var h=f.getExtent();if(!!p.get(["lineStyle","show"])){var _=new _h({shape:{x1:h[0],y1:0,x2:h[1],y2:0},style:Object(H.m)({lineCap:"round"},p.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});s.add(_);var M=this._progressLine=new _h({shape:{x1:h[0],x2:this._currentPointer?this._currentPointer.x:h[0],y1:0,y2:0},style:Object(H.i)({lineCap:"round",lineWidth:_.style.lineWidth},p.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});s.add(M)}},n.prototype._renderAxisTick=function(e,s,f,p){var h=this,_=p.getData(),M=f.scale.getTicks();this._tickSymbols=[],Object(H.k)(M,function(L){var z=f.dataToCoord(L.value),Y=_.getItemModel(L.value),q=Y.getModel("itemStyle"),se=Y.getModel(["emphasis","itemStyle"]),ye=Y.getModel(["progress","itemStyle"]),je={x:z,y:0,onclick:Object(H.c)(h._changeTimeline,h,L.value)},De=t3(Y,q,s,je);De.ensureState("emphasis").style=se.getItemStyle(),De.ensureState("progress").style=ye.getItemStyle(),E_(De);var We=sc(De);Y.get("tooltip")?(We.dataIndex=L.value,We.dataModel=p):We.dataIndex=We.dataModel=null,h._tickSymbols.push(De)})},n.prototype._renderAxisLabel=function(e,s,f,p){var h=this,_=f.getLabelModel();if(!!_.get("show")){var M=p.getData(),L=f.getViewLabels();this._tickLabels=[],Object(H.k)(L,function(z){var Y=z.tickValue,q=M.getItemModel(Y),se=q.getModel("label"),ye=q.getModel(["emphasis","label"]),je=q.getModel(["progress","label"]),De=f.dataToCoord(z.tickValue),We=new Ho({x:De,y:0,rotation:e.labelRotation-e.rotation,onclick:Object(H.c)(h._changeTimeline,h,Y),silent:!1,style:ep(se,{text:z.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});We.ensureState("emphasis").style=ep(ye),We.ensureState("progress").style=ep(je),s.add(We),E_(We),Qj(We).dataIndex=Y,h._tickLabels.push(We)})}},n.prototype._renderControl=function(e,s,f,p){var h=e.controlSize,_=e.rotation,M=p.getModel("controlStyle").getItemStyle(),L=p.getModel(["emphasis","controlStyle"]).getItemStyle(),z=p.getPlayState(),Y=p.get("inverse",!0);q(e.nextBtnPosition,"next",Object(H.c)(this._changeTimeline,this,Y?"-":"+")),q(e.prevBtnPosition,"prev",Object(H.c)(this._changeTimeline,this,Y?"+":"-")),q(e.playPosition,z?"stop":"play",Object(H.c)(this._handlePlayClick,this,!z),!0);function q(se,ye,je,De){if(!!se){var We=Od(Object(H.P)(p.get(["controlStyle",ye+"BtnSize"]),h),h),st=[0,-We/2,We,We],dt=tm(p,ye+"Icon",st,{x:se[0],y:se[1],originX:h/2,originY:0,rotation:De?-_:0,rectHover:!0,style:M,onclick:je});dt.ensureState("emphasis").style=L,s.add(dt),E_(dt)}}},n.prototype._renderCurrentPointer=function(e,s,f,p){var h=p.getData(),_=p.getCurrentIndex(),M=h.getItemModel(_).getModel("checkpointStyle"),L=this,z={onCreate:function(Y){Y.draggable=!0,Y.drift=Object(H.c)(L._handlePointerDrag,L),Y.ondragend=Object(H.c)(L._handlePointerDragend,L),Kne(Y,L._progressLine,_,f,p,!0)},onUpdate:function(Y){Kne(Y,L._progressLine,_,f,p)}};this._currentPointer=t3(M,M,this._mainGroup,{},this._currentPointer,z)},n.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},n.prototype._handlePointerDrag=function(e,s,f){this._clearTimer(),this._pointerChangeTimeline([f.offsetX,f.offsetY])},n.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},n.prototype._pointerChangeTimeline=function(e,s){var f=this._toAxisCoord(e)[0],p=this._axis,h=oc(p.getExtent().slice());f>h[1]&&(f=h[1]),f<h[0]&&(f=h[0]),this._currentPointer.x=f,this._currentPointer.markRedraw();var _=this._progressLine;_&&(_.shape.x2=f,_.dirty());var M=this._findNearestTick(f),L=this.model;(s||M!==L.getCurrentIndex()&&L.get("realtime"))&&this._changeTimeline(M)},n.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var s=e.model;e._changeTimeline(s.getCurrentIndex()+(s.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},n.prototype._toAxisCoord=function(e){var s=this._mainGroup.getLocalTransform();return Vm(e,s,!0)},n.prototype._findNearestTick=function(e){var s=this.model.getData(),f=Infinity,p,h=this._axis;return s.each(["value"],function(_,M){var L=h.dataToCoord(_),z=Math.abs(L-e);z<f&&(f=z,p=M)}),p},n.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},n.prototype._changeTimeline=function(e){var s=this.model.getCurrentIndex();e==="+"?e=s+1:e==="-"&&(e=s-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},n.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),s=this._tickSymbols,f=this._tickLabels;if(s)for(var p=0;p<s.length;p++)s&&s[p]&&s[p].toggleState("progress",p<e);if(f)for(var p=0;p<f.length;p++)f&&f[p]&&f[p].toggleState("progress",Qj(f[p]).dataIndex<=e)},n.type="timeline.slider",n}($se);function N2(a,n){if(n=n||a.get("type"),n)switch(n){case"category":return new iI({ordinalMeta:a.getCategories(),extent:[Infinity,-Infinity]});case"time":return new s7({locale:a.ecModel.getLocaleModel(),useUTC:a.ecModel.get("useUTC")});default:return new Jy}}function Wne(a,n){return Pv(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},a.get("padding"))}function tm(a,n,e,s){var f=s.style,p=tC(a.get(["controlStyle",n]),s||{},new fo(e[0],e[1],e[2],e[3]));return f&&p.setStyle(f),p}function t3(a,n,e,s,f,p){var h=n.get("color");if(f)f.setColor(h),e.add(f),p&&p.onUpdate(f);else{var _=a.get("symbol");f=Rv(_,-1,-1,2,2,h),f.setStyle("strokeNoScale",!0),e.add(f),p&&p.onCreate(f)}var M=n.getItemStyle(["color"]);f.setStyle(M),s=Object(H.I)({rectHover:!0,z2:100},s,!0);var L=qx(a.get("symbolSize"));s.scaleX=L[0]/2,s.scaleY=L[1]/2;var z=oC(a.get("symbolOffset"),L);z&&(s.x=(s.x||0)+z[0],s.y=(s.y||0)+z[1]);var Y=a.get("symbolRotate");return s.rotation=(Y||0)*Math.PI/180||0,f.attr(s),f.updateTransform(),f}function Kne(a,n,e,s,f,p){if(!a.dragging){var h=f.getModel("checkpointStyle"),_=s.dataToCoord(f.getData().get("value",e));if(p||!h.get("animation",!0))a.attr({x:_,y:0}),n&&n.attr({shape:{x2:_}});else{var M={duration:h.get("animationDuration",!0),easing:h.get("animationEasing",!0)};a.stopAnimation(null,!0),a.animateTo({x:_,y:0},M),n&&n.animateTo({shape:{x2:_}},M)}}}var Yne=I2;function Wse(a){a.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(n,e,s){var f=e.getComponent("timeline");return f&&n.currentIndex!=null&&(f.setCurrentIndex(n.currentIndex),!f.get("loop",!0)&&f.isIndexMax()&&f.getPlayState()&&(f.setPlayState(!1),s.dispatchAction({type:"timelinePlayChange",playState:!1,from:n.from}))),e.resetOption("timeline",{replaceMerge:f.get("replaceMerge",!0)}),Object(H.i)({currentIndex:f.option.currentIndex},n)}),a.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(n,e){var s=e.getComponent("timeline");s&&n.playState!=null&&s.setPlayState(n.playState)})}function Kse(a){var n=a&&a.timeline;H.t(n)||(n=n?[n]:[]),H.k(n,function(e){!e||Xne(e)})}function Xne(a){var n=a.type,e={number:"value",time:"time"};if(e[n]&&(a.axisType=e[n],delete a.type),nz(a),uE(a,"controlPosition")){var s=a.controlStyle||(a.controlStyle={});uE(s,"position")||(s.position=a.controlPosition),s.position==="none"&&!uE(s,"show")&&(s.show=!1,delete s.position),delete a.controlPosition}H.k(a.data||[],function(f){H.A(f)&&!H.t(f)&&(!uE(f,"value")&&uE(f,"name")&&(f.value=f.name),nz(f))})}function nz(a){var n=a.itemStyle||(a.itemStyle={}),e=n.emphasis||(n.emphasis={}),s=a.label||a.label||{},f=s.normal||(s.normal={}),p={normal:1,emphasis:1};H.k(s,function(h,_){!p[_]&&!uE(f,_)&&(f[_]=h)}),e.label&&!uE(s,"emphasis")&&(s.emphasis=e.label,delete e.label)}function uE(a,n){return a.hasOwnProperty(n)}function e_(a){a.registerComponentModel(hf),a.registerComponentView(Yne),a.registerSubTypeDefaulter("timeline",function(){return"slider"}),Wse(a),a.registerPreprocessor(Kse)}function ry(a,n){if(!a)return!1;for(var e=Object(H.t)(a)?a:[a],s=0;s<e.length;s++)if(e[s]&&e[s][n])return!0;return!1}function t_(a){on(a,"label",["show"])}var e0=ol(),cf=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.createdBySelf=!1,e}return n.prototype.init=function(e,s,f){this.mergeDefaultAndTheme(e,f),this._mergeOption(e,f,!1,!0)},n.prototype.isAnimationEnabled=function(){if(Bt.a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},n.prototype.mergeOption=function(e,s){this._mergeOption(e,s,!1,!1)},n.prototype._mergeOption=function(e,s,f,p){var h=this.mainType;f||s.eachSeries(function(_){var M=_.get(this.mainType,!0),L=e0(_)[h];if(!M||!M.data){e0(_)[h]=null;return}L?L._mergeOption(M,s,!0):(p&&t_(M),H.k(M.data,function(z){z instanceof Array?(t_(z[0]),t_(z[1])):t_(z)}),L=this.createMarkerModelFromSeries(M,this,s),H.m(L,{mainType:this.mainType,seriesIndex:_.seriesIndex,name:_.name,createdBySelf:!0}),L.__hostSeries=_),e0(_)[h]=L},this)},n.prototype.formatTooltip=function(e,s,f){var p=this.getData(),h=this.getRawValue(e),_=p.getName(e);return th("section",{header:this.name,blocks:[th("nameValue",{name:_,value:h,noName:!_,noValue:h==null})]})},n.prototype.getData=function(){return this._data},n.prototype.setData=function(e){this._data=e},n.getMarkerModelFromSeries=function(e,s){return e0(e)[s]},n.type="marker",n.dependencies=["series","grid","polar","geo"],n}(tf);H.K(cf,mR.prototype);var Ad=cf,n3=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.createMarkerModelFromSeries=function(e,s,f){return new n(e,s,f)},n.type="markPoint",n.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},n}(Ad),qj=n3;function L2(a){return!(isNaN(parseFloat(a.x))&&isNaN(parseFloat(a.y)))}function r3(a){return!isNaN(parseFloat(a.x))&&!isNaN(parseFloat(a.y))}function eM(a,n,e,s,f,p){var h=[],_=$y(n,s),M=_?n.getCalculationInfo("stackResultDimension"):s,L=U2(n,M,a),z=n.indicesOfNearest(M,L)[0];h[f]=n.get(e,z),h[p]=n.get(M,z);var Y=n.get(s,z),q=Il(n.get(s,z));return q=Math.min(q,20),q>=0&&(h[p]=+h[p].toFixed(q)),[h,Y]}var ay={min:Object(H.h)(eM,"min"),max:Object(H.h)(eM,"max"),average:Object(H.h)(eM,"average"),median:Object(H.h)(eM,"median")};function n_(a,n){if(!!n){var e=a.getData(),s=a.coordinateSystem,f=s&&s.dimensions;if(!r3(n)&&!Object(H.t)(n.coord)&&Object(H.t)(f)){var p=a3(n,e,s,a);if(n=Object(H.d)(n),n.type&&ay[n.type]&&p.baseAxis&&p.valueAxis){var h=Object(H.r)(f,p.baseAxis.dim),_=Object(H.r)(f,p.valueAxis.dim),M=ay[n.type](e,p.baseDataDim,p.valueDataDim,h,_);n.coord=M[0],n.value=M[1]}else n.coord=[n.xAxis!=null?n.xAxis:n.radiusAxis,n.yAxis!=null?n.yAxis:n.angleAxis]}if(n.coord==null||!Object(H.t)(f))n.coord=[];else for(var L=n.coord,z=0;z<2;z++)ay[L[z]]&&(L[z]=U2(e,e.mapDimension(f[z]),L[z]));return n}}function a3(a,n,e,s){var f={};return a.valueIndex!=null||a.valueDim!=null?(f.valueDataDim=a.valueIndex!=null?n.getDimension(a.valueIndex):a.valueDim,f.valueAxis=e.getAxis(F2(s,f.valueDataDim)),f.baseAxis=e.getOtherAxis(f.valueAxis),f.baseDataDim=n.mapDimension(f.baseAxis.dim)):(f.baseAxis=s.getBaseAxis(),f.valueAxis=e.getOtherAxis(f.baseAxis),f.baseDataDim=n.mapDimension(f.baseAxis.dim),f.valueDataDim=n.mapDimension(f.valueAxis.dim)),f}function F2(a,n){var e=a.getData().getDimensionInfo(n);return e&&e.coordDim}function pO(a,n){return a&&a.containData&&n.coord&&!L2(n)?a.containData(n.coord):!0}function i3(a,n,e){return a&&a.containZone&&n.coord&&e.coord&&!L2(n)&&!L2(e)?a.containZone(n.coord,e.coord):!0}function rz(a,n){return a?function(e,s,f,p){var h=p<2?e.coord&&e.coord[p]:e.value;return Dy(h,n[p])}:function(e,s,f,p){return Dy(e.value,n[p])}}function U2(a,n,e){if(e==="average"){var s=0,f=0;return a.each(n,function(p,h){isNaN(p)||(s+=p,f++)}),s/f}else return e==="median"?a.getMedian(n):a.getDataExtent(n)[e==="max"?1:0]}var xb=ol(),tM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.init=function(){this.markerGroupMap=Object(H.f)()},n.prototype.render=function(e,s,f){var p=this,h=this.markerGroupMap;h.each(function(_){xb(_).keep=!1}),s.eachSeries(function(_){var M=Ad.getMarkerModelFromSeries(_,p.type);M&&p.renderSeries(_,M,s,f)}),h.each(function(_){!xb(_).keep&&p.group.remove(_.group)})},n.prototype.markKeep=function(e){xb(e).keep=!0},n.prototype.toggleBlurSeries=function(e,s){var f=this;Object(H.k)(e,function(p){var h=Ad.getMarkerModelFromSeries(p,f.type);if(h){var _=h.getData();_.eachItemGraphicEl(function(M){M&&(s?NP(M):QE(M))})}})},n.type="marker",n}(Np),o3=tM;function r_(a,n,e){var s=n.coordinateSystem;a.each(function(f){var p=a.getItemModel(f),h,_=Mi(p.get("x"),e.getWidth()),M=Mi(p.get("y"),e.getHeight());if(!isNaN(_)&&!isNaN(M))h=[_,M];else if(n.getMarkerPosition)h=n.getMarkerPosition(a.getValues(a.dimensions,f));else if(s){var L=a.get(s.dimensions[0],f),z=a.get(s.dimensions[1],f);h=s.dataToPoint([L,z])}isNaN(_)||(h[0]=_),isNaN(M)||(h[1]=M),a.setItemLayout(f,h)})}var s3=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.updateTransform=function(e,s,f){s.eachSeries(function(p){var h=Ad.getMarkerModelFromSeries(p,"markPoint");h&&(r_(h.getData(),p,f),this.markerGroupMap.get(p.id).updateLayout())},this)},n.prototype.renderSeries=function(e,s,f,p){var h=e.coordinateSystem,_=e.id,M=e.getData(),L=this.markerGroupMap,z=L.get(_)||L.set(_,new mS),Y=Tm(h,e,s);s.setData(Y),r_(s.getData(),e,p),Y.each(function(q){var se=Y.getItemModel(q),ye=se.getShallow("symbol"),je=se.getShallow("symbolSize"),De=se.getShallow("symbolRotate"),We=se.getShallow("symbolOffset"),st=se.getShallow("symbolKeepAspect");if(Object(H.w)(ye)||Object(H.w)(je)||Object(H.w)(De)||Object(H.w)(We)){var dt=s.getRawValue(q),Mt=s.getDataParams(q);Object(H.w)(ye)&&(ye=ye(dt,Mt)),Object(H.w)(je)&&(je=je(dt,Mt)),Object(H.w)(De)&&(De=De(dt,Mt)),Object(H.w)(We)&&(We=We(dt,Mt))}var nn=se.getModel("itemStyle").getItemStyle(),rn=Zx(M,"color");nn.fill||(nn.fill=rn),Y.setItemVisual(q,{symbol:ye,symbolSize:je,symbolRotate:De,symbolOffset:We,symbolKeepAspect:st,style:nn})}),z.updateData(Y),this.group.add(z.group),Y.eachItemGraphicEl(function(q){q.traverse(function(se){sc(se).dataModel=s})}),this.markKeep(z),z.group.silent=s.get("silent")||e.get("silent")},n.type="markPoint",n}(o3);function Tm(a,n,e){var s;a?s=Object(H.H)(a&&a.dimensions,function(_){var M=n.getData().getDimensionInfo(n.getData().mapDimension(_))||{};return Object(H.m)(Object(H.m)({},M),{name:_,ordinalMeta:null})}):s=[{name:"value",type:"float"}];var f=new cg(s,e),p=Object(H.H)(e.get("data"),Object(H.h)(n_,n));a&&(p=Object(H.n)(p,Object(H.h)(pO,a)));var h=rz(!!a,s);return f.initData(p,null,h),f}var Jne=s3;function az(a){a.registerComponentModel(qj),a.registerComponentView(Jne),a.registerPreprocessor(function(n){ry(n.series,"markPoint")&&(n.markPoint=n.markPoint||{})})}var c3=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.createMarkerModelFromSeries=function(e,s,f){return new n(e,s,f)},n.type="markLine",n.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},n}(Ad),B2=c3,vO=ol(),iz=function(a,n,e,s){var f=a.getData(),p;if(Object(H.t)(s))p=s;else{var h=s.type;if(h==="min"||h==="max"||h==="average"||h==="median"||s.xAxis!=null||s.yAxis!=null){var _=void 0,M=void 0;if(s.yAxis!=null||s.xAxis!=null)_=n.getAxis(s.yAxis!=null?"y":"x"),M=Object(H.O)(s.yAxis,s.xAxis);else{var L=a3(s,f,n,a);_=L.valueAxis;var z=hS(f,L.valueDataDim);M=U2(f,z,h)}var Y=_.dim==="x"?0:1,q=1-Y,se=Object(H.d)(s),ye={coord:[]};se.type=null,se.coord=[],se.coord[q]=-Infinity,ye.coord[q]=Infinity;var je=e.get("precision");je>=0&&Object(H.z)(M)&&(M=+M.toFixed(Math.min(je,20))),se.coord[Y]=ye.coord[Y]=M,p=[se,ye,{type:h,valueIndex:s.valueIndex,value:M}]}else p=[]}var De=[n_(a,p[0]),n_(a,p[1]),Object(H.m)({},p[2])];return De[2].type=De[2].type||null,Object(H.I)(De[2],De[0]),Object(H.I)(De[2],De[1]),De};function hO(a){return!isNaN(a)&&!isFinite(a)}function oz(a,n,e,s){var f=1-a,p=s.dimensions[a];return hO(n[f])&&hO(e[f])&&n[a]===e[a]&&s.getAxis(p).containData(n[a])}function sz(a,n){if(a.type==="cartesian2d"){var e=n[0].coord,s=n[1].coord;if(e&&s&&(oz(1,e,s,a)||oz(0,e,s,a)))return!0}return pO(a,n[0])&&pO(a,n[1])}function cz(a,n,e,s,f){var p=s.coordinateSystem,h=a.getItemModel(n),_,M=Mi(h.get("x"),f.getWidth()),L=Mi(h.get("y"),f.getHeight());if(!isNaN(M)&&!isNaN(L))_=[M,L];else{if(s.getMarkerPosition)_=s.getMarkerPosition(a.getValues(a.dimensions,n));else{var z=p.dimensions,Y=a.get(z[0],n),q=a.get(z[1],n);_=p.dataToPoint([Y,q])}if(P1(p,"cartesian2d")){var se=p.getAxis("x"),ye=p.getAxis("y"),z=p.dimensions;hO(a.get(z[0],n))?_[0]=se.toGlobalCoord(se.getExtent()[e?0:1]):hO(a.get(z[1],n))&&(_[1]=ye.toGlobalCoord(ye.getExtent()[e?0:1]))}isNaN(M)||(_[0]=M),isNaN(L)||(_[1]=L)}a.setItemLayout(n,_)}var Zne=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.updateTransform=function(e,s,f){s.eachSeries(function(p){var h=Ad.getMarkerModelFromSeries(p,"markLine");if(h){var _=h.getData(),M=vO(h).from,L=vO(h).to;M.each(function(z){cz(M,z,!0,p,f),cz(L,z,!1,p,f)}),_.each(function(z){_.setItemLayout(z,[M.getItemLayout(z),L.getItemLayout(z)])}),this.markerGroupMap.get(p.id).updateLayout()}},this)},n.prototype.renderSeries=function(e,s,f,p){var h=e.coordinateSystem,_=e.id,M=e.getData(),L=this.markerGroupMap,z=L.get(_)||L.set(_,new Uk);this.group.add(z.group);var Y=lz(h,e,s),q=Y.from,se=Y.to,ye=Y.line;vO(s).from=q,vO(s).to=se,s.setData(ye);var je=s.get("symbol"),De=s.get("symbolSize"),We=s.get("symbolRotate"),st=s.get("symbolOffset");Object(H.t)(je)||(je=[je,je]),Object(H.t)(De)||(De=[De,De]),Object(H.t)(We)||(We=[We,We]),Object(H.t)(st)||(st=[st,st]),Y.from.each(function(Mt){dt(q,Mt,!0),dt(se,Mt,!1)}),ye.each(function(Mt){var nn=ye.getItemModel(Mt).getModel("lineStyle").getLineStyle();ye.setItemLayout(Mt,[q.getItemLayout(Mt),se.getItemLayout(Mt)]),nn.stroke==null&&(nn.stroke=q.getItemVisual(Mt,"style").fill),ye.setItemVisual(Mt,{fromSymbolKeepAspect:q.getItemVisual(Mt,"symbolKeepAspect"),fromSymbolOffset:q.getItemVisual(Mt,"symbolOffset"),fromSymbolRotate:q.getItemVisual(Mt,"symbolRotate"),fromSymbolSize:q.getItemVisual(Mt,"symbolSize"),fromSymbol:q.getItemVisual(Mt,"symbol"),toSymbolKeepAspect:se.getItemVisual(Mt,"symbolKeepAspect"),toSymbolOffset:se.getItemVisual(Mt,"symbolOffset"),toSymbolRotate:se.getItemVisual(Mt,"symbolRotate"),toSymbolSize:se.getItemVisual(Mt,"symbolSize"),toSymbol:se.getItemVisual(Mt,"symbol"),style:nn})}),z.updateData(ye),Y.line.eachItemGraphicEl(function(Mt){sc(Mt).dataModel=s,Mt.traverse(function(nn){sc(nn).dataModel=s})});function dt(Mt,nn,rn){var Cn=Mt.getItemModel(nn);cz(Mt,nn,rn,e,p);var er=Cn.getModel("itemStyle").getItemStyle();er.fill==null&&(er.fill=Zx(M,"color")),Mt.setItemVisual(nn,{symbolKeepAspect:Cn.get("symbolKeepAspect"),symbolOffset:Object(H.P)(Cn.get("symbolOffset",!0),st[rn?0:1]),symbolRotate:Object(H.P)(Cn.get("symbolRotate",!0),We[rn?0:1]),symbolSize:Object(H.P)(Cn.get("symbolSize"),De[rn?0:1]),symbol:Object(H.P)(Cn.get("symbol",!0),je[rn?0:1]),style:er})}this.markKeep(z),z.group.silent=s.get("silent")||e.get("silent")},n.type="markLine",n}(o3);function lz(a,n,e){var s;a?s=Object(H.H)(a&&a.dimensions,function(L){var z=n.getData().getDimensionInfo(n.getData().mapDimension(L))||{};return Object(H.m)(Object(H.m)({},z),{name:L,ordinalMeta:null})}):s=[{name:"value",type:"float"}];var f=new cg(s,e),p=new cg(s,e),h=new cg([],e),_=Object(H.H)(e.get("data"),Object(H.h)(iz,n,a,e));a&&(_=Object(H.n)(_,Object(H.h)(sz,a)));var M=rz(!!a,s);return f.initData(Object(H.H)(_,function(L){return L[0]}),null,M),p.initData(Object(H.H)(_,function(L){return L[1]}),null,M),h.initData(Object(H.H)(_,function(L){return L[2]})),h.hasItemOption=!0,{from:f,to:p,line:h}}var Qne=Zne;function qne(a){a.registerComponentModel(B2),a.registerComponentView(Qne),a.registerPreprocessor(function(n){ry(n.series,"markLine")&&(n.markLine=n.markLine||{})})}var nM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.createMarkerModelFromSeries=function(e,s,f){return new n(e,s,f)},n.type="markArea",n.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},n}(Ad),V2=nM,gO=ol(),ere=function(a,n,e,s){var f=s[0],p=s[1];if(!(!f||!p)){var h=n_(a,f),_=n_(a,p),M=h.coord,L=_.coord;M[0]=Object(H.O)(M[0],-Infinity),M[1]=Object(H.O)(M[1],-Infinity),L[0]=Object(H.O)(L[0],Infinity),L[1]=Object(H.O)(L[1],Infinity);var z=Object(H.J)([{},h,_]);return z.coord=[h.coord,_.coord],z.x0=h.x,z.y0=h.y,z.x1=_.x,z.y1=_.y,z}};function rM(a){return!isNaN(a)&&!isFinite(a)}function uz(a,n,e,s){var f=1-a;return rM(n[f])&&rM(e[f])}function dz(a,n){var e=n.coord[0],s=n.coord[1],f={coord:e,x:n.x0,y:n.y0},p={coord:s,x:n.x1,y:n.y1};return P1(a,"cartesian2d")?e&&s&&(uz(1,e,s,a)||uz(0,e,s,a))?!0:i3(a,f,p):pO(a,f)||pO(a,p)}function nm(a,n,e,s,f){var p=s.coordinateSystem,h=a.getItemModel(n),_,M=Mi(h.get(e[0]),f.getWidth()),L=Mi(h.get(e[1]),f.getHeight());if(!isNaN(M)&&!isNaN(L))_=[M,L];else{if(s.getMarkerPosition){var z=a.getValues(["x0","y0"],n),Y=a.getValues(["x1","y1"],n),q=p.clampData(z),se=p.clampData(Y),ye=[];e[0]==="x0"?ye[0]=q[0]>se[0]?Y[0]:z[0]:ye[0]=q[0]>se[0]?z[0]:Y[0],e[1]==="y0"?ye[1]=q[1]>se[1]?Y[1]:z[1]:ye[1]=q[1]>se[1]?z[1]:Y[1],_=s.getMarkerPosition(ye,e,!0)}else{var je=a.get(e[0],n),De=a.get(e[1],n),We=[je,De];p.clampData&&p.clampData(We,We),_=p.dataToPoint(We,!0)}if(P1(p,"cartesian2d")){var st=p.getAxis("x"),dt=p.getAxis("y"),je=a.get(e[0],n),De=a.get(e[1],n);rM(je)?_[0]=st.toGlobalCoord(st.getExtent()[e[0]==="x0"?0:1]):rM(De)&&(_[1]=dt.toGlobalCoord(dt.getExtent()[e[1]==="y0"?0:1]))}isNaN(M)||(_[0]=M),isNaN(L)||(_[1]=L)}return _}var fz=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],tre=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.updateTransform=function(e,s,f){s.eachSeries(function(p){var h=Ad.getMarkerModelFromSeries(p,"markArea");if(h){var _=h.getData();_.each(function(M){var L=Object(H.H)(fz,function(Y){return nm(_,M,Y,p,f)});_.setItemLayout(M,L);var z=_.getItemGraphicEl(M);z.setShape("points",L)})}},this)},n.prototype.renderSeries=function(e,s,f,p){var h=e.coordinateSystem,_=e.id,M=e.getData(),L=this.markerGroupMap,z=L.get(_)||L.set(_,{group:new _s});this.group.add(z.group),this.markKeep(z);var Y=l3(h,e,s);s.setData(Y),Y.each(function(q){var se=Object(H.H)(fz,function(er){return nm(Y,q,er,e,p)}),ye=h.getAxis("x").scale,je=h.getAxis("y").scale,De=ye.getExtent(),We=je.getExtent(),st=[ye.parse(Y.get("x0",q)),ye.parse(Y.get("x1",q))],dt=[je.parse(Y.get("y0",q)),je.parse(Y.get("y1",q))];oc(st),oc(dt);var Mt=!(De[0]>st[1]||De[1]<st[0]||We[0]>dt[1]||We[1]<dt[0]),nn=!Mt;Y.setItemLayout(q,{points:se,allClipped:nn});var rn=Y.getItemModel(q).getModel("itemStyle").getItemStyle(),Cn=Zx(M,"color");rn.fill||(rn.fill=Cn,Object(H.C)(rn.fill)&&(rn.fill=ml.e(rn.fill,.4))),rn.stroke||(rn.stroke=Cn),Y.setItemVisual(q,"style",rn)}),Y.diff(gO(z).data).add(function(q){var se=Y.getItemLayout(q);if(!se.allClipped){var ye=new $h({shape:{points:se.points}});Y.setItemGraphicEl(q,ye),z.group.add(ye)}}).update(function(q,se){var ye=gO(z).data.getItemGraphicEl(se),je=Y.getItemLayout(q);je.allClipped?ye&&z.group.remove(ye):(ye?pf(ye,{shape:{points:je.points}},s,q):ye=new $h({shape:{points:je.points}}),Y.setItemGraphicEl(q,ye),z.group.add(ye))}).remove(function(q){var se=gO(z).data.getItemGraphicEl(q);z.group.remove(se)}).execute(),Y.eachItemGraphicEl(function(q,se){var ye=Y.getItemModel(se),je=Y.getItemVisual(se,"style");q.useStyle(Y.getItemVisual(se,"style")),Wf(q,_f(ye),{labelFetcher:s,labelDataIndex:se,defaultText:Y.getName(se)||"",inheritColor:Object(H.C)(je.fill)?ml.e(je.fill,1):"#000"}),Qv(q,ye),Wp(q,null,null,ye.get(["emphasis","disabled"])),sc(q).dataModel=s}),gO(z).data=Y,z.group.silent=s.get("silent")||e.get("silent")},n.type="markArea",n}(o3);function l3(a,n,e){var s,f,p=["x0","y0","x1","y1"];if(a){var h=Object(H.H)(a&&a.dimensions,function(L){var z=n.getData(),Y=z.getDimensionInfo(z.mapDimension(L))||{};return Object(H.m)(Object(H.m)({},Y),{name:L,ordinalMeta:null})});f=Object(H.H)(p,function(L,z){return{name:L,type:h[z%2].type}}),s=new cg(f,e)}else f=[{name:"value",type:"float"}],s=new cg(f,e);var _=Object(H.H)(e.get("data"),Object(H.h)(ere,n,a,e));a&&(_=Object(H.n)(_,Object(H.h)(dz,a)));var M=a?function(L,z,Y,q){var se=L.coord[Math.floor(q/2)][q%2];return Dy(se,f[q])}:function(L,z,Y,q){return Dy(L.value,f[q])};return s.initData(_,null,M),s.hasItemOption=!0,s}var nre=tre;function aM(a){a.registerComponentModel(V2),a.registerComponentView(nre),a.registerPreprocessor(function(n){ry(n.series,"markArea")&&(n.markArea=n.markArea||{})})}var rre=function(a,n){if(n==="all")return{type:"all",title:a.getLocaleModel().get(["legend","selector","all"])};if(n==="inverse")return{type:"inverse",title:a.getLocaleModel().get(["legend","selector","inverse"])}},Yse=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.layoutMode={type:"box",ignoreSize:!0},e}return n.prototype.init=function(e,s,f){this.mergeDefaultAndTheme(e,f),e.selected=e.selected||{},this._updateSelector(e)},n.prototype.mergeOption=function(e,s){a.prototype.mergeOption.call(this,e,s),this._updateSelector(e)},n.prototype._updateSelector=function(e){var s=e.selector,f=this.ecModel;s===!0&&(s=e.selector=["all","inverse"]),H.t(s)&&H.k(s,function(p,h){H.C(p)&&(p={type:p}),s[h]=H.I(p,rre(f,p.type))})},n.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var s=!1,f=0;f<e.length;f++){var p=e[f].get("name");if(this.isSelected(p)){this.select(p),s=!0;break}}!s&&this.select(e[0].get("name"))}},n.prototype._updateData=function(e){var s=[],f=[];e.eachRawSeries(function(M){var L=M.name;f.push(L);var z;if(M.legendVisualProvider){var Y=M.legendVisualProvider,q=Y.getAllNames();e.isSeriesFiltered(M)||(f=f.concat(q)),q.length?s=s.concat(q):z=!0}else z=!0;z&&$s(M)&&s.push(M.name)}),this._availableNames=f;var p=this.get("data")||s,h=H.f(),_=H.H(p,function(M){return(H.C(M)||H.z(M))&&(M={name:M}),h.get(M.name)?null:(h.set(M.name,!0),new tp(M,this,this.ecModel))},this);this._data=H.n(_,function(M){return!!M})},n.prototype.getData=function(){return this._data},n.prototype.select=function(e){var s=this.option.selected,f=this.get("selectedMode");if(f==="single"){var p=this._data;H.k(p,function(h){s[h.get("name")]=!1})}s[e]=!0},n.prototype.unSelect=function(e){this.get("selectedMode")!=="single"&&(this.option.selected[e]=!1)},n.prototype.toggleSelected=function(e){var s=this.option.selected;s.hasOwnProperty(e)||(s[e]=!0),this[s[e]?"unSelect":"select"](e)},n.prototype.allSelect=function(){var e=this._data,s=this.option.selected;H.k(e,function(f){s[f.get("name",!0)]=!0})},n.prototype.inverseSelect=function(){var e=this._data,s=this.option.selected;H.k(e,function(f){var p=f.get("name",!0);s.hasOwnProperty(p)||(s[p]=!0),s[p]=!s[p]})},n.prototype.isSelected=function(e){var s=this.option.selected;return!(s.hasOwnProperty(e)&&!s[e])&&H.r(this._availableNames,e)>=0},n.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},n.type="legend.plain",n.dependencies=["series"],n.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},n}(tf),iy=Yse,mO=H.h,iM=H.k,a_=_s,are=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.newlineDisabled=!1,e}return n.prototype.init=function(){this.group.add(this._contentGroup=new a_),this.group.add(this._selectorGroup=new a_),this._isFirstRender=!0},n.prototype.getContentGroup=function(){return this._contentGroup},n.prototype.getSelectorGroup=function(){return this._selectorGroup},n.prototype.render=function(e,s,f){var p=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var h=e.get("align"),_=e.get("orient");(!h||h==="auto")&&(h=e.get("left")==="right"&&_==="vertical"?"right":"left");var M=e.get("selector",!0),L=e.get("selectorPosition",!0);M&&(!L||L==="auto")&&(L=_==="horizontal"?"end":"start"),this.renderInner(h,e,s,f,M,_,L);var z=e.getBoxLayoutParams(),Y={width:f.getWidth(),height:f.getHeight()},q=e.get("padding"),se=Pv(z,Y,q),ye=this.layoutInner(e,h,se,p,M,L),je=Pv(H.i({width:ye.width,height:ye.height},z),Y,q);this.group.x=je.x-ye.x,this.group.y=je.y-ye.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Nv(ye,e))}},n.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},n.prototype.renderInner=function(e,s,f,p,h,_,M){var L=this.getContentGroup(),z=H.f(),Y=s.get("selectedMode"),q=[];f.eachRawSeries(function(se){!se.get("legendHoverLink")&&q.push(se.id)}),iM(s.getData(),function(se,ye){var je=se.get("name");if(!this.newlineDisabled&&(je===""||je===`
`)){var De=new a_;De.newline=!0,L.add(De);return}var We=f.getSeriesByName(je)[0];if(!z.get(je))if(We){var st=We.getData(),dt=st.getVisual("legendLineStyle")||{},Mt=st.getVisual("legendIcon"),nn=st.getVisual("style"),rn=this._createItem(We,je,ye,se,s,e,dt,nn,Mt,Y,p);rn.on("click",mO(f3,je,null,p,q)).on("mouseover",mO(p3,We.name,null,p,q)).on("mouseout",mO(qp,We.name,null,p,q)),z.set(je,!0)}else f.eachRawSeries(function(Cn){if(!z.get(je)&&Cn.legendVisualProvider){var er=Cn.legendVisualProvider;if(!er.containName(je))return;var ir=er.indexOfName(je),dr=er.getItemVisual(ir,"style"),pr=er.getItemVisual(ir,"legendIcon"),ia=Object(ml.g)(dr.fill);ia&&ia[3]===0&&(ia[3]=.2,dr=H.m(H.m({},dr),{fill:Object(ml.h)(ia,"rgba")}));var pa=this._createItem(Cn,je,ye,se,s,e,{},dr,pr,Y,p);pa.on("click",mO(f3,null,je,p,q)).on("mouseover",mO(p3,null,je,p,q)).on("mouseout",mO(qp,null,je,p,q)),z.set(je,!0)}},this)},this),h&&this._createSelector(h,s,p,_,M)},n.prototype._createSelector=function(e,s,f,p,h){var _=this.getSelectorGroup();iM(e,function(L){var z=L.type,Y=new Ho({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){f.dispatchAction({type:z==="all"?"legendAllSelect":"legendInverseSelect"})}});_.add(Y);var q=s.getModel("selectorLabel"),se=s.getModel(["emphasis","selectorLabel"]);Wf(Y,{normal:q,emphasis:se},{defaultText:L.title}),E_(Y)})},n.prototype._createItem=function(e,s,f,p,h,_,M,L,z,Y,q){var se=e.visualDrawType,ye=h.get("itemWidth"),je=h.get("itemHeight"),De=h.isSelected(s),We=p.get("symbolRotate"),st=p.get("symbolKeepAspect"),dt=p.get("icon");z=dt||z||"roundRect";var Mt=u3(z,p,M,L,se,De,q),nn=new a_,rn=p.getModel("textStyle");if(H.w(e.getLegendIcon)&&(!dt||dt==="inherit"))nn.add(e.getLegendIcon({itemWidth:ye,itemHeight:je,icon:z,iconRotate:We,itemStyle:Mt.itemStyle,lineStyle:Mt.lineStyle,symbolKeepAspect:st}));else{var Cn=dt==="inherit"&&e.getData().getVisual("symbol")?We==="inherit"?e.getData().getVisual("symbolRotate"):We:0;nn.add(d3({itemWidth:ye,itemHeight:je,icon:z,iconRotate:Cn,itemStyle:Mt.itemStyle,lineStyle:Mt.lineStyle,symbolKeepAspect:st}))}var er=_==="left"?ye+5:-5,ir=_,dr=h.get("formatter"),pr=s;H.C(dr)&&dr?pr=dr.replace("{name}",s!=null?s:""):H.w(dr)&&(pr=dr(s));var ia=p.get("inactiveColor");nn.add(new Ho({style:ep(rn,{text:pr,x:er,y:je/2,fill:De?rn.getTextColor():ia,align:ir,verticalAlign:"middle"})}));var pa=new Ic({shape:nn.getBoundingRect(),invisible:!0}),Ga=p.getModel("tooltip");return Ga.get("show")&&nC({el:pa,componentModel:h,itemName:s,itemTooltipOption:Ga.option}),nn.add(pa),nn.eachChild(function(si){si.silent=!0}),pa.silent=!Y,this.getContentGroup().add(nn),E_(nn),nn.__legendDataIndex=f,nn},n.prototype.layoutInner=function(e,s,f,p,h,_){var M=this.getContentGroup(),L=this.getSelectorGroup();x0(e.get("orient"),M,e.get("itemGap"),f.width,f.height);var z=M.getBoundingRect(),Y=[-z.x,-z.y];if(L.markRedraw(),M.markRedraw(),h){x0("horizontal",L,e.get("selectorItemGap",!0));var q=L.getBoundingRect(),se=[-q.x,-q.y],ye=e.get("selectorButtonGap",!0),je=e.getOrient().index,De=je===0?"width":"height",We=je===0?"height":"width",st=je===0?"y":"x";_==="end"?se[je]+=z[De]+ye:Y[je]+=q[De]+ye,se[1-je]+=z[We]/2-q[We]/2,L.x=se[0],L.y=se[1],M.x=Y[0],M.y=Y[1];var dt={x:0,y:0};return dt[De]=z[De]+ye+q[De],dt[We]=Math.max(z[We],q[We]),dt[st]=Math.min(0,q[st]+se[1-je]),dt}else return M.x=Y[0],M.y=Y[1],this.group.getBoundingRect()},n.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},n.type="legend.plain",n}(Np);function u3(a,n,e,s,f,p,h){function _(De,We){De.lineWidth==="auto"&&(De.lineWidth=We.lineWidth>0?2:0),iM(De,function(st,dt){De[dt]==="inherit"&&(De[dt]=We[dt])})}var M=n.getModel("itemStyle"),L=M.getItemStyle(),z=a.lastIndexOf("empty",0)===0?"fill":"stroke",Y=M.getShallow("decal");L.decal=!Y||Y==="inherit"?s.decal:cC(Y,h),L.fill==="inherit"&&(L.fill=s[f]),L.stroke==="inherit"&&(L.stroke=s[z]),L.opacity==="inherit"&&(L.opacity=(f==="fill"?s:e).opacity),_(L,s);var q=n.getModel("lineStyle"),se=q.getLineStyle();if(_(se,e),L.fill==="auto"&&(L.fill=s.fill),L.stroke==="auto"&&(L.stroke=s.fill),se.stroke==="auto"&&(se.stroke=s.fill),!p){var ye=n.get("inactiveBorderWidth"),je=L[z];L.lineWidth=ye==="auto"?s.lineWidth>0&&je?2:0:L.lineWidth,L.fill=n.get("inactiveColor"),L.stroke=n.get("inactiveBorderColor"),se.stroke=q.get("inactiveColor"),se.lineWidth=q.get("inactiveWidth")}return{itemStyle:L,lineStyle:se}}function d3(a){var n=a.icon||"roundRect",e=Rv(n,0,0,a.itemWidth,a.itemHeight,a.itemStyle.fill,a.symbolKeepAspect);return e.setStyle(a.itemStyle),e.rotation=(a.iconRotate||0)*Math.PI/180,e.setOrigin([a.itemWidth/2,a.itemHeight/2]),n.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function f3(a,n,e,s){qp(a,n,e,s),e.dispatchAction({type:"legendToggleSelect",name:a!=null?a:n}),p3(a,n,e,s)}function _O(a){for(var n=a.getZr().storage.getDisplayList(),e,s=0,f=n.length;s<f&&!(e=n[s].states.emphasis);)s++;return e&&e.hoverLayer}function p3(a,n,e,s){_O(e)||e.dispatchAction({type:"highlight",seriesName:a,name:n,excludeSeriesId:s})}function qp(a,n,e,s){_O(e)||e.dispatchAction({type:"downplay",seriesName:a,name:n,excludeSeriesId:s})}var sv=are;function oM(a){var n=a.findComponents({mainType:"legend"});n&&n.length&&a.filterSeries(function(e){for(var s=0;s<n.length;s++)if(!n[s].isSelected(e.name))return!1;return!0})}function oy(a,n,e){var s={},f=a==="toggleSelected",p;return e.eachComponent("legend",function(h){f&&p!=null?h[p?"select":"unSelect"](n.name):a==="allSelect"||a==="inverseSelect"?h[a]():(h[a](n.name),p=h.isSelected(n.name));var _=h.getData();Object(H.k)(_,function(M){var L=M.get("name");if(!(L===`
`||L==="")){var z=h.isSelected(L);s.hasOwnProperty(L)?s[L]=s[L]&&z:s[L]=z}})}),a==="allSelect"||a==="inverseSelect"?{selected:s}:{name:n.name,selected:s}}function sM(a){a.registerAction("legendToggleSelect","legendselectchanged",Object(H.h)(oy,"toggleSelected")),a.registerAction("legendAllSelect","legendselectall",Object(H.h)(oy,"allSelect")),a.registerAction("legendInverseSelect","legendinverseselect",Object(H.h)(oy,"inverseSelect")),a.registerAction("legendSelect","legendselected",Object(H.h)(oy,"select")),a.registerAction("legendUnSelect","legendunselected",Object(H.h)(oy,"unSelect"))}function z2(a){a.registerComponentModel(iy),a.registerComponentView(sv),a.registerProcessor(a.PRIORITY.PROCESSOR.SERIES_FILTER,oM),a.registerSubTypeDefaulter("legend",function(){return"plain"}),sM(a)}var cM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},n.prototype.init=function(e,s,f){var p=Py(e);a.prototype.init.call(this,e,s,f),H2(this,e,p)},n.prototype.mergeOption=function(e,s){a.prototype.mergeOption.call(this,e,s),H2(this,this.option,e)},n.type="legend.scroll",n.defaultOption=w_(iy.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),n}(iy);function H2(a,n,e){var s=a.getOrient(),f=[1,1];f[s.index]=0,k_(n,e,{type:"box",ignoreSize:!!f})}var Sb=cM,G2=_s,sy=["width","height"],$2=["x","y"],lM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.newlineDisabled=!0,e._currentIndex=0,e}return n.prototype.init=function(){a.prototype.init.call(this),this.group.add(this._containerGroup=new G2),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new G2)},n.prototype.resetInner=function(){a.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},n.prototype.renderInner=function(e,s,f,p,h,_,M){var L=this;a.prototype.renderInner.call(this,e,s,f,p,h,_,M);var z=this._controllerGroup,Y=s.get("pageIconSize",!0),q=H.t(Y)?Y:[Y,Y];ye("pagePrev",0);var se=s.getModel("pageTextStyle");z.add(new Ho({name:"pageText",style:{text:"xx/xx",fill:se.getTextColor(),font:se.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),ye("pageNext",1);function ye(je,De){var We=je+"DataIndex",st=tC(s.get("pageIcons",!0)[s.getOrient().name][De],{onclick:H.c(L._pageGo,L,We,s,p)},{x:-q[0]/2,y:-q[1]/2,width:q[0],height:q[1]});st.name=je,z.add(st)}},n.prototype.layoutInner=function(e,s,f,p,h,_){var M=this.getSelectorGroup(),L=e.getOrient().index,z=sy[L],Y=$2[L],q=sy[1-L],se=$2[1-L];h&&x0("horizontal",M,e.get("selectorItemGap",!0));var ye=e.get("selectorButtonGap",!0),je=M.getBoundingRect(),De=[-je.x,-je.y],We=H.d(f);h&&(We[z]=f[z]-je[z]-ye);var st=this._layoutContentAndController(e,p,We,L,z,q,se,Y);if(h){if(_==="end")De[L]+=st[z]+ye;else{var dt=je[z]+ye;De[L]-=dt,st[Y]-=dt}st[z]+=je[z]+ye,De[1-L]+=st[se]+st[q]/2-je[q]/2,st[q]=Math.max(st[q],je[q]),st[se]=Math.min(st[se],je[se]+De[1-L]),M.x=De[0],M.y=De[1],M.markRedraw()}return st},n.prototype._layoutContentAndController=function(e,s,f,p,h,_,M,L){var z=this.getContentGroup(),Y=this._containerGroup,q=this._controllerGroup;x0(e.get("orient"),z,e.get("itemGap"),p?f.width:null,p?null:f.height),x0("horizontal",q,e.get("pageButtonItemGap",!0));var se=z.getBoundingRect(),ye=q.getBoundingRect(),je=this._showController=se[h]>f[h],De=[-se.x,-se.y];s||(De[p]=z[L]);var We=[0,0],st=[-ye.x,-ye.y],dt=H.P(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(je){var Mt=e.get("pageButtonPosition",!0);Mt==="end"?st[p]+=f[h]-ye[h]:We[p]+=ye[h]+dt}st[1-p]+=se[_]/2-ye[_]/2,z.setPosition(De),Y.setPosition(We),q.setPosition(st);var nn={x:0,y:0};if(nn[h]=je?f[h]:se[h],nn[_]=Math.max(se[_],ye[_]),nn[M]=Math.min(0,ye[M]+st[1-p]),Y.__rectSize=f[h],je){var rn={x:0,y:0};rn[h]=Math.max(f[h]-ye[h]-dt,0),rn[_]=nn[_],Y.setClipPath(new Ic({shape:rn})),Y.__rectSize=rn[h]}else q.eachChild(function(er){er.attr({invisible:!0,silent:!0})});var Cn=this._getPageInfo(e);return Cn.pageIndex!=null&&pf(z,{x:Cn.contentPosition[0],y:Cn.contentPosition[1]},je?e:null),this._updatePageInfoView(e,Cn),nn},n.prototype._pageGo=function(e,s,f){var p=this._getPageInfo(s)[e];p!=null&&f.dispatchAction({type:"legendScroll",scrollDataIndex:p,legendId:s.id})},n.prototype._updatePageInfoView=function(e,s){var f=this._controllerGroup;H.k(["pagePrev","pageNext"],function(z){var Y=z+"DataIndex",q=s[Y]!=null,se=f.childOfName(z);se&&(se.setStyle("fill",q?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),se.cursor=q?"pointer":"default")});var p=f.childOfName("pageText"),h=e.get("pageFormatter"),_=s.pageIndex,M=_!=null?_+1:0,L=s.pageCount;p&&h&&p.setStyle("text",H.C(h)?h.replace("{current}",M==null?"":M+"").replace("{total}",L==null?"":L+""):h({current:M,total:L}))},n.prototype._getPageInfo=function(e){var s=e.get("scrollDataIndex",!0),f=this.getContentGroup(),p=this._containerGroup.__rectSize,h=e.getOrient().index,_=sy[h],M=$2[h],L=this._findTargetItemIndex(s),z=f.children(),Y=z[L],q=z.length,se=q?1:0,ye={contentPosition:[f.x,f.y],pageCount:se,pageIndex:se-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!Y)return ye;var je=Mt(Y);ye.contentPosition[h]=-je.s;for(var De=L+1,We=je,st=je,dt=null;De<=q;++De)dt=Mt(z[De]),(!dt&&st.e>We.s+p||dt&&!nn(dt,We.s))&&(st.i>We.i?We=st:We=dt,We&&(ye.pageNextDataIndex==null&&(ye.pageNextDataIndex=We.i),++ye.pageCount)),st=dt;for(var De=L-1,We=je,st=je,dt=null;De>=-1;--De)dt=Mt(z[De]),(!dt||!nn(st,dt.s))&&We.i<st.i&&(st=We,ye.pagePrevDataIndex==null&&(ye.pagePrevDataIndex=We.i),++ye.pageCount,++ye.pageIndex),We=dt;return ye;function Mt(rn){if(rn){var Cn=rn.getBoundingRect(),er=Cn[M]+rn[M];return{s:er,e:er+Cn[_],i:rn.__legendDataIndex}}}function nn(rn,Cn){return rn.e>=Cn&&rn.s<=Cn+p}},n.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var s,f=this.getContentGroup(),p;return f.eachChild(function(h,_){var M=h.__legendDataIndex;p==null&&M!=null&&(p=_),M===e&&(s=_)}),s!=null?s:p},n.type="legend.scroll",n}(sv),v3=lM;function h3(a){a.registerAction("legendScroll","legendscroll",function(n,e){var s=n.scrollDataIndex;s!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:n},function(f){f.setScrollDataIndex(s)})})}function uM(a){Dd(z2),a.registerComponentModel(Sb),a.registerComponentView(v3),h3(a)}function dM(a){Dd(z2),Dd(uM)}var fM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="dataZoom.inside",n.defaultOption=w_(sh.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),n}(sh),pM=fM,dE=ol();function vM(a,n,e){dE(a).coordSysRecordMap.each(function(s){var f=s.dataZoomInfoMap.get(n.uid);f&&(f.getRange=e)})}function hM(a,n){for(var e=dE(a).coordSysRecordMap,s=e.keys(),f=0;f<s.length;f++){var p=s[f],h=e.get(p),_=h.dataZoomInfoMap;if(_){var M=n.uid,L=_.get(M);L&&(_.removeKey(M),_.keys().length||W2(e,h))}}}function W2(a,n){if(n){a.removeKey(n.model.uid);var e=n.controller;e&&e.dispose()}}function gM(a,n){var e={model:n,containsPoint:Object(H.h)(mM,n),dispatchAction:Object(H.h)(g3,a),dataZoomInfoMap:null,controller:null},s=e.controller=new kS(a.getZr());return Object(H.k)(["pan","zoom","scrollMove"],function(f){s.on(f,function(p){var h=[];e.dataZoomInfoMap.each(function(_){if(!!p.isAvailableBehavior(_.model.option)){var M=(_.getRange||{})[f],L=M&&M(_.dzReferCoordSysInfo,e.model.mainType,e.controller,p);!_.model.get("disabled",!0)&&L&&h.push({dataZoomId:_.model.id,start:L[0],end:L[1]})}}),h.length&&e.dispatchAction(h)})}),e}function g3(a,n){a.isDisposed()||a.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:n})}function mM(a,n,e,s){return a.coordinateSystem.containPoint([e,s])}function ire(a){var n,e="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},f=!0;return a.each(function(p){var h=p.model,_=h.get("disabled",!0)?!1:h.get("zoomLock",!0)?"move":!0;s[e+_]>s[e+n]&&(n=_),f=f&&h.get("preventDefaultMouseMove",!0)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!f}}}function ore(a){a.registerProcessor(a.PRIORITY.PROCESSOR.FILTER,function(n,e){var s=dE(e),f=s.coordSysRecordMap||(s.coordSysRecordMap=Object(H.f)());f.each(function(p){p.dataZoomInfoMap=null}),n.eachComponent({mainType:"dataZoom",subType:"inside"},function(p){var h=xV(p);Object(H.k)(h.infoList,function(_){var M=_.model.uid,L=f.get(M)||f.set(M,gM(e,_.model)),z=L.dataZoomInfoMap||(L.dataZoomInfoMap=Object(H.f)());z.set(p.uid,{dzReferCoordSysInfo:_,model:p,getRange:null})})}),f.each(function(p){var h=p.controller,_,M=p.dataZoomInfoMap;if(M){var L=M.keys()[0];L!=null&&(_=M.get(L))}if(!_){W2(f,p);return}var z=ire(M);h.enable(z.controlType,z.opt),h.setPointerChecker(p.containsPoint),Uy(p,"dispatchAction",_.model.get("throttle",!0),"fixRate")})})}var sre=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return n.prototype.render=function(e,s,f){if(a.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),vM(f,e,{pan:Object(H.c)(_M.pan,this),zoom:Object(H.c)(_M.zoom,this),scrollMove:Object(H.c)(_M.scrollMove,this)})},n.prototype.dispose=function(){this._clear(),a.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){hM(this.api,this.dataZoomModel),this.range=null},n.type="dataZoom.inside",n}(S2),_M={zoom:function(a,n,e,s){var f=this.range,p=f.slice(),h=a.axisModels[0];if(!!h){var _=m3[n](null,[s.originX,s.originY],h,e,a),M=(_.signal>0?_.pixelStart+_.pixelLength-_.pixel:_.pixel-_.pixelStart)/_.pixelLength*(p[1]-p[0])+p[0],L=Math.max(1/s.scale,0);p[0]=(p[0]-M)*L+M,p[1]=(p[1]-M)*L+M;var z=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Om(0,p,[0,100],0,z.minSpan,z.maxSpan),this.range=p,f[0]!==p[0]||f[1]!==p[1])return p}},pan:pz(function(a,n,e,s,f,p){var h=m3[s]([p.oldX,p.oldY],[p.newX,p.newY],n,f,e);return h.signal*(a[1]-a[0])*h.pixel/h.pixelLength}),scrollMove:pz(function(a,n,e,s,f,p){var h=m3[s]([0,0],[p.scrollDelta,p.scrollDelta],n,f,e);return h.signal*(a[1]-a[0])*p.scrollDelta})};function pz(a){return function(n,e,s,f){var p=this.range,h=p.slice(),_=n.axisModels[0];if(!!_){var M=a(h,_,n,e,s,f);if(Om(M,h,[0,100],"all"),this.range=h,p[0]!==h[0]||p[1]!==h[1])return h}}}var m3={grid:function(a,n,e,s,f){var p=e.axis,h={},_=f.model.coordinateSystem.getRect();return a=a||[0,0],p.dim==="x"?(h.pixel=n[0]-a[0],h.pixelLength=_.width,h.pixelStart=_.x,h.signal=p.inverse?1:-1):(h.pixel=n[1]-a[1],h.pixelLength=_.height,h.pixelStart=_.y,h.signal=p.inverse?-1:1),h},polar:function(a,n,e,s,f){var p=e.axis,h={},_=f.model.coordinateSystem,M=_.getRadiusAxis().getExtent(),L=_.getAngleAxis().getExtent();return a=a?_.pointToCoord(a):[0,0],n=_.pointToCoord(n),e.mainType==="radiusAxis"?(h.pixel=n[0]-a[0],h.pixelLength=M[1]-M[0],h.pixelStart=M[0],h.signal=p.inverse?1:-1):(h.pixel=n[1]-a[1],h.pixelLength=L[1]-L[0],h.pixelStart=L[0],h.signal=p.inverse?-1:1),h},singleAxis:function(a,n,e,s,f){var p=e.axis,h=f.model.coordinateSystem.getRect(),_={};return a=a||[0,0],p.orient==="horizontal"?(_.pixel=n[0]-a[0],_.pixelLength=h.width,_.pixelStart=h.x,_.signal=p.inverse?1:-1):(_.pixel=n[1]-a[1],_.pixelLength=h.height,_.pixelStart=h.y,_.signal=p.inverse?-1:1),_}},cre=sre;function _3(a){Ep(a),a.registerComponentModel(pM),a.registerComponentView(cre),ore(a)}var lre=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.type="dataZoom.slider",n.layoutMode="box",n.defaultOption=w_(sh.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),n}(sh),wb=lre,K2=Ic,vz=7,Xse=1,y3=30,ure=7,t0="horizontal",fE="vertical",rm=5,dre=["line","bar","candlestick","scatter"],yM={easing:"cubicOut",duration:100,delay:0},Y2=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._displayables={},e}return n.prototype.init=function(e,s){this.api=s,this._onBrush=Object(H.c)(this._onBrush,this),this._onBrushEnd=Object(H.c)(this._onBrushEnd,this)},n.prototype.render=function(e,s,f,p){if(a.prototype.render.apply(this,arguments),Uy(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!p||p.type!=="dataZoom"||p.from!==this.uid)&&this._buildView(),this._updateView()},n.prototype.dispose=function(){this._clear(),a.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){aC(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},n.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var s=this._displayables.sliderGroup=new _s;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(s),this._positionGroup()},n.prototype._resetLocation=function(){var e=this.dataZoomModel,s=this.api,f=e.get("brushSelect"),p=f?ure:0,h=this._findCoordRect(),_={width:s.getWidth(),height:s.getHeight()},M=this._orient===t0?{right:_.width-h.x-h.width,top:_.height-y3-vz-p,width:h.width,height:y3}:{right:vz,top:h.y,width:y3,height:h.height},L=Py(e.option);Object(H.k)(["right","top","width","height"],function(Y){L[Y]==="ph"&&(L[Y]=M[Y])});var z=Pv(L,_);this._location={x:z.x,y:z.y},this._size=[z.width,z.height],this._orient===fE&&this._size.reverse()},n.prototype._positionGroup=function(){var e=this.group,s=this._location,f=this._orient,p=this.dataZoomModel.getFirstTargetAxisModel(),h=p&&p.get("inverse"),_=this._displayables.sliderGroup,M=(this._dataShadowInfo||{}).otherAxisInverse;_.attr(f===t0&&!h?{scaleY:M?1:-1,scaleX:1}:f===t0&&h?{scaleY:M?1:-1,scaleX:-1}:f===fE&&!h?{scaleY:M?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:M?-1:1,scaleX:-1,rotation:Math.PI/2});var L=e.getBoundingRect([_]);e.x=s.x-L.x,e.y=s.y-L.y,e.markRedraw()},n.prototype._getViewExtent=function(){return[0,this._size[0]]},n.prototype._renderBackground=function(){var e=this.dataZoomModel,s=this._size,f=this._displayables.sliderGroup,p=e.get("brushSelect");f.add(new K2({silent:!0,shape:{x:0,y:0,width:s[0],height:s[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var h=new K2({shape:{x:0,y:0,width:s[0],height:s[1]},style:{fill:"transparent"},z2:0,onclick:Object(H.c)(this._onClickPanel,this)}),_=this.api.getZr();p?(h.on("mousedown",this._onBrushStart,this),h.cursor="crosshair",_.on("mousemove",this._onBrush),_.on("mouseup",this._onBrushEnd)):(_.off("mousemove",this._onBrush),_.off("mouseup",this._onBrushEnd)),f.add(h)},n.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var s=this._size,f=this._shadowSize||[],p=e.series,h=p.getRawData(),_=p.getShadowDim&&p.getShadowDim(),M=_&&h.getDimensionInfo(_)?p.getShadowDim():e.otherDim;if(M==null)return;var L=this._shadowPolygonPts,z=this._shadowPolylinePts;if(h!==this._shadowData||M!==this._shadowDim||s[0]!==f[0]||s[1]!==f[1]){var Y=h.getDataExtent(M),q=(Y[1]-Y[0])*.3;Y=[Y[0]-q,Y[1]+q];var se=[0,s[1]],ye=[0,s[0]],je=[[s[0],0],[0,0]],De=[],We=ye[1]/(h.count()-1),st=0,dt=Math.round(h.count()/s[0]),Mt;h.each([M],function(ir,dr){if(dt>0&&dr%dt){st+=We;return}var pr=ir==null||isNaN(ir)||ir==="",ia=pr?0:Yo(ir,Y,se,!0);pr&&!Mt&&dr?(je.push([je[je.length-1][0],0]),De.push([De[De.length-1][0],0])):!pr&&Mt&&(je.push([st,0]),De.push([st,0])),je.push([st,ia]),De.push([st,ia]),st+=We,Mt=pr}),L=this._shadowPolygonPts=je,z=this._shadowPolylinePts=De}this._shadowData=h,this._shadowDim=M,this._shadowSize=[s[0],s[1]];var nn=this.dataZoomModel;function rn(ir){var dr=nn.getModel(ir?"selectedDataBackground":"dataBackground"),pr=new _s,ia=new $h({shape:{points:L},segmentIgnoreThreshold:1,style:dr.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),pa=new Cg({shape:{points:z},segmentIgnoreThreshold:1,style:dr.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return pr.add(ia),pr.add(pa),pr}for(var Cn=0;Cn<3;Cn++){var er=rn(Cn===1);this._displayables.sliderGroup.add(er),this._displayables.dataShadowSegs.push(er)}},n.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,s=e.get("showDataShadow");if(s!==!1){var f,p=this.ecModel;return e.eachTargetAxis(function(h,_){var M=e.getAxisProxy(h,_).getTargetSeriesModels();Object(H.k)(M,function(L){if(!f&&!(s!==!0&&Object(H.r)(dre,L.get("type"))<0)){var z=p.getComponent(wm(h),_).axis,Y=pE(h),q,se=L.coordinateSystem;Y!=null&&se.getOtherAxis&&(q=se.getOtherAxis(z).inverse),Y=L.getData().mapDimension(Y),f={thisAxis:z,series:L,thisDim:h,otherDim:Y,otherAxisInverse:q}}},this)},this),f}},n.prototype._renderHandle=function(){var e=this.group,s=this._displayables,f=s.handles=[null,null],p=s.handleLabels=[null,null],h=this._displayables.sliderGroup,_=this._size,M=this.dataZoomModel,L=this.api,z=M.get("borderRadius")||0,Y=M.get("brushSelect"),q=s.filler=new K2({silent:Y,style:{fill:M.get("fillerColor")},textConfig:{position:"inside"}});h.add(q),h.add(new K2({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:_[0],height:_[1],r:z},style:{stroke:M.get("dataBackgroundColor")||M.get("borderColor"),lineWidth:Xse,fill:"rgba(0,0,0,0)"}})),Object(H.k)([0,1],function(dt){var Mt=M.get("handleIcon");!lA[Mt]&&Mt.indexOf("path://")<0&&Mt.indexOf("image://")<0&&(Mt="path://"+Mt);var nn=Rv(Mt,-1,0,2,2,null,!0);nn.attr({cursor:bM(this._orient),draggable:!0,drift:Object(H.c)(this._onDragMove,this,dt),ondragend:Object(H.c)(this._onDragEnd,this),onmouseover:Object(H.c)(this._showDataInfo,this,!0),onmouseout:Object(H.c)(this._showDataInfo,this,!1),z2:5});var rn=nn.getBoundingRect(),Cn=M.get("handleSize");this._handleHeight=Mi(Cn,this._size[1]),this._handleWidth=rn.width/rn.height*this._handleHeight,nn.setStyle(M.getModel("handleStyle").getItemStyle()),nn.style.strokeNoScale=!0,nn.rectHover=!0,nn.ensureState("emphasis").style=M.getModel(["emphasis","handleStyle"]).getItemStyle(),E_(nn);var er=M.get("handleColor");er!=null&&(nn.style.fill=er),h.add(f[dt]=nn);var ir=M.getModel("textStyle");e.add(p[dt]=new Ho({silent:!0,invisible:!0,style:ep(ir,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:ir.getTextColor(),font:ir.getFont()}),z2:10}))},this);var se=q;if(Y){var ye=Mi(M.get("moveHandleSize"),_[1]),je=s.moveHandle=new Ic({style:M.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:_[1]-.5,height:ye}}),De=ye*.8,We=s.moveHandleIcon=Rv(M.get("moveHandleIcon"),-De/2,-De/2,De,De,"#fff",!0);We.silent=!0,We.y=_[1]+ye/2-.5,je.ensureState("emphasis").style=M.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var st=Math.min(_[1]/2,Math.max(ye,10));se=s.moveZone=new Ic({invisible:!0,shape:{y:_[1]-st,height:ye+st}}),se.on("mouseover",function(){L.enterEmphasis(je)}).on("mouseout",function(){L.leaveEmphasis(je)}),h.add(je),h.add(We),h.add(se)}se.attr({draggable:!0,cursor:bM(this._orient),drift:Object(H.c)(this._onDragMove,this,"all"),ondragstart:Object(H.c)(this._showDataInfo,this,!0),ondragend:Object(H.c)(this._onDragEnd,this),onmouseover:Object(H.c)(this._showDataInfo,this,!0),onmouseout:Object(H.c)(this._showDataInfo,this,!1)})},n.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),s=this._getViewExtent();this._handleEnds=[Yo(e[0],[0,100],s,!0),Yo(e[1],[0,100],s,!0)]},n.prototype._updateInterval=function(e,s){var f=this.dataZoomModel,p=this._handleEnds,h=this._getViewExtent(),_=f.findRepresentativeAxisProxy().getMinMaxSpan(),M=[0,100];Om(s,p,h,f.get("zoomLock")?"all":e,_.minSpan!=null?Yo(_.minSpan,M,h,!0):null,_.maxSpan!=null?Yo(_.maxSpan,M,h,!0):null);var L=this._range,z=this._range=oc([Yo(p[0],h,M,!0),Yo(p[1],h,M,!0)]);return!L||L[0]!==z[0]||L[1]!==z[1]},n.prototype._updateView=function(e){var s=this._displayables,f=this._handleEnds,p=oc(f.slice()),h=this._size;Object(H.k)([0,1],function(se){var ye=s.handles[se],je=this._handleHeight;ye.attr({scaleX:je/2,scaleY:je/2,x:f[se]+(se?-1:1),y:h[1]/2-je/2})},this),s.filler.setShape({x:p[0],y:0,width:p[1]-p[0],height:h[1]});var _={x:p[0],width:p[1]-p[0]};s.moveHandle&&(s.moveHandle.setShape(_),s.moveZone.setShape(_),s.moveZone.getBoundingRect(),s.moveHandleIcon&&s.moveHandleIcon.attr("x",_.x+_.width/2));for(var M=s.dataShadowSegs,L=[0,p[0],p[1],h[0]],z=0;z<M.length;z++){var Y=M[z],q=Y.getClipPath();q||(q=new Ic,Y.setClipPath(q)),q.setShape({x:L[z],y:0,width:L[z+1]-L[z],height:h[1]})}this._updateDataInfo(e)},n.prototype._updateDataInfo=function(e){var s=this.dataZoomModel,f=this._displayables,p=f.handleLabels,h=this._orient,_=["",""];if(s.get("showDetail")){var M=s.findRepresentativeAxisProxy();if(M){var L=M.getAxisModel().axis,z=this._range,Y=e?M.calculateDataWindow({start:z[0],end:z[1]}).valueWindow:M.getDataValueWindow();_=[this._formatLabel(Y[0],L),this._formatLabel(Y[1],L)]}}var q=oc(this._handleEnds.slice());se.call(this,0),se.call(this,1);function se(ye){var je=A0(f.handles[ye].parent,this.group),De=rA(ye===0?"right":"left",je),We=this._handleWidth/2+rm,st=Vm([q[ye]+(ye===0?-We:We),this._size[1]/2],je);p[ye].setStyle({x:st[0],y:st[1],verticalAlign:h===t0?"middle":De,align:h===t0?De:"center",text:_[ye]})}},n.prototype._formatLabel=function(e,s){var f=this.dataZoomModel,p=f.get("labelFormatter"),h=f.get("labelPrecision");(h==null||h==="auto")&&(h=s.getPixelPrecision());var _=e==null||isNaN(e)?"":s.type==="category"||s.type==="time"?s.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(h,20));return Object(H.w)(p)?p(e,_):Object(H.C)(p)?p.replace("{value}",_):_},n.prototype._showDataInfo=function(e){e=this._dragging||e;var s=this._displayables,f=s.handleLabels;f[0].attr("invisible",!e),f[1].attr("invisible",!e),s.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](s.moveHandle,1)},n.prototype._onDragMove=function(e,s,f,p){this._dragging=!0,tn(p.event);var h=this._displayables.sliderGroup.getLocalTransform(),_=Vm([s,f],h,!0),M=this._updateInterval(e,_[0]),L=this.dataZoomModel.get("realtime");this._updateView(!L),M&&L&&this._dispatchZoomAction(!0)},n.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},n.prototype._onClickPanel=function(e){var s=this._size,f=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(f[0]<0||f[0]>s[0]||f[1]<0||f[1]>s[1])){var p=this._handleEnds,h=(p[0]+p[1])/2,_=this._updateInterval("all",f[0]-h);this._updateView(),_&&this._dispatchZoomAction(!1)}},n.prototype._onBrushStart=function(e){var s=e.offsetX,f=e.offsetY;this._brushStart=new Ni(s,f),this._brushing=!0,this._brushStartTime=+new Date},n.prototype._onBrushEnd=function(e){if(!!this._brushing){var s=this._displayables.brushRect;if(this._brushing=!1,!!s){s.attr("ignore",!0);var f=s.shape,p=+new Date;if(!(p-this._brushStartTime<200&&Math.abs(f.width)<5)){var h=this._getViewExtent(),_=[0,100];this._range=oc([Yo(f.x,h,_,!0),Yo(f.x+f.width,h,_,!0)]),this._handleEnds=[f.x,f.x+f.width],this._updateView(),this._dispatchZoomAction(!1)}}}},n.prototype._onBrush=function(e){this._brushing&&(tn(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},n.prototype._updateBrushRect=function(e,s){var f=this._displayables,p=this.dataZoomModel,h=f.brushRect;h||(h=f.brushRect=new K2({silent:!0,style:p.getModel("brushStyle").getItemStyle()}),f.sliderGroup.add(h)),h.attr("ignore",!1);var _=this._brushStart,M=this._displayables.sliderGroup,L=M.transformCoordToLocal(e,s),z=M.transformCoordToLocal(_.x,_.y),Y=this._size;L[0]=Math.max(Math.min(Y[0],L[0]),0),h.setShape({x:z[0],y:0,width:L[0]-z[0],height:Y[1]})},n.prototype._dispatchZoomAction=function(e){var s=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?yM:null,start:s[0],end:s[1]})},n.prototype._findCoordRect=function(){var e,s=xV(this.dataZoomModel).infoList;if(!e&&s.length){var f=s[0].model.coordinateSystem;e=f.getRect&&f.getRect()}if(!e){var p=this.api.getWidth(),h=this.api.getHeight();e={x:p*.2,y:h*.2,width:p*.6,height:h*.6}}return e},n.type="dataZoom.slider",n}(S2);function pE(a){var n={x:"y",y:"x",radius:"angle",angle:"radius"};return n[a]}function bM(a){return a==="vertical"?"ns-resize":"ew-resize"}var hz=Y2;function gz(a){a.registerComponentModel(wb),a.registerComponentView(hz),Ep(a)}function b3(a){Dd(_3),Dd(gz)}var fre={get:function(a,n,e){var s=H.d((pre[a]||{})[n]);return e&&H.t(s)?s[s.length-1]:s}},pre={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},X2=fre,n0=jh.mapVisual,vre=jh.eachVisual,hre=H.t,yO=H.k,Jse=oc,gre=Yo,OM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-Infinity,Infinity],e.targetVisuals={},e.controllerVisuals={},e}return n.prototype.init=function(e,s,f){this.mergeDefaultAndTheme(e,f)},n.prototype.optionUpdated=function(e,s){var f=this.option;!s&&JV(f,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},n.prototype.resetVisual=function(e){var s=this.stateList;e=H.c(e,this),this.controllerVisuals=M2(this.option.controller,s,e),this.targetVisuals=M2(this.option.target,s,e)},n.prototype.getItemSymbol=function(){return null},n.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,s=[];return e==null||e==="all"?this.ecModel.eachSeries(function(f,p){s.push(p)}):s=St(e),s},n.prototype.eachTargetSeries=function(e,s){H.k(this.getTargetSeriesIndices(),function(f){var p=this.ecModel.getSeriesByIndex(f);p&&e.call(s,p)},this)},n.prototype.isTargetSeries=function(e){var s=!1;return this.eachTargetSeries(function(f){f===e&&(s=!0)}),s},n.prototype.formatValueText=function(e,s,f){var p=this.option,h=p.precision,_=this.dataBound,M=p.formatter,L;f=f||["<",">"],H.t(e)&&(e=e.slice(),L=!0);var z=s?e:L?[Y(e[0]),Y(e[1])]:Y(e);if(H.C(M))return M.replace("{value}",L?z[0]:z).replace("{value2}",L?z[1]:z);if(H.w(M))return L?M(e[0],e[1]):M(e);if(L)return e[0]===_[0]?f[0]+" "+z[1]:e[1]===_[1]?f[1]+" "+z[0]:z[0]+" - "+z[1];return z;function Y(q){return q===_[0]?"min":q===_[1]?"max":(+q).toFixed(Math.min(h,20))}},n.prototype.resetExtent=function(){var e=this.option,s=Jse([e.min,e.max]);this._dataExtent=s},n.prototype.getDataDimensionIndex=function(e){var s=this.option.dimension;if(s!=null)return e.getDimensionIndex(s);for(var f=e.dimensions,p=f.length-1;p>=0;p--){var h=f[p],_=e.getDimensionInfo(h);if(!_.isCalculationCoord)return _.storeDimIndex}},n.prototype.getExtent=function(){return this._dataExtent.slice()},n.prototype.completeVisualOption=function(){var e=this.ecModel,s=this.option,f={inRange:s.inRange,outOfRange:s.outOfRange},p=s.target||(s.target={}),h=s.controller||(s.controller={});H.I(p,f),H.I(h,f);var _=this.isCategory();M.call(this,p),M.call(this,h),L.call(this,p,"inRange","outOfRange"),z.call(this,h);function M(Y){hre(s.color)&&!Y.inRange&&(Y.inRange={color:s.color.slice().reverse()}),Y.inRange=Y.inRange||{color:e.get("gradientColor")}}function L(Y,q,se){var ye=Y[q],je=Y[se];ye&&!je&&(je=Y[se]={},yO(ye,function(De,We){if(!!jh.isValidType(We)){var st=X2.get(We,"inactive",_);st!=null&&(je[We]=st,We==="color"&&!je.hasOwnProperty("opacity")&&!je.hasOwnProperty("colorAlpha")&&(je.opacity=[0,0]))}}))}function z(Y){var q=(Y.inRange||{}).symbol||(Y.outOfRange||{}).symbol,se=(Y.inRange||{}).symbolSize||(Y.outOfRange||{}).symbolSize,ye=this.get("inactiveColor"),je=this.getItemSymbol(),De=je||"roundRect";yO(this.stateList,function(We){var st=this.itemSize,dt=Y[We];dt||(dt=Y[We]={color:_?ye:[ye]}),dt.symbol==null&&(dt.symbol=q&&H.d(q)||(_?De:[De])),dt.symbolSize==null&&(dt.symbolSize=se&&H.d(se)||(_?st[0]:[st[0],st[0]])),dt.symbol=n0(dt.symbol,function(rn){return rn==="none"?De:rn});var Mt=dt.symbolSize;if(Mt!=null){var nn=-Infinity;vre(Mt,function(rn){rn>nn&&(nn=rn)}),dt.symbolSize=n0(Mt,function(rn){return gre(rn,[0,nn],[0,st[0]],!0)})}},this)}},n.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},n.prototype.isCategory=function(){return!!this.option.categories},n.prototype.setSelected=function(e){},n.prototype.getSelected=function(){return null},n.prototype.getValueState=function(e){return null},n.prototype.getVisualMeta=function(e){return null},n.type="visualMap",n.dependencies=["series"],n.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},n}(tf),bO=OM,J2=[20,140],CM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.optionUpdated=function(e,s){a.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(f){f.mappingMethod="linear",f.dataExtent=this.getExtent()}),this._resetRange()},n.prototype.resetItemSize=function(){a.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(e[0]==null||isNaN(e[0]))&&(e[0]=J2[0]),(e[1]==null||isNaN(e[1]))&&(e[1]=J2[1])},n.prototype._resetRange=function(){var e=this.getExtent(),s=this.option.range;!s||s.auto?(e.auto=1,this.option.range=e):H.t(s)&&(s[0]>s[1]&&s.reverse(),s[0]=Math.max(s[0],e[0]),s[1]=Math.min(s[1],e[1]))},n.prototype.completeVisualOption=function(){a.prototype.completeVisualOption.apply(this,arguments),H.k(this.stateList,function(e){var s=this.option.controller[e].symbolSize;s&&s[0]!==s[1]&&(s[0]=s[1]/3)},this)},n.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},n.prototype.getSelected=function(){var e=this.getExtent(),s=oc((this.get("range")||[]).slice());return s[0]>e[1]&&(s[0]=e[1]),s[1]>e[1]&&(s[1]=e[1]),s[0]<e[0]&&(s[0]=e[0]),s[1]<e[0]&&(s[1]=e[0]),s},n.prototype.getValueState=function(e){var s=this.option.range,f=this.getExtent();return(s[0]<=f[0]||s[0]<=e)&&(s[1]>=f[1]||e<=s[1])?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(e){var s=[];return this.eachTargetSeries(function(f){var p=[],h=f.getData();h.each(this.getDataDimensionIndex(h),function(_,M){e[0]<=_&&_<=e[1]&&p.push(M)},this),s.push({seriesId:f.id,dataIndex:p})},this),s},n.prototype.getVisualMeta=function(e){var s=Z2(this,"outOfRange",this.getExtent()),f=Z2(this,"inRange",this.option.range.slice()),p=[];function h(se,ye){p.push({value:se,color:e(se,ye)})}for(var _=0,M=0,L=f.length,z=s.length;M<z&&(!f.length||s[M]<=f[0]);M++)s[M]<f[_]&&h(s[M],"outOfRange");for(var Y=1;_<L;_++,Y=0)Y&&p.length&&h(f[_],"outOfRange"),h(f[_],"inRange");for(var Y=1;M<z;M++)(!f.length||f[f.length-1]<s[M])&&(Y&&(p.length&&h(p[p.length-1].value,"outOfRange"),Y=0),h(s[M],"outOfRange"));var q=p.length;return{stops:p,outerColors:[q?p[0].color:"transparent",q?p[q-1].color:"transparent"]}},n.type="visualMap.continuous",n.defaultOption=w_(bO.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),n}(bO);function Z2(a,n,e){if(e[0]===e[1])return e.slice();for(var s=200,f=(e[1]-e[0])/s,p=e[0],h=[],_=0;_<=s&&p<e[1];_++)h.push(p),p+=f;return h.push(e[1]),h}var Q2=CM,EM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e.autoPositionValues={left:1,right:1,top:1,bottom:1},e}return n.prototype.init=function(e,s){this.ecModel=e,this.api=s},n.prototype.render=function(e,s,f,p){if(this.visualMapModel=e,e.get("show")===!1){this.group.removeAll();return}this.doRender(e,s,f,p)},n.prototype.renderBackground=function(e){var s=this.visualMapModel,f=C0(s.get("padding")||0),p=e.getBoundingRect();e.add(new Ic({z2:-1,silent:!0,shape:{x:p.x-f[3],y:p.y-f[0],width:p.width+f[3]+f[1],height:p.height+f[0]+f[2]},style:{fill:s.get("backgroundColor"),stroke:s.get("borderColor"),lineWidth:s.get("borderWidth")}}))},n.prototype.getControllerVisual=function(e,s,f){f=f||{};var p=f.forceState,h=this.visualMapModel,_={};if(s==="color"){var M=h.get("contentColor");_.color=M}function L(se){return _[se]}function z(se,ye){_[se]=ye}var Y=h.controllerVisuals[p||h.getValueState(e)],q=jh.prepareVisualTypes(Y);return H.k(q,function(se){var ye=Y[se];f.convertOpacityToAlpha&&se==="opacity"&&(se="colorAlpha",ye=Y.__alphaForOpacity),jh.dependsOn(se,s)&&ye&&ye.applyVisual(e,L,z)}),_[s]},n.prototype.positionGroup=function(e){var s=this.visualMapModel,f=this.api;r1(e,s.getBoxLayoutParams(),{width:f.getWidth(),height:f.getHeight()})},n.prototype.doRender=function(e,s,f,p){},n.type="visualMap",n}(Np),q2=EM,mz=[["left","right","width"],["top","bottom","height"]];function ew(a,n,e){var s=a.option,f=s.align;if(f!=null&&f!=="auto")return f;for(var p={width:n.getWidth(),height:n.getHeight()},h=s.orient==="horizontal"?1:0,_=mz[h],M=[0,null,10],L={},z=0;z<3;z++)L[mz[1-h][z]]=M[z],L[_[z]]=z===2?e[0]:s[_[z]];var Y=[["x","width",3],["y","height",0]][h],q=Pv(L,p,s.padding);return _[(q.margin[Y[2]]||0)+q[Y[0]]+q[Y[1]]*.5<p[Y[1]]*.5?0:1]}function r0(a,n){return H.k(a||[],function(e){e.dataIndex!=null&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(n?n.componentIndex:"")}),a}var Pg=Yo,xM=H.k,vE=Math.min,hE=Math.max,tw=12,SM=6,nw=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._shapes={},e._dataInterval=[],e._handleEnds=[],e._hoverLinkDataIndices=[],e}return n.prototype.doRender=function(e,s,f,p){this._api=f,(!p||p.type!=="selectDataRange"||p.from!==this.uid)&&this._buildView()},n.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,s=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(s);var f=e.get("text");this._renderEndsText(s,f,0),this._renderEndsText(s,f,1),this._updateView(!0),this.renderBackground(s),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(s)},n.prototype._renderEndsText=function(e,s,f){if(!!s){var p=s[1-f];p=p!=null?p+"":"";var h=this.visualMapModel,_=h.get("textGap"),M=h.itemSize,L=this._shapes.mainGroup,z=this._applyTransform([M[0]/2,f===0?-_:M[1]+_],L),Y=this._applyTransform(f===0?"bottom":"top",L),q=this._orient,se=this.visualMapModel.textStyleModel;this.group.add(new Ho({style:ep(se,{x:z[0],y:z[1],verticalAlign:q==="horizontal"?"middle":Y,align:q==="horizontal"?Y:"center",text:p})}))}},n.prototype._renderBar=function(e){var s=this.visualMapModel,f=this._shapes,p=s.itemSize,h=this._orient,_=this._useHandle,M=ew(s,this.api,p),L=f.mainGroup=this._createBarGroup(M),z=new _s;L.add(z),z.add(f.outOfRange=rw()),z.add(f.inRange=rw(null,_?ow(this._orient):null,H.c(this._dragHandle,this,"all",!1),H.c(this._dragHandle,this,"all",!0))),z.setClipPath(new Ic({shape:{x:0,y:0,width:p[0],height:p[1],r:3}}));var Y=s.textStyleModel.getTextRect("\u56FD"),q=hE(Y.width,Y.height);_&&(f.handleThumbs=[],f.handleLabels=[],f.handleLabelPoints=[],this._createHandle(s,L,0,p,q,h),this._createHandle(s,L,1,p,q,h)),this._createIndicator(s,L,p,q,h),e.add(L)},n.prototype._createHandle=function(e,s,f,p,h,_){var M=H.c(this._dragHandle,this,f,!1),L=H.c(this._dragHandle,this,f,!0),z=Od(e.get("handleSize"),p[0]),Y=Rv(e.get("handleIcon"),-z/2,-z/2,z,z,null,!0),q=ow(this._orient);Y.attr({cursor:q,draggable:!0,drift:M,ondragend:L,onmousemove:function(We){tn(We.event)}}),Y.x=p[0]/2,Y.useStyle(e.getModel("handleStyle").getItemStyle()),Y.setStyle({strokeNoScale:!0,strokeFirst:!0}),Y.style.lineWidth*=2,Y.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),y0(Y,!0),s.add(Y);var se=this.visualMapModel.textStyleModel,ye=new Ho({cursor:q,draggable:!0,drift:M,onmousemove:function(We){tn(We.event)},ondragend:L,style:ep(se,{x:0,y:0,text:""})});ye.ensureState("blur").style={opacity:.1},ye.stateTransition={duration:200},this.group.add(ye);var je=[z,0],De=this._shapes;De.handleThumbs[f]=Y,De.handleLabelPoints[f]=je,De.handleLabels[f]=ye},n.prototype._createIndicator=function(e,s,f,p,h){var _=Od(e.get("indicatorSize"),f[0]),M=Rv(e.get("indicatorIcon"),-_/2,-_/2,_,_,null,!0);M.attr({cursor:"move",invisible:!0,silent:!0,x:f[0]/2});var L=e.getModel("indicatorStyle").getItemStyle();if(M instanceof Gi){var z=M.style;M.useStyle(H.m({image:z.image,x:z.x,y:z.y,width:z.width,height:z.height},L))}else M.useStyle(L);s.add(M);var Y=this.visualMapModel.textStyleModel,q=new Ho({silent:!0,invisible:!0,style:ep(Y,{x:0,y:0,text:""})});this.group.add(q);var se=[(h==="horizontal"?p/2:SM)+f[0]/2,0],ye=this._shapes;ye.indicator=M,ye.indicatorLabel=q,ye.indicatorLabelPoint=se,this._firstShowIndicator=!0},n.prototype._dragHandle=function(e,s,f,p){if(!!this._useHandle){if(this._dragging=!s,!s){var h=this._applyTransform([f,p],this._shapes.mainGroup,!0);this._updateInterval(e,h[1]),this._hideIndicator(),this._updateView()}s===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),s?!this._hovering&&this._clearHoverLinkToSeries():iw(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},n.prototype._resetInterval=function(){var e=this.visualMapModel,s=this._dataInterval=e.getSelected(),f=e.getExtent(),p=[0,e.itemSize[1]];this._handleEnds=[Pg(s[0],f,p,!0),Pg(s[1],f,p,!0)]},n.prototype._updateInterval=function(e,s){s=s||0;var f=this.visualMapModel,p=this._handleEnds,h=[0,f.itemSize[1]];Om(s,p,h,e,0);var _=f.getExtent();this._dataInterval=[Pg(p[0],h,_,!0),Pg(p[1],h,_,!0)]},n.prototype._updateView=function(e){var s=this.visualMapModel,f=s.getExtent(),p=this._shapes,h=[0,s.itemSize[1]],_=e?h:this._handleEnds,M=this._createBarVisual(this._dataInterval,f,_,"inRange"),L=this._createBarVisual(f,f,h,"outOfRange");p.inRange.setStyle({fill:M.barColor}).setShape("points",M.barPoints),p.outOfRange.setStyle({fill:L.barColor}).setShape("points",L.barPoints),this._updateHandle(_,M)},n.prototype._createBarVisual=function(e,s,f,p){var h={forceState:p,convertOpacityToAlpha:!0},_=this._makeColorGradient(e,h),M=[this.getControllerVisual(e[0],"symbolSize",h),this.getControllerVisual(e[1],"symbolSize",h)],L=this._createBarPoints(f,M);return{barColor:new h1(0,0,0,1,_),barPoints:L,handlesColor:[_[0].color,_[_.length-1].color]}},n.prototype._makeColorGradient=function(e,s){var f=100,p=[],h=(e[1]-e[0])/f;p.push({color:this.getControllerVisual(e[0],"color",s),offset:0});for(var _=1;_<f;_++){var M=e[0]+h*_;if(M>e[1])break;p.push({color:this.getControllerVisual(M,"color",s),offset:_/f})}return p.push({color:this.getControllerVisual(e[1],"color",s),offset:1}),p},n.prototype._createBarPoints=function(e,s){var f=this.visualMapModel.itemSize;return[[f[0]-s[0],e[0]],[f[0],e[0]],[f[0],e[1]],[f[0]-s[1],e[1]]]},n.prototype._createBarGroup=function(e){var s=this._orient,f=this.visualMapModel.get("inverse");return new _s(s==="horizontal"&&!f?{scaleX:e==="bottom"?1:-1,rotation:Math.PI/2}:s==="horizontal"&&f?{scaleX:e==="bottom"?-1:1,rotation:-Math.PI/2}:s==="vertical"&&!f?{scaleX:e==="left"?1:-1,scaleY:-1}:{scaleX:e==="left"?1:-1})},n.prototype._updateHandle=function(e,s){if(!!this._useHandle){var f=this._shapes,p=this.visualMapModel,h=f.handleThumbs,_=f.handleLabels,M=p.itemSize,L=p.getExtent();xM([0,1],function(z){var Y=h[z];Y.setStyle("fill",s.handlesColor[z]),Y.y=e[z];var q=Pg(e[z],[0,M[1]],L,!0),se=this.getControllerVisual(q,"symbolSize");Y.scaleX=Y.scaleY=se/M[0],Y.x=M[0]-se/2;var ye=Vm(f.handleLabelPoints[z],A0(Y,this.group));_[z].setStyle({x:ye[0],y:ye[1],text:p.formatValueText(this._dataInterval[z]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",f.mainGroup):"center"})},this)}},n.prototype._showIndicator=function(e,s,f,p){var h=this.visualMapModel,_=h.getExtent(),M=h.itemSize,L=[0,M[1]],z=this._shapes,Y=z.indicator;if(!!Y){Y.attr("invisible",!1);var q={convertOpacityToAlpha:!0},se=this.getControllerVisual(e,"color",q),ye=this.getControllerVisual(e,"symbolSize"),je=Pg(e,_,L,!0),De=M[0]-ye/2,We={x:Y.x,y:Y.y};Y.y=je,Y.x=De;var st=Vm(z.indicatorLabelPoint,A0(Y,this.group)),dt=z.indicatorLabel;dt.attr("invisible",!1);var Mt=this._applyTransform("left",z.mainGroup),nn=this._orient,rn=nn==="horizontal";dt.setStyle({text:(f||"")+h.formatValueText(s),verticalAlign:rn?Mt:"middle",align:rn?"center":Mt});var Cn={x:De,y:je,style:{fill:se}},er={style:{x:st[0],y:st[1]}};if(h.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var ir={duration:100,easing:"cubicInOut",additive:!0};Y.x=We.x,Y.y=We.y,Y.animateTo(Cn,ir),dt.animateTo(er,ir)}else Y.attr(Cn),dt.attr(er);this._firstShowIndicator=!1;var dr=this._shapes.handleLabels;if(dr)for(var pr=0;pr<dr.length;pr++)this._api.enterBlur(dr[pr])}},n.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(s){if(e._hovering=!0,!e._dragging){var f=e.visualMapModel.itemSize,p=e._applyTransform([s.offsetX,s.offsetY],e._shapes.mainGroup,!0,!0);p[1]=vE(hE(0,p[1]),f[1]),e._doHoverLinkToSeries(p[1],0<=p[0]&&p[0]<=f[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},n.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},n.prototype._doHoverLinkToSeries=function(e,s){var f=this.visualMapModel,p=f.itemSize;if(!!f.option.hoverLink){var h=[0,p[1]],_=f.getExtent();e=vE(hE(h[0],e),h[1]);var M=aw(f,_,h),L=[e-M,e+M],z=Pg(e,h,_,!0),Y=[Pg(L[0],h,_,!0),Pg(L[1],h,_,!0)];L[0]<h[0]&&(Y[0]=-Infinity),L[1]>h[1]&&(Y[1]=Infinity),s&&(Y[0]===-Infinity?this._showIndicator(z,Y[1],"< ",M):Y[1]===Infinity?this._showIndicator(z,Y[0],"> ",M):this._showIndicator(z,z,"\u2248 ",M));var q=this._hoverLinkDataIndices,se=[];(s||iw(f))&&(se=this._hoverLinkDataIndices=f.findTargetDataIndices(Y));var ye=Cd(q,se);this._dispatchHighDown("downplay",r0(ye[0],f)),this._dispatchHighDown("highlight",r0(ye[1],f))}},n.prototype._hoverLinkFromSeriesMouseOver=function(e){var s;if(y1(e.target,function(M){var L=sc(M);if(L.dataIndex!=null)return s=L,!0},!0),!!s){var f=this.ecModel.getSeriesByIndex(s.seriesIndex),p=this.visualMapModel;if(!!p.isTargetSeries(f)){var h=f.getData(s.dataType),_=h.getStore().get(p.getDataDimensionIndex(h),s.dataIndex);isNaN(_)||this._showIndicator(_,_)}}},n.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var s=this._shapes.handleLabels;if(s)for(var f=0;f<s.length;f++)this._api.leaveBlur(s[f])},n.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",r0(e,this.visualMapModel)),e.length=0},n.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},n.prototype._applyTransform=function(e,s,f,p){var h=A0(s,p?null:this.group);return H.t(e)?Vm(e,h,f):rA(e,h,f)},n.prototype._dispatchHighDown=function(e,s){s&&s.length&&this.api.dispatchAction({type:e,batch:s})},n.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},n.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},n.type="visualMap.continuous",n}(q2);function rw(a,n,e,s){return new $h({shape:{points:a},draggable:!!e,cursor:n,drift:e,onmousemove:function(f){tn(f.event)},ondragend:s})}function aw(a,n,e){var s=tw/2,f=a.get("hoverLinkDataSize");return f&&(s=Pg(f,n,e,!0)/2),s}function iw(a){var n=a.get("hoverLinkOnHandle");return!!(n==null?a.get("realtime"):n)}function ow(a){return a==="vertical"?"ns-resize":"ew-resize"}var mre=nw,_re={type:"selectDataRange",event:"dataRangeSelected",update:"update"},wM=function(a,n){n.eachComponent({mainType:"visualMap",query:a},function(e){e.setSelected(a.selected)})},sw=[{createOnAllSeries:!0,reset:function(a,n){var e=[];return n.eachComponent("visualMap",function(s){var f=a.pipelineContext;!s.isTargetSeries(a)||f&&f.large||e.push(q_(s.stateList,s.targetVisuals,H.c(s.getValueState,s),s.getDataDimensionIndex(a.getData())))}),e}},{createOnAllSeries:!0,reset:function(a,n){var e=a.getData(),s=[];n.eachComponent("visualMap",function(f){if(f.isTargetSeries(a)){var p=f.getVisualMeta(H.c(TM,null,a,f))||{stops:[],outerColors:[]},h=f.getDataDimensionIndex(e);h>=0&&(p.dimension=h,s.push(p))}}),a.getData().setVisual("visualMeta",s)}}];function TM(a,n,e,s){for(var f=n.targetVisuals[s],p=jh.prepareVisualTypes(f),h={color:Zx(a.getData(),"color")},_=0,M=p.length;_<M;_++){var L=p[_],z=f[L==="opacity"?"__alphaForOpacity":L];z&&z.applyVisual(e,Y,q)}return h.color;function Y(se){return h[se]}function q(se,ye){h[se]=ye}}var gE=H.k;function AM(a){var n=a&&a.visualMap;H.t(n)||(n=n?[n]:[]),gE(n,function(e){if(!!e){a0(e,"splitList")&&!a0(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var s=e.pieces;s&&H.t(s)&&gE(s,function(f){H.A(f)&&(a0(f,"start")&&!a0(f,"min")&&(f.min=f.start),a0(f,"end")&&!a0(f,"max")&&(f.max=f.end))})}})}function a0(a,n){return a&&a.hasOwnProperty&&a.hasOwnProperty(n)}var Wv=!1;function Tb(a){Wv||(Wv=!0,a.registerSubTypeDefaulter("visualMap",function(n){return!n.categories&&(!(n.pieces?n.pieces.length>0:n.splitNumber>0)||n.calculable)?"continuous":"piecewise"}),a.registerAction(_re,wM),Object(H.k)(sw,function(n){a.registerVisual(a.PRIORITY.VISUAL.COMPONENT,n)}),a.registerPreprocessor(AM))}function _z(a){a.registerComponentModel(Q2),a.registerComponentView(mre),Tb(a)}var yre=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e._pieceList=[],e}return n.prototype.optionUpdated=function(e,s){a.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var f=this._mode=this._determineMode();this._pieceList=[],Zse[this._mode].call(this,this._pieceList),this._resetSelected(e,s);var p=this.option.categories;this.resetVisual(function(h,_){f==="categories"?(h.mappingMethod="category",h.categories=H.d(p)):(h.dataExtent=this.getExtent(),h.mappingMethod="piecewise",h.pieceList=H.H(this._pieceList,function(M){return M=H.d(M),_!=="inRange"&&(M.visual=null),M}))})},n.prototype.completeVisualOption=function(){var e=this.option,s={},f=jh.listVisualTypes(),p=this.isCategory();H.k(e.pieces,function(_){H.k(f,function(M){_.hasOwnProperty(M)&&(s[M]=1)})}),H.k(s,function(_,M){var L=!1;H.k(this.stateList,function(z){L=L||h(e,z,M)||h(e.target,z,M)},this),!L&&H.k(this.stateList,function(z){(e[z]||(e[z]={}))[M]=X2.get(M,z==="inRange"?"active":"inactive",p)})},this);function h(_,M,L){return _&&_[M]&&_[M].hasOwnProperty(L)}a.prototype.completeVisualOption.apply(this,arguments)},n.prototype._resetSelected=function(e,s){var f=this.option,p=this._pieceList,h=(s?f:e).selected||{};if(f.selected=h,H.k(p,function(M,L){var z=this.getSelectedMapKey(M);h.hasOwnProperty(z)||(h[z]=!0)},this),f.selectedMode==="single"){var _=!1;H.k(p,function(M,L){var z=this.getSelectedMapKey(M);h[z]&&(_?h[z]=!1:_=!0)},this)}},n.prototype.getItemSymbol=function(){return this.get("itemSymbol")},n.prototype.getSelectedMapKey=function(e){return this._mode==="categories"?e.value+"":e.index+""},n.prototype.getPieceList=function(){return this._pieceList},n.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},n.prototype.setSelected=function(e){this.option.selected=H.d(e)},n.prototype.getValueState=function(e){var s=jh.findPieceIndex(e,this._pieceList);return s!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[s])]?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(e){var s=[],f=this._pieceList;return this.eachTargetSeries(function(p){var h=[],_=p.getData();_.each(this.getDataDimensionIndex(_),function(M,L){var z=jh.findPieceIndex(M,f);z===e&&h.push(L)},this),s.push({seriesId:p.id,dataIndex:h})},this),s},n.prototype.getRepresentValue=function(e){var s;if(this.isCategory())s=e.value;else if(e.value!=null)s=e.value;else{var f=e.interval||[];s=f[0]===-Infinity&&f[1]===Infinity?0:(f[0]+f[1])/2}return s},n.prototype.getVisualMeta=function(e){if(this.isCategory())return;var s=[],f=["",""],p=this;function h(z,Y){var q=p.getRepresentValue({interval:z});Y||(Y=p.getValueState(q));var se=e(q,Y);z[0]===-Infinity?f[0]=se:z[1]===Infinity?f[1]=se:s.push({value:z[0],color:se},{value:z[1],color:se})}var _=this._pieceList.slice();if(!_.length)_.push({interval:[-Infinity,Infinity]});else{var M=_[0].interval[0];M!==-Infinity&&_.unshift({interval:[-Infinity,M]}),M=_[_.length-1].interval[1],M!==Infinity&&_.push({interval:[M,Infinity]})}var L=-Infinity;return H.k(_,function(z){var Y=z.interval;Y&&(Y[0]>L&&h([L,Y[0]],"outOfRange"),h(Y.slice()),L=Y[1])},this),{stops:s,outerColors:f}},n.type="visualMap.piecewise",n.defaultOption=w_(bO.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),n}(bO),Zse={splitNumber:function(a){var n=this.option,e=Math.min(n.precision,20),s=this.getExtent(),f=n.splitNumber;f=Math.max(parseInt(f,10),1),n.splitNumber=f;for(var p=(s[1]-s[0])/f;+p.toFixed(e)!==p&&e<5;)e++;n.precision=e,p=+p.toFixed(e),n.minOpen&&a.push({interval:[-Infinity,s[0]],close:[0,0]});for(var h=0,_=s[0];h<f;_+=p,h++){var M=h===f-1?s[1]:_+p;a.push({interval:[_,M],close:[1,1]})}n.maxOpen&&a.push({interval:[s[1],Infinity],close:[0,0]}),fs(a),H.k(a,function(L,z){L.index=z,L.text=this.formatValueText(L.interval)},this)},categories:function(a){var n=this.option;H.k(n.categories,function(e){a.push({text:this.formatValueText(e,!0),value:e})},this),ap(n,a)},pieces:function(a){var n=this.option;H.k(n.pieces,function(e,s){H.A(e)||(e={value:e});var f={text:"",index:s};if(e.label!=null&&(f.text=e.label),e.hasOwnProperty("value")){var p=f.value=e.value;f.interval=[p,p],f.close=[1,1]}else{for(var h=f.interval=[],_=f.close=[0,0],M=[1,0,1],L=[-Infinity,Infinity],z=[],Y=0;Y<2;Y++){for(var q=[["gte","gt","min"],["lte","lt","max"]][Y],se=0;se<3&&h[Y]==null;se++)h[Y]=e[q[se]],_[Y]=M[se],z[Y]=se===2;h[Y]==null&&(h[Y]=L[Y])}z[0]&&h[1]===Infinity&&(_[0]=0),z[1]&&h[0]===-Infinity&&(_[1]=0),h[0]===h[1]&&_[0]&&_[1]&&(f.value=h[0])}f.visual=jh.retrieveVisuals(e),a.push(f)},this),ap(n,a),fs(a),H.k(a,function(e){var s=e.close,f=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,f)},this)}};function ap(a,n){var e=a.inverse;(a.orient==="vertical"?!e:e)&&n.reverse()}var sl=yre,kM=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type=n.type,e}return n.prototype.doRender=function(){var e=this.group;e.removeAll();var s=this.visualMapModel,f=s.get("textGap"),p=s.textStyleModel,h=p.getFont(),_=p.getTextColor(),M=this._getItemAlign(),L=s.itemSize,z=this._getViewData(),Y=z.endsText,q=H.O(s.get("showLabel",!0),!Y);Y&&this._renderEndsText(e,Y[0],L,q,M),H.k(z.viewPieceList,function(se){var ye=se.piece,je=new _s;je.onclick=H.c(this._onItemClick,this,ye),this._enableHoverLink(je,se.indexInModelPieceList);var De=s.getRepresentValue(ye);if(this._createItemSymbol(je,De,[0,0,L[0],L[1]]),q){var We=this.visualMapModel.getValueState(De);je.add(new Ho({style:{x:M==="right"?-f:L[0]+f,y:L[1]/2,text:ye.text,verticalAlign:"middle",align:M,font:h,fill:_,opacity:We==="outOfRange"?.5:1}}))}e.add(je)},this),Y&&this._renderEndsText(e,Y[1],L,q,M),x0(s.get("orient"),e,s.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},n.prototype._enableHoverLink=function(e,s){var f=this;e.on("mouseover",function(){return p("highlight")}).on("mouseout",function(){return p("downplay")});var p=function(h){var _=f.visualMapModel;_.option.hoverLink&&f.api.dispatchAction({type:h,batch:r0(_.findTargetDataIndices(s),_)})}},n.prototype._getItemAlign=function(){var e=this.visualMapModel,s=e.option;if(s.orient==="vertical")return ew(e,this.api,e.itemSize);var f=s.align;return(!f||f==="auto")&&(f="left"),f},n.prototype._renderEndsText=function(e,s,f,p,h){if(!!s){var _=new _s,M=this.visualMapModel.textStyleModel;_.add(new Ho({style:ep(M,{x:p?h==="right"?f[0]:0:f[0]/2,y:f[1]/2,verticalAlign:"middle",align:p?h:"center",text:s})})),e.add(_)}},n.prototype._getViewData=function(){var e=this.visualMapModel,s=H.H(e.getPieceList(),function(_,M){return{piece:_,indexInModelPieceList:M}}),f=e.get("text"),p=e.get("orient"),h=e.get("inverse");return(p==="horizontal"?h:!h)?s.reverse():f&&(f=f.slice().reverse()),{viewPieceList:s,endsText:f}},n.prototype._createItemSymbol=function(e,s,f){e.add(Rv(this.getControllerVisual(s,"symbol"),f[0],f[1],f[2],f[3],this.getControllerVisual(s,"color")))},n.prototype._onItemClick=function(e){var s=this.visualMapModel,f=s.option,p=f.selectedMode;if(!!p){var h=H.d(f.selected),_=s.getSelectedMapKey(e);p==="single"||p===!0?(h[_]=!0,H.k(h,function(M,L){h[L]=L===_})):h[_]=!h[_],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:h})}},n.type="visualMap.piecewise",n}(q2),Qse=kM;function dg(a){a.registerComponentModel(sl),a.registerComponentView(Qse),Tb(a)}function O3(a){Dd(_z),Dd(dg)}var gf={label:{enabled:!0},decal:{show:!1}},mE=ol(),bre={};function yz(a,n){var e=a.getModel("aria");if(!e.get("enabled"))return;var s=H.d(gf);H.I(s.label,a.getLocaleModel().get("aria"),!1),H.I(e.option,s,!1),f(),p();function f(){var L=e.getModel("decal"),z=L.get("show");if(z){var Y=H.f();a.eachSeries(function(q){if(!q.isColorBySeries()){var se=Y.get(q.type);se||(se={},Y.set(q.type,se)),mE(q).scope=se}}),a.eachRawSeries(function(q){if(a.isSeriesFiltered(q))return;if(H.w(q.enableAriaDecal)){q.enableAriaDecal();return}var se=q.getData();if(q.isColorBySeries()){var st=Ox(q.ecModel,q.name,bre,a.getSeriesCount()),dt=se.getVisual("decal");se.setVisual("decal",Mt(dt,st))}else{var ye=q.getRawData(),je={},De=mE(q).scope;se.each(function(nn){var rn=se.getRawIndex(nn);je[rn]=nn});var We=ye.count();ye.each(function(nn){var rn=je[nn],Cn=ye.getName(nn)||nn+"",er=Ox(q.ecModel,Cn,De,We),ir=se.getItemVisual(rn,"decal");se.setItemVisual(rn,"decal",Mt(ir,er))})}function Mt(nn,rn){var Cn=nn?H.m(H.m({},rn),nn):rn;return Cn.dirty=!0,Cn}})}}function p(){var L=a.getLocaleModel().get("aria"),z=e.getModel("label");if(z.option=H.i(z.option,L),!!z.get("enabled")){var Y=n.getZr().dom;if(z.get("description")){Y.setAttribute("aria-label",z.get("description"));return}var q=a.getSeriesCount(),se=z.get(["data","maxCount"])||10,ye=z.get(["series","maxCount"])||10,je=Math.min(q,ye),De;if(!(q<1)){var We=_();if(We){var st=z.get(["general","withTitle"]);De=h(st,{title:We})}else De=z.get(["general","withoutTitle"]);var dt=[],Mt=q>1?z.get(["series","multiple","prefix"]):z.get(["series","single","prefix"]);De+=h(Mt,{seriesCount:q}),a.eachSeries(function(er,ir){if(ir<je){var dr=void 0,pr=er.get("name"),ia=pr?"withName":"withoutName";dr=q>1?z.get(["series","multiple",ia]):z.get(["series","single",ia]),dr=h(dr,{seriesId:er.seriesIndex,seriesName:er.get("name"),seriesType:M(er.subType)});var pa=er.getData();if(pa.count()>se){var Ga=z.get(["data","partialData"]);dr+=h(Ga,{displayCnt:se})}else dr+=z.get(["data","allData"]);for(var si=z.get(["data","separator","middle"]),Bi=z.get(["data","separator","end"]),Go=[],Lo=0;Lo<pa.count();Lo++)if(Lo<se){var Rs=pa.getName(Lo),Ns=pa.getValues(Lo),Ds=z.get(["data",Rs?"withName":"withoutName"]);Go.push(h(Ds,{name:Rs,value:Ns.join(si)}))}dr+=Go.join(si)+Bi,dt.push(dr)}});var nn=z.getModel(["series","multiple","separator"]),rn=nn.get("middle"),Cn=nn.get("end");De+=dt.join(rn)+Cn,Y.setAttribute("aria-label",De)}}}function h(L,z){if(!H.C(L))return L;var Y=L;return H.k(z,function(q,se){Y=Y.replace(new RegExp("\\{\\s*"+se+"\\s*\\}","g"),q)}),Y}function _(){var L=a.get("title");return L&&L.length&&(L=L[0]),L&&L.text}function M(L){return a.getLocaleModel().get(["series","typeNames"])[L]||"\u81EA\u5B9A\u4E49\u56FE"}}function bz(a){if(!(!a||!a.aria)){var n=a.aria;n.show!=null&&(n.enabled=n.show),n.label=n.label||{},H.k(["description","general","series","data"],function(e){n[e]!=null&&(n.label[e]=n[e])})}}function Ore(a){a.registerPreprocessor(bz),a.registerVisual(a.PRIORITY.VISUAL.ARIA,yz)}var Oz={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},_E=function(){function a(n){var e=this._condVal=Object(H.C)(n)?new RegExp(n):Object(H.B)(n)?n:null;if(e==null){var s="";Tf(s)}}return a.prototype.evaluate=function(n){var e=typeof n;return Object(H.C)(e)?this._condVal.test(n):Object(H.z)(e)?this._condVal.test(n+""):!1},a}(),Cre=function(){function a(){}return a.prototype.evaluate=function(){return this.value},a}(),Cz=function(){function a(){}return a.prototype.evaluate=function(){for(var n=this.children,e=0;e<n.length;e++)if(!n[e].evaluate())return!1;return!0},a}(),Ez=function(){function a(){}return a.prototype.evaluate=function(){for(var n=this.children,e=0;e<n.length;e++)if(n[e].evaluate())return!0;return!1},a}(),xz=function(){function a(){}return a.prototype.evaluate=function(){return!this.child.evaluate()},a}(),Ere=function(){function a(){}return a.prototype.evaluate=function(){for(var n=!!this.valueParser,e=this.getValue,s=e(this.valueGetterParam),f=n?this.valueParser(s):null,p=0;p<this.subCondList.length;p++)if(!this.subCondList[p].evaluate(n?f:s))return!1;return!0},a}();function C3(a,n){if(a===!0||a===!1){var e=new Cre;return e.value=a,e}var s="";return cy(a)||Tf(s),a.and?fg("and",a,n):a.or?fg("or",a,n):a.not?Sz(a,n):jM(a,n)}function fg(a,n,e){var s=n[a],f="";Object(H.t)(s)||Tf(f),s.length||Tf(f);var p=a==="and"?new Cz:new Ez;return p.children=Object(H.H)(s,function(h){return C3(h,e)}),p.children.length||Tf(f),p}function Sz(a,n){var e=a.not,s="";cy(e)||Tf(s);var f=new xz;return f.child=C3(e,n),f.child||Tf(s),f}function jM(a,n){for(var e="",s=n.prepareGetValue(a),f=[],p=Object(H.F)(a),h=a.parser,_=h?PF(h):null,M=0;M<p.length;M++){var L=p[M];if(!(L==="parser"||n.valueGetterAttrMap.get(L))){var z=Object(H.q)(Oz,L)?Oz[L]:L,Y=a[L],q=_?_(Y):Y,se=G$(z,q)||z==="reg"&&new _E(q);se||Tf(e),f.push(se)}}f.length||Tf(e);var ye=new Ere;return ye.valueGetterParam=s,ye.valueParser=_,ye.getValue=n.getValue,ye.subCondList=f,ye}function cy(a){return Object(H.A)(a)&&!Object(H.u)(a)}var qse=function(){function a(n,e){this._cond=C3(n,e)}return a.prototype.evaluate=function(){return this._cond.evaluate()},a}();function ece(a,n){return new qse(a,n)}var xre={type:"echarts:filter",transform:function(a){for(var n=a.upstream,e,s=ece(a.config,{valueGetterAttrMap:Object(H.f)({dimension:!0}),prepareGetValue:function(_){var M="",L=_.dimension;Object(H.q)(_,"dimension")||Tf(M);var z=n.getDimensionInfo(L);return z||Tf(M),{dimIdx:z.index}},getValue:function(_){return n.retrieveValueFromItem(e,_.dimIdx)}}),f=[],p=0,h=n.count();p<h;p++)e=n.getRawDataItem(p),s.evaluate()&&f.push(e);return{data:f}}},Sre="",wre={type:"echarts:sort",transform:function(a){var n=a.upstream,e=a.config,s="",f=St(e);f.length||Tf(s);var p=[];Object(H.k)(f,function(z){var Y=z.dimension,q=z.order,se=z.parser,ye=z.incomparable;if(Y==null&&Tf(s),q!=="asc"&&q!=="desc"&&Tf(s),ye&&ye!=="min"&&ye!=="max"){var je="";Tf(je)}if(q!=="asc"&&q!=="desc"){var De="";Tf(De)}var We=n.getDimensionInfo(Y);We||Tf(s);var st=se?PF(se):null;se&&!st&&Tf(s),p.push({dimIdx:We.index,parser:st,comparator:new RF(q,ye)})});var h=n.sourceFormat;h!==qv&&h!==ng&&Tf(s);for(var _=[],M=0,L=n.count();M<L;M++)_.push(n.getRawDataItem(M));return _.sort(function(z,Y){for(var q=0;q<p.length;q++){var se=p[q],ye=n.retrieveValueFromItem(z,se.dimIdx),je=n.retrieveValueFromItem(Y,se.dimIdx);se.parser&&(ye=se.parser(ye),je=se.parser(je));var De=se.comparator.evaluate(ye,je);if(De!==0)return De}return 0}),{data:_}}};function E3(a){a.registerTransform(xre),a.registerTransform(wre)}var wz=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="dataset",e}return n.prototype.init=function(e,s,f){a.prototype.init.call(this,e,s,f),this._sourceManager=new GF(this),$F(this)},n.prototype.mergeOption=function(e,s){a.prototype.mergeOption.call(this,e,s),$F(this)},n.prototype.optionUpdated=function(){this._sourceManager.dirty()},n.prototype.getSourceManager=function(){return this._sourceManager},n.type="dataset",n.defaultOption={seriesLayoutBy:bg},n}(tf),Tre=function(a){Qe(n,a);function n(){var e=a!==null&&a.apply(this,arguments)||this;return e.type="dataset",e}return n.type="dataset",n}(Np);function Tz(a){a.registerComponentModel(wz),a.registerComponentView(Tre)}var i0=tl.CMD;function yE(a,n){return Math.abs(a-n)<1e-5}function x3(a){var n=a.data,e=a.len(),s=[],f,p=0,h=0,_=0,M=0;function L(pa,Ga){f&&f.length>2&&s.push(f),f=[pa,Ga]}function z(pa,Ga,si,Bi){yE(pa,si)&&yE(Ga,Bi)||f.push(pa,Ga,si,Bi,si,Bi)}function Y(pa,Ga,si,Bi,Go,Lo){var Rs=Math.abs(Ga-pa),Ns=Math.tan(Rs/4)*4/3,Ds=Ga<pa?-1:1,yc=Math.cos(pa),Zc=Math.sin(pa),$c=Math.cos(Ga),Nu=Math.sin(Ga),yd=yc*Go+si,Ku=Zc*Lo+Bi,vl=$c*Go+si,Vc=Nu*Lo+Bi,$l=Go*Ns*Ds,el=Lo*Ns*Ds;f.push(yd-$l*Zc,Ku+el*yc,vl+$l*Nu,Vc-el*$c,vl,Vc)}for(var q,se,ye,je,De=0;De<e;){var We=n[De++],st=De===1;switch(st&&(p=n[De],h=n[De+1],_=p,M=h,(We===i0.L||We===i0.C||We===i0.Q)&&(f=[_,M])),We){case i0.M:p=_=n[De++],h=M=n[De++],L(_,M);break;case i0.L:q=n[De++],se=n[De++],z(p,h,q,se),p=q,h=se;break;case i0.C:f.push(n[De++],n[De++],n[De++],n[De++],p=n[De++],h=n[De++]);break;case i0.Q:q=n[De++],se=n[De++],ye=n[De++],je=n[De++],f.push(p+2/3*(q-p),h+2/3*(se-h),ye+2/3*(q-ye),je+2/3*(se-je),ye,je),p=ye,h=je;break;case i0.A:var dt=n[De++],Mt=n[De++],nn=n[De++],rn=n[De++],Cn=n[De++],er=n[De++]+Cn;De+=1;var ir=!n[De++];q=Math.cos(Cn)*nn+dt,se=Math.sin(Cn)*rn+Mt,st?(_=q,M=se,L(_,M)):z(p,h,q,se),p=Math.cos(er)*nn+dt,h=Math.sin(er)*rn+Mt;for(var dr=(ir?-1:1)*Math.PI/2,pr=Cn;ir?pr>er:pr<er;pr+=dr){var ia=ir?Math.max(pr+dr,er):Math.min(pr+dr,er);Y(pr,ia,dt,Mt,nn,rn)}break;case i0.R:_=p=n[De++],M=h=n[De++],q=_+n[De++],se=M+n[De++],L(q,M),z(q,M,q,se),z(q,se,_,se),z(_,se,_,M),z(_,M,q,M);break;case i0.Z:f&&z(p,h,_,M),p=_,h=M;break}}return f&&f.length>2&&s.push(f),s}function S3(a,n,e,s,f,p,h,_,M,L){if(yE(a,e)&&yE(n,s)&&yE(f,h)&&yE(p,_)){M.push(h,_);return}var z=2/L,Y=z*z,q=h-a,se=_-n,ye=Math.sqrt(q*q+se*se);q/=ye,se/=ye;var je=e-a,De=s-n,We=f-h,st=p-_,dt=je*je+De*De,Mt=We*We+st*st;if(dt<Y&&Mt<Y){M.push(h,_);return}var nn=q*je+se*De,rn=-q*We-se*st,Cn=dt-nn*nn,er=Mt-rn*rn;if(Cn<Y&&nn>=0&&er<Y&&rn>=0){M.push(h,_);return}var ir=[],dr=[];Jc(a,e,f,h,.5,ir),Jc(n,s,p,_,.5,dr),S3(ir[0],dr[0],ir[1],dr[1],ir[2],dr[2],ir[3],dr[3],M,L),S3(ir[4],dr[4],ir[5],dr[5],ir[6],dr[6],ir[7],dr[7],M,L)}function pg(a,n){var e=x3(a),s=[];n=n||1;for(var f=0;f<e.length;f++){var p=e[f],h=[],_=p[0],M=p[1];h.push(_,M);for(var L=2;L<p.length;){var z=p[L++],Y=p[L++],q=p[L++],se=p[L++],ye=p[L++],je=p[L++];S3(_,M,z,Y,q,se,ye,je,h,n),_=ye,M=je}s.push(h)}return s}function Az(a,n,e){var s=a[n],f=a[1-n],p=Math.abs(s/f),h=Math.ceil(Math.sqrt(p*e)),_=Math.floor(e/h);_===0&&(_=1,h=e);for(var M=[],L=0;L<h;L++)M.push(_);var z=h*_,Y=e-z;if(Y>0)for(var L=0;L<Y;L++)M[L%h]+=1;return M}function kz(a,n,e){for(var s=a.r0,f=a.r,p=a.startAngle,h=a.endAngle,_=Math.abs(h-p),M=_*f,L=f-s,z=M>Math.abs(L),Y=Az([M,L],z?0:1,n),q=(z?_:L)/Y.length,se=0;se<Y.length;se++)for(var ye=(z?L:_)/Y[se],je=0;je<Y[se];je++){var De={};z?(De.startAngle=p+q*se,De.endAngle=p+q*(se+1),De.r0=s+ye*je,De.r=s+ye*(je+1)):(De.startAngle=p+ye*je,De.endAngle=p+ye*(je+1),De.r0=s+q*se,De.r=s+q*(se+1)),De.clockwise=a.clockwise,De.cx=a.cx,De.cy=a.cy,e.push(De)}}function Are(a,n,e){for(var s=a.width,f=a.height,p=s>f,h=Az([s,f],p?0:1,n),_=p?"width":"height",M=p?"height":"width",L=p?"x":"y",z=p?"y":"x",Y=a[_]/h.length,q=0;q<h.length;q++)for(var se=a[M]/h[q],ye=0;ye<h[q];ye++){var je={};je[L]=q*Y,je[z]=ye*se,je[_]=Y,je[M]=se,je.x+=a.x,je.y+=a.y,e.push(je)}}function jz(a,n,e,s){return a*s-e*n}function kre(a,n,e,s,f,p,h,_){var M=e-a,L=s-n,z=h-f,Y=_-p,q=jz(z,Y,M,L);if(Math.abs(q)<1e-6)return null;var se=a-f,ye=n-p,je=jz(se,ye,z,Y)/q;return je<0||je>1?null:new Ni(je*M+a,je*L+n)}function jre(a,n,e){var s=new Ni;Ni.sub(s,e,n),s.normalize();var f=new Ni;Ni.sub(f,a,n);var p=f.dot(s);return p}function bE(a,n){var e=a[a.length-1];e&&e[0]===n[0]&&e[1]===n[1]||a.push(n)}function Mre(a,n,e){for(var s=a.length,f=[],p=0;p<s;p++){var h=a[p],_=a[(p+1)%s],M=kre(h[0],h[1],_[0],_[1],n.x,n.y,e.x,e.y);M&&f.push({projPt:jre(M,n,e),pt:M,idx:p})}if(f.length<2)return[{points:a},{points:a}];f.sort(function(De,We){return De.projPt-We.projPt});var L=f[0],z=f[f.length-1];if(z.idx<L.idx){var Y=L;L=z,z=Y}for(var q=[L.pt.x,L.pt.y],se=[z.pt.x,z.pt.y],ye=[q],je=[se],p=L.idx+1;p<=z.idx;p++)bE(ye,a[p].slice());bE(ye,se),bE(ye,q);for(var p=z.idx+1;p<=L.idx+s;p++)bE(je,a[p%s].slice());return bE(je,q),bE(je,se),[{points:ye},{points:je}]}function Mz(a){var n=a.points,e=[],s=[];Oc(n,e,s);var f=new fo(e[0],e[1],s[0]-e[0],s[1]-e[1]),p=f.width,h=f.height,_=f.x,M=f.y,L=new Ni,z=new Ni;return p>h?(L.x=z.x=_+p/2,L.y=M,z.y=M+h):(L.y=z.y=M+h/2,L.x=_,z.x=_+p),Mre(n,L,z)}function MM(a,n,e,s){if(e===1)s.push(n);else{var f=Math.floor(e/2),p=a(n);MM(a,p[0],f,s),MM(a,p[1],e-f,s)}return s}function Pre(a,n){for(var e=[],s=0;s<n;s++)e.push(JT(a));return e}function PM(a,n){n.setStyle(a.style),n.z=a.z,n.z2=a.z2,n.zlevel=a.zlevel}function w3(a){for(var n=[],e=0;e<a.length;)n.push([a[e++],a[e++]]);return n}function Pz(a,n){var e=[],s=a.shape,f;switch(a.type){case"rect":Are(s,n,e),f=Ic;break;case"sector":kz(s,n,e),f=bv;break;case"circle":kz({r0:0,r:s.r,startAngle:0,endAngle:Math.PI*2,cx:s.cx,cy:s.cy},n,e),f=bv;break;default:var p=a.getComputedTransform(),h=p?Math.sqrt(Math.max(p[0]*p[0]+p[1]*p[1],p[2]*p[2]+p[3]*p[3])):1,_=Object(H.H)(pg(a.getUpdatedPathProxy(),h),function(We){return w3(We)}),M=_.length;if(M===0)MM(Mz,{points:_[0]},n,e);else if(M===n)for(var L=0;L<M;L++)e.push({points:_[L]});else{var z=0,Y=Object(H.H)(_,function(We){var st=[],dt=[];Oc(We,st,dt);var Mt=(dt[1]-st[1])*(dt[0]-st[0]);return z+=Mt,{poly:We,area:Mt}});Y.sort(function(We,st){return st.area-We.area});for(var q=n,L=0;L<M;L++){var se=Y[L];if(q<=0)break;var ye=L===M-1?q:Math.ceil(se.area/z*n);ye<0||(MM(Mz,{points:se.poly},ye,e),q-=ye)}}f=$h;break}if(!f)return Pre(a,n);for(var je=[],L=0;L<e.length;L++){var De=new f;De.setShape(e[L]),PM(a,De),je.push(De)}return je}function vg(a,n){var e=a.length,s=n.length;if(e===s)return[a,n];for(var f=[],p=[],h=e<s?a:n,_=Math.min(e,s),M=Math.abs(s-e)/6,L=(_-2)/6,z=Math.ceil(M/L)+1,Y=[h[0],h[1]],q=M,se=2;se<_;){var ye=h[se-2],je=h[se-1],De=h[se++],We=h[se++],st=h[se++],dt=h[se++],Mt=h[se++],nn=h[se++];if(q<=0){Y.push(De,We,st,dt,Mt,nn);continue}for(var rn=Math.min(q,z-1)+1,Cn=1;Cn<=rn;Cn++){var er=Cn/rn;Jc(ye,De,st,Mt,er,f),Jc(je,We,dt,nn,er,p),ye=f[3],je=p[3],Y.push(f[1],p[1],f[2],p[2],ye,je),De=f[5],We=p[5],st=f[6],dt=p[6]}q-=rn-1}return h===a?[Y,n]:[a,Y]}function Rz(a,n){for(var e=a.length,s=a[e-2],f=a[e-1],p=[],h=0;h<n.length;)p[h++]=s,p[h++]=f;return p}function Dz(a,n){for(var e,s,f,p=[],h=[],_=0;_<Math.max(a.length,n.length);_++){var M=a[_],L=n[_],z=void 0,Y=void 0;M?L?(e=vg(M,L),z=e[0],Y=e[1],s=z,f=Y):(Y=Rz(f||M,M),z=M):(z=Rz(s||L,L),Y=L),p.push(z),h.push(Y)}return[p,h]}function Iz(a){for(var n=0,e=0,s=0,f=a.length,p=0,h=f-2;p<f;h=p,p+=2){var _=a[h],M=a[h+1],L=a[p],z=a[p+1],Y=_*z-L*M;n+=Y,e+=(_+L)*Y,s+=(M+z)*Y}return n===0?[a[0]||0,a[1]||0]:[e/n/3,s/n/3,n]}function Rre(a,n,e,s){for(var f=(a.length-2)/6,p=Infinity,h=0,_=a.length,M=_-2,L=0;L<f;L++){for(var z=L*6,Y=0,q=0;q<_;q+=2){var se=q===0?z:(z+q-2)%M+2,ye=a[se]-e[0],je=a[se+1]-e[1],De=n[q]-s[0],We=n[q+1]-s[1],st=De-ye,dt=We-je;Y+=st*st+dt*dt}Y<p&&(p=Y,h=L)}return h}function Dre(a){for(var n=[],e=a.length,s=0;s<e;s+=2)n[s]=a[e-s-2],n[s+1]=a[e-s-1];return n}function Ire(a,n,e,s){for(var f=[],p,h=0;h<a.length;h++){var _=a[h],M=n[h],L=Iz(_),z=Iz(M);p==null&&(p=L[2]<0!=z[2]<0);var Y=[],q=[],se=0,ye=Infinity,je=[],De=_.length;p&&(_=Dre(_));for(var We=Rre(_,M,L,z)*6,st=De-2,dt=0;dt<st;dt+=2){var Mt=(We+dt)%st+2;Y[dt+2]=_[Mt]-L[0],Y[dt+3]=_[Mt+1]-L[1]}if(Y[0]=_[We]-L[0],Y[1]=_[We+1]-L[1],e>0)for(var nn=s/e,rn=-s/2;rn<=s/2;rn+=nn){for(var Cn=Math.sin(rn),er=Math.cos(rn),ir=0,dt=0;dt<_.length;dt+=2){var dr=Y[dt],pr=Y[dt+1],ia=M[dt]-z[0],pa=M[dt+1]-z[1],Ga=ia*er-pa*Cn,si=ia*Cn+pa*er;je[dt]=Ga,je[dt+1]=si;var Bi=Ga-dr,Go=si-pr;ir+=Bi*Bi+Go*Go}if(ir<ye){ye=ir,se=rn;for(var Lo=0;Lo<je.length;Lo++)q[Lo]=je[Lo]}}else for(var Rs=0;Rs<De;Rs+=2)q[Rs]=M[Rs]-z[0],q[Rs+1]=M[Rs+1]-z[1];f.push({from:Y,to:q,fromCp:L,toCp:z,rotation:-se})}return f}function OE(a){return a.__isCombineMorphing}function tce(a){return a.__morphT>=0}var Zh="__mOriginal_";function i_(a,n,e){var s=Zh+n,f=a[s]||a[n];a[s]||(a[s]=a[n]);var p=e.replace,h=e.after,_=e.before;a[n]=function(){var M=arguments,L;return _&&_.apply(this,M),p?L=p.apply(this,M):L=f.apply(this,M),h&&h.apply(this,M),L}}function cw(a,n){var e=Zh+n;a[e]&&(a[n]=a[e],a[e]=null)}function T3(a,n){for(var e=0;e<a.length;e++)for(var s=a[e],f=0;f<s.length;){var p=s[f],h=s[f+1];s[f++]=n[0]*p+n[2]*h+n[4],s[f++]=n[1]*p+n[3]*h+n[5]}}function lw(a,n){var e=a.getUpdatedPathProxy(),s=n.getUpdatedPathProxy(),f=Dz(x3(e),x3(s)),p=f[0],h=f[1],_=a.getComputedTransform(),M=n.getComputedTransform();function L(){this.transform=null}_&&T3(p,_),M&&T3(h,M),i_(n,"updateTransform",{replace:L}),n.transform=null;var z=Ire(p,h,10,Math.PI),Y=[];i_(n,"buildPath",{replace:function(se){for(var ye=n.__morphT,je=1-ye,De=[],We=0;We<z.length;We++){var st=z[We],dt=st.from,Mt=st.to,nn=st.rotation*ye,rn=st.fromCp,Cn=st.toCp,er=Math.sin(nn),ir=Math.cos(nn);qi(De,rn,Cn,ye);for(var dr=0;dr<dt.length;dr+=2){var pr=dt[dr],ia=dt[dr+1],pa=Mt[dr],Ga=Mt[dr+1],si=pr*je+pa*ye,Bi=ia*je+Ga*ye;Y[dr]=si*ir-Bi*er+De[0],Y[dr+1]=si*er+Bi*ir+De[1]}var Go=Y[0],Lo=Y[1];se.moveTo(Go,Lo);for(var dr=2;dr<dt.length;){var pa=Y[dr++],Ga=Y[dr++],Rs=Y[dr++],Ns=Y[dr++],Ds=Y[dr++],yc=Y[dr++];Go===pa&&Lo===Ga&&Rs===Ds&&Ns===yc?se.lineTo(Ds,yc):se.bezierCurveTo(pa,Ga,Rs,Ns,Ds,yc),Go=Ds,Lo=yc}}}})}function A3(a,n,e){if(!a||!n)return n;var s=e.done,f=e.during;lw(a,n),n.__morphT=0;function p(){cw(n,"buildPath"),cw(n,"updateTransform"),n.__morphT=-1,n.createPathProxy(),n.dirtyShape()}return n.animateTo({__morphT:1},Object(H.i)({during:function(_){n.dirtyShape(),f&&f(_)},done:function(){p(),s&&s()}},e)),n}function Nre(a,n,e,s,f,p){var h=16;a=f===e?0:Math.round(32767*(a-e)/(f-e)),n=p===s?0:Math.round(32767*(n-s)/(p-s));for(var _=0,M,L=(1<<h)/2;L>0;L/=2){var z=0,Y=0;(a&L)>0&&(z=1),(n&L)>0&&(Y=1),_+=L*L*(3*z^Y),Y===0&&(z===1&&(a=L-1-a,n=L-1-n),M=a,a=n,n=M)}return _}function uw(a){var n=Infinity,e=Infinity,s=-Infinity,f=-Infinity,p=Object(H.H)(a,function(_){var M=_.getBoundingRect(),L=_.getComputedTransform(),z=M.x+M.width/2+(L?L[4]:0),Y=M.y+M.height/2+(L?L[5]:0);return n=Math.min(z,n),e=Math.min(Y,e),s=Math.max(z,s),f=Math.max(Y,f),[z,Y]}),h=Object(H.H)(p,function(_,M){return{cp:_,z:Nre(_[0],_[1],n,e,s,f),path:a[M]}});return h.sort(function(_,M){return _.z-M.z}).map(function(_){return _.path})}function Nz(a){return Pz(a.path,a.count)}function Ab(){return{fromIndividuals:[],toIndividuals:[],count:0}}function dw(a,n,e){var s=[];function f(nn){for(var rn=0;rn<nn.length;rn++){var Cn=nn[rn];OE(Cn)?f(Cn.childrenRef()):Cn instanceof Ti&&s.push(Cn)}}f(a);var p=s.length;if(!p)return Ab();var h=e.dividePath||Nz,_=h({path:n,count:p});if(_.length!==p)return console.error("Invalid morphing: unmatched splitted path"),Ab();s=uw(s),_=uw(_);for(var M=e.done,L=e.during,z=e.individualDelay,Y=new as,q=0;q<p;q++){var se=s[q],ye=_[q];ye.parent=n,ye.copyTransform(Y),z||lw(se,ye)}n.__isCombineMorphing=!0,n.childrenRef=function(){return _};function je(nn){for(var rn=0;rn<_.length;rn++)_[rn].addSelfToZr(nn)}i_(n,"addSelfToZr",{after:function(rn){je(rn)}}),i_(n,"removeSelfFromZr",{after:function(rn){for(var Cn=0;Cn<_.length;Cn++)_[Cn].removeSelfFromZr(rn)}});function De(){n.__isCombineMorphing=!1,n.__morphT=-1,n.childrenRef=null,cw(n,"addSelfToZr"),cw(n,"removeSelfFromZr")}var We=_.length;if(z)for(var st=We,dt=function(){st--,st===0&&(De(),M&&M())},q=0;q<We;q++){var Mt=z?Object(H.i)({delay:(e.delay||0)+z(q,We,s[q],_[q]),done:dt},e):e;A3(s[q],_[q],Mt)}else n.__morphT=0,n.animateTo({__morphT:1},Object(H.i)({during:function(rn){for(var Cn=0;Cn<We;Cn++){var er=_[Cn];er.__morphT=n.__morphT,er.dirtyShape()}L&&L(rn)},done:function(){De();for(var rn=0;rn<a.length;rn++)cw(a[rn],"updateTransform");M&&M()}},e));return n.__zr&&je(n.__zr),{fromIndividuals:s,toIndividuals:_,count:We}}function fw(a,n,e){var s=n.length,f=[],p=e.dividePath||Nz;function h(se){for(var ye=0;ye<se.length;ye++){var je=se[ye];OE(je)?h(je.childrenRef()):je instanceof Ti&&f.push(je)}}if(OE(a)){h(a.childrenRef());var _=f.length;if(_<s)for(var M=0,L=_;L<s;L++)f.push(JT(f[M++%_]));f.length=s}else{f=p({path:a,count:s});for(var z=a.getComputedTransform(),L=0;L<f.length;L++)f[L].setLocalTransform(z);if(f.length!==s)return console.error("Invalid morphing: unmatched splitted path"),Ab()}f=uw(f),n=uw(n);for(var Y=e.individualDelay,L=0;L<s;L++){var q=Y?Object(H.i)({delay:(e.delay||0)+Y(L,s,f[L],n[L])},e):e;A3(f[L],n[L],q)}return{fromIndividuals:f,toIndividuals:n,count:n.length}}function k3(a){return Object(H.t)(a[0])}function pw(a,n){for(var e=[],s=a.length,f=0;f<s;f++)e.push({one:a[f],many:[]});for(var f=0;f<n.length;f++){var p=n[f].length,h=void 0;for(h=0;h<p;h++)e[h%s].many.push(n[f][h])}for(var _=0,f=s-1;f>=0;f--)if(!e[f].many.length){var M=e[_].many;if(M.length<=1)if(_)_=0;else return e;var p=M.length,L=Math.ceil(p/2);e[f].many=M.slice(L,p),e[_].many=M.slice(0,L),_++}return e}var vw={clone:function(a){for(var n=[],e=1-Math.pow(1-a.path.style.opacity,1/a.count),s=0;s<a.count;s++){var f=JT(a.path);f.setStyle("opacity",e),n.push(f)}return n},split:null};function CE(a,n,e,s,f,p){if(!a.length||!n.length)return;var h=Kb("update",s,f);if(!(h&&h.duration>0))return;var _=s.getModel("universalTransition").get("delay"),M=Object.assign({setToFinal:!0},h),L,z;k3(a)&&(L=a,z=n),k3(n)&&(L=n,z=a);function Y(We,st,dt,Mt,nn){var rn=We.many,Cn=We.one;if(rn.length===1&&!nn){var er=st?rn[0]:Cn,ir=st?Cn:rn[0];if(OE(er))Y({many:[er],one:ir},!0,dt,Mt,!0);else{var dr=_?Object(H.i)({delay:_(dt,Mt)},M):M;A3(er,ir,dr),p(er,ir,er,ir,dr)}}else for(var pr=Object(H.i)({dividePath:vw[e],individualDelay:_&&function(Go,Lo,Rs,Ns){return _(Go+dt,Mt)}},M),ia=st?dw(rn,Cn,pr):fw(Cn,rn,pr),pa=ia.fromIndividuals,Ga=ia.toIndividuals,si=pa.length,Bi=0;Bi<si;Bi++){var dr=_?Object(H.i)({delay:_(Bi,si)},M):M;p(pa[Bi],Ga[Bi],st?rn[Bi]:We.one,st?We.one:rn[Bi],dr)}}for(var q=L?L===a:a.length>n.length,se=L?pw(z,L):pw(q?n:a,[q?a:n]),ye=0,je=0;je<se.length;je++)ye+=se[je].many.length;for(var De=0,je=0;je<se.length;je++)Y(se[je],q,De,ye),De+=se[je].many.length}function am(a){if(!a)return[];if(Object(H.t)(a)){for(var n=[],e=0;e<a.length;e++)n.push(am(a[e]));return n}var s=[];return a.traverse(function(f){f instanceof Ti&&!f.disableMorphing&&!f.invisible&&!f.ignore&&s.push(f)}),s}var hw=1e4,gw=ol();function Lz(a){for(var n=a.dimensions,e=0;e<n.length;e++){var s=a.getDimensionInfo(n[e]);if(s&&s.otherDims.itemGroupId===0)return n[e]}}function j3(a){var n=[];return Object(H.k)(a,function(e){var s=e.data;if(!(s.count()>hw))for(var f=s.getIndices(),p=Lz(s),h=0;h<f.length;h++)n.push({dataGroupId:e.dataGroupId,data:s,dim:e.dim||p,divide:e.divide,dataIndex:h})}),n}function M3(a,n,e){a.traverse(function(s){s instanceof Ti&&dp(s,{style:{opacity:0}},n,{dataIndex:e,isFrom:!0})})}function mw(a){if(a.parent){var n=a.getComputedTransform();a.setLocalTransform(n),a.parent.remove(a)}}function OO(a){a.stopAnimation(),a.isGroup&&a.traverse(function(n){n.stopAnimation()})}function Lre(a,n,e){var s=Kb("update",e,n);s&&a.traverse(function(f){if(f instanceof so){var p=nx(f);p&&f.animateFrom({style:p},s)}})}function Fz(a,n){var e=a.length;if(e!==n.length)return!1;for(var s=0;s<e;s++){var f=a[s],p=n[s];if(f.data.getId(f.dataIndex)!==p.data.getId(p.dataIndex))return!1}return!0}function Uz(a,n,e){var s=j3(a),f=j3(n);function p(We,st,dt,Mt,nn){(dt||We)&&st.animateFrom({style:dt&&dt!==We?Object(H.m)(Object(H.m)({},dt.style),We.style):We.style},nn)}function h(We){for(var st=0;st<We.length;st++)if(We[st].dim)return We[st].dim}var _=h(s),M=h(f),L=!1;function z(We,st){return function(dt){var Mt=dt.data,nn=dt.dataIndex;if(st)return Mt.getId(nn);var rn=dt.dataGroupId,Cn=We?_||M:M||_,er=Cn&&Mt.getDimensionInfo(Cn),ir=er&&er.ordinalMeta;if(er){var dr=Mt.get(er.name,nn);return ir&&ir.categories[dr]||dr+""}var pr=Mt.getRawDataItem(nn);return pr&&pr.groupId?pr.groupId+"":rn||Mt.getId(nn)}}var Y=Fz(s,f),q={};if(!Y)for(var se=0;se<f.length;se++){var ye=f[se],je=ye.data.getItemGraphicEl(ye.dataIndex);je&&(q[je.id]=!0)}function De(We,st){var dt=s[st],Mt=f[We],nn=Mt.data.hostModel,rn=dt.data.getItemGraphicEl(dt.dataIndex),Cn=Mt.data.getItemGraphicEl(Mt.dataIndex);if(rn===Cn){Cn&&Lre(Cn,Mt.dataIndex,nn);return}rn&&q[rn.id]||Cn&&(OO(Cn),rn?(OO(rn),mw(rn),L=!0,CE(am(rn),am(Cn),Mt.divide,nn,We,p)):M3(Cn,nn,We))}new D0(s,f,z(!0,Y),z(!1,Y),null,"multiple").update(De).updateManyToOne(function(We,st){var dt=f[We],Mt=dt.data,nn=Mt.hostModel,rn=Mt.getItemGraphicEl(dt.dataIndex),Cn=Object(H.n)(Object(H.H)(st,function(er){return s[er].data.getItemGraphicEl(s[er].dataIndex)}),function(er){return er&&er!==rn&&!q[er.id]});rn&&(OO(rn),Cn.length?(Object(H.k)(Cn,function(er){OO(er),mw(er)}),L=!0,CE(am(Cn),am(rn),dt.divide,nn,We,p)):M3(rn,nn,dt.dataIndex))}).updateOneToMany(function(We,st){var dt=s[st],Mt=dt.data.getItemGraphicEl(dt.dataIndex);if(!(Mt&&q[Mt.id])){var nn=Object(H.n)(Object(H.H)(We,function(Cn){return f[Cn].data.getItemGraphicEl(f[Cn].dataIndex)}),function(Cn){return Cn&&Cn!==Mt}),rn=f[We[0]].data.hostModel;nn.length&&(Object(H.k)(nn,function(Cn){return OO(Cn)}),Mt?(OO(Mt),mw(Mt),L=!0,CE(am(Mt),am(nn),dt.divide,rn,We[0],p)):Object(H.k)(nn,function(Cn){return M3(Cn,rn,We[0])}))}}).updateManyToMany(function(We,st){new D0(st,We,function(dt){return s[dt].data.getId(s[dt].dataIndex)},function(dt){return f[dt].data.getId(f[dt].dataIndex)}).update(function(dt,Mt){De(We[dt],st[Mt])}).execute()}).execute(),L&&Object(H.k)(n,function(We){var st=We.data,dt=st.hostModel,Mt=dt&&e.getViewOfSeriesModel(dt),nn=Kb("update",dt,0);Mt&&dt.isAnimationEnabled()&&nn&&nn.duration>0&&Mt.group.traverse(function(rn){rn instanceof Ti&&!rn.animators.length&&rn.animateFrom({style:{opacity:0}},nn)})})}function Bz(a){var n=a.getModel("universalTransition").get("seriesKey");return n||a.id}function RM(a){return Object(H.t)(a)?a.sort().join(","):a}function kb(a){if(a.hostModel)return a.hostModel.getModel("universalTransition").get("divideShape")}function Fre(a,n){var e=Object(H.f)(),s=Object(H.f)(),f=Object(H.f)();Object(H.k)(a.oldSeries,function(h,_){var M=a.oldDataGroupIds[_],L=a.oldData[_],z=Bz(h),Y=RM(z);s.set(Y,{dataGroupId:M,data:L}),Object(H.t)(z)&&Object(H.k)(z,function(q){f.set(q,{key:Y,dataGroupId:M,data:L})})});function p(h){e.get(h)&&lR("Duplicated seriesKey in universalTransition "+h)}return Object(H.k)(n.updatedSeries,function(h){if(h.isUniversalTransitionEnabled()&&h.isAnimationEnabled()){var _=h.get("dataGroupId"),M=h.getData(),L=Bz(h),z=RM(L),Y=s.get(z);if(Y)e.set(z,{oldSeries:[{dataGroupId:Y.dataGroupId,divide:kb(Y.data),data:Y.data}],newSeries:[{dataGroupId:_,divide:kb(M),data:M}]});else if(Object(H.t)(L)){var q=[];Object(H.k)(L,function(je){var De=s.get(je);De.data&&q.push({dataGroupId:De.dataGroupId,divide:kb(De.data),data:De.data})}),q.length&&e.set(z,{oldSeries:q,newSeries:[{dataGroupId:_,data:M,divide:kb(M)}]})}else{var se=f.get(L);if(se){var ye=e.get(se.key);ye||(ye={oldSeries:[{dataGroupId:se.dataGroupId,data:se.data,divide:kb(se.data)}],newSeries:[]},e.set(se.key,ye)),ye.newSeries.push({dataGroupId:_,data:M,divide:kb(M)})}}}}),e}function P3(a,n){for(var e=0;e<a.length;e++){var s=n.seriesIndex!=null&&n.seriesIndex===a[e].seriesIndex||n.seriesId!=null&&n.seriesId===a[e].id;if(s)return e}}function Ure(a,n,e,s){var f=[],p=[];Object(H.k)(St(a.from),function(h){var _=P3(n.oldSeries,h);_>=0&&f.push({dataGroupId:n.oldDataGroupIds[_],data:n.oldData[_],divide:kb(n.oldData[_]),dim:h.dimension})}),Object(H.k)(St(a.to),function(h){var _=P3(e.updatedSeries,h);if(_>=0){var M=e.updatedSeries[_].getData();p.push({dataGroupId:n.oldDataGroupIds[_],data:M,divide:kb(M),dim:h.dimension})}}),f.length>0&&p.length>0&&Uz(f,p,s)}function Bre(a){a.registerUpdateLifecycle("series:beforeupdate",function(n,e,s){Object(H.k)(St(s.seriesTransition),function(f){Object(H.k)(St(f.to),function(p){for(var h=s.updatedSeries,_=0;_<h.length;_++)(p.seriesIndex!=null&&p.seriesIndex===h[_].seriesIndex||p.seriesId!=null&&p.seriesId===h[_].id)&&(h[_][WT]=!0)})})}),a.registerUpdateLifecycle("series:transition",function(n,e,s){var f=gw(e);if(f.oldSeries&&s.updatedSeries&&s.optionChanged){var p=s.seriesTransition;if(p)Object(H.k)(St(p),function(se){Ure(se,f,s,e)});else{var h=Fre(f,s);Object(H.k)(h.keys(),function(se){var ye=h.get(se);Uz(ye.oldSeries,ye.newSeries,e)})}Object(H.k)(s.updatedSeries,function(se){se[WT]&&(se[WT]=!1)})}for(var _=n.getSeries(),M=f.oldSeries=[],L=f.oldDataGroupIds=[],z=f.oldData=[],Y=0;Y<_.length;Y++){var q=_[Y].getData();q.count()<hw&&(M.push(_[Y]),L.push(_[Y].get("dataGroupId")),z.push(q))}})}Dd([WK]),Dd([gY]),Dd([HD,bX,PX,BJ,JJ,BZ,uQ,eB,Xg,WQ,Kd,yq,zq,Zq,see,uee,m9,Mse,fb,Dee,Hee,XC]),Dd(Tte),Dd(fV),Dd(AU),Dd(Zte),Dd(qB),Dd(tne),Dd(ane),Dd(wne),Dd(YV),Dd(h2),Dd(D2),Dd(Gne),Dd(e_),Dd(az),Dd(qne),Dd(aM),Dd(dM),Dd(b3),Dd(_3),Dd(gz),Dd(O3),Dd(_z),Dd(dg),Dd(Ore),Dd(E3),Dd(Tz),Dd(Bre),Dd(w1);var Vre=l("tkL2"),EE=l.n(Vre),Sl=l("F/eG"),R3=l("eiAH"),xE=l("fWQN"),_w=l("mtLc"),DM=l("bJ22");function D3(a){var n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(a).replace(/[!'()~]|%20|%00/g,function(s){return n[s]})}function yw(a,n){this._pairs=[],a&&Object(DM.a)(a,this,n)}var Vz=yw.prototype;Vz.append=function(n,e){this._pairs.push([n,e])},Vz.toString=function(n){var e=n?function(s){return n.call(this,s,D3)}:D3;return this._pairs.map(function(f){return e(f[0])+"="+e(f[1])},"").join("&")};var zz=yw;function Hz(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function I3(a,n,e){if(!n)return a;var s=e&&e.encode||Hz,f=e&&e.serialize,p;if(f?p=f(n,e):p=Sl.a.isURLSearchParams(n)?n.toString():new zz(n,e).toString(s),p){var h=a.indexOf("#");h!==-1&&(a=a.slice(0,h)),a+=(a.indexOf("?")===-1?"?":"&")+p}return a}var Gz=function(){function a(){Object(xE.a)(this,a),this.handlers=[]}return Object(_w.a)(a,[{key:"use",value:function(e,s,f){return this.handlers.push({fulfilled:e,rejected:s,synchronous:f?f.synchronous:!1,runWhen:f?f.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Sl.a.forEach(this.handlers,function(f){f!==null&&e(f)})}}]),a}(),$z=Gz,_p=l("ypl/"),Wz={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zre=typeof URLSearchParams!="undefined"?URLSearchParams:zz,Hre=typeof FormData!="undefined"?FormData:null,Gre=typeof Blob!="undefined"?Blob:null,$re=function(){var a;return typeof navigator!="undefined"&&((a=navigator.product)==="ReactNative"||a==="NativeScript"||a==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}(),Wre=function(){return typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function"}(),o0={isBrowser:!0,classes:{URLSearchParams:zre,FormData:Hre,Blob:Gre},isStandardBrowserEnv:$re,isStandardBrowserWebWorkerEnv:Wre,protocols:["http","https","file","blob","url","data"]};function Kre(a,n){return Object(DM.a)(a,new o0.classes.URLSearchParams,Object.assign({visitor:function(s,f,p,h){return o0.isNode&&Sl.a.isBuffer(s)?(this.append(f,s.toString("base64")),!1):h.defaultVisitor.apply(this,arguments)}},n))}function Yre(a){return Sl.a.matchAll(/\w+|\[(\w*)]/g,a).map(function(n){return n[0]==="[]"?"":n[1]||n[0]})}function Kz(a){var n={},e=Object.keys(a),s,f=e.length,p;for(s=0;s<f;s++)p=e[s],n[p]=a[p];return n}function Xre(a){function n(s,f,p,h){var _=s[h++],M=Number.isFinite(+_),L=h>=s.length;if(_=!_&&Sl.a.isArray(p)?p.length:_,L)return Sl.a.hasOwnProp(p,_)?p[_]=[p[_],f]:p[_]=f,!M;(!p[_]||!Sl.a.isObject(p[_]))&&(p[_]=[]);var z=n(s,f,p[_],h);return z&&Sl.a.isArray(p[_])&&(p[_]=Kz(p[_])),!M}if(Sl.a.isFormData(a)&&Sl.a.isFunction(a.entries)){var e={};return Sl.a.forEachEntry(a,function(s,f){n(Yre(s),f,e,0)}),e}return null}var CO=Xre,Yz={"Content-Type":void 0};function Xz(a,n,e){if(Sl.a.isString(a))try{return(n||JSON.parse)(a),Sl.a.trim(a)}catch(s){if(s.name!=="SyntaxError")throw s}return(e||JSON.stringify)(a)}var bw={transitional:Wz,adapter:["xhr","http"],transformRequest:[function(n,e){var s=e.getContentType()||"",f=s.indexOf("application/json")>-1,p=Sl.a.isObject(n);p&&Sl.a.isHTMLForm(n)&&(n=new FormData(n));var h=Sl.a.isFormData(n);if(h)return f&&f?JSON.stringify(CO(n)):n;if(Sl.a.isArrayBuffer(n)||Sl.a.isBuffer(n)||Sl.a.isStream(n)||Sl.a.isFile(n)||Sl.a.isBlob(n))return n;if(Sl.a.isArrayBufferView(n))return n.buffer;if(Sl.a.isURLSearchParams(n))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();var _;if(p){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Kre(n,this.formSerializer).toString();if((_=Sl.a.isFileList(n))||s.indexOf("multipart/form-data")>-1){var M=this.env&&this.env.FormData;return Object(DM.a)(_?{"files[]":n}:n,M&&new M,this.formSerializer)}}return p||f?(e.setContentType("application/json",!1),Xz(n)):n}],transformResponse:[function(n){var e=this.transitional||bw.transitional,s=e&&e.forcedJSONParsing,f=this.responseType==="json";if(n&&Sl.a.isString(n)&&(s&&!this.responseType||f)){var p=e&&e.silentJSONParsing,h=!p&&f;try{return JSON.parse(n)}catch(_){if(h)throw _.name==="SyntaxError"?_p.a.from(_,_p.a.ERR_BAD_RESPONSE,this,null,this.response):_}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:o0.classes.FormData,Blob:o0.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Sl.a.forEach(["delete","get","head"],function(n){bw.headers[n]={}}),Sl.a.forEach(["post","put","patch"],function(n){bw.headers[n]=Sl.a.merge(Yz)});var IM=bw,N3=Sl.a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Jz=function(a){var n={},e,s,f;return a&&a.split(`
`).forEach(function(h){f=h.indexOf(":"),e=h.substring(0,f).trim().toLowerCase(),s=h.substring(f+1).trim(),!(!e||n[e]&&N3[e])&&(e==="set-cookie"?n[e]?n[e].push(s):n[e]=[s]:n[e]=n[e]?n[e]+", "+s:s)}),n},Zz=Symbol("internals");function Ow(a){return a&&String(a).trim().toLowerCase()}function NM(a){return a===!1||a==null?a:Sl.a.isArray(a)?a.map(NM):String(a)}function Jre(a){for(var n=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,s;s=e.exec(a);)n[s[1]]=s[2];return n}var Qz=function(n){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim())};function LM(a,n,e,s,f){if(Sl.a.isFunction(s))return s.call(this,n,e);if(f&&(n=e),!!Sl.a.isString(n)){if(Sl.a.isString(s))return n.indexOf(s)!==-1;if(Sl.a.isRegExp(s))return s.test(n)}}function Zre(a){return a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(n,e,s){return e.toUpperCase()+s})}function Qre(a,n){var e=Sl.a.toCamelCase(" "+n);["get","set","has"].forEach(function(s){Object.defineProperty(a,s+e,{value:function(p,h,_){return this[s].call(this,n,p,h,_)},configurable:!0})})}var Cw=function(a,n){function e(s){Object(xE.a)(this,e),s&&this.set(s)}return Object(_w.a)(e,[{key:"set",value:function(f,p,h){var _=this;function M(z,Y,q){var se=Ow(Y);if(!se)throw new Error("header name must be a non-empty string");var ye=Sl.a.findKey(_,se);(!ye||_[ye]===void 0||q===!0||q===void 0&&_[ye]!==!1)&&(_[ye||Y]=NM(z))}var L=function(Y,q){return Sl.a.forEach(Y,function(se,ye){return M(se,ye,q)})};return Sl.a.isPlainObject(f)||f instanceof this.constructor?L(f,p):Sl.a.isString(f)&&(f=f.trim())&&!Qz(f)?L(Jz(f),p):f!=null&&M(p,f,h),this}},{key:"get",value:function(f,p){if(f=Ow(f),f){var h=Sl.a.findKey(this,f);if(h){var _=this[h];if(!p)return _;if(p===!0)return Jre(_);if(Sl.a.isFunction(p))return p.call(this,_,h);if(Sl.a.isRegExp(p))return p.exec(_);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(f,p){if(f=Ow(f),f){var h=Sl.a.findKey(this,f);return!!(h&&this[h]!==void 0&&(!p||LM(this,this[h],h,p)))}return!1}},{key:"delete",value:function(f,p){var h=this,_=!1;function M(L){if(L=Ow(L),L){var z=Sl.a.findKey(h,L);z&&(!p||LM(h,h[z],z,p))&&(delete h[z],_=!0)}}return Sl.a.isArray(f)?f.forEach(M):M(f),_}},{key:"clear",value:function(f){for(var p=Object.keys(this),h=p.length,_=!1;h--;){var M=p[h];(!f||LM(this,this[M],M,f,!0))&&(delete this[M],_=!0)}return _}},{key:"normalize",value:function(f){var p=this,h={};return Sl.a.forEach(this,function(_,M){var L=Sl.a.findKey(h,M);if(L){p[L]=NM(_),delete p[M];return}var z=f?Zre(M):String(M).trim();z!==M&&delete p[M],p[z]=NM(_),h[z]=!0}),this}},{key:"concat",value:function(){for(var f,p=arguments.length,h=new Array(p),_=0;_<p;_++)h[_]=arguments[_];return(f=this.constructor).concat.apply(f,[this].concat(h))}},{key:"toJSON",value:function(f){var p=Object.create(null);return Sl.a.forEach(this,function(h,_){h!=null&&h!==!1&&(p[_]=f&&Sl.a.isArray(h)?h.join(", "):h)}),p}},{key:a,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map(function(f){var p=Object(y.a)(f,2),h=p[0],_=p[1];return h+": "+_}).join(`
`)}},{key:n,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(f){return f instanceof this?f:new this(f)}},{key:"concat",value:function(f){for(var p=new this(f),h=arguments.length,_=new Array(h>1?h-1:0),M=1;M<h;M++)_[M-1]=arguments[M];return _.forEach(function(L){return p.set(L)}),p}},{key:"accessor",value:function(f){var p=this[Zz]=this[Zz]={accessors:{}},h=p.accessors,_=this.prototype;function M(L){var z=Ow(L);h[z]||(Qre(_,L),h[z]=!0)}return Sl.a.isArray(f)?f.forEach(M):M(f),this}}]),e}(Symbol.iterator,Symbol.toStringTag);Cw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Sl.a.freezeMethods(Cw.prototype),Sl.a.freezeMethods(Cw);var ly=Cw;function L3(a,n){var e=this||IM,s=n||e,f=ly.from(s.headers),p=s.data;return Sl.a.forEach(a,function(_){p=_.call(e,p,f.normalize(),n?n.status:void 0)}),f.normalize(),p}function s0(a){return!!(a&&a.__CANCEL__)}function FM(a,n,e){_p.a.call(this,a==null?"canceled":a,_p.a.ERR_CANCELED,n,e),this.name="CanceledError"}Sl.a.inherits(FM,_p.a,{__CANCEL__:!0});var UM=FM,qz=l("Iks+");function qre(a,n,e){var s=e.config.validateStatus;!e.status||!s||s(e.status)?a(e):n(new _p.a("Request failed with status code "+e.status,[_p.a.ERR_BAD_REQUEST,_p.a.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}var EO=o0.isStandardBrowserEnv?function(){return{write:function(e,s,f,p,h,_){var M=[];M.push(e+"="+encodeURIComponent(s)),Sl.a.isNumber(f)&&M.push("expires="+new Date(f).toGMTString()),Sl.a.isString(p)&&M.push("path="+p),Sl.a.isString(h)&&M.push("domain="+h),_===!0&&M.push("secure"),document.cookie=M.join("; ")},read:function(e){var s=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function eae(a){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)}function tae(a,n){return n?a.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):a}function BM(a,n){return a&&!eae(n)?tae(a,n):n}var nae=o0.isStandardBrowserEnv?function(){var n=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a"),s;function f(p){var h=p;return n&&(e.setAttribute("href",h),h=e.href),e.setAttribute("href",h),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return s=f(window.location.href),function(h){var _=Sl.a.isString(h)?f(h):h;return _.protocol===s.protocol&&_.host===s.host}}():function(){return function(){return!0}}();function rae(a){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a);return n&&n[1]||""}function aae(a,n){a=a||10;var e=new Array(a),s=new Array(a),f=0,p=0,h;return n=n!==void 0?n:1e3,function(M){var L=Date.now(),z=s[p];h||(h=L),e[f]=M,s[f]=L;for(var Y=p,q=0;Y!==f;)q+=e[Y++],Y=Y%a;if(f=(f+1)%a,f===p&&(p=(p+1)%a),!(L-h<n)){var se=z&&L-z;return se?Math.round(q*1e3/se):void 0}}}var iae=aae;function c0(a,n){var e=0,s=iae(50,250);return function(f){var p=f.loaded,h=f.lengthComputable?f.total:void 0,_=p-e,M=s(_),L=p<=h;e=p;var z={loaded:p,total:h,progress:h?p/h:void 0,bytes:_,rate:M||void 0,estimated:M&&h&&L?(h-p)/M:void 0,event:f};z[n?"download":"upload"]=!0,a(z)}}var nce=typeof XMLHttpRequest!="undefined",eH=nce&&function(a){return new Promise(function(e,s){var f=a.data,p=ly.from(a.headers).normalize(),h=a.responseType,_;function M(){a.cancelToken&&a.cancelToken.unsubscribe(_),a.signal&&a.signal.removeEventListener("abort",_)}Sl.a.isFormData(f)&&(o0.isStandardBrowserEnv||o0.isStandardBrowserWebWorkerEnv?p.setContentType(!1):p.setContentType("multipart/form-data;",!1));var L=new XMLHttpRequest;if(a.auth){var z=a.auth.username||"",Y=a.auth.password?unescape(encodeURIComponent(a.auth.password)):"";p.set("Authorization","Basic "+btoa(z+":"+Y))}var q=BM(a.baseURL,a.url);L.open(a.method.toUpperCase(),I3(q,a.params,a.paramsSerializer),!0),L.timeout=a.timeout;function se(){if(!!L){var De=ly.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),We=!h||h==="text"||h==="json"?L.responseText:L.response,st={data:We,status:L.status,statusText:L.statusText,headers:De,config:a,request:L};qre(function(Mt){e(Mt),M()},function(Mt){s(Mt),M()},st),L=null}}if("onloadend"in L?L.onloadend=se:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(se)},L.onabort=function(){!L||(s(new _p.a("Request aborted",_p.a.ECONNABORTED,a,L)),L=null)},L.onerror=function(){s(new _p.a("Network Error",_p.a.ERR_NETWORK,a,L)),L=null},L.ontimeout=function(){var We=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",st=a.transitional||Wz;a.timeoutErrorMessage&&(We=a.timeoutErrorMessage),s(new _p.a(We,st.clarifyTimeoutError?_p.a.ETIMEDOUT:_p.a.ECONNABORTED,a,L)),L=null},o0.isStandardBrowserEnv){var ye=(a.withCredentials||nae(q))&&a.xsrfCookieName&&EO.read(a.xsrfCookieName);ye&&p.set(a.xsrfHeaderName,ye)}f===void 0&&p.setContentType(null),"setRequestHeader"in L&&Sl.a.forEach(p.toJSON(),function(We,st){L.setRequestHeader(st,We)}),Sl.a.isUndefined(a.withCredentials)||(L.withCredentials=!!a.withCredentials),h&&h!=="json"&&(L.responseType=a.responseType),typeof a.onDownloadProgress=="function"&&L.addEventListener("progress",c0(a.onDownloadProgress,!0)),typeof a.onUploadProgress=="function"&&L.upload&&L.upload.addEventListener("progress",c0(a.onUploadProgress)),(a.cancelToken||a.signal)&&(_=function(We){!L||(s(!We||We.type?new UM(null,a,L):We),L.abort(),L=null)},a.cancelToken&&a.cancelToken.subscribe(_),a.signal&&(a.signal.aborted?_():a.signal.addEventListener("abort",_)));var je=rae(q);if(je&&o0.protocols.indexOf(je)===-1){s(new _p.a("Unsupported protocol "+je+":",_p.a.ERR_BAD_REQUEST,a));return}L.send(f||null)})},VM={http:qz.a,xhr:eH};Sl.a.forEach(VM,function(a,n){if(a){try{Object.defineProperty(a,"name",{value:n})}catch(e){}Object.defineProperty(a,"adapterName",{value:n})}});var oae={getAdapter:function(n){n=Sl.a.isArray(n)?n:[n];for(var e=n,s=e.length,f,p,h=0;h<s&&(f=n[h],!(p=Sl.a.isString(f)?VM[f.toLowerCase()]:f));h++);if(!p)throw p===!1?new _p.a("Adapter ".concat(f," is not supported by the environment"),"ERR_NOT_SUPPORT"):new Error(Sl.a.hasOwnProp(VM,f)?"Adapter '".concat(f,"' is not available in the build"):"Unknown adapter '".concat(f,"'"));if(!Sl.a.isFunction(p))throw new TypeError("adapter is not a function");return p},adapters:VM};function zM(a){if(a.cancelToken&&a.cancelToken.throwIfRequested(),a.signal&&a.signal.aborted)throw new UM(null,a)}function tH(a){zM(a),a.headers=ly.from(a.headers),a.data=L3.call(a,a.transformRequest),["post","put","patch"].indexOf(a.method)!==-1&&a.headers.setContentType("application/x-www-form-urlencoded",!1);var n=oae.getAdapter(a.adapter||IM.adapter);return n(a).then(function(s){return zM(a),s.data=L3.call(a,a.transformResponse,s),s.headers=ly.from(s.headers),s},function(s){return s0(s)||(zM(a),s&&s.response&&(s.response.data=L3.call(a,a.transformResponse,s.response),s.response.headers=ly.from(s.response.headers))),Promise.reject(s)})}var nH=function(n){return n instanceof ly?n.toJSON():n};function SE(a,n){n=n||{};var e={};function s(L,z,Y){return Sl.a.isPlainObject(L)&&Sl.a.isPlainObject(z)?Sl.a.merge.call({caseless:Y},L,z):Sl.a.isPlainObject(z)?Sl.a.merge({},z):Sl.a.isArray(z)?z.slice():z}function f(L,z,Y){if(Sl.a.isUndefined(z)){if(!Sl.a.isUndefined(L))return s(void 0,L,Y)}else return s(L,z,Y)}function p(L,z){if(!Sl.a.isUndefined(z))return s(void 0,z)}function h(L,z){if(Sl.a.isUndefined(z)){if(!Sl.a.isUndefined(L))return s(void 0,L)}else return s(void 0,z)}function _(L,z,Y){if(Y in n)return s(L,z);if(Y in a)return s(void 0,L)}var M={url:p,method:p,data:p,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:_,headers:function(z,Y){return f(nH(z),nH(Y),!0)}};return Sl.a.forEach(Object.keys(Object.assign({},a,n)),function(z){var Y=M[z]||f,q=Y(a[z],n[z],z);Sl.a.isUndefined(q)&&Y!==_||(e[z]=q)}),e}var rH="1.4.0",F3={};["object","boolean","number","function","string","symbol"].forEach(function(a,n){F3[a]=function(s){return typeof s===a||"a"+(n<1?"n ":" ")+a}});var aH={};F3.transitional=function(n,e,s){function f(p,h){return"[Axios v"+rH+"] Transitional option '"+p+"'"+h+(s?". "+s:"")}return function(p,h,_){if(n===!1)throw new _p.a(f(h," has been removed"+(e?" in "+e:"")),_p.a.ERR_DEPRECATED);return e&&!aH[h]&&(aH[h]=!0,console.warn(f(h," has been deprecated since v"+e+" and will be removed in the near future"))),n?n(p,h,_):!0}};function U3(a,n,e){if(typeof a!="object")throw new _p.a("options must be an object",_p.a.ERR_BAD_OPTION_VALUE);for(var s=Object.keys(a),f=s.length;f-- >0;){var p=s[f],h=n[p];if(h){var _=a[p],M=_===void 0||h(_,p,a);if(M!==!0)throw new _p.a("option "+p+" must be "+M,_p.a.ERR_BAD_OPTION_VALUE);continue}if(e!==!0)throw new _p.a("Unknown option "+p,_p.a.ERR_BAD_OPTION)}}var B3={assertOptions:U3,validators:F3},jb=B3.validators,HM=function(){function a(n){Object(xE.a)(this,a),this.defaults=n,this.interceptors={request:new $z,response:new $z}}return Object(_w.a)(a,[{key:"request",value:function(e,s){typeof e=="string"?(s=s||{},s.url=e):s=e||{},s=SE(this.defaults,s);var f=s,p=f.transitional,h=f.paramsSerializer,_=f.headers;p!==void 0&&B3.assertOptions(p,{silentJSONParsing:jb.transitional(jb.boolean),forcedJSONParsing:jb.transitional(jb.boolean),clarifyTimeoutError:jb.transitional(jb.boolean)},!1),h!=null&&(Sl.a.isFunction(h)?s.paramsSerializer={serialize:h}:B3.assertOptions(h,{encode:jb.function,serialize:jb.function},!0)),s.method=(s.method||this.defaults.method||"get").toLowerCase();var M;M=_&&Sl.a.merge(_.common,_[s.method]),M&&Sl.a.forEach(["delete","get","head","post","put","patch","common"],function(dt){delete _[dt]}),s.headers=ly.concat(M,_);var L=[],z=!0;this.interceptors.request.forEach(function(Mt){typeof Mt.runWhen=="function"&&Mt.runWhen(s)===!1||(z=z&&Mt.synchronous,L.unshift(Mt.fulfilled,Mt.rejected))});var Y=[];this.interceptors.response.forEach(function(Mt){Y.push(Mt.fulfilled,Mt.rejected)});var q,se=0,ye;if(!z){var je=[tH.bind(this),void 0];for(je.unshift.apply(je,L),je.push.apply(je,Y),ye=je.length,q=Promise.resolve(s);se<ye;)q=q.then(je[se++],je[se++]);return q}ye=L.length;var De=s;for(se=0;se<ye;){var We=L[se++],st=L[se++];try{De=We(De)}catch(dt){st.call(this,dt);break}}try{q=tH.call(this,De)}catch(dt){return Promise.reject(dt)}for(se=0,ye=Y.length;se<ye;)q=q.then(Y[se++],Y[se++]);return q}},{key:"getUri",value:function(e){e=SE(this.defaults,e);var s=BM(e.baseURL,e.url);return I3(s,e.params,e.paramsSerializer)}}]),a}();Sl.a.forEach(["delete","get","head","options"],function(n){HM.prototype[n]=function(e,s){return this.request(SE(s||{},{method:n,url:e,data:(s||{}).data}))}}),Sl.a.forEach(["post","put","patch"],function(n){function e(s){return function(p,h,_){return this.request(SE(_||{},{method:n,headers:s?{"Content-Type":"multipart/form-data"}:{},url:p,data:h}))}}HM.prototype[n]=e(),HM.prototype[n+"Form"]=e(!0)});var Ew=HM,sae=function(){function a(n){if(Object(xE.a)(this,a),typeof n!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(p){e=p});var s=this;this.promise.then(function(f){if(!!s._listeners){for(var p=s._listeners.length;p-- >0;)s._listeners[p](f);s._listeners=null}}),this.promise.then=function(f){var p,h=new Promise(function(_){s.subscribe(_),p=_}).then(f);return h.cancel=function(){s.unsubscribe(p)},h},n(function(p,h,_){s.reason||(s.reason=new UM(p,h,_),e(s.reason))})}return Object(_w.a)(a,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(!!this._listeners){var s=this._listeners.indexOf(e);s!==-1&&this._listeners.splice(s,1)}}}],[{key:"source",value:function(){var e,s=new a(function(p){e=p});return{token:s,cancel:e}}}]),a}(),cae=sae;function lae(a){return function(e){return a.apply(null,e)}}function uae(a){return Sl.a.isObject(a)&&a.isAxiosError===!0}var V3={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(V3).forEach(function(a){var n=Object(y.a)(a,2),e=n[0],s=n[1];V3[s]=e});var iH=V3;function oH(a){var n=new Ew(a),e=Object(R3.a)(Ew.prototype.request,n);return Sl.a.extend(e,Ew.prototype,n,{allOwnKeys:!0}),Sl.a.extend(e,n,null,{allOwnKeys:!0}),e.create=function(f){return oH(SE(a,f))},e}var ch=oH(IM);ch.Axios=Ew,ch.CanceledError=UM,ch.CancelToken=cae,ch.isCancel=s0,ch.VERSION=rH,ch.toFormData=DM.a,ch.AxiosError=_p.a,ch.Cancel=ch.CanceledError,ch.all=function(n){return Promise.all(n)},ch.spread=lae,ch.isAxiosError=uae,ch.mergeConfig=SE,ch.AxiosHeaders=ly,ch.formToJSON=function(a){return CO(Sl.a.isHTMLForm(a)?new FormData(a):a)},ch.HttpStatusCode=iH,ch.default=ch;var dae=ch,sH=l("wCAj"),cH=l("W9HT"),wE=l("tsqr"),GM=l("2/Rp"),xw=l("BMrR"),l0=l("kPKH"),lH=l("mr32"),fae=l("zeV3"),uH=l("PArb"),pae=l("E1MF"),vae=l.n(pae),Mb,u0;(function(a){a[a.NORMAL=0]="NORMAL",a[a.SEARCH_EXCEPTION=1]="SEARCH_EXCEPTION",a[a.EMPTY=2]="EMPTY",a[a.INVALID=3]="INVALID"})(u0||(u0={}));var o_;(function(a){a.DOMAIN="DOMAIN",a.DIMENSION="DIMENSION",a.METRIC="METRIC",a.VALUE="VALUE"})(o_||(o_={}));var hae=(Mb={},Mb[o_.DOMAIN]="\u4E3B\u9898\u57DF",Mb[o_.DIMENSION]="\u7EF4\u5EA6",Mb[o_.METRIC]="\u6307\u6807",Mb[o_.VALUE]="\u7EF4\u5EA6\u503C",Mb),Pb,Oh;(function(a){a.None="\u65E0",a.TenThousand="\u4E07",a.EnTenThousand="w",a.OneHundredMillion="\u4EBF",a.Thousand="k",a.Million="M",a.Giga="G"})(Oh||(Oh={}));var $M="#446dff",gae="#1b4aef",WM="rgba(153, 153, 153, 0.3)",uy="ss-chat",dH={DAY:[{label:"\u8FD17\u5929",value:7},{label:"\u8FD130\u5929",value:30},{label:"\u8FD160\u5929",value:60},{label:"\u8FD190\u5929",value:90}],WEEK:[{label:"\u8FD14\u5468",value:4},{label:"\u8FD112\u5468",value:12},{label:"\u8FD124\u5468",value:24},{label:"\u8FD152\u5468",value:52}],MONTH:[{label:"\u8FD13\u4E2A\u6708",value:3},{label:"\u8FD16\u4E2A\u6708",value:6},{label:"\u8FD112\u4E2A\u6708",value:12},{label:"\u8FD124\u4E2A\u6708",value:24}]},mae=["#3369FF","#36D2B8","#DB8D76","#47B359","#8545E6","#E0B18B","#7258F3","#0095FF","#52CC8F","#6675FF","#CC516E","#5CA9E6"],fH="\u5C0FQ\u4E0D\u592A\u61C2\u60A8\u8BF4\u4EC0\u4E48\u5450\uFF0C\u56DE\u53BB\u4E00\u5B9A\u8865\u5145\u77E5\u8BC6",_ae=(Pb={},Pb[u0.SEARCH_EXCEPTION]="\u6570\u636E\u67E5\u8BE2\u5F02\u5E38",Pb[u0.INVALID]="\u5C0FQ\u4E0D\u592A\u61C2\u60A8\u8BF4\u4EC0\u4E48\u5450\uFF0C\u56DE\u53BB\u4E00\u5B9A\u8865\u5145\u77E5\u8BC6",Pb),xO="ss-chat";function KM(a,n){if(isNaN(+a)||n<0||n>100)return a;var e=(+a).toFixed(n);if(!/^[0-9.]+$/g.test(e))return"0";for(;e.includes(".")&&(e.endsWith(".")||e.endsWith("0"));)e=e.slice(0,-1);return e}function yae(a){if(isNaN(+a))return a;var n=a.toString().split(".");return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),n.join(".")}function bae(a,n){var e=+a;if(isNaN(e)||n===Oh.None)return a;var s=0;switch(n){case Oh.TenThousand:case Oh.EnTenThousand:s=4;break;case Oh.OneHundredMillion:s=8;break;case Oh.Thousand:s=3;break;case Oh.Million:s=6;break;case Oh.Giga:s=9;break}return e/Math.pow(10,s)}var SO=function(a,n){if(n&&(a===void 0||+a==0))return 0;if(a===void 0)return"-";if(!isFinite(+a))return a;var e=+a>=1e8?Oh.OneHundredMillion:+a>=1e4?Oh.EnTenThousand:Oh.None,s=bae(a,e);return s=KM(s,e===Oh.OneHundredMillion?2:+a<1?3:1),s=yae(s),typeof s=="number"&&isNaN(s)||+s==0?"-":"".concat(s).concat(e===Oh.None?"":e)},rce=function(a,n){return a.reduce(function(e,s){var f=Ee({},e),p=s[n];return f[p]||(f[p]=[]),f[p].push(s),f},{})};function Oae(a,n,e){var s=[],f=n.diff(a,e||"days"),p=e==="months"?"YYYY-MM":"YYYY-MM-DD";s.push(a.format(p));for(var h=1;h<=f;h++)s.push(a.add(1,e||"days").format(p));return s}var Cae=function(a,n,e,s,f,p){var h=Oae(le()(s),le()(f),p),_=h.map(function(M){var L,z=a.find(function(Y){return Y[n]===M});return Ee(Ee({},z||{}),(L={},L[n]=M,L[e]=z?z[e]:0,L))});return _},Eae=function(a,n){var e=a.map(function(s){return le()(s[n])});return[le.a.min(e).format("YYYY-MM-DD"),le.a.max(e).format("YYYY-MM-DD")]};function xae(a){var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}function z3(a,n){var e;if(a==null?void 0:a.includes("rgb")){var s=a.match(/\d+/g).map(Number),f=s[0],p=s[1],h=s[2],_=s[3];e={r:f,g:p,b:h,a:_}}else e=xae(a)||{};return"rgba(".concat(e.r+n,",").concat(e.g+n,",").concat(e.b+n).concat(e.a?",".concat(e.a):"",")")}function pH(a){return z3(a,80)}var YM=window.navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i);function ice(a){localStorage.setItem("SUPERSONIC_CHAT_TOKEN",a)}function Sae(){return localStorage.getItem("SUPERSONIC_CHAT_TOKEN")}var H3=function(a){var n=a.domain,e=a.onApplyAuth,s="".concat(xO,"-apply-auth");return Object(G.jsxs)("div",Ee({className:s},{children:["\u6682\u65E0\u6743\u9650\uFF0C",e?Object(G.jsx)("span",Ee({className:"".concat(s,"-apply"),onClick:function(){e(n)}},{children:"\u70B9\u51FB\u7533\u8BF7"})):"\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650"]}))},vH=function(a){var n,e=a.domain,s=a.chartType,f=a.onApplyAuth,p="".concat(uy,"-no-permission-chart"),h=EE()("".concat(p,"-holder"),(n={},n["".concat(p,"-bar-chart-holder")]=s==="barChart",n));return Object(G.jsxs)("div",Ee({className:p},{children:[Object(G.jsx)("div",{className:h}),Object(G.jsx)("div",Ee({className:"".concat(p,"-no-permission")},{children:Object(G.jsx)(H3,{domain:e,onApplyAuth:f})}))]}))},hH=function(a){var n,e=a.data,s=a.triggerResize,f=a.onApplyAuth,p=Object(x.useRef)(),h=Object(x.useState)(),_=h[0],M=h[1],L=e.queryColumns,z=e.queryResults,Y=e.entityInfo,q=((n=L==null?void 0:L.find(function(De){return De.showType==="CATEGORY"}))===null||n===void 0?void 0:n.nameEn)||"",se=L==null?void 0:L.find(function(De){return De.showType==="NUMBER"}),ye=(se==null?void 0:se.nameEn)||"",je=function(){var De;_?De=_:(De=_5(p.current),M(De));var We=(z||[]).sort(function(dt,Mt){return Mt[ye]-dt[ye]}),st=We.map(function(dt){return dt[q]});De.setOption({legend:{left:0,top:0,icon:"rect",itemWidth:15,itemHeight:5},xAxis:{type:"category",axisTick:{show:!1},axisLine:{lineStyle:{color:WM}},axisLabel:{width:200,overflow:"truncate",showMaxLabel:!0,hideOverlap:!1,interval:0,color:"#333",rotate:30},data:st},yAxis:{type:"value",splitLine:{lineStyle:{opacity:.3}},axisLabel:{formatter:function(dt){return dt===0?0:SO(dt)}}},tooltip:{trigger:"axis",formatter:function(dt){var Mt=dt[0],nn=dt.map(function(rn){return'<div style="margin-top: 3px;">'.concat(rn.marker,' <span style="display: inline-block; width: 70px; margin-right: 12px;">').concat(rn.seriesName,'</span><span style="display: inline-block; width: 90px; text-align: right; font-weight: 500;">').concat(SO(rn.value),"</span></div>")}).join("");return"".concat(Mt.name,"<br />").concat(nn)}},grid:{left:"2%",right:"1%",bottom:"3%",top:50,containLabel:!0},series:{type:"bar",name:se==null?void 0:se.name,barWidth:20,itemStyle:{borderRadius:[10,10,0,0],color:new m.LinearGradient(0,0,0,1,[{offset:0,color:$M},{offset:1,color:pH($M)}])},label:{show:!0,position:"top",formatter:function(dt){var Mt=dt.value;return SO(Mt)}},data:We.map(function(dt){return dt[(se==null?void 0:se.nameEn)||""]})}}),De.resize()};return Object(x.useEffect)(function(){z&&z.length>0&&(se==null?void 0:se.authorized)&&je()},[z]),Object(x.useEffect)(function(){s&&_&&_.resize()},[s]),se&&!(se==null?void 0:se.authorized)?Object(G.jsx)(vH,{domain:(Y==null?void 0:Y.domainInfo.name)||"",chartType:"barChart",onApplyAuth:f}):Object(G.jsx)("div",{className:"".concat(xO,"-bar"),ref:p})},XM=function(a){var n,e=a.position,s=a.width,f=a.height,p=a.title,h=a.followQuestions,_=a.children,M=a.bubbleClassName,L=a.chatContext,z=a.entityInfo;a.isMobileMode;var Y=L||{},q=Y.dimensionFilters,se=Y.domainName,ye="".concat(xO,"-message"),je=((n=z==null?void 0:z.dimensions)===null||n===void 0?void 0:n.filter(function(dt){return!dt.bizName.includes("photo")}))||[],De=q&&q.length>0&&je.length===0,We=De&&Object(G.jsxs)("div",Ee({className:"".concat(ye,"-filter-section")},{children:[Object(G.jsx)("div",Ee({className:"".concat(ye,"-field-name")},{children:"\u7B5B\u9009\u6761\u4EF6\uFF1A"})),Object(G.jsx)("div",Ee({className:"".concat(ye,"-filter-values")},{children:q.map(function(dt){var Mt=typeof dt.value=="string"?[dt.value]:dt.value||[];return Object(G.jsxs)("div",Ee({className:"".concat(ye,"-filter-item"),title:Mt.join("\u3001")},{children:[dt.name,"\uFF1A",Mt.join("\u3001")]}),dt.name)})}))]})),st=p?h&&h.length>0?"\u591A\u8F6E\u5BF9\u8BDD\uFF1A".concat(mt([p],h,!0).join(" \u2190 ")):"\u5355\u8F6E\u5BF9\u8BDD\uFF1A".concat(p):"";return Object(G.jsxs)("div",Ee({className:ye},{children:[se&&Object(G.jsx)("div",Ee({className:"".concat(ye,"-domain-name")},{children:se})),Object(G.jsx)("div",Ee({className:"".concat(ye,"-content")},{children:Object(G.jsx)("div",Ee({className:"".concat(ye,"-body")},{children:Object(G.jsxs)("div",Ee({className:"".concat(ye,"-bubble").concat(M?" ".concat(M):""),style:{width:s,height:f},onClick:function(dt){dt.stopPropagation()}},{children:[e==="left"&&p&&Object(G.jsx)("div",Ee({className:"".concat(ye,"-top-bar"),title:st},{children:st})),(je.length>0||De)&&Object(G.jsxs)("div",Ee({className:"".concat(ye,"-info-bar")},{children:[We,je.length>0&&Object(G.jsx)("div",Ee({className:"".concat(ye,"-main-entity-info")},{children:je.slice(0,4).map(function(dt){return Object(G.jsxs)("div",Ee({className:"".concat(ye,"-info-item")},{children:[Object(G.jsxs)("div",Ee({className:"".concat(ye,"-info-name")},{children:[dt.name,"\uFF1A"]})),dt.bizName.includes("photo")?Object(G.jsx)("img",{width:40,height:40,src:dt.value,alt:""}):Object(G.jsx)("div",Ee({className:"".concat(ye,"-info-value")},{children:dt.value}))]}),dt.bizName)})}))]})),Object(G.jsx)("div",Ee({className:"".concat(ye,"-children")},{children:_}))]}))}))}))]}))},wae=function(a){var n,e=a.data,s=a.onApplyAuth,f=e.queryColumns,p=e.queryResults,h=e.entityInfo,_=f==null?void 0:f.find(function(z){return z.showType==="NUMBER"}),M=(_==null?void 0:_.nameEn)||"",L="".concat(xO,"-metric-card");return Object(G.jsx)("div",Ee({className:L},{children:Object(G.jsx)("div",Ee({className:"".concat(L,"-indicator")},{children:_&&!(_==null?void 0:_.authorized)?Object(G.jsx)(H3,{domain:(h==null?void 0:h.domainInfo.name)||"",onApplyAuth:s}):Object(G.jsx)("div",Ee({className:"".concat(L,"-indicator-value")},{children:SO((n=p==null?void 0:p[0])===null||n===void 0?void 0:n[M])}))}))}))},Rb=dae.create({baseURL:"",timeout:3e4,headers:{"Content-Type":"application/json"}});Rb.interceptors.request.use(function(a){var n=Sae();return n&&(a==null?void 0:a.headers)&&(a.headers.Auth="Bearer ".concat(n)),a},function(a){return Promise.reject(a)}),Rb.interceptors.response.use(function(a){var n=a.headers.get("redirect");if(n==="REDIRECT"){for(var e=window;e!==e.top;)e=e.top;var s=a.headers.get("contextpath");e.location.href=(s==null?void 0:s.substring(0,s==null?void 0:s.indexOf("&")))+"&redirect_uri=".concat(encodeURIComponent("http://".concat(e.location.host)))}return a},function(a){return a.response&&a.response.status===401&&console.log("Unauthorized, please log in again."),Promise.reject(a)});var TE=0,JM="/api";function oce(a,n,e){return Rb.post("".concat(JM,"/chat/query/search"),{queryText:a,chatId:n||TE,domainId:e})}function sce(a,n,e,s){return Rb.post("".concat(JM,"/chat/query/query"),{queryText:a,chatId:n||TE,domainId:e,isSaveQuestionAnswer:s})}function cce(a){return Rb.post("".concat(JM,"/chat/query/queryData"),a)}function lce(a,n){return Rb.post("".concat(JM,"/chat/query/queryContext"),{queryText:a,chatId:n||TE})}function Tae(a,n,e){return n===void 0&&(n=TE),e===void 0&&(e=10),Rb.post("".concat(JM,"/chat/manage/pageQueryInfo?chatId=").concat(n),{current:a,pageSize:e})}function Aae(a){return Rb.get("/semantic/metric/getRelatedDimensionFromStatInfo/".concat(a.classId,"/").concat(a.uniqueId))}function kae(a){return Rb.get("/openapi/bd-bi/api/polaris/intelligentQuery/getMetricQueryInfo/".concat(a.classId,"/").concat(a.metricName))}var jae=function(a){var n=a.domain,e=a.dateColumnName,s=a.categoryColumnName,f=a.metricField,p=a.resultList,h=a.triggerResize,_=a.onApplyAuth,M=Object(x.useRef)(),L=Object(x.useState)(),z=L[0],Y=L[1],q=function(){var ye,je;z?(je=z,je.clear()):(je=_5(M.current),Y(je));var De=f.nameEn,We=rce(p,s),st=Eae(p,e),dt=st[0],Mt=st[1],nn=Object.keys(We).reduce(function(er,ir){return er[ir]=dt&&Mt&&(e.includes("date")||e.includes("month"))?Cae(We[ir],e,De,dt,Mt,e.includes("month")?"months":"days"):We[ir].reverse(),er},{}),rn=Object.keys(nn).sort(function(er,ir){return nn[ir][nn[ir].length-1][De]-nn[er][nn[er].length-1][De]}),Cn=(ye=nn[rn[0]])===null||ye===void 0?void 0:ye.map(function(er){var ir="".concat(er[e]);return ir.length===10?le()(ir).format("MM-DD"):ir});je.setOption({legend:s&&{left:0,top:0,icon:"rect",itemWidth:15,itemHeight:5,type:"scroll"},xAxis:{type:"category",axisTick:{alignWithLabel:!0,lineStyle:{color:WM}},axisLine:{lineStyle:{color:WM}},axisLabel:{showMaxLabel:!0,color:"#999"},data:Cn},yAxis:{type:"value",splitLine:{lineStyle:{opacity:.3}},axisLabel:{formatter:function(er){var ir;return er===0?0:f.dataFormatType==="percent"?"".concat(KM(er,((ir=f.dataFormat)===null||ir===void 0?void 0:ir.decimalPlaces)||2),"%"):SO(er)}}},tooltip:{trigger:"axis",formatter:function(er){var ir=er[0],dr=er.sort(function(pr,ia){return ia.value-pr.value}).map(function(pr){var ia;return'<div style="margin-top: 3px;">'.concat(pr.marker,' <span style="display: inline-block; width: 70px; margin-right: 12px;">').concat(pr.seriesName,'</span><span style="display: inline-block; width: 90px; text-align: right; font-weight: 500;">').concat(pr.value===""?"-":f.dataFormatType==="percent"?"".concat(KM(pr.value,((ia=f.dataFormat)===null||ia===void 0?void 0:ia.decimalPlaces)||2),"%"):SO(pr.value),"</span></div>")}).join("");return"".concat(ir.name,"<br />").concat(dr)}},grid:{left:"1%",right:"4%",bottom:"3%",top:s?45:20,containLabel:!0},series:rn.slice(0,20).map(function(er,ir){var dr=nn[er];return{type:"line",name:s?er:f.name,symbol:"circle",showSymbol:dr.length===1,smooth:!0,data:dr.map(function(pr){var ia,pa=pr[De];return f.dataFormatType==="percent"&&((ia=f.dataFormat)===null||ia===void 0?void 0:ia.needmultiply100)?pa*100:pa}),color:mae[ir]}})}),je.resize()};Object(x.useEffect)(function(){f.authorized&&q()},[p,f]),Object(x.useEffect)(function(){h&&z&&z.resize()},[h]);var se="".concat(uy,"-metric-trend");return Object(G.jsx)("div",{children:f.authorized?Object(G.jsx)("div",{className:"".concat(se,"-flow-trend-chart"),ref:M}):Object(G.jsx)(vH,{domain:n||"",onApplyAuth:_})})},ZM=function(a){var n=a.data,e=a.onApplyAuth,s=n.entityInfo,f=n.queryColumns,p=n.queryResults,h="".concat(uy,"-table"),_=f.map(function(L){var z=L.name,Y=L.nameEn,q=L.showType,se=L.dataFormatType,ye=L.dataFormat,je=L.authorized;return{dataIndex:Y,key:Y,title:z,render:function(De){return je?se==="percent"?Object(G.jsx)("div",Ee({className:"".concat(h,"-formatted-value")},{children:"".concat(KM((ye==null?void 0:ye.needmultiply100)?+De*100:De,(ye==null?void 0:ye.decimalPlaces)||2),"%")})):q==="NUMBER"?Object(G.jsx)("div",Ee({className:"".concat(h,"-formatted-value")},{children:SO(De)})):Y.includes("photo")?Object(G.jsx)("div",Ee({className:"".concat(h,"-photo")},{children:Object(G.jsx)("img",{width:40,height:40,src:De,alt:""})})):De:Object(G.jsx)(H3,{domain:(s==null?void 0:s.domainInfo.name)||"",onApplyAuth:e})}}}),M=function(L,z){return z%2!=0?"".concat(h,"-even-row"):""};return Object(G.jsx)("div",Ee({className:h},{children:Object(G.jsx)(sH.a,{pagination:p.length<=10?!1:{defaultPageSize:10,position:["bottomCenter"]},columns:_,dataSource:p,style:{width:"100%"},scroll:{x:"max-content"},rowClassName:M})}))},Mae=function(a){var n,e,s,f,p=a.data,h=a.triggerResize,_=a.onApplyAuth;a.onCheckMetricInfo;var M=p.queryColumns,L=p.queryResults,z=p.entityInfo,Y=p.chatContext,q=dH[(n=Y==null?void 0:Y.dateInfo)===null||n===void 0?void 0:n.period]||dH[0],se=(e=q.find(function(Ds){var yc;return Ds.value===((yc=Y==null?void 0:Y.dateInfo)===null||yc===void 0?void 0:yc.unit)}))===null||e===void 0?void 0:e.value,ye=Object(x.useState)(M),je=ye[0],De=ye[1],We=je.find(function(Ds){return Ds.showType==="NUMBER"}),st=Object(x.useState)((s=Y.metrics)===null||s===void 0?void 0:s[0]),dt=st[0],Mt=st[1],nn=Object(x.useState)(L),rn=nn[0],Cn=nn[1],er=Object(x.useState)(se),ir=er[0],dr=er[1],pr=Object(x.useState)(!1),ia=pr[0],pa=pr[1],Ga=je.find(function(Ds){return Ds.showType==="DATE"||Ds.type==="DATE"}),si=(Ga==null?void 0:Ga.nameEn)||"",Bi=((f=je.find(function(Ds){return Ds.showType==="CATEGORY"}))===null||f===void 0?void 0:f.nameEn)||"";Object(x.useEffect)(function(){Cn(L)},[L]);var Go=function(Ds){return He(void 0,void 0,void 0,function(){var yc,Zc,$c;return Ne(this,function(Nu){switch(Nu.label){case 0:return pa(!0),[4,cce(Ee(Ee({},Y),Ds))];case 1:return yc=Nu.sent().data,pa(!1),yc.code===200&&(De(((Zc=yc.data)===null||Zc===void 0?void 0:Zc.queryColumns)||[]),Cn((($c=yc.data)===null||$c===void 0?void 0:$c.queryResults)||[])),[2]}})})},Lo=function(Ds){dr(Ds),Go({metrics:[dt],dateInfo:Ee(Ee({},Y==null?void 0:Y.dateInfo),{unit:Ds})})},Rs=function(Ds){Mt(Ds),Go({dateInfo:Ee(Ee({},Y.dateInfo),{unit:ir||Y.dateInfo.unit}),metrics:[Ds]})};if(!We)return null;var Ns="".concat(uy,"-metric-trend");return Object(G.jsx)("div",Ee({className:Ns},{children:Object(G.jsxs)("div",Ee({className:"".concat(Ns,"-charts")},{children:[Object(G.jsx)("div",Ee({className:"".concat(Ns,"-date-options")},{children:q.map(function(Ds,yc){var Zc,$c=EE()("".concat(Ns,"-date-option"),(Zc={},Zc["".concat(Ns,"-date-active")]=Ds.value===ir,Zc["".concat(Ns,"-date-mobile")]=YM,Zc));return Object(G.jsxs)(G.Fragment,{children:[Object(G.jsxs)("div",Ee({className:$c,onClick:function(){Lo(Ds.value)}},{children:[Ds.label,Ds.value===ir&&Object(G.jsx)("div",{className:"".concat(Ns,"-active-identifier")})]}),Ds.value),yc!==q.length-1&&Object(G.jsx)("div",{className:"".concat(Ns,"-date-option-divider")})]})})})),Y.metrics.length>0&&Object(G.jsx)("div",Ee({className:"".concat(Ns,"-metric-fields")},{children:Y.metrics.map(function(Ds){var yc,Zc=EE()("".concat(Ns,"-metric-field"),(yc={},yc["".concat(Ns,"-metric-field-active")]=(dt==null?void 0:dt.bizName)===Ds.bizName&&Y.metrics.length>1,yc["".concat(Ns,"-metric-field-single")]=Y.metrics.length===1,yc));return Object(G.jsx)("div",Ee({className:Zc,onClick:function(){Y.metrics.length>1&&Rs(Ds)}},{children:Ds.name}),Ds.bizName)})})),(rn==null?void 0:rn.length)===1?Object(G.jsx)(ZM,{data:p,onApplyAuth:_}):Object(G.jsx)(cH.a,Ee({spinning:ia},{children:Object(G.jsx)(jae,{domain:z==null?void 0:z.domainInfo.name,dateColumnName:si,categoryColumnName:Bi,metricField:We,resultList:rn,triggerResize:h,onApplyAuth:_})}))]}))}))},G3=function(a){var n=a.question,e=a.followQuestions,s=a.data,f=a.isMobileMode,p=a.triggerResize,h=a.onCheckMetricInfo,_=s.queryColumns,M=s.queryResults,L=s.chatContext,z=s.entityInfo,Y=s.queryMode;if(!_||!M)return null;var q=M.length===1,se=_.find(function(st){return st.showType==="DATE"||st.type==="DATE"}),ye=_.filter(function(st){return st.showType==="CATEGORY"}),je=_.filter(function(st){return st.showType==="NUMBER"}),De=function(){return ye.length>1||Y==="ENTITY_DETAIL"||Y==="ENTITY_DIMENSION"||ye.length===1&&je.length===0?Object(G.jsx)(ZM,{data:s}):se&&je.length>0?Object(G.jsx)(Mae,{data:s,triggerResize:p,onCheckMetricInfo:h}):q?Object(G.jsx)(wae,{data:s}):Object(G.jsx)(hH,{data:s,triggerResize:p})},We="100%";return ye.length>1&&!YM&&!f&&(_.length===1?We="600px":_.length===2&&(We="1000px")),Object(G.jsx)(XM,Ee({position:"left",chatContext:L,entityInfo:z,title:n,followQuestions:e,isMobileMode:f,width:We},{children:De()}))},Pae=function(){var a="".concat(xO,"-item");return Object(G.jsx)(XM,Ee({position:"left",bubbleClassName:"".concat(a,"-typing-bubble")},{children:Object(G.jsx)(cH.a,{spinning:!0,indicator:Object(G.jsx)(vae.a,{color:gae,size:10}),className:"".concat(a,"-typing")})}))},Rae=function(a){var n=a.data,e="".concat(xO,"-item");return Object(G.jsx)(XM,Ee({position:"left",bubbleClassName:"".concat(e,"-text-bubble")},{children:Object(G.jsx)("div",Ee({className:"".concat(e,"-text")},{children:n}))}))},Dae=Object(x.createContext)({}),$3=Dae;function d0(){return d0=Object.assign?Object.assign.bind():function(a){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(a[s]=e[s])}return a},d0.apply(this,arguments)}function dy(a){if(Array.isArray(a))return a}function Iae(a,n){var e=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(e!=null){var s,f,p,h,_=[],M=!0,L=!1;try{if(p=(e=e.call(a)).next,n===0){if(Object(e)!==e)return;M=!1}else for(;!(M=(s=p.call(e)).done)&&(_.push(s.value),_.length!==n);M=!0);}catch(z){L=!0,f=z}finally{try{if(!M&&e.return!=null&&(h=e.return(),Object(h)!==h))return}finally{if(L)throw f}}return _}}function wO(a,n){(n==null||n>a.length)&&(n=a.length);for(var e=0,s=new Array(n);e<n;e++)s[e]=a[e];return s}function Nae(a,n){if(!!a){if(typeof a=="string")return wO(a,n);var e=Object.prototype.toString.call(a).slice(8,-1);if(e==="Object"&&a.constructor&&(e=a.constructor.name),e==="Map"||e==="Set")return Array.from(a);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return wO(a,n)}}function gH(){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 W3(a,n){return dy(a)||Iae(a,n)||Nae(a,n)||gH()}function TO(a){return TO=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},TO(a)}function uce(a,n){if(TO(a)!=="object"||a===null)return a;var e=a[Symbol.toPrimitive];if(e!==void 0){var s=e.call(a,n||"default");if(TO(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(a)}function mH(a){var n=uce(a,"string");return TO(n)==="symbol"?n:String(n)}function fy(a,n,e){return n=mH(n),n in a?Object.defineProperty(a,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[n]=e,a}function Lae(a,n){if(a==null)return{};var e={},s=Object.keys(a),f,p;for(p=0;p<s.length;p++)f=s[p],!(n.indexOf(f)>=0)&&(e[f]=a[f]);return e}function QM(a,n){if(a==null)return{};var e=Lae(a,n),s,f;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(f=0;f<p.length;f++)s=p[f],!(n.indexOf(s)>=0)&&(!Object.prototype.propertyIsEnumerable.call(a,s)||(e[s]=a[s]))}return e}function im(a,n){_H(a)&&(a="100%");var e=Fae(a);return a=n===360?a:Math.min(n,Math.max(0,parseFloat(a))),e&&(a=parseInt(String(a*n),10)/100),Math.abs(a-n)<1e-6?1:(n===360?a=(a<0?a%n+n:a%n)/parseFloat(String(n)):a=a%n/parseFloat(String(n)),a)}function _H(a){return typeof a=="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function Fae(a){return typeof a=="string"&&a.indexOf("%")!==-1}function yH(a){return a=parseFloat(a),(isNaN(a)||a<0||a>1)&&(a=1),a}function Sw(a){return a<=1?"".concat(Number(a)*100,"%"):a}function ww(a){return a.length===1?"0"+a:String(a)}function Uae(a,n,e){return{r:im(a,255)*255,g:im(n,255)*255,b:im(e,255)*255}}function K3(a,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?a+(n-a)*(6*e):e<1/2?n:e<2/3?a+(n-a)*(2/3-e)*6:a}function Bae(a,n,e){var s,f,p;if(a=im(a,360),n=im(n,100),e=im(e,100),n===0)f=e,p=e,s=e;else{var h=e<.5?e*(1+n):e+n-e*n,_=2*e-h;s=K3(_,h,a+1/3),f=K3(_,h,a),p=K3(_,h,a-1/3)}return{r:s*255,g:f*255,b:p*255}}function bH(a,n,e){a=im(a,255),n=im(n,255),e=im(e,255);var s=Math.max(a,n,e),f=Math.min(a,n,e),p=0,h=s,_=s-f,M=s===0?0:_/s;if(s===f)p=0;else{switch(s){case a:p=(n-e)/_+(n<e?6:0);break;case n:p=(e-a)/_+2;break;case e:p=(a-n)/_+4;break}p/=6}return{h:p,s:M,v:h}}function Y3(a,n,e){a=im(a,360)*6,n=im(n,100),e=im(e,100);var s=Math.floor(a),f=a-s,p=e*(1-n),h=e*(1-f*n),_=e*(1-(1-f)*n),M=s%6,L=[e,h,p,p,_,e][M],z=[_,e,e,h,p,p][M],Y=[p,p,_,e,e,h][M];return{r:L*255,g:z*255,b:Y*255}}function OH(a,n,e,s){var f=[ww(Math.round(a).toString(16)),ww(Math.round(n).toString(16)),ww(Math.round(e).toString(16))];return s&&f[0].startsWith(f[0].charAt(1))&&f[1].startsWith(f[1].charAt(1))&&f[2].startsWith(f[2].charAt(1))?f[0].charAt(0)+f[1].charAt(0)+f[2].charAt(0):f.join("")}function f0(a){return Am(a)/255}function Am(a){return parseInt(a,16)}var X3={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Tw(a){var n={r:0,g:0,b:0},e=1,s=null,f=null,p=null,h=!1,_=!1;return typeof a=="string"&&(a=zae(a)),typeof a=="object"&&(vy(a.r)&&vy(a.g)&&vy(a.b)?(n=Uae(a.r,a.g,a.b),h=!0,_=String(a.r).substr(-1)==="%"?"prgb":"rgb"):vy(a.h)&&vy(a.s)&&vy(a.v)?(s=Sw(a.s),f=Sw(a.v),n=Y3(a.h,s,f),h=!0,_="hsv"):vy(a.h)&&vy(a.s)&&vy(a.l)&&(s=Sw(a.s),p=Sw(a.l),n=Bae(a.h,s,p),h=!0,_="hsl"),Object.prototype.hasOwnProperty.call(a,"a")&&(e=a.a)),e=yH(e),{ok:h,format:a.format||_,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:e}}var CH="[-\\+]?\\d+%?",Vae="[-\\+]?\\d*\\.\\d+%?",py="(?:".concat(Vae,")|(?:").concat(CH,")"),qM="[\\s|\\(]+(".concat(py,")[,|\\s]+(").concat(py,")[,|\\s]+(").concat(py,")\\s*\\)?"),EH="[\\s|\\(]+(".concat(py,")[,|\\s]+(").concat(py,")[,|\\s]+(").concat(py,")[,|\\s]+(").concat(py,")\\s*\\)?"),s_={CSS_UNIT:new RegExp(py),rgb:new RegExp("rgb"+qM),rgba:new RegExp("rgba"+EH),hsl:new RegExp("hsl"+qM),hsla:new RegExp("hsla"+EH),hsv:new RegExp("hsv"+qM),hsva:new RegExp("hsva"+EH),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 zae(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var n=!1;if(X3[a])a=X3[a],n=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=s_.rgb.exec(a);return e?{r:e[1],g:e[2],b:e[3]}:(e=s_.rgba.exec(a),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=s_.hsl.exec(a),e?{h:e[1],s:e[2],l:e[3]}:(e=s_.hsla.exec(a),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=s_.hsv.exec(a),e?{h:e[1],s:e[2],v:e[3]}:(e=s_.hsva.exec(a),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=s_.hex8.exec(a),e?{r:Am(e[1]),g:Am(e[2]),b:Am(e[3]),a:f0(e[4]),format:n?"name":"hex8"}:(e=s_.hex6.exec(a),e?{r:Am(e[1]),g:Am(e[2]),b:Am(e[3]),format:n?"name":"hex"}:(e=s_.hex4.exec(a),e?{r:Am(e[1]+e[1]),g:Am(e[2]+e[2]),b:Am(e[3]+e[3]),a:f0(e[4]+e[4]),format:n?"name":"hex8"}:(e=s_.hex3.exec(a),e?{r:Am(e[1]+e[1]),g:Am(e[2]+e[2]),b:Am(e[3]+e[3]),format:n?"name":"hex"}:!1)))))))))}function vy(a){return Boolean(s_.CSS_UNIT.exec(String(a)))}var Aw=2,xH=.16,Hae=.05,SH=.05,Gae=.15,wH=5,TH=4,$ae=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function AH(a){var n=a.r,e=a.g,s=a.b,f=bH(n,e,s);return{h:f.h*360,s:f.s,v:f.v}}function eP(a){var n=a.r,e=a.g,s=a.b;return"#".concat(OH(n,e,s,!1))}function kH(a,n,e){var s=e/100,f={r:(n.r-a.r)*s+a.r,g:(n.g-a.g)*s+a.g,b:(n.b-a.b)*s+a.b};return f}function jH(a,n,e){var s;return Math.round(a.h)>=60&&Math.round(a.h)<=240?s=e?Math.round(a.h)-Aw*n:Math.round(a.h)+Aw*n:s=e?Math.round(a.h)+Aw*n:Math.round(a.h)-Aw*n,s<0?s+=360:s>=360&&(s-=360),s}function MH(a,n,e){if(a.h===0&&a.s===0)return a.s;var s;return e?s=a.s-xH*n:n===TH?s=a.s+xH:s=a.s+Hae*n,s>1&&(s=1),e&&n===wH&&s>.1&&(s=.1),s<.06&&(s=.06),Number(s.toFixed(2))}function PH(a,n,e){var s;return e?s=a.v+SH*n:s=a.v-Gae*n,s>1&&(s=1),Number(s.toFixed(2))}function tP(a){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],s=Tw(a),f=wH;f>0;f-=1){var p=AH(s),h=eP(Tw({h:jH(p,f,!0),s:MH(p,f,!0),v:PH(p,f,!0)}));e.push(h)}e.push(eP(s));for(var _=1;_<=TH;_+=1){var M=AH(s),L=eP(Tw({h:jH(M,_),s:MH(M,_),v:PH(M,_)}));e.push(L)}return n.theme==="dark"?$ae.map(function(z){var Y=z.index,q=z.opacity,se=eP(kH(Tw(n.backgroundColor||"#141414"),Tw(e[Y]),q*100));return se}):e}var J3={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},nP={},Z3={};Object.keys(J3).forEach(function(a){nP[a]=tP(J3[a]),nP[a].primary=nP[a][5],Z3[a]=tP(J3[a],{theme:"dark",backgroundColor:"#141414"}),Z3[a].primary=Z3[a][5]});var Wae=nP.blue;function RH(a,n){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);n&&(s=s.filter(function(f){return Object.getOwnPropertyDescriptor(a,f).enumerable})),e.push.apply(e,s)}return e}function p0(a){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?RH(Object(e),!0).forEach(function(s){fy(a,s,e[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(e)):RH(Object(e)).forEach(function(s){Object.defineProperty(a,s,Object.getOwnPropertyDescriptor(e,s))})}return a}var Q3={},Kae=[],Yae=function(n){Kae.push(n)};function Xae(a,n){if(!1)var e}function Jae(a,n){if(!1)var e}function DH(){Q3={}}function IH(a,n,e){!n&&!Q3[e]&&(a(!1,e),Q3[e]=!0)}function kw(a,n){IH(Xae,a,n)}function Zae(a,n){IH(Jae,a,n)}kw.preMessage=Yae,kw.resetWarned=DH,kw.noteOnce=Zae;function Qae(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function qae(a,n){if(!a)return!1;if(a.contains)return a.contains(n);for(var e=n;e;){if(e===a)return!0;e=e.parentNode}return!1}var q3="data-rc-order",NH="rc-util-key",e4=new Map;function rP(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=a.mark;return n?n.startsWith("data-")?n:"data-".concat(n):NH}function t4(a){if(a.attachTo)return a.attachTo;var n=document.querySelector("head");return n||document.body}function n4(a){return a==="queue"?"prependQueue":a?"prepend":"append"}function r4(a){return Array.from((e4.get(a)||a).children).filter(function(n){return n.tagName==="STYLE"})}function LH(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Qae())return null;var e=n.csp,s=n.prepend,f=document.createElement("style");f.setAttribute(q3,n4(s)),e!=null&&e.nonce&&(f.nonce=e==null?void 0:e.nonce),f.innerHTML=a;var p=t4(n),h=p.firstChild;if(s){if(s==="queue"){var _=r4(p).filter(function(M){return["prepend","prependQueue"].includes(M.getAttribute(q3))});if(_.length)return p.insertBefore(f,_[_.length-1].nextSibling),f}p.insertBefore(f,h)}else p.appendChild(f);return f}function eie(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=t4(n);return r4(e).find(function(s){return s.getAttribute(rP(n))===a})}function tie(a,n){var e=e4.get(a);if(!e||!qae(document,e)){var s=LH("",n),f=s.parentNode;e4.set(a,f),a.removeChild(s)}}function FH(a,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=t4(e);tie(s,e);var f=eie(n,e);if(f){var p,h;if((p=e.csp)!==null&&p!==void 0&&p.nonce&&f.nonce!==((h=e.csp)===null||h===void 0?void 0:h.nonce)){var _;f.nonce=(_=e.csp)===null||_===void 0?void 0:_.nonce}return f.innerHTML!==a&&(f.innerHTML=a),f}var M=LH(a,e);return M.setAttribute(rP(e),n),M}function aP(a){var n;return a==null||(n=a.getRootNode)===null||n===void 0?void 0:n.call(a)}function nie(a){return aP(a)!==(a==null?void 0:a.ownerDocument)}function UH(a){return nie(a)?aP(a):null}function a4(a,n){kw(a,"[@ant-design/icons] ".concat(n))}function BH(a){return TO(a)==="object"&&typeof a.name=="string"&&typeof a.theme=="string"&&(TO(a.icon)==="object"||typeof a.icon=="function")}function i4(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(a).reduce(function(n,e){var s=a[e];switch(e){case"class":n.className=s,delete n.class;break;default:n[e]=s}return n},{})}function o4(a,n,e){return e?T.a.createElement(a.tag,p0(p0({key:n},i4(a.attrs)),e),(a.children||[]).map(function(s,f){return o4(s,"".concat(n,"-").concat(a.tag,"-").concat(f))})):T.a.createElement(a.tag,p0({key:n},i4(a.attrs)),(a.children||[]).map(function(s,f){return o4(s,"".concat(n,"-").concat(a.tag,"-").concat(f))}))}function VH(a){return tP(a)[0]}function zH(a){return a?Array.isArray(a)?a:[a]:[]}var rie={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},aie=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,HH=function(n){var e=Object(x.useContext)($3),s=e.csp,f=e.prefixCls,p=aie;f&&(p=p.replace(/anticon/g,f)),Object(x.useEffect)(function(){var h=n.current,_=UH(h);FH(p,"@ant-design-icons",{prepend:!0,csp:s,attachTo:_})},[])},iie=["icon","className","onClick","style","primaryColor","secondaryColor"],jw={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function oie(a){var n=a.primaryColor,e=a.secondaryColor;jw.primaryColor=n,jw.secondaryColor=e||VH(n),jw.calculated=!!e}function sie(){return p0({},jw)}var iP=function(n){var e=n.icon,s=n.className,f=n.onClick,p=n.style,h=n.primaryColor,_=n.secondaryColor,M=QM(n,iie),L=x.useRef(),z=jw;if(h&&(z={primaryColor:h,secondaryColor:_||VH(h)}),HH(L),a4(BH(e),"icon should be icon definiton, but got ".concat(e)),!BH(e))return null;var Y=e;return Y&&typeof Y.icon=="function"&&(Y=p0(p0({},Y),{},{icon:Y.icon(z.primaryColor,z.secondaryColor)})),o4(Y.icon,"svg-".concat(Y.name),p0(p0({className:s,onClick:f,style:p,"data-icon":Y.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},M),{},{ref:L}))};iP.displayName="IconReact",iP.getTwoToneColors=sie,iP.setTwoToneColors=oie;var s4=iP;function c4(a){var n=zH(a),e=W3(n,2),s=e[0],f=e[1];return s4.setTwoToneColors({primaryColor:s,secondaryColor:f})}function cie(){var a=s4.getTwoToneColors();return a.calculated?[a.primaryColor,a.secondaryColor]:a.primaryColor}var lie=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];c4(Wae.primary);var oP=x.forwardRef(function(a,n){var e,s=a.className,f=a.icon,p=a.spin,h=a.rotate,_=a.tabIndex,M=a.onClick,L=a.twoToneColor,z=QM(a,lie),Y=x.useContext($3),q=Y.prefixCls,se=q===void 0?"anticon":q,ye=Y.rootClassName,je=EE()(ye,se,(e={},fy(e,"".concat(se,"-").concat(f.name),!!f.name),fy(e,"".concat(se,"-spin"),!!p||f.name==="loading"),e),s),De=_;De===void 0&&M&&(De=-1);var We=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,st=zH(L),dt=W3(st,2),Mt=dt[0],nn=dt[1];return x.createElement("span",d0({role:"img","aria-label":f.name},z,{ref:n,tabIndex:De,onClick:M,className:je}),x.createElement(s4,{icon:f,primaryColor:Mt,secondaryColor:nn,style:We}))});oP.displayName="AntdIcon",oP.getTwoToneColor=cie,oP.setTwoToneColor=c4;var l4=oP,uie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},die=uie,fie=function(n,e){return x.createElement(l4,d0({},n,{ref:e,icon:die}))},GH=x.forwardRef(fie),$H={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},u4=$H,pie=function(n,e){return x.createElement(l4,d0({},n,{ref:e,icon:u4}))},WH=x.forwardRef(pie),vie={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"},KH=vie,YH=function(n,e){return x.createElement(l4,d0({},n,{ref:e,icon:KH}))},hie=x.forwardRef(YH),ip={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var XH;function JH(){if(XH)return ip;XH=1;var a=typeof Symbol=="function"&&Symbol.for,n=a?Symbol.for("react.element"):60103,e=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,f=a?Symbol.for("react.strict_mode"):60108,p=a?Symbol.for("react.profiler"):60114,h=a?Symbol.for("react.provider"):60109,_=a?Symbol.for("react.context"):60110,M=a?Symbol.for("react.async_mode"):60111,L=a?Symbol.for("react.concurrent_mode"):60111,z=a?Symbol.for("react.forward_ref"):60112,Y=a?Symbol.for("react.suspense"):60113,q=a?Symbol.for("react.suspense_list"):60120,se=a?Symbol.for("react.memo"):60115,ye=a?Symbol.for("react.lazy"):60116,je=a?Symbol.for("react.block"):60121,De=a?Symbol.for("react.fundamental"):60117,We=a?Symbol.for("react.responder"):60118,st=a?Symbol.for("react.scope"):60119;function dt(nn){if(typeof nn=="object"&&nn!==null){var rn=nn.$$typeof;switch(rn){case n:switch(nn=nn.type,nn){case M:case L:case s:case p:case f:case Y:return nn;default:switch(nn=nn&&nn.$$typeof,nn){case _:case z:case ye:case se:case h:return nn;default:return rn}}case e:return rn}}}function Mt(nn){return dt(nn)===L}return ip.AsyncMode=M,ip.ConcurrentMode=L,ip.ContextConsumer=_,ip.ContextProvider=h,ip.Element=n,ip.ForwardRef=z,ip.Fragment=s,ip.Lazy=ye,ip.Memo=se,ip.Portal=e,ip.Profiler=p,ip.StrictMode=f,ip.Suspense=Y,ip.isAsyncMode=function(nn){return Mt(nn)||dt(nn)===M},ip.isConcurrentMode=Mt,ip.isContextConsumer=function(nn){return dt(nn)===_},ip.isContextProvider=function(nn){return dt(nn)===h},ip.isElement=function(nn){return typeof nn=="object"&&nn!==null&&nn.$$typeof===n},ip.isForwardRef=function(nn){return dt(nn)===z},ip.isFragment=function(nn){return dt(nn)===s},ip.isLazy=function(nn){return dt(nn)===ye},ip.isMemo=function(nn){return dt(nn)===se},ip.isPortal=function(nn){return dt(nn)===e},ip.isProfiler=function(nn){return dt(nn)===p},ip.isStrictMode=function(nn){return dt(nn)===f},ip.isSuspense=function(nn){return dt(nn)===Y},ip.isValidElementType=function(nn){return typeof nn=="string"||typeof nn=="function"||nn===s||nn===L||nn===p||nn===f||nn===Y||nn===q||typeof nn=="object"&&nn!==null&&(nn.$$typeof===ye||nn.$$typeof===se||nn.$$typeof===h||nn.$$typeof===_||nn.$$typeof===z||nn.$$typeof===De||nn.$$typeof===We||nn.$$typeof===st||nn.$$typeof===je)},ip.typeOf=dt,ip}var d4={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ZH;function gie(){return ZH||(ZH=1),d4}JH();function QH(a,n,e){var s=x.useRef({});return(!("value"in s.current)||e(s.current.condition,n))&&(s.current.value=a(),s.current.condition=n),s.current.value}function qH(a,n){typeof a=="function"?a(n):TO(a)==="object"&&a&&"current"in a&&(a.current=n)}function dce(){for(var a=arguments.length,n=new Array(a),e=0;e<a;e++)n[e]=arguments[e];var s=n.filter(function(f){return f});return s.length<=1?s[0]:function(f){n.forEach(function(p){qH(p,f)})}}function mie(){for(var a=arguments.length,n=new Array(a),e=0;e<a;e++)n[e]=arguments[e];return QH(function(){return dce.apply(void 0,n)},n,function(s,f){return s.length===f.length&&s.every(function(p,h){return p===f[h]})})}var _ie=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],eG=x.forwardRef(function(a,n){var e=a.className,s=a.component,f=a.viewBox,p=a.spin,h=a.rotate,_=a.tabIndex,M=a.onClick,L=a.children,z=QM(a,_ie),Y=x.useRef(),q=mie(Y,n);a4(Boolean(s||L),"Should have `component` prop or `children`."),HH(Y);var se=x.useContext($3),ye=se.prefixCls,je=ye===void 0?"anticon":ye,De=se.rootClassName,We=EE()(De,je,e),st=EE()(fy({},"".concat(je,"-spin"),!!p)),dt=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,Mt=p0(p0({},rie),{},{className:st,style:dt,viewBox:f});f||delete Mt.viewBox;var nn=function(){return s?x.createElement(s,Mt,L):L?(a4(Boolean(f)||x.Children.count(L)===1&&x.isValidElement(L)&&x.Children.only(L).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),x.createElement("svg",d0({},Mt,{viewBox:f}),L)):null},rn=_;return rn===void 0&&M&&(rn=-1),x.createElement("span",d0({role:"img"},z,{ref:q,tabIndex:rn,onClick:M,className:We}),nn())});eG.displayName="AntdIcon";var yie=eG,bie=["type","children"],tG=new Set;function Oie(a){return Boolean(typeof a=="string"&&a.length&&!tG.has(a))}function sP(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=a[n];if(Oie(e)){var s=document.createElement("script");s.setAttribute("src",e),s.setAttribute("data-namespace",e),a.length>n+1&&(s.onload=function(){sP(a,n+1)},s.onerror=function(){sP(a,n+1)}),tG.add(e),document.body.appendChild(s)}}function Cie(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=a.scriptUrl,e=a.extraCommonProps,s=e===void 0?{}:e;n&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(n)?sP(n.reverse()):sP([n]));var f=x.forwardRef(function(p,h){var _=p.type,M=p.children,L=QM(p,bie),z=null;return p.type&&(z=x.createElement("use",{xlinkHref:"#".concat(_)})),M&&(z=M),x.createElement(yie,d0({},s,L,{ref:h}),z)});return f.displayName="Iconfont",f}var Eie=function(a){a.data;var n=a.isLastMessage,e=a.isMobileMode,s="".concat(uy,"-tools"),f=function(){wE.default.info("\u6B63\u5728\u5F00\u53D1\u4E2D\uFF0C\u656C\u8BF7\u671F\u5F85")},p=function(){wE.default.info("\u6B63\u5728\u5F00\u53D1\u4E2D\uFF0C\u656C\u8BF7\u671F\u5F85")},h=function(){wE.default.info("\u6B63\u5728\u5F00\u53D1\u4E2D\uFF0C\u656C\u8BF7\u671F\u5F85")},_=function(){wE.default.info("\u6B63\u5728\u5F00\u53D1\u4E2D\uFF0C\u656C\u8BF7\u671F\u5F85")},M=n&&Object(G.jsxs)("div",Ee({className:"".concat(s,"-feedback")},{children:[Object(G.jsx)("div",{children:"\u8FD9\u4E2A\u56DE\u7B54\u6B63\u786E\u5417\uFF1F"}),Object(G.jsx)(WH,{className:"".concat(s,"-like"),onClick:h}),Object(G.jsx)(GH,{className:"".concat(s,"-dislike"),onClick:_})]}));return Object(G.jsx)("div",Ee({className:s},{children:!YM&&!e&&Object(G.jsxs)(G.Fragment,{children:[Object(G.jsx)(GM.a,Ee({shape:"round",onClick:f},{children:"\u5207\u6362\u56FE\u8868"})),Object(G.jsx)(GM.a,Ee({shape:"round",onClick:p},{children:"\u52A0\u5165\u770B\u677F"})),M]})}))},xie=function(a){var n=a.description,e=n===void 0?"":n,s=a.basicInfoList,f="".concat(uy,"-semantic-detail");return Object(G.jsxs)(G.Fragment,{children:[Object(G.jsx)("div",Ee({className:"".concat(f,"-info-bar")},{children:Object(G.jsx)("div",Ee({className:"".concat(f,"-main-entity-info")},{children:s.map(function(p){return Object(G.jsxs)("div",Ee({className:"".concat(f,"-info-item")},{children:[Object(G.jsxs)("div",Ee({className:"".concat(f,"-info-name")},{children:[p.name,"\uFF1A"]})),Object(G.jsx)("div",Ee({className:"".concat(f,"-info-value")},{children:p.value}))]}))})}))})),e&&Object(G.jsx)(G.Fragment,{children:Object(G.jsxs)(xw.a,{children:[Object(G.jsx)(l0.a,Ee({flex:"0 0 52px"},{children:Object(G.jsx)("div",Ee({className:"".concat(f,"-description")},{children:" \u53E3\u5F84: "}))})),Object(G.jsx)(l0.a,Ee({flex:"1 1 auto"},{children:Object(G.jsx)("div",Ee({className:"".concat(f,"-description")},{children:e}))}))]})})]})},f4=YM?3:10,Sie=function(a){var n=a.classId,e=a.uniqueId,s=a.onSelect,f=Object(x.useState)([]),p=f[0],h=f[1],_=Object(x.useState)(0),M=_[0],L=_[1],z="".concat(uy,"-semantic-detail"),Y=function(){return He(void 0,void 0,void 0,function(){var ye,je,De,We;return Ne(this,function(st){switch(st.label){case 0:return[4,Aae({classId:n,uniqueId:e})];case 1:return ye=st.sent().data,je=ye.code,De=ye.data,We=ye.msg,je==="0"?h(De.map(function(dt){return dt.name})):wE.default.error(We),[2]}})})};Object(x.useEffect)(function(){Y()},[]);var q=function(){var ye=Math.ceil(p.length/f4);L((M+1)%ye)},se=p.slice(M*f4,(M+1)*f4);return Object(G.jsx)(G.Fragment,{children:se.length>0&&Object(G.jsx)("div",Ee({className:"".concat(z,"-content-section")},{children:Object(G.jsxs)(xw.a,{children:[Object(G.jsx)(l0.a,Ee({flex:"0 0 80px"},{children:Object(G.jsx)("div",Ee({className:"".concat(z,"-label")},{children:" \u5E38\u7528\u7EF4\u5EA6\uFF1A"}))})),Object(G.jsx)(l0.a,Ee({flex:"1 1",className:"".concat(z,"-content-col")},{children:Object(G.jsx)("div",Ee({className:"".concat(z,"-content-col-box")},{children:se.map(function(ye,je){return Object(G.jsxs)(G.Fragment,{children:[Object(G.jsx)("span",Ee({className:"".concat(z,"-section-item"),onClick:function(){s==null||s(ye)}},{children:ye})),je<se.length-1&&"\u3001"]})})}))})),Object(G.jsx)(l0.a,Ee({flex:"0 1 50px"},{children:Object(G.jsxs)("div",Ee({className:"".concat(z,"-reload"),onClick:function(){q()}},{children:[Object(G.jsx)(hie,{className:"".concat(z,"-reload-icon")}),!YM&&Object(G.jsx)("div",Ee({className:"".concat(z,"-reload-label")},{children:"\u6362\u4E00\u6279"}))]}))}))]})}))})},wie=function(a){var n=a.classId,e=a.metricName,s=a.onSelect,f=Object(x.useState)(!1),p=f[0],h=f[1],_=Object(x.useState)([]),M=_[0],L=_[1],z="".concat(uy,"-semantic-detail"),Y=function(){return He(void 0,void 0,void 0,function(){var q,se,ye,je;return Ne(this,function(De){switch(De.label){case 0:return[4,kae({classId:n,metricName:e})];case 1:return q=De.sent().data,se=q.code,ye=q.data,je=q.msg,se==="0"?L(ye):wE.default.error(je),[2]}})})};return Object(x.useEffect)(function(){Y()},[]),Object(G.jsxs)("div",Ee({className:"".concat(z,"-recommend-questions")},{children:[Object(G.jsx)("div",Ee({className:"".concat(z,"-header")},{children:Object(G.jsxs)(xw.a,{children:[Object(G.jsx)(l0.a,Ee({flex:"0 0 85px"},{children:Object(G.jsx)("div",Ee({className:"".concat(z,"-label")},{children:" \u5927\u5BB6\u90FD\u5728\u95EE: "}))})),Object(G.jsx)(l0.a,Ee({flex:"1 1",className:"".concat(z,"-content-col")},{children:!p&&Object(G.jsx)("div",Ee({className:"".concat(z,"-content-col-box")},{children:M.slice(0,5).map(function(q,se){var ye=q.question;return Object(G.jsxs)(G.Fragment,{children:[se!==0&&"\u3001",Object(G.jsx)("span",Ee({className:"".concat(z,"-question"),onClick:function(){s==null||s(ye)}},{children:Object(G.jsx)("span",{dangerouslySetInnerHTML:{__html:ye}})}),ye)]})})}))})),Object(G.jsx)(l0.a,Ee({flex:"0 1 30px"},{children:p?Object(G.jsx)("span",Ee({className:"".concat(z,"-more"),onClick:function(){h(!1)}},{children:"\u6536\u8D77"})):Object(G.jsx)("span",Ee({onClick:function(){h(!0)},className:"".concat(z,"-more")},{children:"\u66F4\u591A"}))}))]})})),p&&Object(G.jsx)("div",Ee({className:"".concat(z,"-recommend-questions-content")},{children:Object(G.jsx)("div",Ee({className:"".concat(z,"-questions")},{children:M.map(function(q){var se=q.question;return Object(G.jsx)("div",Ee({className:"".concat(z,"-question"),onClick:function(){s==null||s(se)}},{children:Object(G.jsx)("span",{dangerouslySetInnerHTML:{__html:se}})}),se)})}))}))]}))},p4=function(a){var n=a.infoType,e=n===void 0?o_.METRIC:n;return Object(G.jsx)(lH.a,Ee({color:e===o_.DIMENSION||e===o_.DOMAIN?"blue":e===o_.VALUE?"geekblue":"orange"},{children:hae[e]}))},Tie=function(a){var n=a.dataSource,e=a.onDimensionSelect,s=n.name,f=n.nameEn,p=n.createdBy,h=n.description,_=n.className,M=n.classId,L=n.semanticInfoType,z="".concat(uy,"-semantic-detail");return Object(G.jsx)(XM,Ee({position:"left",width:"100%"},{children:Object(G.jsxs)("div",{children:[Object(G.jsx)("div",{children:Object(G.jsxs)(xw.a,{children:[Object(G.jsx)(l0.a,Ee({flex:"1"},{children:Object(G.jsx)(fae.b,Ee({size:20},{children:Object(G.jsx)("span",Ee({className:"".concat(z,"-title")},{children:"\u6307\u6807\u8BE6\u60C5: ".concat(s)}))}))})),Object(G.jsx)(l0.a,Ee({flex:"0 1 40px"},{children:Object(G.jsx)(p4,{infoType:L})}))]})}),Object(G.jsx)(xie,{description:h,basicInfoList:[{name:"\u4E3B\u9898\u57DF",value:_},{name:"\u521B\u5EFA\u4EBA",value:p}]}),Object(G.jsx)(uH.a,{style:{margin:"12px 0 16px 0px"}}),Object(G.jsx)(Sie,{classId:M,uniqueId:f,onSelect:e}),Object(G.jsx)(uH.a,{style:{margin:"6px 0 12px 0px"}}),Object(G.jsx)(wie,{classId:M,metricName:s,onSelect:e})]})}))},v4=Cie({scriptUrl:"//at.alicdn.com/t/c/font_4120566_hsbqfckf8tl.js"}),Aie=function(a){var n=a.msg,e=a.followQuestions,s=a.conversationId,f=a.domainId,p=a.isLastMessage,h=a.isMobileMode,_=a.triggerResize,M=a.msgData,L=a.onMsgDataLoaded,z=a.onSelectSuggestion,Y=a.onUpdateMessageScroll,q=Object(x.useState)(),se=q[0],ye=q[1],je=Object(x.useState)(!1),De=je[0],We=je[1],st=Object(x.useState)([]),dt=st[0],Mt=st[1],nn=Object(x.useState)(""),rn=nn[0],Cn=nn[1],er=function(ia){if(ia.code===401||ia.code===412)return Cn(ia.msg),!1;if(ia.code!==200)return Cn(fH),!1;var pa=ia.data||{},Ga=pa.queryColumns,si=pa.queryResults,Bi=pa.queryState,Go=pa.queryMode;return Bi!==u0.NORMAL&&Bi!==u0.EMPTY?(Cn(_ae[Bi||u0.INVALID]),!1):Ga&&Ga.length>0&&si||Go==="INSTRUCTION"?(ye(ia.data),Cn(""),!0):(Cn(fH),!1)},ir=function(){return He(void 0,void 0,void 0,function(){var ia;return Ne(this,function(pa){switch(pa.label){case 0:return We(!0),[4,sce(n,s,f)];case 1:return ia=pa.sent(),er(ia.data),L&&L(ia.data.data),We(!1),[2]}})})};Object(x.useEffect)(function(){se===void 0&&(M?er({code:200,data:M,msg:"success"}):n&&ir())},[n,M]);var dr="".concat(xO,"-item");if(De)return Object(G.jsxs)("div",Ee({className:dr},{children:[Object(G.jsx)(v4,{type:"icon-zhinengsuanfa",className:"".concat(dr,"-avatar")}),Object(G.jsx)(Pae,{})]}));if(rn)return Object(G.jsxs)("div",Ee({className:dr},{children:[Object(G.jsx)(v4,{type:"icon-zhinengsuanfa",className:"".concat(dr,"-avatar")}),Object(G.jsx)(Rae,{data:rn})]}));if(!se||se.queryMode==="INSTRUCTION")return null;var pr=function(ia){Mt(mt(mt([],dt,!0),[ia],!1)),Y&&Y()};return Object(G.jsxs)("div",Ee({className:dr},{children:[Object(G.jsx)(v4,{type:"icon-zhinengsuanfa",className:"".concat(dr,"-avatar")}),Object(G.jsxs)("div",Ee({className:"".concat(dr,"-content")},{children:[Object(G.jsx)(G3,{question:n,followQuestions:e,data:se,isMobileMode:h,triggerResize:_,onCheckMetricInfo:pr}),Object(G.jsx)(Eie,{data:se,isLastMessage:p,isMobileMode:h}),dt.length>0&&Object(G.jsx)("div",Ee({className:"".concat(dr,"-metric-info-list")},{children:dt.map(function(ia){return Object(G.jsx)(Tie,{dataSource:ia,onDimensionSelect:function(pa){z&&z(pa)}})})}))]}))]}))},hg;(function(a){a.TEXT="text",a.QUESTION="question",a.NO_PERMISSION="no_permission",a.SEMANTIC_DETAIL="semantic_detail",a.INSTRUCTION="INSTRUCTION"})(hg||(hg={}));var cP;(function(a){a.INTERPRET="interpret"})(cP||(cP={}));var kie=l("p67U"),om=l.n(kie),jie=function(n){var e=n.id,s=n.chatId,f=n.messageList,p=n.miniProgramLoading,h=n.isMobileMode,_=n.onClickMessageContainer,M=n.onMsgDataLoaded,L=n.onSelectSuggestion,z=n.onUpdateMessageScroll,Y=Object(x.useState)(!1),q=Object(y.a)(Y,2),se=q[0],ye=q[1],je=Object(x.useCallback)(function(){ye(!0),setTimeout(function(){ye(!1)},0)},[]);Object(x.useEffect)(function(){return window.addEventListener("resize",je),function(){window.removeEventListener("resize",je)}},[]);var De=B()(om.a.messageList,Object(O.a)({},om.a.miniProgramLoading,p)),We=function(dt){for(var Mt=[],nn=f[dt],rn=nn.msgData,Cn=f.slice(0,dt).reverse(),er=0;er<Cn.length;er++){var ir,dr,pr,ia,pa,Ga,si=Cn[er],Bi=(ir=si.msgData)===null||ir===void 0||(dr=ir.chatContext)===null||dr===void 0?void 0:dr.domainId,Go=(pr=si.msgData)===null||pr===void 0||(ia=pr.entityInfo)===null||ia===void 0?void 0:ia.entityId,Lo=rn==null||(pa=rn.chatContext)===null||pa===void 0?void 0:pa.domainId,Rs=rn==null||(Ga=rn.entityInfo)===null||Ga===void 0?void 0:Ga.entityId;if((si.type===hg.QUESTION||si.type===hg.INSTRUCTION)&&!!Lo&&Bi===Lo&&Go===Rs&&si.msg)Mt.push(si.msg);else break}return Mt};return Object(G.jsxs)("div",{id:e,className:om.a.messageContainer,onClick:_,children:[p&&Object(G.jsx)(N.a,{className:om.a.messageLoading,paragraph:{rows:5}}),Object(G.jsx)("div",{className:De,children:f.map(function(st,dt){var Mt=st.id,nn=st.domainId,rn=st.type,Cn=st.msg,er=st.msgValue,ir=st.identityMsg,dr=st.msgData,pr=We(dt);return Object(G.jsxs)("div",{id:"".concat(Mt),className:om.a.messageItem,children:[rn===hg.TEXT&&Object(G.jsx)(ge,{position:"left",data:Cn}),rn===hg.QUESTION&&Object(G.jsxs)(G.Fragment,{children:[Object(G.jsx)(ge,{position:"right",data:Cn}),ir&&Object(G.jsx)(ge,{position:"left",data:ir}),Object(G.jsx)(Aie,{msg:er||Cn||"",followQuestions:pr,msgData:dr,conversationId:s,domainId:nn,isLastMessage:dt===f.length-1,isMobileMode:h,triggerResize:se,onMsgDataLoaded:function(pa){M(pa,Mt)},onSelectSuggestion:L,onUpdateMessageScroll:z})]})]},Mt)})})]})};function Mie(a,n){return!!(a.id===n.id&&Object(me.isEqual)(a.messageList,n.messageList)&&a.miniProgramLoading===n.miniProgramLoading)}var Pie=Object(x.memo)(jie,Mie),Mw="/api";function Rie(a){return Object(j.f)("".concat(Mw,"/chat/manage/save?chatName=").concat(a),{method:"POST"})}function nG(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object(j.f)("".concat(Mw,"/chat/manage/updateChatName?chatName=").concat(a,"&chatId=").concat(n),{method:"POST"})}function Die(a){return Object(j.f)("".concat(Mw,"/chat/manage/delete?chatId=").concat(a),{method:"POST"})}function Iie(){return Object(j.f)("".concat(Mw,"/chat/manage/getAll"))}function Nie(){return Object(j.f)("".concat(Mw,"/chat/conf/domainList/view"),{method:"GET",skipErrorHandler:!0})}var h4=function(n,e){return h4=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(s[p]=f[p])},h4(n,e)};function Lie(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");h4(a,n);function e(){this.constructor=a}a.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var Pw=function(){return Pw=Object.assign||function(e){for(var s,f=1,p=arguments.length;f<p;f++){s=arguments[f];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(e[h]=s[h])}return e},Pw.apply(this,arguments)};function g4(a,n){var e={};for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&n.indexOf(s)<0&&(e[s]=a[s]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,s=Object.getOwnPropertySymbols(a);f<s.length;f++)n.indexOf(s[f])<0&&Object.prototype.propertyIsEnumerable.call(a,s[f])&&(e[s[f]]=a[s[f]]);return e}function Fie(a,n,e,s){var f=arguments.length,p=f<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,e):s,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(a,n,e,s);else for(var _=a.length-1;_>=0;_--)(h=a[_])&&(p=(f<3?h(p):f>3?h(n,e,p):h(n,e))||p);return f>3&&p&&Object.defineProperty(n,e,p),p}function Uie(a,n){return function(e,s){n(e,s,a)}}function Bie(a,n,e,s,f,p){function h(We){if(We!==void 0&&typeof We!="function")throw new TypeError("Function expected");return We}for(var _=s.kind,M=_==="getter"?"get":_==="setter"?"set":"value",L=!n&&a?s.static?a:a.prototype:null,z=n||(L?Object.getOwnPropertyDescriptor(L,s.name):{}),Y,q=!1,se=e.length-1;se>=0;se--){var ye={};for(var je in s)ye[je]=je==="access"?{}:s[je];for(var je in s.access)ye.access[je]=s.access[je];ye.addInitializer=function(We){if(q)throw new TypeError("Cannot add initializers after decoration has completed");p.push(h(We||null))};var De=(0,e[se])(_==="accessor"?{get:z.get,set:z.set}:z[M],ye);if(_==="accessor"){if(De===void 0)continue;if(De===null||typeof De!="object")throw new TypeError("Object expected");(Y=h(De.get))&&(z.get=Y),(Y=h(De.set))&&(z.set=Y),(Y=h(De.init))&&f.unshift(Y)}else(Y=h(De))&&(_==="field"?f.unshift(Y):z[M]=Y)}L&&Object.defineProperty(L,s.name,z),q=!0}function fce(a,n,e){for(var s=arguments.length>2,f=0;f<n.length;f++)e=s?n[f].call(a,e):n[f].call(a);return s?e:void 0}function c_(a){return typeof a=="symbol"?a:"".concat(a)}function pce(a,n,e){return typeof n=="symbol"&&(n=n.description?"[".concat(n.description,"]"):""),Object.defineProperty(a,"name",{configurable:!0,value:e?"".concat(e," ",n):n})}function Vie(a,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,n)}function sm(a,n,e,s){function f(p){return p instanceof e?p:new e(function(h){h(p)})}return new(e||(e=Promise))(function(p,h){function _(z){try{L(s.next(z))}catch(Y){h(Y)}}function M(z){try{L(s.throw(z))}catch(Y){h(Y)}}function L(z){z.done?p(z.value):f(z.value).then(_,M)}L((s=s.apply(a,n||[])).next())})}function zie(a,n){var e={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},s,f,p,h;return h={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function _(L){return function(z){return M([L,z])}}function M(L){if(s)throw new TypeError("Generator is already executing.");for(;h&&(h=0,L[0]&&(e=0)),e;)try{if(s=1,f&&(p=L[0]&2?f.return:L[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,L[1])).done)return p;switch(f=0,p&&(L=[L[0]&2,p.value]),L[0]){case 0:case 1:p=L;break;case 4:return e.label++,{value:L[1],done:!1};case 5:e.label++,f=L[1],L=[0];continue;case 7:L=e.ops.pop(),e.trys.pop();continue;default:if(p=e.trys,!(p=p.length>0&&p[p.length-1])&&(L[0]===6||L[0]===2)){e=0;continue}if(L[0]===3&&(!p||L[1]>p[0]&&L[1]<p[3])){e.label=L[1];break}if(L[0]===6&&e.label<p[1]){e.label=p[1],p=L;break}if(p&&e.label<p[2]){e.label=p[2],e.ops.push(L);break}p[2]&&e.ops.pop(),e.trys.pop();continue}L=n.call(a,e)}catch(z){L=[6,z],f=0}finally{s=p=0}if(L[0]&5)throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}}var m4=Object.create?function(a,n,e,s){s===void 0&&(s=e);var f=Object.getOwnPropertyDescriptor(n,e);(!f||("get"in f?!n.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(a,s,f)}:function(a,n,e,s){s===void 0&&(s=e),a[s]=n[e]};function rG(a,n){for(var e in a)e!=="default"&&!Object.prototype.hasOwnProperty.call(n,e)&&m4(n,a,e)}function AE(a){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&a[n],s=0;if(e)return e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&s>=a.length&&(a=void 0),{value:a&&a[s++],done:!a}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function lP(a,n){var e=typeof Symbol=="function"&&a[Symbol.iterator];if(!e)return a;var s=e.call(a),f,p=[],h;try{for(;(n===void 0||n-- >0)&&!(f=s.next()).done;)p.push(f.value)}catch(_){h={error:_}}finally{try{f&&!f.done&&(e=s.return)&&e.call(s)}finally{if(h)throw h.error}}return p}function Hie(){for(var a=[],n=0;n<arguments.length;n++)a=a.concat(lP(arguments[n]));return a}function aG(){for(var a=0,n=0,e=arguments.length;n<e;n++)a+=arguments[n].length;for(var s=Array(a),f=0,n=0;n<e;n++)for(var p=arguments[n],h=0,_=p.length;h<_;h++,f++)s[f]=p[h];return s}function iG(a,n,e){if(e||arguments.length===2)for(var s=0,f=n.length,p;s<f;s++)(p||!(s in n))&&(p||(p=Array.prototype.slice.call(n,0,s)),p[s]=n[s]);return a.concat(p||Array.prototype.slice.call(n))}function Rw(a){return this instanceof Rw?(this.v=a,this):new Rw(a)}function oG(a,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=e.apply(a,n||[]),f,p=[];return f={},h("next"),h("throw"),h("return"),f[Symbol.asyncIterator]=function(){return this},f;function h(q){s[q]&&(f[q]=function(se){return new Promise(function(ye,je){p.push([q,se,ye,je])>1||_(q,se)})})}function _(q,se){try{M(s[q](se))}catch(ye){Y(p[0][3],ye)}}function M(q){q.value instanceof Rw?Promise.resolve(q.value.v).then(L,z):Y(p[0][2],q)}function L(q){_("next",q)}function z(q){_("throw",q)}function Y(q,se){q(se),p.shift(),p.length&&_(p[0][0],p[0][1])}}function Gie(a){var n,e;return n={},s("next"),s("throw",function(f){throw f}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(f,p){n[f]=a[f]?function(h){return(e=!e)?{value:Rw(a[f](h)),done:!1}:p?p(h):h}:p}}function l_(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a[Symbol.asyncIterator],e;return n?n.call(a):(a=typeof AE=="function"?AE(a):a[Symbol.iterator](),e={},s("next"),s("throw"),s("return"),e[Symbol.asyncIterator]=function(){return this},e);function s(p){e[p]=a[p]&&function(h){return new Promise(function(_,M){h=a[p](h),f(_,M,h.done,h.value)})}}function f(p,h,_,M){Promise.resolve(M).then(function(L){p({value:L,done:_})},h)}}function u_(a,n){return Object.defineProperty?Object.defineProperty(a,"raw",{value:n}):a.raw=n,a}var kE=Object.create?function(a,n){Object.defineProperty(a,"default",{enumerable:!0,value:n})}:function(a,n){a.default=n};function jE(a){if(a&&a.__esModule)return a;var n={};if(a!=null)for(var e in a)e!=="default"&&Object.prototype.hasOwnProperty.call(a,e)&&m4(n,a,e);return kE(n,a),n}function $ie(a){return a&&a.__esModule?a:{default:a}}function Wie(a,n,e,s){if(e==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?a!==n||!s:!n.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e==="m"?s:e==="a"?s.call(a):s?s.value:n.get(a)}function sG(a,n,e,s,f){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof n=="function"?a!==n||!f:!n.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?f.call(a,e):f?f.value=e:n.set(a,e),e}function uP(a,n){if(n===null||typeof n!="object"&&typeof n!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof a=="function"?n===a:a.has(n)}function dP(a,n,e){if(n!=null){if(typeof n!="object")throw new TypeError("Object expected.");var s;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=n[Symbol.asyncDispose]}if(s===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=n[Symbol.dispose]}if(typeof s!="function")throw new TypeError("Object not disposable.");a.stack.push({value:n,dispose:s,async:e})}else e&&a.stack.push({async:!0});return n}var ME=typeof SuppressedError=="function"?SuppressedError:function(a,n,e){var s=new Error(e);return s.name="SuppressedError",s.error=a,s.suppressed=n,s};function Kie(a){function n(s){a.error=a.hasError?new ME(s,a.error,"An error was suppressed during disposal."):s,a.hasError=!0}function e(){for(;a.stack.length;){var s=a.stack.pop();try{var f=s.dispose&&s.dispose.call(s.value);if(s.async)return Promise.resolve(f).then(e,function(p){return n(p),e()})}catch(p){n(p)}}if(a.hasError)throw a.error}return e()}var vce={__extends:Lie,__assign:Pw,__rest:g4,__decorate:Fie,__param:Uie,__metadata:Vie,__awaiter:sm,__generator:zie,__createBinding:m4,__exportStar:rG,__values:AE,__read:lP,__spread:Hie,__spreadArrays:aG,__spreadArray:iG,__await:Rw,__asyncGenerator:oG,__asyncDelegator:Gie,__asyncValues:l_,__makeTemplateObject:u_,__importStar:jE,__importDefault:$ie,__classPrivateFieldGet:Wie,__classPrivateFieldSet:sG,__classPrivateFieldIn:uP,__addDisposableResource:dP,__disposeResources:Kie},Yie=l("DzJC"),Xie=l.n(Yie);function Jie(a){var n=Object(x.useRef)(a);return n.current=a,n}var cG=Jie,hce=function(n){return n!==null&&typeof n=="object"},lG=function(n){return typeof n=="function"},gce=function(n){return typeof n=="string"},mce=function(n){return typeof n=="boolean"},_ce=function(n){return typeof n=="number"},yce=function(n){return typeof n=="undefined"},Zie=!1,uG=Zie,Qie=function(n){uG&&(lG(n)||console.error("useUnmount expected parameter is a function, got ".concat(typeof n)));var e=cG(n);Object(x.useEffect)(function(){return function(){e.current()}},[])},qie=Qie;function eoe(a,n){var e;uG&&(lG(a)||console.error("useThrottleFn expected parameter is a function, got ".concat(typeof a)));var s=cG(a),f=(e=n==null?void 0:n.wait)!==null&&e!==void 0?e:1e3,p=Object(x.useMemo)(function(){return Xie()(function(){for(var h=[],_=0;_<arguments.length;_++)h[_]=arguments[_];return s.current.apply(s,iG([],lP(h),!1))},f,n)},[]);return qie(function(){p.cancel()}),{run:p,cancel:p.cancel,flush:p.flush}}var toe=eoe,lh=l("wd/R"),Dw=l.n(lh),noe=l("WSiA"),uu=l.n(noe),roe=function(n){var e=n.chatContext,s=n.entityInfo,f=e.domainName,p=e.metrics,h=e.dateInfo,_=e.dimensionFilters;return Object(G.jsxs)("div",{className:uu.a.context,children:[Object(G.jsx)("div",{className:uu.a.title,children:"\u76F8\u5173\u4FE1\u606F"}),Object(G.jsxs)("div",{className:uu.a.content,children:[Object(G.jsxs)("div",{className:uu.a.field,children:[Object(G.jsx)("span",{className:uu.a.fieldName,children:"\u4E3B\u9898\u57DF\uFF1A"}),Object(G.jsx)("span",{className:uu.a.fieldValue,children:f})]}),h&&Object(G.jsxs)("div",{className:uu.a.field,children:[Object(G.jsx)("span",{className:uu.a.fieldName,children:"\u65F6\u95F4\u8303\u56F4\uFF1A"}),Object(G.jsx)("span",{className:uu.a.fieldValue,children:h.text||"\u8FD1".concat(Dw()(h.endDate).diff(Dw()(h.startDate),"days")+1,"\u5929")})]}),p&&p.length>0&&Object(G.jsxs)("div",{className:uu.a.field,children:[Object(G.jsx)("span",{className:uu.a.fieldName,children:"\u6307\u6807\uFF1A"}),Object(G.jsx)("span",{className:uu.a.fieldValue,children:p.map(function(M){return M.name}).join("\u3001")})]}),_&&_.length>0&&!(s!=null&&s.dimensions&&s.dimensions.length>0)&&Object(G.jsxs)("div",{className:uu.a.filterSection,children:[Object(G.jsx)("div",{className:uu.a.fieldName,children:"\u7B5B\u9009\u6761\u4EF6\uFF1A"}),Object(G.jsx)("div",{className:uu.a.filterValues,children:_.map(function(M){return Object(G.jsxs)("div",{className:uu.a.filterItem,children:[M.name,"\uFF1A",M.value]},M.name)})})]})]})]})},PE=roe,dG=l("p0y3"),AO=l.n(dG),aoe=function(n){var e=n.currentEntity,s=e.entityInfo,f=s||{},p=f.dimensions,h=f.metrics;return Object(G.jsxs)("div",{className:AO.a.introduction,children:[p==null?void 0:p.filter(function(_){return!_.bizName.includes("photo")}).map(function(_){return Object(G.jsxs)("div",{className:AO.a.field,children:[Object(G.jsxs)("span",{className:AO.a.fieldName,children:[_.name,"\uFF1A"]}),_.bizName.includes("photo")?Object(G.jsx)("img",{width:40,height:40,src:_.value,alt:""}):Object(G.jsx)("span",{className:AO.a.fieldValue,children:_.bizName.includes("publish_time")?Dw()(_.value).format("YYYY-MM-DD"):_.value})]},_.name)}),h==null?void 0:h.map(function(_){return Object(G.jsxs)("div",{className:AO.a.field,children:[Object(G.jsxs)("span",{className:AO.a.fieldName,children:[_.name,"\uFF1A"]}),Object(G.jsx)("span",{className:AO.a.fieldValue,children:Object(w.c)(_.value)})]},_.name)})]})},ioe=aoe,ooe=l("gyPk"),fP=l.n(ooe),fG=l("wYL9"),Db=l.n(fG),pG=function(n){var e=n.domains,s=n.currentDomain,f=n.onSelectDomain;return Object(G.jsxs)("div",{className:Db.a.domains,children:[Object(G.jsxs)("div",{className:Db.a.titleBar,children:[Object(G.jsx)("div",{className:Db.a.title,children:"\u4E3B\u9898\u5217\u8868"}),Object(G.jsx)("div",{className:Db.a.subTitle,children:"(\u53EF\u5728\u8F93\u5165\u6846@)"})]}),Object(G.jsx)("div",{className:Db.a.domainList,children:e.filter(function(p){return p.id!==-1}).map(function(p){var h=B()(Db.a.domainItem,Object(O.a)({},Db.a.activeDomainItem,(s==null?void 0:s.id)===p.id));return Object(G.jsx)("div",{children:Object(G.jsx)("div",{className:h,onClick:function(){f(p)},children:Object(G.jsx)("div",{className:Db.a.domainName,children:p.name})})},p.id)})})]})},vG=pG,soe=function(n){var e=n.domain;return Object(G.jsxs)("div",{className:uu.a.context,children:[Object(G.jsx)("div",{className:uu.a.title,children:"\u76F8\u5173\u4FE1\u606F"}),Object(G.jsx)("div",{className:uu.a.content,children:Object(G.jsxs)("div",{className:uu.a.field,children:[Object(G.jsx)("span",{className:uu.a.fieldName,children:"\u4E3B\u9898\u57DF\uFF1A"}),Object(G.jsx)("span",{className:uu.a.fieldValue,children:e.name})]})})]})},coe=soe,bce=l("qVdP"),hy=l("jsC+"),Oce=l("lUTK"),yl=l("BvKs"),loe=l("Ty5D"),cm=l("4i/N"),uoe=l("Ats3"),Kv=l.n(uoe),doe=function(n){var e=n.conversations,s=n.onSelectConversation,f=n.onClose;return Object(G.jsxs)("div",{className:Kv.a.conversationHistory,children:[Object(G.jsxs)("div",{className:Kv.a.header,children:[Object(G.jsx)("div",{className:Kv.a.headerTitle,children:"\u5386\u53F2\u8BB0\u5F55"}),Object(G.jsx)(cm.a,{className:Kv.a.headerClose,onClick:f})]}),Object(G.jsx)("div",{className:Kv.a.conversationContent,children:e.slice(0,1e3).map(function(p){return Object(G.jsxs)("div",{className:Kv.a.conversationItem,onClick:function(){s(p)},children:[Object(G.jsx)("div",{className:Kv.a.conversationName,title:p.chatName,children:p.chatName}),Object(G.jsxs)("div",{className:Kv.a.conversationTime,children:["\u66F4\u65B0\u65F6\u95F4\uFF1A",Dw()(p.lastTime).format("YYYY-MM-DD")]})]},p.chatId)})})]})},pP=doe,Cce=l("2qtc"),foe=l("kLXV"),Ece=l("5NDa"),poe=l("5rEg"),xce=l("y8nQ"),Yv=l("Vl3Y"),RE,Sce=["#3369FF","#36D2B8","#DB8D76","#47B359","#8545E6","#E0B18B","#7258F3","#0095FF","#52CC8F","#6675FF","#CC516E","#5CA9E6"],v0;(function(a){a.DOMAIN="DOMAIN",a.DIMENSION="DIMENSION",a.METRIC="METRIC",a.VALUE="VALUE"})(v0||(v0={}));var wce=(RE={},Object(O.a)(RE,v0.DOMAIN,"\u4E3B\u9898\u57DF"),Object(O.a)(RE,v0.DIMENSION,"\u7EF4\u5EA6"),Object(O.a)(RE,v0.METRIC,"\u6307\u6807"),Object(O.a)(RE,v0.VALUE,"\u7EF4\u5EA6\u503C"),RE),voe="\u65B0\u95EE\u7B54\u5BF9\u8BDD",Tc="\u95EE\u7B54\u5BF9\u8BDD",_4="\u95EE\u7B54",Tce="\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898",Iw=Yv.a.Item,hG={labelCol:{span:6},wrapperCol:{span:18}},DE=function(n){var e=n.visible,s=n.editConversation,f=n.onClose,p=n.onFinish,h=Yv.a.useForm(),_=Object(y.a)(h,1),M=_[0],L=Object(x.useState)(!1),z=Object(y.a)(L,2),Y=z[0],q=z[1],se=Object(x.useRef)();Object(x.useEffect)(function(){e&&(M.setFieldsValue({conversationName:s.chatName}),setTimeout(function(){se.current.focus({cursor:"all"})},0))},[e]);var ye=function(){var je=Object(S.a)(Object(k.a)().mark(function De(){var We;return Object(k.a)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,M.validateFields();case 2:return We=dt.sent,q(!0),dt.next=6,nG(We.conversationName,s.chatId);case 6:q(!1),p(We.conversationName);case 8:case"end":return dt.stop()}},De)}));return function(){return je.apply(this,arguments)}}();return Object(G.jsx)(foe.a,{title:"\u4FEE\u6539".concat(_4,"\u95EE\u7B54\u540D\u79F0"),visible:e,onCancel:f,onOk:ye,confirmLoading:Y,children:Object(G.jsx)(Yv.a,Object(C.a)(Object(C.a)({},hG),{},{form:M,children:Object(G.jsx)(Iw,{name:"conversationName",label:"\u540D\u79F0",rules:[{required:!0}],children:Object(G.jsx)(poe.a,{placeholder:"\u8BF7\u8F93\u5165".concat(_4,"\u95EE\u7B54\u540D\u79F0"),ref:se,onPressEnter:ye})})}))})},Nw=DE,hoe=l("WPXx"),Rg=l.n(hoe),gG=function(n,e){var s=n.currentConversation,f=n.onSelectConversation,p=Object(loe.k)(),h=p.query,_=h.q,M=h.cid,L=Object(x.useState)([]),z=Object(y.a)(L,2),Y=z[0],q=z[1],se=Object(x.useState)([]),ye=Object(y.a)(se,2),je=ye[0],De=ye[1],We=Object(x.useState)(!1),st=Object(y.a)(We,2),dt=st[0],Mt=st[1],nn=Object(x.useState)(),rn=Object(y.a)(nn,2),Cn=rn[0],er=rn[1],ir=Object(x.useState)(!1),dr=Object(y.a)(ir,2),pr=dr[0],ia=dr[1];Object(x.useImperativeHandle)(e,function(){return{updateData:pa,onAddConversation:Go}});var pa=function(){var Ns=Object(S.a)(Object(k.a)().mark(function Ds(){var yc,Zc,$c;return Object(k.a)().wrap(function(yd){for(;;)switch(yd.prev=yd.next){case 0:return yd.next=2,Iie();case 2:return yc=yd.sent,Zc=yc.data,$c=(Zc||[]).slice(0,5),q(Zc||[]),De($c),yd.abrupt("return",$c);case 8:case"end":return yd.stop()}},Ds)}));return function(){return Ns.apply(this,arguments)}}(),Ga=function(){var Ns=Object(S.a)(Object(k.a)().mark(function Ds(){var yc,Zc,$c;return Object(k.a)().wrap(function(yd){for(;;)switch(yd.prev=yd.next){case 0:return yd.next=2,pa();case 2:yc=yd.sent,yc.length>0?(Zc=localStorage.getItem("CONVERSATION_ID")||M,Zc?($c=yc.find(function(Ku){return Ku.chatId===+Zc}),f($c||yc[0])):f(yc[0])):Go();case 4:case"end":return yd.stop()}},Ds)}));return function(){return Ns.apply(this,arguments)}}();Object(x.useEffect)(function(){_&&M===void 0&&p.pathname==="/workbench/chat"?Go(_):Ga()},[_]);var si=function(){var Ns=Object(S.a)(Object(k.a)().mark(function Ds(yc){return Object(k.a)().wrap(function($c){for(;;)switch($c.prev=$c.next){case 0:return $c.next=2,Rie(yc||voe);case 2:return $c.abrupt("return",pa());case 3:case"end":return $c.stop()}},Ds)}));return function(yc){return Ns.apply(this,arguments)}}(),Bi=function(){var Ns=Object(S.a)(Object(k.a)().mark(function Ds(yc){return Object(k.a)().wrap(function($c){for(;;)switch($c.prev=$c.next){case 0:return $c.next=2,Die(yc);case 2:Ga();case 3:case"end":return $c.stop()}},Ds)}));return function(yc){return Ns.apply(this,arguments)}}(),Go=function(){var Ns=Object(S.a)(Object(k.a)().mark(function Ds(yc){var Zc;return Object(k.a)().wrap(function(Nu){for(;;)switch(Nu.prev=Nu.next){case 0:return Nu.next=2,si(yc);case 2:Zc=Nu.sent,f(Zc[0],yc);case 4:case"end":return Nu.stop()}},Ds)}));return function(yc){return Ns.apply(this,arguments)}}(),Lo=function(Ds,yc){Ds==="editName"?(er(yc),Mt(!0)):Ds==="delete"&&Bi(yc.chatId)},Rs=function(){ia(!0)};return Object(G.jsxs)("div",{className:Rg.a.conversation,children:[Object(G.jsxs)("div",{className:Rg.a.conversationSection,children:[Object(G.jsx)("div",{className:Rg.a.sectionTitle,children:"\u5BF9\u8BDD\u7BA1\u7406"}),Object(G.jsxs)("div",{className:Rg.a.conversationList,children:[je.map(function(Ns){var Ds=B()(Rg.a.conversationItem,Object(O.a)({},Rg.a.activeConversationItem,(s==null?void 0:s.chatId)===Ns.chatId));return Object(G.jsx)(hy.a,{overlay:Object(G.jsx)(yl.a,{items:[{label:"\u4FEE\u6539\u5BF9\u8BDD\u540D\u79F0",key:"editName"},{label:"\u5220\u9664",key:"delete"}],onClick:function(Zc){var $c=Zc.key;Lo($c,Ns)}}),trigger:["contextMenu"],children:Object(G.jsx)("div",{className:Ds,onClick:function(){f(Ns)},children:Object(G.jsxs)("div",{className:Rg.a.conversationItemContent,children:[Object(G.jsx)(X,{type:"icon-chat1",className:Rg.a.conversationIcon}),Object(G.jsx)("div",{className:Rg.a.conversationContent,title:Ns.chatName,children:Ns.chatName})]})})},Ns.chatId)}),Object(G.jsx)("div",{className:Rg.a.conversationItem,onClick:Rs,children:Object(G.jsxs)("div",{className:Rg.a.conversationItemContent,children:[Object(G.jsx)(X,{type:"icon-more2",className:"".concat(Rg.a.conversationIcon," ").concat(Rg.a.historyIcon)}),Object(G.jsx)("div",{className:Rg.a.conversationContent,children:"\u67E5\u770B\u66F4\u591A\u5BF9\u8BDD"})]})})]})]}),pr&&Object(G.jsx)(pP,{conversations:Y,onSelectConversation:function(Ds){f(Ds),ia(!1)},onClose:function(){ia(!1)}}),Object(G.jsx)(Nw,{visible:dt,editConversation:Cn,onClose:function(){Mt(!1)},onFinish:function(){Mt(!1),pa()}})]})},mG=Object(x.forwardRef)(gG),goe=function(n){var e,s=n.domains,f=n.currentEntity,p=n.currentDomain,h=n.currentConversation,_=n.conversationRef,M=n.onSelectConversation,L=n.onSelectDomain,z=B()(fP.a.rightSection,Object(O.a)({},fP.a.external,!1));return Object(G.jsxs)("div",{className:z,children:[Object(G.jsx)(mG,{currentConversation:h,onSelectConversation:M,ref:_}),p&&!f&&Object(G.jsx)("div",{className:fP.a.entityInfo,children:Object(G.jsx)(coe,{domain:p})}),!!(f!=null&&(e=f.chatContext)!==null&&e!==void 0&&e.domainId)&&Object(G.jsxs)("div",{className:fP.a.entityInfo,children:[Object(G.jsx)(PE,{chatContext:f.chatContext,entityInfo:f.entityInfo}),Object(G.jsx)(ioe,{currentEntity:f})]}),s&&s.length>0&&Object(G.jsx)(vG,{domains:s,currentDomain:p,onSelectDomain:L})]})},moe=goe,Ace=l("EFp3"),kce=l("O/iA"),Ib=l("OaEy"),Lw=l("lrIw"),Nb=l("+BJd"),d_=l("5Dmo"),Fw=l("3S7+"),gy=l("2fM7"),Uw=l("lHW4"),uh=l.n(Uw),h0=gy.a.OptGroup,Lb=gy.a.Option,dh=!1,gg=!1,f_=function(){dh=!0},Bw=function(){dh=!1},_oe=function(n,e){var s,f=n.inputMsg,p=n.chatId,h=n.currentDomain,_=n.domains,M=n.isMobileMode,L=n.onInputMsgChange,z=n.onSendMsg,Y=n.onAddConversation,q=Object(x.useState)([]),se=Object(y.a)(q,2),ye=se[0],je=se[1],De=Object(x.useState)({}),We=Object(y.a)(De,2),st=We[0],dt=We[1],Mt=Object(x.useState)(!1),nn=Object(y.a)(Mt,2),rn=nn[0],Cn=nn[1],er=Object(x.useState)(!1),ir=Object(y.a)(er,2),dr=ir[0],pr=ir[1],ia=Object(x.useRef)(),pa=Object(x.useRef)(0),Ga=function(){var Vc;(Vc=ia.current)===null||Vc===void 0||Vc.focus()},si=function(){var Vc;(Vc=ia.current)===null||Vc===void 0||Vc.blur()};Object(x.useImperativeHandle)(e,function(){return{inputFocus:Ga,inputBlur:si}});var Bi=function(){var Vc=document.getElementById("chatInput");Vc.addEventListener("compositionstart",f_),Vc.addEventListener("compositionend",Bw)},Go=function(){var Vc=document.getElementById("chatInput");Vc&&(Vc.removeEventListener("compositionstart",f_),Vc.removeEventListener("compositionend",Bw))};Object(x.useEffect)(function(){return Bi(),function(){Go()}},[]);var Lo=function(Vc){var $l=Object(w.f)(Vc,"domainName");return M&&Vc.length>6?Object.keys($l).slice(0,4).reduce(function(el,_u){return el[_u]=$l[_u].slice(0,Object.keys($l).length>2?2:Object.keys($l).length>1?3:6),el},{}):$l},Rs=function(Vc,$l){var el=Vc,_u;if((Vc==null?void 0:Vc[0])==="@"){var Rf=$l.find(function(Id){return Vc.includes("@".concat(Id.name))});el=Rf?Vc.replace("@".concat(Rf.name),""):Vc,_u=Rf==null?void 0:Rf.id}return{msgValue:el,domainId:_u}},Ns=Object(x.useCallback)(function(){var vl=function(){var Vc=Object(S.a)(Object(k.a)().mark(function $l(el,_u,Rf,Id){var xp,op,Ev,Lv,fh,km,Rh;return Object(k.a)().wrap(function(Fv){for(;;)switch(Fv.prev=Fv.next){case 0:if(!dh){Fv.next=2;break}return Fv.abrupt("return");case 2:if(!(el===""||el.length===1&&el[0]==="@")){Fv.next=4;break}return Fv.abrupt("return");case 4:return pa.current+=1,xp=pa.current,op=Rs(el,_u),Ev=op.msgValue,Lv=op.domainId,Fv.next=9,oce(Ev.trim(),Rf,Lv||(Id==null?void 0:Id.id));case 9:if(fh=Fv.sent,xp===pa.current){Fv.next=12;break}return Fv.abrupt("return");case 12:km=Ev?fh.data.data||[]:[],Rh=km.map(function(IE){return IE.subRecommend}),Rh.length>0&&Rh.every(function(IE){return IE!==null})?dt(Lo(km)):dt({}),Cn(km.length>0);case 16:case"end":return Fv.stop()}},$l)}));return function(el,_u,Rf,Id){return Vc.apply(this,arguments)}}();return Object(me.debounce)(vl,20)},[]),Ds=Object(x.useState)(Ns),yc=Object(y.a)(Ds,1),Zc=yc[0];Object(x.useEffect)(function(){if(f.length===1&&f[0]==="@"){Cn(!0),je(_),dt({});return}else Cn(!1),ye.length>0&&setTimeout(function(){je([])},500);gg?gg=!1:Zc(f,_,p,h),f||(dt({}),pa.current=0)},[f]),Object(x.useEffect)(function(){dr||Cn(!1)},[dr]),Object(x.useEffect)(function(){var vl=document.querySelector(".".concat(uh.a.autoCompleteDropdown));if(!!vl){var Vc=Object(w.e)(f);Object.keys(st).length>0?vl.style.marginLeft="".concat(Vc,"px"):setTimeout(function(){vl.style.marginLeft="0px"},200)}},[st]);var $c=function(Vc){var $l=Object.keys(st).reduce(function(el,_u){return el=el.concat(st[_u]),el},[]).find(function(el){return Object.keys(st).length===1?el.recommend===Vc:"".concat(el.domainName||"").concat(el.recommend)===Vc});$l&&gg?z($l.recommend,$l.domainId):z(Vc.trim())},Nu=B()(uh.a.autoCompleteDropdown,(s={},Object(O.a)(s,uh.a.mobile,M),Object(O.a)(s,uh.a.domainOptions,ye.length>0),s)),yd=function(Vc){gg=!0,ye.length===0&&$c(Vc),Cn(!1),setTimeout(function(){gg=!1},200)},Ku=B()(uh.a.chatFooter,Object(O.a)({},uh.a.mobile,M));return Object(G.jsx)("div",{className:Ku,children:Object(G.jsxs)("div",{className:uh.a.composer,children:[Object(G.jsx)(Fw.a,{title:"\u65B0\u5EFA\u5BF9\u8BDD",children:Object(G.jsx)(X,{type:"icon-icon-add-conversation-line",className:uh.a.addConversation,onClick:Y})}),Object(G.jsxs)("div",{className:uh.a.composerInputWrapper,children:[Object(G.jsx)(Lw.a,{className:uh.a.composerInput,placeholder:h?"\u8BF7\u8F93\u5165\u3010".concat(h.name,"\u3011\u4E3B\u9898\u7684\u95EE\u9898\uFF0C\u53EF\u4F7F\u7528@\u5207\u6362\u5230\u5176\u4ED6\u4E3B\u9898"):Tce,value:f,onChange:L,onSelect:yd,autoFocus:!M,backfill:!0,ref:ia,id:"chatInput",onKeyDown:function(Vc){if((Vc.code==="Enter"||Vc.code==="NumpadEnter")&&!gg){var $l=document.getElementById("chatInput");$c($l.value),Cn(!1)}},onFocus:function(){pr(!0)},onBlur:function(){pr(!1)},dropdownClassName:Nu,listHeight:500,allowClear:!0,open:rn,getPopupContainer:function(Vc){return Vc.parentNode},children:ye.length>0?ye.map(function(vl){return Object(G.jsx)(Lb,{value:"@".concat(vl.name," "),className:uh.a.searchOption,children:vl.name},vl.id)}):Object.keys(st).map(function(vl){return Object(G.jsx)(h0,{label:vl,children:st[vl].map(function(Vc){var $l=Object.keys(st).length===1?Vc.recommend:"".concat(Vc.domainName||"").concat(Vc.recommend);if(f[0]==="@"){var el=_.find(function(_u){return f.includes(_u.name)});$l=el?"@".concat(el.name," ").concat(Vc.recommend):$l}return Object(G.jsx)(Lb,{value:$l,className:uh.a.searchOption,children:Object(G.jsxs)("div",{className:uh.a.optionContent,children:[Vc.schemaElementType&&Object(G.jsx)(lH.a,{className:uh.a.semanticType,color:Vc.schemaElementType===v0.DIMENSION||Vc.schemaElementType===v0.DOMAIN?"blue":Vc.schemaElementType===v0.VALUE?"geekblue":"orange",children:wce[Vc.schemaElementType]||Vc.schemaElementType||"\u7EF4\u5EA6"}),Vc.subRecommend]})},"".concat(Vc.recommend).concat(Vc.domainName?"_".concat(Vc.domainName):""))})},vl)})}),Object(G.jsx)("div",{className:B()(uh.a.sendBtn,Object(O.a)({},uh.a.sendBtnActive,(f==null?void 0:f.length)>0)),onClick:function(){$c(f)},children:Object(G.jsx)(X,{type:"icon-ios-send"})})]})]})})},_G=Object(x.forwardRef)(_oe),yG=l("XadK"),yoe=l("tPa5"),boe=function(n){var e,s=n.isCopilotMode,f=w.g||s,p=Object(x.useState)([]),h=Object(y.a)(p,2),_=h[0],M=h[1],L=Object(x.useState)(""),z=Object(y.a)(L,2),Y=z[0],q=z[1],se=Object(x.useState)(1),ye=Object(y.a)(se,2),je=ye[0],De=ye[1],We=Object(x.useState)(!1),st=Object(y.a)(We,2),dt=st[0],Mt=st[1],nn=Object(x.useState)(!1),rn=Object(y.a)(nn,2),Cn=rn[0],er=rn[1],ir=Object(x.useState)(w.g?{chatId:0,chatName:"".concat(_4,"\u95EE\u7B54")}:void 0),dr=Object(y.a)(ir,2),pr=dr[0],ia=dr[1],pa=Object(x.useState)(),Ga=Object(y.a)(pa,2),si=Ga[0],Bi=Ga[1],Go=Object(x.useState)(!1),Lo=Object(y.a)(Go,2),Rs=Lo[0],Ns=Lo[1],Ds=Object(x.useState)([]),yc=Object(y.a)(Ds,2),Zc=yc[0],$c=yc[1],Nu=Object(x.useState)(),yd=Object(y.a)(Nu,2),Ku=yd[0],vl=yd[1],Vc=Object(x.useRef)(),$l=Object(x.useRef)(),el=function(){M([{id:Object(w.k)(),type:hg.TEXT,msg:"\u60A8\u597D\uFF0C\u8BF7\u95EE\u6709\u4EC0\u4E48\u6211\u80FD\u5E2E\u60A8\u5417\uFF1F"}])},_u=function(ku){return ku.some(function(Sp){return Sp.queryResponse.queryMode===hg.INSTRUCTION})},Rf=function(ku){_u(ku)?(Ns(!0),setTimeout(function(){Ns(!1),Object(w.j)()},3e3)):Object(w.j)()},Id=function(){var Uf=Object(S.a)(Object(k.a)().mark(function ku(Sp){var Dh,p_,Zf,Dg,v_,Ub,kO;return Object(k.a)().wrap(function(h_){for(;;)switch(h_.prev=h_.next){case 0:return h_.next=2,Tae(Sp,pr.chatId,3);case 2:p_=h_.sent,Zf=((Dh=p_.data)===null||Dh===void 0?void 0:Dh.data)||{hasNextPage:!1,list:[]},Dg=Zf.hasNextPage,v_=Zf.list,M([].concat(Object(A.a)(v_.map(function(NE){var OG;return{id:NE.questionId,type:((OG=NE.queryResponse)===null||OG===void 0?void 0:OG.queryMode)===hg.INSTRUCTION?hg.INSTRUCTION:hg.QUESTION,msg:NE.queryText,msgData:NE.queryResponse,isHistory:!0}})),Object(A.a)(Sp===1?[]:_))),Mt(Dg),Sp===1&&(v_.length===0?el():Bi(v_[v_.length-1].queryResponse),Rf(v_),er(!0),Lv()),Sp>1&&(kO=document.getElementById("".concat((Ub=_[0])===null||Ub===void 0?void 0:Ub.id)),kO==null||kO.scrollIntoView());case 8:case"end":return h_.stop()}},ku)}));return function(Sp){return Uf.apply(this,arguments)}}(),xp=toe(function(Uf){Uf.target.scrollTop===0&&dt&&(Id(je+1),De(je+1))},{leading:!0,trailing:!0,wait:200}),op=xp.run,Ev=function(){var Uf=Object(S.a)(Object(k.a)().mark(function ku(){var Sp,Dh;return Object(k.a)().wrap(function(Zf){for(;;)switch(Zf.prev=Zf.next){case 0:return Zf.prev=0,Zf.next=3,Nie();case 3:Sp=Zf.sent,Dh=Object(w.d)(Sp.data),$c([{id:-1,name:"\u5168\u90E8",bizName:"all",parentId:0}].concat(Object(A.a)(Dh)).slice(0,11)),Zf.next=10;break;case 8:Zf.prev=8,Zf.t0=Zf.catch(0);case 10:case"end":return Zf.stop()}},ku,null,[[0,8]])}));return function(){return Uf.apply(this,arguments)}}();Object(x.useEffect)(function(){ice(localStorage.getItem(yoe.a)||""),Ev()},[]),Object(x.useEffect)(function(){if(Cn){var Uf=document.getElementById("messageContainer");Uf==null||Uf.addEventListener("scroll",op)}return function(){var ku=document.getElementById("messageContainer");ku==null||ku.removeEventListener("scroll",op)}},[Cn]);var Lv=function(){if(!w.g){var ku;(ku=$l.current)===null||ku===void 0||ku.inputFocus()}},fh=function(){var ku;(ku=$l.current)===null||ku===void 0||ku.inputBlur()};Object(x.useEffect)(function(){if(!!pr){Bi(void 0);var Uf=pr.initMsg,ku=pr.domainId;if(Uf){if(Lv(),Uf===voe){el();return}Rh(pr.initMsg,[],ku);return}Id(1),De(1)}},[pr]);var km=function(){var Uf=Object(S.a)(Object(k.a)().mark(function ku(Sp){var Dh;return Object(k.a)().wrap(function(Zf){for(;;)switch(Zf.prev=Zf.next){case 0:return Zf.next=2,nG(Sp,pr.chatId);case 2:f||(Vc==null||(Dh=Vc.current)===null||Dh===void 0||Dh.updateData(),window.history.replaceState("","","?q=".concat(Sp,"&cid=").concat(pr.chatId)));case 3:case"end":return Zf.stop()}},ku)}));return function(Sp){return Uf.apply(this,arguments)}}(),Rh=function(){var Uf=Object(S.a)(Object(k.a)().mark(function ku(Sp,Dh,p_){var Zf,Dg,v_,Ub,kO;return Object(k.a)().wrap(function(h_){for(;;)switch(h_.prev=h_.next){case 0:if(Zf=Sp||Y,Zf.trim()!==""){h_.next=4;break}return q(""),h_.abrupt("return");case 4:Dg=Zc.find(function(NE){return Zf.includes(NE.name)}),v_=Zf[0]==="@"&&Dg,v_&&vl(Dg.id===-1?void 0:Dg),Ub=p_||(Dg==null?void 0:Dg.id)||(Ku==null?void 0:Ku.id),kO=[].concat(Object(A.a)(Dh||_),[{id:Object(w.k)(),msg:Zf,msgValue:v_?Zf.replace("@".concat(Dg.name),"").trim():Zf,domainId:Ub===-1?void 0:Ub,identityMsg:v_?bG(Dg):void 0,type:hg.QUESTION}]),M(kO),Object(w.j)(),q(""),km(Zf);case 13:case"end":return h_.stop()}},ku)}));return function(Sp,Dh,p_){return Uf.apply(this,arguments)}}(),Fb=function(ku){var Sp=ku||"";q(Sp)},Fv=function(ku){ku?ku.chatId!==-1&&localStorage.setItem("CONVERSATION_ID","".concat(ku.chatId)):localStorage.removeItem("CONVERSATION_ID")},IE=function(ku,Sp){f||window.history.replaceState("","","?q=".concat(ku.chatName,"&cid=").concat(ku.chatId)),ia(Object(C.a)(Object(C.a)({},ku),{},{initMsg:Sp})),Fv(ku),vl(void 0)},y4=function(ku,Sp){if(!!ku){if(ku.queryMode==="INSTRUCTION"){var Dh;M([].concat(Object(A.a)(_.slice(0,_.length-1)),[{id:Object(w.k)(),msg:ku.response.name||((Dh=_[_.length-1])===null||Dh===void 0?void 0:Dh.msg),type:hg.INSTRUCTION,msgData:ku}]))}else{var p_=Object(me.cloneDeep)(_),Zf=p_.find(function(Dg){return Dg.id===Sp});Zf&&(Zf.msgData=ku,M(p_)),Object(w.j)()}Bi(ku)}},Coe=function(ku){M([].concat(Object(A.a)(_),[{id:Object(w.k)(),msg:ku.response.name,type:hg.INSTRUCTION,msgData:ku}])),Object(w.j)()},bG=function(ku){return ku?"\u60A8\u597D\uFF0C\u6211\u5F53\u524D\u8EAB\u4EFD\u662F\u3010".concat(ku.name,"\u3011\u4E3B\u9898\u4E13\u5BB6\uFF0C\u6211\u5C06\u5C3D\u529B\u5E2E\u60A8\u89E3\u7B54\u76F8\u5173\u95EE\u9898\uFF5E"):"\u60A8\u597D\uFF0C\u6211\u5C06\u5C3D\u529B\u5E2E\u60A8\u89E3\u7B54\u6240\u6709\u4E3B\u9898\u76F8\u5173\u95EE\u9898\uFF5E"},vP=function(ku){return{id:Object(w.k)(),type:hg.TEXT,msg:bG(ku)}},Eoe=function(ku){var Sp=(Ku==null?void 0:Ku.id)===ku.id?void 0:ku;vl(Sp),Bi(void 0),M([].concat(Object(A.a)(_),[vP(Sp)])),Object(w.j)(),Lv()},xoe=B()(om.a.chat,(e={},Object(O.a)(e,om.a.mobile,f),Object(O.a)(e,om.a.copilot,s),e));return Object(G.jsxs)("div",{className:xoe,children:[!f&&Object(G.jsx)(j.a,{title:Tc}),Object(G.jsx)("div",{className:om.a.topSection}),Object(G.jsxs)("div",{className:om.a.chatSection,children:[Object(G.jsx)("div",{className:om.a.chatApp,children:pr&&Object(G.jsx)("div",{className:om.a.chatBody,children:Object(G.jsxs)("div",{className:om.a.chatContent,children:[Object(G.jsx)(Pie,{id:"messageContainer",messageList:_,chatId:pr==null?void 0:pr.chatId,miniProgramLoading:Rs,isMobileMode:f,onClickMessageContainer:function(){Lv()},onMsgDataLoaded:y4,onSelectSuggestion:Rh,onCheckMore:Coe,onUpdateMessageScroll:w.j}),Object(G.jsx)(_G,{inputMsg:Y,chatId:pr==null?void 0:pr.chatId,domains:Zc,currentDomain:Ku,isMobileMode:f,onInputMsgChange:Fb,onSendMsg:function(ku,Sp){Rh(ku,_,Sp),w.g&&fh()},onAddConversation:function(){var ku;(ku=Vc.current)===null||ku===void 0||ku.onAddConversation(),Lv()},ref:$l})]})})}),!f&&Object(G.jsx)(moe,{domains:Zc,currentEntity:si,currentDomain:Ku,currentConversation:pr,onSelectDomain:Eoe,onSelectConversation:IE,conversationRef:Vc})]})]})},Ooe=R.default=boe},"2BaD":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CloseCircleOutlined";var S=R.a=m.forwardRef(A)},"2FZw":function(ce,R,l){var E=l("oa35"),m=l("+rjg"),O=l("FCfD"),C=Math.ceil,k=function(A){return function(S,y,w){var x=String(O(S)),T=x.length,j=w===void 0?" ":String(w),D=E(y),N,F;return D<=T||j==""?x:(N=D-T,F=m.call(j,C(N/j.length)),F.length>N&&(F=F.slice(0,N)),A?x+F:F+x)}};ce.exports={start:k(!1),end:k(!0)}},"2Fcx":function(ce,R,l){ce.exports={container:"container___1Rq3A"}},"2KAr":function(ce,R,l){var E=l("tny8"),m=l("YfKC"),O=l("k/J9"),C=l("M8HR").UNSUPPORTED_Y;E&&(/./g.flags!="g"||C)&&m.f(RegExp.prototype,"flags",{configurable:!0,get:O})},"2T/V":function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=R.ANT_MARK=void 0;var O=m(l("pVnL")),C=E(l("q1tI")),k=m(l("aVg8")),A=l("/NY7"),S=m(l("XsNG")),y="internalMark";R.ANT_MARK=y;var w=function(j){var D=j.locale,N=D===void 0?{}:D,F=j.children,B=j._ANT_MARK__;C.useEffect(function(){return(0,A.changeConfirmLocale)(N&&N.Modal),function(){(0,A.changeConfirmLocale)()}},[N]);var U=C.useMemo(function(){return(0,O.default)((0,O.default)({},N),{exist:!0})},[N]);return C.createElement(S.default.Provider,{value:U},F)},x=w;R.default=x},"2W6z":function(ce,R,l){"use strict";var E=!1,m=function(){};if(E){var O=function(k,A){var S=arguments.length;A=new Array(S>1?S-1:0);for(var y=1;y<S;y++)A[y-1]=arguments[y];var w=0,x="Warning: "+k.replace(/%s/g,function(){return A[w++]});typeof console!="undefined"&&console.error(x);try{throw new Error(x)}catch(T){}};m=function(k,A,S){var y=arguments.length;S=new Array(y>2?y-2:0);for(var w=2;w<y;w++)S[w-2]=arguments[w];if(A===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");k||O.apply(null,[A].concat(S))}}ce.exports=m},"2aV/":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("7BAe"),S=l("/dTS"),y=l("PPXv"),w=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{mapValues:function(T){var j=C(this),D=y(j),N=A(T,arguments.length>1?arguments[1]:void 0,3),F=new(S(j,O("Map"))),B=k(F.set);return w(D,function(U,J){B.call(F,U,N(J,U,j))},void 0,!0,!0),F}})},"2ajD":function(ce,R){function l(E){return E!==E}ce.exports=l},"2fM7":function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("TSYQ"),C=l.n(O),k=l("LdHM"),A=l("Ya77"),S=l("q1tI"),y=l.n(S),w=l("H84U"),x=l("XI05"),T=l("caoh"),j=l("3Nzz"),D=l("ihLV"),N=l("EXcs"),F=l("ATYA"),B=l("1vzs"),U=l("+f9I"),J=function(ie,G){var Q={};for(var W in ie)Object.prototype.hasOwnProperty.call(ie,W)&&G.indexOf(W)<0&&(Q[W]=ie[W]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,W=Object.getOwnPropertySymbols(ie);ne<W.length;ne++)G.indexOf(W[ne])<0&&Object.prototype.propertyIsEnumerable.call(ie,W[ne])&&(Q[W[ne]]=ie[W[ne]]);return Q},$="SECRET_COMBOBOX_MODE_DO_NOT_USE",X=function(G,Q){var W,ne=G.prefixCls,te=G.bordered,_e=te===void 0?!0:te,he=G.className,oe=G.getPopupContainer,ge=G.dropdownClassName,me=G.popupClassName,Z=G.listHeight,xe=Z===void 0?256:Z,Ee=G.placement,Le=G.listItemHeight,we=Le===void 0?24:Le,fe=G.size,pe=G.disabled,Ke=G.notFoundContent,Me=G.status,ze=G.showArrow,Ue=J(G,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),He=S.useContext(w.b),Ne=He.getPopupContainer,it=He.getPrefixCls,Xe=He.renderEmpty,ht=He.direction,lt=He.virtual,Et=He.dropdownMatchSelectWidth,tt=S.useContext(j.b),mt=it("select",ne),xt=it(),Xt=Object(U.c)(mt,ht),vt=Xt.compactSize,qe=Xt.compactItemClassnames,Re=S.useMemo(function(){var cn=Ue.mode;if(cn!=="combobox")return cn===$?"combobox":cn},[Ue.mode]),Se=Re==="multiple"||Re==="tags",Ve=ze!==void 0?ze:Ue.loading||!(Se||Re==="combobox"),Ge=Object(S.useContext)(D.b),_t=Ge.status,bt=Ge.hasFeedback,gt=Ge.isFormItemInput,at=Ge.feedbackIcon,ft=Object(F.a)(_t,Me),Fe;Ke!==void 0?Fe=Ke:Re==="combobox"?Fe=null:Fe=(Xe||x.a)("Select");var Te=Object(B.a)(Object(m.a)(Object(m.a)({},Ue),{multiple:Se,hasFeedback:bt,feedbackIcon:at,showArrow:Ve,prefixCls:mt})),ut=Te.suffixIcon,le=Te.itemIcon,$e=Te.removeIcon,Qe=Te.clearIcon,Tt=Object(A.a)(Ue,["suffixIcon","itemIcon"]),Ot=C()(me||ge,Object(E.a)({},"".concat(mt,"-dropdown-").concat(ht),ht==="rtl")),Ut=vt||fe||tt,At=S.useContext(T.b),Pt=pe!=null?pe:At,Dt=C()((W={},Object(E.a)(W,"".concat(mt,"-lg"),Ut==="large"),Object(E.a)(W,"".concat(mt,"-sm"),Ut==="small"),Object(E.a)(W,"".concat(mt,"-rtl"),ht==="rtl"),Object(E.a)(W,"".concat(mt,"-borderless"),!_e),Object(E.a)(W,"".concat(mt,"-in-form-item"),gt),W),Object(F.b)(mt,ft,bt),qe,he),Qt=function(){return Ee!==void 0?Ee:ht==="rtl"?"bottomRight":"bottomLeft"};return S.createElement(k.d,Object(m.a)({ref:Q,virtual:lt,dropdownMatchSelectWidth:Et},Tt,{transitionName:Object(N.c)(xt,Object(N.b)(Ee),Ue.transitionName),listHeight:xe,listItemHeight:we,mode:Re,prefixCls:mt,placement:Qt(),direction:ht,inputIcon:ut,menuItemSelectedIcon:le,removeIcon:$e,clearIcon:Qe,notFoundContent:Fe,className:Dt,getPopupContainer:oe||Ne,dropdownClassName:Ot,showArrow:bt||ze,disabled:Pt}))},ee=S.forwardRef(X);ee.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,ee.Option=k.c,ee.OptGroup=k.b,R.a=ee},"2gN3":function(ce,R,l){var E=l("Kz5y"),m=E["__core-js_shared__"];ce.exports=m},"2jpz":function(ce,R,l){"use strict";l.d(R,"a",function(){return B});var E=l("U8pU"),m=l("VTBJ"),O=l("q1tI"),C={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"},k=C,A=l("6VBw"),S=function(J,$){return O.createElement(A.a,Object(m.a)(Object(m.a)({},J),{},{ref:$,icon:k}))};S.displayName="CaretDownFilled";var y=O.forwardRef(S),w=l("9jjd"),x=l("ye1Q"),T=l("gUdW"),j=l("xGfz"),D=l("TSYQ"),N=l.n(D),F=l("0n0R");function B(U,J,$,X){var ee=X.isLeaf,ie=X.expanded,G=X.loading;if(G)return O.createElement(x.a,{className:"".concat(U,"-switcher-loading-icon")});var Q;if($&&Object(E.a)($)==="object"&&(Q=$.showLeafIcon),ee){if(!$)return null;if(typeof Q!="boolean"&&!!Q){var W=typeof Q=="function"?Q(X):Q,ne="".concat(U,"-switcher-line-custom-icon");return Object(F.c)(W)?Object(F.a)(W,{className:N()(W.props.className||"",ne)}):W}return Q?O.createElement(w.a,{className:"".concat(U,"-switcher-line-icon")}):O.createElement("span",{className:"".concat(U,"-switcher-leaf-line")})}var te="".concat(U,"-switcher-icon"),_e=typeof J=="function"?J(X):J;return Object(F.c)(_e)?Object(F.a)(_e,{className:N()(_e.props.className||"",te)}):_e||($?ie?O.createElement(T.a,{className:"".concat(U,"-switcher-line-icon")}):O.createElement(j.a,{className:"".concat(U,"-switcher-line-icon")}):O.createElement(y,{className:te}))}},"2kyd":function(ce,R,l){var E=l("ukPv"),m=l("xxaU"),O=l("jtLI"),C=l("evbn"),k=l("Fs9M"),A=l("wgKq"),S=m("wks"),y=E.Symbol,w=A?y:y&&y.withoutSetter||C;ce.exports=function(x){return O(S,x)||(k&&O(y,x)?S[x]=y[x]:S[x]=w("Symbol."+x)),S[x]}},"2mcs":function(ce,R,l){"use strict";var E=l("ohE5"),m=E;if(!1)var O;ce.exports=m},"2mpP":function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("VTBJ"),m=l("jJZc"),O=function(k,A){var S,y,w,x=Object(E.a)({},k);return Object(E.a)(Object(E.a)({bgLayout:"linear-gradient(".concat(A.colorBgContainer,", ").concat(A.colorBgLayout," 28%)"),colorTextAppListIcon:A.colorTextSecondary,appListIconHoverBgColor:x==null||(S=x.sider)===null||S===void 0?void 0:S.colorBgMenuItemSelected,colorBgAppListIconHover:Object(m.c)(A.colorTextBase,.04),colorTextAppListIconHover:A.colorTextBase},x),{},{header:Object(E.a)({colorBgHeader:Object(m.c)(A.colorBgElevated,.6),colorBgScrollHeader:Object(m.c)(A.colorBgElevated,.8),colorHeaderTitle:A.colorText,colorBgMenuItemHover:Object(m.c)(A.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorTextMenuSelected:Object(m.c)(A.colorTextBase,.95),colorBgRightActionsItemHover:Object(m.c)(A.colorTextBase,.03),colorTextRightActionsItem:A.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:A.colorTextSecondary,colorTextMenuSecondary:A.colorTextTertiary,colorTextMenuTitle:A.colorText,colorTextMenuActive:A.colorText},x.header),sider:Object(E.a)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:A.colorBgElevated,colorTextCollapsedButtonHover:A.colorTextSecondary,colorTextCollapsedButton:Object(m.c)(A.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:Object(m.c)(A.colorTextBase,.06),colorBgMenuItemHover:Object(m.c)(A.colorTextBase,.03),colorBgMenuItemSelected:Object(m.c)(A.colorTextBase,.04),colorTextMenuItemHover:A.colorText,colorTextMenuSelected:Object(m.c)(A.colorTextBase,.95),colorTextMenuActive:A.colorText,colorTextMenu:A.colorTextSecondary,colorTextMenuSecondary:A.colorTextTertiary,colorTextMenuTitle:A.colorText,colorTextSubMenuSelected:Object(m.c)(A.colorTextBase,.95)},x.sider),pageContainer:Object(E.a)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((y=x.pageContainer)===null||y===void 0?void 0:y.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((w=x.pageContainer)===null||w===void 0?void 0:w.marginBlockPageContainerContent)||24,colorBgPageContainerFixed:A.colorBgElevated},x.pageContainer)})}},"2oH+":function(ce,R,l){(function(E,m){var O=200,C="__lodash_hash_undefined__",k=800,A=16,S=9007199254740991,y="[object Arguments]",w="[object Array]",x="[object AsyncFunction]",T="[object Boolean]",j="[object Date]",D="[object Error]",N="[object Function]",F="[object GeneratorFunction]",B="[object Map]",U="[object Number]",J="[object Null]",$="[object Object]",X="[object Proxy]",ee="[object RegExp]",ie="[object Set]",G="[object String]",Q="[object Undefined]",W="[object WeakMap]",ne="[object ArrayBuffer]",te="[object DataView]",_e="[object Float32Array]",he="[object Float64Array]",oe="[object Int8Array]",ge="[object Int16Array]",me="[object Int32Array]",Z="[object Uint8Array]",xe="[object Uint8ClampedArray]",Ee="[object Uint16Array]",Le="[object Uint32Array]",we=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,pe=/^(?:0|[1-9]\d*)$/,Ke={};Ke[_e]=Ke[he]=Ke[oe]=Ke[ge]=Ke[me]=Ke[Z]=Ke[xe]=Ke[Ee]=Ke[Le]=!0,Ke[y]=Ke[w]=Ke[ne]=Ke[T]=Ke[te]=Ke[j]=Ke[D]=Ke[N]=Ke[B]=Ke[U]=Ke[$]=Ke[ee]=Ke[ie]=Ke[G]=Ke[W]=!1;var Me=typeof E=="object"&&E&&E.Object===Object&&E,ze=typeof self=="object"&&self&&self.Object===Object&&self,Ue=Me||ze||Function("return this")(),He=R&&!R.nodeType&&R,Ne=He&&typeof m=="object"&&m&&!m.nodeType&&m,it=Ne&&Ne.exports===He,Xe=it&&Me.process,ht=function(){try{var Vn=Ne&&Ne.require&&Ne.require("util").types;return Vn||Xe&&Xe.binding&&Xe.binding("util")}catch(tr){}}(),lt=ht&&ht.isTypedArray;function Et(Vn,tr,Ea){switch(Ea.length){case 0:return Vn.call(tr);case 1:return Vn.call(tr,Ea[0]);case 2:return Vn.call(tr,Ea[0],Ea[1]);case 3:return Vn.call(tr,Ea[0],Ea[1],Ea[2])}return Vn.apply(tr,Ea)}function tt(Vn,tr){for(var Ea=-1,Ja=Array(Vn);++Ea<Vn;)Ja[Ea]=tr(Ea);return Ja}function mt(Vn){return function(tr){return Vn(tr)}}function xt(Vn,tr){return Vn==null?void 0:Vn[tr]}function Xt(Vn,tr){return function(Ea){return Vn(tr(Ea))}}var vt=Array.prototype,qe=Function.prototype,Re=Object.prototype,Se=Ue["__core-js_shared__"],Ve=qe.toString,Ge=Re.hasOwnProperty,_t=function(){var Vn=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||"");return Vn?"Symbol(src)_1."+Vn:""}(),bt=Re.toString,gt=Ve.call(Object),at=RegExp("^"+Ve.call(Ge).replace(we,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ft=it?Ue.Buffer:void 0,Fe=Ue.Symbol,Te=Ue.Uint8Array,ut=ft?ft.allocUnsafe:void 0,le=Xt(Object.getPrototypeOf,Object),$e=Object.create,Qe=Re.propertyIsEnumerable,Tt=vt.splice,Ot=Fe?Fe.toStringTag:void 0,Ut=function(){try{var Vn=Lt(Object,"defineProperty");return Vn({},"",{}),Vn}catch(tr){}}(),At=ft?ft.isBuffer:void 0,Pt=Math.max,Dt=Date.now,Qt=Lt(Ue,"Map"),cn=Lt(Object,"create"),$n=function(){function Vn(){}return function(tr){if(!Da(tr))return{};if($e)return $e(tr);Vn.prototype=tr;var Ea=new Vn;return Vn.prototype=void 0,Ea}}();function hn(Vn){var tr=-1,Ea=Vn==null?0:Vn.length;for(this.clear();++tr<Ea;){var Ja=Vn[tr];this.set(Ja[0],Ja[1])}}function _n(){this.__data__=cn?cn(null):{},this.size=0}function bn(Vn){var tr=this.has(Vn)&&delete this.__data__[Vn];return this.size-=tr?1:0,tr}function Bn(Vn){var tr=this.__data__;if(cn){var Ea=tr[Vn];return Ea===C?void 0:Ea}return Ge.call(tr,Vn)?tr[Vn]:void 0}function Tn(Vn){var tr=this.__data__;return cn?tr[Vn]!==void 0:Ge.call(tr,Vn)}function Tr(Vn,tr){var Ea=this.__data__;return this.size+=this.has(Vn)?0:1,Ea[Vn]=cn&&tr===void 0?C:tr,this}hn.prototype.clear=_n,hn.prototype.delete=bn,hn.prototype.get=Bn,hn.prototype.has=Tn,hn.prototype.set=Tr;function Sr(Vn){var tr=-1,Ea=Vn==null?0:Vn.length;for(this.clear();++tr<Ea;){var Ja=Vn[tr];this.set(Ja[0],Ja[1])}}function Wr(){this.__data__=[],this.size=0}function br(Vn){var tr=this.__data__,Ea=Zt(tr,Vn);if(Ea<0)return!1;var Ja=tr.length-1;return Ea==Ja?tr.pop():Tt.call(tr,Ea,1),--this.size,!0}function Wn(Vn){var tr=this.__data__,Ea=Zt(tr,Vn);return Ea<0?void 0:tr[Ea][1]}function gr(Vn){return Zt(this.__data__,Vn)>-1}function na(Vn,tr){var Ea=this.__data__,Ja=Zt(Ea,Vn);return Ja<0?(++this.size,Ea.push([Vn,tr])):Ea[Ja][1]=tr,this}Sr.prototype.clear=Wr,Sr.prototype.delete=br,Sr.prototype.get=Wn,Sr.prototype.has=gr,Sr.prototype.set=na;function jn(Vn){var tr=-1,Ea=Vn==null?0:Vn.length;for(this.clear();++tr<Ea;){var Ja=Vn[tr];this.set(Ja[0],Ja[1])}}function un(){this.size=0,this.__data__={hash:new hn,map:new(Qt||Sr),string:new hn}}function zt(Vn){var tr=Un(this,Vn).delete(Vn);return this.size-=tr?1:0,tr}function Bt(Vn){return Un(this,Vn).get(Vn)}function H(Vn){return Un(this,Vn).has(Vn)}function ot(Vn,tr){var Ea=Un(this,Vn),Ja=Ea.size;return Ea.set(Vn,tr),this.size+=Ea.size==Ja?0:1,this}jn.prototype.clear=un,jn.prototype.delete=zt,jn.prototype.get=Bt,jn.prototype.has=H,jn.prototype.set=ot;function nt(Vn){var tr=this.__data__=new Sr(Vn);this.size=tr.size}function Ct(){this.__data__=new Sr,this.size=0}function Wt(Vn){var tr=this.__data__,Ea=tr.delete(Vn);return this.size=tr.size,Ea}function kn(Vn){return this.__data__.get(Vn)}function Sn(Vn){return this.__data__.has(Vn)}function Zn(Vn,tr){var Ea=this.__data__;if(Ea instanceof Sr){var Ja=Ea.__data__;if(!Qt||Ja.length<O-1)return Ja.push([Vn,tr]),this.size=++Ea.size,this;Ea=this.__data__=new jn(Ja)}return Ea.set(Vn,tr),this.size=Ea.size,this}nt.prototype.clear=Ct,nt.prototype.delete=Wt,nt.prototype.get=kn,nt.prototype.has=Sn,nt.prototype.set=Zn;function Or(Vn,tr){var Ea=qi(Vn),Ja=!Ea&&Si(Vn),go=!Ea&&!Ja&&cs(Vn),fi=!Ea&&!Ja&&!go&&Rt(Vn),lo=Ea||Ja||go||fi,Oi=lo?tt(Vn.length,String):[],io=Oi.length;for(var Vi in Vn)(tr||Ge.call(Vn,Vi))&&!(lo&&(Vi=="length"||go&&(Vi=="offset"||Vi=="parent")||fi&&(Vi=="buffer"||Vi=="byteLength"||Vi=="byteOffset")||kr(Vi,io)))&&Oi.push(Vi);return Oi}function Yn(Vn,tr,Ea){(Ea!==void 0&&!Fi(Vn[tr],Ea)||Ea===void 0&&!(tr in Vn))&&rr(Vn,tr,Ea)}function Nn(Vn,tr,Ea){var Ja=Vn[tr];(!(Ge.call(Vn,tr)&&Fi(Ja,Ea))||Ea===void 0&&!(tr in Vn))&&rr(Vn,tr,Ea)}function Zt(Vn,tr){for(var Ea=Vn.length;Ea--;)if(Fi(Vn[Ea][0],tr))return Ea;return-1}function rr(Vn,tr,Ea){tr=="__proto__"&&Ut?Ut(Vn,tr,{configurable:!0,enumerable:!0,value:Ea,writable:!0}):Vn[tr]=Ea}var Gn=Cr();function ln(Vn){return Vn==null?Vn===void 0?Q:J:Ot&&Ot in Object(Vn)?gn(Vn):_i(Vn)}function Xn(Vn){return On(Vn)&&ln(Vn)==y}function Kn(Vn){if(!Da(Vn)||Na(Vn))return!1;var tr=ba(Vn)?at:fe;return tr.test(Zi(Vn))}function fr(Vn){return On(Vn)&&sa(Vn.length)&&!!Ke[ln(Vn)]}function Hn(Vn){if(!Da(Vn))return pi(Vn);var tr=ar(Vn),Ea=[];for(var Ja in Vn)Ja=="constructor"&&(tr||!Ge.call(Vn,Ja))||Ea.push(Ja);return Ea}function Sa(Vn,tr,Ea,Ja,go){Vn!==tr&&Gn(tr,function(fi,lo){if(go||(go=new nt),Da(fi))Lr(Vn,tr,lo,Ea,Sa,Ja,go);else{var Oi=Ja?Ja(ui(Vn,lo),fi,lo+"",Vn,tr,go):void 0;Oi===void 0&&(Oi=fi),Yn(Vn,lo,Oi)}},ta)}function Lr(Vn,tr,Ea,Ja,go,fi,lo){var Oi=ui(Vn,Ea),io=ui(tr,Ea),Vi=lo.get(io);if(Vi){Yn(Vn,Ea,Vi);return}var vo=fi?fi(Oi,io,Ea+"",Vn,tr,lo):void 0,qo=vo===void 0;if(qo){var hs=qi(io),$t=!hs&&cs(io),rt=!hs&&!$t&&Rt(io);vo=io,hs||$t||rt?qi(Oi)?vo=Oi:xo(Oi)?vo=gi(Oi):$t?(qo=!1,vo=Ma(io,!0)):rt?(qo=!1,vo=qa(io,!0)):vo=[]:xn(io)||Si(io)?(vo=Oi,Si(Oi)?vo=mr(Oi):(!Da(Oi)||ba(Oi))&&(vo=Ln(io))):qo=!1}qo&&(lo.set(io,vo),go(vo,io,Ja,fi,lo),lo.delete(io)),Yn(Vn,Ea,vo)}function Ca(Vn,tr){return Ri(ti(Vn,tr,Pn),Vn+"")}var za=Ut?function(Vn,tr){return Ut(Vn,"toString",{configurable:!0,enumerable:!1,value:Oa(tr),writable:!0})}:Pn;function Ma(Vn,tr){if(tr)return Vn.slice();var Ea=Vn.length,Ja=ut?ut(Ea):new Vn.constructor(Ea);return Vn.copy(Ja),Ja}function va(Vn){var tr=new Vn.constructor(Vn.byteLength);return new Te(tr).set(new Te(Vn)),tr}function qa(Vn,tr){var Ea=tr?va(Vn.buffer):Vn.buffer;return new Vn.constructor(Ea,Vn.byteOffset,Vn.length)}function gi(Vn,tr){var Ea=-1,Ja=Vn.length;for(tr||(tr=Array(Ja));++Ea<Ja;)tr[Ea]=Vn[Ea];return tr}function Qi(Vn,tr,Ea,Ja){var go=!Ea;Ea||(Ea={});for(var fi=-1,lo=tr.length;++fi<lo;){var Oi=tr[fi],io=Ja?Ja(Ea[Oi],Vn[Oi],Oi,Ea,Vn):void 0;io===void 0&&(io=Vn[Oi]),go?rr(Ea,Oi,io):Nn(Ea,Oi,io)}return Ea}function mi(Vn){return Ca(function(tr,Ea){var Ja=-1,go=Ea.length,fi=go>1?Ea[go-1]:void 0,lo=go>2?Ea[2]:void 0;for(fi=Vn.length>3&&typeof fi=="function"?(go--,fi):void 0,lo&&ea(Ea[0],Ea[1],lo)&&(fi=go<3?void 0:fi,go=1),tr=Object(tr);++Ja<go;){var Oi=Ea[Ja];Oi&&Vn(tr,Oi,Ja,fi)}return tr})}function Cr(Vn){return function(tr,Ea,Ja){for(var go=-1,fi=Object(tr),lo=Ja(tr),Oi=lo.length;Oi--;){var io=lo[Vn?Oi:++go];if(Ea(fi[io],io,fi)===!1)break}return tr}}function Un(Vn,tr){var Ea=Vn.__data__;return Qr(tr)?Ea[typeof tr=="string"?"string":"hash"]:Ea.map}function Lt(Vn,tr){var Ea=xt(Vn,tr);return Kn(Ea)?Ea:void 0}function gn(Vn){var tr=Ge.call(Vn,Ot),Ea=Vn[Ot];try{Vn[Ot]=void 0;var Ja=!0}catch(fi){}var go=bt.call(Vn);return Ja&&(tr?Vn[Ot]=Ea:delete Vn[Ot]),go}function Ln(Vn){return typeof Vn.constructor=="function"&&!ar(Vn)?$n(le(Vn)):{}}function kr(Vn,tr){var Ea=typeof Vn;return tr=tr==null?S:tr,!!tr&&(Ea=="number"||Ea!="symbol"&&pe.test(Vn))&&Vn>-1&&Vn%1==0&&Vn<tr}function ea(Vn,tr,Ea){if(!Da(Ea))return!1;var Ja=typeof tr;return(Ja=="number"?eo(Ea)&&kr(tr,Ea.length):Ja=="string"&&tr in Ea)?Fi(Ea[tr],Vn):!1}function Qr(Vn){var tr=typeof Vn;return tr=="string"||tr=="number"||tr=="symbol"||tr=="boolean"?Vn!=="__proto__":Vn===null}function Na(Vn){return!!_t&&_t in Vn}function ar(Vn){var tr=Vn&&Vn.constructor,Ea=typeof tr=="function"&&tr.prototype||Re;return Vn===Ea}function pi(Vn){var tr=[];if(Vn!=null)for(var Ea in Object(Vn))tr.push(Ea);return tr}function _i(Vn){return bt.call(Vn)}function ti(Vn,tr,Ea){return tr=Pt(tr===void 0?Vn.length-1:tr,0),function(){for(var Ja=arguments,go=-1,fi=Pt(Ja.length-tr,0),lo=Array(fi);++go<fi;)lo[go]=Ja[tr+go];go=-1;for(var Oi=Array(tr+1);++go<tr;)Oi[go]=Ja[go];return Oi[tr]=Ea(lo),Et(Vn,this,Oi)}}function ui(Vn,tr){if(!(tr==="constructor"&&typeof Vn[tr]=="function")&&tr!="__proto__")return Vn[tr]}var Ri=ao(za);function ao(Vn){var tr=0,Ea=0;return function(){var Ja=Dt(),go=A-(Ja-Ea);if(Ea=Ja,go>0){if(++tr>=k)return arguments[0]}else tr=0;return Vn.apply(void 0,arguments)}}function Zi(Vn){if(Vn!=null){try{return Ve.call(Vn)}catch(tr){}try{return Vn+""}catch(tr){}}return""}function Fi(Vn,tr){return Vn===tr||Vn!==Vn&&tr!==tr}var Si=Xn(function(){return arguments}())?Xn:function(Vn){return On(Vn)&&Ge.call(Vn,"callee")&&!Qe.call(Vn,"callee")},qi=Array.isArray;function eo(Vn){return Vn!=null&&sa(Vn.length)&&!ba(Vn)}function xo(Vn){return On(Vn)&&eo(Vn)}var cs=At||Kr;function ba(Vn){if(!Da(Vn))return!1;var tr=ln(Vn);return tr==N||tr==F||tr==x||tr==X}function sa(Vn){return typeof Vn=="number"&&Vn>-1&&Vn%1==0&&Vn<=S}function Da(Vn){var tr=typeof Vn;return Vn!=null&&(tr=="object"||tr=="function")}function On(Vn){return Vn!=null&&typeof Vn=="object"}function xn(Vn){if(!On(Vn)||ln(Vn)!=$)return!1;var tr=le(Vn);if(tr===null)return!0;var Ea=Ge.call(tr,"constructor")&&tr.constructor;return typeof Ea=="function"&&Ea instanceof Ea&&Ve.call(Ea)==gt}var Rt=lt?mt(lt):fr;function mr(Vn){return Qi(Vn,ta(Vn))}function ta(Vn){return eo(Vn)?Or(Vn,!0):Hn(Vn)}var ma=mi(function(Vn,tr,Ea){Sa(Vn,tr,Ea)});function Oa(Vn){return function(){return Vn}}function Pn(Vn){return Vn}function Kr(){return!1}m.exports=ma}).call(this,l("IyRk"),l("hOG+")(ce))},"2qtc":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("1wcP"),C=l.n(O),k=l("+L6B")},"2wW7":function(ce,R,l){"use strict";R.__esModule=!0;var E=l("lJMd"),m=w(E),O=l("Lm90"),C=w(O),k=l("JnMS"),A=w(k),S=l("GEfv"),y=w(S);function w(x){return x&&x.__esModule?x:{default:x}}R.default={format:function(T,j){switch(j=j||{},j.language){case"db2":return new m.default(j).format(T);case"n1ql":return new C.default(j).format(T);case"pl/sql":return new A.default(j).format(T);case"sql":case void 0:return new y.default(j).format(T);default:throw Error("Unsupported SQL dialect: "+j.language)}}},ce.exports=R.default},"3/ER":function(ce,R,l){"use strict";(function(E){var m=l("Ju5/"),O=typeof exports=="object"&&exports&&!exports.nodeType&&exports,C=O&&typeof E=="object"&&E&&!E.nodeType&&E,k=C&&C.exports===O,A=k?m.a.Buffer:void 0,S=A?A.allocUnsafe:void 0;function y(w,x){if(x)return w.slice();var T=w.length,j=S?S(T):new w.constructor(T);return w.copy(j),j}R.a=y}).call(this,l("Vg/k")(ce))},"33TD":function(ce,R,l){"use strict";var E=l("1Cbe"),m=l("Ei+o");ce.exports=E?{}.toString:function(){return"[object "+m(this)+"]"}},"33yf":function(ce,R,l){(function(E){function m(A,S){for(var y=0,w=A.length-1;w>=0;w--){var x=A[w];x==="."?A.splice(w,1):x===".."?(A.splice(w,1),y++):y&&(A.splice(w,1),y--)}if(S)for(;y--;y)A.unshift("..");return A}R.resolve=function(){for(var A="",S=!1,y=arguments.length-1;y>=-1&&!S;y--){var w=y>=0?arguments[y]:E.cwd();if(typeof w!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!w)continue;A=w+"/"+A,S=w.charAt(0)==="/"}return A=m(C(A.split("/"),function(x){return!!x}),!S).join("/"),(S?"/":"")+A||"."},R.normalize=function(A){var S=R.isAbsolute(A),y=k(A,-1)==="/";return A=m(C(A.split("/"),function(w){return!!w}),!S).join("/"),!A&&!S&&(A="."),A&&y&&(A+="/"),(S?"/":"")+A},R.isAbsolute=function(A){return A.charAt(0)==="/"},R.join=function(){var A=Array.prototype.slice.call(arguments,0);return R.normalize(C(A,function(S,y){if(typeof S!="string")throw new TypeError("Arguments to path.join must be strings");return S}).join("/"))},R.relative=function(A,S){A=R.resolve(A).substr(1),S=R.resolve(S).substr(1);function y(F){for(var B=0;B<F.length&&F[B]==="";B++);for(var U=F.length-1;U>=0&&F[U]==="";U--);return B>U?[]:F.slice(B,U-B+1)}for(var w=y(A.split("/")),x=y(S.split("/")),T=Math.min(w.length,x.length),j=T,D=0;D<T;D++)if(w[D]!==x[D]){j=D;break}for(var N=[],D=j;D<w.length;D++)N.push("..");return N=N.concat(x.slice(j)),N.join("/")},R.sep="/",R.delimiter=":",R.dirname=function(A){if(typeof A!="string"&&(A=A+""),A.length===0)return".";for(var S=A.charCodeAt(0),y=S===47,w=-1,x=!0,T=A.length-1;T>=1;--T)if(S=A.charCodeAt(T),S===47){if(!x){w=T;break}}else x=!1;return w===-1?y?"/":".":y&&w===1?"/":A.slice(0,w)};function O(A){typeof A!="string"&&(A=A+"");var S=0,y=-1,w=!0,x;for(x=A.length-1;x>=0;--x)if(A.charCodeAt(x)===47){if(!w){S=x+1;break}}else y===-1&&(w=!1,y=x+1);return y===-1?"":A.slice(S,y)}R.basename=function(A,S){var y=O(A);return S&&y.substr(-1*S.length)===S&&(y=y.substr(0,y.length-S.length)),y},R.extname=function(A){typeof A!="string"&&(A=A+"");for(var S=-1,y=0,w=-1,x=!0,T=0,j=A.length-1;j>=0;--j){var D=A.charCodeAt(j);if(D===47){if(!x){y=j+1;break}continue}w===-1&&(x=!1,w=j+1),D===46?S===-1?S=j:T!==1&&(T=1):S!==-1&&(T=-1)}return S===-1||w===-1||T===0||T===1&&S===w-1&&S===y+1?"":A.slice(S,w)};function C(A,S){if(A.filter)return A.filter(S);for(var y=[],w=0;w<A.length;w++)S(A[w],w,A)&&y.push(A[w]);return y}var k="ab".substr(-1)==="b"?function(A,S,y){return A.substr(S,y)}:function(A,S,y){return S<0&&(S=A.length+S),A.substr(S,y)}}).call(this,l("Q2Ig"))},"3A9y":function(ce,R){function l(E){return this.__data__.has(E)}ce.exports=l},"3F7U":function(ce,R,l){"use strict";var E=function(y){return+setTimeout(y,16)},m=function(y){return clearTimeout(y)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(E=function(y){return window.requestAnimationFrame(y)},m=function(y){return window.cancelAnimationFrame(y)});var O=0,C=new Map;function k(S){C.delete(S)}var A=function(y){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;O+=1;var x=O;function T(j){if(j===0)k(x),y();else{var D=E(function(){T(j-1)});C.set(x,D)}}return T(w),x};A.cancel=function(S){var y=C.get(S);return k(y),m(y)},R.a=A},"3Fdi":function(ce,R){var l=Function.prototype,E=l.toString;function m(O){if(O!=null){try{return E.call(O)}catch(C){}try{return O+""}catch(C){}}return""}ce.exports=m},"3L66":function(ce,R,l){var E=l("MMmD"),m=l("ExA7");function O(C){return m(C)&&E(C)}ce.exports=O},"3Nzz":function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("q1tI"),m=l.n(E),O=E.createContext(void 0),C=function(A){var S=A.children,y=A.size;return E.createElement(O.Consumer,null,function(w){return E.createElement(O.Provider,{value:y||w},S)})};R.b=O},"3S7+":function(ce,R,l){"use strict";var E=l("rePB"),m=l("ODXe"),O=l("wx14"),C=l("TSYQ"),k=l.n(C),A=l("U8pU"),S=l("VTBJ"),y=l("Ff2n"),w=l("q1tI"),x=l("uciX"),T=l("7ixt");function j(_e){var he=_e.showArrow,oe=_e.arrowContent,ge=_e.children,me=_e.prefixCls,Z=_e.id,xe=_e.overlayInnerStyle,Ee=_e.className,Le=_e.style;return w.createElement("div",{className:k()("".concat(me,"-content"),Ee),style:Le},he!==!1&&w.createElement("div",{className:"".concat(me,"-arrow"),key:"arrow"},oe),w.createElement("div",{className:"".concat(me,"-inner"),id:Z,role:"tooltip",style:xe},typeof ge=="function"?ge():ge))}var D=function(he,oe){var ge=he.overlayClassName,me=he.trigger,Z=me===void 0?["hover"]:me,xe=he.mouseEnterDelay,Ee=xe===void 0?0:xe,Le=he.mouseLeaveDelay,we=Le===void 0?.1:Le,fe=he.overlayStyle,pe=he.prefixCls,Ke=pe===void 0?"rc-tooltip":pe,Me=he.children,ze=he.onVisibleChange,Ue=he.afterVisibleChange,He=he.transitionName,Ne=he.animation,it=he.motion,Xe=he.placement,ht=Xe===void 0?"right":Xe,lt=he.align,Et=lt===void 0?{}:lt,tt=he.destroyTooltipOnHide,mt=tt===void 0?!1:tt,xt=he.defaultVisible,Xt=he.getTooltipContainer,vt=he.overlayInnerStyle,qe=he.arrowContent,Re=he.overlay,Se=he.id,Ve=he.showArrow,Ge=Object(y.a)(he,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),_t=Object(w.useRef)(null);Object(w.useImperativeHandle)(oe,function(){return _t.current});var bt=Object(S.a)({},Ge);"visible"in he&&(bt.popupVisible=he.visible);var gt=function(){return w.createElement(j,{showArrow:Ve,arrowContent:qe,key:"content",prefixCls:Ke,id:Se,overlayInnerStyle:vt},Re)},at=!1,ft=!1;if(typeof mt=="boolean")at=mt;else if(mt&&Object(A.a)(mt)==="object"){var Fe=mt.keepParent;at=Fe===!0,ft=Fe===!1}return w.createElement(x.a,Object(O.a)({popupClassName:ge,prefixCls:Ke,popup:gt,action:Z,builtinPlacements:T.a,popupPlacement:ht,ref:_t,popupAlign:Et,getPopupContainer:Xt,onPopupVisibleChange:ze,afterPopupVisibleChange:Ue,popupTransitionName:He,popupAnimation:Ne,popupMotion:it,defaultPopupVisible:xt,destroyPopupOnHide:at,autoDestroy:ft,mouseLeaveDelay:we,popupStyle:fe,mouseEnterDelay:Ee},bt),Me)},N=Object(w.forwardRef)(D),F=N,B=l("pAT6"),U=l("H84U"),J=l("09Wf"),$=l("EXcs"),X=l("NWM5"),ee=l("0n0R"),ie=function(_e,he){var oe={};for(var ge in _e)Object.prototype.hasOwnProperty.call(_e,ge)&&he.indexOf(ge)<0&&(oe[ge]=_e[ge]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ge=Object.getOwnPropertySymbols(_e);me<ge.length;me++)he.indexOf(ge[me])<0&&Object.prototype.propertyIsEnumerable.call(_e,ge[me])&&(oe[ge[me]]=_e[ge[me]]);return oe},G=function(he,oe){var ge={},me=Object(O.a)({},he);return oe.forEach(function(Z){he&&Z in he&&(ge[Z]=he[Z],delete me[Z])}),{picked:ge,omitted:me}},Q=new RegExp("^(".concat(J.a.join("|"),")(-inverse)?$"));function W(_e,he){var oe=_e.type;if((oe.__ANT_BUTTON===!0||_e.type==="button")&&_e.props.disabled||oe.__ANT_SWITCH===!0&&(_e.props.disabled||_e.props.loading)||oe.__ANT_RADIO===!0&&_e.props.disabled){var ge=G(_e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),me=ge.picked,Z=ge.omitted,xe=Object(O.a)(Object(O.a)({display:"inline-block"},me),{cursor:"not-allowed",width:_e.props.block?"100%":void 0}),Ee=Object(O.a)(Object(O.a)({},Z),{pointerEvents:"none"}),Le=Object(ee.a)(_e,{style:Ee,className:null});return w.createElement("span",{style:xe,className:k()(_e.props.className,"".concat(he,"-disabled-compatible-wrapper"))},Le)}return _e}var ne=w.forwardRef(function(_e,he){var oe,ge=w.useContext(U.b),me=ge.getPopupContainer,Z=ge.getPrefixCls,xe=ge.direction,Ee=Object(B.a)(!1,{value:_e.open!==void 0?_e.open:_e.visible,defaultValue:_e.defaultOpen!==void 0?_e.defaultOpen:_e.defaultVisible}),Le=Object(m.a)(Ee,2),we=Le[0],fe=Le[1],pe=function(){var le=_e.title,$e=_e.overlay;return!le&&!$e&&le!==0},Ke=function(le){var $e,Qe;fe(pe()?!1:le),pe()||(($e=_e.onOpenChange)===null||$e===void 0||$e.call(_e,le),(Qe=_e.onVisibleChange)===null||Qe===void 0||Qe.call(_e,le))},Me=function(){var le=_e.builtinPlacements,$e=_e.arrowPointAtCenter,Qe=$e===void 0?!1:$e,Tt=_e.autoAdjustOverflow,Ot=Tt===void 0?!0:Tt;return le||Object(X.a)({arrowPointAtCenter:Qe,autoAdjustOverflow:Ot})},ze=function(le,$e){var Qe=Me(),Tt=Object.keys(Qe).find(function(At){var Pt,Dt;return Qe[At].points[0]===((Pt=$e.points)===null||Pt===void 0?void 0:Pt[0])&&Qe[At].points[1]===((Dt=$e.points)===null||Dt===void 0?void 0:Dt[1])});if(!!Tt){var Ot=le.getBoundingClientRect(),Ut={top:"50%",left:"50%"};/top|Bottom/.test(Tt)?Ut.top="".concat(Ot.height-$e.offset[1],"px"):/Top|bottom/.test(Tt)&&(Ut.top="".concat(-$e.offset[1],"px")),/left|Right/.test(Tt)?Ut.left="".concat(Ot.width-$e.offset[0],"px"):/right|Left/.test(Tt)&&(Ut.left="".concat(-$e.offset[0],"px")),le.style.transformOrigin="".concat(Ut.left," ").concat(Ut.top)}},Ue=function(){var le=_e.title,$e=_e.overlay;return le===0?le:$e||le||""},He=_e.getPopupContainer,Ne=_e.placement,it=Ne===void 0?"top":Ne,Xe=_e.mouseEnterDelay,ht=Xe===void 0?.1:Xe,lt=_e.mouseLeaveDelay,Et=lt===void 0?.1:lt,tt=ie(_e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),mt=_e.prefixCls,xt=_e.openClassName,Xt=_e.getTooltipContainer,vt=_e.overlayClassName,qe=_e.color,Re=_e.overlayInnerStyle,Se=_e.children,Ve=Z("tooltip",mt),Ge=Z(),_t=we;!("open"in _e)&&!("visible"in _e)&&pe()&&(_t=!1);var bt=W(Object(ee.c)(Se)&&!Object(ee.b)(Se)?Se:w.createElement("span",null,Se),Ve),gt=bt.props,at=!gt.className||typeof gt.className=="string"?k()(gt.className,Object(E.a)({},xt||"".concat(Ve,"-open"),!0)):gt.className,ft=k()(vt,(oe={},Object(E.a)(oe,"".concat(Ve,"-rtl"),xe==="rtl"),Object(E.a)(oe,"".concat(Ve,"-").concat(qe),qe&&Q.test(qe)),oe)),Fe=Re,Te={};return qe&&!Q.test(qe)&&(Fe=Object(O.a)(Object(O.a)({},Re),{background:qe}),Te={"--antd-arrow-background-color":qe}),w.createElement(F,Object(O.a)({},tt,{placement:it,mouseEnterDelay:ht,mouseLeaveDelay:Et,prefixCls:Ve,overlayClassName:ft,getTooltipContainer:He||Xt||me,ref:he,builtinPlacements:Me(),overlay:Ue(),visible:_t,onVisibleChange:Ke,onPopupAlign:ze,overlayInnerStyle:Fe,arrowContent:w.createElement("span",{className:"".concat(Ve,"-arrow-content"),style:Te}),motion:{motionName:Object($.c)(Ge,"zoom-big-fast",_e.transitionName),motionDeadline:1e3}}),_t?Object(ee.a)(bt,{className:at}):bt)}),te=R.a=ne},"3UWB":function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{isubh:function(O,C,k,A){var S=O>>>0,y=C>>>0,w=k>>>0;return y-(A>>>0)-((~S&w|~(S^w)&S-w>>>0)>>>31)|0}})},"3Us1":function(ce,R,l){var E=l("Mi8B");E("Float32",function(m){return function(C,k,A){return m(this,C,k,A)}})},"3WF5":function(ce,R,l){var E=l("eUgh"),m=l("ut/Y"),O=l("l9OW"),C=l("Z0cm");function k(A,S){var y=C(A)?E:O;return y(A,m(S,3))}ce.exports=k},"3dhw":function(ce,R,l){"use strict";var E=l("NMFW"),m=l("f1E4"),O=l("MVys"),C=l("k/J9"),k="toString",A=RegExp.prototype,S=A[k],y=O(function(){return S.call({source:"a",flags:"b"})!="/a/b"}),w=S.name!=k;(y||w)&&E(RegExp.prototype,k,function(){var T=m(this),j=String(T.source),D=T.flags,N=String(D===void 0&&T instanceof RegExp&&!("flags"in A)?C.call(T):D);return"/"+j+"/"+N},{unsafe:!0})},"3imC":function(ce,R,l){"use strict";l.r(R);var E=l("+L6B"),m=l("2/Rp"),O=l("5NDa"),C=l("5rEg"),k=l("DYRE"),A=l("zeV3"),S=l("qLMh"),y=l("miYZ"),w=l("tsqr"),x=l("k1fw"),T=l("9og8"),j=l("tJVT"),D=l("y8nQ"),N=l("Vl3Y"),F=l("Qj5C"),B=l.n(F),U=l("VTBJ"),J=l("q1tI"),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},X=$,ee=l("6VBw"),ie=function(Xe,ht){return J.createElement(ee.a,Object(U.a)(Object(U.a)({},Xe),{},{ref:ht,icon:X}))};ie.displayName="UserOutlined";var G=J.forwardRef(ie),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},W=Q,ne=function(Xe,ht){return J.createElement(ee.a,Object(U.a)(Object(U.a)({},Xe),{},{ref:ht,icon:W}))};ne.displayName="LockOutlined";var te=J.forwardRef(ne),_e=l("2qtc"),he=l("kLXV"),oe=l("nKUr"),ge={labelCol:{span:4},wrapperCol:{span:18}},me=N.a.Item,Z=function(Xe){var ht=Object(J.useState)({name:"",password:""}),lt=Object(j.a)(ht,2),Et=lt[0],tt=lt[1],mt=Object(J.useState)(!1),xt=Object(j.a)(mt,2),Xt=xt[0],vt=xt[1],qe=N.a.useForm(),Re=Object(j.a)(qe,1),Se=Re[0],Ve=Xe.onSubmit,Ge=Xe.onCancel,_t=Xe.createModalVisible,bt=function(){var at=Object(T.a)(Object(S.a)().mark(function ft(){var Fe,Te;return Object(S.a)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Se.validateFields();case 2:return Fe=le.sent,tt(Object(x.a)(Object(x.a)({},Et),Fe)),vt(!0),Te=Object(x.a)(Object(x.a)({},Et),Fe),le.prev=6,le.next=9,Ve(Te);case 9:vt(!1),le.next=15;break;case 12:le.prev=12,le.t0=le.catch(6),vt(!1);case 15:case"end":return le.stop()}},ft,null,[[6,12]])}));return function(){return at.apply(this,arguments)}}(),gt=function(){return Object(oe.jsxs)(oe.Fragment,{children:[Object(oe.jsx)(m.a,{onClick:Ge,children:"\u53D6\u6D88"}),Object(oe.jsx)(m.a,{type:"primary",loading:Xt,onClick:bt,children:"\u5B8C\u6210\u6CE8\u518C"})]})};return Object(oe.jsx)(he.a,{width:600,bodyStyle:{padding:"32px 40px 48px"},destroyOnClose:!0,title:"\u7528\u6237\u6CE8\u518C",open:_t,footer:gt(),onCancel:Ge,children:Object(oe.jsxs)(N.a,Object(x.a)(Object(x.a)({},ge),{},{form:Se,initialValues:Object(x.a)({},Et),children:[Object(oe.jsx)(me,{name:"name",rules:[{required:!0}],label:"\u8D26\u53F7",children:Object(oe.jsx)(C.a,{size:"large",placeholder:"\u8BF7\u8F93\u5165\u8D26\u53F7"})}),Object(oe.jsx)(me,{name:"password",rules:[{required:!0,min:6,max:10}],label:"\u5BC6\u7801",children:Object(oe.jsx)(C.a,{size:"large",type:"password",placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"})})]}))})},xe=Z,Ee=l("UOll"),Le=l("zbpD"),we=l("ZqBY");function fe(it){return Object(we.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"user/register"),{method:"POST",data:it})}function pe(it){return Object(we.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"user/login"),{method:"POST",data:it})}var Ke=l("L8Ib"),Me=l("BqDR"),ze=l("9kvl"),Ue=N.a.Item,He=function(){var Xe=Object(J.useState)(!1),ht=Object(j.a)(Xe,2),lt=ht[0],Et=ht[1],tt=Object(Le.useForm)(),mt=Object(j.a)(tt,1),xt=mt[0],Xt=Object(ze.j)("@@initialState"),vt=Xt.initialState,qe=vt===void 0?{}:vt,Re=Xt.setInitialState,Se=function(){var bt=Object(T.a)(Object(S.a)().mark(function gt(at){var ft,Fe,Te,ut,le,$e,Qe,Tt;return Object(S.a)().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.next=2,pe(at);case 2:if(ft=Ut.sent,Fe=ft.code,Te=ft.data,ut=ft.msg,Fe!==200){Ut.next=16;break}return localStorage.setItem(Ke.a,Te),Ut.next=10,Object(Me.a)();case 10:return le=Ut.sent,$e=le.code,Qe=le.data,$e===200&&(Tt=Object(x.a)(Object(x.a)({},Qe),{},{staffName:Qe.staffName||Qe.name}),Re(Object(x.a)(Object(x.a)({},qe),{},{currentUser:Tt}))),ze.d.push("/"),Ut.abrupt("return");case 16:w.default.success(ut);case 17:case"end":return Ut.stop()}},gt)}));return function(at){return bt.apply(this,arguments)}}(),Ve=function(){var bt=Object(T.a)(Object(S.a)().mark(function gt(){var at,ft;return Object(S.a)().wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return at=xt.validateFields,Te.next=3,at();case 3:return ft=Te.sent,Te.next=6,Se(ft);case 6:case"end":return Te.stop()}},gt)}));return function(){return bt.apply(this,arguments)}}(),Ge=function(){var bt=Object(T.a)(Object(S.a)().mark(function gt(at){var ft,Fe;return Object(S.a)().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.next=2,fe(Object(x.a)({},at));case 2:if(ft=ut.sent,Fe=ft.code,Fe!==200){ut.next=9;break}return w.default.success("\u6CE8\u518C\u6210\u529F"),Et(!1),ut.next=9,Se(at);case 9:case"end":return ut.stop()}},gt)}));return function(at){return bt.apply(this,arguments)}}(),_t=function(){Et(!0)};return Object(oe.jsxs)("div",{className:B.a.loginWarp,children:[Object(oe.jsx)("div",{className:B.a.content,children:Object(oe.jsx)("div",{className:B.a.formContent,children:Object(oe.jsx)("div",{className:B.a.formBox,children:Object(oe.jsx)(N.a,{form:xt,labelCol:{span:6},colon:!1,children:Object(oe.jsxs)("div",{className:B.a.loginMain,children:[Object(oe.jsx)("h3",{className:B.a.title,children:Object(oe.jsxs)(A.b,{children:[Object(oe.jsx)(Ee.b,{icon:Ee.a.iconlogobiaoshi,size:30,color:"#296DF3",style:{display:"inline-block",marginTop:8}}),Object(oe.jsx)("div",{children:"\u8D85\u97F3\u6570(SuperSonic)"})]})}),Object(oe.jsx)(Ue,{name:"name",rules:[{required:!0}],label:"",children:Object(oe.jsx)(C.a,{size:"large",placeholder:"\u7528\u6237\u540D: admin",prefix:Object(oe.jsx)(G,{})})}),Object(oe.jsx)(Ue,{name:"password",rules:[{required:!0}],label:"",children:Object(oe.jsx)(C.a,{size:"large",type:"password",placeholder:"\u5BC6\u7801: admin",onPressEnter:Ve,prefix:Object(oe.jsx)(te,{})})}),Object(oe.jsx)(m.a,{className:B.a.signInBtn,type:"primary",onClick:Ve,children:"\u767B\u5F55"}),Object(oe.jsx)("div",{className:B.a.tool,children:Object(oe.jsx)(m.a,{className:B.a.button,onClick:_t,children:"\u6CE8\u518C"})})]})})})})}),Object(oe.jsx)(xe,{onCancel:function(){Et(!1)},onSubmit:Ge,createModalVisible:lt})]})},Ne=R.default=He},"3j9d":function(ce,R,l){"use strict";var E=l("J+/v"),m=l("MoRW"),O=l("1OyB"),C=l("vuIU"),k=l("Ji7U"),A=l("LK+K"),S=l("nKUr"),y=l.n(S),w=l("q1tI"),x=l.n(w),T=function(j){Object(k.a)(N,j);var D=Object(A.a)(N);function N(){var F;Object(O.a)(this,N);for(var B=arguments.length,U=new Array(B),J=0;J<B;J++)U[J]=arguments[J];return F=D.call.apply(D,[this].concat(U)),F.state={hasError:!1,errorInfo:""},F}return Object(C.a)(N,[{key:"componentDidCatch",value:function(B,U){console.log(B,U)}},{key:"render",value:function(){return this.state.hasError?Object(S.jsx)(m.a,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(B){return{hasError:!0,errorInfo:B.message}}}]),N}(x.a.Component);R.a=T},"3oh8":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={},m=R.render=function(k,A,S,y){if(typeof document=="undefined"&&!y)return null;var w=y?new y:document.createElement("canvas");w.width=S*2,w.height=S*2;var x=w.getContext("2d");return x?(x.fillStyle=k,x.fillRect(0,0,w.width,w.height),x.fillStyle=A,x.fillRect(0,0,S,S),x.translate(S,S),x.fillRect(0,0,S,S),w.toDataURL()):null},O=R.get=function(k,A,S,y){var w=k+"-"+A+"-"+S+(y?"-server":"");if(E[w])return E[w];var x=m(k,A,S,y);return E[w]=x,x}},"3tO9":function(ce,R,l){var E=l("lSNA");function m(C,k){var A=Object.keys(C);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(C);k&&(S=S.filter(function(y){return Object.getOwnPropertyDescriptor(C,y).enumerable})),A.push.apply(A,S)}return A}function O(C){for(var k=1;k<arguments.length;k++){var A=arguments[k]!=null?arguments[k]:{};k%2?m(Object(A),!0).forEach(function(S){E(C,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(A)):m(Object(A)).forEach(function(S){Object.defineProperty(C,S,Object.getOwnPropertyDescriptor(A,S))})}return C}ce.exports=O,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"3zOE":function(ce,R,l){"use strict";l.d(R,"a",function(){return F});var E=l("A0Fo");function m(B,U){if(!B)return!1;if(B.contains)return B.contains(U);for(var J=U;J;){if(J===B)return!0;J=J.parentNode}return!1}var O="data-rc-order",C="rc-util-key",k=new Map;function A(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=B.mark;return U?U.startsWith("data-")?U:"data-".concat(U):C}function S(B){if(B.attachTo)return B.attachTo;var U=document.querySelector("head");return U||document.body}function y(B){return B==="queue"?"prependQueue":B?"prepend":"append"}function w(B){return Array.from((k.get(B)||B).children).filter(function(U){return U.tagName==="STYLE"})}function x(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(E.a)())return null;var J=U.csp,$=U.prepend,X=document.createElement("style");X.setAttribute(O,y($)),J!=null&&J.nonce&&(X.nonce=J==null?void 0:J.nonce),X.innerHTML=B;var ee=S(U),ie=ee.firstChild;if($){if($==="queue"){var G=w(ee).filter(function(Q){return["prepend","prependQueue"].includes(Q.getAttribute(O))});if(G.length)return ee.insertBefore(X,G[G.length-1].nextSibling),X}ee.insertBefore(X,ie)}else ee.appendChild(X);return X}function T(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=S(U);return w(J).find(function($){return $.getAttribute(A(U))===B})}function j(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=T(B,U);if(J){var $=S(U);$.removeChild(J)}}function D(B,U){var J=k.get(B);if(!J||!m(document,J)){var $=x("",U),X=$.parentNode;k.set(B,X),B.removeChild($)}}function N(){k.clear()}function F(B,U){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=S(J);D($,J);var X=T(U,J);if(X){var ee,ie;if((ee=J.csp)!==null&&ee!==void 0&&ee.nonce&&X.nonce!==((ie=J.csp)===null||ie===void 0?void 0:ie.nonce)){var G;X.nonce=(G=J.csp)===null||G===void 0?void 0:G.nonce}return X.innerHTML!==B&&(X.innerHTML=B),X}var Q=x(B,J);return Q.setAttribute(A(J),U),Q}},"4/ic":function(ce,R,l){var E=l("ZWtO");function m(O){return function(C){return E(C,O)}}ce.exports=m},"406g":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingOnSyntax=void 0;var E=l("z4Hk"),m=function(){function O(C){this._binding=C}return O.prototype.onActivation=function(C){return this._binding.onActivation=C,new E.BindingWhenSyntax(this._binding)},O}();R.BindingOnSyntax=m},"43iI":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("2FZw").end,O=l("y9mK");E({target:"String",proto:!0,forced:O},{padEnd:function(k){return m(this,k,arguments.length>1?arguments[1]:void 0)}})},"44Ds":function(ce,R,l){var E=l("e4Nc"),m="Expected a function";function O(C,k){if(typeof C!="function"||k!=null&&typeof k!="function")throw new TypeError(m);var A=function(){var S=arguments,y=k?k.apply(this,S):S[0],w=A.cache;if(w.has(y))return w.get(y);var x=C.apply(this,S);return A.cache=w.set(y,x)||w,x};return A.cache=new(O.Cache||E),A}O.Cache=E,ce.exports=O},"4Iru":function(ce,R,l){},"4Mzw":function(ce,R,l){var E=l("ukPv"),m=l("kiNa");m(E.JSON,"JSON",!0)},"4cb6":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.multiBindToService=R.getServiceIdentifierAsString=R.typeConstraint=R.namedConstraint=R.taggedConstraint=R.traverseAncerstors=R.decorate=R.id=R.MetadataReader=R.postConstruct=R.targetName=R.multiInject=R.unmanaged=R.optional=R.LazyServiceIdentifer=R.inject=R.named=R.tagged=R.injectable=R.ContainerModule=R.AsyncContainerModule=R.TargetTypeEnum=R.BindingTypeEnum=R.BindingScopeEnum=R.Container=R.METADATA_KEY=void 0;var E=l("xfSm");R.METADATA_KEY=E;var m=l("9Fde");Object.defineProperty(R,"Container",{enumerable:!0,get:function(){return m.Container}});var O=l("FV85");Object.defineProperty(R,"BindingScopeEnum",{enumerable:!0,get:function(){return O.BindingScopeEnum}}),Object.defineProperty(R,"BindingTypeEnum",{enumerable:!0,get:function(){return O.BindingTypeEnum}}),Object.defineProperty(R,"TargetTypeEnum",{enumerable:!0,get:function(){return O.TargetTypeEnum}});var C=l("dxzI");Object.defineProperty(R,"AsyncContainerModule",{enumerable:!0,get:function(){return C.AsyncContainerModule}}),Object.defineProperty(R,"ContainerModule",{enumerable:!0,get:function(){return C.ContainerModule}});var k=l("cZ5Q");Object.defineProperty(R,"injectable",{enumerable:!0,get:function(){return k.injectable}});var A=l("0gSV");Object.defineProperty(R,"tagged",{enumerable:!0,get:function(){return A.tagged}});var S=l("ZzCi");Object.defineProperty(R,"named",{enumerable:!0,get:function(){return S.named}});var y=l("Yk9n");Object.defineProperty(R,"inject",{enumerable:!0,get:function(){return y.inject}}),Object.defineProperty(R,"LazyServiceIdentifer",{enumerable:!0,get:function(){return y.LazyServiceIdentifer}});var w=l("jYx5");Object.defineProperty(R,"optional",{enumerable:!0,get:function(){return w.optional}});var x=l("n2J3");Object.defineProperty(R,"unmanaged",{enumerable:!0,get:function(){return x.unmanaged}});var T=l("jIg/");Object.defineProperty(R,"multiInject",{enumerable:!0,get:function(){return T.multiInject}});var j=l("oaX6");Object.defineProperty(R,"targetName",{enumerable:!0,get:function(){return j.targetName}});var D=l("Sk89");Object.defineProperty(R,"postConstruct",{enumerable:!0,get:function(){return D.postConstruct}});var N=l("wnjb");Object.defineProperty(R,"MetadataReader",{enumerable:!0,get:function(){return N.MetadataReader}});var F=l("d9O0");Object.defineProperty(R,"id",{enumerable:!0,get:function(){return F.id}});var B=l("Ztfv");Object.defineProperty(R,"decorate",{enumerable:!0,get:function(){return B.decorate}});var U=l("RR/i");Object.defineProperty(R,"traverseAncerstors",{enumerable:!0,get:function(){return U.traverseAncerstors}}),Object.defineProperty(R,"taggedConstraint",{enumerable:!0,get:function(){return U.taggedConstraint}}),Object.defineProperty(R,"namedConstraint",{enumerable:!0,get:function(){return U.namedConstraint}}),Object.defineProperty(R,"typeConstraint",{enumerable:!0,get:function(){return U.typeConstraint}});var J=l("ujMp");Object.defineProperty(R,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return J.getServiceIdentifierAsString}});var $=l("78VC");Object.defineProperty(R,"multiBindToService",{enumerable:!0,get:function(){return $.multiBindToService}})},"4i/N":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CloseOutlined";var S=R.a=m.forwardRef(A)},"4iDX":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.red=void 0;var E=l("xkGU"),m=k(E),O=l("lMfh"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}R.default={simpleCheckForValidColor:function(y){var w=["r","g","b","a","h","s","l","v"],x=0,T=0;return(0,m.default)(w,function(j){if(y[j]&&(x+=1,isNaN(y[j])||(T+=1),j==="s"||j==="l")){var D=/^\d+%$/;D.test(y[j])&&(T+=1)}}),x===T?y:!1},toState:function(y,w){var x=y.hex?(0,C.default)(y.hex):(0,C.default)(y),T=x.toHsl(),j=x.toHsv(),D=x.toRgb(),N=x.toHex();T.s===0&&(T.h=w||0,j.h=w||0);var F=N==="000000"&&D.a===0;return{hsl:T,hex:F?"transparent":"#"+N,rgb:D,hsv:j,oldHue:y.h||w||T.h,source:y.source}},isValidHex:function(y){var w=String(y).charAt(0)==="#"?1:0;return y.length!==4+w&&y.length<7+w&&(0,C.default)(y).isValid()},getContrastingColor:function(y){if(!y)return"#fff";var w=this.toState(y);if(w.hex==="transparent")return"rgba(0,0,0,0.4)";var x=(w.rgb.r*299+w.rgb.g*587+w.rgb.b*114)/1e3;return x>=128?"#000":"#fff"}};var A=R.red={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}}},"4kuk":function(ce,R,l){var E=l("SfRM"),m=l("Hvzi"),O=l("u8Dt"),C=l("ekgI"),k=l("JSQU");function A(S){var y=-1,w=S==null?0:S.length;for(this.clear();++y<w;){var x=S[y];this.set(x[0],x[1])}}A.prototype.clear=E,A.prototype.delete=m,A.prototype.get=O,A.prototype.has=C,A.prototype.set=k,ce.exports=A},"4qC0":function(ce,R,l){var E=l("NykK"),m=l("Z0cm"),O=l("ExA7"),C="[object String]";function k(A){return typeof A=="string"||!m(A)&&O(A)&&E(A)==C}ce.exports=k},"4rKd":function(ce,R,l){var E=l("lz10"),m=l("aKVN"),O=l("2kyd"),C=O("toPrimitive"),k=Date.prototype;C in k||E(k,C,m)},"4sDh":function(ce,R,l){var E=l("4uTw"),m=l("03A+"),O=l("Z0cm"),C=l("wJg7"),k=l("shjB"),A=l("9Nap");function S(y,w,x){w=E(w,y);for(var T=-1,j=w.length,D=!1;++T<j;){var N=A(w[T]);if(!(D=y!=null&&x(y,N)))break;y=y[N]}return D||++T!=j?D:(j=y==null?0:y.length,!!j&&k(j)&&C(N,j)&&(O(y)||m(y)))}ce.exports=S},"4uTw":function(ce,R,l){var E=l("Z0cm"),m=l("9ggG"),O=l("GNiM"),C=l("dt0z");function k(A,S){return E(A)?A:m(A,S)?[A]:O(C(A))}ce.exports=k},"4yFJ":function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E),O=m.a.createContext(null);R.a=O},"52D2":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ChromePointerCircle=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.ChromePointerCircle=function(){var y=(0,C.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return m.default.createElement("div",{style:y.picker})};R.default=A},"55Ip":function(ce,R,l){"use strict";l.d(R,"a",function(){return U}),l.d(R,"b",function(){return G});var E=l("Ty5D"),m=l("dI71"),O=l("q1tI"),C=l.n(O),k=l("YS25"),A=l("wx14"),S=l("zLVn"),y=l("9R94"),w=function(W){Object(m.a)(ne,W);function ne(){for(var _e,he=arguments.length,oe=new Array(he),ge=0;ge<he;ge++)oe[ge]=arguments[ge];return _e=W.call.apply(W,[this].concat(oe))||this,_e.history=Object(k.a)(_e.props),_e}var te=ne.prototype;return te.render=function(){return C.a.createElement(E.e,{history:this.history,children:this.props.children})},ne}(C.a.Component),x=function(W){Object(m.a)(ne,W);function ne(){for(var _e,he=arguments.length,oe=new Array(he),ge=0;ge<he;ge++)oe[ge]=arguments[ge];return _e=W.call.apply(W,[this].concat(oe))||this,_e.history=Object(k.b)(_e.props),_e}var te=ne.prototype;return te.render=function(){return C.a.createElement(E.e,{history:this.history,children:this.props.children})},ne}(C.a.Component),T=function(ne,te){return typeof ne=="function"?ne(te):ne},j=function(ne,te){return typeof ne=="string"?Object(k.c)(ne,null,null,te):ne},D=function(ne){return ne},N=C.a.forwardRef;typeof N=="undefined"&&(N=D);function F(W){return!!(W.metaKey||W.altKey||W.ctrlKey||W.shiftKey)}var B=N(function(W,ne){var te=W.innerRef,_e=W.navigate,he=W.onClick,oe=Object(S.a)(W,["innerRef","navigate","onClick"]),ge=oe.target,me=Object(A.a)({},oe,{onClick:function(xe){try{he&&he(xe)}catch(Ee){throw xe.preventDefault(),Ee}!xe.defaultPrevented&&xe.button===0&&(!ge||ge==="_self")&&!F(xe)&&(xe.preventDefault(),_e())}});return D!==N?me.ref=ne||te:me.ref=te,C.a.createElement("a",me)}),U=N(function(W,ne){var te=W.component,_e=te===void 0?B:te,he=W.replace,oe=W.to,ge=W.innerRef,me=Object(S.a)(W,["component","replace","to","innerRef"]);return C.a.createElement(E.h.Consumer,null,function(Z){Z||Object(y.a)(!1);var xe=Z.history,Ee=j(T(oe,Z.location),Z.location),Le=Ee?xe.createHref(Ee):"",we=Object(A.a)({},me,{href:Le,navigate:function(){var pe=T(oe,Z.location),Ke=he?xe.replace:xe.push;Ke(pe)}});return D!==N?we.ref=ne||ge:we.innerRef=ge,C.a.createElement(_e,we)})});if(!1)var J,$;var X=function(ne){return ne},ee=C.a.forwardRef;typeof ee=="undefined"&&(ee=X);function ie(){for(var W=arguments.length,ne=new Array(W),te=0;te<W;te++)ne[te]=arguments[te];return ne.filter(function(_e){return _e}).join(" ")}var G=ee(function(W,ne){var te=W["aria-current"],_e=te===void 0?"page":te,he=W.activeClassName,oe=he===void 0?"active":he,ge=W.activeStyle,me=W.className,Z=W.exact,xe=W.isActive,Ee=W.location,Le=W.sensitive,we=W.strict,fe=W.style,pe=W.to,Ke=W.innerRef,Me=Object(S.a)(W,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return C.a.createElement(E.h.Consumer,null,function(ze){ze||Object(y.a)(!1);var Ue=Ee||ze.location,He=j(T(pe,Ue),Ue),Ne=He.pathname,it=Ne&&Ne.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),Xe=it?Object(E.i)(Ue.pathname,{path:it,exact:Z,sensitive:Le,strict:we}):null,ht=!!(xe?xe(Xe,Ue):Xe),lt=ht?ie(me,oe):me,Et=ht?Object(A.a)({},fe,{},ge):fe,tt=Object(A.a)({"aria-current":ht&&_e||null,className:lt,style:Et,to:He},Me);return X!==ee?tt.ref=ne||Ke:tt.innerRef=Ke,C.a.createElement(U,tt)})});if(!1)var Q},"57TA":function(ce,R,l){"use strict";var E=l("TOwV"),m={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},O={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},C={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},k={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A={};A[E.ForwardRef]=C,A[E.Memo]=k;function S(F){return E.isMemo(F)?k:A[F.$$typeof]||m}var y=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,j=Object.getPrototypeOf,D=Object.prototype;function N(F,B,U){if(typeof B!="string"){if(D){var J=j(B);J&&J!==D&&N(F,J,U)}var $=w(B);x&&($=$.concat(x(B)));for(var X=S(F),ee=S(B),ie=0;ie<$.length;++ie){var G=$[ie];if(!O[G]&&!(U&&U[G])&&!(ee&&ee[G])&&!(X&&X[G])){var Q=T(B,G);try{y(F,G,Q)}catch(W){}}}}return F}ce.exports=N},"5Blz":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("9RRT").right,O=l("R8iy"),C=l("kGMc"),k=O("reduceRight"),A=C("reduce",{1:0});E({target:"Array",proto:!0,forced:!k||!A},{reduceRight:function(y){return m(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"5Dmo":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("5YgA"),C=l.n(O)},"5JgN":function(ce,R,l){"use strict";l("FbcW");var E=l("MMxC"),m=l("29mP"),O=l("lgSf"),C=l("NMFW"),k=l("ujhg"),A=l("kiNa"),S=l("uoF6"),y=l("1aI8"),w=l("igoe"),x=l("jtLI"),T=l("7BAe"),j=l("Ei+o"),D=l("f1E4"),N=l("tSXo"),F=l("u+7+"),B=l("HhvW"),U=l("qcmB"),J=l("9SZg"),$=l("2kyd"),X=m("fetch"),ee=m("Headers"),ie=$("iterator"),G="URLSearchParams",Q=G+"Iterator",W=y.set,ne=y.getterFor(G),te=y.getterFor(Q),_e=/\+/g,he=Array(4),oe=function(Ue){return he[Ue-1]||(he[Ue-1]=RegExp("((?:%[\\da-f]{2}){"+Ue+"})","gi"))},ge=function(Ue){try{return decodeURIComponent(Ue)}catch(He){return Ue}},me=function(Ue){var He=Ue.replace(_e," "),Ne=4;try{return decodeURIComponent(He)}catch(it){for(;Ne;)He=He.replace(oe(Ne--),ge);return He}},Z=/[!'()~]|%20/g,xe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ee=function(Ue){return xe[Ue]},Le=function(Ue){return encodeURIComponent(Ue).replace(Z,Ee)},we=function(Ue,He){if(He)for(var Ne=He.split("&"),it=0,Xe,ht;it<Ne.length;)Xe=Ne[it++],Xe.length&&(ht=Xe.split("="),Ue.push({key:me(ht.shift()),value:me(ht.join("="))}))},fe=function(Ue){this.entries.length=0,we(this.entries,Ue)},pe=function(Ue,He){if(Ue<He)throw TypeError("Not enough arguments")},Ke=S(function(He,Ne){W(this,{type:Q,iterator:U(ne(He).entries),kind:Ne})},"Iterator",function(){var He=te(this),Ne=He.kind,it=He.iterator.next(),Xe=it.value;return it.done||(it.value=Ne==="keys"?Xe.key:Ne==="values"?Xe.value:[Xe.key,Xe.value]),it}),Me=function(){w(this,Me,G);var He=arguments.length>0?arguments[0]:void 0,Ne=this,it=[],Xe,ht,lt,Et,tt,mt,xt,Xt,vt;if(W(Ne,{type:G,entries:it,updateURL:function(){},updateSearchParams:fe}),He!==void 0)if(N(He))if(Xe=J(He),typeof Xe=="function")for(ht=Xe.call(He),lt=ht.next;!(Et=lt.call(ht)).done;){if(tt=U(D(Et.value)),mt=tt.next,(xt=mt.call(tt)).done||(Xt=mt.call(tt)).done||!mt.call(tt).done)throw TypeError("Expected sequence with length 2");it.push({key:xt.value+"",value:Xt.value+""})}else for(vt in He)x(He,vt)&&it.push({key:vt,value:He[vt]+""});else we(it,typeof He=="string"?He.charAt(0)==="?"?He.slice(1):He:He+"")},ze=Me.prototype;k(ze,{append:function(He,Ne){pe(arguments.length,2);var it=ne(this);it.entries.push({key:He+"",value:Ne+""}),it.updateURL()},delete:function(Ue){pe(arguments.length,1);for(var He=ne(this),Ne=He.entries,it=Ue+"",Xe=0;Xe<Ne.length;)Ne[Xe].key===it?Ne.splice(Xe,1):Xe++;He.updateURL()},get:function(He){pe(arguments.length,1);for(var Ne=ne(this).entries,it=He+"",Xe=0;Xe<Ne.length;Xe++)if(Ne[Xe].key===it)return Ne[Xe].value;return null},getAll:function(He){pe(arguments.length,1);for(var Ne=ne(this).entries,it=He+"",Xe=[],ht=0;ht<Ne.length;ht++)Ne[ht].key===it&&Xe.push(Ne[ht].value);return Xe},has:function(He){pe(arguments.length,1);for(var Ne=ne(this).entries,it=He+"",Xe=0;Xe<Ne.length;)if(Ne[Xe++].key===it)return!0;return!1},set:function(He,Ne){pe(arguments.length,1);for(var it=ne(this),Xe=it.entries,ht=!1,lt=He+"",Et=Ne+"",tt=0,mt;tt<Xe.length;tt++)mt=Xe[tt],mt.key===lt&&(ht?Xe.splice(tt--,1):(ht=!0,mt.value=Et));ht||Xe.push({key:lt,value:Et}),it.updateURL()},sort:function(){var He=ne(this),Ne=He.entries,it=Ne.slice(),Xe,ht,lt;for(Ne.length=0,lt=0;lt<it.length;lt++){for(Xe=it[lt],ht=0;ht<lt;ht++)if(Ne[ht].key>Xe.key){Ne.splice(ht,0,Xe);break}ht===lt&&Ne.push(Xe)}He.updateURL()},forEach:function(He){for(var Ne=ne(this).entries,it=T(He,arguments.length>1?arguments[1]:void 0,3),Xe=0,ht;Xe<Ne.length;)ht=Ne[Xe++],it(ht.value,ht.key,this)},keys:function(){return new Ke(this,"keys")},values:function(){return new Ke(this,"values")},entries:function(){return new Ke(this,"entries")}},{enumerable:!0}),C(ze,ie,ze.entries),C(ze,"toString",function(){for(var He=ne(this).entries,Ne=[],it=0,Xe;it<He.length;)Xe=He[it++],Ne.push(Le(Xe.key)+"="+Le(Xe.value));return Ne.join("&")},{enumerable:!0}),A(Me,G),E({global:!0,forced:!O},{URLSearchParams:Me}),!O&&typeof X=="function"&&typeof ee=="function"&&E({global:!0,enumerable:!0,forced:!0},{fetch:function(He){var Ne=[He],it,Xe,ht;return arguments.length>1&&(it=arguments[1],N(it)&&(Xe=it.body,j(Xe)===G&&(ht=it.headers?new ee(it.headers):new ee,ht.has("content-type")||ht.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),it=F(it,{body:B(0,String(Xe)),headers:B(0,ht)}))),Ne.push(it)),X.apply(this,Ne)}}),ce.exports={URLSearchParams:Me,getState:ne}},"5NDa":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("OnYD"),C=l.n(O),k=l("+L6B")},"5OYt":function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E),O=l("hkKa"),C=l("ACnJ");function k(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,S=Object(E.useRef)({}),y=Object(O.a)();return Object(E.useEffect)(function(){var w=C.a.subscribe(function(x){S.current=x,A&&y()});return function(){return C.a.unsubscribe(w)}},[]),S.current}R.a=k},"5Q0V":function(ce,R,l){var E=l("cDf5").default;function m(O,C){if(E(O)!=="object"||O===null)return O;var k=O[Symbol.toPrimitive];if(k!==void 0){var A=k.call(O,C||"default");if(E(A)!=="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(O)}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"5QGz":function(ce,R,l){var E=l("MMxC"),m=Math.atanh,O=Math.log;E({target:"Math",stat:!0,forced:!(m&&1/m(-0)<0)},{atanh:function(k){return(k=+k)==0?k:O((1+k)/(1-k))/2}})},"5RzL":function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("TSYQ"),C=l.n(O),k=l("KQm4"),A=l("VTBJ"),S=l("ODXe"),y=l("Ff2n"),w=l("U8pU"),x=l("q1tI"),T=l.n(x),j=l("LdHM"),D=l("NvD2"),N=l("18yb");function F(zt){var Bt=x.useRef();Bt.current=zt;var H=x.useCallback(function(){for(var ot,nt=arguments.length,Ct=new Array(nt),Wt=0;Wt<nt;Wt++)Ct[Wt]=arguments[Wt];return(ot=Bt.current)===null||ot===void 0?void 0:ot.call.apply(ot,[Bt].concat(Ct))},[]);return H}function B(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var U=B()?x.useLayoutEffect:x.useEffect,J=function(Bt,H){var ot=x.useRef(!0);U(function(){return Bt(ot.current)},H),U(function(){return ot.current=!1,function(){ot.current=!0}},[])},$=function(Bt,H){J(function(ot){if(!ot)return Bt()},H)},X=J;function ee(zt){var Bt=x.useRef(!1),H=x.useState(zt),ot=Object(S.a)(H,2),nt=ot[0],Ct=ot[1];x.useEffect(function(){return Bt.current=!1,function(){Bt.current=!0}},[]);function Wt(kn,Sn){Sn&&Bt.current||Ct(kn)}return[nt,Wt]}function ie(zt){return zt!==void 0}function G(zt,Bt){var H=Bt||{},ot=H.defaultValue,nt=H.value,Ct=H.onChange,Wt=H.postState,kn=ee(function(){return ie(nt)?nt:ie(ot)?typeof ot=="function"?ot():ot:typeof zt=="function"?zt():zt}),Sn=Object(S.a)(kn,2),Zn=Sn[0],Or=Sn[1],Yn=nt!==void 0?nt:Zn,Nn=Wt?Wt(Yn):Yn,Zt=F(Ct),rr=ee([Yn]),Gn=Object(S.a)(rr,2),ln=Gn[0],Xn=Gn[1];$(function(){var fr=ln[0];Zn!==fr&&Zt(Zn,fr)},[ln]),$(function(){ie(nt)||Or(nt)},[nt]);var Kn=F(function(fr,Hn){Or(fr,Hn),Xn([Yn],Hn)});return[Nn,Kn]}var Q={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Bt){var H=Bt.keyCode;if(Bt.altKey&&!Bt.ctrlKey||Bt.metaKey||H>=Q.F1&&H<=Q.F12)return!1;switch(H){case Q.ALT:case Q.CAPS_LOCK:case Q.CONTEXT_MENU:case Q.CTRL:case Q.DOWN:case Q.END:case Q.ESC:case Q.HOME:case Q.INSERT:case Q.LEFT:case Q.MAC_FF_META:case Q.META:case Q.NUMLOCK:case Q.NUM_CENTER:case Q.PAGE_DOWN:case Q.PAGE_UP:case Q.PAUSE:case Q.PRINT_SCREEN:case Q.RIGHT:case Q.SHIFT:case Q.UP:case Q.WIN_KEY:case Q.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Bt){if(Bt>=Q.ZERO&&Bt<=Q.NINE||Bt>=Q.NUM_ZERO&&Bt<=Q.NUM_MULTIPLY||Bt>=Q.A&&Bt<=Q.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Bt===0)return!0;switch(Bt){case Q.SPACE:case Q.QUESTION_MARK:case Q.NUM_PLUS:case Q.NUM_MINUS:case Q.NUM_PERIOD:case Q.NUM_DIVISION:case Q.SEMICOLON:case Q.DASH:case Q.EQUALS:case Q.COMMA:case Q.PERIOD:case Q.SLASH:case Q.APOSTROPHE:case Q.SINGLE_QUOTE:case Q.OPEN_SQUARE_BRACKET:case Q.BACKSLASH:case Q.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},W=Q;function ne(zt,Bt,H){var ot=x.useRef({});return(!("value"in ot.current)||H(ot.current.condition,Bt))&&(ot.current.value=zt(),ot.current.condition=Bt),ot.current.value}var te=l("fAei"),_e=x.createContext(null),he=_e,oe=x.createContext(null),ge=oe;function me(zt){return Array.isArray(zt)?zt:zt!==void 0?[zt]:[]}function Z(zt){var Bt=zt||{},H=Bt.label,ot=Bt.value,nt=Bt.children,Ct=ot||"value";return{_title:H?[H]:["title","label"],value:Ct,key:Ct,children:nt||"children"}}function xe(zt){return!zt||zt.disabled||zt.disableCheckbox||zt.checkable===!1}function Ee(zt,Bt){var H=[];function ot(nt){nt.forEach(function(Ct){var Wt=Ct[Bt.children];Wt&&(H.push(Ct[Bt.value]),ot(Wt))})}return ot(zt),H}function Le(zt){return zt==null}var we={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},fe=function(Bt,H){var ot=Object(j.e)(),nt=ot.prefixCls,Ct=ot.multiple,Wt=ot.searchValue,kn=ot.toggleOpen,Sn=ot.open,Zn=ot.notFoundContent,Or=x.useContext(ge),Yn=Or.virtual,Nn=Or.listHeight,Zt=Or.listItemHeight,rr=Or.treeData,Gn=Or.fieldNames,ln=Or.onSelect,Xn=Or.dropdownMatchSelectWidth,Kn=Or.treeExpandAction,fr=x.useContext(he),Hn=fr.checkable,Sa=fr.checkedKeys,Lr=fr.halfCheckedKeys,Ca=fr.treeExpandedKeys,za=fr.treeDefaultExpandAll,Ma=fr.treeDefaultExpandedKeys,va=fr.onTreeExpand,qa=fr.treeIcon,gi=fr.showTreeIcon,Qi=fr.switcherIcon,mi=fr.treeLine,Cr=fr.treeNodeFilterProp,Un=fr.loadData,Lt=fr.treeLoadedKeys,gn=fr.treeMotion,Ln=fr.onTreeLoad,kr=fr.keyEntities,ea=x.useRef(),Qr=ne(function(){return rr},[Sn,rr],function(mr,ta){return ta[0]&&mr[1]!==ta[1]}),Na=x.useMemo(function(){return Hn?{checked:Sa,halfChecked:Lr}:null},[Hn,Sa,Lr]);x.useEffect(function(){if(Sn&&!Ct&&Sa.length){var mr;(mr=ea.current)===null||mr===void 0||mr.scrollTo({key:Sa[0]})}},[Sn]);var ar=String(Wt).toLowerCase(),pi=function(ta){return ar?String(ta[Cr]).toLowerCase().includes(ar):!1},_i=x.useState(Ma),ti=Object(S.a)(_i,2),ui=ti[0],Ri=ti[1],ao=x.useState(null),Zi=Object(S.a)(ao,2),Fi=Zi[0],Si=Zi[1],qi=x.useMemo(function(){return Ca?Object(k.a)(Ca):Wt?Fi:ui},[ui,Fi,Ca,Wt]);x.useEffect(function(){Wt&&Si(Ee(rr,Gn))},[Wt]);var eo=function(ta){Ri(ta),Si(ta),va&&va(ta)},xo=function(ta){ta.preventDefault()},cs=function(ta,ma){var Oa=ma.node;Hn&&xe(Oa)||(ln(Oa.key,{selected:!Sa.includes(Oa.key)}),Ct||kn(!1))},ba=x.useState(null),sa=Object(S.a)(ba,2),Da=sa[0],On=sa[1],xn=kr[Da];if(x.useImperativeHandle(H,function(){var mr;return{scrollTo:(mr=ea.current)===null||mr===void 0?void 0:mr.scrollTo,onKeyDown:function(ma){var Oa,Pn=ma.which;switch(Pn){case W.UP:case W.DOWN:case W.LEFT:case W.RIGHT:(Oa=ea.current)===null||Oa===void 0||Oa.onKeyDown(ma);break;case W.ENTER:{if(xn){var Kr=(xn==null?void 0:xn.node)||{},Vn=Kr.selectable,tr=Kr.value;Vn!==!1&&cs(null,{node:{key:Da},selected:!Sa.includes(tr)})}break}case W.ESC:kn(!1)}},onKeyUp:function(){}}}),Qr.length===0)return x.createElement("div",{role:"listbox",className:"".concat(nt,"-empty"),onMouseDown:xo},Zn);var Rt={fieldNames:Gn};return Lt&&(Rt.loadedKeys=Lt),qi&&(Rt.expandedKeys=qi),x.createElement("div",{onMouseDown:xo},xn&&Sn&&x.createElement("span",{style:we,"aria-live":"assertive"},xn.node.value),x.createElement(te.b,Object(E.a)({ref:ea,focusable:!1,prefixCls:"".concat(nt,"-tree"),treeData:Qr,height:Nn,itemHeight:Zt,virtual:Yn!==!1&&Xn!==!1,multiple:Ct,icon:qa,showIcon:gi,switcherIcon:Qi,showLine:mi,loadData:Wt?null:Un,motion:gn,activeKey:Da,checkable:Hn,checkStrictly:!0,checkedKeys:Na,selectedKeys:Hn?[]:Sa,defaultExpandAll:za},Rt,{onActiveChange:On,onSelect:cs,onCheck:cs,onExpand:eo,onLoad:Ln,filterTreeNode:pi,expandAction:Kn})))},pe=x.forwardRef(fe);pe.displayName="OptionList";var Ke=pe,Me=function(){return null},ze=Me,Ue="SHOW_ALL",He="SHOW_PARENT",Ne="SHOW_CHILD";function it(zt,Bt,H,ot){var nt=new Set(zt);return Bt===Ne?zt.filter(function(Ct){var Wt=H[Ct];return!(Wt&&Wt.children&&Wt.children.some(function(kn){var Sn=kn.node;return nt.has(Sn[ot.value])})&&Wt.children.every(function(kn){var Sn=kn.node;return xe(Sn)||nt.has(Sn[ot.value])}))}):Bt===He?zt.filter(function(Ct){var Wt=H[Ct],kn=Wt?Wt.parent:null;return!(kn&&!xe(kn.node)&&nt.has(kn.key))}):zt}var Xe=l("TOwV");function ht(zt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=[];return T.a.Children.forEach(zt,function(ot){ot==null&&!Bt.keepEmpty||(Array.isArray(ot)?H=H.concat(ht(ot)):Object(Xe.isFragment)(ot)&&ot.props?H=H.concat(ht(ot.props.children,Bt)):H.push(ot))}),H}var lt={},Et=[],tt=function(Bt){Et.push(Bt)};function mt(zt,Bt){if(!1)var H}function xt(zt,Bt){if(!1)var H}function Xt(){lt={}}function vt(zt,Bt,H){!Bt&&!lt[H]&&(zt(!1,H),lt[H]=!0)}function qe(zt,Bt){vt(mt,zt,Bt)}function Re(zt,Bt){vt(xt,zt,Bt)}qe.preMessage=tt,qe.resetWarned=Xt,qe.noteOnce=Re;var Se=qe,Ve=["children","value"];function Ge(zt){return ht(zt).map(function(Bt){if(!x.isValidElement(Bt)||!Bt.type)return null;var H=Bt,ot=H.key,nt=H.props,Ct=nt.children,Wt=nt.value,kn=Object(y.a)(nt,Ve),Sn=Object(A.a)({key:ot,value:Wt},kn),Zn=Ge(Ct);return Zn.length&&(Sn.children=Zn),Sn}).filter(function(Bt){return Bt})}function _t(zt){if(!zt)return zt;var Bt=Object(A.a)({},zt);return"props"in Bt||Object.defineProperty(Bt,"props",{get:function(){return Se(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Bt}}),Bt}function bt(zt,Bt,H,ot,nt,Ct){var Wt=null,kn=null;function Sn(){function Zn(Or){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Or.map(function(Zt,rr){var Gn="".concat(Yn,"-").concat(rr),ln=Zt[Ct.value],Xn=H.includes(ln),Kn=Zn(Zt[Ct.children]||[],Gn,Xn),fr=x.createElement(ze,Zt,Kn.map(function(Sa){return Sa.node}));if(Bt===ln&&(Wt=fr),Xn){var Hn={pos:Gn,node:fr,children:Kn};return Nn||kn.push(Hn),Hn}return null}).filter(function(Zt){return Zt})}kn||(kn=[],Zn(ot),kn.sort(function(Or,Yn){var Nn=Or.node.props.value,Zt=Yn.node.props.value,rr=H.indexOf(Nn),Gn=H.indexOf(Zt);return rr-Gn}))}Object.defineProperty(zt,"triggerNode",{get:function(){return Se(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Sn(),Wt}}),Object.defineProperty(zt,"allCheckedNodes",{get:function(){return Se(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Sn(),nt?kn:kn.map(function(Or){var Yn=Or.node;return Yn})}})}function gt(zt,Bt){var H=Bt.id,ot=Bt.pId,nt=Bt.rootPId,Ct={},Wt=[],kn=zt.map(function(Sn){var Zn=Object(A.a)({},Sn),Or=Zn[H];return Ct[Or]=Zn,Zn.key=Zn.key||Or,Zn});return kn.forEach(function(Sn){var Zn=Sn[ot],Or=Ct[Zn];Or&&(Or.children=Or.children||[],Or.children.push(Sn)),(Zn===nt||!Or&&nt===null)&&Wt.push(Sn)}),Wt}function at(zt,Bt,H){return x.useMemo(function(){return zt?H?gt(zt,Object(A.a)({id:"id",pId:"pId",rootPId:null},H!==!0?H:{})):zt:Ge(Bt)},[Bt,H,zt])}var ft=function(zt){var Bt=x.useRef({valueLabels:new Map});return x.useMemo(function(){var H=Bt.current.valueLabels,ot=new Map,nt=zt.map(function(Ct){var Wt,kn=Ct.value,Sn=(Wt=Ct.label)!==null&&Wt!==void 0?Wt:H.get(kn);return ot.set(kn,Sn),Object(A.a)(Object(A.a)({},Ct),{},{label:Sn})});return Bt.current.valueLabels=ot,[nt]},[zt])};function Fe(zt){var Bt=x.useRef();Bt.current=zt;var H=x.useCallback(function(){return Bt.current.apply(Bt,arguments)},[]);return H}var Te=l("815F"),ut=function(zt,Bt){return x.useMemo(function(){var H=Object(Te.a)(zt,{fieldNames:Bt,initWrapper:function(nt){return Object(A.a)(Object(A.a)({},nt),{},{valueEntities:new Map})},processEntity:function(nt,Ct){var Wt=nt.node[Bt.value];if(!1)var kn;Ct.valueEntities.set(Wt,nt)}});return H},[zt,Bt])},le=function(zt,Bt,H,ot){return x.useMemo(function(){var nt=zt.map(function(Sn){var Zn=Sn.value;return Zn}),Ct=Bt.map(function(Sn){var Zn=Sn.value;return Zn}),Wt=nt.filter(function(Sn){return!ot[Sn]});if(H){var kn=Object(D.a)(nt,!0,ot);nt=kn.checkedKeys,Ct=kn.halfCheckedKeys}return[Array.from(new Set([].concat(Object(k.a)(Wt),Object(k.a)(nt)))),Ct]},[zt,Bt,H,ot])},$e=function(zt,Bt,H){var ot=H.treeNodeFilterProp,nt=H.filterTreeNode,Ct=H.fieldNames,Wt=Ct.children;return x.useMemo(function(){if(!Bt||nt===!1)return zt;var kn;if(typeof nt=="function")kn=nt;else{var Sn=Bt.toUpperCase();kn=function(Yn,Nn){var Zt=Nn[ot];return String(Zt).toUpperCase().includes(Sn)}}function Zn(Or){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Or.map(function(Nn){var Zt=Nn[Wt],rr=Yn||kn(Bt,_t(Nn)),Gn=Zn(Zt||[],rr);return rr||Gn.length?Object(A.a)(Object(A.a)({},Nn),{},Object(m.a)({isLeaf:void 0},Wt,Gn)):null}).filter(function(Nn){return Nn})}return Zn(zt)},[zt,Bt,Wt,ot,nt])};function Qe(zt){var Bt=zt.searchPlaceholder,H=zt.treeCheckStrictly,ot=zt.treeCheckable,nt=zt.labelInValue,Ct=zt.value,Wt=zt.multiple;Se(!Bt,"`searchPlaceholder` has been removed."),H&&nt===!1&&Se(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(nt||H)&&Se(me(Ct).every(function(kn){return kn&&Object(w.a)(kn)==="object"&&"value"in kn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),H||Wt||ot?Se(!Ct||Array.isArray(Ct),"`value` should be an array when `TreeSelect` is checkable or multiple."):Se(!Array.isArray(Ct),"`value` should not be array when `TreeSelect` is single mode.")}var Tt=Qe,Ot=["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 Ut(zt){return!zt||Object(w.a)(zt)!=="object"}var At=x.forwardRef(function(zt,Bt){var H=zt.id,ot=zt.prefixCls,nt=ot===void 0?"rc-tree-select":ot,Ct=zt.value,Wt=zt.defaultValue,kn=zt.onChange,Sn=zt.onSelect,Zn=zt.onDeselect,Or=zt.searchValue,Yn=zt.inputValue,Nn=zt.onSearch,Zt=zt.autoClearSearchValue,rr=Zt===void 0?!0:Zt,Gn=zt.filterTreeNode,ln=zt.treeNodeFilterProp,Xn=ln===void 0?"value":ln,Kn=zt.showCheckedStrategy,fr=Kn===void 0?Ne:Kn,Hn=zt.treeNodeLabelProp,Sa=zt.multiple,Lr=zt.treeCheckable,Ca=zt.treeCheckStrictly,za=zt.labelInValue,Ma=zt.fieldNames,va=zt.treeDataSimpleMode,qa=zt.treeData,gi=zt.children,Qi=zt.loadData,mi=zt.treeLoadedKeys,Cr=zt.onTreeLoad,Un=zt.treeDefaultExpandAll,Lt=zt.treeExpandedKeys,gn=zt.treeDefaultExpandedKeys,Ln=zt.onTreeExpand,kr=zt.treeExpandAction,ea=zt.virtual,Qr=zt.listHeight,Na=Qr===void 0?200:Qr,ar=zt.listItemHeight,pi=ar===void 0?20:ar,_i=zt.onDropdownVisibleChange,ti=zt.dropdownMatchSelectWidth,ui=ti===void 0?!0:ti,Ri=zt.treeLine,ao=zt.treeIcon,Zi=zt.showTreeIcon,Fi=zt.switcherIcon,Si=zt.treeMotion,qi=Object(y.a)(zt,Ot),eo=Object(N.a)(H),xo=Lr&&!Ca,cs=Lr||Ca,ba=Ca||za,sa=cs||Sa,Da=G(Wt,{value:Ct}),On=Object(S.a)(Da,2),xn=On[0],Rt=On[1],mr=x.useMemo(function(){return Z(Ma)},[JSON.stringify(Ma)]),ta=G("",{value:Or!==void 0?Or:Yn,postState:function(Ya){return Ya||""}}),ma=Object(S.a)(ta,2),Oa=ma[0],Pn=ma[1],Kr=function(Ya){Pn(Ya),Nn==null||Nn(Ya)},Vn=at(qa,gi,va),tr=ut(Vn,mr),Ea=tr.keyEntities,Ja=tr.valueEntities,go=x.useCallback(function($a){var Ya=[],_o=[];return $a.forEach(function(Ni){Ja.has(Ni)?_o.push(Ni):Ya.push(Ni)}),{missingRawValues:Ya,existRawValues:_o}},[Ja]),fi=$e(Vn,Oa,{fieldNames:mr,treeNodeFilterProp:Xn,filterTreeNode:Gn}),lo=x.useCallback(function($a){if($a){if(Hn)return $a[Hn];for(var Ya=mr._title,_o=0;_o<Ya.length;_o+=1){var Ni=$a[Ya[_o]];if(Ni!==void 0)return Ni}}},[mr,Hn]),Oi=x.useCallback(function($a){var Ya=me($a);return Ya.map(function(_o){return Ut(_o)?{value:_o}:_o})},[]),io=x.useCallback(function($a){var Ya=Oi($a);return Ya.map(function(_o){var Ni=_o.label,ec=_o.value,ks=_o.halfChecked,jo,Qn=Ja.get(ec);if(Qn){var ka;Ni=(ka=Ni)!==null&&ka!==void 0?ka:lo(Qn.node),jo=Qn.node.disabled}else if(Ni===void 0){var Pa=Oi(xn).find(function(Qa){return Qa.value===ec});Ni=Pa.label}return{label:Ni,value:ec,halfChecked:ks,disabled:jo}})},[Ja,lo,Oi,xn]),Vi=x.useMemo(function(){return Oi(xn)},[Oi,xn]),vo=x.useMemo(function(){var $a=[],Ya=[];return Vi.forEach(function(_o){_o.halfChecked?Ya.push(_o):$a.push(_o)}),[$a,Ya]},[Vi]),qo=Object(S.a)(vo,2),hs=qo[0],$t=qo[1],rt=x.useMemo(function(){return hs.map(function($a){return $a.value})},[hs]),Vt=le(hs,$t,xo,Ea),tn=Object(S.a)(Vt,2),wn=tn[0],qn=tn[1],zn=x.useMemo(function(){var $a=it(wn,fr,Ea,mr),Ya=$a.map(function(ks){var jo,Qn,ka;return(jo=(Qn=Ea[ks])===null||Qn===void 0||(ka=Qn.node)===null||ka===void 0?void 0:ka[mr.value])!==null&&jo!==void 0?jo:ks}),_o=Ya.map(function(ks){var jo=hs.find(function(Qn){return Qn.value===ks});return{value:ks,label:jo==null?void 0:jo.label}}),Ni=io(_o),ec=Ni[0];return!sa&&ec&&Le(ec.value)&&Le(ec.label)?[]:Ni.map(function(ks){var jo;return Object(A.a)(Object(A.a)({},ks),{},{label:(jo=ks.label)!==null&&jo!==void 0?jo:ks.value})})},[mr,sa,wn,hs,io,fr,Ea]),xr=ft(zn),da=Object(S.a)(xr,1),en=da[0],Fn=Fe(function($a,Ya,_o){var Ni=io($a);if(Rt(Ni),rr&&Pn(""),kn){var ec=$a;if(xo){var ks=it($a,fr,Ea,mr);ec=ks.map(function(Ks){var pc=Ja.get(Ks);return pc?pc.node[mr.value]:Ks})}var jo=Ya||{triggerValue:void 0,selected:void 0},Qn=jo.triggerValue,ka=jo.selected,Pa=ec;if(Ca){var Qa=$t.filter(function(Ks){return!ec.includes(Ks.value)});Pa=[].concat(Object(k.a)(Pa),Object(k.a)(Qa))}var Ei=io(Pa),zo={preValue:hs,triggerValue:Qn},fo=!0;(Ca||_o==="selection"&&!ka)&&(fo=!1),bt(zo,Qn,$a,Vn,fo,mr),cs?zo.checked=ka:zo.selected=ka;var gs=ba?Ei:Ei.map(function(Ks){return Ks.value});kn(sa?gs:gs[0],ba?null:Ei.map(function(Ks){return Ks.label}),zo)}}),Jn=x.useCallback(function($a,Ya){var _o,Ni=Ya.selected,ec=Ya.source,ks=Ea[$a],jo=ks==null?void 0:ks.node,Qn=(_o=jo==null?void 0:jo[mr.value])!==null&&_o!==void 0?_o:$a;if(!sa)Fn([Qn],{selected:!0,triggerValue:Qn},"option");else{var ka=Ni?[].concat(Object(k.a)(rt),[Qn]):wn.filter(function(pc){return pc!==Qn});if(xo){var Pa=go(ka),Qa=Pa.missingRawValues,Ei=Pa.existRawValues,zo=Ei.map(function(pc){return Ja.get(pc).key}),fo;if(Ni){var gs=Object(D.a)(zo,!0,Ea);fo=gs.checkedKeys}else{var Ks=Object(D.a)(zo,{checked:!1,halfCheckedKeys:qn},Ea);fo=Ks.checkedKeys}ka=[].concat(Object(k.a)(Qa),Object(k.a)(fo.map(function(pc){return Ea[pc].node[mr.value]})))}Fn(ka,{selected:Ni,triggerValue:Qn},ec||"option")}Ni||!sa?Sn==null||Sn(Qn,_t(jo)):Zn==null||Zn(Qn,_t(jo))},[go,Ja,Ea,mr,sa,rt,Fn,xo,Sn,Zn,wn,qn]),Ir=x.useCallback(function($a){if(_i){var Ya={};Object.defineProperty(Ya,"documentClickClose",{get:function(){return Se(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),_i($a,Ya)}},[_i]),Gr=Fe(function($a,Ya){var _o=$a.map(function(Ni){return Ni.value});if(Ya.type==="clear"){Fn(_o,{},"selection");return}Ya.values.length&&Jn(Ya.values[0].value,{selected:!1,source:"selection"})}),ga=x.useMemo(function(){return{virtual:ea,dropdownMatchSelectWidth:ui,listHeight:Na,listItemHeight:pi,treeData:fi,fieldNames:mr,onSelect:Jn,treeExpandAction:kr}},[ea,ui,Na,pi,fi,mr,Jn,kr]),Mr=x.useMemo(function(){return{checkable:cs,loadData:Qi,treeLoadedKeys:mi,onTreeLoad:Cr,checkedKeys:wn,halfCheckedKeys:qn,treeDefaultExpandAll:Un,treeExpandedKeys:Lt,treeDefaultExpandedKeys:gn,onTreeExpand:Ln,treeIcon:ao,treeMotion:Si,showTreeIcon:Zi,switcherIcon:Fi,treeLine:Ri,treeNodeFilterProp:Xn,keyEntities:Ea}},[cs,Qi,mi,Cr,wn,qn,Un,Lt,gn,Ln,ao,Si,Zi,Fi,Ri,Xn,Ea]);return x.createElement(ge.Provider,{value:ga},x.createElement(he.Provider,{value:Mr},x.createElement(j.a,Object(E.a)({ref:Bt},qi,{id:eo,prefixCls:nt,mode:sa?"multiple":void 0,displayValues:en,onDisplayValuesChange:Gr,searchValue:Oa,onSearch:Kr,OptionList:Ke,emptyOptions:!Vn.length,onDropdownVisibleChange:Ir,dropdownMatchSelectWidth:ui}))))}),Pt=At;Pt.TreeNode=ze,Pt.SHOW_ALL=Ue,Pt.SHOW_PARENT=He,Pt.SHOW_CHILD=Ne;var Dt=Pt,Qt=Dt,cn=l("Ya77"),$n=l("H84U"),hn=l("XI05"),_n=l("caoh"),bn=l("3Nzz"),Bn=l("ihLV"),Tn=l("1vzs"),Tr=l("2jpz"),Sr=l("EXcs"),Wr=l("ATYA"),br=l("+f9I"),Wn=function(zt,Bt){var H={};for(var ot in zt)Object.prototype.hasOwnProperty.call(zt,ot)&&Bt.indexOf(ot)<0&&(H[ot]=zt[ot]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,ot=Object.getOwnPropertySymbols(zt);nt<ot.length;nt++)Bt.indexOf(ot[nt])<0&&Object.prototype.propertyIsEnumerable.call(zt,ot[nt])&&(H[ot[nt]]=zt[ot[nt]]);return H},gr=function(Bt,H){var ot,nt=Bt.prefixCls,Ct=Bt.size,Wt=Bt.disabled,kn=Bt.bordered,Sn=kn===void 0?!0:kn,Zn=Bt.className,Or=Bt.treeCheckable,Yn=Bt.multiple,Nn=Bt.listHeight,Zt=Nn===void 0?256:Nn,rr=Bt.listItemHeight,Gn=rr===void 0?26:rr,ln=Bt.placement,Xn=Bt.notFoundContent,Kn=Bt.switcherIcon,fr=Bt.treeLine,Hn=Bt.getPopupContainer,Sa=Bt.dropdownClassName,Lr=Bt.popupClassName,Ca=Bt.treeIcon,za=Ca===void 0?!1:Ca,Ma=Bt.transitionName,va=Bt.choiceTransitionName,qa=va===void 0?"":va,gi=Bt.status,Qi=Bt.showArrow,mi=Bt.treeExpandAction,Cr=Wn(Bt,["prefixCls","size","disabled","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","popupClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction"]),Un=x.useContext($n.b),Lt=Un.getPopupContainer,gn=Un.getPrefixCls,Ln=Un.renderEmpty,kr=Un.direction,ea=Un.virtual,Qr=Un.dropdownMatchSelectWidth,Na=x.useContext(bn.b),ar=gn("select",nt),pi=gn("select-tree",nt),_i=gn("tree-select",nt),ti=Object(br.c)(ar,kr),ui=ti.compactSize,Ri=ti.compactItemClassnames,ao=C()(Lr||Sa,"".concat(_i,"-dropdown"),Object(m.a)({},"".concat(_i,"-dropdown-rtl"),kr==="rtl")),Zi=!!(Or||Yn),Fi=Qi!==void 0?Qi:Cr.loading||!Zi,Si=Object(x.useContext)(Bn.b),qi=Si.status,eo=Si.hasFeedback,xo=Si.isFormItemInput,cs=Si.feedbackIcon,ba=Object(Wr.a)(qi,gi),sa=Object(Tn.a)(Object(E.a)(Object(E.a)({},Cr),{multiple:Zi,showArrow:Fi,hasFeedback:eo,feedbackIcon:cs,prefixCls:ar})),Da=sa.suffixIcon,On=sa.removeIcon,xn=sa.clearIcon,Rt;Xn!==void 0?Rt=Xn:Rt=(Ln||hn.a)("Select");var mr=Object(cn.a)(Cr,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),ta=function(){return ln!==void 0?ln:kr==="rtl"?"bottomRight":"bottomLeft"},ma=ui||Ct||Na,Oa=x.useContext(_n.b),Pn=Wt!=null?Wt:Oa,Kr=C()(!nt&&_i,(ot={},Object(m.a)(ot,"".concat(ar,"-lg"),ma==="large"),Object(m.a)(ot,"".concat(ar,"-sm"),ma==="small"),Object(m.a)(ot,"".concat(ar,"-rtl"),kr==="rtl"),Object(m.a)(ot,"".concat(ar,"-borderless"),!Sn),Object(m.a)(ot,"".concat(ar,"-in-form-item"),xo),ot),Object(Wr.b)(ar,ba,eo),Ri,Zn),Vn=gn();return x.createElement(Qt,Object(E.a)({virtual:ea,dropdownMatchSelectWidth:Qr,disabled:Pn},mr,{ref:H,prefixCls:ar,className:Kr,listHeight:Zt,listItemHeight:Gn,treeCheckable:Or&&x.createElement("span",{className:"".concat(ar,"-tree-checkbox-inner")}),treeLine:!!fr,inputIcon:Da,multiple:Yn,placement:ta(),removeIcon:On,clearIcon:xn,switcherIcon:function(Ea){return Object(Tr.a)(pi,Kn,fr,Ea)},showTreeIcon:za,notFoundContent:Rt,getPopupContainer:Hn||Lt,treeMotion:null,dropdownClassName:ao,choiceTransitionName:Object(Sr.c)(Vn,"",qa),transitionName:Object(Sr.c)(Vn,Object(Sr.b)(ln),Ma),showArrow:eo||Qi,treeExpandAction:mi}))},na=x.forwardRef(gr),jn=na;jn.TreeNode=ze,jn.SHOW_ALL=Ue,jn.SHOW_PARENT=He,jn.SHOW_CHILD=Ne;var un=R.a=jn},"5Tg0":function(ce,R,l){(function(E){var m=l("Kz5y"),O=R&&!R.nodeType&&R,C=O&&typeof E=="object"&&E&&!E.nodeType&&E,k=C&&C.exports===O,A=k?m.Buffer:void 0,S=A?A.allocUnsafe:void 0;function y(w,x){if(x)return w.slice();var T=w.length,j=S?S(T):new w.constructor(T);return w.copy(j),j}E.exports=y}).call(this,l("hOG+")(ce))},"5YgA":function(ce,R,l){},"5bA4":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="LeftOutlined";var S=R.a=m.forwardRef(A)},"5rEg":function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("TSYQ"),C=l.n(O),k=l("q1tI"),A=l("H84U"),S=l("ihLV"),y=function(Ee){var Le,we=Object(k.useContext)(A.b),fe=we.getPrefixCls,pe=we.direction,Ke=Ee.prefixCls,Me=Ee.className,ze=Me===void 0?"":Me,Ue=fe("input-group",Ke),He=C()(Ue,(Le={},Object(m.a)(Le,"".concat(Ue,"-lg"),Ee.size==="large"),Object(m.a)(Le,"".concat(Ue,"-sm"),Ee.size==="small"),Object(m.a)(Le,"".concat(Ue,"-compact"),Ee.compact),Object(m.a)(Le,"".concat(Ue,"-rtl"),pe==="rtl"),Le),ze),Ne=Object(k.useContext)(S.b),it=Object(k.useMemo)(function(){return Object(E.a)(Object(E.a)({},Ne),{isFormItemInput:!1})},[Ne]);return k.createElement("span",{className:He,style:Ee.style,onMouseEnter:Ee.onMouseEnter,onMouseLeave:Ee.onMouseLeave,onFocus:Ee.onFocus,onBlur:Ee.onBlur},k.createElement(S.b.Provider,{value:it},Ee.children))},w=y,x=l("mh/l"),T=l("ODXe"),j=l("U8pU"),D=l("fHMl"),N=l("9BLJ"),F=l("Ya77"),B=l("Twdv"),U=l("JS9R"),J=function(xe,Ee){var Le={};for(var we in xe)Object.prototype.hasOwnProperty.call(xe,we)&&Ee.indexOf(we)<0&&(Le[we]=xe[we]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,we=Object.getOwnPropertySymbols(xe);fe<we.length;fe++)Ee.indexOf(we[fe])<0&&Object.prototype.propertyIsEnumerable.call(xe,we[fe])&&(Le[we[fe]]=xe[we[fe]]);return Le},$=function(Ee){return Ee?k.createElement(N.a,null):k.createElement(D.a,null)},X={click:"onClick",hover:"onMouseOver"},ee=k.forwardRef(function(xe,Ee){var Le=xe.visibilityToggle,we=Le===void 0?!0:Le,fe=Object(j.a)(we)==="object"&&we.visible!==void 0,pe=Object(k.useState)(function(){return fe?we.visible:!1}),Ke=Object(T.a)(pe,2),Me=Ke[0],ze=Ke[1],Ue=Object(k.useRef)(null);k.useEffect(function(){fe&&ze(we.visible)},[fe,we]);var He=Object(U.a)(Ue),Ne=function(){var lt=xe.disabled;lt||(Me&&He(),ze(function(Et){var tt,mt=!Et;return Object(j.a)(we)==="object"&&((tt=we.onVisibleChange)===null||tt===void 0||tt.call(we,mt)),mt}))},it=function(lt){var Et,tt=xe.action,mt=tt===void 0?"click":tt,xt=xe.iconRender,Xt=xt===void 0?$:xt,vt=X[mt]||"",qe=Xt(Me),Re=(Et={},Object(m.a)(Et,vt,Ne),Object(m.a)(Et,"className","".concat(lt,"-icon")),Object(m.a)(Et,"key","passwordIcon"),Object(m.a)(Et,"onMouseDown",function(Ve){Ve.preventDefault()}),Object(m.a)(Et,"onMouseUp",function(Ve){Ve.preventDefault()}),Et);return k.cloneElement(k.isValidElement(qe)?qe:k.createElement("span",null,qe),Re)},Xe=function(lt){var Et=lt.getPrefixCls,tt=xe.className,mt=xe.prefixCls,xt=xe.inputPrefixCls,Xt=xe.size,vt=J(xe,["className","prefixCls","inputPrefixCls","size"]),qe=Et("input",xt),Re=Et("input-password",mt),Se=we&&it(Re),Ve=C()(Re,tt,Object(m.a)({},"".concat(Re,"-").concat(Xt),!!Xt)),Ge=Object(E.a)(Object(E.a)({},Object(F.a)(vt,["suffix","iconRender","visibilityToggle"])),{type:Me?"text":"password",className:Ve,prefixCls:qe,suffix:Se});return Xt&&(Ge.size=Xt),k.createElement(x.a,Object(E.a)({ref:Object(B.a)(Ee,Ue)},Ge))};return k.createElement(A.a,null,Xe)}),ie=ee,G=l("l+S1"),Q=l("2/Rp"),W=l("3Nzz"),ne=l("+f9I"),te=l("0n0R"),_e=function(xe,Ee){var Le={};for(var we in xe)Object.prototype.hasOwnProperty.call(xe,we)&&Ee.indexOf(we)<0&&(Le[we]=xe[we]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,we=Object.getOwnPropertySymbols(xe);fe<we.length;fe++)Ee.indexOf(we[fe])<0&&Object.prototype.propertyIsEnumerable.call(xe,we[fe])&&(Le[we[fe]]=xe[we[fe]]);return Le},he=k.forwardRef(function(xe,Ee){var Le,we=xe.prefixCls,fe=xe.inputPrefixCls,pe=xe.className,Ke=xe.size,Me=xe.suffix,ze=xe.enterButton,Ue=ze===void 0?!1:ze,He=xe.addonAfter,Ne=xe.loading,it=xe.disabled,Xe=xe.onSearch,ht=xe.onChange,lt=xe.onCompositionStart,Et=xe.onCompositionEnd,tt=_e(xe,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),mt=k.useContext(A.b),xt=mt.getPrefixCls,Xt=mt.direction,vt=k.useContext(W.b),qe=k.useRef(!1),Re=xt("input-search",we),Se=xt("input",fe),Ve=Object(ne.c)(Re,Xt),Ge=Ve.compactSize,_t=Ge||Ke||vt,bt=k.useRef(null),gt=function(Pt){Pt&&Pt.target&&Pt.type==="click"&&Xe&&Xe(Pt.target.value,Pt),ht&&ht(Pt)},at=function(Pt){var Dt;document.activeElement===((Dt=bt.current)===null||Dt===void 0?void 0:Dt.input)&&Pt.preventDefault()},ft=function(Pt){var Dt,Qt;Xe&&Xe((Qt=(Dt=bt.current)===null||Dt===void 0?void 0:Dt.input)===null||Qt===void 0?void 0:Qt.value,Pt)},Fe=function(Pt){qe.current||Ne||ft(Pt)},Te=typeof Ue=="boolean"?k.createElement(G.a,null):null,ut="".concat(Re,"-button"),le,$e=Ue||{},Qe=$e.type&&$e.type.__ANT_BUTTON===!0;Qe||$e.type==="button"?le=Object(te.a)($e,Object(E.a)({onMouseDown:at,onClick:function(Pt){var Dt,Qt;(Qt=(Dt=$e==null?void 0:$e.props)===null||Dt===void 0?void 0:Dt.onClick)===null||Qt===void 0||Qt.call(Dt,Pt),ft(Pt)},key:"enterButton"},Qe?{className:ut,size:_t}:{})):le=k.createElement(Q.a,{className:ut,type:Ue?"primary":void 0,size:_t,disabled:it,key:"enterButton",onMouseDown:at,onClick:ft,loading:Ne,icon:Te},Ue),He&&(le=[le,Object(te.a)(He,{key:"addonAfter"})]);var Tt=C()(Re,(Le={},Object(m.a)(Le,"".concat(Re,"-rtl"),Xt==="rtl"),Object(m.a)(Le,"".concat(Re,"-").concat(_t),!!_t),Object(m.a)(Le,"".concat(Re,"-with-button"),!!Ue),Le),pe),Ot=function(Pt){qe.current=!0,lt==null||lt(Pt)},Ut=function(Pt){qe.current=!1,Et==null||Et(Pt)};return k.createElement(x.a,Object(E.a)({ref:Object(B.a)(bt,Ee),onPressEnter:Fe},tt,{size:_t,onCompositionStart:Ot,onCompositionEnd:Ut,prefixCls:Se,addonAfter:le,suffix:Me,onChange:gt,className:Tt,disabled:it}))}),oe=he,ge=l("whJP"),me=x.a;me.Group=w,me.Search=oe,me.TextArea=ge.a,me.Password=ie;var Z=R.a=me},"5veP":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=O;var E={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},m={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};function O(C,k,A){C==="flexDirection"&&typeof k=="string"&&(k.indexOf("column")>-1?A.WebkitBoxOrient="vertical":A.WebkitBoxOrient="horizontal",k.indexOf("reverse")>-1?A.WebkitBoxDirection="reverse":A.WebkitBoxDirection="normal"),m.hasOwnProperty(C)&&(A[m[C]]=E[k]||k)}ce.exports=R.default},"5wUe":function(ce,R,l){var E=l("Q9SF"),m=l("MIOZ"),O=l("mGKP"),C=l("h0XC");function k(A,S){return E(A)||m(A,S)||O(A,S)||C()}ce.exports=k,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"5yw/":function(ce,R){ce.exports={}},"61s2":function(ce,R,l){"use strict";var E=l("wx14"),m={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},O=m,C=l("RlXo"),k={lang:Object(E.a)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},O),timePickerLocale:Object(E.a)({},C.a)},A=R.a=k},"66pj":function(ce,R,l){var E=l("MMxC"),m=l("u93E"),O=Math.abs,C=Math.pow;E({target:"Math",stat:!0},{cbrt:function(A){return m(A=+A)*C(O(A),1/3)}})},"6AGu":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingInSyntax=void 0;var E=l("FV85"),m=l("LKzl"),O=function(){function C(k){this._binding=k}return C.prototype.inRequestScope=function(){return this._binding.scope=E.BindingScopeEnum.Request,new m.BindingWhenOnSyntax(this._binding)},C.prototype.inSingletonScope=function(){return this._binding.scope=E.BindingScopeEnum.Singleton,new m.BindingWhenOnSyntax(this._binding)},C.prototype.inTransientScope=function(){return this._binding.scope=E.BindingScopeEnum.Transient,new m.BindingWhenOnSyntax(this._binding)},C}();R.BindingInSyntax=O},"6EJC":function(ce,R,l){},"6FCX":function(ce,R,l){var E=l("MMxC"),m=l("qA1w");E({target:"WeakMap",stat:!0},{of:m})},"6MrE":function(ce,R,l){},"6OOT":function(ce,R,l){"use strict";var E=l("k1fw"),m=l("Telt"),O=l("Tckk"),C=l("PpiC"),k=l("/4VF"),A=l.n(k),S=l("nKUr"),y=l.n(S),w=["staffName","avatarImg"],x={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.tmeAvatarUrl,T=function(D){var N=D.staffName,F=D.avatarImg,B=Object(C.a)(D,w),U=x?"".concat(x).concat(N,".png"):F;return Object(S.jsx)(O.a,Object(E.a)({src:"".concat(U),alt:"avatar",icon:Object(S.jsx)("img",{src:A.a})},B))};R.a=T},"6VBw":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("ODXe"),O=l("rePB"),C=l("Ff2n"),k=l("q1tI"),A=l("TSYQ"),S=l.n(A),y=l("Pw59"),w=l("Qi1f"),x=["icon","className","onClick","style","primaryColor","secondaryColor"],T={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function j(ee){var ie=ee.primaryColor,G=ee.secondaryColor;T.primaryColor=ie,T.secondaryColor=G||Object(w.b)(ie),T.calculated=!!G}function D(){return Object(E.a)({},T)}var N=function(ie){var G=ie.icon,Q=ie.className,W=ie.onClick,ne=ie.style,te=ie.primaryColor,_e=ie.secondaryColor,he=Object(C.a)(ie,x),oe=T;if(te&&(oe={primaryColor:te,secondaryColor:_e||Object(w.b)(te)}),Object(w.f)(),Object(w.g)(Object(w.c)(G),"icon should be icon definiton, but got ".concat(G)),!Object(w.c)(G))return null;var ge=G;return ge&&typeof ge.icon=="function"&&(ge=Object(E.a)(Object(E.a)({},ge),{},{icon:ge.icon(oe.primaryColor,oe.secondaryColor)})),Object(w.a)(ge.icon,"svg-".concat(ge.name),Object(E.a)({className:Q,onClick:W,style:ne,"data-icon":ge.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},he))};N.displayName="IconReact",N.getTwoToneColors=D,N.setTwoToneColors=j;var F=N;function B(ee){var ie=Object(w.d)(ee),G=Object(m.a)(ie,2),Q=G[0],W=G[1];return F.setTwoToneColors({primaryColor:Q,secondaryColor:W})}function U(){var ee=F.getTwoToneColors();return ee.calculated?[ee.primaryColor,ee.secondaryColor]:ee.primaryColor}var J=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];B("#1890ff");var $=k.forwardRef(function(ee,ie){var G,Q=ee.className,W=ee.icon,ne=ee.spin,te=ee.rotate,_e=ee.tabIndex,he=ee.onClick,oe=ee.twoToneColor,ge=Object(C.a)(ee,J),me=k.useContext(y.a),Z=me.prefixCls,xe=Z===void 0?"anticon":Z,Ee=me.rootClassName,Le=S()(Ee,xe,(G={},Object(O.a)(G,"".concat(xe,"-").concat(W.name),!!W.name),Object(O.a)(G,"".concat(xe,"-spin"),!!ne||W.name==="loading"),G),Q),we=_e;we===void 0&&he&&(we=-1);var fe=te?{msTransform:"rotate(".concat(te,"deg)"),transform:"rotate(".concat(te,"deg)")}:void 0,pe=Object(w.d)(oe),Ke=Object(m.a)(pe,2),Me=Ke[0],ze=Ke[1];return k.createElement("span",Object(E.a)(Object(E.a)({role:"img","aria-label":W.name},ge),{},{ref:ie,tabIndex:we,onClick:he,className:Le}),k.createElement(F,{icon:W,primaryColor:Me,secondaryColor:ze,style:fe}))});$.displayName="AntdIcon",$.getTwoToneColor=U,$.setTwoToneColor=B;var X=R.a=$},"6YBP":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},"6cL7":function(ce,R,l){"use strict";var E=l("ENif"),m=l("f1E4"),O=l("FCfD"),C=l("UPML"),k=l("dagG");E("search",1,function(A,S,y){return[function(x){var T=O(this),j=x==null?void 0:x[A];return j!==void 0?j.call(x,T):new RegExp(x)[A](String(T))},function(w){var x=y(S,w,this);if(x.done)return x.value;var T=m(w),j=String(this),D=T.lastIndex;C(D,0)||(T.lastIndex=0);var N=k(T,j);return C(T.lastIndex,D)||(T.lastIndex=D),N===null?-1:N.index}]})},"6dv6":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=A;var E=l("b+tR"),m=O(E);function O(S){return S&&S.__esModule?S:{default:S}}var C=["-webkit-","-moz-",""],k=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;function A(S,y){if(typeof y=="string"&&!(0,m.default)(y)&&k.test(y))return C.map(function(w){return w+y})}ce.exports=R.default},"6ixQ":function(ce,R){ce.exports={}},"6koa":function(ce,R,l){"use strict";function E(m,O){if(m===O)return!0;if(!m||!O)return!1;var C=Object.keys(m),k=Object.keys(O),A=C.length;if(k.length!==A)return!1;for(var S=0;S<A;S++){var y=C[S];if(m[y]!==O[y]||!Object.prototype.hasOwnProperty.call(O,y))return!1}return!0}ce.exports=E},"6sVZ":function(ce,R){var l=Object.prototype;function E(m){var O=m&&m.constructor,C=typeof O=="function"&&O.prototype||l;return m===C}ce.exports=E},"6spV":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("ukPv"),C=l("jtLI"),k=l("tSXo"),A=l("YfKC").f,S=l("LJ80"),y=O.Symbol;if(m&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var w={},x=function(){var B=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),U=this instanceof x?new y(B):B===void 0?y():y(B);return B===""&&(w[U]=!0),U};S(x,y);var T=x.prototype=y.prototype;T.constructor=x;var j=T.toString,D=String(y("test"))=="Symbol(test)",N=/^Symbol\((.*)\)[^)]+$/;A(T,"description",{configurable:!0,get:function(){var B=k(this)?this.valueOf():this,U=j.call(B);if(C(w,B))return"";var J=D?U.slice(7,-1):U.replace(N,"$1");return J===""?void 0:J}}),E({global:!0,forced:!0},{Symbol:x})}},"7+0S":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Twitter=void 0;var E=l("q1tI"),m=N(E),O=l("17x9"),C=N(O),k=l("/FUP"),A=N(k),S=l("3WF5"),y=N(S),w=l("QkVN"),x=N(w),T=l("4iDX"),j=N(T),D=l("UtML");function N(B){return B&&B.__esModule?B:{default:B}}var F=R.Twitter=function(U){var J=U.onChange,$=U.onSwatchHover,X=U.hex,ee=U.colors,ie=U.width,G=U.triangle,Q=U.styles,W=Q===void 0?{}:Q,ne=U.className,te=ne===void 0?"":ne,_e=(0,A.default)((0,x.default)({default:{card:{width:ie,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},W),{"hide-triangle":G==="hide","top-left-triangle":G==="top-left","top-right-triangle":G==="top-right"}),he=function(ge,me){j.default.isValidHex(ge)&&J({hex:ge,source:"hex"},me)};return m.default.createElement("div",{style:_e.card,className:"twitter-picker "+te},m.default.createElement("div",{style:_e.triangleShadow}),m.default.createElement("div",{style:_e.triangle}),m.default.createElement("div",{style:_e.body},(0,y.default)(ee,function(oe,ge){return m.default.createElement(D.Swatch,{key:ge,color:oe,hex:oe,style:_e.swatch,onClick:he,onHover:$,focusStyle:{boxShadow:"0 0 4px "+oe}})}),m.default.createElement("div",{style:_e.hash},"#"),m.default.createElement(D.EditableInput,{style:{input:_e.input},value:X.replace("#",""),onChange:he}),m.default.createElement("div",{style:_e.clear})))};F.propTypes={width:C.default.oneOfType([C.default.string,C.default.number]),triangle:C.default.oneOf(["hide","top-left","top-right"]),colors:C.default.arrayOf(C.default.string),styles:C.default.object},F.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},R.default=(0,D.ColorWrap)(F)},"711d":function(ce,R){function l(E){return function(m){return m==null?void 0:m[E]}}ce.exports=l},"71zU":function(ce,R,l){"use strict";var E=l("284h").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=O;var m=E(l("q1tI"));function O(C,k,A){var S=m.useRef({});return(!("value"in S.current)||A(S.current.condition,k))&&(S.current.value=C(),S.current.condition=k),S.current.value}},"72Ab":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("8KD2"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},"77Zs":function(ce,R,l){var E=l("Xi7e");function m(){this.__data__=new E,this.size=0}ce.exports=m},"78VC":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.multiBindToService=void 0;var E=function(O){return function(C){return function(){for(var k=[],A=0;A<arguments.length;A++)k[A]=arguments[A];return k.forEach(function(S){return O.bind(S).toService(C)})}}};R.multiBindToService=E},"7BAe":function(ce,R,l){var E=l("cT1L");ce.exports=function(m,O,C){if(E(m),O===void 0)return m;switch(C){case 0:return function(){return m.call(O)};case 1:return function(k){return m.call(O,k)};case 2:return function(k,A){return m.call(O,k,A)};case 3:return function(k,A,S){return m.call(O,k,A,S)}}return function(){return m.apply(O,arguments)}}},"7GkX":function(ce,R,l){var E=l("b80T"),m=l("A90E"),O=l("MMmD");function C(k){return O(k)?E(k):m(k)}ce.exports=C},"7Ix3":function(ce,R){function l(E){var m=[];if(E!=null)for(var O in Object(E))m.push(O);return m}ce.exports=l},"7Kak":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("KPFz"),C=l.n(O)},"7Qc+":function(ce,R){ce.exports=Array.isArray||function(l){return Object.prototype.toString.call(l)=="[object Array]"}},"7W2i":function(ce,R,l){var E=l("SksO");function m(O,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(C&&C.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),C&&E(O,C)}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"7fqy":function(ce,R){function l(E){var m=-1,O=Array(E.size);return E.forEach(function(C,k){O[++m]=[k,C]}),O}ce.exports=l},"7ixt":function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E={adjustX:1,adjustY:1},m=[0,0],O={left:{points:["cr","cl"],overflow:E,offset:[-4,0],targetOffset:m},right:{points:["cl","cr"],overflow:E,offset:[4,0],targetOffset:m},top:{points:["bc","tc"],overflow:E,offset:[0,-4],targetOffset:m},bottom:{points:["tc","bc"],overflow:E,offset:[0,4],targetOffset:m},topLeft:{points:["bl","tl"],overflow:E,offset:[0,-4],targetOffset:m},leftTop:{points:["tr","tl"],overflow:E,offset:[-4,0],targetOffset:m},topRight:{points:["br","tr"],overflow:E,offset:[0,-4],targetOffset:m},rightTop:{points:["tl","tr"],overflow:E,offset:[4,0],targetOffset:m},bottomRight:{points:["tr","br"],overflow:E,offset:[0,4],targetOffset:m},rightBottom:{points:["bl","br"],overflow:E,offset:[4,0],targetOffset:m},bottomLeft:{points:["tl","bl"],overflow:E,offset:[0,4],targetOffset:m},leftBottom:{points:["br","bl"],overflow:E,offset:[-4,0],targetOffset:m}},C=O},"7yTQ":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("7BAe"),S=l("/dTS"),y=l("PPXv"),w=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{filter:function(T){var j=C(this),D=y(j),N=A(T,arguments.length>1?arguments[1]:void 0,3),F=new(S(j,O("Map"))),B=k(F.set);return w(D,function(U,J){N(J,U,j)&&B.call(F,U,J)},void 0,!0,!0),F}})},"7z/i":function(ce,R,l){"use strict";(function(E){var m=typeof E!="undefined"&&E.versions!=null&&E.versions.node!=null,O=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!m};R.a=O}).call(this,l("Q2Ig"))},"7zRj":function(ce,R,l){(function(E){var m=typeof E!="undefined"?E:typeof window!="undefined"?window:{},O=l(2),C;typeof document!="undefined"?C=document:(C=m["__GLOBAL_DOCUMENT_CACHE@4"],C||(C=m["__GLOBAL_DOCUMENT_CACHE@4"]=O)),ce.exports=C}).call(this,l("IyRk"))},"8+s/":function(ce,R,l){"use strict";function E(y){return y&&typeof y=="object"&&"default"in y?y.default:y}var m=l("q1tI"),O=E(m);function C(y,w,x){return w in y?Object.defineProperty(y,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):y[w]=x,y}function k(y,w){y.prototype=Object.create(w.prototype),y.prototype.constructor=y,y.__proto__=w}var A=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function S(y,w,x){if(typeof y!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof w!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof x!="undefined"&&typeof x!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function T(j){return j.displayName||j.name||"Component"}return function(D){if(typeof D!="function")throw new Error("Expected WrappedComponent to be a React component.");var N=[],F;function B(){F=y(N.map(function(J){return J.props})),U.canUseDOM?w(F):x&&(F=x(F))}var U=function(J){k($,J);function $(){return J.apply(this,arguments)||this}$.peek=function(){return F},$.rewind=function(){if($.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var ie=F;return F=void 0,N=[],ie};var X=$.prototype;return X.UNSAFE_componentWillMount=function(){N.push(this),B()},X.componentDidUpdate=function(){B()},X.componentWillUnmount=function(){var ie=N.indexOf(this);N.splice(ie,1),B()},X.render=function(){return O.createElement(D,this.props)},$}(m.PureComponent);return C(U,"displayName","SideEffect("+T(D)+")"),C(U,"canUseDOM",A),U}}ce.exports=S},"80Z6":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("cT1L"),O=l("29mP"),C=l("LUyE"),k=l("WJ3H"),A=l("IuhT"),S="No one promise resolved";E({target:"Promise",stat:!0},{any:function(w){var x=this,T=C.f(x),j=T.resolve,D=T.reject,N=k(function(){var F=m(x.resolve),B=[],U=0,J=1,$=!1;A(w,function(X){var ee=U++,ie=!1;B.push(void 0),J++,F.call(x,X).then(function(G){ie||$||($=!0,j(G))},function(G){ie||$||(ie=!0,B[ee]=G,--J||D(new(O("AggregateError"))(B,S)))})}),--J||D(new(O("AggregateError"))(B,S))});return N.error&&D(N.value),T.promise}})},"815F":function(ce,R,l){"use strict";l.d(R,"f",function(){return N}),l.d(R,"d",function(){return F}),l.d(R,"c",function(){return U}),l.d(R,"e",function(){return J}),l.d(R,"a",function(){return X}),l.d(R,"g",function(){return ee}),l.d(R,"b",function(){return ie});var E=l("U8pU"),m=l("KQm4"),O=l("VTBJ"),C=l("Ff2n"),k=l("q1tI"),A=l.n(k),S=l("TOwV");function y(G){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=[];return A.a.Children.forEach(G,function(ne){ne==null&&!Q.keepEmpty||(Array.isArray(ne)?W=W.concat(y(ne)):Object(S.isFragment)(ne)&&ne.props?W=W.concat(y(ne.props.children,Q)):W.push(ne))}),W}function w(G,Q){var W=Object(O.a)({},G);return Array.isArray(Q)&&Q.forEach(function(ne){delete W[ne]}),W}var x=l("23DT"),T=["children"];function j(G,Q){return"".concat(G,"-").concat(Q)}function D(G){return G&&G.type&&G.type.isTreeNode}function N(G,Q){return G!=null?G:Q}function F(G){var Q=G||{},W=Q.title,ne=Q._title,te=Q.key,_e=Q.children,he=W||"title";return{title:he,_title:ne||[he],key:te||"key",children:_e||"children"}}function B(G,Q){var W=new Map;function ne(te){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(te||[]).forEach(function(he){var oe=he[Q.key],ge=he[Q.children];Object(x.a)(oe!=null,"Tree node must have a certain key: [".concat(_e).concat(oe,"]"));var me=String(oe);Object(x.a)(!W.has(me)||oe===null||oe===void 0,"Same 'key' exist in the Tree: ".concat(me)),W.set(me,!0),ne(ge,"".concat(_e).concat(me," > "))})}ne(G)}function U(G){function Q(W){var ne=y(W);return ne.map(function(te){if(!D(te))return Object(x.a)(!te,"Tree/TreeNode can only accept TreeNode as children."),null;var _e=te.key,he=te.props,oe=he.children,ge=Object(C.a)(he,T),me=Object(O.a)({key:_e},ge),Z=Q(oe);return Z.length&&(me.children=Z),me}).filter(function(te){return te})}return Q(G)}function J(G,Q,W){var ne=F(W),te=ne._title,_e=ne.key,he=ne.children,oe=new Set(Q===!0?[]:Q),ge=[];function me(Z){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Z.map(function(Ee,Le){for(var we=j(xe?xe.pos:"0",Le),fe=N(Ee[_e],we),pe,Ke=0;Ke<te.length;Ke+=1){var Me=te[Ke];if(Ee[Me]!==void 0){pe=Ee[Me];break}}var ze=Object(O.a)(Object(O.a)({},w(Ee,[].concat(Object(m.a)(te),[_e,he]))),{},{title:pe,key:fe,parent:xe,pos:we,children:null,data:Ee,isStart:[].concat(Object(m.a)(xe?xe.isStart:[]),[Le===0]),isEnd:[].concat(Object(m.a)(xe?xe.isEnd:[]),[Le===Z.length-1])});return ge.push(ze),Q===!0||oe.has(fe)?ze.children=me(Ee[he]||[],ze):ze.children=[],ze})}return me(G),ge}function $(G,Q,W){var ne={};Object(E.a)(W)==="object"?ne=W:ne={externalGetKey:W},ne=ne||{};var te=ne,_e=te.childrenPropName,he=te.externalGetKey,oe=te.fieldNames,ge=F(oe),me=ge.key,Z=ge.children,xe=_e||Z,Ee;he?typeof he=="string"?Ee=function(fe){return fe[he]}:typeof he=="function"&&(Ee=function(fe){return he(fe)}):Ee=function(fe,pe){return N(fe[me],pe)};function Le(we,fe,pe,Ke){var Me=we?we[xe]:G,ze=we?j(pe.pos,fe):"0",Ue=we?[].concat(Object(m.a)(Ke),[we]):[];if(we){var He=Ee(we,ze),Ne={node:we,index:fe,pos:ze,key:He,parentPos:pe.node?pe.pos:null,level:pe.level+1,nodes:Ue};Q(Ne)}Me&&Me.forEach(function(it,Xe){Le(it,Xe,{node:we,pos:ze,level:pe?pe.level+1:-1},Ue)})}Le(null)}function X(G){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=Q.initWrapper,ne=Q.processEntity,te=Q.onProcessFinished,_e=Q.externalGetKey,he=Q.childrenPropName,oe=Q.fieldNames,ge=arguments.length>2?arguments[2]:void 0,me=_e||ge,Z={},xe={},Ee={posEntities:Z,keyEntities:xe};return W&&(Ee=W(Ee)||Ee),$(G,function(Le){var we=Le.node,fe=Le.index,pe=Le.pos,Ke=Le.key,Me=Le.parentPos,ze=Le.level,Ue=Le.nodes,He={node:we,nodes:Ue,index:fe,key:Ke,pos:pe,level:ze},Ne=N(Ke,pe);Z[pe]=He,xe[Ne]=He,He.parent=Z[Me],He.parent&&(He.parent.children=He.parent.children||[],He.parent.children.push(He)),ne&&ne(He,Ee)},{externalGetKey:me,childrenPropName:he,fieldNames:oe}),te&&te(Ee),Ee}function ee(G,Q){var W=Q.expandedKeys,ne=Q.selectedKeys,te=Q.loadedKeys,_e=Q.loadingKeys,he=Q.checkedKeys,oe=Q.halfCheckedKeys,ge=Q.dragOverNodeKey,me=Q.dropPosition,Z=Q.keyEntities,xe=Z[G],Ee={eventKey:G,expanded:W.indexOf(G)!==-1,selected:ne.indexOf(G)!==-1,loaded:te.indexOf(G)!==-1,loading:_e.indexOf(G)!==-1,checked:he.indexOf(G)!==-1,halfChecked:oe.indexOf(G)!==-1,pos:String(xe?xe.pos:""),dragOver:ge===G&&me===0,dragOverGapTop:ge===G&&me===-1,dragOverGapBottom:ge===G&&me===1};return Ee}function ie(G){var Q=G.data,W=G.expanded,ne=G.selected,te=G.checked,_e=G.loaded,he=G.loading,oe=G.halfChecked,ge=G.dragOver,me=G.dragOverGapTop,Z=G.dragOverGapBottom,xe=G.pos,Ee=G.active,Le=G.eventKey,we=Object(O.a)(Object(O.a)({},Q),{},{expanded:W,selected:ne,checked:te,loaded:_e,loading:he,halfChecked:oe,dragOver:ge,dragOverGapTop:me,dragOverGapBottom:Z,pos:xe,active:Ee,key:Le});return"props"in we||Object.defineProperty(we,"props",{get:function(){return Object(x.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),G}}),we}},"85Yc":function(ce,R,l){"use strict";l.r(R),l.d(R,"Field",function(){return le}),l.d(R,"List",function(){return Qe}),l.d(R,"useForm",function(){return hn}),l.d(R,"FormProvider",function(){return bn}),l.d(R,"FieldContext",function(){return _e}),l.d(R,"ListContext",function(){return oe}),l.d(R,"useWatch",function(){return gr});var E=l("q1tI"),m=l.n(E),O=l("wx14"),C=l("Ff2n"),k=l("rePB"),A=l("VTBJ"),S=l("KQm4"),y=l("1OyB"),w=l("vuIU"),x=l("JX7q"),T=l("Ji7U"),j=l("LK+K"),D=l("TOwV");function N(zt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=[];return m.a.Children.forEach(zt,function(ot){ot==null&&!Bt.keepEmpty||(Array.isArray(ot)?H=H.concat(N(ot)):Object(D.isFragment)(ot)&&ot.props?H=H.concat(N(ot.props.children,Bt)):H.push(ot))}),H}var F={},B=[],U=function(Bt){B.push(Bt)};function J(zt,Bt){if(!1)var H}function $(zt,Bt){if(!1)var H}function X(){F={}}function ee(zt,Bt,H){!Bt&&!F[H]&&(zt(!1,H),F[H]=!0)}function ie(zt,Bt){ee(J,zt,Bt)}function G(zt,Bt){ee($,zt,Bt)}ie.preMessage=U,ie.resetWarned=X,ie.noteOnce=G;var Q=ie,W="RC_FORM_INTERNAL_HOOKS",ne=function(){Q(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},te=E.createContext({getFieldValue:ne,getFieldsValue:ne,getFieldError:ne,getFieldWarning:ne,getFieldsError:ne,isFieldsTouched:ne,isFieldTouched:ne,isFieldValidating:ne,isFieldsValidating:ne,resetFields:ne,setFields:ne,setFieldValue:ne,setFieldsValue:ne,validateFields:ne,submit:ne,getInternalHooks:function(){return ne(),{dispatch:ne,initEntityValue:ne,registerField:ne,useSubscribe:ne,setInitialValues:ne,destroyForm:ne,setCallbacks:ne,registerWatch:ne,getFields:ne,setValidateMessages:ne,setPreserve:ne,getInitialValue:ne}}}),_e=te,he=E.createContext(null),oe=he;function ge(zt){return zt==null?[]:Array.isArray(zt)?zt:[zt]}function me(zt){return zt&&!!zt._init}var Z=l("x+uP"),xe=l("HaE+"),Ee=l("KpVd"),Le="'${name}' is not a valid ${type}",we={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Le,method:Le,array:Le,object:Le,number:Le,date:Le,boolean:Le,integer:Le,float:Le,regexp:Le,email:Le,url:Le,hex:Le},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},fe=l("U8pU"),pe=l("T5bk");function Ke(zt,Bt){for(var H=zt,ot=0;ot<Bt.length;ot+=1){if(H==null)return;H=H[Bt[ot]]}return H}function Me(zt,Bt,H,ot){if(!Bt.length)return H;var nt=Object(pe.a)(Bt),Ct=nt[0],Wt=nt.slice(1),kn;return!zt&&typeof Ct=="number"?kn=[]:Array.isArray(zt)?kn=Object(S.a)(zt):kn=Object(A.a)({},zt),ot&&H===void 0&&Wt.length===1?delete kn[Ct][Wt[0]]:kn[Ct]=Me(kn[Ct],Wt,H,ot),kn}function ze(zt,Bt,H){var ot=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Bt.length&&ot&&H===void 0&&!Ke(zt,Bt.slice(0,-1))?zt:Me(zt,Bt,H,ot)}function Ue(zt){return Object(fe.a)(zt)==="object"&&zt!==null&&Object.getPrototypeOf(zt)===Object.prototype}function He(zt){return Array.isArray(zt)?[]:{}}var Ne=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function it(){for(var zt=arguments.length,Bt=new Array(zt),H=0;H<zt;H++)Bt[H]=arguments[H];var ot=He(Bt[0]);return Bt.forEach(function(nt){function Ct(Wt,kn){var Sn=new Set(kn),Zn=Ke(nt,Wt),Or=Array.isArray(Zn);if(Or||Ue(Zn)){if(!Sn.has(Zn)){Sn.add(Zn);var Yn=Ke(ot,Wt);Or?ot=ze(ot,Wt,[]):(!Yn||Object(fe.a)(Yn)!=="object")&&(ot=ze(ot,Wt,He(Zn))),Ne(Zn).forEach(function(Nn){Ct([].concat(Object(S.a)(Wt),[Nn]),Sn)})}}else ot=ze(ot,Wt,Zn)}Ct([])}),ot}var Xe=Ee.a;function ht(zt,Bt){return zt.replace(/\$\{\w+\}/g,function(H){var ot=H.slice(2,-1);return Bt[ot]})}var lt="CODE_LOGIC_ERROR";function Et(zt,Bt,H,ot,nt){return tt.apply(this,arguments)}function tt(){return tt=Object(xe.a)(Object(Z.a)().mark(function zt(Bt,H,ot,nt,Ct){var Wt,kn,Sn,Zn,Or,Yn,Nn,Zt,rr;return Object(Z.a)().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return Wt=Object(A.a)({},ot),delete Wt.ruleIndex,Xe.warning=function(){},Wt.validator&&(kn=Wt.validator,Wt.validator=function(){try{return kn.apply(void 0,arguments)}catch(Xn){return console.error(Xn),Promise.reject(lt)}}),Sn=null,Wt&&Wt.type==="array"&&Wt.defaultField&&(Sn=Wt.defaultField,delete Wt.defaultField),Zn=new Xe(Object(k.a)({},Bt,[Wt])),Or=it(we,nt.validateMessages),Zn.messages(Or),Yn=[],ln.prev=10,ln.next=13,Promise.resolve(Zn.validate(Object(k.a)({},Bt,H),Object(A.a)({},nt)));case 13:ln.next=18;break;case 15:ln.prev=15,ln.t0=ln.catch(10),ln.t0.errors&&(Yn=ln.t0.errors.map(function(Xn,Kn){var fr=Xn.message,Hn=fr===lt?Or.default:fr;return E.isValidElement(Hn)?E.cloneElement(Hn,{key:"error_".concat(Kn)}):Hn}));case 18:if(!(!Yn.length&&Sn)){ln.next=23;break}return ln.next=21,Promise.all(H.map(function(Xn,Kn){return Et("".concat(Bt,".").concat(Kn),Xn,Sn,nt,Ct)}));case 21:return Nn=ln.sent,ln.abrupt("return",Nn.reduce(function(Xn,Kn){return[].concat(Object(S.a)(Xn),Object(S.a)(Kn))},[]));case 23:return Zt=Object(A.a)(Object(A.a)({},ot),{},{name:Bt,enum:(ot.enum||[]).join(", ")},Ct),rr=Yn.map(function(Xn){return typeof Xn=="string"?ht(Xn,Zt):Xn}),ln.abrupt("return",rr);case 26:case"end":return ln.stop()}},zt,null,[[10,15]])})),tt.apply(this,arguments)}function mt(zt,Bt,H,ot,nt,Ct){var Wt=zt.join("."),kn=H.map(function(Or,Yn){var Nn=Or.validator,Zt=Object(A.a)(Object(A.a)({},Or),{},{ruleIndex:Yn});return Nn&&(Zt.validator=function(rr,Gn,ln){var Xn=!1,Kn=function(){for(var Sa=arguments.length,Lr=new Array(Sa),Ca=0;Ca<Sa;Ca++)Lr[Ca]=arguments[Ca];Promise.resolve().then(function(){Q(!Xn,"Your validator function has already return a promise. `callback` will be ignored."),Xn||ln.apply(void 0,Lr)})},fr=Nn(rr,Gn,Kn);Xn=fr&&typeof fr.then=="function"&&typeof fr.catch=="function",Q(Xn,"`callback` is deprecated. Please return a promise instead."),Xn&&fr.then(function(){ln()}).catch(function(Hn){ln(Hn||" ")})}),Zt}).sort(function(Or,Yn){var Nn=Or.warningOnly,Zt=Or.ruleIndex,rr=Yn.warningOnly,Gn=Yn.ruleIndex;return!!Nn==!!rr?Zt-Gn:Nn?1:-1}),Sn;if(nt===!0)Sn=new Promise(function(){var Or=Object(xe.a)(Object(Z.a)().mark(function Yn(Nn,Zt){var rr,Gn,ln;return Object(Z.a)().wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:rr=0;case 1:if(!(rr<kn.length)){Kn.next=12;break}return Gn=kn[rr],Kn.next=5,Et(Wt,Bt,Gn,ot,Ct);case 5:if(ln=Kn.sent,!ln.length){Kn.next=9;break}return Zt([{errors:ln,rule:Gn}]),Kn.abrupt("return");case 9:rr+=1,Kn.next=1;break;case 12:Nn([]);case 13:case"end":return Kn.stop()}},Yn)}));return function(Yn,Nn){return Or.apply(this,arguments)}}());else{var Zn=kn.map(function(Or){return Et(Wt,Bt,Or,ot,Ct).then(function(Yn){return{errors:Yn,rule:Or}})});Sn=(nt?vt(Zn):xt(Zn)).then(function(Or){return Promise.reject(Or)})}return Sn.catch(function(Or){return Or}),Sn}function xt(zt){return Xt.apply(this,arguments)}function Xt(){return Xt=Object(xe.a)(Object(Z.a)().mark(function zt(Bt){return Object(Z.a)().wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:return ot.abrupt("return",Promise.all(Bt).then(function(nt){var Ct,Wt=(Ct=[]).concat.apply(Ct,Object(S.a)(nt));return Wt}));case 1:case"end":return ot.stop()}},zt)})),Xt.apply(this,arguments)}function vt(zt){return qe.apply(this,arguments)}function qe(){return qe=Object(xe.a)(Object(Z.a)().mark(function zt(Bt){var H;return Object(Z.a)().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return H=0,nt.abrupt("return",new Promise(function(Ct){Bt.forEach(function(Wt){Wt.then(function(kn){kn.errors.length&&Ct([kn]),H+=1,H===Bt.length&&Ct([])})})}));case 2:case"end":return nt.stop()}},zt)})),qe.apply(this,arguments)}function Re(zt){return ge(zt)}function Se(zt,Bt){var H={};return Bt.forEach(function(ot){var nt=Ke(zt,ot);H=ze(H,ot,nt)}),H}function Ve(zt,Bt){return zt&&zt.some(function(H){return Ge(H,Bt)})}function Ge(zt,Bt){return!zt||!Bt||zt.length!==Bt.length?!1:zt.every(function(H,ot){return Bt[ot]===H})}function _t(zt,Bt){if(zt===Bt)return!0;if(!zt&&Bt||zt&&!Bt||!zt||!Bt||Object(fe.a)(zt)!=="object"||Object(fe.a)(Bt)!=="object")return!1;var H=Object.keys(zt),ot=Object.keys(Bt),nt=new Set([].concat(H,ot));return Object(S.a)(nt).every(function(Ct){var Wt=zt[Ct],kn=Bt[Ct];return typeof Wt=="function"&&typeof kn=="function"?!0:Wt===kn})}function bt(zt){var Bt=arguments.length<=1?void 0:arguments[1];return Bt&&Bt.target&&Object(fe.a)(Bt.target)==="object"&&zt in Bt.target?Bt.target[zt]:Bt}function gt(zt,Bt,H){var ot=zt.length;if(Bt<0||Bt>=ot||H<0||H>=ot)return zt;var nt=zt[Bt],Ct=Bt-H;return Ct>0?[].concat(Object(S.a)(zt.slice(0,H)),[nt],Object(S.a)(zt.slice(H,Bt)),Object(S.a)(zt.slice(Bt+1,ot))):Ct<0?[].concat(Object(S.a)(zt.slice(0,Bt)),Object(S.a)(zt.slice(Bt+1,H+1)),[nt],Object(S.a)(zt.slice(H+1,ot))):zt}var at=["name"],ft=[];function Fe(zt,Bt,H,ot,nt,Ct){return typeof zt=="function"?zt(Bt,H,"source"in Ct?{source:Ct.source}:{}):ot!==nt}var Te=function(zt){Object(T.a)(H,zt);var Bt=Object(j.a)(H);function H(ot){var nt;if(Object(y.a)(this,H),nt=Bt.call(this,ot),nt.state={resetCount:0},nt.cancelRegisterFunc=null,nt.mounted=!1,nt.touched=!1,nt.dirty=!1,nt.validatePromise=void 0,nt.prevValidating=void 0,nt.errors=ft,nt.warnings=ft,nt.cancelRegister=function(){var Sn=nt.props,Zn=Sn.preserve,Or=Sn.isListField,Yn=Sn.name;nt.cancelRegisterFunc&&nt.cancelRegisterFunc(Or,Zn,Re(Yn)),nt.cancelRegisterFunc=null},nt.getNamePath=function(){var Sn=nt.props,Zn=Sn.name,Or=Sn.fieldContext,Yn=Or.prefixName,Nn=Yn===void 0?[]:Yn;return Zn!==void 0?[].concat(Object(S.a)(Nn),Object(S.a)(Zn)):[]},nt.getRules=function(){var Sn=nt.props,Zn=Sn.rules,Or=Zn===void 0?[]:Zn,Yn=Sn.fieldContext;return Or.map(function(Nn){return typeof Nn=="function"?Nn(Yn):Nn})},nt.refresh=function(){!nt.mounted||nt.setState(function(Sn){var Zn=Sn.resetCount;return{resetCount:Zn+1}})},nt.triggerMetaEvent=function(Sn){var Zn=nt.props.onMetaChange;Zn==null||Zn(Object(A.a)(Object(A.a)({},nt.getMeta()),{},{destroy:Sn}))},nt.onStoreChange=function(Sn,Zn,Or){var Yn=nt.props,Nn=Yn.shouldUpdate,Zt=Yn.dependencies,rr=Zt===void 0?[]:Zt,Gn=Yn.onReset,ln=Or.store,Xn=nt.getNamePath(),Kn=nt.getValue(Sn),fr=nt.getValue(ln),Hn=Zn&&Ve(Zn,Xn);switch(Or.type==="valueUpdate"&&Or.source==="external"&&Kn!==fr&&(nt.touched=!0,nt.dirty=!0,nt.validatePromise=null,nt.errors=ft,nt.warnings=ft,nt.triggerMetaEvent()),Or.type){case"reset":if(!Zn||Hn){nt.touched=!1,nt.dirty=!1,nt.validatePromise=void 0,nt.errors=ft,nt.warnings=ft,nt.triggerMetaEvent(),Gn==null||Gn(),nt.refresh();return}break;case"remove":{if(Nn){nt.reRender();return}break}case"setField":{if(Hn){var Sa=Or.data;"touched"in Sa&&(nt.touched=Sa.touched),"validating"in Sa&&!("originRCField"in Sa)&&(nt.validatePromise=Sa.validating?Promise.resolve([]):null),"errors"in Sa&&(nt.errors=Sa.errors||ft),"warnings"in Sa&&(nt.warnings=Sa.warnings||ft),nt.dirty=!0,nt.triggerMetaEvent(),nt.reRender();return}if(Nn&&!Xn.length&&Fe(Nn,Sn,ln,Kn,fr,Or)){nt.reRender();return}break}case"dependenciesUpdate":{var Lr=rr.map(Re);if(Lr.some(function(Ca){return Ve(Or.relatedFields,Ca)})){nt.reRender();return}break}default:if(Hn||(!rr.length||Xn.length||Nn)&&Fe(Nn,Sn,ln,Kn,fr,Or)){nt.reRender();return}break}Nn===!0&&nt.reRender()},nt.validateRules=function(Sn){var Zn=nt.getNamePath(),Or=nt.getValue(),Yn=Sn||{},Nn=Yn.triggerName,Zt=Yn.validateOnly,rr=Zt===void 0?!1:Zt,Gn=Promise.resolve().then(function(){if(!nt.mounted)return[];var ln=nt.props,Xn=ln.validateFirst,Kn=Xn===void 0?!1:Xn,fr=ln.messageVariables,Hn=nt.getRules();Nn&&(Hn=Hn.filter(function(Lr){return Lr}).filter(function(Lr){var Ca=Lr.validateTrigger;if(!Ca)return!0;var za=ge(Ca);return za.includes(Nn)}));var Sa=mt(Zn,Or,Hn,Sn,Kn,fr);return Sa.catch(function(Lr){return Lr}).then(function(){var Lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ft;if(nt.validatePromise===Gn){var Ca;nt.validatePromise=null;var za=[],Ma=[];(Ca=Lr.forEach)===null||Ca===void 0||Ca.call(Lr,function(va){var qa=va.rule.warningOnly,gi=va.errors,Qi=gi===void 0?ft:gi;qa?Ma.push.apply(Ma,Object(S.a)(Qi)):za.push.apply(za,Object(S.a)(Qi))}),nt.errors=za,nt.warnings=Ma,nt.triggerMetaEvent(),nt.reRender()}}),Sa});return rr||(nt.validatePromise=Gn,nt.dirty=!0,nt.errors=ft,nt.warnings=ft,nt.triggerMetaEvent(),nt.reRender()),Gn},nt.isFieldValidating=function(){return!!nt.validatePromise},nt.isFieldTouched=function(){return nt.touched},nt.isFieldDirty=function(){if(nt.dirty||nt.props.initialValue!==void 0)return!0;var Sn=nt.props.fieldContext,Zn=Sn.getInternalHooks(W),Or=Zn.getInitialValue;return Or(nt.getNamePath())!==void 0},nt.getErrors=function(){return nt.errors},nt.getWarnings=function(){return nt.warnings},nt.isListField=function(){return nt.props.isListField},nt.isList=function(){return nt.props.isList},nt.isPreserve=function(){return nt.props.preserve},nt.getMeta=function(){nt.prevValidating=nt.isFieldValidating();var Sn={touched:nt.isFieldTouched(),validating:nt.prevValidating,errors:nt.errors,warnings:nt.warnings,name:nt.getNamePath(),validated:nt.validatePromise===null};return Sn},nt.getOnlyChild=function(Sn){if(typeof Sn=="function"){var Zn=nt.getMeta();return Object(A.a)(Object(A.a)({},nt.getOnlyChild(Sn(nt.getControlled(),Zn,nt.props.fieldContext))),{},{isFunction:!0})}var Or=N(Sn);return Or.length!==1||!E.isValidElement(Or[0])?{child:Or,isFunction:!1}:{child:Or[0],isFunction:!1}},nt.getValue=function(Sn){var Zn=nt.props.fieldContext.getFieldsValue,Or=nt.getNamePath();return Ke(Sn||Zn(!0),Or)},nt.getControlled=function(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Zn=nt.props,Or=Zn.trigger,Yn=Zn.validateTrigger,Nn=Zn.getValueFromEvent,Zt=Zn.normalize,rr=Zn.valuePropName,Gn=Zn.getValueProps,ln=Zn.fieldContext,Xn=Yn!==void 0?Yn:ln.validateTrigger,Kn=nt.getNamePath(),fr=ln.getInternalHooks,Hn=ln.getFieldsValue,Sa=fr(W),Lr=Sa.dispatch,Ca=nt.getValue(),za=Gn||function(gi){return Object(k.a)({},rr,gi)},Ma=Sn[Or],va=Object(A.a)(Object(A.a)({},Sn),za(Ca));va[Or]=function(){nt.touched=!0,nt.dirty=!0,nt.triggerMetaEvent();for(var gi,Qi=arguments.length,mi=new Array(Qi),Cr=0;Cr<Qi;Cr++)mi[Cr]=arguments[Cr];Nn?gi=Nn.apply(void 0,mi):gi=bt.apply(void 0,[rr].concat(mi)),Zt&&(gi=Zt(gi,Ca,Hn(!0))),Lr({type:"updateValue",namePath:Kn,value:gi}),Ma&&Ma.apply(void 0,mi)};var qa=ge(Xn||[]);return qa.forEach(function(gi){var Qi=va[gi];va[gi]=function(){Qi&&Qi.apply(void 0,arguments);var mi=nt.props.rules;mi&&mi.length&&Lr({type:"validateField",namePath:Kn,triggerName:gi})}}),va},ot.fieldContext){var Ct=ot.fieldContext.getInternalHooks,Wt=Ct(W),kn=Wt.initEntityValue;kn(Object(x.a)(nt))}return nt}return Object(w.a)(H,[{key:"componentDidMount",value:function(){var nt=this.props,Ct=nt.shouldUpdate,Wt=nt.fieldContext;if(this.mounted=!0,Wt){var kn=Wt.getInternalHooks,Sn=kn(W),Zn=Sn.registerField;this.cancelRegisterFunc=Zn(this)}Ct===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){!this.mounted||this.forceUpdate()}},{key:"render",value:function(){var nt=this.state.resetCount,Ct=this.props.children,Wt=this.getOnlyChild(Ct),kn=Wt.child,Sn=Wt.isFunction,Zn;return Sn?Zn=kn:E.isValidElement(kn)?Zn=E.cloneElement(kn,this.getControlled(kn.props)):(Q(!kn,"`children` of Field is not validate ReactElement."),Zn=kn),E.createElement(E.Fragment,{key:nt},Zn)}}]),H}(E.Component);Te.contextType=_e,Te.defaultProps={trigger:"onChange",valuePropName:"value"};function ut(zt){var Bt=zt.name,H=Object(C.a)(zt,at),ot=E.useContext(_e),nt=E.useContext(oe),Ct=Bt!==void 0?Re(Bt):void 0,Wt="keep";return H.isListField||(Wt="_".concat((Ct||[]).join("_"))),E.createElement(Te,Object(O.a)({key:Wt,name:Ct,isListField:!!nt},H,{fieldContext:ot}))}var le=ut,$e=function(Bt){var H=Bt.name,ot=Bt.initialValue,nt=Bt.children,Ct=Bt.rules,Wt=Bt.validateTrigger,kn=Bt.isListField,Sn=E.useContext(_e),Zn=E.useContext(oe),Or=E.useRef({keys:[],id:0}),Yn=Or.current,Nn=E.useMemo(function(){var ln=Re(Sn.prefixName)||[];return[].concat(Object(S.a)(ln),Object(S.a)(Re(H)))},[Sn.prefixName,H]),Zt=E.useMemo(function(){return Object(A.a)(Object(A.a)({},Sn),{},{prefixName:Nn})},[Sn,Nn]),rr=E.useMemo(function(){return{getKey:function(Xn){var Kn=Nn.length,fr=Xn[Kn];return[Yn.keys[fr],Xn.slice(Kn+1)]}}},[Nn]);if(typeof nt!="function")return Q(!1,"Form.List only accepts function as children."),null;var Gn=function(Xn,Kn,fr){var Hn=fr.source;return Hn==="internal"?!1:Xn!==Kn};return E.createElement(oe.Provider,{value:rr},E.createElement(_e.Provider,{value:Zt},E.createElement(le,{name:[],shouldUpdate:Gn,rules:Ct,validateTrigger:Wt,initialValue:ot,isList:!0,isListField:kn!=null?kn:!!Zn},function(ln,Xn){var Kn=ln.value,fr=Kn===void 0?[]:Kn,Hn=ln.onChange,Sa=Sn.getFieldValue,Lr=function(){var va=Sa(Nn||[]);return va||[]},Ca={add:function(va,qa){var gi=Lr();qa>=0&&qa<=gi.length?(Yn.keys=[].concat(Object(S.a)(Yn.keys.slice(0,qa)),[Yn.id],Object(S.a)(Yn.keys.slice(qa))),Hn([].concat(Object(S.a)(gi.slice(0,qa)),[va],Object(S.a)(gi.slice(qa))))):(Yn.keys=[].concat(Object(S.a)(Yn.keys),[Yn.id]),Hn([].concat(Object(S.a)(gi),[va]))),Yn.id+=1},remove:function(va){var qa=Lr(),gi=new Set(Array.isArray(va)?va:[va]);gi.size<=0||(Yn.keys=Yn.keys.filter(function(Qi,mi){return!gi.has(mi)}),Hn(qa.filter(function(Qi,mi){return!gi.has(mi)})))},move:function(va,qa){if(va!==qa){var gi=Lr();va<0||va>=gi.length||qa<0||qa>=gi.length||(Yn.keys=gt(Yn.keys,va,qa),Hn(gt(gi,va,qa)))}}},za=fr||[];return Array.isArray(za)||(za=[]),nt(za.map(function(Ma,va){var qa=Yn.keys[va];return qa===void 0&&(Yn.keys[va]=Yn.id,qa=Yn.keys[va],Yn.id+=1),{name:va,key:qa,isListField:!0}}),Ca,Xn)})))},Qe=$e,Tt=l("ODXe");function Ot(zt){var Bt=!1,H=zt.length,ot=[];return zt.length?new Promise(function(nt,Ct){zt.forEach(function(Wt,kn){Wt.catch(function(Sn){return Bt=!0,Sn}).then(function(Sn){H-=1,ot[kn]=Sn,!(H>0)&&(Bt&&Ct(ot),nt(ot))})})}):Promise.resolve([])}var Ut="__@field_split__";function At(zt){return zt.map(function(Bt){return"".concat(Object(fe.a)(Bt),":").concat(Bt)}).join(Ut)}var Pt=function(){function zt(){Object(y.a)(this,zt),this.kvs=new Map}return Object(w.a)(zt,[{key:"set",value:function(H,ot){this.kvs.set(At(H),ot)}},{key:"get",value:function(H){return this.kvs.get(At(H))}},{key:"update",value:function(H,ot){var nt=this.get(H),Ct=ot(nt);Ct?this.set(H,Ct):this.delete(H)}},{key:"delete",value:function(H){this.kvs.delete(At(H))}},{key:"map",value:function(H){return Object(S.a)(this.kvs.entries()).map(function(ot){var nt=Object(Tt.a)(ot,2),Ct=nt[0],Wt=nt[1],kn=Ct.split(Ut);return H({key:kn.map(function(Sn){var Zn=Sn.match(/^([^:]*):(.*)$/),Or=Object(Tt.a)(Zn,3),Yn=Or[1],Nn=Or[2];return Yn==="number"?Number(Nn):Nn}),value:Wt})})}},{key:"toJSON",value:function(){var H={};return this.map(function(ot){var nt=ot.key,Ct=ot.value;return H[nt.join(".")]=Ct,null}),H}}]),zt}(),Dt=Pt,Qt=["name"],cn=Object(w.a)(function zt(Bt){var H=this;Object(y.a)(this,zt),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:H.getFieldValue,getFieldsValue:H.getFieldsValue,getFieldError:H.getFieldError,getFieldWarning:H.getFieldWarning,getFieldsError:H.getFieldsError,isFieldsTouched:H.isFieldsTouched,isFieldTouched:H.isFieldTouched,isFieldValidating:H.isFieldValidating,isFieldsValidating:H.isFieldsValidating,resetFields:H.resetFields,setFields:H.setFields,setFieldValue:H.setFieldValue,setFieldsValue:H.setFieldsValue,validateFields:H.validateFields,submit:H.submit,_init:!0,getInternalHooks:H.getInternalHooks}},this.getInternalHooks=function(ot){return ot===W?(H.formHooked=!0,{dispatch:H.dispatch,initEntityValue:H.initEntityValue,registerField:H.registerField,useSubscribe:H.useSubscribe,setInitialValues:H.setInitialValues,destroyForm:H.destroyForm,setCallbacks:H.setCallbacks,setValidateMessages:H.setValidateMessages,getFields:H.getFields,setPreserve:H.setPreserve,getInitialValue:H.getInitialValue,registerWatch:H.registerWatch}):(Q(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(ot){H.subscribable=ot},this.prevWithoutPreserves=null,this.setInitialValues=function(ot,nt){if(H.initialValues=ot||{},nt){var Ct,Wt=it(ot,H.store);(Ct=H.prevWithoutPreserves)===null||Ct===void 0||Ct.map(function(kn){var Sn=kn.key;Wt=ze(Wt,Sn,Ke(ot,Sn))}),H.prevWithoutPreserves=null,H.updateStore(Wt)}},this.destroyForm=function(){var ot=new Dt;H.getFieldEntities(!0).forEach(function(nt){H.isMergedPreserve(nt.isPreserve())||ot.set(nt.getNamePath(),!0)}),H.prevWithoutPreserves=ot},this.getInitialValue=function(ot){var nt=Ke(H.initialValues,ot);return ot.length?it(nt):nt},this.setCallbacks=function(ot){H.callbacks=ot},this.setValidateMessages=function(ot){H.validateMessages=ot},this.setPreserve=function(ot){H.preserve=ot},this.watchList=[],this.registerWatch=function(ot){return H.watchList.push(ot),function(){H.watchList=H.watchList.filter(function(nt){return nt!==ot})}},this.notifyWatch=function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(H.watchList.length){var nt=H.getFieldsValue(),Ct=H.getFieldsValue(!0);H.watchList.forEach(function(Wt){Wt(nt,Ct,ot)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(ot){H.store=ot},this.getFieldEntities=function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return ot?H.fieldEntities.filter(function(nt){return nt.getNamePath().length}):H.fieldEntities},this.getFieldsMap=function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,nt=new Dt;return H.getFieldEntities(ot).forEach(function(Ct){var Wt=Ct.getNamePath();nt.set(Wt,Ct)}),nt},this.getFieldEntitiesForNamePathList=function(ot){if(!ot)return H.getFieldEntities(!0);var nt=H.getFieldsMap(!0);return ot.map(function(Ct){var Wt=Re(Ct);return nt.get(Wt)||{INVALIDATE_NAME_PATH:Re(Ct)}})},this.getFieldsValue=function(ot,nt){if(H.warningUnhooked(),ot===!0&&!nt)return H.store;var Ct=H.getFieldEntitiesForNamePathList(Array.isArray(ot)?ot:null),Wt=[];return Ct.forEach(function(kn){var Sn,Zn="INVALIDATE_NAME_PATH"in kn?kn.INVALIDATE_NAME_PATH:kn.getNamePath();if(!(!ot&&((Sn=kn.isListField)===null||Sn===void 0?void 0:Sn.call(kn))))if(!nt)Wt.push(Zn);else{var Or="getMeta"in kn?kn.getMeta():null;nt(Or)&&Wt.push(Zn)}}),Se(H.store,Wt.map(Re))},this.getFieldValue=function(ot){H.warningUnhooked();var nt=Re(ot);return Ke(H.store,nt)},this.getFieldsError=function(ot){H.warningUnhooked();var nt=H.getFieldEntitiesForNamePathList(ot);return nt.map(function(Ct,Wt){return Ct&&!("INVALIDATE_NAME_PATH"in Ct)?{name:Ct.getNamePath(),errors:Ct.getErrors(),warnings:Ct.getWarnings()}:{name:Re(ot[Wt]),errors:[],warnings:[]}})},this.getFieldError=function(ot){H.warningUnhooked();var nt=Re(ot),Ct=H.getFieldsError([nt])[0];return Ct.errors},this.getFieldWarning=function(ot){H.warningUnhooked();var nt=Re(ot),Ct=H.getFieldsError([nt])[0];return Ct.warnings},this.isFieldsTouched=function(){H.warningUnhooked();for(var ot=arguments.length,nt=new Array(ot),Ct=0;Ct<ot;Ct++)nt[Ct]=arguments[Ct];var Wt=nt[0],kn=nt[1],Sn,Zn=!1;nt.length===0?Sn=null:nt.length===1?Array.isArray(Wt)?(Sn=Wt.map(Re),Zn=!1):(Sn=null,Zn=Wt):(Sn=Wt.map(Re),Zn=kn);var Or=H.getFieldEntities(!0),Yn=function(ln){return ln.isFieldTouched()};if(!Sn)return Zn?Or.every(Yn):Or.some(Yn);var Nn=new Dt;Sn.forEach(function(Gn){Nn.set(Gn,[])}),Or.forEach(function(Gn){var ln=Gn.getNamePath();Sn.forEach(function(Xn){Xn.every(function(Kn,fr){return ln[fr]===Kn})&&Nn.update(Xn,function(Kn){return[].concat(Object(S.a)(Kn),[Gn])})})});var Zt=function(ln){return ln.some(Yn)},rr=Nn.map(function(Gn){var ln=Gn.value;return ln});return Zn?rr.every(Zt):rr.some(Zt)},this.isFieldTouched=function(ot){return H.warningUnhooked(),H.isFieldsTouched([ot])},this.isFieldsValidating=function(ot){H.warningUnhooked();var nt=H.getFieldEntities();if(!ot)return nt.some(function(Wt){return Wt.isFieldValidating()});var Ct=ot.map(Re);return nt.some(function(Wt){var kn=Wt.getNamePath();return Ve(Ct,kn)&&Wt.isFieldValidating()})},this.isFieldValidating=function(ot){return H.warningUnhooked(),H.isFieldsValidating([ot])},this.resetWithFieldInitialValue=function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},nt=new Dt,Ct=H.getFieldEntities(!0);Ct.forEach(function(Sn){var Zn=Sn.props.initialValue,Or=Sn.getNamePath();if(Zn!==void 0){var Yn=nt.get(Or)||new Set;Yn.add({entity:Sn,value:Zn}),nt.set(Or,Yn)}});var Wt=function(Zn){Zn.forEach(function(Or){var Yn=Or.props.initialValue;if(Yn!==void 0){var Nn=Or.getNamePath(),Zt=H.getInitialValue(Nn);if(Zt!==void 0)Q(!1,"Form already set 'initialValues' with path '".concat(Nn.join("."),"'. Field can not overwrite it."));else{var rr=nt.get(Nn);if(rr&&rr.size>1)Q(!1,"Multiple Field with path '".concat(Nn.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(rr){var Gn=H.getFieldValue(Nn);(!ot.skipExist||Gn===void 0)&&H.updateStore(ze(H.store,Nn,Object(S.a)(rr)[0].value))}}}})},kn;ot.entities?kn=ot.entities:ot.namePathList?(kn=[],ot.namePathList.forEach(function(Sn){var Zn=nt.get(Sn);if(Zn){var Or;(Or=kn).push.apply(Or,Object(S.a)(Object(S.a)(Zn).map(function(Yn){return Yn.entity})))}})):kn=Ct,Wt(kn)},this.resetFields=function(ot){H.warningUnhooked();var nt=H.store;if(!ot){H.updateStore(it(H.initialValues)),H.resetWithFieldInitialValue(),H.notifyObservers(nt,null,{type:"reset"}),H.notifyWatch();return}var Ct=ot.map(Re);Ct.forEach(function(Wt){var kn=H.getInitialValue(Wt);H.updateStore(ze(H.store,Wt,kn))}),H.resetWithFieldInitialValue({namePathList:Ct}),H.notifyObservers(nt,Ct,{type:"reset"}),H.notifyWatch(Ct)},this.setFields=function(ot){H.warningUnhooked();var nt=H.store,Ct=[];ot.forEach(function(Wt){var kn=Wt.name,Sn=Object(C.a)(Wt,Qt),Zn=Re(kn);Ct.push(Zn),"value"in Sn&&H.updateStore(ze(H.store,Zn,Sn.value)),H.notifyObservers(nt,[Zn],{type:"setField",data:Wt})}),H.notifyWatch(Ct)},this.getFields=function(){var ot=H.getFieldEntities(!0),nt=ot.map(function(Ct){var Wt=Ct.getNamePath(),kn=Ct.getMeta(),Sn=Object(A.a)(Object(A.a)({},kn),{},{name:Wt,value:H.getFieldValue(Wt)});return Object.defineProperty(Sn,"originRCField",{value:!0}),Sn});return nt},this.initEntityValue=function(ot){var nt=ot.props.initialValue;if(nt!==void 0){var Ct=ot.getNamePath(),Wt=Ke(H.store,Ct);Wt===void 0&&H.updateStore(ze(H.store,Ct,nt))}},this.isMergedPreserve=function(ot){var nt=ot!==void 0?ot:H.preserve;return nt!=null?nt:!0},this.registerField=function(ot){H.fieldEntities.push(ot);var nt=ot.getNamePath();if(H.notifyWatch([nt]),ot.props.initialValue!==void 0){var Ct=H.store;H.resetWithFieldInitialValue({entities:[ot],skipExist:!0}),H.notifyObservers(Ct,[ot.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(Wt,kn){var Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(H.fieldEntities=H.fieldEntities.filter(function(Yn){return Yn!==ot}),!H.isMergedPreserve(kn)&&(!Wt||Sn.length>1)){var Zn=Wt?void 0:H.getInitialValue(nt);if(nt.length&&H.getFieldValue(nt)!==Zn&&H.fieldEntities.every(function(Yn){return!Ge(Yn.getNamePath(),nt)})){var Or=H.store;H.updateStore(ze(Or,nt,Zn,!0)),H.notifyObservers(Or,[nt],{type:"remove"}),H.triggerDependenciesUpdate(Or,nt)}}H.notifyWatch([nt])}},this.dispatch=function(ot){switch(ot.type){case"updateValue":{var nt=ot.namePath,Ct=ot.value;H.updateValue(nt,Ct);break}case"validateField":{var Wt=ot.namePath,kn=ot.triggerName;H.validateFields([Wt],{triggerName:kn});break}default:}},this.notifyObservers=function(ot,nt,Ct){if(H.subscribable){var Wt=Object(A.a)(Object(A.a)({},Ct),{},{store:H.getFieldsValue(!0)});H.getFieldEntities().forEach(function(kn){var Sn=kn.onStoreChange;Sn(ot,nt,Wt)})}else H.forceRootUpdate()},this.triggerDependenciesUpdate=function(ot,nt){var Ct=H.getDependencyChildrenFields(nt);return Ct.length&&H.validateFields(Ct),H.notifyObservers(ot,Ct,{type:"dependenciesUpdate",relatedFields:[nt].concat(Object(S.a)(Ct))}),Ct},this.updateValue=function(ot,nt){var Ct=Re(ot),Wt=H.store;H.updateStore(ze(H.store,Ct,nt)),H.notifyObservers(Wt,[Ct],{type:"valueUpdate",source:"internal"}),H.notifyWatch([Ct]);var kn=H.triggerDependenciesUpdate(Wt,Ct),Sn=H.callbacks.onValuesChange;if(Sn){var Zn=Se(H.store,[Ct]);Sn(Zn,H.getFieldsValue())}H.triggerOnFieldsChange([Ct].concat(Object(S.a)(kn)))},this.setFieldsValue=function(ot){H.warningUnhooked();var nt=H.store;if(ot){var Ct=it(H.store,ot);H.updateStore(Ct)}H.notifyObservers(nt,null,{type:"valueUpdate",source:"external"}),H.notifyWatch()},this.setFieldValue=function(ot,nt){H.setFields([{name:ot,value:nt}])},this.getDependencyChildrenFields=function(ot){var nt=new Set,Ct=[],Wt=new Dt;H.getFieldEntities().forEach(function(Sn){var Zn=Sn.props.dependencies;(Zn||[]).forEach(function(Or){var Yn=Re(Or);Wt.update(Yn,function(){var Nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return Nn.add(Sn),Nn})})});var kn=function Sn(Zn){var Or=Wt.get(Zn)||new Set;Or.forEach(function(Yn){if(!nt.has(Yn)){nt.add(Yn);var Nn=Yn.getNamePath();Yn.isFieldDirty()&&Nn.length&&(Ct.push(Nn),Sn(Nn))}})};return kn(ot),Ct},this.triggerOnFieldsChange=function(ot,nt){var Ct=H.callbacks.onFieldsChange;if(Ct){var Wt=H.getFields();if(nt){var kn=new Dt;nt.forEach(function(Zn){var Or=Zn.name,Yn=Zn.errors;kn.set(Or,Yn)}),Wt.forEach(function(Zn){Zn.errors=kn.get(Zn.name)||Zn.errors})}var Sn=Wt.filter(function(Zn){var Or=Zn.name;return Ve(ot,Or)});Sn.length&&Ct(Sn,Wt)}},this.validateFields=function(ot,nt){H.warningUnhooked();var Ct,Wt;Array.isArray(ot)||typeof ot=="string"||typeof nt=="string"?(Ct=ot,Wt=nt):Wt=ot;var kn=!!Ct,Sn=kn?Ct.map(Re):[],Zn=[],Or=String(Date.now()),Yn=new Set;H.getFieldEntities(!0).forEach(function(Gn){var ln;if(kn||Sn.push(Gn.getNamePath()),((ln=Wt)===null||ln===void 0?void 0:ln.recursive)&&kn){var Xn=Gn.getNamePath();Xn.every(function(Hn,Sa){return Ct[Sa]===Hn||Ct[Sa]===void 0})&&Sn.push(Xn)}if(!(!Gn.props.rules||!Gn.props.rules.length)){var Kn=Gn.getNamePath();if(Yn.add(Kn.join(Or)),!kn||Ve(Sn,Kn)){var fr=Gn.validateRules(Object(A.a)({validateMessages:Object(A.a)(Object(A.a)({},we),H.validateMessages)},Wt));Zn.push(fr.then(function(){return{name:Kn,errors:[],warnings:[]}}).catch(function(Hn){var Sa,Lr=[],Ca=[];return(Sa=Hn.forEach)===null||Sa===void 0||Sa.call(Hn,function(za){var Ma=za.rule.warningOnly,va=za.errors;Ma?Ca.push.apply(Ca,Object(S.a)(va)):Lr.push.apply(Lr,Object(S.a)(va))}),Lr.length?Promise.reject({name:Kn,errors:Lr,warnings:Ca}):{name:Kn,errors:Lr,warnings:Ca}}))}}});var Nn=Ot(Zn);H.lastValidatePromise=Nn,Nn.catch(function(Gn){return Gn}).then(function(Gn){var ln=Gn.map(function(Xn){var Kn=Xn.name;return Kn});H.notifyObservers(H.store,ln,{type:"validateFinish"}),H.triggerOnFieldsChange(ln,Gn)});var Zt=Nn.then(function(){return H.lastValidatePromise===Nn?Promise.resolve(H.getFieldsValue(Sn)):Promise.reject([])}).catch(function(Gn){var ln=Gn.filter(function(Xn){return Xn&&Xn.errors.length});return Promise.reject({values:H.getFieldsValue(Sn),errorFields:ln,outOfDate:H.lastValidatePromise!==Nn})});Zt.catch(function(Gn){return Gn});var rr=Sn.filter(function(Gn){return Yn.has(Gn.join(Or))});return H.triggerOnFieldsChange(rr),Zt},this.submit=function(){H.warningUnhooked(),H.validateFields().then(function(ot){var nt=H.callbacks.onFinish;if(nt)try{nt(ot)}catch(Ct){console.error(Ct)}}).catch(function(ot){var nt=H.callbacks.onFinishFailed;nt&&nt(ot)})},this.forceRootUpdate=Bt});function $n(zt){var Bt=E.useRef(),H=E.useState({}),ot=Object(Tt.a)(H,2),nt=ot[1];if(!Bt.current)if(zt)Bt.current=zt;else{var Ct=function(){nt({})},Wt=new cn(Ct);Bt.current=Wt.getForm()}return[Bt.current]}var hn=$n,_n=E.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),bn=function(Bt){var H=Bt.validateMessages,ot=Bt.onFormChange,nt=Bt.onFormFinish,Ct=Bt.children,Wt=E.useContext(_n),kn=E.useRef({});return E.createElement(_n.Provider,{value:Object(A.a)(Object(A.a)({},Wt),{},{validateMessages:Object(A.a)(Object(A.a)({},Wt.validateMessages),H),triggerFormChange:function(Zn,Or){ot&&ot(Zn,{changedFields:Or,forms:kn.current}),Wt.triggerFormChange(Zn,Or)},triggerFormFinish:function(Zn,Or){nt&&nt(Zn,{values:Or,forms:kn.current}),Wt.triggerFormFinish(Zn,Or)},registerForm:function(Zn,Or){Zn&&(kn.current=Object(A.a)(Object(A.a)({},kn.current),{},Object(k.a)({},Zn,Or))),Wt.registerForm(Zn,Or)},unregisterForm:function(Zn){var Or=Object(A.a)({},kn.current);delete Or[Zn],kn.current=Or,Wt.unregisterForm(Zn)}})},Ct)},Bn=_n,Tn=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Tr=function(Bt,H){var ot=Bt.name,nt=Bt.initialValues,Ct=Bt.fields,Wt=Bt.form,kn=Bt.preserve,Sn=Bt.children,Zn=Bt.component,Or=Zn===void 0?"form":Zn,Yn=Bt.validateMessages,Nn=Bt.validateTrigger,Zt=Nn===void 0?"onChange":Nn,rr=Bt.onValuesChange,Gn=Bt.onFieldsChange,ln=Bt.onFinish,Xn=Bt.onFinishFailed,Kn=Object(C.a)(Bt,Tn),fr=E.useContext(Bn),Hn=hn(Wt),Sa=Object(Tt.a)(Hn,1),Lr=Sa[0],Ca=Lr.getInternalHooks(W),za=Ca.useSubscribe,Ma=Ca.setInitialValues,va=Ca.setCallbacks,qa=Ca.setValidateMessages,gi=Ca.setPreserve,Qi=Ca.destroyForm;E.useImperativeHandle(H,function(){return Lr}),E.useEffect(function(){return fr.registerForm(ot,Lr),function(){fr.unregisterForm(ot)}},[fr,Lr,ot]),qa(Object(A.a)(Object(A.a)({},fr.validateMessages),Yn)),va({onValuesChange:rr,onFieldsChange:function(Qr){if(fr.triggerFormChange(ot,Qr),Gn){for(var Na=arguments.length,ar=new Array(Na>1?Na-1:0),pi=1;pi<Na;pi++)ar[pi-1]=arguments[pi];Gn.apply(void 0,[Qr].concat(ar))}},onFinish:function(Qr){fr.triggerFormFinish(ot,Qr),ln&&ln(Qr)},onFinishFailed:Xn}),gi(kn);var mi=E.useRef(null);Ma(nt,!mi.current),mi.current||(mi.current=!0),E.useEffect(function(){return Qi},[]);var Cr,Un=typeof Sn=="function";if(Un){var Lt=Lr.getFieldsValue(!0);Cr=Sn(Lt,Lr)}else Cr=Sn;za(!Un);var gn=E.useRef();E.useEffect(function(){_t(gn.current||[],Ct||[])||Lr.setFields(Ct||[]),gn.current=Ct},[Ct,Lr]);var Ln=E.useMemo(function(){return Object(A.a)(Object(A.a)({},Lr),{},{validateTrigger:Zt})},[Lr,Zt]),kr=E.createElement(oe.Provider,{value:null},E.createElement(_e.Provider,{value:Ln},Cr));return Or===!1?kr:E.createElement(Or,Object(O.a)({},Kn,{onSubmit:function(Qr){Qr.preventDefault(),Qr.stopPropagation(),Lr.submit()},onReset:function(Qr){var Na;Qr.preventDefault(),Lr.resetFields(),(Na=Kn.onReset)===null||Na===void 0||Na.call(Kn,Qr)}}),kr)},Sr=Tr;function Wr(zt){try{return JSON.stringify(zt)}catch(Bt){return Math.random()}}var br=function(){};function Wn(){for(var zt=arguments.length,Bt=new Array(zt),H=0;H<zt;H++)Bt[H]=arguments[H];var ot=Bt[0],nt=ot===void 0?[]:ot,Ct=Bt[1],Wt=Ct===void 0?{}:Ct,kn=me(Wt)?{form:Wt}:Wt,Sn=kn.form,Zn=Object(E.useState)(),Or=Object(Tt.a)(Zn,2),Yn=Or[0],Nn=Or[1],Zt=Object(E.useMemo)(function(){return Wr(Yn)},[Yn]),rr=Object(E.useRef)(Zt);rr.current=Zt;var Gn=Object(E.useContext)(_e),ln=Sn||Gn,Xn=ln&&ln._init,Kn=Re(nt),fr=Object(E.useRef)(Kn);return fr.current=Kn,br(Kn),Object(E.useEffect)(function(){if(!!Xn){var Hn=ln.getFieldsValue,Sa=ln.getInternalHooks,Lr=Sa(W),Ca=Lr.registerWatch,za=Ca(function(va,qa){var gi=Ke(kn.preserve?qa:va,fr.current),Qi=Wr(gi);rr.current!==Qi&&(rr.current=Qi,Nn(gi))}),Ma=Ke(kn.preserve?Hn(!0):Hn(),fr.current);return Nn(Ma),za}},[Xn]),Yn}var gr=Wn,na=E.forwardRef(Sr),jn=na;jn.FormProvider=bn,jn.Field=le,jn.List=Qe,jn.useForm=hn,jn.useWatch=gr;var un=R.default=jn},"85tw":function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=m.keys,k=m.toKey;E({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(S){var y=arguments.length<2?void 0:k(arguments[1]);return C(O(S),y)}})},"879j":function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("oZsa"),m=l("cHpt"),O=l("Nsem");function C(k){var A=Object(m.a)();return function(){var y=Object(E.a)(k),w;if(A){var x=Object(E.a)(this).constructor;w=Reflect.construct(y,arguments,x)}else w=y.apply(this,arguments);return Object(O.a)(this,w)}}},"88Gu":function(ce,R){var l=800,E=16,m=Date.now;function O(C){var k=0,A=0;return function(){var S=m(),y=E-(S-A);if(A=S,y>0){if(++k>=l)return arguments[0]}else k=0;return C.apply(void 0,arguments)}}ce.exports=O},"88MX":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=k;var E=l("B9n1"),m=O(E);function O(A){return A&&A.__esModule?A:{default:A}}var C=["-webkit-",""];function k(A,S){if(typeof S=="string"&&!(0,m.default)(S)&&S.indexOf("cross-fade(")>-1)return C.map(function(y){return S.replace(/cross-fade\(/g,y+"cross-fade(")})}ce.exports=R.default},"8Cut":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Compact=void 0;var E=l("q1tI"),m=J(E),O=l("17x9"),C=J(O),k=l("/FUP"),A=J(k),S=l("3WF5"),y=J(S),w=l("QkVN"),x=J(w),T=l("4iDX"),j=J(T),D=l("UtML"),N=l("GzDc"),F=J(N),B=l("Vf3p"),U=J(B);function J(X){return X&&X.__esModule?X:{default:X}}var $=R.Compact=function(ee){var ie=ee.onChange,G=ee.onSwatchHover,Q=ee.colors,W=ee.hex,ne=ee.rgb,te=ee.styles,_e=te===void 0?{}:te,he=ee.className,oe=he===void 0?"":he,ge=(0,A.default)((0,x.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},_e)),me=function(xe,Ee){xe.hex?j.default.isValidHex(xe.hex)&&ie({hex:xe.hex,source:"hex"},Ee):ie(xe,Ee)};return m.default.createElement(D.Raised,{style:ge.Compact,styles:_e},m.default.createElement("div",{style:ge.compact,className:"compact-picker "+oe},m.default.createElement("div",null,(0,y.default)(Q,function(Z){return m.default.createElement(F.default,{key:Z,color:Z,active:Z.toLowerCase()===W,onClick:me,onSwatchHover:G})}),m.default.createElement("div",{style:ge.clear})),m.default.createElement(U.default,{hex:W,rgb:ne,onChange:me})))};$.propTypes={colors:C.default.arrayOf(C.default.string),styles:C.default.object},$.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},R.default=(0,D.ColorWrap)($)},"8Cw2":function(ce,R,l){var E=l("ukPv"),m=E.isFinite;ce.exports=Number.isFinite||function(C){return typeof C=="number"&&m(C)}},"8DXf":function(ce,R,l){var E=l("MMxC"),m=l("0qr0"),O=l("oa35");E({target:"String",stat:!0},{raw:function(k){for(var A=m(k.raw),S=O(A.length),y=arguments.length,w=[],x=0;S>x;)w.push(String(A[x++])),x<y&&w.push(String(arguments[x]));return w.join("")}})},"8HVG":function(ce,R,l){"use strict";l.d(R,"a",function(){return S});var E=l("KQm4"),m=l("wx14"),O=l("ODXe"),C=l("q1tI"),k=l.n(C),A=l("EE3K");function S(y){var w=C.useRef({}),x=C.useState([]),T=Object(O.a)(x,2),j=T[0],D=T[1];function N(F){var B=!0;y.add(F,function(U,J){var $=J.key;if(U&&(!w.current[$]||B)){var X=C.createElement(A.a,Object(m.a)({},J,{holder:U}));w.current[$]=X,D(function(ee){var ie=ee.findIndex(function(Q){return Q.key===J.key});if(ie===-1)return[].concat(Object(E.a)(ee),[X]);var G=Object(E.a)(ee);return G[ie]=X,G})}B=!1})}return[N,C.createElement(C.Fragment,null,j)]}},"8KD2":function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("nFTT")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="InfoCircleFilled";var x=C.forwardRef(w);R.default=x},"8L3h":function(ce,R,l){"use strict";ce.exports=l("f/k9")},"8Lo7":function(ce,R,l){"use strict";var E=l("FVwB"),m=l("/3zY").includes,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("includes",function(A){return m(O(this),A,arguments.length>1?arguments[1]:void 0)})},"8MX5":function(ce,R,l){"use strict";var E=function(){function k(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return k}(),m=function(){function k(){this.browser=new E,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window!="undefined"}return k}(),O=new m;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(O.wxa=!0,O.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?O.worker=!0:typeof navigator=="undefined"?(O.node=!0,O.svgSupported=!0):C(navigator.userAgent,O);function C(k,A){var S=A.browser,y=k.match(/Firefox\/([\d.]+)/),w=k.match(/MSIE\s([\d.]+)/)||k.match(/Trident\/.+?rv:(([\d.]+))/),x=k.match(/Edge?\/([\d.]+)/),T=/micromessenger/i.test(k);y&&(S.firefox=!0,S.version=y[1]),w&&(S.ie=!0,S.version=w[1]),x&&(S.edge=!0,S.version=x[1],S.newEdge=+x[1].split(".")[0]>18),T&&(S.weChat=!0),A.svgSupported=typeof SVGRect!="undefined",A.touchEventsSupported="ontouchstart"in window&&!S.ie&&!S.edge,A.pointerEventsSupported="onpointerdown"in window&&(S.edge||S.ie&&+S.version>=11),A.domSupported=typeof document!="undefined";var j=document.documentElement.style;A.transform3dSupported=(S.ie&&"transition"in j||S.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in j)&&!("OTransition"in j),A.transformSupported=A.transform3dSupported||S.ie&&+S.version>=9}R.a=O},"8OGu":function(ce,R,l){var E=l("I65O");E("isConcatSpreadable")},"8OQS":function(ce,R){function l(E,m){if(E==null)return{};var O={},C=Object.keys(E),k,A;for(A=0;A<C.length;A++)k=C[A],!(m.indexOf(k)>=0)&&(O[k]=E[k]);return O}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"8OQV":function(ce,R,l){var E=l("ukPv"),m=l("MVys"),O=l("GPrf"),C=l("FVwB").NATIVE_ARRAY_BUFFER_VIEWS,k=E.ArrayBuffer,A=E.Int8Array;ce.exports=!C||!m(function(){A(1)})||!m(function(){new A(-1)})||!O(function(S){new A,new A(null),new A(1.5),new A(S)},!0)||m(function(){return new A(new k(2),1,void 0).length!==1})},"8Skl":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="DownOutlined";var S=R.a=m.forwardRef(A)},"8Ubs":function(ce,R,l){var E=l("MMxC"),m=l("aF2d");E({target:"Map",stat:!0},{from:m})},"8XRh":function(ce,R,l){"use strict";l.d(R,"a",function(){return Sr});var E=l("rePB"),m=l("VTBJ"),O=l("ODXe"),C=l("U8pU"),k=l("TSYQ"),A=l.n(k),S=l("q1tI"),y=l.n(S),w=l("i8i4"),x=l.n(w);function T(br){return br instanceof HTMLElement||br instanceof SVGElement}function j(br){return T(br)?br:br instanceof y.a.Component?x.a.findDOMNode(br):null}var D=l("TOwV");function N(br,Wn,gr){var na=S.useRef({});return(!("value"in na.current)||gr(na.current.condition,Wn))&&(na.current.value=br(),na.current.condition=Wn),na.current.value}function F(br,Wn){typeof br=="function"?br(Wn):Object(C.a)(br)==="object"&&br&&"current"in br&&(br.current=Wn)}function B(){for(var br=arguments.length,Wn=new Array(br),gr=0;gr<br;gr++)Wn[gr]=arguments[gr];var na=Wn.filter(function(jn){return jn});return na.length<=1?na[0]:function(jn){Wn.forEach(function(un){F(un,jn)})}}function U(){for(var br=arguments.length,Wn=new Array(br),gr=0;gr<br;gr++)Wn[gr]=arguments[gr];return N(function(){return B.apply(void 0,Wn)},Wn,function(na,jn){return na.length===jn.length&&na.every(function(un,zt){return un===jn[zt]})})}function J(br){var Wn,gr,na=Object(D.isMemo)(br)?br.type.type:br.type;return!(typeof na=="function"&&!((Wn=na.prototype)!==null&&Wn!==void 0&&Wn.render)||typeof br=="function"&&!((gr=br.prototype)!==null&&gr!==void 0&&gr.render))}var $=l("Ff2n"),X=["children"],ee=S.createContext({});function ie(br){var Wn=br.children,gr=Object($.a)(br,X);return S.createElement(ee.Provider,{value:gr},Wn)}var G=l("1OyB"),Q=l("vuIU"),W=l("Ji7U"),ne=l("LK+K"),te=function(br){Object(W.a)(gr,br);var Wn=Object(ne.a)(gr);function gr(){return Object(G.a)(this,gr),Wn.apply(this,arguments)}return Object(Q.a)(gr,[{key:"render",value:function(){return this.props.children}}]),gr}(S.Component),_e=te;function he(br){var Wn=S.useRef(!1),gr=S.useState(br),na=Object(O.a)(gr,2),jn=na[0],un=na[1];S.useEffect(function(){return Wn.current=!1,function(){Wn.current=!0}},[]);function zt(Bt,H){H&&Wn.current||un(Bt)}return[jn,zt]}var oe="none",ge="appear",me="enter",Z="leave",xe="none",Ee="prepare",Le="start",we="active",fe="end",pe="prepared";function Ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function Me(br,Wn){var gr={};return gr[br.toLowerCase()]=Wn.toLowerCase(),gr["Webkit".concat(br)]="webkit".concat(Wn),gr["Moz".concat(br)]="moz".concat(Wn),gr["ms".concat(br)]="MS".concat(Wn),gr["O".concat(br)]="o".concat(Wn.toLowerCase()),gr}function ze(br,Wn){var gr={animationend:Me("Animation","AnimationEnd"),transitionend:Me("Transition","TransitionEnd")};return br&&("AnimationEvent"in Wn||delete gr.animationend.animation,"TransitionEvent"in Wn||delete gr.transitionend.transition),gr}var Ue=ze(Ke(),typeof window!="undefined"?window:{}),He={};if(Ke()){var Ne=document.createElement("div");He=Ne.style}var it={};function Xe(br){if(it[br])return it[br];var Wn=Ue[br];if(Wn)for(var gr=Object.keys(Wn),na=gr.length,jn=0;jn<na;jn+=1){var un=gr[jn];if(Object.prototype.hasOwnProperty.call(Wn,un)&&un in He)return it[br]=Wn[un],it[br]}return""}var ht=Xe("animationend"),lt=Xe("transitionend"),Et=!!(ht&&lt),tt=ht||"animationend",mt=lt||"transitionend";function xt(br,Wn){if(!br)return null;if(Object(C.a)(br)==="object"){var gr=Wn.replace(/-\w/g,function(na){return na[1].toUpperCase()});return br[gr]}return"".concat(br,"-").concat(Wn)}var Xt=function(br){var Wn=Object(S.useRef)(),gr=Object(S.useRef)(br);gr.current=br;var na=S.useCallback(function(zt){gr.current(zt)},[]);function jn(zt){zt&&(zt.removeEventListener(mt,na),zt.removeEventListener(tt,na))}function un(zt){Wn.current&&Wn.current!==zt&&jn(Wn.current),zt&&zt!==Wn.current&&(zt.addEventListener(mt,na),zt.addEventListener(tt,na),Wn.current=zt)}return S.useEffect(function(){return function(){jn(Wn.current)}},[]),[un,jn]},vt=Ke()?S.useLayoutEffect:S.useEffect,qe=vt,Re=function(Wn){return+setTimeout(Wn,16)},Se=function(Wn){return clearTimeout(Wn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Re=function(Wn){return window.requestAnimationFrame(Wn)},Se=function(Wn){return window.cancelAnimationFrame(Wn)});var Ve=0,Ge=new Map;function _t(br){Ge.delete(br)}var bt=function(Wn){var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ve+=1;var na=Ve;function jn(un){if(un===0)_t(na),Wn();else{var zt=Re(function(){jn(un-1)});Ge.set(na,zt)}}return jn(gr),na};bt.cancel=function(br){var Wn=Ge.get(br);return _t(Wn),Se(Wn)};var gt=bt,at=function(){var br=S.useRef(null);function Wn(){gt.cancel(br.current)}function gr(na){var jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Wn();var un=gt(function(){jn<=1?na({isCanceled:function(){return un!==br.current}}):gr(na,jn-1)});br.current=un}return S.useEffect(function(){return function(){Wn()}},[]),[gr,Wn]},ft=[Ee,Le,we,fe],Fe=[Ee,pe],Te=!1,ut=!0;function le(br){return br===we||br===fe}var $e=function(br,Wn,gr){var na=he(xe),jn=Object(O.a)(na,2),un=jn[0],zt=jn[1],Bt=at(),H=Object(O.a)(Bt,2),ot=H[0],nt=H[1];function Ct(){zt(Ee,!0)}var Wt=Wn?Fe:ft;return qe(function(){if(un!==xe&&un!==fe){var kn=Wt.indexOf(un),Sn=Wt[kn+1],Zn=gr(un);Zn===Te?zt(Sn,!0):Sn&&ot(function(Or){function Yn(){Or.isCanceled()||zt(Sn,!0)}Zn===!0?Yn():Promise.resolve(Zn).then(Yn)})}},[br,un]),S.useEffect(function(){return function(){nt()}},[]),[Ct,un]};function Qe(br,Wn,gr,na){var jn=na.motionEnter,un=jn===void 0?!0:jn,zt=na.motionAppear,Bt=zt===void 0?!0:zt,H=na.motionLeave,ot=H===void 0?!0:H,nt=na.motionDeadline,Ct=na.motionLeaveImmediately,Wt=na.onAppearPrepare,kn=na.onEnterPrepare,Sn=na.onLeavePrepare,Zn=na.onAppearStart,Or=na.onEnterStart,Yn=na.onLeaveStart,Nn=na.onAppearActive,Zt=na.onEnterActive,rr=na.onLeaveActive,Gn=na.onAppearEnd,ln=na.onEnterEnd,Xn=na.onLeaveEnd,Kn=na.onVisibleChanged,fr=he(),Hn=Object(O.a)(fr,2),Sa=Hn[0],Lr=Hn[1],Ca=he(oe),za=Object(O.a)(Ca,2),Ma=za[0],va=za[1],qa=he(null),gi=Object(O.a)(qa,2),Qi=gi[0],mi=gi[1],Cr=Object(S.useRef)(!1),Un=Object(S.useRef)(null);function Lt(){return gr()}var gn=Object(S.useRef)(!1);function Ln(){va(oe,!0),mi(null,!0)}function kr(Si){var qi=Lt();if(!(Si&&!Si.deadline&&Si.target!==qi)){var eo=gn.current,xo;Ma===ge&&eo?xo=Gn==null?void 0:Gn(qi,Si):Ma===me&&eo?xo=ln==null?void 0:ln(qi,Si):Ma===Z&&eo&&(xo=Xn==null?void 0:Xn(qi,Si)),Ma!==oe&&eo&&xo!==!1&&Ln()}}var ea=Xt(kr),Qr=Object(O.a)(ea,1),Na=Qr[0],ar=function(qi){var eo,xo,cs;switch(qi){case ge:return eo={},Object(E.a)(eo,Ee,Wt),Object(E.a)(eo,Le,Zn),Object(E.a)(eo,we,Nn),eo;case me:return xo={},Object(E.a)(xo,Ee,kn),Object(E.a)(xo,Le,Or),Object(E.a)(xo,we,Zt),xo;case Z:return cs={},Object(E.a)(cs,Ee,Sn),Object(E.a)(cs,Le,Yn),Object(E.a)(cs,we,rr),cs;default:return{}}},pi=S.useMemo(function(){return ar(Ma)},[Ma]),_i=$e(Ma,!br,function(Si){if(Si===Ee){var qi=pi[Ee];return qi?qi(Lt()):Te}if(Ri in pi){var eo;mi(((eo=pi[Ri])===null||eo===void 0?void 0:eo.call(pi,Lt(),null))||null)}return Ri===we&&(Na(Lt()),nt>0&&(clearTimeout(Un.current),Un.current=setTimeout(function(){kr({deadline:!0})},nt))),Ri===pe&&Ln(),ut}),ti=Object(O.a)(_i,2),ui=ti[0],Ri=ti[1],ao=le(Ri);gn.current=ao,qe(function(){Lr(Wn);var Si=Cr.current;Cr.current=!0;var qi;!Si&&Wn&&Bt&&(qi=ge),Si&&Wn&&un&&(qi=me),(Si&&!Wn&&ot||!Si&&Ct&&!Wn&&ot)&&(qi=Z);var eo=ar(qi);qi&&(br||eo[Ee])?(va(qi),ui()):va(oe)},[Wn]),Object(S.useEffect)(function(){(Ma===ge&&!Bt||Ma===me&&!un||Ma===Z&&!ot)&&va(oe)},[Bt,un,ot]),Object(S.useEffect)(function(){return function(){Cr.current=!1,clearTimeout(Un.current)}},[]);var Zi=S.useRef(!1);Object(S.useEffect)(function(){Sa&&(Zi.current=!0),Sa!==void 0&&Ma===oe&&((Zi.current||Sa)&&(Kn==null||Kn(Sa)),Zi.current=!0)},[Sa,Ma]);var Fi=Qi;return pi[Ee]&&Ri===Le&&(Fi=Object(m.a)({transition:"none"},Fi)),[Ma,Ri,Fi,Sa!=null?Sa:Wn]}function Tt(br){var Wn=br;Object(C.a)(br)==="object"&&(Wn=br.transitionSupport);function gr(jn,un){return!!(jn.motionName&&Wn&&un!==!1)}var na=S.forwardRef(function(jn,un){var zt=jn.visible,Bt=zt===void 0?!0:zt,H=jn.removeOnLeave,ot=H===void 0?!0:H,nt=jn.forceRender,Ct=jn.children,Wt=jn.motionName,kn=jn.leavedClassName,Sn=jn.eventProps,Zn=S.useContext(ee),Or=Zn.motion,Yn=gr(jn,Or),Nn=Object(S.useRef)(),Zt=Object(S.useRef)();function rr(){try{return Nn.current instanceof HTMLElement?Nn.current:j(Zt.current)}catch(mi){return null}}var Gn=Qe(Yn,Bt,rr,jn),ln=Object(O.a)(Gn,4),Xn=ln[0],Kn=ln[1],fr=ln[2],Hn=ln[3],Sa=S.useRef(Hn);Hn&&(Sa.current=!0);var Lr=S.useCallback(function(mi){Nn.current=mi,F(un,mi)},[un]),Ca,za=Object(m.a)(Object(m.a)({},Sn),{},{visible:Bt});if(!Ct)Ca=null;else if(Xn===oe)Hn?Ca=Ct(Object(m.a)({},za),Lr):!ot&&Sa.current&&kn?Ca=Ct(Object(m.a)(Object(m.a)({},za),{},{className:kn}),Lr):nt||!ot&&!kn?Ca=Ct(Object(m.a)(Object(m.a)({},za),{},{style:{display:"none"}}),Lr):Ca=null;else{var Ma,va;Kn===Ee?va="prepare":le(Kn)?va="active":Kn===Le&&(va="start");var qa=xt(Wt,"".concat(Xn,"-").concat(va));Ca=Ct(Object(m.a)(Object(m.a)({},za),{},{className:A()(xt(Wt,Xn),(Ma={},Object(E.a)(Ma,qa,qa&&va),Object(E.a)(Ma,Wt,typeof Wt=="string"),Ma)),style:fr}),Lr)}if(S.isValidElement(Ca)&&J(Ca)){var gi=Ca,Qi=gi.ref;Qi||(Ca=S.cloneElement(Ca,{ref:Lr}))}return S.createElement(_e,{ref:Zt},Ca)});return na.displayName="CSSMotion",na}var Ot=Tt(Et),Ut=l("wx14"),At=l("JX7q"),Pt="add",Dt="keep",Qt="remove",cn="removed";function $n(br){var Wn;return br&&Object(C.a)(br)==="object"&&"key"in br?Wn=br:Wn={key:br},Object(m.a)(Object(m.a)({},Wn),{},{key:String(Wn.key)})}function hn(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return br.map($n)}function _n(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],gr=[],na=0,jn=Wn.length,un=hn(br),zt=hn(Wn);un.forEach(function(ot){for(var nt=!1,Ct=na;Ct<jn;Ct+=1){var Wt=zt[Ct];if(Wt.key===ot.key){na<Ct&&(gr=gr.concat(zt.slice(na,Ct).map(function(kn){return Object(m.a)(Object(m.a)({},kn),{},{status:Pt})})),na=Ct),gr.push(Object(m.a)(Object(m.a)({},Wt),{},{status:Dt})),na+=1,nt=!0;break}}nt||gr.push(Object(m.a)(Object(m.a)({},ot),{},{status:Qt}))}),na<jn&&(gr=gr.concat(zt.slice(na).map(function(ot){return Object(m.a)(Object(m.a)({},ot),{},{status:Pt})})));var Bt={};gr.forEach(function(ot){var nt=ot.key;Bt[nt]=(Bt[nt]||0)+1});var H=Object.keys(Bt).filter(function(ot){return Bt[ot]>1});return H.forEach(function(ot){gr=gr.filter(function(nt){var Ct=nt.key,Wt=nt.status;return Ct!==ot||Wt!==Qt}),gr.forEach(function(nt){nt.key===ot&&(nt.status=Dt)})}),gr}var bn=["component","children","onVisibleChanged","onAllRemoved"],Bn=["status"],Tn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Tr(br){var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ot,gr=function(na){Object(W.a)(un,na);var jn=Object(ne.a)(un);function un(){var zt;Object(G.a)(this,un);for(var Bt=arguments.length,H=new Array(Bt),ot=0;ot<Bt;ot++)H[ot]=arguments[ot];return zt=jn.call.apply(jn,[this].concat(H)),Object(E.a)(Object(At.a)(zt),"state",{keyEntities:[]}),Object(E.a)(Object(At.a)(zt),"removeKey",function(nt){var Ct=zt.state.keyEntities,Wt=Ct.map(function(kn){return kn.key!==nt?kn:Object(m.a)(Object(m.a)({},kn),{},{status:cn})});return zt.setState({keyEntities:Wt}),Wt.filter(function(kn){var Sn=kn.status;return Sn!==cn}).length}),zt}return Object(Q.a)(un,[{key:"render",value:function(){var Bt=this,H=this.state.keyEntities,ot=this.props,nt=ot.component,Ct=ot.children,Wt=ot.onVisibleChanged,kn=ot.onAllRemoved,Sn=Object($.a)(ot,bn),Zn=nt||S.Fragment,Or={};return Tn.forEach(function(Yn){Or[Yn]=Sn[Yn],delete Sn[Yn]}),delete Sn.keys,S.createElement(Zn,Sn,H.map(function(Yn){var Nn=Yn.status,Zt=Object($.a)(Yn,Bn),rr=Nn===Pt||Nn===Dt;return S.createElement(Wn,Object(Ut.a)({},Or,{key:Zt.key,visible:rr,eventProps:Zt,onVisibleChanged:function(ln){if(Wt==null||Wt(ln,{key:Zt.key}),!ln){var Xn=Bt.removeKey(Zt.key);Xn===0&&kn&&kn()}}}),Ct)}))}}],[{key:"getDerivedStateFromProps",value:function(Bt,H){var ot=Bt.keys,nt=H.keyEntities,Ct=hn(ot),Wt=_n(nt,Ct);return{keyEntities:Wt.filter(function(kn){var Sn=nt.find(function(Zn){var Or=Zn.key;return kn.key===Or});return!(Sn&&Sn.status===cn&&kn.status===Qt)})}}}]),un}(S.Component);return Object(E.a)(gr,"defaultProps",{component:"div"}),gr}var Sr=Tr(Et),Wr=R.b=Ot},"8jRI":function(ce,R,l){"use strict";var E="%[a-f0-9]{2}",m=new RegExp("("+E+")|([^%]+?)","gi"),O=new RegExp("("+E+")+","gi");function C(S,y){try{return[decodeURIComponent(S.join(""))]}catch(T){}if(S.length===1)return S;y=y||1;var w=S.slice(0,y),x=S.slice(y);return Array.prototype.concat.call([],C(w),C(x))}function k(S){try{return decodeURIComponent(S)}catch(x){for(var y=S.match(m)||[],w=1;w<y.length;w++)S=C(y,w).join(""),y=S.match(m)||[];return S}}function A(S){for(var y={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},w=O.exec(S);w;){try{y[w[0]]=decodeURIComponent(w[0])}catch(N){var x=k(w[0]);x!==w[0]&&(y[w[0]]=x)}w=O.exec(S)}y["%C2"]="\uFFFD";for(var T=Object.keys(y),j=0;j<T.length;j++){var D=T[j];S=S.replace(new RegExp(D,"g"),y[D])}return S}ce.exports=function(S){if(typeof S!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof S+"`");try{return S=S.replace(/\+/g," "),decodeURIComponent(S)}catch(y){return A(S)}}},"8tgM":function(ce,R,l){var E=l("7Qc+");ce.exports=B,ce.exports.parse=O,ce.exports.compile=C,ce.exports.tokensToFunction=S,ce.exports.tokensToRegExp=F;var m=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function O(U,J){for(var $=[],X=0,ee=0,ie="",G=J&&J.delimiter||"/",Q;(Q=m.exec(U))!=null;){var W=Q[0],ne=Q[1],te=Q.index;if(ie+=U.slice(ee,te),ee=te+W.length,ne){ie+=ne[1];continue}var _e=U[ee],he=Q[2],oe=Q[3],ge=Q[4],me=Q[5],Z=Q[6],xe=Q[7];ie&&($.push(ie),ie="");var Ee=he!=null&&_e!=null&&_e!==he,Le=Z==="+"||Z==="*",we=Z==="?"||Z==="*",fe=Q[2]||G,pe=ge||me;$.push({name:oe||X++,prefix:he||"",delimiter:fe,optional:we,repeat:Le,partial:Ee,asterisk:!!xe,pattern:pe?w(pe):xe?".*":"[^"+y(fe)+"]+?"})}return ee<U.length&&(ie+=U.substr(ee)),ie&&$.push(ie),$}function C(U,J){return S(O(U,J),J)}function k(U){return encodeURI(U).replace(/[\/?#]/g,function(J){return"%"+J.charCodeAt(0).toString(16).toUpperCase()})}function A(U){return encodeURI(U).replace(/[?#]/g,function(J){return"%"+J.charCodeAt(0).toString(16).toUpperCase()})}function S(U,J){for(var $=new Array(U.length),X=0;X<U.length;X++)typeof U[X]=="object"&&($[X]=new RegExp("^(?:"+U[X].pattern+")$",T(J)));return function(ee,ie){for(var G="",Q=ee||{},W=ie||{},ne=W.pretty?k:encodeURIComponent,te=0;te<U.length;te++){var _e=U[te];if(typeof _e=="string"){G+=_e;continue}var he=Q[_e.name],oe;if(he==null)if(_e.optional){_e.partial&&(G+=_e.prefix);continue}else throw new TypeError('Expected "'+_e.name+'" to be defined');if(E(he)){if(!_e.repeat)throw new TypeError('Expected "'+_e.name+'" to not repeat, but received `'+JSON.stringify(he)+"`");if(he.length===0){if(_e.optional)continue;throw new TypeError('Expected "'+_e.name+'" to not be empty')}for(var ge=0;ge<he.length;ge++){if(oe=ne(he[ge]),!$[te].test(oe))throw new TypeError('Expected all "'+_e.name+'" to match "'+_e.pattern+'", but received `'+JSON.stringify(oe)+"`");G+=(ge===0?_e.prefix:_e.delimiter)+oe}continue}if(oe=_e.asterisk?A(he):ne(he),!$[te].test(oe))throw new TypeError('Expected "'+_e.name+'" to match "'+_e.pattern+'", but received "'+oe+'"');G+=_e.prefix+oe}return G}}function y(U){return U.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function w(U){return U.replace(/([=!:$\/()])/g,"\\$1")}function x(U,J){return U.keys=J,U}function T(U){return U&&U.sensitive?"":"i"}function j(U,J){var $=U.source.match(/\((?!\?)/g);if($)for(var X=0;X<$.length;X++)J.push({name:X,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return x(U,J)}function D(U,J,$){for(var X=[],ee=0;ee<U.length;ee++)X.push(B(U[ee],J,$).source);var ie=new RegExp("(?:"+X.join("|")+")",T($));return x(ie,J)}function N(U,J,$){return F(O(U,$),J,$)}function F(U,J,$){E(J)||($=J||$,J=[]),$=$||{};for(var X=$.strict,ee=$.end!==!1,ie="",G=0;G<U.length;G++){var Q=U[G];if(typeof Q=="string")ie+=y(Q);else{var W=y(Q.prefix),ne="(?:"+Q.pattern+")";J.push(Q),Q.repeat&&(ne+="(?:"+W+ne+")*"),Q.optional?Q.partial?ne=W+"("+ne+")?":ne="(?:"+W+"("+ne+"))?":ne=W+"("+ne+")",ie+=ne}}var te=y($.delimiter||"/"),_e=ie.slice(-te.length)===te;return X||(ie=(_e?ie.slice(0,-te.length):ie)+"(?:"+te+"(?=$))?"),ee?ie+="$":ie+=X&&_e?"":"(?="+te+"|$)",x(new RegExp("^"+ie,T($)),J)}function B(U,J,$){return E(J)||($=J||$,J=[]),$=$||{},U instanceof RegExp?j(U,J):E(U)?D(U,J,$):N(U,J,$)}},"8tx+":function(ce,R,l){"use strict";l.r(R);var E=l("Ff2n"),m=l("wx14"),O=l("VTBJ"),C=l("1OyB"),k=l("vuIU"),A=l("Ji7U"),S=l("LK+K"),y=l("q1tI"),w=l("x+uP"),x=l("HaE+"),T=l("U8pU"),j=l("i8i4"),D=Object(O.a)({},j),N=D.version,F=D.render,B=D.unmountComponentAtNode,U;try{var J=Number((N||"").split(".")[0]);J>=18&&(U=D.createRoot)}catch(Ue){}function $(Ue){var He=D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;He&&Object(T.a)(He)==="object"&&(He.usingClientEntryPoint=Ue)}var X="__rc_react_root__";function ee(Ue,He){$(!0);var Ne=He[X]||U(He);$(!1),Ne.render(Ue),He[X]=Ne}function ie(Ue,He){F(Ue,He)}function G(Ue,He){}function Q(Ue,He){if(U){ee(Ue,He);return}ie(Ue,He)}function W(Ue){return ne.apply(this,arguments)}function ne(){return ne=Object(x.a)(Object(w.a)().mark(function Ue(He){return Object(w.a)().wrap(function(it){for(;;)switch(it.prev=it.next){case 0:return it.abrupt("return",Promise.resolve().then(function(){var Xe;(Xe=He[X])===null||Xe===void 0||Xe.unmount(),delete He[X]}));case 1:case"end":return it.stop()}},Ue)})),ne.apply(this,arguments)}function te(Ue){B(Ue)}function _e(Ue){}function he(Ue){return oe.apply(this,arguments)}function oe(){return oe=Object(x.a)(Object(w.a)().mark(function Ue(He){return Object(w.a)().wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if(U===void 0){it.next=2;break}return it.abrupt("return",W(He));case 2:te(He);case 3:case"end":return it.stop()}},Ue)})),oe.apply(this,arguments)}var ge=l("TSYQ"),me=l.n(ge),Z=l("8XRh"),xe=l("EE3K"),Ee=l("8HVG"),Le=["getContainer"],we=0,fe=Date.now();function pe(){var Ue=we;return we+=1,"rcNotification_".concat(fe,"_").concat(Ue)}var Ke=function(Ue){Object(A.a)(Ne,Ue);var He=Object(S.a)(Ne);function Ne(){var it;Object(C.a)(this,Ne);for(var Xe=arguments.length,ht=new Array(Xe),lt=0;lt<Xe;lt++)ht[lt]=arguments[lt];return it=He.call.apply(He,[this].concat(ht)),it.state={notices:[]},it.hookRefs=new Map,it.add=function(Et,tt){var mt,xt=(mt=Et.key)!==null&&mt!==void 0?mt:pe(),Xt=Object(O.a)(Object(O.a)({},Et),{},{key:xt}),vt=it.props.maxCount;it.setState(function(qe){var Re=qe.notices,Se=Re.map(function(Ge){return Ge.notice.key}).indexOf(xt),Ve=Re.concat();return Se!==-1?Ve.splice(Se,1,{notice:Xt,holderCallback:tt}):(vt&&Re.length>=vt&&(Xt.key=Ve[0].notice.key,Xt.updateMark=pe(),Xt.userPassKey=xt,Ve.shift()),Ve.push({notice:Xt,holderCallback:tt})),{notices:Ve}})},it.remove=function(Et){it.setState(function(tt){var mt=tt.notices;return{notices:mt.filter(function(xt){var Xt=xt.notice,vt=Xt.key,qe=Xt.userPassKey,Re=qe!=null?qe:vt;return Re!==Et})}})},it.noticePropsMap={},it}return Object(k.a)(Ne,[{key:"getTransitionName",value:function(){var Xe=this.props,ht=Xe.prefixCls,lt=Xe.animation,Et=this.props.transitionName;return!Et&&lt&&(Et="".concat(ht,"-").concat(lt)),Et}},{key:"render",value:function(){var Xe=this,ht=this.state.notices,lt=this.props,Et=lt.prefixCls,tt=lt.className,mt=lt.closeIcon,xt=lt.style,Xt=[];return ht.forEach(function(vt,qe){var Re=vt.notice,Se=vt.holderCallback,Ve=qe===ht.length-1?Re.updateMark:void 0,Ge=Re.key,_t=Re.userPassKey,bt=Object(O.a)(Object(O.a)(Object(O.a)({prefixCls:Et,closeIcon:mt},Re),Re.props),{},{key:Ge,noticeKey:_t||Ge,updateMark:Ve,onClose:function(at){var ft;Xe.remove(at),(ft=Re.onClose)===null||ft===void 0||ft.call(Re)},onClick:Re.onClick,children:Re.content});Xt.push(Ge),Xe.noticePropsMap[Ge]={props:bt,holderCallback:Se}}),y.createElement("div",{className:me()(Et,tt),style:xt},y.createElement(Z.a,{keys:Xt,motionName:this.getTransitionName(),onVisibleChanged:function(qe,Re){var Se=Re.key;qe||delete Xe.noticePropsMap[Se]}},function(vt){var qe=vt.key,Re=vt.className,Se=vt.style,Ve=vt.visible,Ge=Xe.noticePropsMap[qe],_t=Ge.props,bt=Ge.holderCallback;return bt?y.createElement("div",{key:qe,className:me()(Re,"".concat(Et,"-hook-holder")),style:Object(O.a)({},Se),ref:function(at){typeof qe!="undefined"&&(at?(Xe.hookRefs.set(qe,at),bt(at,_t)):Xe.hookRefs.delete(qe))}}):y.createElement(xe.a,Object(m.a)({},_t,{className:me()(Re,_t==null?void 0:_t.className),style:Object(O.a)(Object(O.a)({},Se),_t==null?void 0:_t.style),visible:Ve}))}))}}]),Ne}(y.Component);Ke.newInstance=void 0,Ke.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},Ke.newInstance=function(He,Ne){var it=He||{},Xe=it.getContainer,ht=Object(E.a)(it,Le),lt=document.createElement("div");if(Xe){var Et=Xe();Et.appendChild(lt)}else document.body.appendChild(lt);var tt=!1;function mt(xt){tt||(tt=!0,Ne({notice:function(vt){xt.add(vt)},removeNotice:function(vt){xt.remove(vt)},component:xt,destroy:function(){he(lt),lt.parentNode&&lt.parentNode.removeChild(lt)},useNotification:function(){return Object(Ee.a)(xt)}}))}Q(y.createElement(Ke,Object(m.a)({},ht,{ref:mt})),lt)};var Me=Ke,ze=R.default=Me},"8txm":function(ce,R,l){},"8ub7":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("rePB"),O=l("Ff2n"),C=l("q1tI"),k=l.n(C),A=l("TSYQ"),S=l.n(A),y=l("Pw59"),w=l("Qi1f"),x=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],T=C.forwardRef(function(j,D){var N=j.className,F=j.component,B=j.viewBox,U=j.spin,J=j.rotate,$=j.tabIndex,X=j.onClick,ee=j.children,ie=Object(O.a)(j,x);Object(w.g)(Boolean(F||ee),"Should have `component` prop or `children`."),Object(w.f)();var G=C.useContext(y.a),Q=G.prefixCls,W=Q===void 0?"anticon":Q,ne=G.rootClassName,te=S()(ne,W,N),_e=S()(Object(m.a)({},"".concat(W,"-spin"),!!U)),he=J?{msTransform:"rotate(".concat(J,"deg)"),transform:"rotate(".concat(J,"deg)")}:void 0,oe=Object(E.a)(Object(E.a)({},w.e),{},{className:_e,style:he,viewBox:B});B||delete oe.viewBox;var ge=function(){return F?C.createElement(F,Object(E.a)({},oe),ee):ee?(Object(w.g)(Boolean(B)||C.Children.count(ee)===1&&C.isValidElement(ee)&&C.Children.only(ee).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),C.createElement("svg",Object(E.a)(Object(E.a)({},oe),{},{viewBox:B}),ee)):null},me=$;return me===void 0&&X&&(me=-1),C.createElement("span",Object(E.a)(Object(E.a)({role:"img"},ie),{},{ref:D,tabIndex:me,onClick:X,className:te}),ge())});T.displayName="AntdIcon",R.a=T},"8w+9":function(ce,R,l){var E=l("ukPv"),m=l("tSXo"),O=E.document,C=m(O)&&m(O.createElement);ce.exports=function(k){return C?O.createElement(k):{}}},"8yz6":function(ce,R,l){"use strict";ce.exports=function(E,m){if(!(typeof E=="string"&&typeof m=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(m==="")return[E];var O=E.indexOf(m);return O===-1?[E]:[E.slice(0,O),E.slice(O+m.length)]}},"8z13":function(ce,R,l){"use strict";var E=l("wx14"),m=l("VTBJ"),O=l("ODXe"),C=l("Ff2n"),k=l("q1tI"),A=l.n(k),S=l("TSYQ"),y=l.n(S),w=l("t23M");function x(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var T=x()?k.useLayoutEffect:k.useEffect,j=function(ht,lt){var Et=k.useRef(!0);T(function(){return ht(Et.current)},lt),T(function(){return Et.current=!1,function(){Et.current=!0}},[])},D=function(ht,lt){j(function(Et){if(!Et)return ht()},lt)},N=j,F=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],B=void 0;function U(Xe,ht){var lt=Xe.prefixCls,Et=Xe.invalidate,tt=Xe.item,mt=Xe.renderItem,xt=Xe.responsive,Xt=Xe.responsiveDisabled,vt=Xe.registerSize,qe=Xe.itemKey,Re=Xe.className,Se=Xe.style,Ve=Xe.children,Ge=Xe.display,_t=Xe.order,bt=Xe.component,gt=bt===void 0?"div":bt,at=Object(C.a)(Xe,F),ft=xt&&!Ge;function Fe(Qe){vt(qe,Qe)}k.useEffect(function(){return function(){Fe(null)}},[]);var Te=mt&&tt!==B?mt(tt):Ve,ut;Et||(ut={opacity:ft?0:1,height:ft?0:B,overflowY:ft?"hidden":B,order:xt?_t:B,pointerEvents:ft?"none":B,position:ft?"absolute":B});var le={};ft&&(le["aria-hidden"]=!0);var $e=k.createElement(gt,Object(E.a)({className:y()(!Et&&lt,Re),style:Object(m.a)(Object(m.a)({},ut),Se)},le,at,{ref:ht}),Te);return xt&&($e=k.createElement(w.a,{onResize:function(Tt){var Ot=Tt.offsetWidth;Fe(Ot)},disabled:Xt},$e)),$e}var J=k.forwardRef(U);J.displayName="Item";var $=J;function X(Xe){var ht=k.useRef();ht.current=Xe;var lt=k.useCallback(function(){for(var Et,tt=arguments.length,mt=new Array(tt),xt=0;xt<tt;xt++)mt[xt]=arguments[xt];return(Et=ht.current)===null||Et===void 0?void 0:Et.call.apply(Et,[ht].concat(mt))},[]);return lt}var ee=l("i8i4"),ie=function(ht){return+setTimeout(ht,16)},G=function(ht){return clearTimeout(ht)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ie=function(ht){return window.requestAnimationFrame(ht)},G=function(ht){return window.cancelAnimationFrame(ht)});var Q=0,W=new Map;function ne(Xe){W.delete(Xe)}var te=function(ht){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Q+=1;var Et=Q;function tt(mt){if(mt===0)ne(Et),ht();else{var xt=ie(function(){tt(mt-1)});W.set(Et,xt)}}return tt(lt),Et};te.cancel=function(Xe){var ht=W.get(Xe);return ne(ht),G(ht)};var _e=te;function he(Xe){if(typeof MessageChannel=="undefined")_e(Xe);else{var ht=new MessageChannel;ht.port1.onmessage=function(){return Xe()},ht.port2.postMessage(void 0)}}function oe(){var Xe=k.useRef(null),ht=function(Et){Xe.current||(Xe.current=[],he(function(){Object(ee.unstable_batchedUpdates)(function(){Xe.current.forEach(function(tt){tt()}),Xe.current=null})})),Xe.current.push(Et)};return ht}function ge(Xe,ht){var lt=k.useState(ht),Et=Object(O.a)(lt,2),tt=Et[0],mt=Et[1],xt=X(function(Xt){Xe(function(){mt(Xt)})});return[tt,xt]}var me=A.a.createContext(null),Z=["component"],xe=["className"],Ee=["className"],Le=function(ht,lt){var Et=k.useContext(me);if(!Et){var tt=ht.component,mt=tt===void 0?"div":tt,xt=Object(C.a)(ht,Z);return k.createElement(mt,Object(E.a)({},xt,{ref:lt}))}var Xt=Et.className,vt=Object(C.a)(Et,xe),qe=ht.className,Re=Object(C.a)(ht,Ee);return k.createElement(me.Provider,{value:null},k.createElement($,Object(E.a)({ref:lt,className:y()(Xt,qe)},vt,Re)))},we=k.forwardRef(Le);we.displayName="RawItem";var fe=we,pe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ke="responsive",Me="invalidate";function ze(Xe){return"+ ".concat(Xe.length," ...")}function Ue(Xe,ht){var lt=Xe.prefixCls,Et=lt===void 0?"rc-overflow":lt,tt=Xe.data,mt=tt===void 0?[]:tt,xt=Xe.renderItem,Xt=Xe.renderRawItem,vt=Xe.itemKey,qe=Xe.itemWidth,Re=qe===void 0?10:qe,Se=Xe.ssr,Ve=Xe.style,Ge=Xe.className,_t=Xe.maxCount,bt=Xe.renderRest,gt=Xe.renderRawRest,at=Xe.suffix,ft=Xe.component,Fe=ft===void 0?"div":ft,Te=Xe.itemComponent,ut=Xe.onVisibleChange,le=Object(C.a)(Xe,pe),$e=Se==="full",Qe=oe(),Tt=ge(Qe,null),Ot=Object(O.a)(Tt,2),Ut=Ot[0],At=Ot[1],Pt=Ut||0,Dt=ge(Qe,new Map),Qt=Object(O.a)(Dt,2),cn=Qt[0],$n=Qt[1],hn=ge(Qe,0),_n=Object(O.a)(hn,2),bn=_n[0],Bn=_n[1],Tn=ge(Qe,0),Tr=Object(O.a)(Tn,2),Sr=Tr[0],Wr=Tr[1],br=ge(Qe,0),Wn=Object(O.a)(br,2),gr=Wn[0],na=Wn[1],jn=Object(k.useState)(null),un=Object(O.a)(jn,2),zt=un[0],Bt=un[1],H=Object(k.useState)(null),ot=Object(O.a)(H,2),nt=ot[0],Ct=ot[1],Wt=k.useMemo(function(){return nt===null&&$e?Number.MAX_SAFE_INTEGER:nt||0},[nt,Ut]),kn=Object(k.useState)(!1),Sn=Object(O.a)(kn,2),Zn=Sn[0],Or=Sn[1],Yn="".concat(Et,"-item"),Nn=Math.max(bn,Sr),Zt=_t===Ke,rr=mt.length&&Zt,Gn=_t===Me,ln=rr||typeof _t=="number"&&mt.length>_t,Xn=Object(k.useMemo)(function(){var Ln=mt;return rr?Ut===null&&$e?Ln=mt:Ln=mt.slice(0,Math.min(mt.length,Pt/Re)):typeof _t=="number"&&(Ln=mt.slice(0,_t)),Ln},[mt,Re,Ut,_t,rr]),Kn=Object(k.useMemo)(function(){return rr?mt.slice(Wt+1):mt.slice(Xn.length)},[mt,Xn,rr,Wt]),fr=Object(k.useCallback)(function(Ln,kr){var ea;return typeof vt=="function"?vt(Ln):(ea=vt&&(Ln==null?void 0:Ln[vt]))!==null&&ea!==void 0?ea:kr},[vt]),Hn=Object(k.useCallback)(xt||function(Ln){return Ln},[xt]);function Sa(Ln,kr,ea){nt===Ln&&(kr===void 0||kr===zt)||(Ct(Ln),ea||(Or(Ln<mt.length-1),ut==null||ut(Ln)),kr!==void 0&&Bt(kr))}function Lr(Ln,kr){At(kr.clientWidth)}function Ca(Ln,kr){$n(function(ea){var Qr=new Map(ea);return kr===null?Qr.delete(Ln):Qr.set(Ln,kr),Qr})}function za(Ln,kr){Wr(kr),Bn(Sr)}function Ma(Ln,kr){na(kr)}function va(Ln){return cn.get(fr(Xn[Ln],Ln))}N(function(){if(Pt&&typeof Nn=="number"&&Xn){var Ln=gr,kr=Xn.length,ea=kr-1;if(!kr){Sa(0,null);return}for(var Qr=0;Qr<kr;Qr+=1){var Na=va(Qr);if($e&&(Na=Na||0),Na===void 0){Sa(Qr-1,void 0,!0);break}if(Ln+=Na,ea===0&&Ln<=Pt||Qr===ea-1&&Ln+va(ea)<=Pt){Sa(ea,null);break}else if(Ln+Nn>Pt){Sa(Qr-1,Ln-Na-gr+Sr);break}}at&&va(0)+gr>Pt&&Bt(null)}},[Pt,cn,Sr,gr,fr,Xn]);var qa=Zn&&!!Kn.length,gi={};zt!==null&&rr&&(gi={position:"absolute",left:zt,top:0});var Qi={prefixCls:Yn,responsive:rr,component:Te,invalidate:Gn},mi=Xt?function(Ln,kr){var ea=fr(Ln,kr);return k.createElement(me.Provider,{key:ea,value:Object(m.a)(Object(m.a)({},Qi),{},{order:kr,item:Ln,itemKey:ea,registerSize:Ca,display:kr<=Wt})},Xt(Ln,kr))}:function(Ln,kr){var ea=fr(Ln,kr);return k.createElement($,Object(E.a)({},Qi,{order:kr,key:ea,item:Ln,renderItem:Hn,itemKey:ea,registerSize:Ca,display:kr<=Wt}))},Cr,Un={order:qa?Wt:Number.MAX_SAFE_INTEGER,className:"".concat(Yn,"-rest"),registerSize:za,display:qa};if(gt)gt&&(Cr=k.createElement(me.Provider,{value:Object(m.a)(Object(m.a)({},Qi),Un)},gt(Kn)));else{var Lt=bt||ze;Cr=k.createElement($,Object(E.a)({},Qi,Un),typeof Lt=="function"?Lt(Kn):Lt)}var gn=k.createElement(Fe,Object(E.a)({className:y()(!Gn&&Et,Ge),style:Ve,ref:ht},le),Xn.map(mi),ln?Cr:null,at&&k.createElement($,Object(E.a)({},Qi,{responsive:Zt,responsiveDisabled:!rr,order:Wt,className:"".concat(Yn,"-suffix"),registerSize:Ma,display:!0,style:gi}),at));return Zt&&(gn=k.createElement(w.a,{onResize:Lr,disabled:!rr},gn)),gn}var He=k.forwardRef(Ue);He.displayName="Overflow",He.Item=fe,He.RESPONSIVE=Ke,He.INVALIDATE=Me;var Ne=He,it=R.a=Ne},"9/5/":function(ce,R,l){(function(E){var m="Expected a function",O=0/0,C="[object Symbol]",k=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,y=/^0o[0-7]+$/i,w=parseInt,x=typeof E=="object"&&E&&E.Object===Object&&E,T=typeof self=="object"&&self&&self.Object===Object&&self,j=x||T||Function("return this")(),D=Object.prototype,N=D.toString,F=Math.max,B=Math.min,U=function(){return j.Date.now()};function J(G,Q,W){var ne,te,_e,he,oe,ge,me=0,Z=!1,xe=!1,Ee=!0;if(typeof G!="function")throw new TypeError(m);Q=ie(Q)||0,$(W)&&(Z=!!W.leading,xe="maxWait"in W,_e=xe?F(ie(W.maxWait)||0,Q):_e,Ee="trailing"in W?!!W.trailing:Ee);function Le(Ne){var it=ne,Xe=te;return ne=te=void 0,me=Ne,he=G.apply(Xe,it),he}function we(Ne){return me=Ne,oe=setTimeout(Ke,Q),Z?Le(Ne):he}function fe(Ne){var it=Ne-ge,Xe=Ne-me,ht=Q-it;return xe?B(ht,_e-Xe):ht}function pe(Ne){var it=Ne-ge,Xe=Ne-me;return ge===void 0||it>=Q||it<0||xe&&Xe>=_e}function Ke(){var Ne=U();if(pe(Ne))return Me(Ne);oe=setTimeout(Ke,fe(Ne))}function Me(Ne){return oe=void 0,Ee&&ne?Le(Ne):(ne=te=void 0,he)}function ze(){oe!==void 0&&clearTimeout(oe),me=0,ne=ge=te=oe=void 0}function Ue(){return oe===void 0?he:Me(U())}function He(){var Ne=U(),it=pe(Ne);if(ne=arguments,te=this,ge=Ne,it){if(oe===void 0)return we(ge);if(xe)return oe=setTimeout(Ke,Q),Le(ge)}return oe===void 0&&(oe=setTimeout(Ke,Q)),he}return He.cancel=ze,He.flush=Ue,He}function $(G){var Q=typeof G;return!!G&&(Q=="object"||Q=="function")}function X(G){return!!G&&typeof G=="object"}function ee(G){return typeof G=="symbol"||X(G)&&N.call(G)==C}function ie(G){if(typeof G=="number")return G;if(ee(G))return O;if($(G)){var Q=typeof G.valueOf=="function"?G.valueOf():G;G=$(Q)?Q+"":Q}if(typeof G!="string")return G===0?G:+G;G=G.replace(k,"");var W=S.test(G);return W||y.test(G)?w(G.slice(2),W?2:8):A.test(G)?O:+G}ce.exports=J}).call(this,l("IyRk"))},"9/ry":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("rjJZ"),O=l("FCfD"),C=l("C7V6");E({target:"String",proto:!0,forced:!C("includes")},{includes:function(A){return!!~String(O(this)).indexOf(m(A),arguments.length>1?arguments[1]:void 0)}})},"9BLJ":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="EyeOutlined";var S=R.a=m.forwardRef(A)},"9BQv":function(ce,R,l){"use strict";var E=l("tny8"),m=l("eNh0"),O=l("cTDu"),C=l("oa35"),k=l("YfKC").f;E&&!("lastItem"in[])&&(k(Array.prototype,"lastItem",{configurable:!0,get:function(){var S=O(this),y=C(S.length);return y==0?void 0:S[y-1]},set:function(S){var y=O(this),w=C(y.length);return y[w==0?0:w-1]=S}}),m("lastItem"))},"9Baz":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),Object.defineProperty(R,"message",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(R,"notification",{enumerable:!0,get:function(){return m.default}}),l("miYZ");var E=O(l("tsqr"));l("/xke");var m=O(l("TeRw"));function O(C){return C&&C.__esModule?C:{default:C}}},"9F0J":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=Object.assign||function(S){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(S[x]=w[x])}return S},m=l("q1tI"),O=C(m);function C(S){return S&&S.__esModule?S:{default:S}}function k(S,y){var w={};for(var x in S)y.indexOf(x)>=0||!Object.prototype.hasOwnProperty.call(S,x)||(w[x]=S[x]);return w}var A=24;R.default=function(S){var y=S.fill,w=y===void 0?"currentColor":y,x=S.width,T=x===void 0?A:x,j=S.height,D=j===void 0?A:j,N=S.style,F=N===void 0?{}:N,B=k(S,["fill","width","height","style"]);return O.default.createElement("svg",E({viewBox:"0 0 "+A+" "+A,style:E({fill:w,width:T,height:D},F)},B),O.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},"9Fde":function(ce,R,l){"use strict";var E=this&&this.__awaiter||function(U,J,$,X){function ee(ie){return ie instanceof $?ie:new $(function(G){G(ie)})}return new($||($=Promise))(function(ie,G){function Q(te){try{ne(X.next(te))}catch(_e){G(_e)}}function W(te){try{ne(X.throw(te))}catch(_e){G(_e)}}function ne(te){te.done?ie(te.value):ee(te.value).then(Q,W)}ne((X=X.apply(U,J||[])).next())})},m=this&&this.__generator||function(U,J){var $={label:0,sent:function(){if(ie[0]&1)throw ie[1];return ie[1]},trys:[],ops:[]},X,ee,ie,G;return G={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(G[Symbol.iterator]=function(){return this}),G;function Q(ne){return function(te){return W([ne,te])}}function W(ne){if(X)throw new TypeError("Generator is already executing.");for(;$;)try{if(X=1,ee&&(ie=ne[0]&2?ee.return:ne[0]?ee.throw||((ie=ee.return)&&ie.call(ee),0):ee.next)&&!(ie=ie.call(ee,ne[1])).done)return ie;switch(ee=0,ie&&(ne=[ne[0]&2,ie.value]),ne[0]){case 0:case 1:ie=ne;break;case 4:return $.label++,{value:ne[1],done:!1};case 5:$.label++,ee=ne[1],ne=[0];continue;case 7:ne=$.ops.pop(),$.trys.pop();continue;default:if(ie=$.trys,!(ie=ie.length>0&&ie[ie.length-1])&&(ne[0]===6||ne[0]===2)){$=0;continue}if(ne[0]===3&&(!ie||ne[1]>ie[0]&&ne[1]<ie[3])){$.label=ne[1];break}if(ne[0]===6&&$.label<ie[1]){$.label=ie[1],ie=ne;break}if(ie&&$.label<ie[2]){$.label=ie[2],$.ops.push(ne);break}ie[2]&&$.ops.pop(),$.trys.pop();continue}ne=J.call(U,$)}catch(te){ne=[6,te],ee=0}finally{X=ie=0}if(ne[0]&5)throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}},O=this&&this.__spreadArray||function(U,J){for(var $=0,X=J.length,ee=U.length;$<X;$++,ee++)U[ee]=J[$];return U};Object.defineProperty(R,"__esModule",{value:!0}),R.Container=void 0;var C=l("LgvC"),k=l("MON2"),A=l("FV85"),S=l("xfSm"),y=l("wnjb"),w=l("h7MG"),x=l("aPG5"),T=l("gzZq"),j=l("d9O0"),D=l("ujMp"),N=l("HpQ9"),F=l("AwBQ"),B=function(){function U(J){this._appliedMiddleware=[];var $=J||{};if(typeof $!="object")throw new Error(""+k.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if($.defaultScope===void 0)$.defaultScope=A.BindingScopeEnum.Transient;else if($.defaultScope!==A.BindingScopeEnum.Singleton&&$.defaultScope!==A.BindingScopeEnum.Transient&&$.defaultScope!==A.BindingScopeEnum.Request)throw new Error(""+k.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if($.autoBindInjectable===void 0)$.autoBindInjectable=!1;else if(typeof $.autoBindInjectable!="boolean")throw new Error(""+k.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE);if($.skipBaseClassChecks===void 0)$.skipBaseClassChecks=!1;else if(typeof $.skipBaseClassChecks!="boolean")throw new Error(""+k.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:$.autoBindInjectable,defaultScope:$.defaultScope,skipBaseClassChecks:$.skipBaseClassChecks},this.id=j.id(),this._bindingDictionary=new F.Lookup,this._snapshots=[],this._middleware=null,this.parent=null,this._metadataReader=new y.MetadataReader}return U.merge=function(J,$){for(var X=[],ee=2;ee<arguments.length;ee++)X[ee-2]=arguments[ee];var ie=new U,G=O([J,$],X).map(function(ne){return w.getBindingDictionary(ne)}),Q=w.getBindingDictionary(ie);function W(ne,te){ne.traverse(function(_e,he){he.forEach(function(oe){te.add(oe.serviceIdentifier,oe.clone())})})}return G.forEach(function(ne){W(ne,Q)}),ie},U.prototype.load=function(){for(var J=[],$=0;$<arguments.length;$++)J[$]=arguments[$];for(var X=this._getContainerModuleHelpersFactory(),ee=0,ie=J;ee<ie.length;ee++){var G=ie[ee],Q=X(G.id);G.registry(Q.bindFunction,Q.unbindFunction,Q.isboundFunction,Q.rebindFunction)}},U.prototype.loadAsync=function(){for(var J=[],$=0;$<arguments.length;$++)J[$]=arguments[$];return E(this,void 0,void 0,function(){var X,ee,ie,G,Q;return m(this,function(W){switch(W.label){case 0:X=this._getContainerModuleHelpersFactory(),ee=0,ie=J,W.label=1;case 1:return ee<ie.length?(G=ie[ee],Q=X(G.id),[4,G.registry(Q.bindFunction,Q.unbindFunction,Q.isboundFunction,Q.rebindFunction)]):[3,4];case 2:W.sent(),W.label=3;case 3:return ee++,[3,1];case 4:return[2]}})})},U.prototype.unload=function(){for(var J=this,$=[],X=0;X<arguments.length;X++)$[X]=arguments[X];var ee=function(G){return function(Q){return Q.moduleId===G}};$.forEach(function(ie){var G=ee(ie.id);J._bindingDictionary.removeByCondition(G)})},U.prototype.bind=function(J){var $=this.options.defaultScope||A.BindingScopeEnum.Transient,X=new C.Binding(J,$);return this._bindingDictionary.add(J,X),new T.BindingToSyntax(X)},U.prototype.rebind=function(J){return this.unbind(J),this.bind(J)},U.prototype.unbind=function(J){try{this._bindingDictionary.remove(J)}catch($){throw new Error(k.CANNOT_UNBIND+" "+D.getServiceIdentifierAsString(J))}},U.prototype.unbindAll=function(){this._bindingDictionary=new F.Lookup},U.prototype.isBound=function(J){var $=this._bindingDictionary.hasKey(J);return!$&&this.parent&&($=this.parent.isBound(J)),$},U.prototype.isBoundNamed=function(J,$){return this.isBoundTagged(J,S.NAMED_TAG,$)},U.prototype.isBoundTagged=function(J,$,X){var ee=!1;if(this._bindingDictionary.hasKey(J)){var ie=this._bindingDictionary.get(J),G=w.createMockRequest(this,J,$,X);ee=ie.some(function(Q){return Q.constraint(G)})}return!ee&&this.parent&&(ee=this.parent.isBoundTagged(J,$,X)),ee},U.prototype.snapshot=function(){this._snapshots.push(N.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},U.prototype.restore=function(){var J=this._snapshots.pop();if(J===void 0)throw new Error(k.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=J.bindings,this._middleware=J.middleware},U.prototype.createChild=function(J){var $=new U(J||this.options);return $.parent=this,$},U.prototype.applyMiddleware=function(){for(var J=[],$=0;$<arguments.length;$++)J[$]=arguments[$];this._appliedMiddleware=this._appliedMiddleware.concat(J);var X=this._middleware?this._middleware:this._planAndResolve();this._middleware=J.reduce(function(ee,ie){return ie(ee)},X)},U.prototype.applyCustomMetadataReader=function(J){this._metadataReader=J},U.prototype.get=function(J){return this._get(!1,!1,A.TargetTypeEnum.Variable,J)},U.prototype.getTagged=function(J,$,X){return this._get(!1,!1,A.TargetTypeEnum.Variable,J,$,X)},U.prototype.getNamed=function(J,$){return this.getTagged(J,S.NAMED_TAG,$)},U.prototype.getAll=function(J){return this._get(!0,!0,A.TargetTypeEnum.Variable,J)},U.prototype.getAllTagged=function(J,$,X){return this._get(!1,!0,A.TargetTypeEnum.Variable,J,$,X)},U.prototype.getAllNamed=function(J,$){return this.getAllTagged(J,S.NAMED_TAG,$)},U.prototype.resolve=function(J){var $=this.createChild();return $.bind(J).toSelf(),this._appliedMiddleware.forEach(function(X){$.applyMiddleware(X)}),$.get(J)},U.prototype._getContainerModuleHelpersFactory=function(){var J=this,$=function(W,ne){W._binding.moduleId=ne},X=function(W){return function(ne){var te=J.bind.bind(J),_e=te(ne);return $(_e,W),_e}},ee=function(W){return function(ne){var te=J.unbind.bind(J);te(ne)}},ie=function(W){return function(ne){var te=J.isBound.bind(J);return te(ne)}},G=function(W){return function(ne){var te=J.rebind.bind(J),_e=te(ne);return $(_e,W),_e}};return function(Q){return{bindFunction:X(Q),isboundFunction:ie(Q),rebindFunction:G(Q),unbindFunction:ee(Q)}}},U.prototype._get=function(J,$,X,ee,ie,G){var Q=null,W={avoidConstraints:J,contextInterceptor:function(te){return te},isMultiInject:$,key:ie,serviceIdentifier:ee,targetType:X,value:G};if(this._middleware){if(Q=this._middleware(W),Q==null)throw new Error(k.INVALID_MIDDLEWARE_RETURN)}else Q=this._planAndResolve()(W);return Q},U.prototype._planAndResolve=function(){var J=this;return function($){var X=w.plan(J._metadataReader,J,$.isMultiInject,$.targetType,$.serviceIdentifier,$.key,$.value,$.avoidConstraints);X=$.contextInterceptor(X);var ee=x.resolve(X);return ee}},U}();R.Container=B},"9JVj":function(ce,R,l){"use strict";var E=l("ozfa"),m=l("MJZm"),O=l("14J3"),C=l("BMrR"),k=l("5Dmo"),A=l("3S7+"),S=l("jCWc"),y=l("kPKH"),w=l("P2fV"),x=l("NJEC"),T=l("qLMh"),j=l("miYZ"),D=l("tsqr"),N=l("9og8"),F=l("tJVT"),B=l("k1fw"),U=l("PpiC"),J=l("5NDa"),$=l("5rEg"),X=l("xvlK"),ee=l("G3dp"),ie=l("/MfK"),G=l("8Skl"),Q=l("q1tI"),W=l("9kvl"),ne=l("hFxe"),te=l("MVZ2"),_e=l("2qtc"),he=l("kLXV"),oe=l("BoS7"),ge=l("Sdc0"),me=l("+L6B"),Z=l("2/Rp"),xe=l("y8nQ"),Ee=l("Vl3Y"),Le=l("L+An"),we=l.n(Le),fe=function(){var ft=Object(Q.useRef)(!1);return Object(Q.useEffect)(function(){return ft.current=!0,function(){ft.current=!1}},[]),function(){return ft.current}},pe=l("Aw1E"),Ke={mysql:"mysql",tdw:"tdw",clickhouse:"clickhouse",kafka:"kafka",binlog:"binlog",hbase:"hbase",kugou_datahub:"kugou_datahub",aiting_datahub:"aiting_datahub",http:"http"},Me={edit:"\u7F16\u8F91",add:"\u65B0\u589E"},ze={low:{value:1,label:"\u4F4E"},middle:{value:2,label:"\u4E2D"},height:{value:3,label:"\u9AD8"}},Ue={mysql:["ip","port","dbName","username","password"],clickhouse:["ip","port","dbName","username","password"],tdw:["dbName","username","password"],kafka:["bootstrap","dbName","username","password"],binlog:["ip","port","dbName","username","password"],hbase:["config"],kugou_datahub:["config"],aiting_datahub:["config"],http:["url"]},He;(function(at){at[at.DIR=0]="DIR",at[at.DASHBOARD=1]="DASHBOARD"})(He||(He={}));var Ne={string:String,number:Number},it=function(ft){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"string";return Object.keys(ft).map(function(Te){return{value:Ne[Fe](Te),label:ft[Te]}})},Xe=function(ft){return Object.keys(ft).map(function(Fe){return ft[Fe]})},ht=function(ft){var Fe={};return ft.map(function(Te){return Fe[Te.value]=Te.label,Te}),Fe},lt=l("nKUr"),Et=Ee.a.Item,tt=function(ft){var Fe=ft.basicInfo,Te=ft.onSubmit,ut=ft.onCancel,le=Fe.type,$e=Fe.modelType,Qe=fe(),Tt=Object(Q.useState)(Fe),Ot=Object(F.a)(Tt,2),Ut=Ot[0],At=Ot[1],Pt=Object(Q.useState)(!1),Dt=Object(F.a)(Pt,2),Qt=Dt[0],cn=Dt[1],$n=Ee.a.useForm(),hn=Object(F.a)($n,1),_n=hn[0],bn=function(){var Tr=Object(N.a)(Object(T.a)().mark(function Sr(){var Wr,br;return Object(T.a)().wrap(function(gr){for(;;)switch(gr.prev=gr.next){case 0:return gr.next=2,_n.validateFields();case 2:return Wr=gr.sent,br=Object(B.a)(Object(B.a)({},Wr),{},{isUnique:1}),At(Object(B.a)(Object(B.a)({},Ut),br)),cn(!0),gr.prev=6,gr.next=9,Te(Object(B.a)(Object(B.a)({},Ut),br));case 9:Qe()&&cn(!1),gr.next=16;break;case 12:gr.prev=12,gr.t0=gr.catch(6),D.default.error("\u63A5\u53E3\u8C03\u7528\u51FA\u9519"),cn(!1);case 16:case"end":return gr.stop()}},Sr,null,[[6,12]])}));return function(){return Tr.apply(this,arguments)}}(),Bn=Object(lt.jsxs)(lt.Fragment,{children:[Object(lt.jsx)(Z.a,{onClick:ut,children:"\u53D6\u6D88"}),Object(lt.jsx)(Z.a,{type:"primary",loading:Qt,onClick:bn,children:"\u786E\u5B9A"})]}),Tn=function(){var Sr=Me[$e];return le==="top"?Sr+="\u9876\u7EA7":$e==="add"&&(Sr+="\u5B50"),Sr+="\u4E3B\u9898\u57DF",Sr};return Object(lt.jsx)(he.a,{width:640,bodyStyle:{padding:"32px 40px 48px"},destroyOnClose:!0,title:Tn(),open:!0,footer:Bn,onCancel:ut,children:Object(lt.jsxs)(Ee.a,Object(B.a)(Object(B.a)({},pe.a),{},{form:_n,initialValues:Object(B.a)({},Ut),className:we.a.form,children:[le!=="top"&&$e==="add"&&Object(lt.jsx)(Et,{name:"parentName",label:"\u7236\u4E3B\u9898\u57DF\u540D\u79F0",children:Object(lt.jsx)($.a,{disabled:!0,placeholder:"\u7236\u4E3B\u9898\u57DF\u540D\u79F0"})}),Object(lt.jsx)(Et,{name:"name",label:"\u4E3B\u9898\u57DF\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E3B\u9898\u57DF\u540D\u79F0\uFF01"}],children:Object(lt.jsx)($.a,{placeholder:"\u4E3B\u9898\u57DF\u540D\u79F0\u4E0D\u53EF\u91CD\u590D"})}),Object(lt.jsx)(Et,{name:"bizName",label:"\u4E3B\u9898\u57DF\u82F1\u6587\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E3B\u9898\u57DF\u82F1\u6587\u540D\u79F0\uFF01"}],children:Object(lt.jsx)($.a,{placeholder:"\u8BF7\u8F93\u5165\u4E3B\u9898\u57DF\u82F1\u6587\u540D\u79F0"})}),Object(lt.jsx)(Et,{name:"description",label:"\u4E3B\u9898\u57DF\u63CF\u8FF0",children:Object(lt.jsx)($.a.TextArea,{placeholder:"\u4E3B\u9898\u57DF\u63CF\u8FF0"})}),Object(lt.jsx)(Et,{name:"isUnique",label:"\u662F\u5426\u552F\u4E00",hidden:!0,children:Object(lt.jsx)(ge.a,{size:"small",checked:!0})})]}))})},mt=tt,xt=l("VTBJ"),Xt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},vt=Xt,qe=l("6VBw"),Re=function(ft,Fe){return Q.createElement(qe.a,Object(xt.a)(Object(xt.a)({},ft),{},{ref:Fe,icon:vt}))};Re.displayName="PlusCircleOutlined";var Se=Q.forwardRef(Re),Ve=["children"],Ge=$.a.Search,_t=function at(ft,Fe){var Te=[];return ft.map(function(ut){var le=ut.children,$e=Object(U.a)(ut,Ve);return String(ut.title).includes(Fe)&&Te.push(Object(B.a)({},$e)),le&&le.length>0&&(Te=Te.concat(at(le,Fe))),ut}),Te},bt=function(ft){var Fe=ft.selectDomainId,Te=ft.domainList,ut=ft.createDomainBtnVisible,le=ut===void 0?!0:ut,$e=ft.onCreateDomainBtnClick,Qe=ft.onTreeSelected,Tt=ft.onTreeDataUpdate,Ot=ft.dispatch,Ut=Object(Q.useState)([]),At=Object(F.a)(Ut,2),Pt=At[0],Dt=At[1],Qt=Object(Q.useState)(!1),cn=Object(F.a)(Qt,2),$n=cn[0],hn=cn[1],_n=Object(Q.useState)({}),bn=Object(F.a)(_n,2),Bn=bn[0],Tn=bn[1],Tr=Object(Q.useState)(""),Sr=Object(F.a)(Tr,2),Wr=Sr[0],br=Sr[1],Wn=Object(Q.useState)([]),gr=Object(F.a)(Wn,2),na=gr[0],jn=gr[1],un=Object(Q.useState)([]),zt=Object(F.a)(un,2),Bt=zt[0],H=zt[1];Object(Q.useEffect)(function(){var Yn=Object(te.a)(Object(te.b)(Te));Dt(Yn),H(Te),jn(Object(te.e)(Yn))},[Te]);var ot=function(Nn){br(Nn)},nt=function(Nn,Zt){if("".concat(Nn)!=="".concat(Fe)){var rr=Bt.filter(function(Gn){return Gn.id===Nn})[0];Qe==null||Qe(),Ot({type:"domainManger/setSelectDomain",selectDomainId:Nn,selectDomainName:Zt,domainData:rr})}},Ct=function(){var Yn=Object(N.a)(Object(T.a)().mark(function Nn(Zt){var rr,Gn;return Object(T.a)().wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:return rr=Object(B.a)({},Zt),Xn.next=3,Object(ne.I)(rr);case 3:Gn=Xn.sent,Gn.code===200?(D.default.success("\u7F16\u8F91\u5206\u7C7B\u6210\u529F"),hn(!1),Tt==null||Tt()):D.default.error(Gn.msg);case 5:case"end":return Xn.stop()}},Nn)}));return function(Zt){return Yn.apply(this,arguments)}}(),Wt=function(){var Yn=Object(N.a)(Object(T.a)().mark(function Nn(Zt){return Object(T.a)().wrap(function(Gn){for(;;)switch(Gn.prev=Gn.next){case 0:if(Zt.modelType!=="add"){Gn.next=5;break}return Gn.next=3,Object(ne.e)(Zt);case 3:Gn.next=8;break;case 5:if(Zt.modelType!=="edit"){Gn.next=8;break}return Gn.next=8,Ct(Zt);case 8:Tt==null||Tt(),hn(!1);case 10:case"end":return Gn.stop()}},Nn)}));return function(Zt){return Yn.apply(this,arguments)}}(),kn=function(){var Yn=Object(N.a)(Object(T.a)().mark(function Nn(Zt){var rr;return Object(T.a)().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return ln.next=2,Object(ne.l)(Zt);case 2:rr=ln.sent,rr.code===200?(D.default.success("\u7F16\u8F91\u9879\u76EE\u6210\u529F"),hn(!1),Tt==null||Tt()):D.default.error(rr.msg);case 4:case"end":return ln.stop()}},Nn)}));return function(Zt){return Yn.apply(this,arguments)}}(),Sn=function(Nn){var Zt=Nn,rr=Zt.id,Gn=Zt.name,ln=Zt.path;return Object(lt.jsxs)("div",{className:we.a.projectItem,children:[Object(lt.jsx)("span",{className:we.a.title,onClick:function(){nt(rr,Gn)},children:Gn}),le&&Object(lt.jsxs)("span",{className:we.a.operation,children:[Array.isArray(ln)&&ln.length<3&&Object(lt.jsx)(X.a,{className:we.a.icon,onClick:function(){Tn({modelType:"add",type:"normal",parentId:rr,parentName:Gn}),hn(!0)}}),Object(lt.jsx)(ee.a,{className:we.a.icon,onClick:function(){Tn(Object(B.a)({modelType:"edit",type:"normal"},Nn)),hn(!0)}}),Object(lt.jsx)(x.a,{title:"\u786E\u8BA4\u5220\u9664\u5417?",onConfirm:function(){kn(rr)},okText:"\u662F",cancelText:"\u5426",children:Object(lt.jsx)(ie.a,{className:we.a.icon})},"popconfirm")]})]})},Zn=Wr?_t(Pt,Wr):Pt,Or=function(Nn){jn(Nn)};return Object(lt.jsxs)("div",{className:we.a.projectList,children:[Object(lt.jsxs)(C.a,{children:[Object(lt.jsx)(y.a,{flex:"1 1 200px",children:Object(lt.jsx)(Ge,{allowClear:!0,className:we.a.search,placeholder:"\u8BF7\u8F93\u5165\u4E3B\u9898\u57DF\u540D\u79F0\u8FDB\u884C\u67E5\u8BE2",onSearch:ot})}),le&&Object(lt.jsx)(y.a,{flex:"0 1 50px",children:Object(lt.jsx)(A.a,{title:"\u65B0\u589E\u9876\u7EA7\u57DF",children:Object(lt.jsx)(Se,{onClick:function(){Tn({type:"top",modelType:"add"}),hn(!0),$e==null||$e()},className:we.a.addBtn})})})]}),Object(lt.jsx)(m.a,{expandedKeys:na,onExpand:Or,className:we.a.tree,selectedKeys:[Fe],blockNode:!0,switcherIcon:Object(lt.jsx)(G.a,{}),defaultExpandAll:!0,treeData:Zn,titleRender:Sn}),$n&&Object(lt.jsx)(mt,{basicInfo:Bn,onSubmit:Wt,onCancel:function(){hn(!1)}})]})},gt=R.a=Object(W.c)(function(at){var ft=at.domainManger,Fe=ft.selectDomainId,Te=ft.selectDomainName,ut=ft.domainList;return{selectDomainId:Fe,selectDomainName:Te,domainList:ut}})(bt)},"9Nap":function(ce,R,l){var E=l("/9aa"),m=1/0;function O(C){if(typeof C=="string"||E(C))return C;var k=C+"";return k=="0"&&1/C==-m?"-0":k}ce.exports=O},"9R94":function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=!0,m="Invariant failed";function O(C,k){if(!C){if(E)throw new Error(m);var A=typeof k=="function"?k():k,S=A?"".concat(m,": ").concat(A):m;throw new Error(S)}}},"9RRT":function(ce,R,l){var E=l("cT1L"),m=l("cTDu"),O=l("EzR6"),C=l("oa35"),k=function(A){return function(S,y,w,x){E(y);var T=m(S),j=O(T),D=C(T.length),N=A?D-1:0,F=A?-1:1;if(w<2)for(;;){if(N in j){x=j[N],N+=F;break}if(N+=F,A?N<0:D<=N)throw TypeError("Reduce of empty array with no initial value")}for(;A?N>=0:D>N;N+=F)N in j&&(x=y(x,j[N],N,T));return x}};ce.exports={left:k(!1),right:k(!0)}},"9Rzw":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("/dTS"),S=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{difference:function(w){var x=C(this),T=new(A(x,O("Set")))(x),j=k(T.delete);return S(w,function(D){j.call(T,D)}),T}})},"9SZg":function(ce,R,l){var E=l("Ei+o"),m=l("5yw/"),O=l("2kyd"),C=O("iterator");ce.exports=function(k){if(k!=null)return k[C]||k["@@iterator"]||m[E(k)]}},"9Y4n":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("bold")},{bold:function(){return m(this,"b","","")}})},"9ama":function(ce,R,l){},"9bAj":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("cT1L"),k=l("PPXv"),A=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{reduce:function(y){var w=O(this),x=k(w),T=arguments.length<2,j=T?void 0:arguments[1];if(C(y),A(x,function(D,N){T?(T=!1,j=N):j=y(j,N,D,w)},void 0,!0,!0),T)throw TypeError("Reduce of empty map with no initial value");return j}})},"9ggG":function(ce,R,l){var E=l("Z0cm"),m=l("/9aa"),O=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,C=/^\w*$/;function k(A,S){if(E(A))return!1;var y=typeof A;return y=="number"||y=="symbol"||y=="boolean"||A==null||m(A)?!0:C.test(A)||!O.test(A)||S!=null&&A in Object(S)}ce.exports=k},"9jjd":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="FileOutlined";var S=R.a=m.forwardRef(A)},"9kvl":function(ce,R,l){"use strict";l.d(R,"d",function(){return E.b}),l.d(R,"e",function(){return m.a}),l.d(R,"g",function(){return A.a}),l.d(R,"h",function(){return y}),l.d(R,"c",function(){return x.c}),l.d(R,"i",function(){return N.g}),l.d(R,"b",function(){return Q}),l.d(R,"j",function(){return ne.a}),l.d(R,"f",function(){return zt}),l.d(R,"a",function(){return Bt.a});var E=l("FfOG"),m=l("bCY9"),O=l("q1tI"),C=l.n(O),k=l("4yFJ"),A=l("T2gR"),S=l("nKUr"),y=function(){var ot=Object(O.useContext)(k.a);return ot},w=function(ot){var nt=ot.accessible,Ct=ot.fallback,Wt=ot.children;return Object(S.jsx)(S.Fragment,{children:nt?Wt:Ct})},x=l("/MKj"),T=l("uRV1"),j=l("QgIc"),D=1,N=l("Fghh"),F=l("jrin"),B=l("k1fw"),U=l("qVdP"),J=l("jsC+"),$=l("PpiC"),X=["overlayClassName"],ee=function(ot){var nt=ot.overlayClassName,Ct=Object($.a)(ot,X);return Object(S.jsx)(J.a,Object(B.a)({overlayClassName:nt},Ct))},ie=function(ot){return ot.reduce(function(nt,Ct){return Ct.lang?Object(B.a)(Object(B.a)({},nt),{},Object(F.a)({},Ct.lang,Ct)):nt},{})},G={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"zh-TW",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Vlaams",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},Q=function(ot){return Object(S.jsx)(S.Fragment,{})},W={},ne=l("I5X1"),te=l("qLMh"),_e=l("9og8"),he=l("ZqBY"),oe=l("LtsZ"),ge=l("9Baz"),me=l("9/5/"),Z=l.n(me),xe=l("hKI/"),Ee=l.n(xe);function Le(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function we(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var fe=new Map,pe=function(ot,nt,Ct){var Wt=fe.get(ot);(Wt==null?void 0:Wt.timer)&&clearTimeout(Wt.timer);var kn=void 0;nt>-1&&(kn=setTimeout(function(){fe.delete(ot)},nt)),fe.set(ot,{data:Ct,timer:kn,startTime:new Date().getTime()})},Ke=function(ot){var nt=fe.get(ot);return{data:nt==null?void 0:nt.data,startTime:nt==null?void 0:nt.startTime}},Me=function(H,ot){var nt=typeof Symbol=="function"&&H[Symbol.iterator];if(!nt)return H;var Ct=nt.call(H),Wt,kn=[],Sn;try{for(;(ot===void 0||ot-- >0)&&!(Wt=Ct.next()).done;)kn.push(Wt.value)}catch(Zn){Sn={error:Zn}}finally{try{Wt&&!Wt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Sn)throw Sn.error}}return kn},ze=function(){for(var H=[],ot=0;ot<arguments.length;ot++)H=H.concat(Me(arguments[ot]));return H};function Ue(H,ot){var nt=!1;return function(){for(var Ct=[],Wt=0;Wt<arguments.length;Wt++)Ct[Wt]=arguments[Wt];nt||(nt=!0,H.apply(void 0,ze(Ct)),setTimeout(function(){nt=!1},ot))}}var He=function(H,ot){var nt=typeof Symbol=="function"&&H[Symbol.iterator];if(!nt)return H;var Ct=nt.call(H),Wt,kn=[],Sn;try{for(;(ot===void 0||ot-- >0)&&!(Wt=Ct.next()).done;)kn.push(Wt.value)}catch(Zn){Sn={error:Zn}}finally{try{Wt&&!Wt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Sn)throw Sn.error}}return kn},Ne=function(){for(var H=[],ot=0;ot<arguments.length;ot++)H=H.concat(He(arguments[ot]));return H};function it(H){var ot=Object(O.useRef)(function(){throw new Error("Cannot call an event handler while rendering.")});ot.current=H;var nt=Object(O.useCallback)(function(){for(var Ct=[],Wt=0;Wt<arguments.length;Wt++)Ct[Wt]=arguments[Wt];var kn=ot.current;if(kn)return kn.apply(void 0,Ne(Ct))},[ot]);if(typeof H=="function")return nt}var Xe=it,ht=function(ot,nt){var Ct=Object(O.useRef)(!1);Object(O.useEffect)(function(){return function(){Ct.current=!1}},[]),Object(O.useEffect)(function(){if(!Ct.current)Ct.current=!0;else return ot()},nt)},lt=ht,Et=[];function tt(H){return Et.push(H),function(){var nt=Et.indexOf(H);Et.splice(nt,1)}}var mt=!1;if(typeof window!="undefined"&&window.addEventListener&&!mt){var xt=function(){if(!(!Le()||!we()))for(var ot=0;ot<Et.length;ot++){var nt=Et[ot];nt()}};window.addEventListener("visibilitychange",xt,!1),window.addEventListener("focus",xt,!1),mt=!0}var Xt=tt,vt=[];function qe(H){return vt.push(H),function(){var nt=vt.indexOf(H);vt.splice(nt,1)}}var Re=!1;if(typeof window!="undefined"&&window.addEventListener&&!Re){var Se=function(){if(!!Le())for(var ot=0;ot<vt.length;ot++){var nt=vt[ot];nt()}};window.addEventListener("visibilitychange",Se,!1),Re=!0}var Ve=qe,Ge=function(){return Ge=Object.assign||function(H){for(var ot,nt=1,Ct=arguments.length;nt<Ct;nt++){ot=arguments[nt];for(var Wt in ot)Object.prototype.hasOwnProperty.call(ot,Wt)&&(H[Wt]=ot[Wt])}return H},Ge.apply(this,arguments)},_t=function(H,ot){var nt=typeof Symbol=="function"&&H[Symbol.iterator];if(!nt)return H;var Ct=nt.call(H),Wt,kn=[],Sn;try{for(;(ot===void 0||ot-- >0)&&!(Wt=Ct.next()).done;)kn.push(Wt.value)}catch(Zn){Sn={error:Zn}}finally{try{Wt&&!Wt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Sn)throw Sn.error}}return kn},bt=function(){for(var H=[],ot=0;ot<arguments.length;ot++)H=H.concat(_t(arguments[ot]));return H},gt="AHOOKS_USE_REQUEST_DEFAULT_KEY",at=function(){function H(ot,nt,Ct,Wt){this.count=0,this.pollingWhenVisibleFlag=!1,this.pollingTimer=void 0,this.loadingDelayTimer=void 0,this.unsubscribe=[],this.that=this,this.state={loading:!1,params:[],data:void 0,error:void 0,run:this.run.bind(this.that),mutate:this.mutate.bind(this.that),refresh:this.refresh.bind(this.that),cancel:this.cancel.bind(this.that),unmount:this.unmount.bind(this.that)},this.service=ot,this.config=nt,this.subscribe=Ct,Wt&&(this.state=Ge(Ge({},this.state),Wt)),this.debounceRun=this.config.debounceInterval?Z()(this._run,this.config.debounceInterval):void 0,this.throttleRun=this.config.throttleInterval?Ee()(this._run,this.config.throttleInterval):void 0,this.limitRefresh=Ue(this.refresh.bind(this),this.config.focusTimespan),this.config.pollingInterval&&this.unsubscribe.push(Ve(this.rePolling.bind(this))),this.config.refreshOnWindowFocus&&this.unsubscribe.push(Xt(this.limitRefresh.bind(this)))}return H.prototype.setState=function(ot){ot===void 0&&(ot={}),this.state=Ge(Ge({},this.state),ot),this.subscribe(this.state)},H.prototype._run=function(){for(var ot=this,nt=[],Ct=0;Ct<arguments.length;Ct++)nt[Ct]=arguments[Ct];this.pollingTimer&&clearTimeout(this.pollingTimer),this.loadingDelayTimer&&clearTimeout(this.loadingDelayTimer),this.count+=1;var Wt=this.count;return this.setState({loading:!this.config.loadingDelay,params:nt}),this.config.loadingDelay&&(this.loadingDelayTimer=setTimeout(function(){ot.setState({loading:!0})},this.config.loadingDelay)),this.service.apply(this,bt(nt)).then(function(kn){if(Wt!==ot.count)return new Promise(function(){});ot.loadingDelayTimer&&clearTimeout(ot.loadingDelayTimer);var Sn=ot.config.formatResult?ot.config.formatResult(kn):kn;return ot.setState({data:Sn,error:void 0,loading:!1}),ot.config.onSuccess&&ot.config.onSuccess(Sn,nt),Sn}).catch(function(kn){if(Wt!==ot.count)return new Promise(function(){});if(ot.loadingDelayTimer&&clearTimeout(ot.loadingDelayTimer),ot.setState({data:void 0,error:kn,loading:!1}),ot.config.onError&&ot.config.onError(kn,nt),ot.config.throwOnError)throw kn;return console.error(kn),Promise.reject("useRequest has caught the exception, if you need to handle the exception yourself, you can set options.throwOnError to true.")}).finally(function(){if(Wt===ot.count&&ot.config.pollingInterval){if(!Le()&&!ot.config.pollingWhenHidden){ot.pollingWhenVisibleFlag=!0;return}ot.pollingTimer=setTimeout(function(){ot._run.apply(ot,bt(nt))},ot.config.pollingInterval)}})},H.prototype.run=function(){for(var ot=[],nt=0;nt<arguments.length;nt++)ot[nt]=arguments[nt];return this.debounceRun?(this.debounceRun.apply(this,bt(ot)),Promise.resolve(null)):this.throttleRun?(this.throttleRun.apply(this,bt(ot)),Promise.resolve(null)):this._run.apply(this,bt(ot))},H.prototype.cancel=function(){this.debounceRun&&this.debounceRun.cancel(),this.throttleRun&&this.throttleRun.cancel(),this.loadingDelayTimer&&clearTimeout(this.loadingDelayTimer),this.pollingTimer&&clearTimeout(this.pollingTimer),this.pollingWhenVisibleFlag=!1,this.count+=1,this.setState({loading:!1})},H.prototype.refresh=function(){return this.run.apply(this,bt(this.state.params))},H.prototype.rePolling=function(){this.pollingWhenVisibleFlag&&(this.pollingWhenVisibleFlag=!1,this.refresh())},H.prototype.mutate=function(ot){typeof ot=="function"?this.setState({data:ot(this.state.data)||{}}):this.setState({data:ot})},H.prototype.unmount=function(){this.cancel(),this.unsubscribe.forEach(function(ot){ot()})},H}();function ft(H,ot){var nt=ot||{},Ct=nt.refreshDeps,Wt=Ct===void 0?[]:Ct,kn=nt.manual,Sn=kn===void 0?!1:kn,Zn=nt.onSuccess,Or=Zn===void 0?function(){}:Zn,Yn=nt.onError,Nn=Yn===void 0?function(){}:Yn,Zt=nt.defaultLoading,rr=Zt===void 0?!1:Zt,Gn=nt.loadingDelay,ln=nt.pollingInterval,Xn=ln===void 0?0:ln,Kn=nt.pollingWhenHidden,fr=Kn===void 0?!0:Kn,Hn=nt.defaultParams,Sa=Hn===void 0?[]:Hn,Lr=nt.refreshOnWindowFocus,Ca=Lr===void 0?!1:Lr,za=nt.focusTimespan,Ma=za===void 0?5e3:za,va=nt.fetchKey,qa=nt.cacheKey,gi=nt.cacheTime,Qi=gi===void 0?5*60*1e3:gi,mi=nt.staleTime,Cr=mi===void 0?0:mi,Un=nt.debounceInterval,Lt=nt.throttleInterval,gn=nt.initialData,Ln=nt.ready,kr=Ln===void 0?!0:Ln,ea=nt.throwOnError,Qr=ea===void 0?!1:ea,Na=Object(O.useRef)(gt),ar=Xe(H),pi=Xe(Or),_i=Xe(Nn),ti=Xe(va),ui;"formatResult"in nt&&(ui=nt.formatResult);var Ri=Xe(ui),ao={formatResult:Ri,onSuccess:pi,onError:_i,loadingDelay:Gn,pollingInterval:Xn,pollingWhenHidden:fr,refreshOnWindowFocus:!Sn&&Ca,focusTimespan:Ma,debounceInterval:Un,throttleInterval:Lt,throwOnError:Qr},Zi=Xe(function(xn,Rt){qi(function(mr){return mr[xn]=Rt,Ge({},mr)})}),Fi=_t(Object(O.useState)(function(){var xn;if(qa){var Rt=(xn=Ke(qa))===null||xn===void 0?void 0:xn.data;if(Rt){Na.current=Rt.newstFetchKey;var mr={};return Object.keys(Rt.fetches).forEach(function(ta){var ma=Rt.fetches[ta],Oa=new at(ar,ao,Zi.bind(null,ta),{loading:ma.loading,params:ma.params,data:ma.data,error:ma.error});mr[ta]=Oa.state}),mr}}return{}}),2),Si=Fi[0],qi=Fi[1],eo=Object(O.useRef)(Si);eo.current=Si;var xo=Object(O.useRef)(),cs=Object(O.useCallback)(function(){for(var xn=[],Rt=0;Rt<arguments.length;Rt++)xn[Rt]=arguments[Rt];if(!kr){xo.current=xn;return}if(ti){var mr=ti.apply(void 0,bt(xn));Na.current=mr===void 0?gt:mr}var ta=Na.current,ma=eo.current[ta];if(!ma){var Oa=new at(ar,ao,Zi.bind(null,ta),{data:gn});ma=Oa.state,qi(function(Pn){return Pn[ta]=ma,Ge({},Pn)})}return ma.run.apply(ma,bt(xn))},[va,Zi,kr]),ba=Object(O.useRef)(cs);ba.current=cs,lt(function(){qa&&pe(qa,Qi,{fetches:Si,newstFetchKey:Na.current})},[qa,Si]);var sa=Object(O.useRef)(!1);lt(function(){kr&&(!sa.current&&xo.current&&ba.current.apply(ba,bt(xo.current)),sa.current=!0)},[kr]),Object(O.useEffect)(function(){var xn;if(!Sn)if(Object.keys(Si).length>0){var Rt=qa&&((xn=Ke(qa))===null||xn===void 0?void 0:xn.startTime)||0;Cr===-1||new Date().getTime()-Rt<=Cr||Object.values(Si).forEach(function(mr){mr.refresh()})}else ba.current.apply(ba,bt(Sa))},[]);var Da=Object(O.useCallback)(function(){Object.values(eo.current).forEach(function(xn){xn.unmount()}),Na.current=gt,qi({}),eo.current={}},[qi]);lt(function(){Sn||Object.values(eo.current).forEach(function(xn){xn.refresh()})},bt(Wt)),Object(O.useEffect)(function(){return function(){Object.values(eo.current).forEach(function(xn){xn.unmount()})}},[]);var On=Object(O.useCallback)(function(xn){return function(){console.warn("You should't call "+xn+" when service not executed once.")}},[]);return Ge(Ge({loading:kr&&!Sn||rr,data:gn,error:void 0,params:[],cancel:On("cancel"),refresh:On("refresh"),mutate:On("mutate")},Si[Na.current]||{}),{run:cs,fetches:Si,reset:Da})}var Fe=ft,Te=function(){return Te=Object.assign||function(H){for(var ot,nt=1,Ct=arguments.length;nt<Ct;nt++){ot=arguments[nt];for(var Wt in ot)Object.prototype.hasOwnProperty.call(ot,Wt)&&(H[Wt]=ot[Wt])}return H},Te.apply(this,arguments)},ut=function(H,ot){var nt={};for(var Ct in H)Object.prototype.hasOwnProperty.call(H,Ct)&&ot.indexOf(Ct)<0&&(nt[Ct]=H[Ct]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Ct=Object.getOwnPropertySymbols(H);Wt<Ct.length;Wt++)ot.indexOf(Ct[Wt])<0&&Object.prototype.propertyIsEnumerable.call(H,Ct[Wt])&&(nt[Ct[Wt]]=H[Ct[Wt]]);return nt},le=function(H,ot){var nt=typeof Symbol=="function"&&H[Symbol.iterator];if(!nt)return H;var Ct=nt.call(H),Wt,kn=[],Sn;try{for(;(ot===void 0||ot-- >0)&&!(Wt=Ct.next()).done;)kn.push(Wt.value)}catch(Zn){Sn={error:Zn}}finally{try{Wt&&!Wt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Sn)throw Sn.error}}return kn},$e=function(){for(var H=[],ot=0;ot<arguments.length;ot++)H=H.concat(le(arguments[ot]));return H};function Qe(H,ot){var nt=ot.refreshDeps,Ct=nt===void 0?[]:nt,Wt=ot.ref,kn=ot.isNoMore,Sn=ot.threshold,Zn=Sn===void 0?100:Sn,Or=ot.fetchKey,Yn=ut(ot,["refreshDeps","ref","isNoMore","threshold","fetchKey"]),Nn=le(Object(O.useState)(!1),2),Zt=Nn[0],rr=Nn[1];Object(O.useEffect)(function(){ot.fetchKey&&console.warn("useRequest loadMore mode don't need fetchKey!")},[]);var Gn=Fe(H,Te(Te({},Yn),{fetchKey:function(mi){var Cr;return((Cr=mi==null?void 0:mi.list)===null||Cr===void 0?void 0:Cr.length)||0},onSuccess:function(){for(var mi=[],Cr=0;Cr<arguments.length;Cr++)mi[Cr]=arguments[Cr];rr(!1),ot.onSuccess&&ot.onSuccess.apply(ot,$e(mi))}})),ln=Gn.data,Xn=Gn.run,Kn=Gn.params,fr=Gn.reset,Hn=Gn.loading,Sa=Gn.fetches,Lr=Object(O.useCallback)(function(){fr();var Qi=le(Kn),mi=Qi.slice(1);Xn.apply(void 0,$e([void 0],mi))},[Xn,fr,Kn]),Ca=Object(O.useRef)(Lr);Ca.current=Lr,lt(function(){ot.manual||Ca.current()},$e(Ct));var za=Object(O.useMemo)(function(){var Qi=[],mi=ln;return Object.values(Sa).forEach(function(Cr){var Un,Lt;((Un=Cr.data)===null||Un===void 0?void 0:Un.list)&&(Qi=Qi.concat((Lt=Cr.data)===null||Lt===void 0?void 0:Lt.list)),Cr.loading||(mi=Cr.data)}),Te(Te({},mi),{list:Qi})},[Sa,ln]),Ma=kn?!Hn&&!Zt&&kn(za):!1,va=Object(O.useCallback)(function(){if(!Ma){rr(!0);var Qi=le(Kn),mi=Qi.slice(1);Xn.apply(void 0,$e([za],mi))}},[Ma,Xn,za,Kn]),qa=function(){Hn||Zt||!Wt||!Wt.current||Wt.current.scrollHeight-Wt.current.scrollTop<=Wt.current.clientHeight+Zn&&va()},gi=Object(O.useRef)(qa);return gi.current=qa,Object(O.useEffect)(function(){if(!Wt||!Wt.current)return function(){};var Qi=function(){return gi.current()};return Wt.current.addEventListener("scroll",Qi),function(){Wt&&Wt.current&&Wt.current.removeEventListener("scroll",Qi)}},[gi]),Te(Te({},Gn),{data:za,reload:Lr,loading:Hn&&za.list.length===0,loadMore:va,loadingMore:Zt,noMore:Ma})}var Tt=Qe,Ot=function(){return Ot=Object.assign||function(H){for(var ot,nt=1,Ct=arguments.length;nt<Ct;nt++){ot=arguments[nt];for(var Wt in ot)Object.prototype.hasOwnProperty.call(ot,Wt)&&(H[Wt]=ot[Wt])}return H},Ot.apply(this,arguments)},Ut=function(H,ot){var nt={};for(var Ct in H)Object.prototype.hasOwnProperty.call(H,Ct)&&ot.indexOf(Ct)<0&&(nt[Ct]=H[Ct]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Ct=Object.getOwnPropertySymbols(H);Wt<Ct.length;Wt++)ot.indexOf(Ct[Wt])<0&&Object.prototype.propertyIsEnumerable.call(H,Ct[Wt])&&(nt[Ct[Wt]]=H[Ct[Wt]]);return nt},At=function(H,ot){var nt=typeof Symbol=="function"&&H[Symbol.iterator];if(!nt)return H;var Ct=nt.call(H),Wt,kn=[],Sn;try{for(;(ot===void 0||ot-- >0)&&!(Wt=Ct.next()).done;)kn.push(Wt.value)}catch(Zn){Sn={error:Zn}}finally{try{Wt&&!Wt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Sn)throw Sn.error}}return kn},Pt=function(){for(var H=[],ot=0;ot<arguments.length;ot++)H=H.concat(At(arguments[ot]));return H};function Dt(H,ot){var nt=ot.paginated,Ct=ot.defaultPageSize,Wt=Ct===void 0?10:Ct,kn=ot.refreshDeps,Sn=kn===void 0?[]:kn,Zn=ot.fetchKey,Or=Ut(ot,["paginated","defaultPageSize","refreshDeps","fetchKey"]);Object(O.useEffect)(function(){Zn&&console.error("useRequest pagination's fetchKey will not work!")},[]);var Yn=Fe(H,Ot({defaultParams:[{current:1,pageSize:Wt}]},Or)),Nn=Yn.data,Zt=Yn.params,rr=Yn.run,Gn=Yn.loading,ln=Ut(Yn,["data","params","run","loading"]),Xn=Zt&&Zt[0]?Zt[0]:{},Kn=Xn.current,fr=Kn===void 0?1:Kn,Hn=Xn.pageSize,Sa=Hn===void 0?Wt:Hn,Lr=Xn.sorter,Ca=Lr===void 0?{}:Lr,za=Xn.filters,Ma=za===void 0?{}:za,va=Object(O.useCallback)(function(gn){var Ln=At(Zt),kr=Ln[0],ea=Ln.slice(1);rr.apply(void 0,Pt([Ot(Ot({},kr),gn)],ea))},[rr,Zt]),qa=(Nn==null?void 0:Nn.total)||0,gi=Object(O.useMemo)(function(){return Math.ceil(qa/Sa)},[Sa,qa]),Qi=Object(O.useCallback)(function(gn,Ln){var kr=gn<=0?1:gn,ea=Ln<=0?1:Ln,Qr=Math.ceil(qa/ea);kr>Qr&&(kr=Math.max(1,Qr)),va({current:kr,pageSize:ea})},[qa,va]),mi=Object(O.useCallback)(function(gn){Qi(gn,Sa)},[Qi,Sa]),Cr=Object(O.useCallback)(function(gn){Qi(fr,gn)},[Qi,fr]),Un=Object(O.useRef)(mi);Un.current=mi,lt(function(){ot.manual||Un.current(1)},Pt(Sn));var Lt=Object(O.useCallback)(function(gn,Ln,kr){va({current:gn.current,pageSize:gn.pageSize||Wt,filters:Ln,sorter:kr})},[Ma,Ca,va]);return Ot({loading:Gn,data:Nn,params:Zt,run:rr,pagination:{current:fr,pageSize:Sa,total:qa,totalPage:gi,onChange:Qi,changeCurrent:mi,changePageSize:Cr},tableProps:{dataSource:(Nn==null?void 0:Nn.list)||[],loading:Gn,onChange:Lt,pagination:{current:fr,pageSize:Sa,total:qa}},sorter:Ca,filters:Ma},ln)}var Qt=Dt,cn=C.a.createContext({});cn.displayName="UseRequestConfigContext";var $n=cn,hn=function(){return hn=Object.assign||function(H){for(var ot,nt=1,Ct=arguments.length;nt<Ct;nt++){ot=arguments[nt];for(var Wt in ot)Object.prototype.hasOwnProperty.call(ot,Wt)&&(H[Wt]=ot[Wt])}return H},hn.apply(this,arguments)},_n=function(H,ot){var nt={};for(var Ct in H)Object.prototype.hasOwnProperty.call(H,Ct)&&ot.indexOf(Ct)<0&&(nt[Ct]=H[Ct]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Ct=Object.getOwnPropertySymbols(H);Wt<Ct.length;Wt++)ot.indexOf(Ct[Wt])<0&&Object.prototype.propertyIsEnumerable.call(H,Ct[Wt])&&(nt[Ct[Wt]]=H[Ct[Wt]]);return nt},bn=function(H,ot){var nt=typeof Symbol=="function"&&H[Symbol.iterator];if(!nt)return H;var Ct=nt.call(H),Wt,kn=[],Sn;try{for(;(ot===void 0||ot-- >0)&&!(Wt=Ct.next()).done;)kn.push(Wt.value)}catch(Zn){Sn={error:Zn}}finally{try{Wt&&!Wt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Sn)throw Sn.error}}return kn},Bn=function(){for(var H=[],ot=0;ot<arguments.length;ot++)H=H.concat(bn(arguments[ot]));return H};function Tn(H,ot){ot===void 0&&(ot={});var nt=Object(O.useContext)($n),Ct=hn(hn({},nt),ot),Wt=Ct.paginated,kn=Ct.loadMore,Sn=Ct.requestMethod,Zn=Object(O.useRef)(Wt),Or=Object(O.useRef)(kn);if(Zn.current!==Wt)throw Error("You should not modify the paginated of options");if(Or.current!==kn)throw Error("You should not modify the loadMore of options");Zn.current=Wt,Or.current=kn;var Yn=function(){for(var Xn=[],Kn=0;Kn<arguments.length;Kn++)Xn[Kn]=arguments[Kn];return fetch.apply(void 0,Bn(Xn)).then(function(fr){if(fr.ok)return fr.json();throw new Error(fr.statusText)})},Nn=Sn||Yn,Zt;switch(typeof H){case"string":Zt=function(){return Nn(H)};break;case"object":var rr=H.url,Gn=_n(H,["url"]);Zt=function(){return Sn?Sn(H):Yn(rr,Gn)};break;default:Zt=function(){for(var Xn=[],Kn=0;Kn<arguments.length;Kn++)Xn[Kn]=arguments[Kn];return new Promise(function(fr,Hn){var Sa=H.apply(void 0,Bn(Xn)),Lr=Sa;if(!Sa.then)switch(typeof Sa){case"string":Lr=Nn(Sa);break;case"object":var Ca=Sa.url,za=_n(Sa,["url"]);Lr=Sn?Sn(Sa):Yn(Ca,za);break}Lr.then(fr).catch(Hn)})}}return kn?Tt(Zt,Ct):Wt?Qt(Zt,Ct):Fe(Zt,Ct)}var Tr=$n.Provider,Sr=Tr,Wr=Tn,br=["url"];function Wn(H){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Wr(H,Object(B.a)({formatResult:function(Ct){return Ct==null?void 0:Ct.data},requestMethod:function(Ct){if(typeof Ct=="string")return zt(Ct);if(typeof Ct=="object"){var Wt=Ct.url,kn=Object($.a)(Ct,br);return zt(Wt,kn)}throw new Error("request options error")}},ot))}var gr;(function(H){H[H.SILENT=0]="SILENT",H[H.WARN_MESSAGE=1]="WARN_MESSAGE",H[H.ERROR_MESSAGE=2]="ERROR_MESSAGE",H[H.NOTIFICATION=4]="NOTIFICATION",H[H.REDIRECT=9]="REDIRECT"})(gr||(gr={}));var na="/exception",jn,un=function(){var ot;if(jn)return jn;var nt=m.a.applyPlugins({key:"request",type:oe.ApplyPluginsType.modify,initialValue:{}}),Ct=((ot=nt.errorConfig)===null||ot===void 0?void 0:ot.adaptor)||function(Zn){return Zn};jn=Object(he.b)(Object(B.a)({errorHandler:function(Or){var Yn,Nn,Zt;if(Or!=null&&(Yn=Or.request)!==null&&Yn!==void 0&&(Nn=Yn.options)!==null&&Nn!==void 0&&Nn.skipErrorHandler)throw Or;var rr;if(Or.name==="ResponseError"&&Or.data&&Or.request){var Gn,ln={req:Or.request,res:Or.response};rr=Ct(Or.data,ln),Or.message=((Gn=rr)===null||Gn===void 0?void 0:Gn.errorMessage)||Or.message,Or.data=Or.data,Or.info=rr}if(rr=Or.info,rr){var Xn,Kn,fr,Hn=(Xn=rr)===null||Xn===void 0?void 0:Xn.errorMessage,Sa=(Kn=rr)===null||Kn===void 0?void 0:Kn.errorCode,Lr=((fr=nt.errorConfig)===null||fr===void 0?void 0:fr.errorPage)||na;switch((Zt=rr)===null||Zt===void 0?void 0:Zt.showType){case gr.SILENT:break;case gr.WARN_MESSAGE:ge.message.warn(Hn);break;case gr.ERROR_MESSAGE:ge.message.error(Hn);break;case gr.NOTIFICATION:ge.notification.open({description:Hn,message:Sa});break;case gr.REDIRECT:E.b.push({pathname:Lr,query:{errorCode:Sa,errorMessage:Hn}});break;default:ge.message.error(Hn);break}}else ge.message.error(Or.message||"Request error, please retry.");throw Or}},nt)),jn.use(function(){var Zn=Object(_e.a)(Object(te.a)().mark(function Or(Yn,Nn){var Zt,rr,Gn,ln,Xn,Kn,fr,Hn;return Object(te.a)().wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:return Lr.next=2,Nn();case 2:if(rr=Yn.req,Gn=Yn.res,!((Zt=rr.options)!==null&&Zt!==void 0&&Zt.skipErrorHandler)){Lr.next=5;break}return Lr.abrupt("return");case 5:if(ln=rr.options,Xn=ln.getResponse,Kn=Xn?Gn.data:Gn,fr=Ct(Kn,Yn),fr.success!==!1){Lr.next=16;break}throw Hn=new Error(fr.errorMessage),Hn.name="BizError",Hn.data=Kn,Hn.info=fr,Hn.response=Gn,Hn;case 16:case"end":return Lr.stop()}},Or)}));return function(Or,Yn){return Zn.apply(this,arguments)}}());var Wt=nt.middlewares||[];Wt.forEach(function(Zn){jn.use(Zn)});var kn=nt.requestInterceptors||[],Sn=nt.responseInterceptors||[];return kn.map(function(Zn){jn.interceptors.request.use(Zn)}),Sn.map(function(Zn){jn.interceptors.response.use(Zn)}),jn},zt=function(ot,nt){var Ct=un();return Ct(ot,nt)},Bt=l("qhky")},"9mHw":function(ce,R,l){"use strict";var E=l("ODXe"),m=l("Imx0");function O(C,k){var A=Object(m.a)(C,k),S=Object(E.a)(A,2),y=S[0],w=S[1];return[y,w]}R.a=O},"9og8":function(ce,R,l){"use strict";l.d(R,"a",function(){return m});function E(O,C,k,A,S,y,w){try{var x=O[y](w),T=x.value}catch(j){k(j);return}x.done?C(T):Promise.resolve(T).then(A,S)}function m(O){return function(){var C=this,k=arguments;return new Promise(function(A,S){var y=O.apply(C,k);function w(T){E(y,A,S,w,x,"next",T)}function x(T){E(y,A,S,w,x,"throw",T)}w(void 0)})}}},"9xmf":function(ce,R,l){var E=l("EdiO");function m(O){if(Array.isArray(O))return E(O)}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"9yH6":function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("ODXe"),C=l("TSYQ"),k=l.n(C),A=l("pAT6"),S=l("q1tI"),y=l("H84U"),w=l("3Nzz"),x=l("RqAY"),T=S.createContext(null),j=T.Provider,D=T,N=S.createContext(null),F=N.Provider,B=l("x1Ya"),U=l("Twdv"),J=l("caoh"),$=l("ihLV"),X=function(ge,me){var Z={};for(var xe in ge)Object.prototype.hasOwnProperty.call(ge,xe)&&me.indexOf(xe)<0&&(Z[xe]=ge[xe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(ge);Ee<xe.length;Ee++)me.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(ge,xe[Ee])&&(Z[xe[Ee]]=ge[xe[Ee]]);return Z},ee=function(me,Z){var xe,Ee=S.useContext(D),Le=S.useContext(N),we=S.useContext(y.b),fe=we.getPrefixCls,pe=we.direction,Ke=S.useRef(),Me=Object(U.a)(Z,Ke),ze=Object(S.useContext)($.b),Ue=ze.isFormItemInput,He=function(Re){var Se,Ve;(Se=me.onChange)===null||Se===void 0||Se.call(me,Re),(Ve=Ee==null?void 0:Ee.onChange)===null||Ve===void 0||Ve.call(Ee,Re)},Ne=me.prefixCls,it=me.className,Xe=me.children,ht=me.style,lt=me.disabled,Et=X(me,["prefixCls","className","children","style","disabled"]),tt=fe("radio",Ne),mt=((Ee==null?void 0:Ee.optionType)||Le)==="button"?"".concat(tt,"-button"):tt,xt=Object(E.a)({},Et),Xt=S.useContext(J.b);xt.disabled=lt||Xt,Ee&&(xt.name=Ee.name,xt.onChange=He,xt.checked=me.value===Ee.value,xt.disabled=xt.disabled||Ee.disabled);var vt=k()("".concat(mt,"-wrapper"),(xe={},Object(m.a)(xe,"".concat(mt,"-wrapper-checked"),xt.checked),Object(m.a)(xe,"".concat(mt,"-wrapper-disabled"),xt.disabled),Object(m.a)(xe,"".concat(mt,"-wrapper-rtl"),pe==="rtl"),Object(m.a)(xe,"".concat(mt,"-wrapper-in-form-item"),Ue),xe),it);return S.createElement("label",{className:vt,style:ht,onMouseEnter:me.onMouseEnter,onMouseLeave:me.onMouseLeave},S.createElement(B.a,Object(E.a)({},xt,{type:"radio",prefixCls:mt,ref:Me})),Xe!==void 0?S.createElement("span",null,Xe):null)},ie=S.forwardRef(ee),G=ie,Q=S.forwardRef(function(ge,me){var Z,xe=S.useContext(y.b),Ee=xe.getPrefixCls,Le=xe.direction,we=S.useContext(w.b),fe=Object(A.a)(ge.defaultValue,{value:ge.value}),pe=Object(O.a)(fe,2),Ke=pe[0],Me=pe[1],ze=function(at){var ft=Ke,Fe=at.target.value;"value"in ge||Me(Fe);var Te=ge.onChange;Te&&Fe!==ft&&Te(at)},Ue=ge.prefixCls,He=ge.className,Ne=He===void 0?"":He,it=ge.options,Xe=ge.buttonStyle,ht=Xe===void 0?"outline":Xe,lt=ge.disabled,Et=ge.children,tt=ge.size,mt=ge.style,xt=ge.id,Xt=ge.onMouseEnter,vt=ge.onMouseLeave,qe=ge.onFocus,Re=ge.onBlur,Se=Ee("radio",Ue),Ve="".concat(Se,"-group"),Ge=Et;it&&it.length>0&&(Ge=it.map(function(gt){return typeof gt=="string"||typeof gt=="number"?S.createElement(G,{key:gt.toString(),prefixCls:Se,disabled:lt,value:gt,checked:Ke===gt},gt):S.createElement(G,{key:"radio-group-value-options-".concat(gt.value),prefixCls:Se,disabled:gt.disabled||lt,value:gt.value,checked:Ke===gt.value,style:gt.style},gt.label)}));var _t=tt||we,bt=k()(Ve,"".concat(Ve,"-").concat(ht),(Z={},Object(m.a)(Z,"".concat(Ve,"-").concat(_t),_t),Object(m.a)(Z,"".concat(Ve,"-rtl"),Le==="rtl"),Z),Ne);return S.createElement("div",Object(E.a)({},Object(x.a)(ge),{className:bt,style:mt,onMouseEnter:Xt,onMouseLeave:vt,onFocus:qe,onBlur:Re,id:xt,ref:me}),S.createElement(j,{value:{onChange:ze,value:Ke,disabled:ge.disabled,name:ge.name,optionType:ge.optionType}},Ge))}),W=S.memo(Q),ne=function(ge,me){var Z={};for(var xe in ge)Object.prototype.hasOwnProperty.call(ge,xe)&&me.indexOf(xe)<0&&(Z[xe]=ge[xe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(ge);Ee<xe.length;Ee++)me.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(ge,xe[Ee])&&(Z[xe[Ee]]=ge[xe[Ee]]);return Z},te=function(me,Z){var xe=S.useContext(y.b),Ee=xe.getPrefixCls,Le=me.prefixCls,we=ne(me,["prefixCls"]),fe=Ee("radio",Le);return S.createElement(F,{value:"button"},S.createElement(G,Object(E.a)({prefixCls:fe},we,{type:"radio",ref:Z})))},_e=S.forwardRef(te),he=G;he.Button=_e,he.Group=W,he.__ANT_RADIO=!0;var oe=R.a=he},"9zP7":function(ce,R,l){var E=l("MMxC"),m=l("UPML");E({target:"Object",stat:!0},{is:m})},"9znl":function(ce,R,l){var E=l("MMxC"),m=l("aF2d");E({target:"Set",stat:!0},{from:m})},"A+b4":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("mTKU").start,O=l("HKQd"),C=O("trimStart"),k=C?function(){return m(this)}:"".trimStart;E({target:"String",proto:!0,forced:C},{trimStart:k,trimLeft:k})},A0Fo:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},A2FF:function(ce,R,l){"use strict";R.a="4.24.12"},A8C4:function(ce,R,l){(function(E){ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],function(m,O,C){"use strict";function k(ie){var G=new Date().toLocaleString("en-us",ie);return G.length==1?"0"+G:G}var A=m("./lib/dom"),S=m("./lib/oop"),y=m("./lib/event_emitter").EventEmitter,w=m("./lib/lang"),x=m("./range").Range,T=m("./range_list").RangeList,j=m("./keyboard/hash_handler").HashHandler,D=m("./tokenizer").Tokenizer,N=m("./clipboard"),F={CURRENT_WORD:function(G){return G.session.getTextRange(G.session.getWordRange())},SELECTION:function(G,Q,W){var ne=G.session.getTextRange();return W?ne.replace(/\n\r?([ \t]*\S)/g,`
`+W+"$1"):ne},CURRENT_LINE:function(G){return G.session.getLine(G.getCursorPosition().row)},PREV_LINE:function(G){return G.session.getLine(G.getCursorPosition().row-1)},LINE_INDEX:function(G){return G.getCursorPosition().row},LINE_NUMBER:function(G){return G.getCursorPosition().row+1},SOFT_TABS:function(G){return G.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(G){return G.session.getTabSize()},CLIPBOARD:function(G){return N.getText&&N.getText()},FILENAME:function(G){return/[^/\\]*$/.exec(this.FILEPATH(G))[0]},FILENAME_BASE:function(G){return/[^/\\]*$/.exec(this.FILEPATH(G))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(G){return this.FILEPATH(G).replace(/[^/\\]*$/,"")},FILEPATH:function(G){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(G){var Q=G.session.$mode||{};return Q.blockComment&&Q.blockComment.start||""},BLOCK_COMMENT_END:function(G){var Q=G.session.$mode||{};return Q.blockComment&&Q.blockComment.end||""},LINE_COMMENT:function(G){var Q=G.session.$mode||{};return Q.lineCommentStart||""},CURRENT_YEAR:k.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:k.bind(null,{year:"2-digit"}),CURRENT_MONTH:k.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:k.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:k.bind(null,{month:"short"}),CURRENT_DATE:k.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:k.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:k.bind(null,{weekday:"short"}),CURRENT_HOUR:k.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:k.bind(null,{minute:"2-digit"}),CURRENT_SECOND:k.bind(null,{second:"2-digit"})};F.SELECTED_TEXT=F.SELECTION;var B=function(){function ie(){this.snippetMap={},this.snippetNameMap={},this.variables=F}return ie.prototype.getTokenizer=function(){return ie.$tokenizer||this.createTokenizer()},ie.prototype.createTokenizer=function(){function G(ne){return ne=ne.substr(1),/^\d+$/.test(ne)?[{tabstopId:parseInt(ne,10)}]:[{text:ne}]}function Q(ne){return"(?:[^\\\\"+ne+"]|\\\\.)"}var W={regex:"/("+Q("/")+"+)/",onMatch:function(te,_e,he){var oe=he[0];return oe.fmtString=!0,oe.guard=te.slice(1,-1),oe.flag="",""},next:"formatString"};return ie.$tokenizer=new D({start:[{regex:/\\./,onMatch:function(te,_e,he){var oe=te[1];return(oe=="}"&&he.length||"`$\\".indexOf(oe)!=-1)&&(te=oe),[te]}},{regex:/}/,onMatch:function(te,_e,he){return[he.length?he.shift():te]}},{regex:/\$(?:\d+|\w+)/,onMatch:G},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(te,_e,he){var oe=G(te.substr(1));return he.unshift(oe[0]),oe},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+Q("\\|")+"*\\|",onMatch:function(te,_e,he){var oe=te.slice(1,-1).replace(/\\[,|\\]|,/g,function(ge){return ge.length==2?ge[1]:"\0"}).split("\0").map(function(ge){return{value:ge}});return he[0].choices=oe,[oe[0]]},next:"start"},W,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(te,_e,he){return he.length&&he[0].expectElse?(he[0].expectElse=!1,he[0].ifEnd={elseEnd:he[0]},[he[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(te,_e,he){var oe=te[1];return oe=="}"&&he.length||"`$\\".indexOf(oe)!=-1?te=oe:oe=="n"?te=`
`:oe=="t"?te=" ":"ulULE".indexOf(oe)!=-1&&(te={changeCase:oe,local:oe>"a"}),[te]}},{regex:"/\\w*}",onMatch:function(te,_e,he){var oe=he.shift();return oe&&(oe.flag=te.slice(1,-1)),this.next=oe&&oe.tabstopId?"start":"",[oe||te]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(te,_e,he){return[{text:te.slice(1)}]}},{regex:/\${\w+/,onMatch:function(te,_e,he){var oe={text:te.slice(2)};return he.unshift(oe),[oe]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(te,_e,he){var oe=he.shift();return this.next=oe&&oe.tabstopId?"start":"",[oe||te]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(te,_e,he){var oe=he[0];return oe.formatFunction=te.slice(2,-1),[he.shift()]},next:"formatString"},W,{regex:/:[\?\-+]?/,onMatch:function(te,_e,he){te[1]=="+"&&(he[0].ifEnd=he[0]),te[1]=="?"&&(he[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),ie.$tokenizer},ie.prototype.tokenizeTmSnippet=function(G,Q){return this.getTokenizer().getLineTokens(G,Q).tokens.map(function(W){return W.value||W})},ie.prototype.getVariableValue=function(G,Q,W){if(/^\d+$/.test(Q))return(this.variables.__||{})[Q]||"";if(/^[A-Z]\d+$/.test(Q))return(this.variables[Q[0]+"__"]||{})[Q.substr(1)]||"";if(Q=Q.replace(/^TM_/,""),!this.variables.hasOwnProperty(Q))return"";var ne=this.variables[Q];return typeof ne=="function"&&(ne=this.variables[Q](G,Q,W)),ne==null?"":ne},ie.prototype.tmStrFormat=function(G,Q,W){if(!Q.fmt)return G;var ne=Q.flag||"",te=Q.guard;te=new RegExp(te,ne.replace(/[^gim]/g,""));var _e=typeof Q.fmt=="string"?this.tokenizeTmSnippet(Q.fmt,"formatString"):Q.fmt,he=this,oe=G.replace(te,function(){var ge=he.variables.__;he.variables.__=[].slice.call(arguments);for(var me=he.resolveVariables(_e,W),Z="E",xe=0;xe<me.length;xe++){var Ee=me[xe];if(typeof Ee=="object")if(me[xe]="",Ee.changeCase&&Ee.local){var Le=me[xe+1];Le&&typeof Le=="string"&&(Ee.changeCase=="u"?me[xe]=Le[0].toUpperCase():me[xe]=Le[0].toLowerCase(),me[xe+1]=Le.substr(1))}else Ee.changeCase&&(Z=Ee.changeCase);else Z=="U"?me[xe]=Ee.toUpperCase():Z=="L"&&(me[xe]=Ee.toLowerCase())}return he.variables.__=ge,me.join("")});return oe},ie.prototype.tmFormatFunction=function(G,Q,W){return Q.formatFunction=="upcase"?G.toUpperCase():Q.formatFunction=="downcase"?G.toLowerCase():G},ie.prototype.resolveVariables=function(G,Q){function W(Z){var xe=G.indexOf(Z,he+1);xe!=-1&&(he=xe)}for(var ne=[],te="",_e=!0,he=0;he<G.length;he++){var oe=G[he];if(typeof oe=="string"){ne.push(oe),oe==`
`?(_e=!0,te=""):_e&&(te=/^\t*/.exec(oe)[0],_e=/\S/.test(oe));continue}if(!!oe){if(_e=!1,oe.fmtString){var ge=G.indexOf(oe,he+1);ge==-1&&(ge=G.length),oe.fmt=G.slice(he+1,ge),he=ge}if(oe.text){var me=this.getVariableValue(Q,oe.text,te)+"";oe.fmtString&&(me=this.tmStrFormat(me,oe,Q)),oe.formatFunction&&(me=this.tmFormatFunction(me,oe,Q)),me&&!oe.ifEnd?(ne.push(me),W(oe)):!me&&oe.ifEnd&&W(oe.ifEnd)}else oe.elseEnd?W(oe.elseEnd):(oe.tabstopId!=null||oe.changeCase!=null)&&ne.push(oe)}}return ne},ie.prototype.getDisplayTextForSnippet=function(G,Q){var W=U.call(this,G,Q);return W.text},ie.prototype.insertSnippetForSelection=function(G,Q,W){W===void 0&&(W={});var ne=U.call(this,G,Q,W),te=G.getSelectionRange();W.range&&W.range.compareRange(te)===0&&(te=W.range);var _e=G.session.replace(te,ne.text),he=new J(G),oe=G.inVirtualSelectionMode&&G.selection.index;he.addTabstops(ne.tabstops,te.start,_e,oe)},ie.prototype.insertSnippet=function(G,Q,W){W===void 0&&(W={});var ne=this;if(W.range&&!(W.range instanceof x)&&(W.range=x.fromPoints(W.range.start,W.range.end)),G.inVirtualSelectionMode)return ne.insertSnippetForSelection(G,Q,W);G.forEachSelection(function(){ne.insertSnippetForSelection(G,Q,W)},null,{keepOrder:!0}),G.tabstopManager&&G.tabstopManager.tabNext()},ie.prototype.$getScope=function(G){var Q=G.session.$mode.$id||"";if(Q=Q.split("/").pop(),Q==="html"||Q==="php"){Q==="php"&&!G.session.$mode.inlinePhp&&(Q="html");var W=G.getCursorPosition(),ne=G.session.getState(W.row);typeof ne=="object"&&(ne=ne[0]),ne.substring&&(ne.substring(0,3)=="js-"?Q="javascript":ne.substring(0,4)=="css-"?Q="css":ne.substring(0,4)=="php-"&&(Q="php"))}return Q},ie.prototype.getActiveScopes=function(G){var Q=this.$getScope(G),W=[Q],ne=this.snippetMap;return ne[Q]&&ne[Q].includeScopes&&W.push.apply(W,ne[Q].includeScopes),W.push("_"),W},ie.prototype.expandWithTab=function(G,Q){var W=this,ne=G.forEachSelection(function(){return W.expandSnippetForSelection(G,Q)},null,{keepOrder:!0});return ne&&G.tabstopManager&&G.tabstopManager.tabNext(),ne},ie.prototype.expandSnippetForSelection=function(G,Q){var W=G.getCursorPosition(),ne=G.session.getLine(W.row),te=ne.substring(0,W.column),_e=ne.substr(W.column),he=this.snippetMap,oe;return this.getActiveScopes(G).some(function(ge){var me=he[ge];return me&&(oe=this.findMatchingSnippet(me,te,_e)),!!oe},this),oe?(Q&&Q.dryRun||(G.session.doc.removeInLine(W.row,W.column-oe.replaceBefore.length,W.column+oe.replaceAfter.length),this.variables.M__=oe.matchBefore,this.variables.T__=oe.matchAfter,this.insertSnippetForSelection(G,oe.content),this.variables.M__=this.variables.T__=null),!0):!1},ie.prototype.findMatchingSnippet=function(G,Q,W){for(var ne=G.length;ne--;){var te=G[ne];if(!(te.startRe&&!te.startRe.test(Q))&&!(te.endRe&&!te.endRe.test(W))&&!(!te.startRe&&!te.endRe))return te.matchBefore=te.startRe?te.startRe.exec(Q):[""],te.matchAfter=te.endRe?te.endRe.exec(W):[""],te.replaceBefore=te.triggerRe?te.triggerRe.exec(Q)[0]:"",te.replaceAfter=te.endTriggerRe?te.endTriggerRe.exec(W)[0]:"",te}},ie.prototype.register=function(G,Q){function W(ge){return ge&&!/^\^?\(.*\)\$?$|^\\b$/.test(ge)&&(ge="(?:"+ge+")"),ge||""}function ne(ge,me,Z){return ge=W(ge),me=W(me),Z?(ge=me+ge,ge&&ge[ge.length-1]!="$"&&(ge+="$")):(ge+=me,ge&&ge[0]!="^"&&(ge="^"+ge)),new RegExp(ge)}function te(ge){ge.scope||(ge.scope=Q||"_"),Q=ge.scope,_e[Q]||(_e[Q]=[],he[Q]={});var me=he[Q];if(ge.name){var Z=me[ge.name];Z&&oe.unregister(Z),me[ge.name]=ge}_e[Q].push(ge),ge.prefix&&(ge.tabTrigger=ge.prefix),!ge.content&&ge.body&&(ge.content=Array.isArray(ge.body)?ge.body.join(`
`):ge.body),ge.tabTrigger&&!ge.trigger&&(!ge.guard&&/^\w/.test(ge.tabTrigger)&&(ge.guard="\\b"),ge.trigger=w.escapeRegExp(ge.tabTrigger)),!(!ge.trigger&&!ge.guard&&!ge.endTrigger&&!ge.endGuard)&&(ge.startRe=ne(ge.trigger,ge.guard,!0),ge.triggerRe=new RegExp(ge.trigger),ge.endRe=ne(ge.endTrigger,ge.endGuard,!0),ge.endTriggerRe=new RegExp(ge.endTrigger))}var _e=this.snippetMap,he=this.snippetNameMap,oe=this;G||(G=[]),Array.isArray(G)?G.forEach(te):Object.keys(G).forEach(function(ge){te(G[ge])}),this._signal("registerSnippets",{scope:Q})},ie.prototype.unregister=function(G,Q){function W(_e){var he=te[_e.scope||Q];if(he&&he[_e.name]){delete he[_e.name];var oe=ne[_e.scope||Q],ge=oe&&oe.indexOf(_e);ge>=0&&oe.splice(ge,1)}}var ne=this.snippetMap,te=this.snippetNameMap;G.content?W(G):Array.isArray(G)&&G.forEach(W)},ie.prototype.parseSnippetFile=function(G){G=G.replace(/\r/g,"");for(var Q=[],W={},ne=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm,te;te=ne.exec(G);){if(te[1])try{W=JSON.parse(te[1]),Q.push(W)}catch(ge){}if(te[4])W.content=te[4].replace(/^\t/gm,""),Q.push(W),W={};else{var _e=te[2],he=te[3];if(_e=="regex"){var oe=/\/((?:[^\/\\]|\\.)*)|$/g;W.guard=oe.exec(he)[1],W.trigger=oe.exec(he)[1],W.endTrigger=oe.exec(he)[1],W.endGuard=oe.exec(he)[1]}else _e=="snippet"?(W.tabTrigger=he.match(/^\S*/)[0],W.name||(W.name=he)):_e&&(W[_e]=he)}}return Q},ie.prototype.getSnippetByName=function(G,Q){var W=this.snippetNameMap,ne;return this.getActiveScopes(Q).some(function(te){var _e=W[te];return _e&&(ne=_e[G]),!!ne},this),ne},ie}();S.implement(B.prototype,y);var U=function(G,Q,W){function ne(Ue){for(var He=[],Ne=0;Ne<Ue.length;Ne++){var it=Ue[Ne];if(typeof it=="object"){if(Z[it.tabstopId])continue;var Xe=Ue.lastIndexOf(it,Ne-1);it=He[Xe]||{tabstopId:it.tabstopId}}He[Ne]=it}return He}W===void 0&&(W={});var te=G.getCursorPosition(),_e=G.session.getLine(te.row),he=G.session.getTabString(),oe=_e.match(/^\s*/)[0];te.column<oe.length&&(oe=oe.slice(0,te.column)),Q=Q.replace(/\r/g,"");var ge=this.tokenizeTmSnippet(Q);ge=this.resolveVariables(ge,G),ge=ge.map(function(Ue){return Ue==`
`&&!W.excludeExtraIndent?Ue+oe:typeof Ue=="string"?Ue.replace(/\t/g,he):Ue});var me=[];ge.forEach(function(Ue,He){if(typeof Ue=="object"){var Ne=Ue.tabstopId,it=me[Ne];if(it||(it=me[Ne]=[],it.index=Ne,it.value="",it.parents={}),it.indexOf(Ue)===-1){Ue.choices&&!it.choices&&(it.choices=Ue.choices),it.push(Ue);var Xe=ge.indexOf(Ue,He+1);if(Xe!==-1){var ht=ge.slice(He+1,Xe),lt=ht.some(function(Et){return typeof Et=="object"});lt&&!it.value?it.value=ht:ht.length&&(!it.value||typeof it.value!="string")&&(it.value=ht.join(""))}}}}),me.forEach(function(Ue){Ue.length=0});for(var Z={},xe=0;xe<ge.length;xe++){var Ee=ge[xe];if(typeof Ee=="object"){var Le=Ee.tabstopId,we=me[Le],fe=ge.indexOf(Ee,xe+1);if(Z[Le]){Z[Le]===Ee&&(delete Z[Le],Object.keys(Z).forEach(function(Ue){we.parents[Ue]=!0}));continue}Z[Le]=Ee;var pe=we.value;typeof pe!="string"?pe=ne(pe):Ee.fmt&&(pe=this.tmStrFormat(pe,Ee,G)),ge.splice.apply(ge,[xe+1,Math.max(0,fe-xe)].concat(pe,Ee)),we.indexOf(Ee)===-1&&we.push(Ee)}}var Ke=0,Me=0,ze="";return ge.forEach(function(Ue){if(typeof Ue=="string"){var He=Ue.split(`
`);He.length>1?(Me=He[He.length-1].length,Ke+=He.length-1):Me+=Ue.length,ze+=Ue}else Ue&&(Ue.start?Ue.end={row:Ke,column:Me}:Ue.start={row:Ke,column:Me})}),{text:ze,tabstops:me,tokens:ge}},J=function(){function ie(G){if(this.index=0,this.ranges=[],this.tabstops=[],G.tabstopManager)return G.tabstopManager;G.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=w.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(G)}return ie.prototype.attach=function(G){this.$openTabstops=null,this.selectedTabstop=null,this.editor=G,this.session=G.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},ie.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},ie.prototype.onChange=function(G){for(var Q=G.action[0]=="r",W=this.selectedTabstop||{},ne=W.parents||{},te=this.tabstops.slice(),_e=0;_e<te.length;_e++){var he=te[_e],oe=he==W||ne[he.index];if(he.rangeList.$bias=oe?0:1,G.action=="remove"&&he!==W){var ge=he.parents&&he.parents[W.index],me=he.rangeList.pointIndex(G.start,ge);me=me<0?-me-1:me+1;var Z=he.rangeList.pointIndex(G.end,ge);Z=Z<0?-Z-1:Z-1;for(var xe=he.rangeList.ranges.slice(me,Z),Ee=0;Ee<xe.length;Ee++)this.removeRange(xe[Ee])}he.rangeList.$onChange(G)}var Le=this.session;!this.$inChange&&Q&&Le.getLength()==1&&!Le.getValue()&&this.detach()},ie.prototype.updateLinkedFields=function(){var G=this.selectedTabstop;if(!(!G||!G.hasLinkedRanges||!G.firstNonLinked)){this.$inChange=!0;for(var Q=this.session,W=Q.getTextRange(G.firstNonLinked),ne=0;ne<G.length;ne++){var te=G[ne];if(!!te.linked){var _e=te.original,he=O.snippetManager.tmStrFormat(W,_e,this.editor);Q.replace(te,he)}}this.$inChange=!1}},ie.prototype.onAfterExec=function(G){G.command&&!G.command.readOnly&&this.updateLinkedFields()},ie.prototype.onChangeSelection=function(){if(!!this.editor){for(var G=this.editor.selection.lead,Q=this.editor.selection.anchor,W=this.editor.selection.isEmpty(),ne=0;ne<this.ranges.length;ne++)if(!this.ranges[ne].linked){var te=this.ranges[ne].contains(G.row,G.column),_e=W||this.ranges[ne].contains(Q.row,Q.column);if(te&&_e)return}this.detach()}},ie.prototype.onChangeSession=function(){this.detach()},ie.prototype.tabNext=function(G){var Q=this.tabstops.length,W=this.index+(G||1);W=Math.min(Math.max(W,1),Q),W==Q&&(W=0),this.selectTabstop(W),W===0&&this.detach()},ie.prototype.selectTabstop=function(G){this.$openTabstops=null;var Q=this.tabstops[this.index];if(Q&&this.addTabstopMarkers(Q),this.index=G,Q=this.tabstops[this.index],!(!Q||!Q.length)){this.selectedTabstop=Q;var W=Q.firstNonLinked||Q;if(Q.choices&&(W.cursor=W.start),this.editor.inVirtualSelectionMode)this.editor.selection.fromOrientedRange(W);else{var ne=this.editor.multiSelect;ne.toSingleRange(W);for(var te=0;te<Q.length;te++)Q.hasLinkedRanges&&Q[te].linked||ne.addRange(Q[te].clone(),!0)}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler),this.selectedTabstop&&this.selectedTabstop.choices&&this.editor.execCommand("startAutocomplete",{matches:this.selectedTabstop.choices})}},ie.prototype.addTabstops=function(G,Q,W){var ne=this.useLink||!this.editor.getOption("enableMultiselect");if(this.$openTabstops||(this.$openTabstops=[]),!G[0]){var te=x.fromPoints(W,W);X(te.start,Q),X(te.end,Q),G[0]=[te],G[0].index=0}var _e=this.index,he=[_e+1,0],oe=this.ranges;G.forEach(function(ge,me){for(var Z=this.$openTabstops[me]||ge,xe=0;xe<ge.length;xe++){var Ee=ge[xe],Le=x.fromPoints(Ee.start,Ee.end||Ee.start);$(Le.start,Q),$(Le.end,Q),Le.original=Ee,Le.tabstop=Z,oe.push(Le),Z!=ge?Z.unshift(Le):Z[xe]=Le,Ee.fmtString||Z.firstNonLinked&&ne?(Le.linked=!0,Z.hasLinkedRanges=!0):Z.firstNonLinked||(Z.firstNonLinked=Le)}Z.firstNonLinked||(Z.hasLinkedRanges=!1),Z===ge&&(he.push(Z),this.$openTabstops[me]=Z),this.addTabstopMarkers(Z),Z.rangeList=Z.rangeList||new T,Z.rangeList.$bias=0,Z.rangeList.addList(Z)},this),he.length>2&&(this.tabstops.length&&he.push(he.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,he))},ie.prototype.addTabstopMarkers=function(G){var Q=this.session;G.forEach(function(W){W.markerId||(W.markerId=Q.addMarker(W,"ace_snippet-marker","text"))})},ie.prototype.removeTabstopMarkers=function(G){var Q=this.session;G.forEach(function(W){Q.removeMarker(W.markerId),W.markerId=null})},ie.prototype.removeRange=function(G){var Q=G.tabstop.indexOf(G);Q!=-1&&G.tabstop.splice(Q,1),Q=this.ranges.indexOf(G),Q!=-1&&this.ranges.splice(Q,1),Q=G.tabstop.rangeList.ranges.indexOf(G),Q!=-1&&G.tabstop.splice(Q,1),this.session.removeMarker(G.markerId),G.tabstop.length||(Q=this.tabstops.indexOf(G.tabstop),Q!=-1&&this.tabstops.splice(Q,1),this.tabstops.length||this.detach())},ie}();J.prototype.keyboardHandler=new j,J.prototype.keyboardHandler.bindKeys({Tab:function(G){O.snippetManager&&O.snippetManager.expandWithTab(G)||(G.tabstopManager.tabNext(1),G.renderer.scrollCursorIntoView())},"Shift-Tab":function(G){G.tabstopManager.tabNext(-1),G.renderer.scrollCursorIntoView()},Esc:function(G){G.tabstopManager.detach()}});var $=function(G,Q){G.row==0&&(G.column+=Q.column),G.row+=Q.row},X=function(G,Q){G.row==Q.row&&(G.column-=Q.column),G.row-=Q.row};A.importCssString(`
.ace_snippet-marker {
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(194, 193, 208, 0.09);
border: 1px dotted rgba(211, 208, 235, 0.62);
position: absolute;
}`,"snippets.css",!1),O.snippetManager=new B;var ee=m("./editor").Editor;(function(){this.insertSnippet=function(ie,G){return O.snippetManager.insertSnippet(this,ie,G)},this.expandSnippet=function(ie){return O.snippetManager.expandWithTab(this,ie)}}).call(ee.prototype)}),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config"],function(m,O,C){"use strict";var k=m("../virtual_renderer").VirtualRenderer,A=m("../editor").Editor,S=m("../range").Range,y=m("../lib/event"),w=m("../lib/lang"),x=m("../lib/dom"),T=m("../config").nls,j=function(B){return"suggest-aria-id:".concat(B)},D=function(B){var U=new k(B);U.$maxLines=4;var J=new A(U);return J.setHighlightActiveLine(!1),J.setShowPrintMargin(!1),J.renderer.setShowGutter(!1),J.renderer.setHighlightGutterLine(!1),J.$mouseHandler.$focusTimeout=0,J.$highlightTagPending=!0,J},N=function(){function F(B){var U=x.createElement("div"),J=new D(U);B&&B.appendChild(U),U.style.display="none",J.renderer.content.style.cursor="default",J.renderer.setStyle("ace_autocomplete"),J.renderer.$textLayer.element.setAttribute("role","listbox"),J.renderer.$textLayer.element.setAttribute("aria-label",T("Autocomplete suggestions")),J.renderer.textarea.setAttribute("aria-hidden","true"),J.setOption("displayIndentGuides",!1),J.setOption("dragDelay",150);var $=function(){};J.focus=$,J.$isFocused=!0,J.renderer.$cursorLayer.restartTimer=$,J.renderer.$cursorLayer.element.style.opacity=0,J.renderer.$maxLines=8,J.renderer.$keepTextAreaAtCursor=!1,J.setHighlightActiveLine(!1),J.session.highlight(""),J.session.$searchHighlight.clazz="ace_highlight-marker",J.on("mousedown",function(ne){var te=ne.getDocumentPosition();J.selection.moveToPosition(te),ie.start.row=ie.end.row=te.row,ne.stop()});var X,ee=new S(-1,0,-1,Infinity),ie=new S(-1,0,-1,Infinity);ie.id=J.session.addMarker(ie,"ace_active-line","fullLine"),J.setSelectOnHover=function(ne){ne?ee.id&&(J.session.removeMarker(ee.id),ee.id=null):ee.id=J.session.addMarker(ee,"ace_line-hover","fullLine")},J.setSelectOnHover(!1),J.on("mousemove",function(ne){if(!X){X=ne;return}if(!(X.x==ne.x&&X.y==ne.y)){X=ne,X.scrollTop=J.renderer.scrollTop;var te=X.getDocumentPosition().row;ee.start.row!=te&&(ee.id||J.setRow(te),Q(te))}}),J.renderer.on("beforeRender",function(){if(X&&ee.start.row!=-1){X.$pos=null;var ne=X.getDocumentPosition().row;ee.id||J.setRow(ne),Q(ne,!0)}}),J.renderer.on("afterRender",function(){var ne=J.getRow(),te=J.renderer.$textLayer,_e=te.element.childNodes[ne-te.config.firstRow],he=document.activeElement;if(_e!==te.selectedNode&&te.selectedNode&&(x.removeCssClass(te.selectedNode,"ace_selected"),he.removeAttribute("aria-activedescendant"),te.selectedNode.removeAttribute("id")),te.selectedNode=_e,_e){x.addCssClass(_e,"ace_selected");var oe=j(ne);_e.id=oe,te.element.setAttribute("aria-activedescendant",oe),he.setAttribute("aria-activedescendant",oe),_e.setAttribute("role","option"),_e.setAttribute("aria-label",J.getData(ne).value),_e.setAttribute("aria-setsize",J.data.length),_e.setAttribute("aria-posinset",ne+1),_e.setAttribute("aria-describedby","doc-tooltip")}});var G=function(){Q(-1)},Q=function(te,_e){te!==ee.start.row&&(ee.start.row=ee.end.row=te,_e||J.session._emit("changeBackMarker"),J._emit("changeHoverMarker"))};J.getHoveredRow=function(){return ee.start.row},y.addListener(J.container,"mouseout",G),J.on("hide",G),J.on("changeSelection",G),J.session.doc.getLength=function(){return J.data.length},J.session.doc.getLine=function(ne){var te=J.data[ne];return typeof te=="string"?te:te&&te.value||""};var W=J.session.bgTokenizer;return W.$tokenizeRow=function(ne){function te(fe,pe){fe&&he.push({type:(_e.className||"")+(pe||""),value:fe})}var _e=J.data[ne],he=[];if(!_e)return he;typeof _e=="string"&&(_e={value:_e});for(var oe=_e.caption||_e.value||_e.name,ge=oe.toLowerCase(),me=(J.filterText||"").toLowerCase(),Z=0,xe=0,Ee=0;Ee<=me.length;Ee++)if(Ee!=xe&&(_e.matchMask&1<<Ee||Ee==me.length)){var Le=me.slice(xe,Ee);xe=Ee;var we=ge.indexOf(Le,Z);if(we==-1)continue;te(oe.slice(Z,we),""),Z=we+Le.length,te(oe.slice(we,Z),"completion-highlight")}return te(oe.slice(Z,oe.length),""),he.push({type:"completion-spacer",value:" "}),_e.meta&&he.push({type:"completion-meta",value:_e.meta}),_e.message&&he.push({type:"completion-message",value:_e.message}),he},W.$updateOnChange=$,W.start=$,J.session.$computeWidth=function(){return this.screenWidth=0},J.isOpen=!1,J.isTopdown=!1,J.autoSelect=!0,J.filterText="",J.data=[],J.setData=function(ne,te){J.filterText=te||"",J.setValue(w.stringRepeat(`
`,ne.length),-1),J.data=ne||[],J.setRow(0)},J.getData=function(ne){return J.data[ne]},J.getRow=function(){return ie.start.row},J.setRow=function(ne){ne=Math.max(this.autoSelect?0:-1,Math.min(this.data.length-1,ne)),ie.start.row!=ne&&(J.selection.clearSelection(),ie.start.row=ie.end.row=ne||0,J.session._emit("changeBackMarker"),J.moveCursorTo(ne||0,0),J.isOpen&&J._signal("select"))},J.on("changeSelection",function(){J.isOpen&&J.setRow(J.selection.lead.row),J.renderer.scrollCursorIntoView()}),J.hide=function(){this.container.style.display="none",J.anchorPos=null,J.anchor=null,J.isOpen&&(J.isOpen=!1,this._signal("hide"))},J.tryShow=function(ne,te,_e,he){if(!he&&J.isOpen&&J.anchorPos&&J.anchor&&J.anchorPos.top===ne.top&&J.anchorPos.left===ne.left&&J.anchor===_e)return!0;var oe=this.container,ge=window.innerHeight,me=window.innerWidth,Z=this.renderer,xe=Z.$maxLines*te*1.4,Ee={top:0,bottom:0,left:0},Le=ge-ne.top-3*this.$borderSize-te,we=ne.top-3*this.$borderSize;_e||(we<=Le||Le>=xe?_e="bottom":_e="top"),_e==="top"?(Ee.bottom=ne.top-this.$borderSize,Ee.top=Ee.bottom-xe):_e==="bottom"&&(Ee.top=ne.top+te+this.$borderSize,Ee.bottom=Ee.top+xe);var fe=Ee.top>=0&&Ee.bottom<=ge;if(!he&&!fe)return!1;fe?Z.$maxPixelHeight=null:_e==="top"?Z.$maxPixelHeight=we:Z.$maxPixelHeight=Le,_e==="top"?(oe.style.top="",oe.style.bottom=ge-Ee.bottom+"px",J.isTopdown=!1):(oe.style.top=Ee.top+"px",oe.style.bottom="",J.isTopdown=!0),oe.style.display="";var pe=ne.left;return pe+oe.offsetWidth>me&&(pe=me-oe.offsetWidth),oe.style.left=pe+"px",oe.style.right="",J.isOpen||(J.isOpen=!0,this._signal("show"),X=null),J.anchorPos=ne,J.anchor=_e,!0},J.show=function(ne,te,_e){this.tryShow(ne,te,_e?"bottom":void 0,!0)},J.goTo=function(ne){var te=this.getRow(),_e=this.session.getLength()-1;switch(ne){case"up":te=te<=0?_e:te-1;break;case"down":te=te>=_e?-1:te+1;break;case"start":te=0;break;case"end":te=_e}this.setRow(te)},J.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},J.$imageSize=0,J.$borderSize=1,J}return F}();x.importCssString(`
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
background-color: #CAD6FA;
z-index: 1;
}
.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
background-color: #3a674e;
}
.ace_editor.ace_autocomplete .ace_line-hover {
border: 1px solid #abbffe;
margin-top: -1px;
background: rgba(233,233,253,0.4);
position: absolute;
z-index: 2;
}
.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {
border: 1px solid rgba(109, 150, 13, 0.8);
background: rgba(58, 103, 78, 0.62);
}
.ace_completion-meta {
opacity: 0.5;
margin-left: 0.9em;
}
.ace_completion-message {
color: blue;
}
.ace_editor.ace_autocomplete .ace_completion-highlight{
color: #2d69c7;
}
.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{
color: #93ca12;
}
.ace_editor.ace_autocomplete {
width: 300px;
z-index: 200000;
border: 1px lightgray solid;
position: fixed;
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
line-height: 1.4;
background: #fefefe;
color: #111;
}
.ace_dark.ace_editor.ace_autocomplete {
border: 1px #484747 solid;
box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);
line-height: 1.4;
background: #25282c;
color: #c1c1c1;
}
.ace_autocomplete .ace_text-layer {
width: calc(100% - 8px);
}
.ace_autocomplete .ace_line {
display: flex;
align-items: center;
}
.ace_autocomplete .ace_line > * {
min-width: 0;
flex: 0 0 auto;
}
.ace_autocomplete .ace_line .ace_ {
flex: 0 1 auto;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ace_autocomplete .ace_completion-spacer {
flex: 1;
}
`,"autocompletion.css",!1),O.AcePopup=N,O.$singleLineEditor=D,O.getAriaId=j}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets"],function(m,O,C){"use strict";var k=m("../snippets").snippetManager,A=function(){function S(){this.editor=null}return S.prototype.show=function(y,w,x){if(x=x||"",y&&this.editor&&this.editor!==y&&(this.hide(),this.editor=null),!y||!w)return!1;var T=w.snippet?k.getDisplayTextForSnippet(y,w.snippet):w.value;return!T||!T.startsWith(x)?!1:(this.editor=y,T=T.slice(x.length),T===""?y.removeGhostText():y.setGhostText(T),!0)},S.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},S.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},S.prototype.destroy=function(){this.hide(),this.editor=null},S}();O.AceInline=A}),ace.define("ace/autocomplete/util",["require","exports","module"],function(m,O,C){"use strict";O.parForEach=function(A,S,y){var w=0,x=A.length;x===0&&y();for(var T=0;T<x;T++)S(A[T],function(j,D){w++,w===x&&y(j,D)})};var k=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;O.retrievePrecedingIdentifier=function(A,S,y){y=y||k;for(var w=[],x=S-1;x>=0&&y.test(A[x]);x--)w.push(A[x]);return w.reverse().join("")},O.retrieveFollowingIdentifier=function(A,S,y){y=y||k;for(var w=[],x=S;x<A.length&&y.test(A[x]);x++)w.push(A[x]);return w},O.getCompletionPrefix=function(A){var S=A.getCursorPosition(),y=A.session.getLine(S.row),w;return A.completers.forEach(function(x){x.identifierRegexps&&x.identifierRegexps.forEach(function(T){!w&&T&&(w=this.retrievePrecedingIdentifier(y,S.column,T))}.bind(this))}.bind(this)),w||this.retrievePrecedingIdentifier(y,S.column)},O.triggerAutocomplete=function(A){var S=A.getCursorPosition(),y=A.session.getLine(S.row),w=S.column===0?0:S.column-1,x=y[w];return A.completers.some(function(T){if(T.triggerCharacters&&Array.isArray(T.triggerCharacters))return T.triggerCharacters.includes(x)})}}),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/inline","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/lang","ace/lib/dom","ace/snippets","ace/config"],function(m,O,C){"use strict";var k=m("./keyboard/hash_handler").HashHandler,A=m("./autocomplete/popup").AcePopup,S=m("./autocomplete/inline").AceInline,y=m("./autocomplete/popup").getAriaId,w=m("./autocomplete/util"),x=m("./lib/lang"),T=m("./lib/dom"),j=m("./snippets").snippetManager,D=m("./config"),N=function($,X){X.completer&&X.completer.destroy()},F=function(){function J(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new k,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=x.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=x.delayedCall(this.updateDocTooltip.bind(this),50)}return J.prototype.$init=function(){return this.popup=new A(this.parentNode||document.body||document.documentElement),this.popup.on("click",function($){this.insertMatch(),$.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.$onPopupChange.bind(this)),this.popup.on("hide",this.$onHidePopup.bind(this)),this.popup.on("select",this.$onPopupChange.bind(this)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup},J.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new S,this.inlineRenderer},J.prototype.getPopup=function(){return this.popup||this.$init()},J.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip()},J.prototype.$onPopupChange=function($){if(this.inlineRenderer&&this.inlineEnabled){var X=$?null:this.popup.getData(this.popup.getRow()),ee=w.getCompletionPrefix(this.editor);this.inlineRenderer.show(this.editor,X,ee)||this.inlineRenderer.hide(),this.$updatePopupPosition()}this.tooltipTimer.call(null,null)},J.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var $=this.editor.container.parentNode,X=[];$;)X.push($),$.addEventListener("scroll",this.onLayoutChange,{passive:!0}),$=$.parentNode;this.$elements=X}},J.prototype.unObserveLayoutChanges=function(){var $=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(X){X.removeEventListener("scroll",$.onLayoutChange,{passive:!0})}),this.$elements=null},J.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},J.prototype.$updatePopupPosition=function(){var $=this.editor,X=$.renderer,ee=X.layerConfig.lineHeight,ie=X.$cursorLayer.getPixelPosition(this.base,!0);ie.left-=this.popup.getTextLeftOffset();var G=$.container.getBoundingClientRect();ie.top+=G.top-X.layerConfig.offset,ie.left+=G.left-$.renderer.scrollLeft,ie.left+=X.gutterWidth;var Q={top:ie.top,left:ie.left};X.$ghostText&&X.$ghostTextWidget&&this.base.row===X.$ghostText.position.row&&(Q.top+=X.$ghostTextWidget.el.offsetHeight),!this.popup.tryShow(Q,ee,"bottom")&&(this.popup.tryShow(ie,ee,"top")||this.popup.show(ie,ee))},J.prototype.openPopup=function($,X,ee){this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:y(this.popup.getRow()),inline:this.inlineEnabled}),$.keyBinding.addKeyboardHandler(this.keyboardHandler),this.popup.setRow(this.autoSelect?0:-1),ee?ee&&!X&&this.detach():(this.popup.setTheme($.getTheme()),this.popup.setFontSize($.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},J.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},J.prototype.changeListener=function($){var X=this.editor.selection.lead;(X.row!=this.base.row||X.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},J.prototype.blurListener=function($){var X=document.activeElement,ee=this.editor.textInput.getElement(),ie=$.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains($.relatedTarget),G=this.popup&&this.popup.container;X!=ee&&X.parentNode!=G&&!ie&&X!=this.tooltipNode&&$.relatedTarget!=ee&&this.detach()},J.prototype.mousedownListener=function($){this.detach()},J.prototype.mousewheelListener=function($){this.detach()},J.prototype.goTo=function($){this.popup.goTo($)},J.prototype.insertMatch=function($,X){if($||($=this.popup.getData(this.popup.getRow())),!$)return!1;if($.value==="")return this.detach();var ee=this.completions,ie=this.getCompletionProvider().insertMatch(this.editor,$,ee.filterText,X);return this.completions==ee&&this.detach(),ie},J.prototype.showPopup=function($,X){this.editor&&this.detach(),this.activated=!0,this.editor=$,$.completer!=this&&($.completer&&$.completer.detach(),$.completer=this),$.on("changeSelection",this.changeListener),$.on("blur",this.blurListener),$.on("mousedown",this.mousedownListener),$.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,X)},J.prototype.getCompletionProvider=function(){return this.completionProvider||(this.completionProvider=new B),this.completionProvider},J.prototype.gatherCompletions=function($,X){return this.getCompletionProvider().gatherCompletions($,X)},J.prototype.updateCompletions=function($,X){if($&&this.base&&this.completions){var ie=this.editor.getCursorPosition(),G=this.editor.session.getTextRange({start:this.base,end:ie});if(G==this.completions.filterText)return;if(this.completions.setFilter(G),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==G&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,G,$);return}if(X&&X.matches){var ie=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(ie.row,ie.column),this.base.$insertRight=!0,this.completions=new U(X.matches),this.openPopup(this.editor,"",$)}var ee=this.editor.getSession(),ie=this.editor.getCursorPosition(),G=w.getCompletionPrefix(this.editor);this.base=ee.doc.createAnchor(ie.row,ie.column-G.length),this.base.$insertRight=!0;var Q={exactMatch:this.exactMatch};this.getCompletionProvider().provideCompletions(this.editor,Q,function(W,ne,te){var _e=ne.filtered,he=w.getCompletionPrefix(this.editor);if(te){if(!_e.length){var oe=!this.autoShown&&this.emptyMessage;if(typeof oe=="function"&&(oe=this.emptyMessage(he)),oe){var ge=[{caption:this.emptyMessage(he),value:""}];this.completions=new U(ge),this.openPopup(this.editor,he,$);return}return this.detach()}if(_e.length==1&&_e[0].value==he&&!_e[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&_e.length==1)return this.insertMatch(_e[0])}this.completions=ne,this.openPopup(this.editor,he,$)}.bind(this))},J.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},J.prototype.updateDocTooltip=function(){var $=this.popup,X=$.data,ee=X&&(X[$.getHoveredRow()]||X[$.getRow()]),ie=null;if(!ee||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var G=this.editor.completers.length,Q=0;Q<G;Q++){var W=this.editor.completers[Q];if(W.getDocTooltip&&ee.completerId===W.id){ie=W.getDocTooltip(ee);break}}if(!ie&&typeof ee!="string"&&(ie=ee),typeof ie=="string"&&(ie={docText:ie}),!ie||!ie.docHTML&&!ie.docText)return this.hideDocTooltip();this.showDocTooltip(ie)},J.prototype.showDocTooltip=function($){this.tooltipNode||(this.tooltipNode=T.createElement("div"),this.tooltipNode.style.margin=0,this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id="doc-tooltip",this.tooltipNode.setAttribute("role","tooltip"));var X=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(X.isDark?"ace_dark ":"")+(X.cssClass||"");var ee=this.tooltipNode;$.docHTML?ee.innerHTML=$.docHTML:$.docText&&(ee.textContent=$.docText),ee.parentNode||this.popup.container.appendChild(this.tooltipNode);var ie=this.popup,G=ie.container.getBoundingClientRect();ee.style.top=ie.container.style.top,ee.style.bottom=ie.container.style.bottom,ee.style.display="block",window.innerWidth-G.right<320?G.left<320?ie.isTopdown?(ee.style.top=G.bottom+"px",ee.style.left=G.left+"px",ee.style.right="",ee.style.bottom=""):(ee.style.top=ie.container.offsetTop-ee.offsetHeight+"px",ee.style.left=G.left+"px",ee.style.right="",ee.style.bottom=""):(ee.style.right=window.innerWidth-G.left+"px",ee.style.left=""):(ee.style.left=G.right+1+"px",ee.style.right="")},J.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var $=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==$&&this.editor.focus(),this.tooltipNode=null,$.parentNode&&$.parentNode.removeChild($)}},J.prototype.onTooltipClick=function($){for(var X=$.target;X&&X!=this.tooltipNode;){if(X.nodeName=="A"&&X.href){X.rel="noreferrer",X.target="_blank";break}X=X.parentNode}},J.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var $=this.popup.container;$&&$.parentNode&&$.parentNode.removeChild($)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",N),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},J}();F.prototype.commands={Up:function($){$.completer.goTo("up")},Down:function($){$.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function($){$.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function($){$.completer.goTo("end")},Esc:function($){$.completer.detach()},Return:function($){return $.completer.insertMatch()},"Shift-Return":function($){$.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function($){var X=$.completer.insertMatch();if(!!X||!!$.tabstopManager)return X;$.completer.goTo("down")},PageUp:function($){$.completer.popup.gotoPageUp()},PageDown:function($){$.completer.popup.gotoPageDown()}},F.for=function(J){return J.completer instanceof F||(J.completer&&(J.completer.destroy(),J.completer=null),D.get("sharedPopups")?(F.$sharedInstance||(F.$sharedInstance=new F),J.completer=F.$sharedInstance):(J.completer=new F,J.once("destroy",N))),J.completer},F.startCommand={name:"startAutocomplete",exec:function($,X){var ee=F.for($);ee.autoInsert=!1,ee.autoSelect=!0,ee.autoShown=!1,ee.showPopup($,X),ee.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var B=function(){function J(){this.active=!0}return J.prototype.insertByIndex=function($,X,ee){return!this.completions||!this.completions.filtered?!1:this.insertMatch($,this.completions.filtered[X],ee)},J.prototype.insertMatch=function($,X,ee){if(!X)return!1;if($.startOperation({command:{name:"insertMatch"}}),X.completer&&X.completer.insertMatch)X.completer.insertMatch($,X);else{if(!this.completions)return!1;if(this.completions.filterText){var ie;$.selection.getAllRanges?ie=$.selection.getAllRanges():ie=[$.getSelectionRange()];for(var G=0,Q;Q=ie[G];G++)Q.start.column-=this.completions.filterText.length,$.session.remove(Q)}X.snippet?j.insertSnippet($,X.snippet,{range:X.range}):this.$insertString($,X),X.command&&X.command==="startAutocomplete"&&$.execCommand(X.command)}return $.endOperation(),!0},J.prototype.$insertString=function($,X){var ee=X.value||X;if(X.range){if($.inVirtualSelectionMode)return $.session.replace(X.range,ee);$.forEachSelection(function(){var ie=$.getSelectionRange();X.range.compareRange(ie)===0?$.session.replace(X.range,ee):$.insert(ee)},null,{keepOrder:!0})}else $.execCommand("insertstring",ee)},J.prototype.gatherCompletions=function($,X){var ee=$.getSession(),ie=$.getCursorPosition(),G=w.getCompletionPrefix($),Q=[];this.completers=$.completers;var W=$.completers.length;return $.completers.forEach(function(ne,te){ne.getCompletions($,ee,ie,G,function(_e,he){!_e&&he&&(Q=Q.concat(he)),X(null,{prefix:w.getCompletionPrefix($),matches:Q,finished:--W==0})})}),!0},J.prototype.provideCompletions=function($,X,ee){var ie=function(ne){var te=ne.prefix,_e=ne.matches;this.completions=new U(_e),X.exactMatch&&(this.completions.exactMatch=!0),X.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(te),(ne.finished||this.completions.filtered.length)&&ee(null,this.completions,ne.finished)}.bind(this),G=!0,Q=null;if(this.gatherCompletions($,function(ne,te){if(!!this.active){ne&&(ee(ne,[],!0),this.detach());var _e=te.prefix;if(_e.indexOf(te.prefix)===0){if(G){Q=te;return}ie(te)}}}.bind(this)),G=!1,Q){var W=Q;Q=null,ie(W)}},J.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function($){typeof $.cancel=="function"&&$.cancel()})},J}(),U=function(){function J($,X){this.all=$,this.filtered=$,this.filterText=X||"",this.exactMatch=!1,this.ignoreCaption=!1}return J.prototype.setFilter=function($){if($.length>this.filterText&&$.lastIndexOf(this.filterText,0)===0)var X=this.filtered;else var X=this.all;this.filterText=$,X=this.filterCompletions(X,this.filterText),X=X.sort(function(ie,G){return G.exactMatch-ie.exactMatch||G.$score-ie.$score||(ie.caption||ie.value).localeCompare(G.caption||G.value)});var ee=null;X=X.filter(function(ie){var G=ie.snippet||ie.caption||ie.value;return G===ee?!1:(ee=G,!0)}),this.filtered=X},J.prototype.filterCompletions=function($,X){var ee=[],ie=X.toUpperCase(),G=X.toLowerCase();e:for(var Q=0,W;W=$[Q];Q++){var ne=!this.ignoreCaption&&W.caption||W.value||W.snippet;if(!!ne){var te=-1,_e=0,he=0,oe,ge;if(this.exactMatch){if(X!==ne.substr(0,X.length))continue e}else{var me=ne.toLowerCase().indexOf(G);if(me>-1)he=me;else for(var Z=0;Z<X.length;Z++){var xe=ne.indexOf(G[Z],te+1),Ee=ne.indexOf(ie[Z],te+1);if(oe=xe>=0&&(Ee<0||xe<Ee)?xe:Ee,oe<0)continue e;ge=oe-te-1,ge>0&&(te===-1&&(he+=10),he+=ge,_e|=1<<Z),te=oe}}W.matchMask=_e,W.exactMatch=he?0:1,W.$score=(W.score||0)-he,ee.push(W)}}return ee},J}();O.Autocomplete=F,O.CompletionProvider=B,O.FilteredList=U}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(m,O,C){function k(w,x){var T=w.getTextRange(S.fromPoints({row:0,column:0},x));return T.split(y).length-1}function A(w,x){var T=k(w,x),j=w.getValue().split(y),D=Object.create(null),N=j[T];return j.forEach(function(F,B){if(!(!F||F===N)){var U=Math.abs(T-B),J=j.length-U;D[F]?D[F]=Math.max(J,D[F]):D[F]=J}}),D}var S=m("../range").Range,y=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;O.getCompletions=function(w,x,T,j,D){var N=A(x,T),F=Object.keys(N);D(null,F.map(function(B){return{caption:B,value:B,score:N[B],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/autocomplete/text_completer","ace/editor","ace/config"],function(m,O,C){"use strict";var k=m("../snippets").snippetManager,A=m("../autocomplete").Autocomplete,S=m("../config"),y=m("../lib/lang"),w=m("../autocomplete/util"),x=m("../autocomplete/text_completer"),T={getCompletions:function(W,ne,te,_e,he){if(ne.$mode.completer)return ne.$mode.completer.getCompletions(W,ne,te,_e,he);var oe=W.session.getState(te.row),ge=ne.$mode.getCompletions(oe,ne,te,_e);ge=ge.map(function(me){return me.completerId=T.id,me}),he(null,ge)},id:"keywordCompleter"},j=function(W){var ne={};return W.replace(/\${(\d+)(:(.*?))?}/g,function(te,_e,he,oe){return ne[_e]=oe||""}).replace(/\$(\d+?)/g,function(te,_e){return ne[_e]})},D={getCompletions:function(W,ne,te,_e,he){var oe=[],ge=ne.getTokenAt(te.row,te.column);ge&&ge.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?oe.push("html-tag"):oe=k.getActiveScopes(W);var me=k.snippetMap,Z=[];oe.forEach(function(xe){for(var Ee=me[xe]||[],Le=Ee.length;Le--;){var we=Ee[Le],fe=we.name||we.tabTrigger;!fe||Z.push({caption:fe,snippet:we.content,meta:we.tabTrigger&&!we.name?we.tabTrigger+"\u21E5 ":"snippet",completerId:D.id})}},this),he(null,Z)},getDocTooltip:function(W){W.snippet&&!W.docHTML&&(W.docHTML=["<b>",y.escapeHTML(W.caption),"</b>","<hr></hr>",y.escapeHTML(j(W.snippet))].join(""))},id:"snippetCompleter"},N=[D,x,T];O.setCompleters=function(Q){N.length=0,Q&&N.push.apply(N,Q)},O.addCompleter=function(Q){N.push(Q)},O.textCompleter=x,O.keyWordCompleter=T,O.snippetCompleter=D;var F={name:"expandSnippet",exec:function(W){return k.expandWithTab(W)},bindKey:"Tab"},B=function(W,ne){U(ne.session.$mode)},U=function Q(W){typeof W=="string"&&(W=S.$modes[W]),!!W&&(k.files||(k.files={}),J(W.$id,W.snippetFileId),W.modes&&W.modes.forEach(Q))},J=function(W,ne){!ne||!W||k.files[W]||(k.files[W]={},S.loadModule(ne,function(te){!te||(k.files[W]=te,!te.snippets&&te.snippetText&&(te.snippets=k.parseSnippetFile(te.snippetText)),k.register(te.snippets||[],te.scope),te.includeScopes&&(k.snippetMap[te.scope].includeScopes=te.includeScopes,te.includeScopes.forEach(function(_e){U("ace/mode/"+_e)})))}))},$=function(W){var ne=W.editor,te=ne.completer&&ne.completer.activated;if(W.command.name==="backspace")te&&!w.getCompletionPrefix(ne)&&ne.completer.detach();else if(W.command.name==="insertstring"&&!te){X=W;var _e=W.editor.$liveAutocompletionDelay;_e?ee.delay(_e):ie(W)}},X,ee=y.delayedCall(function(){ie(X)},0),ie=function(W){var ne=W.editor,te=w.getCompletionPrefix(ne),_e=w.triggerAutocomplete(ne);if((te||_e)&&te.length>=ne.$liveAutocompletionThreshold){var he=A.for(ne);he.autoShown=!0,he.showPopup(ne)}},G=m("../editor").Editor;m("../config").defineOptions(G.prototype,"editor",{enableBasicAutocompletion:{set:function(W){W?(this.completers||(this.completers=Array.isArray(W)?W:N),this.commands.addCommand(A.startCommand)):this.commands.removeCommand(A.startCommand)},value:!1},enableLiveAutocompletion:{set:function(W){W?(this.completers||(this.completers=Array.isArray(W)?W:N),this.commands.on("afterExec",$)):this.commands.off("afterExec",$)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(W){W?(this.commands.addCommand(F),this.on("changeMode",B),B(null,this)):(this.commands.removeCommand(F),this.off("changeMode",B))},value:!1}})}),function(){ace.require(["ace/ext/language_tools"],function(m){E&&(E.exports=m)})}()}).call(this,l("hOG+")(ce))},A8aI:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(k,A){for(var S=1540483477,y=24,w=A^k.length,x=k.length,T=0;x>=4;){var j=m(k,T);j=C(j,S),j^=j>>>y,j=C(j,S),w=C(w,S),w^=j,T+=4,x-=4}switch(x){case 3:w^=O(k,T),w^=k.charCodeAt(T+2)<<16,w=C(w,S);break;case 2:w^=O(k,T),w=C(w,S);break;case 1:w^=k.charCodeAt(T),w=C(w,S);break}return w^=w>>>13,w=C(w,S),w^=w>>>15,w>>>0}function m(k,A){return k.charCodeAt(A++)+(k.charCodeAt(A++)<<8)+(k.charCodeAt(A++)<<16)+(k.charCodeAt(A)<<24)}function O(k,A){return k.charCodeAt(A++)+(k.charCodeAt(A++)<<8)}function C(k,A){k=k|0,A=A|0;var S=k&65535,y=k>>>16,w=S*A+((y*A&65535)<<16)|0;return w}},A90E:function(ce,R,l){var E=l("6sVZ"),m=l("V6Ve"),O=Object.prototype,C=O.hasOwnProperty;function k(A){if(!E(A))return m(A);var S=[];for(var y in Object(A))C.call(A,y)&&y!="constructor"&&S.push(y);return S}ce.exports=k},A9H8:function(ce,R,l){var E=l("MMxC"),m=l("IuhT"),O=l("arQb");E({target:"Object",stat:!0},{fromEntries:function(k){var A={};return m(k,function(S,y){O(A,S,y)},void 0,!0),A}})},ACnJ:function(ce,R,l){"use strict";l.d(R,"b",function(){return O});var E=l("rePB"),m=l("wx14"),O=["xxl","xl","lg","md","sm","xs"],C={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},k=new Map,A=-1,S={},y={matchHandlers:{},dispatch:function(x){return S=x,k.forEach(function(T){return T(S)}),k.size>=1},subscribe:function(x){return k.size||this.register(),A+=1,k.set(A,x),x(S),A},unsubscribe:function(x){k.delete(x),k.size||this.unregister()},unregister:function(){var x=this;Object.keys(C).forEach(function(T){var j=C[T],D=x.matchHandlers[j];D==null||D.mql.removeListener(D==null?void 0:D.listener)}),k.clear()},register:function(){var x=this;Object.keys(C).forEach(function(T){var j=C[T],D=function(B){var U=B.matches;x.dispatch(Object(m.a)(Object(m.a)({},S),Object(E.a)({},T,U)))},N=window.matchMedia(j);N.addListener(D),x.matchHandlers[j]={mql:N,listener:D},D(N)})}};R.a=y},AGcU:function(ce,R,l){var E=l("MMxC"),m=l("jdp+");E({target:"Math",stat:!0},{fround:m})},AM7I:function(ce,R,l){"use strict";var E,m=SyntaxError,O=Function,C=TypeError,k=function(oe){try{return O('"use strict"; return ('+oe+").constructor;")()}catch(ge){}},A=Object.getOwnPropertyDescriptor;if(A)try{A({},"")}catch(he){A=null}var S=function(){throw new C},y=A?function(){try{return arguments.callee,S}catch(he){try{return A(arguments,"callee").get}catch(oe){return S}}}():S,w=l("UVaH")(),x=l("CjYj")(),T=Object.getPrototypeOf||(x?function(he){return he.__proto__}:null),j={},D=typeof Uint8Array=="undefined"||!T?E:T(Uint8Array),N={"%AggregateError%":typeof AggregateError=="undefined"?E:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?E:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):E,"%AsyncFromSyncIteratorPrototype%":E,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics=="undefined"?E:Atomics,"%BigInt%":typeof BigInt=="undefined"?E:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?E:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?E:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?E:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?E:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?E:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?E:FinalizationRegistry,"%Function%":O,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array=="undefined"?E:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?E:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?E:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):E,"%JSON%":typeof JSON=="object"?JSON:E,"%Map%":typeof Map=="undefined"?E:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!w||!T?E:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?E:Promise,"%Proxy%":typeof Proxy=="undefined"?E:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?E:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?E:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!w||!T?E:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?E:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(""[Symbol.iterator]()):E,"%Symbol%":w?Symbol:E,"%SyntaxError%":m,"%ThrowTypeError%":y,"%TypedArray%":D,"%TypeError%":C,"%Uint8Array%":typeof Uint8Array=="undefined"?E:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?E:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?E:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?E:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?E:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?E:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?E:WeakSet};if(T)try{null.error}catch(he){var F=T(T(he));N["%Error.prototype%"]=F}var B=function he(oe){var ge;if(oe==="%AsyncFunction%")ge=k("async function () {}");else if(oe==="%GeneratorFunction%")ge=k("function* () {}");else if(oe==="%AsyncGeneratorFunction%")ge=k("async function* () {}");else if(oe==="%AsyncGenerator%"){var me=he("%AsyncGeneratorFunction%");me&&(ge=me.prototype)}else if(oe==="%AsyncIteratorPrototype%"){var Z=he("%AsyncGenerator%");Z&&T&&(ge=T(Z.prototype))}return N[oe]=ge,ge},U={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},J=l("D3zA"),$=l("oNNP"),X=J.call(Function.call,Array.prototype.concat),ee=J.call(Function.apply,Array.prototype.splice),ie=J.call(Function.call,String.prototype.replace),G=J.call(Function.call,String.prototype.slice),Q=J.call(Function.call,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ne=/\\(\\)?/g,te=function(oe){var ge=G(oe,0,1),me=G(oe,-1);if(ge==="%"&&me!=="%")throw new m("invalid intrinsic syntax, expected closing `%`");if(me==="%"&&ge!=="%")throw new m("invalid intrinsic syntax, expected opening `%`");var Z=[];return ie(oe,W,function(xe,Ee,Le,we){Z[Z.length]=Le?ie(we,ne,"$1"):Ee||xe}),Z},_e=function(oe,ge){var me=oe,Z;if($(U,me)&&(Z=U[me],me="%"+Z[0]+"%"),$(N,me)){var xe=N[me];if(xe===j&&(xe=B(me)),typeof xe=="undefined"&&!ge)throw new C("intrinsic "+oe+" exists, but is not available. Please file an issue!");return{alias:Z,name:me,value:xe}}throw new m("intrinsic "+oe+" does not exist!")};ce.exports=function(oe,ge){if(typeof oe!="string"||oe.length===0)throw new C("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ge!="boolean")throw new C('"allowMissing" argument must be a boolean');if(Q(/^%?[^%]*%?$/,oe)===null)throw new m("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var me=te(oe),Z=me.length>0?me[0]:"",xe=_e("%"+Z+"%",ge),Ee=xe.name,Le=xe.value,we=!1,fe=xe.alias;fe&&(Z=fe[0],ee(me,X([0,1],fe)));for(var pe=1,Ke=!0;pe<me.length;pe+=1){var Me=me[pe],ze=G(Me,0,1),Ue=G(Me,-1);if((ze==='"'||ze==="'"||ze==="`"||Ue==='"'||Ue==="'"||Ue==="`")&&ze!==Ue)throw new m("property names with quotes must have matching quotes");if((Me==="constructor"||!Ke)&&(we=!0),Z+="."+Me,Ee="%"+Z+"%",$(N,Ee))Le=N[Ee];else if(Le!=null){if(!(Me in Le)){if(!ge)throw new C("base intrinsic for "+oe+" exists, but the property is not available.");return}if(A&&pe+1>=me.length){var He=A(Le,Me);Ke=!!He,Ke&&"get"in He&&!("originalValue"in He.get)?Le=He.get:Le=Le[Me]}else Ke=$(Le,Me),Le=Le[Me];Ke&&!we&&(N[Ee]=Le)}}return Le}},AN1N:function(ce,R,l){},AOa7:function(ce,R,l){},AP2z:function(ce,R,l){var E=l("nmnc"),m=Object.prototype,O=m.hasOwnProperty,C=m.toString,k=E?E.toStringTag:void 0;function A(S){var y=O.call(S,k),w=S[k];try{S[k]=void 0;var x=!0}catch(j){}var T=C.call(S);return x&&(y?S[k]=w:delete S[k]),T}ce.exports=A},"AQ/w":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("sup")},{sup:function(){return m(this,"sup","","")}})},ATYA:function(ce,R,l){"use strict";l.d(R,"b",function(){return A}),l.d(R,"a",function(){return S});var E=l("rePB"),m=l("TSYQ"),O=l.n(m),C=l("CWQg"),k=Object(C.a)("warning","error","");function A(y,w,x){var T;return O()((T={},Object(E.a)(T,"".concat(y,"-status-success"),w==="success"),Object(E.a)(T,"".concat(y,"-status-warning"),w==="warning"),Object(E.a)(T,"".concat(y,"-status-error"),w==="error"),Object(E.a)(T,"".concat(y,"-status-validating"),w==="validating"),Object(E.a)(T,"".concat(y,"-has-feedback"),x),T))}var S=function(w,x){return x||w}},Acmb:function(ce,R,l){var E=l("jtLI"),m=l("cTDu"),O=l("CjUg"),C=l("SprQ"),k=O("IE_PROTO"),A=Object.prototype;ce.exports=C?Object.getPrototypeOf:function(S){return S=m(S),E(S,k)?S[k]:typeof S.constructor=="function"&&S instanceof S.constructor?S.constructor.prototype:S instanceof Object?A:null}},Ad6o:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.compose=R.merge=R.$=R.style=R.presets=R.keyframes=R.fontFace=R.insertGlobal=R.insertRule=R.plugins=R.styleSheet=void 0,R.speedy=N,R.simulations=ie,R.simulate=G,R.cssLabels=W,R.isLikeRule=_e,R.idFor=he,R.css=Ve,R.rehydrate=Fe,R.flush=Te,R.select=$e,R.parent=Tt,R.media=At,R.pseudo=Pt,R.active=Dt,R.any=Qt,R.checked=cn,R.disabled=$n,R.empty=hn,R.enabled=_n,R._default=bn,R.first=Bn,R.firstChild=Tn,R.firstOfType=Tr,R.fullscreen=Sr,R.focus=Wr,R.hover=br,R.indeterminate=Wn,R.inRange=gr,R.invalid=na,R.lastChild=jn,R.lastOfType=un,R.left=zt,R.link=Bt,R.onlyChild=H,R.onlyOfType=ot,R.optional=nt,R.outOfRange=Ct,R.readOnly=Wt,R.readWrite=kn,R.required=Sn,R.right=Zn,R.root=Or,R.scope=Yn,R.target=Nn,R.valid=Zt,R.visited=rr,R.dir=Gn,R.lang=ln,R.not=Xn,R.nthChild=Kn,R.nthLastChild=fr,R.nthLastOfType=Hn,R.nthOfType=Sa,R.after=Lr,R.before=Ca,R.firstLetter=za,R.firstLine=Ma,R.selection=va,R.backdrop=qa,R.placeholder=gi,R.cssFor=Qi,R.attribsFor=mi;var E=l("MgzW"),m=x(E),O=l("SDpH"),C=l("msJK"),k=l("tduB"),A=x(k),S=l("v20e"),y=l("A8aI"),w=x(y);function x(Cr){return Cr&&Cr.__esModule?Cr:{default:Cr}}function T(Cr){if(Array.isArray(Cr)){for(var Un=0,Lt=Array(Cr.length);Un<Cr.length;Un++)Lt[Un]=Cr[Un];return Lt}else return Array.from(Cr)}function j(Cr,Un,Lt){return Un in Cr?Object.defineProperty(Cr,Un,{value:Lt,enumerable:!0,configurable:!0,writable:!0}):Cr[Un]=Lt,Cr}var D=R.styleSheet=new O.StyleSheet;D.inject();function N(Cr){return D.speedy(Cr)}var F=R.plugins=D.plugins=new S.PluginSet([S.prefixes,S.contentWrap,S.fallbacks]);F.media=new S.PluginSet,F.fontFace=new S.PluginSet,F.keyframes=new S.PluginSet([S.prefixes,S.fallbacks]);var B=!1,U=!1,J=typeof window!="undefined",$=B,X=!1,ee=!1;function ie(){var Cr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;$=!!Cr}function G(){for(var Cr=arguments.length,Un=Array(Cr),Lt=0;Lt<Cr;Lt++)Un[Lt]=arguments[Lt];return Un=(0,A.default)(Un),Un?$?Un.reduce(function(gn,Ln){return gn["data-simulate-"+ne(Ln)]="",gn},{}):(X||(console.warn("can't simulate without once calling simulations(true)"),X=!0),!B&&!U&&!ee&&(console.warn("don't use simulation outside dev"),ee=!0),{}):{}}var Q=B;function W(Cr){Q=!!Cr}function ne(Cr){var Un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Cr.toLowerCase().replace(/[^a-z0-9]/g,Un)}function te(Cr){var Un=JSON.stringify(Cr),Lt=(0,w.default)(Un).toString(36);return Cr.label&&Cr.label.length>0&&B?ne(Cr.label.join("."),"-")+"-"+Lt:Lt}function _e(Cr){var Un=Object.keys(Cr).filter(function(Lt){return Lt!=="toString"});return Un.length!==1?!1:!!/data\-css\-([a-zA-Z0-9\-_]+)/.exec(Un[0])}function he(Cr){var Un=Object.keys(Cr).filter(function(Ln){return Ln!=="toString"});if(Un.length!==1)throw new Error("not a rule");var Lt=/data\-css\-([a-zA-Z0-9\-_]+)/,gn=Lt.exec(Un[0]);if(!gn)throw new Error("not a rule");return gn[1]}var oe=/[(),]|"(?:\\.|[^"\n])*"|'(?:\\.|[^'\n])*'|\/\*[\s\S]*?\*\//g;function ge(Cr){if(Cr.indexOf(",")===-1)return[Cr];for(var Un=[],Lt=[],gn=0,Ln;Ln=oe.exec(Cr);)switch(Ln[0]){case"(":gn++;break;case")":gn--;break;case",":if(gn)break;Un.push(Ln.index)}for(Ln=Un.length;Ln--;)Lt.unshift(Cr.slice(Un[Ln]+1)),Cr=Cr.slice(0,Un[Ln]);return Lt.unshift(Cr),Lt}function me(Cr,Un){if(!Cr)return Un.replace(/\&/g,"");if(!Un)return".css-"+Cr+",[data-css-"+Cr+"]";var Lt=ge(Un).map(function(gn){return gn.indexOf("&")>=0?[gn.replace(/\&/mg,".css-"+Cr),gn.replace(/\&/mg,"[data-css-"+Cr+"]")].join(","):".css-"+Cr+gn+",[data-css-"+Cr+"]"+gn}).join(",");return $&&/^\&\:/.exec(Un)&&!/\s/.exec(Un)&&(Lt+=",.css-"+Cr+"[data-simulate-"+ne(Un)+"],[data-css-"+Cr+"][data-simulate-"+ne(Un)+"]"),Lt}function Z(Cr){var Un=Cr.selector,Lt=Cr.style,gn=F.transform({selector:Un,style:Lt});return gn.selector+"{"+(0,C.createMarkupForStyles)(gn.style)+"}"}function xe(Cr){var Un=void 0,Lt=void 0,gn=void 0,Ln=void 0;return Object.keys(Cr).forEach(function(kr){kr.indexOf("&")>=0?(Lt=Lt||{},Lt[kr]=Cr[kr]):kr.indexOf("@media")===0?(gn=gn||{},gn[kr]=xe(Cr[kr])):kr.indexOf("@supports")===0?(Ln=Ln||{},Ln[kr]=xe(Cr[kr])):kr==="label"?Cr.label.length>0&&(Un=Un||{},Un.label=Q?Cr.label.join("."):""):(Un=Un||{},Un[kr]=Cr[kr])}),{plain:Un,selects:Lt,medias:gn,supports:Ln}}function Ee(Cr,Un){var Lt=[],gn=Un.plain,Ln=Un.selects,kr=Un.medias,ea=Un.supports;return gn&&Lt.push(Z({style:gn,selector:me(Cr)})),Ln&&Object.keys(Ln).forEach(function(Qr){return Lt.push(Z({style:Ln[Qr],selector:me(Cr,Qr)}))}),kr&&Object.keys(kr).forEach(function(Qr){return Lt.push(Qr+"{"+Ee(Cr,kr[Qr]).join("")+"}")}),ea&&Object.keys(ea).forEach(function(Qr){return Lt.push(Qr+"{"+Ee(Cr,ea[Qr]).join("")+"}")}),Lt}var Le=D.inserted={};function we(Cr){if(!Le[Cr.id]){Le[Cr.id]=!0;var Un=xe(Cr.style),Lt=Ee(Cr.id,Un);Le[Cr.id]=J?!0:Lt,Lt.forEach(function(gn){return D.insert(gn)})}}var fe=D.registered={};function pe(Cr){fe[Cr.id]||(fe[Cr.id]=Cr)}function Ke(Cr){if(_e(Cr)){var Un=fe[he(Cr)];if(Un==null)throw new Error("[glamor] an unexpected rule cache miss occurred. This is probably a sign of multiple glamor instances in your app. See https://github.com/threepointone/glamor/issues/79");return Un}return Cr}var Me={};function ze(Cr){if(pe(Cr),we(Cr),Me[Cr.id])return Me[Cr.id];var Un=j({},"data-css-"+Cr.id,Q&&Cr.label||"");return Object.defineProperty(Un,"toString",{enumerable:!1,value:function(){return"css-"+Cr.id}}),Me[Cr.id]=Un,Un}function Ue(){return console.log(this),this}function He(Cr){for(var Un=[":",".","[",">"," "],Lt=!1,gn=Cr.charAt(0),Ln=0;Ln<Un.length;Ln++)if(gn===Un[Ln]){Lt=!0;break}return Lt||Cr.indexOf("&")>=0}function Ne(Cr,Un){var Lt=ge(Cr).map(function(Ln){return Ln.indexOf("&")>=0?Ln:"&"+Ln}),gn=ge(Un).map(function(Ln){return Ln.indexOf("&")>=0?Ln:"&"+Ln});return gn.reduce(function(Ln,kr){return Ln.concat(Lt.map(function(ea){return kr.replace(/\&/g,ea)}))},[]).join(",")}function it(Cr,Un){return Cr?"@media "+Cr.substring(6)+" and "+Un.substring(6):Un}function Xe(Cr){return Cr.indexOf("@media")===0}function ht(Cr){return Cr.indexOf("@supports")===0}function lt(Cr,Un){return Cr?"@supports "+Cr.substring(9)+" and "+Un.substring(9):Un}function Et(Cr){for(var Un=[],Lt=0;Lt<Cr.length;Lt++)Array.isArray(Cr[Lt])?Un=Un.concat(Et(Cr[Lt])):Un=Un.concat(Cr[Lt]);return Un}var tt={"::placeholder":["::-webkit-input-placeholder","::-moz-placeholder","::-ms-input-placeholder"],":fullscreen":[":-webkit-full-screen",":-moz-full-screen",":-ms-fullscreen"]};function mt(Cr,Un){var Lt=Un.selector,gn=Lt===void 0?"":Lt,Ln=Un.mq,kr=Ln===void 0?"":Ln,ea=Un.supp,Qr=ea===void 0?"":ea,Na=Un.src,ar=Na===void 0?{}:Na;Array.isArray(ar)||(ar=[ar]),ar=Et(ar),ar.forEach(function(pi){if(_e(pi)){var _i=Ke(pi);if(_i.type!=="css")throw new Error("cannot merge this rule");pi=_i.style}pi=(0,A.default)(pi),pi&&pi.composes&&mt(Cr,{selector:gn,mq:kr,supp:Qr,src:pi.composes}),Object.keys(pi||{}).forEach(function(ti){if(He(ti))tt[ti]&&tt[ti].forEach(function(Ri){return mt(Cr,{selector:Ne(gn,Ri),mq:kr,supp:Qr,src:pi[ti]})}),mt(Cr,{selector:Ne(gn,ti),mq:kr,supp:Qr,src:pi[ti]});else if(Xe(ti))mt(Cr,{selector:gn,mq:it(kr,ti),supp:Qr,src:pi[ti]});else if(ht(ti))mt(Cr,{selector:gn,mq:kr,supp:lt(Qr,ti),src:pi[ti]});else if(ti!=="composes"){var ui=Cr;Qr&&(ui[Qr]=ui[Qr]||{},ui=ui[Qr]),kr&&(ui[kr]=ui[kr]||{},ui=ui[kr]),gn&&(ui[gn]=ui[gn]||{},ui=ui[gn]),ti==="label"?Q&&(Cr.label=Cr.label.concat(pi.label)):ui[ti]=pi[ti]}})})}function xt(Cr){var Un={label:[]};mt(Un,{src:Cr});var Lt={id:te(Un),style:Un,label:Q?Un.label.join("."):"",type:"css"};return ze(Lt)}var Xt={};Object.defineProperty(Xt,"toString",{enumerable:!1,value:function(){return"css-nil"}});var vt=typeof WeakMap!="undefined"?[Xt,new WeakMap,new WeakMap,new WeakMap]:[Xt],qe=!1;function Re(Cr){return function(Un){if(vt[Un.length]){for(var Lt=vt[Un.length],gn=0;gn<Un.length-1;)Lt.has(Un[gn])||Lt.set(Un[gn],new WeakMap),Lt=Lt.get(Un[gn]),gn++;if(Lt.has(Un[Un.length-1])){var Ln=Lt.get(Un[gn]);if(fe[Ln.toString().substring(4)])return Ln}}var kr=Cr(Un);if(vt[Un.length]){for(var ea=0,Qr=vt[Un.length];ea<Un.length-1;)Qr=Qr.get(Un[ea]),ea++;try{Qr.set(Un[ea],kr)}catch(ar){if(B&&!qe){var Na;qe=!0,(Na=console).warn.apply(Na,["failed setting the WeakMap cache for args:"].concat(T(Un))),console.warn("this should NOT happen, please file a bug on the github repo.")}}}return kr}}var Se=typeof WeakMap!="undefined"?Re(xt):xt;function Ve(){for(var Cr=arguments.length,Un=Array(Cr),Lt=0;Lt<Cr;Lt++)Un[Lt]=arguments[Lt];if(Un[0]&&Un[0].length&&Un[0].raw)throw new Error("you forgot to include glamor/babel in your babel plugins.");return Un=(0,A.default)(Un),Un?Se(Un):Xt}Ve.insert=function(Cr){var Un={id:te(Cr),css:Cr,type:"raw"};pe(Un),Le[Un.id]||(D.insert(Un.css),Le[Un.id]=J?!0:[Un.css])};var Ge=R.insertRule=Ve.insert;Ve.global=function(Cr,Un){if(Un=(0,A.default)(Un),Un)return Ve.insert(Z({selector:Cr,style:Un}))};var _t=R.insertGlobal=Ve.global;function bt(Cr){if(!Le[Cr.id]){var Un=Object.keys(Cr.keyframes).map(function(gn){var Ln=F.keyframes.transform({id:Cr.id,name:gn,style:Cr.keyframes[gn]});return Ln.name+"{"+(0,C.createMarkupForStyles)(Ln.style)+"}"}).join(""),Lt=["-webkit-","-moz-","-o-",""].map(function(gn){return"@"+gn+"keyframes "+(Cr.name+"_"+Cr.id)+"{"+Un+"}"});Lt.forEach(function(gn){return D.insert(gn)}),Le[Cr.id]=J?!0:Lt}}Ve.keyframes=function(Cr,Un){Un||(Un=Cr,Cr="animation"),Un=(0,A.default)(Un)||{};var Lt={id:te({name:Cr,kfs:Un}),type:"keyframes",name:Cr,keyframes:Un};return pe(Lt),bt(Lt),Cr+"_"+Lt.id},Ve.fontFace=function(Cr){Cr=(0,A.default)(Cr);var Un={id:te(Cr),type:"font-face",font:Cr};return pe(Un),ft(Un),Cr.fontFamily};var gt=R.fontFace=Ve.fontFace,at=R.keyframes=Ve.keyframes;function ft(Cr){if(!Le[Cr.id]){var Un="@font-face{"+(0,C.createMarkupForStyles)(Cr.font)+"}";D.insert(Un),Le[Cr.id]=J?!0:[Un]}}function Fe(Cr){(0,m.default)(Le,Cr.reduce(function(Un,Lt){return Un[Lt]=!0,Un},{}))}function Te(){Le=D.inserted={},fe=D.registered={},Me={},D.flush(),D.inject()}var ut=R.presets={mobile:"(min-width: 400px)",Mobile:"@media (min-width: 400px)",phablet:"(min-width: 550px)",Phablet:"@media (min-width: 550px)",tablet:"(min-width: 750px)",Tablet:"@media (min-width: 750px)",desktop:"(min-width: 1000px)",Desktop:"@media (min-width: 1000px)",hd:"(min-width: 1200px)",Hd:"@media (min-width: 1200px)"},le=R.style=Ve;function $e(Cr){for(var Un=arguments.length,Lt=Array(Un>1?Un-1:0),gn=1;gn<Un;gn++)Lt[gn-1]=arguments[gn];return Cr?Ve(j({},Cr,Lt)):le(Lt)}var Qe=R.$=$e;function Tt(Cr){for(var Un=arguments.length,Lt=Array(Un>1?Un-1:0),gn=1;gn<Un;gn++)Lt[gn-1]=arguments[gn];return Ve(j({},Cr+" &",Lt))}var Ot=R.merge=Ve,Ut=R.compose=Ve;function At(Cr){for(var Un=arguments.length,Lt=Array(Un>1?Un-1:0),gn=1;gn<Un;gn++)Lt[gn-1]=arguments[gn];return Ve(j({},"@media "+Cr,Lt))}function Pt(Cr){for(var Un=arguments.length,Lt=Array(Un>1?Un-1:0),gn=1;gn<Un;gn++)Lt[gn-1]=arguments[gn];return Ve(j({},Cr,Lt))}function Dt(Cr){return Pt(":active",Cr)}function Qt(Cr){return Pt(":any",Cr)}function cn(Cr){return Pt(":checked",Cr)}function $n(Cr){return Pt(":disabled",Cr)}function hn(Cr){return Pt(":empty",Cr)}function _n(Cr){return Pt(":enabled",Cr)}function bn(Cr){return Pt(":default",Cr)}function Bn(Cr){return Pt(":first",Cr)}function Tn(Cr){return Pt(":first-child",Cr)}function Tr(Cr){return Pt(":first-of-type",Cr)}function Sr(Cr){return Pt(":fullscreen",Cr)}function Wr(Cr){return Pt(":focus",Cr)}function br(Cr){return Pt(":hover",Cr)}function Wn(Cr){return Pt(":indeterminate",Cr)}function gr(Cr){return Pt(":in-range",Cr)}function na(Cr){return Pt(":invalid",Cr)}function jn(Cr){return Pt(":last-child",Cr)}function un(Cr){return Pt(":last-of-type",Cr)}function zt(Cr){return Pt(":left",Cr)}function Bt(Cr){return Pt(":link",Cr)}function H(Cr){return Pt(":only-child",Cr)}function ot(Cr){return Pt(":only-of-type",Cr)}function nt(Cr){return Pt(":optional",Cr)}function Ct(Cr){return Pt(":out-of-range",Cr)}function Wt(Cr){return Pt(":read-only",Cr)}function kn(Cr){return Pt(":read-write",Cr)}function Sn(Cr){return Pt(":required",Cr)}function Zn(Cr){return Pt(":right",Cr)}function Or(Cr){return Pt(":root",Cr)}function Yn(Cr){return Pt(":scope",Cr)}function Nn(Cr){return Pt(":target",Cr)}function Zt(Cr){return Pt(":valid",Cr)}function rr(Cr){return Pt(":visited",Cr)}function Gn(Cr,Un){return Pt(":dir("+Cr+")",Un)}function ln(Cr,Un){return Pt(":lang("+Cr+")",Un)}function Xn(Cr,Un){var Lt=Cr.split(",").map(function(gn){return gn.trim()}).map(function(gn){return":not("+gn+")"});return Lt.length===1?Pt(":not("+Cr+")",Un):$e(Lt.join(""),Un)}function Kn(Cr,Un){return Pt(":nth-child("+Cr+")",Un)}function fr(Cr,Un){return Pt(":nth-last-child("+Cr+")",Un)}function Hn(Cr,Un){return Pt(":nth-last-of-type("+Cr+")",Un)}function Sa(Cr,Un){return Pt(":nth-of-type("+Cr+")",Un)}function Lr(Cr){return Pt("::after",Cr)}function Ca(Cr){return Pt("::before",Cr)}function za(Cr){return Pt("::first-letter",Cr)}function Ma(Cr){return Pt("::first-line",Cr)}function va(Cr){return Pt("::selection",Cr)}function qa(Cr){return Pt("::backdrop",Cr)}function gi(Cr){return Ve({"::placeholder":Cr})}function Qi(){for(var Cr=arguments.length,Un=Array(Cr),Lt=0;Lt<Cr;Lt++)Un[Lt]=arguments[Lt];return Un=(0,A.default)(Un),Un?Un.map(function(gn){var Ln={label:[]};return mt(Ln,{src:gn}),Ee(te(Ln),xe(Ln)).join("")}).join(""):""}function mi(){for(var Cr=arguments.length,Un=Array(Cr),Lt=0;Lt<Cr;Lt++)Un[Lt]=arguments[Lt];Un=(0,A.default)(Un);var gn=Un?Un.map(function(Ln){he(Ln);var kr=Object.keys(Ln)[0],ea=Ln[kr];return kr+'="'+(ea||"")+'"'}).join(" "):"";return gn}},"Ae/L":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SliderSwatches=void 0;var E=l("q1tI"),m=S(E),O=l("/FUP"),C=S(O),k=l("uyf8"),A=S(k);function S(w){return w&&w.__esModule?w:{default:w}}var y=R.SliderSwatches=function(x){var T=x.onClick,j=x.hsl,D=(0,C.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),N=.1;return m.default.createElement("div",{style:D.swatches},m.default.createElement("div",{style:D.swatch},m.default.createElement(A.default,{hsl:j,offset:".80",active:Math.abs(j.l-.8)<N&&Math.abs(j.s-.5)<N,onClick:T,first:!0})),m.default.createElement("div",{style:D.swatch},m.default.createElement(A.default,{hsl:j,offset:".65",active:Math.abs(j.l-.65)<N&&Math.abs(j.s-.5)<N,onClick:T})),m.default.createElement("div",{style:D.swatch},m.default.createElement(A.default,{hsl:j,offset:".50",active:Math.abs(j.l-.5)<N&&Math.abs(j.s-.5)<N,onClick:T})),m.default.createElement("div",{style:D.swatch},m.default.createElement(A.default,{hsl:j,offset:".35",active:Math.abs(j.l-.35)<N&&Math.abs(j.s-.5)<N,onClick:T})),m.default.createElement("div",{style:D.swatch},m.default.createElement(A.default,{hsl:j,offset:".20",active:Math.abs(j.l-.2)<N&&Math.abs(j.s-.5)<N,onClick:T,last:!0})),m.default.createElement("div",{style:D.clear}))};R.default=y},Ag8Z:function(ce,R,l){var E=l("JC6p"),m=l("EwQA");function O(C,k){return C&&E(C,m(k))}ce.exports=O},AmH5:function(ce,R,l){"use strict";var E=l("cTDu"),m=l("bIKR"),O=l("oa35"),C=Math.min;ce.exports=[].copyWithin||function(A,S){var y=E(this),w=O(y.length),x=m(A,w),T=m(S,w),j=arguments.length>2?arguments[2]:void 0,D=C((j===void 0?w:m(j,w))-T,w-x),N=1;for(T<x&&x<T+D&&(N=-1,T+=D-1,x+=D-1);D-- >0;)T in y?y[x]=y[T]:delete y[x],x+=N,T+=N;return y}},Ats3:function(ce,R,l){ce.exports={conversationHistory:"conversationHistory___2WtWO",header:"header___1iZH9",headerTitle:"headerTitle___1Yrqd",headerClose:"headerClose___2UOzu",conversationContent:"conversationContent___vJ9FX",conversationItem:"conversationItem___dWcaS",conversationName:"conversationName___3nzQA",conversationTime:"conversationTime___e9w2j"}},Auwt:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("PPXv"),k=l("bwJD"),A=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{includes:function(y){return A(C(O(this)),function(w,x){if(k(x,y))return A.stop()},void 0,!0,!0).stopped}})},Aw1E:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});var E={layout:"vertical"}},AwBQ:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Lookup=void 0;var E=l("MON2"),m=function(){function O(){this._map=new Map}return O.prototype.getMap=function(){return this._map},O.prototype.add=function(C,k){if(C==null)throw new Error(E.NULL_ARGUMENT);if(k==null)throw new Error(E.NULL_ARGUMENT);var A=this._map.get(C);A!==void 0?(A.push(k),this._map.set(C,A)):this._map.set(C,[k])},O.prototype.get=function(C){if(C==null)throw new Error(E.NULL_ARGUMENT);var k=this._map.get(C);if(k!==void 0)return k;throw new Error(E.KEY_NOT_FOUND)},O.prototype.remove=function(C){if(C==null)throw new Error(E.NULL_ARGUMENT);if(!this._map.delete(C))throw new Error(E.KEY_NOT_FOUND)},O.prototype.removeByCondition=function(C){var k=this;this._map.forEach(function(A,S){var y=A.filter(function(w){return!C(w)});y.length>0?k._map.set(S,y):k._map.delete(S)})},O.prototype.hasKey=function(C){if(C==null)throw new Error(E.NULL_ARGUMENT);return this._map.has(C)},O.prototype.clone=function(){var C=new O;return this._map.forEach(function(k,A){k.forEach(function(S){return C.add(A,S.clone())})}),C},O.prototype.traverse=function(C){this._map.forEach(function(k,A){C(A,k)})},O}();R.Lookup=m},"B/G0":function(ce,R,l){var E=l("MMxC"),m=l("tny8"),O=l("cC5k"),C=l("0qr0"),k=l("g8rt"),A=l("arQb");E({target:"Object",stat:!0,sham:!m},{getOwnPropertyDescriptors:function(y){for(var w=C(y),x=k.f,T=O(w),j={},D=0,N,F;T.length>D;)F=x(w,N=T[D++]),F!==void 0&&A(j,N,F);return j}})},B2gY:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},m=E;R.default=m},B5Mt:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=function(O,C){var k={},A=function(y){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;k[y]=w};return O===0&&A("first-child"),O===C-1&&A("last-child"),(O===0||O%2==0)&&A("even"),Math.abs(O%2)===1&&A("odd"),A("nth-child",O),k};R.default=E},B8du:function(ce,R){function l(){return!1}ce.exports=l},B9n1:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=m;var E=/-webkit-|-moz-|-ms-/;function m(O){return typeof O=="string"&&E.test(O)}ce.exports=R.default},BAFU:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.createAnimation=void 0;var E=function(O,C,k){var A="react-spinners-".concat(O,"-").concat(k);if(typeof window=="undefined"||!window.document)return A;var S=document.createElement("style");document.head.appendChild(S);var y=S.sheet,w=`
@keyframes `.concat(A,` {
`).concat(C,`
}
`);return y&&y.insertRule(w,0),A};R.createAnimation=E},"BGR+":function(ce,R,l){"use strict";function E(m,O){for(var C=Object.assign({},m),k=0;k<O.length;k+=1){var A=O[k];delete C[A]}return C}R.a=E},BLTA:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").map,O=l("/dTS"),C=E.aTypedArray,k=E.aTypedArrayConstructor,A=E.exportTypedArrayMethod;A("map",function(y){return m(C(this),y,arguments.length>1?arguments[1]:void 0,function(w,x){return new(k(O(w,w.constructor)))(x)})})},BMJH:function(ce,R,l){"use strict";l.d(R,"a",function(){return k});var E=l("q1tI"),m=l.n(E),O=l("TOwV"),C=l.n(O);function k(A){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=[];return m.a.Children.forEach(A,function(w){w==null&&!S.keepEmpty||(Array.isArray(w)?y=y.concat(k(w)):Object(O.isFragment)(w)&&w.props?y=y.concat(k(w.props.children,S)):y.push(w))}),y}},BMrR:function(ce,R,l){"use strict";var E=l("qrJ5");R.a=E.a},Bgsj:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=l("q1tI"),m=(0,E.createContext)({}),O=m;R.default=O},BiGR:function(ce,R,l){var E=l("nmnc"),m=l("03A+"),O=l("Z0cm"),C=E?E.isConcatSpreadable:void 0;function k(A){return O(A)||m(A)||!!(C&&A&&A[C])}ce.exports=k},BkRI:function(ce,R,l){var E=l("OBhP"),m=1,O=4;function C(k){return E(k,m|O)}ce.exports=C},BnGs:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=O;var m=E(l("3tO9"));function O(C,k){var A=(0,m.default)({},C);return Array.isArray(k)&&k.forEach(function(S){delete A[S]}),A}},Bnag:function(ce,R){function l(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},Bnwu:function(ce,R,l){var E=l("MMxC"),m=l("egz/");E({target:"Math",stat:!0},{log1p:m})},BoS7:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("czTT"),C=l.n(O)},BqDR:function(ce,R,l){"use strict";l.d(R,"a",function(){return A});var E=l("qLMh"),m=l("9og8"),O=l("9kvl");function C(){return k.apply(this,arguments)}function k(){return k=Object(m.a)(Object(E.a)().mark(function y(){return Object(E.a)().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",Object(O.f)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"users")));case 1:case"end":return x.stop()}},y)})),k.apply(this,arguments)}function A(){return S.apply(this,arguments)}function S(){return S=Object(m.a)(Object(E.a)().mark(function y(){return Object(E.a)().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",Object(O.f)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"user/getCurrentUser")));case 1:case"end":return x.stop()}},y)})),S.apply(this,arguments)}},BsWD:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("a3WO");function m(O,C){if(!!O){if(typeof O=="string")return Object(E.a)(O,C);var k=Object.prototype.toString.call(O).slice(8,-1);if(k==="Object"&&O.constructor&&(k=O.constructor.name),k==="Map"||k==="Set")return Array.from(O);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return Object(E.a)(O,C)}}},BtTS:function(ce,R,l){var E=l("Mi8B");E("Int16",function(m){return function(C,k,A){return m(this,C,k,A)}})},BvKs:function(ce,R,l){"use strict";var E=l("1OyB"),m=l("vuIU"),O=l("Ji7U"),C=l("LK+K"),k=l("wx14"),A=l("GZ0F"),S=l("TSYQ"),y=l.n(S),w=l("1j5w"),x=l("Kbm9"),T=l("Ya77"),j=l("q1tI"),D=l("H84U"),N=l("ZX9x"),F=l("EXcs"),B=l("0n0R"),U=l("U8pU"),J=l("rePB"),$=function(fe,pe){var Ke={};for(var Me in fe)Object.prototype.hasOwnProperty.call(fe,Me)&&pe.indexOf(Me)<0&&(Ke[Me]=fe[Me]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Me=Object.getOwnPropertySymbols(fe);ze<Me.length;ze++)pe.indexOf(Me[ze])<0&&Object.prototype.propertyIsEnumerable.call(fe,Me[ze])&&(Ke[Me[ze]]=fe[Me[ze]]);return Ke},X=function(pe){var Ke=pe.prefixCls,Me=pe.className,ze=pe.dashed,Ue=$(pe,["prefixCls","className","dashed"]),He=j.useContext(D.b),Ne=He.getPrefixCls,it=Ne("menu",Ke),Xe=y()(Object(J.a)({},"".concat(it,"-item-divider-dashed"),!!ze),Me);return j.createElement(w.a,Object(k.a)({className:Xe},Ue))},ee=X,ie=l("axMd"),G=l("3S7+"),Q=Object(j.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),W=Q,ne=function(fe,pe){var Ke={};for(var Me in fe)Object.prototype.hasOwnProperty.call(fe,Me)&&pe.indexOf(Me)<0&&(Ke[Me]=fe[Me]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Me=Object.getOwnPropertySymbols(fe);ze<Me.length;ze++)pe.indexOf(Me[ze])<0&&Object.prototype.propertyIsEnumerable.call(fe,Me[ze])&&(Ke[Me[ze]]=fe[Me[ze]]);return Ke},te=function(fe){Object(O.a)(Ke,fe);var pe=Object(C.a)(Ke);function Ke(){var Me;return Object(E.a)(this,Ke),Me=pe.apply(this,arguments),Me.renderItem=function(ze){var Ue,He=ze.siderCollapsed,Ne,it=Me.context,Xe=it.prefixCls,ht=it.firstLevel,lt=it.inlineCollapsed,Et=it.direction,tt=it.disableMenuItemTitleTooltip,mt=Me.props,xt=mt.className,Xt=mt.children,vt=Me.props,qe=vt.title,Re=vt.icon,Se=vt.danger,Ve=ne(vt,["title","icon","danger"]),Ge=qe;typeof qe=="undefined"?Ge=ht?Xt:"":qe===!1&&(Ge="");var _t={title:Ge};!He&&!lt&&(_t.title=null,_t.open=!1);var bt=Object(ie.a)(Xt).length,gt=j.createElement(w.b,Object(k.a)({},Ve,{className:y()((Ue={},Object(J.a)(Ue,"".concat(Xe,"-item-danger"),Se),Object(J.a)(Ue,"".concat(Xe,"-item-only-child"),(Re?bt+1:bt)===1),Ue),xt),title:typeof qe=="string"?qe:void 0}),Object(B.a)(Re,{className:y()(Object(B.c)(Re)?(Ne=Re.props)===null||Ne===void 0?void 0:Ne.className:"","".concat(Xe,"-item-icon"))}),Me.renderItemChildren(lt));return tt||(gt=j.createElement(G.a,Object(k.a)({},_t,{placement:Et==="rtl"?"left":"right",overlayClassName:"".concat(Xe,"-inline-collapsed-tooltip")}),gt)),gt},Me}return Object(m.a)(Ke,[{key:"renderItemChildren",value:function(ze){var Ue=this.context,He=Ue.prefixCls,Ne=Ue.firstLevel,it=this.props,Xe=it.icon,ht=it.children,lt=j.createElement("span",{className:"".concat(He,"-title-content")},ht);return(!Xe||Object(B.c)(ht)&&ht.type==="span")&&ht&&ze&&Ne&&typeof ht=="string"?j.createElement("div",{className:"".concat(He,"-inline-collapsed-noicon")},ht.charAt(0)):lt}},{key:"render",value:function(){return j.createElement(N.a.Consumer,null,this.renderItem)}}]),Ke}(j.Component);te.contextType=W;function _e(fe){var pe,Ke=fe.popupClassName,Me=fe.icon,ze=fe.title,Ue=fe.theme,He=j.useContext(W),Ne=He.prefixCls,it=He.inlineCollapsed,Xe=He.antdMenuTheme,ht=Object(w.h)(),lt;if(!Me)lt=it&&!ht.length&&ze&&typeof ze=="string"?j.createElement("div",{className:"".concat(Ne,"-inline-collapsed-noicon")},ze.charAt(0)):j.createElement("span",{className:"".concat(Ne,"-title-content")},ze);else{var Et=Object(B.c)(ze)&&ze.type==="span";lt=j.createElement(j.Fragment,null,Object(B.a)(Me,{className:y()(Object(B.c)(Me)?(pe=Me.props)===null||pe===void 0?void 0:pe.className:"","".concat(Ne,"-item-icon"))}),Et?ze:j.createElement("span",{className:"".concat(Ne,"-title-content")},ze))}var tt=j.useMemo(function(){return Object(k.a)(Object(k.a)({},He),{firstLevel:!1})},[He]);return j.createElement(W.Provider,{value:tt},j.createElement(w.f,Object(k.a)({},Object(T.a)(fe,["icon"]),{title:lt,popupClassName:y()(Ne,"".concat(Ne,"-").concat(Ue||Xe),Ke)})))}var he=_e,oe=function(fe,pe){var Ke={};for(var Me in fe)Object.prototype.hasOwnProperty.call(fe,Me)&&pe.indexOf(Me)<0&&(Ke[Me]=fe[Me]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Me=Object.getOwnPropertySymbols(fe);ze<Me.length;ze++)pe.indexOf(Me[ze])<0&&Object.prototype.propertyIsEnumerable.call(fe,Me[ze])&&(Ke[Me[ze]]=fe[Me[ze]]);return Ke};function ge(fe){return(fe||[]).map(function(pe,Ke){if(pe&&Object(U.a)(pe)==="object"){var Me=pe,ze=Me.label,Ue=Me.children,He=Me.key,Ne=Me.type,it=oe(Me,["label","children","key","type"]),Xe=He!=null?He:"tmp-".concat(Ke);return Ue||Ne==="group"?Ne==="group"?j.createElement(w.c,Object(k.a)({key:Xe},it,{title:ze}),ge(Ue)):j.createElement(he,Object(k.a)({key:Xe},it,{title:ze}),ge(Ue)):Ne==="divider"?j.createElement(ee,Object(k.a)({key:Xe},it)):j.createElement(te,Object(k.a)({key:Xe},it),ze)}return null}).filter(function(pe){return pe})}function me(fe){return j.useMemo(function(){return fe&&ge(fe)},[fe])}var Z=l("UuAG"),xe=function(fe,pe){var Ke={};for(var Me in fe)Object.prototype.hasOwnProperty.call(fe,Me)&&pe.indexOf(Me)<0&&(Ke[Me]=fe[Me]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Me=Object.getOwnPropertySymbols(fe);ze<Me.length;ze++)pe.indexOf(Me[ze])<0&&Object.prototype.propertyIsEnumerable.call(fe,Me[ze])&&(Ke[Me[ze]]=fe[Me[ze]]);return Ke},Ee=Object(j.forwardRef)(function(fe,pe){var Ke,Me=j.useContext(Z.b)||{},ze=j.useContext(D.b),Ue=ze.getPrefixCls,He=ze.getPopupContainer,Ne=ze.direction,it=Ue(),Xe=fe.prefixCls,ht=fe.className,lt=fe.theme,Et=lt===void 0?"light":lt,tt=fe.expandIcon,mt=fe._internalDisableMenuItemTitleTooltip,xt=fe.inlineCollapsed,Xt=fe.siderCollapsed,vt=fe.items,qe=fe.children,Re=fe.mode,Se=fe.selectable,Ve=fe.onClick,Ge=xe(fe,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),_t=Object(T.a)(Ge,["collapsedWidth"]),bt=me(vt)||qe;(Ke=Me.validator)===null||Ke===void 0||Ke.call(Me,{mode:Re});var gt=Object(x.a)(function(){var Tt;Ve==null||Ve.apply(void 0,arguments),(Tt=Me==null?void 0:Me.onClick)===null||Tt===void 0||Tt.call(Me)}),at=Me.mode||Re,ft=Se!=null?Se:Me.selectable,Fe=j.useMemo(function(){return Xt!==void 0?Xt:xt},[xt,Xt]),Te={horizontal:{motionName:"".concat(it,"-slide-up")},inline:F.a,other:{motionName:"".concat(it,"-zoom-big")}},ut=Ue("menu",Xe||Me.prefixCls),le=y()("".concat(ut,"-").concat(Et),ht),$e;typeof tt=="function"?$e=tt:$e=Object(B.a)(tt||Me.expandIcon,{className:"".concat(ut,"-submenu-expand-icon")});var Qe=j.useMemo(function(){return{prefixCls:ut,inlineCollapsed:Fe||!1,antdMenuTheme:Et,direction:Ne,firstLevel:!0,disableMenuItemTitleTooltip:mt}},[ut,Fe,Et,Ne,mt]);return j.createElement(Z.b.Provider,{value:null},j.createElement(W.Provider,{value:Qe},j.createElement(w.g,Object(k.a)({getPopupContainer:He,overflowedIndicator:j.createElement(A.a,null),overflowedIndicatorPopupClassName:"".concat(ut,"-").concat(Et),mode:at,selectable:ft,onClick:gt},_t,{inlineCollapsed:Fe,className:le,prefixCls:ut,direction:Ne,defaultMotions:Te,expandIcon:$e,ref:pe}),bt)))}),Le=function(fe){Object(O.a)(Ke,fe);var pe=Object(C.a)(Ke);function Ke(){var Me;return Object(E.a)(this,Ke),Me=pe.apply(this,arguments),Me.focus=function(ze){var Ue;(Ue=Me.menu)===null||Ue===void 0||Ue.focus(ze)},Me}return Object(m.a)(Ke,[{key:"render",value:function(){var ze=this;return j.createElement(N.a.Consumer,null,function(Ue){return j.createElement(Ee,Object(k.a)({ref:function(Ne){ze.menu=Ne}},ze.props,Ue))})}}]),Ke}(j.Component);Le.Divider=ee,Le.Item=te,Le.SubMenu=he,Le.ItemGroup=w.c;var we=R.a=Le},"C/nq":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="ZoomInOutlined";var S=R.a=m.forwardRef(A)},C3pJ:function(ce,R,l){var E=l("ukPv"),m=l("MVys"),O=l("UwrT"),C=l("7BAe"),k=l("yj7k"),A=l("8w+9"),S=l("xRZI"),y=E.location,w=E.setImmediate,x=E.clearImmediate,T=E.process,j=E.MessageChannel,D=E.Dispatch,N=0,F={},B="onreadystatechange",U,J,$,X=function(Q){if(F.hasOwnProperty(Q)){var W=F[Q];delete F[Q],W()}},ee=function(Q){return function(){X(Q)}},ie=function(Q){X(Q.data)},G=function(Q){E.postMessage(Q+"",y.protocol+"//"+y.host)};(!w||!x)&&(w=function(W){for(var ne=[],te=1;arguments.length>te;)ne.push(arguments[te++]);return F[++N]=function(){(typeof W=="function"?W:Function(W)).apply(void 0,ne)},U(N),N},x=function(W){delete F[W]},O(T)=="process"?U=function(Q){T.nextTick(ee(Q))}:D&&D.now?U=function(Q){D.now(ee(Q))}:j&&!S?(J=new j,$=J.port2,J.port1.onmessage=ie,U=C($.postMessage,$,1)):E.addEventListener&&typeof postMessage=="function"&&!E.importScripts&&!m(G)&&y.protocol!=="file:"?(U=G,E.addEventListener("message",ie,!1)):B in A("script")?U=function(Q){k.appendChild(A("script"))[B]=function(){k.removeChild(this),X(Q)}}:U=function(Q){setTimeout(ee(Q),0)}),ce.exports={set:w,clear:x}},C7V6:function(ce,R,l){var E=l("2kyd"),m=E("match");ce.exports=function(O){var C=/./;try{"/./"[O](C)}catch(k){try{return C[m]=!1,"/./"[O](C)}catch(A){}}return!1}},"CDr+":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("/3zY").indexOf,O=l("R8iy"),C=l("kGMc"),k=[].indexOf,A=!!k&&1/[1].indexOf(1,-0)<0,S=O("indexOf"),y=C("indexOf",{ACCESSORS:!0,1:0});E({target:"Array",proto:!0,forced:A||!S||!y},{indexOf:function(x){return A?k.apply(this,arguments)||0:m(this,x,arguments.length>1?arguments[1]:void 0)}})},CFYs:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("jO45"),C=l("bRQS"),k=l("jN4g"),A=l("4i/N"),S=l("TSYQ"),y=l.n(S),w=l("Ya77"),x=l("q1tI"),T=l("H84U"),j=l("CWQg"),D=l("hNzZ"),N=l("VTBJ"),F=l("Ff2n"),B={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},U=function(){var qe=Object(x.useRef)([]),Re=Object(x.useRef)(null);return Object(x.useEffect)(function(){var Se=Date.now(),Ve=!1;qe.current.forEach(function(Ge){if(!!Ge){Ve=!0;var _t=Ge.style;_t.transitionDuration=".3s, .3s, .3s, .06s",Re.current&&Se-Re.current<100&&(_t.transitionDuration="0s, 0s")}}),Ve&&(Re.current=Date.now())}),qe.current},J=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],$=function(qe){var Re=Object(N.a)(Object(N.a)({},B),qe),Se=Re.className,Ve=Re.percent,Ge=Re.prefixCls,_t=Re.strokeColor,bt=Re.strokeLinecap,gt=Re.strokeWidth,at=Re.style,ft=Re.trailColor,Fe=Re.trailWidth,Te=Re.transition,ut=Object(F.a)(Re,J);delete ut.gapPosition;var le=Array.isArray(Ve)?Ve:[Ve],$e=Array.isArray(_t)?_t:[_t],Qe=U(),Tt=gt/2,Ot=100-gt/2,Ut="M ".concat(bt==="round"?Tt:0,",").concat(Tt,`
L `).concat(bt==="round"?Ot:100,",").concat(Tt),At="0 0 100 ".concat(gt),Pt=0;return x.createElement("svg",Object(m.a)({className:y()("".concat(Ge,"-line"),Se),viewBox:At,preserveAspectRatio:"none",style:at},ut),x.createElement("path",{className:"".concat(Ge,"-line-trail"),d:Ut,strokeLinecap:bt,stroke:ft,strokeWidth:Fe||gt,fillOpacity:"0"}),le.map(function(Dt,Qt){var cn=1;switch(bt){case"round":cn=1-gt/100;break;case"square":cn=1-gt/2/100;break;default:cn=1;break}var $n={strokeDasharray:"".concat(Dt*cn,"px, 100px"),strokeDashoffset:"-".concat(Pt,"px"),transition:Te||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},hn=$e[Qt]||$e[$e.length-1];return Pt+=Dt,x.createElement("path",{key:Qt,className:"".concat(Ge,"-line-path"),d:Ut,strokeLinecap:bt,stroke:hn,strokeWidth:gt,fillOpacity:"0",ref:function(bn){Qe[Qt]=bn},style:$n})}))},X=$,ee=l("U8pU"),ie=l("ODXe");function G(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Q=0,W=G();function ne(){var vt;return W?(vt=Q,Q+=1):vt="TEST_OR_SSR",vt}var te=function(vt){var qe=x.useState(),Re=Object(ie.a)(qe,2),Se=Re[0],Ve=Re[1];return x.useEffect(function(){Ve("rc_progress_".concat(ne()))},[]),vt||Se},_e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function he(vt){return+vt.replace("%","")}function oe(vt){var qe=vt!=null?vt:[];return Array.isArray(qe)?qe:[qe]}var ge=100,me=function(qe,Re,Se,Ve,Ge,_t,bt,gt,at,ft){var Fe=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Te=Se/100*360*((360-_t)/360),ut=_t===0?0:{bottom:0,top:180,left:90,right:-90}[bt],le=(100-Ve)/100*Re;return at==="round"&&Ve!==100&&(le+=ft/2,le>=Re&&(le=Re-.01)),{stroke:typeof gt=="string"?gt:void 0,strokeDasharray:"".concat(Re,"px ").concat(qe),strokeDashoffset:le+Fe,transform:"rotate(".concat(Ge+Te+ut,"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}},Z=function(qe){var Re=Object(N.a)(Object(N.a)({},B),qe),Se=Re.id,Ve=Re.prefixCls,Ge=Re.steps,_t=Re.strokeWidth,bt=Re.trailWidth,gt=Re.gapDegree,at=gt===void 0?0:gt,ft=Re.gapPosition,Fe=Re.trailColor,Te=Re.strokeLinecap,ut=Re.style,le=Re.className,$e=Re.strokeColor,Qe=Re.percent,Tt=Object(F.a)(Re,_e),Ot=te(Se),Ut="".concat(Ot,"-gradient"),At=ge/2-_t/2,Pt=Math.PI*2*At,Dt=at>0?90+at/2:-90,Qt=Pt*((360-at)/360),cn=Object(ee.a)(Ge)==="object"?Ge:{count:Ge,space:2},$n=cn.count,hn=cn.space,_n=me(Pt,Qt,0,100,Dt,at,ft,Fe,Te,_t),bn=oe(Qe),Bn=oe($e),Tn=Bn.find(function(br){return br&&Object(ee.a)(br)==="object"}),Tr=U(),Sr=function(){var Wn=0;return bn.map(function(gr,na){var jn=Bn[na]||Bn[Bn.length-1],un=jn&&Object(ee.a)(jn)==="object"?"url(#".concat(Ut,")"):void 0,zt=me(Pt,Qt,Wn,gr,Dt,at,ft,jn,Te,_t);return Wn+=gr,x.createElement("circle",{key:na,className:"".concat(Ve,"-circle-path"),r:At,cx:0,cy:0,stroke:un,strokeLinecap:Te,strokeWidth:_t,opacity:gr===0?0:1,style:zt,ref:function(H){Tr[na]=H}})}).reverse()},Wr=function(){var Wn=Math.round($n*(bn[0]/100)),gr=100/$n,na=0;return new Array($n).fill(null).map(function(jn,un){var zt=un<=Wn-1?Bn[0]:Fe,Bt=zt&&Object(ee.a)(zt)==="object"?"url(#".concat(Ut,")"):void 0,H=me(Pt,Qt,na,gr,Dt,at,ft,zt,"butt",_t,hn);return na+=(Qt-H.strokeDashoffset+hn)*100/Qt,x.createElement("circle",{key:un,className:"".concat(Ve,"-circle-path"),r:At,cx:0,cy:0,stroke:Bt,strokeWidth:_t,opacity:1,style:H,ref:function(nt){Tr[un]=nt}})})};return x.createElement("svg",Object(m.a)({className:y()("".concat(Ve,"-circle"),le),viewBox:"".concat(-ge/2," ").concat(-ge/2," ").concat(ge," ").concat(ge),style:ut,id:Se,role:"presentation"},Tt),Tn&&x.createElement("defs",null,x.createElement("linearGradient",{id:Ut,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Tn).sort(function(br,Wn){return he(br)-he(Wn)}).map(function(br,Wn){return x.createElement("stop",{key:Wn,offset:br,stopColor:Tn[br]})}))),!$n&&x.createElement("circle",{className:"".concat(Ve,"-circle-trail"),r:At,cx:0,cy:0,stroke:Fe,strokeLinecap:Te,strokeWidth:bt||_t,style:_n}),$n?Wr():Sr())},xe=Z,Ee={Line:X,Circle:xe};function Le(vt){return!vt||vt<0?0:vt>100?100:vt}function we(vt){var qe=vt.success,Re=vt.successPercent,Se=Re;return qe&&"progress"in qe&&(Se=qe.progress),qe&&"percent"in qe&&(Se=qe.percent),Se}function fe(vt){var qe=vt.percent,Re=vt.success,Se=vt.successPercent,Ve=Le(we({success:Re,successPercent:Se}));return[Ve,Le(Le(qe)-Ve)]}function pe(vt){var qe=vt.success,Re=qe===void 0?{}:qe,Se=vt.strokeColor,Ve=Re.strokeColor;return[Ve||D.presetPrimaryColors.green,Se||null]}var Ke=function(qe){var Re=qe.prefixCls,Se=qe.width,Ve=qe.strokeWidth,Ge=qe.trailColor,_t=Ge===void 0?null:Ge,bt=qe.strokeLinecap,gt=bt===void 0?"round":bt,at=qe.gapPosition,ft=qe.gapDegree,Fe=qe.type,Te=qe.children,ut=qe.success,le=Se||120,$e={width:le,height:le,fontSize:le*.15+6},Qe=Ve||6,Tt=at||Fe==="dashboard"&&"bottom"||void 0,Ot=function(){if(ft||ft===0)return ft;if(Fe==="dashboard")return 75},Ut=Object.prototype.toString.call(qe.strokeColor)==="[object Object]",At=pe({success:ut,strokeColor:qe.strokeColor}),Pt=y()("".concat(Re,"-inner"),Object(E.a)({},"".concat(Re,"-circle-gradient"),Ut));return x.createElement("div",{className:Pt,style:$e},x.createElement(xe,{percent:fe(qe),strokeWidth:Qe,trailWidth:Qe,strokeColor:At,strokeLinecap:gt,trailColor:_t,prefixCls:Re,gapDegree:Ot(),gapPosition:Tt}),Te)},Me=Ke,ze=function(vt,qe){var Re={};for(var Se in vt)Object.prototype.hasOwnProperty.call(vt,Se)&&qe.indexOf(Se)<0&&(Re[Se]=vt[Se]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Se=Object.getOwnPropertySymbols(vt);Ve<Se.length;Ve++)qe.indexOf(Se[Ve])<0&&Object.prototype.propertyIsEnumerable.call(vt,Se[Ve])&&(Re[Se[Ve]]=vt[Se[Ve]]);return Re},Ue=function(qe){var Re=[];return Object.keys(qe).forEach(function(Se){var Ve=parseFloat(Se.replace(/%/g,""));isNaN(Ve)||Re.push({key:Ve,value:qe[Se]})}),Re=Re.sort(function(Se,Ve){return Se.key-Ve.key}),Re.map(function(Se){var Ve=Se.key,Ge=Se.value;return"".concat(Ge," ").concat(Ve,"%")}).join(", ")},He=function(qe,Re){var Se=qe.from,Ve=Se===void 0?D.presetPrimaryColors.blue:Se,Ge=qe.to,_t=Ge===void 0?D.presetPrimaryColors.blue:Ge,bt=qe.direction,gt=bt===void 0?Re==="rtl"?"to left":"to right":bt,at=ze(qe,["from","to","direction"]);if(Object.keys(at).length!==0){var ft=Ue(at);return{backgroundImage:"linear-gradient(".concat(gt,", ").concat(ft,")")}}return{backgroundImage:"linear-gradient(".concat(gt,", ").concat(Ve,", ").concat(_t,")")}},Ne=function(qe){var Re=qe.prefixCls,Se=qe.direction,Ve=qe.percent,Ge=qe.strokeWidth,_t=qe.size,bt=qe.strokeColor,gt=qe.strokeLinecap,at=gt===void 0?"round":gt,ft=qe.children,Fe=qe.trailColor,Te=Fe===void 0?null:Fe,ut=qe.success,le=bt&&typeof bt!="string"?He(bt,Se):{background:bt},$e=at==="square"||at==="butt"?0:void 0,Qe={backgroundColor:Te||void 0,borderRadius:$e},Tt=Object(m.a)({width:"".concat(Le(Ve),"%"),height:Ge||(_t==="small"?6:8),borderRadius:$e},le),Ot=we(qe),Ut={width:"".concat(Le(Ot),"%"),height:Ge||(_t==="small"?6:8),borderRadius:$e,backgroundColor:ut==null?void 0:ut.strokeColor},At=Ot!==void 0?x.createElement("div",{className:"".concat(Re,"-success-bg"),style:Ut}):null;return x.createElement(x.Fragment,null,x.createElement("div",{className:"".concat(Re,"-outer")},x.createElement("div",{className:"".concat(Re,"-inner"),style:Qe},x.createElement("div",{className:"".concat(Re,"-bg"),style:Tt}),At)),ft)},it=Ne,Xe=function(qe){for(var Re=qe.size,Se=qe.steps,Ve=qe.percent,Ge=Ve===void 0?0:Ve,_t=qe.strokeWidth,bt=_t===void 0?8:_t,gt=qe.strokeColor,at=qe.trailColor,ft=at===void 0?null:at,Fe=qe.prefixCls,Te=qe.children,ut=Math.round(Se*(Ge/100)),le=Re==="small"?2:14,$e=new Array(Se),Qe=0;Qe<Se;Qe++){var Tt=Array.isArray(gt)?gt[Qe]:gt;$e[Qe]=x.createElement("div",{key:Qe,className:y()("".concat(Fe,"-steps-item"),Object(E.a)({},"".concat(Fe,"-steps-item-active"),Qe<=ut-1)),style:{backgroundColor:Qe<=ut-1?Tt:ft,width:le,height:bt}})}return x.createElement("div",{className:"".concat(Fe,"-steps-outer")},$e,Te)},ht=Xe,lt=function(vt,qe){var Re={};for(var Se in vt)Object.prototype.hasOwnProperty.call(vt,Se)&&qe.indexOf(Se)<0&&(Re[Se]=vt[Se]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Se=Object.getOwnPropertySymbols(vt);Ve<Se.length;Ve++)qe.indexOf(Se[Ve])<0&&Object.prototype.propertyIsEnumerable.call(vt,Se[Ve])&&(Re[Se[Ve]]=vt[Se[Ve]]);return Re},Et=Object(j.a)("line","circle","dashboard"),tt=Object(j.a)("normal","exception","active","success"),mt=function(qe){var Re,Se=qe.prefixCls,Ve=qe.className,Ge=qe.steps,_t=qe.strokeColor,bt=qe.percent,gt=bt===void 0?0:bt,at=qe.size,ft=at===void 0?"default":at,Fe=qe.showInfo,Te=Fe===void 0?!0:Fe,ut=qe.type,le=ut===void 0?"line":ut,$e=lt(qe,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]);function Qe(){var Bn=we(qe);return parseInt(Bn!==void 0?Bn.toString():gt.toString(),10)}function Tt(){var Bn=qe.status;return!tt.includes(Bn)&&Qe()>=100?"success":Bn||"normal"}function Ot(Bn,Tn){var Tr=qe.format,Sr=we(qe);if(!Te)return null;var Wr,br=Tr||function(gr){return"".concat(gr,"%")},Wn=le==="line";return Tr||Tn!=="exception"&&Tn!=="success"?Wr=br(Le(gt),Le(Sr)):Tn==="exception"?Wr=Wn?x.createElement(k.a,null):x.createElement(A.a,null):Tn==="success"&&(Wr=Wn?x.createElement(O.a,null):x.createElement(C.a,null)),x.createElement("span",{className:"".concat(Bn,"-text"),title:typeof Wr=="string"?Wr:void 0},Wr)}var Ut=x.useContext(T.b),At=Ut.getPrefixCls,Pt=Ut.direction,Dt=At("progress",Se),Qt=Tt(),cn=Ot(Dt,Qt),$n=Array.isArray(_t)?_t[0]:_t,hn=typeof _t=="string"||Array.isArray(_t)?_t:void 0,_n;le==="line"?_n=Ge?x.createElement(ht,Object(m.a)({},qe,{strokeColor:hn,prefixCls:Dt,steps:Ge}),cn):x.createElement(it,Object(m.a)({},qe,{strokeColor:$n,prefixCls:Dt,direction:Pt}),cn):(le==="circle"||le==="dashboard")&&(_n=x.createElement(Me,Object(m.a)({},qe,{strokeColor:$n,prefixCls:Dt,progressStatus:Qt}),cn));var bn=y()(Dt,(Re={},Object(E.a)(Re,"".concat(Dt,"-").concat(le==="dashboard"&&"circle"||Ge&&"steps"||le),!0),Object(E.a)(Re,"".concat(Dt,"-status-").concat(Qt),!0),Object(E.a)(Re,"".concat(Dt,"-show-info"),Te),Object(E.a)(Re,"".concat(Dt,"-").concat(ft),ft),Object(E.a)(Re,"".concat(Dt,"-rtl"),Pt==="rtl"),Re),Ve);return x.createElement("div",Object(m.a)({},Object(w.a)($e,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:bn,role:"progressbar"}),_n)},xt=mt,Xt=R.a=xt},CH3K:function(ce,R){function l(E,m){for(var O=-1,C=m.length,k=E.length;++O<C;)E[k+O]=m[O];return E}ce.exports=l},CIAZ:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ChromePointer=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.ChromePointer=function(){var y=(0,C.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return m.default.createElement("div",{style:y.picker})};R.default=A},CMye:function(ce,R,l){var E=l("GoyQ");function m(O){return O===O&&!E(O)}ce.exports=m},CO2k:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("/dTS"),S=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{union:function(w){var x=C(this),T=new(A(x,O("Set")))(x);return S(w,k(T.add),T),T}})},CRpX:function(ce,R,l){var E=l("ukPv"),m=l("XX5T"),O=l("FbcW"),C=l("lz10"),k=l("2kyd"),A=k("iterator"),S=k("toStringTag"),y=O.values;for(var w in m){var x=E[w],T=x&&x.prototype;if(T){if(T[A]!==y)try{C(T,A,y)}catch(D){T[A]=y}if(T[S]||C(T,S,w),m[w]){for(var j in O)if(T[j]!==O[j])try{C(T,j,O[j])}catch(D){T[j]=O[j]}}}}},CSFr:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=Math.imul,C=m(function(){return O(4294967295,5)!=-5||O.length!=2});E({target:"Math",stat:!0,forced:C},{imul:function(A,S){var y=65535,w=+A,x=+S,T=y&w,j=y&x;return 0|T*j+((y&w>>>16)*j+T*(y&x>>>16)<<16>>>0)}})},CVnW:function(ce,R,l){"use strict";l.d(R,"p",function(){return N}),l.d(R,"G",function(){return F}),l.d(R,"d",function(){return B}),l.d(R,"I",function(){return U}),l.d(R,"J",function(){return J}),l.d(R,"m",function(){return $}),l.d(R,"i",function(){return X}),l.d(R,"r",function(){return ie}),l.d(R,"s",function(){return G}),l.d(R,"K",function(){return Q}),l.d(R,"u",function(){return W}),l.d(R,"k",function(){return ne}),l.d(R,"H",function(){return te}),l.d(R,"N",function(){return _e}),l.d(R,"n",function(){return he}),l.d(R,"o",function(){return oe}),l.d(R,"F",function(){return ge}),l.d(R,"c",function(){return Z}),l.d(R,"h",function(){return xe}),l.d(R,"t",function(){return Ee}),l.d(R,"w",function(){return Le}),l.d(R,"C",function(){return we}),l.d(R,"D",function(){return fe}),l.d(R,"z",function(){return pe}),l.d(R,"A",function(){return Ke}),l.d(R,"E",function(){return ze}),l.d(R,"v",function(){return Ue}),l.d(R,"x",function(){return He}),l.d(R,"y",function(){return Ne}),l.d(R,"B",function(){return it}),l.d(R,"l",function(){return Xe}),l.d(R,"O",function(){return ht}),l.d(R,"P",function(){return lt}),l.d(R,"Q",function(){return Et}),l.d(R,"S",function(){return tt}),l.d(R,"M",function(){return mt}),l.d(R,"b",function(){return xt}),l.d(R,"T",function(){return Xt}),l.d(R,"R",function(){return qe}),l.d(R,"f",function(){return bt}),l.d(R,"e",function(){return gt}),l.d(R,"g",function(){return at}),l.d(R,"j",function(){return ft}),l.d(R,"q",function(){return Fe}),l.d(R,"L",function(){return Te}),l.d(R,"a",function(){return ut});var E=l("rDUr"),m=_e(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(le,$e){return le["[object "+$e+"]"]=!0,le},{}),O=_e(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(le,$e){return le["[object "+$e+"Array]"]=!0,le},{}),C=Object.prototype.toString,k=Array.prototype,A=k.forEach,S=k.filter,y=k.slice,w=k.map,x=function(){}.constructor,T=x?x.prototype:null,j="__proto__",D=2311;function N(){return D++}function F(){for(var le=[],$e=0;$e<arguments.length;$e++)le[$e]=arguments[$e];typeof console!="undefined"&&console.error.apply(console,le)}function B(le){if(le==null||typeof le!="object")return le;var $e=le,Qe=C.call(le);if(Qe==="[object Array]"){if(!Re(le)){$e=[];for(var Tt=0,Ot=le.length;Tt<Ot;Tt++)$e[Tt]=B(le[Tt])}}else if(O[Qe]){if(!Re(le)){var Ut=le.constructor;if(Ut.from)$e=Ut.from(le);else{$e=new Ut(le.length);for(var Tt=0,Ot=le.length;Tt<Ot;Tt++)$e[Tt]=le[Tt]}}}else if(!m[Qe]&&!Re(le)&&!Ue(le)){$e={};for(var At in le)le.hasOwnProperty(At)&&At!==j&&($e[At]=B(le[At]))}return $e}function U(le,$e,Qe){if(!Ke($e)||!Ke(le))return Qe?B($e):le;for(var Tt in $e)if($e.hasOwnProperty(Tt)&&Tt!==j){var Ot=le[Tt],Ut=$e[Tt];Ke(Ut)&&Ke(Ot)&&!Ee(Ut)&&!Ee(Ot)&&!Ue(Ut)&&!Ue(Ot)&&!Me(Ut)&&!Me(Ot)&&!Re(Ut)&&!Re(Ot)?U(Ot,Ut,Qe):(Qe||!(Tt in le))&&(le[Tt]=B($e[Tt]))}return le}function J(le,$e){for(var Qe=le[0],Tt=1,Ot=le.length;Tt<Ot;Tt++)Qe=U(Qe,le[Tt],$e);return Qe}function $(le,$e){if(Object.assign)Object.assign(le,$e);else for(var Qe in $e)$e.hasOwnProperty(Qe)&&Qe!==j&&(le[Qe]=$e[Qe]);return le}function X(le,$e,Qe){for(var Tt=ge($e),Ot=0;Ot<Tt.length;Ot++){var Ut=Tt[Ot];(Qe?$e[Ut]!=null:le[Ut]==null)&&(le[Ut]=$e[Ut])}return le}var ee=E.d.createCanvas;function ie(le,$e){if(le){if(le.indexOf)return le.indexOf($e);for(var Qe=0,Tt=le.length;Qe<Tt;Qe++)if(le[Qe]===$e)return Qe}return-1}function G(le,$e){var Qe=le.prototype;function Tt(){}Tt.prototype=$e.prototype,le.prototype=new Tt;for(var Ot in Qe)Qe.hasOwnProperty(Ot)&&(le.prototype[Ot]=Qe[Ot]);le.prototype.constructor=le,le.superClass=$e}function Q(le,$e,Qe){if(le="prototype"in le?le.prototype:le,$e="prototype"in $e?$e.prototype:$e,Object.getOwnPropertyNames)for(var Tt=Object.getOwnPropertyNames($e),Ot=0;Ot<Tt.length;Ot++){var Ut=Tt[Ot];Ut!=="constructor"&&(Qe?$e[Ut]!=null:le[Ut]==null)&&(le[Ut]=$e[Ut])}else X(le,$e,Qe)}function W(le){return!le||typeof le=="string"?!1:typeof le.length=="number"}function ne(le,$e,Qe){if(!!(le&&$e))if(le.forEach&&le.forEach===A)le.forEach($e,Qe);else if(le.length===+le.length)for(var Tt=0,Ot=le.length;Tt<Ot;Tt++)$e.call(Qe,le[Tt],Tt,le);else for(var Ut in le)le.hasOwnProperty(Ut)&&$e.call(Qe,le[Ut],Ut,le)}function te(le,$e,Qe){if(!le)return[];if(!$e)return tt(le);if(le.map&&le.map===w)return le.map($e,Qe);for(var Tt=[],Ot=0,Ut=le.length;Ot<Ut;Ot++)Tt.push($e.call(Qe,le[Ot],Ot,le));return Tt}function _e(le,$e,Qe,Tt){if(!!(le&&$e)){for(var Ot=0,Ut=le.length;Ot<Ut;Ot++)Qe=$e.call(Tt,Qe,le[Ot],Ot,le);return Qe}}function he(le,$e,Qe){if(!le)return[];if(!$e)return tt(le);if(le.filter&&le.filter===S)return le.filter($e,Qe);for(var Tt=[],Ot=0,Ut=le.length;Ot<Ut;Ot++)$e.call(Qe,le[Ot],Ot,le)&&Tt.push(le[Ot]);return Tt}function oe(le,$e,Qe){if(!!(le&&$e)){for(var Tt=0,Ot=le.length;Tt<Ot;Tt++)if($e.call(Qe,le[Tt],Tt,le))return le[Tt]}}function ge(le){if(!le)return[];if(Object.keys)return Object.keys(le);var $e=[];for(var Qe in le)le.hasOwnProperty(Qe)&&$e.push(Qe);return $e}function me(le,$e){for(var Qe=[],Tt=2;Tt<arguments.length;Tt++)Qe[Tt-2]=arguments[Tt];return function(){return le.apply($e,Qe.concat(y.call(arguments)))}}var Z=T&&Le(T.bind)?T.call.bind(T.bind):me;function xe(le){for(var $e=[],Qe=1;Qe<arguments.length;Qe++)$e[Qe-1]=arguments[Qe];return function(){return le.apply(this,$e.concat(y.call(arguments)))}}function Ee(le){return Array.isArray?Array.isArray(le):C.call(le)==="[object Array]"}function Le(le){return typeof le=="function"}function we(le){return typeof le=="string"}function fe(le){return C.call(le)==="[object String]"}function pe(le){return typeof le=="number"}function Ke(le){var $e=typeof le;return $e==="function"||!!le&&$e==="object"}function Me(le){return!!m[C.call(le)]}function ze(le){return!!O[C.call(le)]}function Ue(le){return typeof le=="object"&&typeof le.nodeType=="number"&&typeof le.ownerDocument=="object"}function He(le){return le.colorStops!=null}function Ne(le){return le.image!=null}function it(le){return C.call(le)==="[object RegExp]"}function Xe(le){return le!==le}function ht(){for(var le=[],$e=0;$e<arguments.length;$e++)le[$e]=arguments[$e];for(var Qe=0,Tt=le.length;Qe<Tt;Qe++)if(le[Qe]!=null)return le[Qe]}function lt(le,$e){return le!=null?le:$e}function Et(le,$e,Qe){return le!=null?le:$e!=null?$e:Qe}function tt(le){for(var $e=[],Qe=1;Qe<arguments.length;Qe++)$e[Qe-1]=arguments[Qe];return y.apply(le,$e)}function mt(le){if(typeof le=="number")return[le,le,le,le];var $e=le.length;return $e===2?[le[0],le[1],le[0],le[1]]:$e===3?[le[0],le[1],le[2],le[1]]:le}function xt(le,$e){if(!le)throw new Error($e)}function Xt(le){return le==null?null:typeof le.trim=="function"?le.trim():le.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var vt="__ec_primitive__";function qe(le){le[vt]=!0}function Re(le){return le[vt]}var Se=function(){function le(){this.data={}}return le.prototype.delete=function($e){var Qe=this.has($e);return Qe&&delete this.data[$e],Qe},le.prototype.has=function($e){return this.data.hasOwnProperty($e)},le.prototype.get=function($e){return this.data[$e]},le.prototype.set=function($e,Qe){return this.data[$e]=Qe,this},le.prototype.keys=function(){return ge(this.data)},le.prototype.forEach=function($e){var Qe=this.data;for(var Tt in Qe)Qe.hasOwnProperty(Tt)&&$e(Qe[Tt],Tt)},le}(),Ve=typeof Map=="function";function Ge(){return Ve?new Map:new Se}var _t=function(){function le($e){var Qe=Ee($e);this.data=Ge();var Tt=this;$e instanceof le?$e.each(Ot):$e&&ne($e,Ot);function Ot(Ut,At){Qe?Tt.set(Ut,At):Tt.set(At,Ut)}}return le.prototype.hasKey=function($e){return this.data.has($e)},le.prototype.get=function($e){return this.data.get($e)},le.prototype.set=function($e,Qe){return this.data.set($e,Qe),Qe},le.prototype.each=function($e,Qe){this.data.forEach(function(Tt,Ot){$e.call(Qe,Tt,Ot)})},le.prototype.keys=function(){var $e=this.data.keys();return Ve?Array.from($e):$e},le.prototype.removeKey=function($e){this.data.delete($e)},le}();function bt(le){return new _t(le)}function gt(le,$e){for(var Qe=new le.constructor(le.length+$e.length),Tt=0;Tt<le.length;Tt++)Qe[Tt]=le[Tt];for(var Ot=le.length,Tt=0;Tt<$e.length;Tt++)Qe[Tt+Ot]=$e[Tt];return Qe}function at(le,$e){var Qe;if(Object.create)Qe=Object.create(le);else{var Tt=function(){};Tt.prototype=le,Qe=new Tt}return $e&&$(Qe,$e),Qe}function ft(le){var $e=le.style;$e.webkitUserSelect="none",$e.userSelect="none",$e.webkitTapHighlightColor="rgba(0,0,0,0)",$e["-webkit-touch-callout"]="none"}function Fe(le,$e){return le.hasOwnProperty($e)}function Te(){}var ut=180/Math.PI},"CWI+":function(ce,R,l){},CWID:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("zv1X").find,O=l("eNh0"),C=l("kGMc"),k="find",A=!0,S=C(k);k in[]&&Array(1)[k](function(){A=!1}),E({target:"Array",proto:!0,forced:A||!S},{find:function(w){return m(this,w,arguments.length>1?arguments[1]:void 0)}}),O(k)},CWQg:function(ce,R,l){"use strict";l.d(R,"a",function(){return E}),l.d(R,"b",function(){return m});var E=function(){for(var C=arguments.length,k=new Array(C),A=0;A<C;A++)k[A]=arguments[A];return k},m=function(){for(var C=arguments.length,k=new Array(C),A=0;A<C;A++)k[A]=arguments[A];return k}},CZoQ:function(ce,R){function l(E,m,O){for(var C=O-1,k=E.length;++C<k;)if(E[C]===m)return C;return-1}ce.exports=l},CdV7:function(ce,R,l){var E=l("tny8"),m=l("P0e2"),O=l("0qr0"),C=l("e3V2").f,k=function(A){return function(S){for(var y=O(S),w=m(y),x=w.length,T=0,j=[],D;x>T;)D=w[T++],(!E||C.call(y,D))&&j.push(A?[D,y[D]]:y[D]);return j}};ce.exports={entries:k(!0),values:k(!1)}},CeSn:function(ce,R){var l=0/0,E="[object Symbol]",m=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,k=/^0o[0-7]+$/i,A=parseInt,S=Object.prototype,y=S.toString;function w(D){var N=typeof D;return!!D&&(N=="object"||N=="function")}function x(D){return!!D&&typeof D=="object"}function T(D){return typeof D=="symbol"||x(D)&&y.call(D)==E}function j(D){if(typeof D=="number")return D;if(T(D))return l;if(w(D)){var N=typeof D.valueOf=="function"?D.valueOf():D;D=w(N)?N+"":N}if(typeof D!="string")return D===0?D:+D;D=D.replace(m,"");var F=C.test(D);return F||k.test(D)?A(D.slice(2),F?2:8):O.test(D)?l:+D}ce.exports=j},CjUg:function(ce,R,l){var E=l("xxaU"),m=l("evbn"),O=E("keys");ce.exports=function(C){return O[C]||(O[C]=m(C))}},CjYj:function(ce,R,l){"use strict";var E={foo:{}},m=Object;ce.exports=function(){return{__proto__:E}.foo===E.foo&&!({__proto__:null}instanceof m)}},CkqQ:function(ce,R,l){var E=l("MMxC"),m=Math.asinh,O=Math.log,C=Math.sqrt;function k(A){return!isFinite(A=+A)||A==0?A:A<0?-k(-A):O(A+C(A*A+1))}E({target:"Math",stat:!0,forced:!(m&&1/m(0)>0)},{asinh:k})},Cq6t:function(ce,R){var l=1/0,E=Math.abs,m=Math.pow,O=Math.floor,C=Math.log,k=Math.LN2,A=function(y,w,x){var T=new Array(x),j=x*8-w-1,D=(1<<j)-1,N=D>>1,F=w===23?m(2,-24)-m(2,-77):0,B=y<0||y===0&&1/y<0?1:0,U=0,J,$,X;for(y=E(y),y!=y||y===l?($=y!=y?1:0,J=D):(J=O(C(y)/k),y*(X=m(2,-J))<1&&(J--,X*=2),J+N>=1?y+=F/X:y+=F*m(2,1-N),y*X>=2&&(J++,X/=2),J+N>=D?($=0,J=D):J+N>=1?($=(y*X-1)*m(2,w),J=J+N):($=y*m(2,N-1)*m(2,w),J=0));w>=8;T[U++]=$&255,$/=256,w-=8);for(J=J<<w|$,j+=w;j>0;T[U++]=J&255,J/=256,j-=8);return T[--U]|=B*128,T},S=function(y,w){var x=y.length,T=x*8-w-1,j=(1<<T)-1,D=j>>1,N=T-7,F=x-1,B=y[F--],U=B&127,J;for(B>>=7;N>0;U=U*256+y[F],F--,N-=8);for(J=U&(1<<-N)-1,U>>=-N,N+=w;N>0;J=J*256+y[F],F--,N-=8);if(U===0)U=1-D;else{if(U===j)return J?NaN:B?-l:l;J=J+m(2,w),U=U-D}return(B?-1:1)*J*m(2,U-w)};ce.exports={pack:A,unpack:S}},CqGu:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="ZoomOutOutlined";var S=R.a=m.forwardRef(A)},Cwc5:function(ce,R,l){var E=l("NKxu"),m=l("Npjl");function O(C,k){var A=m(C,k);return E(A)?A:void 0}ce.exports=O},D1Ff:function(ce,R,l){var E=l("MMxC");E({target:"Reflect",stat:!0},{has:function(O,C){return C in O}})},D2BO:function(ce,R,l){ce.exports={normalState:"normalState___rTQ99",backNormal:"backNormal___1gKZt",maxState:"maxState___2W7kq",innerWrap:"innerWrap___7Y-5N",fullscreenExitIcon:"fullscreenExitIcon___xj4Wz"}},D3zA:function(ce,R,l){"use strict";var E=l("aI7X");ce.exports=Function.prototype.bind||E},D7Yy:function(ce,R,l){"use strict";var E=l("ZvpZ");R.a=E.a},D9lx:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingInWhenOnSyntax=void 0;var E=l("6AGu"),m=l("406g"),O=l("z4Hk"),C=function(){function k(A){this._binding=A,this._bindingWhenSyntax=new O.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new m.BindingOnSyntax(this._binding),this._bindingInSyntax=new E.BindingInSyntax(A)}return k.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},k.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},k.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},k.prototype.when=function(A){return this._bindingWhenSyntax.when(A)},k.prototype.whenTargetNamed=function(A){return this._bindingWhenSyntax.whenTargetNamed(A)},k.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},k.prototype.whenTargetTagged=function(A,S){return this._bindingWhenSyntax.whenTargetTagged(A,S)},k.prototype.whenInjectedInto=function(A){return this._bindingWhenSyntax.whenInjectedInto(A)},k.prototype.whenParentNamed=function(A){return this._bindingWhenSyntax.whenParentNamed(A)},k.prototype.whenParentTagged=function(A,S){return this._bindingWhenSyntax.whenParentTagged(A,S)},k.prototype.whenAnyAncestorIs=function(A){return this._bindingWhenSyntax.whenAnyAncestorIs(A)},k.prototype.whenNoAncestorIs=function(A){return this._bindingWhenSyntax.whenNoAncestorIs(A)},k.prototype.whenAnyAncestorNamed=function(A){return this._bindingWhenSyntax.whenAnyAncestorNamed(A)},k.prototype.whenAnyAncestorTagged=function(A,S){return this._bindingWhenSyntax.whenAnyAncestorTagged(A,S)},k.prototype.whenNoAncestorNamed=function(A){return this._bindingWhenSyntax.whenNoAncestorNamed(A)},k.prototype.whenNoAncestorTagged=function(A,S){return this._bindingWhenSyntax.whenNoAncestorTagged(A,S)},k.prototype.whenAnyAncestorMatches=function(A){return this._bindingWhenSyntax.whenAnyAncestorMatches(A)},k.prototype.whenNoAncestorMatches=function(A){return this._bindingWhenSyntax.whenNoAncestorMatches(A)},k.prototype.onActivation=function(A){return this._bindingOnSyntax.onActivation(A)},k}();R.BindingInWhenOnSyntax=C},DAQ8:function(ce,R,l){},DFOY:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("U8pU"),C=l("KQm4"),k=l("5bA4"),A=l("ye1Q"),S=l("UESt"),y=l("TSYQ"),w=l.n(y),x=l("ODXe"),T=l("Ff2n"),j=l("LdHM"),D=l("18yb"),N=l("NvD2"),F=l("q1tI");function B(un){var zt=F.useRef();zt.current=un;var Bt=F.useCallback(function(){for(var H,ot=arguments.length,nt=new Array(ot),Ct=0;Ct<ot;Ct++)nt[Ct]=arguments[Ct];return(H=zt.current)===null||H===void 0?void 0:H.call.apply(H,[zt].concat(nt))},[]);return Bt}function U(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var J=U()?F.useLayoutEffect:F.useEffect,$=function(zt,Bt){var H=F.useRef(!0);J(function(){return zt(H.current)},Bt),J(function(){return H.current=!1,function(){H.current=!0}},[])},X=function(zt,Bt){$(function(H){if(!H)return zt()},Bt)},ee=$;function ie(un){var zt=F.useRef(!1),Bt=F.useState(un),H=Object(x.a)(Bt,2),ot=H[0],nt=H[1];F.useEffect(function(){return zt.current=!1,function(){zt.current=!0}},[]);function Ct(Wt,kn){kn&&zt.current||nt(Wt)}return[ot,Ct]}function G(un){return un!==void 0}function Q(un,zt){var Bt=zt||{},H=Bt.defaultValue,ot=Bt.value,nt=Bt.onChange,Ct=Bt.postState,Wt=ie(function(){return G(ot)?ot:G(H)?typeof H=="function"?H():H:typeof un=="function"?un():un}),kn=Object(x.a)(Wt,2),Sn=kn[0],Zn=kn[1],Or=ot!==void 0?ot:Sn,Yn=Ct?Ct(Or):Or,Nn=B(nt),Zt=ie([Or]),rr=Object(x.a)(Zt,2),Gn=rr[0],ln=rr[1];X(function(){var Kn=Gn[0];Sn!==Kn&&Nn(Sn,Kn)},[Gn]),X(function(){G(ot)||Zn(ot)},[ot]);var Xn=B(function(Kn,fr){Zn(Kn,fr),ln([Or],fr)});return[Yn,Xn]}var W=F.createContext(null),ne=W,te="__RC_CASCADER_SPLIT__",_e="SHOW_PARENT",he="SHOW_CHILD";function oe(un){return un.join(te)}function ge(un){return un.map(oe)}function me(un){return un.split(te)}function Z(un){var zt=un||{},Bt=zt.label,H=zt.value,ot=zt.children,nt=H||"value";return{label:Bt||"label",value:nt,key:nt,children:ot||"children"}}function xe(un,zt){var Bt,H;return(Bt=un.isLeaf)!==null&&Bt!==void 0?Bt:!((H=un[zt.children])===null||H===void 0?void 0:H.length)}function Ee(un){var zt=un.parentElement;if(!!zt){var Bt=un.offsetTop-zt.offsetTop;Bt-zt.scrollTop<0?zt.scrollTo({top:Bt}):Bt+un.offsetHeight-zt.scrollTop>zt.offsetHeight&&zt.scrollTo({top:Bt+un.offsetHeight-zt.offsetHeight})}}function Le(un,zt,Bt){var H=new Set(un),ot=zt();return un.filter(function(nt){var Ct=ot[nt],Wt=Ct?Ct.parent:null,kn=Ct?Ct.children:null;return Bt===he?!(kn&&kn.some(function(Sn){return Sn.key&&H.has(Sn.key)})):!(Wt&&!Wt.node.disabled&&H.has(Wt.key))})}function we(un,zt,Bt){for(var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ot=zt,nt=[],Ct=function(){var Sn,Zn,Or,Yn=un[Wt],Nn=(Sn=ot)===null||Sn===void 0?void 0:Sn.findIndex(function(rr){var Gn=rr[Bt.value];return H?String(Gn)===String(Yn):Gn===Yn}),Zt=Nn!==-1?(Zn=ot)===null||Zn===void 0?void 0:Zn[Nn]:null;nt.push({value:(Or=Zt==null?void 0:Zt[Bt.value])!==null&&Or!==void 0?Or:Yn,index:Nn,option:Zt}),ot=Zt==null?void 0:Zt[Bt.children]},Wt=0;Wt<un.length;Wt+=1)Ct();return nt}var fe=function(un,zt,Bt,H,ot){return F.useMemo(function(){var nt=ot||function(Ct){var Wt=H?Ct.slice(-1):Ct,kn=" / ";return Wt.every(function(Sn){return["string","number"].includes(Object(O.a)(Sn))})?Wt.join(kn):Wt.reduce(function(Sn,Zn,Or){var Yn=F.isValidElement(Zn)?F.cloneElement(Zn,{key:Or}):Zn;return Or===0?[Yn]:[].concat(Object(C.a)(Sn),[kn,Yn])},[])};return un.map(function(Ct){var Wt,kn,Sn=we(Ct,zt,Bt),Zn=nt(Sn.map(function(Yn){var Nn,Zt=Yn.option,rr=Yn.value;return(Nn=Zt==null?void 0:Zt[Bt.label])!==null&&Nn!==void 0?Nn:rr}),Sn.map(function(Yn){var Nn=Yn.option;return Nn})),Or=oe(Ct);return{label:Zn,value:Or,key:Or,valueCells:Ct,disabled:(Wt=Sn[Sn.length-1])===null||Wt===void 0||(kn=Wt.option)===null||kn===void 0?void 0:kn.disabled}})},[un,zt,Bt,ot,H])},pe=l("VTBJ"),Ke=l("815F"),Me=function(un,zt){var Bt=F.useRef({options:null,info:null}),H=F.useCallback(function(){return Bt.current.options!==un&&(Bt.current.options=un,Bt.current.info=Object(Ke.a)(un,{fieldNames:zt,initWrapper:function(nt){return Object(pe.a)(Object(pe.a)({},nt),{},{pathKeyEntities:{}})},processEntity:function(nt,Ct){var Wt=nt.nodes.map(function(kn){return kn[zt.value]}).join(te);Ct.pathKeyEntities[Wt]=nt,nt.key=Wt}})),Bt.current.info.pathKeyEntities},[zt,un]);return H},ze=function(un,zt){return F.useCallback(function(Bt){var H=[],ot=[];return Bt.forEach(function(nt){var Ct=we(nt,un,zt);Ct.every(function(Wt){return Wt.option})?ot.push(nt):H.push(nt)}),[ot,H]},[un,zt])};function Ue(un){var zt=F.useRef();zt.current=un;var Bt=F.useCallback(function(){return zt.current.apply(zt,arguments)},[]);return Bt}var He={},Ne=[],it=function(zt){Ne.push(zt)};function Xe(un,zt){if(!1)var Bt}function ht(un,zt){if(!1)var Bt}function lt(){He={}}function Et(un,zt,Bt){!zt&&!He[Bt]&&(un(!1,Bt),He[Bt]=!0)}function tt(un,zt){Et(Xe,un,zt)}function mt(un,zt){Et(ht,un,zt)}tt.preMessage=it,tt.resetWarned=lt,tt.noteOnce=mt;var xt=tt;function Xt(un){return F.useMemo(function(){if(!un)return[!1,{}];var zt={matchInputWidth:!0,limit:50};return un&&Object(O.a)(un)==="object"&&(zt=Object(pe.a)(Object(pe.a)({},zt),un)),zt.limit<=0&&delete zt.limit,[!0,zt]},[un])}var vt="__rc_cascader_search_mark__",qe=function(zt,Bt,H){var ot=H.label;return Bt.some(function(nt){return String(nt[ot]).toLowerCase().includes(zt.toLowerCase())})},Re=function(zt,Bt,H,ot){return Bt.map(function(nt){return nt[ot.label]}).join(" / ")},Se=function(un,zt,Bt,H,ot,nt){var Ct=ot.filter,Wt=Ct===void 0?qe:Ct,kn=ot.render,Sn=kn===void 0?Re:kn,Zn=ot.limit,Or=Zn===void 0?50:Zn,Yn=ot.sort;return F.useMemo(function(){var Nn=[];if(!un)return[];function Zt(rr,Gn){rr.forEach(function(ln){if(!(!Yn&&Or>0&&Nn.length>=Or)){var Xn=[].concat(Object(C.a)(Gn),[ln]),Kn=ln[Bt.children];if((!Kn||Kn.length===0||nt)&&Wt(un,Xn,{label:Bt.label})){var fr;Nn.push(Object(pe.a)(Object(pe.a)({},ln),{},(fr={},Object(m.a)(fr,Bt.label,Sn(un,Xn,H,Bt)),Object(m.a)(fr,vt,Xn),Object(m.a)(fr,Bt.children,void 0),fr)))}Kn&&Zt(ln[Bt.children],Xn)}})}return Zt(zt,[]),Yn&&Nn.sort(function(rr,Gn){return Yn(rr[vt],Gn[vt],un,Bt)}),Or>0?Nn.slice(0,Or):Nn},[un,zt,Bt,H,Sn,nt,Wt,Yn,Or])};function Ve(un){var zt,Bt=un.prefixCls,H=un.checked,ot=un.halfChecked,nt=un.disabled,Ct=un.onClick,Wt=F.useContext(ne),kn=Wt.checkable,Sn=typeof kn!="boolean"?kn:null;return F.createElement("span",{className:w()("".concat(Bt),(zt={},Object(m.a)(zt,"".concat(Bt,"-checked"),H),Object(m.a)(zt,"".concat(Bt,"-indeterminate"),!H&&ot),Object(m.a)(zt,"".concat(Bt,"-disabled"),nt),zt)),onClick:Ct},Sn)}var Ge="__cascader_fix_label__";function _t(un){var zt=un.prefixCls,Bt=un.multiple,H=un.options,ot=un.activeValue,nt=un.prevValuePath,Ct=un.onToggleOpen,Wt=un.onSelect,kn=un.onActive,Sn=un.checkedSet,Zn=un.halfCheckedSet,Or=un.loadingKeys,Yn=un.isSelectable,Nn="".concat(zt,"-menu"),Zt="".concat(zt,"-menu-item"),rr=F.useContext(ne),Gn=rr.fieldNames,ln=rr.changeOnSelect,Xn=rr.expandTrigger,Kn=rr.expandIcon,fr=rr.loadingIcon,Hn=rr.dropdownMenuColumnStyle,Sa=Xn==="hover",Lr=F.useMemo(function(){return H.map(function(Ca){var za,Ma=Ca.disabled,va=Ca[vt],qa=(za=Ca[Ge])!==null&&za!==void 0?za:Ca[Gn.label],gi=Ca[Gn.value],Qi=xe(Ca,Gn),mi=va?va.map(function(Ln){return Ln[Gn.value]}):[].concat(Object(C.a)(nt),[gi]),Cr=oe(mi),Un=Or.includes(Cr),Lt=Sn.has(Cr),gn=Zn.has(Cr);return{disabled:Ma,label:qa,value:gi,isLeaf:Qi,isLoading:Un,checked:Lt,halfChecked:gn,option:Ca,fullPath:mi,fullPathKey:Cr}})},[H,Sn,Gn,Zn,Or,nt]);return F.createElement("ul",{className:Nn,role:"menu"},Lr.map(function(Ca){var za,Ma=Ca.disabled,va=Ca.label,qa=Ca.value,gi=Ca.isLeaf,Qi=Ca.isLoading,mi=Ca.checked,Cr=Ca.halfChecked,Un=Ca.option,Lt=Ca.fullPath,gn=Ca.fullPathKey,Ln=function(){if(!Ma){var Na=Object(C.a)(Lt);Sa&&gi&&Na.pop(),kn(Na)}},kr=function(){Yn(Un)&&Wt(Lt,gi)},ea;return typeof Un.title=="string"?ea=Un.title:typeof va=="string"&&(ea=va),F.createElement("li",{key:gn,className:w()(Zt,(za={},Object(m.a)(za,"".concat(Zt,"-expand"),!gi),Object(m.a)(za,"".concat(Zt,"-active"),ot===qa),Object(m.a)(za,"".concat(Zt,"-disabled"),Ma),Object(m.a)(za,"".concat(Zt,"-loading"),Qi),za)),style:Hn,role:"menuitemcheckbox",title:ea,"aria-checked":mi,"data-path-key":gn,onClick:function(){Ln(),(!Bt||gi)&&kr()},onDoubleClick:function(){ln&&Ct(!1)},onMouseEnter:function(){Sa&&Ln()},onMouseDown:function(Na){Na.preventDefault()}},Bt&&F.createElement(Ve,{prefixCls:"".concat(zt,"-checkbox"),checked:mi,halfChecked:Cr,disabled:Ma,onClick:function(Na){Na.stopPropagation(),kr()}}),F.createElement("div",{className:"".concat(Zt,"-content")},va),!Qi&&Kn&&!gi&&F.createElement("div",{className:"".concat(Zt,"-expand-icon")},Kn),Qi&&fr&&F.createElement("div",{className:"".concat(Zt,"-loading-icon")},fr))}))}var bt=function(){var un=Object(j.e)(),zt=un.multiple,Bt=un.open,H=F.useContext(ne),ot=H.values,nt=F.useState([]),Ct=Object(x.a)(nt,2),Wt=Ct[0],kn=Ct[1];return F.useEffect(function(){if(Bt&&!zt){var Sn=ot[0];kn(Sn||[])}},[Bt]),[Wt,kn]},gt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(zt){var Bt=zt.keyCode;if(zt.altKey&&!zt.ctrlKey||zt.metaKey||Bt>=gt.F1&&Bt<=gt.F12)return!1;switch(Bt){case gt.ALT:case gt.CAPS_LOCK:case gt.CONTEXT_MENU:case gt.CTRL:case gt.DOWN:case gt.END:case gt.ESC:case gt.HOME:case gt.INSERT:case gt.LEFT:case gt.MAC_FF_META:case gt.META:case gt.NUMLOCK:case gt.NUM_CENTER:case gt.PAGE_DOWN:case gt.PAGE_UP:case gt.PAUSE:case gt.PRINT_SCREEN:case gt.RIGHT:case gt.SHIFT:case gt.UP:case gt.WIN_KEY:case gt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(zt){if(zt>=gt.ZERO&&zt<=gt.NINE||zt>=gt.NUM_ZERO&&zt<=gt.NUM_MULTIPLY||zt>=gt.A&&zt<=gt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&zt===0)return!0;switch(zt){case gt.SPACE:case gt.QUESTION_MARK:case gt.NUM_PLUS:case gt.NUM_MINUS:case gt.NUM_PERIOD:case gt.NUM_DIVISION:case gt.SEMICOLON:case gt.DASH:case gt.EQUALS:case gt.COMMA:case gt.PERIOD:case gt.SLASH:case gt.APOSTROPHE:case gt.SINGLE_QUOTE:case gt.OPEN_SQUARE_BRACKET:case gt.BACKSLASH:case gt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},at=gt,ft=function(un,zt,Bt,H,ot,nt){var Ct=Object(j.e)(),Wt=Ct.direction,kn=Ct.searchValue,Sn=Ct.toggleOpen,Zn=Ct.open,Or=Wt==="rtl",Yn=F.useMemo(function(){for(var Hn=-1,Sa=zt,Lr=[],Ca=[],za=H.length,Ma=function(Cr){var Un=Sa.findIndex(function(Lt){return Lt[Bt.value]===H[Cr]});if(Un===-1)return"break";Hn=Un,Lr.push(Hn),Ca.push(H[Cr]),Sa=Sa[Hn][Bt.children]},va=0;va<za&&Sa;va+=1){var qa=Ma(va);if(qa==="break")break}for(var gi=zt,Qi=0;Qi<Lr.length-1;Qi+=1)gi=gi[Lr[Qi]][Bt.children];return[Ca,Hn,gi]},[H,Bt,zt]),Nn=Object(x.a)(Yn,3),Zt=Nn[0],rr=Nn[1],Gn=Nn[2],ln=function(Sa){ot(Sa)},Xn=function(Sa){var Lr=Gn.length,Ca=rr;Ca===-1&&Sa<0&&(Ca=Lr);for(var za=0;za<Lr;za+=1){Ca=(Ca+Sa+Lr)%Lr;var Ma=Gn[Ca];if(Ma&&!Ma.disabled){var va=Ma[Bt.value],qa=Zt.slice(0,-1).concat(va);ln(qa);return}}},Kn=function(){if(Zt.length>1){var Sa=Zt.slice(0,-1);ln(Sa)}else Sn(!1)},fr=function(){var Sa,Lr=((Sa=Gn[rr])===null||Sa===void 0?void 0:Sa[Bt.children])||[],Ca=Lr.find(function(Ma){return!Ma.disabled});if(Ca){var za=[].concat(Object(C.a)(Zt),[Ca[Bt.value]]);ln(za)}};F.useImperativeHandle(un,function(){return{onKeyDown:function(Sa){var Lr=Sa.which;switch(Lr){case at.UP:case at.DOWN:{var Ca=0;Lr===at.UP?Ca=-1:Lr===at.DOWN&&(Ca=1),Ca!==0&&Xn(Ca);break}case at.LEFT:{if(kn)break;Or?fr():Kn();break}case at.RIGHT:{if(kn)break;Or?Kn():fr();break}case at.BACKSPACE:{kn||Kn();break}case at.ENTER:{if(Zt.length){var za=Gn[rr],Ma=(za==null?void 0:za[vt])||[];Ma.length?nt(Ma.map(function(va){return va[Bt.value]}),Ma[Ma.length-1]):nt(Zt,Gn[rr])}break}case at.ESC:Sn(!1),Zn&&Sa.stopPropagation()}},onKeyUp:function(){}}})},Fe=F.forwardRef(function(un,zt){var Bt,H,ot,nt,Ct=Object(j.e)(),Wt=Ct.prefixCls,kn=Ct.multiple,Sn=Ct.searchValue,Zn=Ct.toggleOpen,Or=Ct.notFoundContent,Yn=Ct.direction,Nn=F.useRef(),Zt=Yn==="rtl",rr=F.useContext(ne),Gn=rr.options,ln=rr.values,Xn=rr.halfValues,Kn=rr.fieldNames,fr=rr.changeOnSelect,Hn=rr.onSelect,Sa=rr.searchOptions,Lr=rr.dropdownPrefixCls,Ca=rr.loadData,za=rr.expandTrigger,Ma=Lr||Wt,va=F.useState([]),qa=Object(x.a)(va,2),gi=qa[0],Qi=qa[1],mi=function(Si){if(!(!Ca||Sn)){var qi=we(Si,Gn,Kn),eo=qi.map(function(ba){var sa=ba.option;return sa}),xo=eo[eo.length-1];if(xo&&!xe(xo,Kn)){var cs=oe(Si);Qi(function(ba){return[].concat(Object(C.a)(ba),[cs])}),Ca(eo)}}};F.useEffect(function(){gi.length&&gi.forEach(function(Fi){var Si=me(Fi),qi=we(Si,Gn,Kn,!0).map(function(xo){var cs=xo.option;return cs}),eo=qi[qi.length-1];(!eo||eo[Kn.children]||xe(eo,Kn))&&Qi(function(xo){return xo.filter(function(cs){return cs!==Fi})})})},[Gn,gi,Kn]);var Cr=F.useMemo(function(){return new Set(ge(ln))},[ln]),Un=F.useMemo(function(){return new Set(ge(Xn))},[Xn]),Lt=bt(),gn=Object(x.a)(Lt,2),Ln=gn[0],kr=gn[1],ea=function(Si){kr(Si),mi(Si)},Qr=function(Si){var qi=Si.disabled,eo=xe(Si,Kn);return!qi&&(eo||fr||kn)},Na=function(Si,qi){var eo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Hn(Si),!kn&&(qi||fr&&(za==="hover"||eo))&&Zn(!1)},ar=F.useMemo(function(){return Sn?Sa:Gn},[Sn,Sa,Gn]),pi=F.useMemo(function(){for(var Fi=[{options:ar}],Si=ar,qi=function(){var ba=Ln[eo],sa=Si.find(function(On){return On[Kn.value]===ba}),Da=sa==null?void 0:sa[Kn.children];if(!(Da==null?void 0:Da.length))return"break";Si=Da,Fi.push({options:Da})},eo=0;eo<Ln.length;eo+=1){var xo=qi();if(xo==="break")break}return Fi},[ar,Ln,Kn]),_i=function(Si,qi){Qr(qi)&&Na(Si,xe(qi,Kn),!0)};ft(zt,ar,Kn,Ln,ea,_i),F.useEffect(function(){for(var Fi=0;Fi<Ln.length;Fi+=1){var Si,qi=Ln.slice(0,Fi+1),eo=oe(qi),xo=(Si=Nn.current)===null||Si===void 0?void 0:Si.querySelector('li[data-path-key="'.concat(eo.replace(/\\{0,2}"/g,'\\"'),'"]'));xo&&Ee(xo)}},[Ln]);var ti=!((Bt=pi[0])===null||Bt===void 0||(H=Bt.options)===null||H===void 0?void 0:H.length),ui=[(ot={},Object(m.a)(ot,Kn.value,"__EMPTY__"),Object(m.a)(ot,Ge,Or),Object(m.a)(ot,"disabled",!0),ot)],Ri=Object(pe.a)(Object(pe.a)({},un),{},{multiple:!ti&&kn,onSelect:Na,onActive:ea,onToggleOpen:Zn,checkedSet:Cr,halfCheckedSet:Un,loadingKeys:gi,isSelectable:Qr}),ao=ti?[{options:ui}]:pi,Zi=ao.map(function(Fi,Si){var qi=Ln.slice(0,Si),eo=Ln[Si];return F.createElement(_t,Object(E.a)({key:Si},Ri,{prefixCls:Ma,options:Fi.options,prevValuePath:qi,activeValue:eo}))});return F.createElement("div",{className:w()("".concat(Ma,"-menus"),(nt={},Object(m.a)(nt,"".concat(Ma,"-menu-empty"),ti),Object(m.a)(nt,"".concat(Ma,"-rtl"),Zt),nt)),ref:Nn},Zi)}),Te=Fe;function ut(un){var zt=un.onPopupVisibleChange,Bt=un.popupVisible,H=un.popupClassName,ot=un.popupPlacement;xt(!zt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),xt(Bt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),xt(H===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),xt(ot===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function le(un,zt){if(un){var Bt=function H(ot){for(var nt=0;nt<ot.length;nt++){var Ct=ot[nt];if(Ct[zt==null?void 0:zt.value]===null)return xt(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Ct[zt==null?void 0:zt.children])&&H(Ct[zt==null?void 0:zt.children]))return!0}};Bt(un)}}var $e=ut,Qe=["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 Tt(un){return Array.isArray(un)&&Array.isArray(un[0])}function Ot(un){return un?Tt(un)?un:(un.length===0?[]:[un]).map(function(zt){return Array.isArray(zt)?zt:[zt]}):[]}var Ut=F.forwardRef(function(un,zt){var Bt=un.id,H=un.prefixCls,ot=H===void 0?"rc-cascader":H,nt=un.fieldNames,Ct=un.defaultValue,Wt=un.value,kn=un.changeOnSelect,Sn=un.onChange,Zn=un.displayRender,Or=un.checkable,Yn=un.searchValue,Nn=un.onSearch,Zt=un.showSearch,rr=un.expandTrigger,Gn=un.options,ln=un.dropdownPrefixCls,Xn=un.loadData,Kn=un.popupVisible,fr=un.open,Hn=un.popupClassName,Sa=un.dropdownClassName,Lr=un.dropdownMenuColumnStyle,Ca=un.popupPlacement,za=un.placement,Ma=un.onDropdownVisibleChange,va=un.onPopupVisibleChange,qa=un.expandIcon,gi=qa===void 0?">":qa,Qi=un.loadingIcon,mi=un.children,Cr=un.dropdownMatchSelectWidth,Un=Cr===void 0?!1:Cr,Lt=un.showCheckedStrategy,gn=Lt===void 0?_e:Lt,Ln=Object(T.a)(un,Qe),kr=Object(D.a)(Bt),ea=!!Or,Qr=Q(Ct,{value:Wt,postState:Ot}),Na=Object(x.a)(Qr,2),ar=Na[0],pi=Na[1],_i=F.useMemo(function(){return Z(nt)},[JSON.stringify(nt)]),ti=F.useMemo(function(){return Gn||[]},[Gn]),ui=Me(ti,_i),Ri=F.useCallback(function(io){var Vi=ui();return io.map(function(vo){var qo=Vi[vo].nodes;return qo.map(function(hs){return hs[_i.value]})})},[ui,_i]),ao=Q("",{value:Yn,postState:function(Vi){return Vi||""}}),Zi=Object(x.a)(ao,2),Fi=Zi[0],Si=Zi[1],qi=function(Vi,vo){Si(Vi),vo.source!=="blur"&&Nn&&Nn(Vi)},eo=Xt(Zt),xo=Object(x.a)(eo,2),cs=xo[0],ba=xo[1],sa=Se(Fi,ti,_i,ln||ot,ba,kn),Da=ze(ti,_i),On=F.useMemo(function(){var io=Da(ar),Vi=Object(x.a)(io,2),vo=Vi[0],qo=Vi[1];if(!ea||!ar.length)return[vo,[],qo];var hs=ge(vo),$t=ui(),rt=Object(N.a)(hs,!0,$t),Vt=rt.checkedKeys,tn=rt.halfCheckedKeys;return[Ri(Vt),Ri(tn),qo]},[ea,ar,ui,Ri,Da]),xn=Object(x.a)(On,3),Rt=xn[0],mr=xn[1],ta=xn[2],ma=F.useMemo(function(){var io=ge(Rt),Vi=Le(io,ui,gn);return[].concat(Object(C.a)(ta),Object(C.a)(Ri(Vi)))},[Rt,ui,Ri,ta,gn]),Oa=fe(ma,ti,_i,ea,Zn),Pn=Ue(function(io){if(pi(io),Sn){var Vi=Ot(io),vo=Vi.map(function($t){return we($t,ti,_i).map(function(rt){return rt.option})}),qo=ea?Vi:Vi[0],hs=ea?vo:vo[0];Sn(qo,hs)}}),Kr=Ue(function(io){if(Si(""),!ea)Pn(io);else{var Vi=oe(io),vo=ge(Rt),qo=ge(mr),hs=vo.includes(Vi),$t=ta.some(function(en){return oe(en)===Vi}),rt=Rt,Vt=ta;if($t&&!hs)Vt=ta.filter(function(en){return oe(en)!==Vi});else{var tn=hs?vo.filter(function(en){return en!==Vi}):[].concat(Object(C.a)(vo),[Vi]),wn=ui(),qn;if(hs){var zn=Object(N.a)(tn,{checked:!1,halfCheckedKeys:qo},wn);qn=zn.checkedKeys}else{var xr=Object(N.a)(tn,!0,wn);qn=xr.checkedKeys}var da=Le(qn,ui,gn);rt=Ri(da)}Pn([].concat(Object(C.a)(Vt),Object(C.a)(rt)))}}),Vn=function(Vi,vo){if(vo.type==="clear"){Pn([]);return}var qo=vo.values[0].valueCells;Kr(qo)},tr=fr!==void 0?fr:Kn,Ea=Sa||Hn,Ja=za||Ca,go=function(Vi){Ma==null||Ma(Vi),va==null||va(Vi)},fi=F.useMemo(function(){return{options:ti,fieldNames:_i,values:Rt,halfValues:mr,changeOnSelect:kn,onSelect:Kr,checkable:Or,searchOptions:sa,dropdownPrefixCls:ln,loadData:Xn,expandTrigger:rr,expandIcon:gi,loadingIcon:Qi,dropdownMenuColumnStyle:Lr}},[ti,_i,Rt,mr,kn,Kr,Or,sa,ln,Xn,rr,gi,Qi,Lr]),lo=!(Fi?sa:ti).length,Oi=Fi&&ba.matchInputWidth||lo?{}:{minWidth:"auto"};return F.createElement(ne.Provider,{value:fi},F.createElement(j.a,Object(E.a)({},Ln,{ref:zt,id:kr,prefixCls:ot,dropdownMatchSelectWidth:Un,dropdownStyle:Oi,displayValues:Oa,onDisplayValuesChange:Vn,mode:ea?"multiple":void 0,searchValue:Fi,onSearch:qi,showSearch:cs,OptionList:Te,emptyOptions:lo,open:tr,dropdownClassName:Ea,placement:Ja,onDropdownVisibleChange:go,getRawInputElement:function(){return mi}})))});Ut.SHOW_PARENT=_e,Ut.SHOW_CHILD=he;var At=Ut,Pt=At,Dt=l("Ya77"),Qt=l("H84U"),cn=l("XI05"),$n=l("caoh"),hn=l("3Nzz"),_n=l("+f9I"),bn=l("ihLV"),Bn=l("1vzs"),Tn=l("EXcs"),Tr=l("ATYA"),Sr=function(un,zt){var Bt={};for(var H in un)Object.prototype.hasOwnProperty.call(un,H)&&zt.indexOf(H)<0&&(Bt[H]=un[H]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,H=Object.getOwnPropertySymbols(un);ot<H.length;ot++)zt.indexOf(H[ot])<0&&Object.prototype.propertyIsEnumerable.call(un,H[ot])&&(Bt[H[ot]]=un[H[ot]]);return Bt},Wr=Pt.SHOW_CHILD,br=Pt.SHOW_PARENT;function Wn(un,zt,Bt){var H=un.toLowerCase().split(zt).reduce(function(Ct,Wt,kn){return kn===0?[Wt]:[].concat(Object(C.a)(Ct),[zt,Wt])},[]),ot=[],nt=0;return H.forEach(function(Ct,Wt){var kn=nt+Ct.length,Sn=un.slice(nt,kn);nt=kn,Wt%2==1&&(Sn=F.createElement("span",{className:"".concat(Bt,"-menu-item-keyword"),key:"seperator-".concat(Wt)},Sn)),ot.push(Sn)}),ot}var gr=function(zt,Bt,H,ot){var nt=[],Ct=zt.toLowerCase();return Bt.forEach(function(Wt,kn){kn!==0&&nt.push(" / ");var Sn=Wt[ot.label],Zn=Object(O.a)(Sn);(Zn==="string"||Zn==="number")&&(Sn=Wn(String(Sn),Ct,H)),nt.push(Sn)}),nt},na=F.forwardRef(function(un,zt){var Bt,H=un.prefixCls,ot=un.size,nt=un.disabled,Ct=un.className,Wt=un.multiple,kn=un.bordered,Sn=kn===void 0?!0:kn,Zn=un.transitionName,Or=un.choiceTransitionName,Yn=Or===void 0?"":Or,Nn=un.popupClassName,Zt=un.dropdownClassName,rr=un.expandIcon,Gn=un.placement,ln=un.showSearch,Xn=un.allowClear,Kn=Xn===void 0?!0:Xn,fr=un.notFoundContent,Hn=un.direction,Sa=un.getPopupContainer,Lr=un.status,Ca=un.showArrow,za=Sr(un,["prefixCls","size","disabled","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),Ma=Object(Dt.a)(za,["suffixIcon"]),va=Object(F.useContext)(Qt.b),qa=va.getPopupContainer,gi=va.getPrefixCls,Qi=va.renderEmpty,mi=va.direction,Cr=Hn||mi,Un=Cr==="rtl",Lt=Object(F.useContext)(bn.b),gn=Lt.status,Ln=Lt.hasFeedback,kr=Lt.isFormItemInput,ea=Lt.feedbackIcon,Qr=Object(Tr.a)(gn,Lr),Na=fr||(Qi||cn.a)("Cascader"),ar=gi(),pi=gi("select",H),_i=gi("cascader",H),ti=Object(_n.c)(pi,Hn),ui=ti.compactSize,Ri=ti.compactItemClassnames,ao=w()(Nn||Zt,"".concat(_i,"-dropdown"),Object(m.a)({},"".concat(_i,"-dropdown-rtl"),Cr==="rtl")),Zi=F.useMemo(function(){if(!ln)return ln;var ta={render:gr};return Object(O.a)(ln)==="object"&&(ta=Object(E.a)(Object(E.a)({},ta),ln)),ta},[ln]),Fi=F.useContext(hn.b),Si=ui||ot||Fi,qi=F.useContext($n.b),eo=nt!=null?nt:qi,xo=rr;rr||(xo=Un?F.createElement(k.a,null):F.createElement(S.a,null));var cs=F.createElement("span",{className:"".concat(pi,"-menu-item-loading-icon")},F.createElement(A.a,{spin:!0})),ba=F.useMemo(function(){return Wt?F.createElement("span",{className:"".concat(_i,"-checkbox-inner")}):!1},[Wt]),sa=Ca!==void 0?Ca:un.loading||!Wt,Da=Object(Bn.a)(Object(E.a)(Object(E.a)({},un),{hasFeedback:Ln,feedbackIcon:ea,showArrow:sa,multiple:Wt,prefixCls:pi})),On=Da.suffixIcon,xn=Da.removeIcon,Rt=Da.clearIcon,mr=function(){return Gn!==void 0?Gn:Hn==="rtl"?"bottomRight":"bottomLeft"};return F.createElement(Pt,Object(E.a)({prefixCls:pi,className:w()(!H&&_i,(Bt={},Object(m.a)(Bt,"".concat(pi,"-lg"),Si==="large"),Object(m.a)(Bt,"".concat(pi,"-sm"),Si==="small"),Object(m.a)(Bt,"".concat(pi,"-rtl"),Un),Object(m.a)(Bt,"".concat(pi,"-borderless"),!Sn),Object(m.a)(Bt,"".concat(pi,"-in-form-item"),kr),Bt),Object(Tr.b)(pi,Qr,Ln),Ri,Ct),disabled:eo},Ma,{direction:Cr,placement:mr(),notFoundContent:Na,allowClear:Kn,showSearch:Zi,expandIcon:xo,inputIcon:On,removeIcon:xn,clearIcon:Rt,loadingIcon:cs,checkable:ba,dropdownClassName:ao,dropdownPrefixCls:H||_i,choiceTransitionName:Object(Tn.c)(ar,"",Yn),transitionName:Object(Tn.c)(ar,Object(Tn.b)(Gn),Zn),getPopupContainer:Sa||qa,ref:zt,showArrow:Ln||Ca}))});na.SHOW_PARENT=br,na.SHOW_CHILD=Wr;var jn=R.a=na},DMUC:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("0qr0"),C=l("g8rt").f,k=l("tny8"),A=m(function(){C(1)}),S=!k||A;E({target:"Object",stat:!0,forced:S,sham:!k},{getOwnPropertyDescriptor:function(w,x){return C(O(w),x)}})},DOsL:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=["Webkit"],m=["Moz"],O=["ms"],C=["Webkit","Moz"],k=["Webkit","ms"],A=["Webkit","Moz","ms"];R.default={plugins:[],prefixMap:{appearance:C,userSelect:A,textEmphasisPosition:E,textEmphasis:E,textEmphasisStyle:E,textEmphasisColor:E,boxDecorationBreak:E,clipPath:E,maskImage:E,maskMode:E,maskRepeat:E,maskPosition:E,maskClip:E,maskOrigin:E,maskSize:E,maskComposite:E,mask:E,maskBorderSource:E,maskBorderMode:E,maskBorderSlice:E,maskBorderWidth:E,maskBorderOutset:E,maskBorderRepeat:E,maskBorder:E,maskType:E,textDecorationStyle:E,textDecorationSkip:E,textDecorationLine:E,textDecorationColor:E,filter:E,fontFeatureSettings:E,breakAfter:A,breakBefore:A,breakInside:A,columnCount:C,columnFill:C,columnGap:C,columnRule:C,columnRuleColor:C,columnRuleStyle:C,columnRuleWidth:C,columns:C,columnSpan:C,columnWidth:C,writingMode:k,flex:E,flexBasis:E,flexDirection:E,flexGrow:E,flexFlow:E,flexShrink:E,flexWrap:E,alignContent:E,alignItems:E,alignSelf:E,justifyContent:E,order:E,transform:E,transformOrigin:E,transformOriginX:E,transformOriginY:E,backfaceVisibility:E,perspective:E,perspectiveOrigin:E,transformStyle:E,transformOriginZ:E,animation:E,animationDelay:E,animationDirection:E,animationFillMode:E,animationDuration:E,animationIterationCount:E,animationName:E,animationPlayState:E,animationTimingFunction:E,backdropFilter:E,fontKerning:E,scrollSnapType:k,scrollSnapPointsX:k,scrollSnapPointsY:k,scrollSnapDestination:k,scrollSnapCoordinate:k,shapeImageThreshold:E,shapeImageMargin:E,shapeImageOutside:E,hyphens:A,flowInto:k,flowFrom:k,regionFragment:k,textAlignLast:m,tabSize:m,wrapFlow:O,wrapThrough:O,wrapMargin:O,gridTemplateColumns:O,gridTemplateRows:O,gridTemplateAreas:O,gridTemplate:O,gridAutoColumns:O,gridAutoRows:O,gridAutoFlow:O,grid:O,gridRowStart:O,gridColumnStart:O,gridRowEnd:O,gridRow:O,gridColumn:O,gridColumnEnd:O,gridColumnGap:O,gridRowGap:O,gridArea:O,gridGap:O,textSizeAdjust:k,borderImage:E,borderImageOutset:E,borderImageRepeat:E,borderImageSlice:E,borderImageSource:E,borderImageWidth:E,transitionDelay:E,transitionDuration:E,transitionProperty:E,transitionTimingFunction:E}},ce.exports=R.default},DPCm:function(ce,R,l){},DSFK:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){if(Array.isArray(m))return m}},DSRE:function(ce,R,l){(function(E){var m=l("Kz5y"),O=l("B8du"),C=R&&!R.nodeType&&R,k=C&&typeof E=="object"&&E&&!E.nodeType&&E,A=k&&k.exports===C,S=A?m.Buffer:void 0,y=S?S.isBuffer:void 0,w=y||O;E.exports=w}).call(this,l("hOG+")(ce))},DUzY:function(ce,R,l){"use strict";/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=60103,m=60106,O=60107,C=60108,k=60114,A=60109,S=60110,y=60112,w=60113,x=60120,T=60115,j=60116,D=60121,N=60122,F=60117,B=60129,U=60131;if(typeof Symbol=="function"&&Symbol.for){var J=Symbol.for;E=J("react.element"),m=J("react.portal"),O=J("react.fragment"),C=J("react.strict_mode"),k=J("react.profiler"),A=J("react.provider"),S=J("react.context"),y=J("react.forward_ref"),w=J("react.suspense"),x=J("react.suspense_list"),T=J("react.memo"),j=J("react.lazy"),D=J("react.block"),N=J("react.server.block"),F=J("react.fundamental"),B=J("react.debug_trace_mode"),U=J("react.legacy_hidden")}function $(oe){if(typeof oe=="object"&&oe!==null){var ge=oe.$$typeof;switch(ge){case E:switch(oe=oe.type,oe){case O:case k:case C:case w:case x:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case S:case y:case j:case T:case A:return oe;default:return ge}}case m:return ge}}}var X=A,ee=E,ie=y,G=O,Q=j,W=T,ne=m,te=k,_e=C,he=w;R.ContextConsumer=S,R.ContextProvider=X,R.Element=ee,R.ForwardRef=ie,R.Fragment=G,R.Lazy=Q,R.Memo=W,R.Portal=ne,R.Profiler=te,R.StrictMode=_e,R.Suspense=he,R.isAsyncMode=function(){return!1},R.isConcurrentMode=function(){return!1},R.isContextConsumer=function(oe){return $(oe)===S},R.isContextProvider=function(oe){return $(oe)===A},R.isElement=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===E},R.isForwardRef=function(oe){return $(oe)===y},R.isFragment=function(oe){return $(oe)===O},R.isLazy=function(oe){return $(oe)===j},R.isMemo=function(oe){return $(oe)===T},R.isPortal=function(oe){return $(oe)===m},R.isProfiler=function(oe){return $(oe)===k},R.isStrictMode=function(oe){return $(oe)===C},R.isSuspense=function(oe){return $(oe)===w},R.isValidElementType=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===O||oe===k||oe===B||oe===C||oe===w||oe===x||oe===U||typeof oe=="object"&&oe!==null&&(oe.$$typeof===j||oe.$$typeof===T||oe.$$typeof===A||oe.$$typeof===S||oe.$$typeof===y||oe.$$typeof===F||oe.$$typeof===D||oe[0]===N)},R.typeOf=$},DVoG:function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=m.has,k=m.toKey;E({target:"Reflect",stat:!0},{hasOwnMetadata:function(S,y){var w=arguments.length<3?void 0:k(arguments[2]);return C(S,O(y),w)}})},DVom:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("IGnA").f,C=m(function(){return!Object.getOwnPropertyNames(1)});E({target:"Object",stat:!0,forced:C},{getOwnPropertyNames:O})},DYRE:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("OPEp"),C=l.n(O)},Dbv2:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("cT1L");E({target:"Map",proto:!0,real:!0,forced:m},{update:function(A,S){var y=O(this),w=arguments.length;C(S);var x=y.has(A);if(!x&&w<3)throw TypeError("Updating absent value");var T=x?y.get(A):C(w>2?arguments[2]:void 0)(A,y);return y.set(A,S(T,A,y)),y}})},De94:function(ce,R){ce.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},Di6M:function(ce,R,l){"use strict";var E=2147483647,m=36,O=1,C=26,k=38,A=700,S=72,y=128,w="-",x=/[^\0-\u007E]/,T=/[.\u3002\uFF0E\uFF61]/g,j="Overflow: input needs wider integers to process",D=m-O,N=Math.floor,F=String.fromCharCode,B=function(X){for(var ee=[],ie=0,G=X.length;ie<G;){var Q=X.charCodeAt(ie++);if(Q>=55296&&Q<=56319&&ie<G){var W=X.charCodeAt(ie++);(W&64512)==56320?ee.push(((Q&1023)<<10)+(W&1023)+65536):(ee.push(Q),ie--)}else ee.push(Q)}return ee},U=function(X){return X+22+75*(X<26)},J=function(X,ee,ie){var G=0;for(X=ie?N(X/A):X>>1,X+=N(X/ee);X>D*C>>1;G+=m)X=N(X/D);return N(G+(D+1)*X/(X+k))},$=function(X){var ee=[];X=B(X);var ie=X.length,G=y,Q=0,W=S,ne,te;for(ne=0;ne<X.length;ne++)te=X[ne],te<128&&ee.push(F(te));var _e=ee.length,he=_e;for(_e&&ee.push(w);he<ie;){var oe=E;for(ne=0;ne<X.length;ne++)te=X[ne],te>=G&&te<oe&&(oe=te);var ge=he+1;if(oe-G>N((E-Q)/ge))throw RangeError(j);for(Q+=(oe-G)*ge,G=oe,ne=0;ne<X.length;ne++){if(te=X[ne],te<G&&++Q>E)throw RangeError(j);if(te==G){for(var me=Q,Z=m;;Z+=m){var xe=Z<=W?O:Z>=W+C?C:Z-W;if(me<xe)break;var Ee=me-xe,Le=m-xe;ee.push(F(U(xe+Ee%Le))),me=N(Ee/Le)}ee.push(F(U(me))),W=J(Q,ge,he==_e),Q=0,++he}}++Q,++G}return ee.join("")};ce.exports=function(X){var ee=[],ie=X.toLowerCase().replace(T,".").split("."),G,Q;for(G=0;G<ie.length;G++)Q=ie[G],ee.push(x.test(Q)?"xn--"+$(Q):Q);return ee.join(".")}},DjyN:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("Urep"),C=l.n(O),k=l("OaEy")},DkWt:function(ce,R,l){ce.exports={sqlEditor:"sqlEditor___3RiYN",fullScreenBtnBox:"fullScreenBtnBox___2USxq"}},DmF2:function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("A0Fo"),m=function(A){if(Object(E.a)()&&window.document.documentElement){var S=Array.isArray(A)?A:[A],y=window.document.documentElement;return S.some(function(w){return w in y.style})}return!1},O=function(A,S){if(!m(A))return!1;var y=document.createElement("div"),w=y.style[A];return y.style[A]=S,y.style[A]!==w};function C(k,A){return!Array.isArray(k)&&A!==void 0?O(k,A):m(k)}},DnfT:function(ce,R,l){},DsIs:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=function(){function he(oe,ge){for(var me=0;me<ge.length;me++){var Z=ge[me];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(oe,Z.key,Z)}}return function(oe,ge,me){return ge&&he(oe.prototype,ge),me&&he(oe,me),oe}}();R.getUnit=W,R.convertSizeToCssValue=ne;var m=l("q1tI"),O=j(m),C=l("17x9"),k=j(C),A=l("gmdE"),S=j(A),y=l("XwhL"),w=j(y),x=l("y2tf"),T=j(x);function j(he){return he&&he.__esModule?he:{default:he}}function D(he){if(Array.isArray(he)){for(var oe=0,ge=Array(he.length);oe<he.length;oe++)ge[oe]=he[oe];return ge}else return Array.from(he)}function N(he,oe){if(!(he instanceof oe))throw new TypeError("Cannot call a class as a function")}function F(he,oe){if(!he)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe&&(typeof oe=="object"||typeof oe=="function")?oe:he}function B(he,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof oe);he.prototype=Object.create(oe&&oe.prototype,{constructor:{value:he,enumerable:!1,writable:!0,configurable:!0}}),oe&&(Object.setPrototypeOf?Object.setPrototypeOf(he,oe):he.__proto__=oe)}var U="1",J="0",$="100%",X=S.default.div({display:"flex",height:"100%",flexDirection:"column",flex:1,outline:"none",overflow:"hidden",userSelect:"text"}),ee=S.default.div({display:"flex",height:"100%",flexDirection:"row",flex:1,outline:"none",overflow:"hidden",userSelect:"text"});function ie(he,oe){var ge=he.match(/([0-9]+)([px|%]*)/),me=ge[1],Z=ge[2];return G(me,Z,oe)}function G(he){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px",ge=arguments[2];switch(oe){case"%":return+(ge*he/100).toFixed(2);default:return+he}}function Q(he){return O.default.Children.toArray(he).filter(function(oe){return oe})}function W(he){return he.endsWith("px")?"px":he.endsWith("%")?"%":"ratio"}function ne(he,oe){if(W(he)!=="%"||!oe)return he;var ge=he.search("%"),me=he.slice(0,ge)/100;return me===0?he:"calc("+he+" - "+oe+"px*"+me+")"}function te(he,oe,ge){switch(oe){case"%":return(he/ge*100).toFixed(2)+"%";case"px":return he.toFixed(2)+"px";case"ratio":return(he*100).toFixed(0)}}var _e=function(he){B(oe,he);function oe(ge){N(this,oe);var me=F(this,(oe.__proto__||Object.getPrototypeOf(oe)).call(this,ge));return me.onMouseDown=function(Z,xe){Z.button===0&&(Z.preventDefault(),me.onDown(xe,Z.clientX,Z.clientY))},me.onTouchStart=function(Z,xe){Z.preventDefault();var Ee=Z.touches[0],Le=Ee.clientX,we=Ee.clientY;me.onDown(xe,Le,we)},me.onDown=function(Z,xe,Ee){var Le=me.props,we=Le.allowResize,fe=Le.onResizeStart,pe=Le.split;!we||(me.resizerIndex=Z,me.dimensionsSnapshot=me.getDimensionsSnapshot(me.props),me.startClientX=xe,me.startClientY=Ee,document.addEventListener("mousemove",me.onMouseMove),document.addEventListener("mouseup",me.onMouseUp),document.addEventListener("touchmove",me.onTouchMove),document.addEventListener("touchend",me.onMouseUp),document.addEventListener("touchcancel",me.onMouseUp),fe&&fe())},me.onMouseMove=function(Z){Z.preventDefault(),me.onMove(Z.clientX,Z.clientY)},me.onTouchMove=function(Z){Z.preventDefault();var xe=Z.touches[0],Ee=xe.clientX,Le=xe.clientY;me.onMove(Ee,Le)},me.onMouseUp=function(Z){Z.preventDefault(),document.removeEventListener("mouseup",me.onMouseUp),document.removeEventListener("mousemove",me.onMouseMove),document.removeEventListener("touchmove",me.onTouchMove),document.removeEventListener("touchend",me.onMouseUp),document.addEventListener("touchcancel",me.onMouseUp),me.props.onResizeEnd&&me.props.onResizeEnd(me.state.sizes)},me.setPaneRef=function(Z,xe){me.paneElements||(me.paneElements=[]),me.paneElements[Z]=xe},me.state={sizes:me.getPanePropSize(ge)},me}return E(oe,[{key:"componentWillReceiveProps",value:function(me){this.setState({sizes:this.getPanePropSize(me)})}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onMouseUp)}},{key:"getDimensionsSnapshot",value:function(me){var Z=me.split,xe=this.getPaneDimensions(),Ee=this.splitPane.getBoundingClientRect(),Le=this.getPanePropMinMaxSize(me,"minSize"),we=this.getPanePropMinMaxSize(me,"maxSize"),fe=this.getResizersSize(Q(this.props.children)),pe=Z==="vertical"?Ee.width-fe:Ee.height-fe,Ke=Le.map(function(Ue){return ie(Ue,pe)}),Me=we.map(function(Ue){return ie(Ue,pe)}),ze=xe.map(function(Ue){return Z==="vertical"?Ue.width:Ue.height});return{resizersSize:fe,paneDimensions:xe,splitPaneSizePx:pe,minSizesPx:Ke,maxSizesPx:Me,sizesPx:ze}}},{key:"getPanePropSize",value:function(me){return Q(me.children).map(function(Z){var xe=Z.props.size||Z.props.initialSize;return xe===void 0?U:String(xe)})}},{key:"getPanePropMinMaxSize",value:function(me,Z){return Q(me.children).map(function(xe){var Ee=xe.props[Z];return Ee===void 0?Z==="maxSize"?$:J:Ee})}},{key:"getPaneDimensions",value:function(){return this.paneElements.filter(function(me){return me}).map(function(me){return me.getBoundingClientRect()})}},{key:"getSizes",value:function(){return this.state.sizes}},{key:"onMove",value:function(me,Z){var xe=this.props,Ee=xe.split,Le=xe.onChange,we=this.resizerIndex,fe=this.dimensionsSnapshot,pe=fe.sizesPx,Ke=fe.minSizesPx,Me=fe.maxSizesPx,ze=fe.splitPaneSizePx,Ue=fe.paneDimensions,He=Ee==="vertical"?"width":"height",Ne=Ue[we],it=Ue[we+1],Xe=Ne[He]+it[He],ht=Ke[we],lt=Ke[we+1],Et=Math.min(Me[we],Xe),tt=Math.min(Me[we+1],Xe),mt=Ee==="vertical"?this.startClientX-me:this.startClientY-Z,xt=Ne[He]-mt,Xt=it[He]+mt,vt=!1,qe=!1;xt<ht?(xt=ht,vt=!0):xt>Et&&(xt=Et,vt=!0),Xt<lt?(Xt=lt,qe=!0):Xt>tt&&(Xt=tt,qe=!0),vt?Xt=Ne[He]+it[He]-xt:qe&&(xt=Ne[He]+it[He]-Xt),pe[we]=xt,pe[we+1]=Xt;var Re=this.getSizes().concat(),Se=void 0;if([xt,Xt].forEach(function(_t,bt){var gt=W(Re[we+bt]);gt!=="ratio"?Re[we+bt]=te(_t,gt,ze):Se=!0}),Se){var Ve=0,Ge=void 0;Re=Re.map(function(_t,bt){return W(_t)==="ratio"?(Ve++,Ge=bt,te(pe[bt],"ratio")):_t}),Ve===1&&(Re[Ge]="1")}Le&&Le(Re),this.setState({sizes:Re})}},{key:"getResizersSize",value:function(me){return(me.length-1)*this.props.resizerSize}},{key:"render",value:function(){var me=this,Z=this.props,xe=Z.children,Ee=Z.className,Le=Z.split,we=Q(this.props.children),fe=this.getSizes(),pe=this.getResizersSize(we),Ke=we.reduce(function(ze,Ue,He){var Ne=void 0,it=He-1,Xe=Ue.type===T.default,ht={index:He,"data-type":"Pane",split:Le,key:"Pane-"+He,innerRef:me.setPaneRef,resizersSize:pe,size:fe[He]};if(Xe?Ne=(0,m.cloneElement)(Ue,ht):Ne=O.default.createElement(T.default,ht,Ue),ze.length===0)return[].concat(D(ze),[Ne]);var lt=O.default.createElement(w.default,{index:it,key:"Resizer-"+it,split:Le,onMouseDown:me.onMouseDown,onTouchStart:me.onTouchStart});return[].concat(D(ze),[lt,Ne])},[]),Me=Le==="vertical"?ee:X;return O.default.createElement(Me,{className:Ee,"data-type":"SplitPane","data-split":Le,innerRef:function(Ue){me.splitPane=Ue}},Ke)}}]),oe}(m.Component);_e.propTypes={children:k.default.arrayOf(k.default.node).isRequired,className:k.default.string,split:k.default.oneOf(["vertical","horizontal"]),resizerSize:k.default.number,onChange:k.default.func,onResizeStart:k.default.func,onResizeEnd:k.default.func},_e.defaultProps={split:"vertical",resizerSize:1,allowResize:!0},R.default=_e},DvJ8:function(ce,R,l){"use strict";l.r(R),l.d(R,"TinyColor",function(){return E.a}),l.d(R,"tinycolor",function(){return E.b}),l.d(R,"names",function(){return m.a}),l.d(R,"readability",function(){return O}),l.d(R,"isReadable",function(){return C}),l.d(R,"mostReadable",function(){return k}),l.d(R,"toMsFilter",function(){return S}),l.d(R,"fromRatio",function(){return w}),l.d(R,"legacyRandom",function(){return x}),l.d(R,"inputToRGB",function(){return T.a}),l.d(R,"stringInputToObject",function(){return T.c}),l.d(R,"isValidCSSUnit",function(){return T.b}),l.d(R,"random",function(){return j}),l.d(R,"bounds",function(){return ee}),l.d(R,"rgbToRgb",function(){return A.j}),l.d(R,"rgbToHsl",function(){return A.h}),l.d(R,"hslToRgb",function(){return A.c}),l.d(R,"rgbToHsv",function(){return A.i}),l.d(R,"hsvToRgb",function(){return A.d}),l.d(R,"rgbToHex",function(){return A.g}),l.d(R,"rgbaToHex",function(){return A.l}),l.d(R,"rgbaToArgbHex",function(){return A.k}),l.d(R,"convertDecimalToHex",function(){return A.a}),l.d(R,"convertHexToDecimal",function(){return A.b}),l.d(R,"parseIntFromHex",function(){return A.f}),l.d(R,"numberInputToObject",function(){return A.e});var E=l("VJFB"),m=l("iNWh");function O(G,Q){var W=new E.a(G),ne=new E.a(Q);return(Math.max(W.getLuminance(),ne.getLuminance())+.05)/(Math.min(W.getLuminance(),ne.getLuminance())+.05)}function C(G,Q,W){var ne,te;W===void 0&&(W={level:"AA",size:"small"});var _e=O(G,Q);switch(((ne=W.level)!==null&&ne!==void 0?ne:"AA")+((te=W.size)!==null&&te!==void 0?te:"small")){case"AAsmall":case"AAAlarge":return _e>=4.5;case"AAlarge":return _e>=3;case"AAAsmall":return _e>=7;default:return!1}}function k(G,Q,W){W===void 0&&(W={includeFallbackColors:!1,level:"AA",size:"small"});for(var ne=null,te=0,_e=W.includeFallbackColors,he=W.level,oe=W.size,ge=0,me=Q;ge<me.length;ge++){var Z=me[ge],xe=O(G,Z);xe>te&&(te=xe,ne=new E.a(Z))}return C(G,ne,{level:he,size:oe})||!_e?ne:(W.includeFallbackColors=!1,k(G,["#fff","#000"],W))}var A=l("FER5");function S(G,Q){var W=new E.a(G),ne="#"+Object(A.k)(W.r,W.g,W.b,W.a),te=ne,_e=W.gradientType?"GradientType = 1, ":"";if(Q){var he=new E.a(Q);te="#"+Object(A.k)(he.r,he.g,he.b,he.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(_e,"startColorstr=").concat(ne,",endColorstr=").concat(te,")")}var y=l("b3aT");function w(G,Q){var W={r:Object(y.d)(G.r),g:Object(y.d)(G.g),b:Object(y.d)(G.b)};return G.a!==void 0&&(W.a=Number(G.a)),new E.a(W,Q)}function x(){return new E.a({r:Math.random(),g:Math.random(),b:Math.random()})}var T=l("LuSS");function j(G){if(G===void 0&&(G={}),G.count!==void 0&&G.count!==null){var Q=G.count,W=[];for(G.count=void 0;Q>W.length;)G.count=null,G.seed&&(G.seed+=1),W.push(j(G));return G.count=Q,W}var ne=D(G.hue,G.seed),te=N(ne,G),_e=F(ne,te,G),he={h:ne,s:te,v:_e};return G.alpha!==void 0&&(he.a=G.alpha),new E.a(he)}function D(G,Q){var W=U(G),ne=$(W,Q);return ne<0&&(ne=360+ne),ne}function N(G,Q){if(Q.hue==="monochrome")return 0;if(Q.luminosity==="random")return $([0,100],Q.seed);var W=J(G).saturationRange,ne=W[0],te=W[1];switch(Q.luminosity){case"bright":ne=55;break;case"dark":ne=te-10;break;case"light":te=55;break;default:break}return $([ne,te],Q.seed)}function F(G,Q,W){var ne=B(G,Q),te=100;switch(W.luminosity){case"dark":te=ne+20;break;case"light":ne=(te+ne)/2;break;case"random":ne=0,te=100;break;default:break}return $([ne,te],W.seed)}function B(G,Q){for(var W=J(G).lowerBounds,ne=0;ne<W.length-1;ne++){var te=W[ne][0],_e=W[ne][1],he=W[ne+1][0],oe=W[ne+1][1];if(Q>=te&&Q<=he){var ge=(oe-_e)/(he-te),me=_e-ge*te;return ge*Q+me}}return 0}function U(G){var Q=parseInt(G,10);if(!Number.isNaN(Q)&&Q<360&&Q>0)return[Q,Q];if(typeof G=="string"){var W=ee.find(function(he){return he.name===G});if(W){var ne=X(W);if(ne.hueRange)return ne.hueRange}var te=new E.a(G);if(te.isValid){var _e=te.toHsv().h;return[_e,_e]}}return[0,360]}function J(G){G>=334&&G<=360&&(G-=360);for(var Q=0,W=ee;Q<W.length;Q++){var ne=W[Q],te=X(ne);if(te.hueRange&&G>=te.hueRange[0]&&G<=te.hueRange[1])return te}throw Error("Color not found")}function $(G,Q){if(Q===void 0)return Math.floor(G[0]+Math.random()*(G[1]+1-G[0]));var W=G[1]||1,ne=G[0]||0;Q=(Q*9301+49297)%233280;var te=Q/233280;return Math.floor(ne+te*(W-ne))}function X(G){var Q=G.lowerBounds[0][0],W=G.lowerBounds[G.lowerBounds.length-1][0],ne=G.lowerBounds[G.lowerBounds.length-1][1],te=G.lowerBounds[0][1];return{name:G.name,hueRange:G.hueRange,lowerBounds:G.lowerBounds,saturationRange:[Q,W],brightnessRange:[ne,te]}}var ee=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],ie=R.default=E.b},"Dw+G":function(ce,R,l){var E=l("juv8"),m=l("mTTR");function O(C,k){return C&&E(k,m(k),C)}ce.exports=O},Dyhc:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("i7kj"),C=l("cTDu"),k=l("gFfw"),A=l("Acmb"),S=l("g8rt").f;m&&E({target:"Object",proto:!0,forced:O},{__lookupGetter__:function(w){var x=C(this),T=k(w,!0),j;do if(j=S(x,T))return j.get;while(x=A(x))}})},DzJC:function(ce,R,l){var E=l("sEfC"),m=l("GoyQ"),O="Expected a function";function C(k,A,S){var y=!0,w=!0;if(typeof k!="function")throw new TypeError(O);return m(S)&&(y="leading"in S?!!S.leading:y,w="trailing"in S?!!S.trailing:w),E(k,A,{leading:y,maxWait:A,trailing:w})}ce.exports=C},"E+oP":function(ce,R,l){var E=l("A90E"),m=l("QqLw"),O=l("03A+"),C=l("Z0cm"),k=l("MMmD"),A=l("DSRE"),S=l("6sVZ"),y=l("c6wG"),w="[object Map]",x="[object Set]",T=Object.prototype,j=T.hasOwnProperty;function D(N){if(N==null)return!0;if(k(N)&&(C(N)||typeof N=="string"||typeof N.splice=="function"||A(N)||y(N)||O(N)))return!N.length;var F=m(N);if(F==w||F==x)return!N.size;if(S(N))return!E(N).length;for(var B in N)if(j.call(N,B))return!1;return!0}ce.exports=D},E1MF:function(ce,R,l){"use strict";var E=this&&this.__assign||function(){return E=Object.assign||function(T){for(var j,D=1,N=arguments.length;D<N;D++){j=arguments[D];for(var F in j)Object.prototype.hasOwnProperty.call(j,F)&&(T[F]=j[F])}return T},E.apply(this,arguments)},m=this&&this.__createBinding||(Object.create?function(T,j,D,N){N===void 0&&(N=D);var F=Object.getOwnPropertyDescriptor(j,D);(!F||("get"in F?!j.__esModule:F.writable||F.configurable))&&(F={enumerable:!0,get:function(){return j[D]}}),Object.defineProperty(T,N,F)}:function(T,j,D,N){N===void 0&&(N=D),T[N]=j[D]}),O=this&&this.__setModuleDefault||(Object.create?function(T,j){Object.defineProperty(T,"default",{enumerable:!0,value:j})}:function(T,j){T.default=j}),C=this&&this.__importStar||function(T){if(T&&T.__esModule)return T;var j={};if(T!=null)for(var D in T)D!=="default"&&Object.prototype.hasOwnProperty.call(T,D)&&m(j,T,D);return O(j,T),j},k=this&&this.__rest||function(T,j){var D={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&j.indexOf(N)<0&&(D[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,N=Object.getOwnPropertySymbols(T);F<N.length;F++)j.indexOf(N[F])<0&&Object.prototype.propertyIsEnumerable.call(T,N[F])&&(D[N[F]]=T[N[F]]);return D};Object.defineProperty(R,"__esModule",{value:!0});var A=C(l("q1tI")),S=l("UBy8"),y=l("BAFU"),w=(0,y.createAnimation)("BeatLoader","50% {transform: scale(0.75);opacity: 0.2} 100% {transform: scale(1);opacity: 1}","beat");function x(T){var j=T.loading,D=j===void 0?!0:j,N=T.color,F=N===void 0?"#000000":N,B=T.speedMultiplier,U=B===void 0?1:B,J=T.cssOverride,$=J===void 0?{}:J,X=T.size,ee=X===void 0?15:X,ie=T.margin,G=ie===void 0?2:ie,Q=k(T,["loading","color","speedMultiplier","cssOverride","size","margin"]),W=E({display:"inherit"},$),ne=function(_e){return{display:"inline-block",backgroundColor:F,width:(0,S.cssValue)(ee),height:(0,S.cssValue)(ee),margin:(0,S.cssValue)(G),borderRadius:"100%",animation:"".concat(w," ").concat(.7/U,"s ").concat(_e%2?"0s":"".concat(.35/U,"s")," infinite linear"),animationFillMode:"both"}};return D?A.createElement("span",E({style:W},Q),A.createElement("span",{style:ne(1)}),A.createElement("span",{style:ne(2)}),A.createElement("span",{style:ne(3)})):null}R.default=x},E2jh:function(ce,R,l){var E=l("2gN3"),m=function(){var C=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""}();function O(C){return!!m&&m in C}ce.exports=O},E9nw:function(ce,R){ce.exports=function(){var l=document.getSelection();if(!l.rangeCount)return function(){};for(var E=document.activeElement,m=[],O=0;O<l.rangeCount;O++)m.push(l.getRangeAt(O));switch(E.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":E.blur();break;default:E=null;break}return l.removeAllRanges(),function(){l.type==="Caret"&&l.removeAllRanges(),l.rangeCount||m.forEach(function(C){l.addRange(C)}),E&&E.focus()}}},EA7m:function(ce,R,l){var E=l("zZ0H"),m=l("Ioao"),O=l("wclG");function C(k,A){return O(m(k,A,E),k+"")}ce.exports=C},EAZv:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};R.default=E},ECub:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("TSYQ"),C=l.n(O),k=l("q1tI"),A=l("H84U"),S=l("YMnH"),y=function(){var J=k.useContext(A.b),$=J.getPrefixCls,X=$("empty-img-default");return k.createElement("svg",{className:X,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},k.createElement("g",{fill:"none",fillRule:"evenodd"},k.createElement("g",{transform:"translate(24 31.67)"},k.createElement("ellipse",{className:"".concat(X,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),k.createElement("path",{className:"".concat(X,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),k.createElement("path",{className:"".concat(X,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),k.createElement("path",{className:"".concat(X,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),k.createElement("path",{className:"".concat(X,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),k.createElement("path",{className:"".concat(X,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),k.createElement("g",{className:"".concat(X,"-g"),transform:"translate(149.65 15.383)"},k.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),k.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},w=y,x=function(){var J=k.useContext(A.b),$=J.getPrefixCls,X=$("empty-img-simple");return k.createElement("svg",{className:X,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},k.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},k.createElement("ellipse",{className:"".concat(X,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),k.createElement("g",{className:"".concat(X,"-g"),fillRule:"nonzero"},k.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),k.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(X,"-path")}))))},T=x,j=function(U,J){var $={};for(var X in U)Object.prototype.hasOwnProperty.call(U,X)&&J.indexOf(X)<0&&($[X]=U[X]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,X=Object.getOwnPropertySymbols(U);ee<X.length;ee++)J.indexOf(X[ee])<0&&Object.prototype.propertyIsEnumerable.call(U,X[ee])&&($[X[ee]]=U[X[ee]]);return $},D=k.createElement(w,null),N=k.createElement(T,null),F=function(J){var $=J.className,X=J.prefixCls,ee=J.image,ie=ee===void 0?D:ee,G=J.description,Q=J.children,W=J.imageStyle,ne=j(J,["className","prefixCls","image","description","children","imageStyle"]),te=k.useContext(A.b),_e=te.getPrefixCls,he=te.direction;return k.createElement(S.a,{componentName:"Empty"},function(oe){var ge,me=_e("empty",X),Z=typeof G!="undefined"?G:oe.description,xe=typeof Z=="string"?Z:"empty",Ee=null;return typeof ie=="string"?Ee=k.createElement("img",{alt:xe,src:ie}):Ee=ie,k.createElement("div",Object(m.a)({className:C()(me,(ge={},Object(E.a)(ge,"".concat(me,"-normal"),ie===N),Object(E.a)(ge,"".concat(me,"-rtl"),he==="rtl"),ge),$)},ne),k.createElement("div",{className:"".concat(me,"-image"),style:W},Ee),Z&&k.createElement("div",{className:"".concat(me,"-description")},Z),Q&&k.createElement("div",{className:"".concat(me,"-footer")},Q))})};F.PRESENTED_IMAGE_DEFAULT=D,F.PRESENTED_IMAGE_SIMPLE=N;var B=R.a=F},EE3K:function(ce,R,l){"use strict";l.d(R,"a",function(){return D});var E=l("wx14"),m=l("rePB"),O=l("1OyB"),C=l("vuIU"),k=l("Ji7U"),A=l("LK+K"),S=l("q1tI"),y=l.n(S),w=l("i8i4"),x=l.n(w),T=l("TSYQ"),j=l.n(T),D=function(N){Object(k.a)(B,N);var F=Object(A.a)(B);function B(){var U;Object(O.a)(this,B);for(var J=arguments.length,$=new Array(J),X=0;X<J;X++)$[X]=arguments[X];return U=F.call.apply(F,[this].concat($)),U.closeTimer=null,U.close=function(ee){ee&&ee.stopPropagation(),U.clearCloseTimer();var ie=U.props,G=ie.onClose,Q=ie.noticeKey;G&&G(Q)},U.startCloseTimer=function(){U.props.duration&&(U.closeTimer=window.setTimeout(function(){U.close()},U.props.duration*1e3))},U.clearCloseTimer=function(){U.closeTimer&&(clearTimeout(U.closeTimer),U.closeTimer=null)},U}return Object(C.a)(B,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(J){(this.props.duration!==J.duration||this.props.updateMark!==J.updateMark||this.props.visible!==J.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var J=this,$=this.props,X=$.prefixCls,ee=$.className,ie=$.closable,G=$.closeIcon,Q=$.style,W=$.onClick,ne=$.children,te=$.holder,_e="".concat(X,"-notice"),he=Object.keys(this.props).reduce(function(ge,me){return(me.substr(0,5)==="data-"||me.substr(0,5)==="aria-"||me==="role")&&(ge[me]=J.props[me]),ge},{}),oe=S.createElement("div",Object(E.a)({className:j()(_e,ee,Object(m.a)({},"".concat(_e,"-closable"),ie)),style:Q,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:W},he),S.createElement("div",{className:"".concat(_e,"-content")},ne),ie?S.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(_e,"-close")},G||S.createElement("span",{className:"".concat(_e,"-close-x")})):null);return te?x.a.createPortal(oe,te):oe}}]),B}(S.Component);D.defaultProps={onClose:function(){},duration:1.5}},EEGq:function(ce,R,l){var E=l("juv8"),m=l("oCl/");function O(C,k){return E(C,m(C),k)}ce.exports=O},EFp3:function(ce,R,l){},EG35:function(ce,R,l){"use strict";l.d(R,"a",function(){return Se}),l.d(R,"c",function(){return me}),l.d(R,"b",function(){return qe});var E=l("uFwe"),m={moneySymbol:"$",form:{lightFilter:{more:"\u0627\u0644\u0645\u0632\u064A\u062F",clear:"\u0646\u0638\u0641",confirm:"\u062A\u0623\u0643\u064A\u062F",itemUnit:"\u0639\u0646\u0627\u0635\u0631"}},tableForm:{search:"\u0627\u0628\u062D\u062B",reset:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646",submit:"\u0627\u0631\u0633\u0627\u0644",collapsed:"\u0645\u064F\u0642\u0644\u0635",expand:"\u0645\u064F\u0648\u0633\u0639",inputPlaceholder:"\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0625\u062F\u062E\u0627\u0644",selectPlaceholder:"\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0625\u062E\u062A\u064A\u0627\u0631"},alert:{clear:"\u0646\u0638\u0641",selected:"\u0645\u062D\u062F\u062F",item:"\u0639\u0646\u0635\u0631"},pagination:{total:{range:" ",total:"\u0645\u0646",item:"\u0639\u0646\u0627\u0635\u0631"}},tableToolBar:{leftPin:"\u062B\u0628\u062A \u0639\u0644\u0649 \u0627\u0644\u064A\u0633\u0627\u0631",rightPin:"\u062B\u0628\u062A \u0639\u0644\u0649 \u0627\u0644\u064A\u0645\u064A\u0646",noPin:"\u0627\u0644\u063A\u0627\u0621 \u0627\u0644\u062A\u062B\u0628\u064A\u062A",leftFixedTitle:"\u0644\u0635\u0642 \u0639\u0644\u0649 \u0627\u0644\u064A\u0633\u0627\u0631",rightFixedTitle:"\u0644\u0635\u0642 \u0639\u0644\u0649 \u0627\u0644\u064A\u0645\u064A\u0646",noFixedTitle:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0625\u0644\u0635\u0627\u0642",reset:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646",columnDisplay:"\u0627\u0644\u0623\u0639\u0645\u062F\u0629 \u0627\u0644\u0645\u0639\u0631\u0648\u0636\u0629",columnSetting:"\u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A",fullScreen:"\u0648\u0636\u0639 \u0643\u0627\u0645\u0644 \u0627\u0644\u0634\u0627\u0634\u0629",exitFullScreen:"\u0627\u0644\u062E\u0631\u0648\u062C \u0645\u0646 \u0648\u0636\u0639 \u0643\u0627\u0645\u0644 \u0627\u0644\u0634\u0627\u0634\u0629",reload:"\u062A\u062D\u062F\u064A\u062B",density:"\u0627\u0644\u0643\u062B\u0627\u0641\u0629",densityDefault:"\u0627\u0641\u062A\u0631\u0627\u0636\u064A",densityLarger:"\u0623\u0643\u0628\u0631",densityMiddle:"\u0648\u0633\u0637",densitySmall:"\u0645\u062F\u0645\u062C"},stepsForm:{next:"\u0627\u0644\u062A\u0627\u0644\u064A",prev:"\u0627\u0644\u0633\u0627\u0628\u0642",submit:"\u0623\u0646\u0647\u0649"},loginForm:{submitText:"\u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644"},editableTable:{action:{save:"\u0623\u0646\u0642\u0630",cancel:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0623\u0645\u0631",delete:"\u062D\u0630\u0641",add:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0641 \u0645\u0646 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A"}},switch:{open:"\u0645\u0641\u062A\u0648\u062D",close:"\u063A\u0644\u0642"}},O={moneySymbol:"\u20AC",form:{lightFilter:{more:"M\xE9s",clear:"Netejar",confirm:"Confirmar",itemUnit:"Elements"}},tableForm:{search:"Cercar",reset:"Netejar",submit:"Enviar",collapsed:"Expandir",expand:"Col\xB7lapsar",inputPlaceholder:"Introdu\xEFu valor",selectPlaceholder:"Seleccioneu valor"},alert:{clear:"Netejar",selected:"Seleccionat",item:"Article"},pagination:{total:{range:" ",total:"de",item:"articles"}},tableToolBar:{leftPin:"Pin a l'esquerra",rightPin:"Pin a la dreta",noPin:"Sense Pin",leftFixedTitle:"Fixat a l'esquerra",rightFixedTitle:"Fixat a la dreta",noFixedTitle:"Sense fixar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuraci\xF3",fullScreen:"Pantalla Completa",exitFullScreen:"Sortir Pantalla Completa",reload:"Refrescar",density:"Densitat",densityDefault:"Per Defecte",densityLarger:"Llarg",densityMiddle:"Mitj\xE0",densitySmall:"Compacte"},stepsForm:{next:"Seg\xFCent",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Cancel\xB7lar",delete:"Eliminar",add:"afegir una fila de dades"}},switch:{open:"obert",close:"tancat"}},C={moneySymbol:"K\u010D",deleteThisLine:"Smazat tento \u0159\xE1dek",copyThisLine:"Kop\xEDrovat tento \u0159\xE1dek",form:{lightFilter:{more:"V\xEDc",clear:"Vymazat",confirm:"Potvrdit",itemUnit:"Polo\u017Eky"}},tableForm:{search:"Dotaz",reset:"Resetovat",submit:"Odeslat",collapsed:"Zv\u011Bt\u0161it",expand:"Zmen\u0161it",inputPlaceholder:"Zadejte pros\xEDm",selectPlaceholder:"Vyberte pros\xEDm"},alert:{clear:"Vymazat",selected:"Vybran\xFD",item:"Polo\u017Eka"},pagination:{total:{range:" ",total:"z",item:"polo\u017Eek"}},tableToolBar:{leftPin:"P\u0159ipnout doleva",rightPin:"P\u0159ipnout doprava",noPin:"Odepnuto",leftFixedTitle:"Fixov\xE1no nalevo",rightFixedTitle:"Fixov\xE1no napravo",noFixedTitle:"Neopraveno",reset:"Resetovat",columnDisplay:"Zobrazen\xED sloupc\u016F",columnSetting:"Nastaven\xED",fullScreen:"Cel\xE1 obrazovka",exitFullScreen:"Ukon\u010Dete celou obrazovku",reload:"Obnovit",density:"Hustota",densityDefault:"V\xFDchoz\xED",densityLarger:"V\u011Bt\u0161\xED",densityMiddle:"St\u0159edn\xED",densitySmall:"Kompaktn\xED"},stepsForm:{next:"Dal\u0161\xED",prev:"P\u0159edchoz\xED",submit:"Dokon\u010Dit"},loginForm:{submitText:"P\u0159ihl\xE1sit se"},editableTable:{onlyOneLineEditor:"Upravit lze pouze jeden \u0159\xE1dek",action:{save:"Ulo\u017Eit",cancel:"Zru\u0161it",delete:"Vymazat",add:"p\u0159idat \u0159\xE1dek dat"}},switch:{open:"otev\u0159\xEDt",close:"zav\u0159\xEDt"}},k={moneySymbol:"\u20AC",form:{lightFilter:{more:"Mehr",clear:"Zur\xFCcksetzen",confirm:"Best\xE4tigen",itemUnit:"Eintr\xE4ge"}},tableForm:{search:"Suchen",reset:"Zur\xFCcksetzen",submit:"Absenden",collapsed:"Zeige mehr",expand:"Zeige weniger",inputPlaceholder:"Bitte eingeben",selectPlaceholder:"Bitte ausw\xE4hlen"},alert:{clear:"Zur\xFCcksetzen",selected:"Ausgew\xE4hlt",item:"Eintrag"},pagination:{total:{range:" ",total:"von",item:"Eintr\xE4gen"}},tableToolBar:{leftPin:"Links anheften",rightPin:"Rechts anheften",noPin:"Nicht angeheftet",leftFixedTitle:"Links fixiert",rightFixedTitle:"Rechts fixiert",noFixedTitle:"Nicht fixiert",reset:"Zur\xFCcksetzen",columnDisplay:"Angezeigte Reihen",columnSetting:"Einstellungen",fullScreen:"Vollbild",exitFullScreen:"Vollbild verlassen",reload:"Aktualisieren",density:"Abstand",densityDefault:"Standard",densityLarger:"Gr\xF6\xDFer",densityMiddle:"Mittel",densitySmall:"Kompakt"},stepsForm:{next:"Weiter",prev:"Zur\xFCck",submit:"Abschlie\xDFen"},loginForm:{submitText:"Anmelden"},editableTable:{action:{save:"Retten",cancel:"Abbrechen",delete:"L\xF6schen",add:"Hinzuf\xFCgen einer Datenzeile"}},switch:{open:"offen",close:"schlie\xDFen"}},A={moneySymbol:"\xA3",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},S={moneySymbol:"$",deleteThisLine:"Delete this line",copyThisLine:"Copy this line",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},y={moneySymbol:"\u20AC",form:{lightFilter:{more:"M\xE1s",clear:"Limpiar",confirm:"Confirmar",itemUnit:"art\xEDculos"}},tableForm:{search:"Buscar",reset:"Limpiar",submit:"Submit",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Ingrese valor",selectPlaceholder:"Seleccione valor"},alert:{clear:"Limpiar",selected:"Seleccionado",item:"Articulo"},pagination:{total:{range:" ",total:"de",item:"art\xEDculos"}},tableToolBar:{leftPin:"Pin a la izquierda",rightPin:"Pin a la derecha",noPin:"Sin Pin",leftFixedTitle:"Fijado a la izquierda",rightFixedTitle:"Fijado a la derecha",noFixedTitle:"Sin Fijar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuraci\xF3n",fullScreen:"Pantalla Completa",exitFullScreen:"Salir Pantalla Completa",reload:"Refrescar",density:"Densidad",densityDefault:"Por Defecto",densityLarger:"Largo",densityMiddle:"Medio",densitySmall:"Compacto"},stepsForm:{next:"Siguiente",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Descartar",delete:"Borrar",add:"a\xF1adir una fila de datos"}},switch:{open:"abrir",close:"cerrar"}},w={moneySymbol:"\u062A\u0648\u0645\u0627\u0646",form:{lightFilter:{more:"\u0628\u06CC\u0634\u062A\u0631",clear:"\u067E\u0627\u06A9 \u06A9\u0631\u062F\u0646",confirm:"\u062A\u0627\u06CC\u06CC\u062F",itemUnit:"\u0645\u0648\u0631\u062F"}},tableForm:{search:"\u062C\u0633\u062A\u062C\u0648",reset:"\u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06CC",submit:"\u062A\u0627\u06CC\u06CC\u062F",collapsed:"\u0646\u0645\u0627\u06CC\u0634 \u0628\u06CC\u0634\u062A\u0631",expand:"\u0646\u0645\u0627\u06CC\u0634 \u06A9\u0645\u062A\u0631",inputPlaceholder:"\u067E\u06CC\u062F\u0627 \u06A9\u0646\u06CC\u062F",selectPlaceholder:"\u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},alert:{clear:"\u067E\u0627\u06A9 \u0633\u0627\u0632\u06CC",selected:"\u0627\u0646\u062A\u062E\u0627\u0628",item:"\u0645\u0648\u0631\u062F"},pagination:{total:{range:" ",total:"\u0627\u0632",item:"\u0645\u0648\u0631\u062F"}},tableToolBar:{leftPin:"\u0633\u0646\u062C\u0627\u0642 \u0628\u0647 \u0686\u067E",rightPin:"\u0633\u0646\u062C\u0627\u0642 \u0628\u0647 \u0631\u0627\u0633\u062A",noPin:"\u0633\u0646\u062C\u0627\u0642 \u0646\u0634\u062F\u0647",leftFixedTitle:"\u062B\u0627\u0628\u062A \u0634\u062F\u0647 \u062F\u0631 \u0686\u067E",rightFixedTitle:"\u062B\u0627\u0628\u062A \u0634\u062F\u0647 \u062F\u0631 \u0631\u0627\u0633\u062A",noFixedTitle:"\u0634\u0646\u0627\u0648\u0631",reset:"\u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06CC",columnDisplay:"\u0646\u0645\u0627\u06CC\u0634 \u0647\u0645\u0647",columnSetting:"\u062A\u0646\u0638\u06CC\u0645\u0627\u062A",fullScreen:"\u062A\u0645\u0627\u0645 \u0635\u0641\u062D\u0647",exitFullScreen:"\u062E\u0631\u0648\u062C \u0627\u0632 \u062D\u0627\u0644\u062A \u062A\u0645\u0627\u0645 \u0635\u0641\u062D\u0647",reload:"\u062A\u0627\u0632\u0647 \u0633\u0627\u0632\u06CC",density:"\u062A\u0631\u0627\u06A9\u0645",densityDefault:"\u067E\u06CC\u0634 \u0641\u0631\u0636",densityLarger:"\u0628\u0632\u0631\u06AF",densityMiddle:"\u0645\u062A\u0648\u0633\u0637",densitySmall:"\u06A9\u0648\u0686\u06A9"},stepsForm:{next:"\u0628\u0639\u062F\u06CC",prev:"\u0642\u0628\u0644\u06CC",submit:"\u0627\u062A\u0645\u0627\u0645"},loginForm:{submitText:"\u0648\u0631\u0648\u062F"},editableTable:{action:{save:"\u0630\u062E\u06CC\u0631\u0647",cancel:"\u0644\u063A\u0648",delete:"\u062D\u0630\u0641",add:"\u06CC\u06A9 \u0631\u062F\u06CC\u0641 \u062F\u0627\u062F\u0647 \u0627\u0636\u0627\u0641\u0647 \u06A9\u0646\u06CC\u062F"}},switch:{open:"\u0628\u0627\u0632",close:"\u0646\u0632\u062F\u06CC\u06A9"}},x={moneySymbol:"\u20AC",form:{lightFilter:{more:"Plus",clear:"Effacer",confirm:"Confirmer",itemUnit:"Items"}},tableForm:{search:"Rechercher",reset:"R\xE9initialiser",submit:"Envoyer",collapsed:"Agrandir",expand:"R\xE9duire",inputPlaceholder:"Entrer une valeur",selectPlaceholder:"S\xE9lectionner une valeur"},alert:{clear:"R\xE9initialiser",selected:"S\xE9lectionn\xE9",item:"Item"},pagination:{total:{range:" ",total:"sur",item:"\xE9l\xE9ments"}},tableToolBar:{leftPin:"\xC9pingler \xE0 gauche",rightPin:"\xC9pingler \xE0 gauche",noPin:"Sans \xE9pingle",leftFixedTitle:"Fixer \xE0 gauche",rightFixedTitle:"Fixer \xE0 droite",noFixedTitle:"Non fix\xE9",reset:"R\xE9initialiser",columnDisplay:"Affichage colonne",columnSetting:"R\xE9glages",fullScreen:"Plein \xE9cran",exitFullScreen:"Quitter Plein \xE9cran",reload:"Rafraichir",density:"Densit\xE9",densityDefault:"Par d\xE9faut",densityLarger:"Larger",densityMiddle:"Moyenne",densitySmall:"Compacte"},stepsForm:{next:"Suivante",prev:"Pr\xE9c\xE9dente",submit:"Finaliser"},loginForm:{submitText:"Se connecter"},editableTable:{action:{save:"Sauvegarder",cancel:"Annuler",delete:"Supprimer",add:"ajouter une ligne de donn\xE9es"}},switch:{open:"ouvert",close:"pr\xE8s"}},T={moneySymbol:"kn",form:{lightFilter:{more:"Vi\u0161e",clear:"O\u010Disti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pretra\u017Ei",reset:"Poni\u0161ti",submit:"Potvrdi",collapsed:"Ra\u0161iri",expand:"Skupi",inputPlaceholder:"Unesite",selectPlaceholder:"Odaberite"},alert:{clear:"O\u010Disti",selected:"Odaberi",item:"stavke"},pagination:{total:{range:" ",total:"od",item:"stavke"}},tableToolBar:{leftPin:"Prika\u010Di lijevo",rightPin:"Prika\u010Di desno",noPin:"Bez prika\u010Denja",leftFixedTitle:"Fiksiraj lijevo",rightFixedTitle:"Fiksiraj desno",noFixedTitle:"Bez fiksiranja",reset:"Resetiraj",columnDisplay:"Prikaz stupaca",columnSetting:"Postavke",fullScreen:"Puni zaslon",exitFullScreen:"Iza\u0111i iz punog zaslona",reload:"Ponovno u\u010Ditaj",density:"Veli\u010Dina",densityDefault:"Zadano",densityLarger:"Veliko",densityMiddle:"Srednje",densitySmall:"Malo"},stepsForm:{next:"Sljede\u0107i",prev:"Prethodni",submit:"Kraj"},loginForm:{submitText:"Prijava"},editableTable:{action:{save:"Spremi",cancel:"Odustani",delete:"Obri\u0161i",add:"dodajte red podataka"}},switch:{open:"otvori",close:"zatvori"}},j={moneySymbol:"RP",form:{lightFilter:{more:"Lebih",clear:"Hapus",confirm:"Konfirmasi",itemUnit:"Unit"}},tableForm:{search:"Cari",reset:"Atur ulang",submit:"Kirim",collapsed:"Lebih sedikit",expand:"Lebih banyak",inputPlaceholder:"Masukkan pencarian",selectPlaceholder:"Pilih"},alert:{clear:"Hapus",selected:"Dipilih",item:"Butir"},pagination:{total:{range:" ",total:"Dari",item:"Butir"}},tableToolBar:{leftPin:"Pin kiri",rightPin:"Pin kanan",noPin:"Tidak ada pin",leftFixedTitle:"Rata kiri",rightFixedTitle:"Rata kanan",noFixedTitle:"Tidak tetap",reset:"Atur ulang",columnDisplay:"Tampilan kolom",columnSetting:"Pengaturan",fullScreen:"Layar penuh",exitFullScreen:"Keluar layar penuh",reload:"Atur ulang",density:"Kerapatan",densityDefault:"Standar",densityLarger:"Lebih besar",densityMiddle:"Sedang",densitySmall:"Rapat"},stepsForm:{next:"Selanjutnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Login"},editableTable:{action:{save:"simpan",cancel:"batal",delete:"hapus",add:"Tambahkan baris data"}},switch:{open:"buka",close:"tutup"}},D={moneySymbol:"\u20AC",form:{lightFilter:{more:"pi\xF9",clear:"pulisci",confirm:"conferma",itemUnit:"elementi"}},tableForm:{search:"Filtra",reset:"Pulisci",submit:"Invia",collapsed:"Espandi",expand:"Contrai",inputPlaceholder:"Digita",selectPlaceholder:"Seleziona"},alert:{clear:"Rimuovi",selected:"Selezionati",item:"elementi"},pagination:{total:{range:" ",total:"di",item:"elementi"}},tableToolBar:{leftPin:"Fissa a sinistra",rightPin:"Fissa a destra",noPin:"Ripristina posizione",leftFixedTitle:"Fissato a sinistra",rightFixedTitle:"Fissato a destra",noFixedTitle:"Non fissato",reset:"Ripristina",columnDisplay:"Disposizione colonne",columnSetting:"Impostazioni",fullScreen:"Modalit\xE0 schermo intero",exitFullScreen:"Esci da modalit\xE0 schermo intero",reload:"Ricarica",density:"Grandezza tabella",densityDefault:"predefinito",densityLarger:"Grande",densityMiddle:"Media",densitySmall:"Compatta"},stepsForm:{next:"successivo",prev:"precedente",submit:"finisci"},loginForm:{submitText:"Accedi"},editableTable:{action:{save:"salva",cancel:"annulla",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"chiudi"}},N={moneySymbol:"\xA5",form:{lightFilter:{more:"\u66F4\u306B",clear:"\u30AF\u30EA\u30A2",confirm:"\u78BA\u8A8D",itemUnit:"\u30A2\u30A4\u30C6\u30E0"}},tableForm:{search:"\u691C\u7D22",reset:"\u30EA\u30BB\u30C3\u30C8",submit:"\u9001\u4FE1",collapsed:"\u62E1\u5927",expand:"\u6298\u7573",inputPlaceholder:"\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",selectPlaceholder:"\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"},alert:{clear:"\u30AF\u30EA\u30A2",selected:"\u9078\u629E\u3057\u305F",item:"\u30A2\u30A4\u30C6\u30E0"},pagination:{total:{range:"\u30EC\u30B3\u30FC\u30C9",total:"/\u5408\u8A08",item:" "}},tableToolBar:{leftPin:"\u5DE6\u306B\u56FA\u5B9A",rightPin:"\u53F3\u306B\u56FA\u5B9A",noPin:"\u30AD\u30E3\u30F3\u30BB\u30EB",leftFixedTitle:"\u5DE6\u306B\u56FA\u5B9A\u3055\u308C\u305F\u9805\u76EE",rightFixedTitle:"\u53F3\u306B\u56FA\u5B9A\u3055\u308C\u305F\u9805\u76EE",noFixedTitle:"\u56FA\u5B9A\u3055\u308C\u3066\u306A\u3044\u9805\u76EE",reset:"\u30EA\u30BB\u30C3\u30C8",columnDisplay:"\u8868\u793A\u5217",columnSetting:"\u5217\u8868\u793A\u8A2D\u5B9A",fullScreen:"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3",exitFullScreen:"\u7D42\u4E86",reload:"\u66F4\u65B0",density:"\u884C\u9AD8",densityDefault:"\u30C7\u30D5\u30A9\u30EB\u30C8",densityLarger:"\u5927",densityMiddle:"\u4E2D",densitySmall:"\u5C0F"},stepsForm:{next:"\u6B21\u3078",prev:"\u524D\u3078",submit:"\u9001\u4FE1"},loginForm:{submitText:"\u30ED\u30B0\u30A4\u30F3"},editableTable:{action:{save:"\u4FDD\u5B58",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",delete:"\u524A\u9664",add:"\u8FFD\u52A0"}},switch:{open:"\u958B\u304F",close:"\u9589\u3058\u308B"}},F={moneySymbol:"\u20A9",form:{lightFilter:{more:"\uB354\uBCF4\uAE30",clear:"\uCD08\uAE30\uD654",confirm:"\uD655\uC778",itemUnit:"\uAC74\uC218"}},tableForm:{search:"\uC870\uD68C",reset:"\uCD08\uAE30\uD654",submit:"\uC81C\uCD9C",collapsed:"\uD655\uC7A5",expand:"\uB2EB\uAE30",inputPlaceholder:"\uC785\uB825\uD574 \uC8FC\uC138\uC694",selectPlaceholder:"\uC120\uD0DD\uD574 \uC8FC\uC138\uC694"},alert:{clear:"\uCDE8\uC18C",selected:"\uC120\uD0DD",item:"\uAC74"},pagination:{total:{range:" ",total:"/ \uCD1D",item:"\uAC74"}},tableToolBar:{leftPin:"\uC67C\uCABD\uC73C\uB85C \uD540",rightPin:"\uC624\uB978\uCABD\uC73C\uB85C \uD540",noPin:"\uD540 \uC81C\uAC70",leftFixedTitle:"\uC67C\uCABD\uC73C\uB85C \uACE0\uC815",rightFixedTitle:"\uC624\uB978\uCABD\uC73C\uB85C \uACE0\uC815",noFixedTitle:"\uBE44\uACE0\uC815",reset:"\uCD08\uAE30\uD654",columnDisplay:"\uCEEC\uB7FC \uD45C\uC2DC",columnSetting:"\uC124\uC815",fullScreen:"\uC804\uCCB4 \uD654\uBA74",exitFullScreen:"\uC804\uCCB4 \uD654\uBA74 \uCDE8\uC18C",reload:"\uC0C8\uB85C \uACE0\uCE68",density:"\uC5EC\uBC31",densityDefault:"\uAE30\uBCF8",densityLarger:"\uB9CE\uC740 \uC5EC\uBC31",densityMiddle:"\uC911\uAC04 \uC5EC\uBC31",densitySmall:"\uC881\uC740 \uC5EC\uBC31"},stepsForm:{next:"\uB2E4\uC74C",prev:"\uC774\uC804",submit:"\uC885\uB8CC"},loginForm:{submitText:"\uB85C\uADF8\uC778"},editableTable:{action:{save:"\uC800\uC7A5",cancel:"\uCDE8\uC18C",delete:"\uC0AD\uC81C",add:"\uB370\uC774\uD130 \uD589 \uCD94\uAC00"}},switch:{open:"\uC5F4",close:"\uAC00\uAE4C \uC6B4"}},B={moneySymbol:"\u20AE",form:{lightFilter:{more:"\u0418\u043B\u04AF\u04AF",clear:"\u0426\u044D\u0432\u044D\u0440\u043B\u044D\u0445",confirm:"\u0411\u0430\u0442\u0430\u043B\u0433\u0430\u0430\u0436\u0443\u0443\u043B\u0430\u0445",itemUnit:"\u041D\u044D\u0433\u0436\u04AF\u04AF\u0434"}},tableForm:{search:"\u0425\u0430\u0439\u0445",reset:"\u0428\u0438\u043D\u044D\u0447\u043B\u044D\u0445",submit:"\u0418\u043B\u0433\u044D\u044D\u0445",collapsed:"\u04E8\u0440\u0433\u04E9\u0442\u0433\u04E9\u0445",expand:"\u0425\u0443\u0440\u0430\u0430\u0445",inputPlaceholder:"\u0423\u0442\u0433\u0430 \u043E\u0440\u0443\u0443\u043B\u043D\u0430 \u0443\u0443",selectPlaceholder:"\u0423\u0442\u0433\u0430 \u0441\u043E\u043D\u0433\u043E\u043D\u043E \u0443\u0443"},alert:{clear:"\u0426\u044D\u0432\u044D\u0440\u043B\u044D\u0445",selected:"\u0421\u043E\u043D\u0433\u043E\u0433\u0434\u0441\u043E\u043D",item:"\u041D\u044D\u0433\u0436"},pagination:{total:{range:" ",total:"\u041D\u0438\u0439\u0442",item:"\u043C\u04E9\u0440"}},tableToolBar:{leftPin:"\u0417\u04AF\u04AF\u043D \u0442\u0438\u0439\u0448 \u0431\u044D\u0445\u043B\u044D\u0445",rightPin:"\u0411\u0430\u0440\u0443\u0443\u043D \u0442\u0438\u0439\u0448 \u0431\u044D\u0445\u043B\u044D\u0445",noPin:"\u0411\u044D\u0445\u043B\u044D\u0445\u0433\u04AF\u0439",leftFixedTitle:"\u0417\u04AF\u04AF\u043D \u0437\u044D\u0440\u044D\u0433\u0446\u04AF\u04AF\u043B\u044D\u0445",rightFixedTitle:"\u0411\u0430\u0440\u0443\u0443\u043D \u0437\u044D\u0440\u044D\u0433\u0446\u04AF\u04AF\u043B\u044D\u0445",noFixedTitle:"\u0417\u044D\u0440\u044D\u0433\u0446\u04AF\u04AF\u043B\u044D\u0445\u0433\u04AF\u0439",reset:"\u0428\u0438\u043D\u044D\u0447\u043B\u044D\u0445",columnDisplay:"\u0411\u0430\u0433\u0430\u043D\u0430\u0430\u0440 \u0445\u0430\u0440\u0443\u0443\u043B\u0430\u0445",columnSetting:"\u0422\u043E\u0445\u0438\u0440\u0433\u043E\u043E",fullScreen:"\u0411\u04AF\u0442\u044D\u043D \u0434\u044D\u043B\u0433\u044D\u0446\u044D\u044D\u0440",exitFullScreen:"\u0411\u04AF\u0442\u044D\u043D \u0434\u044D\u043B\u0433\u044D\u0446 \u0446\u0443\u0446\u043B\u0430\u0445",reload:"\u0428\u0438\u043D\u044D\u0447\u043B\u044D\u0445",density:"\u0425\u044D\u043C\u0436\u044D\u044D",densityDefault:"\u0425\u044D\u0432\u0438\u0439\u043D",densityLarger:"\u0422\u043E\u043C",densityMiddle:"\u0414\u0443\u043D\u0434",densitySmall:"\u0416\u0438\u0436\u0438\u0433"},stepsForm:{next:"\u0414\u0430\u0440\u0430\u0430\u0445",prev:"\u04E8\u043C\u043D\u04E9\u0445",submit:"\u0414\u0443\u0443\u0441\u0433\u0430\u0445"},loginForm:{submitText:"\u041D\u044D\u0432\u0442\u0440\u044D\u0445"},editableTable:{action:{save:"\u0425\u0430\u0434\u0433\u0430\u043B\u0430\u0445",cancel:"\u0426\u0443\u0446\u043B\u0430\u0445",delete:"\u0423\u0441\u0442\u0433\u0430\u0445",add:"\u041C\u04E9\u0440 \u043D\u044D\u043C\u044D\u0445"}},switch:{open:"\u041D\u044D\u044D\u0445",close:"\u0425\u0430\u0430\u0445"}},U={moneySymbol:"RM",form:{lightFilter:{more:"Lebih banyak",clear:"Jelas",confirm:"Mengesahkan",itemUnit:"Item"}},tableForm:{search:"Cari",reset:"Menetapkan semula",submit:"Hantar",collapsed:"Kembang",expand:"Kuncup",inputPlaceholder:"Sila masuk",selectPlaceholder:"Sila pilih"},alert:{clear:"Padam",selected:"Dipilih",item:"Item"},pagination:{total:{range:" ",total:"daripada",item:"item"}},tableToolBar:{leftPin:"Pin ke kiri",rightPin:"Pin ke kanan",noPin:"Tidak pin",leftFixedTitle:"Tetap ke kiri",rightFixedTitle:"Tetap ke kanan",noFixedTitle:"Tidak Tetap",reset:"Menetapkan semula",columnDisplay:"Lajur",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Keluar Full Screen",reload:"Muat Semula",density:"Densiti",densityDefault:"Biasa",densityLarger:"Besar",densityMiddle:"Tengah",densitySmall:"Kecil"},stepsForm:{next:"Seterusnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Log Masuk"},editableTable:{action:{save:"Simpan",cancel:"Membatalkan",delete:"Menghapuskan",add:"tambah baris data"}},switch:{open:"Terbuka",close:"Tutup"}},J={moneySymbol:"z\u0142",form:{lightFilter:{more:"Wi\u0119cej",clear:"Wyczy\u015B\u0107",confirm:"Potwierd\u017A",itemUnit:"Ilo\u015B\u0107"}},tableForm:{search:"Szukaj",reset:"Reset",submit:"Zatwierd\u017A",collapsed:"Poka\u017C wiecej",expand:"Poka\u017C mniej",inputPlaceholder:"Prosz\u0119 poda\u0107",selectPlaceholder:"Prosz\u0119 wybra\u0107"},alert:{clear:"Wyczy\u015B\u0107",selected:"Wybrane",item:"Wpis"},pagination:{total:{range:" ",total:"z",item:"Wpis\xF3w"}},tableToolBar:{leftPin:"Przypnij do lewej",rightPin:"Przypnij do prawej",noPin:"Odepnij",leftFixedTitle:"Przypi\u0119te do lewej",rightFixedTitle:"Przypi\u0119te do prawej",noFixedTitle:"Nieprzypi\u0119te",reset:"Reset",columnDisplay:"Wy\u015Bwietlane wiersze",columnSetting:"Ustawienia",fullScreen:"Pe\u0142en ekran",exitFullScreen:"Zamknij pe\u0142en ekran",reload:"Od\u015Bwie\u017C",density:"Odst\u0119p",densityDefault:"Standard",densityLarger:"Wiekszy",densityMiddle:"Sredni",densitySmall:"Kompaktowy"},stepsForm:{next:"Weiter",prev:"Zur\xFCck",submit:"Abschlie\xDFen"},loginForm:{submitText:"Zaloguj si\u0119"},editableTable:{action:{save:"Zapisa\u0107",cancel:"Anuluj",delete:"Usun\u0105\u0107",add:"dodawanie wiersza danych"}},switch:{open:"otwiera\u0107",close:"zamyka\u0107"}},$={moneySymbol:"R$",form:{lightFilter:{more:"Mais",clear:"Limpar",confirm:"Confirmar",itemUnit:"Itens"}},tableForm:{search:"Filtrar",reset:"Limpar",submit:"Confirmar",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Por favor insira",selectPlaceholder:"Por favor selecione"},alert:{clear:"Limpar",selected:"Selecionado(s)",item:"Item(s)"},pagination:{total:{range:" ",total:"de",item:"itens"}},tableToolBar:{leftPin:"Fixar \xE0 esquerda",rightPin:"Fixar \xE0 direita",noPin:"Desfixado",leftFixedTitle:"Fixado \xE0 esquerda",rightFixedTitle:"Fixado \xE0 direita",noFixedTitle:"N\xE3o fixado",reset:"Limpar",columnDisplay:"Mostrar Coluna",columnSetting:"Configura\xE7\xF5es",fullScreen:"Tela Cheia",exitFullScreen:"Sair da Tela Cheia",reload:"Atualizar",density:"Densidade",densityDefault:"Padr\xE3o",densityLarger:"Largo",densityMiddle:"M\xE9dio",densitySmall:"Compacto"},stepsForm:{next:"Pr\xF3ximo",prev:"Anterior",submit:"Enviar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Salvar",cancel:"Cancelar",delete:"Apagar",add:"adicionar uma linha de dados"}},switch:{open:"abrir",close:"fechar"}},X={moneySymbol:"\u20BD",form:{lightFilter:{more:"\u0415\u0449\u0435",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",confirm:"\u041E\u041A",itemUnit:"\u041F\u043E\u0437\u0438\u0446\u0438\u0438"}},tableForm:{search:"\u041D\u0430\u0439\u0442\u0438",reset:"\u0421\u0431\u0440\u043E\u0441",submit:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",collapsed:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C",expand:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C",inputPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"},alert:{clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",selected:"\u0412\u044B\u0431\u0440\u0430\u043D\u043E",item:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},pagination:{total:{range:" ",total:"\u0438\u0437",item:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"}},tableToolBar:{leftPin:"\u0417\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0441\u043B\u0435\u0432\u0430",rightPin:"\u0417\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0441\u043F\u0440\u0430\u0432\u0430",noPin:"\u041E\u0442\u043A\u0440\u0435\u043F\u0438\u0442\u044C",leftFixedTitle:"\u0417\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u043E \u0441\u043B\u0435\u0432\u0430",rightFixedTitle:"\u0417\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u043E \u0441\u043F\u0440\u0430\u0432\u0430",noFixedTitle:"\u041D\u0435 \u0437\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u043E",reset:"\u0421\u0431\u0440\u043E\u0441",columnDisplay:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0441\u0442\u043E\u043B\u0431\u0446\u0430",columnSetting:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",fullScreen:"\u041F\u043E\u043B\u043D\u044B\u0439 \u044D\u043A\u0440\u0430\u043D",exitFullScreen:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",reload:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",density:"\u0420\u0430\u0437\u043C\u0435\u0440",densityDefault:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",densityLarger:"\u0411\u043E\u043B\u044C\u0448\u043E\u0439",densityMiddle:"\u0421\u0440\u0435\u0434\u043D\u0438\u0439",densitySmall:"\u0421\u0436\u0430\u0442\u044B\u0439"},stepsForm:{next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439",prev:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439",submit:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C"},loginForm:{submitText:"\u0412\u0445\u043E\u0434"},editableTable:{action:{save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",cancel:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",add:"\u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0440\u044F\u0434 \u0434\u0430\u043D\u043D\u044B\u0445"}},switch:{open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0439 \u0447\u0435\u043C\u043F\u0438\u043E\u043D\u0430\u0442 \u043C\u0438\u0440\u0430 \u043F\u043E \u0442\u0435\u043D\u043D\u0438\u0441\u0443",close:"\u041F\u043E \u0430\u0434\u0440\u0435\u0441\u0443:"}},ee={moneySymbol:"\u20AC",deleteThisLine:"Odstr\xE1ni\u0165 tento riadok",copyThisLine:"Skop\xEDrujte tento riadok",form:{lightFilter:{more:"Viac",clear:"Vy\u010Disti\u0165",confirm:"Potvr\u010Fte",itemUnit:"Polo\u017Eky"}},tableForm:{search:"Vyhlada\u0165",reset:"Resetova\u0165",submit:"Odosla\u0165",collapsed:"Rozbali\u0165",expand:"Zbali\u0165",inputPlaceholder:"Pros\xEDm, zadajte",selectPlaceholder:"Pros\xEDm, vyberte"},alert:{clear:"Vy\u010Disti\u0165",selected:"Vybran\xFD",item:"Polo\u017Eka"},pagination:{total:{range:" ",total:"z",item:"polo\u017Eiek"}},tableToolBar:{leftPin:"Pripn\xFA\u0165 v\u013Eavo",rightPin:"Pripn\xFA\u0165 vpravo",noPin:"Odopnut\xE9",leftFixedTitle:"Fixovan\xE9 na \u013Eavo",rightFixedTitle:"Fixovan\xE9 na pravo",noFixedTitle:"Nefixovan\xE9",reset:"Resetova\u0165",columnDisplay:"Zobrazenie st\u013Apcov",columnSetting:"Nastavenia",fullScreen:"Cel\xE1 obrazovka",exitFullScreen:"Ukon\u010Di\u0165 cel\xFA obrazovku",reload:"Obnovi\u0165",density:"Hustota",densityDefault:"Predvolen\xE9",densityLarger:"V\xE4\u010D\u0161ie",densityMiddle:"Stredn\xE9",densitySmall:"Kompaktn\xE9"},stepsForm:{next:"\u010Eal\u0161ie",prev:"Predch\xE1dzaj\xFAce",submit:"Potvrdi\u0165"},loginForm:{submitText:"Prihl\xE1si\u0165 sa"},editableTable:{onlyOneLineEditor:"Upravova\u0165 mo\u017Eno iba jeden riadok",action:{save:"Ulo\u017Ei\u0165",cancel:"Zru\u0161i\u0165",delete:"Odstr\xE1ni\u0165",add:"prida\u0165 riadok \xFAdajov"}},switch:{open:"otvori\u0165",close:"zavrie\u0165"}},ie={moneySymbol:"RSD",form:{lightFilter:{more:"Vi\u0161e",clear:"O\u010Disti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Prona\u0111i",reset:"Resetuj",submit:"Po\u0161alji",collapsed:"Pro\u0161iri",expand:"Skupi",inputPlaceholder:"Molimo unesite",selectPlaceholder:"Molimo odaberite"},alert:{clear:"O\u010Disti",selected:"Odabrano",item:"Stavka"},pagination:{total:{range:" ",total:"od",item:"stavki"}},tableToolBar:{leftPin:"Zaka\u010Di levo",rightPin:"Zaka\u010Di desno",noPin:"Nije zaka\u010Deno",leftFixedTitle:"Fiksirano levo",rightFixedTitle:"Fiksirano desno",noFixedTitle:"Nije fiksirano",reset:"Resetuj",columnDisplay:"Prikaz kolona",columnSetting:"Pode\u0161avanja",fullScreen:"Pun ekran",exitFullScreen:"Zatvori pun ekran",reload:"Osve\u017Ei",density:"Veli\u010Dina",densityDefault:"Podrazumevana",densityLarger:"Ve\u0107a",densityMiddle:"Srednja",densitySmall:"Kompaktna"},stepsForm:{next:"Dalje",prev:"Nazad",submit:"Gotovo"},loginForm:{submitText:"Prijavi se"},editableTable:{action:{save:"Sa\u010Duvaj",cancel:"Poni\u0161ti",delete:"Obri\u0161i",add:"dodajte red podataka"}},switch:{open:"\u041E\u0442\u0432\u043E\u0440\u0438\u0442\u0435",close:"\u0417\u0430\u0442\u0432\u043E\u0440\u0438\u0442\u0435"}},G={moneySymbol:"\u0E3F",deleteThisLine:"\u0E25\u0E1A\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E19\u0E35\u0E49",copyThisLine:"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E19\u0E35\u0E49",form:{lightFilter:{more:"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",clear:"\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19",confirm:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19",itemUnit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}},tableForm:{search:"\u0E2A\u0E2D\u0E1A\u0E16\u0E32\u0E21",reset:"\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15",submit:"\u0E2A\u0E48\u0E07",collapsed:"\u0E02\u0E22\u0E32\u0E22",expand:"\u0E17\u0E23\u0E38\u0E14",inputPlaceholder:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E1B\u0E49\u0E2D\u0E19",selectPlaceholder:"\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01"},alert:{clear:"\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19",selected:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27",item:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"},pagination:{total:{range:" ",total:"\u0E02\u0E2D\u0E07",item:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}},tableToolBar:{leftPin:"\u0E1B\u0E31\u0E01\u0E2B\u0E21\u0E38\u0E14\u0E44\u0E1B\u0E17\u0E32\u0E07\u0E0B\u0E49\u0E32\u0E22",rightPin:"\u0E1B\u0E31\u0E01\u0E2B\u0E21\u0E38\u0E14\u0E44\u0E1B\u0E17\u0E32\u0E07\u0E02\u0E27\u0E32",noPin:"\u0E40\u0E25\u0E34\u0E01\u0E15\u0E23\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",leftFixedTitle:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E14\u0E49\u0E32\u0E19\u0E0B\u0E49\u0E32\u0E22",rightFixedTitle:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E14\u0E49\u0E32\u0E19\u0E02\u0E27\u0E32",noFixedTitle:"\u0E44\u0E21\u0E48\u0E04\u0E07\u0E17\u0E35\u0E48",reset:"\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15",columnDisplay:"\u0E01\u0E32\u0E23\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C",columnSetting:"\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",fullScreen:"\u0E40\u0E15\u0E47\u0E21\u0E08\u0E2D",exitFullScreen:"\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E42\u0E2B\u0E21\u0E14\u0E40\u0E15\u0E47\u0E21\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D",reload:"\u0E23\u0E35\u0E40\u0E1F\u0E23\u0E0A",density:"\u0E04\u0E27\u0E32\u0E21\u0E2B\u0E19\u0E32\u0E41\u0E19\u0E48\u0E19",densityDefault:"\u0E04\u0E48\u0E32\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19",densityLarger:"\u0E02\u0E19\u0E32\u0E14\u0E43\u0E2B\u0E0D\u0E48\u0E02\u0E36\u0E49\u0E19",densityMiddle:"\u0E01\u0E25\u0E32\u0E07",densitySmall:"\u0E01\u0E30\u0E17\u0E31\u0E14\u0E23\u0E31\u0E14"},stepsForm:{next:"\u0E16\u0E31\u0E14\u0E44\u0E1B",prev:"\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",submit:"\u0E40\u0E2A\u0E23\u0E47\u0E08"},loginForm:{submitText:"\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A"},editableTable:{onlyOneLineEditor:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E44\u0E14\u0E49\u0E40\u0E1E\u0E35\u0E22\u0E07\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E40\u0E14\u0E35\u0E22\u0E27\u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19",action:{save:"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01",cancel:"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",delete:"\u0E25\u0E1A",add:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E41\u0E16\u0E27\u0E02\u0E2D\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25"}},switch:{open:"\u0E40\u0E1B\u0E34\u0E14",close:"\u0E1B\u0E34\u0E14"}},Q={moneySymbol:"\u20BA",form:{lightFilter:{more:"Daha Fazla",clear:"Temizle",confirm:"Onayla",itemUnit:"\xD6\u011Feler"}},tableForm:{search:"Filtrele",reset:"S\u0131f\u0131rla",submit:"G\xF6nder",collapsed:"Daha fazla",expand:"Daha az",inputPlaceholder:"Filtrelemek i\xE7in bir de\u011Fer girin",selectPlaceholder:"Filtrelemek i\xE7in bir de\u011Fer se\xE7in"},alert:{clear:"Temizle",selected:"Se\xE7ili",item:"\xD6\u011Fe"},pagination:{total:{range:" ",total:"Toplam",item:"\xD6\u011Fe"}},tableToolBar:{leftPin:"Sola sabitle",rightPin:"Sa\u011Fa sabitle",noPin:"Sabitlemeyi kald\u0131r",leftFixedTitle:"Sola sabitlendi",rightFixedTitle:"Sa\u011Fa sabitlendi",noFixedTitle:"Sabitlenmedi",reset:"S\u0131f\u0131rla",columnDisplay:"Kolon G\xF6r\xFCn\xFCm\xFC",columnSetting:"Ayarlar",fullScreen:"Tam Ekran",exitFullScreen:"Tam Ekrandan \xC7\u0131k",reload:"Yenile",density:"Kal\u0131nl\u0131k",densityDefault:"Varsay\u0131lan",densityLarger:"B\xFCy\xFCk",densityMiddle:"Orta",densitySmall:"K\xFC\xE7\xFCk"},stepsForm:{next:"S\u0131radaki",prev:"\xD6nceki",submit:"G\xF6nder"},loginForm:{submitText:"Giri\u015F Yap"},editableTable:{action:{save:"Kaydet",cancel:"Vazge\xE7",delete:"Sil",add:"foegje in rige gegevens ta"}},switch:{open:"a\xE7\u0131k",close:"kapatmak"}},W={moneySymbol:"\u20AB",form:{lightFilter:{more:"Nhi\u1EC1u h\u01A1n",clear:"Trong",confirm:"X\xE1c nh\u1EADn",itemUnit:"M\u1EE5c"}},tableForm:{search:"T\xECm ki\u1EBFm",reset:"L\xE0m l\u1EA1i",submit:"G\u1EEDi \u0111i",collapsed:"M\u1EDF r\u1ED9ng",expand:"Thu g\u1ECDn",inputPlaceholder:"nh\u1EADp d\u1EEF li\u1EC7u",selectPlaceholder:"Vui l\xF2ng ch\u1ECDn"},alert:{clear:"X\xF3a",selected:"\u0111\xE3 ch\u1ECDn",item:"m\u1EE5c"},pagination:{total:{range:" ",total:"tr\xEAn",item:"m\u1EB7t h\xE0ng"}},tableToolBar:{leftPin:"Ghim tr\xE1i",rightPin:"Ghim ph\u1EA3i",noPin:"B\u1ECF ghim",leftFixedTitle:"C\u1ED1 \u0111\u1ECBnh tr\xE1i",rightFixedTitle:"C\u1ED1 \u0111\u1ECBnh ph\u1EA3i",noFixedTitle:"Ch\u01B0a c\u1ED1 \u0111\u1ECBnh",reset:"L\xE0m l\u1EA1i",columnDisplay:"C\u1ED9t hi\u1EC3n th\u1ECB",columnSetting:"C\u1EA5u h\xECnh",fullScreen:"Ch\u1EBF \u0111\u1ED9 to\xE0n m\xE0n h\xECnh",exitFullScreen:"Tho\xE1t ch\u1EBF \u0111\u1ED9 to\xE0n m\xE0n h\xECnh",reload:"L\xE0m m\u1EDBi",density:"M\u1EADt \u0111\u1ED9 hi\u1EC3n th\u1ECB",densityDefault:"M\u1EB7c \u0111\u1ECBnh",densityLarger:"M\u1EB7c \u0111\u1ECBnh",densityMiddle:"Trung b\xECnh",densitySmall:"Ch\u1EADt"},stepsForm:{next:"Sau",prev:"Tr\u01B0\u1EDBc",submit:"K\u1EBFt th\xFAc"},loginForm:{submitText:"\u0110\u0103ng nh\u1EADp"},editableTable:{action:{save:"C\u1EE9u",cancel:"H\u1EE7y",delete:"X\xF3a",add:"th\xEAm m\u1ED9t h\xE0ng d\u1EEF li\u1EC7u"}},switch:{open:"m\u1EDF",close:"\u0111\xF3ng"}},ne={moneySymbol:"\uFFE5",deleteThisLine:"\u5220\u9664\u6B64\u884C",copyThisLine:"\u590D\u5236\u6B64\u884C",form:{lightFilter:{more:"\u66F4\u591A\u7B5B\u9009",clear:"\u6E05\u9664",confirm:"\u786E\u8BA4",itemUnit:"\u9879"}},tableForm:{search:"\u67E5\u8BE2",reset:"\u91CD\u7F6E",submit:"\u63D0\u4EA4",collapsed:"\u5C55\u5F00",expand:"\u6536\u8D77",inputPlaceholder:"\u8BF7\u8F93\u5165",selectPlaceholder:"\u8BF7\u9009\u62E9"},alert:{clear:"\u53D6\u6D88\u9009\u62E9",selected:"\u5DF2\u9009\u62E9",item:"\u9879"},pagination:{total:{range:"\u7B2C",total:"\u6761/\u603B\u5171",item:"\u6761"}},tableToolBar:{leftPin:"\u56FA\u5B9A\u5728\u5217\u9996",rightPin:"\u56FA\u5B9A\u5728\u5217\u5C3E",noPin:"\u4E0D\u56FA\u5B9A",leftFixedTitle:"\u56FA\u5B9A\u5728\u5DE6\u4FA7",rightFixedTitle:"\u56FA\u5B9A\u5728\u53F3\u4FA7",noFixedTitle:"\u4E0D\u56FA\u5B9A",reset:"\u91CD\u7F6E",columnDisplay:"\u5217\u5C55\u793A",columnSetting:"\u5217\u8BBE\u7F6E",fullScreen:"\u5168\u5C4F",exitFullScreen:"\u9000\u51FA\u5168\u5C4F",reload:"\u5237\u65B0",density:"\u5BC6\u5EA6",densityDefault:"\u6B63\u5E38",densityLarger:"\u9ED8\u8BA4",densityMiddle:"\u4E2D\u7B49",densitySmall:"\u7D27\u51D1"},stepsForm:{next:"\u4E0B\u4E00\u6B65",prev:"\u4E0A\u4E00\u6B65",submit:"\u63D0\u4EA4"},loginForm:{submitText:"\u767B\u5F55"},editableTable:{onlyOneLineEditor:"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C",action:{save:"\u4FDD\u5B58",cancel:"\u53D6\u6D88",delete:"\u5220\u9664",add:"\u6DFB\u52A0\u4E00\u884C\u6570\u636E"}},switch:{open:"\u6253\u5F00",close:"\u5173\u95ED"}},te={moneySymbol:"NT$",deleteThisLine:"\u522A\u9664\u6B64\u884C",copyThisLine:"\u8907\u88FD\u6B64\u884C",form:{lightFilter:{more:"\u66F4\u591A\u7BE9\u9078",clear:"\u6E05\u9664",confirm:"\u78BA\u8A8D",itemUnit:"\u9805"}},tableForm:{search:"\u67E5\u8A62",reset:"\u91CD\u7F6E",submit:"\u63D0\u4EA4",collapsed:"\u5C55\u958B",expand:"\u6536\u8D77",inputPlaceholder:"\u8ACB\u8F38\u5165",selectPlaceholder:"\u8ACB\u9078\u64C7"},alert:{clear:"\u53D6\u6D88\u9078\u64C7",selected:"\u5DF2\u9078\u64C7",item:"\u9805"},pagination:{total:{range:"\u7B2C",total:"\u689D/\u7E3D\u5171",item:"\u689D"}},tableToolBar:{leftPin:"\u56FA\u5B9A\u5230\u5DE6\u908A",rightPin:"\u56FA\u5B9A\u5230\u53F3\u908A",noPin:"\u4E0D\u56FA\u5B9A",leftFixedTitle:"\u56FA\u5B9A\u5728\u5DE6\u5074",rightFixedTitle:"\u56FA\u5B9A\u5728\u53F3\u5074",noFixedTitle:"\u4E0D\u56FA\u5B9A",reset:"\u91CD\u7F6E",columnDisplay:"\u5217\u5C55\u793A",columnSetting:"\u5217\u8A2D\u7F6E",fullScreen:"\u5168\u5C4F",exitFullScreen:"\u9000\u51FA\u5168\u5C4F",reload:"\u5237\u65B0",density:"\u5BC6\u5EA6",densityDefault:"\u6B63\u5E38",densityLarger:"\u9ED8\u8A8D",densityMiddle:"\u4E2D\u7B49",densitySmall:"\u7DCA\u6E4A"},stepsForm:{next:"\u4E0B\u4E00\u6B65",prev:"\u4E0A\u4E00\u6B65",submit:"\u5B8C\u6210"},loginForm:{submitText:"\u767B\u5165"},editableTable:{onlyOneLineEditor:"\u53EA\u80FD\u540C\u6642\u7DE8\u8F2F\u4E00\u884C",action:{save:"\u4FDD\u5B58",cancel:"\u53D6\u6D88",delete:"\u522A\u9664",add:"\u65B0\u589E\u4E00\u884C\u8CC7\u6599"}},switch:{open:"\u6253\u958B",close:"\u95DC\u9589"}};function _e(Ve,Ge,_t){var bt=Ge.replace(/\[(\d+)\]/g,".$1").split("."),gt=Ve,at=_t,ft=Object(E.a)(bt),Fe;try{for(ft.s();!(Fe=ft.n()).done;){var Te=Fe.value;if(at=Object(gt)[Te],gt=Object(gt)[Te],at===void 0)return _t}}catch(ut){ft.e(ut)}finally{ft.f()}return at}var he=function(Ge,_t){return{getMessage:function(gt,at){return _e(_t,gt,at)||at},locale:Ge}},oe=he("mn_MN",B),ge=he("ar_EG",m),me=he("zh_CN",ne),Z=he("en_US",S),xe=he("en_GB",A),Ee=he("vi_VN",W),Le=he("it_IT",D),we=he("ja_JP",N),fe=he("es_ES",y),pe=he("ca_ES",O),Ke=he("ru_RU",X),Me=he("sr_RS",ie),ze=he("ms_MY",U),Ue=he("zh_TW",te),He=he("fr_FR",x),Ne=he("pt_BR",$),it=he("ko_KR",F),Xe=he("id_ID",j),ht=he("de_DE",k),lt=he("fa_IR",w),Et=he("tr_TR",Q),tt=he("pl_PL",J),mt=he("hr_",T),xt=he("th_TH",G),Xt=he("cs_cz",C),vt=he("sk_SK",ee),qe={"mn-MN":oe,"ar-EG":ge,"zh-CN":me,"en-US":Z,"en-GB":xe,"vi-VN":Ee,"it-IT":Le,"ja-JP":we,"es-ES":fe,"ca-ES":pe,"ru-RU":Ke,"sr-RS":Me,"ms-MY":ze,"zh-TW":Ue,"fr-FR":He,"pt-BR":Ne,"ko-KR":it,"id-ID":Xe,"de-DE":ht,"fa-IR":lt,"tr-TR":Et,"pl-PL":tt,"hr-HR":mt,"th-TH":xt,"cs-CZ":Xt,"sk-SK":vt},Re=Object.keys(qe),Se=function(Ge){var _t=(Ge||"zh-CN").toLocaleLowerCase();return Re.find(function(bt){var gt=bt.toLocaleLowerCase();return gt.includes(_t)})}},ENif:function(ce,R,l){"use strict";l("nlPz");var E=l("NMFW"),m=l("MVys"),O=l("2kyd"),C=l("NcLc"),k=l("lz10"),A=O("species"),S=!m(function(){var j=/./;return j.exec=function(){var D=[];return D.groups={a:"7"},D},"".replace(j,"$<a>")!=="7"}),y=function(){return"a".replace(/./,"$0")==="$0"}(),w=O("replace"),x=function(){return/./[w]?/./[w]("a","$0")==="":!1}(),T=!m(function(){var j=/(?:)/,D=j.exec;j.exec=function(){return D.apply(this,arguments)};var N="ab".split(j);return N.length!==2||N[0]!=="a"||N[1]!=="b"});ce.exports=function(j,D,N,F){var B=O(j),U=!m(function(){var G={};return G[B]=function(){return 7},""[j](G)!=7}),J=U&&!m(function(){var G=!1,Q=/a/;return j==="split"&&(Q={},Q.constructor={},Q.constructor[A]=function(){return Q},Q.flags="",Q[B]=/./[B]),Q.exec=function(){return G=!0,null},Q[B](""),!G});if(!U||!J||j==="replace"&&!(S&&y&&!x)||j==="split"&&!T){var $=/./[B],X=N(B,""[j],function(G,Q,W,ne,te){return Q.exec===C?U&&!te?{done:!0,value:$.call(Q,W,ne)}:{done:!0,value:G.call(W,Q,ne)}:{done:!1}},{REPLACE_KEEPS_$0:y,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:x}),ee=X[0],ie=X[1];E(String.prototype,j,ee),E(RegExp.prototype,B,D==2?function(G,Q){return ie.call(G,this,Q)}:function(G){return ie.call(G,this)})}F&&k(RegExp.prototype[B],"sham",!0)}},EOz7:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("g8rt").f,O=l("oa35"),C=l("rjJZ"),k=l("FCfD"),A=l("C7V6"),S=l("Zcjx"),y="".startsWith,w=Math.min,x=A("startsWith"),T=!S&&!x&&!!function(){var j=m(String.prototype,"startsWith");return j&&!j.writable}();E({target:"String",proto:!0,forced:!T&&!x},{startsWith:function(D){var N=String(k(this));C(D);var F=O(w(arguments.length>1?arguments[1]:void 0,N.length)),B=String(D);return y?y.call(N,B,F):N.slice(F,F+B.length)===B}})},ESPI:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("KtWR"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},EVHK:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m,O){if(!m)return!1;if(m.contains)return m.contains(O);for(var C=O;C;){if(C===m)return!0;C=C.parentNode}return!1}},EVdn:function(ce,R,l){var E,m;/*!
* 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(O,C){"use strict";typeof ce.exports=="object"?ce.exports=O.document?C(O,!0):function(k){if(!k.document)throw new Error("jQuery requires a window with a document");return C(k)}:C(O)})(typeof window!="undefined"?window:this,function(O,C){"use strict";var k=[],A=Object.getPrototypeOf,S=k.slice,y=k.flat?function($t){return k.flat.call($t)}:function($t){return k.concat.apply([],$t)},w=k.push,x=k.indexOf,T={},j=T.toString,D=T.hasOwnProperty,N=D.toString,F=N.call(Object),B={},U=function(rt){return typeof rt=="function"&&typeof rt.nodeType!="number"&&typeof rt.item!="function"},J=function(rt){return rt!=null&&rt===rt.window},$=O.document,X={type:!0,src:!0,nonce:!0,noModule:!0};function ee($t,rt,Vt){Vt=Vt||$;var tn,wn,qn=Vt.createElement("script");if(qn.text=$t,rt)for(tn in X)wn=rt[tn]||rt.getAttribute&&rt.getAttribute(tn),wn&&qn.setAttribute(tn,wn);Vt.head.appendChild(qn).parentNode.removeChild(qn)}function ie($t){return $t==null?$t+"":typeof $t=="object"||typeof $t=="function"?T[j.call($t)]||"object":typeof $t}var G="3.7.0",Q=/HTML$/i,W=function $t(rt,Vt){return new $t.fn.init(rt,Vt)};W.fn=W.prototype={jquery:G,constructor:W,length:0,toArray:function(){return S.call(this)},get:function(rt){return rt==null?S.call(this):rt<0?this[rt+this.length]:this[rt]},pushStack:function(rt){var Vt=W.merge(this.constructor(),rt);return Vt.prevObject=this,Vt},each:function(rt){return W.each(this,rt)},map:function(rt){return this.pushStack(W.map(this,function(Vt,tn){return rt.call(Vt,tn,Vt)}))},slice:function(){return this.pushStack(S.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(W.grep(this,function(rt,Vt){return(Vt+1)%2}))},odd:function(){return this.pushStack(W.grep(this,function(rt,Vt){return Vt%2}))},eq:function(rt){var Vt=this.length,tn=+rt+(rt<0?Vt:0);return this.pushStack(tn>=0&&tn<Vt?[this[tn]]:[])},end:function(){return this.prevObject||this.constructor()},push:w,sort:k.sort,splice:k.splice},W.extend=W.fn.extend=function(){var $t,rt,Vt,tn,wn,qn,zn=arguments[0]||{},xr=1,da=arguments.length,en=!1;for(typeof zn=="boolean"&&(en=zn,zn=arguments[xr]||{},xr++),typeof zn!="object"&&!U(zn)&&(zn={}),xr===da&&(zn=this,xr--);xr<da;xr++)if(($t=arguments[xr])!=null)for(rt in $t)tn=$t[rt],!(rt==="__proto__"||zn===tn)&&(en&&tn&&(W.isPlainObject(tn)||(wn=Array.isArray(tn)))?(Vt=zn[rt],wn&&!Array.isArray(Vt)?qn=[]:!wn&&!W.isPlainObject(Vt)?qn={}:qn=Vt,wn=!1,zn[rt]=W.extend(en,qn,tn)):tn!==void 0&&(zn[rt]=tn));return zn},W.extend({expando:"jQuery"+(G+Math.random()).replace(/\D/g,""),isReady:!0,error:function(rt){throw new Error(rt)},noop:function(){},isPlainObject:function(rt){var Vt,tn;return!rt||j.call(rt)!=="[object Object]"?!1:(Vt=A(rt),Vt?(tn=D.call(Vt,"constructor")&&Vt.constructor,typeof tn=="function"&&N.call(tn)===F):!0)},isEmptyObject:function(rt){var Vt;for(Vt in rt)return!1;return!0},globalEval:function(rt,Vt,tn){ee(rt,{nonce:Vt&&Vt.nonce},tn)},each:function(rt,Vt){var tn,wn=0;if(ne(rt))for(tn=rt.length;wn<tn&&Vt.call(rt[wn],wn,rt[wn])!==!1;wn++);else for(wn in rt)if(Vt.call(rt[wn],wn,rt[wn])===!1)break;return rt},text:function(rt){var Vt,tn="",wn=0,qn=rt.nodeType;if(qn){if(qn===1||qn===9||qn===11)return rt.textContent;if(qn===3||qn===4)return rt.nodeValue}else for(;Vt=rt[wn++];)tn+=W.text(Vt);return tn},makeArray:function(rt,Vt){var tn=Vt||[];return rt!=null&&(ne(Object(rt))?W.merge(tn,typeof rt=="string"?[rt]:rt):w.call(tn,rt)),tn},inArray:function(rt,Vt,tn){return Vt==null?-1:x.call(Vt,rt,tn)},isXMLDoc:function(rt){var Vt=rt&&rt.namespaceURI,tn=rt&&(rt.ownerDocument||rt).documentElement;return!Q.test(Vt||tn&&tn.nodeName||"HTML")},merge:function(rt,Vt){for(var tn=+Vt.length,wn=0,qn=rt.length;wn<tn;wn++)rt[qn++]=Vt[wn];return rt.length=qn,rt},grep:function(rt,Vt,tn){for(var wn,qn=[],zn=0,xr=rt.length,da=!tn;zn<xr;zn++)wn=!Vt(rt[zn],zn),wn!==da&&qn.push(rt[zn]);return qn},map:function(rt,Vt,tn){var wn,qn,zn=0,xr=[];if(ne(rt))for(wn=rt.length;zn<wn;zn++)qn=Vt(rt[zn],zn,tn),qn!=null&&xr.push(qn);else for(zn in rt)qn=Vt(rt[zn],zn,tn),qn!=null&&xr.push(qn);return y(xr)},guid:1,support:B}),typeof Symbol=="function"&&(W.fn[Symbol.iterator]=k[Symbol.iterator]),W.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function($t,rt){T["[object "+rt+"]"]=rt.toLowerCase()});function ne($t){var rt=!!$t&&"length"in $t&&$t.length,Vt=ie($t);return U($t)||J($t)?!1:Vt==="array"||rt===0||typeof rt=="number"&&rt>0&&rt-1 in $t}function te($t,rt){return $t.nodeName&&$t.nodeName.toLowerCase()===rt.toLowerCase()}var _e=k.pop,he=k.sort,oe=k.splice,ge="[\\x20\\t\\r\\n\\f]",me=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");W.contains=function($t,rt){var Vt=rt&&rt.parentNode;return $t===Vt||!!(Vt&&Vt.nodeType===1&&($t.contains?$t.contains(Vt):$t.compareDocumentPosition&&$t.compareDocumentPosition(Vt)&16))};var Z=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function xe($t,rt){return rt?$t==="\0"?"\uFFFD":$t.slice(0,-1)+"\\"+$t.charCodeAt($t.length-1).toString(16)+" ":"\\"+$t}W.escapeSelector=function($t){return($t+"").replace(Z,xe)};var Ee=$,Le=w;(function(){var $t,rt,Vt,tn,wn,qn=Le,zn,xr,da,en,Fn,Jn=W.expando,Ir=0,Gr=0,ga=Yc(),Mr=Yc(),$a=Yc(),Ya=Yc(),_o=function(wr,Ua){return wr===Ua&&(wn=!0),0},Ni="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ec="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ks="\\["+ge+"*("+ec+")(?:"+ge+"*([*^$|!~]?=)"+ge+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ec+"))|)"+ge+"*\\]",jo=":("+ec+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ks+")*)|.*)\\)|)",Qn=new RegExp(ge+"+","g"),ka=new RegExp("^"+ge+"*,"+ge+"*"),Pa=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),Qa=new RegExp(ge+"|>"),Ei=new RegExp(jo),zo=new RegExp("^"+ec+"$"),fo={ID:new RegExp("^#("+ec+")"),CLASS:new RegExp("^\\.("+ec+")"),TAG:new RegExp("^("+ec+"|[*])"),ATTR:new RegExp("^"+ks),PSEUDO:new RegExp("^"+jo),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+Ni+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},gs=/^(?:input|select|textarea|button)$/i,Ks=/^h\d$/i,pc=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tc=/[+~]/,xc=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),kc=function(wr,Ua){var La="0x"+wr.slice(1)-65536;return Ua||(La<0?String.fromCharCode(La+65536):String.fromCharCode(La>>10|55296,La&1023|56320))},Ss=function(){Pl()},Js=td(function(zr){return zr.disabled===!0&&te(zr,"fieldset")},{dir:"parentNode",next:"legend"});function Mo(){try{return zn.activeElement}catch(zr){}}try{qn.apply(k=S.call(Ee.childNodes),Ee.childNodes),k[Ee.childNodes.length].nodeType}catch(zr){qn={apply:function(Ua,La){Le.apply(Ua,S.call(La))},call:function(Ua){Le.apply(Ua,S.call(arguments,1))}}}function js(zr,wr,Ua,La){var Nr,ua,ra,ri,li,hi,ii,Di=wr&&wr.ownerDocument,Xo=wr?wr.nodeType:9;if(Ua=Ua||[],typeof zr!="string"||!zr||Xo!==1&&Xo!==9&&Xo!==11)return Ua;if(!La&&(Pl(wr),wr=wr||zn,da)){if(Xo!==11&&(li=pc.exec(zr)))if(Nr=li[1]){if(Xo===9)if(ra=wr.getElementById(Nr)){if(ra.id===Nr)return qn.call(Ua,ra),Ua}else return Ua;else if(Di&&(ra=Di.getElementById(Nr))&&js.contains(wr,ra)&&ra.id===Nr)return qn.call(Ua,ra),Ua}else{if(li[2])return qn.apply(Ua,wr.getElementsByTagName(zr)),Ua;if((Nr=li[3])&&wr.getElementsByClassName)return qn.apply(Ua,wr.getElementsByClassName(Nr)),Ua}if(!Ya[zr+" "]&&(!en||!en.test(zr))){if(ii=zr,Di=wr,Xo===1&&(Qa.test(zr)||Pa.test(zr))){for(Di=tc.test(zr)&&su(wr.parentNode)||wr,(Di!=wr||!B.scope)&&((ri=wr.getAttribute("id"))?ri=W.escapeSelector(ri):wr.setAttribute("id",ri=Jn)),hi=Ml(zr),ua=hi.length;ua--;)hi[ua]=(ri?"#"+ri:":scope")+" "+Tl(hi[ua]);ii=hi.join(",")}try{return qn.apply(Ua,Di.querySelectorAll(ii)),Ua}catch(ps){Ya(zr,!0)}finally{ri===Jn&&wr.removeAttribute("id")}}}return vi(zr.replace(me,"$1"),wr,Ua,La)}function Yc(){var zr=[];function wr(Ua,La){return zr.push(Ua+" ")>rt.cacheLength&&delete wr[zr.shift()],wr[Ua+" "]=La}return wr}function gc(zr){return zr[Jn]=!0,zr}function Cl(zr){var wr=zn.createElement("fieldset");try{return!!zr(wr)}catch(Ua){return!1}finally{wr.parentNode&&wr.parentNode.removeChild(wr),wr=null}}function wl(zr){return function(wr){return te(wr,"input")&&wr.type===zr}}function Wc(zr){return function(wr){return(te(wr,"input")||te(wr,"button"))&&wr.type===zr}}function nl(zr){return function(wr){return"form"in wr?wr.parentNode&&wr.disabled===!1?"label"in wr?"label"in wr.parentNode?wr.parentNode.disabled===zr:wr.disabled===zr:wr.isDisabled===zr||wr.isDisabled!==!zr&&Js(wr)===zr:wr.disabled===zr:"label"in wr?wr.disabled===zr:!1}}function Rc(zr){return gc(function(wr){return wr=+wr,gc(function(Ua,La){for(var Nr,ua=zr([],Ua.length,wr),ra=ua.length;ra--;)Ua[Nr=ua[ra]]&&(Ua[Nr]=!(La[Nr]=Ua[Nr]))})})}function su(zr){return zr&&typeof zr.getElementsByTagName!="undefined"&&zr}function Pl(zr){var wr,Ua=zr?zr.ownerDocument||zr:Ee;return Ua==zn||Ua.nodeType!==9||!Ua.documentElement||(zn=Ua,xr=zn.documentElement,da=!W.isXMLDoc(zn),Fn=xr.matches||xr.webkitMatchesSelector||xr.msMatchesSelector,Ee!=zn&&(wr=zn.defaultView)&&wr.top!==wr&&wr.addEventListener("unload",Ss),B.getById=Cl(function(La){return xr.appendChild(La).id=W.expando,!zn.getElementsByName||!zn.getElementsByName(W.expando).length}),B.disconnectedMatch=Cl(function(La){return Fn.call(La,"*")}),B.scope=Cl(function(){return zn.querySelectorAll(":scope")}),B.cssHas=Cl(function(){try{return zn.querySelector(":has(*,:jqfake)"),!1}catch(La){return!0}}),B.getById?(rt.filter.ID=function(La){var Nr=La.replace(xc,kc);return function(ua){return ua.getAttribute("id")===Nr}},rt.find.ID=function(La,Nr){if(typeof Nr.getElementById!="undefined"&&da){var ua=Nr.getElementById(La);return ua?[ua]:[]}}):(rt.filter.ID=function(La){var Nr=La.replace(xc,kc);return function(ua){var ra=typeof ua.getAttributeNode!="undefined"&&ua.getAttributeNode("id");return ra&&ra.value===Nr}},rt.find.ID=function(La,Nr){if(typeof Nr.getElementById!="undefined"&&da){var ua,ra,ri,li=Nr.getElementById(La);if(li){if(ua=li.getAttributeNode("id"),ua&&ua.value===La)return[li];for(ri=Nr.getElementsByName(La),ra=0;li=ri[ra++];)if(ua=li.getAttributeNode("id"),ua&&ua.value===La)return[li]}return[]}}),rt.find.TAG=function(La,Nr){return typeof Nr.getElementsByTagName!="undefined"?Nr.getElementsByTagName(La):Nr.querySelectorAll(La)},rt.find.CLASS=function(La,Nr){if(typeof Nr.getElementsByClassName!="undefined"&&da)return Nr.getElementsByClassName(La)},en=[],Cl(function(La){var Nr;xr.appendChild(La).innerHTML="<a id='"+Jn+"' href='' disabled='disabled'></a><select id='"+Jn+"-\r\\' disabled='disabled'><option selected=''></option></select>",La.querySelectorAll("[selected]").length||en.push("\\["+ge+"*(?:value|"+Ni+")"),La.querySelectorAll("[id~="+Jn+"-]").length||en.push("~="),La.querySelectorAll("a#"+Jn+"+*").length||en.push(".#.+[+~]"),La.querySelectorAll(":checked").length||en.push(":checked"),Nr=zn.createElement("input"),Nr.setAttribute("type","hidden"),La.appendChild(Nr).setAttribute("name","D"),xr.appendChild(La).disabled=!0,La.querySelectorAll(":disabled").length!==2&&en.push(":enabled",":disabled"),Nr=zn.createElement("input"),Nr.setAttribute("name",""),La.appendChild(Nr),La.querySelectorAll("[name='']").length||en.push("\\["+ge+"*name"+ge+"*="+ge+`*(?:''|"")`)}),B.cssHas||en.push(":has"),en=en.length&&new RegExp(en.join("|")),_o=function(Nr,ua){if(Nr===ua)return wn=!0,0;var ra=!Nr.compareDocumentPosition-!ua.compareDocumentPosition;return ra||(ra=(Nr.ownerDocument||Nr)==(ua.ownerDocument||ua)?Nr.compareDocumentPosition(ua):1,ra&1||!B.sortDetached&&ua.compareDocumentPosition(Nr)===ra?Nr===zn||Nr.ownerDocument==Ee&&js.contains(Ee,Nr)?-1:ua===zn||ua.ownerDocument==Ee&&js.contains(Ee,ua)?1:tn?x.call(tn,Nr)-x.call(tn,ua):0:ra&4?-1:1)}),zn}js.matches=function(zr,wr){return js(zr,null,null,wr)},js.matchesSelector=function(zr,wr){if(Pl(zr),da&&!Ya[wr+" "]&&(!en||!en.test(wr)))try{var Ua=Fn.call(zr,wr);if(Ua||B.disconnectedMatch||zr.document&&zr.document.nodeType!==11)return Ua}catch(La){Ya(wr,!0)}return js(wr,zn,null,[zr]).length>0},js.contains=function(zr,wr){return(zr.ownerDocument||zr)!=zn&&Pl(zr),W.contains(zr,wr)},js.attr=function(zr,wr){(zr.ownerDocument||zr)!=zn&&Pl(zr);var Ua=rt.attrHandle[wr.toLowerCase()],La=Ua&&D.call(rt.attrHandle,wr.toLowerCase())?Ua(zr,wr,!da):void 0;return La!==void 0?La:zr.getAttribute(wr)},js.error=function(zr){throw new Error("Syntax error, unrecognized expression: "+zr)},W.uniqueSort=function(zr){var wr,Ua=[],La=0,Nr=0;if(wn=!B.sortStable,tn=!B.sortStable&&S.call(zr,0),he.call(zr,_o),wn){for(;wr=zr[Nr++];)wr===zr[Nr]&&(La=Ua.push(Nr));for(;La--;)oe.call(zr,Ua[La],1)}return tn=null,zr},W.fn.uniqueSort=function(){return this.pushStack(W.uniqueSort(S.apply(this)))},rt=W.expr={cacheLength:50,createPseudo:gc,match:fo,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(xc,kc),wr[3]=(wr[3]||wr[4]||wr[5]||"").replace(xc,kc),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]||js.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]&&js.error(wr[0]),wr},PSEUDO:function(wr){var Ua,La=!wr[6]&&wr[2];return fo.CHILD.test(wr[0])?null:(wr[3]?wr[2]=wr[4]||wr[5]||"":La&&Ei.test(La)&&(Ua=Ml(La,!0))&&(Ua=La.indexOf(")",La.length-Ua)-La.length)&&(wr[0]=wr[0].slice(0,Ua),wr[2]=La.slice(0,Ua)),wr.slice(0,3))}},filter:{TAG:function(wr){var Ua=wr.replace(xc,kc).toLowerCase();return wr==="*"?function(){return!0}:function(La){return te(La,Ua)}},CLASS:function(wr){var Ua=ga[wr+" "];return Ua||(Ua=new RegExp("(^|"+ge+")"+wr+"("+ge+"|$)"))&&ga(wr,function(La){return Ua.test(typeof La.className=="string"&&La.className||typeof La.getAttribute!="undefined"&&La.getAttribute("class")||"")})},ATTR:function(wr,Ua,La){return function(Nr){var ua=js.attr(Nr,wr);return ua==null?Ua==="!=":Ua?(ua+="",Ua==="="?ua===La:Ua==="!="?ua!==La:Ua==="^="?La&&ua.indexOf(La)===0:Ua==="*="?La&&ua.indexOf(La)>-1:Ua==="$="?La&&ua.slice(-La.length)===La:Ua==="~="?(" "+ua.replace(Qn," ")+" ").indexOf(La)>-1:Ua==="|="?ua===La||ua.slice(0,La.length+1)===La+"-":!1):!0}},CHILD:function(wr,Ua,La,Nr,ua){var ra=wr.slice(0,3)!=="nth",ri=wr.slice(-4)!=="last",li=Ua==="of-type";return Nr===1&&ua===0?function(hi){return!!hi.parentNode}:function(hi,ii,Di){var Xo,ps,mc,Ts,Ar,Gs=ra!==ri?"nextSibling":"previousSibling",Nc=hi.parentNode,Jc=li&&hi.nodeName.toLowerCase(),Fc=!Di&&!li,Ro=!1;if(Nc){if(ra){for(;Gs;){for(mc=hi;mc=mc[Gs];)if(li?te(mc,Jc):mc.nodeType===1)return!1;Ar=Gs=wr==="only"&&!Ar&&"nextSibling"}return!0}if(Ar=[ri?Nc.firstChild:Nc.lastChild],ri&&Fc){for(ps=Nc[Jn]||(Nc[Jn]={}),Xo=ps[wr]||[],Ts=Xo[0]===Ir&&Xo[1],Ro=Ts&&Xo[2],mc=Ts&&Nc.childNodes[Ts];mc=++Ts&&mc&&mc[Gs]||(Ro=Ts=0)||Ar.pop();)if(mc.nodeType===1&&++Ro&&mc===hi){ps[wr]=[Ir,Ts,Ro];break}}else if(Fc&&(ps=hi[Jn]||(hi[Jn]={}),Xo=ps[wr]||[],Ts=Xo[0]===Ir&&Xo[1],Ro=Ts),Ro===!1)for(;(mc=++Ts&&mc&&mc[Gs]||(Ro=Ts=0)||Ar.pop())&&!((li?te(mc,Jc):mc.nodeType===1)&&++Ro&&(Fc&&(ps=mc[Jn]||(mc[Jn]={}),ps[wr]=[Ir,Ro]),mc===hi)););return Ro-=ua,Ro===Nr||Ro%Nr==0&&Ro/Nr>=0}}},PSEUDO:function(wr,Ua){var La,Nr=rt.pseudos[wr]||rt.setFilters[wr.toLowerCase()]||js.error("unsupported pseudo: "+wr);return Nr[Jn]?Nr(Ua):Nr.length>1?(La=[wr,wr,"",Ua],rt.setFilters.hasOwnProperty(wr.toLowerCase())?gc(function(ua,ra){for(var ri,li=Nr(ua,Ua),hi=li.length;hi--;)ri=x.call(ua,li[hi]),ua[ri]=!(ra[ri]=li[hi])}):function(ua){return Nr(ua,0,La)}):Nr}},pseudos:{not:gc(function(zr){var wr=[],Ua=[],La=ni(zr.replace(me,"$1"));return La[Jn]?gc(function(Nr,ua,ra,ri){for(var li,hi=La(Nr,null,ri,[]),ii=Nr.length;ii--;)(li=hi[ii])&&(Nr[ii]=!(ua[ii]=li))}):function(Nr,ua,ra){return wr[0]=Nr,La(wr,null,ra,Ua),wr[0]=null,!Ua.pop()}}),has:gc(function(zr){return function(wr){return js(zr,wr).length>0}}),contains:gc(function(zr){return zr=zr.replace(xc,kc),function(wr){return(wr.textContent||W.text(wr)).indexOf(zr)>-1}}),lang:gc(function(zr){return zo.test(zr||"")||js.error("unsupported lang: "+zr),zr=zr.replace(xc,kc).toLowerCase(),function(wr){var Ua;do if(Ua=da?wr.lang:wr.getAttribute("xml:lang")||wr.getAttribute("lang"))return Ua=Ua.toLowerCase(),Ua===zr||Ua.indexOf(zr+"-")===0;while((wr=wr.parentNode)&&wr.nodeType===1);return!1}}),target:function(wr){var Ua=O.location&&O.location.hash;return Ua&&Ua.slice(1)===wr.id},root:function(wr){return wr===xr},focus:function(wr){return wr===Mo()&&zn.hasFocus()&&!!(wr.type||wr.href||~wr.tabIndex)},enabled:nl(!1),disabled:nl(!0),checked:function(wr){return te(wr,"input")&&!!wr.checked||te(wr,"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!rt.pseudos.empty(wr)},header:function(wr){return Ks.test(wr.nodeName)},input:function(wr){return gs.test(wr.nodeName)},button:function(wr){return te(wr,"input")&&wr.type==="button"||te(wr,"button")},text:function(wr){var Ua;return te(wr,"input")&&wr.type==="text"&&((Ua=wr.getAttribute("type"))==null||Ua.toLowerCase()==="text")},first:Rc(function(){return[0]}),last:Rc(function(zr,wr){return[wr-1]}),eq:Rc(function(zr,wr,Ua){return[Ua<0?Ua+wr:Ua]}),even:Rc(function(zr,wr){for(var Ua=0;Ua<wr;Ua+=2)zr.push(Ua);return zr}),odd:Rc(function(zr,wr){for(var Ua=1;Ua<wr;Ua+=2)zr.push(Ua);return zr}),lt:Rc(function(zr,wr,Ua){var La;for(Ua<0?La=Ua+wr:Ua>wr?La=wr:La=Ua;--La>=0;)zr.push(La);return zr}),gt:Rc(function(zr,wr,Ua){for(var La=Ua<0?Ua+wr:Ua;++La<wr;)zr.push(La);return zr})}},rt.pseudos.nth=rt.pseudos.eq;for($t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})rt.pseudos[$t]=wl($t);for($t in{submit:!0,reset:!0})rt.pseudos[$t]=Wc($t);function al(){}al.prototype=rt.filters=rt.pseudos,rt.setFilters=new al;function Ml(zr,wr){var Ua,La,Nr,ua,ra,ri,li,hi=Mr[zr+" "];if(hi)return wr?0:hi.slice(0);for(ra=zr,ri=[],li=rt.preFilter;ra;){(!Ua||(La=ka.exec(ra)))&&(La&&(ra=ra.slice(La[0].length)||ra),ri.push(Nr=[])),Ua=!1,(La=Pa.exec(ra))&&(Ua=La.shift(),Nr.push({value:Ua,type:La[0].replace(me," ")}),ra=ra.slice(Ua.length));for(ua in rt.filter)(La=fo[ua].exec(ra))&&(!li[ua]||(La=li[ua](La)))&&(Ua=La.shift(),Nr.push({value:Ua,type:ua,matches:La}),ra=ra.slice(Ua.length));if(!Ua)break}return wr?ra.length:ra?js.error(zr):Mr(zr,ri).slice(0)}function Tl(zr){for(var wr=0,Ua=zr.length,La="";wr<Ua;wr++)La+=zr[wr].value;return La}function td(zr,wr,Ua){var La=wr.dir,Nr=wr.next,ua=Nr||La,ra=Ua&&ua==="parentNode",ri=Gr++;return wr.first?function(li,hi,ii){for(;li=li[La];)if(li.nodeType===1||ra)return zr(li,hi,ii);return!1}:function(li,hi,ii){var Di,Xo,ps=[Ir,ri];if(ii){for(;li=li[La];)if((li.nodeType===1||ra)&&zr(li,hi,ii))return!0}else for(;li=li[La];)if(li.nodeType===1||ra)if(Xo=li[Jn]||(li[Jn]={}),Nr&&te(li,Nr))li=li[La]||li;else{if((Di=Xo[ua])&&Di[0]===Ir&&Di[1]===ri)return ps[2]=Di[2];if(Xo[ua]=ps,ps[2]=zr(li,hi,ii))return!0}return!1}}function rl(zr){return zr.length>1?function(wr,Ua,La){for(var Nr=zr.length;Nr--;)if(!zr[Nr](wr,Ua,La))return!1;return!0}:zr[0]}function dl(zr,wr,Ua){for(var La=0,Nr=wr.length;La<Nr;La++)js(zr,wr[La],Ua);return Ua}function qt(zr,wr,Ua,La,Nr){for(var ua,ra=[],ri=0,li=zr.length,hi=wr!=null;ri<li;ri++)(ua=zr[ri])&&(!Ua||Ua(ua,La,Nr))&&(ra.push(ua),hi&&wr.push(ri));return ra}function nr(zr,wr,Ua,La,Nr,ua){return La&&!La[Jn]&&(La=nr(La)),Nr&&!Nr[Jn]&&(Nr=nr(Nr,ua)),gc(function(ra,ri,li,hi){var ii,Di,Xo,ps,mc=[],Ts=[],Ar=ri.length,Gs=ra||dl(wr||"*",li.nodeType?[li]:li,[]),Nc=zr&&(ra||!wr)?qt(Gs,mc,zr,li,hi):Gs;if(Ua?(ps=Nr||(ra?zr:Ar||La)?[]:ri,Ua(Nc,ps,li,hi)):ps=Nc,La)for(ii=qt(ps,Ts),La(ii,[],li,hi),Di=ii.length;Di--;)(Xo=ii[Di])&&(ps[Ts[Di]]=!(Nc[Ts[Di]]=Xo));if(ra){if(Nr||zr){if(Nr){for(ii=[],Di=ps.length;Di--;)(Xo=ps[Di])&&ii.push(Nc[Di]=Xo);Nr(null,ps=[],ii,hi)}for(Di=ps.length;Di--;)(Xo=ps[Di])&&(ii=Nr?x.call(ra,Xo):mc[Di])>-1&&(ra[ii]=!(ri[ii]=Xo))}}else ps=qt(ps===ri?ps.splice(Ar,ps.length):ps),Nr?Nr(null,ri,ps,hi):qn.apply(ri,ps)})}function Ur(zr){for(var wr,Ua,La,Nr=zr.length,ua=rt.relative[zr[0].type],ra=ua||rt.relative[" "],ri=ua?1:0,li=td(function(Di){return Di===wr},ra,!0),hi=td(function(Di){return x.call(wr,Di)>-1},ra,!0),ii=[function(Di,Xo,ps){var mc=!ua&&(ps||Xo!=Vt)||((wr=Xo).nodeType?li(Di,Xo,ps):hi(Di,Xo,ps));return wr=null,mc}];ri<Nr;ri++)if(Ua=rt.relative[zr[ri].type])ii=[td(rl(ii),Ua)];else{if(Ua=rt.filter[zr[ri].type].apply(null,zr[ri].matches),Ua[Jn]){for(La=++ri;La<Nr&&!rt.relative[zr[La].type];La++);return nr(ri>1&&rl(ii),ri>1&&Tl(zr.slice(0,ri-1).concat({value:zr[ri-2].type===" "?"*":""})).replace(me,"$1"),Ua,ri<La&&Ur(zr.slice(ri,La)),La<Nr&&Ur(zr=zr.slice(La)),La<Nr&&Tl(zr))}ii.push(Ua)}return rl(ii)}function Yr(zr,wr){var Ua=wr.length>0,La=zr.length>0,Nr=function(ra,ri,li,hi,ii){var Di,Xo,ps,mc=0,Ts="0",Ar=ra&&[],Gs=[],Nc=Vt,Jc=ra||La&&rt.find.TAG("*",ii),Fc=Ir+=Nc==null?1:Math.random()||.1,Ro=Jc.length;for(ii&&(Vt=ri==zn||ri||ii);Ts!==Ro&&(Di=Jc[Ts])!=null;Ts++){if(La&&Di){for(Xo=0,!ri&&Di.ownerDocument!=zn&&(Pl(Di),li=!da);ps=zr[Xo++];)if(ps(Di,ri||zn,li)){qn.call(hi,Di);break}ii&&(Ir=Fc)}Ua&&((Di=!ps&&Di)&&mc--,ra&&Ar.push(Di))}if(mc+=Ts,Ua&&Ts!==mc){for(Xo=0;ps=wr[Xo++];)ps(Ar,Gs,ri,li);if(ra){if(mc>0)for(;Ts--;)Ar[Ts]||Gs[Ts]||(Gs[Ts]=_e.call(hi));Gs=qt(Gs)}qn.apply(hi,Gs),ii&&!ra&&Gs.length>0&&mc+wr.length>1&&W.uniqueSort(hi)}return ii&&(Ir=Fc,Vt=Nc),Ar};return Ua?gc(Nr):Nr}function ni(zr,wr){var Ua,La=[],Nr=[],ua=$a[zr+" "];if(!ua){for(wr||(wr=Ml(zr)),Ua=wr.length;Ua--;)ua=Ur(wr[Ua]),ua[Jn]?La.push(ua):Nr.push(ua);ua=$a(zr,Yr(Nr,La)),ua.selector=zr}return ua}function vi(zr,wr,Ua,La){var Nr,ua,ra,ri,li,hi=typeof zr=="function"&&zr,ii=!La&&Ml(zr=hi.selector||zr);if(Ua=Ua||[],ii.length===1){if(ua=ii[0]=ii[0].slice(0),ua.length>2&&(ra=ua[0]).type==="ID"&&wr.nodeType===9&&da&&rt.relative[ua[1].type]){if(wr=(rt.find.ID(ra.matches[0].replace(xc,kc),wr)||[])[0],wr)hi&&(wr=wr.parentNode);else return Ua;zr=zr.slice(ua.shift().value.length)}for(Nr=fo.needsContext.test(zr)?0:ua.length;Nr--&&(ra=ua[Nr],!rt.relative[ri=ra.type]);)if((li=rt.find[ri])&&(La=li(ra.matches[0].replace(xc,kc),tc.test(ua[0].type)&&su(wr.parentNode)||wr))){if(ua.splice(Nr,1),zr=La.length&&Tl(ua),!zr)return qn.apply(Ua,La),Ua;break}}return(hi||ni(zr,ii))(La,wr,!da,Ua,!wr||tc.test(zr)&&su(wr.parentNode)||wr),Ua}B.sortStable=Jn.split("").sort(_o).join("")===Jn,Pl(),B.sortDetached=Cl(function(zr){return zr.compareDocumentPosition(zn.createElement("fieldset"))&1}),W.find=js,W.expr[":"]=W.expr.pseudos,W.unique=W.uniqueSort,js.compile=ni,js.select=vi,js.setDocument=Pl,js.escape=W.escapeSelector,js.getText=W.text,js.isXML=W.isXMLDoc,js.selectors=W.expr,js.support=W.support,js.uniqueSort=W.uniqueSort})();var we=function(rt,Vt,tn){for(var wn=[],qn=tn!==void 0;(rt=rt[Vt])&&rt.nodeType!==9;)if(rt.nodeType===1){if(qn&&W(rt).is(tn))break;wn.push(rt)}return wn},fe=function(rt,Vt){for(var tn=[];rt;rt=rt.nextSibling)rt.nodeType===1&&rt!==Vt&&tn.push(rt);return tn},pe=W.expr.match.needsContext,Ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Me($t,rt,Vt){return U(rt)?W.grep($t,function(tn,wn){return!!rt.call(tn,wn,tn)!==Vt}):rt.nodeType?W.grep($t,function(tn){return tn===rt!==Vt}):typeof rt!="string"?W.grep($t,function(tn){return x.call(rt,tn)>-1!==Vt}):W.filter(rt,$t,Vt)}W.filter=function($t,rt,Vt){var tn=rt[0];return Vt&&($t=":not("+$t+")"),rt.length===1&&tn.nodeType===1?W.find.matchesSelector(tn,$t)?[tn]:[]:W.find.matches($t,W.grep(rt,function(wn){return wn.nodeType===1}))},W.fn.extend({find:function(rt){var Vt,tn,wn=this.length,qn=this;if(typeof rt!="string")return this.pushStack(W(rt).filter(function(){for(Vt=0;Vt<wn;Vt++)if(W.contains(qn[Vt],this))return!0}));for(tn=this.pushStack([]),Vt=0;Vt<wn;Vt++)W.find(rt,qn[Vt],tn);return wn>1?W.uniqueSort(tn):tn},filter:function(rt){return this.pushStack(Me(this,rt||[],!1))},not:function(rt){return this.pushStack(Me(this,rt||[],!0))},is:function(rt){return!!Me(this,typeof rt=="string"&&pe.test(rt)?W(rt):rt||[],!1).length}});var ze,Ue=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,He=W.fn.init=function($t,rt,Vt){var tn,wn;if(!$t)return this;if(Vt=Vt||ze,typeof $t=="string")if($t[0]==="<"&&$t[$t.length-1]===">"&&$t.length>=3?tn=[null,$t,null]:tn=Ue.exec($t),tn&&(tn[1]||!rt))if(tn[1]){if(rt=rt instanceof W?rt[0]:rt,W.merge(this,W.parseHTML(tn[1],rt&&rt.nodeType?rt.ownerDocument||rt:$,!0)),Ke.test(tn[1])&&W.isPlainObject(rt))for(tn in rt)U(this[tn])?this[tn](rt[tn]):this.attr(tn,rt[tn]);return this}else return wn=$.getElementById(tn[2]),wn&&(this[0]=wn,this.length=1),this;else return!rt||rt.jquery?(rt||Vt).find($t):this.constructor(rt).find($t);else{if($t.nodeType)return this[0]=$t,this.length=1,this;if(U($t))return Vt.ready!==void 0?Vt.ready($t):$t(W)}return W.makeArray($t,this)};He.prototype=W.fn,ze=W($);var Ne=/^(?:parents|prev(?:Until|All))/,it={children:!0,contents:!0,next:!0,prev:!0};W.fn.extend({has:function(rt){var Vt=W(rt,this),tn=Vt.length;return this.filter(function(){for(var wn=0;wn<tn;wn++)if(W.contains(this,Vt[wn]))return!0})},closest:function(rt,Vt){var tn,wn=0,qn=this.length,zn=[],xr=typeof rt!="string"&&W(rt);if(!pe.test(rt)){for(;wn<qn;wn++)for(tn=this[wn];tn&&tn!==Vt;tn=tn.parentNode)if(tn.nodeType<11&&(xr?xr.index(tn)>-1:tn.nodeType===1&&W.find.matchesSelector(tn,rt))){zn.push(tn);break}}return this.pushStack(zn.length>1?W.uniqueSort(zn):zn)},index:function(rt){return rt?typeof rt=="string"?x.call(W(rt),this[0]):x.call(this,rt.jquery?rt[0]:rt):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(rt,Vt){return this.pushStack(W.uniqueSort(W.merge(this.get(),W(rt,Vt))))},addBack:function(rt){return this.add(rt==null?this.prevObject:this.prevObject.filter(rt))}});function Xe($t,rt){for(;($t=$t[rt])&&$t.nodeType!==1;);return $t}W.each({parent:function(rt){var Vt=rt.parentNode;return Vt&&Vt.nodeType!==11?Vt:null},parents:function(rt){return we(rt,"parentNode")},parentsUntil:function(rt,Vt,tn){return we(rt,"parentNode",tn)},next:function(rt){return Xe(rt,"nextSibling")},prev:function(rt){return Xe(rt,"previousSibling")},nextAll:function(rt){return we(rt,"nextSibling")},prevAll:function(rt){return we(rt,"previousSibling")},nextUntil:function(rt,Vt,tn){return we(rt,"nextSibling",tn)},prevUntil:function(rt,Vt,tn){return we(rt,"previousSibling",tn)},siblings:function(rt){return fe((rt.parentNode||{}).firstChild,rt)},children:function(rt){return fe(rt.firstChild)},contents:function(rt){return rt.contentDocument!=null&&A(rt.contentDocument)?rt.contentDocument:(te(rt,"template")&&(rt=rt.content||rt),W.merge([],rt.childNodes))}},function($t,rt){W.fn[$t]=function(Vt,tn){var wn=W.map(this,rt,Vt);return $t.slice(-5)!=="Until"&&(tn=Vt),tn&&typeof tn=="string"&&(wn=W.filter(tn,wn)),this.length>1&&(it[$t]||W.uniqueSort(wn),Ne.test($t)&&wn.reverse()),this.pushStack(wn)}});var ht=/[^\x20\t\r\n\f]+/g;function lt($t){var rt={};return W.each($t.match(ht)||[],function(Vt,tn){rt[tn]=!0}),rt}W.Callbacks=function($t){$t=typeof $t=="string"?lt($t):W.extend({},$t);var rt,Vt,tn,wn,qn=[],zn=[],xr=-1,da=function(){for(wn=wn||$t.once,tn=rt=!0;zn.length;xr=-1)for(Vt=zn.shift();++xr<qn.length;)qn[xr].apply(Vt[0],Vt[1])===!1&&$t.stopOnFalse&&(xr=qn.length,Vt=!1);$t.memory||(Vt=!1),rt=!1,wn&&(Vt?qn=[]:qn="")},en={add:function(){return qn&&(Vt&&!rt&&(xr=qn.length-1,zn.push(Vt)),function Jn(Ir){W.each(Ir,function(Gr,ga){U(ga)?(!$t.unique||!en.has(ga))&&qn.push(ga):ga&&ga.length&&ie(ga)!=="string"&&Jn(ga)})}(arguments),Vt&&!rt&&da()),this},remove:function(){return W.each(arguments,function(Jn,Ir){for(var Gr;(Gr=W.inArray(Ir,qn,Gr))>-1;)qn.splice(Gr,1),Gr<=xr&&xr--}),this},has:function(Jn){return Jn?W.inArray(Jn,qn)>-1:qn.length>0},empty:function(){return qn&&(qn=[]),this},disable:function(){return wn=zn=[],qn=Vt="",this},disabled:function(){return!qn},lock:function(){return wn=zn=[],!Vt&&!rt&&(qn=Vt=""),this},locked:function(){return!!wn},fireWith:function(Jn,Ir){return wn||(Ir=Ir||[],Ir=[Jn,Ir.slice?Ir.slice():Ir],zn.push(Ir),rt||da()),this},fire:function(){return en.fireWith(this,arguments),this},fired:function(){return!!tn}};return en};function Et($t){return $t}function tt($t){throw $t}function mt($t,rt,Vt,tn){var wn;try{$t&&U(wn=$t.promise)?wn.call($t).done(rt).fail(Vt):$t&&U(wn=$t.then)?wn.call($t,rt,Vt):rt.apply(void 0,[$t].slice(tn))}catch(qn){Vt.apply(void 0,[qn])}}W.extend({Deferred:function(rt){var Vt=[["notify","progress",W.Callbacks("memory"),W.Callbacks("memory"),2],["resolve","done",W.Callbacks("once memory"),W.Callbacks("once memory"),0,"resolved"],["reject","fail",W.Callbacks("once memory"),W.Callbacks("once memory"),1,"rejected"]],tn="pending",wn={state:function(){return tn},always:function(){return qn.done(arguments).fail(arguments),this},catch:function(xr){return wn.then(null,xr)},pipe:function(){var xr=arguments;return W.Deferred(function(da){W.each(Vt,function(en,Fn){var Jn=U(xr[Fn[4]])&&xr[Fn[4]];qn[Fn[1]](function(){var Ir=Jn&&Jn.apply(this,arguments);Ir&&U(Ir.promise)?Ir.promise().progress(da.notify).done(da.resolve).fail(da.reject):da[Fn[0]+"With"](this,Jn?[Ir]:arguments)})}),xr=null}).promise()},then:function(xr,da,en){var Fn=0;function Jn(Ir,Gr,ga,Mr){return function(){var $a=this,Ya=arguments,_o=function(){var ks,jo;if(!(Ir<Fn)){if(ks=ga.apply($a,Ya),ks===Gr.promise())throw new TypeError("Thenable self-resolution");jo=ks&&(typeof ks=="object"||typeof ks=="function")&&ks.then,U(jo)?Mr?jo.call(ks,Jn(Fn,Gr,Et,Mr),Jn(Fn,Gr,tt,Mr)):(Fn++,jo.call(ks,Jn(Fn,Gr,Et,Mr),Jn(Fn,Gr,tt,Mr),Jn(Fn,Gr,Et,Gr.notifyWith))):(ga!==Et&&($a=void 0,Ya=[ks]),(Mr||Gr.resolveWith)($a,Ya))}},Ni=Mr?_o:function(){try{_o()}catch(ec){W.Deferred.exceptionHook&&W.Deferred.exceptionHook(ec,Ni.error),Ir+1>=Fn&&(ga!==tt&&($a=void 0,Ya=[ec]),Gr.rejectWith($a,Ya))}};Ir?Ni():(W.Deferred.getErrorHook?Ni.error=W.Deferred.getErrorHook():W.Deferred.getStackHook&&(Ni.error=W.Deferred.getStackHook()),O.setTimeout(Ni))}}return W.Deferred(function(Ir){Vt[0][3].add(Jn(0,Ir,U(en)?en:Et,Ir.notifyWith)),Vt[1][3].add(Jn(0,Ir,U(xr)?xr:Et)),Vt[2][3].add(Jn(0,Ir,U(da)?da:tt))}).promise()},promise:function(xr){return xr!=null?W.extend(xr,wn):wn}},qn={};return W.each(Vt,function(zn,xr){var da=xr[2],en=xr[5];wn[xr[1]]=da.add,en&&da.add(function(){tn=en},Vt[3-zn][2].disable,Vt[3-zn][3].disable,Vt[0][2].lock,Vt[0][3].lock),da.add(xr[3].fire),qn[xr[0]]=function(){return qn[xr[0]+"With"](this===qn?void 0:this,arguments),this},qn[xr[0]+"With"]=da.fireWith}),wn.promise(qn),rt&&rt.call(qn,qn),qn},when:function(rt){var Vt=arguments.length,tn=Vt,wn=Array(tn),qn=S.call(arguments),zn=W.Deferred(),xr=function(en){return function(Fn){wn[en]=this,qn[en]=arguments.length>1?S.call(arguments):Fn,--Vt||zn.resolveWith(wn,qn)}};if(Vt<=1&&(mt(rt,zn.done(xr(tn)).resolve,zn.reject,!Vt),zn.state()==="pending"||U(qn[tn]&&qn[tn].then)))return zn.then();for(;tn--;)mt(qn[tn],xr(tn),zn.reject);return zn.promise()}});var xt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;W.Deferred.exceptionHook=function($t,rt){O.console&&O.console.warn&&$t&&xt.test($t.name)&&O.console.warn("jQuery.Deferred exception: "+$t.message,$t.stack,rt)},W.readyException=function($t){O.setTimeout(function(){throw $t})};var Xt=W.Deferred();W.fn.ready=function($t){return Xt.then($t).catch(function(rt){W.readyException(rt)}),this},W.extend({isReady:!1,readyWait:1,ready:function(rt){(rt===!0?--W.readyWait:W.isReady)||(W.isReady=!0,!(rt!==!0&&--W.readyWait>0)&&Xt.resolveWith($,[W]))}}),W.ready.then=Xt.then;function vt(){$.removeEventListener("DOMContentLoaded",vt),O.removeEventListener("load",vt),W.ready()}$.readyState==="complete"||$.readyState!=="loading"&&!$.documentElement.doScroll?O.setTimeout(W.ready):($.addEventListener("DOMContentLoaded",vt),O.addEventListener("load",vt));var qe=function $t(rt,Vt,tn,wn,qn,zn,xr){var da=0,en=rt.length,Fn=tn==null;if(ie(tn)==="object"){qn=!0;for(da in tn)$t(rt,Vt,da,tn[da],!0,zn,xr)}else if(wn!==void 0&&(qn=!0,U(wn)||(xr=!0),Fn&&(xr?(Vt.call(rt,wn),Vt=null):(Fn=Vt,Vt=function(Ir,Gr,ga){return Fn.call(W(Ir),ga)})),Vt))for(;da<en;da++)Vt(rt[da],tn,xr?wn:wn.call(rt[da],da,Vt(rt[da],tn)));return qn?rt:Fn?Vt.call(rt):en?Vt(rt[0],tn):zn},Re=/^-ms-/,Se=/-([a-z])/g;function Ve($t,rt){return rt.toUpperCase()}function Ge($t){return $t.replace(Re,"ms-").replace(Se,Ve)}var _t=function(rt){return rt.nodeType===1||rt.nodeType===9||!+rt.nodeType};function bt(){this.expando=W.expando+bt.uid++}bt.uid=1,bt.prototype={cache:function(rt){var Vt=rt[this.expando];return Vt||(Vt={},_t(rt)&&(rt.nodeType?rt[this.expando]=Vt:Object.defineProperty(rt,this.expando,{value:Vt,configurable:!0}))),Vt},set:function(rt,Vt,tn){var wn,qn=this.cache(rt);if(typeof Vt=="string")qn[Ge(Vt)]=tn;else for(wn in Vt)qn[Ge(wn)]=Vt[wn];return qn},get:function(rt,Vt){return Vt===void 0?this.cache(rt):rt[this.expando]&&rt[this.expando][Ge(Vt)]},access:function(rt,Vt,tn){return Vt===void 0||Vt&&typeof Vt=="string"&&tn===void 0?this.get(rt,Vt):(this.set(rt,Vt,tn),tn!==void 0?tn:Vt)},remove:function(rt,Vt){var tn,wn=rt[this.expando];if(wn!==void 0){if(Vt!==void 0)for(Array.isArray(Vt)?Vt=Vt.map(Ge):(Vt=Ge(Vt),Vt=Vt in wn?[Vt]:Vt.match(ht)||[]),tn=Vt.length;tn--;)delete wn[Vt[tn]];(Vt===void 0||W.isEmptyObject(wn))&&(rt.nodeType?rt[this.expando]=void 0:delete rt[this.expando])}},hasData:function(rt){var Vt=rt[this.expando];return Vt!==void 0&&!W.isEmptyObject(Vt)}};var gt=new bt,at=new bt,ft=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fe=/[A-Z]/g;function Te($t){return $t==="true"?!0:$t==="false"?!1:$t==="null"?null:$t===+$t+""?+$t:ft.test($t)?JSON.parse($t):$t}function ut($t,rt,Vt){var tn;if(Vt===void 0&&$t.nodeType===1)if(tn="data-"+rt.replace(Fe,"-$&").toLowerCase(),Vt=$t.getAttribute(tn),typeof Vt=="string"){try{Vt=Te(Vt)}catch(wn){}at.set($t,rt,Vt)}else Vt=void 0;return Vt}W.extend({hasData:function(rt){return at.hasData(rt)||gt.hasData(rt)},data:function(rt,Vt,tn){return at.access(rt,Vt,tn)},removeData:function(rt,Vt){at.remove(rt,Vt)},_data:function(rt,Vt,tn){return gt.access(rt,Vt,tn)},_removeData:function(rt,Vt){gt.remove(rt,Vt)}}),W.fn.extend({data:function(rt,Vt){var tn,wn,qn,zn=this[0],xr=zn&&zn.attributes;if(rt===void 0){if(this.length&&(qn=at.get(zn),zn.nodeType===1&&!gt.get(zn,"hasDataAttrs"))){for(tn=xr.length;tn--;)xr[tn]&&(wn=xr[tn].name,wn.indexOf("data-")===0&&(wn=Ge(wn.slice(5)),ut(zn,wn,qn[wn])));gt.set(zn,"hasDataAttrs",!0)}return qn}return typeof rt=="object"?this.each(function(){at.set(this,rt)}):qe(this,function(da){var en;if(zn&&da===void 0)return en=at.get(zn,rt),en!==void 0||(en=ut(zn,rt),en!==void 0)?en:void 0;this.each(function(){at.set(this,rt,da)})},null,Vt,arguments.length>1,null,!0)},removeData:function(rt){return this.each(function(){at.remove(this,rt)})}}),W.extend({queue:function(rt,Vt,tn){var wn;if(rt)return Vt=(Vt||"fx")+"queue",wn=gt.get(rt,Vt),tn&&(!wn||Array.isArray(tn)?wn=gt.access(rt,Vt,W.makeArray(tn)):wn.push(tn)),wn||[]},dequeue:function(rt,Vt){Vt=Vt||"fx";var tn=W.queue(rt,Vt),wn=tn.length,qn=tn.shift(),zn=W._queueHooks(rt,Vt),xr=function(){W.dequeue(rt,Vt)};qn==="inprogress"&&(qn=tn.shift(),wn--),qn&&(Vt==="fx"&&tn.unshift("inprogress"),delete zn.stop,qn.call(rt,xr,zn)),!wn&&zn&&zn.empty.fire()},_queueHooks:function(rt,Vt){var tn=Vt+"queueHooks";return gt.get(rt,tn)||gt.access(rt,tn,{empty:W.Callbacks("once memory").add(function(){gt.remove(rt,[Vt+"queue",tn])})})}}),W.fn.extend({queue:function(rt,Vt){var tn=2;return typeof rt!="string"&&(Vt=rt,rt="fx",tn--),arguments.length<tn?W.queue(this[0],rt):Vt===void 0?this:this.each(function(){var wn=W.queue(this,rt,Vt);W._queueHooks(this,rt),rt==="fx"&&wn[0]!=="inprogress"&&W.dequeue(this,rt)})},dequeue:function(rt){return this.each(function(){W.dequeue(this,rt)})},clearQueue:function(rt){return this.queue(rt||"fx",[])},promise:function(rt,Vt){var tn,wn=1,qn=W.Deferred(),zn=this,xr=this.length,da=function(){--wn||qn.resolveWith(zn,[zn])};for(typeof rt!="string"&&(Vt=rt,rt=void 0),rt=rt||"fx";xr--;)tn=gt.get(zn[xr],rt+"queueHooks"),tn&&tn.empty&&(wn++,tn.empty.add(da));return da(),qn.promise(Vt)}});var le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=new RegExp("^(?:([+-])=|)("+le+")([a-z%]*)$","i"),Qe=["Top","Right","Bottom","Left"],Tt=$.documentElement,Ot=function(rt){return W.contains(rt.ownerDocument,rt)},Ut={composed:!0};Tt.getRootNode&&(Ot=function(rt){return W.contains(rt.ownerDocument,rt)||rt.getRootNode(Ut)===rt.ownerDocument});var At=function(rt,Vt){return rt=Vt||rt,rt.style.display==="none"||rt.style.display===""&&Ot(rt)&&W.css(rt,"display")==="none"};function Pt($t,rt,Vt,tn){var wn,qn,zn=20,xr=tn?function(){return tn.cur()}:function(){return W.css($t,rt,"")},da=xr(),en=Vt&&Vt[3]||(W.cssNumber[rt]?"":"px"),Fn=$t.nodeType&&(W.cssNumber[rt]||en!=="px"&&+da)&&$e.exec(W.css($t,rt));if(Fn&&Fn[3]!==en){for(da=da/2,en=en||Fn[3],Fn=+da||1;zn--;)W.style($t,rt,Fn+en),(1-qn)*(1-(qn=xr()/da||.5))<=0&&(zn=0),Fn=Fn/qn;Fn=Fn*2,W.style($t,rt,Fn+en),Vt=Vt||[]}return Vt&&(Fn=+Fn||+da||0,wn=Vt[1]?Fn+(Vt[1]+1)*Vt[2]:+Vt[2],tn&&(tn.unit=en,tn.start=Fn,tn.end=wn)),wn}var Dt={};function Qt($t){var rt,Vt=$t.ownerDocument,tn=$t.nodeName,wn=Dt[tn];return wn||(rt=Vt.body.appendChild(Vt.createElement(tn)),wn=W.css(rt,"display"),rt.parentNode.removeChild(rt),wn==="none"&&(wn="block"),Dt[tn]=wn,wn)}function cn($t,rt){for(var Vt,tn,wn=[],qn=0,zn=$t.length;qn<zn;qn++)tn=$t[qn],!!tn.style&&(Vt=tn.style.display,rt?(Vt==="none"&&(wn[qn]=gt.get(tn,"display")||null,wn[qn]||(tn.style.display="")),tn.style.display===""&&At(tn)&&(wn[qn]=Qt(tn))):Vt!=="none"&&(wn[qn]="none",gt.set(tn,"display",Vt)));for(qn=0;qn<zn;qn++)wn[qn]!=null&&($t[qn].style.display=wn[qn]);return $t}W.fn.extend({show:function(){return cn(this,!0)},hide:function(){return cn(this)},toggle:function(rt){return typeof rt=="boolean"?rt?this.show():this.hide():this.each(function(){At(this)?W(this).show():W(this).hide()})}});var $n=/^(?:checkbox|radio)$/i,hn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_n=/^$|^module$|\/(?:java|ecma)script/i;(function(){var $t=$.createDocumentFragment(),rt=$t.appendChild($.createElement("div")),Vt=$.createElement("input");Vt.setAttribute("type","radio"),Vt.setAttribute("checked","checked"),Vt.setAttribute("name","t"),rt.appendChild(Vt),B.checkClone=rt.cloneNode(!0).cloneNode(!0).lastChild.checked,rt.innerHTML="<textarea>x</textarea>",B.noCloneChecked=!!rt.cloneNode(!0).lastChild.defaultValue,rt.innerHTML="<option></option>",B.option=!!rt.lastChild})();var bn={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,"",""]};bn.tbody=bn.tfoot=bn.colgroup=bn.caption=bn.thead,bn.th=bn.td,B.option||(bn.optgroup=bn.option=[1,"<select multiple='multiple'>","</select>"]);function Bn($t,rt){var Vt;return typeof $t.getElementsByTagName!="undefined"?Vt=$t.getElementsByTagName(rt||"*"):typeof $t.querySelectorAll!="undefined"?Vt=$t.querySelectorAll(rt||"*"):Vt=[],rt===void 0||rt&&te($t,rt)?W.merge([$t],Vt):Vt}function Tn($t,rt){for(var Vt=0,tn=$t.length;Vt<tn;Vt++)gt.set($t[Vt],"globalEval",!rt||gt.get(rt[Vt],"globalEval"))}var Tr=/<|&#?\w+;/;function Sr($t,rt,Vt,tn,wn){for(var qn,zn,xr,da,en,Fn,Jn=rt.createDocumentFragment(),Ir=[],Gr=0,ga=$t.length;Gr<ga;Gr++)if(qn=$t[Gr],qn||qn===0)if(ie(qn)==="object")W.merge(Ir,qn.nodeType?[qn]:qn);else if(!Tr.test(qn))Ir.push(rt.createTextNode(qn));else{for(zn=zn||Jn.appendChild(rt.createElement("div")),xr=(hn.exec(qn)||["",""])[1].toLowerCase(),da=bn[xr]||bn._default,zn.innerHTML=da[1]+W.htmlPrefilter(qn)+da[2],Fn=da[0];Fn--;)zn=zn.lastChild;W.merge(Ir,zn.childNodes),zn=Jn.firstChild,zn.textContent=""}for(Jn.textContent="",Gr=0;qn=Ir[Gr++];){if(tn&&W.inArray(qn,tn)>-1){wn&&wn.push(qn);continue}if(en=Ot(qn),zn=Bn(Jn.appendChild(qn),"script"),en&&Tn(zn),Vt)for(Fn=0;qn=zn[Fn++];)_n.test(qn.type||"")&&Vt.push(qn)}return Jn}var Wr=/^([^.]*)(?:\.(.+)|)/;function br(){return!0}function Wn(){return!1}function gr($t,rt,Vt,tn,wn,qn){var zn,xr;if(typeof rt=="object"){typeof Vt!="string"&&(tn=tn||Vt,Vt=void 0);for(xr in rt)gr($t,xr,Vt,tn,rt[xr],qn);return $t}if(tn==null&&wn==null?(wn=Vt,tn=Vt=void 0):wn==null&&(typeof Vt=="string"?(wn=tn,tn=void 0):(wn=tn,tn=Vt,Vt=void 0)),wn===!1)wn=Wn;else if(!wn)return $t;return qn===1&&(zn=wn,wn=function(en){return W().off(en),zn.apply(this,arguments)},wn.guid=zn.guid||(zn.guid=W.guid++)),$t.each(function(){W.event.add(this,rt,wn,tn,Vt)})}W.event={global:{},add:function(rt,Vt,tn,wn,qn){var zn,xr,da,en,Fn,Jn,Ir,Gr,ga,Mr,$a,Ya=gt.get(rt);if(!!_t(rt))for(tn.handler&&(zn=tn,tn=zn.handler,qn=zn.selector),qn&&W.find.matchesSelector(Tt,qn),tn.guid||(tn.guid=W.guid++),(en=Ya.events)||(en=Ya.events=Object.create(null)),(xr=Ya.handle)||(xr=Ya.handle=function(_o){return typeof W!="undefined"&&W.event.triggered!==_o.type?W.event.dispatch.apply(rt,arguments):void 0}),Vt=(Vt||"").match(ht)||[""],Fn=Vt.length;Fn--;)da=Wr.exec(Vt[Fn])||[],ga=$a=da[1],Mr=(da[2]||"").split(".").sort(),!!ga&&(Ir=W.event.special[ga]||{},ga=(qn?Ir.delegateType:Ir.bindType)||ga,Ir=W.event.special[ga]||{},Jn=W.extend({type:ga,origType:$a,data:wn,handler:tn,guid:tn.guid,selector:qn,needsContext:qn&&W.expr.match.needsContext.test(qn),namespace:Mr.join(".")},zn),(Gr=en[ga])||(Gr=en[ga]=[],Gr.delegateCount=0,(!Ir.setup||Ir.setup.call(rt,wn,Mr,xr)===!1)&&rt.addEventListener&&rt.addEventListener(ga,xr)),Ir.add&&(Ir.add.call(rt,Jn),Jn.handler.guid||(Jn.handler.guid=tn.guid)),qn?Gr.splice(Gr.delegateCount++,0,Jn):Gr.push(Jn),W.event.global[ga]=!0)},remove:function(rt,Vt,tn,wn,qn){var zn,xr,da,en,Fn,Jn,Ir,Gr,ga,Mr,$a,Ya=gt.hasData(rt)&&gt.get(rt);if(!(!Ya||!(en=Ya.events))){for(Vt=(Vt||"").match(ht)||[""],Fn=Vt.length;Fn--;){if(da=Wr.exec(Vt[Fn])||[],ga=$a=da[1],Mr=(da[2]||"").split(".").sort(),!ga){for(ga in en)W.event.remove(rt,ga+Vt[Fn],tn,wn,!0);continue}for(Ir=W.event.special[ga]||{},ga=(wn?Ir.delegateType:Ir.bindType)||ga,Gr=en[ga]||[],da=da[2]&&new RegExp("(^|\\.)"+Mr.join("\\.(?:.*\\.|)")+"(\\.|$)"),xr=zn=Gr.length;zn--;)Jn=Gr[zn],(qn||$a===Jn.origType)&&(!tn||tn.guid===Jn.guid)&&(!da||da.test(Jn.namespace))&&(!wn||wn===Jn.selector||wn==="**"&&Jn.selector)&&(Gr.splice(zn,1),Jn.selector&&Gr.delegateCount--,Ir.remove&&Ir.remove.call(rt,Jn));xr&&!Gr.length&&((!Ir.teardown||Ir.teardown.call(rt,Mr,Ya.handle)===!1)&&W.removeEvent(rt,ga,Ya.handle),delete en[ga])}W.isEmptyObject(en)&&gt.remove(rt,"handle events")}},dispatch:function(rt){var Vt,tn,wn,qn,zn,xr,da=new Array(arguments.length),en=W.event.fix(rt),Fn=(gt.get(this,"events")||Object.create(null))[en.type]||[],Jn=W.event.special[en.type]||{};for(da[0]=en,Vt=1;Vt<arguments.length;Vt++)da[Vt]=arguments[Vt];if(en.delegateTarget=this,!(Jn.preDispatch&&Jn.preDispatch.call(this,en)===!1)){for(xr=W.event.handlers.call(this,en,Fn),Vt=0;(qn=xr[Vt++])&&!en.isPropagationStopped();)for(en.currentTarget=qn.elem,tn=0;(zn=qn.handlers[tn++])&&!en.isImmediatePropagationStopped();)(!en.rnamespace||zn.namespace===!1||en.rnamespace.test(zn.namespace))&&(en.handleObj=zn,en.data=zn.data,wn=((W.event.special[zn.origType]||{}).handle||zn.handler).apply(qn.elem,da),wn!==void 0&&(en.result=wn)===!1&&(en.preventDefault(),en.stopPropagation()));return Jn.postDispatch&&Jn.postDispatch.call(this,en),en.result}},handlers:function(rt,Vt){var tn,wn,qn,zn,xr,da=[],en=Vt.delegateCount,Fn=rt.target;if(en&&Fn.nodeType&&!(rt.type==="click"&&rt.button>=1)){for(;Fn!==this;Fn=Fn.parentNode||this)if(Fn.nodeType===1&&!(rt.type==="click"&&Fn.disabled===!0)){for(zn=[],xr={},tn=0;tn<en;tn++)wn=Vt[tn],qn=wn.selector+" ",xr[qn]===void 0&&(xr[qn]=wn.needsContext?W(qn,this).index(Fn)>-1:W.find(qn,this,null,[Fn]).length),xr[qn]&&zn.push(wn);zn.length&&da.push({elem:Fn,handlers:zn})}}return Fn=this,en<Vt.length&&da.push({elem:Fn,handlers:Vt.slice(en)}),da},addProp:function(rt,Vt){Object.defineProperty(W.Event.prototype,rt,{enumerable:!0,configurable:!0,get:U(Vt)?function(){if(this.originalEvent)return Vt(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[rt]},set:function(wn){Object.defineProperty(this,rt,{enumerable:!0,configurable:!0,writable:!0,value:wn})}})},fix:function(rt){return rt[W.expando]?rt:new W.Event(rt)},special:{load:{noBubble:!0},click:{setup:function(rt){var Vt=this||rt;return $n.test(Vt.type)&&Vt.click&&te(Vt,"input")&&na(Vt,"click",!0),!1},trigger:function(rt){var Vt=this||rt;return $n.test(Vt.type)&&Vt.click&&te(Vt,"input")&&na(Vt,"click"),!0},_default:function(rt){var Vt=rt.target;return $n.test(Vt.type)&&Vt.click&&te(Vt,"input")&&gt.get(Vt,"click")||te(Vt,"a")}},beforeunload:{postDispatch:function(rt){rt.result!==void 0&&rt.originalEvent&&(rt.originalEvent.returnValue=rt.result)}}}};function na($t,rt,Vt){if(!Vt){gt.get($t,rt)===void 0&&W.event.add($t,rt,br);return}gt.set($t,rt,!1),W.event.add($t,rt,{namespace:!1,handler:function(wn){var qn,zn=gt.get(this,rt);if(wn.isTrigger&1&&this[rt]){if(zn)(W.event.special[rt]||{}).delegateType&&wn.stopPropagation();else if(zn=S.call(arguments),gt.set(this,rt,zn),this[rt](),qn=gt.get(this,rt),gt.set(this,rt,!1),zn!==qn)return wn.stopImmediatePropagation(),wn.preventDefault(),qn}else zn&&(gt.set(this,rt,W.event.trigger(zn[0],zn.slice(1),this)),wn.stopPropagation(),wn.isImmediatePropagationStopped=br)}})}W.removeEvent=function($t,rt,Vt){$t.removeEventListener&&$t.removeEventListener(rt,Vt)},W.Event=function($t,rt){if(!(this instanceof W.Event))return new W.Event($t,rt);$t&&$t.type?(this.originalEvent=$t,this.type=$t.type,this.isDefaultPrevented=$t.defaultPrevented||$t.defaultPrevented===void 0&&$t.returnValue===!1?br:Wn,this.target=$t.target&&$t.target.nodeType===3?$t.target.parentNode:$t.target,this.currentTarget=$t.currentTarget,this.relatedTarget=$t.relatedTarget):this.type=$t,rt&&W.extend(this,rt),this.timeStamp=$t&&$t.timeStamp||Date.now(),this[W.expando]=!0},W.Event.prototype={constructor:W.Event,isDefaultPrevented:Wn,isPropagationStopped:Wn,isImmediatePropagationStopped:Wn,isSimulated:!1,preventDefault:function(){var rt=this.originalEvent;this.isDefaultPrevented=br,rt&&!this.isSimulated&&rt.preventDefault()},stopPropagation:function(){var rt=this.originalEvent;this.isPropagationStopped=br,rt&&!this.isSimulated&&rt.stopPropagation()},stopImmediatePropagation:function(){var rt=this.originalEvent;this.isImmediatePropagationStopped=br,rt&&!this.isSimulated&&rt.stopImmediatePropagation(),this.stopPropagation()}},W.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},W.event.addProp),W.each({focus:"focusin",blur:"focusout"},function($t,rt){function Vt(tn){if($.documentMode){var wn=gt.get(this,"handle"),qn=W.event.fix(tn);qn.type=tn.type==="focusin"?"focus":"blur",qn.isSimulated=!0,wn(tn),qn.target===qn.currentTarget&&wn(qn)}else W.event.simulate(rt,tn.target,W.event.fix(tn))}W.event.special[$t]={setup:function(){var wn;if(na(this,$t,!0),$.documentMode)wn=gt.get(this,rt),wn||this.addEventListener(rt,Vt),gt.set(this,rt,(wn||0)+1);else return!1},trigger:function(){return na(this,$t),!0},teardown:function(){var wn;if($.documentMode)wn=gt.get(this,rt)-1,wn?gt.set(this,rt,wn):(this.removeEventListener(rt,Vt),gt.remove(this,rt));else return!1},_default:function(wn){return gt.get(wn.target,$t)},delegateType:rt},W.event.special[rt]={setup:function(){var wn=this.ownerDocument||this.document||this,qn=$.documentMode?this:wn,zn=gt.get(qn,rt);zn||($.documentMode?this.addEventListener(rt,Vt):wn.addEventListener($t,Vt,!0)),gt.set(qn,rt,(zn||0)+1)},teardown:function(){var wn=this.ownerDocument||this.document||this,qn=$.documentMode?this:wn,zn=gt.get(qn,rt)-1;zn?gt.set(qn,rt,zn):($.documentMode?this.removeEventListener(rt,Vt):wn.removeEventListener($t,Vt,!0),gt.remove(qn,rt))}}}),W.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function($t,rt){W.event.special[$t]={delegateType:rt,bindType:rt,handle:function(tn){var wn,qn=this,zn=tn.relatedTarget,xr=tn.handleObj;return(!zn||zn!==qn&&!W.contains(qn,zn))&&(tn.type=xr.origType,wn=xr.handler.apply(this,arguments),tn.type=rt),wn}}}),W.fn.extend({on:function(rt,Vt,tn,wn){return gr(this,rt,Vt,tn,wn)},one:function(rt,Vt,tn,wn){return gr(this,rt,Vt,tn,wn,1)},off:function(rt,Vt,tn){var wn,qn;if(rt&&rt.preventDefault&&rt.handleObj)return wn=rt.handleObj,W(rt.delegateTarget).off(wn.namespace?wn.origType+"."+wn.namespace:wn.origType,wn.selector,wn.handler),this;if(typeof rt=="object"){for(qn in rt)this.off(qn,Vt,rt[qn]);return this}return(Vt===!1||typeof Vt=="function")&&(tn=Vt,Vt=void 0),tn===!1&&(tn=Wn),this.each(function(){W.event.remove(this,rt,tn,Vt)})}});var jn=/<script|<style|<link/i,un=/checked\s*(?:[^=]|=\s*.checked.)/i,zt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Bt($t,rt){return te($t,"table")&&te(rt.nodeType!==11?rt:rt.firstChild,"tr")&&W($t).children("tbody")[0]||$t}function H($t){return $t.type=($t.getAttribute("type")!==null)+"/"+$t.type,$t}function ot($t){return($t.type||"").slice(0,5)==="true/"?$t.type=$t.type.slice(5):$t.removeAttribute("type"),$t}function nt($t,rt){var Vt,tn,wn,qn,zn,xr,da;if(rt.nodeType===1){if(gt.hasData($t)&&(qn=gt.get($t),da=qn.events,da)){gt.remove(rt,"handle events");for(wn in da)for(Vt=0,tn=da[wn].length;Vt<tn;Vt++)W.event.add(rt,wn,da[wn][Vt])}at.hasData($t)&&(zn=at.access($t),xr=W.extend({},zn),at.set(rt,xr))}}function Ct($t,rt){var Vt=rt.nodeName.toLowerCase();Vt==="input"&&$n.test($t.type)?rt.checked=$t.checked:(Vt==="input"||Vt==="textarea")&&(rt.defaultValue=$t.defaultValue)}function Wt($t,rt,Vt,tn){rt=y(rt);var wn,qn,zn,xr,da,en,Fn=0,Jn=$t.length,Ir=Jn-1,Gr=rt[0],ga=U(Gr);if(ga||Jn>1&&typeof Gr=="string"&&!B.checkClone&&un.test(Gr))return $t.each(function(Mr){var $a=$t.eq(Mr);ga&&(rt[0]=Gr.call(this,Mr,$a.html())),Wt($a,rt,Vt,tn)});if(Jn&&(wn=Sr(rt,$t[0].ownerDocument,!1,$t,tn),qn=wn.firstChild,wn.childNodes.length===1&&(wn=qn),qn||tn)){for(zn=W.map(Bn(wn,"script"),H),xr=zn.length;Fn<Jn;Fn++)da=wn,Fn!==Ir&&(da=W.clone(da,!0,!0),xr&&W.merge(zn,Bn(da,"script"))),Vt.call($t[Fn],da,Fn);if(xr)for(en=zn[zn.length-1].ownerDocument,W.map(zn,ot),Fn=0;Fn<xr;Fn++)da=zn[Fn],_n.test(da.type||"")&&!gt.access(da,"globalEval")&&W.contains(en,da)&&(da.src&&(da.type||"").toLowerCase()!=="module"?W._evalUrl&&!da.noModule&&W._evalUrl(da.src,{nonce:da.nonce||da.getAttribute("nonce")},en):ee(da.textContent.replace(zt,""),da,en))}return $t}function kn($t,rt,Vt){for(var tn,wn=rt?W.filter(rt,$t):$t,qn=0;(tn=wn[qn])!=null;qn++)!Vt&&tn.nodeType===1&&W.cleanData(Bn(tn)),tn.parentNode&&(Vt&&Ot(tn)&&Tn(Bn(tn,"script")),tn.parentNode.removeChild(tn));return $t}W.extend({htmlPrefilter:function(rt){return rt},clone:function(rt,Vt,tn){var wn,qn,zn,xr,da=rt.cloneNode(!0),en=Ot(rt);if(!B.noCloneChecked&&(rt.nodeType===1||rt.nodeType===11)&&!W.isXMLDoc(rt))for(xr=Bn(da),zn=Bn(rt),wn=0,qn=zn.length;wn<qn;wn++)Ct(zn[wn],xr[wn]);if(Vt)if(tn)for(zn=zn||Bn(rt),xr=xr||Bn(da),wn=0,qn=zn.length;wn<qn;wn++)nt(zn[wn],xr[wn]);else nt(rt,da);return xr=Bn(da,"script"),xr.length>0&&Tn(xr,!en&&Bn(rt,"script")),da},cleanData:function(rt){for(var Vt,tn,wn,qn=W.event.special,zn=0;(tn=rt[zn])!==void 0;zn++)if(_t(tn)){if(Vt=tn[gt.expando]){if(Vt.events)for(wn in Vt.events)qn[wn]?W.event.remove(tn,wn):W.removeEvent(tn,wn,Vt.handle);tn[gt.expando]=void 0}tn[at.expando]&&(tn[at.expando]=void 0)}}}),W.fn.extend({detach:function(rt){return kn(this,rt,!0)},remove:function(rt){return kn(this,rt)},text:function(rt){return qe(this,function(Vt){return Vt===void 0?W.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=Vt)})},null,rt,arguments.length)},append:function(){return Wt(this,arguments,function(rt){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var Vt=Bt(this,rt);Vt.appendChild(rt)}})},prepend:function(){return Wt(this,arguments,function(rt){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var Vt=Bt(this,rt);Vt.insertBefore(rt,Vt.firstChild)}})},before:function(){return Wt(this,arguments,function(rt){this.parentNode&&this.parentNode.insertBefore(rt,this)})},after:function(){return Wt(this,arguments,function(rt){this.parentNode&&this.parentNode.insertBefore(rt,this.nextSibling)})},empty:function(){for(var rt,Vt=0;(rt=this[Vt])!=null;Vt++)rt.nodeType===1&&(W.cleanData(Bn(rt,!1)),rt.textContent="");return this},clone:function(rt,Vt){return rt=rt==null?!1:rt,Vt=Vt==null?rt:Vt,this.map(function(){return W.clone(this,rt,Vt)})},html:function(rt){return qe(this,function(Vt){var tn=this[0]||{},wn=0,qn=this.length;if(Vt===void 0&&tn.nodeType===1)return tn.innerHTML;if(typeof Vt=="string"&&!jn.test(Vt)&&!bn[(hn.exec(Vt)||["",""])[1].toLowerCase()]){Vt=W.htmlPrefilter(Vt);try{for(;wn<qn;wn++)tn=this[wn]||{},tn.nodeType===1&&(W.cleanData(Bn(tn,!1)),tn.innerHTML=Vt);tn=0}catch(zn){}}tn&&this.empty().append(Vt)},null,rt,arguments.length)},replaceWith:function(){var rt=[];return Wt(this,arguments,function(Vt){var tn=this.parentNode;W.inArray(this,rt)<0&&(W.cleanData(Bn(this)),tn&&tn.replaceChild(Vt,this))},rt)}}),W.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function($t,rt){W.fn[$t]=function(Vt){for(var tn,wn=[],qn=W(Vt),zn=qn.length-1,xr=0;xr<=zn;xr++)tn=xr===zn?this:this.clone(!0),W(qn[xr])[rt](tn),w.apply(wn,tn.get());return this.pushStack(wn)}});var Sn=new RegExp("^("+le+")(?!px)[a-z%]+$","i"),Zn=/^--/,Or=function(rt){var Vt=rt.ownerDocument.defaultView;return(!Vt||!Vt.opener)&&(Vt=O),Vt.getComputedStyle(rt)},Yn=function(rt,Vt,tn){var wn,qn,zn={};for(qn in Vt)zn[qn]=rt.style[qn],rt.style[qn]=Vt[qn];wn=tn.call(rt);for(qn in Vt)rt.style[qn]=zn[qn];return wn},Nn=new RegExp(Qe.join("|"),"i");(function(){function $t(){if(!!en){da.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",en.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Tt.appendChild(da).appendChild(en);var Fn=O.getComputedStyle(en);Vt=Fn.top!=="1%",xr=rt(Fn.marginLeft)===12,en.style.right="60%",qn=rt(Fn.right)===36,tn=rt(Fn.width)===36,en.style.position="absolute",wn=rt(en.offsetWidth/3)===12,Tt.removeChild(da),en=null}}function rt(Fn){return Math.round(parseFloat(Fn))}var Vt,tn,wn,qn,zn,xr,da=$.createElement("div"),en=$.createElement("div");!en.style||(en.style.backgroundClip="content-box",en.cloneNode(!0).style.backgroundClip="",B.clearCloneStyle=en.style.backgroundClip==="content-box",W.extend(B,{boxSizingReliable:function(){return $t(),tn},pixelBoxStyles:function(){return $t(),qn},pixelPosition:function(){return $t(),Vt},reliableMarginLeft:function(){return $t(),xr},scrollboxSize:function(){return $t(),wn},reliableTrDimensions:function(){var Jn,Ir,Gr,ga;return zn==null&&(Jn=$.createElement("table"),Ir=$.createElement("tr"),Gr=$.createElement("div"),Jn.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ir.style.cssText="border:1px solid",Ir.style.height="1px",Gr.style.height="9px",Gr.style.display="block",Tt.appendChild(Jn).appendChild(Ir).appendChild(Gr),ga=O.getComputedStyle(Ir),zn=parseInt(ga.height,10)+parseInt(ga.borderTopWidth,10)+parseInt(ga.borderBottomWidth,10)===Ir.offsetHeight,Tt.removeChild(Jn)),zn}}))})();function Zt($t,rt,Vt){var tn,wn,qn,zn,xr=Zn.test(rt),da=$t.style;return Vt=Vt||Or($t),Vt&&(zn=Vt.getPropertyValue(rt)||Vt[rt],xr&&zn&&(zn=zn.replace(me,"$1")||void 0),zn===""&&!Ot($t)&&(zn=W.style($t,rt)),!B.pixelBoxStyles()&&Sn.test(zn)&&Nn.test(rt)&&(tn=da.width,wn=da.minWidth,qn=da.maxWidth,da.minWidth=da.maxWidth=da.width=zn,zn=Vt.width,da.width=tn,da.minWidth=wn,da.maxWidth=qn)),zn!==void 0?zn+"":zn}function rr($t,rt){return{get:function(){if($t()){delete this.get;return}return(this.get=rt).apply(this,arguments)}}}var Gn=["Webkit","Moz","ms"],ln=$.createElement("div").style,Xn={};function Kn($t){for(var rt=$t[0].toUpperCase()+$t.slice(1),Vt=Gn.length;Vt--;)if($t=Gn[Vt]+rt,$t in ln)return $t}function fr($t){var rt=W.cssProps[$t]||Xn[$t];return rt||($t in ln?$t:Xn[$t]=Kn($t)||$t)}var Hn=/^(none|table(?!-c[ea]).+)/,Sa={position:"absolute",visibility:"hidden",display:"block"},Lr={letterSpacing:"0",fontWeight:"400"};function Ca($t,rt,Vt){var tn=$e.exec(rt);return tn?Math.max(0,tn[2]-(Vt||0))+(tn[3]||"px"):rt}function za($t,rt,Vt,tn,wn,qn){var zn=rt==="width"?1:0,xr=0,da=0,en=0;if(Vt===(tn?"border":"content"))return 0;for(;zn<4;zn+=2)Vt==="margin"&&(en+=W.css($t,Vt+Qe[zn],!0,wn)),tn?(Vt==="content"&&(da-=W.css($t,"padding"+Qe[zn],!0,wn)),Vt!=="margin"&&(da-=W.css($t,"border"+Qe[zn]+"Width",!0,wn))):(da+=W.css($t,"padding"+Qe[zn],!0,wn),Vt!=="padding"?da+=W.css($t,"border"+Qe[zn]+"Width",!0,wn):xr+=W.css($t,"border"+Qe[zn]+"Width",!0,wn));return!tn&&qn>=0&&(da+=Math.max(0,Math.ceil($t["offset"+rt[0].toUpperCase()+rt.slice(1)]-qn-da-xr-.5))||0),da+en}function Ma($t,rt,Vt){var tn=Or($t),wn=!B.boxSizingReliable()||Vt,qn=wn&&W.css($t,"boxSizing",!1,tn)==="border-box",zn=qn,xr=Zt($t,rt,tn),da="offset"+rt[0].toUpperCase()+rt.slice(1);if(Sn.test(xr)){if(!Vt)return xr;xr="auto"}return(!B.boxSizingReliable()&&qn||!B.reliableTrDimensions()&&te($t,"tr")||xr==="auto"||!parseFloat(xr)&&W.css($t,"display",!1,tn)==="inline")&&$t.getClientRects().length&&(qn=W.css($t,"boxSizing",!1,tn)==="border-box",zn=da in $t,zn&&(xr=$t[da])),xr=parseFloat(xr)||0,xr+za($t,rt,Vt||(qn?"border":"content"),zn,tn,xr)+"px"}W.extend({cssHooks:{opacity:{get:function(rt,Vt){if(Vt){var tn=Zt(rt,"opacity");return tn===""?"1":tn}}}},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(rt,Vt,tn,wn){if(!(!rt||rt.nodeType===3||rt.nodeType===8||!rt.style)){var qn,zn,xr,da=Ge(Vt),en=Zn.test(Vt),Fn=rt.style;if(en||(Vt=fr(da)),xr=W.cssHooks[Vt]||W.cssHooks[da],tn!==void 0){if(zn=typeof tn,zn==="string"&&(qn=$e.exec(tn))&&qn[1]&&(tn=Pt(rt,Vt,qn),zn="number"),tn==null||tn!==tn)return;zn==="number"&&!en&&(tn+=qn&&qn[3]||(W.cssNumber[da]?"":"px")),!B.clearCloneStyle&&tn===""&&Vt.indexOf("background")===0&&(Fn[Vt]="inherit"),(!xr||!("set"in xr)||(tn=xr.set(rt,tn,wn))!==void 0)&&(en?Fn.setProperty(Vt,tn):Fn[Vt]=tn)}else return xr&&"get"in xr&&(qn=xr.get(rt,!1,wn))!==void 0?qn:Fn[Vt]}},css:function(rt,Vt,tn,wn){var qn,zn,xr,da=Ge(Vt),en=Zn.test(Vt);return en||(Vt=fr(da)),xr=W.cssHooks[Vt]||W.cssHooks[da],xr&&"get"in xr&&(qn=xr.get(rt,!0,tn)),qn===void 0&&(qn=Zt(rt,Vt,wn)),qn==="normal"&&Vt in Lr&&(qn=Lr[Vt]),tn===""||tn?(zn=parseFloat(qn),tn===!0||isFinite(zn)?zn||0:qn):qn}}),W.each(["height","width"],function($t,rt){W.cssHooks[rt]={get:function(tn,wn,qn){if(wn)return Hn.test(W.css(tn,"display"))&&(!tn.getClientRects().length||!tn.getBoundingClientRect().width)?Yn(tn,Sa,function(){return Ma(tn,rt,qn)}):Ma(tn,rt,qn)},set:function(tn,wn,qn){var zn,xr=Or(tn),da=!B.scrollboxSize()&&xr.position==="absolute",en=da||qn,Fn=en&&W.css(tn,"boxSizing",!1,xr)==="border-box",Jn=qn?za(tn,rt,qn,Fn,xr):0;return Fn&&da&&(Jn-=Math.ceil(tn["offset"+rt[0].toUpperCase()+rt.slice(1)]-parseFloat(xr[rt])-za(tn,rt,"border",!1,xr)-.5)),Jn&&(zn=$e.exec(wn))&&(zn[3]||"px")!=="px"&&(tn.style[rt]=wn,wn=W.css(tn,rt)),Ca(tn,wn,Jn)}}}),W.cssHooks.marginLeft=rr(B.reliableMarginLeft,function($t,rt){if(rt)return(parseFloat(Zt($t,"marginLeft"))||$t.getBoundingClientRect().left-Yn($t,{marginLeft:0},function(){return $t.getBoundingClientRect().left}))+"px"}),W.each({margin:"",padding:"",border:"Width"},function($t,rt){W.cssHooks[$t+rt]={expand:function(tn){for(var wn=0,qn={},zn=typeof tn=="string"?tn.split(" "):[tn];wn<4;wn++)qn[$t+Qe[wn]+rt]=zn[wn]||zn[wn-2]||zn[0];return qn}},$t!=="margin"&&(W.cssHooks[$t+rt].set=Ca)}),W.fn.extend({css:function(rt,Vt){return qe(this,function(tn,wn,qn){var zn,xr,da={},en=0;if(Array.isArray(wn)){for(zn=Or(tn),xr=wn.length;en<xr;en++)da[wn[en]]=W.css(tn,wn[en],!1,zn);return da}return qn!==void 0?W.style(tn,wn,qn):W.css(tn,wn)},rt,Vt,arguments.length>1)}});function va($t,rt,Vt,tn,wn){return new va.prototype.init($t,rt,Vt,tn,wn)}W.Tween=va,va.prototype={constructor:va,init:function(rt,Vt,tn,wn,qn,zn){this.elem=rt,this.prop=tn,this.easing=qn||W.easing._default,this.options=Vt,this.start=this.now=this.cur(),this.end=wn,this.unit=zn||(W.cssNumber[tn]?"":"px")},cur:function(){var rt=va.propHooks[this.prop];return rt&&rt.get?rt.get(this):va.propHooks._default.get(this)},run:function(rt){var Vt,tn=va.propHooks[this.prop];return this.options.duration?this.pos=Vt=W.easing[this.easing](rt,this.options.duration*rt,0,1,this.options.duration):this.pos=Vt=rt,this.now=(this.end-this.start)*Vt+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),tn&&tn.set?tn.set(this):va.propHooks._default.set(this),this}},va.prototype.init.prototype=va.prototype,va.propHooks={_default:{get:function(rt){var Vt;return rt.elem.nodeType!==1||rt.elem[rt.prop]!=null&&rt.elem.style[rt.prop]==null?rt.elem[rt.prop]:(Vt=W.css(rt.elem,rt.prop,""),!Vt||Vt==="auto"?0:Vt)},set:function(rt){W.fx.step[rt.prop]?W.fx.step[rt.prop](rt):rt.elem.nodeType===1&&(W.cssHooks[rt.prop]||rt.elem.style[fr(rt.prop)]!=null)?W.style(rt.elem,rt.prop,rt.now+rt.unit):rt.elem[rt.prop]=rt.now}}},va.propHooks.scrollTop=va.propHooks.scrollLeft={set:function(rt){rt.elem.nodeType&&rt.elem.parentNode&&(rt.elem[rt.prop]=rt.now)}},W.easing={linear:function(rt){return rt},swing:function(rt){return .5-Math.cos(rt*Math.PI)/2},_default:"swing"},W.fx=va.prototype.init,W.fx.step={};var qa,gi,Qi=/^(?:toggle|show|hide)$/,mi=/queueHooks$/;function Cr(){gi&&($.hidden===!1&&O.requestAnimationFrame?O.requestAnimationFrame(Cr):O.setTimeout(Cr,W.fx.interval),W.fx.tick())}function Un(){return O.setTimeout(function(){qa=void 0}),qa=Date.now()}function Lt($t,rt){var Vt,tn=0,wn={height:$t};for(rt=rt?1:0;tn<4;tn+=2-rt)Vt=Qe[tn],wn["margin"+Vt]=wn["padding"+Vt]=$t;return rt&&(wn.opacity=wn.width=$t),wn}function gn($t,rt,Vt){for(var tn,wn=(ea.tweeners[rt]||[]).concat(ea.tweeners["*"]),qn=0,zn=wn.length;qn<zn;qn++)if(tn=wn[qn].call(Vt,rt,$t))return tn}function Ln($t,rt,Vt){var tn,wn,qn,zn,xr,da,en,Fn,Jn="width"in rt||"height"in rt,Ir=this,Gr={},ga=$t.style,Mr=$t.nodeType&&At($t),$a=gt.get($t,"fxshow");Vt.queue||(zn=W._queueHooks($t,"fx"),zn.unqueued==null&&(zn.unqueued=0,xr=zn.empty.fire,zn.empty.fire=function(){zn.unqueued||xr()}),zn.unqueued++,Ir.always(function(){Ir.always(function(){zn.unqueued--,W.queue($t,"fx").length||zn.empty.fire()})}));for(tn in rt)if(wn=rt[tn],Qi.test(wn)){if(delete rt[tn],qn=qn||wn==="toggle",wn===(Mr?"hide":"show"))if(wn==="show"&&$a&&$a[tn]!==void 0)Mr=!0;else continue;Gr[tn]=$a&&$a[tn]||W.style($t,tn)}if(da=!W.isEmptyObject(rt),!(!da&&W.isEmptyObject(Gr))){Jn&&$t.nodeType===1&&(Vt.overflow=[ga.overflow,ga.overflowX,ga.overflowY],en=$a&&$a.display,en==null&&(en=gt.get($t,"display")),Fn=W.css($t,"display"),Fn==="none"&&(en?Fn=en:(cn([$t],!0),en=$t.style.display||en,Fn=W.css($t,"display"),cn([$t]))),(Fn==="inline"||Fn==="inline-block"&&en!=null)&&W.css($t,"float")==="none"&&(da||(Ir.done(function(){ga.display=en}),en==null&&(Fn=ga.display,en=Fn==="none"?"":Fn)),ga.display="inline-block")),Vt.overflow&&(ga.overflow="hidden",Ir.always(function(){ga.overflow=Vt.overflow[0],ga.overflowX=Vt.overflow[1],ga.overflowY=Vt.overflow[2]})),da=!1;for(tn in Gr)da||($a?"hidden"in $a&&(Mr=$a.hidden):$a=gt.access($t,"fxshow",{display:en}),qn&&($a.hidden=!Mr),Mr&&cn([$t],!0),Ir.done(function(){Mr||cn([$t]),gt.remove($t,"fxshow");for(tn in Gr)W.style($t,tn,Gr[tn])})),da=gn(Mr?$a[tn]:0,tn,Ir),tn in $a||($a[tn]=da.start,Mr&&(da.end=da.start,da.start=0))}}function kr($t,rt){var Vt,tn,wn,qn,zn;for(Vt in $t)if(tn=Ge(Vt),wn=rt[tn],qn=$t[Vt],Array.isArray(qn)&&(wn=qn[1],qn=$t[Vt]=qn[0]),Vt!==tn&&($t[tn]=qn,delete $t[Vt]),zn=W.cssHooks[tn],zn&&"expand"in zn){qn=zn.expand(qn),delete $t[tn];for(Vt in qn)Vt in $t||($t[Vt]=qn[Vt],rt[Vt]=wn)}else rt[tn]=wn}function ea($t,rt,Vt){var tn,wn,qn=0,zn=ea.prefilters.length,xr=W.Deferred().always(function(){delete da.elem}),da=function(){if(wn)return!1;for(var Ir=qa||Un(),Gr=Math.max(0,en.startTime+en.duration-Ir),ga=Gr/en.duration||0,Mr=1-ga,$a=0,Ya=en.tweens.length;$a<Ya;$a++)en.tweens[$a].run(Mr);return xr.notifyWith($t,[en,Mr,Gr]),Mr<1&&Ya?Gr:(Ya||xr.notifyWith($t,[en,1,0]),xr.resolveWith($t,[en]),!1)},en=xr.promise({elem:$t,props:W.extend({},rt),opts:W.extend(!0,{specialEasing:{},easing:W.easing._default},Vt),originalProperties:rt,originalOptions:Vt,startTime:qa||Un(),duration:Vt.duration,tweens:[],createTween:function(Ir,Gr){var ga=W.Tween($t,en.opts,Ir,Gr,en.opts.specialEasing[Ir]||en.opts.easing);return en.tweens.push(ga),ga},stop:function(Ir){var Gr=0,ga=Ir?en.tweens.length:0;if(wn)return this;for(wn=!0;Gr<ga;Gr++)en.tweens[Gr].run(1);return Ir?(xr.notifyWith($t,[en,1,0]),xr.resolveWith($t,[en,Ir])):xr.rejectWith($t,[en,Ir]),this}}),Fn=en.props;for(kr(Fn,en.opts.specialEasing);qn<zn;qn++)if(tn=ea.prefilters[qn].call(en,$t,Fn,en.opts),tn)return U(tn.stop)&&(W._queueHooks(en.elem,en.opts.queue).stop=tn.stop.bind(tn)),tn;return W.map(Fn,gn,en),U(en.opts.start)&&en.opts.start.call($t,en),en.progress(en.opts.progress).done(en.opts.done,en.opts.complete).fail(en.opts.fail).always(en.opts.always),W.fx.timer(W.extend(da,{elem:$t,anim:en,queue:en.opts.queue})),en}W.Animation=W.extend(ea,{tweeners:{"*":[function($t,rt){var Vt=this.createTween($t,rt);return Pt(Vt.elem,$t,$e.exec(rt),Vt),Vt}]},tweener:function(rt,Vt){U(rt)?(Vt=rt,rt=["*"]):rt=rt.match(ht);for(var tn,wn=0,qn=rt.length;wn<qn;wn++)tn=rt[wn],ea.tweeners[tn]=ea.tweeners[tn]||[],ea.tweeners[tn].unshift(Vt)},prefilters:[Ln],prefilter:function(rt,Vt){Vt?ea.prefilters.unshift(rt):ea.prefilters.push(rt)}}),W.speed=function($t,rt,Vt){var tn=$t&&typeof $t=="object"?W.extend({},$t):{complete:Vt||!Vt&&rt||U($t)&&$t,duration:$t,easing:Vt&&rt||rt&&!U(rt)&&rt};return W.fx.off?tn.duration=0:typeof tn.duration!="number"&&(tn.duration in W.fx.speeds?tn.duration=W.fx.speeds[tn.duration]:tn.duration=W.fx.speeds._default),(tn.queue==null||tn.queue===!0)&&(tn.queue="fx"),tn.old=tn.complete,tn.complete=function(){U(tn.old)&&tn.old.call(this),tn.queue&&W.dequeue(this,tn.queue)},tn},W.fn.extend({fadeTo:function(rt,Vt,tn,wn){return this.filter(At).css("opacity",0).show().end().animate({opacity:Vt},rt,tn,wn)},animate:function(rt,Vt,tn,wn){var qn=W.isEmptyObject(rt),zn=W.speed(Vt,tn,wn),xr=function(){var en=ea(this,W.extend({},rt),zn);(qn||gt.get(this,"finish"))&&en.stop(!0)};return xr.finish=xr,qn||zn.queue===!1?this.each(xr):this.queue(zn.queue,xr)},stop:function(rt,Vt,tn){var wn=function(zn){var xr=zn.stop;delete zn.stop,xr(tn)};return typeof rt!="string"&&(tn=Vt,Vt=rt,rt=void 0),Vt&&this.queue(rt||"fx",[]),this.each(function(){var qn=!0,zn=rt!=null&&rt+"queueHooks",xr=W.timers,da=gt.get(this);if(zn)da[zn]&&da[zn].stop&&wn(da[zn]);else for(zn in da)da[zn]&&da[zn].stop&&mi.test(zn)&&wn(da[zn]);for(zn=xr.length;zn--;)xr[zn].elem===this&&(rt==null||xr[zn].queue===rt)&&(xr[zn].anim.stop(tn),qn=!1,xr.splice(zn,1));(qn||!tn)&&W.dequeue(this,rt)})},finish:function(rt){return rt!==!1&&(rt=rt||"fx"),this.each(function(){var Vt,tn=gt.get(this),wn=tn[rt+"queue"],qn=tn[rt+"queueHooks"],zn=W.timers,xr=wn?wn.length:0;for(tn.finish=!0,W.queue(this,rt,[]),qn&&qn.stop&&qn.stop.call(this,!0),Vt=zn.length;Vt--;)zn[Vt].elem===this&&zn[Vt].queue===rt&&(zn[Vt].anim.stop(!0),zn.splice(Vt,1));for(Vt=0;Vt<xr;Vt++)wn[Vt]&&wn[Vt].finish&&wn[Vt].finish.call(this);delete tn.finish})}}),W.each(["toggle","show","hide"],function($t,rt){var Vt=W.fn[rt];W.fn[rt]=function(tn,wn,qn){return tn==null||typeof tn=="boolean"?Vt.apply(this,arguments):this.animate(Lt(rt,!0),tn,wn,qn)}}),W.each({slideDown:Lt("show"),slideUp:Lt("hide"),slideToggle:Lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function($t,rt){W.fn[$t]=function(Vt,tn,wn){return this.animate(rt,Vt,tn,wn)}}),W.timers=[],W.fx.tick=function(){var $t,rt=0,Vt=W.timers;for(qa=Date.now();rt<Vt.length;rt++)$t=Vt[rt],!$t()&&Vt[rt]===$t&&Vt.splice(rt--,1);Vt.length||W.fx.stop(),qa=void 0},W.fx.timer=function($t){W.timers.push($t),W.fx.start()},W.fx.interval=13,W.fx.start=function(){gi||(gi=!0,Cr())},W.fx.stop=function(){gi=null},W.fx.speeds={slow:600,fast:200,_default:400},W.fn.delay=function($t,rt){return $t=W.fx&&W.fx.speeds[$t]||$t,rt=rt||"fx",this.queue(rt,function(Vt,tn){var wn=O.setTimeout(Vt,$t);tn.stop=function(){O.clearTimeout(wn)}})},function(){var $t=$.createElement("input"),rt=$.createElement("select"),Vt=rt.appendChild($.createElement("option"));$t.type="checkbox",B.checkOn=$t.value!=="",B.optSelected=Vt.selected,$t=$.createElement("input"),$t.value="t",$t.type="radio",B.radioValue=$t.value==="t"}();var Qr,Na=W.expr.attrHandle;W.fn.extend({attr:function(rt,Vt){return qe(this,W.attr,rt,Vt,arguments.length>1)},removeAttr:function(rt){return this.each(function(){W.removeAttr(this,rt)})}}),W.extend({attr:function(rt,Vt,tn){var wn,qn,zn=rt.nodeType;if(!(zn===3||zn===8||zn===2)){if(typeof rt.getAttribute=="undefined")return W.prop(rt,Vt,tn);if((zn!==1||!W.isXMLDoc(rt))&&(qn=W.attrHooks[Vt.toLowerCase()]||(W.expr.match.bool.test(Vt)?Qr:void 0)),tn!==void 0){if(tn===null){W.removeAttr(rt,Vt);return}return qn&&"set"in qn&&(wn=qn.set(rt,tn,Vt))!==void 0?wn:(rt.setAttribute(Vt,tn+""),tn)}return qn&&"get"in qn&&(wn=qn.get(rt,Vt))!==null?wn:(wn=W.find.attr(rt,Vt),wn==null?void 0:wn)}},attrHooks:{type:{set:function(rt,Vt){if(!B.radioValue&&Vt==="radio"&&te(rt,"input")){var tn=rt.value;return rt.setAttribute("type",Vt),tn&&(rt.value=tn),Vt}}}},removeAttr:function(rt,Vt){var tn,wn=0,qn=Vt&&Vt.match(ht);if(qn&&rt.nodeType===1)for(;tn=qn[wn++];)rt.removeAttribute(tn)}}),Qr={set:function(rt,Vt,tn){return Vt===!1?W.removeAttr(rt,tn):rt.setAttribute(tn,tn),tn}},W.each(W.expr.match.bool.source.match(/\w+/g),function($t,rt){var Vt=Na[rt]||W.find.attr;Na[rt]=function(tn,wn,qn){var zn,xr,da=wn.toLowerCase();return qn||(xr=Na[da],Na[da]=zn,zn=Vt(tn,wn,qn)!=null?da:null,Na[da]=xr),zn}});var ar=/^(?:input|select|textarea|button)$/i,pi=/^(?:a|area)$/i;W.fn.extend({prop:function(rt,Vt){return qe(this,W.prop,rt,Vt,arguments.length>1)},removeProp:function(rt){return this.each(function(){delete this[W.propFix[rt]||rt]})}}),W.extend({prop:function(rt,Vt,tn){var wn,qn,zn=rt.nodeType;if(!(zn===3||zn===8||zn===2))return(zn!==1||!W.isXMLDoc(rt))&&(Vt=W.propFix[Vt]||Vt,qn=W.propHooks[Vt]),tn!==void 0?qn&&"set"in qn&&(wn=qn.set(rt,tn,Vt))!==void 0?wn:rt[Vt]=tn:qn&&"get"in qn&&(wn=qn.get(rt,Vt))!==null?wn:rt[Vt]},propHooks:{tabIndex:{get:function(rt){var Vt=W.find.attr(rt,"tabindex");return Vt?parseInt(Vt,10):ar.test(rt.nodeName)||pi.test(rt.nodeName)&&rt.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),B.optSelected||(W.propHooks.selected={get:function(rt){var Vt=rt.parentNode;return Vt&&Vt.parentNode&&Vt.parentNode.selectedIndex,null},set:function(rt){var Vt=rt.parentNode;Vt&&(Vt.selectedIndex,Vt.parentNode&&Vt.parentNode.selectedIndex)}}),W.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){W.propFix[this.toLowerCase()]=this});function _i($t){var rt=$t.match(ht)||[];return rt.join(" ")}function ti($t){return $t.getAttribute&&$t.getAttribute("class")||""}function ui($t){return Array.isArray($t)?$t:typeof $t=="string"?$t.match(ht)||[]:[]}W.fn.extend({addClass:function(rt){var Vt,tn,wn,qn,zn,xr;return U(rt)?this.each(function(da){W(this).addClass(rt.call(this,da,ti(this)))}):(Vt=ui(rt),Vt.length?this.each(function(){if(wn=ti(this),tn=this.nodeType===1&&" "+_i(wn)+" ",tn){for(zn=0;zn<Vt.length;zn++)qn=Vt[zn],tn.indexOf(" "+qn+" ")<0&&(tn+=qn+" ");xr=_i(tn),wn!==xr&&this.setAttribute("class",xr)}}):this)},removeClass:function(rt){var Vt,tn,wn,qn,zn,xr;return U(rt)?this.each(function(da){W(this).removeClass(rt.call(this,da,ti(this)))}):arguments.length?(Vt=ui(rt),Vt.length?this.each(function(){if(wn=ti(this),tn=this.nodeType===1&&" "+_i(wn)+" ",tn){for(zn=0;zn<Vt.length;zn++)for(qn=Vt[zn];tn.indexOf(" "+qn+" ")>-1;)tn=tn.replace(" "+qn+" "," ");xr=_i(tn),wn!==xr&&this.setAttribute("class",xr)}}):this):this.attr("class","")},toggleClass:function(rt,Vt){var tn,wn,qn,zn,xr=typeof rt,da=xr==="string"||Array.isArray(rt);return U(rt)?this.each(function(en){W(this).toggleClass(rt.call(this,en,ti(this),Vt),Vt)}):typeof Vt=="boolean"&&da?Vt?this.addClass(rt):this.removeClass(rt):(tn=ui(rt),this.each(function(){if(da)for(zn=W(this),qn=0;qn<tn.length;qn++)wn=tn[qn],zn.hasClass(wn)?zn.removeClass(wn):zn.addClass(wn);else(rt===void 0||xr==="boolean")&&(wn=ti(this),wn&&gt.set(this,"__className__",wn),this.setAttribute&&this.setAttribute("class",wn||rt===!1?"":gt.get(this,"__className__")||""))}))},hasClass:function(rt){var Vt,tn,wn=0;for(Vt=" "+rt+" ";tn=this[wn++];)if(tn.nodeType===1&&(" "+_i(ti(tn))+" ").indexOf(Vt)>-1)return!0;return!1}});var Ri=/\r/g;W.fn.extend({val:function(rt){var Vt,tn,wn,qn=this[0];return arguments.length?(wn=U(rt),this.each(function(zn){var xr;this.nodeType===1&&(wn?xr=rt.call(this,zn,W(this).val()):xr=rt,xr==null?xr="":typeof xr=="number"?xr+="":Array.isArray(xr)&&(xr=W.map(xr,function(da){return da==null?"":da+""})),Vt=W.valHooks[this.type]||W.valHooks[this.nodeName.toLowerCase()],(!Vt||!("set"in Vt)||Vt.set(this,xr,"value")===void 0)&&(this.value=xr))})):qn?(Vt=W.valHooks[qn.type]||W.valHooks[qn.nodeName.toLowerCase()],Vt&&"get"in Vt&&(tn=Vt.get(qn,"value"))!==void 0?tn:(tn=qn.value,typeof tn=="string"?tn.replace(Ri,""):tn==null?"":tn)):void 0}}),W.extend({valHooks:{option:{get:function(rt){var Vt=W.find.attr(rt,"value");return Vt!=null?Vt:_i(W.text(rt))}},select:{get:function(rt){var Vt,tn,wn,qn=rt.options,zn=rt.selectedIndex,xr=rt.type==="select-one",da=xr?null:[],en=xr?zn+1:qn.length;for(zn<0?wn=en:wn=xr?zn:0;wn<en;wn++)if(tn=qn[wn],(tn.selected||wn===zn)&&!tn.disabled&&(!tn.parentNode.disabled||!te(tn.parentNode,"optgroup"))){if(Vt=W(tn).val(),xr)return Vt;da.push(Vt)}return da},set:function(rt,Vt){for(var tn,wn,qn=rt.options,zn=W.makeArray(Vt),xr=qn.length;xr--;)wn=qn[xr],(wn.selected=W.inArray(W.valHooks.option.get(wn),zn)>-1)&&(tn=!0);return tn||(rt.selectedIndex=-1),zn}}}}),W.each(["radio","checkbox"],function(){W.valHooks[this]={set:function(rt,Vt){if(Array.isArray(Vt))return rt.checked=W.inArray(W(rt).val(),Vt)>-1}},B.checkOn||(W.valHooks[this].get=function($t){return $t.getAttribute("value")===null?"on":$t.value})});var ao=O.location,Zi={guid:Date.now()},Fi=/\?/;W.parseXML=function($t){var rt,Vt;if(!$t||typeof $t!="string")return null;try{rt=new O.DOMParser().parseFromString($t,"text/xml")}catch(tn){}return Vt=rt&&rt.getElementsByTagName("parsererror")[0],(!rt||Vt)&&W.error("Invalid XML: "+(Vt?W.map(Vt.childNodes,function(tn){return tn.textContent}).join(`
`):$t)),rt};var Si=/^(?:focusinfocus|focusoutblur)$/,qi=function(rt){rt.stopPropagation()};W.extend(W.event,{trigger:function(rt,Vt,tn,wn){var qn,zn,xr,da,en,Fn,Jn,Ir,Gr=[tn||$],ga=D.call(rt,"type")?rt.type:rt,Mr=D.call(rt,"namespace")?rt.namespace.split("."):[];if(zn=Ir=xr=tn=tn||$,!(tn.nodeType===3||tn.nodeType===8)&&!Si.test(ga+W.event.triggered)&&(ga.indexOf(".")>-1&&(Mr=ga.split("."),ga=Mr.shift(),Mr.sort()),en=ga.indexOf(":")<0&&"on"+ga,rt=rt[W.expando]?rt:new W.Event(ga,typeof rt=="object"&&rt),rt.isTrigger=wn?2:3,rt.namespace=Mr.join("."),rt.rnamespace=rt.namespace?new RegExp("(^|\\.)"+Mr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,rt.result=void 0,rt.target||(rt.target=tn),Vt=Vt==null?[rt]:W.makeArray(Vt,[rt]),Jn=W.event.special[ga]||{},!(!wn&&Jn.trigger&&Jn.trigger.apply(tn,Vt)===!1))){if(!wn&&!Jn.noBubble&&!J(tn)){for(da=Jn.delegateType||ga,Si.test(da+ga)||(zn=zn.parentNode);zn;zn=zn.parentNode)Gr.push(zn),xr=zn;xr===(tn.ownerDocument||$)&&Gr.push(xr.defaultView||xr.parentWindow||O)}for(qn=0;(zn=Gr[qn++])&&!rt.isPropagationStopped();)Ir=zn,rt.type=qn>1?da:Jn.bindType||ga,Fn=(gt.get(zn,"events")||Object.create(null))[rt.type]&&gt.get(zn,"handle"),Fn&&Fn.apply(zn,Vt),Fn=en&&zn[en],Fn&&Fn.apply&&_t(zn)&&(rt.result=Fn.apply(zn,Vt),rt.result===!1&&rt.preventDefault());return rt.type=ga,!wn&&!rt.isDefaultPrevented()&&(!Jn._default||Jn._default.apply(Gr.pop(),Vt)===!1)&&_t(tn)&&en&&U(tn[ga])&&!J(tn)&&(xr=tn[en],xr&&(tn[en]=null),W.event.triggered=ga,rt.isPropagationStopped()&&Ir.addEventListener(ga,qi),tn[ga](),rt.isPropagationStopped()&&Ir.removeEventListener(ga,qi),W.event.triggered=void 0,xr&&(tn[en]=xr)),rt.result}},simulate:function(rt,Vt,tn){var wn=W.extend(new W.Event,tn,{type:rt,isSimulated:!0});W.event.trigger(wn,null,Vt)}}),W.fn.extend({trigger:function(rt,Vt){return this.each(function(){W.event.trigger(rt,Vt,this)})},triggerHandler:function(rt,Vt){var tn=this[0];if(tn)return W.event.trigger(rt,Vt,tn,!0)}});var eo=/\[\]$/,xo=/\r?\n/g,cs=/^(?:submit|button|image|reset|file)$/i,ba=/^(?:input|select|textarea|keygen)/i;function sa($t,rt,Vt,tn){var wn;if(Array.isArray(rt))W.each(rt,function(qn,zn){Vt||eo.test($t)?tn($t,zn):sa($t+"["+(typeof zn=="object"&&zn!=null?qn:"")+"]",zn,Vt,tn)});else if(!Vt&&ie(rt)==="object")for(wn in rt)sa($t+"["+wn+"]",rt[wn],Vt,tn);else tn($t,rt)}W.param=function($t,rt){var Vt,tn=[],wn=function(zn,xr){var da=U(xr)?xr():xr;tn[tn.length]=encodeURIComponent(zn)+"="+encodeURIComponent(da==null?"":da)};if($t==null)return"";if(Array.isArray($t)||$t.jquery&&!W.isPlainObject($t))W.each($t,function(){wn(this.name,this.value)});else for(Vt in $t)sa(Vt,$t[Vt],rt,wn);return tn.join("&")},W.fn.extend({serialize:function(){return W.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var rt=W.prop(this,"elements");return rt?W.makeArray(rt):this}).filter(function(){var rt=this.type;return this.name&&!W(this).is(":disabled")&&ba.test(this.nodeName)&&!cs.test(rt)&&(this.checked||!$n.test(rt))}).map(function(rt,Vt){var tn=W(this).val();return tn==null?null:Array.isArray(tn)?W.map(tn,function(wn){return{name:Vt.name,value:wn.replace(xo,`\r
`)}}):{name:Vt.name,value:tn.replace(xo,`\r
`)}}).get()}});var Da=/%20/g,On=/#.*$/,xn=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/mg,mr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ta=/^(?:GET|HEAD)$/,ma=/^\/\//,Oa={},Pn={},Kr="*/".concat("*"),Vn=$.createElement("a");Vn.href=ao.href;function tr($t){return function(rt,Vt){typeof rt!="string"&&(Vt=rt,rt="*");var tn,wn=0,qn=rt.toLowerCase().match(ht)||[];if(U(Vt))for(;tn=qn[wn++];)tn[0]==="+"?(tn=tn.slice(1)||"*",($t[tn]=$t[tn]||[]).unshift(Vt)):($t[tn]=$t[tn]||[]).push(Vt)}}function Ea($t,rt,Vt,tn){var wn={},qn=$t===Pn;function zn(xr){var da;return wn[xr]=!0,W.each($t[xr]||[],function(en,Fn){var Jn=Fn(rt,Vt,tn);if(typeof Jn=="string"&&!qn&&!wn[Jn])return rt.dataTypes.unshift(Jn),zn(Jn),!1;if(qn)return!(da=Jn)}),da}return zn(rt.dataTypes[0])||!wn["*"]&&zn("*")}function Ja($t,rt){var Vt,tn,wn=W.ajaxSettings.flatOptions||{};for(Vt in rt)rt[Vt]!==void 0&&((wn[Vt]?$t:tn||(tn={}))[Vt]=rt[Vt]);return tn&&W.extend(!0,$t,tn),$t}function go($t,rt,Vt){for(var tn,wn,qn,zn,xr=$t.contents,da=$t.dataTypes;da[0]==="*";)da.shift(),tn===void 0&&(tn=$t.mimeType||rt.getResponseHeader("Content-Type"));if(tn){for(wn in xr)if(xr[wn]&&xr[wn].test(tn)){da.unshift(wn);break}}if(da[0]in Vt)qn=da[0];else{for(wn in Vt){if(!da[0]||$t.converters[wn+" "+da[0]]){qn=wn;break}zn||(zn=wn)}qn=qn||zn}if(qn)return qn!==da[0]&&da.unshift(qn),Vt[qn]}function fi($t,rt,Vt,tn){var wn,qn,zn,xr,da,en={},Fn=$t.dataTypes.slice();if(Fn[1])for(zn in $t.converters)en[zn.toLowerCase()]=$t.converters[zn];for(qn=Fn.shift();qn;)if($t.responseFields[qn]&&(Vt[$t.responseFields[qn]]=rt),!da&&tn&&$t.dataFilter&&(rt=$t.dataFilter(rt,$t.dataType)),da=qn,qn=Fn.shift(),qn){if(qn==="*")qn=da;else if(da!=="*"&&da!==qn){if(zn=en[da+" "+qn]||en["* "+qn],!zn){for(wn in en)if(xr=wn.split(" "),xr[1]===qn&&(zn=en[da+" "+xr[0]]||en["* "+xr[0]],zn)){zn===!0?zn=en[wn]:en[wn]!==!0&&(qn=xr[0],Fn.unshift(xr[1]));break}}if(zn!==!0)if(zn&&$t.throws)rt=zn(rt);else try{rt=zn(rt)}catch(Jn){return{state:"parsererror",error:zn?Jn:"No conversion from "+da+" to "+qn}}}}return{state:"success",data:rt}}W.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ao.href,type:"GET",isLocal:mr.test(ao.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kr,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":W.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(rt,Vt){return Vt?Ja(Ja(rt,W.ajaxSettings),Vt):Ja(W.ajaxSettings,rt)},ajaxPrefilter:tr(Oa),ajaxTransport:tr(Pn),ajax:function(rt,Vt){typeof rt=="object"&&(Vt=rt,rt=void 0),Vt=Vt||{};var tn,wn,qn,zn,xr,da,en,Fn,Jn,Ir,Gr=W.ajaxSetup({},Vt),ga=Gr.context||Gr,Mr=Gr.context&&(ga.nodeType||ga.jquery)?W(ga):W.event,$a=W.Deferred(),Ya=W.Callbacks("once memory"),_o=Gr.statusCode||{},Ni={},ec={},ks="canceled",jo={readyState:0,getResponseHeader:function(Pa){var Qa;if(en){if(!zn)for(zn={};Qa=Rt.exec(qn);)zn[Qa[1].toLowerCase()+" "]=(zn[Qa[1].toLowerCase()+" "]||[]).concat(Qa[2]);Qa=zn[Pa.toLowerCase()+" "]}return Qa==null?null:Qa.join(", ")},getAllResponseHeaders:function(){return en?qn:null},setRequestHeader:function(Pa,Qa){return en==null&&(Pa=ec[Pa.toLowerCase()]=ec[Pa.toLowerCase()]||Pa,Ni[Pa]=Qa),this},overrideMimeType:function(Pa){return en==null&&(Gr.mimeType=Pa),this},statusCode:function(Pa){var Qa;if(Pa)if(en)jo.always(Pa[jo.status]);else for(Qa in Pa)_o[Qa]=[_o[Qa],Pa[Qa]];return this},abort:function(Pa){var Qa=Pa||ks;return tn&&tn.abort(Qa),Qn(0,Qa),this}};if($a.promise(jo),Gr.url=((rt||Gr.url||ao.href)+"").replace(ma,ao.protocol+"//"),Gr.type=Vt.method||Vt.type||Gr.method||Gr.type,Gr.dataTypes=(Gr.dataType||"*").toLowerCase().match(ht)||[""],Gr.crossDomain==null){da=$.createElement("a");try{da.href=Gr.url,da.href=da.href,Gr.crossDomain=Vn.protocol+"//"+Vn.host!=da.protocol+"//"+da.host}catch(ka){Gr.crossDomain=!0}}if(Gr.data&&Gr.processData&&typeof Gr.data!="string"&&(Gr.data=W.param(Gr.data,Gr.traditional)),Ea(Oa,Gr,Vt,jo),en)return jo;Fn=W.event&&Gr.global,Fn&&W.active++==0&&W.event.trigger("ajaxStart"),Gr.type=Gr.type.toUpperCase(),Gr.hasContent=!ta.test(Gr.type),wn=Gr.url.replace(On,""),Gr.hasContent?Gr.data&&Gr.processData&&(Gr.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Gr.data=Gr.data.replace(Da,"+")):(Ir=Gr.url.slice(wn.length),Gr.data&&(Gr.processData||typeof Gr.data=="string")&&(wn+=(Fi.test(wn)?"&":"?")+Gr.data,delete Gr.data),Gr.cache===!1&&(wn=wn.replace(xn,"$1"),Ir=(Fi.test(wn)?"&":"?")+"_="+Zi.guid+++Ir),Gr.url=wn+Ir),Gr.ifModified&&(W.lastModified[wn]&&jo.setRequestHeader("If-Modified-Since",W.lastModified[wn]),W.etag[wn]&&jo.setRequestHeader("If-None-Match",W.etag[wn])),(Gr.data&&Gr.hasContent&&Gr.contentType!==!1||Vt.contentType)&&jo.setRequestHeader("Content-Type",Gr.contentType),jo.setRequestHeader("Accept",Gr.dataTypes[0]&&Gr.accepts[Gr.dataTypes[0]]?Gr.accepts[Gr.dataTypes[0]]+(Gr.dataTypes[0]!=="*"?", "+Kr+"; q=0.01":""):Gr.accepts["*"]);for(Jn in Gr.headers)jo.setRequestHeader(Jn,Gr.headers[Jn]);if(Gr.beforeSend&&(Gr.beforeSend.call(ga,jo,Gr)===!1||en))return jo.abort();if(ks="abort",Ya.add(Gr.complete),jo.done(Gr.success),jo.fail(Gr.error),tn=Ea(Pn,Gr,Vt,jo),!tn)Qn(-1,"No Transport");else{if(jo.readyState=1,Fn&&Mr.trigger("ajaxSend",[jo,Gr]),en)return jo;Gr.async&&Gr.timeout>0&&(xr=O.setTimeout(function(){jo.abort("timeout")},Gr.timeout));try{en=!1,tn.send(Ni,Qn)}catch(ka){if(en)throw ka;Qn(-1,ka)}}function Qn(ka,Pa,Qa,Ei){var zo,fo,gs,Ks,pc,tc=Pa;en||(en=!0,xr&&O.clearTimeout(xr),tn=void 0,qn=Ei||"",jo.readyState=ka>0?4:0,zo=ka>=200&&ka<300||ka===304,Qa&&(Ks=go(Gr,jo,Qa)),!zo&&W.inArray("script",Gr.dataTypes)>-1&&W.inArray("json",Gr.dataTypes)<0&&(Gr.converters["text script"]=function(){}),Ks=fi(Gr,Ks,jo,zo),zo?(Gr.ifModified&&(pc=jo.getResponseHeader("Last-Modified"),pc&&(W.lastModified[wn]=pc),pc=jo.getResponseHeader("etag"),pc&&(W.etag[wn]=pc)),ka===204||Gr.type==="HEAD"?tc="nocontent":ka===304?tc="notmodified":(tc=Ks.state,fo=Ks.data,gs=Ks.error,zo=!gs)):(gs=tc,(ka||!tc)&&(tc="error",ka<0&&(ka=0))),jo.status=ka,jo.statusText=(Pa||tc)+"",zo?$a.resolveWith(ga,[fo,tc,jo]):$a.rejectWith(ga,[jo,tc,gs]),jo.statusCode(_o),_o=void 0,Fn&&Mr.trigger(zo?"ajaxSuccess":"ajaxError",[jo,Gr,zo?fo:gs]),Ya.fireWith(ga,[jo,tc]),Fn&&(Mr.trigger("ajaxComplete",[jo,Gr]),--W.active||W.event.trigger("ajaxStop")))}return jo},getJSON:function(rt,Vt,tn){return W.get(rt,Vt,tn,"json")},getScript:function(rt,Vt){return W.get(rt,void 0,Vt,"script")}}),W.each(["get","post"],function($t,rt){W[rt]=function(Vt,tn,wn,qn){return U(tn)&&(qn=qn||wn,wn=tn,tn=void 0),W.ajax(W.extend({url:Vt,type:rt,dataType:qn,data:tn,success:wn},W.isPlainObject(Vt)&&Vt))}}),W.ajaxPrefilter(function($t){var rt;for(rt in $t.headers)rt.toLowerCase()==="content-type"&&($t.contentType=$t.headers[rt]||"")}),W._evalUrl=function($t,rt,Vt){return W.ajax({url:$t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(wn){W.globalEval(wn,rt,Vt)}})},W.fn.extend({wrapAll:function(rt){var Vt;return this[0]&&(U(rt)&&(rt=rt.call(this[0])),Vt=W(rt,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&Vt.insertBefore(this[0]),Vt.map(function(){for(var tn=this;tn.firstElementChild;)tn=tn.firstElementChild;return tn}).append(this)),this},wrapInner:function(rt){return U(rt)?this.each(function(Vt){W(this).wrapInner(rt.call(this,Vt))}):this.each(function(){var Vt=W(this),tn=Vt.contents();tn.length?tn.wrapAll(rt):Vt.append(rt)})},wrap:function(rt){var Vt=U(rt);return this.each(function(tn){W(this).wrapAll(Vt?rt.call(this,tn):rt)})},unwrap:function(rt){return this.parent(rt).not("body").each(function(){W(this).replaceWith(this.childNodes)}),this}}),W.expr.pseudos.hidden=function($t){return!W.expr.pseudos.visible($t)},W.expr.pseudos.visible=function($t){return!!($t.offsetWidth||$t.offsetHeight||$t.getClientRects().length)},W.ajaxSettings.xhr=function(){try{return new O.XMLHttpRequest}catch($t){}};var lo={0:200,1223:204},Oi=W.ajaxSettings.xhr();B.cors=!!Oi&&"withCredentials"in Oi,B.ajax=Oi=!!Oi,W.ajaxTransport(function($t){var rt,Vt;if(B.cors||Oi&&!$t.crossDomain)return{send:function(wn,qn){var zn,xr=$t.xhr();if(xr.open($t.type,$t.url,$t.async,$t.username,$t.password),$t.xhrFields)for(zn in $t.xhrFields)xr[zn]=$t.xhrFields[zn];$t.mimeType&&xr.overrideMimeType&&xr.overrideMimeType($t.mimeType),!$t.crossDomain&&!wn["X-Requested-With"]&&(wn["X-Requested-With"]="XMLHttpRequest");for(zn in wn)xr.setRequestHeader(zn,wn[zn]);rt=function(en){return function(){rt&&(rt=Vt=xr.onload=xr.onerror=xr.onabort=xr.ontimeout=xr.onreadystatechange=null,en==="abort"?xr.abort():en==="error"?typeof xr.status!="number"?qn(0,"error"):qn(xr.status,xr.statusText):qn(lo[xr.status]||xr.status,xr.statusText,(xr.responseType||"text")!=="text"||typeof xr.responseText!="string"?{binary:xr.response}:{text:xr.responseText},xr.getAllResponseHeaders()))}},xr.onload=rt(),Vt=xr.onerror=xr.ontimeout=rt("error"),xr.onabort!==void 0?xr.onabort=Vt:xr.onreadystatechange=function(){xr.readyState===4&&O.setTimeout(function(){rt&&Vt()})},rt=rt("abort");try{xr.send($t.hasContent&&$t.data||null)}catch(da){if(rt)throw da}},abort:function(){rt&&rt()}}}),W.ajaxPrefilter(function($t){$t.crossDomain&&($t.contents.script=!1)}),W.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(rt){return W.globalEval(rt),rt}}}),W.ajaxPrefilter("script",function($t){$t.cache===void 0&&($t.cache=!1),$t.crossDomain&&($t.type="GET")}),W.ajaxTransport("script",function($t){if($t.crossDomain||$t.scriptAttrs){var rt,Vt;return{send:function(wn,qn){rt=W("<script>").attr($t.scriptAttrs||{}).prop({charset:$t.scriptCharset,src:$t.url}).on("load error",Vt=function(xr){rt.remove(),Vt=null,xr&&qn(xr.type==="error"?404:200,xr.type)}),$.head.appendChild(rt[0])},abort:function(){Vt&&Vt()}}}});var io=[],Vi=/(=)\?(?=&|$)|\?\?/;W.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var rt=io.pop()||W.expando+"_"+Zi.guid++;return this[rt]=!0,rt}}),W.ajaxPrefilter("json jsonp",function($t,rt,Vt){var tn,wn,qn,zn=$t.jsonp!==!1&&(Vi.test($t.url)?"url":typeof $t.data=="string"&&($t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Vi.test($t.data)&&"data");if(zn||$t.dataTypes[0]==="jsonp")return tn=$t.jsonpCallback=U($t.jsonpCallback)?$t.jsonpCallback():$t.jsonpCallback,zn?$t[zn]=$t[zn].replace(Vi,"$1"+tn):$t.jsonp!==!1&&($t.url+=(Fi.test($t.url)?"&":"?")+$t.jsonp+"="+tn),$t.converters["script json"]=function(){return qn||W.error(tn+" was not called"),qn[0]},$t.dataTypes[0]="json",wn=O[tn],O[tn]=function(){qn=arguments},Vt.always(function(){wn===void 0?W(O).removeProp(tn):O[tn]=wn,$t[tn]&&($t.jsonpCallback=rt.jsonpCallback,io.push(tn)),qn&&U(wn)&&wn(qn[0]),qn=wn=void 0}),"script"}),B.createHTMLDocument=function(){var $t=$.implementation.createHTMLDocument("").body;return $t.innerHTML="<form></form><form></form>",$t.childNodes.length===2}(),W.parseHTML=function($t,rt,Vt){if(typeof $t!="string")return[];typeof rt=="boolean"&&(Vt=rt,rt=!1);var tn,wn,qn;return rt||(B.createHTMLDocument?(rt=$.implementation.createHTMLDocument(""),tn=rt.createElement("base"),tn.href=$.location.href,rt.head.appendChild(tn)):rt=$),wn=Ke.exec($t),qn=!Vt&&[],wn?[rt.createElement(wn[1])]:(wn=Sr([$t],rt,qn),qn&&qn.length&&W(qn).remove(),W.merge([],wn.childNodes))},W.fn.load=function($t,rt,Vt){var tn,wn,qn,zn=this,xr=$t.indexOf(" ");return xr>-1&&(tn=_i($t.slice(xr)),$t=$t.slice(0,xr)),U(rt)?(Vt=rt,rt=void 0):rt&&typeof rt=="object"&&(wn="POST"),zn.length>0&&W.ajax({url:$t,type:wn||"GET",dataType:"html",data:rt}).done(function(da){qn=arguments,zn.html(tn?W("<div>").append(W.parseHTML(da)).find(tn):da)}).always(Vt&&function(da,en){zn.each(function(){Vt.apply(this,qn||[da.responseText,en,da])})}),this},W.expr.pseudos.animated=function($t){return W.grep(W.timers,function(rt){return $t===rt.elem}).length},W.offset={setOffset:function(rt,Vt,tn){var wn,qn,zn,xr,da,en,Fn,Jn=W.css(rt,"position"),Ir=W(rt),Gr={};Jn==="static"&&(rt.style.position="relative"),da=Ir.offset(),zn=W.css(rt,"top"),en=W.css(rt,"left"),Fn=(Jn==="absolute"||Jn==="fixed")&&(zn+en).indexOf("auto")>-1,Fn?(wn=Ir.position(),xr=wn.top,qn=wn.left):(xr=parseFloat(zn)||0,qn=parseFloat(en)||0),U(Vt)&&(Vt=Vt.call(rt,tn,W.extend({},da))),Vt.top!=null&&(Gr.top=Vt.top-da.top+xr),Vt.left!=null&&(Gr.left=Vt.left-da.left+qn),"using"in Vt?Vt.using.call(rt,Gr):Ir.css(Gr)}},W.fn.extend({offset:function(rt){if(arguments.length)return rt===void 0?this:this.each(function(qn){W.offset.setOffset(this,rt,qn)});var Vt,tn,wn=this[0];if(!!wn)return wn.getClientRects().length?(Vt=wn.getBoundingClientRect(),tn=wn.ownerDocument.defaultView,{top:Vt.top+tn.pageYOffset,left:Vt.left+tn.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var rt,Vt,tn,wn=this[0],qn={top:0,left:0};if(W.css(wn,"position")==="fixed")Vt=wn.getBoundingClientRect();else{for(Vt=this.offset(),tn=wn.ownerDocument,rt=wn.offsetParent||tn.documentElement;rt&&(rt===tn.body||rt===tn.documentElement)&&W.css(rt,"position")==="static";)rt=rt.parentNode;rt&&rt!==wn&&rt.nodeType===1&&(qn=W(rt).offset(),qn.top+=W.css(rt,"borderTopWidth",!0),qn.left+=W.css(rt,"borderLeftWidth",!0))}return{top:Vt.top-qn.top-W.css(wn,"marginTop",!0),left:Vt.left-qn.left-W.css(wn,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var rt=this.offsetParent;rt&&W.css(rt,"position")==="static";)rt=rt.offsetParent;return rt||Tt})}}),W.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function($t,rt){var Vt=rt==="pageYOffset";W.fn[$t]=function(tn){return qe(this,function(wn,qn,zn){var xr;if(J(wn)?xr=wn:wn.nodeType===9&&(xr=wn.defaultView),zn===void 0)return xr?xr[rt]:wn[qn];xr?xr.scrollTo(Vt?xr.pageXOffset:zn,Vt?zn:xr.pageYOffset):wn[qn]=zn},$t,tn,arguments.length)}}),W.each(["top","left"],function($t,rt){W.cssHooks[rt]=rr(B.pixelPosition,function(Vt,tn){if(tn)return tn=Zt(Vt,rt),Sn.test(tn)?W(Vt).position()[rt]+"px":tn})}),W.each({Height:"height",Width:"width"},function($t,rt){W.each({padding:"inner"+$t,content:rt,"":"outer"+$t},function(Vt,tn){W.fn[tn]=function(wn,qn){var zn=arguments.length&&(Vt||typeof wn!="boolean"),xr=Vt||(wn===!0||qn===!0?"margin":"border");return qe(this,function(da,en,Fn){var Jn;return J(da)?tn.indexOf("outer")===0?da["inner"+$t]:da.document.documentElement["client"+$t]:da.nodeType===9?(Jn=da.documentElement,Math.max(da.body["scroll"+$t],Jn["scroll"+$t],da.body["offset"+$t],Jn["offset"+$t],Jn["client"+$t])):Fn===void 0?W.css(da,en,xr):W.style(da,en,Fn,xr)},rt,zn?wn:void 0,zn)}})}),W.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function($t,rt){W.fn[rt]=function(Vt){return this.on(rt,Vt)}}),W.fn.extend({bind:function(rt,Vt,tn){return this.on(rt,null,Vt,tn)},unbind:function(rt,Vt){return this.off(rt,null,Vt)},delegate:function(rt,Vt,tn,wn){return this.on(Vt,rt,tn,wn)},undelegate:function(rt,Vt,tn){return arguments.length===1?this.off(rt,"**"):this.off(Vt,rt||"**",tn)},hover:function(rt,Vt){return this.mouseenter(rt).mouseleave(Vt||rt)}}),W.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($t,rt){W.fn[rt]=function(Vt,tn){return arguments.length>0?this.on(rt,null,Vt,tn):this.trigger(rt)}});var vo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;W.proxy=function($t,rt){var Vt,tn,wn;if(typeof rt=="string"&&(Vt=$t[rt],rt=$t,$t=Vt),!!U($t))return tn=S.call(arguments,2),wn=function(){return $t.apply(rt||this,tn.concat(S.call(arguments)))},wn.guid=$t.guid=$t.guid||W.guid++,wn},W.holdReady=function($t){$t?W.readyWait++:W.ready(!0)},W.isArray=Array.isArray,W.parseJSON=JSON.parse,W.nodeName=te,W.isFunction=U,W.isWindow=J,W.camelCase=Ge,W.type=ie,W.now=Date.now,W.isNumeric=function($t){var rt=W.type($t);return(rt==="number"||rt==="string")&&!isNaN($t-parseFloat($t))},W.trim=function($t){return $t==null?"":($t+"").replace(vo,"$1")},E=[],m=function(){return W}.apply(R,E),m!==void 0&&(ce.exports=m);var qo=O.jQuery,hs=O.$;return W.noConflict=function($t){return O.$===W&&(O.$=hs),$t&&O.jQuery===W&&(O.jQuery=qo),W},typeof C=="undefined"&&(O.jQuery=O.$=W),W})},EXcs:function(ce,R,l){"use strict";l.d(R,"c",function(){return w}),l.d(R,"b",function(){return y});var E=l("CWQg"),m=function(){return{height:0,opacity:0}},O=function(T){var j=T.scrollHeight;return{height:j,opacity:1}},C=function(T){return{height:T?T.offsetHeight:0}},k=function(T,j){return(j==null?void 0:j.deadline)===!0||j.propertyName==="height"},A={motionName:"ant-motion-collapse",onAppearStart:m,onEnterStart:m,onAppearActive:O,onEnterActive:O,onLeaveStart:C,onLeaveActive:m,onAppearEnd:k,onEnterEnd:k,onLeaveEnd:k,motionDeadline:500},S=Object(E.a)("bottomLeft","bottomRight","topLeft","topRight"),y=function(T){return T!==void 0&&(T==="topLeft"||T==="topRight")?"slide-down":"slide-up"},w=function(T,j,D){return D!==void 0?D:"".concat(T,"-").concat(j)};R.a=A},EbDI:function(ce,R){function l(E){if(typeof Symbol!="undefined"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},EdiO:function(ce,R){function l(E,m){(m==null||m>E.length)&&(m=E.length);for(var O=0,C=new Array(m);O<m;O++)C[O]=E[O];return C}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},EgRx:function(ce,R,l){var E=l("kiNa");E(Math,"Math",!0)},"Ei+o":function(ce,R,l){var E=l("1Cbe"),m=l("UwrT"),O=l("2kyd"),C=O("toStringTag"),k=m(function(){return arguments}())=="Arguments",A=function(S,y){try{return S[y]}catch(w){}};ce.exports=E?m:function(S){var y,w,x;return S===void 0?"Undefined":S===null?"Null":typeof(w=A(y=Object(S),C))=="string"?w:k?m(y):(x=m(y))=="Object"&&typeof y.callee=="function"?"Arguments":x}},Em2t:function(ce,R,l){var E=l("bahg"),m=l("quyA"),O=l("0JQy");function C(k){return m(k)?O(k):E(k)}ce.exports=C},EnLX:function(ce,R,l){var E=l("MMxC"),m=l("bIKR"),O=String.fromCharCode,C=String.fromCodePoint,k=!!C&&C.length!=1;E({target:"String",stat:!0,forced:k},{fromCodePoint:function(S){for(var y=[],w=arguments.length,x=0,T;w>x;){if(T=+arguments[x++],m(T,1114111)!==T)throw RangeError(T+" is not a valid code point");y.push(T<65536?O(T):O(((T-=65536)>>10)+55296,T%1024+56320))}return y.join("")}})},EoNY:function(ce,R,l){"use strict";l.d(R,"b",function(){return Ir}),l.d(R,"d",function(){return tn}),l.d(R,"c",function(){return $n}),l.d(R,"a",function(){return zn});var E=l("KQm4"),m=l("VTBJ"),O=l("zpY+"),C=l("q1tI"),k=l("Ff2n");function A(Qn,ka,Pa){var Qa=C.useRef({});return(!("value"in Qa.current)||Pa(Qa.current.condition,ka))&&(Qa.current.value=Qn(),Qa.current.condition=ka),Qa.current.value}var S=l("U8pU"),y={},w=[],x=function(ka){w.push(ka)};function T(Qn,ka){if(!1)var Pa}function j(Qn,ka){if(!1)var Pa}function D(){y={}}function N(Qn,ka,Pa){!ka&&!y[Pa]&&(Qn(!1,Pa),y[Pa]=!0)}function F(Qn,ka){N(T,Qn,ka)}function B(Qn,ka){N(j,Qn,ka)}F.preMessage=x,F.resetWarned=D,F.noteOnce=B;var U=F;function J(Qn,ka){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Qa=new Set;function Ei(zo,fo){var gs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ks=Qa.has(zo);if(U(!Ks,"Warning: There may be circular references"),Ks)return!1;if(zo===fo)return!0;if(Pa&&gs>1)return!1;Qa.add(zo);var pc=gs+1;if(Array.isArray(zo)){if(!Array.isArray(fo)||zo.length!==fo.length)return!1;for(var tc=0;tc<zo.length;tc++)if(!Ei(zo[tc],fo[tc],pc))return!1;return!0}if(zo&&fo&&Object(S.a)(zo)==="object"&&Object(S.a)(fo)==="object"){var xc=Object.keys(zo);return xc.length!==Object.keys(fo).length?!1:xc.every(function(kc){return Ei(zo[kc],fo[kc],pc)})}return!1}return Ei(Qn,ka)}var $=J,X=l("1OyB"),ee=l("vuIU"),ie=l("rePB"),G=function(){function Qn(ka){Object(X.a)(this,Qn),Object(ie.a)(this,"instanceId",void 0),Object(ie.a)(this,"cache",new Map),this.instanceId=ka}return Object(ee.a)(Qn,[{key:"get",value:function(Pa){return this.cache.get(Pa.join("%"))||null}},{key:"update",value:function(Pa,Qa){var Ei=Pa.join("%"),zo=this.cache.get(Ei),fo=Qa(zo);fo===null?this.cache.delete(Ei):this.cache.set(Ei,fo)}}]),Qn}(),Q=G,W=["children"],ne="data-token-hash",te="data-css-hash",_e="data-dev-cache-path",he="__cssinjs_instance__";function oe(){var Qn=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var ka=document.body.querySelectorAll("style[".concat(te,"]"))||[],Pa=document.head.firstChild;Array.from(ka).forEach(function(Ei){Ei[he]=Ei[he]||Qn,Ei[he]===Qn&&document.head.insertBefore(Ei,Pa)});var Qa={};Array.from(document.querySelectorAll("style[".concat(te,"]"))).forEach(function(Ei){var zo=Ei.getAttribute(te);if(Qa[zo]){if(Ei[he]===Qn){var fo;(fo=Ei.parentNode)===null||fo===void 0||fo.removeChild(Ei)}}else Qa[zo]=!0})}return new Q(Qn)}var ge=C.createContext({hashPriority:"low",cache:oe(),defaultCache:!0}),me=function(ka){var Pa=ka.children,Qa=Object(k.a)(ka,W),Ei=C.useContext(ge),zo=A(function(){var fo=Object(m.a)({},Ei);Object.keys(Qa).forEach(function(Ks){var pc=Qa[Ks];Qa[Ks]!==void 0&&(fo[Ks]=pc)});var gs=Qa.cache;return fo.cache=fo.cache||oe(),fo.defaultCache=!gs&&Ei.defaultCache,fo},[Ei,Qa],function(fo,gs){return!$(fo[0],gs[0],!0)||!$(fo[1],gs[1],!0)});return C.createElement(ge.Provider,{value:zo},Pa)},Z=ge;function xe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function Ee(Qn,ka){if(!Qn)return!1;if(Qn.contains)return Qn.contains(ka);for(var Pa=ka;Pa;){if(Pa===Qn)return!0;Pa=Pa.parentNode}return!1}var Le="data-rc-order",we="rc-util-key",fe=new Map;function pe(){var Qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ka=Qn.mark;return ka?ka.startsWith("data-")?ka:"data-".concat(ka):we}function Ke(Qn){if(Qn.attachTo)return Qn.attachTo;var ka=document.querySelector("head");return ka||document.body}function Me(Qn){return Qn==="queue"?"prependQueue":Qn?"prepend":"append"}function ze(Qn){return Array.from((fe.get(Qn)||Qn).children).filter(function(ka){return ka.tagName==="STYLE"})}function Ue(Qn){var ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!xe())return null;var Pa=ka.csp,Qa=ka.prepend,Ei=document.createElement("style");Ei.setAttribute(Le,Me(Qa)),Pa!=null&&Pa.nonce&&(Ei.nonce=Pa==null?void 0:Pa.nonce),Ei.innerHTML=Qn;var zo=Ke(ka),fo=zo.firstChild;if(Qa){if(Qa==="queue"){var gs=ze(zo).filter(function(Ks){return["prepend","prependQueue"].includes(Ks.getAttribute(Le))});if(gs.length)return zo.insertBefore(Ei,gs[gs.length-1].nextSibling),Ei}zo.insertBefore(Ei,fo)}else zo.appendChild(Ei);return Ei}function He(Qn){var ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pa=Ke(ka);return ze(Pa).find(function(Qa){return Qa.getAttribute(pe(ka))===Qn})}function Ne(Qn){var ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pa=He(Qn,ka);if(Pa){var Qa=Ke(ka);Qa.removeChild(Pa)}}function it(Qn,ka){var Pa=fe.get(Qn);if(!Pa||!Ee(document,Pa)){var Qa=Ue("",ka),Ei=Qa.parentNode;fe.set(Qn,Ei),Qn.removeChild(Qa)}}function Xe(){fe.clear()}function ht(Qn,ka){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qa=Ke(Pa);it(Qa,Pa);var Ei=He(ka,Pa);if(Ei){var zo,fo;if((zo=Pa.csp)!==null&&zo!==void 0&&zo.nonce&&Ei.nonce!==((fo=Pa.csp)===null||fo===void 0?void 0:fo.nonce)){var gs;Ei.nonce=(gs=Pa.csp)===null||gs===void 0?void 0:gs.nonce}return Ei.innerHTML!==Qn&&(Ei.innerHTML=Qn),Ei}var Ks=Ue(Qn,Pa);return Ks.setAttribute(pe(Pa),ka),Ks}function lt(Qn){var ka="";return Object.keys(Qn).forEach(function(Pa){var Qa=Qn[Pa];ka+=Pa,Qa&&Object(S.a)(Qa)==="object"?ka+=lt(Qa):ka+=Qa}),ka}function Et(Qn,ka){return Object(O.a)("".concat(ka,"_").concat(lt(Qn)))}var tt="layer-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),mt="903px";function xt(Qn,ka){if(xe()){var Pa;ht(Qn,tt);var Qa=document.createElement("div");Qa.style.position="fixed",Qa.style.left="0",Qa.style.top="0",ka==null||ka(Qa),document.body.appendChild(Qa);var Ei=getComputedStyle(Qa).width===mt;return(Pa=Qa.parentNode)===null||Pa===void 0||Pa.removeChild(Qa),Ne(tt),Ei}return!1}var Xt=void 0;function vt(){return Xt===void 0&&(Xt=xt("@layer ".concat(tt," { .").concat(tt," { width: ").concat(mt,"!important; } }"),function(Qn){Qn.className=tt})),Xt}var qe=l("ODXe"),Re=xe()?C.useLayoutEffect:C.useEffect,Se=function(ka,Pa){var Qa=C.useRef(!0);Re(function(){return ka(Qa.current)},Pa),Re(function(){return Qa.current=!1,function(){Qa.current=!0}},[])},Ve=function(ka,Pa){Se(function(Qa){if(!Qa)return ka()},Pa)},Ge=Se,_t=Object(m.a)({},C),bt=_t.useInsertionEffect,gt=function(ka,Pa,Qa){C.useMemo(ka,Qa),Ge(Pa,Qa)},at=bt?function(Qn,ka,Pa){return bt(function(){return Qn(),ka()},Pa)}:gt,ft=at;function Fe(){return!1}var Te=!1;function ut(){return Te}var le=Fe;if(!1)var $e,Qe;function Tt(Qn,ka,Pa,Qa,Ei){var zo=C.useContext(Z),fo=zo.cache,gs=[Qn].concat(Object(E.a)(ka)),Ks=gs.join("_"),pc=le(),tc=function(Ss){fo.update(gs,function(Js){var Mo=Js||[],js=Object(qe.a)(Mo,2),Yc=js[0],gc=Yc===void 0?0:Yc,Cl=js[1],wl=Cl,Wc=wl||Pa(),nl=[gc,Wc];return Ss?Ss(nl):nl})};C.useMemo(function(){return tc()},[Ks]);var xc=fo.get(gs)[1];return ft(function(){Ei==null||Ei(xc)},function(){return tc(function(kc){var Ss=Object(qe.a)(kc,2),Js=Ss[0],Mo=Ss[1];return[Js+1,Mo]}),function(){fo.update(gs,function(kc){var Ss=kc||[],Js=Object(qe.a)(Ss,2),Mo=Js[0],js=Mo===void 0?0:Mo,Yc=Js[1],gc=js-1;return gc===0?(Qa==null||Qa(Yc,!1),null):[js-1,Yc]})}},[Ks]),xc}var Ot={},Ut="css",At=new Map;function Pt(Qn){At.set(Qn,(At.get(Qn)||0)+1)}function Dt(Qn,ka){if(typeof document!="undefined"){var Pa=document.querySelectorAll("style[".concat(ne,'="').concat(Qn,'"]'));Pa.forEach(function(Qa){if(Qa[he]===ka){var Ei;(Ei=Qa.parentNode)===null||Ei===void 0||Ei.removeChild(Qa)}})}}function Qt(Qn,ka){At.set(Qn,(At.get(Qn)||0)-1);var Pa=Array.from(At.keys()),Qa=Pa.filter(function(Ei){var zo=At.get(Ei)||0;return zo<=0});Qa.length<Pa.length&&Qa.forEach(function(Ei){Dt(Ei,ka),At.delete(Ei)})}var cn=function(ka,Pa,Qa,Ei){var zo=Qa.getDerivativeToken(ka),fo=Object(m.a)(Object(m.a)({},zo),Pa);return Ei&&(fo=Ei(fo)),fo};function $n(Qn,ka){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qa=Object(C.useContext)(Z),Ei=Qa.cache.instanceId,zo=Pa.salt,fo=zo===void 0?"":zo,gs=Pa.override,Ks=gs===void 0?Ot:gs,pc=Pa.formatToken,tc=C.useMemo(function(){return Object.assign.apply(Object,[{}].concat(Object(E.a)(ka)))},[ka]),xc=C.useMemo(function(){return lt(tc)},[tc]),kc=C.useMemo(function(){return lt(Ks)},[Ks]),Ss=Tt("token",[fo,Qn.id,xc,kc],function(){var Js=cn(tc,Ks,Qn,pc),Mo=Et(Js,fo);Js._tokenKey=Mo,Pt(Mo);var js="".concat(Ut,"-").concat(Object(O.a)(Mo));return Js._hashId=js,[Js,js]},function(Js){Qt(Js[0]._tokenKey,Ei)});return Ss}var hn=l("wx14"),_n=l("ME5O"),bn="-ms-",Bn="-moz-",Tn="-webkit-",Tr="comm",Sr="rule",Wr="decl",br="@page",Wn="@media",gr="@import",na="@charset",jn="@viewport",un="@supports",zt="@document",Bt="@namespace",H="@keyframes",ot="@font-face",nt="@counter-style",Ct="@font-feature-values",Wt="@layer",kn=Math.abs,Sn=String.fromCharCode,Zn=Object.assign;function Or(Qn,ka){return Gn(Qn,0)^45?(((ka<<2^Gn(Qn,0))<<2^Gn(Qn,1))<<2^Gn(Qn,2))<<2^Gn(Qn,3):0}function Yn(Qn){return Qn.trim()}function Nn(Qn,ka){return(Qn=ka.exec(Qn))?Qn[0]:Qn}function Zt(Qn,ka,Pa){return Qn.replace(ka,Pa)}function rr(Qn,ka){return Qn.indexOf(ka)}function Gn(Qn,ka){return Qn.charCodeAt(ka)|0}function ln(Qn,ka,Pa){return Qn.slice(ka,Pa)}function Xn(Qn){return Qn.length}function Kn(Qn){return Qn.length}function fr(Qn,ka){return ka.push(Qn),Qn}function Hn(Qn,ka){return Qn.map(ka).join("")}function Sa(Qn,ka){return Qn.filter(function(Pa){return!Nn(Pa,ka)})}var Lr=1,Ca=1,za=0,Ma=0,va=0,qa="";function gi(Qn,ka,Pa,Qa,Ei,zo,fo,gs){return{value:Qn,root:ka,parent:Pa,type:Qa,props:Ei,children:zo,line:Lr,column:Ca,length:fo,return:"",siblings:gs}}function Qi(Qn,ka){return Zn(gi("",null,null,"",null,null,0,Qn.siblings),Qn,{length:-Qn.length},ka)}function mi(Qn){for(;Qn.root;)Qn=Qi(Qn.root,{children:[Qn]});fr(Qn,Qn.siblings)}function Cr(){return va}function Un(){return va=Ma>0?Gn(qa,--Ma):0,Ca--,va===10&&(Ca=1,Lr--),va}function Lt(){return va=Ma<za?Gn(qa,Ma++):0,Ca++,va===10&&(Ca=1,Lr++),va}function gn(){return Gn(qa,Ma)}function Ln(){return Ma}function kr(Qn,ka){return ln(qa,Qn,ka)}function ea(Qn){switch(Qn){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Qr(Qn){return Lr=Ca=1,za=Xn(qa=Qn),Ma=0,[]}function Na(Qn){return qa="",Qn}function ar(Qn){return Yn(kr(Ma-1,Ri(Qn===91?Qn+2:Qn===40?Qn+1:Qn)))}function pi(Qn){return Na(ti(Qr(Qn)))}function _i(Qn){for(;(va=gn())&&va<33;)Lt();return ea(Qn)>2||ea(va)>3?"":" "}function ti(Qn){for(;Lt();)switch(ea(va)){case 0:fr(Zi(Ma-1),Qn);break;case 2:fr(ar(va),Qn);break;default:fr(Sn(va),Qn)}return Qn}function ui(Qn,ka){for(;--ka&&Lt()&&!(va<48||va>102||va>57&&va<65||va>70&&va<97););return kr(Qn,Ln()+(ka<6&&gn()==32&&Lt()==32))}function Ri(Qn){for(;Lt();)switch(va){case Qn:return Ma;case 34:case 39:Qn!==34&&Qn!==39&&Ri(va);break;case 40:Qn===41&&Ri(Qn);break;case 92:Lt();break}return Ma}function ao(Qn,ka){for(;Lt()&&Qn+va!==47+10;)if(Qn+va===42+42&&gn()===47)break;return"/*"+kr(ka,Ma-1)+"*"+Sn(Qn===47?Qn:Lt())}function Zi(Qn){for(;!ea(gn());)Lt();return kr(Qn,Ma)}function Fi(Qn){return Na(Si("",null,null,null,[""],Qn=Qr(Qn),0,[0],Qn))}function Si(Qn,ka,Pa,Qa,Ei,zo,fo,gs,Ks){for(var pc=0,tc=0,xc=fo,kc=0,Ss=0,Js=0,Mo=1,js=1,Yc=1,gc=0,Cl="",wl=Ei,Wc=zo,nl=Qa,Rc=Cl;js;)switch(Js=gc,gc=Lt()){case 40:if(Js!=108&&Gn(Rc,xc-1)==58){rr(Rc+=Zt(ar(gc),"&","&\f"),"&\f")!=-1&&(Yc=-1);break}case 34:case 39:case 91:Rc+=ar(gc);break;case 9:case 10:case 13:case 32:Rc+=_i(Js);break;case 92:Rc+=ui(Ln()-1,7);continue;case 47:switch(gn()){case 42:case 47:fr(eo(ao(Lt(),Ln()),ka,Pa,Ks),Ks);break;default:Rc+="/"}break;case 123*Mo:gs[pc++]=Xn(Rc)*Yc;case 125*Mo:case 59:case 0:switch(gc){case 0:case 125:js=0;case 59+tc:Yc==-1&&(Rc=Zt(Rc,/\f/g,"")),Ss>0&&Xn(Rc)-xc&&fr(Ss>32?xo(Rc+";",Qa,Pa,xc-1,Ks):xo(Zt(Rc," ","")+";",Qa,Pa,xc-2,Ks),Ks);break;case 59:Rc+=";";default:if(fr(nl=qi(Rc,ka,Pa,pc,tc,Ei,gs,Cl,wl=[],Wc=[],xc,zo),zo),gc===123)if(tc===0)Si(Rc,ka,nl,nl,wl,zo,xc,gs,Wc);else switch(kc===99&&Gn(Rc,3)===110?100:kc){case 100:case 108:case 109:case 115:Si(Qn,nl,nl,Qa&&fr(qi(Qn,nl,nl,0,0,Ei,gs,Cl,Ei,wl=[],xc,Wc),Wc),Ei,Wc,xc,gs,Qa?wl:Wc);break;default:Si(Rc,nl,nl,nl,[""],Wc,0,gs,Wc)}}pc=tc=Ss=0,Mo=Yc=1,Cl=Rc="",xc=fo;break;case 58:xc=1+Xn(Rc),Ss=Js;default:if(Mo<1){if(gc==123)--Mo;else if(gc==125&&Mo++==0&&Un()==125)continue}switch(Rc+=Sn(gc),gc*Mo){case 38:Yc=tc>0?1:(Rc+="\f",-1);break;case 44:gs[pc++]=(Xn(Rc)-1)*Yc,Yc=1;break;case 64:gn()===45&&(Rc+=ar(Lt())),kc=gn(),tc=xc=Xn(Cl=Rc+=Zi(Ln())),gc++;break;case 45:Js===45&&Xn(Rc)==2&&(Mo=0)}}return zo}function qi(Qn,ka,Pa,Qa,Ei,zo,fo,gs,Ks,pc,tc,xc){for(var kc=Ei-1,Ss=Ei===0?zo:[""],Js=Kn(Ss),Mo=0,js=0,Yc=0;Mo<Qa;++Mo)for(var gc=0,Cl=ln(Qn,kc+1,kc=kn(js=fo[Mo])),wl=Qn;gc<Js;++gc)(wl=Yn(js>0?Ss[gc]+" "+Cl:Zt(Cl,/&\f/g,Ss[gc])))&&(Ks[Yc++]=wl);return gi(Qn,ka,Pa,Ei===0?Sr:gs,Ks,pc,tc,xc)}function eo(Qn,ka,Pa,Qa){return gi(Qn,ka,Pa,Tr,Sn(Cr()),ln(Qn,2,-2),0,Qa)}function xo(Qn,ka,Pa,Qa,Ei){return gi(Qn,ka,Pa,Wr,ln(Qn,0,Qa),ln(Qn,Qa+1,-1),Qa,Ei)}function cs(Qn,ka,Pa){switch(Or(Qn,ka)){case 5103:return Tn+"print-"+Qn+Qn;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Tn+Qn+Qn;case 4789:return Bn+Qn+Qn;case 5349:case 4246:case 4810:case 6968:case 2756:return Tn+Qn+Bn+Qn+bn+Qn+Qn;case 5936:switch(Gn(Qn,ka+11)){case 114:return Tn+Qn+bn+Zt(Qn,/[svh]\w+-[tblr]{2}/,"tb")+Qn;case 108:return Tn+Qn+bn+Zt(Qn,/[svh]\w+-[tblr]{2}/,"tb-rl")+Qn;case 45:return Tn+Qn+bn+Zt(Qn,/[svh]\w+-[tblr]{2}/,"lr")+Qn}case 6828:case 4268:case 2903:return Tn+Qn+bn+Qn+Qn;case 6165:return Tn+Qn+bn+"flex-"+Qn+Qn;case 5187:return Tn+Qn+Zt(Qn,/(\w+).+(:[^]+)/,Tn+"box-$1$2"+bn+"flex-$1$2")+Qn;case 5443:return Tn+Qn+bn+"flex-item-"+Zt(Qn,/flex-|-self/g,"")+(Nn(Qn,/flex-|baseline/)?"":bn+"grid-row-"+Zt(Qn,/flex-|-self/g,""))+Qn;case 4675:return Tn+Qn+bn+"flex-line-pack"+Zt(Qn,/align-content|flex-|-self/g,"")+Qn;case 5548:return Tn+Qn+bn+Zt(Qn,"shrink","negative")+Qn;case 5292:return Tn+Qn+bn+Zt(Qn,"basis","preferred-size")+Qn;case 6060:return Tn+"box-"+Zt(Qn,"-grow","")+Tn+Qn+bn+Zt(Qn,"grow","positive")+Qn;case 4554:return Tn+Zt(Qn,/([^-])(transform)/g,"$1"+Tn+"$2")+Qn;case 6187:return Zt(Zt(Zt(Qn,/(zoom-|grab)/,Tn+"$1"),/(image-set)/,Tn+"$1"),Qn,"")+Qn;case 5495:case 3959:return Zt(Qn,/(image-set\([^]*)/,Tn+"$1$`$1");case 4968:return Zt(Zt(Qn,/(.+:)(flex-)?(.*)/,Tn+"box-pack:$3"+bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Tn+Qn+Qn;case 4200:if(!Nn(Qn,/flex-|baseline/))return bn+"grid-column-align"+ln(Qn,ka)+Qn;break;case 2592:case 3360:return bn+Zt(Qn,"template-","")+Qn;case 4384:case 3616:return Pa&&Pa.some(function(Qa,Ei){return ka=Ei,Nn(Qa.props,/grid-\w+-end/)})?~rr(Qn+(Pa=Pa[ka].value),"span")?Qn:bn+Zt(Qn,"-start","")+Qn+bn+"grid-row-span:"+(~rr(Pa,"span")?Nn(Pa,/\d+/):+Nn(Pa,/\d+/)-+Nn(Qn,/\d+/))+";":bn+Zt(Qn,"-start","")+Qn;case 4896:case 4128:return Pa&&Pa.some(function(Qa){return Nn(Qa.props,/grid-\w+-start/)})?Qn:bn+Zt(Zt(Qn,"-end","-span"),"span ","")+Qn;case 4095:case 3583:case 4068:case 2532:return Zt(Qn,/(.+)-inline(.+)/,Tn+"$1$2")+Qn;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xn(Qn)-1-ka>6)switch(Gn(Qn,ka+1)){case 109:if(Gn(Qn,ka+4)!==45)break;case 102:return Zt(Qn,/(.+:)(.+)-([^]+)/,"$1"+Tn+"$2-$3$1"+Bn+(Gn(Qn,ka+3)==108?"$3":"$2-$3"))+Qn;case 115:return~rr(Qn,"stretch")?cs(Zt(Qn,"stretch","fill-available"),ka,Pa)+Qn:Qn}break;case 5152:case 5920:return Zt(Qn,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(Qa,Ei,zo,fo,gs,Ks,pc){return bn+Ei+":"+zo+pc+(fo?bn+Ei+"-span:"+(gs?Ks:+Ks-+zo)+pc:"")+Qn});case 4949:if(Gn(Qn,ka+6)===121)return Zt(Qn,":",":"+Tn)+Qn;break;case 6444:switch(Gn(Qn,Gn(Qn,14)===45?18:11)){case 120:return Zt(Qn,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Tn+(Gn(Qn,14)===45?"inline-":"")+"box$3$1"+Tn+"$2$3$1"+bn+"$2box$3")+Qn;case 100:return Zt(Qn,":",":"+bn)+Qn}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Zt(Qn,"scroll-","scroll-snap-")+Qn}return Qn}function ba(Qn,ka){for(var Pa="",Qa=0;Qa<Qn.length;Qa++)Pa+=ka(Qn[Qa],Qa,Qn,ka)||"";return Pa}function sa(Qn,ka,Pa,Qa){switch(Qn.type){case Wt:if(Qn.children.length)break;case gr:case Wr:return Qn.return=Qn.return||Qn.value;case Tr:return"";case H:return Qn.return=Qn.value+"{"+ba(Qn.children,Qa)+"}";case Sr:if(!Xn(Qn.value=Qn.props.join(",")))return""}return Xn(Pa=ba(Qn.children,Qa))?Qn.return=Qn.value+"{"+Pa+"}":""}function Da(Qn){var ka=Kn(Qn);return function(Pa,Qa,Ei,zo){for(var fo="",gs=0;gs<ka;gs++)fo+=Qn[gs](Pa,Qa,Ei,zo)||"";return fo}}function On(Qn){return function(ka){ka.root||(ka=ka.return)&&Qn(ka)}}function xn(Qn,ka,Pa,Qa){if(Qn.length>-1&&!Qn.return)switch(Qn.type){case Wr:Qn.return=cs(Qn.value,Qn.length,Pa);return;case H:return ba([Qi(Qn,{value:Zt(Qn.value,"@","@"+Tn)})],Qa);case Sr:if(Qn.length)return Hn(Pa=Qn.props,function(Ei){switch(Nn(Ei,Qa=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":mi(Qi(Qn,{props:[Zt(Ei,/:(read-\w+)/,":"+Bn+"$1")]})),mi(Qi(Qn,{props:[Ei]})),Zn(Qn,{props:Sa(Pa,Qa)});break;case"::placeholder":mi(Qi(Qn,{props:[Zt(Ei,/:(plac\w+)/,":"+Tn+"input-$1")]})),mi(Qi(Qn,{props:[Zt(Ei,/:(plac\w+)/,":"+Bn+"$1")]})),mi(Qi(Qn,{props:[Zt(Ei,/:(plac\w+)/,bn+"input-$1")]})),mi(Qi(Qn,{props:[Ei]})),Zn(Qn,{props:Sa(Pa,Qa)});break}return""})}}function Rt(Qn){switch(Qn.type){case Sr:Qn.props=Qn.props.map(function(ka){return Hn(pi(ka),function(Pa,Qa,Ei){switch(Gn(Pa,0)){case 12:return ln(Pa,1,Xn(Pa));case 0:case 40:case 43:case 62:case 126:return Pa;case 58:Ei[++Qa]==="global"&&(Ei[Qa]="",Ei[++Qa]="\f"+ln(Ei[Qa],Qa=1,-1));case 32:return Qa===1?"":Pa;default:switch(Qa){case 0:return Qn=Pa,Kn(Ei)>1?"":Pa;case(Qa=Kn(Ei)-1):case 2:return Qa===2?Pa+Qn+Qn:Pa+Qn;default:return Pa}}})})}}function mr(Qn,ka){var Pa=ka.path,Qa=ka.parentSelectors;U(!1,"[Ant Design CSS-in-JS] ".concat(Pa?"Error in ".concat(Pa,": "):"").concat(Qn).concat(Qa.length?" Selector: ".concat(Qa.join(" | ")):""))}var ta=function(ka,Pa,Qa){if(ka==="content"){var Ei=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,zo=["normal","none","initial","inherit","unset"];(typeof Pa!="string"||zo.indexOf(Pa)===-1&&!Ei.test(Pa)&&(Pa.charAt(0)!==Pa.charAt(Pa.length-1)||Pa.charAt(0)!=='"'&&Pa.charAt(0)!=="'"))&&mr("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(Pa,"\"'`."),Qa)}},ma=ta,Oa=function(ka,Pa,Qa){ka==="animation"&&Qa.hashId&&Pa!=="none"&&mr("You seem to be using hashed animation '".concat(Pa,"', in which case 'animationName' with Keyframe as value is recommended."),Qa)},Pn=Oa;function Kr(Qn){var ka,Pa=((ka=Qn.match(/:not\(([^)]*)\)/))===null||ka===void 0?void 0:ka[1])||"",Qa=Pa.split(/(\[[^[]*])|(?=[.#])/).filter(function(Ei){return Ei});return Qa.length>1}function Vn(Qn){return Qn.parentSelectors.reduce(function(ka,Pa){return ka?Pa.includes("&")?Pa.replace(/&/g,ka):"".concat(ka," ").concat(Pa):Pa},"")}var tr=function(ka,Pa,Qa){var Ei=Vn(Qa),zo=Ei.match(/:not\([^)]*\)/g)||[];zo.length>0&&zo.some(Kr)&&mr("Concat ':not' selector not support in legacy browsers.",Qa)},Ea=tr,Ja=function(ka,Pa,Qa){switch(ka){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":mr("You seem to be using non-logical property '".concat(ka,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Qa);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof Pa=="string"){var Ei=Pa.split(" ").map(function(gs){return gs.trim()});Ei.length===4&&Ei[1]!==Ei[3]&&mr("You seem to be using '".concat(ka,"' property with different left ").concat(ka," and right ").concat(ka,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Qa)}return;case"clear":case"textAlign":(Pa==="left"||Pa==="right")&&mr("You seem to be using non-logical value '".concat(Pa,"' of ").concat(ka,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Qa);return;case"borderRadius":if(typeof Pa=="string"){var zo=Pa.split("/").map(function(gs){return gs.trim()}),fo=zo.reduce(function(gs,Ks){if(gs)return gs;var pc=Ks.split(" ").map(function(tc){return tc.trim()});return pc.length>=2&&pc[0]!==pc[1]||pc.length===3&&pc[1]!==pc[2]||pc.length===4&&pc[2]!==pc[3]?!0:gs},!1);fo&&mr("You seem to be using non-logical value '".concat(Pa,"' of ").concat(ka,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Qa)}return;default:}},go=Ja,fi=function(ka,Pa,Qa){Qa.parentSelectors.some(function(Ei){var zo=Ei.split(",");return zo.some(function(fo){return fo.split("&").length>2})})&&mr("Should not use more than one `&` in a selector.",Qa)},lo=fi,Oi=xe(),io="_skip_check_",Vi="_multi_value_";function vo(Qn){var ka=ba(Fi(Qn),sa);return ka.replace(/\{%%%\:[^;];}/g,";")}function qo(Qn){return Object(S.a)(Qn)==="object"&&Qn&&(io in Qn||Vi in Qn)}function hs(Qn,ka,Pa){if(!ka)return Qn;var Qa=".".concat(ka),Ei=Pa==="low"?":where(".concat(Qa,")"):Qa,zo=Qn.split(",").map(function(fo){var gs,Ks=fo.trim().split(/\s+/),pc=Ks[0]||"",tc=((gs=pc.match(/^\w+/))===null||gs===void 0?void 0:gs[0])||"";return pc="".concat(tc).concat(Ei).concat(pc.slice(tc.length)),[pc].concat(Object(E.a)(Ks.slice(1))).join(" ")});return zo.join(",")}var $t=function Qn(ka){var Pa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Ei=Qa.root,zo=Qa.injectHash,fo=Qa.parentSelectors,gs=Pa.hashId,Ks=Pa.layer,pc=Pa.path,tc=Pa.hashPriority,xc=Pa.transformers,kc=xc===void 0?[]:xc,Ss=Pa.linters,Js=Ss===void 0?[]:Ss,Mo="",js={};function Yc(nl){var Rc=nl.getName(gs);if(!js[Rc]){var su=Qn(nl.style,Pa,{root:!1,parentSelectors:fo}),Pl=Object(qe.a)(su,1),al=Pl[0];js[Rc]="@keyframes ".concat(nl.getName(gs)).concat(al)}}function gc(nl){var Rc=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return nl.forEach(function(su){Array.isArray(su)?gc(su,Rc):su&&Rc.push(su)}),Rc}var Cl=gc(Array.isArray(ka)?ka:[ka]);if(Cl.forEach(function(nl){var Rc=typeof nl=="string"&&!Ei?{}:nl;if(typeof Rc=="string")Mo+="".concat(Rc,`
`);else if(Rc._keyframe)Yc(Rc);else{var su=kc.reduce(function(Pl,al){var Ml;return(al==null||(Ml=al.visit)===null||Ml===void 0?void 0:Ml.call(al,Pl))||Pl},Rc);Object.keys(su).forEach(function(Pl){var al=su[Pl];if(Object(S.a)(al)==="object"&&al&&(Pl!=="animationName"||!al._keyframe)&&!qo(al)){var Ml=!1,Tl=Pl.trim(),td=!1;(Ei||zo)&&gs?Tl.startsWith("@")?Ml=!0:Tl=hs(Pl,gs,tc):Ei&&!gs&&(Tl==="&"||Tl==="")&&(Tl="",td=!0);var rl=Qn(al,Pa,{root:td,injectHash:Ml,parentSelectors:[].concat(Object(E.a)(fo),[Tl])}),dl=Object(qe.a)(rl,2),qt=dl[0],nr=dl[1];js=Object(m.a)(Object(m.a)({},js),nr),Mo+="".concat(Tl).concat(qt)}else{var Ur=function(zr,wr){var Ua=zr.replace(/[A-Z]/g,function(Nr){return"-".concat(Nr.toLowerCase())}),La=wr;!_n.a[zr]&&typeof La=="number"&&La!==0&&(La="".concat(La,"px")),zr==="animationName"&&wr!==null&&wr!==void 0&&wr._keyframe&&(Yc(wr),La=wr.getName(gs)),Mo+="".concat(Ua,":").concat(La,";")},Yr,ni=(Yr=al==null?void 0:al.value)!==null&&Yr!==void 0?Yr:al;Object(S.a)(al)==="object"&&al!==null&&al!==void 0&&al[Vi]&&Array.isArray(ni)?ni.forEach(function(vi){Ur(Pl,vi)}):Ur(Pl,ni)}})}}),!Ei)Mo="{".concat(Mo,"}");else if(Ks&&vt()){var wl=Ks.split(","),Wc=wl[wl.length-1].trim();Mo="@layer ".concat(Wc," {").concat(Mo,"}"),wl.length>1&&(Mo="@layer ".concat(Ks,"{%%%:%}").concat(Mo))}return[Mo,js]};function rt(Qn,ka){return Object(O.a)("".concat(Qn.join("%")).concat(ka))}function Vt(){return null}function tn(Qn,ka){var Pa=Qn.token,Qa=Qn.path,Ei=Qn.hashId,zo=Qn.layer,fo=Qn.nonce,gs=C.useContext(Z),Ks=gs.autoClear,pc=gs.mock,tc=gs.defaultCache,xc=gs.hashPriority,kc=gs.container,Ss=gs.ssrInline,Js=gs.transformers,Mo=gs.linters,js=gs.cache,Yc=Pa._tokenKey,gc=[Yc].concat(Object(E.a)(Qa)),Cl=Oi,wl=Tt("style",gc,function(){var Pl=ka(),al=$t(Pl,{hashId:Ei,hashPriority:xc,layer:zo,path:Qa.join("-"),transformers:Js,linters:Mo}),Ml=Object(qe.a)(al,2),Tl=Ml[0],td=Ml[1],rl=vo(Tl),dl=rt(gc,rl);return[rl,Yc,dl,td]},function(Pl,al){var Ml=Object(qe.a)(Pl,3),Tl=Ml[2];(al||Ks)&&Oi&&Ne(Tl,{mark:te})},function(Pl){var al=Object(qe.a)(Pl,4),Ml=al[0],Tl=al[1],td=al[2],rl=al[3];if(Cl){var dl={mark:te,prepend:"queue",attachTo:kc},qt=typeof fo=="function"?fo():fo;qt&&(dl.csp={nonce:qt});var nr=ht(Ml,td,dl);nr[he]=js.instanceId,nr.setAttribute(ne,Yc),Object.keys(rl).forEach(function(Ur){ht(vo(rl[Ur]),"_effect-".concat(Ur),dl)})}}),Wc=Object(qe.a)(wl,3),nl=Wc[0],Rc=Wc[1],su=Wc[2];return function(Pl){var al;if(!Ss||Cl||!tc)al=C.createElement(Vt,null);else{var Ml;al=C.createElement("style",Object(hn.a)({},(Ml={},Object(ie.a)(Ml,ne,Rc),Object(ie.a)(Ml,te,su),Ml),{dangerouslySetInnerHTML:{__html:nl}}))}return C.createElement(C.Fragment,null,al,Pl)}}function wn(Qn){var ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pa=Array.from(Qn.cache.keys()).filter(function(Ei){return Ei.startsWith("style%")}),Qa="";return Pa.forEach(function(Ei){var zo=Object(qe.a)(Qn.cache.get(Ei)[1],3),fo=zo[0],gs=zo[1],Ks=zo[2];Qa+=ka?fo:"<style ".concat(ne,'="').concat(gs,'" ').concat(te,'="').concat(Ks,'">').concat(fo,"</style>")}),Qa}var qn=function(){function Qn(ka,Pa){Object(X.a)(this,Qn),Object(ie.a)(this,"name",void 0),Object(ie.a)(this,"style",void 0),Object(ie.a)(this,"_keyframe",!0),this.name=ka,this.style=Pa}return Object(ee.a)(Qn,[{key:"getName",value:function(){var Pa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pa?"".concat(Pa,"-").concat(this.name):this.name}}]),Qn}(),zn=qn;function xr(Qn,ka){if(Qn.length!==ka.length)return!1;for(var Pa=0;Pa<Qn.length;Pa++)if(Qn[Pa]!==ka[Pa])return!1;return!0}var da=function(){function Qn(){Object(X.a)(this,Qn),Object(ie.a)(this,"cache",void 0),Object(ie.a)(this,"keys",void 0),Object(ie.a)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Object(ee.a)(Qn,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(Pa){var Qa,Ei,zo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fo={map:this.cache};return Pa.forEach(function(gs){if(!fo)fo=void 0;else{var Ks,pc;fo=(Ks=fo)===null||Ks===void 0||(pc=Ks.map)===null||pc===void 0?void 0:pc.get(gs)}}),(Qa=fo)!==null&&Qa!==void 0&&Qa.value&&zo&&(fo.value[1]=this.cacheCallTimes++),(Ei=fo)===null||Ei===void 0?void 0:Ei.value}},{key:"get",value:function(Pa){var Qa;return(Qa=this.internalGet(Pa,!0))===null||Qa===void 0?void 0:Qa[0]}},{key:"has",value:function(Pa){return!!this.internalGet(Pa)}},{key:"set",value:function(Pa,Qa){var Ei=this;if(!this.has(Pa)){if(this.size()+1>Qn.MAX_CACHE_SIZE+Qn.MAX_CACHE_OFFSET){var zo=this.keys.reduce(function(pc,tc){var xc=Object(qe.a)(pc,2),kc=xc[1];return Ei.internalGet(tc)[1]<kc?[tc,Ei.internalGet(tc)[1]]:pc},[this.keys[0],this.cacheCallTimes]),fo=Object(qe.a)(zo,1),gs=fo[0];this.delete(gs)}this.keys.push(Pa)}var Ks=this.cache;Pa.forEach(function(pc,tc){if(tc===Pa.length-1)Ks.set(pc,{value:[Qa,Ei.cacheCallTimes++]});else{var xc=Ks.get(pc);xc?xc.map||(xc.map=new Map):Ks.set(pc,{map:new Map}),Ks=Ks.get(pc).map}})}},{key:"deleteByPath",value:function(Pa,Qa){var Ei=Pa.get(Qa[0]);if(Qa.length===1){var zo;return Ei.map?Pa.set(Qa[0],{map:Ei.map}):Pa.delete(Qa[0]),(zo=Ei.value)===null||zo===void 0?void 0:zo[0]}var fo=this.deleteByPath(Ei.map,Qa.slice(1));return(!Ei.map||Ei.map.size===0)&&!Ei.value&&Pa.delete(Qa[0]),fo}},{key:"delete",value:function(Pa){if(this.has(Pa))return this.keys=this.keys.filter(function(Qa){return!xr(Qa,Pa)}),this.deleteByPath(this.cache,Pa)}}]),Qn}();Object(ie.a)(da,"MAX_CACHE_SIZE",20),Object(ie.a)(da,"MAX_CACHE_OFFSET",5);var en=0,Fn=function(){function Qn(ka){Object(X.a)(this,Qn),Object(ie.a)(this,"derivatives",void 0),Object(ie.a)(this,"id",void 0),this.derivatives=Array.isArray(ka)?ka:[ka],this.id=en,ka.length===0&&T(ka.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),en+=1}return Object(ee.a)(Qn,[{key:"getDerivativeToken",value:function(Pa){return this.derivatives.reduce(function(Qa,Ei){return Ei(Pa,Qa)},void 0)}}]),Qn}(),Jn=new da;function Ir(Qn){var ka=Array.isArray(Qn)?Qn:[Qn];return Jn.has(ka)||Jn.set(ka,new Fn(ka)),Jn.get(ka)}function Gr(Qn){if(typeof Qn=="number")return[[Qn],!1];var ka=String(Qn).trim(),Pa=ka.match(/(.*)(!important)/),Qa=(Pa?Pa[1]:ka).trim().split(/\s+/),Ei="",zo=0;return[Qa.reduce(function(fo,gs){return gs.includes("(")?(Ei+=gs,zo+=gs.split("(").length-1):gs.includes(")")?(Ei+=gs,zo-=gs.split(")").length-1,zo===0&&(fo.push(Ei),Ei="")):zo>0?Ei+=gs:fo.push(gs),fo},[]),!!Pa]}function ga(Qn){return Qn.notSplit=!0,Qn}var Mr={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:ga(["borderTop","borderBottom"]),borderBlockStart:ga(["borderTop"]),borderBlockEnd:ga(["borderBottom"]),borderInline:ga(["borderLeft","borderRight"]),borderInlineStart:ga(["borderLeft"]),borderInlineEnd:ga(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function $a(Qn,ka){var Pa=Qn;return ka&&(Pa="".concat(Pa," !important")),{_skip_check_:!0,value:Pa}}var Ya={visit:function(ka){var Pa={};return Object.keys(ka).forEach(function(Qa){var Ei=ka[Qa],zo=Mr[Qa];if(zo&&(typeof Ei=="number"||typeof Ei=="string")){var fo=Gr(Ei),gs=Object(qe.a)(fo,2),Ks=gs[0],pc=gs[1];zo.length&&zo.notSplit?zo.forEach(function(tc){Pa[tc]=$a(Ei,pc)}):zo.length===1?Pa[zo[0]]=$a(Ei,pc):zo.length===2?zo.forEach(function(tc,xc){var kc;Pa[tc]=$a((kc=Ks[xc])!==null&&kc!==void 0?kc:Ks[0],pc)}):zo.length===4?zo.forEach(function(tc,xc){var kc,Ss;Pa[tc]=$a((kc=(Ss=Ks[xc])!==null&&Ss!==void 0?Ss:Ks[xc-2])!==null&&kc!==void 0?kc:Ks[0],pc)}):Pa[Qa]=Ei}else Pa[Qa]=Ei}),Pa}},_o=Ya,Ni=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function ec(Qn,ka){var Pa=Math.pow(10,ka+1),Qa=Math.floor(Qn*Pa);return Math.round(Qa/10)*10/Pa}var ks=function(){var ka=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pa=ka.rootValue,Qa=Pa===void 0?16:Pa,Ei=ka.precision,zo=Ei===void 0?5:Ei,fo=ka.mediaQuery,gs=fo===void 0?!1:fo,Ks=function(xc,kc){if(!kc)return xc;var Ss=parseFloat(kc);if(Ss<=1)return xc;var Js=ec(Ss/Qa,zo);return"".concat(Js,"rem")},pc=function(xc){var kc=Object(m.a)({},xc);return Object.entries(xc).forEach(function(Ss){var Js=Object(qe.a)(Ss,2),Mo=Js[0],js=Js[1];if(typeof js=="string"&&js.includes("px")){var Yc=js.replace(Ni,Ks);kc[Mo]=Yc}!_n.a[Mo]&&typeof js=="number"&&js!==0&&(kc[Mo]="".concat(js,"px").replace(Ni,Ks));var gc=Mo.trim();if(gc.startsWith("@")&&gc.includes("px")&&gs){var Cl=Mo.replace(Ni,Ks);kc[Cl]=kc[Mo],delete kc[Mo]}}),kc};return{visit:pc}},jo=ks},EpBk:function(ce,R){function l(E){var m=typeof E;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?E!=="__proto__":E===null}ce.exports=l},EwQA:function(ce,R,l){var E=l("zZ0H");function m(O){return typeof O=="function"?O:E}ce.exports=m},ExA7:function(ce,R){function l(E){return E!=null&&typeof E=="object"}ce.exports=l},EzR6:function(ce,R,l){var E=l("MVys"),m=l("UwrT"),O="".split;ce.exports=E(function(){return!Object("z").propertyIsEnumerable(0)})?function(C){return m(C)=="String"?O.call(C,""):Object(C)}:Object},"F/eG":function(ce,R,l){"use strict";(function(E){var m=l("eiAH"),O=Object.prototype.toString,C=Object.getPrototypeOf,k=function(Se){return function(Ve){var Ge=O.call(Ve);return Se[Ge]||(Se[Ge]=Ge.slice(8,-1).toLowerCase())}}(Object.create(null)),A=function(Ve){return Ve=Ve.toLowerCase(),function(Ge){return k(Ge)===Ve}},S=function(Ve){return function(Ge){return typeof Ge===Ve}},y=Array.isArray,w=S("undefined");function x(Se){return Se!==null&&!w(Se)&&Se.constructor!==null&&!w(Se.constructor)&&N(Se.constructor.isBuffer)&&Se.constructor.isBuffer(Se)}var T=A("ArrayBuffer");function j(Se){var Ve;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?Ve=ArrayBuffer.isView(Se):Ve=Se&&Se.buffer&&T(Se.buffer),Ve}var D=S("string"),N=S("function"),F=S("number"),B=function(Ve){return Ve!==null&&typeof Ve=="object"},U=function(Ve){return Ve===!0||Ve===!1},J=function(Ve){if(k(Ve)!=="object")return!1;var Ge=C(Ve);return(Ge===null||Ge===Object.prototype||Object.getPrototypeOf(Ge)===null)&&!(Symbol.toStringTag in Ve)&&!(Symbol.iterator in Ve)},$=A("Date"),X=A("File"),ee=A("Blob"),ie=A("FileList"),G=function(Ve){return B(Ve)&&N(Ve.pipe)},Q=function(Ve){var Ge;return Ve&&(typeof FormData=="function"&&Ve instanceof FormData||N(Ve.append)&&((Ge=k(Ve))==="formdata"||Ge==="object"&&N(Ve.toString)&&Ve.toString()==="[object FormData]"))},W=A("URLSearchParams"),ne=function(Ve){return Ve.trim?Ve.trim():Ve.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function te(Se,Ve){var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_t=Ge.allOwnKeys,bt=_t===void 0?!1:_t;if(!(Se===null||typeof Se=="undefined")){var gt,at;if(typeof Se!="object"&&(Se=[Se]),y(Se))for(gt=0,at=Se.length;gt<at;gt++)Ve.call(null,Se[gt],gt,Se);else{var ft=bt?Object.getOwnPropertyNames(Se):Object.keys(Se),Fe=ft.length,Te;for(gt=0;gt<Fe;gt++)Te=ft[gt],Ve.call(null,Se[Te],Te,Se)}}}function _e(Se,Ve){Ve=Ve.toLowerCase();for(var Ge=Object.keys(Se),_t=Ge.length,bt;_t-- >0;)if(bt=Ge[_t],Ve===bt.toLowerCase())return bt;return null}var he=function(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:E}(),oe=function(Ve){return!w(Ve)&&Ve!==he};function ge(){for(var Se=oe(this)&&this||{},Ve=Se.caseless,Ge={},_t=function(ft,Fe){var Te=Ve&&_e(Ge,Fe)||Fe;J(Ge[Te])&&J(ft)?Ge[Te]=ge(Ge[Te],ft):J(ft)?Ge[Te]=ge({},ft):y(ft)?Ge[Te]=ft.slice():Ge[Te]=ft},bt=0,gt=arguments.length;bt<gt;bt++)arguments[bt]&&te(arguments[bt],_t);return Ge}var me=function(Ve,Ge,_t){var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},gt=bt.allOwnKeys;return te(Ge,function(at,ft){_t&&N(at)?Ve[ft]=Object(m.a)(at,_t):Ve[ft]=at},{allOwnKeys:gt}),Ve},Z=function(Ve){return Ve.charCodeAt(0)===65279&&(Ve=Ve.slice(1)),Ve},xe=function(Ve,Ge,_t,bt){Ve.prototype=Object.create(Ge.prototype,bt),Ve.prototype.constructor=Ve,Object.defineProperty(Ve,"super",{value:Ge.prototype}),_t&&Object.assign(Ve.prototype,_t)},Ee=function(Ve,Ge,_t,bt){var gt,at,ft,Fe={};if(Ge=Ge||{},Ve==null)return Ge;do{for(gt=Object.getOwnPropertyNames(Ve),at=gt.length;at-- >0;)ft=gt[at],(!bt||bt(ft,Ve,Ge))&&!Fe[ft]&&(Ge[ft]=Ve[ft],Fe[ft]=!0);Ve=_t!==!1&&C(Ve)}while(Ve&&(!_t||_t(Ve,Ge))&&Ve!==Object.prototype);return Ge},Le=function(Ve,Ge,_t){Ve=String(Ve),(_t===void 0||_t>Ve.length)&&(_t=Ve.length),_t-=Ge.length;var bt=Ve.indexOf(Ge,_t);return bt!==-1&&bt===_t},we=function(Ve){if(!Ve)return null;if(y(Ve))return Ve;var Ge=Ve.length;if(!F(Ge))return null;for(var _t=new Array(Ge);Ge-- >0;)_t[Ge]=Ve[Ge];return _t},fe=function(Se){return function(Ve){return Se&&Ve instanceof Se}}(typeof Uint8Array!="undefined"&&C(Uint8Array)),pe=function(Ve,Ge){for(var _t=Ve&&Ve[Symbol.iterator],bt=_t.call(Ve),gt;(gt=bt.next())&&!gt.done;){var at=gt.value;Ge.call(Ve,at[0],at[1])}},Ke=function(Ve,Ge){for(var _t,bt=[];(_t=Ve.exec(Ge))!==null;)bt.push(_t);return bt},Me=A("HTMLFormElement"),ze=function(Ve){return Ve.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(_t,bt,gt){return bt.toUpperCase()+gt})},Ue=function(Se){var Ve=Se.hasOwnProperty;return function(Ge,_t){return Ve.call(Ge,_t)}}(Object.prototype),He=A("RegExp"),Ne=function(Ve,Ge){var _t=Object.getOwnPropertyDescriptors(Ve),bt={};te(_t,function(gt,at){Ge(gt,at,Ve)!==!1&&(bt[at]=gt)}),Object.defineProperties(Ve,bt)},it=function(Ve){Ne(Ve,function(Ge,_t){if(N(Ve)&&["arguments","caller","callee"].indexOf(_t)!==-1)return!1;var bt=Ve[_t];if(!!N(bt)){if(Ge.enumerable=!1,"writable"in Ge){Ge.writable=!1;return}Ge.set||(Ge.set=function(){throw Error("Can not rewrite read-only method '"+_t+"'")})}})},Xe=function(Ve,Ge){var _t={},bt=function(at){at.forEach(function(ft){_t[ft]=!0})};return y(Ve)?bt(Ve):bt(String(Ve).split(Ge)),_t},ht=function(){},lt=function(Ve,Ge){return Ve=+Ve,Number.isFinite(Ve)?Ve:Ge},Et="abcdefghijklmnopqrstuvwxyz",tt="0123456789",mt={DIGIT:tt,ALPHA:Et,ALPHA_DIGIT:Et+Et.toUpperCase()+tt},xt=function(){for(var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:16,Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mt.ALPHA_DIGIT,_t="",bt=Ge.length;Ve--;)_t+=Ge[Math.random()*bt|0];return _t};function Xt(Se){return!!(Se&&N(Se.append)&&Se[Symbol.toStringTag]==="FormData"&&Se[Symbol.iterator])}var vt=function(Ve){var Ge=new Array(10),_t=function bt(gt,at){if(B(gt)){if(Ge.indexOf(gt)>=0)return;if(!("toJSON"in gt)){Ge[at]=gt;var ft=y(gt)?[]:{};return te(gt,function(Fe,Te){var ut=bt(Fe,at+1);!w(ut)&&(ft[Te]=ut)}),Ge[at]=void 0,ft}}return gt};return _t(Ve,0)},qe=A("AsyncFunction"),Re=function(Ve){return Ve&&(B(Ve)||N(Ve))&&N(Ve.then)&&N(Ve.catch)};R.a={isArray:y,isArrayBuffer:T,isBuffer:x,isFormData:Q,isArrayBufferView:j,isString:D,isNumber:F,isBoolean:U,isObject:B,isPlainObject:J,isUndefined:w,isDate:$,isFile:X,isBlob:ee,isRegExp:He,isFunction:N,isStream:G,isURLSearchParams:W,isTypedArray:fe,isFileList:ie,forEach:te,merge:ge,extend:me,trim:ne,stripBOM:Z,inherits:xe,toFlatObject:Ee,kindOf:k,kindOfTest:A,endsWith:Le,toArray:we,forEachEntry:pe,matchAll:Ke,isHTMLForm:Me,hasOwnProperty:Ue,hasOwnProp:Ue,reduceDescriptors:Ne,freezeMethods:it,toObjectSet:Xe,toCamelCase:ze,noop:ht,toFiniteNumber:lt,findKey:_e,global:he,isContextDefined:oe,ALPHABET:mt,generateString:xt,isSpecCompliantForm:Xt,toJSONObject:vt,isAsyncFn:qe,isThenable:Re}}).call(this,l("IyRk"))},F1NP:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("oa35"),O=l("bIKR"),C=l("/dTS"),k=E.aTypedArray,A=E.exportTypedArrayMethod;A("subarray",function(y,w){var x=k(this),T=x.length,j=O(y,T);return new(C(x,x.constructor))(x.buffer,x.byteOffset+j*x.BYTES_PER_ELEMENT,m((w===void 0?T:O(w,T))-j))})},F52u:function(ce,R,l){var E=l("UwrT");ce.exports=function(m){if(typeof m!="number"&&E(m)!="Number")throw TypeError("Incorrect invocation");return+m}},F8nB:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=k;var E=l("b+tR"),m=O(E);function O(A){return A&&A.__esModule?A:{default:A}}var C=["-webkit-",""];function k(A,S){if(typeof S=="string"&&!(0,m.default)(S)&&S.indexOf("cross-fade(")>-1)return C.map(function(y){return S.replace(/cross-fade\(/g,y+"cross-fade(")})}ce.exports=R.default},F925:function(ce,R,l){"use strict";/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=typeof Symbol=="function"&&Symbol.for,m=E?Symbol.for("react.element"):60103,O=E?Symbol.for("react.portal"):60106,C=E?Symbol.for("react.fragment"):60107,k=E?Symbol.for("react.strict_mode"):60108,A=E?Symbol.for("react.profiler"):60114,S=E?Symbol.for("react.provider"):60109,y=E?Symbol.for("react.context"):60110,w=E?Symbol.for("react.async_mode"):60111,x=E?Symbol.for("react.concurrent_mode"):60111,T=E?Symbol.for("react.forward_ref"):60112,j=E?Symbol.for("react.suspense"):60113,D=E?Symbol.for("react.suspense_list"):60120,N=E?Symbol.for("react.memo"):60115,F=E?Symbol.for("react.lazy"):60116,B=E?Symbol.for("react.block"):60121,U=E?Symbol.for("react.fundamental"):60117,J=E?Symbol.for("react.responder"):60118,$=E?Symbol.for("react.scope"):60119;function X(ie){if(typeof ie=="object"&&ie!==null){var G=ie.$$typeof;switch(G){case m:switch(ie=ie.type,ie){case w:case x:case C:case A:case k:case j:return ie;default:switch(ie=ie&&ie.$$typeof,ie){case y:case T:case F:case N:case S:return ie;default:return G}}case O:return G}}}function ee(ie){return X(ie)===x}R.AsyncMode=w,R.ConcurrentMode=x,R.ContextConsumer=y,R.ContextProvider=S,R.Element=m,R.ForwardRef=T,R.Fragment=C,R.Lazy=F,R.Memo=N,R.Portal=O,R.Profiler=A,R.StrictMode=k,R.Suspense=j,R.isAsyncMode=function(ie){return ee(ie)||X(ie)===w},R.isConcurrentMode=ee,R.isContextConsumer=function(ie){return X(ie)===y},R.isContextProvider=function(ie){return X(ie)===S},R.isElement=function(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===m},R.isForwardRef=function(ie){return X(ie)===T},R.isFragment=function(ie){return X(ie)===C},R.isLazy=function(ie){return X(ie)===F},R.isMemo=function(ie){return X(ie)===N},R.isPortal=function(ie){return X(ie)===O},R.isProfiler=function(ie){return X(ie)===A},R.isStrictMode=function(ie){return X(ie)===k},R.isSuspense=function(ie){return X(ie)===j},R.isValidElementType=function(ie){return typeof ie=="string"||typeof ie=="function"||ie===C||ie===x||ie===A||ie===k||ie===j||ie===D||typeof ie=="object"&&ie!==null&&(ie.$$typeof===F||ie.$$typeof===N||ie.$$typeof===S||ie.$$typeof===y||ie.$$typeof===T||ie.$$typeof===U||ie.$$typeof===J||ie.$$typeof===$||ie.$$typeof===B)},R.typeOf=X},"FAV+":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=C;var E=l("MMCX"),m=O(E);function O(k){return k&&k.__esModule?k:{default:k}}function C(k,A,S){if(k.hasOwnProperty(A))for(var y=k[A],w=0,x=y.length;w<x;++w)S[y[w]+(0,m.default)(A)]=S[A]}ce.exports=R.default},FBts:function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{imulh:function(O,C){var k=65535,A=+O,S=+C,y=A&k,w=S&k,x=A>>16,T=S>>16,j=(x*w>>>0)+(y*w>>>16);return x*T+(j>>16)+((y*T>>>0)+(j&k)>>16)}})},FCfD:function(ce,R){ce.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}},FER5:function(ce,R,l){"use strict";l.d(R,"j",function(){return m}),l.d(R,"h",function(){return O}),l.d(R,"c",function(){return k}),l.d(R,"i",function(){return A}),l.d(R,"d",function(){return S}),l.d(R,"g",function(){return y}),l.d(R,"l",function(){return w}),l.d(R,"k",function(){return x}),l.d(R,"a",function(){return T}),l.d(R,"b",function(){return j}),l.d(R,"f",function(){return D}),l.d(R,"e",function(){return N});var E=l("b3aT");function m(F,B,U){return{r:Object(E.a)(F,255)*255,g:Object(E.a)(B,255)*255,b:Object(E.a)(U,255)*255}}function O(F,B,U){F=Object(E.a)(F,255),B=Object(E.a)(B,255),U=Object(E.a)(U,255);var J=Math.max(F,B,U),$=Math.min(F,B,U),X=0,ee=0,ie=(J+$)/2;if(J===$)ee=0,X=0;else{var G=J-$;switch(ee=ie>.5?G/(2-J-$):G/(J+$),J){case F:X=(B-U)/G+(B<U?6:0);break;case B:X=(U-F)/G+2;break;case U:X=(F-B)/G+4;break;default:break}X/=6}return{h:X,s:ee,l:ie}}function C(F,B,U){return U<0&&(U+=1),U>1&&(U-=1),U<1/6?F+(B-F)*(6*U):U<1/2?B:U<2/3?F+(B-F)*(2/3-U)*6:F}function k(F,B,U){var J,$,X;if(F=Object(E.a)(F,360),B=Object(E.a)(B,100),U=Object(E.a)(U,100),B===0)$=U,X=U,J=U;else{var ee=U<.5?U*(1+B):U+B-U*B,ie=2*U-ee;J=C(ie,ee,F+1/3),$=C(ie,ee,F),X=C(ie,ee,F-1/3)}return{r:J*255,g:$*255,b:X*255}}function A(F,B,U){F=Object(E.a)(F,255),B=Object(E.a)(B,255),U=Object(E.a)(U,255);var J=Math.max(F,B,U),$=Math.min(F,B,U),X=0,ee=J,ie=J-$,G=J===0?0:ie/J;if(J===$)X=0;else{switch(J){case F:X=(B-U)/ie+(B<U?6:0);break;case B:X=(U-F)/ie+2;break;case U:X=(F-B)/ie+4;break;default:break}X/=6}return{h:X,s:G,v:ee}}function S(F,B,U){F=Object(E.a)(F,360)*6,B=Object(E.a)(B,100),U=Object(E.a)(U,100);var J=Math.floor(F),$=F-J,X=U*(1-B),ee=U*(1-$*B),ie=U*(1-(1-$)*B),G=J%6,Q=[U,ee,X,X,ie,U][G],W=[ie,U,U,ee,X,X][G],ne=[X,X,ie,U,U,ee][G];return{r:Q*255,g:W*255,b:ne*255}}function y(F,B,U,J){var $=[Object(E.e)(Math.round(F).toString(16)),Object(E.e)(Math.round(B).toString(16)),Object(E.e)(Math.round(U).toString(16))];return J&&$[0].startsWith($[0].charAt(1))&&$[1].startsWith($[1].charAt(1))&&$[2].startsWith($[2].charAt(1))?$[0].charAt(0)+$[1].charAt(0)+$[2].charAt(0):$.join("")}function w(F,B,U,J,$){var X=[Object(E.e)(Math.round(F).toString(16)),Object(E.e)(Math.round(B).toString(16)),Object(E.e)(Math.round(U).toString(16)),Object(E.e)(T(J))];return $&&X[0].startsWith(X[0].charAt(1))&&X[1].startsWith(X[1].charAt(1))&&X[2].startsWith(X[2].charAt(1))&&X[3].startsWith(X[3].charAt(1))?X[0].charAt(0)+X[1].charAt(0)+X[2].charAt(0)+X[3].charAt(0):X.join("")}function x(F,B,U,J){var $=[Object(E.e)(T(J)),Object(E.e)(Math.round(F).toString(16)),Object(E.e)(Math.round(B).toString(16)),Object(E.e)(Math.round(U).toString(16))];return $.join("")}function T(F){return Math.round(parseFloat(F)*255).toString(16)}function j(F){return D(F)/255}function D(F){return parseInt(F,16)}function N(F){return{r:F>>16,g:(F&65280)>>8,b:F&255}}},FIIH:function(ce,R,l){"use strict";var E=l("ukPv"),m=l("FVwB"),O=l("FbcW"),C=l("2kyd"),k=C("iterator"),A=E.Uint8Array,S=O.values,y=O.keys,w=O.entries,x=m.aTypedArray,T=m.exportTypedArrayMethod,j=A&&A.prototype[k],D=!!j&&(j.name=="values"||j.name==null),N=function(){return S.call(x(this))};T("entries",function(){return w.call(x(this))}),T("keys",function(){return y.call(x(this))}),T("values",N,!D),T(k,N,!D)},FIfw:function(ce,R,l){},FK48:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("IuhT"),O=l("cT1L");E({target:"Map",stat:!0},{groupBy:function(k,A){var S=new this;O(A);var y=O(S.has),w=O(S.get),x=O(S.set);return m(k,function(T){var j=A(T);y.call(S,j)?w.call(S,j).push(T):x.call(S,j,[T])}),S}})},FKIO:function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{umulh:function(O,C){var k=65535,A=+O,S=+C,y=A&k,w=S&k,x=A>>>16,T=S>>>16,j=(x*w>>>0)+(y*w>>>16);return x*T+(j>>>16)+((y*T>>>0)+(j&k)>>>16)}})},FMpD:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.getFieldId=C,R.toArray=O;var E=["parentNode"],m="form_item";function O(k){return k===void 0||k===!1?[]:Array.isArray(k)?k:[k]}function C(k,A){if(!!k.length){var S=k.join("_");if(A)return"".concat(A,"_").concat(S);var y=E.includes(S);return y?"".concat(m,"_").concat(S):S}}},FV85:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.TargetTypeEnum=R.BindingTypeEnum=R.BindingScopeEnum=void 0;var E={Request:"Request",Singleton:"Singleton",Transient:"Transient"};R.BindingScopeEnum=E;var m={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};R.BindingTypeEnum=m;var O={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"};R.TargetTypeEnum=O},FVwB:function(ce,R,l){"use strict";var E=l("GNqc"),m=l("tny8"),O=l("ukPv"),C=l("tSXo"),k=l("jtLI"),A=l("Ei+o"),S=l("lz10"),y=l("NMFW"),w=l("YfKC").f,x=l("Acmb"),T=l("g1ZG"),j=l("2kyd"),D=l("evbn"),N=O.Int8Array,F=N&&N.prototype,B=O.Uint8ClampedArray,U=B&&B.prototype,J=N&&x(N),$=F&&x(F),X=Object.prototype,ee=X.isPrototypeOf,ie=j("toStringTag"),G=D("TYPED_ARRAY_TAG"),Q=E&&!!T&&A(O.opera)!=="Opera",W=!1,ne,te={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},_e=function(Ee){var Le=A(Ee);return Le==="DataView"||k(te,Le)},he=function(xe){return C(xe)&&k(te,A(xe))},oe=function(xe){if(he(xe))return xe;throw TypeError("Target is not a typed array")},ge=function(xe){if(T){if(ee.call(J,xe))return xe}else for(var Ee in te)if(k(te,ne)){var Le=O[Ee];if(Le&&(xe===Le||ee.call(Le,xe)))return xe}throw TypeError("Target is not a typed array constructor")},me=function(xe,Ee,Le){if(!!m){if(Le)for(var we in te){var fe=O[we];fe&&k(fe.prototype,xe)&&delete fe.prototype[xe]}(!$[xe]||Le)&&y($,xe,Le?Ee:Q&&F[xe]||Ee)}},Z=function(xe,Ee,Le){var we,fe;if(!!m){if(T){if(Le)for(we in te)fe=O[we],fe&&k(fe,xe)&&delete fe[xe];if(!J[xe]||Le)try{return y(J,xe,Le?Ee:Q&&N[xe]||Ee)}catch(pe){}else return}for(we in te)fe=O[we],fe&&(!fe[xe]||Le)&&y(fe,xe,Ee)}};for(ne in te)O[ne]||(Q=!1);if((!Q||typeof J!="function"||J===Function.prototype)&&(J=function(){throw TypeError("Incorrect invocation")},Q))for(ne in te)O[ne]&&T(O[ne],J);if((!Q||!$||$===X)&&($=J.prototype,Q))for(ne in te)O[ne]&&T(O[ne].prototype,$);if(Q&&x(U)!==$&&T(U,$),m&&!k($,ie)){W=!0,w($,ie,{get:function(){return C(this)?this[G]:void 0}});for(ne in te)O[ne]&&S(O[ne],G,ne)}ce.exports={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:W&&G,aTypedArray:oe,aTypedArrayConstructor:ge,exportTypedArrayMethod:me,exportTypedArrayStaticMethod:Z,isView:_e,isTypedArray:he,TypedArray:J,TypedArrayPrototype:$}},FWVt:function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("ODXe"),m=l("q1tI"),O=l.n(m);function C(k){var A=m.useRef(!1),S=m.useState(k),y=Object(E.a)(S,2),w=y[0],x=y[1];m.useEffect(function(){return A.current=!1,function(){A.current=!0}},[]);function T(j,D){D&&A.current||x(j)}return[w,T]}},FbcW:function(ce,R,l){"use strict";var E=l("0qr0"),m=l("eNh0"),O=l("5yw/"),C=l("1aI8"),k=l("uMwj"),A="Array Iterator",S=C.set,y=C.getterFor(A);ce.exports=k(Array,"Array",function(w,x){S(this,{type:A,target:E(w),index:0,kind:x})},function(){var w=y(this),x=w.target,T=w.kind,j=w.index++;return!x||j>=x.length?(w.target=void 0,{value:void 0,done:!0}):T=="keys"?{value:j,done:!1}:T=="values"?{value:x[j],done:!1}:{value:[j,x[j]],done:!1}},"values"),O.Arguments=O.Array,m("keys"),m("values"),m("entries")},FeLx:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("hEhG"),m=k(E),O=l("RBan"),C=k(O);function k(x){return x&&x.__esModule?x:{default:x}}function A(x,T){if(!(x instanceof T))throw new TypeError("Cannot call a class as a function")}var S="top-level",y="block-level",w=function(){function x(T){A(this,x),this.indent=T||" ",this.indentTypes=[]}return x.prototype.getIndent=function(){return(0,m.default)(this.indent,this.indentTypes.length)},x.prototype.increaseToplevel=function(){this.indentTypes.push(S)},x.prototype.increaseBlockLevel=function(){this.indentTypes.push(y)},x.prototype.decreaseTopLevel=function(){(0,C.default)(this.indentTypes)===S&&this.indentTypes.pop()},x.prototype.decreaseBlockLevel=function(){for(;this.indentTypes.length>0;){var j=this.indentTypes.pop();if(j!==S)break}},x}();R.default=w,ce.exports=R.default},Ff2n:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("zLVn");function m(O,C){if(O==null)return{};var k=Object(E.a)(O,C),A,S;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(O);for(S=0;S<y.length;S++)A=y[S],!(C.indexOf(A)>=0)&&(!Object.prototype.propertyIsEnumerable.call(O,A)||(k[A]=O[A]))}return k}},FfOG:function(ce,R,l){"use strict";l.d(R,"a",function(){return C}),l.d(R,"b",function(){return O});var E=l("YS25"),m={basename:"/webapp/"};window.routerBase&&(m.basename=window.routerBase);var O={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.__IS_SERVER?null:Object(E.a)(m),C=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return A||(O=Object(E.a)(m)),O}},Fghh:function(ce,R,l){"use strict";l.d(R,"a",function(){return Wr}),l.d(R,"g",function(){return Ln}),l.d(R,"e",function(){return Zi}),l.d(R,"c",function(){return Si}),l.d(R,"f",function(){return qi}),l.d(R,"d",function(){return eo}),l.d(R,"b",function(){return xo});var E=l("k1fw"),m=l("fWQN"),O=l("mtLc"),C=l("yKVA"),k=l("879j"),A=l("q1tI"),S=l("jrin"),y=l("57TA"),w=l.n(y),x;(function(On){On[On.literal=0]="literal",On[On.argument=1]="argument",On[On.number=2]="number",On[On.date=3]="date",On[On.time=4]="time",On[On.select=5]="select",On[On.plural=6]="plural",On[On.pound=7]="pound"})(x||(x={}));function T(On){return On.type===x.literal}function j(On){return On.type===x.argument}function D(On){return On.type===x.number}function N(On){return On.type===x.date}function F(On){return On.type===x.time}function B(On){return On.type===x.select}function U(On){return On.type===x.plural}function J(On){return On.type===x.pound}function $(On){return!!(On&&typeof On=="object"&&On.type===0)}function X(On){return!!(On&&typeof On=="object"&&On.type===1)}function ee(On){return{type:x.literal,value:On}}function ie(On,xn){return{type:x.number,value:On,style:xn}}var G=function(){var On=function(Rt,mr){return On=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ta,ma){ta.__proto__=ma}||function(ta,ma){for(var Oa in ma)ma.hasOwnProperty(Oa)&&(ta[Oa]=ma[Oa])},On(Rt,mr)};return function(xn,Rt){On(xn,Rt);function mr(){this.constructor=xn}xn.prototype=Rt===null?Object.create(Rt):(mr.prototype=Rt.prototype,new mr)}}(),Q=function(){return Q=Object.assign||function(On){for(var xn,Rt=1,mr=arguments.length;Rt<mr;Rt++){xn=arguments[Rt];for(var ta in xn)Object.prototype.hasOwnProperty.call(xn,ta)&&(On[ta]=xn[ta])}return On},Q.apply(this,arguments)},W=function(On){G(xn,On);function xn(Rt,mr,ta,ma){var Oa=On.call(this)||this;return Oa.message=Rt,Oa.expected=mr,Oa.found=ta,Oa.location=ma,Oa.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Oa,xn),Oa}return xn.buildMessage=function(Rt,mr){function ta(tr){return tr.charCodeAt(0).toString(16).toUpperCase()}function ma(tr){return tr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(Ea){return"\\x0"+ta(Ea)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(Ea){return"\\x"+ta(Ea)})}function Oa(tr){return tr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(Ea){return"\\x0"+ta(Ea)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(Ea){return"\\x"+ta(Ea)})}function Pn(tr){switch(tr.type){case"literal":return'"'+ma(tr.text)+'"';case"class":var Ea=tr.parts.map(function(Ja){return Array.isArray(Ja)?Oa(Ja[0])+"-"+Oa(Ja[1]):Oa(Ja)});return"["+(tr.inverted?"^":"")+Ea+"]";case"any":return"any character";case"end":return"end of input";case"other":return tr.description}}function Kr(tr){var Ea=tr.map(Pn),Ja,go;if(Ea.sort(),Ea.length>0){for(Ja=1,go=1;Ja<Ea.length;Ja++)Ea[Ja-1]!==Ea[Ja]&&(Ea[go]=Ea[Ja],go++);Ea.length=go}switch(Ea.length){case 1:return Ea[0];case 2:return Ea[0]+" or "+Ea[1];default:return Ea.slice(0,-1).join(", ")+", or "+Ea[Ea.length-1]}}function Vn(tr){return tr?'"'+ma(tr)+'"':"end of input"}return"Expected "+Kr(Rt)+" but "+Vn(mr)+" found."},xn}(Error);function ne(On,xn){xn=xn!==void 0?xn:{};var Rt={},mr={start:Ud},ta=Ud,ma=function(qr){return qr.join("")},Oa=function(qr){return Q({type:x.literal,value:qr},bc())},Pn="#",Kr=ql("#",!1),Vn=function(){return Q({type:x.pound},bc())},tr=nd("argumentElement"),Ea="{",Ja=ql("{",!1),go="}",fi=ql("}",!1),lo=function(qr){return Q({type:x.argument,value:qr},bc())},Oi=nd("numberSkeletonId"),io=/^['\/{}]/,Vi=Ru(["'","/","{","}"],!1,!1),vo=Hl(),qo=nd("numberSkeletonTokenOption"),hs="/",$t=ql("/",!1),rt=function(qr){return qr},Vt=nd("numberSkeletonToken"),tn=function(qr,yi){return{stem:qr,options:yi}},wn=function(qr){return Q({type:0,tokens:qr},bc())},qn="::",zn=ql("::",!1),xr=function(qr){return qr},da=function(){return Zs.push("numberArgStyle"),!0},en=function(qr){return Zs.pop(),qr.replace(/\s*$/,"")},Fn=",",Jn=ql(",",!1),Ir="number",Gr=ql("number",!1),ga=function(qr,yi,Ki){return Q({type:yi==="number"?x.number:yi==="date"?x.date:x.time,style:Ki&&Ki[2],value:qr},bc())},Mr="'",$a=ql("'",!1),Ya=/^[^']/,_o=Ru(["'"],!0,!1),Ni=/^[^a-zA-Z'{}]/,ec=Ru([["a","z"],["A","Z"],"'","{","}"],!0,!1),ks=/^[a-zA-Z]/,jo=Ru([["a","z"],["A","Z"]],!1,!1),Qn=function(qr){return Q({type:1,pattern:qr},bc())},ka=function(){return Zs.push("dateOrTimeArgStyle"),!0},Pa="date",Qa=ql("date",!1),Ei="time",zo=ql("time",!1),fo="plural",gs=ql("plural",!1),Ks="selectordinal",pc=ql("selectordinal",!1),tc="offset:",xc=ql("offset:",!1),kc=function(qr,yi,Ki,uo){return Q({type:x.plural,pluralType:yi==="plural"?"cardinal":"ordinal",value:qr,offset:Ki?Ki[2]:0,options:uo.reduce(function(As,zc){var cc=zc.id,fl=zc.value,Bc=zc.location;return cc in As&&pd('Duplicate option "'+cc+'" in plural element: "'+Vl()+'"',hu()),As[cc]={value:fl,location:Bc},As},{})},bc())},Ss="select",Js=ql("select",!1),Mo=function(qr,yi){return Q({type:x.select,value:qr,options:yi.reduce(function(Ki,uo){var As=uo.id,zc=uo.value,cc=uo.location;return As in Ki&&pd('Duplicate option "'+As+'" in select element: "'+Vl()+'"',hu()),Ki[As]={value:zc,location:cc},Ki},{})},bc())},js="=",Yc=ql("=",!1),gc=function(qr){return Zs.push("select"),!0},Cl=function(qr,yi){return Zs.pop(),Q({id:qr,value:yi},bc())},wl=function(qr){return Zs.push("plural"),!0},Wc=function(qr,yi){return Zs.pop(),Q({id:qr,value:yi},bc())},nl=nd("whitespace"),Rc=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,su=Ru([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),Pl=nd("syntax pattern"),al=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ml=Ru([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!1,!1),Tl=nd("optional whitespace"),td=nd("number"),rl="-",dl=ql("-",!1),qt=function(qr,yi){return yi?qr?-yi:yi:0},nr=nd("apostrophe"),Ur=nd("double apostrophes"),Yr="''",ni=ql("''",!1),vi=function(){return"'"},zr=function(qr,yi){return qr+yi.replace("''","'")},wr=function(qr){return qr!=="{"&&!(Hs()&&qr==="#")&&!(Sc()&&qr==="}")},Ua=`
`,La=ql(`
`,!1),Nr=function(qr){return qr==="{"||qr==="}"||Hs()&&qr==="#"},ua=nd("argNameOrNumber"),ra=nd("argNumber"),ri="0",li=ql("0",!1),hi=function(){return 0},ii=/^[1-9]/,Di=Ru([["1","9"]],!1,!1),Xo=/^[0-9]/,ps=Ru([["0","9"]],!1,!1),mc=function(qr){return parseInt(qr.join(""),10)},Ts=nd("argName"),Ar=0,Gs=0,Nc=[{line:1,column:1}],Jc=0,Fc=[],Ro=0,Dl;if(xn.startRule!==void 0){if(!(xn.startRule in mr))throw new Error(`Can't start parsing from rule "`+xn.startRule+'".');ta=mr[xn.startRule]}function Vl(){return On.substring(Gs,Ar)}function hu(){return ml(Gs,Ar)}function ru(cr,qr){throw qr=qr!==void 0?qr:ml(Gs,Ar),cd([nd(cr)],On.substring(Gs,Ar),qr)}function pd(cr,qr){throw qr=qr!==void 0?qr:ml(Gs,Ar),wu(cr,qr)}function ql(cr,qr){return{type:"literal",text:cr,ignoreCase:qr}}function Ru(cr,qr,yi){return{type:"class",parts:cr,inverted:qr,ignoreCase:yi}}function Hl(){return{type:"any"}}function fu(){return{type:"end"}}function nd(cr){return{type:"other",description:cr}}function bd(cr){var qr=Nc[cr],yi;if(qr)return qr;for(yi=cr-1;!Nc[yi];)yi--;for(qr=Nc[yi],qr={line:qr.line,column:qr.column};yi<cr;)On.charCodeAt(yi)===10?(qr.line++,qr.column=1):qr.column++,yi++;return Nc[cr]=qr,qr}function ml(cr,qr){var yi=bd(cr),Ki=bd(qr);return{start:{offset:cr,line:yi.line,column:yi.column},end:{offset:qr,line:Ki.line,column:Ki.column}}}function os(cr){Ar<Jc||(Ar>Jc&&(Jc=Ar,Fc=[]),Fc.push(cr))}function wu(cr,qr){return new W(cr,[],"",qr)}function cd(cr,qr,yi){return new W(W.buildMessage(cr,qr),cr,qr,yi)}function Ud(){var cr;return cr=Eu(),cr}function Eu(){var cr,qr;for(cr=[],qr=El();qr!==Rt;)cr.push(qr),qr=El();return cr}function El(){var cr;return cr=rd(),cr===Rt&&(cr=Dr(),cr===Rt&&(cr=sr(),cr===Rt&&(cr=lr(),cr===Rt&&(cr=_a(),cr===Rt&&(cr=yn()))))),cr}function eu(){var cr,qr,yi;if(cr=Ar,qr=[],yi=xs(),yi===Rt&&(yi=ms(),yi===Rt&&(yi=ys())),yi!==Rt)for(;yi!==Rt;)qr.push(yi),yi=xs(),yi===Rt&&(yi=ms(),yi===Rt&&(yi=ys()));else qr=Rt;return qr!==Rt&&(Gs=cr,qr=ma(qr)),cr=qr,cr}function rd(){var cr,qr;return cr=Ar,qr=eu(),qr!==Rt&&(Gs=cr,qr=Oa(qr)),cr=qr,cr}function yn(){var cr,qr;return cr=Ar,On.charCodeAt(Ar)===35?(qr=Pn,Ar++):(qr=Rt,Ro===0&&os(Kr)),qr!==Rt&&(Gs=cr,qr=Vn()),cr=qr,cr}function Dr(){var cr,qr,yi,Ki,uo,As;return Ro++,cr=Ar,On.charCodeAt(Ar)===123?(qr=Ea,Ar++):(qr=Rt,Ro===0&&os(Ja)),qr!==Rt?(yi=ho(),yi!==Rt?(Ki=Po(),Ki!==Rt?(uo=ho(),uo!==Rt?(On.charCodeAt(Ar)===125?(As=go,Ar++):(As=Rt,Ro===0&&os(fi)),As!==Rt?(Gs=cr,qr=lo(Ki),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(tr)),cr}function Xr(){var cr,qr,yi,Ki,uo;if(Ro++,cr=Ar,qr=[],yi=Ar,Ki=Ar,Ro++,uo=Ci(),uo===Rt&&(io.test(On.charAt(Ar))?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(Vi))),Ro--,uo===Rt?Ki=void 0:(Ar=Ki,Ki=Rt),Ki!==Rt?(On.length>Ar?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(vo)),uo!==Rt?(Ki=[Ki,uo],yi=Ki):(Ar=yi,yi=Rt)):(Ar=yi,yi=Rt),yi!==Rt)for(;yi!==Rt;)qr.push(yi),yi=Ar,Ki=Ar,Ro++,uo=Ci(),uo===Rt&&(io.test(On.charAt(Ar))?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(Vi))),Ro--,uo===Rt?Ki=void 0:(Ar=Ki,Ki=Rt),Ki!==Rt?(On.length>Ar?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(vo)),uo!==Rt?(Ki=[Ki,uo],yi=Ki):(Ar=yi,yi=Rt)):(Ar=yi,yi=Rt);else qr=Rt;return qr!==Rt?cr=On.substring(cr,Ar):cr=qr,Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(Oi)),cr}function Ta(){var cr,qr,yi;return Ro++,cr=Ar,On.charCodeAt(Ar)===47?(qr=hs,Ar++):(qr=Rt,Ro===0&&os($t)),qr!==Rt?(yi=Xr(),yi!==Rt?(Gs=cr,qr=rt(yi),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(qo)),cr}function Ra(){var cr,qr,yi,Ki,uo;if(Ro++,cr=Ar,qr=ho(),qr!==Rt)if(yi=Xr(),yi!==Rt){for(Ki=[],uo=Ta();uo!==Rt;)Ki.push(uo),uo=Ta();Ki!==Rt?(Gs=cr,qr=tn(yi,Ki),cr=qr):(Ar=cr,cr=Rt)}else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;return Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(Vt)),cr}function wi(){var cr,qr,yi;if(cr=Ar,qr=[],yi=Ra(),yi!==Rt)for(;yi!==Rt;)qr.push(yi),yi=Ra();else qr=Rt;return qr!==Rt&&(Gs=cr,qr=wn(qr)),cr=qr,cr}function mo(){var cr,qr,yi;return cr=Ar,On.substr(Ar,2)===qn?(qr=qn,Ar+=2):(qr=Rt,Ro===0&&os(zn)),qr!==Rt?(yi=wi(),yi!==Rt?(Gs=cr,qr=xr(yi),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),cr===Rt&&(cr=Ar,Gs=Ar,qr=da(),qr?qr=void 0:qr=Rt,qr!==Rt?(yi=eu(),yi!==Rt?(Gs=cr,qr=en(yi),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)),cr}function Yi(){var cr,qr,yi,Ki,uo,As,zc,cc,fl,Bc,Gl,Fl,pl;return cr=Ar,On.charCodeAt(Ar)===123?(qr=Ea,Ar++):(qr=Rt,Ro===0&&os(Ja)),qr!==Rt?(yi=ho(),yi!==Rt?(Ki=Po(),Ki!==Rt?(uo=ho(),uo!==Rt?(On.charCodeAt(Ar)===44?(As=Fn,Ar++):(As=Rt,Ro===0&&os(Jn)),As!==Rt?(zc=ho(),zc!==Rt?(On.substr(Ar,6)===Ir?(cc=Ir,Ar+=6):(cc=Rt,Ro===0&&os(Gr)),cc!==Rt?(fl=ho(),fl!==Rt?(Bc=Ar,On.charCodeAt(Ar)===44?(Gl=Fn,Ar++):(Gl=Rt,Ro===0&&os(Jn)),Gl!==Rt?(Fl=ho(),Fl!==Rt?(pl=mo(),pl!==Rt?(Gl=[Gl,Fl,pl],Bc=Gl):(Ar=Bc,Bc=Rt)):(Ar=Bc,Bc=Rt)):(Ar=Bc,Bc=Rt),Bc===Rt&&(Bc=null),Bc!==Rt?(Gl=ho(),Gl!==Rt?(On.charCodeAt(Ar)===125?(Fl=go,Ar++):(Fl=Rt,Ro===0&&os(fi)),Fl!==Rt?(Gs=cr,qr=ga(Ki,cc,Bc),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),cr}function Ji(){var cr,qr,yi,Ki;if(cr=Ar,On.charCodeAt(Ar)===39?(qr=Mr,Ar++):(qr=Rt,Ro===0&&os($a)),qr!==Rt){if(yi=[],Ki=xs(),Ki===Rt&&(Ya.test(On.charAt(Ar))?(Ki=On.charAt(Ar),Ar++):(Ki=Rt,Ro===0&&os(_o))),Ki!==Rt)for(;Ki!==Rt;)yi.push(Ki),Ki=xs(),Ki===Rt&&(Ya.test(On.charAt(Ar))?(Ki=On.charAt(Ar),Ar++):(Ki=Rt,Ro===0&&os(_o)));else yi=Rt;yi!==Rt?(On.charCodeAt(Ar)===39?(Ki=Mr,Ar++):(Ki=Rt,Ro===0&&os($a)),Ki!==Rt?(qr=[qr,yi,Ki],cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)}else Ar=cr,cr=Rt;if(cr===Rt)if(cr=[],qr=xs(),qr===Rt&&(Ni.test(On.charAt(Ar))?(qr=On.charAt(Ar),Ar++):(qr=Rt,Ro===0&&os(ec))),qr!==Rt)for(;qr!==Rt;)cr.push(qr),qr=xs(),qr===Rt&&(Ni.test(On.charAt(Ar))?(qr=On.charAt(Ar),Ar++):(qr=Rt,Ro===0&&os(ec)));else cr=Rt;return cr}function Vs(){var cr,qr;if(cr=[],ks.test(On.charAt(Ar))?(qr=On.charAt(Ar),Ar++):(qr=Rt,Ro===0&&os(jo)),qr!==Rt)for(;qr!==Rt;)cr.push(qr),ks.test(On.charAt(Ar))?(qr=On.charAt(Ar),Ar++):(qr=Rt,Ro===0&&os(jo));else cr=Rt;return cr}function Jo(){var cr,qr,yi,Ki;if(cr=Ar,qr=Ar,yi=[],Ki=Ji(),Ki===Rt&&(Ki=Vs()),Ki!==Rt)for(;Ki!==Rt;)yi.push(Ki),Ki=Ji(),Ki===Rt&&(Ki=Vs());else yi=Rt;return yi!==Rt?qr=On.substring(qr,Ar):qr=yi,qr!==Rt&&(Gs=cr,qr=Qn(qr)),cr=qr,cr}function dn(){var cr,qr,yi;return cr=Ar,On.substr(Ar,2)===qn?(qr=qn,Ar+=2):(qr=Rt,Ro===0&&os(zn)),qr!==Rt?(yi=Jo(),yi!==Rt?(Gs=cr,qr=xr(yi),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),cr===Rt&&(cr=Ar,Gs=Ar,qr=ka(),qr?qr=void 0:qr=Rt,qr!==Rt?(yi=eu(),yi!==Rt?(Gs=cr,qr=en(yi),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)),cr}function pn(){var cr,qr,yi,Ki,uo,As,zc,cc,fl,Bc,Gl,Fl,pl;return cr=Ar,On.charCodeAt(Ar)===123?(qr=Ea,Ar++):(qr=Rt,Ro===0&&os(Ja)),qr!==Rt?(yi=ho(),yi!==Rt?(Ki=Po(),Ki!==Rt?(uo=ho(),uo!==Rt?(On.charCodeAt(Ar)===44?(As=Fn,Ar++):(As=Rt,Ro===0&&os(Jn)),As!==Rt?(zc=ho(),zc!==Rt?(On.substr(Ar,4)===Pa?(cc=Pa,Ar+=4):(cc=Rt,Ro===0&&os(Qa)),cc===Rt&&(On.substr(Ar,4)===Ei?(cc=Ei,Ar+=4):(cc=Rt,Ro===0&&os(zo))),cc!==Rt?(fl=ho(),fl!==Rt?(Bc=Ar,On.charCodeAt(Ar)===44?(Gl=Fn,Ar++):(Gl=Rt,Ro===0&&os(Jn)),Gl!==Rt?(Fl=ho(),Fl!==Rt?(pl=dn(),pl!==Rt?(Gl=[Gl,Fl,pl],Bc=Gl):(Ar=Bc,Bc=Rt)):(Ar=Bc,Bc=Rt)):(Ar=Bc,Bc=Rt),Bc===Rt&&(Bc=null),Bc!==Rt?(Gl=ho(),Gl!==Rt?(On.charCodeAt(Ar)===125?(Fl=go,Ar++):(Fl=Rt,Ro===0&&os(fi)),Fl!==Rt?(Gs=cr,qr=ga(Ki,cc,Bc),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),cr}function sr(){var cr;return cr=Yi(),cr===Rt&&(cr=pn()),cr}function lr(){var cr,qr,yi,Ki,uo,As,zc,cc,fl,Bc,Gl,Fl,pl,gu,bl,tu;if(cr=Ar,On.charCodeAt(Ar)===123?(qr=Ea,Ar++):(qr=Rt,Ro===0&&os(Ja)),qr!==Rt)if(yi=ho(),yi!==Rt)if(Ki=Po(),Ki!==Rt)if(uo=ho(),uo!==Rt)if(On.charCodeAt(Ar)===44?(As=Fn,Ar++):(As=Rt,Ro===0&&os(Jn)),As!==Rt)if(zc=ho(),zc!==Rt)if(On.substr(Ar,6)===fo?(cc=fo,Ar+=6):(cc=Rt,Ro===0&&os(gs)),cc===Rt&&(On.substr(Ar,13)===Ks?(cc=Ks,Ar+=13):(cc=Rt,Ro===0&&os(pc))),cc!==Rt)if(fl=ho(),fl!==Rt)if(On.charCodeAt(Ar)===44?(Bc=Fn,Ar++):(Bc=Rt,Ro===0&&os(Jn)),Bc!==Rt)if(Gl=ho(),Gl!==Rt)if(Fl=Ar,On.substr(Ar,7)===tc?(pl=tc,Ar+=7):(pl=Rt,Ro===0&&os(xc)),pl!==Rt?(gu=ho(),gu!==Rt?(bl=Io(),bl!==Rt?(pl=[pl,gu,bl],Fl=pl):(Ar=Fl,Fl=Rt)):(Ar=Fl,Fl=Rt)):(Ar=Fl,Fl=Rt),Fl===Rt&&(Fl=null),Fl!==Rt)if(pl=ho(),pl!==Rt){if(gu=[],bl=di(),bl!==Rt)for(;bl!==Rt;)gu.push(bl),bl=di();else gu=Rt;gu!==Rt?(bl=ho(),bl!==Rt?(On.charCodeAt(Ar)===125?(tu=go,Ar++):(tu=Rt,Ro===0&&os(fi)),tu!==Rt?(Gs=cr,qr=kc(Ki,cc,Fl,gu),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)}else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;return cr}function _a(){var cr,qr,yi,Ki,uo,As,zc,cc,fl,Bc,Gl,Fl,pl,gu;if(cr=Ar,On.charCodeAt(Ar)===123?(qr=Ea,Ar++):(qr=Rt,Ro===0&&os(Ja)),qr!==Rt)if(yi=ho(),yi!==Rt)if(Ki=Po(),Ki!==Rt)if(uo=ho(),uo!==Rt)if(On.charCodeAt(Ar)===44?(As=Fn,Ar++):(As=Rt,Ro===0&&os(Jn)),As!==Rt)if(zc=ho(),zc!==Rt)if(On.substr(Ar,6)===Ss?(cc=Ss,Ar+=6):(cc=Rt,Ro===0&&os(Js)),cc!==Rt)if(fl=ho(),fl!==Rt)if(On.charCodeAt(Ar)===44?(Bc=Fn,Ar++):(Bc=Rt,Ro===0&&os(Jn)),Bc!==Rt)if(Gl=ho(),Gl!==Rt){if(Fl=[],pl=Va(),pl!==Rt)for(;pl!==Rt;)Fl.push(pl),pl=Va();else Fl=Rt;Fl!==Rt?(pl=ho(),pl!==Rt?(On.charCodeAt(Ar)===125?(gu=go,Ar++):(gu=Rt,Ro===0&&os(fi)),gu!==Rt?(Gs=cr,qr=Mo(Ki,Fl),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)}else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;return cr}function Fa(){var cr,qr,yi,Ki;return cr=Ar,qr=Ar,On.charCodeAt(Ar)===61?(yi=js,Ar++):(yi=Rt,Ro===0&&os(Yc)),yi!==Rt?(Ki=Io(),Ki!==Rt?(yi=[yi,Ki],qr=yi):(Ar=qr,qr=Rt)):(Ar=qr,qr=Rt),qr!==Rt?cr=On.substring(cr,Ar):cr=qr,cr===Rt&&(cr=Ls()),cr}function Va(){var cr,qr,yi,Ki,uo,As,zc,cc;return cr=Ar,qr=ho(),qr!==Rt?(yi=Ls(),yi!==Rt?(Ki=ho(),Ki!==Rt?(On.charCodeAt(Ar)===123?(uo=Ea,Ar++):(uo=Rt,Ro===0&&os(Ja)),uo!==Rt?(Gs=Ar,As=gc(yi),As?As=void 0:As=Rt,As!==Rt?(zc=Eu(),zc!==Rt?(On.charCodeAt(Ar)===125?(cc=go,Ar++):(cc=Rt,Ro===0&&os(fi)),cc!==Rt?(Gs=cr,qr=Cl(yi,zc),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),cr}function di(){var cr,qr,yi,Ki,uo,As,zc,cc;return cr=Ar,qr=ho(),qr!==Rt?(yi=Fa(),yi!==Rt?(Ki=ho(),Ki!==Rt?(On.charCodeAt(Ar)===123?(uo=Ea,Ar++):(uo=Rt,Ro===0&&os(Ja)),uo!==Rt?(Gs=Ar,As=wl(yi),As?As=void 0:As=Rt,As!==Rt?(zc=Eu(),zc!==Rt?(On.charCodeAt(Ar)===125?(cc=go,Ar++):(cc=Rt,Ro===0&&os(fi)),cc!==Rt?(Gs=cr,qr=Wc(yi,zc),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),cr}function Ci(){var cr,qr;return Ro++,Rc.test(On.charAt(Ar))?(cr=On.charAt(Ar),Ar++):(cr=Rt,Ro===0&&os(su)),Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(nl)),cr}function wo(){var cr,qr;return Ro++,al.test(On.charAt(Ar))?(cr=On.charAt(Ar),Ar++):(cr=Rt,Ro===0&&os(Ml)),Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(Pl)),cr}function ho(){var cr,qr,yi;for(Ro++,cr=Ar,qr=[],yi=Ci();yi!==Rt;)qr.push(yi),yi=Ci();return qr!==Rt?cr=On.substring(cr,Ar):cr=qr,Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(Tl)),cr}function Io(){var cr,qr,yi;return Ro++,cr=Ar,On.charCodeAt(Ar)===45?(qr=rl,Ar++):(qr=Rt,Ro===0&&os(dl)),qr===Rt&&(qr=null),qr!==Rt?(yi=yr(),yi!==Rt?(Gs=cr,qr=qt(qr,yi),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt),Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(td)),cr}function Fo(){var cr,qr;return Ro++,On.charCodeAt(Ar)===39?(cr=Mr,Ar++):(cr=Rt,Ro===0&&os($a)),Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(nr)),cr}function xs(){var cr,qr;return Ro++,cr=Ar,On.substr(Ar,2)===Yr?(qr=Yr,Ar+=2):(qr=Rt,Ro===0&&os(ni)),qr!==Rt&&(Gs=cr,qr=vi()),cr=qr,Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(Ur)),cr}function ms(){var cr,qr,yi,Ki,uo,As;if(cr=Ar,On.charCodeAt(Ar)===39?(qr=Mr,Ar++):(qr=Rt,Ro===0&&os($a)),qr!==Rt)if(yi=bs(),yi!==Rt){for(Ki=Ar,uo=[],On.substr(Ar,2)===Yr?(As=Yr,Ar+=2):(As=Rt,Ro===0&&os(ni)),As===Rt&&(Ya.test(On.charAt(Ar))?(As=On.charAt(Ar),Ar++):(As=Rt,Ro===0&&os(_o)));As!==Rt;)uo.push(As),On.substr(Ar,2)===Yr?(As=Yr,Ar+=2):(As=Rt,Ro===0&&os(ni)),As===Rt&&(Ya.test(On.charAt(Ar))?(As=On.charAt(Ar),Ar++):(As=Rt,Ro===0&&os(_o)));uo!==Rt?Ki=On.substring(Ki,Ar):Ki=uo,Ki!==Rt?(On.charCodeAt(Ar)===39?(uo=Mr,Ar++):(uo=Rt,Ro===0&&os($a)),uo===Rt&&(uo=null),uo!==Rt?(Gs=cr,qr=zr(yi,Ki),cr=qr):(Ar=cr,cr=Rt)):(Ar=cr,cr=Rt)}else Ar=cr,cr=Rt;else Ar=cr,cr=Rt;return cr}function ys(){var cr,qr,yi,Ki;return cr=Ar,qr=Ar,On.length>Ar?(yi=On.charAt(Ar),Ar++):(yi=Rt,Ro===0&&os(vo)),yi!==Rt?(Gs=Ar,Ki=wr(yi),Ki?Ki=void 0:Ki=Rt,Ki!==Rt?(yi=[yi,Ki],qr=yi):(Ar=qr,qr=Rt)):(Ar=qr,qr=Rt),qr===Rt&&(On.charCodeAt(Ar)===10?(qr=Ua,Ar++):(qr=Rt,Ro===0&&os(La))),qr!==Rt?cr=On.substring(cr,Ar):cr=qr,cr}function bs(){var cr,qr,yi,Ki;return cr=Ar,qr=Ar,On.length>Ar?(yi=On.charAt(Ar),Ar++):(yi=Rt,Ro===0&&os(vo)),yi!==Rt?(Gs=Ar,Ki=Nr(yi),Ki?Ki=void 0:Ki=Rt,Ki!==Rt?(yi=[yi,Ki],qr=yi):(Ar=qr,qr=Rt)):(Ar=qr,qr=Rt),qr!==Rt?cr=On.substring(cr,Ar):cr=qr,cr}function Po(){var cr,qr;return Ro++,cr=Ar,qr=yr(),qr===Rt&&(qr=Ls()),qr!==Rt?cr=On.substring(cr,Ar):cr=qr,Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(ua)),cr}function yr(){var cr,qr,yi,Ki,uo;if(Ro++,cr=Ar,On.charCodeAt(Ar)===48?(qr=ri,Ar++):(qr=Rt,Ro===0&&os(li)),qr!==Rt&&(Gs=cr,qr=hi()),cr=qr,cr===Rt){if(cr=Ar,qr=Ar,ii.test(On.charAt(Ar))?(yi=On.charAt(Ar),Ar++):(yi=Rt,Ro===0&&os(Di)),yi!==Rt){for(Ki=[],Xo.test(On.charAt(Ar))?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(ps));uo!==Rt;)Ki.push(uo),Xo.test(On.charAt(Ar))?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(ps));Ki!==Rt?(yi=[yi,Ki],qr=yi):(Ar=qr,qr=Rt)}else Ar=qr,qr=Rt;qr!==Rt&&(Gs=cr,qr=mc(qr)),cr=qr}return Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(ra)),cr}function Ls(){var cr,qr,yi,Ki,uo;if(Ro++,cr=Ar,qr=[],yi=Ar,Ki=Ar,Ro++,uo=Ci(),uo===Rt&&(uo=wo()),Ro--,uo===Rt?Ki=void 0:(Ar=Ki,Ki=Rt),Ki!==Rt?(On.length>Ar?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(vo)),uo!==Rt?(Ki=[Ki,uo],yi=Ki):(Ar=yi,yi=Rt)):(Ar=yi,yi=Rt),yi!==Rt)for(;yi!==Rt;)qr.push(yi),yi=Ar,Ki=Ar,Ro++,uo=Ci(),uo===Rt&&(uo=wo()),Ro--,uo===Rt?Ki=void 0:(Ar=Ki,Ki=Rt),Ki!==Rt?(On.length>Ar?(uo=On.charAt(Ar),Ar++):(uo=Rt,Ro===0&&os(vo)),uo!==Rt?(Ki=[Ki,uo],yi=Ki):(Ar=yi,yi=Rt)):(Ar=yi,yi=Rt);else qr=Rt;return qr!==Rt?cr=On.substring(cr,Ar):cr=qr,Ro--,cr===Rt&&(qr=Rt,Ro===0&&os(Ts)),cr}var Zs=["root"];function Sc(){return Zs.length>1}function Hs(){return Zs[Zs.length-1]==="plural"}function bc(){return xn&&xn.captureLocation?{location:hu()}:{}}if(Dl=ta(),Dl!==Rt&&Ar===On.length)return Dl;throw Dl!==Rt&&Ar<On.length&&os(fu()),cd(Fc,Jc<On.length?On.charAt(Jc):null,Jc<On.length?ml(Jc,Jc+1):ml(Jc,Jc))}var te=ne,_e=function(){for(var On=0,xn=0,Rt=arguments.length;xn<Rt;xn++)On+=arguments[xn].length;for(var mr=Array(On),ta=0,xn=0;xn<Rt;xn++)for(var ma=arguments[xn],Oa=0,Pn=ma.length;Oa<Pn;Oa++,ta++)mr[ta]=ma[Oa];return mr},he=/(^|[^\\])#/g;function oe(On){On.forEach(function(xn){!U(xn)&&!B(xn)||Object.keys(xn.options).forEach(function(Rt){for(var mr,ta=xn.options[Rt],ma=-1,Oa=void 0,Pn=0;Pn<ta.value.length;Pn++){var Kr=ta.value[Pn];if(T(Kr)&&he.test(Kr.value)){ma=Pn,Oa=Kr;break}}if(Oa){var Vn=Oa.value.replace(he,"$1{"+xn.value+", number}"),tr=te(Vn);(mr=ta.value).splice.apply(mr,_e([ma,1],tr))}oe(ta.value)})})}function ge(On,xn){var Rt=te(On,xn);return(!xn||xn.normalizeHashtagInPlural!==!1)&&oe(Rt),Rt}var me=function(){for(var On=0,xn=0,Rt=arguments.length;xn<Rt;xn++)On+=arguments[xn].length;for(var mr=Array(On),ta=0,xn=0;xn<Rt;xn++)for(var ma=arguments[xn],Oa=0,Pn=ma.length;Oa<Pn;Oa++,ta++)mr[ta]=ma[Oa];return mr};function Z(On){return JSON.stringify(On.map(function(xn){return xn&&typeof xn=="object"?xe(xn):xn}))}function xe(On){return Object.keys(On).sort().map(function(xn){var Rt;return Rt={},Rt[xn]=On[xn],Rt})}var Ee=function(xn,Rt){return Rt===void 0&&(Rt={}),function(){for(var mr,ta=[],ma=0;ma<arguments.length;ma++)ta[ma]=arguments[ma];var Oa=Z(ta),Pn=Oa&&Rt[Oa];return Pn||(Pn=new((mr=xn).bind.apply(mr,me([void 0],ta))),Oa&&(Rt[Oa]=Pn)),Pn}},Le=Ee,we=function(){return we=Object.assign||function(On){for(var xn,Rt=1,mr=arguments.length;Rt<mr;Rt++){xn=arguments[Rt];for(var ta in xn)Object.prototype.hasOwnProperty.call(xn,ta)&&(On[ta]=xn[ta])}return On},we.apply(this,arguments)},fe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function pe(On){var xn={};return On.replace(fe,function(Rt){var mr=Rt.length;switch(Rt[0]){case"G":xn.era=mr===4?"long":mr===5?"narrow":"short";break;case"y":xn.year=mr===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":xn.month=["numeric","2-digit","short","long","narrow"][mr-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":xn.day=["numeric","2-digit"][mr-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":xn.weekday=mr===4?"short":mr===5?"narrow":"short";break;case"e":if(mr<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");xn.weekday=["short","long","narrow","short"][mr-4];break;case"c":if(mr<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");xn.weekday=["short","long","narrow","short"][mr-4];break;case"a":xn.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":xn.hourCycle="h12",xn.hour=["numeric","2-digit"][mr-1];break;case"H":xn.hourCycle="h23",xn.hour=["numeric","2-digit"][mr-1];break;case"K":xn.hourCycle="h11",xn.hour=["numeric","2-digit"][mr-1];break;case"k":xn.hourCycle="h24",xn.hour=["numeric","2-digit"][mr-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":xn.minute=["numeric","2-digit"][mr-1];break;case"s":xn.second=["numeric","2-digit"][mr-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":xn.timeZoneName=mr<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),xn}function Ke(On){return On.replace(/^(.*?)-/,"")}var Me=/^\.(?:(0+)(\+|#+)?)?$/g,ze=/^(@+)?(\+|#+)?$/g;function Ue(On){var xn={};return On.replace(ze,function(Rt,mr,ta){return typeof ta!="string"?(xn.minimumSignificantDigits=mr.length,xn.maximumSignificantDigits=mr.length):ta==="+"?xn.minimumSignificantDigits=mr.length:mr[0]==="#"?xn.maximumSignificantDigits=mr.length:(xn.minimumSignificantDigits=mr.length,xn.maximumSignificantDigits=mr.length+(typeof ta=="string"?ta.length:0)),""}),xn}function He(On){switch(On){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function Ne(On){var xn={},Rt=He(On);return Rt||xn}function it(On){for(var xn={},Rt=0,mr=On;Rt<mr.length;Rt++){var ta=mr[Rt];switch(ta.stem){case"percent":xn.style="percent";continue;case"currency":xn.style="currency",xn.currency=ta.options[0];continue;case"group-off":xn.useGrouping=!1;continue;case"precision-integer":xn.maximumFractionDigits=0;continue;case"measure-unit":xn.style="unit",xn.unit=Ke(ta.options[0]);continue;case"compact-short":xn.notation="compact",xn.compactDisplay="short";continue;case"compact-long":xn.notation="compact",xn.compactDisplay="long";continue;case"scientific":xn=we(we(we({},xn),{notation:"scientific"}),ta.options.reduce(function(Oa,Pn){return we(we({},Oa),Ne(Pn))},{}));continue;case"engineering":xn=we(we(we({},xn),{notation:"engineering"}),ta.options.reduce(function(Oa,Pn){return we(we({},Oa),Ne(Pn))},{}));continue;case"notation-simple":xn.notation="standard";continue;case"unit-width-narrow":xn.currencyDisplay="narrowSymbol",xn.unitDisplay="narrow";continue;case"unit-width-short":xn.currencyDisplay="code",xn.unitDisplay="short";continue;case"unit-width-full-name":xn.currencyDisplay="name",xn.unitDisplay="long";continue;case"unit-width-iso-code":xn.currencyDisplay="symbol";continue}if(Me.test(ta.stem)){if(ta.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ta.stem.replace(Me,function(Oa,Pn,Kr){return Oa==="."?xn.maximumFractionDigits=0:Kr==="+"?xn.minimumFractionDigits=Kr.length:Pn[0]==="#"?xn.maximumFractionDigits=Pn.length:(xn.minimumFractionDigits=Pn.length,xn.maximumFractionDigits=Pn.length+(typeof Kr=="string"?Kr.length:0)),""}),ta.options.length&&(xn=we(we({},xn),Ue(ta.options[0])));continue}if(ze.test(ta.stem)){xn=we(we({},xn),Ue(ta.stem));continue}var ma=He(ta.stem);ma&&(xn=we(we({},xn),ma))}return xn}var Xe=function(){var On=function(Rt,mr){return On=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ta,ma){ta.__proto__=ma}||function(ta,ma){for(var Oa in ma)ma.hasOwnProperty(Oa)&&(ta[Oa]=ma[Oa])},On(Rt,mr)};return function(xn,Rt){On(xn,Rt);function mr(){this.constructor=xn}xn.prototype=Rt===null?Object.create(Rt):(mr.prototype=Rt.prototype,new mr)}}(),ht=function(){for(var On=0,xn=0,Rt=arguments.length;xn<Rt;xn++)On+=arguments[xn].length;for(var mr=Array(On),ta=0,xn=0;xn<Rt;xn++)for(var ma=arguments[xn],Oa=0,Pn=ma.length;Oa<Pn;Oa++,ta++)mr[ta]=ma[Oa];return mr},lt=function(On){Xe(xn,On);function xn(Rt,mr){var ta=On.call(this,Rt)||this;return ta.variableId=mr,ta}return xn}(Error);function Et(On){return On.length<2?On:On.reduce(function(xn,Rt){var mr=xn[xn.length-1];return!mr||mr.type!==0||Rt.type!==0?xn.push(Rt):mr.value+=Rt.value,xn},[])}function tt(On,xn,Rt,mr,ta,ma,Oa){if(On.length===1&&T(On[0]))return[{type:0,value:On[0].value}];for(var Pn=[],Kr=0,Vn=On;Kr<Vn.length;Kr++){var tr=Vn[Kr];if(T(tr)){Pn.push({type:0,value:tr.value});continue}if(J(tr)){typeof ma=="number"&&Pn.push({type:0,value:Rt.getNumberFormat(xn).format(ma)});continue}var Ea=tr.value;if(!(ta&&Ea in ta))throw new lt('The intl string context variable "'+Ea+'" was not provided to the string "'+Oa+'"');var Ja=ta[Ea];if(j(tr)){(!Ja||typeof Ja=="string"||typeof Ja=="number")&&(Ja=typeof Ja=="string"||typeof Ja=="number"?String(Ja):""),Pn.push({type:1,value:Ja});continue}if(N(tr)){var go=typeof tr.style=="string"?mr.date[tr.style]:void 0;Pn.push({type:0,value:Rt.getDateTimeFormat(xn,go).format(Ja)});continue}if(F(tr)){var go=typeof tr.style=="string"?mr.time[tr.style]:X(tr.style)?pe(tr.style.pattern):void 0;Pn.push({type:0,value:Rt.getDateTimeFormat(xn,go).format(Ja)});continue}if(D(tr)){var go=typeof tr.style=="string"?mr.number[tr.style]:$(tr.style)?it(tr.style.tokens):void 0;Pn.push({type:0,value:Rt.getNumberFormat(xn,go).format(Ja)});continue}if(B(tr)){var fi=tr.options[Ja]||tr.options.other;if(!fi)throw new RangeError('Invalid values for "'+tr.value+'": "'+Ja+'". Options are "'+Object.keys(tr.options).join('", "')+'"');Pn.push.apply(Pn,tt(fi.value,xn,Rt,mr,ta));continue}if(U(tr)){var fi=tr.options["="+Ja];if(!fi){if(!Intl.PluralRules)throw new lt(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`);var lo=Rt.getPluralRules(xn,{type:tr.pluralType}).select(Ja-(tr.offset||0));fi=tr.options[lo]||tr.options.other}if(!fi)throw new RangeError('Invalid values for "'+tr.value+'": "'+Ja+'". Options are "'+Object.keys(tr.options).join('", "')+'"');Pn.push.apply(Pn,tt(fi.value,xn,Rt,mr,ta,Ja-(tr.offset||0)));continue}}return Et(Pn)}function mt(On,xn,Rt,mr,ta,ma){var Oa=tt(On,xn,Rt,mr,ta,void 0,ma);return Oa.length===1?Oa[0].value:Oa.reduce(function(Pn,Kr){return Pn+=Kr.value},"")}var xt,Xt="@@",vt=/@@(\d+_\d+)@@/g,qe=0;function Re(){return Date.now()+"_"+ ++qe}function Se(On,xn){return On.split(vt).filter(Boolean).map(function(Rt){return xn[Rt]!=null?xn[Rt]:Rt}).reduce(function(Rt,mr){return Rt.length&&typeof mr=="string"&&typeof Rt[Rt.length-1]=="string"?Rt[Rt.length-1]+=mr:Rt.push(mr),Rt},[])}var Ve=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ge=Date.now()+"@@",_t=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function bt(On,xn,Rt){var mr=On.tagName,ta=On.outerHTML,ma=On.textContent,Oa=On.childNodes;if(!mr)return Se(ma||"",xn);mr=mr.toLowerCase();var Pn=~_t.indexOf(mr),Kr=Rt[mr];if(Kr&&Pn)throw new lt(mr+" is a self-closing tag and can not be used, please use another tag name.");if(!Oa.length)return[ta];var Vn=Array.prototype.slice.call(Oa).reduce(function(tr,Ea){return tr.concat(bt(Ea,xn,Rt))},[]);return Kr?typeof Kr=="function"?[Kr.apply(void 0,Vn)]:[Kr]:ht(["<"+mr+">"],Vn,["</"+mr+">"])}function gt(On,xn,Rt,mr,ta,ma){var Oa=tt(On,xn,Rt,mr,ta,void 0,ma),Pn={},Kr=Oa.reduce(function(Ja,go){if(go.type===0)return Ja+=go.value;var fi=Re();return Pn[fi]=go.value,Ja+=""+Xt+fi+Xt},"");if(!Ve.test(Kr))return Se(Kr,Pn);if(!ta)throw new lt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new lt("Cannot format XML message without DOMParser");xt||(xt=new DOMParser);var Vn=xt.parseFromString('<formatted-message id="'+Ge+'">'+Kr+"</formatted-message>","text/html").getElementById(Ge);if(!Vn)throw new lt("Malformed HTML message "+Kr);var tr=Object.keys(ta).filter(function(Ja){return!!Vn.getElementsByTagName(Ja).length});if(!tr.length)return Se(Kr,Pn);var Ea=tr.filter(function(Ja){return Ja!==Ja.toLowerCase()});if(Ea.length)throw new lt("HTML tag must be lowercased but the following tags are not: "+Ea.join(", "));return Array.prototype.slice.call(Vn.childNodes).reduce(function(Ja,go){return Ja.concat(bt(go,Pn,ta))},[])}var at=function(){return at=Object.assign||function(On){for(var xn,Rt=1,mr=arguments.length;Rt<mr;Rt++){xn=arguments[Rt];for(var ta in xn)Object.prototype.hasOwnProperty.call(xn,ta)&&(On[ta]=xn[ta])}return On},at.apply(this,arguments)};function ft(On,xn){return xn?at(at(at({},On||{}),xn||{}),Object.keys(On).reduce(function(Rt,mr){return Rt[mr]=at(at({},On[mr]),xn[mr]||{}),Rt},{})):On}function Fe(On,xn){return xn?Object.keys(On).reduce(function(Rt,mr){return Rt[mr]=ft(On[mr],xn[mr]),Rt},at({},On)):On}function Te(On){return On===void 0&&(On={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Le(Intl.NumberFormat,On.number),getDateTimeFormat:Le(Intl.DateTimeFormat,On.dateTime),getPluralRules:Le(Intl.PluralRules,On.pluralRules)}}var ut=function(){function On(xn,Rt,mr,ta){var ma=this;if(Rt===void 0&&(Rt=On.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Oa){return mt(ma.ast,ma.locales,ma.formatters,ma.formats,Oa,ma.message)},this.formatToParts=function(Oa){return tt(ma.ast,ma.locales,ma.formatters,ma.formats,Oa,void 0,ma.message)},this.formatHTMLMessage=function(Oa){return gt(ma.ast,ma.locales,ma.formatters,ma.formats,Oa,ma.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(ma.locales)[0]}},this.getAst=function(){return ma.ast},typeof xn=="string"){if(this.message=xn,!On.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=On.__parse(xn,{normalizeHashtagInPlural:!1})}else this.ast=xn;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Fe(On.formats,mr),this.locales=Rt,this.formatters=ta&&ta.formatters||Te(this.formatterCache)}return On.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,On.__parse=ge,On.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},On}(),le=ut,$e=le;function Qe(On,xn,Rt){if(Rt===void 0&&(Rt=Error),!On)throw new Rt(xn)}var Tt={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},Ot=/[&><"']/g;function Ut(On){return(""+On).replace(Ot,function(xn){return Tt[xn.charCodeAt(0)]})}function At(On,xn){var Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return xn.reduce(function(mr,ta){return ta in On?mr[ta]=On[ta]:ta in Rt&&(mr[ta]=Rt[ta]),mr},{})}function Pt(On){Qe(On,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Dt(On,xn){var Rt=xn?`
`.concat(xn.stack):"";return"[React Intl] ".concat(On).concat(Rt)}function Qt(On){}var cn={formats:{},messages:{},timeZone:void 0,textComponent:A.Fragment,defaultLocale:"en",defaultFormats:{},onError:Qt};function $n(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function hn(){var On=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$n(),xn=Intl.RelativeTimeFormat,Rt=Intl.ListFormat,mr=Intl.DisplayNames;return{getDateTimeFormat:Le(Intl.DateTimeFormat,On.dateTime),getNumberFormat:Le(Intl.NumberFormat,On.number),getMessageFormat:Le($e,On.message),getRelativeTimeFormat:Le(xn,On.relativeTime),getPluralRules:Le(Intl.PluralRules,On.pluralRules),getListFormat:Le(Rt,On.list),getDisplayNames:Le(mr,On.displayNames)}}function _n(On,xn,Rt,mr){var ta=On&&On[xn],ma;if(ta&&(ma=ta[Rt]),ma)return ma;mr(Dt("No ".concat(xn," format named: ").concat(Rt)))}var bn=w.a||y;function Bn(On){return On.displayName||On.name||"Component"}var Tn=A.createContext(null),Tr=Tn.Consumer,Sr=Tn.Provider,Wr=Sr,br=Tn;function Wn(On,xn){var Rt=xn||{},mr=Rt.intlPropName,ta=mr===void 0?"intl":mr,ma=Rt.forwardRef,Oa=ma===void 0?!1:ma,Pn=Rt.enforceContext,Kr=Pn===void 0?!0:Pn,Vn=function(Ea){return A.createElement(Tr,null,function(Ja){return Kr&&Pt(Ja),A.createElement(On,Object.assign({},Ea,Object(S.a)({},ta,Ja),{ref:Oa?Ea.forwardedRef:null}))})};return Vn.displayName="injectIntl(".concat(Bn(On),")"),Vn.WrappedComponent=On,bn(Oa?A.forwardRef(function(tr,Ea){return A.createElement(Vn,Object.assign({},tr,{forwardedRef:Ea}))}):Vn,On)}var gr=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function na(On,xn){var Rt=On.locale,mr=On.formats,ta=On.onError,ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Oa=ma.format,Pn=Oa&&_n(mr,"number",Oa,ta)||{},Kr=At(ma,gr,Pn);return xn(Rt,Kr)}function jn(On,xn,Rt){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return na(On,xn,mr).format(Rt)}catch(ta){On.onError(Dt("Error formatting number.",ta))}return String(Rt)}function un(On,xn,Rt){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return na(On,xn,mr).formatToParts(Rt)}catch(ta){On.onError(Dt("Error formatting number.",ta))}return[]}var zt=["numeric","style"];function Bt(On,xn){var Rt=On.locale,mr=On.formats,ta=On.onError,ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Oa=ma.format,Pn=!!Oa&&_n(mr,"relative",Oa,ta)||{},Kr=At(ma,zt,Pn);return xn(Rt,Kr)}function H(On,xn,Rt,mr){var ta=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};mr||(mr="second");var ma=Intl.RelativeTimeFormat;ma||On.onError(Dt(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`));try{return Bt(On,xn,ta).format(Rt,mr)}catch(Oa){On.onError(Dt("Error formatting relative time.",Oa))}return String(Rt)}var ot=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function nt(On,xn,Rt){var mr=On.locale,ta=On.formats,ma=On.onError,Oa=On.timeZone,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Kr=Pn.format,Vn=Object.assign(Object.assign({},Oa&&{timeZone:Oa}),Kr&&_n(ta,xn,Kr,ma)),tr=At(Pn,ot,Vn);return xn==="time"&&!tr.hour&&!tr.minute&&!tr.second&&(tr=Object.assign(Object.assign({},tr),{hour:"numeric",minute:"numeric"})),Rt(mr,tr)}function Ct(On,xn,Rt){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ta=typeof Rt=="string"?new Date(Rt||0):Rt;try{return nt(On,"date",xn,mr).format(ta)}catch(ma){On.onError(Dt("Error formatting date.",ma))}return String(ta)}function Wt(On,xn,Rt){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ta=typeof Rt=="string"?new Date(Rt||0):Rt;try{return nt(On,"time",xn,mr).format(ta)}catch(ma){On.onError(Dt("Error formatting time.",ma))}return String(ta)}function kn(On,xn,Rt){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ta=typeof Rt=="string"?new Date(Rt||0):Rt;try{return nt(On,"date",xn,mr).formatToParts(ta)}catch(ma){On.onError(Dt("Error formatting date.",ma))}return[]}function Sn(On,xn,Rt){var mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ta=typeof Rt=="string"?new Date(Rt||0):Rt;try{return nt(On,"time",xn,mr).formatToParts(ta)}catch(ma){On.onError(Dt("Error formatting time.",ma))}return[]}var Zn=["localeMatcher","type"];function Or(On,xn,Rt){var mr=On.locale,ta=On.onError,ma=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||ta(Dt(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`));var Oa=At(ma,Zn);try{return xn(mr,Oa).select(Rt)}catch(Pn){ta(Dt("Error formatting plural.",Pn))}return"other"}var Yn=l("oBTY");function Nn(On,xn){return Object.keys(On).reduce(function(Rt,mr){return Rt[mr]=Object.assign({timeZone:xn},On[mr]),Rt},{})}function Zt(On,xn){var Rt=Object.keys(Object.assign(Object.assign({},On),xn));return Rt.reduce(function(mr,ta){return mr[ta]=Object.assign(Object.assign({},On[ta]||{}),xn[ta]||{}),mr},{})}function rr(On,xn){if(!xn)return On;var Rt=$e.formats;return Object.assign(Object.assign(Object.assign({},Rt),On),{date:Zt(Nn(Rt.date,xn),Nn(On.date||{},xn)),time:Zt(Nn(Rt.time,xn),Nn(On.time||{},xn))})}var Gn=function(xn){return A.createElement.apply(A,[A.Fragment,null].concat(Object(Yn.a)(xn)))};function ln(On,xn){var Rt=On.locale,mr=On.formats,ta=On.messages,ma=On.defaultLocale,Oa=On.defaultFormats,Pn=On.onError,Kr=On.timeZone,Vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ea=Vn.id,Ja=Vn.defaultMessage;Qe(!!Ea,"[React Intl] An `id` must be provided to format a message.");var go=ta&&ta[String(Ea)];mr=rr(mr,Kr),Oa=rr(Oa,Kr);var fi=[];if(go)try{var lo=xn.getMessageFormat(go,Rt,mr,{formatters:xn});fi=lo.formatHTMLMessage(tr)}catch(io){Pn(Dt('Error formatting message: "'.concat(Ea,'" for locale: "').concat(Rt,'"')+(Ja?", using default message as fallback.":""),io))}else(!Ja||Rt&&Rt.toLowerCase()!==ma.toLowerCase())&&Pn(Dt('Missing message: "'.concat(Ea,'" for locale: "').concat(Rt,'"')+(Ja?", using default message as fallback.":"")));if(!fi.length&&Ja)try{var Oi=xn.getMessageFormat(Ja,ma,Oa);fi=Oi.formatHTMLMessage(tr)}catch(io){Pn(Dt('Error formatting the default message for: "'.concat(Ea,'"'),io))}return fi.length?fi.length===1&&typeof fi[0]=="string"?fi[0]||Ja||String(Ea):Gn(fi):(Pn(Dt('Cannot format message: "'.concat(Ea,'", ')+"using message ".concat(go||Ja?"source":"id"," as fallback."))),typeof go=="string"?go||Ja||String(Ea):Ja||String(Ea))}function Xn(On,xn){var Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},mr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ta=Object.keys(mr).reduce(function(ma,Oa){var Pn=mr[Oa];return ma[Oa]=typeof Pn=="string"?Ut(Pn):Pn,ma},{});return ln(On,xn,Rt,ta)}var Kn=l("6koa"),fr=l.n(Kn),Hn=["localeMatcher","type","style"],Sa=Date.now();function Lr(On){return"".concat(Sa,"_").concat(On,"_").concat(Sa)}function Ca(On,xn,Rt){var mr=On.locale,ta=On.onError,ma=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Oa=Intl.ListFormat;Oa||ta(Dt(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`));var Pn=At(ma,Hn);try{var Kr={},Vn=Rt.map(function(Ea,Ja){if(typeof Ea=="object"){var go=Lr(Ja);return Kr[go]=Ea,go}return String(Ea)});if(!Object.keys(Kr).length)return xn(mr,Pn).format(Vn);var tr=xn(mr,Pn).formatToParts(Vn);return tr.reduce(function(Ea,Ja){var go=Ja.value;return Kr[go]?Ea.push(Kr[go]):typeof Ea[Ea.length-1]=="string"?Ea[Ea.length-1]+=go:Ea.push(go),Ea},[])}catch(Ea){ta(Dt("Error formatting list.",Ea))}return Rt}var za=["localeMatcher","style","type","fallback"];function Ma(On,xn,Rt){var mr=On.locale,ta=On.onError,ma=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Oa=Intl.DisplayNames;Oa||ta(Dt(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`));var Pn=At(ma,za);try{return xn(mr,Pn).of(Rt)}catch(Kr){ta(Dt("Error formatting display name.",Kr))}}var va=fr.a||Kn;function qa(On){return{locale:On.locale,timeZone:On.timeZone,formats:On.formats,textComponent:On.textComponent,messages:On.messages,defaultLocale:On.defaultLocale,defaultFormats:On.defaultFormats,onError:On.onError}}function gi(On,xn){var Rt=hn(xn),mr=Object.assign(Object.assign({},cn),On),ta=mr.locale,ma=mr.defaultLocale,Oa=mr.onError;return ta?!Intl.NumberFormat.supportedLocalesOf(ta).length&&Oa?Oa(Dt('Missing locale data for locale: "'.concat(ta,'" in Intl.NumberFormat. Using default locale: "').concat(ma,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(ta).length&&Oa&&Oa(Dt('Missing locale data for locale: "'.concat(ta,'" in Intl.DateTimeFormat. Using default locale: "').concat(ma,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(Oa&&Oa(Dt('"locale" was not configured, using "'.concat(ma,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),mr.locale=mr.defaultLocale||"en"),Object.assign(Object.assign({},mr),{formatters:Rt,formatNumber:jn.bind(null,mr,Rt.getNumberFormat),formatNumberToParts:un.bind(null,mr,Rt.getNumberFormat),formatRelativeTime:H.bind(null,mr,Rt.getRelativeTimeFormat),formatDate:Ct.bind(null,mr,Rt.getDateTimeFormat),formatDateToParts:kn.bind(null,mr,Rt.getDateTimeFormat),formatTime:Wt.bind(null,mr,Rt.getDateTimeFormat),formatTimeToParts:Sn.bind(null,mr,Rt.getDateTimeFormat),formatPlural:Or.bind(null,mr,Rt.getPluralRules),formatMessage:ln.bind(null,mr,Rt),formatHTMLMessage:Xn.bind(null,mr,Rt),formatList:Ca.bind(null,mr,Rt.getListFormat),formatDisplayName:Ma.bind(null,mr,Rt.getDisplayNames)})}var Qi=function(On){Object(C.a)(Rt,On);var xn=Object(k.a)(Rt);function Rt(){var mr;return Object(m.a)(this,Rt),mr=xn.apply(this,arguments),mr.cache=$n(),mr.state={cache:mr.cache,intl:gi(qa(mr.props),mr.cache),prevConfig:qa(mr.props)},mr}return Object(O.a)(Rt,[{key:"render",value:function(){return Pt(this.state.intl),A.createElement(Wr,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(ta,ma){var Oa=ma.prevConfig,Pn=ma.cache,Kr=qa(ta);return va(Oa,Kr)?null:{intl:gi(Kr,Pn),prevConfig:Kr}}}]),Rt}(A.PureComponent);Qi.displayName="IntlProvider",Qi.defaultProps=cn;var mi=l("LtsZ"),Cr=l("ZW6p"),Un=l("2W6z"),Lt=l.n(Un),gn=l("bCY9");function Ln(){var On=Object(A.useContext)(br);return Pt(On),On}var kr=l("+Gva"),ea={"component.tagSelect.expand":"\u5C55\u5F00","component.tagSelect.collapse":"\u6536\u8D77","component.tagSelect.all":"\u5168\u90E8"},Qr={"component.globalHeader.search":"\u7AD9\u5185\u641C\u7D22","component.globalHeader.search.example1":"\u641C\u7D22\u63D0\u793A\u4E00","component.globalHeader.search.example2":"\u641C\u7D22\u63D0\u793A\u4E8C","component.globalHeader.search.example3":"\u641C\u7D22\u63D0\u793A\u4E09","component.globalHeader.help":"\u4F7F\u7528\u6587\u6863","component.globalHeader.notification":"\u901A\u77E5","component.globalHeader.notification.empty":"\u4F60\u5DF2\u67E5\u770B\u6240\u6709\u901A\u77E5","component.globalHeader.message":"\u6D88\u606F","component.globalHeader.message.empty":"\u60A8\u5DF2\u8BFB\u5B8C\u6240\u6709\u6D88\u606F","component.globalHeader.event":"\u5F85\u529E","component.globalHeader.event.empty":"\u4F60\u5DF2\u5B8C\u6210\u6240\u6709\u5F85\u529E","component.noticeIcon.clear":"\u6E05\u7A7A","component.noticeIcon.cleared":"\u6E05\u7A7A\u4E86","component.noticeIcon.empty":"\u6682\u65E0\u6570\u636E","component.noticeIcon.view-more":"\u67E5\u770B\u66F4\u591A"},Na={"menu.welcome":"\u6B22\u8FCE","menu.result":"\u7ED3\u679C\u9875","menu.result.success":"\u6210\u529F\u9875","menu.result.fail":"\u5931\u8D25\u9875","menu.exception":"\u5F02\u5E38\u9875","menu.exception.not-permission":"403","menu.exception.not-find":"404","menu.exception.server-error":"500","menu.semanticModel":"\u8BED\u4E49\u5EFA\u6A21","menu.chatSetting":"\u95EE\u7B54\u8BBE\u7F6E","menu.login":"\u767B\u5F55","menu.chat":"\u95EE\u7B54\u5BF9\u8BDD"},ar={"app.pwa.offline":"\u5F53\u524D\u5904\u4E8E\u79BB\u7EBF\u72B6\u6001","app.pwa.serviceworker.updated":"\u6709\u65B0\u5185\u5BB9","app.pwa.serviceworker.updated.hint":"\u8BF7\u70B9\u51FB\u201C\u5237\u65B0\u201D\u6309\u94AE\u6216\u8005\u624B\u52A8\u5237\u65B0\u9875\u9762","app.pwa.serviceworker.updated.ok":"\u5237\u65B0"},pi={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.daybreak":"\u62C2\u6653\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},_i={"app.settings.menuMap.basic":"\u57FA\u672C\u8BBE\u7F6E","app.settings.menuMap.security":"\u5B89\u5168\u8BBE\u7F6E","app.settings.menuMap.binding":"\u8D26\u53F7\u7ED1\u5B9A","app.settings.menuMap.notification":"\u65B0\u6D88\u606F\u901A\u77E5","app.settings.basic.avatar":"\u5934\u50CF","app.settings.basic.change-avatar":"\u66F4\u6362\u5934\u50CF","app.settings.basic.email":"\u90AE\u7BB1","app.settings.basic.email-message":"\u8BF7\u8F93\u5165\u60A8\u7684\u90AE\u7BB1!","app.settings.basic.nickname":"\u6635\u79F0","app.settings.basic.nickname-message":"\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0!","app.settings.basic.profile":"\u4E2A\u4EBA\u7B80\u4ECB","app.settings.basic.profile-message":"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u7B80\u4ECB!","app.settings.basic.profile-placeholder":"\u4E2A\u4EBA\u7B80\u4ECB","app.settings.basic.country":"\u56FD\u5BB6/\u5730\u533A","app.settings.basic.country-message":"\u8BF7\u8F93\u5165\u60A8\u7684\u56FD\u5BB6\u6216\u5730\u533A!","app.settings.basic.geographic":"\u6240\u5728\u7701\u5E02","app.settings.basic.geographic-message":"\u8BF7\u8F93\u5165\u60A8\u7684\u6240\u5728\u7701\u5E02!","app.settings.basic.address":"\u8857\u9053\u5730\u5740","app.settings.basic.address-message":"\u8BF7\u8F93\u5165\u60A8\u7684\u8857\u9053\u5730\u5740!","app.settings.basic.phone":"\u8054\u7CFB\u7535\u8BDD","app.settings.basic.phone-message":"\u8BF7\u8F93\u5165\u60A8\u7684\u8054\u7CFB\u7535\u8BDD!","app.settings.basic.update":"\u66F4\u65B0\u57FA\u672C\u4FE1\u606F","app.settings.security.strong":"\u5F3A","app.settings.security.medium":"\u4E2D","app.settings.security.weak":"\u5F31","app.settings.security.password":"\u8D26\u6237\u5BC6\u7801","app.settings.security.password-description":"\u5F53\u524D\u5BC6\u7801\u5F3A\u5EA6","app.settings.security.phone":"\u5BC6\u4FDD\u624B\u673A","app.settings.security.phone-description":"\u5DF2\u7ED1\u5B9A\u624B\u673A","app.settings.security.question":"\u5BC6\u4FDD\u95EE\u9898","app.settings.security.question-description":"\u672A\u8BBE\u7F6E\u5BC6\u4FDD\u95EE\u9898\uFF0C\u5BC6\u4FDD\u95EE\u9898\u53EF\u6709\u6548\u4FDD\u62A4\u8D26\u6237\u5B89\u5168","app.settings.security.email":"\u5907\u7528\u90AE\u7BB1","app.settings.security.email-description":"\u5DF2\u7ED1\u5B9A\u90AE\u7BB1","app.settings.security.mfa":"MFA \u8BBE\u5907","app.settings.security.mfa-description":"\u672A\u7ED1\u5B9A MFA \u8BBE\u5907\uFF0C\u7ED1\u5B9A\u540E\uFF0C\u53EF\u4EE5\u8FDB\u884C\u4E8C\u6B21\u786E\u8BA4","app.settings.security.modify":"\u4FEE\u6539","app.settings.security.set":"\u8BBE\u7F6E","app.settings.security.bind":"\u7ED1\u5B9A","app.settings.binding.taobao":"\u7ED1\u5B9A\u6DD8\u5B9D","app.settings.binding.taobao-description":"\u5F53\u524D\u672A\u7ED1\u5B9A\u6DD8\u5B9D\u8D26\u53F7","app.settings.binding.alipay":"\u7ED1\u5B9A\u652F\u4ED8\u5B9D","app.settings.binding.alipay-description":"\u5F53\u524D\u672A\u7ED1\u5B9A\u652F\u4ED8\u5B9D\u8D26\u53F7","app.settings.binding.dingding":"\u7ED1\u5B9A\u9489\u9489","app.settings.binding.dingding-description":"\u5F53\u524D\u672A\u7ED1\u5B9A\u9489\u9489\u8D26\u53F7","app.settings.binding.bind":"\u7ED1\u5B9A","app.settings.notification.password":"\u8D26\u6237\u5BC6\u7801","app.settings.notification.password-description":"\u5176\u4ED6\u7528\u6237\u7684\u6D88\u606F\u5C06\u4EE5\u7AD9\u5185\u4FE1\u7684\u5F62\u5F0F\u901A\u77E5","app.settings.notification.messages":"\u7CFB\u7EDF\u6D88\u606F","app.settings.notification.messages-description":"\u7CFB\u7EDF\u6D88\u606F\u5C06\u4EE5\u7AD9\u5185\u4FE1\u7684\u5F62\u5F0F\u901A\u77E5","app.settings.notification.todo":"\u5F85\u529E\u4EFB\u52A1","app.settings.notification.todo-description":"\u5F85\u529E\u4EFB\u52A1\u5C06\u4EE5\u7AD9\u5185\u4FE1\u7684\u5F62\u5F0F\u901A\u77E5","app.settings.open":"\u5F00","app.settings.close":"\u5173"},ti={"pages.layouts.userLayout.title":"Ant Design \u662F\u897F\u6E56\u533A\u6700\u5177\u5F71\u54CD\u529B\u7684 Web \u8BBE\u8BA1\u89C4\u8303","pages.login.accountLogin.tab":"\u8D26\u6237\u5BC6\u7801\u767B\u5F55","pages.login.accountLogin.errorMessage":"\u9519\u8BEF\u7684\u7528\u6237\u540D\u548C\u5BC6\u7801\uFF08admin/ant.design)","pages.login.username.placeholder":"\u7528\u6237\u540D: admin or user","pages.login.username.required":"\u7528\u6237\u540D\u662F\u5FC5\u586B\u9879\uFF01","pages.login.password.placeholder":"\u5BC6\u7801: ant.design","pages.login.password.required":"\u5BC6\u7801\u662F\u5FC5\u586B\u9879\uFF01","pages.login.phoneLogin.tab":"\u624B\u673A\u53F7\u767B\u5F55","pages.login.phoneLogin.errorMessage":"\u9A8C\u8BC1\u7801\u9519\u8BEF","pages.login.phoneNumber.placeholder":"\u8BF7\u8F93\u5165\u624B\u673A\u53F7\uFF01","pages.login.phoneNumber.required":"\u624B\u673A\u53F7\u662F\u5FC5\u586B\u9879\uFF01","pages.login.phoneNumber.invalid":"\u4E0D\u5408\u6CD5\u7684\u624B\u673A\u53F7\uFF01","pages.login.captcha.placeholder":"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\uFF01","pages.login.captcha.required":"\u9A8C\u8BC1\u7801\u662F\u5FC5\u586B\u9879\uFF01","pages.login.phoneLogin.getVerificationCode":"\u83B7\u53D6\u9A8C\u8BC1\u7801","pages.getCaptchaSecondText":"\u79D2\u540E\u91CD\u65B0\u83B7\u53D6","pages.login.rememberMe":"\u81EA\u52A8\u767B\u5F55","pages.login.forgotPassword":"\u5FD8\u8BB0\u5BC6\u7801 ?","pages.login.submit":"\u767B\u5F55","pages.login.loginWith":"\u5176\u4ED6\u767B\u5F55\u65B9\u5F0F :","pages.login.registerAccount":"\u6CE8\u518C\u8D26\u6237","pages.welcome.advancedComponent":"\u9AD8\u7EA7\u8868\u683C","pages.welcome.link":"\u6B22\u8FCE\u4F7F\u7528","pages.welcome.advancedLayout":"\u9AD8\u7EA7\u5E03\u5C40","pages.welcome.alertMessage":"\u66F4\u5FEB\u66F4\u5F3A\u7684\u91CD\u578B\u7EC4\u4EF6\uFF0C\u5DF2\u7ECF\u53D1\u5E03\u3002","pages.admin.subPage.title":" \u8FD9\u4E2A\u9875\u9762\u53EA\u6709 admin \u6743\u9650\u624D\u80FD\u67E5\u770B","pages.admin.subPage.alertMessage":"umi ui \u73B0\u5DF2\u53D1\u5E03\uFF0C\u6B22\u8FCE\u4F7F\u7528 npm run ui \u542F\u52A8\u4F53\u9A8C\u3002","pages.searchTable.createForm.newRule":"\u65B0\u5EFA\u89C4\u5219","pages.searchTable.updateForm.ruleConfig":"\u89C4\u5219\u914D\u7F6E","pages.searchTable.updateForm.basicConfig":"\u57FA\u672C\u4FE1\u606F","pages.searchTable.updateForm.ruleName.nameLabel":"\u89C4\u5219\u540D\u79F0","pages.searchTable.updateForm.ruleName.nameRules":"\u8BF7\u8F93\u5165\u89C4\u5219\u540D\u79F0\uFF01","pages.searchTable.updateForm.ruleDesc.descLabel":"\u89C4\u5219\u63CF\u8FF0","pages.searchTable.updateForm.ruleDesc.descPlaceholder":"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E94\u4E2A\u5B57\u7B26","pages.searchTable.updateForm.ruleDesc.descRules":"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E94\u4E2A\u5B57\u7B26\u7684\u89C4\u5219\u63CF\u8FF0\uFF01","pages.searchTable.updateForm.ruleProps.title":"\u914D\u7F6E\u89C4\u5219\u5C5E\u6027","pages.searchTable.updateForm.object":"\u76D1\u63A7\u5BF9\u8C61","pages.searchTable.updateForm.ruleProps.templateLabel":"\u89C4\u5219\u6A21\u677F","pages.searchTable.updateForm.ruleProps.typeLabel":"\u89C4\u5219\u7C7B\u578B","pages.searchTable.updateForm.schedulingPeriod.title":"\u8BBE\u5B9A\u8C03\u5EA6\u5468\u671F","pages.searchTable.updateForm.schedulingPeriod.timeLabel":"\u5F00\u59CB\u65F6\u95F4","pages.searchTable.updateForm.schedulingPeriod.timeRules":"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\uFF01","pages.searchTable.titleDesc":"\u63CF\u8FF0","pages.searchTable.ruleName":"\u89C4\u5219\u540D\u79F0\u4E3A\u5FC5\u586B\u9879","pages.searchTable.titleCallNo":"\u670D\u52A1\u8C03\u7528\u6B21\u6570","pages.searchTable.titleStatus":"\u72B6\u6001","pages.searchTable.nameStatus.default":"\u5173\u95ED","pages.searchTable.nameStatus.running":"\u8FD0\u884C\u4E2D","pages.searchTable.nameStatus.online":"\u5DF2\u4E0A\u7EBF","pages.searchTable.nameStatus.abnormal":"\u5F02\u5E38","pages.searchTable.titleUpdatedAt":"\u4E0A\u6B21\u8C03\u5EA6\u65F6\u95F4","pages.searchTable.exception":"\u8BF7\u8F93\u5165\u5F02\u5E38\u539F\u56E0\uFF01","pages.searchTable.titleOption":"\u64CD\u4F5C","pages.searchTable.config":"\u914D\u7F6E","pages.searchTable.subscribeAlert":"\u8BA2\u9605\u8B66\u62A5","pages.searchTable.title":"\u67E5\u8BE2\u8868\u683C","pages.searchTable.new":"\u65B0\u5EFA","pages.searchTable.chosen":"\u5DF2\u9009\u62E9","pages.searchTable.item":"\u9879","pages.searchTable.totalServiceCalls":"\u670D\u52A1\u8C03\u7528\u6B21\u6570\u603B\u8BA1","pages.searchTable.tenThousand":"\u4E07","pages.searchTable.batchDeletion":"\u6279\u91CF\u5220\u9664","pages.searchTable.batchApproval":"\u6279\u91CF\u5BA1\u6279"},ui=Object(E.a)(Object(E.a)(Object(E.a)(Object(E.a)(Object(E.a)(Object(E.a)(Object(E.a)({"navBar.lang":"\u8BED\u8A00","layout.user.link.help":"\u5E2E\u52A9","layout.user.link.privacy":"\u9690\u79C1","layout.user.link.terms":"\u6761\u6B3E","app.preview.down.block":"\u4E0B\u8F7D\u6B64\u9875\u9762\u5230\u672C\u5730\u9879\u76EE","app.welcome.link.fetch-blocks":"\u83B7\u53D6\u5168\u90E8\u533A\u5757","app.welcome.link.block-list":"\u57FA\u4E8E block \u5F00\u53D1\uFF0C\u5FEB\u901F\u6784\u5EFA\u6807\u51C6\u9875\u9762"},ti),Qr),Na),pi),_i),ar),ea),Ri,ao=!0,Zi={"zh-CN":{messages:Object(E.a)({},ui),locale:"zh-CN",antd:Object(E.a)({},kr.a),momentLocale:"zh-cn"}},Fi=function(xn,Rt,mr){var ta,ma;if(!!xn){var Oa=(ta=Zi[xn])!==null&&ta!==void 0&&ta.messages?Object.assign({},Zi[xn].messages,Rt):Rt,Pn=mr||{},Kr=Pn.momentLocale,Vn=Pn.antd,tr=(ma=xn.split("-"))===null||ma===void 0?void 0:ma.join("-");Zi[xn]={messages:Oa,locale:tr,momentLocale:Kr,antd:Vn},tr===eo()&&Cr.d.emit(Cr.a,tr)}},Si=function(xn,Rt){return Ri&&!Rt&&!xn?Ri:xn&&Zi[xn]?gi(Zi[xn]):(Lt()(!xn||!!Zi[xn],"The current popular language does not exist, please check the locales folder!"),Zi["zh-CN"]?gi(Zi["zh-CN"]):gi({locale:"zh-CN",messages:{}}))},qi=function(xn){Ri=Si(xn,!0)},eo=function(){var xn=gn.a.applyPlugins({key:"locale",type:mi.ApplyPluginsType.modify,initialValue:{}});if(typeof(xn==null?void 0:xn.getLocale)=="function")return xn.getLocale();var Rt=navigator.cookieEnabled&&typeof localStorage!="undefined"&&ao?window.localStorage.getItem("umi_locale"):"",mr;return Rt||mr||"zh-CN"},xo=function(){var xn=eo(),Rt=["he","ar","fa","ku"],mr=Rt.filter(function(ta){return xn.startsWith(ta)}).length?"rtl":"ltr";return mr},cs=function(xn){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,mr=gn.a.applyPlugins({key:"locale",type:mi.ApplyPluginsType.modify,initialValue:{}}),ta=function(){if(eo()!==xn){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&ao&&window.localStorage.setItem("umi_locale",xn||""),qi(xn),Rt)window.location.reload();else if(Cr.d.emit(Cr.a,xn),window.dispatchEvent){var Oa=new Event("languagechange");window.dispatchEvent(Oa)}}};if(typeof(mr==null?void 0:mr.setLocale)=="function"){mr.setLocale({lang:xn,realReload:Rt,updater:ta});return}ta()},ba=!0,sa=function(xn,Rt){return ba&&(Lt()(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl.
\u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002
http://j.mp/37Fkd5Q
`),ba=!1),Ri.formatMessage(xn,Rt)},Da=function(){return Object.keys(Zi)}},FpZJ:function(ce,R,l){"use strict";ce.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var m={},O=Symbol("test"),C=Object(O);if(typeof O=="string"||Object.prototype.toString.call(O)!=="[object Symbol]"||Object.prototype.toString.call(C)!=="[object Symbol]")return!1;var k=42;m[O]=k;for(O in m)return!1;if(typeof Object.keys=="function"&&Object.keys(m).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(m).length!==0)return!1;var A=Object.getOwnPropertySymbols(m);if(A.length!==1||A[0]!==O||!Object.prototype.propertyIsEnumerable.call(m,O))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var S=Object.getOwnPropertyDescriptor(m,O);if(S.value!==k||S.enumerable!==!0)return!1}return!0}},FqQc:function(ce,R,l){},Fs9M:function(ce,R,l){var E=l("MVys");ce.exports=!!Object.getOwnPropertySymbols&&!E(function(){return!String(Symbol())})},FuvP:function(ce,R,l){var E=l("MMxC"),m=l("qA1w");E({target:"Set",stat:!0},{of:m})},G3dp:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="EditOutlined";var S=R.a=m.forwardRef(A)},G6V9:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.clearContainerCache=F,R.injectCSS=T,R.removeCSS=D,R.updateCSS=B;var m=E(l("hbXN")),O=E(l("EVHK")),C="data-rc-order",k="rc-util-key",A=new Map;function S(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},J=U.mark;return J?J.startsWith("data-")?J:"data-".concat(J):k}function y(U){if(U.attachTo)return U.attachTo;var J=document.querySelector("head");return J||document.body}function w(U){return U==="queue"?"prependQueue":U?"prepend":"append"}function x(U){return Array.from((A.get(U)||U).children).filter(function(J){return J.tagName==="STYLE"})}function T(U){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,m.default)())return null;var $=J.csp,X=J.prepend,ee=document.createElement("style");ee.setAttribute(C,w(X)),$!=null&&$.nonce&&(ee.nonce=$==null?void 0:$.nonce),ee.innerHTML=U;var ie=y(J),G=ie.firstChild;if(X){if(X==="queue"){var Q=x(ie).filter(function(W){return["prepend","prependQueue"].includes(W.getAttribute(C))});if(Q.length)return ie.insertBefore(ee,Q[Q.length-1].nextSibling),ee}ie.insertBefore(ee,G)}else ie.appendChild(ee);return ee}function j(U){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=y(J);return x($).find(function(X){return X.getAttribute(S(J))===U})}function D(U){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=j(U,J);if($){var X=y(J);X.removeChild($)}}function N(U,J){var $=A.get(U);if(!$||!(0,O.default)(document,$)){var X=T("",J),ee=X.parentNode;A.set(U,ee),U.removeChild(X)}}function F(){A.clear()}function B(U,J){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=y($);N(X,$);var ee=j(J,$);if(ee){var ie,G;if((ie=$.csp)!==null&&ie!==void 0&&ie.nonce&&ee.nonce!==((G=$.csp)===null||G===void 0?void 0:G.nonce)){var Q;ee.nonce=(Q=$.csp)===null||Q===void 0?void 0:Q.nonce}return ee.innerHTML!==U&&(ee.innerHTML=U),ee}var W=T(U,$);return W.setAttribute(S($),J),W}},G6z8:function(ce,R,l){var E=l("fR/l"),m=l("oCl/"),O=l("mTTR");function C(k){return E(k,O,m)}ce.exports=C},G7d7:function(ce,R,l){(function(E){ace.define("ace/theme/sqlserver-css",["require","exports","module"],function(m,O,C){C.exports=`.ace-sqlserver .ace_gutter {
background: #ebebeb;
color: #333;
overflow: hidden;
}
.ace-sqlserver .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
.ace-sqlserver {
background-color: #FFFFFF;
color: black;
}
.ace-sqlserver .ace_identifier {
color: black;
}
.ace-sqlserver .ace_keyword {
color: #0000FF;
}
.ace-sqlserver .ace_numeric {
color: black;
}
.ace-sqlserver .ace_storage {
color: #11B7BE;
}
.ace-sqlserver .ace_keyword.ace_operator,
.ace-sqlserver .ace_lparen,
.ace-sqlserver .ace_rparen,
.ace-sqlserver .ace_punctuation {
color: #808080;
}
.ace-sqlserver .ace_set.ace_statement {
color: #0000FF;
text-decoration: underline;
}
.ace-sqlserver .ace_cursor {
color: black;
}
.ace-sqlserver .ace_invisible {
color: rgb(191, 191, 191);
}
.ace-sqlserver .ace_constant.ace_buildin {
color: rgb(88, 72, 246);
}
.ace-sqlserver .ace_constant.ace_language {
color: #979797;
}
.ace-sqlserver .ace_constant.ace_library {
color: rgb(6, 150, 14);
}
.ace-sqlserver .ace_invalid {
background-color: rgb(153, 0, 0);
color: white;
}
.ace-sqlserver .ace_support.ace_function {
color: #FF00FF;
}
.ace-sqlserver .ace_support.ace_constant {
color: rgb(6, 150, 14);
}
.ace-sqlserver .ace_class {
color: #008080;
}
.ace-sqlserver .ace_support.ace_other {
color: #6D79DE;
}
.ace-sqlserver .ace_variable.ace_parameter {
font-style: italic;
color: #FD971F;
}
.ace-sqlserver .ace_comment {
color: #008000;
}
.ace-sqlserver .ace_constant.ace_numeric {
color: black;
}
.ace-sqlserver .ace_variable {
color: rgb(49, 132, 149);
}
.ace-sqlserver .ace_xml-pe {
color: rgb(104, 104, 91);
}
.ace-sqlserver .ace_support.ace_storedprocedure {
color: #800000;
}
.ace-sqlserver .ace_heading {
color: rgb(12, 7, 255);
}
.ace-sqlserver .ace_list {
color: rgb(185, 6, 144);
}
.ace-sqlserver .ace_marker-layer .ace_selection {
background: rgb(181, 213, 255);
}
.ace-sqlserver .ace_marker-layer .ace_step {
background: rgb(252, 255, 0);
}
.ace-sqlserver .ace_marker-layer .ace_stack {
background: rgb(164, 229, 101);
}
.ace-sqlserver .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgb(192, 192, 192);
}
.ace-sqlserver .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.07);
}
.ace-sqlserver .ace_gutter-active-line {
background-color: #dcdcdc;
}
.ace-sqlserver .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}
.ace-sqlserver .ace_meta.ace_tag {
color: #0000FF;
}
.ace-sqlserver .ace_string.ace_regex {
color: #FF0000;
}
.ace-sqlserver .ace_string {
color: #FF0000;
}
.ace-sqlserver .ace_entity.ace_other.ace_attribute-name {
color: #994409;
}
.ace-sqlserver .ace_indent-guide {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
}
.ace-sqlserver .ace_indent-guide-active {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;
}
`}),ace.define("ace/theme/sqlserver",["require","exports","module","ace/theme/sqlserver-css","ace/lib/dom"],function(m,O,C){O.isDark=!1,O.cssClass="ace-sqlserver",O.cssText=m("./sqlserver-css");var k=m("../lib/dom");k.importCssString(O.cssText,O.cssClass,!1)}),function(){ace.require(["ace/theme/sqlserver"],function(m){E&&(E.exports=m)})}()}).call(this,l("hOG+")(ce))},GDhZ:function(ce,R,l){var E=l("wF/u"),m=l("mwIZ"),O=l("hgQt"),C=l("9ggG"),k=l("CMye"),A=l("IOzZ"),S=l("9Nap"),y=1,w=2;function x(T,j){return C(T)&&k(j)?A(S(T),j):function(D){var N=m(D,T);return N===void 0&&N===j?O(D,T):E(j,N,y|w)}}ce.exports=x},GEfv:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("pI4h"),m=k(E),O=l("xgaV"),C=k(O);function k(j){return j&&j.__esModule?j:{default:j}}function A(j,D){if(!(j instanceof D))throw new TypeError("Cannot call a class as a function")}var S=["ACCESSIBLE","ACTION","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ANALYSE","ANALYZE","AS","ASC","AUTOCOMMIT","AUTO_INCREMENT","BACKUP","BEGIN","BETWEEN","BINLOG","BOTH","CASCADE","CASE","CHANGE","CHANGED","CHARACTER SET","CHARSET","CHECK","CHECKSUM","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPRESSED","CONCURRENT","CONSTRAINT","CONTAINS","CONVERT","CREATE","CROSS","CURRENT_TIMESTAMP","DATABASE","DATABASES","DAY","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DEFAULT","DEFINER","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DO","DROP","DUMPFILE","DUPLICATE","DYNAMIC","ELSE","ENCLOSED","END","ENGINE","ENGINES","ENGINE_TYPE","ESCAPE","ESCAPED","EVENTS","EXEC","EXECUTE","EXISTS","EXPLAIN","EXTENDED","FAST","FETCH","FIELDS","FILE","FIRST","FIXED","FLUSH","FOR","FORCE","FOREIGN","FULL","FULLTEXT","FUNCTION","GLOBAL","GRANT","GRANTS","GROUP_CONCAT","HEAP","HIGH_PRIORITY","HOSTS","HOUR","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IFNULL","IGNORE","IN","INDEX","INDEXES","INFILE","INSERT","INSERT_ID","INSERT_METHOD","INTERVAL","INTO","INVOKER","IS","ISOLATION","KEY","KEYS","KILL","LAST_INSERT_ID","LEADING","LEVEL","LIKE","LINEAR","LINES","LOAD","LOCAL","LOCK","LOCKS","LOGS","LOW_PRIORITY","MARIA","MASTER","MASTER_CONNECT_RETRY","MASTER_HOST","MASTER_LOG_FILE","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MERGE","MINUTE","MINUTE_SECOND","MIN_ROWS","MODE","MODIFY","MONTH","MRG_MYISAM","MYISAM","NAMES","NATURAL","NOT","NOW()","NULL","OFFSET","ON DELETE","ON UPDATE","ON","ONLY","OPEN","OPTIMIZE","OPTION","OPTIONALLY","OUTFILE","PACK_KEYS","PAGE","PARTIAL","PARTITION","PARTITIONS","PASSWORD","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PURGE","QUICK","RAID0","RAID_CHUNKS","RAID_CHUNKSIZE","RAID_TYPE","RANGE","READ","READ_ONLY","READ_WRITE","REFERENCES","REGEXP","RELOAD","RENAME","REPAIR","REPEATABLE","REPLACE","REPLICATION","RESET","RESTORE","RESTRICT","RETURN","RETURNS","REVOKE","RLIKE","ROLLBACK","ROW","ROWS","ROW_FORMAT","SECOND","SECURITY","SEPARATOR","SERIALIZABLE","SESSION","SHARE","SHOW","SHUTDOWN","SLAVE","SONAME","SOUNDS","SQL","SQL_AUTO_IS_NULL","SQL_BIG_RESULT","SQL_BIG_SELECTS","SQL_BIG_TABLES","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_LOG_BIN","SQL_LOG_OFF","SQL_LOG_UPDATE","SQL_LOW_PRIORITY_UPDATES","SQL_MAX_JOIN_SIZE","SQL_NO_CACHE","SQL_QUOTE_SHOW_CREATE","SQL_SAFE_UPDATES","SQL_SELECT_LIMIT","SQL_SLAVE_SKIP_COUNTER","SQL_SMALL_RESULT","SQL_WARNINGS","START","STARTING","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","STRIPED","SUPER","TABLE","TABLES","TEMPORARY","TERMINATED","THEN","TO","TRAILING","TRANSACTIONAL","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNIQUE","UNLOCK","UNSIGNED","USAGE","USE","USING","VARIABLES","VIEW","WHEN","WITH","WORK","WRITE","YEAR_MONTH"],y=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UPDATE","VALUES","WHERE"],w=["AND","CROSS APPLY","CROSS JOIN","ELSE","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],x=void 0,T=function(){function j(D){A(this,j),this.cfg=D}return j.prototype.format=function(N){return x||(x=new C.default({reservedWords:S,reservedToplevelWords:y,reservedNewlineWords:w,stringTypes:['""',"N''","''","``","[]"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:["@",":"],lineCommentTypes:["#","--"]})),new m.default(this.cfg,x).format(N)},j}();R.default=T,ce.exports=R.default},GG9M:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.useLocaleReceiver=R.default=void 0;var O=m(l("pVnL")),C=E(l("q1tI")),k=m(l("XsNG")),A=m(l("Jrzw")),S=function(T){var j=T.componentName,D=j===void 0?"global":j,N=T.defaultLocale,F=T.children,B=C.useContext(k.default),U=C.useMemo(function(){var $,X=N||A.default[D],ee=($=B==null?void 0:B[D])!==null&&$!==void 0?$:{};return(0,O.default)((0,O.default)({},X instanceof Function?X():X),ee||{})},[D,N,B]),J=C.useMemo(function(){var $=B&&B.locale;return B&&B.exist&&!$?A.default.locale:$},[B]);return F(U,J,B)},y=S;R.default=y;var w=function(T,j){var D=C.useContext(k.default),N=C.useMemo(function(){var F,B=j||A.default[T],U=(F=D==null?void 0:D[T])!==null&&F!==void 0?F:{};return(0,O.default)((0,O.default)({},typeof B=="function"?B():B),U||{})},[T,j,D]);return[N]};R.useLocaleReceiver=w},GJyq:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Github=void 0;var E=l("q1tI"),m=N(E),O=l("17x9"),C=N(O),k=l("/FUP"),A=N(k),S=l("3WF5"),y=N(S),w=l("QkVN"),x=N(w),T=l("UtML"),j=l("RC9M"),D=N(j);function N(B){return B&&B.__esModule?B:{default:B}}var F=R.Github=function(U){var J=U.width,$=U.colors,X=U.onChange,ee=U.onSwatchHover,ie=U.triangle,G=U.styles,Q=G===void 0?{}:G,W=U.className,ne=W===void 0?"":W,te=(0,A.default)((0,x.default)({default:{card:{width:J,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},Q),{"hide-triangle":ie==="hide","top-left-triangle":ie==="top-left","top-right-triangle":ie==="top-right","bottom-left-triangle":ie==="bottom-left","bottom-right-triangle":ie==="bottom-right"}),_e=function(oe,ge){return X({hex:oe,source:"hex"},ge)};return m.default.createElement("div",{style:te.card,className:"github-picker "+ne},m.default.createElement("div",{style:te.triangleShadow}),m.default.createElement("div",{style:te.triangle}),(0,y.default)($,function(he){return m.default.createElement(D.default,{color:he,key:he,onClick:_e,onSwatchHover:ee})}))};F.propTypes={width:C.default.oneOfType([C.default.string,C.default.number]),colors:C.default.arrayOf(C.default.string),triangle:C.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:C.default.object},F.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},R.default=(0,T.ColorWrap)(F)},GNNt:function(ce,R,l){"use strict";var E=l("k/Y0"),m=l.n(E)},GNiM:function(ce,R,l){var E=l("I01J"),m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,C=E(function(k){var A=[];return k.charCodeAt(0)===46&&A.push(""),k.replace(m,function(S,y,w,x){A.push(w?x.replace(O,"$1"):y||S)}),A});ce.exports=C},GNqc:function(ce,R){ce.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},GPZX:function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=m.toKey,k=m.getMap,A=m.store;E({target:"Reflect",stat:!0},{deleteMetadata:function(y,w){var x=arguments.length<3?void 0:C(arguments[2]),T=k(O(w),x,!1);if(T===void 0||!T.delete(y))return!1;if(T.size)return!0;var j=A.get(w);return j.delete(x),!!j.size||A.delete(w)}})},GPrf:function(ce,R,l){var E=l("2kyd"),m=E("iterator"),O=!1;try{var C=0,k={next:function(){return{done:!!C++}},return:function(){O=!0}};k[m]=function(){return this},Array.from(k,function(){throw 2})}catch(A){}ce.exports=function(A,S){if(!S&&!O)return!1;var y=!1;try{var w={};w[m]=function(){return{next:function(){return{done:y=!0}}}},A(w)}catch(x){}return y}},GSrb:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"check-circle",theme:"outlined"};R.default=E},GXnB:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Metadata=void 0;var E=l("xfSm"),m=function(){function O(C,k){this.key=C,this.value=k}return O.prototype.toString=function(){return this.key===E.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},O}();R.Metadata=m},GYRj:function(ce,R,l){var E=l("MMxC"),m=Math.log,O=Math.LOG10E;E({target:"Math",stat:!0},{log10:function(k){return m(k)*O}})},GZ0F:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="EllipsisOutlined";var S=R.a=m.forwardRef(A)},"Gi/T":function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.NoStyleItemContext=R.NoFormStyle=R.FormProvider=R.FormItemPrefixContext=R.FormItemInputContext=R.FormContext=void 0;var O=m(l("pVnL")),C=l("85Yc"),k=m(l("BnGs")),A=E(l("q1tI")),S=A.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}});R.FormContext=S;var y=A.createContext(null);R.NoStyleItemContext=y;var w=function(N){var F=(0,k.default)(N,["prefixCls"]);return A.createElement(C.FormProvider,(0,O.default)({},F))};R.FormProvider=w;var x=A.createContext({prefixCls:""});R.FormItemPrefixContext=x;var T=A.createContext({});R.FormItemInputContext=T;var j=function(N){var F=N.children,B=N.status,U=N.override,J=(0,A.useContext)(T),$=(0,A.useMemo)(function(){var X=(0,O.default)({},J);return U&&delete X.isFormItemInput,B&&(delete X.status,delete X.hasFeedback,delete X.feedbackIcon),X},[B,U,J]);return A.createElement(T.Provider,{value:$},F)};R.NoFormStyle=j},Gi0A:function(ce,R,l){var E=l("QqLw"),m=l("ExA7"),O="[object Map]";function C(k){return m(k)&&E(k)==O}ce.exports=C},Gosx:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.AlphaPointer=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.AlphaPointer=function(y){var w=y.direction,x=(0,C.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:w==="vertical"});return m.default.createElement("div",{style:x.picker})};R.default=A},GoyQ:function(ce,R){function l(E){var m=typeof E;return E!=null&&(m=="object"||m=="function")}ce.exports=l},"Gw+j":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("/dTS"),S=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{symmetricDifference:function(w){var x=C(this),T=new(A(x,O("Set")))(x),j=k(T.delete),D=k(T.add);return S(w,function(N){j.call(T,N)||D.call(T,N)}),T}})},Gxto:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=k;var E=l("B9n1"),m=O(E);function O(A){return A&&A.__esModule?A:{default:A}}var C=["-webkit-",""];function k(A,S){if(typeof S=="string"&&!(0,m.default)(S)&&S.indexOf("filter(")>-1)return C.map(function(y){return S.replace(/filter\(/g,y+"filter(")})}ce.exports=R.default},Gytx:function(ce,R){ce.exports=function(E,m,O,C){var k=O?O.call(C,E,m):void 0;if(k!==void 0)return!!k;if(E===m)return!0;if(typeof E!="object"||!E||typeof m!="object"||!m)return!1;var A=Object.keys(E),S=Object.keys(m);if(A.length!==S.length)return!1;for(var y=Object.prototype.hasOwnProperty.bind(m),w=0;w<A.length;w++){var x=A[w];if(!y(x))return!1;var T=E[x],j=m[x];if(k=O?O.call(C,T,j,x):void 0,k===!1||k===void 0&&T!==j)return!1}return!0}},Gz1q:function(ce,R,l){"use strict";var E=function(){function C(k){this.value=k}return C}(),m=function(){function C(){this._len=0}return C.prototype.insert=function(k){var A=new E(k);return this.insertEntry(A),A},C.prototype.insertEntry=function(k){this.head?(this.tail.next=k,k.prev=this.tail,k.next=null,this.tail=k):this.head=this.tail=k,this._len++},C.prototype.remove=function(k){var A=k.prev,S=k.next;A?A.next=S:this.head=S,S?S.prev=A:this.tail=A,k.next=k.prev=null,this._len--},C.prototype.len=function(){return this._len},C.prototype.clear=function(){this.head=this.tail=null,this._len=0},C}(),O=function(){function C(k){this._list=new m,this._maxSize=10,this._map={},this._maxSize=k}return C.prototype.put=function(k,A){var S=this._list,y=this._map,w=null;if(y[k]==null){var x=S.len(),T=this._lastRemovedEntry;if(x>=this._maxSize&&x>0){var j=S.head;S.remove(j),delete y[j.key],w=j.value,this._lastRemovedEntry=j}T?T.value=A:T=new E(A),T.key=k,S.insertEntry(T),y[k]=T}return w},C.prototype.get=function(k){var A=this._map[k],S=this._list;if(A!=null)return A!==S.tail&&(S.remove(A),S.insertEntry(A)),A.value},C.prototype.clear=function(){this._list.clear(),this._map={}},C.prototype.len=function(){return this._list.len()},C}();R.a=O},GzDc:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CompactColor=void 0;var E=l("q1tI"),m=y(E),O=l("/FUP"),C=y(O),k=l("4iDX"),A=y(k),S=l("UtML");function y(x){return x&&x.__esModule?x:{default:x}}var w=R.CompactColor=function(T){var j=T.color,D=T.onClick,N=D===void 0?function(){}:D,F=T.onSwatchHover,B=T.active,U=(0,C.default)({default:{color:{background:j,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:A.default.getContrastingColor(j),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:B,"color-#FFFFFF":j==="#FFFFFF",transparent:j==="transparent"});return m.default.createElement(S.Swatch,{style:U.color,color:j,onClick:N,onHover:F,focusStyle:{boxShadow:"0 0 4px "+j}},m.default.createElement("div",{style:U.dot}))};R.default=w},GzdX:function(ce,R,l){"use strict";var E=l("wx14"),m=l("VTBJ"),O=l("q1tI"),C=l.n(O),k={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"},A=k,S=l("6VBw"),y=function(we,fe){return O.createElement(S.a,Object(m.a)(Object(m.a)({},we),{},{ref:fe,icon:A}))};y.displayName="StarFilled";var w=O.forwardRef(y),x=l("rePB"),T=l("1OyB"),j=l("vuIU"),D=l("Ji7U"),N=l("LK+K"),F=l("i8i4"),B=l.n(F);function U(Le){return Le instanceof HTMLElement||Le instanceof SVGElement}function J(Le){return U(Le)?Le:Le instanceof C.a.Component?B.a.findDOMNode(Le):null}var $=l("TSYQ"),X=l.n($),ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(we){var fe=we.keyCode;if(we.altKey&&!we.ctrlKey||we.metaKey||fe>=ee.F1&&fe<=ee.F12)return!1;switch(fe){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(we){if(we>=ee.ZERO&&we<=ee.NINE||we>=ee.NUM_ZERO&&we<=ee.NUM_MULTIPLY||we>=ee.A&&we<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&we===0)return!0;switch(we){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ie=ee;function G(Le){var we=Le.pageXOffset,fe="scrollLeft";if(typeof we!="number"){var pe=Le.document;we=pe.documentElement[fe],typeof we!="number"&&(we=pe.body[fe])}return we}function Q(Le){var we,fe,pe=Le.ownerDocument,Ke=pe.body,Me=pe&&pe.documentElement,ze=Le.getBoundingClientRect();return we=ze.left,fe=ze.top,we-=Me.clientLeft||Ke.clientLeft||0,fe-=Me.clientTop||Ke.clientTop||0,{left:we,top:fe}}function W(Le){var we=Q(Le),fe=Le.ownerDocument,pe=fe.defaultView||fe.parentWindow;return we.left+=G(pe),we.left}var ne=function(Le){Object(D.a)(fe,Le);var we=Object(N.a)(fe);function fe(){var pe;Object(T.a)(this,fe);for(var Ke=arguments.length,Me=new Array(Ke),ze=0;ze<Ke;ze++)Me[ze]=arguments[ze];return pe=we.call.apply(we,[this].concat(Me)),pe.onHover=function(Ue){var He=pe.props,Ne=He.onHover,it=He.index;Ne(Ue,it)},pe.onClick=function(Ue){var He=pe.props,Ne=He.onClick,it=He.index;Ne(Ue,it)},pe.onKeyDown=function(Ue){var He=pe.props,Ne=He.onClick,it=He.index;Ue.keyCode===13&&Ne(Ue,it)},pe}return Object(j.a)(fe,[{key:"getClassName",value:function(){var Ke=this.props,Me=Ke.prefixCls,ze=Ke.index,Ue=Ke.value,He=Ke.allowHalf,Ne=Ke.focused,it=ze+1,Xe=Me;return Ue===0&&ze===0&&Ne?Xe+=" ".concat(Me,"-focused"):He&&Ue+.5>=it&&Ue<it?(Xe+=" ".concat(Me,"-half ").concat(Me,"-active"),Ne&&(Xe+=" ".concat(Me,"-focused"))):(Xe+=it<=Ue?" ".concat(Me,"-full"):" ".concat(Me,"-zero"),it===Ue&&Ne&&(Xe+=" ".concat(Me,"-focused"))),Xe}},{key:"render",value:function(){var Ke=this.onHover,Me=this.onClick,ze=this.onKeyDown,Ue=this.props,He=Ue.disabled,Ne=Ue.prefixCls,it=Ue.character,Xe=Ue.characterRender,ht=Ue.index,lt=Ue.count,Et=Ue.value,tt=typeof it=="function"?it(this.props):it,mt=C.a.createElement("li",{className:this.getClassName()},C.a.createElement("div",{onClick:He?null:Me,onKeyDown:He?null:ze,onMouseMove:He?null:Ke,role:"radio","aria-checked":Et>ht?"true":"false","aria-posinset":ht+1,"aria-setsize":lt,tabIndex:He?-1:0},C.a.createElement("div",{className:"".concat(Ne,"-first")},tt),C.a.createElement("div",{className:"".concat(Ne,"-second")},tt)));return Xe&&(mt=Xe(mt,this.props)),mt}}]),fe}(C.a.Component);function te(){}var _e=function(Le){Object(D.a)(fe,Le);var we=Object(N.a)(fe);function fe(pe){var Ke;Object(T.a)(this,fe),Ke=we.call(this,pe),Ke.stars=void 0,Ke.rate=void 0,Ke.onHover=function(ze,Ue){var He=Ke.props.onHoverChange,Ne=Ke.getStarValue(Ue,ze.pageX),it=Ke.state.cleanedValue;Ne!==it&&Ke.setState({hoverValue:Ne,cleanedValue:null}),He(Ne)},Ke.onMouseLeave=function(){var ze=Ke.props.onHoverChange;Ke.setState({hoverValue:void 0,cleanedValue:null}),ze(void 0)},Ke.onClick=function(ze,Ue){var He=Ke.props.allowClear,Ne=Ke.state.value,it=Ke.getStarValue(Ue,ze.pageX),Xe=!1;He&&(Xe=it===Ne),Ke.onMouseLeave(),Ke.changeValue(Xe?0:it),Ke.setState({cleanedValue:Xe?it:null})},Ke.onFocus=function(){var ze=Ke.props.onFocus;Ke.setState({focused:!0}),ze&&ze()},Ke.onBlur=function(){var ze=Ke.props.onBlur;Ke.setState({focused:!1}),ze&&ze()},Ke.onKeyDown=function(ze){var Ue=ze.keyCode,He=Ke.props,Ne=He.count,it=He.allowHalf,Xe=He.onKeyDown,ht=He.direction,lt=ht==="rtl",Et=Ke.state.value;Ue===ie.RIGHT&&Et<Ne&&!lt?(it?Et+=.5:Et+=1,Ke.changeValue(Et),ze.preventDefault()):Ue===ie.LEFT&&Et>0&&!lt||Ue===ie.RIGHT&&Et>0&&lt?(it?Et-=.5:Et-=1,Ke.changeValue(Et),ze.preventDefault()):Ue===ie.LEFT&&Et<Ne&&lt&&(it?Et+=.5:Et+=1,Ke.changeValue(Et),ze.preventDefault()),Xe&&Xe(ze)},Ke.saveRef=function(ze){return function(Ue){Ke.stars[ze]=Ue}},Ke.saveRate=function(ze){Ke.rate=ze};var Me=pe.value;return Me===void 0&&(Me=pe.defaultValue),Ke.stars={},Ke.state={value:Me,focused:!1,cleanedValue:null},Ke}return Object(j.a)(fe,[{key:"componentDidMount",value:function(){var Ke=this.props,Me=Ke.autoFocus,ze=Ke.disabled;Me&&!ze&&this.focus()}},{key:"getStarDOM",value:function(Ke){return J(this.stars[Ke])}},{key:"getStarValue",value:function(Ke,Me){var ze=this.props,Ue=ze.allowHalf,He=ze.direction,Ne=He==="rtl",it=Ke+1;if(Ue){var Xe=this.getStarDOM(Ke),ht=W(Xe),lt=Xe.clientWidth;(Ne&&Me-ht>lt/2||!Ne&&Me-ht<lt/2)&&(it-=.5)}return it}},{key:"focus",value:function(){var Ke=this.props.disabled;Ke||this.rate.focus()}},{key:"blur",value:function(){var Ke=this.props.disabled;Ke||this.rate.blur()}},{key:"changeValue",value:function(Ke){var Me=this.props.onChange;"value"in this.props||this.setState({value:Ke}),Me(Ke)}},{key:"render",value:function(){for(var Ke=this.props,Me=Ke.count,ze=Ke.allowHalf,Ue=Ke.style,He=Ke.prefixCls,Ne=Ke.disabled,it=Ke.className,Xe=Ke.character,ht=Ke.characterRender,lt=Ke.tabIndex,Et=Ke.direction,tt=this.state,mt=tt.value,xt=tt.hoverValue,Xt=tt.focused,vt=[],qe=Ne?"".concat(He,"-disabled"):"",Re=0;Re<Me;Re+=1)vt.push(C.a.createElement(ne,{ref:this.saveRef(Re),index:Re,count:Me,disabled:Ne,prefixCls:"".concat(He,"-star"),allowHalf:ze,value:xt===void 0?mt:xt,onClick:this.onClick,onHover:this.onHover,key:Re,character:Xe,characterRender:ht,focused:Xt}));var Se=X()(He,qe,it,Object(x.a)({},"".concat(He,"-rtl"),Et==="rtl"));return C.a.createElement("ul",{className:Se,style:Ue,onMouseLeave:Ne?null:this.onMouseLeave,tabIndex:Ne?-1:lt,onFocus:Ne?null:this.onFocus,onBlur:Ne?null:this.onBlur,onKeyDown:Ne?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},vt)}}],[{key:"getDerivedStateFromProps",value:function(Ke,Me){return"value"in Ke&&Ke.value!==void 0?Object(m.a)(Object(m.a)({},Me),{},{value:Ke.value}):Me}}]),fe}(C.a.Component);_e.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:te,character:"\u2605",onHoverChange:te,tabIndex:0,direction:"ltr"};var he=_e,oe=he,ge=l("H84U"),me=l("3S7+"),Z=function(Le,we){var fe={};for(var pe in Le)Object.prototype.hasOwnProperty.call(Le,pe)&&we.indexOf(pe)<0&&(fe[pe]=Le[pe]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,pe=Object.getOwnPropertySymbols(Le);Ke<pe.length;Ke++)we.indexOf(pe[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Le,pe[Ke])&&(fe[pe[Ke]]=Le[pe[Ke]]);return fe},xe=O.forwardRef(function(Le,we){var fe=Le.prefixCls,pe=Le.tooltips,Ke=Le.character,Me=Ke===void 0?O.createElement(w,null):Ke,ze=Z(Le,["prefixCls","tooltips","character"]),Ue=function(lt,Et){var tt=Et.index;return pe?O.createElement(me.a,{title:pe[tt]},lt):lt},He=O.useContext(ge.b),Ne=He.getPrefixCls,it=He.direction,Xe=Ne("rate",fe);return O.createElement(oe,Object(E.a)({ref:we,character:Me,characterRender:Ue},ze,{prefixCls:Xe,direction:it}))}),Ee=R.a=xe},H4fg:function(ce,R,l){"use strict";R.a={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},H7XF:function(ce,R,l){"use strict";R.byteLength=y,R.toByteArray=x,R.fromByteArray=D;for(var E=[],m=[],O=typeof Uint8Array!="undefined"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k=0,A=C.length;k<A;++k)E[k]=C[k],m[C.charCodeAt(k)]=k;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function S(N){var F=N.length;if(F%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var B=N.indexOf("=");B===-1&&(B=F);var U=B===F?0:4-B%4;return[B,U]}function y(N){var F=S(N),B=F[0],U=F[1];return(B+U)*3/4-U}function w(N,F,B){return(F+B)*3/4-B}function x(N){var F,B=S(N),U=B[0],J=B[1],$=new O(w(N,U,J)),X=0,ee=J>0?U-4:U,ie;for(ie=0;ie<ee;ie+=4)F=m[N.charCodeAt(ie)]<<18|m[N.charCodeAt(ie+1)]<<12|m[N.charCodeAt(ie+2)]<<6|m[N.charCodeAt(ie+3)],$[X++]=F>>16&255,$[X++]=F>>8&255,$[X++]=F&255;return J===2&&(F=m[N.charCodeAt(ie)]<<2|m[N.charCodeAt(ie+1)]>>4,$[X++]=F&255),J===1&&(F=m[N.charCodeAt(ie)]<<10|m[N.charCodeAt(ie+1)]<<4|m[N.charCodeAt(ie+2)]>>2,$[X++]=F>>8&255,$[X++]=F&255),$}function T(N){return E[N>>18&63]+E[N>>12&63]+E[N>>6&63]+E[N&63]}function j(N,F,B){for(var U,J=[],$=F;$<B;$+=3)U=(N[$]<<16&16711680)+(N[$+1]<<8&65280)+(N[$+2]&255),J.push(T(U));return J.join("")}function D(N){for(var F,B=N.length,U=B%3,J=[],$=16383,X=0,ee=B-U;X<ee;X+=$)J.push(j(N,X,X+$>ee?ee:X+$));return U===1?(F=N[B-1],J.push(E[F>>2]+E[F<<4&63]+"==")):U===2&&(F=(N[B-2]<<8)+N[B-1],J.push(E[F>>10]+E[F>>4&63]+E[F<<2&63]+"=")),J.join("")}},H84U:function(ce,R,l){"use strict";l.d(R,"b",function(){return k}),l.d(R,"a",function(){return A});var E=l("wx14"),m=l("q1tI"),O=l.n(m),C=function(w,x){return x||(w?"ant-".concat(w):"ant")},k=m.createContext({getPrefixCls:C}),A=k.Consumer;function S(y){return function(x){var T=function(F){return m.createElement(A,null,function(B){var U=y.prefixCls,J=B.getPrefixCls,$=F.prefixCls,X=J(U,$);return m.createElement(x,Object(E.a)({},B,F,{prefixCls:X}))})},j=x.constructor,D=j&&j.displayName||x.name||"Component";return T}}},H8Ov:function(ce,R,l){var E=l("I65O");E("toPrimitive")},H8j4:function(ce,R,l){var E=l("QkVE");function m(O,C){var k=E(this,O),A=k.size;return k.set(O,C),this.size+=k.size==A?0:1,this}ce.exports=m},HBdL:function(ce,R,l){"use strict";var E=l("x+uP"),m=l("HaE+"),O=l("q1tI"),C=l.n(O),k=l("+i8S");function A(S,y){var w=Object(k.a)(S),x=Object(O.useRef)(),T=Object(O.useCallback)(function(){x.current&&(clearTimeout(x.current),x.current=null)},[]),j=Object(O.useCallback)(Object(m.a)(Object(E.a)().mark(function D(){var N,F,B,U=arguments;return Object(E.a)().wrap(function($){for(;;)switch($.prev=$.next){case 0:for(N=U.length,F=new Array(N),B=0;B<N;B++)F[B]=U[B];if(!(y===0||y===void 0)){$.next=3;break}return $.abrupt("return",w.apply(void 0,F));case 3:return T(),$.abrupt("return",new Promise(function(X){x.current=setTimeout(Object(m.a)(Object(E.a)().mark(function ee(){return Object(E.a)().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.t0=X,G.next=3,w.apply(void 0,F);case 3:G.t1=G.sent,(0,G.t0)(G.t1);case 5:case"end":return G.stop()}},ee)})),y)}));case 5:case"end":return $.stop()}},D)})),[w,T,y]);return Object(O.useEffect)(function(){return T},[T]),{run:j,cancel:T}}R.a=A},HDXh:function(ce,R,l){"use strict";(function(E){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/var m=l("H7XF"),O=l("kVK+"),C=l("v3Qx");R.Buffer=y,R.SlowBuffer=J,R.INSPECT_MAX_BYTES=50,y.TYPED_ARRAY_SUPPORT=E.TYPED_ARRAY_SUPPORT!==void 0?E.TYPED_ARRAY_SUPPORT:k(),R.kMaxLength=A();function k(){try{var vt=new Uint8Array(1);return vt.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},vt.foo()===42&&typeof vt.subarray=="function"&&vt.subarray(1,1).byteLength===0}catch(qe){return!1}}function A(){return y.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function S(vt,qe){if(A()<qe)throw new RangeError("Invalid typed array length");return y.TYPED_ARRAY_SUPPORT?(vt=new Uint8Array(qe),vt.__proto__=y.prototype):(vt===null&&(vt=new y(qe)),vt.length=qe),vt}function y(vt,qe,Re){if(!y.TYPED_ARRAY_SUPPORT&&!(this instanceof y))return new y(vt,qe,Re);if(typeof vt=="number"){if(typeof qe=="string")throw new Error("If encoding is specified then the first argument must be a string");return j(this,vt)}return w(this,vt,qe,Re)}y.poolSize=8192,y._augment=function(vt){return vt.__proto__=y.prototype,vt};function w(vt,qe,Re,Se){if(typeof qe=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&qe instanceof ArrayBuffer?F(vt,qe,Re,Se):typeof qe=="string"?D(vt,qe,Re):B(vt,qe)}y.from=function(vt,qe,Re){return w(null,vt,qe,Re)},y.TYPED_ARRAY_SUPPORT&&(y.prototype.__proto__=Uint8Array.prototype,y.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&y[Symbol.species]===y&&Object.defineProperty(y,Symbol.species,{value:null,configurable:!0}));function x(vt){if(typeof vt!="number")throw new TypeError('"size" argument must be a number');if(vt<0)throw new RangeError('"size" argument must not be negative')}function T(vt,qe,Re,Se){return x(qe),qe<=0?S(vt,qe):Re!==void 0?typeof Se=="string"?S(vt,qe).fill(Re,Se):S(vt,qe).fill(Re):S(vt,qe)}y.alloc=function(vt,qe,Re){return T(null,vt,qe,Re)};function j(vt,qe){if(x(qe),vt=S(vt,qe<0?0:U(qe)|0),!y.TYPED_ARRAY_SUPPORT)for(var Re=0;Re<qe;++Re)vt[Re]=0;return vt}y.allocUnsafe=function(vt){return j(null,vt)},y.allocUnsafeSlow=function(vt){return j(null,vt)};function D(vt,qe,Re){if((typeof Re!="string"||Re==="")&&(Re="utf8"),!y.isEncoding(Re))throw new TypeError('"encoding" must be a valid string encoding');var Se=$(qe,Re)|0;vt=S(vt,Se);var Ve=vt.write(qe,Re);return Ve!==Se&&(vt=vt.slice(0,Ve)),vt}function N(vt,qe){var Re=qe.length<0?0:U(qe.length)|0;vt=S(vt,Re);for(var Se=0;Se<Re;Se+=1)vt[Se]=qe[Se]&255;return vt}function F(vt,qe,Re,Se){if(qe.byteLength,Re<0||qe.byteLength<Re)throw new RangeError("'offset' is out of bounds");if(qe.byteLength<Re+(Se||0))throw new RangeError("'length' is out of bounds");return Re===void 0&&Se===void 0?qe=new Uint8Array(qe):Se===void 0?qe=new Uint8Array(qe,Re):qe=new Uint8Array(qe,Re,Se),y.TYPED_ARRAY_SUPPORT?(vt=qe,vt.__proto__=y.prototype):vt=N(vt,qe),vt}function B(vt,qe){if(y.isBuffer(qe)){var Re=U(qe.length)|0;return vt=S(vt,Re),vt.length===0||qe.copy(vt,0,0,Re),vt}if(qe){if(typeof ArrayBuffer!="undefined"&&qe.buffer instanceof ArrayBuffer||"length"in qe)return typeof qe.length!="number"||Xt(qe.length)?S(vt,0):N(vt,qe);if(qe.type==="Buffer"&&C(qe.data))return N(vt,qe.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function U(vt){if(vt>=A())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A().toString(16)+" bytes");return vt|0}function J(vt){return+vt!=vt&&(vt=0),y.alloc(+vt)}y.isBuffer=function(qe){return!!(qe!=null&&qe._isBuffer)},y.compare=function(qe,Re){if(!y.isBuffer(qe)||!y.isBuffer(Re))throw new TypeError("Arguments must be Buffers");if(qe===Re)return 0;for(var Se=qe.length,Ve=Re.length,Ge=0,_t=Math.min(Se,Ve);Ge<_t;++Ge)if(qe[Ge]!==Re[Ge]){Se=qe[Ge],Ve=Re[Ge];break}return Se<Ve?-1:Ve<Se?1:0},y.isEncoding=function(qe){switch(String(qe).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}},y.concat=function(qe,Re){if(!C(qe))throw new TypeError('"list" argument must be an Array of Buffers');if(qe.length===0)return y.alloc(0);var Se;if(Re===void 0)for(Re=0,Se=0;Se<qe.length;++Se)Re+=qe[Se].length;var Ve=y.allocUnsafe(Re),Ge=0;for(Se=0;Se<qe.length;++Se){var _t=qe[Se];if(!y.isBuffer(_t))throw new TypeError('"list" argument must be an Array of Buffers');_t.copy(Ve,Ge),Ge+=_t.length}return Ve};function $(vt,qe){if(y.isBuffer(vt))return vt.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(vt)||vt instanceof ArrayBuffer))return vt.byteLength;typeof vt!="string"&&(vt=""+vt);var Re=vt.length;if(Re===0)return 0;for(var Se=!1;;)switch(qe){case"ascii":case"latin1":case"binary":return Re;case"utf8":case"utf-8":case void 0:return lt(vt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Re*2;case"hex":return Re>>>1;case"base64":return mt(vt).length;default:if(Se)return lt(vt).length;qe=(""+qe).toLowerCase(),Se=!0}}y.byteLength=$;function X(vt,qe,Re){var Se=!1;if((qe===void 0||qe<0)&&(qe=0),qe>this.length||((Re===void 0||Re>this.length)&&(Re=this.length),Re<=0)||(Re>>>=0,qe>>>=0,Re<=qe))return"";for(vt||(vt="utf8");;)switch(vt){case"hex":return Le(this,qe,Re);case"utf8":case"utf-8":return ge(this,qe,Re);case"ascii":return xe(this,qe,Re);case"latin1":case"binary":return Ee(this,qe,Re);case"base64":return oe(this,qe,Re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,qe,Re);default:if(Se)throw new TypeError("Unknown encoding: "+vt);vt=(vt+"").toLowerCase(),Se=!0}}y.prototype._isBuffer=!0;function ee(vt,qe,Re){var Se=vt[qe];vt[qe]=vt[Re],vt[Re]=Se}y.prototype.swap16=function(){var qe=this.length;if(qe%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Re=0;Re<qe;Re+=2)ee(this,Re,Re+1);return this},y.prototype.swap32=function(){var qe=this.length;if(qe%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Re=0;Re<qe;Re+=4)ee(this,Re,Re+3),ee(this,Re+1,Re+2);return this},y.prototype.swap64=function(){var qe=this.length;if(qe%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Re=0;Re<qe;Re+=8)ee(this,Re,Re+7),ee(this,Re+1,Re+6),ee(this,Re+2,Re+5),ee(this,Re+3,Re+4);return this},y.prototype.toString=function(){var qe=this.length|0;return qe===0?"":arguments.length===0?ge(this,0,qe):X.apply(this,arguments)},y.prototype.equals=function(qe){if(!y.isBuffer(qe))throw new TypeError("Argument must be a Buffer");return this===qe?!0:y.compare(this,qe)===0},y.prototype.inspect=function(){var qe="",Re=R.INSPECT_MAX_BYTES;return this.length>0&&(qe=this.toString("hex",0,Re).match(/.{2}/g).join(" "),this.length>Re&&(qe+=" ... ")),"<Buffer "+qe+">"},y.prototype.compare=function(qe,Re,Se,Ve,Ge){if(!y.isBuffer(qe))throw new TypeError("Argument must be a Buffer");if(Re===void 0&&(Re=0),Se===void 0&&(Se=qe?qe.length:0),Ve===void 0&&(Ve=0),Ge===void 0&&(Ge=this.length),Re<0||Se>qe.length||Ve<0||Ge>this.length)throw new RangeError("out of range index");if(Ve>=Ge&&Re>=Se)return 0;if(Ve>=Ge)return-1;if(Re>=Se)return 1;if(Re>>>=0,Se>>>=0,Ve>>>=0,Ge>>>=0,this===qe)return 0;for(var _t=Ge-Ve,bt=Se-Re,gt=Math.min(_t,bt),at=this.slice(Ve,Ge),ft=qe.slice(Re,Se),Fe=0;Fe<gt;++Fe)if(at[Fe]!==ft[Fe]){_t=at[Fe],bt=ft[Fe];break}return _t<bt?-1:bt<_t?1:0};function ie(vt,qe,Re,Se,Ve){if(vt.length===0)return-1;if(typeof Re=="string"?(Se=Re,Re=0):Re>2147483647?Re=2147483647:Re<-2147483648&&(Re=-2147483648),Re=+Re,isNaN(Re)&&(Re=Ve?0:vt.length-1),Re<0&&(Re=vt.length+Re),Re>=vt.length){if(Ve)return-1;Re=vt.length-1}else if(Re<0)if(Ve)Re=0;else return-1;if(typeof qe=="string"&&(qe=y.from(qe,Se)),y.isBuffer(qe))return qe.length===0?-1:G(vt,qe,Re,Se,Ve);if(typeof qe=="number")return qe=qe&255,y.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Ve?Uint8Array.prototype.indexOf.call(vt,qe,Re):Uint8Array.prototype.lastIndexOf.call(vt,qe,Re):G(vt,[qe],Re,Se,Ve);throw new TypeError("val must be string, number or Buffer")}function G(vt,qe,Re,Se,Ve){var Ge=1,_t=vt.length,bt=qe.length;if(Se!==void 0&&(Se=String(Se).toLowerCase(),Se==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(vt.length<2||qe.length<2)return-1;Ge=2,_t/=2,bt/=2,Re/=2}function gt(ut,le){return Ge===1?ut[le]:ut.readUInt16BE(le*Ge)}var at;if(Ve){var ft=-1;for(at=Re;at<_t;at++)if(gt(vt,at)===gt(qe,ft===-1?0:at-ft)){if(ft===-1&&(ft=at),at-ft+1===bt)return ft*Ge}else ft!==-1&&(at-=at-ft),ft=-1}else for(Re+bt>_t&&(Re=_t-bt),at=Re;at>=0;at--){for(var Fe=!0,Te=0;Te<bt;Te++)if(gt(vt,at+Te)!==gt(qe,Te)){Fe=!1;break}if(Fe)return at}return-1}y.prototype.includes=function(qe,Re,Se){return this.indexOf(qe,Re,Se)!==-1},y.prototype.indexOf=function(qe,Re,Se){return ie(this,qe,Re,Se,!0)},y.prototype.lastIndexOf=function(qe,Re,Se){return ie(this,qe,Re,Se,!1)};function Q(vt,qe,Re,Se){Re=Number(Re)||0;var Ve=vt.length-Re;Se?(Se=Number(Se),Se>Ve&&(Se=Ve)):Se=Ve;var Ge=qe.length;if(Ge%2!=0)throw new TypeError("Invalid hex string");Se>Ge/2&&(Se=Ge/2);for(var _t=0;_t<Se;++_t){var bt=parseInt(qe.substr(_t*2,2),16);if(isNaN(bt))return _t;vt[Re+_t]=bt}return _t}function W(vt,qe,Re,Se){return xt(lt(qe,vt.length-Re),vt,Re,Se)}function ne(vt,qe,Re,Se){return xt(Et(qe),vt,Re,Se)}function te(vt,qe,Re,Se){return ne(vt,qe,Re,Se)}function _e(vt,qe,Re,Se){return xt(mt(qe),vt,Re,Se)}function he(vt,qe,Re,Se){return xt(tt(qe,vt.length-Re),vt,Re,Se)}y.prototype.write=function(qe,Re,Se,Ve){if(Re===void 0)Ve="utf8",Se=this.length,Re=0;else if(Se===void 0&&typeof Re=="string")Ve=Re,Se=this.length,Re=0;else if(isFinite(Re))Re=Re|0,isFinite(Se)?(Se=Se|0,Ve===void 0&&(Ve="utf8")):(Ve=Se,Se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ge=this.length-Re;if((Se===void 0||Se>Ge)&&(Se=Ge),qe.length>0&&(Se<0||Re<0)||Re>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var _t=!1;;)switch(Ve){case"hex":return Q(this,qe,Re,Se);case"utf8":case"utf-8":return W(this,qe,Re,Se);case"ascii":return ne(this,qe,Re,Se);case"latin1":case"binary":return te(this,qe,Re,Se);case"base64":return _e(this,qe,Re,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,qe,Re,Se);default:if(_t)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),_t=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function oe(vt,qe,Re){return qe===0&&Re===vt.length?m.fromByteArray(vt):m.fromByteArray(vt.slice(qe,Re))}function ge(vt,qe,Re){Re=Math.min(vt.length,Re);for(var Se=[],Ve=qe;Ve<Re;){var Ge=vt[Ve],_t=null,bt=Ge>239?4:Ge>223?3:Ge>191?2:1;if(Ve+bt<=Re){var gt,at,ft,Fe;switch(bt){case 1:Ge<128&&(_t=Ge);break;case 2:gt=vt[Ve+1],(gt&192)==128&&(Fe=(Ge&31)<<6|gt&63,Fe>127&&(_t=Fe));break;case 3:gt=vt[Ve+1],at=vt[Ve+2],(gt&192)==128&&(at&192)==128&&(Fe=(Ge&15)<<12|(gt&63)<<6|at&63,Fe>2047&&(Fe<55296||Fe>57343)&&(_t=Fe));break;case 4:gt=vt[Ve+1],at=vt[Ve+2],ft=vt[Ve+3],(gt&192)==128&&(at&192)==128&&(ft&192)==128&&(Fe=(Ge&15)<<18|(gt&63)<<12|(at&63)<<6|ft&63,Fe>65535&&Fe<1114112&&(_t=Fe))}}_t===null?(_t=65533,bt=1):_t>65535&&(_t-=65536,Se.push(_t>>>10&1023|55296),_t=56320|_t&1023),Se.push(_t),Ve+=bt}return Z(Se)}var me=4096;function Z(vt){var qe=vt.length;if(qe<=me)return String.fromCharCode.apply(String,vt);for(var Re="",Se=0;Se<qe;)Re+=String.fromCharCode.apply(String,vt.slice(Se,Se+=me));return Re}function xe(vt,qe,Re){var Se="";Re=Math.min(vt.length,Re);for(var Ve=qe;Ve<Re;++Ve)Se+=String.fromCharCode(vt[Ve]&127);return Se}function Ee(vt,qe,Re){var Se="";Re=Math.min(vt.length,Re);for(var Ve=qe;Ve<Re;++Ve)Se+=String.fromCharCode(vt[Ve]);return Se}function Le(vt,qe,Re){var Se=vt.length;(!qe||qe<0)&&(qe=0),(!Re||Re<0||Re>Se)&&(Re=Se);for(var Ve="",Ge=qe;Ge<Re;++Ge)Ve+=ht(vt[Ge]);return Ve}function we(vt,qe,Re){for(var Se=vt.slice(qe,Re),Ve="",Ge=0;Ge<Se.length;Ge+=2)Ve+=String.fromCharCode(Se[Ge]+Se[Ge+1]*256);return Ve}y.prototype.slice=function(qe,Re){var Se=this.length;qe=~~qe,Re=Re===void 0?Se:~~Re,qe<0?(qe+=Se,qe<0&&(qe=0)):qe>Se&&(qe=Se),Re<0?(Re+=Se,Re<0&&(Re=0)):Re>Se&&(Re=Se),Re<qe&&(Re=qe);var Ve;if(y.TYPED_ARRAY_SUPPORT)Ve=this.subarray(qe,Re),Ve.__proto__=y.prototype;else{var Ge=Re-qe;Ve=new y(Ge,void 0);for(var _t=0;_t<Ge;++_t)Ve[_t]=this[_t+qe]}return Ve};function fe(vt,qe,Re){if(vt%1!=0||vt<0)throw new RangeError("offset is not uint");if(vt+qe>Re)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUIntLE=function(qe,Re,Se){qe=qe|0,Re=Re|0,Se||fe(qe,Re,this.length);for(var Ve=this[qe],Ge=1,_t=0;++_t<Re&&(Ge*=256);)Ve+=this[qe+_t]*Ge;return Ve},y.prototype.readUIntBE=function(qe,Re,Se){qe=qe|0,Re=Re|0,Se||fe(qe,Re,this.length);for(var Ve=this[qe+--Re],Ge=1;Re>0&&(Ge*=256);)Ve+=this[qe+--Re]*Ge;return Ve},y.prototype.readUInt8=function(qe,Re){return Re||fe(qe,1,this.length),this[qe]},y.prototype.readUInt16LE=function(qe,Re){return Re||fe(qe,2,this.length),this[qe]|this[qe+1]<<8},y.prototype.readUInt16BE=function(qe,Re){return Re||fe(qe,2,this.length),this[qe]<<8|this[qe+1]},y.prototype.readUInt32LE=function(qe,Re){return Re||fe(qe,4,this.length),(this[qe]|this[qe+1]<<8|this[qe+2]<<16)+this[qe+3]*16777216},y.prototype.readUInt32BE=function(qe,Re){return Re||fe(qe,4,this.length),this[qe]*16777216+(this[qe+1]<<16|this[qe+2]<<8|this[qe+3])},y.prototype.readIntLE=function(qe,Re,Se){qe=qe|0,Re=Re|0,Se||fe(qe,Re,this.length);for(var Ve=this[qe],Ge=1,_t=0;++_t<Re&&(Ge*=256);)Ve+=this[qe+_t]*Ge;return Ge*=128,Ve>=Ge&&(Ve-=Math.pow(2,8*Re)),Ve},y.prototype.readIntBE=function(qe,Re,Se){qe=qe|0,Re=Re|0,Se||fe(qe,Re,this.length);for(var Ve=Re,Ge=1,_t=this[qe+--Ve];Ve>0&&(Ge*=256);)_t+=this[qe+--Ve]*Ge;return Ge*=128,_t>=Ge&&(_t-=Math.pow(2,8*Re)),_t},y.prototype.readInt8=function(qe,Re){return Re||fe(qe,1,this.length),this[qe]&128?(255-this[qe]+1)*-1:this[qe]},y.prototype.readInt16LE=function(qe,Re){Re||fe(qe,2,this.length);var Se=this[qe]|this[qe+1]<<8;return Se&32768?Se|4294901760:Se},y.prototype.readInt16BE=function(qe,Re){Re||fe(qe,2,this.length);var Se=this[qe+1]|this[qe]<<8;return Se&32768?Se|4294901760:Se},y.prototype.readInt32LE=function(qe,Re){return Re||fe(qe,4,this.length),this[qe]|this[qe+1]<<8|this[qe+2]<<16|this[qe+3]<<24},y.prototype.readInt32BE=function(qe,Re){return Re||fe(qe,4,this.length),this[qe]<<24|this[qe+1]<<16|this[qe+2]<<8|this[qe+3]},y.prototype.readFloatLE=function(qe,Re){return Re||fe(qe,4,this.length),O.read(this,qe,!0,23,4)},y.prototype.readFloatBE=function(qe,Re){return Re||fe(qe,4,this.length),O.read(this,qe,!1,23,4)},y.prototype.readDoubleLE=function(qe,Re){return Re||fe(qe,8,this.length),O.read(this,qe,!0,52,8)},y.prototype.readDoubleBE=function(qe,Re){return Re||fe(qe,8,this.length),O.read(this,qe,!1,52,8)};function pe(vt,qe,Re,Se,Ve,Ge){if(!y.isBuffer(vt))throw new TypeError('"buffer" argument must be a Buffer instance');if(qe>Ve||qe<Ge)throw new RangeError('"value" argument is out of bounds');if(Re+Se>vt.length)throw new RangeError("Index out of range")}y.prototype.writeUIntLE=function(qe,Re,Se,Ve){if(qe=+qe,Re=Re|0,Se=Se|0,!Ve){var Ge=Math.pow(2,8*Se)-1;pe(this,qe,Re,Se,Ge,0)}var _t=1,bt=0;for(this[Re]=qe&255;++bt<Se&&(_t*=256);)this[Re+bt]=qe/_t&255;return Re+Se},y.prototype.writeUIntBE=function(qe,Re,Se,Ve){if(qe=+qe,Re=Re|0,Se=Se|0,!Ve){var Ge=Math.pow(2,8*Se)-1;pe(this,qe,Re,Se,Ge,0)}var _t=Se-1,bt=1;for(this[Re+_t]=qe&255;--_t>=0&&(bt*=256);)this[Re+_t]=qe/bt&255;return Re+Se},y.prototype.writeUInt8=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,1,255,0),y.TYPED_ARRAY_SUPPORT||(qe=Math.floor(qe)),this[Re]=qe&255,Re+1};function Ke(vt,qe,Re,Se){qe<0&&(qe=65535+qe+1);for(var Ve=0,Ge=Math.min(vt.length-Re,2);Ve<Ge;++Ve)vt[Re+Ve]=(qe&255<<8*(Se?Ve:1-Ve))>>>(Se?Ve:1-Ve)*8}y.prototype.writeUInt16LE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe&255,this[Re+1]=qe>>>8):Ke(this,qe,Re,!0),Re+2},y.prototype.writeUInt16BE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe>>>8,this[Re+1]=qe&255):Ke(this,qe,Re,!1),Re+2};function Me(vt,qe,Re,Se){qe<0&&(qe=4294967295+qe+1);for(var Ve=0,Ge=Math.min(vt.length-Re,4);Ve<Ge;++Ve)vt[Re+Ve]=qe>>>(Se?Ve:3-Ve)*8&255}y.prototype.writeUInt32LE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[Re+3]=qe>>>24,this[Re+2]=qe>>>16,this[Re+1]=qe>>>8,this[Re]=qe&255):Me(this,qe,Re,!0),Re+4},y.prototype.writeUInt32BE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe>>>24,this[Re+1]=qe>>>16,this[Re+2]=qe>>>8,this[Re+3]=qe&255):Me(this,qe,Re,!1),Re+4},y.prototype.writeIntLE=function(qe,Re,Se,Ve){if(qe=+qe,Re=Re|0,!Ve){var Ge=Math.pow(2,8*Se-1);pe(this,qe,Re,Se,Ge-1,-Ge)}var _t=0,bt=1,gt=0;for(this[Re]=qe&255;++_t<Se&&(bt*=256);)qe<0&&gt===0&&this[Re+_t-1]!==0&&(gt=1),this[Re+_t]=(qe/bt>>0)-gt&255;return Re+Se},y.prototype.writeIntBE=function(qe,Re,Se,Ve){if(qe=+qe,Re=Re|0,!Ve){var Ge=Math.pow(2,8*Se-1);pe(this,qe,Re,Se,Ge-1,-Ge)}var _t=Se-1,bt=1,gt=0;for(this[Re+_t]=qe&255;--_t>=0&&(bt*=256);)qe<0&&gt===0&&this[Re+_t+1]!==0&&(gt=1),this[Re+_t]=(qe/bt>>0)-gt&255;return Re+Se},y.prototype.writeInt8=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,1,127,-128),y.TYPED_ARRAY_SUPPORT||(qe=Math.floor(qe)),qe<0&&(qe=255+qe+1),this[Re]=qe&255,Re+1},y.prototype.writeInt16LE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe&255,this[Re+1]=qe>>>8):Ke(this,qe,Re,!0),Re+2},y.prototype.writeInt16BE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe>>>8,this[Re+1]=qe&255):Ke(this,qe,Re,!1),Re+2},y.prototype.writeInt32LE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,4,2147483647,-2147483648),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe&255,this[Re+1]=qe>>>8,this[Re+2]=qe>>>16,this[Re+3]=qe>>>24):Me(this,qe,Re,!0),Re+4},y.prototype.writeInt32BE=function(qe,Re,Se){return qe=+qe,Re=Re|0,Se||pe(this,qe,Re,4,2147483647,-2147483648),qe<0&&(qe=4294967295+qe+1),y.TYPED_ARRAY_SUPPORT?(this[Re]=qe>>>24,this[Re+1]=qe>>>16,this[Re+2]=qe>>>8,this[Re+3]=qe&255):Me(this,qe,Re,!1),Re+4};function ze(vt,qe,Re,Se,Ve,Ge){if(Re+Se>vt.length)throw new RangeError("Index out of range");if(Re<0)throw new RangeError("Index out of range")}function Ue(vt,qe,Re,Se,Ve){return Ve||ze(vt,qe,Re,4,34028234663852886e22,-34028234663852886e22),O.write(vt,qe,Re,Se,23,4),Re+4}y.prototype.writeFloatLE=function(qe,Re,Se){return Ue(this,qe,Re,!0,Se)},y.prototype.writeFloatBE=function(qe,Re,Se){return Ue(this,qe,Re,!1,Se)};function He(vt,qe,Re,Se,Ve){return Ve||ze(vt,qe,Re,8,17976931348623157e292,-17976931348623157e292),O.write(vt,qe,Re,Se,52,8),Re+8}y.prototype.writeDoubleLE=function(qe,Re,Se){return He(this,qe,Re,!0,Se)},y.prototype.writeDoubleBE=function(qe,Re,Se){return He(this,qe,Re,!1,Se)},y.prototype.copy=function(qe,Re,Se,Ve){if(Se||(Se=0),!Ve&&Ve!==0&&(Ve=this.length),Re>=qe.length&&(Re=qe.length),Re||(Re=0),Ve>0&&Ve<Se&&(Ve=Se),Ve===Se||qe.length===0||this.length===0)return 0;if(Re<0)throw new RangeError("targetStart out of bounds");if(Se<0||Se>=this.length)throw new RangeError("sourceStart out of bounds");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),qe.length-Re<Ve-Se&&(Ve=qe.length-Re+Se);var Ge=Ve-Se,_t;if(this===qe&&Se<Re&&Re<Ve)for(_t=Ge-1;_t>=0;--_t)qe[_t+Re]=this[_t+Se];else if(Ge<1e3||!y.TYPED_ARRAY_SUPPORT)for(_t=0;_t<Ge;++_t)qe[_t+Re]=this[_t+Se];else Uint8Array.prototype.set.call(qe,this.subarray(Se,Se+Ge),Re);return Ge},y.prototype.fill=function(qe,Re,Se,Ve){if(typeof qe=="string"){if(typeof Re=="string"?(Ve=Re,Re=0,Se=this.length):typeof Se=="string"&&(Ve=Se,Se=this.length),qe.length===1){var Ge=qe.charCodeAt(0);Ge<256&&(qe=Ge)}if(Ve!==void 0&&typeof Ve!="string")throw new TypeError("encoding must be a string");if(typeof Ve=="string"&&!y.isEncoding(Ve))throw new TypeError("Unknown encoding: "+Ve)}else typeof qe=="number"&&(qe=qe&255);if(Re<0||this.length<Re||this.length<Se)throw new RangeError("Out of range index");if(Se<=Re)return this;Re=Re>>>0,Se=Se===void 0?this.length:Se>>>0,qe||(qe=0);var _t;if(typeof qe=="number")for(_t=Re;_t<Se;++_t)this[_t]=qe;else{var bt=y.isBuffer(qe)?qe:lt(new y(qe,Ve).toString()),gt=bt.length;for(_t=0;_t<Se-Re;++_t)this[_t+Re]=bt[_t%gt]}return this};var Ne=/[^+\/0-9A-Za-z-_]/g;function it(vt){if(vt=Xe(vt).replace(Ne,""),vt.length<2)return"";for(;vt.length%4!=0;)vt=vt+"=";return vt}function Xe(vt){return vt.trim?vt.trim():vt.replace(/^\s+|\s+$/g,"")}function ht(vt){return vt<16?"0"+vt.toString(16):vt.toString(16)}function lt(vt,qe){qe=qe||Infinity;for(var Re,Se=vt.length,Ve=null,Ge=[],_t=0;_t<Se;++_t){if(Re=vt.charCodeAt(_t),Re>55295&&Re<57344){if(!Ve){if(Re>56319){(qe-=3)>-1&&Ge.push(239,191,189);continue}else if(_t+1===Se){(qe-=3)>-1&&Ge.push(239,191,189);continue}Ve=Re;continue}if(Re<56320){(qe-=3)>-1&&Ge.push(239,191,189),Ve=Re;continue}Re=(Ve-55296<<10|Re-56320)+65536}else Ve&&(qe-=3)>-1&&Ge.push(239,191,189);if(Ve=null,Re<128){if((qe-=1)<0)break;Ge.push(Re)}else if(Re<2048){if((qe-=2)<0)break;Ge.push(Re>>6|192,Re&63|128)}else if(Re<65536){if((qe-=3)<0)break;Ge.push(Re>>12|224,Re>>6&63|128,Re&63|128)}else if(Re<1114112){if((qe-=4)<0)break;Ge.push(Re>>18|240,Re>>12&63|128,Re>>6&63|128,Re&63|128)}else throw new Error("Invalid code point")}return Ge}function Et(vt){for(var qe=[],Re=0;Re<vt.length;++Re)qe.push(vt.charCodeAt(Re)&255);return qe}function tt(vt,qe){for(var Re,Se,Ve,Ge=[],_t=0;_t<vt.length&&!((qe-=2)<0);++_t)Re=vt.charCodeAt(_t),Se=Re>>8,Ve=Re%256,Ge.push(Ve),Ge.push(Se);return Ge}function mt(vt){return m.toByteArray(it(vt))}function xt(vt,qe,Re,Se){for(var Ve=0;Ve<Se&&!(Ve+Re>=qe.length||Ve>=vt.length);++Ve)qe[Ve+Re]=vt[Ve];return Ve}function Xt(vt){return vt!==vt}}).call(this,l("IyRk"))},HDyB:function(ce,R,l){var E=l("nmnc"),m=l("JHRd"),O=l("ljhN"),C=l("or5M"),k=l("7fqy"),A=l("rEGp"),S=1,y=2,w="[object Boolean]",x="[object Date]",T="[object Error]",j="[object Map]",D="[object Number]",N="[object RegExp]",F="[object Set]",B="[object String]",U="[object Symbol]",J="[object ArrayBuffer]",$="[object DataView]",X=E?E.prototype:void 0,ee=X?X.valueOf:void 0;function ie(G,Q,W,ne,te,_e,he){switch(W){case $:if(G.byteLength!=Q.byteLength||G.byteOffset!=Q.byteOffset)return!1;G=G.buffer,Q=Q.buffer;case J:return!(G.byteLength!=Q.byteLength||!_e(new m(G),new m(Q)));case w:case x:case D:return O(+G,+Q);case T:return G.name==Q.name&&G.message==Q.message;case N:case B:return G==Q+"";case j:var oe=k;case F:var ge=ne&S;if(oe||(oe=A),G.size!=Q.size&&!ge)return!1;var me=he.get(G);if(me)return me==Q;ne|=y,he.set(G,Q);var Z=C(oe(G),oe(Q),ne,te,_e,he);return he.delete(G),Z;case U:if(ee)return ee.call(G)==ee.call(Q)}return!1}ce.exports=ie},HK0d:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m,O,C,k,A){for(var S=0,y=m.length;S<y;++S){var w=m[S](O,C,k,A);if(w)return w}}ce.exports=R.default},HKQd:function(ce,R,l){var E=l("MVys"),m=l("Tfd0"),O="\u200B\x85\u180E";ce.exports=function(C){return E(function(){return!!m[C]()||O[C]()!=O||m[C].name!==C})}},HOxn:function(ce,R,l){var E=l("Cwc5"),m=l("Kz5y"),O=E(m,"Promise");ce.exports=O},HQPm:function(ce,R,l){l("bPAU")},HTqx:function(ce,R,l){"use strict";R.__esModule=!0;function E(O,C){if(!(O instanceof C))throw new TypeError("Cannot call a class as a function")}var m=function(){function O(C){E(this,O),this.params=C,this.index=0}return O.prototype.get=function(k){var A=k.key,S=k.value;return this.params?A?this.params[A]:this.params[this.index++]:S},O}();R.default=m,ce.exports=R.default},HYlc:function(ce,R,l){"use strict";(function(E){l.d(R,"a",function(){return U}),l.d(R,"b",function(){return w}),l.d(R,"c",function(){return N}),l.d(R,"d",function(){return j}),l.d(R,"e",function(){return Hc}),l.d(R,"f",function(){return Oc}),l.d(R,"g",function(){return lc}),l.d(R,"h",function(){return x});var m=l("rAM+"),O=l("oBTY"),C=l("yKVA"),k=l("879j"),A=l("tJVT"),S=l("mtLc"),y=l("fWQN"),w={graph:{meta:{rankDir:"TB",nodeSep:50,rankSep:50,edgeSep:5,align:void 0}},subScene:{meta:{paddingTop:20,paddingBottom:20,paddingLeft:20,paddingRight:20,labelHeight:20}},nodeSize:{meta:{width:100,maxLabelWidth:0,height:20},node:{width:80,height:20,labelOffset:10,maxLabelWidth:40},bridge:{width:5,height:5,radius:2,labelOffset:0}}};function x(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,pt,It,sn,fn,An=JSON.parse(JSON.stringify(Pe)),ur=((pt=kt==null?void 0:kt.graph)===null||pt===void 0?void 0:pt.meta)||{},Pr=((It=kt==null?void 0:kt.subScene)===null||It===void 0?void 0:It.meta)||{},hr=((sn=kt==null?void 0:kt.nodeSize)===null||sn===void 0?void 0:sn.meta)||{},ha=((fn=kt==null?void 0:kt.nodeSize)===null||fn===void 0?void 0:fn.node)||{},ya=An.nodeSize.bridge;return{graph:{meta:Object.assign(An.graph.meta,ur)},subScene:{meta:Object.assign(An.subScene.meta,Pr)},nodeSize:{meta:Object.assign(An.nodeSize.meta,hr),node:Object.assign(An.nodeSize.node,ha),bridge:ya}}}function T(kt){return"\u25EC".concat(kt,"\u25EC")}var j=T("ROOT"),D=T("BRIDGE_GRAPH"),N,F,B,U;(function(kt){kt[kt.META=0]="META",kt[kt.NODE=1]="NODE",kt[kt.BRIDGE=2]="BRIDGE"})(N||(N={})),function(kt){kt[kt.INCLUDE=0]="INCLUDE",kt[kt.EXCLUDE=1]="EXCLUDE",kt[kt.UNSPECIFIED=2]="UNSPECIFIED"}(F||(F={})),function(kt){kt[kt.META=0]="META",kt[kt.CORE=1]="CORE",kt[kt.BRIDGE=2]="BRIDGE"}(B||(B={})),function(kt){kt[kt.META=0]="META",kt[kt.OP=1]="OP",kt[kt.SERIES=2]="SERIES"}(U||(U={}));var J=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof E!="undefined"?E:typeof self!="undefined"?self:{};function $(kt,Pe){return kt(Pe={exports:{}},Pe.exports),Pe.exports}var X=function(){this.__data__=[],this.size=0},ee=function(Pe,pt){return Pe===pt||Pe!=Pe&&pt!=pt},ie=function(Pe,pt){for(var It=Pe.length;It--;)if(ee(Pe[It][0],pt))return It;return-1},G=Array.prototype.splice,Q=function(Pe){var pt=this.__data__,It=ie(pt,Pe);return!(It<0)&&(It==pt.length-1?pt.pop():G.call(pt,It,1),--this.size,!0)},W=function(Pe){var pt=this.__data__,It=ie(pt,Pe);return It<0?void 0:pt[It][1]},ne=function(Pe){return ie(this.__data__,Pe)>-1},te=function(Pe,pt){var It=this.__data__,sn=ie(It,Pe);return sn<0?(++this.size,It.push([Pe,pt])):It[sn][1]=pt,this};function _e(kt){var Pe=-1,pt=kt==null?0:kt.length;for(this.clear();++Pe<pt;){var It=kt[Pe];this.set(It[0],It[1])}}_e.prototype.clear=X,_e.prototype.delete=Q,_e.prototype.get=W,_e.prototype.has=ne,_e.prototype.set=te;var he=_e,oe=function(){this.__data__=new he,this.size=0},ge=function(Pe){var pt=this.__data__,It=pt.delete(Pe);return this.size=pt.size,It},me=function(Pe){return this.__data__.get(Pe)},Z=function(Pe){return this.__data__.has(Pe)},xe=typeof J=="object"&&J&&J.Object===Object&&J,Ee=typeof self=="object"&&self&&self.Object===Object&&self,Le=xe||Ee||Function("return this")(),we=Le.Symbol,fe=Object.prototype,pe=fe.hasOwnProperty,Ke=fe.toString,Me=we?we.toStringTag:void 0,ze=function(Pe){var pt=pe.call(Pe,Me),It=Pe[Me];try{Pe[Me]=void 0;var sn=!0}catch(An){}var fn=Ke.call(Pe);return sn&&(pt?Pe[Me]=It:delete Pe[Me]),fn},Ue=Object.prototype.toString,He=function(Pe){return Ue.call(Pe)},Ne=we?we.toStringTag:void 0,it=function(Pe){return Pe==null?Pe===void 0?"[object Undefined]":"[object Null]":Ne&&Ne in Object(Pe)?ze(Pe):He(Pe)},Xe=function(Pe){var pt=typeof Pe;return Pe!=null&&(pt=="object"||pt=="function")},ht,lt=function(Pe){if(!Xe(Pe))return!1;var pt=it(Pe);return pt=="[object Function]"||pt=="[object GeneratorFunction]"||pt=="[object AsyncFunction]"||pt=="[object Proxy]"},Et=Le["__core-js_shared__"],tt=(ht=/[^.]+$/.exec(Et&&Et.keys&&Et.keys.IE_PROTO||""))?"Symbol(src)_1."+ht:"",mt=function(Pe){return!!tt&&tt in Pe},xt=Function.prototype.toString,Xt=function(Pe){if(Pe!=null){try{return xt.call(Pe)}catch(pt){}try{return Pe+""}catch(pt){}}return""},vt=/^\[object .+?Constructor\]$/,qe=Function.prototype,Re=Object.prototype,Se=qe.toString,Ve=Re.hasOwnProperty,Ge=RegExp("^"+Se.call(Ve).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=function(Pe){return!(!Xe(Pe)||mt(Pe))&&(lt(Pe)?Ge:vt).test(Xt(Pe))},bt=function(Pe,pt){return Pe==null?void 0:Pe[pt]},gt=function(Pe,pt){var It=bt(Pe,pt);return _t(It)?It:void 0},at=gt(Le,"Map"),ft=gt(Object,"create"),Fe=function(){this.__data__=ft?ft(null):{},this.size=0},Te=function(Pe){var pt=this.has(Pe)&&delete this.__data__[Pe];return this.size-=pt?1:0,pt},ut=Object.prototype.hasOwnProperty,le=function(Pe){var pt=this.__data__;if(ft){var It=pt[Pe];return It==="__lodash_hash_undefined__"?void 0:It}return ut.call(pt,Pe)?pt[Pe]:void 0},$e=Object.prototype.hasOwnProperty,Qe=function(Pe){var pt=this.__data__;return ft?pt[Pe]!==void 0:$e.call(pt,Pe)},Tt=function(Pe,pt){var It=this.__data__;return this.size+=this.has(Pe)?0:1,It[Pe]=ft&&pt===void 0?"__lodash_hash_undefined__":pt,this};function Ot(kt){var Pe=-1,pt=kt==null?0:kt.length;for(this.clear();++Pe<pt;){var It=kt[Pe];this.set(It[0],It[1])}}Ot.prototype.clear=Fe,Ot.prototype.delete=Te,Ot.prototype.get=le,Ot.prototype.has=Qe,Ot.prototype.set=Tt;var Ut=Ot,At=function(){this.size=0,this.__data__={hash:new Ut,map:new(at||he),string:new Ut}},Pt=function(Pe){var pt=typeof Pe;return pt=="string"||pt=="number"||pt=="symbol"||pt=="boolean"?Pe!=="__proto__":Pe===null},Dt=function(Pe,pt){var It=Pe.__data__;return Pt(pt)?It[typeof pt=="string"?"string":"hash"]:It.map},Qt=function(Pe){var pt=Dt(this,Pe).delete(Pe);return this.size-=pt?1:0,pt},cn=function(Pe){return Dt(this,Pe).get(Pe)},$n=function(Pe){return Dt(this,Pe).has(Pe)},hn=function(Pe,pt){var It=Dt(this,Pe),sn=It.size;return It.set(Pe,pt),this.size+=It.size==sn?0:1,this};function _n(kt){var Pe=-1,pt=kt==null?0:kt.length;for(this.clear();++Pe<pt;){var It=kt[Pe];this.set(It[0],It[1])}}_n.prototype.clear=At,_n.prototype.delete=Qt,_n.prototype.get=cn,_n.prototype.has=$n,_n.prototype.set=hn;var bn=_n,Bn=function(Pe,pt){var It=this.__data__;if(It instanceof he){var sn=It.__data__;if(!at||sn.length<199)return sn.push([Pe,pt]),this.size=++It.size,this;It=this.__data__=new bn(sn)}return It.set(Pe,pt),this.size=It.size,this};function Tn(kt){var Pe=this.__data__=new he(kt);this.size=Pe.size}Tn.prototype.clear=oe,Tn.prototype.delete=ge,Tn.prototype.get=me,Tn.prototype.has=Z,Tn.prototype.set=Bn;var Tr=Tn,Sr=function(Pe,pt){for(var It=-1,sn=Pe==null?0:Pe.length;++It<sn&&pt(Pe[It],It,Pe)!==!1;);return Pe},Wr=function(){try{var kt=gt(Object,"defineProperty");return kt({},"",{}),kt}catch(Pe){}}(),br=function(Pe,pt,It){pt=="__proto__"&&Wr?Wr(Pe,pt,{configurable:!0,enumerable:!0,value:It,writable:!0}):Pe[pt]=It},Wn=Object.prototype.hasOwnProperty,gr=function(Pe,pt,It){var sn=Pe[pt];Wn.call(Pe,pt)&&ee(sn,It)&&(It!==void 0||pt in Pe)||br(Pe,pt,It)},na=function(Pe,pt,It,sn){var fn=!It;It||(It={});for(var An=-1,ur=pt.length;++An<ur;){var Pr=pt[An],hr=sn?sn(It[Pr],Pe[Pr],Pr,It,Pe):void 0;hr===void 0&&(hr=Pe[Pr]),fn?br(It,Pr,hr):gr(It,Pr,hr)}return It},jn=function(Pe,pt){for(var It=-1,sn=Array(Pe);++It<Pe;)sn[It]=pt(It);return sn},un=function(Pe){return Pe!=null&&typeof Pe=="object"},zt=function(Pe){return un(Pe)&&it(Pe)=="[object Arguments]"},Bt=Object.prototype,H=Bt.hasOwnProperty,ot=Bt.propertyIsEnumerable,nt=zt(function(){return arguments}())?zt:function(kt){return un(kt)&&H.call(kt,"callee")&&!ot.call(kt,"callee")},Ct=Array.isArray,Wt=function(){return!1},kn=$(function(kt,Pe){var pt=Pe&&!Pe.nodeType&&Pe,It=pt&&kt&&!kt.nodeType&&kt,sn=It&&It.exports===pt?Le.Buffer:void 0,fn=(sn?sn.isBuffer:void 0)||Wt;kt.exports=fn}),Sn=/^(?:0|[1-9]\d*)$/,Zn=function(Pe,pt){var It=typeof Pe;return!!(pt=pt==null?9007199254740991:pt)&&(It=="number"||It!="symbol"&&Sn.test(Pe))&&Pe>-1&&Pe%1==0&&Pe<pt},Or=function(Pe){return typeof Pe=="number"&&Pe>-1&&Pe%1==0&&Pe<=9007199254740991},Yn={};Yn["[object Float32Array]"]=Yn["[object Float64Array]"]=Yn["[object Int8Array]"]=Yn["[object Int16Array]"]=Yn["[object Int32Array]"]=Yn["[object Uint8Array]"]=Yn["[object Uint8ClampedArray]"]=Yn["[object Uint16Array]"]=Yn["[object Uint32Array]"]=!0,Yn["[object Arguments]"]=Yn["[object Array]"]=Yn["[object ArrayBuffer]"]=Yn["[object Boolean]"]=Yn["[object DataView]"]=Yn["[object Date]"]=Yn["[object Error]"]=Yn["[object Function]"]=Yn["[object Map]"]=Yn["[object Number]"]=Yn["[object Object]"]=Yn["[object RegExp]"]=Yn["[object Set]"]=Yn["[object String]"]=Yn["[object WeakMap]"]=!1;var Nn=function(Pe){return un(Pe)&&Or(Pe.length)&&!!Yn[it(Pe)]},Zt=function(Pe){return function(pt){return Pe(pt)}},rr=$(function(kt,Pe){var pt=Pe&&!Pe.nodeType&&Pe,It=pt&&kt&&!kt.nodeType&&kt,sn=It&&It.exports===pt&&xe.process,fn=function(){try{var An=It&&It.require&&It.require("util").types;return An||sn&&sn.binding&&sn.binding("util")}catch(ur){}}();kt.exports=fn}),Gn=rr&&rr.isTypedArray,ln=Gn?Zt(Gn):Nn,Xn=Object.prototype.hasOwnProperty,Kn=function(Pe,pt){var It=Ct(Pe),sn=!It&&nt(Pe),fn=!It&&!sn&&kn(Pe),An=!It&&!sn&&!fn&&ln(Pe),ur=It||sn||fn||An,Pr=ur?jn(Pe.length,String):[],hr=Pr.length;for(var ha in Pe)!pt&&!Xn.call(Pe,ha)||ur&&(ha=="length"||fn&&(ha=="offset"||ha=="parent")||An&&(ha=="buffer"||ha=="byteLength"||ha=="byteOffset")||Zn(ha,hr))||Pr.push(ha);return Pr},fr=Object.prototype,Hn=function(Pe){var pt=Pe&&Pe.constructor;return Pe===(typeof pt=="function"&&pt.prototype||fr)},Sa=function(Pe,pt){return function(It){return Pe(pt(It))}},Lr=Sa(Object.keys,Object),Ca=Object.prototype.hasOwnProperty,za=function(Pe){if(!Hn(Pe))return Lr(Pe);var pt=[];for(var It in Object(Pe))Ca.call(Pe,It)&&It!="constructor"&&pt.push(It);return pt},Ma=function(Pe){return Pe!=null&&Or(Pe.length)&&!lt(Pe)},va=function(Pe){return Ma(Pe)?Kn(Pe):za(Pe)},qa=function(Pe,pt){return Pe&&na(pt,va(pt),Pe)},gi=function(Pe){var pt=[];if(Pe!=null)for(var It in Object(Pe))pt.push(It);return pt},Qi=Object.prototype.hasOwnProperty,mi=function(Pe){if(!Xe(Pe))return gi(Pe);var pt=Hn(Pe),It=[];for(var sn in Pe)(sn!="constructor"||!pt&&Qi.call(Pe,sn))&&It.push(sn);return It},Cr=function(Pe){return Ma(Pe)?Kn(Pe,!0):mi(Pe)},Un=function(Pe,pt){return Pe&&na(pt,Cr(pt),Pe)},Lt=$(function(kt,Pe){var pt=Pe&&!Pe.nodeType&&Pe,It=pt&&kt&&!kt.nodeType&&kt,sn=It&&It.exports===pt?Le.Buffer:void 0,fn=sn?sn.allocUnsafe:void 0;kt.exports=function(An,ur){if(ur)return An.slice();var Pr=An.length,hr=fn?fn(Pr):new An.constructor(Pr);return An.copy(hr),hr}}),gn=function(Pe,pt){var It=-1,sn=Pe.length;for(pt||(pt=Array(sn));++It<sn;)pt[It]=Pe[It];return pt},Ln=function(Pe,pt){for(var It=-1,sn=Pe==null?0:Pe.length,fn=0,An=[];++It<sn;){var ur=Pe[It];pt(ur,It,Pe)&&(An[fn++]=ur)}return An},kr=function(){return[]},ea=Object.prototype.propertyIsEnumerable,Qr=Object.getOwnPropertySymbols,Na=Qr?function(kt){return kt==null?[]:(kt=Object(kt),Ln(Qr(kt),function(Pe){return ea.call(kt,Pe)}))}:kr,ar=function(Pe,pt){return na(Pe,Na(Pe),pt)},pi=function(Pe,pt){for(var It=-1,sn=pt.length,fn=Pe.length;++It<sn;)Pe[fn+It]=pt[It];return Pe},_i=Sa(Object.getPrototypeOf,Object),ti=Object.getOwnPropertySymbols?function(kt){for(var Pe=[];kt;)pi(Pe,Na(kt)),kt=_i(kt);return Pe}:kr,ui=function(Pe,pt){return na(Pe,ti(Pe),pt)},Ri=function(Pe,pt,It){var sn=pt(Pe);return Ct(Pe)?sn:pi(sn,It(Pe))},ao=function(Pe){return Ri(Pe,va,Na)},Zi=function(Pe){return Ri(Pe,Cr,ti)},Fi=gt(Le,"DataView"),Si=gt(Le,"Promise"),qi=gt(Le,"Set"),eo=gt(Le,"WeakMap"),xo=Xt(Fi),cs=Xt(at),ba=Xt(Si),sa=Xt(qi),Da=Xt(eo),On=it;(Fi&&On(new Fi(new ArrayBuffer(1)))!="[object DataView]"||at&&On(new at)!="[object Map]"||Si&&On(Si.resolve())!="[object Promise]"||qi&&On(new qi)!="[object Set]"||eo&&On(new eo)!="[object WeakMap]")&&(On=function(Pe){var pt=it(Pe),It=pt=="[object Object]"?Pe.constructor:void 0,sn=It?Xt(It):"";if(sn)switch(sn){case xo:return"[object DataView]";case cs:return"[object Map]";case ba:return"[object Promise]";case sa:return"[object Set]";case Da:return"[object WeakMap]"}return pt});var xn=On,Rt=Object.prototype.hasOwnProperty,mr=function(Pe){var pt=Pe.length,It=new Pe.constructor(pt);return pt&&typeof Pe[0]=="string"&&Rt.call(Pe,"index")&&(It.index=Pe.index,It.input=Pe.input),It},ta=Le.Uint8Array,ma=function(Pe){var pt=new Pe.constructor(Pe.byteLength);return new ta(pt).set(new ta(Pe)),pt},Oa=function(Pe,pt){var It=pt?ma(Pe.buffer):Pe.buffer;return new Pe.constructor(It,Pe.byteOffset,Pe.byteLength)},Pn=/\w*$/,Kr=function(Pe){var pt=new Pe.constructor(Pe.source,Pn.exec(Pe));return pt.lastIndex=Pe.lastIndex,pt},Vn=we?we.prototype:void 0,tr=Vn?Vn.valueOf:void 0,Ea=function(Pe){return tr?Object(tr.call(Pe)):{}},Ja=function(Pe,pt){var It=pt?ma(Pe.buffer):Pe.buffer;return new Pe.constructor(It,Pe.byteOffset,Pe.length)},go=function(Pe,pt,It){var sn=Pe.constructor;switch(pt){case"[object ArrayBuffer]":return ma(Pe);case"[object Boolean]":case"[object Date]":return new sn(+Pe);case"[object DataView]":return Oa(Pe,It);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Ja(Pe,It);case"[object Map]":return new sn;case"[object Number]":case"[object String]":return new sn(Pe);case"[object RegExp]":return Kr(Pe);case"[object Set]":return new sn;case"[object Symbol]":return Ea(Pe)}},fi=Object.create,lo=function(){function kt(){}return function(Pe){if(!Xe(Pe))return{};if(fi)return fi(Pe);kt.prototype=Pe;var pt=new kt;return kt.prototype=void 0,pt}}(),Oi=function(Pe){return typeof Pe.constructor!="function"||Hn(Pe)?{}:lo(_i(Pe))},io=function(Pe){return un(Pe)&&xn(Pe)=="[object Map]"},Vi=rr&&rr.isMap,vo=Vi?Zt(Vi):io,qo=function(Pe){return un(Pe)&&xn(Pe)=="[object Set]"},hs=rr&&rr.isSet,$t=hs?Zt(hs):qo,rt={};rt["[object Arguments]"]=rt["[object Array]"]=rt["[object ArrayBuffer]"]=rt["[object DataView]"]=rt["[object Boolean]"]=rt["[object Date]"]=rt["[object Float32Array]"]=rt["[object Float64Array]"]=rt["[object Int8Array]"]=rt["[object Int16Array]"]=rt["[object Int32Array]"]=rt["[object Map]"]=rt["[object Number]"]=rt["[object Object]"]=rt["[object RegExp]"]=rt["[object Set]"]=rt["[object String]"]=rt["[object Symbol]"]=rt["[object Uint8Array]"]=rt["[object Uint8ClampedArray]"]=rt["[object Uint16Array]"]=rt["[object Uint32Array]"]=!0,rt["[object Error]"]=rt["[object Function]"]=rt["[object WeakMap]"]=!1;var Vt=function kt(Pe,pt,It,sn,fn,An){var ur,Pr=1&pt,hr=2&pt,ha=4&pt;if(It&&(ur=fn?It(Pe,sn,fn,An):It(Pe)),ur!==void 0)return ur;if(!Xe(Pe))return Pe;var ya=Ct(Pe);if(ya){if(ur=mr(Pe),!Pr)return gn(Pe,ur)}else{var Za=xn(Pe),to=Za=="[object Function]"||Za=="[object GeneratorFunction]";if(kn(Pe))return Lt(Pe,Pr);if(Za=="[object Object]"||Za=="[object Arguments]"||to&&!fn){if(ur=hr||to?{}:Oi(Pe),!Pr)return hr?ui(Pe,Un(ur,Pe)):ar(Pe,qa(ur,Pe))}else{if(!rt[Za])return fn?Pe:{};ur=go(Pe,Za,Pr)}}An||(An=new Tr);var Xi=An.get(Pe);if(Xi)return Xi;An.set(Pe,ur),$t(Pe)?Pe.forEach(function(ts){ur.add(kt(ts,pt,It,ts,Pe,An))}):vo(Pe)&&Pe.forEach(function(ts,Os){ur.set(Os,kt(ts,pt,It,Os,Pe,An))});var ss=ya?void 0:(ha?hr?Zi:ao:hr?Cr:va)(Pe);return Sr(ss||Pe,function(ts,Os){ss&&(ts=Pe[Os=ts]),gr(ur,Os,kt(ts,pt,It,Os,Pe,An))}),ur},tn=function(Pe){return Vt(Pe,4)},wn=function(Pe){return function(){return Pe}},qn=function(kt){return function(Pe,pt,It){for(var sn=-1,fn=Object(Pe),An=It(Pe),ur=An.length;ur--;){var Pr=An[kt?ur:++sn];if(pt(fn[Pr],Pr,fn)===!1)break}return Pe}}(),zn=function(Pe,pt){return Pe&&qn(Pe,pt,va)},xr=function(kt,Pe){return function(pt,It){if(pt==null)return pt;if(!Ma(pt))return kt(pt,It);for(var sn=pt.length,fn=Pe?sn:-1,An=Object(pt);(Pe?fn--:++fn<sn)&&It(An[fn],fn,An)!==!1;);return pt}}(zn),da=function(Pe){return Pe},en=function(Pe){return typeof Pe=="function"?Pe:da},Fn=function(Pe,pt){return(Ct(Pe)?Sr:xr)(Pe,en(pt))},Jn=Fn,Ir=function(Pe,pt){var It=[];return xr(Pe,function(sn,fn,An){pt(sn,fn,An)&&It.push(sn)}),It},Gr=function(Pe){return this.__data__.set(Pe,"__lodash_hash_undefined__"),this},ga=function(Pe){return this.__data__.has(Pe)};function Mr(kt){var Pe=-1,pt=kt==null?0:kt.length;for(this.__data__=new bn;++Pe<pt;)this.add(kt[Pe])}Mr.prototype.add=Mr.prototype.push=Gr,Mr.prototype.has=ga;var $a=Mr,Ya=function(Pe,pt){for(var It=-1,sn=Pe==null?0:Pe.length;++It<sn;)if(pt(Pe[It],It,Pe))return!0;return!1},_o=function(Pe,pt){return Pe.has(pt)},Ni=function(Pe,pt,It,sn,fn,An){var ur=1&It,Pr=Pe.length,hr=pt.length;if(Pr!=hr&&!(ur&&hr>Pr))return!1;var ha=An.get(Pe),ya=An.get(pt);if(ha&&ya)return ha==pt&&ya==Pe;var Za=-1,to=!0,Xi=2&It?new $a:void 0;for(An.set(Pe,pt),An.set(pt,Pe);++Za<Pr;){var ss=Pe[Za],ts=pt[Za];if(sn)var Os=ur?sn(ts,ss,Za,pt,Pe,An):sn(ss,ts,Za,Pe,pt,An);if(Os!==void 0){if(Os)continue;to=!1;break}if(Xi){if(!Ya(pt,function(ac,Ll){if(!_o(Xi,Ll)&&(ss===ac||fn(ss,ac,It,sn,An)))return Xi.push(Ll)})){to=!1;break}}else if(ss!==ts&&!fn(ss,ts,It,sn,An)){to=!1;break}}return An.delete(Pe),An.delete(pt),to},ec=function(Pe){var pt=-1,It=Array(Pe.size);return Pe.forEach(function(sn,fn){It[++pt]=[fn,sn]}),It},ks=function(Pe){var pt=-1,It=Array(Pe.size);return Pe.forEach(function(sn){It[++pt]=sn}),It},jo=we?we.prototype:void 0,Qn=jo?jo.valueOf:void 0,ka=function(Pe,pt,It,sn,fn,An,ur){switch(It){case"[object DataView]":if(Pe.byteLength!=pt.byteLength||Pe.byteOffset!=pt.byteOffset)return!1;Pe=Pe.buffer,pt=pt.buffer;case"[object ArrayBuffer]":return!(Pe.byteLength!=pt.byteLength||!An(new ta(Pe),new ta(pt)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ee(+Pe,+pt);case"[object Error]":return Pe.name==pt.name&&Pe.message==pt.message;case"[object RegExp]":case"[object String]":return Pe==pt+"";case"[object Map]":var Pr=ec;case"[object Set]":var hr=1&sn;if(Pr||(Pr=ks),Pe.size!=pt.size&&!hr)return!1;var ha=ur.get(Pe);if(ha)return ha==pt;sn|=2,ur.set(Pe,pt);var ya=Ni(Pr(Pe),Pr(pt),sn,fn,An,ur);return ur.delete(Pe),ya;case"[object Symbol]":if(Qn)return Qn.call(Pe)==Qn.call(pt)}return!1},Pa=Object.prototype.hasOwnProperty,Qa=function(Pe,pt,It,sn,fn,An){var ur=1&It,Pr=ao(Pe),hr=Pr.length;if(hr!=ao(pt).length&&!ur)return!1;for(var ha=hr;ha--;){var ya=Pr[ha];if(!(ur?ya in pt:Pa.call(pt,ya)))return!1}var Za=An.get(Pe),to=An.get(pt);if(Za&&to)return Za==pt&&to==Pe;var Xi=!0;An.set(Pe,pt),An.set(pt,Pe);for(var ss=ur;++ha<hr;){var ts=Pe[ya=Pr[ha]],Os=pt[ya];if(sn)var ac=ur?sn(Os,ts,ya,pt,Pe,An):sn(ts,Os,ya,Pe,pt,An);if(!(ac===void 0?ts===Os||fn(ts,Os,It,sn,An):ac)){Xi=!1;break}ss||(ss=ya=="constructor")}if(Xi&&!ss){var Ll=Pe.constructor,nu=pt.constructor;Ll==nu||!("constructor"in Pe)||!("constructor"in pt)||typeof Ll=="function"&&Ll instanceof Ll&&typeof nu=="function"&&nu instanceof nu||(Xi=!1)}return An.delete(Pe),An.delete(pt),Xi},Ei=Object.prototype.hasOwnProperty,zo=function(Pe,pt,It,sn,fn,An){var ur=Ct(Pe),Pr=Ct(pt),hr=ur?"[object Array]":xn(Pe),ha=Pr?"[object Array]":xn(pt),ya=(hr=hr=="[object Arguments]"?"[object Object]":hr)=="[object Object]",Za=(ha=ha=="[object Arguments]"?"[object Object]":ha)=="[object Object]",to=hr==ha;if(to&&kn(Pe)){if(!kn(pt))return!1;ur=!0,ya=!1}if(to&&!ya)return An||(An=new Tr),ur||ln(Pe)?Ni(Pe,pt,It,sn,fn,An):ka(Pe,pt,hr,It,sn,fn,An);if(!(1&It)){var Xi=ya&&Ei.call(Pe,"__wrapped__"),ss=Za&&Ei.call(pt,"__wrapped__");if(Xi||ss){var ts=Xi?Pe.value():Pe,Os=ss?pt.value():pt;return An||(An=new Tr),fn(ts,Os,It,sn,An)}}return!!to&&(An||(An=new Tr),Qa(Pe,pt,It,sn,fn,An))},fo=function kt(Pe,pt,It,sn,fn){return Pe===pt||(Pe==null||pt==null||!un(Pe)&&!un(pt)?Pe!=Pe&&pt!=pt:zo(Pe,pt,It,sn,kt,fn))},gs=function(Pe,pt,It,sn){var fn=It.length,An=fn,ur=!sn;if(Pe==null)return!An;for(Pe=Object(Pe);fn--;){var Pr=It[fn];if(ur&&Pr[2]?Pr[1]!==Pe[Pr[0]]:!(Pr[0]in Pe))return!1}for(;++fn<An;){var hr=(Pr=It[fn])[0],ha=Pe[hr],ya=Pr[1];if(ur&&Pr[2]){if(ha===void 0&&!(hr in Pe))return!1}else{var Za=new Tr;if(sn)var to=sn(ha,ya,hr,Pe,pt,Za);if(!(to===void 0?fo(ya,ha,3,sn,Za):to))return!1}}return!0},Ks=function(Pe){return Pe==Pe&&!Xe(Pe)},pc=function(Pe){for(var pt=va(Pe),It=pt.length;It--;){var sn=pt[It],fn=Pe[sn];pt[It]=[sn,fn,Ks(fn)]}return pt},tc=function(Pe,pt){return function(It){return It!=null&&It[Pe]===pt&&(pt!==void 0||Pe in Object(It))}},xc=function(Pe){var pt=pc(Pe);return pt.length==1&&pt[0][2]?tc(pt[0][0],pt[0][1]):function(It){return It===Pe||gs(It,Pe,pt)}},kc=function(Pe){return typeof Pe=="symbol"||un(Pe)&&it(Pe)=="[object Symbol]"},Ss=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Js=/^\w*$/,Mo=function(Pe,pt){if(Ct(Pe))return!1;var It=typeof Pe;return!(It!="number"&&It!="symbol"&&It!="boolean"&&Pe!=null&&!kc(Pe))||Js.test(Pe)||!Ss.test(Pe)||pt!=null&&Pe in Object(pt)};function js(kt,Pe){if(typeof kt!="function"||Pe!=null&&typeof Pe!="function")throw new TypeError("Expected a function");var pt=function It(){var sn=arguments,fn=Pe?Pe.apply(this,sn):sn[0],An=It.cache;if(An.has(fn))return An.get(fn);var ur=kt.apply(this,sn);return It.cache=An.set(fn,ur)||An,ur};return pt.cache=new(js.Cache||bn),pt}js.Cache=bn;var Yc=js,gc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cl=/\\(\\)?/g,wl=function(kt){var Pe=Yc(kt,function(It){return pt.size===500&&pt.clear(),It}),pt=Pe.cache;return Pe}(function(kt){var Pe=[];return kt.charCodeAt(0)===46&&Pe.push(""),kt.replace(gc,function(pt,It,sn,fn){Pe.push(sn?fn.replace(Cl,"$1"):It||pt)}),Pe}),Wc=function(Pe,pt){for(var It=-1,sn=Pe==null?0:Pe.length,fn=Array(sn);++It<sn;)fn[It]=pt(Pe[It],It,Pe);return fn},nl=we?we.prototype:void 0,Rc=nl?nl.toString:void 0,su=function kt(Pe){if(typeof Pe=="string")return Pe;if(Ct(Pe))return Wc(Pe,kt)+"";if(kc(Pe))return Rc?Rc.call(Pe):"";var pt=Pe+"";return pt=="0"&&1/Pe==-Infinity?"-0":pt},Pl=function(Pe){return Pe==null?"":su(Pe)},al=function(Pe,pt){return Ct(Pe)?Pe:Mo(Pe,pt)?[Pe]:wl(Pl(Pe))},Ml=function(Pe){if(typeof Pe=="string"||kc(Pe))return Pe;var pt=Pe+"";return pt=="0"&&1/Pe==-Infinity?"-0":pt},Tl=function(Pe,pt){for(var It=0,sn=(pt=al(pt,Pe)).length;Pe!=null&&It<sn;)Pe=Pe[Ml(pt[It++])];return It&&It==sn?Pe:void 0},td=function(Pe,pt,It){var sn=Pe==null?void 0:Tl(Pe,pt);return sn===void 0?It:sn},rl=function(Pe,pt){return Pe!=null&&pt in Object(Pe)},dl=function(Pe,pt,It){for(var sn=-1,fn=(pt=al(pt,Pe)).length,An=!1;++sn<fn;){var ur=Ml(pt[sn]);if(!(An=Pe!=null&&It(Pe,ur)))break;Pe=Pe[ur]}return An||++sn!=fn?An:!!(fn=Pe==null?0:Pe.length)&&Or(fn)&&Zn(ur,fn)&&(Ct(Pe)||nt(Pe))},qt=function(Pe,pt){return Pe!=null&&dl(Pe,pt,rl)},nr=function(Pe,pt){return Mo(Pe)&&Ks(pt)?tc(Ml(Pe),pt):function(It){var sn=td(It,Pe);return sn===void 0&&sn===pt?qt(It,Pe):fo(pt,sn,3)}},Ur=function(Pe){return function(pt){return pt==null?void 0:pt[Pe]}},Yr=function(Pe){return function(pt){return Tl(pt,Pe)}},ni=function(Pe){return Mo(Pe)?Ur(Ml(Pe)):Yr(Pe)},vi=function(Pe){return typeof Pe=="function"?Pe:Pe==null?da:typeof Pe=="object"?Ct(Pe)?nr(Pe[0],Pe[1]):xc(Pe):ni(Pe)},zr=function(Pe,pt){return(Ct(Pe)?Ln:Ir)(Pe,vi(pt))},wr=Object.prototype.hasOwnProperty,Ua=function(Pe,pt){return Pe!=null&&wr.call(Pe,pt)},La=function(Pe,pt){return Pe!=null&&dl(Pe,pt,Ua)},Nr=Object.prototype.hasOwnProperty,ua=function(Pe){if(Pe==null)return!0;if(Ma(Pe)&&(Ct(Pe)||typeof Pe=="string"||typeof Pe.splice=="function"||kn(Pe)||ln(Pe)||nt(Pe)))return!Pe.length;var pt=xn(Pe);if(pt=="[object Map]"||pt=="[object Set]")return!Pe.size;if(Hn(Pe))return!za(Pe).length;for(var It in Pe)if(Nr.call(Pe,It))return!1;return!0},ra=function(Pe){return Pe===void 0},ri=function(Pe,pt){var It=-1,sn=Ma(Pe)?Array(Pe.length):[];return xr(Pe,function(fn,An,ur){sn[++It]=pt(fn,An,ur)}),sn},li=function(Pe,pt){return(Ct(Pe)?Wc:ri)(Pe,vi(pt))},hi=function(Pe,pt,It,sn){var fn=-1,An=Pe==null?0:Pe.length;for(sn&&An&&(It=Pe[++fn]);++fn<An;)It=pt(It,Pe[fn],fn,Pe);return It},ii=function(Pe,pt,It,sn,fn){return fn(Pe,function(An,ur,Pr){It=sn?(sn=!1,An):pt(It,An,ur,Pr)}),It},Di=function(Pe,pt,It){var sn=Ct(Pe)?hi:ii,fn=arguments.length<3;return sn(Pe,vi(pt),It,fn,xr)},Xo=function(Pe){return typeof Pe=="string"||!Ct(Pe)&&un(Pe)&&it(Pe)=="[object String]"},ps=Ur("length"),mc=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Ts=function(Pe){return mc.test(Pe)},Ar="[\\ud800-\\udfff]",Gs="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Nc="\\ud83c[\\udffb-\\udfff]",Jc="[^\\ud800-\\udfff]",Fc="(?:\\ud83c[\\udde6-\\uddff]){2}",Ro="[\\ud800-\\udbff][\\udc00-\\udfff]",Dl="(?:"+Gs+"|"+Nc+")?",Vl="[\\ufe0e\\ufe0f]?"+Dl+("(?:\\u200d(?:"+[Jc,Fc,Ro].join("|")+")[\\ufe0e\\ufe0f]?"+Dl+")*"),hu="(?:"+[Jc+Gs+"?",Gs,Fc,Ro,Ar].join("|")+")",ru=RegExp(Nc+"(?="+Nc+")|"+hu+Vl,"g"),pd=function(Pe){for(var pt=ru.lastIndex=0;ru.test(Pe);)++pt;return pt},ql=function(Pe){return Ts(Pe)?pd(Pe):ps(Pe)},Ru=function(Pe){if(Pe==null)return 0;if(Ma(Pe))return Xo(Pe)?ql(Pe):Pe.length;var pt=xn(Pe);return pt=="[object Map]"||pt=="[object Set]"?Pe.size:za(Pe).length},Hl=function(Pe,pt,It){var sn=Ct(Pe),fn=sn||kn(Pe)||ln(Pe);if(pt=vi(pt),It==null){var An=Pe&&Pe.constructor;It=fn?sn?new An:[]:Xe(Pe)&&lt(An)?lo(_i(Pe)):{}}return(fn?Sr:zn)(Pe,function(ur,Pr,hr){return pt(It,ur,Pr,hr)}),It},fu=we?we.isConcatSpreadable:void 0,nd=function(Pe){return Ct(Pe)||nt(Pe)||!!(fu&&Pe&&Pe[fu])},bd=function kt(Pe,pt,It,sn,fn){var An=-1,ur=Pe.length;for(It||(It=nd),fn||(fn=[]);++An<ur;){var Pr=Pe[An];pt>0&&It(Pr)?pt>1?kt(Pr,pt-1,It,sn,fn):pi(fn,Pr):sn||(fn[fn.length]=Pr)}return fn},ml=function(Pe,pt,It){switch(It.length){case 0:return Pe.call(pt);case 1:return Pe.call(pt,It[0]);case 2:return Pe.call(pt,It[0],It[1]);case 3:return Pe.call(pt,It[0],It[1],It[2])}return Pe.apply(pt,It)},os=Math.max,wu=function(Pe,pt,It){return pt=os(pt===void 0?Pe.length-1:pt,0),function(){for(var sn=arguments,fn=-1,An=os(sn.length-pt,0),ur=Array(An);++fn<An;)ur[fn]=sn[pt+fn];fn=-1;for(var Pr=Array(pt+1);++fn<pt;)Pr[fn]=sn[fn];return Pr[pt]=It(ur),ml(Pe,this,Pr)}},cd=Wr?function(kt,Pe){return Wr(kt,"toString",{configurable:!0,enumerable:!1,value:wn(Pe),writable:!0})}:da,Ud=Date.now,Eu=function(kt){var Pe=0,pt=0;return function(){var It=Ud(),sn=16-(It-pt);if(pt=It,sn>0){if(++Pe>=800)return arguments[0]}else Pe=0;return kt.apply(void 0,arguments)}}(cd),El=function(Pe,pt){return Eu(wu(Pe,pt,da),Pe+"")},eu=function(Pe,pt,It,sn){for(var fn=Pe.length,An=It+(sn?1:-1);sn?An--:++An<fn;)if(pt(Pe[An],An,Pe))return An;return-1},rd=function(Pe){return Pe!=Pe},yn=function(Pe,pt,It){for(var sn=It-1,fn=Pe.length;++sn<fn;)if(Pe[sn]===pt)return sn;return-1},Dr=function(Pe,pt,It){return pt==pt?yn(Pe,pt,It):eu(Pe,rd,It)},Xr=function(Pe,pt){return!!(Pe==null?0:Pe.length)&&Dr(Pe,pt,0)>-1},Ta=function(Pe,pt,It){for(var sn=-1,fn=Pe==null?0:Pe.length;++sn<fn;)if(It(pt,Pe[sn]))return!0;return!1},Ra=function(){},wi=qi&&1/ks(new qi([,-0]))[1]==1/0?function(kt){return new qi(kt)}:Ra,mo=function(Pe,pt,It){var sn=-1,fn=Xr,An=Pe.length,ur=!0,Pr=[],hr=Pr;if(It)ur=!1,fn=Ta;else if(An>=200){var ha=pt?null:wi(Pe);if(ha)return ks(ha);ur=!1,fn=_o,hr=new $a}else hr=pt?[]:Pr;e:for(;++sn<An;){var ya=Pe[sn],Za=pt?pt(ya):ya;if(ya=It||ya!==0?ya:0,ur&&Za==Za){for(var to=hr.length;to--;)if(hr[to]===Za)continue e;pt&&hr.push(Za),Pr.push(ya)}else fn(hr,Za,It)||(hr!==Pr&&hr.push(Za),Pr.push(ya))}return Pr},Yi=function(Pe){return un(Pe)&&Ma(Pe)},Ji=El(function(kt){return mo(bd(kt,1,Yi,!0))}),Vs=function(Pe,pt){return Wc(pt,function(It){return Pe[It]})},Jo,dn=function(Pe){return Pe==null?[]:Vs(Pe,va(Pe))};try{Jo={clone:tn,constant:wn,each:Jn,filter:zr,has:La,isArray:Ct,isEmpty:ua,isFunction:lt,isUndefined:ra,keys:va,map:li,reduce:Di,size:Ru,transform:Hl,union:Ji,values:dn}}catch(kt){}Jo||(Jo=window._);var pn=Jo,sr=lr;function lr(kt){this._isDirected=!pn.has(kt,"directed")||kt.directed,this._isMultigraph=!!pn.has(kt,"multigraph")&&kt.multigraph,this._isCompound=!!pn.has(kt,"compound")&&kt.compound,this._label=void 0,this._defaultNodeLabelFn=pn.constant(void 0),this._defaultEdgeLabelFn=pn.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function _a(kt,Pe){kt[Pe]?kt[Pe]++:kt[Pe]=1}function Fa(kt,Pe){--kt[Pe]||delete kt[Pe]}function Va(kt,Pe,pt,It){var sn=""+Pe,fn=""+pt;if(!kt&&sn>fn){var An=sn;sn=fn,fn=An}return sn+""+fn+""+(pn.isUndefined(It)?"\0":It)}function di(kt,Pe,pt,It){var sn=""+Pe,fn=""+pt;if(!kt&&sn>fn){var An=sn;sn=fn,fn=An}var ur={v:sn,w:fn};return It&&(ur.name=It),ur}function Ci(kt,Pe){return Va(kt,Pe.v,Pe.w,Pe.name)}lr.prototype._nodeCount=0,lr.prototype._edgeCount=0,lr.prototype.isDirected=function(){return this._isDirected},lr.prototype.isMultigraph=function(){return this._isMultigraph},lr.prototype.isCompound=function(){return this._isCompound},lr.prototype.setGraph=function(kt){return this._label=kt,this},lr.prototype.graph=function(){return this._label},lr.prototype.setDefaultNodeLabel=function(kt){return pn.isFunction(kt)||(kt=pn.constant(kt)),this._defaultNodeLabelFn=kt,this},lr.prototype.nodeCount=function(){return this._nodeCount},lr.prototype.nodes=function(){return pn.keys(this._nodes)},lr.prototype.sources=function(){var kt=this;return pn.filter(this.nodes(),function(Pe){return pn.isEmpty(kt._in[Pe])})},lr.prototype.sinks=function(){var kt=this;return pn.filter(this.nodes(),function(Pe){return pn.isEmpty(kt._out[Pe])})},lr.prototype.setNodes=function(kt,Pe){var pt=arguments,It=this;return pn.each(kt,function(sn){pt.length>1?It.setNode(sn,Pe):It.setNode(sn)}),this},lr.prototype.setNode=function(kt,Pe){return pn.has(this._nodes,kt)?(arguments.length>1&&(this._nodes[kt]=Pe),this):(this._nodes[kt]=arguments.length>1?Pe:this._defaultNodeLabelFn(kt),this._isCompound&&(this._parent[kt]="\0",this._children[kt]={},this._children["\0"][kt]=!0),this._in[kt]={},this._preds[kt]={},this._out[kt]={},this._sucs[kt]={},++this._nodeCount,this)},lr.prototype.node=function(kt){return this._nodes[kt]},lr.prototype.hasNode=function(kt){return pn.has(this._nodes,kt)},lr.prototype.removeNode=function(kt){var Pe=this;if(pn.has(this._nodes,kt)){var pt=function(sn){Pe.removeEdge(Pe._edgeObjs[sn])};delete this._nodes[kt],this._isCompound&&(this._removeFromParentsChildList(kt),delete this._parent[kt],pn.each(this.children(kt),function(It){Pe.setParent(It)}),delete this._children[kt]),pn.each(pn.keys(this._in[kt]),pt),delete this._in[kt],delete this._preds[kt],pn.each(pn.keys(this._out[kt]),pt),delete this._out[kt],delete this._sucs[kt],--this._nodeCount}return this},lr.prototype.setParent=function(kt,Pe){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(pn.isUndefined(Pe))Pe="\0";else{for(var pt=Pe+="";!pn.isUndefined(pt);pt=this.parent(pt))if(pt===kt)throw new Error("Setting "+Pe+" as parent of "+kt+" would create a cycle");this.setNode(Pe)}return this.setNode(kt),this._removeFromParentsChildList(kt),this._parent[kt]=Pe,this._children[Pe][kt]=!0,this},lr.prototype._removeFromParentsChildList=function(kt){delete this._children[this._parent[kt]][kt]},lr.prototype.parent=function(kt){if(this._isCompound){var Pe=this._parent[kt];if(Pe!=="\0")return Pe}},lr.prototype.children=function(kt){if(pn.isUndefined(kt)&&(kt="\0"),this._isCompound){var Pe=this._children[kt];if(Pe)return pn.keys(Pe)}else{if(kt==="\0")return this.nodes();if(this.hasNode(kt))return[]}},lr.prototype.predecessors=function(kt){var Pe=this._preds[kt];if(Pe)return pn.keys(Pe)},lr.prototype.successors=function(kt){var Pe=this._sucs[kt];if(Pe)return pn.keys(Pe)},lr.prototype.neighbors=function(kt){var Pe=this.predecessors(kt);if(Pe)return pn.union(Pe,this.successors(kt))},lr.prototype.isLeaf=function(kt){return(this.isDirected()?this.successors(kt):this.neighbors(kt)).length===0},lr.prototype.filterNodes=function(kt){var Pe=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});Pe.setGraph(this.graph());var pt=this;pn.each(this._nodes,function(fn,An){kt(An)&&Pe.setNode(An,fn)}),pn.each(this._edgeObjs,function(fn){Pe.hasNode(fn.v)&&Pe.hasNode(fn.w)&&Pe.setEdge(fn,pt.edge(fn))});var It={};function sn(fn){var An=pt.parent(fn);return An===void 0||Pe.hasNode(An)?(It[fn]=An,An):An in It?It[An]:sn(An)}return this._isCompound&&pn.each(Pe.nodes(),function(fn){Pe.setParent(fn,sn(fn))}),Pe},lr.prototype.setDefaultEdgeLabel=function(kt){return pn.isFunction(kt)||(kt=pn.constant(kt)),this._defaultEdgeLabelFn=kt,this},lr.prototype.edgeCount=function(){return this._edgeCount},lr.prototype.edges=function(){return pn.values(this._edgeObjs)},lr.prototype.setPath=function(kt,Pe){var pt=this,It=arguments;return pn.reduce(kt,function(sn,fn){return It.length>1?pt.setEdge(sn,fn,Pe):pt.setEdge(sn,fn),fn}),this},lr.prototype.setEdge=function(){var kt,Pe,pt,It,sn=!1,fn=arguments[0];typeof fn=="object"&&fn!==null&&"v"in fn?(kt=fn.v,Pe=fn.w,pt=fn.name,arguments.length===2&&(It=arguments[1],sn=!0)):(kt=fn,Pe=arguments[1],pt=arguments[3],arguments.length>2&&(It=arguments[2],sn=!0)),kt=""+kt,Pe=""+Pe,pn.isUndefined(pt)||(pt=""+pt);var An=Va(this._isDirected,kt,Pe,pt);if(pn.has(this._edgeLabels,An))return sn&&(this._edgeLabels[An]=It),this;if(!pn.isUndefined(pt)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(kt),this.setNode(Pe),this._edgeLabels[An]=sn?It:this._defaultEdgeLabelFn(kt,Pe,pt);var ur=di(this._isDirected,kt,Pe,pt);return kt=ur.v,Pe=ur.w,Object.freeze(ur),this._edgeObjs[An]=ur,_a(this._preds[Pe],kt),_a(this._sucs[kt],Pe),this._in[Pe][An]=ur,this._out[kt][An]=ur,this._edgeCount++,this},lr.prototype.edge=function(kt,Pe,pt){var It=arguments.length===1?Ci(this._isDirected,arguments[0]):Va(this._isDirected,kt,Pe,pt);return this._edgeLabels[It]},lr.prototype.hasEdge=function(kt,Pe,pt){var It=arguments.length===1?Ci(this._isDirected,arguments[0]):Va(this._isDirected,kt,Pe,pt);return pn.has(this._edgeLabels,It)},lr.prototype.removeEdge=function(kt,Pe,pt){var It=arguments.length===1?Ci(this._isDirected,arguments[0]):Va(this._isDirected,kt,Pe,pt),sn=this._edgeObjs[It];return sn&&(kt=sn.v,Pe=sn.w,delete this._edgeLabels[It],delete this._edgeObjs[It],Fa(this._preds[Pe],kt),Fa(this._sucs[kt],Pe),delete this._in[Pe][It],delete this._out[kt][It],this._edgeCount--),this},lr.prototype.inEdges=function(kt,Pe){var pt=this._in[kt];if(pt){var It=pn.values(pt);return Pe?pn.filter(It,function(sn){return sn.v===Pe}):It}},lr.prototype.outEdges=function(kt,Pe){var pt=this._out[kt];if(pt){var It=pn.values(pt);return Pe?pn.filter(It,function(sn){return sn.w===Pe}):It}},lr.prototype.nodeEdges=function(kt,Pe){var pt=this.inEdges(kt,Pe);if(pt)return pt.concat(this.outEdges(kt,Pe))};var wo={Graph:sr,version:"2.1.8"},ho={write:function(Pe){var pt={options:{directed:Pe.isDirected(),multigraph:Pe.isMultigraph(),compound:Pe.isCompound()},nodes:Io(Pe),edges:Fo(Pe)};return pn.isUndefined(Pe.graph())||(pt.value=pn.clone(Pe.graph())),pt},read:function(Pe){var pt=new sr(Pe.options).setGraph(Pe.value);return pn.each(Pe.nodes,function(It){pt.setNode(It.v,It.value),It.parent&&pt.setParent(It.v,It.parent)}),pn.each(Pe.edges,function(It){pt.setEdge({v:It.v,w:It.w,name:It.name},It.value)}),pt}};function Io(kt){return pn.map(kt.nodes(),function(Pe){var pt=kt.node(Pe),It=kt.parent(Pe),sn={v:Pe};return pn.isUndefined(pt)||(sn.value=pt),pn.isUndefined(It)||(sn.parent=It),sn})}function Fo(kt){return pn.map(kt.edges(),function(Pe){var pt=kt.edge(Pe),It={v:Pe.v,w:Pe.w};return pn.isUndefined(Pe.name)||(It.name=Pe.name),pn.isUndefined(pt)||(It.value=pt),It})}var xs=function(Pe){var pt,It={},sn=[];function fn(An){pn.has(It,An)||(It[An]=!0,pt.push(An),pn.each(Pe.successors(An),fn),pn.each(Pe.predecessors(An),fn))}return pn.each(Pe.nodes(),function(An){pt=[],fn(An),pt.length&&sn.push(pt)}),sn},ms=ys;function ys(){this._arr=[],this._keyIndices={}}ys.prototype.size=function(){return this._arr.length},ys.prototype.keys=function(){return this._arr.map(function(kt){return kt.key})},ys.prototype.has=function(kt){return pn.has(this._keyIndices,kt)},ys.prototype.priority=function(kt){var Pe=this._keyIndices[kt];if(Pe!==void 0)return this._arr[Pe].priority},ys.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},ys.prototype.add=function(kt,Pe){var pt=this._keyIndices;if(kt=String(kt),!pn.has(pt,kt)){var It=this._arr,sn=It.length;return pt[kt]=sn,It.push({key:kt,priority:Pe}),this._decrease(sn),!0}return!1},ys.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var kt=this._arr.pop();return delete this._keyIndices[kt.key],this._heapify(0),kt.key},ys.prototype.decrease=function(kt,Pe){var pt=this._keyIndices[kt];if(Pe>this._arr[pt].priority)throw new Error("New priority is greater than current priority. Key: "+kt+" Old: "+this._arr[pt].priority+" New: "+Pe);this._arr[pt].priority=Pe,this._decrease(pt)},ys.prototype._heapify=function(kt){var Pe=this._arr,pt=2*kt,It=pt+1,sn=kt;pt<Pe.length&&(sn=Pe[pt].priority<Pe[sn].priority?pt:sn,It<Pe.length&&(sn=Pe[It].priority<Pe[sn].priority?It:sn),sn!==kt&&(this._swap(kt,sn),this._heapify(sn)))},ys.prototype._decrease=function(kt){for(var Pe,pt=this._arr,It=pt[kt].priority;kt!==0&&!(pt[Pe=kt>>1].priority<It);)this._swap(kt,Pe),kt=Pe},ys.prototype._swap=function(kt,Pe){var pt=this._arr,It=this._keyIndices,sn=pt[kt],fn=pt[Pe];pt[kt]=fn,pt[Pe]=sn,It[fn.key]=kt,It[sn.key]=Pe};var bs=function(Pe,pt,It,sn){return function(fn,An,ur,Pr){var hr,ha,ya={},Za=new ms,to=function(ss){var ts=ss.v!==hr?ss.v:ss.w,Os=ya[ts],ac=ur(ss),Ll=ha.distance+ac;if(ac<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+ss+" Weight: "+ac);Ll<Os.distance&&(Os.distance=Ll,Os.predecessor=hr,Za.decrease(ts,Ll))};for(fn.nodes().forEach(function(Xi){var ss=Xi===An?0:Number.POSITIVE_INFINITY;ya[Xi]={distance:ss},Za.add(Xi,ss)});Za.size()>0&&(hr=Za.removeMin(),(ha=ya[hr]).distance!==Number.POSITIVE_INFINITY);)Pr(hr).forEach(to);return ya}(Pe,String(pt),It||Po,sn||function(fn){return Pe.outEdges(fn)})},Po=pn.constant(1),yr=function(Pe,pt,It){return pn.transform(Pe.nodes(),function(sn,fn){sn[fn]=bs(Pe,fn,pt,It)},{})},Ls=function(Pe){var pt=0,It=[],sn={},fn=[];function An(ur){var Pr=sn[ur]={onStack:!0,lowlink:pt,index:pt++};if(It.push(ur),Pe.successors(ur).forEach(function(ya){pn.has(sn,ya)?sn[ya].onStack&&(Pr.lowlink=Math.min(Pr.lowlink,sn[ya].index)):(An(ya),Pr.lowlink=Math.min(Pr.lowlink,sn[ya].lowlink))}),Pr.lowlink===Pr.index){var hr,ha=[];do hr=It.pop(),sn[hr].onStack=!1,ha.push(hr);while(ur!==hr);fn.push(ha)}}return Pe.nodes().forEach(function(ur){pn.has(sn,ur)||An(ur)}),fn},Zs=function(Pe){return pn.filter(Ls(Pe),function(pt){return pt.length>1||pt.length===1&&Pe.hasEdge(pt[0],pt[0])})},Sc=function(Pe,pt,It){return function(sn,fn,An){var ur={},Pr=sn.nodes();return Pr.forEach(function(hr){ur[hr]={},ur[hr][hr]={distance:0},Pr.forEach(function(ha){hr!==ha&&(ur[hr][ha]={distance:Number.POSITIVE_INFINITY})}),An(hr).forEach(function(ha){var ya=ha.v===hr?ha.w:ha.v,Za=fn(ha);ur[hr][ya]={distance:Za,predecessor:hr}})}),Pr.forEach(function(hr){var ha=ur[hr];Pr.forEach(function(ya){var Za=ur[ya];Pr.forEach(function(to){var Xi=Za[hr],ss=ha[to],ts=Za[to],Os=Xi.distance+ss.distance;Os<ts.distance&&(ts.distance=Os,ts.predecessor=ss.predecessor)})})}),ur}(Pe,pt||Hs,It||function(sn){return Pe.outEdges(sn)})},Hs=pn.constant(1),bc=cr;function cr(kt){var Pe={},pt={},It=[];if(pn.each(kt.sinks(),function sn(fn){if(pn.has(pt,fn))throw new qr;pn.has(Pe,fn)||(pt[fn]=!0,Pe[fn]=!0,pn.each(kt.predecessors(fn),sn),delete pt[fn],It.push(fn))}),pn.size(Pe)!==kt.nodeCount())throw new qr;return It}function qr(){}cr.CycleException=qr,qr.prototype=new Error;var yi=function(Pe,pt,It){pn.isArray(pt)||(pt=[pt]);var sn=(Pe.isDirected()?Pe.successors:Pe.neighbors).bind(Pe),fn=[],An={};return pn.each(pt,function(ur){if(!Pe.hasNode(ur))throw new Error("Graph does not have node: "+ur);Ki(Pe,ur,It==="post",An,sn,fn)}),fn};function Ki(kt,Pe,pt,It,sn,fn){pn.has(It,Pe)||(It[Pe]=!0,pt||fn.push(Pe),pn.each(sn(Pe),function(An){Ki(kt,An,pt,It,sn,fn)}),pt&&fn.push(Pe))}var uo,As={Graph:wo.Graph,json:ho,alg:{components:xs,dijkstra:bs,dijkstraAll:yr,findCycles:Zs,floydWarshall:Sc,isAcyclic:function(Pe){try{bc(Pe)}catch(pt){if(pt instanceof bc.CycleException)return!1;throw pt}return!0},postorder:function(Pe,pt){return yi(Pe,pt,"post")},preorder:function(Pe,pt){return yi(Pe,pt,"pre")},prim:function(Pe,pt){var It,sn=new sr,fn={},An=new ms;function ur(hr){var ha=hr.v===It?hr.w:hr.v,ya=An.priority(ha);if(ya!==void 0){var Za=pt(hr);Za<ya&&(fn[ha]=It,An.decrease(ha,Za))}}if(Pe.nodeCount()===0)return sn;pn.each(Pe.nodes(),function(hr){An.add(hr,Number.POSITIVE_INFINITY),sn.setNode(hr)}),An.decrease(Pe.nodes()[0],0);for(var Pr=!1;An.size()>0;){if(It=An.removeMin(),pn.has(fn,It))sn.setEdge(It,fn[It]);else{if(Pr)throw new Error("Input graph is not connected: "+Pe);Pr=!0}Pe.nodeEdges(It).forEach(ur)}return sn},tarjan:Ls,topsort:bc},version:wo.version};try{uo=As}catch(kt){}uo||(uo=window.graphlib);var zc=uo,cc=function(Pe){return Vt(Pe,5)},fl=function(Pe,pt,It){if(!Xe(It))return!1;var sn=typeof pt;return!!(sn=="number"?Ma(It)&&Zn(pt,It.length):sn=="string"&&pt in It)&&ee(It[pt],Pe)},Bc=Object.prototype,Gl=Bc.hasOwnProperty,Fl=El(function(kt,Pe){kt=Object(kt);var pt=-1,It=Pe.length,sn=It>2?Pe[2]:void 0;for(sn&&fl(Pe[0],Pe[1],sn)&&(It=1);++pt<It;)for(var fn=Pe[pt],An=Cr(fn),ur=-1,Pr=An.length;++ur<Pr;){var hr=An[ur],ha=kt[hr];(ha===void 0||ee(ha,Bc[hr])&&!Gl.call(kt,hr))&&(kt[hr]=fn[hr])}return kt}),pl=function(Pe){return function(pt,It,sn){var fn=Object(pt);if(!Ma(pt)){var An=vi(It);pt=va(pt),It=function(hr){return An(fn[hr],hr,fn)}}var ur=Pe(pt,It,sn);return ur>-1?fn[An?pt[ur]:ur]:void 0}},gu=/^\s+|\s+$/g,bl=/^[-+]0x[0-9a-f]+$/i,tu=/^0b[01]+$/i,hl=/^0o[0-7]+$/i,ju=parseInt,il=function(Pe){if(typeof Pe=="number")return Pe;if(kc(Pe))return NaN;if(Xe(Pe)){var pt=typeof Pe.valueOf=="function"?Pe.valueOf():Pe;Pe=Xe(pt)?pt+"":pt}if(typeof Pe!="string")return Pe===0?Pe:+Pe;Pe=Pe.replace(gu,"");var It=tu.test(Pe);return It||hl.test(Pe)?ju(Pe.slice(2),It?2:8):bl.test(Pe)?NaN:+Pe},Mu=function(Pe){return Pe?(Pe=il(Pe))===Infinity||Pe===-Infinity?17976931348623157e292*(Pe<0?-1:1):Pe==Pe?Pe:0:Pe===0?Pe:0},ji=function(Pe){var pt=Mu(Pe),It=pt%1;return pt==pt?It?pt-It:pt:0},xa=Math.max,as=pl(function(kt,Pe,pt){var It=kt==null?0:kt.length;if(!It)return-1;var sn=pt==null?0:ji(pt);return sn<0&&(sn=xa(It+sn,0)),eu(kt,vi(Pe),sn)}),ws=function(Pe){return(Pe==null?0:Pe.length)?bd(Pe,1):[]},Cs=function(Pe,pt){return Pe==null?Pe:qn(Pe,en(pt),Cr)},$o=function(Pe){var pt=Pe==null?0:Pe.length;return pt?Pe[pt-1]:void 0},_c=function(Pe,pt){var It={};return pt=vi(pt),zn(Pe,function(sn,fn,An){br(It,fn,pt(sn,fn,An))}),It},Lc=function(Pe,pt,It){for(var sn=-1,fn=Pe.length;++sn<fn;){var An=Pe[sn],ur=pt(An);if(ur!=null&&(Pr===void 0?ur==ur&&!kc(ur):It(ur,Pr)))var Pr=ur,hr=An}return hr},Rl=function(Pe,pt){return Pe>pt},Ol=function(Pe){return Pe&&Pe.length?Lc(Pe,da,Rl):void 0},cl=function(Pe,pt,It){(It!==void 0&&!ee(Pe[pt],It)||It===void 0&&!(pt in Pe))&&br(Pe,pt,It)},au=Function.prototype,Yu=Object.prototype,Od=au.toString,Lu=Yu.hasOwnProperty,Hd=Od.call(Object),af=function(Pe){if(!un(Pe)||it(Pe)!="[object Object]")return!1;var pt=_i(Pe);if(pt===null)return!0;var It=Lu.call(pt,"constructor")&&pt.constructor;return typeof It=="function"&&It instanceof It&&Od.call(It)==Hd},Gd=function(Pe,pt){if((pt!=="constructor"||typeof Pe[pt]!="function")&&pt!="__proto__")return Pe[pt]},Nd=function(Pe){return na(Pe,Cr(Pe))},kd=function(Pe,pt,It,sn,fn,An,ur){var Pr=Gd(Pe,It),hr=Gd(pt,It),ha=ur.get(hr);if(ha)cl(Pe,It,ha);else{var ya=An?An(Pr,hr,It+"",Pe,pt,ur):void 0,Za=ya===void 0;if(Za){var to=Ct(hr),Xi=!to&&kn(hr),ss=!to&&!Xi&&ln(hr);ya=hr,to||Xi||ss?Ct(Pr)?ya=Pr:Yi(Pr)?ya=gn(Pr):Xi?(Za=!1,ya=Lt(hr,!0)):ss?(Za=!1,ya=Ja(hr,!0)):ya=[]:af(hr)||nt(hr)?(ya=Pr,nt(Pr)?ya=Nd(Pr):Xe(Pr)&&!lt(Pr)||(ya=Oi(hr))):Za=!1}Za&&(ur.set(hr,ya),fn(ya,hr,sn,An,ur),ur.delete(hr)),cl(Pe,It,ya)}},xf=function kt(Pe,pt,It,sn,fn){Pe!==pt&&qn(pt,function(An,ur){if(fn||(fn=new Tr),Xe(An))kd(Pe,pt,ur,It,kt,sn,fn);else{var Pr=sn?sn(Gd(Pe,ur),An,ur+"",Pe,pt,fn):void 0;Pr===void 0&&(Pr=An),cl(Pe,ur,Pr)}},Cr)},Bd=function(kt){return El(function(Pe,pt){var It=-1,sn=pt.length,fn=sn>1?pt[sn-1]:void 0,An=sn>2?pt[2]:void 0;for(fn=kt.length>3&&typeof fn=="function"?(sn--,fn):void 0,An&&fl(pt[0],pt[1],An)&&(fn=sn<3?void 0:fn,sn=1),Pe=Object(Pe);++It<sn;){var ur=pt[It];ur&&kt(Pe,ur,It,fn)}return Pe})}(function(kt,Pe,pt){xf(kt,Pe,pt)}),Fu=function(Pe,pt){return Pe<pt},xd=function(Pe){return Pe&&Pe.length?Lc(Pe,da,Fu):void 0},of=function(Pe,pt){return Pe&&Pe.length?Lc(Pe,vi(pt),Fu):void 0},ld=function(){return Le.Date.now()},cu=function(Pe,pt,It,sn){if(!Xe(Pe))return Pe;for(var fn=-1,An=(pt=al(pt,Pe)).length,ur=An-1,Pr=Pe;Pr!=null&&++fn<An;){var hr=Ml(pt[fn]),ha=It;if(hr==="__proto__"||hr==="constructor"||hr==="prototype")return Pe;if(fn!=ur){var ya=Pr[hr];(ha=sn?sn(ya,hr,Pr):void 0)===void 0&&(ha=Xe(ya)?ya:Zn(pt[fn+1])?[]:{})}gr(Pr,hr,ha),Pr=Pr[hr]}return Pe},ll=function(Pe,pt,It){for(var sn=-1,fn=pt.length,An={};++sn<fn;){var ur=pt[sn],Pr=Tl(Pe,ur);It(Pr,ur)&&cu(An,al(ur,Pe),Pr)}return An},ad=function(Pe,pt){return ll(Pe,pt,function(It,sn){return qt(Pe,sn)})},Xu=function(kt){return Eu(wu(kt,void 0,ws),kt+"")}(function(kt,Pe){return kt==null?{}:ad(kt,Pe)}),_s=Math.ceil,jl=Math.max,Uu=function(Pe,pt,It,sn){for(var fn=-1,An=jl(_s((pt-Pe)/(It||1)),0),ur=Array(An);An--;)ur[sn?An:++fn]=Pe,Pe+=It;return ur},jd=function(kt){return function(Pe,pt,It){return It&&typeof It!="number"&&fl(Pe,pt,It)&&(pt=It=void 0),Pe=Mu(Pe),pt===void 0?(pt=Pe,Pe=0):pt=Mu(pt),It=It===void 0?Pe<pt?1:-1:Mu(It),Uu(Pe,pt,It,kt)}}(),Sf=function(Pe,pt){var It=Pe.length;for(Pe.sort(pt);It--;)Pe[It]=Pe[It].value;return Pe},Af=function(Pe,pt){if(Pe!==pt){var It=Pe!==void 0,sn=Pe===null,fn=Pe==Pe,An=kc(Pe),ur=pt!==void 0,Pr=pt===null,hr=pt==pt,ha=kc(pt);if(!Pr&&!ha&&!An&&Pe>pt||An&&ur&&hr&&!Pr&&!ha||sn&&ur&&hr||!It&&hr||!fn)return 1;if(!sn&&!An&&!ha&&Pe<pt||ha&&It&&fn&&!sn&&!An||Pr&&It&&fn||!ur&&fn||!hr)return-1}return 0},mf=function(Pe,pt,It){for(var sn=-1,fn=Pe.criteria,An=pt.criteria,ur=fn.length,Pr=It.length;++sn<ur;){var hr=Af(fn[sn],An[sn]);if(hr)return sn>=Pr?hr:hr*(It[sn]=="desc"?-1:1)}return Pe.index-pt.index},Ld=function(Pe,pt,It){pt=pt.length?Wc(pt,function(An){return Ct(An)?function(ur){return Tl(ur,An.length===1?An[0]:An)}:An}):[da];var sn=-1;pt=Wc(pt,Zt(vi));var fn=ri(Pe,function(An,ur,Pr){return{criteria:Wc(pt,function(hr){return hr(An)}),index:++sn,value:An}});return Sf(fn,function(An,ur){return mf(An,ur,It)})},qd=El(function(kt,Pe){if(kt==null)return[];var pt=Pe.length;return pt>1&&fl(kt,Pe[0],Pe[1])?Pe=[]:pt>2&&fl(Pe[0],Pe[1],Pe[2])&&(Pe=[Pe[0]]),Ld(kt,bd(Pe,1),[])}),bu=0,$d=function(Pe){var pt=++bu;return Pl(Pe)+pt},Ju=function(Pe,pt,It){for(var sn=-1,fn=Pe.length,An=pt.length,ur={};++sn<fn;){var Pr=sn<An?pt[sn]:void 0;It(ur,Pe[sn],Pr)}return ur},Jd,Zo=function(Pe,pt){return Ju(Pe||[],pt||[],gr)};try{Jd={cloneDeep:cc,constant:wn,defaults:Fl,each:Jn,filter:zr,find:as,flatten:ws,forEach:Fn,forIn:Cs,has:La,isUndefined:ra,last:$o,map:li,mapValues:_c,max:Ol,merge:Bd,min:xd,minBy:of,now:ld,pick:Xu,range:jd,reduce:Di,sortBy:qd,uniqueId:$d,values:dn,zipObject:Zo}}catch(kt){}Jd||(Jd=window._);var Vr=Jd,Yo=Mi;function Mi(){var kt={};kt._next=kt._prev=kt,this._sentinel=kt}function ds(kt){kt._prev._next=kt._next,kt._next._prev=kt._prev,delete kt._next,delete kt._prev}function oc(kt,Pe){if(kt!=="_next"&&kt!=="_prev")return Pe}Mi.prototype.dequeue=function(){var kt=this._sentinel,Pe=kt._prev;if(Pe!==kt)return ds(Pe),Pe},Mi.prototype.enqueue=function(kt){var Pe=this._sentinel;kt._prev&&kt._next&&ds(kt),kt._next=Pe._next,Pe._next._prev=kt,Pe._next=kt,kt._prev=Pe},Mi.prototype.toString=function(){for(var kt=[],Pe=this._sentinel,pt=Pe._prev;pt!==Pe;)kt.push(JSON.stringify(pt,oc)),pt=pt._prev;return"["+kt.join(", ")+"]"};var Il=zc.Graph,pu=function(Pe,pt){if(Pe.nodeCount()<=1)return[];var It=function(fn,An){var ur=new Il,Pr=0,hr=0;Vr.forEach(fn.nodes(),function(Za){ur.setNode(Za,{v:Za,in:0,out:0})}),Vr.forEach(fn.edges(),function(Za){var to=ur.edge(Za.v,Za.w)||0,Xi=An(Za),ss=to+Xi;ur.setEdge(Za.v,Za.w,ss),hr=Math.max(hr,ur.node(Za.v).out+=Xi),Pr=Math.max(Pr,ur.node(Za.w).in+=Xi)});var ha=Vr.range(hr+Pr+3).map(function(){return new Yo}),ya=Pr+1;return Vr.forEach(ur.nodes(),function(Za){vu(ha,ya,ur.node(Za))}),{graph:ur,buckets:ha,zeroIdx:ya}}(Pe,pt||Nl),sn=function(fn,An,ur){for(var Pr,hr=[],ha=An[An.length-1],ya=An[0];fn.nodeCount();){for(;Pr=ya.dequeue();)Du(fn,An,ur,Pr);for(;Pr=ha.dequeue();)Du(fn,An,ur,Pr);if(fn.nodeCount()){for(var Za=An.length-2;Za>0;--Za)if(Pr=An[Za].dequeue()){hr=hr.concat(Du(fn,An,ur,Pr,!0));break}}}return hr}(It.graph,It.buckets,It.zeroIdx);return Vr.flatten(Vr.map(sn,function(fn){return Pe.outEdges(fn.v,fn.w)}),!0)},Nl=Vr.constant(1);function Du(kt,Pe,pt,It,sn){var fn=sn?[]:void 0;return Vr.forEach(kt.inEdges(It.v),function(An){var ur=kt.edge(An),Pr=kt.node(An.v);sn&&fn.push({v:An.v,w:An.w}),Pr.out-=ur,vu(Pe,pt,Pr)}),Vr.forEach(kt.outEdges(It.v),function(An){var ur=kt.edge(An),Pr=An.w,hr=kt.node(Pr);hr.in-=ur,vu(Pe,pt,hr)}),kt.removeNode(It.v),fn}function vu(kt,Pe,pt){pt.out?pt.in?kt[pt.out-pt.in+Pe].enqueue(pt):kt[kt.length-1].enqueue(pt):kt[0].enqueue(pt)}var lu={run:function(Pe){var pt=Pe.graph().acyclicer==="greedy"?pu(Pe,function(It){return function(sn){return It.edge(sn).weight}}(Pe)):function(It){var sn=[],fn={},An={};function ur(Pr){Vr.has(An,Pr)||(An[Pr]=!0,fn[Pr]=!0,Vr.forEach(It.outEdges(Pr),function(hr){Vr.has(fn,hr.w)?sn.push(hr):ur(hr.w)}),delete fn[Pr])}return Vr.forEach(It.nodes(),ur),sn}(Pe);Vr.forEach(pt,function(It){var sn=Pe.edge(It);Pe.removeEdge(It),sn.forwardName=It.name,sn.reversed=!0,Pe.setEdge(It.w,It.v,sn,Vr.uniqueId("rev"))})},undo:function(Pe){Vr.forEach(Pe.edges(),function(pt){var It=Pe.edge(pt);if(It.reversed){Pe.removeEdge(pt);var sn=It.forwardName;delete It.reversed,delete It.forwardName,Pe.setEdge(pt.w,pt.v,It,sn)}})}},id=zc.Graph,Ws={addDummyNode:re,simplify:function(Pe){var pt=new id().setGraph(Pe.graph());return Vr.forEach(Pe.nodes(),function(It){pt.setNode(It,Pe.node(It))}),Vr.forEach(Pe.edges(),function(It){var sn=pt.edge(It.v,It.w)||{weight:0,minlen:1},fn=Pe.edge(It);pt.setEdge(It.v,It.w,{weight:sn.weight+fn.weight,minlen:Math.max(sn.minlen,fn.minlen)})}),pt},asNonCompoundGraph:function(Pe){var pt=new id({multigraph:Pe.isMultigraph()}).setGraph(Pe.graph());return Vr.forEach(Pe.nodes(),function(It){Pe.children(It).length||pt.setNode(It,Pe.node(It))}),Vr.forEach(Pe.edges(),function(It){pt.setEdge(It,Pe.edge(It))}),pt},successorWeights:function(Pe){var pt=Vr.map(Pe.nodes(),function(It){var sn={};return Vr.forEach(Pe.outEdges(It),function(fn){sn[fn.w]=(sn[fn.w]||0)+Pe.edge(fn).weight}),sn});return Vr.zipObject(Pe.nodes(),pt)},predecessorWeights:function(Pe){var pt=Vr.map(Pe.nodes(),function(It){var sn={};return Vr.forEach(Pe.inEdges(It),function(fn){sn[fn.v]=(sn[fn.v]||0)+Pe.edge(fn).weight}),sn});return Vr.zipObject(Pe.nodes(),pt)},intersectRect:function(Pe,pt){var It,sn,fn=Pe.x,An=Pe.y,ur=pt.x-fn,Pr=pt.y-An,hr=Pe.width/2,ha=Pe.height/2;if(!ur&&!Pr)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(Pr)*hr>Math.abs(ur)*ha?(Pr<0&&(ha=-ha),It=ha*ur/Pr,sn=ha):(ur<0&&(hr=-hr),It=hr,sn=hr*Pr/ur),{x:fn+It,y:An+sn}},buildLayerMatrix:function(Pe){var pt=Vr.map(Vr.range(Ae(Pe)+1),function(){return[]});return Vr.forEach(Pe.nodes(),function(It){var sn=Pe.node(It),fn=sn.rank;Vr.isUndefined(fn)||(pt[fn][sn.order]=It)}),pt},normalizeRanks:function(Pe){var pt=Vr.min(Vr.map(Pe.nodes(),function(It){return Pe.node(It).rank}));Vr.forEach(Pe.nodes(),function(It){var sn=Pe.node(It);Vr.has(sn,"rank")&&(sn.rank-=pt)})},removeEmptyRanks:function(Pe){var pt=Vr.min(Vr.map(Pe.nodes(),function(An){return Pe.node(An).rank})),It=[];Vr.forEach(Pe.nodes(),function(An){var ur=Pe.node(An).rank-pt;It[ur]||(It[ur]=[]),It[ur].push(An)});var sn=0,fn=Pe.graph().nodeRankFactor;Vr.forEach(It,function(An,ur){Vr.isUndefined(An)&&ur%fn!=0?--sn:sn&&Vr.forEach(An,function(Pr){Pe.node(Pr).rank+=sn})})},addBorderNode:function(Pe,pt,It,sn){var fn={width:0,height:0};return arguments.length>=4&&(fn.rank=It,fn.order=sn),re(Pe,"border",fn,pt)},maxRank:Ae,partition:function(Pe,pt){var It={lhs:[],rhs:[]};return Vr.forEach(Pe,function(sn){pt(sn)?It.lhs.push(sn):It.rhs.push(sn)}),It},time:function(Pe,pt){var It=Vr.now();try{return pt()}finally{console.log(Pe+" time: "+(Vr.now()-It)+"ms")}},notime:function(Pe,pt){return pt()}};function re(kt,Pe,pt,It){var sn;do sn=Vr.uniqueId(It);while(kt.hasNode(sn));return pt.dummy=Pe,kt.setNode(sn,pt),sn}function Ae(kt){return Vr.max(Vr.map(kt.nodes(),function(Pe){var pt=kt.node(Pe).rank;if(!Vr.isUndefined(pt))return pt}))}var ct={run:function(Pe){Pe.graph().dummyChains=[],Vr.forEach(Pe.edges(),function(pt){(function(It,sn){var fn,An,ur,Pr=sn.v,hr=It.node(Pr).rank,ha=sn.w,ya=It.node(ha).rank,Za=sn.name,to=It.edge(sn),Xi=to.labelRank;if(ya!==hr+1){for(It.removeEdge(sn),ur=0,++hr;hr<ya;++ur,++hr)to.points=[],An={width:0,height:0,edgeLabel:to,edgeObj:sn,rank:hr},fn=Ws.addDummyNode(It,"edge",An,"_d"),hr===Xi&&(An.width=to.width,An.height=to.height,An.dummy="edge-label",An.labelpos=to.labelpos),It.setEdge(Pr,fn,{weight:to.weight},Za),ur===0&&It.graph().dummyChains.push(fn),Pr=fn;It.setEdge(Pr,ha,{weight:to.weight},Za)}})(Pe,pt)})},undo:function(Pe){Vr.forEach(Pe.graph().dummyChains,function(pt){var It,sn=Pe.node(pt),fn=sn.edgeLabel;for(Pe.setEdge(sn.edgeObj,fn);sn.dummy;)It=Pe.successors(pt)[0],Pe.removeNode(pt),fn.points.push({x:sn.x,y:sn.y}),sn.dummy==="edge-label"&&(fn.x=sn.x,fn.y=sn.y,fn.width=sn.width,fn.height=sn.height),pt=It,sn=Pe.node(pt)})}},wt=function(Pe){var pt={};Vr.forEach(Pe.sources(),function It(sn){var fn=Pe.node(sn);if(Vr.has(pt,sn))return fn.rank;pt[sn]=!0;var An=Vr.min(Vr.map(Pe.outEdges(sn),function(ur){return It(ur.w)-Pe.edge(ur).minlen}));return An!==Number.POSITIVE_INFINITY&&An!=null||(An=0),fn.rank=An})},an=function(Pe,pt){return Pe.node(pt.w).rank-Pe.node(pt.v).rank-Pe.edge(pt).minlen},jr=zc.Graph,Xa=an,fs=function(Pe){var pt,It,sn=new jr({directed:!1}),fn=Pe.nodes()[0],An=Pe.nodeCount();for(sn.setNode(fn,{});Xs(sn,Pe)<An;)pt=Uc(sn,Pe),It=sn.hasNode(pt.v)?Xa(Pe,pt):-Xa(Pe,pt),zl(sn,Pe,It);return sn};function Xs(kt,Pe){return Vr.forEach(kt.nodes(),function pt(It){Vr.forEach(Pe.nodeEdges(It),function(sn){var fn=sn.v,An=It===fn?sn.w:fn;kt.hasNode(An)||Xa(Pe,sn)||(kt.setNode(An,{}),kt.setEdge(It,An,{}),pt(An))})}),kt.nodeCount()}function Uc(kt,Pe){return Vr.minBy(Pe.edges(),function(pt){if(kt.hasNode(pt.v)!==kt.hasNode(pt.w))return Xa(Pe,pt)})}function zl(kt,Pe,pt){Vr.forEach(kt.nodes(),function(It){Pe.node(It).rank+=pt})}var Bu=an,ud=wt,Mp=zc.alg.preorder,ev=zc.alg.postorder,Rn=Ws.simplify,St=on;function on(kt){kt=Rn(kt),ud(kt);var Pe,pt=fs(kt);for(oa(pt),Dn(pt,kt);Pe=Ia(pt);)no(pt,kt,Pe,Li(pt,kt,Pe))}function Dn(kt,Pe){var pt=ev(kt,kt.nodes());pt=pt.slice(0,pt.length-1),Vr.forEach(pt,function(It){(function(sn,fn,An){var ur=sn.node(An).parent;sn.edge(An,ur).cutvalue=aa(sn,fn,An)})(kt,Pe,It)})}function aa(kt,Pe,pt){var It=kt.node(pt).parent,sn=!0,fn=Pe.edge(pt,It),An=0;return fn||(sn=!1,fn=Pe.edge(It,pt)),An=fn.weight,Vr.forEach(Pe.nodeEdges(pt),function(ur){var Pr,hr,ha=ur.v===pt,ya=ha?ur.w:ur.v;if(ya!==It){var Za=ha===sn,to=Pe.edge(ur).weight;if(An+=Za?to:-to,Pr=pt,hr=ya,kt.hasEdge(Pr,hr)){var Xi=kt.edge(pt,ya).cutvalue;An+=Za?-Xi:Xi}}}),An}function oa(kt,Pe){arguments.length<2&&(Pe=kt.nodes()[0]),Jr(kt,{},1,Pe)}function Jr(kt,Pe,pt,It,sn){var fn=pt,An=kt.node(It);return Pe[It]=!0,Vr.forEach(kt.neighbors(It),function(ur){Vr.has(Pe,ur)||(pt=Jr(kt,Pe,pt,ur,It))}),An.low=fn,An.lim=pt++,sn?An.parent=sn:delete An.parent,pt}function Ia(kt){return Vr.find(kt.edges(),function(Pe){return kt.edge(Pe).cutvalue<0})}function Li(kt,Pe,pt){var It=pt.v,sn=pt.w;Pe.hasEdge(It,sn)||(It=pt.w,sn=pt.v);var fn=kt.node(It),An=kt.node(sn),ur=fn,Pr=!1;fn.lim>An.lim&&(ur=An,Pr=!0);var hr=Vr.filter(Pe.edges(),function(ha){return Pr===es(kt,kt.node(ha.v),ur)&&Pr!==es(kt,kt.node(ha.w),ur)});return Vr.minBy(hr,function(ha){return Bu(Pe,ha)})}function no(kt,Pe,pt,It){var sn=pt.v,fn=pt.w;kt.removeEdge(sn,fn),kt.setEdge(It.v,It.w,{}),oa(kt),Dn(kt,Pe),function(An,ur){var Pr=Vr.find(An.nodes(),function(ha){return!ur.node(ha).parent}),hr=Mp(An,Pr);hr=hr.slice(1),Vr.forEach(hr,function(ha){var ya=An.node(ha).parent,Za=ur.edge(ha,ya),to=!1;Za||(Za=ur.edge(ya,ha),to=!0),ur.node(ha).rank=ur.node(ya).rank+(to?Za.minlen:-Za.minlen)})}(kt,Pe)}function es(kt,Pe,pt){return pt.low<=Pe.lim&&Pe.lim<=pt.lim}on.initLowLimValues=oa,on.initCutValues=Dn,on.calcCutValue=aa,on.leaveEdge=Ia,on.enterEdge=Li,on.exchangeEdges=no;var Bo=wt,Uo=function(Pe){switch(Pe.graph().ranker){case"network-simplex":nc(Pe);break;case"tight-tree":(function(pt){Bo(pt),fs(pt)})(Pe);break;case"longest-path":Dc(Pe);break;default:nc(Pe)}},Dc=Bo;function nc(kt){St(kt)}var Ms=function(Pe){var pt=function(It){var sn={},fn=0;function An(ur){var Pr=fn;Vr.forEach(It.children(ur),An),sn[ur]={low:Pr,lim:fn++}}return Vr.forEach(It.children(),An),sn}(Pe);Vr.forEach(Pe.graph().dummyChains,function(It){for(var sn=Pe.node(It),fn=sn.edgeObj,An=function(Za,to,Xi,ss){var ts,Os,ac=[],Ll=[],nu=Math.min(to[Xi].low,to[ss].low),tl=Math.max(to[Xi].lim,to[ss].lim);ts=Xi;do ts=Za.parent(ts),ac.push(ts);while(ts&&(to[ts].low>nu||tl>to[ts].lim));for(Os=ts,ts=ss;(ts=Za.parent(ts))!==Os;)Ll.push(ts);return{path:ac.concat(Ll.reverse()),lca:Os}}(Pe,pt,fn.v,fn.w),ur=An.path,Pr=An.lca,hr=0,ha=ur[hr],ya=!0;It!==fn.w;){if(sn=Pe.node(It),ya){for(;(ha=ur[hr])!==Pr&&Pe.node(ha).maxRank<sn.rank;)hr++;ha===Pr&&(ya=!1)}if(!ya){for(;hr<ur.length-1&&Pe.node(ha=ur[hr+1]).minRank<=sn.rank;)hr++;ha=ur[hr]}Pe.setParent(It,ha),It=Pe.successors(It)[0]}})},Eo={run:function(Pe){var pt=Ws.addDummyNode(Pe,"root",{},"_root"),It=function(ur){var Pr={};function hr(ha,ya){var Za=ur.children(ha);Za&&Za.length&&Vr.forEach(Za,function(to){hr(to,ya+1)}),Pr[ha]=ya}return Vr.forEach(ur.children(),function(ha){hr(ha,1)}),Pr}(Pe),sn=Vr.max(Vr.values(It))-1,fn=2*sn+1;Pe.graph().nestingRoot=pt,Vr.forEach(Pe.edges(),function(ur){Pe.edge(ur).minlen*=fn});var An=function(ur){return Vr.reduce(ur.edges(),function(Pr,hr){return Pr+ur.edge(hr).weight},0)}(Pe)+1;Vr.forEach(Pe.children(),function(ur){Is(Pe,pt,fn,An,sn,It,ur)}),Pe.graph().nodeRankFactor=fn},cleanup:function(Pe){var pt=Pe.graph();Pe.removeNode(pt.nestingRoot),delete pt.nestingRoot,Vr.forEach(Pe.edges(),function(It){Pe.edge(It).nestingEdge&&Pe.removeEdge(It)})}};function Is(kt,Pe,pt,It,sn,fn,An){var ur=kt.children(An);if(ur.length){var Pr=Ws.addBorderNode(kt,"_bt"),hr=Ws.addBorderNode(kt,"_bb"),ha=kt.node(An);kt.setParent(Pr,An),ha.borderTop=Pr,kt.setParent(hr,An),ha.borderBottom=hr,Vr.forEach(ur,function(ya){Is(kt,Pe,pt,It,sn,fn,ya);var Za=kt.node(ya),to=Za.borderTop?Za.borderTop:ya,Xi=Za.borderBottom?Za.borderBottom:ya,ss=Za.borderTop?It:2*It,ts=to!==Xi?1:sn-fn[An]+1;kt.setEdge(Pr,to,{weight:ss,minlen:ts,nestingEdge:!0}),kt.setEdge(Xi,hr,{weight:ss,minlen:ts,nestingEdge:!0})}),kt.parent(An)||kt.setEdge(Pe,Pr,{weight:0,minlen:sn+fn[An]})}else An!==Pe&&kt.setEdge(Pe,An,{weight:0,minlen:pt})}var $s=function(Pe){Vr.forEach(Pe.children(),function pt(It){var sn=Pe.children(It),fn=Pe.node(It);if(sn.length&&Vr.forEach(sn,pt),Vr.has(fn,"minRank")){fn.borderLeft=[],fn.borderRight=[];for(var An=fn.minRank,ur=fn.maxRank+1;An<ur;++An)_l(Pe,"borderLeft","_bl",It,fn,An),_l(Pe,"borderRight","_br",It,fn,An)}})};function _l(kt,Pe,pt,It,sn,fn){var An={width:0,height:0,rank:fn,borderType:Pe},ur=sn[Pe][fn-1],Pr=Ws.addDummyNode(kt,"border",An,pt);sn[Pe][fn]=Pr,kt.setParent(Pr,It),ur&&kt.setEdge(ur,Pr,{weight:1})}var Wl={adjust:function(Pe){var pt=Pe.graph().rankdir.toLowerCase();pt!=="lr"&&pt!=="rl"||Hu(Pe)},undo:function(Pe){var pt=Pe.graph().rankdir.toLowerCase();pt!=="bt"&&pt!=="rl"||function(It){Vr.forEach(It.nodes(),function(sn){Cd(It.node(sn))}),Vr.forEach(It.edges(),function(sn){var fn=It.edge(sn);Vr.forEach(fn.points,Cd),Vr.has(fn,"y")&&Cd(fn)})}(Pe),pt!=="lr"&&pt!=="rl"||(function(It){Vr.forEach(It.nodes(),function(sn){Gu(It.node(sn))}),Vr.forEach(It.edges(),function(sn){var fn=It.edge(sn);Vr.forEach(fn.points,Gu),Vr.has(fn,"x")&&Gu(fn)})}(Pe),Hu(Pe))}};function Hu(kt){Vr.forEach(kt.nodes(),function(Pe){gd(kt.node(Pe))}),Vr.forEach(kt.edges(),function(Pe){gd(kt.edge(Pe))})}function gd(kt){var Pe=kt.width;kt.width=kt.height,kt.height=Pe}function Cd(kt){kt.y=-kt.y}function Gu(kt){var Pe=kt.x;kt.x=kt.y,kt.y=Pe}var ol=function(Pe){var pt={},It=Vr.filter(Pe.nodes(),function(Pr){return!Pe.children(Pr).length}),sn=Vr.max(Vr.map(It,function(Pr){return Pe.node(Pr).rank})),fn=Vr.map(Vr.range(sn+1),function(){return[]});function An(Pr){if(!Vr.has(pt,Pr)){pt[Pr]=!0;var hr=Pe.node(Pr);fn[hr.rank].push(Pr),Vr.forEach(Pe.successors(Pr),An)}}var ur=Vr.sortBy(It,function(Pr){return Pe.node(Pr).rank});return Vr.forEach(ur,An),fn},Md=function(Pe,pt){for(var It=0,sn=1;sn<pt.length;++sn)It+=Ff(Pe,pt[sn-1],pt[sn]);return It};function Ff(kt,Pe,pt){for(var It=Vr.zipObject(pt,Vr.map(pt,function(hr,ha){return ha})),sn=Vr.flatten(Vr.map(Pe,function(hr){return Vr.sortBy(Vr.map(kt.outEdges(hr),function(ha){return{pos:It[ha.w],weight:kt.edge(ha).weight}}),"pos")}),!0),fn=1;fn<pt.length;)fn<<=1;var An=2*fn-1;fn-=1;var ur=Vr.map(new Array(An),function(){return 0}),Pr=0;return Vr.forEach(sn.forEach(function(hr){var ha=hr.pos+fn;ur[ha]+=hr.weight;for(var ya=0;ha>0;)ha%2&&(ya+=ur[ha+1]),ur[ha=ha-1>>1]+=hr.weight;Pr+=hr.weight*ya})),Pr}var pp=function(Pe,pt){return Vr.map(pt,function(It){var sn=Pe.inEdges(It);if(sn.length){var fn=Vr.reduce(sn,function(An,ur){var Pr=Pe.edge(ur),hr=Pe.node(ur.v);return{sum:An.sum+Pr.weight*hr.order,weight:An.weight+Pr.weight}},{sum:0,weight:0});return{v:It,barycenter:fn.sum/fn.weight,weight:fn.weight}}return{v:It}})},Vu=function(Pe,pt){var It={};return Vr.forEach(Pe,function(sn,fn){var An=It[sn.v]={indegree:0,in:[],out:[],vs:[sn.v],i:fn};Vr.isUndefined(sn.barycenter)||(An.barycenter=sn.barycenter,An.weight=sn.weight)}),Vr.forEach(pt.edges(),function(sn){var fn=It[sn.v],An=It[sn.w];Vr.isUndefined(fn)||Vr.isUndefined(An)||(An.indegree++,fn.out.push(It[sn.w]))}),function(sn){var fn=[];function An(hr){return function(ha){ha.merged||(Vr.isUndefined(ha.barycenter)||Vr.isUndefined(hr.barycenter)||ha.barycenter>=hr.barycenter)&&function(ya,Za){var to=0,Xi=0;ya.weight&&(to+=ya.barycenter*ya.weight,Xi+=ya.weight),Za.weight&&(to+=Za.barycenter*Za.weight,Xi+=Za.weight),ya.vs=Za.vs.concat(ya.vs),ya.barycenter=to/Xi,ya.weight=Xi,ya.i=Math.min(Za.i,ya.i),Za.merged=!0}(hr,ha)}}function ur(hr){return function(ha){ha.in.push(hr),--ha.indegree==0&&sn.push(ha)}}for(;sn.length;){var Pr=sn.pop();fn.push(Pr),Vr.forEach(Pr.in.reverse(),An(Pr)),Vr.forEach(Pr.out,ur(Pr))}return Vr.map(Vr.filter(fn,function(hr){return!hr.merged}),function(hr){return Vr.pick(hr,["vs","i","barycenter","weight"])})}(Vr.filter(It,function(sn){return!sn.indegree}))},lf=function(Pe,pt){var It=Ws.partition(Pe,function(Za){return Vr.has(Za,"barycenter")}),sn=It.lhs,fn=Vr.sortBy(It.rhs,function(Za){return-Za.i}),An=[],ur=0,Pr=0,hr=0;sn.sort((ha=!!pt,function(Za,to){return Za.barycenter<to.barycenter?-1:Za.barycenter>to.barycenter?1:ha?to.i-Za.i:Za.i-to.i})),hr=cp(An,fn,hr),Vr.forEach(sn,function(Za){hr+=Za.vs.length,An.push(Za.vs),ur+=Za.barycenter*Za.weight,Pr+=Za.weight,hr=cp(An,fn,hr)});var ha,ya={vs:Vr.flatten(An,!0)};return Pr&&(ya.barycenter=ur/Pr,ya.weight=Pr),ya};function cp(kt,Pe,pt){for(var It;Pe.length&&(It=Vr.last(Pe)).i<=pt;)Pe.pop(),kt.push(It.vs),pt++;return pt}var Gf=function kt(Pe,pt,It,sn){var fn=Pe.children(pt),An=Pe.node(pt),ur=An?An.borderLeft:void 0,Pr=An?An.borderRight:void 0,hr={};ur&&(fn=Vr.filter(fn,function(ss){return ss!==ur&&ss!==Pr}));var ha=pp(Pe,fn);Vr.forEach(ha,function(ss){if(Pe.children(ss.v).length){var ts=kt(Pe,ss.v,It,sn);hr[ss.v]=ts,Vr.has(ts,"barycenter")&&(Os=ss,ac=ts,Vr.isUndefined(Os.barycenter)?(Os.barycenter=ac.barycenter,Os.weight=ac.weight):(Os.barycenter=(Os.barycenter*Os.weight+ac.barycenter*ac.weight)/(Os.weight+ac.weight),Os.weight+=ac.weight))}var Os,ac});var ya=Vu(ha,It);(function(ss,ts){Vr.forEach(ss,function(Os){Os.vs=Vr.flatten(Os.vs.map(function(ac){return ts[ac]?ts[ac].vs:ac}),!0)})})(ya,hr);var Za=lf(ya,sn);if(ur&&(Za.vs=Vr.flatten([ur,Za.vs,Pr],!0),Pe.predecessors(ur).length)){var to=Pe.node(Pe.predecessors(ur)[0]),Xi=Pe.node(Pe.predecessors(Pr)[0]);Vr.has(Za,"barycenter")||(Za.barycenter=0,Za.weight=0),Za.barycenter=(Za.barycenter*Za.weight+to.order+Xi.order)/(Za.weight+2),Za.weight+=2}return Za},wp=zc.Graph,Tp=function(Pe,pt,It){var sn=function(An){for(var ur;An.hasNode(ur=Vr.uniqueId("_root")););return ur}(Pe),fn=new wp({compound:!0}).setGraph({root:sn}).setDefaultNodeLabel(function(An){return Pe.node(An)});return Vr.forEach(Pe.nodes(),function(An){var ur=Pe.node(An),Pr=Pe.parent(An);(ur.rank===pt||ur.minRank<=pt&&pt<=ur.maxRank)&&(fn.setNode(An),fn.setParent(An,Pr||sn),Vr.forEach(Pe[It](An),function(hr){var ha=hr.v===An?hr.w:hr.v,ya=fn.edge(ha,An),Za=Vr.isUndefined(ya)?0:ya.weight;fn.setEdge(ha,An,{weight:Pe.edge(hr).weight+Za})}),Vr.has(ur,"minRank")&&fn.setNode(An,{borderLeft:ur.borderLeft[pt],borderRight:ur.borderRight[pt]}))}),fn},lp=function(Pe,pt,It){var sn,fn={};Vr.forEach(It,function(An){for(var ur,Pr,hr=Pe.parent(An);hr;){if((ur=Pe.parent(hr))?(Pr=fn[ur],fn[ur]=hr):(Pr=sn,sn=hr),Pr&&Pr!==hr)return void pt.setEdge(Pr,hr);hr=ur}})},vp=zc.Graph,Uv=function(Pe){var pt=Ws.maxRank(Pe),It=tv(Pe,Vr.range(1,pt+1),"inEdges"),sn=tv(Pe,Vr.range(pt-1,-1,-1),"outEdges"),fn=ol(Pe);up(Pe,fn);for(var An,ur=Number.POSITIVE_INFINITY,Pr=0,hr=0;hr<4;++Pr,++hr){ph(Pr%2?It:sn,Pr%4>=2),fn=Ws.buildLayerMatrix(Pe);var ha=Md(Pe,fn);ha<ur&&(hr=0,An=Vr.cloneDeep(fn),ur=ha)}up(Pe,An)};function tv(kt,Pe,pt){return Vr.map(Pe,function(It){return Tp(kt,It,pt)})}function ph(kt,Pe){var pt=new vp;Vr.forEach(kt,function(It){var sn=It.graph().root,fn=Gf(It,sn,pt,Pe);Vr.forEach(fn.vs,function(An,ur){It.node(An).order=ur}),lp(It,pt,fn.vs)})}function up(kt,Pe){Vr.forEach(Pe,function(pt){Vr.forEach(pt,function(It,sn){kt.node(It).order=sn})})}var Xv=zc.Graph,Fh=function(Pe){var pt,It=Ws.buildLayerMatrix(Pe),sn=Vr.merge(hp(Pe,It),kf(Pe,It)),fn={};Vr.forEach(["u","d"],function(ur){pt=ur==="u"?It:Vr.values(It).reverse(),Vr.forEach(["l","r"],function(Pr){Pr==="r"&&(pt=Vr.map(pt,function(Za){return Vr.values(Za).reverse()}));var hr=(ur==="u"?Pe.predecessors:Pe.successors).bind(Pe),ha=Sv(Pe,pt,sn,hr),ya=Pp(Pe,pt,ha.root,ha.align,Pr==="r");Pr==="r"&&(ya=Vr.mapValues(ya,function(Za){return-Za})),fn[ur+Pr]=ya})});var An=wv(Pe,fn);return Qf(fn,An),lv(fn,Pe.graph().align)};function hp(kt,Pe){var pt={};return Vr.reduce(Pe,function(It,sn){var fn=0,An=0,ur=It.length,Pr=Vr.last(sn);return Vr.forEach(sn,function(hr,ha){var ya=function(to,Xi){if(to.node(Xi).dummy)return Vr.find(to.predecessors(Xi),function(ss){return to.node(ss).dummy})}(kt,hr),Za=ya?kt.node(ya).order:ur;(ya||hr===Pr)&&(Vr.forEach(sn.slice(An,ha+1),function(to){Vr.forEach(kt.predecessors(to),function(Xi){var ss=kt.node(Xi),ts=ss.order;!(ts<fn||Za<ts)||ss.dummy&&kt.node(to).dummy||Df(pt,Xi,to)})}),An=ha+1,fn=Za)}),sn}),pt}function kf(kt,Pe){var pt={};function It(sn,fn,An,ur,Pr){var hr;Vr.forEach(Vr.range(fn,An),function(ha){hr=sn[ha],kt.node(hr).dummy&&Vr.forEach(kt.predecessors(hr),function(ya){var Za=kt.node(ya);Za.dummy&&(Za.order<ur||Za.order>Pr)&&Df(pt,ya,hr)})})}return Vr.reduce(Pe,function(sn,fn){var An,ur=-1,Pr=0;return Vr.forEach(fn,function(hr,ha){if(kt.node(hr).dummy==="border"){var ya=kt.predecessors(hr);ya.length&&(An=kt.node(ya[0]).order,It(fn,Pr,ha,ur,An),Pr=ha,ur=An)}It(fn,Pr,fn.length,An,sn.length)}),fn}),pt}function Df(kt,Pe,pt){if(Pe>pt){var It=Pe;Pe=pt,pt=It}var sn=kt[Pe];sn||(kt[Pe]=sn={}),sn[pt]=!0}function Bv(kt,Pe,pt){if(Pe>pt){var It=Pe;Pe=pt,pt=It}return Vr.has(kt[Pe],pt)}function Sv(kt,Pe,pt,It){var sn={},fn={},An={};return Vr.forEach(Pe,function(ur){Vr.forEach(ur,function(Pr,hr){sn[Pr]=Pr,fn[Pr]=Pr,An[Pr]=hr})}),Vr.forEach(Pe,function(ur){var Pr=-1;Vr.forEach(ur,function(hr){var ha=It(hr);if(ha.length)for(var ya=((ha=Vr.sortBy(ha,function(ss){return An[ss]})).length-1)/2,Za=Math.floor(ya),to=Math.ceil(ya);Za<=to;++Za){var Xi=ha[Za];fn[hr]===hr&&Pr<An[Xi]&&!Bv(pt,hr,Xi)&&(fn[Xi]=hr,fn[hr]=sn[hr]=sn[Xi],Pr=An[Xi])}})}),{root:sn,align:fn}}function Pp(kt,Pe,pt,It,sn){var fn={},An=function(hr,ha,ya,Za){var to=new Xv,Xi=hr.graph(),ss=function(ts,Os,ac){return function(Ll,nu,tl){var iu,sd=Ll.node(nu),md=Ll.node(tl),dd=0;if(dd+=sd.width/2,Vr.has(sd,"labelpos"))switch(sd.labelpos.toLowerCase()){case"l":iu=-sd.width/2;break;case"r":iu=sd.width/2}if(iu&&(dd+=ac?iu:-iu),iu=0,dd+=(sd.dummy?Os:ts)/2,dd+=(md.dummy?Os:ts)/2,dd+=md.width/2,Vr.has(md,"labelpos"))switch(md.labelpos.toLowerCase()){case"l":iu=md.width/2;break;case"r":iu=-md.width/2}return iu&&(dd+=ac?iu:-iu),iu=0,dd}}(Xi.nodesep,Xi.edgesep,Za);return Vr.forEach(ha,function(ts){var Os;Vr.forEach(ts,function(ac){var Ll=ya[ac];if(to.setNode(Ll),Os){var nu=ya[Os],tl=to.edge(nu,Ll);to.setEdge(nu,Ll,Math.max(ss(hr,ac,Os),tl||0))}Os=ac})}),to}(kt,Pe,pt,sn),ur=sn?"borderLeft":"borderRight";function Pr(hr,ha){for(var ya=An.nodes(),Za=ya.pop(),to={};Za;)to[Za]?hr(Za):(to[Za]=!0,ya.push(Za),ya=ya.concat(ha(Za))),Za=ya.pop()}return Pr(function(hr){fn[hr]=An.inEdges(hr).reduce(function(ha,ya){return Math.max(ha,fn[ya.v]+An.edge(ya))},0)},An.predecessors.bind(An)),Pr(function(hr){var ha=An.outEdges(hr).reduce(function(Za,to){return Math.min(Za,fn[to.w]-An.edge(to))},Number.POSITIVE_INFINITY),ya=kt.node(hr);ha!==Number.POSITIVE_INFINITY&&ya.borderType!==ur&&(fn[hr]=Math.max(fn[hr],ha))},An.successors.bind(An)),Vr.forEach(It,function(hr){fn[hr]=fn[pt[hr]]}),fn}function wv(kt,Pe){return Vr.minBy(Vr.values(Pe),function(pt){var It=Number.NEGATIVE_INFINITY,sn=Number.POSITIVE_INFINITY;return Vr.forIn(pt,function(fn,An){var ur=function(Pr,hr){return Pr.node(hr).width}(kt,An)/2;It=Math.max(fn+ur,It),sn=Math.min(fn-ur,sn)}),It-sn})}function Qf(kt,Pe){var pt=Vr.values(Pe),It=Vr.min(pt),sn=Vr.max(pt);Vr.forEach(["u","d"],function(fn){Vr.forEach(["l","r"],function(An){var ur,Pr=fn+An,hr=kt[Pr];if(hr!==Pe){var ha=Vr.values(hr);(ur=An==="l"?It-Vr.min(ha):sn-Vr.max(ha))&&(kt[Pr]=Vr.mapValues(hr,function(ya){return ya+ur}))}})})}function lv(kt,Pe){return Vr.mapValues(kt.ul,function(pt,It){if(Pe)return kt[Pe.toLowerCase()][It];var sn=Vr.sortBy(Vr.map(kt,It));return(sn[1]+sn[2])/2})}var nv=Fh,Hp=function(Pe){(function(pt){var It=Ws.buildLayerMatrix(pt),sn=pt.graph().ranksep,fn=0;Vr.forEach(It,function(An){var ur=Vr.max(Vr.map(An,function(Pr){return pt.node(Pr).height}));Vr.forEach(An,function(Pr){pt.node(Pr).y=fn+ur/2}),fn+=ur+sn})})(Pe=Ws.asNonCompoundGraph(Pe)),Vr.forEach(nv(Pe),function(pt,It){Pe.node(It).x=pt})},Tv=Ws.normalizeRanks,Gp=Ws.removeEmptyRanks,Ap=Ws,hv=zc.Graph,kp=function(Pe,pt){var It=pt&&pt.debugTiming?Ap.time:Ap.notime;It("layout",function(){var sn=It(" buildLayoutGraph",function(){return function(fn){var An=new hv({multigraph:!0,compound:!0}),ur=vh(fn.graph());return An.setGraph(Vr.merge({},jf,gv(ur,bp),Vr.pick(ur,qf))),Vr.forEach(fn.nodes(),function(Pr){var hr=vh(fn.node(Pr));An.setNode(Pr,Vr.defaults(gv(hr,Eh),Av)),An.setParent(Pr,fn.parent(Pr))}),Vr.forEach(fn.edges(),function(Pr){var hr=vh(fn.edge(Pr));An.setEdge(Pr,Vr.merge({},Fg,gv(hr,Lg),Vr.pick(hr,xh)))}),An}(Pe)});It(" runLayout",function(){(function(fn,An){An(" makeSpaceForEdgeLabels",function(){(function(ur){var Pr=ur.graph();Pr.ranksep/=2,Vr.forEach(ur.edges(),function(hr){var ha=ur.edge(hr);ha.minlen*=2,ha.labelpos.toLowerCase()!=="c"&&(Pr.rankdir==="TB"||Pr.rankdir==="BT"?ha.width+=ha.labeloffset:ha.height+=ha.labeloffset)})})(fn)}),An(" removeSelfEdges",function(){(function(ur){Vr.forEach(ur.edges(),function(Pr){if(Pr.v===Pr.w){var hr=ur.node(Pr.v);hr.selfEdges||(hr.selfEdges=[]),hr.selfEdges.push({e:Pr,label:ur.edge(Pr)}),ur.removeEdge(Pr)}})})(fn)}),An(" acyclic",function(){lu.run(fn)}),An(" nestingGraph.run",function(){Eo.run(fn)}),An(" rank",function(){Uo(Ap.asNonCompoundGraph(fn))}),An(" injectEdgeLabelProxies",function(){(function(ur){Vr.forEach(ur.edges(),function(Pr){var hr=ur.edge(Pr);if(hr.width&&hr.height){var ha=ur.node(Pr.v),ya={rank:(ur.node(Pr.w).rank-ha.rank)/2+ha.rank,e:Pr};Ap.addDummyNode(ur,"edge-proxy",ya,"_ep")}})})(fn)}),An(" removeEmptyRanks",function(){Gp(fn)}),An(" nestingGraph.cleanup",function(){Eo.cleanup(fn)}),An(" normalizeRanks",function(){Tv(fn)}),An(" assignRankMinMax",function(){(function(ur){var Pr=0;Vr.forEach(ur.nodes(),function(hr){var ha=ur.node(hr);ha.borderTop&&(ha.minRank=ur.node(ha.borderTop).rank,ha.maxRank=ur.node(ha.borderBottom).rank,Pr=Vr.max(Pr,ha.maxRank))}),ur.graph().maxRank=Pr})(fn)}),An(" removeEdgeLabelProxies",function(){(function(ur){Vr.forEach(ur.nodes(),function(Pr){var hr=ur.node(Pr);hr.dummy==="edge-proxy"&&(ur.edge(hr.e).labelRank=hr.rank,ur.removeNode(Pr))})})(fn)}),An(" normalize.run",function(){ct.run(fn)}),An(" parentDummyChains",function(){Ms(fn)}),An(" addBorderSegments",function(){$s(fn)}),An(" order",function(){Uv(fn)}),An(" insertSelfEdges",function(){(function(ur){var Pr=Ap.buildLayerMatrix(ur);Vr.forEach(Pr,function(hr){var ha=0;Vr.forEach(hr,function(ya,Za){var to=ur.node(ya);to.order=Za+ha,Vr.forEach(to.selfEdges,function(Xi){Ap.addDummyNode(ur,"selfedge",{width:Xi.label.width,height:Xi.label.height,rank:to.rank,order:Za+ ++ha,e:Xi.e,label:Xi.label},"_se")}),delete to.selfEdges})})})(fn)}),An(" adjustCoordinateSystem",function(){Wl.adjust(fn)}),An(" position",function(){Hp(fn)}),An(" positionSelfEdges",function(){(function(ur){Vr.forEach(ur.nodes(),function(Pr){var hr=ur.node(Pr);if(hr.dummy==="selfedge"){var ha=ur.node(hr.e.v),ya=ha.x+ha.width/2,Za=ha.y,to=hr.x-ya,Xi=ha.height/2;ur.setEdge(hr.e,hr.label),ur.removeNode(Pr),hr.label.points=[{x:ya+2*to/3,y:Za-Xi},{x:ya+5*to/6,y:Za-Xi},{x:ya+to,y:Za},{x:ya+5*to/6,y:Za+Xi},{x:ya+2*to/3,y:Za+Xi}],hr.label.x=hr.x,hr.label.y=hr.y}})})(fn)}),An(" removeBorderNodes",function(){(function(ur){Vr.forEach(ur.nodes(),function(Pr){if(ur.children(Pr).length){var hr=ur.node(Pr),ha=ur.node(hr.borderTop),ya=ur.node(hr.borderBottom),Za=ur.node(Vr.last(hr.borderLeft)),to=ur.node(Vr.last(hr.borderRight));hr.width=Math.abs(to.x-Za.x),hr.height=Math.abs(ya.y-ha.y),hr.x=Za.x+hr.width/2,hr.y=ha.y+hr.height/2}}),Vr.forEach(ur.nodes(),function(Pr){ur.node(Pr).dummy==="border"&&ur.removeNode(Pr)})})(fn)}),An(" normalize.undo",function(){ct.undo(fn)}),An(" fixupEdgeLabelCoords",function(){(function(ur){Vr.forEach(ur.edges(),function(Pr){var hr=ur.edge(Pr);if(Vr.has(hr,"x"))switch(hr.labelpos!=="l"&&hr.labelpos!=="r"||(hr.width-=hr.labeloffset),hr.labelpos){case"l":hr.x-=hr.width/2+hr.labeloffset;break;case"r":hr.x+=hr.width/2+hr.labeloffset}})})(fn)}),An(" undoCoordinateSystem",function(){Wl.undo(fn)}),An(" translateGraph",function(){(function(ur){var Pr=Number.POSITIVE_INFINITY,hr=0,ha=Number.POSITIVE_INFINITY,ya=0,Za=ur.graph(),to=Za.marginx||0,Xi=Za.marginy||0;function ss(ts){var Os=ts.x,ac=ts.y,Ll=ts.width,nu=ts.height;Pr=Math.min(Pr,Os-Ll/2),hr=Math.max(hr,Os+Ll/2),ha=Math.min(ha,ac-nu/2),ya=Math.max(ya,ac+nu/2)}Vr.forEach(ur.nodes(),function(ts){ss(ur.node(ts))}),Vr.forEach(ur.edges(),function(ts){var Os=ur.edge(ts);Vr.has(Os,"x")&&ss(Os)}),Pr-=to,ha-=Xi,Vr.forEach(ur.nodes(),function(ts){var Os=ur.node(ts);Os.x-=Pr,Os.y-=ha}),Vr.forEach(ur.edges(),function(ts){var Os=ur.edge(ts);Vr.forEach(Os.points,function(ac){ac.x-=Pr,ac.y-=ha}),Vr.has(Os,"x")&&(Os.x-=Pr),Vr.has(Os,"y")&&(Os.y-=ha)}),Za.width=hr-Pr+to,Za.height=ya-ha+Xi})(fn)}),An(" assignNodeIntersects",function(){(function(ur){Vr.forEach(ur.edges(),function(Pr){var hr,ha,ya=ur.edge(Pr),Za=ur.node(Pr.v),to=ur.node(Pr.w);ya.points?(hr=ya.points[0],ha=ya.points[ya.points.length-1]):(ya.points=[],hr=to,ha=Za),ya.points.unshift(Ap.intersectRect(Za,hr)),ya.points.push(Ap.intersectRect(to,ha))})})(fn)}),An(" reversePoints",function(){(function(ur){Vr.forEach(ur.edges(),function(Pr){var hr=ur.edge(Pr);hr.reversed&&hr.points.reverse()})})(fn)}),An(" acyclic.undo",function(){lu.undo(fn)})})(sn,It)}),It(" updateInputGraph",function(){(function(fn,An){Vr.forEach(fn.nodes(),function(ur){var Pr=fn.node(ur),hr=An.node(ur);Pr&&(Pr.x=hr.x,Pr.y=hr.y,An.children(ur).length&&(Pr.width=hr.width,Pr.height=hr.height))}),Vr.forEach(fn.edges(),function(ur){var Pr=fn.edge(ur),hr=An.edge(ur);Pr.points=hr.points,Vr.has(hr,"x")&&(Pr.x=hr.x,Pr.y=hr.y)}),fn.graph().width=An.graph().width,fn.graph().height=An.graph().height})(Pe,sn)})})},bp=["nodesep","edgesep","ranksep","marginx","marginy"],jf={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},qf=["acyclicer","ranker","rankdir","align"],Eh=["width","height"],Av={width:0,height:0},Lg=["minlen","weight","width","height","labeloffset"],Fg={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},xh=["labelpos"];function gv(kt,Pe){return Vr.mapValues(Vr.pick(kt,Pe),Number)}function vh(kt){var Pe={};return Vr.forEach(kt,function(pt,It){Pe[It.toLowerCase()]=pt}),Pe}var Uh=zc.Graph,Sh={graphlib:zc,layout:kp,debug:{debugOrdering:function(Pe){var pt=Ws.buildLayerMatrix(Pe),It=new Uh({compound:!0,multigraph:!0}).setGraph({});return Vr.forEach(Pe.nodes(),function(sn){It.setNode(sn,{label:sn}),It.setParent(sn,"layer"+Pe.node(sn).rank)}),Vr.forEach(Pe.edges(),function(sn){It.setEdge(sn.v,sn.w,{},sn.name)}),Vr.forEach(pt,function(sn,fn){var An="layer"+fn;It.setNode(An,{rank:"same"}),Vr.reduce(sn,function(ur,Pr){return It.setEdge(ur,Pr,{style:"invis"}),Pr})}),It}},util:{time:Ws.time,notime:Ws.notime},version:"0.8.5"},mv=Sh.graphlib,Jv=Sh.layout,mg=Object(S.a)(function kt(Pe){Object(y.a)(this,kt),this.cardinality=1,this.include=F.UNSPECIFIED,this.isGroupNode=!1,this.parentNode=null,this.type=N.NODE,this.name=Pe.name,this.attr=Pe.attr||{},this.inputs=Pe.inputs,this.path=Pe.path||[],this.width=Pe.width,this.height=Pe.height}),Zv=Object(S.a)(function kt(){Object(y.a)(this,kt),this.nodes={},this.edges=[],this.nodes={},this.edges=[]});function hh(kt){var Pe=new Zv;return kt.nodes.map(function(pt){return new mg(pt)}).forEach(function(pt){Pe.nodes[pt.name]=pt,pt.inputs.forEach(function(It){(function(sn,fn,An){An.name!==fn.name&&sn.edges.push(Object.assign(Object.assign({},An.attr),{v:An.name,w:fn.name}))})(Pe,pt,It)})}),Pe}var gh=function(){function kt(Pe){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object(y.a)(this,kt),this.attr=null,this.bridgeGraph=null,this.cardinality=0,this.depth=1,this.include=F.UNSPECIFIED,this.isGroupNode=!0,this.parentNode=null,this.type=N.META,this.path=[],this.name=Pe,this.metaGraph=_r(Pe,B.META,pt)}return Object(S.a)(kt,[{key:"getFirstChild",value:function(){return this.metaGraph.node(this.metaGraph.nodes()[0])}},{key:"getChildren",value:function(){var pt=this;return this.metaGraph.nodes().map(function(It){return pt.metaGraph.node(It)})}},{key:"leaves",value:function(){for(var pt,It=[],sn=[this];sn.length;){var fn=sn.shift();fn.isGroupNode?(pt=fn.metaGraph,pt.nodes().forEach(function(An){return sn.push(pt.node(An))})):It.push(fn.name)}return It}}]),kt}(),kv=function(){function kt(Pe,pt){Object(y.a)(this,kt),this.v=Pe,this.w=pt,this.baseEdgeList=[],this.inbound=null,this.name=null}return Object(S.a)(kt,[{key:"addBaseEdge",value:function(pt,It){this.baseEdgeList.push(pt)}}]),kt}();function $p(kt){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new gh(kt,Pe)}function od(kt,Pe){return new kv(kt,Pe)}function _r(kt,Pe,pt){var It=pt||{},sn=new mv.Graph(It);return sn.setGraph({name:kt,rankdir:It.rankdir,type:Pe,align:It.align}),sn}var Br=function(){function kt(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(y.a)(this,kt),this.graphOptions=Pe,this.index={},this.graphOptions.compound=!0,this.root=$p(j,this.graphOptions),this.index[j]=this.root}return Object(S.a)(kt,[{key:"getNodeMap",value:function(){return this.index}},{key:"node",value:function(pt){return this.index[pt]}},{key:"setNode",value:function(pt,It){this.index[pt]=It}},{key:"getBridgeGraph",value:function(pt){var It=this,sn=this.index[pt];if(!sn)throw Error("Could not find node in hierarchy: "+pt);if(!("metaGraph"in sn))return null;var fn=sn;if(fn.bridgeGraph)return fn.bridgeGraph;var An=_r(D,B.BRIDGE,this.graphOptions);if(fn.bridgeGraph=An,!sn.parentNode||!("metaGraph"in sn.parentNode))return An;var ur=sn.parentNode;return[ur.metaGraph,this.getBridgeGraph(ur.name)].forEach(function(Pr){Pr.edges().filter(function(hr){return hr.v===pt||hr.w===pt}).forEach(function(hr){var ha=hr.w===pt;Pr.edge(hr).baseEdgeList.forEach(function(ya){var Za=ha?[ya.w,hr.v]:[ya.v,hr.w],to=Object(A.a)(Za,2),Xi=to[0],ss=to[1],ts=It.getChildName(pt,Xi),Os={v:ha?ss:ts,w:ha?ts:ss},ac=An.edge(Os);ac||(ac=od(Os.v,Os.w),ac.inbound=ha,An.setEdge(Os.v,Os.w,ac)),ac.addBaseEdge(ya,It)})})}),An}},{key:"getChildName",value:function(pt,It){for(var sn=this.index[It];sn;){if(sn.parentNode&&sn.parentNode.name===pt)return sn.name;sn=sn.parentNode}throw Error("Could not find immediate child for descendant: "+It)}},{key:"getPredecessors",value:function(pt){var It=this.index[pt];if(!It)throw Error("Could not find node with name: "+pt);return this.getOneWayEdges(It,!0)}},{key:"getSuccessors",value:function(pt){var It=this.index[pt];if(!It)throw Error("Could not find node with name: "+pt);return this.getOneWayEdges(It,!1)}},{key:"getOneWayEdges",value:function(pt,It){var sn=[];if(!pt.parentNode||!pt.parentNode.isGroupNode)return sn;var fn=pt.parentNode,An=fn.metaGraph,ur=this.getBridgeGraph(fn.name);return Ao(An,pt,It,sn),Ao(ur,pt,It,sn),sn}}]),kt}();function ei(kt,Pe){var pt=Pe.rankDirection,It=Pe.align,sn=new Br({rankdir:pt,align:It});return function(fn,An){Object.keys(An.nodes).forEach(function(ur){var Pr=An.nodes[ur],hr=Pr.path,ha=fn.root;ha.depth=Math.max(hr.length,ha.depth);for(var ya=0;ya<hr.length&&(ha.depth=Math.max(ha.depth,hr.length-ya),ha.cardinality+=Pr.cardinality,ya!==hr.length-1);ya++){var Za=hr[ya],to=fn.node(Za);to||(to=$p(Za,fn.graphOptions),to.path=Pr.path.slice(0,ya+1),to.parentNode=ha,fn.setNode(Za,to),ha.metaGraph.setNode(Za,to)),ha=to}fn.setNode(Pr.name,Pr),Pr.parentNode=ha,ha.metaGraph.setNode(Pr.name,Pr)})}(sn,kt),function(fn,An){var ur=fn.getNodeMap(),Pr=[],hr=[],ha=function(Za,to){for(var Xi=0;Za;)to[Xi++]=Za.name,Za=Za.parentNode;return Xi-1};An.edges.forEach(function(ya){Pr=[],hr=[];for(var Za=ha(An.nodes[ya.v],Pr),to=ha(An.nodes[ya.w],hr);Pr[Za]===hr[to];)if(Za--,to--,Za<0||to<0)throw Error("No difference found between ancestor paths.");var Xi=ur[Pr[Za+1]],ss=Pr[Za],ts=hr[to],Os=Xi.metaGraph.edge(ss,ts);Os||(Os=od(ss,ts),Xi.metaGraph.setEdge(ss,ts,Os)),Os.addBaseEdge(ya,fn)})}(sn,kt),sn}function Ao(kt,Pe,pt,It){(pt?kt.inEdges(Pe.name):kt.outEdges(Pe.name)).forEach(function(sn){var fn=kt.edge(sn);It.push(fn)})}var so=function(){function kt(Pe){Object(y.a)(this,kt),this.hierarchy=Pe,this.index={},this.hasSubHierarchy={},this.root=new Fs(this.hierarchy.root,this.hierarchy.graphOptions),this.index[Pe.root.name]=this.root,this.buildSubHierarchy(Pe.root.name),this.root.expanded=!0}return Object(S.a)(kt,[{key:"getRenderInfoNodes",value:function(){return Object.values(this.index)}},{key:"getSubHierarchy",value:function(){return this.hasSubHierarchy}},{key:"buildSubHierarchy",value:function(pt){var It=this;if(!(pt in this.hasSubHierarchy)){this.hasSubHierarchy[pt]=!0;var sn=this.index[pt];if(sn.node.type===N.META){var fn=sn,An=fn.node.metaGraph,ur=fn.coreGraph;An.nodes().forEach(function(Za){var to=It.getOrCreateRenderNodeByName(Za);ur.setNode(Za,to)}),An.edges().forEach(function(Za){var to=An.edge(Za),Xi=new To(to);ur.setEdge(Za.v,Za.w,Xi)});var Pr=fn.node.parentNode;if(!!Pr){var hr=this.getRenderNodeByName(Pr.name),ha=function(to){for(var Xi=arguments.length,ss=new Array(Xi>1?Xi-1:0),ts=1;ts<Xi;ts++)ss[ts-1]=arguments[ts];return ss.concat([to?"IN":"OUT"]).join("~~")},ya=this.hierarchy.getBridgeGraph(pt);ya.edges().forEach(function(Za){var to=ya.edge(Za),Xi=!!An.node(Za.w),ss=Xi?[Za.w,Za.v]:[Za.v,Za.w],ts=Object(A.a)(ss,2),Os=ts[0],ac=ts[1],Ll=function(Zd){var Zl=Xi?{v:Zd,w:pt}:{v:pt,w:Zd};return hr.coreGraph.edge(Zl)},nu=Ll(ac);nu||(nu=Ll(ha(Xi,ac,Pr.name)));var tl=ha(Xi,pt),iu=ha(Xi,ac,pt),sd=ur.node(iu);if(!sd){var md=ur.node(tl);if(!md){var dd={name:tl,type:N.BRIDGE,isGroupNode:!1,cardinality:0,parentNode:null,include:F.UNSPECIFIED,inbound:Xi,attr:{}};md=new So(dd),It.index[tl]=md,ur.setNode(tl,md)}var Xl={name:iu,type:N.BRIDGE,isGroupNode:!1,cardinality:1,parentNode:null,include:F.UNSPECIFIED,inbound:Xi,attr:{}};sd=new So(Xl),It.index[iu]=sd,ur.setNode(iu,sd),ur.setParent(iu,tl),md.node.cardinality++}var vd=new To(to);vd.adjoiningMetaEdge=nu,Xi?ur.setEdge(iu,Os,vd):ur.setEdge(Os,iu,vd)})}}}}},{key:"getOrCreateRenderNodeByName",value:function(pt){if(!pt)return null;if(pt in this.index)return this.index[pt];var It=this.getNodeByName(pt);return It?(this.index[pt]=It.isGroupNode?new Fs(It,this.hierarchy.graphOptions):new So(It),this.index[pt]):null}},{key:"getRenderNodeByName",value:function(pt){return this.index[pt]}},{key:"getNodeByName",value:function(pt){return this.hierarchy.node(pt)}}]),kt}(),So=Object(S.a)(function kt(Pe){Object(y.a)(this,kt),this.node=Pe,this.expanded=!1,this.x=0,this.y=0,this.coreBox={width:0,height:0},this.outboxWidth=0,this.labelOffset=0,this.radius=0,this.labelHeight=0,this.paddingTop=0,this.paddingLeft=0,this.paddingRight=0,this.paddingBottom=0,this.width=Pe.width||0,this.height=Pe.height||0,this.displayName=Pe.name,this.attr=Pe.attr}),To=Object(S.a)(function kt(Pe){Object(y.a)(this,kt),this.metaEdge=Pe,this.adjoiningMetaEdge=null,this.weight=1,this.points=[]}),Fs=function(kt){Object(C.a)(pt,kt);var Pe=Object(k.a)(pt);function pt(It,sn){var fn;Object(y.a)(this,pt),fn=Pe.call(this,It);var An=It.metaGraph.graph();return sn.compound=!0,fn.coreGraph=_r(An.name,B.CORE,sn),fn}return Object(S.a)(pt)}(So);function rc(kt,Pe){kt.node.isGroupNode&&function(pt,It){var sn=x(It);pt.coreGraph.nodes().map(function(fn){return pt.coreGraph.node(fn)}).forEach(function(fn){var An,ur,Pr,hr,ha,ya,Za=fn.height,to=fn.width;switch(fn.node.type){case N.NODE:Object.assign(fn,sn.nodeSize.node),fn.height=Za||sn.nodeSize.node.height,fn.width=to||sn.nodeSize.node.width;break;case N.BRIDGE:Object.assign(fn,sn.nodeSize.bridge);break;case N.META:fn.expanded?rc(fn,It):(Object.assign(fn,sn.nodeSize.meta),fn.height=sn.nodeSize.meta.height,fn.width=sn.nodeSize.meta.width);break;default:throw Error("Unrecognized node type: "+fn.node.type)}if(!fn.expanded){var Xi=fn.attr;(function(ss){var ts=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(ss.coreBox.width=ss.width,ss.coreBox.height=ss.height,!ts){var Os="".concat(ss.displayName).length,ac=3;ss.width=Math.max(ss.coreBox.width,Os*ac)}})(fn,It&&(fn.node.type===0&&!!((ur=(An=It==null?void 0:It.nodeSize)===null||An===void 0?void 0:An.meta)===null||ur===void 0?void 0:ur.width)||fn.node.type===1&&(!!((hr=(Pr=It==null?void 0:It.nodeSize)===null||Pr===void 0?void 0:Pr.node)===null||hr===void 0?void 0:hr.width)||!!Xi.width)||fn.node.type===2&&!!((ya=(ha=It==null?void 0:It.nodeSize)===null||ha===void 0?void 0:ha.bridge)===null||ya===void 0?void 0:ya.width)))}})}(kt,Pe),kt.node.type===N.META&&function(pt,It){var sn=x(It),fn=sn.subScene.meta;Object.assign(pt,fn);var An=sn.graph.meta,ur=An.nodeSep,Pr=An.rankSep,hr=An.edgeSep,ha=An.align,ya={nodesep:ur,ranksep:Pr,edgesep:hr,align:ha};Object.assign(pt.coreBox,function(Xi,ss){var ts=ss.ranksep,Os=ss.nodesep,ac=ss.edgesep,Ll=ss.align;Object.assign(Xi.graph(),{ranksep:ts,nodesep:Os,edgesep:ac,align:Ll});var nu=[];if(Xi.nodes().forEach(function(dd){Xi.node(dd).node.type!==N.BRIDGE&&nu.push(dd)}),!nu.length)return{width:0,height:0};Jv(Xi);var tl=1/0,iu=1/0,sd=-1/0,md=-1/0;return nu.forEach(function(dd){var Xl=Xi.node(dd),vd=.5*Xl.width,ff=Xl.x-vd,Zd=Xl.x+vd;tl=ff<tl?ff:tl,sd=Zd>sd?Zd:sd;var Zl=.5*Xl.height,wf=Xl.y-Zl,Wd=Xl.y+Zl;iu=wf<iu?wf:iu,md=Wd>md?Wd:md}),Xi.edges().forEach(function(dd){var Xl=Xi.edge(dd),vd=Xi.node(Xl.metaEdge.v),ff=Xi.node(Xl.metaEdge.w);if(Xl.points.length===3&&function(Al){for(var Jl=Ys(Al[0],Al[1]),mu=1;mu<Al.length-1;mu++){var gp=Ys(Al[mu],Al[mu+1]);if(Math.abs(gp-Jl)>1)return!1;Jl=gp}return!0}(Xl.points)){if(vd!=null){var Zd=vd.expanded?vd.x:qs(vd);Xl.points[0].x=Zd}if(ff!=null){var Zl=ff.expanded?ff.x:qs(ff);Xl.points[2].x=Zl}Xl.points=[Xl.points[0],Xl.points[1]]}var wf=Xl.points[Xl.points.length-2];ff!=null&&(Xl.points[Xl.points.length-1]=Qs(wf,ff));var Wd=Xl.points[1];vd!=null&&(Xl.points[0]=Qs(Wd,vd)),Xl.points.forEach(function(Al){tl=Al.x<tl?Al.x:tl,sd=Al.x>sd?Al.x:sd,iu=Al.y<iu?Al.y:iu,md=Al.y>md?Al.y:md})}),Xi.nodes().forEach(function(dd){var Xl=Xi.node(dd);Xl.x-=tl,Xl.y-=iu}),Xi.edges().forEach(function(dd){Xi.edge(dd).points.forEach(function(Xl){Xl.x-=tl,Xl.y-=iu})}),{width:sd-tl,height:md-iu}}(pt.coreGraph,ya));var Za=0;pt.coreGraph.nodeCount()>0&&Za++;var to=Za<=1?0:Za;pt.coreBox.width+=to+to,pt.coreBox.height=fn.labelHeight+pt.coreBox.height,pt.width=pt.coreBox.width+fn.paddingLeft+fn.paddingRight,pt.height=pt.paddingTop+pt.coreBox.height+pt.paddingBottom}(kt,Pe)}function Ys(kt,Pe){var pt=Pe.x-kt.x,It=Pe.y-kt.y;return 180*Math.atan(It/pt)/Math.PI}function qs(kt){return kt.expanded?kt.x:kt.x-kt.width/2+0+kt.coreBox.width/2}function Qs(kt,Pe){var pt=Pe.expanded?Pe.x:qs(Pe),It=Pe.y,sn=kt.x-pt,fn=kt.y-It,An,ur,Pr=Pe.expanded?Pe.width:Pe.coreBox.width,hr=Pe.expanded?Pe.height:Pe.coreBox.height;return Math.abs(fn)*Pr/2>Math.abs(sn)*hr/2?(fn<0&&(hr=-hr),An=fn===0?0:hr/2*sn/fn,ur=hr/2):(sn<0&&(Pr=-Pr),An=Pr/2,ur=sn===0?0:Pr/2*fn/sn),{x:pt+An,y:It+ur}}function Hc(kt,Pe,pt){var It,sn,fn,An,ur=kt.nodes.filter(function(ya,Za,to){return to.findIndex(function(Xi){return Xi.id===ya.id})!==Za}).map(function(ya){return ya.id});if(ur.length)throw new Error("Duplicated ids found: ".concat(ur.join(", ")));var Pr=function(ya){var Za={nodes:[]},to=ya.compound,Xi=Object.keys(to||{}),ss=new Map,ts=function ac(Ll){var nu=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(ss.has(Ll))return ss.get(Ll);for(var tl=0;tl<Xi.length;tl++){var iu=Xi[tl];if(to&&to[iu].indexOf(Ll)!==-1)return nu.unshift(iu),ac(iu,nu)}return nu.length===0&&ss.set(Ll,nu),nu},Os=function(Ll){return ya.edges.filter(function(nu){return nu.w===Ll}).map(function(nu){return{name:nu.v}})};return ya.nodes.forEach(function(ac){var Ll=ac.id,nu=[].concat(Object(O.a)(ts(Ll)),[Ll]),tl=Os(Ll);Za.nodes.push({name:Ll,path:nu,inputs:tl,width:ac.width,height:ac.height,attr:Object.assign({},ac)})}),Za}(kt),hr=function(ya,Za){var to=function(ts,Os){var ac=Object(m.a)(Os.values()),Ll;try{for(ac.s();!(Ll=ac.n()).done;){var nu=Ll.value;if(nu.includes(ts))return!0}}catch(tl){ac.e(tl)}finally{ac.f()}return!1},Xi=function ss(ts){var Os=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Object.keys(ts).length===0)return Object(O.a)(new Set(Os));var ac=new Map(Object.keys(ts).map(function(Xl){return[Xl,ts[Xl]]})),Ll={},nu=Object(m.a)(ac),tl;try{for(nu.s();!(tl=nu.n()).done;){var iu=tl.value,sd=Object(A.a)(iu,2),md=sd[0],dd=sd[1];to(md,ac)?Ll[md]=dd:Os=Os.concat(md,dd)}}catch(Xl){nu.e(Xl)}finally{nu.f()}return ss(Ll,Os)};return Xi(ya).filter(function(ss){return Za.includes(ss)})}(kt.compound||{},(Pe==null?void 0:Pe.expanded)||[]),ha=function(ya,Za){return function(to){return new so(to)}(ei(hh(ya),Za))}(Pr,{rankDirection:((sn=(It=pt==null?void 0:pt.graph)===null||It===void 0?void 0:It.meta)===null||sn===void 0?void 0:sn.rankDir)||(Pe==null?void 0:Pe.rankDirection)||w.graph.meta.rankDir,align:((An=(fn=pt==null?void 0:pt.graph)===null||fn===void 0?void 0:fn.meta)===null||An===void 0?void 0:An.align)||w.graph.meta.align});return function(ya,Za){Za.forEach(function(to){var Xi=ya.getRenderInfoNodes().find(function(Os){return Os.displayName===to}),ss=Xi&&Xi.node&&Xi.node.name||"",ts=ya.getRenderNodeByName(ss);if(!ts)throw new Error("No nodes found: ".concat(ss));ts.expanded=!0,ya.buildSubHierarchy(ss)})}(ha,hr),rc(ha.root,pt),Ii(ha.root)}function Oc(kt){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pt=JSON.parse(JSON.stringify(kt)),It={nodes:[pt],edges:Object(O.a)(pt.edges)};return pt.nodes.forEach(function sn(fn){(fn.type===0||fn.type===1)&&It.nodes.push(fn),fn.type===0&&(It.edges=It.edges.concat(fn.edges)),Array.isArray(fn.nodes)&&fn.nodes.forEach(sn)}),Pe&&It.nodes.forEach(function(sn){var fn=It.nodes.find(function(Pr){return Pr.id===sn.parentNodeName});if(fn){var An=fn.x-fn.width/2+fn.paddingLeft,ur=fn.y-fn.height/2+fn.labelHeight+fn.paddingTop;fn.id!==j&&(sn.x+=An,sn.y+=ur),sn.type===0&&sn.edges.forEach(function(Pr){Pr.points.forEach(function(hr){hr.x+=sn.x-sn.width/2+sn.paddingLeft,hr.y+=sn.y-sn.height/2+sn.labelHeight+sn.paddingTop})})}}),It}function lc(kt,Pe,pt,It){var sn,fn,An=[],ur=((sn=pt.find(function(ya){return ya.id===kt}))===null||sn===void 0?void 0:sn.path)||[],Pr=((fn=pt.find(function(ya){return ya.id===Pe}))===null||fn===void 0?void 0:fn.path)||[],hr=[j].concat(Object(O.a)(ur)).slice(0,ur.length).reverse(),ha=[j].concat(Object(O.a)(Pr)).slice(0,Pr.length);return hr.forEach(function(ya){var Za=pt.find(function(to){return to.id===ya});An=An.concat(Za.edges.filter(function(to){return to.baseEdgeList.some(function(Xi){return Xi.v===((It==null?void 0:It.v)||kt)&&Xi.w===((It==null?void 0:It.w)||Pe)})}))}),ha.filter(function(ya){return!hr.includes(ya)}).forEach(function(ya){var Za=pt.find(function(to){return to.id===ya});An=An.concat(Za.edges.filter(function(to){return to.baseEdgeList.some(function(Xi){return Xi.v===((It==null?void 0:It.v)||kt)&&Xi.w===((It==null?void 0:It.w)||Pe)})}))}),An}function Ii(kt){var Pe=kt.coreGraph.nodes().map(function(It){return kt.coreGraph.node(It)});return Object.assign(Object.assign({},No(kt)),{expanded:kt.expanded,nodes:kt.expanded?(pt=Pe,pt.map(function(It){return It.node.type===N.META?Ii(It):No(It)})):[],edges:kt.expanded?vc(kt):[]});var pt}function No(kt){return{id:kt.node.name,name:kt.node.name,type:kt.node.type,cardinality:kt.node.cardinality,attr:kt.attr,parentNodeName:kt.node.parentNode?kt.node.parentNode.name:null,coreBox:Object.assign({},kt.coreBox),x:kt.x,y:kt.y,width:kt.width,height:kt.height,radius:kt.radius,labelHeight:kt.labelHeight,labelOffset:kt.labelOffset,outboxWidth:kt.outboxWidth,paddingLeft:kt.paddingLeft,paddingTop:kt.paddingTop,paddingRight:kt.paddingRight,paddingBottom:kt.paddingBottom,path:kt.node.path}}function vc(kt){return kt.coreGraph.edges().map(function(Pe){return{renderInfoEdge:kt.coreGraph.edge(Pe),edge:Pe}}).filter(function(Pe){var pt=Pe.renderInfoEdge;return pt.metaEdge}).map(function(Pe){var pt=Pe.edge,It=Pe.renderInfoEdge,sn=function(fn,An){var ur=An.points.map(function(ac){return Object.assign({},ac)});if(An.adjoiningMetaEdge){var Pr=An.adjoiningMetaEdge.points,hr=An.metaEdge.inbound,ha=hr?Pr[Pr.length-1]:Pr[0],ya=ur[hr?0:ur.length-1],Za=fn.x-fn.width/2,to=fn.y-fn.height/2,Xi=ha.x-Za,ss=ha.y-to,ts=-fn.paddingLeft,Os=-(fn.paddingTop+fn.labelHeight);ya.x=Xi+ts,ya.y=ss+Os}return ur}(kt,It);return{adjoiningEdge:It.adjoiningMetaEdge?{w:It.adjoiningMetaEdge.metaEdge.w,v:It.adjoiningMetaEdge.metaEdge.v}:null,inbound:It.metaEdge.inbound,w:pt.w,v:pt.v,points:sn,weight:It.weight,baseEdgeList:It.metaEdge.baseEdgeList,parentNodeName:kt.node.name}})}}).call(this,l("IyRk"))},"HaE+":function(ce,R,l){"use strict";l.d(R,"a",function(){return m});function E(O,C,k,A,S,y,w){try{var x=O[y](w),T=x.value}catch(j){k(j);return}x.done?C(T):Promise.resolve(T).then(A,S)}function m(O){return function(){var C=this,k=arguments;return new Promise(function(A,S){var y=O.apply(C,k);function w(T){E(y,A,S,w,x,"next",T)}function x(T){E(y,A,S,w,x,"throw",T)}w(void 0)})}}},HctQ:function(ce,R,l){var E=l("tny8"),m=l("YfKC"),O=l("f1E4"),C=l("P0e2");ce.exports=E?Object.defineProperties:function(A,S){O(A);for(var y=C(S),w=y.length,x=0,T;w>x;)m.f(A,T=y[x++],S[T]);return A}},Hg0r:function(ce,R,l){"use strict";var E={};l.r(E),l.d(E,"take",function(){return Hn}),l.d(E,"takem",function(){return Sa}),l.d(E,"put",function(){return Lr}),l.d(E,"all",function(){return Ca}),l.d(E,"race",function(){return za}),l.d(E,"call",function(){return va}),l.d(E,"apply",function(){return qa}),l.d(E,"cps",function(){return gi}),l.d(E,"fork",function(){return Qi}),l.d(E,"spawn",function(){return mi}),l.d(E,"join",function(){return Cr}),l.d(E,"cancel",function(){return Un}),l.d(E,"select",function(){return Lt}),l.d(E,"actionChannel",function(){return gn}),l.d(E,"cancelled",function(){return Ln}),l.d(E,"flush",function(){return kr}),l.d(E,"getContext",function(){return ea}),l.d(E,"setContext",function(){return Qr}),l.d(E,"takeEvery",function(){return Ja}),l.d(E,"takeLatest",function(){return go}),l.d(E,"throttle",function(){return fi});var m=l("VTBJ"),O=l("U8pU"),C=l("KQm4"),k=l("q1tI"),A=l.n(k),S=l("QLaP"),y=l.n(S),w=l("YS25"),x=l("7zRj"),T=l.n(x),j=l("/MKj"),D=l("vpQ4");function N(dn){return"Minified Redux error #"+dn+"; visit https://redux.js.org/Errors?code="+dn+" for the full message or use the non-minified dev environment for full errors. "}var F=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),B=function(){return Math.random().toString(36).substring(7).split("").join(".")},U={INIT:"@@redux/INIT"+B(),REPLACE:"@@redux/REPLACE"+B(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+B()}};function J(dn){if(typeof dn!="object"||dn===null)return!1;for(var pn=dn;Object.getPrototypeOf(pn)!==null;)pn=Object.getPrototypeOf(pn);return Object.getPrototypeOf(dn)===pn}function $(dn){if(dn===void 0)return"undefined";if(dn===null)return"null";var pn=typeof dn;switch(pn){case"boolean":case"string":case"number":case"symbol":case"function":return pn}if(Array.isArray(dn))return"array";if(ie(dn))return"date";if(ee(dn))return"error";var sr=X(dn);switch(sr){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return sr}return pn.slice(8,-1).toLowerCase().replace(/\s/g,"")}function X(dn){return typeof dn.constructor=="function"?dn.constructor.name:null}function ee(dn){return dn instanceof Error||typeof dn.message=="string"&&dn.constructor&&typeof dn.constructor.stackTraceLimit=="number"}function ie(dn){return dn instanceof Date?!0:typeof dn.toDateString=="function"&&typeof dn.getDate=="function"&&typeof dn.setDate=="function"}function G(dn){var pn=typeof dn;return pn}function Q(dn,pn,sr){var lr;if(typeof pn=="function"&&typeof sr=="function"||typeof sr=="function"&&typeof arguments[3]=="function")throw new Error(N(0));if(typeof pn=="function"&&typeof sr=="undefined"&&(sr=pn,pn=void 0),typeof sr!="undefined"){if(typeof sr!="function")throw new Error(N(1));return sr(Q)(dn,pn)}if(typeof dn!="function")throw new Error(N(2));var _a=dn,Fa=pn,Va=[],di=Va,Ci=!1;function wo(){di===Va&&(di=Va.slice())}function ho(){if(Ci)throw new Error(N(3));return Fa}function Io(ys){if(typeof ys!="function")throw new Error(N(4));if(Ci)throw new Error(N(5));var bs=!0;return wo(),di.push(ys),function(){if(!!bs){if(Ci)throw new Error(N(6));bs=!1,wo();var yr=di.indexOf(ys);di.splice(yr,1),Va=null}}}function Fo(ys){if(!J(ys))throw new Error(N(7));if(typeof ys.type=="undefined")throw new Error(N(8));if(Ci)throw new Error(N(9));try{Ci=!0,Fa=_a(Fa,ys)}finally{Ci=!1}for(var bs=Va=di,Po=0;Po<bs.length;Po++){var yr=bs[Po];yr()}return ys}function xs(ys){if(typeof ys!="function")throw new Error(N(10));_a=ys,Fo({type:U.REPLACE})}function ms(){var ys,bs=Io;return ys={subscribe:function(yr){if(typeof yr!="object"||yr===null)throw new Error(N(11));function Ls(){yr.next&&yr.next(ho())}Ls();var Zs=bs(Ls);return{unsubscribe:Zs}}},ys[F]=function(){return this},ys}return Fo({type:U.INIT}),lr={dispatch:Fo,subscribe:Io,getState:ho,replaceReducer:xs},lr[F]=ms,lr}var W=Q;function ne(dn){typeof console!="undefined"&&typeof console.error=="function"&&console.error(dn);try{throw new Error(dn)}catch(pn){}}function te(dn,pn,sr,lr){var _a=Object.keys(pn),Fa=sr&&sr.type===U.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(_a.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!J(dn))return"The "+Fa+' has unexpected type of "'+G(dn)+'". Expected argument to be an object with the following '+('keys: "'+_a.join('", "')+'"');var Va=Object.keys(dn).filter(function(di){return!pn.hasOwnProperty(di)&&!lr[di]});if(Va.forEach(function(di){lr[di]=!0}),!(sr&&sr.type===U.REPLACE)&&Va.length>0)return"Unexpected "+(Va.length>1?"keys":"key")+" "+('"'+Va.join('", "')+'" found in '+Fa+". ")+"Expected to find one of the known reducer keys instead: "+('"'+_a.join('", "')+'". Unexpected keys will be ignored.')}function _e(dn){Object.keys(dn).forEach(function(pn){var sr=dn[pn],lr=sr(void 0,{type:U.INIT});if(typeof lr=="undefined")throw new Error(N(12));if(typeof sr(void 0,{type:U.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(N(13))})}function he(dn){for(var pn=Object.keys(dn),sr={},lr=0;lr<pn.length;lr++){var _a=pn[lr];typeof dn[_a]=="function"&&(sr[_a]=dn[_a])}var Fa=Object.keys(sr),Va,di;try{_e(sr)}catch(Ci){di=Ci}return function(wo,ho){if(wo===void 0&&(wo={}),di)throw di;if(!1)var Io;for(var Fo=!1,xs={},ms=0;ms<Fa.length;ms++){var ys=Fa[ms],bs=sr[ys],Po=wo[ys],yr=bs(Po,ho);if(typeof yr=="undefined"){var Ls=ho&&ho.type;throw new Error(N(14))}xs[ys]=yr,Fo=Fo||yr!==Po}return Fo=Fo||Fa.length!==Object.keys(wo).length,Fo?xs:wo}}function oe(dn,pn){return function(){return pn(dn.apply(this,arguments))}}function ge(dn,pn){if(typeof dn=="function")return oe(dn,pn);if(typeof dn!="object"||dn===null)throw new Error(N(16));var sr={};for(var lr in dn){var _a=dn[lr];typeof _a=="function"&&(sr[lr]=oe(_a,pn))}return sr}function me(){for(var dn=arguments.length,pn=new Array(dn),sr=0;sr<dn;sr++)pn[sr]=arguments[sr];return pn.length===0?function(lr){return lr}:pn.length===1?pn[0]:pn.reduce(function(lr,_a){return function(){return lr(_a.apply(void 0,arguments))}})}function Z(){for(var dn=arguments.length,pn=new Array(dn),sr=0;sr<dn;sr++)pn[sr]=arguments[sr];return function(lr){return function(){var _a=lr.apply(void 0,arguments),Fa=function(){throw new Error(N(15))},Va={getState:_a.getState,dispatch:function(){return Fa.apply(void 0,arguments)}},di=pn.map(function(Ci){return Ci(Va)});return Fa=me.apply(void 0,di)(_a.dispatch),Object(m.a)(Object(m.a)({},_a),{},{dispatch:Fa})}}}var xe=Object.assign||function(dn){for(var pn=1;pn<arguments.length;pn++){var sr=arguments[pn];for(var lr in sr)Object.prototype.hasOwnProperty.call(sr,lr)&&(dn[lr]=sr[lr])}return dn},Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(dn){return typeof dn}:function(dn){return dn&&typeof Symbol=="function"&&dn.constructor===Symbol&&dn!==Symbol.prototype?"symbol":typeof dn},Le=function(pn){return"@@redux-saga/"+pn},we=Le("TASK"),fe=Le("HELPER"),pe=Le("MATCH"),Ke=Le("CANCEL_PROMISE"),Me=Le("SAGA_ACTION"),ze=Le("SELF_CANCELLATION"),Ue=function(pn){return function(){return pn}},He=Ue(!0),Ne=Ue(!1),it=function(){},Xe=function(pn){return pn};function ht(dn,pn,sr){if(!pn(dn))throw at("error","uncaught at check",sr),new Error(sr)}var lt=Object.prototype.hasOwnProperty;function Et(dn,pn){return tt.notUndef(dn)&&lt.call(dn,pn)}var tt={undef:function(pn){return pn==null},notUndef:function(pn){return pn!=null},func:function(pn){return typeof pn=="function"},number:function(pn){return typeof pn=="number"},string:function(pn){return typeof pn=="string"},array:Array.isArray,object:function(pn){return pn&&!tt.array(pn)&&(typeof pn=="undefined"?"undefined":Ee(pn))==="object"},promise:function(pn){return pn&&tt.func(pn.then)},iterator:function(pn){return pn&&tt.func(pn.next)&&tt.func(pn.throw)},iterable:function(pn){return pn&&tt.func(Symbol)?tt.func(pn[Symbol.iterator]):tt.array(pn)},task:function(pn){return pn&&pn[we]},observable:function(pn){return pn&&tt.func(pn.subscribe)},buffer:function(pn){return pn&&tt.func(pn.isEmpty)&&tt.func(pn.take)&&tt.func(pn.put)},pattern:function(pn){return pn&&(tt.string(pn)||(typeof pn=="undefined"?"undefined":Ee(pn))==="symbol"||tt.func(pn)||tt.array(pn))},channel:function(pn){return pn&&tt.func(pn.take)&&tt.func(pn.close)},helper:function(pn){return pn&&pn[fe]},stringableFunc:function(pn){return tt.func(pn)&&Et(pn,"toString")}},mt={assign:function(pn,sr){for(var lr in sr)Et(sr,lr)&&(pn[lr]=sr[lr])}};function xt(dn,pn){var sr=dn.indexOf(pn);sr>=0&&dn.splice(sr,1)}var Xt={from:function(pn){var sr=Array(pn.length);for(var lr in pn)Et(pn,lr)&&(sr[lr]=pn[lr]);return sr}};function vt(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pn=xe({},dn),sr=new Promise(function(lr,_a){pn.resolve=lr,pn.reject=_a});return pn.promise=sr,pn}function qe(dn){for(var pn=[],sr=0;sr<dn;sr++)pn.push(vt());return pn}function Re(dn){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,sr=void 0,lr=new Promise(function(_a){sr=setTimeout(function(){return _a(pn)},dn)});return lr[Ke]=function(){return clearTimeout(sr)},lr}function Se(){var dn,pn=!0,sr=void 0,lr=void 0;return dn={},dn[we]=!0,dn.isRunning=function(){return pn},dn.result=function(){return sr},dn.error=function(){return lr},dn.setRunning=function(Fa){return pn=Fa},dn.setResult=function(Fa){return sr=Fa},dn.setError=function(Fa){return lr=Fa},dn}function Ve(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++dn}}var Ge=Ve(),_t=function(pn){throw pn},bt=function(pn){return{value:pn,done:!0}};function gt(dn){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_t,sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",lr=arguments[3],_a={name:sr,next:dn,throw:pn,return:bt};return lr&&(_a[fe]=!0),typeof Symbol!="undefined"&&(_a[Symbol.iterator]=function(){return _a}),_a}function at(dn,pn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+dn+": "+pn+`
`+(sr&&sr.stack||sr)):console[dn](pn,sr)}function ft(dn,pn){return function(){return dn.apply(void 0,arguments)}}var Fe=function(pn,sr){return pn+" has been deprecated in favor of "+sr+", please update your code"},Te=function(pn){return new Error(`
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
Error: `+pn+`
`)},ut=function(pn,sr){return(pn?pn+".":"")+"setContext(props): argument "+sr+" is not a plain object"},le=function(pn){return function(sr){return pn(Object.defineProperty(sr,Me,{value:!0}))}},$e=function dn(pn){return function(){for(var sr=arguments.length,lr=Array(sr),_a=0;_a<sr;_a++)lr[_a]=arguments[_a];var Fa=[],Va=pn.apply(void 0,lr);return{next:function(Ci){return Fa.push(Ci),Va.next(Ci)},clone:function(){var Ci=dn(pn).apply(void 0,lr);return Fa.forEach(function(wo){return Ci.next(wo)}),Ci},return:function(Ci){return Va.return(Ci)},throw:function(Ci){return Va.throw(Ci)}}}},Qe="Channel's Buffer overflow!",Tt=1,Ot=2,Ut=3,At=4,Pt={isEmpty:He,put:it,take:it};function Dt(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,pn=arguments[1],sr=new Array(dn),lr=0,_a=0,Fa=0,Va=function(ho){sr[_a]=ho,_a=(_a+1)%dn,lr++},di=function(){if(lr!=0){var ho=sr[Fa];return sr[Fa]=null,lr--,Fa=(Fa+1)%dn,ho}},Ci=function(){for(var ho=[];lr;)ho.push(di());return ho};return{isEmpty:function(){return lr==0},put:function(ho){if(lr<dn)Va(ho);else{var Io=void 0;switch(pn){case Tt:throw new Error(Qe);case Ut:sr[_a]=ho,_a=(_a+1)%dn,Fa=_a;break;case At:Io=2*dn,sr=Ci(),lr=sr.length,_a=sr.length,Fa=0,sr.length=Io,dn=Io,Va(ho);break;default:}}},take:di,flush:Ci}}var Qt={none:function(){return Pt},fixed:function(pn){return Dt(pn,Tt)},dropping:function(pn){return Dt(pn,Ot)},sliding:function(pn){return Dt(pn,Ut)},expanding:function(pn){return Dt(pn,At)}},cn=[],$n=0;function hn(dn){try{bn(),dn()}finally{Bn()}}function _n(dn){cn.push(dn),$n||(bn(),Tn())}function bn(){$n++}function Bn(){$n--}function Tn(){Bn();for(var dn=void 0;!$n&&(dn=cn.shift())!==void 0;)hn(dn)}var Tr=Object.assign||function(dn){for(var pn=1;pn<arguments.length;pn++){var sr=arguments[pn];for(var lr in sr)Object.prototype.hasOwnProperty.call(sr,lr)&&(dn[lr]=sr[lr])}return dn},Sr="@@redux-saga/CHANNEL_END",Wr={type:Sr},br=function(pn){return pn&&pn.type===Sr};function Wn(){var dn=[];function pn(lr){return dn.push(lr),function(){return xt(dn,lr)}}function sr(lr){for(var _a=dn.slice(),Fa=0,Va=_a.length;Fa<Va;Fa++)_a[Fa](lr)}return{subscribe:pn,emit:sr}}var gr="invalid buffer passed to channel factory function",na="Saga was provided with an undefined action";function jn(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qt.fixed(),pn=!1,sr=[];ht(dn,tt.buffer,gr);function lr(){if(pn&&sr.length)throw Te("Cannot have a closed channel with pending takers");if(sr.length&&!dn.isEmpty())throw Te("Cannot have pending takers with non empty buffer")}function _a(Ci){if(lr(),ht(Ci,tt.notUndef,na),!pn){if(!sr.length)return dn.put(Ci);for(var wo=0;wo<sr.length;wo++){var ho=sr[wo];if(!ho[pe]||ho[pe](Ci))return sr.splice(wo,1),ho(Ci)}}}function Fa(Ci){lr(),ht(Ci,tt.func,"channel.take's callback must be a function"),pn&&dn.isEmpty()?Ci(Wr):dn.isEmpty()?(sr.push(Ci),Ci.cancel=function(){return xt(sr,Ci)}):Ci(dn.take())}function Va(Ci){if(lr(),ht(Ci,tt.func,"channel.flush' callback must be a function"),pn&&dn.isEmpty()){Ci(Wr);return}Ci(dn.flush())}function di(){if(lr(),!pn&&(pn=!0,sr.length)){var Ci=sr;sr=[];for(var wo=0,ho=Ci.length;wo<ho;wo++)Ci[wo](Wr)}}return{take:Fa,put:_a,flush:Va,close:di,get __takers__(){return sr},get __closed__(){return pn}}}function un(dn){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt.none(),sr=arguments[2];arguments.length>2&&ht(sr,tt.func,"Invalid match function passed to eventChannel");var lr=jn(pn),_a=function(){lr.__closed__||(Fa&&Fa(),lr.close())},Fa=dn(function(Va){if(br(Va)){_a();return}sr&&!sr(Va)||lr.put(Va)});if(lr.__closed__&&Fa(),!tt.func(Fa))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:lr.take,flush:lr.flush,close:_a}}function zt(dn){var pn=un(function(sr){return dn(function(lr){if(lr[Me]){sr(lr);return}_n(function(){return sr(lr)})})});return Tr({},pn,{take:function(lr,_a){arguments.length>1&&(ht(_a,tt.func,"channel.take's matcher argument must be a function"),lr[pe]=_a),pn.take(lr)}})}var Bt=Le("IO"),H="TAKE",ot="PUT",nt="ALL",Ct="RACE",Wt="CALL",kn="CPS",Sn="FORK",Zn="JOIN",Or="CANCEL",Yn="SELECT",Nn="ACTION_CHANNEL",Zt="CANCELLED",rr="FLUSH",Gn="GET_CONTEXT",ln="SET_CONTEXT",Xn=`
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Kn=function(pn,sr){var lr;return lr={},lr[Bt]=!0,lr[pn]=sr,lr},fr=function(pn){return ht(ar.fork(pn),tt.object,"detach(eff): argument must be a fork effect"),pn[Sn].detached=!0,pn};function Hn(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&ht(arguments[0],tt.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),tt.pattern(dn))return Kn(H,{pattern:dn});if(tt.channel(dn))return Kn(H,{channel:dn});throw new Error("take(patternOrChannel): argument "+String(dn)+" is not valid channel or a valid pattern")}Hn.maybe=function(){var dn=Hn.apply(void 0,arguments);return dn[H].maybe=!0,dn};var Sa=ft(Hn.maybe,Fe("takem","take.maybe"));function Lr(dn,pn){return arguments.length>1?(ht(dn,tt.notUndef,"put(channel, action): argument channel is undefined"),ht(dn,tt.channel,"put(channel, action): argument "+dn+" is not a valid channel"),ht(pn,tt.notUndef,"put(channel, action): argument action is undefined")):(ht(dn,tt.notUndef,"put(action): argument action is undefined"),pn=dn,dn=null),Kn(ot,{channel:dn,action:pn})}Lr.resolve=function(){var dn=Lr.apply(void 0,arguments);return dn[ot].resolve=!0,dn},Lr.sync=ft(Lr.resolve,Fe("put.sync","put.resolve"));function Ca(dn){return Kn(nt,dn)}function za(dn){return Kn(Ct,dn)}function Ma(dn,pn,sr){ht(pn,tt.notUndef,dn+": argument fn is undefined");var lr=null;if(tt.array(pn)){var _a=pn;lr=_a[0],pn=_a[1]}else if(pn.fn){var Fa=pn;lr=Fa.context,pn=Fa.fn}return lr&&tt.string(pn)&&tt.func(lr[pn])&&(pn=lr[pn]),ht(pn,tt.func,dn+": argument "+pn+" is not a function"),{context:lr,fn:pn,args:sr}}function va(dn){for(var pn=arguments.length,sr=Array(pn>1?pn-1:0),lr=1;lr<pn;lr++)sr[lr-1]=arguments[lr];return Kn(Wt,Ma("call",dn,sr))}function qa(dn,pn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Kn(Wt,Ma("apply",{context:dn,fn:pn},sr))}function gi(dn){for(var pn=arguments.length,sr=Array(pn>1?pn-1:0),lr=1;lr<pn;lr++)sr[lr-1]=arguments[lr];return Kn(kn,Ma("cps",dn,sr))}function Qi(dn){for(var pn=arguments.length,sr=Array(pn>1?pn-1:0),lr=1;lr<pn;lr++)sr[lr-1]=arguments[lr];return Kn(Sn,Ma("fork",dn,sr))}function mi(dn){for(var pn=arguments.length,sr=Array(pn>1?pn-1:0),lr=1;lr<pn;lr++)sr[lr-1]=arguments[lr];return fr(Qi.apply(void 0,[dn].concat(sr)))}function Cr(){for(var dn=arguments.length,pn=Array(dn),sr=0;sr<dn;sr++)pn[sr]=arguments[sr];if(pn.length>1)return Ca(pn.map(function(_a){return Cr(_a)}));var lr=pn[0];return ht(lr,tt.notUndef,"join(task): argument task is undefined"),ht(lr,tt.task,"join(task): argument "+lr+" is not a valid Task object "+Xn),Kn(Zn,lr)}function Un(){for(var dn=arguments.length,pn=Array(dn),sr=0;sr<dn;sr++)pn[sr]=arguments[sr];if(pn.length>1)return Ca(pn.map(function(_a){return Un(_a)}));var lr=pn[0];return pn.length===1&&(ht(lr,tt.notUndef,"cancel(task): argument task is undefined"),ht(lr,tt.task,"cancel(task): argument "+lr+" is not a valid Task object "+Xn)),Kn(Or,lr||ze)}function Lt(dn){for(var pn=arguments.length,sr=Array(pn>1?pn-1:0),lr=1;lr<pn;lr++)sr[lr-1]=arguments[lr];return arguments.length===0?dn=Xe:(ht(dn,tt.notUndef,"select(selector,[...]): argument selector is undefined"),ht(dn,tt.func,"select(selector,[...]): argument "+dn+" is not a function")),Kn(Yn,{selector:dn,args:sr})}function gn(dn,pn){return ht(dn,tt.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(ht(pn,tt.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),ht(pn,tt.buffer,"actionChannel(pattern, buffer): argument "+pn+" is not a valid buffer")),Kn(Nn,{pattern:dn,buffer:pn})}function Ln(){return Kn(Zt,{})}function kr(dn){return ht(dn,tt.channel,"flush(channel): argument "+dn+" is not valid channel"),Kn(rr,dn)}function ea(dn){return ht(dn,tt.string,"getContext(prop): argument "+dn+" is not a string"),Kn(Gn,dn)}function Qr(dn){return ht(dn,tt.object,ut(null,dn)),Kn(ln,dn)}var Na=function(pn){return function(sr){return sr&&sr[Bt]&&sr[pn]}},ar={take:Na(H),put:Na(ot),all:Na(nt),race:Na(Ct),call:Na(Wt),cps:Na(kn),fork:Na(Sn),join:Na(Zn),cancel:Na(Or),select:Na(Yn),actionChannel:Na(Nn),cancelled:Na(Zt),flush:Na(rr),getContext:Na(Gn),setContext:Na(ln)},pi=Object.assign||function(dn){for(var pn=1;pn<arguments.length;pn++){var sr=arguments[pn];for(var lr in sr)Object.prototype.hasOwnProperty.call(sr,lr)&&(dn[lr]=sr[lr])}return dn},_i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(dn){return typeof dn}:function(dn){return dn&&typeof Symbol=="function"&&dn.constructor===Symbol&&dn!==Symbol.prototype?"symbol":typeof dn};function ti(dn,pn){for(var sr in pn){var lr=pn[sr];lr.configurable=lr.enumerable=!0,"value"in lr&&(lr.writable=!0),Object.defineProperty(dn,sr,lr)}return dn}var ui="proc first argument (Saga function result) must be an iterator",Ri={toString:function(){return"@@redux-saga/CHANNEL_END"}},ao={toString:function(){return"@@redux-saga/TASK_CANCEL"}},Zi={wildcard:function(){return He},default:function(pn){return(typeof pn=="undefined"?"undefined":_i(pn))==="symbol"?function(sr){return sr.type===pn}:function(sr){return sr.type===String(pn)}},array:function(pn){return function(sr){return pn.some(function(lr){return Fi(lr)(sr)})}},predicate:function(pn){return function(sr){return pn(sr)}}};function Fi(dn){return(dn==="*"?Zi.wildcard:tt.array(dn)?Zi.array:tt.stringableFunc(dn)?Zi.default:tt.func(dn)?Zi.predicate:Zi.default)(dn)}function Si(dn,pn,sr){var lr=[],_a=void 0,Fa=!1;di(pn);function Va(wo){Ci(),sr(wo,!0)}function di(wo){lr.push(wo),wo.cont=function(ho,Io){Fa||(xt(lr,wo),wo.cont=it,Io?Va(ho):(wo===pn&&(_a=ho),lr.length||(Fa=!0,sr(_a))))}}function Ci(){Fa||(Fa=!0,lr.forEach(function(wo){wo.cont=it,wo.cancel()}),lr=[])}return{addTask:di,cancelAll:Ci,abort:Va,getTasks:function(){return lr},taskNames:function(){return lr.map(function(ho){return ho.name})}}}function qi(dn){var pn=dn.context,sr=dn.fn,lr=dn.args;if(tt.iterator(sr))return sr;var _a=void 0,Fa=void 0;try{_a=sr.apply(pn,lr)}catch(Va){Fa=Va}return tt.iterator(_a)?_a:gt(Fa?function(){throw Fa}:function(){var Va=void 0,di={done:!1,value:_a},Ci=function(ho){return{done:!0,value:ho}};return function(wo){return Va?Ci(wo):(Va=!0,di)}}())}var eo=function(pn){return{fn:pn}};function xo(dn){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return it},sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:it,lr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:it,_a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Fa=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Va=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,di=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",Ci=arguments[8];ht(dn,tt.iterator,ui);var wo="[...effects]",ho=ft(Fl,Fe(wo,"all("+wo+")")),Io=Fa.sagaMonitor,Fo=Fa.logger,xs=Fa.onError,ms=Fo||at,ys=function(xa){var as=xa.sagaStack;!as&&xa.stack&&(as=xa.stack.split(`
`)[0].indexOf(xa.message)!==-1?xa.stack:"Error: "+xa.message+`
`+xa.stack),ms("error","uncaught at "+di,as||xa.message||xa)},bs=zt(pn),Po=Object.create(_a);bc.cancel=it;var yr=Mu(Va,di,dn,Ci),Ls={name:di,cancel:Sc,isRunning:!0},Zs=Si(di,Ls,cr);function Sc(){Ls.isRunning&&!Ls.isCancelled&&(Ls.isCancelled=!0,bc(ao))}function Hs(){dn._isRunning&&!dn._isCancelled&&(dn._isCancelled=!0,Zs.cancelAll(),cr(ao))}return Ci&&(Ci.cancel=Hs),dn._isRunning=!0,bc(),yr;function bc(ji,xa){if(!Ls.isRunning)throw new Error("Trying to resume an already finished generator");try{var as=void 0;xa?as=dn.throw(ji):ji===ao?(Ls.isCancelled=!0,bc.cancel(),as=tt.func(dn.return)?dn.return(ao):{done:!0,value:ao}):ji===Ri?as=tt.func(dn.return)?dn.return():{done:!0}:as=dn.next(ji),as.done?(Ls.isMainRunning=!1,Ls.cont&&Ls.cont(as.value)):qr(as.value,Va,"",bc)}catch(ws){Ls.isCancelled&&ys(ws),Ls.isMainRunning=!1,Ls.cont(ws,!0)}}function cr(ji,xa){dn._isRunning=!1,bs.close(),xa?(ji instanceof Error&&Object.defineProperty(ji,"sagaStack",{value:"at "+di+`
`+(ji.sagaStack||ji.stack),configurable:!0}),yr.cont||(ji instanceof Error&&xs?xs(ji):ys(ji)),dn._error=ji,dn._isAborted=!0,dn._deferredEnd&&dn._deferredEnd.reject(ji)):(dn._result=ji,dn._deferredEnd&&dn._deferredEnd.resolve(ji)),yr.cont&&yr.cont(ji,xa),yr.joiners.forEach(function(as){return as.cb(ji,xa)}),yr.joiners=null}function qr(ji,xa){var as=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ws=arguments[3],Cs=Ge();Io&&Io.effectTriggered({effectId:Cs,parentEffectId:xa,label:as,effect:ji});var $o=void 0;function _c(Rl,Ol){$o||($o=!0,ws.cancel=it,Io&&(Ol?Io.effectRejected(Cs,Rl):Io.effectResolved(Cs,Rl)),ws(Rl,Ol))}_c.cancel=it,ws.cancel=function(){if(!$o){$o=!0;try{_c.cancel()}catch(Rl){ys(Rl)}_c.cancel=it,Io&&Io.effectCancelled(Cs)}};var Lc=void 0;return tt.promise(ji)?yi(ji,_c):tt.helper(ji)?fl(eo(ji),Cs,_c):tt.iterator(ji)?Ki(ji,Cs,di,_c):tt.array(ji)?ho(ji,Cs,_c):(Lc=ar.take(ji))?uo(Lc,_c):(Lc=ar.put(ji))?As(Lc,_c):(Lc=ar.all(ji))?Fl(Lc,Cs,_c):(Lc=ar.race(ji))?pl(Lc,Cs,_c):(Lc=ar.call(ji))?zc(Lc,Cs,_c):(Lc=ar.cps(ji))?cc(Lc,_c):(Lc=ar.fork(ji))?fl(Lc,Cs,_c):(Lc=ar.join(ji))?Bc(Lc,_c):(Lc=ar.cancel(ji))?Gl(Lc,_c):(Lc=ar.select(ji))?gu(Lc,_c):(Lc=ar.actionChannel(ji))?bl(Lc,_c):(Lc=ar.flush(ji))?hl(Lc,_c):(Lc=ar.cancelled(ji))?tu(Lc,_c):(Lc=ar.getContext(ji))?ju(Lc,_c):(Lc=ar.setContext(ji))?il(Lc,_c):_c(ji)}function yi(ji,xa){var as=ji[Ke];tt.func(as)?xa.cancel=as:tt.func(ji.abort)&&(xa.cancel=function(){return ji.abort()}),ji.then(xa,function(ws){return xa(ws,!0)})}function Ki(ji,xa,as,ws){xo(ji,pn,sr,lr,Po,Fa,xa,as,ws)}function uo(ji,xa){var as=ji.channel,ws=ji.pattern,Cs=ji.maybe;as=as||bs;var $o=function(Lc){return Lc instanceof Error?xa(Lc,!0):br(Lc)&&!Cs?xa(Ri):xa(Lc)};try{as.take($o,Fi(ws))}catch(_c){return xa(_c,!0)}xa.cancel=$o.cancel}function As(ji,xa){var as=ji.channel,ws=ji.action,Cs=ji.resolve;_n(function(){var $o=void 0;try{$o=(as?as.put:sr)(ws)}catch(_c){if(as||Cs)return xa(_c,!0);ys(_c)}if(Cs&&tt.promise($o))yi($o,xa);else return xa($o)})}function zc(ji,xa,as){var ws=ji.context,Cs=ji.fn,$o=ji.args,_c=void 0;try{_c=Cs.apply(ws,$o)}catch(Lc){return as(Lc,!0)}return tt.promise(_c)?yi(_c,as):tt.iterator(_c)?Ki(_c,xa,Cs.name,as):as(_c)}function cc(ji,xa){var as=ji.context,ws=ji.fn,Cs=ji.args;try{var $o=function(Lc,Rl){return tt.undef(Lc)?xa(Rl):xa(Lc,!0)};ws.apply(as,Cs.concat($o)),$o.cancel&&(xa.cancel=function(){return $o.cancel()})}catch(_c){return xa(_c,!0)}}function fl(ji,xa,as){var ws=ji.context,Cs=ji.fn,$o=ji.args,_c=ji.detached,Lc=qi({context:ws,fn:Cs,args:$o});try{bn();var Rl=xo(Lc,pn,sr,lr,Po,Fa,xa,Cs.name,_c?null:it);_c?as(Rl):Lc._isRunning?(Zs.addTask(Rl),as(Rl)):Lc._error?Zs.abort(Lc._error):as(Rl)}finally{Tn()}}function Bc(ji,xa){if(ji.isRunning()){var as={task:yr,cb:xa};xa.cancel=function(){return xt(ji.joiners,as)},ji.joiners.push(as)}else ji.isAborted()?xa(ji.error(),!0):xa(ji.result())}function Gl(ji,xa){ji===ze&&(ji=yr),ji.isRunning()&&ji.cancel(),xa()}function Fl(ji,xa,as){var ws=Object.keys(ji);if(!ws.length)return as(tt.array(ji)?[]:{});var Cs=0,$o=void 0,_c={},Lc={};function Rl(){Cs===ws.length&&($o=!0,as(tt.array(ji)?Xt.from(pi({},_c,{length:ws.length})):_c))}ws.forEach(function(Ol){var cl=function(Yu,Od){$o||(Od||br(Yu)||Yu===Ri||Yu===ao?(as.cancel(),as(Yu,Od)):(_c[Ol]=Yu,Cs++,Rl()))};cl.cancel=it,Lc[Ol]=cl}),as.cancel=function(){$o||($o=!0,ws.forEach(function(Ol){return Lc[Ol].cancel()}))},ws.forEach(function(Ol){return qr(ji[Ol],xa,Ol,Lc[Ol])})}function pl(ji,xa,as){var ws=void 0,Cs=Object.keys(ji),$o={};Cs.forEach(function(_c){var Lc=function(Ol,cl){if(!ws){if(cl)as.cancel(),as(Ol,!0);else if(!br(Ol)&&Ol!==Ri&&Ol!==ao){var au;as.cancel(),ws=!0;var Yu=(au={},au[_c]=Ol,au);as(tt.array(ji)?[].slice.call(pi({},Yu,{length:Cs.length})):Yu)}}};Lc.cancel=it,$o[_c]=Lc}),as.cancel=function(){ws||(ws=!0,Cs.forEach(function(_c){return $o[_c].cancel()}))},Cs.forEach(function(_c){ws||qr(ji[_c],xa,_c,$o[_c])})}function gu(ji,xa){var as=ji.selector,ws=ji.args;try{var Cs=as.apply(void 0,[lr()].concat(ws));xa(Cs)}catch($o){xa($o,!0)}}function bl(ji,xa){var as=ji.pattern,ws=ji.buffer,Cs=Fi(as);Cs.pattern=as,xa(un(pn,ws||Qt.fixed(),Cs))}function tu(ji,xa){xa(!!Ls.isCancelled)}function hl(ji,xa){ji.flush(xa)}function ju(ji,xa){xa(Po[ji])}function il(ji,xa){mt.assign(Po,ji),xa()}function Mu(ji,xa,as,ws){var Cs,$o,_c;return as._deferredEnd=null,$o={},$o[we]=!0,$o.id=ji,$o.name=xa,Cs="done",_c={},_c[Cs]=_c[Cs]||{},_c[Cs].get=function(){if(as._deferredEnd)return as._deferredEnd.promise;var Lc=vt();return as._deferredEnd=Lc,as._isRunning||(as._error?Lc.reject(as._error):Lc.resolve(as._result)),Lc.promise},$o.cont=ws,$o.joiners=[],$o.cancel=Hs,$o.isRunning=function(){return as._isRunning},$o.isCancelled=function(){return as._isCancelled},$o.isAborted=function(){return as._isAborted},$o.result=function(){return as._result},$o.error=function(){return as._error},$o.setContext=function(Rl){ht(Rl,tt.object,ut("task",Rl)),mt.assign(Po,Rl)},ti($o,_c),$o}}var cs="runSaga(storeInterface, saga, ...args)",ba=cs+": saga argument must be a Generator function!";function sa(dn,pn){for(var sr=arguments.length,lr=Array(sr>2?sr-2:0),_a=2;_a<sr;_a++)lr[_a-2]=arguments[_a];var Fa=void 0;tt.iterator(dn)?(Fa=dn,dn=pn):(ht(pn,tt.func,ba),Fa=pn.apply(void 0,lr),ht(Fa,tt.iterator,ba));var Va=dn,di=Va.subscribe,Ci=Va.dispatch,wo=Va.getState,ho=Va.context,Io=Va.sagaMonitor,Fo=Va.logger,xs=Va.onError,ms=Ge();Io&&(Io.effectTriggered=Io.effectTriggered||it,Io.effectResolved=Io.effectResolved||it,Io.effectRejected=Io.effectRejected||it,Io.effectCancelled=Io.effectCancelled||it,Io.actionDispatched=Io.actionDispatched||it,Io.effectTriggered({effectId:ms,root:!0,parentEffectId:0,effect:{root:!0,saga:pn,args:lr}}));var ys=xo(Fa,di,le(Ci),wo,ho,{sagaMonitor:Io,logger:Fo,onError:xs},ms,pn.name);return Io&&Io.effectResolved(ms,ys),ys}function Da(dn,pn){var sr={};for(var lr in dn)pn.indexOf(lr)>=0||!Object.prototype.hasOwnProperty.call(dn,lr)||(sr[lr]=dn[lr]);return sr}function On(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pn=dn.context,sr=pn===void 0?{}:pn,lr=Da(dn,["context"]),_a=lr.sagaMonitor,Fa=lr.logger,Va=lr.onError;if(tt.func(lr))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Fa&&!tt.func(Fa))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Va&&!tt.func(Va))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(lr.emitter&&!tt.func(lr.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function di(Ci){var wo=Ci.getState,ho=Ci.dispatch,Io=Wn();return Io.emit=(lr.emitter||Xe)(Io.emit),di.run=sa.bind(null,{context:sr,subscribe:Io.subscribe,dispatch:ho,getState:wo,sagaMonitor:_a,logger:Fa,onError:Va}),function(Fo){return function(xs){_a&&_a.actionDispatched&&_a.actionDispatched(xs);var ms=Fo(xs);return Io.emit(xs),ms}}}return di.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},di.setContext=function(Ci){ht(Ci,tt.object,ut("sagaMiddleware",Ci)),mt.assign(sr,Ci)},di}var xn={done:!0,value:void 0},Rt={};function mr(dn){return tt.channel(dn)?"channel":Array.isArray(dn)?String(dn.map(function(pn){return String(pn)})):String(dn)}function ta(dn,pn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",lr=void 0,_a=pn;function Fa(Va,di){if(_a===Rt)return xn;if(di)throw _a=Rt,di;lr&&lr(Va);var Ci=dn[_a](),wo=Ci[0],ho=Ci[1],Io=Ci[2];return _a=wo,lr=Io,_a===Rt?xn:ho}return gt(Fa,function(Va){return Fa(null,Va)},sr,!0)}function ma(dn,pn){for(var sr=arguments.length,lr=Array(sr>2?sr-2:0),_a=2;_a<sr;_a++)lr[_a-2]=arguments[_a];var Fa={done:!1,value:Hn(dn)},Va=function(ho){return{done:!1,value:Qi.apply(void 0,[pn].concat(lr,[ho]))}},di=void 0,Ci=function(ho){return di=ho};return ta({q1:function(){return["q2",Fa,Ci]},q2:function(){return di===Wr?[Rt]:["q1",Va(di)]}},"q1","takeEvery("+mr(dn)+", "+pn.name+")")}function Oa(dn,pn){for(var sr=arguments.length,lr=Array(sr>2?sr-2:0),_a=2;_a<sr;_a++)lr[_a-2]=arguments[_a];var Fa={done:!1,value:Hn(dn)},Va=function(xs){return{done:!1,value:Qi.apply(void 0,[pn].concat(lr,[xs]))}},di=function(xs){return{done:!1,value:Un(xs)}},Ci=void 0,wo=void 0,ho=function(xs){return Ci=xs},Io=function(xs){return wo=xs};return ta({q1:function(){return["q2",Fa,Io]},q2:function(){return wo===Wr?[Rt]:Ci?["q3",di(Ci)]:["q1",Va(wo),ho]},q3:function(){return["q1",Va(wo),ho]}},"q1","takeLatest("+mr(dn)+", "+pn.name+")")}function Pn(dn,pn,sr){for(var lr=arguments.length,_a=Array(lr>3?lr-3:0),Fa=3;Fa<lr;Fa++)_a[Fa-3]=arguments[Fa];var Va=void 0,di=void 0,Ci={done:!1,value:gn(pn,Qt.sliding(1))},wo=function(){return{done:!1,value:Hn(di)}},ho=function(ys){return{done:!1,value:Qi.apply(void 0,[sr].concat(_a,[ys]))}},Io={done:!1,value:va(Re,dn)},Fo=function(ys){return Va=ys},xs=function(ys){return di=ys};return ta({q1:function(){return["q2",Ci,xs]},q2:function(){return["q3",wo(),Fo]},q3:function(){return Va===Wr?[Rt]:["q4",ho(Va)]},q4:function(){return["q2",Io]}},"q1","throttle("+mr(pn)+", "+sr.name+")")}var Kr=function(pn){return"import { "+pn+" } from 'redux-saga' has been deprecated in favor of import { "+pn+` } from 'redux-saga/effects'.
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
Therefore yield `+pn+" will return task descriptor to your saga and execute next lines of code."},Vn=ft(ma,Kr("takeEvery")),tr=ft(Oa,Kr("takeLatest")),Ea=ft(Pn,Kr("throttle"));function Ja(dn,pn){for(var sr=arguments.length,lr=Array(sr>2?sr-2:0),_a=2;_a<sr;_a++)lr[_a-2]=arguments[_a];return Qi.apply(void 0,[ma,dn,pn].concat(lr))}function go(dn,pn){for(var sr=arguments.length,lr=Array(sr>2?sr-2:0),_a=2;_a<sr;_a++)lr[_a-2]=arguments[_a];return Qi.apply(void 0,[Oa,dn,pn].concat(lr))}function fi(dn,pn,sr){for(var lr=arguments.length,_a=Array(lr>3?lr-3:0),Fa=3;Fa<lr;Fa++)_a[Fa-3]=arguments[Fa];return Qi.apply(void 0,[Pn,dn,pn,sr].concat(_a))}var lo=On,Oi=l("+0iv"),io=l.n(Oi),Vi=l("T5bk"),vo=l("myn2"),qo=l.n(vo),hs=l("1OyB"),$t=l("vuIU"),rt=l("QTEQ"),Vt=l.n(rt),tn=l("vgmO"),wn=l("ODXe"),qn=l("o0o1"),zn=l.n(qn),xr=Array.isArray.bind(Array),da=function(pn){return typeof pn=="function"},en=function(pn){return pn},Fn=function(){},Jn=function(pn,sr){for(var lr=0,_a=pn.length;lr<_a;lr+=1)if(sr(pn[lr],lr))return lr;return-1},Ir=Object.freeze({isPlainObject:io.a,isArray:xr,isFunction:da,returnSelf:en,noop:Fn,findIndex:Jn});function Gr(dn,pn){var sr=dn.namespace,lr=dn.reducers,_a=dn.effects,Fa=dn.subscriptions;y()(sr,"[app.model] namespace should be defined"),y()(typeof sr=="string","[app.model] namespace should be string, but got ".concat(Object(O.a)(sr))),y()(!pn.some(function(Va){return Va.namespace===sr}),"[app.model] namespace should be unique"),lr&&(y()(io()(lr)||xr(lr),"[app.model] reducers should be plain object or array, but got ".concat(Object(O.a)(lr))),y()(!xr(lr)||io()(lr[0])&&da(lr[1]),"[app.model] reducers with array should be [Object, Function]")),_a&&y()(io()(_a),"[app.model] effects should be plain object, but got ".concat(Object(O.a)(_a))),Fa&&(y()(io()(Fa),"[app.model] subscriptions should be plain object, but got ".concat(Object(O.a)(Fa))),y()(ga(Fa),"[app.model] subscription should be function"))}function ga(dn){return Object.keys(dn).every(function(pn){return da(dn[pn])})}var Mr="/";function $a(dn,pn,sr){return Object.keys(dn).reduce(function(lr,_a){qo()(_a.indexOf("".concat(pn).concat(Mr))!==0,"[prefixNamespace]: ".concat(sr," ").concat(_a," should not be prefixed with namespace ").concat(pn));var Fa="".concat(pn).concat(Mr).concat(_a);return lr[Fa]=dn[_a],lr},{})}function Ya(dn){var pn=dn.namespace,sr=dn.reducers,lr=dn.effects;if(sr)if(xr(sr)){var _a=Object(Vi.a)(sr),Fa=_a[0],Va=_a.slice(1);dn.reducers=[$a(Fa,pn,"reducer")].concat(Object(C.a)(Va))}else dn.reducers=$a(sr,pn,"reducer");return lr&&(dn.effects=$a(lr,pn,"effect")),dn}var _o=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Ni(dn){return Object.keys(dn).reduce(function(pn,sr){return _o.indexOf(sr)>-1&&(pn[sr]=dn[sr]),pn},{})}var ec=function(){function dn(){Object(hs.a)(this,dn),this._handleActions=null,this.hooks=_o.reduce(function(pn,sr){return pn[sr]=[],pn},{})}return Object($t.a)(dn,[{key:"use",value:function(sr){y()(io()(sr),"plugin.use: plugin should be plain object");var lr=this.hooks;for(var _a in sr)Object.prototype.hasOwnProperty.call(sr,_a)&&(y()(lr[_a],"plugin.use: unknown plugin property: ".concat(_a)),_a==="_handleActions"?this._handleActions=sr[_a]:_a==="extraEnhancers"?lr[_a]=sr[_a]:lr[_a].push(sr[_a]))}},{key:"apply",value:function(sr,lr){var _a=this.hooks,Fa=["onError","onHmr"];y()(Fa.indexOf(sr)>-1,"plugin.apply: hook ".concat(sr," cannot be applied"));var Va=_a[sr];return function(){if(Va.length){var di=!0,Ci=!1,wo=void 0;try{for(var ho=Va[Symbol.iterator](),Io;!(di=(Io=ho.next()).done);di=!0){var Fo=Io.value;Fo.apply(void 0,arguments)}}catch(xs){Ci=!0,wo=xs}finally{try{!di&&ho.return!=null&&ho.return()}finally{if(Ci)throw wo}}}else lr&&lr.apply(void 0,arguments)}}},{key:"get",value:function(sr){var lr=this.hooks;return y()(sr in lr,"plugin.get: hook ".concat(sr," cannot be got")),sr==="extraReducers"?ks(lr[sr]):sr==="onReducer"?jo(lr[sr]):lr[sr]}}]),dn}();function ks(dn){var pn={},sr=!0,lr=!1,_a=void 0;try{for(var Fa=dn[Symbol.iterator](),Va;!(sr=(Va=Fa.next()).done);sr=!0){var di=Va.value;pn=Object(D.a)({},pn,di)}}catch(Ci){lr=!0,_a=Ci}finally{try{!sr&&Fa.return!=null&&Fa.return()}finally{if(lr)throw _a}}return pn}function jo(dn){return function(pn){var sr=!0,lr=!1,_a=void 0;try{for(var Fa=dn[Symbol.iterator](),Va;!(sr=(Va=Fa.next()).done);sr=!0){var di=Va.value;pn=di(pn)}}catch(Ci){lr=!0,_a=Ci}finally{try{!sr&&Fa.return!=null&&Fa.return()}finally{if(lr)throw _a}}return pn}}function Qn(dn){var pn=dn.reducers,sr=dn.initialState,lr=dn.plugin,_a=dn.sagaMiddleware,Fa=dn.promiseMiddleware,Va=dn.createOpts.setupMiddlewares,di=Va===void 0?en:Va,Ci=lr.get("extraEnhancers");y()(xr(Ci),"[app.start] extraEnhancers should be array, but got ".concat(Object(O.a)(Ci)));var wo=lr.get("onAction"),ho=di([Fa,_a].concat(Object(C.a)(Vt()(wo)))),Io=me,Fo=[Z.apply(void 0,Object(C.a)(ho))].concat(Object(C.a)(Ci));return Q(pn,sr,Io.apply(void 0,Object(C.a)(Fo)))}function ka(dn,pn){var sr="".concat(pn.namespace).concat(Mr).concat(dn),lr=sr.replace(/\/@@[^/]+?$/,""),_a=Array.isArray(pn.reducers)?pn.reducers[0][lr]:pn.reducers&&pn.reducers[lr];return _a||pn.effects&&pn.effects[lr]?sr:dn}function Pa(dn,pn,sr,lr){var _a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return zn.a.mark(function Fa(){var Va;return zn.a.wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:Ci.t0=zn.a.keys(dn);case 1:if((Ci.t1=Ci.t0()).done){Ci.next=7;break}if(Va=Ci.t1.value,!Object.prototype.hasOwnProperty.call(dn,Va)){Ci.next=5;break}return Ci.delegateYield(zn.a.mark(function wo(){var ho,Io;return zn.a.wrap(function(xs){for(;;)switch(xs.prev=xs.next){case 0:return ho=Qa(Va,dn[Va],pn,sr,lr,_a),xs.next=3,E.fork(ho);case 3:return Io=xs.sent,xs.next=6,E.fork(zn.a.mark(function ms(){return zn.a.wrap(function(bs){for(;;)switch(bs.prev=bs.next){case 0:return bs.next=2,E.take("".concat(pn.namespace,"/@@CANCEL_EFFECTS"));case 2:return bs.next=4,E.cancel(Io);case 4:case"end":return bs.stop()}},ms)}));case 6:case"end":return xs.stop()}},wo)})(),"t2",5);case 5:Ci.next=1;break;case 7:case"end":return Ci.stop()}},Fa)})}function Qa(dn,pn,sr,lr,_a,Fa){var Va=zn.a.mark(ms),di=pn,Ci="takeEvery",wo,ho;if(Array.isArray(pn)){var Io=Object(wn.a)(pn,1);di=Io[0];var Fo=pn[1];Fo&&Fo.type&&(Ci=Fo.type,Ci==="throttle"&&(y()(Fo.ms,"app.start: opts.ms should be defined if type is throttle"),wo=Fo.ms),Ci==="poll"&&(y()(Fo.delay,"app.start: opts.delay should be defined if type is poll"),ho=Fo.delay)),y()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(Ci)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function xs(){}function ms(){var bs,Po,yr,Ls,Zs,Sc,Hs,bc,cr,qr=arguments;return zn.a.wrap(function(Ki){for(;;)switch(Ki.prev=Ki.next){case 0:for(bs=qr.length,Po=new Array(bs),yr=0;yr<bs;yr++)Po[yr]=qr[yr];return Ls=Po.length>0?Po[0]:{},Zs=Ls.__dva_resolve,Sc=Zs===void 0?xs:Zs,Hs=Ls.__dva_reject,bc=Hs===void 0?xs:Hs,Ki.prev=2,Ki.next=5,E.put({type:"".concat(dn).concat(Mr,"@@start")});case 5:return Ki.next=7,di.apply(void 0,Object(C.a)(Po.concat(Ei(sr,Fa))));case 7:return cr=Ki.sent,Ki.next=10,E.put({type:"".concat(dn).concat(Mr,"@@end")});case 10:Sc(cr),Ki.next=17;break;case 13:Ki.prev=13,Ki.t0=Ki.catch(2),lr(Ki.t0,{key:dn,effectArgs:Po}),Ki.t0._dontReject||bc(Ki.t0);case 17:case"end":return Ki.stop()}},Va,null,[[2,13]])}var ys=zo(_a,ms,sr,dn);switch(Ci){case"watcher":return ms;case"takeLatest":return zn.a.mark(function bs(){return zn.a.wrap(function(yr){for(;;)switch(yr.prev=yr.next){case 0:return yr.next=2,E.takeLatest(dn,ys);case 2:case"end":return yr.stop()}},bs)});case"throttle":return zn.a.mark(function bs(){return zn.a.wrap(function(yr){for(;;)switch(yr.prev=yr.next){case 0:return yr.next=2,E.throttle(wo,dn,ys);case 2:case"end":return yr.stop()}},bs)});case"poll":return zn.a.mark(function bs(){var Po,yr,Ls,Zs,Sc,Hs,bc;return zn.a.wrap(function(qr){for(;;)switch(qr.prev=qr.next){case 0:Ls=function(Ki,uo){var As;return zn.a.wrap(function(cc){for(;;)switch(cc.prev=cc.next){case 0:As=Ki.call;case 1:return cc.next=4,As(ys,uo);case 4:return cc.next=6,As(yr,ho);case 6:cc.next=1;break;case 8:case"end":return cc.stop()}},Po)},yr=function(Ki){return new Promise(function(uo){return setTimeout(uo,Ki)})},Po=zn.a.mark(Ls),Zs=E.call,Sc=E.take,Hs=E.race;case 4:return qr.next=7,Sc("".concat(dn,"-start"));case 7:return bc=qr.sent,qr.next=10,Hs([Zs(Ls,E,bc),Sc("".concat(dn,"-stop"))]);case 10:qr.next=4;break;case 12:case"end":return qr.stop()}},bs)});default:return zn.a.mark(function bs(){return zn.a.wrap(function(yr){for(;;)switch(yr.prev=yr.next){case 0:return yr.next=2,E.takeEvery(dn,ys);case 2:case"end":return yr.stop()}},bs)})}}function Ei(dn,pn){function sr(Va,di){y()(Va,"dispatch: action should be a plain Object with type");var Ci=pn.namespacePrefixWarning,wo=Ci===void 0?!0:Ci;wo&&qo()(Va.indexOf("".concat(dn.namespace).concat(Mr))!==0,"[".concat(di,"] ").concat(Va," should not be prefixed with namespace ").concat(dn.namespace))}function lr(Va){var di=Va.type;return sr(di,"sagaEffects.put"),E.put(Object(D.a)({},Va,{type:ka(di,dn)}))}function _a(Va){var di=Va.type;return sr(di,"sagaEffects.put.resolve"),E.put.resolve(Object(D.a)({},Va,{type:ka(di,dn)}))}lr.resolve=_a;function Fa(Va){return typeof Va=="string"?(sr(Va,"sagaEffects.take"),E.take(ka(Va,dn))):Array.isArray(Va)?E.take(Va.map(function(di){return typeof di=="string"?(sr(di,"sagaEffects.take"),ka(di,dn)):di})):E.take(Va)}return Object(D.a)({},E,{put:lr,take:Fa})}function zo(dn,pn,sr,lr){var _a=!0,Fa=!1,Va=void 0;try{for(var di=dn[Symbol.iterator](),Ci;!(_a=(Ci=di.next()).done);_a=!0){var wo=Ci.value;pn=wo(pn,E,sr,lr)}}catch(ho){Fa=!0,Va=ho}finally{try{!_a&&di.return!=null&&di.return()}finally{if(Fa)throw Va}}return pn}function fo(dn){return dn}function gs(dn){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fo;return function(sr,lr){var _a=lr.type;return y()(_a,"dispatch: action should be a plain Object with type"),dn===_a?pn(sr,lr):sr}}function Ks(){for(var dn=arguments.length,pn=new Array(dn),sr=0;sr<dn;sr++)pn[sr]=arguments[sr];return function(lr,_a){return pn.reduce(function(Fa,Va){return Va(Fa,_a)},lr)}}function pc(dn,pn){var sr=Object.keys(dn).map(function(_a){return gs(_a,dn[_a])}),lr=Ks.apply(void 0,Object(C.a)(sr));return function(){var _a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn,Fa=arguments.length>1?arguments[1]:void 0;return lr(_a,Fa)}}function tc(dn,pn,sr){return Array.isArray(dn)?dn[1]((sr||pc)(dn[0],pn)):(sr||pc)(dn||{},pn)}function xc(dn){return function(){return function(sr){return function(lr){var _a=lr.type;return pn(_a)?new Promise(function(Fa,Va){sr(Object(D.a)({__dva_resolve:Fa,__dva_reject:Va},lr))}):sr(lr)}}};function pn(sr){if(!sr||typeof sr!="string")return!1;var lr=sr.split(Mr),_a=Object(wn.a)(lr,1),Fa=_a[0],Va=dn._models.filter(function(di){return di.namespace===Fa})[0];return!!(Va&&Va.effects&&Va.effects[sr])}}function kc(dn,pn){return function(sr){var lr=sr.type;return y()(lr,"dispatch: action should be a plain Object with type"),qo()(lr.indexOf("".concat(pn.namespace).concat(Mr))!==0,"dispatch: ".concat(lr," should not be prefixed with namespace ").concat(pn.namespace)),dn(Object(D.a)({},sr,{type:ka(lr,pn)}))}}function Ss(dn,pn,sr,lr){var _a=[],Fa=[];for(var Va in dn)if(Object.prototype.hasOwnProperty.call(dn,Va)){var di=dn[Va],Ci=di({dispatch:kc(sr._store.dispatch,pn),history:sr._history},lr);da(Ci)?_a.push(Ci):Fa.push(Va)}return{funcs:_a,nonFuncs:Fa}}function Js(dn,pn){if(!!dn[pn]){var sr=dn[pn],lr=sr.funcs,_a=sr.nonFuncs;qo()(_a.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(_a.join(", ")));var Fa=!0,Va=!1,di=void 0;try{for(var Ci=lr[Symbol.iterator](),wo;!(Fa=(wo=Ci.next()).done);Fa=!0){var ho=wo.value;ho()}}catch(Io){Va=!0,di=Io}finally{try{!Fa&&Ci.return!=null&&Ci.return()}finally{if(Va)throw di}}delete dn[pn]}}var Mo=Fn,js=Jn,Yc={namespace:"@@dva",state:0,reducers:{UPDATE:function(pn){return pn+1}}};function gc(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},sr=pn.initialReducer,lr=pn.setupApp,_a=lr===void 0?Mo:lr,Fa=new ec;Fa.use(Ni(dn));var Va={_models:[Ya(Object(D.a)({},Yc))],_store:null,_plugin:Fa,use:Fa.use.bind(Fa),model:di,start:Io};return Va;function di(Fo){var xs=Ya(Object(D.a)({},Fo));return Va._models.push(xs),xs}function Ci(Fo,xs,ms,ys){ys=di(ys);var bs=Va._store;bs.asyncReducers[ys.namespace]=tc(ys.reducers,ys.state,Fa._handleActions),bs.replaceReducer(Fo()),ys.effects&&bs.runSaga(Va._getSaga(ys.effects,ys,xs,Fa.get("onEffect"),dn)),ys.subscriptions&&(ms[ys.namespace]=Ss(ys.subscriptions,ys,Va,xs))}function wo(Fo,xs,ms,ys){var bs=Va._store;delete bs.asyncReducers[ys],delete xs[ys],bs.replaceReducer(Fo()),bs.dispatch({type:"@@dva/UPDATE"}),bs.dispatch({type:"".concat(ys,"/@@CANCEL_EFFECTS")}),Js(ms,ys),Va._models=Va._models.filter(function(Po){return Po.namespace!==ys})}function ho(Fo,xs,ms,ys,bs){var Po=Va._store,yr=bs.namespace,Ls=js(Va._models,function(Zs){return Zs.namespace===yr});~Ls&&(Po.dispatch({type:"".concat(yr,"/@@CANCEL_EFFECTS")}),delete Po.asyncReducers[yr],delete xs[yr],Js(ms,yr),Va._models.splice(Ls,1)),Va.model(bs),Po.dispatch({type:"@@dva/UPDATE"})}function Io(){var Fo=function(il,Mu){il&&(typeof il=="string"&&(il=new Error(il)),il.preventDefault=function(){il._dontReject=!0},Fa.apply("onError",function(ji){throw new Error(ji.stack||ji)})(il,Va._store.dispatch,Mu))},xs=lo(),ms=xc(Va);Va._getSaga=Pa.bind(null);var ys=[],bs=Object(D.a)({},sr),Po=!0,yr=!1,Ls=void 0;try{for(var Zs=Va._models[Symbol.iterator](),Sc;!(Po=(Sc=Zs.next()).done);Po=!0){var Hs=Sc.value;bs[Hs.namespace]=tc(Hs.reducers,Hs.state,Fa._handleActions),Hs.effects&&ys.push(Va._getSaga(Hs.effects,Hs,Fo,Fa.get("onEffect"),dn))}}catch(ju){yr=!0,Ls=ju}finally{try{!Po&&Zs.return!=null&&Zs.return()}finally{if(yr)throw Ls}}var bc=Fa.get("onReducer"),cr=Fa.get("extraReducers");y()(Object.keys(cr).every(function(ju){return!(ju in bs)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(bs).join(", "))),Va._store=Qn({reducers:hl(),initialState:dn.initialState||{},plugin:Fa,createOpts:pn,sagaMiddleware:xs,promiseMiddleware:ms});var qr=Va._store;qr.runSaga=xs.run,qr.asyncReducers={};var yi=Fa.get("onStateChange"),Ki=!0,uo=!1,As=void 0;try{for(var zc=function(){var il=fl.value;qr.subscribe(function(){il(qr.getState())})},cc=yi[Symbol.iterator](),fl;!(Ki=(fl=cc.next()).done);Ki=!0)zc()}catch(ju){uo=!0,As=ju}finally{try{!Ki&&cc.return!=null&&cc.return()}finally{if(uo)throw As}}ys.forEach(xs.run),_a(Va);var Bc={},Gl=!0,Fl=!1,pl=void 0;try{for(var gu=this._models[Symbol.iterator](),bl;!(Gl=(bl=gu.next()).done);Gl=!0){var tu=bl.value;tu.subscriptions&&(Bc[tu.namespace]=Ss(tu.subscriptions,tu,Va,Fo))}}catch(ju){Fl=!0,pl=ju}finally{try{!Gl&&gu.return!=null&&gu.return()}finally{if(Fl)throw pl}}Va.model=Ci.bind(Va,hl,Fo,Bc),Va.unmodel=wo.bind(Va,hl,bs,Bc),Va.replaceModel=ho.bind(Va,hl,bs,Bc,Fo);function hl(){return bc(he(Object(D.a)({},bs,cr,Va._store?Va._store.asyncReducers:{})))}}}var Cl=l("Ty5D"),wl=l("17x9"),Wc=l.n(wl),nl="@@router/LOCATION_CHANGE",Rc=function(pn,sr){var lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return{type:nl,payload:{location:pn,action:sr,isFirstRendering:lr}}},su="@@router/CALL_HISTORY_METHOD",Pl=function(pn){return function(){for(var sr=arguments.length,lr=new Array(sr),_a=0;_a<sr;_a++)lr[_a]=arguments[_a];return{type:su,payload:{method:pn,args:lr}}}},al=Pl("push"),Ml=Pl("replace"),Tl=Pl("go"),td=Pl("goBack"),rl=Pl("goForward"),dl={push:al,replace:Ml,go:Tl,goBack:td,goForward:rl};function qt(dn){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qt=function(sr){return typeof sr}:qt=function(sr){return sr&&typeof Symbol=="function"&&sr.constructor===Symbol&&sr!==Symbol.prototype?"symbol":typeof sr},qt(dn)}var nr=function(pn){var sr=pn.getIn,lr=pn.toJS,_a=function(Fo){return Fo!=null&&qt(Fo)==="object"&&sr(Fo,["location"])&&sr(Fo,["action"])},Fa=function(Fo){var xs=lr(sr(Fo,["router"]));if(!_a(xs))throw'Could not find router reducer in state tree, it must be mounted under "router"';return xs},Va=function(Fo){return lr(sr(Fa(Fo),["location"]))},di=function(Fo){return lr(sr(Fa(Fo),["action"]))},Ci=function(Fo){return lr(sr(Fa(Fo),["location","search"]))},wo=function(Fo){return lr(sr(Fa(Fo),["location","hash"]))},ho=function(Fo){var xs=null,ms=null;return function(ys){var bs=Va(ys)||{},Po=bs.pathname;if(Po===xs)return ms;xs=Po;var yr=Object(Cl.i)(Po,Fo);return(!yr||!ms||yr.url!==ms.url)&&(ms=yr),ms}};return{getLocation:Va,getAction:di,getRouter:Fa,getSearch:Ci,getHash:wo,createMatchSelector:ho}},Ur=nr;function Yr(dn){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yr=function(sr){return typeof sr}:Yr=function(sr){return sr&&typeof Symbol=="function"&&sr.constructor===Symbol&&sr!==Symbol.prototype?"symbol":typeof sr},Yr(dn)}function ni(){return ni=Object.assign||function(dn){for(var pn=1;pn<arguments.length;pn++){var sr=arguments[pn];for(var lr in sr)Object.prototype.hasOwnProperty.call(sr,lr)&&(dn[lr]=sr[lr])}return dn},ni.apply(this,arguments)}function vi(dn,pn){if(!(dn instanceof pn))throw new TypeError("Cannot call a class as a function")}function zr(dn,pn){for(var sr=0;sr<pn.length;sr++){var lr=pn[sr];lr.enumerable=lr.enumerable||!1,lr.configurable=!0,"value"in lr&&(lr.writable=!0),Object.defineProperty(dn,lr.key,lr)}}function wr(dn,pn,sr){return pn&&zr(dn.prototype,pn),sr&&zr(dn,sr),dn}function Ua(dn,pn){return pn&&(Yr(pn)==="object"||typeof pn=="function")?pn:La(dn)}function La(dn){if(dn===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return dn}function Nr(dn){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(sr){return sr.__proto__||Object.getPrototypeOf(sr)},Nr(dn)}function ua(dn,pn){if(typeof pn!="function"&&pn!==null)throw new TypeError("Super expression must either be null or a function");dn.prototype=Object.create(pn&&pn.prototype,{constructor:{value:dn,writable:!0,configurable:!0}}),pn&&ra(dn,pn)}function ra(dn,pn){return ra=Object.setPrototypeOf||function(lr,_a){return lr.__proto__=_a,lr},ra(dn,pn)}var ri=function(pn){var sr=Ur(pn),lr=sr.getLocation,_a=function(di){ua(Ci,di);function Ci(wo){var ho;vi(this,Ci),ho=Ua(this,Nr(Ci).call(this,wo));var Io=wo.store,Fo=wo.history,xs=wo.onLocationChanged;ho.inTimeTravelling=!1,ho.unsubscribe=Io.subscribe(function(){var ys=lr(Io.getState()),bs=ys.pathname,Po=ys.search,yr=ys.hash,Ls=Fo.location,Zs=Ls.pathname,Sc=Ls.search,Hs=Ls.hash;(Zs!==bs||Sc!==Po||Hs!==yr)&&(ho.inTimeTravelling=!0,Fo.push({pathname:bs,search:Po,hash:yr}))});var ms=function(bs,Po){var yr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ho.inTimeTravelling?ho.inTimeTravelling=!1:xs(bs,Po,yr)};return ho.unlisten=Fo.listen(ms),ms(Fo.location,Fo.action,!0),ho}return wr(Ci,[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var ho=this.props,Io=ho.history,Fo=ho.children;return A.a.createElement(Cl.e,{history:Io},Fo)}}]),Ci}(k.PureComponent);_a.propTypes={store:Wc.a.shape({getState:Wc.a.func.isRequired,subscribe:Wc.a.func.isRequired}).isRequired,history:Wc.a.shape({action:Wc.a.string.isRequired,listen:Wc.a.func.isRequired,location:Wc.a.object.isRequired,push:Wc.a.func.isRequired}).isRequired,basename:Wc.a.string,children:Wc.a.oneOfType([Wc.a.func,Wc.a.node]),onLocationChanged:Wc.a.func.isRequired};var Fa=function(Ci){return{onLocationChanged:function(ho,Io,Fo){return Ci(Rc(ho,Io,Fo))}}},Va=function(Ci){var wo=Ci.context||j.b;if(wo==null)throw"Please upgrade to react-redux v6";return A.a.createElement(wo.Consumer,null,function(ho){var Io=ho.store;return A.a.createElement(_a,ni({store:Io},Ci))})};return Va.propTypes={context:Wc.a.object},Object(j.c)(null,Fa)(Va)},li=ri,hi=function(pn){var sr=pn.fromJS,lr=pn.merge,_a=function(Va){var di=sr({location:Va.location,action:Va.action});return function(){var Ci=arguments.length>0&&arguments[0]!==void 0?arguments[0]:di,wo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ho=wo.type,Io=wo.payload;if(ho===nl){var Fo=Io.location,xs=Io.action,ms=Io.isFirstRendering;return ms?Ci:lr(Ci,{location:sr(Fo),action:xs})}return Ci}};return _a},ii=hi,Di=function(pn,sr){if(!pn)return pn;var lr=sr.length;if(!!lr){for(var _a=pn,Fa=0;Fa<lr&&!!_a;++Fa)_a=_a[sr[Fa]];return _a}},Xo=Di;function ps(dn){for(var pn=1;pn<arguments.length;pn++){var sr=arguments[pn]!=null?arguments[pn]:{},lr=Object.keys(sr);typeof Object.getOwnPropertySymbols=="function"&&(lr=lr.concat(Object.getOwnPropertySymbols(sr).filter(function(_a){return Object.getOwnPropertyDescriptor(sr,_a).enumerable}))),lr.forEach(function(_a){mc(dn,_a,sr[_a])})}return dn}function mc(dn,pn,sr){return pn in dn?Object.defineProperty(dn,pn,{value:sr,enumerable:!0,configurable:!0,writable:!0}):dn[pn]=sr,dn}var Ts={fromJS:function(pn){return pn},getIn:Xo,merge:function(pn,sr){return ps({},pn,sr)},toJS:function(pn){return pn}},Ar=Ts,Gs=li(Ar),Nc=ii(Ar),Jc=Ur(Ar),Fc=Jc.getLocation,Ro=Jc.getAction,Dl=Jc.getHash,Vl=Jc.getSearch,hu=Jc.createMatchSelector;function ru(dn){return Ru(dn)||ql(dn)||pd()}function pd(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ql(dn){if(Symbol.iterator in Object(dn)||Object.prototype.toString.call(dn)==="[object Arguments]")return Array.from(dn)}function Ru(dn){if(Array.isArray(dn)){for(var pn=0,sr=new Array(dn.length);pn<dn.length;pn++)sr[pn]=dn[pn];return sr}}var Hl=function(pn){return function(sr){return function(lr){return function(_a){if(_a.type!==su)return lr(_a);var Fa=_a.payload,Va=Fa.method,di=Fa.args;pn[Va].apply(pn,ru(di))}}}},fu=Hl,nd=l("LpSC"),bd=l("Ji7U"),ml=l("LK+K"),os={};function wu(dn,pn){pn=pn.default||pn,os[pn.namespace]||(dn.model(pn),os[pn.namespace]=1)}var cd=function(){return null};function Ud(dn){var pn=dn.resolve;return function(sr){Object(bd.a)(_a,sr);var lr=Object(ml.a)(_a);function _a(){var Fa;Object(hs.a)(this,_a);for(var Va=arguments.length,di=new Array(Va),Ci=0;Ci<Va;Ci++)di[Ci]=arguments[Ci];return Fa=lr.call.apply(lr,[this].concat(di)),Fa.LoadingComponent=dn.LoadingComponent||cd,Fa.state={AsyncComponent:null},Fa.load(),Fa}return Object($t.a)(_a,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"load",value:function(){var Va=this;pn().then(function(di){var Ci=di.default||di;Va.mounted?Va.setState({AsyncComponent:Ci}):Va.state.AsyncComponent=Ci})}},{key:"render",value:function(){var Va=this.state.AsyncComponent,di=this.LoadingComponent;return Va?A.a.createElement(Va,this.props):A.a.createElement(di,this.props)}}]),_a}(k.Component)}function Eu(dn){var pn=dn.app,sr=dn.models,lr=dn.component;return Ud(Object(m.a)({resolve:dn.resolve||function(){var _a=typeof sr=="function"?sr():[],Fa=lr();return new Promise(function(Va){Promise.all([].concat(Object(C.a)(_a),[Fa])).then(function(di){if(!_a||!_a.length)return Va(di[0]);var Ci=_a.length;di.slice(0,Ci).forEach(function(wo){wo=wo.default||wo,Array.isArray(wo)||(wo=[wo]),wo.map(function(ho){return wu(pn,ho)})}),Va(di[Ci])})})}},dn))}Eu.setDefaultLoadingComponent=function(dn){cd=dn};var El=Nc,eu=fu,rd=Ir.isFunction,yn=Cl.j,Dr=Cl.k,Xr=Cl.l,Ta=Cl.m;function Ra(){var dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pn=dn.history||Object(w.b)(),sr={initialReducer:{router:El(pn)},setupMiddlewares:function(Ci){return[eu(pn)].concat(Object(C.a)(Ci))},setupApp:function(Ci){Ci._history=Vs(pn)}},lr=gc(dn,sr),_a=lr.start;return lr.router=Fa,lr.start=Va,lr;function Fa(di){y()(rd(di),"[app.router] router should be function, but got ".concat(Object(O.a)(di))),lr._router=di}function Va(di){mo(di)&&(di=T.a.querySelector(di),y()(di,"[app.start] container ".concat(di," not found"))),y()(!di||wi(di),"[app.start] container should be HTMLElement"),y()(lr._router,"[app.start] router must be registered before app.start()"),lr._store||_a.call(lr);var Ci=lr._store;if(lr._getProvider=Yi.bind(null,Ci,lr),di)Ji(di,Ci,lr,lr._router),lr._plugin.apply("onHmr")(Ji.bind(null,di,Ci,lr));else return Yi(Ci,this,this._router)}}function wi(dn){return Object(O.a)(dn)==="object"&&dn!==null&&dn.nodeType&&dn.nodeName}function mo(dn){return typeof dn=="string"}function Yi(dn,pn,sr){var lr=function(Fa){return A.a.createElement(j.a,{store:dn},sr(Object(m.a)({app:pn,history:pn._history},Fa)))};return lr}function Ji(dn,pn,sr,lr){var _a=l("i8i4");_a.render(A.a.createElement(Yi(pn,sr,lr)),dn)}function Vs(dn){var pn=dn.listen;return dn.listen=function(sr){var lr=sr.toString(),_a=sr.name==="handleLocationChange"&&lr.indexOf("onLocationChanged")>-1||lr.indexOf(".inTimeTravelling")>-1&&lr.indexOf(".inTimeTravelling")>-1&&lr.indexOf("arguments[2]")>-1;return sr(dn.location,dn.action,{__isDvaPatch:!0}),pn.call(dn,function(){for(var Fa=arguments.length,Va=new Array(Fa),di=0;di<Fa;di++)Va[di]=arguments[di];_a?sr.apply(void 0,Va):setTimeout(function(){sr.apply(void 0,Va)})})},dn}var Jo=R.a=Ra},HhvW:function(ce,R){ce.exports=function(l,E){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:E}}},HjuX:function(ce,R,l){var E=l("MMxC"),m=l("CdV7").entries;E({target:"Object",stat:!0},{entries:function(C){return m(C)}})},HpQ9:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ContainerSnapshot=void 0;var E=function(){function m(){}return m.of=function(O,C){var k=new m;return k.bindings=O,k.middleware=C,k},m}();R.ContainerSnapshot=E},Hvzi:function(ce,R){function l(E){var m=this.has(E)&&delete this.__data__[E];return this.size-=m?1:0,m}ce.exports=l},I01J:function(ce,R,l){var E=l("44Ds"),m=500;function O(C){var k=E(C,function(S){return A.size===m&&A.clear(),S}),A=k.cache;return k}ce.exports=O},"I5+W":function(ce,R,l){"use strict";var E=l("FVwB"),m=l("8OQV"),O=E.aTypedArrayConstructor,C=E.exportTypedArrayStaticMethod;C("of",function(){for(var A=0,S=arguments.length,y=new(O(this))(S);S>A;)y[A]=arguments[A++];return y},m)},I5X1:function(ce,R,l){"use strict";l.d(R,"a",function(){return S});var E=l("tJVT"),m=l("q1tI"),O=l.n(m),C=l("1WJl"),k=l.n(C),A=l("qwGt");function S(y,w){var x=Object(m.useContext)(A.a),T=Object(m.useRef)(w);T.current=w;var j=Object(m.useState)(function(){return T.current?T.current(x.data[y]):x.data[y]}),D=Object(E.a)(j,2),N=D[0],F=D[1],B=Object(m.useRef)(N);B.current=N;var U=Object(m.useRef)(!1);return Object(m.useEffect)(function(){return U.current=!0,function(){U.current=!1}},[]),Object(m.useEffect)(function(){var J=function(X){if(!U.current)setTimeout(function(){x.data[y]=X,x.update(y)});else if(w&&T.current){var ee=T.current(X),ie=B.current;k()(ee,ie)||F(ee)}else F(X)};try{x.callbacks[y].add(J),x.update(y)}catch($){x.callbacks[y]=new Set,x.callbacks[y].add(J),x.update(y)}return function(){x.callbacks[y].delete(J)}},[y]),N}},I65O:function(ce,R,l){var E=l("nFn1"),m=l("jtLI"),O=l("IjB0"),C=l("YfKC").f;ce.exports=function(k){var A=E.Symbol||(E.Symbol={});m(A,k)||C(A,k,{value:O.f(k)})}},I8bB:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CircleSwatch=void 0;var E=l("q1tI"),m=A(E),O=l("/FUP"),C=A(O),k=l("UtML");function A(y){return y&&y.__esModule?y:{default:y}}var S=R.CircleSwatch=function(w){var x=w.color,T=w.onClick,j=w.onSwatchHover,D=w.hover,N=w.active,F=w.circleSize,B=w.circleSpacing,U=(0,C.default)({default:{swatch:{width:F,height:F,marginRight:B,marginBottom:B,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+F/2+"px "+x,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+x}}},{hover:D,active:N});return m.default.createElement("div",{style:U.swatch},m.default.createElement(k.Swatch,{style:U.Swatch,color:x,onClick:T,onHover:j,focusStyle:{boxShadow:U.Swatch.boxShadow+", 0 0 5px "+x}}))};S.defaultProps={circleSize:28,circleSpacing:14},R.default=(0,O.handleHover)(S)},"IC/V":function(ce,R,l){var E=l("I65O");E("split")},IGnA:function(ce,R,l){var E=l("0qr0"),m=l("uGHk").f,O={}.toString,C=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],k=function(A){try{return m(A)}catch(S){return C.slice()}};ce.exports.f=function(S){return C&&O.call(S)=="[object Window]"?k(S):m(E(S))}},IJtq:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});var E=function(O){var C={};if(Object.keys(O||{}).forEach(function(k){O[k]!==void 0&&(C[k]=O[k])}),!(Object.keys(C).length<1))return C}},IMoZ:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="ExclamationCircleFilled";var S=R.a=m.forwardRef(A)},IOBY:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=T;var E=l("VkhU"),m=S(E),O=l("B9n1"),C=S(O),k=l("JysN"),A=S(k);function S(j){return j&&j.__esModule?j:{default:j}}var y={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},w={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};function x(j,D){if((0,C.default)(j))return j;for(var N=j.split(/,(?![^()]*(?:\([^()]*\))?\))/g),F=0,B=N.length;F<B;++F){var U=N[F],J=[U];for(var $ in D){var X=(0,m.default)($);if(U.indexOf(X)>-1&&X!=="order")for(var ee=D[$],ie=0,G=ee.length;ie<G;++ie)J.unshift(U.replace(X,w[ee[ie]]+X))}N[F]=J.join(",")}return N.join(",")}function T(j,D,N,F){if(typeof D=="string"&&y.hasOwnProperty(j)){var B=x(D,F),U=B.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function($){return!/-moz-|-ms-/.test($)}).join(",");if(j.indexOf("Webkit")>-1)return U;var J=B.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function($){return!/-webkit-|-ms-/.test($)}).join(",");return j.indexOf("Moz")>-1?J:(N["Webkit"+(0,A.default)(j)]=U,N["Moz"+(0,A.default)(j)]=J,B)}}ce.exports=R.default},IOzZ:function(ce,R){function l(E,m){return function(O){return O==null?!1:O[E]===m&&(m!==void 0||E in Object(O))}}ce.exports=l},IUJg:function(ce,R,l){"use strict";var E=l("FVwB"),m=E.aTypedArray,O=E.exportTypedArrayMethod,C=[].sort;O("sort",function(A){return C.call(m(this),A)})},IVUx:function(ce,R,l){var E=l("Pp3M"),m=l("UHn5"),O=l("u+7+"),C=l("tSXo"),k=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=O(null)};k.prototype.get=function(S,y){return this[S]||(this[S]=y())},k.prototype.next=function(S,y,w){var x=w?this.objectsByIndex[S]||(this.objectsByIndex[S]=new m):this.primitives||(this.primitives=new E),T=x.get(y);return T||x.set(y,T=new k),T};var A=new k;ce.exports=function(){var S=A,y=arguments.length,w,x;for(w=0;w<y;w++)C(x=arguments[w])&&(S=S.next(w,x,!0));if(this===Object&&S===A)throw TypeError("Composite keys must contain a non-primitive component");for(w=0;w<y;w++)C(x=arguments[w])||(S=S.next(w,x,!1));return S}},IVhM:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").findIndex,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("findIndex",function(A){return m(O(this),A,arguments.length>1?arguments[1]:void 0)})},IbaC:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("FCfD"),O=l("YON3"),C=l("k/J9"),k=l("2kyd"),A=l("Zcjx"),S=k("replace"),y=RegExp.prototype;E({target:"String",proto:!0},{replaceAll:function w(x,T){var j=m(this),D,N,F,B,U,J,$,X,ee;if(x!=null){if(D=O(x),D&&(N=String(m("flags"in y?x.flags:C.call(x))),!~N.indexOf("g")))throw TypeError("`.replaceAll` does not allow non-global regexes");if(F=x[S],F!==void 0)return F.call(x,j,T);if(A&&D)return String(j).replace(x,T)}if(B=String(j),U=String(x),U==="")return w.call(B,/(?:)/g,T);if(J=B.split(U),typeof T!="function")return J.join(String(T));for($=J[0],X=$.length,ee=1;ee<J.length;ee++)$+=String(T(U,X,B)),X+=U.length+J[ee].length,$+=J[ee];return $}})},IehP:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="FullscreenExitOutlined";var S=R.a=m.forwardRef(A)},IjB0:function(ce,R,l){var E=l("2kyd");R.f=E},Ijbi:function(ce,R,l){var E=l("WkPL");function m(O){if(Array.isArray(O))return E(O)}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},"Iks+":function(ce,R,l){"use strict";R.a=null},Imx0:function(ce,R,l){"use strict";l.d(R,"a",function(){return T});var E=l("ODXe"),m=l("q1tI");function O(j){var D=m.useRef();D.current=j;var N=m.useCallback(function(){for(var F,B=arguments.length,U=new Array(B),J=0;J<B;J++)U[J]=arguments[J];return(F=D.current)===null||F===void 0?void 0:F.call.apply(F,[D].concat(U))},[]);return N}function C(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var k=C()?m.useLayoutEffect:m.useEffect,A=function(D,N){var F=m.useRef(!0);k(function(){return D(F.current)},N),k(function(){return F.current=!1,function(){F.current=!0}},[])},S=function(D,N){A(function(F){if(!F)return D()},N)},y=A;function w(j){var D=m.useRef(!1),N=m.useState(j),F=Object(E.a)(N,2),B=F[0],U=F[1];m.useEffect(function(){return D.current=!1,function(){D.current=!0}},[]);function J($,X){X&&D.current||U($)}return[B,J]}function x(j){return j!==void 0}function T(j,D){var N=D||{},F=N.defaultValue,B=N.value,U=N.onChange,J=N.postState,$=w(function(){return x(B)?B:x(F)?typeof F=="function"?F():F:typeof j=="function"?j():j}),X=Object(E.a)($,2),ee=X[0],ie=X[1],G=B!==void 0?B:ee,Q=J?J(G):G,W=O(U),ne=w([G]),te=Object(E.a)(ne,2),_e=te[0],he=te[1];S(function(){var ge=_e[0];ee!==ge&&W(ee,ge)},[_e]),S(function(){x(B)||ie(B)},[B]);var oe=O(function(ge,me){ie(ge,me),he([G],me)});return[Q,oe]}},Ioao:function(ce,R,l){var E=l("heNW"),m=Math.max;function O(C,k,A){return k=m(k===void 0?C.length-1:k,0),function(){for(var S=arguments,y=-1,w=m(S.length-k,0),x=Array(w);++y<w;)x[y]=S[k+y];y=-1;for(var T=Array(k+1);++y<k;)T[y]=S[y];return T[k]=A(x),E(C,this,T)}}ce.exports=O},IuhT:function(ce,R,l){var E=l("f1E4"),m=l("bF+Q"),O=l("oa35"),C=l("7BAe"),k=l("9SZg"),A=l("Y3g6"),S=function(w,x){this.stopped=w,this.result=x},y=ce.exports=function(w,x,T,j,D){var N=C(x,T,j?2:1),F,B,U,J,$,X,ee;if(D)F=w;else{if(B=k(w),typeof B!="function")throw TypeError("Target is not iterable");if(m(B)){for(U=0,J=O(w.length);J>U;U++)if($=j?N(E(ee=w[U])[0],ee[1]):N(w[U]),$&&$ instanceof S)return $;return new S(!1)}F=B.call(w)}for(X=F.next;!(ee=X.call(F)).done;)if($=A(F,N,ee.value,j),typeof $=="object"&&$&&$ instanceof S)return $;return new S(!1)};y.stop=function(w){return new S(!0,w)}},"Iw+M":function(ce,R,l){"use strict";var E=l("FVwB"),m=l("/3zY").indexOf,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("indexOf",function(A){return m(O(this),A,arguments.length>1?arguments[1]:void 0)})},IyRk:function(ce,R){(function(l){ce.exports=function(){var E={873:function(k){var A;A=function(){return this}();try{A=A||new Function("return this")()}catch(S){typeof window=="object"&&(A=window)}k.exports=A}},m={};function O(C){if(m[C])return m[C].exports;var k=m[C]={exports:{}},A=!0;try{E[C](k,k.exports,O),A=!1}finally{A&&delete m[C]}return k.exports}return O.ab=l+"/",O(873)}()}).call(this,"/")},IyrG:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("ukPv"),O=l("ZSlt"),C=l("ssJt"),k="ArrayBuffer",A=O[k],S=m[k];E({global:!0,forced:S!==A},{ArrayBuffer:A}),C(k)},"J+/v":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("hgVy"),C=l.n(O)},"J+Da":function(ce,R,l){var E=l("m0kY"),m=l("oa35");ce.exports=function(O){if(O===void 0)return 0;var C=E(O),k=m(C);if(C!==k)throw RangeError("Wrong length or index");return k}},J3Yn:function(ce,R,l){var E=l("pb5k"),m=Function.toString;typeof E.inspectSource!="function"&&(E.inspectSource=function(O){return m.call(O)}),ce.exports=E.inspectSource},J428:function(ce,R,l){var E=l("MMxC"),m=l("CdV7").values;E({target:"Object",stat:!0},{values:function(C){return m(C)}})},J4zp:function(ce,R,l){var E=l("wTVA"),m=l("m0LI"),O=l("ZhPi"),C=l("wkBT");function k(A,S){return E(A)||m(A,S)||O(A,S)||C()}ce.exports=k,ce.exports.__esModule=!0,ce.exports.default=ce.exports},J84W:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("bz9Y"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},JA98:function(ce,R,l){},JC6p:function(ce,R,l){var E=l("cq/+"),m=l("7GkX");function O(C,k){return C&&E(C,k,m)}ce.exports=O},JDCn:function(ce,R,l){var E=l("MMxC"),m=Math.floor,O=Math.log,C=Math.LOG2E;E({target:"Math",stat:!0},{clz32:function(A){return(A>>>=0)?31-m(O(A+.5)*C):32}})},JF8p:function(ce,R,l){},JHRd:function(ce,R,l){var E=l("Kz5y"),m=E.Uint8Array;ce.exports=m},JHgL:function(ce,R,l){var E=l("QkVE");function m(O){return E(this,O).get(O)}ce.exports=m},JI6M:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("mTKU").trim,O=l("HKQd");E({target:"String",proto:!0,forced:O("trim")},{trim:function(){return m(this)}})},JO4c:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("9RRT").right,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("reduceRight",function(A){return m(O(this),A,arguments.length,arguments.length>1?arguments[1]:void 0)})},JS3A:function(ce,R,l){var E=l("tSXo");ce.exports=function(m){if(!E(m)&&m!==null)throw TypeError("Can't set "+String(m)+" as a prototype");return m}},JS9R:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("q1tI"),m=l.n(E);function O(C,k){var A=Object(E.useRef)([]),S=function(){A.current.push(setTimeout(function(){var w,x,T,j;((w=C.current)===null||w===void 0?void 0:w.input)&&((x=C.current)===null||x===void 0?void 0:x.input.getAttribute("type"))==="password"&&((T=C.current)===null||T===void 0?void 0:T.input.hasAttribute("value"))&&((j=C.current)===null||j===void 0||j.input.removeAttribute("value"))}))};return Object(E.useEffect)(function(){return k&&S(),function(){return A.current.forEach(function(y){y&&clearTimeout(y)})}},[]),S}},JSQU:function(ce,R,l){var E=l("YESw"),m="__lodash_hash_undefined__";function O(C,k){var A=this.__data__;return this.size+=this.has(C)?0:1,A[C]=E&&k===void 0?m:k,this}ce.exports=O},JTzB:function(ce,R,l){var E=l("NykK"),m=l("ExA7"),O="[object Arguments]";function C(k){return m(k)&&E(k)==O}ce.exports=C},JX7q:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}},JXee:function(ce,R,l){var E=l("MMxC"),m=l("YMoz"),O=l("jdp+");E({target:"Math",stat:!0},{fscale:function(k,A,S,y,w){return O(m(k,A,S,y,w))}})},JXem:function(ce,R,l){"use strict";var E=l("Acmb"),m=l("lz10"),O=l("jtLI"),C=l("2kyd"),k=l("Zcjx"),A=C("iterator"),S=!1,y=function(){return this},w,x,T;[].keys&&(T=[].keys(),"next"in T?(x=E(E(T)),x!==Object.prototype&&(w=x)):S=!0),w==null&&(w={}),!k&&!O(w,A)&&m(w,A,y),ce.exports={IteratorPrototype:w,BUGGY_SAFARI_ITERATORS:S}},JaaR:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="DoubleLeftOutlined";var S=R.a=m.forwardRef(A)},JasR:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=m;var E={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};function m(O,C){if(O==="display"&&E.hasOwnProperty(C))return E[C]}ce.exports=R.default},Ji7U:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("s4An");function m(O,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(C&&C.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),C&&Object(E.a)(O,C)}},JmpY:function(ce,R,l){var E=l("eUgh");function m(O,C){return E(C,function(k){return O[k]})}ce.exports=m},JnMS:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("pI4h"),m=k(E),O=l("xgaV"),C=k(O);function k(j){return j&&j.__esModule?j:{default:j}}function A(j,D){if(!(j instanceof D))throw new TypeError("Cannot call a class as a function")}var S=["A","ACCESSIBLE","AGENT","AGGREGATE","ALL","ALTER","ANY","ARRAY","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BETWEEN","BFILE_BASE","BINARY_INTEGER","BINARY","BLOB_BASE","BLOCK","BODY","BOOLEAN","BOTH","BOUND","BULK","BY","BYTE","C","CALL","CALLING","CASCADE","CASE","CHAR_BASE","CHAR","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLONE","CLOSE","CLUSTER","CLUSTERS","COALESCE","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONTINUE","CONVERT","COUNT","CRASH","CREATE","CREDENTIAL","CURRENT","CURRVAL","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE_BASE","DATE","DAY","DECIMAL","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DIRECTORY","DISTINCT","DO","DOUBLE","DROP","DURATION","ELEMENT","ELSIF","EMPTY","ESCAPE","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTENDS","EXTERNAL","EXTRACT","FALSE","FETCH","FINAL","FIRST","FIXED","FLOAT","FOR","FORALL","FORCE","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSTANTIABLE","INT","INTEGER","INTERFACE","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMITED","LOCAL","LOCK","LONG","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MLSLABEL","MOD","MODE","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NULLIF","NUMBER_BASE","NUMBER","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","OLD","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","ORACLE","ORADATA","ORDER","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERLAPS","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARENT","PARTITION","PASCAL","PCTFREE","PIPE","PIPELINED","PLS_INTEGER","PLUGGABLE","POSITIVE","POSITIVEN","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","REAL","RECORD","REF","REFERENCE","RELEASE","RELIES_ON","REM","REMAINDER","RENAME","RESOURCE","RESULT_CACHE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","ROWID","ROWNUM","ROWTYPE","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SHARE","SHORT","SIZE_T","SIZE","SMALLINT","SOME","SPACE","SPARSE","SQL","SQLCODE","SQLDATA","SQLERRM","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUCCESSFUL","SUM","SYNONYM","SYSDATE","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSACTION","TRANSACTIONAL","TRIGGER","TRUE","TRUSTED","TYPE","UB1","UB2","UB4","UID","UNDER","UNIQUE","UNPLUG","UNSIGNED","UNTRUSTED","USE","USER","USING","VALIDATE","VALIST","VALUE","VARCHAR","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHENEVER","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],y=["ADD","ALTER COLUMN","ALTER TABLE","BEGIN","CONNECT BY","DECLARE","DELETE FROM","DELETE","END","EXCEPT","EXCEPTION","FETCH FIRST","FROM","GROUP BY","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","LOOP","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","START WITH","UNION ALL","UNION","UPDATE","VALUES","WHERE"],w=["AND","CROSS APPLY","CROSS JOIN","ELSE","END","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],x=void 0,T=function(){function j(D){A(this,j),this.cfg=D}return j.prototype.format=function(N){return x||(x=new C.default({reservedWords:S,reservedToplevelWords:y,reservedNewlineWords:w,stringTypes:['""',"N''","''","``"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["_","$","#",".","@"]})),new m.default(this.cfg,x).format(N)},j}();R.default=T,ce.exports=R.default},JnaH:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("V61k"),C=Math.abs,k=Math.exp,A=Math.E,S=m(function(){return Math.sinh(-2e-17)!=-2e-17});E({target:"Math",stat:!0,forced:S},{sinh:function(w){return C(w=+w)<1?(O(w)-O(-w))/2:(k(w-1)-k(-w-1))*(A/2)}})},Jrzw:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=E(l("PE/4")),O=m.default;R.default=O},"Ju5/":function(ce,R,l){"use strict";var E=l("XqMk"),m=typeof self=="object"&&self&&self.Object===Object&&self,O=E.a||m||Function("return this")();R.a=O},Juji:function(ce,R){function l(E,m){return E!=null&&m in Object(E)}ce.exports=l},JxQ3:function(ce,R,l){var E=typeof Map=="function"&&Map.prototype,m=Object.getOwnPropertyDescriptor&&E?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,O=E&&m&&typeof m.get=="function"?m.get:null,C=E&&Map.prototype.forEach,k=typeof Set=="function"&&Set.prototype,A=Object.getOwnPropertyDescriptor&&k?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,S=k&&A&&typeof A.get=="function"?A.get:null,y=k&&Set.prototype.forEach,w=typeof WeakMap=="function"&&WeakMap.prototype,x=w?WeakMap.prototype.has:null,T=typeof WeakSet=="function"&&WeakSet.prototype,j=T?WeakSet.prototype.has:null,D=typeof WeakRef=="function"&&WeakRef.prototype,N=D?WeakRef.prototype.deref:null,F=Boolean.prototype.valueOf,B=Object.prototype.toString,U=Function.prototype.toString,J=String.prototype.match,$=String.prototype.slice,X=String.prototype.replace,ee=String.prototype.toUpperCase,ie=String.prototype.toLowerCase,G=RegExp.prototype.test,Q=Array.prototype.concat,W=Array.prototype.join,ne=Array.prototype.slice,te=Math.floor,_e=typeof BigInt=="function"?BigInt.prototype.valueOf:null,he=Object.getOwnPropertySymbols,oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ge=typeof Symbol=="function"&&typeof Symbol.iterator=="object",me=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ge?"object":"symbol")?Symbol.toStringTag:null,Z=Object.prototype.propertyIsEnumerable,xe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function($e){return $e.__proto__}:null);function Ee($e,Qe){if($e===Infinity||$e===-Infinity||$e!==$e||$e&&$e>-1e3&&$e<1e3||G.call(/e/,Qe))return Qe;var Tt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof $e=="number"){var Ot=$e<0?-te(-$e):te($e);if(Ot!==$e){var Ut=String(Ot),At=$.call(Qe,Ut.length+1);return X.call(Ut,Tt,"$&_")+"."+X.call(X.call(At,/([0-9]{3})/g,"$&_"),/_$/,"")}}return X.call(Qe,Tt,"$&_")}var Le=l(1),we=Le.custom,fe=ht(we)?we:null;ce.exports=function $e(Qe,Tt,Ot,Ut){var At=Tt||{};if(tt(At,"quoteStyle")&&At.quoteStyle!=="single"&&At.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tt(At,"maxStringLength")&&(typeof At.maxStringLength=="number"?At.maxStringLength<0&&At.maxStringLength!==Infinity:At.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Pt=tt(At,"customInspect")?At.customInspect:!0;if(typeof Pt!="boolean"&&Pt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tt(At,"indent")&&At.indent!==null&&At.indent!==" "&&!(parseInt(At.indent,10)===At.indent&&At.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(tt(At,"numericSeparator")&&typeof At.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Dt=At.numericSeparator;if(typeof Qe=="undefined")return"undefined";if(Qe===null)return"null";if(typeof Qe=="boolean")return Qe?"true":"false";if(typeof Qe=="string")return _t(Qe,At);if(typeof Qe=="number"){if(Qe===0)return Infinity/Qe>0?"0":"-0";var Qt=String(Qe);return Dt?Ee(Qe,Qt):Qt}if(typeof Qe=="bigint"){var cn=String(Qe)+"n";return Dt?Ee(Qe,cn):cn}var $n=typeof At.depth=="undefined"?5:At.depth;if(typeof Ot=="undefined"&&(Ot=0),Ot>=$n&&$n>0&&typeof Qe=="object")return Me(Qe)?"[Array]":"[Object]";var hn=Te(At,Ot);if(typeof Ut=="undefined")Ut=[];else if(Xt(Ut,Qe)>=0)return"[Circular]";function _n(nt,Ct,Wt){if(Ct&&(Ut=ne.call(Ut),Ut.push(Ct)),Wt){var kn={depth:At.depth};return tt(At,"quoteStyle")&&(kn.quoteStyle=At.quoteStyle),$e(nt,kn,Ot+1,Ut)}return $e(nt,At,Ot+1,Ut)}if(typeof Qe=="function"&&!Ue(Qe)){var bn=xt(Qe),Bn=le(Qe,_n);return"[Function"+(bn?": "+bn:" (anonymous)")+"]"+(Bn.length>0?" { "+W.call(Bn,", ")+" }":"")}if(ht(Qe)){var Tn=ge?X.call(String(Qe),/^(Symbol\(.*\))_[^)]*$/,"$1"):oe.call(Qe);return typeof Qe=="object"&&!ge?gt(Tn):Tn}if(Ge(Qe)){for(var Tr="<"+ie.call(String(Qe.nodeName)),Sr=Qe.attributes||[],Wr=0;Wr<Sr.length;Wr++)Tr+=" "+Sr[Wr].name+"="+pe(Ke(Sr[Wr].value),"double",At);return Tr+=">",Qe.childNodes&&Qe.childNodes.length&&(Tr+="..."),Tr+="</"+ie.call(String(Qe.nodeName))+">",Tr}if(Me(Qe)){if(Qe.length===0)return"[]";var br=le(Qe,_n);return hn&&!Fe(br)?"["+ut(br,hn)+"]":"[ "+W.call(br,", ")+" ]"}if(He(Qe)){var Wn=le(Qe,_n);return!("cause"in Error.prototype)&&"cause"in Qe&&!Z.call(Qe,"cause")?"{ ["+String(Qe)+"] "+W.call(Q.call("[cause]: "+_n(Qe.cause),Wn),", ")+" }":Wn.length===0?"["+String(Qe)+"]":"{ ["+String(Qe)+"] "+W.call(Wn,", ")+" }"}if(typeof Qe=="object"&&Pt){if(fe&&typeof Qe[fe]=="function"&&Le)return Le(Qe,{depth:$n-Ot});if(Pt!=="symbol"&&typeof Qe.inspect=="function")return Qe.inspect()}if(vt(Qe)){var gr=[];return C&&C.call(Qe,function(nt,Ct){gr.push(_n(Ct,Qe,!0)+" => "+_n(nt,Qe))}),ft("Map",O.call(Qe),gr,hn)}if(Se(Qe)){var na=[];return y&&y.call(Qe,function(nt){na.push(_n(nt,Qe))}),ft("Set",S.call(Qe),na,hn)}if(qe(Qe))return at("WeakMap");if(Ve(Qe))return at("WeakSet");if(Re(Qe))return at("WeakRef");if(it(Qe))return gt(_n(Number(Qe)));if(lt(Qe))return gt(_n(_e.call(Qe)));if(Xe(Qe))return gt(F.call(Qe));if(Ne(Qe))return gt(_n(String(Qe)));if(!ze(Qe)&&!Ue(Qe)){var jn=le(Qe,_n),un=xe?xe(Qe)===Object.prototype:Qe instanceof Object||Qe.constructor===Object,zt=Qe instanceof Object?"":"null prototype",Bt=!un&&me&&Object(Qe)===Qe&&me in Qe?$.call(mt(Qe),8,-1):zt?"Object":"",H=un||typeof Qe.constructor!="function"?"":Qe.constructor.name?Qe.constructor.name+" ":"",ot=H+(Bt||zt?"["+W.call(Q.call([],Bt||[],zt||[]),": ")+"] ":"");return jn.length===0?ot+"{}":hn?ot+"{"+ut(jn,hn)+"}":ot+"{ "+W.call(jn,", ")+" }"}return String(Qe)};function pe($e,Qe,Tt){var Ot=(Tt.quoteStyle||Qe)==="double"?'"':"'";return Ot+$e+Ot}function Ke($e){return X.call(String($e),/"/g,"&quot;")}function Me($e){return mt($e)==="[object Array]"&&(!me||!(typeof $e=="object"&&me in $e))}function ze($e){return mt($e)==="[object Date]"&&(!me||!(typeof $e=="object"&&me in $e))}function Ue($e){return mt($e)==="[object RegExp]"&&(!me||!(typeof $e=="object"&&me in $e))}function He($e){return mt($e)==="[object Error]"&&(!me||!(typeof $e=="object"&&me in $e))}function Ne($e){return mt($e)==="[object String]"&&(!me||!(typeof $e=="object"&&me in $e))}function it($e){return mt($e)==="[object Number]"&&(!me||!(typeof $e=="object"&&me in $e))}function Xe($e){return mt($e)==="[object Boolean]"&&(!me||!(typeof $e=="object"&&me in $e))}function ht($e){if(ge)return $e&&typeof $e=="object"&&$e instanceof Symbol;if(typeof $e=="symbol")return!0;if(!$e||typeof $e!="object"||!oe)return!1;try{return oe.call($e),!0}catch(Qe){}return!1}function lt($e){if(!$e||typeof $e!="object"||!_e)return!1;try{return _e.call($e),!0}catch(Qe){}return!1}var Et=Object.prototype.hasOwnProperty||function($e){return $e in this};function tt($e,Qe){return Et.call($e,Qe)}function mt($e){return B.call($e)}function xt($e){if($e.name)return $e.name;var Qe=J.call(U.call($e),/^function\s*([\w$]+)/);return Qe?Qe[1]:null}function Xt($e,Qe){if($e.indexOf)return $e.indexOf(Qe);for(var Tt=0,Ot=$e.length;Tt<Ot;Tt++)if($e[Tt]===Qe)return Tt;return-1}function vt($e){if(!O||!$e||typeof $e!="object")return!1;try{O.call($e);try{S.call($e)}catch(Qe){return!0}return $e instanceof Map}catch(Qe){}return!1}function qe($e){if(!x||!$e||typeof $e!="object")return!1;try{x.call($e,x);try{j.call($e,j)}catch(Qe){return!0}return $e instanceof WeakMap}catch(Qe){}return!1}function Re($e){if(!N||!$e||typeof $e!="object")return!1;try{return N.call($e),!0}catch(Qe){}return!1}function Se($e){if(!S||!$e||typeof $e!="object")return!1;try{S.call($e);try{O.call($e)}catch(Qe){return!0}return $e instanceof Set}catch(Qe){}return!1}function Ve($e){if(!j||!$e||typeof $e!="object")return!1;try{j.call($e,j);try{x.call($e,x)}catch(Qe){return!0}return $e instanceof WeakSet}catch(Qe){}return!1}function Ge($e){return!$e||typeof $e!="object"?!1:typeof HTMLElement!="undefined"&&$e instanceof HTMLElement?!0:typeof $e.nodeName=="string"&&typeof $e.getAttribute=="function"}function _t($e,Qe){if($e.length>Qe.maxStringLength){var Tt=$e.length-Qe.maxStringLength,Ot="... "+Tt+" more character"+(Tt>1?"s":"");return _t($.call($e,0,Qe.maxStringLength),Qe)+Ot}var Ut=X.call(X.call($e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,bt);return pe(Ut,"single",Qe)}function bt($e){var Qe=$e.charCodeAt(0),Tt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Qe];return Tt?"\\"+Tt:"\\x"+(Qe<16?"0":"")+ee.call(Qe.toString(16))}function gt($e){return"Object("+$e+")"}function at($e){return $e+" { ? }"}function ft($e,Qe,Tt,Ot){var Ut=Ot?ut(Tt,Ot):W.call(Tt,", ");return $e+" ("+Qe+") {"+Ut+"}"}function Fe($e){for(var Qe=0;Qe<$e.length;Qe++)if(Xt($e[Qe],`
`)>=0)return!1;return!0}function Te($e,Qe){var Tt;if($e.indent===" ")Tt=" ";else if(typeof $e.indent=="number"&&$e.indent>0)Tt=W.call(Array($e.indent+1)," ");else return null;return{base:Tt,prev:W.call(Array(Qe+1),Tt)}}function ut($e,Qe){if($e.length===0)return"";var Tt=`
`+Qe.prev+Qe.base;return Tt+W.call($e,","+Tt)+`
`+Qe.prev}function le($e,Qe){var Tt=Me($e),Ot=[];if(Tt){Ot.length=$e.length;for(var Ut=0;Ut<$e.length;Ut++)Ot[Ut]=tt($e,Ut)?Qe($e[Ut],$e):""}var At=typeof he=="function"?he($e):[],Pt;if(ge){Pt={};for(var Dt=0;Dt<At.length;Dt++)Pt["$"+At[Dt]]=At[Dt]}for(var Qt in $e)!tt($e,Qt)||Tt&&String(Number(Qt))===Qt&&Qt<$e.length||ge&&Pt["$"+Qt]instanceof Symbol||(G.call(/[^\w$]/,Qt)?Ot.push(Qe(Qt,$e)+": "+Qe($e[Qt],$e)):Ot.push(Qt+": "+Qe($e[Qt],$e)));if(typeof he=="function")for(var cn=0;cn<At.length;cn++)Z.call($e,At[cn])&&Ot.push("["+Qe(At[cn])+"]: "+Qe($e[At[cn]],$e));return Ot}},JysN:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m){return m.charAt(0).toUpperCase()+m.slice(1)}ce.exports=R.default},K5yz:function(ce,R,l){},KAsB:function(ce,R,l){},KAxK:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("IuhT"),O=l("cT1L");E({target:"Map",stat:!0},{keyBy:function(k,A){var S=new this;O(A);var y=O(S.set);return m(k,function(w){y.call(S,A(w),w)}),S}})},KCY9:function(ce,R,l){},KHCi:function(ce,R,l){var E=l("MMxC"),m=Math.min,O=Math.max;E({target:"Math",stat:!0},{clamp:function(k,A,S){return m(S,O(A,k))}})},KMkd:function(ce,R){function l(){this.__data__=[],this.size=0}ce.exports=l},KPFz:function(ce,R,l){},KQm4:function(ce,R,l){"use strict";l.d(R,"a",function(){return A});var E=l("a3WO");function m(S){if(Array.isArray(S))return Object(E.a)(S)}var O=l("25BE"),C=l("BsWD");function k(){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 A(S){return m(S)||Object(O.a)(S)||Object(C.a)(S)||k()}},KQxl:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=E(l("J4zp")),k=E(l("lSNA")),A=E(l("QILm")),S=F(l("q1tI")),y=E(l("TSYQ")),w=E(l("Bgsj")),x=E(l("/qSt")),T=l("03hy"),j=l("vmBS"),D=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];function N(J){if(typeof WeakMap!="function")return null;var $=new WeakMap,X=new WeakMap;return(N=function(ie){return ie?X:$})(J)}function F(J,$){if(!$&&J&&J.__esModule)return J;if(J===null||m(J)!=="object"&&typeof J!="function")return{default:J};var X=N($);if(X&&X.has(J))return X.get(J);var ee={},ie=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in J)if(G!=="default"&&Object.prototype.hasOwnProperty.call(J,G)){var Q=ie?Object.getOwnPropertyDescriptor(J,G):null;Q&&(Q.get||Q.set)?Object.defineProperty(ee,G,Q):ee[G]=J[G]}return ee.default=J,X&&X.set(J,ee),ee}(0,T.setTwoToneColor)("#1890ff");var B=S.forwardRef(function(J,$){var X,ee=J.className,ie=J.icon,G=J.spin,Q=J.rotate,W=J.tabIndex,ne=J.onClick,te=J.twoToneColor,_e=(0,A.default)(J,D),he=S.useContext(w.default),oe=he.prefixCls,ge=oe===void 0?"anticon":oe,me=he.rootClassName,Z=(0,y.default)(me,ge,(X={},(0,k.default)(X,"".concat(ge,"-").concat(ie.name),!!ie.name),(0,k.default)(X,"".concat(ge,"-spin"),!!G||ie.name==="loading"),X),ee),xe=W;xe===void 0&&ne&&(xe=-1);var Ee=Q?{msTransform:"rotate(".concat(Q,"deg)"),transform:"rotate(".concat(Q,"deg)")}:void 0,Le=(0,j.normalizeTwoToneColors)(te),we=(0,C.default)(Le,2),fe=we[0],pe=we[1];return S.createElement("span",(0,O.default)((0,O.default)({role:"img","aria-label":ie.name},_e),{},{ref:$,tabIndex:xe,onClick:ne,className:Z}),S.createElement(x.default,{icon:ie,primaryColor:fe,secondaryColor:pe,style:Ee}))});B.displayName="AntdIcon",B.getTwoToneColor=T.getTwoToneColor,B.setTwoToneColor=T.setTwoToneColor;var U=B;R.default=U},KUpu:function(ce,R,l){var E=l("I65O");E("hasInstance")},Kbm9:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("q1tI"),m=l.n(E);function O(C){var k=E.useRef();k.current=C;var A=E.useCallback(function(){for(var S,y=arguments.length,w=new Array(y),x=0;x<y;x++)w[x]=arguments[x];return(S=k.current)===null||S===void 0?void 0:S.call.apply(S,[k].concat(w))},[]);return A}},KfNM:function(ce,R){var l=Object.prototype,E=l.toString;function m(O){return E.call(O)}ce.exports=m},KfSR:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.autoprefix=void 0;var E=l("Ag8Z"),m=C(E),O=Object.assign||function(S){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(S[x]=w[x])}return S};function C(S){return S&&S.__esModule?S:{default:S}}var k={borderRadius:function(y){return{msBorderRadius:y,MozBorderRadius:y,OBorderRadius:y,WebkitBorderRadius:y,borderRadius:y}},boxShadow:function(y){return{msBoxShadow:y,MozBoxShadow:y,OBoxShadow:y,WebkitBoxShadow:y,boxShadow:y}},userSelect:function(y){return{WebkitTouchCallout:y,KhtmlUserSelect:y,MozUserSelect:y,msUserSelect:y,WebkitUserSelect:y,userSelect:y}},flex:function(y){return{WebkitBoxFlex:y,MozBoxFlex:y,WebkitFlex:y,msFlex:y,flex:y}},flexBasis:function(y){return{WebkitFlexBasis:y,flexBasis:y}},justifyContent:function(y){return{WebkitJustifyContent:y,justifyContent:y}},transition:function(y){return{msTransition:y,MozTransition:y,OTransition:y,WebkitTransition:y,transition:y}},transform:function(y){return{msTransform:y,MozTransform:y,OTransform:y,WebkitTransform:y,transform:y}},absolute:function(y){var w=y&&y.split(" ");return{position:"absolute",top:w&&w[0],right:w&&w[1],bottom:w&&w[2],left:w&&w[3]}},extend:function(y,w){var x=w[y];return x||{extend:y}}},A=R.autoprefix=function(y){var w={};return(0,m.default)(y,function(x,T){var j={};(0,m.default)(x,function(D,N){var F=k[N];F?j=O({},j,F(D)):j[N]=D}),w[T]=j}),w};R.default=A},"KlR/":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.PhotoshopPicker=void 0;var E=l("q1tI"),m=y(E),O=l("/FUP"),C=y(O),k=l("4iDX"),A=y(k),S=l("UtML");function y(x){return x&&x.__esModule?x:{default:x}}var w=R.PhotoshopPicker=function(T){var j=T.onChange,D=T.rgb,N=T.hsv,F=T.hex,B=(0,C.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),U=function($,X){$["#"]?A.default.isValidHex($["#"])&&j({hex:$["#"],source:"hex"},X):$.r||$.g||$.b?j({r:$.r||D.r,g:$.g||D.g,b:$.b||D.b,source:"rgb"},X):($.h||$.s||$.v)&&j({h:$.h||N.h,s:$.s||N.s,v:$.v||N.v,source:"hsv"},X)};return m.default.createElement("div",{style:B.fields},m.default.createElement(S.EditableInput,{style:{wrap:B.RGBwrap,input:B.RGBinput,label:B.RGBlabel},label:"h",value:Math.round(N.h),onChange:U}),m.default.createElement(S.EditableInput,{style:{wrap:B.RGBwrap,input:B.RGBinput,label:B.RGBlabel},label:"s",value:Math.round(N.s*100),onChange:U}),m.default.createElement(S.EditableInput,{style:{wrap:B.RGBwrap,input:B.RGBinput,label:B.RGBlabel},label:"v",value:Math.round(N.v*100),onChange:U}),m.default.createElement("div",{style:B.divider}),m.default.createElement(S.EditableInput,{style:{wrap:B.RGBwrap,input:B.RGBinput,label:B.RGBlabel},label:"r",value:D.r,onChange:U}),m.default.createElement(S.EditableInput,{style:{wrap:B.RGBwrap,input:B.RGBinput,label:B.RGBlabel},label:"g",value:D.g,onChange:U}),m.default.createElement(S.EditableInput,{style:{wrap:B.RGBwrap,input:B.RGBinput,label:B.RGBlabel},label:"b",value:D.b,onChange:U}),m.default.createElement("div",{style:B.divider}),m.default.createElement(S.EditableInput,{style:{wrap:B.HEXwrap,input:B.HEXinput,label:B.HEXlabel},label:"#",value:F.replace("#",""),onChange:U}),m.default.createElement("div",{style:B.fieldSymbols},m.default.createElement("div",{style:B.symbol},"\xB0"),m.default.createElement("div",{style:B.symbol},"%"),m.default.createElement("div",{style:B.symbol},"%")))};R.default=w},KpVd:function(ce,R,l){"use strict";(function(E){l.d(R,"a",function(){return qe});function m(){return m=Object.assign?Object.assign.bind():function(Re){for(var Se=1;Se<arguments.length;Se++){var Ve=arguments[Se];for(var Ge in Ve)Object.prototype.hasOwnProperty.call(Ve,Ge)&&(Re[Ge]=Ve[Ge])}return Re},m.apply(this,arguments)}function O(Re,Se){Re.prototype=Object.create(Se.prototype),Re.prototype.constructor=Re,k(Re,Se)}function C(Re){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Ve){return Ve.__proto__||Object.getPrototypeOf(Ve)},C(Re)}function k(Re,Se){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ge,_t){return Ge.__proto__=_t,Ge},k(Re,Se)}function A(){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(Re){return!1}}function S(Re,Se,Ve){return A()?S=Reflect.construct.bind():S=function(_t,bt,gt){var at=[null];at.push.apply(at,bt);var ft=Function.bind.apply(_t,at),Fe=new ft;return gt&&k(Fe,gt.prototype),Fe},S.apply(null,arguments)}function y(Re){return Function.toString.call(Re).indexOf("[native code]")!==-1}function w(Re){var Se=typeof Map=="function"?new Map:void 0;return w=function(Ge){if(Ge===null||!y(Ge))return Ge;if(typeof Ge!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Se!="undefined"){if(Se.has(Ge))return Se.get(Ge);Se.set(Ge,_t)}function _t(){return S(Ge,arguments,C(this).constructor)}return _t.prototype=Object.create(Ge.prototype,{constructor:{value:_t,enumerable:!1,writable:!0,configurable:!0}}),k(_t,Ge)},w(Re)}var x=/%[sdj%]/g,T=function(){};function j(Re){if(!Re||!Re.length)return null;var Se={};return Re.forEach(function(Ve){var Ge=Ve.field;Se[Ge]=Se[Ge]||[],Se[Ge].push(Ve)}),Se}function D(Re){for(var Se=arguments.length,Ve=new Array(Se>1?Se-1:0),Ge=1;Ge<Se;Ge++)Ve[Ge-1]=arguments[Ge];var _t=0,bt=Ve.length;if(typeof Re=="function")return Re.apply(null,Ve);if(typeof Re=="string"){var gt=Re.replace(x,function(at){if(at==="%%")return"%";if(_t>=bt)return at;switch(at){case"%s":return String(Ve[_t++]);case"%d":return Number(Ve[_t++]);case"%j":try{return JSON.stringify(Ve[_t++])}catch(ft){return"[Circular]"}break;default:return at}});return gt}return Re}function N(Re){return Re==="string"||Re==="url"||Re==="hex"||Re==="email"||Re==="date"||Re==="pattern"}function F(Re,Se){return!!(Re==null||Se==="array"&&Array.isArray(Re)&&!Re.length||N(Se)&&typeof Re=="string"&&!Re)}function B(Re,Se,Ve){var Ge=[],_t=0,bt=Re.length;function gt(at){Ge.push.apply(Ge,at||[]),_t++,_t===bt&&Ve(Ge)}Re.forEach(function(at){Se(at,gt)})}function U(Re,Se,Ve){var Ge=0,_t=Re.length;function bt(gt){if(gt&&gt.length){Ve(gt);return}var at=Ge;Ge=Ge+1,at<_t?Se(Re[at],bt):Ve([])}bt([])}function J(Re){var Se=[];return Object.keys(Re).forEach(function(Ve){Se.push.apply(Se,Re[Ve]||[])}),Se}var $=function(Re){O(Se,Re);function Se(Ve,Ge){var _t;return _t=Re.call(this,"Async Validation Error")||this,_t.errors=Ve,_t.fields=Ge,_t}return Se}(w(Error));function X(Re,Se,Ve,Ge,_t){if(Se.first){var bt=new Promise(function(le,$e){var Qe=function(Ut){return Ge(Ut),Ut.length?$e(new $(Ut,j(Ut))):le(_t)},Tt=J(Re);U(Tt,Ve,Qe)});return bt.catch(function(le){return le}),bt}var gt=Se.firstFields===!0?Object.keys(Re):Se.firstFields||[],at=Object.keys(Re),ft=at.length,Fe=0,Te=[],ut=new Promise(function(le,$e){var Qe=function(Ot){if(Te.push.apply(Te,Ot),Fe++,Fe===ft)return Ge(Te),Te.length?$e(new $(Te,j(Te))):le(_t)};at.length||(Ge(Te),le(_t)),at.forEach(function(Tt){var Ot=Re[Tt];gt.indexOf(Tt)!==-1?U(Ot,Ve,Qe):B(Ot,Ve,Qe)})});return ut.catch(function(le){return le}),ut}function ee(Re){return!!(Re&&Re.message!==void 0)}function ie(Re,Se){for(var Ve=Re,Ge=0;Ge<Se.length;Ge++){if(Ve==null)return Ve;Ve=Ve[Se[Ge]]}return Ve}function G(Re,Se){return function(Ve){var Ge;return Re.fullFields?Ge=ie(Se,Re.fullFields):Ge=Se[Ve.field||Re.fullField],ee(Ve)?(Ve.field=Ve.field||Re.fullField,Ve.fieldValue=Ge,Ve):{message:typeof Ve=="function"?Ve():Ve,fieldValue:Ge,field:Ve.field||Re.fullField}}}function Q(Re,Se){if(Se){for(var Ve in Se)if(Se.hasOwnProperty(Ve)){var Ge=Se[Ve];typeof Ge=="object"&&typeof Re[Ve]=="object"?Re[Ve]=m({},Re[Ve],Ge):Re[Ve]=Ge}}return Re}var W=function(Se,Ve,Ge,_t,bt,gt){Se.required&&(!Ge.hasOwnProperty(Se.field)||F(Ve,gt||Se.type))&&_t.push(D(bt.messages.required,Se.fullField))},ne=function(Se,Ve,Ge,_t,bt){(/^\s+$/.test(Ve)||Ve==="")&&_t.push(D(bt.messages.whitespace,Se.fullField))},te,_e=function(){if(te)return te;var Se="[a-fA-F\\d:]",Ve=function(Qt){return Qt&&Qt.includeBoundaries?"(?:(?<=\\s|^)(?="+Se+")|(?<="+Se+")(?=\\s|$))":""},Ge="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",_t="[a-fA-F\\d]{1,4}",bt=(`
(?:
(?:`+_t+":){7}(?:"+_t+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+_t+":){6}(?:"+Ge+"|:"+_t+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+_t+":){5}(?::"+Ge+"|(?::"+_t+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+_t+":){4}(?:(?::"+_t+"){0,1}:"+Ge+"|(?::"+_t+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+_t+":){3}(?:(?::"+_t+"){0,2}:"+Ge+"|(?::"+_t+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+_t+":){2}(?:(?::"+_t+"){0,3}:"+Ge+"|(?::"+_t+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+_t+":){1}(?:(?::"+_t+"){0,4}:"+Ge+"|(?::"+_t+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+_t+"){0,5}:"+Ge+"|(?::"+_t+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),gt=new RegExp("(?:^"+Ge+"$)|(?:^"+bt+"$)"),at=new RegExp("^"+Ge+"$"),ft=new RegExp("^"+bt+"$"),Fe=function(Qt){return Qt&&Qt.exact?gt:new RegExp("(?:"+Ve(Qt)+Ge+Ve(Qt)+")|(?:"+Ve(Qt)+bt+Ve(Qt)+")","g")};Fe.v4=function(Dt){return Dt&&Dt.exact?at:new RegExp(""+Ve(Dt)+Ge+Ve(Dt),"g")},Fe.v6=function(Dt){return Dt&&Dt.exact?ft:new RegExp(""+Ve(Dt)+bt+Ve(Dt),"g")};var Te="(?:(?:[a-z]+:)?//)",ut="(?:\\S+(?::\\S*)?@)?",le=Fe.v4().source,$e=Fe.v6().source,Qe="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Tt="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Ot="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ut="(?::\\d{2,5})?",At='(?:[/?#][^\\s"]*)?',Pt="(?:"+Te+"|www\\.)"+ut+"(?:localhost|"+le+"|"+$e+"|"+Qe+Tt+Ot+")"+Ut+At;return te=new RegExp("(?:^"+Pt+"$)","i"),te},he={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},oe={integer:function(Se){return oe.number(Se)&&parseInt(Se,10)===Se},float:function(Se){return oe.number(Se)&&!oe.integer(Se)},array:function(Se){return Array.isArray(Se)},regexp:function(Se){if(Se instanceof RegExp)return!0;try{return!!new RegExp(Se)}catch(Ve){return!1}},date:function(Se){return typeof Se.getTime=="function"&&typeof Se.getMonth=="function"&&typeof Se.getYear=="function"&&!isNaN(Se.getTime())},number:function(Se){return isNaN(Se)?!1:typeof Se=="number"},object:function(Se){return typeof Se=="object"&&!oe.array(Se)},method:function(Se){return typeof Se=="function"},email:function(Se){return typeof Se=="string"&&Se.length<=320&&!!Se.match(he.email)},url:function(Se){return typeof Se=="string"&&Se.length<=2048&&!!Se.match(_e())},hex:function(Se){return typeof Se=="string"&&!!Se.match(he.hex)}},ge=function(Se,Ve,Ge,_t,bt){if(Se.required&&Ve===void 0){W(Se,Ve,Ge,_t,bt);return}var gt=["integer","float","array","regexp","object","method","email","number","date","url","hex"],at=Se.type;gt.indexOf(at)>-1?oe[at](Ve)||_t.push(D(bt.messages.types[at],Se.fullField,Se.type)):at&&typeof Ve!==Se.type&&_t.push(D(bt.messages.types[at],Se.fullField,Se.type))},me=function(Se,Ve,Ge,_t,bt){var gt=typeof Se.len=="number",at=typeof Se.min=="number",ft=typeof Se.max=="number",Fe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Te=Ve,ut=null,le=typeof Ve=="number",$e=typeof Ve=="string",Qe=Array.isArray(Ve);if(le?ut="number":$e?ut="string":Qe&&(ut="array"),!ut)return!1;Qe&&(Te=Ve.length),$e&&(Te=Ve.replace(Fe,"_").length),gt?Te!==Se.len&&_t.push(D(bt.messages[ut].len,Se.fullField,Se.len)):at&&!ft&&Te<Se.min?_t.push(D(bt.messages[ut].min,Se.fullField,Se.min)):ft&&!at&&Te>Se.max?_t.push(D(bt.messages[ut].max,Se.fullField,Se.max)):at&&ft&&(Te<Se.min||Te>Se.max)&&_t.push(D(bt.messages[ut].range,Se.fullField,Se.min,Se.max))},Z="enum",xe=function(Se,Ve,Ge,_t,bt){Se[Z]=Array.isArray(Se[Z])?Se[Z]:[],Se[Z].indexOf(Ve)===-1&&_t.push(D(bt.messages[Z],Se.fullField,Se[Z].join(", ")))},Ee=function(Se,Ve,Ge,_t,bt){if(Se.pattern){if(Se.pattern instanceof RegExp)Se.pattern.lastIndex=0,Se.pattern.test(Ve)||_t.push(D(bt.messages.pattern.mismatch,Se.fullField,Ve,Se.pattern));else if(typeof Se.pattern=="string"){var gt=new RegExp(Se.pattern);gt.test(Ve)||_t.push(D(bt.messages.pattern.mismatch,Se.fullField,Ve,Se.pattern))}}},Le={required:W,whitespace:ne,type:ge,range:me,enum:xe,pattern:Ee},we=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve,"string")&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt,"string"),F(Ve,"string")||(Le.type(Se,Ve,_t,gt,bt),Le.range(Se,Ve,_t,gt,bt),Le.pattern(Se,Ve,_t,gt,bt),Se.whitespace===!0&&Le.whitespace(Se,Ve,_t,gt,bt))}Ge(gt)},fe=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&Le.type(Se,Ve,_t,gt,bt)}Ge(gt)},pe=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(Ve===""&&(Ve=void 0),F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&(Le.type(Se,Ve,_t,gt,bt),Le.range(Se,Ve,_t,gt,bt))}Ge(gt)},Ke=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&Le.type(Se,Ve,_t,gt,bt)}Ge(gt)},Me=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),F(Ve)||Le.type(Se,Ve,_t,gt,bt)}Ge(gt)},ze=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&(Le.type(Se,Ve,_t,gt,bt),Le.range(Se,Ve,_t,gt,bt))}Ge(gt)},Ue=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&(Le.type(Se,Ve,_t,gt,bt),Le.range(Se,Ve,_t,gt,bt))}Ge(gt)},He=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(Ve==null&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt,"array"),Ve!=null&&(Le.type(Se,Ve,_t,gt,bt),Le.range(Se,Ve,_t,gt,bt))}Ge(gt)},Ne=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&Le.type(Se,Ve,_t,gt,bt)}Ge(gt)},it="enum",Xe=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),Ve!==void 0&&Le[it](Se,Ve,_t,gt,bt)}Ge(gt)},ht=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve,"string")&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt),F(Ve,"string")||Le.pattern(Se,Ve,_t,gt,bt)}Ge(gt)},lt=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve,"date")&&!Se.required)return Ge();if(Le.required(Se,Ve,_t,gt,bt),!F(Ve,"date")){var ft;Ve instanceof Date?ft=Ve:ft=new Date(Ve),Le.type(Se,ft,_t,gt,bt),ft&&Le.range(Se,ft.getTime(),_t,gt,bt)}}Ge(gt)},Et=function(Se,Ve,Ge,_t,bt){var gt=[],at=Array.isArray(Ve)?"array":typeof Ve;Le.required(Se,Ve,_t,gt,bt,at),Ge(gt)},tt=function(Se,Ve,Ge,_t,bt){var gt=Se.type,at=[],ft=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(ft){if(F(Ve,gt)&&!Se.required)return Ge();Le.required(Se,Ve,_t,at,bt,gt),F(Ve,gt)||Le.type(Se,Ve,_t,at,bt)}Ge(at)},mt=function(Se,Ve,Ge,_t,bt){var gt=[],at=Se.required||!Se.required&&_t.hasOwnProperty(Se.field);if(at){if(F(Ve)&&!Se.required)return Ge();Le.required(Se,Ve,_t,gt,bt)}Ge(gt)},xt={string:we,method:fe,number:pe,boolean:Ke,regexp:Me,integer:ze,float:Ue,array:He,object:Ne,enum:Xe,pattern:ht,date:lt,url:tt,hex:tt,email:tt,required:Et,any:mt};function Xt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var Se=JSON.parse(JSON.stringify(this));return Se.clone=this.clone,Se}}}var vt=Xt(),qe=function(){function Re(Ve){this.rules=null,this._messages=vt,this.define(Ve)}var Se=Re.prototype;return Se.define=function(Ge){var _t=this;if(!Ge)throw new Error("Cannot configure a schema with no rules");if(typeof Ge!="object"||Array.isArray(Ge))throw new Error("Rules must be an object");this.rules={},Object.keys(Ge).forEach(function(bt){var gt=Ge[bt];_t.rules[bt]=Array.isArray(gt)?gt:[gt]})},Se.messages=function(Ge){return Ge&&(this._messages=Q(Xt(),Ge)),this._messages},Se.validate=function(Ge,_t,bt){var gt=this;_t===void 0&&(_t={}),bt===void 0&&(bt=function(){});var at=Ge,ft=_t,Fe=bt;if(typeof ft=="function"&&(Fe=ft,ft={}),!this.rules||Object.keys(this.rules).length===0)return Fe&&Fe(null,at),Promise.resolve(at);function Te(Tt){var Ot=[],Ut={};function At(Dt){if(Array.isArray(Dt)){var Qt;Ot=(Qt=Ot).concat.apply(Qt,Dt)}else Ot.push(Dt)}for(var Pt=0;Pt<Tt.length;Pt++)At(Tt[Pt]);Ot.length?(Ut=j(Ot),Fe(Ot,Ut)):Fe(null,at)}if(ft.messages){var ut=this.messages();ut===vt&&(ut=Xt()),Q(ut,ft.messages),ft.messages=ut}else ft.messages=this.messages();var le={},$e=ft.keys||Object.keys(this.rules);$e.forEach(function(Tt){var Ot=gt.rules[Tt],Ut=at[Tt];Ot.forEach(function(At){var Pt=At;typeof Pt.transform=="function"&&(at===Ge&&(at=m({},at)),Ut=at[Tt]=Pt.transform(Ut)),typeof Pt=="function"?Pt={validator:Pt}:Pt=m({},Pt),Pt.validator=gt.getValidationMethod(Pt),!!Pt.validator&&(Pt.field=Tt,Pt.fullField=Pt.fullField||Tt,Pt.type=gt.getType(Pt),le[Tt]=le[Tt]||[],le[Tt].push({rule:Pt,value:Ut,source:at,field:Tt}))})});var Qe={};return X(le,ft,function(Tt,Ot){var Ut=Tt.rule,At=(Ut.type==="object"||Ut.type==="array")&&(typeof Ut.fields=="object"||typeof Ut.defaultField=="object");At=At&&(Ut.required||!Ut.required&&Tt.value),Ut.field=Tt.field;function Pt(cn,$n){return m({},$n,{fullField:Ut.fullField+"."+cn,fullFields:Ut.fullFields?[].concat(Ut.fullFields,[cn]):[cn]})}function Dt(cn){cn===void 0&&(cn=[]);var $n=Array.isArray(cn)?cn:[cn];!ft.suppressWarning&&$n.length&&Re.warning("async-validator:",$n),$n.length&&Ut.message!==void 0&&($n=[].concat(Ut.message));var hn=$n.map(G(Ut,at));if(ft.first&&hn.length)return Qe[Ut.field]=1,Ot(hn);if(!At)Ot(hn);else{if(Ut.required&&!Tt.value)return Ut.message!==void 0?hn=[].concat(Ut.message).map(G(Ut,at)):ft.error&&(hn=[ft.error(Ut,D(ft.messages.required,Ut.field))]),Ot(hn);var _n={};Ut.defaultField&&Object.keys(Tt.value).map(function(Tn){_n[Tn]=Ut.defaultField}),_n=m({},_n,Tt.rule.fields);var bn={};Object.keys(_n).forEach(function(Tn){var Tr=_n[Tn],Sr=Array.isArray(Tr)?Tr:[Tr];bn[Tn]=Sr.map(Pt.bind(null,Tn))});var Bn=new Re(bn);Bn.messages(ft.messages),Tt.rule.options&&(Tt.rule.options.messages=ft.messages,Tt.rule.options.error=ft.error),Bn.validate(Tt.value,Tt.rule.options||ft,function(Tn){var Tr=[];hn&&hn.length&&Tr.push.apply(Tr,hn),Tn&&Tn.length&&Tr.push.apply(Tr,Tn),Ot(Tr.length?Tr:null)})}}var Qt;if(Ut.asyncValidator)Qt=Ut.asyncValidator(Ut,Tt.value,Dt,Tt.source,ft);else if(Ut.validator){try{Qt=Ut.validator(Ut,Tt.value,Dt,Tt.source,ft)}catch(cn){console.error==null||console.error(cn),ft.suppressValidatorError||setTimeout(function(){throw cn},0),Dt(cn.message)}Qt===!0?Dt():Qt===!1?Dt(typeof Ut.message=="function"?Ut.message(Ut.fullField||Ut.field):Ut.message||(Ut.fullField||Ut.field)+" fails"):Qt instanceof Array?Dt(Qt):Qt instanceof Error&&Dt(Qt.message)}Qt&&Qt.then&&Qt.then(function(){return Dt()},function(cn){return Dt(cn)})},function(Tt){Te(Tt)},at)},Se.getType=function(Ge){if(Ge.type===void 0&&Ge.pattern instanceof RegExp&&(Ge.type="pattern"),typeof Ge.validator!="function"&&Ge.type&&!xt.hasOwnProperty(Ge.type))throw new Error(D("Unknown rule type %s",Ge.type));return Ge.type||"string"},Se.getValidationMethod=function(Ge){if(typeof Ge.validator=="function")return Ge.validator;var _t=Object.keys(Ge),bt=_t.indexOf("message");return bt!==-1&&_t.splice(bt,1),_t.length===1&&_t[0]==="required"?xt.required:xt[this.getType(Ge)]||void 0},Re}();qe.register=function(Se,Ve){if(typeof Ve!="function")throw new Error("Cannot register a validator by type, validator is not a function");xt[Se]=Ve},qe.warning=T,qe.messages=vt,qe.validators=xt}).call(this,l("Q2Ig"))},Kr56:function(ce,R,l){"use strict";ce.exports=l("F925")},KrTs:function(ce,R,l){"use strict";var E=l("rePB"),m=l("U8pU"),O=l("wx14"),C=l("TSYQ"),k=l.n(C),A=l("8XRh"),S=l("q1tI"),y=l("H84U"),w=l("0n0R"),x=l("09Wf");function T(Q){return x.a.includes(Q)}var j=function(W){var ne,te=W.className,_e=W.prefixCls,he=W.style,oe=W.color,ge=W.children,me=W.text,Z=W.placement,xe=Z===void 0?"end":Z,Ee=S.useContext(y.b),Le=Ee.getPrefixCls,we=Ee.direction,fe=Le("ribbon",_e),pe=T(oe),Ke=k()(fe,"".concat(fe,"-placement-").concat(xe),(ne={},Object(E.a)(ne,"".concat(fe,"-rtl"),we==="rtl"),Object(E.a)(ne,"".concat(fe,"-color-").concat(oe),pe),ne),te),Me={},ze={};return oe&&!pe&&(Me.background=oe,ze.color=oe),S.createElement("div",{className:"".concat(fe,"-wrapper")},ge,S.createElement("div",{className:Ke,style:Object(O.a)(Object(O.a)({},Me),he)},S.createElement("span",{className:"".concat(fe,"-text")},me),S.createElement("div",{className:"".concat(fe,"-corner"),style:ze})))},D=j,N=l("ODXe");function F(Q){var W=Q.prefixCls,ne=Q.value,te=Q.current,_e=Q.offset,he=_e===void 0?0:_e,oe;return he&&(oe={position:"absolute",top:"".concat(he,"00%"),left:0}),S.createElement("span",{style:oe,className:k()("".concat(W,"-only-unit"),{current:te})},ne)}function B(Q,W,ne){for(var te=Q,_e=0;(te+10)%10!==W;)te+=ne,_e+=ne;return _e}function U(Q){var W=Q.prefixCls,ne=Q.count,te=Q.value,_e=Number(te),he=Math.abs(ne),oe=S.useState(_e),ge=Object(N.a)(oe,2),me=ge[0],Z=ge[1],xe=S.useState(he),Ee=Object(N.a)(xe,2),Le=Ee[0],we=Ee[1],fe=function(){Z(_e),we(he)};S.useEffect(function(){var it=setTimeout(function(){fe()},1e3);return function(){clearTimeout(it)}},[_e]);var pe,Ke;if(me===_e||Number.isNaN(_e)||Number.isNaN(me))pe=[S.createElement(F,Object(O.a)({},Q,{key:_e,current:!0}))],Ke={transition:"none"};else{pe=[];for(var Me=_e+10,ze=[],Ue=_e;Ue<=Me;Ue+=1)ze.push(Ue);var He=ze.findIndex(function(it){return it%10===me});pe=ze.map(function(it,Xe){var ht=it%10;return S.createElement(F,Object(O.a)({},Q,{key:it,value:ht,offset:Xe-He,current:Xe===He}))});var Ne=Le<he?1:-1;Ke={transform:"translateY(".concat(-B(me,_e,Ne),"00%)")}}return S.createElement("span",{className:"".concat(W,"-only"),style:Ke,onTransitionEnd:fe},pe)}var J=function(Q,W){var ne={};for(var te in Q)Object.prototype.hasOwnProperty.call(Q,te)&&W.indexOf(te)<0&&(ne[te]=Q[te]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,te=Object.getOwnPropertySymbols(Q);_e<te.length;_e++)W.indexOf(te[_e])<0&&Object.prototype.propertyIsEnumerable.call(Q,te[_e])&&(ne[te[_e]]=Q[te[_e]]);return ne},$=function(W){var ne=W.prefixCls,te=W.count,_e=W.className,he=W.motionClassName,oe=W.style,ge=W.title,me=W.show,Z=W.component,xe=Z===void 0?"sup":Z,Ee=W.children,Le=J(W,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),we=S.useContext(y.b),fe=we.getPrefixCls,pe=fe("scroll-number",ne),Ke=Object(O.a)(Object(O.a)({},Le),{"data-show":me,style:oe,className:k()(pe,_e,he),title:ge}),Me=te;if(te&&Number(te)%1==0){var ze=String(te).split("");Me=ze.map(function(Ue,He){return S.createElement(U,{prefixCls:pe,count:Number(te),value:Ue,key:ze.length-He})})}return oe&&oe.borderColor&&(Ke.style=Object(O.a)(Object(O.a)({},oe),{boxShadow:"0 0 0 1px ".concat(oe.borderColor," inset")})),Ee?Object(w.a)(Ee,function(Ue){return{className:k()("".concat(pe,"-custom-component"),Ue==null?void 0:Ue.className,he)}}):S.createElement(xe,Ke,Me)},X=$,ee=function(Q,W){var ne={};for(var te in Q)Object.prototype.hasOwnProperty.call(Q,te)&&W.indexOf(te)<0&&(ne[te]=Q[te]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,te=Object.getOwnPropertySymbols(Q);_e<te.length;_e++)W.indexOf(te[_e])<0&&Object.prototype.propertyIsEnumerable.call(Q,te[_e])&&(ne[te[_e]]=Q[te[_e]]);return ne},ie=function(W){var ne,te,_e=W.prefixCls,he=W.scrollNumberPrefixCls,oe=W.children,ge=W.status,me=W.text,Z=W.color,xe=W.count,Ee=xe===void 0?null:xe,Le=W.overflowCount,we=Le===void 0?99:Le,fe=W.dot,pe=fe===void 0?!1:fe,Ke=W.size,Me=Ke===void 0?"default":Ke,ze=W.title,Ue=W.offset,He=W.style,Ne=W.className,it=W.showZero,Xe=it===void 0?!1:it,ht=ee(W,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),lt=S.useContext(y.b),Et=lt.getPrefixCls,tt=lt.direction,mt=Et("badge",_e),xt=Ee>we?"".concat(we,"+"):Ee,Xt=xt==="0"||xt===0,vt=Ee===null||Xt&&!Xe,qe=(ge!=null||Z!=null)&&vt,Re=pe&&!Xt,Se=Re?"":xt,Ve=Object(S.useMemo)(function(){var Ot=Se==null||Se==="";return(Ot||Xt&&!Xe)&&!Re},[Se,Xt,Xe,Re]),Ge=Object(S.useRef)(Ee);Ve||(Ge.current=Ee);var _t=Ge.current,bt=Object(S.useRef)(Se);Ve||(bt.current=Se);var gt=bt.current,at=Object(S.useRef)(Re);Ve||(at.current=Re);var ft=Object(S.useMemo)(function(){if(!Ue)return Object(O.a)({},He);var Ot={marginTop:Ue[1]};return tt==="rtl"?Ot.left=parseInt(Ue[0],10):Ot.right=-parseInt(Ue[0],10),Object(O.a)(Object(O.a)({},Ot),He)},[tt,Ue,He]),Fe=ze!=null?ze:typeof _t=="string"||typeof _t=="number"?_t:void 0,Te=Ve||!me?null:S.createElement("span",{className:"".concat(mt,"-status-text")},me),ut=!_t||Object(m.a)(_t)!=="object"?void 0:Object(w.a)(_t,function(Ot){return{style:Object(O.a)(Object(O.a)({},ft),Ot.style)}}),le=k()((ne={},Object(E.a)(ne,"".concat(mt,"-status-dot"),qe),Object(E.a)(ne,"".concat(mt,"-status-").concat(ge),!!ge),Object(E.a)(ne,"".concat(mt,"-status-").concat(Z),T(Z)),ne)),$e={};Z&&!T(Z)&&($e.background=Z);var Qe=k()(mt,(te={},Object(E.a)(te,"".concat(mt,"-status"),qe),Object(E.a)(te,"".concat(mt,"-not-a-wrapper"),!oe),Object(E.a)(te,"".concat(mt,"-rtl"),tt==="rtl"),te),Ne);if(!oe&&qe){var Tt=ft.color;return S.createElement("span",Object(O.a)({},ht,{className:Qe,style:ft}),S.createElement("span",{className:le,style:$e}),me&&S.createElement("span",{style:{color:Tt},className:"".concat(mt,"-status-text")},me))}return S.createElement("span",Object(O.a)({},ht,{className:Qe}),oe,S.createElement(A.b,{visible:!Ve,motionName:"".concat(mt,"-zoom"),motionAppear:!1,motionDeadline:1e3},function(Ot){var Ut,At=Ot.className,Pt=Et("scroll-number",he),Dt=at.current,Qt=k()((Ut={},Object(E.a)(Ut,"".concat(mt,"-dot"),Dt),Object(E.a)(Ut,"".concat(mt,"-count"),!Dt),Object(E.a)(Ut,"".concat(mt,"-count-sm"),Me==="small"),Object(E.a)(Ut,"".concat(mt,"-multiple-words"),!Dt&&gt&&gt.toString().length>1),Object(E.a)(Ut,"".concat(mt,"-status-").concat(ge),!!ge),Object(E.a)(Ut,"".concat(mt,"-status-").concat(Z),T(Z)),Ut)),cn=Object(O.a)({},ft);return Z&&!T(Z)&&(cn=cn||{},cn.background=Z),S.createElement(X,{prefixCls:Pt,show:!Ve,motionClassName:At,className:Qt,count:gt,title:Fe,style:cn,key:"scrollNumber"},ut)}),Te)};ie.Ribbon=D;var G=R.a=ie},KtWR:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("EAZv")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="InfoCircleOutlined";var x=C.forwardRef(w);R.default=x},KvPC:function(ce,R,l){"use strict";var E=l("eYKs").charAt,m=l("1aI8"),O=l("uMwj"),C="String Iterator",k=m.set,A=m.getterFor(C);O(String,"String",function(S){k(this,{type:C,string:String(S),index:0})},function(){var y=A(this),w=y.string,x=y.index,T;return x>=w.length?{value:void 0,done:!0}:(T=E(w,x),y.index+=T.length,{value:T,done:!1})})},Kvyg:function(ce,R,l){},KwMD:function(ce,R){function l(E,m,O,C){for(var k=E.length,A=O+(C?1:-1);C?A--:++A<k;)if(m(E[A],A,E))return A;return-1}ce.exports=l},KxBF:function(ce,R){function l(E,m,O){var C=-1,k=E.length;m<0&&(m=-m>k?0:k+m),O=O>k?k:O,O<0&&(O+=k),k=m>O?0:O-m>>>0,m>>>=0;for(var A=Array(k);++C<k;)A[C]=E[C+m];return A}ce.exports=l},KxFI:function(ce,R,l){},Kz5y:function(ce,R,l){var E=l("WFqU"),m=typeof self=="object"&&self&&self.Object===Object&&self,O=E||m||Function("return this")();ce.exports=O},"L+An":function(ce,R,l){ce.exports={projectBody:"projectBody___1O75d",projectManger:"projectManger___2moa9",collapseLeftBtn:"collapseLeftBtn___271Yq",title:"title___LuK7d",tab:"tab___DxzVP",mainTip:"mainTip___1uvL1",resource:"resource___3CU5R",tree:"tree___2sPCD",headOperation:"headOperation___35Wj2",btn:"btn___2RLpC",resourceSearch:"resourceSearch___3I419",view:"view___1TePK",selectTypesBtn:"selectTypesBtn___24cg5",projectList:"projectList___3ra_d",addBtn:"addBtn___8opNc",treeTitle:"treeTitle___2YiW-",search:"search___lSpVC",projectItem:"projectItem___2-Mu_",operation:"operation___1tdgy",icon:"icon___1rxv-",user:"user___w0WDu",paramsName:"paramsName___2MM76",deleteBtn:"deleteBtn___1it0i",authBtn:"authBtn___L5Y_I",selectedResource:"selectedResource___3RJBb",switch:"switch___1jFlm",switchUser:"switchUser___38oOw",dimensionIntentionForm:"dimensionIntentionForm___FyYSx",classTable:"classTable____ikBn",classTableSelectColumnAlignLeft:"classTableSelectColumnAlignLeft___sqT0O",permissionDrawer:"permissionDrawer___D8WZs",domainSelector:"domainSelector___NAmEr",downIcon:"downIcon___1oUlL",overviewExtraContainer:"overviewExtraContainer___2blJS",extraWrapper:"extraWrapper___1WW79",extraStatistic:"extraStatistic___2jUk3",extraTitle:"extraTitle___3z5J2",extraValue:"extraValue___2Ir7u",infoTagList:"infoTagList___2JA93",siteTagPlus:"siteTagPlus___1xPLu",editTag:"editTag___3QSGZ",tagInput:"tagInput___3FcCc"}},L3Qv:function(ce,R,l){"use strict";function E(){return!1}R.a=E},L41K:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("bRQS"),C=l("4i/N"),k=l("TSYQ"),A=l.n(k),S=l("VTBJ"),y=l("Ff2n"),w=l("1OyB"),x=l("vuIU"),T=l("JX7q"),j=l("Ji7U"),D=l("LK+K"),N=l("q1tI"),F=l.n(N),B=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function U(ge){return typeof ge=="string"}var J=function(ge){Object(j.a)(Z,ge);var me=Object(D.a)(Z);function Z(){var xe;Object(w.a)(this,Z);for(var Ee=arguments.length,Le=new Array(Ee),we=0;we<Ee;we++)Le[we]=arguments[we];return xe=me.call.apply(me,[this].concat(Le)),Object(m.a)(Object(T.a)(xe),"onClick",function(){var fe=xe.props,pe=fe.onClick,Ke=fe.onStepClick,Me=fe.stepIndex;pe&&pe.apply(void 0,arguments),Ke(Me)}),xe}return Object(x.a)(Z,[{key:"renderIconNode",value:function(){var Ee,Le=this.props,we=Le.prefixCls,fe=Le.progressDot,pe=Le.stepIcon,Ke=Le.stepNumber,Me=Le.status,ze=Le.title,Ue=Le.description,He=Le.icon,Ne=Le.iconPrefix,it=Le.icons,Xe,ht=A()("".concat(we,"-icon"),"".concat(Ne,"icon"),(Ee={},Object(m.a)(Ee,"".concat(Ne,"icon-").concat(He),He&&U(He)),Object(m.a)(Ee,"".concat(Ne,"icon-check"),!He&&Me==="finish"&&(it&&!it.finish||!it)),Object(m.a)(Ee,"".concat(Ne,"icon-cross"),!He&&Me==="error"&&(it&&!it.error||!it)),Ee)),lt=N.createElement("span",{className:"".concat(we,"-icon-dot")});return fe?typeof fe=="function"?Xe=N.createElement("span",{className:"".concat(we,"-icon")},fe(lt,{index:Ke-1,status:Me,title:ze,description:Ue})):Xe=N.createElement("span",{className:"".concat(we,"-icon")},lt):He&&!U(He)?Xe=N.createElement("span",{className:"".concat(we,"-icon")},He):it&&it.finish&&Me==="finish"?Xe=N.createElement("span",{className:"".concat(we,"-icon")},it.finish):it&&it.error&&Me==="error"?Xe=N.createElement("span",{className:"".concat(we,"-icon")},it.error):He||Me==="finish"||Me==="error"?Xe=N.createElement("span",{className:ht}):Xe=N.createElement("span",{className:"".concat(we,"-icon")},Ke),pe&&(Xe=pe({index:Ke-1,status:Me,title:ze,description:Ue,node:Xe})),Xe}},{key:"render",value:function(){var Ee,Le=this.props,we=Le.className,fe=Le.prefixCls,pe=Le.style,Ke=Le.active,Me=Le.status,ze=Me===void 0?"wait":Me,Ue=Le.iconPrefix,He=Le.icon,Ne=Le.wrapperStyle,it=Le.stepNumber,Xe=Le.disabled,ht=Le.description,lt=Le.title,Et=Le.subTitle,tt=Le.progressDot,mt=Le.stepIcon,xt=Le.tailContent,Xt=Le.icons,vt=Le.stepIndex,qe=Le.onStepClick,Re=Le.onClick,Se=Object(y.a)(Le,B),Ve=A()("".concat(fe,"-item"),"".concat(fe,"-item-").concat(ze),we,(Ee={},Object(m.a)(Ee,"".concat(fe,"-item-custom"),He),Object(m.a)(Ee,"".concat(fe,"-item-active"),Ke),Object(m.a)(Ee,"".concat(fe,"-item-disabled"),Xe===!0),Ee)),Ge=Object(S.a)({},pe),_t={};return qe&&!Xe&&(_t.role="button",_t.tabIndex=0,_t.onClick=this.onClick),N.createElement("div",Object(E.a)({},Se,{className:Ve,style:Ge}),N.createElement("div",Object(E.a)({onClick:Re},_t,{className:"".concat(fe,"-item-container")}),N.createElement("div",{className:"".concat(fe,"-item-tail")},xt),N.createElement("div",{className:"".concat(fe,"-item-icon")},this.renderIconNode()),N.createElement("div",{className:"".concat(fe,"-item-content")},N.createElement("div",{className:"".concat(fe,"-item-title")},lt,Et&&N.createElement("div",{title:typeof Et=="string"?Et:void 0,className:"".concat(fe,"-item-subtitle")},Et)),ht&&N.createElement("div",{className:"".concat(fe,"-item-description")},ht))))}}]),Z}(N.Component),$=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","items"],X=function(ge){Object(j.a)(Z,ge);var me=Object(D.a)(Z);function Z(){var xe;Object(w.a)(this,Z);for(var Ee=arguments.length,Le=new Array(Ee),we=0;we<Ee;we++)Le[we]=arguments[we];return xe=me.call.apply(me,[this].concat(Le)),Object(m.a)(Object(T.a)(xe),"onStepClick",function(fe){var pe=xe.props,Ke=pe.onChange,Me=pe.current;Ke&&Me!==fe&&Ke(fe)}),xe}return Object(x.a)(Z,[{key:"render",value:function(){var Ee,Le=this,we=this.props,fe=we.prefixCls,pe=we.style,Ke=pe===void 0?{}:pe,Me=we.className,ze=we.children,Ue=we.direction,He=we.type,Ne=we.labelPlacement,it=we.iconPrefix,Xe=we.status,ht=we.size,lt=we.current,Et=we.progressDot,tt=we.stepIcon,mt=we.initial,xt=we.icons,Xt=we.onChange,vt=we.items,qe=vt===void 0?[]:vt,Re=Object(y.a)(we,$),Se=He==="navigation",Ve=Et?"vertical":Ne,Ge=A()(fe,"".concat(fe,"-").concat(Ue),Me,(Ee={},Object(m.a)(Ee,"".concat(fe,"-").concat(ht),ht),Object(m.a)(Ee,"".concat(fe,"-label-").concat(Ve),Ue==="horizontal"),Object(m.a)(Ee,"".concat(fe,"-dot"),!!Et),Object(m.a)(Ee,"".concat(fe,"-navigation"),Se),Ee));return F.a.createElement("div",Object(E.a)({className:Ge,style:Ke},Re),qe.filter(function(_t){return _t}).map(function(_t,bt){var gt=Object(S.a)({},_t),at=mt+bt;return Xe==="error"&&bt===lt-1&&(gt.className="".concat(fe,"-next-error")),gt.status||(at===lt?gt.status=Xe:at<lt?gt.status="finish":gt.status="wait"),F.a.createElement(J,Object(E.a)({},gt,{active:at===lt,stepNumber:at+1,stepIndex:at,key:at,prefixCls:fe,iconPrefix:it,wrapperStyle:Ke,progressDot:Et,stepIcon:tt,icons:xt,onStepClick:Xt&&Le.onStepClick}))}))}}]),Z}(F.a.Component);Object(m.a)(X,"Step",J),Object(m.a)(X,"defaultProps",{type:"default",prefixCls:"rc-steps",iconPrefix:"rc",direction:"horizontal",labelPlacement:"horizontal",initial:0,current:0,status:"process",size:"",progressDot:!1});var ee=X,ie=l("H84U"),G=l("5OYt"),Q=l("CFYs"),W=l("axMd");function ne(ge){return ge.filter(function(me){return me})}function te(ge,me){if(ge)return ge;var Z=Object(W.a)(me).map(function(xe){if(N.isValidElement(xe)){var Ee=xe.props,Le=Object(E.a)({},Ee);return Le}return null});return ne(Z)}var _e=function(ge,me){var Z={};for(var xe in ge)Object.prototype.hasOwnProperty.call(ge,xe)&&me.indexOf(xe)<0&&(Z[xe]=ge[xe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,xe=Object.getOwnPropertySymbols(ge);Ee<xe.length;Ee++)me.indexOf(xe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(ge,xe[Ee])&&(Z[xe[Ee]]=ge[xe[Ee]]);return Z},he=function(me){var Z,xe=me.percent,Ee=me.size,Le=me.className,we=me.direction,fe=me.items,pe=me.responsive,Ke=pe===void 0?!0:pe,Me=me.current,ze=Me===void 0?0:Me,Ue=me.children,He=_e(me,["percent","size","className","direction","items","responsive","current","children"]),Ne=Object(G.a)(Ke),it=Ne.xs,Xe=N.useContext(ie.b),ht=Xe.getPrefixCls,lt=Xe.direction,Et=N.useCallback(function(){return Ke&&it?"vertical":we},[it,we]),tt=ht("steps",me.prefixCls),mt=ht("",me.iconPrefix),xt=te(fe,Ue),Xt=A()((Z={},Object(m.a)(Z,"".concat(tt,"-rtl"),lt==="rtl"),Object(m.a)(Z,"".concat(tt,"-with-progress"),xe!==void 0),Z),Le),vt={finish:N.createElement(O.a,{className:"".concat(tt,"-finish-icon")}),error:N.createElement(C.a,{className:"".concat(tt,"-error-icon")})},qe=function(Se){var Ve=Se.node,Ge=Se.status;if(Ge==="process"&&xe!==void 0){var _t=Ee==="small"?32:40;return N.createElement("div",{className:"".concat(tt,"-progress-icon")},N.createElement(Q.a,{type:"circle",percent:xe,width:_t,strokeWidth:4,format:function(){return null}}),Ve)}return Ve};return N.createElement(ee,Object(E.a)({icons:vt},He,{current:ze,size:Ee,items:xt,direction:Et(),stepIcon:qe,prefixCls:tt,iconPrefix:mt,className:Xt}))};he.Step=ee.Step;var oe=R.a=he},L5O0:function(ce,R,l){var E=l("MMxC"),m=l("qA1w");E({target:"WeakSet",stat:!0},{of:m})},L8Ib:function(ce,R,l){"use strict";l.d(R,"a",function(){return E}),l.d(R,"b",function(){return m}),l.d(R,"c",function(){return S});var E={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET==="inner"?"TME_TOKEN":"SUPERSONIC_TOKEN",m="FROM_URL",O="#f87653",C="#446dff",k="#1b4aef",A="rgba(153, 153, 153, 0.3)",S;(function(j){j.None="\u65E0",j.TenThousand="\u4E07",j.EnTenThousand="w",j.OneHundredMillion="\u4EBF",j.Thousand="k",j.Million="M",j.Giga="G"})(S||(S={}));var y="\u65B0\u95EE\u7B54\u5BF9\u8BDD",w="\u95EE\u7B54\u5BF9\u8BDD",x="\u95EE\u7B54\u5BF9\u8BDD - \u8D85\u97F3\u6570",T="\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},L8Mr:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Photoshop=void 0;var E=function(){function ne(te,_e){for(var he=0;he<_e.length;he++){var oe=_e[he];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(te,oe.key,oe)}}return function(te,_e,he){return _e&&ne(te.prototype,_e),he&&ne(te,he),te}}(),m=l("q1tI"),O=ee(m),C=l("17x9"),k=ee(C),A=l("/FUP"),S=ee(A),y=l("QkVN"),w=ee(y),x=l("UtML"),T=l("KlR/"),j=ee(T),D=l("QCdE"),N=ee(D),F=l("q0r6"),B=ee(F),U=l("kGUU"),J=ee(U),$=l("XVSB"),X=ee($);function ee(ne){return ne&&ne.__esModule?ne:{default:ne}}function ie(ne,te){if(!(ne instanceof te))throw new TypeError("Cannot call a class as a function")}function G(ne,te){if(!ne)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te&&(typeof te=="object"||typeof te=="function")?te:ne}function Q(ne,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof te);ne.prototype=Object.create(te&&te.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}}),te&&(Object.setPrototypeOf?Object.setPrototypeOf(ne,te):ne.__proto__=te)}var W=R.Photoshop=function(ne){Q(te,ne);function te(_e){ie(this,te);var he=G(this,(te.__proto__||Object.getPrototypeOf(te)).call(this));return he.state={currentColor:_e.hex},he}return E(te,[{key:"render",value:function(){var he=this.props,oe=he.styles,ge=oe===void 0?{}:oe,me=he.className,Z=me===void 0?"":me,xe=(0,S.default)((0,w.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},ge));return O.default.createElement("div",{style:xe.picker,className:"photoshop-picker "+Z},O.default.createElement("div",{style:xe.head},this.props.header),O.default.createElement("div",{style:xe.body,className:"flexbox-fix"},O.default.createElement("div",{style:xe.saturation},O.default.createElement(x.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:N.default,onChange:this.props.onChange})),O.default.createElement("div",{style:xe.hue},O.default.createElement(x.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:B.default,onChange:this.props.onChange})),O.default.createElement("div",{style:xe.controls},O.default.createElement("div",{style:xe.top,className:"flexbox-fix"},O.default.createElement("div",{style:xe.previews},O.default.createElement(X.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),O.default.createElement("div",{style:xe.actions},O.default.createElement(J.default,{label:"OK",onClick:this.props.onAccept,active:!0}),O.default.createElement(J.default,{label:"Cancel",onClick:this.props.onCancel}),O.default.createElement(j.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),te}(O.default.Component);W.propTypes={header:k.default.string,styles:k.default.object},W.defaultProps={header:"Color Picker",styles:{}},R.default=(0,x.ColorWrap)(W)},L8xA:function(ce,R){function l(E){var m=this.__data__,O=m.delete(E);return this.size=m.size,O}ce.exports=l},LDyf:function(ce,R,l){"use strict";var E=this&&this.__createBinding||(Object.create?function(O,C,k,A){A===void 0&&(A=k),Object.defineProperty(O,A,{enumerable:!0,get:function(){return C[k]}})}:function(O,C,k,A){A===void 0&&(A=k),O[A]=C[k]}),m=this&&this.__exportStar||function(O,C){for(var k in O)k!=="default"&&!Object.prototype.hasOwnProperty.call(C,k)&&E(C,O,k)};Object.defineProperty(R,"__esModule",{value:!0}),m(l("PZj6"),R),m(l("Rw4t"),R),m(l("z+Cf"),R)},LGYb:function(ce,R,l){var E=l("1hJj"),m=l("jbM+"),O=l("Xt/L"),C=l("xYSL"),k=l("dQpi"),A=l("rEGp"),S=200;function y(w,x,T){var j=-1,D=m,N=w.length,F=!0,B=[],U=B;if(T)F=!1,D=O;else if(N>=S){var J=x?null:k(w);if(J)return A(J);F=!1,D=C,U=new E}else U=x?[]:B;e:for(;++j<N;){var $=w[j],X=x?x($):$;if($=T||$!==0?$:0,F&&X===X){for(var ee=U.length;ee--;)if(U[ee]===X)continue e;x&&U.push(X),B.push($)}else D(U,X,T)||(U!==B&&U.push(X),B.push($))}return B}ce.exports=y},LJ80:function(ce,R,l){var E=l("jtLI"),m=l("cC5k"),O=l("g8rt"),C=l("YfKC");ce.exports=function(k,A){for(var S=m(A),y=C.f,w=O.f,x=0;x<S.length;x++){var T=S[x];E(k,T)||y(k,T,w(A,T))}}},"LK+K":function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("foSv");function m(){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(k){return!1}}var O=l("md7G");function C(k){var A=m();return function(){var y=Object(E.a)(k),w;if(A){var x=Object(E.a)(this).constructor;w=Reflect.construct(y,arguments,x)}else w=y.apply(this,arguments);return Object(O.a)(this,w)}}},LKzl:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingWhenOnSyntax=void 0;var E=l("406g"),m=l("z4Hk"),O=function(){function C(k){this._binding=k,this._bindingWhenSyntax=new m.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new E.BindingOnSyntax(this._binding)}return C.prototype.when=function(k){return this._bindingWhenSyntax.when(k)},C.prototype.whenTargetNamed=function(k){return this._bindingWhenSyntax.whenTargetNamed(k)},C.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},C.prototype.whenTargetTagged=function(k,A){return this._bindingWhenSyntax.whenTargetTagged(k,A)},C.prototype.whenInjectedInto=function(k){return this._bindingWhenSyntax.whenInjectedInto(k)},C.prototype.whenParentNamed=function(k){return this._bindingWhenSyntax.whenParentNamed(k)},C.prototype.whenParentTagged=function(k,A){return this._bindingWhenSyntax.whenParentTagged(k,A)},C.prototype.whenAnyAncestorIs=function(k){return this._bindingWhenSyntax.whenAnyAncestorIs(k)},C.prototype.whenNoAncestorIs=function(k){return this._bindingWhenSyntax.whenNoAncestorIs(k)},C.prototype.whenAnyAncestorNamed=function(k){return this._bindingWhenSyntax.whenAnyAncestorNamed(k)},C.prototype.whenAnyAncestorTagged=function(k,A){return this._bindingWhenSyntax.whenAnyAncestorTagged(k,A)},C.prototype.whenNoAncestorNamed=function(k){return this._bindingWhenSyntax.whenNoAncestorNamed(k)},C.prototype.whenNoAncestorTagged=function(k,A){return this._bindingWhenSyntax.whenNoAncestorTagged(k,A)},C.prototype.whenAnyAncestorMatches=function(k){return this._bindingWhenSyntax.whenAnyAncestorMatches(k)},C.prototype.whenNoAncestorMatches=function(k){return this._bindingWhenSyntax.whenNoAncestorMatches(k)},C.prototype.onActivation=function(k){return this._bindingOnSyntax.onActivation(k)},C}();R.BindingWhenOnSyntax=O},LOBb:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Slider=void 0;var E=l("q1tI"),m=N(E),O=l("17x9"),C=N(O),k=l("/FUP"),A=N(k),S=l("QkVN"),y=N(S),w=l("UtML"),x=l("Ae/L"),T=N(x),j=l("0rfJ"),D=N(j);function N(B){return B&&B.__esModule?B:{default:B}}var F=R.Slider=function(U){var J=U.hsl,$=U.onChange,X=U.pointer,ee=U.styles,ie=ee===void 0?{}:ee,G=U.className,Q=G===void 0?"":G,W=(0,A.default)((0,y.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},ie));return m.default.createElement("div",{style:W.wrap||{},className:"slider-picker "+Q},m.default.createElement("div",{style:W.hue},m.default.createElement(w.Hue,{style:W.Hue,hsl:J,pointer:X,onChange:$})),m.default.createElement("div",{style:W.swatches},m.default.createElement(T.default,{hsl:J,onClick:$})))};F.propTypes={styles:C.default.object},F.defaultProps={pointer:D.default,styles:{}},R.default=(0,w.ColorWrap)(F)},LPhD:function(ce,R,l){var E=l("R/W3");function m(O,C){for(var k=O.length;k--&&E(C,O[k],0)>-1;);return k}ce.exports=m},LQ03:function(ce,R,l){var E=l("Nsbk"),m=l("b48C"),O=l("a1gu");function C(k){var A=m();return function(){var y=E(k),w;if(A){var x=E(this).constructor;w=Reflect.construct(y,arguments,x)}else w=y.apply(this,arguments);return O(this,w)}}ce.exports=C,ce.exports.__esModule=!0,ce.exports.default=ce.exports},LQCs:function(ce,R,l){"use strict";l.d(R,"c",function(){return Se}),l.d(R,"a",function(){return ft}),l.d(R,"d",function(){return Fe});var E=l("GNNt"),m=l("wEI+"),O=l("VTBJ"),C=l("uFwe"),k=l("nKUr"),A=l("+Gva"),S=l("q1tI"),y=l.n(S),w=l("Lpa7"),x={moneySymbol:"$",form:{lightFilter:{more:"\u0627\u0644\u0645\u0632\u064A\u062F",clear:"\u0646\u0638\u0641",confirm:"\u062A\u0623\u0643\u064A\u062F",itemUnit:"\u0639\u0646\u0627\u0635\u0631"}},tableForm:{search:"\u0627\u0628\u062D\u062B",reset:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646",submit:"\u0627\u0631\u0633\u0627\u0644",collapsed:"\u0645\u064F\u0642\u0644\u0635",expand:"\u0645\u064F\u0648\u0633\u0639",inputPlaceholder:"\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0625\u062F\u062E\u0627\u0644",selectPlaceholder:"\u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0625\u062E\u062A\u064A\u0627\u0631"},alert:{clear:"\u0646\u0638\u0641",selected:"\u0645\u062D\u062F\u062F",item:"\u0639\u0646\u0635\u0631"},pagination:{total:{range:" ",total:"\u0645\u0646",item:"\u0639\u0646\u0627\u0635\u0631"}},tableToolBar:{leftPin:"\u062B\u0628\u062A \u0639\u0644\u0649 \u0627\u0644\u064A\u0633\u0627\u0631",rightPin:"\u062B\u0628\u062A \u0639\u0644\u0649 \u0627\u0644\u064A\u0645\u064A\u0646",noPin:"\u0627\u0644\u063A\u0627\u0621 \u0627\u0644\u062A\u062B\u0628\u064A\u062A",leftFixedTitle:"\u0644\u0635\u0642 \u0639\u0644\u0649 \u0627\u0644\u064A\u0633\u0627\u0631",rightFixedTitle:"\u0644\u0635\u0642 \u0639\u0644\u0649 \u0627\u0644\u064A\u0645\u064A\u0646",noFixedTitle:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0625\u0644\u0635\u0627\u0642",reset:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646",columnDisplay:"\u0627\u0644\u0623\u0639\u0645\u062F\u0629 \u0627\u0644\u0645\u0639\u0631\u0648\u0636\u0629",columnSetting:"\u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A",fullScreen:"\u0648\u0636\u0639 \u0643\u0627\u0645\u0644 \u0627\u0644\u0634\u0627\u0634\u0629",exitFullScreen:"\u0627\u0644\u062E\u0631\u0648\u062C \u0645\u0646 \u0648\u0636\u0639 \u0643\u0627\u0645\u0644 \u0627\u0644\u0634\u0627\u0634\u0629",reload:"\u062A\u062D\u062F\u064A\u062B",density:"\u0627\u0644\u0643\u062B\u0627\u0641\u0629",densityDefault:"\u0627\u0641\u062A\u0631\u0627\u0636\u064A",densityLarger:"\u0623\u0643\u0628\u0631",densityMiddle:"\u0648\u0633\u0637",densitySmall:"\u0645\u062F\u0645\u062C"},stepsForm:{next:"\u0627\u0644\u062A\u0627\u0644\u064A",prev:"\u0627\u0644\u0633\u0627\u0628\u0642",submit:"\u0623\u0646\u0647\u0649"},loginForm:{submitText:"\u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644"},editableTable:{action:{save:"\u0623\u0646\u0642\u0630",cancel:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0623\u0645\u0631",delete:"\u062D\u0630\u0641",add:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0641 \u0645\u0646 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A"}},switch:{open:"\u0645\u0641\u062A\u0648\u062D",close:"\u063A\u0644\u0642"}},T={moneySymbol:"\u20AC",form:{lightFilter:{more:"M\xE1is",clear:"Limpar",confirm:"Confirmar",itemUnit:"Elementos"}},tableForm:{search:"Cercar",reset:"Netejar",submit:"Enviar",collapsed:"Expandir",expand:"Col\xB7lapsar",inputPlaceholder:"Introdu\xEFu valor",selectPlaceholder:"Seleccioneu valor"},alert:{clear:"Netejar",selected:"Seleccionat",item:"Article"},pagination:{total:{range:" ",total:"de",item:"articles"}},tableToolBar:{leftPin:"Pin a l'esquerra",rightPin:"Pin a la dreta",noPin:"Sense Pin",leftFixedTitle:"Fixat a l'esquerra",rightFixedTitle:"Fixat a la dreta",noFixedTitle:"Sense fixar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuraci\xF3",fullScreen:"Pantalla Completa",exitFullScreen:"Sortir Pantalla Completa",reload:"Refrescar",density:"Densitat",densityDefault:"Per Defecte",densityLarger:"Llarg",densityMiddle:"Mitj\xE0",densitySmall:"Compacte"},stepsForm:{next:"Seg\xFCent",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Gardar",cancel:"Cancelar",delete:"Eliminar",add:"engadir unha fila de datos"}},switch:{open:"aberto",close:"pechar"}},j={moneySymbol:"\u20AC",form:{lightFilter:{more:"Mehr",clear:"Zur\xFCcksetzen",confirm:"Best\xE4tigen",itemUnit:"Eintr\xE4ge"}},tableForm:{search:"Suchen",reset:"Zur\xFCcksetzen",submit:"Absenden",collapsed:"Zeige mehr",expand:"Zeige weniger",inputPlaceholder:"Bitte eingeben",selectPlaceholder:"Bitte ausw\xE4hlen"},alert:{clear:"Zur\xFCcksetzen",selected:"Ausgew\xE4hlt",item:"Eintrag"},pagination:{total:{range:" ",total:"von",item:"Eintr\xE4gen"}},tableToolBar:{leftPin:"Links anheften",rightPin:"Rechts anheften",noPin:"Nicht angeheftet",leftFixedTitle:"Links fixiert",rightFixedTitle:"Rechts fixiert",noFixedTitle:"Nicht fixiert",reset:"Zur\xFCcksetzen",columnDisplay:"Angezeigte Reihen",columnSetting:"Einstellungen",fullScreen:"Vollbild",exitFullScreen:"Vollbild verlassen",reload:"Aktualisieren",density:"Abstand",densityDefault:"Standard",densityLarger:"Gr\xF6\xDFer",densityMiddle:"Mittel",densitySmall:"Kompakt"},stepsForm:{next:"Weiter",prev:"Zur\xFCck",submit:"Abschlie\xDFen"},loginForm:{submitText:"Anmelden"},editableTable:{action:{save:"Retten",cancel:"Abbrechen",delete:"L\xF6schen",add:"Hinzuf\xFCgen einer Datenzeile"}},switch:{open:"offen",close:"schlie\xDFen"}},D={moneySymbol:"\xA3",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},N={moneySymbol:"$",deleteThisLine:"Delete this line",copyThisLine:"Copy this line",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed the left",rightFixedTitle:"Fixed the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},F={moneySymbol:"\u20AC",form:{lightFilter:{more:"M\xE1s",clear:"Limpiar",confirm:"Confirmar",itemUnit:"art\xEDculos"}},tableForm:{search:"Buscar",reset:"Limpiar",submit:"Submit",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Ingrese valor",selectPlaceholder:"Seleccione valor"},alert:{clear:"Limpiar",selected:"Seleccionado",item:"Articulo"},pagination:{total:{range:" ",total:"de",item:"art\xEDculos"}},tableToolBar:{leftPin:"Pin a la izquierda",rightPin:"Pin a la derecha",noPin:"Sin Pin",leftFixedTitle:"Fijado a la izquierda",rightFixedTitle:"Fijado a la derecha",noFixedTitle:"Sin Fijar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuraci\xF3n",fullScreen:"Pantalla Completa",exitFullScreen:"Salir Pantalla Completa",reload:"Refrescar",density:"Densidad",densityDefault:"Por Defecto",densityLarger:"Largo",densityMiddle:"Medio",densitySmall:"Compacto"},stepsForm:{next:"Siguiente",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Descartar",delete:"Borrar",add:"a\xF1adir una fila de datos"}},switch:{open:"abrir",close:"cerrar"}},B={moneySymbol:"\u062A\u0648\u0645\u0627\u0646",form:{lightFilter:{more:"\u0628\u06CC\u0634\u062A\u0631",clear:"\u067E\u0627\u06A9 \u06A9\u0631\u062F\u0646",confirm:"\u062A\u0627\u06CC\u06CC\u062F",itemUnit:"\u0645\u0648\u0631\u062F"}},tableForm:{search:"\u062C\u0633\u062A\u062C\u0648",reset:"\u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06CC",submit:"\u062A\u0627\u06CC\u06CC\u062F",collapsed:"\u0646\u0645\u0627\u06CC\u0634 \u0628\u06CC\u0634\u062A\u0631",expand:"\u0646\u0645\u0627\u06CC\u0634 \u06A9\u0645\u062A\u0631",inputPlaceholder:"\u067E\u06CC\u062F\u0627 \u06A9\u0646\u06CC\u062F",selectPlaceholder:"\u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"},alert:{clear:"\u067E\u0627\u06A9 \u0633\u0627\u0632\u06CC",selected:"\u0627\u0646\u062A\u062E\u0627\u0628",item:"\u0645\u0648\u0631\u062F"},pagination:{total:{range:" ",total:"\u0627\u0632",item:"\u0645\u0648\u0631\u062F"}},tableToolBar:{leftPin:"\u0633\u0646\u062C\u0627\u0642 \u0628\u0647 \u0686\u067E",rightPin:"\u0633\u0646\u062C\u0627\u0642 \u0628\u0647 \u0631\u0627\u0633\u062A",noPin:"\u0633\u0646\u062C\u0627\u0642 \u0646\u0634\u062F\u0647",leftFixedTitle:"\u062B\u0627\u0628\u062A \u0634\u062F\u0647 \u062F\u0631 \u0686\u067E",rightFixedTitle:"\u062B\u0627\u0628\u062A \u0634\u062F\u0647 \u062F\u0631 \u0631\u0627\u0633\u062A",noFixedTitle:"\u0634\u0646\u0627\u0648\u0631",reset:"\u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06CC",columnDisplay:"\u0646\u0645\u0627\u06CC\u0634 \u0647\u0645\u0647",columnSetting:"\u062A\u0646\u0638\u06CC\u0645\u0627\u062A",fullScreen:"\u062A\u0645\u0627\u0645 \u0635\u0641\u062D\u0647",exitFullScreen:"\u062E\u0631\u0648\u062C \u0627\u0632 \u062D\u0627\u0644\u062A \u062A\u0645\u0627\u0645 \u0635\u0641\u062D\u0647",reload:"\u062A\u0627\u0632\u0647 \u0633\u0627\u0632\u06CC",density:"\u062A\u0631\u0627\u06A9\u0645",densityDefault:"\u067E\u06CC\u0634 \u0641\u0631\u0636",densityLarger:"\u0628\u0632\u0631\u06AF",densityMiddle:"\u0645\u062A\u0648\u0633\u0637",densitySmall:"\u06A9\u0648\u0686\u06A9"},stepsForm:{next:"\u0628\u0639\u062F\u06CC",prev:"\u0642\u0628\u0644\u06CC",submit:"\u0627\u062A\u0645\u0627\u0645"},loginForm:{submitText:"\u0648\u0631\u0648\u062F"},editableTable:{action:{save:"\u0630\u062E\u06CC\u0631\u0647",cancel:"\u0644\u063A\u0648",delete:"\u062D\u0630\u0641",add:"\u06CC\u06A9 \u0631\u062F\u06CC\u0641 \u062F\u0627\u062F\u0647 \u0627\u0636\u0627\u0641\u0647 \u06A9\u0646\u06CC\u062F"}},switch:{open:"\u0628\u0627\u0632",close:"\u0646\u0632\u062F\u06CC\u06A9"}},U={moneySymbol:"\u20AC",form:{lightFilter:{more:"Plus",clear:"Effacer",confirm:"Confirmer",itemUnit:"Items"}},tableForm:{search:"Rechercher",reset:"R\xE9initialiser",submit:"Envoyer",collapsed:"Agrandir",expand:"R\xE9duire",inputPlaceholder:"Entrer une valeur",selectPlaceholder:"S\xE9lectionner une valeur"},alert:{clear:"R\xE9initialiser",selected:"S\xE9lectionn\xE9",item:"Item"},pagination:{total:{range:" ",total:"sur",item:"\xE9l\xE9ments"}},tableToolBar:{leftPin:"\xC9pingler \xE0 gauche",rightPin:"\xC9pingler \xE0 gauche",noPin:"Sans \xE9pingle",leftFixedTitle:"Fixer \xE0 gauche",rightFixedTitle:"Fixer \xE0 droite",noFixedTitle:"Non fix\xE9",reset:"R\xE9initialiser",columnDisplay:"Affichage colonne",columnSetting:"R\xE9glages",fullScreen:"Plein \xE9cran",exitFullScreen:"Quitter Plein \xE9cran",reload:"Rafraichir",density:"Densit\xE9",densityDefault:"Par d\xE9faut",densityLarger:"Larger",densityMiddle:"Moyenne",densitySmall:"Compacte"},stepsForm:{next:"Suivante",prev:"Pr\xE9c\xE9dente",submit:"Finaliser"},loginForm:{submitText:"Se connecter"},editableTable:{action:{save:"Sauvegarder",cancel:"Annuler",delete:"Supprimer",add:"ajouter une ligne de donn\xE9es"}},switch:{open:"ouvert",close:"pr\xE8s"}},J={moneySymbol:"kn",form:{lightFilter:{more:"Vi\u0161e",clear:"O\u010Disti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pretra\u017Ei",reset:"Poni\u0161ti",submit:"Potvrdi",collapsed:"Ra\u0161iri",expand:"Skupi",inputPlaceholder:"Unesite",selectPlaceholder:"Odaberite"},alert:{clear:"O\u010Disti",selected:"Odaberi",item:"stavke"},pagination:{total:{range:" ",total:"od",item:"stavke"}},tableToolBar:{leftPin:"Prika\u010Di lijevo",rightPin:"Prika\u010Di desno",noPin:"Bez prika\u010Denja",leftFixedTitle:"Fiksiraj lijevo",rightFixedTitle:"Fiksiraj desno",noFixedTitle:"Bez fiksiranja",reset:"Resetiraj",columnDisplay:"Prikaz stupaca",columnSetting:"Postavke",fullScreen:"Puni zaslon",exitFullScreen:"Iza\u0111i iz punog zaslona",reload:"Ponovno u\u010Ditaj",density:"Veli\u010Dina",densityDefault:"Zadano",densityLarger:"Veliko",densityMiddle:"Srednje",densitySmall:"Malo"},stepsForm:{next:"Sljede\u0107i",prev:"Prethodni",submit:"Kraj"},loginForm:{submitText:"Prijava"},editableTable:{action:{save:"Spremi",cancel:"Odustani",delete:"Obri\u0161i",add:"dodajte red podataka"}},switch:{open:"otvori",close:"zatvori"}},$={moneySymbol:"RP",form:{lightFilter:{more:"Lebih",clear:"Hapus",confirm:"Konfirmasi",itemUnit:"Unit"}},tableForm:{search:"Cari",reset:"Atur ulang",submit:"Kirim",collapsed:"Lebih sedikit",expand:"Lebih banyak",inputPlaceholder:"Masukkan pencarian",selectPlaceholder:"Pilih"},alert:{clear:"Hapus",selected:"Dipilih",item:"Butir"},pagination:{total:{range:" ",total:"Dari",item:"Butir"}},tableToolBar:{leftPin:"Pin kiri",rightPin:"Pin kanan",noPin:"Tidak ada pin",leftFixedTitle:"Rata kiri",rightFixedTitle:"Rata kanan",noFixedTitle:"Tidak tetap",reset:"Atur ulang",columnDisplay:"Tampilan kolom",columnSetting:"Pengaturan",fullScreen:"Layar penuh",exitFullScreen:"Keluar layar penuh",reload:"Atur ulang",density:"Kerapatan",densityDefault:"Standar",densityLarger:"Lebih besar",densityMiddle:"Sedang",densitySmall:"Rapat"},stepsForm:{next:"Selanjutnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Login"},editableTable:{action:{save:"simpan",cancel:"batal",delete:"hapus",add:"Tambahkan baris data"}},switch:{open:"buka",close:"tutup"}},X={moneySymbol:"\u20AC",form:{lightFilter:{more:"pi\xF9",clear:"pulisci",confirm:"conferma",itemUnit:"elementi"}},tableForm:{search:"Filtra",reset:"Pulisci",submit:"Invia",collapsed:"Espandi",expand:"Contrai",inputPlaceholder:"Digita",selectPlaceholder:"Seleziona"},alert:{clear:"Rimuovi",selected:"Selezionati",item:"elementi"},pagination:{total:{range:" ",total:"di",item:"elementi"}},tableToolBar:{leftPin:"Fissa a sinistra",rightPin:"Fissa a destra",noPin:"Ripristina posizione",leftFixedTitle:"Fissato a sinistra",rightFixedTitle:"Fissato a destra",noFixedTitle:"Non fissato",reset:"Ripristina",columnDisplay:"Disposizione colonne",columnSetting:"Impostazioni",fullScreen:"Modalit\xE0 schermo intero",exitFullScreen:"Esci da modalit\xE0 schermo intero",reload:"Ricarica",density:"Grandezza tabella",densityDefault:"predefinito",densityLarger:"Grande",densityMiddle:"Media",densitySmall:"Compatta"},stepsForm:{next:"successivo",prev:"precedente",submit:"finisci"},loginForm:{submitText:"Accedi"},editableTable:{action:{save:"salva",cancel:"annulla",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"chiudi"}},ee={moneySymbol:"\xA5",form:{lightFilter:{more:"\u3082\u3063\u3068",clear:"\u660E\u78BA",confirm:"\u78BA\u8A8D",itemUnit:"\u9805\u76EE"}},tableForm:{search:"\u691C\u7D22",reset:"\u30EA\u30BB\u30C3\u30C8",submit:"\u63D0\u4EA4",collapsed:"\u5C55\u958B",expand:"\u53CE\u7D0D",inputPlaceholder:"\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",selectPlaceholder:"\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"},alert:{clear:"\u30AF\u30EA\u30A2",selected:"\u9078\u629E\u3057\u305F",item:"\u9805\u76EE"},pagination:{total:{range:"\u8A18\u4E8B",total:"/\u5408\u8A08",item:" "}},tableToolBar:{leftPin:"\u5DE6\u306B\u56FA\u5B9A",rightPin:"\u53F3\u306B\u56FA\u5B9A",noPin:"\u30AD\u30E3\u30F3\u30BB\u30EB",leftFixedTitle:"\u5DE6\u306B\u56FA\u5B9A\u3055\u308C\u305F\u9805\u76EE",rightFixedTitle:"\u53F3\u306B\u56FA\u5B9A\u3055\u308C\u305F\u9805\u76EE",noFixedTitle:"\u56FA\u5B9A\u3055\u308C\u3066\u306A\u3044\u9805\u76EE",reset:"\u30EA\u30BB\u30C3\u30C8",columnDisplay:"\u8868\u793A\u5217",columnSetting:"\u5217\u8868\u793A\u8A2D\u5B9A",fullScreen:"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3",exitFullScreen:"\u7D42\u4E86",reload:"\u66F4\u65B0",density:"\u884C\u9AD8",densityDefault:"\u30C7\u30D5\u30A9\u30EB\u30C8",densityLarger:"\u9ED8\u8BA4",densityMiddle:"\u4E2D",densitySmall:"\u5C0F"},stepsForm:{next:"\u6B21\u306E\u30B9\u30C6\u30C3\u30D7",prev:"\u524D",submit:"\u9001\u4FE1"},loginForm:{submitText:"\u30ED\u30B0\u30A4\u30F3"},editableTable:{action:{save:"\u6551\u3046",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",delete:"\u524A\u9664",add:"1\u884C\u306E\u30C7\u30FC\u30BF\u3092\u8FFD\u52A0\u3057\u307E\u3059"}},switch:{open:"\u30AA\u30FC\u30D7\u30F3",close:"\u8FD1\u3044"}},ie={moneySymbol:"\u20A9",form:{lightFilter:{more:"\uB354\uBCF4\uAE30",clear:"\uCDE8\uC18C",confirm:"\uD655\uC778",itemUnit:"\uAC74\uC218"}},tableForm:{search:"\uC870\uD68C",reset:"\uCD08\uAE30\uD654",submit:"\uC81C\uCD9C",collapsed:"\uD655\uC7A5",expand:"\uB2EB\uAE30",inputPlaceholder:"\uC785\uB825\uD574 \uC8FC\uC138\uC694",selectPlaceholder:"\uC120\uD0DD\uD574 \uC8FC\uC138\uC694"},alert:{clear:"\uCDE8\uC18C",selected:"\uC120\uD0DD",item:"\uAC74"},pagination:{total:{range:" ",total:"/ \uCD1D",item:"\uAC74"}},tableToolBar:{leftPin:"\uC67C\uCABD\uC73C\uB85C \uD540",rightPin:"\uC624\uB978\uCABD\uC73C\uB85C \uD540",noPin:"\uD540 \uC81C\uAC70",leftFixedTitle:"\uC67C\uCABD\uC73C\uB85C \uACE0\uC815",rightFixedTitle:"\uC624\uB978\uCABD\uC73C\uB85C \uACE0\uC815",noFixedTitle:"\uBE44\uACE0\uC815",reset:"\uCD08\uAE30\uD654",columnDisplay:"\uCEEC\uB7FC \uD45C\uC2DC",columnSetting:"\uC124\uC815",fullScreen:"\uC804\uCCB4 \uD654\uBA74",exitFullScreen:"\uC804\uCCB4 \uD654\uBA74 \uCDE8\uC18C",reload:"\uB2E4\uC2DC \uC77D\uAE30",density:"\uC5EC\uBC31",densityDefault:"\uAE30\uBCF8",densityLarger:"\uB9CE\uC740 \uC5EC\uBC31",densityMiddle:"\uC911\uAC04 \uC5EC\uBC31",densitySmall:"\uC881\uC740 \uC5EC\uBC31"},stepsForm:{next:"\uB2E4\uC74C",prev:"\uC774\uC804",submit:"\uC885\uB8CC"},loginForm:{submitText:"\uB85C\uADF8\uC778"},editableTable:{action:{save:"\uC800\uC7A5",cancel:"\uCDE8\uC18C",delete:"\uC0AD\uC81C",add:"\uB370\uC774\uD130 \uD589 \uCD94\uAC00"}},switch:{open:"\uC5F4",close:"\uAC00\uAE4C \uC6B4"}},G={moneySymbol:"\u20AE",form:{lightFilter:{more:"\u0418\u043B\u04AF\u04AF",clear:"\u0426\u044D\u0432\u044D\u0440\u043B\u044D\u0445",confirm:"\u0411\u0430\u0442\u0430\u043B\u0433\u0430\u0430\u0436\u0443\u0443\u043B\u0430\u0445",itemUnit:"\u041D\u044D\u0433\u0436\u04AF\u04AF\u0434"}},tableForm:{search:"\u0425\u0430\u0439\u0445",reset:"\u0428\u0438\u043D\u044D\u0447\u043B\u044D\u0445",submit:"\u0418\u043B\u0433\u044D\u044D\u0445",collapsed:"\u04E8\u0440\u0433\u04E9\u0442\u0433\u04E9\u0445",expand:"\u0425\u0443\u0440\u0430\u0430\u0445",inputPlaceholder:"\u0423\u0442\u0433\u0430 \u043E\u0440\u0443\u0443\u043B\u043D\u0430 \u0443\u0443",selectPlaceholder:"\u0423\u0442\u0433\u0430 \u0441\u043E\u043D\u0433\u043E\u043D\u043E \u0443\u0443"},alert:{clear:"\u0426\u044D\u0432\u044D\u0440\u043B\u044D\u0445",selected:"\u0421\u043E\u043D\u0433\u043E\u0433\u0434\u0441\u043E\u043D",item:"\u041D\u044D\u0433\u0436"},pagination:{total:{range:" ",total:"\u041D\u0438\u0439\u0442",item:"\u043C\u04E9\u0440"}},tableToolBar:{leftPin:"\u0417\u04AF\u04AF\u043D \u0442\u0438\u0439\u0448 \u0431\u044D\u0445\u043B\u044D\u0445",rightPin:"\u0411\u0430\u0440\u0443\u0443\u043D \u0442\u0438\u0439\u0448 \u0431\u044D\u0445\u043B\u044D\u0445",noPin:"\u0411\u044D\u0445\u043B\u044D\u0445\u0433\u04AF\u0439",leftFixedTitle:"\u0417\u04AF\u04AF\u043D \u0437\u044D\u0440\u044D\u0433\u0446\u04AF\u04AF\u043B\u044D\u0445",rightFixedTitle:"\u0411\u0430\u0440\u0443\u0443\u043D \u0437\u044D\u0440\u044D\u0433\u0446\u04AF\u04AF\u043B\u044D\u0445",noFixedTitle:"\u0417\u044D\u0440\u044D\u0433\u0446\u04AF\u04AF\u043B\u044D\u0445\u0433\u04AF\u0439",reset:"\u0428\u0438\u043D\u044D\u0447\u043B\u044D\u0445",columnDisplay:"\u0411\u0430\u0433\u0430\u043D\u0430\u0430\u0440 \u0445\u0430\u0440\u0443\u0443\u043B\u0430\u0445",columnSetting:"\u0422\u043E\u0445\u0438\u0440\u0433\u043E\u043E",fullScreen:"\u0411\u04AF\u0442\u044D\u043D \u0434\u044D\u043B\u0433\u044D\u0446\u044D\u044D\u0440",exitFullScreen:"\u0411\u04AF\u0442\u044D\u043D \u0434\u044D\u043B\u0433\u044D\u0446 \u0446\u0443\u0446\u043B\u0430\u0445",reload:"\u0428\u0438\u043D\u044D\u0447\u043B\u044D\u0445",density:"\u0425\u044D\u043C\u0436\u044D\u044D",densityDefault:"\u0425\u044D\u0432\u0438\u0439\u043D",densityLarger:"\u0422\u043E\u043C",densityMiddle:"\u0414\u0443\u043D\u0434",densitySmall:"\u0416\u0438\u0436\u0438\u0433"},stepsForm:{next:"\u0414\u0430\u0440\u0430\u0430\u0445",prev:"\u04E8\u043C\u043D\u04E9\u0445",submit:"\u0414\u0443\u0443\u0441\u0433\u0430\u0445"},loginForm:{submitText:"\u041D\u044D\u0432\u0442\u0440\u044D\u0445"},editableTable:{action:{save:"\u0425\u0430\u0434\u0433\u0430\u043B\u0430\u0445",cancel:"\u0426\u0443\u0446\u043B\u0430\u0445",delete:"\u0423\u0441\u0442\u0433\u0430\u0445",add:"\u041C\u04E9\u0440 \u043D\u044D\u043C\u044D\u0445"}},switch:{open:"\u041D\u044D\u044D\u0445",close:"\u0425\u0430\u0430\u0445"}},Q={moneySymbol:"RM",form:{lightFilter:{more:"Lebih banyak",clear:"Jelas",confirm:"Mengesahkan",itemUnit:"Item"}},tableForm:{search:"Cari",reset:"Menetapkan semula",submit:"Hantar",collapsed:"Kembang",expand:"Kuncup",inputPlaceholder:"Sila masuk",selectPlaceholder:"Sila pilih"},alert:{clear:"Padam",selected:"Dipilih",item:"Item"},pagination:{total:{range:" ",total:"daripada",item:"item"}},tableToolBar:{leftPin:"Pin ke kiri",rightPin:"Pin ke kanan",noPin:"Tidak pin",leftFixedTitle:"Tetap ke kiri",rightFixedTitle:"Tetap ke kanan",noFixedTitle:"Tidak Tetap",reset:"Menetapkan semula",columnDisplay:"Lajur",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Keluar Full Screen",reload:"Muat Semula",density:"Densiti",densityDefault:"Biasa",densityLarger:"Besar",densityMiddle:"Tengah",densitySmall:"Kecil"},stepsForm:{next:"Seterusnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Log Masuk"},editableTable:{action:{save:"Simpan",cancel:"Membatalkan",delete:"Menghapuskan",add:"tambah baris data"}},switch:{open:"Terbuka",close:"Tutup"}},W={moneySymbol:"z\u0142",form:{lightFilter:{more:"Wi\u0119cej",clear:"Wyczy\u015B\u0107",confirm:"Potwierd\u017A",itemUnit:"Ilo\u015B\u0107"}},tableForm:{search:"Szukaj",reset:"Reset",submit:"Zatwierd\u017A",collapsed:"Poka\u017C wiecej",expand:"Poka\u017C mniej",inputPlaceholder:"Prosz\u0119 poda\u0107",selectPlaceholder:"Prosz\u0119 wybra\u0107"},alert:{clear:"Wyczy\u015B\u0107",selected:"Wybrane",item:"Wpis"},pagination:{total:{range:" ",total:"z",item:"Wpis\xF3w"}},tableToolBar:{leftPin:"Przypnij do lewej",rightPin:"Przypnij do prawej",noPin:"Odepnij",leftFixedTitle:"Przypi\u0119te do lewej",rightFixedTitle:"Przypi\u0119te do prawej",noFixedTitle:"Nieprzypi\u0119te",reset:"Reset",columnDisplay:"Wy\u015Bwietlane wiersze",columnSetting:"Ustawienia",fullScreen:"Pe\u0142en ekran",exitFullScreen:"Zamknij pe\u0142en ekran",reload:"Od\u015Bwie\u017C",density:"Odst\u0119p",densityDefault:"Standard",densityLarger:"Wiekszy",densityMiddle:"Sredni",densitySmall:"Kompaktowy"},stepsForm:{next:"Weiter",prev:"Zur\xFCck",submit:"Abschlie\xDFen"},loginForm:{submitText:"Zaloguj si\u0119"},editableTable:{action:{save:"Zapisa\u0107",cancel:"Anuluj",delete:"Usun\u0105\u0107",add:"dodawanie wiersza danych"}},switch:{open:"otwiera\u0107",close:"zamyka\u0107"}},ne={moneySymbol:"R$",form:{lightFilter:{more:"Mais",clear:"Limpar",confirm:"Confirmar",itemUnit:"Itens"}},tableForm:{search:"Filtrar",reset:"Limpar",submit:"Confirmar",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Por favor insira",selectPlaceholder:"Por favor selecione"},alert:{clear:"Limpar",selected:"Selecionado(s)",item:"Item(s)"},pagination:{total:{range:" ",total:"de",item:"itens"}},tableToolBar:{leftPin:"Fixar \xE0 esquerda",rightPin:"Fixar \xE0 direita",noPin:"Desfixado",leftFixedTitle:"Fixado \xE0 esquerda",rightFixedTitle:"Fixado \xE0 direita",noFixedTitle:"N\xE3o fixado",reset:"Limpar",columnDisplay:"Mostrar Coluna",columnSetting:"Configura\xE7\xF5es",fullScreen:"Tela Cheia",exitFullScreen:"Sair da Tela Cheia",reload:"Atualizar",density:"Densidade",densityDefault:"Padr\xE3o",densityLarger:"Largo",densityMiddle:"M\xE9dio",densitySmall:"Compacto"},stepsForm:{next:"Pr\xF3ximo",prev:"Anterior",submit:"Enviar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Salvar",cancel:"Cancelar",delete:"Apagar",add:"adicionar uma linha de dados"}},switch:{open:"abrir",close:"fechar"}},te={moneySymbol:"\u20BD",form:{lightFilter:{more:"\u0415\u0449\u0435",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",confirm:"\u041E\u041A",itemUnit:"\u041F\u043E\u0437\u0438\u0446\u0438\u0438"}},tableForm:{search:"\u041D\u0430\u0439\u0442\u0438",reset:"\u0421\u0431\u0440\u043E\u0441",submit:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",collapsed:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C",expand:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C",inputPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"},alert:{clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",selected:"\u0412\u044B\u0431\u0440\u0430\u043D\u043E",item:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},pagination:{total:{range:" ",total:"\u0438\u0437",item:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"}},tableToolBar:{leftPin:"\u0417\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0441\u043B\u0435\u0432\u0430",rightPin:"\u0417\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0441\u043F\u0440\u0430\u0432\u0430",noPin:"\u041E\u0442\u043A\u0440\u0435\u043F\u0438\u0442\u044C",leftFixedTitle:"\u0417\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u043E \u0441\u043B\u0435\u0432\u0430",rightFixedTitle:"\u0417\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u043E \u0441\u043F\u0440\u0430\u0432\u0430",noFixedTitle:"\u041D\u0435 \u0437\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u043E",reset:"\u0421\u0431\u0440\u043E\u0441",columnDisplay:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0441\u0442\u043E\u043B\u0431\u0446\u0430",columnSetting:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",fullScreen:"\u041F\u043E\u043B\u043D\u044B\u0439 \u044D\u043A\u0440\u0430\u043D",exitFullScreen:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",reload:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",density:"\u0420\u0430\u0437\u043C\u0435\u0440",densityDefault:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",densityLarger:"\u0411\u043E\u043B\u044C\u0448\u043E\u0439",densityMiddle:"\u0421\u0440\u0435\u0434\u043D\u0438\u0439",densitySmall:"\u0421\u0436\u0430\u0442\u044B\u0439"},stepsForm:{next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439",prev:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439",submit:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C"},loginForm:{submitText:"\u0412\u0445\u043E\u0434"},editableTable:{action:{save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",cancel:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",add:"\u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0440\u044F\u0434 \u0434\u0430\u043D\u043D\u044B\u0445"}},switch:{open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0439 \u0447\u0435\u043C\u043F\u0438\u043E\u043D\u0430\u0442 \u043C\u0438\u0440\u0430 \u043F\u043E \u0442\u0435\u043D\u043D\u0438\u0441\u0443",close:"\u041F\u043E \u0430\u0434\u0440\u0435\u0441\u0443:"}},_e={moneySymbol:"RSD",form:{lightFilter:{more:"Vi\u0161e",clear:"O\u010Disti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Prona\u0111i",reset:"Resetuj",submit:"Po\u0161alji",collapsed:"Pro\u0161iri",expand:"Skupi",inputPlaceholder:"Molimo unesite",selectPlaceholder:"Molimo odaberite"},alert:{clear:"O\u010Disti",selected:"Odabrano",item:"Stavka"},pagination:{total:{range:" ",total:"od",item:"stavki"}},tableToolBar:{leftPin:"Zaka\u010Di levo",rightPin:"Zaka\u010Di desno",noPin:"Nije zaka\u010Deno",leftFixedTitle:"Fiksirano levo",rightFixedTitle:"Fiksirano desno",noFixedTitle:"Nije fiksirano",reset:"Resetuj",columnDisplay:"Prikaz kolona",columnSetting:"Pode\u0161avanja",fullScreen:"Pun ekran",exitFullScreen:"Zatvori pun ekran",reload:"Osve\u017Ei",density:"Veli\u010Dina",densityDefault:"Podrazumevana",densityLarger:"Ve\u0107a",densityMiddle:"Srednja",densitySmall:"Kompaktna"},stepsForm:{next:"Dalje",prev:"Nazad",submit:"Gotovo"},loginForm:{submitText:"Prijavi se"},editableTable:{action:{save:"Sa\u010Duvaj",cancel:"Poni\u0161ti",delete:"Obri\u0161i",add:"dodajte red podataka"}},switch:{open:"\u041E\u0442\u0432\u043E\u0440\u0438\u0442\u0435",close:"\u0417\u0430\u0442\u0432\u043E\u0440\u0438\u0442\u0435"}},he={moneySymbol:"\u20BA",form:{lightFilter:{more:"Daha Fazla",clear:"Temizle",confirm:"Onayla",itemUnit:"\xD6\u011Feler"}},tableForm:{search:"Filtrele",reset:"S\u0131f\u0131rla",submit:"G\xF6nder",collapsed:"Daha fazla",expand:"Daha az",inputPlaceholder:"Filtrelemek i\xE7in bir de\u011Fer girin",selectPlaceholder:"Filtrelemek i\xE7in bir de\u011Fer se\xE7in"},alert:{clear:"Temizle",selected:"Se\xE7ili",item:"\xD6\u011Fe"},pagination:{total:{range:" ",total:"Toplam",item:"\xD6\u011Fe"}},tableToolBar:{leftPin:"Sola sabitle",rightPin:"Sa\u011Fa sabitle",noPin:"Sabitlemeyi kald\u0131r",leftFixedTitle:"Sola sabitlendi",rightFixedTitle:"Sa\u011Fa sabitlendi",noFixedTitle:"Sabitlenmedi",reset:"S\u0131f\u0131rla",columnDisplay:"Kolon G\xF6r\xFCn\xFCm\xFC",columnSetting:"Ayarlar",fullScreen:"Tam Ekran",exitFullScreen:"Tam Ekrandan \xC7\u0131k",reload:"Yenile",density:"Kal\u0131nl\u0131k",densityDefault:"Varsay\u0131lan",densityLarger:"B\xFCy\xFCk",densityMiddle:"Orta",densitySmall:"K\xFC\xE7\xFCk"},stepsForm:{next:"S\u0131radaki",prev:"\xD6nceki",submit:"G\xF6nder"},loginForm:{submitText:"Giri\u015F Yap"},editableTable:{action:{save:"Kaydet",cancel:"Vazge\xE7",delete:"Sil",add:"foegje in rige gegevens ta"}},switch:{open:"a\xE7\u0131k",close:"kapatmak"}},oe={moneySymbol:"\u20AB",form:{lightFilter:{more:"Nhi\u1EC1u h\u01A1n",clear:"Trong",confirm:"X\xE1c nh\u1EADn",itemUnit:"M\u1EE5c"}},tableForm:{search:"T\xECm ki\u1EBFm",reset:"L\xE0m l\u1EA1i",submit:"G\u1EEDi \u0111i",collapsed:"M\u1EDF r\u1ED9ng",expand:"Thu g\u1ECDn",inputPlaceholder:"nh\u1EADp d\u1EEF li\u1EC7u",selectPlaceholder:"Vui l\xF2ng ch\u1ECDn"},alert:{clear:"X\xF3a",selected:"\u0111\xE3 ch\u1ECDn",item:"m\u1EE5c"},pagination:{total:{range:" ",total:"tr\xEAn",item:"m\u1EB7t h\xE0ng"}},tableToolBar:{leftPin:"Ghim tr\xE1i",rightPin:"Ghim ph\u1EA3i",noPin:"B\u1ECF ghim",leftFixedTitle:"C\u1ED1 \u0111\u1ECBnh tr\xE1i",rightFixedTitle:"C\u1ED1 \u0111\u1ECBnh ph\u1EA3i",noFixedTitle:"Ch\u01B0a c\u1ED1 \u0111\u1ECBnh",reset:"L\xE0m l\u1EA1i",columnDisplay:"C\u1ED9t hi\u1EC3n th\u1ECB",columnSetting:"C\u1EA5u h\xECnh",fullScreen:"Ch\u1EBF \u0111\u1ED9 to\xE0n m\xE0n h\xECnh",exitFullScreen:"Tho\xE1t ch\u1EBF \u0111\u1ED9 to\xE0n m\xE0n h\xECnh",reload:"L\xE0m m\u1EDBi",density:"M\u1EADt \u0111\u1ED9 hi\u1EC3n th\u1ECB",densityDefault:"M\u1EB7c \u0111\u1ECBnh",densityLarger:"M\u1EB7c \u0111\u1ECBnh",densityMiddle:"Trung b\xECnh",densitySmall:"Ch\u1EADt"},stepsForm:{next:"Sau",prev:"Tr\u01B0\u1EDBc",submit:"K\u1EBFt th\xFAc"},loginForm:{submitText:"\u0110\u0103ng nh\u1EADp"},editableTable:{action:{save:"C\u1EE9u",cancel:"H\u1EE7y",delete:"X\xF3a",add:"th\xEAm m\u1ED9t h\xE0ng d\u1EEF li\u1EC7u"}},switch:{open:"m\u1EDF",close:"\u0111\xF3ng"}},ge={moneySymbol:"\uFFE5",deleteThisLine:"\u5220\u9664\u6B64\u884C",copyThisLine:"\u590D\u5236\u6B64\u884C",form:{lightFilter:{more:"\u66F4\u591A\u7B5B\u9009",clear:"\u6E05\u9664",confirm:"\u786E\u8BA4",itemUnit:"\u9879"}},tableForm:{search:"\u67E5\u8BE2",reset:"\u91CD\u7F6E",submit:"\u63D0\u4EA4",collapsed:"\u5C55\u5F00",expand:"\u6536\u8D77",inputPlaceholder:"\u8BF7\u8F93\u5165",selectPlaceholder:"\u8BF7\u9009\u62E9"},alert:{clear:"\u53D6\u6D88\u9009\u62E9",selected:"\u5DF2\u9009\u62E9",item:"\u9879"},pagination:{total:{range:"\u7B2C",total:"\u6761/\u603B\u5171",item:"\u6761"}},tableToolBar:{leftPin:"\u56FA\u5B9A\u5728\u5217\u9996",rightPin:"\u56FA\u5B9A\u5728\u5217\u5C3E",noPin:"\u4E0D\u56FA\u5B9A",leftFixedTitle:"\u56FA\u5B9A\u5728\u5DE6\u4FA7",rightFixedTitle:"\u56FA\u5B9A\u5728\u53F3\u4FA7",noFixedTitle:"\u4E0D\u56FA\u5B9A",reset:"\u91CD\u7F6E",columnDisplay:"\u5217\u5C55\u793A",columnSetting:"\u5217\u8BBE\u7F6E",fullScreen:"\u5168\u5C4F",exitFullScreen:"\u9000\u51FA\u5168\u5C4F",reload:"\u5237\u65B0",density:"\u5BC6\u5EA6",densityDefault:"\u6B63\u5E38",densityLarger:"\u9ED8\u8BA4",densityMiddle:"\u4E2D\u7B49",densitySmall:"\u7D27\u51D1"},stepsForm:{next:"\u4E0B\u4E00\u6B65",prev:"\u4E0A\u4E00\u6B65",submit:"\u63D0\u4EA4"},loginForm:{submitText:"\u767B\u5F55"},editableTable:{onlyOneLineEditor:"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C",action:{save:"\u4FDD\u5B58",cancel:"\u53D6\u6D88",delete:"\u5220\u9664",add:"\u6DFB\u52A0\u4E00\u884C\u6570\u636E"}},switch:{open:"\u6253\u5F00",close:"\u5173\u95ED"}},me={moneySymbol:"NT$",form:{lightFilter:{more:"\u66F4\u591A\u7BE9\u9078",clear:"\u6E05\u9664",confirm:"\u78BA\u8A8D",itemUnit:"\u9805"}},tableForm:{search:"\u67E5\u8A62",reset:"\u91CD\u7F6E",submit:"\u63D0\u4EA4",collapsed:"\u5C55\u958B",expand:"\u6536\u8D77",inputPlaceholder:"\u8ACB\u8F38\u5165",selectPlaceholder:"\u8ACB\u9078\u64C7"},alert:{clear:"\u53D6\u6D88\u9078\u64C7",selected:"\u5DF2\u9078\u64C7",item:"\u9805"},pagination:{total:{range:"\u7B2C",total:"\u689D/\u7E3D\u5171",item:"\u689D"}},tableToolBar:{leftPin:"\u56FA\u5B9A\u5230\u5DE6\u908A",rightPin:"\u56FA\u5B9A\u5230\u53F3\u908A",noPin:"\u4E0D\u56FA\u5B9A",leftFixedTitle:"\u56FA\u5B9A\u5728\u5DE6\u5074",rightFixedTitle:"\u56FA\u5B9A\u5728\u53F3\u5074",noFixedTitle:"\u4E0D\u56FA\u5B9A",reset:"\u91CD\u7F6E",columnDisplay:"\u5217\u5C55\u793A",columnSetting:"\u5217\u8A2D\u7F6E",fullScreen:"\u5168\u5C4F",exitFullScreen:"\u9000\u51FA\u5168\u5C4F",reload:"\u5237\u65B0",density:"\u5BC6\u5EA6",densityDefault:"\u6B63\u5E38",densityLarger:"\u9ED8\u8A8D",densityMiddle:"\u4E2D\u7B49",densitySmall:"\u7DCA\u6E4A"},stepsForm:{next:"\u4E0B\u4E00\u500B",prev:"\u4EE5\u524D\u7684",submit:"\u5B8C\u6210"},loginForm:{submitText:"\u767B\u5165"},editableTable:{action:{save:"\u4FDD\u5B58",cancel:"\u53D6\u6D88",delete:"\u522A\u9664",add:"\u6DFB\u52A0\u4E00\u884C\u6578\u64DA"}},switch:{open:"\u6253\u958B",close:"\u95DC\u9589"}};function Z(le,$e,Qe){var Tt=$e.replace(/\[(\d+)\]/g,".$1").split("."),Ot=le,Ut=Qe,At=Object(C.a)(Tt),Pt;try{for(At.s();!(Pt=At.n()).done;){var Dt=Pt.value;if(Ut=Object(Ot)[Dt],Ot=Object(Ot)[Dt],Ut===void 0)return Qe}}catch(Qt){At.e(Qt)}finally{At.f()}return Ut}var xe=function($e,Qe){return{getMessage:function(Ot,Ut){return Z(Qe,Ot,Ut)||Ut},locale:$e}},Ee=xe("mn_MN",G),Le=xe("ar_EG",x),we=xe("zh_CN",ge),fe=xe("en_US",N),pe=xe("en_GB",D),Ke=xe("vi_VN",oe),Me=xe("it_IT",X),ze=xe("ja_JP",ee),Ue=xe("es_ES",F),He=xe("ca_ES",T),Ne=xe("ru_RU",te),it=xe("sr_RS",_e),Xe=xe("ms_MY",Q),ht=xe("zh_TW",me),lt=xe("fr_FR",U),Et=xe("pt_BR",ne),tt=xe("ko_KR",ie),mt=xe("id_ID",$),xt=xe("de_DE",j),Xt=xe("fa_IR",B),vt=xe("tr_TR",he),qe=xe("pl_PL",W),Re=xe("hr_",J),Se={"mn-MN":Ee,"ar-EG":Le,"zh-CN":we,"en-US":fe,"en-GB":pe,"vi-VN":Ke,"it-IT":Me,"ja-JP":ze,"es-ES":Ue,"ca-ES":He,"ru-RU":Ne,"sr-RS":it,"ms-MY":Xe,"zh-TW":ht,"fr-FR":lt,"pt-BR":Et,"ko-KR":tt,"id-ID":mt,"de-DE":xt,"fa-IR":Xt,"tr-TR":vt,"pl-PL":qe,"hr-HR":Re},Ve=Object.keys(Se),Ge=y.a.createContext({intl:Object(O.a)(Object(O.a)({},we),{},{locale:"default"}),valueTypeMap:{}}),_t=Ge.Consumer,bt=Ge.Provider,gt=function($e){if(!$e)return"zh-CN";var Qe=$e.toLocaleLowerCase();return Ve.find(function(Tt){var Ot=Tt.toLocaleLowerCase();return Ot.includes(Qe)})},at=function(){var $e=Object(w.c)(),Qe=$e.cache;return Object(S.useEffect)(function(){return function(){Qe.clear()}},[]),null},ft=function($e){var Qe=$e.children,Tt=$e.autoClearCache,Ot=Tt===void 0?!1:Tt,Ut=Object(S.useContext)(m.a.ConfigContext),At=Ut.locale,Pt=At===void 0?m.a:y.a.Fragment,Dt=Object(k.jsx)(_t,{children:function(cn){var $n,hn=At==null?void 0:At.locale,_n=gt(hn),bn=hn&&(($n=cn.intl)===null||$n===void 0?void 0:$n.locale)==="default"?Se[_n]:cn.intl||Se[_n],Bn=At===void 0?{locale:A.a}:{};return Object(k.jsx)(Pt,Object(O.a)(Object(O.a)({},Bn),{},{children:Object(k.jsx)(bt,{value:Object(O.a)(Object(O.a)({},cn),{},{intl:bn||we}),children:Object(k.jsxs)(k.Fragment,{children:[Ot&&Object(k.jsx)(at,{}),Qe]})})}))}});return Ot?Object(k.jsx)(w.a,{value:{provider:function(){return new Map}},children:Dt}):Dt};function Fe(){var le=Object(S.useContext)(m.a.ConfigContext),$e=le.locale,Qe=Object(S.useContext)(Ge),Tt=Qe.intl;return Tt&&Tt.locale!=="default"?Tt:($e==null?void 0:$e.locale)?Se[gt($e.locale)]:we}var Te=Ge,ut=R.b=Ge},LUyE:function(ce,R,l){"use strict";var E=l("cT1L"),m=function(O){var C,k;this.promise=new O(function(A,S){if(C!==void 0||k!==void 0)throw TypeError("Bad Promise constructor");C=A,k=S}),this.resolve=E(C),this.reject=E(k)};ce.exports.f=function(O){return new m(O)}},LXxW:function(ce,R){function l(E,m){for(var O=-1,C=E==null?0:E.length,k=0,A=[];++O<C;){var S=E[O];m(S,O,E)&&(A[k++]=S)}return A}ce.exports=l},LcsW:function(ce,R,l){var E=l("kekF"),m=E(Object.getPrototypeOf,Object);ce.exports=m},LdHM:function(ce,R,l){"use strict";l.d(R,"c",function(){return Yn}),l.d(R,"b",function(){return Zn}),l.d(R,"a",function(){return gr}),l.d(R,"e",function(){return Me});var E=l("wx14"),m=l("KQm4"),O=l("rePB"),C=l("VTBJ"),k=l("ODXe"),A=l("Ff2n"),S=l("U8pU"),y=l("q1tI"),w=l.n(y);function x(Un){var Lt=y.useRef();Lt.current=Un;var gn=y.useCallback(function(){for(var Ln,kr=arguments.length,ea=new Array(kr),Qr=0;Qr<kr;Qr++)ea[Qr]=arguments[Qr];return(Ln=Lt.current)===null||Ln===void 0?void 0:Ln.call.apply(Ln,[Lt].concat(ea))},[]);return gn}var T=l("X9aP"),j=Object(T.a)()?y.useLayoutEffect:y.useEffect,D=function(Lt,gn){var Ln=y.useRef(!0);j(function(){return Lt(Ln.current)},gn),j(function(){return Ln.current=!1,function(){Ln.current=!0}},[])},N=function(Lt,gn){D(function(Ln){if(!Ln)return Lt()},gn)},F=D;function B(Un){var Lt=y.useRef(!1),gn=y.useState(Un),Ln=Object(k.a)(gn,2),kr=Ln[0],ea=Ln[1];y.useEffect(function(){return Lt.current=!1,function(){Lt.current=!0}},[]);function Qr(Na,ar){ar&&Lt.current||ea(Na)}return[kr,Qr]}function U(Un){return Un!==void 0}function J(Un,Lt){var gn=Lt||{},Ln=gn.defaultValue,kr=gn.value,ea=gn.onChange,Qr=gn.postState,Na=B(function(){return U(kr)?kr:U(Ln)?typeof Ln=="function"?Ln():Ln:typeof Un=="function"?Un():Un}),ar=Object(k.a)(Na,2),pi=ar[0],_i=ar[1],ti=kr!==void 0?kr:pi,ui=Qr?Qr(ti):ti,Ri=x(ea),ao=B([ti]),Zi=Object(k.a)(ao,2),Fi=Zi[0],Si=Zi[1];N(function(){var eo=Fi[0];pi!==eo&&Ri(pi,eo)},[Fi]),N(function(){U(kr)||_i(kr)},[kr]);var qi=x(function(eo,xo){_i(eo,xo),Si([ti],xo)});return[ui,qi]}var $={},X=[],ee=function(Lt){X.push(Lt)};function ie(Un,Lt){if(!1)var gn}function G(Un,Lt){if(!1)var gn}function Q(){$={}}function W(Un,Lt,gn){!Lt&&!$[gn]&&(Un(!1,gn),$[gn]=!0)}function ne(Un,Lt){W(ie,Un,Lt)}function te(Un,Lt){W(G,Un,Lt)}ne.preMessage=ee,ne.resetWarned=Q,ne.noteOnce=te;var _e=ne,he=l("TSYQ"),oe=l.n(he),ge=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Un=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Un)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Un==null?void 0:Un.substr(0,4))},me={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Lt){var gn=Lt.keyCode;if(Lt.altKey&&!Lt.ctrlKey||Lt.metaKey||gn>=me.F1&&gn<=me.F12)return!1;switch(gn){case me.ALT:case me.CAPS_LOCK:case me.CONTEXT_MENU:case me.CTRL:case me.DOWN:case me.END:case me.ESC:case me.HOME:case me.INSERT:case me.LEFT:case me.MAC_FF_META:case me.META:case me.NUMLOCK:case me.NUM_CENTER:case me.PAGE_DOWN:case me.PAGE_UP:case me.PAUSE:case me.PRINT_SCREEN:case me.RIGHT:case me.SHIFT:case me.UP:case me.WIN_KEY:case me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Lt){if(Lt>=me.ZERO&&Lt<=me.NINE||Lt>=me.NUM_ZERO&&Lt<=me.NUM_MULTIPLY||Lt>=me.A&&Lt<=me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Lt===0)return!0;switch(Lt){case me.SPACE:case me.QUESTION_MARK:case me.NUM_PLUS:case me.NUM_MINUS:case me.NUM_PERIOD:case me.NUM_DIVISION:case me.SEMICOLON:case me.DASH:case me.EQUALS:case me.COMMA:case me.PERIOD:case me.SLASH:case me.APOSTROPHE:case me.SINGLE_QUOTE:case me.OPEN_SQUARE_BRACKET:case me.BACKSLASH:case me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Z=me,xe=l("TOwV");function Ee(Un,Lt,gn){var Ln=y.useRef({});return(!("value"in Ln.current)||gn(Ln.current.condition,Lt))&&(Ln.current.value=Un(),Ln.current.condition=Lt),Ln.current.value}function Le(Un,Lt){typeof Un=="function"?Un(Lt):Object(S.a)(Un)==="object"&&Un&&"current"in Un&&(Un.current=Lt)}function we(){for(var Un=arguments.length,Lt=new Array(Un),gn=0;gn<Un;gn++)Lt[gn]=arguments[gn];var Ln=Lt.filter(function(kr){return kr});return Ln.length<=1?Ln[0]:function(kr){Lt.forEach(function(ea){Le(ea,kr)})}}function fe(){for(var Un=arguments.length,Lt=new Array(Un),gn=0;gn<Un;gn++)Lt[gn]=arguments[gn];return Ee(function(){return we.apply(void 0,Lt)},Lt,function(Ln,kr){return Ln.length===kr.length&&Ln.every(function(ea,Qr){return ea===kr[Qr]})})}function pe(Un){var Lt,gn,Ln=Object(xe.isMemo)(Un)?Un.type.type:Un.type;return!(typeof Ln=="function"&&!((Lt=Ln.prototype)!==null&&Lt!==void 0&&Lt.render)||typeof Un=="function"&&!((gn=Un.prototype)!==null&&gn!==void 0&&gn.render))}var Ke=y.createContext(null);function Me(){return y.useContext(Ke)}function ze(){var Un=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Lt=y.useState(!1),gn=Object(k.a)(Lt,2),Ln=gn[0],kr=gn[1],ea=y.useRef(null),Qr=function(){window.clearTimeout(ea.current)};y.useEffect(function(){return Qr},[]);var Na=function(pi,_i){Qr(),ea.current=window.setTimeout(function(){kr(pi),_i&&_i()},Un)};return[Ln,Na,Qr]}function Ue(){var Un=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Lt=y.useRef(null),gn=y.useRef(null);y.useEffect(function(){return function(){window.clearTimeout(gn.current)}},[]);function Ln(kr){(kr||Lt.current===null)&&(Lt.current=kr),window.clearTimeout(gn.current),gn.current=window.setTimeout(function(){Lt.current=null},Un)}return[function(){return Lt.current},Ln]}function He(Un,Lt,gn,Ln){var kr=y.useRef(null);kr.current={open:Lt,triggerOpen:gn,customizedTrigger:Ln},y.useEffect(function(){function ea(Qr){var Na;if(!((Na=kr.current)!==null&&Na!==void 0&&Na.customizedTrigger)){var ar=Qr.target;ar.shadowRoot&&Qr.composed&&(ar=Qr.composedPath()[0]||ar),kr.current.open&&Un().filter(function(pi){return pi}).every(function(pi){return!pi.contains(ar)&&pi!==ar})&&kr.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ea),function(){return window.removeEventListener("mousedown",ea)}},[])}var Ne=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,it=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Xe="".concat(Ne," ").concat(it).split(/[\s\n]+/),ht="aria-",lt="data-";function Et(Un,Lt){return Un.indexOf(Lt)===0}function tt(Un){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gn;Lt===!1?gn={aria:!0,data:!0,attr:!0}:Lt===!0?gn={aria:!0}:gn=Object(C.a)({},Lt);var Ln={};return Object.keys(Un).forEach(function(kr){(gn.aria&&(kr==="role"||Et(kr,ht))||gn.data&&Et(kr,lt)||gn.attr&&Xe.includes(kr))&&(Ln[kr]=Un[kr])}),Ln}var mt=l("8z13"),xt=function(Lt){var gn=Lt.className,Ln=Lt.customizeIcon,kr=Lt.customizeIconProps,ea=Lt.onMouseDown,Qr=Lt.onClick,Na=Lt.children,ar;return typeof Ln=="function"?ar=Ln(kr):ar=Ln,y.createElement("span",{className:gn,onMouseDown:function(_i){_i.preventDefault(),ea&&ea(_i)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Qr,"aria-hidden":!0},ar!==void 0?ar:y.createElement("span",{className:oe()(gn.split(/\s+/).map(function(pi){return"".concat(pi,"-icon")}))},Na))},Xt=xt,vt=function(Lt,gn){var Ln,kr,ea=Lt.prefixCls,Qr=Lt.id,Na=Lt.inputElement,ar=Lt.disabled,pi=Lt.tabIndex,_i=Lt.autoFocus,ti=Lt.autoComplete,ui=Lt.editable,Ri=Lt.activeDescendantId,ao=Lt.value,Zi=Lt.maxLength,Fi=Lt.onKeyDown,Si=Lt.onMouseDown,qi=Lt.onChange,eo=Lt.onPaste,xo=Lt.onCompositionStart,cs=Lt.onCompositionEnd,ba=Lt.open,sa=Lt.attrs,Da=Na||y.createElement("input",null),On=Da,xn=On.ref,Rt=On.props,mr=Rt.onKeyDown,ta=Rt.onChange,ma=Rt.onMouseDown,Oa=Rt.onCompositionStart,Pn=Rt.onCompositionEnd,Kr=Rt.style;return ie(!("maxLength"in Da.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Da=y.cloneElement(Da,Object(C.a)(Object(C.a)(Object(C.a)({type:"search"},Rt),{},{id:Qr,ref:we(gn,xn),disabled:ar,tabIndex:pi,autoComplete:ti||"off",autoFocus:_i,className:oe()("".concat(ea,"-selection-search-input"),(Ln=Da)===null||Ln===void 0||(kr=Ln.props)===null||kr===void 0?void 0:kr.className),role:"combobox","aria-expanded":ba,"aria-haspopup":"listbox","aria-owns":"".concat(Qr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Qr,"_list"),"aria-activedescendant":Ri},sa),{},{value:ui?ao:"",maxLength:Zi,readOnly:!ui,unselectable:ui?null:"on",style:Object(C.a)(Object(C.a)({},Kr),{},{opacity:ui?null:0}),onKeyDown:function(tr){Fi(tr),mr&&mr(tr)},onMouseDown:function(tr){Si(tr),ma&&ma(tr)},onChange:function(tr){qi(tr),ta&&ta(tr)},onCompositionStart:function(tr){xo(tr),Oa&&Oa(tr)},onCompositionEnd:function(tr){cs(tr),Pn&&Pn(tr)},onPaste:eo})),Da},qe=y.forwardRef(vt);qe.displayName="Input";var Re=qe;function Se(Un){return Array.isArray(Un)?Un:Un!==void 0?[Un]:[]}var Ve=typeof window!="undefined"&&window.document&&window.document.documentElement,Ge=Ve;function _t(Un){return Un!=null}function bt(Un){return["string","number"].includes(Object(S.a)(Un))}function gt(Un){var Lt=void 0;return Un&&(bt(Un.title)?Lt=Un.title.toString():bt(Un.label)&&(Lt=Un.label.toString())),Lt}function at(Un,Lt){Ge?y.useLayoutEffect(Un,Lt):y.useEffect(Un,Lt)}function ft(Un){var Lt;return(Lt=Un.key)!==null&&Lt!==void 0?Lt:Un.value}var Fe=function(Lt){Lt.preventDefault(),Lt.stopPropagation()},Te=function(Lt){var gn=Lt.id,Ln=Lt.prefixCls,kr=Lt.values,ea=Lt.open,Qr=Lt.searchValue,Na=Lt.autoClearSearchValue,ar=Lt.inputRef,pi=Lt.placeholder,_i=Lt.disabled,ti=Lt.mode,ui=Lt.showSearch,Ri=Lt.autoFocus,ao=Lt.autoComplete,Zi=Lt.activeDescendantId,Fi=Lt.tabIndex,Si=Lt.removeIcon,qi=Lt.maxTagCount,eo=Lt.maxTagTextLength,xo=Lt.maxTagPlaceholder,cs=xo===void 0?function(Vt){return"+ ".concat(Vt.length," ...")}:xo,ba=Lt.tagRender,sa=Lt.onToggleOpen,Da=Lt.onRemove,On=Lt.onInputChange,xn=Lt.onInputPaste,Rt=Lt.onInputKeyDown,mr=Lt.onInputMouseDown,ta=Lt.onInputCompositionStart,ma=Lt.onInputCompositionEnd,Oa=y.useRef(null),Pn=Object(y.useState)(0),Kr=Object(k.a)(Pn,2),Vn=Kr[0],tr=Kr[1],Ea=Object(y.useState)(!1),Ja=Object(k.a)(Ea,2),go=Ja[0],fi=Ja[1],lo="".concat(Ln,"-selection"),Oi=ea||ti==="multiple"&&Na===!1||ti==="tags"?Qr:"",io=ti==="tags"||ti==="multiple"&&Na===!1||ui&&(ea||go);at(function(){tr(Oa.current.scrollWidth)},[Oi]);function Vi(Vt,tn,wn,qn,zn){return y.createElement("span",{className:oe()("".concat(lo,"-item"),Object(O.a)({},"".concat(lo,"-item-disabled"),wn)),title:gt(Vt)},y.createElement("span",{className:"".concat(lo,"-item-content")},tn),qn&&y.createElement(Xt,{className:"".concat(lo,"-item-remove"),onMouseDown:Fe,onClick:zn,customizeIcon:Si},"\xD7"))}function vo(Vt,tn,wn,qn,zn){var xr=function(en){Fe(en),sa(!ea)};return y.createElement("span",{onMouseDown:xr},ba({label:tn,value:Vt,disabled:wn,closable:qn,onClose:zn}))}function qo(Vt){var tn=Vt.disabled,wn=Vt.label,qn=Vt.value,zn=!_i&&!tn,xr=wn;if(typeof eo=="number"&&(typeof wn=="string"||typeof wn=="number")){var da=String(xr);da.length>eo&&(xr="".concat(da.slice(0,eo),"..."))}var en=function(Jn){Jn&&Jn.stopPropagation(),Da(Vt)};return typeof ba=="function"?vo(qn,xr,tn,zn,en):Vi(Vt,xr,tn,zn,en)}function hs(Vt){var tn=typeof cs=="function"?cs(Vt):cs;return Vi({title:tn},tn,!1)}var $t=y.createElement("div",{className:"".concat(lo,"-search"),style:{width:Vn},onFocus:function(){fi(!0)},onBlur:function(){fi(!1)}},y.createElement(Re,{ref:ar,open:ea,prefixCls:Ln,id:gn,inputElement:null,disabled:_i,autoFocus:Ri,autoComplete:ao,editable:io,activeDescendantId:Zi,value:Oi,onKeyDown:Rt,onMouseDown:mr,onChange:On,onPaste:xn,onCompositionStart:ta,onCompositionEnd:ma,tabIndex:Fi,attrs:tt(Lt,!0)}),y.createElement("span",{ref:Oa,className:"".concat(lo,"-search-mirror"),"aria-hidden":!0},Oi,"\xA0")),rt=y.createElement(mt.a,{prefixCls:"".concat(lo,"-overflow"),data:kr,renderItem:qo,renderRest:hs,suffix:$t,itemKey:ft,maxCount:qi});return y.createElement(y.Fragment,null,rt,!kr.length&&!Oi&&y.createElement("span",{className:"".concat(lo,"-placeholder")},pi))},ut=Te,le=function(Lt){var gn=Lt.inputElement,Ln=Lt.prefixCls,kr=Lt.id,ea=Lt.inputRef,Qr=Lt.disabled,Na=Lt.autoFocus,ar=Lt.autoComplete,pi=Lt.activeDescendantId,_i=Lt.mode,ti=Lt.open,ui=Lt.values,Ri=Lt.placeholder,ao=Lt.tabIndex,Zi=Lt.showSearch,Fi=Lt.searchValue,Si=Lt.activeValue,qi=Lt.maxLength,eo=Lt.onInputKeyDown,xo=Lt.onInputMouseDown,cs=Lt.onInputChange,ba=Lt.onInputPaste,sa=Lt.onInputCompositionStart,Da=Lt.onInputCompositionEnd,On=y.useState(!1),xn=Object(k.a)(On,2),Rt=xn[0],mr=xn[1],ta=_i==="combobox",ma=ta||Zi,Oa=ui[0],Pn=Fi||"";ta&&Si&&!Rt&&(Pn=Si),y.useEffect(function(){ta&&mr(!1)},[ta,Si]);var Kr=_i!=="combobox"&&!ti&&!Zi?!1:!!Pn,Vn=gt(Oa),tr=function(){if(Oa)return null;var Ja=Kr?{visibility:"hidden"}:void 0;return y.createElement("span",{className:"".concat(Ln,"-selection-placeholder"),style:Ja},Ri)};return y.createElement(y.Fragment,null,y.createElement("span",{className:"".concat(Ln,"-selection-search")},y.createElement(Re,{ref:ea,prefixCls:Ln,id:kr,open:ti,inputElement:gn,disabled:Qr,autoFocus:Na,autoComplete:ar,editable:ma,activeDescendantId:pi,value:Pn,onKeyDown:eo,onMouseDown:xo,onChange:function(Ja){mr(!0),cs(Ja)},onPaste:ba,onCompositionStart:sa,onCompositionEnd:Da,tabIndex:ao,attrs:tt(Lt,!0),maxLength:ta?qi:void 0})),!ta&&Oa?y.createElement("span",{className:"".concat(Ln,"-selection-item"),title:Vn,style:Kr?{visibility:"hidden"}:void 0},Oa.label):null,tr())},$e=le;function Qe(Un){return![Z.ESC,Z.SHIFT,Z.BACKSPACE,Z.TAB,Z.WIN_KEY,Z.ALT,Z.META,Z.WIN_KEY_RIGHT,Z.CTRL,Z.SEMICOLON,Z.EQUALS,Z.CAPS_LOCK,Z.CONTEXT_MENU,Z.F1,Z.F2,Z.F3,Z.F4,Z.F5,Z.F6,Z.F7,Z.F8,Z.F9,Z.F10,Z.F11,Z.F12].includes(Un)}var Tt=function(Lt,gn){var Ln=Object(y.useRef)(null),kr=Object(y.useRef)(!1),ea=Lt.prefixCls,Qr=Lt.open,Na=Lt.mode,ar=Lt.showSearch,pi=Lt.tokenWithEnter,_i=Lt.autoClearSearchValue,ti=Lt.onSearch,ui=Lt.onSearchSubmit,Ri=Lt.onToggleOpen,ao=Lt.onInputKeyDown,Zi=Lt.domRef;y.useImperativeHandle(gn,function(){return{focus:function(){Ln.current.focus()},blur:function(){Ln.current.blur()}}});var Fi=Ue(0),Si=Object(k.a)(Fi,2),qi=Si[0],eo=Si[1],xo=function(Kr){var Vn=Kr.which;(Vn===Z.UP||Vn===Z.DOWN)&&Kr.preventDefault(),ao&&ao(Kr),Vn===Z.ENTER&&Na==="tags"&&!kr.current&&!Qr&&(ui==null||ui(Kr.target.value)),Qe(Vn)&&Ri(!0)},cs=function(){eo(!0)},ba=Object(y.useRef)(null),sa=function(Kr){ti(Kr,!0,kr.current)!==!1&&Ri(!0)},Da=function(){kr.current=!0},On=function(Kr){kr.current=!1,Na!=="combobox"&&sa(Kr.target.value)},xn=function(Kr){var Vn=Kr.target.value;if(pi&&ba.current&&/[\r\n]/.test(ba.current)){var tr=ba.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Vn=Vn.replace(tr,ba.current)}ba.current=null,sa(Vn)},Rt=function(Kr){var Vn=Kr.clipboardData,tr=Vn.getData("text");ba.current=tr},mr=function(Kr){var Vn=Kr.target;if(Vn!==Ln.current){var tr=document.body.style.msTouchAction!==void 0;tr?setTimeout(function(){Ln.current.focus()}):Ln.current.focus()}},ta=function(Kr){var Vn=qi();Kr.target!==Ln.current&&!Vn&&Na!=="combobox"&&Kr.preventDefault(),(Na!=="combobox"&&(!ar||!Vn)||!Qr)&&(Qr&&_i!==!1&&ti("",!0,!1),Ri())},ma={inputRef:Ln,onInputKeyDown:xo,onInputMouseDown:cs,onInputChange:xn,onInputPaste:Rt,onInputCompositionStart:Da,onInputCompositionEnd:On},Oa=Na==="multiple"||Na==="tags"?y.createElement(ut,Object(E.a)({},Lt,ma)):y.createElement($e,Object(E.a)({},Lt,ma));return y.createElement("div",{ref:Zi,className:"".concat(ea,"-selector"),onClick:mr,onMouseDown:ta},Oa)},Ot=y.forwardRef(Tt);Ot.displayName="Selector";var Ut=Ot,At=l("uciX"),Pt=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Dt=function(Lt){var gn=Lt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:gn,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:gn,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:gn,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:gn,adjustY:1}}}},Qt=function(Lt,gn){var Ln=Lt.prefixCls,kr=Lt.disabled,ea=Lt.visible,Qr=Lt.children,Na=Lt.popupElement,ar=Lt.containerWidth,pi=Lt.animation,_i=Lt.transitionName,ti=Lt.dropdownStyle,ui=Lt.dropdownClassName,Ri=Lt.direction,ao=Ri===void 0?"ltr":Ri,Zi=Lt.placement,Fi=Lt.dropdownMatchSelectWidth,Si=Lt.dropdownRender,qi=Lt.dropdownAlign,eo=Lt.getPopupContainer,xo=Lt.empty,cs=Lt.getTriggerDOMNode,ba=Lt.onPopupVisibleChange,sa=Lt.onPopupMouseEnter,Da=Object(A.a)(Lt,Pt),On="".concat(Ln,"-dropdown"),xn=Na;Si&&(xn=Si(Na));var Rt=y.useMemo(function(){return Dt(Fi)},[Fi]),mr=pi?"".concat(On,"-").concat(pi):_i,ta=y.useRef(null);y.useImperativeHandle(gn,function(){return{getPopupElement:function(){return ta.current}}});var ma=Object(C.a)({minWidth:ar},ti);return typeof Fi=="number"?ma.width=Fi:Fi&&(ma.width=ar),y.createElement(At.a,Object(E.a)({},Da,{showAction:ba?["click"]:[],hideAction:ba?["click"]:[],popupPlacement:Zi||(ao==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Rt,prefixCls:On,popupTransitionName:mr,popup:y.createElement("div",{ref:ta,onMouseEnter:sa},xn),popupAlign:qi,popupVisible:ea,getPopupContainer:eo,popupClassName:oe()(ui,Object(O.a)({},"".concat(On,"-empty"),xo)),popupStyle:ma,getTriggerDOMNode:cs,onPopupVisibleChange:ba}),Qr)},cn=y.forwardRef(Qt);cn.displayName="SelectTrigger";var $n=cn,hn=l("T5bk");function _n(Un,Lt){var gn=Un.key,Ln;return"value"in Un&&(Ln=Un.value),gn!=null?gn:Ln!==void 0?Ln:"rc-index-key-".concat(Lt)}function bn(Un,Lt){var gn=Un||{},Ln=gn.label,kr=gn.value,ea=gn.options;return{label:Ln||(Lt?"children":"label"),value:kr||"value",options:ea||"options"}}function Bn(Un){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gn=Lt.fieldNames,Ln=Lt.childrenAsData,kr=[],ea=bn(gn,!1),Qr=ea.label,Na=ea.value,ar=ea.options;function pi(_i,ti){_i.forEach(function(ui){var Ri=ui[Qr];if(ti||!(ar in ui)){var ao=ui[Na];kr.push({key:_n(ui,kr.length),groupOption:ti,data:ui,label:Ri,value:ao})}else{var Zi=Ri;Zi===void 0&&Ln&&(Zi=ui.label),kr.push({key:_n(ui,kr.length),group:!0,data:ui,label:Zi}),pi(ui[ar],!0)}})}return pi(Un,!1),kr}function Tn(Un){var Lt=Object(C.a)({},Un);return"props"in Lt||Object.defineProperty(Lt,"props",{get:function(){return _e(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Lt}}),Lt}function Tr(Un,Lt){if(!Lt||!Lt.length)return null;var gn=!1;function Ln(ea,Qr){var Na=Object(hn.a)(Qr),ar=Na[0],pi=Na.slice(1);if(!ar)return[ea];var _i=ea.split(ar);return gn=gn||_i.length>1,_i.reduce(function(ti,ui){return[].concat(Object(m.a)(ti),Object(m.a)(Ln(ui,pi)))},[]).filter(function(ti){return ti})}var kr=Ln(Un,Lt);return gn?kr:null}var Sr=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Wr=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function br(Un){return Un==="tags"||Un==="multiple"}var Wn=y.forwardRef(function(Un,Lt){var gn,Ln,kr=Un.id,ea=Un.prefixCls,Qr=Un.className,Na=Un.showSearch,ar=Un.tagRender,pi=Un.direction,_i=Un.omitDomProps,ti=Un.displayValues,ui=Un.onDisplayValuesChange,Ri=Un.emptyOptions,ao=Un.notFoundContent,Zi=ao===void 0?"Not Found":ao,Fi=Un.onClear,Si=Un.mode,qi=Un.disabled,eo=Un.loading,xo=Un.getInputElement,cs=Un.getRawInputElement,ba=Un.open,sa=Un.defaultOpen,Da=Un.onDropdownVisibleChange,On=Un.activeValue,xn=Un.onActiveValueChange,Rt=Un.activeDescendantId,mr=Un.searchValue,ta=Un.autoClearSearchValue,ma=Un.onSearch,Oa=Un.onSearchSplit,Pn=Un.tokenSeparators,Kr=Un.allowClear,Vn=Un.showArrow,tr=Un.inputIcon,Ea=Un.clearIcon,Ja=Un.OptionList,go=Un.animation,fi=Un.transitionName,lo=Un.dropdownStyle,Oi=Un.dropdownClassName,io=Un.dropdownMatchSelectWidth,Vi=Un.dropdownRender,vo=Un.dropdownAlign,qo=Un.placement,hs=Un.getPopupContainer,$t=Un.showAction,rt=$t===void 0?[]:$t,Vt=Un.onFocus,tn=Un.onBlur,wn=Un.onKeyUp,qn=Un.onKeyDown,zn=Un.onMouseDown,xr=Object(A.a)(Un,Sr),da=br(Si),en=(Na!==void 0?Na:da)||Si==="combobox",Fn=Object(C.a)({},xr);Wr.forEach(function(hi){delete Fn[hi]}),_i==null||_i.forEach(function(hi){delete Fn[hi]});var Jn=y.useState(!1),Ir=Object(k.a)(Jn,2),Gr=Ir[0],ga=Ir[1];y.useEffect(function(){ga(ge())},[]);var Mr=y.useRef(null),$a=y.useRef(null),Ya=y.useRef(null),_o=y.useRef(null),Ni=y.useRef(null),ec=ze(),ks=Object(k.a)(ec,3),jo=ks[0],Qn=ks[1],ka=ks[2];y.useImperativeHandle(Lt,function(){var hi,ii;return{focus:(hi=_o.current)===null||hi===void 0?void 0:hi.focus,blur:(ii=_o.current)===null||ii===void 0?void 0:ii.blur,scrollTo:function(Xo){var ps;return(ps=Ni.current)===null||ps===void 0?void 0:ps.scrollTo(Xo)}}});var Pa=y.useMemo(function(){var hi;if(Si!=="combobox")return mr;var ii=(hi=ti[0])===null||hi===void 0?void 0:hi.value;return typeof ii=="string"||typeof ii=="number"?String(ii):""},[mr,Si,ti]),Qa=Si==="combobox"&&typeof xo=="function"&&xo()||null,Ei=typeof cs=="function"&&cs(),zo=fe($a,Ei==null||(gn=Ei.props)===null||gn===void 0?void 0:gn.ref),fo=J(void 0,{defaultValue:sa,value:ba}),gs=Object(k.a)(fo,2),Ks=gs[0],pc=gs[1],tc=Ks,xc=!Zi&&Ri;(qi||xc&&tc&&Si==="combobox")&&(tc=!1);var kc=xc?!1:tc,Ss=y.useCallback(function(hi){var ii=hi!==void 0?hi:!tc;qi||(pc(ii),tc!==ii&&(Da==null||Da(ii)))},[qi,tc,pc,Da]),Js=y.useMemo(function(){return(Pn||[]).some(function(hi){return[`
`,`\r
`].includes(hi)})},[Pn]),Mo=function(ii,Di,Xo){var ps=!0,mc=ii;xn==null||xn(null);var Ts=Xo?null:Tr(ii,Pn);return Si!=="combobox"&&Ts&&(mc="",Oa==null||Oa(Ts),Ss(!1),ps=!1),ma&&Pa!==mc&&ma(mc,{source:Di?"typing":"effect"}),ps},js=function(ii){!ii||!ii.trim()||ma(ii,{source:"submit"})};y.useEffect(function(){!tc&&!da&&Si!=="combobox"&&Mo("",!1,!1)},[tc]),y.useEffect(function(){Ks&&qi&&pc(!1),qi&&Qn(!1)},[qi]);var Yc=Ue(),gc=Object(k.a)(Yc,2),Cl=gc[0],wl=gc[1],Wc=function(ii){var Di=Cl(),Xo=ii.which;if(Xo===Z.ENTER&&(Si!=="combobox"&&ii.preventDefault(),tc||Ss(!0)),wl(!!Pa),Xo===Z.BACKSPACE&&!Di&&da&&!Pa&&ti.length){for(var ps=Object(m.a)(ti),mc=null,Ts=ps.length-1;Ts>=0;Ts-=1){var Ar=ps[Ts];if(!Ar.disabled){ps.splice(Ts,1),mc=Ar;break}}mc&&ui(ps,{type:"remove",values:[mc]})}for(var Gs=arguments.length,Nc=new Array(Gs>1?Gs-1:0),Jc=1;Jc<Gs;Jc++)Nc[Jc-1]=arguments[Jc];if(tc&&Ni.current){var Fc;(Fc=Ni.current).onKeyDown.apply(Fc,[ii].concat(Nc))}qn==null||qn.apply(void 0,[ii].concat(Nc))},nl=function(ii){for(var Di=arguments.length,Xo=new Array(Di>1?Di-1:0),ps=1;ps<Di;ps++)Xo[ps-1]=arguments[ps];if(tc&&Ni.current){var mc;(mc=Ni.current).onKeyUp.apply(mc,[ii].concat(Xo))}wn==null||wn.apply(void 0,[ii].concat(Xo))},Rc=function(ii){var Di=ti.filter(function(Xo){return Xo!==ii});ui(Di,{type:"remove",values:[ii]})},su=y.useRef(!1),Pl=function(){Qn(!0),qi||(Vt&&!su.current&&Vt.apply(void 0,arguments),rt.includes("focus")&&Ss(!0)),su.current=!0},al=function(){Qn(!1,function(){su.current=!1,Ss(!1)}),!qi&&(Pa&&(Si==="tags"?ma(Pa,{source:"submit"}):Si==="multiple"&&ma("",{source:"blur"})),tn&&tn.apply(void 0,arguments))},Ml=[];y.useEffect(function(){return function(){Ml.forEach(function(hi){return clearTimeout(hi)}),Ml.splice(0,Ml.length)}},[]);var Tl=function(ii){var Di,Xo=ii.target,ps=(Di=Ya.current)===null||Di===void 0?void 0:Di.getPopupElement();if(ps&&ps.contains(Xo)){var mc=setTimeout(function(){var Nc=Ml.indexOf(mc);if(Nc!==-1&&Ml.splice(Nc,1),ka(),!Gr&&!ps.contains(document.activeElement)){var Jc;(Jc=_o.current)===null||Jc===void 0||Jc.focus()}});Ml.push(mc)}for(var Ts=arguments.length,Ar=new Array(Ts>1?Ts-1:0),Gs=1;Gs<Ts;Gs++)Ar[Gs-1]=arguments[Gs];zn==null||zn.apply(void 0,[ii].concat(Ar))},td=y.useState(null),rl=Object(k.a)(td,2),dl=rl[0],qt=rl[1],nr=y.useState({}),Ur=Object(k.a)(nr,2),Yr=Ur[1];function ni(){Yr({})}F(function(){if(kc){var hi,ii=Math.ceil((hi=Mr.current)===null||hi===void 0?void 0:hi.offsetWidth);dl!==ii&&!Number.isNaN(ii)&&qt(ii)}},[kc]);var vi;Ei&&(vi=function(ii){Ss(ii)}),He(function(){var hi;return[Mr.current,(hi=Ya.current)===null||hi===void 0?void 0:hi.getPopupElement()]},kc,Ss,!!Ei);var zr=y.useMemo(function(){return Object(C.a)(Object(C.a)({},Un),{},{notFoundContent:Zi,open:tc,triggerOpen:kc,id:kr,showSearch:en,multiple:da,toggleOpen:Ss})},[Un,Zi,kc,tc,kr,en,da,Ss]),wr=Vn!==void 0?Vn:eo||!da&&Si!=="combobox",Ua;wr&&(Ua=y.createElement(Xt,{className:oe()("".concat(ea,"-arrow"),Object(O.a)({},"".concat(ea,"-arrow-loading"),eo)),customizeIcon:tr,customizeIconProps:{loading:eo,searchValue:Pa,open:tc,focused:jo,showSearch:en}}));var La,Nr=function(){var ii;Fi==null||Fi(),(ii=_o.current)===null||ii===void 0||ii.focus(),ui([],{type:"clear",values:ti}),Mo("",!1,!1)};!qi&&Kr&&(ti.length||Pa)&&!(Si==="combobox"&&Pa==="")&&(La=y.createElement(Xt,{className:"".concat(ea,"-clear"),onMouseDown:Nr,customizeIcon:Ea},"\xD7"));var ua=y.createElement(Ja,{ref:Ni}),ra=oe()(ea,Qr,(Ln={},Object(O.a)(Ln,"".concat(ea,"-focused"),jo),Object(O.a)(Ln,"".concat(ea,"-multiple"),da),Object(O.a)(Ln,"".concat(ea,"-single"),!da),Object(O.a)(Ln,"".concat(ea,"-allow-clear"),Kr),Object(O.a)(Ln,"".concat(ea,"-show-arrow"),wr),Object(O.a)(Ln,"".concat(ea,"-disabled"),qi),Object(O.a)(Ln,"".concat(ea,"-loading"),eo),Object(O.a)(Ln,"".concat(ea,"-open"),tc),Object(O.a)(Ln,"".concat(ea,"-customize-input"),Qa),Object(O.a)(Ln,"".concat(ea,"-show-search"),en),Ln)),ri=y.createElement($n,{ref:Ya,disabled:qi,prefixCls:ea,visible:kc,popupElement:ua,containerWidth:dl,animation:go,transitionName:fi,dropdownStyle:lo,dropdownClassName:Oi,direction:pi,dropdownMatchSelectWidth:io,dropdownRender:Vi,dropdownAlign:vo,placement:qo,getPopupContainer:hs,empty:Ri,getTriggerDOMNode:function(){return $a.current},onPopupVisibleChange:vi,onPopupMouseEnter:ni},Ei?y.cloneElement(Ei,{ref:zo}):y.createElement(Ut,Object(E.a)({},Un,{domRef:$a,prefixCls:ea,inputElement:Qa,ref:_o,id:kr,showSearch:en,autoClearSearchValue:ta,mode:Si,activeDescendantId:Rt,tagRender:ar,values:ti,open:tc,onToggleOpen:Ss,activeValue:On,searchValue:Pa,onSearch:Mo,onSearchSubmit:js,onRemove:Rc,tokenWithEnter:Js}))),li;return Ei?li=ri:li=y.createElement("div",Object(E.a)({className:ra},Fn,{ref:Mr,onMouseDown:Tl,onKeyDown:Wc,onKeyUp:nl,onFocus:Pl,onBlur:al}),jo&&!tc&&y.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(ti.map(function(hi){var ii=hi.label,Di=hi.value;return["number","string"].includes(Object(S.a)(ii))?ii:Di}).join(", "))),ri,Ua,La),y.createElement(Ke.Provider,{value:zr},li)}),gr=Wn,na=function(Un,Lt){var gn=y.useRef({values:new Map,options:new Map}),Ln=y.useMemo(function(){var ea=gn.current,Qr=ea.values,Na=ea.options,ar=Un.map(function(ti){if(ti.label===void 0){var ui;return Object(C.a)(Object(C.a)({},ti),{},{label:(ui=Qr.get(ti.value))===null||ui===void 0?void 0:ui.label})}return ti}),pi=new Map,_i=new Map;return ar.forEach(function(ti){pi.set(ti.value,ti),_i.set(ti.value,Lt.get(ti.value)||Na.get(ti.value))}),gn.current.values=pi,gn.current.options=_i,ar},[Un,Lt]),kr=y.useCallback(function(ea){return Lt.get(ea)||gn.current.options.get(ea)},[Lt]);return[Ln,kr]};function jn(Un,Lt){return Se(Un).join("").toUpperCase().includes(Lt)}var un=function(Un,Lt,gn,Ln,kr){return y.useMemo(function(){if(!gn||Ln===!1)return Un;var ea=Lt.options,Qr=Lt.label,Na=Lt.value,ar=[],pi=typeof Ln=="function",_i=gn.toUpperCase(),ti=pi?Ln:function(Ri,ao){return kr?jn(ao[kr],_i):ao[ea]?jn(ao[Qr!=="children"?Qr:"label"],_i):jn(ao[Na],_i)},ui=pi?function(Ri){return Tn(Ri)}:function(Ri){return Ri};return Un.forEach(function(Ri){if(Ri[ea]){var ao=ti(gn,ui(Ri));if(ao)ar.push(Ri);else{var Zi=Ri[ea].filter(function(Fi){return ti(gn,ui(Fi))});Zi.length&&ar.push(Object(C.a)(Object(C.a)({},Ri),{},Object(O.a)({},ea,Zi)))}return}ti(gn,ui(Ri))&&ar.push(Ri)}),ar},[Un,Ln,kr,gn,Lt])},zt=l("18yb");function Bt(Un){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gn=[];return w.a.Children.forEach(Un,function(Ln){Ln==null&&!Lt.keepEmpty||(Array.isArray(Ln)?gn=gn.concat(Bt(Ln)):Object(xe.isFragment)(Ln)&&Ln.props?gn=gn.concat(Bt(Ln.props.children,Lt)):gn.push(Ln))}),gn}var H=["children","value"],ot=["children"];function nt(Un){var Lt=Un,gn=Lt.key,Ln=Lt.props,kr=Ln.children,ea=Ln.value,Qr=Object(A.a)(Ln,H);return Object(C.a)({key:gn,value:ea!==void 0?ea:gn,children:kr},Qr)}function Ct(Un){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Bt(Un).map(function(gn,Ln){if(!y.isValidElement(gn)||!gn.type)return null;var kr=gn,ea=kr.type.isSelectOptGroup,Qr=kr.key,Na=kr.props,ar=Na.children,pi=Object(A.a)(Na,ot);return Lt||!ea?nt(gn):Object(C.a)(Object(C.a)({key:"__RC_SELECT_GRP__".concat(Qr===null?Ln:Qr,"__"),label:Qr},pi),{},{options:Ct(ar)})}).filter(function(gn){return gn})}function Wt(Un,Lt,gn,Ln,kr){return y.useMemo(function(){var ea=Un,Qr=!Un;Qr&&(ea=Ct(Lt));var Na=new Map,ar=new Map,pi=function(ui,Ri,ao){ao&&typeof ao=="string"&&ui.set(Ri[ao],Ri)};function _i(ti){for(var ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ri=0;Ri<ti.length;Ri+=1){var ao=ti[Ri];!ao[gn.options]||ui?(Na.set(ao[gn.value],ao),pi(ar,ao,gn.label),pi(ar,ao,Ln),pi(ar,ao,kr)):_i(ao[gn.options],!0)}}return _i(ea),{options:ea,valueOptions:Na,labelOptions:ar}},[Un,Lt,gn,Ln,kr])}function kn(Un){var Lt=y.useRef();Lt.current=Un;var gn=y.useCallback(function(){return Lt.current.apply(Lt,arguments)},[]);return gn}var Sn=function(){return null};Sn.isSelectOptGroup=!0;var Zn=Sn,Or=function(){return null};Or.isSelectOption=!0;var Yn=Or;function Nn(Un,Lt){var gn=Object(C.a)({},Un);return Array.isArray(Lt)&&Lt.forEach(function(Ln){delete gn[Ln]}),gn}var Zt=l("+nKL");function rr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Gn=y.createContext(null),ln=Gn,Xn=["disabled","title","children","style","className"];function Kn(Un){return typeof Un=="string"||typeof Un=="number"}var fr=function(Lt,gn){var Ln=Me(),kr=Ln.prefixCls,ea=Ln.id,Qr=Ln.open,Na=Ln.multiple,ar=Ln.mode,pi=Ln.searchValue,_i=Ln.toggleOpen,ti=Ln.notFoundContent,ui=Ln.onPopupScroll,Ri=y.useContext(ln),ao=Ri.flattenOptions,Zi=Ri.onActiveValue,Fi=Ri.defaultActiveFirstOption,Si=Ri.onSelect,qi=Ri.menuItemSelectedIcon,eo=Ri.rawValues,xo=Ri.fieldNames,cs=Ri.virtual,ba=Ri.listHeight,sa=Ri.listItemHeight,Da="".concat(kr,"-item"),On=Ee(function(){return ao},[Qr,ao],function(lo,Oi){return Oi[0]&&lo[1]!==Oi[1]}),xn=y.useRef(null),Rt=function(Oi){Oi.preventDefault()},mr=function(Oi){xn.current&&xn.current.scrollTo(typeof Oi=="number"?{index:Oi}:Oi)},ta=function(Oi){for(var io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Vi=On.length,vo=0;vo<Vi;vo+=1){var qo=(Oi+vo*io+Vi)%Vi,hs=On[qo],$t=hs.group,rt=hs.data;if(!$t&&!rt.disabled)return qo}return-1},ma=y.useState(function(){return ta(0)}),Oa=Object(k.a)(ma,2),Pn=Oa[0],Kr=Oa[1],Vn=function(Oi){var io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Kr(Oi);var Vi={source:io?"keyboard":"mouse"},vo=On[Oi];if(!vo){Zi(null,-1,Vi);return}Zi(vo.value,Oi,Vi)};Object(y.useEffect)(function(){Vn(Fi!==!1?ta(0):-1)},[On.length,pi]);var tr=y.useCallback(function(lo){return eo.has(lo)&&ar!=="combobox"},[ar,Object(m.a)(eo).toString(),eo.size]);Object(y.useEffect)(function(){var lo=setTimeout(function(){if(!Na&&Qr&&eo.size===1){var io=Array.from(eo)[0],Vi=On.findIndex(function(vo){var qo=vo.data;return qo.value===io});Vi!==-1&&(Vn(Vi),mr(Vi))}});if(Qr){var Oi;(Oi=xn.current)===null||Oi===void 0||Oi.scrollTo(void 0)}return function(){return clearTimeout(lo)}},[Qr,pi]);var Ea=function(Oi){Oi!==void 0&&Si(Oi,{selected:!eo.has(Oi)}),Na||_i(!1)};if(y.useImperativeHandle(gn,function(){return{onKeyDown:function(Oi){var io=Oi.which,Vi=Oi.ctrlKey;switch(io){case Z.N:case Z.P:case Z.UP:case Z.DOWN:{var vo=0;if(io===Z.UP?vo=-1:io===Z.DOWN?vo=1:rr()&&Vi&&(io===Z.N?vo=1:io===Z.P&&(vo=-1)),vo!==0){var qo=ta(Pn+vo,vo);mr(qo),Vn(qo,!0)}break}case Z.ENTER:{var hs=On[Pn];hs&&!hs.data.disabled?Ea(hs.value):Ea(void 0),Qr&&Oi.preventDefault();break}case Z.ESC:_i(!1),Qr&&Oi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Oi){mr(Oi)}}}),On.length===0)return y.createElement("div",{role:"listbox",id:"".concat(ea,"_list"),className:"".concat(Da,"-empty"),onMouseDown:Rt},ti);var Ja=Object.keys(xo).map(function(lo){return xo[lo]}),go=function(Oi){return Oi.label},fi=function(Oi){var io=On[Oi];if(!io)return null;var Vi=io.data||{},vo=Vi.value,qo=io.group,hs=tt(Vi,!0),$t=go(io);return io?y.createElement("div",Object(E.a)({"aria-label":typeof $t=="string"&&!qo?$t:null},hs,{key:Oi,role:qo?"presentation":"option",id:"".concat(ea,"_list_").concat(Oi),"aria-selected":tr(vo)}),vo):null};return y.createElement(y.Fragment,null,y.createElement("div",{role:"listbox",id:"".concat(ea,"_list"),style:{height:0,width:0,overflow:"hidden"}},fi(Pn-1),fi(Pn),fi(Pn+1)),y.createElement(Zt.a,{itemKey:"key",ref:xn,data:On,height:ba,itemHeight:sa,fullHeight:!1,onMouseDown:Rt,onScroll:ui,virtual:cs},function(lo,Oi){var io,Vi=lo.group,vo=lo.groupOption,qo=lo.data,hs=lo.label,$t=lo.value,rt=qo.key;if(Vi){var Vt,tn=(Vt=qo.title)!==null&&Vt!==void 0?Vt:Kn(hs)?hs.toString():void 0;return y.createElement("div",{className:oe()(Da,"".concat(Da,"-group")),title:tn},hs!==void 0?hs:rt)}var wn=qo.disabled,qn=qo.title,zn=qo.children,xr=qo.style,da=qo.className,en=Object(A.a)(qo,Xn),Fn=Nn(en,Ja),Jn=tr($t),Ir="".concat(Da,"-option"),Gr=oe()(Da,Ir,da,(io={},Object(O.a)(io,"".concat(Ir,"-grouped"),vo),Object(O.a)(io,"".concat(Ir,"-active"),Pn===Oi&&!wn),Object(O.a)(io,"".concat(Ir,"-disabled"),wn),Object(O.a)(io,"".concat(Ir,"-selected"),Jn),io)),ga=go(lo),Mr=!qi||typeof qi=="function"||Jn,$a=typeof ga=="number"?ga:ga||$t,Ya=Kn($a)?$a.toString():void 0;return qn!==void 0&&(Ya=qn),y.createElement("div",Object(E.a)({},tt(Fn),{"aria-selected":Jn,className:Gr,title:Ya,onMouseMove:function(){Pn===Oi||wn||Vn(Oi)},onClick:function(){wn||Ea($t)},style:xr}),y.createElement("div",{className:"".concat(Ir,"-content")},$a),y.isValidElement(qi)||Jn,Mr&&y.createElement(Xt,{className:"".concat(Da,"-option-state"),customizeIcon:qi,customizeIconProps:{isSelected:Jn}},Jn?"\u2713":null))}))},Hn=y.forwardRef(fr);Hn.displayName="OptionList";var Sa=Hn;function Lr(Un){var Lt=Un.mode,gn=Un.options,Ln=Un.children,kr=Un.backfill,ea=Un.allowClear,Qr=Un.placeholder,Na=Un.getInputElement,ar=Un.showSearch,pi=Un.onSearch,_i=Un.defaultOpen,ti=Un.autoFocus,ui=Un.labelInValue,Ri=Un.value,ao=Un.inputValue,Zi=Un.optionLabelProp,Fi=br(Lt),Si=ar!==void 0?ar:Fi||Lt==="combobox",qi=gn||Ct(Ln);if(_e(Lt!=="tags"||qi.every(function(ba){return!ba.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Lt==="tags"||Lt==="combobox"){var eo=qi.some(function(ba){return ba.options?ba.options.some(function(sa){return typeof("value"in sa?sa.value:sa.key)=="number"}):typeof("value"in ba?ba.value:ba.key)=="number"});_e(!eo,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(_e(Lt!=="combobox"||!Zi,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),_e(Lt==="combobox"||!kr,"`backfill` only works with `combobox` mode."),_e(Lt==="combobox"||!Na,"`getInputElement` only work with `combobox` mode."),te(Lt!=="combobox"||!Na||!ea||!Qr,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),pi&&!Si&&Lt!=="combobox"&&Lt!=="tags"&&_e(!1,"`onSearch` should work with `showSearch` instead of use alone."),te(!_i||ti,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ri!=null){var xo=Se(Ri);_e(!ui||xo.every(function(ba){return Object(S.a)(ba)==="object"&&("key"in ba||"value"in ba)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),_e(!Fi||Array.isArray(Ri),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ln){var cs=null;Bt(Ln).some(function(ba){if(!y.isValidElement(ba)||!ba.type)return!1;var sa=ba,Da=sa.type;if(Da.isSelectOption)return!1;if(Da.isSelectOptGroup){var On=Bt(ba.props.children).every(function(xn){return!y.isValidElement(xn)||!ba.type||xn.type.isSelectOption?!0:(cs=xn.type,!1)});return!On}return cs=Da,!0}),cs&&_e(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(cs.displayName||cs.name||cs,"`.")),_e(ao===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ca(Un,Lt){if(Un){var gn=function Ln(kr){for(var ea=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qr=0;Qr<kr.length;Qr++){var Na=kr[Qr];if(Na[Lt==null?void 0:Lt.value]===null)return _e(!1,"`value` in Select options should not be `null`."),!0;if(!ea&&Array.isArray(Na[Lt==null?void 0:Lt.options])&&Ln(Na[Lt==null?void 0:Lt.options],!0))break}};gn(Un)}}var za=Lr,Ma=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],va=["inputValue"];function qa(Un){return!Un||Object(S.a)(Un)!=="object"}var gi=y.forwardRef(function(Un,Lt){var gn=Un.id,Ln=Un.mode,kr=Un.prefixCls,ea=kr===void 0?"rc-select":kr,Qr=Un.backfill,Na=Un.fieldNames,ar=Un.inputValue,pi=Un.searchValue,_i=Un.onSearch,ti=Un.autoClearSearchValue,ui=ti===void 0?!0:ti,Ri=Un.onSelect,ao=Un.onDeselect,Zi=Un.dropdownMatchSelectWidth,Fi=Zi===void 0?!0:Zi,Si=Un.filterOption,qi=Un.filterSort,eo=Un.optionFilterProp,xo=Un.optionLabelProp,cs=Un.options,ba=Un.children,sa=Un.defaultActiveFirstOption,Da=Un.menuItemSelectedIcon,On=Un.virtual,xn=Un.listHeight,Rt=xn===void 0?200:xn,mr=Un.listItemHeight,ta=mr===void 0?20:mr,ma=Un.value,Oa=Un.defaultValue,Pn=Un.labelInValue,Kr=Un.onChange,Vn=Object(A.a)(Un,Ma),tr=Object(zt.a)(gn),Ea=br(Ln),Ja=!!(!cs&&ba),go=y.useMemo(function(){return Si===void 0&&Ln==="combobox"?!1:Si},[Si,Ln]),fi=y.useMemo(function(){return bn(Na,Ja)},[JSON.stringify(Na),Ja]),lo=J("",{value:pi!==void 0?pi:ar,postState:function(Js){return Js||""}}),Oi=Object(k.a)(lo,2),io=Oi[0],Vi=Oi[1],vo=Wt(cs,ba,fi,eo,xo),qo=vo.valueOptions,hs=vo.labelOptions,$t=vo.options,rt=y.useCallback(function(Ss){var Js=Se(Ss);return Js.map(function(Mo){var js,Yc,gc,Cl,wl;if(qa(Mo))js=Mo;else{var Wc;gc=Mo.key,Yc=Mo.label,js=(Wc=Mo.value)!==null&&Wc!==void 0?Wc:gc}var nl=qo.get(js);if(nl){var Rc;if(Yc===void 0&&(Yc=nl==null?void 0:nl[xo||fi.label]),gc===void 0&&(gc=(Rc=nl==null?void 0:nl.key)!==null&&Rc!==void 0?Rc:js),Cl=nl==null?void 0:nl.disabled,wl=nl==null?void 0:nl.title,!1)var su}return{label:Yc,value:js,key:gc,disabled:Cl,title:wl}})},[fi,xo,qo]),Vt=J(Oa,{value:ma}),tn=Object(k.a)(Vt,2),wn=tn[0],qn=tn[1],zn=y.useMemo(function(){var Ss,Js=rt(wn);return Ln==="combobox"&&!((Ss=Js[0])!==null&&Ss!==void 0&&Ss.value)?[]:Js},[wn,rt,Ln]),xr=na(zn,qo),da=Object(k.a)(xr,2),en=da[0],Fn=da[1],Jn=y.useMemo(function(){if(!Ln&&en.length===1){var Ss=en[0];if(Ss.value===null&&(Ss.label===null||Ss.label===void 0))return[]}return en.map(function(Js){var Mo;return Object(C.a)(Object(C.a)({},Js),{},{label:(Mo=Js.label)!==null&&Mo!==void 0?Mo:Js.value})})},[Ln,en]),Ir=y.useMemo(function(){return new Set(en.map(function(Ss){return Ss.value}))},[en]);y.useEffect(function(){if(Ln==="combobox"){var Ss,Js=(Ss=en[0])===null||Ss===void 0?void 0:Ss.value;Vi(_t(Js)?String(Js):"")}},[en]);var Gr=kn(function(Ss,Js){var Mo,js=Js!=null?Js:Ss;return Mo={},Object(O.a)(Mo,fi.value,Ss),Object(O.a)(Mo,fi.label,js),Mo}),ga=y.useMemo(function(){if(Ln!=="tags")return $t;var Ss=Object(m.a)($t),Js=function(js){return qo.has(js)};return Object(m.a)(en).sort(function(Mo,js){return Mo.value<js.value?-1:1}).forEach(function(Mo){var js=Mo.value;Js(js)||Ss.push(Gr(js,Mo.label))}),Ss},[Gr,$t,qo,en,Ln]),Mr=un(ga,fi,io,go,eo),$a=y.useMemo(function(){return Ln!=="tags"||!io||Mr.some(function(Ss){return Ss[eo||"value"]===io})?Mr:[Gr(io)].concat(Object(m.a)(Mr))},[Gr,eo,Ln,Mr,io]),Ya=y.useMemo(function(){return qi?Object(m.a)($a).sort(function(Ss,Js){return qi(Ss,Js)}):$a},[$a,qi]),_o=y.useMemo(function(){return Bn(Ya,{fieldNames:fi,childrenAsData:Ja})},[Ya,fi,Ja]),Ni=function(Js){var Mo=rt(Js);if(qn(Mo),Kr&&(Mo.length!==en.length||Mo.some(function(gc,Cl){var wl;return((wl=en[Cl])===null||wl===void 0?void 0:wl.value)!==(gc==null?void 0:gc.value)}))){var js=Pn?Mo:Mo.map(function(gc){return gc.value}),Yc=Mo.map(function(gc){return Tn(Fn(gc.value))});Kr(Ea?js:js[0],Ea?Yc:Yc[0])}},ec=y.useState(null),ks=Object(k.a)(ec,2),jo=ks[0],Qn=ks[1],ka=y.useState(0),Pa=Object(k.a)(ka,2),Qa=Pa[0],Ei=Pa[1],zo=sa!==void 0?sa:Ln!=="combobox",fo=y.useCallback(function(Ss,Js){var Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},js=Mo.source,Yc=js===void 0?"keyboard":js;Ei(Js),Qr&&Ln==="combobox"&&Ss!==null&&Yc==="keyboard"&&Qn(String(Ss))},[Qr,Ln]),gs=function(Js,Mo,js){var Yc=function(){var Ml,Tl=Fn(Js);return[Pn?{label:Tl==null?void 0:Tl[fi.label],value:Js,key:(Ml=Tl==null?void 0:Tl.key)!==null&&Ml!==void 0?Ml:Js}:Js,Tn(Tl)]};if(Mo&&Ri){var gc=Yc(),Cl=Object(k.a)(gc,2),wl=Cl[0],Wc=Cl[1];Ri(wl,Wc)}else if(!Mo&&ao&&js!=="clear"){var nl=Yc(),Rc=Object(k.a)(nl,2),su=Rc[0],Pl=Rc[1];ao(su,Pl)}},Ks=kn(function(Ss,Js){var Mo,js=Ea?Js.selected:!0;js?Mo=Ea?[].concat(Object(m.a)(en),[Ss]):[Ss]:Mo=en.filter(function(Yc){return Yc.value!==Ss}),Ni(Mo),gs(Ss,js),Ln==="combobox"?Qn(""):(!br||ui)&&(Vi(""),Qn(""))}),pc=function(Js,Mo){Ni(Js);var js=Mo.type,Yc=Mo.values;(js==="remove"||js==="clear")&&Yc.forEach(function(gc){gs(gc.value,!1,js)})},tc=function(Js,Mo){if(Vi(Js),Qn(null),Mo.source==="submit"){var js=(Js||"").trim();if(js){var Yc=Array.from(new Set([].concat(Object(m.a)(Ir),[js])));Ni(Yc),gs(js,!0),Vi("")}return}Mo.source!=="blur"&&(Ln==="combobox"&&Ni(Js),_i==null||_i(Js))},xc=function(Js){var Mo=Js;Ln!=="tags"&&(Mo=Js.map(function(Yc){var gc=hs.get(Yc);return gc==null?void 0:gc.value}).filter(function(Yc){return Yc!==void 0}));var js=Array.from(new Set([].concat(Object(m.a)(Ir),Object(m.a)(Mo))));Ni(js),js.forEach(function(Yc){gs(Yc,!0)})},kc=y.useMemo(function(){var Ss=On!==!1&&Fi!==!1;return Object(C.a)(Object(C.a)({},vo),{},{flattenOptions:_o,onActiveValue:fo,defaultActiveFirstOption:zo,onSelect:Ks,menuItemSelectedIcon:Da,rawValues:Ir,fieldNames:fi,virtual:Ss,listHeight:Rt,listItemHeight:ta,childrenAsData:Ja})},[vo,_o,fo,zo,Ks,Da,Ir,fi,On,Fi,Rt,ta,Ja]);return y.createElement(ln.Provider,{value:kc},y.createElement(gr,Object(E.a)({},Vn,{id:tr,prefixCls:ea,ref:Lt,omitDomProps:va,mode:Ln,displayValues:Jn,onDisplayValuesChange:pc,searchValue:io,onSearch:tc,autoClearSearchValue:ui,onSearchSplit:xc,dropdownMatchSelectWidth:Fi,OptionList:Sa,emptyOptions:!_o.length,activeValue:jo,activeDescendantId:"".concat(tr,"_list_").concat(Qa)})))}),Qi=gi;Qi.Option=Yn,Qi.OptGroup=Zn;var mi=Qi,Cr=R.d=mi},LgvC:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Binding=void 0;var E=l("FV85"),m=l("d9O0"),O=function(){function C(k,A){this.id=m.id(),this.activated=!1,this.serviceIdentifier=k,this.scope=A,this.type=E.BindingTypeEnum.Invalid,this.constraint=function(S){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.dynamicValue=null}return C.prototype.clone=function(){var k=new C(this.serviceIdentifier,this.scope);return k.activated=k.scope===E.BindingScopeEnum.Singleton?this.activated:!1,k.implementationType=this.implementationType,k.dynamicValue=this.dynamicValue,k.scope=this.scope,k.type=this.type,k.factory=this.factory,k.provider=this.provider,k.constraint=this.constraint,k.onActivation=this.onActivation,k.cache=this.cache,k},C}();R.Binding=O},"Lj+q":function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").find,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("find",function(A){return m(O(this),A,arguments.length>1?arguments[1]:void 0)})},Lm90:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("pI4h"),m=k(E),O=l("xgaV"),C=k(O);function k(j){return j&&j.__esModule?j:{default:j}}function A(j,D){if(!(j instanceof D))throw new TypeError("Cannot call a class as a function")}var S=["ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","CONNECT","CONTINUE","CORRELATE","COVER","CREATE","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FIRST","FLATTEN","FOR","FORCE","FROM","FUNCTION","GRANT","GROUP","GSI","HAVING","IF","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LAST","LEFT","LET","LETTING","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NOT","NULL","NUMBER","OBJECT","OFFSET","ON","OPTION","OR","ORDER","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROCEDURE","PUBLIC","RAW","REALM","REDUCE","RENAME","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","SATISFIES","SCHEMA","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TO","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WITH","WITHIN","WORK","XOR"],y=["DELETE FROM","EXCEPT ALL","EXCEPT","EXPLAIN DELETE FROM","EXPLAIN UPDATE","EXPLAIN UPSERT","FROM","GROUP BY","HAVING","INFER","INSERT INTO","INTERSECT ALL","INTERSECT","LET","LIMIT","MERGE","NEST","ORDER BY","PREPARE","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UNNEST","UPDATE","UPSERT","USE KEYS","VALUES","WHERE"],w=["AND","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","XOR"],x=void 0,T=function(){function j(D){A(this,j),this.cfg=D}return j.prototype.format=function(N){return x||(x=new C.default({reservedWords:S,reservedToplevelWords:y,reservedNewlineWords:w,stringTypes:['""',"''","``"],openParens:["(","[","{"],closeParens:[")","]","}"],namedPlaceholderTypes:["$"],lineCommentTypes:["#","--"]})),new m.default(this.cfg,x).format(N)},j}();R.default=T,ce.exports=R.default},LpSC:function(ce,R,l){l("bZMm"),ce.exports=self.fetch.bind(self)},Lpa0:function(ce,R,l){},Lpa7:function(ce,R,l){"use strict";l.d(R,"a",function(){return bt}),l.d(R,"b",function(){return at}),l.d(R,"c",function(){return Re});var E=l("q1tI"),m=l.n(E);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function O(ft,Fe,Te,ut){function le($e){return $e instanceof Te?$e:new Te(function(Qe){Qe($e)})}return new(Te||(Te=Promise))(function($e,Qe){function Tt(At){try{Ut(ut.next(At))}catch(Pt){Qe(Pt)}}function Ot(At){try{Ut(ut.throw(At))}catch(Pt){Qe(Pt)}}function Ut(At){At.done?$e(At.value):le(At.value).then(Tt,Ot)}Ut((ut=ut.apply(ft,Fe||[])).next())})}function C(ft,Fe){var Te={label:0,sent:function(){if($e[0]&1)throw $e[1];return $e[1]},trys:[],ops:[]},ut,le,$e,Qe;return Qe={next:Tt(0),throw:Tt(1),return:Tt(2)},typeof Symbol=="function"&&(Qe[Symbol.iterator]=function(){return this}),Qe;function Tt(Ut){return function(At){return Ot([Ut,At])}}function Ot(Ut){if(ut)throw new TypeError("Generator is already executing.");for(;Te;)try{if(ut=1,le&&($e=Ut[0]&2?le.return:Ut[0]?le.throw||(($e=le.return)&&$e.call(le),0):le.next)&&!($e=$e.call(le,Ut[1])).done)return $e;switch(le=0,$e&&(Ut=[Ut[0]&2,$e.value]),Ut[0]){case 0:case 1:$e=Ut;break;case 4:return Te.label++,{value:Ut[1],done:!1};case 5:Te.label++,le=Ut[1],Ut=[0];continue;case 7:Ut=Te.ops.pop(),Te.trys.pop();continue;default:if($e=Te.trys,!($e=$e.length>0&&$e[$e.length-1])&&(Ut[0]===6||Ut[0]===2)){Te=0;continue}if(Ut[0]===3&&(!$e||Ut[1]>$e[0]&&Ut[1]<$e[3])){Te.label=Ut[1];break}if(Ut[0]===6&&Te.label<$e[1]){Te.label=$e[1],$e=Ut;break}if($e&&Te.label<$e[2]){Te.label=$e[2],Te.ops.push(Ut);break}$e[2]&&Te.ops.pop(),Te.trys.pop();continue}Ut=Fe.call(ft,Te)}catch(At){Ut=[6,At],le=0}finally{ut=$e=0}if(Ut[0]&5)throw Ut[1];return{value:Ut[0]?Ut[1]:void 0,done:!0}}}var k=function(){},A=k(),S=Object,y=function(Fe){return Fe===A},w=function(Fe){return typeof Fe=="function"},x=function(Fe,Te){return S.assign({},Fe,Te)},T="undefined",j=function(){return typeof window!=T},D=function(){return typeof document!=T},N=function(){return j()&&typeof window.requestAnimationFrame!=T},F=new WeakMap,B=0,U=function ft(Fe){var Te=typeof Fe,ut=Fe&&Fe.constructor,le=ut==Date,$e,Qe;if(S(Fe)===Fe&&!le&&ut!=RegExp){if($e=F.get(Fe),$e)return $e;if($e=++B+"~",F.set(Fe,$e),ut==Array){for($e="@",Qe=0;Qe<Fe.length;Qe++)$e+=ft(Fe[Qe])+",";F.set(Fe,$e)}if(ut==S){$e="#";for(var Tt=S.keys(Fe).sort();!y(Qe=Tt.pop());)y(Fe[Qe])||($e+=Qe+":"+ft(Fe[Qe])+",");F.set(Fe,$e)}}else $e=le?Fe.toJSON():Te=="symbol"?Fe.toString():Te=="string"?JSON.stringify(Fe):""+Fe;return $e},J=!0,$=function(){return J},X=j(),ee=D(),ie=X&&window.addEventListener?window.addEventListener.bind(window):k,G=ee?document.addEventListener.bind(document):k,Q=X&&window.removeEventListener?window.removeEventListener.bind(window):k,W=ee?document.removeEventListener.bind(document):k,ne=function(){var Fe=ee&&document.visibilityState;return y(Fe)||Fe!=="hidden"},te=function(Fe){return G("visibilitychange",Fe),ie("focus",Fe),function(){W("visibilitychange",Fe),Q("focus",Fe)}},_e=function(Fe){var Te=function(){J=!0,Fe()},ut=function(){J=!1};return ie("online",Te),ie("offline",ut),function(){Q("online",Te),Q("offline",ut)}},he={isOnline:$,isVisible:ne},oe={initFocus:te,initReconnect:_e},ge=!j()||"Deno"in window,me=function(Fe){return N()?window.requestAnimationFrame(Fe):setTimeout(Fe,1)},Z=ge?E.useEffect:E.useLayoutEffect,xe=typeof navigator!="undefined"&&navigator.connection,Ee=!ge&&xe&&(["slow-2g","2g"].includes(xe.effectiveType)||xe.saveData),Le=function(Fe){if(w(Fe))try{Fe=Fe()}catch(le){Fe=""}var Te=[].concat(Fe);Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?U(Fe):"";var ut=Fe?"$swr$"+Fe:"";return[Fe,Te,ut]},we=new WeakMap,fe=0,pe=1,Ke=2,Me=function(Fe,Te,ut,le,$e,Qe,Tt){Tt===void 0&&(Tt=!0);var Ot=we.get(Fe),Ut=Ot[0],At=Ot[1],Pt=Ot[3],Dt=Ut[Te],Qt=At[Te];if(Tt&&Qt)for(var cn=0;cn<Qt.length;++cn)Qt[cn](ut,le,$e);return Qe&&(delete Pt[Te],Dt&&Dt[0])?Dt[0](Ke).then(function(){return Fe.get(Te)}):Fe.get(Te)},ze=0,Ue=function(){return++ze},He=function(){for(var Fe=[],Te=0;Te<arguments.length;Te++)Fe[Te]=arguments[Te];return O(void 0,void 0,void 0,function(){var ut,le,$e,Qe,Tt,Ot,Ut,At,Pt,Dt,Qt,cn,$n,hn,_n,bn,Bn,Tn,Tr,Sr,Wr;return C(this,function(br){switch(br.label){case 0:if(ut=Fe[0],le=Fe[1],$e=Fe[2],Qe=Fe[3],Tt=typeof Qe=="boolean"?{revalidate:Qe}:Qe||{},Ot=y(Tt.populateCache)?!0:Tt.populateCache,Ut=Tt.revalidate!==!1,At=Tt.rollbackOnError!==!1,Pt=Tt.optimisticData,Dt=Le(le),Qt=Dt[0],cn=Dt[2],!Qt)return[2];if($n=we.get(ut),hn=$n[2],Fe.length<3)return[2,Me(ut,Qt,ut.get(Qt),A,A,Ut,!0)];if(_n=$e,Bn=Ue(),hn[Qt]=[Bn,0],Tn=!y(Pt),Tr=ut.get(Qt),Tn&&(Sr=w(Pt)?Pt(Tr):Pt,ut.set(Qt,Sr),Me(ut,Qt,Sr)),w(_n))try{_n=_n(ut.get(Qt))}catch(Wn){bn=Wn}return _n&&w(_n.then)?[4,_n.catch(function(Wn){bn=Wn})]:[3,2];case 1:if(_n=br.sent(),Bn!==hn[Qt][0]){if(bn)throw bn;return[2,_n]}else bn&&Tn&&At&&(Ot=!0,_n=Tr,ut.set(Qt,Tr));br.label=2;case 2:return Ot&&(bn||(w(Ot)&&(_n=Ot(_n,Tr)),ut.set(Qt,_n)),ut.set(cn,x(ut.get(cn),{error:bn}))),hn[Qt][1]=Ue(),[4,Me(ut,Qt,_n,bn,A,Ut,!!Ot)];case 3:if(Wr=br.sent(),bn)throw bn;return[2,Ot?Wr:_n]}})})},Ne=function(Fe,Te){for(var ut in Fe)Fe[ut][0]&&Fe[ut][0](Te)},it=function(Fe,Te){if(!we.has(Fe)){var ut=x(oe,Te),le={},$e=He.bind(A,Fe),Qe=k;if(we.set(Fe,[le,{},{},{},$e]),!ge){var Tt=ut.initFocus(setTimeout.bind(A,Ne.bind(A,le,fe))),Ot=ut.initReconnect(setTimeout.bind(A,Ne.bind(A,le,pe)));Qe=function(){Tt&&Tt(),Ot&&Ot(),we.delete(Fe)}}return[Fe,$e,Qe]}return[Fe,we.get(Fe)[4]]},Xe=function(Fe,Te,ut,le,$e){var Qe=ut.errorRetryCount,Tt=$e.retryCount,Ot=~~((Math.random()+.5)*(1<<(Tt<8?Tt:8)))*ut.errorRetryInterval;!y(Qe)&&Tt>Qe||setTimeout(le,Ot,$e)},ht=it(new Map),lt=ht[0],Et=ht[1],tt=x({onLoadingSlow:k,onSuccess:k,onError:k,onErrorRetry:Xe,onDiscarded:k,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ee?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ee?5e3:3e3,compare:function(Fe,Te){return U(Fe)==U(Te)},isPaused:function(){return!1},cache:lt,mutate:Et,fallback:{}},he),mt=function(Fe,Te){var ut=x(Fe,Te);if(Te){var le=Fe.use,$e=Fe.fallback,Qe=Te.use,Tt=Te.fallback;le&&Qe&&(ut.use=le.concat(Qe)),$e&&Tt&&(ut.fallback=x($e,Tt))}return ut},xt=Object(E.createContext)({}),Xt=function(Fe){var Te=Fe.value,ut=mt(Object(E.useContext)(xt),Te),le=Te&&Te.provider,$e=Object(E.useState)(function(){return le?it(le(ut.cache||lt),Te):A})[0];return $e&&(ut.cache=$e[0],ut.mutate=$e[1]),Z(function(){return $e?$e[2]:A},[]),Object(E.createElement)(xt.Provider,x(Fe,{value:ut}))},vt=function(Fe,Te){var ut=Object(E.useState)({})[1],le=Object(E.useRef)(Fe),$e=Object(E.useRef)({data:!1,error:!1,isValidating:!1}),Qe=Object(E.useCallback)(function(Tt){var Ot=!1,Ut=le.current;for(var At in Tt){var Pt=At;Ut[Pt]!==Tt[Pt]&&(Ut[Pt]=Tt[Pt],$e.current[Pt]&&(Ot=!0))}Ot&&!Te.current&&ut({})},[]);return Z(function(){le.current=Fe}),[le,$e.current,Qe]},qe=function(Fe){return w(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}]},Re=function(){return x(tt,Object(E.useContext)(xt))},Se=function(Fe){return function(){for(var ut=[],le=0;le<arguments.length;le++)ut[le]=arguments[le];var $e=Re(),Qe=qe(ut),Tt=Qe[0],Ot=Qe[1],Ut=Qe[2],At=mt($e,Ut),Pt=Fe,Dt=At.use;if(Dt)for(var Qt=Dt.length;Qt-- >0;)Pt=Dt[Qt](Pt);return Pt(Tt,Ot||At.fetcher,At)}},Ve=function(Fe,Te,ut){var le=Te[Fe]||(Te[Fe]=[]);return le.push(ut),function(){var $e=le.indexOf(ut);$e>=0&&(le[$e]=le[le.length-1],le.pop())}},Ge={dedupe:!0},_t=function(Fe,Te,ut){var le=ut.cache,$e=ut.compare,Qe=ut.fallbackData,Tt=ut.suspense,Ot=ut.revalidateOnMount,Ut=ut.refreshInterval,At=ut.refreshWhenHidden,Pt=ut.refreshWhenOffline,Dt=we.get(le),Qt=Dt[0],cn=Dt[1],$n=Dt[2],hn=Dt[3],_n=Le(Fe),bn=_n[0],Bn=_n[1],Tn=_n[2],Tr=Object(E.useRef)(!1),Sr=Object(E.useRef)(!1),Wr=Object(E.useRef)(bn),br=Object(E.useRef)(Te),Wn=Object(E.useRef)(ut),gr=function(){return Wn.current},na=function(){return gr().isVisible()&&gr().isOnline()},jn=function(Gn){return le.set(Tn,x(le.get(Tn),Gn))},un=le.get(bn),zt=y(Qe)?ut.fallback[bn]:Qe,Bt=y(un)?zt:un,H=le.get(Tn)||{},ot=H.error,nt=!Tr.current,Ct=function(){return nt&&!y(Ot)?Ot:gr().isPaused()?!1:Tt?y(Bt)?!1:ut.revalidateIfStale:y(Bt)||ut.revalidateIfStale},Wt=function(){return!bn||!Te?!1:H.isValidating?!0:nt&&Ct()},kn=Wt(),Sn=vt({data:Bt,error:ot,isValidating:kn},Sr),Zn=Sn[0],Or=Sn[1],Yn=Sn[2],Nn=Object(E.useCallback)(function(rr){return O(void 0,void 0,void 0,function(){var Gn,ln,Xn,Kn,fr,Hn,Sa,Lr,Ca,za,Ma,va,qa;return C(this,function(gi){switch(gi.label){case 0:if(Gn=br.current,!bn||!Gn||Sr.current||gr().isPaused())return[2,!1];Kn=!0,fr=rr||{},Hn=!hn[bn]||!fr.dedupe,Sa=function(){return!Sr.current&&bn===Wr.current&&Tr.current},Lr=function(){var mi=hn[bn];mi&&mi[1]===Xn&&delete hn[bn]},Ca={isValidating:!1},za=function(){jn({isValidating:!1}),Sa()&&Yn(Ca)},jn({isValidating:!0}),Yn({isValidating:!0}),gi.label=1;case 1:return gi.trys.push([1,3,,4]),Hn&&(Me(le,bn,Zn.current.data,Zn.current.error,!0),ut.loadingTimeout&&!le.get(bn)&&setTimeout(function(){Kn&&Sa()&&gr().onLoadingSlow(bn,ut)},ut.loadingTimeout),hn[bn]=[Gn.apply(void 0,Bn),Ue()]),qa=hn[bn],ln=qa[0],Xn=qa[1],[4,ln];case 2:return ln=gi.sent(),Hn&&setTimeout(Lr,ut.dedupingInterval),!hn[bn]||hn[bn][1]!==Xn?(Hn&&Sa()&&gr().onDiscarded(bn),[2,!1]):(jn({error:A}),Ca.error=A,Ma=$n[bn],!y(Ma)&&(Xn<=Ma[0]||Xn<=Ma[1]||Ma[1]===0)?(za(),Hn&&Sa()&&gr().onDiscarded(bn),[2,!1]):($e(Zn.current.data,ln)?Ca.data=Zn.current.data:Ca.data=ln,$e(le.get(bn),ln)||le.set(bn,ln),Hn&&Sa()&&gr().onSuccess(ln,bn,ut),[3,4]));case 3:return va=gi.sent(),Lr(),gr().isPaused()||(jn({error:va}),Ca.error=va,Hn&&Sa()&&(gr().onError(va,bn,ut),(typeof ut.shouldRetryOnError=="boolean"&&ut.shouldRetryOnError||w(ut.shouldRetryOnError)&&ut.shouldRetryOnError(va))&&na()&&gr().onErrorRetry(va,bn,ut,Nn,{retryCount:(fr.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return Kn=!1,za(),Sa()&&Hn&&Me(le,bn,Ca.data,Ca.error,!1),[2,!0]}})})},[bn]),Zt=Object(E.useCallback)(He.bind(A,le,function(){return Wr.current}),[]);if(Z(function(){br.current=Te,Wn.current=ut}),Z(function(){if(!!bn){var rr=bn!==Wr.current,Gn=Nn.bind(A,Ge),ln=function(Lr,Ca,za){Yn(x({error:Ca,isValidating:za},$e(Zn.current.data,Lr)?A:{data:Lr}))},Xn=0,Kn=function(Lr){if(Lr==fe){var Ca=Date.now();gr().revalidateOnFocus&&Ca>Xn&&na()&&(Xn=Ca+gr().focusThrottleInterval,Gn())}else if(Lr==pe)gr().revalidateOnReconnect&&na()&&Gn();else if(Lr==Ke)return Nn()},fr=Ve(bn,cn,ln),Hn=Ve(bn,Qt,Kn);return Sr.current=!1,Wr.current=bn,Tr.current=!0,rr&&Yn({data:Bt,error:ot,isValidating:kn}),Ct()&&(y(Bt)||ge?Gn():me(Gn)),function(){Sr.current=!0,fr(),Hn()}}},[bn,Nn]),Z(function(){var rr;function Gn(){var Xn=w(Ut)?Ut(Bt):Ut;Xn&&rr!==-1&&(rr=setTimeout(ln,Xn))}function ln(){!Zn.current.error&&(At||gr().isVisible())&&(Pt||gr().isOnline())?Nn(Ge).then(Gn):Gn()}return Gn(),function(){rr&&(clearTimeout(rr),rr=-1)}},[Ut,At,Pt,Nn]),Object(E.useDebugValue)(Bt),Tt&&y(Bt)&&bn)throw br.current=Te,Wn.current=ut,Sr.current=!1,y(ot)?Nn(Ge):ot;return{mutate:Zt,get data(){return Or.data=!0,Bt},get error(){return Or.error=!0,ot},get isValidating(){return Or.isValidating=!0,kn}}},bt=S.defineProperty(Xt,"default",{value:tt}),gt=function(Fe){return Le(Fe)[0]},at=Se(_t)},LqpT:function(ce,R,l){var E=l("1hJj"),m=l("jbM+"),O=l("Xt/L"),C=l("eUgh"),k=l("sEf8"),A=l("xYSL"),S=200;function y(w,x,T,j){var D=-1,N=m,F=!0,B=w.length,U=[],J=x.length;if(!B)return U;T&&(x=C(x,k(T))),j?(N=O,F=!1):x.length>=S&&(N=A,F=!1,x=new E(x));e:for(;++D<B;){var $=w[D],X=T==null?$:T($);if($=j||$!==0?$:0,F&&X===X){for(var ee=J;ee--;)if(x[ee]===X)continue e;U.push($)}else N(x,X,j)||U.push($)}return U}ce.exports=y},LsHQ:function(ce,R,l){var E=l("EA7m"),m=l("mv/X");function O(C){return E(function(k,A){var S=-1,y=A.length,w=y>1?A[y-1]:void 0,x=y>2?A[2]:void 0;for(w=C.length>3&&typeof w=="function"?(y--,w):void 0,x&&m(A[0],A[1],x)&&(w=y<3?void 0:w,y=1),k=Object(k);++S<y;){var T=A[S];T&&C(k,T,S,w)}return k})}ce.exports=O},LtsZ:function(ce,R,l){"use strict";l.r(R),l.d(R,"ApplyPluginsType",function(){return Me}),l.d(R,"Plugin",function(){return He}),l.d(R,"dynamic",function(){return fe}),l.d(R,"isBrowser",function(){return Ke});var E=l("qLMh"),m=l("YS25");l.d(R,"createBrowserHistory",function(){return m.a}),l.d(R,"createHashHistory",function(){return m.b}),l.d(R,"createMemoryHistory",function(){return m.d});var O=l("Ty5D");l.d(R,"__RouterContext",function(){return O.h});var C=l("55Ip");l.d(R,"Link",function(){return C.a}),l.d(R,"MemoryRouter",function(){return O.a}),l.d(R,"NavLink",function(){return C.b}),l.d(R,"Prompt",function(){return O.b}),l.d(R,"Redirect",function(){return O.c}),l.d(R,"Route",function(){return O.d}),l.d(R,"Router",function(){return O.e}),l.d(R,"StaticRouter",function(){return O.f}),l.d(R,"Switch",function(){return O.g}),l.d(R,"matchPath",function(){return O.i}),l.d(R,"useHistory",function(){return O.j}),l.d(R,"useLocation",function(){return O.k}),l.d(R,"useParams",function(){return O.l}),l.d(R,"useRouteMatch",function(){return O.m}),l.d(R,"withRouter",function(){return O.n});var k=l("q1tI"),A=l.n(k),S=l("8L3h"),y=l.n(S);function w(Ne,it){var Xe=Object.keys(Ne);if(Object.getOwnPropertySymbols){var ht=Object.getOwnPropertySymbols(Ne);it&&(ht=ht.filter(function(lt){return Object.getOwnPropertyDescriptor(Ne,lt).enumerable})),Xe.push.apply(Xe,ht)}return Xe}function x(Ne){for(var it=1;it<arguments.length;it++){var Xe=arguments[it]!=null?arguments[it]:{};it%2?w(Object(Xe),!0).forEach(function(ht){U(Ne,ht,Xe[ht])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ne,Object.getOwnPropertyDescriptors(Xe)):w(Object(Xe)).forEach(function(ht){Object.defineProperty(Ne,ht,Object.getOwnPropertyDescriptor(Xe,ht))})}return Ne}function T(Ne){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(Xe){return typeof Xe}:T=function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},T(Ne)}function j(Ne,it,Xe,ht,lt,Et,tt){try{var mt=Ne[Et](tt),xt=mt.value}catch(Xt){Xe(Xt);return}mt.done?it(xt):Promise.resolve(xt).then(ht,lt)}function D(Ne){return function(){var it=this,Xe=arguments;return new Promise(function(ht,lt){var Et=Ne.apply(it,Xe);function tt(xt){j(Et,ht,lt,tt,mt,"next",xt)}function mt(xt){j(Et,ht,lt,tt,mt,"throw",xt)}tt(void 0)})}}function N(Ne,it){if(!(Ne instanceof it))throw new TypeError("Cannot call a class as a function")}function F(Ne,it){for(var Xe=0;Xe<it.length;Xe++){var ht=it[Xe];ht.enumerable=ht.enumerable||!1,ht.configurable=!0,"value"in ht&&(ht.writable=!0),Object.defineProperty(Ne,ht.key,ht)}}function B(Ne,it,Xe){return it&&F(Ne.prototype,it),Xe&&F(Ne,Xe),Ne}function U(Ne,it,Xe){return it in Ne?Object.defineProperty(Ne,it,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):Ne[it]=Xe,Ne}function J(Ne){return $(Ne)||X(Ne)||ee(Ne)||G()}function $(Ne){if(Array.isArray(Ne))return Ne}function X(Ne){if(typeof Symbol!="undefined"&&Ne[Symbol.iterator]!=null||Ne["@@iterator"]!=null)return Array.from(Ne)}function ee(Ne,it){if(!!Ne){if(typeof Ne=="string")return ie(Ne,it);var Xe=Object.prototype.toString.call(Ne).slice(8,-1);if(Xe==="Object"&&Ne.constructor&&(Xe=Ne.constructor.name),Xe==="Map"||Xe==="Set")return Array.from(Ne);if(Xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xe))return ie(Ne,it)}}function ie(Ne,it){(it==null||it>Ne.length)&&(it=Ne.length);for(var Xe=0,ht=new Array(it);Xe<it;Xe++)ht[Xe]=Ne[Xe];return ht}function G(){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 Q(Ne,it){var Xe=typeof Symbol!="undefined"&&Ne[Symbol.iterator]||Ne["@@iterator"];if(!Xe){if(Array.isArray(Ne)||(Xe=ee(Ne))||it&&Ne&&typeof Ne.length=="number"){Xe&&(Ne=Xe);var ht=0,lt=function(){};return{s:lt,n:function(){return ht>=Ne.length?{done:!0}:{done:!1,value:Ne[ht++]}},e:function(Xt){throw Xt},f:lt}}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 Et=!0,tt=!1,mt;return{s:function(){Xe=Xe.call(Ne)},n:function(){var Xt=Xe.next();return Et=Xt.done,Xt},e:function(Xt){tt=!0,mt=Xt},f:function(){try{!Et&&Xe.return!=null&&Xe.return()}finally{if(tt)throw mt}}}}var W=Object(k.createContext)(null),ne=[],te=[],_e=!1;function he(Ne){var it=Ne(),Xe={loading:!0,loaded:null,error:null};return Xe.promise=it.then(function(ht){return Xe.loading=!1,Xe.loaded=ht,ht}).catch(function(ht){throw Xe.loading=!1,Xe.error=ht,ht}),Xe}function oe(Ne){var it={loading:!1,loaded:{},error:null},Xe=[];try{Object.keys(Ne).forEach(function(ht){var lt=he(Ne[ht]);lt.loading?it.loading=!0:(it.loaded[ht]=lt.loaded,it.error=lt.error),Xe.push(lt.promise),lt.promise.then(function(Et){it.loaded[ht]=Et}).catch(function(Et){it.error=Et})})}catch(ht){it.error=ht}return it.promise=Promise.all(Xe).then(function(ht){return it.loading=!1,ht}).catch(function(ht){throw it.loading=!1,ht}),it}function ge(Ne){return Ne&&Ne.__esModule?Ne.default:Ne}function me(Ne,it){return Object(k.createElement)(ge(Ne),it)}function Z(Ne,it){var Xe=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:me,webpack:null,modules:null},it),ht=null;function lt(){if(!ht){var xt=new xe(Ne,Xe);ht={getCurrentValue:xt.getCurrentValue.bind(xt),subscribe:xt.subscribe.bind(xt),retry:xt.retry.bind(xt),promise:xt.promise.bind(xt)}}return ht.promise()}if(typeof window=="undefined"&&ne.push(lt),!_e&&typeof window!="undefined"&&typeof Xe.webpack=="function"){var Et=Xe.webpack();te.push(function(xt){var Xt=Q(Et),vt;try{for(Xt.s();!(vt=Xt.n()).done;){var qe=vt.value;if(xt.indexOf(qe)!==-1)return lt()}}catch(Re){Xt.e(Re)}finally{Xt.f()}})}var tt=function(Xt,vt){lt();var qe=Object(k.useContext)(W),Re=Object(S.useSubscription)(ht);return Object(k.useImperativeHandle)(vt,function(){return{retry:ht.retry}}),qe&&Array.isArray(Xe.modules)&&Xe.modules.forEach(function(Se){qe(Se)}),Re.loading||Re.error?Object(k.createElement)(Xe.loading,{isLoading:Re.loading,pastDelay:Re.pastDelay,timedOut:Re.timedOut,error:Re.error,retry:ht.retry}):Re.loaded?Xe.render(Re.loaded,Xt):null},mt=Object(k.forwardRef)(tt);return mt.preload=function(){return lt()},mt.displayName="LoadableComponent",mt}var xe=function(){function Ne(it,Xe){N(this,Ne),this._loadFn=it,this._opts=Xe,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return B(Ne,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var Xe=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var ht=this._res,lt=this._opts;ht.loading&&(typeof lt.delay=="number"&&(lt.delay===0?this._state.pastDelay=!0:this._delay=setTimeout(function(){Xe._update({pastDelay:!0})},lt.delay)),typeof lt.timeout=="number"&&(this._timeout=setTimeout(function(){Xe._update({timedOut:!0})},lt.timeout))),this._res.promise.then(function(){Xe._update(),Xe._clearTimeouts()}).catch(function(Et){Xe._update(),Xe._clearTimeouts()}),this._update({})}},{key:"_update",value:function(Xe){this._state=x(x({},this._state),Xe),this._callbacks.forEach(function(ht){return ht()})}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return x(x({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(Xe){var ht=this;return this._callbacks.add(Xe),function(){ht._callbacks.delete(Xe)}}}]),Ne}();function Ee(Ne){return Z(he,Ne)}function Le(Ne){if(typeof Ne.render!="function")throw new Error("LoadableMap requires a `render(loaded, props)` function");return Z(oe,Ne)}Ee.Map=Le;function we(Ne,it){for(var Xe=[];Ne.length;){var ht=Ne.pop();Xe.push(ht(it))}return Promise.all(Xe).then(function(){if(Ne.length)return we(Ne,it)})}Ee.preloadAll=function(){return new Promise(function(Ne,it){we(ne).then(Ne,it)})},Ee.preloadReady=function(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return new Promise(function(it){var Xe=function(){return _e=!0,it()};we(te,Ne).then(Xe,Xe)})},typeof window!="undefined"&&(window.__NEXT_PRELOADREADY=Ee.preloadReady);function fe(Ne){var it=Ee,Xe={loading:function(lt){var Et=lt.error,tt=lt.isLoading;return Object(k.createElement)("p",null,"loading...")}};if(typeof Ne=="function")Xe.loader=Ne;else if(T(Ne)==="object")Xe=x(x({},Xe),Ne);else throw new Error("Unexpect arguments ".concat(Ne));return it(Xe)}function pe(Ne,it){if(!Ne)throw new Error(it)}var Ke=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"},Me;(function(Ne){Ne.compose="compose",Ne.modify="modify",Ne.event="event"})(Me||(Me={}));function ze(Ne){var it=Ne.fns,Xe=Ne.args;if(it.length===1)return it[0];var ht=it.pop();return it.reduce(function(lt,Et){return function(){return Et(lt,Xe)}},ht)}function Ue(Ne){return!!Ne&&T(Ne)==="object"&&typeof Ne.then=="function"}var He=function(){function Ne(it){N(this,Ne),this.validKeys=void 0,this.hooks={},this.validKeys=(it==null?void 0:it.validKeys)||[]}return B(Ne,[{key:"register",value:function(Xe){var ht=this;pe(!!Xe.apply,"register failed, plugin.apply must supplied"),pe(!!Xe.path,"register failed, plugin.path must supplied"),Object.keys(Xe.apply).forEach(function(lt){pe(ht.validKeys.indexOf(lt)>-1,"register failed, invalid key ".concat(lt," from plugin ").concat(Xe.path,".")),ht.hooks[lt]||(ht.hooks[lt]=[]),ht.hooks[lt]=ht.hooks[lt].concat(Xe.apply[lt])})}},{key:"getHooks",value:function(Xe){var ht=Xe.split("."),lt=J(ht),Et=lt[0],tt=lt.slice(1),mt=this.hooks[Et]||[];return tt.length&&(mt=mt.map(function(xt){try{var Xt=xt,vt=Q(tt),qe;try{for(vt.s();!(qe=vt.n()).done;){var Re=qe.value;Xt=Xt[Re]}}catch(Se){vt.e(Se)}finally{vt.f()}return Xt}catch(Se){return null}}).filter(Boolean)),mt}},{key:"applyPlugins",value:function(Xe){var ht=Xe.key,lt=Xe.type,Et=Xe.initialValue,tt=Xe.args,mt=Xe.async,xt=this.getHooks(ht)||[];switch(tt&&pe(T(tt)==="object","applyPlugins failed, args must be plain object."),lt){case Me.modify:return mt?xt.reduce(function(){var Xt=D(Object(E.a)().mark(function vt(qe,Re){var Se;return Object(E.a)().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(pe(typeof Re=="function"||T(Re)==="object"||Ue(Re),"applyPlugins failed, all hooks for key ".concat(ht," must be function, plain object or Promise.")),!Ue(qe)){Ge.next=5;break}return Ge.next=4,qe;case 4:qe=Ge.sent;case 5:if(typeof Re!="function"){Ge.next=16;break}if(Se=Re(qe,tt),!Ue(Se)){Ge.next=13;break}return Ge.next=10,Se;case 10:return Ge.abrupt("return",Ge.sent);case 13:return Ge.abrupt("return",Se);case 14:Ge.next=21;break;case 16:if(!Ue(Re)){Ge.next=20;break}return Ge.next=19,Re;case 19:Re=Ge.sent;case 20:return Ge.abrupt("return",x(x({},qe),Re));case 21:case"end":return Ge.stop()}},vt)}));return function(vt,qe){return Xt.apply(this,arguments)}}(),Ue(Et)?Et:Promise.resolve(Et)):xt.reduce(function(Xt,vt){return pe(typeof vt=="function"||T(vt)==="object","applyPlugins failed, all hooks for key ".concat(ht," must be function or plain object.")),typeof vt=="function"?vt(Xt,tt):x(x({},Xt),vt)},Et);case Me.event:return xt.forEach(function(Xt){pe(typeof Xt=="function","applyPlugins failed, all hooks for key ".concat(ht," must be function.")),Xt(tt)});case Me.compose:return function(){return ze({fns:xt.concat(Et),args:tt})()}}}}]),Ne}()},LtxK:function(ce,R,l){var E=l("I65O");E("iterator")},LuSS:function(ce,R,l){"use strict";l.d(R,"a",function(){return C}),l.d(R,"c",function(){return T}),l.d(R,"b",function(){return j});var E=l("FER5"),m=l("iNWh"),O=l("b3aT");function C(D){var N={r:0,g:0,b:0},F=1,B=null,U=null,J=null,$=!1,X=!1;return typeof D=="string"&&(D=T(D)),typeof D=="object"&&(j(D.r)&&j(D.g)&&j(D.b)?(N=Object(E.j)(D.r,D.g,D.b),$=!0,X=String(D.r).substr(-1)==="%"?"prgb":"rgb"):j(D.h)&&j(D.s)&&j(D.v)?(B=Object(O.d)(D.s),U=Object(O.d)(D.v),N=Object(E.d)(D.h,B,U),$=!0,X="hsv"):j(D.h)&&j(D.s)&&j(D.l)&&(B=Object(O.d)(D.s),J=Object(O.d)(D.l),N=Object(E.c)(D.h,B,J),$=!0,X="hsl"),Object.prototype.hasOwnProperty.call(D,"a")&&(F=D.a)),F=Object(O.b)(F),{ok:$,format:D.format||X,r:Math.min(255,Math.max(N.r,0)),g:Math.min(255,Math.max(N.g,0)),b:Math.min(255,Math.max(N.b,0)),a:F}}var k="[-\\+]?\\d+%?",A="[-\\+]?\\d*\\.\\d+%?",S="(?:".concat(A,")|(?:").concat(k,")"),y="[\\s|\\(]+(".concat(S,")[,|\\s]+(").concat(S,")[,|\\s]+(").concat(S,")\\s*\\)?"),w="[\\s|\\(]+(".concat(S,")[,|\\s]+(").concat(S,")[,|\\s]+(").concat(S,")[,|\\s]+(").concat(S,")\\s*\\)?"),x={CSS_UNIT:new RegExp(S),rgb:new RegExp("rgb"+y),rgba:new RegExp("rgba"+w),hsl:new RegExp("hsl"+y),hsla:new RegExp("hsla"+w),hsv:new RegExp("hsv"+y),hsva:new RegExp("hsva"+w),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 T(D){if(D=D.trim().toLowerCase(),D.length===0)return!1;var N=!1;if(m.a[D])D=m.a[D],N=!0;else if(D==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var F=x.rgb.exec(D);return F?{r:F[1],g:F[2],b:F[3]}:(F=x.rgba.exec(D),F?{r:F[1],g:F[2],b:F[3],a:F[4]}:(F=x.hsl.exec(D),F?{h:F[1],s:F[2],l:F[3]}:(F=x.hsla.exec(D),F?{h:F[1],s:F[2],l:F[3],a:F[4]}:(F=x.hsv.exec(D),F?{h:F[1],s:F[2],v:F[3]}:(F=x.hsva.exec(D),F?{h:F[1],s:F[2],v:F[3],a:F[4]}:(F=x.hex8.exec(D),F?{r:Object(E.f)(F[1]),g:Object(E.f)(F[2]),b:Object(E.f)(F[3]),a:Object(E.b)(F[4]),format:N?"name":"hex8"}:(F=x.hex6.exec(D),F?{r:Object(E.f)(F[1]),g:Object(E.f)(F[2]),b:Object(E.f)(F[3]),format:N?"name":"hex"}:(F=x.hex4.exec(D),F?{r:Object(E.f)(F[1]+F[1]),g:Object(E.f)(F[2]+F[2]),b:Object(E.f)(F[3]+F[3]),a:Object(E.b)(F[4]+F[4]),format:N?"name":"hex8"}:(F=x.hex3.exec(D),F?{r:Object(E.f)(F[1]+F[1]),g:Object(E.f)(F[2]+F[2]),b:Object(E.f)(F[3]+F[3]),format:N?"name":"hex"}:!1)))))))))}function j(D){return Boolean(x.CSS_UNIT.exec(String(D)))}},LvDl:function(ce,R,l){(function(E,m){var O;/**
* @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 C,k="4.17.21",A=200,S="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",y="Expected a function",w="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",T=500,j="__lodash_placeholder__",D=1,N=2,F=4,B=1,U=2,J=1,$=2,X=4,ee=8,ie=16,G=32,Q=64,W=128,ne=256,te=512,_e=30,he="...",oe=800,ge=16,me=1,Z=2,xe=3,Ee=1/0,Le=9007199254740991,we=17976931348623157e292,fe=0/0,pe=4294967295,Ke=pe-1,Me=pe>>>1,ze=[["ary",W],["bind",J],["bindKey",$],["curry",ee],["curryRight",ie],["flip",te],["partial",G],["partialRight",Q],["rearg",ne]],Ue="[object Arguments]",He="[object Array]",Ne="[object AsyncFunction]",it="[object Boolean]",Xe="[object Date]",ht="[object DOMException]",lt="[object Error]",Et="[object Function]",tt="[object GeneratorFunction]",mt="[object Map]",xt="[object Number]",Xt="[object Null]",vt="[object Object]",qe="[object Promise]",Re="[object Proxy]",Se="[object RegExp]",Ve="[object Set]",Ge="[object String]",_t="[object Symbol]",bt="[object Undefined]",gt="[object WeakMap]",at="[object WeakSet]",ft="[object ArrayBuffer]",Fe="[object DataView]",Te="[object Float32Array]",ut="[object Float64Array]",le="[object Int8Array]",$e="[object Int16Array]",Qe="[object Int32Array]",Tt="[object Uint8Array]",Ot="[object Uint8ClampedArray]",Ut="[object Uint16Array]",At="[object Uint32Array]",Pt=/\b__p \+= '';/g,Dt=/\b(__p \+=) '' \+/g,Qt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,cn=/&(?:amp|lt|gt|quot|#39);/g,$n=/[&<>"']/g,hn=RegExp(cn.source),_n=RegExp($n.source),bn=/<%-([\s\S]+?)%>/g,Bn=/<%([\s\S]+?)%>/g,Tn=/<%=([\s\S]+?)%>/g,Tr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sr=/^\w*$/,Wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,br=/[\\^$.*+?()[\]{}|]/g,Wn=RegExp(br.source),gr=/^\s+/,na=/\s/,jn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,un=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Bt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,H=/[()=,{}\[\]\/\s]/,ot=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ct=/\w*$/,Wt=/^[-+]0x[0-9a-f]+$/i,kn=/^0b[01]+$/i,Sn=/^\[object .+?Constructor\]$/,Zn=/^0o[0-7]+$/i,Or=/^(?:0|[1-9]\d*)$/,Yn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Nn=/($^)/,Zt=/['\n\r\u2028\u2029\\]/g,rr="\\ud800-\\udfff",Gn="\\u0300-\\u036f",ln="\\ufe20-\\ufe2f",Xn="\\u20d0-\\u20ff",Kn=Gn+ln+Xn,fr="\\u2700-\\u27bf",Hn="a-z\\xdf-\\xf6\\xf8-\\xff",Sa="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ca="\\u2000-\\u206f",za=" \\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",Ma="A-Z\\xc0-\\xd6\\xd8-\\xde",va="\\ufe0e\\ufe0f",qa=Sa+Lr+Ca+za,gi="['\u2019]",Qi="["+rr+"]",mi="["+qa+"]",Cr="["+Kn+"]",Un="\\d+",Lt="["+fr+"]",gn="["+Hn+"]",Ln="[^"+rr+qa+Un+fr+Hn+Ma+"]",kr="\\ud83c[\\udffb-\\udfff]",ea="(?:"+Cr+"|"+kr+")",Qr="[^"+rr+"]",Na="(?:\\ud83c[\\udde6-\\uddff]){2}",ar="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+Ma+"]",_i="\\u200d",ti="(?:"+gn+"|"+Ln+")",ui="(?:"+pi+"|"+Ln+")",Ri="(?:"+gi+"(?:d|ll|m|re|s|t|ve))?",ao="(?:"+gi+"(?:D|LL|M|RE|S|T|VE))?",Zi=ea+"?",Fi="["+va+"]?",Si="(?:"+_i+"(?:"+[Qr,Na,ar].join("|")+")"+Fi+Zi+")*",qi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",eo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xo=Fi+Zi+Si,cs="(?:"+[Lt,Na,ar].join("|")+")"+xo,ba="(?:"+[Qr+Cr+"?",Cr,Na,ar,Qi].join("|")+")",sa=RegExp(gi,"g"),Da=RegExp(Cr,"g"),On=RegExp(kr+"(?="+kr+")|"+ba+xo,"g"),xn=RegExp([pi+"?"+gn+"+"+Ri+"(?="+[mi,pi,"$"].join("|")+")",ui+"+"+ao+"(?="+[mi,pi+ti,"$"].join("|")+")",pi+"?"+ti+"+"+Ri,pi+"+"+ao,eo,qi,Un,cs].join("|"),"g"),Rt=RegExp("["+_i+rr+Kn+va+"]"),mr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ta=["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"],ma=-1,Oa={};Oa[Te]=Oa[ut]=Oa[le]=Oa[$e]=Oa[Qe]=Oa[Tt]=Oa[Ot]=Oa[Ut]=Oa[At]=!0,Oa[Ue]=Oa[He]=Oa[ft]=Oa[it]=Oa[Fe]=Oa[Xe]=Oa[lt]=Oa[Et]=Oa[mt]=Oa[xt]=Oa[vt]=Oa[Se]=Oa[Ve]=Oa[Ge]=Oa[gt]=!1;var Pn={};Pn[Ue]=Pn[He]=Pn[ft]=Pn[Fe]=Pn[it]=Pn[Xe]=Pn[Te]=Pn[ut]=Pn[le]=Pn[$e]=Pn[Qe]=Pn[mt]=Pn[xt]=Pn[vt]=Pn[Se]=Pn[Ve]=Pn[Ge]=Pn[_t]=Pn[Tt]=Pn[Ot]=Pn[Ut]=Pn[At]=!0,Pn[lt]=Pn[Et]=Pn[gt]=!1;var Kr={\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"},Vn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ea={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ja=parseFloat,go=parseInt,fi=typeof E=="object"&&E&&E.Object===Object&&E,lo=typeof self=="object"&&self&&self.Object===Object&&self,Oi=fi||lo||Function("return this")(),io=R&&!R.nodeType&&R,Vi=io&&typeof m=="object"&&m&&!m.nodeType&&m,vo=Vi&&Vi.exports===io,qo=vo&&fi.process,hs=function(){try{var Nr=Vi&&Vi.require&&Vi.require("util").types;return Nr||qo&&qo.binding&&qo.binding("util")}catch(ua){}}(),$t=hs&&hs.isArrayBuffer,rt=hs&&hs.isDate,Vt=hs&&hs.isMap,tn=hs&&hs.isRegExp,wn=hs&&hs.isSet,qn=hs&&hs.isTypedArray;function zn(Nr,ua,ra){switch(ra.length){case 0:return Nr.call(ua);case 1:return Nr.call(ua,ra[0]);case 2:return Nr.call(ua,ra[0],ra[1]);case 3:return Nr.call(ua,ra[0],ra[1],ra[2])}return Nr.apply(ua,ra)}function xr(Nr,ua,ra,ri){for(var li=-1,hi=Nr==null?0:Nr.length;++li<hi;){var ii=Nr[li];ua(ri,ii,ra(ii),Nr)}return ri}function da(Nr,ua){for(var ra=-1,ri=Nr==null?0:Nr.length;++ra<ri&&ua(Nr[ra],ra,Nr)!==!1;);return Nr}function en(Nr,ua){for(var ra=Nr==null?0:Nr.length;ra--&&ua(Nr[ra],ra,Nr)!==!1;);return Nr}function Fn(Nr,ua){for(var ra=-1,ri=Nr==null?0:Nr.length;++ra<ri;)if(!ua(Nr[ra],ra,Nr))return!1;return!0}function Jn(Nr,ua){for(var ra=-1,ri=Nr==null?0:Nr.length,li=0,hi=[];++ra<ri;){var ii=Nr[ra];ua(ii,ra,Nr)&&(hi[li++]=ii)}return hi}function Ir(Nr,ua){var ra=Nr==null?0:Nr.length;return!!ra&&ka(Nr,ua,0)>-1}function Gr(Nr,ua,ra){for(var ri=-1,li=Nr==null?0:Nr.length;++ri<li;)if(ra(ua,Nr[ri]))return!0;return!1}function ga(Nr,ua){for(var ra=-1,ri=Nr==null?0:Nr.length,li=Array(ri);++ra<ri;)li[ra]=ua(Nr[ra],ra,Nr);return li}function Mr(Nr,ua){for(var ra=-1,ri=ua.length,li=Nr.length;++ra<ri;)Nr[li+ra]=ua[ra];return Nr}function $a(Nr,ua,ra,ri){var li=-1,hi=Nr==null?0:Nr.length;for(ri&&hi&&(ra=Nr[++li]);++li<hi;)ra=ua(ra,Nr[li],li,Nr);return ra}function Ya(Nr,ua,ra,ri){var li=Nr==null?0:Nr.length;for(ri&&li&&(ra=Nr[--li]);li--;)ra=ua(ra,Nr[li],li,Nr);return ra}function _o(Nr,ua){for(var ra=-1,ri=Nr==null?0:Nr.length;++ra<ri;)if(ua(Nr[ra],ra,Nr))return!0;return!1}var Ni=zo("length");function ec(Nr){return Nr.split("")}function ks(Nr){return Nr.match(Bt)||[]}function jo(Nr,ua,ra){var ri;return ra(Nr,function(li,hi,ii){if(ua(li,hi,ii))return ri=hi,!1}),ri}function Qn(Nr,ua,ra,ri){for(var li=Nr.length,hi=ra+(ri?1:-1);ri?hi--:++hi<li;)if(ua(Nr[hi],hi,Nr))return hi;return-1}function ka(Nr,ua,ra){return ua===ua?dl(Nr,ua,ra):Qn(Nr,Qa,ra)}function Pa(Nr,ua,ra,ri){for(var li=ra-1,hi=Nr.length;++li<hi;)if(ri(Nr[li],ua))return li;return-1}function Qa(Nr){return Nr!==Nr}function Ei(Nr,ua){var ra=Nr==null?0:Nr.length;return ra?pc(Nr,ua)/ra:fe}function zo(Nr){return function(ua){return ua==null?C:ua[Nr]}}function fo(Nr){return function(ua){return Nr==null?C:Nr[ua]}}function gs(Nr,ua,ra,ri,li){return li(Nr,function(hi,ii,Di){ra=ri?(ri=!1,hi):ua(ra,hi,ii,Di)}),ra}function Ks(Nr,ua){var ra=Nr.length;for(Nr.sort(ua);ra--;)Nr[ra]=Nr[ra].value;return Nr}function pc(Nr,ua){for(var ra,ri=-1,li=Nr.length;++ri<li;){var hi=ua(Nr[ri]);hi!==C&&(ra=ra===C?hi:ra+hi)}return ra}function tc(Nr,ua){for(var ra=-1,ri=Array(Nr);++ra<Nr;)ri[ra]=ua(ra);return ri}function xc(Nr,ua){return ga(ua,function(ra){return[ra,Nr[ra]]})}function kc(Nr){return Nr&&Nr.slice(0,Yr(Nr)+1).replace(gr,"")}function Ss(Nr){return function(ua){return Nr(ua)}}function Js(Nr,ua){return ga(ua,function(ra){return Nr[ra]})}function Mo(Nr,ua){return Nr.has(ua)}function js(Nr,ua){for(var ra=-1,ri=Nr.length;++ra<ri&&ka(ua,Nr[ra],0)>-1;);return ra}function Yc(Nr,ua){for(var ra=Nr.length;ra--&&ka(ua,Nr[ra],0)>-1;);return ra}function gc(Nr,ua){for(var ra=Nr.length,ri=0;ra--;)Nr[ra]===ua&&++ri;return ri}var Cl=fo(Kr),wl=fo(Vn);function Wc(Nr){return"\\"+Ea[Nr]}function nl(Nr,ua){return Nr==null?C:Nr[ua]}function Rc(Nr){return Rt.test(Nr)}function su(Nr){return mr.test(Nr)}function Pl(Nr){for(var ua,ra=[];!(ua=Nr.next()).done;)ra.push(ua.value);return ra}function al(Nr){var ua=-1,ra=Array(Nr.size);return Nr.forEach(function(ri,li){ra[++ua]=[li,ri]}),ra}function Ml(Nr,ua){return function(ra){return Nr(ua(ra))}}function Tl(Nr,ua){for(var ra=-1,ri=Nr.length,li=0,hi=[];++ra<ri;){var ii=Nr[ra];(ii===ua||ii===j)&&(Nr[ra]=j,hi[li++]=ra)}return hi}function td(Nr){var ua=-1,ra=Array(Nr.size);return Nr.forEach(function(ri){ra[++ua]=ri}),ra}function rl(Nr){var ua=-1,ra=Array(Nr.size);return Nr.forEach(function(ri){ra[++ua]=[ri,ri]}),ra}function dl(Nr,ua,ra){for(var ri=ra-1,li=Nr.length;++ri<li;)if(Nr[ri]===ua)return ri;return-1}function qt(Nr,ua,ra){for(var ri=ra+1;ri--;)if(Nr[ri]===ua)return ri;return ri}function nr(Nr){return Rc(Nr)?vi(Nr):Ni(Nr)}function Ur(Nr){return Rc(Nr)?zr(Nr):ec(Nr)}function Yr(Nr){for(var ua=Nr.length;ua--&&na.test(Nr.charAt(ua)););return ua}var ni=fo(tr);function vi(Nr){for(var ua=On.lastIndex=0;On.test(Nr);)++ua;return ua}function zr(Nr){return Nr.match(On)||[]}function wr(Nr){return Nr.match(xn)||[]}var Ua=function Nr(ua){ua=ua==null?Oi:La.defaults(Oi.Object(),ua,La.pick(Oi,ta));var ra=ua.Array,ri=ua.Date,li=ua.Error,hi=ua.Function,ii=ua.Math,Di=ua.Object,Xo=ua.RegExp,ps=ua.String,mc=ua.TypeError,Ts=ra.prototype,Ar=hi.prototype,Gs=Di.prototype,Nc=ua["__core-js_shared__"],Jc=Ar.toString,Fc=Gs.hasOwnProperty,Ro=0,Dl=function(){var be=/[^.]+$/.exec(Nc&&Nc.keys&&Nc.keys.IE_PROTO||"");return be?"Symbol(src)_1."+be:""}(),Vl=Gs.toString,hu=Jc.call(Di),ru=Oi._,pd=Xo("^"+Jc.call(Fc).replace(br,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ql=vo?ua.Buffer:C,Ru=ua.Symbol,Hl=ua.Uint8Array,fu=ql?ql.allocUnsafe:C,nd=Ml(Di.getPrototypeOf,Di),bd=Di.create,ml=Gs.propertyIsEnumerable,os=Ts.splice,wu=Ru?Ru.isConcatSpreadable:C,cd=Ru?Ru.iterator:C,Ud=Ru?Ru.toStringTag:C,Eu=function(){try{var be=Fs(Di,"defineProperty");return be({},"",{}),be}catch(Be){}}(),El=ua.clearTimeout!==Oi.clearTimeout&&ua.clearTimeout,eu=ri&&ri.now!==Oi.Date.now&&ri.now,rd=ua.setTimeout!==Oi.setTimeout&&ua.setTimeout,yn=ii.ceil,Dr=ii.floor,Xr=Di.getOwnPropertySymbols,Ta=ql?ql.isBuffer:C,Ra=ua.isFinite,wi=Ts.join,mo=Ml(Di.keys,Di),Yi=ii.max,Ji=ii.min,Vs=ri.now,Jo=ua.parseInt,dn=ii.random,pn=Ts.reverse,sr=Fs(ua,"DataView"),lr=Fs(ua,"Map"),_a=Fs(ua,"Promise"),Fa=Fs(ua,"Set"),Va=Fs(ua,"WeakMap"),di=Fs(Di,"create"),Ci=Va&&new Va,wo={},ho=ff(sr),Io=ff(lr),Fo=ff(_a),xs=ff(Fa),ms=ff(Va),ys=Ru?Ru.prototype:C,bs=ys?ys.valueOf:C,Po=ys?ys.toString:C;function yr(be){if(Ip(be)&&!Qd(be)&&!(be instanceof Hs)){if(be instanceof Sc)return be;if(Fc.call(be,"__wrapped__"))return Zl(be)}return new Sc(be)}var Ls=function(){function be(){}return function(Be){if(!Kp(Be))return{};if(bd)return bd(Be);be.prototype=Be;var Nt=new be;return be.prototype=C,Nt}}();function Zs(){}function Sc(be,Be){this.__wrapped__=be,this.__actions__=[],this.__chain__=!!Be,this.__index__=0,this.__values__=C}yr.templateSettings={escape:bn,evaluate:Bn,interpolate:Tn,variable:"",imports:{_:yr}},yr.prototype=Zs.prototype,yr.prototype.constructor=yr,Sc.prototype=Ls(Zs.prototype),Sc.prototype.constructor=Sc;function Hs(be){this.__wrapped__=be,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=pe,this.__views__=[]}function bc(){var be=new Hs(this.__wrapped__);return be.__actions__=kf(this.__actions__),be.__dir__=this.__dir__,be.__filtered__=this.__filtered__,be.__iteratees__=kf(this.__iteratees__),be.__takeCount__=this.__takeCount__,be.__views__=kf(this.__views__),be}function cr(){if(this.__filtered__){var be=new Hs(this);be.__dir__=-1,be.__filtered__=!0}else be=this.clone(),be.__dir__*=-1;return be}function qr(){var be=this.__wrapped__.value(),Be=this.__dir__,Nt=Qd(be),In=Be<0,Zr=Nt?be.length:0,Ha=Hc(0,Zr,this.__views__),Ui=Ha.start,Oo=Ha.end,Ko=Oo-Ui,wc=In?Oo:Ui-1,Mc=this.__iteratees__,Pc=Mc.length,Ul=0,Iu=Ji(Ko,this.__takeCount__);if(!Nt||!In&&Zr==Ko&&Iu==Ko)return ol(be,this.__actions__);var wd=[];e:for(;Ko--&&Ul<Iu;){wc+=Be;for(var hd=-1,_d=be[wc];++hd<Pc;){var Zu=Mc[hd],zd=Zu.iteratee,rg=Zu.type,Yp=zd(_d);if(rg==Z)_d=Yp;else if(!Yp){if(rg==me)continue e;break e}}wd[Ul++]=_d}return wd}Hs.prototype=Ls(Zs.prototype),Hs.prototype.constructor=Hs;function yi(be){var Be=-1,Nt=be==null?0:be.length;for(this.clear();++Be<Nt;){var In=be[Be];this.set(In[0],In[1])}}function Ki(){this.__data__=di?di(null):{},this.size=0}function uo(be){var Be=this.has(be)&&delete this.__data__[be];return this.size-=Be?1:0,Be}function As(be){var Be=this.__data__;if(di){var Nt=Be[be];return Nt===x?C:Nt}return Fc.call(Be,be)?Be[be]:C}function zc(be){var Be=this.__data__;return di?Be[be]!==C:Fc.call(Be,be)}function cc(be,Be){var Nt=this.__data__;return this.size+=this.has(be)?0:1,Nt[be]=di&&Be===C?x:Be,this}yi.prototype.clear=Ki,yi.prototype.delete=uo,yi.prototype.get=As,yi.prototype.has=zc,yi.prototype.set=cc;function fl(be){var Be=-1,Nt=be==null?0:be.length;for(this.clear();++Be<Nt;){var In=be[Be];this.set(In[0],In[1])}}function Bc(){this.__data__=[],this.size=0}function Gl(be){var Be=this.__data__,Nt=Hd(Be,be);if(Nt<0)return!1;var In=Be.length-1;return Nt==In?Be.pop():os.call(Be,Nt,1),--this.size,!0}function Fl(be){var Be=this.__data__,Nt=Hd(Be,be);return Nt<0?C:Be[Nt][1]}function pl(be){return Hd(this.__data__,be)>-1}function gu(be,Be){var Nt=this.__data__,In=Hd(Nt,be);return In<0?(++this.size,Nt.push([be,Be])):Nt[In][1]=Be,this}fl.prototype.clear=Bc,fl.prototype.delete=Gl,fl.prototype.get=Fl,fl.prototype.has=pl,fl.prototype.set=gu;function bl(be){var Be=-1,Nt=be==null?0:be.length;for(this.clear();++Be<Nt;){var In=be[Be];this.set(In[0],In[1])}}function tu(){this.size=0,this.__data__={hash:new yi,map:new(lr||fl),string:new yi}}function hl(be){var Be=So(this,be).delete(be);return this.size-=Be?1:0,Be}function ju(be){return So(this,be).get(be)}function il(be){return So(this,be).has(be)}function Mu(be,Be){var Nt=So(this,be),In=Nt.size;return Nt.set(be,Be),this.size+=Nt.size==In?0:1,this}bl.prototype.clear=tu,bl.prototype.delete=hl,bl.prototype.get=ju,bl.prototype.has=il,bl.prototype.set=Mu;function ji(be){var Be=-1,Nt=be==null?0:be.length;for(this.__data__=new bl;++Be<Nt;)this.add(be[Be])}function xa(be){return this.__data__.set(be,x),this}function as(be){return this.__data__.has(be)}ji.prototype.add=ji.prototype.push=xa,ji.prototype.has=as;function ws(be){var Be=this.__data__=new fl(be);this.size=Be.size}function Cs(){this.__data__=new fl,this.size=0}function $o(be){var Be=this.__data__,Nt=Be.delete(be);return this.size=Be.size,Nt}function _c(be){return this.__data__.get(be)}function Lc(be){return this.__data__.has(be)}function Rl(be,Be){var Nt=this.__data__;if(Nt instanceof fl){var In=Nt.__data__;if(!lr||In.length<A-1)return In.push([be,Be]),this.size=++Nt.size,this;Nt=this.__data__=new bl(In)}return Nt.set(be,Be),this.size=Nt.size,this}ws.prototype.clear=Cs,ws.prototype.delete=$o,ws.prototype.get=_c,ws.prototype.has=Lc,ws.prototype.set=Rl;function Ol(be,Be){var Nt=Qd(be),In=!Nt&&dm(be),Zr=!Nt&&!In&&Bg(be),Ha=!Nt&&!In&&!Zr&&xy(be),Ui=Nt||In||Zr||Ha,Oo=Ui?tc(be.length,ps):[],Ko=Oo.length;for(var wc in be)(Be||Fc.call(be,wc))&&!(Ui&&(wc=="length"||Zr&&(wc=="offset"||wc=="parent")||Ha&&(wc=="buffer"||wc=="byteLength"||wc=="byteOffset")||pt(wc,Ko)))&&Oo.push(wc);return Oo}function cl(be){var Be=be.length;return Be?be[aa(0,Be-1)]:C}function au(be,Be){return dd(kf(be),Bd(Be,0,be.length))}function Yu(be){return dd(kf(be))}function Od(be,Be,Nt){(Nt!==C&&!Dp(be[Be],Nt)||Nt===C&&!(Be in be))&&kd(be,Be,Nt)}function Lu(be,Be,Nt){var In=be[Be];(!(Fc.call(be,Be)&&Dp(In,Nt))||Nt===C&&!(Be in be))&&kd(be,Be,Nt)}function Hd(be,Be){for(var Nt=be.length;Nt--;)if(Dp(be[Nt][0],Be))return Nt;return-1}function af(be,Be,Nt,In){return ll(be,function(Zr,Ha,Ui){Be(In,Zr,Nt(Zr),Ui)}),In}function Gd(be,Be){return be&&Df(Be,rv(Be),be)}function Nd(be,Be){return be&&Df(Be,_v(Be),be)}function kd(be,Be,Nt){Be=="__proto__"&&Eu?Eu(be,Be,{configurable:!0,enumerable:!0,value:Nt,writable:!0}):be[Be]=Nt}function xf(be,Be){for(var Nt=-1,In=Be.length,Zr=ra(In),Ha=be==null;++Nt<In;)Zr[Nt]=Ha?C:Ay(be,Be[Nt]);return Zr}function Bd(be,Be,Nt){return be===be&&(Nt!==C&&(be=be<=Nt?be:Nt),Be!==C&&(be=be>=Be?be:Be)),be}function Fu(be,Be,Nt,In,Zr,Ha){var Ui,Oo=Be&D,Ko=Be&N,wc=Be&F;if(Nt&&(Ui=Zr?Nt(be,In,Zr,Ha):Nt(be)),Ui!==C)return Ui;if(!Kp(be))return be;var Mc=Qd(be);if(Mc){if(Ui=Ii(be),!Oo)return kf(be,Ui)}else{var Pc=Qs(be),Ul=Pc==Et||Pc==tt;if(Bg(be))return Tp(be,Oo);if(Pc==vt||Pc==Ue||Ul&&!Zr){if(Ui=Ko||Ul?{}:No(be),!Oo)return Ko?Sv(be,Nd(Ui,be)):Bv(be,Gd(Ui,be))}else{if(!Pn[Pc])return Zr?be:{};Ui=vc(be,Pc,Oo)}}Ha||(Ha=new ws);var Iu=Ha.get(be);if(Iu)return Iu;Ha.set(be,Ui),hT(be)?be.forEach(function(_d){Ui.add(Fu(_d,Be,Nt,_d,be,Ha))}):NO(be)&&be.forEach(function(_d,Zu){Ui.set(Zu,Fu(_d,Be,Nt,Zu,be,Ha))});var wd=wc?Ko?_r:od:Ko?_v:rv,hd=Mc?C:wd(be);return da(hd||be,function(_d,Zu){hd&&(Zu=_d,_d=be[Zu]),Lu(Ui,Zu,Fu(_d,Be,Nt,Zu,be,Ha))}),Ui}function xd(be){var Be=rv(be);return function(Nt){return of(Nt,be,Be)}}function of(be,Be,Nt){var In=Nt.length;if(be==null)return!In;for(be=Di(be);In--;){var Zr=Nt[In],Ha=Be[Zr],Ui=be[Zr];if(Ui===C&&!(Zr in be)||!Ha(Ui))return!1}return!0}function ld(be,Be,Nt){if(typeof be!="function")throw new mc(y);return tl(function(){be.apply(C,Nt)},Be)}function cu(be,Be,Nt,In){var Zr=-1,Ha=Ir,Ui=!0,Oo=be.length,Ko=[],wc=Be.length;if(!Oo)return Ko;Nt&&(Be=ga(Be,Ss(Nt))),In?(Ha=Gr,Ui=!1):Be.length>=A&&(Ha=Mo,Ui=!1,Be=new ji(Be));e:for(;++Zr<Oo;){var Mc=be[Zr],Pc=Nt==null?Mc:Nt(Mc);if(Mc=In||Mc!==0?Mc:0,Ui&&Pc===Pc){for(var Ul=wc;Ul--;)if(Be[Ul]===Pc)continue e;Ko.push(Mc)}else Ha(Be,Pc,In)||Ko.push(Mc)}return Ko}var ll=Qf(mf),ad=Qf(Ld,!0);function Xu(be,Be){var Nt=!0;return ll(be,function(In,Zr,Ha){return Nt=!!Be(In,Zr,Ha),Nt}),Nt}function _s(be,Be,Nt){for(var In=-1,Zr=be.length;++In<Zr;){var Ha=be[In],Ui=Be(Ha);if(Ui!=null&&(Oo===C?Ui===Ui&&!eg(Ui):Nt(Ui,Oo)))var Oo=Ui,Ko=Ha}return Ko}function jl(be,Be,Nt,In){var Zr=be.length;for(Nt=ef(Nt),Nt<0&&(Nt=-Nt>Zr?0:Zr+Nt),In=In===C||In>Zr?Zr:ef(In),In<0&&(In+=Zr),In=Nt>In?0:cx(In);Nt<In;)be[Nt++]=Be;return be}function Uu(be,Be){var Nt=[];return ll(be,function(In,Zr,Ha){Be(In,Zr,Ha)&&Nt.push(In)}),Nt}function jd(be,Be,Nt,In,Zr){var Ha=-1,Ui=be.length;for(Nt||(Nt=Pe),Zr||(Zr=[]);++Ha<Ui;){var Oo=be[Ha];Be>0&&Nt(Oo)?Be>1?jd(Oo,Be-1,Nt,In,Zr):Mr(Zr,Oo):In||(Zr[Zr.length]=Oo)}return Zr}var Sf=lv(),Af=lv(!0);function mf(be,Be){return be&&Sf(be,Be,rv)}function Ld(be,Be){return be&&Af(be,Be,rv)}function qd(be,Be){return Jn(Be,function(Nt){return Vh(be[Nt])})}function bu(be,Be){Be=lf(Be,be);for(var Nt=0,In=Be.length;be!=null&&Nt<In;)be=be[vd(Be[Nt++])];return Nt&&Nt==In?be:C}function $d(be,Be,Nt){var In=Be(be);return Qd(be)?In:Mr(In,Nt(be))}function Ju(be){return be==null?be===C?bt:Xt:Ud&&Ud in Di(be)?rc(be):ss(be)}function Jd(be,Be){return be>Be}function Zo(be,Be){return be!=null&&Fc.call(be,Be)}function Vr(be,Be){return be!=null&&Be in Di(be)}function Yo(be,Be,Nt){return be>=Ji(Be,Nt)&&be<Yi(Be,Nt)}function Mi(be,Be,Nt){for(var In=Nt?Gr:Ir,Zr=be[0].length,Ha=be.length,Ui=Ha,Oo=ra(Ha),Ko=Infinity,wc=[];Ui--;){var Mc=be[Ui];Ui&&Be&&(Mc=ga(Mc,Ss(Be))),Ko=Ji(Mc.length,Ko),Oo[Ui]=!Nt&&(Be||Zr>=120&&Mc.length>=120)?new ji(Ui&&Mc):C}Mc=be[0];var Pc=-1,Ul=Oo[0];e:for(;++Pc<Zr&&wc.length<Ko;){var Iu=Mc[Pc],wd=Be?Be(Iu):Iu;if(Iu=Nt||Iu!==0?Iu:0,!(Ul?Mo(Ul,wd):In(wc,wd,Nt))){for(Ui=Ha;--Ui;){var hd=Oo[Ui];if(!(hd?Mo(hd,wd):In(be[Ui],wd,Nt)))continue e}Ul&&Ul.push(wd),wc.push(Iu)}}return wc}function ds(be,Be,Nt,In){return mf(be,function(Zr,Ha,Ui){Be(In,Nt(Zr),Ha,Ui)}),In}function oc(be,Be,Nt){Be=lf(Be,be),be=Os(be,Be);var In=be==null?be:be[vd(Gi(Be))];return In==null?C:zn(In,be,Nt)}function Il(be){return Ip(be)&&Ju(be)==Ue}function pu(be){return Ip(be)&&Ju(be)==ft}function Nl(be){return Ip(be)&&Ju(be)==Xe}function Du(be,Be,Nt,In,Zr){return be===Be?!0:be==null||Be==null||!Ip(be)&&!Ip(Be)?be!==be&&Be!==Be:vu(be,Be,Nt,In,Du,Zr)}function vu(be,Be,Nt,In,Zr,Ha){var Ui=Qd(be),Oo=Qd(Be),Ko=Ui?He:Qs(be),wc=Oo?He:Qs(Be);Ko=Ko==Ue?vt:Ko,wc=wc==Ue?vt:wc;var Mc=Ko==vt,Pc=wc==vt,Ul=Ko==wc;if(Ul&&Bg(be)){if(!Bg(Be))return!1;Ui=!0,Mc=!1}if(Ul&&!Mc)return Ha||(Ha=new ws),Ui||xy(be)?hh(be,Be,Nt,In,Zr,Ha):gh(be,Be,Ko,Nt,In,Zr,Ha);if(!(Nt&B)){var Iu=Mc&&Fc.call(be,"__wrapped__"),wd=Pc&&Fc.call(Be,"__wrapped__");if(Iu||wd){var hd=Iu?be.value():be,_d=wd?Be.value():Be;return Ha||(Ha=new ws),Zr(hd,_d,Nt,In,Ha)}}return Ul?(Ha||(Ha=new ws),kv(be,Be,Nt,In,Zr,Ha)):!1}function lu(be){return Ip(be)&&Qs(be)==mt}function id(be,Be,Nt,In){var Zr=Nt.length,Ha=Zr,Ui=!In;if(be==null)return!Ha;for(be=Di(be);Zr--;){var Oo=Nt[Zr];if(Ui&&Oo[2]?Oo[1]!==be[Oo[0]]:!(Oo[0]in be))return!1}for(;++Zr<Ha;){Oo=Nt[Zr];var Ko=Oo[0],wc=be[Ko],Mc=Oo[1];if(Ui&&Oo[2]){if(wc===C&&!(Ko in be))return!1}else{var Pc=new ws;if(In)var Ul=In(wc,Mc,Ko,be,Be,Pc);if(!(Ul===C?Du(Mc,wc,B|U,In,Pc):Ul))return!1}}return!0}function Ws(be){if(!Kp(be)||ur(be))return!1;var Be=Vh(be)?pd:Sn;return Be.test(ff(be))}function re(be){return Ip(be)&&Ju(be)==Se}function Ae(be){return Ip(be)&&Qs(be)==Ve}function ct(be){return Ip(be)&&S_(be.length)&&!!Oa[Ju(be)]}function wt(be){return typeof be=="function"?be:be==null?Ah:typeof be=="object"?Qd(be)?Uc(be[0],be[1]):Xs(be):MT(be)}function an(be){if(!hr(be))return mo(be);var Be=[];for(var Nt in Di(be))Fc.call(be,Nt)&&Nt!="constructor"&&Be.push(Nt);return Be}function jr(be){if(!Kp(be))return Xi(be);var Be=hr(be),Nt=[];for(var In in be)In=="constructor"&&(Be||!Fc.call(be,In))||Nt.push(In);return Nt}function Xa(be,Be){return be<Be}function fs(be,Be){var Nt=-1,In=Wf(be)?ra(be.length):[];return ll(be,function(Zr,Ha,Ui){In[++Nt]=Be(Zr,Ha,Ui)}),In}function Xs(be){var Be=To(be);return Be.length==1&&Be[0][2]?ya(Be[0][0],Be[0][1]):function(Nt){return Nt===be||id(Nt,be,Be)}}function Uc(be,Be){return sn(be)&&ha(Be)?ya(vd(be),Be):function(Nt){var In=Ay(Nt,be);return In===C&&In===Be?qb(Nt,be):Du(Be,In,B|U)}}function zl(be,Be,Nt,In,Zr){be!==Be&&Sf(Be,function(Ha,Ui){if(Zr||(Zr=new ws),Kp(Ha))Bu(be,Be,Ui,Nt,zl,In,Zr);else{var Oo=In?In(Ll(be,Ui),Ha,Ui+"",be,Be,Zr):C;Oo===C&&(Oo=Ha),Od(be,Ui,Oo)}},_v)}function Bu(be,Be,Nt,In,Zr,Ha,Ui){var Oo=Ll(be,Nt),Ko=Ll(Be,Nt),wc=Ui.get(Ko);if(wc){Od(be,Nt,wc);return}var Mc=Ha?Ha(Oo,Ko,Nt+"",be,Be,Ui):C,Pc=Mc===C;if(Pc){var Ul=Qd(Ko),Iu=!Ul&&Bg(Ko),wd=!Ul&&!Iu&&xy(Ko);Mc=Ko,Ul||Iu||wd?Qd(Oo)?Mc=Oo:_f(Oo)?Mc=kf(Oo):Iu?(Pc=!1,Mc=Tp(Ko,!0)):wd?(Pc=!1,Mc=ph(Ko,!0)):Mc=[]:Jb(Ko)||dm(Ko)?(Mc=Oo,dm(Oo)?Mc=mT(Oo):(!Kp(Oo)||Vh(Oo))&&(Mc=No(Ko))):Pc=!1}Pc&&(Ui.set(Ko,Mc),Zr(Mc,Ko,In,Ha,Ui),Ui.delete(Ko)),Od(be,Nt,Mc)}function ud(be,Be){var Nt=be.length;if(!!Nt)return Be+=Be<0?Nt:0,pt(Be,Nt)?be[Be]:C}function Mp(be,Be,Nt){Be.length?Be=ga(Be,function(Ha){return Qd(Ha)?function(Ui){return bu(Ui,Ha.length===1?Ha[0]:Ha)}:Ha}):Be=[Ah];var In=-1;Be=ga(Be,Ss(so()));var Zr=fs(be,function(Ha,Ui,Oo){var Ko=ga(Be,function(wc){return wc(Ha)});return{criteria:Ko,index:++In,value:Ha}});return Ks(Zr,function(Ha,Ui){return Xv(Ha,Ui,Nt)})}function ev(be,Be){return Rn(be,Be,function(Nt,In){return qb(be,In)})}function Rn(be,Be,Nt){for(var In=-1,Zr=Be.length,Ha={};++In<Zr;){var Ui=Be[In],Oo=bu(be,Ui);Nt(Oo,Ui)&&es(Ha,lf(Ui,be),Oo)}return Ha}function St(be){return function(Be){return bu(Be,be)}}function on(be,Be,Nt,In){var Zr=In?Pa:ka,Ha=-1,Ui=Be.length,Oo=be;for(be===Be&&(Be=kf(Be)),Nt&&(Oo=ga(be,Ss(Nt)));++Ha<Ui;)for(var Ko=0,wc=Be[Ha],Mc=Nt?Nt(wc):wc;(Ko=Zr(Oo,Mc,Ko,In))>-1;)Oo!==be&&os.call(Oo,Ko,1),os.call(be,Ko,1);return be}function Dn(be,Be){for(var Nt=be?Be.length:0,In=Nt-1;Nt--;){var Zr=Be[Nt];if(Nt==In||Zr!==Ha){var Ha=Zr;pt(Zr)?os.call(be,Zr,1):gd(be,Zr)}}return be}function aa(be,Be){return be+Dr(dn()*(Be-be+1))}function oa(be,Be,Nt,In){for(var Zr=-1,Ha=Yi(yn((Be-be)/(Nt||1)),0),Ui=ra(Ha);Ha--;)Ui[In?Ha:++Zr]=be,be+=Nt;return Ui}function Jr(be,Be){var Nt="";if(!be||Be<1||Be>Le)return Nt;do Be%2&&(Nt+=be),Be=Dr(Be/2),Be&&(be+=be);while(Be);return Nt}function Ia(be,Be){return iu(ts(be,Be,Ah),be+"")}function Li(be){return cl(n1(be))}function no(be,Be){var Nt=n1(be);return dd(Nt,Bd(Be,0,Nt.length))}function es(be,Be,Nt,In){if(!Kp(be))return be;Be=lf(Be,be);for(var Zr=-1,Ha=Be.length,Ui=Ha-1,Oo=be;Oo!=null&&++Zr<Ha;){var Ko=vd(Be[Zr]),wc=Nt;if(Ko==="__proto__"||Ko==="constructor"||Ko==="prototype")return be;if(Zr!=Ui){var Mc=Oo[Ko];wc=In?In(Mc,Ko,Oo):C,wc===C&&(wc=Kp(Mc)?Mc:pt(Be[Zr+1])?[]:{})}Lu(Oo,Ko,wc),Oo=Oo[Ko]}return be}var Bo=Ci?function(be,Be){return Ci.set(be,Be),be}:Ah,Uo=Eu?function(be,Be){return Eu(be,"toString",{configurable:!0,enumerable:!1,value:i1(Be),writable:!0})}:Ah;function Dc(be){return dd(n1(be))}function nc(be,Be,Nt){var In=-1,Zr=be.length;Be<0&&(Be=-Be>Zr?0:Zr+Be),Nt=Nt>Zr?Zr:Nt,Nt<0&&(Nt+=Zr),Zr=Be>Nt?0:Nt-Be>>>0,Be>>>=0;for(var Ha=ra(Zr);++In<Zr;)Ha[In]=be[In+Be];return Ha}function Ms(be,Be){var Nt;return ll(be,function(In,Zr,Ha){return Nt=Be(In,Zr,Ha),!Nt}),!!Nt}function Eo(be,Be,Nt){var In=0,Zr=be==null?In:be.length;if(typeof Be=="number"&&Be===Be&&Zr<=Me){for(;In<Zr;){var Ha=In+Zr>>>1,Ui=be[Ha];Ui!==null&&!eg(Ui)&&(Nt?Ui<=Be:Ui<Be)?In=Ha+1:Zr=Ha}return Zr}return Is(be,Be,Ah,Nt)}function Is(be,Be,Nt,In){var Zr=0,Ha=be==null?0:be.length;if(Ha===0)return 0;Be=Nt(Be);for(var Ui=Be!==Be,Oo=Be===null,Ko=eg(Be),wc=Be===C;Zr<Ha;){var Mc=Dr((Zr+Ha)/2),Pc=Nt(be[Mc]),Ul=Pc!==C,Iu=Pc===null,wd=Pc===Pc,hd=eg(Pc);if(Ui)var _d=In||wd;else wc?_d=wd&&(In||Ul):Oo?_d=wd&&Ul&&(In||!Iu):Ko?_d=wd&&Ul&&!Iu&&(In||!hd):Iu||hd?_d=!1:_d=In?Pc<=Be:Pc<Be;_d?Zr=Mc+1:Ha=Mc}return Ji(Ha,Ke)}function $s(be,Be){for(var Nt=-1,In=be.length,Zr=0,Ha=[];++Nt<In;){var Ui=be[Nt],Oo=Be?Be(Ui):Ui;if(!Nt||!Dp(Oo,Ko)){var Ko=Oo;Ha[Zr++]=Ui===0?0:Ui}}return Ha}function _l(be){return typeof be=="number"?be:eg(be)?fe:+be}function Wl(be){if(typeof be=="string")return be;if(Qd(be))return ga(be,Wl)+"";if(eg(be))return Po?Po.call(be):"";var Be=be+"";return Be=="0"&&1/be==-Ee?"-0":Be}function Hu(be,Be,Nt){var In=-1,Zr=Ir,Ha=be.length,Ui=!0,Oo=[],Ko=Oo;if(Nt)Ui=!1,Zr=Gr;else if(Ha>=A){var wc=Be?null:Uh(be);if(wc)return td(wc);Ui=!1,Zr=Mo,Ko=new ji}else Ko=Be?[]:Oo;e:for(;++In<Ha;){var Mc=be[In],Pc=Be?Be(Mc):Mc;if(Mc=Nt||Mc!==0?Mc:0,Ui&&Pc===Pc){for(var Ul=Ko.length;Ul--;)if(Ko[Ul]===Pc)continue e;Be&&Ko.push(Pc),Oo.push(Mc)}else Zr(Ko,Pc,Nt)||(Ko!==Oo&&Ko.push(Pc),Oo.push(Mc))}return Oo}function gd(be,Be){return Be=lf(Be,be),be=Os(be,Be),be==null||delete be[vd(Gi(Be))]}function Cd(be,Be,Nt,In){return es(be,Be,Nt(bu(be,Be)),In)}function Gu(be,Be,Nt,In){for(var Zr=be.length,Ha=In?Zr:-1;(In?Ha--:++Ha<Zr)&&Be(be[Ha],Ha,be););return Nt?nc(be,In?0:Ha,In?Ha+1:Zr):nc(be,In?Ha+1:0,In?Zr:Ha)}function ol(be,Be){var Nt=be;return Nt instanceof Hs&&(Nt=Nt.value()),$a(Be,function(In,Zr){return Zr.func.apply(Zr.thisArg,Mr([In],Zr.args))},Nt)}function Md(be,Be,Nt){var In=be.length;if(In<2)return In?Hu(be[0]):[];for(var Zr=-1,Ha=ra(In);++Zr<In;)for(var Ui=be[Zr],Oo=-1;++Oo<In;)Oo!=Zr&&(Ha[Zr]=cu(Ha[Zr]||Ui,be[Oo],Be,Nt));return Hu(jd(Ha,1),Be,Nt)}function Ff(be,Be,Nt){for(var In=-1,Zr=be.length,Ha=Be.length,Ui={};++In<Zr;){var Oo=In<Ha?Be[In]:C;Nt(Ui,be[In],Oo)}return Ui}function pp(be){return _f(be)?be:[]}function Vu(be){return typeof be=="function"?be:Ah}function lf(be,Be){return Qd(be)?be:sn(be,Be)?[be]:Xl(Kf(be))}var cp=Ia;function Gf(be,Be,Nt){var In=be.length;return Nt=Nt===C?In:Nt,!Be&&Nt>=In?be:nc(be,Be,Nt)}var wp=El||function(be){return Oi.clearTimeout(be)};function Tp(be,Be){if(Be)return be.slice();var Nt=be.length,In=fu?fu(Nt):new be.constructor(Nt);return be.copy(In),In}function lp(be){var Be=new be.constructor(be.byteLength);return new Hl(Be).set(new Hl(be)),Be}function vp(be,Be){var Nt=Be?lp(be.buffer):be.buffer;return new be.constructor(Nt,be.byteOffset,be.byteLength)}function Uv(be){var Be=new be.constructor(be.source,Ct.exec(be));return Be.lastIndex=be.lastIndex,Be}function tv(be){return bs?Di(bs.call(be)):{}}function ph(be,Be){var Nt=Be?lp(be.buffer):be.buffer;return new be.constructor(Nt,be.byteOffset,be.length)}function up(be,Be){if(be!==Be){var Nt=be!==C,In=be===null,Zr=be===be,Ha=eg(be),Ui=Be!==C,Oo=Be===null,Ko=Be===Be,wc=eg(Be);if(!Oo&&!wc&&!Ha&&be>Be||Ha&&Ui&&Ko&&!Oo&&!wc||In&&Ui&&Ko||!Nt&&Ko||!Zr)return 1;if(!In&&!Ha&&!wc&&be<Be||wc&&Nt&&Zr&&!In&&!Ha||Oo&&Nt&&Zr||!Ui&&Zr||!Ko)return-1}return 0}function Xv(be,Be,Nt){for(var In=-1,Zr=be.criteria,Ha=Be.criteria,Ui=Zr.length,Oo=Nt.length;++In<Ui;){var Ko=up(Zr[In],Ha[In]);if(Ko){if(In>=Oo)return Ko;var wc=Nt[In];return Ko*(wc=="desc"?-1:1)}}return be.index-Be.index}function Fh(be,Be,Nt,In){for(var Zr=-1,Ha=be.length,Ui=Nt.length,Oo=-1,Ko=Be.length,wc=Yi(Ha-Ui,0),Mc=ra(Ko+wc),Pc=!In;++Oo<Ko;)Mc[Oo]=Be[Oo];for(;++Zr<Ui;)(Pc||Zr<Ha)&&(Mc[Nt[Zr]]=be[Zr]);for(;wc--;)Mc[Oo++]=be[Zr++];return Mc}function hp(be,Be,Nt,In){for(var Zr=-1,Ha=be.length,Ui=-1,Oo=Nt.length,Ko=-1,wc=Be.length,Mc=Yi(Ha-Oo,0),Pc=ra(Mc+wc),Ul=!In;++Zr<Mc;)Pc[Zr]=be[Zr];for(var Iu=Zr;++Ko<wc;)Pc[Iu+Ko]=Be[Ko];for(;++Ui<Oo;)(Ul||Zr<Ha)&&(Pc[Iu+Nt[Ui]]=be[Zr++]);return Pc}function kf(be,Be){var Nt=-1,In=be.length;for(Be||(Be=ra(In));++Nt<In;)Be[Nt]=be[Nt];return Be}function Df(be,Be,Nt,In){var Zr=!Nt;Nt||(Nt={});for(var Ha=-1,Ui=Be.length;++Ha<Ui;){var Oo=Be[Ha],Ko=In?In(Nt[Oo],be[Oo],Oo,Nt,be):C;Ko===C&&(Ko=be[Oo]),Zr?kd(Nt,Oo,Ko):Lu(Nt,Oo,Ko)}return Nt}function Bv(be,Be){return Df(be,Ys(be),Be)}function Sv(be,Be){return Df(be,qs(be),Be)}function Pp(be,Be){return function(Nt,In){var Zr=Qd(Nt)?xr:af,Ha=Be?Be():{};return Zr(Nt,be,so(In,2),Ha)}}function wv(be){return Ia(function(Be,Nt){var In=-1,Zr=Nt.length,Ha=Zr>1?Nt[Zr-1]:C,Ui=Zr>2?Nt[2]:C;for(Ha=be.length>3&&typeof Ha=="function"?(Zr--,Ha):C,Ui&&It(Nt[0],Nt[1],Ui)&&(Ha=Zr<3?C:Ha,Zr=1),Be=Di(Be);++In<Zr;){var Oo=Nt[In];Oo&&be(Be,Oo,In,Ha)}return Be})}function Qf(be,Be){return function(Nt,In){if(Nt==null)return Nt;if(!Wf(Nt))return be(Nt,In);for(var Zr=Nt.length,Ha=Be?Zr:-1,Ui=Di(Nt);(Be?Ha--:++Ha<Zr)&&In(Ui[Ha],Ha,Ui)!==!1;);return Nt}}function lv(be){return function(Be,Nt,In){for(var Zr=-1,Ha=Di(Be),Ui=In(Be),Oo=Ui.length;Oo--;){var Ko=Ui[be?Oo:++Zr];if(Nt(Ha[Ko],Ko,Ha)===!1)break}return Be}}function nv(be,Be,Nt){var In=Be&J,Zr=Gp(be);function Ha(){var Ui=this&&this!==Oi&&this instanceof Ha?Zr:be;return Ui.apply(In?Nt:this,arguments)}return Ha}function Hp(be){return function(Be){Be=Kf(Be);var Nt=Rc(Be)?Ur(Be):C,In=Nt?Nt[0]:Be.charAt(0),Zr=Nt?Gf(Nt,1).join(""):Be.slice(1);return In[be]()+Zr}}function Tv(be){return function(Be){return $a(j_(My(Be).replace(sa,"")),be,"")}}function Gp(be){return function(){var Be=arguments;switch(Be.length){case 0:return new be;case 1:return new be(Be[0]);case 2:return new be(Be[0],Be[1]);case 3:return new be(Be[0],Be[1],Be[2]);case 4:return new be(Be[0],Be[1],Be[2],Be[3]);case 5:return new be(Be[0],Be[1],Be[2],Be[3],Be[4]);case 6:return new be(Be[0],Be[1],Be[2],Be[3],Be[4],Be[5]);case 7:return new be(Be[0],Be[1],Be[2],Be[3],Be[4],Be[5],Be[6])}var Nt=Ls(be.prototype),In=be.apply(Nt,Be);return Kp(In)?In:Nt}}function Ap(be,Be,Nt){var In=Gp(be);function Zr(){for(var Ha=arguments.length,Ui=ra(Ha),Oo=Ha,Ko=Ao(Zr);Oo--;)Ui[Oo]=arguments[Oo];var wc=Ha<3&&Ui[0]!==Ko&&Ui[Ha-1]!==Ko?[]:Tl(Ui,Ko);if(Ha-=wc.length,Ha<Nt)return gv(be,Be,bp,Zr.placeholder,C,Ui,wc,C,C,Nt-Ha);var Mc=this&&this!==Oi&&this instanceof Zr?In:be;return zn(Mc,this,Ui)}return Zr}function hv(be){return function(Be,Nt,In){var Zr=Di(Be);if(!Wf(Be)){var Ha=so(Nt,3);Be=rv(Be),Nt=function(Oo){return Ha(Zr[Oo],Oo,Zr)}}var Ui=be(Be,Nt,In);return Ui>-1?Zr[Ha?Be[Ui]:Ui]:C}}function kp(be){return $p(function(Be){var Nt=Be.length,In=Nt,Zr=Sc.prototype.thru;for(be&&Be.reverse();In--;){var Ha=Be[In];if(typeof Ha!="function")throw new mc(y);if(Zr&&!Ui&&ei(Ha)=="wrapper")var Ui=new Sc([],!0)}for(In=Ui?In:Nt;++In<Nt;){Ha=Be[In];var Oo=ei(Ha),Ko=Oo=="wrapper"?Br(Ha):C;Ko&&An(Ko[0])&&Ko[1]==(W|ee|G|ne)&&!Ko[4].length&&Ko[9]==1?Ui=Ui[ei(Ko[0])].apply(Ui,Ko[3]):Ui=Ha.length==1&&An(Ha)?Ui[Oo]():Ui.thru(Ha)}return function(){var wc=arguments,Mc=wc[0];if(Ui&&wc.length==1&&Qd(Mc))return Ui.plant(Mc).value();for(var Pc=0,Ul=Nt?Be[Pc].apply(this,wc):Mc;++Pc<Nt;)Ul=Be[Pc].call(this,Ul);return Ul}})}function bp(be,Be,Nt,In,Zr,Ha,Ui,Oo,Ko,wc){var Mc=Be&W,Pc=Be&J,Ul=Be&$,Iu=Be&(ee|ie),wd=Be&te,hd=Ul?C:Gp(be);function _d(){for(var Zu=arguments.length,zd=ra(Zu),rg=Zu;rg--;)zd[rg]=arguments[rg];if(Iu)var Yp=Ao(_d),Hh=gc(zd,Yp);if(In&&(zd=Fh(zd,In,Zr,Iu)),Ha&&(zd=hp(zd,Ha,Ui,Iu)),Zu-=Hh,Iu&&Zu<wc){var uv=Tl(zd,Yp);return gv(be,Be,bp,_d.placeholder,Nt,zd,uv,Oo,Ko,wc-Zu)}var Og=Pc?Nt:this,Lm=Ul?Og[be]:be;return Zu=zd.length,Oo?zd=ac(zd,Oo):wd&&Zu>1&&zd.reverse(),Mc&&Ko<Zu&&(zd.length=Ko),this&&this!==Oi&&this instanceof _d&&(Lm=hd||Gp(Lm)),Lm.apply(Og,zd)}return _d}function jf(be,Be){return function(Nt,In){return ds(Nt,be,Be(In),{})}}function qf(be,Be){return function(Nt,In){var Zr;if(Nt===C&&In===C)return Be;if(Nt!==C&&(Zr=Nt),In!==C){if(Zr===C)return In;typeof Nt=="string"||typeof In=="string"?(Nt=Wl(Nt),In=Wl(In)):(Nt=_l(Nt),In=_l(In)),Zr=be(Nt,In)}return Zr}}function Eh(be){return $p(function(Be){return Be=ga(Be,Ss(so())),Ia(function(Nt){var In=this;return be(Be,function(Zr){return zn(Zr,In,Nt)})})})}function Av(be,Be){Be=Be===C?" ":Wl(Be);var Nt=Be.length;if(Nt<2)return Nt?Jr(Be,be):Be;var In=Jr(Be,yn(be/nr(Be)));return Rc(Be)?Gf(Ur(In),0,be).join(""):In.slice(0,be)}function Lg(be,Be,Nt,In){var Zr=Be&J,Ha=Gp(be);function Ui(){for(var Oo=-1,Ko=arguments.length,wc=-1,Mc=In.length,Pc=ra(Mc+Ko),Ul=this&&this!==Oi&&this instanceof Ui?Ha:be;++wc<Mc;)Pc[wc]=In[wc];for(;Ko--;)Pc[wc++]=arguments[++Oo];return zn(Ul,Zr?Nt:this,Pc)}return Ui}function Fg(be){return function(Be,Nt,In){return In&&typeof In!="number"&&It(Be,Nt,In)&&(Nt=In=C),Be=_g(Be),Nt===C?(Nt=Be,Be=0):Nt=_g(Nt),In=In===C?Be<Nt?1:-1:_g(In),oa(Be,Nt,In,be)}}function xh(be){return function(Be,Nt){return typeof Be=="string"&&typeof Nt=="string"||(Be=tg(Be),Nt=tg(Nt)),be(Be,Nt)}}function gv(be,Be,Nt,In,Zr,Ha,Ui,Oo,Ko,wc){var Mc=Be&ee,Pc=Mc?Ui:C,Ul=Mc?C:Ui,Iu=Mc?Ha:C,wd=Mc?C:Ha;Be|=Mc?G:Q,Be&=~(Mc?Q:G),Be&X||(Be&=~(J|$));var hd=[be,Be,Zr,Iu,Pc,wd,Ul,Oo,Ko,wc],_d=Nt.apply(C,hd);return An(be)&&nu(_d,hd),_d.placeholder=In,sd(_d,be,Be)}function vh(be){var Be=ii[be];return function(Nt,In){if(Nt=tg(Nt),In=In==null?0:Ji(ef(In),292),In&&Ra(Nt)){var Zr=(Kf(Nt)+"e").split("e"),Ha=Be(Zr[0]+"e"+(+Zr[1]+In));return Zr=(Kf(Ha)+"e").split("e"),+(Zr[0]+"e"+(+Zr[1]-In))}return Be(Nt)}}var Uh=Fa&&1/td(new Fa([,-0]))[1]==Ee?function(be){return new Fa(be)}:Cx;function Sh(be){return function(Be){var Nt=Qs(Be);return Nt==mt?al(Be):Nt==Ve?rl(Be):xc(Be,be(Be))}}function mv(be,Be,Nt,In,Zr,Ha,Ui,Oo){var Ko=Be&$;if(!Ko&&typeof be!="function")throw new mc(y);var wc=In?In.length:0;if(wc||(Be&=~(G|Q),In=Zr=C),Ui=Ui===C?Ui:Yi(ef(Ui),0),Oo=Oo===C?Oo:ef(Oo),wc-=Zr?Zr.length:0,Be&Q){var Mc=In,Pc=Zr;In=Zr=C}var Ul=Ko?C:Br(be),Iu=[be,Be,Nt,In,Zr,Mc,Pc,Ha,Ui,Oo];if(Ul&&to(Iu,Ul),be=Iu[0],Be=Iu[1],Nt=Iu[2],In=Iu[3],Zr=Iu[4],Oo=Iu[9]=Iu[9]===C?Ko?0:be.length:Yi(Iu[9]-wc,0),!Oo&&Be&(ee|ie)&&(Be&=~(ee|ie)),!Be||Be==J)var wd=nv(be,Be,Nt);else Be==ee||Be==ie?wd=Ap(be,Be,Oo):(Be==G||Be==(J|G))&&!Zr.length?wd=Lg(be,Be,Nt,In):wd=bp.apply(C,Iu);var hd=Ul?Bo:nu;return sd(hd(wd,Iu),be,Be)}function Jv(be,Be,Nt,In){return be===C||Dp(be,Gs[Nt])&&!Fc.call(In,Nt)?Be:be}function mg(be,Be,Nt,In,Zr,Ha){return Kp(be)&&Kp(Be)&&(Ha.set(Be,be),zl(be,Be,C,mg,Ha),Ha.delete(Be)),be}function Zv(be){return Jb(be)?C:be}function hh(be,Be,Nt,In,Zr,Ha){var Ui=Nt&B,Oo=be.length,Ko=Be.length;if(Oo!=Ko&&!(Ui&&Ko>Oo))return!1;var wc=Ha.get(be),Mc=Ha.get(Be);if(wc&&Mc)return wc==Be&&Mc==be;var Pc=-1,Ul=!0,Iu=Nt&U?new ji:C;for(Ha.set(be,Be),Ha.set(Be,be);++Pc<Oo;){var wd=be[Pc],hd=Be[Pc];if(In)var _d=Ui?In(hd,wd,Pc,Be,be,Ha):In(wd,hd,Pc,be,Be,Ha);if(_d!==C){if(_d)continue;Ul=!1;break}if(Iu){if(!_o(Be,function(Zu,zd){if(!Mo(Iu,zd)&&(wd===Zu||Zr(wd,Zu,Nt,In,Ha)))return Iu.push(zd)})){Ul=!1;break}}else if(!(wd===hd||Zr(wd,hd,Nt,In,Ha))){Ul=!1;break}}return Ha.delete(be),Ha.delete(Be),Ul}function gh(be,Be,Nt,In,Zr,Ha,Ui){switch(Nt){case Fe:if(be.byteLength!=Be.byteLength||be.byteOffset!=Be.byteOffset)return!1;be=be.buffer,Be=Be.buffer;case ft:return!(be.byteLength!=Be.byteLength||!Ha(new Hl(be),new Hl(Be)));case it:case Xe:case xt:return Dp(+be,+Be);case lt:return be.name==Be.name&&be.message==Be.message;case Se:case Ge:return be==Be+"";case mt:var Oo=al;case Ve:var Ko=In&B;if(Oo||(Oo=td),be.size!=Be.size&&!Ko)return!1;var wc=Ui.get(be);if(wc)return wc==Be;In|=U,Ui.set(be,Be);var Mc=hh(Oo(be),Oo(Be),In,Zr,Ha,Ui);return Ui.delete(be),Mc;case _t:if(bs)return bs.call(be)==bs.call(Be)}return!1}function kv(be,Be,Nt,In,Zr,Ha){var Ui=Nt&B,Oo=od(be),Ko=Oo.length,wc=od(Be),Mc=wc.length;if(Ko!=Mc&&!Ui)return!1;for(var Pc=Ko;Pc--;){var Ul=Oo[Pc];if(!(Ui?Ul in Be:Fc.call(Be,Ul)))return!1}var Iu=Ha.get(be),wd=Ha.get(Be);if(Iu&&wd)return Iu==Be&&wd==be;var hd=!0;Ha.set(be,Be),Ha.set(Be,be);for(var _d=Ui;++Pc<Ko;){Ul=Oo[Pc];var Zu=be[Ul],zd=Be[Ul];if(In)var rg=Ui?In(zd,Zu,Ul,Be,be,Ha):In(Zu,zd,Ul,be,Be,Ha);if(!(rg===C?Zu===zd||Zr(Zu,zd,Nt,In,Ha):rg)){hd=!1;break}_d||(_d=Ul=="constructor")}if(hd&&!_d){var Yp=be.constructor,Hh=Be.constructor;Yp!=Hh&&"constructor"in be&&"constructor"in Be&&!(typeof Yp=="function"&&Yp instanceof Yp&&typeof Hh=="function"&&Hh instanceof Hh)&&(hd=!1)}return Ha.delete(be),Ha.delete(Be),hd}function $p(be){return iu(ts(be,C,Ka),be+"")}function od(be){return $d(be,rv,Ys)}function _r(be){return $d(be,_v,qs)}var Br=Ci?function(be){return Ci.get(be)}:Cx;function ei(be){for(var Be=be.name+"",Nt=wo[Be],In=Fc.call(wo,Be)?Nt.length:0;In--;){var Zr=Nt[In],Ha=Zr.func;if(Ha==null||Ha==be)return Zr.name}return Be}function Ao(be){var Be=Fc.call(yr,"placeholder")?yr:be;return Be.placeholder}function so(){var be=yr.iteratee||o1;return be=be===o1?wt:be,arguments.length?be(arguments[0],arguments[1]):be}function So(be,Be){var Nt=be.__data__;return fn(Be)?Nt[typeof Be=="string"?"string":"hash"]:Nt.map}function To(be){for(var Be=rv(be),Nt=Be.length;Nt--;){var In=Be[Nt],Zr=be[In];Be[Nt]=[In,Zr,ha(Zr)]}return Be}function Fs(be,Be){var Nt=nl(be,Be);return Ws(Nt)?Nt:C}function rc(be){var Be=Fc.call(be,Ud),Nt=be[Ud];try{be[Ud]=C;var In=!0}catch(Ha){}var Zr=Vl.call(be);return In&&(Be?be[Ud]=Nt:delete be[Ud]),Zr}var Ys=Xr?function(be){return be==null?[]:(be=Di(be),Jn(Xr(be),function(Be){return ml.call(be,Be)}))}:Sx,qs=Xr?function(be){for(var Be=[];be;)Mr(Be,Ys(be)),be=nd(be);return Be}:Sx,Qs=Ju;(sr&&Qs(new sr(new ArrayBuffer(1)))!=Fe||lr&&Qs(new lr)!=mt||_a&&Qs(_a.resolve())!=qe||Fa&&Qs(new Fa)!=Ve||Va&&Qs(new Va)!=gt)&&(Qs=function(be){var Be=Ju(be),Nt=Be==vt?be.constructor:C,In=Nt?ff(Nt):"";if(In)switch(In){case ho:return Fe;case Io:return mt;case Fo:return qe;case xs:return Ve;case ms:return gt}return Be});function Hc(be,Be,Nt){for(var In=-1,Zr=Nt.length;++In<Zr;){var Ha=Nt[In],Ui=Ha.size;switch(Ha.type){case"drop":be+=Ui;break;case"dropRight":Be-=Ui;break;case"take":Be=Ji(Be,be+Ui);break;case"takeRight":be=Yi(be,Be-Ui);break}}return{start:be,end:Be}}function Oc(be){var Be=be.match(un);return Be?Be[1].split(zt):[]}function lc(be,Be,Nt){Be=lf(Be,be);for(var In=-1,Zr=Be.length,Ha=!1;++In<Zr;){var Ui=vd(Be[In]);if(!(Ha=be!=null&&Nt(be,Ui)))break;be=be[Ui]}return Ha||++In!=Zr?Ha:(Zr=be==null?0:be.length,!!Zr&&S_(Zr)&&pt(Ui,Zr)&&(Qd(be)||dm(be)))}function Ii(be){var Be=be.length,Nt=new be.constructor(Be);return Be&&typeof be[0]=="string"&&Fc.call(be,"index")&&(Nt.index=be.index,Nt.input=be.input),Nt}function No(be){return typeof be.constructor=="function"&&!hr(be)?Ls(nd(be)):{}}function vc(be,Be,Nt){var In=be.constructor;switch(Be){case ft:return lp(be);case it:case Xe:return new In(+be);case Fe:return vp(be,Nt);case Te:case ut:case le:case $e:case Qe:case Tt:case Ot:case Ut:case At:return ph(be,Nt);case mt:return new In;case xt:case Ge:return new In(be);case Se:return Uv(be);case Ve:return new In;case _t:return tv(be)}}function kt(be,Be){var Nt=Be.length;if(!Nt)return be;var In=Nt-1;return Be[In]=(Nt>1?"& ":"")+Be[In],Be=Be.join(Nt>2?", ":" "),be.replace(jn,`{
/* [wrapped with `+Be+`] */
`)}function Pe(be){return Qd(be)||dm(be)||!!(wu&&be&&be[wu])}function pt(be,Be){var Nt=typeof be;return Be=Be==null?Le:Be,!!Be&&(Nt=="number"||Nt!="symbol"&&Or.test(be))&&be>-1&&be%1==0&&be<Be}function It(be,Be,Nt){if(!Kp(Nt))return!1;var In=typeof Be;return(In=="number"?Wf(Nt)&&pt(Be,Nt.length):In=="string"&&Be in Nt)?Dp(Nt[Be],be):!1}function sn(be,Be){if(Qd(be))return!1;var Nt=typeof be;return Nt=="number"||Nt=="symbol"||Nt=="boolean"||be==null||eg(be)?!0:Sr.test(be)||!Tr.test(be)||Be!=null&&be in Di(Be)}function fn(be){var Be=typeof be;return Be=="string"||Be=="number"||Be=="symbol"||Be=="boolean"?be!=="__proto__":be===null}function An(be){var Be=ei(be),Nt=yr[Be];if(typeof Nt!="function"||!(Be in Hs.prototype))return!1;if(be===Nt)return!0;var In=Br(Nt);return!!In&&be===In[0]}function ur(be){return!!Dl&&Dl in be}var Pr=Nc?Vh:zO;function hr(be){var Be=be&&be.constructor,Nt=typeof Be=="function"&&Be.prototype||Gs;return be===Nt}function ha(be){return be===be&&!Kp(be)}function ya(be,Be){return function(Nt){return Nt==null?!1:Nt[be]===Be&&(Be!==C||be in Di(Nt))}}function Za(be){var Be=Wb(be,function(In){return Nt.size===T&&Nt.clear(),In}),Nt=Be.cache;return Be}function to(be,Be){var Nt=be[1],In=Be[1],Zr=Nt|In,Ha=Zr<(J|$|W),Ui=In==W&&Nt==ee||In==W&&Nt==ne&&be[7].length<=Be[8]||In==(W|ne)&&Be[7].length<=Be[8]&&Nt==ee;if(!(Ha||Ui))return be;In&J&&(be[2]=Be[2],Zr|=Nt&J?0:X);var Oo=Be[3];if(Oo){var Ko=be[3];be[3]=Ko?Fh(Ko,Oo,Be[4]):Oo,be[4]=Ko?Tl(be[3],j):Be[4]}return Oo=Be[5],Oo&&(Ko=be[5],be[5]=Ko?hp(Ko,Oo,Be[6]):Oo,be[6]=Ko?Tl(be[5],j):Be[6]),Oo=Be[7],Oo&&(be[7]=Oo),In&W&&(be[8]=be[8]==null?Be[8]:Ji(be[8],Be[8])),be[9]==null&&(be[9]=Be[9]),be[0]=Be[0],be[1]=Zr,be}function Xi(be){var Be=[];if(be!=null)for(var Nt in Di(be))Be.push(Nt);return Be}function ss(be){return Vl.call(be)}function ts(be,Be,Nt){return Be=Yi(Be===C?be.length-1:Be,0),function(){for(var In=arguments,Zr=-1,Ha=Yi(In.length-Be,0),Ui=ra(Ha);++Zr<Ha;)Ui[Zr]=In[Be+Zr];Zr=-1;for(var Oo=ra(Be+1);++Zr<Be;)Oo[Zr]=In[Zr];return Oo[Be]=Nt(Ui),zn(be,this,Oo)}}function Os(be,Be){return Be.length<2?be:bu(be,nc(Be,0,-1))}function ac(be,Be){for(var Nt=be.length,In=Ji(Be.length,Nt),Zr=kf(be);In--;){var Ha=Be[In];be[In]=pt(Ha,Nt)?Zr[Ha]:C}return be}function Ll(be,Be){if(!(Be==="constructor"&&typeof be[Be]=="function")&&Be!="__proto__")return be[Be]}var nu=md(Bo),tl=rd||function(be,Be){return Oi.setTimeout(be,Be)},iu=md(Uo);function sd(be,Be,Nt){var In=Be+"";return iu(be,kt(In,Zd(Oc(In),Nt)))}function md(be){var Be=0,Nt=0;return function(){var In=Vs(),Zr=ge-(In-Nt);if(Nt=In,Zr>0){if(++Be>=oe)return arguments[0]}else Be=0;return be.apply(C,arguments)}}function dd(be,Be){var Nt=-1,In=be.length,Zr=In-1;for(Be=Be===C?In:Be;++Nt<Be;){var Ha=aa(Nt,Zr),Ui=be[Ha];be[Ha]=be[Nt],be[Nt]=Ui}return be.length=Be,be}var Xl=Za(function(be){var Be=[];return be.charCodeAt(0)===46&&Be.push(""),be.replace(Wr,function(Nt,In,Zr,Ha){Be.push(Zr?Ha.replace(ot,"$1"):In||Nt)}),Be});function vd(be){if(typeof be=="string"||eg(be))return be;var Be=be+"";return Be=="0"&&1/be==-Ee?"-0":Be}function ff(be){if(be!=null){try{return Jc.call(be)}catch(Be){}try{return be+""}catch(Be){}}return""}function Zd(be,Be){return da(ze,function(Nt){var In="_."+Nt[0];Be&Nt[1]&&!Ir(be,In)&&be.push(In)}),be.sort()}function Zl(be){if(be instanceof Hs)return be.clone();var Be=new Sc(be.__wrapped__,be.__chain__);return Be.__actions__=kf(be.__actions__),Be.__index__=be.__index__,Be.__values__=be.__values__,Be}function wf(be,Be,Nt){(Nt?It(be,Be,Nt):Be===C)?Be=1:Be=Yi(ef(Be),0);var In=be==null?0:be.length;if(!In||Be<1)return[];for(var Zr=0,Ha=0,Ui=ra(yn(In/Be));Zr<In;)Ui[Ha++]=nc(be,Zr,Zr+=Be);return Ui}function Wd(be){for(var Be=-1,Nt=be==null?0:be.length,In=0,Zr=[];++Be<Nt;){var Ha=be[Be];Ha&&(Zr[In++]=Ha)}return Zr}function Al(){var be=arguments.length;if(!be)return[];for(var Be=ra(be-1),Nt=arguments[0],In=be;In--;)Be[In-1]=arguments[In];return Mr(Qd(Nt)?kf(Nt):[Nt],jd(Be,1))}var Jl=Ia(function(be,Be){return _f(be)?cu(be,jd(Be,1,_f,!0)):[]}),mu=Ia(function(be,Be){var Nt=Gi(Be);return _f(Nt)&&(Nt=C),_f(be)?cu(be,jd(Be,1,_f,!0),so(Nt,2)):[]}),gp=Ia(function(be,Be){var Nt=Gi(Be);return _f(Nt)&&(Nt=C),_f(be)?cu(be,jd(Be,1,_f,!0),C,Nt):[]});function jv(be,Be,Nt){var In=be==null?0:be.length;return In?(Be=Nt||Be===C?1:ef(Be),nc(be,Be<0?0:Be,In)):[]}function Vv(be,Be,Nt){var In=be==null?0:be.length;return In?(Be=Nt||Be===C?1:ef(Be),Be=In-Be,nc(be,0,Be<0?0:Be)):[]}function oi(be,Be){return be&&be.length?Gu(be,so(Be,3),!0,!0):[]}function rs(be,Be){return be&&be.length?Gu(be,so(Be,3),!0):[]}function Vo(be,Be,Nt,In){var Zr=be==null?0:be.length;return Zr?(Nt&&typeof Nt!="number"&&It(be,Be,Nt)&&(Nt=0,In=Zr),jl(be,Be,Nt,In)):[]}function ul(be,Be,Nt){var In=be==null?0:be.length;if(!In)return-1;var Zr=Nt==null?0:ef(Nt);return Zr<0&&(Zr=Yi(In+Zr,0)),Qn(be,so(Be,3),Zr)}function xu(be,Be,Nt){var In=be==null?0:be.length;if(!In)return-1;var Zr=In-1;return Nt!==C&&(Zr=ef(Nt),Zr=Nt<0?Yi(In+Zr,0):Ji(Zr,In-1)),Qn(be,so(Be,3),Zr,!0)}function Ka(be){var Be=be==null?0:be.length;return Be?jd(be,1):[]}function wa(be){var Be=be==null?0:be.length;return Be?jd(be,Ee):[]}function Ai(be,Be){var Nt=be==null?0:be.length;return Nt?(Be=Be===C?1:ef(Be),jd(be,Be)):[]}function Ti(be){for(var Be=-1,Nt=be==null?0:be.length,In={};++Be<Nt;){var Zr=be[Be];In[Zr[0]]=Zr[1]}return In}function bo(be){return be&&be.length?be[0]:C}function Hi(be,Be,Nt){var In=be==null?0:be.length;if(!In)return-1;var Zr=Nt==null?0:ef(Nt);return Zr<0&&(Zr=Yi(In+Zr,0)),ka(be,Be,Zr)}function ki(be){var Be=be==null?0:be.length;return Be?nc(be,0,-1):[]}var oo=Ia(function(be){var Be=ga(be,pp);return Be.length&&Be[0]===be[0]?Mi(Be):[]}),Wa=Ia(function(be){var Be=Gi(be),Nt=ga(be,pp);return Be===Gi(Nt)?Be=C:Nt.pop(),Nt.length&&Nt[0]===be[0]?Mi(Nt,so(Be,2)):[]}),bi=Ia(function(be){var Be=Gi(be),Nt=ga(be,pp);return Be=typeof Be=="function"?Be:C,Be&&Nt.pop(),Nt.length&&Nt[0]===be[0]?Mi(Nt,C,Be):[]});function Ba(be,Be){return be==null?"":wi.call(be,Be)}function Gi(be){var Be=be==null?0:be.length;return Be?be[Be-1]:C}function Do(be,Be,Nt){var In=be==null?0:be.length;if(!In)return-1;var Zr=In;return Nt!==C&&(Zr=ef(Nt),Zr=Zr<0?Yi(In+Zr,0):Ji(Zr,In-1)),Be===Be?qt(be,Be,Zr):Qn(be,Qa,Zr,!0)}function Ps(be,Be){return be&&be.length?ud(be,ef(Be)):C}var zs=Ia(vs);function vs(be,Be){return be&&be.length&&Be&&Be.length?on(be,Be):be}function uc(be,Be,Nt){return be&&be.length&&Be&&Be.length?on(be,Be,so(Nt,2)):be}function Kl(be,Be,Nt){return be&&be.length&&Be&&Be.length?on(be,Be,C,Nt):be}var fd=$p(function(be,Be){var Nt=be==null?0:be.length,In=xf(be,Be);return Dn(be,ga(Be,function(Zr){return pt(Zr,Nt)?+Zr:Zr}).sort(up)),In});function kl(be,Be){var Nt=[];if(!(be&&be.length))return Nt;var In=-1,Zr=[],Ha=be.length;for(Be=so(Be,3);++In<Ha;){var Ui=be[In];Be(Ui,In,be)&&(Nt.push(Ui),Zr.push(In))}return Dn(be,Zr),Nt}function Ic(be){return be==null?be:pn.call(be)}function Pu(be,Be,Nt){var In=be==null?0:be.length;return In?(Nt&&typeof Nt!="number"&&It(be,Be,Nt)?(Be=0,Nt=In):(Be=Be==null?0:ef(Be),Nt=Nt===C?In:ef(Nt)),nc(be,Be,Nt)):[]}function sf(be,Be){return Eo(be,Be)}function $f(be,Be,Nt){return Is(be,Be,so(Nt,2))}function Op(be,Be){var Nt=be==null?0:be.length;if(Nt){var In=Eo(be,Be);if(In<Nt&&Dp(be[In],Be))return In}return-1}function g0(be,Be){return Eo(be,Be,!0)}function Rp(be,Be,Nt){return Is(be,Be,so(Nt,2),!0)}function by(be,Be){var Nt=be==null?0:be.length;if(Nt){var In=Eo(be,Be,!0)-1;if(Dp(be[In],Be))return In}return-1}function Mv(be){return be&&be.length?$s(be):[]}function de(be,Be){return be&&be.length?$s(be,so(Be,2)):[]}function Ce(be){var Be=be==null?0:be.length;return Be?nc(be,1,Be):[]}function Je(be,Be,Nt){return be&&be.length?(Be=Nt||Be===C?1:ef(Be),nc(be,0,Be<0?0:Be)):[]}function Kt(be,Be,Nt){var In=be==null?0:be.length;return In?(Be=Nt||Be===C?1:ef(Be),Be=In-Be,nc(be,Be<0?0:Be,In)):[]}function Mn(be,Be){return be&&be.length?Gu(be,so(Be,3),!1,!0):[]}function Rr(be,Be){return be&&be.length?Gu(be,so(Be,3)):[]}var ja=Ia(function(be){return Hu(jd(be,1,_f,!0))}),ci=Ia(function(be){var Be=Gi(be);return _f(Be)&&(Be=C),Hu(jd(be,1,_f,!0),so(Be,2))}),yo=Ia(function(be){var Be=Gi(be);return Be=typeof Be=="function"?Be:C,Hu(jd(be,1,_f,!0),C,Be)});function Ho(be){return be&&be.length?Hu(be):[]}function sc(be,Be){return be&&be.length?Hu(be,so(Be,2)):[]}function Pd(be,Be){return Be=typeof Be=="function"?Be:C,be&&be.length?Hu(be,C,Be):[]}function Gc(be){if(!(be&&be.length))return[];var Be=0;return be=Jn(be,function(Nt){if(_f(Nt))return Be=Yi(Nt.length,Be),!0}),tc(Be,function(Nt){return ga(be,zo(Nt))})}function Tu(be,Be){if(!(be&&be.length))return[];var Nt=Gc(be);return Be==null?Nt:ga(Nt,function(In){return zn(Be,C,In)})}var Fd=Ia(function(be,Be){return _f(be)?cu(be,Be):[]}),Ed=Ia(function(be){return Md(Jn(be,_f))}),is=Ia(function(be){var Be=Gi(be);return _f(Be)&&(Be=C),Md(Jn(be,_f),so(Be,2))}),ko=Ia(function(be){var Be=Gi(be);return Be=typeof Be=="function"?Be:C,Md(Jn(be,_f),C,Be)}),Wo=Ia(Gc);function ic(be,Be){return Ff(be||[],Be||[],Lu)}function jc(be,Be){return Ff(be||[],Be||[],es)}var Td=Ia(function(be){var Be=be.length,Nt=Be>1?be[Be-1]:C;return Nt=typeof Nt=="function"?(be.pop(),Nt):C,Tu(be,Nt)});function Ou(be){var Be=yr(be);return Be.__chain__=!0,Be}function Sd(be,Be){return Be(be),be}function Vd(be,Be){return Be(be)}var Rd=$p(function(be){var Be=be.length,Nt=Be?be[0]:0,In=this.__wrapped__,Zr=function(Ha){return xf(Ha,be)};return Be>1||this.__actions__.length||!(In instanceof Hs)||!pt(Nt)?this.thru(Zr):(In=In.slice(Nt,+Nt+(Be?1:0)),In.__actions__.push({func:Vd,args:[Zr],thisArg:C}),new Sc(In,this.__chain__).thru(function(Ha){return Be&&!Ha.length&&Ha.push(C),Ha}))});function Bh(){return Ou(this)}function Rm(){return new Sc(this.value(),this.__chain__)}function Oy(){this.__values__===C&&(this.__values__=Sy(this.value()));var be=this.__index__>=this.__values__.length,Be=be?C:this.__values__[this.__index__++];return{done:be,value:Be}}function $w(){return this}function YE(be){for(var Be,Nt=this;Nt instanceof Zs;){var In=Zl(Nt);In.__index__=0,In.__values__=C,Be?Zr.__wrapped__=In:Be=In;var Zr=In;Nt=Nt.__wrapped__}return Zr.__wrapped__=be,Be}function $b(){var be=this.__wrapped__;if(be instanceof Hs){var Be=be;return this.__actions__.length&&(Be=new Hs(this)),Be=Be.reverse(),Be.__actions__.push({func:Vd,args:[Ic],thisArg:C}),new Sc(Be,this.__chain__)}return this.thru(Ic)}function Ww(){return ol(this.__wrapped__,this.__actions__)}var Kw=Pp(function(be,Be,Nt){Fc.call(be,Nt)?++be[Nt]:kd(be,Nt,1)});function XE(be,Be,Nt){var In=Qd(be)?Fn:Xu;return Nt&&It(be,Be,Nt)&&(Be=C),In(be,so(Be,3))}function Yw(be,Be){var Nt=Qd(be)?Jn:Uu;return Nt(be,so(Be,3))}var MP=hv(ul),PP=hv(xu);function Xw(be,Be){return jd(um(be,Be),1)}function Dm(be,Be){return jd(um(be,Be),Ee)}function m0(be,Be,Nt){return Nt=Nt===C?1:ef(Nt),jd(um(be,Be),Nt)}function RP(be,Be){var Nt=Qd(be)?da:ll;return Nt(be,so(Be,3))}function Jw(be,Be){var Nt=Qd(be)?en:ad;return Nt(be,so(Be,3))}var DP=Pp(function(be,Be,Nt){Fc.call(be,Nt)?be[Nt].push(Be):kd(be,Nt,[Be])});function IP(be,Be,Nt,In){be=Wf(be)?be:n1(be),Nt=Nt&&!In?ef(Nt):0;var Zr=be.length;return Nt<0&&(Nt=Yi(Zr+Nt,0)),fm(be)?Nt<=Zr&&be.indexOf(Be,Nt)>-1:!!Zr&&ka(be,Be,Nt)>-1}var Zw=Ia(function(be,Be,Nt){var In=-1,Zr=typeof Be=="function",Ha=Wf(be)?ra(be.length):[];return ll(be,function(Ui){Ha[++In]=Zr?zn(Be,Ui,Nt):oc(Ui,Be,Nt)}),Ha}),JE=Pp(function(be,Be,Nt){kd(be,Nt,Be)});function um(be,Be){var Nt=Qd(be)?ga:fs;return Nt(be,so(Be,3))}function Qw(be,Be,Nt,In){return be==null?[]:(Qd(Be)||(Be=Be==null?[]:[Be]),Nt=In?C:Nt,Qd(Nt)||(Nt=Nt==null?[]:[Nt]),Mp(be,Be,Nt))}var ZE=Pp(function(be,Be,Nt){be[Nt?0:1].push(Be)},function(){return[[],[]]});function C_(be,Be,Nt){var In=Qd(be)?$a:gs,Zr=arguments.length<3;return In(be,so(Be,4),Nt,Zr,ll)}function wh(be,Be,Nt){var In=Qd(be)?Ya:gs,Zr=arguments.length<3;return In(be,so(Be,4),Nt,Zr,ad)}function NP(be,Be){var Nt=Qd(be)?Jn:Uu;return Nt(be,DO(so(Be,3)))}function QE(be){var Be=Qd(be)?cl:Li;return Be(be)}function qw(be,Be,Nt){(Nt?It(be,Be,Nt):Be===C)?Be=1:Be=ef(Be);var In=Qd(be)?au:no;return In(be,Be)}function qE(be){var Be=Qd(be)?Yu:Dc;return Be(be)}function eT(be){if(be==null)return 0;if(Wf(be))return fm(be)?nr(be):be.length;var Be=Qs(be);return Be==mt||Be==Ve?be.size:an(be).length}function ex(be,Be,Nt){var In=Qd(be)?_o:Ms;return Nt&&It(be,Be,Nt)&&(Be=C),In(be,so(Be,3))}var tT=Ia(function(be,Be){if(be==null)return[];var Nt=Be.length;return Nt>1&&It(be,Be[0],Be[1])?Be=[]:Nt>2&&It(Be[0],Be[1],Be[2])&&(Be=[Be[0]]),Mp(be,jd(Be,1),[])}),_0=eu||function(){return Oi.Date.now()};function LP(be,Be){if(typeof Be!="function")throw new mc(y);return be=ef(be),function(){if(--be<1)return Be.apply(this,arguments)}}function RO(be,Be,Nt){return Be=Nt?C:Be,Be=be&&Be==null?be.length:Be,mv(be,W,C,C,C,C,Be)}function nT(be,Be){var Nt;if(typeof Be!="function")throw new mc(y);return be=ef(be),function(){return--be>0&&(Nt=Be.apply(this,arguments)),be<=1&&(Be=C),Nt}}var tx=Ia(function(be,Be,Nt){var In=J;if(Nt.length){var Zr=Tl(Nt,Ao(tx));In|=G}return mv(be,In,Be,Nt,Zr)}),rT=Ia(function(be,Be,Nt){var In=J|$;if(Nt.length){var Zr=Tl(Nt,Ao(rT));In|=G}return mv(Be,In,be,Nt,Zr)});function aT(be,Be,Nt){Be=Nt?C:Be;var In=mv(be,ee,C,C,C,C,C,Be);return In.placeholder=aT.placeholder,In}function iT(be,Be,Nt){Be=Nt?C:Be;var In=mv(be,ie,C,C,C,C,C,Be);return In.placeholder=iT.placeholder,In}function E_(be,Be,Nt){var In,Zr,Ha,Ui,Oo,Ko,wc=0,Mc=!1,Pc=!1,Ul=!0;if(typeof be!="function")throw new mc(y);Be=tg(Be)||0,Kp(Nt)&&(Mc=!!Nt.leading,Pc="maxWait"in Nt,Ha=Pc?Yi(tg(Nt.maxWait)||0,Be):Ha,Ul="trailing"in Nt?!!Nt.trailing:Ul);function Iu(uv){var Og=In,Lm=Zr;return In=Zr=C,wc=uv,Ui=be.apply(Lm,Og),Ui}function wd(uv){return wc=uv,Oo=tl(Zu,Be),Mc?Iu(uv):Ui}function hd(uv){var Og=uv-Ko,Lm=uv-wc,M_=Be-Og;return Pc?Ji(M_,Ha-Lm):M_}function _d(uv){var Og=uv-Ko,Lm=uv-wc;return Ko===C||Og>=Be||Og<0||Pc&&Lm>=Ha}function Zu(){var uv=_0();if(_d(uv))return zd(uv);Oo=tl(Zu,hd(uv))}function zd(uv){return Oo=C,Ul&&In?Iu(uv):(In=Zr=C,Ui)}function rg(){Oo!==C&&wp(Oo),wc=0,In=Ko=Zr=Oo=C}function Yp(){return Oo===C?Ui:zd(_0())}function Hh(){var uv=_0(),Og=_d(uv);if(In=arguments,Zr=this,Ko=uv,Og){if(Oo===C)return wd(Ko);if(Pc)return wp(Oo),Oo=tl(Zu,Be),Iu(Ko)}return Oo===C&&(Oo=tl(Zu,Be)),Ui}return Hh.cancel=rg,Hh.flush=Yp,Hh}var FP=Ia(function(be,Be){return ld(be,1,Be)}),Wp=Ia(function(be,Be,Nt){return ld(be,tg(Be)||0,Nt)});function Cy(be){return mv(be,te)}function Wb(be,Be){if(typeof be!="function"||Be!=null&&typeof Be!="function")throw new mc(y);var Nt=function(){var In=arguments,Zr=Be?Be.apply(this,In):In[0],Ha=Nt.cache;if(Ha.has(Zr))return Ha.get(Zr);var Ui=be.apply(this,In);return Nt.cache=Ha.set(Zr,Ui)||Ha,Ui};return Nt.cache=new(Wb.Cache||bl),Nt}Wb.Cache=bl;function DO(be){if(typeof be!="function")throw new mc(y);return function(){var Be=arguments;switch(Be.length){case 0:return!be.call(this);case 1:return!be.call(this,Be[0]);case 2:return!be.call(this,Be[0],Be[1]);case 3:return!be.call(this,Be[0],Be[1],Be[2])}return!be.apply(this,Be)}}function Qv(be){return nT(2,be)}var y0=cp(function(be,Be){Be=Be.length==1&&Qd(Be[0])?ga(Be[0],Ss(so())):ga(jd(Be,1),Ss(so()));var Nt=Be.length;return Ia(function(In){for(var Zr=-1,Ha=Ji(In.length,Nt);++Zr<Ha;)In[Zr]=Be[Zr].call(this,In[Zr]);return zn(be,this,In)})}),b0=Ia(function(be,Be){var Nt=Tl(Be,Ao(b0));return mv(be,G,C,Be,Nt)}),oT=Ia(function(be,Be){var Nt=Tl(Be,Ao(oT));return mv(be,Q,C,Be,Nt)}),aF=$p(function(be,Be){return mv(be,ne,C,C,C,Be)});function IO(be,Be){if(typeof be!="function")throw new mc(y);return Be=Be===C?Be:ef(Be),Ia(be,Be)}function sT(be,Be){if(typeof be!="function")throw new mc(y);return Be=Be==null?0:Yi(ef(Be),0),Ia(function(Nt){var In=Nt[Be],Zr=Gf(Nt,0,Be);return In&&Mr(Zr,In),zn(be,this,Zr)})}function UP(be,Be,Nt){var In=!0,Zr=!0;if(typeof be!="function")throw new mc(y);return Kp(Nt)&&(In="leading"in Nt?!!Nt.leading:In,Zr="trailing"in Nt?!!Nt.trailing:Zr),E_(be,Be,{leading:In,maxWait:Be,trailing:Zr})}function cT(be){return RO(be,1)}function Kb(be,Be){return b0(Vu(Be),be)}function Yb(){if(!arguments.length)return[];var be=arguments[0];return Qd(be)?be:[be]}function pf(be){return Fu(be,F)}function dp(be,Be){return Be=typeof Be=="function"?Be:C,Fu(be,F,Be)}function Ey(be){return Fu(be,D|F)}function x_(be,Be){return Be=typeof Be=="function"?Be:C,Fu(be,D|F,Be)}function lT(be,Be){return Be==null||of(be,Be,rv(Be))}function Dp(be,Be){return be===Be||be!==be&&Be!==Be}var Ug=xh(Jd),nx=xh(function(be,Be){return be>=Be}),dm=Il(function(){return arguments}())?Il:function(be){return Ip(be)&&Fc.call(be,"callee")&&!ml.call(be,"callee")},Qd=ra.isArray,rx=$t?Ss($t):pu;function Wf(be){return be!=null&&S_(be.length)&&!Vh(be)}function _f(be){return Ip(be)&&Wf(be)}function ep(be){return be===!0||be===!1||Ip(be)&&Ju(be)==it}var Bg=Ta||zO,BP=rt?Ss(rt):Nl;function VP(be){return Ip(be)&&be.nodeType===1&&!Jb(be)}function zP(be){if(be==null)return!0;if(Wf(be)&&(Qd(be)||typeof be=="string"||typeof be.splice=="function"||Bg(be)||xy(be)||dm(be)))return!be.length;var Be=Qs(be);if(Be==mt||Be==Ve)return!be.size;if(hr(be))return!an(be).length;for(var Nt in be)if(Fc.call(be,Nt))return!1;return!0}function ax(be,Be){return Du(be,Be)}function uT(be,Be,Nt){Nt=typeof Nt=="function"?Nt:C;var In=Nt?Nt(be,Be):C;return In===C?Du(be,Be,C,Nt):!!In}function Xb(be){if(!Ip(be))return!1;var Be=Ju(be);return Be==lt||Be==ht||typeof be.message=="string"&&typeof be.name=="string"&&!Jb(be)}function dT(be){return typeof be=="number"&&Ra(be)}function Vh(be){if(!Kp(be))return!1;var Be=Ju(be);return Be==Et||Be==tt||Be==Ne||Be==Re}function ix(be){return typeof be=="number"&&be==ef(be)}function S_(be){return typeof be=="number"&&be>-1&&be%1==0&&be<=Le}function Kp(be){var Be=typeof be;return be!=null&&(Be=="object"||Be=="function")}function Ip(be){return be!=null&&typeof be=="object"}var NO=Vt?Ss(Vt):lu;function HP(be,Be){return be===Be||id(be,Be,To(Be))}function GP(be,Be,Nt){return Nt=typeof Nt=="function"?Nt:C,id(be,Be,To(Be),Nt)}function fT(be){return vT(be)&&be!=+be}function $P(be){if(Pr(be))throw new li(S);return Ws(be)}function WP(be){return be===null}function pT(be){return be==null}function vT(be){return typeof be=="number"||Ip(be)&&Ju(be)==xt}function Jb(be){if(!Ip(be)||Ju(be)!=vt)return!1;var Be=nd(be);if(Be===null)return!0;var Nt=Fc.call(Be,"constructor")&&Be.constructor;return typeof Nt=="function"&&Nt instanceof Nt&&Jc.call(Nt)==hu}var Im=tn?Ss(tn):re;function tp(be){return ix(be)&&be>=-Le&&be<=Le}var hT=wn?Ss(wn):Ae;function fm(be){return typeof be=="string"||!Qd(be)&&Ip(be)&&Ju(be)==Ge}function eg(be){return typeof be=="symbol"||Ip(be)&&Ju(be)==_t}var xy=qn?Ss(qn):ct;function w_(be){return be===C}function KP(be){return Ip(be)&&Qs(be)==gt}function gT(be){return Ip(be)&&Ju(be)==at}var ox=xh(Xa),sx=xh(function(be,Be){return be<=Be});function Sy(be){if(!be)return[];if(Wf(be))return fm(be)?Ur(be):kf(be);if(cd&&be[cd])return Pl(be[cd]());var Be=Qs(be),Nt=Be==mt?al:Be==Ve?td:n1;return Nt(be)}function _g(be){if(!be)return be===0?be:0;if(be=tg(be),be===Ee||be===-Ee){var Be=be<0?-1:1;return Be*we}return be===be?be:0}function ef(be){var Be=_g(be),Nt=Be%1;return Be===Be?Nt?Be-Nt:Be:0}function cx(be){return be?Bd(ef(be),0,pe):0}function tg(be){if(typeof be=="number")return be;if(eg(be))return fe;if(Kp(be)){var Be=typeof be.valueOf=="function"?be.valueOf():be;be=Kp(Be)?Be+"":Be}if(typeof be!="string")return be===0?be:+be;be=kc(be);var Nt=kn.test(be);return Nt||Zn.test(be)?go(be.slice(2),Nt?2:8):Wt.test(be)?fe:+be}function mT(be){return Df(be,_v(be))}function lx(be){return be?Bd(ef(be),-Le,Le):be===0?be:0}function Kf(be){return be==null?"":Wl(be)}var ux=wv(function(be,Be){if(hr(Be)||Wf(Be)){Df(Be,rv(Be),be);return}for(var Nt in Be)Fc.call(Be,Nt)&&Lu(be,Nt,Be[Nt])}),Zb=wv(function(be,Be){Df(Be,_v(Be),be)}),T_=wv(function(be,Be,Nt,In){Df(Be,_v(Be),be,In)}),yg=wv(function(be,Be,Nt,In){Df(Be,rv(Be),be,In)}),_T=$p(xf);function wy(be,Be){var Nt=Ls(be);return Be==null?Nt:Gd(Nt,Be)}var Qb=Ia(function(be,Be){be=Di(be);var Nt=-1,In=Be.length,Zr=In>2?Be[2]:C;for(Zr&&It(Be[0],Be[1],Zr)&&(In=1);++Nt<In;)for(var Ha=Be[Nt],Ui=_v(Ha),Oo=-1,Ko=Ui.length;++Oo<Ko;){var wc=Ui[Oo],Mc=be[wc];(Mc===C||Dp(Mc,Gs[wc])&&!Fc.call(be,wc))&&(be[wc]=Ha[wc])}return be}),dx=Ia(function(be){return be.push(C,mg),zn(hx,C,be)});function fx(be,Be){return jo(be,so(Be,3),mf)}function px(be,Be){return jo(be,so(Be,3),Ld)}function Th(be,Be){return be==null?be:Sf(be,so(Be,3),_v)}function O0(be,Be){return be==null?be:Af(be,so(Be,3),_v)}function iF(be,Be){return be&&mf(be,so(Be,3))}function yT(be,Be){return be&&Ld(be,so(Be,3))}function Ty(be){return be==null?[]:qd(be,rv(be))}function vx(be){return be==null?[]:qd(be,_v(be))}function Ay(be,Be,Nt){var In=be==null?C:bu(be,Be);return In===C?Nt:In}function bT(be,Be){return be!=null&&lc(be,Be,Zo)}function qb(be,Be){return be!=null&&lc(be,Be,Vr)}var ky=jf(function(be,Be,Nt){Be!=null&&typeof Be.toString!="function"&&(Be=Vl.call(Be)),be[Be]=Nt},i1(Ah)),LO=jf(function(be,Be,Nt){Be!=null&&typeof Be.toString!="function"&&(Be=Vl.call(Be)),Fc.call(be,Be)?be[Be].push(Nt):be[Be]=[Nt]},so),e1=Ia(oc);function rv(be){return Wf(be)?Ol(be):an(be)}function _v(be){return Wf(be)?Ol(be,!0):jr(be)}function jy(be,Be){var Nt={};return Be=so(Be,3),mf(be,function(In,Zr,Ha){kd(Nt,Be(In,Zr,Ha),In)}),Nt}function oF(be,Be){var Nt={};return Be=so(Be,3),mf(be,function(In,Zr,Ha){kd(Nt,Zr,Be(In,Zr,Ha))}),Nt}var OT=wv(function(be,Be,Nt){zl(be,Be,Nt)}),hx=wv(function(be,Be,Nt,In){zl(be,Be,Nt,In)}),CT=$p(function(be,Be){var Nt={};if(be==null)return Nt;var In=!1;Be=ga(Be,function(Ha){return Ha=lf(Ha,be),In||(In=Ha.length>1),Ha}),Df(be,_r(be),Nt),In&&(Nt=Fu(Nt,D|N|F,Zv));for(var Zr=Be.length;Zr--;)gd(Nt,Be[Zr]);return Nt});function Nm(be,Be){return t1(be,DO(so(Be)))}var YP=$p(function(be,Be){return be==null?{}:ev(be,Be)});function t1(be,Be){if(be==null)return{};var Nt=ga(_r(be),function(In){return[In]});return Be=so(Be),Rn(be,Nt,function(In,Zr){return Be(In,Zr[0])})}function ET(be,Be,Nt){Be=lf(Be,be);var In=-1,Zr=Be.length;for(Zr||(Zr=1,be=C);++In<Zr;){var Ha=be==null?C:be[vd(Be[In])];Ha===C&&(In=Zr,Ha=Nt),be=Vh(Ha)?Ha.call(be):Ha}return be}function xT(be,Be,Nt){return be==null?be:es(be,Be,Nt)}function C0(be,Be,Nt,In){return In=typeof In=="function"?In:C,be==null?be:es(be,Be,Nt,In)}var FO=Sh(rv),gx=Sh(_v);function mx(be,Be,Nt){var In=Qd(be),Zr=In||Bg(be)||xy(be);if(Be=so(Be,4),Nt==null){var Ha=be&&be.constructor;Zr?Nt=In?new Ha:[]:Kp(be)?Nt=Vh(Ha)?Ls(nd(be)):{}:Nt={}}return(Zr?da:mf)(be,function(Ui,Oo,Ko){return Be(Nt,Ui,Oo,Ko)}),Nt}function _x(be,Be){return be==null?!0:gd(be,Be)}function XP(be,Be,Nt){return be==null?be:Cd(be,Be,Vu(Nt))}function JP(be,Be,Nt,In){return In=typeof In=="function"?In:C,be==null?be:Cd(be,Be,Vu(Nt),In)}function n1(be){return be==null?[]:Js(be,rv(be))}function ZP(be){return be==null?[]:Js(be,_v(be))}function E0(be,Be,Nt){return Nt===C&&(Nt=Be,Be=C),Nt!==C&&(Nt=tg(Nt),Nt=Nt===Nt?Nt:0),Be!==C&&(Be=tg(Be),Be=Be===Be?Be:0),Bd(tg(be),Be,Nt)}function yx(be,Be,Nt){return Be=_g(Be),Nt===C?(Nt=Be,Be=0):Nt=_g(Nt),be=tg(be),Yo(be,Be,Nt)}function UO(be,Be,Nt){if(Nt&&typeof Nt!="boolean"&&It(be,Be,Nt)&&(Be=Nt=C),Nt===C&&(typeof Be=="boolean"?(Nt=Be,Be=C):typeof be=="boolean"&&(Nt=be,be=C)),be===C&&Be===C?(be=0,Be=1):(be=_g(be),Be===C?(Be=be,be=0):Be=_g(Be)),be>Be){var In=be;be=Be,Be=In}if(Nt||be%1||Be%1){var Zr=dn();return Ji(be+Zr*(Be-be+Ja("1e-"+((Zr+"").length-1))),Be)}return aa(be,Be)}var BO=Tv(function(be,Be,Nt){return Be=Be.toLowerCase(),be+(Nt?A_(Be):Be)});function A_(be){return bg(Kf(be).toLowerCase())}function My(be){return be=Kf(be),be&&be.replace(Yn,Cl).replace(Da,"")}function x0(be,Be,Nt){be=Kf(be),Be=Wl(Be);var In=be.length;Nt=Nt===C?In:Bd(ef(Nt),0,In);var Zr=Nt;return Nt-=Be.length,Nt>=0&&be.slice(Nt,Zr)==Be}function sF(be){return be=Kf(be),be&&_n.test(be)?be.replace($n,wl):be}function cF(be){return be=Kf(be),be&&Wn.test(be)?be.replace(br,"\\$&"):be}var QP=Tv(function(be,Be,Nt){return be+(Nt?"-":"")+Be.toLowerCase()}),Pv=Tv(function(be,Be,Nt){return be+(Nt?" ":"")+Be.toLowerCase()}),r1=Hp("toLowerCase");function lF(be,Be,Nt){be=Kf(be),Be=ef(Be);var In=Be?nr(be):0;if(!Be||In>=Be)return be;var Zr=(Be-In)/2;return Av(Dr(Zr),Nt)+be+Av(yn(Zr),Nt)}function a1(be,Be,Nt){be=Kf(be),Be=ef(Be);var In=Be?nr(be):0;return Be&&In<Be?be+Av(Be-In,Nt):be}function k_(be,Be,Nt){be=Kf(be),Be=ef(Be);var In=Be?nr(be):0;return Be&&In<Be?Av(Be-In,Nt)+be:be}function Py(be,Be,Nt){return Nt||Be==null?Be=0:Be&&(Be=+Be),Jo(Kf(be).replace(gr,""),Be||0)}function ST(be,Be,Nt){return(Nt?It(be,Be,Nt):Be===C)?Be=1:Be=ef(Be),Jr(Kf(be),Be)}function qP(){var be=arguments,Be=Kf(be[0]);return be.length<3?Be:Be.replace(be[1],be[2])}var Ry=Tv(function(be,Be,Nt){return be+(Nt?"_":"")+Be.toLowerCase()});function eR(be,Be,Nt){return Nt&&typeof Nt!="number"&&It(be,Be,Nt)&&(Be=Nt=C),Nt=Nt===C?pe:Nt>>>0,Nt?(be=Kf(be),be&&(typeof Be=="string"||Be!=null&&!Im(Be))&&(Be=Wl(Be),!Be&&Rc(be))?Gf(Ur(be),0,Nt):be.split(Be,Nt)):[]}var tf=Tv(function(be,Be,Nt){return be+(Nt?" ":"")+bg(Be)});function wT(be,Be,Nt){return be=Kf(be),Nt=Nt==null?0:Bd(ef(Nt),0,be.length),Be=Wl(Be),be.slice(Nt,Nt+Be.length)==Be}function S0(be,Be,Nt){var In=yr.templateSettings;Nt&&It(be,Be,Nt)&&(Be=C),be=Kf(be),Be=T_({},Be,In,Jv);var Zr=T_({},Be.imports,In.imports,Jv),Ha=rv(Zr),Ui=Js(Zr,Ha),Oo,Ko,wc=0,Mc=Be.interpolate||Nn,Pc="__p += '",Ul=Xo((Be.escape||Nn).source+"|"+Mc.source+"|"+(Mc===Tn?nt:Nn).source+"|"+(Be.evaluate||Nn).source+"|$","g"),Iu="//# sourceURL="+(Fc.call(Be,"sourceURL")?(Be.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ma+"]")+`
`;be.replace(Ul,function(_d,Zu,zd,rg,Yp,Hh){return zd||(zd=rg),Pc+=be.slice(wc,Hh).replace(Zt,Wc),Zu&&(Oo=!0,Pc+=`' +
__e(`+Zu+`) +
'`),Yp&&(Ko=!0,Pc+=`';
`+Yp+`;
__p += '`),zd&&(Pc+=`' +
((__t = (`+zd+`)) == null ? '' : __t) +
'`),wc=Hh+_d.length,_d}),Pc+=`';
`;var wd=Fc.call(Be,"variable")&&Be.variable;if(!wd)Pc=`with (obj) {
`+Pc+`
}
`;else if(H.test(wd))throw new li(w);Pc=(Ko?Pc.replace(Pt,""):Pc).replace(Dt,"$1").replace(Qt,"$1;"),Pc="function("+(wd||"obj")+`) {
`+(wd?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Oo?", __e = _.escape":"")+(Ko?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Pc+`return __p
}`;var hd=eh(function(){return hi(Ha,Iu+"return "+Pc).apply(C,Ui)});if(hd.source=Pc,Xb(hd))throw hd;return hd}function tR(be){return Kf(be).toLowerCase()}function TT(be){return Kf(be).toUpperCase()}function zh(be,Be,Nt){if(be=Kf(be),be&&(Nt||Be===C))return kc(be);if(!be||!(Be=Wl(Be)))return be;var In=Ur(be),Zr=Ur(Be),Ha=js(In,Zr),Ui=Yc(In,Zr)+1;return Gf(In,Ha,Ui).join("")}function qv(be,Be,Nt){if(be=Kf(be),be&&(Nt||Be===C))return be.slice(0,Yr(be)+1);if(!be||!(Be=Wl(Be)))return be;var In=Ur(be),Zr=Yc(In,Ur(Be))+1;return Gf(In,0,Zr).join("")}function ng(be,Be,Nt){if(be=Kf(be),be&&(Nt||Be===C))return be.replace(gr,"");if(!be||!(Be=Wl(Be)))return be;var In=Ur(be),Zr=js(In,Ur(Be));return Gf(In,Zr).join("")}function pm(be,Be){var Nt=_e,In=he;if(Kp(Be)){var Zr="separator"in Be?Be.separator:Zr;Nt="length"in Be?ef(Be.length):Nt,In="omission"in Be?Wl(Be.omission):In}be=Kf(be);var Ha=be.length;if(Rc(be)){var Ui=Ur(be);Ha=Ui.length}if(Nt>=Ha)return be;var Oo=Nt-nr(In);if(Oo<1)return In;var Ko=Ui?Gf(Ui,0,Oo).join(""):be.slice(0,Oo);if(Zr===C)return Ko+In;if(Ui&&(Oo+=Ko.length-Oo),Im(Zr)){if(be.slice(Oo).search(Zr)){var wc,Mc=Ko;for(Zr.global||(Zr=Xo(Zr.source,Kf(Ct.exec(Zr))+"g")),Zr.lastIndex=0;wc=Zr.exec(Mc);)var Pc=wc.index;Ko=Ko.slice(0,Pc===C?Oo:Pc)}}else if(be.indexOf(Wl(Zr),Oo)!=Oo){var Ul=Ko.lastIndexOf(Zr);Ul>-1&&(Ko=Ko.slice(0,Ul))}return Ko+In}function vm(be){return be=Kf(be),be&&hn.test(be)?be.replace(cn,ni):be}var VO=Tv(function(be,Be,Nt){return be+(Nt?" ":"")+Be.toUpperCase()}),bg=Hp("toUpperCase");function j_(be,Be,Nt){return be=Kf(be),Be=Nt?C:Be,Be===C?su(be)?wr(be):ks(be):be.match(Be)||[]}var eh=Ia(function(be,Be){try{return zn(be,C,Be)}catch(Nt){return Xb(Nt)?Nt:new li(Nt)}}),AT=$p(function(be,Be){return da(Be,function(Nt){Nt=vd(Nt),kd(be,Nt,tx(be[Nt],be))}),be});function nR(be){var Be=be==null?0:be.length,Nt=so();return be=Be?ga(be,function(In){if(typeof In[1]!="function")throw new mc(y);return[Nt(In[0]),In[1]]}):[],Ia(function(In){for(var Zr=-1;++Zr<Be;){var Ha=be[Zr];if(zn(Ha[0],this,In))return zn(Ha[1],this,In)}})}function kT(be){return xd(Fu(be,D))}function i1(be){return function(){return be}}function bx(be,Be){return be==null||be!==be?Be:be}var rR=kp(),aR=kp(!0);function Ah(be){return be}function o1(be){return wt(typeof be=="function"?be:Fu(be,D))}function iR(be){return Xs(Fu(be,D))}function oR(be,Be){return Uc(be,Fu(Be,D))}var jT=Ia(function(be,Be){return function(Nt){return oc(Nt,be,Be)}}),uF=Ia(function(be,Be){return function(Nt){return oc(be,Nt,Be)}});function s1(be,Be,Nt){var In=rv(Be),Zr=qd(Be,In);Nt==null&&!(Kp(Be)&&(Zr.length||!In.length))&&(Nt=Be,Be=be,be=this,Zr=qd(Be,rv(Be)));var Ha=!(Kp(Nt)&&"chain"in Nt)||!!Nt.chain,Ui=Vh(be);return da(Zr,function(Oo){var Ko=Be[Oo];be[Oo]=Ko,Ui&&(be.prototype[Oo]=function(){var wc=this.__chain__;if(Ha||wc){var Mc=be(this.__wrapped__),Pc=Mc.__actions__=kf(this.__actions__);return Pc.push({func:Ko,args:arguments,thisArg:be}),Mc.__chain__=wc,Mc}return Ko.apply(be,Mr([this.value()],arguments))})}),be}function Ox(){return Oi._===this&&(Oi._=ru),this}function Cx(){}function sR(be){return be=ef(be),Ia(function(Be){return ud(Be,be)})}var dF=Eh(ga),cR=Eh(Fn),Ex=Eh(_o);function MT(be){return sn(be)?zo(vd(be)):St(be)}function xx(be){return function(Be){return be==null?C:bu(be,Be)}}var fF=Fg(),lR=Fg(!0);function Sx(){return[]}function zO(){return!1}function pF(){return{}}function vF(){return""}function Tf(){return!0}function w0(be,Be){if(be=ef(be),be<1||be>Le)return[];var Nt=pe,In=Ji(be,pe);Be=so(Be),be-=pe;for(var Zr=tc(In,Be);++Nt<be;)Be(Nt);return Zr}function c1(be){return Qd(be)?ga(be,vd):eg(be)?[be]:kf(Xl(Kf(be)))}function PT(be){var Be=++Ro;return Kf(be)+Be}var RT=qf(function(be,Be){return be+Be},0),Tx=vh("ceil"),DT=qf(function(be,Be){return be/Be},1),hF=vh("floor");function IT(be){return be&&be.length?_s(be,Ah,Jd):C}function D$(be,Be){return be&&be.length?_s(be,so(Be,2),Jd):C}function NT(be){return Ei(be,Ah)}function uR(be,Be){return Ei(be,so(Be,2))}function gF(be){return be&&be.length?_s(be,Ah,Xa):C}function LT(be,Be){return be&&be.length?_s(be,so(Be,2),Xa):C}var FT=qf(function(be,Be){return be*Be},1),UT=vh("round"),BT=qf(function(be,Be){return be-Be},0);function mF(be){return be&&be.length?pc(be,Ah):0}function dR(be,Be){return be&&be.length?pc(be,so(Be,2)):0}return yr.after=LP,yr.ary=RO,yr.assign=ux,yr.assignIn=Zb,yr.assignInWith=T_,yr.assignWith=yg,yr.at=_T,yr.before=nT,yr.bind=tx,yr.bindAll=AT,yr.bindKey=rT,yr.castArray=Yb,yr.chain=Ou,yr.chunk=wf,yr.compact=Wd,yr.concat=Al,yr.cond=nR,yr.conforms=kT,yr.constant=i1,yr.countBy=Kw,yr.create=wy,yr.curry=aT,yr.curryRight=iT,yr.debounce=E_,yr.defaults=Qb,yr.defaultsDeep=dx,yr.defer=FP,yr.delay=Wp,yr.difference=Jl,yr.differenceBy=mu,yr.differenceWith=gp,yr.drop=jv,yr.dropRight=Vv,yr.dropRightWhile=oi,yr.dropWhile=rs,yr.fill=Vo,yr.filter=Yw,yr.flatMap=Xw,yr.flatMapDeep=Dm,yr.flatMapDepth=m0,yr.flatten=Ka,yr.flattenDeep=wa,yr.flattenDepth=Ai,yr.flip=Cy,yr.flow=rR,yr.flowRight=aR,yr.fromPairs=Ti,yr.functions=Ty,yr.functionsIn=vx,yr.groupBy=DP,yr.initial=ki,yr.intersection=oo,yr.intersectionBy=Wa,yr.intersectionWith=bi,yr.invert=ky,yr.invertBy=LO,yr.invokeMap=Zw,yr.iteratee=o1,yr.keyBy=JE,yr.keys=rv,yr.keysIn=_v,yr.map=um,yr.mapKeys=jy,yr.mapValues=oF,yr.matches=iR,yr.matchesProperty=oR,yr.memoize=Wb,yr.merge=OT,yr.mergeWith=hx,yr.method=jT,yr.methodOf=uF,yr.mixin=s1,yr.negate=DO,yr.nthArg=sR,yr.omit=CT,yr.omitBy=Nm,yr.once=Qv,yr.orderBy=Qw,yr.over=dF,yr.overArgs=y0,yr.overEvery=cR,yr.overSome=Ex,yr.partial=b0,yr.partialRight=oT,yr.partition=ZE,yr.pick=YP,yr.pickBy=t1,yr.property=MT,yr.propertyOf=xx,yr.pull=zs,yr.pullAll=vs,yr.pullAllBy=uc,yr.pullAllWith=Kl,yr.pullAt=fd,yr.range=fF,yr.rangeRight=lR,yr.rearg=aF,yr.reject=NP,yr.remove=kl,yr.rest=IO,yr.reverse=Ic,yr.sampleSize=qw,yr.set=xT,yr.setWith=C0,yr.shuffle=qE,yr.slice=Pu,yr.sortBy=tT,yr.sortedUniq=Mv,yr.sortedUniqBy=de,yr.split=eR,yr.spread=sT,yr.tail=Ce,yr.take=Je,yr.takeRight=Kt,yr.takeRightWhile=Mn,yr.takeWhile=Rr,yr.tap=Sd,yr.throttle=UP,yr.thru=Vd,yr.toArray=Sy,yr.toPairs=FO,yr.toPairsIn=gx,yr.toPath=c1,yr.toPlainObject=mT,yr.transform=mx,yr.unary=cT,yr.union=ja,yr.unionBy=ci,yr.unionWith=yo,yr.uniq=Ho,yr.uniqBy=sc,yr.uniqWith=Pd,yr.unset=_x,yr.unzip=Gc,yr.unzipWith=Tu,yr.update=XP,yr.updateWith=JP,yr.values=n1,yr.valuesIn=ZP,yr.without=Fd,yr.words=j_,yr.wrap=Kb,yr.xor=Ed,yr.xorBy=is,yr.xorWith=ko,yr.zip=Wo,yr.zipObject=ic,yr.zipObjectDeep=jc,yr.zipWith=Td,yr.entries=FO,yr.entriesIn=gx,yr.extend=Zb,yr.extendWith=T_,s1(yr,yr),yr.add=RT,yr.attempt=eh,yr.camelCase=BO,yr.capitalize=A_,yr.ceil=Tx,yr.clamp=E0,yr.clone=pf,yr.cloneDeep=Ey,yr.cloneDeepWith=x_,yr.cloneWith=dp,yr.conformsTo=lT,yr.deburr=My,yr.defaultTo=bx,yr.divide=DT,yr.endsWith=x0,yr.eq=Dp,yr.escape=sF,yr.escapeRegExp=cF,yr.every=XE,yr.find=MP,yr.findIndex=ul,yr.findKey=fx,yr.findLast=PP,yr.findLastIndex=xu,yr.findLastKey=px,yr.floor=hF,yr.forEach=RP,yr.forEachRight=Jw,yr.forIn=Th,yr.forInRight=O0,yr.forOwn=iF,yr.forOwnRight=yT,yr.get=Ay,yr.gt=Ug,yr.gte=nx,yr.has=bT,yr.hasIn=qb,yr.head=bo,yr.identity=Ah,yr.includes=IP,yr.indexOf=Hi,yr.inRange=yx,yr.invoke=e1,yr.isArguments=dm,yr.isArray=Qd,yr.isArrayBuffer=rx,yr.isArrayLike=Wf,yr.isArrayLikeObject=_f,yr.isBoolean=ep,yr.isBuffer=Bg,yr.isDate=BP,yr.isElement=VP,yr.isEmpty=zP,yr.isEqual=ax,yr.isEqualWith=uT,yr.isError=Xb,yr.isFinite=dT,yr.isFunction=Vh,yr.isInteger=ix,yr.isLength=S_,yr.isMap=NO,yr.isMatch=HP,yr.isMatchWith=GP,yr.isNaN=fT,yr.isNative=$P,yr.isNil=pT,yr.isNull=WP,yr.isNumber=vT,yr.isObject=Kp,yr.isObjectLike=Ip,yr.isPlainObject=Jb,yr.isRegExp=Im,yr.isSafeInteger=tp,yr.isSet=hT,yr.isString=fm,yr.isSymbol=eg,yr.isTypedArray=xy,yr.isUndefined=w_,yr.isWeakMap=KP,yr.isWeakSet=gT,yr.join=Ba,yr.kebabCase=QP,yr.last=Gi,yr.lastIndexOf=Do,yr.lowerCase=Pv,yr.lowerFirst=r1,yr.lt=ox,yr.lte=sx,yr.max=IT,yr.maxBy=D$,yr.mean=NT,yr.meanBy=uR,yr.min=gF,yr.minBy=LT,yr.stubArray=Sx,yr.stubFalse=zO,yr.stubObject=pF,yr.stubString=vF,yr.stubTrue=Tf,yr.multiply=FT,yr.nth=Ps,yr.noConflict=Ox,yr.noop=Cx,yr.now=_0,yr.pad=lF,yr.padEnd=a1,yr.padStart=k_,yr.parseInt=Py,yr.random=UO,yr.reduce=C_,yr.reduceRight=wh,yr.repeat=ST,yr.replace=qP,yr.result=ET,yr.round=UT,yr.runInContext=Nr,yr.sample=QE,yr.size=eT,yr.snakeCase=Ry,yr.some=ex,yr.sortedIndex=sf,yr.sortedIndexBy=$f,yr.sortedIndexOf=Op,yr.sortedLastIndex=g0,yr.sortedLastIndexBy=Rp,yr.sortedLastIndexOf=by,yr.startCase=tf,yr.startsWith=wT,yr.subtract=BT,yr.sum=mF,yr.sumBy=dR,yr.template=S0,yr.times=w0,yr.toFinite=_g,yr.toInteger=ef,yr.toLength=cx,yr.toLower=tR,yr.toNumber=tg,yr.toSafeInteger=lx,yr.toString=Kf,yr.toUpper=TT,yr.trim=zh,yr.trimEnd=qv,yr.trimStart=ng,yr.truncate=pm,yr.unescape=vm,yr.uniqueId=PT,yr.upperCase=VO,yr.upperFirst=bg,yr.each=RP,yr.eachRight=Jw,yr.first=bo,s1(yr,function(){var be={};return mf(yr,function(Be,Nt){Fc.call(yr.prototype,Nt)||(be[Nt]=Be)}),be}(),{chain:!1}),yr.VERSION=k,da(["bind","bindKey","curry","curryRight","partial","partialRight"],function(be){yr[be].placeholder=yr}),da(["drop","take"],function(be,Be){Hs.prototype[be]=function(Nt){Nt=Nt===C?1:Yi(ef(Nt),0);var In=this.__filtered__&&!Be?new Hs(this):this.clone();return In.__filtered__?In.__takeCount__=Ji(Nt,In.__takeCount__):In.__views__.push({size:Ji(Nt,pe),type:be+(In.__dir__<0?"Right":"")}),In},Hs.prototype[be+"Right"]=function(Nt){return this.reverse()[be](Nt).reverse()}}),da(["filter","map","takeWhile"],function(be,Be){var Nt=Be+1,In=Nt==me||Nt==xe;Hs.prototype[be]=function(Zr){var Ha=this.clone();return Ha.__iteratees__.push({iteratee:so(Zr,3),type:Nt}),Ha.__filtered__=Ha.__filtered__||In,Ha}}),da(["head","last"],function(be,Be){var Nt="take"+(Be?"Right":"");Hs.prototype[be]=function(){return this[Nt](1).value()[0]}}),da(["initial","tail"],function(be,Be){var Nt="drop"+(Be?"":"Right");Hs.prototype[be]=function(){return this.__filtered__?new Hs(this):this[Nt](1)}}),Hs.prototype.compact=function(){return this.filter(Ah)},Hs.prototype.find=function(be){return this.filter(be).head()},Hs.prototype.findLast=function(be){return this.reverse().find(be)},Hs.prototype.invokeMap=Ia(function(be,Be){return typeof be=="function"?new Hs(this):this.map(function(Nt){return oc(Nt,be,Be)})}),Hs.prototype.reject=function(be){return this.filter(DO(so(be)))},Hs.prototype.slice=function(be,Be){be=ef(be);var Nt=this;return Nt.__filtered__&&(be>0||Be<0)?new Hs(Nt):(be<0?Nt=Nt.takeRight(-be):be&&(Nt=Nt.drop(be)),Be!==C&&(Be=ef(Be),Nt=Be<0?Nt.dropRight(-Be):Nt.take(Be-be)),Nt)},Hs.prototype.takeRightWhile=function(be){return this.reverse().takeWhile(be).reverse()},Hs.prototype.toArray=function(){return this.take(pe)},mf(Hs.prototype,function(be,Be){var Nt=/^(?:filter|find|map|reject)|While$/.test(Be),In=/^(?:head|last)$/.test(Be),Zr=yr[In?"take"+(Be=="last"?"Right":""):Be],Ha=In||/^find/.test(Be);!Zr||(yr.prototype[Be]=function(){var Ui=this.__wrapped__,Oo=In?[1]:arguments,Ko=Ui instanceof Hs,wc=Oo[0],Mc=Ko||Qd(Ui),Pc=function(Zu){var zd=Zr.apply(yr,Mr([Zu],Oo));return In&&Ul?zd[0]:zd};Mc&&Nt&&typeof wc=="function"&&wc.length!=1&&(Ko=Mc=!1);var Ul=this.__chain__,Iu=!!this.__actions__.length,wd=Ha&&!Ul,hd=Ko&&!Iu;if(!Ha&&Mc){Ui=hd?Ui:new Hs(this);var _d=be.apply(Ui,Oo);return _d.__actions__.push({func:Vd,args:[Pc],thisArg:C}),new Sc(_d,Ul)}return wd&&hd?be.apply(this,Oo):(_d=this.thru(Pc),wd?In?_d.value()[0]:_d.value():_d)})}),da(["pop","push","shift","sort","splice","unshift"],function(be){var Be=Ts[be],Nt=/^(?:push|sort|unshift)$/.test(be)?"tap":"thru",In=/^(?:pop|shift)$/.test(be);yr.prototype[be]=function(){var Zr=arguments;if(In&&!this.__chain__){var Ha=this.value();return Be.apply(Qd(Ha)?Ha:[],Zr)}return this[Nt](function(Ui){return Be.apply(Qd(Ui)?Ui:[],Zr)})}}),mf(Hs.prototype,function(be,Be){var Nt=yr[Be];if(Nt){var In=Nt.name+"";Fc.call(wo,In)||(wo[In]=[]),wo[In].push({name:Be,func:Nt})}}),wo[bp(C,$).name]=[{name:"wrapper",func:C}],Hs.prototype.clone=bc,Hs.prototype.reverse=cr,Hs.prototype.value=qr,yr.prototype.at=Rd,yr.prototype.chain=Bh,yr.prototype.commit=Rm,yr.prototype.next=Oy,yr.prototype.plant=YE,yr.prototype.reverse=$b,yr.prototype.toJSON=yr.prototype.valueOf=yr.prototype.value=Ww,yr.prototype.first=yr.prototype.head,cd&&(yr.prototype[cd]=$w),yr},La=Ua();Oi._=La,O=function(){return La}.call(R,l,R,m),O!==C&&(m.exports=O)}).call(this)}).call(this,l("IyRk"),l("hOG+")(ce))},Lyp1:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="QuestionCircleOutlined";var S=R.a=m.forwardRef(A)},"M+yt":function(ce,R,l){},M1bg:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("blink")},{blink:function(){return m(this,"blink","","")}})},M3b6:function(ce,R,l){var E=l("tSXo"),m=Math.floor;ce.exports=function(C){return!E(C)&&isFinite(C)&&m(C)===C}},M5et:function(ce,R,l){ce.exports={s2icon:"s2icon___10AEz"}},M5u2:function(ce,R,l){var E=l("I65O");E("unscopables")},M8HR:function(ce,R,l){"use strict";var E=l("MVys");function m(O,C){return RegExp(O,C)}R.UNSUPPORTED_Y=E(function(){var O=m("a","y");return O.lastIndex=2,O.exec("abcd")!=null}),R.BROKEN_CARET=E(function(){var O=m("^r","gy");return O.lastIndex=2,O.exec("str")!=null})},MAmL:function(ce,R,l){"use strict";l.r(R);var E=/[A-Z]/g,m=/^ms-/,O={};function C(A){return"-"+A.toLowerCase()}function k(A){if(O.hasOwnProperty(A))return O[A];var S=A.replace(E,C);return O[A]=m.test(S)?"-"+S:S}R.default=k},MCxp:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=R.calculateChange=function(O,C,k){O.preventDefault();var A=k.getBoundingClientRect(),S=A.width,y=A.height,w=typeof O.pageX=="number"?O.pageX:O.touches[0].pageX,x=typeof O.pageY=="number"?O.pageY:O.touches[0].pageY,T=w-(k.getBoundingClientRect().left+window.pageXOffset),j=x-(k.getBoundingClientRect().top+window.pageYOffset);T<0?T=0:T>S?T=S:j<0?j=0:j>y&&(j=y);var D=T*100/S,N=-(j*100/y)+100;return{h:C.h,s:D,v:N,a:C.a,source:"rgb"}}},ME5O:function(ce,R,l){"use strict";var E={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};R.a=E},MIOZ:function(ce,R){function l(E,m){var O=E==null?null:typeof Symbol!="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(O!=null){var C=[],k=!0,A=!1,S,y;try{for(O=O.call(E);!(k=(S=O.next()).done)&&(C.push(S.value),!(m&&C.length===m));k=!0);}catch(w){A=!0,y=w}finally{try{!k&&O.return!=null&&O.return()}finally{if(A)throw y}}return C}}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},MJZm:function(ce,R,l){"use strict";var E=l("fAei"),m=l("rePB"),O=l("U8pU"),C=l("wx14"),k=l("VTBJ"),A=l("q1tI"),S=l.n(A),y={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"},w=y,x=l("6VBw"),T=function(ht,lt){return A.createElement(x.a,Object(k.a)(Object(k.a)({},ht),{},{ref:lt,icon:w}))};T.displayName="HolderOutlined";var j=A.forwardRef(T),D=l("TSYQ"),N=l.n(D),F=l("H84U"),B=l("EXcs"),U=4;function J(Xe){var ht,lt=Xe.dropPosition,Et=Xe.dropLevelOffset,tt=Xe.prefixCls,mt=Xe.indent,xt=Xe.direction,Xt=xt===void 0?"ltr":xt,vt=Xt==="ltr"?"left":"right",qe=Xt==="ltr"?"right":"left",Re=(ht={},Object(m.a)(ht,vt,-Et*mt+U),Object(m.a)(ht,qe,0),ht);switch(lt){case-1:Re.top=-3;break;case 1:Re.bottom=-3;break;default:Re.bottom=-3,Re[vt]=mt+U;break}return S.a.createElement("div",{style:Re,className:"".concat(tt,"-drop-indicator")})}var $=l("2jpz"),X=A.forwardRef(function(Xe,ht){var lt,Et=A.useContext(F.b),tt=Et.getPrefixCls,mt=Et.direction,xt=Et.virtual,Xt=Xe.prefixCls,vt=Xe.className,qe=Xe.showIcon,Re=qe===void 0?!1:qe,Se=Xe.showLine,Ve=Xe.switcherIcon,Ge=Xe.blockNode,_t=Ge===void 0?!1:Ge,bt=Xe.children,gt=Xe.checkable,at=gt===void 0?!1:gt,ft=Xe.selectable,Fe=ft===void 0?!0:ft,Te=Xe.draggable,ut=Xe.motion,le=ut===void 0?Object(C.a)(Object(C.a)({},B.a),{motionAppear:!1}):ut,$e=tt("tree",Xt),Qe=Object(C.a)(Object(C.a)({},Xe),{checkable:at,selectable:Fe,showIcon:Re,motion:le,blockNode:_t,showLine:Boolean(Se),dropIndicatorRender:J}),Tt=A.useMemo(function(){if(!Te)return!1;var Ot={};switch(Object(O.a)(Te)){case"function":Ot.nodeDraggable=Te;break;case"object":Ot=Object(C.a)({},Te);break;default:break}return Ot.icon!==!1&&(Ot.icon=Ot.icon||A.createElement(j,null)),Ot},[Te]);return A.createElement(E.b,Object(C.a)({itemHeight:20,ref:ht,virtual:xt},Qe,{prefixCls:$e,className:N()((lt={},Object(m.a)(lt,"".concat($e,"-icon-hide"),!Re),Object(m.a)(lt,"".concat($e,"-block-node"),_t),Object(m.a)(lt,"".concat($e,"-unselectable"),!Fe),Object(m.a)(lt,"".concat($e,"-rtl"),mt==="rtl"),lt),vt),direction:mt,checkable:at&&A.createElement("span",{className:"".concat($e,"-checkbox-inner")}),selectable:Fe,switcherIcon:function(Ut){return Object($.a)($e,Ve,Se,Ut)},draggable:Tt}),bt)}),ee=X,ie=l("KQm4"),G=l("ODXe"),Q=l("9jjd"),W={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"},ne=W,te=function(ht,lt){return A.createElement(x.a,Object(k.a)(Object(k.a)({},ht),{},{ref:lt,icon:ne}))};te.displayName="FolderOpenOutlined";var _e=A.forwardRef(te),he={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"},oe=he,ge=function(ht,lt){return A.createElement(x.a,Object(k.a)(Object(k.a)({},ht),{},{ref:lt,icon:oe}))};ge.displayName="FolderOutlined";var me=A.forwardRef(ge),Z=l("OZM5"),xe=l("815F"),Ee;(function(Xe){Xe[Xe.None=0]="None",Xe[Xe.Start=1]="Start",Xe[Xe.End=2]="End"})(Ee||(Ee={}));function Le(Xe,ht){function lt(Et){var tt=Et.key,mt=Et.children;ht(tt,Et)!==!1&&Le(mt||[],ht)}Xe.forEach(lt)}function we(Xe){var ht=Xe.treeData,lt=Xe.expandedKeys,Et=Xe.startKey,tt=Xe.endKey,mt=[],xt=Ee.None;if(Et&&Et===tt)return[Et];if(!Et||!tt)return[];function Xt(vt){return vt===Et||vt===tt}return Le(ht,function(vt){if(xt===Ee.End)return!1;if(Xt(vt)){if(mt.push(vt),xt===Ee.None)xt=Ee.Start;else if(xt===Ee.Start)return xt=Ee.End,!1}else xt===Ee.Start&&mt.push(vt);return lt.includes(vt)}),mt}function fe(Xe,ht){var lt=Object(ie.a)(ht),Et=[];return Le(Xe,function(tt,mt){var xt=lt.indexOf(tt);return xt!==-1&&(Et.push(mt),lt.splice(xt,1)),!!lt.length}),Et}var pe=function(Xe,ht){var lt={};for(var Et in Xe)Object.prototype.hasOwnProperty.call(Xe,Et)&&ht.indexOf(Et)<0&&(lt[Et]=Xe[Et]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Et=Object.getOwnPropertySymbols(Xe);tt<Et.length;tt++)ht.indexOf(Et[tt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,Et[tt])&&(lt[Et[tt]]=Xe[Et[tt]]);return lt};function Ke(Xe){var ht=Xe.isLeaf,lt=Xe.expanded;return ht?A.createElement(Q.a,null):lt?A.createElement(_e,null):A.createElement(me,null)}function Me(Xe){var ht=Xe.treeData,lt=Xe.children;return ht||Object(xe.c)(lt)}var ze=function(ht,lt){var Et=ht.defaultExpandAll,tt=ht.defaultExpandParent,mt=ht.defaultExpandedKeys,xt=pe(ht,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Xt=A.useRef(),vt=A.useRef(),qe=function(){var $n=Object(xe.a)(Me(xt)),hn=$n.keyEntities,_n;return Et?_n=Object.keys(hn):tt?_n=Object(Z.e)(xt.expandedKeys||mt||[],hn):_n=xt.expandedKeys||mt,_n},Re=A.useState(xt.selectedKeys||xt.defaultSelectedKeys||[]),Se=Object(G.a)(Re,2),Ve=Se[0],Ge=Se[1],_t=A.useState(function(){return qe()}),bt=Object(G.a)(_t,2),gt=bt[0],at=bt[1];A.useEffect(function(){"selectedKeys"in xt&&Ge(xt.selectedKeys)},[xt.selectedKeys]),A.useEffect(function(){"expandedKeys"in xt&&at(xt.expandedKeys)},[xt.expandedKeys]);var ft=function($n,hn){var _n;return"expandedKeys"in xt||at($n),(_n=xt.onExpand)===null||_n===void 0?void 0:_n.call(xt,$n,hn)},Fe=function($n,hn){var _n,bn=xt.multiple,Bn=hn.node,Tn=hn.nativeEvent,Tr=Bn.key,Sr=Tr===void 0?"":Tr,Wr=Me(xt),br=Object(C.a)(Object(C.a)({},hn),{selected:!0}),Wn=(Tn==null?void 0:Tn.ctrlKey)||(Tn==null?void 0:Tn.metaKey),gr=Tn==null?void 0:Tn.shiftKey,na;bn&&Wn?(na=$n,Xt.current=Sr,vt.current=na,br.selectedNodes=fe(Wr,na)):bn&&gr?(na=Array.from(new Set([].concat(Object(ie.a)(vt.current||[]),Object(ie.a)(we({treeData:Wr,expandedKeys:gt,startKey:Sr,endKey:Xt.current}))))),br.selectedNodes=fe(Wr,na)):(na=[Sr],Xt.current=Sr,vt.current=na,br.selectedNodes=fe(Wr,na)),(_n=xt.onSelect)===null||_n===void 0||_n.call(xt,na,br),"selectedKeys"in xt||Ge(na)},Te=A.useContext(F.b),ut=Te.getPrefixCls,le=Te.direction,$e=xt.prefixCls,Qe=xt.className,Tt=xt.showIcon,Ot=Tt===void 0?!0:Tt,Ut=xt.expandAction,At=Ut===void 0?"click":Ut,Pt=pe(xt,["prefixCls","className","showIcon","expandAction"]),Dt=ut("tree",$e),Qt=N()("".concat(Dt,"-directory"),Object(m.a)({},"".concat(Dt,"-directory-rtl"),le==="rtl"),Qe);return A.createElement(ee,Object(C.a)({icon:Ke,ref:lt,blockNode:!0},Pt,{showIcon:Ot,expandAction:At,prefixCls:Dt,className:Qt,expandedKeys:gt,selectedKeys:Ve,onSelect:Fe,onExpand:ft}))},Ue=A.forwardRef(ze),He=Ue,Ne=ee;Ne.DirectoryTree=He,Ne.TreeNode=E.a;var it=R.a=Ne},MMCX:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m){return m.charAt(0).toUpperCase()+m.slice(1)}ce.exports=R.default},MMmD:function(ce,R,l){var E=l("lSCD"),m=l("shjB");function O(C){return C!=null&&m(C.length)&&!E(C)}ce.exports=O},MMxC:function(ce,R,l){var E=l("ukPv"),m=l("g8rt").f,O=l("lz10"),C=l("NMFW"),k=l("TMUv"),A=l("LJ80"),S=l("kkxG");ce.exports=function(y,w){var x=y.target,T=y.global,j=y.stat,D,N,F,B,U,J;if(T?N=E:j?N=E[x]||k(x,{}):N=(E[x]||{}).prototype,N)for(F in w){if(U=w[F],y.noTargetGet?(J=m(N,F),B=J&&J.value):B=N[F],D=S(T?F:x+(j?".":"#")+F,y.forced),!D&&B!==void 0){if(typeof U==typeof B)continue;A(U,B)}(y.sham||B&&B.sham)&&O(U,"sham",!0),C(N,F,U,y)}}},MNju:function(ce,R,l){},MON2:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.STACK_OVERFLOW=R.CIRCULAR_DEPENDENCY_IN_FACTORY=R.POST_CONSTRUCT_ERROR=R.MULTIPLE_POST_CONSTRUCT_METHODS=R.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK=R.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE=R.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE=R.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT=R.ARGUMENTS_LENGTH_MISMATCH=R.INVALID_DECORATOR_OPERATION=R.INVALID_TO_SELF_VALUE=R.INVALID_FUNCTION_BINDING=R.INVALID_MIDDLEWARE_RETURN=R.NO_MORE_SNAPSHOTS_AVAILABLE=R.INVALID_BINDING_TYPE=R.NOT_IMPLEMENTED=R.CIRCULAR_DEPENDENCY=R.UNDEFINED_INJECT_ANNOTATION=R.MISSING_INJECT_ANNOTATION=R.MISSING_INJECTABLE_ANNOTATION=R.NOT_REGISTERED=R.CANNOT_UNBIND=R.AMBIGUOUS_MATCH=R.KEY_NOT_FOUND=R.NULL_ARGUMENT=R.DUPLICATED_METADATA=R.DUPLICATED_INJECTABLE_DECORATOR=void 0,R.DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.",R.DUPLICATED_METADATA="Metadata key was used more than once in a parameter:",R.NULL_ARGUMENT="NULL argument",R.KEY_NOT_FOUND="Key Not Found",R.AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:",R.CANNOT_UNBIND="Could not unbind serviceIdentifier:",R.NOT_REGISTERED="No matching bindings found for serviceIdentifier:",R.MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:",R.MISSING_INJECT_ANNOTATION="Missing required @inject or @multiInject annotation in:";var E=function(A){return"@inject called with undefined this could mean that the class "+A+" has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation."};R.UNDEFINED_INJECT_ANNOTATION=E,R.CIRCULAR_DEPENDENCY="Circular dependency found:",R.NOT_IMPLEMENTED="Sorry, this feature is not fully implemented yet.",R.INVALID_BINDING_TYPE="Invalid binding type:",R.NO_MORE_SNAPSHOTS_AVAILABLE="No snapshot available to restore.",R.INVALID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!",R.INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!",R.INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier",R.INVALID_DECORATOR_OPERATION="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.";var m=function(){for(var A=[],S=0;S<arguments.length;S++)A[S]=arguments[S];return"The number of constructor arguments in the derived class "+(A[0]+" must be >= than the number of constructor arguments of its base class.")};R.ARGUMENTS_LENGTH_MISMATCH=m,R.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",R.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",R.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",R.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",R.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class";var O=function(){for(var A=[],S=0;S<arguments.length;S++)A[S]=arguments[S];return"@postConstruct error in class "+A[0]+": "+A[1]};R.POST_CONSTRUCT_ERROR=O;var C=function(){for(var A=[],S=0;S<arguments.length;S++)A[S]=arguments[S];return"It looks like there is a circular dependency "+("in one of the '"+A[0]+"' bindings. Please investigate bindings with")+("service identifier '"+A[1]+"'.")};R.CIRCULAR_DEPENDENCY_IN_FACTORY=C,R.STACK_OVERFLOW="Maximum call stack size exceeded"},MRpI:function(ce,R,l){var E=l("MMxC"),m=l("V61k"),O=Math.exp;E({target:"Math",stat:!0},{tanh:function(k){var A=m(k=+k),S=m(-k);return A==Infinity?1:S==Infinity?-1:(A-S)/(O(k)+O(-k))}})},MVZ2:function(ce,R,l){"use strict";l.d(R,"a",function(){return C}),l.d(R,"b",function(){return k}),l.d(R,"e",function(){return A}),l.d(R,"c",function(){return S}),l.d(R,"d",function(){return w});var E=l("rAM+"),m=l("k1fw"),O=function x(T,j){return T.map(function(D){var N=Object(m.a)(Object(m.a)({},D),{},{key:D.id,disabled:j,children:D.children?x(D.children,j):[]});return N})},C=function x(T){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return T.map(function(D){var N=D.children,F=D.parentId,B=F===void 0?[]:F,U=j.slice();return U.push(B),N?Object(m.a)(Object(m.a)({},D),{},{path:U,children:x(N,U)}):Object(m.a)(Object(m.a)({},D),{},{path:U})})},k=function x(T){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,D=T.reduce(function(N,F){if(F.parentId==j){var B=x(T,F.id);B.length&&(F.children=B),F.key=F.id,F.title=F.name,N.push(F)}return N},[]);return D},A=function x(T){var j=[];return T.forEach(function(D){D.children&&D.children.length>0&&(j.push(D.id),j=j.concat(x(D.children)))}),j},S=function x(T,j){if(T.length===0)return[];var D=[],N=T.find(function(F){return F.subDepartments&&(D=D.concat(F.subDepartments)),F.key===j});return N||x(D,j)},y=function x(T,j,D){if(T.parentId===j)return!0;var N=D.find(function(F){return F.id===T.parentId});return N?x(N,j,D):!1},w=function(T){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,D=[],N=Object(E.a)(T),F;try{for(N.s();!(F=N.n()).done;){var B=F.value,U=!0,J=Object(E.a)(T),$;try{for(J.s();!($=J.n()).done;){var X=$.value;if(X.parentId===B.id){U=!1;break}}}catch(ee){J.e(ee)}finally{J.f()}U&&(j===null||y(B,j,T))&&D.push(B)}}catch(ee){N.e(ee)}finally{N.f()}return D}},MVys:function(ce,R){ce.exports=function(l){try{return!!l()}catch(E){return!0}}},MXD1:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("Kvyg"),C=l.n(O)},MXy0:function(ce,R,l){ce.exports={userAvatar:"userAvatar___9hXSy",userText:"userText___rJvtU"}},MgzW:function(ce,R,l){"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var E=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;function C(A){if(A==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}function k(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de",Object.getOwnPropertyNames(A)[0]==="5")return!1;for(var S={},y=0;y<10;y++)S["_"+String.fromCharCode(y)]=y;var w=Object.getOwnPropertyNames(S).map(function(T){return S[T]});if(w.join("")!=="0123456789")return!1;var x={};return"abcdefghijklmnopqrst".split("").forEach(function(T){x[T]=T}),Object.keys(Object.assign({},x)).join("")==="abcdefghijklmnopqrst"}catch(T){return!1}}ce.exports=k()?Object.assign:function(A,S){for(var y,w=C(A),x,T=1;T<arguments.length;T++){y=Object(arguments[T]);for(var j in y)m.call(y,j)&&(w[j]=y[j]);if(E){x=E(y);for(var D=0;D<x.length;D++)O.call(y,x[D])&&(w[x[D]]=y[x[D]])}}return w}},Mi8B:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("ukPv"),O=l("tny8"),C=l("8OQV"),k=l("FVwB"),A=l("ZSlt"),S=l("igoe"),y=l("HhvW"),w=l("lz10"),x=l("oa35"),T=l("J+Da"),j=l("nCqj"),D=l("gFfw"),N=l("jtLI"),F=l("Ei+o"),B=l("tSXo"),U=l("u+7+"),J=l("g1ZG"),$=l("uGHk").f,X=l("Sn4z"),ee=l("zv1X").forEach,ie=l("ssJt"),G=l("YfKC"),Q=l("g8rt"),W=l("1aI8"),ne=l("+vfm"),te=W.get,_e=W.set,he=G.f,oe=Q.f,ge=Math.round,me=m.RangeError,Z=A.ArrayBuffer,xe=A.DataView,Ee=k.NATIVE_ARRAY_BUFFER_VIEWS,Le=k.TYPED_ARRAY_TAG,we=k.TypedArray,fe=k.TypedArrayPrototype,pe=k.aTypedArrayConstructor,Ke=k.isTypedArray,Me="BYTES_PER_ELEMENT",ze="Wrong length",Ue=function(lt,Et){for(var tt=0,mt=Et.length,xt=new(pe(lt))(mt);mt>tt;)xt[tt]=Et[tt++];return xt},He=function(lt,Et){he(lt,Et,{get:function(){return te(this)[Et]}})},Ne=function(lt){var Et;return lt instanceof Z||(Et=F(lt))=="ArrayBuffer"||Et=="SharedArrayBuffer"},it=function(lt,Et){return Ke(lt)&&typeof Et!="symbol"&&Et in lt&&String(+Et)==String(Et)},Xe=function(Et,tt){return it(Et,tt=D(tt,!0))?y(2,Et[tt]):oe(Et,tt)},ht=function(Et,tt,mt){return it(Et,tt=D(tt,!0))&&B(mt)&&N(mt,"value")&&!N(mt,"get")&&!N(mt,"set")&&!mt.configurable&&(!N(mt,"writable")||mt.writable)&&(!N(mt,"enumerable")||mt.enumerable)?(Et[tt]=mt.value,Et):he(Et,tt,mt)};O?(Ee||(Q.f=Xe,G.f=ht,He(fe,"buffer"),He(fe,"byteOffset"),He(fe,"byteLength"),He(fe,"length")),E({target:"Object",stat:!0,forced:!Ee},{getOwnPropertyDescriptor:Xe,defineProperty:ht}),ce.exports=function(lt,Et,tt){var mt=lt.match(/\d+$/)[0]/8,xt=lt+(tt?"Clamped":"")+"Array",Xt="get"+lt,vt="set"+lt,qe=m[xt],Re=qe,Se=Re&&Re.prototype,Ve={},Ge=function(gt,at){var ft=te(gt);return ft.view[Xt](at*mt+ft.byteOffset,!0)},_t=function(gt,at,ft){var Fe=te(gt);tt&&(ft=(ft=ge(ft))<0?0:ft>255?255:ft&255),Fe.view[vt](at*mt+Fe.byteOffset,ft,!0)},bt=function(gt,at){he(gt,at,{get:function(){return Ge(this,at)},set:function(ft){return _t(this,at,ft)},enumerable:!0})};Ee?C&&(Re=Et(function(gt,at,ft,Fe){return S(gt,Re,xt),ne(function(){return B(at)?Ne(at)?Fe!==void 0?new qe(at,j(ft,mt),Fe):ft!==void 0?new qe(at,j(ft,mt)):new qe(at):Ke(at)?Ue(Re,at):X.call(Re,at):new qe(T(at))}(),gt,Re)}),J&&J(Re,we),ee($(qe),function(gt){gt in Re||w(Re,gt,qe[gt])}),Re.prototype=Se):(Re=Et(function(gt,at,ft,Fe){S(gt,Re,xt);var Te=0,ut=0,le,$e,Qe;if(!B(at))Qe=T(at),$e=Qe*mt,le=new Z($e);else if(Ne(at)){le=at,ut=j(ft,mt);var Tt=at.byteLength;if(Fe===void 0){if(Tt%mt||($e=Tt-ut,$e<0))throw me(ze)}else if($e=x(Fe)*mt,$e+ut>Tt)throw me(ze);Qe=$e/mt}else return Ke(at)?Ue(Re,at):X.call(Re,at);for(_e(gt,{buffer:le,byteOffset:ut,byteLength:$e,length:Qe,view:new xe(le)});Te<Qe;)bt(gt,Te++)}),J&&J(Re,we),Se=Re.prototype=U(fe)),Se.constructor!==Re&&w(Se,"constructor",Re),Le&&w(Se,Le,xt),Ve[xt]=Re,E({global:!0,forced:Re!=qe,sham:!Ee},Ve),Me in Re||w(Re,Me,mt),Me in Se||w(Se,Me,mt),ie(xt)}):ce.exports=function(){}},Mn2j:function(ce,R,l){var E=l("Mi8B");E("Int8",function(m){return function(C,k,A){return m(this,C,k,A)}})},MoRW:function(ce,R,l){"use strict";var E=l("rePB"),m=l("jO45"),O=l("jN4g"),C=l("IMoZ"),k=l("VTBJ"),A=l("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},y=S,w=l("6VBw"),x=function(he,oe){return A.createElement(w.a,Object(k.a)(Object(k.a)({},he),{},{ref:oe,icon:y}))};x.displayName="WarningFilled";var T=A.forwardRef(x),j=l("TSYQ"),D=l.n(j),N=l("H84U"),F=function(){return A.createElement("svg",{width:"252",height:"294"},A.createElement("defs",null,A.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),A.createElement("g",{fill:"none",fillRule:"evenodd"},A.createElement("g",{transform:"translate(0 .012)"},A.createElement("mask",{fill:"#fff"}),A.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),A.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),A.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),A.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),A.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),A.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),A.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),A.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),A.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),A.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),A.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),A.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),A.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),A.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),A.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),A.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),A.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),A.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),A.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),A.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),A.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),A.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),A.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),A.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),A.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),A.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),A.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),A.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),A.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),A.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),A.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),A.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),A.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),A.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),A.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),A.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),A.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),A.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),A.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},B=F,U=function(){return A.createElement("svg",{width:"254",height:"294"},A.createElement("defs",null,A.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),A.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),A.createElement("g",{fill:"none",fillRule:"evenodd"},A.createElement("g",{transform:"translate(0 .067)"},A.createElement("mask",{fill:"#fff"}),A.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),A.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),A.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),A.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),A.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),A.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),A.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),A.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),A.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),A.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),A.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),A.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),A.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),A.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),A.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),A.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),A.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),A.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),A.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),A.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),A.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),A.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),A.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),A.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),A.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),A.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),A.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),A.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),A.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),A.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),A.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),A.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),A.createElement("mask",{fill:"#fff"}),A.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),A.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),A.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),A.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),A.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),A.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),A.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),A.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),A.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),A.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),A.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},J=U,$=function(){return A.createElement("svg",{width:"251",height:"294"},A.createElement("g",{fill:"none",fillRule:"evenodd"},A.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),A.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),A.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),A.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),A.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),A.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),A.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),A.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),A.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),A.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),A.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),A.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),A.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),A.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),A.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),A.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),A.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),A.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),A.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),A.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),A.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),A.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),A.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),A.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),A.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),A.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),A.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),A.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),A.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),A.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),A.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),A.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),A.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),A.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),A.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),A.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),A.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))},X=$,ee={success:m.a,error:O.a,info:C.a,warning:T},ie={"404":B,"500":J,"403":X},G=Object.keys(ie),Q=function(he){var oe=he.prefixCls,ge=he.icon,me=he.status,Z=D()("".concat(oe,"-icon"));if(G.includes("".concat(me))){var xe=ie[me];return A.createElement("div",{className:"".concat(Z," ").concat(oe,"-image")},A.createElement(xe,null))}var Ee=A.createElement(ee[me]);return ge===null||ge===!1?null:A.createElement("div",{className:Z},ge||Ee)},W=function(he){var oe=he.prefixCls,ge=he.extra;return ge?A.createElement("div",{className:"".concat(oe,"-extra")},ge):null},ne=function(he){var oe=he.prefixCls,ge=he.className,me=he.subTitle,Z=he.title,xe=he.style,Ee=he.children,Le=he.status,we=Le===void 0?"info":Le,fe=he.icon,pe=he.extra,Ke=A.useContext(N.b),Me=Ke.getPrefixCls,ze=Ke.direction,Ue=Me("result",oe),He=D()(Ue,"".concat(Ue,"-").concat(we),ge,Object(E.a)({},"".concat(Ue,"-rtl"),ze==="rtl"));return A.createElement("div",{className:He,style:xe},A.createElement(Q,{prefixCls:Ue,status:we,icon:fe}),A.createElement("div",{className:"".concat(Ue,"-title")},Z),me&&A.createElement("div",{className:"".concat(Ue,"-subtitle")},me),A.createElement(W,{prefixCls:Ue,extra:pe}),Ee&&A.createElement("div",{className:"".concat(Ue,"-content")},Ee))};ne.PRESENTED_IMAGE_403=ie["403"],ne.PRESENTED_IMAGE_404=ie["404"],ne.PRESENTED_IMAGE_500=ie["500"];var te=R.a=ne},MrPd:function(ce,R,l){var E=l("hypo"),m=l("ljhN"),O=Object.prototype,C=O.hasOwnProperty;function k(A,S,y){var w=A[S];(!(C.call(A,S)&&m(w,y))||y===void 0&&!(S in A))&&E(A,S,y)}ce.exports=k},MvSz:function(ce,R,l){var E=l("LXxW"),m=l("0ycA"),O=Object.prototype,C=O.propertyIsEnumerable,k=Object.getOwnPropertySymbols,A=k?function(S){return S==null?[]:(S=Object(S),E(k(S),function(y){return C.call(S,y)}))}:m;ce.exports=A},N0Yx:function(ce,R,l){"use strict";l.d(R,"b",function(){return A});var E=l("q1tI"),m=l.n(E),O=l("A0Fo"),C=Object(O.a)()?E.useLayoutEffect:E.useEffect,k=function(y,w){var x=E.useRef(!0);C(function(){return y(x.current)},w),C(function(){return x.current=!1,function(){x.current=!0}},[])},A=function(y,w){k(function(x){if(!x)return y()},w)};R.a=k},N2Kk:function(ce,R,l){"use strict";R.a={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},N5VM:function(ce,R,l){"use strict";var E=this&&this.__extends||function(){var j=function(N,F){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,U){B.__proto__=U}||function(B,U){for(var J in U)Object.prototype.hasOwnProperty.call(U,J)&&(B[J]=U[J])},j(N,F)};return function(D,N){if(typeof N!="function"&&N!==null)throw new TypeError("Class extends value "+String(N)+" is not a constructor or null");j(D,N);function F(){this.constructor=D}D.prototype=N===null?Object.create(N):(F.prototype=N.prototype,new F)}}(),m=this&&this.__assign||function(){return m=Object.assign||function(j){for(var D,N=1,F=arguments.length;N<F;N++){D=arguments[N];for(var B in D)Object.prototype.hasOwnProperty.call(D,B)&&(j[B]=D[B])}return j},m.apply(this,arguments)};Object.defineProperty(R,"__esModule",{value:!0});var O=l("tGEx"),C=(0,O.getAceInstance)(),k=l("bU/s"),A=l("++nV"),S=l("17x9"),y=l("q1tI"),w=l("XaGS"),x=l("yDJ3"),T=function(j){E(D,j);function D(N){var F=j.call(this,N)||this;return O.editorEvents.forEach(function(B){F[B]=F[B].bind(F)}),F.debounce=O.debounce,F}return D.prototype.isInShadow=function(N){for(var F=N&&N.parentNode;F;){if(F.toString()==="[object ShadowRoot]")return!0;F=F.parentNode}return!1},D.prototype.componentDidMount=function(){var N=this,F=this.props,B=F.className,U=F.onBeforeLoad,J=F.mode,$=F.focus,X=F.theme,ee=F.fontSize,ie=F.value,G=F.defaultValue,Q=F.cursorStart,W=F.showGutter,ne=F.wrapEnabled,te=F.showPrintMargin,_e=F.scrollMargin,he=_e===void 0?[0,0,0,0]:_e,oe=F.keyboardHandler,ge=F.onLoad,me=F.commands,Z=F.annotations,xe=F.markers,Ee=F.splits;this.editor=C.edit(this.refEditor),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.setTheme("ace/theme/"+X),U&&U(C);var Le=Object.keys(this.props.editorProps),we=new A.Split(this.editor.container,"ace/theme/"+X,Ee);this.editor.env.split=we,this.splitEditor=we.getEditor(0),this.split=we,this.editor.setShowPrintMargin(!1),this.editor.renderer.setShowGutter(!1);var fe=this.splitEditor.$options;this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),we.forEach(function(Ke,Me){for(var ze=0;ze<Le.length;ze++)Ke[Le[ze]]=N.props.editorProps[Le[ze]];var Ue=x(G,Me),He=x(ie,Me,"");Ke.session.setUndoManager(new C.UndoManager),Ke.setTheme("ace/theme/"+X),Ke.renderer.setScrollMargin(he[0],he[1],he[2],he[3]),Ke.getSession().setMode("ace/mode/"+J),Ke.setFontSize(ee),Ke.renderer.setShowGutter(W),Ke.getSession().setUseWrapMode(ne),Ke.setShowPrintMargin(te),Ke.on("focus",N.onFocus),Ke.on("blur",N.onBlur),Ke.on("input",N.onInput),Ke.on("copy",N.onCopy),Ke.on("paste",N.onPaste),Ke.on("change",N.onChange),Ke.getSession().selection.on("changeSelection",N.onSelectionChange),Ke.getSession().selection.on("changeCursor",N.onCursorChange),Ke.session.on("changeScrollTop",N.onScroll),Ke.setValue(Ue===void 0?He:Ue,Q);var Ne=x(Z,Me,[]),it=x(xe,Me,[]);Ke.getSession().setAnnotations(Ne),it&&it.length>0&&N.handleMarkers(it,Ke);for(var ze=0;ze<O.editorOptions.length;ze++){var Xe=O.editorOptions[ze];fe.hasOwnProperty(Xe)?Ke.setOption(Xe,N.props[Xe]):N.props[Xe]&&console.warn("ReaceAce: editor option "+Xe+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}N.handleOptions(N.props,Ke),Array.isArray(me)&&me.forEach(function(ht){typeof ht.exec=="string"?Ke.commands.bindKey(ht.bindKey,ht.exec):Ke.commands.addCommand(ht)}),oe&&Ke.setKeyboardHandler("ace/keyboard/"+oe)}),B&&(this.refEditor.className+=" "+B),$&&this.splitEditor.focus();var pe=this.editor.env.split;pe.setOrientation(this.props.orientation==="below"?pe.BELOW:pe.BESIDE),pe.resize(!0),ge&&ge(pe)},D.prototype.componentDidUpdate=function(N){var F=this,B=N,U=this.props,J=this.editor.env.split;if(U.splits!==B.splits&&J.setSplits(U.splits),U.orientation!==B.orientation&&J.setOrientation(U.orientation==="below"?J.BELOW:J.BESIDE),J.forEach(function(ie,G){U.mode!==B.mode&&ie.getSession().setMode("ace/mode/"+U.mode),U.keyboardHandler!==B.keyboardHandler&&(U.keyboardHandler?ie.setKeyboardHandler("ace/keyboard/"+U.keyboardHandler):ie.setKeyboardHandler(null)),U.fontSize!==B.fontSize&&ie.setFontSize(U.fontSize),U.wrapEnabled!==B.wrapEnabled&&ie.getSession().setUseWrapMode(U.wrapEnabled),U.showPrintMargin!==B.showPrintMargin&&ie.setShowPrintMargin(U.showPrintMargin),U.showGutter!==B.showGutter&&ie.renderer.setShowGutter(U.showGutter);for(var Q=0;Q<O.editorOptions.length;Q++){var W=O.editorOptions[Q];U[W]!==B[W]&&ie.setOption(W,U[W])}w(U.setOptions,B.setOptions)||F.handleOptions(U,ie);var ne=x(U.value,G,"");if(ie.getValue()!==ne){F.silent=!0;var te=ie.session.selection.toJSON();ie.setValue(ne,U.cursorStart),ie.session.selection.fromJSON(te),F.silent=!1}var _e=x(U.annotations,G,[]),he=x(B.annotations,G,[]);w(_e,he)||ie.getSession().setAnnotations(_e);var oe=x(U.markers,G,[]),ge=x(B.markers,G,[]);!w(oe,ge)&&Array.isArray(oe)&&F.handleMarkers(oe,ie)}),U.className!==B.className){var $=this.refEditor.className,X=$.trim().split(" "),ee=B.className.trim().split(" ");ee.forEach(function(ie){var G=X.indexOf(ie);X.splice(G,1)}),this.refEditor.className=" "+U.className+" "+X.join(" ")}U.theme!==B.theme&&J.setTheme("ace/theme/"+U.theme),U.focus&&!B.focus&&this.splitEditor.focus(),(U.height!==this.props.height||U.width!==this.props.width)&&this.editor.resize()},D.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},D.prototype.onChange=function(N){if(this.props.onChange&&!this.silent){var F=[];this.editor.env.split.forEach(function(B){F.push(B.getValue())}),this.props.onChange(F,N)}},D.prototype.onSelectionChange=function(N){if(this.props.onSelectionChange){var F=[];this.editor.env.split.forEach(function(B){F.push(B.getSelection())}),this.props.onSelectionChange(F,N)}},D.prototype.onCursorChange=function(N){if(this.props.onCursorChange){var F=[];this.editor.env.split.forEach(function(B){F.push(B.getSelection())}),this.props.onCursorChange(F,N)}},D.prototype.onFocus=function(N){this.props.onFocus&&this.props.onFocus(N)},D.prototype.onInput=function(N){this.props.onInput&&this.props.onInput(N)},D.prototype.onBlur=function(N){this.props.onBlur&&this.props.onBlur(N)},D.prototype.onCopy=function(N){this.props.onCopy&&this.props.onCopy(N)},D.prototype.onPaste=function(N){this.props.onPaste&&this.props.onPaste(N)},D.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},D.prototype.handleOptions=function(N,F){for(var B=Object.keys(N.setOptions),U=0;U<B.length;U++)F.setOption(B[U],N.setOptions[B[U]])},D.prototype.handleMarkers=function(N,F){var B=F.getSession().getMarkers(!0);for(var U in B)B.hasOwnProperty(U)&&F.getSession().removeMarker(B[U].id);B=F.getSession().getMarkers(!1);for(var U in B)B.hasOwnProperty(U)&&F.getSession().removeMarker(B[U].id);N.forEach(function(J){var $=J.startRow,X=J.startCol,ee=J.endRow,ie=J.endCol,G=J.className,Q=J.type,W=J.inFront,ne=W===void 0?!1:W,te=new k.Range($,X,ee,ie);F.getSession().addMarker(te,G,Q,ne)})},D.prototype.updateRef=function(N){this.refEditor=N},D.prototype.render=function(){var N=this.props,F=N.name,B=N.width,U=N.height,J=N.style,$=m({width:B,height:U},J);return y.createElement("div",{ref:this.updateRef,id:F,style:$})},D.propTypes={className:S.string,debounceChangePeriod:S.number,defaultValue:S.arrayOf(S.string),focus:S.bool,fontSize:S.oneOfType([S.number,S.string]),height:S.string,mode:S.string,name:S.string,onBlur:S.func,onChange:S.func,onCopy:S.func,onFocus:S.func,onInput:S.func,onLoad:S.func,onPaste:S.func,onScroll:S.func,orientation:S.string,showGutter:S.bool,splits:S.number,theme:S.string,value:S.arrayOf(S.string),width:S.string,onSelectionChange:S.func,onCursorChange:S.func,onBeforeLoad:S.func,minLines:S.number,maxLines:S.number,readOnly:S.bool,highlightActiveLine:S.bool,tabSize:S.number,showPrintMargin:S.bool,cursorStart:S.number,editorProps:S.object,setOptions:S.object,style:S.object,scrollMargin:S.array,annotations:S.array,markers:S.array,keyboardHandler:S.string,wrapEnabled:S.bool,enableBasicAutocompletion:S.oneOfType([S.bool,S.array]),enableLiveAutocompletion:S.oneOfType([S.bool,S.array]),commands:S.array},D.defaultProps={name:"ace-editor",focus:!1,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1},D}(y.Component);R.default=T},N5sM:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.HuePicker=void 0;var E=Object.assign||function(F){for(var B=1;B<arguments.length;B++){var U=arguments[B];for(var J in U)Object.prototype.hasOwnProperty.call(U,J)&&(F[J]=U[J])}return F},m=l("q1tI"),O=D(m),C=l("17x9"),k=D(C),A=l("/FUP"),S=D(A),y=l("QkVN"),w=D(y),x=l("UtML"),T=l("bGbU"),j=D(T);function D(F){return F&&F.__esModule?F:{default:F}}var N=R.HuePicker=function(B){var U=B.width,J=B.height,$=B.onChange,X=B.hsl,ee=B.direction,ie=B.pointer,G=B.styles,Q=G===void 0?{}:G,W=B.className,ne=W===void 0?"":W,te=(0,S.default)((0,w.default)({default:{picker:{position:"relative",width:U,height:J},hue:{radius:"2px"}}},Q)),_e=function(oe){return $({a:1,h:oe.h,l:.5,s:1})};return O.default.createElement("div",{style:te.picker,className:"hue-picker "+ne},O.default.createElement(x.Hue,E({},te.hue,{hsl:X,pointer:ie,onChange:_e,direction:ee})))};N.propTypes={styles:k.default.object},N.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:j.default,styles:{}},R.default=(0,x.ColorWrap)(N)},NEdc:function(ce,R,l){var E=l("MMxC"),m=l("u93E");E({target:"Math",stat:!0},{sign:m})},NHo6:function(ce,R,l){var E=l("MMxC"),m=l("29mP"),O=l("f1E4"),C=l("R/Zn");E({target:"Reflect",stat:!0,sham:!C},{preventExtensions:function(A){O(A);try{var S=m("Object","preventExtensions");return S&&S(A),!0}catch(y){return!1}}})},NId1:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").some,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("some",function(A){return m(O(this),A,arguments.length>1?arguments[1]:void 0)})},NJEC:function(ce,R,l){"use strict";var E=l("wx14"),m=l("ODXe"),O=l("IMoZ"),C=l("TSYQ"),k=l.n(C),A=l("pAT6"),S=l("rOxa"),y=l("q1tI"),w=l("H84U"),x=l("diRs"),T=l("0n0R"),j=l("2/Rp"),D=l("zvFY"),N=l("lkze"),F=l("YMnH"),B=l("ZvpZ"),U=l("bogI"),J=function(Q){var W=Q.prefixCls,ne=Q.okButtonProps,te=Q.cancelButtonProps,_e=Q.title,he=Q.cancelText,oe=Q.okText,ge=Q.okType,me=Q.icon,Z=Q.showCancel,xe=Z===void 0?!0:Z,Ee=Q.close,Le=Q.onConfirm,we=Q.onCancel,fe=y.useContext(w.b),pe=fe.getPrefixCls;return y.createElement(F.a,{componentName:"Popconfirm",defaultLocale:B.a.Popconfirm},function(Ke){return y.createElement("div",{className:"".concat(W,"-inner-content")},y.createElement("div",{className:"".concat(W,"-message")},me&&y.createElement("span",{className:"".concat(W,"-message-icon")},me),y.createElement("div",{className:"".concat(W,"-message-title")},Object(U.a)(_e))),y.createElement("div",{className:"".concat(W,"-buttons")},xe&&y.createElement(j.a,Object(E.a)({onClick:we,size:"small"},te),he!=null?he:Ke.cancelText),y.createElement(N.a,{buttonProps:Object(E.a)(Object(E.a)({size:"small"},Object(D.a)(ge)),ne),actionFn:Le,close:Ee,prefixCls:pe("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},oe!=null?oe:Ke.okText)))})},$=void 0,X=function(G,Q){var W={};for(var ne in G)Object.prototype.hasOwnProperty.call(G,ne)&&Q.indexOf(ne)<0&&(W[ne]=G[ne]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ne=Object.getOwnPropertySymbols(G);te<ne.length;te++)Q.indexOf(ne[te])<0&&Object.prototype.propertyIsEnumerable.call(G,ne[te])&&(W[ne[te]]=G[ne[te]]);return W},ee=y.forwardRef(function(G,Q){var W=G.prefixCls,ne=G.placement,te=ne===void 0?"top":ne,_e=G.trigger,he=_e===void 0?"click":_e,oe=G.okType,ge=oe===void 0?"primary":oe,me=G.icon,Z=me===void 0?y.createElement(O.a,null):me,xe=G.children,Ee=G.overlayClassName,Le=G.onOpenChange,we=G.onVisibleChange,fe=X(G,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),pe=y.useContext(w.b),Ke=pe.getPrefixCls,Me=Object(A.a)(!1,{value:G.open!==void 0?G.open:G.visible,defaultValue:G.defaultOpen!==void 0?G.defaultOpen:G.defaultVisible}),ze=Object(m.a)(Me,2),Ue=ze[0],He=ze[1],Ne=function(vt,qe){He(vt,!0),we==null||we(vt,qe),Le==null||Le(vt,qe)},it=function(vt){Ne(!1,vt)},Xe=function(vt){var qe;return(qe=G.onConfirm)===null||qe===void 0?void 0:qe.call($,vt)},ht=function(vt){var qe;Ne(!1,vt),(qe=G.onCancel)===null||qe===void 0||qe.call($,vt)},lt=function(vt){vt.keyCode===S.a.ESC&&Ue&&Ne(!1,vt)},Et=function(vt){var qe=G.disabled,Re=qe===void 0?!1:qe;Re||Ne(vt)},tt=Ke("popover",W),mt=Ke("popconfirm",W),xt=k()(mt,Ee);return y.createElement(x.a,Object(E.a)({},fe,{trigger:he,prefixCls:tt,placement:te,onOpenChange:Et,open:Ue,ref:Q,overlayClassName:xt,_overlay:y.createElement(J,Object(E.a)({okType:ge,icon:Z},G,{prefixCls:tt,close:it,onConfirm:Xe,onCancel:ht}))}),Object(T.a)(xe,{onKeyDown:function(vt){var qe,Re;y.isValidElement(xe)&&((Re=xe==null?void 0:(qe=xe.props).onKeyDown)===null||Re===void 0||Re.call(qe,vt)),lt(vt)}}))}),ie=R.a=ee},NKxu:function(ce,R,l){var E=l("lSCD"),m=l("E2jh"),O=l("GoyQ"),C=l("3Fdi"),k=/[\\^$.*+?()[\]{}|]/g,A=/^\[object .+?Constructor\]$/,S=Function.prototype,y=Object.prototype,w=S.toString,x=y.hasOwnProperty,T=RegExp("^"+w.call(x).replace(k,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function j(D){if(!O(D)||m(D))return!1;var N=E(D)?T:A;return N.test(C(D))}ce.exports=j},NMFW:function(ce,R,l){var E=l("ukPv"),m=l("lz10"),O=l("jtLI"),C=l("TMUv"),k=l("J3Yn"),A=l("1aI8"),S=A.get,y=A.enforce,w=String(String).split("String");(ce.exports=function(x,T,j,D){var N=D?!!D.unsafe:!1,F=D?!!D.enumerable:!1,B=D?!!D.noTargetGet:!1;if(typeof j=="function"&&(typeof T=="string"&&!O(j,"name")&&m(j,"name",T),y(j).source=w.join(typeof T=="string"?T:"")),x===E){F?x[T]=j:C(T,j);return}else N?!B&&x[T]&&(F=!0):delete x[T];F?x[T]=j:m(x,T,j)})(Function.prototype,"toString",function(){return typeof this=="function"&&S(this).source||k(this)})},NMu4:function(ce,R,l){"use strict";var E=l("MMxC");E({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},NQQk:function(ce,R,l){var E=l("MVys");ce.exports=function(m){return E(function(){var O=""[m]('"');return O!==O.toLowerCase()||O.split('"').length>3})}},"NQz/":function(ce,R,l){"use strict";var E=l("FVwB").exportTypedArrayMethod,m=l("MVys"),O=l("ukPv"),C=O.Uint8Array,k=C&&C.prototype||{},A=[].toString,S=[].join;m(function(){A.call({})})&&(A=function(){return S.call(this)});var y=k.toString!=A;E("toString",A,y)},NUBc:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("JaaR"),C=l("zs7G"),k=l("5bA4"),A=l("UESt"),S=l("TSYQ"),y=l.n(S),w=l("VTBJ"),x=l("1OyB"),T=l("vuIU"),j=l("Ji7U"),D=l("LK+K"),N=l("q1tI"),F=l.n(N),B=function(Ke){var Me,ze="".concat(Ke.rootPrefixCls,"-item"),Ue=y()(ze,"".concat(ze,"-").concat(Ke.page),(Me={},Object(E.a)(Me,"".concat(ze,"-active"),Ke.active),Object(E.a)(Me,"".concat(ze,"-disabled"),!Ke.page),Object(E.a)(Me,Ke.className,!!Ke.className),Me)),He=function(){Ke.onClick(Ke.page)},Ne=function(Xe){Ke.onKeyPress(Xe,Ke.onClick,Ke.page)};return F.a.createElement("li",{title:Ke.showTitle?Ke.page:null,className:Ue,onClick:He,onKeyPress:Ne,tabIndex:"0"},Ke.itemRender(Ke.page,"page",F.a.createElement("a",{rel:"nofollow"},Ke.page)))},U=B,J={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},$=function(pe){Object(j.a)(Me,pe);var Ke=Object(D.a)(Me);function Me(){var ze;Object(x.a)(this,Me);for(var Ue=arguments.length,He=new Array(Ue),Ne=0;Ne<Ue;Ne++)He[Ne]=arguments[Ne];return ze=Ke.call.apply(Ke,[this].concat(He)),ze.state={goInputText:""},ze.buildOptionText=function(it){return"".concat(it," ").concat(ze.props.locale.items_per_page)},ze.changeSize=function(it){ze.props.changeSize(Number(it))},ze.handleChange=function(it){ze.setState({goInputText:it.target.value})},ze.handleBlur=function(it){var Xe=ze.props,ht=Xe.goButton,lt=Xe.quickGo,Et=Xe.rootPrefixCls,tt=ze.state.goInputText;ht||tt===""||(ze.setState({goInputText:""}),!(it.relatedTarget&&(it.relatedTarget.className.indexOf("".concat(Et,"-item-link"))>=0||it.relatedTarget.className.indexOf("".concat(Et,"-item"))>=0))&&lt(ze.getValidValue()))},ze.go=function(it){var Xe=ze.state.goInputText;Xe!==""&&(it.keyCode===J.ENTER||it.type==="click")&&(ze.setState({goInputText:""}),ze.props.quickGo(ze.getValidValue()))},ze}return Object(T.a)(Me,[{key:"getValidValue",value:function(){var Ue=this.state.goInputText;return!Ue||isNaN(Ue)?void 0:Number(Ue)}},{key:"getPageSizeOptions",value:function(){var Ue=this.props,He=Ue.pageSize,Ne=Ue.pageSizeOptions;return Ne.some(function(it){return it.toString()===He.toString()})?Ne:Ne.concat([He.toString()]).sort(function(it,Xe){var ht=isNaN(Number(it))?0:Number(it),lt=isNaN(Number(Xe))?0:Number(Xe);return ht-lt})}},{key:"render",value:function(){var Ue=this,He=this.props,Ne=He.pageSize,it=He.locale,Xe=He.rootPrefixCls,ht=He.changeSize,lt=He.quickGo,Et=He.goButton,tt=He.selectComponentClass,mt=He.buildOptionText,xt=He.selectPrefixCls,Xt=He.disabled,vt=this.state.goInputText,qe="".concat(Xe,"-options"),Re=tt,Se=null,Ve=null,Ge=null;if(!ht&&!lt)return null;var _t=this.getPageSizeOptions();if(ht&&Re){var bt=_t.map(function(gt,at){return F.a.createElement(Re.Option,{key:at,value:gt.toString()},(mt||Ue.buildOptionText)(gt))});Se=F.a.createElement(Re,{disabled:Xt,prefixCls:xt,showSearch:!1,className:"".concat(qe,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(Ne||_t[0]).toString(),onChange:this.changeSize,getPopupContainer:function(at){return at.parentNode},"aria-label":it.page_size,defaultOpen:!1},bt)}return lt&&(Et&&(Ge=typeof Et=="boolean"?F.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Xt,className:"".concat(qe,"-quick-jumper-button")},it.jump_to_confirm):F.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Et)),Ve=F.a.createElement("div",{className:"".concat(qe,"-quick-jumper")},it.jump_to,F.a.createElement("input",{disabled:Xt,type:"text",value:vt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":it.page}),it.page,Ge)),F.a.createElement("li",{className:"".concat(qe)},Se,Ve)}}]),Me}(F.a.Component);$.defaultProps={pageSizeOptions:["10","20","50","100"]};var X=$,ee=l("N2Kk");function ie(){}function G(pe){var Ke=Number(pe);return typeof Ke=="number"&&!isNaN(Ke)&&isFinite(Ke)&&Math.floor(Ke)===Ke}function Q(pe,Ke,Me){return Me}function W(pe,Ke,Me){var ze=typeof pe=="undefined"?Ke.pageSize:pe;return Math.floor((Me.total-1)/ze)+1}var ne=function(pe){Object(j.a)(Me,pe);var Ke=Object(D.a)(Me);function Me(ze){var Ue;Object(x.a)(this,Me),Ue=Ke.call(this,ze),Ue.getJumpPrevPage=function(){return Math.max(1,Ue.state.current-(Ue.props.showLessItems?3:5))},Ue.getJumpNextPage=function(){return Math.min(W(void 0,Ue.state,Ue.props),Ue.state.current+(Ue.props.showLessItems?3:5))},Ue.getItemIcon=function(ht,lt){var Et=Ue.props.prefixCls,tt=ht||F.a.createElement("button",{type:"button","aria-label":lt,className:"".concat(Et,"-item-link")});return typeof ht=="function"&&(tt=F.a.createElement(ht,Object(w.a)({},Ue.props))),tt},Ue.savePaginationNode=function(ht){Ue.paginationNode=ht},Ue.isValid=function(ht){var lt=Ue.props.total;return G(ht)&&ht!==Ue.state.current&&G(lt)&&lt>0},Ue.shouldDisplayQuickJumper=function(){var ht=Ue.props,lt=ht.showQuickJumper,Et=ht.total,tt=Ue.state.pageSize;return Et<=tt?!1:lt},Ue.handleKeyDown=function(ht){(ht.keyCode===J.ARROW_UP||ht.keyCode===J.ARROW_DOWN)&&ht.preventDefault()},Ue.handleKeyUp=function(ht){var lt=Ue.getValidValue(ht),Et=Ue.state.currentInputValue;lt!==Et&&Ue.setState({currentInputValue:lt}),ht.keyCode===J.ENTER?Ue.handleChange(lt):ht.keyCode===J.ARROW_UP?Ue.handleChange(lt-1):ht.keyCode===J.ARROW_DOWN&&Ue.handleChange(lt+1)},Ue.handleBlur=function(ht){var lt=Ue.getValidValue(ht);Ue.handleChange(lt)},Ue.changePageSize=function(ht){var lt=Ue.state.current,Et=W(ht,Ue.state,Ue.props);lt=lt>Et?Et:lt,Et===0&&(lt=Ue.state.current),typeof ht=="number"&&("pageSize"in Ue.props||Ue.setState({pageSize:ht}),"current"in Ue.props||Ue.setState({current:lt,currentInputValue:lt})),Ue.props.onShowSizeChange(lt,ht),"onChange"in Ue.props&&Ue.props.onChange&&Ue.props.onChange(lt,ht)},Ue.handleChange=function(ht){var lt=Ue.props,Et=lt.disabled,tt=lt.onChange,mt=Ue.state,xt=mt.pageSize,Xt=mt.current,vt=mt.currentInputValue;if(Ue.isValid(ht)&&!Et){var qe=W(void 0,Ue.state,Ue.props),Re=ht;return ht>qe?Re=qe:ht<1&&(Re=1),"current"in Ue.props||Ue.setState({current:Re}),Re!==vt&&Ue.setState({currentInputValue:Re}),tt(Re,xt),Re}return Xt},Ue.prev=function(){Ue.hasPrev()&&Ue.handleChange(Ue.state.current-1)},Ue.next=function(){Ue.hasNext()&&Ue.handleChange(Ue.state.current+1)},Ue.jumpPrev=function(){Ue.handleChange(Ue.getJumpPrevPage())},Ue.jumpNext=function(){Ue.handleChange(Ue.getJumpNextPage())},Ue.hasPrev=function(){return Ue.state.current>1},Ue.hasNext=function(){return Ue.state.current<W(void 0,Ue.state,Ue.props)},Ue.runIfEnter=function(ht,lt){if(ht.key==="Enter"||ht.charCode===13){for(var Et=arguments.length,tt=new Array(Et>2?Et-2:0),mt=2;mt<Et;mt++)tt[mt-2]=arguments[mt];lt.apply(void 0,tt)}},Ue.runIfEnterPrev=function(ht){Ue.runIfEnter(ht,Ue.prev)},Ue.runIfEnterNext=function(ht){Ue.runIfEnter(ht,Ue.next)},Ue.runIfEnterJumpPrev=function(ht){Ue.runIfEnter(ht,Ue.jumpPrev)},Ue.runIfEnterJumpNext=function(ht){Ue.runIfEnter(ht,Ue.jumpNext)},Ue.handleGoTO=function(ht){(ht.keyCode===J.ENTER||ht.type==="click")&&Ue.handleChange(Ue.state.currentInputValue)};var He=ze.onChange!==ie,Ne="current"in ze;Ne&&!He&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var it=ze.defaultCurrent;"current"in ze&&(it=ze.current);var Xe=ze.defaultPageSize;return"pageSize"in ze&&(Xe=ze.pageSize),it=Math.min(it,W(Xe,void 0,ze)),Ue.state={current:it,currentInputValue:it,pageSize:Xe},Ue}return Object(T.a)(Me,[{key:"componentDidUpdate",value:function(Ue,He){var Ne=this.props.prefixCls;if(He.current!==this.state.current&&this.paginationNode){var it=this.paginationNode.querySelector(".".concat(Ne,"-item-").concat(He.current));it&&document.activeElement===it&&it.blur()}}},{key:"getValidValue",value:function(Ue){var He=Ue.target.value,Ne=W(void 0,this.state,this.props),it=this.state.currentInputValue,Xe;return He===""?Xe=He:isNaN(Number(He))?Xe=it:He>=Ne?Xe=Ne:Xe=Number(He),Xe}},{key:"getShowSizeChanger",value:function(){var Ue=this.props,He=Ue.showSizeChanger,Ne=Ue.total,it=Ue.totalBoundaryShowSizeChanger;return typeof He!="undefined"?He:Ne>it}},{key:"renderPrev",value:function(Ue){var He=this.props,Ne=He.prevIcon,it=He.itemRender,Xe=it(Ue,"prev",this.getItemIcon(Ne,"prev page")),ht=!this.hasPrev();return Object(N.isValidElement)(Xe)?Object(N.cloneElement)(Xe,{disabled:ht}):Xe}},{key:"renderNext",value:function(Ue){var He=this.props,Ne=He.nextIcon,it=He.itemRender,Xe=it(Ue,"next",this.getItemIcon(Ne,"next page")),ht=!this.hasNext();return Object(N.isValidElement)(Xe)?Object(N.cloneElement)(Xe,{disabled:ht}):Xe}},{key:"render",value:function(){var Ue=this,He=this.props,Ne=He.prefixCls,it=He.className,Xe=He.style,ht=He.disabled,lt=He.hideOnSinglePage,Et=He.total,tt=He.locale,mt=He.showQuickJumper,xt=He.showLessItems,Xt=He.showTitle,vt=He.showTotal,qe=He.simple,Re=He.itemRender,Se=He.showPrevNextJumpers,Ve=He.jumpPrevIcon,Ge=He.jumpNextIcon,_t=He.selectComponentClass,bt=He.selectPrefixCls,gt=He.pageSizeOptions,at=this.state,ft=at.current,Fe=at.pageSize,Te=at.currentInputValue;if(lt===!0&&Et<=Fe)return null;var ut=W(void 0,this.state,this.props),le=[],$e=null,Qe=null,Tt=null,Ot=null,Ut=null,At=mt&&mt.goButton,Pt=xt?1:2,Dt=ft-1>0?ft-1:0,Qt=ft+1<ut?ft+1:ut,cn=Object.keys(this.props).reduce(function(na,jn){return(jn.substr(0,5)==="data-"||jn.substr(0,5)==="aria-"||jn==="role")&&(na[jn]=Ue.props[jn]),na},{}),$n=vt&&F.a.createElement("li",{className:"".concat(Ne,"-total-text")},vt(Et,[Et===0?0:(ft-1)*Fe+1,ft*Fe>Et?Et:ft*Fe]));if(qe)return At&&(typeof At=="boolean"?Ut=F.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tt.jump_to_confirm):Ut=F.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},At),Ut=F.a.createElement("li",{title:Xt?"".concat(tt.jump_to).concat(ft,"/").concat(ut):null,className:"".concat(Ne,"-simple-pager")},Ut)),F.a.createElement("ul",Object(m.a)({className:y()(Ne,"".concat(Ne,"-simple"),Object(E.a)({},"".concat(Ne,"-disabled"),ht),it),style:Xe,ref:this.savePaginationNode},cn),$n,F.a.createElement("li",{title:Xt?tt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:y()("".concat(Ne,"-prev"),Object(E.a)({},"".concat(Ne,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Dt)),F.a.createElement("li",{title:Xt?"".concat(ft,"/").concat(ut):null,className:"".concat(Ne,"-simple-pager")},F.a.createElement("input",{type:"text",value:Te,disabled:ht,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),F.a.createElement("span",{className:"".concat(Ne,"-slash")},"/"),ut),F.a.createElement("li",{title:Xt?tt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:y()("".concat(Ne,"-next"),Object(E.a)({},"".concat(Ne,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Qt)),Ut);if(ut<=3+Pt*2){var hn={locale:tt,rootPrefixCls:Ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Xt,itemRender:Re};ut||le.push(F.a.createElement(U,Object(m.a)({},hn,{key:"noPager",page:1,className:"".concat(Ne,"-item-disabled")})));for(var _n=1;_n<=ut;_n+=1){var bn=ft===_n;le.push(F.a.createElement(U,Object(m.a)({},hn,{key:_n,page:_n,active:bn})))}}else{var Bn=xt?tt.prev_3:tt.prev_5,Tn=xt?tt.next_3:tt.next_5;Se&&($e=F.a.createElement("li",{title:Xt?Bn:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:y()("".concat(Ne,"-jump-prev"),Object(E.a)({},"".concat(Ne,"-jump-prev-custom-icon"),!!Ve))},Re(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ve,"prev page"))),Qe=F.a.createElement("li",{title:Xt?Tn:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:y()("".concat(Ne,"-jump-next"),Object(E.a)({},"".concat(Ne,"-jump-next-custom-icon"),!!Ge))},Re(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ge,"next page")))),Ot=F.a.createElement(U,{locale:tt,last:!0,rootPrefixCls:Ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ut,page:ut,active:!1,showTitle:Xt,itemRender:Re}),Tt=F.a.createElement(U,{locale:tt,rootPrefixCls:Ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Xt,itemRender:Re});var Tr=Math.max(1,ft-Pt),Sr=Math.min(ft+Pt,ut);ft-1<=Pt&&(Sr=1+Pt*2),ut-ft<=Pt&&(Tr=ut-Pt*2);for(var Wr=Tr;Wr<=Sr;Wr+=1){var br=ft===Wr;le.push(F.a.createElement(U,{locale:tt,rootPrefixCls:Ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Wr,page:Wr,active:br,showTitle:Xt,itemRender:Re}))}ft-1>=Pt*2&&ft!==1+2&&(le[0]=Object(N.cloneElement)(le[0],{className:"".concat(Ne,"-item-after-jump-prev")}),le.unshift($e)),ut-ft>=Pt*2&&ft!==ut-2&&(le[le.length-1]=Object(N.cloneElement)(le[le.length-1],{className:"".concat(Ne,"-item-before-jump-next")}),le.push(Qe)),Tr!==1&&le.unshift(Tt),Sr!==ut&&le.push(Ot)}var Wn=!this.hasPrev()||!ut,gr=!this.hasNext()||!ut;return F.a.createElement("ul",Object(m.a)({className:y()(Ne,it,Object(E.a)({},"".concat(Ne,"-disabled"),ht)),style:Xe,ref:this.savePaginationNode},cn),$n,F.a.createElement("li",{title:Xt?tt.prev_page:null,onClick:this.prev,tabIndex:Wn?null:0,onKeyPress:this.runIfEnterPrev,className:y()("".concat(Ne,"-prev"),Object(E.a)({},"".concat(Ne,"-disabled"),Wn)),"aria-disabled":Wn},this.renderPrev(Dt)),le,F.a.createElement("li",{title:Xt?tt.next_page:null,onClick:this.next,tabIndex:gr?null:0,onKeyPress:this.runIfEnterNext,className:y()("".concat(Ne,"-next"),Object(E.a)({},"".concat(Ne,"-disabled"),gr)),"aria-disabled":gr},this.renderNext(Qt)),F.a.createElement(X,{disabled:ht,locale:tt,rootPrefixCls:Ne,selectComponentClass:_t,selectPrefixCls:bt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ft,pageSize:Fe,pageSizeOptions:gt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:At}))}}],[{key:"getDerivedStateFromProps",value:function(Ue,He){var Ne={};if("current"in Ue&&(Ne.current=Ue.current,Ue.current!==He.current&&(Ne.currentInputValue=Ne.current)),"pageSize"in Ue&&Ue.pageSize!==He.pageSize){var it=He.current,Xe=W(Ue.pageSize,He,Ue);it=it>Xe?Xe:it,"current"in Ue||(Ne.current=it,Ne.currentInputValue=it),Ne.pageSize=Ue.pageSize}return Ne}}]),Me}(F.a.Component);ne.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ie,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ie,locale:ee.a,style:{},itemRender:Q,totalBoundaryShowSizeChanger:50};var te=ne,_e=l("H4fg"),he=l("H84U"),oe=l("5OYt"),ge=l("YMnH"),me=l("2fM7"),Z=function(Ke){return N.createElement(me.a,Object(m.a)({},Ke,{size:"small"}))},xe=function(Ke){return N.createElement(me.a,Object(m.a)({},Ke,{size:"middle"}))};Z.Option=me.a.Option,xe.Option=me.a.Option;var Ee=function(pe,Ke){var Me={};for(var ze in pe)Object.prototype.hasOwnProperty.call(pe,ze)&&Ke.indexOf(ze)<0&&(Me[ze]=pe[ze]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,ze=Object.getOwnPropertySymbols(pe);Ue<ze.length;Ue++)Ke.indexOf(ze[Ue])<0&&Object.prototype.propertyIsEnumerable.call(pe,ze[Ue])&&(Me[ze[Ue]]=pe[ze[Ue]]);return Me},Le=function(Ke){var Me=Ke.prefixCls,ze=Ke.selectPrefixCls,Ue=Ke.className,He=Ke.size,Ne=Ke.locale,it=Ke.selectComponentClass,Xe=Ke.responsive,ht=Ke.showSizeChanger,lt=Ee(Ke,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive","showSizeChanger"]),Et=Object(oe.a)(Xe),tt=Et.xs,mt=N.useContext(he.b),xt=mt.getPrefixCls,Xt=mt.direction,vt=mt.pagination,qe=vt===void 0?{}:vt,Re=xt("pagination",Me),Se=ht!=null?ht:qe.showSizeChanger,Ve=function(){var _t=N.createElement("span",{className:"".concat(Re,"-item-ellipsis")},"\u2022\u2022\u2022"),bt=N.createElement("button",{className:"".concat(Re,"-item-link"),type:"button",tabIndex:-1},N.createElement(k.a,null)),gt=N.createElement("button",{className:"".concat(Re,"-item-link"),type:"button",tabIndex:-1},N.createElement(A.a,null)),at=N.createElement("a",{className:"".concat(Re,"-item-link")},N.createElement("div",{className:"".concat(Re,"-item-container")},N.createElement(O.a,{className:"".concat(Re,"-item-link-icon")}),_t)),ft=N.createElement("a",{className:"".concat(Re,"-item-link")},N.createElement("div",{className:"".concat(Re,"-item-container")},N.createElement(C.a,{className:"".concat(Re,"-item-link-icon")}),_t));if(Xt==="rtl"){var Fe=[gt,bt];bt=Fe[0],gt=Fe[1];var Te=[ft,at];at=Te[0],ft=Te[1]}return{prevIcon:bt,nextIcon:gt,jumpPrevIcon:at,jumpNextIcon:ft}};return N.createElement(ge.a,{componentName:"Pagination",defaultLocale:_e.a},function(Ge){var _t,bt=Object(m.a)(Object(m.a)({},Ge),Ne),gt=He==="small"||!!(tt&&!He&&Xe),at=xt("select",ze),ft=y()((_t={},Object(E.a)(_t,"".concat(Re,"-mini"),gt),Object(E.a)(_t,"".concat(Re,"-rtl"),Xt==="rtl"),_t),Ue);return N.createElement(te,Object(m.a)({},Ve(),lt,{prefixCls:Re,selectPrefixCls:at,className:ft,selectComponentClass:it||(gt?Z:xe),locale:bt,showSizeChanger:Se}))})},we=Le,fe=R.a=we},NWM5:function(ce,R,l){"use strict";l.d(R,"a",function(){return S});var E=l("wx14"),m=l("7ixt"),O={adjustX:1,adjustY:1},C={adjustX:0,adjustY:0},k=[0,0];function A(y){return typeof y=="boolean"?y?O:C:Object(E.a)(Object(E.a)({},C),y)}function S(y){var w=y.arrowWidth,x=w===void 0?4:w,T=y.horizontalArrowShift,j=T===void 0?16:T,D=y.verticalArrowShift,N=D===void 0?8:D,F=y.autoAdjustOverflow,B=y.arrowPointAtCenter,U={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(j+x),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(N+x)]},topRight:{points:["br","tc"],offset:[j+x,-4]},rightTop:{points:["tl","cr"],offset:[4,-(N+x)]},bottomRight:{points:["tr","bc"],offset:[j+x,4]},rightBottom:{points:["bl","cr"],offset:[4,N+x]},bottomLeft:{points:["tl","bc"],offset:[-(j+x),4]},leftBottom:{points:["br","cl"],offset:[-4,N+x]}};return Object.keys(U).forEach(function(J){U[J]=B?Object(E.a)(Object(E.a)({},U[J]),{overflow:A(F),targetOffset:k}):Object(E.a)(Object(E.a)({},m.a[J]),{overflow:A(F)}),U[J].ignoreShake=!0}),U}},NYJX:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("zv1X").filter,O=l("jMDO"),C=l("kGMc"),k=O("filter"),A=C("filter");E({target:"Array",proto:!0,forced:!k||!A},{filter:function(y){return m(this,y,arguments.length>1?arguments[1]:void 0)}})},NcLc:function(ce,R,l){"use strict";var E=l("k/J9"),m=l("M8HR"),O=RegExp.prototype.exec,C=String.prototype.replace,k=O,A=function(){var x=/a/,T=/b*/g;return O.call(x,"a"),O.call(T,"a"),x.lastIndex!==0||T.lastIndex!==0}(),S=m.UNSUPPORTED_Y||m.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,w=A||y||S;w&&(k=function(T){var j=this,D,N,F,B,U=S&&j.sticky,J=E.call(j),$=j.source,X=0,ee=T;return U&&(J=J.replace("y",""),J.indexOf("g")===-1&&(J+="g"),ee=String(T).slice(j.lastIndex),j.lastIndex>0&&(!j.multiline||j.multiline&&T[j.lastIndex-1]!==`
`)&&($="(?: "+$+")",ee=" "+ee,X++),N=new RegExp("^(?:"+$+")",J)),y&&(N=new RegExp("^"+$+"$(?!\\s)",J)),A&&(D=j.lastIndex),F=O.call(U?N:j,ee),U?F?(F.input=F.input.slice(X),F[0]=F[0].slice(X),F.index=j.lastIndex,j.lastIndex+=F[0].length):j.lastIndex=0:A&&F&&(j.lastIndex=j.global?F.index+F[0].length:D),y&&F&&F.length>1&&C.call(F[0],N,function(){for(B=1;B<arguments.length-2;B++)arguments[B]===void 0&&(F[B]=void 0)}),F}),ce.exports=k},NgHe:function(ce,R,l){"use strict";var E=l("DYRE"),m=l("zeV3"),O=l("nKUr"),C=l.n(O),k=function(S){var y=S.title,w=S.subTitle;return Object(O.jsxs)(m.b,{direction:"vertical",size:2,children:[Object(O.jsx)("span",{children:y}),w&&Object(O.jsx)("span",{style:{fontSize:"12px",color:"#6a6a6a"},children:w})]})};R.a=k},NgHg:function(ce,R,l){"use strict";var E=/-(.)/g;function m(O){return O.replace(E,function(C,k){return k.toUpperCase()})}ce.exports=m},Npjl:function(ce,R){function l(E,m){return E==null?void 0:E[m]}ce.exports=l},Nr3r:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("nKUr"),O=l("Znn+"),C=l("ZTPi"),k=l("rePB"),A=l("U8pU"),S=l("ODXe"),y=l("GNNt"),w=l("wEI+"),x=l("Ff2n"),T=l("1GLa"),j=l("TLLU"),D=l("UESt"),N=l("YSkC"),F=l("TSYQ"),B=l.n(F),U=l("BGR+"),J=l("q1tI"),$=l.n(J),X=l("TOwV");function ee(le){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qe=[];return $.a.Children.forEach(le,function(Tt){Tt==null&&!$e.keepEmpty||(Array.isArray(Tt)?Qe=Qe.concat(ee(Tt)):Object(X.isFragment)(Tt)&&Tt.props?Qe=Qe.concat(ee(Tt.props.children,$e)):Qe.push(Tt))}),Qe}var ie={},G=[],Q=function($e){G.push($e)};function W(le,$e){if(!1)var Qe}function ne(le,$e){if(!1)var Qe}function te(){ie={}}function _e(le,$e,Qe){!$e&&!ie[Qe]&&(le(!1,Qe),ie[Qe]=!0)}function he(le,$e){_e(W,le,$e)}function oe(le,$e){_e(ne,le,$e)}he.preMessage=Q,he.resetWarned=te,he.noteOnce=oe;var ge=he,me=l("VzZb"),Z=["tab","children"],xe=["key","tab","tabKey","disabled","destroyInactiveTabPane","children","className","style","cardProps"];function Ee(le){return le.filter(function($e){return $e})}function Le(le,$e,Qe){if(le)return le.map(function(Ot){return Object(E.a)(Object(E.a)({},Ot),{},{children:Object(m.jsx)(bt,Object(E.a)(Object(E.a)({},Qe==null?void 0:Qe.cardProps),{},{children:Ot.children}))})});oe(!Qe,"Tabs.TabPane is deprecated. Please use `items` directly.");var Tt=ee($e).map(function(Ot){if($.a.isValidElement(Ot)){var Ut=Ot.key,At=Ot.props,Pt=At||{},Dt=Pt.tab,Qt=Pt.children,cn=Object(x.a)(Pt,Z),$n=Object(E.a)(Object(E.a)({key:String(Ut)},cn),{},{children:Object(m.jsx)(bt,Object(E.a)(Object(E.a)({},Qe==null?void 0:Qe.cardProps),{},{children:Qt})),label:Dt});return $n}return null});return Ee(Tt)}var we=function($e){var Qe=$e.key,Tt=$e.tab,Ot=$e.tabKey,Ut=$e.disabled,At=$e.destroyInactiveTabPane,Pt=$e.children,Dt=$e.className,Qt=$e.style,cn=$e.cardProps,$n=Object(x.a)($e,xe),hn=Object(J.useContext)(w.a.ConfigContext),_n=hn.getPrefixCls,bn=_n("pro-card-tabpane"),Bn=B()(bn,Dt);return Object(m.jsx)(C.a.TabPane,Object(E.a)(Object(E.a)({tabKey:Ot,tab:Tt,className:Bn,style:Qt,disabled:Ut,destroyInactiveTabPane:At},$n),{},{children:Object(m.jsx)(bt,Object(E.a)(Object(E.a)({},cn),{},{children:Pt}))}),Qe)},fe=we;function pe(le){var $e=J.useRef();$e.current=le;var Qe=J.useCallback(function(){for(var Tt,Ot=arguments.length,Ut=new Array(Ot),At=0;At<Ot;At++)Ut[At]=arguments[At];return(Tt=$e.current)===null||Tt===void 0?void 0:Tt.call.apply(Tt,[$e].concat(Ut))},[]);return Qe}function Ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Me=Ke()?J.useLayoutEffect:J.useEffect,ze=function($e,Qe){var Tt=J.useRef(!0);Me(function(){return $e(Tt.current)},Qe),Me(function(){return Tt.current=!1,function(){Tt.current=!0}},[])},Ue=function($e,Qe){ze(function(Tt){if(!Tt)return $e()},Qe)},He=ze;function Ne(le){var $e=J.useRef(!1),Qe=J.useState(le),Tt=Object(S.a)(Qe,2),Ot=Tt[0],Ut=Tt[1];J.useEffect(function(){return $e.current=!1,function(){$e.current=!0}},[]);function At(Pt,Dt){Dt&&$e.current||Ut(Pt)}return[Ot,At]}function it(le){return le!==void 0}function Xe(le,$e){var Qe=$e||{},Tt=Qe.defaultValue,Ot=Qe.value,Ut=Qe.onChange,At=Qe.postState,Pt=Ne(function(){return it(Ot)?Ot:it(Tt)?typeof Tt=="function"?Tt():Tt:typeof le=="function"?le():le}),Dt=Object(S.a)(Pt,2),Qt=Dt[0],cn=Dt[1],$n=Ot!==void 0?Ot:Qt,hn=At?At($n):$n,_n=pe(Ut),bn=Ne([$n]),Bn=Object(S.a)(bn,2),Tn=Bn[0],Tr=Bn[1];Ue(function(){var Wr=Tn[0];Qt!==Wr&&_n(Qt,Wr)},[Tn]),Ue(function(){it(Ot)||cn(Ot)},[Ot]);var Sr=pe(function(Wr,br){cn(Wr,br),Tr([$n],br)});return[hn,Sr]}var ht=l("S76h"),lt=function($e){var Qe=$e.actions,Tt=$e.prefixCls;return Array.isArray(Qe)&&(Qe==null?void 0:Qe.length)?Object(m.jsx)("ul",{className:"".concat(Tt,"-actions"),children:Qe.map(function(Ot,Ut){return Object(m.jsx)("li",{style:{width:"".concat(100/Qe.length,"%")},children:Object(m.jsx)("span",{children:Ot})},"action-".concat(Ut))})}):Qe?Object(m.jsx)("ul",{className:"".concat(Tt,"-actions"),children:Qe}):null},Et=lt,tt=l("jCWc"),mt=l("kPKH"),xt=l("14J3"),Xt=l("BMrR"),vt=l("aK+R"),qe=function($e){var Qe=$e.style,Tt=$e.prefix;return Object(m.jsxs)("div",{className:"".concat(Tt,"-loading-content"),style:Qe,children:[Object(m.jsx)(Xt.a,{gutter:8,children:Object(m.jsx)(mt.a,{span:22,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})})}),Object(m.jsxs)(Xt.a,{gutter:8,children:[Object(m.jsx)(mt.a,{span:8,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})}),Object(m.jsx)(mt.a,{span:15,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})})]}),Object(m.jsxs)(Xt.a,{gutter:8,children:[Object(m.jsx)(mt.a,{span:6,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})}),Object(m.jsx)(mt.a,{span:18,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})})]}),Object(m.jsxs)(Xt.a,{gutter:8,children:[Object(m.jsx)(mt.a,{span:13,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})}),Object(m.jsx)(mt.a,{span:9,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})})]}),Object(m.jsxs)(Xt.a,{gutter:8,children:[Object(m.jsx)(mt.a,{span:4,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})}),Object(m.jsx)(mt.a,{span:3,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})}),Object(m.jsx)(mt.a,{span:16,children:Object(m.jsx)("div",{className:"".concat(Tt,"-loading-block")})})]})]})},Re=qe,Se=l("df8c"),Ve=["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"],Ge=j.a.useBreakpoint,_t=$.a.forwardRef(function(le,$e){var Qe,Tt,Ot,Ut=le.className,At=le.style,Pt=le.bodyStyle,Dt=Pt===void 0?{}:Pt,Qt=le.headStyle,cn=Qt===void 0?{}:Qt,$n=le.title,hn=le.subTitle,_n=le.extra,bn=le.tip,Bn=le.wrap,Tn=Bn===void 0?!1:Bn,Tr=le.layout,Sr=le.loading,Wr=le.gutter,br=Wr===void 0?0:Wr,Wn=le.tooltip,gr=le.split,na=le.headerBordered,jn=na===void 0?!1:na,un=le.bordered,zt=un===void 0?!1:un,Bt=le.children,H=le.size,ot=le.actions,nt=le.ghost,Ct=nt===void 0?!1:nt,Wt=le.hoverable,kn=Wt===void 0?!1:Wt,Sn=le.direction,Zn=le.collapsed,Or=le.collapsible,Yn=Or===void 0?!1:Or,Nn=le.collapsibleIconRender,Zt=le.defaultCollapsed,rr=Zt===void 0?!1:Zt,Gn=le.onCollapse,ln=le.checked,Xn=le.onChecked,Kn=le.tabs,fr=le.type,Hn=Object(x.a)(le,Ve),Sa=Object(J.useContext)(w.a.ConfigContext),Lr=Sa.getPrefixCls,Ca=Ge(),za=Xe(rr,{value:Zn,onChange:Gn}),Ma=Object(S.a)(za,2),va=Ma[0],qa=Ma[1],gi=["xxl","xl","lg","md","sm","xs"],Qi=Le(Kn==null?void 0:Kn.items,Bt,Kn),mi=function(Zi){var Fi=[0,0],Si=Array.isArray(Zi)?Zi:[Zi,0];return Si.forEach(function(qi,eo){if(Object(A.a)(qi)==="object")for(var xo=0;xo<gi.length;xo+=1){var cs=gi[xo];if(Ca[cs]&&qi[cs]!==void 0){Fi[eo]=qi[cs];break}}else Fi[eo]=qi||0}),Fi},Cr=function(Zi,Fi){return Zi?Fi:{}},Un=function(Zi){var Fi=Zi;if(Object(A.a)(Zi)==="object")for(var Si=0;Si<gi.length;Si+=1){var qi=gi[Si];if(Ca[qi]&&Zi[qi]!==void 0){Fi=Zi[qi];break}}var eo=Cr(typeof Fi=="string"&&/\d%|\dpx/i.test(Fi),{width:Fi,flexShrink:0});return{span:Fi,colSpanStyle:eo}},Lt=Lr("pro-card"),gn=mi(br),Ln=Object(S.a)(gn,2),kr=Ln[0],ea=Ln[1],Qr=!1,Na=$.a.Children.toArray(Bt),ar=Na.map(function(ao,Zi){var Fi;if(ao==null||(Fi=ao.type)===null||Fi===void 0?void 0:Fi.isProCard){var Si;Qr=!0;var qi=ao.props.colSpan,eo=Un(qi),xo=eo.span,cs=eo.colSpanStyle,ba=B()(["".concat(Lt,"-col")],(Si={},Object(k.a)(Si,"".concat(Lt,"-split-vertical"),gr==="vertical"&&Zi!==Na.length-1),Object(k.a)(Si,"".concat(Lt,"-split-horizontal"),gr==="horizontal"&&Zi!==Na.length-1),Object(k.a)(Si,"".concat(Lt,"-col-").concat(xo),typeof xo=="number"&&xo>=0&&xo<=24),Si));return Object(m.jsx)("div",{style:Object(E.a)(Object(E.a)(Object(E.a)({},cs),Cr(kr>0,{paddingRight:kr/2,paddingLeft:kr/2})),Cr(ea>0,{paddingTop:ea/2,paddingBottom:ea/2})),className:ba,children:$.a.cloneElement(ao)},"pro-card-col-".concat((ao==null?void 0:ao.key)||Zi))}return ao}),pi=B()("".concat(Lt),Ut,(Qe={},Object(k.a)(Qe,"".concat(Lt,"-border"),zt),Object(k.a)(Qe,"".concat(Lt,"-contain-card"),Qr),Object(k.a)(Qe,"".concat(Lt,"-loading"),Sr),Object(k.a)(Qe,"".concat(Lt,"-split"),gr==="vertical"||gr==="horizontal"),Object(k.a)(Qe,"".concat(Lt,"-ghost"),Ct),Object(k.a)(Qe,"".concat(Lt,"-hoverable"),kn),Object(k.a)(Qe,"".concat(Lt,"-size-").concat(H),H),Object(k.a)(Qe,"".concat(Lt,"-type-").concat(fr),fr),Object(k.a)(Qe,"".concat(Lt,"-collapse"),va),Object(k.a)(Qe,"".concat(Lt,"-checked"),ln),Qe)),_i=B()("".concat(Lt,"-body"),(Tt={},Object(k.a)(Tt,"".concat(Lt,"-body-center"),Tr==="center"),Object(k.a)(Tt,"".concat(Lt,"-body-direction-column"),gr==="horizontal"||Sn==="column"),Object(k.a)(Tt,"".concat(Lt,"-body-wrap"),Tn&&Qr),Tt)),ti=Object(E.a)(Object(E.a)(Object(E.a)({},Cr(kr>0,{marginRight:-kr/2,marginLeft:-kr/2})),Cr(ea>0,{marginTop:-ea/2,marginBottom:-ea/2})),Dt),ui=$.a.isValidElement(Sr)?Sr:Object(m.jsx)(Re,{prefix:Lt,style:Dt.padding===0||Dt.padding==="0px"?{padding:24}:void 0}),Ri=Yn&&Zn===void 0&&(Nn?Nn({collapsed:va}):Object(m.jsx)(D.a,{rotate:va?void 0:90,className:"".concat(Lt,"-collapsible-icon")}));return Object(m.jsxs)("div",Object(E.a)(Object(E.a)({className:pi,style:At,ref:$e,onClick:function(Zi){var Fi;Xn==null||Xn(Zi),Hn==null||(Fi=Hn.onClick)===null||Fi===void 0||Fi.call(Hn,Zi)}},Object(U.a)(Hn,["prefixCls","colSpan"])),{},{children:[($n||_n||Ri)&&Object(m.jsxs)("div",{className:B()("".concat(Lt,"-header"),(Ot={},Object(k.a)(Ot,"".concat(Lt,"-header-border"),jn||fr==="inner"),Object(k.a)(Ot,"".concat(Lt,"-header-collapsible"),Ri),Ot)),style:cn,onClick:function(){Ri&&qa(!va)},children:[Object(m.jsxs)("div",{className:"".concat(Lt,"-title"),children:[Ri,Object(m.jsx)(N.a,{label:$n,tooltip:Wn||bn,subTitle:hn})]}),_n&&Object(m.jsx)("div",{className:"".concat(Lt,"-extra"),children:_n})]}),Kn?Object(m.jsx)("div",{className:"".concat(Lt,"-tabs"),children:Object(m.jsx)(C.a,Object(E.a)(Object(E.a)({onChange:Kn.onChange},Kn),{},{items:Qi,children:Sr?ui:Bt}))}):Object(m.jsx)("div",{className:_i,style:ti,children:Sr?ui:ar}),Object(m.jsx)(Et,{actions:ot,prefixCls:Lt})]}))}),bt=_t,gt=l("u1OI"),at=function($e){var Qe=Object(J.useContext)(w.a.ConfigContext),Tt=Qe.getPrefixCls,Ot=Tt("pro-card-divider"),Ut=$e.className,At=$e.style,Pt=At===void 0?{}:At,Dt=$e.type,Qt=B()(Ot,Ut,Object(k.a)({},"".concat(Ot,"-").concat(Dt),Dt));return Object(m.jsx)("div",{className:Qt,style:Pt})},ft=at,Fe=function($e){return Object(m.jsx)(bt,Object(E.a)({bodyStyle:{padding:0}},$e))},Te=bt;Te.isProCard=!0,Te.Divider=ft,Te.TabPane=fe,Te.Group=Fe;var ut=R.a=Te},Nsbk:function(ce,R){function l(E){return ce.exports=l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(O){return O.__proto__||Object.getPrototypeOf(O)},ce.exports.__esModule=!0,ce.exports.default=ce.exports,l(E)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},Nsem:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("QyJ8"),m=l("tS8v");function O(C,k){if(k&&(Object(E.a)(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Object(m.a)(C)}},NvD2:function(ce,R,l){"use strict";l.d(R,"a",function(){return A});var E=l("23DT");function m(S,y){var w=new Set;return S.forEach(function(x){y.has(x)||w.add(x)}),w}function O(S){var y=S||{},w=y.disabled,x=y.disableCheckbox,T=y.checkable;return!!(w||x)||T===!1}function C(S,y,w,x){for(var T=new Set(S),j=new Set,D=0;D<=w;D+=1){var N=y.get(D)||new Set;N.forEach(function(J){var $=J.key,X=J.node,ee=J.children,ie=ee===void 0?[]:ee;T.has($)&&!x(X)&&ie.filter(function(G){return!x(G.node)}).forEach(function(G){T.add(G.key)})})}for(var F=new Set,B=w;B>=0;B-=1){var U=y.get(B)||new Set;U.forEach(function(J){var $=J.parent,X=J.node;if(!(x(X)||!J.parent||F.has(J.parent.key))){if(x(J.parent.node)){F.add($.key);return}var ee=!0,ie=!1;($.children||[]).filter(function(G){return!x(G.node)}).forEach(function(G){var Q=G.key,W=T.has(Q);ee&&!W&&(ee=!1),!ie&&(W||j.has(Q))&&(ie=!0)}),ee&&T.add($.key),ie&&j.add($.key),F.add($.key)}})}return{checkedKeys:Array.from(T),halfCheckedKeys:Array.from(m(j,T))}}function k(S,y,w,x,T){for(var j=new Set(S),D=new Set(y),N=0;N<=x;N+=1){var F=w.get(N)||new Set;F.forEach(function($){var X=$.key,ee=$.node,ie=$.children,G=ie===void 0?[]:ie;!j.has(X)&&!D.has(X)&&!T(ee)&&G.filter(function(Q){return!T(Q.node)}).forEach(function(Q){j.delete(Q.key)})})}D=new Set;for(var B=new Set,U=x;U>=0;U-=1){var J=w.get(U)||new Set;J.forEach(function($){var X=$.parent,ee=$.node;if(!(T(ee)||!$.parent||B.has($.parent.key))){if(T($.parent.node)){B.add(X.key);return}var ie=!0,G=!1;(X.children||[]).filter(function(Q){return!T(Q.node)}).forEach(function(Q){var W=Q.key,ne=j.has(W);ie&&!ne&&(ie=!1),!G&&(ne||D.has(W))&&(G=!0)}),ie||j.delete(X.key),G&&D.add(X.key),B.add(X.key)}})}return{checkedKeys:Array.from(j),halfCheckedKeys:Array.from(m(D,j))}}function A(S,y,w,x){var T=[],j;x?j=x:j=O;var D=new Set(S.filter(function(U){var J=!!w[U];return J||T.push(U),J})),N=new Map,F=0;Object.keys(w).forEach(function(U){var J=w[U],$=J.level,X=N.get($);X||(X=new Set,N.set($,X)),X.add(J),F=Math.max(F,$)}),Object(E.a)(!T.length,"Tree missing follow keys: ".concat(T.slice(0,100).map(function(U){return"'".concat(U,"'")}).join(", ")));var B;return y===!0?B=C(D,N,F,j):B=k(D,y.halfCheckedKeys,N,F,j),B}},NykK:function(ce,R,l){var E=l("nmnc"),m=l("AP2z"),O=l("KfNM"),C="[object Null]",k="[object Undefined]",A=E?E.toStringTag:void 0;function S(y){return y==null?y===void 0?k:C:A&&A in Object(y)?m(y):O(y)}ce.exports=S},"O/iA":function(ce,R,l){},O0oS:function(ce,R,l){var E=l("Cwc5"),m=function(){try{var O=E(Object,"defineProperty");return O({},"",{}),O}catch(C){}}();ce.exports=m},O7RO:function(ce,R,l){var E=l("CMye"),m=l("7GkX");function O(C){for(var k=m(C),A=k.length;A--;){var S=k[A],y=C[S];k[A]=[S,y,E(y)]}return k}ce.exports=O},O9az:function(ce,R,l){var E=l("MMxC"),m=l("f1E4"),O=l("tSXo"),C=l("jtLI"),k=l("MVys"),A=l("YfKC"),S=l("g8rt"),y=l("Acmb"),w=l("HhvW");function x(j,D,N){var F=arguments.length<4?j:arguments[3],B=S.f(m(j),D),U,J;if(!B){if(O(J=y(j)))return x(J,D,N,F);B=w(0)}if(C(B,"value")){if(B.writable===!1||!O(F))return!1;if(U=S.f(F,D)){if(U.get||U.set||U.writable===!1)return!1;U.value=N,A.f(F,D,U)}else A.f(F,D,w(0,N));return!0}return B.set===void 0?!1:(B.set.call(F,N),!0)}var T=k(function(){var j=A.f({},"a",{configurable:!0});return Reflect.set(y(j),"a",1,j)!==!1});E({target:"Reflect",stat:!0,forced:T},{set:x})},OAmA:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("Z+8a");E({target:"WeakSet",proto:!0,real:!0,forced:m},{addAll:function(){return O.apply(this,arguments)}})},OBhP:function(ce,R,l){var E=l("fmRc"),m=l("gFfm"),O=l("MrPd"),C=l("WwFo"),k=l("Dw+G"),A=l("5Tg0"),S=l("Q1l4"),y=l("VOtZ"),w=l("EEGq"),x=l("qZTm"),T=l("G6z8"),j=l("QqLw"),D=l("yHx3"),N=l("wrZu"),F=l("+iFO"),B=l("Z0cm"),U=l("DSRE"),J=l("zEVN"),$=l("GoyQ"),X=l("1+5i"),ee=l("7GkX"),ie=l("mTTR"),G=1,Q=2,W=4,ne="[object Arguments]",te="[object Array]",_e="[object Boolean]",he="[object Date]",oe="[object Error]",ge="[object Function]",me="[object GeneratorFunction]",Z="[object Map]",xe="[object Number]",Ee="[object Object]",Le="[object RegExp]",we="[object Set]",fe="[object String]",pe="[object Symbol]",Ke="[object WeakMap]",Me="[object ArrayBuffer]",ze="[object DataView]",Ue="[object Float32Array]",He="[object Float64Array]",Ne="[object Int8Array]",it="[object Int16Array]",Xe="[object Int32Array]",ht="[object Uint8Array]",lt="[object Uint8ClampedArray]",Et="[object Uint16Array]",tt="[object Uint32Array]",mt={};mt[ne]=mt[te]=mt[Me]=mt[ze]=mt[_e]=mt[he]=mt[Ue]=mt[He]=mt[Ne]=mt[it]=mt[Xe]=mt[Z]=mt[xe]=mt[Ee]=mt[Le]=mt[we]=mt[fe]=mt[pe]=mt[ht]=mt[lt]=mt[Et]=mt[tt]=!0,mt[oe]=mt[ge]=mt[Ke]=!1;function xt(Xt,vt,qe,Re,Se,Ve){var Ge,_t=vt&G,bt=vt&Q,gt=vt&W;if(qe&&(Ge=Se?qe(Xt,Re,Se,Ve):qe(Xt)),Ge!==void 0)return Ge;if(!$(Xt))return Xt;var at=B(Xt);if(at){if(Ge=D(Xt),!_t)return S(Xt,Ge)}else{var ft=j(Xt),Fe=ft==ge||ft==me;if(U(Xt))return A(Xt,_t);if(ft==Ee||ft==ne||Fe&&!Se){if(Ge=bt||Fe?{}:F(Xt),!_t)return bt?w(Xt,k(Ge,Xt)):y(Xt,C(Ge,Xt))}else{if(!mt[ft])return Se?Xt:{};Ge=N(Xt,ft,_t)}}Ve||(Ve=new E);var Te=Ve.get(Xt);if(Te)return Te;Ve.set(Xt,Ge),X(Xt)?Xt.forEach(function($e){Ge.add(xt($e,vt,qe,$e,Xt,Ve))}):J(Xt)&&Xt.forEach(function($e,Qe){Ge.set(Qe,xt($e,vt,qe,Qe,Xt,Ve))});var ut=gt?bt?T:x:bt?ie:ee,le=at?void 0:ut(Xt);return m(le||Xt,function($e,Qe){le&&(Qe=$e,$e=Xt[Qe]),O(Ge,Qe,xt($e,vt,qe,Qe,Xt,Ve))}),Ge}ce.exports=xt},ODXe:function(ce,R,l){"use strict";l.d(R,"a",function(){return k});var E=l("DSFK");function m(A,S){var y=A==null?null:typeof Symbol!="undefined"&&A[Symbol.iterator]||A["@@iterator"];if(y!=null){var w,x,T,j,D=[],N=!0,F=!1;try{if(T=(y=y.call(A)).next,S===0){if(Object(y)!==y)return;N=!1}else for(;!(N=(w=T.call(y)).done)&&(D.push(w.value),D.length!==S);N=!0);}catch(B){F=!0,x=B}finally{try{if(!N&&y.return!=null&&(j=y.return(),Object(j)!==j))return}finally{if(F)throw x}}return D}}var O=l("BsWD"),C=l("PYwp");function k(A,S){return Object(E.a)(A)||m(A,S)||Object(O.a)(A,S)||Object(C.a)()}},OPEp:function(ce,R,l){},OZM5:function(ce,R,l){"use strict";l.d(R,"b",function(){return T}),l.d(R,"a",function(){return j}),l.d(R,"h",function(){return D}),l.d(R,"f",function(){return N}),l.d(R,"c",function(){return U}),l.d(R,"d",function(){return J}),l.d(R,"g",function(){return ee}),l.d(R,"e",function(){return ie});var E=l("KQm4"),m=l("U8pU"),O=l("wx14"),C=l("Ff2n"),k=l("q1tI"),A=l.n(k),S=l("23DT"),y=l("WaYH"),w=l("815F"),x=["children"];function T(G,Q){if(!G)return[];var W=G.slice(),ne=W.indexOf(Q);return ne>=0&&W.splice(ne,1),W}function j(G,Q){var W=(G||[]).slice();return W.indexOf(Q)===-1&&W.push(Q),W}function D(G){return G.split("-")}function N(G,Q){var W=[],ne=Q[G];function te(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_e.forEach(function(he){var oe=he.key,ge=he.children;W.push(oe),te(ge)})}return te(ne.children),W}function F(G){if(G.parent){var Q=D(G.pos);return Number(Q[Q.length-1])===G.parent.children.length-1}return!1}function B(G){var Q=D(G.pos);return Number(Q[Q.length-1])===0}function U(G,Q,W,ne,te,_e,he,oe,ge,me){var Z,xe=G.clientX,Ee=G.clientY,Le=G.target.getBoundingClientRect(),we=Le.top,fe=Le.height,pe=(me==="rtl"?-1:1)*(((te==null?void 0:te.x)||0)-xe),Ke=(pe-12)/ne,Me=oe[W.props.eventKey];if(Ee<we+fe/2){var ze=he.findIndex(function(Xt){return Xt.key===Me.key}),Ue=ze<=0?0:ze-1,He=he[Ue].key;Me=oe[He]}var Ne=Me.key,it=Me,Xe=Me.key,ht=0,lt=0;if(!ge.includes(Ne))for(var Et=0;Et<Ke&&F(Me);Et+=1)Me=Me.parent,lt+=1;var tt=Q.props.data,mt=Me.node,xt=!0;return B(Me)&&Me.level===0&&Ee<we+fe/2&&_e({dragNode:tt,dropNode:mt,dropPosition:-1})&&Me.key===W.props.eventKey?ht=-1:(it.children||[]).length&&ge.includes(Xe)?_e({dragNode:tt,dropNode:mt,dropPosition:0})?ht=0:xt=!1:lt===0?Ke>-1.5?_e({dragNode:tt,dropNode:mt,dropPosition:1})?ht=1:xt=!1:_e({dragNode:tt,dropNode:mt,dropPosition:0})?ht=0:_e({dragNode:tt,dropNode:mt,dropPosition:1})?ht=1:xt=!1:_e({dragNode:tt,dropNode:mt,dropPosition:1})?ht=1:xt=!1,{dropPosition:ht,dropLevelOffset:lt,dropTargetKey:Me.key,dropTargetPos:Me.pos,dragOverNodeKey:Xe,dropContainerKey:ht===0?null:((Z=Me.parent)===null||Z===void 0?void 0:Z.key)||null,dropAllowed:xt}}function J(G,Q){if(!!G){var W=Q.multiple;return W?G.slice():G.length?[G[0]]:G}}var $=function(Q){return Q};function X(G,Q){if(!G)return[];var W=Q||{},ne=W.processProps,te=ne===void 0?$:ne,_e=Array.isArray(G)?G:[G];return _e.map(function(he){var oe=he.children,ge=Object(C.a)(he,x),me=X(oe,Q);return A.a.createElement(y.a,Object(O.a)({key:ge.key},te(ge)),me)})}function ee(G){if(!G)return null;var Q;if(Array.isArray(G))Q={checkedKeys:G,halfCheckedKeys:void 0};else if(Object(m.a)(G)==="object")Q={checkedKeys:G.checked||void 0,halfCheckedKeys:G.halfChecked||void 0};else return Object(S.a)(!1,"`checkedKeys` is not an array or an object"),null;return Q}function ie(G,Q){var W=new Set;function ne(te){if(!W.has(te)){var _e=Q[te];if(!!_e){W.add(te);var he=_e.parent,oe=_e.node;oe.disabled||he&&ne(he.key)}}}return(G||[]).forEach(function(te){ne(te)}),Object(E.a)(W)}},OaEy:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("bKJz"),C=l.n(O),k=l("R9oj")},"Of+w":function(ce,R,l){var E=l("Cwc5"),m=l("Kz5y"),O=E(m,"WeakMap");ce.exports=O},Ol7k:function(ce,R,l){"use strict";var E=l("PKem"),m=l("ZX9x"),O=E.e;O.Header=E.c,O.Footer=E.b,O.Content=E.a,O.Sider=m.b,R.a=O},"OmS+":function(ce,R,l){var E=l("MMxC"),m=l("+rjg");E({target:"String",proto:!0},{repeat:m})},OnYD:function(ce,R,l){},Osgv:function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{signbit:function(O){return(O=+O)==O&&O==0?1/O==-Infinity:O<0}})},OwbQ:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};R.default=E},"P/G1":function(ce,R,l){var E=l("JmpY"),m=l("7GkX");function O(C){return C==null?[]:E(C,m(C))}ce.exports=O},P0e2:function(ce,R,l){var E=l("Srjj"),m=l("De94");ce.exports=Object.keys||function(C){return E(C,m)}},P2fV:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("+L6B"),C=l("Q9mQ"),k=l("sE09"),A=l.n(k)},P80f:function(ce,R,l){"use strict";var E=l("ODXe"),m=l("q1tI"),O=l.n(m),C=l("R3zJ");R.a=function(){var k=m.useState(!1),A=Object(E.a)(k,2),S=A[0],y=A[1];return m.useEffect(function(){y(Object(C.b)())},[]),S}},P84e:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("sub")},{sub:function(){return m(this,"sub","","")}})},PArb:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("TSYQ"),C=l.n(O),k=l("q1tI"),A=l.n(k),S=l("H84U"),y=function(x,T){var j={};for(var D in x)Object.prototype.hasOwnProperty.call(x,D)&&T.indexOf(D)<0&&(j[D]=x[D]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,D=Object.getOwnPropertySymbols(x);N<D.length;N++)T.indexOf(D[N])<0&&Object.prototype.propertyIsEnumerable.call(x,D[N])&&(j[D[N]]=x[D[N]]);return j},w=function(T){var j,D=k.useContext(S.b),N=D.getPrefixCls,F=D.direction,B=T.prefixCls,U=T.type,J=U===void 0?"horizontal":U,$=T.orientation,X=$===void 0?"center":$,ee=T.orientationMargin,ie=T.className,G=T.children,Q=T.dashed,W=T.plain,ne=y(T,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),te=N("divider",B),_e=X.length>0?"-".concat(X):X,he=!!G,oe=X==="left"&&ee!=null,ge=X==="right"&&ee!=null,me=C()(te,"".concat(te,"-").concat(J),(j={},Object(m.a)(j,"".concat(te,"-with-text"),he),Object(m.a)(j,"".concat(te,"-with-text").concat(_e),he),Object(m.a)(j,"".concat(te,"-dashed"),!!Q),Object(m.a)(j,"".concat(te,"-plain"),!!W),Object(m.a)(j,"".concat(te,"-rtl"),F==="rtl"),Object(m.a)(j,"".concat(te,"-no-default-orientation-margin-left"),oe),Object(m.a)(j,"".concat(te,"-no-default-orientation-margin-right"),ge),j),ie),Z=Object(E.a)(Object(E.a)({},oe&&{marginLeft:ee}),ge&&{marginRight:ee});return k.createElement("div",Object(E.a)({className:me},ne,{role:"separator"}),G&&J!=="vertical"&&k.createElement("span",{className:"".concat(te,"-inner-text"),style:Z},G))};R.a=w},PDVC:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("strike")},{strike:function(){return m(this,"strike","","")}})},"PE/4":function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=E(l("jXed")),O=E(l("ncmp")),C=E(l("WmZF")),k=E(l("kM4J")),A="${label} is not a valid ${type}",S={locale:"en",Pagination:m.default,DatePicker:C.default,TimePicker:k.default,Calendar:O.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:A,method:A,array:A,object:A,number:A,date:A,boolean:A,integer:A,float:A,regexp:A,email:A,url:A,hex:A},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}},y=S;R.default=y},PHrn:function(ce,R,l){"use strict";var E=l("zv1X").forEach,m=l("R8iy"),O=l("kGMc"),C=m("forEach"),k=O("forEach");ce.exports=!C||!k?function(S){return E(this,S,arguments.length>1?arguments[1]:void 0)}:[].forEach},PJYZ:function(ce,R){function l(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},PKem:function(ce,R,l){"use strict";l.d(R,"d",function(){return T}),l.d(R,"c",function(){return B}),l.d(R,"b",function(){return U}),l.d(R,"a",function(){return J});var E=l("KQm4"),m=l("rePB"),O=l("ODXe"),C=l("wx14"),k=l("TSYQ"),A=l.n(k),S=l("q1tI"),y=l.n(S),w=l("H84U"),x=function($,X){var ee={};for(var ie in $)Object.prototype.hasOwnProperty.call($,ie)&&X.indexOf(ie)<0&&(ee[ie]=$[ie]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,ie=Object.getOwnPropertySymbols($);G<ie.length;G++)X.indexOf(ie[G])<0&&Object.prototype.propertyIsEnumerable.call($,ie[G])&&(ee[ie[G]]=$[ie[G]]);return ee},T=S.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function j($){var X=$.suffixCls,ee=$.tagName,ie=$.displayName;return function(G){var Q=S.forwardRef(function(W,ne){var te=S.useContext(w.b),_e=te.getPrefixCls,he=W.prefixCls,oe=_e(X,he);return S.createElement(G,Object(C.a)({ref:ne,prefixCls:oe,tagName:ee},W))});return Q}}var D=S.forwardRef(function($,X){var ee=$.prefixCls,ie=$.className,G=$.children,Q=$.tagName,W=x($,["prefixCls","className","children","tagName"]),ne=A()(ee,ie);return S.createElement(Q,Object(C.a)(Object(C.a)({className:ne},W),{ref:X}),G)}),N=S.forwardRef(function($,X){var ee,ie=S.useContext(w.b),G=ie.direction,Q=S.useState([]),W=Object(O.a)(Q,2),ne=W[0],te=W[1],_e=$.prefixCls,he=$.className,oe=$.children,ge=$.hasSider,me=$.tagName,Z=x($,["prefixCls","className","children","hasSider","tagName"]),xe=A()(_e,(ee={},Object(m.a)(ee,"".concat(_e,"-has-sider"),typeof ge=="boolean"?ge:ne.length>0),Object(m.a)(ee,"".concat(_e,"-rtl"),G==="rtl"),ee),he),Ee=S.useMemo(function(){return{siderHook:{addSider:function(we){te(function(fe){return[].concat(Object(E.a)(fe),[we])})},removeSider:function(we){te(function(fe){return fe.filter(function(pe){return pe!==we})})}}}},[]);return S.createElement(T.Provider,{value:Ee},S.createElement(me,Object(C.a)({ref:X,className:xe},Z),oe))}),F=j({suffixCls:"layout",tagName:"section",displayName:"Layout"})(N),B=j({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(D),U=j({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(D),J=j({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(D);R.e=F},PPXv:function(ce,R,l){var E=l("Zcjx"),m=l("qcmB");ce.exports=E?m:function(O){return Map.prototype.entries.call(O)}},PQMj:function(ce,R,l){},PUJJ:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("cT1L"),k=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{isSupersetOf:function(S){var y=O(this),w=C(y.has);return!k(S,function(x){if(w.call(y,x)===!1)return k.stop()}).stopped}})},PYwp:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},PZj6:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.heightWidthRadiusDefaults=R.heightWidthDefaults=R.sizeMarginDefaults=R.sizeDefaults=void 0;var E={loading:!0,color:"#000000",css:""};function m(A){return Object.assign({},E,{size:A})}R.sizeDefaults=m;function O(A){return Object.assign({},m(A),{margin:2})}R.sizeMarginDefaults=O;function C(A,S){return Object.assign({},E,{height:A,width:S})}R.heightWidthDefaults=C;function k(A,S,y){return y===void 0&&(y=2),Object.assign({},C(A,S),{radius:y,margin:2})}R.heightWidthRadiusDefaults=k},PaaY:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("9RRT").left,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("reduce",function(A){return m(O(this),A,arguments.length,arguments.length>1?arguments[1]:void 0)})},PeeD:function(ce,R,l){"use strict";l.r(R);var E=l("k1fw"),m=l("tJVT"),O=l("q1tI"),C=l.n(O),k=l("9kvl"),A=l("LtsZ"),S=l("PpiC"),y=l("55Ip"),w=l("EFp3"),x=l("0XgM"),T=l("Ol7k"),j=l("rePB"),D=l("x+uP"),N=l("HaE+"),F=l("Ff2n"),B=l("GNNt"),U=l("wEI+"),J=l("ODXe"),$=l("VTBJ"),X=l("nKUr"),ee=l("LQCs"),ie=l("9mHw"),G=l("7z/i");function Q(Rn,St){var on=typeof Rn.pageName=="string"?Rn.title:St;Object(O.useEffect)(function(){Object(G.a)()&&on&&(document.title=on)},[Rn.title,on])}var W=Q,ne=l("tJk1"),te=l.n(ne),_e=Number.isNaN||function(St){return typeof St=="number"&&St!==St};function he(Rn,St){return!!(Rn===St||_e(Rn)&&_e(St))}function oe(Rn,St){if(Rn.length!==St.length)return!1;for(var on=0;on<Rn.length;on++)if(!he(Rn[on],St[on]))return!1;return!0}function ge(Rn,St){St===void 0&&(St=oe);var on,Dn=[],aa,oa=!1;function Jr(){for(var Ia=[],Li=0;Li<arguments.length;Li++)Ia[Li]=arguments[Li];return oa&&on===this&&St(Ia,Dn)||(aa=Rn.apply(this,Ia),oa=!0,on=this,Dn=Ia),aa}return Jr}var me=ge;function Z(Rn){for(var St=[],on=0;on<Rn.length;){var Dn=Rn[on];if(Dn==="*"||Dn==="+"||Dn==="?"){St.push({type:"MODIFIER",index:on,value:Rn[on++]});continue}if(Dn==="\\"){St.push({type:"ESCAPED_CHAR",index:on++,value:Rn[on++]});continue}if(Dn==="{"){St.push({type:"OPEN",index:on,value:Rn[on++]});continue}if(Dn==="}"){St.push({type:"CLOSE",index:on,value:Rn[on++]});continue}if(Dn===":"){for(var aa="",oa=on+1;oa<Rn.length;){var Jr=Rn.charCodeAt(oa);if(Jr>=48&&Jr<=57||Jr>=65&&Jr<=90||Jr>=97&&Jr<=122||Jr===95){aa+=Rn[oa++];continue}break}if(!aa)throw new TypeError("Missing parameter name at "+on);St.push({type:"NAME",index:on,value:aa}),on=oa;continue}if(Dn==="("){var Ia=1,Li="",oa=on+1;if(Rn[oa]==="?")throw new TypeError('Pattern cannot start with "?" at '+oa);for(;oa<Rn.length;){if(Rn[oa]==="\\"){Li+=Rn[oa++]+Rn[oa++];continue}if(Rn[oa]===")"){if(Ia--,Ia===0){oa++;break}}else if(Rn[oa]==="("&&(Ia++,Rn[oa+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+oa);Li+=Rn[oa++]}if(Ia)throw new TypeError("Unbalanced pattern at "+on);if(!Li)throw new TypeError("Missing pattern at "+on);St.push({type:"PATTERN",index:on,value:Li}),on=oa;continue}St.push({type:"CHAR",index:on,value:Rn[on++]})}return St.push({type:"END",index:on,value:""}),St}function xe(Rn,St){St===void 0&&(St={});for(var on=Z(Rn),Dn=St.prefixes,aa=Dn===void 0?"./":Dn,oa="[^"+pe(St.delimiter||"/#?")+"]+?",Jr=[],Ia=0,Li=0,no="",es=function(Cd){if(Li<on.length&&on[Li].type===Cd)return on[Li++].value},Bo=function(Cd){var Gu=es(Cd);if(Gu!==void 0)return Gu;var ol=on[Li],Md=ol.type,Ff=ol.index;throw new TypeError("Unexpected "+Md+" at "+Ff+", expected "+Cd)},Uo=function(){for(var Cd="",Gu;Gu=es("CHAR")||es("ESCAPED_CHAR");)Cd+=Gu;return Cd};Li<on.length;){var Dc=es("CHAR"),nc=es("NAME"),Ms=es("PATTERN");if(nc||Ms){var Eo=Dc||"";aa.indexOf(Eo)===-1&&(no+=Eo,Eo=""),no&&(Jr.push(no),no=""),Jr.push({name:nc||Ia++,prefix:Eo,suffix:"",pattern:Ms||oa,modifier:es("MODIFIER")||""});continue}var Is=Dc||es("ESCAPED_CHAR");if(Is){no+=Is;continue}no&&(Jr.push(no),no="");var $s=es("OPEN");if($s){var Eo=Uo(),_l=es("NAME")||"",Wl=es("PATTERN")||"",Hu=Uo();Bo("CLOSE"),Jr.push({name:_l||(Wl?Ia++:""),pattern:_l&&!Wl?oa:Wl,prefix:Eo,suffix:Hu,modifier:es("MODIFIER")||""});continue}Bo("END")}return Jr}function Ee(Rn,St){return Le(xe(Rn,St),St)}function Le(Rn,St){St===void 0&&(St={});var on=Ke(St),Dn=St.encode,aa=Dn===void 0?function(Li){return Li}:Dn,oa=St.validate,Jr=oa===void 0?!0:oa,Ia=Rn.map(function(Li){if(typeof Li=="object")return new RegExp("^(?:"+Li.pattern+")$",on)});return function(Li){for(var no="",es=0;es<Rn.length;es++){var Bo=Rn[es];if(typeof Bo=="string"){no+=Bo;continue}var Uo=Li?Li[Bo.name]:void 0,Dc=Bo.modifier==="?"||Bo.modifier==="*",nc=Bo.modifier==="*"||Bo.modifier==="+";if(Array.isArray(Uo)){if(!nc)throw new TypeError('Expected "'+Bo.name+'" to not repeat, but got an array');if(Uo.length===0){if(Dc)continue;throw new TypeError('Expected "'+Bo.name+'" to not be empty')}for(var Ms=0;Ms<Uo.length;Ms++){var Eo=aa(Uo[Ms],Bo);if(Jr&&!Ia[es].test(Eo))throw new TypeError('Expected all "'+Bo.name+'" to match "'+Bo.pattern+'", but got "'+Eo+'"');no+=Bo.prefix+Eo+Bo.suffix}continue}if(typeof Uo=="string"||typeof Uo=="number"){var Eo=aa(String(Uo),Bo);if(Jr&&!Ia[es].test(Eo))throw new TypeError('Expected "'+Bo.name+'" to match "'+Bo.pattern+'", but got "'+Eo+'"');no+=Bo.prefix+Eo+Bo.suffix;continue}if(!Dc){var Is=nc?"an array":"a string";throw new TypeError('Expected "'+Bo.name+'" to be '+Is)}}return no}}function we(Rn,St){var on=[],Dn=Ne(Rn,on,St);return fe(Dn,on,St)}function fe(Rn,St,on){on===void 0&&(on={});var Dn=on.decode,aa=Dn===void 0?function(oa){return oa}:Dn;return function(oa){var Jr=Rn.exec(oa);if(!Jr)return!1;for(var Ia=Jr[0],Li=Jr.index,no=Object.create(null),es=function(Dc){if(Jr[Dc]===void 0)return"continue";var nc=St[Dc-1];nc.modifier==="*"||nc.modifier==="+"?no[nc.name]=Jr[Dc].split(nc.prefix+nc.suffix).map(function(Ms){return aa(Ms,nc)}):no[nc.name]=aa(Jr[Dc],nc)},Bo=1;Bo<Jr.length;Bo++)es(Bo);return{path:Ia,index:Li,params:no}}}function pe(Rn){return Rn.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Ke(Rn){return Rn&&Rn.sensitive?"":"i"}function Me(Rn,St){if(!St)return Rn;var on=Rn.source.match(/\((?!\?)/g);if(on)for(var Dn=0;Dn<on.length;Dn++)St.push({name:Dn,prefix:"",suffix:"",modifier:"",pattern:""});return Rn}function ze(Rn,St,on){var Dn=Rn.map(function(aa){return Ne(aa,St,on).source});return new RegExp("(?:"+Dn.join("|")+")",Ke(on))}function Ue(Rn,St,on){return He(xe(Rn,on),St,on)}function He(Rn,St,on){on===void 0&&(on={});for(var Dn=on.strict,aa=Dn===void 0?!1:Dn,oa=on.start,Jr=oa===void 0?!0:oa,Ia=on.end,Li=Ia===void 0?!0:Ia,no=on.encode,es=no===void 0?function(gd){return gd}:no,Bo="["+pe(on.endsWith||"")+"]|$",Uo="["+pe(on.delimiter||"/#?")+"]",Dc=Jr?"^":"",nc=0,Ms=Rn;nc<Ms.length;nc++){var Eo=Ms[nc];if(typeof Eo=="string")Dc+=pe(es(Eo));else{var Is=pe(es(Eo.prefix)),$s=pe(es(Eo.suffix));if(Eo.pattern)if(St&&St.push(Eo),Is||$s)if(Eo.modifier==="+"||Eo.modifier==="*"){var _l=Eo.modifier==="*"?"?":"";Dc+="(?:"+Is+"((?:"+Eo.pattern+")(?:"+$s+Is+"(?:"+Eo.pattern+"))*)"+$s+")"+_l}else Dc+="(?:"+Is+"("+Eo.pattern+")"+$s+")"+Eo.modifier;else Dc+="("+Eo.pattern+")"+Eo.modifier;else Dc+="(?:"+Is+$s+")"+Eo.modifier}}if(Li)aa||(Dc+=Uo+"?"),Dc+=on.endsWith?"(?="+Bo+")":"$";else{var Wl=Rn[Rn.length-1],Hu=typeof Wl=="string"?Uo.indexOf(Wl[Wl.length-1])>-1:Wl===void 0;aa||(Dc+="(?:"+Uo+"(?="+Bo+"))?"),Hu||(Dc+="(?="+Uo+"|"+Bo+")")}return new RegExp(Dc,Ke(on))}function Ne(Rn,St,on){return Rn instanceof RegExp?Me(Rn,St):Array.isArray(Rn)?ze(Rn,St,on):Ue(Rn,St,on)}function it(Rn,St){return St>>>Rn|St<<32-Rn}function Xe(Rn,St,on){return Rn&St^~Rn&on}function ht(Rn,St,on){return Rn&St^Rn&on^St&on}function lt(Rn){return it(2,Rn)^it(13,Rn)^it(22,Rn)}function Et(Rn){return it(6,Rn)^it(11,Rn)^it(25,Rn)}function tt(Rn){return it(7,Rn)^it(18,Rn)^Rn>>>3}function mt(Rn){return it(17,Rn)^it(19,Rn)^Rn>>>10}function xt(Rn,St){return Rn[St&15]+=mt(Rn[St+14&15])+Rn[St+9&15]+tt(Rn[St+1&15])}var Xt=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],vt,qe,Re,Se="0123456789abcdef";function Ve(Rn,St){var on=(Rn&65535)+(St&65535),Dn=(Rn>>16)+(St>>16)+(on>>16);return Dn<<16|on&65535}function Ge(){vt=new Array(8),qe=new Array(2),Re=new Array(64),qe[0]=qe[1]=0,vt[0]=1779033703,vt[1]=3144134277,vt[2]=1013904242,vt[3]=2773480762,vt[4]=1359893119,vt[5]=2600822924,vt[6]=528734635,vt[7]=1541459225}function _t(){var Rn,St,on,Dn,aa,oa,Jr,Ia,Li,no,es=new Array(16);Rn=vt[0],St=vt[1],on=vt[2],Dn=vt[3],aa=vt[4],oa=vt[5],Jr=vt[6],Ia=vt[7];for(var Bo=0;Bo<16;Bo++)es[Bo]=Re[(Bo<<2)+3]|Re[(Bo<<2)+2]<<8|Re[(Bo<<2)+1]<<16|Re[Bo<<2]<<24;for(var Uo=0;Uo<64;Uo++)Li=Ia+Et(aa)+Xe(aa,oa,Jr)+Xt[Uo],Uo<16?Li+=es[Uo]:Li+=xt(es,Uo),no=lt(Rn)+ht(Rn,St,on),Ia=Jr,Jr=oa,oa=aa,aa=Ve(Dn,Li),Dn=on,on=St,St=Rn,Rn=Ve(Li,no);vt[0]+=Rn,vt[1]+=St,vt[2]+=on,vt[3]+=Dn,vt[4]+=aa,vt[5]+=oa,vt[6]+=Jr,vt[7]+=Ia}function bt(Rn,St){var on,Dn,aa=0;Dn=qe[0]>>3&63;var oa=St&63;for((qe[0]+=St<<3)<St<<3&&qe[1]++,qe[1]+=St>>29,on=0;on+63<St;on+=64){for(var Jr=Dn;Jr<64;Jr++)Re[Jr]=Rn.charCodeAt(aa++);_t(),Dn=0}for(var Ia=0;Ia<oa;Ia++)Re[Ia]=Rn.charCodeAt(aa++)}function gt(){var Rn=qe[0]>>3&63;if(Re[Rn++]=128,Rn<=56)for(var St=Rn;St<56;St++)Re[St]=0;else{for(var on=Rn;on<64;on++)Re[on]=0;_t();for(var Dn=0;Dn<56;Dn++)Re[Dn]=0}Re[56]=qe[1]>>>24&255,Re[57]=qe[1]>>>16&255,Re[58]=qe[1]>>>8&255,Re[59]=qe[1]&255,Re[60]=qe[0]>>>24&255,Re[61]=qe[0]>>>16&255,Re[62]=qe[0]>>>8&255,Re[63]=qe[0]&255,_t()}function at(){for(var Rn=0,St=new Array(32),on=0;on<8;on++)St[Rn++]=vt[on]>>>24&255,St[Rn++]=vt[on]>>>16&255,St[Rn++]=vt[on]>>>8&255,St[Rn++]=vt[on]&255;return St}function ft(){for(var Rn=new String,St=0;St<8;St++)for(var on=28;on>=0;on-=4)Rn+=Se.charAt(vt[St]>>>on&15);return Rn}function Fe(Rn){return Ge(),bt(Rn,Rn.length),gt(),ft()}var Te=Fe;function ut(Rn){return ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(St){return typeof St}:function(St){return St&&typeof Symbol=="function"&&St.constructor===Symbol&&St!==Symbol.prototype?"symbol":typeof St},ut(Rn)}var le=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function $e(Rn,St){return Ot(Rn)||Tt(Rn,St)||Wn(Rn,St)||Qe()}function Qe(){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 Tt(Rn,St){var on=Rn==null?null:typeof Symbol!="undefined"&&Rn[Symbol.iterator]||Rn["@@iterator"];if(on!=null){var Dn=[],aa=!0,oa=!1,Jr,Ia;try{for(on=on.call(Rn);!(aa=(Jr=on.next()).done)&&(Dn.push(Jr.value),!(St&&Dn.length===St));aa=!0);}catch(Li){oa=!0,Ia=Li}finally{try{!aa&&on.return!=null&&on.return()}finally{if(oa)throw Ia}}return Dn}}function Ot(Rn){if(Array.isArray(Rn))return Rn}function Ut(Rn,St){var on=typeof Symbol!="undefined"&&Rn[Symbol.iterator]||Rn["@@iterator"];if(!on){if(Array.isArray(Rn)||(on=Wn(Rn))||St&&Rn&&typeof Rn.length=="number"){on&&(Rn=on);var Dn=0,aa=function(){};return{s:aa,n:function(){return Dn>=Rn.length?{done:!0}:{done:!1,value:Rn[Dn++]}},e:function(no){throw no},f:aa}}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 oa=!0,Jr=!1,Ia;return{s:function(){on=on.call(Rn)},n:function(){var no=on.next();return oa=no.done,no},e:function(no){Jr=!0,Ia=no},f:function(){try{!oa&&on.return!=null&&on.return()}finally{if(Jr)throw Ia}}}}function At(Rn,St){if(!(Rn instanceof St))throw new TypeError("Cannot call a class as a function")}function Pt(Rn,St){for(var on=0;on<St.length;on++){var Dn=St[on];Dn.enumerable=Dn.enumerable||!1,Dn.configurable=!0,"value"in Dn&&(Dn.writable=!0),Object.defineProperty(Rn,Dn.key,Dn)}}function Dt(Rn,St,on){return St&&Pt(Rn.prototype,St),on&&Pt(Rn,on),Object.defineProperty(Rn,"prototype",{writable:!1}),Rn}function Qt(Rn,St){if(typeof St!="function"&&St!==null)throw new TypeError("Super expression must either be null or a function");Rn.prototype=Object.create(St&&St.prototype,{constructor:{value:Rn,writable:!0,configurable:!0}}),Object.defineProperty(Rn,"prototype",{writable:!1}),St&&Tr(Rn,St)}function cn(Rn){var St=Bn();return function(){var Dn=Sr(Rn),aa;if(St){var oa=Sr(this).constructor;aa=Reflect.construct(Dn,arguments,oa)}else aa=Dn.apply(this,arguments);return $n(this,aa)}}function $n(Rn,St){if(St&&(ut(St)==="object"||typeof St=="function"))return St;if(St!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return hn(Rn)}function hn(Rn){if(Rn===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Rn}function _n(Rn){var St=typeof Map=="function"?new Map:void 0;return _n=function(Dn){if(Dn===null||!Tn(Dn))return Dn;if(typeof Dn!="function")throw new TypeError("Super expression must either be null or a function");if(typeof St!="undefined"){if(St.has(Dn))return St.get(Dn);St.set(Dn,aa)}function aa(){return bn(Dn,arguments,Sr(this).constructor)}return aa.prototype=Object.create(Dn.prototype,{constructor:{value:aa,enumerable:!1,writable:!0,configurable:!0}}),Tr(aa,Dn)},_n(Rn)}function bn(Rn,St,on){return Bn()?bn=Reflect.construct.bind():bn=function(aa,oa,Jr){var Ia=[null];Ia.push.apply(Ia,oa);var Li=Function.bind.apply(aa,Ia),no=new Li;return Jr&&Tr(no,Jr.prototype),no},bn.apply(null,arguments)}function Bn(){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(Rn){return!1}}function Tn(Rn){return Function.toString.call(Rn).indexOf("[native code]")!==-1}function Tr(Rn,St){return Tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dn,aa){return Dn.__proto__=aa,Dn},Tr(Rn,St)}function Sr(Rn){return Sr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(on){return on.__proto__||Object.getPrototypeOf(on)},Sr(Rn)}function Wr(Rn){return na(Rn)||gr(Rn)||Wn(Rn)||br()}function br(){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 Wn(Rn,St){if(!!Rn){if(typeof Rn=="string")return jn(Rn,St);var on=Object.prototype.toString.call(Rn).slice(8,-1);if(on==="Object"&&Rn.constructor&&(on=Rn.constructor.name),on==="Map"||on==="Set")return Array.from(Rn);if(on==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(on))return jn(Rn,St)}}function gr(Rn){if(typeof Symbol!="undefined"&&Rn[Symbol.iterator]!=null||Rn["@@iterator"]!=null)return Array.from(Rn)}function na(Rn){if(Array.isArray(Rn))return jn(Rn)}function jn(Rn,St){(St==null||St>Rn.length)&&(St=Rn.length);for(var on=0,Dn=new Array(St);on<St;on++)Dn[on]=Rn[on];return Dn}function un(Rn,St){if(Rn==null)return{};var on=zt(Rn,St),Dn,aa;if(Object.getOwnPropertySymbols){var oa=Object.getOwnPropertySymbols(Rn);for(aa=0;aa<oa.length;aa++)Dn=oa[aa],!(St.indexOf(Dn)>=0)&&(!Object.prototype.propertyIsEnumerable.call(Rn,Dn)||(on[Dn]=Rn[Dn]))}return on}function zt(Rn,St){if(Rn==null)return{};var on={},Dn=Object.keys(Rn),aa,oa;for(oa=0;oa<Dn.length;oa++)aa=Dn[oa],!(St.indexOf(aa)>=0)&&(on[aa]=Rn[aa]);return on}function Bt(Rn,St){var on=Object.keys(Rn);if(Object.getOwnPropertySymbols){var Dn=Object.getOwnPropertySymbols(Rn);St&&(Dn=Dn.filter(function(aa){return Object.getOwnPropertyDescriptor(Rn,aa).enumerable})),on.push.apply(on,Dn)}return on}function H(Rn){for(var St=1;St<arguments.length;St++){var on=arguments[St]!=null?arguments[St]:{};St%2?Bt(Object(on),!0).forEach(function(Dn){ot(Rn,Dn,on[Dn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rn,Object.getOwnPropertyDescriptors(on)):Bt(Object(on)).forEach(function(Dn){Object.defineProperty(Rn,Dn,Object.getOwnPropertyDescriptor(on,Dn))})}return Rn}function ot(Rn,St,on){return St in Rn?Object.defineProperty(Rn,St,{value:on,enumerable:!0,configurable:!0,writable:!0}):Rn[St]=on,Rn}var nt="routes";function Ct(Rn){return Rn.split("?")[0].split("#")[0]}var Wt=function(St){if(!St.startsWith("http"))return!1;try{var on=new URL(St);return!!on}catch(Dn){return!1}},kn=function(St){var on=St.path;if(!on||on==="/")try{return"/".concat(Te(JSON.stringify(St)))}catch(Dn){}return on&&Ct(on)},Sn=function(St,on){var Dn=St.name,aa=St.locale;return"locale"in St&&aa===!1||!Dn?!1:St.locale||"".concat(on,".").concat(Dn)},Zn=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return St.endsWith("/*")?St.replace("/*","/"):(St||on).startsWith("/")||Wt(St)?St:"/".concat(on,"/").concat(St).replace(/\/\//g,"/").replace(/\/\//g,"/")},Or=function(St,on){var Dn=St.menu,aa=Dn===void 0?{}:Dn,oa=St.indexRoute,Jr=St.path,Ia=Jr===void 0?"":Jr,Li=St.children||St[nt],no=aa.name,es=no===void 0?St.name:no,Bo=aa.icon,Uo=Bo===void 0?St.icon:Bo,Dc=aa.hideChildren,nc=Dc===void 0?St.hideChildren:Dc,Ms=aa.flatMenu,Eo=Ms===void 0?St.flatMenu:Ms,Is=oa&&Object.keys(oa).join(",")!=="redirect"?[H({path:Ia,menu:aa},oa)].concat(Li||[]):Li,$s=H({},St);if(es&&($s.name=es),Uo&&($s.icon=Uo),Is&&Is.length){if(nc)return delete $s[nt],delete $s.children,$s;var _l=Nn(H(H({},on),{},{data:Is}),St);if(Eo)return _l;$s[nt]=_l}return $s},Yn=function(St){return Array.isArray(St)&&St.length>0};function Nn(Rn){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},on=Rn.data,Dn=Rn.formatMessage,aa=Rn.parentName,oa=Rn.locale;return!on||!Array.isArray(on)?[]:on.filter(function(Jr){return Jr?Yn(Jr[nt])||Yn(Jr.children)||Jr.path||Jr.originPath||Jr.layout?!0:(Jr.redirect||Jr.unaccessible,!1):!1}).filter(function(Jr){var Ia,Li;return(Jr==null||(Ia=Jr.menu)===null||Ia===void 0?void 0:Ia.name)||(Jr==null?void 0:Jr.flatMenu)||(Jr==null||(Li=Jr.menu)===null||Li===void 0?void 0:Li.flatMenu)?!0:Jr.menu!==!1}).map(function(Jr){var Ia=H({},Jr);return Ia.unaccessible&&delete Ia.name,Ia.path==="*"&&(Ia.path="."),Ia.path==="/*"&&(Ia.path="."),!Ia.path&&Ia.originPath&&(Ia.path=Ia.originPath),Ia}).map(function(){var Jr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},Ia=Jr.children||Jr[nt],Li=Zn(Jr.path,St?St.path:"/"),no=Jr.name,es=Sn(Jr,aa||"menu"),Bo=es!==!1&&oa!==!1&&Dn&&es?Dn({id:es,defaultMessage:no}):no,Uo=St.pro_layout_parentKeys,Dc=Uo===void 0?[]:Uo,nc=St.children,Ms=St.icon,Eo=St.flatMenu,Is=St.indexRoute,$s=St.routes,_l=un(St,le),Wl=new Set([].concat(Wr(Dc),Wr(Jr.parentKeys||[])));St.key&&Wl.add(St.key);var Hu=H(H(H({},_l),{},{menu:void 0},Jr),{},{path:Li,locale:es,key:Jr.key||kn(H(H({},Jr),{},{path:Li})),pro_layout_parentKeys:Array.from(Wl).filter(function(Cd){return Cd&&Cd!=="/"})});if(Bo?Hu.name=Bo:delete Hu.name,Hu.menu===void 0&&delete Hu.menu,Yn(Ia)){var gd=Nn(H(H({},Rn),{},{data:Ia,parentName:es||""}),Hu);Yn(gd)&&(Hu[nt]=gd,Hu.children=gd)}return Or(Hu,Rn)}).flat(1)}var Zt=me(Nn,te.a),rr=function Rn(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return St.filter(function(on){return on&&(on.name||Yn(on[nt])||Yn(on.children))&&!on.hideInMenu&&!on.redirect}).map(function(on){var Dn=H({},on),aa=Dn.children||Dn[nt];if(Yn(aa)&&!Dn.hideChildrenInMenu&&aa.some(function(Ia){return Ia&&!!Ia.name})){var oa,Jr=Rn(aa);if(Jr.length)return H(H({},Dn),{},(oa={},ot(oa,nt,Jr),ot(oa,"children",Jr),oa))}return H(H({},on),{},ot({},nt,void 0))}).filter(function(on){return on})},Gn=function(Rn){Qt(on,Rn);var St=cn(on);function on(){return At(this,on),St.apply(this,arguments)}return Dt(on,[{key:"get",value:function(aa){var oa;try{var Jr=Ut(this.entries()),Ia;try{for(Jr.s();!(Ia=Jr.n()).done;){var Li=$e(Ia.value,2),no=Li[0],es=Li[1],Bo=Ct(no);if(!Wt(no)&&Ne(Bo,[]).test(aa)){oa=es;break}}}catch(Uo){Jr.e(Uo)}finally{Jr.f()}}catch(Uo){oa=void 0}return oa}}]),on}(_n(Map)),ln=function(St){var on=new Gn,Dn=function aa(oa,Jr){oa.forEach(function(Ia){var Li=Ia.children||Ia[nt];Yn(Li)&&aa(Li,Ia);var no=Zn(Ia.path,Jr?Jr.path:"/");on.set(Ct(no),Ia)})};return Dn(St),on},Xn=me(ln,te.a),Kn=function Rn(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return St.map(function(on){var Dn=on.children||on[nt];if(Yn(Dn)){var aa=Rn(Dn);if(aa.length)return H(H({},on),{},ot({},nt,aa))}var oa=H({},on);return delete oa[nt],delete oa.children,oa}).filter(function(on){return on})},fr=function(St,on,Dn,aa){var oa=Zt({data:St,formatMessage:Dn,locale:on}),Jr=aa?Kn(oa):rr(oa),Ia=Xn(oa);return{breadcrumb:Ia,menuData:Jr}},Hn=fr;function Sa(Rn,St){var on=Object.keys(Rn);if(Object.getOwnPropertySymbols){var Dn=Object.getOwnPropertySymbols(Rn);St&&(Dn=Dn.filter(function(aa){return Object.getOwnPropertyDescriptor(Rn,aa).enumerable})),on.push.apply(on,Dn)}return on}function Lr(Rn){for(var St=1;St<arguments.length;St++){var on=arguments[St]!=null?arguments[St]:{};St%2?Sa(Object(on),!0).forEach(function(Dn){Ca(Rn,Dn,on[Dn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rn,Object.getOwnPropertyDescriptors(on)):Sa(Object(on)).forEach(function(Dn){Object.defineProperty(Rn,Dn,Object.getOwnPropertyDescriptor(on,Dn))})}return Rn}function Ca(Rn,St,on){return St in Rn?Object.defineProperty(Rn,St,{value:on,enumerable:!0,configurable:!0,writable:!0}):Rn[St]=on,Rn}var za=function Rn(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],on={};return St.forEach(function(Dn){if(!(!Dn||!Dn.key)){var aa=Dn.children||Dn[nt];on[Ct(Dn.path||Dn.key||"/")]=Lr({},Dn),on[Dn.key||Dn.path||"/"]=Lr({},Dn),aa&&(on=Lr(Lr({},on),Rn(aa)))}}),on},Ma=za,va=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],on=arguments.length>1?arguments[1]:void 0,Dn=arguments.length>2?arguments[2]:void 0;return St.filter(function(aa){if(aa==="/"&&on==="/")return!0;if(aa!=="/"&&aa!=="/*"&&aa&&!Wt(aa)){var oa=Ct(aa);try{if(Dn&&Ne("".concat(oa)).test(on)||Ne("".concat(oa),[]).test(on)||Ne("".concat(oa,"/(.*)")).test(on))return!0}catch(Jr){}}return!1}).sort(function(aa,oa){return aa===on?10:oa===on?-10:aa.substr(1).split("/").length-oa.substr(1).split("/").length})},qa=function(St,on,Dn,aa){var oa=Ma(on),Jr=Object.keys(oa),Ia=va(Jr,St||"/",aa);return!Ia||Ia.length<1?[]:(Dn||(Ia=[Ia[Ia.length-1]]),Ia.map(function(Li){var no=oa[Li]||{pro_layout_parentKeys:"",key:""},es=new Map,Bo=(no.pro_layout_parentKeys||[]).map(function(Uo){return es.has(Uo)?null:(es.set(Uo,!0),oa[Uo])}).filter(function(Uo){return Uo});return no.key&&Bo.push(no),Bo}).flat(1))},gi=qa,Qi=l("TSYQ"),mi=l.n(Qi),Cr=l("BGR+");function Un(Rn){var St=O.useRef();St.current=Rn;var on=O.useCallback(function(){for(var Dn,aa=arguments.length,oa=new Array(aa),Jr=0;Jr<aa;Jr++)oa[Jr]=arguments[Jr];return(Dn=St.current)===null||Dn===void 0?void 0:Dn.call.apply(Dn,[St].concat(oa))},[]);return on}function Lt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var gn=Lt()?O.useLayoutEffect:O.useEffect,Ln=function(St,on){var Dn=O.useRef(!0);gn(function(){return St(Dn.current)},on),gn(function(){return Dn.current=!1,function(){Dn.current=!0}},[])},kr=function(St,on){Ln(function(Dn){if(!Dn)return St()},on)},ea=Ln;function Qr(Rn){var St=O.useRef(!1),on=O.useState(Rn),Dn=Object(J.a)(on,2),aa=Dn[0],oa=Dn[1];O.useEffect(function(){return St.current=!1,function(){St.current=!0}},[]);function Jr(Ia,Li){Li&&St.current||oa(Ia)}return[aa,Jr]}function Na(Rn){return Rn!==void 0}function ar(Rn,St){var on=St||{},Dn=on.defaultValue,aa=on.value,oa=on.onChange,Jr=on.postState,Ia=Qr(function(){return Na(aa)?aa:Na(Dn)?typeof Dn=="function"?Dn():Dn:typeof Rn=="function"?Rn():Rn}),Li=Object(J.a)(Ia,2),no=Li[0],es=Li[1],Bo=aa!==void 0?aa:no,Uo=Jr?Jr(Bo):Bo,Dc=Un(oa),nc=Qr([Bo]),Ms=Object(J.a)(nc,2),Eo=Ms[0],Is=Ms[1];kr(function(){var _l=Eo[0];no!==_l&&Dc(no,_l)},[Eo]),kr(function(){Na(aa)||es(aa)},[aa]);var $s=Un(function(_l,Wl){es(_l,Wl),Is([Bo],Wl)});return[Uo,$s]}var pi=l("Lpa7"),_i=l("SE9/"),ti=l("2W6z"),ui=l.n(ti),Ri=l("mQwV"),ao=l("T2oS"),Zi=l("W9HT"),Fi=["isLoading","pastDelay","timedOut","error","retry"],Si=function(St){var on=St.isLoading,Dn=St.pastDelay,aa=St.timedOut,oa=St.error,Jr=St.retry,Ia=Object(F.a)(St,Fi);return Object(X.jsx)("div",{style:{paddingTop:100,textAlign:"center"},children:Object(X.jsx)(Zi.a,Object($.a)({size:"large"},Ia))})},qi=Si,eo=l("bbsP"),xo=l("/wGt"),cs=l("zP5H");function ba(){var Rn=Object(O.useState)([]),St=Object(J.a)(Rn,2),on=St[0],Dn=St[1];return{flatMenuKeys:on,setFlatMenuKeys:Dn}}var sa=Object(cs.a)(ba),Da=sa,On=l("lUTK"),xn=l("BvKs"),Rt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"},mr=Rt,ta=l("6VBw"),ma=function(St,on){return O.createElement(ta.a,Object($.a)(Object($.a)({},St),{},{ref:on,icon:mr}))};ma.displayName="MenuUnfoldOutlined";var Oa=O.forwardRef(ma),Pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"},Kr=Pn,Vn=function(St,on){return O.createElement(ta.a,Object($.a)(Object($.a)({},St),{},{ref:on,icon:Kr}))};Vn.displayName="MenuFoldOutlined";var tr=O.forwardRef(Vn),Ea=l("cWXX"),Ja=l("/ezw"),go=l("KQm4"),fi=l("vuIU"),lo=l("1OyB"),Oi=l("R+Pm"),io=l("8ub7"),Vi=function(St){if(!St||!St.startsWith("http"))return!1;try{var on=new URL(St);return!!on}catch(Dn){return!1}},vo=Vi;function qo(Rn){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(Rn)}var hs=qo,$t={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},rt=$t,Vt=function Rn(St){return(St||[]).reduce(function(on,Dn){if(Dn.key&&on.push(Dn.key),Dn.routes){var aa=on.concat(Rn(Dn.routes)||[]);return aa}return on},[])},tn={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function wn(Rn){return Rn&&tn[Rn]?tn[Rn]:Rn}function qn(Rn){return Rn.map(function(St){var on=St.children||St.routes,Dn=Object($.a)({},St);if(!Dn.name||Dn.hideInMenu)return null;if(Dn&&(Dn==null?void 0:Dn.routes)){if(!Dn.hideChildrenInMenu&&on.some(function(aa){return aa&&aa.name&&!aa.hideInMenu}))return Object($.a)(Object($.a)({},St),{},{children:qn(on),routes:qn(on)});delete Dn.routes,delete Dn.children}return Dn}).filter(function(St){return St})}var zn=l("Re9Q"),xr=Object(Oi.a)({scriptUrl:rt.iconfontUrl}),da=function(St){var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof St=="string"&&St!==""){if(vo(St)||hs(St))return Object(X.jsx)(io.a,{component:function(){return Object(X.jsx)("img",{src:St,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(St.startsWith(on))return Object(X.jsx)(xr,{type:St})}return St},en=Object(fi.a)(function Rn(St){var on=this;Object(lo.a)(this,Rn),this.props=void 0,this.getNavMenuItems=function(){var Dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],aa=arguments.length>1?arguments[1]:void 0;return Dn.map(function(oa){return on.getSubMenuOrItem(oa,aa)}).filter(function(oa){return oa})},this.getSubMenuOrItem=function(Dn,aa){var oa=(Dn==null?void 0:Dn.children)||(Dn==null?void 0:Dn.routes);if(Array.isArray(oa)&&oa.length>0){var Jr=on.getIntlName(Dn),Ia=on.props,Li=Ia.subMenuItemRender,no=Ia.prefixCls,es=Ia.menu,Bo=Ia.iconPrefixes,Uo=Dn.icon?Object(X.jsxs)("span",{className:"".concat(no,"-menu-item"),title:Jr,children:[!aa&&da(Dn.icon,Bo),Object(X.jsx)("span",{className:"".concat(no,"-menu-item-title"),children:Jr})]}):Object(X.jsx)("span",{className:"".concat(no,"-menu-item"),title:Jr,children:Jr}),Dc=Li?Li(Object($.a)(Object($.a)({},Dn),{},{isUrl:!1}),Uo,on.props):Uo;return{type:(es==null?void 0:es.type)==="group"?"group":void 0,label:Dc,children:on.getNavMenuItems(oa,!0),onTitleClick:Dn.onTitleClick,key:Dn.key||Dn.path}}return{label:on.getMenuItemPath(Dn,aa),title:on.getIntlName(Dn),key:Dn.key||Dn.path,disabled:Dn.disabled,onClick:function(Ms){var Eo;vo(Dn==null?void 0:Dn.path)&&window.open(Dn.path,"_blank"),(Eo=Dn.onTitleClick)===null||Eo===void 0||Eo.call(Dn,Ms)}}},this.getIntlName=function(Dn){var aa=Dn.name,oa=Dn.locale,Jr=on.props,Ia=Jr.menu,Li=Jr.formatMessage;return oa&&(Ia==null?void 0:Ia.locale)!==!1?Li==null?void 0:Li({id:oa,defaultMessage:aa}):aa},this.getMenuItemPath=function(Dn,aa){var oa=on.conversionPath(Dn.path||"/"),Jr=on.props,Ia=Jr.location,Li=Ia===void 0?{pathname:"/"}:Ia,no=Jr.isMobile,es=Jr.onCollapse,Bo=Jr.menuItemRender,Uo=Jr.iconPrefixes,Dc=on.getIntlName(Dn),nc=on.props.prefixCls,Ms=aa?null:da(Dn.icon,Uo),Eo=vo(oa),Is=Object(X.jsxs)("span",{className:mi()("".concat(nc,"-menu-item"),Object(j.a)({},"".concat(nc,"-menu-item-link"),Eo)),children:[Ms,Object(X.jsx)("span",{className:"".concat(nc,"-menu-item-title"),children:Dc})]});if(Bo){var $s=Object($.a)(Object($.a)({},Dn),{},{isUrl:Eo,itemPath:oa,isMobile:no,replace:oa===Li.pathname,onClick:function(){Eo&&window.open(oa,"_blank"),es&&es(!0)},children:void 0});return Bo($s,Is,on.props)}return Is},this.conversionPath=function(Dn){return Dn&&Dn.indexOf("http")===0?Dn:"/".concat(Dn||"").replace(/\/+/g,"/")},this.props=St}),Fn=function(St,on){var Dn=on.layout,aa=on.collapsed,oa={};return St&&!aa&&["side","mix"].includes(Dn||"mix")&&(oa={openKeys:St}),oa},Jn=function(St){var on=St.theme,Dn=St.mode,aa=St.className,oa=St.handleOpenChange,Jr=St.style,Ia=St.menuData,Li=St.menu,no=St.matchMenuKeys,es=St.iconfontUrl,Bo=St.collapsed,Uo=St.selectedKeys,Dc=St.onSelect,nc=St.openKeys,Ms=Object(O.useRef)([]),Eo=Da.useContainer(),Is=Eo.flatMenuKeys,$s=Object(ie.a)(Li==null?void 0:Li.defaultOpenAll),_l=Object(J.a)($s,2),Wl=_l[0],Hu=_l[1],gd=Object(ie.a)(function(){return(Li==null?void 0:Li.defaultOpenAll)?Vt(Ia)||[]:nc===!1?!1:[]},{value:nc===!1?void 0:nc,onChange:oa}),Cd=Object(J.a)(gd,2),Gu=Cd[0],ol=Cd[1],Md=Object(ie.a)([],{value:Uo,onChange:Dc?function(vp){Dc&&vp&&Dc(vp)}:void 0}),Ff=Object(J.a)(Md,2),pp=Ff[0],Vu=Ff[1];Object(O.useEffect)(function(){(Li==null?void 0:Li.defaultOpenAll)||nc===!1||Is.length||no&&(ol(no),Vu(no))},[no.join("-")]),Object(O.useEffect)(function(){es&&(xr=Object(Oi.a)({scriptUrl:es}))},[es]),Object(O.useEffect)(function(){if(no.join("-")!==(pp||[]).join("-")&&Vu(no),!Wl&&nc!==!1&&no.join("-")!==(Gu||[]).join("-")){var vp=no;(Li==null?void 0:Li.autoClose)===!1&&(vp=Array.from(new Set([].concat(Object(go.a)(no),Object(go.a)(Gu||[]))))),ol(vp)}else(Li==null?void 0:Li.ignoreFlatMenu)&&Wl?ol(Vt(Ia)):Is.length>0&&Hu(!1)},[no.join("-"),Bo]);var lf=Object(O.useMemo)(function(){return Fn(Gu,St)},[Gu&&Gu.join(","),St.layout,St.collapsed]),cp=Object(O.useState)(function(){return new en(St)}),Gf=Object(J.a)(cp,1),wp=Gf[0];if(Li==null?void 0:Li.loading)return Object(X.jsx)("div",{style:(Dn==null?void 0:Dn.includes("inline"))?{padding:24}:{marginTop:16},children:Object(X.jsx)(Ja.a,{active:!0,title:!1,paragraph:{rows:(Dn==null?void 0:Dn.includes("inline"))?6:1}})});var Tp=mi()(aa,{"top-nav-menu":Dn==="horizontal"});wp.props=St,St.openKeys===!1&&!St.handleOpenChange&&(Ms.current=no);var lp=St.postMenuData?St.postMenuData(Ia):Ia;return lp&&(lp==null?void 0:lp.length)<1?null:Object(O.createElement)(xn.a,Object($.a)(Object($.a)({},lf),{},{key:"Menu",mode:Dn,items:wp.getNavMenuItems(lp,!1),inlineIndent:16,defaultOpenKeys:Ms.current,theme:on,selectedKeys:pp,style:Jr,className:Tp,onOpenChange:ol},St.menuProps))};Jn.defaultProps={postMenuData:function(St){return St||[]}};var Ir=Jn,Gr=T.a.Sider,ga=function(St){return typeof St=="string"?Object(X.jsx)("img",{src:St,alt:"logo"}):typeof St=="function"?St():St},Mr=function(St){var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",Dn=St.logo,aa=St.title,oa=St.layout,Jr=St[on||""];if(Jr===!1)return null;var Ia=ga(Dn),Li=Object(X.jsx)("h1",{children:aa!=null?aa:"Ant Design Pro"});return Jr?Jr(Ia,St.collapsed?null:Li,St):oa==="mix"&&on==="menuHeaderRender"?null:Object(X.jsxs)("a",{children:[Ia,St.collapsed?null:Li]})},$a=function(St){return St?Object(X.jsx)(Oa,{}):Object(X.jsx)(tr,{})},Ya=function(St){var on,Dn=St.collapsed,aa=St.fixSiderbar,oa=St.menuFooterRender,Jr=St.onCollapse,Ia=St.theme,Li=St.siderWidth,no=St.isMobile,es=St.onMenuHeaderClick,Bo=St.breakpoint,Uo=Bo===void 0?"lg":Bo,Dc=St.style,nc=St.layout,Ms=St.menuExtraRender,Eo=Ms===void 0?!1:Ms,Is=St.collapsedButtonRender,$s=Is===void 0?$a:Is,_l=St.links,Wl=St.menuContentRender,Hu=St.prefixCls,gd=St.onOpenChange,Cd=St.headerHeight,Gu=St.logoStyle,ol="".concat(Hu,"-sider"),Md=Da.useContainer(),Ff=Md.flatMenuKeys,pp=mi()("".concat(ol),(on={},Object(j.a)(on,"".concat(ol,"-fixed"),aa),Object(j.a)(on,"".concat(ol,"-layout-").concat(nc),nc&&!no),Object(j.a)(on,"".concat(ol,"-light"),Ia!=="dark"),on)),Vu=Mr(St),lf=Eo&&Eo(St),cp=Wl!==!1&&Ff&&Object(O.createElement)(Ir,Object($.a)(Object($.a)({},St),{},{key:"base-menu",mode:"inline",handleOpenChange:gd,style:{width:"100%"},className:"".concat(ol,"-menu")})),Gf=Wl?Wl(St,cp):cp,wp=(_l||[]).map(function(Tp,lp){return{className:"".concat(ol,"-link"),label:Tp,key:lp}});return $s&&!no&&wp.push({className:"".concat(ol,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){Jr&&Jr(!Dn)},label:$s(Dn)}),Object(X.jsxs)(X.Fragment,{children:[aa&&Object(X.jsx)("div",{style:Object($.a)({width:Dn?48:Li,overflow:"hidden",flex:"0 0 ".concat(Dn?48:Li,"px"),maxWidth:Dn?48:Li,minWidth:Dn?48:Li,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},Dc)}),Object(X.jsxs)(Gr,{collapsible:!0,trigger:null,collapsed:Dn,breakpoint:Uo===!1?void 0:Uo,onCollapse:function(lp){no||Jr==null||Jr(lp)},collapsedWidth:48,style:Object($.a)({overflow:"hidden",paddingTop:nc==="mix"&&!no?Cd:void 0},Dc),width:Li,theme:Ia,className:pp,children:[Vu&&Object(X.jsx)("div",{className:mi()("".concat(ol,"-logo"),Object(j.a)({},"".concat(ol,"-collapsed"),Dn)),onClick:nc!=="mix"?es:void 0,id:"logo",style:Gu,children:Vu}),lf&&Object(X.jsx)("div",{className:"".concat(ol,"-extra ").concat(!Vu&&"".concat(ol,"-extra-no-logo")),children:lf}),Object(X.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Gf}),Object(X.jsx)("div",{className:"".concat(ol,"-links"),children:Object(X.jsx)(xn.a,{theme:Ia,inlineIndent:16,className:"".concat(ol,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:wp})}),oa&&Object(X.jsx)("div",{className:mi()("".concat(ol,"-footer"),Object(j.a)({},"".concat(ol,"-footer-collapsed"),!Dn)),children:oa(St)})]})]})},_o=Ya,Ni=function(St){var on=St.isMobile,Dn=St.menuData,aa=St.siderWidth,oa=St.collapsed,Jr=St.onCollapse,Ia=St.style,Li=St.className,no=St.hide,es=St.getContainer,Bo=St.prefixCls,Uo=St.matchMenuKeys,Dc=Da.useContainer(),nc=Dc.setFlatMenuKeys;Object(O.useEffect)(function(){if(!(!Dn||Dn.length<1)){var Eo=Ma(Dn);nc(Object.keys(Eo))}},[Uo.join("-")]),Object(O.useEffect)(function(){on===!0&&(Jr==null||Jr(!0))},[on]);var Ms=Object(Cr.a)(St,["className","style"]);return no?null:on?Object(X.jsx)(xo.a,{visible:!oa,placement:"left",className:mi()("".concat(Bo,"-drawer-sider"),Li),onClose:function(){return Jr==null?void 0:Jr(!0)},style:Object($.a)({padding:0,height:"100vh"},Ia),getContainer:es,width:aa,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:Object(X.jsx)(_o,Object($.a)(Object($.a)({},Ms),{},{className:mi()("".concat(Bo,"-sider"),Li),collapsed:on?!1:oa,splitMenus:!1}))}):Object(X.jsx)(_o,Object($.a)(Object($.a)({className:mi()("".concat(Bo,"-sider"),Li)},Ms),{},{style:Ia}))},ec=Ni,ks={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},jo=ks,Qn=function(St,on){return O.createElement(ta.a,Object($.a)(Object($.a)({},St),{},{ref:on,icon:jo}))};Qn.displayName="CopyrightOutlined";var ka=O.forwardRef(Qn),Pa=l("DPCm"),Qa=function(Rn){var St=Rn.className,on=Rn.prefixCls,Dn=Rn.links,aa=Rn.copyright,oa=Rn.style,Jr=Object(O.useContext)(U.a.ConfigContext),Ia=Jr.getPrefixCls(on||"pro-global-footer");if((Dn==null||Dn===!1||Array.isArray(Dn)&&Dn.length===0)&&(aa==null||aa===!1))return null;var Li=mi()(Ia,St);return Object(X.jsxs)("div",{className:Li,style:oa,children:[Dn&&Object(X.jsx)("div",{className:"".concat(Ia,"-links"),children:Dn.map(function(no){return Object(X.jsx)("a",{title:no.key,target:no.blankTarget?"_blank":"_self",href:no.href,rel:"noreferrer",children:no.title},no.key)})}),aa&&Object(X.jsx)("div",{className:"".concat(Ia,"-copyright"),children:aa})]})},Ei=T.a.Footer,zo=function(St){var on=St.links,Dn=St.copyright,aa=St.style,oa=St.className,Jr=St.prefixCls;return Object(X.jsx)(Ei,{className:oa,style:Object($.a)({padding:0},aa),children:Object(X.jsx)(Qa,{links:on,prefixCls:Jr,copyright:Dn===!1?null:Object(X.jsxs)(O.Fragment,{children:[Object(X.jsx)(ka,{})," ",Dn]})})})},fo=zo,gs=l("vRGJ"),Ks=l.n(gs),pc=function(St,on,Dn){if(Dn){var aa=Object(go.a)(Dn.keys()).find(function(Jr){return Ks()(Jr).test(St)});if(aa)return Dn.get(aa)}if(on){var oa=Object.keys(on).find(function(Jr){return Ks()(Jr).test(St)});if(oa)return on[oa]}return{path:""}},tc=function(St,on){var Dn=St.pathname,aa=Dn===void 0?"/":Dn,oa=St.breadcrumb,Jr=St.breadcrumbMap,Ia=St.formatMessage,Li=St.title,no=St.menu,es=no===void 0?{locale:!1}:no,Bo=on?"":Li||"",Uo=pc(aa,oa,Jr);if(!Uo)return{title:Bo,id:"",pageName:Bo};var Dc=Uo.name;return es.locale!==!1&&Uo.locale&&Ia&&(Dc=Ia({id:Uo.locale||"",defaultMessage:Uo.name})),Dc?on||!Li?{title:Dc,id:Uo.locale||"",pageName:Dc}:{title:"".concat(Dc," - ").concat(Li),id:Uo.locale||"",pageName:Dc}:{title:Bo,id:Uo.locale||"",pageName:Bo}},xc=function(St,on){return tc(St,on).title},kc=xc,Ss=l("Ji7U"),Js=l("LK+K"),Mo=l("HBdL"),js=l("t23M"),Yc=l("UPUD"),gc=["rightContentRender","prefixCls"],Cl=function(St){var on=St.rightContentRender,Dn=St.prefixCls,aa=Object(F.a)(St,gc),oa=Object(O.useState)("auto"),Jr=Object(J.a)(oa,2),Ia=Jr[0],Li=Jr[1],no=Object(Mo.a)(function(){var es=Object(N.a)(Object(D.a)().mark(function Bo(Uo){return Object(D.a)().wrap(function(nc){for(;;)switch(nc.prev=nc.next){case 0:Li(Uo);case 1:case"end":return nc.stop()}},Bo)}));return function(Bo){return es.apply(this,arguments)}}(),160);return Object(X.jsx)("div",{className:"".concat(Dn,"-right-content"),style:{minWidth:Ia},children:Object(X.jsx)("div",{style:{paddingRight:8},children:Object(X.jsx)(js.a,{onResize:function(Bo){var Uo=Bo.width;no.run(Uo)},children:on&&Object(X.jsx)("div",{className:"".concat(Dn,"-right-content-resize"),children:on(Object($.a)(Object($.a)({},aa),{},{rightContentSize:Ia}))})})})})},wl=function(St){var on=Object(O.useRef)(null),Dn=St.theme,aa=St.onMenuHeaderClick,oa=St.contentWidth,Jr=St.rightContentRender,Ia=St.className,Li=St.style,no=St.headerContentRender,es=St.layout,Bo="".concat(St.prefixCls||"ant-pro","-top-nav-header"),Uo=Mr(Object($.a)(Object($.a)({},St),{},{collapsed:!1}),es==="mix"?"headerTitleRender":void 0),Dc=mi()(Bo,Ia,{light:Dn==="light"}),nc=Object(X.jsx)(Ir,Object($.a)(Object($.a)({},St),St.menuProps)),Ms=no?no==null?void 0:no(St,nc):nc;return Object(X.jsx)("div",{className:Dc,style:Li,children:Object(X.jsxs)("div",{ref:on,className:"".concat(Bo,"-main ").concat(oa==="Fixed"?"wide":""),children:[Uo&&Object(X.jsx)("div",{className:"".concat(Bo,"-main-left"),onClick:aa,children:Object(X.jsx)("div",{className:"".concat(Bo,"-logo"),id:"logo",children:Uo},"logo")}),Object(X.jsx)("div",{style:{flex:1},className:"".concat(Bo,"-menu"),children:Ms}),Jr&&Object(X.jsx)(Cl,Object($.a)({rightContentRender:Jr,prefixCls:Bo},St))]})})},Wc=wl,nl=l("W3vr"),Rc=function(St,on){return St===!1?null:St?St(on,null):on},su=function(St){var on=St.isMobile,Dn=St.logo,aa=St.collapsed,oa=St.onCollapse,Jr=St.collapsedButtonRender,Ia=Jr===void 0?$a:Jr,Li=St.rightContentRender,no=St.menuHeaderRender,es=St.onMenuHeaderClick,Bo=St.className,Uo=St.style,Dc=St.layout,nc=St.children,Ms=St.headerTheme,Eo=Ms===void 0?"dark":Ms,Is=St.splitMenus,$s=St.menuData,_l=St.prefixCls,Wl=Object(O.useContext)(U.a.ConfigContext),Hu=Wl.direction,gd="".concat(_l,"-global-header"),Cd=mi()(Bo,gd,Object(j.a)({},"".concat(gd,"-layout-").concat(Dc),Dc&&Eo==="dark"));if(Dc==="mix"&&!on&&Is){var Gu=($s||[]).map(function(pp){return Object($.a)(Object($.a)({},pp),{},{children:void 0,routes:void 0})}),ol=qn(Gu);return Object(X.jsx)(Wc,Object($.a)(Object($.a)({mode:"horizontal"},St),{},{splitMenus:!1,menuData:ol,theme:Eo}))}var Md=mi()("".concat(gd,"-logo"),Object(j.a)({},"".concat(gd,"-logo-rtl"),Hu==="rtl")),Ff=Object(X.jsx)("span",{className:Md,children:Object(X.jsx)("a",{children:ga(Dn)})},"logo");return Object(X.jsxs)("div",{className:Cd,style:Object($.a)({},Uo),children:[on&&Rc(no,Ff),on&&Ia&&Object(X.jsx)("span",{className:"".concat(gd,"-collapsed-button"),onClick:function(){oa&&oa(!aa)},children:Ia(aa)}),Dc==="mix"&&!on&&Object(X.jsx)(X.Fragment,{children:Object(X.jsx)("div",{className:Md,onClick:es,children:Mr(Object($.a)(Object($.a)({},St),{},{collapsed:!1}),"headerTitleRender")})}),Object(X.jsx)("div",{style:{flex:1},children:nc}),Li&&Li(St)]})},Pl=su,al=l("YPDd"),Ml=T.a.Header,Tl=function(Rn){Object(Ss.a)(on,Rn);var St=Object(Js.a)(on);function on(){var Dn;Object(lo.a)(this,on);for(var aa=arguments.length,oa=new Array(aa),Jr=0;Jr<aa;Jr++)oa[Jr]=arguments[Jr];return Dn=St.call.apply(St,[this].concat(oa)),Dn.renderContent=function(){var Ia=Dn.props,Li=Ia.isMobile,no=Ia.onCollapse,es=Ia.navTheme,Bo=Ia.layout,Uo=Ia.headerRender,Dc=Ia.headerContentRender,nc=Bo==="top",Ms=qn(Dn.props.menuData||[]),Eo=Object(X.jsx)(Pl,Object($.a)(Object($.a)({onCollapse:no},Dn.props),{},{menuData:Ms,children:Dc&&Dc(Dn.props,null)}));return nc&&!Li&&(Eo=Object(X.jsx)(Wc,Object($.a)(Object($.a)({theme:es,mode:"horizontal",onCollapse:no},Dn.props),{},{menuData:Ms}))),Uo&&typeof Uo=="function"?Uo(Dn.props,Eo):Eo},Dn}return Object(fi.a)(on,[{key:"render",value:function(){var aa,oa=this.props,Jr=oa.fixedHeader,Ia=oa.layout,Li=oa.className,no=oa.style,es=oa.navTheme,Bo=oa.collapsed,Uo=oa.siderWidth,Dc=oa.hasSiderMenu,nc=oa.isMobile,Ms=oa.prefixCls,Eo=oa.headerHeight,Is=Jr||Ia==="mix",$s=Ia==="top",_l=Is&&Dc&&!$s&&!nc,Wl=mi()(Li,(aa={},Object(j.a)(aa,"".concat(Ms,"-fixed-header"),Is),Object(j.a)(aa,"".concat(Ms,"-fixed-header-action"),!Bo),Object(j.a)(aa,"".concat(Ms,"-top-menu"),$s),Object(j.a)(aa,"".concat(Ms,"-header-").concat(es),es&&Ia!=="mix"),aa)),Hu=Ia!=="mix"&&_l?"calc(100% - ".concat(Bo?48:Uo,"px)"):"100%",gd=Is?0:void 0;return Object(X.jsxs)(X.Fragment,{children:[Is&&Object(X.jsx)(Ml,{style:{height:Eo,lineHeight:"".concat(Eo,"px"),background:"transparent"}}),Object(X.jsx)(Ml,{style:Object($.a)({padding:0,height:Eo,lineHeight:"".concat(Eo,"px"),width:Hu,zIndex:Ia==="mix"?100:19,right:gd},no),className:Wl,children:this.renderContent()})]})}}]),on}(O.Component),td=Tl,rl={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},dl=Object($.a)({},rl),qt={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.daybreak":"Blu cielo mattutino (default)","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},nr=Object($.a)({},qt),Ur={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},Yr=Object($.a)({},Ur),ni={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.daybreak":"\u62C2\u6653\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},vi=Object($.a)({},ni),zr={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},wr=Object($.a)({},zr),Ua={"zh-CN":vi,"zh-TW":wr,"en-US":dl,"it-IT":nr,"ko-KR":Yr},La=function(){if(!Object(G.a)())return"zh-CN";var St=window.localStorage.getItem("umi_locale");return St||window.g_locale||navigator.language},Nr=function(){var St=La();return Ua[St]||Ua["zh-CN"]},ua=Object(O.createContext)({}),ra=ua,ri=function(St){var on=["sidemenu","topmenu"];return on.includes(St)?St==null?void 0:St.replace("menu",""):St},li=ri;function hi(Rn){if(!Rn||Rn==="/")return["/"];var St=Rn.split("/").filter(function(on){return on});return St.map(function(on,Dn){return"/".concat(St.slice(0,Dn+1).join("/"))})}var ii=function(St){var on=St.breadcrumbName,Dn=St.path;return Object(X.jsx)("a",{href:Dn,children:on})},Di=function(St,on){var Dn=on.formatMessage,aa=on.menu;return St.locale&&Dn&&(aa==null?void 0:aa.locale)!==!1?Dn({id:St.locale,defaultMessage:St.name}):St.name},Xo=function(St,on){var Dn=St.get(on);if(!Dn){var aa=Array.from(St.keys())||[],oa=aa.find(function(Jr){return Ks()(Jr.replace("?","")).test(on)});oa&&(Dn=St.get(oa))}return Dn||{path:""}},ps=function(St){var on=St.location,Dn=St.breadcrumbMap;return{location:on,breadcrumbMap:Dn}},mc=function(St,on,Dn){var aa=hi(St==null?void 0:St.pathname),oa=aa.map(function(Jr){var Ia=Xo(on,Jr),Li=Di(Ia,Dn),no=Ia.hideInBreadcrumb;return Li&&!no?{path:Jr,breadcrumbName:Li,component:Ia.component}:{path:"",breadcrumbName:""}}).filter(function(Jr){return Jr&&Jr.path});return oa},Ts=function(St){var on=ps(St),Dn=on.location,aa=on.breadcrumbMap;return Dn&&Dn.pathname&&aa?mc(Dn,aa,St):[]},Ar=function(St,on){var Dn=St.breadcrumbRender,aa=St.itemRender,oa=on.breadcrumbProps||{},Jr=oa.minLength,Ia=Jr===void 0?2:Jr,Li=Ts(St),no=aa||ii,es=Li;return Dn&&(es=Dn(es)||[]),(es&&es.length<Ia||Dn===!1)&&(es=void 0),{routes:es,itemRender:no}};function Gs(Rn){return Object(go.a)(Rn).reduce(function(St,on){var Dn=Object(J.a)(on,2),aa=Dn[0],oa=Dn[1];return St[aa]=oa,St},{})}var Nc=function Rn(St,on,Dn,aa){var oa=Hn(St,(on==null?void 0:on.locale)||!1,Dn,!0),Jr=oa.menuData,Ia=oa.breadcrumb;return aa?Rn(aa(Jr),on,Dn,void 0):{breadcrumb:Gs(Ia),breadcrumbMap:Ia,menuData:Jr}},Jc=Nc,Fc=l("U8pU"),Ro=l("PjWh"),Dl=function(St){var on=Object(O.useState)({}),Dn=Object(J.a)(on,2),aa=Dn[0],oa=Dn[1];return Object(O.useEffect)(function(){oa(Object(Ro.a)({layout:Object(Fc.a)(St.layout)!=="object"?St.layout:void 0,navTheme:St.navTheme,menuRender:St.menuRender,footerRender:St.footerRender,menuHeaderRender:St.menuHeaderRender,headerRender:St.headerRender,fixSiderbar:St.fixSiderbar,headerTheme:St.headerTheme}))},[St.layout,St.navTheme,St.menuRender,St.footerRender,St.menuHeaderRender,St.headerRender,St.fixSiderbar,St.headerTheme]),aa},Vl=Dl,hu=l("3j9d"),ru=function(St){var on=St.autoClearCache,Dn=on===void 0?!0:on,aa=St.style,oa=St.className,Jr=St.children,Ia=St.ErrorBoundary||hu.a;return Object(X.jsx)(ee.a,{autoClearCache:Dn,children:St.ErrorBoundary===!1?Object(X.jsx)(T.a.Content,{className:oa,style:aa,children:Jr}):Object(X.jsx)(Ia,{children:Object(X.jsx)(T.a.Content,{className:oa,style:aa,children:Jr})})})},pd=ru,ql=["id","defaultMessage"],Ru=["fixSiderbar","navTheme","layout"],Hl=0,fu=function(St,on){return St.headerRender===!1||St.pure?null:Object(X.jsx)(td,Object($.a)({matchMenuKeys:on},St))},nd=function(St){return St.footerRender===!1||St.pure?null:St.footerRender?St.footerRender(Object($.a)({},St),Object(X.jsx)(fo,{})):null},bd=function(St,on){var Dn=St.layout,aa=St.navTheme,oa=St.isMobile,Jr=St.openKeys,Ia=St.splitMenus,Li=St.menuRender;if(St.menuRender===!1||St.pure)return null;var no=St.menuData;if(Ia&&(Jr!==!1||Dn==="mix")&&!oa){var es=Object(J.a)(on,1),Bo=es[0];if(Bo){var Uo,Dc;no=((Uo=St.menuData)===null||Uo===void 0||(Dc=Uo.find(function(Eo){return Eo.key===Bo}))===null||Dc===void 0?void 0:Dc.routes)||[]}else no=[]}var nc=qn(no||[]);if(nc&&(nc==null?void 0:nc.length)<1&&Ia)return null;if(Dn==="top"&&!oa)return Object(X.jsx)(ec,Object($.a)(Object($.a)({matchMenuKeys:on},St),{},{hide:!0}));var Ms=Object(X.jsx)(ec,Object($.a)(Object($.a)({matchMenuKeys:on},St),{},{style:aa==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:nc}));return Li?Li(St,Ms):Ms},ml=function(St,on){var Dn=on.pageTitleRender,aa=tc(St);if(Dn===!1)return{title:on.title||"",id:"",pageName:""};if(Dn){var oa=Dn(St,aa.title,aa);if(typeof oa=="string")return Object($.a)(Object($.a)({},aa),{},{title:oa});ui()(typeof oa=="string","pro-layout: renderPageTitle return value should be a string")}return aa},os=function(St,on,Dn){return St?on?48:Dn:0},wu=function(St){var on,Dn,aa,oa,Jr=St||{},Ia=Jr.children,Li=Jr.onCollapse,no=Jr.location,es=no===void 0?{pathname:"/"}:no,Bo=Jr.contentStyle,Uo=Jr.route,Dc=Jr.defaultCollapsed,nc=Jr.style,Ms=Jr.disableContentMargin,Eo=Jr.siderWidth,Is=Eo===void 0?208:Eo,$s=Jr.menu,_l=Jr.isChildrenLayout,Wl=Jr.menuDataRender,Hu=Jr.actionRef,gd=Jr.formatMessage,Cd=Jr.loading,Gu=Object(O.useContext)(U.a.ConfigContext),ol=(on=St.prefixCls)!==null&&on!==void 0?on:Gu.getPrefixCls("pro"),Md=Object(ie.a)(!1,{value:$s==null?void 0:$s.loading,onChange:$s==null?void 0:$s.onLoadingChange}),Ff=Object(J.a)(Md,2),pp=Ff[0],Vu=Ff[1],lf=Object(O.useState)(function(){return Hl+=1,"pro-layout-".concat(Hl)}),cp=Object(J.a)(lf,1),Gf=cp[0],wp=Object(O.useCallback)(function(Br){var ei=Br.id,Ao=Br.defaultMessage,so=Object(F.a)(Br,ql);if(gd)return gd(Object($.a)({id:ei,defaultMessage:Ao},so));var So=Nr();return So[ei]?So[ei]:Ao},[gd]),Tp=Object(pi.b)(function(){return($s==null?void 0:$s.params)?[Gf,$s==null?void 0:$s.params]:[Gf,{}]},function(){var Br=Object(N.a)(Object(D.a)().mark(function ei(Ao,so){var So,To;return Object(D.a)().wrap(function(rc){for(;;)switch(rc.prev=rc.next){case 0:return Vu(!0),rc.next=3,$s==null||(So=$s.request)===null||So===void 0?void 0:So.call($s,so,(Uo==null?void 0:Uo.routes)||[]);case 3:return To=rc.sent,Vu(!1),rc.abrupt("return",To);case 6:case"end":return rc.stop()}},ei)}));return function(ei,Ao){return Br.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),lp=Tp.data,vp=Tp.mutate,Uv=Object(pi.c)(),tv=Uv.cache;Object(O.useEffect)(function(){return function(){tv instanceof Map&&tv.clear()}},[]);var ph=Object(O.useMemo)(function(){return Jc(lp||(Uo==null?void 0:Uo.routes)||[],$s,wp,Wl)},[wp,$s,Wl,lp,Uo==null?void 0:Uo.routes]),up=ph||{},Xv=up.breadcrumb,Fh=Xv===void 0?{}:Xv,hp=up.breadcrumbMap,kf=up.menuData,Df=kf===void 0?[]:kf;Hu&&($s==null?void 0:$s.request)&&(Hu.current={reload:function(){vp()}});var Bv=Object(O.useMemo)(function(){return gi(es.pathname||"/",Df||[],!0)},[es.pathname,Df]),Sv=Object(O.useMemo)(function(){return Array.from(new Set(Bv.map(function(Br){return Br.key||Br.path||""})))},[Bv]),Pp=Bv[Bv.length-1]||{},wv=Vl(Pp),Qf=Object($.a)(Object($.a)({},St),wv),lv=Qf.fixSiderbar,nv=Qf.navTheme,Hp=Qf.layout,Tv=Object(F.a)(Qf,Ru),Gp=li(Hp),Ap=Object(_i.a)(),hv=(Ap==="sm"||Ap==="xs")&&!St.disableMobile,kp=Gp!=="top"&&!hv,bp=ar(function(){return Dc!==void 0?Dc:!!(hv||Ap==="md")},{value:St.collapsed,onChange:Li}),jf=Object(J.a)(bp,2),qf=jf[0],Eh=jf[1],Av=Object(Cr.a)(Object($.a)(Object($.a)(Object($.a)({prefixCls:ol},St),{},{siderWidth:Is},wv),{},{formatMessage:wp,breadcrumb:Fh,menu:Object($.a)(Object($.a)({},$s),{},{loading:pp}),layout:Gp}),["className","style","breadcrumbRender"]),Lg=ml(Object($.a)(Object($.a)({pathname:es.pathname},Av),{},{breadcrumbMap:hp}),St),Fg=Ar(Object($.a)(Object($.a)({},Av),{},{breadcrumbRender:St.breadcrumbRender,breadcrumbMap:hp}),St),xh=bd(Object($.a)(Object($.a)({},Av),{},{menuData:Df,onCollapse:Eh,isMobile:hv,theme:nv==="dark"?"dark":"light",collapsed:qf}),Sv),gv=fu(Object($.a)(Object($.a)({},Av),{},{hasSiderMenu:!!xh,menuData:Df,isMobile:hv,collapsed:qf,onCollapse:Eh,theme:nv==="dark"?"dark":"light"}),Sv),vh=nd(Object($.a)({isMobile:hv,collapsed:qf},Av)),Uh=Object(O.useContext)(ra),Sh=Uh.isChildrenLayout,mv=_l!==void 0?_l:Sh,Jv="".concat(ol,"-basicLayout"),mg=mi()(St.className,"ant-design-pro",Jv,(Dn={},Object(j.a)(Dn,"screen-".concat(Ap),Ap),Object(j.a)(Dn,"".concat(Jv,"-top-menu"),Gp==="top"),Object(j.a)(Dn,"".concat(Jv,"-is-children"),mv),Object(j.a)(Dn,"".concat(Jv,"-fix-siderbar"),lv),Object(j.a)(Dn,"".concat(Jv,"-").concat(Gp),Gp),Dn)),Zv=os(!!kp,qf,Is),hh={position:"relative"};(mv||Bo&&Bo.minHeight)&&(hh.minHeight=0);var gh=mi()("".concat(Jv,"-content"),(aa={},Object(j.a)(aa,"".concat(Jv,"-has-header"),gv),Object(j.a)(aa,"".concat(Jv,"-content-disable-margin"),Ms),aa));Object(O.useEffect)(function(){var Br;(Br=St.onPageChange)===null||Br===void 0||Br.call(St,St.location)},[es.pathname,(oa=es.pathname)===null||oa===void 0?void 0:oa.search]);var kv=Object(O.useState)(!1),$p=Object(J.a)(kv,2),od=$p[0],_r=$p[1];return W(Lg,St.title||!1),Object(X.jsx)(Da.Provider,{children:Object(X.jsx)(ra.Provider,{value:Object($.a)(Object($.a)({},Av),{},{breadcrumb:Fg,menuData:Df,isMobile:hv,collapsed:qf,isChildrenLayout:!0,title:Lg.pageName,hasSiderMenu:!!xh,hasHeader:!!gv,siderWidth:Zv,hasFooter:!!vh,hasFooterToolbar:od,setHasFooterToolbar:_r,pageTitleInfo:Lg,matchMenus:Bv,matchMenuKeys:Sv,currentMenu:Pp}),children:St.pure?Object(X.jsx)(ee.a,{autoClearCache:!0,children:Ia}):Object(X.jsx)("div",{className:mg,children:Object(X.jsxs)(T.a,{style:Object($.a)({minHeight:"100%"},nc),children:[xh,Object(X.jsxs)("div",{style:hh,className:Gu.getPrefixCls("layout"),children:[gv,Object(X.jsx)(pd,Object($.a)(Object($.a)({autoClearCache:!1,isChildrenLayout:mv},Tv),{},{className:gh,style:Bo,children:Cd?Object(X.jsx)(qi,{}):Ia})),vh]})]})})})})},cd=function(){return Object(X.jsxs)("svg",{width:"32px",height:"32px",viewBox:"0 0 200 200",children:[Object(X.jsxs)("defs",{children:[Object(X.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[Object(X.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),Object(X.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),Object(X.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[Object(X.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),Object(X.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),Object(X.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),Object(X.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[Object(X.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),Object(X.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),Object(X.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),Object(X.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[Object(X.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),Object(X.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),Object(X.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),Object(X.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:Object(X.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:Object(X.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:Object(X.jsxs)("g",{children:[Object(X.jsxs)("g",{fillRule:"nonzero",children:[Object(X.jsxs)("g",{children:[Object(X.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),Object(X.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),Object(X.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),Object(X.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})};wu.defaultProps=Object($.a)(Object($.a)({logo:Object(X.jsx)(cd,{})},rt),{},{location:Object(G.a)()?window.location:void 0});var Ud=wu,Eu=l("1YHl"),El=l("VNzZ"),eu=l("YV/h"),rd=l("Telt"),yn=l("AOa7"),Dr=l("qVdP"),Xr=l("DYRE"),Ta=l("bf48"),Ra=l("bE4q"),wi=l("Znn+"),mo=l("ZTPi"),Yi=l("rsCp"),Ji=["children","className","extra","style","renderContent"],Vs=function(St){var on=St.children,Dn=St.className,aa=St.extra,oa=St.style,Jr=St.renderContent,Ia=Object(F.a)(St,Ji),Li=Object(O.useContext)(U.a.ConfigContext),no=Li.getPrefixCls,es=St.prefixCls||no("pro"),Bo="".concat(es,"-footer-bar"),Uo=Object(O.useContext)(ra),Dc=Object(O.useMemo)(function(){var Ms=Uo.hasSiderMenu,Eo=Uo.isMobile,Is=Uo.siderWidth;if(!!Ms)return Is?Eo?"100%":"calc(100% - ".concat(Is,"px)"):"100%"},[Uo.collapsed,Uo.hasSiderMenu,Uo.isMobile,Uo.siderWidth]),nc=Object(X.jsxs)(X.Fragment,{children:[Object(X.jsx)("div",{className:"".concat(Bo,"-left"),children:aa}),Object(X.jsx)("div",{className:"".concat(Bo,"-right"),children:on})]});return Object(O.useEffect)(function(){return!Uo||!(Uo==null?void 0:Uo.setHasFooterToolbar)?function(){}:(Uo==null||Uo.setHasFooterToolbar(!0),function(){var Ms;Uo==null||(Ms=Uo.setHasFooterToolbar)===null||Ms===void 0||Ms.call(Uo,!1)})},[]),Object(X.jsx)("div",Object($.a)(Object($.a)({className:mi()(Dn,"".concat(Bo)),style:Object($.a)({width:Dc},oa)},Object(Cr.a)(Ia,["prefixCls"])),{},{children:Jr?Jr(Object($.a)(Object($.a)(Object($.a)({},St),Uo),{},{leftWidth:Dc}),nc):nc}))},Jo=Vs,dn=l("DnfT"),pn=function(St){var on=Object(O.useContext)(ra),Dn=St.children,aa=St.contentWidth,oa=St.className,Jr=St.style,Ia=Object(O.useContext)(U.a.ConfigContext),Li=Ia.getPrefixCls,no=St.prefixCls||Li("pro"),es=aa||on.contentWidth,Bo="".concat(no,"-grid-content");return Object(X.jsx)("div",{className:mi()(Bo,oa,{wide:es==="Fixed"}),style:Jr,children:Object(X.jsx)("div",{className:"".concat(no,"-grid-content-children"),children:Dn})})},sr=pn,lr=function(St){if(!St)return 1;var on=St.backingStorePixelRatio||St.webkitBackingStorePixelRatio||St.mozBackingStorePixelRatio||St.msBackingStorePixelRatio||St.oBackingStorePixelRatio||St.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/on},_a=function(St){var on=St.children,Dn=St.style,aa=St.className,oa=St.markStyle,Jr=St.markClassName,Ia=St.zIndex,Li=Ia===void 0?9:Ia,no=St.gapX,es=no===void 0?212:no,Bo=St.gapY,Uo=Bo===void 0?222:Bo,Dc=St.width,nc=Dc===void 0?120:Dc,Ms=St.height,Eo=Ms===void 0?64:Ms,Is=St.rotate,$s=Is===void 0?-22:Is,_l=St.image,Wl=St.content,Hu=St.offsetLeft,gd=St.offsetTop,Cd=St.fontStyle,Gu=Cd===void 0?"normal":Cd,ol=St.fontWeight,Md=ol===void 0?"normal":ol,Ff=St.fontColor,pp=Ff===void 0?"rgba(0,0,0,.15)":Ff,Vu=St.fontSize,lf=Vu===void 0?16:Vu,cp=St.fontFamily,Gf=cp===void 0?"sans-serif":cp,wp=St.prefixCls,Tp=Object(O.useContext)(U.a.ConfigContext),lp=Tp.getPrefixCls,vp=lp("pro-layout-watermark",wp),Uv=mi()("".concat(vp,"-wrapper"),aa),tv=mi()(vp,Jr),ph=Object(O.useState)(""),up=Object(J.a)(ph,2),Xv=up[0],Fh=up[1];return Object(O.useEffect)(function(){var hp=document.createElement("canvas"),kf=hp.getContext("2d"),Df=lr(kf),Bv="".concat((es+nc)*Df,"px"),Sv="".concat((Uo+Eo)*Df,"px"),Pp=Hu||es/2,wv=gd||Uo/2;if(hp.setAttribute("width",Bv),hp.setAttribute("height",Sv),kf){kf.translate(Pp*Df,wv*Df),kf.rotate(Math.PI/180*Number($s));var Qf=nc*Df,lv=Eo*Df;if(_l){var nv=new Image;nv.crossOrigin="anonymous",nv.referrerPolicy="no-referrer",nv.src=_l,nv.onload=function(){kf.drawImage(nv,0,0,Qf,lv),Fh(hp.toDataURL())}}else if(Wl){var Hp=Number(lf)*Df;kf.font="".concat(Gu," normal ").concat(Md," ").concat(Hp,"px/").concat(lv,"px ").concat(Gf),kf.fillStyle=pp,Array.isArray(Wl)?Wl==null||Wl.forEach(function(Tv,Gp){return kf.fillText(Tv,0,Gp*50)}):kf.fillText(Wl,0,0),Fh(hp.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[es,Uo,Hu,gd,$s,Gu,Md,nc,Eo,Gf,pp,_l,Wl,lf]),Object(X.jsxs)("div",{style:Object($.a)({position:"relative"},Dn),className:Uv,children:[on,Object(X.jsx)("div",{className:tv,style:Object($.a)(Object($.a)({zIndex:Li,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(es+nc,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},Xv?{backgroundImage:"url('".concat(Xv,"')")}:null),oa)})]})},Fa=_a,Va=l("u/V1"),di=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","style","prefixCls","breadcrumbRender"],Ci=["children","loading","className","style","footer","affixProps","ghost","fixedHeader","breadcrumbRender"];function wo(Rn){return Object(Fc.a)(Rn)==="object"?Rn:{spinning:Rn}}var ho=function(St){var on=St.tabList,Dn=St.tabActiveKey,aa=St.onTabChange,oa=St.tabBarExtraContent,Jr=St.tabProps,Ia=St.prefixedClassName;return Array.isArray(on)||oa?Object(X.jsx)(mo.a,Object($.a)(Object($.a)({className:"".concat(Ia,"-tabs"),activeKey:Dn,onChange:function(no){aa&&aa(no)},tabBarExtraContent:oa},Jr),{},{children:on==null?void 0:on.map(function(Li,no){return Object(O.createElement)(mo.a.TabPane,Object($.a)(Object($.a)({},Li),{},{tab:Li.tab,key:Li.key||no}))})})):null},Io=function(St,on,Dn){return!St&&!on?null:Object(X.jsx)("div",{className:"".concat(Dn,"-detail"),children:Object(X.jsx)("div",{className:"".concat(Dn,"-main"),children:Object(X.jsxs)("div",{className:"".concat(Dn,"-row"),children:[St&&Object(X.jsx)("div",{className:"".concat(Dn,"-content"),children:St}),on&&Object(X.jsx)("div",{className:"".concat(Dn,"-extraContent"),children:on})]})})})},Fo=function(St){var on=Object(O.useContext)(ra);return Object(X.jsx)("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:Object(X.jsx)(Ra.a,Object($.a)(Object($.a)(Object($.a)({},on==null?void 0:on.breadcrumb),on==null?void 0:on.breadcrumbProps),St))})},xs=function(St){var on,Dn=Object(O.useContext)(ra),aa=St.title,oa=St.content,Jr=St.pageHeaderRender,Ia=St.header,Li=St.prefixedClassName,no=St.extraContent,es=St.style,Bo=St.prefixCls,Uo=St.breadcrumbRender,Dc=Object(F.a)(St,di),nc=Object(O.useMemo)(function(){if(!!Uo)return Uo},[Uo]);if(Jr===!1)return null;if(Jr)return Object(X.jsxs)(X.Fragment,{children:[" ",Jr(Object($.a)(Object($.a)({},St),Dn))]});var Ms=aa;!aa&&aa!==!1&&(Ms=Dn.title);var Eo=Object($.a)(Object($.a)(Object($.a)({},Dn),{},{title:Ms},Dc),{},{footer:ho(Object($.a)(Object($.a)({},Dc),{},{breadcrumbRender:Uo,prefixedClassName:Li}))},Ia),Is=Eo.breadcrumb,$s=(!Is||!(Is==null?void 0:Is.itemRender)&&!(Is==null||(on=Is.routes)===null||on===void 0?void 0:on.length))&&!Uo;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(_l){return!Eo[_l]})&&$s&&!oa&&!no?null:Object(X.jsx)("div",{className:"".concat(Li,"-warp"),children:Object(X.jsx)(Ta.a,Object($.a)(Object($.a)({},Eo),{},{breadcrumb:Uo===!1?void 0:Object($.a)(Object($.a)({},Eo.breadcrumb),Dn.breadcrumbProps),breadcrumbRender:nc,prefixCls:Bo,children:(Ia==null?void 0:Ia.children)||Io(oa,no,Li)}))})},ms=function(St){var on,Dn,aa=St.children,oa=St.loading,Jr=oa===void 0?!1:oa,Ia=St.className,Li=St.style,no=St.footer,es=St.affixProps,Bo=St.ghost,Uo=St.fixedHeader,Dc=St.breadcrumbRender,nc=Object(F.a)(St,Ci),Ms=Object(O.useContext)(ra),Eo=Object(O.useContext)(U.a.ConfigContext),Is=Eo.getPrefixCls,$s=St.prefixCls||Is("pro"),_l="".concat($s,"-page-container"),Wl=mi()(_l,Ia,(on={},Object(j.a)(on,"".concat($s,"-page-container-ghost"),Bo),Object(j.a)(on,"".concat($s,"-page-container-with-footer"),no),on)),Hu=Object(O.useMemo)(function(){return aa?Object(X.jsxs)(X.Fragment,{children:[Object(X.jsx)("div",{className:"".concat(_l,"-children-content"),children:aa}),Ms.hasFooterToolbar&&Object(X.jsx)("div",{style:{height:48,marginTop:24}})]}):null},[aa,_l,Ms.hasFooterToolbar]),gd=Object(O.useMemo)(function(){var Md;return Dc==!1?!1:Dc||(nc==null||(Md=nc.header)===null||Md===void 0?void 0:Md.breadcrumbRender)},[Dc,nc==null||(Dn=nc.header)===null||Dn===void 0?void 0:Dn.breadcrumbRender]),Cd=Object(X.jsx)(xs,Object($.a)(Object($.a)({},nc),{},{breadcrumbRender:gd,ghost:Bo,prefixCls:void 0,prefixedClassName:_l})),Gu=Object(O.useMemo)(function(){if(C.a.isValidElement(Jr))return Jr;if(typeof Jr=="boolean"&&!Jr)return null;var Md=wo(Jr);return Md.spinning?Object(X.jsx)(qi,Object($.a)({},Md)):null},[Jr]),ol=Object(O.useMemo)(function(){var Md=Gu||Hu;if(St.waterMarkProps||Ms.waterMarkProps){var Ff=Object($.a)(Object($.a)({},Ms.waterMarkProps),St.waterMarkProps);return Object(X.jsx)(Fa,Object($.a)(Object($.a)({},Ff),{},{children:Md}))}return Md},[St.waterMarkProps,Ms.waterMarkProps,Gu,Hu]);return Object(X.jsxs)("div",{style:Li,className:Wl,children:[Uo&&Cd?Object(X.jsx)(El.a,Object($.a)(Object($.a)({offsetTop:Ms.hasHeader&&Ms.fixedHeader?Ms.headerHeight:0},es),{},{children:Cd})):Cd,ol&&Object(X.jsx)(sr,{children:ol}),no&&Object(X.jsx)(Jo,{prefixCls:$s,children:no})]})},ys=ms,bs=ys,Po=Ud,yr=l("rZaO"),Ls=l("jsC+"),Zs=l("Tckk"),Sc=l("aIfO");function Hs(Rn,St,on,Dn){if(Rn.rightRender)return Rn.rightRender(on,Dn,Rn);var aa=Object(X.jsx)(xn.a,{className:"umi-plugin-layout-menu",children:Object(X.jsxs)(xn.a.Item,{onClick:function(){return Rn.logout&&(Rn==null?void 0:Rn.logout(on))},children:[Object(X.jsx)(Sc.a,{}),"\u9000\u51FA\u767B\u5F55"]},"logout")}),oa=Object(X.jsxs)("span",{className:"umi-plugin-layout-action",children:[Object(X.jsx)(Zs.a,{size:"small",className:"umi-plugin-layout-avatar",src:(on==null?void 0:on.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),Object(X.jsx)("span",{className:"umi-plugin-layout-name",children:on==null?void 0:on.name})]});return St?Object(X.jsx)("div",{className:"umi-plugin-layout-right",children:Object(X.jsx)(Zi.a,{size:"small",style:{marginLeft:8,marginRight:8}})}):Object(X.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[Rn.logout?Object(X.jsx)(Ls.a,{overlay:aa,overlayClassName:"umi-plugin-layout-container",children:oa}):oa,k.b&&Object(X.jsx)(k.b,{})]})}var bc=l("J+/v"),cr=l("MoRW"),qr=l("+L6B"),yi=l("2/Rp");function Ki(){k.d.push("/")}var uo=function(){return Object(X.jsx)(cr.a,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:Object(X.jsx)(yi.a,{type:"primary",onClick:Ki,children:"\u8FD4\u56DE\u9996\u9875"})})},As=function(){return Object(X.jsx)(cr.a,{status:"403",title:"403",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",extra:Object(X.jsx)(yi.a,{type:"primary",onClick:Ki,children:"\u8FD4\u56DE\u9996\u9875"})})},zc=function(St){var on=St.children,Dn=St.currentPathConfig;return Dn?Dn.unAccessible||Dn.unaccessible?St.unAccessible||Object(X.jsx)(As,{}):on:St.noFound||Object(X.jsx)(uo,{})},cc=l("n2rz"),fl=l.n(cc);function Bc(Rn,St){return St>>>Rn|St<<32-Rn}function Gl(Rn,St,on){return Rn&St^~Rn&on}function Fl(Rn,St,on){return Rn&St^Rn&on^St&on}function pl(Rn){return Bc(2,Rn)^Bc(13,Rn)^Bc(22,Rn)}function gu(Rn){return Bc(6,Rn)^Bc(11,Rn)^Bc(25,Rn)}function bl(Rn){return Bc(7,Rn)^Bc(18,Rn)^Rn>>>3}function tu(Rn){return Bc(17,Rn)^Bc(19,Rn)^Rn>>>10}function hl(Rn,St){return Rn[St&15]+=tu(Rn[St+14&15])+Rn[St+9&15]+bl(Rn[St+1&15])}var ju=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],il,Mu,ji,xa="0123456789abcdef";function as(Rn,St){var on=(Rn&65535)+(St&65535),Dn=(Rn>>16)+(St>>16)+(on>>16);return Dn<<16|on&65535}function ws(){il=new Array(8),Mu=new Array(2),ji=new Array(64),Mu[0]=Mu[1]=0,il[0]=1779033703,il[1]=3144134277,il[2]=1013904242,il[3]=2773480762,il[4]=1359893119,il[5]=2600822924,il[6]=528734635,il[7]=1541459225}function Cs(){var Rn,St,on,Dn,aa,oa,Jr,Ia,Li,no,es=new Array(16);Rn=il[0],St=il[1],on=il[2],Dn=il[3],aa=il[4],oa=il[5],Jr=il[6],Ia=il[7];for(var Bo=0;Bo<16;Bo++)es[Bo]=ji[(Bo<<2)+3]|ji[(Bo<<2)+2]<<8|ji[(Bo<<2)+1]<<16|ji[Bo<<2]<<24;for(var Uo=0;Uo<64;Uo++)Li=Ia+gu(aa)+Gl(aa,oa,Jr)+ju[Uo],Uo<16?Li+=es[Uo]:Li+=hl(es,Uo),no=pl(Rn)+Fl(Rn,St,on),Ia=Jr,Jr=oa,oa=aa,aa=as(Dn,Li),Dn=on,on=St,St=Rn,Rn=as(Li,no);il[0]+=Rn,il[1]+=St,il[2]+=on,il[3]+=Dn,il[4]+=aa,il[5]+=oa,il[6]+=Jr,il[7]+=Ia}function $o(Rn,St){var on,Dn,aa=0;Dn=Mu[0]>>3&63;var oa=St&63;for((Mu[0]+=St<<3)<St<<3&&Mu[1]++,Mu[1]+=St>>29,on=0;on+63<St;on+=64){for(var Jr=Dn;Jr<64;Jr++)ji[Jr]=Rn.charCodeAt(aa++);Cs(),Dn=0}for(var Ia=0;Ia<oa;Ia++)ji[Ia]=Rn.charCodeAt(aa++)}function _c(){var Rn=Mu[0]>>3&63;if(ji[Rn++]=128,Rn<=56)for(var St=Rn;St<56;St++)ji[St]=0;else{for(var on=Rn;on<64;on++)ji[on]=0;Cs();for(var Dn=0;Dn<56;Dn++)ji[Dn]=0}ji[56]=Mu[1]>>>24&255,ji[57]=Mu[1]>>>16&255,ji[58]=Mu[1]>>>8&255,ji[59]=Mu[1]&255,ji[60]=Mu[0]>>>24&255,ji[61]=Mu[0]>>>16&255,ji[62]=Mu[0]>>>8&255,ji[63]=Mu[0]&255,Cs()}function Lc(){for(var Rn=0,St=new Array(32),on=0;on<8;on++)St[Rn++]=il[on]>>>24&255,St[Rn++]=il[on]>>>16&255,St[Rn++]=il[on]>>>8&255,St[Rn++]=il[on]&255;return St}function Rl(){for(var Rn=new String,St=0;St<8;St++)for(var on=28;on>=0;on-=4)Rn+=xa.charAt(il[St]>>>on&15);return Rn}function Ol(Rn){return ws(),$o(Rn,Rn.length),_c(),Rl()}var cl=Ol;function au(Rn){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?au=function(on){return typeof on}:au=function(on){return on&&typeof Symbol=="function"&&on.constructor===Symbol&&on!==Symbol.prototype?"symbol":typeof on},au(Rn)}function Yu(Rn,St){return Hd(Rn)||Lu(Rn,St)||Uu(Rn,St)||Od()}function Od(){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 Lu(Rn,St){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Rn)))){var on=[],Dn=!0,aa=!1,oa=void 0;try{for(var Jr=Rn[Symbol.iterator](),Ia;!(Dn=(Ia=Jr.next()).done)&&(on.push(Ia.value),!(St&&on.length===St));Dn=!0);}catch(Li){aa=!0,oa=Li}finally{try{!Dn&&Jr.return!=null&&Jr.return()}finally{if(aa)throw oa}}return on}}function Hd(Rn){if(Array.isArray(Rn))return Rn}function af(Rn,St){var on;if(typeof Symbol=="undefined"||Rn[Symbol.iterator]==null){if(Array.isArray(Rn)||(on=Uu(Rn))||St&&Rn&&typeof Rn.length=="number"){on&&(Rn=on);var Dn=0,aa=function(){};return{s:aa,n:function(){return Dn>=Rn.length?{done:!0}:{done:!1,value:Rn[Dn++]}},e:function(no){throw no},f:aa}}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 oa=!0,Jr=!1,Ia;return{s:function(){on=Rn[Symbol.iterator]()},n:function(){var no=on.next();return oa=no.done,no},e:function(no){Jr=!0,Ia=no},f:function(){try{!oa&&on.return!=null&&on.return()}finally{if(Jr)throw Ia}}}}function Gd(Rn,St){if(!(Rn instanceof St))throw new TypeError("Cannot call a class as a function")}function Nd(Rn,St){for(var on=0;on<St.length;on++){var Dn=St[on];Dn.enumerable=Dn.enumerable||!1,Dn.configurable=!0,"value"in Dn&&(Dn.writable=!0),Object.defineProperty(Rn,Dn.key,Dn)}}function kd(Rn,St,on){return St&&Nd(Rn.prototype,St),on&&Nd(Rn,on),Rn}function xf(Rn,St){if(typeof St!="function"&&St!==null)throw new TypeError("Super expression must either be null or a function");Rn.prototype=Object.create(St&&St.prototype,{constructor:{value:Rn,writable:!0,configurable:!0}}),St&&ad(Rn,St)}function Bd(Rn){var St=cu();return function(){var Dn=Xu(Rn),aa;if(St){var oa=Xu(this).constructor;aa=Reflect.construct(Dn,arguments,oa)}else aa=Dn.apply(this,arguments);return Fu(this,aa)}}function Fu(Rn,St){return St&&(au(St)==="object"||typeof St=="function")?St:xd(Rn)}function xd(Rn){if(Rn===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Rn}function of(Rn){var St=typeof Map=="function"?new Map:void 0;return of=function(Dn){if(Dn===null||!ll(Dn))return Dn;if(typeof Dn!="function")throw new TypeError("Super expression must either be null or a function");if(typeof St!="undefined"){if(St.has(Dn))return St.get(Dn);St.set(Dn,aa)}function aa(){return ld(Dn,arguments,Xu(this).constructor)}return aa.prototype=Object.create(Dn.prototype,{constructor:{value:aa,enumerable:!1,writable:!0,configurable:!0}}),ad(aa,Dn)},of(Rn)}function ld(Rn,St,on){return cu()?ld=Reflect.construct:ld=function(aa,oa,Jr){var Ia=[null];Ia.push.apply(Ia,oa);var Li=Function.bind.apply(aa,Ia),no=new Li;return Jr&&ad(no,Jr.prototype),no},ld.apply(null,arguments)}function cu(){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(Rn){return!1}}function ll(Rn){return Function.toString.call(Rn).indexOf("[native code]")!==-1}function ad(Rn,St){return ad=Object.setPrototypeOf||function(Dn,aa){return Dn.__proto__=aa,Dn},ad(Rn,St)}function Xu(Rn){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(on){return on.__proto__||Object.getPrototypeOf(on)},Xu(Rn)}function _s(Rn){return Sf(Rn)||jd(Rn)||Uu(Rn)||jl()}function jl(){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 Uu(Rn,St){if(!!Rn){if(typeof Rn=="string")return Af(Rn,St);var on=Object.prototype.toString.call(Rn).slice(8,-1);if(on==="Object"&&Rn.constructor&&(on=Rn.constructor.name),on==="Map"||on==="Set")return Array.from(Rn);if(on==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(on))return Af(Rn,St)}}function jd(Rn){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(Rn))return Array.from(Rn)}function Sf(Rn){if(Array.isArray(Rn))return Af(Rn)}function Af(Rn,St){(St==null||St>Rn.length)&&(St=Rn.length);for(var on=0,Dn=new Array(St);on<St;on++)Dn[on]=Rn[on];return Dn}function mf(Rn,St){if(Rn==null)return{};var on=Ld(Rn,St),Dn,aa;if(Object.getOwnPropertySymbols){var oa=Object.getOwnPropertySymbols(Rn);for(aa=0;aa<oa.length;aa++)Dn=oa[aa],!(St.indexOf(Dn)>=0)&&(!Object.prototype.propertyIsEnumerable.call(Rn,Dn)||(on[Dn]=Rn[Dn]))}return on}function Ld(Rn,St){if(Rn==null)return{};var on={},Dn=Object.keys(Rn),aa,oa;for(oa=0;oa<Dn.length;oa++)aa=Dn[oa],!(St.indexOf(aa)>=0)&&(on[aa]=Rn[aa]);return on}function qd(Rn,St){var on=Object.keys(Rn);if(Object.getOwnPropertySymbols){var Dn=Object.getOwnPropertySymbols(Rn);St&&(Dn=Dn.filter(function(aa){return Object.getOwnPropertyDescriptor(Rn,aa).enumerable})),on.push.apply(on,Dn)}return on}function bu(Rn){for(var St=1;St<arguments.length;St++){var on=arguments[St]!=null?arguments[St]:{};St%2?qd(Object(on),!0).forEach(function(Dn){$d(Rn,Dn,on[Dn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rn,Object.getOwnPropertyDescriptors(on)):qd(Object(on)).forEach(function(Dn){Object.defineProperty(Rn,Dn,Object.getOwnPropertyDescriptor(on,Dn))})}return Rn}function $d(Rn,St,on){return St in Rn?Object.defineProperty(Rn,St,{value:on,enumerable:!0,configurable:!0,writable:!0}):Rn[St]=on,Rn}function Ju(Rn){return Rn.split("?")[0].split("#")[0]}var Jd=function(St){if(!St.startsWith("http"))return!1;try{var on=new URL(St);return!!on}catch(Dn){return!1}},Zo=function(St){var on=St.path;if(!on||on==="/")try{return"/".concat(cl(JSON.stringify(St)))}catch(Dn){}return on&&Ju(on)},Vr=function(St,on){var Dn=St.name,aa=St.locale;return"locale"in St&&aa===!1||!Dn?!1:St.locale||"".concat(on,".").concat(Dn)},Yo=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return(St||on).startsWith("/")||Jd(St)?St:"/".concat(on,"/").concat(St).replace(/\/\//g,"/").replace(/\/\//g,"/")},Mi=function(St,on){var Dn=St.menu,aa=Dn===void 0?{}:Dn,oa=St.indexRoute,Jr=St.path,Ia=Jr===void 0?"":Jr,Li=St.children,no=aa.name,es=no===void 0?St.name:no,Bo=aa.icon,Uo=Bo===void 0?St.icon:Bo,Dc=aa.hideChildren,nc=Dc===void 0?St.hideChildren:Dc,Ms=aa.flatMenu,Eo=Ms===void 0?St.flatMenu:Ms,Is=oa&&Object.keys(oa).join(",")!=="redirect"?[bu({path:Ia,menu:aa},oa)].concat(Li||[]):Li,$s=bu({},St);if(es&&($s.name=es),Uo&&($s.icon=Uo),Is&&Is.length){if(nc)return delete $s.children,$s;var _l=ds(bu(bu({},on),{},{data:Is}),St);if(Eo)return _l;$s.children=_l}return $s};function ds(Rn){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},on=Rn.data,Dn=Rn.formatMessage,aa=Rn.parentName,oa=Rn.locale;return!on||!Array.isArray(on)?[]:on.filter(function(Jr){return Jr?Jr.routes||Jr.children||Jr.path||Jr.layout?!0:(Jr.redirect,!1):!1}).filter(function(Jr){var Ia,Li;return Jr.unaccessible&&delete Jr.name,(Jr==null||(Ia=Jr.menu)===null||Ia===void 0?void 0:Ia.name)||(Jr==null?void 0:Jr.flatMenu)||(Jr==null||(Li=Jr.menu)===null||Li===void 0?void 0:Li.flatMenu)?!0:Jr.menu!==!1}).map(function(){var Jr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},Ia=Yo(Jr.path,St?St.path:"/"),Li=Jr.name,no=Vr(Jr,aa||"menu"),es=no!==!1&&oa!==!1&&Dn&&no?Dn({id:no,defaultMessage:Li}):Li,Bo=St.pro_layout_parentKeys,Uo=Bo===void 0?[]:Bo,Dc=St.children,nc=St.icon,Ms=St.flatMenu,Eo=St.indexRoute,Is=mf(St,["pro_layout_parentKeys","children","icon","flatMenu","indexRoute"]),$s=bu(bu(bu({},Is),{},{menu:void 0},Jr),{},{path:Ia,locale:no,key:Jr.key||Zo(bu(bu({},Jr),{},{path:Ia})),routes:null,pro_layout_parentKeys:Array.from(new Set([].concat(_s(Jr.parentKeys||[]),_s(Uo),["/".concat(St.key||"").replace(/\/\//g,"/").replace(/\/\//g,"/")]))).filter(function(Wl){return Wl&&Wl!=="/"})});if(es?$s.name=es:delete $s.name,$s.menu===void 0&&delete $s.menu,Jr.routes||Jr.children){var _l=ds(bu(bu({},Rn),{},{data:Jr.routes||Jr.children,parentName:no||""}),$s);$s.children=_l&&_l.length>0?_l:void 0,$s.children||delete $s.children}return Mi($s,Rn)}).flat(1)}var oc=me(ds,fl.a),Il=function Rn(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return St.filter(function(on){return on&&(on.name||on.children)&&!on.hideInMenu&&!on.redirect}).map(function(on){if(on.children&&Array.isArray(on.children)&&!on.hideChildrenInMenu&&on.children.some(function(aa){return aa&&!!aa.name})){var Dn=Rn(on.children);if(Dn.length)return bu(bu({},on),{},{children:Dn})}return bu(bu({},on),{},{children:void 0})}).filter(function(on){return on})},pu=function(Rn){xf(on,Rn);var St=Bd(on);function on(){return Gd(this,on),St.apply(this,arguments)}return kd(on,[{key:"get",value:function(aa){var oa;try{var Jr=af(this.entries()),Ia;try{for(Jr.s();!(Ia=Jr.n()).done;){var Li=Yu(Ia.value,2),no=Li[0],es=Li[1],Bo=Ju(no);if(!Jd(no)&&Ne(Bo,[]).test(aa)){oa=es;break}}}catch(Uo){Jr.e(Uo)}finally{Jr.f()}}catch(Uo){oa=void 0}return oa}}]),on}(of(Map)),Nl=function(St){var on=new pu,Dn=function aa(oa,Jr){oa.forEach(function(Ia){Ia&&Ia.children&&aa(Ia.children,Ia);var Li=Yo(Ia.path,Jr?Jr.path:"/");on.set(Ju(Li),Ia)})};return Dn(St),on},Du=me(Nl,fl.a),vu=function Rn(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return St.map(function(on){if(on.children&&Array.isArray(on.children)&&on.children.length>0){var Dn=Rn(on.children);if(Dn.length)return bu(bu({},on),{},{children:Dn})}var aa=bu({},on);return delete aa.children,aa}).filter(function(on){return on})},lu=function(St,on,Dn,aa){var oa=oc({data:St,formatMessage:Dn,locale:on}),Jr=aa?vu(oa):Il(oa),Ia=Du(oa);return{breadcrumb:Ia,menuData:Jr}},id=lu;function Ws(Rn,St){var on=Object.keys(Rn);if(Object.getOwnPropertySymbols){var Dn=Object.getOwnPropertySymbols(Rn);St&&(Dn=Dn.filter(function(aa){return Object.getOwnPropertyDescriptor(Rn,aa).enumerable})),on.push.apply(on,Dn)}return on}function re(Rn){for(var St=1;St<arguments.length;St++){var on=arguments[St]!=null?arguments[St]:{};St%2?Ws(Object(on),!0).forEach(function(Dn){Ae(Rn,Dn,on[Dn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Rn,Object.getOwnPropertyDescriptors(on)):Ws(Object(on)).forEach(function(Dn){Object.defineProperty(Rn,Dn,Object.getOwnPropertyDescriptor(on,Dn))})}return Rn}function Ae(Rn,St,on){return St in Rn?Object.defineProperty(Rn,St,{value:on,enumerable:!0,configurable:!0,writable:!0}):Rn[St]=on,Rn}var ct=function Rn(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],on={};return St.forEach(function(Dn){!Dn||!Dn.key||(on[Ju(Dn.path||Dn.key||"/")]=re({},Dn),on[Dn.key||Dn.path||"/"]=re({},Dn),Dn.children&&(on=re(re({},on),Rn(Dn.children))))}),on},wt=ct,an=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],on=arguments.length>1?arguments[1]:void 0,Dn=arguments.length>2?arguments[2]:void 0;return St.filter(function(aa){if(aa==="/"&&on==="/")return!0;if(aa!=="/"&&aa!=="/*"&&aa&&!Jd(aa)){var oa=Ju(aa);try{if(Dn&&Ne("".concat(oa)).test(on)||Ne("".concat(oa),[]).test(on)||Ne("".concat(oa,"/(.*)")).test(on))return!0}catch(Jr){}}return!1}).sort(function(aa,oa){return aa===on?10:oa===on?-10:aa.substr(1).split("/").length-oa.substr(1).split("/").length})},jr=function(St,on,Dn,aa){var oa=wt(on),Jr=Object.keys(oa),Ia=an(Jr,St||"/",aa);return!Ia||Ia.length<1?[]:(Dn||(Ia=[Ia[Ia.length-1]]),Ia.map(function(Li){var no=oa[Li]||{pro_layout_parentKeys:"",key:""},es=new Map,Bo=(no.pro_layout_parentKeys||[]).map(function(Uo){return es.has(Uo)?null:(es.set(Uo,!0),oa[Uo])}).filter(function(Uo){return Uo});return no.key&&Bo.push(no),Bo}).flat(1))},Xa=jr,fs=function(){return Object(X.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[Object(X.jsxs)("defs",{children:[Object(X.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[Object(X.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),Object(X.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),Object(X.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[Object(X.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),Object(X.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),Object(X.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),Object(X.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[Object(X.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),Object(X.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),Object(X.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),Object(X.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[Object(X.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),Object(X.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),Object(X.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),Object(X.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:Object(X.jsx)("g",{transform:"translate(-20 -20)",children:Object(X.jsx)("g",{transform:"translate(20 20)",children:Object(X.jsxs)("g",{children:[Object(X.jsxs)("g",{fillRule:"nonzero",children:[Object(X.jsxs)("g",{children:[Object(X.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),Object(X.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),Object(X.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),Object(X.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},Xs=fs,Uc=function(St){var on,Dn,aa,oa={};return St!=null&&St.hideFooter&&(oa.footerRender=!1),(St==null?void 0:St.layout)==!1?(oa.pure=!0,oa):(St!=null&&(on=St.layout)!==null&&on!==void 0&&on.hideMenu&&(oa.menuRender=!1),St!=null&&(Dn=St.layout)!==null&&Dn!==void 0&&Dn.hideFooter&&(oa.footerRender=!1),St!=null&&(aa=St.layout)!==null&&aa!==void 0&&aa.hideNav&&(oa.headerRender=!1),oa)},zl=Uc,Bu=["children","userConfig","location","route"],ud=function(St){var on,Dn=St.children,aa=St.userConfig,oa=aa===void 0?{}:aa,Jr=St.location,Ia=St.route,Li=Object(S.a)(St,Bu),no=k.j&&Object(k.j)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},es=no.initialState,Bo=no.loading,Uo=no.setInitialState,Dc=Object(O.useMemo)(function(){var Eo,Is=id((St==null||(Eo=St.route)===null||Eo===void 0?void 0:Eo.routes)||[],void 0,void 0,!0),$s=Is.menuData,_l=Xa(Jr.pathname,$s).pop();return _l||{}},[Jr==null?void 0:Jr.pathname,St==null||(on=St.route)===null||on===void 0?void 0:on.routes]),nc=Object(E.a)(Object(E.a)(Object(E.a)({itemRender:function(Is){return Object(X.jsx)(y.a,{to:Is.path,children:Is.breadcrumbName})}},oa),Li),zl(Dc||{})),Ms=k.h===null||k.h===void 0?void 0:Object(k.h)();return Object(X.jsx)(Po,Object(E.a)(Object(E.a)({route:Ia,location:Jr,title:(oa==null?void 0:oa.name)||(oa==null?void 0:oa.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(Is){Is.stopPropagation(),Is.preventDefault(),k.d.push("/")},menu:{locale:oa.locale},menuDataRender:oa.patchMenus?function(Eo){return oa==null?void 0:oa.patchMenus(Eo,no)}:void 0,formatMessage:oa==null?void 0:oa.formatMessage,logo:Xs,menuItemRender:function(Is,$s){return Is.isUrl?$s:Is.path&&Jr.pathname!==Is.path?Object(X.jsx)(y.a,{to:Is.path,target:Is.target,children:$s}):$s},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:k.g?function(Eo){return k.g===null||k.g===void 0?void 0:Object(k.g)(Eo,Ms)}:void 0},nc),{},{rightContentRender:(nc==null?void 0:nc.rightContentRender)!==!1&&function(Eo){var Is=Hs==null?void 0:Hs(oa,Bo,es,Uo);return nc.rightContentRender?nc.rightContentRender(Eo,Is,{userConfig:oa,loading:Bo,initialState:es,setInitialState:Uo}):Is},children:Object(X.jsx)(zc,{noFound:oa==null?void 0:oa.noFound,unAccessible:oa==null?void 0:oa.unAccessible,currentPathConfig:Dc,children:oa.childrenRender?oa.childrenRender(Dn,St):Dn})}))},Mp=ud,ev=R.default=function(Rn){var St=Object(O.useState)(null),on=Object(m.a)(St,2),Dn=on[0],aa=on[1],oa=k.j&&Object(k.j)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},Jr=k.h===null||k.h===void 0?void 0:Object(k.h)();Object(O.useEffect)(function(){var es=k.e.applyPlugins({key:"layout",type:A.ApplyPluginsType.modify,initialValue:Object(E.a)(Object(E.a)({},oa),{},{traverseModifyRoutes:function(Uo){return k.g===null||k.g===void 0?void 0:Object(k.g)(Uo,Jr)}})})||{};if(es instanceof Promise){es.then(function(Bo){aa(Bo)});return}aa(es)},[oa==null?void 0:oa.initialState,Jr]);var Ia=Object(E.a)(Object(E.a)({},{name:"",theme:"PRO",locale:!0,showBreadcrumb:!0,siderWidth:208,navTheme:"light",primaryColor:"#296DF3",layout:"mix",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"",pwa:!1,iconfontUrl:"//at.alicdn.com/t/c/font_3201979_drwu4z3kkbi.js",splitMenus:!0,menu:{defaultOpenAll:!0,autoClose:!1,ignoreFlatMenu:!0}}),Dn||{}),Li=Object(k.i)(),no=Li.formatMessage;return Dn?C.a.createElement(Mp,Object(E.a)({userConfig:Ia,formatMessage:no},Rn)):null}},PjWh:function(ce,R,l){"use strict";var E=function(O){var C={};if(Object.keys(O||{}).forEach(function(k){O[k]!==void 0&&(C[k]=O[k])}),!(Object.keys(C).length<1))return C};R.a=E},Pjkc:function(ce,R,l){},Pp3M:function(ce,R,l){"use strict";var E=l("/gva"),m=l("vO0A");ce.exports=E("Map",function(O){return function(){return O(this,arguments.length?arguments[0]:void 0)}},m)},PpiC:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});function E(O,C){if(O==null)return{};var k={},A=Object.keys(O),S,y;for(y=0;y<A.length;y++)S=A[y],!(C.indexOf(S)>=0)&&(k[S]=O[S]);return k}function m(O,C){if(O==null)return{};var k=E(O,C),A,S;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(O);for(S=0;S<y.length;S++)A=y[S],!(C.indexOf(A)>=0)&&(!Object.prototype.propertyIsEnumerable.call(O,A)||(k[A]=O[A]))}return k}},Pq08:function(ce,R,l){var E=l("MMxC"),m=l("cTDu"),O=l("P0e2"),C=l("MVys"),k=C(function(){O(1)});E({target:"Object",stat:!0,forced:k},{keys:function(S){return O(m(S))}})},PrET:function(ce,R,l){"use strict";var E=l("D3zA"),m=l("AM7I"),O=m("%Function.prototype.apply%"),C=m("%Function.prototype.call%"),k=m("%Reflect.apply%",!0)||E.call(C,O),A=m("%Object.getOwnPropertyDescriptor%",!0),S=m("%Object.defineProperty%",!0),y=m("%Math.max%");if(S)try{S({},"a",{value:1})}catch(x){S=null}ce.exports=function(T){var j=k(E,C,arguments);if(A&&S){var D=A(j,"length");D.configurable&&S(j,"length",{value:1+y(0,T.length-(arguments.length-1))})}return j};var w=function(){return k(E,O,arguments)};S?S(ce.exports,"apply",{value:w}):ce.exports.apply=w},Pw59:function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E),O=Object(E.createContext)({});R.a=O},Q1l4:function(ce,R){function l(E,m){var O=-1,C=E.length;for(m||(m=Array(C));++O<C;)m[O]=E[O];return m}ce.exports=l},Q2Ig:function(ce,R,l){R.nextTick=function(m){var O=Array.prototype.slice.call(arguments);O.shift(),setTimeout(function(){m.apply(null,O)},0)},R.platform=R.arch=R.execPath=R.title="browser",R.pid=1,R.browser=!0,R.env={},R.argv=[],R.binding=function(E){throw new Error("No such module. (Possibly not yet loaded)")},function(){var E="/",m;R.cwd=function(){return E},R.chdir=function(O){m||(m=l("33yf")),E=m.resolve(O,E)}}(),R.exit=R.kill=R.umask=R.dlopen=R.uptime=R.memoryUsage=R.uvCounters=function(){},R.features={}},Q3OH:function(ce,R,l){var E=l("eNh0");E("flatMap")},Q9SF:function(ce,R){function l(E){if(Array.isArray(E))return E}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},Q9mQ:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("UADf"),C=l.n(O)},QCdE:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.PhotoshopPointerCircle=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.PhotoshopPointerCircle=function(y){var w=y.hsl,x=(0,C.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":w.l>.5});return m.default.createElement("div",{style:x.picker})};R.default=A},QCfv:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Circle=void 0;var E=l("q1tI"),m=U(E),O=l("17x9"),C=U(O),k=l("/FUP"),A=U(k),S=l("3WF5"),y=U(S),w=l("QkVN"),x=U(w),T=l("wME1"),j=B(T),D=l("UtML"),N=l("I8bB"),F=U(N);function B($){if($&&$.__esModule)return $;var X={};if($!=null)for(var ee in $)Object.prototype.hasOwnProperty.call($,ee)&&(X[ee]=$[ee]);return X.default=$,X}function U($){return $&&$.__esModule?$:{default:$}}var J=R.Circle=function(X){var ee=X.width,ie=X.onChange,G=X.onSwatchHover,Q=X.colors,W=X.hex,ne=X.circleSize,te=X.styles,_e=te===void 0?{}:te,he=X.circleSpacing,oe=X.className,ge=oe===void 0?"":oe,me=(0,A.default)((0,x.default)({default:{card:{width:ee,display:"flex",flexWrap:"wrap",marginRight:-he,marginBottom:-he}}},_e)),Z=function(Ee,Le){return ie({hex:Ee,source:"hex"},Le)};return m.default.createElement("div",{style:me.card,className:"circle-picker "+ge},(0,y.default)(Q,function(xe){return m.default.createElement(F.default,{key:xe,color:xe,onClick:Z,onSwatchHover:G,active:W===xe.toLowerCase(),circleSize:ne,circleSpacing:he})}))};J.propTypes={width:C.default.oneOfType([C.default.string,C.default.number]),circleSize:C.default.number,circleSpacing:C.default.number,styles:C.default.object},J.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[j.red["500"],j.pink["500"],j.purple["500"],j.deepPurple["500"],j.indigo["500"],j.blue["500"],j.lightBlue["500"],j.cyan["500"],j.teal["500"],j.green["500"],j.lightGreen["500"],j.lime["500"],j.yellow["500"],j.amber["500"],j.orange["500"],j.deepOrange["500"],j.brown["500"],j.blueGrey["500"]],styles:{}},R.default=(0,D.ColorWrap)(J)},QCnb:function(ce,R,l){"use strict";ce.exports=l("+wdc")},QGke:function(ce,R,l){var E=l("z01/").default;function m(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ce.exports=m=function(){return O},ce.exports.__esModule=!0,ce.exports.default=ce.exports;var O={},C=Object.prototype,k=C.hasOwnProperty,A=typeof Symbol=="function"?Symbol:{},S=A.iterator||"@@iterator",y=A.asyncIterator||"@@asyncIterator",w=A.toStringTag||"@@toStringTag";function x(he,oe,ge){return Object.defineProperty(he,oe,{value:ge,enumerable:!0,configurable:!0,writable:!0}),he[oe]}try{x({},"")}catch(he){x=function(ge,me,Z){return ge[me]=Z}}function T(he,oe,ge,me){var Z=oe&&oe.prototype instanceof N?oe:N,xe=Object.create(Z.prototype),Ee=new ne(me||[]);return xe._invoke=function(Le,we,fe){var pe="suspendedStart";return function(Ke,Me){if(pe==="executing")throw new Error("Generator is already running");if(pe==="completed"){if(Ke==="throw")throw Me;return _e()}for(fe.method=Ke,fe.arg=Me;;){var ze=fe.delegate;if(ze){var Ue=G(ze,fe);if(Ue){if(Ue===D)continue;return Ue}}if(fe.method==="next")fe.sent=fe._sent=fe.arg;else if(fe.method==="throw"){if(pe==="suspendedStart")throw pe="completed",fe.arg;fe.dispatchException(fe.arg)}else fe.method==="return"&&fe.abrupt("return",fe.arg);pe="executing";var He=j(Le,we,fe);if(He.type==="normal"){if(pe=fe.done?"completed":"suspendedYield",He.arg===D)continue;return{value:He.arg,done:fe.done}}He.type==="throw"&&(pe="completed",fe.method="throw",fe.arg=He.arg)}}}(he,ge,Ee),xe}function j(he,oe,ge){try{return{type:"normal",arg:he.call(oe,ge)}}catch(me){return{type:"throw",arg:me}}}O.wrap=T;var D={};function N(){}function F(){}function B(){}var U={};x(U,S,function(){return this});var J=Object.getPrototypeOf,$=J&&J(J(te([])));$&&$!==C&&k.call($,S)&&(U=$);var X=B.prototype=N.prototype=Object.create(U);function ee(he){["next","throw","return"].forEach(function(oe){x(he,oe,function(ge){return this._invoke(oe,ge)})})}function ie(he,oe){function ge(Z,xe,Ee,Le){var we=j(he[Z],he,xe);if(we.type!=="throw"){var fe=we.arg,pe=fe.value;return pe&&E(pe)=="object"&&k.call(pe,"__await")?oe.resolve(pe.__await).then(function(Ke){ge("next",Ke,Ee,Le)},function(Ke){ge("throw",Ke,Ee,Le)}):oe.resolve(pe).then(function(Ke){fe.value=Ke,Ee(fe)},function(Ke){return ge("throw",Ke,Ee,Le)})}Le(we.arg)}var me;this._invoke=function(Z,xe){function Ee(){return new oe(function(Le,we){ge(Z,xe,Le,we)})}return me=me?me.then(Ee,Ee):Ee()}}function G(he,oe){var ge=he.iterator[oe.method];if(ge===void 0){if(oe.delegate=null,oe.method==="throw"){if(he.iterator.return&&(oe.method="return",oe.arg=void 0,G(he,oe),oe.method==="throw"))return D;oe.method="throw",oe.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var me=j(ge,he.iterator,oe.arg);if(me.type==="throw")return oe.method="throw",oe.arg=me.arg,oe.delegate=null,D;var Z=me.arg;return Z?Z.done?(oe[he.resultName]=Z.value,oe.next=he.nextLoc,oe.method!=="return"&&(oe.method="next",oe.arg=void 0),oe.delegate=null,D):Z:(oe.method="throw",oe.arg=new TypeError("iterator result is not an object"),oe.delegate=null,D)}function Q(he){var oe={tryLoc:he[0]};1 in he&&(oe.catchLoc=he[1]),2 in he&&(oe.finallyLoc=he[2],oe.afterLoc=he[3]),this.tryEntries.push(oe)}function W(he){var oe=he.completion||{};oe.type="normal",delete oe.arg,he.completion=oe}function ne(he){this.tryEntries=[{tryLoc:"root"}],he.forEach(Q,this),this.reset(!0)}function te(he){if(he){var oe=he[S];if(oe)return oe.call(he);if(typeof he.next=="function")return he;if(!isNaN(he.length)){var ge=-1,me=function Z(){for(;++ge<he.length;)if(k.call(he,ge))return Z.value=he[ge],Z.done=!1,Z;return Z.value=void 0,Z.done=!0,Z};return me.next=me}}return{next:_e}}function _e(){return{value:void 0,done:!0}}return F.prototype=B,x(X,"constructor",B),x(B,"constructor",F),F.displayName=x(B,w,"GeneratorFunction"),O.isGeneratorFunction=function(he){var oe=typeof he=="function"&&he.constructor;return!!oe&&(oe===F||(oe.displayName||oe.name)==="GeneratorFunction")},O.mark=function(he){return Object.setPrototypeOf?Object.setPrototypeOf(he,B):(he.__proto__=B,x(he,w,"GeneratorFunction")),he.prototype=Object.create(X),he},O.awrap=function(he){return{__await:he}},ee(ie.prototype),x(ie.prototype,y,function(){return this}),O.AsyncIterator=ie,O.async=function(he,oe,ge,me,Z){Z===void 0&&(Z=Promise);var xe=new ie(T(he,oe,ge,me),Z);return O.isGeneratorFunction(oe)?xe:xe.next().then(function(Ee){return Ee.done?Ee.value:xe.next()})},ee(X),x(X,w,"Generator"),x(X,S,function(){return this}),x(X,"toString",function(){return"[object Generator]"}),O.keys=function(he){var oe=[];for(var ge in he)oe.push(ge);return oe.reverse(),function me(){for(;oe.length;){var Z=oe.pop();if(Z in he)return me.value=Z,me.done=!1,me}return me.done=!0,me}},O.values=te,ne.prototype={constructor:ne,reset:function(oe){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(W),!oe)for(var ge in this)ge.charAt(0)==="t"&&k.call(this,ge)&&!isNaN(+ge.slice(1))&&(this[ge]=void 0)},stop:function(){this.done=!0;var oe=this.tryEntries[0].completion;if(oe.type==="throw")throw oe.arg;return this.rval},dispatchException:function(oe){if(this.done)throw oe;var ge=this;function me(fe,pe){return Ee.type="throw",Ee.arg=oe,ge.next=fe,pe&&(ge.method="next",ge.arg=void 0),!!pe}for(var Z=this.tryEntries.length-1;Z>=0;--Z){var xe=this.tryEntries[Z],Ee=xe.completion;if(xe.tryLoc==="root")return me("end");if(xe.tryLoc<=this.prev){var Le=k.call(xe,"catchLoc"),we=k.call(xe,"finallyLoc");if(Le&&we){if(this.prev<xe.catchLoc)return me(xe.catchLoc,!0);if(this.prev<xe.finallyLoc)return me(xe.finallyLoc)}else if(Le){if(this.prev<xe.catchLoc)return me(xe.catchLoc,!0)}else{if(!we)throw new Error("try statement without catch or finally");if(this.prev<xe.finallyLoc)return me(xe.finallyLoc)}}}},abrupt:function(oe,ge){for(var me=this.tryEntries.length-1;me>=0;--me){var Z=this.tryEntries[me];if(Z.tryLoc<=this.prev&&k.call(Z,"finallyLoc")&&this.prev<Z.finallyLoc){var xe=Z;break}}xe&&(oe==="break"||oe==="continue")&&xe.tryLoc<=ge&&ge<=xe.finallyLoc&&(xe=null);var Ee=xe?xe.completion:{};return Ee.type=oe,Ee.arg=ge,xe?(this.method="next",this.next=xe.finallyLoc,D):this.complete(Ee)},complete:function(oe,ge){if(oe.type==="throw")throw oe.arg;return oe.type==="break"||oe.type==="continue"?this.next=oe.arg:oe.type==="return"?(this.rval=this.arg=oe.arg,this.method="return",this.next="end"):oe.type==="normal"&&ge&&(this.next=ge),D},finish:function(oe){for(var ge=this.tryEntries.length-1;ge>=0;--ge){var me=this.tryEntries[ge];if(me.finallyLoc===oe)return this.complete(me.completion,me.afterLoc),W(me),D}},catch:function(oe){for(var ge=this.tryEntries.length-1;ge>=0;--ge){var me=this.tryEntries[ge];if(me.tryLoc===oe){var Z=me.completion;if(Z.type==="throw"){var xe=Z.arg;W(me)}return xe}}throw new Error("illegal catch attempt")},delegateYield:function(oe,ge,me){return this.delegate={iterator:te(oe),resultName:ge,nextLoc:me},this.method==="next"&&(this.arg=void 0),D}},O}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},QILm:function(ce,R,l){var E=l("8OQS");function m(O,C){if(O==null)return{};var k=E(O,C),A,S;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(O);for(S=0;S<y.length;S++)A=y[S],!(C.indexOf(A)>=0)&&(!Object.prototype.propertyIsEnumerable.call(O,A)||(k[A]=O[A]))}return k}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},QIyF:function(ce,R,l){var E=l("Kz5y"),m=function(){return E.Date.now()};ce.exports=m},"QKg/":function(ce,R,l){},QLaP:function(ce,R,l){"use strict";var E=function(O,C,k,A,S,y,w,x){if(!O){var T;if(C===void 0)T=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var j=[k,A,S,y,w,x],D=0;T=new Error(C.replace(/%s/g,function(){return j[D++]})),T.name="Invariant Violation"}throw T.framesToPop=1,T}};ce.exports=E},QMCc:function(ce,R,l){"use strict";l.d(R,"b",function(){return U}),l.d(R,"a",function(){return he});var E=l("FER5"),m=l("LuSS"),O=2,C=.16,k=.05,A=.05,S=.15,y=5,w=4,x=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function T(Ee){var Le=Ee.r,we=Ee.g,fe=Ee.b,pe=Object(E.i)(Le,we,fe);return{h:pe.h*360,s:pe.s,v:pe.v}}function j(Ee){var Le=Ee.r,we=Ee.g,fe=Ee.b;return"#".concat(Object(E.g)(Le,we,fe,!1))}function D(Ee,Le,we){var fe=we/100,pe={r:(Le.r-Ee.r)*fe+Ee.r,g:(Le.g-Ee.g)*fe+Ee.g,b:(Le.b-Ee.b)*fe+Ee.b};return pe}function N(Ee,Le,we){var fe;return Math.round(Ee.h)>=60&&Math.round(Ee.h)<=240?fe=we?Math.round(Ee.h)-O*Le:Math.round(Ee.h)+O*Le:fe=we?Math.round(Ee.h)+O*Le:Math.round(Ee.h)-O*Le,fe<0?fe+=360:fe>=360&&(fe-=360),fe}function F(Ee,Le,we){if(Ee.h===0&&Ee.s===0)return Ee.s;var fe;return we?fe=Ee.s-C*Le:Le===w?fe=Ee.s+C:fe=Ee.s+k*Le,fe>1&&(fe=1),we&&Le===y&&fe>.1&&(fe=.1),fe<.06&&(fe=.06),Number(fe.toFixed(2))}function B(Ee,Le,we){var fe;return we?fe=Ee.v+A*Le:fe=Ee.v-S*Le,fe>1&&(fe=1),Number(fe.toFixed(2))}function U(Ee){for(var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=[],fe=Object(m.a)(Ee),pe=y;pe>0;pe-=1){var Ke=T(fe),Me=j(Object(m.a)({h:N(Ke,pe,!0),s:F(Ke,pe,!0),v:B(Ke,pe,!0)}));we.push(Me)}we.push(j(fe));for(var ze=1;ze<=w;ze+=1){var Ue=T(fe),He=j(Object(m.a)({h:N(Ue,ze),s:F(Ue,ze),v:B(Ue,ze)}));we.push(He)}return Le.theme==="dark"?x.map(function(Ne){var it=Ne.index,Xe=Ne.opacity,ht=j(D(Object(m.a)(Le.backgroundColor||"#141414"),Object(m.a)(we[it]),Xe*100));return ht}):we}var J={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},$={},X={};Object.keys(J).forEach(function(Ee){$[Ee]=U(J[Ee]),$[Ee].primary=$[Ee][5],X[Ee]=U(J[Ee],{theme:"dark",backgroundColor:"#141414"}),X[Ee].primary=X[Ee][5]});var ee=$.red,ie=$.volcano,G=$.gold,Q=$.orange,W=$.yellow,ne=$.lime,te=$.green,_e=$.cyan,he=$.blue,oe=$.geekblue,ge=$.purple,me=$.magenta,Z=$.grey,xe=$.grey},QQ4S:function(ce,R,l){"use strict";var E=l("0qr0"),m=l("m0kY"),O=l("oa35"),C=l("R8iy"),k=l("kGMc"),A=Math.min,S=[].lastIndexOf,y=!!S&&1/[1].lastIndexOf(1,-0)<0,w=C("lastIndexOf"),x=k("indexOf",{ACCESSORS:!0,1:0}),T=y||!w||!x;ce.exports=T?function(D){if(y)return S.apply(this,arguments)||0;var N=E(this),F=O(N.length),B=F-1;for(arguments.length>1&&(B=A(B,m(arguments[1]))),B<0&&(B=F+B);B>=0;B--)if(B in N&&N[B]===D)return B||0;return-1}:S},QSc6:function(ce,R,l){"use strict";var E=l("VAJa"),m=l("0jNN"),O=l("sxOR"),C=Object.prototype.hasOwnProperty,k={brackets:function(U){return U+"[]"},comma:"comma",indices:function(U,J){return U+"["+J+"]"},repeat:function(U){return U}},A=Array.isArray,S=Array.prototype.push,y=function(U,J){S.apply(U,A(J)?J:[J])},w=Date.prototype.toISOString,x=O.default,T={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:m.encode,encodeValuesOnly:!1,format:x,formatter:O.formatters[x],indices:!1,serializeDate:function(U){return w.call(U)},skipNulls:!1,strictNullHandling:!1},j=function(U){return typeof U=="string"||typeof U=="number"||typeof U=="boolean"||typeof U=="symbol"||typeof U=="bigint"},D={},N=function B(U,J,$,X,ee,ie,G,Q,W,ne,te,_e,he,oe,ge,me){for(var Z=U,xe=me,Ee=0,Le=!1;(xe=xe.get(D))!==void 0&&!Le;){var we=xe.get(U);if(Ee+=1,typeof we!="undefined"){if(we===Ee)throw new RangeError("Cyclic object value");Le=!0}typeof xe.get(D)=="undefined"&&(Ee=0)}if(typeof Q=="function"?Z=Q(J,Z):Z instanceof Date?Z=te(Z):$==="comma"&&A(Z)&&(Z=m.maybeMap(Z,function(ht){return ht instanceof Date?te(ht):ht})),Z===null){if(ee)return G&&!oe?G(J,T.encoder,ge,"key",_e):J;Z=""}if(j(Z)||m.isBuffer(Z)){if(G){var fe=oe?J:G(J,T.encoder,ge,"key",_e);return[he(fe)+"="+he(G(Z,T.encoder,ge,"value",_e))]}return[he(J)+"="+he(String(Z))]}var pe=[];if(typeof Z=="undefined")return pe;var Ke;if($==="comma"&&A(Z))oe&&G&&(Z=m.maybeMap(Z,G)),Ke=[{value:Z.length>0?Z.join(",")||null:void 0}];else if(A(Q))Ke=Q;else{var Me=Object.keys(Z);Ke=W?Me.sort(W):Me}for(var ze=X&&A(Z)&&Z.length===1?J+"[]":J,Ue=0;Ue<Ke.length;++Ue){var He=Ke[Ue],Ne=typeof He=="object"&&typeof He.value!="undefined"?He.value:Z[He];if(!(ie&&Ne===null)){var it=A(Z)?typeof $=="function"?$(ze,He):ze:ze+(ne?"."+He:"["+He+"]");me.set(U,Ee);var Xe=E();Xe.set(D,me),y(pe,B(Ne,it,$,X,ee,ie,$==="comma"&&oe&&A(Z)?null:G,Q,W,ne,te,_e,he,oe,ge,Xe))}}return pe},F=function(U){if(!U)return T;if(U.encoder!==null&&typeof U.encoder!="undefined"&&typeof U.encoder!="function")throw new TypeError("Encoder has to be a function.");var J=U.charset||T.charset;if(typeof U.charset!="undefined"&&U.charset!=="utf-8"&&U.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var $=O.default;if(typeof U.format!="undefined"){if(!C.call(O.formatters,U.format))throw new TypeError("Unknown format option provided.");$=U.format}var X=O.formatters[$],ee=T.filter;return(typeof U.filter=="function"||A(U.filter))&&(ee=U.filter),{addQueryPrefix:typeof U.addQueryPrefix=="boolean"?U.addQueryPrefix:T.addQueryPrefix,allowDots:typeof U.allowDots=="undefined"?T.allowDots:!!U.allowDots,charset:J,charsetSentinel:typeof U.charsetSentinel=="boolean"?U.charsetSentinel:T.charsetSentinel,delimiter:typeof U.delimiter=="undefined"?T.delimiter:U.delimiter,encode:typeof U.encode=="boolean"?U.encode:T.encode,encoder:typeof U.encoder=="function"?U.encoder:T.encoder,encodeValuesOnly:typeof U.encodeValuesOnly=="boolean"?U.encodeValuesOnly:T.encodeValuesOnly,filter:ee,format:$,formatter:X,serializeDate:typeof U.serializeDate=="function"?U.serializeDate:T.serializeDate,skipNulls:typeof U.skipNulls=="boolean"?U.skipNulls:T.skipNulls,sort:typeof U.sort=="function"?U.sort:null,strictNullHandling:typeof U.strictNullHandling=="boolean"?U.strictNullHandling:T.strictNullHandling}};ce.exports=function(B,U){var J=B,$=F(U),X,ee;typeof $.filter=="function"?(ee=$.filter,J=ee("",J)):A($.filter)&&(ee=$.filter,X=ee);var ie=[];if(typeof J!="object"||J===null)return"";var G;U&&U.arrayFormat in k?G=U.arrayFormat:U&&"indices"in U?G=U.indices?"indices":"repeat":G="indices";var Q=k[G];if(U&&"commaRoundTrip"in U&&typeof U.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var W=Q==="comma"&&U&&U.commaRoundTrip;X||(X=Object.keys(J)),$.sort&&X.sort($.sort);for(var ne=E(),te=0;te<X.length;++te){var _e=X[te];$.skipNulls&&J[_e]===null||y(ie,N(J[_e],_e,Q,W,$.strictNullHandling,$.skipNulls,$.encode?$.encoder:null,$.filter,$.sort,$.allowDots,$.serializeDate,$.format,$.formatter,$.encodeValuesOnly,$.charset,ne))}var he=ie.join($.delimiter),oe=$.addQueryPrefix===!0?"?":"";return $.charsetSentinel&&($.charset==="iso-8859-1"?oe+="utf8=%26%2310003%3B&":oe+="utf8=%E2%9C%93&"),he.length>0?oe+he:""}},QTEQ:function(ce,R){ce.exports=function(E,m){if(m=typeof m=="number"?m:Infinity,!m)return Array.isArray(E)?E.map(function(C){return C}):E;return O(E,1);function O(C,k){return C.reduce(function(A,S){return Array.isArray(S)&&k<m?A.concat(O(S,k+1)):A.concat(S)},[])}}},QbM5:function(ce,R,l){},QcOe:function(ce,R,l){var E=l("GoyQ"),m=l("6sVZ"),O=l("7Ix3"),C=Object.prototype,k=C.hasOwnProperty;function A(S){if(!E(S))return O(S);var y=m(S),w=[];for(var x in S)x=="constructor"&&(y||!k.call(S,x))||w.push(x);return w}ce.exports=A},QeVK:function(ce,R,l){},QgIc:function(ce,R,l){"use strict";var E=l("jrin"),m=l("k1fw"),O=l("qLMh"),C=l("miYZ"),k=l("tsqr"),A=l("hFxe"),S={current:1,pageSize:20,selectDomainId:0,selectDomainName:"",searchParams:{},dimensionList:[],metricList:[],domainData:void 0,dataBaseResultColsMap:{},dataBaseConfig:{},domainList:[]},y={namespace:"domainManger",state:S,effects:{queryDimensionList:Object(O.a)().mark(function w(x,T){var j,D,N,F,B,U,J;return Object(O.a)().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return j=x.payload,D=T.call,N=T.put,X.next=4,D(A.u,j);case 4:if(F=X.sent,B=F.code,U=F.data,J=F.msg,B!==200){X.next=13;break}return X.next=11,N({type:"setDimensionList",payload:{dimensionList:U.list}});case 11:X.next=14;break;case 13:k.default.error(J);case 14:case"end":return X.stop()}},w)}),queryMetricList:Object(O.a)().mark(function w(x,T){var j,D,N,F,B,U,J;return Object(O.a)().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return j=x.payload,D=T.call,N=T.put,X.next=4,D(A.C,j);case 4:if(F=X.sent,B=F.code,U=F.data,J=F.msg,B!==200){X.next=13;break}return X.next=11,N({type:"setMetricList",payload:{metricList:U.list}});case 11:X.next=14;break;case 13:k.default.error(J);case 14:case"end":return X.stop()}},w)}),queryDataBaseExcuteSql:Object(O.a)().mark(function w(x,T){var j,D,N,F,B,U,J,$,X,ee,ie,G;return Object(O.a)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(j=x.payload,D=T.call,N=T.put,F=T.select,B=j.tableName,B){W.next=5;break}return W.abrupt("return");case 5:return W.next=7,F(function(ne){return ne.domainManger.dataBaseResultColsMap[B]});case 7:if(U=W.sent,!U){W.next=10;break}return W.abrupt("return");case 10:return W.next=12,D(A.o,j);case 12:if(J=W.sent,$=J.code,X=J.data,ee=J.msg,$!==200){W.next=23;break}return ie=X.resultList.map(function(ne,te){return Object(m.a)(Object(m.a)({},ne),{},{index:te})}),G=X.columns,W.next=21,N({type:"setDataBaseScriptColumn",payload:{resultList:ie,scriptColumns:G,tableName:B}});case 21:W.next=24;break;case 23:k.default.error(ee);case 24:case"end":return W.stop()}},w)}),queryDatabaseByDomainId:Object(O.a)().mark(function w(x,T){var j,D,N,F,B,U,J,$;return Object(O.a)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return j=x.payload,D=T.call,N=T.put,F=j.domainId,ee.next=5,D(A.q,F);case 5:if(B=ee.sent,U=B.code,J=B.data,$=B.msg,U!==200){ee.next=14;break}return ee.next=12,N({type:"setDataBaseConfig",payload:{dataBaseConfig:J}});case 12:ee.next=15;break;case 14:k.default.error($);case 15:case"end":return ee.stop()}},w)})},reducers:{setSelectDomain:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),{},{selectDomainId:T.selectDomainId,selectDomainName:T.selectDomainName,domainData:T.domainData})},setDomainList:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),T.payload)},setPagination:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),T.payload)},setDimensionList:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),T.payload)},setMetricList:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),T.payload)},setDataBaseScriptColumn:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),{},{dataBaseResultColsMap:Object(m.a)(Object(m.a)({},x.dataBaseResultColsMap),{},Object(E.a)({},T.payload.tableName,Object(m.a)({},T.payload)))})},setDataBaseConfig:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,T=arguments.length>1?arguments[1]:void 0;return Object(m.a)(Object(m.a)({},x),T.payload)},reset:function(){return S}}};R.a=y},Qi1f:function(ce,R,l){"use strict";l.d(R,"g",function(){return me}),l.d(R,"c",function(){return Z}),l.d(R,"a",function(){return Ee}),l.d(R,"b",function(){return Le}),l.d(R,"d",function(){return we}),l.d(R,"e",function(){return fe}),l.d(R,"f",function(){return Ke});var E=l("VTBJ"),m=l("U8pU"),O=l("u3cA"),C=l("q1tI"),k=l.n(C),A={},S=[],y=function(ze){S.push(ze)};function w(Me,ze){if(!1)var Ue}function x(Me,ze){if(!1)var Ue}function T(){A={}}function j(Me,ze,Ue){!ze&&!A[Ue]&&(Me(!1,Ue),A[Ue]=!0)}function D(Me,ze){j(w,Me,ze)}function N(Me,ze){j(x,Me,ze)}D.preMessage=y,D.resetWarned=T,D.noteOnce=N;var F=D;function B(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function U(Me,ze){if(!Me)return!1;if(Me.contains)return Me.contains(ze);for(var Ue=ze;Ue;){if(Ue===Me)return!0;Ue=Ue.parentNode}return!1}var J="data-rc-order",$="rc-util-key",X=new Map;function ee(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ze=Me.mark;return ze?ze.startsWith("data-")?ze:"data-".concat(ze):$}function ie(Me){if(Me.attachTo)return Me.attachTo;var ze=document.querySelector("head");return ze||document.body}function G(Me){return Me==="queue"?"prependQueue":Me?"prepend":"append"}function Q(Me){return Array.from((X.get(Me)||Me).children).filter(function(ze){return ze.tagName==="STYLE"})}function W(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!B())return null;var Ue=ze.csp,He=ze.prepend,Ne=document.createElement("style");Ne.setAttribute(J,G(He)),Ue!=null&&Ue.nonce&&(Ne.nonce=Ue==null?void 0:Ue.nonce),Ne.innerHTML=Me;var it=ie(ze),Xe=it.firstChild;if(He){if(He==="queue"){var ht=Q(it).filter(function(lt){return["prepend","prependQueue"].includes(lt.getAttribute(J))});if(ht.length)return it.insertBefore(Ne,ht[ht.length-1].nextSibling),Ne}it.insertBefore(Ne,Xe)}else it.appendChild(Ne);return Ne}function ne(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=ie(ze);return Q(Ue).find(function(He){return He.getAttribute(ee(ze))===Me})}function te(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=ne(Me,ze);if(Ue){var He=ie(ze);He.removeChild(Ue)}}function _e(Me,ze){var Ue=X.get(Me);if(!Ue||!U(document,Ue)){var He=W("",ze),Ne=He.parentNode;X.set(Me,Ne),Me.removeChild(He)}}function he(){X.clear()}function oe(Me,ze){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},He=ie(Ue);_e(He,Ue);var Ne=ne(ze,Ue);if(Ne){var it,Xe;if((it=Ue.csp)!==null&&it!==void 0&&it.nonce&&Ne.nonce!==((Xe=Ue.csp)===null||Xe===void 0?void 0:Xe.nonce)){var ht;Ne.nonce=(ht=Ue.csp)===null||ht===void 0?void 0:ht.nonce}return Ne.innerHTML!==Me&&(Ne.innerHTML=Me),Ne}var lt=W(Me,Ue);return lt.setAttribute(ee(Ue),ze),lt}var ge=l("Pw59");function me(Me,ze){F(Me,"[@ant-design/icons] ".concat(ze))}function Z(Me){return Object(m.a)(Me)==="object"&&typeof Me.name=="string"&&typeof Me.theme=="string"&&(Object(m.a)(Me.icon)==="object"||typeof Me.icon=="function")}function xe(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Me).reduce(function(ze,Ue){var He=Me[Ue];switch(Ue){case"class":ze.className=He,delete ze.class;break;default:ze[Ue]=He}return ze},{})}function Ee(Me,ze,Ue){return Ue?k.a.createElement(Me.tag,Object(E.a)(Object(E.a)({key:ze},xe(Me.attrs)),Ue),(Me.children||[]).map(function(He,Ne){return Ee(He,"".concat(ze,"-").concat(Me.tag,"-").concat(Ne))})):k.a.createElement(Me.tag,Object(E.a)({key:ze},xe(Me.attrs)),(Me.children||[]).map(function(He,Ne){return Ee(He,"".concat(ze,"-").concat(Me.tag,"-").concat(Ne))}))}function Le(Me){return Object(O.generate)(Me)[0]}function we(Me){return Me?Array.isArray(Me)?Me:[Me]:[]}var fe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},pe=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,Ke=function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pe,Ue=Object(C.useContext)(ge.a),He=Ue.csp;Object(C.useEffect)(function(){oe(ze,"@ant-design-icons",{prepend:!0,csp:He})},[])}},Qj5C:function(ce,R,l){ce.exports={loginWarp:"loginWarp___33ulX",content:"content___kTcj0",formContent:"formContent___3iWSs",formBox:"formBox___1lEWr",loginMain:"loginMain___2JIcS",title:"title___14Nxn",input:"input___27HLt",signInBtn:"signInBtn___XM5qM",tool:"tool___KFjf1",button:"button___gm0Ja"}},QkVE:function(ce,R,l){var E=l("EpBk");function m(O,C){var k=O.__data__;return E(C)?k[typeof C=="string"?"string":"hash"]:k.map}ce.exports=m},QkVN:function(ce,R,l){var E=l("+Qka"),m=l("LsHQ"),O=m(function(C,k,A){E(C,k,A)});ce.exports=O},Qlla:function(ce,R,l){var E=l("29mP");ce.exports=E("navigator","userAgent")||""},QoRX:function(ce,R){function l(E,m){for(var O=-1,C=E==null?0:E.length;++O<C;)if(m(E[O],O,E))return!0;return!1}ce.exports=l},QpBz:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.attachTypeApi=xe,R.getInstance=R.default=void 0,R.getKeyThenIncreaseKey=W,R.typeList=void 0;var O=m(l("pVnL")),C=m(l("lSNA")),k=m(l("J84W")),A=m(l("kbBi")),S=m(l("sKbD")),y=m(l("72Ab")),w=m(l("gZBC")),x=m(l("TSYQ")),T=m(l("8tx+")),j=E(l("q1tI")),D=E(l("vgIT")),N=m(l("pSDE")),F,B=3,U,J=1,$="",X="move-up",ee=!1,ie,G,Q=!1;function W(){return J++}function ne(we){we.top!==void 0&&(U=we.top,F=null),we.duration!==void 0&&(B=we.duration),we.prefixCls!==void 0&&($=we.prefixCls),we.getContainer!==void 0&&(ie=we.getContainer,F=null),we.transitionName!==void 0&&(X=we.transitionName,F=null,ee=!0),we.maxCount!==void 0&&(G=we.maxCount,F=null),we.rtl!==void 0&&(Q=we.rtl)}function te(we,fe){var pe=we.prefixCls,Ke=we.getPopupContainer,Me=(0,D.globalConfig)(),ze=Me.getPrefixCls,Ue=Me.getRootPrefixCls,He=Me.getIconPrefixCls,Ne=ze("message",pe||$),it=Ue(we.rootPrefixCls,Ne),Xe=He();if(F){fe({prefixCls:Ne,rootPrefixCls:it,iconPrefixCls:Xe,instance:F});return}var ht={prefixCls:Ne,transitionName:ee?X:"".concat(it,"-").concat(X),style:{top:U},getContainer:ie||Ke,maxCount:G};T.default.newInstance(ht,function(lt){if(F){fe({prefixCls:Ne,rootPrefixCls:it,iconPrefixCls:Xe,instance:F});return}F=lt,fe({prefixCls:Ne,rootPrefixCls:it,iconPrefixCls:Xe,instance:lt})})}var _e={info:y.default,success:k.default,error:A.default,warning:S.default,loading:w.default},he=Object.keys(_e);R.typeList=he;function oe(we,fe,pe){var Ke,Me=we.duration!==void 0?we.duration:B,ze=_e[we.type],Ue=(0,x.default)("".concat(fe,"-custom-content"),(Ke={},(0,C.default)(Ke,"".concat(fe,"-").concat(we.type),we.type),(0,C.default)(Ke,"".concat(fe,"-rtl"),Q===!0),Ke));return{key:we.key,duration:Me,style:we.style||{},className:we.className,content:j.createElement(D.default,{iconPrefixCls:pe},j.createElement("div",{className:Ue},we.icon||ze&&j.createElement(ze,null),j.createElement("span",null,we.content))),onClose:we.onClose,onClick:we.onClick}}function ge(we){var fe=we.key||W(),pe=new Promise(function(Me){var ze=function(){return typeof we.onClose=="function"&&we.onClose(),Me(!0)};te(we,function(Ue){var He=Ue.prefixCls,Ne=Ue.iconPrefixCls,it=Ue.instance;it.notice(oe((0,O.default)((0,O.default)({},we),{key:fe,onClose:ze}),He,Ne))})}),Ke=function(){var ze;F&&(F.removeNotice(fe),(ze=we.onClose)===null||ze===void 0||ze.call(we))};return Ke.then=function(Me,ze){return pe.then(Me,ze)},Ke.promise=pe,Ke}function me(we){return Object.prototype.toString.call(we)==="[object Object]"&&!!we.content}var Z={open:ge,config:ne,destroy:function(fe){if(F)if(fe){var pe=F,Ke=pe.removeNotice;Ke(fe)}else{var Me=F,ze=Me.destroy;ze(),F=null}}};function xe(we,fe){we[fe]=function(pe,Ke,Me){return me(pe)?we.open((0,O.default)((0,O.default)({},pe),{type:fe})):(typeof Ke=="function"&&(Me=Ke,Ke=void 0),we.open({content:pe,duration:Ke,type:fe,onClose:Me}))}}he.forEach(function(we){return xe(Z,we)}),Z.warn=Z.warning,Z.useMessage=(0,N.default)(te,oe);var Ee=function(){return null};R.getInstance=Ee;var Le=Z;R.default=Le},QpGB:function(ce,R,l){var E=l("MMxC"),m=l("VSU6"),O=l("eNh0");E({target:"Array",proto:!0},{fill:m}),O("fill")},QqLw:function(ce,R,l){var E=l("tadb"),m=l("ebwN"),O=l("HOxn"),C=l("yGk4"),k=l("Of+w"),A=l("NykK"),S=l("3Fdi"),y="[object Map]",w="[object Object]",x="[object Promise]",T="[object Set]",j="[object WeakMap]",D="[object DataView]",N=S(E),F=S(m),B=S(O),U=S(C),J=S(k),$=A;(E&&$(new E(new ArrayBuffer(1)))!=D||m&&$(new m)!=y||O&&$(O.resolve())!=x||C&&$(new C)!=T||k&&$(new k)!=j)&&($=function(X){var ee=A(X),ie=ee==w?X.constructor:void 0,G=ie?S(ie):"";if(G)switch(G){case N:return D;case F:return y;case B:return x;case U:return T;case J:return j}return ee}),ce.exports=$},"Qqe/":function(ce,R,l){var E=l("1Cbe"),m=l("NMFW"),O=l("33TD");E||m(Object.prototype,"toString",O,{unsafe:!0})},Qw5x:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("leS6");function m(O,C){if(!!O){if(typeof O=="string")return Object(E.a)(O,C);var k=Object.prototype.toString.call(O).slice(8,-1);if(k==="Object"&&O.constructor&&(k=O.constructor.name),k==="Map"||k==="Set")return Array.from(O);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return Object(E.a)(O,C)}}},QxII:function(ce,R,l){var E=l("MMxC"),m=l("cC5k");E({target:"Reflect",stat:!0},{ownKeys:m})},QyJ8:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},E(m)}},Qyje:function(ce,R,l){"use strict";var E=l("QSc6"),m=l("nmq7"),O=l("sxOR");ce.exports={formats:O,parse:m,stringify:E}},"R+Pm":function(ce,R,l){"use strict";l.d(R,"a",function(){return x});var E=l("VTBJ"),m=l("Ff2n"),O=l("q1tI"),C=l.n(O),k=l("8ub7"),A=["type","children"],S=new Set;function y(T){return Boolean(typeof T=="string"&&T.length&&!S.has(T))}function w(T){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,D=T[j];if(y(D)){var N=document.createElement("script");N.setAttribute("src",D),N.setAttribute("data-namespace",D),T.length>j+1&&(N.onload=function(){w(T,j+1)},N.onerror=function(){w(T,j+1)}),S.add(D),document.body.appendChild(N)}}function x(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=T.scriptUrl,D=T.extraCommonProps,N=D===void 0?{}:D;j&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(j)?w(j.reverse()):w([j]));var F=O.forwardRef(function(B,U){var J=B.type,$=B.children,X=Object(m.a)(B,A),ee=null;return B.type&&(ee=O.createElement("use",{xlinkHref:"#".concat(J)})),$&&(ee=$),O.createElement(k.a,Object(E.a)(Object(E.a)(Object(E.a)({},N),X),{},{ref:U}),ee)});return F.displayName="Iconfont",F}},"R/W3":function(ce,R,l){var E=l("KwMD"),m=l("2ajD"),O=l("CZoQ");function C(k,A,S){return A===A?O(k,A,S):E(k,m,S)}ce.exports=C},"R/Zn":function(ce,R,l){var E=l("MVys");ce.exports=!E(function(){return Object.isExtensible(Object.preventExtensions({}))})},"R3M+":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("italics")},{italics:function(){return m(this,"i","","")}})},R3zJ:function(ce,R,l){"use strict";l.d(R,"a",function(){return O}),l.d(R,"b",function(){return k});var E=l("A0Fo"),m=l("DmF2"),O=function(){return Object(E.a)()&&window.document.documentElement},C,k=function(){if(!O())return!1;if(C!==void 0)return C;var S=document.createElement("div");return S.style.display="flex",S.style.flexDirection="column",S.style.rowGap="1px",S.appendChild(document.createElement("div")),S.appendChild(document.createElement("div")),document.body.appendChild(S),C=S.scrollHeight===1,document.body.removeChild(S),C}},R5yR:function(ce,R,l){var E=l("9xmf"),m=l("rhT+"),O=l("mGKP"),C=l("XWE6");function k(A){return E(A)||m(A)||O(A)||C()}ce.exports=k,ce.exports.__esModule=!0,ce.exports.default=ce.exports},R80K:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};R.default=E},R8iy:function(ce,R,l){"use strict";var E=l("MVys");ce.exports=function(m,O){var C=[][m];return!!C&&E(function(){C.call(null,O||function(){throw 1},1)})}},R9oj:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("pwpV"),C=l.n(O)},RBan:function(ce,R){function l(E){var m=E==null?0:E.length;return m?E[m-1]:void 0}ce.exports=l},RC9M:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.GithubSwatch=void 0;var E=l("q1tI"),m=A(E),O=l("/FUP"),C=A(O),k=l("UtML");function A(y){return y&&y.__esModule?y:{default:y}}var S=R.GithubSwatch=function(w){var x=w.hover,T=w.color,j=w.onClick,D=w.onSwatchHover,N={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},F=(0,C.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:N}},{hover:x});return m.default.createElement("div",{style:F.swatch},m.default.createElement(k.Swatch,{color:T,onClick:j,onHover:D,focusStyle:N}))};R.default=(0,O.handleHover)(S)},RCxd:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="ExclamationCircleOutlined";var S=R.a=m.forwardRef(A)},RDHo:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("+X1D");E({target:"Set",proto:!0,real:!0,forced:m},{deleteAll:function(){return O.apply(this,arguments)}})},RIqP:function(ce,R,l){var E=l("Ijbi"),m=l("EbDI"),O=l("ZhPi"),C=l("Bnag");function k(A){return E(A)||m(A)||O(A)||C()}ce.exports=k,ce.exports.__esModule=!0,ce.exports.default=ce.exports},RJqx:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Swatches=void 0;var E=l("q1tI"),m=$(E),O=l("17x9"),C=$(O),k=l("/FUP"),A=$(k),S=l("3WF5"),y=$(S),w=l("QkVN"),x=$(w),T=l("4iDX"),j=$(T),D=l("wME1"),N=J(D),F=l("UtML"),B=l("hON7"),U=$(B);function J(ee){if(ee&&ee.__esModule)return ee;var ie={};if(ee!=null)for(var G in ee)Object.prototype.hasOwnProperty.call(ee,G)&&(ie[G]=ee[G]);return ie.default=ee,ie}function $(ee){return ee&&ee.__esModule?ee:{default:ee}}var X=R.Swatches=function(ie){var G=ie.width,Q=ie.height,W=ie.onChange,ne=ie.onSwatchHover,te=ie.colors,_e=ie.hex,he=ie.styles,oe=he===void 0?{}:he,ge=ie.className,me=ge===void 0?"":ge,Z=(0,A.default)((0,x.default)({default:{picker:{width:G,height:Q},overflow:{height:Q,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},oe)),xe=function(Le,we){j.default.isValidHex(Le)&&W({hex:Le,source:"hex"},we)};return m.default.createElement("div",{style:Z.picker,className:"swatches-picker "+me},m.default.createElement(F.Raised,null,m.default.createElement("div",{style:Z.overflow},m.default.createElement("div",{style:Z.body},(0,y.default)(te,function(Ee){return m.default.createElement(U.default,{key:Ee.toString(),group:Ee,active:_e,onClick:xe,onSwatchHover:ne})}),m.default.createElement("div",{style:Z.clear})))))};X.propTypes={width:C.default.oneOfType([C.default.string,C.default.number]),height:C.default.oneOfType([C.default.string,C.default.number]),colors:C.default.arrayOf(C.default.arrayOf(C.default.string)),styles:C.default.object},X.defaultProps={width:320,height:240,colors:[[N.red["900"],N.red["700"],N.red["500"],N.red["300"],N.red["100"]],[N.pink["900"],N.pink["700"],N.pink["500"],N.pink["300"],N.pink["100"]],[N.purple["900"],N.purple["700"],N.purple["500"],N.purple["300"],N.purple["100"]],[N.deepPurple["900"],N.deepPurple["700"],N.deepPurple["500"],N.deepPurple["300"],N.deepPurple["100"]],[N.indigo["900"],N.indigo["700"],N.indigo["500"],N.indigo["300"],N.indigo["100"]],[N.blue["900"],N.blue["700"],N.blue["500"],N.blue["300"],N.blue["100"]],[N.lightBlue["900"],N.lightBlue["700"],N.lightBlue["500"],N.lightBlue["300"],N.lightBlue["100"]],[N.cyan["900"],N.cyan["700"],N.cyan["500"],N.cyan["300"],N.cyan["100"]],[N.teal["900"],N.teal["700"],N.teal["500"],N.teal["300"],N.teal["100"]],["#194D33",N.green["700"],N.green["500"],N.green["300"],N.green["100"]],[N.lightGreen["900"],N.lightGreen["700"],N.lightGreen["500"],N.lightGreen["300"],N.lightGreen["100"]],[N.lime["900"],N.lime["700"],N.lime["500"],N.lime["300"],N.lime["100"]],[N.yellow["900"],N.yellow["700"],N.yellow["500"],N.yellow["300"],N.yellow["100"]],[N.amber["900"],N.amber["700"],N.amber["500"],N.amber["300"],N.amber["100"]],[N.orange["900"],N.orange["700"],N.orange["500"],N.orange["300"],N.orange["100"]],[N.deepOrange["900"],N.deepOrange["700"],N.deepOrange["500"],N.deepOrange["300"],N.deepOrange["100"]],[N.brown["900"],N.brown["700"],N.brown["500"],N.brown["300"],N.brown["100"]],[N.blueGrey["900"],N.blueGrey["700"],N.blueGrey["500"],N.blueGrey["300"],N.blueGrey["100"]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},R.default=(0,F.ColorWrap)(X)},"RR/i":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.typeConstraint=R.namedConstraint=R.taggedConstraint=R.traverseAncerstors=void 0;var E=l("xfSm"),m=l("GXnB"),O=function S(y,w){var x=y.parentRequest;return x!==null?w(x)?!0:S(x,w):!1};R.traverseAncerstors=O;var C=function(y){return function(w){var x=function(j){return j!==null&&j.target!==null&&j.target.matchesTag(y)(w)};return x.metaData=new m.Metadata(y,w),x}};R.taggedConstraint=C;var k=C(E.NAMED_TAG);R.namedConstraint=k;var A=function(y){return function(w){var x=null;if(w!==null)if(x=w.bindings[0],typeof y=="string"){var T=x.serviceIdentifier;return T===y}else{var j=w.bindings[0].implementationType;return y===j}return!1}};R.typeConstraint=A},RVXi:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").filter,O=l("/dTS"),C=E.aTypedArray,k=E.aTypedArrayConstructor,A=E.exportTypedArrayMethod;A("filter",function(y){for(var w=m(C(this),y,arguments.length>1?arguments[1]:void 0),x=O(this,this.constructor),T=0,j=w.length,D=new(k(x))(j);j>T;)D[T]=w[T++];return D})},Rbmm:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("big")},{big:function(){return m(this,"big","","")}})},Re9Q:function(ce,R,l){},ReSd:function(ce,R,l){var E=l("MMxC");E({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},RhWa:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("qcmB"),S=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{isSubsetOf:function(w){var x=A(this),T=C(w),j=T.has;return typeof j!="function"&&(T=new(O("Set"))(w),j=k(T.has)),!S(x,function(D){if(j.call(T,D)===!1)return S.stop()},void 0,!1,!0).stopped}})},Rka6:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("PPXv"),A=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{findKey:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return A(x,function(j,D){if(T(D,j,w))return A.stop(j)},void 0,!0,!0).result}})},RlXo:function(ce,R,l){"use strict";var E={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};R.a=E},RqAY:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){return Object.keys(m).reduce(function(O,C){return(C.startsWith("data-")||C.startsWith("aria-")||C==="role")&&!C.startsWith("data-__")&&(O[C]=m[C]),O},{})}},Rw1i:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("b6st"),C=l("MVys"),k=l("29mP"),A=l("/dTS"),S=l("U8/t"),y=l("NMFW"),w=!!O&&C(function(){O.prototype.finally.call({then:function(){}},function(){})});E({target:"Promise",proto:!0,real:!0,forced:w},{finally:function(x){var T=A(this,k("Promise")),j=typeof x=="function";return this.then(j?function(D){return S(T,x()).then(function(){return D})}:x,j?function(D){return S(T,x()).then(function(){throw D})}:x)}}),!m&&typeof O=="function"&&!O.prototype.finally&&y(O.prototype,"finally",k("Promise").prototype.finally)},Rw4t:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.calculateRgba=void 0;var E;(function(O){O.maroon="#800000",O.red="#FF0000",O.orange="#FFA500",O.yellow="#FFFF00",O.olive="#808000",O.green="#008000",O.purple="#800080",O.fuchsia="#FF00FF",O.lime="#00FF00",O.teal="#008080",O.aqua="#00FFFF",O.blue="#0000FF",O.navy="#000080",O.black="#000000",O.gray="#808080",O.silver="#C0C0C0",O.white="#FFFFFF"})(E||(E={}));var m=function(C,k){if(Object.keys(E).includes(C)&&(C=E[C]),C[0]==="#"&&(C=C.slice(1)),C.length===3){var A="";C.split("").forEach(function(y){A+=y,A+=y}),C=A}var S=(C.match(/.{2}/g)||[]).map(function(y){return parseInt(y,16)}).join(", ");return"rgba("+S+", "+k+")"};R.calculateRgba=m},S5nV:function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},S76h:function(ce,R,l){},SDpH:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.StyleSheet=j;var E=l("MgzW"),m=O(E);function O(D){return D&&D.__esModule?D:{default:D}}function C(D){if(Array.isArray(D)){for(var N=0,F=Array(D.length);N<D.length;N++)F[N]=D[N];return F}else return Array.from(D)}function k(D){return D[D.length-1]}function A(D){if(D.sheet)return D.sheet;for(var N=0;N<document.styleSheets.length;N++)if(document.styleSheets[N].ownerNode===D)return document.styleSheets[N]}var S=typeof window!="undefined",y=!1,w=!1,x=function(){if(S){var D=document.createElement("div");return D.innerHTML="<!--[if lt IE 10]><i></i><![endif]-->",D.getElementsByTagName("i").length===1}}();function T(){var D=document.createElement("style");return D.type="text/css",D.setAttribute("data-glamor",""),D.appendChild(document.createTextNode("")),(document.head||document.getElementsByTagName("head")[0]).appendChild(D),D}function j(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=D.speedy,F=N===void 0?!y&&!w:N,B=D.maxLength,U=B===void 0?S&&x?4e3:65e3:B;this.isSpeedy=F,this.sheet=void 0,this.tags=[],this.maxLength=U,this.ctr=0}(0,m.default)(j.prototype,{getSheet:function(){return A(k(this.tags))},inject:function(){var N=this;if(this.injected)throw new Error("already injected stylesheet!");S?this.tags[0]=T():this.sheet={cssRules:[],insertRule:function(B){N.sheet.cssRules.push({cssText:B})}},this.injected=!0},speedy:function(N){if(this.ctr!==0)throw new Error("cannot change speedy mode after inserting any rule to sheet. Either call speedy("+N+") earlier in your app, or call flush() before speedy("+N+")");this.isSpeedy=!!N},_insert:function(N){try{var F=this.getSheet();F.insertRule(N,N.indexOf("@import")!==-1?0:F.cssRules.length)}catch(B){y&&console.warn("whoops, illegal rule inserted",N)}},insert:function(N){if(S)if(this.isSpeedy&&this.getSheet().insertRule)this._insert(N);else if(N.indexOf("@import")!==-1){var F=k(this.tags);F.insertBefore(document.createTextNode(N),F.firstChild)}else k(this.tags).appendChild(document.createTextNode(N));else this.sheet.insertRule(N,N.indexOf("@import")!==-1?0:this.sheet.cssRules.length);return this.ctr++,S&&this.ctr%this.maxLength==0&&this.tags.push(T()),this.ctr-1},delete:function(N){return this.replace(N,"")},flush:function(){S?(this.tags.forEach(function(N){return N.parentNode.removeChild(N)}),this.tags=[],this.sheet=null,this.ctr=0):this.sheet.cssRules=[],this.injected=!1},rules:function(){if(!S)return this.sheet.cssRules;var N=[];return this.tags.forEach(function(F){return N.splice.apply(N,[N.length,0].concat(C(Array.from(A(F).cssRules))))}),N}})},"SE9/":function(ce,R,l){"use strict";var E=l("q1tI");function m($,X){return S($)||A($,X)||C($,X)||O()}function O(){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 C($,X){if(!!$){if(typeof $=="string")return k($,X);var ee=Object.prototype.toString.call($).slice(8,-1);if(ee==="Object"&&$.constructor&&(ee=$.constructor.name),ee==="Map"||ee==="Set")return Array.from($);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return k($,X)}}function k($,X){(X==null||X>$.length)&&(X=$.length);for(var ee=0,ie=new Array(X);ee<X;ee++)ie[ee]=$[ee];return ie}function A($,X){var ee=$&&(typeof Symbol!="undefined"&&$[Symbol.iterator]||$["@@iterator"]);if(ee!=null){var ie=[],G=!0,Q=!1,W,ne;try{for(ee=ee.call($);!(G=(W=ee.next()).done)&&(ie.push(W.value),!(X&&ie.length===X));G=!0);}catch(te){Q=!0,ne=te}finally{try{!G&&ee.return!=null&&ee.return()}finally{if(Q)throw ne}}return ie}}function S($){if(Array.isArray($))return $}function y($){var X=typeof window=="undefined",ee=Object(E.useState)(function(){return X?!1:window.matchMedia($).matches}),ie=m(ee,2),G=ie[0],Q=ie[1];return Object(E.useLayoutEffect)(function(){if(!X){var W=window.matchMedia($),ne=function(_e){return Q(_e.matches)};return W.addListener(ne),function(){return W.removeListener(ne)}}},[$]),G}function w($,X){return N($)||D($,X)||T($,X)||x()}function x(){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 T($,X){if(!!$){if(typeof $=="string")return j($,X);var ee=Object.prototype.toString.call($).slice(8,-1);if(ee==="Object"&&$.constructor&&(ee=$.constructor.name),ee==="Map"||ee==="Set")return Array.from($);if(ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee))return j($,X)}}function j($,X){(X==null||X>$.length)&&(X=$.length);for(var ee=0,ie=new Array(X);ee<X;ee++)ie[ee]=$[ee];return ie}function D($,X){var ee=$&&(typeof Symbol!="undefined"&&$[Symbol.iterator]||$["@@iterator"]);if(ee!=null){var ie=[],G=!0,Q=!1,W,ne;try{for(ee=ee.call($);!(G=(W=ee.next()).done)&&(ie.push(W.value),!(X&&ie.length===X));G=!0);}catch(te){Q=!0,ne=te}finally{try{!G&&ee.return!=null&&ee.return()}finally{if(Q)throw ne}}return ie}}function N($){if(Array.isArray($))return $}var F={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)"}},B=function(){var X="md";if(typeof window=="undefined")return X;var ee=Object.keys(F).find(function(ie){var G=F[ie].matchMedia;return!!window.matchMedia(G).matches});return X=ee,X},U=function(){var X=y(F.md.matchMedia),ee=y(F.lg.matchMedia),ie=y(F.xxl.matchMedia),G=y(F.xl.matchMedia),Q=y(F.sm.matchMedia),W=y(F.xs.matchMedia),ne=Object(E.useState)(B()),te=w(ne,2),_e=te[0],he=te[1];return Object(E.useEffect)(function(){if(ie){he("xxl");return}if(G){he("xl");return}if(ee){he("lg");return}if(X){he("md");return}if(Q){he("sm");return}if(W){he("xs");return}he("md")},[X,ee,ie,G,Q,W]),_e},J=R.a=U},SGZ1:function(ce,R,l){var E=l("I65O");E("search")},SKAX:function(ce,R,l){var E=l("JC6p"),m=l("lQqw"),O=m(E);ce.exports=O},Sb5z:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("tSXo"),C=Object.isSealed,k=m(function(){C(1)});E({target:"Object",stat:!0,forced:k},{isSealed:function(S){return O(S)?C?C(S):!1:!0}})},Sdc0:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("ye1Q"),C=l("TSYQ"),k=l.n(C),A=l("ODXe"),S=l("Ff2n"),y=l("q1tI");function w(he){var oe=y.useRef();oe.current=he;var ge=y.useCallback(function(){for(var me,Z=arguments.length,xe=new Array(Z),Ee=0;Ee<Z;Ee++)xe[Ee]=arguments[Ee];return(me=oe.current)===null||me===void 0?void 0:me.call.apply(me,[oe].concat(xe))},[]);return ge}function x(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var T=x()?y.useLayoutEffect:y.useEffect,j=function(oe,ge){var me=y.useRef(!0);T(function(){return oe(me.current)},ge),T(function(){return me.current=!1,function(){me.current=!0}},[])},D=function(oe,ge){j(function(me){if(!me)return oe()},ge)},N=j;function F(he){var oe=y.useRef(!1),ge=y.useState(he),me=Object(A.a)(ge,2),Z=me[0],xe=me[1];y.useEffect(function(){return oe.current=!1,function(){oe.current=!0}},[]);function Ee(Le,we){we&&oe.current||xe(Le)}return[Z,Ee]}function B(he){return he!==void 0}function U(he,oe){var ge=oe||{},me=ge.defaultValue,Z=ge.value,xe=ge.onChange,Ee=ge.postState,Le=F(function(){return B(Z)?Z:B(me)?typeof me=="function"?me():me:typeof he=="function"?he():he}),we=Object(A.a)(Le,2),fe=we[0],pe=we[1],Ke=Z!==void 0?Z:fe,Me=Ee?Ee(Ke):Ke,ze=w(xe),Ue=F([Ke]),He=Object(A.a)(Ue,2),Ne=He[0],it=He[1];D(function(){var ht=Ne[0];fe!==ht&&ze(fe,ht)},[Ne]),D(function(){B(Z)||pe(Z)},[Z]);var Xe=w(function(ht,lt){pe(ht,lt),it([Ke],lt)});return[Me,Xe]}var J={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(oe){var ge=oe.keyCode;if(oe.altKey&&!oe.ctrlKey||oe.metaKey||ge>=J.F1&&ge<=J.F12)return!1;switch(ge){case J.ALT:case J.CAPS_LOCK:case J.CONTEXT_MENU:case J.CTRL:case J.DOWN:case J.END:case J.ESC:case J.HOME:case J.INSERT:case J.LEFT:case J.MAC_FF_META:case J.META:case J.NUMLOCK:case J.NUM_CENTER:case J.PAGE_DOWN:case J.PAGE_UP:case J.PAUSE:case J.PRINT_SCREEN:case J.RIGHT:case J.SHIFT:case J.UP:case J.WIN_KEY:case J.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(oe){if(oe>=J.ZERO&&oe<=J.NINE||oe>=J.NUM_ZERO&&oe<=J.NUM_MULTIPLY||oe>=J.A&&oe<=J.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&oe===0)return!0;switch(oe){case J.SPACE:case J.QUESTION_MARK:case J.NUM_PLUS:case J.NUM_MINUS:case J.NUM_PERIOD:case J.NUM_DIVISION:case J.SEMICOLON:case J.DASH:case J.EQUALS:case J.COMMA:case J.PERIOD:case J.SLASH:case J.APOSTROPHE:case J.SINGLE_QUOTE:case J.OPEN_SQUARE_BRACKET:case J.BACKSLASH:case J.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},$=J,X=y.forwardRef(function(he,oe){var ge,me=he.prefixCls,Z=me===void 0?"rc-switch":me,xe=he.className,Ee=he.checked,Le=he.defaultChecked,we=he.disabled,fe=he.loadingIcon,pe=he.checkedChildren,Ke=he.unCheckedChildren,Me=he.onClick,ze=he.onChange,Ue=he.onKeyDown,He=Object(S.a)(he,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),Ne=U(!1,{value:Ee,defaultValue:Le}),it=Object(A.a)(Ne,2),Xe=it[0],ht=it[1];function lt(xt,Xt){var vt=Xe;return we||(vt=xt,ht(vt),ze==null||ze(vt,Xt)),vt}function Et(xt){xt.which===$.LEFT?lt(!1,xt):xt.which===$.RIGHT&&lt(!0,xt),Ue==null||Ue(xt)}function tt(xt){var Xt=lt(!Xe,xt);Me==null||Me(Xt,xt)}var mt=k()(Z,xe,(ge={},Object(m.a)(ge,"".concat(Z,"-checked"),Xe),Object(m.a)(ge,"".concat(Z,"-disabled"),we),ge));return y.createElement("button",Object.assign({},He,{type:"button",role:"switch","aria-checked":Xe,disabled:we,className:mt,ref:oe,onKeyDown:Et,onClick:tt}),fe,y.createElement("span",{className:"".concat(Z,"-inner")},Xe?pe:Ke))});X.displayName="Switch";var ee=X,ie=l("H84U"),G=l("caoh"),Q=l("3Nzz"),W=l("g0mS"),ne=function(he,oe){var ge={};for(var me in he)Object.prototype.hasOwnProperty.call(he,me)&&oe.indexOf(me)<0&&(ge[me]=he[me]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,me=Object.getOwnPropertySymbols(he);Z<me.length;Z++)oe.indexOf(me[Z])<0&&Object.prototype.propertyIsEnumerable.call(he,me[Z])&&(ge[me[Z]]=he[me[Z]]);return ge},te=y.forwardRef(function(he,oe){var ge,me=he.prefixCls,Z=he.size,xe=he.disabled,Ee=he.loading,Le=he.className,we=Le===void 0?"":Le,fe=ne(he,["prefixCls","size","disabled","loading","className"]),pe=y.useContext(ie.b),Ke=pe.getPrefixCls,Me=pe.direction,ze=y.useContext(Q.b),Ue=y.useContext(G.b),He=(xe!=null?xe:Ue)||Ee,Ne=Ke("switch",me),it=y.createElement("div",{className:"".concat(Ne,"-handle")},Ee&&y.createElement(O.a,{className:"".concat(Ne,"-loading-icon")})),Xe=k()((ge={},Object(m.a)(ge,"".concat(Ne,"-small"),(Z||ze)==="small"),Object(m.a)(ge,"".concat(Ne,"-loading"),Ee),Object(m.a)(ge,"".concat(Ne,"-rtl"),Me==="rtl"),ge),we);return y.createElement(W.a,{insertExtraNode:!0},y.createElement(ee,Object(E.a)({},fe,{prefixCls:Ne,className:Xe,disabled:He,ref:oe,loadingIcon:it})))});te.__ANT_SWITCH=!0;var _e=R.a=te},Sf9Y:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("m0kY"),O=l("Ze4s"),C="Invalid number representation",k="Invalid radix",A=/^[\da-z]+$/;E({target:"Number",stat:!0},{fromString:function(y,w){var x=1,T,j;if(typeof y!="string")throw TypeError(C);if(!y.length||y.charAt(0)=="-"&&(x=-1,y=y.slice(1),!y.length))throw SyntaxError(C);if(T=w===void 0?10:m(w),T<2||T>36)throw RangeError(k);if(!A.test(y)||(j=O(y,T)).toString(T)!==y)throw SyntaxError(C);return x*j}})},SfRM:function(ce,R,l){var E=l("YESw");function m(){this.__data__=E?E(null):{},this.size=0}ce.exports=m},ShgS:function(ce,R,l){"use strict";l.d(R,"b",function(){return m});var E={navTheme:"light",primaryColor:"#296DF3",layout:"mix",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"",pwa:!1,iconfontUrl:"//at.alicdn.com/t/c/font_3201979_drwu4z3kkbi.js",splitMenus:!0,menu:{defaultOpenAll:!0,autoClose:!1,ignoreFlatMenu:!0}},m="/webapp/";R.a=E},Sk89:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.postConstruct=void 0;var E=l("MON2"),m=l("xfSm"),O=l("GXnB");function C(){return function(k,A,S){var y=new O.Metadata(m.POST_CONSTRUCT,A);if(Reflect.hasOwnMetadata(m.POST_CONSTRUCT,k.constructor))throw new Error(E.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(m.POST_CONSTRUCT,y,k.constructor)}}R.postConstruct=C},SksO:function(ce,R){function l(E,m){return ce.exports=l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,k){return C.__proto__=k,C},ce.exports.__esModule=!0,ce.exports.default=ce.exports,l(E,m)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},Sn4z:function(ce,R,l){var E=l("cTDu"),m=l("oa35"),O=l("9SZg"),C=l("bF+Q"),k=l("7BAe"),A=l("FVwB").aTypedArrayConstructor;ce.exports=function(y){var w=E(y),x=arguments.length,T=x>1?arguments[1]:void 0,j=T!==void 0,D=O(w),N,F,B,U,J,$;if(D!=null&&!C(D))for(J=D.call(w),$=J.next,w=[];!(U=$.call(J)).done;)w.push(U.value);for(j&&x>2&&(T=k(T,arguments[2],2)),F=m(w.length),B=new(A(this))(F),N=0;F>N;N++)B[N]=j?T(w[N],N):w[N];return B}},SprQ:function(ce,R,l){var E=l("MVys");ce.exports=!E(function(){function m(){}return m.prototype.constructor=null,Object.getPrototypeOf(new m)!==m.prototype})},SqFR:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.ConfigContext=R.ConfigConsumer=void 0,R.withConfigConsumer=y;var O=m(l("pVnL")),C=E(l("q1tI")),k=function(x,T){return T||(x?"ant-".concat(x):"ant")},A=C.createContext({getPrefixCls:k});R.ConfigContext=A;var S=A.Consumer;R.ConfigConsumer=S;function y(w){return function(T){var j=function(B){return C.createElement(S,null,function(U){var J=w.prefixCls,$=U.getPrefixCls,X=B.prefixCls,ee=$(J,X);return C.createElement(T,(0,O.default)({},U,B,{prefixCls:ee}))})},D=T.constructor,N=D&&D.displayName||T.name||"Component";return j}}},Srjj:function(ce,R,l){var E=l("jtLI"),m=l("0qr0"),O=l("/3zY").indexOf,C=l("6ixQ");ce.exports=function(k,A){var S=m(k),y=0,w=[],x;for(x in S)!E(C,x)&&E(S,x)&&w.push(x);for(;A.length>y;)E(S,x=A[y++])&&(~O(w,x)||w.push(x));return w}},Sxd8:function(ce,R,l){var E=l("ZCgT");function m(O){var C=E(O),k=C%1;return C===C?k?C-k:C:0}ce.exports=m},"T+mL":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=R.calculateChange=function(O,C,k,A,S){O.preventDefault();var y=S.clientWidth,w=S.clientHeight,x=typeof O.pageX=="number"?O.pageX:O.touches[0].pageX,T=typeof O.pageY=="number"?O.pageY:O.touches[0].pageY,j=x-(S.getBoundingClientRect().left+window.pageXOffset),D=T-(S.getBoundingClientRect().top+window.pageYOffset);if(k==="vertical"){var N=void 0;if(D<0?N=0:D>w?N=1:N=Math.round(D*100/w)/100,C.a!==N)return{h:C.h,s:C.s,l:C.l,a:N,source:"rgb"}}else{var F=void 0;if(j<0?F=0:j>y?F=1:F=Math.round(j*100/y)/100,A!==F)return{h:C.h,s:C.s,l:C.l,a:F,source:"rgb"}}return null}},"T/5g":function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("tSXo"),C=Object.isExtensible,k=m(function(){C(1)});E({target:"Object",stat:!0,forced:k},{isExtensible:function(S){return O(S)?C?C(S):!0:!1}})},T1AV:function(ce,R,l){var E=l("t2Dn"),m=l("5Tg0"),O=l("yP5f"),C=l("Q1l4"),k=l("+iFO"),A=l("03A+"),S=l("Z0cm"),y=l("3L66"),w=l("DSRE"),x=l("lSCD"),T=l("GoyQ"),j=l("YO3V"),D=l("c6wG"),N=l("itsj"),F=l("jeLo");function B(U,J,$,X,ee,ie,G){var Q=N(U,$),W=N(J,$),ne=G.get(W);if(ne){E(U,$,ne);return}var te=ie?ie(Q,W,$+"",U,J,G):void 0,_e=te===void 0;if(_e){var he=S(W),oe=!he&&w(W),ge=!he&&!oe&&D(W);te=W,he||oe||ge?S(Q)?te=Q:y(Q)?te=C(Q):oe?(_e=!1,te=m(W,!0)):ge?(_e=!1,te=O(W,!0)):te=[]:j(W)||A(W)?(te=Q,A(Q)?te=F(Q):(!T(Q)||x(Q))&&(te=k(W))):_e=!1}_e&&(G.set(W,te),ee(te,W,X,ie,G),G.delete(W)),E(U,$,te)}ce.exports=B},T2gR:function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("jrin"),m=l("k1fw"),O="routes";function C(k,A){var S=[].concat(k).map(function(y){var w=y.children||y[O];return w&&w!==null&&w!==void 0&&w.length?Object(m.a)(Object(m.a)({},y),{},Object(E.a)({children:w==null?void 0:w.map(function(x){return Object(m.a)({},x)})},O,w==null?void 0:w.map(function(x){return Object(m.a)({},x)}))):y});return S.map(function(y){var w=typeof y.unaccessible=="boolean"?!y.unaccessible:!0;if(y&&y.access){if(typeof y.access!="string")throw new Error('[plugin-access]: "access" field set in "'+y.path+'" route should be a string.');var x=A[y.access];typeof x=="function"?w=x(y):typeof x=="boolean"&&(w=x),y.unaccessible=!w}var T=y.children||y[O];if(T&&Array.isArray(T)&&T.length){if(!Array.isArray(T))return y;T.forEach(function(N){N.unaccessible=!w});var j=C(T,A),D=Array.isArray(j)&&j.every(function(N){return N.unaccessible});if(!y.unaccessible&&D&&(y.unaccessible=!0),j&&(j==null?void 0:j.length)>0)return Object(m.a)(Object(m.a)({},y),{},Object(E.a)({children:j},O,j));delete y.routes,delete y.children}return y})}},T2oS:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("YBTB"),C=l.n(O)},T5bk:function(ce,R,l){"use strict";l.d(R,"a",function(){return k});var E=l("DSFK"),m=l("25BE"),O=l("BsWD"),C=l("PYwp");function k(A){return Object(E.a)(A)||Object(m.a)(A)||Object(O.a)(A)||Object(C.a)()}},TIy0:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Checkboard=void 0;var E=l("q1tI"),m=y(E),O=l("/FUP"),C=y(O),k=l("3oh8"),A=S(k);function S(x){if(x&&x.__esModule)return x;var T={};if(x!=null)for(var j in x)Object.prototype.hasOwnProperty.call(x,j)&&(T[j]=x[j]);return T.default=x,T}function y(x){return x&&x.__esModule?x:{default:x}}var w=R.Checkboard=function(T){var j=T.white,D=T.grey,N=T.size,F=T.renderers,B=T.borderRadius,U=T.boxShadow,J=(0,C.default)({default:{grid:{borderRadius:B,boxShadow:U,absolute:"0px 0px 0px 0px",background:"url("+A.get(j,D,N,F.canvas)+") center left"}}});return m.default.createElement("div",{style:J.grid})};w.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},R.default=w},TLLU:function(ce,R,l){"use strict";var E=l("5OYt");function m(){return Object(E.a)()}R.a={useBreakpoint:m}},TMUv:function(ce,R,l){var E=l("ukPv"),m=l("lz10");ce.exports=function(O,C){try{m(E,O,C)}catch(k){E[O]=C}return C}},TO8r:function(ce,R){var l=/\s/;function E(m){for(var O=m.length;O--&&l.test(m.charAt(O)););return O}ce.exports=E},TOwV:function(ce,R,l){"use strict";ce.exports=l("qT12")},TSYQ:function(ce,R,l){var E,m;/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(){"use strict";var O={}.hasOwnProperty,C="[native code]";function k(){for(var A=[],S=0;S<arguments.length;S++){var y=arguments[S];if(!!y){var w=typeof y;if(w==="string"||w==="number")A.push(y);else if(Array.isArray(y)){if(y.length){var x=k.apply(null,y);x&&A.push(x)}}else if(w==="object"){if(y.toString!==Object.prototype.toString&&!y.toString.toString().includes("[native code]")){A.push(y.toString());continue}for(var T in y)O.call(y,T)&&y[T]&&A.push(T)}}}return A.join(" ")}ce.exports?(k.default=k,ce.exports=k):(E=[],m=function(){return k}.apply(R,E),m!==void 0&&(ce.exports=m))})()},Tckk:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("U8pU"),C=l("ODXe"),k=l("TSYQ"),A=l.n(k),S=l("t23M"),y=l("Twdv"),w=l("q1tI"),x=l("H84U"),T=l("5OYt"),j=l("ACnJ"),D=w.createContext("default"),N=function(_e){var he=_e.children,oe=_e.size;return w.createElement(D.Consumer,null,function(ge){return w.createElement(D.Provider,{value:oe||ge},he)})},F=D,B=function(te,_e){var he={};for(var oe in te)Object.prototype.hasOwnProperty.call(te,oe)&&_e.indexOf(oe)<0&&(he[oe]=te[oe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,oe=Object.getOwnPropertySymbols(te);ge<oe.length;ge++)_e.indexOf(oe[ge])<0&&Object.prototype.propertyIsEnumerable.call(te,oe[ge])&&(he[oe[ge]]=te[oe[ge]]);return he},U=function(_e,he){var oe,ge,me=w.useContext(F),Z=w.useState(1),xe=Object(C.a)(Z,2),Ee=xe[0],Le=xe[1],we=w.useState(!1),fe=Object(C.a)(we,2),pe=fe[0],Ke=fe[1],Me=w.useState(!0),ze=Object(C.a)(Me,2),Ue=ze[0],He=ze[1],Ne=w.useRef(null),it=w.useRef(null),Xe=Object(y.a)(he,Ne),ht=w.useContext(x.b),lt=ht.getPrefixCls,Et=function(){if(!(!it.current||!Ne.current)){var $n=it.current.offsetWidth,hn=Ne.current.offsetWidth;if($n!==0&&hn!==0){var _n=_e.gap,bn=_n===void 0?4:_n;bn*2<hn&&Le(hn-bn*2<$n?(hn-bn*2)/$n:1)}}};w.useEffect(function(){Ke(!0)},[]),w.useEffect(function(){He(!0),Le(1)},[_e.src]),w.useEffect(function(){Et()},[_e.gap]);var tt=function(){var $n=_e.onError,hn=$n?$n():void 0;hn!==!1&&He(!1)},mt=_e.prefixCls,xt=_e.shape,Xt=xt===void 0?"circle":xt,vt=_e.size,qe=vt===void 0?"default":vt,Re=_e.src,Se=_e.srcSet,Ve=_e.icon,Ge=_e.className,_t=_e.alt,bt=_e.draggable,gt=_e.children,at=_e.crossOrigin,ft=B(_e,["prefixCls","shape","size","src","srcSet","icon","className","alt","draggable","children","crossOrigin"]),Fe=qe==="default"?me:qe,Te=Object.keys(Object(O.a)(Fe)==="object"?Fe||{}:{}).some(function(cn){return["xs","sm","md","lg","xl","xxl"].includes(cn)}),ut=Object(T.a)(Te),le=w.useMemo(function(){if(Object(O.a)(Fe)!=="object")return{};var cn=j.b.find(function(hn){return ut[hn]}),$n=Fe[cn];return $n?{width:$n,height:$n,lineHeight:"".concat($n,"px"),fontSize:Ve?$n/2:18}:{}},[ut,Fe]),$e=lt("avatar",mt),Qe=A()((oe={},Object(m.a)(oe,"".concat($e,"-lg"),Fe==="large"),Object(m.a)(oe,"".concat($e,"-sm"),Fe==="small"),oe)),Tt=w.isValidElement(Re),Ot=A()($e,Qe,(ge={},Object(m.a)(ge,"".concat($e,"-").concat(Xt),!!Xt),Object(m.a)(ge,"".concat($e,"-image"),Tt||Re&&Ue),Object(m.a)(ge,"".concat($e,"-icon"),!!Ve),ge),Ge),Ut=typeof Fe=="number"?{width:Fe,height:Fe,lineHeight:"".concat(Fe,"px"),fontSize:Ve?Fe/2:18}:{},At;if(typeof Re=="string"&&Ue)At=w.createElement("img",{src:Re,draggable:bt,srcSet:Se,onError:tt,alt:_t,crossOrigin:at});else if(Tt)At=Re;else if(Ve)At=Ve;else if(pe||Ee!==1){var Pt="scale(".concat(Ee,") translateX(-50%)"),Dt={msTransform:Pt,WebkitTransform:Pt,transform:Pt},Qt=typeof Fe=="number"?{lineHeight:"".concat(Fe,"px")}:{};At=w.createElement(S.a,{onResize:Et},w.createElement("span",{className:"".concat($e,"-string"),ref:it,style:Object(E.a)(Object(E.a)({},Qt),Dt)},gt))}else At=w.createElement("span",{className:"".concat($e,"-string"),style:{opacity:0},ref:it},gt);return delete ft.onError,delete ft.gap,w.createElement("span",Object(E.a)({},ft,{style:Object(E.a)(Object(E.a)(Object(E.a)({},Ut),le),ft.style),className:Ot,ref:Xe}),At)},J=w.forwardRef(U),$=J,X=l("axMd"),ee=l("diRs"),ie=l("0n0R"),G=function(_e){var he=w.useContext(x.b),oe=he.getPrefixCls,ge=he.direction,me=_e.prefixCls,Z=_e.className,xe=Z===void 0?"":Z,Ee=_e.maxCount,Le=_e.maxStyle,we=_e.size,fe=oe("avatar-group",me),pe=A()(fe,Object(m.a)({},"".concat(fe,"-rtl"),ge==="rtl"),xe),Ke=_e.children,Me=_e.maxPopoverPlacement,ze=Me===void 0?"top":Me,Ue=_e.maxPopoverTrigger,He=Ue===void 0?"hover":Ue,Ne=Object(X.a)(Ke).map(function(lt,Et){return Object(ie.a)(lt,{key:"avatar-key-".concat(Et)})}),it=Ne.length;if(Ee&&Ee<it){var Xe=Ne.slice(0,Ee),ht=Ne.slice(Ee,it);return Xe.push(w.createElement(ee.a,{key:"avatar-popover-key",content:ht,trigger:He,placement:ze,overlayClassName:"".concat(fe,"-popover")},w.createElement($,{style:Le},"+".concat(it-Ee)))),w.createElement(N,{size:we},w.createElement("div",{className:pe,style:_e.style},Xe))}return w.createElement(N,{size:we},w.createElement("div",{className:pe,style:_e.style},Ne))},Q=G,W=$;W.Group=Q;var ne=R.a=W},TeRw:function(ce,R,l){"use strict";l.r(R),l.d(R,"getInstance",function(){return Le});var E=l("x+uP"),m=l("wx14"),O=l("rePB"),C=l("Ue1A"),k=l("2BaD"),A=l("4i/N"),S=l("RCxd"),y=l("+YFz"),w=l("TSYQ"),x=l.n(w),T=l("8tx+"),j=l("q1tI"),D=l("wEI+"),N=l("ODXe"),F=l("8HVG"),B=l("H84U");function U(fe,pe){var Ke=function(){var ze,Ue=null,He={add:function(mt,xt){Ue==null||Ue.component.add(mt,xt)}},Ne=Object(F.a)(He),it=Object(N.a)(Ne,2),Xe=it[0],ht=it[1];function lt(tt){var mt=tt.prefixCls,xt=ze("notification",mt);fe(Object(m.a)(Object(m.a)({},tt),{prefixCls:xt}),function(Xt){var vt=Xt.prefixCls,qe=Xt.instance;Ue=qe,Xe(pe(tt,vt))})}var Et=j.useRef({});return Et.current.open=lt,["success","info","warning","error"].forEach(function(tt){Et.current[tt]=function(mt){return Et.current.open(Object(m.a)(Object(m.a)({},mt),{type:tt}))}}),[Et.current,j.createElement(B.a,{key:"holder"},function(tt){return ze=tt.getPrefixCls,ht})]};return Ke}var J=function(fe,pe,Ke,Me){function ze(Ue){return Ue instanceof Ke?Ue:new Ke(function(He){He(Ue)})}return new(Ke||(Ke=Promise))(function(Ue,He){function Ne(ht){try{Xe(Me.next(ht))}catch(lt){He(lt)}}function it(ht){try{Xe(Me.throw(ht))}catch(lt){He(lt)}}function Xe(ht){ht.done?Ue(ht.value):ze(ht.value).then(Ne,it)}Xe((Me=Me.apply(fe,pe||[])).next())})},$={},X=4.5,ee=24,ie=24,G="",Q="topRight",W,ne,te=!1,_e;function he(fe){var pe=fe.duration,Ke=fe.placement,Me=fe.bottom,ze=fe.top,Ue=fe.getContainer,He=fe.closeIcon,Ne=fe.prefixCls;Ne!==void 0&&(G=Ne),pe!==void 0&&(X=pe),Ke!==void 0?Q=Ke:fe.rtl&&(Q="topLeft"),Me!==void 0&&(ie=Me),ze!==void 0&&(ee=ze),Ue!==void 0&&(W=Ue),He!==void 0&&(ne=He),fe.rtl!==void 0&&(te=fe.rtl),fe.maxCount!==void 0&&(_e=fe.maxCount)}function oe(fe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ee,Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ie,Me;switch(fe){case"top":Me={left:"50%",transform:"translateX(-50%)",right:"auto",top:pe,bottom:"auto"};break;case"topLeft":Me={left:0,top:pe,bottom:"auto"};break;case"topRight":Me={right:0,top:pe,bottom:"auto"};break;case"bottom":Me={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:Ke};break;case"bottomLeft":Me={left:0,top:"auto",bottom:Ke};break;default:Me={right:0,top:"auto",bottom:Ke};break}return Me}function ge(fe,pe){var Ke=fe.placement,Me=Ke===void 0?Q:Ke,ze=fe.top,Ue=fe.bottom,He=fe.getContainer,Ne=He===void 0?W:He,it=fe.prefixCls,Xe=Object(D.b)(),ht=Xe.getPrefixCls,lt=Xe.getIconPrefixCls,Et=ht("notification",it||G),tt=lt(),mt="".concat(Et,"-").concat(Me),xt=$[mt];if(xt){Promise.resolve(xt).then(function(vt){pe({prefixCls:"".concat(Et,"-notice"),iconPrefixCls:tt,instance:vt})});return}var Xt=x()("".concat(Et,"-").concat(Me),Object(O.a)({},"".concat(Et,"-rtl"),te===!0));$[mt]=new Promise(function(vt){T.default.newInstance({prefixCls:Et,className:Xt,style:oe(Me,ze,Ue),getContainer:Ne,maxCount:_e},function(qe){vt(qe),pe({prefixCls:"".concat(Et,"-notice"),iconPrefixCls:tt,instance:qe})})})}var me={success:C.a,info:y.a,error:k.a,warning:S.a};function Z(fe,pe,Ke){var Me=fe.duration,ze=fe.icon,Ue=fe.type,He=fe.description,Ne=fe.message,it=fe.btn,Xe=fe.onClose,ht=fe.onClick,lt=fe.key,Et=fe.style,tt=fe.className,mt=fe.closeIcon,xt=mt===void 0?ne:mt,Xt=fe.props,vt=Me===void 0?X:Me,qe=null;ze?qe=j.createElement("span",{className:"".concat(pe,"-icon")},fe.icon):Ue&&(qe=j.createElement(me[Ue]||null,{className:"".concat(pe,"-icon ").concat(pe,"-icon-").concat(Ue)}));var Re=typeof xt=="undefined"?j.createElement("span",{className:"".concat(pe,"-close-x")},j.createElement(A.a,{className:"".concat(pe,"-close-icon")})):xt,Se=!He&&qe?j.createElement("span",{className:"".concat(pe,"-message-single-line-auto-margin")}):null;return{content:j.createElement(D.a,{iconPrefixCls:Ke},j.createElement("div",{className:qe?"".concat(pe,"-with-icon"):"",role:"alert"},qe,j.createElement("div",{className:"".concat(pe,"-message")},Se,Ne),j.createElement("div",{className:"".concat(pe,"-description")},He),it?j.createElement("span",{className:"".concat(pe,"-btn")},it):null)),duration:vt,closable:!0,closeIcon:Re,onClose:Xe,onClick:ht,key:lt,style:Et||{},className:x()(tt,Object(O.a)({},"".concat(pe,"-").concat(Ue),!!Ue)),props:Xt}}function xe(fe){ge(fe,function(pe){var Ke=pe.prefixCls,Me=pe.iconPrefixCls,ze=pe.instance;ze.notice(Z(fe,Ke,Me))})}var Ee={open:xe,close:function(pe){Object.keys($).forEach(function(Ke){return Promise.resolve($[Ke]).then(function(Me){Me.removeNotice(pe)})})},config:he,destroy:function(){Object.keys($).forEach(function(pe){Promise.resolve($[pe]).then(function(Ke){Ke.destroy()}),delete $[pe]})}};["success","info","warning","error"].forEach(function(fe){Ee[fe]=function(pe){return Ee.open(Object(m.a)(Object(m.a)({},pe),{type:fe}))}}),Ee.warn=Ee.warning,Ee.useNotification=U(ge,Z);var Le=function(pe){return J(void 0,void 0,void 0,Object(E.a)().mark(function Ke(){return Object(E.a)().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",null);case 1:case"end":return ze.stop()}},Ke)}))},we=R.default=Ee},Telt:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("ifDB"),C=l.n(O),k=l("Q9mQ")},Tfd0:function(ce,R){ce.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},Tiei:function(ce,R,l){"use strict";var E=l("oBTY"),m=l("tU7J"),O=l("wFql"),C=l("k1fw"),k=l("tJVT"),A=l("q1tI"),S=l.n(A),y=l("lc5D"),w=l.n(y),x=l("A8C4"),T=l.n(x),j=l("VEX6"),D=l.n(j),N=l("G7d7"),F=l.n(N),B=l("wiAF"),U=l.n(B),J=l("TrNS"),$=l.n(J),X=l("LvDl"),ee=l.n(X),ie=l("/eD2"),G=l("DkWt"),Q=l.n(G),W=l("nKUr"),ne=l.n(W),te;(function(Ke){Ke.table="table",Ke.variable="variable",Ke.column="column"})(te||(te={}));var _e="14px",he="sql",oe="100%",ge={behavioursEnabled:!0,enableSnippets:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,autoScrollEditorIntoView:!0,wrap:!0,useWorker:!1};function me(Ke){var Me=Object(A.useRef)(),ze=Ke.hints,Ue=ze===void 0?{}:ze,He=Ke.value,Ne=Ke.height,it=Ne===void 0?oe:Ne,Xe=Ke.mode,ht=Xe===void 0?he:Xe,lt=Ke.isRightTheme,Et=lt===void 0?!1:lt,tt=Ke.sizeChanged,mt=Ke.editorConfig,xt=Ke.fullScreenBtnVisible,Xt=xt===void 0?!0:xt,vt=Ke.onSqlChange,qe=Ke.onChange,Re=Ke.onSelect,Se=Ke.onCmdEnter,Ve=Object(A.useCallback)(Object(X.debounce)(function(){var ut;(ut=Me.current)===null||ut===void 0||ut.editor.resize()},300),[]),Ge=Object(A.useCallback)(function(ut){vt==null||vt(ut),qe==null||qe(ut)},[]),_t=Object(A.useCallback)(Object(X.debounce)(function(ut){var le,$e=(le=Me.current)===null||le===void 0?void 0:le.editor.session.doc.getTextRange(ut.getRange()),Qe=($e==null?void 0:$e.length)>1?$e:null;Re==null||Re(Qe)},300),[]),bt=Object(A.useMemo)(function(){return[{name:"execute",bindKey:{win:"Ctrl-Enter",mac:"Command-Enter"},exec:Se}]},[]);Object(A.useEffect)(function(){Ve()},[tt,it]),Object(A.useEffect)(function(){Z(Ue)},[Ue]);var gt=Object(A.useState)(!1),at=Object(k.a)(gt,2),ft=at[0],Fe=at[1],Te=function(){Fe(!1)};return Object(W.jsxs)("div",{className:Q.a.sqlEditor,style:{height:it},children:[Object(W.jsx)(ie.a,{isFullScreen:ft,top:"".concat(0,"px"),triggerBackToNormal:Te,children:Object(W.jsx)(w.a,Object(C.a)({ref:Me,name:"aceEditor",width:"100%",height:"100%",fontSize:_e,mode:ht,theme:Et?"sqlserver":"monokai",value:He,showPrintMargin:!1,highlightActiveLine:!0,setOptions:ge,commands:bt,onChange:Ge,onSelectionChange:_t},mt))}),Xt&&Object(W.jsx)("span",{className:Q.a.fullScreenBtnBox,onClick:function(){Fe(!0)},children:Object(W.jsx)(O.a.Link,{children:"\u5168\u5C4F\u67E5\u770B"})})]})}function Z(Ke){var Me=T.a.textCompleter,ze=T.a.keyWordCompleter,Ue=T.a.setCompleters,He={identifierRegexps:[/[a-zA-Z_0-9.\-\u00A2-\uFFFF]/],getCompletions:function(Xe,ht,lt,Et,tt){var mt=xe(Ke),xt=mt.tableKeywords,Xt=mt.tableColumnKeywords,vt=mt.variableKeywords,qe=mt.columns;if(Et[Et.length-1]==="."){var Re=Et.substring(0,Et.length-1),Se=Le(Xe,Re,Ke),Ve=xt.concat(vt,Se,Xt[Re]||[]);return tt(null,Ve)}tt(null,xt.concat(vt,qe))}},Ne=[Me,ze,He];Ue(Ne)}function xe(Ke){var Me=[],ze=[],Ue={},He=[],Ne=1e3;return Object.keys(Ke).forEach(function(it){var Xe=we(it);if(Xe)Me.push({score:Ne--,value:it,meta:Xe});else{var ht=Ee(Ke[it],it),lt=ht.columnWithTableName,Et=ht.column;Ue[it]=lt,He.push.apply(He,Object(E.a)(Et)),ze.push({name:it,value:it,score:Ne--,meta:fe()})}}),{tableKeywords:ze,tableColumnKeywords:Ue,variableKeywords:Me,columns:He}}function Ee(Ke,Me){var ze=100,Ue=[],He=[];return Ke.forEach(function(Ne){var it={score:ze--,meta:pe()};Ue.push(Object(C.a)({caption:"".concat(Me,".").concat(Ne),name:"".concat(Me,".").concat(Ne),value:"".concat(Me,".").concat(Ne)},it)),He.push(Object(C.a)({value:Ne,name:Ne},it))}),{columnWithTableName:Ue,column:He}}function Le(Ke,Me,ze){var Ue=Ke.getSession().getValue(),He=Object.keys(ze).find(function(Xe){var ht=new RegExp(".+".concat(Xe,"\\s*(as|AS)?(?=\\s+").concat(Me,"\\s*)"),"im");return ht.test(Ue)});if(!He)return[];var Ne=Ee(ze[He],Me),it=Ne.columnWithTableName;return it}function we(Ke){return Ke.startsWith("$")&&Ke.endsWith("$")&&te.variable}function fe(Ke){return te.table}function pe(Ke){return te.column}R.a=me},TqRt:function(ce,R){function l(E){return E&&E.__esModule?E:{default:E}}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},TrNS:function(ce,R,l){(function(E){ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(m,O,C){"use strict";var k=m("../lib/oop"),A=m("./text_highlight_rules").TextHighlightRules,S=function(){var w="select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|when|then|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|foreign|not|references|default|null|inner|cross|natural|database|drop|grant|distinct",x="true|false",T="avg|count|first|last|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|coalesce|ifnull|isnull|nvl",j="int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|money|real|number|integer",D=this.createKeywordMapper({"support.function":T,keyword:w,"constant.language":x,"storage.type":j},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"string",regex:"`.*?`"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:D,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};k.inherits(S,A),O.SqlHighlightRules=S}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(m,O,C){"use strict";var k=m("../../lib/oop"),A=m("../../range").Range,S=m("./fold_mode").FoldMode,y=O.FoldMode=function(w){w&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+w.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+w.end)))};k.inherits(y,S),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(w,x,T){var j=w.getLine(T);if(this.singleLineBlockCommentRe.test(j)&&!this.startRegionRe.test(j)&&!this.tripleStarBlockCommentRe.test(j))return"";var D=this._getFoldWidgetBase(w,x,T);return!D&&this.startRegionRe.test(j)?"start":D},this.getFoldWidgetRange=function(w,x,T,j){var D=w.getLine(T);if(this.startRegionRe.test(D))return this.getCommentRegionBlock(w,D,T);var N=D.match(this.foldingStartMarker);if(N){var F=N.index;if(N[1])return this.openingBracketBlock(w,N[1],T,F);var B=w.getCommentFoldRange(T,F+N[0].length,1);return B&&!B.isMultiLine()&&(j?B=this.getSectionRange(w,T):x!="all"&&(B=null)),B}if(x!=="markbegin"){var N=D.match(this.foldingStopMarker);if(N){var F=N.index+N[0].length;return N[1]?this.closingBracketBlock(w,N[1],T,F):w.getCommentFoldRange(T,F,-1)}}},this.getSectionRange=function(w,x){var T=w.getLine(x),j=T.search(/\S/),D=x,N=T.length;x+=1;for(var F=x,B=w.getLength();++x<B;){T=w.getLine(x);var U=T.search(/\S/);if(U!==-1){if(j>U)break;var J=this.getFoldWidgetRange(w,"all",x);if(J){if(J.start.row<=D)break;if(J.isMultiLine())x=J.end.row;else if(j==U)break}F=x}}return new A(D,N,F,w.getLine(F).length)},this.getCommentRegionBlock=function(w,x,T){for(var j=x.search(/\s*$/),D=w.getLength(),N=T,F=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,B=1;++T<D;){x=w.getLine(T);var U=F.exec(x);if(!!U&&(U[1]?B--:B++,!B))break}var J=T;if(J>N)return new A(N,j,J,x.length)}}.call(y.prototype)}),ace.define("ace/mode/folding/sql",["require","exports","module","ace/lib/oop","ace/mode/folding/cstyle"],function(m,O,C){"use strict";var k=m("../../lib/oop"),A=m("./cstyle").FoldMode,S=O.FoldMode=function(){};k.inherits(S,A),function(){}.call(S.prototype)}),ace.define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules","ace/mode/folding/sql"],function(m,O,C){"use strict";var k=m("../lib/oop"),A=m("./text").Mode,S=m("./sql_highlight_rules").SqlHighlightRules,y=m("./folding/sql").FoldMode,w=function(){this.HighlightRules=S,this.foldingRules=new y,this.$behaviour=this.$defaultBehaviour};k.inherits(w,A),function(){this.lineCommentStart="--",this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/sql",this.snippetFileId="ace/snippets/sql"}.call(w.prototype),O.Mode=w}),function(){ace.require(["ace/mode/sql"],function(m){E&&(E.exports=m)})}()}).call(this,l("hOG+")(ce))},TsO7:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=k;var E=l("B9n1"),m=O(E);function O(A){return A&&A.__esModule?A:{default:A}}var C=["-webkit-",""];function k(A,S){if(typeof S=="string"&&!(0,m.default)(S)&&S.indexOf("image-set(")>-1)return C.map(function(y){return S.replace(/image-set\(/g,y+"image-set(")})}ce.exports=R.default},Twdv:function(ce,R,l){"use strict";l.d(R,"a",function(){return A}),l.d(R,"b",function(){return y});var E=l("U8pU"),m=l("TOwV"),O=l.n(m),C=l("1HLR");function k(w,x){typeof w=="function"?w(x):Object(E.a)(w)==="object"&&w&&"current"in w&&(w.current=x)}function A(){for(var w=arguments.length,x=new Array(w),T=0;T<w;T++)x[T]=arguments[T];var j=x.filter(function(D){return D});return j.length<=1?j[0]:function(D){x.forEach(function(N){k(N,D)})}}function S(){for(var w=arguments.length,x=new Array(w),T=0;T<w;T++)x[T]=arguments[T];return Object(C.a)(function(){return A.apply(void 0,x)},x,function(j,D){return j.length===D.length&&j.every(function(N,F){return N===D[F]})})}function y(w){var x,T,j=Object(m.isMemo)(w)?w.type.type:w.type;return!(typeof j=="function"&&!((x=j.prototype)!==null&&x!==void 0&&x.render)||typeof w=="function"&&!((T=w.prototype)!==null&&T!==void 0&&T.render))}},Ty5D:function(ce,R,l){"use strict";l.d(R,"a",function(){return X}),l.d(R,"b",function(){return ie}),l.d(R,"c",function(){return he}),l.d(R,"d",function(){return we}),l.d(R,"e",function(){return $}),l.d(R,"f",function(){return He}),l.d(R,"g",function(){return Ne}),l.d(R,"h",function(){return J}),l.d(R,"i",function(){return xe}),l.d(R,"j",function(){return ht}),l.d(R,"k",function(){return lt}),l.d(R,"l",function(){return Et}),l.d(R,"m",function(){return tt}),l.d(R,"n",function(){return it});var E=l("dI71"),m=l("q1tI"),O=l.n(m),C=l("YS25"),k=l("tEiQ"),A=l("9R94"),S=l("wx14"),y=l("8tgM"),w=l.n(y),x=l("TOwV"),T=l.n(x),j=l("zLVn"),D=l("m1lR"),N=l.n(D),F=function(Se){var Ve=Object(k.a)();return Ve.displayName=Se,Ve},B=F("Router-History"),U=function(Se){var Ve=Object(k.a)();return Ve.displayName=Se,Ve},J=U("Router"),$=function(Re){Object(E.a)(Se,Re),Se.computeRootMatch=function(_t){return{path:"/",url:"/",params:{},isExact:_t==="/"}};function Se(Ge){var _t;return _t=Re.call(this,Ge)||this,_t.state={location:Ge.history.location},_t._isMounted=!1,_t._pendingLocation=null,Ge.staticContext||(_t.unlisten=Ge.history.listen(function(bt){_t._isMounted?_t.setState({location:bt}):_t._pendingLocation=bt})),_t}var Ve=Se.prototype;return Ve.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},Ve.componentWillUnmount=function(){this.unlisten&&this.unlisten()},Ve.render=function(){return O.a.createElement(J.Provider,{value:{history:this.props.history,location:this.state.location,match:Se.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},O.a.createElement(B.Provider,{children:this.props.children||null,value:this.props.history}))},Se}(O.a.Component),X=function(Re){Object(E.a)(Se,Re);function Se(){for(var Ge,_t=arguments.length,bt=new Array(_t),gt=0;gt<_t;gt++)bt[gt]=arguments[gt];return Ge=Re.call.apply(Re,[this].concat(bt))||this,Ge.history=Object(C.d)(Ge.props),Ge}var Ve=Se.prototype;return Ve.render=function(){return O.a.createElement($,{history:this.history,children:this.props.children})},Se}(O.a.Component),ee=function(Re){Object(E.a)(Se,Re);function Se(){return Re.apply(this,arguments)||this}var Ve=Se.prototype;return Ve.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},Ve.componentDidUpdate=function(_t){this.props.onUpdate&&this.props.onUpdate.call(this,this,_t)},Ve.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},Ve.render=function(){return null},Se}(O.a.Component);function ie(Re){var Se=Re.message,Ve=Re.when,Ge=Ve===void 0?!0:Ve;return O.a.createElement(J.Consumer,null,function(_t){if(_t||Object(A.a)(!1),!Ge||_t.staticContext)return null;var bt=_t.history.block;return O.a.createElement(ee,{onMount:function(at){at.release=bt(Se)},onUpdate:function(at,ft){ft.message!==Se&&(at.release(),at.release=bt(Se))},onUnmount:function(at){at.release()},message:Se})})}if(!1)var G;var Q={},W=1e4,ne=0;function te(Re){if(Q[Re])return Q[Re];var Se=w.a.compile(Re);return ne<W&&(Q[Re]=Se,ne++),Se}function _e(Re,Se){return Re===void 0&&(Re="/"),Se===void 0&&(Se={}),Re==="/"?Re:te(Re)(Se,{pretty:!0})}function he(Re){var Se=Re.computedMatch,Ve=Re.to,Ge=Re.push,_t=Ge===void 0?!1:Ge;return O.a.createElement(J.Consumer,null,function(bt){bt||Object(A.a)(!1);var gt=bt.history,at=bt.staticContext,ft=_t?gt.push:gt.replace,Fe=Object(C.c)(Se?typeof Ve=="string"?_e(Ve,Se.params):Object(S.a)({},Ve,{pathname:_e(Ve.pathname,Se.params)}):Ve);return at?(ft(Fe),null):O.a.createElement(ee,{onMount:function(){ft(Fe)},onUpdate:function(ut,le){var $e=Object(C.c)(le.to);Object(C.f)($e,Object(S.a)({},Fe,{key:$e.key}))||ft(Fe)},to:Ve})})}var oe={},ge=1e4,me=0;function Z(Re,Se){var Ve=""+Se.end+Se.strict+Se.sensitive,Ge=oe[Ve]||(oe[Ve]={});if(Ge[Re])return Ge[Re];var _t=[],bt=w()(Re,_t,Se),gt={regexp:bt,keys:_t};return me<ge&&(Ge[Re]=gt,me++),gt}function xe(Re,Se){Se===void 0&&(Se={}),(typeof Se=="string"||Array.isArray(Se))&&(Se={path:Se});var Ve=Se,Ge=Ve.path,_t=Ve.exact,bt=_t===void 0?!1:_t,gt=Ve.strict,at=gt===void 0?!1:gt,ft=Ve.sensitive,Fe=ft===void 0?!1:ft,Te=[].concat(Ge);return Te.reduce(function(ut,le){if(!le&&le!=="")return null;if(ut)return ut;var $e=Z(le,{end:bt,strict:at,sensitive:Fe}),Qe=$e.regexp,Tt=$e.keys,Ot=Qe.exec(Re);if(!Ot)return null;var Ut=Ot[0],At=Ot.slice(1),Pt=Re===Ut;return bt&&!Pt?null:{path:le,url:le==="/"&&Ut===""?"/":Ut,isExact:Pt,params:Tt.reduce(function(Dt,Qt,cn){return Dt[Qt.name]=At[cn],Dt},{})}},null)}function Ee(Re){return O.a.Children.count(Re)===0}function Le(Re,Se,Ve){var Ge=Re(Se);return Ge||null}var we=function(Re){Object(E.a)(Se,Re);function Se(){return Re.apply(this,arguments)||this}var Ve=Se.prototype;return Ve.render=function(){var _t=this;return O.a.createElement(J.Consumer,null,function(bt){bt||Object(A.a)(!1);var gt=_t.props.location||bt.location,at=_t.props.computedMatch?_t.props.computedMatch:_t.props.path?xe(gt.pathname,_t.props):bt.match,ft=Object(S.a)({},bt,{location:gt,match:at}),Fe=_t.props,Te=Fe.children,ut=Fe.component,le=Fe.render;return Array.isArray(Te)&&Te.length===0&&(Te=null),O.a.createElement(J.Provider,{value:ft},ft.match?Te?typeof Te=="function"?Te(ft):Te:ut?O.a.createElement(ut,ft):le?le(ft):null:typeof Te=="function"?Te(ft):null)})},Se}(O.a.Component);function fe(Re){return Re.charAt(0)==="/"?Re:"/"+Re}function pe(Re,Se){return Re?Object(S.a)({},Se,{pathname:fe(Re)+Se.pathname}):Se}function Ke(Re,Se){if(!Re)return Se;var Ve=fe(Re);return Se.pathname.indexOf(Ve)!==0?Se:Object(S.a)({},Se,{pathname:Se.pathname.substr(Ve.length)})}function Me(Re){return typeof Re=="string"?Re:Object(C.e)(Re)}function ze(Re){return function(){Object(A.a)(!1)}}function Ue(){}var He=function(Re){Object(E.a)(Se,Re);function Se(){for(var Ge,_t=arguments.length,bt=new Array(_t),gt=0;gt<_t;gt++)bt[gt]=arguments[gt];return Ge=Re.call.apply(Re,[this].concat(bt))||this,Ge.handlePush=function(at){return Ge.navigateTo(at,"PUSH")},Ge.handleReplace=function(at){return Ge.navigateTo(at,"REPLACE")},Ge.handleListen=function(){return Ue},Ge.handleBlock=function(){return Ue},Ge}var Ve=Se.prototype;return Ve.navigateTo=function(_t,bt){var gt=this.props,at=gt.basename,ft=at===void 0?"":at,Fe=gt.context,Te=Fe===void 0?{}:Fe;Te.action=bt,Te.location=pe(ft,Object(C.c)(_t)),Te.url=Me(Te.location)},Ve.render=function(){var _t=this.props,bt=_t.basename,gt=bt===void 0?"":bt,at=_t.context,ft=at===void 0?{}:at,Fe=_t.location,Te=Fe===void 0?"/":Fe,ut=Object(j.a)(_t,["basename","context","location"]),le={createHref:function(Qe){return fe(gt+Me(Qe))},action:"POP",location:Ke(gt,Object(C.c)(Te)),push:this.handlePush,replace:this.handleReplace,go:ze("go"),goBack:ze("goBack"),goForward:ze("goForward"),listen:this.handleListen,block:this.handleBlock};return O.a.createElement($,Object(S.a)({},ut,{history:le,staticContext:ft}))},Se}(O.a.Component),Ne=function(Re){Object(E.a)(Se,Re);function Se(){return Re.apply(this,arguments)||this}var Ve=Se.prototype;return Ve.render=function(){var _t=this;return O.a.createElement(J.Consumer,null,function(bt){bt||Object(A.a)(!1);var gt=_t.props.location||bt.location,at,ft;return O.a.Children.forEach(_t.props.children,function(Fe){if(ft==null&&O.a.isValidElement(Fe)){at=Fe;var Te=Fe.props.path||Fe.props.from;ft=Te?xe(gt.pathname,Object(S.a)({},Fe.props,{path:Te})):bt.match}}),ft?O.a.cloneElement(at,{location:gt,computedMatch:ft}):null})},Se}(O.a.Component);function it(Re){var Se="withRouter("+(Re.displayName||Re.name)+")",Ve=function(_t){var bt=_t.wrappedComponentRef,gt=Object(j.a)(_t,["wrappedComponentRef"]);return O.a.createElement(J.Consumer,null,function(at){return at||Object(A.a)(!1),O.a.createElement(Re,Object(S.a)({},gt,at,{ref:bt}))})};return Ve.displayName=Se,Ve.WrappedComponent=Re,N()(Ve,Re)}var Xe=O.a.useContext;function ht(){return Xe(B)}function lt(){return Xe(J).location}function Et(){var Re=Xe(J).match;return Re?Re.params:{}}function tt(Re){var Se=lt(),Ve=Xe(J).match;return Re?xe(Se.pathname,Re):Ve}if(!1)var mt,xt,Xt,vt,qe},Tz1E:function(ce,R,l){var E=l("MMxC"),m=l("IVUx"),O=l("29mP"),C=l("u+7+"),k=function(){var A=O("Object","freeze");return A?A(C(null)):C(null)};E({global:!0},{compositeKey:function(){return m.apply(Object,arguments).get("object",k)}})},"U8/t":function(ce,R,l){var E=l("f1E4"),m=l("tSXo"),O=l("LUyE");ce.exports=function(C,k){if(E(C),m(k)&&k.constructor===C)return k;var A=O.f(C),S=A.resolve;return S(k),A.promise}},U8pU:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},E(m)}},U9fH:function(ce,R,l){var E=l("MMxC"),m=l("IVUx"),O=l("29mP");E({global:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]=="string"?O("Symbol").for(arguments[0]):m.apply(null,arguments).get("symbol",O("Symbol"))}})},UADf:function(ce,R,l){},UB5X:function(ce,R,l){var E=l("NykK"),m=l("ExA7"),O="[object Number]";function C(k){return typeof k=="number"||m(k)&&E(k)==O}ce.exports=C},UBy8:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.cssValue=R.parseLengthAndUnit=void 0;var E={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function m(C){if(typeof C=="number")return{value:C,unit:"px"};var k,A=(C.match(/^[0-9.]*/)||"").toString();A.includes(".")?k=parseFloat(A):k=parseInt(A,10);var S=(C.match(/[^0-9]*$/)||"").toString();return E[S]?{value:k,unit:S}:(console.warn("React Spinners: ".concat(C," is not a valid css value. Defaulting to ").concat(k,"px.")),{value:k,unit:"px"})}R.parseLengthAndUnit=m;function O(C){var k=m(C);return"".concat(k.value).concat(k.unit)}R.cssValue=O},UESt:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O=l.n(m),C=l("piRP"),k=l("6VBw"),A=function(y,w){return m.createElement(k.a,Object(E.a)(Object(E.a)({},y),{},{ref:w,icon:C.a}))};A.displayName="RightOutlined",R.a=m.forwardRef(A)},UF9F:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};R.default=E},UHn5:function(ce,R,l){"use strict";var E=l("ukPv"),m=l("ujhg"),O=l("a5mf"),C=l("/gva"),k=l("uz3g"),A=l("tSXo"),S=l("1aI8").enforce,y=l("ZkJ9"),w=!E.ActiveXObject&&"ActiveXObject"in E,x=Object.isExtensible,T,j=function($){return function(){return $(this,arguments.length?arguments[0]:void 0)}},D=ce.exports=C("WeakMap",j,k);if(y&&w){T=k.getConstructor(j,"WeakMap",!0),O.REQUIRED=!0;var N=D.prototype,F=N.delete,B=N.has,U=N.get,J=N.set;m(N,{delete:function($){if(A($)&&!x($)){var X=S(this);return X.frozen||(X.frozen=new T),F.call(this,$)||X.frozen.delete($)}return F.call(this,$)},has:function(X){if(A(X)&&!x(X)){var ee=S(this);return ee.frozen||(ee.frozen=new T),B.call(this,X)||ee.frozen.has(X)}return B.call(this,X)},get:function(X){if(A(X)&&!x(X)){var ee=S(this);return ee.frozen||(ee.frozen=new T),B.call(this,X)?U.call(this,X):ee.frozen.get(X)}return U.call(this,X)},set:function(X,ee){if(A(X)&&!x(X)){var ie=S(this);ie.frozen||(ie.frozen=new T),B.call(this,X)?J.call(this,X,ee):ie.frozen.set(X,ee)}else J.call(this,X,ee);return this}})}},UIoa:function(ce,R,l){var E=l("MMxC"),m=l("f1E4"),O=l("8Cw2"),C=l("uoF6"),k=l("1aI8"),A="Seeded Random",S=A+" Generator",y=k.set,w=k.getterFor(S),x='Math.seededPRNG() argument should have a "seed" field with a finite value.',T=C(function(D){y(this,{type:S,seed:D%2147483647})},A,function(){var D=w(this),N=D.seed=(D.seed*1103515245+12345)%2147483647;return{value:(N&1073741823)/1073741823,done:!1}});E({target:"Math",stat:!0,forced:!0},{seededPRNG:function(D){var N=m(D).seed;if(!O(N))throw TypeError(x);return new T(N)}})},"UNi/":function(ce,R){function l(E,m){for(var O=-1,C=Array(E);++O<E;)C[O]=m(O);return C}ce.exports=l},UOll:function(ce,R,l){"use strict";l.d(R,"a",function(){return T});var E=l("k1fw"),m=l("TSYQ"),O=l.n(m),C=l("yhcj"),k=l.n(C),A=l("M5et"),S=l.n(A),y=l("nKUr"),w=l.n(y),x=function(N){var F=N.color,B=N.size,U=N.icon,J=N.style,$=N.className;return Object(y.jsx)("span",{className:O()(S.a.s2icon,k.a.iconfont,U,$),style:Object(E.a)({color:F,fontSize:B},J)})},T=k.a,j=Object(y.jsx)(x,{icon:T.iconzichan});R.b=x},UPML:function(ce,R){ce.exports=Object.is||function(E,m){return E===m?E!==0||1/E==1/m:E!=E&&m!=m}},UPUD:function(ce,R,l){},URK0:function(ce,R,l){var E=l("Mi8B");E("Uint32",function(m){return function(C,k,A){return m(this,C,k,A)}})},UVaH:function(ce,R,l){"use strict";var E=typeof Symbol!="undefined"&&Symbol,m=l("FpZJ");ce.exports=function(){return typeof E!="function"||typeof Symbol!="function"||typeof E("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:m()}},UXQe:function(ce,R,l){var E=l("MMxC"),m=l("ukPv");E({global:!0},{globalThis:m})},Uc1W:function(ce,R,l){var E=l("Mi8B");E("Uint8",function(m){return function(C,k,A){return m(this,C,k,A)}})},UcOz:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ColorWrap=void 0;var E=Object.assign||function(N){for(var F=1;F<arguments.length;F++){var B=arguments[F];for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&(N[U]=B[U])}return N},m=function(){function N(F,B){for(var U=0;U<B.length;U++){var J=B[U];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(F,J.key,J)}}return function(F,B,U){return B&&N(F.prototype,B),U&&N(F,U),F}}(),O=l("q1tI"),C=w(O),k=l("sEfC"),A=w(k),S=l("4iDX"),y=w(S);function w(N){return N&&N.__esModule?N:{default:N}}function x(N,F){if(!(N instanceof F))throw new TypeError("Cannot call a class as a function")}function T(N,F){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:N}function j(N,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);N.prototype=Object.create(F&&F.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(N,F):N.__proto__=F)}var D=R.ColorWrap=function(F){var B=function(U){j(J,U);function J($){x(this,J);var X=T(this,(J.__proto__||Object.getPrototypeOf(J)).call(this));return X.handleChange=function(ee,ie){var G=y.default.simpleCheckForValidColor(ee);if(G){var Q=y.default.toState(ee,ee.h||X.state.oldHue);X.setState(Q),X.props.onChangeComplete&&X.debounce(X.props.onChangeComplete,Q,ie),X.props.onChange&&X.props.onChange(Q,ie)}},X.handleSwatchHover=function(ee,ie){var G=y.default.simpleCheckForValidColor(ee);if(G){var Q=y.default.toState(ee,ee.h||X.state.oldHue);X.setState(Q),X.props.onSwatchHover&&X.props.onSwatchHover(Q,ie)}},X.state=E({},y.default.toState($.color,0)),X.debounce=(0,A.default)(function(ee,ie,G){ee(ie,G)},100),X}return m(J,[{key:"componentWillReceiveProps",value:function(X){this.setState(E({},y.default.toState(X.color,this.state.oldHue)))}},{key:"render",value:function(){var X={};return this.props.onSwatchHover&&(X.onSwatchHover=this.handleSwatchHover),C.default.createElement(F,E({},this.props,this.state,{onChange:this.handleChange},X))}}]),J}(O.PureComponent||O.Component);return B.propTypes=E({},F.propTypes),B.defaultProps=E({},F.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),B};R.default=D},Ue1A:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"check-circle",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CheckCircleOutlined";var S=R.a=m.forwardRef(A)},Uf63:function(ce,R,l){"use strict";var E=this&&this.__extends||function(){var S=function(w,x){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,j){T.__proto__=j}||function(T,j){for(var D in j)Object.prototype.hasOwnProperty.call(j,D)&&(T[D]=j[D])},S(w,x)};return function(y,w){if(typeof w!="function"&&w!==null)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");S(y,w);function x(){this.constructor=y}y.prototype=w===null?Object.create(w):(x.prototype=w.prototype,new x)}}();Object.defineProperty(R,"__esModule",{value:!0});var m=l("17x9"),O=l("q1tI"),C=l("N5VM"),k=l("ZBwS"),A=function(S){E(y,S);function y(w){var x=S.call(this,w)||this;return x.state={value:x.props.value},x.onChange=x.onChange.bind(x),x.diff=x.diff.bind(x),x}return y.prototype.componentDidUpdate=function(){var w=this.props.value;w!==this.state.value&&this.setState({value:w})},y.prototype.onChange=function(w){this.setState({value:w}),this.props.onChange&&this.props.onChange(w)},y.prototype.diff=function(){var w=new k,x=this.state.value[0],T=this.state.value[1];if(x.length===0&&T.length===0)return[];var j=w.diff_main(x,T);w.diff_cleanupSemantic(j);var D=this.generateDiffedLines(j),N=this.setCodeMarkers(D);return N},y.prototype.generateDiffedLines=function(w){var x={DIFF_EQUAL:0,DIFF_DELETE:-1,DIFF_INSERT:1},T={left:[],right:[]},j={left:1,right:1};return w.forEach(function(D){var N=D[0],F=D[1],B=F.split(`
`).length-1;if(F.length!==0){var U=F[0],J=F[F.length-1],$=0;switch(N){case x.DIFF_EQUAL:j.left+=B,j.right+=B;break;case x.DIFF_DELETE:U===`
`&&(j.left++,B--),$=B,$===0&&T.right.push({startLine:j.right,endLine:j.right}),J===`
`&&($-=1),T.left.push({startLine:j.left,endLine:j.left+$}),j.left+=B;break;case x.DIFF_INSERT:U===`
`&&(j.right++,B--),$=B,$===0&&T.left.push({startLine:j.left,endLine:j.left}),J===`
`&&($-=1),T.right.push({startLine:j.right,endLine:j.right+$}),j.right+=B;break;default:throw new Error("Diff type was not defined.")}}}),T},y.prototype.setCodeMarkers=function(w){w===void 0&&(w={left:[],right:[]});for(var x=[],T={left:[],right:[]},j=0;j<w.left.length;j++){var D={startRow:w.left[j].startLine-1,endRow:w.left[j].endLine,type:"text",className:"codeMarker"};T.left.push(D)}for(var j=0;j<w.right.length;j++){var D={startRow:w.right[j].startLine-1,endRow:w.right[j].endLine,type:"text",className:"codeMarker"};T.right.push(D)}return x[0]=T.left,x[1]=T.right,x},y.prototype.render=function(){var w=this.diff();return O.createElement(C.default,{name:this.props.name,className:this.props.className,focus:this.props.focus,orientation:this.props.orientation,splits:this.props.splits,mode:this.props.mode,theme:this.props.theme,height:this.props.height,width:this.props.width,fontSize:this.props.fontSize,showGutter:this.props.showGutter,onChange:this.onChange,onPaste:this.props.onPaste,onLoad:this.props.onLoad,onScroll:this.props.onScroll,minLines:this.props.minLines,maxLines:this.props.maxLines,readOnly:this.props.readOnly,highlightActiveLine:this.props.highlightActiveLine,showPrintMargin:this.props.showPrintMargin,tabSize:this.props.tabSize,cursorStart:this.props.cursorStart,editorProps:this.props.editorProps,style:this.props.style,scrollMargin:this.props.scrollMargin,setOptions:this.props.setOptions,wrapEnabled:this.props.wrapEnabled,enableBasicAutocompletion:this.props.enableBasicAutocompletion,enableLiveAutocompletion:this.props.enableLiveAutocompletion,value:this.state.value,markers:w})},y.propTypes={cursorStart:m.number,editorProps:m.object,enableBasicAutocompletion:m.bool,enableLiveAutocompletion:m.bool,focus:m.bool,fontSize:m.number,height:m.string,highlightActiveLine:m.bool,maxLines:m.number,minLines:m.number,mode:m.string,name:m.string,className:m.string,onLoad:m.func,onPaste:m.func,onScroll:m.func,onChange:m.func,orientation:m.string,readOnly:m.bool,scrollMargin:m.array,setOptions:m.object,showGutter:m.bool,showPrintMargin:m.bool,splits:m.number,style:m.object,tabSize:m.number,theme:m.string,value:m.array,width:m.string,wrapEnabled:m.bool},y.defaultProps={cursorStart:1,editorProps:{},enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,focus:!1,fontSize:12,height:"500px",highlightActiveLine:!0,maxLines:null,minLines:null,mode:"",name:"ace-editor",onLoad:null,onScroll:null,onPaste:null,onChange:null,orientation:"beside",readOnly:!1,scrollMargin:[0,0,0,0],setOptions:{},showGutter:!0,showPrintMargin:!0,splits:2,style:{},tabSize:4,theme:"github",value:["",""],width:"500px",wrapEnabled:!0},y}(O.Component);R.default=A},"Un+d":function(ce,R,l){var E=l("UwrT");ce.exports=Array.isArray||function(O){return E(O)=="Array"}},Uq4z:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("cT1L"),k=l("jbR1"),A=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{reduce:function(y){var w=O(this),x=k(w),T=arguments.length<2,j=T?void 0:arguments[1];if(C(y),A(x,function(D){T?(T=!1,j=D):j=y(j,D,D,w)},void 0,!1,!0),T)throw TypeError("Reduce of empty set with no initial value");return j}})},Urep:function(ce,R,l){},UtML:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=l("w7pK");Object.defineProperty(R,"Alpha",{enumerable:!0,get:function(){return w(E).default}});var m=l("TIy0");Object.defineProperty(R,"Checkboard",{enumerable:!0,get:function(){return w(m).default}});var O=l("b1zA");Object.defineProperty(R,"EditableInput",{enumerable:!0,get:function(){return w(O).default}});var C=l("uzXc");Object.defineProperty(R,"Hue",{enumerable:!0,get:function(){return w(C).default}});var k=l("s2FO");Object.defineProperty(R,"Raised",{enumerable:!0,get:function(){return w(k).default}});var A=l("VzoY");Object.defineProperty(R,"Saturation",{enumerable:!0,get:function(){return w(A).default}});var S=l("UcOz");Object.defineProperty(R,"ColorWrap",{enumerable:!0,get:function(){return w(S).default}});var y=l("yA9W");Object.defineProperty(R,"Swatch",{enumerable:!0,get:function(){return w(y).default}});function w(x){return x&&x.__esModule?x:{default:x}}},UuAG:function(ce,R,l){"use strict";l.d(R,"a",function(){return A});var E=l("wx14"),m=l("q1tI"),O=l.n(m),C=function(S,y){var w={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&y.indexOf(x)<0&&(w[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,x=Object.getOwnPropertySymbols(S);T<x.length;T++)y.indexOf(x[T])<0&&Object.prototype.propertyIsEnumerable.call(S,x[T])&&(w[x[T]]=S[x[T]]);return w},k=m.createContext(null),A=function(y){var w=y.children,x=C(y,["children"]),T=m.useContext(k),j=m.useMemo(function(){return Object(E.a)(Object(E.a)({},T),x)},[T,x.prefixCls,x.mode,x.selectable]);return m.createElement(k.Provider,{value:j},w)};R.b=k},UvYY:function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=l("Acmb"),k=m.has,A=m.toKey,S=function(y,w,x){var T=k(y,w,x);if(T)return!0;var j=C(w);return j!==null?S(y,j,x):!1};E({target:"Reflect",stat:!0},{hasMetadata:function(w,x){var T=arguments.length<3?void 0:A(arguments[2]);return S(w,O(x),T)}})},UwrT:function(ce,R){var l={}.toString;ce.exports=function(E){return l.call(E).slice(8,-1)}},"V/uB":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("+P9B"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},"V/vL":function(ce,R,l){"use strict";l.r(R),l.d(R,"matchRoutes",function(){return k}),l.d(R,"renderRoutes",function(){return A});var E=l("Ty5D"),m=l("wx14"),O=l("q1tI"),C=l.n(O);function k(S,y,w){return w===void 0&&(w=[]),S.some(function(x){var T=x.path?Object(E.i)(y,x):w.length?w[w.length-1].match:E.e.computeRootMatch(y);return T&&(w.push({route:x,match:T}),x.routes&&k(x.routes,y,w)),T}),w}function A(S,y,w){return y===void 0&&(y={}),w===void 0&&(w={}),S?C.a.createElement(E.g,w,S.map(function(x,T){return C.a.createElement(E.d,{key:x.key||T,path:x.path,exact:x.exact,strict:x.strict,render:function(D){return x.render?x.render(Object(m.a)({},D,{},y,{route:x})):C.a.createElement(x.component,Object(m.a)({},D,y,{route:x}))}})})):null}},V0Bj:function(ce,R,l){var E=l("I65O");E("observable")},V61k:function(ce,R){var l=Math.expm1,E=Math.exp;ce.exports=!l||l(10)>22025.465794806718||l(10)<22025.465794806718||l(-2e-17)!=-2e-17?function(O){return(O=+O)==0?O:O>-1e-6&&O<1e-6?O+O*O/2:E(O)-1}:l},V6Ve:function(ce,R,l){var E=l("kekF"),m=E(Object.keys,Object);ce.exports=m},V85Q:function(ce,R,l){var E=l("FCfD"),m=/"/g;ce.exports=function(O,C,k,A){var S=String(E(O)),y="<"+C;return k!==""&&(y+=" "+k+'="'+String(A).replace(m,"&quot;")+'"'),y+">"+S+"</"+C+">"}},VAJa:function(ce,R,l){"use strict";var E=l("AM7I"),m=l("VF6F"),O=l("JxQ3"),C=E("%TypeError%"),k=E("%WeakMap%",!0),A=E("%Map%",!0),S=m("WeakMap.prototype.get",!0),y=m("WeakMap.prototype.set",!0),w=m("WeakMap.prototype.has",!0),x=m("Map.prototype.get",!0),T=m("Map.prototype.set",!0),j=m("Map.prototype.has",!0),D=function(J,$){for(var X=J,ee;(ee=X.next)!==null;X=ee)if(ee.key===$)return X.next=ee.next,ee.next=J.next,J.next=ee,ee},N=function(J,$){var X=D(J,$);return X&&X.value},F=function(J,$,X){var ee=D(J,$);ee?ee.value=X:J.next={key:$,next:J.next,value:X}},B=function(J,$){return!!D(J,$)};ce.exports=function(){var J,$,X,ee={assert:function(G){if(!ee.has(G))throw new C("Side channel does not contain "+O(G))},get:function(G){if(k&&G&&(typeof G=="object"||typeof G=="function")){if(J)return S(J,G)}else if(A){if($)return x($,G)}else if(X)return N(X,G)},has:function(G){if(k&&G&&(typeof G=="object"||typeof G=="function")){if(J)return w(J,G)}else if(A){if($)return j($,G)}else if(X)return B(X,G);return!1},set:function(G,Q){k&&G&&(typeof G=="object"||typeof G=="function")?(J||(J=new k),y(J,G,Q)):A?($||($=new A),T($,G,Q)):(X||(X={key:{},next:null}),F(X,G,Q))}};return ee}},VEX6:function(ce,R,l){(function(E){ace.define("ace/ext/searchbox-css",["require","exports","module"],function(m,O,C){C.exports=`
/* ------------------------------------------------------------------------------------------
* Editor Search Form
* --------------------------------------------------------------------------------------- */
.ace_search {
background-color: #ddd;
color: #666;
border: 1px solid #cbcbcb;
border-top: 0 none;
overflow: hidden;
margin: 0;
padding: 4px 6px 0 4px;
position: absolute;
top: 0;
z-index: 99;
white-space: normal;
}
.ace_search.left {
border-left: 0 none;
border-radius: 0px 0px 5px 0px;
left: 0;
}
.ace_search.right {
border-radius: 0px 0px 0px 5px;
border-right: 0 none;
right: 0;
}
.ace_search_form, .ace_replace_form {
margin: 0 20px 4px 0;
overflow: hidden;
line-height: 1.9;
}
.ace_replace_form {
margin-right: 0;
}
.ace_search_form.ace_nomatch {
outline: 1px solid red;
}
.ace_search_field {
border-radius: 3px 0 0 3px;
background-color: white;
color: black;
border: 1px solid #cbcbcb;
border-right: 0 none;
outline: 0;
padding: 0;
font-size: inherit;
margin: 0;
line-height: inherit;
padding: 0 6px;
min-width: 17em;
vertical-align: top;
min-height: 1.8em;
box-sizing: content-box;
}
.ace_searchbtn {
border: 1px solid #cbcbcb;
line-height: inherit;
display: inline-block;
padding: 0 6px;
background: #fff;
border-right: 0 none;
border-left: 1px solid #dcdcdc;
cursor: pointer;
margin: 0;
position: relative;
color: #666;
}
.ace_searchbtn:last-child {
border-radius: 0 3px 3px 0;
border-right: 1px solid #cbcbcb;
}
.ace_searchbtn:disabled {
background: none;
cursor: default;
}
.ace_searchbtn:hover {
background-color: #eef1f6;
}
.ace_searchbtn.prev, .ace_searchbtn.next {
padding: 0px 0.7em
}
.ace_searchbtn.prev:after, .ace_searchbtn.next:after {
content: "";
border: solid 2px #888;
width: 0.5em;
height: 0.5em;
border-width: 2px 0 0 2px;
display:inline-block;
transform: rotate(-45deg);
}
.ace_searchbtn.next:after {
border-width: 0 2px 2px 0 ;
}
.ace_searchbtn_close {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;
border-radius: 50%;
border: 0 none;
color: #656565;
cursor: pointer;
font: 16px/16px Arial;
padding: 0;
height: 14px;
width: 14px;
top: 9px;
right: 7px;
position: absolute;
}
.ace_searchbtn_close:hover {
background-color: #656565;
background-position: 50% 100%;
color: white;
}
.ace_button {
margin-left: 2px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
opacity: 0.7;
border: 1px solid rgba(100,100,100,0.23);
padding: 1px;
box-sizing: border-box!important;
color: black;
}
.ace_button:hover {
background-color: #eee;
opacity:1;
}
.ace_button:active {
background-color: #ddd;
}
.ace_button.checked {
border-color: #3399ff;
opacity:1;
}
.ace_search_options{
margin-bottom: 3px;
text-align: right;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;
clear: both;
}
.ace_search_counter {
float: left;
font-family: arial;
padding: 0 8px;
}`}),ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/ext/searchbox-css","ace/keyboard/hash_handler","ace/lib/keys","ace/config"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=m("../lib/lang"),S=m("../lib/event"),y=m("./searchbox-css"),w=m("../keyboard/hash_handler").HashHandler,x=m("../lib/keys"),T=m("../config").nls,j=999;k.importCssString(y,"ace_searchbox",!1);var D=function(){function B(U,J,$){var X=k.createElement("div");k.buildDom(["div",{class:"ace_search right"},["span",{action:"hide",class:"ace_searchbtn_close"}],["div",{class:"ace_search_form"},["input",{class:"ace_search_field",placeholder:T("Search for"),spellcheck:"false"}],["span",{action:"findPrev",class:"ace_searchbtn prev"},"\u200B"],["span",{action:"findNext",class:"ace_searchbtn next"},"\u200B"],["span",{action:"findAll",class:"ace_searchbtn",title:"Alt-Enter"},T("All")]],["div",{class:"ace_replace_form"},["input",{class:"ace_search_field",placeholder:T("Replace with"),spellcheck:"false"}],["span",{action:"replaceAndFindNext",class:"ace_searchbtn"},T("Replace")],["span",{action:"replaceAll",class:"ace_searchbtn"},T("All")]],["div",{class:"ace_search_options"},["span",{action:"toggleReplace",class:"ace_button",title:T("Toggle Replace mode"),style:"float:left;margin-top:-2px;padding:0 5px;"},"+"],["span",{class:"ace_search_counter"}],["span",{action:"toggleRegexpMode",class:"ace_button",title:T("RegExp Search")},".*"],["span",{action:"toggleCaseSensitive",class:"ace_button",title:T("CaseSensitive Search")},"Aa"],["span",{action:"toggleWholeWords",class:"ace_button",title:T("Whole Word Search")},"\\b"],["span",{action:"searchInSelection",class:"ace_button",title:T("Search In Selection")},"S"]]],X),this.element=X.firstChild,this.setSession=this.setSession.bind(this),this.$init(),this.setEditor(U),k.importCssString(y,"ace_searchbox",U.container)}return B.prototype.setEditor=function(U){U.searchBox=this,U.renderer.scroller.appendChild(this.element),this.editor=U},B.prototype.setSession=function(U){this.searchRange=null,this.$syncOptions(!0)},B.prototype.$initElements=function(U){this.searchBox=U.querySelector(".ace_search_form"),this.replaceBox=U.querySelector(".ace_replace_form"),this.searchOption=U.querySelector("[action=searchInSelection]"),this.replaceOption=U.querySelector("[action=toggleReplace]"),this.regExpOption=U.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=U.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=U.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=U.querySelector(".ace_search_counter")},B.prototype.$init=function(){var U=this.element;this.$initElements(U);var J=this;S.addListener(U,"mousedown",function($){setTimeout(function(){J.activeInput.focus()},0),S.stopPropagation($)}),S.addListener(U,"click",function($){var X=$.target||$.srcElement,ee=X.getAttribute("action");ee&&J[ee]?J[ee]():J.$searchBarKb.commands[ee]&&J.$searchBarKb.commands[ee].exec(J),S.stopPropagation($)}),S.addCommandKeyListener(U,function($,X,ee){var ie=x.keyCodeToString(ee),G=J.$searchBarKb.findKeyCommand(X,ie);G&&G.exec&&(G.exec(J),S.stopEvent($))}),this.$onChange=A.delayedCall(function(){J.find(!1,!1)}),S.addListener(this.searchInput,"input",function(){J.$onChange.schedule(20)}),S.addListener(this.searchInput,"focus",function(){J.activeInput=J.searchInput,J.searchInput.value&&J.highlight()}),S.addListener(this.replaceInput,"focus",function(){J.activeInput=J.replaceInput,J.searchInput.value&&J.highlight()})},B.prototype.setSearchRange=function(U){this.searchRange=U,U?this.searchRangeMarker=this.editor.session.addMarker(U,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},B.prototype.$syncOptions=function(U){k.setCssClass(this.replaceOption,"checked",this.searchRange),k.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",k.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),k.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),k.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);var J=this.editor.getReadOnly();this.replaceOption.style.display=J?"none":"",this.replaceBox.style.display=this.replaceOption.checked&&!J?"":"none",this.find(!1,!1,U)},B.prototype.highlight=function(U){this.editor.session.highlight(U||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},B.prototype.find=function(U,J,$){var X=this.editor.find(this.searchInput.value,{skipCurrent:U,backwards:J,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:$,range:this.searchRange}),ee=!X&&this.searchInput.value;k.setCssClass(this.searchBox,"ace_nomatch",ee),this.editor._emit("findSearchBox",{match:!ee}),this.highlight(),this.updateCounter()},B.prototype.updateCounter=function(){var U=this.editor,J=U.$search.$options.re,$=0,X=0;if(J){var ee=this.searchRange?U.session.getTextRange(this.searchRange):U.getValue(),ie=U.session.doc.positionToIndex(U.selection.anchor);this.searchRange&&(ie-=U.session.doc.positionToIndex(this.searchRange.start));for(var G=J.lastIndex=0,Q;(Q=J.exec(ee))&&($++,G=Q.index,G<=ie&&X++,!($>j||!Q[0]&&(J.lastIndex=G+=1,G>=ee.length))););}this.searchCounter.textContent=T("$0 of $1",[X,$>j?j+"+":$])},B.prototype.findNext=function(){this.find(!0,!1)},B.prototype.findPrev=function(){this.find(!0,!0)},B.prototype.findAll=function(){var U=this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked}),J=!U&&this.searchInput.value;k.setCssClass(this.searchBox,"ace_nomatch",J),this.editor._emit("findSearchBox",{match:!J}),this.highlight(),this.hide()},B.prototype.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},B.prototype.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},B.prototype.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},B.prototype.hide=function(){this.active=!1,this.setSearchRange(null),this.editor.off("changeSession",this.setSession),this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},B.prototype.show=function(U,J){this.active=!0,this.editor.on("changeSession",this.setSession),this.element.style.display="",this.replaceOption.checked=J,U&&(this.searchInput.value=U),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb),this.$syncOptions(!0)},B.prototype.isFocused=function(){var U=document.activeElement;return U==this.searchInput||U==this.replaceInput},B}(),N=new w;N.bindKeys({"Ctrl-f|Command-f":function(U){var J=U.isReplace=!U.isReplace;U.replaceBox.style.display=J?"":"none",U.replaceOption.checked=!1,U.$syncOptions(),U.searchInput.focus()},"Ctrl-H|Command-Option-F":function(U){U.editor.getReadOnly()||(U.replaceOption.checked=!0,U.$syncOptions(),U.replaceInput.focus())},"Ctrl-G|Command-G":function(U){U.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(U){U.findPrev()},esc:function(U){setTimeout(function(){U.hide()})},Return:function(U){U.activeInput==U.replaceInput&&U.replace(),U.findNext()},"Shift-Return":function(U){U.activeInput==U.replaceInput&&U.replace(),U.findPrev()},"Alt-Return":function(U){U.activeInput==U.replaceInput&&U.replaceAll(),U.findAll()},Tab:function(U){(U.activeInput==U.replaceInput?U.searchInput:U.replaceInput).focus()}}),N.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(U){U.regExpOption.checked=!U.regExpOption.checked,U.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(U){U.caseSensitiveOption.checked=!U.caseSensitiveOption.checked,U.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(U){U.wholeWordOption.checked=!U.wholeWordOption.checked,U.$syncOptions()}},{name:"toggleReplace",exec:function(U){U.replaceOption.checked=!U.replaceOption.checked,U.$syncOptions()}},{name:"searchInSelection",exec:function(U){U.searchOption.checked=!U.searchRange,U.setSearchRange(U.searchOption.checked&&U.editor.getSelectionRange()),U.$syncOptions()}}]);var F=new w([{bindKey:"Esc",name:"closeSearchBar",exec:function(U){U.searchBox.hide()}}]);D.prototype.$searchBarKb=N,D.prototype.$closeSearchBarKb=F,O.SearchBox=D,O.Search=function(B,U){var J=B.searchBox||new D(B);J.show(B.session.getTextRange(),U)}}),function(){ace.require(["ace/ext/searchbox"],function(m){E&&(E.exports=m)})}()}).call(this,l("hOG+")(ce))},VF6F:function(ce,R,l){"use strict";var E=l("AM7I"),m=l("PrET"),O=m(E("String.prototype.indexOf"));ce.exports=function(k,A){var S=E(k,!!A);return typeof S=="function"&&O(k,".prototype.")>-1?m(S):S}},VJFB:function(ce,R,l){"use strict";l.d(R,"a",function(){return k}),l.d(R,"b",function(){return A});var E=l("FER5"),m=l("iNWh"),O=l("LuSS"),C=l("b3aT"),k=function(){function S(y,w){y===void 0&&(y=""),w===void 0&&(w={});var x;if(y instanceof S)return y;typeof y=="number"&&(y=Object(E.e)(y)),this.originalInput=y;var T=Object(O.a)(y);this.originalInput=y,this.r=T.r,this.g=T.g,this.b=T.b,this.a=T.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=w.format)!==null&&x!==void 0?x:T.format,this.gradientType=w.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.isValid=T.ok}return S.prototype.isDark=function(){return this.getBrightness()<128},S.prototype.isLight=function(){return!this.isDark()},S.prototype.getBrightness=function(){var y=this.toRgb();return(y.r*299+y.g*587+y.b*114)/1e3},S.prototype.getLuminance=function(){var y=this.toRgb(),w,x,T,j=y.r/255,D=y.g/255,N=y.b/255;return j<=.03928?w=j/12.92:w=Math.pow((j+.055)/1.055,2.4),D<=.03928?x=D/12.92:x=Math.pow((D+.055)/1.055,2.4),N<=.03928?T=N/12.92:T=Math.pow((N+.055)/1.055,2.4),.2126*w+.7152*x+.0722*T},S.prototype.getAlpha=function(){return this.a},S.prototype.setAlpha=function(y){return this.a=Object(C.b)(y),this.roundA=Math.round(100*this.a)/100,this},S.prototype.isMonochrome=function(){var y=this.toHsl().s;return y===0},S.prototype.toHsv=function(){var y=Object(E.i)(this.r,this.g,this.b);return{h:y.h*360,s:y.s,v:y.v,a:this.a}},S.prototype.toHsvString=function(){var y=Object(E.i)(this.r,this.g,this.b),w=Math.round(y.h*360),x=Math.round(y.s*100),T=Math.round(y.v*100);return this.a===1?"hsv(".concat(w,", ").concat(x,"%, ").concat(T,"%)"):"hsva(".concat(w,", ").concat(x,"%, ").concat(T,"%, ").concat(this.roundA,")")},S.prototype.toHsl=function(){var y=Object(E.h)(this.r,this.g,this.b);return{h:y.h*360,s:y.s,l:y.l,a:this.a}},S.prototype.toHslString=function(){var y=Object(E.h)(this.r,this.g,this.b),w=Math.round(y.h*360),x=Math.round(y.s*100),T=Math.round(y.l*100);return this.a===1?"hsl(".concat(w,", ").concat(x,"%, ").concat(T,"%)"):"hsla(".concat(w,", ").concat(x,"%, ").concat(T,"%, ").concat(this.roundA,")")},S.prototype.toHex=function(y){return y===void 0&&(y=!1),Object(E.g)(this.r,this.g,this.b,y)},S.prototype.toHexString=function(y){return y===void 0&&(y=!1),"#"+this.toHex(y)},S.prototype.toHex8=function(y){return y===void 0&&(y=!1),Object(E.l)(this.r,this.g,this.b,this.a,y)},S.prototype.toHex8String=function(y){return y===void 0&&(y=!1),"#"+this.toHex8(y)},S.prototype.toHexShortString=function(y){return y===void 0&&(y=!1),this.a===1?this.toHexString(y):this.toHex8String(y)},S.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},S.prototype.toRgbString=function(){var y=Math.round(this.r),w=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(y,", ").concat(w,", ").concat(x,")"):"rgba(".concat(y,", ").concat(w,", ").concat(x,", ").concat(this.roundA,")")},S.prototype.toPercentageRgb=function(){var y=function(x){return"".concat(Math.round(Object(C.a)(x,255)*100),"%")};return{r:y(this.r),g:y(this.g),b:y(this.b),a:this.a}},S.prototype.toPercentageRgbString=function(){var y=function(x){return Math.round(Object(C.a)(x,255)*100)};return this.a===1?"rgb(".concat(y(this.r),"%, ").concat(y(this.g),"%, ").concat(y(this.b),"%)"):"rgba(".concat(y(this.r),"%, ").concat(y(this.g),"%, ").concat(y(this.b),"%, ").concat(this.roundA,")")},S.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var y="#"+Object(E.g)(this.r,this.g,this.b,!1),w=0,x=Object.entries(m.a);w<x.length;w++){var T=x[w],j=T[0],D=T[1];if(y===D)return j}return!1},S.prototype.toString=function(y){var w=Boolean(y);y=y!=null?y:this.format;var x=!1,T=this.a<1&&this.a>=0,j=!w&&T&&(y.startsWith("hex")||y==="name");return j?y==="name"&&this.a===0?this.toName():this.toRgbString():(y==="rgb"&&(x=this.toRgbString()),y==="prgb"&&(x=this.toPercentageRgbString()),(y==="hex"||y==="hex6")&&(x=this.toHexString()),y==="hex3"&&(x=this.toHexString(!0)),y==="hex4"&&(x=this.toHex8String(!0)),y==="hex8"&&(x=this.toHex8String()),y==="name"&&(x=this.toName()),y==="hsl"&&(x=this.toHslString()),y==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},S.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},S.prototype.clone=function(){return new S(this.toString())},S.prototype.lighten=function(y){y===void 0&&(y=10);var w=this.toHsl();return w.l+=y/100,w.l=Object(C.c)(w.l),new S(w)},S.prototype.brighten=function(y){y===void 0&&(y=10);var w=this.toRgb();return w.r=Math.max(0,Math.min(255,w.r-Math.round(255*-(y/100)))),w.g=Math.max(0,Math.min(255,w.g-Math.round(255*-(y/100)))),w.b=Math.max(0,Math.min(255,w.b-Math.round(255*-(y/100)))),new S(w)},S.prototype.darken=function(y){y===void 0&&(y=10);var w=this.toHsl();return w.l-=y/100,w.l=Object(C.c)(w.l),new S(w)},S.prototype.tint=function(y){return y===void 0&&(y=10),this.mix("white",y)},S.prototype.shade=function(y){return y===void 0&&(y=10),this.mix("black",y)},S.prototype.desaturate=function(y){y===void 0&&(y=10);var w=this.toHsl();return w.s-=y/100,w.s=Object(C.c)(w.s),new S(w)},S.prototype.saturate=function(y){y===void 0&&(y=10);var w=this.toHsl();return w.s+=y/100,w.s=Object(C.c)(w.s),new S(w)},S.prototype.greyscale=function(){return this.desaturate(100)},S.prototype.spin=function(y){var w=this.toHsl(),x=(w.h+y)%360;return w.h=x<0?360+x:x,new S(w)},S.prototype.mix=function(y,w){w===void 0&&(w=50);var x=this.toRgb(),T=new S(y).toRgb(),j=w/100,D={r:(T.r-x.r)*j+x.r,g:(T.g-x.g)*j+x.g,b:(T.b-x.b)*j+x.b,a:(T.a-x.a)*j+x.a};return new S(D)},S.prototype.analogous=function(y,w){y===void 0&&(y=6),w===void 0&&(w=30);var x=this.toHsl(),T=360/w,j=[this];for(x.h=(x.h-(T*y>>1)+720)%360;--y;)x.h=(x.h+T)%360,j.push(new S(x));return j},S.prototype.complement=function(){var y=this.toHsl();return y.h=(y.h+180)%360,new S(y)},S.prototype.monochromatic=function(y){y===void 0&&(y=6);for(var w=this.toHsv(),x=w.h,T=w.s,j=w.v,D=[],N=1/y;y--;)D.push(new S({h:x,s:T,v:j})),j=(j+N)%1;return D},S.prototype.splitcomplement=function(){var y=this.toHsl(),w=y.h;return[this,new S({h:(w+72)%360,s:y.s,l:y.l}),new S({h:(w+216)%360,s:y.s,l:y.l})]},S.prototype.onBackground=function(y){var w=this.toRgb(),x=new S(y).toRgb(),T=w.a+x.a*(1-w.a);return new S({r:(w.r*w.a+x.r*x.a*(1-w.a))/T,g:(w.g*w.a+x.g*x.a*(1-w.a))/T,b:(w.b*w.a+x.b*x.a*(1-w.a))/T,a:T})},S.prototype.triad=function(){return this.polyad(3)},S.prototype.tetrad=function(){return this.polyad(4)},S.prototype.polyad=function(y){for(var w=this.toHsl(),x=w.h,T=[this],j=360/y,D=1;D<y;D++)T.push(new S({h:(x+D*j)%360,s:w.s,l:w.l}));return T},S.prototype.equals=function(y){return this.toRgbString()===new S(y).toRgbString()},S}();function A(S,y){return S===void 0&&(S=""),y===void 0&&(y={}),new k(S,y)}},VLhu:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m,O){if(!m)return!1;if(m.contains)return m.contains(O);for(var C=O;C;){if(C===m)return!0;C=C.parentNode}return!1}},VNzZ:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("1OyB"),C=l("vuIU"),k=l("Ji7U"),A=l("LK+K"),S=l("U8pU"),y=l("TSYQ"),w=l.n(y),x=l("t23M"),T=l("Ya77"),j=l("q1tI"),D=l("H84U"),N=l("KQm4"),F=l("3F7U");function B(Ee){var Le,we=function(Ke){return function(){Le=null,Ee.apply(void 0,Object(N.a)(Ke))}},fe=function(){if(Le==null){for(var Ke=arguments.length,Me=new Array(Ke),ze=0;ze<Ke;ze++)Me[ze]=arguments[ze];Le=Object(F.a)(we(Me))}};return fe.cancel=function(){F.a.cancel(Le),Le=null},fe}function U(){return function(Le,we,fe){var pe=fe.value,Ke=!1;return{configurable:!0,get:function(){if(Ke||this===Le.prototype||this.hasOwnProperty(we))return pe;var ze=B(pe.bind(this));return Ke=!0,Object.defineProperty(this,we,{value:ze,configurable:!0,writable:!0}),Ke=!1,ze}}}}var J=l("i8i4"),$=l.n(J);function X(Ee,Le,we,fe){var pe=$.a.unstable_batchedUpdates?function(Me){$.a.unstable_batchedUpdates(we,Me)}:we;return Ee!=null&&Ee.addEventListener&&Ee.addEventListener(Le,pe,fe),{remove:function(){Ee!=null&&Ee.removeEventListener&&Ee.removeEventListener(Le,pe,fe)}}}function ee(Ee){return Ee!==window?Ee.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function ie(Ee,Le,we){if(we!==void 0&&Le.top>Ee.top-we)return we+Le.top}function G(Ee,Le,we){if(we!==void 0&&Le.bottom<Ee.bottom+we){var fe=window.innerHeight-Le.bottom;return we+fe}}var Q=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],W=[];function ne(){return W}function te(Ee,Le){if(!!Ee){var we=W.find(function(fe){return fe.target===Ee});we?we.affixList.push(Le):(we={target:Ee,affixList:[Le],eventHandlers:{}},W.push(we),Q.forEach(function(fe){we.eventHandlers[fe]=X(Ee,fe,function(){we.affixList.forEach(function(pe){pe.lazyUpdatePosition()})})}))}}function _e(Ee){var Le=W.find(function(we){var fe=we.affixList.some(function(pe){return pe===Ee});return fe&&(we.affixList=we.affixList.filter(function(pe){return pe!==Ee})),fe});Le&&Le.affixList.length===0&&(W=W.filter(function(we){return we!==Le}),Q.forEach(function(we){var fe=Le.eventHandlers[we];fe&&fe.remove&&fe.remove()}))}var he=function(Ee,Le,we,fe){var pe=arguments.length,Ke=pe<3?Le:fe===null?fe=Object.getOwnPropertyDescriptor(Le,we):fe,Me;if((typeof Reflect=="undefined"?"undefined":Object(S.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")Ke=Reflect.decorate(Ee,Le,we,fe);else for(var ze=Ee.length-1;ze>=0;ze--)(Me=Ee[ze])&&(Ke=(pe<3?Me(Ke):pe>3?Me(Le,we,Ke):Me(Le,we))||Ke);return pe>3&&Ke&&Object.defineProperty(Le,we,Ke),Ke};function oe(){return typeof window!="undefined"?window:null}var ge;(function(Ee){Ee[Ee.None=0]="None",Ee[Ee.Prepare=1]="Prepare"})(ge||(ge={}));var me=function(Ee){Object(k.a)(we,Ee);var Le=Object(A.a)(we);function we(){var fe;return Object(O.a)(this,we),fe=Le.apply(this,arguments),fe.state={status:ge.None,lastAffix:!1,prevTarget:null},fe.getOffsetTop=function(){var pe=fe.props,Ke=pe.offsetBottom,Me=pe.offsetTop;return Ke===void 0&&Me===void 0?0:Me},fe.getOffsetBottom=function(){return fe.props.offsetBottom},fe.savePlaceholderNode=function(pe){fe.placeholderNode=pe},fe.saveFixedNode=function(pe){fe.fixedNode=pe},fe.measure=function(){var pe=fe.state,Ke=pe.status,Me=pe.lastAffix,ze=fe.props.onChange,Ue=fe.getTargetFunc();if(!(Ke!==ge.Prepare||!fe.fixedNode||!fe.placeholderNode||!Ue)){var He=fe.getOffsetTop(),Ne=fe.getOffsetBottom(),it=Ue();if(!!it){var Xe={status:ge.None},ht=ee(it),lt=ee(fe.placeholderNode),Et=ie(lt,ht,He),tt=G(lt,ht,Ne);lt.top===0&&lt.left===0&&lt.width===0&&lt.height===0||(Et!==void 0?(Xe.affixStyle={position:"fixed",top:Et,width:lt.width,height:lt.height},Xe.placeholderStyle={width:lt.width,height:lt.height}):tt!==void 0&&(Xe.affixStyle={position:"fixed",bottom:tt,width:lt.width,height:lt.height},Xe.placeholderStyle={width:lt.width,height:lt.height}),Xe.lastAffix=!!Xe.affixStyle,ze&&Me!==Xe.lastAffix&&ze(Xe.lastAffix),fe.setState(Xe))}}},fe.prepareMeasure=function(){if(fe.setState({status:ge.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var pe},fe}return Object(C.a)(we,[{key:"getTargetFunc",value:function(){var pe=this.context.getTargetContainer,Ke=this.props.target;return Ke!==void 0?Ke:pe!=null?pe:oe}},{key:"componentDidMount",value:function(){var pe=this,Ke=this.getTargetFunc();Ke&&(this.timeout=setTimeout(function(){te(Ke(),pe),pe.updatePosition()}))}},{key:"componentDidUpdate",value:function(pe){var Ke=this.state.prevTarget,Me=this.getTargetFunc(),ze=(Me==null?void 0:Me())||null;Ke!==ze&&(_e(this),ze&&(te(ze,this),this.updatePosition()),this.setState({prevTarget:ze})),(pe.offsetTop!==this.props.offsetTop||pe.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),_e(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var pe=this.getTargetFunc(),Ke=this.state.affixStyle;if(pe&&Ke){var Me=this.getOffsetTop(),ze=this.getOffsetBottom(),Ue=pe();if(Ue&&this.placeholderNode){var He=ee(Ue),Ne=ee(this.placeholderNode),it=ie(Ne,He,Me),Xe=G(Ne,He,ze);if(it!==void 0&&Ke.top===it||Xe!==void 0&&Ke.bottom===Xe)return}}this.prepareMeasure()}},{key:"render",value:function(){var pe=this,Ke=this.state,Me=Ke.affixStyle,ze=Ke.placeholderStyle,Ue=this.props,He=Ue.affixPrefixCls,Ne=Ue.children,it=w()(Object(m.a)({},He,!!Me)),Xe=Object(T.a)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return j.createElement(x.a,{onResize:function(){pe.updatePosition()}},j.createElement("div",Object(E.a)({},Xe,{ref:this.savePlaceholderNode}),Me&&j.createElement("div",{style:ze,"aria-hidden":"true"}),j.createElement("div",{className:it,ref:this.saveFixedNode,style:Me},j.createElement(x.a,{onResize:function(){pe.updatePosition()}},Ne))))}}]),we}(j.Component);me.contextType=D.b,he([U()],me.prototype,"updatePosition",null),he([U()],me.prototype,"lazyUpdatePosition",null);var Z=j.forwardRef(function(Ee,Le){var we=Ee.prefixCls,fe=j.useContext(D.b),pe=fe.getPrefixCls,Ke=pe("affix",we),Me=Object(E.a)(Object(E.a)({},Ee),{affixPrefixCls:Ke});return j.createElement(me,Object(E.a)({},Me,{ref:Le}))}),xe=R.a=Z},VOtZ:function(ce,R,l){var E=l("juv8"),m=l("MvSz");function O(C,k){return E(C,m(C),k)}ce.exports=O},VQRL:function(ce,R,l){var E=l("I65O");E("replace")},VSU6:function(ce,R,l){"use strict";var E=l("cTDu"),m=l("bIKR"),O=l("oa35");ce.exports=function(k){for(var A=E(this),S=O(A.length),y=arguments.length,w=m(y>1?arguments[1]:void 0,S),x=y>2?arguments[2]:void 0,T=x===void 0?S:m(x,S);T>w;)A[w++]=k;return A}},VTBJ:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("rePB");function m(C,k){var A=Object.keys(C);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(C);k&&(S=S.filter(function(y){return Object.getOwnPropertyDescriptor(C,y).enumerable})),A.push.apply(A,S)}return A}function O(C){for(var k=1;k<arguments.length;k++){var A=arguments[k]!=null?arguments[k]:{};k%2?m(Object(A),!0).forEach(function(S){Object(E.a)(C,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(A)):m(Object(A)).forEach(function(S){Object.defineProperty(C,S,Object.getOwnPropertyDescriptor(A,S))})}return C}},VUky:function(ce,R,l){var E=l("MMxC"),m=l("qA1w");E({target:"Map",stat:!0},{of:m})},VWci:function(ce,R,l){var E=function(m){"use strict";var O=Object.prototype,C=O.hasOwnProperty,k,A=typeof Symbol=="function"?Symbol:{},S=A.iterator||"@@iterator",y=A.asyncIterator||"@@asyncIterator",w=A.toStringTag||"@@toStringTag";function x(Z,xe,Ee,Le){var we=xe&&xe.prototype instanceof U?xe:U,fe=Object.create(we.prototype),pe=new oe(Le||[]);return fe._invoke=ne(Z,Ee,pe),fe}m.wrap=x;function T(Z,xe,Ee){try{return{type:"normal",arg:Z.call(xe,Ee)}}catch(Le){return{type:"throw",arg:Le}}}var j="suspendedStart",D="suspendedYield",N="executing",F="completed",B={};function U(){}function J(){}function $(){}var X={};X[S]=function(){return this};var ee=Object.getPrototypeOf,ie=ee&&ee(ee(ge([])));ie&&ie!==O&&C.call(ie,S)&&(X=ie);var G=$.prototype=U.prototype=Object.create(X);J.prototype=G.constructor=$,$.constructor=J,$[w]=J.displayName="GeneratorFunction";function Q(Z){["next","throw","return"].forEach(function(xe){Z[xe]=function(Ee){return this._invoke(xe,Ee)}})}m.isGeneratorFunction=function(Z){var xe=typeof Z=="function"&&Z.constructor;return xe?xe===J||(xe.displayName||xe.name)==="GeneratorFunction":!1},m.mark=function(Z){return Object.setPrototypeOf?Object.setPrototypeOf(Z,$):(Z.__proto__=$,w in Z||(Z[w]="GeneratorFunction")),Z.prototype=Object.create(G),Z},m.awrap=function(Z){return{__await:Z}};function W(Z,xe){function Ee(fe,pe,Ke,Me){var ze=T(Z[fe],Z,pe);if(ze.type==="throw")Me(ze.arg);else{var Ue=ze.arg,He=Ue.value;return He&&typeof He=="object"&&C.call(He,"__await")?xe.resolve(He.__await).then(function(Ne){Ee("next",Ne,Ke,Me)},function(Ne){Ee("throw",Ne,Ke,Me)}):xe.resolve(He).then(function(Ne){Ue.value=Ne,Ke(Ue)},function(Ne){return Ee("throw",Ne,Ke,Me)})}}var Le;function we(fe,pe){function Ke(){return new xe(function(Me,ze){Ee(fe,pe,Me,ze)})}return Le=Le?Le.then(Ke,Ke):Ke()}this._invoke=we}Q(W.prototype),W.prototype[y]=function(){return this},m.AsyncIterator=W,m.async=function(Z,xe,Ee,Le,we){we===void 0&&(we=Promise);var fe=new W(x(Z,xe,Ee,Le),we);return m.isGeneratorFunction(xe)?fe:fe.next().then(function(pe){return pe.done?pe.value:fe.next()})};function ne(Z,xe,Ee){var Le=j;return function(fe,pe){if(Le===N)throw new Error("Generator is already running");if(Le===F){if(fe==="throw")throw pe;return me()}for(Ee.method=fe,Ee.arg=pe;;){var Ke=Ee.delegate;if(Ke){var Me=te(Ke,Ee);if(Me){if(Me===B)continue;return Me}}if(Ee.method==="next")Ee.sent=Ee._sent=Ee.arg;else if(Ee.method==="throw"){if(Le===j)throw Le=F,Ee.arg;Ee.dispatchException(Ee.arg)}else Ee.method==="return"&&Ee.abrupt("return",Ee.arg);Le=N;var ze=T(Z,xe,Ee);if(ze.type==="normal"){if(Le=Ee.done?F:D,ze.arg===B)continue;return{value:ze.arg,done:Ee.done}}else ze.type==="throw"&&(Le=F,Ee.method="throw",Ee.arg=ze.arg)}}}function te(Z,xe){var Ee=Z.iterator[xe.method];if(Ee===k){if(xe.delegate=null,xe.method==="throw"){if(Z.iterator.return&&(xe.method="return",xe.arg=k,te(Z,xe),xe.method==="throw"))return B;xe.method="throw",xe.arg=new TypeError("The iterator does not provide a 'throw' method")}return B}var Le=T(Ee,Z.iterator,xe.arg);if(Le.type==="throw")return xe.method="throw",xe.arg=Le.arg,xe.delegate=null,B;var we=Le.arg;if(!we)return xe.method="throw",xe.arg=new TypeError("iterator result is not an object"),xe.delegate=null,B;if(we.done)xe[Z.resultName]=we.value,xe.next=Z.nextLoc,xe.method!=="return"&&(xe.method="next",xe.arg=k);else return we;return xe.delegate=null,B}Q(G),G[w]="Generator",G[S]=function(){return this},G.toString=function(){return"[object Generator]"};function _e(Z){var xe={tryLoc:Z[0]};1 in Z&&(xe.catchLoc=Z[1]),2 in Z&&(xe.finallyLoc=Z[2],xe.afterLoc=Z[3]),this.tryEntries.push(xe)}function he(Z){var xe=Z.completion||{};xe.type="normal",delete xe.arg,Z.completion=xe}function oe(Z){this.tryEntries=[{tryLoc:"root"}],Z.forEach(_e,this),this.reset(!0)}m.keys=function(Z){var xe=[];for(var Ee in Z)xe.push(Ee);return xe.reverse(),function Le(){for(;xe.length;){var we=xe.pop();if(we in Z)return Le.value=we,Le.done=!1,Le}return Le.done=!0,Le}};function ge(Z){if(Z){var xe=Z[S];if(xe)return xe.call(Z);if(typeof Z.next=="function")return Z;if(!isNaN(Z.length)){var Ee=-1,Le=function we(){for(;++Ee<Z.length;)if(C.call(Z,Ee))return we.value=Z[Ee],we.done=!1,we;return we.value=k,we.done=!0,we};return Le.next=Le}}return{next:me}}m.values=ge;function me(){return{value:k,done:!0}}return oe.prototype={constructor:oe,reset:function(xe){if(this.prev=0,this.next=0,this.sent=this._sent=k,this.done=!1,this.delegate=null,this.method="next",this.arg=k,this.tryEntries.forEach(he),!xe)for(var Ee in this)Ee.charAt(0)==="t"&&C.call(this,Ee)&&!isNaN(+Ee.slice(1))&&(this[Ee]=k)},stop:function(){this.done=!0;var xe=this.tryEntries[0],Ee=xe.completion;if(Ee.type==="throw")throw Ee.arg;return this.rval},dispatchException:function(xe){if(this.done)throw xe;var Ee=this;function Le(ze,Ue){return pe.type="throw",pe.arg=xe,Ee.next=ze,Ue&&(Ee.method="next",Ee.arg=k),!!Ue}for(var we=this.tryEntries.length-1;we>=0;--we){var fe=this.tryEntries[we],pe=fe.completion;if(fe.tryLoc==="root")return Le("end");if(fe.tryLoc<=this.prev){var Ke=C.call(fe,"catchLoc"),Me=C.call(fe,"finallyLoc");if(Ke&&Me){if(this.prev<fe.catchLoc)return Le(fe.catchLoc,!0);if(this.prev<fe.finallyLoc)return Le(fe.finallyLoc)}else if(Ke){if(this.prev<fe.catchLoc)return Le(fe.catchLoc,!0)}else if(Me){if(this.prev<fe.finallyLoc)return Le(fe.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(xe,Ee){for(var Le=this.tryEntries.length-1;Le>=0;--Le){var we=this.tryEntries[Le];if(we.tryLoc<=this.prev&&C.call(we,"finallyLoc")&&this.prev<we.finallyLoc){var fe=we;break}}fe&&(xe==="break"||xe==="continue")&&fe.tryLoc<=Ee&&Ee<=fe.finallyLoc&&(fe=null);var pe=fe?fe.completion:{};return pe.type=xe,pe.arg=Ee,fe?(this.method="next",this.next=fe.finallyLoc,B):this.complete(pe)},complete:function(xe,Ee){if(xe.type==="throw")throw xe.arg;return xe.type==="break"||xe.type==="continue"?this.next=xe.arg:xe.type==="return"?(this.rval=this.arg=xe.arg,this.method="return",this.next="end"):xe.type==="normal"&&Ee&&(this.next=Ee),B},finish:function(xe){for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var Le=this.tryEntries[Ee];if(Le.finallyLoc===xe)return this.complete(Le.completion,Le.afterLoc),he(Le),B}},catch:function(xe){for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var Le=this.tryEntries[Ee];if(Le.tryLoc===xe){var we=Le.completion;if(we.type==="throw"){var fe=we.arg;he(Le)}return fe}}throw new Error("illegal catch attempt")},delegateYield:function(xe,Ee,Le){return this.delegate={iterator:ge(xe),resultName:Ee,nextLoc:Le},this.method==="next"&&(this.arg=k),B}},m}(ce.exports);try{regeneratorRuntime=E}catch(m){Function("r","regeneratorRuntime = r")(E)}},VYtm:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.hover=void 0;var E=Object.assign||function(w){for(var x=1;x<arguments.length;x++){var T=arguments[x];for(var j in T)Object.prototype.hasOwnProperty.call(T,j)&&(w[j]=T[j])}return w},m=l("q1tI"),O=C(m);function C(w){return w&&w.__esModule?w:{default:w}}function k(w,x){if(!(w instanceof x))throw new TypeError("Cannot call a class as a function")}function A(w,x){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:w}function S(w,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);w.prototype=Object.create(x&&x.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(w,x):w.__proto__=x)}var y=R.hover=function(x){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(j){S(D,j);function D(){var N,F,B,U;k(this,D);for(var J=arguments.length,$=Array(J),X=0;X<J;X++)$[X]=arguments[X];return U=(F=(B=A(this,(N=D.__proto__||Object.getPrototypeOf(D)).call.apply(N,[this].concat($))),B),B.state={hover:!1},B.handleMouseOver=function(){return B.setState({hover:!0})},B.handleMouseOut=function(){return B.setState({hover:!1})},B.render=function(){return O.default.createElement(T,{onMouseOver:B.handleMouseOver,onMouseOut:B.handleMouseOut},O.default.createElement(x,E({},B.props,B.state)))},F),A(B,U)}return D}(O.default.Component)};R.default=y},VaNO:function(ce,R){function l(E){return this.__data__.has(E)}ce.exports=l},VbXa:function(ce,R,l){var E=l("SksO");function m(O,C){O.prototype=Object.create(C.prototype),O.prototype.constructor=O,E(O,C)}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},Vf3p:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CompactFields=void 0;var E=l("q1tI"),m=A(E),O=l("/FUP"),C=A(O),k=l("UtML");function A(y){return y&&y.__esModule?y:{default:y}}var S=R.CompactFields=function(w){var x=w.hex,T=w.rgb,j=w.onChange,D=(0,C.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:x},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),N=function(B,U){B.r||B.g||B.b?j({r:B.r||T.r,g:B.g||T.g,b:B.b||T.b,source:"rgb"},U):j({hex:B.hex,source:"hex"},U)};return m.default.createElement("div",{style:D.fields,className:"flexbox-fix"},m.default.createElement("div",{style:D.active}),m.default.createElement(k.EditableInput,{style:{wrap:D.HEXwrap,input:D.HEXinput,label:D.HEXlabel},label:"hex",value:x,onChange:N}),m.default.createElement(k.EditableInput,{style:{wrap:D.RGBwrap,input:D.RGBinput,label:D.RGBlabel},label:"r",value:T.r,onChange:N}),m.default.createElement(k.EditableInput,{style:{wrap:D.RGBwrap,input:D.RGBinput,label:D.RGBlabel},label:"g",value:T.g,onChange:N}),m.default.createElement(k.EditableInput,{style:{wrap:D.RGBwrap,input:D.RGBinput,label:D.RGBlabel},label:"b",value:T.b,onChange:N}))};R.default=S},"Vg/k":function(ce,R){(function(l){ce.exports=function(){var E={46:function(k){k.exports=function(A){if(!A.webpackPolyfill){var S=Object.create(A);S.children||(S.children=[]),Object.defineProperty(S,"loaded",{enumerable:!0,get:function(){return S.l}}),Object.defineProperty(S,"id",{enumerable:!0,get:function(){return S.i}}),Object.defineProperty(S,"exports",{enumerable:!0}),S.webpackPolyfill=1}return S}}},m={};function O(C){if(m[C])return m[C].exports;var k=m[C]={exports:{}},A=!0;try{E[C](k,k.exports,O),A=!1}finally{A&&delete m[C]}return k.exports}return O.ab=l+"/",O(46)}()}).call(this,"/")},VkhU:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=C;var E=l("MAmL"),m=O(E);function O(k){return k&&k.__esModule?k:{default:k}}function C(k){return(0,m.default)(k)}ce.exports=R.default},Vl3Y:function(ce,R,l){"use strict";var E=l("ihLV"),m=l("rePB"),O=l("wx14"),C=l("KQm4"),k=l("TSYQ"),A=l.n(k),S=l("8XRh"),y=l("q1tI"),w=l("H84U"),x=l("EXcs"),T=l("ODXe");function j(Pt){var Dt=y.useState(Pt),Qt=Object(T.a)(Dt,2),cn=Qt[0],$n=Qt[1];return y.useEffect(function(){var hn=setTimeout(function(){$n(Pt)},Pt.length?0:10);return function(){clearTimeout(hn)}},[Pt]),cn}var D=[];function N(Pt,Dt,Qt){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Pt=="string"?Pt:"".concat(Qt,"-").concat(cn),error:Pt,errorStatus:Dt}}function F(Pt){var Dt=Pt.help,Qt=Pt.helpStatus,cn=Pt.errors,$n=cn===void 0?D:cn,hn=Pt.warnings,_n=hn===void 0?D:hn,bn=Pt.className,Bn=Pt.fieldId,Tn=Pt.onVisibleChanged,Tr=y.useContext(E.c),Sr=Tr.prefixCls,Wr=y.useContext(w.b),br=Wr.getPrefixCls,Wn="".concat(Sr,"-item-explain"),gr=br(),na=j($n),jn=j(_n),un=y.useMemo(function(){return Dt!=null?[N(Dt,Qt,"help")]:[].concat(Object(C.a)(na.map(function(Bt,H){return N(Bt,"error","error",H)})),Object(C.a)(jn.map(function(Bt,H){return N(Bt,"warning","warning",H)})))},[Dt,Qt,na,jn]),zt={};return Bn&&(zt.id="".concat(Bn,"_help")),y.createElement(S.b,{motionDeadline:x.a.motionDeadline,motionName:"".concat(gr,"-show-help"),visible:!!un.length,onVisibleChanged:Tn},function(Bt){var H=Bt.className,ot=Bt.style;return y.createElement("div",Object(O.a)({},zt,{className:A()(Wn,H,bn),style:ot,role:"alert"}),y.createElement(S.a,Object(O.a)({keys:un},x.a,{motionName:"".concat(gr,"-show-help-item"),component:!1}),function(nt){var Ct=nt.key,Wt=nt.error,kn=nt.errorStatus,Sn=nt.className,Zn=nt.style;return y.createElement("div",{key:Ct,className:A()(Sn,Object(m.a)({},"".concat(Wn,"-").concat(kn),kn)),style:Zn},Wt)}))})}var B=l("U8pU"),U=l("85Yc"),J=l("caoh"),$=l("3Nzz"),X=l("yv/b"),ee=l("ZpRC"),ie=["parentNode"],G="form_item";function Q(Pt){return Pt===void 0||Pt===!1?[]:Array.isArray(Pt)?Pt:[Pt]}function W(Pt,Dt){if(!!Pt.length){var Qt=Pt.join("_");if(Dt)return"".concat(Dt,"_").concat(Qt);var cn=ie.includes(Qt);return cn?"".concat(G,"_").concat(Qt):Qt}}function ne(Pt){var Dt=Q(Pt);return Dt.join("_")}function te(Pt){var Dt=Object(U.useForm)(),Qt=Object(T.a)(Dt,1),cn=Qt[0],$n=y.useRef({}),hn=y.useMemo(function(){return Pt!=null?Pt:Object(O.a)(Object(O.a)({},cn),{__INTERNAL__:{itemRef:function(bn){return function(Bn){var Tn=ne(bn);Bn?$n.current[Tn]=Bn:delete $n.current[Tn]}}},scrollToField:function(bn){var Bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Tn=Q(bn),Tr=W(Tn,hn.__INTERNAL__.name),Sr=Tr?document.getElementById(Tr):null;Sr&&Object(ee.default)(Sr,Object(O.a)({scrollMode:"if-needed",block:"nearest"},Bn))},getFieldInstance:function(bn){var Bn=ne(bn);return $n.current[Bn]}})},[Pt,cn]);return[hn]}var _e=function(Pt,Dt){var Qt={};for(var cn in Pt)Object.prototype.hasOwnProperty.call(Pt,cn)&&Dt.indexOf(cn)<0&&(Qt[cn]=Pt[cn]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $n=0,cn=Object.getOwnPropertySymbols(Pt);$n<cn.length;$n++)Dt.indexOf(cn[$n])<0&&Object.prototype.propertyIsEnumerable.call(Pt,cn[$n])&&(Qt[cn[$n]]=Pt[cn[$n]]);return Qt},he=function(Dt,Qt){var cn,$n=y.useContext($.b),hn=y.useContext(J.b),_n=y.useContext(w.b),bn=_n.getPrefixCls,Bn=_n.direction,Tn=_n.form,Tr=Dt.prefixCls,Sr=Dt.className,Wr=Sr===void 0?"":Sr,br=Dt.size,Wn=br===void 0?$n:br,gr=Dt.disabled,na=gr===void 0?hn:gr,jn=Dt.form,un=Dt.colon,zt=Dt.labelAlign,Bt=Dt.labelWrap,H=Dt.labelCol,ot=Dt.wrapperCol,nt=Dt.hideRequiredMark,Ct=Dt.layout,Wt=Ct===void 0?"horizontal":Ct,kn=Dt.scrollToFirstError,Sn=Dt.requiredMark,Zn=Dt.onFinishFailed,Or=Dt.name,Yn=_e(Dt,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),Nn=y.useContext(X.a),Zt=Object(y.useMemo)(function(){return Sn!==void 0?Sn:Tn&&Tn.requiredMark!==void 0?Tn.requiredMark:!nt},[nt,Sn,Tn]),rr=un!=null?un:Tn==null?void 0:Tn.colon,Gn=bn("form",Tr),ln=A()(Gn,(cn={},Object(m.a)(cn,"".concat(Gn,"-").concat(Wt),!0),Object(m.a)(cn,"".concat(Gn,"-hide-required-mark"),Zt===!1),Object(m.a)(cn,"".concat(Gn,"-rtl"),Bn==="rtl"),Object(m.a)(cn,"".concat(Gn,"-").concat(Wn),Wn),cn),Wr),Xn=te(jn),Kn=Object(T.a)(Xn,1),fr=Kn[0],Hn=fr.__INTERNAL__;Hn.name=Or;var Sa=Object(y.useMemo)(function(){return{name:Or,labelAlign:zt,labelCol:H,labelWrap:Bt,wrapperCol:ot,vertical:Wt==="vertical",colon:rr,requiredMark:Zt,itemRef:Hn.itemRef,form:fr}},[Or,zt,H,ot,Wt,rr,Zt,fr]);y.useImperativeHandle(Qt,function(){return fr});var Lr=function(za){Zn==null||Zn(za);var Ma={block:"nearest"};kn&&za.errorFields.length&&(Object(B.a)(kn)==="object"&&(Ma=kn),fr.scrollToField(za.errorFields[0].name,Ma))};return y.createElement(J.a,{disabled:na},y.createElement($.a,{size:Wn},y.createElement(E.d,Object(O.a)({},{validateMessages:Nn}),y.createElement(E.a.Provider,{value:Sa},y.createElement(U.default,Object(O.a)({id:Or},Yn,{name:Or,onFinishFailed:Lr,form:fr,className:ln}))))))},oe=y.forwardRef(he),ge=oe,me=l("FWVt"),Z=l("Twdv"),xe=function(){var Dt=Object(y.useContext)(E.b),Qt=Dt.status;return{status:Qt}},Ee=xe,Le=l("0n0R"),we=l("CWQg"),fe=l("3F7U");function pe(Pt){var Dt=y.useState(Pt),Qt=Object(T.a)(Dt,2),cn=Qt[0],$n=Qt[1],hn=Object(y.useRef)(null),_n=Object(y.useRef)([]),bn=Object(y.useRef)(!1);y.useEffect(function(){return bn.current=!1,function(){bn.current=!0,fe.a.cancel(hn.current),hn.current=null}},[]);function Bn(Tn){bn.current||(hn.current===null&&(_n.current=[],hn.current=Object(fe.a)(function(){hn.current=null,$n(function(Tr){var Sr=Tr;return _n.current.forEach(function(Wr){Sr=Wr(Sr)}),Sr})})),_n.current.push(Tn))}return[cn,Bn]}function Ke(){var Pt=y.useContext(E.a),Dt=Pt.itemRef,Qt=y.useRef({});function cn($n,hn){var _n=hn&&Object(B.a)(hn)==="object"&&hn.ref,bn=$n.join("_");return(Qt.current.name!==bn||Qt.current.originRef!==_n)&&(Qt.current.name=bn,Qt.current.originRef=_n,Qt.current.ref=Object(Z.a)(Dt($n),_n)),Qt.current.ref}return cn}var Me=l("jO45"),ze=l("jN4g"),Ue=l("IMoZ"),He=l("ye1Q"),Ne=l("N0Yx"),it=l("Ya77"),Xe=l("qrJ5"),ht=l("Lyp1"),lt=l("/kpp"),Et=l("YMnH"),tt=l("ZvpZ"),mt=l("3S7+"),xt=function(Pt,Dt){var Qt={};for(var cn in Pt)Object.prototype.hasOwnProperty.call(Pt,cn)&&Dt.indexOf(cn)<0&&(Qt[cn]=Pt[cn]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $n=0,cn=Object.getOwnPropertySymbols(Pt);$n<cn.length;$n++)Dt.indexOf(cn[$n])<0&&Object.prototype.propertyIsEnumerable.call(Pt,cn[$n])&&(Qt[cn[$n]]=Pt[cn[$n]]);return Qt};function Xt(Pt){return Pt?Object(B.a)(Pt)==="object"&&!y.isValidElement(Pt)?Pt:{title:Pt}:null}var vt=function(Dt){var Qt=Dt.prefixCls,cn=Dt.label,$n=Dt.htmlFor,hn=Dt.labelCol,_n=Dt.labelAlign,bn=Dt.colon,Bn=Dt.required,Tn=Dt.requiredMark,Tr=Dt.tooltip,Sr=Object(Et.b)("Form"),Wr=Object(T.a)(Sr,1),br=Wr[0];return cn?y.createElement(E.a.Consumer,{key:"label"},function(Wn){var gr,na=Wn.vertical,jn=Wn.labelAlign,un=Wn.labelCol,zt=Wn.labelWrap,Bt=Wn.colon,H,ot=hn||un||{},nt=_n||jn,Ct="".concat(Qt,"-item-label"),Wt=A()(Ct,nt==="left"&&"".concat(Ct,"-left"),ot.className,Object(m.a)({},"".concat(Ct,"-wrap"),!!zt)),kn=cn,Sn=bn===!0||Bt!==!1&&bn!==!1,Zn=Sn&&!na;Zn&&typeof cn=="string"&&cn.trim()!==""&&(kn=cn.replace(/[:|]\s*$/,""));var Or=Xt(Tr);if(Or){var Yn=Or.icon,Nn=Yn===void 0?y.createElement(ht.a,null):Yn,Zt=xt(Or,["icon"]),rr=y.createElement(mt.a,Object(O.a)({},Zt),y.cloneElement(Nn,{className:"".concat(Qt,"-item-tooltip"),title:""}));kn=y.createElement(y.Fragment,null,kn,rr)}Tn==="optional"&&!Bn&&(kn=y.createElement(y.Fragment,null,kn,y.createElement("span",{className:"".concat(Qt,"-item-optional"),title:""},(br==null?void 0:br.optional)||((H=tt.a.Form)===null||H===void 0?void 0:H.optional))));var Gn=A()((gr={},Object(m.a)(gr,"".concat(Qt,"-item-required"),Bn),Object(m.a)(gr,"".concat(Qt,"-item-required-mark-optional"),Tn==="optional"),Object(m.a)(gr,"".concat(Qt,"-item-no-colon"),!Sn),gr));return y.createElement(lt.a,Object(O.a)({},ot,{className:Wt}),y.createElement("label",{htmlFor:$n,className:Gn,title:typeof cn=="string"?cn:""},kn))}):null},qe=vt,Re=function(Dt){var Qt=Dt.prefixCls,cn=Dt.status,$n=Dt.wrapperCol,hn=Dt.children,_n=Dt.errors,bn=Dt.warnings,Bn=Dt._internalItemRender,Tn=Dt.extra,Tr=Dt.help,Sr=Dt.fieldId,Wr=Dt.marginBottom,br=Dt.onErrorVisibleChanged,Wn="".concat(Qt,"-item"),gr=y.useContext(E.a),na=$n||gr.wrapperCol||{},jn=A()("".concat(Wn,"-control"),na.className),un=y.useMemo(function(){return Object(O.a)({},gr)},[gr]);delete un.labelCol,delete un.wrapperCol;var zt=y.createElement("div",{className:"".concat(Wn,"-control-input")},y.createElement("div",{className:"".concat(Wn,"-control-input-content")},hn)),Bt=y.useMemo(function(){return{prefixCls:Qt,status:cn}},[Qt,cn]),H=Wr!==null||_n.length||bn.length?y.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},y.createElement(E.c.Provider,{value:Bt},y.createElement(F,{fieldId:Sr,errors:_n,warnings:bn,help:Tr,helpStatus:cn,className:"".concat(Wn,"-explain-connected"),onVisibleChanged:br})),!!Wr&&y.createElement("div",{style:{width:0,height:Wr}})):null,ot={};Sr&&(ot.id="".concat(Sr,"_extra"));var nt=Tn?y.createElement("div",Object(O.a)({},ot,{className:"".concat(Wn,"-extra")}),Tn):null,Ct=Bn&&Bn.mark==="pro_table_render"&&Bn.render?Bn.render(Dt,{input:zt,errorList:H,extra:nt}):y.createElement(y.Fragment,null,zt,H,nt);return y.createElement(E.a.Provider,{value:un},y.createElement(lt.a,Object(O.a)({},na,{className:jn}),Ct))},Se=Re,Ve=function(Pt,Dt){var Qt={};for(var cn in Pt)Object.prototype.hasOwnProperty.call(Pt,cn)&&Dt.indexOf(cn)<0&&(Qt[cn]=Pt[cn]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $n=0,cn=Object.getOwnPropertySymbols(Pt);$n<cn.length;$n++)Dt.indexOf(cn[$n])<0&&Object.prototype.propertyIsEnumerable.call(Pt,cn[$n])&&(Qt[cn[$n]]=Pt[cn[$n]]);return Qt},Ge={success:Me.a,warning:Ue.a,error:ze.a,validating:He.a};function _t(Pt){var Dt,Qt=Pt.prefixCls,cn=Pt.className,$n=Pt.style,hn=Pt.help,_n=Pt.errors,bn=Pt.warnings,Bn=Pt.validateStatus,Tn=Pt.meta,Tr=Pt.hasFeedback,Sr=Pt.hidden,Wr=Pt.children,br=Pt.fieldId,Wn=Pt.isRequired,gr=Pt.onSubItemMetaChange,na=Ve(Pt,["prefixCls","className","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","isRequired","onSubItemMetaChange"]),jn="".concat(Qt,"-item"),un=y.useContext(E.a),zt=un.requiredMark,Bt=y.useRef(null),H=j(_n),ot=j(bn),nt=hn!=null,Ct=!!(nt||_n.length||bn.length),Wt=y.useState(null),kn=Object(T.a)(Wt,2),Sn=kn[0],Zn=kn[1];Object(Ne.a)(function(){if(Ct&&Bt.current){var rr=getComputedStyle(Bt.current);Zn(parseInt(rr.marginBottom,10))}},[Ct]);var Or=function(Gn){Gn||Zn(null)},Yn="";Bn!==void 0?Yn=Bn:Tn.validating?Yn="validating":H.length?Yn="error":ot.length?Yn="warning":Tn.touched&&(Yn="success");var Nn=y.useMemo(function(){var rr;if(Tr){var Gn=Yn&&Ge[Yn];rr=Gn?y.createElement("span",{className:A()("".concat(jn,"-feedback-icon"),"".concat(jn,"-feedback-icon-").concat(Yn))},y.createElement(Gn,null)):null}return{status:Yn,hasFeedback:Tr,feedbackIcon:rr,isFormItemInput:!0}},[Yn,Tr]),Zt=(Dt={},Object(m.a)(Dt,jn,!0),Object(m.a)(Dt,"".concat(jn,"-with-help"),nt||H.length||ot.length),Object(m.a)(Dt,"".concat(cn),!!cn),Object(m.a)(Dt,"".concat(jn,"-has-feedback"),Yn&&Tr),Object(m.a)(Dt,"".concat(jn,"-has-success"),Yn==="success"),Object(m.a)(Dt,"".concat(jn,"-has-warning"),Yn==="warning"),Object(m.a)(Dt,"".concat(jn,"-has-error"),Yn==="error"),Object(m.a)(Dt,"".concat(jn,"-is-validating"),Yn==="validating"),Object(m.a)(Dt,"".concat(jn,"-hidden"),Sr),Dt);return y.createElement("div",{className:A()(Zt),style:$n,ref:Bt},y.createElement(Xe.a,Object(O.a)({className:"".concat(jn,"-row")},Object(it.a)(na,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),y.createElement(qe,Object(O.a)({htmlFor:br,required:Wn,requiredMark:zt},Pt,{prefixCls:Qt})),y.createElement(Se,Object(O.a)({},Pt,Tn,{errors:H,warnings:ot,prefixCls:Qt,status:Yn,help:hn,marginBottom:Sn,onErrorVisibleChanged:Or}),y.createElement(E.f.Provider,{value:gr},y.createElement(E.b.Provider,{value:Nn},Wr)))),!!Sn&&y.createElement("div",{className:"".concat(jn,"-margin-offset"),style:{marginBottom:-Sn}}))}var bt="__SPLIT__",gt=Object(we.a)("success","warning","error","validating",""),at=y.memo(function(Pt){var Dt=Pt.children;return Dt},function(Pt,Dt){return Pt.value===Dt.value&&Pt.update===Dt.update&&Pt.childProps.length===Dt.childProps.length&&Pt.childProps.every(function(Qt,cn){return Qt===Dt.childProps[cn]})});function ft(Pt){return Pt!=null}function Fe(){return{errors:[],warnings:[],touched:!1,validating:!1,validated:!1,name:[]}}function Te(Pt){var Dt=Pt.name,Qt=Pt.noStyle,cn=Pt.dependencies,$n=Pt.prefixCls,hn=Pt.shouldUpdate,_n=Pt.rules,bn=Pt.children,Bn=Pt.required,Tn=Pt.label,Tr=Pt.messageVariables,Sr=Pt.trigger,Wr=Sr===void 0?"onChange":Sr,br=Pt.validateTrigger,Wn=Pt.hidden,gr=Object(y.useContext)(w.b),na=gr.getPrefixCls,jn=Object(y.useContext)(E.a),un=jn.name,zt=typeof bn=="function",Bt=Object(y.useContext)(E.f),H=Object(y.useContext)(U.FieldContext),ot=H.validateTrigger,nt=br!==void 0?br:ot,Ct=ft(Dt),Wt=na("form",$n),kn=y.useContext(U.ListContext),Sn=y.useRef(),Zn=pe({}),Or=Object(T.a)(Zn,2),Yn=Or[0],Nn=Or[1],Zt=Object(me.a)(function(){return Fe()}),rr=Object(T.a)(Zt,2),Gn=rr[0],ln=rr[1],Xn=function(qa){var gi=kn==null?void 0:kn.getKey(qa.name);if(ln(qa.destroy?Fe():qa,!0),Qt&&Bt){var Qi=qa.name;if(qa.destroy)Qi=Sn.current||Qi;else if(gi!==void 0){var mi=Object(T.a)(gi,2),Cr=mi[0],Un=mi[1];Qi=[Cr].concat(Object(C.a)(Un)),Sn.current=Qi}Bt(qa,Qi)}},Kn=function(qa,gi){Nn(function(Qi){var mi=Object(O.a)({},Qi),Cr=[].concat(Object(C.a)(qa.name.slice(0,-1)),Object(C.a)(gi)),Un=Cr.join(bt);return qa.destroy?delete mi[Un]:mi[Un]=qa,mi})},fr=y.useMemo(function(){var va=Object(C.a)(Gn.errors),qa=Object(C.a)(Gn.warnings);return Object.values(Yn).forEach(function(gi){va.push.apply(va,Object(C.a)(gi.errors||[])),qa.push.apply(qa,Object(C.a)(gi.warnings||[]))}),[va,qa]},[Yn,Gn.errors,Gn.warnings]),Hn=Object(T.a)(fr,2),Sa=Hn[0],Lr=Hn[1],Ca=Ke();function za(va,qa,gi){return Qt&&!Wn?va:y.createElement(_t,Object(O.a)({key:"row"},Pt,{prefixCls:Wt,fieldId:qa,isRequired:gi,errors:Sa,warnings:Lr,meta:Gn,onSubItemMetaChange:Kn}),va)}if(!Ct&&!zt&&!cn)return za(bn);var Ma={};return typeof Tn=="string"?Ma.label=Tn:Dt&&(Ma.label=String(Dt)),Tr&&(Ma=Object(O.a)(Object(O.a)({},Ma),Tr)),y.createElement(U.Field,Object(O.a)({},Pt,{messageVariables:Ma,trigger:Wr,validateTrigger:nt,onMetaChange:Xn}),function(va,qa,gi){var Qi=Q(Dt).length&&qa?qa.name:[],mi=W(Qi,un),Cr=Bn!==void 0?Bn:!!(_n&&_n.some(function(Qr){if(Qr&&Object(B.a)(Qr)==="object"&&Qr.required&&!Qr.warningOnly)return!0;if(typeof Qr=="function"){var Na=Qr(gi);return Na&&Na.required&&!Na.warningOnly}return!1})),Un=Object(O.a)({},va),Lt=null;if(Array.isArray(bn)&&Ct)Lt=bn;else if(!(zt&&(!(hn||cn)||Ct))){if(!(cn&&!zt&&!Ct))if(Object(Le.c)(bn)){var gn=Object(O.a)(Object(O.a)({},bn.props),Un);if(gn.id||(gn.id=mi),Pt.help||Sa.length>0||Lr.length>0||Pt.extra){var Ln=[];(Pt.help||Sa.length>0)&&Ln.push("".concat(mi,"_help")),Pt.extra&&Ln.push("".concat(mi,"_extra")),gn["aria-describedby"]=Ln.join(" ")}Sa.length>0&&(gn["aria-invalid"]="true"),Cr&&(gn["aria-required"]="true"),Object(Z.b)(bn)&&(gn.ref=Ca(Qi,bn));var kr=new Set([].concat(Object(C.a)(Q(Wr)),Object(C.a)(Q(nt))));kr.forEach(function(Qr){gn[Qr]=function(){for(var Na,ar,pi,_i,ti,ui=arguments.length,Ri=new Array(ui),ao=0;ao<ui;ao++)Ri[ao]=arguments[ao];(pi=Un[Qr])===null||pi===void 0||(Na=pi).call.apply(Na,[Un].concat(Ri)),(ti=(_i=bn.props)[Qr])===null||ti===void 0||(ar=ti).call.apply(ar,[_i].concat(Ri))}});var ea=[gn["aria-required"],gn["aria-invalid"],gn["aria-describedby"]];Lt=y.createElement(at,{value:Un[Pt.valuePropName||"value"],update:bn,childProps:ea},Object(Le.a)(bn,gn))}else zt&&(hn||cn)&&!Ct?Lt=bn(gi):Lt=bn}return za(Lt,mi,Cr)})}var ut=Te;ut.useStatus=Ee;var le=ut,$e=function(Pt,Dt){var Qt={};for(var cn in Pt)Object.prototype.hasOwnProperty.call(Pt,cn)&&Dt.indexOf(cn)<0&&(Qt[cn]=Pt[cn]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $n=0,cn=Object.getOwnPropertySymbols(Pt);$n<cn.length;$n++)Dt.indexOf(cn[$n])<0&&Object.prototype.propertyIsEnumerable.call(Pt,cn[$n])&&(Qt[cn[$n]]=Pt[cn[$n]]);return Qt},Qe=function(Dt){var Qt=Dt.prefixCls,cn=Dt.children,$n=$e(Dt,["prefixCls","children"]),hn=y.useContext(w.b),_n=hn.getPrefixCls,bn=_n("form",Qt),Bn=y.useMemo(function(){return{prefixCls:bn,status:"error"}},[bn]);return y.createElement(U.List,Object(O.a)({},$n),function(Tn,Tr,Sr){return y.createElement(E.c.Provider,{value:Bn},cn(Tn.map(function(Wr){return Object(O.a)(Object(O.a)({},Wr),{fieldKey:Wr.key})}),Tr,{errors:Sr.errors,warnings:Sr.warnings}))})},Tt=Qe;function Ot(){var Pt=Object(y.useContext)(E.a),Dt=Pt.form;return Dt}var Ut=ge;Ut.Item=le,Ut.List=Tt,Ut.ErrorList=F,Ut.useForm=te,Ut.useFormInstance=Ot,Ut.useWatch=U.useWatch,Ut.Provider=E.d,Ut.create=function(){};var At=R.a=Ut},VnvH:function(ce,R,l){"use strict";var E=l("+BJd"),m=l("mr32"),O=l("q1tI"),C=l.n(O),k=l("sjmD"),A=l("nKUr"),S=l.n(A),y=function(x){var T=x.type;return Object(A.jsx)(A.Fragment,{children:T===k.b.DIMENSION?Object(A.jsx)(m.a,{color:"blue",children:"\u7EF4\u5EA6"}):T==="metric"?Object(A.jsx)(m.a,{color:"orange",children:"\u6307\u6807"}):Object(A.jsx)(A.Fragment,{})})};R.a=y},VuYY:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("ssJt"),C=l("cT1L"),k=l("f1E4"),A=l("tSXo"),S=l("igoe"),y=l("YfKC").f,w=l("lz10"),x=l("ujhg"),T=l("qcmB"),j=l("IuhT"),D=l("dnEI"),N=l("2kyd"),F=l("1aI8"),B=N("observable"),U=F.get,J=F.set,$=function(ne){return ne==null?void 0:C(ne)},X=function(ne){var te=ne.cleanup;if(te){ne.cleanup=void 0;try{te()}catch(_e){D(_e)}}},ee=function(ne){return ne.observer===void 0},ie=function(ne,te){if(!m){ne.closed=!0;var _e=te.subscriptionObserver;_e&&(_e.closed=!0)}te.observer=void 0},G=function(ne,te){var _e=J(this,{cleanup:void 0,observer:k(ne),subscriptionObserver:void 0}),he;m||(this.closed=!1);try{(he=$(ne.start))&&he.call(ne,this)}catch(Z){D(Z)}if(!ee(_e)){var oe=_e.subscriptionObserver=new Q(this);try{var ge=te(oe),me=ge;ge!=null&&(_e.cleanup=typeof ge.unsubscribe=="function"?function(){me.unsubscribe()}:C(ge))}catch(Z){oe.error(Z);return}ee(_e)&&X(_e)}};G.prototype=x({},{unsubscribe:function(){var te=U(this);ee(te)||(ie(this,te),X(te))}}),m&&y(G.prototype,"closed",{configurable:!0,get:function(){return ee(U(this))}});var Q=function(ne){J(this,{subscription:ne}),m||(this.closed=!1)};Q.prototype=x({},{next:function(te){var _e=U(U(this).subscription);if(!ee(_e)){var he=_e.observer;try{var oe=$(he.next);oe&&oe.call(he,te)}catch(ge){D(ge)}}},error:function(te){var _e=U(this).subscription,he=U(_e);if(!ee(he)){var oe=he.observer;ie(_e,he);try{var ge=$(oe.error);ge?ge.call(oe,te):D(te)}catch(me){D(me)}X(he)}},complete:function(){var te=U(this).subscription,_e=U(te);if(!ee(_e)){var he=_e.observer;ie(te,_e);try{var oe=$(he.complete);oe&&oe.call(he)}catch(ge){D(ge)}X(_e)}}}),m&&y(Q.prototype,"closed",{configurable:!0,get:function(){return ee(U(U(this).subscription))}});var W=function(te){S(this,W,"Observable"),J(this,{subscriber:C(te)})};x(W.prototype,{subscribe:function(te){var _e=arguments.length;return new G(typeof te=="function"?{next:te,error:_e>1?arguments[1]:void 0,complete:_e>2?arguments[2]:void 0}:A(te)?te:{},U(this).subscriber)}}),x(W,{from:function(te){var _e=typeof this=="function"?this:W,he=$(k(te)[B]);if(he){var oe=k(he.call(te));return oe.constructor===_e?oe:new _e(function(me){return oe.subscribe(me)})}var ge=T(te);return new _e(function(me){j(ge,function(Z){if(me.next(Z),me.closed)return j.stop()},void 0,!1,!0),me.complete()})},of:function(){for(var te=typeof this=="function"?this:W,_e=arguments.length,he=new Array(_e),oe=0;oe<_e;)he[oe]=arguments[oe++];return new te(function(ge){for(var me=0;me<_e;me++)if(ge.next(he[me]),ge.closed)return;ge.complete()})}}),w(W.prototype,B,function(){return this}),E({global:!0},{Observable:W}),O("Observable")},VvHf:function(ce,R,l){ce.exports={menu:"menu___1L63y",right:"right___3L8KG",action:"action___LP4_P",search:"search___2W0sJ",account:"account___6HXOq",avatar:"avatar___2cOWV",dark:"dark___1NwCY",download:"download___3EyS7",menuName:"menuName___avsrP",actionIcon:"actionIcon___29O_9",tooltip:"tooltip___OioLL"}},VvX1:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("7BAe"),S=l("/dTS"),y=l("PPXv"),w=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{mapKeys:function(T){var j=C(this),D=y(j),N=A(T,arguments.length>1?arguments[1]:void 0,3),F=new(S(j,O("Map"))),B=k(F.set);return w(D,function(U,J){B.call(F,N(J,U,j),J)},void 0,!0,!0),F}})},VzZb:function(ce,R,l){},VzoY:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Saturation=void 0;var E=function(){function B(U,J){for(var $=0;$<J.length;$++){var X=J[$];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(U,X.key,X)}}return function(U,J,$){return J&&B(U.prototype,J),$&&B(U,$),U}}(),m=l("q1tI"),O=T(m),C=l("/FUP"),k=T(C),A=l("DzJC"),S=T(A),y=l("MCxp"),w=x(y);function x(B){if(B&&B.__esModule)return B;var U={};if(B!=null)for(var J in B)Object.prototype.hasOwnProperty.call(B,J)&&(U[J]=B[J]);return U.default=B,U}function T(B){return B&&B.__esModule?B:{default:B}}function j(B,U){if(!(B instanceof U))throw new TypeError("Cannot call a class as a function")}function D(B,U){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U&&(typeof U=="object"||typeof U=="function")?U:B}function N(B,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof U);B.prototype=Object.create(U&&U.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),U&&(Object.setPrototypeOf?Object.setPrototypeOf(B,U):B.__proto__=U)}var F=R.Saturation=function(B){N(U,B);function U(J){j(this,U);var $=D(this,(U.__proto__||Object.getPrototypeOf(U)).call(this,J));return $.handleChange=function(X){typeof $.props.onChange=="function"&&$.throttle($.props.onChange,w.calculateChange(X,$.props.hsl,$.container),X)},$.handleMouseDown=function(X){$.handleChange(X),window.addEventListener("mousemove",$.handleChange),window.addEventListener("mouseup",$.handleMouseUp)},$.handleMouseUp=function(){$.unbindEventListeners()},$.throttle=(0,S.default)(function(X,ee,ie){X(ee,ie)},50),$}return E(U,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var $=this,X=this.props.style||{},ee=X.color,ie=X.white,G=X.black,Q=X.pointer,W=X.circle,ne=(0,k.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+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:-(this.props.hsv.v*100)+100+"%",left: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:ee,white:ie,black:G,pointer:Q,circle:W}},{custom:!!this.props.style});return O.default.createElement("div",{style:ne.color,ref:function(_e){return $.container=_e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},O.default.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));
}
`),O.default.createElement("div",{style:ne.white,className:"saturation-white"},O.default.createElement("div",{style:ne.black,className:"saturation-black"}),O.default.createElement("div",{style:ne.pointer},this.props.pointer?O.default.createElement(this.props.pointer,this.props):O.default.createElement("div",{style:ne.circle}))))}}]),U}(m.PureComponent||m.Component);R.default=F},W38Z:function(ce,R,l){},W3HW:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.flattenNames=void 0;var E=l("4qC0"),m=w(E),O=l("Ag8Z"),C=w(O),k=l("YO3V"),A=w(k),S=l("3WF5"),y=w(S);function w(T){return T&&T.__esModule?T:{default:T}}var x=R.flattenNames=function T(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],D=[];return(0,y.default)(j,function(N){Array.isArray(N)?T(N).map(function(F){return D.push(F)}):(0,A.default)(N)?(0,C.default)(N,function(F,B){F===!0&&D.push(B),D.push(B+"-"+F)}):(0,m.default)(N)&&D.push(N)}),D};R.default=x},W3vr:function(ce,R,l){},W8MJ:function(ce,R,l){var E=l("o5UB");function m(C,k){for(var A=0;A<k.length;A++){var S=k[A];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,E(S.key),S)}}function O(C,k,A){return k&&m(C.prototype,k),A&&m(C,A),Object.defineProperty(C,"prototype",{writable:!1}),C}ce.exports=O,ce.exports.__esModule=!0,ce.exports.default=ce.exports},W9HT:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("ODXe"),C=l("TSYQ"),k=l.n(C),A=l("sEfC"),S=l.n(A),y=l("Ya77"),w=l("q1tI"),x=l.n(w),T=l("H84U"),j=l("0n0R"),D=l("CWQg"),N=function(ee,ie){var G={};for(var Q in ee)Object.prototype.hasOwnProperty.call(ee,Q)&&ie.indexOf(Q)<0&&(G[Q]=ee[Q]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,Q=Object.getOwnPropertySymbols(ee);W<Q.length;W++)ie.indexOf(Q[W])<0&&Object.prototype.propertyIsEnumerable.call(ee,Q[W])&&(G[Q[W]]=ee[Q[W]]);return G},F=Object(D.a)("small","default","large"),B=null;function U(ee,ie){var G=ie.indicator,Q="".concat(ee,"-dot");return G===null?null:Object(j.c)(G)?Object(j.a)(G,{className:k()(G.props.className,Q)}):Object(j.c)(B)?Object(j.a)(B,{className:k()(B.props.className,Q)}):w.createElement("span",{className:k()(Q,"".concat(ee,"-dot-spin"))},w.createElement("i",{className:"".concat(ee,"-dot-item")}),w.createElement("i",{className:"".concat(ee,"-dot-item")}),w.createElement("i",{className:"".concat(ee,"-dot-item")}),w.createElement("i",{className:"".concat(ee,"-dot-item")}))}function J(ee,ie){return!!ee&&!!ie&&!isNaN(Number(ie))}var $=function(ie){var G=ie.spinPrefixCls,Q=ie.spinning,W=Q===void 0?!0:Q,ne=ie.delay,te=ie.className,_e=ie.size,he=_e===void 0?"default":_e,oe=ie.tip,ge=ie.wrapperClassName,me=ie.style,Z=ie.children,xe=N(ie,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),Ee=w.useState(function(){return W&&!J(W,ne)}),Le=Object(O.a)(Ee,2),we=Le[0],fe=Le[1];w.useEffect(function(){var Me=S()(function(){fe(W)},ne);return Me(),function(){var ze;(ze=Me==null?void 0:Me.cancel)===null||ze===void 0||ze.call(Me)}},[ne,W]);var pe=function(){return typeof Z!="undefined"},Ke=function(ze){var Ue,He=ze.direction,Ne=k()(G,(Ue={},Object(m.a)(Ue,"".concat(G,"-sm"),he==="small"),Object(m.a)(Ue,"".concat(G,"-lg"),he==="large"),Object(m.a)(Ue,"".concat(G,"-spinning"),we),Object(m.a)(Ue,"".concat(G,"-show-text"),!!oe),Object(m.a)(Ue,"".concat(G,"-rtl"),He==="rtl"),Ue),te),it=Object(y.a)(xe,["indicator","prefixCls"]),Xe=w.createElement("div",Object(E.a)({},it,{style:me,className:Ne,"aria-live":"polite","aria-busy":we}),U(G,ie),oe?w.createElement("div",{className:"".concat(G,"-text")},oe):null);if(pe()){var ht=k()("".concat(G,"-container"),Object(m.a)({},"".concat(G,"-blur"),we));return w.createElement("div",Object(E.a)({},it,{className:k()("".concat(G,"-nested-loading"),ge)}),we&&w.createElement("div",{key:"loading"},Xe),w.createElement("div",{className:ht,key:"container"},Z))}return Xe};return w.createElement(T.a,null,Ke)},X=function(ie){var G=ie.prefixCls,Q=w.useContext(T.b),W=Q.getPrefixCls,ne=W("spin",G),te=Object(E.a)(Object(E.a)({},ie),{spinPrefixCls:ne});return w.createElement($,Object(E.a)({},te))};X.setDefaultIndicator=function(ee){B=ee},R.a=X},WFqU:function(ce,R,l){(function(E){var m=typeof E=="object"&&E&&E.Object===Object&&E;ce.exports=m}).call(this,l("IyRk"))},WIyh:function(ce,R,l){var E=l("MMxC"),m=l("tny8"),O=l("f1E4"),C=l("g8rt");E({target:"Reflect",stat:!0,sham:!m},{getOwnPropertyDescriptor:function(A,S){return C.f(O(A),S)}})},WJ3H:function(ce,R){ce.exports=function(l){try{return{error:!1,value:l()}}catch(E){return{error:!0,value:E}}}},WLtj:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},WOAq:function(ce,R,l){"use strict";(function(E){var m=l("Ju5/"),O=l("L3Qv"),C=typeof exports=="object"&&exports&&!exports.nodeType&&exports,k=C&&typeof E=="object"&&E&&!E.nodeType&&E,A=k&&k.exports===C,S=A?m.a.Buffer:void 0,y=S?S.isBuffer:void 0,w=y||O.a;R.a=w}).call(this,l("Vg/k")(ce))},WPXx:function(ce,R,l){ce.exports={conversation:"conversation___TJbiP",conversationSection:"conversationSection___HsioJ",sectionTitle:"sectionTitle___2tcoL",conversationList:"conversationList___1JJCj",conversationItem:"conversationItem___3rc1d",conversationItemContent:"conversationItemContent___1Yy3m",conversationIcon:"conversationIcon___31q0k",conversationContent:"conversationContent___3cv34",activeConversationItem:"activeConversationItem___7NFEq"}},WQuA:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("i7kj"),C=l("cTDu"),k=l("gFfw"),A=l("Acmb"),S=l("g8rt").f;m&&E({target:"Object",proto:!0,forced:O},{__lookupSetter__:function(w){var x=C(this),T=k(w,!0),j;do if(j=S(x,T))return j.set;while(x=A(x))}})},WSiA:function(ce,R,l){ce.exports={context:"context___1OCN5",title:"title___10GWP",desc:"desc___2-XNh",field:"field___3ejkW",columnLayout:"columnLayout___2QKpP",avatar:"avatar___1OcVc",filterSection:"filterSection___8VuXR",fieldName:"fieldName___dMy48",fieldValue:"fieldValue___1y7ju",filterValues:"filterValues___R7F2_",filterItem:"filterItem___3xOt7"}},"WU/Z":function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").forEach,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("forEach",function(A){m(O(this),A,arguments.length>1?arguments[1]:void 0)})},WaYH:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("Ff2n"),C=l("VTBJ"),k=l("1OyB"),A=l("vuIU"),S=l("JX7q"),y=l("Ji7U"),w=l("LK+K"),x=l("q1tI"),T=l("TSYQ"),j=l.n(T),D=l("uQZs"),N=l("sboe"),F=function(ne){for(var te=ne.prefixCls,_e=ne.level,he=ne.isStart,oe=ne.isEnd,ge="".concat(te,"-indent-unit"),me=[],Z=0;Z<_e;Z+=1){var xe;me.push(x.createElement("span",{key:Z,className:j()(ge,(xe={},Object(m.a)(xe,"".concat(ge,"-start"),he[Z]),Object(m.a)(xe,"".concat(ge,"-end"),oe[Z]),xe))}))}return x.createElement("span",{"aria-hidden":"true",className:"".concat(te,"-indent")},me)},B=x.memo(F),U=l("815F"),J=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],$="open",X="close",ee="---",ie=function(W){Object(y.a)(te,W);var ne=Object(w.a)(te);function te(){var _e;Object(k.a)(this,te);for(var he=arguments.length,oe=new Array(he),ge=0;ge<he;ge++)oe[ge]=arguments[ge];return _e=ne.call.apply(ne,[this].concat(oe)),_e.state={dragNodeHighlight:!1},_e.selectHandle=void 0,_e.onSelectorClick=function(me){var Z=_e.props.context.onNodeClick;Z(me,Object(U.b)(_e.props)),_e.isSelectable()?_e.onSelect(me):_e.onCheck(me)},_e.onSelectorDoubleClick=function(me){var Z=_e.props.context.onNodeDoubleClick;Z(me,Object(U.b)(_e.props))},_e.onSelect=function(me){if(!_e.isDisabled()){var Z=_e.props.context.onNodeSelect;me.preventDefault(),Z(me,Object(U.b)(_e.props))}},_e.onCheck=function(me){if(!_e.isDisabled()){var Z=_e.props,xe=Z.disableCheckbox,Ee=Z.checked,Le=_e.props.context.onNodeCheck;if(!(!_e.isCheckable()||xe)){me.preventDefault();var we=!Ee;Le(me,Object(U.b)(_e.props),we)}}},_e.onMouseEnter=function(me){var Z=_e.props.context.onNodeMouseEnter;Z(me,Object(U.b)(_e.props))},_e.onMouseLeave=function(me){var Z=_e.props.context.onNodeMouseLeave;Z(me,Object(U.b)(_e.props))},_e.onContextMenu=function(me){var Z=_e.props.context.onNodeContextMenu;Z(me,Object(U.b)(_e.props))},_e.onDragStart=function(me){var Z=_e.props.context.onNodeDragStart;me.stopPropagation(),_e.setState({dragNodeHighlight:!0}),Z(me,Object(S.a)(_e));try{me.dataTransfer.setData("text/plain","")}catch(xe){}},_e.onDragEnter=function(me){var Z=_e.props.context.onNodeDragEnter;me.preventDefault(),me.stopPropagation(),Z(me,Object(S.a)(_e))},_e.onDragOver=function(me){var Z=_e.props.context.onNodeDragOver;me.preventDefault(),me.stopPropagation(),Z(me,Object(S.a)(_e))},_e.onDragLeave=function(me){var Z=_e.props.context.onNodeDragLeave;me.stopPropagation(),Z(me,Object(S.a)(_e))},_e.onDragEnd=function(me){var Z=_e.props.context.onNodeDragEnd;me.stopPropagation(),_e.setState({dragNodeHighlight:!1}),Z(me,Object(S.a)(_e))},_e.onDrop=function(me){var Z=_e.props.context.onNodeDrop;me.preventDefault(),me.stopPropagation(),_e.setState({dragNodeHighlight:!1}),Z(me,Object(S.a)(_e))},_e.onExpand=function(me){var Z=_e.props,xe=Z.loading,Ee=Z.context.onNodeExpand;xe||Ee(me,Object(U.b)(_e.props))},_e.setSelectHandle=function(me){_e.selectHandle=me},_e.getNodeState=function(){var me=_e.props.expanded;return _e.isLeaf()?null:me?$:X},_e.hasChildren=function(){var me=_e.props.eventKey,Z=_e.props.context.keyEntities,xe=Z[me]||{},Ee=xe.children;return!!(Ee||[]).length},_e.isLeaf=function(){var me=_e.props,Z=me.isLeaf,xe=me.loaded,Ee=_e.props.context.loadData,Le=_e.hasChildren();return Z===!1?!1:Z||!Ee&&!Le||Ee&&xe&&!Le},_e.isDisabled=function(){var me=_e.props.disabled,Z=_e.props.context.disabled;return!!(Z||me)},_e.isCheckable=function(){var me=_e.props.checkable,Z=_e.props.context.checkable;return!Z||me===!1?!1:Z},_e.syncLoadData=function(me){var Z=me.expanded,xe=me.loading,Ee=me.loaded,Le=_e.props.context,we=Le.loadData,fe=Le.onNodeLoad;xe||we&&Z&&!_e.isLeaf()&&!_e.hasChildren()&&!Ee&&fe(Object(U.b)(_e.props))},_e.isDraggable=function(){var me=_e.props,Z=me.data,xe=me.context.draggable;return!!(xe&&(!xe.nodeDraggable||xe.nodeDraggable(Z)))},_e.renderDragHandler=function(){var me=_e.props.context,Z=me.draggable,xe=me.prefixCls;return(Z==null?void 0:Z.icon)?x.createElement("span",{className:"".concat(xe,"-draggable-icon")},Z.icon):null},_e.renderSwitcherIconDom=function(me){var Z=_e.props.switcherIcon,xe=_e.props.context.switcherIcon,Ee=Z||xe;return typeof Ee=="function"?Ee(Object(C.a)(Object(C.a)({},_e.props),{},{isLeaf:me})):Ee},_e.renderSwitcher=function(){var me=_e.props.expanded,Z=_e.props.context.prefixCls;if(_e.isLeaf()){var xe=_e.renderSwitcherIconDom(!0);return xe!==!1?x.createElement("span",{className:j()("".concat(Z,"-switcher"),"".concat(Z,"-switcher-noop"))},xe):null}var Ee=j()("".concat(Z,"-switcher"),"".concat(Z,"-switcher_").concat(me?$:X)),Le=_e.renderSwitcherIconDom(!1);return Le!==!1?x.createElement("span",{onClick:_e.onExpand,className:Ee},Le):null},_e.renderCheckbox=function(){var me=_e.props,Z=me.checked,xe=me.halfChecked,Ee=me.disableCheckbox,Le=_e.props.context.prefixCls,we=_e.isDisabled(),fe=_e.isCheckable();if(!fe)return null;var pe=typeof fe!="boolean"?fe:null;return x.createElement("span",{className:j()("".concat(Le,"-checkbox"),Z&&"".concat(Le,"-checkbox-checked"),!Z&&xe&&"".concat(Le,"-checkbox-indeterminate"),(we||Ee)&&"".concat(Le,"-checkbox-disabled")),onClick:_e.onCheck},pe)},_e.renderIcon=function(){var me=_e.props.loading,Z=_e.props.context.prefixCls;return x.createElement("span",{className:j()("".concat(Z,"-iconEle"),"".concat(Z,"-icon__").concat(_e.getNodeState()||"docu"),me&&"".concat(Z,"-icon_loading"))})},_e.renderSelector=function(){var me=_e.state.dragNodeHighlight,Z=_e.props,xe=Z.title,Ee=xe===void 0?ee:xe,Le=Z.selected,we=Z.icon,fe=Z.loading,pe=Z.data,Ke=_e.props.context,Me=Ke.prefixCls,ze=Ke.showIcon,Ue=Ke.icon,He=Ke.loadData,Ne=Ke.titleRender,it=_e.isDisabled(),Xe="".concat(Me,"-node-content-wrapper"),ht;if(ze){var lt=we||Ue;ht=lt?x.createElement("span",{className:j()("".concat(Me,"-iconEle"),"".concat(Me,"-icon__customize"))},typeof lt=="function"?lt(_e.props):lt):_e.renderIcon()}else He&&fe&&(ht=_e.renderIcon());var Et;typeof Ee=="function"?Et=Ee(pe):Ne?Et=Ne(pe):Et=Ee;var tt=x.createElement("span",{className:"".concat(Me,"-title")},Et);return x.createElement("span",{ref:_e.setSelectHandle,title:typeof Ee=="string"?Ee:"",className:j()("".concat(Xe),"".concat(Xe,"-").concat(_e.getNodeState()||"normal"),!it&&(Le||me)&&"".concat(Me,"-node-selected")),onMouseEnter:_e.onMouseEnter,onMouseLeave:_e.onMouseLeave,onContextMenu:_e.onContextMenu,onClick:_e.onSelectorClick,onDoubleClick:_e.onSelectorDoubleClick},ht,tt,_e.renderDropIndicator())},_e.renderDropIndicator=function(){var me=_e.props,Z=me.disabled,xe=me.eventKey,Ee=_e.props.context,Le=Ee.draggable,we=Ee.dropLevelOffset,fe=Ee.dropPosition,pe=Ee.prefixCls,Ke=Ee.indent,Me=Ee.dropIndicatorRender,ze=Ee.dragOverNodeKey,Ue=Ee.direction,He=!!Le,Ne=!Z&&He&&ze===xe;return Ne?Me({dropPosition:fe,dropLevelOffset:we,indent:Ke,prefixCls:pe,direction:Ue}):null},_e}return Object(A.a)(te,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var he=this.props.selectable,oe=this.props.context.selectable;return typeof he=="boolean"?he:oe}},{key:"render",value:function(){var he,oe=this.props,ge=oe.eventKey,me=oe.className,Z=oe.style,xe=oe.dragOver,Ee=oe.dragOverGapTop,Le=oe.dragOverGapBottom,we=oe.isLeaf,fe=oe.isStart,pe=oe.isEnd,Ke=oe.expanded,Me=oe.selected,ze=oe.checked,Ue=oe.halfChecked,He=oe.loading,Ne=oe.domRef,it=oe.active,Xe=oe.data,ht=oe.onMouseMove,lt=oe.selectable,Et=Object(O.a)(oe,J),tt=this.props.context,mt=tt.prefixCls,xt=tt.filterTreeNode,Xt=tt.keyEntities,vt=tt.dropContainerKey,qe=tt.dropTargetKey,Re=tt.draggingNodeKey,Se=this.isDisabled(),Ve=Object(D.a)(Et,{aria:!0,data:!0}),Ge=Xt[ge]||{},_t=Ge.level,bt=pe[pe.length-1],gt=this.isDraggable(),at=!Se&&gt,ft=Re===ge,Fe=lt!==void 0?{"aria-selected":!!lt}:void 0;return x.createElement("div",Object(E.a)({ref:Ne,className:j()(me,"".concat(mt,"-treenode"),(he={},Object(m.a)(he,"".concat(mt,"-treenode-disabled"),Se),Object(m.a)(he,"".concat(mt,"-treenode-switcher-").concat(Ke?"open":"close"),!we),Object(m.a)(he,"".concat(mt,"-treenode-checkbox-checked"),ze),Object(m.a)(he,"".concat(mt,"-treenode-checkbox-indeterminate"),Ue),Object(m.a)(he,"".concat(mt,"-treenode-selected"),Me),Object(m.a)(he,"".concat(mt,"-treenode-loading"),He),Object(m.a)(he,"".concat(mt,"-treenode-active"),it),Object(m.a)(he,"".concat(mt,"-treenode-leaf-last"),bt),Object(m.a)(he,"".concat(mt,"-treenode-draggable"),gt),Object(m.a)(he,"dragging",ft),Object(m.a)(he,"drop-target",qe===ge),Object(m.a)(he,"drop-container",vt===ge),Object(m.a)(he,"drag-over",!Se&&xe),Object(m.a)(he,"drag-over-gap-top",!Se&&Ee),Object(m.a)(he,"drag-over-gap-bottom",!Se&&Le),Object(m.a)(he,"filter-node",xt&&xt(Object(U.b)(this.props))),he)),style:Z,draggable:at,"aria-grabbed":ft,onDragStart:at?this.onDragStart:void 0,onDragEnter:gt?this.onDragEnter:void 0,onDragOver:gt?this.onDragOver:void 0,onDragLeave:gt?this.onDragLeave:void 0,onDrop:gt?this.onDrop:void 0,onDragEnd:gt?this.onDragEnd:void 0,onMouseMove:ht},Fe,Ve),x.createElement(B,{prefixCls:mt,level:_t,isStart:fe,isEnd:pe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),te}(x.Component),G=function(ne){return x.createElement(N.a.Consumer,null,function(te){return x.createElement(ie,Object(E.a)({},ne,{context:te}))})};G.displayName="TreeNode",G.isTreeNode=1;var Q=R.a=G},WbBG:function(ce,R,l){"use strict";var E="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ce.exports=E},WkPL:function(ce,R){function l(E,m){(m==null||m>E.length)&&(m=E.length);for(var O=0,C=new Array(m);O<m;O++)C[O]=E[O];return C}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},WlFw:function(ce,R,l){var E=l("MMxC"),m=l("f1E4"),O=Object.isExtensible;E({target:"Reflect",stat:!0},{isExtensible:function(k){return m(k),O?O(k):!0}})},WmZF:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=E(l("pVnL")),O=E(l("B2gY")),C=E(l("kM4J")),k={lang:(0,m.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},O.default),timePickerLocale:(0,m.default)({},C.default)},A=k;R.default=A},WwFo:function(ce,R,l){var E=l("juv8"),m=l("7GkX");function O(C,k){return C&&E(k,m(k),C)}ce.exports=O},X5kU:function(ce,R,l){"use strict";var E=l("tSXo"),m=l("YfKC"),O=l("Acmb"),C=l("2kyd"),k=C("hasInstance"),A=Function.prototype;k in A||m.f(A,k,{value:function(S){if(typeof this!="function"||!E(S))return!1;if(!E(this.prototype))return S instanceof this;for(;S=O(S);)if(this.prototype===S)return!0;return!1}})},X6vt:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Un+d"),O=[].reverse,C=[1,2];E({target:"Array",proto:!0,forced:String(C)===String(C.reverse())},{reverse:function(){return m(this)&&(this.length=this.length),O.call(this)}})},X9aP:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},XBQK:function(ce,R,l){"use strict";var E=l("wx14"),m=l("U8pU"),O=l("rePB"),C=l("ODXe"),k=l("UESt"),A=l("TSYQ"),S=l.n(A),y=l("VTBJ"),w=l("Ff2n"),x=l("q1tI"),T=l("uciX"),j={adjustX:1,adjustY:1},D=[0,0],N={topLeft:{points:["bl","tl"],overflow:j,offset:[0,-4],targetOffset:D},topCenter:{points:["bc","tc"],overflow:j,offset:[0,-4],targetOffset:D},topRight:{points:["br","tr"],overflow:j,offset:[0,-4],targetOffset:D},bottomLeft:{points:["tl","bl"],overflow:j,offset:[0,4],targetOffset:D},bottomCenter:{points:["tc","bc"],overflow:j,offset:[0,4],targetOffset:D},bottomRight:{points:["tr","br"],overflow:j,offset:[0,4],targetOffset:D}},F=N,B=l("rOxa"),U=l("3F7U"),J=l("KQm4"),$=function(mt){if(!mt)return!1;if(mt instanceof Element){if(mt.offsetParent)return!0;if(mt.getBBox){var xt=mt.getBBox(),Xt=xt.width,vt=xt.height;if(Xt||vt)return!0}if(mt.getBoundingClientRect){var qe=mt.getBoundingClientRect(),Re=qe.width,Se=qe.height;if(Re||Se)return!0}}return!1};function X(mt){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if($(mt)){var Xt=mt.nodeName.toLowerCase(),vt=["input","select","textarea","button"].includes(Xt)||mt.isContentEditable||Xt==="a"&&!!mt.getAttribute("href"),qe=mt.getAttribute("tabindex"),Re=Number(qe),Se=null;return qe&&!Number.isNaN(Re)?Se=Re:vt&&Se===null&&(Se=0),vt&&mt.disabled&&(Se=null),Se!==null&&(Se>=0||xt&&Se<0)}return!1}function ee(mt){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xt=Object(J.a)(mt.querySelectorAll("*")).filter(function(vt){return X(vt,xt)});return X(mt,xt)&&Xt.unshift(mt),Xt}var ie=null;function G(){ie=document.activeElement}function Q(){ie=null}function W(){if(ie)try{ie.focus()}catch(mt){}}function ne(mt,xt){if(xt.keyCode===9){var Xt=ee(mt),vt=Xt[xt.shiftKey?0:Xt.length-1],qe=vt===document.activeElement||mt===document.activeElement;if(qe){var Re=Xt[xt.shiftKey?Xt.length-1:0];Re.focus(),xt.preventDefault()}}}var te=B.a.ESC,_e=B.a.TAB;function he(mt){var xt=mt.visible,Xt=mt.setTriggerVisible,vt=mt.triggerRef,qe=mt.onVisibleChange,Re=mt.autoFocus,Se=x.useRef(!1),Ve=function(){if(xt&&vt.current){var gt,at,ft,Fe;(gt=vt.current)===null||gt===void 0||(at=gt.triggerRef)===null||at===void 0||(ft=at.current)===null||ft===void 0||(Fe=ft.focus)===null||Fe===void 0||Fe.call(ft),Xt(!1),typeof qe=="function"&&qe(!1)}},Ge=function(){var gt,at,ft,Fe,Te=ee((gt=vt.current)===null||gt===void 0||(at=gt.popupRef)===null||at===void 0||(ft=at.current)===null||ft===void 0||(Fe=ft.getElement)===null||Fe===void 0?void 0:Fe.call(ft)),ut=Te[0];return(ut==null?void 0:ut.focus)?(ut.focus(),Se.current=!0,!0):!1},_t=function(gt){switch(gt.keyCode){case te:Ve();break;case _e:{var at=!1;Se.current||(at=Ge()),at?gt.preventDefault():Ve();break}}};x.useEffect(function(){return xt?(window.addEventListener("keydown",_t),Re&&Object(U.a)(Ge,3),function(){window.removeEventListener("keydown",_t),Se.current=!1}):function(){Se.current=!1}},[xt])}var oe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function ge(mt,xt){var Xt=mt.arrow,vt=Xt===void 0?!1:Xt,qe=mt.prefixCls,Re=qe===void 0?"rc-dropdown":qe,Se=mt.transitionName,Ve=mt.animation,Ge=mt.align,_t=mt.placement,bt=_t===void 0?"bottomLeft":_t,gt=mt.placements,at=gt===void 0?F:gt,ft=mt.getPopupContainer,Fe=mt.showAction,Te=mt.hideAction,ut=mt.overlayClassName,le=mt.overlayStyle,$e=mt.visible,Qe=mt.trigger,Tt=Qe===void 0?["hover"]:Qe,Ot=mt.autoFocus,Ut=Object(w.a)(mt,oe),At=x.useState(),Pt=Object(C.a)(At,2),Dt=Pt[0],Qt=Pt[1],cn="visible"in mt?$e:Dt,$n=x.useRef(null);x.useImperativeHandle(xt,function(){return $n.current}),he({visible:cn,setTriggerVisible:Qt,triggerRef:$n,onVisibleChange:mt.onVisibleChange,autoFocus:Ot});var hn=function(){var gr=mt.overlay,na;return typeof gr=="function"?na=gr():na=gr,na},_n=function(gr){var na=mt.onOverlayClick;Qt(!1),na&&na(gr)},bn=function(gr){var na=mt.onVisibleChange;Qt(gr),typeof na=="function"&&na(gr)},Bn=function(){var gr=hn();return x.createElement(x.Fragment,null,vt&&x.createElement("div",{className:"".concat(Re,"-arrow")}),gr)},Tn=function(){var gr=mt.overlay;return typeof gr=="function"?Bn:Bn()},Tr=function(){var gr=mt.minOverlayWidthMatchTrigger,na=mt.alignPoint;return"minOverlayWidthMatchTrigger"in mt?gr:!na},Sr=function(){var gr=mt.openClassName;return gr!==void 0?gr:"".concat(Re,"-open")},Wr=function(){var gr=mt.children,na=gr.props?gr.props:{},jn=S()(na.className,Sr());return cn&&gr?x.cloneElement(gr,{className:jn}):gr},br=Te;return!br&&Tt.indexOf("contextMenu")!==-1&&(br=["click"]),x.createElement(T.a,Object(y.a)(Object(y.a)({builtinPlacements:at},Ut),{},{prefixCls:Re,ref:$n,popupClassName:S()(ut,Object(O.a)({},"".concat(Re,"-show-arrow"),vt)),popupStyle:le,action:Tt,showAction:Fe,hideAction:br||[],popupPlacement:bt,popupAlign:Ge,popupTransitionName:Se,popupAnimation:Ve,popupVisible:cn,stretch:Tr()?"minWidth":"",popup:Tn(),onPopupVisibleChange:bn,onPopupClick:_n,getPopupContainer:ft}),Wr())}var me=x.forwardRef(ge),Z=me,xe=l("Kbm9"),Ee=l("pAT6"),Le=l("BvKs"),we=l("H84U"),fe=l("UuAG"),pe=l("NWM5"),Ke=l("0n0R"),Me=l("CWQg"),ze=l("GZ0F"),Ue=l("2/Rp"),He=l("+f9I"),Ne=l("zeV3"),it=function(mt,xt){var Xt={};for(var vt in mt)Object.prototype.hasOwnProperty.call(mt,vt)&&xt.indexOf(vt)<0&&(Xt[vt]=mt[vt]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,vt=Object.getOwnPropertySymbols(mt);qe<vt.length;qe++)xt.indexOf(vt[qe])<0&&Object.prototype.propertyIsEnumerable.call(mt,vt[qe])&&(Xt[vt[qe]]=mt[vt[qe]]);return Xt},Xe=function(xt){var Xt=x.useContext(we.b),vt=Xt.getPopupContainer,qe=Xt.getPrefixCls,Re=Xt.direction,Se=xt.prefixCls,Ve=xt.type,Ge=Ve===void 0?"default":Ve,_t=xt.danger,bt=xt.disabled,gt=xt.loading,at=xt.onClick,ft=xt.htmlType,Fe=xt.children,Te=xt.className,ut=xt.menu,le=xt.arrow,$e=xt.autoFocus,Qe=xt.overlay,Tt=xt.trigger,Ot=xt.align,Ut=xt.visible,At=xt.open,Pt=xt.onVisibleChange,Dt=xt.onOpenChange,Qt=xt.placement,cn=xt.getPopupContainer,$n=xt.href,hn=xt.icon,_n=hn===void 0?x.createElement(ze.a,null):hn,bn=xt.title,Bn=xt.buttonsRender,Tn=Bn===void 0?function(Zn){return Zn}:Bn,Tr=xt.mouseEnterDelay,Sr=xt.mouseLeaveDelay,Wr=xt.overlayClassName,br=xt.overlayStyle,Wn=xt.destroyPopupOnHide,gr=it(xt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","visible","open","onVisibleChange","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide"]),na=qe("dropdown-button",Se),jn={menu:ut,arrow:le,autoFocus:$e,align:Ot,disabled:bt,trigger:bt?[]:Tt,onOpenChange:Dt||Pt,getPopupContainer:cn||vt,mouseEnterDelay:Tr,mouseLeaveDelay:Sr,overlayClassName:Wr,overlayStyle:br,destroyPopupOnHide:Wn},un=Object(He.c)(na,Re),zt=un.compactSize,Bt=un.compactItemClassnames,H=S()(na,Bt,Te);"overlay"in xt&&(jn.overlay=Qe),"open"in xt?jn.open=At:"visible"in xt&&(jn.open=Ut),"placement"in xt?jn.placement=Qt:jn.placement=Re==="rtl"?"bottomLeft":"bottomRight";var ot=x.createElement(Ue.a,{type:Ge,danger:_t,disabled:bt,loading:gt,onClick:at,htmlType:ft,href:$n,title:bn},Fe),nt=x.createElement(Ue.a,{type:Ge,danger:_t,icon:_n}),Ct=Tn([ot,nt]),Wt=Object(C.a)(Ct,2),kn=Wt[0],Sn=Wt[1];return x.createElement(Ne.b.Compact,Object(E.a)({className:H,size:zt,block:!0},gr),kn,x.createElement(tt,Object(E.a)({},jn),Sn))};Xe.__ANT_BUTTON=!0;var ht=Xe,lt=Object(Me.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom"),Et=function(xt){var Xt=x.useContext(we.b),vt=Xt.getPopupContainer,qe=Xt.getPrefixCls,Re=Xt.direction,Se=function(){var un=qe(),zt=xt.placement,Bt=zt===void 0?"":zt,H=xt.transitionName;return H!==void 0?H:Bt.includes("top")?"".concat(un,"-slide-down"):"".concat(un,"-slide-up")},Ve=function(){var un=xt.placement;if(!un)return Re==="rtl"?"bottomRight":"bottomLeft";if(un.includes("Center")){var zt=un.slice(0,un.indexOf("Center"));return zt}return un},Ge=xt.menu,_t=xt.arrow,bt=xt.prefixCls,gt=xt.children,at=xt.trigger,ft=xt.disabled,Fe=xt.dropdownRender,Te=xt.getPopupContainer,ut=xt.overlayClassName,le=xt.visible,$e=xt.open,Qe=xt.onVisibleChange,Tt=xt.onOpenChange,Ot=xt.mouseEnterDelay,Ut=Ot===void 0?.15:Ot,At=xt.mouseLeaveDelay,Pt=At===void 0?.1:At,Dt=xt.autoAdjustOverflow,Qt=Dt===void 0?!0:Dt,cn=qe("dropdown",bt),$n=x.Children.only(gt),hn=Object(Ke.a)($n,{className:S()("".concat(cn,"-trigger"),Object(O.a)({},"".concat(cn,"-rtl"),Re==="rtl"),$n.props.className),disabled:ft}),_n=ft?[]:at,bn;_n&&_n.includes("contextMenu")&&(bn=!0);var Bn=Object(Ee.a)(!1,{value:$e!==void 0?$e:le}),Tn=Object(C.a)(Bn,2),Tr=Tn[0],Sr=Tn[1],Wr=Object(xe.a)(function(jn){Qe==null||Qe(jn),Tt==null||Tt(jn),Sr(jn)}),br=S()(ut,Object(O.a)({},"".concat(cn,"-rtl"),Re==="rtl")),Wn=Object(pe.a)({arrowPointAtCenter:Object(m.a)(_t)==="object"&&_t.pointAtCenter,autoAdjustOverflow:Qt}),gr=x.useCallback(function(){Sr(!1)},[]),na=function(){var un=xt.overlay,zt;return(Ge==null?void 0:Ge.items)?zt=x.createElement(Le.a,Object(E.a)({},Ge)):typeof un=="function"?zt=un():zt=un,Fe&&(zt=Fe(zt)),zt=x.Children.only(typeof zt=="string"?x.createElement("span",null,zt):zt),x.createElement(fe.a,{prefixCls:"".concat(cn,"-menu"),expandIcon:x.createElement("span",{className:"".concat(cn,"-menu-submenu-arrow")},x.createElement(k.a,{className:"".concat(cn,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:gr,validator:function(H){var ot=H.mode}},x.createElement(He.a,null,zt))};return x.createElement(Z,Object(E.a)({alignPoint:bn},xt,{mouseEnterDelay:Ut,mouseLeaveDelay:Pt,visible:Tr,builtinPlacements:Wn,arrow:!!_t,overlayClassName:br,prefixCls:cn,getPopupContainer:Te||vt,transitionName:Se(),trigger:_n,overlay:na,placement:Ve(),onVisibleChange:Wr}),hn)};Et.Button=ht;var tt=R.a=Et},XDpg:function(ce,R,l){//! moment.js locale configuration
//! locale : Chinese (China) [zh-cn]
//! author : suupic : https://github.com/suupic
//! author : Zeno Zeng : https://github.com/zenozeng
//! author : uu109 : https://github.com/uu109
(function(E,m){m(l("wd/R"))})(this,function(E){"use strict";//! moment.js locale configuration
var m=E.defineLocale("zh-cn",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(C,k){return C===12&&(C=0),k==="\u51CC\u6668"||k==="\u65E9\u4E0A"||k==="\u4E0A\u5348"?C:k==="\u4E0B\u5348"||k==="\u665A\u4E0A"?C+12:C>=11?C:C+12},meridiem:function(C,k,A){var S=C*100+k;return S<600?"\u51CC\u6668":S<900?"\u65E9\u4E0A":S<1130?"\u4E0A\u5348":S<1230?"\u4E2D\u5348":S<1800?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:function(C){return C.week()!==this.week()?"[\u4E0B]dddLT":"[\u672C]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(C){return this.week()!==C.week()?"[\u4E0A]dddLT":"[\u672C]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(C,k){switch(k){case"d":case"D":case"DDD":return C+"\u65E5";case"M":return C+"\u6708";case"w":case"W":return C+"\u5468";default:return C}},relativeTime:{future:"%s\u540E",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}});return m})},XGnz:function(ce,R,l){var E=l("CH3K"),m=l("BiGR");function O(C,k,A,S,y){var w=-1,x=C.length;for(A||(A=m),y||(y=[]);++w<x;){var T=C[w];k>0&&A(T)?k>1?O(T,k-1,A,S,y):E(y,T):S||(y[y.length]=T)}return y}ce.exports=O},XI05:function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E),O=l("H84U"),C=l("ECub"),k=function(S){return E.createElement(O.a,null,function(y){var w=y.getPrefixCls,x=w("empty");switch(S){case"Table":case"List":return E.createElement(C.a,{image:C.a.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return E.createElement(C.a,{image:C.a.PRESENTED_IMAGE_SIMPLE,className:"".concat(x,"-small")});default:return E.createElement(C.a,null)}})};R.a=k},XIKA:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Block=void 0;var E=l("q1tI"),m=N(E),O=l("17x9"),C=N(O),k=l("/FUP"),A=N(k),S=l("QkVN"),y=N(S),w=l("4iDX"),x=N(w),T=l("UtML"),j=l("mng9"),D=N(j);function N(B){return B&&B.__esModule?B:{default:B}}var F=R.Block=function(U){var J=U.onChange,$=U.onSwatchHover,X=U.hex,ee=U.colors,ie=U.width,G=U.triangle,Q=U.styles,W=Q===void 0?{}:Q,ne=U.className,te=ne===void 0?"":ne,_e=X==="transparent",he=function(me,Z){x.default.isValidHex(me)&&J({hex:me,source:"hex"},Z)},oe=(0,A.default)((0,y.default)({default:{card:{width:ie,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:X,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:x.default.getContrastingColor(X),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+X+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},W),{"hide-triangle":G==="hide"});return m.default.createElement("div",{style:oe.card,className:"block-picker "+te},m.default.createElement("div",{style:oe.triangle}),m.default.createElement("div",{style:oe.head},_e&&m.default.createElement(T.Checkboard,{borderRadius:"6px 6px 0 0"}),m.default.createElement("div",{style:oe.label},X)),m.default.createElement("div",{style:oe.body},m.default.createElement(D.default,{colors:ee,onClick:he,onSwatchHover:$}),m.default.createElement(T.EditableInput,{style:{input:oe.input},value:X,onChange:he})))};F.propTypes={width:C.default.oneOfType([C.default.string,C.default.number]),colors:C.default.arrayOf(C.default.string),triangle:C.default.oneOf(["top","hide"]),styles:C.default.object},F.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},R.default=(0,T.ColorWrap)(F)},XQL4:function(ce,R,l){},XQvf:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.active=void 0;var E=Object.assign||function(w){for(var x=1;x<arguments.length;x++){var T=arguments[x];for(var j in T)Object.prototype.hasOwnProperty.call(T,j)&&(w[j]=T[j])}return w},m=l("q1tI"),O=C(m);function C(w){return w&&w.__esModule?w:{default:w}}function k(w,x){if(!(w instanceof x))throw new TypeError("Cannot call a class as a function")}function A(w,x){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:w}function S(w,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);w.prototype=Object.create(x&&x.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(w,x):w.__proto__=x)}var y=R.active=function(x){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(j){S(D,j);function D(){var N,F,B,U;k(this,D);for(var J=arguments.length,$=Array(J),X=0;X<J;X++)$[X]=arguments[X];return U=(F=(B=A(this,(N=D.__proto__||Object.getPrototypeOf(D)).call.apply(N,[this].concat($))),B),B.state={active:!1},B.handleMouseDown=function(){return B.setState({active:!0})},B.handleMouseUp=function(){return B.setState({active:!1})},B.render=function(){return O.default.createElement(T,{onMouseDown:B.handleMouseDown,onMouseUp:B.handleMouseUp},O.default.createElement(x,E({},B.props,B.state)))},F),A(B,U)}return D}(O.default.Component)};R.default=y},XVSB:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.PhotoshopPreviews=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.PhotoshopPreviews=function(y){var w=y.rgb,x=y.currentColor,T=(0,C.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+w.r+","+w.g+", "+w.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:x,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return m.default.createElement("div",null,m.default.createElement("div",{style:T.label},"new"),m.default.createElement("div",{style:T.swatches},m.default.createElement("div",{style:T.new}),m.default.createElement("div",{style:T.current})),m.default.createElement("div",{style:T.label},"current"))};R.default=A},XWE6:function(ce,R){function l(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},XX5T:function(ce,R){ce.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},XYm9:function(ce,R,l){var E=l("+K+b");function m(O,C){var k=C?E(O.buffer):O.buffer;return new O.constructor(k,O.byteOffset,O.byteLength)}ce.exports=m},XaGS:function(ce,R,l){(function(E,m){var O=200,C="__lodash_hash_undefined__",k=1,A=2,S=9007199254740991,y="[object Arguments]",w="[object Array]",x="[object AsyncFunction]",T="[object Boolean]",j="[object Date]",D="[object Error]",N="[object Function]",F="[object GeneratorFunction]",B="[object Map]",U="[object Number]",J="[object Null]",$="[object Object]",X="[object Promise]",ee="[object Proxy]",ie="[object RegExp]",G="[object Set]",Q="[object String]",W="[object Symbol]",ne="[object Undefined]",te="[object WeakMap]",_e="[object ArrayBuffer]",he="[object DataView]",oe="[object Float32Array]",ge="[object Float64Array]",me="[object Int8Array]",Z="[object Int16Array]",xe="[object Int32Array]",Ee="[object Uint8Array]",Le="[object Uint8ClampedArray]",we="[object Uint16Array]",fe="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,Ke=/^\[object .+?Constructor\]$/,Me=/^(?:0|[1-9]\d*)$/,ze={};ze[oe]=ze[ge]=ze[me]=ze[Z]=ze[xe]=ze[Ee]=ze[Le]=ze[we]=ze[fe]=!0,ze[y]=ze[w]=ze[_e]=ze[T]=ze[he]=ze[j]=ze[D]=ze[N]=ze[B]=ze[U]=ze[$]=ze[ie]=ze[G]=ze[Q]=ze[te]=!1;var Ue=typeof E=="object"&&E&&E.Object===Object&&E,He=typeof self=="object"&&self&&self.Object===Object&&self,Ne=Ue||He||Function("return this")(),it=R&&!R.nodeType&&R,Xe=it&&typeof m=="object"&&m&&!m.nodeType&&m,ht=Xe&&Xe.exports===it,lt=ht&&Ue.process,Et=function(){try{return lt&&lt.binding&&lt.binding("util")}catch(Pn){}}(),tt=Et&&Et.isTypedArray;function mt(Pn,Kr){for(var Vn=-1,tr=Pn==null?0:Pn.length,Ea=0,Ja=[];++Vn<tr;){var go=Pn[Vn];Kr(go,Vn,Pn)&&(Ja[Ea++]=go)}return Ja}function xt(Pn,Kr){for(var Vn=-1,tr=Kr.length,Ea=Pn.length;++Vn<tr;)Pn[Ea+Vn]=Kr[Vn];return Pn}function Xt(Pn,Kr){for(var Vn=-1,tr=Pn==null?0:Pn.length;++Vn<tr;)if(Kr(Pn[Vn],Vn,Pn))return!0;return!1}function vt(Pn,Kr){for(var Vn=-1,tr=Array(Pn);++Vn<Pn;)tr[Vn]=Kr(Vn);return tr}function qe(Pn){return function(Kr){return Pn(Kr)}}function Re(Pn,Kr){return Pn.has(Kr)}function Se(Pn,Kr){return Pn==null?void 0:Pn[Kr]}function Ve(Pn){var Kr=-1,Vn=Array(Pn.size);return Pn.forEach(function(tr,Ea){Vn[++Kr]=[Ea,tr]}),Vn}function Ge(Pn,Kr){return function(Vn){return Pn(Kr(Vn))}}function _t(Pn){var Kr=-1,Vn=Array(Pn.size);return Pn.forEach(function(tr){Vn[++Kr]=tr}),Vn}var bt=Array.prototype,gt=Function.prototype,at=Object.prototype,ft=Ne["__core-js_shared__"],Fe=gt.toString,Te=at.hasOwnProperty,ut=function(){var Pn=/[^.]+$/.exec(ft&&ft.keys&&ft.keys.IE_PROTO||"");return Pn?"Symbol(src)_1."+Pn:""}(),le=at.toString,$e=RegExp("^"+Fe.call(Te).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qe=ht?Ne.Buffer:void 0,Tt=Ne.Symbol,Ot=Ne.Uint8Array,Ut=at.propertyIsEnumerable,At=bt.splice,Pt=Tt?Tt.toStringTag:void 0,Dt=Object.getOwnPropertySymbols,Qt=Qe?Qe.isBuffer:void 0,cn=Ge(Object.keys,Object),$n=ar(Ne,"DataView"),hn=ar(Ne,"Map"),_n=ar(Ne,"Promise"),bn=ar(Ne,"Set"),Bn=ar(Ne,"WeakMap"),Tn=ar(Object,"create"),Tr=Si($n),Sr=Si(hn),Wr=Si(_n),br=Si(bn),Wn=Si(Bn),gr=Tt?Tt.prototype:void 0,na=gr?gr.valueOf:void 0;function jn(Pn){var Kr=-1,Vn=Pn==null?0:Pn.length;for(this.clear();++Kr<Vn;){var tr=Pn[Kr];this.set(tr[0],tr[1])}}function un(){this.__data__=Tn?Tn(null):{},this.size=0}function zt(Pn){var Kr=this.has(Pn)&&delete this.__data__[Pn];return this.size-=Kr?1:0,Kr}function Bt(Pn){var Kr=this.__data__;if(Tn){var Vn=Kr[Pn];return Vn===C?void 0:Vn}return Te.call(Kr,Pn)?Kr[Pn]:void 0}function H(Pn){var Kr=this.__data__;return Tn?Kr[Pn]!==void 0:Te.call(Kr,Pn)}function ot(Pn,Kr){var Vn=this.__data__;return this.size+=this.has(Pn)?0:1,Vn[Pn]=Tn&&Kr===void 0?C:Kr,this}jn.prototype.clear=un,jn.prototype.delete=zt,jn.prototype.get=Bt,jn.prototype.has=H,jn.prototype.set=ot;function nt(Pn){var Kr=-1,Vn=Pn==null?0:Pn.length;for(this.clear();++Kr<Vn;){var tr=Pn[Kr];this.set(tr[0],tr[1])}}function Ct(){this.__data__=[],this.size=0}function Wt(Pn){var Kr=this.__data__,Vn=va(Kr,Pn);if(Vn<0)return!1;var tr=Kr.length-1;return Vn==tr?Kr.pop():At.call(Kr,Vn,1),--this.size,!0}function kn(Pn){var Kr=this.__data__,Vn=va(Kr,Pn);return Vn<0?void 0:Kr[Vn][1]}function Sn(Pn){return va(this.__data__,Pn)>-1}function Zn(Pn,Kr){var Vn=this.__data__,tr=va(Vn,Pn);return tr<0?(++this.size,Vn.push([Pn,Kr])):Vn[tr][1]=Kr,this}nt.prototype.clear=Ct,nt.prototype.delete=Wt,nt.prototype.get=kn,nt.prototype.has=Sn,nt.prototype.set=Zn;function Or(Pn){var Kr=-1,Vn=Pn==null?0:Pn.length;for(this.clear();++Kr<Vn;){var tr=Pn[Kr];this.set(tr[0],tr[1])}}function Yn(){this.size=0,this.__data__={hash:new jn,map:new(hn||nt),string:new jn}}function Nn(Pn){var Kr=Na(this,Pn).delete(Pn);return this.size-=Kr?1:0,Kr}function Zt(Pn){return Na(this,Pn).get(Pn)}function rr(Pn){return Na(this,Pn).has(Pn)}function Gn(Pn,Kr){var Vn=Na(this,Pn),tr=Vn.size;return Vn.set(Pn,Kr),this.size+=Vn.size==tr?0:1,this}Or.prototype.clear=Yn,Or.prototype.delete=Nn,Or.prototype.get=Zt,Or.prototype.has=rr,Or.prototype.set=Gn;function ln(Pn){var Kr=-1,Vn=Pn==null?0:Pn.length;for(this.__data__=new Or;++Kr<Vn;)this.add(Pn[Kr])}function Xn(Pn){return this.__data__.set(Pn,C),this}function Kn(Pn){return this.__data__.has(Pn)}ln.prototype.add=ln.prototype.push=Xn,ln.prototype.has=Kn;function fr(Pn){var Kr=this.__data__=new nt(Pn);this.size=Kr.size}function Hn(){this.__data__=new nt,this.size=0}function Sa(Pn){var Kr=this.__data__,Vn=Kr.delete(Pn);return this.size=Kr.size,Vn}function Lr(Pn){return this.__data__.get(Pn)}function Ca(Pn){return this.__data__.has(Pn)}function za(Pn,Kr){var Vn=this.__data__;if(Vn instanceof nt){var tr=Vn.__data__;if(!hn||tr.length<O-1)return tr.push([Pn,Kr]),this.size=++Vn.size,this;Vn=this.__data__=new Or(tr)}return Vn.set(Pn,Kr),this.size=Vn.size,this}fr.prototype.clear=Hn,fr.prototype.delete=Sa,fr.prototype.get=Lr,fr.prototype.has=Ca,fr.prototype.set=za;function Ma(Pn,Kr){var Vn=xo(Pn),tr=!Vn&&eo(Pn),Ea=!Vn&&!tr&&ba(Pn),Ja=!Vn&&!tr&&!Ea&&mr(Pn),go=Vn||tr||Ea||Ja,fi=go?vt(Pn.length,String):[],lo=fi.length;for(var Oi in Pn)(Kr||Te.call(Pn,Oi))&&!(go&&(Oi=="length"||Ea&&(Oi=="offset"||Oi=="parent")||Ja&&(Oi=="buffer"||Oi=="byteLength"||Oi=="byteOffset")||ui(Oi,lo)))&&fi.push(Oi);return fi}function va(Pn,Kr){for(var Vn=Pn.length;Vn--;)if(qi(Pn[Vn][0],Kr))return Vn;return-1}function qa(Pn,Kr,Vn){var tr=Kr(Pn);return xo(Pn)?tr:xt(tr,Vn(Pn))}function gi(Pn){return Pn==null?Pn===void 0?ne:J:Pt&&Pt in Object(Pn)?pi(Pn):Fi(Pn)}function Qi(Pn){return Rt(Pn)&&gi(Pn)==y}function mi(Pn,Kr,Vn,tr,Ea){return Pn===Kr?!0:Pn==null||Kr==null||!Rt(Pn)&&!Rt(Kr)?Pn!==Pn&&Kr!==Kr:Cr(Pn,Kr,Vn,tr,mi,Ea)}function Cr(Pn,Kr,Vn,tr,Ea,Ja){var go=xo(Pn),fi=xo(Kr),lo=go?w:ti(Pn),Oi=fi?w:ti(Kr);lo=lo==y?$:lo,Oi=Oi==y?$:Oi;var io=lo==$,Vi=Oi==$,vo=lo==Oi;if(vo&&ba(Pn)){if(!ba(Kr))return!1;go=!0,io=!1}if(vo&&!io)return Ja||(Ja=new fr),go||mr(Pn)?Ln(Pn,Kr,Vn,tr,Ea,Ja):kr(Pn,Kr,lo,Vn,tr,Ea,Ja);if(!(Vn&k)){var qo=io&&Te.call(Pn,"__wrapped__"),hs=Vi&&Te.call(Kr,"__wrapped__");if(qo||hs){var $t=qo?Pn.value():Pn,rt=hs?Kr.value():Kr;return Ja||(Ja=new fr),Ea($t,rt,Vn,tr,Ja)}}return vo?(Ja||(Ja=new fr),ea(Pn,Kr,Vn,tr,Ea,Ja)):!1}function Un(Pn){if(!xn(Pn)||ao(Pn))return!1;var Kr=Da(Pn)?$e:Ke;return Kr.test(Si(Pn))}function Lt(Pn){return Rt(Pn)&&On(Pn.length)&&!!ze[gi(Pn)]}function gn(Pn){if(!Zi(Pn))return cn(Pn);var Kr=[];for(var Vn in Object(Pn))Te.call(Pn,Vn)&&Vn!="constructor"&&Kr.push(Vn);return Kr}function Ln(Pn,Kr,Vn,tr,Ea,Ja){var go=Vn&k,fi=Pn.length,lo=Kr.length;if(fi!=lo&&!(go&&lo>fi))return!1;var Oi=Ja.get(Pn);if(Oi&&Ja.get(Kr))return Oi==Kr;var io=-1,Vi=!0,vo=Vn&A?new ln:void 0;for(Ja.set(Pn,Kr),Ja.set(Kr,Pn);++io<fi;){var qo=Pn[io],hs=Kr[io];if(tr)var $t=go?tr(hs,qo,io,Kr,Pn,Ja):tr(qo,hs,io,Pn,Kr,Ja);if($t!==void 0){if($t)continue;Vi=!1;break}if(vo){if(!Xt(Kr,function(rt,Vt){if(!Re(vo,Vt)&&(qo===rt||Ea(qo,rt,Vn,tr,Ja)))return vo.push(Vt)})){Vi=!1;break}}else if(!(qo===hs||Ea(qo,hs,Vn,tr,Ja))){Vi=!1;break}}return Ja.delete(Pn),Ja.delete(Kr),Vi}function kr(Pn,Kr,Vn,tr,Ea,Ja,go){switch(Vn){case he:if(Pn.byteLength!=Kr.byteLength||Pn.byteOffset!=Kr.byteOffset)return!1;Pn=Pn.buffer,Kr=Kr.buffer;case _e:return!(Pn.byteLength!=Kr.byteLength||!Ja(new Ot(Pn),new Ot(Kr)));case T:case j:case U:return qi(+Pn,+Kr);case D:return Pn.name==Kr.name&&Pn.message==Kr.message;case ie:case Q:return Pn==Kr+"";case B:var fi=Ve;case G:var lo=tr&k;if(fi||(fi=_t),Pn.size!=Kr.size&&!lo)return!1;var Oi=go.get(Pn);if(Oi)return Oi==Kr;tr|=A,go.set(Pn,Kr);var io=Ln(fi(Pn),fi(Kr),tr,Ea,Ja,go);return go.delete(Pn),io;case W:if(na)return na.call(Pn)==na.call(Kr)}return!1}function ea(Pn,Kr,Vn,tr,Ea,Ja){var go=Vn&k,fi=Qr(Pn),lo=fi.length,Oi=Qr(Kr),io=Oi.length;if(lo!=io&&!go)return!1;for(var Vi=lo;Vi--;){var vo=fi[Vi];if(!(go?vo in Kr:Te.call(Kr,vo)))return!1}var qo=Ja.get(Pn);if(qo&&Ja.get(Kr))return qo==Kr;var hs=!0;Ja.set(Pn,Kr),Ja.set(Kr,Pn);for(var $t=go;++Vi<lo;){vo=fi[Vi];var rt=Pn[vo],Vt=Kr[vo];if(tr)var tn=go?tr(Vt,rt,vo,Kr,Pn,Ja):tr(rt,Vt,vo,Pn,Kr,Ja);if(!(tn===void 0?rt===Vt||Ea(rt,Vt,Vn,tr,Ja):tn)){hs=!1;break}$t||($t=vo=="constructor")}if(hs&&!$t){var wn=Pn.constructor,qn=Kr.constructor;wn!=qn&&"constructor"in Pn&&"constructor"in Kr&&!(typeof wn=="function"&&wn instanceof wn&&typeof qn=="function"&&qn instanceof qn)&&(hs=!1)}return Ja.delete(Pn),Ja.delete(Kr),hs}function Qr(Pn){return qa(Pn,ta,_i)}function Na(Pn,Kr){var Vn=Pn.__data__;return Ri(Kr)?Vn[typeof Kr=="string"?"string":"hash"]:Vn.map}function ar(Pn,Kr){var Vn=Se(Pn,Kr);return Un(Vn)?Vn:void 0}function pi(Pn){var Kr=Te.call(Pn,Pt),Vn=Pn[Pt];try{Pn[Pt]=void 0;var tr=!0}catch(Ja){}var Ea=le.call(Pn);return tr&&(Kr?Pn[Pt]=Vn:delete Pn[Pt]),Ea}var _i=Dt?function(Pn){return Pn==null?[]:(Pn=Object(Pn),mt(Dt(Pn),function(Kr){return Ut.call(Pn,Kr)}))}:ma,ti=gi;($n&&ti(new $n(new ArrayBuffer(1)))!=he||hn&&ti(new hn)!=B||_n&&ti(_n.resolve())!=X||bn&&ti(new bn)!=G||Bn&&ti(new Bn)!=te)&&(ti=function(Kr){var Vn=gi(Kr),tr=Vn==$?Kr.constructor:void 0,Ea=tr?Si(tr):"";if(Ea)switch(Ea){case Tr:return he;case Sr:return B;case Wr:return X;case br:return G;case Wn:return te}return Vn});function ui(Pn,Kr){return Kr=Kr==null?S:Kr,!!Kr&&(typeof Pn=="number"||Me.test(Pn))&&Pn>-1&&Pn%1==0&&Pn<Kr}function Ri(Pn){var Kr=typeof Pn;return Kr=="string"||Kr=="number"||Kr=="symbol"||Kr=="boolean"?Pn!=="__proto__":Pn===null}function ao(Pn){return!!ut&&ut in Pn}function Zi(Pn){var Kr=Pn&&Pn.constructor,Vn=typeof Kr=="function"&&Kr.prototype||at;return Pn===Vn}function Fi(Pn){return le.call(Pn)}function Si(Pn){if(Pn!=null){try{return Fe.call(Pn)}catch(Kr){}try{return Pn+""}catch(Kr){}}return""}function qi(Pn,Kr){return Pn===Kr||Pn!==Pn&&Kr!==Kr}var eo=Qi(function(){return arguments}())?Qi:function(Pn){return Rt(Pn)&&Te.call(Pn,"callee")&&!Ut.call(Pn,"callee")},xo=Array.isArray;function cs(Pn){return Pn!=null&&On(Pn.length)&&!Da(Pn)}var ba=Qt||Oa;function sa(Pn,Kr){return mi(Pn,Kr)}function Da(Pn){if(!xn(Pn))return!1;var Kr=gi(Pn);return Kr==N||Kr==F||Kr==x||Kr==ee}function On(Pn){return typeof Pn=="number"&&Pn>-1&&Pn%1==0&&Pn<=S}function xn(Pn){var Kr=typeof Pn;return Pn!=null&&(Kr=="object"||Kr=="function")}function Rt(Pn){return Pn!=null&&typeof Pn=="object"}var mr=tt?qe(tt):Lt;function ta(Pn){return cs(Pn)?Ma(Pn):gn(Pn)}function ma(){return[]}function Oa(){return!1}m.exports=sa}).call(this,l("IyRk"),l("hOG+")(ce))},XadK:function(ce,R,l){},"Xf/b":function(ce,R,l){var E=l("MMxC"),m=l("AmH5"),O=l("eNh0");E({target:"Array",proto:!0},{copyWithin:m}),O("copyWithin")},Xi7e:function(ce,R,l){var E=l("KMkd"),m=l("adU4"),O=l("tMB7"),C=l("+6XX"),k=l("Z8oC");function A(S){var y=-1,w=S==null?0:S.length;for(this.clear();++y<w;){var x=S[y];this.set(x[0],x[1])}}A.prototype.clear=E,A.prototype.delete=m,A.prototype.get=O,A.prototype.has=C,A.prototype.set=k,ce.exports=A},Xn8V:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("ukPv"),O=l("29mP"),C=l("Zcjx"),k=l("tny8"),A=l("Fs9M"),S=l("wgKq"),y=l("MVys"),w=l("jtLI"),x=l("Un+d"),T=l("tSXo"),j=l("f1E4"),D=l("cTDu"),N=l("0qr0"),F=l("gFfw"),B=l("HhvW"),U=l("u+7+"),J=l("P0e2"),$=l("uGHk"),X=l("IGnA"),ee=l("kyO0"),ie=l("g8rt"),G=l("YfKC"),Q=l("e3V2"),W=l("lz10"),ne=l("NMFW"),te=l("xxaU"),_e=l("CjUg"),he=l("6ixQ"),oe=l("evbn"),ge=l("2kyd"),me=l("IjB0"),Z=l("I65O"),xe=l("kiNa"),Ee=l("1aI8"),Le=l("zv1X").forEach,we=_e("hidden"),fe="Symbol",pe="prototype",Ke=ge("toPrimitive"),Me=Ee.set,ze=Ee.getterFor(fe),Ue=Object[pe],He=m.Symbol,Ne=O("JSON","stringify"),it=ie.f,Xe=G.f,ht=X.f,lt=Q.f,Et=te("symbols"),tt=te("op-symbols"),mt=te("string-to-symbol-registry"),xt=te("symbol-to-string-registry"),Xt=te("wks"),vt=m.QObject,qe=!vt||!vt[pe]||!vt[pe].findChild,Re=k&&y(function(){return U(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!=7})?function(ut,le,$e){var Qe=it(Ue,le);Qe&&delete Ue[le],Xe(ut,le,$e),Qe&&ut!==Ue&&Xe(Ue,le,Qe)}:Xe,Se=function(ut,le){var $e=Et[ut]=U(He[pe]);return Me($e,{type:fe,tag:ut,description:le}),k||($e.description=le),$e},Ve=S?function(ut){return typeof ut=="symbol"}:function(ut){return Object(ut)instanceof He},Ge=function(le,$e,Qe){le===Ue&&Ge(tt,$e,Qe),j(le);var Tt=F($e,!0);return j(Qe),w(Et,Tt)?(Qe.enumerable?(w(le,we)&&le[we][Tt]&&(le[we][Tt]=!1),Qe=U(Qe,{enumerable:B(0,!1)})):(w(le,we)||Xe(le,we,B(1,{})),le[we][Tt]=!0),Re(le,Tt,Qe)):Xe(le,Tt,Qe)},_t=function(le,$e){j(le);var Qe=N($e),Tt=J(Qe).concat(Fe(Qe));return Le(Tt,function(Ot){(!k||gt.call(Qe,Ot))&&Ge(le,Ot,Qe[Ot])}),le},bt=function(le,$e){return $e===void 0?U(le):_t(U(le),$e)},gt=function(le){var $e=F(le,!0),Qe=lt.call(this,$e);return this===Ue&&w(Et,$e)&&!w(tt,$e)?!1:Qe||!w(this,$e)||!w(Et,$e)||w(this,we)&&this[we][$e]?Qe:!0},at=function(le,$e){var Qe=N(le),Tt=F($e,!0);if(!(Qe===Ue&&w(Et,Tt)&&!w(tt,Tt))){var Ot=it(Qe,Tt);return Ot&&w(Et,Tt)&&!(w(Qe,we)&&Qe[we][Tt])&&(Ot.enumerable=!0),Ot}},ft=function(le){var $e=ht(N(le)),Qe=[];return Le($e,function(Tt){!w(Et,Tt)&&!w(he,Tt)&&Qe.push(Tt)}),Qe},Fe=function(le){var $e=le===Ue,Qe=ht($e?tt:N(le)),Tt=[];return Le(Qe,function(Ot){w(Et,Ot)&&(!$e||w(Ue,Ot))&&Tt.push(Et[Ot])}),Tt};if(A||(He=function(){if(this instanceof He)throw TypeError("Symbol is not a constructor");var le=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),$e=oe(le),Qe=function(Tt){this===Ue&&Qe.call(tt,Tt),w(this,we)&&w(this[we],$e)&&(this[we][$e]=!1),Re(this,$e,B(1,Tt))};return k&&qe&&Re(Ue,$e,{configurable:!0,set:Qe}),Se($e,le)},ne(He[pe],"toString",function(){return ze(this).tag}),ne(He,"withoutSetter",function(ut){return Se(oe(ut),ut)}),Q.f=gt,G.f=Ge,ie.f=at,$.f=X.f=ft,ee.f=Fe,me.f=function(ut){return Se(ge(ut),ut)},k&&(Xe(He[pe],"description",{configurable:!0,get:function(){return ze(this).description}}),C||ne(Ue,"propertyIsEnumerable",gt,{unsafe:!0}))),E({global:!0,wrap:!0,forced:!A,sham:!A},{Symbol:He}),Le(J(Xt),function(ut){Z(ut)}),E({target:fe,stat:!0,forced:!A},{for:function(ut){var le=String(ut);if(w(mt,le))return mt[le];var $e=He(le);return mt[le]=$e,xt[$e]=le,$e},keyFor:function(le){if(!Ve(le))throw TypeError(le+" is not a symbol");if(w(xt,le))return xt[le]},useSetter:function(){qe=!0},useSimple:function(){qe=!1}}),E({target:"Object",stat:!0,forced:!A,sham:!k},{create:bt,defineProperty:Ge,defineProperties:_t,getOwnPropertyDescriptor:at}),E({target:"Object",stat:!0,forced:!A},{getOwnPropertyNames:ft,getOwnPropertySymbols:Fe}),E({target:"Object",stat:!0,forced:y(function(){ee.f(1)})},{getOwnPropertySymbols:function(le){return ee.f(D(le))}}),Ne){var Te=!A||y(function(){var ut=He();return Ne([ut])!="[null]"||Ne({a:ut})!="{}"||Ne(Object(ut))!="{}"});E({target:"JSON",stat:!0,forced:Te},{stringify:function(le,$e,Qe){for(var Tt=[le],Ot=1,Ut;arguments.length>Ot;)Tt.push(arguments[Ot++]);if(Ut=$e,!(!T($e)&&le===void 0||Ve(le)))return x($e)||($e=function(At,Pt){if(typeof Ut=="function"&&(Pt=Ut.call(this,At,Pt)),!Ve(Pt))return Pt}),Tt[1]=$e,Ne.apply(null,Tt)}})}He[pe][Ke]||W(He[pe],Ke,He[pe].valueOf),xe(He,fe),he[we]=!0},XqMk:function(ce,R,l){"use strict";(function(E){var m=typeof E=="object"&&E&&E.Object===Object&&E;R.a=m}).call(this,l("IyRk"))},XsNG:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=l("q1tI"),m=(0,E.createContext)(void 0),O=m;R.default=O},"Xt/L":function(ce,R){function l(E,m,O){for(var C=-1,k=E==null?0:E.length;++C<k;)if(O(m,E[C]))return!0;return!1}ce.exports=l},XwhL:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=function(){function J($,X){for(var ee=0;ee<X.length;ee++){var ie=X[ee];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty($,ie.key,ie)}}return function($,X,ee){return X&&J($.prototype,X),ee&&J($,ee),$}}(),m=D([`
background: #000;
opacity: 0.2;
z-index: 1;
box-sizing: border-box;
background-clip: padding-box;
:hover {
transition: all 2s ease;
}
`],[`
background: #000;
opacity: 0.2;
z-index: 1;
box-sizing: border-box;
background-clip: padding-box;
:hover {
transition: all 2s ease;
}
`]),O=D([`
height: 11px;
margin: -5px 0;
border-top: 5px solid rgba(255, 255, 255, 0);
border-bottom: 5px solid rgba(255, 255, 255, 0);
cursor: row-resize;
width: 100%;
:hover {
border-top: 5px solid rgba(0, 0, 0, 0.5);
border-bottom: 5px solid rgba(0, 0, 0, 0.5);
}
.disabled {
cursor: not-allowed;
}
.disabled:hover {
border-color: transparent;
}
`],[`
height: 11px;
margin: -5px 0;
border-top: 5px solid rgba(255, 255, 255, 0);
border-bottom: 5px solid rgba(255, 255, 255, 0);
cursor: row-resize;
width: 100%;
:hover {
border-top: 5px solid rgba(0, 0, 0, 0.5);
border-bottom: 5px solid rgba(0, 0, 0, 0.5);
}
.disabled {
cursor: not-allowed;
}
.disabled:hover {
border-color: transparent;
}
`]),C=D([`
width: 11px;
margin: 0 -5px;
border-left: 5px solid rgba(255, 255, 255, 0);
border-right: 5px solid rgba(255, 255, 255, 0);
cursor: col-resize;
:hover {
border-left: 5px solid rgba(0, 0, 0, 0.5);
border-right: 5px solid rgba(0, 0, 0, 0.5);
}
.disabled {
cursor: not-allowed;
}
.disabled:hover {
border-color: transparent;
}
`],[`
width: 11px;
margin: 0 -5px;
border-left: 5px solid rgba(255, 255, 255, 0);
border-right: 5px solid rgba(255, 255, 255, 0);
cursor: col-resize;
:hover {
border-left: 5px solid rgba(0, 0, 0, 0.5);
border-right: 5px solid rgba(0, 0, 0, 0.5);
}
.disabled {
cursor: not-allowed;
}
.disabled:hover {
border-color: transparent;
}
`]),k=l("q1tI"),A=w(k),S=l("fMHQ"),y=w(S);function w(J){return J&&J.__esModule?J:{default:J}}function x(J,$){if(!(J instanceof $))throw new TypeError("Cannot call a class as a function")}function T(J,$){if(!J)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:J}function j(J,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);J.prototype=Object.create($&&$.prototype,{constructor:{value:J,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(J,$):J.__proto__=$)}function D(J,$){return Object.freeze(Object.defineProperties(J,{raw:{value:Object.freeze($)}}))}var N=y.default.div(m),F=(0,y.default)(N)(O),B=(0,y.default)(N)(C),U=function(J){j($,J);function $(){return x(this,$),T(this,($.__proto__||Object.getPrototypeOf($)).apply(this,arguments))}return E($,[{key:"render",value:function(){var ee=this,ie=this.props,G=ie.index,Q=ie.split,W=Q===void 0?"vertical":Q,ne=ie.onClick,te=ne===void 0?function(){}:ne,_e=ie.onDoubleClick,he=_e===void 0?function(){}:_e,oe=ie.onMouseDown,ge=oe===void 0?function(){}:oe,me=ie.onTouchEnd,Z=me===void 0?function(){}:me,xe=ie.onTouchStart,Ee=xe===void 0?function(){}:xe,Le={ref:function(fe){return ee.resizer=fe},"data-attribute":W,"data-type":"Resizer",onMouseDown:function(fe){return ge(fe,G)},onTouchStart:function(fe){fe.preventDefault(),Ee(fe,G)},onTouchEnd:function(fe){fe.preventDefault(),Z(fe,G)},onClick:function(fe){te&&(fe.preventDefault(),te(fe,G))},onDoubleClick:function(fe){he&&(fe.preventDefault(),he(fe,G))}};return W==="vertical"?A.default.createElement(B,Le):A.default.createElement(F,Le)}}]),$}(k.Component);R.default=U,ce.exports=R.default},"Xxk+":function(ce,R,l){var E=l("MMxC"),m=l("aF2d");E({target:"WeakSet",stat:!0},{from:m})},"Y+p1":function(ce,R,l){var E=l("wF/u");function m(O,C){return E(O,C)}ce.exports=m},Y1PL:function(ce,R,l){"use strict";var E=l("wx14"),m=l("1OyB"),O=l("vuIU"),C=l("Ji7U"),k=l("LK+K"),A=l("q1tI"),S=l("rePB"),y=l("VTBJ"),w=l("U8pU"),x=l("ODXe"),T=l("Ff2n"),j=l("t23M");function D(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var N=D()?A.useLayoutEffect:A.useEffect,F=function(it,Xe){var ht=A.useRef(!0);N(function(){return it(ht.current)},Xe),N(function(){return ht.current=!1,function(){ht.current=!0}},[])},B=function(it,Xe){F(function(ht){if(!ht)return it()},Xe)},U=F,J=function(it){return+setTimeout(it,16)},$=function(it){return clearTimeout(it)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(J=function(it){return window.requestAnimationFrame(it)},$=function(it){return window.cancelAnimationFrame(it)});var X=0,ee=new Map;function ie(Ne){ee.delete(Ne)}var G=function(it){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;X+=1;var ht=X;function lt(Et){if(Et===0)ie(ht),it();else{var tt=J(function(){lt(Et-1)});ee.set(ht,tt)}}return lt(Xe),ht};G.cancel=function(Ne){var it=ee.get(Ne);return ie(it),$(it)};var Q=G;function W(Ne){var it=A.useRef();it.current=Ne;var Xe=A.useCallback(function(){for(var ht,lt=arguments.length,Et=new Array(lt),tt=0;tt<lt;tt++)Et[tt]=arguments[tt];return(ht=it.current)===null||ht===void 0?void 0:ht.call.apply(ht,[it].concat(Et))},[]);return Xe}function ne(Ne){var it=A.useRef(!1),Xe=A.useState(Ne),ht=Object(x.a)(Xe,2),lt=ht[0],Et=ht[1];A.useEffect(function(){return it.current=!1,function(){it.current=!0}},[]);function tt(mt,xt){xt&&it.current||Et(mt)}return[lt,tt]}function te(Ne){return Ne!==void 0}function _e(Ne,it){var Xe=it||{},ht=Xe.defaultValue,lt=Xe.value,Et=Xe.onChange,tt=Xe.postState,mt=ne(function(){return te(lt)?lt:te(ht)?typeof ht=="function"?ht():ht:typeof Ne=="function"?Ne():Ne}),xt=Object(x.a)(mt,2),Xt=xt[0],vt=xt[1],qe=lt!==void 0?lt:Xt,Re=tt?tt(qe):qe,Se=W(Et),Ve=ne([qe]),Ge=Object(x.a)(Ve,2),_t=Ge[0],bt=Ge[1];B(function(){var at=_t[0];Xt!==at&&Se(Xt,at)},[_t]),B(function(){te(lt)||vt(lt)},[lt]);var gt=W(function(at,ft){vt(at,ft),bt([qe],ft)});return[Re,gt]}var he=l("TSYQ"),oe=l.n(he),ge=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,me=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],Z={},xe;function Ee(Ne){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=Ne.getAttribute("id")||Ne.getAttribute("data-reactid")||Ne.getAttribute("name");if(it&&Z[Xe])return Z[Xe];var ht=window.getComputedStyle(Ne),lt=ht.getPropertyValue("box-sizing")||ht.getPropertyValue("-moz-box-sizing")||ht.getPropertyValue("-webkit-box-sizing"),Et=parseFloat(ht.getPropertyValue("padding-bottom"))+parseFloat(ht.getPropertyValue("padding-top")),tt=parseFloat(ht.getPropertyValue("border-bottom-width"))+parseFloat(ht.getPropertyValue("border-top-width")),mt=me.map(function(Xt){return"".concat(Xt,":").concat(ht.getPropertyValue(Xt))}).join(";"),xt={sizingStyle:mt,paddingSize:Et,borderSize:tt,boxSizing:lt};return it&&Xe&&(Z[Xe]=xt),xt}function Le(Ne){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;xe||(xe=document.createElement("textarea"),xe.setAttribute("tab-index","-1"),xe.setAttribute("aria-hidden","true"),document.body.appendChild(xe)),Ne.getAttribute("wrap")?xe.setAttribute("wrap",Ne.getAttribute("wrap")):xe.removeAttribute("wrap");var lt=Ee(Ne,it),Et=lt.paddingSize,tt=lt.borderSize,mt=lt.boxSizing,xt=lt.sizingStyle;xe.setAttribute("style","".concat(xt,";").concat(ge)),xe.value=Ne.value||Ne.placeholder||"";var Xt=void 0,vt=void 0,qe,Re=xe.scrollHeight;if(mt==="border-box"?Re+=tt:mt==="content-box"&&(Re-=Et),Xe!==null||ht!==null){xe.value=" ";var Se=xe.scrollHeight-Et;Xe!==null&&(Xt=Se*Xe,mt==="border-box"&&(Xt=Xt+Et+tt),Re=Math.max(Xt,Re)),ht!==null&&(vt=Se*ht,mt==="border-box"&&(vt=vt+Et+tt),qe=Re>vt?"":"hidden",Re=Math.min(vt,Re))}var Ve={height:Re,overflowY:qe,resize:"none"};return Xt&&(Ve.minHeight=Xt),vt&&(Ve.maxHeight=vt),Ve}var we=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],fe=0,pe=1,Ke=2,Me=A.forwardRef(function(Ne,it){var Xe=Ne.prefixCls,ht=Xe===void 0?"rc-textarea":Xe,lt=Ne.onPressEnter,Et=Ne.defaultValue,tt=Ne.value,mt=Ne.autoSize,xt=Ne.onResize,Xt=Ne.className,vt=Ne.style,qe=Ne.disabled,Re=Ne.onChange,Se=Ne.onInternalAutoSize,Ve=Object(T.a)(Ne,we),Ge=_e(Et,{value:tt,postState:function(Sr){return Sr!=null?Sr:""}}),_t=Object(x.a)(Ge,2),bt=_t[0],gt=_t[1],at=function(Sr){gt(Sr.target.value),Re==null||Re(Sr)},ft=A.useRef();A.useImperativeHandle(it,function(){return{textArea:ft.current}});var Fe=A.useMemo(function(){return mt&&Object(w.a)(mt)==="object"?[mt.minRows,mt.maxRows]:[]},[mt]),Te=Object(x.a)(Fe,2),ut=Te[0],le=Te[1],$e=!!mt,Qe=function(){try{if(document.activeElement===ft.current){var Sr=ft.current,Wr=Sr.selectionStart,br=Sr.selectionEnd,Wn=Sr.scrollTop;ft.current.setSelectionRange(Wr,br),ft.current.scrollTop=Wn}}catch(gr){}},Tt=A.useState(Ke),Ot=Object(x.a)(Tt,2),Ut=Ot[0],At=Ot[1],Pt=A.useState(),Dt=Object(x.a)(Pt,2),Qt=Dt[0],cn=Dt[1],$n=function(){At(fe)};U(function(){$e&&$n()},[tt,ut,le,$e]),U(function(){if(Ut===fe)At(pe);else if(Ut===pe){var Tr=Le(ft.current,!1,ut,le);At(Ke),cn(Tr)}else Qe()},[Ut]);var hn=A.useRef(),_n=function(){Q.cancel(hn.current)},bn=function(Sr){Ut===Ke&&(xt==null||xt(Sr),mt&&(_n(),hn.current=Q(function(){$n()})))};A.useEffect(function(){return _n},[]);var Bn=$e?Qt:null,Tn=Object(y.a)(Object(y.a)({},vt),Bn);return(Ut===fe||Ut===pe)&&(Tn.overflowY="hidden",Tn.overflowX="hidden"),A.createElement(j.a,{onResize:bn,disabled:!(mt||xt)},A.createElement("textarea",Object(E.a)({},Ve,{ref:ft,style:Tn,className:oe()(ht,Xt,Object(S.a)({},"".concat(ht,"-disabled"),qe)),disabled:qe,value:bt,onChange:at})))}),ze=Me,Ue=function(Ne){Object(C.a)(Xe,Ne);var it=Object(k.a)(Xe);function Xe(ht){var lt;Object(m.a)(this,Xe),lt=it.call(this,ht),lt.resizableTextArea=void 0,lt.focus=function(){lt.resizableTextArea.textArea.focus()},lt.saveTextArea=function(tt){lt.resizableTextArea=tt},lt.handleChange=function(tt){var mt=lt.props.onChange;lt.setValue(tt.target.value),mt&&mt(tt)},lt.handleKeyDown=function(tt){var mt=lt.props,xt=mt.onPressEnter,Xt=mt.onKeyDown;tt.keyCode===13&&xt&&xt(tt),Xt&&Xt(tt)};var Et=typeof ht.value=="undefined"||ht.value===null?ht.defaultValue:ht.value;return lt.state={value:Et},lt}return Object(O.a)(Xe,[{key:"setValue",value:function(lt,Et){"value"in this.props||this.setState({value:lt},Et)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return A.createElement(ze,Object(E.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(lt){return"value"in lt?{value:lt.value}:null}}]),Xe}(A.Component),He=R.a=Ue},Y3g6:function(ce,R,l){var E=l("f1E4");ce.exports=function(m,O,C,k){try{return k?O(E(C)[0],C[1]):O(C)}catch(S){var A=m.return;throw A!==void 0&&E(A.call(m)),S}}},Y79o:function(ce,R,l){},YBTB:function(ce,R,l){},YESw:function(ce,R,l){var E=l("Cwc5"),m=E(Object,"create");ce.exports=m},YJpY:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("hKmx"),O=l("cTDu"),C=l("oa35"),k=l("cT1L"),A=l("nMuc");E({target:"Array",proto:!0},{flatMap:function(y){var w=O(this),x=C(w.length),T;return k(y),T=A(w,0),T.length=m(T,w,w,x,0,1,y,arguments.length>1?arguments[1]:void 0),T}})},YMnH:function(ce,R,l){"use strict";l.d(R,"b",function(){return y});var E=l("wx14"),m=l("q1tI"),O=l("YlG9"),C=l("ZvpZ"),k=C.a,A=function(x){var T=x.componentName,j=T===void 0?"global":T,D=x.defaultLocale,N=x.children,F=m.useContext(O.a),B=m.useMemo(function(){var J,$=D||k[j],X=(J=F==null?void 0:F[j])!==null&&J!==void 0?J:{};return Object(E.a)(Object(E.a)({},$ instanceof Function?$():$),X||{})},[j,D,F]),U=m.useMemo(function(){var J=F&&F.locale;return F&&F.exist&&!J?k.locale:J},[F]);return N(B,U,F)},S=R.a=A,y=function(x,T){var j=m.useContext(O.a),D=m.useMemo(function(){var N,F=T||k[x],B=(N=j==null?void 0:j[x])!==null&&N!==void 0?N:{};return Object(E.a)(Object(E.a)({},typeof F=="function"?F():F),B||{})},[x,T,j]);return[D]}},YMoz:function(ce,R){ce.exports=Math.scale||function(E,m,O,C,k){return arguments.length===0||E!=E||m!=m||O!=O||C!=C||k!=k?NaN:E===Infinity||E===-Infinity?E:(E-m)*(k-C)/(O-m)+C}},YO3V:function(ce,R,l){var E=l("NykK"),m=l("LcsW"),O=l("ExA7"),C="[object Object]",k=Function.prototype,A=Object.prototype,S=k.toString,y=A.hasOwnProperty,w=S.call(Object);function x(T){if(!O(T)||E(T)!=C)return!1;var j=m(T);if(j===null)return!0;var D=y.call(j,"constructor")&&j.constructor;return typeof D=="function"&&D instanceof D&&S.call(D)==w}ce.exports=x},YO3e:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.handleFocus=void 0;var E=Object.assign||function(x){for(var T=1;T<arguments.length;T++){var j=arguments[T];for(var D in j)Object.prototype.hasOwnProperty.call(j,D)&&(x[D]=j[D])}return x},m=function(){function x(T,j){for(var D=0;D<j.length;D++){var N=j[D];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(T,N.key,N)}}return function(T,j,D){return j&&x(T.prototype,j),D&&x(T,D),T}}(),O=l("q1tI"),C=k(O);function k(x){return x&&x.__esModule?x:{default:x}}function A(x,T){if(!(x instanceof T))throw new TypeError("Cannot call a class as a function")}function S(x,T){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:x}function y(x,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);x.prototype=Object.create(T&&T.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(x,T):x.__proto__=T)}var w=R.handleFocus=function(T){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(D){y(N,D);function N(){var F,B,U,J;A(this,N);for(var $=arguments.length,X=Array($),ee=0;ee<$;ee++)X[ee]=arguments[ee];return J=(B=(U=S(this,(F=N.__proto__||Object.getPrototypeOf(N)).call.apply(F,[this].concat(X))),U),U.state={focus:!1},U.handleFocus=function(){return U.setState({focus:!0})},U.handleBlur=function(){return U.setState({focus:!1})},B),S(U,J)}return m(N,[{key:"render",value:function(){return C.default.createElement(j,{onFocus:this.handleFocus,onBlur:this.handleBlur},C.default.createElement(T,E({},this.props,this.state)))}}]),N}(C.default.Component)}},YON3:function(ce,R,l){var E=l("tSXo"),m=l("UwrT"),O=l("2kyd"),C=O("match");ce.exports=function(k){var A;return E(k)&&((A=k[C])!==void 0?!!A:m(k)=="RegExp")}},YPDd:function(ce,R,l){},YS25:function(ce,R,l){"use strict";l.d(R,"a",function(){return ge}),l.d(R,"b",function(){return fe}),l.d(R,"d",function(){return Ke}),l.d(R,"c",function(){return $}),l.d(R,"f",function(){return X}),l.d(R,"e",function(){return J});var E=l("wx14");function m(Me){return Me.charAt(0)==="/"}function O(Me,ze){for(var Ue=ze,He=Ue+1,Ne=Me.length;He<Ne;Ue+=1,He+=1)Me[Ue]=Me[He];Me.pop()}function C(Me,ze){ze===void 0&&(ze="");var Ue=Me&&Me.split("/")||[],He=ze&&ze.split("/")||[],Ne=Me&&m(Me),it=ze&&m(ze),Xe=Ne||it;if(Me&&m(Me)?He=Ue:Ue.length&&(He.pop(),He=He.concat(Ue)),!He.length)return"/";var ht;if(He.length){var lt=He[He.length-1];ht=lt==="."||lt===".."||lt===""}else ht=!1;for(var Et=0,tt=He.length;tt>=0;tt--){var mt=He[tt];mt==="."?O(He,tt):mt===".."?(O(He,tt),Et++):Et&&(O(He,tt),Et--)}if(!Xe)for(;Et--;Et)He.unshift("..");Xe&&He[0]!==""&&(!He[0]||!m(He[0]))&&He.unshift("");var xt=He.join("/");return ht&&xt.substr(-1)!=="/"&&(xt+="/"),xt}var k=C;function A(Me){return Me.valueOf?Me.valueOf():Object.prototype.valueOf.call(Me)}function S(Me,ze){if(Me===ze)return!0;if(Me==null||ze==null)return!1;if(Array.isArray(Me))return Array.isArray(ze)&&Me.length===ze.length&&Me.every(function(Ne,it){return S(Ne,ze[it])});if(typeof Me=="object"||typeof ze=="object"){var Ue=A(Me),He=A(ze);return Ue!==Me||He!==ze?S(Ue,He):Object.keys(Object.assign({},Me,ze)).every(function(Ne){return S(Me[Ne],ze[Ne])})}return!1}var y=S,w=l("cr+I"),x=l.n(w),T=l("9R94");function j(Me){return Me.charAt(0)==="/"?Me:"/"+Me}function D(Me){return Me.charAt(0)==="/"?Me.substr(1):Me}function N(Me,ze){return Me.toLowerCase().indexOf(ze.toLowerCase())===0&&"/?#".indexOf(Me.charAt(ze.length))!==-1}function F(Me,ze){return N(Me,ze)?Me.substr(ze.length):Me}function B(Me){return Me.charAt(Me.length-1)==="/"?Me.slice(0,-1):Me}function U(Me){var ze=Me||"/",Ue="",He="",Ne=ze.indexOf("#");Ne!==-1&&(He=ze.substr(Ne),ze=ze.substr(0,Ne));var it=ze.indexOf("?");return it!==-1&&(Ue=ze.substr(it),ze=ze.substr(0,it)),{pathname:ze,search:Ue==="?"?"":Ue,hash:He==="#"?"":He}}function J(Me){var ze=Me.pathname,Ue=Me.search,He=Me.hash,Ne=ze||"/";return Ue&&Ue!=="?"&&(Ne+=Ue.charAt(0)==="?"?Ue:"?"+Ue),He&&He!=="#"&&(Ne+=He.charAt(0)==="#"?He:"#"+He),Ne}function $(Me,ze,Ue,He){var Ne;typeof Me=="string"?(Ne=U(Me),Ne.query=Ne.search?x.a.parse(Ne.search):{},Ne.state=ze):(Ne=Object(E.a)({},Me),Ne.pathname===void 0&&(Ne.pathname=""),Ne.search?(Ne.search.charAt(0)!=="?"&&(Ne.search="?"+Ne.search),Ne.query=x.a.parse(Ne.search)):(Ne.search=Ne.query?x.a.stringify(Ne.query):"",Ne.query=Ne.query||{}),Ne.hash?Ne.hash.charAt(0)!=="#"&&(Ne.hash="#"+Ne.hash):Ne.hash="",ze!==void 0&&Ne.state===void 0&&(Ne.state=ze));try{Ne.pathname=decodeURI(Ne.pathname)}catch(it){throw it instanceof URIError?new URIError('Pathname "'+Ne.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):it}return Ue&&(Ne.key=Ue),He?Ne.pathname?Ne.pathname.charAt(0)!=="/"&&(Ne.pathname=k(Ne.pathname,He.pathname)):Ne.pathname=He.pathname:Ne.pathname||(Ne.pathname="/"),Ne}function X(Me,ze){return Me.pathname===ze.pathname&&Me.search===ze.search&&Me.hash===ze.hash&&Me.key===ze.key&&y(Me.state,ze.state)}function ee(){var Me=null;function ze(Xe){return Me=Xe,function(){Me===Xe&&(Me=null)}}function Ue(Xe,ht,lt,Et){if(Me!=null){var tt=typeof Me=="function"?Me(Xe,ht):Me;typeof tt=="string"?typeof lt=="function"?lt(tt,Et):Et(!0):Et(tt!==!1)}else Et(!0)}var He=[];function Ne(Xe){var ht=!0;function lt(){ht&&Xe.apply(void 0,arguments)}return He.push(lt),function(){ht=!1,He=He.filter(function(Et){return Et!==lt})}}function it(){for(var Xe=arguments.length,ht=new Array(Xe),lt=0;lt<Xe;lt++)ht[lt]=arguments[lt];He.forEach(function(Et){return Et.apply(void 0,ht)})}return{setPrompt:ze,confirmTransitionTo:Ue,appendListener:Ne,notifyListeners:it}}var ie=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function G(Me,ze){ze(window.confirm(Me))}function Q(){var Me=window.navigator.userAgent;return(Me.indexOf("Android 2.")!==-1||Me.indexOf("Android 4.0")!==-1)&&Me.indexOf("Mobile Safari")!==-1&&Me.indexOf("Chrome")===-1&&Me.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function W(){return window.navigator.userAgent.indexOf("Trident")===-1}function ne(){return window.navigator.userAgent.indexOf("Firefox")===-1}function te(Me){return Me.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var _e="popstate",he="hashchange";function oe(){try{return window.history.state||{}}catch(Me){return{}}}function ge(Me){Me===void 0&&(Me={}),ie||Object(T.a)(!1);var ze=window.history,Ue=Q(),He=!W(),Ne=Me,it=Ne.forceRefresh,Xe=it===void 0?!1:it,ht=Ne.getUserConfirmation,lt=ht===void 0?G:ht,Et=Ne.keyLength,tt=Et===void 0?6:Et,mt=Me.basename?B(j(Me.basename)):"";function xt(Pt){var Dt=Pt||{},Qt=Dt.key,cn=Dt.state,$n=window.location,hn=$n.pathname,_n=$n.search,bn=$n.hash,Bn=hn+_n+bn;return mt&&(Bn=F(Bn,mt)),$(Bn,cn,Qt)}function Xt(){return Math.random().toString(36).substr(2,tt)}var vt=ee();function qe(Pt){Object(E.a)(At,Pt),At.length=ze.length,vt.notifyListeners(At.location,At.action)}function Re(Pt){te(Pt)||Ge(xt(Pt.state))}function Se(){Ge(xt(oe()))}var Ve=!1;function Ge(Pt){if(Ve)Ve=!1,qe();else{var Dt="POP";vt.confirmTransitionTo(Pt,Dt,lt,function(Qt){Qt?qe({action:Dt,location:Pt}):_t(Pt)})}}function _t(Pt){var Dt=At.location,Qt=gt.indexOf(Dt.key);Qt===-1&&(Qt=0);var cn=gt.indexOf(Pt.key);cn===-1&&(cn=0);var $n=Qt-cn;$n&&(Ve=!0,Te($n))}var bt=xt(oe()),gt=[bt.key];function at(Pt){return mt+J(Pt)}function ft(Pt,Dt){var Qt="PUSH",cn=$(Pt,Dt,Xt(),At.location);vt.confirmTransitionTo(cn,Qt,lt,function($n){if(!!$n){var hn=at(cn),_n=cn.key,bn=cn.state;if(Ue)if(ze.pushState({key:_n,state:bn},null,hn),Xe)window.location.href=hn;else{var Bn=gt.indexOf(At.location.key),Tn=gt.slice(0,Bn+1);Tn.push(cn.key),gt=Tn,qe({action:Qt,location:cn})}else window.location.href=hn}})}function Fe(Pt,Dt){var Qt="REPLACE",cn=$(Pt,Dt,Xt(),At.location);vt.confirmTransitionTo(cn,Qt,lt,function($n){if(!!$n){var hn=at(cn),_n=cn.key,bn=cn.state;if(Ue)if(ze.replaceState({key:_n,state:bn},null,hn),Xe)window.location.replace(hn);else{var Bn=gt.indexOf(At.location.key);Bn!==-1&&(gt[Bn]=cn.key),qe({action:Qt,location:cn})}else window.location.replace(hn)}})}function Te(Pt){ze.go(Pt)}function ut(){Te(-1)}function le(){Te(1)}var $e=0;function Qe(Pt){$e+=Pt,$e===1&&Pt===1?(window.addEventListener(_e,Re),He&&window.addEventListener(he,Se)):$e===0&&(window.removeEventListener(_e,Re),He&&window.removeEventListener(he,Se))}var Tt=!1;function Ot(Pt){Pt===void 0&&(Pt=!1);var Dt=vt.setPrompt(Pt);return Tt||(Qe(1),Tt=!0),function(){return Tt&&(Tt=!1,Qe(-1)),Dt()}}function Ut(Pt){var Dt=vt.appendListener(Pt);return Qe(1),function(){Qe(-1),Dt()}}var At={length:ze.length,action:"POP",location:bt,createHref:at,push:ft,replace:Fe,go:Te,goBack:ut,goForward:le,block:Ot,listen:Ut};return At}var me="hashchange",Z={hashbang:{encodePath:function(ze){return ze.charAt(0)==="!"?ze:"!/"+D(ze)},decodePath:function(ze){return ze.charAt(0)==="!"?ze.substr(1):ze}},noslash:{encodePath:D,decodePath:j},slash:{encodePath:j,decodePath:j}};function xe(Me){var ze=Me.indexOf("#");return ze===-1?Me:Me.slice(0,ze)}function Ee(){var Me=window.location.href,ze=Me.indexOf("#");return ze===-1?"":Me.substring(ze+1)}function Le(Me){window.location.hash=Me}function we(Me){window.location.replace(xe(window.location.href)+"#"+Me)}function fe(Me){Me===void 0&&(Me={}),ie||Object(T.a)(!1);var ze=window.history,Ue=ne(),He=Me,Ne=He.getUserConfirmation,it=Ne===void 0?G:Ne,Xe=He.hashType,ht=Xe===void 0?"slash":Xe,lt=Me.basename?B(j(Me.basename)):"",Et=Z[ht],tt=Et.encodePath,mt=Et.decodePath;function xt(){var Qt=mt(Ee());return lt&&(Qt=F(Qt,lt)),$(Qt)}var Xt=ee();function vt(Qt){Object(E.a)(Dt,Qt),Dt.length=ze.length,Xt.notifyListeners(Dt.location,Dt.action)}var qe=!1,Re=null;function Se(Qt,cn){return Qt.pathname===cn.pathname&&Qt.search===cn.search&&Qt.hash===cn.hash}function Ve(){var Qt=Ee(),cn=tt(Qt);if(Qt!==cn)we(cn);else{var $n=xt(),hn=Dt.location;if(!qe&&Se(hn,$n)||Re===J($n))return;Re=null,Ge($n)}}function Ge(Qt){if(qe)qe=!1,vt();else{var cn="POP";Xt.confirmTransitionTo(Qt,cn,it,function($n){$n?vt({action:cn,location:Qt}):_t(Qt)})}}function _t(Qt){var cn=Dt.location,$n=ft.lastIndexOf(J(cn));$n===-1&&($n=0);var hn=ft.lastIndexOf(J(Qt));hn===-1&&(hn=0);var _n=$n-hn;_n&&(qe=!0,le(_n))}var bt=Ee(),gt=tt(bt);bt!==gt&&we(gt);var at=xt(),ft=[J(at)];function Fe(Qt){var cn=document.querySelector("base"),$n="";return cn&&cn.getAttribute("href")&&($n=xe(window.location.href)),$n+"#"+tt(lt+J(Qt))}function Te(Qt,cn){var $n="PUSH",hn=$(Qt,void 0,void 0,Dt.location);Xt.confirmTransitionTo(hn,$n,it,function(_n){if(!!_n){var bn=J(hn),Bn=tt(lt+bn),Tn=Ee()!==Bn;if(Tn){Re=bn,Le(Bn);var Tr=ft.lastIndexOf(J(Dt.location)),Sr=ft.slice(0,Tr+1);Sr.push(bn),ft=Sr,vt({action:$n,location:hn})}else vt()}})}function ut(Qt,cn){var $n="REPLACE",hn=$(Qt,void 0,void 0,Dt.location);Xt.confirmTransitionTo(hn,$n,it,function(_n){if(!!_n){var bn=J(hn),Bn=tt(lt+bn),Tn=Ee()!==Bn;Tn&&(Re=bn,we(Bn));var Tr=ft.indexOf(J(Dt.location));Tr!==-1&&(ft[Tr]=bn),vt({action:$n,location:hn})}})}function le(Qt){ze.go(Qt)}function $e(){le(-1)}function Qe(){le(1)}var Tt=0;function Ot(Qt){Tt+=Qt,Tt===1&&Qt===1?window.addEventListener(me,Ve):Tt===0&&window.removeEventListener(me,Ve)}var Ut=!1;function At(Qt){Qt===void 0&&(Qt=!1);var cn=Xt.setPrompt(Qt);return Ut||(Ot(1),Ut=!0),function(){return Ut&&(Ut=!1,Ot(-1)),cn()}}function Pt(Qt){var cn=Xt.appendListener(Qt);return Ot(1),function(){Ot(-1),cn()}}var Dt={length:ze.length,action:"POP",location:at,createHref:Fe,push:Te,replace:ut,go:le,goBack:$e,goForward:Qe,block:At,listen:Pt};return Dt}function pe(Me,ze,Ue){return Math.min(Math.max(Me,ze),Ue)}function Ke(Me){Me===void 0&&(Me={});var ze=Me,Ue=ze.getUserConfirmation,He=ze.initialEntries,Ne=He===void 0?["/"]:He,it=ze.initialIndex,Xe=it===void 0?0:it,ht=ze.keyLength,lt=ht===void 0?6:ht,Et=ee();function tt(ft){Object(E.a)(at,ft),at.length=at.entries.length,Et.notifyListeners(at.location,at.action)}function mt(){return Math.random().toString(36).substr(2,lt)}var xt=pe(Xe,0,Ne.length-1),Xt=Ne.map(function(ft){return typeof ft=="string"?$(ft,void 0,mt()):$(ft,void 0,ft.key||mt())}),vt=J;function qe(ft,Fe){var Te="PUSH",ut=$(ft,Fe,mt(),at.location);Et.confirmTransitionTo(ut,Te,Ue,function(le){if(!!le){var $e=at.index,Qe=$e+1,Tt=at.entries.slice(0);Tt.length>Qe?Tt.splice(Qe,Tt.length-Qe,ut):Tt.push(ut),tt({action:Te,location:ut,index:Qe,entries:Tt})}})}function Re(ft,Fe){var Te="REPLACE",ut=$(ft,Fe,mt(),at.location);Et.confirmTransitionTo(ut,Te,Ue,function(le){!le||(at.entries[at.index]=ut,tt({action:Te,location:ut}))})}function Se(ft){var Fe=pe(at.index+ft,0,at.entries.length-1),Te="POP",ut=at.entries[Fe];Et.confirmTransitionTo(ut,Te,Ue,function(le){le?tt({action:Te,location:ut,index:Fe}):tt()})}function Ve(){Se(-1)}function Ge(){Se(1)}function _t(ft){var Fe=at.index+ft;return Fe>=0&&Fe<at.entries.length}function bt(ft){return ft===void 0&&(ft=!1),Et.setPrompt(ft)}function gt(ft){return Et.appendListener(ft)}var at={length:Xt.length,action:"POP",location:Xt[xt],index:xt,entries:Xt,createHref:vt,push:qe,replace:Re,go:Se,goBack:Ve,goForward:Ge,canGo:_t,block:bt,listen:gt};return at}},YSkC:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("5Dmo"),O=l("3S7+"),C=l("rePB"),k=l("GNNt"),A=l("wEI+"),S=l("nKUr"),y=l.n(S),w=l("+YFz"),x=l("TSYQ"),T=l.n(x),j=l("q1tI"),D=l.n(j),N=l("slOs"),F=l.n(N),B=function(J){var $=J.label,X=J.tooltip,ee=J.ellipsis,ie=J.subTitle,G=Object(j.useContext)(A.a.ConfigContext),Q=G.getPrefixCls;if(!X&&!ie)return Object(S.jsx)(S.Fragment,{children:$});var W=Q("pro-core-label-tip"),ne=typeof X=="string"||D.a.isValidElement(X)?{title:X}:X,te=(ne==null?void 0:ne.icon)||Object(S.jsx)(w.a,{});return Object(S.jsxs)("div",{className:W,onMouseDown:function(he){return he.stopPropagation()},onMouseLeave:function(he){return he.stopPropagation()},onMouseMove:function(he){return he.stopPropagation()},children:[Object(S.jsx)("div",{className:T()("".concat(W,"-title"),Object(C.a)({},"".concat(W,"-title-ellipsis"),ee)),children:$}),ie&&Object(S.jsx)("div",{className:"".concat(W,"-subtitle"),children:ie}),X&&Object(S.jsx)(O.a,Object(E.a)(Object(E.a)({},ne),{},{children:Object(S.jsx)("span",{className:"".concat(W,"-icon"),children:te})}))]})};R.a=D.a.memo(B)},"YV/h":function(ce,R,l){},YWTS:function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("U8pU"),m=l("q1tI"),O=l.n(m);function C(k,A,S){var y=m.useRef({});function w(x){if(!y.current||y.current.data!==k||y.current.childrenColumnName!==A||y.current.getRowKey!==S){var T=function D(N){N.forEach(function(F,B){var U=S(F,B);j.set(U,F),F&&Object(E.a)(F)==="object"&&A in F&&D(F[A]||[])})},j=new Map;T(k),y.current={data:k,childrenColumnName:A,kvMap:j,getRowKey:S}}return y.current.kvMap.get(x)}return[w]}},Ya77:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("VTBJ");function m(O,C){var k=Object(E.a)({},O);return Array.isArray(C)&&C.forEach(function(A){delete k[A]}),k}},Yanh:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("anchor")},{anchor:function(k){return m(this,"a","name",k)}})},YceZ:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("jbR1"),k=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{join:function(S){var y=O(this),w=C(y),x=S===void 0?",":String(S),T=[];return k(w,T.push,T,!1,!0),T.join(x)}})},YfKC:function(ce,R,l){var E=l("tny8"),m=l("/yC2"),O=l("f1E4"),C=l("gFfw"),k=Object.defineProperty;R.f=E?k:function(S,y,w){if(O(S),y=C(y,!0),O(w),m)try{return k(S,y,w)}catch(x){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(S[y]=w.value),S}},YjZU:function(ce,R,l){var E=l("MMxC"),m=l("29mP"),O=l("cT1L"),C=l("f1E4"),k=l("tSXo"),A=l("u+7+"),S=l("+SQA"),y=l("MVys"),w=m("Reflect","construct"),x=y(function(){function D(){}return!(w(function(){},[],D)instanceof D)}),T=!y(function(){w(function(){})}),j=x||T;E({target:"Reflect",stat:!0,forced:j,sham:j},{construct:function(N,F){O(N),C(F);var B=arguments.length<3?N:O(arguments[2]);if(T&&!x)return w(N,F,B);if(N==B){switch(F.length){case 0:return new N;case 1:return new N(F[0]);case 2:return new N(F[0],F[1]);case 3:return new N(F[0],F[1],F[2]);case 4:return new N(F[0],F[1],F[2],F[3])}var U=[null];return U.push.apply(U,F),new(S.apply(N,U))}var J=B.prototype,$=A(k(J)?J:Object.prototype),X=Function.apply.call(N,$,F);return k(X)?X:$}})},Yk9n:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.inject=R.LazyServiceIdentifer=void 0;var E=l("MON2"),m=l("xfSm"),O=l("GXnB"),C=l("Ztfv"),k=function(){function S(y){this._cb=y}return S.prototype.unwrap=function(){return this._cb()},S}();R.LazyServiceIdentifer=k;function A(S){return function(y,w,x){if(S===void 0)throw new Error(E.UNDEFINED_INJECT_ANNOTATION(y.name));var T=new O.Metadata(m.INJECT_TAG,S);typeof x=="number"?C.tagParameter(y,w,x,T):C.tagProperty(y,w,T)}}R.inject=A},YkAm:function(ce,R,l){},YlG9:function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E),O=Object(E.createContext)(void 0);R.a=O},YsqO:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=m;function E(O,C){O.indexOf(C)===-1&&O.push(C)}function m(O,C){if(Array.isArray(C))for(var k=0,A=C.length;k<A;++k)E(O,C[k]);else E(O,C)}ce.exports=R.default},"Z+8a":function(ce,R,l){"use strict";var E=l("f1E4"),m=l("cT1L");ce.exports=function(){for(var O=E(this),C=m(O.add),k=0,A=arguments.length;k<A;k++)C.call(O,arguments[k]);return O}},"Z/ur":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("z/XJ"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},Z0cm:function(ce,R){var l=Array.isArray;ce.exports=l},Z8oC:function(ce,R,l){var E=l("y1pI");function m(O,C){var k=this.__data__,A=E(k,O);return A<0?(++this.size,k.push([O,C])):k[A][1]=C,this}ce.exports=m},ZBwS:function(ce,R){var l=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},E=-1,m=1,O=0;l.Diff=function(C,k){return[C,k]},l.prototype.diff_main=function(C,k,A,S){typeof S=="undefined"&&(this.Diff_Timeout<=0?S=Number.MAX_VALUE:S=new Date().getTime()+this.Diff_Timeout*1e3);var y=S;if(C==null||k==null)throw new Error("Null input. (diff_main)");if(C==k)return C?[new l.Diff(O,C)]:[];typeof A=="undefined"&&(A=!0);var w=A,x=this.diff_commonPrefix(C,k),T=C.substring(0,x);C=C.substring(x),k=k.substring(x),x=this.diff_commonSuffix(C,k);var j=C.substring(C.length-x);C=C.substring(0,C.length-x),k=k.substring(0,k.length-x);var D=this.diff_compute_(C,k,w,y);return T&&D.unshift(new l.Diff(O,T)),j&&D.push(new l.Diff(O,j)),this.diff_cleanupMerge(D),D},l.prototype.diff_compute_=function(C,k,A,S){var y;if(!C)return[new l.Diff(m,k)];if(!k)return[new l.Diff(E,C)];var w=C.length>k.length?C:k,x=C.length>k.length?k:C,T=w.indexOf(x);if(T!=-1)return y=[new l.Diff(m,w.substring(0,T)),new l.Diff(O,x),new l.Diff(m,w.substring(T+x.length))],C.length>k.length&&(y[0][0]=y[2][0]=E),y;if(x.length==1)return[new l.Diff(E,C),new l.Diff(m,k)];var j=this.diff_halfMatch_(C,k);if(j){var D=j[0],N=j[1],F=j[2],B=j[3],U=j[4],J=this.diff_main(D,F,A,S),$=this.diff_main(N,B,A,S);return J.concat([new l.Diff(O,U)],$)}return A&&C.length>100&&k.length>100?this.diff_lineMode_(C,k,S):this.diff_bisect_(C,k,S)},l.prototype.diff_lineMode_=function(C,k,A){var S=this.diff_linesToChars_(C,k);C=S.chars1,k=S.chars2;var y=S.lineArray,w=this.diff_main(C,k,!1,A);this.diff_charsToLines_(w,y),this.diff_cleanupSemantic(w),w.push(new l.Diff(O,""));for(var x=0,T=0,j=0,D="",N="";x<w.length;){switch(w[x][0]){case m:j++,N+=w[x][1];break;case E:T++,D+=w[x][1];break;case O:if(T>=1&&j>=1){w.splice(x-T-j,T+j),x=x-T-j;for(var F=this.diff_main(D,N,!1,A),B=F.length-1;B>=0;B--)w.splice(x,0,F[B]);x=x+F.length}j=0,T=0,D="",N="";break}x++}return w.pop(),w},l.prototype.diff_bisect_=function(C,k,A){for(var S=C.length,y=k.length,w=Math.ceil((S+y)/2),x=w,T=2*w,j=new Array(T),D=new Array(T),N=0;N<T;N++)j[N]=-1,D[N]=-1;j[x+1]=0,D[x+1]=0;for(var F=S-y,B=F%2!=0,U=0,J=0,$=0,X=0,ee=0;ee<w&&!(new Date().getTime()>A);ee++){for(var ie=-ee+U;ie<=ee-J;ie+=2){var G=x+ie,Q;ie==-ee||ie!=ee&&j[G-1]<j[G+1]?Q=j[G+1]:Q=j[G-1]+1;for(var W=Q-ie;Q<S&&W<y&&C.charAt(Q)==k.charAt(W);)Q++,W++;if(j[G]=Q,Q>S)J+=2;else if(W>y)U+=2;else if(B){var ne=x+F-ie;if(ne>=0&&ne<T&&D[ne]!=-1){var te=S-D[ne];if(Q>=te)return this.diff_bisectSplit_(C,k,Q,W,A)}}}for(var _e=-ee+$;_e<=ee-X;_e+=2){var ne=x+_e,te;_e==-ee||_e!=ee&&D[ne-1]<D[ne+1]?te=D[ne+1]:te=D[ne-1]+1;for(var he=te-_e;te<S&&he<y&&C.charAt(S-te-1)==k.charAt(y-he-1);)te++,he++;if(D[ne]=te,te>S)X+=2;else if(he>y)$+=2;else if(!B){var G=x+F-_e;if(G>=0&&G<T&&j[G]!=-1){var Q=j[G],W=x+Q-G;if(te=S-te,Q>=te)return this.diff_bisectSplit_(C,k,Q,W,A)}}}}return[new l.Diff(E,C),new l.Diff(m,k)]},l.prototype.diff_bisectSplit_=function(C,k,A,S,y){var w=C.substring(0,A),x=k.substring(0,S),T=C.substring(A),j=k.substring(S),D=this.diff_main(w,x,!1,y),N=this.diff_main(T,j,!1,y);return D.concat(N)},l.prototype.diff_linesToChars_=function(C,k){var A=[],S={};A[0]="";function y(j){for(var D="",N=0,F=-1,B=A.length;F<j.length-1;){F=j.indexOf(`
`,N),F==-1&&(F=j.length-1);var U=j.substring(N,F+1);(S.hasOwnProperty?S.hasOwnProperty(U):S[U]!==void 0)?D+=String.fromCharCode(S[U]):(B==w&&(U=j.substring(N),F=j.length),D+=String.fromCharCode(B),S[U]=B,A[B++]=U),N=F+1}return D}var w=4e4,x=y(C);w=65535;var T=y(k);return{chars1:x,chars2:T,lineArray:A}},l.prototype.diff_charsToLines_=function(C,k){for(var A=0;A<C.length;A++){for(var S=C[A][1],y=[],w=0;w<S.length;w++)y[w]=k[S.charCodeAt(w)];C[A][1]=y.join("")}},l.prototype.diff_commonPrefix=function(C,k){if(!C||!k||C.charAt(0)!=k.charAt(0))return 0;for(var A=0,S=Math.min(C.length,k.length),y=S,w=0;A<y;)C.substring(w,y)==k.substring(w,y)?(A=y,w=A):S=y,y=Math.floor((S-A)/2+A);return y},l.prototype.diff_commonSuffix=function(C,k){if(!C||!k||C.charAt(C.length-1)!=k.charAt(k.length-1))return 0;for(var A=0,S=Math.min(C.length,k.length),y=S,w=0;A<y;)C.substring(C.length-y,C.length-w)==k.substring(k.length-y,k.length-w)?(A=y,w=A):S=y,y=Math.floor((S-A)/2+A);return y},l.prototype.diff_commonOverlap_=function(C,k){var A=C.length,S=k.length;if(A==0||S==0)return 0;A>S?C=C.substring(A-S):A<S&&(k=k.substring(0,A));var y=Math.min(A,S);if(C==k)return y;for(var w=0,x=1;;){var T=C.substring(y-x),j=k.indexOf(T);if(j==-1)return w;x+=j,(j==0||C.substring(y-x)==k.substring(0,x))&&(w=x,x++)}},l.prototype.diff_halfMatch_=function(C,k){if(this.Diff_Timeout<=0)return null;var A=C.length>k.length?C:k,S=C.length>k.length?k:C;if(A.length<4||S.length*2<A.length)return null;var y=this;function w(J,$,X){for(var ee=J.substring(X,X+Math.floor(J.length/4)),ie=-1,G="",Q,W,ne,te;(ie=$.indexOf(ee,ie+1))!=-1;){var _e=y.diff_commonPrefix(J.substring(X),$.substring(ie)),he=y.diff_commonSuffix(J.substring(0,X),$.substring(0,ie));G.length<he+_e&&(G=$.substring(ie-he,ie)+$.substring(ie,ie+_e),Q=J.substring(0,X-he),W=J.substring(X+_e),ne=$.substring(0,ie-he),te=$.substring(ie+_e))}return G.length*2>=J.length?[Q,W,ne,te,G]:null}var x=w(A,S,Math.ceil(A.length/4)),T=w(A,S,Math.ceil(A.length/2)),j;if(!x&&!T)return null;T?x?j=x[4].length>T[4].length?x:T:j=T:j=x;var D,N,F,B;C.length>k.length?(D=j[0],N=j[1],F=j[2],B=j[3]):(F=j[0],B=j[1],D=j[2],N=j[3]);var U=j[4];return[D,N,F,B,U]},l.prototype.diff_cleanupSemantic=function(C){for(var k=!1,A=[],S=0,y=null,w=0,x=0,T=0,j=0,D=0;w<C.length;)C[w][0]==O?(A[S++]=w,x=j,T=D,j=0,D=0,y=C[w][1]):(C[w][0]==m?j+=C[w][1].length:D+=C[w][1].length,y&&y.length<=Math.max(x,T)&&y.length<=Math.max(j,D)&&(C.splice(A[S-1],0,new l.Diff(E,y)),C[A[S-1]+1][0]=m,S--,S--,w=S>0?A[S-1]:-1,x=0,T=0,j=0,D=0,y=null,k=!0)),w++;for(k&&this.diff_cleanupMerge(C),this.diff_cleanupSemanticLossless(C),w=1;w<C.length;){if(C[w-1][0]==E&&C[w][0]==m){var N=C[w-1][1],F=C[w][1],B=this.diff_commonOverlap_(N,F),U=this.diff_commonOverlap_(F,N);B>=U?(B>=N.length/2||B>=F.length/2)&&(C.splice(w,0,new l.Diff(O,F.substring(0,B))),C[w-1][1]=N.substring(0,N.length-B),C[w+1][1]=F.substring(B),w++):(U>=N.length/2||U>=F.length/2)&&(C.splice(w,0,new l.Diff(O,N.substring(0,U))),C[w-1][0]=m,C[w-1][1]=F.substring(0,F.length-U),C[w+1][0]=E,C[w+1][1]=N.substring(U),w++),w++}w++}},l.prototype.diff_cleanupSemanticLossless=function(C){function k(U,J){if(!U||!J)return 6;var $=U.charAt(U.length-1),X=J.charAt(0),ee=$.match(l.nonAlphaNumericRegex_),ie=X.match(l.nonAlphaNumericRegex_),G=ee&&$.match(l.whitespaceRegex_),Q=ie&&X.match(l.whitespaceRegex_),W=G&&$.match(l.linebreakRegex_),ne=Q&&X.match(l.linebreakRegex_),te=W&&U.match(l.blanklineEndRegex_),_e=ne&&J.match(l.blanklineStartRegex_);return te||_e?5:W||ne?4:ee&&!G&&Q?3:G||Q?2:ee||ie?1:0}for(var A=1;A<C.length-1;){if(C[A-1][0]==O&&C[A+1][0]==O){var S=C[A-1][1],y=C[A][1],w=C[A+1][1],x=this.diff_commonSuffix(S,y);if(x){var T=y.substring(y.length-x);S=S.substring(0,S.length-x),y=T+y.substring(0,y.length-x),w=T+w}for(var j=S,D=y,N=w,F=k(S,y)+k(y,w);y.charAt(0)===w.charAt(0);){S+=y.charAt(0),y=y.substring(1)+w.charAt(0),w=w.substring(1);var B=k(S,y)+k(y,w);B>=F&&(F=B,j=S,D=y,N=w)}C[A-1][1]!=j&&(j?C[A-1][1]=j:(C.splice(A-1,1),A--),C[A][1]=D,N?C[A+1][1]=N:(C.splice(A+1,1),A--))}A++}},l.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,l.whitespaceRegex_=/\s/,l.linebreakRegex_=/[\r\n]/,l.blanklineEndRegex_=/\n\r?\n$/,l.blanklineStartRegex_=/^\r?\n\r?\n/,l.prototype.diff_cleanupEfficiency=function(C){for(var k=!1,A=[],S=0,y=null,w=0,x=!1,T=!1,j=!1,D=!1;w<C.length;)C[w][0]==O?(C[w][1].length<this.Diff_EditCost&&(j||D)?(A[S++]=w,x=j,T=D,y=C[w][1]):(S=0,y=null),j=D=!1):(C[w][0]==E?D=!0:j=!0,y&&(x&&T&&j&&D||y.length<this.Diff_EditCost/2&&x+T+j+D==3)&&(C.splice(A[S-1],0,new l.Diff(E,y)),C[A[S-1]+1][0]=m,S--,y=null,x&&T?(j=D=!0,S=0):(S--,w=S>0?A[S-1]:-1,j=D=!1),k=!0)),w++;k&&this.diff_cleanupMerge(C)},l.prototype.diff_cleanupMerge=function(C){C.push(new l.Diff(O,""));for(var k=0,A=0,S=0,y="",w="",x;k<C.length;)switch(C[k][0]){case m:S++,w+=C[k][1],k++;break;case E:A++,y+=C[k][1],k++;break;case O:A+S>1?(A!==0&&S!==0&&(x=this.diff_commonPrefix(w,y),x!==0&&(k-A-S>0&&C[k-A-S-1][0]==O?C[k-A-S-1][1]+=w.substring(0,x):(C.splice(0,0,new l.Diff(O,w.substring(0,x))),k++),w=w.substring(x),y=y.substring(x)),x=this.diff_commonSuffix(w,y),x!==0&&(C[k][1]=w.substring(w.length-x)+C[k][1],w=w.substring(0,w.length-x),y=y.substring(0,y.length-x))),k-=A+S,C.splice(k,A+S),y.length&&(C.splice(k,0,new l.Diff(E,y)),k++),w.length&&(C.splice(k,0,new l.Diff(m,w)),k++),k++):k!==0&&C[k-1][0]==O?(C[k-1][1]+=C[k][1],C.splice(k,1)):k++,S=0,A=0,y="",w="";break}C[C.length-1][1]===""&&C.pop();var T=!1;for(k=1;k<C.length-1;)C[k-1][0]==O&&C[k+1][0]==O&&(C[k][1].substring(C[k][1].length-C[k-1][1].length)==C[k-1][1]?(C[k][1]=C[k-1][1]+C[k][1].substring(0,C[k][1].length-C[k-1][1].length),C[k+1][1]=C[k-1][1]+C[k+1][1],C.splice(k-1,1),T=!0):C[k][1].substring(0,C[k+1][1].length)==C[k+1][1]&&(C[k-1][1]+=C[k+1][1],C[k][1]=C[k][1].substring(C[k+1][1].length)+C[k+1][1],C.splice(k+1,1),T=!0)),k++;T&&this.diff_cleanupMerge(C)},l.prototype.diff_xIndex=function(C,k){var A=0,S=0,y=0,w=0,x;for(x=0;x<C.length&&(C[x][0]!==m&&(A+=C[x][1].length),C[x][0]!==E&&(S+=C[x][1].length),!(A>k));x++)y=A,w=S;return C.length!=x&&C[x][0]===E?w:w+(k-y)},l.prototype.diff_prettyHtml=function(C){for(var k=[],A=/&/g,S=/</g,y=/>/g,w=/\n/g,x=0;x<C.length;x++){var T=C[x][0],j=C[x][1],D=j.replace(A,"&amp;").replace(S,"&lt;").replace(y,"&gt;").replace(w,"&para;<br>");switch(T){case m:k[x]='<ins style="background:#e6ffe6;">'+D+"</ins>";break;case E:k[x]='<del style="background:#ffe6e6;">'+D+"</del>";break;case O:k[x]="<span>"+D+"</span>";break}}return k.join("")},l.prototype.diff_text1=function(C){for(var k=[],A=0;A<C.length;A++)C[A][0]!==m&&(k[A]=C[A][1]);return k.join("")},l.prototype.diff_text2=function(C){for(var k=[],A=0;A<C.length;A++)C[A][0]!==E&&(k[A]=C[A][1]);return k.join("")},l.prototype.diff_levenshtein=function(C){for(var k=0,A=0,S=0,y=0;y<C.length;y++){var w=C[y][0],x=C[y][1];switch(w){case m:A+=x.length;break;case E:S+=x.length;break;case O:k+=Math.max(A,S),A=0,S=0;break}}return k+=Math.max(A,S),k},l.prototype.diff_toDelta=function(C){for(var k=[],A=0;A<C.length;A++)switch(C[A][0]){case m:k[A]="+"+encodeURI(C[A][1]);break;case E:k[A]="-"+C[A][1].length;break;case O:k[A]="="+C[A][1].length;break}return k.join(" ").replace(/%20/g," ")},l.prototype.diff_fromDelta=function(C,k){for(var A=[],S=0,y=0,w=k.split(/\t/g),x=0;x<w.length;x++){var T=w[x].substring(1);switch(w[x].charAt(0)){case"+":try{A[S++]=new l.Diff(m,decodeURI(T))}catch(N){throw new Error("Illegal escape in diff_fromDelta: "+T)}break;case"-":case"=":var j=parseInt(T,10);if(isNaN(j)||j<0)throw new Error("Invalid number in diff_fromDelta: "+T);var D=C.substring(y,y+=j);w[x].charAt(0)=="="?A[S++]=new l.Diff(O,D):A[S++]=new l.Diff(E,D);break;default:if(w[x])throw new Error("Invalid diff operation in diff_fromDelta: "+w[x])}}if(y!=C.length)throw new Error("Delta length ("+y+") does not equal source text length ("+C.length+").");return A},l.prototype.match_main=function(C,k,A){if(C==null||k==null||A==null)throw new Error("Null input. (match_main)");return A=Math.max(0,Math.min(A,C.length)),C==k?0:C.length?C.substring(A,A+k.length)==k?A:this.match_bitap_(C,k,A):-1},l.prototype.match_bitap_=function(C,k,A){if(k.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var S=this.match_alphabet_(k),y=this;function w(Q,W){var ne=Q/k.length,te=Math.abs(A-W);return y.Match_Distance?ne+te/y.Match_Distance:te?1:ne}var x=this.Match_Threshold,T=C.indexOf(k,A);T!=-1&&(x=Math.min(w(0,T),x),T=C.lastIndexOf(k,A+k.length),T!=-1&&(x=Math.min(w(0,T),x)));var j=1<<k.length-1;T=-1;for(var D,N,F=k.length+C.length,B,U=0;U<k.length;U++){for(D=0,N=F;D<N;)w(U,A+N)<=x?D=N:F=N,N=Math.floor((F-D)/2+D);F=N;var J=Math.max(1,A-N+1),$=Math.min(A+N,C.length)+k.length,X=Array($+2);X[$+1]=(1<<U)-1;for(var ee=$;ee>=J;ee--){var ie=S[C.charAt(ee-1)];if(U===0?X[ee]=(X[ee+1]<<1|1)&ie:X[ee]=(X[ee+1]<<1|1)&ie|((B[ee+1]|B[ee])<<1|1)|B[ee+1],X[ee]&j){var G=w(U,ee-1);if(G<=x)if(x=G,T=ee-1,T>A)J=Math.max(1,2*A-T);else break}}if(w(U+1,A)>x)break;B=X}return T},l.prototype.match_alphabet_=function(C){for(var k={},A=0;A<C.length;A++)k[C.charAt(A)]=0;for(var A=0;A<C.length;A++)k[C.charAt(A)]|=1<<C.length-A-1;return k},l.prototype.patch_addContext_=function(C,k){if(k.length!=0){if(C.start2===null)throw Error("patch not initialized");for(var A=k.substring(C.start2,C.start2+C.length1),S=0;k.indexOf(A)!=k.lastIndexOf(A)&&A.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)S+=this.Patch_Margin,A=k.substring(C.start2-S,C.start2+C.length1+S);S+=this.Patch_Margin;var y=k.substring(C.start2-S,C.start2);y&&C.diffs.unshift(new l.Diff(O,y));var w=k.substring(C.start2+C.length1,C.start2+C.length1+S);w&&C.diffs.push(new l.Diff(O,w)),C.start1-=y.length,C.start2-=y.length,C.length1+=y.length+w.length,C.length2+=y.length+w.length}},l.prototype.patch_make=function(C,k,A){var S,y;if(typeof C=="string"&&typeof k=="string"&&typeof A=="undefined")S=C,y=this.diff_main(S,k,!0),y.length>2&&(this.diff_cleanupSemantic(y),this.diff_cleanupEfficiency(y));else if(C&&typeof C=="object"&&typeof k=="undefined"&&typeof A=="undefined")y=C,S=this.diff_text1(y);else if(typeof C=="string"&&k&&typeof k=="object"&&typeof A=="undefined")S=C,y=k;else if(typeof C=="string"&&typeof k=="string"&&A&&typeof A=="object")S=C,y=A;else throw new Error("Unknown call format to patch_make.");if(y.length===0)return[];for(var w=[],x=new l.patch_obj,T=0,j=0,D=0,N=S,F=S,B=0;B<y.length;B++){var U=y[B][0],J=y[B][1];switch(!T&&U!==O&&(x.start1=j,x.start2=D),U){case m:x.diffs[T++]=y[B],x.length2+=J.length,F=F.substring(0,D)+J+F.substring(D);break;case E:x.length1+=J.length,x.diffs[T++]=y[B],F=F.substring(0,D)+F.substring(D+J.length);break;case O:J.length<=2*this.Patch_Margin&&T&&y.length!=B+1?(x.diffs[T++]=y[B],x.length1+=J.length,x.length2+=J.length):J.length>=2*this.Patch_Margin&&T&&(this.patch_addContext_(x,N),w.push(x),x=new l.patch_obj,T=0,N=F,j=D);break}U!==m&&(j+=J.length),U!==E&&(D+=J.length)}return T&&(this.patch_addContext_(x,N),w.push(x)),w},l.prototype.patch_deepCopy=function(C){for(var k=[],A=0;A<C.length;A++){var S=C[A],y=new l.patch_obj;y.diffs=[];for(var w=0;w<S.diffs.length;w++)y.diffs[w]=new l.Diff(S.diffs[w][0],S.diffs[w][1]);y.start1=S.start1,y.start2=S.start2,y.length1=S.length1,y.length2=S.length2,k[A]=y}return k},l.prototype.patch_apply=function(C,k){if(C.length==0)return[k,[]];C=this.patch_deepCopy(C);var A=this.patch_addPadding(C);k=A+k+A,this.patch_splitMax(C);for(var S=0,y=[],w=0;w<C.length;w++){var x=C[w].start2+S,T=this.diff_text1(C[w].diffs),j,D=-1;if(T.length>this.Match_MaxBits?(j=this.match_main(k,T.substring(0,this.Match_MaxBits),x),j!=-1&&(D=this.match_main(k,T.substring(T.length-this.Match_MaxBits),x+T.length-this.Match_MaxBits),(D==-1||j>=D)&&(j=-1))):j=this.match_main(k,T,x),j==-1)y[w]=!1,S-=C[w].length2-C[w].length1;else{y[w]=!0,S=j-x;var N;if(D==-1?N=k.substring(j,j+T.length):N=k.substring(j,D+this.Match_MaxBits),T==N)k=k.substring(0,j)+this.diff_text2(C[w].diffs)+k.substring(j+T.length);else{var F=this.diff_main(T,N,!1);if(T.length>this.Match_MaxBits&&this.diff_levenshtein(F)/T.length>this.Patch_DeleteThreshold)y[w]=!1;else{this.diff_cleanupSemanticLossless(F);for(var B=0,U,J=0;J<C[w].diffs.length;J++){var $=C[w].diffs[J];$[0]!==O&&(U=this.diff_xIndex(F,B)),$[0]===m?k=k.substring(0,j+U)+$[1]+k.substring(j+U):$[0]===E&&(k=k.substring(0,j+U)+k.substring(j+this.diff_xIndex(F,B+$[1].length))),$[0]!==E&&(B+=$[1].length)}}}}}return k=k.substring(A.length,k.length-A.length),[k,y]},l.prototype.patch_addPadding=function(C){for(var k=this.Patch_Margin,A="",S=1;S<=k;S++)A+=String.fromCharCode(S);for(var S=0;S<C.length;S++)C[S].start1+=k,C[S].start2+=k;var y=C[0],w=y.diffs;if(w.length==0||w[0][0]!=O)w.unshift(new l.Diff(O,A)),y.start1-=k,y.start2-=k,y.length1+=k,y.length2+=k;else if(k>w[0][1].length){var x=k-w[0][1].length;w[0][1]=A.substring(w[0][1].length)+w[0][1],y.start1-=x,y.start2-=x,y.length1+=x,y.length2+=x}if(y=C[C.length-1],w=y.diffs,w.length==0||w[w.length-1][0]!=O)w.push(new l.Diff(O,A)),y.length1+=k,y.length2+=k;else if(k>w[w.length-1][1].length){var x=k-w[w.length-1][1].length;w[w.length-1][1]+=A.substring(0,x),y.length1+=x,y.length2+=x}return A},l.prototype.patch_splitMax=function(C){for(var k=this.Match_MaxBits,A=0;A<C.length;A++)if(!(C[A].length1<=k)){var S=C[A];C.splice(A--,1);for(var y=S.start1,w=S.start2,x="";S.diffs.length!==0;){var T=new l.patch_obj,j=!0;for(T.start1=y-x.length,T.start2=w-x.length,x!==""&&(T.length1=T.length2=x.length,T.diffs.push(new l.Diff(O,x)));S.diffs.length!==0&&T.length1<k-this.Patch_Margin;){var D=S.diffs[0][0],N=S.diffs[0][1];D===m?(T.length2+=N.length,w+=N.length,T.diffs.push(S.diffs.shift()),j=!1):D===E&&T.diffs.length==1&&T.diffs[0][0]==O&&N.length>2*k?(T.length1+=N.length,y+=N.length,j=!1,T.diffs.push(new l.Diff(D,N)),S.diffs.shift()):(N=N.substring(0,k-T.length1-this.Patch_Margin),T.length1+=N.length,y+=N.length,D===O?(T.length2+=N.length,w+=N.length):j=!1,T.diffs.push(new l.Diff(D,N)),N==S.diffs[0][1]?S.diffs.shift():S.diffs[0][1]=S.diffs[0][1].substring(N.length))}x=this.diff_text2(T.diffs),x=x.substring(x.length-this.Patch_Margin);var F=this.diff_text1(S.diffs).substring(0,this.Patch_Margin);F!==""&&(T.length1+=F.length,T.length2+=F.length,T.diffs.length!==0&&T.diffs[T.diffs.length-1][0]===O?T.diffs[T.diffs.length-1][1]+=F:T.diffs.push(new l.Diff(O,F))),j||C.splice(++A,0,T)}}},l.prototype.patch_toText=function(C){for(var k=[],A=0;A<C.length;A++)k[A]=C[A];return k.join("")},l.prototype.patch_fromText=function(C){var k=[];if(!C)return k;for(var A=C.split(`
`),S=0,y=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;S<A.length;){var w=A[S].match(y);if(!w)throw new Error("Invalid patch string: "+A[S]);var x=new l.patch_obj;for(k.push(x),x.start1=parseInt(w[1],10),w[2]===""?(x.start1--,x.length1=1):w[2]=="0"?x.length1=0:(x.start1--,x.length1=parseInt(w[2],10)),x.start2=parseInt(w[3],10),w[4]===""?(x.start2--,x.length2=1):w[4]=="0"?x.length2=0:(x.start2--,x.length2=parseInt(w[4],10)),S++;S<A.length;){var T=A[S].charAt(0);try{var j=decodeURI(A[S].substring(1))}catch(D){throw new Error("Illegal escape in patch_fromText: "+j)}if(T=="-")x.diffs.push(new l.Diff(E,j));else if(T=="+")x.diffs.push(new l.Diff(m,j));else if(T==" ")x.diffs.push(new l.Diff(O,j));else{if(T=="@")break;if(T!=="")throw new Error('Invalid patch mode "'+T+'" in: '+j)}S++}}return k},l.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},l.patch_obj.prototype.toString=function(){var C,k;this.length1===0?C=this.start1+",0":this.length1==1?C=this.start1+1:C=this.start1+1+","+this.length1,this.length2===0?k=this.start2+",0":this.length2==1?k=this.start2+1:k=this.start2+1+","+this.length2;for(var A=["@@ -"+C+" +"+k+` @@
`],S,y=0;y<this.diffs.length;y++){switch(this.diffs[y][0]){case m:S="+";break;case E:S="-";break;case O:S=" ";break}A[y+1]=S+encodeURI(this.diffs[y][1])+`
`}return A.join("").replace(/%20/g," ")},ce.exports=l,ce.exports.diff_match_patch=l,ce.exports.DIFF_DELETE=E,ce.exports.DIFF_INSERT=m,ce.exports.DIFF_EQUAL=O},ZCgT:function(ce,R,l){var E=l("tLB3"),m=1/0,O=17976931348623157e292;function C(k){if(!k)return k===0?k:0;if(k=E(k),k===m||k===-m){var A=k<0?-1:1;return A*O}return k===k?k:0}ce.exports=C},ZCpW:function(ce,R,l){var E=l("lm/5"),m=l("O7RO"),O=l("IOzZ");function C(k){var A=m(k);return A.length==1&&A[0][2]?O(A[0][0],A[0][1]):function(S){return S===k||E(S,k,A)}}ce.exports=C},ZDb2:function(ce,R,l){"use strict";var E=l("ENif"),m=l("YON3"),O=l("f1E4"),C=l("FCfD"),k=l("/dTS"),A=l("xH5X"),S=l("oa35"),y=l("dagG"),w=l("NcLc"),x=l("MVys"),T=[].push,j=Math.min,D=4294967295,N=!x(function(){return!RegExp(D,"y")});E("split",2,function(F,B,U){var J;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?J=function($,X){var ee=String(C(this)),ie=X===void 0?D:X>>>0;if(ie===0)return[];if($===void 0)return[ee];if(!m($))return B.call(ee,$,ie);for(var G=[],Q=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),W=0,ne=new RegExp($.source,Q+"g"),te,_e,he;(te=w.call(ne,ee))&&(_e=ne.lastIndex,!(_e>W&&(G.push(ee.slice(W,te.index)),te.length>1&&te.index<ee.length&&T.apply(G,te.slice(1)),he=te[0].length,W=_e,G.length>=ie)));)ne.lastIndex===te.index&&ne.lastIndex++;return W===ee.length?(he||!ne.test(""))&&G.push(""):G.push(ee.slice(W)),G.length>ie?G.slice(0,ie):G}:"0".split(void 0,0).length?J=function($,X){return $===void 0&&X===0?[]:B.call(this,$,X)}:J=B,[function(X,ee){var ie=C(this),G=X==null?void 0:X[F];return G!==void 0?G.call(X,ie,ee):J.call(String(ie),X,ee)},function($,X){var ee=U(J,$,this,X,J!==B);if(ee.done)return ee.value;var ie=O($),G=String(this),Q=k(ie,RegExp),W=ie.unicode,ne=(ie.ignoreCase?"i":"")+(ie.multiline?"m":"")+(ie.unicode?"u":"")+(N?"y":"g"),te=new Q(N?ie:"^(?:"+ie.source+")",ne),_e=X===void 0?D:X>>>0;if(_e===0)return[];if(G.length===0)return y(te,G)===null?[G]:[];for(var he=0,oe=0,ge=[];oe<G.length;){te.lastIndex=N?oe:0;var me=y(te,N?G:G.slice(oe)),Z;if(me===null||(Z=j(S(te.lastIndex+(N?0:oe)),G.length))===he)oe=A(G,oe,W);else{if(ge.push(G.slice(he,oe)),ge.length===_e)return ge;for(var xe=1;xe<=me.length-1;xe++)if(ge.push(me[xe]),ge.length===_e)return ge;oe=he=Z}}return ge.push(G.slice(he)),ge}]},!N)},ZFOp:function(ce,R,l){"use strict";ce.exports=function(E){return encodeURIComponent(E).replace(/[!'()*]/g,function(m){return"%".concat(m.charCodeAt(0).toString(16).toUpperCase())})}},ZKkB:function(ce,R,l){"use strict";l.d(R,"a",function(){return k});var E=l("oZsa"),m=l("iZzK");function O(A){return Function.toString.call(A).indexOf("[native code]")!==-1}var C=l("xdlL");function k(A){var S=typeof Map=="function"?new Map:void 0;return k=function(w){if(w===null||!O(w))return w;if(typeof w!="function")throw new TypeError("Super expression must either be null or a function");if(typeof S!="undefined"){if(S.has(w))return S.get(w);S.set(w,x)}function x(){return Object(C.a)(w,arguments,Object(E.a)(this).constructor)}return x.prototype=Object.create(w.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),Object(m.a)(x,w)},k(A)}},ZSlt:function(ce,R,l){"use strict";var E=l("ukPv"),m=l("tny8"),O=l("GNqc"),C=l("lz10"),k=l("ujhg"),A=l("MVys"),S=l("igoe"),y=l("m0kY"),w=l("oa35"),x=l("J+Da"),T=l("Cq6t"),j=l("Acmb"),D=l("g1ZG"),N=l("uGHk").f,F=l("YfKC").f,B=l("VSU6"),U=l("kiNa"),J=l("1aI8"),$=J.get,X=J.set,ee="ArrayBuffer",ie="DataView",G="prototype",Q="Wrong length",W="Wrong index",ne=E[ee],te=ne,_e=E[ie],he=_e&&_e[G],oe=Object.prototype,ge=E.RangeError,me=T.pack,Z=T.unpack,xe=function(lt){return[lt&255]},Ee=function(lt){return[lt&255,lt>>8&255]},Le=function(lt){return[lt&255,lt>>8&255,lt>>16&255,lt>>24&255]},we=function(lt){return lt[3]<<24|lt[2]<<16|lt[1]<<8|lt[0]},fe=function(lt){return me(lt,23,4)},pe=function(lt){return me(lt,52,8)},Ke=function(lt,Et){F(lt[G],Et,{get:function(){return $(this)[Et]}})},Me=function(lt,Et,tt,mt){var xt=x(tt),Xt=$(lt);if(xt+Et>Xt.byteLength)throw ge(W);var vt=$(Xt.buffer).bytes,qe=xt+Xt.byteOffset,Re=vt.slice(qe,qe+Et);return mt?Re:Re.reverse()},ze=function(lt,Et,tt,mt,xt,Xt){var vt=x(tt),qe=$(lt);if(vt+Et>qe.byteLength)throw ge(W);for(var Re=$(qe.buffer).bytes,Se=vt+qe.byteOffset,Ve=mt(+xt),Ge=0;Ge<Et;Ge++)Re[Se+Ge]=Ve[Xt?Ge:Et-Ge-1]};if(!O)te=function(Et){S(this,te,ee);var tt=x(Et);X(this,{bytes:B.call(new Array(tt),0),byteLength:tt}),m||(this.byteLength=tt)},_e=function(Et,tt,mt){S(this,_e,ie),S(Et,te,ie);var xt=$(Et).byteLength,Xt=y(tt);if(Xt<0||Xt>xt)throw ge("Wrong offset");if(mt=mt===void 0?xt-Xt:w(mt),Xt+mt>xt)throw ge(Q);X(this,{buffer:Et,byteLength:mt,byteOffset:Xt}),m||(this.buffer=Et,this.byteLength=mt,this.byteOffset=Xt)},m&&(Ke(te,"byteLength"),Ke(_e,"buffer"),Ke(_e,"byteLength"),Ke(_e,"byteOffset")),k(_e[G],{getInt8:function(Et){return Me(this,1,Et)[0]<<24>>24},getUint8:function(Et){return Me(this,1,Et)[0]},getInt16:function(Et){var tt=Me(this,2,Et,arguments.length>1?arguments[1]:void 0);return(tt[1]<<8|tt[0])<<16>>16},getUint16:function(Et){var tt=Me(this,2,Et,arguments.length>1?arguments[1]:void 0);return tt[1]<<8|tt[0]},getInt32:function(Et){return we(Me(this,4,Et,arguments.length>1?arguments[1]:void 0))},getUint32:function(Et){return we(Me(this,4,Et,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Et){return Z(Me(this,4,Et,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Et){return Z(Me(this,8,Et,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Et,tt){ze(this,1,Et,xe,tt)},setUint8:function(Et,tt){ze(this,1,Et,xe,tt)},setInt16:function(Et,tt){ze(this,2,Et,Ee,tt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Et,tt){ze(this,2,Et,Ee,tt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Et,tt){ze(this,4,Et,Le,tt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Et,tt){ze(this,4,Et,Le,tt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Et,tt){ze(this,4,Et,fe,tt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Et,tt){ze(this,8,Et,pe,tt,arguments.length>2?arguments[2]:void 0)}});else{if(!A(function(){ne(1)})||!A(function(){new ne(-1)})||A(function(){return new ne,new ne(1.5),new ne(NaN),ne.name!=ee})){te=function(Et){return S(this,te),new ne(x(Et))};for(var Ue=te[G]=ne[G],He=N(ne),Ne=0,it;He.length>Ne;)(it=He[Ne++])in te||C(te,it,ne[it]);Ue.constructor=te}D&&j(he)!==oe&&D(he,oe);var Xe=new _e(new te(2)),ht=he.setInt8;Xe.setInt8(0,2147483648),Xe.setInt8(1,2147483649),(Xe.getInt8(0)||!Xe.getInt8(1))&&k(he,{setInt8:function(Et,tt){ht.call(this,Et,tt<<24>>24)},setUint8:function(Et,tt){ht.call(this,Et,tt<<24>>24)}},{unsafe:!0})}U(te,ee),U(_e,ie),ce.exports={ArrayBuffer:te,DataView:_e}},ZTPi:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("4i/N"),C=l("GZ0F"),k=l("xvlK"),A=l("TSYQ"),S=l.n(A),y=l("VTBJ"),w=l("ODXe"),x=l("U8pU"),T=l("Ff2n"),j=l("q1tI"),D=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Lt=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Lt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Lt==null?void 0:Lt.substr(0,4))};function N(Lt){var gn=j.useRef();gn.current=Lt;var Ln=j.useCallback(function(){for(var kr,ea=arguments.length,Qr=new Array(ea),Na=0;Na<ea;Na++)Qr[Na]=arguments[Na];return(kr=gn.current)===null||kr===void 0?void 0:kr.call.apply(kr,[gn].concat(Qr))},[]);return Ln}function F(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var B=F()?j.useLayoutEffect:j.useEffect,U=function(gn,Ln){var kr=j.useRef(!0);B(function(){return gn(kr.current)},Ln),B(function(){return kr.current=!1,function(){kr.current=!0}},[])},J=function(gn,Ln){U(function(kr){if(!kr)return gn()},Ln)},$=U;function X(Lt){var gn=j.useRef(!1),Ln=j.useState(Lt),kr=Object(w.a)(Ln,2),ea=kr[0],Qr=kr[1];j.useEffect(function(){return gn.current=!1,function(){gn.current=!0}},[]);function Na(ar,pi){pi&&gn.current||Qr(ar)}return[ea,Na]}function ee(Lt){return Lt!==void 0}function ie(Lt,gn){var Ln=gn||{},kr=Ln.defaultValue,ea=Ln.value,Qr=Ln.onChange,Na=Ln.postState,ar=X(function(){return ee(ea)?ea:ee(kr)?typeof kr=="function"?kr():kr:typeof Lt=="function"?Lt():Lt}),pi=Object(w.a)(ar,2),_i=pi[0],ti=pi[1],ui=ea!==void 0?ea:_i,Ri=Na?Na(ui):ui,ao=N(Qr),Zi=X([ui]),Fi=Object(w.a)(Zi,2),Si=Fi[0],qi=Fi[1];J(function(){var xo=Si[0];_i!==xo&&ao(_i,xo)},[Si]),J(function(){ee(ea)||ti(ea)},[ea]);var eo=N(function(xo,cs){ti(xo,cs),qi([ui],cs)});return[Ri,eo]}var G=l("8XRh"),Q=Object(j.createContext)(null),W=j.forwardRef(function(Lt,gn){var Ln=Lt.prefixCls,kr=Lt.className,ea=Lt.style,Qr=Lt.id,Na=Lt.active,ar=Lt.tabKey,pi=Lt.children;return j.createElement("div",{id:Qr&&"".concat(Qr,"-panel-").concat(ar),role:"tabpanel",tabIndex:Na?0:-1,"aria-labelledby":Qr&&"".concat(Qr,"-tab-").concat(ar),"aria-hidden":!Na,style:ea,className:S()(Ln,Na&&"".concat(Ln,"-active"),kr),ref:gn},pi)}),ne=W,te=["key","forceRender","style","className"];function _e(Lt){var gn=Lt.id,Ln=Lt.activeKey,kr=Lt.animated,ea=Lt.tabPosition,Qr=Lt.destroyInactiveTabPane,Na=j.useContext(Q),ar=Na.prefixCls,pi=Na.tabs,_i=kr.tabPane,ti="".concat(ar,"-tabpane");return j.createElement("div",{className:S()("".concat(ar,"-content-holder"))},j.createElement("div",{className:S()("".concat(ar,"-content"),"".concat(ar,"-content-").concat(ea),Object(E.a)({},"".concat(ar,"-content-animated"),_i))},pi.map(function(ui){var Ri=ui.key,ao=ui.forceRender,Zi=ui.style,Fi=ui.className,Si=Object(T.a)(ui,te),qi=Ri===Ln;return j.createElement(G.b,Object(m.a)({key:Ri,visible:qi,forceRender:ao,removeOnLeave:!!Qr,leavedClassName:"".concat(ti,"-hidden")},kr.tabPaneMotion),function(eo,xo){var cs=eo.style,ba=eo.className;return j.createElement(ne,Object(m.a)({},Si,{prefixCls:ti,id:gn,tabKey:Ri,animated:_i,active:qi,style:Object(y.a)(Object(y.a)({},Zi),cs),className:S()(Fi,ba),ref:xo}))})})))}var he=l("KQm4"),oe=l("t23M"),ge=function(gn){return+setTimeout(gn,16)},me=function(gn){return clearTimeout(gn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ge=function(gn){return window.requestAnimationFrame(gn)},me=function(gn){return window.cancelAnimationFrame(gn)});var Z=0,xe=new Map;function Ee(Lt){xe.delete(Lt)}var Le=function(gn){var Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Z+=1;var kr=Z;function ea(Qr){if(Qr===0)Ee(kr),gn();else{var Na=ge(function(){ea(Qr-1)});xe.set(kr,Na)}}return ea(Ln),kr};Le.cancel=function(Lt){var gn=xe.get(Lt);return Ee(gn),me(gn)};var we=Le,fe=l("TOwV");function pe(Lt,gn,Ln){var kr=j.useRef({});return(!("value"in kr.current)||Ln(kr.current.condition,gn))&&(kr.current.value=Lt(),kr.current.condition=gn),kr.current.value}function Ke(Lt,gn){typeof Lt=="function"?Lt(gn):Object(x.a)(Lt)==="object"&&Lt&&"current"in Lt&&(Lt.current=gn)}function Me(){for(var Lt=arguments.length,gn=new Array(Lt),Ln=0;Ln<Lt;Ln++)gn[Ln]=arguments[Ln];var kr=gn.filter(function(ea){return ea});return kr.length<=1?kr[0]:function(ea){gn.forEach(function(Qr){Ke(Qr,ea)})}}function ze(){for(var Lt=arguments.length,gn=new Array(Lt),Ln=0;Ln<Lt;Ln++)gn[Ln]=arguments[Ln];return pe(function(){return Me.apply(void 0,gn)},gn,function(kr,ea){return kr.length===ea.length&&kr.every(function(Qr,Na){return Qr===ea[Na]})})}function Ue(Lt){var gn,Ln,kr=Object(fe.isMemo)(Lt)?Lt.type.type:Lt.type;return!(typeof kr=="function"&&!((gn=kr.prototype)!==null&&gn!==void 0&&gn.render)||typeof Lt=="function"&&!((Ln=Lt.prototype)!==null&&Ln!==void 0&&Ln.render))}var He={width:0,height:0,left:0,top:0};function Ne(Lt,gn,Ln){return Object(j.useMemo)(function(){for(var kr,ea=new Map,Qr=gn.get((kr=Lt[0])===null||kr===void 0?void 0:kr.key)||He,Na=Qr.left+Qr.width,ar=0;ar<Lt.length;ar+=1){var pi=Lt[ar].key,_i=gn.get(pi);if(!_i){var ti;_i=gn.get((ti=Lt[ar-1])===null||ti===void 0?void 0:ti.key)||He}var ui=ea.get(pi)||Object(y.a)({},_i);ui.right=Na-ui.left-ui.width,ea.set(pi,ui)}return ea},[Lt.map(function(kr){return kr.key}).join("_"),gn,Ln])}function it(Lt,gn){var Ln=j.useRef(Lt),kr=j.useState({}),ea=Object(w.a)(kr,2),Qr=ea[1];function Na(ar){var pi=typeof ar=="function"?ar(Ln.current):ar;pi!==Ln.current&&gn(pi,Ln.current),Ln.current=pi,Qr({})}return[Ln.current,Na]}var Xe=.1,ht=.01,lt=20,Et=Math.pow(.995,lt);function tt(Lt,gn){var Ln=Object(j.useState)(),kr=Object(w.a)(Ln,2),ea=kr[0],Qr=kr[1],Na=Object(j.useState)(0),ar=Object(w.a)(Na,2),pi=ar[0],_i=ar[1],ti=Object(j.useState)(0),ui=Object(w.a)(ti,2),Ri=ui[0],ao=ui[1],Zi=Object(j.useState)(),Fi=Object(w.a)(Zi,2),Si=Fi[0],qi=Fi[1],eo=Object(j.useRef)();function xo(xn){var Rt=xn.touches[0],mr=Rt.screenX,ta=Rt.screenY;Qr({x:mr,y:ta}),window.clearInterval(eo.current)}function cs(xn){if(!!ea){xn.preventDefault();var Rt=xn.touches[0],mr=Rt.screenX,ta=Rt.screenY;Qr({x:mr,y:ta});var ma=mr-ea.x,Oa=ta-ea.y;gn(ma,Oa);var Pn=Date.now();_i(Pn),ao(Pn-pi),qi({x:ma,y:Oa})}}function ba(){if(!!ea&&(Qr(null),qi(null),Si)){var xn=Si.x/Ri,Rt=Si.y/Ri,mr=Math.abs(xn),ta=Math.abs(Rt);if(Math.max(mr,ta)<Xe)return;var ma=xn,Oa=Rt;eo.current=window.setInterval(function(){if(Math.abs(ma)<ht&&Math.abs(Oa)<ht){window.clearInterval(eo.current);return}ma*=Et,Oa*=Et,gn(ma*lt,Oa*lt)},lt)}}var sa=Object(j.useRef)();function Da(xn){var Rt=xn.deltaX,mr=xn.deltaY,ta=0,ma=Math.abs(Rt),Oa=Math.abs(mr);ma===Oa?ta=sa.current==="x"?Rt:mr:ma>Oa?(ta=Rt,sa.current="x"):(ta=mr,sa.current="y"),gn(-ta,-ta)&&xn.preventDefault()}var On=Object(j.useRef)(null);On.current={onTouchStart:xo,onTouchMove:cs,onTouchEnd:ba,onWheel:Da},j.useEffect(function(){function xn(ma){On.current.onTouchStart(ma)}function Rt(ma){On.current.onTouchMove(ma)}function mr(ma){On.current.onTouchEnd(ma)}function ta(ma){On.current.onWheel(ma)}return document.addEventListener("touchmove",Rt,{passive:!1}),document.addEventListener("touchend",mr,{passive:!1}),Lt.current.addEventListener("touchstart",xn,{passive:!1}),Lt.current.addEventListener("wheel",ta),function(){document.removeEventListener("touchmove",Rt),document.removeEventListener("touchend",mr)}},[])}function mt(Lt){var gn=Object(j.useState)(0),Ln=Object(w.a)(gn,2),kr=Ln[0],ea=Ln[1],Qr=Object(j.useRef)(0),Na=Object(j.useRef)();return Na.current=Lt,J(function(){var ar;(ar=Na.current)===null||ar===void 0||ar.call(Na)},[kr]),function(){Qr.current===kr&&(Qr.current+=1,ea(Qr.current))}}function xt(Lt){var gn=Object(j.useRef)([]),Ln=Object(j.useState)({}),kr=Object(w.a)(Ln,2),ea=kr[1],Qr=Object(j.useRef)(typeof Lt=="function"?Lt():Lt),Na=mt(function(){var pi=Qr.current;gn.current.forEach(function(_i){pi=_i(pi)}),gn.current=[],Qr.current=pi,ea({})});function ar(pi){gn.current.push(pi),Na()}return[Qr.current,ar]}var Xt={width:0,height:0,left:0,top:0,right:0};function vt(Lt,gn,Ln,kr,ea,Qr,Na){var ar=Na.tabs,pi=Na.tabPosition,_i=Na.rtl,ti,ui,Ri;return["top","bottom"].includes(pi)?(ti="width",ui=_i?"right":"left",Ri=Math.abs(Ln)):(ti="height",ui="top",Ri=-Ln),Object(j.useMemo)(function(){if(!ar.length)return[0,0];for(var ao=ar.length,Zi=ao,Fi=0;Fi<ao;Fi+=1){var Si=Lt.get(ar[Fi].key)||Xt;if(Si[ui]+Si[ti]>Ri+gn){Zi=Fi-1;break}}for(var qi=0,eo=ao-1;eo>=0;eo-=1){var xo=Lt.get(ar[eo].key)||Xt;if(xo[ui]<Ri){qi=eo+1;break}}return[qi,Zi]},[Lt,gn,kr,ea,Qr,Ri,pi,ar.map(function(ao){return ao.key}).join("_"),_i])}function qe(Lt){var gn;return Lt instanceof Map?(gn={},Lt.forEach(function(Ln,kr){gn[kr]=Ln})):gn=Lt,JSON.stringify(gn)}var Re="TABS_DQ";function Se(Lt){return String(Lt).replace(/"/g,Re)}function Ve(Lt,gn){var Ln=Lt.prefixCls,kr=Lt.editable,ea=Lt.locale,Qr=Lt.style;return!kr||kr.showAdd===!1?null:j.createElement("button",{ref:gn,type:"button",className:"".concat(Ln,"-nav-add"),style:Qr,"aria-label":(ea==null?void 0:ea.addAriaLabel)||"Add tab",onClick:function(ar){kr.onEdit("add",{event:ar})}},kr.addIcon||"+")}var Ge=j.forwardRef(Ve),_t=j.forwardRef(function(Lt,gn){var Ln=Lt.position,kr=Lt.prefixCls,ea=Lt.extra;if(!ea)return null;var Qr,Na={};return Object(x.a)(ea)==="object"&&!j.isValidElement(ea)?Na=ea:Na.right=ea,Ln==="right"&&(Qr=Na.right),Ln==="left"&&(Qr=Na.left),Qr?j.createElement("div",{className:"".concat(kr,"-extra-content"),ref:gn},Qr):null}),bt=_t,gt=l("uciX"),at={adjustX:1,adjustY:1},ft=[0,0],Fe={topLeft:{points:["bl","tl"],overflow:at,offset:[0,-4],targetOffset:ft},topCenter:{points:["bc","tc"],overflow:at,offset:[0,-4],targetOffset:ft},topRight:{points:["br","tr"],overflow:at,offset:[0,-4],targetOffset:ft},bottomLeft:{points:["tl","bl"],overflow:at,offset:[0,4],targetOffset:ft},bottomCenter:{points:["tc","bc"],overflow:at,offset:[0,4],targetOffset:ft},bottomRight:{points:["tr","br"],overflow:at,offset:[0,4],targetOffset:ft}},Te=Fe,ut={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(gn){var Ln=gn.keyCode;if(gn.altKey&&!gn.ctrlKey||gn.metaKey||Ln>=ut.F1&&Ln<=ut.F12)return!1;switch(Ln){case ut.ALT:case ut.CAPS_LOCK:case ut.CONTEXT_MENU:case ut.CTRL:case ut.DOWN:case ut.END:case ut.ESC:case ut.HOME:case ut.INSERT:case ut.LEFT:case ut.MAC_FF_META:case ut.META:case ut.NUMLOCK:case ut.NUM_CENTER:case ut.PAGE_DOWN:case ut.PAGE_UP:case ut.PAUSE:case ut.PRINT_SCREEN:case ut.RIGHT:case ut.SHIFT:case ut.UP:case ut.WIN_KEY:case ut.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(gn){if(gn>=ut.ZERO&&gn<=ut.NINE||gn>=ut.NUM_ZERO&&gn<=ut.NUM_MULTIPLY||gn>=ut.A&&gn<=ut.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&gn===0)return!0;switch(gn){case ut.SPACE:case ut.QUESTION_MARK:case ut.NUM_PLUS:case ut.NUM_MINUS:case ut.NUM_PERIOD:case ut.NUM_DIVISION:case ut.SEMICOLON:case ut.DASH:case ut.EQUALS:case ut.COMMA:case ut.PERIOD:case ut.SLASH:case ut.APOSTROPHE:case ut.SINGLE_QUOTE:case ut.OPEN_SQUARE_BRACKET:case ut.BACKSLASH:case ut.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},le=ut,$e=function(Lt){if(!Lt)return!1;if(Lt instanceof Element){if(Lt.offsetParent)return!0;if(Lt.getBBox){var gn=Lt.getBBox(),Ln=gn.width,kr=gn.height;if(Ln||kr)return!0}if(Lt.getBoundingClientRect){var ea=Lt.getBoundingClientRect(),Qr=ea.width,Na=ea.height;if(Qr||Na)return!0}}return!1};function Qe(Lt){var gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if($e(Lt)){var Ln=Lt.nodeName.toLowerCase(),kr=["input","select","textarea","button"].includes(Ln)||Lt.isContentEditable||Ln==="a"&&!!Lt.getAttribute("href"),ea=Lt.getAttribute("tabindex"),Qr=Number(ea),Na=null;return ea&&!Number.isNaN(Qr)?Na=Qr:kr&&Na===null&&(Na=0),kr&&Lt.disabled&&(Na=null),Na!==null&&(Na>=0||gn&&Na<0)}return!1}function Tt(Lt){var gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ln=Object(he.a)(Lt.querySelectorAll("*")).filter(function(kr){return Qe(kr,gn)});return Qe(Lt,gn)&&Ln.unshift(Lt),Ln}var Ot=null;function Ut(){Ot=document.activeElement}function At(){Ot=null}function Pt(){if(Ot)try{Ot.focus()}catch(Lt){}}function Dt(Lt,gn){if(gn.keyCode===9){var Ln=Tt(Lt),kr=Ln[gn.shiftKey?0:Ln.length-1],ea=kr===document.activeElement||Lt===document.activeElement;if(ea){var Qr=Ln[gn.shiftKey?Ln.length-1:0];Qr.focus(),gn.preventDefault()}}}var Qt=le.ESC,cn=le.TAB;function $n(Lt){var gn=Lt.visible,Ln=Lt.setTriggerVisible,kr=Lt.triggerRef,ea=Lt.onVisibleChange,Qr=Lt.autoFocus,Na=j.useRef(!1),ar=function(){if(gn&&kr.current){var ui,Ri,ao,Zi;(ui=kr.current)===null||ui===void 0||(Ri=ui.triggerRef)===null||Ri===void 0||(ao=Ri.current)===null||ao===void 0||(Zi=ao.focus)===null||Zi===void 0||Zi.call(ao),Ln(!1),typeof ea=="function"&&ea(!1)}},pi=function(){var ui,Ri,ao,Zi,Fi=Tt((ui=kr.current)===null||ui===void 0||(Ri=ui.popupRef)===null||Ri===void 0||(ao=Ri.current)===null||ao===void 0||(Zi=ao.getElement)===null||Zi===void 0?void 0:Zi.call(ao)),Si=Fi[0];return(Si==null?void 0:Si.focus)?(Si.focus(),Na.current=!0,!0):!1},_i=function(ui){switch(ui.keyCode){case Qt:ar();break;case cn:{var Ri=!1;Na.current||(Ri=pi()),Ri?ui.preventDefault():ar();break}}};j.useEffect(function(){return gn?(window.addEventListener("keydown",_i),Qr&&we(pi,3),function(){window.removeEventListener("keydown",_i),Na.current=!1}):function(){Na.current=!1}},[gn])}var hn=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function _n(Lt,gn){var Ln=Lt.arrow,kr=Ln===void 0?!1:Ln,ea=Lt.prefixCls,Qr=ea===void 0?"rc-dropdown":ea,Na=Lt.transitionName,ar=Lt.animation,pi=Lt.align,_i=Lt.placement,ti=_i===void 0?"bottomLeft":_i,ui=Lt.placements,Ri=ui===void 0?Te:ui,ao=Lt.getPopupContainer,Zi=Lt.showAction,Fi=Lt.hideAction,Si=Lt.overlayClassName,qi=Lt.overlayStyle,eo=Lt.visible,xo=Lt.trigger,cs=xo===void 0?["hover"]:xo,ba=Lt.autoFocus,sa=Object(T.a)(Lt,hn),Da=j.useState(),On=Object(w.a)(Da,2),xn=On[0],Rt=On[1],mr="visible"in Lt?eo:xn,ta=j.useRef(null);j.useImperativeHandle(gn,function(){return ta.current}),$n({visible:mr,setTriggerVisible:Rt,triggerRef:ta,onVisibleChange:Lt.onVisibleChange,autoFocus:ba});var ma=function(){var lo=Lt.overlay,Oi;return typeof lo=="function"?Oi=lo():Oi=lo,Oi},Oa=function(lo){var Oi=Lt.onOverlayClick;Rt(!1),Oi&&Oi(lo)},Pn=function(lo){var Oi=Lt.onVisibleChange;Rt(lo),typeof Oi=="function"&&Oi(lo)},Kr=function(){var lo=ma();return j.createElement(j.Fragment,null,kr&&j.createElement("div",{className:"".concat(Qr,"-arrow")}),lo)},Vn=function(){var lo=Lt.overlay;return typeof lo=="function"?Kr:Kr()},tr=function(){var lo=Lt.minOverlayWidthMatchTrigger,Oi=Lt.alignPoint;return"minOverlayWidthMatchTrigger"in Lt?lo:!Oi},Ea=function(){var lo=Lt.openClassName;return lo!==void 0?lo:"".concat(Qr,"-open")},Ja=function(){var lo=Lt.children,Oi=lo.props?lo.props:{},io=S()(Oi.className,Ea());return mr&&lo?j.cloneElement(lo,{className:io}):lo},go=Fi;return!go&&cs.indexOf("contextMenu")!==-1&&(go=["click"]),j.createElement(gt.a,Object(y.a)(Object(y.a)({builtinPlacements:Ri},sa),{},{prefixCls:Qr,ref:ta,popupClassName:S()(Si,Object(E.a)({},"".concat(Qr,"-show-arrow"),kr)),popupStyle:qi,action:cs,showAction:Zi,hideAction:go||[],popupPlacement:ti,popupAlign:pi,popupTransitionName:Na,popupAnimation:ar,popupVisible:mr,stretch:tr()?"minWidth":"",popup:Vn(),onPopupVisibleChange:Pn,onPopupClick:Oa,getPopupContainer:ao}),Ja())}var bn=j.forwardRef(_n),Bn=bn,Tn=l("1j5w");function Tr(Lt,gn){var Ln=Lt.prefixCls,kr=Lt.id,ea=Lt.tabs,Qr=Lt.locale,Na=Lt.mobile,ar=Lt.moreIcon,pi=ar===void 0?"More":ar,_i=Lt.moreTransitionName,ti=Lt.style,ui=Lt.className,Ri=Lt.editable,ao=Lt.tabBarGutter,Zi=Lt.rtl,Fi=Lt.removeAriaLabel,Si=Lt.onTabClick,qi=Lt.getPopupContainer,eo=Lt.popupClassName,xo=Object(j.useState)(!1),cs=Object(w.a)(xo,2),ba=cs[0],sa=cs[1],Da=Object(j.useState)(null),On=Object(w.a)(Da,2),xn=On[0],Rt=On[1],mr="".concat(kr,"-more-popup"),ta="".concat(Ln,"-dropdown"),ma=xn!==null?"".concat(mr,"-").concat(xn):null,Oa=Qr==null?void 0:Qr.dropdownAriaLabel;function Pn(fi,lo){fi.preventDefault(),fi.stopPropagation(),Ri.onEdit("remove",{key:lo,event:fi})}var Kr=j.createElement(Tn.g,{onClick:function(lo){var Oi=lo.key,io=lo.domEvent;Si(Oi,io),sa(!1)},prefixCls:"".concat(ta,"-menu"),id:mr,tabIndex:-1,role:"listbox","aria-activedescendant":ma,selectedKeys:[xn],"aria-label":Oa!==void 0?Oa:"expanded dropdown"},ea.map(function(fi){var lo=Ri&&fi.closable!==!1&&!fi.disabled;return j.createElement(Tn.d,{key:fi.key,id:"".concat(mr,"-").concat(fi.key),role:"option","aria-controls":kr&&"".concat(kr,"-panel-").concat(fi.key),disabled:fi.disabled},j.createElement("span",null,fi.label),lo&&j.createElement("button",{type:"button","aria-label":Fi||"remove",tabIndex:0,className:"".concat(ta,"-menu-item-remove"),onClick:function(io){io.stopPropagation(),Pn(io,fi.key)}},fi.closeIcon||Ri.removeIcon||"\xD7"))}));function Vn(fi){for(var lo=ea.filter(function(qo){return!qo.disabled}),Oi=lo.findIndex(function(qo){return qo.key===xn})||0,io=lo.length,Vi=0;Vi<io;Vi+=1){Oi=(Oi+fi+io)%io;var vo=lo[Oi];if(!vo.disabled){Rt(vo.key);return}}}function tr(fi){var lo=fi.which;if(!ba){[le.DOWN,le.SPACE,le.ENTER].includes(lo)&&(sa(!0),fi.preventDefault());return}switch(lo){case le.UP:Vn(-1),fi.preventDefault();break;case le.DOWN:Vn(1),fi.preventDefault();break;case le.ESC:sa(!1);break;case le.SPACE:case le.ENTER:xn!==null&&Si(xn,fi);break}}Object(j.useEffect)(function(){var fi=document.getElementById(ma);fi&&fi.scrollIntoView&&fi.scrollIntoView(!1)},[xn]),Object(j.useEffect)(function(){ba||Rt(null)},[ba]);var Ea=Object(E.a)({},Zi?"marginRight":"marginLeft",ao);ea.length||(Ea.visibility="hidden",Ea.order=1);var Ja=S()(Object(E.a)({},"".concat(ta,"-rtl"),Zi)),go=Na?null:j.createElement(Bn,{prefixCls:ta,overlay:Kr,trigger:["hover"],visible:ea.length?ba:!1,transitionName:_i,onVisibleChange:sa,overlayClassName:S()(Ja,eo),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:qi},j.createElement("button",{type:"button",className:"".concat(Ln,"-nav-more"),style:Ea,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":mr,id:"".concat(kr,"-more"),"aria-expanded":ba,onKeyDown:tr},pi));return j.createElement("div",{className:S()("".concat(Ln,"-nav-operations"),ui),style:ti,ref:gn},go,j.createElement(Ge,{prefixCls:Ln,locale:Qr,editable:Ri}))}var Sr=j.memo(j.forwardRef(Tr),function(Lt,gn){return gn.tabMoving});function Wr(Lt){var gn,Ln=Lt.prefixCls,kr=Lt.id,ea=Lt.active,Qr=Lt.tab,Na=Qr.key,ar=Qr.label,pi=Qr.disabled,_i=Qr.closeIcon,ti=Lt.closable,ui=Lt.renderWrapper,Ri=Lt.removeAriaLabel,ao=Lt.editable,Zi=Lt.onClick,Fi=Lt.onFocus,Si=Lt.style,qi="".concat(Ln,"-tab"),eo=ao&&ti!==!1&&!pi;function xo(sa){pi||Zi(sa)}function cs(sa){sa.preventDefault(),sa.stopPropagation(),ao.onEdit("remove",{key:Na,event:sa})}var ba=j.createElement("div",{key:Na,"data-node-key":Se(Na),className:S()(qi,(gn={},Object(E.a)(gn,"".concat(qi,"-with-remove"),eo),Object(E.a)(gn,"".concat(qi,"-active"),ea),Object(E.a)(gn,"".concat(qi,"-disabled"),pi),gn)),style:Si,onClick:xo},j.createElement("div",{role:"tab","aria-selected":ea,id:kr&&"".concat(kr,"-tab-").concat(Na),className:"".concat(qi,"-btn"),"aria-controls":kr&&"".concat(kr,"-panel-").concat(Na),"aria-disabled":pi,tabIndex:pi?null:0,onClick:function(Da){Da.stopPropagation(),xo(Da)},onKeyDown:function(Da){[le.SPACE,le.ENTER].includes(Da.which)&&(Da.preventDefault(),xo(Da))},onFocus:Fi},ar),eo&&j.createElement("button",{type:"button","aria-label":Ri||"remove",tabIndex:0,className:"".concat(qi,"-remove"),onClick:function(Da){Da.stopPropagation(),cs(Da)}},_i||ao.removeIcon||"\xD7"));return ui?ui(ba):ba}var br=Wr,Wn=function(gn){var Ln=gn.current||{},kr=Ln.offsetWidth,ea=kr===void 0?0:kr,Qr=Ln.offsetHeight,Na=Qr===void 0?0:Qr;return[ea,Na]},gr=function(gn,Ln){return gn[Ln?0:1]};function na(Lt,gn){var Ln,kr=j.useContext(Q),ea=kr.prefixCls,Qr=kr.tabs,Na=Lt.className,ar=Lt.style,pi=Lt.id,_i=Lt.animated,ti=Lt.activeKey,ui=Lt.rtl,Ri=Lt.extra,ao=Lt.editable,Zi=Lt.locale,Fi=Lt.tabPosition,Si=Lt.tabBarGutter,qi=Lt.children,eo=Lt.onTabClick,xo=Lt.onTabScroll,cs=Object(j.useRef)(),ba=Object(j.useRef)(),sa=Object(j.useRef)(),Da=Object(j.useRef)(),On=Object(j.useRef)(),xn=Object(j.useRef)(),Rt=Object(j.useRef)(),mr=Fi==="top"||Fi==="bottom",ta=it(0,function(rl,dl){mr&&xo&&xo({direction:rl>dl?"left":"right"})}),ma=Object(w.a)(ta,2),Oa=ma[0],Pn=ma[1],Kr=it(0,function(rl,dl){!mr&&xo&&xo({direction:rl>dl?"top":"bottom"})}),Vn=Object(w.a)(Kr,2),tr=Vn[0],Ea=Vn[1],Ja=Object(j.useState)([0,0]),go=Object(w.a)(Ja,2),fi=go[0],lo=go[1],Oi=Object(j.useState)([0,0]),io=Object(w.a)(Oi,2),Vi=io[0],vo=io[1],qo=Object(j.useState)([0,0]),hs=Object(w.a)(qo,2),$t=hs[0],rt=hs[1],Vt=Object(j.useState)([0,0]),tn=Object(w.a)(Vt,2),wn=tn[0],qn=tn[1],zn=xt(new Map),xr=Object(w.a)(zn,2),da=xr[0],en=xr[1],Fn=Ne(Qr,da,Vi[0]),Jn=gr(fi,mr),Ir=gr(Vi,mr),Gr=gr($t,mr),ga=gr(wn,mr),Mr=Jn<Ir+Gr,$a=Mr?Jn-ga:Jn-Gr,Ya="".concat(ea,"-nav-operations-hidden"),_o=0,Ni=0;mr&&ui?(_o=0,Ni=Math.max(0,Ir-$a)):(_o=Math.min(0,$a-Ir),Ni=0);function ec(rl){return rl<_o?_o:rl>Ni?Ni:rl}var ks=Object(j.useRef)(),jo=Object(j.useState)(),Qn=Object(w.a)(jo,2),ka=Qn[0],Pa=Qn[1];function Qa(){Pa(Date.now())}function Ei(){window.clearTimeout(ks.current)}tt(Da,function(rl,dl){function qt(nr,Ur){nr(function(Yr){var ni=ec(Yr+Ur);return ni})}return Mr?(mr?qt(Pn,rl):qt(Ea,dl),Ei(),Qa(),!0):!1}),Object(j.useEffect)(function(){return Ei(),ka&&(ks.current=window.setTimeout(function(){Pa(0)},100)),Ei},[ka]);var zo=vt(Fn,$a,mr?Oa:tr,Ir,Gr,ga,Object(y.a)(Object(y.a)({},Lt),{},{tabs:Qr})),fo=Object(w.a)(zo,2),gs=fo[0],Ks=fo[1],pc=N(function(){var rl=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ti,dl=Fn.get(rl)||{width:0,height:0,left:0,right:0,top:0};if(mr){var qt=Oa;ui?dl.right<Oa?qt=dl.right:dl.right+dl.width>Oa+$a&&(qt=dl.right+dl.width-$a):dl.left<-Oa?qt=-dl.left:dl.left+dl.width>-Oa+$a&&(qt=-(dl.left+dl.width-$a)),Ea(0),Pn(ec(qt))}else{var nr=tr;dl.top<-tr?nr=-dl.top:dl.top+dl.height>-tr+$a&&(nr=-(dl.top+dl.height-$a)),Pn(0),Ea(ec(nr))}}),tc={};Fi==="top"||Fi==="bottom"?tc[ui?"marginRight":"marginLeft"]=Si:tc.marginTop=Si;var xc=Qr.map(function(rl,dl){var qt=rl.key;return j.createElement(br,{id:pi,prefixCls:ea,key:qt,tab:rl,style:dl===0?void 0:tc,closable:rl.closable,editable:ao,active:qt===ti,renderWrapper:qi,removeAriaLabel:Zi==null?void 0:Zi.removeAriaLabel,onClick:function(Ur){eo(qt,Ur)},onFocus:function(){pc(qt),Qa(),!!Da.current&&(ui||(Da.current.scrollLeft=0),Da.current.scrollTop=0)}})}),kc=function(){return en(function(){var dl=new Map;return Qr.forEach(function(qt){var nr,Ur=qt.key,Yr=(nr=On.current)===null||nr===void 0?void 0:nr.querySelector('[data-node-key="'.concat(Se(Ur),'"]'));Yr&&dl.set(Ur,{width:Yr.offsetWidth,height:Yr.offsetHeight,left:Yr.offsetLeft,top:Yr.offsetTop})}),dl})};Object(j.useEffect)(function(){kc()},[Qr.map(function(rl){return rl.key}).join("_")]);var Ss=mt(function(){var rl=Wn(cs),dl=Wn(ba),qt=Wn(sa);lo([rl[0]-dl[0]-qt[0],rl[1]-dl[1]-qt[1]]);var nr=Wn(Rt);rt(nr);var Ur=Wn(xn);qn(Ur);var Yr=Wn(On);vo([Yr[0]-nr[0],Yr[1]-nr[1]]),kc()}),Js=Qr.slice(0,gs),Mo=Qr.slice(Ks+1),js=[].concat(Object(he.a)(Js),Object(he.a)(Mo)),Yc=Object(j.useState)(),gc=Object(w.a)(Yc,2),Cl=gc[0],wl=gc[1],Wc=Fn.get(ti),nl=Object(j.useRef)();function Rc(){we.cancel(nl.current)}Object(j.useEffect)(function(){var rl={};return Wc&&(mr?(ui?rl.right=Wc.right:rl.left=Wc.left,rl.width=Wc.width):(rl.top=Wc.top,rl.height=Wc.height)),Rc(),nl.current=we(function(){wl(rl)}),Rc},[Wc,mr,ui]),Object(j.useEffect)(function(){pc()},[ti,_o,Ni,qe(Wc),qe(Fn),mr]),Object(j.useEffect)(function(){Ss()},[ui]);var su=!!js.length,Pl="".concat(ea,"-nav-wrap"),al,Ml,Tl,td;return mr?ui?(Ml=Oa>0,al=Oa!==Ni):(al=Oa<0,Ml=Oa!==_o):(Tl=tr<0,td=tr!==_o),j.createElement(oe.a,{onResize:Ss},j.createElement("div",{ref:ze(gn,cs),role:"tablist",className:S()("".concat(ea,"-nav"),Na),style:ar,onKeyDown:function(){Qa()}},j.createElement(bt,{ref:ba,position:"left",extra:Ri,prefixCls:ea}),j.createElement("div",{className:S()(Pl,(Ln={},Object(E.a)(Ln,"".concat(Pl,"-ping-left"),al),Object(E.a)(Ln,"".concat(Pl,"-ping-right"),Ml),Object(E.a)(Ln,"".concat(Pl,"-ping-top"),Tl),Object(E.a)(Ln,"".concat(Pl,"-ping-bottom"),td),Ln)),ref:Da},j.createElement(oe.a,{onResize:Ss},j.createElement("div",{ref:On,className:"".concat(ea,"-nav-list"),style:{transform:"translate(".concat(Oa,"px, ").concat(tr,"px)"),transition:ka?"none":void 0}},xc,j.createElement(Ge,{ref:Rt,prefixCls:ea,locale:Zi,editable:ao,style:Object(y.a)(Object(y.a)({},xc.length===0?void 0:tc),{},{visibility:su?"hidden":null})}),j.createElement("div",{className:S()("".concat(ea,"-ink-bar"),Object(E.a)({},"".concat(ea,"-ink-bar-animated"),_i.inkBar)),style:Cl})))),j.createElement(Sr,Object(m.a)({},Lt,{removeAriaLabel:Zi==null?void 0:Zi.removeAriaLabel,ref:xn,prefixCls:ea,tabs:js,className:!su&&Ya,tabMoving:!!ka})),j.createElement(bt,{ref:sa,position:"right",extra:Ri,prefixCls:ea})))}var jn=j.forwardRef(na),un=["renderTabBar"],zt=["label","key"];function Bt(Lt){var gn=Lt.renderTabBar,Ln=Object(T.a)(Lt,un),kr=j.useContext(Q),ea=kr.tabs;if(gn){var Qr=Object(y.a)(Object(y.a)({},Ln),{},{panes:ea.map(function(Na){var ar=Na.label,pi=Na.key,_i=Object(T.a)(Na,zt);return j.createElement(ne,Object(m.a)({tab:ar,key:pi,tabKey:pi},_i))})});return gn(Qr,jn)}return j.createElement(jn,Ln)}var H={},ot=[],nt=function(gn){ot.push(gn)};function Ct(Lt,gn){if(!1)var Ln}function Wt(Lt,gn){if(!1)var Ln}function kn(){H={}}function Sn(Lt,gn,Ln){!gn&&!H[Ln]&&(Lt(!1,Ln),H[Ln]=!0)}function Zn(Lt,gn){Sn(Ct,Lt,gn)}function Or(Lt,gn){Sn(Wt,Lt,gn)}Zn.preMessage=nt,Zn.resetWarned=kn,Zn.noteOnce=Or;var Yn=Zn;function Nn(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},gn;return Lt===!1?gn={inkBar:!1,tabPane:!1}:Lt===!0?gn={inkBar:!0,tabPane:!1}:gn=Object(y.a)({inkBar:!0},Object(x.a)(Lt)==="object"?Lt:{}),gn.tabPaneMotion&&gn.tabPane===void 0&&(gn.tabPane=!0),!gn.tabPaneMotion&&gn.tabPane&&(gn.tabPane=!1),gn}var Zt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],rr=0;function Gn(Lt,gn){var Ln,kr=Lt.id,ea=Lt.prefixCls,Qr=ea===void 0?"rc-tabs":ea,Na=Lt.className,ar=Lt.items,pi=Lt.direction,_i=Lt.activeKey,ti=Lt.defaultActiveKey,ui=Lt.editable,Ri=Lt.animated,ao=Lt.tabPosition,Zi=ao===void 0?"top":ao,Fi=Lt.tabBarGutter,Si=Lt.tabBarStyle,qi=Lt.tabBarExtraContent,eo=Lt.locale,xo=Lt.moreIcon,cs=Lt.moreTransitionName,ba=Lt.destroyInactiveTabPane,sa=Lt.renderTabBar,Da=Lt.onChange,On=Lt.onTabClick,xn=Lt.onTabScroll,Rt=Lt.getPopupContainer,mr=Lt.popupClassName,ta=Object(T.a)(Lt,Zt),ma=j.useMemo(function(){return(ar||[]).filter(function(zn){return zn&&Object(x.a)(zn)==="object"&&"key"in zn})},[ar]),Oa=pi==="rtl",Pn=Nn(Ri),Kr=Object(j.useState)(!1),Vn=Object(w.a)(Kr,2),tr=Vn[0],Ea=Vn[1];Object(j.useEffect)(function(){Ea(D())},[]);var Ja=ie(function(){var zn;return(zn=ma[0])===null||zn===void 0?void 0:zn.key},{value:_i,defaultValue:ti}),go=Object(w.a)(Ja,2),fi=go[0],lo=go[1],Oi=Object(j.useState)(function(){return ma.findIndex(function(zn){return zn.key===fi})}),io=Object(w.a)(Oi,2),Vi=io[0],vo=io[1];Object(j.useEffect)(function(){var zn=ma.findIndex(function(da){return da.key===fi});if(zn===-1){var xr;zn=Math.max(0,Math.min(Vi,ma.length-1)),lo((xr=ma[zn])===null||xr===void 0?void 0:xr.key)}vo(zn)},[ma.map(function(zn){return zn.key}).join("_"),fi,Vi]);var qo=ie(null,{value:kr}),hs=Object(w.a)(qo,2),$t=hs[0],rt=hs[1];Object(j.useEffect)(function(){kr||(rt("rc-tabs-".concat(rr)),rr+=1)},[]);function Vt(zn,xr){On==null||On(zn,xr);var da=zn!==fi;lo(zn),da&&(Da==null||Da(zn))}var tn={id:$t,activeKey:fi,animated:Pn,tabPosition:Zi,rtl:Oa,mobile:tr},wn,qn=Object(y.a)(Object(y.a)({},tn),{},{editable:ui,locale:eo,moreIcon:xo,moreTransitionName:cs,tabBarGutter:Fi,onTabClick:Vt,onTabScroll:xn,extra:qi,style:Si,panes:null,getPopupContainer:Rt,popupClassName:mr});return j.createElement(Q.Provider,{value:{tabs:ma,prefixCls:Qr}},j.createElement("div",Object(m.a)({ref:gn,id:kr,className:S()(Qr,"".concat(Qr,"-").concat(Zi),(Ln={},Object(E.a)(Ln,"".concat(Qr,"-mobile"),tr),Object(E.a)(Ln,"".concat(Qr,"-editable"),ui),Object(E.a)(Ln,"".concat(Qr,"-rtl"),Oa),Ln),Na)},ta),wn,j.createElement(Bt,Object(m.a)({},qn,{renderTabBar:sa})),j.createElement(_e,Object(m.a)({destroyInactiveTabPane:ba},tn,{animated:Pn}))))}var ln=j.forwardRef(Gn),Xn=ln,Kn=Xn,fr=l("H84U"),Hn=l("3Nzz"),Sa=l("EXcs"),Lr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Ca(Lt){var gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Ln;return gn===!1?Ln={inkBar:!1,tabPane:!1}:gn===!0?Ln={inkBar:!0,tabPane:!0}:Ln=Object(m.a)({inkBar:!0},Object(x.a)(gn)==="object"?gn:{}),Ln.tabPane&&(Ln.tabPaneMotion=Object(m.a)(Object(m.a)({},Lr),{motionName:Object(Sa.c)(Lt,"switch")})),Ln}var za=l("axMd"),Ma=function(Lt,gn){var Ln={};for(var kr in Lt)Object.prototype.hasOwnProperty.call(Lt,kr)&&gn.indexOf(kr)<0&&(Ln[kr]=Lt[kr]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ea=0,kr=Object.getOwnPropertySymbols(Lt);ea<kr.length;ea++)gn.indexOf(kr[ea])<0&&Object.prototype.propertyIsEnumerable.call(Lt,kr[ea])&&(Ln[kr[ea]]=Lt[kr[ea]]);return Ln};function va(Lt){return Lt.filter(function(gn){return gn})}function qa(Lt,gn){if(Lt)return Lt;var Ln=Object(za.a)(gn).map(function(kr){if(j.isValidElement(kr)){var ea=kr.key,Qr=kr.props,Na=Qr||{},ar=Na.tab,pi=Ma(Na,["tab"]),_i=Object(m.a)(Object(m.a)({key:String(ea)},pi),{label:ar});return _i}return null});return va(Ln)}var gi=function(){return null},Qi=gi,mi=function(Lt,gn){var Ln={};for(var kr in Lt)Object.prototype.hasOwnProperty.call(Lt,kr)&&gn.indexOf(kr)<0&&(Ln[kr]=Lt[kr]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ea=0,kr=Object.getOwnPropertySymbols(Lt);ea<kr.length;ea++)gn.indexOf(kr[ea])<0&&Object.prototype.propertyIsEnumerable.call(Lt,kr[ea])&&(Ln[kr[ea]]=Lt[kr[ea]]);return Ln};function Cr(Lt){var gn=Lt.type,Ln=Lt.className,kr=Lt.size,ea=Lt.onEdit,Qr=Lt.hideAdd,Na=Lt.centered,ar=Lt.addIcon,pi=Lt.children,_i=Lt.items,ti=Lt.animated,ui=mi(Lt,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),Ri=ui.prefixCls,ao=ui.moreIcon,Zi=ao===void 0?j.createElement(C.a,null):ao,Fi=j.useContext(fr.b),Si=Fi.getPrefixCls,qi=Fi.direction,eo=Fi.getPopupContainer,xo=Si("tabs",Ri),cs;gn==="editable-card"&&(cs={onEdit:function(xn,Rt){var mr=Rt.key,ta=Rt.event;ea==null||ea(xn==="add"?ta:mr,xn)},removeIcon:j.createElement(O.a,null),addIcon:ar||j.createElement(k.a,null),showAdd:Qr!==!0});var ba=Si(),sa=qa(_i,pi),Da=Ca(xo,ti);return j.createElement(Hn.b.Consumer,null,function(On){var xn,Rt=kr!==void 0?kr:On;return j.createElement(Kn,Object(m.a)({direction:qi,getPopupContainer:eo,moreTransitionName:"".concat(ba,"-slide-up")},ui,{items:sa,className:S()((xn={},Object(E.a)(xn,"".concat(xo,"-").concat(Rt),Rt),Object(E.a)(xn,"".concat(xo,"-card"),["card","editable-card"].includes(gn)),Object(E.a)(xn,"".concat(xo,"-editable-card"),gn==="editable-card"),Object(E.a)(xn,"".concat(xo,"-centered"),Na),xn),Ln),editable:cs,moreIcon:Zi,prefixCls:xo,animated:Da}))})}Cr.TabPane=Qi;var Un=R.a=Cr},ZTW2:function(ce,R,l){},ZW6p:function(ce,R,l){"use strict";l.d(R,"d",function(){return F}),l.d(R,"a",function(){return B}),l.d(R,"c",function(){return U}),l.d(R,"b",function(){return $});var E=l("GNNt"),m=l("wEI+"),O=l("tJVT"),C=l("q1tI"),k=l.n(C),A=l("+qE3"),S=l.n(A),y=l("wd/R"),w=l.n(y),x=l("XDpg"),T=l.n(x),j=l("Fghh"),D=l("nKUr"),N=l.n(D),F=new S.a;F.setMaxListeners(5);var B=Symbol("LANG_CHANGE");function U(){var X=Object(j.d)();if(w.a!==null&&w.a!==void 0&&w.a.locale){var ee;w.a.locale(((ee=j.e[X])===null||ee===void 0?void 0:ee.momentLocale)||"")}Object(j.f)(X)}var J=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?k.a.useLayoutEffect:k.a.useEffect,$=function(ee){var ie,G=k.a.useState(function(){return Object(j.d)()}),Q=Object(O.a)(G,2),W=Q[0],ne=Q[1],te=k.a.useState(function(){return Object(j.c)(W,!0)}),_e=Object(O.a)(te,2),he=_e[0],oe=_e[1],ge=function(Ee){if(w.a!==null&&w.a!==void 0&&w.a.locale){var Le;w.a.locale(((Le=j.e[Ee])===null||Le===void 0?void 0:Le.momentLocale)||"en")}ne(Ee),oe(Object(j.c)(Ee))};J(function(){return F.on(B,ge),function(){F.off(B,ge)}},[]);var me={},Z=Object(j.b)();return Object(D.jsx)(m.a,{direction:Z,locale:((ie=j.e[W])===null||ie===void 0?void 0:ie.antd)||me,children:Object(D.jsx)(j.a,{value:he,children:ee.children})})}},ZWtO:function(ce,R,l){var E=l("4uTw"),m=l("9Nap");function O(C,k){k=E(k,C);for(var A=0,S=k.length;C!=null&&A<S;)C=C[m(k[A++])];return A&&A==S?C:void 0}ce.exports=O},ZX9x:function(ce,R,l){"use strict";l.d(R,"a",function(){return ie});var E=l("rePB"),m=l("wx14"),O=l("ODXe"),C=l("VTBJ"),k=l("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},S=A,y=l("6VBw"),w=function(te,_e){return k.createElement(y.a,Object(C.a)(Object(C.a)({},te),{},{ref:_e,icon:S}))};w.displayName="BarsOutlined";var x=k.forwardRef(w),T=l("5bA4"),j=l("UESt"),D=l("TSYQ"),N=l.n(D),F=l("Ya77"),B=l("H84U"),U=function(te){return!isNaN(parseFloat(te))&&isFinite(te)},J=U,$=l("PKem"),X=function(ne,te){var _e={};for(var he in ne)Object.prototype.hasOwnProperty.call(ne,he)&&te.indexOf(he)<0&&(_e[he]=ne[he]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,he=Object.getOwnPropertySymbols(ne);oe<he.length;oe++)te.indexOf(he[oe])<0&&Object.prototype.propertyIsEnumerable.call(ne,he[oe])&&(_e[he[oe]]=ne[he[oe]]);return _e},ee={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ie=k.createContext({}),G=function(){var ne=0;return function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,"".concat(te).concat(ne)}}(),Q=k.forwardRef(function(ne,te){var _e=ne.prefixCls,he=ne.className,oe=ne.trigger,ge=ne.children,me=ne.defaultCollapsed,Z=me===void 0?!1:me,xe=ne.theme,Ee=xe===void 0?"dark":xe,Le=ne.style,we=Le===void 0?{}:Le,fe=ne.collapsible,pe=fe===void 0?!1:fe,Ke=ne.reverseArrow,Me=Ke===void 0?!1:Ke,ze=ne.width,Ue=ze===void 0?200:ze,He=ne.collapsedWidth,Ne=He===void 0?80:He,it=ne.zeroWidthTriggerStyle,Xe=ne.breakpoint,ht=ne.onCollapse,lt=ne.onBreakpoint,Et=X(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),tt=Object(k.useContext)($.d),mt=tt.siderHook,xt=Object(k.useState)("collapsed"in Et?Et.collapsed:Z),Xt=Object(O.a)(xt,2),vt=Xt[0],qe=Xt[1],Re=Object(k.useState)(!1),Se=Object(O.a)(Re,2),Ve=Se[0],Ge=Se[1];Object(k.useEffect)(function(){"collapsed"in Et&&qe(Et.collapsed)},[Et.collapsed]);var _t=function(le,$e){"collapsed"in Et||qe(le),ht==null||ht(le,$e)},bt=Object(k.useRef)();bt.current=function(ut){Ge(ut.matches),lt==null||lt(ut.matches),vt!==ut.matches&&_t(ut.matches,"responsive")},Object(k.useEffect)(function(){function ut(Tt){return bt.current(Tt)}var le;if(typeof window!="undefined"){var $e=window,Qe=$e.matchMedia;if(Qe&&Xe&&Xe in ee){le=Qe("(max-width: ".concat(ee[Xe],")"));try{le.addEventListener("change",ut)}catch(Tt){le.addListener(ut)}ut(le)}}return function(){try{le==null||le.removeEventListener("change",ut)}catch(Tt){le==null||le.removeListener(ut)}}},[Xe]),Object(k.useEffect)(function(){var ut=G("ant-sider-");return mt.addSider(ut),function(){return mt.removeSider(ut)}},[]);var gt=function(){_t(!vt,"clickTrigger")},at=Object(k.useContext)(B.b),ft=at.getPrefixCls,Fe=function(){var le,$e=ft("layout-sider",_e),Qe=Object(F.a)(Et,["collapsed"]),Tt=vt?Ne:Ue,Ot=J(Tt)?"".concat(Tt,"px"):String(Tt),Ut=parseFloat(String(Ne||0))===0?k.createElement("span",{onClick:gt,className:N()("".concat($e,"-zero-width-trigger"),"".concat($e,"-zero-width-trigger-").concat(Me?"right":"left")),style:it},oe||k.createElement(x,null)):null,At={expanded:Me?k.createElement(j.a,null):k.createElement(T.a,null),collapsed:Me?k.createElement(T.a,null):k.createElement(j.a,null)},Pt=vt?"collapsed":"expanded",Dt=At[Pt],Qt=oe!==null?Ut||k.createElement("div",{className:"".concat($e,"-trigger"),onClick:gt,style:{width:Ot}},oe||Dt):null,cn=Object(m.a)(Object(m.a)({},we),{flex:"0 0 ".concat(Ot),maxWidth:Ot,minWidth:Ot,width:Ot}),$n=N()($e,"".concat($e,"-").concat(Ee),(le={},Object(E.a)(le,"".concat($e,"-collapsed"),!!vt),Object(E.a)(le,"".concat($e,"-has-trigger"),pe&&oe!==null&&!Ut),Object(E.a)(le,"".concat($e,"-below"),!!Ve),Object(E.a)(le,"".concat($e,"-zero-width"),parseFloat(Ot)===0),le),he);return k.createElement("aside",Object(m.a)({className:$n},Qe,{style:cn,ref:te}),k.createElement("div",{className:"".concat($e,"-children")},ge),pe||Ve&&Ut?Qt:null)},Te=k.useMemo(function(){return{siderCollapsed:vt}},[vt]);return k.createElement(ie.Provider,{value:Te},Fe())}),W=R.b=Q},ZahQ:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("i7kj"),C=l("cTDu"),k=l("cT1L"),A=l("YfKC");m&&E({target:"Object",proto:!0,forced:O},{__defineGetter__:function(y,w){A.f(C(this),y,{get:k(w),enumerable:!0,configurable:!0})}})},Zcjx:function(ce,R){ce.exports=!1},Ze4s:function(ce,R,l){var E=l("ukPv"),m=l("mTKU").trim,O=l("Tfd0"),C=E.parseInt,k=/^[+-]?0[Xx]/,A=C(O+"08")!==8||C(O+"0x16")!==22;ce.exports=A?function(y,w){var x=m(String(y));return C(x,w>>>0||(k.test(x)?16:10))}:C},ZhIB:function(ce,R,l){var E,m;/*! @preserve
* numeral.js
* version : 2.0.6
* author : Adam Draper
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
*/(function(O,C){E=C,m=typeof E=="function"?E.call(R,l,R,ce):E,m!==void 0&&(ce.exports=m)})(this,function(){var O,C,k="2.0.6",A={},S={},y={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},w={currentLocale:y.currentLocale,zeroFormat:y.zeroFormat,nullFormat:y.nullFormat,defaultFormat:y.defaultFormat,scalePercentBy100:y.scalePercentBy100};function x(T,j){this._input=T,this._value=j}return O=function(j){var D,N,F,B;if(O.isNumeral(j))D=j.value();else if(j===0||typeof j=="undefined")D=0;else if(j===null||C.isNaN(j))D=null;else if(typeof j=="string")if(w.zeroFormat&&j===w.zeroFormat)D=0;else if(w.nullFormat&&j===w.nullFormat||!j.replace(/[^0-9]+/g,"").length)D=null;else{for(N in A)if(B=typeof A[N].regexps.unformat=="function"?A[N].regexps.unformat():A[N].regexps.unformat,B&&j.match(B)){F=A[N].unformat;break}F=F||O._.stringToNumber,D=F(j)}else D=Number(j)||null;return new x(j,D)},O.version=k,O.isNumeral=function(T){return T instanceof x},O._=C={numberToFormat:function(j,D,N){var F=S[O.options.currentLocale],B=!1,U=!1,J=0,$="",X=1e12,ee=1e9,ie=1e6,G=1e3,Q="",W=!1,ne,te,_e,he,oe,ge,me,Z,xe,Ee;if(j=j||0,te=Math.abs(j),O._.includes(D,"(")?(B=!0,D=D.replace(/[\(|\)]/g,"")):(O._.includes(D,"+")||O._.includes(D,"-"))&&(Z=O._.includes(D,"+")?D.indexOf("+"):j<0?D.indexOf("-"):-1,D=D.replace(/[\+|\-]/g,"")),O._.includes(D,"a")&&(ne=D.match(/a(k|m|b|t)?/),ne=ne?ne[1]:!1,O._.includes(D," a")&&($=" "),D=D.replace(new RegExp($+"a[kmbt]?"),""),te>=X&&!ne||ne==="t"?($+=F.abbreviations.trillion,j=j/X):te<X&&te>=ee&&!ne||ne==="b"?($+=F.abbreviations.billion,j=j/ee):te<ee&&te>=ie&&!ne||ne==="m"?($+=F.abbreviations.million,j=j/ie):(te<ie&&te>=G&&!ne||ne==="k")&&($+=F.abbreviations.thousand,j=j/G)),O._.includes(D,"[.]")&&(U=!0,D=D.replace("[.]",".")),ge=j.toString().split(".")[0],me=D.split(".")[1],xe=D.indexOf(","),J=(D.split(".")[0].split(",")[0].match(/0/g)||[]).length,me?(O._.includes(me,"[")?(me=me.replace("]",""),me=me.split("["),Q=O._.toFixed(j,me[0].length+me[1].length,N,me[1].length)):Q=O._.toFixed(j,me.length,N),ge=Q.split(".")[0],O._.includes(Q,".")?Q=F.delimiters.decimal+Q.split(".")[1]:Q="",U&&Number(Q.slice(1))===0&&(Q="")):ge=O._.toFixed(j,0,N),$&&!ne&&Number(ge)>=1e3&&$!==F.abbreviations.trillion)switch(ge=String(Number(ge)/1e3),$){case F.abbreviations.thousand:$=F.abbreviations.million;break;case F.abbreviations.million:$=F.abbreviations.billion;break;case F.abbreviations.billion:$=F.abbreviations.trillion;break}if(O._.includes(ge,"-")&&(ge=ge.slice(1),W=!0),ge.length<J)for(var Le=J-ge.length;Le>0;Le--)ge="0"+ge;return xe>-1&&(ge=ge.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+F.delimiters.thousands)),D.indexOf(".")===0&&(ge=""),Ee=ge+Q+($||""),B?Ee=(B&&W?"(":"")+Ee+(B&&W?")":""):Z>=0?Ee=Z===0?(W?"-":"+")+Ee:Ee+(W?"-":"+"):W&&(Ee="-"+Ee),Ee},stringToNumber:function(j){var D=S[w.currentLocale],N=j,F={thousand:3,million:6,billion:9,trillion:12},B,U,J,$;if(w.zeroFormat&&j===w.zeroFormat)U=0;else if(w.nullFormat&&j===w.nullFormat||!j.replace(/[^0-9]+/g,"").length)U=null;else{U=1,D.delimiters.decimal!=="."&&(j=j.replace(/\./g,"").replace(D.delimiters.decimal,"."));for(B in F)if($=new RegExp("[^a-zA-Z]"+D.abbreviations[B]+"(?:\\)|(\\"+D.currency.symbol+")?(?:\\))?)?$"),N.match($)){U*=Math.pow(10,F[B]);break}U*=(j.split("-").length+Math.min(j.split("(").length-1,j.split(")").length-1))%2?1:-1,j=j.replace(/[^0-9\.]+/g,""),U*=Number(j)}return U},isNaN:function(T){function j(D){return T.apply(this,arguments)}return j.toString=function(){return T.toString()},j}(function(T){return typeof T=="number"&&isNaN(T)}),includes:function(j,D){return j.indexOf(D)!==-1},insert:function(j,D,N){return j.slice(0,N)+D+j.slice(N)},reduce:function(j,D){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof D!="function")throw new TypeError(D+" is not a function");var N=Object(j),F=N.length>>>0,B=0,U;if(arguments.length===3)U=arguments[2];else{for(;B<F&&!(B in N);)B++;if(B>=F)throw new TypeError("Reduce of empty array with no initial value");U=N[B++]}for(;B<F;B++)B in N&&(U=D(U,N[B],B,N));return U},multiplier:function(j){var D=j.toString().split(".");return D.length<2?1:Math.pow(10,D[1].length)},correctionFactor:function(){var j=Array.prototype.slice.call(arguments);return j.reduce(function(D,N){var F=C.multiplier(N);return D>F?D:F},1)},toFixed:function(j,D,N,F){var B=j.toString().split("."),U=D-(F||0),J,$,X,ee;return B.length===2?J=Math.min(Math.max(B[1].length,U),D):J=U,X=Math.pow(10,J),ee=(N(j+"e+"+J)/X).toFixed(J),F>D-J&&($=new RegExp("\\.?0{1,"+(F-(D-J))+"}$"),ee=ee.replace($,"")),ee}},O.options=w,O.formats=A,O.locales=S,O.locale=function(T){return T&&(w.currentLocale=T.toLowerCase()),w.currentLocale},O.localeData=function(T){if(!T)return S[w.currentLocale];if(T=T.toLowerCase(),!S[T])throw new Error("Unknown locale : "+T);return S[T]},O.reset=function(){for(var T in y)w[T]=y[T]},O.zeroFormat=function(T){w.zeroFormat=typeof T=="string"?T:null},O.nullFormat=function(T){w.nullFormat=typeof T=="string"?T:null},O.defaultFormat=function(T){w.defaultFormat=typeof T=="string"?T:"0.0"},O.register=function(T,j,D){if(j=j.toLowerCase(),this[T+"s"][j])throw new TypeError(j+" "+T+" already registered.");return this[T+"s"][j]=D,D},O.validate=function(T,j){var D,N,F,B,U,J,$,X;if(typeof T!="string"&&(T+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",T)),T=T.trim(),T.match(/^\d+$/))return!0;if(T==="")return!1;try{$=O.localeData(j)}catch(ee){$=O.localeData(O.locale())}return F=$.currency.symbol,U=$.abbreviations,D=$.delimiters.decimal,$.delimiters.thousands==="."?N="\\.":N=$.delimiters.thousands,X=T.match(/^[^\d]+/),X!==null&&(T=T.substr(1),X[0]!==F)||(X=T.match(/[^\d]+$/),X!==null&&(T=T.slice(0,-1),X[0]!==U.thousand&&X[0]!==U.million&&X[0]!==U.billion&&X[0]!==U.trillion))?!1:(J=new RegExp(N+"{2}"),T.match(/[^\d.,]/g)?!1:(B=T.split(D),B.length>2?!1:B.length<2?!!B[0].match(/^\d+.*\d$/)&&!B[0].match(J):B[0].length===1?!!B[0].match(/^\d+$/)&&!B[0].match(J)&&!!B[1].match(/^\d+$/):!!B[0].match(/^\d+.*\d$/)&&!B[0].match(J)&&!!B[1].match(/^\d+$/)))},O.fn=x.prototype={clone:function(){return O(this)},format:function(j,D){var N=this._value,F=j||w.defaultFormat,B,U,J;if(D=D||Math.round,N===0&&w.zeroFormat!==null)U=w.zeroFormat;else if(N===null&&w.nullFormat!==null)U=w.nullFormat;else{for(B in A)if(F.match(A[B].regexps.format)){J=A[B].format;break}J=J||O._.numberToFormat,U=J(N,F,D)}return U},value:function(){return this._value},input:function(){return this._input},set:function(j){return this._value=Number(j),this},add:function(j){var D=C.correctionFactor.call(null,this._value,j);function N(F,B,U,J){return F+Math.round(D*B)}return this._value=C.reduce([this._value,j],N,0)/D,this},subtract:function(j){var D=C.correctionFactor.call(null,this._value,j);function N(F,B,U,J){return F-Math.round(D*B)}return this._value=C.reduce([j],N,Math.round(this._value*D))/D,this},multiply:function(j){function D(N,F,B,U){var J=C.correctionFactor(N,F);return Math.round(N*J)*Math.round(F*J)/Math.round(J*J)}return this._value=C.reduce([this._value,j],D,1),this},divide:function(j){function D(N,F,B,U){var J=C.correctionFactor(N,F);return Math.round(N*J)/Math.round(F*J)}return this._value=C.reduce([this._value,j],D),this},difference:function(j){return Math.abs(O(this._value).subtract(j).value())}},O.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(j){var D=j%10;return~~(j%100/10)==1?"th":D===1?"st":D===2?"nd":D===3?"rd":"th"},currency:{symbol:"$"}}),function(){O.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(j,D,N){var F=O._.includes(D," BPS")?" ":"",B;return j=j*1e4,D=D.replace(/\s?BPS/,""),B=O._.numberToFormat(j,D,N),O._.includes(B,")")?(B=B.split(""),B.splice(-1,0,F+"BPS"),B=B.join("")):B=B+F+"BPS",B},unformat:function(j){return+(O._.stringToNumber(j)*1e-4).toFixed(15)}})}(),function(){var T={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},j={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},D=T.suffixes.concat(j.suffixes.filter(function(F){return T.suffixes.indexOf(F)<0})),N=D.join("|");N="("+N.replace("B","B(?!PS)")+")",O.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(N)},format:function(B,U,J){var $,X=O._.includes(U,"ib")?j:T,ee=O._.includes(U," b")||O._.includes(U," ib")?" ":"",ie,G,Q;for(U=U.replace(/\s?i?b/,""),ie=0;ie<=X.suffixes.length;ie++)if(G=Math.pow(X.base,ie),Q=Math.pow(X.base,ie+1),B===null||B===0||B>=G&&B<Q){ee+=X.suffixes[ie],G>0&&(B=B/G);break}return $=O._.numberToFormat(B,U,J),$+ee},unformat:function(B){var U=O._.stringToNumber(B),J,$;if(U){for(J=T.suffixes.length-1;J>=0;J--){if(O._.includes(B,T.suffixes[J])){$=Math.pow(T.base,J);break}if(O._.includes(B,j.suffixes[J])){$=Math.pow(j.base,J);break}}U*=$||1}return U}})}(),function(){O.register("format","currency",{regexps:{format:/(\$)/},format:function(j,D,N){var F=O.locales[O.options.currentLocale],B={before:D.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:D.match(/([\+|\-|\)|\s|\$]*)$/)[0]},U,J,$;for(D=D.replace(/\s?\$\s?/,""),U=O._.numberToFormat(j,D,N),j>=0?(B.before=B.before.replace(/[\-\(]/,""),B.after=B.after.replace(/[\-\)]/,"")):j<0&&!O._.includes(B.before,"-")&&!O._.includes(B.before,"(")&&(B.before="-"+B.before),$=0;$<B.before.length;$++)switch(J=B.before[$],J){case"$":U=O._.insert(U,F.currency.symbol,$);break;case" ":U=O._.insert(U," ",$+F.currency.symbol.length-1);break}for($=B.after.length-1;$>=0;$--)switch(J=B.after[$],J){case"$":U=$===B.after.length-1?U+F.currency.symbol:O._.insert(U,F.currency.symbol,-(B.after.length-(1+$)));break;case" ":U=$===B.after.length-1?U+" ":O._.insert(U," ",-(B.after.length-(1+$)+F.currency.symbol.length-1));break}return U}})}(),function(){O.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(j,D,N){var F,B=typeof j=="number"&&!O._.isNaN(j)?j.toExponential():"0e+0",U=B.split("e");return D=D.replace(/e[\+|\-]{1}0/,""),F=O._.numberToFormat(Number(U[0]),D,N),F+"e"+U[1]},unformat:function(j){var D=O._.includes(j,"e+")?j.split("e+"):j.split("e-"),N=Number(D[0]),F=Number(D[1]);F=O._.includes(j,"e-")?F*=-1:F;function B(U,J,$,X){var ee=O._.correctionFactor(U,J),ie=U*ee*(J*ee)/(ee*ee);return ie}return O._.reduce([N,Math.pow(10,F)],B,1)}})}(),function(){O.register("format","ordinal",{regexps:{format:/(o)/},format:function(j,D,N){var F=O.locales[O.options.currentLocale],B,U=O._.includes(D," o")?" ":"";return D=D.replace(/\s?o/,""),U+=F.ordinal(j),B=O._.numberToFormat(j,D,N),B+U}})}(),function(){O.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(j,D,N){var F=O._.includes(D," %")?" ":"",B;return O.options.scalePercentBy100&&(j=j*100),D=D.replace(/\s?\%/,""),B=O._.numberToFormat(j,D,N),O._.includes(B,")")?(B=B.split(""),B.splice(-1,0,F+"%"),B=B.join("")):B=B+F+"%",B},unformat:function(j){var D=O._.stringToNumber(j);return O.options.scalePercentBy100?D*.01:D}})}(),function(){O.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(j,D,N){var F=Math.floor(j/60/60),B=Math.floor((j-F*60*60)/60),U=Math.round(j-F*60*60-B*60);return F+":"+(B<10?"0"+B:B)+":"+(U<10?"0"+U:U)},unformat:function(j){var D=j.split(":"),N=0;return D.length===3?(N=N+Number(D[0])*60*60,N=N+Number(D[1])*60,N=N+Number(D[2])):D.length===2&&(N=N+Number(D[0])*60,N=N+Number(D[1])),Number(N)}})}(),O})},ZhPi:function(ce,R,l){var E=l("WkPL");function m(O,C){if(!!O){if(typeof O=="string")return E(O,C);var k=Object.prototype.toString.call(O).slice(8,-1);if(k==="Object"&&O.constructor&&(k=O.constructor.name),k==="Map"||k==="Set")return Array.from(O);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return E(O,C)}}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},ZkJ9:function(ce,R,l){var E=l("ukPv"),m=l("J3Yn"),O=E.WeakMap;ce.exports=typeof O=="function"&&/native code/.test(m(O))},"Znm+":function(ce,R,l){var E=l("NykK"),m=l("ExA7"),O="[object Boolean]";function C(k){return k===!0||k===!1||m(k)&&E(k)==O}ce.exports=C},"Znn+":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("9ama"),C=l.n(O)},ZpRC:function(ce,R,l){"use strict";l.r(R);function E(T){return typeof T=="object"&&T!=null&&T.nodeType===1}function m(T,j){return(!j||T!=="hidden")&&T!=="visible"&&T!=="clip"}function O(T,j){if(T.clientHeight<T.scrollHeight||T.clientWidth<T.scrollWidth){var D=getComputedStyle(T,null);return m(D.overflowY,j)||m(D.overflowX,j)||function(N){var F=function(B){if(!B.ownerDocument||!B.ownerDocument.defaultView)return null;try{return B.ownerDocument.defaultView.frameElement}catch(U){return null}}(N);return!!F&&(F.clientHeight<N.scrollHeight||F.clientWidth<N.scrollWidth)}(T)}return!1}function C(T,j,D,N,F,B,U,J){return B<T&&U>j||B>T&&U<j?0:B<=T&&J<=D||U>=j&&J>=D?B-T-N:U>j&&J<D||B<T&&J>D?U-j+F:0}var k=function(j,D){var N=window,F=D.scrollMode,B=D.block,U=D.inline,J=D.boundary,$=D.skipOverflowHiddenElements,X=typeof J=="function"?J:function(bt){return bt!==J};if(!E(j))throw new TypeError("Invalid target");for(var ee,ie,G=document.scrollingElement||document.documentElement,Q=[],W=j;E(W)&&X(W);){if((W=(ie=(ee=W).parentElement)==null?ee.getRootNode().host||null:ie)===G){Q.push(W);break}W!=null&&W===document.body&&O(W)&&!O(document.documentElement)||W!=null&&O(W,$)&&Q.push(W)}for(var ne=N.visualViewport?N.visualViewport.width:innerWidth,te=N.visualViewport?N.visualViewport.height:innerHeight,_e=window.scrollX||pageXOffset,he=window.scrollY||pageYOffset,oe=j.getBoundingClientRect(),ge=oe.height,me=oe.width,Z=oe.top,xe=oe.right,Ee=oe.bottom,Le=oe.left,we=B==="start"||B==="nearest"?Z:B==="end"?Ee:Z+ge/2,fe=U==="center"?Le+me/2:U==="end"?xe:Le,pe=[],Ke=0;Ke<Q.length;Ke++){var Me=Q[Ke],ze=Me.getBoundingClientRect(),Ue=ze.height,He=ze.width,Ne=ze.top,it=ze.right,Xe=ze.bottom,ht=ze.left;if(F==="if-needed"&&Z>=0&&Le>=0&&Ee<=te&&xe<=ne&&Z>=Ne&&Ee<=Xe&&Le>=ht&&xe<=it)return pe;var lt=getComputedStyle(Me),Et=parseInt(lt.borderLeftWidth,10),tt=parseInt(lt.borderTopWidth,10),mt=parseInt(lt.borderRightWidth,10),xt=parseInt(lt.borderBottomWidth,10),Xt=0,vt=0,qe="offsetWidth"in Me?Me.offsetWidth-Me.clientWidth-Et-mt:0,Re="offsetHeight"in Me?Me.offsetHeight-Me.clientHeight-tt-xt:0,Se="offsetWidth"in Me?Me.offsetWidth===0?0:He/Me.offsetWidth:0,Ve="offsetHeight"in Me?Me.offsetHeight===0?0:Ue/Me.offsetHeight:0;if(G===Me)Xt=B==="start"?we:B==="end"?we-te:B==="nearest"?C(he,he+te,te,tt,xt,he+we,he+we+ge,ge):we-te/2,vt=U==="start"?fe:U==="center"?fe-ne/2:U==="end"?fe-ne:C(_e,_e+ne,ne,Et,mt,_e+fe,_e+fe+me,me),Xt=Math.max(0,Xt+he),vt=Math.max(0,vt+_e);else{Xt=B==="start"?we-Ne-tt:B==="end"?we-Xe+xt+Re:B==="nearest"?C(Ne,Xe,Ue,tt,xt+Re,we,we+ge,ge):we-(Ne+Ue/2)+Re/2,vt=U==="start"?fe-ht-Et:U==="center"?fe-(ht+He/2)+qe/2:U==="end"?fe-it+mt+qe:C(ht,it,He,Et,mt+qe,fe,fe+me,me);var Ge=Me.scrollLeft,_t=Me.scrollTop;we+=_t-(Xt=Math.max(0,Math.min(_t+Xt/Ve,Me.scrollHeight-Ue/Ve+Re))),fe+=Ge-(vt=Math.max(0,Math.min(Ge+vt/Se,Me.scrollWidth-He/Se+qe)))}pe.push({el:Me,top:Xt,left:vt})}return pe};function A(T){return T===Object(T)&&Object.keys(T).length!==0}function S(T,j){j===void 0&&(j="auto");var D="scrollBehavior"in document.body.style;T.forEach(function(N){var F=N.el,B=N.top,U=N.left;F.scroll&&D?F.scroll({top:B,left:U,behavior:j}):(F.scrollTop=B,F.scrollLeft=U)})}function y(T){return T===!1?{block:"end",inline:"nearest"}:A(T)?T:{block:"start",inline:"nearest"}}function w(T,j){var D=T.isConnected||T.ownerDocument.documentElement.contains(T);if(A(j)&&typeof j.behavior=="function")return j.behavior(D?k(T,j):[]);if(!!D){var N=y(j);return S(k(T,N),N.behavior)}}var x=R.default=w},ZqBY:function(ce,R,l){"use strict";(function(E){l.d(R,"b",function(){return gt});var m=l("Qyje"),O=l.n(m),C=l("LpSC"),k=l.n(C);function A(Fe,Te){var ut=Object.keys(Fe);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(Fe);Te&&(le=le.filter(function($e){return Object.getOwnPropertyDescriptor(Fe,$e).enumerable})),ut.push.apply(ut,le)}return ut}function S(Fe){for(var Te=1;Te<arguments.length;Te++){var ut=arguments[Te]!=null?arguments[Te]:{};Te%2?A(Object(ut),!0).forEach(function(le){j(Fe,le,ut[le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(ut)):A(Object(ut)).forEach(function(le){Object.defineProperty(Fe,le,Object.getOwnPropertyDescriptor(ut,le))})}return Fe}function y(Fe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(ut){return typeof ut}:y=function(ut){return ut&&typeof Symbol=="function"&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut},y(Fe)}function w(Fe,Te){if(!(Fe instanceof Te))throw new TypeError("Cannot call a class as a function")}function x(Fe,Te){for(var ut=0;ut<Te.length;ut++){var le=Te[ut];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(Fe,le.key,le)}}function T(Fe,Te,ut){return Te&&x(Fe.prototype,Te),ut&&x(Fe,ut),Fe}function j(Fe,Te,ut){return Te in Fe?Object.defineProperty(Fe,Te,{value:ut,enumerable:!0,configurable:!0,writable:!0}):Fe[Te]=ut,Fe}function D(Fe,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");Fe.prototype=Object.create(Te&&Te.prototype,{constructor:{value:Fe,writable:!0,configurable:!0}}),Te&&F(Fe,Te)}function N(Fe){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(ut){return ut.__proto__||Object.getPrototypeOf(ut)},N(Fe)}function F(Fe,Te){return F=Object.setPrototypeOf||function(le,$e){return le.__proto__=$e,le},F(Fe,Te)}function B(){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(Fe){return!1}}function U(Fe,Te,ut){return B()?U=Reflect.construct:U=function($e,Qe,Tt){var Ot=[null];Ot.push.apply(Ot,Qe);var Ut=Function.bind.apply($e,Ot),At=new Ut;return Tt&&F(At,Tt.prototype),At},U.apply(null,arguments)}function J(Fe){return Function.toString.call(Fe).indexOf("[native code]")!==-1}function $(Fe){var Te=typeof Map=="function"?new Map:void 0;return $=function(le){if(le===null||!J(le))return le;if(typeof le!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Te!="undefined"){if(Te.has(le))return Te.get(le);Te.set(le,$e)}function $e(){return U(le,arguments,N(this).constructor)}return $e.prototype=Object.create(le.prototype,{constructor:{value:$e,enumerable:!1,writable:!0,configurable:!0}}),F($e,le)},$(Fe)}function X(Fe){if(Fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Fe}function ee(Fe,Te){if(Te&&(typeof Te=="object"||typeof Te=="function"))return Te;if(Te!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return X(Fe)}function ie(Fe){var Te=B();return function(){var le=N(Fe),$e;if(Te){var Qe=N(this).constructor;$e=Reflect.construct(le,arguments,Qe)}else $e=le.apply(this,arguments);return ee(this,$e)}}function G(Fe){return Q(Fe)||W(Fe)||ne(Fe)||_e()}function Q(Fe){if(Array.isArray(Fe))return te(Fe)}function W(Fe){if(typeof Symbol!="undefined"&&Fe[Symbol.iterator]!=null||Fe["@@iterator"]!=null)return Array.from(Fe)}function ne(Fe,Te){if(!!Fe){if(typeof Fe=="string")return te(Fe,Te);var ut=Object.prototype.toString.call(Fe).slice(8,-1);if(ut==="Object"&&Fe.constructor&&(ut=Fe.constructor.name),ut==="Map"||ut==="Set")return Array.from(Fe);if(ut==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ut))return te(Fe,Te)}}function te(Fe,Te){(Te==null||Te>Fe.length)&&(Te=Fe.length);for(var ut=0,le=new Array(Te);ut<Te;ut++)le[ut]=Fe[ut];return le}function _e(){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 he(Fe){if(!Array.isArray(Fe))throw new TypeError("Middlewares must be an array!");for(var Te=Fe.length,ut=0;ut<Te;ut++)if(typeof Fe[ut]!="function")throw new TypeError("Middleware must be componsed of function");return function($e,Qe){var Tt=-1;function Ot(Ut){if(Ut<=Tt)return Promise.reject(new Error("next() should not be called multiple times in one middleware!"));Tt=Ut;var At=Fe[Ut]||Qe;if(!At)return Promise.resolve();try{return Promise.resolve(At($e,function(){return Ot(Ut+1)}))}catch(Pt){return Promise.reject(Pt)}}return Ot(0)}}var oe=function(){function Fe(Te){if(w(this,Fe),!Array.isArray(Te))throw new TypeError("Default middlewares must be an array!");this.defaultMiddlewares=G(Te),this.middlewares=[]}return T(Fe,[{key:"use",value:function(ut){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1,defaultInstance:!1},$e=!1,Qe=!1,Tt=!1;if(typeof le=="number"?($e=!0,Qe=!1):y(le)==="object"&&le&&(Qe=le.global||!1,$e=le.core||!1,Tt=le.defaultInstance||!1),Qe){Fe.globalMiddlewares.splice(Fe.globalMiddlewares.length-Fe.defaultGlobalMiddlewaresLength,0,ut);return}if($e){Fe.coreMiddlewares.splice(Fe.coreMiddlewares.length-Fe.defaultCoreMiddlewaresLength,0,ut);return}if(Tt){this.defaultMiddlewares.push(ut);return}this.middlewares.push(ut)}},{key:"execute",value:function(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,le=he([].concat(G(this.middlewares),G(this.defaultMiddlewares),G(Fe.globalMiddlewares),G(Fe.coreMiddlewares)));return le(ut)}}]),Fe}();oe.globalMiddlewares=[],oe.defaultGlobalMiddlewaresLength=0,oe.coreMiddlewares=[],oe.defaultCoreMiddlewaresLength=0;var ge=function(){function Fe(Te){w(this,Fe),this.cache=new Map,this.timer={},this.extendOptions(Te)}return T(Fe,[{key:"extendOptions",value:function(ut){this.maxCache=ut.maxCache||0}},{key:"get",value:function(ut){return this.cache.get(JSON.stringify(ut))}},{key:"set",value:function(ut,le){var $e=this,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var Tt=G(this.cache.keys())[0];this.cache.delete(Tt),this.timer[Tt]&&clearTimeout(this.timer[Tt])}var Ot=JSON.stringify(ut);this.cache.set(Ot,le),Qe>0&&(this.timer[Ot]=setTimeout(function(){$e.cache.delete(Ot),delete $e.timer[Ot]},Qe))}},{key:"delete",value:function(ut){var le=JSON.stringify(ut);return delete this.timer[le],this.cache.delete(le)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),Fe}(),me=function(Fe){D(ut,Fe);var Te=ie(ut);function ut(le,$e){var Qe,Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"RequestError";return w(this,ut),Qe=Te.call(this,le),Qe.name="RequestError",Qe.request=$e,Qe.type=Tt,Qe}return ut}($(Error)),Z=function(Fe){D(ut,Fe);var Te=ie(ut);function ut(le,$e,Qe,Tt){var Ot,Ut=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"ResponseError";return w(this,ut),Ot=Te.call(this,$e||le.statusText),Ot.name="ResponseError",Ot.data=Qe,Ot.response=le,Ot.request=Tt,Ot.type=Ut,Ot}return ut}($(Error));function xe(Fe){return new Promise(function(Te,ut){var le=new FileReader;le.onload=function(){Te(le.result)},le.onerror=ut,le.readAsText(Fe,"GBK")})}function Ee(Fe){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;try{return JSON.parse(Fe)}catch($e){if(Te)throw new Z(ut,"JSON.parse fail",Fe,le,"ParseError")}return Fe}function Le(Fe,Te,ut){return new Promise(function(le,$e){setTimeout(function(){$e(new me(Te||"timeout of ".concat(Fe,"ms exceeded"),ut,"Timeout"))},Fe)})}function we(Fe){return new Promise(function(Te,ut){Fe.cancelToken&&Fe.cancelToken.promise.then(function(le){ut(le)})})}var fe=Object.prototype.toString;function pe(){var Fe;return typeof E!="undefined"&&fe.call(E)==="[object process]"&&(Fe="NODE"),typeof XMLHttpRequest!="undefined"&&(Fe="BROWSER"),Fe}function Ke(Fe){return y(Fe)==="object"&&Object.prototype.toString.call(Fe)==="[object Array]"}function Me(Fe){return typeof URLSearchParams!="undefined"&&Fe instanceof URLSearchParams}function ze(Fe){return y(Fe)==="object"&&Object.prototype.toString.call(Fe)==="[object Date]"}function Ue(Fe){return Fe!==null&&y(Fe)==="object"}function He(Fe,Te){if(!!Fe)if(y(Fe)!=="object"&&(Fe=[Fe]),Ke(Fe))for(var ut=0;ut<Fe.length;ut++)Te.call(null,Fe[ut],ut,Fe);else for(var le in Fe)Object.prototype.hasOwnProperty.call(Fe,le)&&Te.call(null,Fe[le],le,Fe)}function Ne(Fe){return Me(Fe)?Object(m.parse)(Fe.toString(),{strictNullHandling:!0}):typeof Fe=="string"?[Fe]:Fe}function it(Fe){return Object(m.stringify)(Fe,{arrayFormat:"repeat",strictNullHandling:!0})}function Xe(Fe,Te){return S(S(S({},Fe),Te),{},{headers:S(S({},Fe.headers),Te.headers),params:S(S({},Ne(Fe.params)),Ne(Te.params)),method:(Te.method||Fe.method||"get").toLowerCase()})}var ht=function(Te){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=ut.prefix,$e=ut.suffix;return le&&(Te="".concat(le).concat(Te)),$e&&(Te="".concat(Te).concat($e)),{url:Te,options:ut}},lt=!1;function Et(Fe,Te){var ut=Te.method,le=ut===void 0?"get":ut;return le.toLowerCase()==="get"}function tt(Fe,Te){if(!Fe)return Te();var ut=Fe.req;ut=ut===void 0?{}:ut;var le=ut.options,$e=le===void 0?{}:le,Qe=ut.url,Tt=Qe===void 0?"":Qe,Ot=Fe.cache,Ut=Fe.responseInterceptors,At=$e.timeout,Pt=At===void 0?0:At,Dt=$e.timeoutMessage,Qt=$e.__umiRequestCoreType__,cn=Qt===void 0?"normal":Qt,$n=$e.useCache,hn=$n===void 0?!1:$n,_n=$e.method,bn=_n===void 0?"get":_n,Bn=$e.params,Tn=$e.ttl,Tr=$e.validateCache,Sr=Tr===void 0?Et:Tr;if(cn!=="normal")return Te();var Wr=fetch;if(!Wr)throw new Error("Global fetch not exist!");var br=pe()==="BROWSER",Wn=Sr(Tt,$e)&&hn&&br;if(Wn){var gr=Ot.get({url:Tt,params:Bn,method:bn});if(gr)return gr=gr.clone(),gr.useCache=!0,Fe.res=gr,Te()}var na;return Pt>0?na=Promise.race([we($e),Wr(Tt,$e),Le(Pt,Dt,Fe.req)]):na=Promise.race([we($e),Wr(Tt,$e)]),Ut.forEach(function(jn){na=na.then(function(un){var zt=typeof un.clone=="function"?un.clone():un;return jn(zt,$e)})}),na.then(function(jn){if(Wn&&jn.status===200){var un=jn.clone();un.useCache=!0,Ot.set({url:Tt,params:Bn,method:bn},un,Tn)}return Fe.res=jn,Te()})}function mt(Fe,Te){var ut;return Te().then(function(){if(!!Fe){var le=Fe.res,$e=le===void 0?{}:le,Qe=Fe.req,Tt=Qe===void 0?{}:Qe,Ot=Tt||{},Ut=Ot.options;Ut=Ut===void 0?{}:Ut;var At=Ut.responseType,Pt=At===void 0?"json":At,Dt=Ut.charset,Qt=Dt===void 0?"utf8":Dt,cn=Ut.getResponse,$n=Ut.throwErrIfParseFail,hn=$n===void 0?!1:$n,_n=Ut.parseResponse,bn=_n===void 0?!0:_n;if(!!bn&&!(!$e||!$e.clone)){if(ut=pe()==="BROWSER"?$e.clone():$e,ut.useCache=$e.useCache||!1,Qt==="gbk")try{return $e.blob().then(xe).then(function(Bn){return Ee(Bn,!1,ut,Tt)})}catch(Bn){throw new Z(ut,Bn.message,null,Tt,"ParseError")}else if(Pt==="json")return $e.text().then(function(Bn){return Ee(Bn,hn,ut,Tt)});try{return $e[Pt]()}catch(Bn){throw new Z(ut,"responseType not support",null,Tt,"ParseError")}}}}).then(function(le){if(!!Fe){var $e=Fe.res,Qe=Fe.req,Tt=Qe===void 0?{}:Qe,Ot=Tt||{},Ut=Ot.options;Ut=Ut===void 0?{}:Ut;var At=Ut.getResponse,Pt=At===void 0?!1:At;if(!!ut){if(ut.status>=200&&ut.status<300){if(Pt){Fe.res={data:le,response:ut};return}Fe.res=le;return}throw new Z(ut,"http error",le,Tt,"HttpError")}}}).catch(function(le){if(le instanceof me||le instanceof Z)throw le;var $e=Fe.req,Qe=Fe.res;throw le.request=le.request||$e,le.response=le.response||Qe,le.type=le.type||le.name,le.data=le.data||void 0,le})}function xt(Fe,Te){if(!Fe)return Te();var ut=Fe.req;ut=ut===void 0?{}:ut;var le=ut.options,$e=le===void 0?{}:le,Qe=$e.method,Tt=Qe===void 0?"get":Qe;if(["post","put","patch","delete"].indexOf(Tt.toLowerCase())===-1)return Te();var Ot=$e.requestType,Ut=Ot===void 0?"json":Ot,At=$e.data;if(At){var Pt=Object.prototype.toString.call(At);Pt==="[object Object]"||Pt==="[object Array]"?Ut==="json"?($e.headers=S({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},$e.headers),$e.body=JSON.stringify(At)):Ut==="form"&&($e.headers=S({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},$e.headers),$e.body=it(At)):($e.headers=S({Accept:"application/json"},$e.headers),$e.body=At)}return Fe.req.options=$e,Te()}function Xt(Fe,Te){var ut,le;if(Fe)if(Te)ut=Te(Fe);else if(Me(Fe))ut=Fe.toString();else if(Ke(Fe))le=[],He(Fe,function(Qe){Qe===null||typeof Qe=="undefined"?le.push(Qe):le.push(Ue(Qe)?JSON.stringify(Qe):Qe)}),ut=it(le);else{le={},He(Fe,function(Qe,Tt){var Ot=Qe;Qe===null||typeof Qe=="undefined"?le[Tt]=Qe:ze(Qe)?Ot=Qe.toISOString():Ke(Qe)?Ot=Qe:Ue(Qe)&&(Ot=JSON.stringify(Qe)),le[Tt]=Ot});var $e=it(le);ut=$e}return ut}function vt(Fe,Te){if(!Fe)return Te();var ut=Fe.req;ut=ut===void 0?{}:ut;var le=ut.options,$e=le===void 0?{}:le,Qe=$e.paramsSerializer,Tt=$e.params,Ot=Fe.req;Ot=Ot===void 0?{}:Ot;var Ut=Ot.url,At=Ut===void 0?"":Ut;$e.method=$e.method?$e.method.toUpperCase():"GET",$e.credentials=$e.credentials||"same-origin";var Pt=Xt(Tt,Qe);if(Fe.req.originUrl=At,Pt){var Dt=At.indexOf("?")!==-1?"&":"?";Fe.req.url="".concat(At).concat(Dt).concat(Pt)}return Fe.req.options=$e,Te()}var qe=[xt,vt,mt],Re=[tt];oe.globalMiddlewares=qe,oe.defaultGlobalMiddlewaresLength=qe.length,oe.coreMiddlewares=Re,oe.defaultCoreMiddlewaresLength=Re.length;var Se=function(){function Fe(Te){w(this,Fe),this.onion=new oe([]),this.fetchIndex=0,this.mapCache=new ge(Te),this.initOptions=Te,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return T(Fe,[{key:"use",value:function(ut){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1};return this.onion.use(ut,le),this}},{key:"extendOptions",value:function(ut){this.initOptions=Xe(this.initOptions,ut),this.mapCache.extendOptions(ut)}},{key:"dealRequestInterceptors",value:function(ut){var le=function(Tt,Ot){return Tt.then(function(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ut.req.url=Ut.url||ut.req.url,ut.req.options=Ut.options||ut.req.options,Ot(ut.req.url,ut.req.options)})},$e=[].concat(G(Fe.requestInterceptors),G(this.instanceRequestInterceptors));return $e.reduce(le,Promise.resolve()).then(function(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ut.req.url=Qe.url||ut.req.url,ut.req.options=Qe.options||ut.req.options,Promise.resolve()})}},{key:"request",value:function(ut,le){var $e=this,Qe=this.onion,Tt={req:{url:ut,options:S(S({},le),{},{url:ut})},res:null,cache:this.mapCache,responseInterceptors:[].concat(G(Fe.responseInterceptors),G(this.instanceResponseInterceptors))};if(typeof ut!="string")throw new Error("url MUST be a string");return new Promise(function(Ot,Ut){$e.dealRequestInterceptors(Tt).then(function(){return Qe.execute(Tt)}).then(function(){Ot(Tt.res)}).catch(function(At){var Pt=Tt.req.options.errorHandler;if(Pt)try{var Dt=Pt(At);Ot(Dt)}catch(Qt){Ut(Qt)}else Ut(At)})})}}],[{key:"requestUse",value:function(ut){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof ut!="function")throw new TypeError("Interceptor must be function!");le.global?Fe.requestInterceptors.push(ut):this.instanceRequestInterceptors.push(ut)}},{key:"responseUse",value:function(ut){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof ut!="function")throw new TypeError("Interceptor must be function!");le.global?Fe.responseInterceptors.push(ut):this.instanceResponseInterceptors.push(ut)}}]),Fe}();Se.requestInterceptors=[ht],Se.responseInterceptors=[];function Ve(Fe){this.message=Fe}Ve.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},Ve.prototype.__CANCEL__=!0;function Ge(Fe){if(typeof Fe!="function")throw new TypeError("executor must be a function.");var Te;this.promise=new Promise(function($e){Te=$e});var ut=this;Fe(function($e){ut.reason||(ut.reason=new Ve($e),Te(ut.reason))})}Ge.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Ge.source=function(){var Te,ut=new Ge(function($e){Te=$e});return{token:ut,cancel:Te}};function _t(Fe){return!!(Fe&&Fe.__CANCEL__)}var bt=function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ut=new Se(Te),le=function(Tt){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ut=Xe(ut.initOptions,Ot);return ut.request(Tt,Ut)};le.use=ut.use.bind(ut),le.fetchIndex=ut.fetchIndex,le.interceptors={request:{use:Se.requestUse.bind(ut)},response:{use:Se.responseUse.bind(ut)}};var $e=["get","post","delete","put","patch","head","options","rpc"];return $e.forEach(function(Qe){le[Qe]=function(Tt,Ot){return le(Tt,S(S({},Ot),{},{method:Qe}))}}),le.Cancel=Ve,le.CancelToken=Ge,le.isCancel=_t,le.extendOptions=ut.extendOptions.bind(ut),le.middlewares={instance:ut.onion.middlewares,defaultInstance:ut.onion.defaultMiddlewares,global:oe.globalMiddlewares,core:oe.coreMiddlewares},le},gt=function(Te){return bt(Te)},at=bt({parseResponse:!1}),ft=bt({});R.a=ft}).call(this,l("Q2Ig"))},Ztfv:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.tagProperty=R.tagParameter=R.decorate=void 0;var E=l("MON2"),m=l("xfSm");function O(w,x,T,j){var D=m.TAGGED;k(D,w,x,j,T)}R.tagParameter=O;function C(w,x,T){var j=m.TAGGED_PROP;k(j,w.constructor,x,T)}R.tagProperty=C;function k(w,x,T,j,D){var N={},F=typeof D=="number",B=D!==void 0&&F?D.toString():T;if(F&&T!==void 0)throw new Error(E.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(w,x)&&(N=Reflect.getMetadata(w,x));var U=N[B];if(!Array.isArray(U))U=[];else for(var J=0,$=U;J<$.length;J++){var X=$[J];if(X.key===j.key)throw new Error(E.DUPLICATED_METADATA+" "+X.key.toString())}U.push(j),N[B]=U,Reflect.defineMetadata(w,N,x)}function A(w,x){Reflect.decorate(w,x)}function S(w,x){return function(T,j){x(T,j,w)}}function y(w,x,T){typeof T=="number"?A([S(T,w)],x):typeof T=="string"?Reflect.decorate([w],x,T):A([w],x)}R.decorate=y},ZvpZ:function(ce,R,l){"use strict";var E=l("H4fg"),m=l("61s2"),O=m.a,C=l("RlXo"),k="${label} is not a valid ${type}",A={locale:"en",Pagination:E.a,DatePicker:m.a,TimePicker:C.a,Calendar:O,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:k,method:k,array:k,object:k,number:k,date:k,boolean:k,integer:k,float:k,regexp:k,email:k,url:k,hex:k},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}},S=R.a=A},ZzCi:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.named=void 0;var E=l("xfSm"),m=l("GXnB"),O=l("Ztfv");function C(k){return function(A,S,y){var w=new m.Metadata(E.NAMED_TAG,k);typeof y=="number"?O.tagParameter(A,S,y,w):O.tagProperty(A,S,w)}}R.named=C},a1Gm:function(ce,R,l){"use strict";R.__esModule=!0,R.default={WHITESPACE:"whitespace",WORD:"word",STRING:"string",RESERVED:"reserved",RESERVED_TOPLEVEL:"reserved-toplevel",RESERVED_NEWLINE:"reserved-newline",OPERATOR:"operator",OPEN_PAREN:"open-paren",CLOSE_PAREN:"close-paren",LINE_COMMENT:"line-comment",BLOCK_COMMENT:"block-comment",NUMBER:"number",PLACEHOLDER:"placeholder"},ce.exports=R.default},a1gu:function(ce,R,l){var E=l("cDf5").default,m=l("PJYZ");function O(C,k){if(k&&(E(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return m(C)}ce.exports=O,ce.exports.__esModule=!0,ce.exports.default=ce.exports},a3WO:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){(O==null||O>m.length)&&(O=m.length);for(var C=0,k=new Array(O);C<O;C++)k[C]=m[C];return k}},a5mf:function(ce,R,l){var E=l("6ixQ"),m=l("tSXo"),O=l("jtLI"),C=l("YfKC").f,k=l("evbn"),A=l("R/Zn"),S=k("meta"),y=0,w=Object.isExtensible||function(){return!0},x=function(F){C(F,S,{value:{objectID:"O"+ ++y,weakData:{}}})},T=function(F,B){if(!m(F))return typeof F=="symbol"?F:(typeof F=="string"?"S":"P")+F;if(!O(F,S)){if(!w(F))return"F";if(!B)return"E";x(F)}return F[S].objectID},j=function(F,B){if(!O(F,S)){if(!w(F))return!0;if(!B)return!1;x(F)}return F[S].weakData},D=function(F){return A&&N.REQUIRED&&w(F)&&!O(F,S)&&x(F),F},N=ce.exports={REQUIRED:!1,fastKey:T,getWeakData:j,onFreeze:D};E[S]=!0},aF2d:function(ce,R,l){"use strict";var E=l("cT1L"),m=l("7BAe"),O=l("IuhT");ce.exports=function(k){var A=arguments.length,S=A>1?arguments[1]:void 0,y,w,x,T;return E(this),y=S!==void 0,y&&E(S),k==null?new this:(w=[],y?(x=0,T=m(S,A>2?arguments[2]:void 0,2),O(k,function(j){w.push(T(j,x++))})):O(k,w.push,w),new this(w))}},aH9n:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=R.calculateChange=function(O,C,k,A){O.preventDefault();var S=A.clientWidth,y=A.clientHeight,w=typeof O.pageX=="number"?O.pageX:O.touches[0].pageX,x=typeof O.pageY=="number"?O.pageY:O.touches[0].pageY,T=w-(A.getBoundingClientRect().left+window.pageXOffset),j=x-(A.getBoundingClientRect().top+window.pageYOffset);if(C==="vertical"){var D=void 0;if(j<0)D=359;else if(j>y)D=0;else{var N=-(j*100/y)+100;D=360*N/100}if(k.h!==D)return{h:D,s:k.s,l:k.l,a:k.a,source:"rgb"}}else{var F=void 0;if(T<0)F=0;else if(T>S)F=359;else{var B=T*100/S;F=360*B/100}if(k.h!==F)return{h:F,s:k.s,l:k.l,a:k.a,source:"rgb"}}return null}},aHGi:function(ce,R,l){var E=l("I65O");E("toStringTag")},aI7X:function(ce,R,l){"use strict";var E="Function.prototype.bind called on incompatible ",m=Array.prototype.slice,O=Object.prototype.toString,C="[object Function]";ce.exports=function(A){var S=this;if(typeof S!="function"||O.call(S)!==C)throw new TypeError(E+S);for(var y=m.call(arguments,1),w,x=function(){if(this instanceof w){var B=S.apply(this,y.concat(m.call(arguments)));return Object(B)===B?B:this}else return S.apply(A,y.concat(m.call(arguments)))},T=Math.max(0,S.length-y.length),j=[],D=0;D<T;D++)j.push("$"+D);if(w=Function("binder","return function ("+j.join(",")+"){ return binder.apply(this,arguments); }")(x),S.prototype){var N=function(){};N.prototype=S.prototype,w.prototype=new N,N.prototype=null}return w}},aIfO:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="LogoutOutlined";var S=R.a=m.forwardRef(A)},aJyg:function(ce,R,l){"use strict";var E=l("rePB"),m=l("KQm4"),O=l("wx14"),C=l("1OyB"),k=l("vuIU"),A=l("Ji7U"),S=l("LK+K"),y=l("TSYQ"),w=l.n(y),x=l("q1tI"),T=l("H84U"),j=l("XI05"),D=l("ihLV"),N=l("YMnH"),F=l("ZvpZ"),B=l("ATYA"),U=l("8Skl"),J=l("Ya77"),$=l("kaz8"),X=l("jsC+"),ee=l("0n0R"),ie=l("U8pU"),G=l("NUBc"),Q=l("CWQg"),W=l("/MfK"),ne=l("gDlH"),te=function(ht){var lt,Et=ht.renderedText,tt=ht.renderedEl,mt=ht.item,xt=ht.checked,Xt=ht.disabled,vt=ht.prefixCls,qe=ht.onClick,Re=ht.onRemove,Se=ht.showRemove,Ve=w()((lt={},Object(E.a)(lt,"".concat(vt,"-content-item"),!0),Object(E.a)(lt,"".concat(vt,"-content-item-disabled"),Xt||mt.disabled),Object(E.a)(lt,"".concat(vt,"-content-item-checked"),xt),lt)),Ge;return(typeof Et=="string"||typeof Et=="number")&&(Ge=String(Et)),x.createElement(N.a,{componentName:"Transfer",defaultLocale:F.a.Transfer},function(_t){var bt={className:Ve,title:Ge},gt=x.createElement("span",{className:"".concat(vt,"-content-item-text")},tt);return Se?x.createElement("li",Object(O.a)({},bt),gt,x.createElement(ne.a,{disabled:Xt||mt.disabled,className:"".concat(vt,"-content-item-remove"),"aria-label":_t.remove,onClick:function(){Re==null||Re(mt)}},x.createElement(W.a,null))):(bt.onClick=Xt||mt.disabled?void 0:function(){return qe(mt)},x.createElement("li",Object(O.a)({},bt),x.createElement($.a,{className:"".concat(vt,"-checkbox"),checked:xt,disabled:Xt||mt.disabled}),gt))})},_e=x.memo(te),he=Object(Q.a)("handleFilter","handleClear","checkedKeys");function oe(Xe){if(!Xe)return null;var ht={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return Object(ie.a)(Xe)==="object"?Object(O.a)(Object(O.a)({},ht),Xe):ht}var ge=function(Xe){Object(A.a)(lt,Xe);var ht=Object(S.a)(lt);function lt(){var Et;return Object(C.a)(this,lt),Et=ht.apply(this,arguments),Et.state={current:1},Et.onItemSelect=function(tt){var mt=Et.props,xt=mt.onItemSelect,Xt=mt.selectedKeys,vt=Xt.includes(tt.key);xt(tt.key,!vt)},Et.onItemRemove=function(tt){var mt=Et.props.onItemRemove;mt==null||mt([tt.key])},Et.onPageChange=function(tt){Et.setState({current:tt})},Et.getItems=function(){var tt=Et.state.current,mt=Et.props,xt=mt.pagination,Xt=mt.filteredRenderItems,vt=oe(xt),qe=Xt;return vt&&(qe=Xt.slice((tt-1)*vt.pageSize,tt*vt.pageSize)),qe},Et}return Object(k.a)(lt,[{key:"render",value:function(){var tt=this,mt=this.state.current,xt=this.props,Xt=xt.prefixCls,vt=xt.onScroll,qe=xt.filteredRenderItems,Re=xt.selectedKeys,Se=xt.disabled,Ve=xt.showRemove,Ge=xt.pagination,_t=oe(Ge),bt=null;return _t&&(bt=x.createElement(G.a,{simple:_t.simple,showSizeChanger:_t.showSizeChanger,showLessItems:_t.showLessItems,size:"small",disabled:Se,className:"".concat(Xt,"-pagination"),total:qe.length,pageSize:_t.pageSize,current:mt,onChange:this.onPageChange})),x.createElement(x.Fragment,null,x.createElement("ul",{className:w()("".concat(Xt,"-content"),Object(E.a)({},"".concat(Xt,"-content-show-remove"),Ve)),onScroll:vt},this.getItems().map(function(gt){var at=gt.renderedEl,ft=gt.renderedText,Fe=gt.item,Te=Fe.disabled,ut=Re.includes(Fe.key);return x.createElement(_e,{disabled:Se||Te,key:Fe.key,item:Fe,renderedText:ft,renderedEl:at,checked:ut,prefixCls:Xt,onClick:tt.onItemSelect,onRemove:tt.onItemRemove,showRemove:Ve})})),bt)}}],[{key:"getDerivedStateFromProps",value:function(tt,mt){var xt=tt.filteredRenderItems,Xt=tt.pagination,vt=mt.current,qe=oe(Xt);if(qe){var Re=Math.ceil(xt.length/qe.pageSize);if(vt>Re)return{current:Re}}return null}}]),lt}(x.Component),me=ge,Z=l("l+S1"),xe=l("5rEg");function Ee(Xe){var ht=Xe.placeholder,lt=ht===void 0?"":ht,Et=Xe.value,tt=Xe.prefixCls,mt=Xe.disabled,xt=Xe.onChange,Xt=Xe.handleClear,vt=x.useCallback(function(qe){xt==null||xt(qe),qe.target.value===""&&(Xt==null||Xt())},[xt]);return x.createElement(xe.a,{placeholder:lt,className:tt,value:Et,onChange:vt,disabled:mt,allowClear:!0,prefix:x.createElement(Z.a,null)})}var Le=function(){return null};function we(Xe){return!!(Xe&&!Object(ee.c)(Xe)&&Object.prototype.toString.call(Xe)==="[object Object]")}function fe(Xe){return Xe.filter(function(ht){return!ht.disabled}).map(function(ht){return ht.key})}var pe=function(Xe){Object(A.a)(lt,Xe);var ht=Object(S.a)(lt);function lt(Et){var tt;return Object(C.a)(this,lt),tt=ht.call(this,Et),tt.defaultListBodyRef=x.createRef(),tt.handleFilter=function(mt){var xt=tt.props.handleFilter,Xt=mt.target.value;tt.setState({filterValue:Xt}),xt(mt)},tt.handleClear=function(){var mt=tt.props.handleClear;tt.setState({filterValue:""}),mt()},tt.matchFilter=function(mt,xt){var Xt=tt.state.filterValue,vt=tt.props.filterOption;return vt?vt(Xt,xt):mt.includes(Xt)},tt.renderListBody=function(mt,xt){var Xt=mt?mt(xt):null,vt=!!Xt;return vt||(Xt=x.createElement(me,Object(O.a)({ref:tt.defaultListBodyRef},xt))),{customize:vt,bodyContent:Xt}},tt.renderItem=function(mt){var xt=tt.props.render,Xt=xt===void 0?Le:xt,vt=Xt(mt),qe=we(vt);return{renderedText:qe?vt.value:vt,renderedEl:qe?vt.label:vt,item:mt}},tt.getSelectAllLabel=function(mt,xt){var Xt=tt.props,vt=Xt.itemsUnit,qe=Xt.itemUnit,Re=Xt.selectAllLabel;if(Re)return typeof Re=="function"?Re({selectedCount:mt,totalCount:xt}):Re;var Se=xt>1?vt:qe;return x.createElement(x.Fragment,null,(mt>0?"".concat(mt,"/"):"")+xt," ",Se)},tt.state={filterValue:""},tt}return Object(k.a)(lt,[{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerScrollTimer)}},{key:"getCheckStatus",value:function(tt){var mt=this.props.checkedKeys;return mt.length===0?"none":tt.every(function(xt){return mt.includes(xt.key)||!!xt.disabled})?"all":"part"}},{key:"getFilteredItems",value:function(tt,mt){var xt=this,Xt=[],vt=[];return tt.forEach(function(qe){var Re=xt.renderItem(qe),Se=Re.renderedText;if(mt&&!xt.matchFilter(Se,qe))return null;Xt.push(qe),vt.push(Re)}),{filteredItems:Xt,filteredRenderItems:vt}}},{key:"getListBody",value:function(tt,mt,xt,Xt,vt,qe,Re,Se,Ve,Ge){var _t=this,bt=Ve?x.createElement("div",{className:"".concat(tt,"-body-search-wrapper")},x.createElement(Ee,{prefixCls:"".concat(tt,"-search"),onChange:this.handleFilter,handleClear:this.handleClear,placeholder:mt,value:xt,disabled:Ge})):null,gt=this.renderListBody(Se,Object(O.a)(Object(O.a)({},Object(J.a)(this.props,he)),{filteredItems:Xt,filteredRenderItems:qe,selectedKeys:Re})),at=gt.bodyContent,ft=gt.customize,Fe=function(){var le=_t.props.direction==="left"?0:1;return Array.isArray(vt)?vt[le]:vt},Te;return ft?Te=x.createElement("div",{className:"".concat(tt,"-body-customize-wrapper")},at):Te=Xt.length?at:x.createElement("div",{className:"".concat(tt,"-body-not-found")},Fe()),x.createElement("div",{className:w()(Ve?"".concat(tt,"-body ").concat(tt,"-body-with-search"):"".concat(tt,"-body"))},bt,Te)}},{key:"getCheckBox",value:function(tt){var mt=tt.filteredItems,xt=tt.onItemSelectAll,Xt=tt.disabled,vt=tt.prefixCls,qe=this.getCheckStatus(mt),Re=qe==="all",Se=x.createElement($.a,{disabled:Xt,checked:Re,indeterminate:qe==="part",className:"".concat(vt,"-checkbox"),onChange:function(){xt(mt.filter(function(Ge){return!Ge.disabled}).map(function(Ge){var _t=Ge.key;return _t}),!Re)}});return Se}},{key:"render",value:function(){var tt,mt=this,xt=this.state.filterValue,Xt=this.props,vt=Xt.prefixCls,qe=Xt.dataSource,Re=qe===void 0?[]:qe,Se=Xt.titleText,Ve=Se===void 0?"":Se,Ge=Xt.checkedKeys,_t=Xt.disabled,bt=Xt.footer,gt=Xt.showSearch,at=gt===void 0?!1:gt,ft=Xt.style,Fe=Xt.searchPlaceholder,Te=Xt.notFoundContent,ut=Xt.selectAll,le=Xt.selectCurrent,$e=Xt.selectInvert,Qe=Xt.removeAll,Tt=Xt.removeCurrent,Ot=Xt.renderList,Ut=Xt.onItemSelectAll,At=Xt.onItemRemove,Pt=Xt.showSelectAll,Dt=Pt===void 0?!0:Pt,Qt=Xt.showRemove,cn=Xt.pagination,$n=Xt.direction,hn=bt&&(bt.length<2?bt(this.props):bt(this.props,{direction:$n})),_n=w()(vt,(tt={},Object(E.a)(tt,"".concat(vt,"-with-pagination"),!!cn),Object(E.a)(tt,"".concat(vt,"-with-footer"),!!hn),tt)),bn=this.getFilteredItems(Re,xt),Bn=bn.filteredItems,Tn=bn.filteredRenderItems,Tr=this.getListBody(vt,Fe,xt,Bn,Te,Tn,Ge,Ot,at,_t),Sr=hn?x.createElement("div",{className:"".concat(vt,"-footer")},hn):null,Wr=!Qt&&!cn&&this.getCheckBox({filteredItems:Bn,onItemSelectAll:Ut,disabled:_t,prefixCls:vt}),br;Qt?br=[cn?{key:"removeCurrent",onClick:function(){var na,jn=fe((((na=mt.defaultListBodyRef.current)===null||na===void 0?void 0:na.getItems())||[]).map(function(un){return un.item}));At==null||At(jn)},label:Tt}:null,{key:"removeAll",onClick:function(){At==null||At(fe(Bn))},label:Qe}].filter(function(gr){return gr}):br=[{key:"selectAll",onClick:function(){var na=fe(Bn);Ut(na,na.length!==Ge.length)},label:ut},cn?{key:"selectCurrent",onClick:function(){var na,jn=((na=mt.defaultListBodyRef.current)===null||na===void 0?void 0:na.getItems())||[];Ut(fe(jn.map(function(un){return un.item})),!0)},label:le}:null,{key:"selectInvert",onClick:function(){var na,jn;cn?jn=fe((((na=mt.defaultListBodyRef.current)===null||na===void 0?void 0:na.getItems())||[]).map(function(H){return H.item})):jn=fe(Bn);var un=new Set(Ge),zt=[],Bt=[];jn.forEach(function(H){un.has(H)?Bt.push(H):zt.push(H)}),Ut(zt,!0),Ut(Bt,!1)},label:$e}];var Wn=x.createElement(X.a,{className:"".concat(vt,"-header-dropdown"),menu:{items:br},disabled:_t},x.createElement(U.a,null));return x.createElement("div",{className:_n,style:ft},x.createElement("div",{className:"".concat(vt,"-header")},Dt?x.createElement(x.Fragment,null,Wr,Wn):null,x.createElement("span",{className:"".concat(vt,"-header-selected")},this.getSelectAllLabel(Ge.length,Bn.length)),x.createElement("span",{className:"".concat(vt,"-header-title")},Ve)),Tr,Sr)}}]),lt}(x.PureComponent),Ke=l("5bA4"),Me=l("UESt"),ze=l("2/Rp"),Ue=function(ht){var lt=ht.disabled,Et=ht.moveToLeft,tt=ht.moveToRight,mt=ht.leftArrowText,xt=mt===void 0?"":mt,Xt=ht.rightArrowText,vt=Xt===void 0?"":Xt,qe=ht.leftActive,Re=ht.rightActive,Se=ht.className,Ve=ht.style,Ge=ht.direction,_t=ht.oneWay;return x.createElement("div",{className:Se,style:Ve},x.createElement(ze.a,{type:"primary",size:"small",disabled:lt||!Re,onClick:tt,icon:Ge!=="rtl"?x.createElement(Me.a,null):x.createElement(Ke.a,null)},vt),!_t&&x.createElement(ze.a,{type:"primary",size:"small",disabled:lt||!qe,onClick:Et,icon:Ge!=="rtl"?x.createElement(Ke.a,null):x.createElement(Me.a,null)},xt))},He=Ue,Ne=function(Xe){Object(A.a)(lt,Xe);var ht=Object(S.a)(lt);function lt(Et){var tt;Object(C.a)(this,lt),tt=ht.call(this,Et),tt.separatedDataSource=null,tt.setStateKeys=function(qe,Re){qe==="left"?tt.setState(function(Se){var Ve=Se.sourceSelectedKeys;return{sourceSelectedKeys:typeof Re=="function"?Re(Ve||[]):Re}}):tt.setState(function(Se){var Ve=Se.targetSelectedKeys;return{targetSelectedKeys:typeof Re=="function"?Re(Ve||[]):Re}})},tt.getLocale=function(qe,Re){var Se=tt.props.locale,Ve=Se===void 0?{}:Se;return Object(O.a)(Object(O.a)(Object(O.a)({},qe),{notFoundContent:Re("Transfer")}),Ve)},tt.moveTo=function(qe){var Re=tt.props,Se=Re.targetKeys,Ve=Se===void 0?[]:Se,Ge=Re.dataSource,_t=Ge===void 0?[]:Ge,bt=Re.onChange,gt=tt.state,at=gt.sourceSelectedKeys,ft=gt.targetSelectedKeys,Fe=qe==="right"?at:ft,Te=Fe.filter(function($e){return!_t.some(function(Qe){return!!($e===Qe.key&&Qe.disabled)})}),ut=qe==="right"?Te.concat(Ve):Ve.filter(function($e){return!Te.includes($e)}),le=qe==="right"?"left":"right";tt.setStateKeys(le,[]),tt.handleSelectChange(le,[]),bt==null||bt(ut,qe,Te)},tt.moveToLeft=function(){return tt.moveTo("left")},tt.moveToRight=function(){return tt.moveTo("right")},tt.onItemSelectAll=function(qe,Re,Se){tt.setStateKeys(qe,function(Ve){var Ge=[];return Se?Ge=Array.from(new Set([].concat(Object(m.a)(Ve),Object(m.a)(Re)))):Ge=Ve.filter(function(_t){return!Re.includes(_t)}),tt.handleSelectChange(qe,Ge),Ge})},tt.onLeftItemSelectAll=function(qe,Re){return tt.onItemSelectAll("left",qe,Re)},tt.onRightItemSelectAll=function(qe,Re){return tt.onItemSelectAll("right",qe,Re)},tt.handleFilter=function(qe,Re){var Se=tt.props.onSearch,Ve=Re.target.value;Se==null||Se(qe,Ve)},tt.handleLeftFilter=function(qe){return tt.handleFilter("left",qe)},tt.handleRightFilter=function(qe){return tt.handleFilter("right",qe)},tt.handleClear=function(qe){var Re=tt.props.onSearch;Re==null||Re(qe,"")},tt.handleLeftClear=function(){return tt.handleClear("left")},tt.handleRightClear=function(){return tt.handleClear("right")},tt.onItemSelect=function(qe,Re,Se){var Ve=tt.state,Ge=Ve.sourceSelectedKeys,_t=Ve.targetSelectedKeys,bt=qe==="left"?Object(m.a)(Ge):Object(m.a)(_t),gt=bt.indexOf(Re);gt>-1&&bt.splice(gt,1),Se&&bt.push(Re),tt.handleSelectChange(qe,bt),tt.props.selectedKeys||tt.setStateKeys(qe,bt)},tt.onLeftItemSelect=function(qe,Re){return tt.onItemSelect("left",qe,Re)},tt.onRightItemSelect=function(qe,Re){return tt.onItemSelect("right",qe,Re)},tt.onRightItemRemove=function(qe){var Re=tt.props,Se=Re.targetKeys,Ve=Se===void 0?[]:Se,Ge=Re.onChange;tt.setStateKeys("right",[]),Ge==null||Ge(Ve.filter(function(_t){return!qe.includes(_t)}),"left",Object(m.a)(qe))},tt.handleScroll=function(qe,Re){var Se=tt.props.onScroll;Se==null||Se(qe,Re)},tt.handleLeftScroll=function(qe){return tt.handleScroll("left",qe)},tt.handleRightScroll=function(qe){return tt.handleScroll("right",qe)},tt.handleListStyle=function(qe,Re){return typeof qe=="function"?qe({direction:Re}):qe};var mt=Et.selectedKeys,xt=mt===void 0?[]:mt,Xt=Et.targetKeys,vt=Xt===void 0?[]:Xt;return tt.state={sourceSelectedKeys:xt.filter(function(qe){return!vt.includes(qe)}),targetSelectedKeys:xt.filter(function(qe){return vt.includes(qe)})},tt}return Object(k.a)(lt,[{key:"getTitles",value:function(tt){var mt,xt;return(xt=(mt=this.props.titles)!==null&&mt!==void 0?mt:tt.titles)!==null&&xt!==void 0?xt:[]}},{key:"handleSelectChange",value:function(tt,mt){var xt=this.state,Xt=xt.sourceSelectedKeys,vt=xt.targetSelectedKeys,qe=this.props.onSelectChange;!qe||(tt==="left"?qe(mt,vt):qe(Xt,mt))}},{key:"separateDataSource",value:function(){var tt=this.props,mt=tt.dataSource,xt=mt===void 0?[]:mt,Xt=tt.rowKey,vt=tt.targetKeys,qe=vt===void 0?[]:vt,Re=[],Se=new Array(qe.length);return xt.forEach(function(Ve){Xt&&(Ve=Object(O.a)(Object(O.a)({},Ve),{key:Xt(Ve)}));var Ge=qe.indexOf(Ve.key);Ge!==-1?Se[Ge]=Ve:Re.push(Ve)}),{leftDataSource:Re,rightDataSource:Se}}},{key:"render",value:function(){var tt=this;return x.createElement(N.a,{componentName:"Transfer",defaultLocale:F.a.Transfer},function(mt){return x.createElement(T.a,null,function(xt){var Xt=xt.getPrefixCls,vt=xt.renderEmpty,qe=xt.direction;return x.createElement(D.b.Consumer,null,function(Re){var Se,Ve=Re.hasFeedback,Ge=Re.status,_t=tt.props,bt=_t.prefixCls,gt=_t.className,at=_t.disabled,ft=_t.operations,Fe=ft===void 0?[]:ft,Te=_t.showSearch,ut=Te===void 0?!1:Te,le=_t.footer,$e=_t.style,Qe=_t.listStyle,Tt=Qe===void 0?{}:Qe,Ot=_t.operationStyle,Ut=_t.filterOption,At=_t.render,Pt=_t.children,Dt=_t.showSelectAll,Qt=_t.oneWay,cn=_t.pagination,$n=_t.status,hn=Xt("transfer",bt),_n=tt.getLocale(mt,vt||j.a),bn=tt.state,Bn=bn.sourceSelectedKeys,Tn=bn.targetSelectedKeys,Tr=Object(B.a)(Ge,$n),Sr=!Pt&&cn,Wr=tt.separateDataSource(),br=Wr.leftDataSource,Wn=Wr.rightDataSource,gr=Tn.length>0,na=Bn.length>0,jn=w()(hn,(Se={},Object(E.a)(Se,"".concat(hn,"-disabled"),at),Object(E.a)(Se,"".concat(hn,"-customize-list"),!!Pt),Object(E.a)(Se,"".concat(hn,"-rtl"),qe==="rtl"),Se),Object(B.b)(hn,Tr,Ve),gt),un=tt.getTitles(_n),zt=tt.props.selectAllLabels||[];return x.createElement("div",{className:jn,style:$e},x.createElement(pe,Object(O.a)({prefixCls:"".concat(hn,"-list"),titleText:un==null?void 0:un[0],dataSource:br,filterOption:Ut,style:tt.handleListStyle(Tt,"left"),checkedKeys:Bn,handleFilter:tt.handleLeftFilter,handleClear:tt.handleLeftClear,onItemSelect:tt.onLeftItemSelect,onItemSelectAll:tt.onLeftItemSelectAll,render:At,showSearch:ut,renderList:Pt,footer:le,onScroll:tt.handleLeftScroll,disabled:at,direction:qe==="rtl"?"right":"left",showSelectAll:Dt,selectAllLabel:zt[0],pagination:Sr},_n)),x.createElement(He,{className:"".concat(hn,"-operation"),rightActive:na,rightArrowText:Fe[0],moveToRight:tt.moveToRight,leftActive:gr,leftArrowText:Fe[1],moveToLeft:tt.moveToLeft,style:Ot,disabled:at,direction:qe,oneWay:Qt}),x.createElement(pe,Object(O.a)({prefixCls:"".concat(hn,"-list"),titleText:un==null?void 0:un[1],dataSource:Wn,filterOption:Ut,style:tt.handleListStyle(Tt,"right"),checkedKeys:Tn,handleFilter:tt.handleRightFilter,handleClear:tt.handleRightClear,onItemSelect:tt.onRightItemSelect,onItemSelectAll:tt.onRightItemSelectAll,onItemRemove:tt.onRightItemRemove,render:At,showSearch:ut,renderList:Pt,footer:le,onScroll:tt.handleRightScroll,disabled:at,direction:qe==="rtl"?"left":"right",showSelectAll:Dt,selectAllLabel:zt[1],showRemove:Qt,pagination:Sr},_n)))})})})}}],[{key:"getDerivedStateFromProps",value:function(tt){var mt=tt.selectedKeys,xt=tt.targetKeys,Xt=tt.pagination,vt=tt.children;if(mt){var qe=xt||[];return{sourceSelectedKeys:mt.filter(function(Re){return!qe.includes(Re)}),targetSelectedKeys:mt.filter(function(Re){return qe.includes(Re)})}}return null}}]),lt}(x.Component);Ne.List=pe,Ne.Operation=He,Ne.Search=Ee;var it=R.a=Ne},"aK+R":function(ce,R,l){},aKVN:function(ce,R,l){"use strict";var E=l("f1E4"),m=l("gFfw");ce.exports=function(O){if(O!=="string"&&O!=="number"&&O!=="default")throw TypeError("Incorrect hint");return m(E(this),O!=="number")}},aKgm:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("small")},{small:function(){return m(this,"small","","")}})},aKtI:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("cT1L"),k=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{merge:function(S){for(var y=O(this),w=C(y.set),x=0;x<arguments.length;)k(arguments[x++],w,y,!0);return y}})},aLaE:function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=m.toKey,k=m.set;E({target:"Reflect",stat:!0},{metadata:function(S,y){return function(x,T){k(S,y,O(x),C(T))}}})},aNdP:function(ce,R,l){var E=l("MMxC"),m=l("YMoz");E({target:"Math",stat:!0},{scale:m})},aPG5:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.resolve=void 0;var E=l("MON2"),m=l("FV85"),O=l("qK8v"),C=l("ujMp"),k=l("cSJO"),A=function(x,T,j){try{return j()}catch(D){throw O.isStackOverflowExeption(D)?new Error(E.CIRCULAR_DEPENDENCY_IN_FACTORY(x,T.toString())):D}},S=function w(x){return function(T){T.parentContext.setCurrentRequest(T);var j=T.bindings,D=T.childRequests,N=T.target&&T.target.isArray(),F=!T.parentRequest||!T.parentRequest.target||!T.target||!T.parentRequest.target.matchesArray(T.target.serviceIdentifier);if(N&&F)return D.map(function(ee){var ie=w(x);return ie(ee)});var B=null;if(T.target.isOptional()&&j.length===0)return;var U=j[0],J=U.scope===m.BindingScopeEnum.Singleton,$=U.scope===m.BindingScopeEnum.Request;if(J&&U.activated)return U.cache;if($&&x!==null&&x.has(U.id))return x.get(U.id);if(U.type===m.BindingTypeEnum.ConstantValue)B=U.cache,U.activated=!0;else if(U.type===m.BindingTypeEnum.Function)B=U.cache,U.activated=!0;else if(U.type===m.BindingTypeEnum.Constructor)B=U.implementationType;else if(U.type===m.BindingTypeEnum.DynamicValue&&U.dynamicValue!==null)B=A("toDynamicValue",U.serviceIdentifier,function(){return U.dynamicValue(T.parentContext)});else if(U.type===m.BindingTypeEnum.Factory&&U.factory!==null)B=A("toFactory",U.serviceIdentifier,function(){return U.factory(T.parentContext)});else if(U.type===m.BindingTypeEnum.Provider&&U.provider!==null)B=A("toProvider",U.serviceIdentifier,function(){return U.provider(T.parentContext)});else if(U.type===m.BindingTypeEnum.Instance&&U.implementationType!==null)B=k.resolveInstance(U.implementationType,D,w(x));else{var X=C.getServiceIdentifierAsString(T.serviceIdentifier);throw new Error(E.INVALID_BINDING_TYPE+" "+X)}return typeof U.onActivation=="function"&&(B=U.onActivation(T.parentContext,B)),J&&(U.cache=B,U.activated=!0),$&&x!==null&&!x.has(U.id)&&x.set(U.id,B),B}};function y(w){var x=S(w.plan.rootRequest.requestScope);return x(w.plan.rootRequest)}R.resolve=y},aRU8:function(ce,R,l){var E=l("MMxC"),m=l("ukPv"),O=l("C3pJ"),C=!m.setImmediate||!m.clearImmediate;E({global:!0,bind:!0,enumerable:!0,forced:C},{setImmediate:O.set,clearImmediate:O.clear})},aVg8:function(ce,R,l){"use strict";var E=l("284h").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0,R.noop=O,Object.defineProperty(R,"resetWarned",{enumerable:!0,get:function(){return m.resetWarned}});var m=E(l("i+su"));function O(){}var C=O,k=C;R.default=k},aWDn:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=l("q1tI"),m=(0,E.createContext)(void 0);R.default=m},adU4:function(ce,R,l){var E=l("y1pI"),m=Array.prototype,O=m.splice;function C(k){var A=this.__data__,S=E(A,k);if(S<0)return!1;var y=A.length-1;return S==y?A.pop():O.call(A,S,1),--this.size,!0}ce.exports=C},arQb:function(ce,R,l){"use strict";var E=l("gFfw"),m=l("YfKC"),O=l("HhvW");ce.exports=function(C,k,A){var S=E(k);S in C?m.f(C,S,O(0,A)):C[S]=A}},at8e:function(ce,R,l){"use strict";ce.exports=l("lKJe")},axMd:function(ce,R,l){"use strict";l.d(R,"a",function(){return k});var E=l("q1tI"),m=l.n(E),O=l("TOwV"),C=l.n(O);function k(A){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=[];return m.a.Children.forEach(A,function(w){w==null&&!S.keepEmpty||(Array.isArray(w)?y=y.concat(k(w)):Object(O.isFragment)(w)&&w.props?y=y.concat(k(w.props.children,S)):y.push(w))}),y}},"b+tR":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=m;var E=/-webkit-|-moz-|-ms-/;function m(O){return typeof O=="string"&&E.test(O)}ce.exports=R.default},"b/UD":function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("R80K")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="ExclamationCircleFilled";var x=C.forwardRef(w);R.default=x},b1zA:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.EditableInput=void 0;var E=function(){function X(ee,ie){for(var G=0;G<ie.length;G++){var Q=ie[G];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(ee,Q.key,Q)}}return function(ee,ie,G){return ie&&X(ee.prototype,ie),G&&X(ee,G),ee}}(),m=l("q1tI"),O=A(m),C=l("/FUP"),k=A(C);function A(X){return X&&X.__esModule?X:{default:X}}function S(X,ee,ie){return ee in X?Object.defineProperty(X,ee,{value:ie,enumerable:!0,configurable:!0,writable:!0}):X[ee]=ie,X}function y(X,ee){if(!(X instanceof ee))throw new TypeError("Cannot call a class as a function")}function w(X,ee){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:X}function x(X,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);X.prototype=Object.create(ee&&ee.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(X,ee):X.__proto__=ee)}var T=1,j=38,D=40,N=[j,D],F=function(ee){return N.indexOf(ee)>-1},B=function(ee){return ee+"%"},U=function(ee){return Number(String(ee).replace(/%/g,""))},J=function(ee){return String(ee).indexOf("%")>-1},$=R.EditableInput=function(X){x(ee,X);function ee(ie){y(this,ee);var G=w(this,(ee.__proto__||Object.getPrototypeOf(ee)).call(this));return G.handleBlur=function(){G.state.blurValue&&G.setState({value:G.state.blurValue,blurValue:null})},G.handleChange=function(Q){G.setUpdatedValue(Q.target.value,Q)},G.handleKeyDown=function(Q){var W=U(Q.target.value);if(!isNaN(W)&&F(Q.keyCode)){var ne=G.getArrowOffset(),te=Q.keyCode===j?W+ne:W-ne;G.setUpdatedValue(te,Q)}},G.handleDrag=function(Q){if(G.props.dragLabel){var W=Math.round(G.props.value+Q.movementX);W>=0&&W<=G.props.dragMax&&G.props.onChange&&G.props.onChange(G.getValueObjectWithLabel(W),Q)}},G.handleMouseDown=function(Q){G.props.dragLabel&&(Q.preventDefault(),G.handleDrag(Q),window.addEventListener("mousemove",G.handleDrag),window.addEventListener("mouseup",G.handleMouseUp))},G.handleMouseUp=function(){G.unbindEventListeners()},G.unbindEventListeners=function(){window.removeEventListener("mousemove",G.handleDrag),window.removeEventListener("mouseup",G.handleMouseUp)},G.state={value:String(ie.value).toUpperCase(),blurValue:String(ie.value).toUpperCase()},G}return E(ee,[{key:"componentWillReceiveProps",value:function(G){var Q=this.input;G.value!==this.state.value&&(Q===document.activeElement?this.setState({blurValue:String(G.value).toUpperCase()}):this.setState({value:String(G.value).toUpperCase(),blurValue:!this.state.blurValue&&String(G.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(G){return S({},this.props.label,G)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||T}},{key:"setUpdatedValue",value:function(G,Q){var W=this.props.label!==null?this.getValueObjectWithLabel(G):G;this.props.onChange&&this.props.onChange(W,Q);var ne=J(Q.target.value);this.setState({value:ne?B(G):G})}},{key:"render",value:function(){var G=this,Q=(0,k.default)({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 O.default.createElement("div",{style:Q.wrap},O.default.createElement("input",{style:Q.input,ref:function(ne){return G.input=ne},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?O.default.createElement("span",{style:Q.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),ee}(m.PureComponent||m.Component);R.default=$},b2XM:function(ce,R,l){},b2z7:function(ce,R){var l=/\w*$/;function E(m){var O=new m.constructor(m.source,l.exec(m));return O.lastIndex=m.lastIndex,O}ce.exports=E},b3aT:function(ce,R,l){"use strict";l.d(R,"a",function(){return E}),l.d(R,"c",function(){return m}),l.d(R,"b",function(){return k}),l.d(R,"d",function(){return A}),l.d(R,"e",function(){return S});function E(y,w){O(y)&&(y="100%");var x=C(y);return y=w===360?y:Math.min(w,Math.max(0,parseFloat(y))),x&&(y=parseInt(String(y*w),10)/100),Math.abs(y-w)<1e-6?1:(w===360?y=(y<0?y%w+w:y%w)/parseFloat(String(w)):y=y%w/parseFloat(String(w)),y)}function m(y){return Math.min(1,Math.max(0,y))}function O(y){return typeof y=="string"&&y.indexOf(".")!==-1&&parseFloat(y)===1}function C(y){return typeof y=="string"&&y.indexOf("%")!==-1}function k(y){return y=parseFloat(y),(isNaN(y)||y<0||y>1)&&(y=1),y}function A(y){return y<=1?"".concat(Number(y)*100,"%"):y}function S(y){return y.length===1?"0"+y:String(y)}},b48C:function(ce,R){function l(){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(E){return!1}}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},b6st:function(ce,R,l){var E=l("ukPv");ce.exports=E.Promise},"b8+j":function(ce,R,l){var E=l("MMxC"),m=l("f1E4"),O=l("JS3A"),C=l("g1ZG");C&&E({target:"Reflect",stat:!0},{setPrototypeOf:function(A,S){m(A),O(S);try{return C(A,S),!0}catch(y){return!1}}})},b80T:function(ce,R,l){var E=l("UNi/"),m=l("03A+"),O=l("Z0cm"),C=l("DSRE"),k=l("wJg7"),A=l("c6wG"),S=Object.prototype,y=S.hasOwnProperty;function w(x,T){var j=O(x),D=!j&&m(x),N=!j&&!D&&C(x),F=!j&&!D&&!N&&A(x),B=j||D||N||F,U=B?E(x.length,String):[],J=U.length;for(var $ in x)(T||y.call(x,$))&&!(B&&($=="length"||N&&($=="offset"||$=="parent")||F&&($=="buffer"||$=="byteLength"||$=="byteOffset")||k($,J)))&&U.push($);return U}ce.exports=w},b8b3:function(ce,R,l){},b9aa:function(ce,R,l){},bCY9:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("LtsZ"),m=new E.Plugin({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu","dva","getInitialState","initialStateConfig","locale","layout","layoutActionRef","request"]})},bDgo:function(ce,R,l){var E=l("MMxC"),m=l("M3b6");E({target:"Number",stat:!0},{isInteger:m})},bE4E:function(ce,R,l){},bE4q:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("KQm4"),C=l("TSYQ"),k=l.n(C),A=l("axMd"),S=l("q1tI"),y=l("H84U"),w=l("BvKs"),x=l("0n0R"),T=l("8Skl"),j=l("XBQK"),D=function(ne,te){var _e={};for(var he in ne)Object.prototype.hasOwnProperty.call(ne,he)&&te.indexOf(he)<0&&(_e[he]=ne[he]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,he=Object.getOwnPropertySymbols(ne);oe<he.length;oe++)te.indexOf(he[oe])<0&&Object.prototype.propertyIsEnumerable.call(ne,he[oe])&&(_e[he[oe]]=ne[he[oe]]);return _e},N=function(te){var _e=te.prefixCls,he=te.separator,oe=he===void 0?"/":he,ge=te.children,me=te.menu,Z=te.overlay,xe=te.dropdownProps,Ee=D(te,["prefixCls","separator","children","menu","overlay","dropdownProps"]),Le=S.useContext(y.b),we=Le.getPrefixCls,fe=we("breadcrumb",_e),pe=function(ze){return me||Z?S.createElement(j.a,Object(m.a)({menu:me,overlay:Z,placement:"bottom"},xe),S.createElement("span",{className:"".concat(fe,"-overlay-link")},ze,S.createElement(T.a,null))):ze},Ke;return"href"in Ee?Ke=S.createElement("a",Object(m.a)({className:"".concat(fe,"-link")},Ee),ge):Ke=S.createElement("span",Object(m.a)({className:"".concat(fe,"-link")},Ee),ge),Ke=pe(Ke),ge!=null?S.createElement("li",null,Ke,oe&&S.createElement("span",{className:"".concat(fe,"-separator")},oe)):null};N.__ANT_BREADCRUMB_ITEM=!0;var F=N,B=function(te){var _e=te.children,he=S.useContext(y.b),oe=he.getPrefixCls,ge=oe("breadcrumb");return S.createElement("span",{className:"".concat(ge,"-separator")},_e||"/")};B.__ANT_BREADCRUMB_SEPARATOR=!0;var U=B,J=function(ne,te){var _e={};for(var he in ne)Object.prototype.hasOwnProperty.call(ne,he)&&te.indexOf(he)<0&&(_e[he]=ne[he]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,he=Object.getOwnPropertySymbols(ne);oe<he.length;oe++)te.indexOf(he[oe])<0&&Object.prototype.propertyIsEnumerable.call(ne,he[oe])&&(_e[he[oe]]=ne[he[oe]]);return _e};function $(ne,te){if(!ne.breadcrumbName)return null;var _e=Object.keys(te).join("|"),he=ne.breadcrumbName.replace(new RegExp(":(".concat(_e,")"),"g"),function(oe,ge){return te[ge]||oe});return he}function X(ne,te,_e,he){var oe=_e.indexOf(ne)===_e.length-1,ge=$(ne,te);return oe?S.createElement("span",null,ge):S.createElement("a",{href:"#/".concat(he.join("/"))},ge)}var ee=function(te,_e){return te=(te||"").replace(/^\//,""),Object.keys(_e).forEach(function(he){te=te.replace(":".concat(he),_e[he])}),te},ie=function(te,_e,he){var oe=Object(O.a)(te),ge=ee(_e||"",he);return ge&&oe.push(ge),oe},G=function(te){var _e=te.prefixCls,he=te.separator,oe=he===void 0?"/":he,ge=te.style,me=te.className,Z=te.routes,xe=te.children,Ee=te.itemRender,Le=Ee===void 0?X:Ee,we=te.params,fe=we===void 0?{}:we,pe=J(te,["prefixCls","separator","style","className","routes","children","itemRender","params"]),Ke=S.useContext(y.b),Me=Ke.getPrefixCls,ze=Ke.direction,Ue,He=Me("breadcrumb",_e);if(Z&&Z.length>0){var Ne=[];Ue=Z.map(function(Xe){var ht=ee(Xe.path,fe);ht&&Ne.push(ht);var lt;Xe.children&&Xe.children.length&&(lt=S.createElement(w.a,{items:Xe.children.map(function(tt){return{key:tt.path||tt.breadcrumbName,label:Le(tt,fe,Z,ie(Ne,tt.path,fe))}})}));var Et={separator:oe};return lt&&(Et.overlay=lt),S.createElement(F,Object(m.a)({},Et,{key:ht||Xe.breadcrumbName}),Le(Xe,fe,Z,Ne))})}else xe&&(Ue=Object(A.a)(xe).map(function(Xe,ht){return Xe&&Object(x.a)(Xe,{separator:oe,key:ht})}));var it=k()(He,Object(E.a)({},"".concat(He,"-rtl"),ze==="rtl"),me);return S.createElement("nav",Object(m.a)({className:it,style:ge},pe),S.createElement("ol",null,Ue))};G.Item=F,G.Separator=U;var Q=G,W=R.a=Q},"bF+Q":function(ce,R,l){var E=l("2kyd"),m=l("5yw/"),O=E("iterator"),C=Array.prototype;ce.exports=function(k){return k!==void 0&&(m.Array===k||C[O]===k)}},bGbU:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SliderPointer=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.SliderPointer=function(y){var w=y.direction,x=(0,C.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:w==="vertical"});return m.default.createElement("div",{style:x.picker})};R.default=A},bIKR:function(ce,R,l){var E=l("m0kY"),m=Math.max,O=Math.min;ce.exports=function(C,k){var A=E(C);return A<0?m(A+k,0):O(A,k)}},bJ22:function(ce,R,l){"use strict";(function(E){var m=l("F/eG"),O=l("ypl/"),C=l("Iks+");function k(T){return m.a.isPlainObject(T)||m.a.isArray(T)}function A(T){return m.a.endsWith(T,"[]")?T.slice(0,-2):T}function S(T,j,D){return T?T.concat(j).map(function(F,B){return F=A(F),!D&&B?"["+F+"]":F}).join(D?".":""):j}function y(T){return m.a.isArray(T)&&!T.some(k)}var w=m.a.toFlatObject(m.a,{},null,function(j){return/^is[A-Z]/.test(j)});function x(T,j,D){if(!m.a.isObject(T))throw new TypeError("target must be an object");j=j||new(C.a||FormData),D=m.a.toFlatObject(D,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ne,te){return!m.a.isUndefined(te[ne])});var N=D.metaTokens,F=D.visitor||ee,B=D.dots,U=D.indexes,J=D.Blob||typeof Blob!="undefined"&&Blob,$=J&&m.a.isSpecCompliantForm(j);if(!m.a.isFunction(F))throw new TypeError("visitor must be a function");function X(W){if(W===null)return"";if(m.a.isDate(W))return W.toISOString();if(!$&&m.a.isBlob(W))throw new O.a("Blob is not supported. Use a Buffer instead.");return m.a.isArrayBuffer(W)||m.a.isTypedArray(W)?$&&typeof Blob=="function"?new Blob([W]):E.from(W):W}function ee(W,ne,te){var _e=W;if(W&&!te&&typeof W=="object"){if(m.a.endsWith(ne,"{}"))ne=N?ne:ne.slice(0,-2),W=JSON.stringify(W);else if(m.a.isArray(W)&&y(W)||(m.a.isFileList(W)||m.a.endsWith(ne,"[]"))&&(_e=m.a.toArray(W)))return ne=A(ne),_e.forEach(function(oe,ge){!(m.a.isUndefined(oe)||oe===null)&&j.append(U===!0?S([ne],ge,B):U===null?ne:ne+"[]",X(oe))}),!1}return k(W)?!0:(j.append(S(te,ne,B),X(W)),!1)}var ie=[],G=Object.assign(w,{defaultVisitor:ee,convertValue:X,isVisitable:k});function Q(W,ne){if(!m.a.isUndefined(W)){if(ie.indexOf(W)!==-1)throw Error("Circular reference detected in "+ne.join("."));ie.push(W),m.a.forEach(W,function(_e,he){var oe=!(m.a.isUndefined(_e)||_e===null)&&F.call(j,_e,m.a.isString(he)?he.trim():he,ne,G);oe===!0&&Q(_e,ne?ne.concat(he):[he])}),ie.pop()}}if(!m.a.isObject(T))throw new TypeError("data must be an object");return Q(T),j}R.a=x}).call(this,l("HDXh").Buffer)},bKJz:function(ce,R,l){},bNQv:function(ce,R,l){var E=l("gFfm"),m=l("SKAX"),O=l("EwQA"),C=l("Z0cm");function k(A,S){var y=C(A)?E:m;return y(A,O(S))}ce.exports=k},bPAU:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("uoF6"),O=l("FCfD"),C=l("oa35"),k=l("cT1L"),A=l("f1E4"),S=l("UwrT"),y=l("YON3"),w=l("k/J9"),x=l("lz10"),T=l("MVys"),j=l("2kyd"),D=l("/dTS"),N=l("xH5X"),F=l("1aI8"),B=l("Zcjx"),U=j("matchAll"),J="RegExp String",$=J+" Iterator",X=F.set,ee=F.getterFor($),ie=RegExp.prototype,G=ie.exec,Q="".matchAll,W=!!Q&&!T(function(){"a".matchAll(/./)}),ne=function(he,oe){var ge=he.exec,me;if(typeof ge=="function"){if(me=ge.call(he,oe),typeof me!="object")throw TypeError("Incorrect exec result");return me}return G.call(he,oe)},te=m(function(oe,ge,me,Z){X(this,{type:$,regexp:oe,string:ge,global:me,unicode:Z,done:!1})},J,function(){var oe=ee(this);if(oe.done)return{value:void 0,done:!0};var ge=oe.regexp,me=oe.string,Z=ne(ge,me);return Z===null?{value:void 0,done:oe.done=!0}:oe.global?(String(Z[0])==""&&(ge.lastIndex=N(me,C(ge.lastIndex),oe.unicode)),{value:Z,done:!1}):(oe.done=!0,{value:Z,done:!1})}),_e=function(he){var oe=A(this),ge=String(he),me,Z,xe,Ee,Le,we;return me=D(oe,RegExp),Z=oe.flags,Z===void 0&&oe instanceof RegExp&&!("flags"in ie)&&(Z=w.call(oe)),xe=Z===void 0?"":String(Z),Ee=new me(me===RegExp?oe.source:oe,xe),Le=!!~xe.indexOf("g"),we=!!~xe.indexOf("u"),Ee.lastIndex=C(oe.lastIndex),new te(Ee,ge,Le,we)};E({target:"String",proto:!0,forced:W},{matchAll:function(oe){var ge=O(this),me,Z,xe,Ee;if(oe!=null){if(y(oe)&&(me=String(O("flags"in ie?oe.flags:w.call(oe))),!~me.indexOf("g")))throw TypeError("`.matchAll` does not allow non-global regexes");if(W)return Q.apply(ge,arguments);if(xe=oe[U],xe===void 0&&B&&S(oe)=="RegExp"&&(xe=_e),xe!=null)return k(xe).call(oe,ge)}else if(W)return Q.apply(ge,arguments);return Z=String(ge),Ee=new RegExp(oe,"g"),B?_e.call(Ee,Z):Ee[U](Z)}}),B||U in ie||x(ie,U,_e)},bRQS:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CheckOutlined";var S=R.a=m.forwardRef(A)},bRiQ:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m,O){if(m==="position"&&O==="sticky")return["-webkit-sticky","sticky"]}ce.exports=R.default},bTyn:function(ce,R,l){"use strict";var E=l("ODXe"),m=l("q1tI"),O=l("i8i4");function C(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var k={},A=[],S=function(Ge){A.push(Ge)};function y(Ve,Ge){if(!1)var _t}function w(Ve,Ge){if(!1)var _t}function x(){k={}}function T(Ve,Ge,_t){!Ge&&!k[_t]&&(Ve(!1,_t),k[_t]=!0)}function j(Ve,Ge){T(y,Ve,Ge)}function D(Ve,Ge){T(w,Ve,Ge)}j.preMessage=S,j.resetWarned=x,j.noteOnce=D;var N=j,F=l("U8pU"),B=l("TOwV");function U(Ve,Ge,_t){var bt=m.useRef({});return(!("value"in bt.current)||_t(bt.current.condition,Ge))&&(bt.current.value=Ve(),bt.current.condition=Ge),bt.current.value}function J(Ve,Ge){typeof Ve=="function"?Ve(Ge):Object(F.a)(Ve)==="object"&&Ve&&"current"in Ve&&(Ve.current=Ge)}function $(){for(var Ve=arguments.length,Ge=new Array(Ve),_t=0;_t<Ve;_t++)Ge[_t]=arguments[_t];var bt=Ge.filter(function(gt){return gt});return bt.length<=1?bt[0]:function(gt){Ge.forEach(function(at){J(at,gt)})}}function X(){for(var Ve=arguments.length,Ge=new Array(Ve),_t=0;_t<Ve;_t++)Ge[_t]=arguments[_t];return U(function(){return $.apply(void 0,Ge)},Ge,function(bt,gt){return bt.length===gt.length&&bt.every(function(at,ft){return at===gt[ft]})})}function ee(Ve){var Ge,_t,bt=Object(B.isMemo)(Ve)?Ve.type.type:Ve.type;return!(typeof bt=="function"&&!((Ge=bt.prototype)!==null&&Ge!==void 0&&Ge.render)||typeof Ve=="function"&&!((_t=Ve.prototype)!==null&&_t!==void 0&&_t.render))}var ie=m.createContext(null),G=ie,Q=l("KQm4"),W=C()?m.useLayoutEffect:m.useEffect,ne=function(Ge,_t){var bt=m.useRef(!0);W(function(){return Ge(bt.current)},_t),W(function(){return bt.current=!1,function(){bt.current=!0}},[])},te=function(Ge,_t){ne(function(bt){if(!bt)return Ge()},_t)},_e=ne,he=[];function oe(Ve,Ge){var _t=m.useState(function(){if(!C())return null;var Ot=document.createElement("div");return Ot}),bt=Object(E.a)(_t,1),gt=bt[0],at=m.useRef(!1),ft=m.useContext(G),Fe=m.useState(he),Te=Object(E.a)(Fe,2),ut=Te[0],le=Te[1],$e=ft||(at.current?void 0:function(Ot){le(function(Ut){var At=[Ot].concat(Object(Q.a)(Ut));return At})});function Qe(){gt.parentElement||document.body.appendChild(gt),at.current=!0}function Tt(){var Ot;(Ot=gt.parentElement)===null||Ot===void 0||Ot.removeChild(gt),at.current=!1}return _e(function(){return Ve?ft?ft(Qe):Qe():Tt(),Tt},[Ve]),_e(function(){ut.length&&(ut.forEach(function(Ot){return Ot()}),le(he))},[ut]),[gt,$e]}function ge(Ve,Ge){if(!Ve)return!1;if(Ve.contains)return Ve.contains(Ge);for(var _t=Ge;_t;){if(_t===Ve)return!0;_t=_t.parentNode}return!1}var me="data-rc-order",Z="rc-util-key",xe=new Map;function Ee(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ge=Ve.mark;return Ge?Ge.startsWith("data-")?Ge:"data-".concat(Ge):Z}function Le(Ve){if(Ve.attachTo)return Ve.attachTo;var Ge=document.querySelector("head");return Ge||document.body}function we(Ve){return Ve==="queue"?"prependQueue":Ve?"prepend":"append"}function fe(Ve){return Array.from((xe.get(Ve)||Ve).children).filter(function(Ge){return Ge.tagName==="STYLE"})}function pe(Ve){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!C())return null;var _t=Ge.csp,bt=Ge.prepend,gt=document.createElement("style");gt.setAttribute(me,we(bt)),_t!=null&&_t.nonce&&(gt.nonce=_t==null?void 0:_t.nonce),gt.innerHTML=Ve;var at=Le(Ge),ft=at.firstChild;if(bt){if(bt==="queue"){var Fe=fe(at).filter(function(Te){return["prepend","prependQueue"].includes(Te.getAttribute(me))});if(Fe.length)return at.insertBefore(gt,Fe[Fe.length-1].nextSibling),gt}at.insertBefore(gt,ft)}else at.appendChild(gt);return gt}function Ke(Ve){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=Le(Ge);return fe(_t).find(function(bt){return bt.getAttribute(Ee(Ge))===Ve})}function Me(Ve){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=Ke(Ve,Ge);if(_t){var bt=Le(Ge);bt.removeChild(_t)}}function ze(Ve,Ge){var _t=xe.get(Ve);if(!_t||!ge(document,_t)){var bt=pe("",Ge),gt=bt.parentNode;xe.set(Ve,gt),Ve.removeChild(bt)}}function Ue(){xe.clear()}function He(Ve,Ge){var _t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},bt=Le(_t);ze(bt,_t);var gt=Ke(Ge,_t);if(gt){var at,ft;if((at=_t.csp)!==null&&at!==void 0&&at.nonce&&gt.nonce!==((ft=_t.csp)===null||ft===void 0?void 0:ft.nonce)){var Fe;gt.nonce=(Fe=_t.csp)===null||Fe===void 0?void 0:Fe.nonce}return gt.innerHTML!==Ve&&(gt.innerHTML=Ve),gt}var Te=pe(Ve,_t);return Te.setAttribute(Ee(_t),Ge),Te}var Ne;function it(Ve){if(typeof document=="undefined")return 0;if(Ve||Ne===void 0){var Ge=document.createElement("div");Ge.style.width="100%",Ge.style.height="200px";var _t=document.createElement("div"),bt=_t.style;bt.position="absolute",bt.top="0",bt.left="0",bt.pointerEvents="none",bt.visibility="hidden",bt.width="200px",bt.height="150px",bt.overflow="hidden",_t.appendChild(Ge),document.body.appendChild(_t);var gt=Ge.offsetWidth;_t.style.overflow="scroll";var at=Ge.offsetWidth;gt===at&&(at=_t.clientWidth),document.body.removeChild(_t),Ne=gt-at}return Ne}function Xe(Ve){var Ge=Ve.match(/^(.*)px$/),_t=Number(Ge==null?void 0:Ge[1]);return Number.isNaN(_t)?it():_t}function ht(Ve){if(typeof document=="undefined"||!Ve||!(Ve instanceof Element))return{width:0,height:0};var Ge=getComputedStyle(Ve,"::-webkit-scrollbar"),_t=Ge.width,bt=Ge.height;return{width:Xe(_t),height:Xe(bt)}}function lt(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Et="rc-util-locker-".concat(Date.now()),tt=0;function mt(Ve){var Ge=!!Ve,_t=m.useState(function(){return tt+=1,"".concat(Et,"_").concat(tt)}),bt=Object(E.a)(_t,1),gt=bt[0];_e(function(){if(Ge){var at=it(),ft=lt();He(`
html body {
overflow-y: hidden;
`.concat(ft?"width: calc(100% - ".concat(at,"px);"):"",`
}`),gt)}else Me(gt);return function(){Me(gt)}},[Ge,gt])}var xt=!1;function Xt(Ve){return typeof Ve=="boolean"&&(xt=Ve),xt}var vt=function(Ge){return Ge===!1?!1:!C()||!Ge?null:typeof Ge=="string"?document.querySelector(Ge):typeof Ge=="function"?Ge():Ge},qe=m.forwardRef(function(Ve,Ge){var _t=Ve.open,bt=Ve.autoLock,gt=Ve.getContainer,at=Ve.debug,ft=Ve.autoDestroy,Fe=ft===void 0?!0:ft,Te=Ve.children,ut=m.useState(_t),le=Object(E.a)(ut,2),$e=le[0],Qe=le[1],Tt=$e||_t;m.useEffect(function(){(Fe||_t)&&Qe(_t)},[_t,Fe]);var Ot=m.useState(function(){return vt(gt)}),Ut=Object(E.a)(Ot,2),At=Ut[0],Pt=Ut[1];m.useEffect(function(){var Sr=vt(gt);Pt(Sr!=null?Sr:null)});var Dt=oe(Tt&&!At,at),Qt=Object(E.a)(Dt,2),cn=Qt[0],$n=Qt[1],hn=At!=null?At:cn;mt(bt&&_t&&C()&&(hn===cn||hn===document.body));var _n=null;if(Te&&ee(Te)&&Ge){var bn=Te;_n=bn.ref}var Bn=X(_n,Ge);if(!Tt||!C()||At===void 0)return null;var Tn=hn===!1||Xt(),Tr=Te;return Ge&&(Tr=m.cloneElement(Te,{ref:Bn})),m.createElement(G.Provider,{value:$n},Tn?Tr:Object(O.createPortal)(Tr,hn))}),Re=qe,Se=R.a=Re},"bU/s":function(ce,R,l){(function(E){(function(){var m="ace",O=function(){return this}();if(!O&&typeof window!="undefined"&&(O=window),!m&&typeof requirejs!="undefined")return;var C=function x(T,j,D){if(typeof T!="string"){x.original?x.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(D=j),x.modules[T]||(x.payloads[T]=D,x.modules[T]=null)};C.modules={},C.payloads={};var k=function(T,j,D){if(typeof j=="string"){var N=y(T,j);if(N!=null)return D&&D(),N}else if(Object.prototype.toString.call(j)==="[object Array]"){for(var F=[],B=0,U=j.length;B<U;++B){var J=y(T,j[B]);if(J==null&&A.original)return;F.push(J)}return D&&D.apply(null,F)||!0}},A=function x(T,j){var D=k("",T,j);return D==null&&x.original?x.original.apply(this,arguments):D},S=function x(T,j){if(j.indexOf("!")!==-1){var D=j.split("!");return x(T,D[0])+"!"+x(T,D[1])}if(j.charAt(0)=="."){var N=T.split("/").slice(0,-1).join("/");for(j=N+"/"+j;j.indexOf(".")!==-1&&F!=j;){var F=j;j=j.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return j},y=function(T,j){j=S(T,j);var D=C.modules[j];if(!D){if(D=C.payloads[j],typeof D=="function"){var N={},F={id:j,uri:"",exports:N,packaged:!0},B=function($,X){return k(j,$,X)},U=D(B,N,F);N=U||F.exports,C.modules[j]=N,delete C.payloads[j]}D=C.modules[j]=N||D}return D};function w(x){var T=O;x&&(O[x]||(O[x]={}),T=O[x]),(!T.define||!T.define.packaged)&&(C.original=T.define,T.define=C,T.define.packaged=!0),(!T.require||!T.require.packaged)&&(A.original=T.require,T.require=A,T.require.packaged=!0)}w(m)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(m,O,C){function k(A,S,y){Object.defineProperty(A,S,{value:y,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||k(String.prototype,"startsWith",function(A,S){return S=S||0,this.lastIndexOf(A,S)===S}),String.prototype.endsWith||k(String.prototype,"endsWith",function(A,S){var y=this;(S===void 0||S>y.length)&&(S=y.length),S-=A.length;var w=y.indexOf(A,S);return w!==-1&&w===S}),String.prototype.repeat||k(String.prototype,"repeat",function(A){for(var S="",y=this;A>0;)A&1&&(S+=y),(A>>=1)&&(y+=y);return S}),String.prototype.includes||k(String.prototype,"includes",function(A,S){return this.indexOf(A,S)!=-1}),Object.assign||(Object.assign=function(A){if(A==null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(A),y=1;y<arguments.length;y++){var w=arguments[y];w!=null&&Object.keys(w).forEach(function(x){S[x]=w[x]})}return S}),Object.values||(Object.values=function(A){return Object.keys(A).map(function(S){return A[S]})}),Array.prototype.find||k(Array.prototype,"find",function(A){for(var S=this.length,y=arguments[1],w=0;w<S;w++){var x=this[w];if(A.call(y,x,w,this))return x}}),Array.prototype.findIndex||k(Array.prototype,"findIndex",function(A){for(var S=this.length,y=arguments[1],w=0;w<S;w++){var x=this[w];if(A.call(y,x,w,this))return w}}),Array.prototype.includes||k(Array.prototype,"includes",function(A,S){return this.indexOf(A,S)!=-1}),Array.prototype.fill||k(Array.prototype,"fill",function(A){for(var S=this,y=S.length>>>0,w=arguments[1],x=w>>0,T=x<0?Math.max(y+x,0):Math.min(x,y),j=arguments[2],D=j===void 0?y:j>>0,N=D<0?Math.max(y+D,0):Math.min(D,y);T<N;)S[T]=A,T++;return S}),Array.of||k(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(m,O,C){"use strict";m("./es6-shim")}),ace.define("ace/lib/lang",["require","exports","module"],function(m,O,C){"use strict";O.last=function(S){return S[S.length-1]},O.stringReverse=function(S){return S.split("").reverse().join("")},O.stringRepeat=function(S,y){for(var w="";y>0;)y&1&&(w+=S),(y>>=1)&&(S+=S);return w};var k=/^\s\s*/,A=/\s\s*$/;O.stringTrimLeft=function(S){return S.replace(k,"")},O.stringTrimRight=function(S){return S.replace(A,"")},O.copyObject=function(S){var y={};for(var w in S)y[w]=S[w];return y},O.copyArray=function(S){for(var y=[],w=0,x=S.length;w<x;w++)S[w]&&typeof S[w]=="object"?y[w]=this.copyObject(S[w]):y[w]=S[w];return y},O.deepCopy=function S(y){if(typeof y!="object"||!y)return y;var w;if(Array.isArray(y)){w=[];for(var x=0;x<y.length;x++)w[x]=S(y[x]);return w}if(Object.prototype.toString.call(y)!=="[object Object]")return y;w={};for(var x in y)w[x]=S(y[x]);return w},O.arrayToMap=function(S){for(var y={},w=0;w<S.length;w++)y[S[w]]=1;return y},O.createMap=function(S){var y=Object.create(null);for(var w in S)y[w]=S[w];return y},O.arrayRemove=function(S,y){for(var w=0;w<=S.length;w++)y===S[w]&&S.splice(w,1)},O.escapeRegExp=function(S){return S.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},O.escapeHTML=function(S){return(""+S).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},O.getMatchOffsets=function(S,y){var w=[];return S.replace(y,function(x){w.push({offset:arguments[arguments.length-2],length:x.length})}),w},O.deferredCall=function(S){var y=null,w=function(){y=null,S()},x=function T(j){return T.cancel(),y=setTimeout(w,j||0),T};return x.schedule=x,x.call=function(){return this.cancel(),S(),x},x.cancel=function(){return clearTimeout(y),y=null,x},x.isPending=function(){return y},x},O.delayedCall=function(S,y){var w=null,x=function(){w=null,S()},T=function(D){w==null&&(w=setTimeout(x,D||y))};return T.delay=function(j){w&&clearTimeout(w),w=setTimeout(x,j||y)},T.schedule=T,T.call=function(){this.cancel(),S()},T.cancel=function(){w&&clearTimeout(w),w=null},T.isPending=function(){return w},T}}),ace.define("ace/lib/useragent",["require","exports","module"],function(m,O,C){"use strict";O.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},O.getOS=function(){return O.isMac?O.OS.MAC:O.isLinux?O.OS.LINUX:O.OS.WINDOWS};var k=typeof navigator=="object"?navigator:{},A=(/mac|win|linux/i.exec(k.platform)||["other"])[0].toLowerCase(),S=k.userAgent||"",y=k.appName||"";O.isWin=A=="win",O.isMac=A=="mac",O.isLinux=A=="linux",O.isIE=y=="Microsoft Internet Explorer"||y.indexOf("MSAppHost")>=0?parseFloat((S.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((S.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),O.isOldIE=O.isIE&&O.isIE<9,O.isGecko=O.isMozilla=S.match(/ Gecko\/\d+/),O.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",O.isWebKit=parseFloat(S.split("WebKit/")[1])||void 0,O.isChrome=parseFloat(S.split(" Chrome/")[1])||void 0,O.isEdge=parseFloat(S.split(" Edge/")[1])||void 0,O.isAIR=S.indexOf("AdobeAIR")>=0,O.isAndroid=S.indexOf("Android")>=0,O.isChromeOS=S.indexOf(" CrOS ")>=0,O.isIOS=/iPad|iPhone|iPod/.test(S)&&!window.MSStream,O.isIOS&&(O.isMac=!0),O.isMobile=O.isIOS||O.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(m,O,C){"use strict";var k=m("./useragent"),A="http://www.w3.org/1999/xhtml";O.buildDom=function j(D,N,F){if(typeof D=="string"&&D){var B=document.createTextNode(D);return N&&N.appendChild(B),B}if(!Array.isArray(D))return D&&D.appendChild&&N&&N.appendChild(D),D;if(typeof D[0]!="string"||!D[0]){for(var U=[],J=0;J<D.length;J++){var $=j(D[J],N,F);$&&U.push($)}return U}var X=document.createElement(D[0]),ee=D[1],ie=1;ee&&typeof ee=="object"&&!Array.isArray(ee)&&(ie=2);for(var J=ie;J<D.length;J++)j(D[J],X,F);return ie==2&&Object.keys(ee).forEach(function(G){var Q=ee[G];G==="class"?X.className=Array.isArray(Q)?Q.join(" "):Q:typeof Q=="function"||G=="value"||G[0]=="$"?X[G]=Q:G==="ref"?F&&(F[Q]=X):G==="style"?typeof Q=="string"&&(X.style.cssText=Q):Q!=null&&X.setAttribute(G,Q)}),N&&N.appendChild(X),X},O.getDocumentHead=function(j){return j||(j=document),j.head||j.getElementsByTagName("head")[0]||j.documentElement},O.createElement=function(j,D){return document.createElementNS?document.createElementNS(D||A,j):document.createElement(j)},O.removeChildren=function(j){j.innerHTML=""},O.createTextNode=function(j,D){var N=D?D.ownerDocument:document;return N.createTextNode(j)},O.createFragment=function(j){var D=j?j.ownerDocument:document;return D.createDocumentFragment()},O.hasCssClass=function(j,D){var N=(j.className+"").split(/\s+/g);return N.indexOf(D)!==-1},O.addCssClass=function(j,D){O.hasCssClass(j,D)||(j.className+=" "+D)},O.removeCssClass=function(j,D){for(var N=j.className.split(/\s+/g);;){var F=N.indexOf(D);if(F==-1)break;N.splice(F,1)}j.className=N.join(" ")},O.toggleCssClass=function(j,D){for(var N=j.className.split(/\s+/g),F=!0;;){var B=N.indexOf(D);if(B==-1)break;F=!1,N.splice(B,1)}return F&&N.push(D),j.className=N.join(" "),F},O.setCssClass=function(j,D,N){N?O.addCssClass(j,D):O.removeCssClass(j,D)},O.hasCssString=function(j,D){var N=0,F;if(D=D||document,F=D.querySelectorAll("style")){for(;N<F.length;)if(F[N++].id===j)return!0}},O.removeElementById=function(j,D){D=D||document,D.getElementById(j)&&D.getElementById(j).remove()};var S,y=[];O.useStrictCSP=function(j){S=j,j==!1?w():y||(y=[])};function w(){var j=y;y=null,j&&j.forEach(function(D){x(D[0],D[1])})}function x(j,D,N){if(typeof document!="undefined"){if(y){if(N)w();else if(N===!1)return y.push([j,D])}if(!S){var F=N;!N||!N.getRootNode?F=document:(F=N.getRootNode(),(!F||F==N)&&(F=document));var B=F.ownerDocument||F;if(D&&O.hasCssString(D,F))return null;D&&(j+=`
/*# sourceURL=ace/css/`+D+" */");var U=O.createElement("style");U.appendChild(B.createTextNode(j)),D&&(U.id=D),F==B&&(F=O.getDocumentHead(B)),F.insertBefore(U,F.firstChild)}}}if(O.importCssString=x,O.importCssStylsheet=function(j,D){O.buildDom(["link",{rel:"stylesheet",href:j}],O.getDocumentHead(D))},O.scrollbarWidth=function(j){var D=O.createElement("ace_inner");D.style.width="100%",D.style.minWidth="0px",D.style.height="200px",D.style.display="block";var N=O.createElement("ace_outer"),F=N.style;F.position="absolute",F.left="-10000px",F.overflow="hidden",F.width="200px",F.minWidth="0px",F.height="150px",F.display="block",N.appendChild(D);var B=j&&j.documentElement||document&&document.documentElement;if(!B)return 0;B.appendChild(N);var U=D.offsetWidth;F.overflow="scroll";var J=D.offsetWidth;return U===J&&(J=N.clientWidth),B.removeChild(N),U-J},O.computedStyle=function(j,D){return window.getComputedStyle(j,"")||{}},O.setStyle=function(j,D,N){j[D]!==N&&(j[D]=N)},O.HAS_CSS_ANIMATION=!1,O.HAS_CSS_TRANSFORMS=!1,O.HI_DPI=k.isWin?typeof window!="undefined"&&window.devicePixelRatio>=1.5:!0,k.isChromeOS&&(O.HI_DPI=!1),typeof document!="undefined"){var T=document.createElement("div");O.HI_DPI&&T.style.transform!==void 0&&(O.HAS_CSS_TRANSFORMS=!0),!k.isEdge&&typeof T.style.animationName!="undefined"&&(O.HAS_CSS_ANIMATION=!0),T=null}O.HAS_CSS_TRANSFORMS?O.translate=function(j,D,N){j.style.transform="translate("+Math.round(D)+"px, "+Math.round(N)+"px)"}:O.translate=function(j,D,N){j.style.top=Math.round(N)+"px",j.style.left=Math.round(D)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(m,O,C){/*
* based on code from:
*
* @license RequireJS text 0.25.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/"use strict";var k=m("./dom");O.get=function(A,S){var y=new XMLHttpRequest;y.open("GET",A,!0),y.onreadystatechange=function(){y.readyState===4&&S(y.responseText)},y.send(null)},O.loadScript=function(A,S){var y=k.getDocumentHead(),w=document.createElement("script");w.src=A,y.appendChild(w),w.onload=w.onreadystatechange=function(x,T){(T||!w.readyState||w.readyState=="loaded"||w.readyState=="complete")&&(w=w.onload=w.onreadystatechange=null,T||S())}},O.qualifyURL=function(A){var S=document.createElement("a");return S.href=A,S.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(m,O,C){"use strict";O.inherits=function(k,A){k.super_=A,k.prototype=Object.create(A.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}})},O.mixin=function(k,A){for(var S in A)k[S]=A[S];return k},O.implement=function(k,A){O.mixin(k,A)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(m,O,C){"use strict";var k={},A=function(){this.propagationStopped=!0},S=function(){this.defaultPrevented=!0};k._emit=k._dispatchEvent=function(y,w){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var x=this._eventRegistry[y]||[],T=this._defaultHandlers[y];if(!(!x.length&&!T)){(typeof w!="object"||!w)&&(w={}),w.type||(w.type=y),w.stopPropagation||(w.stopPropagation=A),w.preventDefault||(w.preventDefault=S),x=x.slice();for(var j=0;j<x.length&&(x[j](w,this),!w.propagationStopped);j++);if(T&&!w.defaultPrevented)return T(w,this)}},k._signal=function(y,w){var x=(this._eventRegistry||{})[y];if(!!x){x=x.slice();for(var T=0;T<x.length;T++)x[T](w,this)}},k.once=function(y,w){var x=this;if(this.on(y,function T(){x.off(y,T),w.apply(null,arguments)}),!w)return new Promise(function(T){w=T})},k.setDefaultHandler=function(y,w){var x=this._defaultHandlers;if(x||(x=this._defaultHandlers={_disabled_:{}}),x[y]){var T=x[y],j=x._disabled_[y];j||(x._disabled_[y]=j=[]),j.push(T);var D=j.indexOf(w);D!=-1&&j.splice(D,1)}x[y]=w},k.removeDefaultHandler=function(y,w){var x=this._defaultHandlers;if(!!x){var T=x._disabled_[y];if(x[y]==w)T&&this.setDefaultHandler(y,T.pop());else if(T){var j=T.indexOf(w);j!=-1&&T.splice(j,1)}}},k.on=k.addEventListener=function(y,w,x){this._eventRegistry=this._eventRegistry||{};var T=this._eventRegistry[y];return T||(T=this._eventRegistry[y]=[]),T.indexOf(w)==-1&&T[x?"unshift":"push"](w),w},k.off=k.removeListener=k.removeEventListener=function(y,w){this._eventRegistry=this._eventRegistry||{};var x=this._eventRegistry[y];if(!!x){var T=x.indexOf(w);T!==-1&&x.splice(T,1)}},k.removeAllListeners=function(y){y||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[y]=void 0),this._defaultHandlers&&(this._defaultHandlers[y]=void 0)},O.EventEmitter=k}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(m,O,C){var k=m("./oop"),A=m("./event_emitter").EventEmitter,S={setOptions:function(D){Object.keys(D).forEach(function(N){this.setOption(N,D[N])},this)},getOptions:function(D){var N={};if(D)Array.isArray(D)||(N=D,D=Object.keys(N));else{var F=this.$options;D=Object.keys(F).filter(function(B){return!F[B].hidden})}return D.forEach(function(B){N[B]=this.getOption(B)},this),N},setOption:function(D,N){if(this["$"+D]!==N){var F=this.$options[D];if(!F)return y('misspelled option "'+D+'"');if(F.forwardTo)return this[F.forwardTo]&&this[F.forwardTo].setOption(D,N);F.handlesSet||(this["$"+D]=N),F&&F.set&&F.set.call(this,N)}},getOption:function(D){var N=this.$options[D];return N?N.forwardTo?this[N.forwardTo]&&this[N.forwardTo].getOption(D):N&&N.get?N.get.call(this):this["$"+D]:y('misspelled option "'+D+'"')}};function y(j){typeof console!="undefined"&&console.warn&&console.warn.apply(console,arguments)}function w(j,D){var N=new Error(j);N.data=D,typeof console=="object"&&console.error&&console.error(N),setTimeout(function(){throw N})}var x,T=function(){function j(){this.$defaultOptions={}}return j.prototype.defineOptions=function(D,N,F){return D.$options||(this.$defaultOptions[N]=D.$options={}),Object.keys(F).forEach(function(B){var U=F[B];typeof U=="string"&&(U={forwardTo:U}),U.name||(U.name=B),D.$options[U.name]=U,"initialValue"in U&&(D["$"+U.name]=U.initialValue)}),k.implement(D,S),this},j.prototype.resetOptions=function(D){Object.keys(D.$options).forEach(function(N){var F=D.$options[N];"value"in F&&D.setOption(N,F.value)})},j.prototype.setDefaultValue=function(D,N,F){if(!D){for(D in this.$defaultOptions)if(this.$defaultOptions[D][N])break;if(!this.$defaultOptions[D][N])return!1}var B=this.$defaultOptions[D]||(this.$defaultOptions[D]={});B[N]&&(B.forwardTo?this.setDefaultValue(B.forwardTo,N,F):B[N].value=F)},j.prototype.setDefaultValues=function(D,N){Object.keys(N).forEach(function(F){this.setDefaultValue(D,F,N[F])},this)},j.prototype.setMessages=function(D){x=D},j.prototype.nls=function(D,N){x&&!x[D]&&y("No message found for '"+D+"' in the provided messages, falling back to default English message.");var F=x&&x[D]||D;return N&&(F=F.replace(/\$(\$|[\d]+)/g,function(B,U){return U=="$"?"$":N[U]})),F},j}();T.prototype.warn=y,T.prototype.reportError=w,k.implement(T.prototype,A),O.AppConfig=T}),ace.define("ace/theme/textmate-css",["require","exports","module"],function(m,O,C){C.exports=`.ace-tm .ace_gutter {
background: #f0f0f0;
color: #333;
}
.ace-tm .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
.ace-tm .ace_fold {
background-color: #6B72E6;
}
.ace-tm {
background-color: #FFFFFF;
color: black;
}
.ace-tm .ace_cursor {
color: black;
}
.ace-tm .ace_invisible {
color: rgb(191, 191, 191);
}
.ace-tm .ace_storage,
.ace-tm .ace_keyword {
color: blue;
}
.ace-tm .ace_constant {
color: rgb(197, 6, 11);
}
.ace-tm .ace_constant.ace_buildin {
color: rgb(88, 72, 246);
}
.ace-tm .ace_constant.ace_language {
color: rgb(88, 92, 246);
}
.ace-tm .ace_constant.ace_library {
color: rgb(6, 150, 14);
}
.ace-tm .ace_invalid {
background-color: rgba(255, 0, 0, 0.1);
color: red;
}
.ace-tm .ace_support.ace_function {
color: rgb(60, 76, 114);
}
.ace-tm .ace_support.ace_constant {
color: rgb(6, 150, 14);
}
.ace-tm .ace_support.ace_type,
.ace-tm .ace_support.ace_class {
color: rgb(109, 121, 222);
}
.ace-tm .ace_keyword.ace_operator {
color: rgb(104, 118, 135);
}
.ace-tm .ace_string {
color: rgb(3, 106, 7);
}
.ace-tm .ace_comment {
color: rgb(76, 136, 107);
}
.ace-tm .ace_comment.ace_doc {
color: rgb(0, 102, 255);
}
.ace-tm .ace_comment.ace_doc.ace_tag {
color: rgb(128, 159, 191);
}
.ace-tm .ace_constant.ace_numeric {
color: rgb(0, 0, 205);
}
.ace-tm .ace_variable {
color: rgb(49, 132, 149);
}
.ace-tm .ace_xml-pe {
color: rgb(104, 104, 91);
}
.ace-tm .ace_entity.ace_name.ace_function {
color: #0000A2;
}
.ace-tm .ace_heading {
color: rgb(12, 7, 255);
}
.ace-tm .ace_list {
color:rgb(185, 6, 144);
}
.ace-tm .ace_meta.ace_tag {
color:rgb(0, 22, 142);
}
.ace-tm .ace_string.ace_regex {
color: rgb(255, 0, 0)
}
.ace-tm .ace_marker-layer .ace_selection {
background: rgb(181, 213, 255);
}
.ace-tm.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px white;
}
.ace-tm .ace_marker-layer .ace_step {
background: rgb(252, 255, 0);
}
.ace-tm .ace_marker-layer .ace_stack {
background: rgb(164, 229, 101);
}
.ace-tm .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgb(192, 192, 192);
}
.ace-tm .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.07);
}
.ace-tm .ace_gutter-active-line {
background-color : #dcdcdc;
}
.ace-tm .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}
.ace-tm .ace_indent-guide {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
}
.ace-tm .ace_indent-guide-active {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;
}
`}),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(m,O,C){"use strict";O.isDark=!1,O.cssClass="ace-tm",O.cssText=m("./textmate-css"),O.$id="ace/theme/textmate";var k=m("../lib/dom");k.importCssString(O.cssText,O.cssClass,!1)}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/net","ace/lib/dom","ace/lib/app_config","ace/theme/textmate"],function(m,O,C){var k=m("./lib/lang"),A=m("./lib/net"),S=m("./lib/dom"),y=m("./lib/app_config").AppConfig;C.exports=O=new y;var w={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{},loadWorkerFromBlob:!0,sharedPopups:!1,useStrictCSP:null};O.get=function(D){if(!w.hasOwnProperty(D))throw new Error("Unknown config key: "+D);return w[D]},O.set=function(D,N){if(w.hasOwnProperty(D))w[D]=N;else if(this.setDefaultValue("",D,N)==!1)throw new Error("Unknown config key: "+D);D=="useStrictCSP"&&S.useStrictCSP(N)},O.all=function(){return k.copyObject(w)},O.$modes={},O.moduleUrl=function(D,N){if(w.$moduleUrls[D])return w.$moduleUrls[D];var F=D.split("/");N=N||F[F.length-2]||"";var B=N=="snippets"?"/":"-",U=F[F.length-1];if(N=="worker"&&B=="-"){var J=new RegExp("^"+N+"[\\-_]|[\\-_]"+N+"$","g");U=U.replace(J,"")}(!U||U==N)&&F.length>1&&(U=F[F.length-2]);var $=w[N+"Path"];return $==null?$=w.basePath:B=="/"&&(N=B=""),$&&$.slice(-1)!="/"&&($+="/"),$+N+B+U+this.get("suffix")},O.setModuleUrl=function(D,N){return w.$moduleUrls[D]=N};var x=function(N,F){if(N==="ace/theme/textmate"||N==="./theme/textmate")return F(null,m("./theme/textmate"));if(T)return T(N,F);console.error("loader is not configured")},T;O.setLoader=function(D){T=D},O.dynamicModules=Object.create(null),O.$loading={},O.$loaded={},O.loadModule=function(D,N){var F,B;Array.isArray(D)&&(B=D[0],D=D[1]);var U=function($){if($&&!O.$loading[D])return N&&N($);if(O.$loading[D]||(O.$loading[D]=[]),O.$loading[D].push(N),!(O.$loading[D].length>1)){var X=function(){x(D,function(ie,G){G&&(O.$loaded[D]=G),O._emit("load.module",{name:D,module:G});var Q=O.$loading[D];O.$loading[D]=null,Q.forEach(function(W){W&&W(G)})})};if(!O.get("packaged"))return X();A.loadScript(O.moduleUrl(D,B),X),j()}};if(O.dynamicModules[D])O.dynamicModules[D]().then(function(J){J.default?U(J.default):U(J)});else{try{F=this.$require(D)}catch(J){}U(F||O.$loaded[D])}},O.$require=function(D){if(typeof C.require=="function"){var N="require";return C[N](D)}},O.setModuleLoader=function(D,N){O.dynamicModules[D]=N};var j=function(){!w.basePath&&!w.workerPath&&!w.modePath&&!w.themePath&&!Object.keys(w.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),j=function(){})};O.version="1.23.3"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(m,O,C){"use strict";m("./lib/fixoldbrowsers");var k=m("./config");k.setLoader(function(w,x){m([w],function(T){x(null,T)})});var A=function(){return this||typeof window!="undefined"&&window}();C.exports=function(w){k.init=S,k.$require=m,w.require=m,w.define=l("g74U")},S(!0);function S(w){if(!(!A||!A.document)){k.set("packaged",w||m.packaged||C.packaged||A.define&&l("g74U").packaged);var x={},T="",j=document.currentScript||document._currentScript,D=j&&j.ownerDocument||document;j&&j.src&&(T=j.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var N=D.getElementsByTagName("script"),F=0;F<N.length;F++){var B=N[F],U=B.src||B.getAttribute("src");if(!!U){for(var J=B.attributes,$=0,X=J.length;$<X;$++){var ee=J[$];ee.name.indexOf("data-ace-")===0&&(x[y(ee.name.replace(/^data-ace-/,""))]=ee.value)}var ie=U.match(/^(.*)\/ace([\-.]\w+)?\.js(\?|$)/);ie&&(T=ie[1])}}T&&(x.base=x.base||T,x.packaged=!0),x.basePath=x.base,x.workerPath=x.workerPath||x.base,x.modePath=x.modePath||x.base,x.themePath=x.themePath||x.base,delete x.base;for(var G in x)typeof x[G]!="undefined"&&k.set(G,x[G])}}function y(w){return w.replace(/-(.)/g,function(x,T){return T.toUpperCase()})}}),ace.define("ace/range",["require","exports","module"],function(m,O,C){"use strict";var k=function(y,w){return y.row-w.row||y.column-w.column},A=function(){function S(y,w,x,T){this.start={row:y,column:w},this.end={row:x,column:T}}return S.prototype.isEqual=function(y){return this.start.row===y.start.row&&this.end.row===y.end.row&&this.start.column===y.start.column&&this.end.column===y.end.column},S.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},S.prototype.contains=function(y,w){return this.compare(y,w)==0},S.prototype.compareRange=function(y){var w,x=y.end,T=y.start;return w=this.compare(x.row,x.column),w==1?(w=this.compare(T.row,T.column),w==1?2:w==0?1:0):w==-1?-2:(w=this.compare(T.row,T.column),w==-1?-1:w==1?42:0)},S.prototype.comparePoint=function(y){return this.compare(y.row,y.column)},S.prototype.containsRange=function(y){return this.comparePoint(y.start)==0&&this.comparePoint(y.end)==0},S.prototype.intersects=function(y){var w=this.compareRange(y);return w==-1||w==0||w==1},S.prototype.isEnd=function(y,w){return this.end.row==y&&this.end.column==w},S.prototype.isStart=function(y,w){return this.start.row==y&&this.start.column==w},S.prototype.setStart=function(y,w){typeof y=="object"?(this.start.column=y.column,this.start.row=y.row):(this.start.row=y,this.start.column=w)},S.prototype.setEnd=function(y,w){typeof y=="object"?(this.end.column=y.column,this.end.row=y.row):(this.end.row=y,this.end.column=w)},S.prototype.inside=function(y,w){return this.compare(y,w)==0?!(this.isEnd(y,w)||this.isStart(y,w)):!1},S.prototype.insideStart=function(y,w){return this.compare(y,w)==0?!this.isEnd(y,w):!1},S.prototype.insideEnd=function(y,w){return this.compare(y,w)==0?!this.isStart(y,w):!1},S.prototype.compare=function(y,w){return!this.isMultiLine()&&y===this.start.row?w<this.start.column?-1:w>this.end.column?1:0:y<this.start.row?-1:y>this.end.row?1:this.start.row===y?w>=this.start.column?0:-1:this.end.row===y?w<=this.end.column?0:1:0},S.prototype.compareStart=function(y,w){return this.start.row==y&&this.start.column==w?-1:this.compare(y,w)},S.prototype.compareEnd=function(y,w){return this.end.row==y&&this.end.column==w?1:this.compare(y,w)},S.prototype.compareInside=function(y,w){return this.end.row==y&&this.end.column==w?1:this.start.row==y&&this.start.column==w?-1:this.compare(y,w)},S.prototype.clipRows=function(y,w){if(this.end.row>w)var x={row:w+1,column:0};else if(this.end.row<y)var x={row:y,column:0};if(this.start.row>w)var T={row:w+1,column:0};else if(this.start.row<y)var T={row:y,column:0};return S.fromPoints(T||this.start,x||this.end)},S.prototype.extend=function(y,w){var x=this.compare(y,w);if(x==0)return this;if(x==-1)var T={row:y,column:w};else var j={row:y,column:w};return S.fromPoints(T||this.start,j||this.end)},S.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},S.prototype.isMultiLine=function(){return this.start.row!==this.end.row},S.prototype.clone=function(){return S.fromPoints(this.start,this.end)},S.prototype.collapseRows=function(){return this.end.column==0?new S(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new S(this.start.row,0,this.end.row,0)},S.prototype.toScreenRange=function(y){var w=y.documentToScreenPosition(this.start),x=y.documentToScreenPosition(this.end);return new S(w.row,w.column,x.row,x.column)},S.prototype.moveBy=function(y,w){this.start.row+=y,this.start.column+=w,this.end.row+=y,this.end.column+=w},S}();A.fromPoints=function(S,y){return new A(S.row,S.column,y.row,y.column)},A.comparePoints=k,A.comparePoints=function(S,y){return S.row-y.row||S.column-y.column},O.Range=A}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],function(m,O,C){/*! @license
==========================================================================
SproutCore -- JavaScript Application Framework
copyright 2006-2009, Sprout Systems Inc., Apple Inc. and contributors.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
SproutCore and the SproutCore logo are trademarks of Sprout Systems, Inc.
For more information about SproutCore, visit http://www.sproutcore.com
==========================================================================
@license */"use strict";var k=m("./oop"),A=function(){var S={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};S.PRINTABLE_KEYS[173]="-";var y,w;for(w in S.FUNCTION_KEYS)y=S.FUNCTION_KEYS[w].toLowerCase(),S[y]=parseInt(w,10);for(w in S.PRINTABLE_KEYS)y=S.PRINTABLE_KEYS[w].toLowerCase(),S[y]=parseInt(w,10);return k.mixin(S,S.MODIFIER_KEYS),k.mixin(S,S.PRINTABLE_KEYS),k.mixin(S,S.FUNCTION_KEYS),S.enter=S.return,S.escape=S.esc,S.del=S.delete,function(){for(var x=["cmd","ctrl","alt","shift"],T=Math.pow(2,x.length);T--;)S.KEY_MODS[T]=x.filter(function(j){return T&S.KEY_MODS[j]}).join("-")+"-"}(),S.KEY_MODS[0]="",S.KEY_MODS[-1]="input-",S}();k.mixin(O,A),O.default=O,O.keyCodeToString=function(S){var y=A[S];return typeof y!="string"&&(y=String.fromCharCode(S)),y.toLowerCase()}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(m,O,C){"use strict";var k=m("./keys"),A=m("./useragent"),S=null,y=0,w;function x(){w=!1;try{document.createComment("").addEventListener("test",function(){},{get passive(){w={passive:!1}}})}catch($){}}function T(){return w==null&&x(),w}function j($,X,ee){this.elem=$,this.type=X,this.callback=ee}j.prototype.destroy=function(){N(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var D=O.addListener=function($,X,ee,ie){$.addEventListener(X,ee,T()),ie&&ie.$toDestroy.push(new j($,X,ee))},N=O.removeListener=function($,X,ee){$.removeEventListener(X,ee,T())};O.stopEvent=function($){return O.stopPropagation($),O.preventDefault($),!1},O.stopPropagation=function($){$.stopPropagation&&$.stopPropagation()},O.preventDefault=function($){$.preventDefault&&$.preventDefault()},O.getButton=function($){return $.type=="dblclick"?0:$.type=="contextmenu"||A.isMac&&$.ctrlKey&&!$.altKey&&!$.shiftKey?2:$.button},O.capture=function($,X,ee){var ie=$&&$.ownerDocument||document;function G(Q){X&&X(Q),ee&&ee(Q),N(ie,"mousemove",X),N(ie,"mouseup",G),N(ie,"dragstart",G)}return D(ie,"mousemove",X),D(ie,"mouseup",G),D(ie,"dragstart",G),G},O.addMouseWheelListener=function($,X,ee){D($,"wheel",function(ie){var G=.15,Q=ie.deltaX||0,W=ie.deltaY||0;switch(ie.deltaMode){case ie.DOM_DELTA_PIXEL:ie.wheelX=Q*G,ie.wheelY=W*G;break;case ie.DOM_DELTA_LINE:var ne=15;ie.wheelX=Q*ne,ie.wheelY=W*ne;break;case ie.DOM_DELTA_PAGE:var te=150;ie.wheelX=Q*te,ie.wheelY=W*te;break}X(ie)},ee)},O.addMultiMouseDownListener=function($,X,ee,ie,G){var Q=0,W,ne,te,_e={2:"dblclick",3:"tripleclick",4:"quadclick"};function he(oe){if(O.getButton(oe)!==0?Q=0:oe.detail>1?(Q++,Q>4&&(Q=1)):Q=1,A.isIE){var ge=Math.abs(oe.clientX-W)>5||Math.abs(oe.clientY-ne)>5;(!te||ge)&&(Q=1),te&&clearTimeout(te),te=setTimeout(function(){te=null},X[Q-1]||600),Q==1&&(W=oe.clientX,ne=oe.clientY)}if(oe._clicks=Q,ee[ie]("mousedown",oe),Q>4)Q=0;else if(Q>1)return ee[ie](_e[Q],oe)}Array.isArray($)||($=[$]),$.forEach(function(oe){D(oe,"mousedown",he,G)})};var F=function(X){return 0|(X.ctrlKey?1:0)|(X.altKey?2:0)|(X.shiftKey?4:0)|(X.metaKey?8:0)};O.getModifierString=function($){return k.KEY_MODS[F($)]};function B($,X,ee){var ie=F(X);if(!A.isMac&&S){if(X.getModifierState&&(X.getModifierState("OS")||X.getModifierState("Win"))&&(ie|=8),S.altGr)if((3&ie)!=3)S.altGr=0;else return;if(ee===18||ee===17){var G="location"in X?X.location:X.keyLocation;if(ee===17&&G===1)S[ee]==1&&(y=X.timeStamp);else if(ee===18&&ie===3&&G===2){var Q=X.timeStamp-y;Q<50&&(S.altGr=!0)}}}if(ee in k.MODIFIER_KEYS&&(ee=-1),!ie&&ee===13){var G="location"in X?X.location:X.keyLocation;if(G===3&&($(X,ie,-ee),X.defaultPrevented))return}if(A.isChromeOS&&ie&8){if($(X,ie,ee),X.defaultPrevented)return;ie&=~8}return!ie&&!(ee in k.FUNCTION_KEYS)&&!(ee in k.PRINTABLE_KEYS)?!1:$(X,ie,ee)}O.addCommandKeyListener=function($,X,ee){if(A.isOldGecko||A.isOpera&&!("KeyboardEvent"in window)){var ie=null;D($,"keydown",function(Q){ie=Q.keyCode},ee),D($,"keypress",function(Q){return B(X,Q,ie)},ee)}else{var G=null;D($,"keydown",function(Q){S[Q.keyCode]=(S[Q.keyCode]||0)+1;var W=B(X,Q,Q.keyCode);return G=Q.defaultPrevented,W},ee),D($,"keypress",function(Q){G&&(Q.ctrlKey||Q.altKey||Q.shiftKey||Q.metaKey)&&(O.stopEvent(Q),G=null)},ee),D($,"keyup",function(Q){S[Q.keyCode]=null},ee),S||(U(),D(window,"focus",U))}};function U(){S=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!A.isOldIE){var J=1;O.nextTick=function($,X){X=X||window;var ee="zero-timeout-message-"+J++,ie=function G(Q){Q.data==ee&&(O.stopPropagation(Q),N(X,"message",G),$())};D(X,"message",ie),X.postMessage(ee,"*")}}O.$idleBlocked=!1,O.onIdle=function($,X){return setTimeout(function ee(){O.$idleBlocked?setTimeout(ee,100):$()},X)},O.$idleBlockId=null,O.blockIdle=function($){O.$idleBlockId&&clearTimeout(O.$idleBlockId),O.$idleBlocked=!0,O.$idleBlockId=setTimeout(function(){O.$idleBlocked=!1},$||100)},O.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),O.nextFrame?O.nextFrame=O.nextFrame.bind(window):O.nextFrame=function($){setTimeout($,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(m,O,C){"use strict";var k;C.exports={lineMode:!1,pasteCancelled:function(){return k&&k>Date.now()-50?!0:k=!1},cancel:function(){k=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(m,O,C){"use strict";var k=m("../lib/event"),A=m("../config").nls,S=m("../lib/useragent"),y=m("../lib/dom"),w=m("../lib/lang"),x=m("../clipboard"),T=S.isChrome<18,j=S.isIE,D=S.isChrome>63,N=400,F=m("../lib/keys"),B=F.KEY_MODS,U=S.isIOS,J=U?/\s/:/\n/,$=S.isMobile,X=function(ie,G){var Q=y.createElement("textarea");Q.className="ace_text-input",Q.setAttribute("wrap","off"),Q.setAttribute("autocorrect","off"),Q.setAttribute("autocapitalize","off"),Q.setAttribute("spellcheck",!1),Q.style.opacity="0",ie.insertBefore(Q,ie.firstChild);var W=!1,ne=!1,te=!1,_e=!1,he="";$||(Q.style.fontSize="1px");var oe=!1,ge=!1,me="",Z=0,xe=0,Ee=0;try{var Le=document.activeElement===Q}catch(Ve){}this.setAriaOptions=function(Ve){Ve.activeDescendant?(Q.setAttribute("aria-haspopup","true"),Q.setAttribute("aria-autocomplete",Ve.inline?"both":"list"),Q.setAttribute("aria-activedescendant",Ve.activeDescendant)):(Q.setAttribute("aria-haspopup","false"),Q.setAttribute("aria-autocomplete","both"),Q.removeAttribute("aria-activedescendant")),Ve.role&&Q.setAttribute("role",Ve.role)},this.setAriaLabel=function(){if(G.session&&G.renderer.enableKeyboardAccessibility){var Ve=G.session.selection.cursor.row;Q.setAttribute("aria-roledescription",A("editor")),Q.setAttribute("aria-label",A("Cursor at row $0",[Ve+1]))}else Q.removeAttribute("aria-roledescription"),Q.removeAttribute("aria-label")},this.setAriaOptions({role:"textbox"}),this.setAriaLabel(),k.addListener(Q,"blur",function(Ve){ge||(G.onBlur(Ve),Le=!1)},G),k.addListener(Q,"focus",function(Ve){if(!ge){if(Le=!0,S.isEdge)try{if(!document.hasFocus())return}catch(Ge){}G.onFocus(Ve),S.isEdge?setTimeout(we):we()}},G),this.$focusScroll=!1,this.focus=function(){if(this.setAriaLabel(),he||D||this.$focusScroll=="browser")return Q.focus({preventScroll:!0});var Ve=Q.style.top;Q.style.position="fixed",Q.style.top="0px";try{var Ge=Q.getBoundingClientRect().top!=0}catch(gt){return}var _t=[];if(Ge)for(var bt=Q.parentElement;bt&&bt.nodeType==1;)_t.push(bt),bt.setAttribute("ace_nocontext",!0),!bt.parentElement&&bt.getRootNode?bt=bt.getRootNode().host:bt=bt.parentElement;Q.focus({preventScroll:!0}),Ge&&_t.forEach(function(gt){gt.removeAttribute("ace_nocontext")}),setTimeout(function(){Q.style.position="",Q.style.top=="0px"&&(Q.style.top=Ve)},0)},this.blur=function(){Q.blur()},this.isFocused=function(){return Le},G.on("beforeEndOperation",function(){var Ve=G.curOp,Ge=Ve&&Ve.command&&Ve.command.name;if(Ge!="insertstring"){var _t=Ge&&(Ve.docChanged||Ve.selectionChanged);te&&_t&&(me=Q.value="",tt()),we()}});var we=U?function(Ve){if(!(!Le||W&&!Ve||_e)){Ve||(Ve="");var Ge=`
ab`+Ve+`cde fg
`;Ge!=Q.value&&(Q.value=me=Ge);var _t=4,bt=4+(Ve.length||(G.selection.isEmpty()?0:1));(Z!=_t||xe!=bt)&&Q.setSelectionRange(_t,bt),Z=_t,xe=bt}}:function(){if(!(te||_e)&&!(!Le&&!Me)){te=!0;var Ve=0,Ge=0,_t="";if(G.session){var bt=G.selection,gt=bt.getRange(),at=bt.cursor.row;if(Ve=gt.start.column,Ge=gt.end.column,_t=G.session.getLine(at),gt.start.row!=at){var ft=G.session.getLine(at-1);Ve=gt.start.row<at-1?0:Ve,Ge+=ft.length+1,_t=ft+`
`+_t}else if(gt.end.row!=at){var Fe=G.session.getLine(at+1);Ge=gt.end.row>at+1?Fe.length:Ge,Ge+=_t.length+1,_t=_t+`
`+Fe}else $&&at>0&&(_t=`
`+_t,Ge+=1,Ve+=1);_t.length>N&&(Ve<N&&Ge<N?_t=_t.slice(0,N):(_t=`
`,Ve==Ge?Ve=Ge=0:(Ve=0,Ge=1)))}var Te=_t+`
`;if(Te!=me&&(Q.value=me=Te,Z=xe=Te.length),Me&&(Z=Q.selectionStart,xe=Q.selectionEnd),xe!=Ge||Z!=Ve||Q.selectionEnd!=xe)try{Q.setSelectionRange(Ve,Ge),Z=Ve,xe=Ge}catch(ut){}te=!1}};this.resetSelection=we,Le&&G.onFocus();var fe=function(Ge){return Ge.selectionStart===0&&Ge.selectionEnd>=me.length&&Ge.value===me&&me&&Ge.selectionEnd!==xe},pe=function(Ge){te||(W?W=!1:fe(Q)?(G.selectAll(),we()):$&&Q.selectionStart!=Z&&we())},Ke=null;this.setInputHandler=function(Ve){Ke=Ve},this.getInputHandler=function(){return Ke};var Me=!1,ze=function(Ge,_t){if(Me&&(Me=!1),ne)return we(),Ge&&G.onPaste(Ge),ne=!1,"";for(var bt=Q.selectionStart,gt=Q.selectionEnd,at=Z,ft=me.length-xe,Fe=Ge,Te=Ge.length-bt,ut=Ge.length-gt,le=0;at>0&&me[le]==Ge[le];)le++,at--;for(Fe=Fe.slice(le),le=1;ft>0&&me.length-le>Z-1&&me[me.length-le]==Ge[Ge.length-le];)le++,ft--;Te-=le-1,ut-=le-1;var $e=Fe.length-le+1;if($e<0&&(at=-$e,$e=0),Fe=Fe.slice(0,$e),!_t&&!Fe&&!Te&&!at&&!ft&&!ut)return"";_e=!0;var Qe=!1;return S.isAndroid&&Fe==". "&&(Fe=" ",Qe=!0),Fe&&!at&&!ft&&!Te&&!ut||oe?G.onTextInput(Fe):G.onTextInput(Fe,{extendLeft:at,extendRight:ft,restoreStart:Te,restoreEnd:ut}),_e=!1,me=Ge,Z=bt,xe=gt,Ee=ut,Qe?`
`:Fe},Ue=function(Ge){if(te)return Et();if(Ge&&Ge.inputType){if(Ge.inputType=="historyUndo")return G.execCommand("undo");if(Ge.inputType=="historyRedo")return G.execCommand("redo")}var _t=Q.value,bt=ze(_t,!0);(_t.length>N+100||J.test(bt)||$&&Z<1&&Z==xe)&&we()},He=function Ve(Ge,_t,bt){var gt=Ge.clipboardData||window.clipboardData;if(!(!gt||T)){var at=j||bt?"Text":"text/plain";try{return _t?gt.setData(at,_t)!==!1:gt.getData(at)}catch(ft){if(!bt)return Ve(ft,_t,!0)}}},Ne=function(Ge,_t){var bt=G.getCopyText();if(!bt)return k.preventDefault(Ge);He(Ge,bt)?(U&&(we(bt),W=bt,setTimeout(function(){W=!1},10)),_t?G.onCut():G.onCopy(),k.preventDefault(Ge)):(W=!0,Q.value=bt,Q.select(),setTimeout(function(){W=!1,we(),_t?G.onCut():G.onCopy()}))},it=function(Ge){Ne(Ge,!0)},Xe=function(Ge){Ne(Ge,!1)},ht=function(Ge){var _t=He(Ge);x.pasteCancelled()||(typeof _t=="string"?(_t&&G.onPaste(_t,Ge),S.isIE&&setTimeout(we),k.preventDefault(Ge)):(Q.value="",ne=!0))};k.addCommandKeyListener(Q,G.onCommandKey.bind(G),G),k.addListener(Q,"select",pe,G),k.addListener(Q,"input",Ue,G),k.addListener(Q,"cut",it,G),k.addListener(Q,"copy",Xe,G),k.addListener(Q,"paste",ht,G),(!("oncut"in Q)||!("oncopy"in Q)||!("onpaste"in Q))&&k.addListener(ie,"keydown",function(Ve){if(!(S.isMac&&!Ve.metaKey||!Ve.ctrlKey))switch(Ve.keyCode){case 67:Xe(Ve);break;case 86:ht(Ve);break;case 88:it(Ve);break}},G);var lt=function(Ge){if(!(te||!G.onCompositionStart||G.$readOnly)&&(te={},!oe)){Ge.data&&(te.useTextareaForIME=!1),setTimeout(Et,0),G._signal("compositionStart"),G.on("mousedown",mt);var _t=G.getSelectionRange();_t.end.row=_t.start.row,_t.end.column=_t.start.column,te.markerRange=_t,te.selectionStart=Z,G.onCompositionStart(te),te.useTextareaForIME?(me=Q.value="",Z=0,xe=0):(Q.msGetInputContext&&(te.context=Q.msGetInputContext()),Q.getInputContext&&(te.context=Q.getInputContext()))}},Et=function(){if(!(!te||!G.onCompositionUpdate||G.$readOnly)){if(oe)return mt();if(te.useTextareaForIME)G.onCompositionUpdate(Q.value);else{var Ge=Q.value;ze(Ge),te.markerRange&&(te.context&&(te.markerRange.start.column=te.selectionStart=te.context.compositionStartOffset),te.markerRange.end.column=te.markerRange.start.column+xe-te.selectionStart+Ee)}}},tt=function(Ge){!G.onCompositionEnd||G.$readOnly||(te=!1,G.onCompositionEnd(),G.off("mousedown",mt),Ge&&Ue())};function mt(){ge=!0,Q.blur(),Q.focus(),ge=!1}var xt=w.delayedCall(Et,50).schedule.bind(null,null);function Xt(Ve){Ve.keyCode==27&&Q.value.length<Q.selectionStart&&(te||(me=Q.value),Z=xe=-1,we()),xt()}k.addListener(Q,"compositionstart",lt,G),k.addListener(Q,"compositionupdate",Et,G),k.addListener(Q,"keyup",Xt,G),k.addListener(Q,"keydown",xt,G),k.addListener(Q,"compositionend",tt,G),this.getElement=function(){return Q},this.setCommandMode=function(Ve){oe=Ve,Q.readOnly=!1},this.setReadOnly=function(Ve){oe||(Q.readOnly=Ve)},this.setCopyWithEmptySelection=function(Ve){},this.onContextMenu=function(Ve){Me=!0,we(),G._emit("nativecontextmenu",{target:G,domEvent:Ve}),this.moveToMouse(Ve,!0)},this.moveToMouse=function(Ve,Ge){he||(he=Q.style.cssText),Q.style.cssText=(Ge?"z-index:100000;":"")+(S.isIE?"opacity:0.1;":"")+"text-indent: -"+(Z+xe)*G.renderer.characterWidth*.5+"px;";var _t=G.container.getBoundingClientRect(),bt=y.computedStyle(G.container),gt=_t.top+(parseInt(bt.borderTopWidth)||0),at=_t.left+(parseInt(_t.borderLeftWidth)||0),ft=_t.bottom-gt-Q.clientHeight-2,Fe=function(ut){y.translate(Q,ut.clientX-at-2,Math.min(ut.clientY-gt-2,ft))};Fe(Ve),Ve.type=="mousedown"&&(G.renderer.$isMousePressed=!0,clearTimeout(vt),S.isWin&&k.capture(G.container,Fe,qe))},this.onContextMenuClose=qe;var vt;function qe(){clearTimeout(vt),vt=setTimeout(function(){he&&(Q.style.cssText=he,he=""),G.renderer.$isMousePressed=!1,G.renderer.$keepTextAreaAtCursor&&G.renderer.$moveTextAreaToCursor()},0)}var Re=function(Ge){G.textInput.onContextMenu(Ge),qe()};k.addListener(Q,"mouseup",Re,G),k.addListener(Q,"mousedown",function(Ve){Ve.preventDefault(),qe()},G),k.addListener(G.renderer.scroller,"contextmenu",Re,G),k.addListener(Q,"contextmenu",Re,G),U&&Se(ie,G,Q);function Se(Ve,Ge,_t){var bt=null,gt=!1;_t.addEventListener("keydown",function(ft){bt&&clearTimeout(bt),gt=!0},!0),_t.addEventListener("keyup",function(ft){bt=setTimeout(function(){gt=!1},100)},!0);var at=function(Fe){if(document.activeElement===_t&&!(gt||te||Ge.$mouseHandler.isMousePressed)&&!W){var Te=_t.selectionStart,ut=_t.selectionEnd,le=null,$e=0;if(Te==0?le=F.up:Te==1?le=F.home:ut>xe&&me[ut]==`
`?le=F.end:Te<Z&&me[Te-1]==" "?(le=F.left,$e=B.option):Te<Z||Te==Z&&xe!=Z&&Te==ut?le=F.left:ut>xe&&me.slice(0,ut).split(`
`).length>2?le=F.down:ut>xe&&me[ut-1]==" "?(le=F.right,$e=B.option):(ut>xe||ut==xe&&xe!=Z&&Te==ut)&&(le=F.right),Te!==ut&&($e|=B.shift),le){var Qe=Ge.onCommandKey({},$e,le);if(!Qe&&Ge.commands){le=F.keyCodeToString(le);var Tt=Ge.commands.findKeyCommand($e,le);Tt&&Ge.execCommand(Tt)}Z=Te,xe=ut,we("")}}};document.addEventListener("selectionchange",at),Ge.on("destroy",function(){document.removeEventListener("selectionchange",at)})}this.destroy=function(){Q.parentElement&&Q.parentElement.removeChild(Q)}};O.TextInput=X,O.$setUserAgentForTests=function(ee,ie){$=ee,U=ie}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(m,O,C){"use strict";var k=m("../lib/useragent"),A=0,S=550,y=function(){function T(j){j.$clickSelection=null;var D=j.editor;D.setDefaultHandler("mousedown",this.onMouseDown.bind(j)),D.setDefaultHandler("dblclick",this.onDoubleClick.bind(j)),D.setDefaultHandler("tripleclick",this.onTripleClick.bind(j)),D.setDefaultHandler("quadclick",this.onQuadClick.bind(j)),D.setDefaultHandler("mousewheel",this.onMouseWheel.bind(j));var N=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];N.forEach(function(F){j[F]=this[F]},this),j.selectByLines=this.extendSelectionBy.bind(j,"getLineRange"),j.selectByWords=this.extendSelectionBy.bind(j,"getWordRange")}return T.prototype.onMouseDown=function(j){var D=j.inSelection(),N=j.getDocumentPosition();this.mousedownEvent=j;var F=this.editor,B=j.getButton();if(B!==0){var U=F.getSelectionRange(),J=U.isEmpty();(J||B==1)&&F.selection.moveToPosition(N),B==2&&(F.textInput.onContextMenu(j.domEvent),k.isMozilla||j.preventDefault());return}if(this.mousedownEvent.time=Date.now(),D&&!F.isFocused()&&(F.focus(),this.$focusTimeout&&!this.$clickSelection&&!F.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(j);return}return this.captureMouse(j),this.startSelect(N,j.domEvent._clicks>1),j.preventDefault()},T.prototype.startSelect=function(j,D){j=j||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var N=this.editor;!this.mousedownEvent||(this.mousedownEvent.getShiftKey()?N.selection.selectToPosition(j):D||N.selection.moveToPosition(j),D||this.select(),N.setStyle("ace_selecting"),this.setState("select"))},T.prototype.select=function(){var j,D=this.editor,N=D.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var F=this.$clickSelection.comparePoint(N);if(F==-1)j=this.$clickSelection.end;else if(F==1)j=this.$clickSelection.start;else{var B=x(this.$clickSelection,N);N=B.cursor,j=B.anchor}D.selection.setSelectionAnchor(j.row,j.column)}D.selection.selectToPosition(N),D.renderer.scrollCursorIntoView()},T.prototype.extendSelectionBy=function(j){var D,N=this.editor,F=N.renderer.screenToTextCoordinates(this.x,this.y),B=N.selection[j](F.row,F.column);if(this.$clickSelection){var U=this.$clickSelection.comparePoint(B.start),J=this.$clickSelection.comparePoint(B.end);if(U==-1&&J<=0)D=this.$clickSelection.end,(B.end.row!=F.row||B.end.column!=F.column)&&(F=B.start);else if(J==1&&U>=0)D=this.$clickSelection.start,(B.start.row!=F.row||B.start.column!=F.column)&&(F=B.end);else if(U==-1&&J==1)F=B.end,D=B.start;else{var $=x(this.$clickSelection,F);F=$.cursor,D=$.anchor}N.selection.setSelectionAnchor(D.row,D.column)}N.selection.selectToPosition(F),N.renderer.scrollCursorIntoView()},T.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},T.prototype.focusWait=function(){var j=w(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),D=Date.now();(j>A||D-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},T.prototype.onDoubleClick=function(j){var D=j.getDocumentPosition(),N=this.editor,F=N.session,B=F.getBracketRange(D);B?(B.isEmpty()&&(B.start.column--,B.end.column++),this.setState("select")):(B=N.selection.getWordRange(D.row,D.column),this.setState("selectByWords")),this.$clickSelection=B,this.select()},T.prototype.onTripleClick=function(j){var D=j.getDocumentPosition(),N=this.editor;this.setState("selectByLines");var F=N.getSelectionRange();F.isMultiLine()&&F.contains(D.row,D.column)?(this.$clickSelection=N.selection.getLineRange(F.start.row),this.$clickSelection.end=N.selection.getLineRange(F.end.row).end):this.$clickSelection=N.selection.getLineRange(D.row),this.select()},T.prototype.onQuadClick=function(j){var D=this.editor;D.selectAll(),this.$clickSelection=D.getSelectionRange(),this.setState("selectAll")},T.prototype.onMouseWheel=function(j){if(!j.getAccelKey()){j.getShiftKey()&&j.wheelY&&!j.wheelX&&(j.wheelX=j.wheelY,j.wheelY=0);var D=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var N=this.$lastScroll,F=j.domEvent.timeStamp,B=F-N.t,U=B?j.wheelX/B:N.vx,J=B?j.wheelY/B:N.vy;B<S&&(U=(U+N.vx)/2,J=(J+N.vy)/2);var $=Math.abs(U/J),X=!1;if($>=1&&D.renderer.isScrollableBy(j.wheelX*j.speed,0)&&(X=!0),$<=1&&D.renderer.isScrollableBy(0,j.wheelY*j.speed)&&(X=!0),X)N.allowed=F;else if(F-N.allowed<S){var ee=Math.abs(U)<=1.5*Math.abs(N.vx)&&Math.abs(J)<=1.5*Math.abs(N.vy);ee?(X=!0,N.allowed=F):N.allowed=0}if(N.t=F,N.vx=U,N.vy=J,X)return D.renderer.scrollBy(j.wheelX*j.speed,j.wheelY*j.speed),j.stop()}},T}();y.prototype.selectEnd=y.prototype.selectByLinesEnd,y.prototype.selectAllEnd=y.prototype.selectByLinesEnd,y.prototype.selectByWordsEnd=y.prototype.selectByLinesEnd,O.DefaultHandlers=y;function w(T,j,D,N){return Math.sqrt(Math.pow(D-T,2)+Math.pow(N-j,2))}function x(T,j){if(T.start.row==T.end.row)var D=2*j.column-T.start.column-T.end.column;else if(T.start.row==T.end.row-1&&!T.start.column&&!T.end.column)var D=j.column-4;else var D=2*j.row-T.start.row-T.end.row;return D<0?{cursor:T.start,anchor:T.end}:{cursor:T.end,anchor:T.start}}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/range"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var N=function(B,U){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,$){J.__proto__=$}||function(J,$){for(var X in $)Object.prototype.hasOwnProperty.call($,X)&&(J[X]=$[X])},N(B,U)};return function(F,B){if(typeof B!="function"&&B!==null)throw new TypeError("Class extends value "+String(B)+" is not a constructor or null");N(F,B);function U(){this.constructor=F}F.prototype=B===null?Object.create(B):(U.prototype=B.prototype,new U)}}(),A=this&&this.__values||function(N){var F=typeof Symbol=="function"&&Symbol.iterator,B=F&&N[F],U=0;if(B)return B.call(N);if(N&&typeof N.length=="number")return{next:function(){return N&&U>=N.length&&(N=void 0),{value:N&&N[U++],done:!N}}};throw new TypeError(F?"Object is not iterable.":"Symbol.iterator is not defined.")},S=m("./lib/dom"),y=m("./range").Range,w="ace_tooltip",x=function(){function N(F){this.isOpen=!1,this.$element=null,this.$parentNode=F}return N.prototype.$init=function(){return this.$element=S.createElement("div"),this.$element.className=w,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},N.prototype.getElement=function(){return this.$element||this.$init()},N.prototype.setText=function(F){this.getElement().textContent=F},N.prototype.setHtml=function(F){this.getElement().innerHTML=F},N.prototype.setPosition=function(F,B){this.getElement().style.left=F+"px",this.getElement().style.top=B+"px"},N.prototype.setClassName=function(F){S.addCssClass(this.getElement(),F)},N.prototype.setTheme=function(F){this.$element.className=w+" "+(F.isDark?"ace_dark ":"")+(F.cssClass||"")},N.prototype.show=function(F,B,U){F!=null&&this.setText(F),B!=null&&U!=null&&this.setPosition(B,U),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},N.prototype.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=w,this.isOpen=!1)},N.prototype.getHeight=function(){return this.getElement().offsetHeight},N.prototype.getWidth=function(){return this.getElement().offsetWidth},N.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},N}(),T=function(){function N(){this.popups=[]}return N.prototype.addPopup=function(F){this.popups.push(F),this.updatePopups()},N.prototype.removePopup=function(F){var B=this.popups.indexOf(F);B!==-1&&(this.popups.splice(B,1),this.updatePopups())},N.prototype.updatePopups=function(){var F,B,U,J;this.popups.sort(function(te,_e){return _e.priority-te.priority});var $=[];try{for(var X=A(this.popups),ee=X.next();!ee.done;ee=X.next()){var ie=ee.value,G=!0;try{for(var Q=(U=void 0,A($)),W=Q.next();!W.done;W=Q.next()){var ne=W.value;if(this.doPopupsOverlap(ne,ie)){G=!1;break}}}catch(te){U={error:te}}finally{try{W&&!W.done&&(J=Q.return)&&J.call(Q)}finally{if(U)throw U.error}}G?$.push(ie):ie.hide()}}catch(te){F={error:te}}finally{try{ee&&!ee.done&&(B=X.return)&&B.call(X)}finally{if(F)throw F.error}}},N.prototype.doPopupsOverlap=function(F,B){var U=F.getElement().getBoundingClientRect(),J=B.getElement().getBoundingClientRect();return U.left<J.right&&U.right>J.left&&U.top<J.bottom&&U.bottom>J.top},N}(),j=new T;O.popupManager=j,O.Tooltip=x;var D=function(N){k(F,N);function F(B){B===void 0&&(B=document.body);var U=N.call(this,B)||this;U.timeout=void 0,U.lastT=0,U.idleTime=350,U.lastEvent=void 0,U.onMouseOut=U.onMouseOut.bind(U),U.onMouseMove=U.onMouseMove.bind(U),U.waitForHover=U.waitForHover.bind(U),U.hide=U.hide.bind(U);var J=U.getElement();return J.style.whiteSpace="pre-wrap",J.style.pointerEvents="auto",J.addEventListener("mouseout",U.onMouseOut),J.tabIndex=-1,J.addEventListener("blur",function(){J.contains(document.activeElement)||this.hide()}.bind(U)),U}return F.prototype.addToEditor=function(B){B.on("mousemove",this.onMouseMove),B.on("mousedown",this.hide),B.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},F.prototype.removeFromEditor=function(B){B.off("mousemove",this.onMouseMove),B.off("mousedown",this.hide),B.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},F.prototype.onMouseMove=function(B,U){this.lastEvent=B,this.lastT=Date.now();var J=U.$mouseHandler.isMousePressed;if(this.isOpen){var $=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains($.row,$.column)||J||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||J||(this.lastEvent=B,this.timeout=setTimeout(this.waitForHover,this.idleTime))},F.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var B=Date.now()-this.lastT;if(this.idleTime-B>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-B);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},F.prototype.isOutsideOfText=function(B){var U=B.editor,J=B.getDocumentPosition(),$=U.session.getLine(J.row);if(J.column==$.length){var X=U.renderer.pixelToScreenCoordinates(B.clientX,B.clientY),ee=U.session.documentToScreenPosition(J.row,J.column);if(ee.column!=X.column||ee.row!=X.row)return!0}return!1},F.prototype.setDataProvider=function(B){this.$gatherData=B},F.prototype.showForRange=function(B,U,J,$){if(!($&&$!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var X=B.renderer;this.isOpen||(j.addPopup(this),this.$registerCloseEvents(),this.setTheme(X.theme)),this.isOpen=!0,this.addMarker(U,B.session),this.range=y.fromPoints(U.start,U.end);var ee=this.getElement();ee.innerHTML="",ee.appendChild(J),ee.style.display="block";var ie=X.textToScreenCoordinates(U.start.row,U.start.column),G=B.getCursorPosition(),Q=ee.clientHeight,W=X.scroller.getBoundingClientRect(),ne=!0;this.row>G.row?ne=!0:this.row<G.row&&(ne=!1),ie.pageY-Q+X.lineHeight<W.top?ne=!0:ie.pageY+Q>W.bottom&&(ne=!1),ne?ie.pageY+=X.lineHeight:ie.pageY-=Q,ee.style.maxWidth=W.width-(ie.pageX-W.left)+"px",this.setPosition(ie.pageX,ie.pageY)}},F.prototype.addMarker=function(B,U){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=U,this.marker=U&&U.addMarker(B,"ace_highlight-marker","text")},F.prototype.hide=function(B){!B&&document.activeElement==this.getElement()||B&&B.target&&(B.type!="keydown"||B.ctrlKey||B.metaKey)&&this.$element.contains(B.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$removeCloseEvents(),this.getElement().style.display="none",this.isOpen=!1,j.removePopup(this)))},F.prototype.$registerCloseEvents=function(){window.addEventListener("keydown",this.hide,!0),window.addEventListener("mousewheel",this.hide,!0),window.addEventListener("mousedown",this.hide,!0)},F.prototype.$removeCloseEvents=function(){window.removeEventListener("keydown",this.hide,!0),window.removeEventListener("mousewheel",this.hide,!0),window.removeEventListener("mousedown",this.hide,!0)},F.prototype.onMouseOut=function(B){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,!!this.isOpen&&(!B.relatedTarget||B.relatedTarget==this.getElement()||B&&B.currentTarget.contains(B.relatedTarget)||B.relatedTarget.classList.contains("ace_content")||this.hide())},F}(x);O.HoverTooltip=D}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/tooltip","ace/config"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var D=function(F,B){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,J){U.__proto__=J}||function(U,J){for(var $ in J)Object.prototype.hasOwnProperty.call(J,$)&&(U[$]=J[$])},D(F,B)};return function(N,F){if(typeof F!="function"&&F!==null)throw new TypeError("Class extends value "+String(F)+" is not a constructor or null");D(N,F);function B(){this.constructor=N}N.prototype=F===null?Object.create(F):(B.prototype=F.prototype,new B)}}(),A=this&&this.__values||function(D){var N=typeof Symbol=="function"&&Symbol.iterator,F=N&&D[N],B=0;if(F)return F.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&B>=D.length&&(D=void 0),{value:D&&D[B++],done:!D}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")},S=m("../lib/dom"),y=m("../lib/event"),w=m("../tooltip").Tooltip,x=m("../config").nls;function T(D){var N=D.editor,F=N.renderer.$gutterLayer,B=new j(N);D.editor.setDefaultHandler("guttermousedown",function(ie){if(!(!N.isFocused()||ie.getButton()!=0)){var G=F.getRegion(ie);if(G!="foldWidgets"){var Q=ie.getDocumentPosition().row,W=N.session.selection;if(ie.getShiftKey())W.selectTo(Q,0);else{if(ie.domEvent.detail==2)return N.selectAll(),ie.preventDefault();D.$clickSelection=N.selection.getLineRange(Q)}return D.setState("selectByLines"),D.captureMouse(ie),ie.preventDefault()}}});var U,J;function $(){var ie=J.getDocumentPosition().row,G=N.session.getLength();if(ie==G){var Q=N.renderer.pixelToScreenCoordinates(0,J.y).row,W=J.$pos;if(Q>N.session.documentToScreenRow(W.row,W.column))return X()}if(B.showTooltip(ie),!!B.isOpen)if(N.on("mousewheel",X),D.$tooltipFollowsMouse)ee(J);else{var ne=J.getGutterRow(),te=F.$lines.get(ne);if(te){var _e=te.element.querySelector(".ace_gutter_annotation"),he=_e.getBoundingClientRect(),oe=B.getElement().style;oe.left=he.right+"px",oe.top=he.bottom+"px"}else ee(J)}}function X(){U&&(U=clearTimeout(U)),B.isOpen&&(B.hideTooltip(),N.off("mousewheel",X))}function ee(ie){B.setPosition(ie.x,ie.y)}D.editor.setDefaultHandler("guttermousemove",function(ie){var G=ie.domEvent.target||ie.domEvent.srcElement;if(S.hasCssClass(G,"ace_fold-widget"))return X();B.isOpen&&D.$tooltipFollowsMouse&&ee(ie),J=ie,!U&&(U=setTimeout(function(){U=null,J&&!D.isMousePressed?$():X()},50))}),y.addListener(N.renderer.$gutter,"mouseout",function(ie){J=null,!(!B.isOpen||U)&&(U=setTimeout(function(){U=null,X()},50))},N),N.on("changeSession",X),N.on("input",X)}O.GutterHandler=T;var j=function(D){k(N,D);function N(F){var B=D.call(this,F.container)||this;return B.editor=F,B}return N.prototype.setPosition=function(F,B){var U=window.innerWidth||document.documentElement.clientWidth,J=window.innerHeight||document.documentElement.clientHeight,$=this.getWidth(),X=this.getHeight();F+=15,B+=15,F+$>U&&(F-=F+$-U),B+X>J&&(B-=20+X),w.prototype.setPosition.call(this,F,B)},Object.defineProperty(N,"annotationLabels",{get:function(){return{error:{singular:x("error"),plural:x("errors")},warning:{singular:x("warning"),plural:x("warnings")},info:{singular:x("information message"),plural:x("information messages")}}},enumerable:!1,configurable:!0}),N.prototype.showTooltip=function(F){var B=this.editor.renderer.$gutterLayer,U=B.$annotations[F],J;U?J={text:Array.from(U.text),type:Array.from(U.type)}:J={text:[],type:[]};var $=B.session.getFoldLine(F);if($&&B.$showFoldedAnnotations){for(var X={error:[],warning:[],info:[]},ee,ie=F+1;ie<=$.end.row;ie++)if(!!B.$annotations[ie])for(var G=0;G<B.$annotations[ie].text.length;G++){var Q=B.$annotations[ie].type[G];if(X[Q].push(B.$annotations[ie].text[G]),Q==="error"){ee="error_fold";continue}if(Q==="warning"){ee="warning_fold";continue}}if(ee==="error_fold"||ee==="warning_fold"){var W="".concat(N.annotationsToSummaryString(X)," in folded code.");J.text.push(W),J.type.push(ee)}}if(J.text.length===0)return this.hide();for(var ne={error:[],warning:[],info:[]},te=B.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ie=0;ie<J.text.length;ie++){var _e="<span class='ace_".concat(J.type[ie]," ").concat(te,"' aria-label='").concat(N.annotationLabels[J.type[ie].replace("_fold","")].singular,"' role=img> </span> ").concat(J.text[ie]);ne[J.type[ie].replace("_fold","")].push(_e)}var he=[].concat(ne.error,ne.warning,ne.info).join("<br>");this.setHtml(he),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},N.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},N.annotationsToSummaryString=function(F){var B,U,J=[],$=["error","warning","info"];try{for(var X=A($),ee=X.next();!ee.done;ee=X.next()){var ie=ee.value;if(!!F[ie].length){var G=F[ie].length===1?N.annotationLabels[ie].singular:N.annotationLabels[ie].plural;J.push("".concat(F[ie].length," ").concat(G))}}}catch(Q){B={error:Q}}finally{try{ee&&!ee.done&&(U=X.return)&&U.call(X)}finally{if(B)throw B.error}}return J.join(", ")},N}(w);O.GutterTooltip=j}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(m,O,C){"use strict";var k=m("../lib/event"),A=m("../lib/useragent"),S=function(){function y(w,x){this.domEvent=w,this.editor=x,this.x=this.clientX=w.clientX,this.y=this.clientY=w.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return y.prototype.stopPropagation=function(){k.stopPropagation(this.domEvent),this.propagationStopped=!0},y.prototype.preventDefault=function(){k.preventDefault(this.domEvent),this.defaultPrevented=!0},y.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},y.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},y.prototype.getGutterRow=function(){var w=this.getDocumentPosition().row,x=this.editor.session.documentToScreenRow(w,0),T=this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0);return x-T},y.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var w=this.editor,x=w.getSelectionRange();if(x.isEmpty())this.$inSelection=!1;else{var T=this.getDocumentPosition();this.$inSelection=x.contains(T.row,T.column)}return this.$inSelection},y.prototype.getButton=function(){return k.getButton(this.domEvent)},y.prototype.getShiftKey=function(){return this.domEvent.shiftKey},y.prototype.getAccelKey=function(){return A.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},y}();O.MouseEvent=S}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=m("../lib/event"),S=m("../lib/useragent"),y=200,w=200,x=5;function T(D){var N=D.editor,F=k.createElement("div");F.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",F.textContent="\xA0";var B=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];B.forEach(function(pe){D[pe]=this[pe]},this),N.on("mousedown",this.onMouseDown.bind(D));var U=N.container,J,$,X,ee,ie,G,Q=0,W,ne,te,_e,he;this.onDragStart=function(pe){if(this.cancelDrag||!U.draggable){var Ke=this;return setTimeout(function(){Ke.startSelect(),Ke.captureMouse(pe)},0),pe.preventDefault()}ie=N.getSelectionRange();var Me=pe.dataTransfer;Me.effectAllowed=N.getReadOnly()?"copy":"copyMove",N.container.appendChild(F),Me.setDragImage&&Me.setDragImage(F,0,0),setTimeout(function(){N.container.removeChild(F)}),Me.clearData(),Me.setData("Text",N.session.getTextRange()),ne=!0,this.setState("drag")},this.onDragEnd=function(pe){if(U.draggable=!1,ne=!1,this.setState(null),!N.getReadOnly()){var Ke=pe.dataTransfer.dropEffect;!W&&Ke=="move"&&N.session.remove(N.getSelectionRange()),N.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(pe){if(!(N.getReadOnly()||!we(pe.dataTransfer)))return $=pe.clientX,X=pe.clientY,J||Z(),Q++,pe.dataTransfer.dropEffect=W=fe(pe),A.preventDefault(pe)},this.onDragOver=function(pe){if(!(N.getReadOnly()||!we(pe.dataTransfer)))return $=pe.clientX,X=pe.clientY,J||(Z(),Q++),Ee!==null&&(Ee=null),pe.dataTransfer.dropEffect=W=fe(pe),A.preventDefault(pe)},this.onDragLeave=function(pe){if(Q--,Q<=0&&J)return xe(),W=null,A.preventDefault(pe)},this.onDrop=function(pe){if(!!G){var Ke=pe.dataTransfer;if(ne)switch(W){case"move":ie.contains(G.row,G.column)?ie={start:G,end:G}:ie=N.moveText(ie,G);break;case"copy":ie=N.moveText(ie,G,!0);break}else{var Me=Ke.getData("Text");ie={start:G,end:N.session.insert(G,Me)},N.focus(),W=null}return xe(),A.preventDefault(pe)}},A.addListener(U,"dragstart",this.onDragStart.bind(D),N),A.addListener(U,"dragend",this.onDragEnd.bind(D),N),A.addListener(U,"dragenter",this.onDragEnter.bind(D),N),A.addListener(U,"dragover",this.onDragOver.bind(D),N),A.addListener(U,"dragleave",this.onDragLeave.bind(D),N),A.addListener(U,"drop",this.onDrop.bind(D),N);function oe(pe,Ke){var Me=Date.now(),ze=!Ke||pe.row!=Ke.row,Ue=!Ke||pe.column!=Ke.column;if(!_e||ze||Ue)N.moveCursorToPosition(pe),_e=Me,he={x:$,y:X};else{var He=j(he.x,he.y,$,X);He>x?_e=null:Me-_e>=w&&(N.renderer.scrollCursorIntoView(),_e=null)}}function ge(pe,Ke){var Me=Date.now(),ze=N.renderer.layerConfig.lineHeight,Ue=N.renderer.layerConfig.characterWidth,He=N.renderer.scroller.getBoundingClientRect(),Ne={x:{left:$-He.left,right:He.right-$},y:{top:X-He.top,bottom:He.bottom-X}},it=Math.min(Ne.x.left,Ne.x.right),Xe=Math.min(Ne.y.top,Ne.y.bottom),ht={row:pe.row,column:pe.column};it/Ue<=2&&(ht.column+=Ne.x.left<Ne.x.right?-3:2),Xe/ze<=1&&(ht.row+=Ne.y.top<Ne.y.bottom?-1:1);var lt=pe.row!=ht.row,Et=pe.column!=ht.column,tt=!Ke||pe.row!=Ke.row;lt||Et&&!tt?te?Me-te>=y&&N.renderer.scrollCursorIntoView(ht):te=Me:te=null}function me(){var pe=G;G=N.renderer.screenToTextCoordinates($,X),oe(G,pe),ge(G,pe)}function Z(){ie=N.selection.toOrientedRange(),J=N.session.addMarker(ie,"ace_selection",N.getSelectionStyle()),N.clearSelection(),N.isFocused()&&N.renderer.$cursorLayer.setBlinking(!1),clearInterval(ee),me(),ee=setInterval(me,20),Q=0,A.addListener(document,"mousemove",Le)}function xe(){clearInterval(ee),N.session.removeMarker(J),J=null,N.selection.fromOrientedRange(ie),N.isFocused()&&!ne&&N.$resetCursorStyle(),ie=null,G=null,Q=0,te=null,_e=null,A.removeListener(document,"mousemove",Le)}var Ee=null;function Le(){Ee==null&&(Ee=setTimeout(function(){Ee!=null&&J&&xe()},20))}function we(pe){var Ke=pe.types;return!Ke||Array.prototype.some.call(Ke,function(Me){return Me=="text/plain"||Me=="Text"})}function fe(pe){var Ke=["copy","copymove","all","uninitialized"],Me=["move","copymove","linkmove","all","uninitialized"],ze=S.isMac?pe.altKey:pe.ctrlKey,Ue="uninitialized";try{Ue=pe.dataTransfer.effectAllowed.toLowerCase()}catch(Ne){}var He="none";return ze&&Ke.indexOf(Ue)>=0?He="copy":Me.indexOf(Ue)>=0?He="move":Ke.indexOf(Ue)>=0&&(He="copy"),He}}(function(){this.dragWait=function(){var D=Date.now()-this.mousedownEvent.time;D>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var D=this.editor.container;D.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(D){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var D=this.editor,N=D.container;N.draggable=!0,D.renderer.$cursorLayer.setBlinking(!1),D.setStyle("ace_dragging");var F=S.isWin?"default":"move";D.renderer.setCursorStyle(F),this.setState("dragReady")},this.onMouseDrag=function(D){var N=this.editor.container;if(S.isIE&&this.state=="dragReady"){var F=j(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);F>3&&N.dragDrop()}if(this.state==="dragWait"){var F=j(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);F>0&&(N.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(D){if(!!this.$dragEnabled){this.mousedownEvent=D;var N=this.editor,F=D.inSelection(),B=D.getButton(),U=D.domEvent.detail||1;if(U===1&&B===0&&F){if(D.editor.inMultiSelectMode&&(D.getAccelKey()||D.getShiftKey()))return;this.mousedownEvent.time=Date.now();var J=D.domEvent.target||D.domEvent.srcElement;if("unselectable"in J&&(J.unselectable="on"),N.getDragDelay()){if(S.isWebKit){this.cancelDrag=!0;var $=N.container;$.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(D,this.onMouseDrag.bind(this)),D.defaultPrevented=!0}}}}).call(T.prototype);function j(D,N,F,B){return Math.sqrt(Math.pow(F-D,2)+Math.pow(B-N,2))}O.DragdropHandler=T}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(m,O,C){"use strict";var k=m("./mouse_event").MouseEvent,A=m("../lib/event"),S=m("../lib/dom");O.addTouchListeners=function(y,w){var x="scroll",T,j,D,N,F,B,U=0,J,$=0,X=0,ee=0,ie,G;function Q(){var oe=window.navigator&&window.navigator.clipboard,ge=!1,me=function(){var Ee=w.getCopyText(),Le=w.session.getUndoManager().hasUndo();G.replaceChild(S.buildDom(ge?["span",!Ee&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],Ee&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],Ee&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],oe&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],Le&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Palette"]]:["span"]),G.firstChild)},Z=function(Ee){var Le=Ee.target.getAttribute("action");if(Le=="more"||!ge)return ge=!ge,me();Le=="paste"?oe.readText().then(function(we){w.execCommand(Le,we)}):Le&&((Le=="cut"||Le=="copy")&&(oe?oe.writeText(w.getCopyText()):document.execCommand("copy")),w.execCommand(Le)),G.firstChild.style.display="none",ge=!1,Le!="openCommandPallete"&&w.focus()};G=S.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(Ee){x="menu",Ee.stopPropagation(),Ee.preventDefault(),w.textInput.focus()},ontouchend:function(Ee){Ee.stopPropagation(),Ee.preventDefault(),Z(Ee)},onclick:Z},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],w.container)}function W(){G||Q();var oe=w.selection.cursor,ge=w.renderer.textToScreenCoordinates(oe.row,oe.column),me=w.renderer.textToScreenCoordinates(0,0).pageX,Z=w.renderer.scrollLeft,xe=w.container.getBoundingClientRect();G.style.top=ge.pageY-xe.top-3+"px",ge.pageX-xe.left<xe.width-70?(G.style.left="",G.style.right="10px"):(G.style.right="",G.style.left=me+Z-xe.left+"px"),G.style.display="",G.firstChild.style.display="none",w.on("input",ne)}function ne(oe){G&&(G.style.display="none"),w.off("input",ne)}function te(){F=null,clearTimeout(F);var oe=w.selection.getRange(),ge=oe.contains(J.row,J.column);(oe.isEmpty()||!ge)&&(w.selection.moveToPosition(J),w.selection.selectWord()),x="wait",W()}function _e(){F=null,clearTimeout(F),w.selection.moveToPosition(J);var oe=$>=2?w.selection.getLineRange(J.row):w.session.getBracketRange(J);oe&&!oe.isEmpty()?w.selection.setRange(oe):w.selection.selectWord(),x="wait"}A.addListener(y,"contextmenu",function(oe){if(!!ie){var ge=w.textInput.getElement();ge.focus()}},w),A.addListener(y,"touchstart",function(oe){var ge=oe.touches;if(F||ge.length>1){clearTimeout(F),F=null,D=-1,x="zoom";return}ie=w.$mouseHandler.isMousePressed=!0;var me=w.renderer.layerConfig.lineHeight,Z=w.renderer.layerConfig.lineHeight,xe=oe.timeStamp;N=xe;var Ee=ge[0],Le=Ee.clientX,we=Ee.clientY;Math.abs(T-Le)+Math.abs(j-we)>me&&(D=-1),T=oe.clientX=Le,j=oe.clientY=we,X=ee=0;var fe=new k(oe,w);if(J=fe.getDocumentPosition(),xe-D<500&&ge.length==1&&!U)$++,oe.preventDefault(),oe.button=0,_e();else{$=0;var pe=w.selection.cursor,Ke=w.selection.isEmpty()?pe:w.selection.anchor,Me=w.renderer.$cursorLayer.getPixelPosition(pe,!0),ze=w.renderer.$cursorLayer.getPixelPosition(Ke,!0),Ue=w.renderer.scroller.getBoundingClientRect(),He=w.renderer.layerConfig.offset,Ne=w.renderer.scrollLeft,it=function(Et,tt){return Et=Et/Z,tt=tt/me-.75,Et*Et+tt*tt};if(oe.clientX<Ue.left){x="zoom";return}var Xe=it(oe.clientX-Ue.left-Me.left+Ne,oe.clientY-Ue.top-Me.top+He),ht=it(oe.clientX-Ue.left-ze.left+Ne,oe.clientY-Ue.top-ze.top+He);Xe<3.5&&ht<3.5&&(x=Xe>ht?"cursor":"anchor"),ht<3.5?x="anchor":Xe<3.5?x="cursor":x="scroll",F=setTimeout(te,450)}D=xe},w),A.addListener(y,"touchend",function(oe){ie=w.$mouseHandler.isMousePressed=!1,B&&clearInterval(B),x=="zoom"?(x="",U=0):F?(w.selection.moveToPosition(J),U=0,W()):x=="scroll"?(he(),ne()):W(),clearTimeout(F),F=null},w),A.addListener(y,"touchmove",function(oe){F&&(clearTimeout(F),F=null);var ge=oe.touches;if(!(ge.length>1||x=="zoom")){var me=ge[0],Z=T-me.clientX,xe=j-me.clientY;if(x=="wait")if(Z*Z+xe*xe>4)x="cursor";else return oe.preventDefault();T=me.clientX,j=me.clientY,oe.clientX=me.clientX,oe.clientY=me.clientY;var Ee=oe.timeStamp,Le=Ee-N;if(N=Ee,x=="scroll"){var we=new k(oe,w);we.speed=1,we.wheelX=Z,we.wheelY=xe,10*Math.abs(Z)<Math.abs(xe)&&(Z=0),10*Math.abs(xe)<Math.abs(Z)&&(xe=0),Le!=0&&(X=Z/Le,ee=xe/Le),w._emit("mousewheel",we),we.propagationStopped||(X=ee=0)}else{var fe=new k(oe,w),pe=fe.getDocumentPosition();x=="cursor"?w.selection.moveCursorToPosition(pe):x=="anchor"&&w.selection.setSelectionAnchor(pe.row,pe.column),w.renderer.scrollCursorIntoView(pe),oe.preventDefault()}}},w);function he(){U+=60,B=setInterval(function(){U--<=0&&(clearInterval(B),B=null),Math.abs(X)<.01&&(X=0),Math.abs(ee)<.01&&(ee=0),U<20&&(X=.9*X),U<20&&(ee=.9*ee);var oe=w.session.getScrollTop();w.renderer.scrollBy(10*X,10*ee),oe==w.session.getScrollTop()&&(U=0)},10)}}}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/mouse/touch_handler","ace/config"],function(m,O,C){"use strict";var k=m("../lib/event"),A=m("../lib/useragent"),S=m("./default_handlers").DefaultHandlers,y=m("./default_gutter_handler").GutterHandler,w=m("./mouse_event").MouseEvent,x=m("./dragdrop_handler").DragdropHandler,T=m("./touch_handler").addTouchListeners,j=m("../config"),D=function(){function N(F){var B=this;this.editor=F,new S(this),new y(this),new x(this);var U=function(ee){var ie=!document.hasFocus||!document.hasFocus()||!F.isFocused()&&document.activeElement==(F.textInput&&F.textInput.getElement());ie&&window.focus(),F.focus(),setTimeout(function(){F.isFocused()||F.focus()})},J=F.renderer.getMouseEventTarget();k.addListener(J,"click",this.onMouseEvent.bind(this,"click"),F),k.addListener(J,"mousemove",this.onMouseMove.bind(this,"mousemove"),F),k.addMultiMouseDownListener([J,F.renderer.scrollBarV&&F.renderer.scrollBarV.inner,F.renderer.scrollBarH&&F.renderer.scrollBarH.inner,F.textInput&&F.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent",F),k.addMouseWheelListener(F.container,this.onMouseWheel.bind(this,"mousewheel"),F),T(F.container,F);var $=F.renderer.$gutter;k.addListener($,"mousedown",this.onMouseEvent.bind(this,"guttermousedown"),F),k.addListener($,"click",this.onMouseEvent.bind(this,"gutterclick"),F),k.addListener($,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick"),F),k.addListener($,"mousemove",this.onMouseEvent.bind(this,"guttermousemove"),F),k.addListener(J,"mousedown",U,F),k.addListener($,"mousedown",U,F),A.isIE&&F.renderer.scrollBarV&&(k.addListener(F.renderer.scrollBarV.element,"mousedown",U,F),k.addListener(F.renderer.scrollBarH.element,"mousedown",U,F)),F.on("mousemove",function(X){if(!(B.state||B.$dragDelay||!B.$dragEnabled)){var ee=F.renderer.screenToTextCoordinates(X.x,X.y),ie=F.session.selection.getRange(),G=F.renderer;!ie.isEmpty()&&ie.insideStart(ee.row,ee.column)?G.setCursorStyle("default"):G.setCursorStyle("")}},F)}return N.prototype.onMouseEvent=function(F,B){!this.editor.session||this.editor._emit(F,new w(B,this.editor))},N.prototype.onMouseMove=function(F,B){var U=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;!U||!U.length||this.editor._emit(F,new w(B,this.editor))},N.prototype.onMouseWheel=function(F,B){var U=new w(B,this.editor);U.speed=this.$scrollSpeed*2,U.wheelX=B.wheelX,U.wheelY=B.wheelY,this.editor._emit(F,U)},N.prototype.setState=function(F){this.state=F},N.prototype.captureMouse=function(F,B){this.x=F.x,this.y=F.y,this.isMousePressed=!0;var U=this.editor,J=this.editor.renderer;J.$isMousePressed=!0;var $=this,X=function(ne){if(!!ne){if(A.isWebKit&&!ne.which&&$.releaseMouse)return $.releaseMouse();$.x=ne.clientX,$.y=ne.clientY,B&&B(ne),$.mouseEvent=new w(ne,$.editor),$.$mouseMoved=!0}},ee=function(ne){U.off("beforeEndOperation",G),clearInterval(Q),U.session&&ie(),$[$.state+"End"]&&$[$.state+"End"](ne),$.state="",$.isMousePressed=J.$isMousePressed=!1,J.$keepTextAreaAtCursor&&J.$moveTextAreaToCursor(),$.$onCaptureMouseMove=$.releaseMouse=null,ne&&$.onMouseEvent("mouseup",ne),U.endOperation()},ie=function(){$[$.state]&&$[$.state](),$.$mouseMoved=!1};if(A.isOldIE&&F.domEvent.type=="dblclick")return setTimeout(function(){ee(F)});var G=function(ne){!$.releaseMouse||U.curOp.command.name&&U.curOp.selectionChanged&&($[$.state+"End"]&&$[$.state+"End"](),$.state="",$.releaseMouse())};U.on("beforeEndOperation",G),U.startOperation({command:{name:"mouse"}}),$.$onCaptureMouseMove=X,$.releaseMouse=k.capture(this.editor.container,X,ee);var Q=setInterval(ie,20)},N.prototype.cancelContextMenu=function(){var F=function(B){B&&B.domEvent&&B.domEvent.type!="contextmenu"||(this.editor.off("nativecontextmenu",F),B&&B.domEvent&&k.stopEvent(B.domEvent))}.bind(this);setTimeout(F,10),this.editor.on("nativecontextmenu",F)},N.prototype.destroy=function(){this.releaseMouse&&this.releaseMouse()},N}();D.prototype.releaseMouse=null,j.defineOptions(D.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:A.isMac?150:0},dragEnabled:{initialValue:!0},focusTimeout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),O.MouseHandler=D}),ace.define("ace/mouse/fold_handler",["require","exports","module","ace/lib/dom"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=function(){function S(y){y.on("click",function(w){var x=w.getDocumentPosition(),T=y.session,j=T.getFoldAt(x.row,x.column,1);j&&(w.getAccelKey()?T.removeFold(j):T.expandFold(j),w.stop());var D=w.domEvent&&w.domEvent.target;D&&k.hasCssClass(D,"ace_inline_button")&&k.hasCssClass(D,"ace_toggle_wrap")&&(T.setOption("wrap",!T.getUseWrapMode()),y.renderer.scrollCursorIntoView())}),y.on("gutterclick",function(w){var x=y.renderer.$gutterLayer.getRegion(w);if(x=="foldWidgets"){var T=w.getDocumentPosition().row,j=y.session;j.foldWidgets&&j.foldWidgets[T]&&y.session.onFoldWidgetClick(T,w),y.isFocused()||y.focus(),w.stop()}}),y.on("gutterdblclick",function(w){var x=y.renderer.$gutterLayer.getRegion(w);if(x=="foldWidgets"){var T=w.getDocumentPosition().row,j=y.session,D=j.getParentFoldRangeData(T,!0),N=D.range||D.firstRange;if(N){T=N.start.row;var F=j.getFoldAt(T,j.getLine(T).length,1);F?j.removeFold(F):(j.addFold("...",N),y.renderer.scrollCursorIntoView({row:N.start.row,column:0}))}w.stop()}})}return S}();O.FoldHandler=A}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(m,O,C){"use strict";var k=m("../lib/keys"),A=m("../lib/event"),S=function(){function y(w){this.$editor=w,this.$data={editor:w},this.$handlers=[],this.setDefaultHandler(w.commands)}return y.prototype.setDefaultHandler=function(w){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=w,this.addKeyboardHandler(w,0)},y.prototype.setKeyboardHandler=function(w){var x=this.$handlers;if(x[x.length-1]!=w){for(;x[x.length-1]&&x[x.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(x[x.length-1]);this.addKeyboardHandler(w,1)}},y.prototype.addKeyboardHandler=function(w,x){if(!!w){typeof w=="function"&&!w.handleKeyboard&&(w.handleKeyboard=w);var T=this.$handlers.indexOf(w);T!=-1&&this.$handlers.splice(T,1),x==null?this.$handlers.push(w):this.$handlers.splice(x,0,w),T==-1&&w.attach&&w.attach(this.$editor)}},y.prototype.removeKeyboardHandler=function(w){var x=this.$handlers.indexOf(w);return x==-1?!1:(this.$handlers.splice(x,1),w.detach&&w.detach(this.$editor),!0)},y.prototype.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},y.prototype.getStatusText=function(){var w=this.$data,x=w.editor;return this.$handlers.map(function(T){return T.getStatusText&&T.getStatusText(x,w)||""}).filter(Boolean).join(" ")},y.prototype.$callKeyboardHandlers=function(w,x,T,j){for(var D,N=!1,F=this.$editor.commands,B=this.$handlers.length;B--&&(D=this.$handlers[B].handleKeyboard(this.$data,w,x,T,j),!(!(!D||!D.command)&&(D.command=="null"?N=!0:N=F.exec(D.command,this.$editor,D.args,j),N&&j&&w!=-1&&D.passEvent!=!0&&D.command.passEvent!=!0&&A.stopEvent(j),N))););return!N&&w==-1&&(D={command:"insertstring"},N=F.exec("insertstring",this.$editor,x)),N&&this.$editor._signal&&this.$editor._signal("keyboardActivity",D),N},y.prototype.onCommandKey=function(w,x,T){var j=k.keyCodeToString(T);return this.$callKeyboardHandlers(x,j,T,w)},y.prototype.onTextInput=function(w){return this.$callKeyboardHandlers(-1,w)},y}();O.KeyBinding=S}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(m,O,C){"use strict";var k=["\u0621","\u0641"],A=["\u063A","\u064A"],S=0,y=0,w=!1,x=!1,T=!1,j=!1,D=!1,N=!1,F=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],B=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],U=0,J=1,$=0,X=1,ee=2,ie=3,G=4,Q=5,W=6,ne=7,te=8,_e=9,he=10,oe=11,ge=12,me=13,Z=14,xe=15,Ee=16,Le=17,we=18,fe=[we,we,we,we,we,we,we,we,we,W,Q,W,te,Q,we,we,we,we,we,we,we,we,we,we,we,we,we,we,Q,Q,Q,W,te,G,G,oe,oe,oe,G,G,G,G,G,he,_e,he,_e,_e,ee,ee,ee,ee,ee,ee,ee,ee,ee,ee,_e,G,G,G,G,G,G,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,G,G,G,G,G,G,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,G,G,G,G,we,we,we,we,we,we,Q,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,we,_e,G,oe,oe,oe,oe,G,G,G,G,$,G,G,we,G,G,oe,oe,ee,ee,G,$,G,G,G,ee,$,G,G,G,G,G],pe=[te,te,te,te,te,te,te,te,te,te,te,we,we,we,$,X,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,te,Q,me,Z,xe,Ee,Le,_e,oe,oe,oe,oe,oe,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,_e,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,G,te];function Ke(Ne,it,Xe,ht){var lt=S?B:F,Et=null,tt=null,mt=null,xt=0,Xt=null,vt=null,qe=-1,Re=null,Se=null,Ve=[];if(!ht)for(Re=0,ht=[];Re<Xe;Re++)ht[Re]=Ue(Ne[Re]);for(y=S,w=!1,x=!1,T=!1,j=!1,Se=0;Se<Xe;Se++){if(Et=xt,Ve[Se]=tt=ze(Ne,ht,Ve,Se),xt=lt[Et][tt],Xt=xt&240,xt&=15,it[Se]=mt=lt[xt][5],Xt>0)if(Xt==16){for(Re=qe;Re<Se;Re++)it[Re]=1;qe=-1}else qe=-1;if(vt=lt[xt][6],vt)qe==-1&&(qe=Se);else if(qe>-1){for(Re=qe;Re<Se;Re++)it[Re]=mt;qe=-1}ht[Se]==Q&&(it[Se]=0),y|=mt}if(j){for(Re=0;Re<Xe;Re++)if(ht[Re]==W){it[Re]=S;for(var Ge=Re-1;Ge>=0&&ht[Ge]==te;Ge--)it[Ge]=S}}}function Me(Ne,it,Xe){if(!(y<Ne)){if(Ne==1&&S==J&&!T){Xe.reverse();return}for(var ht=Xe.length,lt=0,Et,tt,mt,xt;lt<ht;){if(it[lt]>=Ne){for(Et=lt+1;Et<ht&&it[Et]>=Ne;)Et++;for(tt=lt,mt=Et-1;tt<mt;tt++,mt--)xt=Xe[tt],Xe[tt]=Xe[mt],Xe[mt]=xt;lt=Et}lt++}}}function ze(Ne,it,Xe,ht){var lt=it[ht],Et,tt,mt,xt;switch(lt){case $:case X:w=!1;case G:case ie:return lt;case ee:return w?ie:ee;case ne:return w=!0,x=!0,X;case te:return G;case _e:return ht<1||ht+1>=it.length||(Et=Xe[ht-1])!=ee&&Et!=ie||(tt=it[ht+1])!=ee&&tt!=ie?G:(w&&(tt=ie),tt==Et?tt:G);case he:return Et=ht>0?Xe[ht-1]:Q,Et==ee&&ht+1<it.length&&it[ht+1]==ee?ee:G;case oe:if(ht>0&&Xe[ht-1]==ee)return ee;if(w)return G;for(xt=ht+1,mt=it.length;xt<mt&&it[xt]==oe;)xt++;return xt<mt&&it[xt]==ee?ee:G;case ge:for(mt=it.length,xt=ht+1;xt<mt&&it[xt]==ge;)xt++;if(xt<mt){var Xt=Ne[ht],vt=Xt>=1425&&Xt<=2303||Xt==64286;if(Et=it[xt],vt&&(Et==X||Et==ne))return X}return ht<1||(Et=it[ht-1])==Q?G:Xe[ht-1];case Q:return w=!1,T=!0,S;case W:return j=!0,G;case me:case Z:case Ee:case Le:case xe:w=!1;case we:return G}}function Ue(Ne){var it=Ne.charCodeAt(0),Xe=it>>8;return Xe==0?it>191?$:fe[it]:Xe==5?/[\u0591-\u05f4]/.test(Ne)?X:$:Xe==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(Ne)?ge:/[\u0660-\u0669\u066b-\u066c]/.test(Ne)?ie:it==1642?oe:/[\u06f0-\u06f9]/.test(Ne)?ee:ne:Xe==32&&it<=8287?pe[it&255]:Xe==254&&it>=65136?ne:G}function He(Ne){return Ne>="\u064B"&&Ne<="\u0655"}O.L=$,O.R=X,O.EN=ee,O.ON_R=3,O.AN=4,O.R_H=5,O.B=6,O.RLE=7,O.DOT="\xB7",O.doBidiReorder=function(Ne,it,Xe){if(Ne.length<2)return{};var ht=Ne.split(""),lt=new Array(ht.length),Et=new Array(ht.length),tt=[];S=Xe?J:U,Ke(ht,tt,ht.length,it);for(var mt=0;mt<lt.length;lt[mt]=mt,mt++);Me(2,tt,lt),Me(1,tt,lt);for(var mt=0;mt<lt.length-1;mt++)it[mt]===ie?tt[mt]=O.AN:tt[mt]===X&&(it[mt]>ne&&it[mt]<me||it[mt]===G||it[mt]===we)?tt[mt]=O.ON_R:mt>0&&ht[mt-1]==="\u0644"&&/\u0622|\u0623|\u0625|\u0627/.test(ht[mt])&&(tt[mt-1]=tt[mt]=O.R_H,mt++);ht[ht.length-1]===O.DOT&&(tt[ht.length-1]=O.B),ht[0]==="\u202B"&&(tt[0]=O.RLE);for(var mt=0;mt<lt.length;mt++)Et[mt]=tt[lt[mt]];return{logicalFromVisual:lt,bidiLevels:Et}},O.hasBidiCharacters=function(Ne,it){for(var Xe=!1,ht=0;ht<Ne.length;ht++)it[ht]=Ue(Ne.charAt(ht)),!Xe&&(it[ht]==X||it[ht]==ne||it[ht]==ie)&&(Xe=!0);return Xe},O.getVisualFromLogicalIdx=function(Ne,it){for(var Xe=0;Xe<it.logicalFromVisual.length;Xe++)if(it.logicalFromVisual[Xe]==Ne)return Xe;return 0}}),ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang"],function(m,O,C){"use strict";var k=m("./lib/bidiutil"),A=m("./lib/lang"),S=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\u202B]/,y=function(){function w(x){this.session=x,this.bidiMap={},this.currentRow=null,this.bidiUtil=k,this.charWidths=[],this.EOL="\xAC",this.showInvisibles=!0,this.isRtlDir=!1,this.$isRtl=!1,this.line="",this.wrapIndent=0,this.EOF="\xB6",this.RLE="\u202B",this.contentWidth=0,this.fontMetrics=null,this.rtlLineOffset=0,this.wrapOffset=0,this.isMoveLeftOperation=!1,this.seenBidi=S.test(x.getValue())}return w.prototype.isBidiRow=function(x,T,j){return this.seenBidi?(x!==this.currentRow&&(this.currentRow=x,this.updateRowLine(T,j),this.updateBidiMap()),this.bidiMap.bidiLevels):!1},w.prototype.onChange=function(x){this.seenBidi?this.currentRow=null:x.action=="insert"&&S.test(x.lines.join(`
`))&&(this.seenBidi=!0,this.currentRow=null)},w.prototype.getDocumentRow=function(){var x=0,T=this.session.$screenRowCache;if(T.length){var j=this.session.$getRowCacheIndex(T,this.currentRow);j>=0&&(x=this.session.$docRowCache[j])}return x},w.prototype.getSplitIndex=function(){var x=0,T=this.session.$screenRowCache;if(T.length)for(var j,D=this.session.$getRowCacheIndex(T,this.currentRow);this.currentRow-x>0&&(j=this.session.$getRowCacheIndex(T,this.currentRow-x-1),j===D);)D=j,x++;else x=this.currentRow;return x},w.prototype.updateRowLine=function(x,T){x===void 0&&(x=this.getDocumentRow());var j=x===this.session.getLength()-1,D=j?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(x),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var N=this.session.$wrapData[x];N&&(T===void 0&&(T=this.getSplitIndex()),T>0&&N.length?(this.wrapIndent=N.indent,this.wrapOffset=this.wrapIndent*this.charWidths[k.L],this.line=T<N.length?this.line.substring(N[T-1],N[T]):this.line.substring(N[N.length-1])):this.line=this.line.substring(0,N[T]),T==N.length&&(this.line+=this.showInvisibles?D:k.DOT))}else this.line+=this.showInvisibles?D:k.DOT;var F=this.session,B=0,U;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(J,$){return J===" "||F.isFullWidth(J.charCodeAt(0))?(U=J===" "?F.getScreenTabSize($+B):2,B+=U-1,A.stringRepeat(k.DOT,U)):J}),this.isRtlDir&&(this.fontMetrics.$main.textContent=this.line.charAt(this.line.length-1)==k.DOT?this.line.substr(0,this.line.length-1):this.line,this.rtlLineOffset=this.contentWidth-this.fontMetrics.$main.getBoundingClientRect().width)},w.prototype.updateBidiMap=function(){var x=[];k.hasBidiCharacters(this.line,x)||this.isRtlDir?this.bidiMap=k.doBidiReorder(this.line,x,this.isRtlDir):this.bidiMap={}},w.prototype.markAsDirty=function(){this.currentRow=null},w.prototype.updateCharacterWidths=function(x){if(this.characterWidth!==x.$characterSize.width){this.fontMetrics=x;var T=this.characterWidth=x.$characterSize.width,j=x.$measureCharWidth("\u05D4");this.charWidths[k.L]=this.charWidths[k.EN]=this.charWidths[k.ON_R]=T,this.charWidths[k.R]=this.charWidths[k.AN]=j,this.charWidths[k.R_H]=j*.45,this.charWidths[k.B]=this.charWidths[k.RLE]=0,this.currentRow=null}},w.prototype.setShowInvisibles=function(x){this.showInvisibles=x,this.currentRow=null},w.prototype.setEolChar=function(x){this.EOL=x},w.prototype.setContentWidth=function(x){this.contentWidth=x},w.prototype.isRtlLine=function(x){return this.$isRtl?!0:x!=null?this.session.getLine(x).charAt(0)==this.RLE:this.isRtlDir},w.prototype.setRtlDirection=function(x,T){for(var j=x.getCursorPosition(),D=x.selection.getSelectionAnchor().row;D<=j.row;D++)!T&&x.session.getLine(D).charAt(0)===x.session.$bidiHandler.RLE?x.session.doc.removeInLine(D,0,1):T&&x.session.getLine(D).charAt(0)!==x.session.$bidiHandler.RLE&&x.session.doc.insert({column:0,row:D},x.session.$bidiHandler.RLE)},w.prototype.getPosLeft=function(x){x-=this.wrapIndent;var T=this.line.charAt(0)===this.RLE?1:0,j=x>T?this.session.getOverwrite()?x:x-1:T,D=k.getVisualFromLogicalIdx(j,this.bidiMap),N=this.bidiMap.bidiLevels,F=0;!this.session.getOverwrite()&&x<=T&&N[D]%2!=0&&D++;for(var B=0;B<D;B++)F+=this.charWidths[N[B]];return!this.session.getOverwrite()&&x>T&&N[D]%2==0&&(F+=this.charWidths[N[D]]),this.wrapIndent&&(F+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(F+=this.rtlLineOffset),F},w.prototype.getSelections=function(x,T){var j=this.bidiMap,D=j.bidiLevels,N,F=[],B=0,U=Math.min(x,T)-this.wrapIndent,J=Math.max(x,T)-this.wrapIndent,$=!1,X=!1,ee=0;this.wrapIndent&&(B+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var ie,G=0;G<D.length;G++)ie=j.logicalFromVisual[G],N=D[G],$=ie>=U&&ie<J,$&&!X?ee=B:!$&&X&&F.push({left:ee,width:B-ee}),B+=this.charWidths[N],X=$;if($&&G===D.length&&F.push({left:ee,width:B-ee}),this.isRtlDir)for(var Q=0;Q<F.length;Q++)F[Q].left+=this.rtlLineOffset;return F},w.prototype.offsetToCol=function(x){this.isRtlDir&&(x-=this.rtlLineOffset);var T=0,x=Math.max(x,0),j=0,D=0,N=this.bidiMap.bidiLevels,F=this.charWidths[N[D]];for(this.wrapIndent&&(x-=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);x>j+F/2;){if(j+=F,D===N.length-1){F=0;break}F=this.charWidths[N[++D]]}return D>0&&N[D-1]%2!=0&&N[D]%2==0?(x<j&&D--,T=this.bidiMap.logicalFromVisual[D]):D>0&&N[D-1]%2==0&&N[D]%2!=0?T=1+(x>j?this.bidiMap.logicalFromVisual[D]:this.bidiMap.logicalFromVisual[D-1]):this.isRtlDir&&D===N.length-1&&F===0&&N[D-1]%2==0||!this.isRtlDir&&D===0&&N[D]%2!=0?T=1+this.bidiMap.logicalFromVisual[D]:(D>0&&N[D-1]%2!=0&&F!==0&&D--,T=this.bidiMap.logicalFromVisual[D]),T===0&&this.isRtlDir&&T++,T+this.wrapIndent},w}();O.BidiHandler=y}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./lib/lang"),S=m("./lib/event_emitter").EventEmitter,y=m("./range").Range,w=function(T){this.session=T,this.doc=T.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var j=this;this.cursor.on("change",function(D){j.$cursorChanged=!0,j.$silent||j._emit("changeCursor"),!j.$isEmpty&&!j.$silent&&j._emit("changeSelection"),!j.$keepDesiredColumnOnChange&&D.old.column!=D.value.column&&(j.$desiredColumn=null)}),this.anchor.on("change",function(){j.$anchorChanged=!0,!j.$isEmpty&&!j.$silent&&j._emit("changeSelection")})};(function(){k.implement(this,S),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setAnchor=function(x,T){this.$isEmpty=!1,this.anchor.setPosition(x,T)},this.setSelectionAnchor=this.setAnchor,this.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionAnchor=this.getAnchor,this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var x=this.anchor,T=this.lead;return x.row>T.row||x.row==T.row&&x.column>T.column},this.getRange=function(){var x=this.anchor,T=this.lead;return this.$isEmpty?y.fromPoints(T,T):this.isBackwards()?y.fromPoints(T,x):y.fromPoints(x,T)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(x,T){var j=T?x.end:x.start,D=T?x.start:x.end;this.$setSelection(j.row,j.column,D.row,D.column)},this.$setSelection=function(x,T,j,D){if(!this.$silent){var N=this.$isEmpty,F=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(x,T),this.cursor.setPosition(j,D),this.$isEmpty=!y.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||N!=this.$isEmpty||F)&&this._emit("changeSelection")}},this.$moveSelection=function(x){var T=this.lead;this.$isEmpty&&this.setSelectionAnchor(T.row,T.column),x.call(this)},this.selectTo=function(x,T){this.$moveSelection(function(){this.moveCursorTo(x,T)})},this.selectToPosition=function(x){this.$moveSelection(function(){this.moveCursorToPosition(x)})},this.moveTo=function(x,T){this.clearSelection(),this.moveCursorTo(x,T)},this.moveToPosition=function(x){this.clearSelection(),this.moveCursorToPosition(x)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(x,T){if(typeof T=="undefined"){var j=x||this.lead;x=j.row,T=j.column}return this.session.getWordRange(x,T)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var x=this.getCursor(),T=this.session.getAWordRange(x.row,x.column);this.setSelectionRange(T)},this.getLineRange=function(x,T){var j=typeof x=="number"?x:this.lead.row,D,N=this.session.getFoldLine(j);return N?(j=N.start.row,D=N.end.row):D=j,T===!0?new y(j,0,D,this.session.getLine(D).length):new y(j,0,D+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(x,T,j){var D=x.column,N=x.column+T;return j<0&&(D=x.column-T,N=x.column),this.session.isTabStop(x)&&this.doc.getLine(x.row).slice(D,N).split(" ").length-1==T},this.moveCursorLeft=function(){var x=this.lead.getPosition(),T;if(T=this.session.getFoldAt(x.row,x.column,-1))this.moveCursorTo(T.start.row,T.start.column);else if(x.column===0)x.row>0&&this.moveCursorTo(x.row-1,this.doc.getLine(x.row-1).length);else{var j=this.session.getTabSize();this.wouldMoveIntoSoftTab(x,j,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-j):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var x=this.lead.getPosition(),T;if(T=this.session.getFoldAt(x.row,x.column,1))this.moveCursorTo(T.end.row,T.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var j=this.session.getTabSize(),x=this.lead;this.wouldMoveIntoSoftTab(x,j,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,j):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var x=this.lead.row,T=this.lead.column,j=this.session.documentToScreenRow(x,T),D=this.session.screenToDocumentPosition(j,0),N=this.session.getDisplayLine(x,null,D.row,D.column),F=N.match(/^\s*/);F[0].length!=T&&!this.session.$useEmacsStyleLineStart&&(D.column+=F[0].length),this.moveCursorToPosition(D)},this.moveCursorLineEnd=function(){var x=this.lead,T=this.session.getDocumentLastRowColumnPosition(x.row,x.column);if(this.lead.column==T.column){var j=this.session.getLine(T.row);if(T.column==j.length){var D=j.search(/\s+$/);D>0&&(T.column=D)}}this.moveCursorTo(T.row,T.column)},this.moveCursorFileEnd=function(){var x=this.doc.getLength()-1,T=this.doc.getLine(x).length;this.moveCursorTo(x,T)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var x=this.lead.row,T=this.lead.column,j=this.doc.getLine(x),D=j.substring(T);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var N=this.session.getFoldAt(x,T,1);if(N){this.moveCursorTo(N.end.row,N.end.column);return}if(this.session.nonTokenRe.exec(D)&&(T+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,D=j.substring(T)),T>=j.length){this.moveCursorTo(x,j.length),this.moveCursorRight(),x<this.doc.getLength()-1&&this.moveCursorWordRight();return}this.session.tokenRe.exec(D)&&(T+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(x,T)},this.moveCursorLongWordLeft=function(){var x=this.lead.row,T=this.lead.column,j;if(j=this.session.getFoldAt(x,T,-1)){this.moveCursorTo(j.start.row,j.start.column);return}var D=this.session.getFoldStringAt(x,T,-1);D==null&&(D=this.doc.getLine(x).substring(0,T));var N=A.stringReverse(D);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(N)&&(T-=this.session.nonTokenRe.lastIndex,N=N.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),T<=0){this.moveCursorTo(x,0),this.moveCursorLeft(),x>0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(N)&&(T-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(x,T)},this.$shortWordEndIndex=function(x){var T=0,j,D=/\s/,N=this.session.tokenRe;if(N.lastIndex=0,this.session.tokenRe.exec(x))T=this.session.tokenRe.lastIndex;else{for(;(j=x[T])&&D.test(j);)T++;if(T<1){for(N.lastIndex=0;(j=x[T])&&!N.test(j);)if(N.lastIndex=0,T++,D.test(j))if(T>2){T--;break}else{for(;(j=x[T])&&D.test(j);)T++;if(T>2)break}}}return N.lastIndex=0,T},this.moveCursorShortWordRight=function(){var x=this.lead.row,T=this.lead.column,j=this.doc.getLine(x),D=j.substring(T),N=this.session.getFoldAt(x,T,1);if(N)return this.moveCursorTo(N.end.row,N.end.column);if(T==j.length){var F=this.doc.getLength();do x++,D=this.doc.getLine(x);while(x<F&&/^\s*$/.test(D));/^\s+/.test(D)||(D=""),T=0}var B=this.$shortWordEndIndex(D);this.moveCursorTo(x,T+B)},this.moveCursorShortWordLeft=function(){var x=this.lead.row,T=this.lead.column,j;if(j=this.session.getFoldAt(x,T,-1))return this.moveCursorTo(j.start.row,j.start.column);var D=this.session.getLine(x).substring(0,T);if(T===0){do x--,D=this.doc.getLine(x);while(x>0&&/^\s*$/.test(D));T=D.length,/\s+$/.test(D)||(D="")}var N=A.stringReverse(D),F=this.$shortWordEndIndex(N);return this.moveCursorTo(x,T-F)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(x,T){var j=this.session.documentToScreenPosition(this.lead.row,this.lead.column),D;if(T===0&&(x!==0&&(this.session.$bidiHandler.isBidiRow(j.row,this.lead.row)?(D=this.session.$bidiHandler.getPosLeft(j.column),j.column=Math.round(D/this.session.$bidiHandler.charWidths[0])):D=j.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?j.column=this.$desiredColumn:this.$desiredColumn=j.column),x!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var N=this.session.lineWidgets[this.lead.row];x<0?x-=N.rowsAbove||0:x>0&&(x+=N.rowCount-(N.rowsAbove||0))}var F=this.session.screenToDocumentPosition(j.row+x,j.column,D);x!==0&&T===0&&F.row===this.lead.row&&F.column===this.lead.column,this.moveCursorTo(F.row,F.column+T,T===0)},this.moveCursorToPosition=function(x){this.moveCursorTo(x.row,x.column)},this.moveCursorTo=function(x,T,j){var D=this.session.getFoldAt(x,T,1);D&&(x=D.start.row,T=D.start.column),this.$keepDesiredColumnOnChange=!0;var N=this.session.getLine(x);/[\uDC00-\uDFFF]/.test(N.charAt(T))&&N.charAt(T-1)&&(this.lead.row==x&&this.lead.column==T+1?T=T-1:T=T+1),this.lead.setPosition(x,T),this.$keepDesiredColumnOnChange=!1,j||(this.$desiredColumn=null)},this.moveCursorToScreen=function(x,T,j){var D=this.session.screenToDocumentPosition(x,T);this.moveCursorTo(D.row,D.column,j)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(x){this.setSelectionRange(x,x.cursor==x.start),this.$desiredColumn=x.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(x){var T=this.getRange();return x?(x.start.column=T.start.column,x.start.row=T.start.row,x.end.column=T.end.column,x.end.row=T.end.row):x=T,x.cursor=this.isBackwards()?x.start:x.end,x.desiredColumn=this.$desiredColumn,x},this.getRangeOfMovements=function(x){var T=this.getCursor();try{x(this);var j=this.getCursor();return y.fromPoints(T,j)}catch(D){return y.fromPoints(T,T)}finally{this.moveCursorToPosition(T)}},this.toJSON=function(){if(this.rangeCount)var x=this.ranges.map(function(T){var j=T.clone();return j.isBackwards=T.cursor==T.start,j});else{var x=this.getRange();x.isBackwards=this.isBackwards()}return x},this.fromJSON=function(x){if(x.start==null)if(this.rangeList&&x.length>1){this.toSingleRange(x[0]);for(var T=x.length;T--;){var j=y.fromPoints(x[T].start,x[T].end);x[T].isBackwards&&(j.cursor=j.start),this.addRange(j,!0)}return}else x=x[0];this.rangeList&&this.toSingleRange(x),this.setSelectionRange(x,x.isBackwards)},this.isEqual=function(x){if((x.length||this.rangeCount)&&x.length!=this.rangeCount)return!1;if(!x.length||!this.ranges)return this.getRange().isEqual(x);for(var T=this.ranges.length;T--;)if(!this.ranges[T].isEqual(x[T]))return!1;return!0}}).call(w.prototype),O.Selection=w}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(m,O,C){"use strict";var k=m("./config"),A=2e3,S=function(){function y(w){this.states=w,this.regExps={},this.matchMappings={};for(var x in this.states){for(var T=this.states[x],j=[],D=0,N=this.matchMappings[x]={defaultToken:"text"},F="g",B=[],U=0;U<T.length;U++){var J=T[U];if(J.defaultToken&&(N.defaultToken=J.defaultToken),J.caseInsensitive&&F.indexOf("i")===-1&&(F+="i"),J.unicode&&F.indexOf("u")===-1&&(F+="u"),J.regex!=null){J.regex instanceof RegExp&&(J.regex=J.regex.toString().slice(1,-1));var $=J.regex,X=new RegExp("(?:("+$+")|(.))").exec("a").length-2;Array.isArray(J.token)?J.token.length==1||X==1?J.token=J.token[0]:X-1!=J.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:J,groupCount:X-1}),J.token=J.token[0]):(J.tokenArray=J.token,J.token=null,J.onMatch=this.$arrayTokens):typeof J.token=="function"&&!J.onMatch&&(X>1?J.onMatch=this.$applyToken:J.onMatch=J.token),X>1&&(/\\\d/.test(J.regex)?$=J.regex.replace(/\\([0-9]+)/g,function(ee,ie){return"\\"+(parseInt(ie,10)+D+1)}):(X=1,$=this.removeCapturingGroups(J.regex)),!J.splitRegex&&typeof J.token!="string"&&B.push(J)),N[D]=U,D+=X,j.push($),J.onMatch||(J.onMatch=null)}}j.length||(N[0]=0,j.push("$")),B.forEach(function(ee){ee.splitRegex=this.createSplitterRegexp(ee.regex,F)},this),this.regExps[x]=new RegExp("("+j.join(")|(")+")|($)",F)}}return y.prototype.$setMaxTokenCount=function(w){A=w|0},y.prototype.$applyToken=function(w){var x=this.splitRegex.exec(w).slice(1),T=this.token.apply(this,x);if(typeof T=="string")return[{type:T,value:w}];for(var j=[],D=0,N=T.length;D<N;D++)x[D]&&(j[j.length]={type:T[D],value:x[D]});return j},y.prototype.$arrayTokens=function(w){if(!w)return[];var x=this.splitRegex.exec(w);if(!x)return"text";for(var T=[],j=this.tokenArray,D=0,N=j.length;D<N;D++)x[D+1]&&(T[T.length]={type:j[D],value:x[D+1]});return T},y.prototype.removeCapturingGroups=function(w){var x=w.replace(/\\.|\[(?:\\.|[^\\\]])*|\(\?[:=!<]|(\()/g,function(T,j){return j?"(?:":T});return x},y.prototype.createSplitterRegexp=function(w,x){if(w.indexOf("(?=")!=-1){var T=0,j=!1,D={};w.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(N,F,B,U,J,$){return j?j=J!="]":J?j=!0:U?(T==D.stack&&(D.end=$+1,D.stack=-1),T--):B&&(T++,B.length!=1&&(D.stack=T,D.start=$)),N}),D.end!=null&&/^\)*$/.test(w.substr(D.end))&&(w=w.substring(0,D.start)+w.substr(D.end))}return w.charAt(0)!="^"&&(w="^"+w),w.charAt(w.length-1)!="$"&&(w+="$"),new RegExp(w,(x||"").replace("g",""))},y.prototype.getLineTokens=function(w,x){if(x&&typeof x!="string"){var T=x.slice(0);x=T[0],x==="#tmp"&&(T.shift(),x=T.shift())}else var T=[];var j=x||"start",D=this.states[j];D||(j="start",D=this.states[j]);var N=this.matchMappings[j],F=this.regExps[j];F.lastIndex=0;for(var B,U=[],J=0,$=0,X={type:null,value:""};B=F.exec(w);){var ee=N.defaultToken,ie=null,G=B[0],Q=F.lastIndex;if(Q-G.length>J){var W=w.substring(J,Q-G.length);X.type==ee?X.value+=W:(X.type&&U.push(X),X={type:ee,value:W})}for(var ne=0;ne<B.length-2;ne++)if(B[ne+1]!==void 0){ie=D[N[ne]],ie.onMatch?ee=ie.onMatch(G,j,T,w):ee=ie.token,ie.next&&(typeof ie.next=="string"?j=ie.next:j=ie.next(j,T),D=this.states[j],D||(this.reportError("state doesn't exist",j),j="start",D=this.states[j]),N=this.matchMappings[j],J=Q,F=this.regExps[j],F.lastIndex=Q),ie.consumeLineEnd&&(J=Q);break}if(G){if(typeof ee=="string")(!ie||ie.merge!==!1)&&X.type===ee?X.value+=G:(X.type&&U.push(X),X={type:ee,value:G});else if(ee){X.type&&U.push(X),X={type:null,value:""};for(var ne=0;ne<ee.length;ne++)U.push(ee[ne])}}if(J==w.length)break;if(J=Q,$++>A){for($>2*w.length&&this.reportError("infinite loop with in ace tokenizer",{startState:x,line:w});J<w.length;)X.type&&U.push(X),X={value:w.substring(J,J+=500),type:"overflow"};j="start",T=[];break}}return X.type&&U.push(X),T.length>1&&T[0]!==j&&T.unshift("#tmp",j),{tokens:U,state:T.length?T:j}},y}();S.prototype.reportError=k.reportError,O.Tokenizer=S}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(m,O,C){"use strict";var k=m("../lib/lang"),A=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(w,x){if(!x){for(var T in w)this.$rules[T]=w[T];return}for(var T in w){for(var j=w[T],D=0;D<j.length;D++){var N=j[D];(N.next||N.onMatch)&&(typeof N.next=="string"&&N.next.indexOf(x)!==0&&(N.next=x+N.next),N.nextState&&N.nextState.indexOf(x)!==0&&(N.nextState=x+N.nextState))}this.$rules[x+T]=j}},this.getRules=function(){return this.$rules},this.embedRules=function(w,x,T,j,D){var N=typeof w=="function"?new w().getRules():w;if(j)for(var F=0;F<j.length;F++)j[F]=x+j[F];else{j=[];for(var B in N)j.push(x+B)}if(this.addRules(N,x),T)for(var U=Array.prototype[D?"push":"unshift"],F=0;F<j.length;F++)U.apply(this.$rules[j[F]],k.deepCopy(T));this.$embeds||(this.$embeds=[]),this.$embeds.push(x)},this.getEmbeds=function(){return this.$embeds};var S=function(x,T){return(x!="start"||T.length)&&T.unshift(this.nextState,x),this.nextState},y=function(x,T){return T.shift(),T.shift()||"start"};this.normalizeRules=function(){var w=0,x=this.$rules;function T(j){var D=x[j];D.processed=!0;for(var N=0;N<D.length;N++){var F=D[N],B=null;Array.isArray(F)&&(B=F,F={}),!F.regex&&F.start&&(F.regex=F.start,F.next||(F.next=[]),F.next.push({defaultToken:F.token},{token:F.token+".end",regex:F.end||F.start,next:"pop"}),F.token=F.token+".start",F.push=!0);var U=F.next||F.push;if(U&&Array.isArray(U)){var J=F.stateName;J||(J=F.token,typeof J!="string"&&(J=J[0]||""),x[J]&&(J+=w++)),x[J]=U,F.next=J,T(J)}else U=="pop"&&(F.next=y);if(F.push&&(F.nextState=F.next||F.push,F.next=S,delete F.push),F.rules)for(var $ in F.rules)x[$]?x[$].push&&x[$].push.apply(x[$],F.rules[$]):x[$]=F.rules[$];var X=typeof F=="string"?F:F.include;if(X&&(X==="$self"&&(X="start"),Array.isArray(X)?B=X.map(function(ie){return x[ie]}):B=x[X]),B){var ee=[N,1].concat(B);F.noEscape&&(ee=ee.filter(function(ie){return!ie.next})),D.splice.apply(D,ee),N--}F.keywordMap&&(F.token=this.createKeywordMapper(F.keywordMap,F.defaultToken||"text",F.caseInsensitive),delete F.defaultToken)}}Object.keys(x).forEach(T,this)},this.createKeywordMapper=function(w,x,T,j){var D=Object.create(null);return this.$keywordList=[],Object.keys(w).forEach(function(N){for(var F=w[N],B=F.split(j||"|"),U=B.length;U--;){var J=B[U];this.$keywordList.push(J),T&&(J=J.toLowerCase()),D[J]=N}},this),w=null,T?function(N){return D[N.toLowerCase()]||x}:function(N){return D[N]||x}},this.getKeywords=function(){return this.$keywords}}).call(A.prototype),O.TextHighlightRules=A}),ace.define("ace/mode/behaviour",["require","exports","module"],function(m,O,C){"use strict";var k=function(){this.$behaviours={}};(function(){this.add=function(A,S,y){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[A]:this.$behaviours[A]={}}this.$behaviours[A][S]=y},this.addBehaviours=function(A){for(var S in A)for(var y in A[S])this.add(S,y,A[S][y])},this.remove=function(A){this.$behaviours&&this.$behaviours[A]&&delete this.$behaviours[A]},this.inherit=function(A,S){if(typeof A=="function")var y=new A().getBehaviours(S);else var y=A.getBehaviours(S);this.addBehaviours(y)},this.getBehaviours=function(A){if(A){for(var S={},y=0;y<A.length;y++)this.$behaviours[A[y]]&&(S[A[y]]=this.$behaviours[A[y]]);return S}else return this.$behaviours}}).call(k.prototype),O.Behaviour=k}),ace.define("ace/token_iterator",["require","exports","module","ace/range"],function(m,O,C){"use strict";var k=m("./range").Range,A=function(){function S(y,w,x){this.$session=y,this.$row=w,this.$rowTokens=y.getTokens(w);var T=y.getTokenAt(w,x);this.$tokenIndex=T?T.index:-1}return S.prototype.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},S.prototype.stepForward=function(){this.$tokenIndex+=1;for(var y;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,y||(y=this.$session.getLength()),this.$row>=y)return this.$row=y-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentTokenRow=function(){return this.$row},S.prototype.getCurrentTokenColumn=function(){var y=this.$rowTokens,w=this.$tokenIndex,x=y[w].start;if(x!==void 0)return x;for(x=0;w>0;)w-=1,x+=y[w].value.length;return x},S.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},S.prototype.getCurrentTokenRange=function(){var y=this.$rowTokens[this.$tokenIndex],w=this.getCurrentTokenColumn();return new k(this.$row,w,this.$row,w+y.value.length)},S}();O.TokenIterator=A}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(m,O,C){"use strict";var k=m("../../lib/oop"),A=m("../behaviour").Behaviour,S=m("../../token_iterator").TokenIterator,y=m("../../lib/lang"),w=["text","paren.rparen","rparen","paren","punctuation.operator"],x=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],T,j={},D={'"':'"',"'":"'"},N=function(J){var $=-1;if(J.multiSelect&&($=J.selection.index,j.rangeCount!=J.multiSelect.rangeCount&&(j={rangeCount:J.multiSelect.rangeCount})),j[$])return T=j[$];T=j[$]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},F=function(J,$,X,ee){var ie=J.end.row-J.start.row;return{text:X+$+ee,selection:[0,J.start.column+1,ie,J.end.column+(ie?0:1)]}},B=function U(J){J=J||{},this.add("braces","insertion",function($,X,ee,ie,G){var Q=ee.getCursorPosition(),W=ie.doc.getLine(Q.row);if(G=="{"){N(ee);var ne=ee.getSelectionRange(),te=ie.doc.getTextRange(ne);if(te!==""&&te!=="{"&&ee.getWrapBehavioursEnabled())return F(ne,te,"{","}");if(U.isSaneInsertion(ee,ie))return/[\]\}\)]/.test(W[Q.column])||ee.inMultiSelectMode||J.braces?(U.recordAutoInsert(ee,ie,"}"),{text:"{}",selection:[1,1]}):(U.recordMaybeInsert(ee,ie,"{"),{text:"{",selection:[1,1]})}else if(G=="}"){N(ee);var _e=W.substring(Q.column,Q.column+1);if(_e=="}"){var he=ie.$findOpeningBracket("}",{column:Q.column+1,row:Q.row});if(he!==null&&U.isAutoInsertedClosing(Q,W,G))return U.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(G==`
`||G==`\r
`){N(ee);var oe="";U.isMaybeInsertedClosing(Q,W)&&(oe=y.stringRepeat("}",T.maybeInsertedBrackets),U.clearMaybeInsertedClosing());var _e=W.substring(Q.column,Q.column+1);if(_e==="}"){var ge=ie.findMatchingBracket({row:Q.row,column:Q.column+1},"}");if(!ge)return null;var me=this.$getIndent(ie.getLine(ge.row))}else if(oe)var me=this.$getIndent(W);else{U.clearMaybeInsertedClosing();return}var Z=me+ie.getTabString();return{text:`
`+Z+`
`+me+oe,selection:[1,Z.length,1,Z.length]}}else U.clearMaybeInsertedClosing()}),this.add("braces","deletion",function($,X,ee,ie,G){var Q=ie.doc.getTextRange(G);if(!G.isMultiLine()&&Q=="{"){N(ee);var W=ie.doc.getLine(G.start.row),ne=W.substring(G.end.column,G.end.column+1);if(ne=="}")return G.end.column++,G;T.maybeInsertedBrackets--}}),this.add("parens","insertion",function($,X,ee,ie,G){if(G=="("){N(ee);var Q=ee.getSelectionRange(),W=ie.doc.getTextRange(Q);if(W!==""&&ee.getWrapBehavioursEnabled())return F(Q,W,"(",")");if(U.isSaneInsertion(ee,ie))return U.recordAutoInsert(ee,ie,")"),{text:"()",selection:[1,1]}}else if(G==")"){N(ee);var ne=ee.getCursorPosition(),te=ie.doc.getLine(ne.row),_e=te.substring(ne.column,ne.column+1);if(_e==")"){var he=ie.$findOpeningBracket(")",{column:ne.column+1,row:ne.row});if(he!==null&&U.isAutoInsertedClosing(ne,te,G))return U.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function($,X,ee,ie,G){var Q=ie.doc.getTextRange(G);if(!G.isMultiLine()&&Q=="("){N(ee);var W=ie.doc.getLine(G.start.row),ne=W.substring(G.start.column+1,G.start.column+2);if(ne==")")return G.end.column++,G}}),this.add("brackets","insertion",function($,X,ee,ie,G){if(G=="["){N(ee);var Q=ee.getSelectionRange(),W=ie.doc.getTextRange(Q);if(W!==""&&ee.getWrapBehavioursEnabled())return F(Q,W,"[","]");if(U.isSaneInsertion(ee,ie))return U.recordAutoInsert(ee,ie,"]"),{text:"[]",selection:[1,1]}}else if(G=="]"){N(ee);var ne=ee.getCursorPosition(),te=ie.doc.getLine(ne.row),_e=te.substring(ne.column,ne.column+1);if(_e=="]"){var he=ie.$findOpeningBracket("]",{column:ne.column+1,row:ne.row});if(he!==null&&U.isAutoInsertedClosing(ne,te,G))return U.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function($,X,ee,ie,G){var Q=ie.doc.getTextRange(G);if(!G.isMultiLine()&&Q=="["){N(ee);var W=ie.doc.getLine(G.start.row),ne=W.substring(G.start.column+1,G.start.column+2);if(ne=="]")return G.end.column++,G}}),this.add("string_dquotes","insertion",function($,X,ee,ie,G){var Q=ie.$mode.$quotes||D;if(G.length==1&&Q[G]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(G)!=-1)return;N(ee);var W=G,ne=ee.getSelectionRange(),te=ie.doc.getTextRange(ne);if(te!==""&&(te.length!=1||!Q[te])&&ee.getWrapBehavioursEnabled())return F(ne,te,W,W);if(!te){var _e=ee.getCursorPosition(),he=ie.doc.getLine(_e.row),oe=he.substring(_e.column-1,_e.column),ge=he.substring(_e.column,_e.column+1),me=ie.getTokenAt(_e.row,_e.column),Z=ie.getTokenAt(_e.row,_e.column+1);if(oe=="\\"&&me&&/escape/.test(me.type))return null;var xe=me&&/string|escape/.test(me.type),Ee=!Z||/string|escape/.test(Z.type),Le;if(ge==W)Le=xe!==Ee,Le&&/string\.end/.test(Z.type)&&(Le=!1);else{if(xe&&!Ee||xe&&Ee)return null;var we=ie.$mode.tokenRe;we.lastIndex=0;var fe=we.test(oe);we.lastIndex=0;var pe=we.test(ge),Ke=ie.$mode.$pairQuotesAfter,Me=Ke&&Ke[W]&&Ke[W].test(oe);if(!Me&&fe||pe||ge&&!/[\s;,.})\]\\]/.test(ge))return null;var ze=he[_e.column-2];if(oe==W&&(ze==W||we.test(ze)))return null;Le=!0}return{text:Le?W+W:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function($,X,ee,ie,G){var Q=ie.$mode.$quotes||D,W=ie.doc.getTextRange(G);if(!G.isMultiLine()&&Q.hasOwnProperty(W)){N(ee);var ne=ie.doc.getLine(G.start.row),te=ne.substring(G.start.column+1,G.start.column+2);if(te==W)return G.end.column++,G}}),J.closeDocComment!==!1&&this.add("doc comment end","insertion",function($,X,ee,ie,G){if($==="doc-start"&&(G===`
`||G===`\r
`)&&ee.selection.isEmpty()){var Q=ee.getCursorPosition(),W=ie.doc.getLine(Q.row),ne=ie.doc.getLine(Q.row+1),te=this.$getIndent(W);if(/\s*\*/.test(ne))return/^\s*\*/.test(W)?{text:G+te+"* ",selection:[1,3+te.length,1,3+te.length]}:{text:G+te+" * ",selection:[1,3+te.length,1,3+te.length]};if(/\/\*\*/.test(W.substring(0,Q.column)))return{text:G+te+" * "+G+" "+te+"*/",selection:[1,4+te.length,1,4+te.length]}}})};B.isSaneInsertion=function(U,J){var $=U.getCursorPosition(),X=new S(J,$.row,$.column);if(!this.$matchTokenType(X.getCurrentToken()||"text",w)){if(/[)}\]]/.test(U.session.getLine($.row)[$.column]))return!0;var ee=new S(J,$.row,$.column+1);if(!this.$matchTokenType(ee.getCurrentToken()||"text",w))return!1}return X.stepForward(),X.getCurrentTokenRow()!==$.row||this.$matchTokenType(X.getCurrentToken()||"text",x)},B.$matchTokenType=function(U,J){return J.indexOf(U.type||U)>-1},B.recordAutoInsert=function(U,J,$){var X=U.getCursorPosition(),ee=J.doc.getLine(X.row);this.isAutoInsertedClosing(X,ee,T.autoInsertedLineEnd[0])||(T.autoInsertedBrackets=0),T.autoInsertedRow=X.row,T.autoInsertedLineEnd=$+ee.substr(X.column),T.autoInsertedBrackets++},B.recordMaybeInsert=function(U,J,$){var X=U.getCursorPosition(),ee=J.doc.getLine(X.row);this.isMaybeInsertedClosing(X,ee)||(T.maybeInsertedBrackets=0),T.maybeInsertedRow=X.row,T.maybeInsertedLineStart=ee.substr(0,X.column)+$,T.maybeInsertedLineEnd=ee.substr(X.column),T.maybeInsertedBrackets++},B.isAutoInsertedClosing=function(U,J,$){return T.autoInsertedBrackets>0&&U.row===T.autoInsertedRow&&$===T.autoInsertedLineEnd[0]&&J.substr(U.column)===T.autoInsertedLineEnd},B.isMaybeInsertedClosing=function(U,J){return T.maybeInsertedBrackets>0&&U.row===T.maybeInsertedRow&&J.substr(U.column)===T.maybeInsertedLineEnd&&J.substr(0,U.column)==T.maybeInsertedLineStart},B.popAutoInsertedClosing=function(){T.autoInsertedLineEnd=T.autoInsertedLineEnd.substr(1),T.autoInsertedBrackets--},B.clearMaybeInsertedClosing=function(){T&&(T.maybeInsertedBrackets=0,T.maybeInsertedRow=-1)},k.inherits(B,A),O.CstyleBehaviour=B}),ace.define("ace/unicode",["require","exports","module"],function(m,O,C){"use strict";for(var k=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],A=0,S=[],y=0;y<k.length;y+=2)S.push(A+=k[y]),k[y+1]&&S.push(45,A+=k[y+1]);O.wordChars=String.fromCharCode.apply(null,S)}),ace.define("ace/mode/text",["require","exports","module","ace/config","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(m,O,C){"use strict";var k=m("../config"),A=m("../tokenizer").Tokenizer,S=m("./text_highlight_rules").TextHighlightRules,y=m("./behaviour/cstyle").CstyleBehaviour,w=m("../unicode"),x=m("../lib/lang"),T=m("../token_iterator").TokenIterator,j=m("../range").Range,D=function(){this.HighlightRules=S};(function(){this.$defaultBehaviour=new y,this.tokenRe=new RegExp("^["+w.wordChars+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+w.wordChars+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new A(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(N,F,B,U){var J=F.doc,$=!0,X=!0,ee=Infinity,ie=F.getTabSize(),G=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var ne=this.lineCommentStart.map(x.escapeRegExp).join("|"),Q=this.lineCommentStart[0];else var ne=x.escapeRegExp(this.lineCommentStart),Q=this.lineCommentStart;ne=new RegExp("^(\\s*)(?:"+ne+") ?"),G=F.getUseSoftTabs();var he=function(pe,Ke){var Me=pe.match(ne);if(!!Me){var ze=Me[1].length,Ue=Me[0].length;!me(pe,ze,Ue)&&Me[0][Ue-1]==" "&&Ue--,J.removeInLine(Ke,ze,Ue)}},ge=Q+" ",_e=function(pe,Ke){(!$||/\S/.test(pe))&&(me(pe,ee,ee)?J.insertInLine({row:Ke,column:ee},ge):J.insertInLine({row:Ke,column:ee},Q))},oe=function(pe,Ke){return ne.test(pe)},me=function(pe,Ke,Me){for(var ze=0;Ke--&&pe.charAt(Ke)==" ";)ze++;if(ze%ie!=0)return!1;for(var ze=0;pe.charAt(Me++)==" ";)ze++;return ie>2?ze%ie!=ie-1:ze%ie==0}}else{if(!this.blockComment)return!1;var Q=this.blockComment.start,W=this.blockComment.end,ne=new RegExp("^(\\s*)(?:"+x.escapeRegExp(Q)+")"),te=new RegExp("(?:"+x.escapeRegExp(W)+")\\s*$"),_e=function(Le,we){oe(Le,we)||(!$||/\S/.test(Le))&&(J.insertInLine({row:we,column:Le.length},W),J.insertInLine({row:we,column:ee},Q))},he=function(Le,we){var fe;(fe=Le.match(te))&&J.removeInLine(we,Le.length-fe[0].length,Le.length),(fe=Le.match(ne))&&J.removeInLine(we,fe[1].length,fe[0].length)},oe=function(Le,we){if(ne.test(Le))return!0;for(var fe=F.getTokens(we),pe=0;pe<fe.length;pe++)if(fe[pe].type==="comment")return!0}}function Z(Ee){for(var Le=B;Le<=U;Le++)Ee(J.getLine(Le),Le)}var xe=Infinity;Z(function(Ee,Le){var we=Ee.search(/\S/);we!==-1?(we<ee&&(ee=we),X&&!oe(Ee,Le)&&(X=!1)):xe>Ee.length&&(xe=Ee.length)}),ee==Infinity&&(ee=xe,$=!1,X=!1),G&&ee%ie!=0&&(ee=Math.floor(ee/ie)*ie),Z(X?he:_e)},this.toggleBlockComment=function(N,F,B,U){var J=this.blockComment;if(!!J){!J.start&&J[0]&&(J=J[0]);var $=new T(F,U.row,U.column),X=$.getCurrentToken(),ee=F.selection,ie=F.selection.toOrientedRange(),G,Q;if(X&&/comment/.test(X.type)){for(var W,ne;X&&/comment/.test(X.type);){var te=X.value.indexOf(J.start);if(te!=-1){var _e=$.getCurrentTokenRow(),he=$.getCurrentTokenColumn()+te;W=new j(_e,he,_e,he+J.start.length);break}X=$.stepBackward()}for(var $=new T(F,U.row,U.column),X=$.getCurrentToken();X&&/comment/.test(X.type);){var te=X.value.indexOf(J.end);if(te!=-1){var _e=$.getCurrentTokenRow(),he=$.getCurrentTokenColumn()+te;ne=new j(_e,he,_e,he+J.end.length);break}X=$.stepForward()}ne&&F.remove(ne),W&&(F.remove(W),G=W.start.row,Q=-J.start.length)}else Q=J.start.length,G=B.start.row,F.insert(B.end,J.end),F.insert(B.start,J.start);ie.start.row==G&&(ie.start.column+=Q),ie.end.row==G&&(ie.end.column+=Q),F.selection.fromOrientedRange(ie)}},this.getNextLineIndent=function(N,F,B){return this.$getIndent(F)},this.checkOutdent=function(N,F,B){return!1},this.autoOutdent=function(N,F,B){},this.$getIndent=function(N){return N.match(/^\s*/)[0]},this.createWorker=function(N){return null},this.createModeDelegates=function(N){this.$embeds=[],this.$modes={};for(var F in N)if(N[F]){var B=N[F],U=B.prototype.$id,J=k.$modes[U];J||(k.$modes[U]=J=new B),k.$modes[F]||(k.$modes[F]=J),this.$embeds.push(F),this.$modes[F]=J}for(var $=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],F=0;F<$.length;F++)(function(ee){var ie=$[F],G=ee[ie];ee[$[F]]=function(){return this.$delegator(ie,arguments,G)}})(this)},this.$delegator=function(N,F,B){var U=F[0]||"start";if(typeof U!="string"){if(Array.isArray(U[2])){var J=U[2][U[2].length-1],$=this.$modes[J];if($)return $[N].apply($,[U[1]].concat([].slice.call(F,1)))}U=U[0]||"start"}for(var X=0;X<this.$embeds.length;X++)if(!!this.$modes[this.$embeds[X]]){var ee=U.split(this.$embeds[X]);if(!ee[0]&&ee[1]){F[0]=ee[1];var $=this.$modes[this.$embeds[X]];return $[N].apply($,F)}}var ie=B.apply(this,F);return B?ie:void 0},this.transformAction=function(N,F,B,U,J){if(this.$behaviour){var $=this.$behaviour.getBehaviours();for(var X in $)if($[X][F]){var ee=$[X][F].apply(this,arguments);if(ee)return ee}}},this.getKeywords=function(N){if(!this.completionKeywords){var F=this.$tokenizer.rules,B=[];for(var U in F)for(var J=F[U],$=0,X=J.length;$<X;$++)if(typeof J[$].token=="string")/keyword|support|storage/.test(J[$].token)&&B.push(J[$].regex);else if(typeof J[$].token=="object"){for(var ee=0,ie=J[$].token.length;ee<ie;ee++)if(/keyword|support|storage/.test(J[$].token[ee])){var U=J[$].regex.match(/\(.+?\)/g)[ee];B.push(U.substr(1,U.length-2))}}this.completionKeywords=B}return N?B.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(N,F,B,U){var J=this.$keywordList||this.$createKeywordList();return J.map(function($){return{name:$,value:$,score:0,meta:"keyword"}})},this.$id="ace/mode/text"}).call(D.prototype),O.Mode=D}),ace.define("ace/apply_delta",["require","exports","module"],function(m,O,C){"use strict";function k(y,w){throw console.log("Invalid Delta:",y),"Invalid Delta: "+w}function A(y,w){return w.row>=0&&w.row<y.length&&w.column>=0&&w.column<=y[w.row].length}function S(y,w){w.action!="insert"&&w.action!="remove"&&k(w,"delta.action must be 'insert' or 'remove'"),w.lines instanceof Array||k(w,"delta.lines must be an Array"),(!w.start||!w.end)&&k(w,"delta.start/end must be an present");var x=w.start;A(y,w.start)||k(w,"delta.start must be contained in document");var T=w.end;w.action=="remove"&&!A(y,T)&&k(w,"delta.end must contained in document for 'remove' actions");var j=T.row-x.row,D=T.column-(j==0?x.column:0);(j!=w.lines.length-1||w.lines[j].length!=D)&&k(w,"delta.range must match delta lines")}O.applyDelta=function(y,w,x){var T=w.start.row,j=w.start.column,D=y[T]||"";switch(w.action){case"insert":var N=w.lines;if(N.length===1)y[T]=D.substring(0,j)+w.lines[0]+D.substring(j);else{var F=[T,1].concat(w.lines);y.splice.apply(y,F),y[T]=D.substring(0,j)+y[T],y[T+w.lines.length-1]+=D.substring(j)}break;case"remove":var B=w.end.column,U=w.end.row;T===U?y[T]=D.substring(0,j)+D.substring(B):y.splice(T,U-T+1,D.substring(0,j)+y[U].substring(B));break}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./lib/event_emitter").EventEmitter,S=function(){function x(T,j,D){this.$onChange=this.onChange.bind(this),this.attach(T),typeof D=="undefined"?this.setPosition(j.row,j.column):this.setPosition(j,D)}return x.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},x.prototype.getDocument=function(){return this.document},x.prototype.onChange=function(T){if(!(T.start.row==T.end.row&&T.start.row!=this.row)&&!(T.start.row>this.row)){var j=w(T,{row:this.row,column:this.column},this.$insertRight);this.setPosition(j.row,j.column,!0)}},x.prototype.setPosition=function(T,j,D){var N;if(D?N={row:T,column:j}:N=this.$clipPositionToDocument(T,j),!(this.row==N.row&&this.column==N.column)){var F={row:this.row,column:this.column};this.row=N.row,this.column=N.column,this._signal("change",{old:F,value:N})}},x.prototype.detach=function(){this.document.off("change",this.$onChange)},x.prototype.attach=function(T){this.document=T||this.document,this.document.on("change",this.$onChange)},x.prototype.$clipPositionToDocument=function(T,j){var D={};return T>=this.document.getLength()?(D.row=Math.max(0,this.document.getLength()-1),D.column=this.document.getLine(D.row).length):T<0?(D.row=0,D.column=0):(D.row=T,D.column=Math.min(this.document.getLine(D.row).length,Math.max(0,j))),j<0&&(D.column=0),D},x}();S.prototype.$insertRight=!1,k.implement(S.prototype,A);function y(x,T,j){var D=j?x.column<=T.column:x.column<T.column;return x.row<T.row||x.row==T.row&&D}function w(x,T,j){var D=x.action=="insert",N=(D?1:-1)*(x.end.row-x.start.row),F=(D?1:-1)*(x.end.column-x.start.column),B=x.start,U=D?B:x.end;return y(T,B,j)?{row:T.row,column:T.column}:y(U,T,!j)?{row:T.row+N,column:T.column+(T.row==U.row?F:0)}:{row:B.row,column:B.column}}O.Anchor=S}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./apply_delta").applyDelta,S=m("./lib/event_emitter").EventEmitter,y=m("./range").Range,w=m("./anchor").Anchor,x=function(){function T(j){this.$lines=[""],j.length===0?this.$lines=[""]:Array.isArray(j)?this.insertMergedLines({row:0,column:0},j):this.insert({row:0,column:0},j)}return T.prototype.setValue=function(j){var D=this.getLength()-1;this.remove(new y(0,0,D,this.getLine(D).length)),this.insert({row:0,column:0},j||"")},T.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},T.prototype.createAnchor=function(j,D){return new w(this,j,D)},T.prototype.$detectNewLine=function(j){var D=j.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=D?D[1]:`
`,this._signal("changeNewLineMode")},T.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
`;case"unix":return`
`;default:return this.$autoNewLine||`
`}},T.prototype.setNewLineMode=function(j){this.$newLineMode!==j&&(this.$newLineMode=j,this._signal("changeNewLineMode"))},T.prototype.getNewLineMode=function(){return this.$newLineMode},T.prototype.isNewLine=function(j){return j==`\r
`||j=="\r"||j==`
`},T.prototype.getLine=function(j){return this.$lines[j]||""},T.prototype.getLines=function(j,D){return this.$lines.slice(j,D+1)},T.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},T.prototype.getLength=function(){return this.$lines.length},T.prototype.getTextRange=function(j){return this.getLinesForRange(j).join(this.getNewLineCharacter())},T.prototype.getLinesForRange=function(j){var D;if(j.start.row===j.end.row)D=[this.getLine(j.start.row).substring(j.start.column,j.end.column)];else{D=this.getLines(j.start.row,j.end.row),D[0]=(D[0]||"").substring(j.start.column);var N=D.length-1;j.end.row-j.start.row==N&&(D[N]=D[N].substring(0,j.end.column))}return D},T.prototype.insertLines=function(j,D){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(j,D)},T.prototype.removeLines=function(j,D){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(j,D)},T.prototype.insertNewLine=function(j){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(j,["",""])},T.prototype.insert=function(j,D){return this.getLength()<=1&&this.$detectNewLine(D),this.insertMergedLines(j,this.$split(D))},T.prototype.insertInLine=function(j,D){var N=this.clippedPos(j.row,j.column),F=this.pos(j.row,j.column+D.length);return this.applyDelta({start:N,end:F,action:"insert",lines:[D]},!0),this.clonePos(F)},T.prototype.clippedPos=function(j,D){var N=this.getLength();j===void 0?j=N:j<0?j=0:j>=N&&(j=N-1,D=void 0);var F=this.getLine(j);return D==null&&(D=F.length),D=Math.min(Math.max(D,0),F.length),{row:j,column:D}},T.prototype.clonePos=function(j){return{row:j.row,column:j.column}},T.prototype.pos=function(j,D){return{row:j,column:D}},T.prototype.$clipPosition=function(j){var D=this.getLength();return j.row>=D?(j.row=Math.max(0,D-1),j.column=this.getLine(D-1).length):(j.row=Math.max(0,j.row),j.column=Math.min(Math.max(j.column,0),this.getLine(j.row).length)),j},T.prototype.insertFullLines=function(j,D){j=Math.min(Math.max(j,0),this.getLength());var N=0;j<this.getLength()?(D=D.concat([""]),N=0):(D=[""].concat(D),j--,N=this.$lines[j].length),this.insertMergedLines({row:j,column:N},D)},T.prototype.insertMergedLines=function(j,D){var N=this.clippedPos(j.row,j.column),F={row:N.row+D.length-1,column:(D.length==1?N.column:0)+D[D.length-1].length};return this.applyDelta({start:N,end:F,action:"insert",lines:D}),this.clonePos(F)},T.prototype.remove=function(j){var D=this.clippedPos(j.start.row,j.start.column),N=this.clippedPos(j.end.row,j.end.column);return this.applyDelta({start:D,end:N,action:"remove",lines:this.getLinesForRange({start:D,end:N})}),this.clonePos(D)},T.prototype.removeInLine=function(j,D,N){var F=this.clippedPos(j,D),B=this.clippedPos(j,N);return this.applyDelta({start:F,end:B,action:"remove",lines:this.getLinesForRange({start:F,end:B})},!0),this.clonePos(F)},T.prototype.removeFullLines=function(j,D){j=Math.min(Math.max(0,j),this.getLength()-1),D=Math.min(Math.max(0,D),this.getLength()-1);var N=D==this.getLength()-1&&j>0,F=D<this.getLength()-1,B=N?j-1:j,U=N?this.getLine(B).length:0,J=F?D+1:D,$=F?0:this.getLine(J).length,X=new y(B,U,J,$),ee=this.$lines.slice(j,D+1);return this.applyDelta({start:X.start,end:X.end,action:"remove",lines:this.getLinesForRange(X)}),ee},T.prototype.removeNewLine=function(j){j<this.getLength()-1&&j>=0&&this.applyDelta({start:this.pos(j,this.getLine(j).length),end:this.pos(j+1,0),action:"remove",lines:["",""]})},T.prototype.replace=function(j,D){if(j instanceof y||(j=y.fromPoints(j.start,j.end)),D.length===0&&j.isEmpty())return j.start;if(D==this.getTextRange(j))return j.end;this.remove(j);var N;return D?N=this.insert(j.start,D):N=j.start,N},T.prototype.applyDeltas=function(j){for(var D=0;D<j.length;D++)this.applyDelta(j[D])},T.prototype.revertDeltas=function(j){for(var D=j.length-1;D>=0;D--)this.revertDelta(j[D])},T.prototype.applyDelta=function(j,D){var N=j.action=="insert";(N?j.lines.length<=1&&!j.lines[0]:!y.comparePoints(j.start,j.end))||(N&&j.lines.length>2e4?this.$splitAndapplyLargeDelta(j,2e4):(A(this.$lines,j,D),this._signal("change",j)))},T.prototype.$safeApplyDelta=function(j){var D=this.$lines.length;(j.action=="remove"&&j.start.row<D&&j.end.row<D||j.action=="insert"&&j.start.row<=D)&&this.applyDelta(j)},T.prototype.$splitAndapplyLargeDelta=function(j,D){for(var N=j.lines,F=N.length-D+1,B=j.start.row,U=j.start.column,J=0,$=0;J<F;J=$){$+=D-1;var X=N.slice(J,$);X.push(""),this.applyDelta({start:this.pos(B+J,U),end:this.pos(B+$,U=0),action:j.action,lines:X},!0)}j.lines=N.slice(J),j.start.row=B+J,j.start.column=U,this.applyDelta(j,!0)},T.prototype.revertDelta=function(j){this.$safeApplyDelta({start:this.clonePos(j.start),end:this.clonePos(j.end),action:j.action=="insert"?"remove":"insert",lines:j.lines.slice()})},T.prototype.indexToPosition=function(j,D){for(var N=this.$lines||this.getAllLines(),F=this.getNewLineCharacter().length,B=D||0,U=N.length;B<U;B++)if(j-=N[B].length+F,j<0)return{row:B,column:j+N[B].length+F};return{row:U-1,column:j+N[U-1].length+F}},T.prototype.positionToIndex=function(j,D){for(var N=this.$lines||this.getAllLines(),F=this.getNewLineCharacter().length,B=0,U=Math.min(j.row,N.length),J=D||0;J<U;++J)B+=N[J].length+F;return B+j.column},T.prototype.$split=function(j){return j.split(/\r\n|\r|\n/)},T}();x.prototype.$autoNewLine="",x.prototype.$newLineMode="auto",k.implement(x.prototype,S),O.Document=x}),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./lib/event_emitter").EventEmitter,S=function(){function y(w,x){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=w;var T=this;this.$worker=function(){if(!!T.running){for(var j=new Date,D=T.currentLine,N=-1,F=T.doc,B=D;T.lines[D];)D++;var U=F.getLength(),J=0;for(T.running=!1;D<U;){T.$tokenizeRow(D),N=D;do D++;while(T.lines[D]);if(J++,J%5==0&&new Date-j>20){T.running=setTimeout(T.$worker,20);break}}T.currentLine=D,N==-1&&(N=D),B<=N&&T.fireUpdateEvent(B,N)}}}return y.prototype.setTokenizer=function(w){this.tokenizer=w,this.lines=[],this.states=[],this.start(0)},y.prototype.setDocument=function(w){this.doc=w,this.lines=[],this.states=[],this.stop()},y.prototype.fireUpdateEvent=function(w,x){var T={first:w,last:x};this._signal("update",{data:T})},y.prototype.start=function(w){this.currentLine=Math.min(w||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},y.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},y.prototype.$updateOnChange=function(w){var x=w.start.row,T=w.end.row-x;if(T===0)this.lines[x]=null;else if(w.action=="remove")this.lines.splice(x,T+1,null),this.states.splice(x,T+1,null);else{var j=Array(T+1);j.unshift(x,1),this.lines.splice.apply(this.lines,j),this.states.splice.apply(this.states,j)}this.currentLine=Math.min(x,this.currentLine,this.doc.getLength()),this.stop()},y.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},y.prototype.getTokens=function(w){return this.lines[w]||this.$tokenizeRow(w)},y.prototype.getState=function(w){return this.currentLine==w&&this.$tokenizeRow(w),this.states[w]||"start"},y.prototype.$tokenizeRow=function(w){var x=this.doc.getLine(w),T=this.states[w-1],j=this.tokenizer.getLineTokens(x,T,w);return this.states[w]+""!=j.state+""?(this.states[w]=j.state,this.lines[w+1]=null,this.currentLine>w+1&&(this.currentLine=w+1)):this.currentLine==w&&(this.currentLine=w+1),this.lines[w]=j.tokens},y.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},y}();k.implement(S.prototype,A),O.BackgroundTokenizer=S}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(m,O,C){"use strict";var k=m("./lib/lang"),A=m("./range").Range,S=function(){function y(w,x,T){T===void 0&&(T="text"),this.setRegexp(w),this.clazz=x,this.type=T}return y.prototype.setRegexp=function(w){this.regExp+""!=w+""&&(this.regExp=w,this.cache=[])},y.prototype.update=function(w,x,T,j){if(!!this.regExp)for(var D=j.firstRow,N=j.lastRow,F={},B=D;B<=N;B++){var U=this.cache[B];U==null&&(U=k.getMatchOffsets(T.getLine(B),this.regExp),U.length>this.MAX_RANGES&&(U=U.slice(0,this.MAX_RANGES)),U=U.map(function(ee){return new A(B,ee.offset,B,ee.offset+ee.length)}),this.cache[B]=U.length?U:"");for(var J=U.length;J--;){var $=U[J].toScreenRange(T),X=$.toString();F[X]||(F[X]=!0,x.drawSingleLineMarker(w,$,this.clazz,j))}}},y}();S.prototype.MAX_RANGES=500,O.SearchHighlight=S}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(m,O,C){"use strict";var k=m("../range").Range,A=function(){function S(y,w){this.foldData=y,Array.isArray(w)?this.folds=w:w=this.folds=[w];var x=w[w.length-1];this.range=new k(w[0].start.row,w[0].start.column,x.end.row,x.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(T){T.setFoldLine(this)},this)}return S.prototype.shiftRow=function(y){this.start.row+=y,this.end.row+=y,this.folds.forEach(function(w){w.start.row+=y,w.end.row+=y})},S.prototype.addFold=function(y){if(y.sameRow){if(y.start.row<this.startRow||y.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(y),this.folds.sort(function(w,x){return-w.range.compareEnd(x.start.row,x.start.column)}),this.range.compareEnd(y.start.row,y.start.column)>0?(this.end.row=y.end.row,this.end.column=y.end.column):this.range.compareStart(y.end.row,y.end.column)<0&&(this.start.row=y.start.row,this.start.column=y.start.column)}else if(y.start.row==this.end.row)this.folds.push(y),this.end.row=y.end.row,this.end.column=y.end.column;else if(y.end.row==this.start.row)this.folds.unshift(y),this.start.row=y.start.row,this.start.column=y.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");y.foldLine=this},S.prototype.containsRow=function(y){return y>=this.start.row&&y<=this.end.row},S.prototype.walk=function(y,w,x){var T=0,j=this.folds,D,N,F,B=!0;w==null&&(w=this.end.row,x=this.end.column);for(var U=0;U<j.length;U++){if(D=j[U],N=D.range.compareStart(w,x),N==-1){y(null,w,x,T,B);return}if(F=y(null,D.start.row,D.start.column,T,B),F=!F&&y(D.placeholder,D.start.row,D.start.column,T),F||N===0)return;B=!D.sameRow,T=D.end.column}y(null,w,x,T,B)},S.prototype.getNextFoldTo=function(y,w){for(var x,T,j=0;j<this.folds.length;j++){if(x=this.folds[j],T=x.range.compareEnd(y,w),T==-1)return{fold:x,kind:"after"};if(T===0)return{fold:x,kind:"inside"}}return null},S.prototype.addRemoveChars=function(y,w,x){var T=this.getNextFoldTo(y,w),j,D;if(T){if(j=T.fold,T.kind=="inside"&&j.start.column!=w&&j.start.row!=y)window.console&&window.console.log(y,w,j);else if(j.start.row==y){D=this.folds;var N=D.indexOf(j);for(N===0&&(this.start.column+=x),N;N<D.length;N++){if(j=D[N],j.start.column+=x,!j.sameRow)return;j.end.column+=x}this.end.column+=x}}},S.prototype.split=function(y,w){var x=this.getNextFoldTo(y,w);if(!x||x.kind=="inside")return null;var T=x.fold,j=this.folds,D=this.foldData,N=j.indexOf(T),F=j[N-1];this.end.row=F.end.row,this.end.column=F.end.column,j=j.splice(N,j.length-N);var B=new S(D,j);return D.splice(D.indexOf(this)+1,0,B),B},S.prototype.merge=function(y){for(var w=y.folds,x=0;x<w.length;x++)this.addFold(w[x]);var T=this.foldData;T.splice(T.indexOf(y),1)},S.prototype.toString=function(){var y=[this.range.toString()+": ["];return this.folds.forEach(function(w){y.push(" "+w.toString())}),y.push("]"),y.join(`
`)},S.prototype.idxToPosition=function(y){for(var w=0,x=0;x<this.folds.length;x++){var T=this.folds[x];if(y-=T.start.column-w,y<0)return{row:T.start.row,column:T.start.column+y};if(y-=T.placeholder.length,y<0)return T.start;w=T.end.column}return{row:this.end.row,column:this.end.column+y}},S}();O.FoldLine=A}),ace.define("ace/range_list",["require","exports","module","ace/range"],function(m,O,C){"use strict";var k=m("./range").Range,A=k.comparePoints,S=function(){function y(){this.ranges=[],this.$bias=1}return y.prototype.pointIndex=function(w,x,T){for(var j=this.ranges,D=T||0;D<j.length;D++){var N=j[D],F=A(w,N.end);if(!(F>0)){var B=A(w,N.start);return F===0?x&&B!==0?-D-2:D:B>0||B===0&&!x?D:-D-1}}return-D-1},y.prototype.add=function(w){var x=!w.isEmpty(),T=this.pointIndex(w.start,x);T<0&&(T=-T-1);var j=this.pointIndex(w.end,x,T);return j<0?j=-j-1:j++,this.ranges.splice(T,j-T,w)},y.prototype.addList=function(w){for(var x=[],T=w.length;T--;)x.push.apply(x,this.add(w[T]));return x},y.prototype.substractPoint=function(w){var x=this.pointIndex(w);if(x>=0)return this.ranges.splice(x,1)},y.prototype.merge=function(){var w=[],x=this.ranges;x=x.sort(function(F,B){return A(F.start,B.start)});for(var T=x[0],j,D=1;D<x.length;D++){j=T,T=x[D];var N=A(j.end,T.start);N<0||N==0&&!j.isEmpty()&&!T.isEmpty()||(A(j.end,T.end)<0&&(j.end.row=T.end.row,j.end.column=T.end.column),x.splice(D,1),w.push(T),T=j,D--)}return this.ranges=x,w},y.prototype.contains=function(w,x){return this.pointIndex({row:w,column:x})>=0},y.prototype.containsPoint=function(w){return this.pointIndex(w)>=0},y.prototype.rangeAtPoint=function(w){var x=this.pointIndex(w);if(x>=0)return this.ranges[x]},y.prototype.clipRows=function(w,x){var T=this.ranges;if(T[0].start.row>x||T[T.length-1].start.row<w)return[];var j=this.pointIndex({row:w,column:0});j<0&&(j=-j-1);var D=this.pointIndex({row:x,column:0},j);D<0&&(D=-D-1);for(var N=[],F=j;F<D;F++)N.push(T[F]);return N},y.prototype.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},y.prototype.attach=function(w){this.session&&this.detach(),this.session=w,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},y.prototype.detach=function(){!this.session||(this.session.removeListener("change",this.onChange),this.session=null)},y.prototype.$onChange=function(w){for(var x=w.start,T=w.end,j=x.row,D=T.row,N=this.ranges,F=0,B=N.length;F<B;F++){var U=N[F];if(U.end.row>=j)break}if(w.action=="insert")for(var J=D-j,$=-x.column+T.column;F<B;F++){var U=N[F];if(U.start.row>j)break;if(U.start.row==j&&U.start.column>=x.column&&(U.start.column==x.column&&this.$bias<=0||(U.start.column+=$,U.start.row+=J)),U.end.row==j&&U.end.column>=x.column){if(U.end.column==x.column&&this.$bias<0)continue;U.end.column==x.column&&$>0&&F<B-1&&U.end.column>U.start.column&&U.end.column==N[F+1].start.column&&(U.end.column-=$),U.end.column+=$,U.end.row+=J}}else for(var J=j-D,$=x.column-T.column;F<B;F++){var U=N[F];if(U.start.row>D)break;U.end.row<D&&(j<U.end.row||j==U.end.row&&x.column<U.end.column)?(U.end.row=j,U.end.column=x.column):U.end.row==D?U.end.column<=T.column?(J||U.end.column>x.column)&&(U.end.column=x.column,U.end.row=x.row):(U.end.column+=$,U.end.row+=J):U.end.row>D&&(U.end.row+=J),U.start.row<D&&(j<U.start.row||j==U.start.row&&x.column<U.start.column)?(U.start.row=j,U.start.column=x.column):U.start.row==D?U.start.column<=T.column?(J||U.start.column>x.column)&&(U.start.column=x.column,U.start.row=x.row):(U.start.column+=$,U.start.row+=J):U.start.row>D&&(U.start.row+=J)}if(J!=0&&F<B)for(;F<B;F++){var U=N[F];U.start.row+=J,U.end.row+=J}},y}();S.prototype.comparePoints=A,O.RangeList=S}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range_list"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var j=function(N,F){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,U){B.__proto__=U}||function(B,U){for(var J in U)Object.prototype.hasOwnProperty.call(U,J)&&(B[J]=U[J])},j(N,F)};return function(D,N){if(typeof N!="function"&&N!==null)throw new TypeError("Class extends value "+String(N)+" is not a constructor or null");j(D,N);function F(){this.constructor=D}D.prototype=N===null?Object.create(N):(F.prototype=N.prototype,new F)}}(),A=m("../range_list").RangeList,S=function(j){k(D,j);function D(N,F){var B=j.call(this)||this;return B.foldLine=null,B.placeholder=F,B.range=N,B.start=N.start,B.end=N.end,B.sameRow=N.start.row==N.end.row,B.subFolds=B.ranges=[],B}return D.prototype.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},D.prototype.setFoldLine=function(N){this.foldLine=N,this.subFolds.forEach(function(F){F.setFoldLine(N)})},D.prototype.clone=function(){var N=this.range.clone(),F=new D(N,this.placeholder);return this.subFolds.forEach(function(B){F.subFolds.push(B.clone())}),F.collapseChildren=this.collapseChildren,F},D.prototype.addSubFold=function(N){if(!this.range.isEqual(N)){w(N,this.start);for(var F=N.start.row,B=N.start.column,U=0,J=-1;U<this.subFolds.length&&(J=this.subFolds[U].range.compare(F,B),J==1);U++);var $=this.subFolds[U],X=0;if(J==0){if($.range.containsRange(N))return $.addSubFold(N);X=1}for(var F=N.range.end.row,B=N.range.end.column,ee=U,J=-1;ee<this.subFolds.length&&(J=this.subFolds[ee].range.compare(F,B),J==1);ee++);J==0&&ee++;for(var ie=this.subFolds.splice(U,ee-U,N),G=J==0?ie.length-1:ie.length,Q=X;Q<G;Q++)N.addSubFold(ie[Q]);return N.setFoldLine(this.foldLine),N}},D.prototype.restoreRange=function(N){return T(N,this.start)},D}(A);function y(j,D){j.row-=D.row,j.row==0&&(j.column-=D.column)}function w(j,D){y(j.start,D),y(j.end,D)}function x(j,D){j.row==0&&(j.column+=D.column),j.row+=D.row}function T(j,D){x(j.start,D),x(j.end,D)}O.Fold=S}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator","ace/mouse/mouse_event"],function(m,O,C){"use strict";var k=m("../range").Range,A=m("./fold_line").FoldLine,S=m("./fold").Fold,y=m("../token_iterator").TokenIterator,w=m("../mouse/mouse_event").MouseEvent;function x(){this.getFoldAt=function(T,j,D){var N=this.getFoldLine(T);if(!N)return null;for(var F=N.folds,B=0;B<F.length;B++){var U=F[B].range;if(U.contains(T,j)){if(D==1&&U.isEnd(T,j)&&!U.isEmpty())continue;if(D==-1&&U.isStart(T,j)&&!U.isEmpty())continue;return F[B]}}},this.getFoldsInRange=function(T){var j=T.start,D=T.end,N=this.$foldData,F=[];j.column+=1,D.column-=1;for(var B=0;B<N.length;B++){var U=N[B].range.compareRange(T);if(U!=2){if(U==-2)break;for(var J=N[B].folds,$=0;$<J.length;$++){var X=J[$];if(U=X.range.compareRange(T),U==-2)break;if(U==2)continue;if(U==42)break;F.push(X)}}}return j.column-=1,D.column+=1,F},this.getFoldsInRangeList=function(T){if(Array.isArray(T)){var j=[];T.forEach(function(D){j=j.concat(this.getFoldsInRange(D))},this)}else var j=this.getFoldsInRange(T);return j},this.getAllFolds=function(){for(var T=[],j=this.$foldData,D=0;D<j.length;D++)for(var N=0;N<j[D].folds.length;N++)T.push(j[D].folds[N]);return T},this.getFoldStringAt=function(T,j,D,N){if(N=N||this.getFoldLine(T),!N)return null;for(var F={end:{column:0}},B,U,J=0;J<N.folds.length;J++){U=N.folds[J];var $=U.range.compareEnd(T,j);if($==-1){B=this.getLine(U.start.row).substring(F.end.column,U.start.column);break}else if($===0)return null;F=U}return B||(B=this.getLine(U.start.row).substring(F.end.column)),D==-1?B.substring(0,j-F.end.column):D==1?B.substring(j-F.end.column):B},this.getFoldLine=function(T,j){var D=this.$foldData,N=0;for(j&&(N=D.indexOf(j)),N==-1&&(N=0),N;N<D.length;N++){var F=D[N];if(F.start.row<=T&&F.end.row>=T)return F;if(F.end.row>T)return null}return null},this.getNextFoldLine=function(T,j){var D=this.$foldData,N=0;for(j&&(N=D.indexOf(j)),N==-1&&(N=0),N;N<D.length;N++){var F=D[N];if(F.end.row>=T)return F}return null},this.getFoldedRowCount=function(T,j){for(var D=this.$foldData,N=j-T+1,F=0;F<D.length;F++){var B=D[F],U=B.end.row,J=B.start.row;if(U>=j){J<j&&(J>=T?N-=j-J:N=0);break}else U>=T&&(J>=T?N-=U-J:N-=U-T+1)}return N},this.$addFoldLine=function(T){return this.$foldData.push(T),this.$foldData.sort(function(j,D){return j.start.row-D.start.row}),T},this.addFold=function(T,j){var D=this.$foldData,N=!1,F;T instanceof S?F=T:(F=new S(j,T),F.collapseChildren=j.collapseChildren),this.$clipRangeToDocument(F.range);var B=F.start.row,U=F.start.column,J=F.end.row,$=F.end.column,X=this.getFoldAt(B,U,1),ee=this.getFoldAt(J,$,-1);if(X&&ee==X)return X.addSubFold(F);X&&!X.range.isStart(B,U)&&this.removeFold(X),ee&&!ee.range.isEnd(J,$)&&this.removeFold(ee);var ie=this.getFoldsInRange(F.range);ie.length>0&&(this.removeFolds(ie),F.collapseChildren||ie.forEach(function(ne){F.addSubFold(ne)}));for(var G=0;G<D.length;G++){var Q=D[G];if(J==Q.start.row){Q.addFold(F),N=!0;break}else if(B==Q.end.row){if(Q.addFold(F),N=!0,!F.sameRow){var W=D[G+1];if(W&&W.start.row==J){Q.merge(W);break}}break}else if(J<=Q.start.row)break}return N||(Q=this.$addFoldLine(new A(this.$foldData,F))),this.$useWrapMode?this.$updateWrapData(Q.start.row,Q.start.row):this.$updateRowLengthCache(Q.start.row,Q.start.row),this.$modified=!0,this._signal("changeFold",{data:F,action:"add"}),F},this.addFolds=function(T){T.forEach(function(j){this.addFold(j)},this)},this.removeFold=function(T){var j=T.foldLine,D=j.start.row,N=j.end.row,F=this.$foldData,B=j.folds;if(B.length==1)F.splice(F.indexOf(j),1);else if(j.range.isEnd(T.end.row,T.end.column))B.pop(),j.end.row=B[B.length-1].end.row,j.end.column=B[B.length-1].end.column;else if(j.range.isStart(T.start.row,T.start.column))B.shift(),j.start.row=B[0].start.row,j.start.column=B[0].start.column;else if(T.sameRow)B.splice(B.indexOf(T),1);else{var U=j.split(T.start.row,T.start.column);B=U.folds,B.shift(),U.start.row=B[0].start.row,U.start.column=B[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(D,N):this.$updateRowLengthCache(D,N)),this.$modified=!0,this._signal("changeFold",{data:T,action:"remove"})},this.removeFolds=function(T){for(var j=[],D=0;D<T.length;D++)j.push(T[D]);j.forEach(function(N){this.removeFold(N)},this),this.$modified=!0},this.expandFold=function(T){this.removeFold(T),T.subFolds.forEach(function(j){T.restoreRange(j),this.addFold(j)},this),T.collapseChildren>0&&this.foldAll(T.start.row+1,T.end.row,T.collapseChildren-1),T.subFolds=[]},this.expandFolds=function(T){T.forEach(function(j){this.expandFold(j)},this)},this.unfold=function(T,j){var D,N;if(T==null)D=new k(0,0,this.getLength(),0),j==null&&(j=!0);else if(typeof T=="number")D=new k(T,0,T,this.getLine(T).length);else if("row"in T)D=k.fromPoints(T,T);else{if(Array.isArray(T))return N=[],T.forEach(function(B){N=N.concat(this.unfold(B))},this),N;D=T}N=this.getFoldsInRangeList(D);for(var F=N;N.length==1&&k.comparePoints(N[0].start,D.start)<0&&k.comparePoints(N[0].end,D.end)>0;)this.expandFolds(N),N=this.getFoldsInRangeList(D);if(j!=!1?this.removeFolds(N):this.expandFolds(N),F.length)return F},this.isRowFolded=function(T,j){return!!this.getFoldLine(T,j)},this.getRowFoldEnd=function(T,j){var D=this.getFoldLine(T,j);return D?D.end.row:T},this.getRowFoldStart=function(T,j){var D=this.getFoldLine(T,j);return D?D.start.row:T},this.getFoldDisplayLine=function(T,j,D,N,F){N==null&&(N=T.start.row),F==null&&(F=0),j==null&&(j=T.end.row),D==null&&(D=this.getLine(j).length);var B=this.doc,U="";return T.walk(function(J,$,X,ee){if(!($<N)){if($==N){if(X<F)return;ee=Math.max(F,ee)}J!=null?U+=J:U+=B.getLine($).substring(ee,X)}},j,D),U},this.getDisplayLine=function(T,j,D,N){var F=this.getFoldLine(T);if(F)return this.getFoldDisplayLine(F,T,j,D,N);var B;return B=this.doc.getLine(T),B.substring(N||0,j||B.length)},this.$cloneFoldData=function(){var T=[];return T=this.$foldData.map(function(j){var D=j.folds.map(function(N){return N.clone()});return new A(T,D)}),T},this.toggleFold=function(T){var j=this.selection,D=j.getRange(),N,F;if(D.isEmpty()){var B=D.start;if(N=this.getFoldAt(B.row,B.column),N){this.expandFold(N);return}else(F=this.findMatchingBracket(B))?D.comparePoint(F)==1?D.end=F:(D.start=F,D.start.column++,D.end.column--):(F=this.findMatchingBracket({row:B.row,column:B.column+1}))?(D.comparePoint(F)==1?D.end=F:D.start=F,D.start.column++):D=this.getCommentFoldRange(B.row,B.column)||D}else{var U=this.getFoldsInRange(D);if(T&&U.length){this.expandFolds(U);return}else U.length==1&&(N=U[0])}if(N||(N=this.getFoldAt(D.start.row,D.start.column)),N&&N.range.toString()==D.toString()){this.expandFold(N);return}var J="...";if(!D.isMultiLine()){if(J=this.getTextRange(D),J.length<4)return;J=J.trim().substring(0,2)+".."}this.addFold(J,D)},this.getCommentFoldRange=function(T,j,D){var N=new y(this,T,j),F=N.getCurrentToken(),B=F&&F.type;if(F&&/^comment|string/.test(B)){B=B.match(/comment|string/)[0],B=="comment"&&(B+="|doc-start|\\.doc");var U=new RegExp(B),J=new k;if(D!=1){do F=N.stepBackward();while(F&&U.test(F.type)&&!/^comment.end/.test(F.type));F=N.stepForward()}if(J.start.row=N.getCurrentTokenRow(),J.start.column=N.getCurrentTokenColumn()+(/^comment.start/.test(F.type)?F.value.length:2),N=new y(this,T,j),D!=-1){var $=-1;do if(F=N.stepForward(),$==-1){var X=this.getState(N.$row);U.test(X)||($=N.$row)}else if(N.$row>$)break;while(F&&U.test(F.type)&&!/^comment.start/.test(F.type));F=N.stepBackward()}else F=N.getCurrentToken();return J.end.row=N.getCurrentTokenRow(),J.end.column=N.getCurrentTokenColumn(),/^comment.end/.test(F.type)||(J.end.column+=F.value.length-2),J}},this.foldAll=function(T,j,D,N){D==null&&(D=1e5);var F=this.foldWidgets;if(!!F){j=j||this.getLength(),T=T||0;for(var B=T;B<j;B++)if(F[B]==null&&(F[B]=this.getFoldWidget(B)),F[B]=="start"&&!(N&&!N(B))){var U=this.getFoldWidgetRange(B);U&&U.isMultiLine()&&U.end.row<=j&&U.start.row>=T&&(B=U.end.row,U.collapseChildren=D,this.addFold("...",U))}}},this.foldToLevel=function(T){for(this.foldAll();T-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var T=this;this.foldAll(null,null,null,function(j){for(var D=T.getTokens(j),N=0;N<D.length;N++){var F=D[N];if(!(F.type=="text"&&/^\s+$/.test(F.value)))return!!/comment/.test(F.type)}})},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(T){if(!this.$foldStyles[T])throw new Error("invalid fold style: "+T+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=T){this.$foldStyle=T,T=="manual"&&this.unfold();var j=this.$foldMode;this.$setFolding(null),this.$setFolding(j)}},this.$setFolding=function(T){if(this.$foldMode!=T){if(this.$foldMode=T,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),!T||this.$foldStyle=="manual"){this.foldWidgets=null;return}this.foldWidgets=[],this.getFoldWidget=T.getFoldWidget.bind(T,this,this.$foldStyle),this.getFoldWidgetRange=T.getFoldWidgetRange.bind(T,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)}},this.getParentFoldRangeData=function(T,j){var D=this.foldWidgets;if(!D||j&&D[T])return{};for(var N=T-1,F;N>=0;){var B=D[N];if(B==null&&(B=D[N]=this.getFoldWidget(N)),B=="start"){var U=this.getFoldWidgetRange(N);if(F||(F=U),U&&U.end.row>=T)break}N--}return{range:N!==-1&&U,firstRange:F}},this.onFoldWidgetClick=function(T,j){j instanceof w&&(j=j.domEvent);var D={children:j.shiftKey,all:j.ctrlKey||j.metaKey,siblings:j.altKey},N=this.$toggleFoldWidget(T,D);if(!N){var F=j.target||j.srcElement;F&&/ace_fold-widget/.test(F.className)&&(F.className+=" ace_invalid")}},this.$toggleFoldWidget=function(T,j){if(!!this.getFoldWidget){var D=this.getFoldWidget(T),N=this.getLine(T),F=D==="end"?-1:1,B=this.getFoldAt(T,F===-1?0:N.length,F);if(B)return j.children||j.all?this.removeFold(B):this.expandFold(B),B;var U=this.getFoldWidgetRange(T,!0);if(U&&!U.isMultiLine()&&(B=this.getFoldAt(U.start.row,U.start.column,1),B&&U.isEqual(B.range)))return this.removeFold(B),B;if(j.siblings){var J=this.getParentFoldRangeData(T);if(J.range)var $=J.range.start.row+1,X=J.range.end.row;this.foldAll($,X,j.all?1e4:0)}else j.children?(X=U?U.end.row:this.getLength(),this.foldAll(T+1,X,j.all?1e4:0)):U&&(j.all&&(U.collapseChildren=1e4),this.addFold("...",U));return U}},this.toggleFoldWidget=function(T){var j=this.selection.getCursor().row;j=this.getRowFoldStart(j);var D=this.$toggleFoldWidget(j,{});if(!D){var N=this.getParentFoldRangeData(j,!0);if(D=N.range||N.firstRange,D){j=D.start.row;var F=this.getFoldAt(j,this.getLine(j).length,1);F?this.removeFold(F):this.addFold("...",D)}}},this.updateFoldWidgets=function(T){var j=T.start.row,D=T.end.row-j;if(D===0)this.foldWidgets[j]=null;else if(T.action=="remove")this.foldWidgets.splice(j,D+1,null);else{var N=Array(D+1);N.unshift(j,1),this.foldWidgets.splice.apply(this.foldWidgets,N)}},this.tokenizerUpdateFoldWidgets=function(T){var j=T.data;j.first!=j.last&&this.foldWidgets.length>j.first&&this.foldWidgets.splice(j.first,this.foldWidgets.length)}}O.Folding=x}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(m,O,C){"use strict";var k=m("../token_iterator").TokenIterator,A=m("../range").Range;function S(){this.findMatchingBracket=function(y,w){if(y.column==0)return null;var x=w||this.getLine(y.row).charAt(y.column-1);if(x=="")return null;var T=x.match(/([\(\[\{])|([\)\]\}])/);return T?T[1]?this.$findClosingBracket(T[1],y):this.$findOpeningBracket(T[2],y):null},this.getBracketRange=function(y){var w=this.getLine(y.row),x=!0,T,j=w.charAt(y.column-1),D=j&&j.match(/([\(\[\{])|([\)\]\}])/);if(D||(j=w.charAt(y.column),y={row:y.row,column:y.column+1},D=j&&j.match(/([\(\[\{])|([\)\]\}])/),x=!1),!D)return null;if(D[1]){var N=this.$findClosingBracket(D[1],y);if(!N)return null;T=A.fromPoints(y,N),x||(T.end.column++,T.start.column--),T.cursor=T.end}else{var N=this.$findOpeningBracket(D[2],y);if(!N)return null;T=A.fromPoints(N,y),x||(T.start.column++,T.end.column--),T.cursor=T.start}return T},this.getMatchingBracketRanges=function(y,w){var x=this.getLine(y.row),T=/([\(\[\{])|([\)\]\}])/,j=!w&&x.charAt(y.column-1),D=j&&j.match(T);if(D||(j=(w===void 0||w)&&x.charAt(y.column),y={row:y.row,column:y.column+1},D=j&&j.match(T)),!D)return null;var N=new A(y.row,y.column-1,y.row,y.column),F=D[1]?this.$findClosingBracket(D[1],y):this.$findOpeningBracket(D[2],y);if(!F)return[N];var B=new A(F.row,F.column,F.row,F.column+1);return[N,B]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(y,w,x){var T=this.$brackets[y],j=1,D=new k(this,w.row,w.column),N=D.getCurrentToken();if(N||(N=D.stepForward()),!!N){x||(x=new RegExp("(\\.?"+N.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var F=w.column-D.getCurrentTokenColumn()-2,B=N.value;;){for(;F>=0;){var U=B.charAt(F);if(U==T){if(j-=1,j==0)return{row:D.getCurrentTokenRow(),column:F+D.getCurrentTokenColumn()}}else U==y&&(j+=1);F-=1}do N=D.stepBackward();while(N&&!x.test(N.type));if(N==null)break;B=N.value,F=B.length-1}return null}},this.$findClosingBracket=function(y,w,x){var T=this.$brackets[y],j=1,D=new k(this,w.row,w.column),N=D.getCurrentToken();if(N||(N=D.stepForward()),!!N){x||(x=new RegExp("(\\.?"+N.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var F=w.column-D.getCurrentTokenColumn();;){for(var B=N.value,U=B.length;F<U;){var J=B.charAt(F);if(J==T){if(j-=1,j==0)return{row:D.getCurrentTokenRow(),column:F+D.getCurrentTokenColumn()}}else J==y&&(j+=1);F+=1}do N=D.stepForward();while(N&&!x.test(N.type));if(N==null)break;F=0}return null}},this.getMatchingTags=function(y){var w=new k(this,y.row,y.column),x=this.$findTagName(w);if(!!x){var T=w.stepBackward();return T.value==="<"?this.$findClosingTag(w,x):this.$findOpeningTag(w,x)}},this.$findTagName=function(y){var w=y.getCurrentToken(),x=!1,T=!1;if(w&&w.type.indexOf("tag-name")===-1)do T?w=y.stepBackward():w=y.stepForward(),w&&(w.value==="/>"?T=!0:w.type.indexOf("tag-name")!==-1&&(x=!0));while(w&&!x);return w},this.$findClosingTag=function(y,w){var x,T=w.value,j=w.value,D=0,N=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+1);w=y.stepForward();var F=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+w.value.length),B=!1;do if(x=w,w=y.stepForward(),w){if(w.value===">"&&!B){var U=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+1);B=!0}if(w.type.indexOf("tag-name")!==-1){if(T=w.value,j===T){if(x.value==="<")D++;else if(x.value==="</"&&(D--,D<0)){y.stepBackward();var J=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+2);w=y.stepForward();var $=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+w.value.length);if(w=y.stepForward(),w&&w.value===">")var X=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+1);else return}}}else if(j===T&&w.value==="/>"&&(D--,D<0))var J=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+2),$=J,X=$,U=new A(F.end.row,F.end.column,F.end.row,F.end.column+1)}while(w&&D>=0);if(N&&U&&J&&X&&F&&$)return{openTag:new A(N.start.row,N.start.column,U.end.row,U.end.column),closeTag:new A(J.start.row,J.start.column,X.end.row,X.end.column),openTagName:F,closeTagName:$}},this.$findOpeningTag=function(y,w){var x=y.getCurrentToken(),T=w.value,j=0,D=y.getCurrentTokenRow(),N=y.getCurrentTokenColumn(),F=N+2,B=new A(D,N,D,F);y.stepForward();var U=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+w.value.length);if(w=y.stepForward(),!(!w||w.value!==">")){var J=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+1);y.stepBackward(),y.stepBackward();do if(w=x,D=y.getCurrentTokenRow(),N=y.getCurrentTokenColumn(),F=N+w.value.length,x=y.stepBackward(),w){if(w.type.indexOf("tag-name")!==-1){if(T===w.value)if(x.value==="<"){if(j++,j>0){var $=new A(D,N,D,F),X=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+1);do w=y.stepForward();while(w&&w.value!==">");var ee=new A(y.getCurrentTokenRow(),y.getCurrentTokenColumn(),y.getCurrentTokenRow(),y.getCurrentTokenColumn()+1)}}else x.value==="</"&&j--}else if(w.value==="/>"){for(var ie=0,G=x;G;){if(G.type.indexOf("tag-name")!==-1&&G.value===T){j--;break}else if(G.value==="<")break;G=y.stepBackward(),ie++}for(var Q=0;Q<ie;Q++)y.stepForward()}}while(x&&j<=0);if(X&&ee&&B&&J&&$&&U)return{openTag:new A(X.start.row,X.start.column,ee.end.row,ee.end.column),closeTag:new A(B.start.row,B.start.column,J.end.row,J.end.column),openTagName:$,closeTagName:U}}}}O.BracketMatch=S}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./lib/lang"),S=m("./bidihandler").BidiHandler,y=m("./config"),w=m("./lib/event_emitter").EventEmitter,x=m("./selection").Selection,T=m("./mode/text").Mode,j=m("./range").Range,D=m("./document").Document,N=m("./background_tokenizer").BackgroundTokenizer,F=m("./search_highlight").SearchHighlight,B=function(){function ne(te,_e){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.id="session"+ ++ne.$uid,this.$foldData.toString=function(){return this.join(`
`)},this.bgTokenizer=new N(new T().getTokenizer(),this);var he=this;this.bgTokenizer.on("update",function(oe){he._signal("tokenizerUpdate",oe)}),this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),(typeof te!="object"||!te.getLine)&&(te=new D(te)),this.setDocument(te),this.selection=new x(this),this.$bidiHandler=new S(this),y.resetOptions(this),this.setMode(_e),y._signal("session",this),this.destroyed=!1}return ne.prototype.setDocument=function(te){this.doc&&this.doc.off("change",this.$onChange),this.doc=te,te.on("change",this.$onChange,!0),this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},ne.prototype.getDocument=function(){return this.doc},ne.prototype.$resetRowCache=function(te){if(!te){this.$docRowCache=[],this.$screenRowCache=[];return}var _e=this.$docRowCache.length,he=this.$getRowCacheIndex(this.$docRowCache,te)+1;_e>he&&(this.$docRowCache.splice(he,_e),this.$screenRowCache.splice(he,_e))},ne.prototype.$getRowCacheIndex=function(te,_e){for(var he=0,oe=te.length-1;he<=oe;){var ge=he+oe>>1,me=te[ge];if(_e>me)he=ge+1;else if(_e<me)oe=ge-1;else return ge}return he-1},ne.prototype.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.destroyed||this.bgTokenizer.start(0)},ne.prototype.onChangeFold=function(te){var _e=te.data;this.$resetRowCache(_e.start.row)},ne.prototype.onChange=function(te){this.$modified=!0,this.$bidiHandler.onChange(te),this.$resetRowCache(te.start.row);var _e=this.$updateInternalDataOnChange(te);!this.$fromUndo&&this.$undoManager&&(_e&&_e.length&&(this.$undoManager.add({action:"removeFolds",folds:_e},this.mergeUndoDeltas),this.mergeUndoDeltas=!0),this.$undoManager.add(te,this.mergeUndoDeltas),this.mergeUndoDeltas=!0,this.$informUndoManager.schedule()),this.bgTokenizer.$updateOnChange(te),this._signal("change",te)},ne.prototype.setValue=function(te){this.doc.setValue(te),this.selection.moveTo(0,0),this.$resetRowCache(0),this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},ne.prototype.toString=function(){return this.doc.getValue()},ne.prototype.getSelection=function(){return this.selection},ne.prototype.getState=function(te){return this.bgTokenizer.getState(te)},ne.prototype.getTokens=function(te){return this.bgTokenizer.getTokens(te)},ne.prototype.getTokenAt=function(te,_e){var he=this.bgTokenizer.getTokens(te),oe,ge=0;if(_e==null){var me=he.length-1;ge=this.getLine(te).length}else for(var me=0;me<he.length&&(ge+=he[me].value.length,!(ge>=_e));me++);return oe=he[me],oe?(oe.index=me,oe.start=ge-oe.value.length,oe):null},ne.prototype.setUndoManager=function(te){if(this.$undoManager=te,this.$informUndoManager&&this.$informUndoManager.cancel(),te){var _e=this;te.addSession(this),this.$syncInformUndoManager=function(){_e.$informUndoManager.cancel(),_e.mergeUndoDeltas=!1},this.$informUndoManager=A.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},ne.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},ne.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},ne.prototype.getTabString=function(){return this.getUseSoftTabs()?A.stringRepeat(" ",this.getTabSize()):" "},ne.prototype.setUseSoftTabs=function(te){this.setOption("useSoftTabs",te)},ne.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},ne.prototype.setTabSize=function(te){this.setOption("tabSize",te)},ne.prototype.getTabSize=function(){return this.$tabSize},ne.prototype.isTabStop=function(te){return this.$useSoftTabs&&te.column%this.$tabSize==0},ne.prototype.setNavigateWithinSoftTabs=function(te){this.setOption("navigateWithinSoftTabs",te)},ne.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},ne.prototype.setOverwrite=function(te){this.setOption("overwrite",te)},ne.prototype.getOverwrite=function(){return this.$overwrite},ne.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},ne.prototype.addGutterDecoration=function(te,_e){this.$decorations[te]||(this.$decorations[te]=""),this.$decorations[te]+=" "+_e,this._signal("changeBreakpoint",{})},ne.prototype.removeGutterDecoration=function(te,_e){this.$decorations[te]=(this.$decorations[te]||"").replace(" "+_e,""),this._signal("changeBreakpoint",{})},ne.prototype.getBreakpoints=function(){return this.$breakpoints},ne.prototype.setBreakpoints=function(te){this.$breakpoints=[];for(var _e=0;_e<te.length;_e++)this.$breakpoints[te[_e]]="ace_breakpoint";this._signal("changeBreakpoint",{})},ne.prototype.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},ne.prototype.setBreakpoint=function(te,_e){_e===void 0&&(_e="ace_breakpoint"),_e?this.$breakpoints[te]=_e:delete this.$breakpoints[te],this._signal("changeBreakpoint",{})},ne.prototype.clearBreakpoint=function(te){delete this.$breakpoints[te],this._signal("changeBreakpoint",{})},ne.prototype.addMarker=function(te,_e,he,oe){var ge=this.$markerId++,me={range:te,type:he||"line",renderer:typeof he=="function"?he:null,clazz:_e,inFront:!!oe,id:ge};return oe?(this.$frontMarkers[ge]=me,this._signal("changeFrontMarker")):(this.$backMarkers[ge]=me,this._signal("changeBackMarker")),ge},ne.prototype.addDynamicMarker=function(te,_e){if(!!te.update){var he=this.$markerId++;return te.id=he,te.inFront=!!_e,_e?(this.$frontMarkers[he]=te,this._signal("changeFrontMarker")):(this.$backMarkers[he]=te,this._signal("changeBackMarker")),te}},ne.prototype.removeMarker=function(te){var _e=this.$frontMarkers[te]||this.$backMarkers[te];if(!!_e){var he=_e.inFront?this.$frontMarkers:this.$backMarkers;delete he[te],this._signal(_e.inFront?"changeFrontMarker":"changeBackMarker")}},ne.prototype.getMarkers=function(te){return te?this.$frontMarkers:this.$backMarkers},ne.prototype.highlight=function(te){if(!this.$searchHighlight){var _e=new F(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(_e)}this.$searchHighlight.setRegexp(te)},ne.prototype.highlightLines=function(te,_e,he,oe){typeof _e!="number"&&(he=_e,_e=te),he||(he="ace_step");var ge=new j(te,0,_e,Infinity);return ge.id=this.addMarker(ge,he,"fullLine",oe),ge},ne.prototype.setAnnotations=function(te){this.$annotations=te,this._signal("changeAnnotation",{})},ne.prototype.getAnnotations=function(){return this.$annotations||[]},ne.prototype.clearAnnotations=function(){this.setAnnotations([])},ne.prototype.$detectNewLine=function(te){var _e=te.match(/^.*?(\r?\n)/m);_e?this.$autoNewLine=_e[1]:this.$autoNewLine=`
`},ne.prototype.getWordRange=function(te,_e){var he=this.getLine(te),oe=!1;if(_e>0&&(oe=!!he.charAt(_e-1).match(this.tokenRe)),oe||(oe=!!he.charAt(_e).match(this.tokenRe)),oe)var ge=this.tokenRe;else if(/^\s+$/.test(he.slice(_e-1,_e+1)))var ge=/\s/;else var ge=this.nonTokenRe;var me=_e;if(me>0){do me--;while(me>=0&&he.charAt(me).match(ge));me++}for(var Z=_e;Z<he.length&&he.charAt(Z).match(ge);)Z++;return new j(te,me,te,Z)},ne.prototype.getAWordRange=function(te,_e){for(var he=this.getWordRange(te,_e),oe=this.getLine(he.end.row);oe.charAt(he.end.column).match(/[ \t]/);)he.end.column+=1;return he},ne.prototype.setNewLineMode=function(te){this.doc.setNewLineMode(te)},ne.prototype.getNewLineMode=function(){return this.doc.getNewLineMode()},ne.prototype.setUseWorker=function(te){this.setOption("useWorker",te)},ne.prototype.getUseWorker=function(){return this.$useWorker},ne.prototype.onReloadTokenizer=function(te){var _e=te.data;this.bgTokenizer.start(_e.first),this._signal("tokenizerUpdate",te)},ne.prototype.setMode=function(te,_e){if(te&&typeof te=="object"){if(te.getTokenizer)return this.$onChangeMode(te);var he=te,oe=he.path}else oe=te||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new T),this.$modes[oe]&&!he){this.$onChangeMode(this.$modes[oe]),_e&&_e();return}this.$modeId=oe,y.loadModule(["mode",oe],function(ge){if(this.$modeId!==oe)return _e&&_e();this.$modes[oe]&&!he?this.$onChangeMode(this.$modes[oe]):ge&&ge.Mode&&(ge=new ge.Mode(he),he||(this.$modes[oe]=ge,ge.$id=oe),this.$onChangeMode(ge)),_e&&_e()}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},ne.prototype.$onChangeMode=function(te,_e){if(_e||(this.$modeId=te.$id),this.$mode!==te){var he=this.$mode;this.$mode=te,this.$stopWorker(),this.$useWorker&&this.$startWorker();var oe=te.getTokenizer();if(oe.on!==void 0){var ge=this.onReloadTokenizer.bind(this);oe.on("update",ge)}this.bgTokenizer.setTokenizer(oe),this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=te.tokenRe,this.nonTokenRe=te.nonTokenRe,_e||(te.attachToSession&&te.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(te.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode",{oldMode:he,mode:te}))}},ne.prototype.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},ne.prototype.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(te){y.warn("Could not load worker",te),this.$worker=null}},ne.prototype.getMode=function(){return this.$mode},ne.prototype.setScrollTop=function(te){this.$scrollTop===te||isNaN(te)||(this.$scrollTop=te,this._signal("changeScrollTop",te))},ne.prototype.getScrollTop=function(){return this.$scrollTop},ne.prototype.setScrollLeft=function(te){this.$scrollLeft===te||isNaN(te)||(this.$scrollLeft=te,this._signal("changeScrollLeft",te))},ne.prototype.getScrollLeft=function(){return this.$scrollLeft},ne.prototype.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},ne.prototype.getLineWidgetMaxWidth=function(){if(this.lineWidgetsWidth!=null)return this.lineWidgetsWidth;var te=0;return this.lineWidgets.forEach(function(_e){_e&&_e.screenWidth>te&&(te=_e.screenWidth)}),this.lineWidgetWidth=te},ne.prototype.$computeWidth=function(te){if(this.$modified||te){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var _e=this.doc.getAllLines(),he=this.$rowLengthCache,oe=0,ge=0,me=this.$foldData[ge],Z=me?me.start.row:Infinity,xe=_e.length,Ee=0;Ee<xe;Ee++){if(Ee>Z){if(Ee=me.end.row+1,Ee>=xe)break;me=this.$foldData[ge++],Z=me?me.start.row:Infinity}he[Ee]==null&&(he[Ee]=this.$getStringScreenWidth(_e[Ee])[0]),he[Ee]>oe&&(oe=he[Ee])}this.screenWidth=oe}},ne.prototype.getLine=function(te){return this.doc.getLine(te)},ne.prototype.getLines=function(te,_e){return this.doc.getLines(te,_e)},ne.prototype.getLength=function(){return this.doc.getLength()},ne.prototype.getTextRange=function(te){return this.doc.getTextRange(te||this.selection.getRange())},ne.prototype.insert=function(te,_e){return this.doc.insert(te,_e)},ne.prototype.remove=function(te){return this.doc.remove(te)},ne.prototype.removeFullLines=function(te,_e){return this.doc.removeFullLines(te,_e)},ne.prototype.undoChanges=function(te,_e){if(!!te.length){this.$fromUndo=!0;for(var he=te.length-1;he!=-1;he--){var oe=te[he];oe.action=="insert"||oe.action=="remove"?this.doc.revertDelta(oe):oe.folds&&this.addFolds(oe.folds)}!_e&&this.$undoSelect&&(te.selectionBefore?this.selection.fromJSON(te.selectionBefore):this.selection.setRange(this.$getUndoSelection(te,!0))),this.$fromUndo=!1}},ne.prototype.redoChanges=function(te,_e){if(!!te.length){this.$fromUndo=!0;for(var he=0;he<te.length;he++){var oe=te[he];(oe.action=="insert"||oe.action=="remove")&&this.doc.$safeApplyDelta(oe)}!_e&&this.$undoSelect&&(te.selectionAfter?this.selection.fromJSON(te.selectionAfter):this.selection.setRange(this.$getUndoSelection(te,!1))),this.$fromUndo=!1}},ne.prototype.setUndoSelect=function(te){this.$undoSelect=te},ne.prototype.$getUndoSelection=function(te,_e){function he(xe){return _e?xe.action!=="insert":xe.action==="insert"}for(var oe,ge,me=0;me<te.length;me++){var Z=te[me];if(!!Z.start){if(!oe){he(Z)?oe=j.fromPoints(Z.start,Z.end):oe=j.fromPoints(Z.start,Z.start);continue}he(Z)?(ge=Z.start,oe.compare(ge.row,ge.column)==-1&&oe.setStart(ge),ge=Z.end,oe.compare(ge.row,ge.column)==1&&oe.setEnd(ge)):(ge=Z.start,oe.compare(ge.row,ge.column)==-1&&(oe=j.fromPoints(Z.start,Z.start)))}}return oe},ne.prototype.replace=function(te,_e){return this.doc.replace(te,_e)},ne.prototype.moveText=function(te,_e,he){var oe=this.getTextRange(te),ge=this.getFoldsInRange(te),me=j.fromPoints(_e,_e);if(!he){this.remove(te);var Z=te.start.row-te.end.row,xe=Z?-te.end.column:te.start.column-te.end.column;xe&&(me.start.row==te.end.row&&me.start.column>te.end.column&&(me.start.column+=xe),me.end.row==te.end.row&&me.end.column>te.end.column&&(me.end.column+=xe)),Z&&me.start.row>=te.end.row&&(me.start.row+=Z,me.end.row+=Z)}if(me.end=this.insert(me.start,oe),ge.length){var Ee=te.start,Le=me.start,Z=Le.row-Ee.row,xe=Le.column-Ee.column;this.addFolds(ge.map(function(pe){return pe=pe.clone(),pe.start.row==Ee.row&&(pe.start.column+=xe),pe.end.row==Ee.row&&(pe.end.column+=xe),pe.start.row+=Z,pe.end.row+=Z,pe}))}return me},ne.prototype.indentRows=function(te,_e,he){he=he.replace(/\t/g,this.getTabString());for(var oe=te;oe<=_e;oe++)this.doc.insertInLine({row:oe,column:0},he)},ne.prototype.outdentRows=function(te){for(var _e=te.collapseRows(),he=new j(0,0,0,0),oe=this.getTabSize(),ge=_e.start.row;ge<=_e.end.row;++ge){var me=this.getLine(ge);he.start.row=ge,he.end.row=ge;for(var Z=0;Z<oe&&me.charAt(Z)==" ";++Z);Z<oe&&me.charAt(Z)==" "?(he.start.column=Z,he.end.column=Z+1):(he.start.column=0,he.end.column=Z),this.remove(he)}},ne.prototype.$moveLines=function(te,_e,he){if(te=this.getRowFoldStart(te),_e=this.getRowFoldEnd(_e),he<0){var oe=this.getRowFoldStart(te+he);if(oe<0)return 0;var ge=oe-te}else if(he>0){var oe=this.getRowFoldEnd(_e+he);if(oe>this.doc.getLength()-1)return 0;var ge=oe-_e}else{te=this.$clipRowToDocument(te),_e=this.$clipRowToDocument(_e);var ge=_e-te+1}var me=new j(te,0,_e,Number.MAX_VALUE),Z=this.getFoldsInRange(me).map(function(Ee){return Ee=Ee.clone(),Ee.start.row+=ge,Ee.end.row+=ge,Ee}),xe=he==0?this.doc.getLines(te,_e):this.doc.removeFullLines(te,_e);return this.doc.insertFullLines(te+ge,xe),Z.length&&this.addFolds(Z),ge},ne.prototype.moveLinesUp=function(te,_e){return this.$moveLines(te,_e,-1)},ne.prototype.moveLinesDown=function(te,_e){return this.$moveLines(te,_e,1)},ne.prototype.duplicateLines=function(te,_e){return this.$moveLines(te,_e,0)},ne.prototype.$clipRowToDocument=function(te){return Math.max(0,Math.min(te,this.doc.getLength()-1))},ne.prototype.$clipColumnToRow=function(te,_e){return _e<0?0:Math.min(this.doc.getLine(te).length,_e)},ne.prototype.$clipPositionToDocument=function(te,_e){if(_e=Math.max(0,_e),te<0)te=0,_e=0;else{var he=this.doc.getLength();te>=he?(te=he-1,_e=this.doc.getLine(he-1).length):_e=Math.min(this.doc.getLine(te).length,_e)}return{row:te,column:_e}},ne.prototype.$clipRangeToDocument=function(te){te.start.row<0?(te.start.row=0,te.start.column=0):te.start.column=this.$clipColumnToRow(te.start.row,te.start.column);var _e=this.doc.getLength()-1;return te.end.row>_e?(te.end.row=_e,te.end.column=this.doc.getLine(_e).length):te.end.column=this.$clipColumnToRow(te.end.row,te.end.column),te},ne.prototype.setUseWrapMode=function(te){if(te!=this.$useWrapMode){if(this.$useWrapMode=te,this.$modified=!0,this.$resetRowCache(0),te){var _e=this.getLength();this.$wrapData=Array(_e),this.$updateWrapData(0,_e-1)}this._signal("changeWrapMode")}},ne.prototype.getUseWrapMode=function(){return this.$useWrapMode},ne.prototype.setWrapLimitRange=function(te,_e){(this.$wrapLimitRange.min!==te||this.$wrapLimitRange.max!==_e)&&(this.$wrapLimitRange={min:te,max:_e},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},ne.prototype.adjustWrapLimit=function(te,_e){var he=this.$wrapLimitRange;he.max<0&&(he={min:_e,max:_e});var oe=this.$constrainWrapLimit(te,he.min,he.max);return oe!=this.$wrapLimit&&oe>1?(this.$wrapLimit=oe,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},ne.prototype.$constrainWrapLimit=function(te,_e,he){return _e&&(te=Math.max(_e,te)),he&&(te=Math.min(he,te)),te},ne.prototype.getWrapLimit=function(){return this.$wrapLimit},ne.prototype.setWrapLimit=function(te){this.setWrapLimitRange(te,te)},ne.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},ne.prototype.$updateInternalDataOnChange=function(te){var _e=this.$useWrapMode,he=te.action,oe=te.start,ge=te.end,me=oe.row,Z=ge.row,xe=Z-me,Ee=null;if(this.$updating=!0,xe!=0)if(he==="remove"){this[_e?"$wrapData":"$rowLengthCache"].splice(me,xe);var Le=this.$foldData;Ee=this.getFoldsInRange(te),this.removeFolds(Ee);var we=this.getFoldLine(ge.row),fe=0;if(we){we.addRemoveChars(ge.row,ge.column,oe.column-ge.column),we.shiftRow(-xe);var pe=this.getFoldLine(me);pe&&pe!==we&&(pe.merge(we),we=pe),fe=Le.indexOf(we)+1}for(fe;fe<Le.length;fe++){var we=Le[fe];we.start.row>=ge.row&&we.shiftRow(-xe)}Z=me}else{var Ke=Array(xe);Ke.unshift(me,0);var Me=_e?this.$wrapData:this.$rowLengthCache;Me.splice.apply(Me,Ke);var Le=this.$foldData,we=this.getFoldLine(me),fe=0;if(we){var ze=we.range.compareInside(oe.row,oe.column);ze==0?(we=we.split(oe.row,oe.column),we&&(we.shiftRow(xe),we.addRemoveChars(Z,0,ge.column-oe.column))):ze==-1&&(we.addRemoveChars(me,0,ge.column-oe.column),we.shiftRow(xe)),fe=Le.indexOf(we)+1}for(fe;fe<Le.length;fe++){var we=Le[fe];we.start.row>=me&&we.shiftRow(xe)}}else{xe=Math.abs(te.start.column-te.end.column),he==="remove"&&(Ee=this.getFoldsInRange(te),this.removeFolds(Ee),xe=-xe);var we=this.getFoldLine(me);we&&we.addRemoveChars(me,oe.column,xe)}return _e&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,_e?this.$updateWrapData(me,Z):this.$updateRowLengthCache(me,Z),Ee},ne.prototype.$updateRowLengthCache=function(te,_e,he){this.$rowLengthCache[te]=null,this.$rowLengthCache[_e]=null},ne.prototype.$updateWrapData=function(te,_e){var he=this.doc.getAllLines(),oe=this.getTabSize(),ge=this.$wrapData,me=this.$wrapLimit,Z,xe,Ee=te;for(_e=Math.min(_e,he.length-1);Ee<=_e;)xe=this.getFoldLine(Ee,xe),xe?(Z=[],xe.walk(function(Le,we,fe,pe){var Ke;if(Le!=null){Ke=this.$getDisplayTokens(Le,Z.length),Ke[0]=$;for(var Me=1;Me<Ke.length;Me++)Ke[Me]=X}else Ke=this.$getDisplayTokens(he[we].substring(pe,fe),Z.length);Z=Z.concat(Ke)}.bind(this),xe.end.row,he[xe.end.row].length+1),ge[xe.start.row]=this.$computeWrapSplits(Z,me,oe),Ee=xe.end.row+1):(Z=this.$getDisplayTokens(he[Ee]),ge[Ee]=this.$computeWrapSplits(Z,me,oe),Ee++)},ne.prototype.$computeWrapSplits=function(te,_e,he){if(te.length==0)return[];var oe=[],ge=te.length,me=0,Z=0,xe=this.$wrapAsCode,Ee=this.$indentedSoftWrap,Le=_e<=Math.max(2*he,8)||Ee===!1?0:Math.floor(_e/2);function we(){var ze=0;if(Le===0)return ze;if(Ee)for(var Ue=0;Ue<te.length;Ue++){var He=te[Ue];if(He==ie)ze+=1;else if(He==G)ze+=he;else{if(He==Q)continue;break}}return xe&&Ee!==!1&&(ze+=he),Math.min(ze,Le)}function fe(ze){for(var Ue=ze-me,He=me;He<ze;He++){var Ne=te[He];(Ne===12||Ne===2)&&(Ue-=1)}oe.length||(pe=we(),oe.indent=pe),Z+=Ue,oe.push(Z),me=ze}for(var pe=0;ge-me>_e-pe;){var Ke=me+_e-pe;if(te[Ke-1]>=ie&&te[Ke]>=ie){fe(Ke);continue}if(te[Ke]==$||te[Ke]==X){for(Ke;Ke!=me-1&&te[Ke]!=$;Ke--);if(Ke>me){fe(Ke);continue}for(Ke=me+_e,Ke;Ke<te.length&&te[Ke]==X;Ke++);if(Ke==te.length)break;fe(Ke);continue}for(var Me=Math.max(Ke-(_e-(_e>>2)),me-1);Ke>Me&&te[Ke]<$;)Ke--;if(xe){for(;Ke>Me&&te[Ke]<$;)Ke--;for(;Ke>Me&&te[Ke]==ee;)Ke--}else for(;Ke>Me&&te[Ke]<ie;)Ke--;if(Ke>Me){fe(++Ke);continue}Ke=me+_e,te[Ke]==J&&Ke--,fe(Ke-pe)}return oe},ne.prototype.$getDisplayTokens=function(te,_e){var he=[],oe;_e=_e||0;for(var ge=0;ge<te.length;ge++){var me=te.charCodeAt(ge);if(me==9){oe=this.getScreenTabSize(he.length+_e),he.push(G);for(var Z=1;Z<oe;Z++)he.push(Q)}else me==32?he.push(ie):me>39&&me<48||me>57&&me<64?he.push(ee):me>=4352&&W(me)?he.push(U,J):he.push(U)}return he},ne.prototype.$getStringScreenWidth=function(te,_e,he){if(_e==0)return[0,0];_e==null&&(_e=Infinity),he=he||0;var oe,ge;for(ge=0;ge<te.length&&(oe=te.charCodeAt(ge),oe==9?he+=this.getScreenTabSize(he):oe>=4352&&W(oe)?he+=2:he+=1,!(he>_e));ge++);return[he,ge]},ne.prototype.getRowLength=function(te){var _e=1;return this.lineWidgets&&(_e+=this.lineWidgets[te]&&this.lineWidgets[te].rowCount||0),!this.$useWrapMode||!this.$wrapData[te]?_e:this.$wrapData[te].length+_e},ne.prototype.getRowLineCount=function(te){return!this.$useWrapMode||!this.$wrapData[te]?1:this.$wrapData[te].length+1},ne.prototype.getRowWrapIndent=function(te){if(this.$useWrapMode){var _e=this.screenToDocumentPosition(te,Number.MAX_VALUE),he=this.$wrapData[_e.row];return he.length&&he[0]<_e.column?he.indent:0}else return 0},ne.prototype.getScreenLastRowColumn=function(te){var _e=this.screenToDocumentPosition(te,Number.MAX_VALUE);return this.documentToScreenColumn(_e.row,_e.column)},ne.prototype.getDocumentLastRowColumn=function(te,_e){var he=this.documentToScreenRow(te,_e);return this.getScreenLastRowColumn(he)},ne.prototype.getDocumentLastRowColumnPosition=function(te,_e){var he=this.documentToScreenRow(te,_e);return this.screenToDocumentPosition(he,Number.MAX_VALUE/10)},ne.prototype.getRowSplitData=function(te){if(this.$useWrapMode)return this.$wrapData[te]},ne.prototype.getScreenTabSize=function(te){return this.$tabSize-(te%this.$tabSize|0)},ne.prototype.screenToDocumentRow=function(te,_e){return this.screenToDocumentPosition(te,_e).row},ne.prototype.screenToDocumentColumn=function(te,_e){return this.screenToDocumentPosition(te,_e).column},ne.prototype.screenToDocumentPosition=function(te,_e,he){if(te<0)return{row:0,column:0};var oe,ge=0,me=0,Z,xe=0,Ee=0,Le=this.$screenRowCache,we=this.$getRowCacheIndex(Le,te),fe=Le.length;if(fe&&we>=0)var xe=Le[we],ge=this.$docRowCache[we],pe=te>Le[fe-1];else var pe=!fe;for(var Ke=this.getLength()-1,Me=this.getNextFoldLine(ge),ze=Me?Me.start.row:Infinity;xe<=te&&(Ee=this.getRowLength(ge),!(xe+Ee>te||ge>=Ke));)xe+=Ee,ge++,ge>ze&&(ge=Me.end.row+1,Me=this.getNextFoldLine(ge,Me),ze=Me?Me.start.row:Infinity),pe&&(this.$docRowCache.push(ge),this.$screenRowCache.push(xe));if(Me&&Me.start.row<=ge)oe=this.getFoldDisplayLine(Me),ge=Me.start.row;else{if(xe+Ee<=te||ge>Ke)return{row:Ke,column:this.getLine(Ke).length};oe=this.getLine(ge),Me=null}var Ue=0,He=Math.floor(te-xe);if(this.$useWrapMode){var Ne=this.$wrapData[ge];Ne&&(Z=Ne[He],He>0&&Ne.length&&(Ue=Ne.indent,me=Ne[He-1]||Ne[Ne.length-1],oe=oe.substring(me)))}return he!==void 0&&this.$bidiHandler.isBidiRow(xe+He,ge,He)&&(_e=this.$bidiHandler.offsetToCol(he)),me+=this.$getStringScreenWidth(oe,_e-Ue)[1],this.$useWrapMode&&me>=Z&&(me=Z-1),Me?Me.idxToPosition(me):{row:ge,column:me}},ne.prototype.documentToScreenPosition=function(te,_e){if(typeof _e=="undefined")var he=this.$clipPositionToDocument(te.row,te.column);else he=this.$clipPositionToDocument(te,_e);te=he.row,_e=he.column;var oe=0,ge=null,me=null;me=this.getFoldAt(te,_e,1),me&&(te=me.start.row,_e=me.start.column);var Z,xe=0,Ee=this.$docRowCache,Le=this.$getRowCacheIndex(Ee,te),we=Ee.length;if(we&&Le>=0)var xe=Ee[Le],oe=this.$screenRowCache[Le],fe=te>Ee[we-1];else var fe=!we;for(var pe=this.getNextFoldLine(xe),Ke=pe?pe.start.row:Infinity;xe<te;){if(xe>=Ke){if(Z=pe.end.row+1,Z>te)break;pe=this.getNextFoldLine(Z,pe),Ke=pe?pe.start.row:Infinity}else Z=xe+1;oe+=this.getRowLength(xe),xe=Z,fe&&(this.$docRowCache.push(xe),this.$screenRowCache.push(oe))}var Me="";pe&&xe>=Ke?(Me=this.getFoldDisplayLine(pe,te,_e),ge=pe.start.row):(Me=this.getLine(te).substring(0,_e),ge=te);var ze=0;if(this.$useWrapMode){var Ue=this.$wrapData[ge];if(Ue){for(var He=0;Me.length>=Ue[He];)oe++,He++;Me=Me.substring(Ue[He-1]||0,Me.length),ze=He>0?Ue.indent:0}}return this.lineWidgets&&this.lineWidgets[xe]&&this.lineWidgets[xe].rowsAbove&&(oe+=this.lineWidgets[xe].rowsAbove),{row:oe,column:ze+this.$getStringScreenWidth(Me)[0]}},ne.prototype.documentToScreenColumn=function(te,_e){return this.documentToScreenPosition(te,_e).column},ne.prototype.documentToScreenRow=function(te,_e){return this.documentToScreenPosition(te,_e).row},ne.prototype.getScreenLength=function(){var te=0,_e=null;if(this.$useWrapMode)for(var ge=this.$wrapData.length,me=0,oe=0,_e=this.$foldData[oe++],Z=_e?_e.start.row:Infinity;me<ge;){var xe=this.$wrapData[me];te+=xe?xe.length+1:1,me++,me>Z&&(me=_e.end.row+1,_e=this.$foldData[oe++],Z=_e?_e.start.row:Infinity)}else{te=this.getLength();for(var he=this.$foldData,oe=0;oe<he.length;oe++)_e=he[oe],te-=_e.end.row-_e.start.row}return this.lineWidgets&&(te+=this.$getWidgetScreenLength()),te},ne.prototype.$setFontMetrics=function(te){!this.$enableVarChar||(this.$getStringScreenWidth=function(_e,he,oe){if(he===0)return[0,0];he||(he=Infinity),oe=oe||0;var ge,me;for(me=0;me<_e.length&&(ge=_e.charAt(me),ge===" "?oe+=this.getScreenTabSize(oe):oe+=te.getCharacterWidth(ge),!(oe>he));me++);return[oe,me]})},ne.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},ne}();B.$uid=0,B.prototype.$modes=y.$modes,B.prototype.getValue=B.prototype.toString,B.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},B.prototype.$overwrite=!1,B.prototype.$mode=null,B.prototype.$modeId=null,B.prototype.$scrollTop=0,B.prototype.$scrollLeft=0,B.prototype.$wrapLimit=80,B.prototype.$useWrapMode=!1,B.prototype.$wrapLimitRange={min:null,max:null},B.prototype.lineWidgets=null,B.prototype.isFullWidth=W,k.implement(B.prototype,w);var U=1,J=2,$=3,X=4,ee=9,ie=10,G=11,Q=12;function W(ne){return ne<4352?!1:ne>=4352&&ne<=4447||ne>=4515&&ne<=4519||ne>=4602&&ne<=4607||ne>=9001&&ne<=9002||ne>=11904&&ne<=11929||ne>=11931&&ne<=12019||ne>=12032&&ne<=12245||ne>=12272&&ne<=12283||ne>=12288&&ne<=12350||ne>=12353&&ne<=12438||ne>=12441&&ne<=12543||ne>=12549&&ne<=12589||ne>=12593&&ne<=12686||ne>=12688&&ne<=12730||ne>=12736&&ne<=12771||ne>=12784&&ne<=12830||ne>=12832&&ne<=12871||ne>=12880&&ne<=13054||ne>=13056&&ne<=19903||ne>=19968&&ne<=42124||ne>=42128&&ne<=42182||ne>=43360&&ne<=43388||ne>=44032&&ne<=55203||ne>=55216&&ne<=55238||ne>=55243&&ne<=55291||ne>=63744&&ne<=64255||ne>=65040&&ne<=65049||ne>=65072&&ne<=65106||ne>=65108&&ne<=65126||ne>=65128&&ne<=65131||ne>=65281&&ne<=65376||ne>=65504&&ne<=65510}m("./edit_session/folding").Folding.call(B.prototype),m("./edit_session/bracket_match").BracketMatch.call(B.prototype),y.defineOptions(B.prototype,"session",{wrap:{set:function(te){if(!te||te=="off"?te=!1:te=="free"?te=!0:te=="printMargin"?te=-1:typeof te=="string"&&(te=parseInt(te,10)||!1),this.$wrap!=te)if(this.$wrap=te,!te)this.setUseWrapMode(!1);else{var _e=typeof te=="number"?te:null;this.setWrapLimitRange(_e,_e),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(te){te=te=="auto"?this.$mode.type!="text":te!="text",te!=this.$wrapAsCode&&(this.$wrapAsCode=te,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(te){this.$useWorker=te,this.$stopWorker(),te&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(te){te=parseInt(te),te>0&&this.$tabSize!==te&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=te,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(te){this.setFoldStyle(te)},handlesSet:!0},overwrite:{set:function(te){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(te){this.doc.setNewLineMode(te)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(te){this.setMode(te)},get:function(){return this.$modeId},handlesSet:!0}}),O.EditSession=B}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(m,O,C){"use strict";var k=m("./lib/lang"),A=m("./lib/oop"),S=m("./range").Range,y=function(){function x(){this.$options={}}return x.prototype.set=function(T){return A.mixin(this.$options,T),this},x.prototype.getOptions=function(){return k.copyObject(this.$options)},x.prototype.setOptions=function(T){this.$options=T},x.prototype.find=function(T){var j=this.$options,D=this.$matchIterator(T,j);if(!D)return!1;var N=null;return D.forEach(function(F,B,U,J){return N=new S(F,B,U,J),B==J&&j.start&&j.start.start&&j.skipCurrent!=!1&&N.isEqual(j.start)?(N=null,!1):!0}),N},x.prototype.findAll=function(T){var j=this.$options;if(!j.needle)return[];this.$assembleRegExp(j);var D=j.range,N=D?T.getLines(D.start.row,D.end.row):T.doc.getAllLines(),F=[],B=j.re;if(j.$isMultiLine){var U=B.length,J=N.length-U,$;e:for(var X=B.offset||0;X<=J;X++){for(var ee=0;ee<U;ee++)if(N[X+ee].search(B[ee])==-1)continue e;var ie=N[X],G=N[X+U-1],Q=ie.length-ie.match(B[0])[0].length,W=G.match(B[U-1])[0].length;$&&$.end.row===X&&$.end.column>Q||(F.push($=new S(X,Q,X+U-1,W)),U>2&&(X=X+U-2))}}else for(var ne=0;ne<N.length;ne++)for(var te=k.getMatchOffsets(N[ne],B),ee=0;ee<te.length;ee++){var _e=te[ee];F.push(new S(ne,_e.offset,ne,_e.offset+_e.length))}if(D){for(var he=D.start.column,oe=D.end.column,ne=0,ee=F.length-1;ne<ee&&F[ne].start.column<he&&F[ne].start.row==0;)ne++;for(var ge=D.end.row-D.start.row;ne<ee&&F[ee].end.column>oe&&F[ee].end.row==ge;)ee--;for(F=F.slice(ne,ee+1),ne=0,ee=F.length;ne<ee;ne++)F[ne].start.row+=D.start.row,F[ne].end.row+=D.start.row}return F},x.prototype.replace=function(T,j){var D=this.$options,N=this.$assembleRegExp(D);if(D.$isMultiLine)return j;if(!!N){var F=N.exec(T);if(!F||F[0].length!=T.length)return null;if(j=T.replace(N,j),D.preserveCase){j=j.split("");for(var B=Math.min(T.length,T.length);B--;){var U=T[B];U&&U.toLowerCase()!=U?j[B]=j[B].toUpperCase():j[B]=j[B].toLowerCase()}j=j.join("")}return j}},x.prototype.$assembleRegExp=function(T,j){if(T.needle instanceof RegExp)return T.re=T.needle;var D=T.needle;if(!T.needle)return T.re=!1;T.regExp||(D=k.escapeRegExp(D)),T.wholeWord&&(D=w(D,T));var N=T.caseSensitive?"gm":"gmi";if(T.$isMultiLine=!j&&/[\n\r]/.test(D),T.$isMultiLine)return T.re=this.$assembleMultilineRegExp(D,N);try{var F=new RegExp(D,N)}catch(B){F=!1}return T.re=F},x.prototype.$assembleMultilineRegExp=function(T,j){for(var D=T.replace(/\r\n|\r|\n/g,`$
^`).split(`
`),N=[],F=0;F<D.length;F++)try{N.push(new RegExp(D[F],j))}catch(B){return!1}return N},x.prototype.$matchIterator=function(T,j){var D=this.$assembleRegExp(j);if(!D)return!1;var N=j.backwards==!0,F=j.skipCurrent!=!1,B=j.range,U=j.start;U||(U=B?B[N?"end":"start"]:T.selection.getRange()),U.start&&(U=U[F!=N?"end":"start"]);var J=B?B.start.row:0,$=B?B.end.row:T.getLength()-1;if(N)var X=function(Q){var W=U.row;if(!ie(W,U.column,Q)){for(W--;W>=J;W--)if(ie(W,Number.MAX_VALUE,Q))return;if(j.wrap!=!1){for(W=$,J=U.row;W>=J;W--)if(ie(W,Number.MAX_VALUE,Q))return}}};else var X=function(W){var ne=U.row;if(!ie(ne,U.column,W)){for(ne=ne+1;ne<=$;ne++)if(ie(ne,0,W))return;if(j.wrap!=!1){for(ne=J,$=U.row;ne<=$;ne++)if(ie(ne,0,W))return}}};if(j.$isMultiLine)var ee=D.length,ie=function(Q,W,ne){var te=N?Q-ee+1:Q;if(!(te<0||te+ee>T.getLength())){var _e=T.getLine(te),he=_e.search(D[0]);if(!(!N&&he<W||he===-1)){for(var oe=1;oe<ee;oe++)if(_e=T.getLine(te+oe),_e.search(D[oe])==-1)return;var ge=_e.match(D[ee-1])[0].length;if(!(N&&ge>W)&&ne(te,he,te+ee-1,ge))return!0}}};else if(N)var ie=function(W,ne,te){var _e=T.getLine(W),he=[],oe,ge=0;for(D.lastIndex=0;oe=D.exec(_e);){var me=oe[0].length;if(ge=oe.index,!me){if(ge>=_e.length)break;D.lastIndex=ge+=1}if(oe.index+me>ne)break;he.push(oe.index,me)}for(var Z=he.length-1;Z>=0;Z-=2){var xe=he[Z-1],me=he[Z];if(te(W,xe,W,xe+me))return!0}};else var ie=function(W,ne,te){var _e=T.getLine(W),he,oe;for(D.lastIndex=ne;oe=D.exec(_e);){var ge=oe[0].length;if(he=oe.index,te(W,he,W,he+ge))return!0;if(!ge&&(D.lastIndex=he+=1,he>=_e.length))return!1}};return{forEach:X}},x}();function w(x,T){function j(D){return/\w/.test(D)||T.regExp?"\\b":""}return j(x[0])+x+j(x[x.length-1])}O.Search=y}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var j=function(N,F){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,U){B.__proto__=U}||function(B,U){for(var J in U)Object.prototype.hasOwnProperty.call(U,J)&&(B[J]=U[J])},j(N,F)};return function(D,N){if(typeof N!="function"&&N!==null)throw new TypeError("Class extends value "+String(N)+" is not a constructor or null");j(D,N);function F(){this.constructor=D}D.prototype=N===null?Object.create(N):(F.prototype=N.prototype,new F)}}(),A=m("../lib/keys"),S=m("../lib/useragent"),y=A.KEY_MODS,w=function(){function j(D,N){this.$init(D,N,!1)}return j.prototype.$init=function(D,N,F){this.platform=N||(S.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(D),this.$singleCommand=F},j.prototype.addCommand=function(D){this.commands[D.name]&&this.removeCommand(D),this.commands[D.name]=D,D.bindKey&&this._buildKeyHash(D)},j.prototype.removeCommand=function(D,N){var F=D&&(typeof D=="string"?D:D.name);D=this.commands[F],N||delete this.commands[F];var B=this.commandKeyBinding;for(var U in B){var J=B[U];if(J==D)delete B[U];else if(Array.isArray(J)){var $=J.indexOf(D);$!=-1&&(J.splice($,1),J.length==1&&(B[U]=J[0]))}}},j.prototype.bindKey=function(D,N,F){if(typeof D=="object"&&D&&(F==null&&(F=D.position),D=D[this.platform]),!!D){if(typeof N=="function")return this.addCommand({exec:N,bindKey:D,name:N.name||D});D.split("|").forEach(function(B){var U="";if(B.indexOf(" ")!=-1){var J=B.split(/\s+/);B=J.pop(),J.forEach(function(ee){var ie=this.parseKeys(ee),G=y[ie.hashId]+ie.key;U+=(U?" ":"")+G,this._addCommandToBinding(U,"chainKeys")},this),U+=" "}var $=this.parseKeys(B),X=y[$.hashId]+$.key;this._addCommandToBinding(U+X,N,F)},this)}},j.prototype._addCommandToBinding=function(D,N,F){var B=this.commandKeyBinding,U;if(!N)delete B[D];else if(!B[D]||this.$singleCommand)B[D]=N;else{Array.isArray(B[D])?(U=B[D].indexOf(N))!=-1&&B[D].splice(U,1):B[D]=[B[D]],typeof F!="number"&&(F=x(N));var J=B[D];for(U=0;U<J.length;U++){var $=J[U],X=x($);if(X>F)break}J.splice(U,0,N)}},j.prototype.addCommands=function(D){D&&Object.keys(D).forEach(function(N){var F=D[N];if(!!F){if(typeof F=="string")return this.bindKey(F,N);typeof F=="function"&&(F={exec:F}),typeof F=="object"&&(F.name||(F.name=N),this.addCommand(F))}},this)},j.prototype.removeCommands=function(D){Object.keys(D).forEach(function(N){this.removeCommand(D[N])},this)},j.prototype.bindKeys=function(D){Object.keys(D).forEach(function(N){this.bindKey(N,D[N])},this)},j.prototype._buildKeyHash=function(D){this.bindKey(D.bindKey,D)},j.prototype.parseKeys=function(D){var N=D.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(X){return X}),F=N.pop(),B=A[F];if(A.FUNCTION_KEYS[B])F=A.FUNCTION_KEYS[B].toLowerCase();else if(N.length){if(N.length==1&&N[0]=="shift")return{key:F.toUpperCase(),hashId:-1}}else return{key:F,hashId:-1};for(var U=0,J=N.length;J--;){var $=A.KEY_MODS[N[J]];if($==null)return typeof console!="undefined"&&console.error("invalid modifier "+N[J]+" in "+D),!1;U|=$}return{key:F,hashId:U}},j.prototype.findKeyCommand=function(D,N){var F=y[D]+N;return this.commandKeyBinding[F]},j.prototype.handleKeyboard=function(D,N,F,B){if(!(B<0)){var U=y[N]+F,J=this.commandKeyBinding[U];return D.$keyChain&&(D.$keyChain+=" "+U,J=this.commandKeyBinding[D.$keyChain]||J),J&&(J=="chainKeys"||J[J.length-1]=="chainKeys")?(D.$keyChain=D.$keyChain||U,{command:"null"}):(D.$keyChain&&((!N||N==4)&&F.length==1?D.$keyChain=D.$keyChain.slice(0,-U.length-1):(N==-1||B>0)&&(D.$keyChain="")),{command:J})}},j.prototype.getStatusText=function(D,N){return N.$keyChain||""},j}();function x(j){return typeof j=="object"&&j.bindKey&&j.bindKey.position||(j.isDefault?-100:0)}var T=function(j){k(D,j);function D(N,F){var B=j.call(this,N,F)||this;return B.$singleCommand=!0,B}return D}(w);T.call=function(j,D,N){w.prototype.$init.call(j,D,N,!0)},w.call=function(j,D,N){w.prototype.$init.call(j,D,N,!1)},O.HashHandler=T,O.MultiHashHandler=w}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var x=function(j,D){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,F){N.__proto__=F}||function(N,F){for(var B in F)Object.prototype.hasOwnProperty.call(F,B)&&(N[B]=F[B])},x(j,D)};return function(T,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");x(T,j);function D(){this.constructor=T}T.prototype=j===null?Object.create(j):(D.prototype=j.prototype,new D)}}(),A=m("../lib/oop"),S=m("../keyboard/hash_handler").MultiHashHandler,y=m("../lib/event_emitter").EventEmitter,w=function(x){k(T,x);function T(j,D){var N=x.call(this,D,j)||this;return N.byName=N.commands,N.setDefaultHandler("exec",function(F){return F.args?F.command.exec(F.editor,F.args,F.event,!1):F.command.exec(F.editor,{},F.event,!0)}),N}return T.prototype.exec=function(j,D,N){if(Array.isArray(j)){for(var F=j.length;F--;)if(this.exec(j[F],D,N))return!0;return!1}if(typeof j=="string"&&(j=this.commands[j]),!j||D&&D.$readOnly&&!j.readOnly||this.$checkCommandState!=!1&&j.isAvailable&&!j.isAvailable(D))return!1;var B={editor:D,command:j,args:N};return B.returnValue=this._emit("exec",B),this._signal("afterExec",B),B.returnValue!==!1},T.prototype.toggleRecording=function(j){if(!this.$inReplay)return j&&j._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(D){this.macro.push([D.command,D.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},T.prototype.replay=function(j){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(j);try{this.$inReplay=!0,this.macro.forEach(function(D){typeof D=="string"?this.exec(D,j):this.exec(D[0],j,D[1])},this)}finally{this.$inReplay=!1}}},T.prototype.trimMacro=function(j){return j.map(function(D){return typeof D[0]!="string"&&(D[0]=D[0].name),D[1]||(D=D[0]),D})},T}(S);A.implement(w.prototype,y),O.CommandManager=w}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(m,O,C){"use strict";var k=m("../lib/lang"),A=m("../config"),S=m("../range").Range;function y(x,T){return{win:x,mac:T}}O.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:y("Ctrl-,","Command-,"),exec:function(T){A.loadModule("ace/ext/settings_menu",function(j){j.init(T),T.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:y("Alt-E","F4"),exec:function(T){A.loadModule("ace/ext/error_marker",function(j){j.showErrorMarker(T,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:y("Alt-Shift-E","Shift-F4"),exec:function(T){A.loadModule("ace/ext/error_marker",function(j){j.showErrorMarker(T,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:y("Ctrl-A","Command-A"),exec:function(T){T.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:y(null,"Ctrl-L"),exec:function(T){T.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:y("Ctrl-L","Command-L"),exec:function(T,j){typeof j=="number"&&!isNaN(j)&&T.gotoLine(j),T.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:y("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(T){T.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:y("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(T){T.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:y("F2","F2"),exec:function(T){T.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:y("Alt-F2","Alt-F2"),exec:function(T){T.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:y(null,"Ctrl-Command-Option-0"),exec:function(T){T.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:y(null,"Ctrl-Command-Option-0"),exec:function(T){T.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:y("Alt-0","Command-Option-0"),exec:function(T){T.session.foldAll(),T.session.unfold(T.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:y("Alt-Shift-0","Command-Option-Shift-0"),exec:function(T){T.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:y("Ctrl-K","Command-G"),exec:function(T){T.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:y("Ctrl-Shift-K","Command-Shift-G"),exec:function(T){T.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:y("Alt-K","Ctrl-G"),exec:function(T){T.selection.isEmpty()?T.selection.selectWord():T.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:y("Alt-Shift-K","Ctrl-Shift-G"),exec:function(T){T.selection.isEmpty()?T.selection.selectWord():T.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:y("Ctrl-F","Command-F"),exec:function(T){A.loadModule("ace/ext/searchbox",function(j){j.Search(T)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(T){T.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:y("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(T){T.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:y("Ctrl-Home","Command-Home|Command-Up"),exec:function(T){T.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:y("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(T){T.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:y("Up","Up|Ctrl-P"),exec:function(T,j){T.navigateUp(j.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:y("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(T){T.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:y("Ctrl-End","Command-End|Command-Down"),exec:function(T){T.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:y("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(T){T.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:y("Down","Down|Ctrl-N"),exec:function(T,j){T.navigateDown(j.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:y("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(T){T.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:y("Ctrl-Left","Option-Left"),exec:function(T){T.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:y("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(T){T.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:y("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(T){T.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:y("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(T){T.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:y("Left","Left|Ctrl-B"),exec:function(T,j){T.navigateLeft(j.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:y("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(T){T.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:y("Ctrl-Right","Option-Right"),exec:function(T){T.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:y("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(T){T.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:y("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(T){T.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:y("Shift-Right","Shift-Right"),exec:function(T){T.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:y("Right","Right|Ctrl-F"),exec:function(T,j){T.navigateRight(j.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(T){T.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:y(null,"Option-PageDown"),exec:function(T){T.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:y("PageDown","PageDown|Ctrl-V"),exec:function(T){T.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(T){T.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:y(null,"Option-PageUp"),exec:function(T){T.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(T){T.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:y("Ctrl-Up",null),exec:function(T){T.renderer.scrollBy(0,-2*T.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:y("Ctrl-Down",null),exec:function(T){T.renderer.scrollBy(0,2*T.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(T){T.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(T){T.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:y("Ctrl-Alt-E","Command-Option-E"),exec:function(T){T.commands.toggleRecording(T)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:y("Ctrl-Shift-E","Command-Shift-E"),exec:function(T){T.commands.replay(T)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:y("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(T){T.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:y("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(T){T.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:y("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(T){T.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:y(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(T){},readOnly:!0},{name:"cut",description:"Cut",exec:function(T){var j=T.$copyWithEmptySelection&&T.selection.isEmpty(),D=j?T.selection.getLineRange():T.selection.getRange();T._emit("cut",D),D.isEmpty()||T.session.remove(D),T.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(T,j){T.$handlePaste(j)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:y("Ctrl-D","Command-D"),exec:function(T){T.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:y("Ctrl-Shift-D","Command-Shift-D"),exec:function(T){T.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:y("Ctrl-Alt-S","Command-Alt-S"),exec:function(T){T.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:y("Ctrl-/","Command-/"),exec:function(T){T.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:y("Ctrl-Shift-/","Command-Shift-/"),exec:function(T){T.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:y("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(T){T.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:y("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(T){T.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:y("Ctrl-H","Command-Option-F"),exec:function(T){A.loadModule("ace/ext/searchbox",function(j){j.Search(T,!0)})}},{name:"undo",description:"Undo",bindKey:y("Ctrl-Z","Command-Z"),exec:function(T){T.undo()}},{name:"redo",description:"Redo",bindKey:y("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(T){T.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:y("Alt-Shift-Up","Command-Option-Up"),exec:function(T){T.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:y("Alt-Up","Option-Up"),exec:function(T){T.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:y("Alt-Shift-Down","Command-Option-Down"),exec:function(T){T.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:y("Alt-Down","Option-Down"),exec:function(T){T.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:y("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(T){T.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:y("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(T){T.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:y("Shift-Delete",null),exec:function(T){if(T.selection.isEmpty())T.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:y("Alt-Backspace","Command-Backspace"),exec:function(T){T.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:y("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(T){T.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:y("Ctrl-Shift-Backspace",null),exec:function(T){var j=T.selection.getRange();j.start.column=0,T.session.remove(j)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:y("Ctrl-Shift-Delete",null),exec:function(T){var j=T.selection.getRange();j.end.column=Number.MAX_VALUE,T.session.remove(j)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:y("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(T){T.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:y("Ctrl-Delete","Alt-Delete"),exec:function(T){T.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:y("Shift-Tab","Shift-Tab"),exec:function(T){T.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:y("Tab","Tab"),exec:function(T){T.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:y("Ctrl-[","Ctrl-["),exec:function(T){T.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:y("Ctrl-]","Ctrl-]"),exec:function(T){T.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(T,j){T.insert(j)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(T,j){T.insert(k.stringRepeat(j.text||"",j.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:y(null,"Ctrl-O"),exec:function(T){T.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:y("Alt-Shift-X","Ctrl-T"),exec:function(T){T.transposeLetters()},multiSelectAction:function(T){T.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:y("Ctrl-U","Ctrl-U"),exec:function(T){T.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:y("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(T){T.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:y(null,null),exec:function(T){T.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:y("Ctrl-Shift-L","Command-Shift-L"),exec:function(T){var j=T.selection.getRange();j.start.column=j.end.column=0,j.end.row++,T.selection.setRange(j,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:y("Ctrl+F3","F3"),exec:function(T){T.openLink()}},{name:"joinlines",description:"Join lines",bindKey:y(null,null),exec:function(T){for(var j=T.selection.isBackwards(),D=j?T.selection.getSelectionLead():T.selection.getSelectionAnchor(),N=j?T.selection.getSelectionAnchor():T.selection.getSelectionLead(),F=T.session.doc.getLine(D.row).length,B=T.session.doc.getTextRange(T.selection.getRange()),U=B.replace(/\n\s*/," ").length,J=T.session.doc.getLine(D.row),$=D.row+1;$<=N.row+1;$++){var X=k.stringTrimLeft(k.stringTrimRight(T.session.doc.getLine($)));X.length!==0&&(X=" "+X),J+=X}N.row+1<T.session.doc.getLength()-1&&(J+=T.session.doc.getNewLineCharacter()),T.clearSelection(),T.session.doc.replace(new S(D.row,0,N.row+2,0),J),U>0?(T.selection.moveCursorTo(D.row,D.column),T.selection.selectTo(D.row,D.column+U)):(F=T.session.doc.getLine(D.row).length>F?F+1:F,T.selection.moveCursorTo(D.row,F))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:y(null,null),exec:function(T){var j=T.session.doc.getLength()-1,D=T.session.doc.getLine(j).length,N=T.selection.rangeList.ranges,F=[];N.length<1&&(N=[T.selection.getRange()]);for(var B=0;B<N.length;B++)B==N.length-1&&(N[B].end.row===j&&N[B].end.column===D||F.push(new S(N[B].end.row,N[B].end.column,j,D))),B===0?N[B].start.row===0&&N[B].start.column===0||F.push(new S(0,0,N[B].start.row,N[B].start.column)):F.push(new S(N[B-1].end.row,N[B-1].end.column,N[B].start.row,N[B].start.column));T.exitMultiSelectMode(),T.clearSelection();for(var B=0;B<F.length;B++)T.selection.addRange(F[B],!1)},readOnly:!0,scrollIntoView:"none"},{name:"addLineAfter",description:"Add new line after the current line",exec:function(T){T.selection.clearSelection(),T.navigateLineEnd(),T.insert(`
`)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"addLineBefore",description:"Add new line before the current line",exec:function(T){T.selection.clearSelection();var j=T.getCursorPosition();T.selection.moveTo(j.row-1,Number.MAX_VALUE),T.insert(`
`),j.row===0&&T.navigateUp()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"openCommandPallete",description:"Open command palette",bindKey:y("F1","F1"),exec:function(T){T.prompt({$type:"commands"})},readOnly:!0},{name:"modeSelect",description:"Change language mode...",bindKey:y(null,null),exec:function(T){T.prompt({$type:"modes"})},readOnly:!0}];for(var w=1;w<9;w++)O.commands.push({name:"foldToLevel"+w,description:"Fold To Level "+w,level:w,exec:function(T){T.session.foldToLevel(this.level)},scrollIntoView:"center",readOnly:!0})}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],function(m,O,C){"use strict";var k=m("./lib/dom"),A=function(){function S(y){this.session=y,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}return S.prototype.getRowLength=function(y){var w;return this.lineWidgets?w=this.lineWidgets[y]&&this.lineWidgets[y].rowCount||0:w=0,!this.$useWrapMode||!this.$wrapData[y]?1+w:this.$wrapData[y].length+1+w},S.prototype.$getWidgetScreenLength=function(){var y=0;return this.lineWidgets.forEach(function(w){w&&w.rowCount&&!w.hidden&&(y+=w.rowCount)}),y},S.prototype.$onChangeEditor=function(y){this.attach(y.editor)},S.prototype.attach=function(y){y&&y.widgetManager&&y.widgetManager!=this&&y.widgetManager.detach(),this.editor!=y&&(this.detach(),this.editor=y,y&&(y.widgetManager=this,y.renderer.on("beforeRender",this.measureWidgets),y.renderer.on("afterRender",this.renderWidgets)))},S.prototype.detach=function(y){var w=this.editor;if(!!w){this.editor=null,w.widgetManager=null,w.renderer.off("beforeRender",this.measureWidgets),w.renderer.off("afterRender",this.renderWidgets);var x=this.session.lineWidgets;x&&x.forEach(function(T){T&&T.el&&T.el.parentNode&&(T._inDocument=!1,T.el.parentNode.removeChild(T.el))})}},S.prototype.updateOnFold=function(y,w){var x=w.lineWidgets;if(!(!x||!y.action)){for(var T=y.data,j=T.start.row,D=T.end.row,N=y.action=="add",F=j+1;F<D;F++)x[F]&&(x[F].hidden=N);x[D]&&(N?x[j]?x[D].hidden=N:x[j]=x[D]:(x[j]==x[D]&&(x[j]=void 0),x[D].hidden=N))}},S.prototype.updateOnChange=function(y){var w=this.session.lineWidgets;if(!!w){var x=y.start.row,T=y.end.row-x;if(T!==0)if(y.action=="remove"){var j=w.splice(x+1,T);!w[x]&&j[j.length-1]&&(w[x]=j.pop()),j.forEach(function(N){N&&this.removeLineWidget(N)},this),this.$updateRows()}else{var D=new Array(T);w[x]&&w[x].column!=null&&y.start.column>w[x].column&&x++,D.unshift(x,0),w.splice.apply(w,D),this.$updateRows()}}},S.prototype.$updateRows=function(){var y=this.session.lineWidgets;if(!!y){var w=!0;y.forEach(function(x,T){if(x)for(w=!1,x.row=T;x.$oldWidget;)x.$oldWidget.row=T,x=x.$oldWidget}),w&&(this.session.lineWidgets=null)}},S.prototype.$registerLineWidget=function(y){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var w=this.session.lineWidgets[y.row];return w&&(y.$oldWidget=w,w.el&&w.el.parentNode&&(w.el.parentNode.removeChild(w.el),w._inDocument=!1)),this.session.lineWidgets[y.row]=y,y},S.prototype.addLineWidget=function(y){if(this.$registerLineWidget(y),y.session=this.session,!this.editor)return y;var w=this.editor.renderer;y.html&&!y.el&&(y.el=k.createElement("div"),y.el.innerHTML=y.html),y.text&&!y.el&&(y.el=k.createElement("div"),y.el.textContent=y.text),y.el&&(k.addCssClass(y.el,"ace_lineWidgetContainer"),y.className&&k.addCssClass(y.el,y.className),y.el.style.position="absolute",y.el.style.zIndex=5,w.container.appendChild(y.el),y._inDocument=!0,y.coverGutter||(y.el.style.zIndex=3),y.pixelHeight==null&&(y.pixelHeight=y.el.offsetHeight)),y.rowCount==null&&(y.rowCount=y.pixelHeight/w.layerConfig.lineHeight);var x=this.session.getFoldAt(y.row,0);if(y.$fold=x,x){var T=this.session.lineWidgets;y.row==x.end.row&&!T[x.start.row]?T[x.start.row]=y:y.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:y.row}}}),this.$updateRows(),this.renderWidgets(null,w),this.onWidgetChanged(y),y},S.prototype.removeLineWidget=function(y){if(y._inDocument=!1,y.session=null,y.el&&y.el.parentNode&&y.el.parentNode.removeChild(y.el),y.editor&&y.editor.destroy)try{y.editor.destroy()}catch(x){}if(this.session.lineWidgets){var w=this.session.lineWidgets[y.row];if(w==y)this.session.lineWidgets[y.row]=y.$oldWidget,y.$oldWidget&&this.onWidgetChanged(y.$oldWidget);else for(;w;){if(w.$oldWidget==y){w.$oldWidget=y.$oldWidget;break}w=w.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:y.row}}}),this.$updateRows()},S.prototype.getWidgetsAtRow=function(y){for(var w=this.session.lineWidgets,x=w&&w[y],T=[];x;)T.push(x),x=x.$oldWidget;return T},S.prototype.onWidgetChanged=function(y){this.session._changedWidgets.push(y),this.editor&&this.editor.renderer.updateFull()},S.prototype.measureWidgets=function(y,w){var x=this.session._changedWidgets,T=w.layerConfig;if(!(!x||!x.length)){for(var j=Infinity,D=0;D<x.length;D++){var N=x[D];if(!(!N||!N.el)&&N.session==this.session){if(!N._inDocument){if(this.session.lineWidgets[N.row]!=N)continue;N._inDocument=!0,w.container.appendChild(N.el)}N.h=N.el.offsetHeight,N.fixedWidth||(N.w=N.el.offsetWidth,N.screenWidth=Math.ceil(N.w/T.characterWidth));var F=N.h/T.lineHeight;N.coverLine&&(F-=this.session.getRowLineCount(N.row),F<0&&(F=0)),N.rowCount!=F&&(N.rowCount=F,N.row<j&&(j=N.row))}}j!=Infinity&&(this.session._emit("changeFold",{data:{start:{row:j}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},S.prototype.renderWidgets=function(y,w){var x=w.layerConfig,T=this.session.lineWidgets;if(!!T){for(var j=Math.min(this.firstRow,x.firstRow),D=Math.max(this.lastRow,x.lastRow,T.length);j>0&&!T[j];)j--;this.firstRow=x.firstRow,this.lastRow=x.lastRow,w.$cursorLayer.config=x;for(var N=j;N<=D;N++){var F=T[N];if(!(!F||!F.el)){if(F.hidden){F.el.style.top=-100-(F.pixelHeight||0)+"px";continue}F._inDocument||(F._inDocument=!0,w.container.appendChild(F.el));var B=w.$cursorLayer.getPixelPosition({row:N,column:0},!0).top;F.coverLine||(B+=x.lineHeight*this.session.getRowLineCount(F.row)),F.el.style.top=B-x.offset+"px";var U=F.coverGutter?0:w.gutterWidth;F.fixedWidth||(U-=w.scrollLeft),F.el.style.left=U+"px",F.fullWidth&&F.screenWidth&&(F.el.style.minWidth=x.width+2*x.padding+"px"),F.fixedWidth?F.el.style.right=w.scrollBar.getWidth()+"px":F.el.style.right=""}}}},S}();O.LineWidgets=A}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(m,O,C){"use strict";var k=m("../lib/keys"),A=m("../mouse/default_gutter_handler").GutterTooltip,S=function(){function w(x){this.editor=x,this.gutterLayer=x.renderer.$gutterLayer,this.element=x.renderer.$gutter,this.lines=x.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new A(this.editor)}return w.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},w.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},w.prototype.$onGutterKeyDown=function(x){if(this.annotationTooltip.isOpen){x.preventDefault(),x.keyCode===k.escape&&this.annotationTooltip.hideTooltip();return}if(x.target===this.element){if(x.keyCode!=k.enter)return;x.preventDefault();var T=this.editor.getCursorPosition().row;this.editor.isRowVisible(T)||this.editor.scrollToLine(T,!0,!0),setTimeout(function(){var j=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),D=this.$findNearestFoldWidget(j),N=this.$findNearestAnnotation(j);if(!(D===null&&N===null)){if(D===null&&N!==null){this.activeRowIndex=N,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}if(D!==null&&N===null){this.activeRowIndex=D,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}if(Math.abs(N-j)<Math.abs(D-j)){this.activeRowIndex=N,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}else{this.activeRowIndex=D,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}}}.bind(this),10);return}this.$handleGutterKeyboardInteraction(x),setTimeout(function(){this.editor._signal("gutterkeydown",new y(x,this))}.bind(this),10)},w.prototype.$handleGutterKeyboardInteraction=function(x){if(x.keyCode===k.tab){x.preventDefault();return}if(x.keyCode===k.escape){x.preventDefault(),this.$blurGutter(),this.element.focus(),this.lane=null;return}if(x.keyCode===k.up){switch(x.preventDefault(),this.activeLane){case"fold":this.$moveFoldWidgetUp();break;case"annotation":this.$moveAnnotationUp();break}return}if(x.keyCode===k.down){switch(x.preventDefault(),this.activeLane){case"fold":this.$moveFoldWidgetDown();break;case"annotation":this.$moveAnnotationDown();break}return}if(x.keyCode===k.left){x.preventDefault(),this.$switchLane("annotation");return}if(x.keyCode===k.right){x.preventDefault(),this.$switchLane("fold");return}if(x.keyCode===k.enter||x.keyCode===k.space){switch(x.preventDefault(),this.activeLane){case"fold":if(this.gutterLayer.session.foldWidgets[this.$rowIndexToRow(this.activeRowIndex)]==="start"){var T=this.$rowIndexToRow(this.activeRowIndex);this.editor.session.onFoldWidgetClick(this.$rowIndexToRow(this.activeRowIndex),x),setTimeout(function(){this.$rowIndexToRow(this.activeRowIndex)!==T&&(this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=this.$rowToRowIndex(T),this.$focusFoldWidget(this.activeRowIndex))}.bind(this),10);break}else if(this.gutterLayer.session.foldWidgets[this.$rowIndexToRow(this.activeRowIndex)]==="end")break;return;case"annotation":var j=this.lines.cells[this.activeRowIndex].element.childNodes[2],D=j.getBoundingClientRect(),N=this.annotationTooltip.getElement().style;N.left=D.right+"px",N.top=D.bottom+"px",this.annotationTooltip.showTooltip(this.$rowIndexToRow(this.activeRowIndex));break}return}},w.prototype.$blurGutter=function(){if(this.activeRowIndex!==null)switch(this.activeLane){case"fold":this.$blurFoldWidget(this.activeRowIndex);break;case"annotation":this.$blurAnnotation(this.activeRowIndex);break}this.annotationTooltip.isOpen&&this.annotationTooltip.hideTooltip()},w.prototype.$isFoldWidgetVisible=function(x){var T=this.editor.isRowFullyVisible(this.$rowIndexToRow(x)),j=this.$getFoldWidget(x).style.display!=="none";return T&&j},w.prototype.$isAnnotationVisible=function(x){var T=this.editor.isRowFullyVisible(this.$rowIndexToRow(x)),j=this.$getAnnotation(x).style.display!=="none";return T&&j},w.prototype.$getFoldWidget=function(x){var T=this.lines.get(x),j=T.element;return j.childNodes[1]},w.prototype.$getAnnotation=function(x){var T=this.lines.get(x),j=T.element;return j.childNodes[2]},w.prototype.$findNearestFoldWidget=function(x){if(this.$isFoldWidgetVisible(x))return x;for(var T=0;x-T>0||x+T<this.lines.getLength()-1;){if(T++,x-T>=0&&this.$isFoldWidgetVisible(x-T))return x-T;if(x+T<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(x+T))return x+T}return null},w.prototype.$findNearestAnnotation=function(x){if(this.$isAnnotationVisible(x))return x;for(var T=0;x-T>0||x+T<this.lines.getLength()-1;){if(T++,x-T>=0&&this.$isAnnotationVisible(x-T))return x-T;if(x+T<=this.lines.getLength()-1&&this.$isAnnotationVisible(x+T))return x+T}return null},w.prototype.$focusFoldWidget=function(x){if(x!=null){var T=this.$getFoldWidget(x);T.classList.add(this.editor.renderer.keyboardFocusClassName),T.focus()}},w.prototype.$focusAnnotation=function(x){if(x!=null){var T=this.$getAnnotation(x);T.classList.add(this.editor.renderer.keyboardFocusClassName),T.focus()}},w.prototype.$blurFoldWidget=function(x){var T=this.$getFoldWidget(x);T.classList.remove(this.editor.renderer.keyboardFocusClassName),T.blur()},w.prototype.$blurAnnotation=function(x){var T=this.$getAnnotation(x);T.classList.remove(this.editor.renderer.keyboardFocusClassName),T.blur()},w.prototype.$moveFoldWidgetUp=function(){for(var x=this.activeRowIndex;x>0;)if(x--,this.$isFoldWidgetVisible(x)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=x,this.$focusFoldWidget(this.activeRowIndex);return}},w.prototype.$moveFoldWidgetDown=function(){for(var x=this.activeRowIndex;x<this.lines.getLength()-1;)if(x++,this.$isFoldWidgetVisible(x)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=x,this.$focusFoldWidget(this.activeRowIndex);return}},w.prototype.$moveAnnotationUp=function(){for(var x=this.activeRowIndex;x>0;)if(x--,this.$isAnnotationVisible(x)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=x,this.$focusAnnotation(this.activeRowIndex);return}},w.prototype.$moveAnnotationDown=function(){for(var x=this.activeRowIndex;x<this.lines.getLength()-1;)if(x++,this.$isAnnotationVisible(x)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=x,this.$focusAnnotation(this.activeRowIndex);return}},w.prototype.$switchLane=function(x){switch(x){case"annotation":if(this.activeLane==="annotation")break;var T=this.$findNearestAnnotation(this.activeRowIndex);if(T==null)break;this.activeLane="annotation",this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=T,this.$focusAnnotation(this.activeRowIndex);break;case"fold":if(this.activeLane==="fold")break;var j=this.$findNearestFoldWidget(this.activeRowIndex);if(j==null)break;this.activeLane="fold",this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=j,this.$focusFoldWidget(this.activeRowIndex);break}},w.prototype.$rowIndexToRow=function(x){var T=this.lines.get(x);return T?T.row:null},w.prototype.$rowToRowIndex=function(x){for(var T=0;T<this.lines.getLength();T++){var j=this.lines.get(T);if(j.row==x)return T}return null},w}();O.GutterKeyboardHandler=S;var y=function(){function w(x,T){this.gutterKeyboardHandler=T,this.domEvent=x}return w.prototype.getKey=function(){return k.keyCodeToString(this.domEvent.keyCode)},w.prototype.getRow=function(){return this.gutterKeyboardHandler.$rowIndexToRow(this.gutterKeyboardHandler.activeRowIndex)},w.prototype.isInAnnotationLane=function(){return this.gutterKeyboardHandler.activeLane==="annotation"},w.prototype.isInFoldLane=function(){return this.gutterKeyboardHandler.activeLane==="fold"},w}();O.GutterKeyboardEvent=y}),ace.define("ace/editor",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator","ace/line_widgets","ace/keyboard/gutter_handler","ace/config","ace/clipboard","ace/lib/keys"],function(m,O,C){"use strict";var k=this&&this.__values||function(he){var oe=typeof Symbol=="function"&&Symbol.iterator,ge=oe&&he[oe],me=0;if(ge)return ge.call(he);if(he&&typeof he.length=="number")return{next:function(){return he&&me>=he.length&&(he=void 0),{value:he&&he[me++],done:!he}}};throw new TypeError(oe?"Object is not iterable.":"Symbol.iterator is not defined.")},A=m("./lib/oop"),S=m("./lib/dom"),y=m("./lib/lang"),w=m("./lib/useragent"),x=m("./keyboard/textinput").TextInput,T=m("./mouse/mouse_handler").MouseHandler,j=m("./mouse/fold_handler").FoldHandler,D=m("./keyboard/keybinding").KeyBinding,N=m("./edit_session").EditSession,F=m("./search").Search,B=m("./range").Range,U=m("./lib/event_emitter").EventEmitter,J=m("./commands/command_manager").CommandManager,$=m("./commands/default_commands").commands,X=m("./config"),ee=m("./token_iterator").TokenIterator,ie=m("./line_widgets").LineWidgets,G=m("./keyboard/gutter_handler").GutterKeyboardHandler,Q=m("./config").nls,W=m("./clipboard"),ne=m("./lib/keys"),te=function(){function he(oe,ge,me){this.$toDestroy=[];var Z=oe.getContainerElement();this.container=Z,this.renderer=oe,this.id="editor"+ ++he.$uid,this.commands=new J(w.isMac?"mac":"win",$),typeof document=="object"&&(this.textInput=new x(oe.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new T(this),new j(this)),this.keyBinding=new D(this),this.$search=new F().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=y.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(xe,Ee){Ee._$emitInputEvent.schedule(31)}),this.setSession(ge||me&&me.session||new N("")),X.resetOptions(this),me&&this.setOptions(me),X._signal("editor",this)}return he.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=y.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},he.prototype.startOperation=function(oe){if(this.curOp){if(!oe||this.curOp.command)return;this.prevOp=this.curOp}oe||(this.previousCommand=null,oe={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:oe.command||{},args:oe.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},he.prototype.endOperation=function(oe){if(this.curOp&&this.session){if(oe&&oe.returnValue===!1||!this.session)return this.curOp=null;if(oe==!0&&this.curOp.command&&this.curOp.command.name=="mouse"||(this._signal("beforeEndOperation"),!this.curOp))return;var ge=this.curOp.command,me=ge&&ge.scrollIntoView;if(me){switch(me){case"center-animate":me="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var Z=this.selection.getRange(),xe=this.renderer.layerConfig;(Z.start.row>=xe.lastRow||Z.end.row<=xe.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:break}me=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var Ee=this.selection.toJSON();this.curOp.selectionAfter=Ee,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(Ee),this.prevOp=this.curOp,this.curOp=null}},he.prototype.$historyTracker=function(oe){if(!!this.$mergeUndoDeltas){var ge=this.prevOp,me=this.$mergeableCommands,Z=ge.command&&oe.command.name==ge.command.name;if(oe.command.name=="insertstring"){var xe=oe.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),Z=Z&&this.mergeNextCommand&&(!/\s/.test(xe)||/\s/.test(ge.args)),this.mergeNextCommand=!0}else Z=Z&&me.indexOf(oe.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(Z=!1),Z?this.session.mergeUndoDeltas=!0:me.indexOf(oe.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},he.prototype.setKeyboardHandler=function(oe,ge){if(oe&&typeof oe=="string"&&oe!="ace"){this.$keybindingId=oe;var me=this;X.loadModule(["keybinding",oe],function(Z){me.$keybindingId==oe&&me.keyBinding.setKeyboardHandler(Z&&Z.handler),ge&&ge()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(oe),ge&&ge()},he.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},he.prototype.setSession=function(oe){if(this.session!=oe){this.curOp&&this.endOperation(),this.curOp={};var ge=this.session;if(ge){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var me=this.session.getSelection();me.off("changeCursor",this.$onCursorChange),me.off("changeSelection",this.$onSelectionChange)}this.session=oe,oe?(this.$onDocumentChange=this.onDocumentChange.bind(this),oe.on("change",this.$onDocumentChange),this.renderer.setSession(oe),this.$onChangeMode=this.onChangeMode.bind(this),oe.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),oe.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),oe.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),oe.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),oe.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),oe.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=oe.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(oe)),this._signal("changeSession",{session:oe,oldSession:ge}),this.curOp=null,ge&&ge._signal("changeEditor",{oldEditor:this}),oe&&oe._signal("changeEditor",{editor:this}),oe&&!oe.destroyed&&oe.bgTokenizer.scheduleStart()}},he.prototype.getSession=function(){return this.session},he.prototype.setValue=function(oe,ge){return this.session.doc.setValue(oe),ge?ge==1?this.navigateFileEnd():ge==-1&&this.navigateFileStart():this.selectAll(),oe},he.prototype.getValue=function(){return this.session.getValue()},he.prototype.getSelection=function(){return this.selection},he.prototype.resize=function(oe){this.renderer.onResize(oe)},he.prototype.setTheme=function(oe,ge){this.renderer.setTheme(oe,ge)},he.prototype.getTheme=function(){return this.renderer.getTheme()},he.prototype.setStyle=function(oe){this.renderer.setStyle(oe)},he.prototype.unsetStyle=function(oe){this.renderer.unsetStyle(oe)},he.prototype.getFontSize=function(){return this.getOption("fontSize")||S.computedStyle(this.container).fontSize},he.prototype.setFontSize=function(oe){this.setOption("fontSize",oe)},he.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var oe=this;this.$highlightPending=!0,setTimeout(function(){oe.$highlightPending=!1;var ge=oe.session;if(!(!ge||ge.destroyed)){ge.$bracketHighlight&&(ge.$bracketHighlight.markerIds.forEach(function(Ke){ge.removeMarker(Ke)}),ge.$bracketHighlight=null);var me=oe.getCursorPosition(),Z=oe.getKeyboardHandler(),xe=Z&&Z.$getDirectionForHighlight&&Z.$getDirectionForHighlight(oe),Ee=ge.getMatchingBracketRanges(me,xe);if(!Ee){var Le=new ee(ge,me.row,me.column),we=Le.getCurrentToken();if(we&&/\b(?:tag-open|tag-name)/.test(we.type)){var fe=ge.getMatchingTags(me);fe&&(Ee=[fe.openTagName,fe.closeTagName])}}if(!Ee&&ge.$mode.getMatching&&(Ee=ge.$mode.getMatching(oe.session)),!Ee){oe.getHighlightIndentGuides()&&oe.renderer.$textLayer.$highlightIndentGuide();return}var pe="ace_bracket";Array.isArray(Ee)?Ee.length==1&&(pe="ace_error_bracket"):Ee=[Ee],Ee.length==2&&(B.comparePoints(Ee[0].end,Ee[1].start)==0?Ee=[B.fromPoints(Ee[0].start,Ee[1].end)]:B.comparePoints(Ee[0].start,Ee[1].end)==0&&(Ee=[B.fromPoints(Ee[1].start,Ee[0].end)])),ge.$bracketHighlight={ranges:Ee,markerIds:Ee.map(function(Ke){return ge.addMarker(Ke,pe,"text")})},oe.getHighlightIndentGuides()&&oe.renderer.$textLayer.$highlightIndentGuide()}},50)}},he.prototype.focus=function(){this.textInput.focus()},he.prototype.isFocused=function(){return this.textInput.isFocused()},he.prototype.blur=function(){this.textInput.blur()},he.prototype.onFocus=function(oe){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",oe))},he.prototype.onBlur=function(oe){!this.$isFocused||(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",oe))},he.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},he.prototype.onDocumentChange=function(oe){var ge=this.session.$useWrapMode,me=oe.start.row==oe.end.row?oe.end.row:Infinity;this.renderer.updateLines(oe.start.row,me,ge),this._signal("change",oe),this.$cursorChange()},he.prototype.onTokenizerUpdate=function(oe){var ge=oe.data;this.renderer.updateLines(ge.first,ge.last)},he.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},he.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},he.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},he.prototype.$updateHighlightActiveLine=function(){var oe=this.getSession(),ge;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(ge=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(ge=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(ge=!1)),oe.$highlightLineMarker&&!ge)oe.removeMarker(oe.$highlightLineMarker.id),oe.$highlightLineMarker=null;else if(!oe.$highlightLineMarker&&ge){var me=new B(ge.row,ge.column,ge.row,Infinity);me.id=oe.addMarker(me,"ace_active-line","screenLine"),oe.$highlightLineMarker=me}else ge&&(oe.$highlightLineMarker.start.row=ge.row,oe.$highlightLineMarker.end.row=ge.row,oe.$highlightLineMarker.start.column=ge.column,oe._signal("changeBackMarker"))},he.prototype.onSelectionChange=function(oe){var ge=this.session;if(ge.$selectionMarker&&ge.removeMarker(ge.$selectionMarker),ge.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var me=this.selection.getRange(),Z=this.getSelectionStyle();ge.$selectionMarker=ge.addMarker(me,"ace_selection",Z)}var xe=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(xe),this._signal("changeSelection")},he.prototype.$getSelectionHighLightRegexp=function(){var oe=this.session,ge=this.getSelectionRange();if(!(ge.isEmpty()||ge.isMultiLine())){var me=ge.start.column,Z=ge.end.column,xe=oe.getLine(ge.start.row),Ee=xe.substring(me,Z);if(!(Ee.length>5e3||!/[\w\d]/.test(Ee))){var Le=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:Ee}),we=xe.substring(me-1,Z+1);if(!!Le.test(we))return Le}}},he.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},he.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},he.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},he.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},he.prototype.onChangeMode=function(oe){this.renderer.updateText(),this._emit("changeMode",oe)},he.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},he.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},he.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},he.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},he.prototype.getCopyText=function(){var oe=this.getSelectedText(),ge=this.session.doc.getNewLineCharacter(),me=!1;if(!oe&&this.$copyWithEmptySelection){me=!0;for(var Z=this.selection.getAllRanges(),xe=0;xe<Z.length;xe++){var Ee=Z[xe];xe&&Z[xe-1].start.row==Ee.start.row||(oe+=this.session.getLine(Ee.start.row)+ge)}}var Le={text:oe};return this._signal("copy",Le),W.lineMode=me?Le.text:!1,Le.text},he.prototype.onCopy=function(){this.commands.exec("copy",this)},he.prototype.onCut=function(){this.commands.exec("cut",this)},he.prototype.onPaste=function(oe,ge){var me={text:oe,event:ge};this.commands.exec("paste",this,me)},he.prototype.$handlePaste=function(oe){typeof oe=="string"&&(oe={text:oe}),this._signal("paste",oe);var ge=oe.text,me=ge===W.lineMode,Z=this.session;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)me?Z.insert({row:this.selection.lead.row,column:0},ge):this.insert(ge);else if(me)this.selection.rangeList.ranges.forEach(function(pe){Z.insert({row:pe.start.row,column:0},ge)});else{var xe=ge.split(/\r\n|\r|\n/),Ee=this.selection.rangeList.ranges,Le=xe.length==2&&(!xe[0]||!xe[1]);if(xe.length!=Ee.length||Le)return this.commands.exec("insertstring",this,ge);for(var we=Ee.length;we--;){var fe=Ee[we];fe.isEmpty()||Z.remove(fe),Z.insert(fe.start,xe[we])}}},he.prototype.execCommand=function(oe,ge){return this.commands.exec(oe,this,ge)},he.prototype.insert=function(oe,ge){var me=this.session,Z=me.getMode(),xe=this.getCursorPosition();if(this.getBehavioursEnabled()&&!ge){var Ee=Z.transformAction(me.getState(xe.row),"insertion",this,me,oe);Ee&&(oe!==Ee.text&&(this.inVirtualSelectionMode||(this.session.mergeUndoDeltas=!1,this.mergeNextCommand=!1)),oe=Ee.text)}if(oe==" "&&(oe=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()&&oe.indexOf(`
`)==-1){var Le=new B.fromPoints(xe,xe);Le.end.column+=oe.length,this.session.remove(Le)}}else{var Le=this.getSelectionRange();xe=this.session.remove(Le),this.clearSelection()}if(oe==`
`||oe==`\r
`){var Ke=me.getLine(xe.row);if(xe.column>Ke.search(/\S|$/)){var we=Ke.substr(xe.column).search(/\S|$/);me.doc.removeInLine(xe.row,xe.column,xe.column+we)}}this.clearSelection();var fe=xe.column,pe=me.getState(xe.row),Ke=me.getLine(xe.row),Me=Z.checkOutdent(pe,Ke,oe);if(me.insert(xe,oe),Ee&&Ee.selection&&(Ee.selection.length==2?this.selection.setSelectionRange(new B(xe.row,fe+Ee.selection[0],xe.row,fe+Ee.selection[1])):this.selection.setSelectionRange(new B(xe.row+Ee.selection[0],Ee.selection[1],xe.row+Ee.selection[2],Ee.selection[3]))),this.$enableAutoIndent){if(me.getDocument().isNewLine(oe)){var ze=Z.getNextLineIndent(pe,Ke.slice(0,xe.column),me.getTabString());me.insert({row:xe.row+1,column:0},ze)}Me&&Z.autoOutdent(pe,me,xe.row)}},he.prototype.autoIndent=function(){var oe=this.session,ge=oe.getMode(),me,Z;if(this.selection.isEmpty())me=0,Z=oe.doc.getLength()-1;else{var xe=this.getSelectionRange();me=xe.start.row,Z=xe.end.row}for(var Ee="",Le="",we="",fe,pe,Ke,Me=oe.getTabString(),ze=me;ze<=Z;ze++)ze>0&&(Ee=oe.getState(ze-1),Le=oe.getLine(ze-1),we=ge.getNextLineIndent(Ee,Le,Me)),fe=oe.getLine(ze),pe=ge.$getIndent(fe),we!==pe&&(pe.length>0&&(Ke=new B(ze,0,ze,pe.length),oe.remove(Ke)),we.length>0&&oe.insert({row:ze,column:0},we)),ge.autoOutdent(Ee,oe,ze)},he.prototype.onTextInput=function(oe,ge){if(!ge)return this.keyBinding.onTextInput(oe);this.startOperation({command:{name:"insertstring"}});var me=this.applyComposition.bind(this,oe,ge);this.selection.rangeCount?this.forEachSelection(me):me(),this.endOperation()},he.prototype.applyComposition=function(oe,ge){if(ge.extendLeft||ge.extendRight){var me=this.selection.getRange();me.start.column-=ge.extendLeft,me.end.column+=ge.extendRight,me.start.column<0&&(me.start.row--,me.start.column+=this.session.getLine(me.start.row).length+1),this.selection.setRange(me),!oe&&!me.isEmpty()&&this.remove()}if((oe||!this.selection.isEmpty())&&this.insert(oe,!0),ge.restoreStart||ge.restoreEnd){var me=this.selection.getRange();me.start.column-=ge.restoreStart,me.end.column-=ge.restoreEnd,this.selection.setRange(me)}},he.prototype.onCommandKey=function(oe,ge,me){return this.keyBinding.onCommandKey(oe,ge,me)},he.prototype.setOverwrite=function(oe){this.session.setOverwrite(oe)},he.prototype.getOverwrite=function(){return this.session.getOverwrite()},he.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},he.prototype.setScrollSpeed=function(oe){this.setOption("scrollSpeed",oe)},he.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},he.prototype.setDragDelay=function(oe){this.setOption("dragDelay",oe)},he.prototype.getDragDelay=function(){return this.getOption("dragDelay")},he.prototype.setSelectionStyle=function(oe){this.setOption("selectionStyle",oe)},he.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},he.prototype.setHighlightActiveLine=function(oe){this.setOption("highlightActiveLine",oe)},he.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},he.prototype.setHighlightGutterLine=function(oe){this.setOption("highlightGutterLine",oe)},he.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},he.prototype.setHighlightSelectedWord=function(oe){this.setOption("highlightSelectedWord",oe)},he.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},he.prototype.setAnimatedScroll=function(oe){this.renderer.setAnimatedScroll(oe)},he.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},he.prototype.setShowInvisibles=function(oe){this.renderer.setShowInvisibles(oe)},he.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},he.prototype.setDisplayIndentGuides=function(oe){this.renderer.setDisplayIndentGuides(oe)},he.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},he.prototype.setHighlightIndentGuides=function(oe){this.renderer.setHighlightIndentGuides(oe)},he.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},he.prototype.setShowPrintMargin=function(oe){this.renderer.setShowPrintMargin(oe)},he.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},he.prototype.setPrintMarginColumn=function(oe){this.renderer.setPrintMarginColumn(oe)},he.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},he.prototype.setReadOnly=function(oe){this.setOption("readOnly",oe)},he.prototype.getReadOnly=function(){return this.getOption("readOnly")},he.prototype.setBehavioursEnabled=function(oe){this.setOption("behavioursEnabled",oe)},he.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},he.prototype.setWrapBehavioursEnabled=function(oe){this.setOption("wrapBehavioursEnabled",oe)},he.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},he.prototype.setShowFoldWidgets=function(oe){this.setOption("showFoldWidgets",oe)},he.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},he.prototype.setFadeFoldWidgets=function(oe){this.setOption("fadeFoldWidgets",oe)},he.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},he.prototype.remove=function(oe){this.selection.isEmpty()&&(oe=="left"?this.selection.selectLeft():this.selection.selectRight());var ge=this.getSelectionRange();if(this.getBehavioursEnabled()){var me=this.session,Z=me.getState(ge.start.row),xe=me.getMode().transformAction(Z,"deletion",this,me,ge);if(ge.end.column===0){var Ee=me.getTextRange(ge);if(Ee[Ee.length-1]==`
`){var Le=me.getLine(ge.end.row);/^\s+$/.test(Le)&&(ge.end.column=Le.length)}}xe&&(ge=xe)}this.session.remove(ge),this.clearSelection()},he.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},he.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},he.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},he.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var oe=this.getSelectionRange();oe.start.column==oe.end.column&&oe.start.row==oe.end.row&&(oe.end.column=0,oe.end.row++),this.session.remove(oe),this.clearSelection()},he.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var oe=this.getCursorPosition();this.insert(`
`),this.moveCursorToPosition(oe)},he.prototype.setGhostText=function(oe,ge){this.session.widgetManager||(this.session.widgetManager=new ie(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(oe,ge)},he.prototype.removeGhostText=function(){!this.session.widgetManager||this.renderer.removeGhostText()},he.prototype.transposeLetters=function(){if(!!this.selection.isEmpty()){var oe=this.getCursorPosition(),ge=oe.column;if(ge!==0){var me=this.session.getLine(oe.row),Z,xe;ge<me.length?(Z=me.charAt(ge)+me.charAt(ge-1),xe=new B(oe.row,ge-1,oe.row,ge+1)):(Z=me.charAt(ge-1)+me.charAt(ge-2),xe=new B(oe.row,ge-2,oe.row,ge)),this.session.replace(xe,Z),this.session.selection.moveToPosition(xe.end)}}},he.prototype.toLowerCase=function(){var oe=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var ge=this.getSelectionRange(),me=this.session.getTextRange(ge);this.session.replace(ge,me.toLowerCase()),this.selection.setSelectionRange(oe)},he.prototype.toUpperCase=function(){var oe=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var ge=this.getSelectionRange(),me=this.session.getTextRange(ge);this.session.replace(ge,me.toUpperCase()),this.selection.setSelectionRange(oe)},he.prototype.indent=function(){var oe=this.session,ge=this.getSelectionRange();if(ge.start.row<ge.end.row){var me=this.$getSelectedRows();oe.indentRows(me.first,me.last," ");return}else if(ge.start.column<ge.end.column){var Z=oe.getTextRange(ge);if(!/^\s+$/.test(Z)){var me=this.$getSelectedRows();oe.indentRows(me.first,me.last," ");return}}var xe=oe.getLine(ge.start.row),Ee=ge.start,Le=oe.getTabSize(),we=oe.documentToScreenColumn(Ee.row,Ee.column);if(this.session.getUseSoftTabs())var fe=Le-we%Le,pe=y.stringRepeat(" ",fe);else{for(var fe=we%Le;xe[ge.start.column-1]==" "&&fe;)ge.start.column--,fe--;this.selection.setSelectionRange(ge),pe=" "}return this.insert(pe)},he.prototype.blockIndent=function(){var oe=this.$getSelectedRows();this.session.indentRows(oe.first,oe.last," ")},he.prototype.blockOutdent=function(){var oe=this.session.getSelection();this.session.outdentRows(oe.getRange())},he.prototype.sortLines=function(){for(var oe=this.$getSelectedRows(),ge=this.session,me=[],Z=oe.first;Z<=oe.last;Z++)me.push(ge.getLine(Z));me.sort(function(Le,we){return Le.toLowerCase()<we.toLowerCase()?-1:Le.toLowerCase()>we.toLowerCase()?1:0});for(var xe=new B(0,0,0,0),Z=oe.first;Z<=oe.last;Z++){var Ee=ge.getLine(Z);xe.start.row=Z,xe.end.row=Z,xe.end.column=Ee.length,ge.replace(xe,me[Z-oe.first])}},he.prototype.toggleCommentLines=function(){var oe=this.session.getState(this.getCursorPosition().row),ge=this.$getSelectedRows();this.session.getMode().toggleCommentLines(oe,this.session,ge.first,ge.last)},he.prototype.toggleBlockComment=function(){var oe=this.getCursorPosition(),ge=this.session.getState(oe.row),me=this.getSelectionRange();this.session.getMode().toggleBlockComment(ge,this.session,me,oe)},he.prototype.getNumberAt=function(oe,ge){var me=/[\-]?[0-9]+(?:\.[0-9]+)?/g;me.lastIndex=0;for(var Z=this.session.getLine(oe);me.lastIndex<ge;){var xe=me.exec(Z);if(xe.index<=ge&&xe.index+xe[0].length>=ge){var Ee={value:xe[0],start:xe.index,end:xe.index+xe[0].length};return Ee}}return null},he.prototype.modifyNumber=function(oe){var ge=this.selection.getCursor().row,me=this.selection.getCursor().column,Z=new B(ge,me-1,ge,me),xe=this.session.getTextRange(Z);if(!isNaN(parseFloat(xe))&&isFinite(xe)){var Ee=this.getNumberAt(ge,me);if(Ee){var Le=Ee.value.indexOf(".")>=0?Ee.start+Ee.value.indexOf(".")+1:Ee.end,we=Ee.start+Ee.value.length-Le,fe=parseFloat(Ee.value);fe*=Math.pow(10,we),Le!==Ee.end&&me<Le?oe*=Math.pow(10,Ee.end-me-1):oe*=Math.pow(10,Ee.end-me),fe+=oe,fe/=Math.pow(10,we);var pe=fe.toFixed(we),Ke=new B(ge,Ee.start,ge,Ee.end);this.session.replace(Ke,pe),this.moveCursorTo(ge,Math.max(Ee.start+1,me+pe.length-Ee.value.length))}}else this.toggleWord()},he.prototype.toggleWord=function(){var oe=this.selection.getCursor().row,ge=this.selection.getCursor().column;this.selection.selectWord();var me=this.getSelectedText(),Z=this.selection.getWordRange().start.column,xe=me.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),Ee=ge-Z-1;Ee<0&&(Ee=0);var Le=0,we=0,fe=this;me.match(/[A-Za-z0-9_]+/)&&xe.forEach(function(Xe,ht){we=Le+Xe.length,Ee>=Le&&Ee<=we&&(me=Xe,fe.selection.clearSelection(),fe.moveCursorTo(oe,Le+Z),fe.selection.selectTo(oe,we+Z)),Le=we});for(var pe=this.$toggleWordPairs,Ke,Me=0;Me<pe.length;Me++)for(var ze=pe[Me],Ue=0;Ue<=1;Ue++){var He=+!Ue,Ne=me.match(new RegExp("^\\s?_?("+y.escapeRegExp(ze[Ue])+")\\s?$","i"));if(Ne){var it=me.match(new RegExp("([_]|^|\\s)("+y.escapeRegExp(Ne[1])+")($|\\s)","g"));it&&(Ke=me.replace(new RegExp(y.escapeRegExp(ze[Ue]),"i"),function(Xe){var ht=ze[He];return Xe.toUpperCase()==Xe?ht=ht.toUpperCase():Xe.charAt(0).toUpperCase()==Xe.charAt(0)&&(ht=ht.substr(0,0)+ze[He].charAt(0).toUpperCase()+ht.substr(1)),ht}),this.insert(Ke),Ke="")}}},he.prototype.findLinkAt=function(oe,ge){var me,Z,xe=this.session.getLine(oe),Ee=xe.split(/((?:https?|ftp):\/\/[\S]+)/),Le=ge;Le<0&&(Le=0);var we=0,fe=0,pe;try{for(var Ke=k(Ee),Me=Ke.next();!Me.done;Me=Ke.next()){var ze=Me.value;if(fe=we+ze.length,Le>=we&&Le<=fe&&ze.match(/((?:https?|ftp):\/\/[\S]+)/)){pe=ze.replace(/[\s:.,'";}\]]+$/,"");break}we=fe}}catch(Ue){me={error:Ue}}finally{try{Me&&!Me.done&&(Z=Ke.return)&&Z.call(Ke)}finally{if(me)throw me.error}}return pe},he.prototype.openLink=function(){var oe=this.selection.getCursor(),ge=this.findLinkAt(oe.row,oe.column);return ge&&window.open(ge,"_blank"),ge!=null},he.prototype.removeLines=function(){var oe=this.$getSelectedRows();this.session.removeFullLines(oe.first,oe.last),this.clearSelection()},he.prototype.duplicateSelection=function(){var oe=this.selection,ge=this.session,me=oe.getRange(),Z=oe.isBackwards();if(me.isEmpty()){var xe=me.start.row;ge.duplicateLines(xe,xe)}else{var Ee=Z?me.start:me.end,Le=ge.insert(Ee,ge.getTextRange(me),!1);me.start=Ee,me.end=Le,oe.setSelectionRange(me,Z)}},he.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},he.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},he.prototype.moveText=function(oe,ge,me){return this.session.moveText(oe,ge,me)},he.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},he.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},he.prototype.$moveLines=function(oe,ge){var me,Z,xe=this.selection;if(!xe.inMultiSelectMode||this.inVirtualSelectionMode){var Ee=xe.toOrientedRange();me=this.$getSelectedRows(Ee),Z=this.session.$moveLines(me.first,me.last,ge?0:oe),ge&&oe==-1&&(Z=0),Ee.moveBy(Z,0),xe.fromOrientedRange(Ee)}else{var Le=xe.rangeList.ranges;xe.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var we=0,fe=0,pe=Le.length,Ke=0;Ke<pe;Ke++){var Me=Ke;Le[Ke].moveBy(we,0),me=this.$getSelectedRows(Le[Ke]);for(var ze=me.first,Ue=me.last;++Ke<pe;){fe&&Le[Ke].moveBy(fe,0);var He=this.$getSelectedRows(Le[Ke]);if(ge&&He.first!=Ue)break;if(!ge&&He.first>Ue+1)break;Ue=He.last}for(Ke--,we=this.session.$moveLines(ze,Ue,ge?0:oe),ge&&oe==-1&&(Me=Ke+1);Me<=Ke;)Le[Me].moveBy(we,0),Me++;ge||(we=0),fe+=we}xe.fromOrientedRange(xe.ranges[0]),xe.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},he.prototype.$getSelectedRows=function(oe){return oe=(oe||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(oe.start.row),last:this.session.getRowFoldEnd(oe.end.row)}},he.prototype.onCompositionStart=function(oe){this.renderer.showComposition(oe)},he.prototype.onCompositionUpdate=function(oe){this.renderer.setCompositionText(oe)},he.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},he.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},he.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},he.prototype.isRowVisible=function(oe){return oe>=this.getFirstVisibleRow()&&oe<=this.getLastVisibleRow()},he.prototype.isRowFullyVisible=function(oe){return oe>=this.renderer.getFirstFullyVisibleRow()&&oe<=this.renderer.getLastFullyVisibleRow()},he.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},he.prototype.$moveByPage=function(oe,ge){var me=this.renderer,Z=this.renderer.layerConfig,xe=oe*Math.floor(Z.height/Z.lineHeight);ge===!0?this.selection.$moveSelection(function(){this.moveCursorBy(xe,0)}):ge===!1&&(this.selection.moveCursorBy(xe,0),this.selection.clearSelection());var Ee=me.scrollTop;me.scrollBy(0,xe*Z.lineHeight),ge!=null&&me.scrollCursorIntoView(null,.5),me.animateScrolling(Ee)},he.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},he.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},he.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},he.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},he.prototype.scrollPageDown=function(){this.$moveByPage(1)},he.prototype.scrollPageUp=function(){this.$moveByPage(-1)},he.prototype.scrollToRow=function(oe){this.renderer.scrollToRow(oe)},he.prototype.scrollToLine=function(oe,ge,me,Z){this.renderer.scrollToLine(oe,ge,me,Z)},he.prototype.centerSelection=function(){var oe=this.getSelectionRange(),ge={row:Math.floor(oe.start.row+(oe.end.row-oe.start.row)/2),column:Math.floor(oe.start.column+(oe.end.column-oe.start.column)/2)};this.renderer.alignCursor(ge,.5)},he.prototype.getCursorPosition=function(){return this.selection.getCursor()},he.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},he.prototype.getSelectionRange=function(){return this.selection.getRange()},he.prototype.selectAll=function(){this.selection.selectAll()},he.prototype.clearSelection=function(){this.selection.clearSelection()},he.prototype.moveCursorTo=function(oe,ge){this.selection.moveCursorTo(oe,ge)},he.prototype.moveCursorToPosition=function(oe){this.selection.moveCursorToPosition(oe)},he.prototype.jumpToMatching=function(oe,ge){var me=this.getCursorPosition(),Z=new ee(this.session,me.row,me.column),xe=Z.getCurrentToken(),Ee=0;xe&&xe.type.indexOf("tag-name")!==-1&&(xe=Z.stepBackward());var Le=xe||Z.stepForward();if(!!Le){var we,fe=!1,pe={},Ke=me.column-Le.start,Me,ze={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(Le.value.match(/[{}()\[\]]/g)){for(;Ke<Le.value.length&&!fe;Ke++)if(!!ze[Le.value[Ke]])switch(Me=ze[Le.value[Ke]]+"."+Le.type.replace("rparen","lparen"),isNaN(pe[Me])&&(pe[Me]=0),Le.value[Ke]){case"(":case"[":case"{":pe[Me]++;break;case")":case"]":case"}":pe[Me]--,pe[Me]===-1&&(we="bracket",fe=!0);break}}else Le.type.indexOf("tag-name")!==-1&&(isNaN(pe[Le.value])&&(pe[Le.value]=0),xe.value==="<"&&Ee>1?pe[Le.value]++:xe.value==="</"&&pe[Le.value]--,pe[Le.value]===-1&&(we="tag",fe=!0));fe||(xe=Le,Ee++,Le=Z.stepForward(),Ke=0)}while(Le&&!fe);if(!!we){var Ue,He;if(we==="bracket")Ue=this.session.getBracketRange(me),Ue||(Ue=new B(Z.getCurrentTokenRow(),Z.getCurrentTokenColumn()+Ke-1,Z.getCurrentTokenRow(),Z.getCurrentTokenColumn()+Ke-1),He=Ue.start,(ge||He.row===me.row&&Math.abs(He.column-me.column)<2)&&(Ue=this.session.getBracketRange(He)));else if(we==="tag"){if(!Le||Le.type.indexOf("tag-name")===-1)return;if(Ue=new B(Z.getCurrentTokenRow(),Z.getCurrentTokenColumn()-2,Z.getCurrentTokenRow(),Z.getCurrentTokenColumn()-2),Ue.compare(me.row,me.column)===0){var Ne=this.session.getMatchingTags(me);Ne&&(Ne.openTag.contains(me.row,me.column)?(Ue=Ne.closeTag,He=Ue.start):(Ue=Ne.openTag,Ne.closeTag.start.row===me.row&&Ne.closeTag.start.column===me.column?He=Ue.end:He=Ue.start))}He=He||Ue.start}He=Ue&&Ue.cursor||He,He&&(oe?Ue&&ge?this.selection.setRange(Ue):Ue&&Ue.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(He.row,He.column):this.selection.moveTo(He.row,He.column))}}},he.prototype.gotoLine=function(oe,ge,me){this.selection.clearSelection(),this.session.unfold({row:oe-1,column:ge||0}),this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(oe-1,ge||0),this.isRowFullyVisible(oe-1)||this.scrollToLine(oe-1,!0,me)},he.prototype.navigateTo=function(oe,ge){this.selection.moveTo(oe,ge)},he.prototype.navigateUp=function(oe){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var ge=this.selection.anchor.getPosition();return this.moveCursorToPosition(ge)}this.selection.clearSelection(),this.selection.moveCursorBy(-oe||-1,0)},he.prototype.navigateDown=function(oe){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var ge=this.selection.anchor.getPosition();return this.moveCursorToPosition(ge)}this.selection.clearSelection(),this.selection.moveCursorBy(oe||1,0)},he.prototype.navigateLeft=function(oe){if(this.selection.isEmpty())for(oe=oe||1;oe--;)this.selection.moveCursorLeft();else{var ge=this.getSelectionRange().start;this.moveCursorToPosition(ge)}this.clearSelection()},he.prototype.navigateRight=function(oe){if(this.selection.isEmpty())for(oe=oe||1;oe--;)this.selection.moveCursorRight();else{var ge=this.getSelectionRange().end;this.moveCursorToPosition(ge)}this.clearSelection()},he.prototype.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},he.prototype.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},he.prototype.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},he.prototype.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},he.prototype.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},he.prototype.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},he.prototype.replace=function(oe,ge){ge&&this.$search.set(ge);var me=this.$search.find(this.session),Z=0;return me&&(this.$tryReplace(me,oe)&&(Z=1),this.selection.setSelectionRange(me),this.renderer.scrollSelectionIntoView(me.start,me.end)),Z},he.prototype.replaceAll=function(oe,ge){ge&&this.$search.set(ge);var me=this.$search.findAll(this.session),Z=0;if(!me.length)return Z;var xe=this.getSelectionRange();this.selection.moveTo(0,0);for(var Ee=me.length-1;Ee>=0;--Ee)this.$tryReplace(me[Ee],oe)&&Z++;return this.selection.setSelectionRange(xe),Z},he.prototype.$tryReplace=function(oe,ge){var me=this.session.getTextRange(oe);return ge=this.$search.replace(me,ge),ge!==null?(oe.end=this.session.replace(oe,ge),oe):null},he.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},he.prototype.find=function(oe,ge,me){ge||(ge={}),typeof oe=="string"||oe instanceof RegExp?ge.needle=oe:typeof oe=="object"&&A.mixin(ge,oe);var Z=this.selection.getRange();ge.needle==null&&(oe=this.session.getTextRange(Z)||this.$search.$options.needle,oe||(Z=this.session.getWordRange(Z.start.row,Z.start.column),oe=this.session.getTextRange(Z)),this.$search.set({needle:oe})),this.$search.set(ge),ge.start||this.$search.set({start:Z});var xe=this.$search.find(this.session);if(ge.preventScroll)return xe;if(xe)return this.revealRange(xe,me),xe;ge.backwards?Z.start=Z.end:Z.end=Z.start,this.selection.setRange(Z)},he.prototype.findNext=function(oe,ge){this.find({skipCurrent:!0,backwards:!1},oe,ge)},he.prototype.findPrevious=function(oe,ge){this.find(oe,{skipCurrent:!0,backwards:!0},ge)},he.prototype.revealRange=function(oe,ge){this.session.unfold(oe),this.selection.setSelectionRange(oe);var me=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(oe.start,oe.end,.5),ge!==!1&&this.renderer.animateScrolling(me)},he.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},he.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},he.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(oe){oe.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},he.prototype.setAutoScrollEditorIntoView=function(oe){if(!!oe){var ge,me=this,Z=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var xe=this.$scrollAnchor;xe.style.cssText="position:absolute",this.container.insertBefore(xe,this.container.firstChild);var Ee=this.on("changeSelection",function(){Z=!0}),Le=this.renderer.on("beforeRender",function(){Z&&(ge=me.renderer.container.getBoundingClientRect())}),we=this.renderer.on("afterRender",function(){if(Z&&ge&&(me.isFocused()||me.searchBox&&me.searchBox.isFocused())){var fe=me.renderer,pe=fe.$cursorLayer.$pixelPos,Ke=fe.layerConfig,Me=pe.top-Ke.offset;pe.top>=0&&Me+ge.top<0?Z=!0:pe.top<Ke.height&&pe.top+ge.top+Ke.lineHeight>window.innerHeight?Z=!1:Z=null,Z!=null&&(xe.style.top=Me+"px",xe.style.left=pe.left+"px",xe.style.height=Ke.lineHeight+"px",xe.scrollIntoView(Z)),Z=ge=null}});this.setAutoScrollEditorIntoView=function(fe){fe||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",Ee),this.renderer.off("afterRender",we),this.renderer.off("beforeRender",Le))}}},he.prototype.$resetCursorStyle=function(){var oe=this.$cursorStyle||"ace",ge=this.renderer.$cursorLayer;!ge||(ge.setSmoothBlinking(/smooth/.test(oe)),ge.isBlinking=!this.$readOnly&&oe!="wide",S.setCssClass(ge.element,"ace_slim-cursors",/slim/.test(oe)))},he.prototype.prompt=function(oe,ge,me){var Z=this;X.loadModule("ace/ext/prompt",function(xe){xe.prompt(Z,oe,ge,me)})},he}();te.$uid=0,te.prototype.curOp=null,te.prototype.prevOp={},te.prototype.$mergeableCommands=["backspace","del","insertstring"],te.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],A.implement(te.prototype,U),X.defineOptions(te.prototype,"editor",{selectionStyle:{set:function(oe){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:oe})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(oe){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(oe){this.textInput.setReadOnly(oe),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(oe){this.textInput.setCopyWithEmptySelection(oe)},initialValue:!1},cursorStyle:{set:function(oe){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(oe){this.setAutoScrollEditorIntoView(oe)}},keyboardHandler:{set:function(oe){this.setKeyboardHandler(oe)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(oe){this.session.setValue(oe)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(oe){this.setSession(oe)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(oe){this.renderer.$gutterLayer.setShowLineNumbers(oe),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),oe&&this.$relativeLineNumbers?_e.attach(this):_e.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(oe){this.$showLineNumbers&&oe?_e.attach(this):_e.detach(this)}},placeholder:{set:function(oe){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var ge=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(ge&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!ge&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var me=S.createElement("div");me.className="ace_placeholder",me.textContent=this.$placeholder||"",this.renderer.placeholderNode=me,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!ge&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(oe){var ge={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(Ee){Ee.blur(),Ee.renderer.scroller.focus()},readOnly:!0},me=function(Ee){if(Ee.target==this.renderer.scroller&&Ee.keyCode===ne.enter){Ee.preventDefault();var Le=this.getCursorPosition().row;this.isRowVisible(Le)||this.scrollToLine(Le,!0,!0),this.focus()}},Z;oe?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",Q("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",Q("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",me.bind(this)),this.commands.addCommand(ge),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",Q("editor")),this.renderer.$gutter.setAttribute("aria-label",Q("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),Z||(Z=new G(this)),Z.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",me.bind(this)),this.commands.removeCommand(ge),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),Z&&Z.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var _e={getText:function(oe,ge){return(Math.abs(oe.selection.lead.row-ge)||ge+1+(ge<9?"\xB7":""))+""},getWidth:function(oe,ge,me){return Math.max(ge.toString().length,(me.lastRow+1).toString().length,2)*me.characterWidth},update:function(oe,ge){ge.renderer.$loop.schedule(ge.renderer.CHANGE_GUTTER)},attach:function(oe){oe.renderer.$gutterLayer.$renderer=this,oe.on("changeSelection",this.update),this.update(null,oe)},detach:function(oe){oe.renderer.$gutterLayer.$renderer==this&&(oe.renderer.$gutterLayer.$renderer=null),oe.off("changeSelection",this.update),this.update(null,oe)}};O.Editor=te}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(m,O,C){"use strict";var k=function(){function G(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=Infinity,this.reset()}return G.prototype.addSession=function(Q){this.$session=Q},G.prototype.add=function(Q,W,ne){if(!this.$fromUndo&&Q!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),W===!1||!this.lastDeltas){this.lastDeltas=[];var te=this.$undoStack.length;te>this.$undoDepth-1&&this.$undoStack.splice(0,te-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),Q.id=this.$rev=++this.$maxRev}(Q.action=="remove"||Q.action=="insert")&&(this.$lastDelta=Q),this.lastDeltas.push(Q)}},G.prototype.addSelection=function(Q,W){this.selections.push({value:Q,rev:W||this.$rev})},G.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},G.prototype.markIgnored=function(Q,W){W==null&&(W=this.$rev+1);for(var ne=this.$undoStack,te=ne.length;te--;){var _e=ne[te][0];if(_e.id<=Q)break;_e.id<W&&(_e.ignore=!0)}this.lastDeltas=null},G.prototype.getSelection=function(Q,W){for(var ne=this.selections,te=ne.length;te--;){var _e=ne[te];if(_e.rev<Q)return W&&(_e=ne[te+1]),_e}},G.prototype.getRevision=function(){return this.$rev},G.prototype.getDeltas=function(Q,W){W==null&&(W=this.$rev+1);for(var ne=this.$undoStack,te=null,_e=0,he=ne.length;he--;){var oe=ne[he][0];if(oe.id<W&&!te&&(te=he+1),oe.id<=Q){_e=he+1;break}}return ne.slice(_e,te)},G.prototype.getChangedRanges=function(Q,W){W==null&&(W=this.$rev+1)},G.prototype.getChangedLines=function(Q,W){W==null&&(W=this.$rev+1)},G.prototype.undo=function(Q,W){this.lastDeltas=null;var ne=this.$undoStack;if(!!A(ne,ne.length)){Q||(Q=this.$session),this.$redoStackBaseRev!==this.$rev&&this.$redoStack.length&&(this.$redoStack=[]),this.$fromUndo=!0;var te=ne.pop(),_e=null;return te&&(_e=Q.undoChanges(te,W),this.$redoStack.push(te),this.$syncRev()),this.$fromUndo=!1,_e}},G.prototype.redo=function(Q,W){if(this.lastDeltas=null,Q||(Q=this.$session),this.$fromUndo=!0,this.$redoStackBaseRev!=this.$rev){var ne=this.getDeltas(this.$redoStackBaseRev,this.$rev+1);ie(this.$redoStack,ne),this.$redoStackBaseRev=this.$rev,this.$redoStack.forEach(function(he){he[0].id=++this.$maxRev},this)}var te=this.$redoStack.pop(),_e=null;return te&&(_e=Q.redoChanges(te,W),this.$undoStack.push(te),this.$syncRev()),this.$fromUndo=!1,_e},G.prototype.$syncRev=function(){var Q=this.$undoStack,W=Q[Q.length-1],ne=W&&W[0].id||0;this.$redoStackBaseRev=ne,this.$rev=ne},G.prototype.reset=function(){this.lastDeltas=null,this.$lastDelta=null,this.$undoStack=[],this.$redoStack=[],this.$rev=0,this.mark=0,this.$redoStackBaseRev=this.$rev,this.selections=[]},G.prototype.canUndo=function(){return this.$undoStack.length>0},G.prototype.canRedo=function(){return this.$redoStack.length>0},G.prototype.bookmark=function(Q){Q==null&&(Q=this.$rev),this.mark=Q},G.prototype.isAtBookmark=function(){return this.$rev===this.mark},G.prototype.toJSON=function(){},G.prototype.fromJSON=function(){},G.prototype.$prettyPrint=function(Q){return Q?D(Q):D(this.$undoStack)+`
---
`+D(this.$redoStack)},G}();k.prototype.hasUndo=k.prototype.canUndo,k.prototype.hasRedo=k.prototype.canRedo,k.prototype.isClean=k.prototype.isAtBookmark,k.prototype.markClean=k.prototype.bookmark;function A(G,Q){for(var W=Q;W--;){var ne=G[W];if(ne&&!ne[0].ignore){for(;W<Q-1;){var te=B(G[W],G[W+1]);G[W]=te[0],G[W+1]=te[1],W++}return!0}}}var S=m("./range").Range,y=S.comparePoints,w=S.comparePoints;function x(G){var Q=G.action=="insert",W=G.start,ne=G.end,te=(ne.row-W.row)*(Q?1:-1),_e=(ne.column-W.column)*(Q?1:-1);Q&&(ne=W);for(var he in this.marks){var oe=this.marks[he],ge=w(oe,W);if(!(ge<0)){if(ge===0&&Q)if(oe.bias==1)ge=1;else{oe.bias==-1;continue}var me=Q?ge:w(oe,ne);if(me>0){oe.row+=te,oe.column+=oe.row==ne.row?_e:0;continue}!Q&&me<=0&&(oe.row=W.row,oe.column=W.column,me===0&&(oe.bias=1))}}}function T(G){return{row:G.row,column:G.column}}function j(G){return{start:T(G.start),end:T(G.end),action:G.action,lines:G.lines.slice()}}function D(G){if(G=G||this,Array.isArray(G))return G.map(D).join(`
`);var Q="";return G.action?(Q=G.action=="insert"?"+":"-",Q+="["+G.lines+"]"):G.value&&(Array.isArray(G.value)?Q=G.value.map(N).join(`
`):Q=N(G.value)),G.start&&(Q+=N(G)),(G.id||G.rev)&&(Q+=" ("+(G.id||G.rev)+")"),Q}function N(G){return G.start.row+":"+G.start.column+"=>"+G.end.row+":"+G.end.column}function F(G,Q){var W=G.action=="insert",ne=Q.action=="insert";if(W&&ne)if(y(Q.start,G.end)>=0)J(Q,G,-1);else if(y(Q.start,G.start)<=0)J(G,Q,1);else return null;else if(W&&!ne)if(y(Q.start,G.end)>=0)J(Q,G,-1);else if(y(Q.end,G.start)<=0)J(G,Q,-1);else return null;else if(!W&&ne)if(y(Q.start,G.start)>=0)J(Q,G,1);else if(y(Q.start,G.start)<=0)J(G,Q,1);else return null;else if(!W&&!ne)if(y(Q.start,G.start)>=0)J(Q,G,1);else if(y(Q.end,G.start)<=0)J(G,Q,-1);else return null;return[Q,G]}function B(G,Q){for(var W=G.length;W--;)for(var ne=0;ne<Q.length;ne++)if(!F(G[W],Q[ne])){for(;W<G.length;){for(;ne--;)F(Q[ne],G[W]);ne=Q.length,W++}return[G,Q]}return G.selectionBefore=Q.selectionBefore=G.selectionAfter=Q.selectionAfter=null,[Q,G]}function U(G,Q){var W=G.action=="insert",ne=Q.action=="insert";if(W&&ne)y(G.start,Q.start)<0?J(Q,G,1):J(G,Q,1);else if(W&&!ne)y(G.start,Q.end)>=0?J(G,Q,-1):(y(G.start,Q.start)<=0||J(G,S.fromPoints(Q.start,G.start),-1),J(Q,G,1));else if(!W&&ne)y(Q.start,G.end)>=0?J(Q,G,-1):(y(Q.start,G.start)<=0||J(Q,S.fromPoints(G.start,Q.start),-1),J(G,Q,1));else if(!W&&!ne)if(y(Q.start,G.end)>=0)J(Q,G,-1);else if(y(Q.end,G.start)<=0)J(G,Q,-1);else{var te,_e;return y(G.start,Q.start)<0&&(te=G,G=X(G,Q.start)),y(G.end,Q.end)>0&&(_e=X(G,Q.end)),$(Q.end,G.start,G.end,-1),_e&&!te&&(G.lines=_e.lines,G.start=_e.start,G.end=_e.end,_e=G),[Q,te,_e].filter(Boolean)}return[Q,G]}function J(G,Q,W){$(G.start,Q.start,Q.end,W),$(G.end,Q.start,Q.end,W)}function $(G,Q,W,ne){G.row==(ne==1?Q:W).row&&(G.column+=ne*(W.column-Q.column)),G.row+=ne*(W.row-Q.row)}function X(G,Q){var W=G.lines,ne=G.end;G.end=T(Q);var te=G.end.row-G.start.row,_e=W.splice(te,W.length),he=te?Q.column:Q.column-G.start.column;W.push(_e[0].substring(0,he)),_e[0]=_e[0].substr(he);var oe={start:T(Q),end:ne,lines:_e,action:G.action};return oe}function ee(G,Q){Q=j(Q);for(var W=G.length;W--;){for(var ne=G[W],te=0;te<ne.length;te++){var _e=ne[te],he=U(_e,Q);Q=he[0],he.length!=2&&(he[2]?(ne.splice(te+1,1,he[1],he[2]),te++):he[1]||(ne.splice(te,1),te--))}ne.length||G.splice(W,1)}return G}function ie(G,Q){for(var W=0;W<Q.length;W++)for(var ne=Q[W],te=0;te<ne.length;te++)ee(G,ne[te])}O.UndoManager=k}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=function(){function S(y,w){this.element=y,this.canvasHeight=w||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return S.prototype.moveContainer=function(y){k.translate(this.element,0,-(y.firstRowScreen*y.lineHeight%this.canvasHeight)-y.offset*this.$offsetCoefficient)},S.prototype.pageChanged=function(y,w){return Math.floor(y.firstRowScreen*y.lineHeight/this.canvasHeight)!==Math.floor(w.firstRowScreen*w.lineHeight/this.canvasHeight)},S.prototype.computeLineTop=function(y,w,x){var T=w.firstRowScreen*w.lineHeight,j=Math.floor(T/this.canvasHeight),D=x.documentToScreenRow(y,0)*w.lineHeight;return D-j*this.canvasHeight},S.prototype.computeLineHeight=function(y,w,x){return w.lineHeight*x.getRowLineCount(y)},S.prototype.getLength=function(){return this.cells.length},S.prototype.get=function(y){return this.cells[y]},S.prototype.shift=function(){this.$cacheCell(this.cells.shift())},S.prototype.pop=function(){this.$cacheCell(this.cells.pop())},S.prototype.push=function(y){if(Array.isArray(y)){this.cells.push.apply(this.cells,y);for(var w=k.createFragment(this.element),x=0;x<y.length;x++)w.appendChild(y[x].element);this.element.appendChild(w)}else this.cells.push(y),this.element.appendChild(y.element)},S.prototype.unshift=function(y){if(Array.isArray(y)){this.cells.unshift.apply(this.cells,y);for(var w=k.createFragment(this.element),x=0;x<y.length;x++)w.appendChild(y[x].element);this.element.firstChild?this.element.insertBefore(w,this.element.firstChild):this.element.appendChild(w)}else this.cells.unshift(y),this.element.insertAdjacentElement("afterbegin",y.element)},S.prototype.last=function(){return this.cells.length?this.cells[this.cells.length-1]:null},S.prototype.$cacheCell=function(y){!y||(y.element.remove(),this.cellCache.push(y))},S.prototype.createCell=function(y,w,x,T){var j=this.cellCache.pop();if(!j){var D=k.createElement("div");T&&T(D),this.element.appendChild(D),j={element:D,text:"",row:y}}return j.row=y,j},S}();O.Lines=A}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/layer/lines","ace/config"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=m("../lib/oop"),S=m("../lib/lang"),y=m("../lib/event_emitter").EventEmitter,w=m("./lines").Lines,x=m("../config").nls,T=function(){function D(N){this.element=k.createElement("div"),this.element.className="ace_layer ace_gutter-layer",N.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new w(this.element),this.$lines.$offsetCoefficient=1}return D.prototype.setSession=function(N){this.session&&this.session.off("change",this.$updateAnnotations),this.session=N,N&&N.on("change",this.$updateAnnotations)},D.prototype.addGutterDecoration=function(N,F){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(N,F)},D.prototype.removeGutterDecoration=function(N,F){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(N,F)},D.prototype.setAnnotations=function(N){this.$annotations=[];for(var F=0;F<N.length;F++){var B=N[F],U=B.row,J=this.$annotations[U];J||(J=this.$annotations[U]={text:[],type:[]});var $=B.text,X=B.type;$=$?S.escapeHTML($):B.html||"",J.text.indexOf($)===-1&&(J.text.push($),J.type.push(X));var ee=B.className;ee?J.className=ee:X=="error"?J.className=" ace_error":X=="warning"&&J.className!=" ace_error"?J.className=" ace_warning":X=="info"&&!J.className&&(J.className=" ace_info")}},D.prototype.$updateAnnotations=function(N){if(!!this.$annotations.length){var F=N.start.row,B=N.end.row-F;if(B!==0)if(N.action=="remove")this.$annotations.splice(F,B+1,null);else{var U=new Array(B+1);U.unshift(F,1),this.$annotations.splice.apply(this.$annotations,U)}}},D.prototype.update=function(N){this.config=N;var F=this.session,B=N.firstRow,U=Math.min(N.lastRow+N.gutterOffset,F.getLength()-1);this.oldLastRow=U,this.config=N,this.$lines.moveContainer(N),this.$updateCursorRow();for(var J=F.getNextFoldLine(B),$=J?J.start.row:Infinity,X=null,ee=-1,ie=B;;){if(ie>$&&(ie=J.end.row+1,J=F.getNextFoldLine(ie,J),$=J?J.start.row:Infinity),ie>U){for(;this.$lines.getLength()>ee+1;)this.$lines.pop();break}X=this.$lines.get(++ee),X?X.row=ie:(X=this.$lines.createCell(ie,N,this.session,j),this.$lines.push(X)),this.$renderCell(X,N,J,ie),ie++}this._signal("afterRender"),this.$updateGutterWidth(N)},D.prototype.$updateGutterWidth=function(N){var F=this.session,B=F.gutterRenderer||this.$renderer,U=F.$firstLineNumber,J=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||F.$useWrapMode)&&(J=F.getLength()+U-1);var $=B?B.getWidth(F,J,N):J.toString().length*N.characterWidth,X=this.$padding||this.$computePadding();$+=X.left+X.right,$!==this.gutterWidth&&!isNaN($)&&(this.gutterWidth=$,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",$))},D.prototype.$updateCursorRow=function(){if(!!this.$highlightGutterLine){var N=this.session.selection.getCursor();this.$cursorRow!==N.row&&(this.$cursorRow=N.row)}},D.prototype.updateLineHighlight=function(){if(!!this.$highlightGutterLine){var N=this.session.selection.cursor.row;if(this.$cursorRow=N,!(this.$cursorCell&&this.$cursorCell.row==N)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var F=this.$lines.cells;this.$cursorCell=null;for(var B=0;B<F.length;B++){var U=F[B];if(U.row>=this.$cursorRow){if(U.row>this.$cursorRow){var J=this.session.getFoldLine(this.$cursorRow);if(B>0&&J&&J.start.row==F[B-1].row)U=F[B-1];else break}U.element.className="ace_gutter-active-line "+U.element.className,this.$cursorCell=U;break}}}}},D.prototype.scrollLines=function(N){var F=this.config;if(this.config=N,this.$updateCursorRow(),this.$lines.pageChanged(F,N))return this.update(N);this.$lines.moveContainer(N);var B=Math.min(N.lastRow+N.gutterOffset,this.session.getLength()-1),U=this.oldLastRow;if(this.oldLastRow=B,!F||U<N.firstRow)return this.update(N);if(B<F.firstRow)return this.update(N);if(F.firstRow<N.firstRow)for(var J=this.session.getFoldedRowCount(F.firstRow,N.firstRow-1);J>0;J--)this.$lines.shift();if(U>B)for(var J=this.session.getFoldedRowCount(B+1,U);J>0;J--)this.$lines.pop();N.firstRow<F.firstRow&&this.$lines.unshift(this.$renderLines(N,N.firstRow,F.firstRow-1)),B>U&&this.$lines.push(this.$renderLines(N,U+1,B)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(N)},D.prototype.$renderLines=function(N,F,B){for(var U=[],J=F,$=this.session.getNextFoldLine(J),X=$?$.start.row:Infinity;J>X&&(J=$.end.row+1,$=this.session.getNextFoldLine(J,$),X=$?$.start.row:Infinity),!(J>B);){var ee=this.$lines.createCell(J,N,this.session,j);this.$renderCell(ee,N,$,J),U.push(ee),J++}return U},D.prototype.$renderCell=function(N,F,B,U){var J=N.element,$=this.session,X=J.childNodes[0],ee=J.childNodes[1],ie=J.childNodes[2],G=ie.firstChild,Q=$.$firstLineNumber,W=$.$breakpoints,ne=$.$decorations,te=$.gutterRenderer||this.$renderer,_e=this.$showFoldWidgets&&$.foldWidgets,he=B?B.start.row:Number.MAX_VALUE,oe=F.lineHeight+"px",ge=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",me=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",Z=(te?te.getText($,U):U+Q).toString();if(this.$highlightGutterLine&&(U==this.$cursorRow||B&&U<this.$cursorRow&&U>=he&&this.$cursorRow<=B.end.row)&&(ge+="ace_gutter-active-line ",this.$cursorCell!=N&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=N)),W[U]&&(ge+=W[U]),ne[U]&&(ge+=ne[U]),this.$annotations[U]&&U!==he&&(ge+=this.$annotations[U].className),_e){var xe=_e[U];xe==null&&(xe=_e[U]=$.getFoldWidget(U))}if(xe){var Ee="ace_fold-widget ace_"+xe,Le=xe=="start"&&U==he&&U<B.end.row;if(Le){Ee+=" ace_closed";for(var we="",fe=!1,pe=U+1;pe<=B.end.row;pe++)if(!!this.$annotations[pe]){if(this.$annotations[pe].className===" ace_error"){fe=!0,we=" ace_error_fold";break}if(this.$annotations[pe].className===" ace_warning"){fe=!0,we=" ace_warning_fold";continue}}ge+=we}else Ee+=" ace_open";ee.className!=Ee&&(ee.className=Ee),k.setStyle(ee.style,"height",oe),k.setStyle(ee.style,"display","inline-block"),ee.setAttribute("role","button"),ee.setAttribute("tabindex","-1");var Ke=$.getFoldWidgetRange(U);Ke?ee.setAttribute("aria-label",x("Toggle code folding, rows $0 through $1",[Ke.start.row+1,Ke.end.row+1])):B?ee.setAttribute("aria-label",x("Toggle code folding, rows $0 through $1",[B.start.row+1,B.end.row+1])):ee.setAttribute("aria-label",x("Toggle code folding, row $0",[U+1])),Le?(ee.setAttribute("aria-expanded","false"),ee.setAttribute("title",x("Unfold code"))):(ee.setAttribute("aria-expanded","true"),ee.setAttribute("title",x("Fold code")))}else ee&&(k.setStyle(ee.style,"display","none"),ee.setAttribute("tabindex","0"),ee.removeAttribute("role"),ee.removeAttribute("aria-label"));return fe&&this.$showFoldedAnnotations?(ie.className="ace_gutter_annotation",G.className=me,G.className+=we,k.setStyle(G.style,"height",oe),k.setStyle(ie.style,"display","block"),k.setStyle(ie.style,"height",oe),ie.setAttribute("aria-label",x("Read annotations row $0",[Z])),ie.setAttribute("tabindex","-1"),ie.setAttribute("role","button")):this.$annotations[U]?(ie.className="ace_gutter_annotation",G.className=me,this.$useSvgGutterIcons?G.className+=this.$annotations[U].className:J.classList.add(this.$annotations[U].className.replace(" ","")),k.setStyle(G.style,"height",oe),k.setStyle(ie.style,"display","block"),k.setStyle(ie.style,"height",oe),ie.setAttribute("aria-label",x("Read annotations row $0",[Z])),ie.setAttribute("tabindex","-1"),ie.setAttribute("role","button")):(k.setStyle(ie.style,"display","none"),ie.removeAttribute("aria-label"),ie.removeAttribute("role"),ie.setAttribute("tabindex","0")),Z!==X.data&&(X.data=Z),J.className!=ge&&(J.className=ge),k.setStyle(N.element.style,"height",this.$lines.computeLineHeight(U,F,$)+"px"),k.setStyle(N.element.style,"top",this.$lines.computeLineTop(U,F,$)+"px"),N.text=Z,ie.style.display==="none"&&ee.style.display==="none"?N.element.setAttribute("aria-hidden",!0):N.element.setAttribute("aria-hidden",!1),N},D.prototype.setHighlightGutterLine=function(N){this.$highlightGutterLine=N},D.prototype.setShowLineNumbers=function(N){this.$renderer=!N&&{getWidth:function(){return 0},getText:function(){return""}}},D.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},D.prototype.setShowFoldWidgets=function(N){N?k.addCssClass(this.element,"ace_folding-enabled"):k.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=N,this.$padding=null},D.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},D.prototype.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var N=k.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=(parseInt(N.borderLeftWidth)||0)+(parseInt(N.paddingLeft)||0)+1,this.$padding.right=(parseInt(N.borderRightWidth)||0)+(parseInt(N.paddingRight)||0),this.$padding},D.prototype.getRegion=function(N){var F=this.$padding||this.$computePadding(),B=this.element.getBoundingClientRect();if(N.x<F.left+B.left)return"markers";if(this.$showFoldWidgets&&N.x>B.right-F.right)return"foldWidgets"},D}();T.prototype.$fixedWidth=!1,T.prototype.$highlightGutterLine=!0,T.prototype.$renderer="",T.prototype.$showLineNumbers=!0,T.prototype.$showFoldWidgets=!0,A.implement(T.prototype,y);function j(D){var N=document.createTextNode("");D.appendChild(N);var F=k.createElement("span");D.appendChild(F);var B=k.createElement("span");D.appendChild(B);var U=k.createElement("span");return B.appendChild(U),D}O.Gutter=T}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(m,O,C){"use strict";var k=m("../range").Range,A=m("../lib/dom"),S=function(){function w(x){this.element=A.createElement("div"),this.element.className="ace_layer ace_marker-layer",x.appendChild(this.element)}return w.prototype.setPadding=function(x){this.$padding=x},w.prototype.setSession=function(x){this.session=x},w.prototype.setMarkers=function(x){this.markers=x},w.prototype.elt=function(x,T){var j=this.i!=-1&&this.element.childNodes[this.i];j?this.i++:(j=document.createElement("div"),this.element.appendChild(j),this.i=-1),j.style.cssText=T,j.className=x},w.prototype.update=function(x){if(!!x){this.config=x,this.i=0;var T;for(var j in this.markers){var D=this.markers[j];if(!D.range){D.update(T,this,this.session,x);continue}var N=D.range.clipRows(x.firstRow,x.lastRow);if(!N.isEmpty())if(N=N.toScreenRange(this.session),D.renderer){var F=this.$getTop(N.start.row,x),B=this.$padding+N.start.column*x.characterWidth;D.renderer(T,N,B,F,x)}else D.type=="fullLine"?this.drawFullLineMarker(T,N,D.clazz,x):D.type=="screenLine"?this.drawScreenLineMarker(T,N,D.clazz,x):N.isMultiLine()?D.type=="text"?this.drawTextMarker(T,N,D.clazz,x):this.drawMultiLineMarker(T,N,D.clazz,x):this.drawSingleLineMarker(T,N,D.clazz+" ace_start ace_br15",x)}if(this.i!=-1)for(;this.i<this.element.childElementCount;)this.element.removeChild(this.element.lastChild)}},w.prototype.$getTop=function(x,T){return(x-T.firstRowScreen)*T.lineHeight},w.prototype.drawTextMarker=function(x,T,j,D,N){for(var F=this.session,B=T.start.row,U=T.end.row,J=B,$=0,X=0,ee=F.getScreenLastRowColumn(J),ie=new k(J,T.start.column,J,X);J<=U;J++)ie.start.row=ie.end.row=J,ie.start.column=J==B?T.start.column:F.getRowWrapIndent(J),ie.end.column=ee,$=X,X=ee,ee=J+1<U?F.getScreenLastRowColumn(J+1):J==U?0:T.end.column,this.drawSingleLineMarker(x,ie,j+(J==B?" ace_start":"")+" ace_br"+y(J==B||J==B+1&&T.start.column,$<X,X>ee,J==U),D,J==U?0:1,N)},w.prototype.drawMultiLineMarker=function(x,T,j,D,N){var F=this.$padding,B=D.lineHeight,U=this.$getTop(T.start.row,D),J=F+T.start.column*D.characterWidth;if(N=N||"",this.session.$bidiHandler.isBidiRow(T.start.row)){var $=T.clone();$.end.row=$.start.row,$.end.column=this.session.getLine($.start.row).length,this.drawBidiSingleLineMarker(x,$,j+" ace_br1 ace_start",D,null,N)}else this.elt(j+" ace_br1 ace_start","height:"+B+"px;right:0;top:"+U+"px;left:"+J+"px;"+(N||""));if(this.session.$bidiHandler.isBidiRow(T.end.row)){var $=T.clone();$.start.row=$.end.row,$.start.column=0,this.drawBidiSingleLineMarker(x,$,j+" ace_br12",D,null,N)}else{U=this.$getTop(T.end.row,D);var X=T.end.column*D.characterWidth;this.elt(j+" ace_br12","height:"+B+"px;width:"+X+"px;top:"+U+"px;left:"+F+"px;"+(N||""))}if(B=(T.end.row-T.start.row-1)*D.lineHeight,!(B<=0)){U=this.$getTop(T.start.row+1,D);var ee=(T.start.column?1:0)|(T.end.column?0:8);this.elt(j+(ee?" ace_br"+ee:""),"height:"+B+"px;right:0;top:"+U+"px;left:"+F+"px;"+(N||""))}},w.prototype.drawSingleLineMarker=function(x,T,j,D,N,F){if(this.session.$bidiHandler.isBidiRow(T.start.row))return this.drawBidiSingleLineMarker(x,T,j,D,N,F);var B=D.lineHeight,U=(T.end.column+(N||0)-T.start.column)*D.characterWidth,J=this.$getTop(T.start.row,D),$=this.$padding+T.start.column*D.characterWidth;this.elt(j,"height:"+B+"px;width:"+U+"px;top:"+J+"px;left:"+$+"px;"+(F||""))},w.prototype.drawBidiSingleLineMarker=function(x,T,j,D,N,F){var B=D.lineHeight,U=this.$getTop(T.start.row,D),J=this.$padding,$=this.session.$bidiHandler.getSelections(T.start.column,T.end.column);$.forEach(function(X){this.elt(j,"height:"+B+"px;width:"+(X.width+(N||0))+"px;top:"+U+"px;left:"+(J+X.left)+"px;"+(F||""))},this)},w.prototype.drawFullLineMarker=function(x,T,j,D,N){var F=this.$getTop(T.start.row,D),B=D.lineHeight;T.start.row!=T.end.row&&(B+=this.$getTop(T.end.row,D)-F),this.elt(j,"height:"+B+"px;top:"+F+"px;left:0;right:0;"+(N||""))},w.prototype.drawScreenLineMarker=function(x,T,j,D,N){var F=this.$getTop(T.start.row,D),B=D.lineHeight;this.elt(j,"height:"+B+"px;top:"+F+"px;left:0;right:0;"+(N||""))},w}();S.prototype.$padding=0;function y(w,x,T,j){return(w?1:0)|(x?2:0)|(T?4:0)|(j?8:0)}O.Marker=S}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config"],function(m,O,C){"use strict";var k=m("../lib/oop"),A=m("../lib/dom"),S=m("../lib/lang"),y=m("./lines").Lines,w=m("../lib/event_emitter").EventEmitter,x=m("../config").nls,T=function(){function j(D){this.dom=A,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",D.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new y(this.element)}return j.prototype.$updateEolChar=function(){var D=this.session.doc,N=D.getNewLineCharacter()==`
`&&D.getNewLineMode()!="windows",F=N?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=F)return this.EOL_CHAR=F,!0},j.prototype.setPadding=function(D){this.$padding=D,this.element.style.margin="0 "+D+"px"},j.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},j.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},j.prototype.$setFontMetrics=function(D){this.$fontMetrics=D,this.$fontMetrics.on("changeCharacterSize",function(N){this._signal("changeCharacterSize",N)}.bind(this)),this.$pollSizeChanges()},j.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},j.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},j.prototype.setSession=function(D){this.session=D,D&&this.$computeTabString()},j.prototype.setShowInvisibles=function(D){return this.showInvisibles==D?!1:(this.showInvisibles=D,typeof D=="string"?(this.showSpaces=/tab/i.test(D),this.showTabs=/space/i.test(D),this.showEOL=/eol/i.test(D)):this.showSpaces=this.showTabs=this.showEOL=D,this.$computeTabString(),!0)},j.prototype.setDisplayIndentGuides=function(D){return this.displayIndentGuides==D?!1:(this.displayIndentGuides=D,this.$computeTabString(),!0)},j.prototype.setHighlightIndentGuides=function(D){return this.$highlightIndentGuides===D?!1:(this.$highlightIndentGuides=D,D)},j.prototype.$computeTabString=function(){var D=this.session.getTabSize();this.tabSize=D;for(var N=this.$tabStrings=[0],F=1;F<D+1;F++)if(this.showTabs){var B=this.dom.createElement("span");B.className="ace_invisible ace_invisible_tab",B.textContent=S.stringRepeat(this.TAB_CHAR,F),N.push(B)}else N.push(this.dom.createTextNode(S.stringRepeat(" ",F),this.element));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var U="ace_indent-guide",J=this.showSpaces?" ace_invisible ace_invisible_space":"",$=this.showSpaces?S.stringRepeat(this.SPACE_CHAR,this.tabSize):S.stringRepeat(" ",this.tabSize),X=this.showTabs?" ace_invisible ace_invisible_tab":"",ee=this.showTabs?S.stringRepeat(this.TAB_CHAR,this.tabSize):$,B=this.dom.createElement("span");B.className=U+J,B.textContent=$,this.$tabStrings[" "]=B;var B=this.dom.createElement("span");B.className=U+X,B.textContent=ee,this.$tabStrings[" "]=B}},j.prototype.updateLines=function(D,N,F){if(this.config.lastRow!=D.lastRow||this.config.firstRow!=D.firstRow)return this.update(D);this.config=D;for(var B=Math.max(N,D.firstRow),U=Math.min(F,D.lastRow),J=this.element.childNodes,$=0,ee=D.firstRow;ee<B;ee++){var ie=this.session.getFoldLine(ee);if(ie)if(ie.containsRow(B)){B=ie.start.row;break}else ee=ie.end.row;$++}for(var X=!1,ee=B,ie=this.session.getNextFoldLine(ee),G=ie?ie.start.row:Infinity;ee>G&&(ee=ie.end.row+1,ie=this.session.getNextFoldLine(ee,ie),G=ie?ie.start.row:Infinity),!(ee>U);){var Q=J[$++];if(Q){this.dom.removeChildren(Q),this.$renderLine(Q,ee,ee==G?ie:!1),X&&(Q.style.top=this.$lines.computeLineTop(ee,D,this.session)+"px");var W=D.lineHeight*this.session.getRowLength(ee)+"px";Q.style.height!=W&&(X=!0,Q.style.height=W)}ee++}if(X)for(;$<this.$lines.cells.length;){var ne=this.$lines.cells[$++];ne.element.style.top=this.$lines.computeLineTop(ne.row,D,this.session)+"px"}},j.prototype.scrollLines=function(D){var N=this.config;if(this.config=D,this.$lines.pageChanged(N,D))return this.update(D);this.$lines.moveContainer(D);var F=D.lastRow,B=N?N.lastRow:-1;if(!N||B<D.firstRow)return this.update(D);if(F<N.firstRow)return this.update(D);if(!N||N.lastRow<D.firstRow)return this.update(D);if(D.lastRow<N.firstRow)return this.update(D);if(N.firstRow<D.firstRow)for(var U=this.session.getFoldedRowCount(N.firstRow,D.firstRow-1);U>0;U--)this.$lines.shift();if(N.lastRow>D.lastRow)for(var U=this.session.getFoldedRowCount(D.lastRow+1,N.lastRow);U>0;U--)this.$lines.pop();D.firstRow<N.firstRow&&this.$lines.unshift(this.$renderLinesFragment(D,D.firstRow,N.firstRow-1)),D.lastRow>N.lastRow&&this.$lines.push(this.$renderLinesFragment(D,N.lastRow+1,D.lastRow)),this.$highlightIndentGuide()},j.prototype.$renderLinesFragment=function(D,N,F){for(var B=[],U=N,J=this.session.getNextFoldLine(U),$=J?J.start.row:Infinity;U>$&&(U=J.end.row+1,J=this.session.getNextFoldLine(U,J),$=J?J.start.row:Infinity),!(U>F);){var X=this.$lines.createCell(U,D,this.session),ee=X.element;this.dom.removeChildren(ee),A.setStyle(ee.style,"height",this.$lines.computeLineHeight(U,D,this.session)+"px"),A.setStyle(ee.style,"top",this.$lines.computeLineTop(U,D,this.session)+"px"),this.$renderLine(ee,U,U==$?J:!1),this.$useLineGroups()?ee.className="ace_line_group":ee.className="ace_line",B.push(X),U++}return B},j.prototype.update=function(D){this.$lines.moveContainer(D),this.config=D;for(var N=D.firstRow,F=D.lastRow,B=this.$lines;B.getLength();)B.pop();B.push(this.$renderLinesFragment(D,N,F))},j.prototype.$renderToken=function(D,N,F,B){for(var U=this,J=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,$=this.dom.createFragment(this.element),X,ee=0;X=J.exec(B);){var ie=X[1],G=X[2],Q=X[3],W=X[4],ne=X[5];if(!(!U.showSpaces&&G)){var te=ee!=X.index?B.slice(ee,X.index):"";if(ee=X.index+X[0].length,te&&$.appendChild(this.dom.createTextNode(te,this.element)),ie){var _e=U.session.getScreenTabSize(N+X.index);$.appendChild(U.$tabStrings[_e].cloneNode(!0)),N+=_e-1}else if(G)if(U.showSpaces){var he=this.dom.createElement("span");he.className="ace_invisible ace_invisible_space",he.textContent=S.stringRepeat(U.SPACE_CHAR,G.length),$.appendChild(he)}else $.appendChild(this.com.createTextNode(G,this.element));else if(Q){var he=this.dom.createElement("span");he.className="ace_invisible ace_invisible_space ace_invalid",he.textContent=S.stringRepeat(U.SPACE_CHAR,Q.length),$.appendChild(he)}else if(W){N+=1;var he=this.dom.createElement("span");he.style.width=U.config.characterWidth*2+"px",he.className=U.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",he.textContent=U.showSpaces?U.SPACE_CHAR:W,$.appendChild(he)}else if(ne){N+=1;var he=this.dom.createElement("span");he.style.width=U.config.characterWidth*2+"px",he.className="ace_cjk",he.textContent=ne,$.appendChild(he)}}}if($.appendChild(this.dom.createTextNode(ee?B.slice(ee):B,this.element)),this.$textToken[F.type])D.appendChild($);else{var oe="ace_"+F.type.replace(/\./g," ace_"),he=this.dom.createElement("span");F.type=="fold"&&(he.style.width=F.value.length*this.config.characterWidth+"px",he.setAttribute("title",x("Unfold code"))),he.className=oe,he.appendChild($),D.appendChild(he)}return N+B.length},j.prototype.renderIndentGuide=function(D,N,F){var B=N.search(this.$indentGuideRe);if(B<=0||B>=F)return N;if(N[0]==" "){B-=B%this.tabSize;for(var U=B/this.tabSize,J=0;J<U;J++)D.appendChild(this.$tabStrings[" "].cloneNode(!0));return this.$highlightIndentGuide(),N.substr(B)}else if(N[0]==" "){for(var J=0;J<B;J++)D.appendChild(this.$tabStrings[" "].cloneNode(!0));return this.$highlightIndentGuide(),N.substr(B)}return this.$highlightIndentGuide(),N},j.prototype.$highlightIndentGuide=function(){if(!(!this.$highlightIndentGuides||!this.displayIndentGuides)){this.$highlightIndentGuideMarker={indentLevel:void 0,start:void 0,end:void 0,dir:void 0};var D=this.session.doc.$lines;if(!!D){var N=this.session.selection.getCursor(),F=/^\s*/.exec(this.session.doc.getLine(N.row))[0].length,B=Math.floor(F/this.tabSize);this.$highlightIndentGuideMarker={indentLevel:B,start:N.row};var U=this.session.$bracketHighlight;if(U){for(var J=this.session.$bracketHighlight.ranges,$=0;$<J.length;$++)if(N.row!==J[$].start.row){this.$highlightIndentGuideMarker.end=J[$].start.row,N.row>J[$].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&D[N.row]!==""&&N.column===D[N.row].length){this.$highlightIndentGuideMarker.dir=1;for(var $=N.row+1;$<D.length;$++){var X=D[$],ee=/^\s*/.exec(X)[0].length;if(X!==""&&(this.$highlightIndentGuideMarker.end=$,ee<=F))break}}this.$renderHighlightIndentGuide()}}},j.prototype.$clearActiveIndentGuide=function(){for(var D=this.$lines.cells,N=0;N<D.length;N++){var F=D[N],B=F.element.childNodes;if(B.length>0){for(var U=0;U<B.length;U++)if(B[U].classList&&B[U].classList.contains("ace_indent-guide-active")){B[U].classList.remove("ace_indent-guide-active");break}}}},j.prototype.$setIndentGuideActive=function(D,N){var F=this.session.doc.getLine(D.row);if(F!==""){var B=D.element.childNodes;if(B){var U=B[N-1];U&&U.classList&&U.classList.contains("ace_indent-guide")&&U.classList.add("ace_indent-guide-active")}}},j.prototype.$renderHighlightIndentGuide=function(){if(!!this.$lines){var D=this.$lines.cells;this.$clearActiveIndentGuide();var N=this.$highlightIndentGuideMarker.indentLevel;if(N!==0)if(this.$highlightIndentGuideMarker.dir===1)for(var F=0;F<D.length;F++){var B=D[F];if(this.$highlightIndentGuideMarker.end&&B.row>=this.$highlightIndentGuideMarker.start+1){if(B.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(B,N)}}else for(var F=D.length-1;F>=0;F--){var B=D[F];if(this.$highlightIndentGuideMarker.end&&B.row<this.$highlightIndentGuideMarker.start){if(B.row<=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(B,N)}}}},j.prototype.$createLineElement=function(D){var N=this.dom.createElement("div");return N.className="ace_line",N.style.height=this.config.lineHeight+"px",N},j.prototype.$renderWrappedLine=function(D,N,F){var B=0,U=0,J=F[0],$=0,X=this.$createLineElement();D.appendChild(X);for(var ee=0;ee<N.length;ee++){var ie=N[ee],G=ie.value;if(ee==0&&this.displayIndentGuides){if(B=G.length,G=this.renderIndentGuide(X,G,J),!G)continue;B-=G.length}if(B+G.length<J)$=this.$renderToken(X,$,ie,G),B+=G.length;else{for(;B+G.length>=J;)$=this.$renderToken(X,$,ie,G.substring(0,J-B)),G=G.substring(J-B),B=J,X=this.$createLineElement(),D.appendChild(X),X.appendChild(this.dom.createTextNode(S.stringRepeat("\xA0",F.indent),this.element)),U++,$=0,J=F[U]||Number.MAX_VALUE;G.length!=0&&(B+=G.length,$=this.$renderToken(X,$,ie,G))}}F[F.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(X,$,null,"",!0)},j.prototype.$renderSimpleLine=function(D,N){for(var F=0,B=0;B<N.length;B++){var U=N[B],J=U.value;if(!(B==0&&this.displayIndentGuides&&(J=this.renderIndentGuide(D,J),!J))){if(F+J.length>this.MAX_LINE_LENGTH)return this.$renderOverflowMessage(D,F,U,J);F=this.$renderToken(D,F,U,J)}}},j.prototype.$renderOverflowMessage=function(D,N,F,B,U){F&&this.$renderToken(D,N,F,B.slice(0,this.MAX_LINE_LENGTH-N));var J=this.dom.createElement("span");J.className="ace_inline_button ace_keyword ace_toggle_wrap",J.textContent=U?"<hide>":"<click to see more...>",D.appendChild(J)},j.prototype.$renderLine=function(D,N,F){if(!F&&F!=!1&&(F=this.session.getFoldLine(N)),F)var B=this.$getFoldLineTokens(N,F);else var B=this.session.getTokens(N);var U=D;if(B.length){var J=this.session.getRowSplitData(N);if(J&&J.length){this.$renderWrappedLine(D,B,J);var U=D.lastChild}else{var U=D;this.$useLineGroups()&&(U=this.$createLineElement(),D.appendChild(U)),this.$renderSimpleLine(U,B)}}else this.$useLineGroups()&&(U=this.$createLineElement(),D.appendChild(U));if(this.showEOL&&U){F&&(N=F.end.row);var $=this.dom.createElement("span");$.className="ace_invisible ace_invisible_eol",$.textContent=N==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,U.appendChild($)}},j.prototype.$getFoldLineTokens=function(D,N){var F=this.session,B=[];function U($,X,ee){for(var ie=0,G=0;G+$[ie].value.length<X;)if(G+=$[ie].value.length,ie++,ie==$.length)return;if(G!=X){var Q=$[ie].value.substring(X-G);Q.length>ee-X&&(Q=Q.substring(0,ee-X)),B.push({type:$[ie].type,value:Q}),G=X+Q.length,ie+=1}for(;G<ee&&ie<$.length;){var Q=$[ie].value;Q.length+G>ee?B.push({type:$[ie].type,value:Q.substring(0,ee-G)}):B.push($[ie]),G+=Q.length,ie+=1}}var J=F.getTokens(D);return N.walk(function($,X,ee,ie,G){$!=null?B.push({type:"fold",value:$}):(G&&(J=F.getTokens(X)),J.length&&U(J,ie,ee))},N.end.row,this.session.getLine(N.end.row).length),B},j.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},j}();T.prototype.$textToken={text:!0,rparen:!0,lparen:!0},T.prototype.EOF_CHAR="\xB6",T.prototype.EOL_CHAR_LF="\xAC",T.prototype.EOL_CHAR_CRLF="\xA4",T.prototype.EOL_CHAR=T.prototype.EOL_CHAR_LF,T.prototype.TAB_CHAR="\u2014",T.prototype.SPACE_CHAR="\xB7",T.prototype.$padding=0,T.prototype.MAX_LINE_LENGTH=1e4,T.prototype.showInvisibles=!1,T.prototype.showSpaces=!1,T.prototype.showTabs=!1,T.prototype.showEOL=!1,T.prototype.displayIndentGuides=!0,T.prototype.$highlightIndentGuides=!0,T.prototype.$tabStrings=[],T.prototype.destroy={},T.prototype.onChangeTabSize=T.prototype.$computeTabString,k.implement(T.prototype,w),O.Text=T}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=function(){function S(y){this.element=k.createElement("div"),this.element.className="ace_layer ace_cursor-layer",y.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),k.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return S.prototype.$updateOpacity=function(y){for(var w=this.cursors,x=w.length;x--;)k.setStyle(w[x].style,"opacity",y?"":"0")},S.prototype.$startCssAnimation=function(){for(var y=this.cursors,w=y.length;w--;)y[w].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&k.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},S.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,k.removeCssClass(this.element,"ace_animate-blinking")},S.prototype.setPadding=function(y){this.$padding=y},S.prototype.setSession=function(y){this.session=y},S.prototype.setBlinking=function(y){y!=this.isBlinking&&(this.isBlinking=y,this.restartTimer())},S.prototype.setBlinkInterval=function(y){y!=this.blinkInterval&&(this.blinkInterval=y,this.restartTimer())},S.prototype.setSmoothBlinking=function(y){y!=this.smoothBlinking&&(this.smoothBlinking=y,k.setCssClass(this.element,"ace_smooth-blinking",y),this.$updateCursors(!0),this.restartTimer())},S.prototype.addCursor=function(){var y=k.createElement("div");return y.className="ace_cursor",this.element.appendChild(y),this.cursors.push(y),y},S.prototype.removeCursor=function(){if(this.cursors.length>1){var y=this.cursors.pop();return y.parentNode.removeChild(y),y}},S.prototype.hideCursor=function(){this.isVisible=!1,k.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.showCursor=function(){this.isVisible=!0,k.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.restartTimer=function(){var y=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,k.removeCssClass(this.element,"ace_smooth-blinking")),y(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&k.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),k.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var w=function(){this.timeoutId=setTimeout(function(){y(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){y(!0),w()},this.blinkInterval),w()}},S.prototype.getPixelPosition=function(y,w){if(!this.config||!this.session)return{left:0,top:0};y||(y=this.session.selection.getCursor());var x=this.session.documentToScreenPosition(y),T=this.$padding+(this.session.$bidiHandler.isBidiRow(x.row,y.row)?this.session.$bidiHandler.getPosLeft(x.column):x.column*this.config.characterWidth),j=(x.row-(w?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:T,top:j}},S.prototype.isCursorInView=function(y,w){return y.top>=0&&y.top<w.maxHeight},S.prototype.update=function(y){this.config=y;var w=this.session.$selectionMarkers,x=0,T=0;(w===void 0||w.length===0)&&(w=[{cursor:null}]);for(var x=0,j=w.length;x<j;x++){var D=this.getPixelPosition(w[x].cursor,!0);if(!((D.top>y.height+y.offset||D.top<0)&&x>1)){var N=this.cursors[T++]||this.addCursor(),F=N.style;this.drawCursor?this.drawCursor(N,D,y,w[x],this.session):this.isCursorInView(D,y)?(k.setStyle(F,"display","block"),k.translate(N,D.left,D.top),k.setStyle(F,"width",Math.round(y.characterWidth)+"px"),k.setStyle(F,"height",y.lineHeight+"px")):k.setStyle(F,"display","none")}}for(;this.cursors.length>T;)this.removeCursor();var B=this.session.getOverwrite();this.$setOverwrite(B),this.$pixelPos=D,this.restartTimer()},S.prototype.$setOverwrite=function(y){y!=this.overwrite&&(this.overwrite=y,y?k.addCssClass(this.element,"ace_overwrite-cursors"):k.removeCssClass(this.element,"ace_overwrite-cursors"))},S.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},S}();A.prototype.$padding=0,A.prototype.drawCursor=null,O.Cursor=A}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var N=function(B,U){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,$){J.__proto__=$}||function(J,$){for(var X in $)Object.prototype.hasOwnProperty.call($,X)&&(J[X]=$[X])},N(B,U)};return function(F,B){if(typeof B!="function"&&B!==null)throw new TypeError("Class extends value "+String(B)+" is not a constructor or null");N(F,B);function U(){this.constructor=F}F.prototype=B===null?Object.create(B):(U.prototype=B.prototype,new U)}}(),A=m("./lib/oop"),S=m("./lib/dom"),y=m("./lib/event"),w=m("./lib/event_emitter").EventEmitter,x=32768,T=function(){function N(F,B){this.element=S.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+B,this.inner=S.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),F.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,y.addListener(this.element,"scroll",this.onScroll.bind(this)),y.addListener(this.element,"mousedown",y.preventDefault)}return N.prototype.setVisible=function(F){this.element.style.display=F?"":"none",this.isVisible=F,this.coeff=1},N}();A.implement(T.prototype,w);var j=function(N){k(F,N);function F(B,U){var J=N.call(this,B,"-v")||this;return J.scrollTop=0,J.scrollHeight=0,U.$scrollbarWidth=J.width=S.scrollbarWidth(B.ownerDocument),J.inner.style.width=J.element.style.width=(J.width||15)+5+"px",J.$minWidth=0,J}return F.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var B=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-B)/(this.coeff-B)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},F.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},F.prototype.setHeight=function(B){this.element.style.height=B+"px"},F.prototype.setScrollHeight=function(B){this.scrollHeight=B,B>x?(this.coeff=x/B,B=x):this.coeff!=1&&(this.coeff=1),this.inner.style.height=B+"px"},F.prototype.setScrollTop=function(B){this.scrollTop!=B&&(this.skipEvent=!0,this.scrollTop=B,this.element.scrollTop=B*this.coeff)},F}(T);j.prototype.setInnerHeight=j.prototype.setScrollHeight;var D=function(N){k(F,N);function F(B,U){var J=N.call(this,B,"-h")||this;return J.scrollLeft=0,J.height=U.$scrollbarWidth,J.inner.style.height=J.element.style.height=(J.height||15)+5+"px",J}return F.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},F.prototype.getHeight=function(){return this.isVisible?this.height:0},F.prototype.setWidth=function(B){this.element.style.width=B+"px"},F.prototype.setInnerWidth=function(B){this.inner.style.width=B+"px"},F.prototype.setScrollWidth=function(B){this.inner.style.width=B+"px"},F.prototype.setScrollLeft=function(B){this.scrollLeft!=B&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=B)},F}(T);O.ScrollBar=j,O.ScrollBarV=j,O.ScrollBarH=D,O.VScrollBar=j,O.HScrollBar=D}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(m,O,C){"use strict";var k=this&&this.__extends||function(){var D=function(F,B){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,J){U.__proto__=J}||function(U,J){for(var $ in J)Object.prototype.hasOwnProperty.call(J,$)&&(U[$]=J[$])},D(F,B)};return function(N,F){if(typeof F!="function"&&F!==null)throw new TypeError("Class extends value "+String(F)+" is not a constructor or null");D(N,F);function B(){this.constructor=N}N.prototype=F===null?Object.create(F):(B.prototype=F.prototype,new B)}}(),A=m("./lib/oop"),S=m("./lib/dom"),y=m("./lib/event"),w=m("./lib/event_emitter").EventEmitter;S.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{
position: absolute;
background: rgba(128, 128, 128, 0.6);
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #bbb;
border-radius: 2px;
z-index: 8;
}
.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {
position: absolute;
z-index: 6;
background: none;
overflow: hidden!important;
}
.ace_editor>.ace_sb-v {
z-index: 6;
right: 0;
top: 0;
width: 12px;
}
.ace_editor>.ace_sb-v div {
z-index: 8;
right: 0;
width: 100%;
}
.ace_editor>.ace_sb-h {
bottom: 0;
left: 0;
height: 12px;
}
.ace_editor>.ace_sb-h div {
bottom: 0;
height: 100%;
}
.ace_editor>.ace_sb_grabbed {
z-index: 8;
background: #000;
}`,"ace_scrollbar.css",!1);var x=function(){function D(N,F){this.element=S.createElement("div"),this.element.className="ace_sb"+F,this.inner=S.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,N.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,y.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return D.prototype.setVisible=function(N){this.element.style.display=N?"":"none",this.isVisible=N,this.coeff=1},D}();A.implement(x.prototype,w);var T=function(D){k(N,D);function N(F,B){var U=D.call(this,F,"-v")||this;return U.scrollTop=0,U.scrollHeight=0,U.parent=F,U.width=U.VScrollWidth,U.renderer=B,U.inner.style.width=U.element.style.width=(U.width||15)+"px",U.$minWidth=0,U}return N.prototype.onMouseDown=function(F,B){if(F==="mousedown"&&!(y.getButton(B)!==0||B.detail===2)){if(B.target===this.inner){var U=this,J=B.clientY,$=function(te){J=te.clientY},X=function(){clearInterval(Q)},ee=B.clientY,ie=this.thumbTop,G=function(){if(J!==void 0){var te=U.scrollTopFromThumbTop(ie+J-ee);te!==U.scrollTop&&U._emit("scroll",{data:te})}};y.capture(this.inner,$,X);var Q=setInterval(G,20);return y.preventDefault(B)}var W=B.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(W)}),y.preventDefault(B)}},N.prototype.getHeight=function(){return this.height},N.prototype.scrollTopFromThumbTop=function(F){var B=F*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return B=B>>0,B<0?B=0:B>this.pageHeight-this.viewHeight&&(B=this.pageHeight-this.viewHeight),B},N.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},N.prototype.setHeight=function(F){this.height=Math.max(0,F),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},N.prototype.setScrollHeight=function(F,B){this.pageHeight===F&&!B||(this.pageHeight=F,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},N.prototype.setScrollTop=function(F){this.scrollTop=F,F<0&&(F=0),this.thumbTop=F*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},N}(x);T.prototype.setInnerHeight=T.prototype.setScrollHeight;var j=function(D){k(N,D);function N(F,B){var U=D.call(this,F,"-h")||this;return U.scrollLeft=0,U.scrollWidth=0,U.height=U.HScrollHeight,U.inner.style.height=U.element.style.height=(U.height||12)+"px",U.renderer=B,U}return N.prototype.onMouseDown=function(F,B){if(F==="mousedown"&&!(y.getButton(B)!==0||B.detail===2)){if(B.target===this.inner){var U=this,J=B.clientX,$=function(te){J=te.clientX},X=function(){clearInterval(Q)},ee=B.clientX,ie=this.thumbLeft,G=function(){if(J!==void 0){var te=U.scrollLeftFromThumbLeft(ie+J-ee);te!==U.scrollLeft&&U._emit("scroll",{data:te})}};y.capture(this.inner,$,X);var Q=setInterval(G,20);return y.preventDefault(B)}var W=B.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(W)}),y.preventDefault(B)}},N.prototype.getHeight=function(){return this.isVisible?this.height:0},N.prototype.scrollLeftFromThumbLeft=function(F){var B=F*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return B=B>>0,B<0?B=0:B>this.pageWidth-this.viewWidth&&(B=this.pageWidth-this.viewWidth),B},N.prototype.setWidth=function(F){this.width=Math.max(0,F),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},N.prototype.setScrollWidth=function(F,B){this.pageWidth===F&&!B||(this.pageWidth=F,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},N.prototype.setScrollLeft=function(F){this.scrollLeft=F,F<0&&(F=0),this.thumbLeft=F*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},N}(x);j.prototype.setInnerWidth=j.prototype.setScrollWidth,O.ScrollBar=T,O.ScrollBarV=T,O.ScrollBarH=j,O.VScrollBar=T,O.HScrollBar=j}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(m,O,C){"use strict";var k=m("./lib/event"),A=function(){function S(y,w){this.onRender=y,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=w||window;var x=this;this._flush=function(T){x.pending=!1;var j=x.changes;if(j&&(k.blockIdle(100),x.changes=0,x.onRender(j)),x.changes){if(x.$recursionLimit--<0)return;x.schedule()}else x.$recursionLimit=2}}return S.prototype.schedule=function(y){this.changes=this.changes|y,this.changes&&!this.pending&&(k.nextFrame(this._flush),this.pending=!0)},S.prototype.clear=function(y){var w=this.changes;return this.changes=0,w},S}();O.RenderLoop=A}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(m,O,C){var k=m("../lib/oop"),A=m("../lib/dom"),S=m("../lib/lang"),y=m("../lib/event"),w=m("../lib/useragent"),x=m("../lib/event_emitter").EventEmitter,T=512,j=typeof ResizeObserver=="function",D=200,N=function(){function F(B){this.el=A.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=A.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=A.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),B.appendChild(this.el),this.$measureNode.textContent=S.stringRepeat("X",T),this.$characterSize={width:0,height:0},j?this.$addObserver():this.checkForSizeChanges()}return F.prototype.$setMeasureNodeStyles=function(B,U){B.width=B.height="auto",B.left=B.top="0px",B.visibility="hidden",B.position="absolute",B.whiteSpace="pre",w.isIE<8?B["font-family"]="inherit":B.font="inherit",B.overflow=U?"hidden":"visible"},F.prototype.checkForSizeChanges=function(B){if(B===void 0&&(B=this.$measureSizes()),B&&(this.$characterSize.width!==B.width||this.$characterSize.height!==B.height)){this.$measureNode.style.fontWeight="bold";var U=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=B,this.charSizes=Object.create(null),this.allowBoldFonts=U&&U.width===B.width&&U.height===B.height,this._emit("changeCharacterSize",{data:B})}},F.prototype.$addObserver=function(){var B=this;this.$observer=new window.ResizeObserver(function(U){B.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},F.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var B=this;return this.$pollSizeChangesTimer=y.onIdle(function U(){B.checkForSizeChanges(),y.onIdle(U,500)},500)},F.prototype.setPolling=function(B){B?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},F.prototype.$measureSizes=function(B){var U={height:(B||this.$measureNode).clientHeight,width:(B||this.$measureNode).clientWidth/T};return U.width===0||U.height===0?null:U},F.prototype.$measureCharWidth=function(B){this.$main.textContent=S.stringRepeat(B,T);var U=this.$main.getBoundingClientRect();return U.width/T},F.prototype.getCharacterWidth=function(B){var U=this.charSizes[B];return U===void 0&&(U=this.charSizes[B]=this.$measureCharWidth(B)/this.$characterSize.width),U},F.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},F.prototype.$getZoom=function(B){return!B||!B.parentElement?1:(window.getComputedStyle(B).zoom||1)*this.$getZoom(B.parentElement)},F.prototype.$initTransformMeasureNodes=function(){var B=function(J,$){return["div",{style:"position: absolute;top:"+J+"px;left:"+$+"px;"}]};this.els=A.buildDom([B(0,0),B(D,0),B(0,D),B(D,D)],this.el)},F.prototype.transformCoordinates=function(B,U){if(B){var J=this.$getZoom(this.el);B=ie(1/J,B)}function $(Le,we,fe){var pe=Le[1]*we[0]-Le[0]*we[1];return[(-we[1]*fe[0]+we[0]*fe[1])/pe,(+Le[1]*fe[0]-Le[0]*fe[1])/pe]}function X(Le,we){return[Le[0]-we[0],Le[1]-we[1]]}function ee(Le,we){return[Le[0]+we[0],Le[1]+we[1]]}function ie(Le,we){return[Le*we[0],Le*we[1]]}this.els||this.$initTransformMeasureNodes();function G(Le){var we=Le.getBoundingClientRect();return[we.left,we.top]}var Q=G(this.els[0]),W=G(this.els[1]),ne=G(this.els[2]),te=G(this.els[3]),_e=$(X(te,W),X(te,ne),X(ee(W,ne),ee(te,Q))),he=ie(1+_e[0],X(W,Q)),oe=ie(1+_e[1],X(ne,Q));if(U){var ge=U,me=_e[0]*ge[0]/D+_e[1]*ge[1]/D+1,Z=ee(ie(ge[0],he),ie(ge[1],oe));return ee(ie(1/me/D,Z),Q)}var xe=X(B,Q),Ee=$(X(he,ie(_e[0],xe)),X(oe,ie(_e[1],xe)),xe);return ie(D,Ee)},F}();N.prototype.$characterSize={width:0,height:0},k.implement(N.prototype,x),O.FontMetrics=N}),ace.define("ace/css/editor-css",["require","exports","module"],function(m,O,C){C.exports=`
.ace_br1 {border-top-left-radius : 3px;}
.ace_br2 {border-top-right-radius : 3px;}
.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}
.ace_br4 {border-bottom-right-radius: 3px;}
.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}
.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}
.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}
.ace_br8 {border-bottom-left-radius : 3px;}
.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}
.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}
.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}
.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
.ace_editor {
position: relative;
overflow: hidden;
padding: 0;
font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
direction: ltr;
text-align: left;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.ace_scroller {
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
background-color: inherit;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
cursor: text;
}
.ace_content {
position: absolute;
box-sizing: border-box;
min-width: 100%;
contain: style size layout;
font-variant-ligatures: no-common-ligatures;
}
.ace_keyboard-focus:focus {
box-shadow: inset 0 0 0 2px #5E9ED6;
outline: none;
}
.ace_dragging .ace_scroller:before{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: '';
background: rgba(250, 250, 250, 0.01);
z-index: 1000;
}
.ace_dragging.ace_dark .ace_scroller:before{
background: rgba(0, 0, 0, 0.01);
}
.ace_gutter {
position: absolute;
overflow : hidden;
width: auto;
top: 0;
bottom: 0;
left: 0;
cursor: default;
z-index: 4;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
contain: style size layout;
}
.ace_gutter-active-line {
position: absolute;
left: 0;
right: 0;
}
.ace_scroller.ace_scroll-left:after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;
pointer-events: none;
}
.ace_gutter-cell, .ace_gutter-cell_svg-icons {
position: absolute;
top: 0;
left: 0;
right: 0;
padding-left: 19px;
padding-right: 6px;
background-repeat: no-repeat;
}
.ace_gutter-cell_svg-icons .ace_gutter_annotation {
margin-left: -14px;
float: left;
}
.ace_gutter-cell .ace_gutter_annotation {
margin-left: -19px;
float: left;
}
.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");
background-repeat: no-repeat;
background-position: 2px center;
}
.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");
background-repeat: no-repeat;
background-position: 2px center;
}
.ace_gutter-cell.ace_info, .ace_icon.ace_info {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");
background-repeat: no-repeat;
background-position: 2px center;
}
.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");
}
.ace_icon_svg.ace_error {
-webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");
background-color: crimson;
}
.ace_icon_svg.ace_warning {
-webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");
background-color: darkorange;
}
.ace_icon_svg.ace_info {
-webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");
background-color: royalblue;
}
.ace_icon_svg.ace_error_fold {
-webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");
background-color: crimson;
}
.ace_icon_svg.ace_warning_fold {
-webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");
background-color: darkorange;
}
.ace_scrollbar {
contain: strict;
position: absolute;
right: 0;
bottom: 0;
z-index: 6;
}
.ace_scrollbar-inner {
position: absolute;
cursor: text;
left: 0;
top: 0;
}
.ace_scrollbar-v{
overflow-x: hidden;
overflow-y: scroll;
top: 0;
}
.ace_scrollbar-h {
overflow-x: scroll;
overflow-y: hidden;
left: 0;
}
.ace_print-margin {
position: absolute;
height: 100%;
}
.ace_text-input {
position: absolute;
z-index: 0;
width: 0.5em;
height: 1em;
opacity: 0;
background: transparent;
-moz-appearance: none;
appearance: none;
border: none;
resize: none;
outline: none;
overflow: hidden;
font: inherit;
padding: 0 1px;
margin: 0 -1px;
contain: strict;
-ms-user-select: text;
-moz-user-select: text;
-webkit-user-select: text;
user-select: text;
/*with \`pre-line\` chrome inserts &nbsp; instead of space*/
white-space: pre!important;
}
.ace_text-input.ace_composition {
background: transparent;
color: inherit;
z-index: 1000;
opacity: 1;
}
.ace_composition_placeholder { color: transparent }
.ace_composition_marker {
border-bottom: 1px solid;
position: absolute;
border-radius: 0;
margin-top: 1px;
}
[ace_nocontext=true] {
transform: none!important;
filter: none!important;
clip-path: none!important;
mask : none!important;
contain: none!important;
perspective: none!important;
mix-blend-mode: initial!important;
z-index: auto;
}
.ace_layer {
z-index: 1;
position: absolute;
overflow: hidden;
/* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/
word-wrap: normal;
white-space: pre;
height: 100%;
width: 100%;
box-sizing: border-box;
/* setting pointer-events: auto; on node under the mouse, which changes
during scroll, will break mouse wheel scrolling in Safari */
pointer-events: none;
}
.ace_gutter-layer {
position: relative;
width: auto;
text-align: right;
pointer-events: auto;
height: 1000000px;
contain: style size layout;
}
.ace_text-layer {
font: inherit !important;
position: absolute;
height: 1000000px;
width: 1000000px;
contain: style size layout;
}
.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {
contain: style size layout;
position: absolute;
top: 0;
left: 0;
right: 0;
}
.ace_hidpi .ace_text-layer,
.ace_hidpi .ace_gutter-layer,
.ace_hidpi .ace_content,
.ace_hidpi .ace_gutter {
contain: strict;
}
.ace_hidpi .ace_text-layer > .ace_line,
.ace_hidpi .ace_text-layer > .ace_line_group {
contain: strict;
}
.ace_cjk {
display: inline-block;
text-align: center;
}
.ace_cursor-layer {
z-index: 4;
}
.ace_cursor {
z-index: 4;
position: absolute;
box-sizing: border-box;
border-left: 2px solid;
/* workaround for smooth cursor repaintng whole screen in chrome */
transform: translatez(0);
}
.ace_multiselect .ace_cursor {
border-left-width: 1px;
}
.ace_slim-cursors .ace_cursor {
border-left-width: 1px;
}
.ace_overwrite-cursors .ace_cursor {
border-left-width: 0;
border-bottom: 1px solid;
}
.ace_hidden-cursors .ace_cursor {
opacity: 0.2;
}
.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {
opacity: 0;
}
.ace_smooth-blinking .ace_cursor {
transition: opacity 0.18s;
}
.ace_animate-blinking .ace_cursor {
animation-duration: 1000ms;
animation-timing-function: step-end;
animation-name: blink-ace-animate;
animation-iteration-count: infinite;
}
.ace_animate-blinking.ace_smooth-blinking .ace_cursor {
animation-duration: 1000ms;
animation-timing-function: ease-in-out;
animation-name: blink-ace-animate-smooth;
}
@keyframes blink-ace-animate {
from, to { opacity: 1; }
60% { opacity: 0; }
}
@keyframes blink-ace-animate-smooth {
from, to { opacity: 1; }
45% { opacity: 1; }
60% { opacity: 0; }
85% { opacity: 0; }
}
.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {
position: absolute;
z-index: 3;
}
.ace_marker-layer .ace_selection {
position: absolute;
z-index: 5;
}
.ace_marker-layer .ace_bracket {
position: absolute;
z-index: 6;
}
.ace_marker-layer .ace_error_bracket {
position: absolute;
border-bottom: 1px solid #DE5555;
border-radius: 0;
}
.ace_marker-layer .ace_active-line {
position: absolute;
z-index: 2;
}
.ace_marker-layer .ace_selected-word {
position: absolute;
z-index: 4;
box-sizing: border-box;
}
.ace_line .ace_fold {
box-sizing: border-box;
display: inline-block;
height: 11px;
margin-top: -2px;
vertical-align: middle;
background-image:
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");
background-repeat: no-repeat, repeat-x;
background-position: center center, top left;
color: transparent;
border: 1px solid black;
border-radius: 2px;
cursor: pointer;
pointer-events: auto;
}
.ace_dark .ace_fold {
}
.ace_fold:hover{
background-image:
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");
}
.ace_tooltip {
background-color: #f5f5f5;
border: 1px solid gray;
border-radius: 1px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
color: black;
max-width: 100%;
padding: 3px 4px;
position: fixed;
z-index: 999999;
box-sizing: border-box;
cursor: default;
white-space: pre;
word-wrap: break-word;
line-height: normal;
font-style: normal;
font-weight: normal;
letter-spacing: normal;
pointer-events: none;
}
.ace_tooltip.ace_dark {
background-color: #636363;
color: #fff;
}
.ace_tooltip:focus {
outline: 1px solid #5E9ED6;
}
.ace_icon {
display: inline-block;
width: 18px;
vertical-align: top;
}
.ace_icon_svg {
display: inline-block;
width: 12px;
vertical-align: top;
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: 12px;
-webkit-mask-position: center;
}
.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {
padding-right: 13px;
}
.ace_fold-widget {
box-sizing: border-box;
margin: 0 -12px 0 1px;
display: none;
width: 11px;
vertical-align: top;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");
background-repeat: no-repeat;
background-position: center;
border-radius: 3px;
border: 1px solid transparent;
cursor: pointer;
}
.ace_folding-enabled .ace_fold-widget {
display: inline-block;
}
.ace_fold-widget.ace_end {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");
}
.ace_fold-widget.ace_closed {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");
}
.ace_fold-widget:hover {
border: 1px solid rgba(0, 0, 0, 0.3);
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}
.ace_fold-widget:active {
border: 1px solid rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
/**
* Dark version for fold widgets
*/
.ace_dark .ace_fold-widget {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");
}
.ace_dark .ace_fold-widget.ace_end {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");
}
.ace_dark .ace_fold-widget.ace_closed {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");
}
.ace_dark .ace_fold-widget:hover {
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
background-color: rgba(255, 255, 255, 0.1);
}
.ace_dark .ace_fold-widget:active {
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}
.ace_inline_button {
border: 1px solid lightgray;
display: inline-block;
margin: -1px 8px;
padding: 0 5px;
pointer-events: auto;
cursor: pointer;
}
.ace_inline_button:hover {
border-color: gray;
background: rgba(200,200,200,0.2);
display: inline-block;
pointer-events: auto;
}
.ace_fold-widget.ace_invalid {
background-color: #FFB4B4;
border-color: #DE5555;
}
.ace_fade-fold-widgets .ace_fold-widget {
transition: opacity 0.4s ease 0.05s;
opacity: 0;
}
.ace_fade-fold-widgets:hover .ace_fold-widget {
transition: opacity 0.05s ease 0.05s;
opacity:1;
}
.ace_underline {
text-decoration: underline;
}
.ace_bold {
font-weight: bold;
}
.ace_nobold .ace_bold {
font-weight: normal;
}
.ace_italic {
font-style: italic;
}
.ace_error-marker {
background-color: rgba(255, 0, 0,0.2);
position: absolute;
z-index: 9;
}
.ace_highlight-marker {
background-color: rgba(255, 255, 0,0.2);
position: absolute;
z-index: 8;
}
.ace_mobile-menu {
position: absolute;
line-height: 1.5;
border-radius: 4px;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
background: white;
box-shadow: 1px 3px 2px grey;
border: 1px solid #dcdcdc;
color: black;
}
.ace_dark > .ace_mobile-menu {
background: #333;
color: #ccc;
box-shadow: 1px 3px 2px grey;
border: 1px solid #444;
}
.ace_mobile-button {
padding: 2px;
cursor: pointer;
overflow: hidden;
}
.ace_mobile-button:hover {
background-color: #eee;
opacity:1;
}
.ace_mobile-button:active {
background-color: #ddd;
}
.ace_placeholder {
font-family: arial;
transform: scale(0.9);
transform-origin: left;
white-space: pre;
opacity: 0.7;
margin: 0 10px;
}
.ace_ghost_text {
opacity: 0.5;
font-style: italic;
white-space: pre;
}`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(m,O,C){"use strict";var k=m("../lib/dom"),A=m("../lib/oop"),S=m("../lib/event_emitter").EventEmitter,y=function(){function w(x,T){this.canvas=k.createElement("canvas"),this.renderer=T,this.pixelRatio=1,this.maxHeight=T.layerConfig.maxHeight,this.lineHeight=T.layerConfig.lineHeight,this.canvasHeight=x.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=x.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top=0+"px",this.canvas.style.right=0+"px",this.canvas.style.zIndex=7+"px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},x.element.appendChild(this.canvas)}return w.prototype.$updateDecorators=function(x){var T=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;if(x){this.maxHeight=x.maxHeight,this.lineHeight=x.lineHeight,this.canvasHeight=x.height;var j=(x.lastRow+1)*this.lineHeight;j<this.canvasHeight?this.heightRatio=1:this.heightRatio=this.canvasHeight/this.maxHeight}var D=this.canvas.getContext("2d");function N(te,_e){return te.priority<_e.priority?-1:te.priority>_e.priority?1:0}var F=this.renderer.session.$annotations;if(D.clearRect(0,0,this.canvas.width,this.canvas.height),F){var B={info:1,warning:2,error:3};F.forEach(function(te){te.priority=B[te.type]||null}),F=F.sort(N);for(var U=this.renderer.session.$foldData,J=0;J<F.length;J++){var $=F[J].row,X=this.compensateFoldRows($,U),ee=Math.round(($-X)*this.lineHeight*this.heightRatio),ie=Math.round(($-X)*this.lineHeight*this.heightRatio),G=Math.round((($-X)*this.lineHeight+this.lineHeight)*this.heightRatio),Q=G-ie;if(Q<this.minDecorationHeight){var W=(ie+G)/2|0;W<this.halfMinDecorationHeight?W=this.halfMinDecorationHeight:W+this.halfMinDecorationHeight>this.canvasHeight&&(W=this.canvasHeight-this.halfMinDecorationHeight),ie=Math.round(W-this.halfMinDecorationHeight),G=Math.round(W+this.halfMinDecorationHeight)}D.fillStyle=T[F[J].type]||null,D.fillRect(0,ee,this.canvasWidth,G-ie)}}var ne=this.renderer.session.selection.getCursor();if(ne){var X=this.compensateFoldRows(ne.row,U),ee=Math.round((ne.row-X)*this.lineHeight*this.heightRatio);D.fillStyle="rgba(0, 0, 0, 0.5)",D.fillRect(0,ee,this.canvasWidth,2)}},w.prototype.compensateFoldRows=function(x,T){var j=0;if(T&&T.length>0)for(var D=0;D<T.length;D++)x>T[D].start.row&&x<T[D].end.row?j+=x-T[D].start.row:x>=T[D].end.row&&(j+=T[D].end.row-T[D].start.row);return j},w}();A.implement(y.prototype,S),O.Decorator=y}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(m,O,C){"use strict";var k=m("./lib/oop"),A=m("./lib/dom"),S=m("./lib/lang"),y=m("./config"),w=m("./layer/gutter").Gutter,x=m("./layer/marker").Marker,T=m("./layer/text").Text,j=m("./layer/cursor").Cursor,D=m("./scrollbar").HScrollBar,N=m("./scrollbar").VScrollBar,F=m("./scrollbar_custom").HScrollBar,B=m("./scrollbar_custom").VScrollBar,U=m("./renderloop").RenderLoop,J=m("./layer/font_metrics").FontMetrics,$=m("./lib/event_emitter").EventEmitter,X=m("./css/editor-css"),ee=m("./layer/decorators").Decorator,ie=m("./lib/useragent");A.importCssString(X,"ace_editor.css",!1);var G=function(){function Q(W,ne){var te=this;this.container=W||A.createElement("div"),A.addCssClass(this.container,"ace_editor"),A.HI_DPI&&A.addCssClass(this.container,"ace_hidpi"),this.setTheme(ne),y.get("useStrictCSP")==null&&y.set("useStrictCSP",!1),this.$gutter=A.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=A.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=A.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new w(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new x(this.content);var _e=this.$textLayer=new T(this.content);this.canvas=_e.element,this.$markerFront=new x(this.content),this.$cursorLayer=new j(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new N(this.container,this),this.scrollBarH=new D(this.container,this),this.scrollBarV.on("scroll",function(he){te.$scrollAnimation||te.session.setScrollTop(he.data-te.scrollMargin.top)}),this.scrollBarH.on("scroll",function(he){te.$scrollAnimation||te.session.setScrollLeft(he.data-te.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new J(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(he){te.updateCharacterSize(),te.onResize(!0,te.gutterWidth,te.$size.width,te.$size.height),te._signal("changeCharacterSize",he)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!ie.isIOS,this.$loop=new U(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),y.resetOptions(this),y._signal("renderer",this)}return Q.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),A.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},Q.prototype.setSession=function(W){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=W,W&&this.scrollMargin.top&&W.getScrollTop()<=0&&W.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(W),this.$markerBack.setSession(W),this.$markerFront.setSession(W),this.$gutterLayer.setSession(W),this.$textLayer.setSession(W),!!W&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},Q.prototype.updateLines=function(W,ne,te){if(ne===void 0&&(ne=Infinity),this.$changedLines?(this.$changedLines.firstRow>W&&(this.$changedLines.firstRow=W),this.$changedLines.lastRow<ne&&(this.$changedLines.lastRow=ne)):this.$changedLines={firstRow:W,lastRow:ne},this.$changedLines.lastRow<this.layerConfig.firstRow)if(te)this.$changedLines.lastRow=this.layerConfig.lastRow;else return;this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},Q.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},Q.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},Q.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},Q.prototype.updateFull=function(W){W?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},Q.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},Q.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},Q.prototype.onResize=function(W,ne,te,_e){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=W?1:0;var he=this.container;_e||(_e=he.clientHeight||he.scrollHeight),te||(te=he.clientWidth||he.scrollWidth);var oe=this.$updateCachedSize(W,ne,te,_e);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!te&&!_e)return this.resizing=0;W&&(this.$gutterLayer.$padding=null),W?this.$renderChanges(oe|this.$changes,!0):this.$loop.schedule(oe|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},Q.prototype.$updateCachedSize=function(W,ne,te,_e){_e-=this.$extraHeight||0;var he=0,oe=this.$size,ge={width:oe.width,height:oe.height,scrollerHeight:oe.scrollerHeight,scrollerWidth:oe.scrollerWidth};if(_e&&(W||oe.height!=_e)&&(oe.height=_e,he|=this.CHANGE_SIZE,oe.scrollerHeight=oe.height,this.$horizScroll&&(oe.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(oe.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",he=he|this.CHANGE_SCROLL),te&&(W||oe.width!=te)){he|=this.CHANGE_SIZE,oe.width=te,ne==null&&(ne=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=ne,A.setStyle(this.scrollBarH.element.style,"left",ne+"px"),A.setStyle(this.scroller.style,"left",ne+this.margin.left+"px"),oe.scrollerWidth=Math.max(0,te-ne-this.scrollBarV.getWidth()-this.margin.h),A.setStyle(this.$gutter.style,"left",this.margin.left+"px");var me=this.scrollBarV.getWidth()+"px";A.setStyle(this.scrollBarH.element.style,"right",me),A.setStyle(this.scroller.style,"right",me),A.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(oe.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||W)&&(he|=this.CHANGE_FULL)}return oe.$dirty=!te||!_e,he&&this._signal("resize",ge),he},Q.prototype.onGutterResize=function(W){var ne=this.$showGutter?W:0;ne!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,ne,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},Q.prototype.adjustWrapLimit=function(){var W=this.$size.scrollerWidth-this.$padding*2,ne=Math.floor(W/this.characterWidth);return this.session.adjustWrapLimit(ne,this.$showPrintMargin&&this.$printMarginColumn)},Q.prototype.setAnimatedScroll=function(W){this.setOption("animatedScroll",W)},Q.prototype.getAnimatedScroll=function(){return this.$animatedScroll},Q.prototype.setShowInvisibles=function(W){this.setOption("showInvisibles",W),this.session.$bidiHandler.setShowInvisibles(W)},Q.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},Q.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},Q.prototype.setDisplayIndentGuides=function(W){this.setOption("displayIndentGuides",W)},Q.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},Q.prototype.setHighlightIndentGuides=function(W){this.setOption("highlightIndentGuides",W)},Q.prototype.setShowPrintMargin=function(W){this.setOption("showPrintMargin",W)},Q.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},Q.prototype.setPrintMarginColumn=function(W){this.setOption("printMarginColumn",W)},Q.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},Q.prototype.getShowGutter=function(){return this.getOption("showGutter")},Q.prototype.setShowGutter=function(W){return this.setOption("showGutter",W)},Q.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},Q.prototype.setFadeFoldWidgets=function(W){this.setOption("fadeFoldWidgets",W)},Q.prototype.setHighlightGutterLine=function(W){this.setOption("highlightGutterLine",W)},Q.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},Q.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var W=A.createElement("div");W.className="ace_layer ace_print-margin-layer",this.$printMarginEl=A.createElement("div"),this.$printMarginEl.className="ace_print-margin",W.appendChild(this.$printMarginEl),this.content.insertBefore(W,this.content.firstChild)}var ne=this.$printMarginEl.style;ne.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",ne.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},Q.prototype.getContainerElement=function(){return this.container},Q.prototype.getMouseEventTarget=function(){return this.scroller},Q.prototype.getTextAreaContainer=function(){return this.container},Q.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var W=this.textarea.style,ne=this.$composition;if(!this.$keepTextAreaAtCursor&&!ne){A.translate(this.textarea,-100,0);return}var te=this.$cursorLayer.$pixelPos;if(!!te){ne&&ne.markerRange&&(te=this.$cursorLayer.getPixelPosition(ne.markerRange.start,!0));var _e=this.layerConfig,he=te.top,oe=te.left;he-=_e.offset;var ge=ne&&ne.useTextareaForIME||ie.isMobile?this.lineHeight:1;if(he<0||he>_e.height-ge){A.translate(this.textarea,0,0);return}var me=1,Z=this.$size.height-ge;if(!ne)he+=this.lineHeight;else if(ne.useTextareaForIME){var xe=this.textarea.value;me=this.characterWidth*this.session.$getStringScreenWidth(xe)[0]}else he+=this.lineHeight+2;oe-=this.scrollLeft,oe>this.$size.scrollerWidth-me&&(oe=this.$size.scrollerWidth-me),oe+=this.gutterWidth+this.margin.left,A.setStyle(W,"height",ge+"px"),A.setStyle(W,"width",me+"px"),A.translate(this.textarea,Math.min(oe,this.$size.scrollerWidth-me),Math.min(he,Z))}}},Q.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},Q.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},Q.prototype.getLastFullyVisibleRow=function(){var W=this.layerConfig,ne=W.lastRow,te=this.session.documentToScreenRow(ne,0)*W.lineHeight;return te-this.session.getScrollTop()>W.height-W.lineHeight?ne-1:ne},Q.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},Q.prototype.setPadding=function(W){this.$padding=W,this.$textLayer.setPadding(W),this.$cursorLayer.setPadding(W),this.$markerFront.setPadding(W),this.$markerBack.setPadding(W),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},Q.prototype.setScrollMargin=function(W,ne,te,_e){var he=this.scrollMargin;he.top=W|0,he.bottom=ne|0,he.right=_e|0,he.left=te|0,he.v=he.top+he.bottom,he.h=he.left+he.right,he.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-he.top),this.updateFull()},Q.prototype.setMargin=function(W,ne,te,_e){var he=this.margin;he.top=W|0,he.bottom=ne|0,he.right=_e|0,he.left=te|0,he.v=he.top+he.bottom,he.h=he.left+he.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},Q.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},Q.prototype.setHScrollBarAlwaysVisible=function(W){this.setOption("hScrollBarAlwaysVisible",W)},Q.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},Q.prototype.setVScrollBarAlwaysVisible=function(W){this.setOption("vScrollBarAlwaysVisible",W)},Q.prototype.$updateScrollBarV=function(){var W=this.layerConfig.maxHeight,ne=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(W-=(ne-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>W-ne&&(W=this.scrollTop+ne,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(W+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},Q.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},Q.prototype.freeze=function(){this.$frozen=!0},Q.prototype.unfreeze=function(){this.$frozen=!1},Q.prototype.$renderChanges=function(W,ne){if(this.$changes&&(W|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!W&&!ne){this.$changes|=W;return}if(this.$size.$dirty)return this.$changes|=W,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",W),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var te=this.layerConfig;if(W&this.CHANGE_FULL||W&this.CHANGE_SIZE||W&this.CHANGE_TEXT||W&this.CHANGE_LINES||W&this.CHANGE_SCROLL||W&this.CHANGE_H_SCROLL){if(W|=this.$computeLayerConfig()|this.$loop.clear(),te.firstRow!=this.layerConfig.firstRow&&te.firstRowScreen==this.layerConfig.firstRowScreen){var _e=this.scrollTop+(te.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;_e>0&&(this.scrollTop=_e,W=W|this.CHANGE_SCROLL,W|=this.$computeLayerConfig()|this.$loop.clear())}te=this.layerConfig,this.$updateScrollBarV(),W&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),A.translate(this.content,-this.scrollLeft,-te.offset);var he=te.width+2*this.$padding+"px",oe=te.minHeight+"px";A.setStyle(this.content.style,"width",he),A.setStyle(this.content.style,"height",oe)}if(W&this.CHANGE_H_SCROLL&&(A.translate(this.content,-this.scrollLeft,-te.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),W&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(te),this.$showGutter&&this.$gutterLayer.update(te),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(te),this.$markerBack.update(te),this.$markerFront.update(te),this.$cursorLayer.update(te),this.$moveTextAreaToCursor(),this._signal("afterRender",W);return}if(W&this.CHANGE_SCROLL){this.$changedLines=null,W&this.CHANGE_TEXT||W&this.CHANGE_LINES?this.$textLayer.update(te):this.$textLayer.scrollLines(te),this.$showGutter&&(W&this.CHANGE_GUTTER||W&this.CHANGE_LINES?this.$gutterLayer.update(te):this.$gutterLayer.scrollLines(te)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(te),this.$markerBack.update(te),this.$markerFront.update(te),this.$cursorLayer.update(te),this.$moveTextAreaToCursor(),this._signal("afterRender",W);return}W&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(te),this.$showGutter&&this.$gutterLayer.update(te),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(te)):W&this.CHANGE_LINES?((this.$updateLines()||W&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(te),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(te)):W&this.CHANGE_TEXT||W&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(te),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(te)):W&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(te),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(te)),W&this.CHANGE_CURSOR&&(this.$cursorLayer.update(te),this.$moveTextAreaToCursor()),W&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(te),W&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(te),this._signal("afterRender",W)},Q.prototype.$autosize=function(){var W=this.session.getScreenLength()*this.lineHeight,ne=this.$maxLines*this.lineHeight,te=Math.min(ne,Math.max((this.$minLines||1)*this.lineHeight,W))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(te+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&te>this.$maxPixelHeight&&(te=this.$maxPixelHeight);var _e=te<=2*this.lineHeight,he=!_e&&W>ne;if(te!=this.desiredHeight||this.$size.height!=this.desiredHeight||he!=this.$vScroll){he!=this.$vScroll&&(this.$vScroll=he,this.scrollBarV.setVisible(he));var oe=this.container.clientWidth;this.container.style.height=te+"px",this.$updateCachedSize(!0,this.$gutterWidth,oe,te),this.desiredHeight=te,this._signal("autosize")}},Q.prototype.$computeLayerConfig=function(){var W=this.session,ne=this.$size,te=ne.height<=2*this.lineHeight,_e=this.session.getScreenLength(),he=_e*this.lineHeight,oe=this.$getLongestLine(),ge=!te&&(this.$hScrollBarAlwaysVisible||ne.scrollerWidth-oe-2*this.$padding<0),me=this.$horizScroll!==ge;me&&(this.$horizScroll=ge,this.scrollBarH.setVisible(ge));var Z=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var xe=ne.scrollerHeight+this.lineHeight,Ee=!this.$maxLines&&this.$scrollPastEnd?(ne.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;he+=Ee;var Le=this.scrollMargin;this.session.setScrollTop(Math.max(-Le.top,Math.min(this.scrollTop,he-ne.scrollerHeight+Le.bottom))),this.session.setScrollLeft(Math.max(-Le.left,Math.min(this.scrollLeft,oe+2*this.$padding-ne.scrollerWidth+Le.right)));var we=!te&&(this.$vScrollBarAlwaysVisible||ne.scrollerHeight-he+Ee<0||this.scrollTop>Le.top),fe=Z!==we;fe&&(this.$vScroll=we,this.scrollBarV.setVisible(we));var pe=this.scrollTop%this.lineHeight,Ke=Math.ceil(xe/this.lineHeight)-1,Me=Math.max(0,Math.round((this.scrollTop-pe)/this.lineHeight)),ze=Me+Ke,Ue,He,Ne=this.lineHeight;Me=W.screenToDocumentRow(Me,0);var it=W.getFoldLine(Me);it&&(Me=it.start.row),Ue=W.documentToScreenRow(Me,0),He=W.getRowLength(Me)*Ne,ze=Math.min(W.screenToDocumentRow(ze,0),W.getLength()-1),xe=ne.scrollerHeight+W.getRowLength(ze)*Ne+He,pe=this.scrollTop-Ue*Ne;var Xe=0;return(this.layerConfig.width!=oe||me)&&(Xe=this.CHANGE_H_SCROLL),(me||fe)&&(Xe|=this.$updateCachedSize(!0,this.gutterWidth,ne.width,ne.height),this._signal("scrollbarVisibilityChanged"),fe&&(oe=this.$getLongestLine())),this.layerConfig={width:oe,padding:this.$padding,firstRow:Me,firstRowScreen:Ue,lastRow:ze,lineHeight:Ne,characterWidth:this.characterWidth,minHeight:xe,maxHeight:he,offset:pe,gutterOffset:Ne?Math.max(0,Math.ceil((pe+ne.height-ne.scrollerHeight)/Ne)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(oe-this.$padding),Xe},Q.prototype.$updateLines=function(){if(!!this.$changedLines){var W=this.$changedLines.firstRow,ne=this.$changedLines.lastRow;this.$changedLines=null;var te=this.layerConfig;if(!(W>te.lastRow+1)&&!(ne<te.firstRow)){if(ne===Infinity){this.$showGutter&&this.$gutterLayer.update(te),this.$textLayer.update(te);return}return this.$textLayer.updateLines(te,W,ne),!0}}},Q.prototype.$getLongestLine=function(){var W=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(W+=1),this.$textLayer&&W>this.$textLayer.MAX_LINE_LENGTH&&(W=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(W*this.characterWidth))},Q.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},Q.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},Q.prototype.addGutterDecoration=function(W,ne){this.$gutterLayer.addGutterDecoration(W,ne)},Q.prototype.removeGutterDecoration=function(W,ne){this.$gutterLayer.removeGutterDecoration(W,ne)},Q.prototype.updateBreakpoints=function(W){this.$loop.schedule(this.CHANGE_GUTTER)},Q.prototype.setAnnotations=function(W){this.$gutterLayer.setAnnotations(W),this.$loop.schedule(this.CHANGE_GUTTER)},Q.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},Q.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},Q.prototype.showCursor=function(){this.$cursorLayer.showCursor()},Q.prototype.scrollSelectionIntoView=function(W,ne,te){this.scrollCursorIntoView(W,te),this.scrollCursorIntoView(ne,te)},Q.prototype.scrollCursorIntoView=function(W,ne,te){if(this.$size.scrollerHeight!==0){var _e=this.$cursorLayer.getPixelPosition(W),he=_e.left,oe=_e.top,ge=te&&te.top||0,me=te&&te.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var Z=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;Z+ge>oe?(ne&&Z+ge>oe+this.lineHeight&&(oe-=ne*this.$size.scrollerHeight),oe===0&&(oe=-this.scrollMargin.top),this.session.setScrollTop(oe)):Z+this.$size.scrollerHeight-me<oe+this.lineHeight&&(ne&&Z+this.$size.scrollerHeight-me<oe-this.lineHeight&&(oe+=ne*this.$size.scrollerHeight),this.session.setScrollTop(oe+this.lineHeight+me-this.$size.scrollerHeight));var xe=this.scrollLeft,Ee=2*this.layerConfig.characterWidth;he-Ee<xe?(he-=Ee,he<this.$padding+Ee&&(he=-this.scrollMargin.left),this.session.setScrollLeft(he)):(he+=Ee,xe+this.$size.scrollerWidth<he+this.characterWidth?this.session.setScrollLeft(Math.round(he+this.characterWidth-this.$size.scrollerWidth)):xe<=this.$padding&&he-xe<this.characterWidth&&this.session.setScrollLeft(0))}},Q.prototype.getScrollTop=function(){return this.session.getScrollTop()},Q.prototype.getScrollLeft=function(){return this.session.getScrollLeft()},Q.prototype.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},Q.prototype.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},Q.prototype.scrollToRow=function(W){this.session.setScrollTop(W*this.lineHeight)},Q.prototype.alignCursor=function(W,ne){typeof W=="number"&&(W={row:W,column:0});var te=this.$cursorLayer.getPixelPosition(W),_e=this.$size.scrollerHeight-this.lineHeight,he=te.top-_e*(ne||0);return this.session.setScrollTop(he),he},Q.prototype.$calcSteps=function(W,ne){var te=0,_e=this.STEPS,he=[],oe=function(me,Z,xe){return xe*(Math.pow(me-1,3)+1)+Z};for(te=0;te<_e;++te)he.push(oe(te/this.STEPS,W,ne-W));return he},Q.prototype.scrollToLine=function(W,ne,te,_e){var he=this.$cursorLayer.getPixelPosition({row:W,column:0}),oe=he.top;ne&&(oe-=this.$size.scrollerHeight/2);var ge=this.scrollTop;this.session.setScrollTop(oe),te!==!1&&this.animateScrolling(ge,_e)},Q.prototype.animateScrolling=function(W,ne){var te=this.scrollTop;if(!this.$animatedScroll)return;var _e=this;if(W==te)return;if(this.$scrollAnimation){var he=this.$scrollAnimation.steps;if(he.length&&(W=he[0],W==te))return}var oe=_e.$calcSteps(W,te);this.$scrollAnimation={from:W,to:te,steps:oe},clearInterval(this.$timer),_e.session.setScrollTop(oe.shift()),_e.session.$scrollTop=te;function ge(){_e.$timer=clearInterval(_e.$timer),_e.$scrollAnimation=null,_e.$stopAnimation=!1,ne&&ne()}this.$timer=setInterval(function(){if(_e.$stopAnimation){ge();return}if(!_e.session)return clearInterval(_e.$timer);oe.length?(_e.session.setScrollTop(oe.shift()),_e.session.$scrollTop=te):te!=null?(_e.session.$scrollTop=-1,_e.session.setScrollTop(te),te=null):ge()},10)},Q.prototype.scrollToY=function(W){this.scrollTop!==W&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=W)},Q.prototype.scrollToX=function(W){this.scrollLeft!==W&&(this.scrollLeft=W),this.$loop.schedule(this.CHANGE_H_SCROLL)},Q.prototype.scrollTo=function(W,ne){this.session.setScrollTop(ne),this.session.setScrollLeft(W)},Q.prototype.scrollBy=function(W,ne){ne&&this.session.setScrollTop(this.session.getScrollTop()+ne),W&&this.session.setScrollLeft(this.session.getScrollLeft()+W)},Q.prototype.isScrollableBy=function(W,ne){if(ne<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||ne>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||W<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||W>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},Q.prototype.pixelToScreenCoordinates=function(W,ne){var te;if(this.$hasCssTransforms){te={top:0,left:0};var _e=this.$fontMetrics.transformCoordinates([W,ne]);W=_e[1]-this.gutterWidth-this.margin.left,ne=_e[0]}else te=this.scroller.getBoundingClientRect();var he=W+this.scrollLeft-te.left-this.$padding,oe=he/this.characterWidth,ge=Math.floor((ne+this.scrollTop-te.top)/this.lineHeight),me=this.$blockCursor?Math.floor(oe):Math.round(oe);return{row:ge,column:me,side:oe-me>0?1:-1,offsetX:he}},Q.prototype.screenToTextCoordinates=function(W,ne){var te;if(this.$hasCssTransforms){te={top:0,left:0};var _e=this.$fontMetrics.transformCoordinates([W,ne]);W=_e[1]-this.gutterWidth-this.margin.left,ne=_e[0]}else te=this.scroller.getBoundingClientRect();var he=W+this.scrollLeft-te.left-this.$padding,oe=he/this.characterWidth,ge=this.$blockCursor?Math.floor(oe):Math.round(oe),me=Math.floor((ne+this.scrollTop-te.top)/this.lineHeight);return this.session.screenToDocumentPosition(me,Math.max(ge,0),he)},Q.prototype.textToScreenCoordinates=function(W,ne){var te=this.scroller.getBoundingClientRect(),_e=this.session.documentToScreenPosition(W,ne),he=this.$padding+(this.session.$bidiHandler.isBidiRow(_e.row,W)?this.session.$bidiHandler.getPosLeft(_e.column):Math.round(_e.column*this.characterWidth)),oe=_e.row*this.lineHeight;return{pageX:te.left+he-this.scrollLeft,pageY:te.top+oe-this.scrollTop}},Q.prototype.visualizeFocus=function(){A.addCssClass(this.container,"ace_focus")},Q.prototype.visualizeBlur=function(){A.removeCssClass(this.container,"ace_focus")},Q.prototype.showComposition=function(W){this.$composition=W,W.cssText||(W.cssText=this.textarea.style.cssText),W.useTextareaForIME==null&&(W.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(A.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):W.markerId=this.session.addMarker(W.markerRange,"ace_composition_marker","text")},Q.prototype.setCompositionText=function(W){var ne=this.session.selection.cursor;this.addToken(W,"composition_placeholder",ne.row,ne.column),this.$moveTextAreaToCursor()},Q.prototype.hideComposition=function(){if(!!this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),A.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var W=this.session.selection.cursor;this.removeExtraToken(W.row,W.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},Q.prototype.setGhostText=function(W,ne){var te=this.session.selection.cursor,_e=ne||{row:te.row,column:te.column};this.removeGhostText();var he=W.split(`
`);this.addToken(he[0],"ghost_text",_e.row,_e.column),this.$ghostText={text:W,position:{row:_e.row,column:_e.column}},he.length>1&&(this.$ghostTextWidget={text:he.slice(1).join(`
`),row:_e.row,column:_e.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget))},Q.prototype.removeGhostText=function(){if(!!this.$ghostText){var W=this.$ghostText.position;this.removeExtraToken(W.row,W.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},Q.prototype.addToken=function(W,ne,te,_e){var he=this.session;he.bgTokenizer.lines[te]=null;var oe={type:ne,value:W},ge=he.getTokens(te);if(_e==null||!ge.length)ge.push(oe);else for(var me=0,Z=0;Z<ge.length;Z++){var xe=ge[Z];if(me+=xe.value.length,_e<=me){var Ee=xe.value.length-(me-_e),Le=xe.value.slice(0,Ee),we=xe.value.slice(Ee);ge.splice(Z,1,{type:xe.type,value:Le},oe,{type:xe.type,value:we});break}}this.updateLines(te,te)},Q.prototype.removeExtraToken=function(W,ne){this.session.bgTokenizer.lines[W]=null,this.updateLines(W,W)},Q.prototype.setTheme=function(W,ne){var te=this;if(this.$themeId=W,te._dispatchEvent("themeChange",{theme:W}),!W||typeof W=="string"){var _e=W||this.$options.theme.initialValue;y.loadModule(["theme",_e],he)}else he(W);function he(oe){if(te.$themeId!=W)return ne&&ne();if(!oe||!oe.cssClass)throw new Error("couldn't load module "+W+" or it didn't call define");oe.$id&&(te.$themeId=oe.$id),A.importCssString(oe.cssText,oe.cssClass,te.container),te.theme&&A.removeCssClass(te.container,te.theme.cssClass);var ge="padding"in oe?oe.padding:"padding"in(te.theme||{})?4:te.$padding;te.$padding&&ge!=te.$padding&&te.setPadding(ge),te.$theme=oe.cssClass,te.theme=oe,A.addCssClass(te.container,oe.cssClass),A.setCssClass(te.container,"ace_dark",oe.isDark),te.$size&&(te.$size.width=0,te.$updateSizeAsync()),te._dispatchEvent("themeLoaded",{theme:oe}),ne&&ne()}},Q.prototype.getTheme=function(){return this.$themeId},Q.prototype.setStyle=function(W,ne){A.setCssClass(this.container,W,ne!==!1)},Q.prototype.unsetStyle=function(W){A.removeCssClass(this.container,W)},Q.prototype.setCursorStyle=function(W){A.setStyle(this.scroller.style,"cursor",W)},Q.prototype.setMouseCursor=function(W){A.setStyle(this.scroller.style,"cursor",W)},Q.prototype.attachToShadowRoot=function(){A.importCssString(X,"ace_editor.css",this.container)},Q.prototype.destroy=function(){this.freeze(),this.$fontMetrics.destroy(),this.$cursorLayer.destroy(),this.removeAllListeners(),this.container.textContent="",this.setOption("useResizeObserver",!1)},Q.prototype.$updateCustomScrollbar=function(W){var ne=this;this.$horizScroll=this.$vScroll=null,this.scrollBarV.element.remove(),this.scrollBarH.element.remove(),this.$scrollDecorator&&delete this.$scrollDecorator,W===!0?(this.scrollBarV=new B(this.container,this),this.scrollBarH=new F(this.container,this),this.scrollBarV.setHeight(this.$size.scrollerHeight),this.scrollBarH.setWidth(this.$size.scrollerWidth),this.scrollBarV.addEventListener("scroll",function(te){ne.$scrollAnimation||ne.session.setScrollTop(te.data-ne.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(te){ne.$scrollAnimation||ne.session.setScrollLeft(te.data-ne.scrollMargin.left)}),this.$scrollDecorator=new ee(this.scrollBarV,this),this.$scrollDecorator.$updateDecorators()):(this.scrollBarV=new N(this.container,this),this.scrollBarH=new D(this.container,this),this.scrollBarV.addEventListener("scroll",function(te){ne.$scrollAnimation||ne.session.setScrollTop(te.data-ne.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(te){ne.$scrollAnimation||ne.session.setScrollLeft(te.data-ne.scrollMargin.left)}))},Q.prototype.$addResizeObserver=function(){if(!(!window.ResizeObserver||this.$resizeObserver)){var W=this;this.$resizeTimer=S.delayedCall(function(){W.destroyed||W.onResize()},50),this.$resizeObserver=new window.ResizeObserver(function(ne){var te=ne[0].contentRect.width,_e=ne[0].contentRect.height;Math.abs(W.$size.width-te)>1||Math.abs(W.$size.height-_e)>1?W.$resizeTimer.delay():W.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},Q}();G.prototype.CHANGE_CURSOR=1,G.prototype.CHANGE_MARKER=2,G.prototype.CHANGE_GUTTER=4,G.prototype.CHANGE_SCROLL=8,G.prototype.CHANGE_LINES=16,G.prototype.CHANGE_TEXT=32,G.prototype.CHANGE_SIZE=64,G.prototype.CHANGE_MARKER_BACK=128,G.prototype.CHANGE_MARKER_FRONT=256,G.prototype.CHANGE_FULL=512,G.prototype.CHANGE_H_SCROLL=1024,G.prototype.$changes=0,G.prototype.$padding=null,G.prototype.$frozen=!1,G.prototype.STEPS=8,k.implement(G.prototype,$),y.defineOptions(G.prototype,"renderer",{useResizeObserver:{set:function(W){!W&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):W&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(W){this.$textLayer.setShowInvisibles(W)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(W){typeof W=="number"&&(this.$printMarginColumn=W),this.$showPrintMargin=!!W,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(W){this.$gutter.style.display=W?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(W){this.$gutterLayer.$useSvgGutterIcons=W},initialValue:!1},showFoldedAnnotations:{set:function(W){this.$gutterLayer.$showFoldedAnnotations=W},initialValue:!1},fadeFoldWidgets:{set:function(W){A.setCssClass(this.$gutter,"ace_fade-fold-widgets",W)},initialValue:!1},showFoldWidgets:{set:function(W){this.$gutterLayer.setShowFoldWidgets(W),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(W){this.$textLayer.setDisplayIndentGuides(W)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(W){this.$textLayer.setHighlightIndentGuides(W)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(W){this.$gutterLayer.setHighlightGutterLine(W),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(W){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(W){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(W){typeof W=="number"&&(W=W+"px"),this.container.style.fontSize=W,this.updateFontSize()},initialValue:12},fontFamily:{set:function(W){this.container.style.fontFamily=W,this.updateFontSize()}},maxLines:{set:function(W){this.updateFull()}},minLines:{set:function(W){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(W){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(W){W=+W||0,this.$scrollPastEnd!=W&&(this.$scrollPastEnd=W,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(W){this.$gutterLayer.$fixedWidth=!!W,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(W){this.$updateCustomScrollbar(W)},initialValue:!1},theme:{set:function(W){this.setTheme(W)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!ie.isMobile&&!ie.isIE}}),O.VirtualRenderer=G}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(m,O,C){"use strict";var k=m("../lib/oop"),A=m("../lib/net"),S=m("../lib/event_emitter").EventEmitter,y=m("../config");function w(D){var N="importScripts('"+A.qualifyURL(D)+"');";try{return new Blob([N],{type:"application/javascript"})}catch(U){var F=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,B=new F;return B.append(N),B.getBlob("application/javascript")}}function x(D){if(typeof Worker=="undefined")return{postMessage:function(){},terminate:function(){}};if(y.get("loadWorkerFromBlob")){var N=w(D),F=window.URL||window.webkitURL,B=F.createObjectURL(N);return new Worker(B)}return new Worker(D)}var T=function(N){N.postMessage||(N=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=N,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){k.implement(this,S),this.$createWorkerFromOldConfig=function(D,N,F,B,U){if(m.nameToUrl&&!m.toUrl&&(m.toUrl=m.nameToUrl),y.get("packaged")||!m.toUrl)B=B||y.moduleUrl(N,"worker");else{var J=this.$normalizePath;B=B||J(m.toUrl("ace/worker/worker.js",null,"_"));var $={};D.forEach(function(X){$[X]=J(m.toUrl(X,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=x(B),U&&this.send("importScripts",U),this.$worker.postMessage({init:!0,tlns:$,module:N,classname:F}),this.$worker},this.onMessage=function(D){var N=D.data;switch(N.type){case"event":this._signal(N.name,{data:N.data});break;case"call":var F=this.callbacks[N.id];F&&(F(N.data),delete this.callbacks[N.id]);break;case"error":this.reportError(N.data);break;case"log":window.console&&console.log&&console.log.apply(console,N.data);break}},this.reportError=function(D){window.console&&console.error&&console.error(D)},this.$normalizePath=function(D){return A.qualifyURL(D)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(D){D.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(D,N){this.$worker.postMessage({command:D,args:N})},this.call=function(D,N,F){if(F){var B=this.callbackId++;this.callbacks[B]=F,N.push(B)}this.send(D,N)},this.emit=function(D,N){try{N.data&&N.data.err&&(N.data.err={message:N.data.err.message,stack:N.data.err.stack,code:N.data.err.code}),this.$worker&&this.$worker.postMessage({event:D,data:{data:N.data}})}catch(F){console.error(F.stack)}},this.attachToDocument=function(D){this.$doc&&this.terminate(),this.$doc=D,this.call("setValue",[D.getValue()]),D.on("change",this.changeListener,!0)},this.changeListener=function(D){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),D.action=="insert"?this.deltaQueue.push(D.start,D.lines):this.deltaQueue.push(D.start,D.end)},this.$sendDeltaQueue=function(){var D=this.deltaQueue;!D||(this.deltaQueue=null,D.length>50&&D.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:D}))}}).call(T.prototype);var j=function(N,F,B){var U=null,J=!1,$=Object.create(S),X=[],ee=new T({messageBuffer:X,terminate:function(){},postMessage:function(Q){X.push(Q),!!U&&(J?setTimeout(ie):ie())}});ee.setEmitSync=function(G){J=G};var ie=function(){var Q=X.shift();Q.command?U[Q.command].apply(U,Q.args):Q.event&&$._signal(Q.event,Q.data)};return $.postMessage=function(G){ee.onMessage({data:G})},$.callback=function(G,Q){this.postMessage({type:"call",id:Q,data:G})},$.emit=function(G,Q){this.postMessage({type:"event",name:G,data:Q})},y.loadModule(["worker",F],function(G){for(U=new G[B]($);X.length;)ie()}),ee};O.UIWorkerClient=j,O.WorkerClient=T,O.createWorker=x}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(m,O,C){"use strict";var k=m("./range").Range,A=m("./lib/event_emitter").EventEmitter,S=m("./lib/oop"),y=function(){function w(x,T,j,D,N,F){var B=this;this.length=T,this.session=x,this.doc=x.getDocument(),this.mainClass=N,this.othersClass=F,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=D,this.$onCursorChange=function(){setTimeout(function(){B.onCursorChange()})},this.$pos=j;var U=x.getUndoManager().$undoStack||x.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=U.length,this.setup(),x.selection.on("changeCursor",this.$onCursorChange)}return w.prototype.setup=function(){var x=this,T=this.doc,j=this.session;this.selectionBefore=j.selection.toJSON(),j.selection.inMultiSelectMode&&j.selection.toSingleRange(),this.pos=T.createAnchor(this.$pos.row,this.$pos.column);var D=this.pos;D.$insertRight=!0,D.detach(),D.markerId=j.addMarker(new k(D.row,D.column,D.row,D.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(N){var F=T.createAnchor(N.row,N.column);F.$insertRight=!0,F.detach(),x.others.push(F)}),j.setUndoSelect(!1)},w.prototype.showOtherMarkers=function(){if(!this.othersActive){var x=this.session,T=this;this.othersActive=!0,this.others.forEach(function(j){j.markerId=x.addMarker(new k(j.row,j.column,j.row,j.column+T.length),T.othersClass,null,!1)})}},w.prototype.hideOtherMarkers=function(){if(!!this.othersActive){this.othersActive=!1;for(var x=0;x<this.others.length;x++)this.session.removeMarker(this.others[x].markerId)}},w.prototype.onUpdate=function(x){if(this.$updating)return this.updateAnchors(x);var T=x;if(T.start.row===T.end.row&&T.start.row===this.pos.row){this.$updating=!0;var j=x.action==="insert"?T.end.column-T.start.column:T.start.column-T.end.column,D=T.start.column>=this.pos.column&&T.start.column<=this.pos.column+this.length+1,N=T.start.column-this.pos.column;if(this.updateAnchors(x),D&&(this.length+=j),D&&!this.session.$fromUndo){if(x.action==="insert")for(var F=this.others.length-1;F>=0;F--){var B=this.others[F],U={row:B.row,column:B.column+N};this.doc.insertMergedLines(U,x.lines)}else if(x.action==="remove")for(var F=this.others.length-1;F>=0;F--){var B=this.others[F],U={row:B.row,column:B.column+N};this.doc.remove(new k(U.row,U.column,U.row,U.column-j))}}this.$updating=!1,this.updateMarkers()}},w.prototype.updateAnchors=function(x){this.pos.onChange(x);for(var T=this.others.length;T--;)this.others[T].onChange(x);this.updateMarkers()},w.prototype.updateMarkers=function(){if(!this.$updating){var x=this,T=this.session,j=function(F,B){T.removeMarker(F.markerId),F.markerId=T.addMarker(new k(F.row,F.column,F.row,F.column+x.length),B,null,!1)};j(this.pos,this.mainClass);for(var D=this.others.length;D--;)j(this.others[D],this.othersClass)}},w.prototype.onCursorChange=function(x){if(!(this.$updating||!this.session)){var T=this.session.selection.getCursor();T.row===this.pos.row&&T.column>=this.pos.column&&T.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",x)):(this.hideOtherMarkers(),this._emit("cursorLeave",x))}},w.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},w.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var x=this.session.getUndoManager(),T=(x.$undoStack||x.$undostack).length-this.$undoStackDepth,j=0;j<T;j++)x.undo(this.session,!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}},w}();S.implement(y.prototype,A),O.PlaceHolder=y}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(m,O,C){var k=m("../lib/event"),A=m("../lib/useragent");function S(w,x){return w.row==x.row&&w.column==x.column}function y(w){var x=w.domEvent,T=x.altKey,j=x.shiftKey,D=x.ctrlKey,N=w.getAccelKey(),F=w.getButton();if(D&&A.isMac&&(F=x.button),w.editor.inMultiSelectMode&&F==2){w.editor.textInput.onContextMenu(w.domEvent);return}if(!D&&!T&&!N){F===0&&w.editor.inMultiSelectMode&&w.editor.exitMultiSelectMode();return}if(F===0){var B=w.editor,U=B.selection,J=B.inMultiSelectMode,$=w.getDocumentPosition(),X=U.getCursor(),ee=w.inSelection()||U.isEmpty()&&S($,X),ie=w.x,G=w.y,Q=function(fe){ie=fe.clientX,G=fe.clientY},W=B.session,ne=B.renderer.pixelToScreenCoordinates(ie,G),te=ne,_e;if(B.$mouseHandler.$enableJumpToDef)D&&T||N&&T?_e=j?"block":"add":T&&B.$blockSelectEnabled&&(_e="block");else if(N&&!T){if(_e="add",!J&&j)return}else T&&B.$blockSelectEnabled&&(_e="block");if(_e&&A.isMac&&x.ctrlKey&&B.$mouseHandler.cancelContextMenu(),_e=="add"){if(!J&&ee)return;if(!J){var he=U.toOrientedRange();B.addSelectionMarker(he)}var oe=U.rangeList.rangeAtPoint($);B.inVirtualSelectionMode=!0,j&&(oe=null,he=U.ranges[0]||he,B.removeSelectionMarker(he)),B.once("mouseup",function(){var we=U.toOrientedRange();oe&&we.isEmpty()&&S(oe.cursor,we.cursor)?U.substractPoint(we.cursor):(j?U.substractPoint(he.cursor):he&&(B.removeSelectionMarker(he),U.addRange(he)),U.addRange(we)),B.inVirtualSelectionMode=!1})}else if(_e=="block"){w.stop(),B.inVirtualSelectionMode=!0;var ge,me=[],Z=function(){var fe=B.renderer.pixelToScreenCoordinates(ie,G),pe=W.screenToDocumentPosition(fe.row,fe.column,fe.offsetX);S(te,fe)&&S(pe,U.lead)||(te=fe,B.selection.moveToPosition(pe),B.renderer.scrollCursorIntoView(),B.removeSelectionMarkers(me),me=U.rectangularRangeBlock(te,ne),B.$mouseHandler.$clickSelection&&me.length==1&&me[0].isEmpty()&&(me[0]=B.$mouseHandler.$clickSelection.clone()),me.forEach(B.addSelectionMarker,B),B.updateSelectionMarkers())};J&&!N?U.toSingleRange():!J&&N&&(ge=U.toOrientedRange(),B.addSelectionMarker(ge)),j?ne=W.documentToScreenPosition(U.lead):U.moveToPosition($),te={row:-1,column:-1};var xe=function(fe){Z(),clearInterval(Le),B.removeSelectionMarkers(me),me.length||(me=[U.toOrientedRange()]),ge&&(B.removeSelectionMarker(ge),U.toSingleRange(ge));for(var pe=0;pe<me.length;pe++)U.addRange(me[pe]);B.inVirtualSelectionMode=!1,B.$mouseHandler.$clickSelection=null},Ee=Z;k.capture(B.container,Q,xe);var Le=setInterval(function(){Ee()},20);return w.preventDefault()}}}O.onMouseDown=y}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(m,O,C){O.defaultCommands=[{name:"addCursorAbove",description:"Add cursor above",exec:function(S){S.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",description:"Add cursor below",exec:function(S){S.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",description:"Add cursor above (skip current)",exec:function(S){S.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",description:"Add cursor below (skip current)",exec:function(S){S.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",description:"Select more before",exec:function(S){S.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",description:"Select more after",exec:function(S){S.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",description:"Select next before",exec:function(S){S.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",description:"Select next after",exec:function(S){S.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"toggleSplitSelectionIntoLines",description:"Split selection into lines",exec:function(S){S.multiSelect.rangeCount>1?S.multiSelect.joinSelections():S.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(S){S.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(S){S.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(S){S.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],O.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(S){S.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(S){return S&&S.inMultiSelectMode}}];var k=m("../keyboard/hash_handler").HashHandler;O.keyboardHandler=new k(O.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(m,O,C){var k=m("./range_list").RangeList,A=m("./range").Range,S=m("./selection").Selection,y=m("./mouse/multi_select_handler").onMouseDown,w=m("./lib/event"),x=m("./lib/lang"),T=m("./commands/multi_select_commands");O.commands=T.defaultCommands.concat(T.multiSelectCommands);var j=m("./search").Search,D=new j;function N(X,ee,ie){return D.$options.wrap=!0,D.$options.needle=ee,D.$options.backwards=ie==-1,D.find(X)}var F=m("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(F.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(X,ee){if(!!X){if(!this.inMultiSelectMode&&this.rangeCount===0){var ie=this.toOrientedRange();if(this.rangeList.add(ie),this.rangeList.add(X),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),ee||this.fromOrientedRange(X);this.rangeList.removeAll(),this.rangeList.add(ie),this.$onAddRange(ie)}X.cursor||(X.cursor=X.end);var G=this.rangeList.add(X);return this.$onAddRange(X),G.length&&this.$onRemoveRange(G),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),ee||this.fromOrientedRange(X)}},this.toSingleRange=function(X){X=X||this.ranges[0];var ee=this.rangeList.removeAll();ee.length&&this.$onRemoveRange(ee),X&&this.fromOrientedRange(X)},this.substractPoint=function(X){var ee=this.rangeList.substractPoint(X);if(ee)return this.$onRemoveRange(ee),ee[0]},this.mergeOverlappingRanges=function(){var X=this.rangeList.merge();X.length&&this.$onRemoveRange(X)},this.$onAddRange=function(X){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(X),this._signal("addRange",{range:X})},this.$onRemoveRange=function(X){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var ee=this.rangeList.ranges.pop();X.push(ee),this.rangeCount=0}for(var ie=X.length;ie--;){var G=this.ranges.indexOf(X[ie]);this.ranges.splice(G,1)}this._signal("removeRange",{ranges:X}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),ee=ee||this.ranges[0],ee&&!ee.isEqual(this.getRange())&&this.fromOrientedRange(ee)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new k,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var X=this.ranges.length?this.ranges:[this.getRange()],ee=[],ie=0;ie<X.length;ie++){var G=X[ie],Q=G.start.row,W=G.end.row;if(Q===W)ee.push(G.clone());else{for(ee.push(new A(Q,G.start.column,Q,this.session.getLine(Q).length));++Q<W;)ee.push(this.getLineRange(Q,!0));ee.push(new A(W,0,W,G.end.column))}ie==0&&!this.isBackwards()&&(ee=ee.reverse())}this.toSingleRange();for(var ie=ee.length;ie--;)this.addRange(ee[ie])},this.joinSelections=function(){var X=this.rangeList.ranges,ee=X[X.length-1],ie=A.fromPoints(X[0].start,ee.end);this.toSingleRange(),this.setSelectionRange(ie,ee.cursor==ee.start)},this.toggleBlockSelection=function(){if(this.rangeCount>1){var X=this.rangeList.ranges,ee=X[X.length-1],ie=A.fromPoints(X[0].start,ee.end);this.toSingleRange(),this.setSelectionRange(ie,ee.cursor==ee.start)}else{var G=this.session.documentToScreenPosition(this.cursor),Q=this.session.documentToScreenPosition(this.anchor),W=this.rectangularRangeBlock(G,Q);W.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(X,ee,ie){var G=[],Q=X.column<ee.column;if(Q)var W=X.column,ne=ee.column,te=X.offsetX,_e=ee.offsetX;else var W=ee.column,ne=X.column,te=ee.offsetX,_e=X.offsetX;var he=X.row<ee.row;if(he)var oe=X.row,ge=ee.row;else var oe=ee.row,ge=X.row;W<0&&(W=0),oe<0&&(oe=0),oe==ge&&(ie=!0);for(var me,Z=oe;Z<=ge;Z++){var xe=A.fromPoints(this.session.screenToDocumentPosition(Z,W,te),this.session.screenToDocumentPosition(Z,ne,_e));if(xe.isEmpty()){if(me&&U(xe.end,me))break;me=xe.end}xe.cursor=Q?xe.start:xe.end,G.push(xe)}if(he&&G.reverse(),!ie){for(var Ee=G.length-1;G[Ee].isEmpty()&&Ee>0;)Ee--;if(Ee>0)for(var Le=0;G[Le].isEmpty();)Le++;for(var we=Ee;we>=Le;we--)G[we].isEmpty()&&G.splice(we,1)}return G}}.call(S.prototype);var B=m("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(X){X.cursor||(X.cursor=X.end);var ee=this.getSelectionStyle();return X.marker=this.session.addMarker(X,"ace_selection",ee),this.session.$selectionMarkers.push(X),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,X},this.removeSelectionMarker=function(X){if(!!X.marker){this.session.removeMarker(X.marker);var ee=this.session.$selectionMarkers.indexOf(X);ee!=-1&&this.session.$selectionMarkers.splice(ee,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(X){for(var ee=this.session.$selectionMarkers,ie=X.length;ie--;){var G=X[ie];if(!!G.marker){this.session.removeMarker(G.marker);var Q=ee.indexOf(G);Q!=-1&&ee.splice(Q,1)}}this.session.selectionMarkerCount=ee.length},this.$onAddRange=function(X){this.addSelectionMarker(X.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(X){this.removeSelectionMarkers(X.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(X){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(T.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(X){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(T.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(X){var ee=X.command,ie=X.editor;if(!!ie.multiSelect){if(ee.multiSelectAction)ee.multiSelectAction=="forEach"?G=ie.forEachSelection(ee,X.args):ee.multiSelectAction=="forEachLine"?G=ie.forEachSelection(ee,X.args,!0):ee.multiSelectAction=="single"?(ie.exitMultiSelectMode(),G=ee.exec(ie,X.args||{})):G=ee.multiSelectAction(ie,X.args||{});else{var G=ee.exec(ie,X.args||{});ie.multiSelect.addRange(ie.multiSelect.toOrientedRange()),ie.multiSelect.mergeOverlappingRanges()}return G}},this.forEachSelection=function(X,ee,ie){if(!this.inVirtualSelectionMode){var G=ie&&ie.keepOrder,Q=ie==!0||ie&&ie.$byLines,W=this.session,ne=this.selection,te=ne.rangeList,_e=(G?ne:te).ranges,he;if(!_e.length)return X.exec?X.exec(this,ee||{}):X(this,ee||{});var oe=ne._eventRegistry;ne._eventRegistry={};var ge=new S(W);this.inVirtualSelectionMode=!0;for(var me=_e.length;me--;){if(Q)for(;me>0&&_e[me].start.row==_e[me-1].end.row;)me--;ge.fromOrientedRange(_e[me]),ge.index=me,this.selection=W.selection=ge;var Z=X.exec?X.exec(this,ee||{}):X(this,ee||{});!he&&Z!==void 0&&(he=Z),ge.toOrientedRange(_e[me])}ge.detach(),this.selection=W.selection=ne,this.inVirtualSelectionMode=!1,ne._eventRegistry=oe,ne.mergeOverlappingRanges(),ne.ranges[0]&&ne.fromOrientedRange(ne.ranges[0]);var xe=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),xe&&xe.from==xe.to&&this.renderer.animateScrolling(xe.from),he}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var X="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var ee=this.multiSelect.rangeList.ranges,ie=[],G=0;G<ee.length;G++)ie.push(this.session.getTextRange(ee[G]));var Q=this.session.getDocument().getNewLineCharacter();X=ie.join(Q),X.length==(ie.length-1)*Q.length&&(X="")}else this.selection.isEmpty()||(X=this.session.getTextRange(this.getSelectionRange()));return X},this.$checkMultiselectChange=function(X,ee){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var ie=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&ee==this.multiSelect.anchor)return;var G=ee==this.multiSelect.anchor?ie.cursor==ie.start?ie.end:ie.start:ie.cursor;G.row!=ee.row||this.session.$clipPositionToDocument(G.row,G.column).column!=ee.column?this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange()):this.multiSelect.mergeOverlappingRanges()}},this.findAll=function(X,ee,ie){if(ee=ee||{},ee.needle=X||ee.needle,ee.needle==null){var G=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();ee.needle=this.session.getTextRange(G)}this.$search.set(ee);var Q=this.$search.findAll(this.session);if(!Q.length)return 0;var W=this.multiSelect;ie||W.toSingleRange(Q[0]);for(var ne=Q.length;ne--;)W.addRange(Q[ne],!0);return G&&W.rangeList.rangeAtPoint(G.start)&&W.addRange(G,!0),Q.length},this.selectMoreLines=function(X,ee){var ie=this.selection.toOrientedRange(),G=ie.cursor==ie.end,Q=this.session.documentToScreenPosition(ie.cursor);this.selection.$desiredColumn&&(Q.column=this.selection.$desiredColumn);var W=this.session.screenToDocumentPosition(Q.row+X,Q.column);if(ie.isEmpty())var te=W;else var ne=this.session.documentToScreenPosition(G?ie.end:ie.start),te=this.session.screenToDocumentPosition(ne.row+X,ne.column);if(G){var _e=A.fromPoints(W,te);_e.cursor=_e.start}else{var _e=A.fromPoints(te,W);_e.cursor=_e.end}if(_e.desiredColumn=Q.column,!this.selection.inMultiSelectMode)this.selection.addRange(ie);else if(ee)var he=ie.cursor;this.selection.addRange(_e),he&&this.selection.substractPoint(he)},this.transposeSelections=function(X){for(var ee=this.session,ie=ee.multiSelect,G=ie.ranges,Q=G.length;Q--;){var W=G[Q];if(W.isEmpty()){var ne=ee.getWordRange(W.start.row,W.start.column);W.start.row=ne.start.row,W.start.column=ne.start.column,W.end.row=ne.end.row,W.end.column=ne.end.column}}ie.mergeOverlappingRanges();for(var te=[],Q=G.length;Q--;){var W=G[Q];te.unshift(ee.getTextRange(W))}X<0?te.unshift(te.pop()):te.push(te.shift());for(var Q=G.length;Q--;){var W=G[Q],ne=W.clone();ee.replace(W,te[Q]),W.start.row=ne.start.row,W.start.column=ne.start.column}ie.fromOrientedRange(ie.ranges[0])},this.selectMore=function(X,ee,ie){var G=this.session,Q=G.multiSelect,W=Q.toOrientedRange();if(!(W.isEmpty()&&(W=G.getWordRange(W.start.row,W.start.column),W.cursor=X==-1?W.start:W.end,this.multiSelect.addRange(W),ie))){var ne=G.getTextRange(W),te=N(G,ne,X);te&&(te.cursor=X==-1?te.start:te.end,this.session.unfold(te),this.multiSelect.addRange(te),this.renderer.scrollCursorIntoView(null,.5)),ee&&this.multiSelect.substractPoint(W.cursor)}},this.alignCursors=function(){var X=this.session,ee=X.multiSelect,ie=ee.ranges,G=-1,Q=ie.filter(function(Ee){if(Ee.cursor.row==G)return!0;G=Ee.cursor.row});if(!ie.length||Q.length==ie.length-1){var W=this.selection.getRange(),ne=W.start.row,te=W.end.row,_e=ne==te;if(_e){var he=this.session.getLength(),oe;do oe=this.session.getLine(te);while(/[=:]/.test(oe)&&++te<he);do oe=this.session.getLine(ne);while(/[=:]/.test(oe)&&--ne>0);ne<0&&(ne=0),te>=he&&(te=he-1)}var ge=this.session.removeFullLines(ne,te);ge=this.$reAlignText(ge,_e),this.session.insert({row:ne,column:0},ge.join(`
`)+`
`),_e||(W.start.column=0,W.end.column=ge[ge.length-1].length),this.selection.setRange(W)}else{Q.forEach(function(Ee){ee.substractPoint(Ee.cursor)});var me=0,Z=Infinity,xe=ie.map(function(Ee){var Le=Ee.cursor,we=X.getLine(Le.row),fe=we.substr(Le.column).search(/\S/g);return fe==-1&&(fe=0),Le.column>me&&(me=Le.column),fe<Z&&(Z=fe),fe});ie.forEach(function(Ee,Le){var we=Ee.cursor,fe=me-we.column,pe=xe[Le]-Z;fe>pe?X.insert(we,x.stringRepeat(" ",fe-pe)):X.remove(new A(we.row,we.column,we.row,we.column-fe+pe)),Ee.start.column=Ee.end.column=me,Ee.start.row=Ee.end.row=we.row,Ee.cursor=Ee.end}),ee.fromOrientedRange(ie[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(X,ee){var ie=!0,G=!0,Q,W,ne;return X.map(function(ge){var me=ge.match(/(\s*)(.*?)(\s*)([=:].*)/);return me?Q==null?(Q=me[1].length,W=me[2].length,ne=me[3].length,me):(Q+W+ne!=me[1].length+me[2].length+me[3].length&&(G=!1),Q!=me[1].length&&(ie=!1),Q>me[1].length&&(Q=me[1].length),W<me[2].length&&(W=me[2].length),ne>me[3].length&&(ne=me[3].length),me):[ge]}).map(ee?_e:ie?G?he:_e:oe);function te(ge){return x.stringRepeat(" ",ge)}function _e(ge){return ge[2]?te(Q)+ge[2]+te(W-ge[2].length+ne)+ge[4].replace(/^([=:])\s+/,"$1 "):ge[0]}function he(ge){return ge[2]?te(Q+W-ge[2].length)+ge[2]+te(ne)+ge[4].replace(/^([=:])\s+/,"$1 "):ge[0]}function oe(ge){return ge[2]?te(Q)+ge[2]+te(ne)+ge[4].replace(/^([=:])\s+/,"$1 "):ge[0]}}}).call(B.prototype);function U(X,ee){return X.row==ee.row&&X.column==ee.column}O.onSessionChange=function(X){var ee=X.session;ee&&!ee.multiSelect&&(ee.$selectionMarkers=[],ee.selection.$initRangeList(),ee.multiSelect=ee.selection),this.multiSelect=ee&&ee.multiSelect;var ie=X.oldSession;ie&&(ie.multiSelect.off("addRange",this.$onAddRange),ie.multiSelect.off("removeRange",this.$onRemoveRange),ie.multiSelect.off("multiSelect",this.$onMultiSelect),ie.multiSelect.off("singleSelect",this.$onSingleSelect),ie.multiSelect.lead.off("change",this.$checkMultiselectChange),ie.multiSelect.anchor.off("change",this.$checkMultiselectChange)),ee&&(ee.multiSelect.on("addRange",this.$onAddRange),ee.multiSelect.on("removeRange",this.$onRemoveRange),ee.multiSelect.on("multiSelect",this.$onMultiSelect),ee.multiSelect.on("singleSelect",this.$onSingleSelect),ee.multiSelect.lead.on("change",this.$checkMultiselectChange),ee.multiSelect.anchor.on("change",this.$checkMultiselectChange)),ee&&this.inMultiSelectMode!=ee.selection.inMultiSelectMode&&(ee.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function J(X){X.$multiselectOnSessionChange||(X.$onAddRange=X.$onAddRange.bind(X),X.$onRemoveRange=X.$onRemoveRange.bind(X),X.$onMultiSelect=X.$onMultiSelect.bind(X),X.$onSingleSelect=X.$onSingleSelect.bind(X),X.$multiselectOnSessionChange=O.onSessionChange.bind(X),X.$checkMultiselectChange=X.$checkMultiselectChange.bind(X),X.$multiselectOnSessionChange(X),X.on("changeSession",X.$multiselectOnSessionChange),X.on("mousedown",y),X.commands.addCommands(T.defaultCommands),$(X))}function $(X){if(!X.textInput)return;var ee=X.textInput.getElement(),ie=!1;w.addListener(ee,"keydown",function(Q){var W=Q.keyCode==18&&!(Q.ctrlKey||Q.shiftKey||Q.metaKey);X.$blockSelectEnabled&&W?ie||(X.renderer.setMouseCursor("crosshair"),ie=!0):ie&&G()},X),w.addListener(ee,"keyup",G,X),w.addListener(ee,"blur",G,X);function G(Q){ie&&(X.renderer.setMouseCursor(""),ie=!1)}}O.MultiSelect=J,m("./config").defineOptions(B.prototype,"editor",{enableMultiselect:{set:function(ee){J(this),ee?this.on("mousedown",y):this.off("mousedown",y)},value:!0},enableBlockSelect:{set:function(ee){this.$blockSelectEnabled=ee},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(m,O,C){"use strict";var k=m("../../range").Range,A=O.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(S,y,w){var x=S.getLine(w);return this.foldingStartMarker.test(x)?"start":y=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(x)?"end":""},this.getFoldWidgetRange=function(S,y,w){return null},this.indentationBlock=function(S,y,w){var x=/\S/,T=S.getLine(y),j=T.search(x);if(j!=-1){for(var D=w||T.length,N=S.getLength(),F=y,B=y;++y<N;){var U=S.getLine(y).search(x);if(U!=-1){if(U<=j){var J=S.getTokenAt(y,0);if(!J||J.type!=="string")break}B=y}}if(B>F){var $=S.getLine(B).length;return new k(F,D,B,$)}}},this.openingBracketBlock=function(S,y,w,x,T){var j={row:w,column:x+1},D=S.$findClosingBracket(y,j,T);if(!!D){var N=S.foldWidgets[D.row];return N==null&&(N=S.getFoldWidget(D.row)),N=="start"&&D.row>j.row&&(D.row--,D.column=S.getLine(D.row).length),k.fromPoints(j,D)}},this.closingBracketBlock=function(S,y,w,x,T){var j={row:w,column:x},D=S.$findOpeningBracket(y,j);if(!!D)return D.column++,j.column--,k.fromPoints(D,j)}}).call(A.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(m,O,C){"use strict";var k=m("../line_widgets").LineWidgets,A=m("../lib/dom"),S=m("../range").Range,y=m("../config").nls;function w(T,j,D){for(var N=0,F=T.length-1;N<=F;){var B=N+F>>1,U=D(j,T[B]);if(U>0)N=B+1;else if(U<0)F=B-1;else return B}return-(N+1)}function x(T,j,D){var N=T.getAnnotations().sort(S.comparePoints);if(!!N.length){var F=w(N,{row:j,column:-1},S.comparePoints);F<0&&(F=-F-1),F>=N.length?F=D>0?0:N.length-1:F===0&&D<0&&(F=N.length-1);var B=N[F];if(!(!B||!D)){if(B.row===j){do B=N[F+=D];while(B&&B.row===j);if(!B)return N.slice()}var U=[];j=B.row;do U[D<0?"unshift":"push"](B),B=N[F+=D];while(B&&B.row==j);return U.length&&U}}}O.showErrorMarker=function(T,j){var D=T.session;D.widgetManager||(D.widgetManager=new k(D),D.widgetManager.attach(T));var N=T.getCursorPosition(),F=N.row,B=D.widgetManager.getWidgetsAtRow(F).filter(function(W){return W.type=="errorMarker"})[0];B?B.destroy():F-=j;var U=x(D,F,j),J;if(U){var $=U[0];N.column=($.pos&&typeof $.column!="number"?$.pos.sc:$.column)||0,N.row=$.row,J=T.renderer.$gutterLayer.$annotations[N.row]}else{if(B)return;J={text:[y("Looks good!")],className:"ace_ok"}}T.session.unfold(N.row),T.selection.moveToPosition(N);var X={row:N.row,fixedWidth:!0,coverGutter:!0,el:A.createElement("div"),type:"errorMarker"},ee=X.el.appendChild(A.createElement("div")),ie=X.el.appendChild(A.createElement("div"));ie.className="error_widget_arrow "+J.className;var G=T.renderer.$cursorLayer.getPixelPosition(N).left;ie.style.left=G+T.renderer.gutterWidth-5+"px",X.el.className="error_widget_wrapper",ee.className="error_widget "+J.className,ee.innerHTML=J.text.join("<br>"),ee.appendChild(A.createElement("div"));var Q=function(ne,te,_e){if(te===0&&(_e==="esc"||_e==="return"))return X.destroy(),{command:"null"}};X.destroy=function(){T.$mouseHandler.isMousePressed||(T.keyBinding.removeKeyboardHandler(Q),D.widgetManager.removeLineWidget(X),T.off("changeSelection",X.destroy),T.off("changeSession",X.destroy),T.off("mouseup",X.destroy),T.off("change",X.destroy))},T.keyBinding.addKeyboardHandler(Q),T.on("changeSelection",X.destroy),T.on("changeSession",X.destroy),T.on("mouseup",X.destroy),T.on("change",X.destroy),T.session.widgetManager.addLineWidget(X),X.el.onmousedown=T.focus.bind(T),T.renderer.scrollCursorIntoView(null,.5,{bottom:X.el.offsetHeight})},A.importCssString(`
.error_widget_wrapper {
background: inherit;
color: inherit;
border:none
}
.error_widget {
border-top: solid 2px;
border-bottom: solid 2px;
margin: 5px 0;
padding: 10px 40px;
white-space: pre-wrap;
}
.error_widget.ace_error, .error_widget_arrow.ace_error{
border-color: #ff5a5a
}
.error_widget.ace_warning, .error_widget_arrow.ace_warning{
border-color: #F1D817
}
.error_widget.ace_info, .error_widget_arrow.ace_info{
border-color: #5a5a5a
}
.error_widget.ace_ok, .error_widget_arrow.ace_ok{
border-color: #5aaa5a
}
.error_widget_arrow {
position: absolute;
border: solid 5px;
border-top-color: transparent!important;
border-right-color: transparent!important;
border-left-color: transparent!important;
top: -5px;
}
`,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(m,O,C){"use strict";m("./loader_build")(O);var k=m("./lib/dom"),A=m("./range").Range,S=m("./editor").Editor,y=m("./edit_session").EditSession,w=m("./undomanager").UndoManager,x=m("./virtual_renderer").VirtualRenderer;m("./worker/worker_client"),m("./keyboard/hash_handler"),m("./placeholder"),m("./multi_select"),m("./mode/folding/fold_mode"),m("./theme/textmate"),m("./ext/error_marker"),O.config=m("./config"),O.edit=function(T,j){if(typeof T=="string"){var D=T;if(T=document.getElementById(D),!T)throw new Error("ace.edit can't find div #"+D)}if(T&&T.env&&T.env.editor instanceof S)return T.env.editor;var N="";if(T&&/input|textarea/i.test(T.tagName)){var F=T;N=F.value,T=k.createElement("pre"),F.parentNode.replaceChild(T,F)}else T&&(N=T.textContent,T.innerHTML="");var B=O.createEditSession(N),U=new S(new x(T),B,j),J={document:B,editor:U,onResize:U.resize.bind(U,null)};return F&&(J.textarea=F),U.on("destroy",function(){J.editor.container.env=null}),U.container.env=U.env=J,U},O.createEditSession=function(T,j){var D=new y(T,j);return D.setUndoManager(new w),D},O.Range=A,O.Editor=S,O.EditSession=y,O.UndoManager=w,O.VirtualRenderer=x,O.version=O.config.version}),function(){ace.require(["ace/ace"],function(m){m&&(m.config.init(!0),m.define=ace.define),window.ace||(window.ace=m);for(var O in m)m.hasOwnProperty(O)&&(window.ace[O]=m[O]);window.ace.default=window.ace,E&&(E.exports=window.ace)})}()}).call(this,l("hOG+")(ce))},bXwC:function(ce,R,l){},bZMm:function(ce,R,l){"use strict";l.r(R),l.d(R,"Headers",function(){return w}),l.d(R,"Request",function(){return $}),l.d(R,"Response",function(){return ie}),l.d(R,"DOMException",function(){return Q}),l.d(R,"fetch",function(){return W});var E=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof E!="undefined"&&E,m={searchParams:"URLSearchParams"in E,iterable:"Symbol"in E&&"iterator"in Symbol,blob:"FileReader"in E&&"Blob"in E&&function(){try{return new Blob,!0}catch(ne){return!1}}(),formData:"FormData"in E,arrayBuffer:"ArrayBuffer"in E};function O(ne){return ne&&DataView.prototype.isPrototypeOf(ne)}if(m.arrayBuffer)var C=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],k=ArrayBuffer.isView||function(ne){return ne&&C.indexOf(Object.prototype.toString.call(ne))>-1};function A(ne){if(typeof ne!="string"&&(ne=String(ne)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(ne)||ne==="")throw new TypeError('Invalid character in header field name: "'+ne+'"');return ne.toLowerCase()}function S(ne){return typeof ne!="string"&&(ne=String(ne)),ne}function y(ne){var te={next:function(){var he=ne.shift();return{done:he===void 0,value:he}}};return m.iterable&&(te[Symbol.iterator]=function(){return te}),te}function w(ne){this.map={},ne instanceof w?ne.forEach(function(te,_e){this.append(_e,te)},this):Array.isArray(ne)?ne.forEach(function(te){this.append(te[0],te[1])},this):ne&&Object.getOwnPropertyNames(ne).forEach(function(te){this.append(te,ne[te])},this)}w.prototype.append=function(ne,te){ne=A(ne),te=S(te);var _e=this.map[ne];this.map[ne]=_e?_e+", "+te:te},w.prototype.delete=function(ne){delete this.map[A(ne)]},w.prototype.get=function(ne){return ne=A(ne),this.has(ne)?this.map[ne]:null},w.prototype.has=function(ne){return this.map.hasOwnProperty(A(ne))},w.prototype.set=function(ne,te){this.map[A(ne)]=S(te)},w.prototype.forEach=function(ne,te){for(var _e in this.map)this.map.hasOwnProperty(_e)&&ne.call(te,this.map[_e],_e,this)},w.prototype.keys=function(){var ne=[];return this.forEach(function(te,_e){ne.push(_e)}),y(ne)},w.prototype.values=function(){var ne=[];return this.forEach(function(te){ne.push(te)}),y(ne)},w.prototype.entries=function(){var ne=[];return this.forEach(function(te,_e){ne.push([_e,te])}),y(ne)},m.iterable&&(w.prototype[Symbol.iterator]=w.prototype.entries);function x(ne){if(ne.bodyUsed)return Promise.reject(new TypeError("Already read"));ne.bodyUsed=!0}function T(ne){return new Promise(function(te,_e){ne.onload=function(){te(ne.result)},ne.onerror=function(){_e(ne.error)}})}function j(ne){var te=new FileReader,_e=T(te);return te.readAsArrayBuffer(ne),_e}function D(ne){var te=new FileReader,_e=T(te);return te.readAsText(ne),_e}function N(ne){for(var te=new Uint8Array(ne),_e=new Array(te.length),he=0;he<te.length;he++)_e[he]=String.fromCharCode(te[he]);return _e.join("")}function F(ne){if(ne.slice)return ne.slice(0);var te=new Uint8Array(ne.byteLength);return te.set(new Uint8Array(ne)),te.buffer}function B(){return this.bodyUsed=!1,this._initBody=function(ne){this.bodyUsed=this.bodyUsed,this._bodyInit=ne,ne?typeof ne=="string"?this._bodyText=ne:m.blob&&Blob.prototype.isPrototypeOf(ne)?this._bodyBlob=ne:m.formData&&FormData.prototype.isPrototypeOf(ne)?this._bodyFormData=ne:m.searchParams&&URLSearchParams.prototype.isPrototypeOf(ne)?this._bodyText=ne.toString():m.arrayBuffer&&m.blob&&O(ne)?(this._bodyArrayBuffer=F(ne.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):m.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(ne)||k(ne))?this._bodyArrayBuffer=F(ne):this._bodyText=ne=Object.prototype.toString.call(ne):this._bodyText="",this.headers.get("content-type")||(typeof ne=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(ne)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var ne=x(this);if(ne)return ne;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var ne=x(this);return ne||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(j)}),this.text=function(){var ne=x(this);if(ne)return ne;if(this._bodyBlob)return D(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(X)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function J(ne){var te=ne.toUpperCase();return U.indexOf(te)>-1?te:ne}function $(ne,te){if(!(this instanceof $))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');te=te||{};var _e=te.body;if(ne instanceof $){if(ne.bodyUsed)throw new TypeError("Already read");this.url=ne.url,this.credentials=ne.credentials,te.headers||(this.headers=new w(ne.headers)),this.method=ne.method,this.mode=ne.mode,this.signal=ne.signal,!_e&&ne._bodyInit!=null&&(_e=ne._bodyInit,ne.bodyUsed=!0)}else this.url=String(ne);if(this.credentials=te.credentials||this.credentials||"same-origin",(te.headers||!this.headers)&&(this.headers=new w(te.headers)),this.method=J(te.method||this.method||"GET"),this.mode=te.mode||this.mode||null,this.signal=te.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&_e)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(_e),(this.method==="GET"||this.method==="HEAD")&&(te.cache==="no-store"||te.cache==="no-cache")){var he=/([?&])_=[^&]*/;if(he.test(this.url))this.url=this.url.replace(he,"$1_="+new Date().getTime());else{var oe=/\?/;this.url+=(oe.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}$.prototype.clone=function(){return new $(this,{body:this._bodyInit})};function X(ne){var te=new FormData;return ne.trim().split("&").forEach(function(_e){if(_e){var he=_e.split("="),oe=he.shift().replace(/\+/g," "),ge=he.join("=").replace(/\+/g," ");te.append(decodeURIComponent(oe),decodeURIComponent(ge))}}),te}function ee(ne){var te=new w,_e=ne.replace(/\r?\n[\t ]+/g," ");return _e.split("\r").map(function(he){return he.indexOf(`
`)===0?he.substr(1,he.length):he}).forEach(function(he){var oe=he.split(":"),ge=oe.shift().trim();if(ge){var me=oe.join(":").trim();te.append(ge,me)}}),te}B.call($.prototype);function ie(ne,te){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');te||(te={}),this.type="default",this.status=te.status===void 0?200:te.status,this.ok=this.status>=200&&this.status<300,this.statusText=te.statusText===void 0?"":""+te.statusText,this.headers=new w(te.headers),this.url=te.url||"",this._initBody(ne)}B.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new w(this.headers),url:this.url})},ie.error=function(){var ne=new ie(null,{status:0,statusText:""});return ne.type="error",ne};var G=[301,302,303,307,308];ie.redirect=function(ne,te){if(G.indexOf(te)===-1)throw new RangeError("Invalid status code");return new ie(null,{status:te,headers:{location:ne}})};var Q=E.DOMException;try{new Q}catch(ne){Q=function(_e,he){this.message=_e,this.name=he;var oe=Error(_e);this.stack=oe.stack},Q.prototype=Object.create(Error.prototype),Q.prototype.constructor=Q}function W(ne,te){return new Promise(function(_e,he){var oe=new $(ne,te);if(oe.signal&&oe.signal.aborted)return he(new Q("Aborted","AbortError"));var ge=new XMLHttpRequest;function me(){ge.abort()}ge.onload=function(){var xe={status:ge.status,statusText:ge.statusText,headers:ee(ge.getAllResponseHeaders()||"")};xe.url="responseURL"in ge?ge.responseURL:xe.headers.get("X-Request-URL");var Ee="response"in ge?ge.response:ge.responseText;setTimeout(function(){_e(new ie(Ee,xe))},0)},ge.onerror=function(){setTimeout(function(){he(new TypeError("Network request failed"))},0)},ge.ontimeout=function(){setTimeout(function(){he(new TypeError("Network request failed"))},0)},ge.onabort=function(){setTimeout(function(){he(new Q("Aborted","AbortError"))},0)};function Z(xe){try{return xe===""&&E.location.href?E.location.href:xe}catch(Ee){return xe}}ge.open(oe.method,Z(oe.url),!0),oe.credentials==="include"?ge.withCredentials=!0:oe.credentials==="omit"&&(ge.withCredentials=!1),"responseType"in ge&&(m.blob?ge.responseType="blob":m.arrayBuffer&&oe.headers.get("Content-Type")&&oe.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(ge.responseType="arraybuffer")),te&&typeof te.headers=="object"&&!(te.headers instanceof w)?Object.getOwnPropertyNames(te.headers).forEach(function(xe){ge.setRequestHeader(xe,S(te.headers[xe]))}):oe.headers.forEach(function(xe,Ee){ge.setRequestHeader(Ee,xe)}),oe.signal&&(oe.signal.addEventListener("abort",me),ge.onreadystatechange=function(){ge.readyState===4&&oe.signal.removeEventListener("abort",me)}),ge.send(typeof oe._bodyInit=="undefined"?null:oe._bodyInit)})}W.polyfill=!0,E.fetch||(E.fetch=W,E.Headers=w,E.Request=$,E.Response=ie)},bahg:function(ce,R){function l(E){return E.split("")}ce.exports=l},bbMD:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("sM0O")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="LoadingOutlined";var x=C.forwardRef(w);R.default=x},bbsP:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("CWI+"),C=l.n(O)},bcvT:function(ce,R,l){var E=l("ukPv"),m=l("XX5T"),O=l("PHrn"),C=l("lz10");for(var k in m){var A=E[k],S=A&&A.prototype;if(S&&S.forEach!==O)try{C(S,"forEach",O)}catch(y){S.forEach=O}}},bdgK:function(ce,R,l){"use strict";(function(E){var m=function(){if(typeof Map!="undefined")return Map;function ge(me,Z){var xe=-1;return me.some(function(Ee,Le){return Ee[0]===Z?(xe=Le,!0):!1}),xe}return function(){function me(){this.__entries__=[]}return Object.defineProperty(me.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),me.prototype.get=function(Z){var xe=ge(this.__entries__,Z),Ee=this.__entries__[xe];return Ee&&Ee[1]},me.prototype.set=function(Z,xe){var Ee=ge(this.__entries__,Z);~Ee?this.__entries__[Ee][1]=xe:this.__entries__.push([Z,xe])},me.prototype.delete=function(Z){var xe=this.__entries__,Ee=ge(xe,Z);~Ee&&xe.splice(Ee,1)},me.prototype.has=function(Z){return!!~ge(this.__entries__,Z)},me.prototype.clear=function(){this.__entries__.splice(0)},me.prototype.forEach=function(Z,xe){xe===void 0&&(xe=null);for(var Ee=0,Le=this.__entries__;Ee<Le.length;Ee++){var we=Le[Ee];Z.call(xe,we[1],we[0])}},me}()}(),O=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,C=function(){return typeof E!="undefined"&&E.Math===Math?E:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),k=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(C):function(ge){return setTimeout(function(){return ge(Date.now())},1e3/60)}}(),A=2;function S(ge,me){var Z=!1,xe=!1,Ee=0;function Le(){Z&&(Z=!1,ge()),xe&&fe()}function we(){k(Le)}function fe(){var pe=Date.now();if(Z){if(pe-Ee<A)return;xe=!0}else Z=!0,xe=!1,setTimeout(we,me);Ee=pe}return fe}var y=20,w=["top","right","bottom","left","width","height","size","weight"],x=typeof MutationObserver!="undefined",T=function(){function ge(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=S(this.refresh.bind(this),y)}return ge.prototype.addObserver=function(me){~this.observers_.indexOf(me)||this.observers_.push(me),this.connected_||this.connect_()},ge.prototype.removeObserver=function(me){var Z=this.observers_,xe=Z.indexOf(me);~xe&&Z.splice(xe,1),!Z.length&&this.connected_&&this.disconnect_()},ge.prototype.refresh=function(){var me=this.updateObservers_();me&&this.refresh()},ge.prototype.updateObservers_=function(){var me=this.observers_.filter(function(Z){return Z.gatherActive(),Z.hasActive()});return me.forEach(function(Z){return Z.broadcastActive()}),me.length>0},ge.prototype.connect_=function(){!O||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),x?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ge.prototype.disconnect_=function(){!O||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ge.prototype.onTransitionEnd_=function(me){var Z=me.propertyName,xe=Z===void 0?"":Z,Ee=w.some(function(Le){return!!~xe.indexOf(Le)});Ee&&this.refresh()},ge.getInstance=function(){return this.instance_||(this.instance_=new ge),this.instance_},ge.instance_=null,ge}(),j=function(me,Z){for(var xe=0,Ee=Object.keys(Z);xe<Ee.length;xe++){var Le=Ee[xe];Object.defineProperty(me,Le,{value:Z[Le],enumerable:!1,writable:!1,configurable:!0})}return me},D=function(me){var Z=me&&me.ownerDocument&&me.ownerDocument.defaultView;return Z||C},N=Q(0,0,0,0);function F(ge){return parseFloat(ge)||0}function B(ge){for(var me=[],Z=1;Z<arguments.length;Z++)me[Z-1]=arguments[Z];return me.reduce(function(xe,Ee){var Le=ge["border-"+Ee+"-width"];return xe+F(Le)},0)}function U(ge){for(var me=["top","right","bottom","left"],Z={},xe=0,Ee=me;xe<Ee.length;xe++){var Le=Ee[xe],we=ge["padding-"+Le];Z[Le]=F(we)}return Z}function J(ge){var me=ge.getBBox();return Q(0,0,me.width,me.height)}function $(ge){var me=ge.clientWidth,Z=ge.clientHeight;if(!me&&!Z)return N;var xe=D(ge).getComputedStyle(ge),Ee=U(xe),Le=Ee.left+Ee.right,we=Ee.top+Ee.bottom,fe=F(xe.width),pe=F(xe.height);if(xe.boxSizing==="border-box"&&(Math.round(fe+Le)!==me&&(fe-=B(xe,"left","right")+Le),Math.round(pe+we)!==Z&&(pe-=B(xe,"top","bottom")+we)),!ee(ge)){var Ke=Math.round(fe+Le)-me,Me=Math.round(pe+we)-Z;Math.abs(Ke)!==1&&(fe-=Ke),Math.abs(Me)!==1&&(pe-=Me)}return Q(Ee.left,Ee.top,fe,pe)}var X=function(){return typeof SVGGraphicsElement!="undefined"?function(ge){return ge instanceof D(ge).SVGGraphicsElement}:function(ge){return ge instanceof D(ge).SVGElement&&typeof ge.getBBox=="function"}}();function ee(ge){return ge===D(ge).document.documentElement}function ie(ge){return O?X(ge)?J(ge):$(ge):N}function G(ge){var me=ge.x,Z=ge.y,xe=ge.width,Ee=ge.height,Le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,we=Object.create(Le.prototype);return j(we,{x:me,y:Z,width:xe,height:Ee,top:Z,right:me+xe,bottom:Ee+Z,left:me}),we}function Q(ge,me,Z,xe){return{x:ge,y:me,width:Z,height:xe}}var W=function(){function ge(me){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Q(0,0,0,0),this.target=me}return ge.prototype.isActive=function(){var me=ie(this.target);return this.contentRect_=me,me.width!==this.broadcastWidth||me.height!==this.broadcastHeight},ge.prototype.broadcastRect=function(){var me=this.contentRect_;return this.broadcastWidth=me.width,this.broadcastHeight=me.height,me},ge}(),ne=function(){function ge(me,Z){var xe=G(Z);j(this,{target:me,contentRect:xe})}return ge}(),te=function(){function ge(me,Z,xe){if(this.activeObservations_=[],this.observations_=new m,typeof me!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=me,this.controller_=Z,this.callbackCtx_=xe}return ge.prototype.observe=function(me){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(me instanceof D(me).Element))throw new TypeError('parameter 1 is not of type "Element".');var Z=this.observations_;Z.has(me)||(Z.set(me,new W(me)),this.controller_.addObserver(this),this.controller_.refresh())}},ge.prototype.unobserve=function(me){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(me instanceof D(me).Element))throw new TypeError('parameter 1 is not of type "Element".');var Z=this.observations_;!Z.has(me)||(Z.delete(me),Z.size||this.controller_.removeObserver(this))}},ge.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ge.prototype.gatherActive=function(){var me=this;this.clearActive(),this.observations_.forEach(function(Z){Z.isActive()&&me.activeObservations_.push(Z)})},ge.prototype.broadcastActive=function(){if(!!this.hasActive()){var me=this.callbackCtx_,Z=this.activeObservations_.map(function(xe){return new ne(xe.target,xe.broadcastRect())});this.callback_.call(me,Z,me),this.clearActive()}},ge.prototype.clearActive=function(){this.activeObservations_.splice(0)},ge.prototype.hasActive=function(){return this.activeObservations_.length>0},ge}(),_e=typeof WeakMap!="undefined"?new WeakMap:new m,he=function(){function ge(me){if(!(this instanceof ge))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Z=T.getInstance(),xe=new te(me,Z,this);_e.set(this,xe)}return ge}();["observe","unobserve","disconnect"].forEach(function(ge){he.prototype[ge]=function(){var me;return(me=_e.get(this))[ge].apply(me,arguments)}});var oe=function(){return typeof C.ResizeObserver!="undefined"?C.ResizeObserver:he}();R.a=oe}).call(this,l("IyRk"))},beyn:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("mTKU").end,O=l("HKQd"),C=O("trimEnd"),k=C?function(){return m(this)}:"".trimEnd;E({target:"String",proto:!0,forced:C},{trimEnd:k,trimRight:k})},bf48:function(ce,R,l){"use strict";var E=l("rePB"),m=l("ODXe"),O=l("wx14"),C=l("VTBJ"),k=l("q1tI"),A={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"},S=A,y=l("6VBw"),w=function(xe,Ee){return k.createElement(y.a,Object(C.a)(Object(C.a)({},xe),{},{ref:Ee,icon:S}))};w.displayName="ArrowLeftOutlined";var x=k.forwardRef(w),T={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"},j=T,D=function(xe,Ee){return k.createElement(y.a,Object(C.a)(Object(C.a)({},xe),{},{ref:Ee,icon:j}))};D.displayName="ArrowRightOutlined";var N=k.forwardRef(D),F=l("TSYQ"),B=l.n(F),U=l("t23M"),J=l("FWVt"),$=l("Tckk"),X=l("bE4q"),ee=l("H84U"),ie=l("YMnH"),G=l("zeV3"),Q=l("gDlH"),W=function(xe,Ee,Le){return!Ee||!Le?null:k.createElement(ie.a,{componentName:"PageHeader"},function(we){return k.createElement("div",{className:"".concat(xe,"-back")},k.createElement(Q.a,{onClick:function(pe){Le==null||Le(pe)},className:"".concat(xe,"-back-button"),"aria-label":we.back},Ee))})},ne=function(xe){return k.createElement(X.a,Object(O.a)({},xe))},te=function(xe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return xe.backIcon!==void 0?xe.backIcon:Ee==="rtl"?k.createElement(N,null):k.createElement(x,null)},_e=function(xe,Ee){var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",we=Ee.title,fe=Ee.avatar,pe=Ee.subTitle,Ke=Ee.tags,Me=Ee.extra,ze=Ee.onBack,Ue="".concat(xe,"-heading"),He=we||pe||Ke||Me;if(!He)return null;var Ne=te(Ee,Le),it=W(xe,Ne,ze),Xe=it||fe||He;return k.createElement("div",{className:Ue},Xe&&k.createElement("div",{className:"".concat(Ue,"-left")},it,fe&&k.createElement($.a,Object(O.a)({},fe)),we&&k.createElement("span",{className:"".concat(Ue,"-title"),title:typeof we=="string"?we:void 0},we),pe&&k.createElement("span",{className:"".concat(Ue,"-sub-title"),title:typeof pe=="string"?pe:void 0},pe),Ke&&k.createElement("span",{className:"".concat(Ue,"-tags")},Ke)),Me&&k.createElement("span",{className:"".concat(Ue,"-extra")},k.createElement(G.b,null,Me)))},he=function(xe,Ee){return Ee?k.createElement("div",{className:"".concat(xe,"-footer")},Ee):null},oe=function(xe,Ee){return k.createElement("div",{className:"".concat(xe,"-content")},Ee)},ge=function(xe){var Ee=Object(J.a)(!1),Le=Object(m.a)(Ee,2),we=Le[0],fe=Le[1],pe=function(Me){var ze=Me.width;fe(ze<768,!0)};return k.createElement(ee.a,null,function(Ke){var Me,ze=Ke.getPrefixCls,Ue=Ke.pageHeader,He=Ke.direction,Ne,it=xe.prefixCls,Xe=xe.style,ht=xe.footer,lt=xe.children,Et=xe.breadcrumb,tt=xe.breadcrumbRender,mt=xe.className,xt=!0;"ghost"in xe?xt=xe.ghost:Ue&&"ghost"in Ue&&(xt=Ue.ghost);var Xt=ze("page-header",it),vt=function(){return(Et==null?void 0:Et.routes)?ne(Et):null},qe=vt(),Re=Et&&"props"in Et,Se=(Ne=tt==null?void 0:tt(xe,qe))!==null&&Ne!==void 0?Ne:qe,Ve=Re?Et:Se,Ge=B()(Xt,mt,(Me={"has-breadcrumb":!!Ve,"has-footer":!!ht},Object(E.a)(Me,"".concat(Xt,"-ghost"),xt),Object(E.a)(Me,"".concat(Xt,"-rtl"),He==="rtl"),Object(E.a)(Me,"".concat(Xt,"-compact"),we),Me));return k.createElement(U.a,{onResize:pe},k.createElement("div",{className:Ge,style:Xe},Ve,_e(Xt,xe,He),lt&&oe(Xt,lt),he(Xt,ht)))})},me=R.a=ge},bfL6:function(ce,R,l){var E=l("mGKP");function m(O,C){var k=typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(!k){if(Array.isArray(O)||(k=E(O))||C&&O&&typeof O.length=="number"){k&&(O=k);var A=0,S=function(){};return{s:S,n:function(){return A>=O.length?{done:!0}:{done:!1,value:O[A++]}},e:function(j){throw j},f:S}}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 y=!0,w=!1,x;return{s:function(){k=k.call(O)},n:function(){var j=k.next();return y=j.done,j},e:function(j){w=!0,x=j},f:function(){try{!y&&k.return!=null&&k.return()}finally{if(w)throw x}}}}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},bkVK:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("link")},{link:function(k){return m(this,"a","href",k)}})},bmMU:function(ce,R){var l=typeof Element!="undefined",E=typeof Map=="function",m=typeof Set=="function",O=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function C(k,A){if(k===A)return!0;if(k&&A&&typeof k=="object"&&typeof A=="object"){if(k.constructor!==A.constructor)return!1;var S,y,w;if(Array.isArray(k)){if(S=k.length,S!=A.length)return!1;for(y=S;y--!=0;)if(!C(k[y],A[y]))return!1;return!0}var x;if(E&&k instanceof Map&&A instanceof Map){if(k.size!==A.size)return!1;for(x=k.entries();!(y=x.next()).done;)if(!A.has(y.value[0]))return!1;for(x=k.entries();!(y=x.next()).done;)if(!C(y.value[1],A.get(y.value[0])))return!1;return!0}if(m&&k instanceof Set&&A instanceof Set){if(k.size!==A.size)return!1;for(x=k.entries();!(y=x.next()).done;)if(!A.has(y.value[0]))return!1;return!0}if(O&&ArrayBuffer.isView(k)&&ArrayBuffer.isView(A)){if(S=k.length,S!=A.length)return!1;for(y=S;y--!=0;)if(k[y]!==A[y])return!1;return!0}if(k.constructor===RegExp)return k.source===A.source&&k.flags===A.flags;if(k.valueOf!==Object.prototype.valueOf&&typeof k.valueOf=="function"&&typeof A.valueOf=="function")return k.valueOf()===A.valueOf();if(k.toString!==Object.prototype.toString&&typeof k.toString=="function"&&typeof A.toString=="function")return k.toString()===A.toString();if(w=Object.keys(k),S=w.length,S!==Object.keys(A).length)return!1;for(y=S;y--!=0;)if(!Object.prototype.hasOwnProperty.call(A,w[y]))return!1;if(l&&k instanceof Element)return!1;for(y=S;y--!=0;)if(!((w[y]==="_owner"||w[y]==="__v"||w[y]==="__o")&&k.$$typeof)&&!C(k[w[y]],A[w[y]]))return!1;return!0}return k!==k&&A!==A}ce.exports=function(A,S){try{return C(A,S)}catch(y){if((y.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw y}}},bniK:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function m(A,S){return A+S.charAt(0).toUpperCase()+S.substring(1)}var O=["Webkit","ms","Moz","O"];Object.keys(E).forEach(function(A){O.forEach(function(S){E[m(S,A)]=E[A]})});var C={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},k={isUnitlessNumber:E,shorthandPropertyExpansions:C};R.default=k},bogI:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});var E=function(O){return O?typeof O=="function"?O():O:null}},bpiW:function(ce,R,l){},bwJD:function(ce,R){ce.exports=function(l,E){return l===E||l!=l&&E!=E}},bx4M:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("TSYQ"),C=l.n(O),k=l("Ya77"),A=l("q1tI"),S=l("H84U"),y=l("3Nzz"),w=l("/ezw"),x=l("ZTPi"),T=function(G,Q){var W={};for(var ne in G)Object.prototype.hasOwnProperty.call(G,ne)&&Q.indexOf(ne)<0&&(W[ne]=G[ne]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ne=Object.getOwnPropertySymbols(G);te<ne.length;te++)Q.indexOf(ne[te])<0&&Object.prototype.propertyIsEnumerable.call(G,ne[te])&&(W[ne[te]]=G[ne[te]]);return W},j=function(Q){var W=Q.prefixCls,ne=Q.className,te=Q.hoverable,_e=te===void 0?!0:te,he=T(Q,["prefixCls","className","hoverable"]);return A.createElement(S.a,null,function(oe){var ge=oe.getPrefixCls,me=ge("card",W),Z=C()("".concat(me,"-grid"),ne,Object(E.a)({},"".concat(me,"-grid-hoverable"),_e));return A.createElement("div",Object(m.a)({},he,{className:Z}))})},D=j,N=function(G,Q){var W={};for(var ne in G)Object.prototype.hasOwnProperty.call(G,ne)&&Q.indexOf(ne)<0&&(W[ne]=G[ne]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ne=Object.getOwnPropertySymbols(G);te<ne.length;te++)Q.indexOf(ne[te])<0&&Object.prototype.propertyIsEnumerable.call(G,ne[te])&&(W[ne[te]]=G[ne[te]]);return W};function F(G){var Q=G.map(function(W,ne){return A.createElement("li",{style:{width:"".concat(100/G.length,"%")},key:"action-".concat(ne)},A.createElement("span",null,W))});return Q}var B=A.forwardRef(function(G,Q){var W,ne,te=A.useContext(S.b),_e=te.getPrefixCls,he=te.direction,oe=A.useContext(y.b),ge=function($e){var Qe;(Qe=G.onTabChange)===null||Qe===void 0||Qe.call(G,$e)},me=function(){var $e;return A.Children.forEach(G.children,function(Qe){Qe&&Qe.type&&Qe.type===D&&($e=!0)}),$e},Z=G.prefixCls,xe=G.className,Ee=G.extra,Le=G.headStyle,we=Le===void 0?{}:Le,fe=G.bodyStyle,pe=fe===void 0?{}:fe,Ke=G.title,Me=G.loading,ze=G.bordered,Ue=ze===void 0?!0:ze,He=G.size,Ne=G.type,it=G.cover,Xe=G.actions,ht=G.tabList,lt=G.children,Et=G.activeTabKey,tt=G.defaultActiveTabKey,mt=G.tabBarExtraContent,xt=G.hoverable,Xt=G.tabProps,vt=Xt===void 0?{}:Xt,qe=N(G,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Re=_e("card",Z),Se=A.createElement(w.a,{loading:!0,active:!0,paragraph:{rows:4},title:!1},lt),Ve=Et!==void 0,Ge=Object(m.a)(Object(m.a)({},vt),(W={},Object(E.a)(W,Ve?"activeKey":"defaultActiveKey",Ve?Et:tt),Object(E.a)(W,"tabBarExtraContent",mt),W)),_t,bt=ht&&ht.length?A.createElement(x.a,Object(m.a)({size:"large"},Ge,{className:"".concat(Re,"-head-tabs"),onChange:ge,items:ht.map(function(le){var $e;return{label:le.tab,key:le.key,disabled:($e=le.disabled)!==null&&$e!==void 0?$e:!1}})})):null;(Ke||Ee||bt)&&(_t=A.createElement("div",{className:"".concat(Re,"-head"),style:we},A.createElement("div",{className:"".concat(Re,"-head-wrapper")},Ke&&A.createElement("div",{className:"".concat(Re,"-head-title")},Ke),Ee&&A.createElement("div",{className:"".concat(Re,"-extra")},Ee)),bt));var gt=it?A.createElement("div",{className:"".concat(Re,"-cover")},it):null,at=A.createElement("div",{className:"".concat(Re,"-body"),style:pe},Me?Se:lt),ft=Xe&&Xe.length?A.createElement("ul",{className:"".concat(Re,"-actions")},F(Xe)):null,Fe=Object(k.a)(qe,["onTabChange"]),Te=He||oe,ut=C()(Re,(ne={},Object(E.a)(ne,"".concat(Re,"-loading"),Me),Object(E.a)(ne,"".concat(Re,"-bordered"),Ue),Object(E.a)(ne,"".concat(Re,"-hoverable"),xt),Object(E.a)(ne,"".concat(Re,"-contain-grid"),me()),Object(E.a)(ne,"".concat(Re,"-contain-tabs"),ht&&ht.length),Object(E.a)(ne,"".concat(Re,"-").concat(Te),Te),Object(E.a)(ne,"".concat(Re,"-type-").concat(Ne),!!Ne),Object(E.a)(ne,"".concat(Re,"-rtl"),he==="rtl"),ne),xe);return A.createElement("div",Object(m.a)({ref:Q},Fe,{className:ut}),_t,gt,at,ft)}),U=B,J=function(G,Q){var W={};for(var ne in G)Object.prototype.hasOwnProperty.call(G,ne)&&Q.indexOf(ne)<0&&(W[ne]=G[ne]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ne=Object.getOwnPropertySymbols(G);te<ne.length;te++)Q.indexOf(ne[te])<0&&Object.prototype.propertyIsEnumerable.call(G,ne[te])&&(W[ne[te]]=G[ne[te]]);return W},$=function(Q){return A.createElement(S.a,null,function(W){var ne=W.getPrefixCls,te=Q.prefixCls,_e=Q.className,he=Q.avatar,oe=Q.title,ge=Q.description,me=J(Q,["prefixCls","className","avatar","title","description"]),Z=ne("card",te),xe=C()("".concat(Z,"-meta"),_e),Ee=he?A.createElement("div",{className:"".concat(Z,"-meta-avatar")},he):null,Le=oe?A.createElement("div",{className:"".concat(Z,"-meta-title")},oe):null,we=ge?A.createElement("div",{className:"".concat(Z,"-meta-description")},ge):null,fe=Le||we?A.createElement("div",{className:"".concat(Z,"-meta-detail")},Le,we):null;return A.createElement("div",Object(m.a)({},me,{className:xe}),Ee,fe)})},X=$,ee=U;ee.Grid=D,ee.Meta=X;var ie=R.a=ee},bz9Y:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("gEhQ")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="CheckCircleFilled";var x=C.forwardRef(w);R.default=x},"c+yx":function(ce,R,l){"use strict";l.d(R,"a",function(){return X}),l.d(R,"b",function(){return G}),l.d(R,"h",function(){return ne}),l.d(R,"k",function(){return te}),l.d(R,"g",function(){return _e}),l.d(R,"j",function(){return he}),l.d(R,"f",function(){return oe}),l.d(R,"e",function(){return me}),l.d(R,"c",function(){return Le}),l.d(R,"d",function(){return pe}),l.d(R,"i",function(){return Ke});var E=l("rAM+"),m=l("k1fw"),O=l("oBTY"),C=l("miYZ"),k=l("tsqr"),A=l("L8Ib"),S=l("ZhIB"),y=l.n(S),w=l("+QRC"),x=l.n(w),T=l("LvDl"),j=l.n(T),D=/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/,N=function(ze){return D.test(ze)};function F(Me){return x()(Me),k.default.success("\u590D\u5236\u6210\u529F")}function B(Me){return Object(O.a)(Me).map(function(ze){return{value:ze[0],label:ze[1]}})}function U(Me){return Object.keys(Me).map(function(ze){return{value:ze,label:Me[ze]}})}function J(Me,ze){var Ue=[];return Me.forEach(function(He){if(He.parentId===ze){var Ne=Object(m.a)({},He),it=Me.filter(function(Xe){return Xe.id!==Ne.id});Ne.children=J(it,Ne.id),Ue.push(Ne)}}),Ue}function $(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ze;Me?ze=decodeURIComponent(Me):ze=decodeURIComponent(window.location.href);var Ue=ze.indexOf("?");if(Ue===-1)return{};var He=ze.substr(Ue+1),Ne=He.split("&"),it={};return Ne.forEach(function(Xe){var ht=Xe.split("="),lt=ht[0],Et=ht[1];Array.isArray(it[lt])?it[lt].push(Et):it[lt]?it[lt]=[it[lt],Et]:it[lt]=Et||!0}),it}function X(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",Ue=new RegExp("[\\&\\?]".concat(ze,"=([^&#]+)"),"g");return Me.replace(Ue,"")}function ee(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ze=arguments.length>1?arguments[1]:void 0,Ue="EDIT";return Me.map(function(He){var Ne,it=Object(m.a)({},He);return typeof ze=="function"?it.disabled=ze(it.authCodes):((Ne=it.authCodes)!==null&&Ne!==void 0?Ne:[]).includes(Ue)||(it.disabled=!0),it.children&&(it.children=ee(it.children,ze)),it})}function ie(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Me.map(function(ze){var Ue=Object(m.a)({},ze);return Ue.value=Ue.projectIncreId,Ue.children&&(Ue.children=ie(Ue.children)),Ue})}function G(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0,0";return y()(Me).format(ze)}function Q(){return localStorage.getItem(A.a)}function W(Me){if(Me.children.length===0)return Me;var ze=Object(E.a)(Me.children),Ue;try{for(ze.s();!(Ue=ze.n()).done;){var He=Ue.value;if(He.children.length===0)return He;var Ne=W(He);if(Ne)return Ne}}catch(it){ze.e(it)}finally{ze.f()}return null}function ne(Me,ze){if(!Object(T.isString)(Me))return Me;if(!Me)return ze;try{return JSON.parse(Me)}catch(Ue){return console.log(Ue),ze}}var te=function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8,Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:62,He="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),Ne=[],it;if(ze)for(it=0;it<ze;it++)Ne[it]=He[Math.floor(Math.random()*Ue)];else{var Xe;for(Ne[8]=Ne[13]=Ne[18]=Ne[23]="-",Ne[14]="4",it=0;it<36;it++)Ne[it]||(Xe=Math.floor(Math.random()*16),Ne[it]=He[it===19?Xe%4%8+8:Xe])}return Ne.join("")},_e=window.navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i),he=function(ze,Ue){setTimeout(function(){var He=document.getElementById("messageContainer");He&&He.scrollHeight>He.clientHeight&&(He.scrollTop=ze?He.scrollTop+He.clientHeight-(Ue||130):He.scrollHeight)},100)},oe=function(ze,Ue){return ze.reduce(function(He,Ne){var it=Object(m.a)({},He),Xe=Ne[Ue];return it[Xe]||(it[Xe]=[]),it[Xe].push(Ne),it},{})},ge=null,me=function(ze){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"16px",He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",Ne=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"DINPro Medium",it=ge||(ge=document.createElement("canvas")),Xe=it.getContext("2d");Xe.font="".concat(He," ").concat(Ue," ").concat(Ne);var ht=Xe.measureText(ze);return Math.ceil(ht.width)};function Z(Me,ze){if(isNaN(+Me)||ze<0||ze>100)return Me;var Ue=(+Me).toFixed(ze);if(!/^[0-9.]+$/g.test(Ue))return"0";for(;Ue.includes(".")&&(Ue.endsWith(".")||Ue.endsWith("0"));)Ue=Ue.slice(0,-1);return Ue}function xe(Me){if(isNaN(+Me))return Me;var ze=Me.toString().split(".");ze[0]=ze[0].replace(/\B(?=(\d{3})+(?!\d))/g,",");var Ue=ze.join(".");return Ue}function Ee(Me,ze){var Ue=+Me;if(isNaN(Ue)||ze===A.c.None)return Me;var He=0;switch(ze){case A.c.TenThousand:case A.c.EnTenThousand:He=4;break;case A.c.OneHundredMillion:He=8;break;case A.c.Thousand:He=3;break;case A.c.Million:He=6;break;case A.c.Giga:He=9;break}return Ue/Math.pow(10,He)}var Le=function(ze,Ue){if(Ue&&(ze===void 0||+ze==0))return 0;if(ze===void 0)return"-";if(!isFinite(+ze))return ze;var He=ze>=1e8?A.c.OneHundredMillion:ze>=1e4?A.c.EnTenThousand:A.c.None,Ne=Ee(ze,He);return Ne=Z(Ne,He===A.c.OneHundredMillion?2:ze<1?3:1),Ne=xe(Ne),typeof Ne=="number"&&isNaN(Ne)||+Ne==0?"-":"".concat(Ne).concat(He===A.c.None?"":He)};function we(Me){var ze=[];function Ue(He){!He.children||He.children.length===0?ze.push(He):He.children.forEach(function(Ne){return Ue(Ne)})}return Me.forEach(function(He){return Ue(He)}),ze}function fe(Me){var ze={},Ue=[];return Me.forEach(function(He){ze[He.id]=He,He.children=[]}),Me.forEach(function(He){if(He.parentId){var Ne=ze[He.parentId];Ne&&Ne.children.push(He)}else Ue.push(He)}),Ue}function pe(Me){var ze=fe(Me),Ue=we(ze);return Ue}function Ke(Me,ze){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(!Array.isArray(Me))return Ue;for(var He=0;He<Me.length;He++){var Ne=Me[He];if((Ne.envEnableList&&(Ne.envEnableList.includes(ze)||Ne.envEnableList.length===0)||!Ne.envEnableList)&&Ue.push(Ne),Ne.envRedirect&&(Ne.redirect=Ne.envRedirect[ze]),Ne.routes){var it=Ke(Ne.routes,ze);Array.isArray(it)&&it.length>0&&Ue.push(Object(m.a)(Object(m.a)({},Ne),{},{routes:it}))}}return Ue}},c0go:function(ce,R,l){"use strict";ce.exports=function(E,m){for(var O={},C=Object.keys(E),k=Array.isArray(m),A=0;A<C.length;A++){var S=C[A],y=E[S];(k?m.indexOf(S)!==-1:m(S,y,E))&&(O[S]=y)}return O}},c6wG:function(ce,R,l){var E=l("dD9F"),m=l("sEf8"),O=l("mdPL"),C=O&&O.isTypedArray,k=C?m(C):E;ce.exports=k},c8Xr:function(ce,R,l){var E=l("MMxC"),m=l("rn5R");E({global:!0,forced:parseFloat!=m},{parseFloat:m})},cC5k:function(ce,R,l){var E=l("29mP"),m=l("uGHk"),O=l("kyO0"),C=l("f1E4");ce.exports=E("Reflect","ownKeys")||function(A){var S=m.f(C(A)),y=O.f;return y?S.concat(y(A)):S}},cDf5:function(ce,R){function l(E){return ce.exports=l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},ce.exports.__esModule=!0,ce.exports.default=ce.exports,l(E)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},cHpt:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(){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(m){return!1}}},cSJO:function(ce,R,l){"use strict";var E=this&&this.__spreadArray||function(w,x){for(var T=0,j=x.length,D=w.length;T<j;T++,D++)w[D]=x[T];return w};Object.defineProperty(R,"__esModule",{value:!0}),R.resolveInstance=void 0;var m=l("MON2"),O=l("FV85"),C=l("xfSm");function k(w,x,T){var j=x.filter(function(N){return N.target!==null&&N.target.type===O.TargetTypeEnum.ClassProperty}),D=j.map(T);return j.forEach(function(N,F){var B="";B=N.target.name.value();var U=D[F];w[B]=U}),w}function A(w,x){return new(w.bind.apply(w,E([void 0],x)))}function S(w,x){if(Reflect.hasMetadata(C.POST_CONSTRUCT,w)){var T=Reflect.getMetadata(C.POST_CONSTRUCT,w);try{x[T.value]()}catch(j){throw new Error(m.POST_CONSTRUCT_ERROR(w.name,j.message))}}}function y(w,x,T){var j=null;if(x.length>0){var D=x.filter(function(F){return F.target!==null&&F.target.type===O.TargetTypeEnum.ConstructorArgument}),N=D.map(T);j=A(w,N),j=k(j,x,T)}else j=new w;return S(w,j),j}R.resolveInstance=y},cT1L:function(ce,R){ce.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},cTDu:function(ce,R,l){var E=l("FCfD");ce.exports=function(m){return Object(E(m))}},cWXX:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("oIFs"),C=l.n(O)},cZ5Q:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.injectable=void 0;var E=l("MON2"),m=l("xfSm");function O(){return function(C){if(Reflect.hasOwnMetadata(m.PARAM_TYPES,C))throw new Error(E.DUPLICATED_INJECTABLE_DECORATOR);var k=Reflect.getMetadata(m.DESIGN_PARAM_TYPES,C)||[];return Reflect.defineMetadata(m.PARAM_TYPES,k,C),C}}R.injectable=O},caoh:function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("q1tI"),m=l.n(E),O=E.createContext(!1),C=function(A){var S=A.children,y=A.disabled,w=E.useContext(O);return E.createElement(O.Provider,{value:y!=null?y:w},S)};R.b=O},cnT9:function(ce,R,l){var E=l("MMxC"),m=l("f1E4"),O=l("Acmb"),C=l("SprQ");E({target:"Reflect",stat:!0,sham:!C},{getPrototypeOf:function(A){return O(m(A))}})},"cq/+":function(ce,R,l){var E=l("mc0g"),m=E();ce.exports=m},"cr+I":function(ce,R,l){"use strict";var E=l("5wUe").default,m=l("bfL6").default,O=l("R5yR").default,C=l("ZFOp"),k=l("8jRI"),A=l("8yz6"),S=l("c0go"),y=function(ee){return ee==null};function w(X){switch(X.arrayFormat){case"index":return function(ee){return function(ie,G){var Q=ie.length;return G===void 0||X.skipNull&&G===null||X.skipEmptyString&&G===""?ie:G===null?[].concat(O(ie),[[j(ee,X),"[",Q,"]"].join("")]):[].concat(O(ie),[[j(ee,X),"[",j(Q,X),"]=",j(G,X)].join("")])}};case"bracket":return function(ee){return function(ie,G){return G===void 0||X.skipNull&&G===null||X.skipEmptyString&&G===""?ie:G===null?[].concat(O(ie),[[j(ee,X),"[]"].join("")]):[].concat(O(ie),[[j(ee,X),"[]=",j(G,X)].join("")])}};case"comma":case"separator":return function(ee){return function(ie,G){return G==null||G.length===0?ie:ie.length===0?[[j(ee,X),"=",j(G,X)].join("")]:[[ie,j(G,X)].join(X.arrayFormatSeparator)]}};default:return function(ee){return function(ie,G){return G===void 0||X.skipNull&&G===null||X.skipEmptyString&&G===""?ie:G===null?[].concat(O(ie),[j(ee,X)]):[].concat(O(ie),[[j(ee,X),"=",j(G,X)].join("")])}}}}function x(X){var ee;switch(X.arrayFormat){case"index":return function(ie,G,Q){if(ee=/\[(\d*)\]$/.exec(ie),ie=ie.replace(/\[\d*\]$/,""),!ee){Q[ie]=G;return}Q[ie]===void 0&&(Q[ie]={}),Q[ie][ee[1]]=G};case"bracket":return function(ie,G,Q){if(ee=/(\[\])$/.exec(ie),ie=ie.replace(/\[\]$/,""),!ee){Q[ie]=G;return}if(Q[ie]===void 0){Q[ie]=[G];return}Q[ie]=[].concat(Q[ie],G)};case"comma":case"separator":return function(ie,G,Q){var W=typeof G=="string"&&G.includes(X.arrayFormatSeparator),ne=typeof G=="string"&&!W&&D(G,X).includes(X.arrayFormatSeparator);G=ne?D(G,X):G;var te=W||ne?G.split(X.arrayFormatSeparator).map(function(_e){return D(_e,X)}):G===null?G:D(G,X);Q[ie]=te};default:return function(ie,G,Q){if(Q[ie]===void 0){Q[ie]=G;return}Q[ie]=[].concat(Q[ie],G)}}}function T(X){if(typeof X!="string"||X.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function j(X,ee){return ee.encode?ee.strict?C(X):encodeURIComponent(X):X}function D(X,ee){return ee.decode?k(X):X}function N(X){return Array.isArray(X)?X.sort():typeof X=="object"?N(Object.keys(X)).sort(function(ee,ie){return Number(ee)-Number(ie)}).map(function(ee){return X[ee]}):X}function F(X){var ee=X.indexOf("#");return ee!==-1&&(X=X.slice(0,ee)),X}function B(X){var ee="",ie=X.indexOf("#");return ie!==-1&&(ee=X.slice(ie)),ee}function U(X){X=F(X);var ee=X.indexOf("?");return ee===-1?"":X.slice(ee+1)}function J(X,ee){return ee.parseNumbers&&!Number.isNaN(Number(X))&&typeof X=="string"&&X.trim()!==""?X=Number(X):ee.parseBooleans&&X!==null&&(X.toLowerCase()==="true"||X.toLowerCase()==="false")&&(X=X.toLowerCase()==="true"),X}function $(X,ee){ee=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},ee),T(ee.arrayFormatSeparator);var ie=x(ee),G=Object.create(null);if(typeof X!="string"||(X=X.trim().replace(/^[?#&]/,""),!X))return G;var Q=m(X.split("&")),W;try{for(Q.s();!(W=Q.n()).done;){var ne=W.value;if(ne!==""){var te=A(ee.decode?ne.replace(/\+/g," "):ne,"="),_e=E(te,2),he=_e[0],oe=_e[1];oe=oe===void 0?null:["comma","separator"].includes(ee.arrayFormat)?oe:D(oe,ee),ie(D(he,ee),oe,G)}}}catch(fe){Q.e(fe)}finally{Q.f()}for(var ge=0,me=Object.keys(G);ge<me.length;ge++){var Z=me[ge],xe=G[Z];if(typeof xe=="object"&&xe!==null)for(var Ee=0,Le=Object.keys(xe);Ee<Le.length;Ee++){var we=Le[Ee];xe[we]=J(xe[we],ee)}else G[Z]=J(xe,ee)}return ee.sort===!1?G:(ee.sort===!0?Object.keys(G).sort():Object.keys(G).sort(ee.sort)).reduce(function(fe,pe){var Ke=G[pe];return Boolean(Ke)&&typeof Ke=="object"&&!Array.isArray(Ke)?fe[pe]=N(Ke):fe[pe]=Ke,fe},Object.create(null))}R.extract=U,R.parse=$,R.stringify=function(X,ee){if(!X)return"";ee=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},ee),T(ee.arrayFormatSeparator);for(var ie=function(oe){return ee.skipNull&&y(X[oe])||ee.skipEmptyString&&X[oe]===""},G=w(ee),Q={},W=0,ne=Object.keys(X);W<ne.length;W++){var te=ne[W];ie(te)||(Q[te]=X[te])}var _e=Object.keys(Q);return ee.sort!==!1&&_e.sort(ee.sort),_e.map(function(he){var oe=X[he];return oe===void 0?"":oe===null?j(he,ee):Array.isArray(oe)?oe.reduce(G(he),[]).join("&"):j(he,ee)+"="+j(oe,ee)}).filter(function(he){return he.length>0}).join("&")},R.parseUrl=function(X,ee){ee=Object.assign({decode:!0},ee);var ie=A(X,"#"),G=E(ie,2),Q=G[0],W=G[1];return Object.assign({url:Q.split("?")[0]||"",query:$(U(X),ee)},ee&&ee.parseFragmentIdentifier&&W?{fragmentIdentifier:D(W,ee)}:{})},R.stringifyUrl=function(X,ee){ee=Object.assign({encode:!0,strict:!0},ee);var ie=F(X.url).split("?")[0]||"",G=R.extract(X.url),Q=R.parse(G,{sort:!1}),W=Object.assign(Q,X.query),ne=R.stringify(W,ee);ne&&(ne="?".concat(ne));var te=B(X.url);return X.fragmentIdentifier&&(te="#".concat(j(X.fragmentIdentifier,ee))),"".concat(ie).concat(ne).concat(te)},R.pick=function(X,ee,ie){ie=Object.assign({parseFragmentIdentifier:!0},ie);var G=R.parseUrl(X,ie),Q=G.url,W=G.query,ne=G.fragmentIdentifier;return R.stringifyUrl({url:Q,query:S(W,ee),fragmentIdentifier:ne},ie)},R.exclude=function(X,ee,ie){var G=Array.isArray(ee)?function(Q){return!ee.includes(Q)}:function(Q,W){return!ee(Q,W)};return R.pick(X,G,ie)}},cvCv:function(ce,R){function l(E){return function(){return E}}ce.exports=l},czTT:function(ce,R,l){},"d/5L":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("+X1D");E({target:"WeakMap",proto:!0,real:!0,forced:m},{deleteAll:function(){return O.apply(this,arguments)}})},d9O0:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.id=void 0;var E=0;function m(){return E++}R.id=m},dD9F:function(ce,R,l){var E=l("NykK"),m=l("shjB"),O=l("ExA7"),C="[object Arguments]",k="[object Array]",A="[object Boolean]",S="[object Date]",y="[object Error]",w="[object Function]",x="[object Map]",T="[object Number]",j="[object Object]",D="[object RegExp]",N="[object Set]",F="[object String]",B="[object WeakMap]",U="[object ArrayBuffer]",J="[object DataView]",$="[object Float32Array]",X="[object Float64Array]",ee="[object Int8Array]",ie="[object Int16Array]",G="[object Int32Array]",Q="[object Uint8Array]",W="[object Uint8ClampedArray]",ne="[object Uint16Array]",te="[object Uint32Array]",_e={};_e[$]=_e[X]=_e[ee]=_e[ie]=_e[G]=_e[Q]=_e[W]=_e[ne]=_e[te]=!0,_e[C]=_e[k]=_e[U]=_e[A]=_e[J]=_e[S]=_e[y]=_e[w]=_e[x]=_e[T]=_e[j]=_e[D]=_e[N]=_e[F]=_e[B]=!1;function he(oe){return O(oe)&&m(oe.length)&&!!_e[E(oe)]}ce.exports=he},dI71:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("s4An");function m(O,C){O.prototype=Object.create(C.prototype),O.prototype.constructor=O,Object(E.a)(O,C)}},dLjG:function(ce,R,l){var E=l("MMxC"),m=l("1H91"),O=l("GPrf"),C=!O(function(k){Array.from(k)});E({target:"Array",stat:!0,forced:C},{from:m})},dQpi:function(ce,R,l){var E=l("yGk4"),m=l("vN+2"),O=l("rEGp"),C=1/0,k=E&&1/O(new E([,-0]))[1]==C?function(A){return new E(A)}:m;ce.exports=k},dTAl:function(ce,R,l){var E=l("GoyQ"),m=Object.create,O=function(){function C(){}return function(k){if(!E(k))return{};if(m)return m(k);C.prototype=k;var A=new C;return C.prototype=void 0,A}}();ce.exports=O},dWyf:function(ce,R,l){"use strict";var E=l("Kr56"),m={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},O={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},C={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},k={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A={};A[E.ForwardRef]=C,A[E.Memo]=k;function S(F){return E.isMemo(F)?k:A[F.$$typeof]||m}var y=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,j=Object.getPrototypeOf,D=Object.prototype;function N(F,B,U){if(typeof B!="string"){if(D){var J=j(B);J&&J!==D&&N(F,J,U)}var $=w(B);x&&($=$.concat(x(B)));for(var X=S(F),ee=S(B),ie=0;ie<$.length;++ie){var G=$[ie];if(!O[G]&&!(U&&U[G])&&!(ee&&ee[G])&&!(X&&X[G])){var Q=T(B,G);try{y(F,G,Q)}catch(W){}}}}return F}ce.exports=N},dX1H:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Target=void 0;var E=l("xfSm"),m=l("d9O0"),O=l("GXnB"),C=l("zxMA"),k=function(){function A(S,y,w,x){this.id=m.id(),this.type=S,this.serviceIdentifier=w,this.name=new C.QueryableString(y||""),this.metadata=new Array;var T=null;typeof x=="string"?T=new O.Metadata(E.NAMED_TAG,x):x instanceof O.Metadata&&(T=x),T!==null&&this.metadata.push(T)}return A.prototype.hasTag=function(S){for(var y=0,w=this.metadata;y<w.length;y++){var x=w[y];if(x.key===S)return!0}return!1},A.prototype.isArray=function(){return this.hasTag(E.MULTI_INJECT_TAG)},A.prototype.matchesArray=function(S){return this.matchesTag(E.MULTI_INJECT_TAG)(S)},A.prototype.isNamed=function(){return this.hasTag(E.NAMED_TAG)},A.prototype.isTagged=function(){return this.metadata.some(function(S){return E.NON_CUSTOM_TAG_KEYS.every(function(y){return S.key!==y})})},A.prototype.isOptional=function(){return this.matchesTag(E.OPTIONAL_TAG)(!0)},A.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter(function(S){return S.key===E.NAMED_TAG})[0]:null},A.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter(function(S){return E.NON_CUSTOM_TAG_KEYS.every(function(y){return S.key!==y})}):null},A.prototype.matchesNamedTag=function(S){return this.matchesTag(E.NAMED_TAG)(S)},A.prototype.matchesTag=function(S){var y=this;return function(w){for(var x=0,T=y.metadata;x<T.length;x++){var j=T[x];if(j.key===S&&j.value===w)return!0}return!1}},A}();R.Target=k},dagG:function(ce,R,l){var E=l("UwrT"),m=l("NcLc");ce.exports=function(O,C){var k=O.exec;if(typeof k=="function"){var A=k.call(O,C);if(typeof A!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return A}if(E(O)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return m.call(O,C)}},df8c:function(ce,R,l){},diRs:function(ce,R,l){"use strict";var E=l("wx14"),m=l("q1tI"),O=l.n(m),C=l("bogI"),k=l("EXcs"),A=l("H84U"),S=l("3S7+"),y=function(T,j){var D={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&j.indexOf(N)<0&&(D[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,N=Object.getOwnPropertySymbols(T);F<N.length;F++)j.indexOf(N[F])<0&&Object.prototype.propertyIsEnumerable.call(T,N[F])&&(D[N[F]]=T[N[F]]);return D},w=function(j){var D=j.title,N=j.content,F=j.prefixCls;return m.createElement(m.Fragment,null,D&&m.createElement("div",{className:"".concat(F,"-title")},Object(C.a)(D)),m.createElement("div",{className:"".concat(F,"-inner-content")},Object(C.a)(N)))},x=m.forwardRef(function(T,j){var D=T.prefixCls,N=T.title,F=T.content,B=T._overlay,U=T.placement,J=U===void 0?"top":U,$=T.trigger,X=$===void 0?"hover":$,ee=T.mouseEnterDelay,ie=ee===void 0?.1:ee,G=T.mouseLeaveDelay,Q=G===void 0?.1:G,W=T.overlayStyle,ne=W===void 0?{}:W,te=y(T,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),_e=m.useContext(A.b),he=_e.getPrefixCls,oe=he("popover",D),ge=he(),me=m.useMemo(function(){return B||(!N&&!F?null:m.createElement(w,{prefixCls:oe,title:N,content:F}))},[B,N,F,oe]);return m.createElement(S.a,Object(E.a)({placement:J,trigger:X,mouseEnterDelay:ie,mouseLeaveDelay:Q,overlayStyle:ne},te,{prefixCls:oe,ref:j,overlay:me,transitionName:Object(k.c)(ge,"zoom-big",te.transitionName)}))});R.a=x},dnEI:function(ce,R,l){var E=l("ukPv");ce.exports=function(m,O){var C=E.console;C&&C.error&&(arguments.length===1?C.error(m):C.error(m,O))}},dnZx:function(ce,R,l){"use strict";l("KvPC");var E=l("MMxC"),m=l("tny8"),O=l("lgSf"),C=l("ukPv"),k=l("HctQ"),A=l("NMFW"),S=l("igoe"),y=l("jtLI"),w=l("qitQ"),x=l("1H91"),T=l("eYKs").codeAt,j=l("Di6M"),D=l("kiNa"),N=l("5JgN"),F=l("1aI8"),B=C.URL,U=N.URLSearchParams,J=N.getState,$=F.set,X=F.getterFor("URL"),ee=Math.floor,ie=Math.pow,G="Invalid authority",Q="Invalid scheme",W="Invalid host",ne="Invalid port",te=/[A-Za-z]/,_e=/[\d+-.A-Za-z]/,he=/\d/,oe=/^(0x|0X)/,ge=/^[0-7]+$/,me=/^\d+$/,Z=/^[\dA-Fa-f]+$/,xe=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,Ee=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,Le=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,we=/[\u0009\u000A\u000D]/g,fe,pe=function(H,ot){var nt,Ct,Wt;if(ot.charAt(0)=="["){if(ot.charAt(ot.length-1)!="]"||(nt=Me(ot.slice(1,-1)),!nt))return W;H.host=nt}else if(Et(H)){if(ot=j(ot),xe.test(ot)||(nt=Ke(ot),nt===null))return W;H.host=nt}else{if(Ee.test(ot))return W;for(nt="",Ct=x(ot),Wt=0;Wt<Ct.length;Wt++)nt+=ht(Ct[Wt],He);H.host=nt}},Ke=function(H){var ot=H.split("."),nt,Ct,Wt,kn,Sn,Zn,Or;if(ot.length&&ot[ot.length-1]==""&&ot.pop(),nt=ot.length,nt>4)return H;for(Ct=[],Wt=0;Wt<nt;Wt++){if(kn=ot[Wt],kn=="")return H;if(Sn=10,kn.length>1&&kn.charAt(0)=="0"&&(Sn=oe.test(kn)?16:8,kn=kn.slice(Sn==8?1:2)),kn==="")Zn=0;else{if(!(Sn==10?me:Sn==8?ge:Z).test(kn))return H;Zn=parseInt(kn,Sn)}Ct.push(Zn)}for(Wt=0;Wt<nt;Wt++)if(Zn=Ct[Wt],Wt==nt-1){if(Zn>=ie(256,5-nt))return null}else if(Zn>255)return null;for(Or=Ct.pop(),Wt=0;Wt<Ct.length;Wt++)Or+=Ct[Wt]*ie(256,3-Wt);return Or},Me=function(H){var ot=[0,0,0,0,0,0,0,0],nt=0,Ct=null,Wt=0,kn,Sn,Zn,Or,Yn,Nn,Zt,rr=function(){return H.charAt(Wt)};if(rr()==":"){if(H.charAt(1)!=":")return;Wt+=2,nt++,Ct=nt}for(;rr();){if(nt==8)return;if(rr()==":"){if(Ct!==null)return;Wt++,nt++,Ct=nt;continue}for(kn=Sn=0;Sn<4&&Z.test(rr());)kn=kn*16+parseInt(rr(),16),Wt++,Sn++;if(rr()=="."){if(Sn==0||(Wt-=Sn,nt>6))return;for(Zn=0;rr();){if(Or=null,Zn>0)if(rr()=="."&&Zn<4)Wt++;else return;if(!he.test(rr()))return;for(;he.test(rr());){if(Yn=parseInt(rr(),10),Or===null)Or=Yn;else{if(Or==0)return;Or=Or*10+Yn}if(Or>255)return;Wt++}ot[nt]=ot[nt]*256+Or,Zn++,(Zn==2||Zn==4)&&nt++}if(Zn!=4)return;break}else if(rr()==":"){if(Wt++,!rr())return}else if(rr())return;ot[nt++]=kn}if(Ct!==null)for(Nn=nt-Ct,nt=7;nt!=0&&Nn>0;)Zt=ot[nt],ot[nt--]=ot[Ct+Nn-1],ot[Ct+--Nn]=Zt;else if(nt!=8)return;return ot},ze=function(H){for(var ot=null,nt=1,Ct=null,Wt=0,kn=0;kn<8;kn++)H[kn]!==0?(Wt>nt&&(ot=Ct,nt=Wt),Ct=null,Wt=0):(Ct===null&&(Ct=kn),++Wt);return Wt>nt&&(ot=Ct,nt=Wt),ot},Ue=function(H){var ot,nt,Ct,Wt;if(typeof H=="number"){for(ot=[],nt=0;nt<4;nt++)ot.unshift(H%256),H=ee(H/256);return ot.join(".")}else if(typeof H=="object"){for(ot="",Ct=ze(H),nt=0;nt<8;nt++)Wt&&H[nt]===0||(Wt&&(Wt=!1),Ct===nt?(ot+=nt?":":"::",Wt=!0):(ot+=H[nt].toString(16),nt<7&&(ot+=":")));return"["+ot+"]"}return H},He={},Ne=w({},He,{" ":1,'"':1,"<":1,">":1,"`":1}),it=w({},Ne,{"#":1,"?":1,"{":1,"}":1}),Xe=w({},it,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ht=function(H,ot){var nt=T(H,0);return nt>32&&nt<127&&!y(ot,H)?H:encodeURIComponent(H)},lt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Et=function(H){return y(lt,H.scheme)},tt=function(H){return H.username!=""||H.password!=""},mt=function(H){return!H.host||H.cannotBeABaseURL||H.scheme=="file"},xt=function(H,ot){var nt;return H.length==2&&te.test(H.charAt(0))&&((nt=H.charAt(1))==":"||!ot&&nt=="|")},Xt=function(H){var ot;return H.length>1&&xt(H.slice(0,2))&&(H.length==2||(ot=H.charAt(2))==="/"||ot==="\\"||ot==="?"||ot==="#")},vt=function(H){var ot=H.path,nt=ot.length;nt&&(H.scheme!="file"||nt!=1||!xt(ot[0],!0))&&ot.pop()},qe=function(H){return H==="."||H.toLowerCase()==="%2e"},Re=function(H){return H=H.toLowerCase(),H===".."||H==="%2e."||H===".%2e"||H==="%2e%2e"},Se={},Ve={},Ge={},_t={},bt={},gt={},at={},ft={},Fe={},Te={},ut={},le={},$e={},Qe={},Tt={},Ot={},Ut={},At={},Pt={},Dt={},Qt={},cn=function(H,ot,nt,Ct){var Wt=nt||Se,kn=0,Sn="",Zn=!1,Or=!1,Yn=!1,Nn,Zt,rr,Gn;for(nt||(H.scheme="",H.username="",H.password="",H.host=null,H.port=null,H.path=[],H.query=null,H.fragment=null,H.cannotBeABaseURL=!1,ot=ot.replace(Le,"")),ot=ot.replace(we,""),Nn=x(ot);kn<=Nn.length;){switch(Zt=Nn[kn],Wt){case Se:if(Zt&&te.test(Zt))Sn+=Zt.toLowerCase(),Wt=Ve;else{if(nt)return Q;Wt=Ge;continue}break;case Ve:if(Zt&&(_e.test(Zt)||Zt=="+"||Zt=="-"||Zt=="."))Sn+=Zt.toLowerCase();else if(Zt==":"){if(nt&&(Et(H)!=y(lt,Sn)||Sn=="file"&&(tt(H)||H.port!==null)||H.scheme=="file"&&!H.host))return;if(H.scheme=Sn,nt){Et(H)&&lt[H.scheme]==H.port&&(H.port=null);return}Sn="",H.scheme=="file"?Wt=Qe:Et(H)&&Ct&&Ct.scheme==H.scheme?Wt=_t:Et(H)?Wt=ft:Nn[kn+1]=="/"?(Wt=bt,kn++):(H.cannotBeABaseURL=!0,H.path.push(""),Wt=Pt)}else{if(nt)return Q;Sn="",Wt=Ge,kn=0;continue}break;case Ge:if(!Ct||Ct.cannotBeABaseURL&&Zt!="#")return Q;if(Ct.cannotBeABaseURL&&Zt=="#"){H.scheme=Ct.scheme,H.path=Ct.path.slice(),H.query=Ct.query,H.fragment="",H.cannotBeABaseURL=!0,Wt=Qt;break}Wt=Ct.scheme=="file"?Qe:gt;continue;case _t:if(Zt=="/"&&Nn[kn+1]=="/")Wt=Fe,kn++;else{Wt=gt;continue}break;case bt:if(Zt=="/"){Wt=Te;break}else{Wt=At;continue}case gt:if(H.scheme=Ct.scheme,Zt==fe)H.username=Ct.username,H.password=Ct.password,H.host=Ct.host,H.port=Ct.port,H.path=Ct.path.slice(),H.query=Ct.query;else if(Zt=="/"||Zt=="\\"&&Et(H))Wt=at;else if(Zt=="?")H.username=Ct.username,H.password=Ct.password,H.host=Ct.host,H.port=Ct.port,H.path=Ct.path.slice(),H.query="",Wt=Dt;else if(Zt=="#")H.username=Ct.username,H.password=Ct.password,H.host=Ct.host,H.port=Ct.port,H.path=Ct.path.slice(),H.query=Ct.query,H.fragment="",Wt=Qt;else{H.username=Ct.username,H.password=Ct.password,H.host=Ct.host,H.port=Ct.port,H.path=Ct.path.slice(),H.path.pop(),Wt=At;continue}break;case at:if(Et(H)&&(Zt=="/"||Zt=="\\"))Wt=Fe;else if(Zt=="/")Wt=Te;else{H.username=Ct.username,H.password=Ct.password,H.host=Ct.host,H.port=Ct.port,Wt=At;continue}break;case ft:if(Wt=Fe,Zt!="/"||Sn.charAt(kn+1)!="/")continue;kn++;break;case Fe:if(Zt!="/"&&Zt!="\\"){Wt=Te;continue}break;case Te:if(Zt=="@"){Zn&&(Sn="%40"+Sn),Zn=!0,rr=x(Sn);for(var ln=0;ln<rr.length;ln++){var Xn=rr[ln];if(Xn==":"&&!Yn){Yn=!0;continue}var Kn=ht(Xn,Xe);Yn?H.password+=Kn:H.username+=Kn}Sn=""}else if(Zt==fe||Zt=="/"||Zt=="?"||Zt=="#"||Zt=="\\"&&Et(H)){if(Zn&&Sn=="")return G;kn-=x(Sn).length+1,Sn="",Wt=ut}else Sn+=Zt;break;case ut:case le:if(nt&&H.scheme=="file"){Wt=Ot;continue}else if(Zt==":"&&!Or){if(Sn=="")return W;if(Gn=pe(H,Sn),Gn)return Gn;if(Sn="",Wt=$e,nt==le)return}else if(Zt==fe||Zt=="/"||Zt=="?"||Zt=="#"||Zt=="\\"&&Et(H)){if(Et(H)&&Sn=="")return W;if(nt&&Sn==""&&(tt(H)||H.port!==null))return;if(Gn=pe(H,Sn),Gn)return Gn;if(Sn="",Wt=Ut,nt)return;continue}else Zt=="["?Or=!0:Zt=="]"&&(Or=!1),Sn+=Zt;break;case $e:if(he.test(Zt))Sn+=Zt;else if(Zt==fe||Zt=="/"||Zt=="?"||Zt=="#"||Zt=="\\"&&Et(H)||nt){if(Sn!=""){var fr=parseInt(Sn,10);if(fr>65535)return ne;H.port=Et(H)&&fr===lt[H.scheme]?null:fr,Sn=""}if(nt)return;Wt=Ut;continue}else return ne;break;case Qe:if(H.scheme="file",Zt=="/"||Zt=="\\")Wt=Tt;else if(Ct&&Ct.scheme=="file")if(Zt==fe)H.host=Ct.host,H.path=Ct.path.slice(),H.query=Ct.query;else if(Zt=="?")H.host=Ct.host,H.path=Ct.path.slice(),H.query="",Wt=Dt;else if(Zt=="#")H.host=Ct.host,H.path=Ct.path.slice(),H.query=Ct.query,H.fragment="",Wt=Qt;else{Xt(Nn.slice(kn).join(""))||(H.host=Ct.host,H.path=Ct.path.slice(),vt(H)),Wt=At;continue}else{Wt=At;continue}break;case Tt:if(Zt=="/"||Zt=="\\"){Wt=Ot;break}Ct&&Ct.scheme=="file"&&!Xt(Nn.slice(kn).join(""))&&(xt(Ct.path[0],!0)?H.path.push(Ct.path[0]):H.host=Ct.host),Wt=At;continue;case Ot:if(Zt==fe||Zt=="/"||Zt=="\\"||Zt=="?"||Zt=="#"){if(!nt&&xt(Sn))Wt=At;else if(Sn==""){if(H.host="",nt)return;Wt=Ut}else{if(Gn=pe(H,Sn),Gn)return Gn;if(H.host=="localhost"&&(H.host=""),nt)return;Sn="",Wt=Ut}continue}else Sn+=Zt;break;case Ut:if(Et(H)){if(Wt=At,Zt!="/"&&Zt!="\\")continue}else if(!nt&&Zt=="?")H.query="",Wt=Dt;else if(!nt&&Zt=="#")H.fragment="",Wt=Qt;else if(Zt!=fe&&(Wt=At,Zt!="/"))continue;break;case At:if(Zt==fe||Zt=="/"||Zt=="\\"&&Et(H)||!nt&&(Zt=="?"||Zt=="#")){if(Re(Sn)?(vt(H),Zt!="/"&&!(Zt=="\\"&&Et(H))&&H.path.push("")):qe(Sn)?Zt!="/"&&!(Zt=="\\"&&Et(H))&&H.path.push(""):(H.scheme=="file"&&!H.path.length&&xt(Sn)&&(H.host&&(H.host=""),Sn=Sn.charAt(0)+":"),H.path.push(Sn)),Sn="",H.scheme=="file"&&(Zt==fe||Zt=="?"||Zt=="#"))for(;H.path.length>1&&H.path[0]==="";)H.path.shift();Zt=="?"?(H.query="",Wt=Dt):Zt=="#"&&(H.fragment="",Wt=Qt)}else Sn+=ht(Zt,it);break;case Pt:Zt=="?"?(H.query="",Wt=Dt):Zt=="#"?(H.fragment="",Wt=Qt):Zt!=fe&&(H.path[0]+=ht(Zt,He));break;case Dt:!nt&&Zt=="#"?(H.fragment="",Wt=Qt):Zt!=fe&&(Zt=="'"&&Et(H)?H.query+="%27":Zt=="#"?H.query+="%23":H.query+=ht(Zt,He));break;case Qt:Zt!=fe&&(H.fragment+=ht(Zt,Ne));break}kn++}},$n=function(ot){var nt=S(this,$n,"URL"),Ct=arguments.length>1?arguments[1]:void 0,Wt=String(ot),kn=$(nt,{type:"URL"}),Sn,Zn;if(Ct!==void 0){if(Ct instanceof $n)Sn=X(Ct);else if(Zn=cn(Sn={},String(Ct)),Zn)throw TypeError(Zn)}if(Zn=cn(kn,Wt,null,Sn),Zn)throw TypeError(Zn);var Or=kn.searchParams=new U,Yn=J(Or);Yn.updateSearchParams(kn.query),Yn.updateURL=function(){kn.query=String(Or)||null},m||(nt.href=_n.call(nt),nt.origin=bn.call(nt),nt.protocol=Bn.call(nt),nt.username=Tn.call(nt),nt.password=Tr.call(nt),nt.host=Sr.call(nt),nt.hostname=Wr.call(nt),nt.port=br.call(nt),nt.pathname=Wn.call(nt),nt.search=gr.call(nt),nt.searchParams=na.call(nt),nt.hash=jn.call(nt))},hn=$n.prototype,_n=function(){var H=X(this),ot=H.scheme,nt=H.username,Ct=H.password,Wt=H.host,kn=H.port,Sn=H.path,Zn=H.query,Or=H.fragment,Yn=ot+":";return Wt!==null?(Yn+="//",tt(H)&&(Yn+=nt+(Ct?":"+Ct:"")+"@"),Yn+=Ue(Wt),kn!==null&&(Yn+=":"+kn)):ot=="file"&&(Yn+="//"),Yn+=H.cannotBeABaseURL?Sn[0]:Sn.length?"/"+Sn.join("/"):"",Zn!==null&&(Yn+="?"+Zn),Or!==null&&(Yn+="#"+Or),Yn},bn=function(){var H=X(this),ot=H.scheme,nt=H.port;if(ot=="blob")try{return new URL(ot.path[0]).origin}catch(Ct){return"null"}return ot=="file"||!Et(H)?"null":ot+"://"+Ue(H.host)+(nt!==null?":"+nt:"")},Bn=function(){return X(this).scheme+":"},Tn=function(){return X(this).username},Tr=function(){return X(this).password},Sr=function(){var H=X(this),ot=H.host,nt=H.port;return ot===null?"":nt===null?Ue(ot):Ue(ot)+":"+nt},Wr=function(){var H=X(this).host;return H===null?"":Ue(H)},br=function(){var H=X(this).port;return H===null?"":String(H)},Wn=function(){var H=X(this),ot=H.path;return H.cannotBeABaseURL?ot[0]:ot.length?"/"+ot.join("/"):""},gr=function(){var H=X(this).query;return H?"?"+H:""},na=function(){return X(this).searchParams},jn=function(){var H=X(this).fragment;return H?"#"+H:""},un=function(H,ot){return{get:H,set:ot,configurable:!0,enumerable:!0}};if(m&&k(hn,{href:un(_n,function(H){var ot=X(this),nt=String(H),Ct=cn(ot,nt);if(Ct)throw TypeError(Ct);J(ot.searchParams).updateSearchParams(ot.query)}),origin:un(bn),protocol:un(Bn,function(H){var ot=X(this);cn(ot,String(H)+":",Se)}),username:un(Tn,function(H){var ot=X(this),nt=x(String(H));if(!mt(ot)){ot.username="";for(var Ct=0;Ct<nt.length;Ct++)ot.username+=ht(nt[Ct],Xe)}}),password:un(Tr,function(H){var ot=X(this),nt=x(String(H));if(!mt(ot)){ot.password="";for(var Ct=0;Ct<nt.length;Ct++)ot.password+=ht(nt[Ct],Xe)}}),host:un(Sr,function(H){var ot=X(this);ot.cannotBeABaseURL||cn(ot,String(H),ut)}),hostname:un(Wr,function(H){var ot=X(this);ot.cannotBeABaseURL||cn(ot,String(H),le)}),port:un(br,function(H){var ot=X(this);mt(ot)||(H=String(H),H==""?ot.port=null:cn(ot,H,$e))}),pathname:un(Wn,function(H){var ot=X(this);ot.cannotBeABaseURL||(ot.path=[],cn(ot,H+"",Ut))}),search:un(gr,function(H){var ot=X(this);H=String(H),H==""?ot.query=null:(H.charAt(0)=="?"&&(H=H.slice(1)),ot.query="",cn(ot,H,Dt)),J(ot.searchParams).updateSearchParams(ot.query)}),searchParams:un(na),hash:un(jn,function(H){var ot=X(this);if(H=String(H),H==""){ot.fragment=null;return}H.charAt(0)=="#"&&(H=H.slice(1)),ot.fragment="",cn(ot,H,Qt)})}),A(hn,"toJSON",function(){return _n.call(this)},{enumerable:!0}),A(hn,"toString",function(){return _n.call(this)},{enumerable:!0}),B){var zt=B.createObjectURL,Bt=B.revokeObjectURL;zt&&A($n,"createObjectURL",function(ot){return zt.apply(B,arguments)}),Bt&&A($n,"revokeObjectURL",function(ot){return Bt.apply(B,arguments)})}D($n,"URL"),E({global:!0,forced:!O,sham:!m},{URL:$n})},doU7:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingCount=void 0;var E={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};R.BindingCount=E},dt0z:function(ce,R,l){var E=l("zoYe");function m(O){return O==null?"":E(O)}ce.exports=m},dxzI:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.AsyncContainerModule=R.ContainerModule=void 0;var E=l("d9O0"),m=function(){function C(k){this.id=E.id(),this.registry=k}return C}();R.ContainerModule=m;var O=function(){function C(k){this.id=E.id(),this.registry=k}return C}();R.AsyncContainerModule=O},dz4S:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("pVnL")),C=E(l("lSNA")),k=E(l("lwsE")),A=E(l("W8MJ")),S=E(l("7W2i")),y=E(l("LQ03")),w=D(l("q1tI")),x=E(l("i8i4")),T=E(l("TSYQ"));function j(F){if(typeof WeakMap!="function")return null;var B=new WeakMap,U=new WeakMap;return(j=function($){return $?U:B})(F)}function D(F,B){if(!B&&F&&F.__esModule)return F;if(F===null||m(F)!=="object"&&typeof F!="function")return{default:F};var U=j(B);if(U&&U.has(F))return U.get(F);var J={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var X in F)if(X!=="default"&&Object.prototype.hasOwnProperty.call(F,X)){var ee=$?Object.getOwnPropertyDescriptor(F,X):null;ee&&(ee.get||ee.set)?Object.defineProperty(J,X,ee):J[X]=F[X]}return J.default=F,U&&U.set(F,J),J}var N=function(F){(0,S.default)(U,F);var B=(0,y.default)(U);function U(){var J;(0,k.default)(this,U);for(var $=arguments.length,X=new Array($),ee=0;ee<$;ee++)X[ee]=arguments[ee];return J=B.call.apply(B,[this].concat(X)),J.closeTimer=null,J.close=function(ie){ie&&ie.stopPropagation(),J.clearCloseTimer();var G=J.props,Q=G.onClose,W=G.noticeKey;Q&&Q(W)},J.startCloseTimer=function(){J.props.duration&&(J.closeTimer=window.setTimeout(function(){J.close()},J.props.duration*1e3))},J.clearCloseTimer=function(){J.closeTimer&&(clearTimeout(J.closeTimer),J.closeTimer=null)},J}return(0,A.default)(U,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function($){(this.props.duration!==$.duration||this.props.updateMark!==$.updateMark||this.props.visible!==$.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var $=this,X=this.props,ee=X.prefixCls,ie=X.className,G=X.closable,Q=X.closeIcon,W=X.style,ne=X.onClick,te=X.children,_e=X.holder,he="".concat(ee,"-notice"),oe=Object.keys(this.props).reduce(function(me,Z){return(Z.substr(0,5)==="data-"||Z.substr(0,5)==="aria-"||Z==="role")&&(me[Z]=$.props[Z]),me},{}),ge=w.createElement("div",(0,O.default)({className:(0,T.default)(he,ie,(0,C.default)({},"".concat(he,"-closable"),G)),style:W,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:ne},oe),w.createElement("div",{className:"".concat(he,"-content")},te),G?w.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(he,"-close")},Q||w.createElement("span",{className:"".concat(he,"-close-x")})):null);return _e?x.default.createPortal(ge,_e):ge}}]),U}(w.Component);R.default=N,N.defaultProps={onClose:function(){},duration:1.5}},e3V2:function(ce,R,l){"use strict";var E={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,O=m&&!E.call({1:2},1);R.f=O?function(k){var A=m(this,k);return!!A&&A.enumerable}:E},e4Nc:function(ce,R,l){var E=l("fGT3"),m=l("k+1r"),O=l("JHgL"),C=l("pSRY"),k=l("H8j4");function A(S){var y=-1,w=S==null?0:S.length;for(this.clear();++y<w;){var x=S[y];this.set(x[0],x[1])}}A.prototype.clear=E,A.prototype.delete=m,A.prototype.get=O,A.prototype.has=C,A.prototype.set=k,ce.exports=A},e5cp:function(ce,R,l){var E=l("fmRc"),m=l("or5M"),O=l("HDyB"),C=l("seXi"),k=l("QqLw"),A=l("Z0cm"),S=l("DSRE"),y=l("c6wG"),w=1,x="[object Arguments]",T="[object Array]",j="[object Object]",D=Object.prototype,N=D.hasOwnProperty;function F(B,U,J,$,X,ee){var ie=A(B),G=A(U),Q=ie?T:k(B),W=G?T:k(U);Q=Q==x?j:Q,W=W==x?j:W;var ne=Q==j,te=W==j,_e=Q==W;if(_e&&S(B)){if(!S(U))return!1;ie=!0,ne=!1}if(_e&&!ne)return ee||(ee=new E),ie||y(B)?m(B,U,J,$,X,ee):O(B,U,Q,J,$,X,ee);if(!(J&w)){var he=ne&&N.call(B,"__wrapped__"),oe=te&&N.call(U,"__wrapped__");if(he||oe){var ge=he?B.value():B,me=oe?U.value():U;return ee||(ee=new E),X(ge,me,J,$,ee)}}return _e?(ee||(ee=new E),C(B,U,J,$,X,ee)):!1}ce.exports=F},eCOq:function(ce,R,l){var E=l("MMxC");E({target:"Number",stat:!0},{isNaN:function(O){return O!=O}})},eCow:function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=l("Acmb"),k=m.has,A=m.get,S=m.toKey,y=function(w,x,T){var j=k(w,x,T);if(j)return A(w,x,T);var D=C(x);return D!==null?y(w,D,T):void 0};E({target:"Reflect",stat:!0},{getMetadata:function(x,T){var j=arguments.length<3?void 0:S(arguments[2]);return y(x,O(T),j)}})},"eDW+":function(ce,R,l){"use strict";var E=l("FVwB"),m=E.aTypedArray,O=E.exportTypedArrayMethod,C=Math.floor;O("reverse",function(){for(var A=this,S=m(A).length,y=C(S/2),w=0,x;w<y;)x=A[w],A[w++]=A[--S],A[S]=x;return A})},"eF/C":function(ce,R,l){"use strict";var E=this&&this.__extends||function(){var x=function(j,D){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,F){N.__proto__=F}||function(N,F){for(var B in F)Object.prototype.hasOwnProperty.call(F,B)&&(N[B]=F[B])},x(j,D)};return function(T,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");x(T,j);function D(){this.constructor=T}T.prototype=j===null?Object.create(j):(D.prototype=j.prototype,new D)}}(),m=this&&this.__assign||function(){return m=Object.assign||function(x){for(var T,j=1,D=arguments.length;j<D;j++){T=arguments[j];for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&(x[N]=T[N])}return x},m.apply(this,arguments)};Object.defineProperty(R,"__esModule",{value:!0});var O=l("bU/s"),C=l("17x9"),k=l("q1tI"),A=l("XaGS"),S=l("tGEx"),y=(0,S.getAceInstance)(),w=function(x){E(T,x);function T(j){var D=x.call(this,j)||this;return S.editorEvents.forEach(function(N){D[N]=D[N].bind(D)}),D.debounce=S.debounce,D}return T.prototype.isInShadow=function(j){for(var D=j&&j.parentNode;D;){if(D.toString()==="[object ShadowRoot]")return!0;D=D.parentNode}return!1},T.prototype.componentDidMount=function(){var j=this,D=this.props,N=D.className,F=D.onBeforeLoad,B=D.onValidate,U=D.mode,J=D.focus,$=D.theme,X=D.fontSize,ee=D.value,ie=D.defaultValue,G=D.showGutter,Q=D.wrapEnabled,W=D.showPrintMargin,ne=D.scrollMargin,te=ne===void 0?[0,0,0,0]:ne,_e=D.keyboardHandler,he=D.onLoad,oe=D.commands,ge=D.annotations,me=D.markers,Z=D.placeholder;this.editor=y.edit(this.refEditor),F&&F(y);for(var xe=Object.keys(this.props.editorProps),Ee=0;Ee<xe.length;Ee++)this.editor[xe[Ee]]=this.props.editorProps[xe[Ee]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),this.editor.renderer.setScrollMargin(te[0],te[1],te[2],te[3]),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.getSession().setMode(typeof U=="string"?"ace/mode/"+U:U),$&&$!==""&&this.editor.setTheme("ace/theme/"+$),this.editor.setFontSize(typeof X=="number"?X+"px":X),this.editor.getSession().setValue(ie||ee||""),this.props.navigateToFileEnd&&this.editor.navigateFileEnd(),this.editor.renderer.setShowGutter(G),this.editor.getSession().setUseWrapMode(Q),this.editor.setShowPrintMargin(W),this.editor.on("focus",this.onFocus),this.editor.on("blur",this.onBlur),this.editor.on("copy",this.onCopy),this.editor.on("paste",this.onPaste),this.editor.on("change",this.onChange),this.editor.on("input",this.onInput),Z&&this.updatePlaceholder(),this.editor.getSession().selection.on("changeSelection",this.onSelectionChange),this.editor.getSession().selection.on("changeCursor",this.onCursorChange),B&&this.editor.getSession().on("changeAnnotation",function(){var we=j.editor.getSession().getAnnotations();j.props.onValidate(we)}),this.editor.session.on("changeScrollTop",this.onScroll),this.editor.getSession().setAnnotations(ge||[]),me&&me.length>0&&this.handleMarkers(me);var Le=this.editor.$options;S.editorOptions.forEach(function(we){Le.hasOwnProperty(we)?j.editor.setOption(we,j.props[we]):j.props[we]&&console.warn("ReactAce: editor option "+we+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(oe)&&oe.forEach(function(we){typeof we.exec=="string"?j.editor.commands.bindKey(we.bindKey,we.exec):j.editor.commands.addCommand(we)}),_e&&this.editor.setKeyboardHandler("ace/keyboard/"+_e),N&&(this.refEditor.className+=" "+N),he&&he(this.editor),this.editor.resize(),J&&this.editor.focus()},T.prototype.componentDidUpdate=function(j){for(var D=j,N=this.props,F=0;F<S.editorOptions.length;F++){var B=S.editorOptions[F];N[B]!==D[B]&&this.editor.setOption(B,N[B])}if(N.className!==D.className){var U=this.refEditor.className,J=U.trim().split(" "),$=D.className.trim().split(" ");$.forEach(function(ee){var ie=J.indexOf(ee);J.splice(ie,1)}),this.refEditor.className=" "+N.className+" "+J.join(" ")}if(this.editor&&N.value!=null&&this.editor.getValue()!==N.value){this.silent=!0;var X=this.editor.session.selection.toJSON();this.editor.setValue(N.value,N.cursorStart),this.editor.session.selection.fromJSON(X),this.silent=!1}N.placeholder!==D.placeholder&&this.updatePlaceholder(),N.mode!==D.mode&&this.editor.getSession().setMode(typeof N.mode=="string"?"ace/mode/"+N.mode:N.mode),N.theme!==D.theme&&this.editor.setTheme("ace/theme/"+N.theme),N.keyboardHandler!==D.keyboardHandler&&(N.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+N.keyboardHandler):this.editor.setKeyboardHandler(null)),N.fontSize!==D.fontSize&&this.editor.setFontSize(typeof N.fontSize=="number"?N.fontSize+"px":N.fontSize),N.wrapEnabled!==D.wrapEnabled&&this.editor.getSession().setUseWrapMode(N.wrapEnabled),N.showPrintMargin!==D.showPrintMargin&&this.editor.setShowPrintMargin(N.showPrintMargin),N.showGutter!==D.showGutter&&this.editor.renderer.setShowGutter(N.showGutter),A(N.setOptions,D.setOptions)||this.handleOptions(N),A(N.annotations,D.annotations)||this.editor.getSession().setAnnotations(N.annotations||[]),!A(N.markers,D.markers)&&Array.isArray(N.markers)&&this.handleMarkers(N.markers),A(N.scrollMargin,D.scrollMargin)||this.handleScrollMargins(N.scrollMargin),(j.height!==this.props.height||j.width!==this.props.width)&&this.editor.resize(),this.props.focus&&!j.focus&&this.editor.focus()},T.prototype.handleScrollMargins=function(j){j===void 0&&(j=[0,0,0,0]),this.editor.renderer.setScrollMargin(j[0],j[1],j[2],j[3])},T.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},T.prototype.onChange=function(j){if(this.props.onChange&&!this.silent){var D=this.editor.getValue();this.props.onChange(D,j)}},T.prototype.onSelectionChange=function(j){if(this.props.onSelectionChange){var D=this.editor.getSelection();this.props.onSelectionChange(D,j)}},T.prototype.onCursorChange=function(j){if(this.props.onCursorChange){var D=this.editor.getSelection();this.props.onCursorChange(D,j)}},T.prototype.onInput=function(j){this.props.onInput&&this.props.onInput(j),this.props.placeholder&&this.updatePlaceholder()},T.prototype.onFocus=function(j){this.props.onFocus&&this.props.onFocus(j,this.editor)},T.prototype.onBlur=function(j){this.props.onBlur&&this.props.onBlur(j,this.editor)},T.prototype.onCopy=function(j){var D=j.text;this.props.onCopy&&this.props.onCopy(D)},T.prototype.onPaste=function(j){var D=j.text;this.props.onPaste&&this.props.onPaste(D)},T.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},T.prototype.handleOptions=function(j){for(var D=Object.keys(j.setOptions),N=0;N<D.length;N++)this.editor.setOption(D[N],j.setOptions[D[N]])},T.prototype.handleMarkers=function(j){var D=this,N=this.editor.getSession().getMarkers(!0);for(var F in N)N.hasOwnProperty(F)&&this.editor.getSession().removeMarker(N[F].id);N=this.editor.getSession().getMarkers(!1);for(var F in N)N.hasOwnProperty(F)&&N[F].clazz!=="ace_active-line"&&N[F].clazz!=="ace_selected-word"&&this.editor.getSession().removeMarker(N[F].id);j.forEach(function(B){var U=B.startRow,J=B.startCol,$=B.endRow,X=B.endCol,ee=B.className,ie=B.type,G=B.inFront,Q=G===void 0?!1:G,W=new O.Range(U,J,$,X);D.editor.getSession().addMarker(W,ee,ie,Q)})},T.prototype.updatePlaceholder=function(){var j=this.editor,D=this.props.placeholder,N=!j.session.getValue().length,F=j.renderer.placeholderNode;!N&&F?(j.renderer.scroller.removeChild(j.renderer.placeholderNode),j.renderer.placeholderNode=null):N&&!F?(F=j.renderer.placeholderNode=document.createElement("div"),F.textContent=D||"",F.className="ace_comment ace_placeholder",F.style.padding="0 9px",F.style.position="absolute",F.style.zIndex="3",j.renderer.scroller.appendChild(F)):N&&F&&(F.textContent=D)},T.prototype.updateRef=function(j){this.refEditor=j},T.prototype.render=function(){var j=this.props,D=j.name,N=j.width,F=j.height,B=j.style,U=m({width:N,height:F},B);return k.createElement("div",{ref:this.updateRef,id:D,style:U})},T.propTypes={mode:C.oneOfType([C.string,C.object]),focus:C.bool,theme:C.string,name:C.string,className:C.string,height:C.string,width:C.string,fontSize:C.oneOfType([C.number,C.string]),showGutter:C.bool,onChange:C.func,onCopy:C.func,onPaste:C.func,onFocus:C.func,onInput:C.func,onBlur:C.func,onScroll:C.func,value:C.string,defaultValue:C.string,onLoad:C.func,onSelectionChange:C.func,onCursorChange:C.func,onBeforeLoad:C.func,onValidate:C.func,minLines:C.number,maxLines:C.number,readOnly:C.bool,highlightActiveLine:C.bool,tabSize:C.number,showPrintMargin:C.bool,cursorStart:C.number,debounceChangePeriod:C.number,editorProps:C.object,setOptions:C.object,style:C.object,scrollMargin:C.array,annotations:C.array,markers:C.array,keyboardHandler:C.string,wrapEnabled:C.bool,enableSnippets:C.bool,enableBasicAutocompletion:C.oneOfType([C.bool,C.array]),enableLiveAutocompletion:C.oneOfType([C.bool,C.array]),navigateToFileEnd:C.bool,commands:C.array,placeholder:C.string},T.defaultProps={name:"ace-editor",focus:!1,mode:"",theme:"",height:"500px",width:"500px",fontSize:12,enableSnippets:!1,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,placeholder:null,navigateToFileEnd:!0},T}(k.Component);R.default=w},eNh0:function(ce,R,l){var E=l("2kyd"),m=l("u+7+"),O=l("YfKC"),C=E("unscopables"),k=Array.prototype;k[C]==null&&O.f(k,C,{configurable:!0,value:m(null)}),ce.exports=function(A){k[C][A]=!0}},eP3D:function(ce,R,l){var E=l("Mi8B");E("Float64",function(m){return function(C,k,A){return m(this,C,k,A)}})},eUgh:function(ce,R){function l(E,m){for(var O=-1,C=E==null?0:E.length,k=Array(C);++O<C;)k[O]=m(E[O],O,E);return k}ce.exports=l},eYKs:function(ce,R,l){var E=l("m0kY"),m=l("FCfD"),O=function(C){return function(k,A){var S=String(m(k)),y=E(A),w=S.length,x,T;return y<0||y>=w?C?"":void 0:(x=S.charCodeAt(y),x<55296||x>56319||y+1===w||(T=S.charCodeAt(y+1))<56320||T>57343?C?S.charAt(y):x:C?S.slice(y,y+2):(x-55296<<10)+(T-56320)+65536)}};ce.exports={codeAt:O(!1),charAt:O(!0)}},eZ87:function(ce,R,l){"use strict";var E=l("U8pU"),m=l("rePB"),O=l("wx14"),C=l("ODXe"),k=l("TSYQ"),A=l.n(k),S=l("KQm4"),y=l("q1tI"),w=l("Gytx"),x=l.n(w);function T(Fe){var Te=y.useRef();Te.current=Fe;var ut=y.useCallback(function(){for(var le,$e=arguments.length,Qe=new Array($e),Tt=0;Tt<$e;Tt++)Qe[Tt]=arguments[Tt];return(le=Te.current)===null||le===void 0?void 0:le.call.apply(le,[Te].concat(Qe))},[]);return ut}function j(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var D=j()?y.useLayoutEffect:y.useEffect,N=function(Te,ut){var le=y.useRef(!0);D(function(){return Te(le.current)},ut),D(function(){return le.current=!1,function(){le.current=!0}},[])},F=function(Te,ut){N(function(le){if(!le)return Te()},ut)},B=N;function U(Fe){var Te=y.useRef(!1),ut=y.useState(Fe),le=Object(C.a)(ut,2),$e=le[0],Qe=le[1];y.useEffect(function(){return Te.current=!1,function(){Te.current=!0}},[]);function Tt(Ot,Ut){Ut&&Te.current||Qe(Ot)}return[$e,Tt]}function J(Fe){return Fe!==void 0}function $(Fe,Te){var ut=Te||{},le=ut.defaultValue,$e=ut.value,Qe=ut.onChange,Tt=ut.postState,Ot=U(function(){return J($e)?$e:J(le)?typeof le=="function"?le():le:typeof Fe=="function"?Fe():Fe}),Ut=Object(C.a)(Ot,2),At=Ut[0],Pt=Ut[1],Dt=$e!==void 0?$e:At,Qt=Tt?Tt(Dt):Dt,cn=T(Qe),$n=U([Dt]),hn=Object(C.a)($n,2),_n=hn[0],bn=hn[1];F(function(){var Tn=_n[0];At!==Tn&&cn(At,Tn)},[_n]),F(function(){J($e)||Pt($e)},[$e]);var Bn=T(function(Tn,Tr){Pt(Tn,Tr),bn([Dt],Tr)});return[Qt,Bn]}var X=l("Ff2n"),ee=l("VTBJ"),ie={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Te){var ut=Te.keyCode;if(Te.altKey&&!Te.ctrlKey||Te.metaKey||ut>=ie.F1&&ut<=ie.F12)return!1;switch(ut){case ie.ALT:case ie.CAPS_LOCK:case ie.CONTEXT_MENU:case ie.CTRL:case ie.DOWN:case ie.END:case ie.ESC:case ie.HOME:case ie.INSERT:case ie.LEFT:case ie.MAC_FF_META:case ie.META:case ie.NUMLOCK:case ie.NUM_CENTER:case ie.PAGE_DOWN:case ie.PAGE_UP:case ie.PAUSE:case ie.PRINT_SCREEN:case ie.RIGHT:case ie.SHIFT:case ie.UP:case ie.WIN_KEY:case ie.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Te){if(Te>=ie.ZERO&&Te<=ie.NINE||Te>=ie.NUM_ZERO&&Te<=ie.NUM_MULTIPLY||Te>=ie.A&&Te<=ie.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Te===0)return!0;switch(Te){case ie.SPACE:case ie.QUESTION_MARK:case ie.NUM_PLUS:case ie.NUM_MINUS:case ie.NUM_PERIOD:case ie.NUM_DIVISION:case ie.SEMICOLON:case ie.DASH:case ie.EQUALS:case ie.COMMA:case ie.PERIOD:case ie.SLASH:case ie.APOSTROPHE:case ie.SINGLE_QUOTE:case ie.OPEN_SQUARE_BRACKET:case ie.BACKSLASH:case ie.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},G=ie,Q=y.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0}),W=Q;function ne(Fe,Te,ut){return(Fe-Te)/(ut-Te)}function te(Fe,Te,ut,le){var $e=ne(Te,ut,le),Qe={};switch(Fe){case"rtl":Qe.right="".concat($e*100,"%"),Qe.transform="translateX(50%)";break;case"btt":Qe.bottom="".concat($e*100,"%"),Qe.transform="translateY(50%)";break;case"ttb":Qe.top="".concat($e*100,"%"),Qe.transform="translateY(-50%)";break;default:Qe.left="".concat($e*100,"%"),Qe.transform="translateX(-50%)";break}return Qe}function _e(Fe,Te){return Array.isArray(Fe)?Fe[Te]:Fe}var he=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],oe=y.forwardRef(function(Fe,Te){var ut,le,$e=Fe.prefixCls,Qe=Fe.value,Tt=Fe.valueIndex,Ot=Fe.onStartMove,Ut=Fe.style,At=Fe.render,Pt=Fe.dragging,Dt=Fe.onOffsetChange,Qt=Object(X.a)(Fe,he),cn=y.useContext(W),$n=cn.min,hn=cn.max,_n=cn.direction,bn=cn.disabled,Bn=cn.range,Tn=cn.tabIndex,Tr=cn.ariaLabelForHandle,Sr=cn.ariaLabelledByForHandle,Wr=cn.ariaValueTextFormatterForHandle,br="".concat($e,"-handle"),Wn=function(zt){bn||Ot(zt,Tt)},gr=function(zt){if(!bn){var Bt=null;switch(zt.which||zt.keyCode){case G.LEFT:Bt=_n==="ltr"||_n==="btt"?-1:1;break;case G.RIGHT:Bt=_n==="ltr"||_n==="btt"?1:-1;break;case G.UP:Bt=_n!=="ttb"?1:-1;break;case G.DOWN:Bt=_n!=="ttb"?-1:1;break;case G.HOME:Bt="min";break;case G.END:Bt="max";break;case G.PAGE_UP:Bt=2;break;case G.PAGE_DOWN:Bt=-2;break}Bt!==null&&(zt.preventDefault(),Dt(Bt,Tt))}},na=te(_n,Qe,$n,hn),jn=y.createElement("div",Object(O.a)({ref:Te,className:A()(br,(ut={},Object(m.a)(ut,"".concat(br,"-").concat(Tt+1),Bn),Object(m.a)(ut,"".concat(br,"-dragging"),Pt),ut)),style:Object(ee.a)(Object(ee.a)({},na),Ut),onMouseDown:Wn,onTouchStart:Wn,onKeyDown:gr,tabIndex:bn?null:_e(Tn,Tt),role:"slider","aria-valuemin":$n,"aria-valuemax":hn,"aria-valuenow":Qe,"aria-disabled":bn,"aria-label":_e(Tr,Tt),"aria-labelledby":_e(Sr,Tt),"aria-valuetext":(le=_e(Wr,Tt))===null||le===void 0?void 0:le(Qe)},Qt));return At&&(jn=At(jn,{index:Tt,prefixCls:$e,value:Qe,dragging:Pt})),jn}),ge=oe,me=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],Z=y.forwardRef(function(Fe,Te){var ut=Fe.prefixCls,le=Fe.style,$e=Fe.onStartMove,Qe=Fe.onOffsetChange,Tt=Fe.values,Ot=Fe.handleRender,Ut=Fe.draggingIndex,At=Object(X.a)(Fe,me),Pt=y.useRef({});return y.useImperativeHandle(Te,function(){return{focus:function(Qt){var cn;(cn=Pt.current[Qt])===null||cn===void 0||cn.focus()}}}),y.createElement(y.Fragment,null,Tt.map(function(Dt,Qt){return y.createElement(ge,Object(O.a)({ref:function($n){$n?Pt.current[Qt]=$n:delete Pt.current[Qt]},dragging:Ut===Qt,prefixCls:ut,style:_e(le,Qt),key:Qt,value:Dt,valueIndex:Qt,onStartMove:$e,onOffsetChange:Qe,render:Ot},At))}))}),xe=Z;function Ee(Fe){var Te="touches"in Fe?Fe.touches[0]:Fe;return{pageX:Te.pageX,pageY:Te.pageY}}function Le(Fe,Te,ut,le,$e,Qe,Tt,Ot,Ut){var At=y.useState(null),Pt=Object(C.a)(At,2),Dt=Pt[0],Qt=Pt[1],cn=y.useState(-1),$n=Object(C.a)(cn,2),hn=$n[0],_n=$n[1],bn=y.useState(ut),Bn=Object(C.a)(bn,2),Tn=Bn[0],Tr=Bn[1],Sr=y.useState(ut),Wr=Object(C.a)(Sr,2),br=Wr[0],Wn=Wr[1],gr=y.useRef(null),na=y.useRef(null);y.useEffect(function(){hn===-1&&Tr(ut)},[ut,hn]),y.useEffect(function(){return function(){document.removeEventListener("mousemove",gr.current),document.removeEventListener("mouseup",na.current),document.removeEventListener("touchmove",gr.current),document.removeEventListener("touchend",na.current)}},[]);var jn=function(nt,Ct){Tn.some(function(Wt,kn){return Wt!==nt[kn]})&&(Ct!==void 0&&Qt(Ct),Tr(nt),Tt(nt))},un=function(nt,Ct){if(nt===-1){var Wt=br[0],kn=br[br.length-1],Sn=le-Wt,Zn=$e-kn,Or=Ct*($e-le);Or=Math.max(Or,Sn),Or=Math.min(Or,Zn);var Yn=Qe(Wt+Or);Or=Yn-Wt;var Nn=br.map(function(ln){return ln+Or});jn(Nn)}else{var Zt=($e-le)*Ct,rr=Object(S.a)(Tn);rr[nt]=br[nt];var Gn=Ut(rr,Zt,nt,"dist");jn(Gn.values,Gn.value)}},zt=y.useRef(un);zt.current=un;var Bt=function(nt,Ct){nt.stopPropagation();var Wt=ut[Ct];_n(Ct),Qt(Wt),Wn(ut);var kn=Ee(nt),Sn=kn.pageX,Zn=kn.pageY,Or=function(Zt){Zt.preventDefault();var rr=Ee(Zt),Gn=rr.pageX,ln=rr.pageY,Xn=Gn-Sn,Kn=ln-Zn,fr=Fe.current.getBoundingClientRect(),Hn=fr.width,Sa=fr.height,Lr;switch(Te){case"btt":Lr=-Kn/Sa;break;case"ttb":Lr=Kn/Sa;break;case"rtl":Lr=-Xn/Hn;break;default:Lr=Xn/Hn}zt.current(Ct,Lr)},Yn=function Nn(Zt){Zt.preventDefault(),document.removeEventListener("mouseup",Nn),document.removeEventListener("mousemove",Or),document.removeEventListener("touchend",Nn),document.removeEventListener("touchmove",Or),gr.current=null,na.current=null,_n(-1),Ot()};document.addEventListener("mouseup",Yn),document.addEventListener("mousemove",Or),document.addEventListener("touchend",Yn),document.addEventListener("touchmove",Or),gr.current=Or,na.current=Yn},H=y.useMemo(function(){var ot=Object(S.a)(ut).sort(function(Ct,Wt){return Ct-Wt}),nt=Object(S.a)(Tn).sort(function(Ct,Wt){return Ct-Wt});return ot.every(function(Ct,Wt){return Ct===nt[Wt]})?Tn:ut},[ut,Tn]);return[hn,Dt,H,Bt]}function we(Fe){var Te=Fe.prefixCls,ut=Fe.style,le=Fe.start,$e=Fe.end,Qe=Fe.index,Tt=Fe.onStartMove,Ot=y.useContext(W),Ut=Ot.direction,At=Ot.min,Pt=Ot.max,Dt=Ot.disabled,Qt=Ot.range,cn="".concat(Te,"-track"),$n=ne(le,At,Pt),hn=ne($e,At,Pt),_n=function(Tn){!Dt&&Tt&&Tt(Tn,-1)},bn={};switch(Ut){case"rtl":bn.right="".concat($n*100,"%"),bn.width="".concat(hn*100-$n*100,"%");break;case"btt":bn.bottom="".concat($n*100,"%"),bn.height="".concat(hn*100-$n*100,"%");break;case"ttb":bn.top="".concat($n*100,"%"),bn.height="".concat(hn*100-$n*100,"%");break;default:bn.left="".concat($n*100,"%"),bn.width="".concat(hn*100-$n*100,"%")}return y.createElement("div",{className:A()(cn,Qt&&"".concat(cn,"-").concat(Qe+1)),style:Object(ee.a)(Object(ee.a)({},bn),ut),onMouseDown:_n,onTouchStart:_n})}function fe(Fe){var Te=Fe.prefixCls,ut=Fe.style,le=Fe.values,$e=Fe.startPoint,Qe=Fe.onStartMove,Tt=y.useContext(W),Ot=Tt.included,Ut=Tt.range,At=Tt.min,Pt=y.useMemo(function(){if(!Ut){if(le.length===0)return[];var Dt=$e!=null?$e:At,Qt=le[0];return[{start:Math.min(Dt,Qt),end:Math.max(Dt,Qt)}]}for(var cn=[],$n=0;$n<le.length-1;$n+=1)cn.push({start:le[$n],end:le[$n+1]});return cn},[le,Ut,$e,At]);return Ot?Pt.map(function(Dt,Qt){var cn=Dt.start,$n=Dt.end;return y.createElement(we,{index:Qt,prefixCls:Te,style:_e(ut,Qt),start:cn,end:$n,key:Qt,onStartMove:Qe})}):null}function pe(Fe){var Te=Fe.prefixCls,ut=Fe.style,le=Fe.children,$e=Fe.value,Qe=Fe.onClick,Tt=y.useContext(W),Ot=Tt.min,Ut=Tt.max,At=Tt.direction,Pt=Tt.includedStart,Dt=Tt.includedEnd,Qt=Tt.included,cn="".concat(Te,"-text"),$n=te(At,$e,Ot,Ut);return y.createElement("span",{className:A()(cn,Object(m.a)({},"".concat(cn,"-active"),Qt&&Pt<=$e&&$e<=Dt)),style:Object(ee.a)(Object(ee.a)({},$n),ut),onMouseDown:function(_n){_n.stopPropagation()},onClick:function(){Qe($e)}},le)}function Ke(Fe){var Te=Fe.prefixCls,ut=Fe.marks,le=Fe.onClick,$e="".concat(Te,"-mark");return ut.length?y.createElement("div",{className:$e},ut.map(function(Qe){var Tt=Qe.value,Ot=Qe.style,Ut=Qe.label;return y.createElement(pe,{key:Tt,prefixCls:$e,style:Ot,value:Tt,onClick:le},Ut)})):null}function Me(Fe){var Te=Fe.prefixCls,ut=Fe.value,le=Fe.style,$e=Fe.activeStyle,Qe=y.useContext(W),Tt=Qe.min,Ot=Qe.max,Ut=Qe.direction,At=Qe.included,Pt=Qe.includedStart,Dt=Qe.includedEnd,Qt="".concat(Te,"-dot"),cn=At&&Pt<=ut&&ut<=Dt,$n=Object(ee.a)(Object(ee.a)({},te(Ut,ut,Tt,Ot)),typeof le=="function"?le(ut):le);return cn&&($n=Object(ee.a)(Object(ee.a)({},$n),typeof $e=="function"?$e(ut):$e)),y.createElement("span",{className:A()(Qt,Object(m.a)({},"".concat(Qt,"-active"),cn)),style:$n})}function ze(Fe){var Te=Fe.prefixCls,ut=Fe.marks,le=Fe.dots,$e=Fe.style,Qe=Fe.activeStyle,Tt=y.useContext(W),Ot=Tt.min,Ut=Tt.max,At=Tt.step,Pt=y.useMemo(function(){var Dt=new Set;if(ut.forEach(function(cn){Dt.add(cn.value)}),le&&At!==null)for(var Qt=Ot;Qt<=Ut;)Dt.add(Qt),Qt+=At;return Array.from(Dt)},[Ot,Ut,At,le,ut]);return y.createElement("div",{className:"".concat(Te,"-step")},Pt.map(function(Dt){return y.createElement(Me,{prefixCls:Te,key:Dt,value:Dt,style:$e,activeStyle:Qe})}))}function Ue(Fe,Te,ut,le,$e,Qe){var Tt=y.useCallback(function(cn){var $n=isFinite(cn)?cn:Fe;return $n=Math.min(Te,cn),$n=Math.max(Fe,$n),$n},[Fe,Te]),Ot=y.useCallback(function(cn){if(ut!==null){var $n=Fe+Math.round((Tt(cn)-Fe)/ut)*ut,hn=function(Tn){return(String(Tn).split(".")[1]||"").length},_n=Math.max(hn(ut),hn(Te),hn(Fe)),bn=Number($n.toFixed(_n));return Fe<=bn&&bn<=Te?bn:null}return null},[ut,Fe,Te,Tt]),Ut=y.useCallback(function(cn){var $n=Tt(cn),hn=le.map(function(Bn){return Bn.value});ut!==null&&hn.push(Ot(cn)),hn.push(Fe,Te);var _n=hn[0],bn=Te-Fe;return hn.forEach(function(Bn){var Tn=Math.abs($n-Bn);Tn<=bn&&(_n=Bn,bn=Tn)}),_n},[Fe,Te,le,ut,Tt,Ot]),At=function cn($n,hn,_n){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof hn=="number"){var Bn,Tn=$n[_n],Tr=Tn+hn,Sr=[];le.forEach(function(na){Sr.push(na.value)}),Sr.push(Fe,Te),Sr.push(Ot(Tn));var Wr=hn>0?1:-1;bn==="unit"?Sr.push(Ot(Tn+Wr*ut)):Sr.push(Ot(Tr)),Sr=Sr.filter(function(na){return na!==null}).filter(function(na){return hn<0?na<=Tn:na>=Tn}),bn==="unit"&&(Sr=Sr.filter(function(na){return na!==Tn}));var br=bn==="unit"?Tn:Tr;Bn=Sr[0];var Wn=Math.abs(Bn-br);if(Sr.forEach(function(na){var jn=Math.abs(na-br);jn<Wn&&(Bn=na,Wn=jn)}),Bn===void 0)return hn<0?Fe:Te;if(bn==="dist")return Bn;if(Math.abs(hn)>1){var gr=Object(S.a)($n);return gr[_n]=Bn,cn(gr,hn-Wr,_n,bn)}return Bn}else{if(hn==="min")return Fe;if(hn==="max")return Te}},Pt=function($n,hn,_n){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Bn=$n[_n],Tn=At($n,hn,_n,bn);return{value:Tn,changed:Tn!==Bn}},Dt=function($n){return Qe===null&&$n===0||typeof Qe=="number"&&$n<Qe},Qt=function($n,hn,_n){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Bn=$n.map(Ut),Tn=Bn[_n],Tr=At(Bn,hn,_n,bn);if(Bn[_n]=Tr,$e===!1){var Sr=Qe||0;_n>0&&Bn[_n-1]!==Tn&&(Bn[_n]=Math.max(Bn[_n],Bn[_n-1]+Sr)),_n<Bn.length-1&&Bn[_n+1]!==Tn&&(Bn[_n]=Math.min(Bn[_n],Bn[_n+1]-Sr))}else if(typeof Qe=="number"||Qe===null){for(var Wr=_n+1;Wr<Bn.length;Wr+=1)for(var br=!0;Dt(Bn[Wr]-Bn[Wr-1])&&br;){var Wn=Pt(Bn,1,Wr);Bn[Wr]=Wn.value,br=Wn.changed}for(var gr=_n;gr>0;gr-=1)for(var na=!0;Dt(Bn[gr]-Bn[gr-1])&&na;){var jn=Pt(Bn,-1,gr-1);Bn[gr-1]=jn.value,na=jn.changed}for(var un=Bn.length-1;un>0;un-=1)for(var zt=!0;Dt(Bn[un]-Bn[un-1])&&zt;){var Bt=Pt(Bn,-1,un-1);Bn[un-1]=Bt.value,zt=Bt.changed}for(var H=0;H<Bn.length-1;H+=1)for(var ot=!0;Dt(Bn[H+1]-Bn[H])&&ot;){var nt=Pt(Bn,1,H+1);Bn[H+1]=nt.value,ot=nt.changed}}return{value:Bn[_n],values:Bn}};return[Ut,Qt]}var He={},Ne=[],it=function(Te){Ne.push(Te)};function Xe(Fe,Te){if(!1)var ut}function ht(Fe,Te){if(!1)var ut}function lt(){He={}}function Et(Fe,Te,ut){!Te&&!He[ut]&&(Fe(!1,ut),He[ut]=!0)}function tt(Fe,Te){Et(Xe,Fe,Te)}function mt(Fe,Te){Et(ht,Fe,Te)}tt.preMessage=it,tt.resetWarned=lt,tt.noteOnce=mt;var xt=tt,Xt=y.forwardRef(function(Fe,Te){var ut,le=Fe.prefixCls,$e=le===void 0?"rc-slider":le,Qe=Fe.className,Tt=Fe.style,Ot=Fe.disabled,Ut=Ot===void 0?!1:Ot,At=Fe.autoFocus,Pt=Fe.onFocus,Dt=Fe.onBlur,Qt=Fe.min,cn=Qt===void 0?0:Qt,$n=Fe.max,hn=$n===void 0?100:$n,_n=Fe.step,bn=_n===void 0?1:_n,Bn=Fe.value,Tn=Fe.defaultValue,Tr=Fe.range,Sr=Fe.count,Wr=Fe.onChange,br=Fe.onBeforeChange,Wn=Fe.onAfterChange,gr=Fe.allowCross,na=gr===void 0?!0:gr,jn=Fe.pushable,un=jn===void 0?!1:jn,zt=Fe.draggableTrack,Bt=Fe.reverse,H=Fe.vertical,ot=Fe.included,nt=ot===void 0?!0:ot,Ct=Fe.startPoint,Wt=Fe.trackStyle,kn=Fe.handleStyle,Sn=Fe.railStyle,Zn=Fe.dotStyle,Or=Fe.activeDotStyle,Yn=Fe.marks,Nn=Fe.dots,Zt=Fe.handleRender,rr=Fe.tabIndex,Gn=rr===void 0?0:rr,ln=Fe.ariaLabelForHandle,Xn=Fe.ariaLabelledByForHandle,Kn=Fe.ariaValueTextFormatterForHandle,fr=y.useRef(),Hn=y.useRef(),Sa=y.useMemo(function(){return H?Bt?"ttb":"btt":Bt?"rtl":"ltr"},[Bt,H]),Lr=y.useMemo(function(){return isFinite(cn)?cn:0},[cn]),Ca=y.useMemo(function(){return isFinite(hn)?hn:100},[hn]),za=y.useMemo(function(){return bn!==null&&bn<=0?1:bn},[bn]),Ma=y.useMemo(function(){return un===!0?za:un>=0?un:!1},[un,za]),va=y.useMemo(function(){var ma=Object.keys(Yn||{});return ma.map(function(Oa){var Pn=Yn[Oa],Kr={value:Number(Oa)};return Pn&&Object(E.a)(Pn)==="object"&&!y.isValidElement(Pn)&&("label"in Pn||"style"in Pn)?(Kr.style=Pn.style,Kr.label=Pn.label):Kr.label=Pn,Kr}).filter(function(Oa){var Pn=Oa.label;return Pn||typeof Pn=="number"}).sort(function(Oa,Pn){return Oa.value-Pn.value})},[Yn]),qa=Ue(Lr,Ca,za,va,na,Ma),gi=Object(C.a)(qa,2),Qi=gi[0],mi=gi[1],Cr=$(Tn,{value:Bn}),Un=Object(C.a)(Cr,2),Lt=Un[0],gn=Un[1],Ln=y.useMemo(function(){var ma=Lt==null?[]:Array.isArray(Lt)?Lt:[Lt],Oa=Object(C.a)(ma,1),Pn=Oa[0],Kr=Pn===void 0?Lr:Pn,Vn=Lt===null?[]:[Kr];if(Tr){if(Vn=Object(S.a)(ma),Sr||Lt===void 0){var tr=Sr>=0?Sr+1:2;for(Vn=Vn.slice(0,tr);Vn.length<tr;){var Ea;Vn.push((Ea=Vn[Vn.length-1])!==null&&Ea!==void 0?Ea:Lr)}}Vn.sort(function(Ja,go){return Ja-go})}return Vn.forEach(function(Ja,go){Vn[go]=Qi(Ja)}),Vn},[Lt,Tr,Lr,Sr,Qi]),kr=y.useRef(Ln);kr.current=Ln;var ea=function(Oa){return Tr?Oa:Oa[0]},Qr=function(Oa){var Pn=Object(S.a)(Oa).sort(function(Kr,Vn){return Kr-Vn});Wr&&!x()(Pn,kr.current)&&Wr(ea(Pn)),gn(Pn)},Na=function(Oa){if(!Ut){var Pn=0,Kr=Ca-Lr;Ln.forEach(function(tr,Ea){var Ja=Math.abs(Oa-tr);Ja<=Kr&&(Kr=Ja,Pn=Ea)});var Vn=Object(S.a)(Ln);Vn[Pn]=Oa,Tr&&!Ln.length&&Sr===void 0&&Vn.push(Oa),br==null||br(ea(Vn)),Qr(Vn),Wn==null||Wn(ea(Vn))}},ar=function(Oa){Oa.preventDefault();var Pn=Hn.current.getBoundingClientRect(),Kr=Pn.width,Vn=Pn.height,tr=Pn.left,Ea=Pn.top,Ja=Pn.bottom,go=Pn.right,fi=Oa.clientX,lo=Oa.clientY,Oi;switch(Sa){case"btt":Oi=(Ja-lo)/Vn;break;case"ttb":Oi=(lo-Ea)/Vn;break;case"rtl":Oi=(go-fi)/Kr;break;default:Oi=(fi-tr)/Kr}var io=Lr+Oi*(Ca-Lr);Na(Qi(io))},pi=y.useState(null),_i=Object(C.a)(pi,2),ti=_i[0],ui=_i[1],Ri=function(Oa,Pn){if(!Ut){var Kr=mi(Ln,Oa,Pn);br==null||br(ea(Ln)),Qr(Kr.values),Wn==null||Wn(ea(Kr.values)),ui(Kr.value)}};y.useEffect(function(){if(ti!==null){var ma=Ln.indexOf(ti);ma>=0&&fr.current.focus(ma)}ui(null)},[ti]);var ao=y.useMemo(function(){return zt&&za===null?!1:zt},[zt,za]),Zi=function(){Wn==null||Wn(ea(kr.current))},Fi=Le(Hn,Sa,Ln,Lr,Ca,Qi,Qr,Zi,mi),Si=Object(C.a)(Fi,4),qi=Si[0],eo=Si[1],xo=Si[2],cs=Si[3],ba=function(Oa,Pn){cs(Oa,Pn),br==null||br(ea(kr.current))},sa=qi!==-1;y.useEffect(function(){if(!sa){var ma=Ln.lastIndexOf(eo);fr.current.focus(ma)}},[sa]);var Da=y.useMemo(function(){return Object(S.a)(xo).sort(function(ma,Oa){return ma-Oa})},[xo]),On=y.useMemo(function(){return Tr?[Da[0],Da[Da.length-1]]:[Lr,Da[0]]},[Da,Tr,Lr]),xn=Object(C.a)(On,2),Rt=xn[0],mr=xn[1];y.useImperativeHandle(Te,function(){return{focus:function(){fr.current.focus(0)},blur:function(){var Oa=document,Pn=Oa.activeElement;Hn.current.contains(Pn)&&(Pn==null||Pn.blur())}}}),y.useEffect(function(){At&&fr.current.focus(0)},[]);var ta=y.useMemo(function(){return{min:Lr,max:Ca,direction:Sa,disabled:Ut,step:za,included:nt,includedStart:Rt,includedEnd:mr,range:Tr,tabIndex:Gn,ariaLabelForHandle:ln,ariaLabelledByForHandle:Xn,ariaValueTextFormatterForHandle:Kn}},[Lr,Ca,Sa,Ut,za,nt,Rt,mr,Tr,Gn,ln,Xn,Kn]);return y.createElement(W.Provider,{value:ta},y.createElement("div",{ref:Hn,className:A()($e,Qe,(ut={},Object(m.a)(ut,"".concat($e,"-disabled"),Ut),Object(m.a)(ut,"".concat($e,"-vertical"),H),Object(m.a)(ut,"".concat($e,"-horizontal"),!H),Object(m.a)(ut,"".concat($e,"-with-marks"),va.length),ut)),style:Tt,onMouseDown:ar},y.createElement("div",{className:"".concat($e,"-rail"),style:Sn}),y.createElement(fe,{prefixCls:$e,style:Wt,values:Da,startPoint:Ct,onStartMove:ao?ba:null}),y.createElement(ze,{prefixCls:$e,marks:va,dots:Nn,style:Zn,activeStyle:Or}),y.createElement(xe,{ref:fr,prefixCls:$e,style:kn,values:xo,draggingIndex:qi,onStartMove:ba,onOffsetChange:Ri,onFocus:Pt,onBlur:Dt,handleRender:Zt}),y.createElement(Ke,{prefixCls:$e,marks:va,onClick:Na})))}),vt=Xt,qe=vt,Re=l("H84U"),Se=l("3F7U"),Ve=l("Twdv"),Ge=l("3S7+"),_t=y.forwardRef(function(Fe,Te){var ut=Fe.open,le=Object(y.useRef)(null),$e=Object(y.useRef)(null);function Qe(){Se.a.cancel($e.current),$e.current=null}function Tt(){$e.current=Object(Se.a)(function(){var Ot;(Ot=le.current)===null||Ot===void 0||Ot.forcePopupAlign(),$e.current=null})}return y.useEffect(function(){return ut?Tt():Qe(),Qe},[ut,Fe.title]),y.createElement(Ge.a,Object(O.a)({ref:Object(Ve.a)(le,Te)},Fe))}),bt=_t,gt=function(Fe,Te){var ut={};for(var le in Fe)Object.prototype.hasOwnProperty.call(Fe,le)&&Te.indexOf(le)<0&&(ut[le]=Fe[le]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,le=Object.getOwnPropertySymbols(Fe);$e<le.length;$e++)Te.indexOf(le[$e])<0&&Object.prototype.propertyIsEnumerable.call(Fe,le[$e])&&(ut[le[$e]]=Fe[le[$e]]);return ut},at=y.forwardRef(function(Fe,Te){var ut=y.useContext(Re.b),le=ut.getPrefixCls,$e=ut.direction,Qe=ut.getPopupContainer,Tt=y.useState({}),Ot=Object(C.a)(Tt,2),Ut=Ot[0],At=Ot[1],Pt=function(Wn,gr){At(function(na){return Object(O.a)(Object(O.a)({},na),Object(m.a)({},Wn,gr))})},Dt=function(Wn,gr){return Wn||(gr?$e==="rtl"?"left":"right":"top")},Qt=Fe.prefixCls,cn=Fe.range,$n=Fe.className,hn=gt(Fe,["prefixCls","range","className"]),_n=le("slider",Qt),bn=A()($n,Object(m.a)({},"".concat(_n,"-rtl"),$e==="rtl"));$e==="rtl"&&!hn.vertical&&(hn.reverse=!hn.reverse);var Bn=y.useMemo(function(){return cn?Object(E.a)(cn)==="object"?[!0,cn.draggableTrack]:[!0,!1]:[!1]},[cn]),Tn=Object(C.a)(Bn,2),Tr=Tn[0],Sr=Tn[1],Wr=function(Wn,gr){var na,jn=gr.index,un=gr.dragging,zt=le(),Bt=Fe.tooltip,H=Bt===void 0?{}:Bt,ot=Fe.vertical,nt=Object(O.a)({formatter:(na=Fe.tipFormatter)!==null&&na!==void 0?na:function(rr){return typeof rr=="number"?rr.toString():""},open:Fe.tooltipVisible,placement:Fe.tooltipPlacement,getPopupContainer:Fe.getTooltipPopupContainer},H),Ct=nt.open,Wt=nt.placement,kn=nt.getPopupContainer,Sn=nt.prefixCls,Zn=nt.formatter,Or=Zn?Ut[jn]||un:!1,Yn=Ct||Ct===void 0&&Or,Nn=Object(O.a)(Object(O.a)({},Wn.props),{onMouseEnter:function(){return Pt(jn,!0)},onMouseLeave:function(){return Pt(jn,!1)}}),Zt=le("tooltip",Sn);return y.createElement(bt,{prefixCls:Zt,title:Zn?Zn(gr.value):"",open:Yn,placement:Dt(Wt,ot),transitionName:"".concat(zt,"-zoom-down"),key:jn,overlayClassName:"".concat(_n,"-tooltip"),getPopupContainer:kn||Qe},y.cloneElement(Wn,Nn))};return y.createElement(qe,Object(O.a)({},hn,{step:hn.step,range:Tr,draggableTrack:Sr,className:bn,ref:Te,prefixCls:_n,handleRender:Wr}))}),ft=R.a=at},ebwN:function(ce,R,l){var E=l("Cwc5"),m=l("Kz5y"),O=E(m,"Map");ce.exports=O},ecuC:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("uoF6"),O=l("FCfD"),C=l("1aI8"),k=l("eYKs"),A=k.codeAt,S=k.charAt,y="String Iterator",w=C.set,x=C.getterFor(y),T=m(function(D){w(this,{type:y,string:D,index:0})},"String",function(){var D=x(this),N=D.string,F=D.index,B;return F>=N.length?{value:void 0,done:!0}:(B=S(N,F),D.index+=B.length,{value:{codePoint:A(B,0),position:F},done:!1})});E({target:"String",proto:!0},{codePoints:function(){return new T(String(O(this)))}})},"egz/":function(ce,R){var l=Math.log;ce.exports=Math.log1p||function(m){return(m=+m)>-1e-8&&m<1e-8?m-m*m/2:l(1+m)}},ehAy:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("zv1X").findIndex,O=l("eNh0"),C=l("kGMc"),k="findIndex",A=!0,S=C(k);k in[]&&Array(1)[k](function(){A=!1}),E({target:"Array",proto:!0,forced:A||!S},{findIndex:function(w){return m(this,w,arguments.length>1?arguments[1]:void 0)}}),O(k)},eiAH:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){return function(){return m.apply(O,arguments)}}},ekgI:function(ce,R,l){var E=l("YESw"),m=Object.prototype,O=m.hasOwnProperty;function C(k){var A=this.__data__;return E?A[k]!==void 0:O.call(A,k)}ce.exports=C},evbn:function(ce,R){var l=0,E=Math.random();ce.exports=function(m){return"Symbol("+String(m===void 0?"":m)+")_"+(++l+E).toString(36)}},exFM:function(ce,R,l){"use strict";l.r(R);var E=l("J+/v"),m=l("MoRW"),O=l("+L6B"),C=l("2/Rp"),k=l("q1tI"),A=l.n(k),S=l("9kvl"),y=l("nKUr"),w=l.n(y),x=function(){return Object(y.jsx)(m.a,{status:"403",title:"\u5F53\u524D\u9875\u9762\u65E0\u6743\u9650",subTitle:"\u8BF7\u8054\u7CFB\u9879\u76EE\u7BA1\u7406\u5458 jerryjzhang \u5F00\u901A\u6743\u9650",extra:Object(y.jsx)(C.a,{type:"primary",onClick:function(){return S.d.push("/homepage")},children:"\u56DE\u5230\u9996\u9875"})})};R.default=x},"f/k9":function(ce,R,l){"use strict";/** @license React vundefined
* use-subscription.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=l("MgzW"),m=l("q1tI");R.useSubscription=function(O){var C=O.getCurrentValue,k=O.subscribe,A=m.useState(function(){return{getCurrentValue:C,subscribe:k,value:C()}});O=A[0];var S=A[1];return A=O.value,(O.getCurrentValue!==C||O.subscribe!==k)&&(A=C(),S({getCurrentValue:C,subscribe:k,value:A})),m.useDebugValue(A),m.useEffect(function(){function y(){if(!w){var T=C();S(function(j){return j.getCurrentValue!==C||j.subscribe!==k||j.value===T?j:E({},j,{value:T})})}}var w=!1,x=k(y);return y(),function(){w=!0,x()}},[C,k]),A}},f1E4:function(ce,R,l){var E=l("tSXo");ce.exports=function(m){if(!E(m))throw TypeError(String(m)+" is not an object");return m}},f2hh:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Material=void 0;var E=l("q1tI"),m=x(E),O=l("/FUP"),C=x(O),k=l("QkVN"),A=x(k),S=l("4iDX"),y=x(S),w=l("UtML");function x(j){return j&&j.__esModule?j:{default:j}}var T=R.Material=function(D){var N=D.onChange,F=D.hex,B=D.rgb,U=D.styles,J=U===void 0?{}:U,$=D.className,X=$===void 0?"":$,ee=(0,C.default)((0,A.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+F,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},J)),ie=function(Q,W){Q.hex?y.default.isValidHex(Q.hex)&&N({hex:Q.hex,source:"hex"},W):(Q.r||Q.g||Q.b)&&N({r:Q.r||B.r,g:Q.g||B.g,b:Q.b||B.b,source:"rgb"},W)};return m.default.createElement(w.Raised,{styles:J},m.default.createElement("div",{style:ee.material,className:"material-picker "+X},m.default.createElement(w.EditableInput,{style:{wrap:ee.HEXwrap,input:ee.HEXinput,label:ee.HEXlabel},label:"hex",value:F,onChange:ie}),m.default.createElement("div",{style:ee.split,className:"flexbox-fix"},m.default.createElement("div",{style:ee.third},m.default.createElement(w.EditableInput,{style:{wrap:ee.RGBwrap,input:ee.RGBinput,label:ee.RGBlabel},label:"r",value:B.r,onChange:ie})),m.default.createElement("div",{style:ee.third},m.default.createElement(w.EditableInput,{style:{wrap:ee.RGBwrap,input:ee.RGBinput,label:ee.RGBlabel},label:"g",value:B.g,onChange:ie})),m.default.createElement("div",{style:ee.third},m.default.createElement(w.EditableInput,{style:{wrap:ee.RGBwrap,input:ee.RGBinput,label:ee.RGBlabel},label:"b",value:B.b,onChange:ie})))))};R.default=(0,w.ColorWrap)(T)},f3PG:function(ce,R,l){},f3Sm:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=x;var O=E(l("RIqP")),C=E(l("pVnL")),k=E(l("J4zp")),A=w(l("q1tI")),S=E(l("dz4S"));function y(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(y=function(F){return F?D:j})(T)}function w(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=y(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}function x(T){var j=A.useRef({}),D=A.useState([]),N=(0,k.default)(D,2),F=N[0],B=N[1];function U(J){var $=!0;T.add(J,function(X,ee){var ie=ee.key;if(X&&(!j.current[ie]||$)){var G=A.createElement(S.default,(0,C.default)({},ee,{holder:X}));j.current[ie]=G,B(function(Q){var W=Q.findIndex(function(te){return te.key===ee.key});if(W===-1)return[].concat((0,O.default)(Q),[G]);var ne=(0,O.default)(Q);return ne[W]=G,ne})}$=!1})}return[U,A.createElement(A.Fragment,null,F)]}},fAei:function(ce,R,l){"use strict";l.d(R,"a",function(){return ge.a});var E=l("wx14"),m=l("rePB"),O=l("U8pU"),C=l("VTBJ"),k=l("KQm4"),A=l("1OyB"),S=l("vuIU"),y=l("JX7q"),w=l("Ji7U"),x=l("LK+K"),T=l("q1tI"),j={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Se){var Ve=Se.keyCode;if(Se.altKey&&!Se.ctrlKey||Se.metaKey||Ve>=j.F1&&Ve<=j.F12)return!1;switch(Ve){case j.ALT:case j.CAPS_LOCK:case j.CONTEXT_MENU:case j.CTRL:case j.DOWN:case j.END:case j.ESC:case j.HOME:case j.INSERT:case j.LEFT:case j.MAC_FF_META:case j.META:case j.NUMLOCK:case j.NUM_CENTER:case j.PAGE_DOWN:case j.PAGE_UP:case j.PAUSE:case j.PRINT_SCREEN:case j.RIGHT:case j.SHIFT:case j.UP:case j.WIN_KEY:case j.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Se){if(Se>=j.ZERO&&Se<=j.NINE||Se>=j.NUM_ZERO&&Se<=j.NUM_MULTIPLY||Se>=j.A&&Se<=j.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Se===0)return!0;switch(Se){case j.SPACE:case j.QUESTION_MARK:case j.NUM_PLUS:case j.NUM_MINUS:case j.NUM_PERIOD:case j.NUM_DIVISION:case j.SEMICOLON:case j.DASH:case j.EQUALS:case j.COMMA:case j.PERIOD:case j.SLASH:case j.APOSTROPHE:case j.SINGLE_QUOTE:case j.OPEN_SQUARE_BRACKET:case j.BACKSLASH:case j.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},D=j,N=l("23DT"),F=l("uQZs"),B=l("TSYQ"),U=l.n(B),J=l("sboe"),$=l("OZM5"),X=l("815F");function ee(Re){if(Re==null)throw new TypeError("Cannot destructure "+Re)}var ie=l("ODXe"),G=l("Ff2n");function Q(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var W=Q()?T.useLayoutEffect:T.useEffect,ne=function(Se,Ve){var Ge=T.useRef(!0);W(function(){return Se(Ge.current)},Ve),W(function(){return Ge.current=!1,function(){Ge.current=!0}},[])},te=function(Se,Ve){ne(function(Ge){if(!Ge)return Se()},Ve)},_e=ne,he=l("+nKL"),oe=l("8XRh"),ge=l("WaYH");function me(Re,Se){var Ve=T.useState(!1),Ge=Object(ie.a)(Ve,2),_t=Ge[0],bt=Ge[1];T.useLayoutEffect(function(){if(_t)return Re(),function(){Se()}},[_t]),T.useLayoutEffect(function(){return bt(!0),function(){bt(!1)}},[])}var Z=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],xe=function(Se,Ve){var Ge=Se.className,_t=Se.style,bt=Se.motion,gt=Se.motionNodes,at=Se.motionType,ft=Se.onMotionStart,Fe=Se.onMotionEnd,Te=Se.active,ut=Se.treeNodeRequiredProps,le=Object(G.a)(Se,Z),$e=T.useState(!0),Qe=Object(ie.a)($e,2),Tt=Qe[0],Ot=Qe[1],Ut=T.useContext(J.a),At=Ut.prefixCls,Pt=gt&&at!=="hide";_e(function(){gt&&Pt!==Tt&&Ot(Pt)},[gt]);var Dt=function(){gt&&ft()},Qt=T.useRef(!1),cn=function(){gt&&!Qt.current&&(Qt.current=!0,Fe())};me(Dt,cn);var $n=function(_n){Pt===_n&&cn()};return gt?T.createElement(oe.b,Object(E.a)({ref:Ve,visible:Tt},bt,{motionAppear:at==="show",onVisibleChanged:$n}),function(hn,_n){var bn=hn.className,Bn=hn.style;return T.createElement("div",{ref:_n,className:U()("".concat(At,"-treenode-motion"),bn),style:Bn},gt.map(function(Tn){var Tr=Object(E.a)({},(ee(Tn.data),Tn.data)),Sr=Tn.title,Wr=Tn.key,br=Tn.isStart,Wn=Tn.isEnd;delete Tr.children;var gr=Object(X.g)(Wr,ut);return T.createElement(ge.a,Object(E.a)({},Tr,gr,{title:Sr,active:Te,data:Tn.data,key:Wr,isStart:br,isEnd:Wn}))}))}):T.createElement(ge.a,Object(E.a)({domRef:Ve,className:Ge,style:_t},le,{active:Te}))};xe.displayName="MotionTreeNode";var Ee=T.forwardRef(xe),Le=Ee;function we(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ve=Re.length,Ge=Se.length;if(Math.abs(Ve-Ge)!==1)return{add:!1,key:null};function _t(bt,gt){var at=new Map;bt.forEach(function(Fe){at.set(Fe,!0)});var ft=gt.filter(function(Fe){return!at.has(Fe)});return ft.length===1?ft[0]:null}return Ve<Ge?{add:!0,key:_t(Re,Se)}:{add:!1,key:_t(Se,Re)}}function fe(Re,Se,Ve){var Ge=Re.findIndex(function(at){return at.key===Ve}),_t=Re[Ge+1],bt=Se.findIndex(function(at){return at.key===Ve});if(_t){var gt=Se.findIndex(function(at){return at.key===_t.key});return Se.slice(bt+1,gt)}return Se.slice(bt+1)}var pe=["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"],Ke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Me=function(){},ze="RC_TREE_MOTION_".concat(Math.random()),Ue={key:ze},He={key:ze,level:0,index:0,pos:"0",node:Ue,nodes:[Ue]},Ne={parent:null,children:[],pos:He.pos,data:Ue,title:null,key:ze,isStart:[],isEnd:[]};function it(Re,Se,Ve,Ge){return Se===!1||!Ve?Re:Re.slice(0,Math.ceil(Ve/Ge)+1)}function Xe(Re){var Se=Re.key,Ve=Re.pos;return Object(X.f)(Se,Ve)}function ht(Re){for(var Se=String(Re.data.key),Ve=Re;Ve.parent;)Ve=Ve.parent,Se="".concat(Ve.data.key," > ").concat(Se);return Se}var lt=T.forwardRef(function(Re,Se){var Ve=Re.prefixCls,Ge=Re.data,_t=Re.selectable,bt=Re.checkable,gt=Re.expandedKeys,at=Re.selectedKeys,ft=Re.checkedKeys,Fe=Re.loadedKeys,Te=Re.loadingKeys,ut=Re.halfCheckedKeys,le=Re.keyEntities,$e=Re.disabled,Qe=Re.dragging,Tt=Re.dragOverNodeKey,Ot=Re.dropPosition,Ut=Re.motion,At=Re.height,Pt=Re.itemHeight,Dt=Re.virtual,Qt=Re.focusable,cn=Re.activeItem,$n=Re.focused,hn=Re.tabIndex,_n=Re.onKeyDown,bn=Re.onFocus,Bn=Re.onBlur,Tn=Re.onActiveChange,Tr=Re.onListChangeStart,Sr=Re.onListChangeEnd,Wr=Object(G.a)(Re,pe),br=T.useRef(null),Wn=T.useRef(null);T.useImperativeHandle(Se,function(){return{scrollTo:function(Sa){br.current.scrollTo(Sa)},getIndentWidth:function(){return Wn.current.offsetWidth}}});var gr=T.useState(gt),na=Object(ie.a)(gr,2),jn=na[0],un=na[1],zt=T.useState(Ge),Bt=Object(ie.a)(zt,2),H=Bt[0],ot=Bt[1],nt=T.useState(Ge),Ct=Object(ie.a)(nt,2),Wt=Ct[0],kn=Ct[1],Sn=T.useState([]),Zn=Object(ie.a)(Sn,2),Or=Zn[0],Yn=Zn[1],Nn=T.useState(null),Zt=Object(ie.a)(Nn,2),rr=Zt[0],Gn=Zt[1],ln=T.useRef(Ge);ln.current=Ge;function Xn(){var Hn=ln.current;ot(Hn),kn(Hn),Yn([]),Gn(null),Sr()}_e(function(){un(gt);var Hn=we(jn,gt);if(Hn.key!==null)if(Hn.add){var Sa=H.findIndex(function(qa){var gi=qa.key;return gi===Hn.key}),Lr=it(fe(H,Ge,Hn.key),Dt,At,Pt),Ca=H.slice();Ca.splice(Sa+1,0,Ne),kn(Ca),Yn(Lr),Gn("show")}else{var za=Ge.findIndex(function(qa){var gi=qa.key;return gi===Hn.key}),Ma=it(fe(Ge,H,Hn.key),Dt,At,Pt),va=Ge.slice();va.splice(za+1,0,Ne),kn(va),Yn(Ma),Gn("hide")}else H!==Ge&&(ot(Ge),kn(Ge))},[gt,Ge]),T.useEffect(function(){Qe||Xn()},[Qe]);var Kn=Ut?Wt:Ge,fr={expandedKeys:gt,selectedKeys:at,loadedKeys:Fe,loadingKeys:Te,checkedKeys:ft,halfCheckedKeys:ut,dragOverNodeKey:Tt,dropPosition:Ot,keyEntities:le};return T.createElement(T.Fragment,null,$n&&cn&&T.createElement("span",{style:Ke,"aria-live":"assertive"},ht(cn)),T.createElement("div",null,T.createElement("input",{style:Ke,disabled:Qt===!1||$e,tabIndex:Qt!==!1?hn:null,onKeyDown:_n,onFocus:bn,onBlur:Bn,value:"",onChange:Me,"aria-label":"for screen reader"})),T.createElement("div",{className:"".concat(Ve,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},T.createElement("div",{className:"".concat(Ve,"-indent")},T.createElement("div",{ref:Wn,className:"".concat(Ve,"-indent-unit")}))),T.createElement(he.a,Object(E.a)({},Wr,{data:Kn,itemKey:Xe,height:At,fullHeight:!1,virtual:Dt,itemHeight:Pt,prefixCls:"".concat(Ve,"-list"),ref:br,onVisibleChange:function(Sa,Lr){var Ca=new Set(Sa),za=Lr.filter(function(Ma){return!Ca.has(Ma)});za.some(function(Ma){return Xe(Ma)===ze})&&Xn()}}),function(Hn){var Sa=Hn.pos,Lr=Object(E.a)({},(ee(Hn.data),Hn.data)),Ca=Hn.title,za=Hn.key,Ma=Hn.isStart,va=Hn.isEnd,qa=Object(X.f)(za,Sa);delete Lr.key,delete Lr.children;var gi=Object(X.g)(qa,fr);return T.createElement(Le,Object(E.a)({},Lr,gi,{title:Ca,active:!!cn&&za===cn.key,pos:Sa,data:Hn.data,isStart:Ma,isEnd:va,motion:Ut,motionNodes:za===ze?Or:null,motionType:rr,onMotionStart:Tr,onMotionEnd:Xn,treeNodeRequiredProps:fr,onMouseMove:function(){Tn(null)}}))}))});lt.displayName="NodeList";var Et=lt,tt=l("NvD2");function mt(Re){var Se=Re.dropPosition,Ve=Re.dropLevelOffset,Ge=Re.indent,_t={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Se){case-1:_t.top=0,_t.left=-Ve*Ge;break;case 1:_t.bottom=0,_t.left=-Ve*Ge;break;case 0:_t.bottom=0,_t.left=Ge;break}return T.createElement("div",{style:_t})}var xt=10,Xt=function(Re){Object(w.a)(Ve,Re);var Se=Object(x.a)(Ve);function Ve(){var Ge;Object(A.a)(this,Ve);for(var _t=arguments.length,bt=new Array(_t),gt=0;gt<_t;gt++)bt[gt]=arguments[gt];return Ge=Se.call.apply(Se,[this].concat(bt)),Ge.destroyed=!1,Ge.delayedDragEnterLogic=void 0,Ge.loadingRetryTimes={},Ge.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(X.d)()},Ge.dragStartMousePosition=null,Ge.dragNode=void 0,Ge.currentMouseOverDroppableNodeKey=null,Ge.listRef=T.createRef(),Ge.onNodeDragStart=function(at,ft){var Fe=Ge.state,Te=Fe.expandedKeys,ut=Fe.keyEntities,le=Ge.props.onDragStart,$e=ft.props.eventKey;Ge.dragNode=ft,Ge.dragStartMousePosition={x:at.clientX,y:at.clientY};var Qe=Object($.b)(Te,$e);Ge.setState({draggingNodeKey:$e,dragChildrenKeys:Object($.f)($e,ut),indent:Ge.listRef.current.getIndentWidth()}),Ge.setExpandedKeys(Qe),window.addEventListener("dragend",Ge.onWindowDragEnd),le==null||le({event:at,node:Object(X.b)(ft.props)})},Ge.onNodeDragEnter=function(at,ft){var Fe=Ge.state,Te=Fe.expandedKeys,ut=Fe.keyEntities,le=Fe.dragChildrenKeys,$e=Fe.flattenNodes,Qe=Fe.indent,Tt=Ge.props,Ot=Tt.onDragEnter,Ut=Tt.onExpand,At=Tt.allowDrop,Pt=Tt.direction,Dt=ft.props,Qt=Dt.pos,cn=Dt.eventKey,$n=Object(y.a)(Ge),hn=$n.dragNode;if(Ge.currentMouseOverDroppableNodeKey!==cn&&(Ge.currentMouseOverDroppableNodeKey=cn),!hn){Ge.resetDragState();return}var _n=Object($.c)(at,hn,ft,Qe,Ge.dragStartMousePosition,At,$e,ut,Te,Pt),bn=_n.dropPosition,Bn=_n.dropLevelOffset,Tn=_n.dropTargetKey,Tr=_n.dropContainerKey,Sr=_n.dropTargetPos,Wr=_n.dropAllowed,br=_n.dragOverNodeKey;if(le.indexOf(Tn)!==-1||!Wr){Ge.resetDragState();return}if(Ge.delayedDragEnterLogic||(Ge.delayedDragEnterLogic={}),Object.keys(Ge.delayedDragEnterLogic).forEach(function(Wn){clearTimeout(Ge.delayedDragEnterLogic[Wn])}),hn.props.eventKey!==ft.props.eventKey&&(at.persist(),Ge.delayedDragEnterLogic[Qt]=window.setTimeout(function(){if(Ge.state.draggingNodeKey!==null){var Wn=Object(k.a)(Te),gr=ut[ft.props.eventKey];gr&&(gr.children||[]).length&&(Wn=Object($.a)(Te,ft.props.eventKey)),"expandedKeys"in Ge.props||Ge.setExpandedKeys(Wn),Ut==null||Ut(Wn,{node:Object(X.b)(ft.props),expanded:!0,nativeEvent:at.nativeEvent})}},800)),hn.props.eventKey===Tn&&Bn===0){Ge.resetDragState();return}Ge.setState({dragOverNodeKey:br,dropPosition:bn,dropLevelOffset:Bn,dropTargetKey:Tn,dropContainerKey:Tr,dropTargetPos:Sr,dropAllowed:Wr}),Ot==null||Ot({event:at,node:Object(X.b)(ft.props),expandedKeys:Te})},Ge.onNodeDragOver=function(at,ft){var Fe=Ge.state,Te=Fe.dragChildrenKeys,ut=Fe.flattenNodes,le=Fe.keyEntities,$e=Fe.expandedKeys,Qe=Fe.indent,Tt=Ge.props,Ot=Tt.onDragOver,Ut=Tt.allowDrop,At=Tt.direction,Pt=Object(y.a)(Ge),Dt=Pt.dragNode;if(!!Dt){var Qt=Object($.c)(at,Dt,ft,Qe,Ge.dragStartMousePosition,Ut,ut,le,$e,At),cn=Qt.dropPosition,$n=Qt.dropLevelOffset,hn=Qt.dropTargetKey,_n=Qt.dropContainerKey,bn=Qt.dropAllowed,Bn=Qt.dropTargetPos,Tn=Qt.dragOverNodeKey;Te.indexOf(hn)!==-1||!bn||(Dt.props.eventKey===hn&&$n===0?Ge.state.dropPosition===null&&Ge.state.dropLevelOffset===null&&Ge.state.dropTargetKey===null&&Ge.state.dropContainerKey===null&&Ge.state.dropTargetPos===null&&Ge.state.dropAllowed===!1&&Ge.state.dragOverNodeKey===null||Ge.resetDragState():cn===Ge.state.dropPosition&&$n===Ge.state.dropLevelOffset&&hn===Ge.state.dropTargetKey&&_n===Ge.state.dropContainerKey&&Bn===Ge.state.dropTargetPos&&bn===Ge.state.dropAllowed&&Tn===Ge.state.dragOverNodeKey||Ge.setState({dropPosition:cn,dropLevelOffset:$n,dropTargetKey:hn,dropContainerKey:_n,dropTargetPos:Bn,dropAllowed:bn,dragOverNodeKey:Tn}),Ot==null||Ot({event:at,node:Object(X.b)(ft.props)}))}},Ge.onNodeDragLeave=function(at,ft){Ge.currentMouseOverDroppableNodeKey===ft.props.eventKey&&!at.currentTarget.contains(at.relatedTarget)&&(Ge.resetDragState(),Ge.currentMouseOverDroppableNodeKey=null);var Fe=Ge.props.onDragLeave;Fe==null||Fe({event:at,node:Object(X.b)(ft.props)})},Ge.onWindowDragEnd=function(at){Ge.onNodeDragEnd(at,null,!0),window.removeEventListener("dragend",Ge.onWindowDragEnd)},Ge.onNodeDragEnd=function(at,ft){var Fe=Ge.props.onDragEnd;Ge.setState({dragOverNodeKey:null}),Ge.cleanDragState(),Fe==null||Fe({event:at,node:Object(X.b)(ft.props)}),Ge.dragNode=null,window.removeEventListener("dragend",Ge.onWindowDragEnd)},Ge.onNodeDrop=function(at,ft){var Fe,Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ut=Ge.state,le=ut.dragChildrenKeys,$e=ut.dropPosition,Qe=ut.dropTargetKey,Tt=ut.dropTargetPos,Ot=ut.dropAllowed;if(!!Ot){var Ut=Ge.props.onDrop;if(Ge.setState({dragOverNodeKey:null}),Ge.cleanDragState(),Qe!==null){var At=Object(C.a)(Object(C.a)({},Object(X.g)(Qe,Ge.getTreeNodeRequiredProps())),{},{active:((Fe=Ge.getActiveItem())===null||Fe===void 0?void 0:Fe.key)===Qe,data:Ge.state.keyEntities[Qe].node}),Pt=le.indexOf(Qe)!==-1;Object(N.a)(!Pt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Dt=Object($.h)(Tt),Qt={event:at,node:Object(X.b)(At),dragNode:Ge.dragNode?Object(X.b)(Ge.dragNode.props):null,dragNodesKeys:[Ge.dragNode.props.eventKey].concat(le),dropToGap:$e!==0,dropPosition:$e+Number(Dt[Dt.length-1])};Te||Ut==null||Ut(Qt),Ge.dragNode=null}}},Ge.cleanDragState=function(){var at=Ge.state.draggingNodeKey;at!==null&&Ge.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ge.dragStartMousePosition=null,Ge.currentMouseOverDroppableNodeKey=null},Ge.triggerExpandActionExpand=function(at,ft){var Fe=Ge.state,Te=Fe.expandedKeys,ut=Fe.flattenNodes,le=ft.expanded,$e=ft.key,Qe=ft.isLeaf;if(!(Qe||at.shiftKey||at.metaKey||at.ctrlKey)){var Tt=ut.filter(function(Ut){return Ut.key===$e})[0],Ot=Object(X.b)(Object(C.a)(Object(C.a)({},Object(X.g)($e,Ge.getTreeNodeRequiredProps())),{},{data:Tt.data}));Ge.setExpandedKeys(le?Object($.b)(Te,$e):Object($.a)(Te,$e)),Ge.onNodeExpand(at,Ot)}},Ge.onNodeClick=function(at,ft){var Fe=Ge.props,Te=Fe.onClick,ut=Fe.expandAction;ut==="click"&&Ge.triggerExpandActionExpand(at,ft),Te==null||Te(at,ft)},Ge.onNodeDoubleClick=function(at,ft){var Fe=Ge.props,Te=Fe.onDoubleClick,ut=Fe.expandAction;ut==="doubleClick"&&Ge.triggerExpandActionExpand(at,ft),Te==null||Te(at,ft)},Ge.onNodeSelect=function(at,ft){var Fe=Ge.state.selectedKeys,Te=Ge.state,ut=Te.keyEntities,le=Te.fieldNames,$e=Ge.props,Qe=$e.onSelect,Tt=$e.multiple,Ot=ft.selected,Ut=ft[le.key],At=!Ot;At?Tt?Fe=Object($.a)(Fe,Ut):Fe=[Ut]:Fe=Object($.b)(Fe,Ut);var Pt=Fe.map(function(Dt){var Qt=ut[Dt];return Qt?Qt.node:null}).filter(function(Dt){return Dt});Ge.setUncontrolledState({selectedKeys:Fe}),Qe==null||Qe(Fe,{event:"select",selected:At,node:ft,selectedNodes:Pt,nativeEvent:at.nativeEvent})},Ge.onNodeCheck=function(at,ft,Fe){var Te=Ge.state,ut=Te.keyEntities,le=Te.checkedKeys,$e=Te.halfCheckedKeys,Qe=Ge.props,Tt=Qe.checkStrictly,Ot=Qe.onCheck,Ut=ft.key,At,Pt={event:"check",node:ft,checked:Fe,nativeEvent:at.nativeEvent};if(Tt){var Dt=Fe?Object($.a)(le,Ut):Object($.b)(le,Ut),Qt=Object($.b)($e,Ut);At={checked:Dt,halfChecked:Qt},Pt.checkedNodes=Dt.map(function(Bn){return ut[Bn]}).filter(function(Bn){return Bn}).map(function(Bn){return Bn.node}),Ge.setUncontrolledState({checkedKeys:Dt})}else{var cn=Object(tt.a)([].concat(Object(k.a)(le),[Ut]),!0,ut),$n=cn.checkedKeys,hn=cn.halfCheckedKeys;if(!Fe){var _n=new Set($n);_n.delete(Ut);var bn=Object(tt.a)(Array.from(_n),{checked:!1,halfCheckedKeys:hn},ut);$n=bn.checkedKeys,hn=bn.halfCheckedKeys}At=$n,Pt.checkedNodes=[],Pt.checkedNodesPositions=[],Pt.halfCheckedKeys=hn,$n.forEach(function(Bn){var Tn=ut[Bn];if(!!Tn){var Tr=Tn.node,Sr=Tn.pos;Pt.checkedNodes.push(Tr),Pt.checkedNodesPositions.push({node:Tr,pos:Sr})}}),Ge.setUncontrolledState({checkedKeys:$n},!1,{halfCheckedKeys:hn})}Ot==null||Ot(At,Pt)},Ge.onNodeLoad=function(at){var ft=at.key,Fe=new Promise(function(Te,ut){Ge.setState(function(le){var $e=le.loadedKeys,Qe=$e===void 0?[]:$e,Tt=le.loadingKeys,Ot=Tt===void 0?[]:Tt,Ut=Ge.props,At=Ut.loadData,Pt=Ut.onLoad;if(!At||Qe.indexOf(ft)!==-1||Ot.indexOf(ft)!==-1)return null;var Dt=At(at);return Dt.then(function(){var Qt=Ge.state.loadedKeys,cn=Object($.a)(Qt,ft);Pt==null||Pt(cn,{event:"load",node:at}),Ge.setUncontrolledState({loadedKeys:cn}),Ge.setState(function($n){return{loadingKeys:Object($.b)($n.loadingKeys,ft)}}),Te()}).catch(function(Qt){if(Ge.setState(function($n){return{loadingKeys:Object($.b)($n.loadingKeys,ft)}}),Ge.loadingRetryTimes[ft]=(Ge.loadingRetryTimes[ft]||0)+1,Ge.loadingRetryTimes[ft]>=xt){var cn=Ge.state.loadedKeys;Object(N.a)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ge.setUncontrolledState({loadedKeys:Object($.a)(cn,ft)}),Te()}ut(Qt)}),{loadingKeys:Object($.a)(Ot,ft)}})});return Fe.catch(function(){}),Fe},Ge.onNodeMouseEnter=function(at,ft){var Fe=Ge.props.onMouseEnter;Fe==null||Fe({event:at,node:ft})},Ge.onNodeMouseLeave=function(at,ft){var Fe=Ge.props.onMouseLeave;Fe==null||Fe({event:at,node:ft})},Ge.onNodeContextMenu=function(at,ft){var Fe=Ge.props.onRightClick;Fe&&(at.preventDefault(),Fe({event:at,node:ft}))},Ge.onFocus=function(){var at=Ge.props.onFocus;Ge.setState({focused:!0});for(var ft=arguments.length,Fe=new Array(ft),Te=0;Te<ft;Te++)Fe[Te]=arguments[Te];at==null||at.apply(void 0,Fe)},Ge.onBlur=function(){var at=Ge.props.onBlur;Ge.setState({focused:!1}),Ge.onActiveChange(null);for(var ft=arguments.length,Fe=new Array(ft),Te=0;Te<ft;Te++)Fe[Te]=arguments[Te];at==null||at.apply(void 0,Fe)},Ge.getTreeNodeRequiredProps=function(){var at=Ge.state,ft=at.expandedKeys,Fe=at.selectedKeys,Te=at.loadedKeys,ut=at.loadingKeys,le=at.checkedKeys,$e=at.halfCheckedKeys,Qe=at.dragOverNodeKey,Tt=at.dropPosition,Ot=at.keyEntities;return{expandedKeys:ft||[],selectedKeys:Fe||[],loadedKeys:Te||[],loadingKeys:ut||[],checkedKeys:le||[],halfCheckedKeys:$e||[],dragOverNodeKey:Qe,dropPosition:Tt,keyEntities:Ot}},Ge.setExpandedKeys=function(at){var ft=Ge.state,Fe=ft.treeData,Te=ft.fieldNames,ut=Object(X.e)(Fe,at,Te);Ge.setUncontrolledState({expandedKeys:at,flattenNodes:ut},!0)},Ge.onNodeExpand=function(at,ft){var Fe=Ge.state.expandedKeys,Te=Ge.state,ut=Te.listChanging,le=Te.fieldNames,$e=Ge.props,Qe=$e.onExpand,Tt=$e.loadData,Ot=ft.expanded,Ut=ft[le.key];if(!ut){var At=Fe.indexOf(Ut),Pt=!Ot;if(Object(N.a)(Ot&&At!==-1||!Ot&&At===-1,"Expand state not sync with index check"),Pt?Fe=Object($.a)(Fe,Ut):Fe=Object($.b)(Fe,Ut),Ge.setExpandedKeys(Fe),Qe==null||Qe(Fe,{node:ft,expanded:Pt,nativeEvent:at.nativeEvent}),Pt&&Tt){var Dt=Ge.onNodeLoad(ft);Dt&&Dt.then(function(){var Qt=Object(X.e)(Ge.state.treeData,Fe,le);Ge.setUncontrolledState({flattenNodes:Qt})}).catch(function(){var Qt=Ge.state.expandedKeys,cn=Object($.b)(Qt,Ut);Ge.setExpandedKeys(cn)})}}},Ge.onListChangeStart=function(){Ge.setUncontrolledState({listChanging:!0})},Ge.onListChangeEnd=function(){setTimeout(function(){Ge.setUncontrolledState({listChanging:!1})})},Ge.onActiveChange=function(at){var ft=Ge.state.activeKey,Fe=Ge.props.onActiveChange;ft!==at&&(Ge.setState({activeKey:at}),at!==null&&Ge.scrollTo({key:at}),Fe==null||Fe(at))},Ge.getActiveItem=function(){var at=Ge.state,ft=at.activeKey,Fe=at.flattenNodes;return ft===null?null:Fe.find(function(Te){var ut=Te.key;return ut===ft})||null},Ge.offsetActiveKey=function(at){var ft=Ge.state,Fe=ft.flattenNodes,Te=ft.activeKey,ut=Fe.findIndex(function(Qe){var Tt=Qe.key;return Tt===Te});ut===-1&&at<0&&(ut=Fe.length),ut=(ut+at+Fe.length)%Fe.length;var le=Fe[ut];if(le){var $e=le.key;Ge.onActiveChange($e)}else Ge.onActiveChange(null)},Ge.onKeyDown=function(at){var ft=Ge.state,Fe=ft.activeKey,Te=ft.expandedKeys,ut=ft.checkedKeys,le=ft.fieldNames,$e=Ge.props,Qe=$e.onKeyDown,Tt=$e.checkable,Ot=$e.selectable;switch(at.which){case D.UP:{Ge.offsetActiveKey(-1),at.preventDefault();break}case D.DOWN:{Ge.offsetActiveKey(1),at.preventDefault();break}}var Ut=Ge.getActiveItem();if(Ut&&Ut.data){var At=Ge.getTreeNodeRequiredProps(),Pt=Ut.data.isLeaf===!1||!!(Ut.data[le.children]||[]).length,Dt=Object(X.b)(Object(C.a)(Object(C.a)({},Object(X.g)(Fe,At)),{},{data:Ut.data,active:!0}));switch(at.which){case D.LEFT:{Pt&&Te.includes(Fe)?Ge.onNodeExpand({},Dt):Ut.parent&&Ge.onActiveChange(Ut.parent.key),at.preventDefault();break}case D.RIGHT:{Pt&&!Te.includes(Fe)?Ge.onNodeExpand({},Dt):Ut.children&&Ut.children.length&&Ge.onActiveChange(Ut.children[0].key),at.preventDefault();break}case D.ENTER:case D.SPACE:{Tt&&!Dt.disabled&&Dt.checkable!==!1&&!Dt.disableCheckbox?Ge.onNodeCheck({},Dt,!ut.includes(Fe)):!Tt&&Ot&&!Dt.disabled&&Dt.selectable!==!1&&Ge.onNodeSelect({},Dt);break}}}Qe==null||Qe(at)},Ge.setUncontrolledState=function(at){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ge.destroyed){var Te=!1,ut=!0,le={};Object.keys(at).forEach(function($e){if($e in Ge.props){ut=!1;return}Te=!0,le[$e]=at[$e]}),Te&&(!ft||ut)&&Ge.setState(Object(C.a)(Object(C.a)({},le),Fe))}},Ge.scrollTo=function(at){Ge.listRef.current.scrollTo(at)},Ge}return Object(S.a)(Ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var _t=this.props.activeKey;_t!==void 0&&_t!==this.state.activeKey&&(this.setState({activeKey:_t}),_t!==null&&this.scrollTo({key:_t}))}},{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 _t,bt=this.state,gt=bt.focused,at=bt.flattenNodes,ft=bt.keyEntities,Fe=bt.draggingNodeKey,Te=bt.activeKey,ut=bt.dropLevelOffset,le=bt.dropContainerKey,$e=bt.dropTargetKey,Qe=bt.dropPosition,Tt=bt.dragOverNodeKey,Ot=bt.indent,Ut=this.props,At=Ut.prefixCls,Pt=Ut.className,Dt=Ut.style,Qt=Ut.showLine,cn=Ut.focusable,$n=Ut.tabIndex,hn=$n===void 0?0:$n,_n=Ut.selectable,bn=Ut.showIcon,Bn=Ut.icon,Tn=Ut.switcherIcon,Tr=Ut.draggable,Sr=Ut.checkable,Wr=Ut.checkStrictly,br=Ut.disabled,Wn=Ut.motion,gr=Ut.loadData,na=Ut.filterTreeNode,jn=Ut.height,un=Ut.itemHeight,zt=Ut.virtual,Bt=Ut.titleRender,H=Ut.dropIndicatorRender,ot=Ut.onContextMenu,nt=Ut.onScroll,Ct=Ut.direction,Wt=Ut.rootClassName,kn=Ut.rootStyle,Sn=Object(F.a)(this.props,{aria:!0,data:!0}),Zn;return Tr&&(Object(O.a)(Tr)==="object"?Zn=Tr:typeof Tr=="function"?Zn={nodeDraggable:Tr}:Zn={}),T.createElement(J.a.Provider,{value:{prefixCls:At,selectable:_n,showIcon:bn,icon:Bn,switcherIcon:Tn,draggable:Zn,draggingNodeKey:Fe,checkable:Sr,checkStrictly:Wr,disabled:br,keyEntities:ft,dropLevelOffset:ut,dropContainerKey:le,dropTargetKey:$e,dropPosition:Qe,dragOverNodeKey:Tt,indent:Ot,direction:Ct,dropIndicatorRender:H,loadData:gr,filterTreeNode:na,titleRender:Bt,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}},T.createElement("div",{role:"tree",className:U()(At,Pt,Wt,(_t={},Object(m.a)(_t,"".concat(At,"-show-line"),Qt),Object(m.a)(_t,"".concat(At,"-focused"),gt),Object(m.a)(_t,"".concat(At,"-active-focused"),Te!==null),_t)),style:kn},T.createElement(Et,Object(E.a)({ref:this.listRef,prefixCls:At,style:Dt,data:at,disabled:br,selectable:_n,checkable:!!Sr,motion:Wn,dragging:Fe!==null,height:jn,itemHeight:un,virtual:zt,focusable:cn,focused:gt,tabIndex:hn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ot,onScroll:nt},this.getTreeNodeRequiredProps(),Sn))))}}],[{key:"getDerivedStateFromProps",value:function(_t,bt){var gt=bt.prevProps,at={prevProps:_t};function ft(cn){return!gt&&cn in _t||gt&&gt[cn]!==_t[cn]}var Fe,Te=bt.fieldNames;if(ft("fieldNames")&&(Te=Object(X.d)(_t.fieldNames),at.fieldNames=Te),ft("treeData")?Fe=_t.treeData:ft("children")&&(Object(N.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Fe=Object(X.c)(_t.children)),Fe){at.treeData=Fe;var ut=Object(X.a)(Fe,{fieldNames:Te});at.keyEntities=Object(C.a)(Object(m.a)({},ze,He),ut.keyEntities)}var le=at.keyEntities||bt.keyEntities;if(ft("expandedKeys")||gt&&ft("autoExpandParent"))at.expandedKeys=_t.autoExpandParent||!gt&&_t.defaultExpandParent?Object($.e)(_t.expandedKeys,le):_t.expandedKeys;else if(!gt&&_t.defaultExpandAll){var $e=Object(C.a)({},le);delete $e[ze],at.expandedKeys=Object.keys($e).map(function(cn){return $e[cn].key})}else!gt&&_t.defaultExpandedKeys&&(at.expandedKeys=_t.autoExpandParent||_t.defaultExpandParent?Object($.e)(_t.defaultExpandedKeys,le):_t.defaultExpandedKeys);if(at.expandedKeys||delete at.expandedKeys,Fe||at.expandedKeys){var Qe=Object(X.e)(Fe||bt.treeData,at.expandedKeys||bt.expandedKeys,Te);at.flattenNodes=Qe}if(_t.selectable&&(ft("selectedKeys")?at.selectedKeys=Object($.d)(_t.selectedKeys,_t):!gt&&_t.defaultSelectedKeys&&(at.selectedKeys=Object($.d)(_t.defaultSelectedKeys,_t))),_t.checkable){var Tt;if(ft("checkedKeys")?Tt=Object($.g)(_t.checkedKeys)||{}:!gt&&_t.defaultCheckedKeys?Tt=Object($.g)(_t.defaultCheckedKeys)||{}:Fe&&(Tt=Object($.g)(_t.checkedKeys)||{checkedKeys:bt.checkedKeys,halfCheckedKeys:bt.halfCheckedKeys}),Tt){var Ot=Tt,Ut=Ot.checkedKeys,At=Ut===void 0?[]:Ut,Pt=Ot.halfCheckedKeys,Dt=Pt===void 0?[]:Pt;if(!_t.checkStrictly){var Qt=Object(tt.a)(At,!0,le);At=Qt.checkedKeys,Dt=Qt.halfCheckedKeys}at.checkedKeys=At,at.halfCheckedKeys=Dt}}return ft("loadedKeys")&&(at.loadedKeys=_t.loadedKeys),at}}]),Ve}(T.Component);Xt.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:mt,allowDrop:function(){return!0},expandAction:!1},Xt.TreeNode=ge.a;var vt=Xt,qe=R.b=vt},fDrP:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("bIKR"),O=l("m0kY"),C=l("oa35"),k=l("cTDu"),A=l("nMuc"),S=l("arQb"),y=l("jMDO"),w=l("kGMc"),x=y("splice"),T=w("splice",{ACCESSORS:!0,0:0,1:2}),j=Math.max,D=Math.min,N=9007199254740991,F="Maximum allowed length exceeded";E({target:"Array",proto:!0,forced:!x||!T},{splice:function(U,J){var $=k(this),X=C($.length),ee=m(U,X),ie=arguments.length,G,Q,W,ne,te,_e;if(ie===0?G=Q=0:ie===1?(G=0,Q=X-ee):(G=ie-2,Q=D(j(O(J),0),X-ee)),X+G-Q>N)throw TypeError(F);for(W=A($,Q),ne=0;ne<Q;ne++)te=ee+ne,te in $&&S(W,ne,$[te]);if(W.length=Q,G<Q){for(ne=ee;ne<X-Q;ne++)te=ne+Q,_e=ne+G,te in $?$[_e]=$[te]:delete $[_e];for(ne=X;ne>X-Q+G;ne--)delete $[ne-1]}else if(G>Q)for(ne=X-Q;ne>ee;ne--)te=ne+Q-1,_e=ne+G-1,te in $?$[_e]=$[te]:delete $[_e];for(ne=0;ne<G;ne++)$[ne+ee]=arguments[ne+2];return $.length=X-Q+G,W}})},"fF/C":function(ce,R,l){"use strict";var E=l("MMxC"),m=l("/3zY").includes,O=l("eNh0"),C=l("kGMc"),k=C("indexOf",{ACCESSORS:!0,1:0});E({target:"Array",proto:!0,forced:!k},{includes:function(S){return m(this,S,arguments.length>1?arguments[1]:void 0)}}),O("includes")},fGT3:function(ce,R,l){var E=l("4kuk"),m=l("Xi7e"),O=l("ebwN");function C(){this.size=0,this.__data__={hash:new E,map:new(O||m),string:new E}}ce.exports=C},fHMl:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="EyeInvisibleOutlined";var S=R.a=m.forwardRef(A)},fMAa:function(ce,R,l){ce.exports={pageContainer:"pageContainer___1YXb3",externalPageContainer:"externalPageContainer___1TSgX",searchBar:"searchBar___2v1Cs",main:"main___qRCgn",rightSide:"rightSide___ooQY-",rightListSide:"rightListSide___2muVJ",leftListSide:"leftListSide___3npiR",tableTotal:"tableTotal___1VSZg",tableDetaildrawer:"tableDetaildrawer___2PDIJ",tableDetailTable:"tableDetailTable___14pfB",sqlEditor:"sqlEditor___1ewr3",sqlOprBar:"sqlOprBar___1FYEt",sqlOprBarLeftBox:"sqlOprBarLeftBox___24kL8",sqlOprBarRightBox:"sqlOprBarRightBox___3ZFrE",sqlOprIcon:"sqlOprIcon___3WhIP",sqlOprBtn:"sqlOprBtn___22eSD",sqlOprSwitch:"sqlOprSwitch___4zfeE",sqlMain:"sqlMain___2KqMi",sqlEditorWrapper:"sqlEditorWrapper___-8V62",sqlParams:"sqlParams___3VPC6",hideSqlParams:"hideSqlParams___1tDWo",sqlParamsBody:"sqlParamsBody___wHl2x",header:"header___3A-0E",title:"title___1ZIlX",icon:"icon___3egme",paramsList:"paramsList___YmGR3",paramsItem:"paramsItem___3oqte",name:"name___3zLJQ",disableIcon:"disableIcon___G1CbW",sqlTaskListWrap:"sqlTaskListWrap___1PsW7",sqlTaskList:"sqlTaskList___fGovo",sqlBottmWrap:"sqlBottmWrap___2nkn6",sqlResultWrap:"sqlResultWrap___16rbx",sqlToolBar:"sqlToolBar___3ZW8u",sqlResultPane:"sqlResultPane___2J4Kp",sqlToolBtn:"sqlToolBtn___27ZyH",runScriptBtn:"runScriptBtn___39Ds3",taskFailed:"taskFailed___1Kx9E",sqlResultContent:"sqlResultContent___3TpKZ",sqlResultLog:"sqlResultLog___1xHPV",tableList:"tableList___3hI4i",tablePage:"tablePage___2LhQK",tableListItem:"tableListItem___27d6w",tableItem:"tableItem___127XC",taskIcon:"taskIcon___3aBIV",taskSuccessIcon:"taskSuccessIcon___3XL39",taskFailIcon:"taskFailIcon___U7M6_",resultFailIcon:"resultFailIcon___3oFSk",taskItem:"taskItem___1y3vX",activeTask:"activeTask___YBkj9",resultTable:"resultTable___2DZmh",taskLogWrap:"taskLogWrap___3_C6-",siteTagPlus:"siteTagPlus___1rPSE",editTag:"editTag___1sXJQ",tagInput:"tagInput___1OZzG",outside:"outside___1sN2g",collapseRightBtn:"collapseRightBtn___3zLQQ",collapseLeftBtn:"collapseLeftBtn___18RNq",detail:"detail___2ufaP",titleCollapse:"titleCollapse___dJM7U",tableTitle:"tableTitle___1XX8H",search:"search___mqcqG",middleArea:"middleArea___eJA2_",menu:"menu___368H_",menuList:"menuList___27tJX",menuItem:"menuItem___3tI3I",menuListItem:"menuListItem___1C6z1",menuIcon:"menuIcon___34eY3",scriptFile:"scriptFile___2mstI",sqlScriptName:"sqlScriptName___38RPg",fileIcon:"fileIcon___2-aJM",itemName:"itemName___50W0I",paneName:"paneName___38IRg",titleIcon:"titleIcon___3_Z-9"}},fMHQ:function(ce,R,l){"use strict";l.r(R),function(E){l.d(R,"css",function(){return te}),l.d(R,"keyframes",function(){return jn}),l.d(R,"injectGlobal",function(){return un}),l.d(R,"ThemeProvider",function(){return Ot}),l.d(R,"withTheme",function(){return br}),l.d(R,"ServerStyleSheet",function(){return lt}),l.d(R,"StyleSheetManager",function(){return Xe});var m=l("+0iv"),O=l.n(m),C=l("m/6j"),k=l.n(C),A=l("q1tI"),S=l.n(A),y=l("17x9"),w=l.n(y),x=l("/LiH"),T=l.n(x),j=/([A-Z])/g;function D(Bt){return Bt.replace(j,"-$1").toLowerCase()}var N=D,F=N,B=/^ms-/;function U(Bt){return F(Bt).replace(B,"-ms-")}var J=U,$=function Bt(H,ot){var nt=Object.keys(H).filter(function(Ct){var Wt=H[Ct];return Wt!=null&&Wt!==!1&&Wt!==""}).map(function(Ct){return O()(H[Ct])?Bt(H[Ct],Ct):J(Ct)+": "+H[Ct]+";"}).join(" ");return ot?ot+` {
`+nt+`
}`:nt},X=function Bt(H,ot){return H.reduce(function(nt,Ct){return Ct==null||Ct===!1||Ct===""?nt:Array.isArray(Ct)?[].concat(nt,Bt(Ct,ot)):Ct.hasOwnProperty("styledComponentId")?[].concat(nt,["."+Ct.styledComponentId]):typeof Ct=="function"?ot?nt.concat.apply(nt,Bt([Ct(ot)],ot)):nt.concat(Ct):nt.concat(O()(Ct)?$(Ct):Ct.toString())},[])},ee=new k.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!0}),ie=function(H,ot,nt){var Ct=H.join("").replace(/^\s*\/\/.*$/gm,""),Wt=ot&&nt?nt+" "+ot+" { "+Ct+" }":Ct;return ee(nt||!ot?"":ot,Wt)},G="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Q=G.length,W=function(H){var ot="",nt=void 0;for(nt=H;nt>Q;nt=Math.floor(nt/Q))ot=G[nt%Q]+ot;return G[nt%Q]+ot},ne=function(H,ot){return ot.reduce(function(nt,Ct,Wt){return nt.concat(Ct,H[Wt+1])},[H[0]])},te=function(H){for(var ot=arguments.length,nt=Array(ot>1?ot-1:0),Ct=1;Ct<ot;Ct++)nt[Ct-1]=arguments[Ct];return X(ne(H,nt))},_e=/^[^\S\n]*?\/\* sc-component-id:\s+(\S+)\s+\*\//gm,he=function(H){var ot=""+(H||""),nt=[];return ot.replace(_e,function(Ct,Wt,kn){return nt.push({componentId:Wt,matchIndex:kn}),Ct}),nt.map(function(Ct,Wt){var kn=Ct.componentId,Sn=Ct.matchIndex,Zn=nt[Wt+1],Or=Zn?ot.slice(Sn,Zn.matchIndex):ot.slice(Sn);return{componentId:kn,cssFromDOM:Or}})},oe=function(){return l.nc},ge=function(H,ot){if(!(H instanceof ot))throw new TypeError("Cannot call a class as a function")},me=function(){function Bt(H,ot){for(var nt=0;nt<ot.length;nt++){var Ct=ot[nt];Ct.enumerable=Ct.enumerable||!1,Ct.configurable=!0,"value"in Ct&&(Ct.writable=!0),Object.defineProperty(H,Ct.key,Ct)}}return function(H,ot,nt){return ot&&Bt(H.prototype,ot),nt&&Bt(H,nt),H}}(),Z=Object.assign||function(Bt){for(var H=1;H<arguments.length;H++){var ot=arguments[H];for(var nt in ot)Object.prototype.hasOwnProperty.call(ot,nt)&&(Bt[nt]=ot[nt])}return Bt},xe=function(H,ot){if(typeof ot!="function"&&ot!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ot);H.prototype=Object.create(ot&&ot.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),ot&&(Object.setPrototypeOf?Object.setPrototypeOf(H,ot):H.__proto__=ot)},Ee=function(H,ot){var nt={};for(var Ct in H)ot.indexOf(Ct)>=0||!Object.prototype.hasOwnProperty.call(H,Ct)||(nt[Ct]=H[Ct]);return nt},Le=function(H,ot){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ot&&(typeof ot=="object"||typeof ot=="function")?ot:H},we=40,fe=function(){function Bt(H,ot){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";ge(this,Bt),this.el=H,this.isLocal=ot,this.ready=!1;var Ct=he(nt);this.size=Ct.length,this.components=Ct.reduce(function(Wt,kn){return Wt[kn.componentId]=kn,Wt},{})}return Bt.prototype.isFull=function(){return this.size>=we},Bt.prototype.addComponent=function(ot){this.ready||this.replaceElement();var nt={componentId:ot,textNode:document.createTextNode("")};this.el.appendChild(nt.textNode),this.size+=1,this.components[ot]=nt},Bt.prototype.inject=function(ot,nt,Ct){this.ready||this.replaceElement();var Wt=this.components[ot];if(Wt.textNode.data===""&&Wt.textNode.appendData(`
/* sc-component-id: `+ot+` */
`),Wt.textNode.appendData(nt),Ct){var kn=this.el.getAttribute(Ke);this.el.setAttribute(Ke,kn?kn+" "+Ct:Ct)}var Sn=oe();Sn&&this.el.setAttribute("nonce",Sn)},Bt.prototype.toHTML=function(){return this.el.outerHTML},Bt.prototype.toReactElement=function(){throw new Error("BrowserTag doesn't implement toReactElement!")},Bt.prototype.clone=function(){throw new Error("BrowserTag cannot be cloned!")},Bt.prototype.replaceElement=function(){var ot=this;if(this.ready=!0,this.size!==0){var nt=this.el.cloneNode();if(nt.appendChild(document.createTextNode(`
`)),Object.keys(this.components).forEach(function(Ct){var Wt=ot.components[Ct];Wt.textNode=document.createTextNode(Wt.cssFromDOM),nt.appendChild(Wt.textNode)}),!this.el.parentNode)throw new Error("Trying to replace an element that wasn't mounted!");this.el.parentNode.replaceChild(nt,this.el),this.el=nt}},Bt}(),pe={create:function(){for(var H=[],ot={},nt=document.querySelectorAll("["+Ke+"]"),Ct=nt.length,Wt=0;Wt<Ct;Wt+=1){var kn=nt[Wt];H.push(new fe(kn,kn.getAttribute(Me)==="true",kn.innerHTML));var Sn=kn.getAttribute(Ke);Sn&&Sn.trim().split(/\s+/).forEach(function(Or){ot[Or]=!0})}var Zn=function(Yn){var Nn=document.createElement("style");if(Nn.type="text/css",Nn.setAttribute(Ke,""),Nn.setAttribute(Me,Yn?"true":"false"),!document.head)throw new Error("Missing document <head>");return document.head.appendChild(Nn),new fe(Nn,Yn)};return new Ne(Zn,H,ot)}},Ke="data-styled-components",Me="data-styled-components-is-local",ze="__styled-components-stylesheet__",Ue=null,He=[],Ne=function(){function Bt(H){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ge(this,Bt),this.hashes={},this.deferredInjections={},this.stylesCacheable=typeof document!="undefined",this.tagConstructor=H,this.tags=ot,this.names=nt,this.constructComponentTagMap()}return Bt.prototype.constructComponentTagMap=function(){var ot=this;this.componentTags={},this.tags.forEach(function(nt){Object.keys(nt.components).forEach(function(Ct){ot.componentTags[Ct]=nt})})},Bt.prototype.getName=function(ot){return this.hashes[ot.toString()]},Bt.prototype.alreadyInjected=function(ot,nt){return this.names[nt]?(this.hashes[ot.toString()]=nt,!0):!1},Bt.prototype.hasInjectedComponent=function(ot){return!!this.componentTags[ot]},Bt.prototype.deferredInject=function(ot,nt,Ct){this===Ue&&He.forEach(function(Wt){Wt.deferredInject(ot,nt,Ct)}),this.getOrCreateTag(ot,nt),this.deferredInjections[ot]=Ct},Bt.prototype.inject=function(ot,nt,Ct,Wt,kn){this===Ue&&He.forEach(function(Or){Or.inject(ot,nt,Ct)});var Sn=this.getOrCreateTag(ot,nt),Zn=this.deferredInjections[ot];Zn&&(Sn.inject(ot,Zn),delete this.deferredInjections[ot]),Sn.inject(ot,Ct,kn),Wt&&kn&&(this.hashes[Wt.toString()]=kn)},Bt.prototype.toHTML=function(){return this.tags.map(function(ot){return ot.toHTML()}).join("")},Bt.prototype.toReactElements=function(){return this.tags.map(function(ot,nt){return ot.toReactElement("sc-"+nt)})},Bt.prototype.getOrCreateTag=function(ot,nt){var Ct=this.componentTags[ot];if(Ct)return Ct;var Wt=this.tags[this.tags.length-1],kn=!Wt||Wt.isFull()||Wt.isLocal!==nt?this.createNewTag(nt):Wt;return this.componentTags[ot]=kn,kn.addComponent(ot),kn},Bt.prototype.createNewTag=function(ot){var nt=this.tagConstructor(ot);return this.tags.push(nt),nt},Bt.reset=function(ot){Ue=Bt.create(ot)},Bt.create=function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:typeof document=="undefined";return(ot?lt:pe).create()},Bt.clone=function(ot){var nt=new Bt(ot.tagConstructor,ot.tags.map(function(Ct){return Ct.clone()}),Z({},ot.names));return nt.hashes=Z({},ot.hashes),nt.deferredInjections=Z({},ot.deferredInjections),He.push(nt),nt},me(Bt,null,[{key:"instance",get:function(){return Ue||(Ue=Bt.create())}}]),Bt}(),it,Xe=function(Bt){xe(H,Bt);function H(){return ge(this,H),Le(this,Bt.apply(this,arguments))}return H.prototype.getChildContext=function(){var nt;return nt={},nt[ze]=this.props.sheet,nt},H.prototype.render=function(){return S.a.Children.only(this.props.children)},H}(A.Component);Xe.childContextTypes=(it={},it[ze]=w.a.oneOfType([w.a.instanceOf(Ne),w.a.instanceOf(lt)]).isRequired,it),Xe.propTypes={sheet:w.a.oneOfType([w.a.instanceOf(Ne),w.a.instanceOf(lt)]).isRequired};var ht=function(){function Bt(H){ge(this,Bt),this.isLocal=H,this.components={},this.size=0,this.names=[]}return Bt.prototype.isFull=function(){return!1},Bt.prototype.addComponent=function(ot){this.components[ot]={componentId:ot,css:""},this.size+=1},Bt.prototype.concatenateCSS=function(){var ot=this;return Object.keys(this.components).reduce(function(nt,Ct){return nt+ot.components[Ct].css},"")},Bt.prototype.inject=function(ot,nt,Ct){var Wt=this.components[ot];Wt.css===""&&(Wt.css="/* sc-component-id: "+ot+` */
`),Wt.css+=nt.replace(/\n*$/,`
`),Ct&&this.names.push(Ct)},Bt.prototype.toHTML=function(){var ot=['type="text/css"',Ke+'="'+this.names.join(" ")+'"',Me+'="'+(this.isLocal?"true":"false")+'"'],nt=oe();return nt&&ot.push('nonce="'+nt+'"'),"<style "+ot.join(" ")+">"+this.concatenateCSS()+"</style>"},Bt.prototype.toReactElement=function(ot){var nt,Ct=(nt={},nt[Ke]=this.names.join(" "),nt[Me]=this.isLocal.toString(),nt),Wt=oe();return Wt&&(Ct.nonce=Wt),S.a.createElement("style",Z({key:ot,type:"text/css"},Ct,{dangerouslySetInnerHTML:{__html:this.concatenateCSS()}}))},Bt.prototype.clone=function(){var ot=this,nt=new Bt(this.isLocal);return nt.names=[].concat(this.names),nt.size=this.size,nt.components=Object.keys(this.components).reduce(function(Ct,Wt){return Ct[Wt]=Z({},ot.components[Wt]),Ct},{}),nt},Bt}(),lt=function(){function Bt(){ge(this,Bt),this.instance=Ne.clone(Ne.instance)}return Bt.prototype.collectStyles=function(ot){if(this.closed)throw new Error("Can't collect styles once you've called getStyleTags!");return S.a.createElement(Xe,{sheet:this.instance},ot)},Bt.prototype.getStyleTags=function(){return this.closed||(He.splice(He.indexOf(this.instance),1),this.closed=!0),this.instance.toHTML()},Bt.prototype.getStyleElement=function(){return this.closed||(He.splice(He.indexOf(this.instance),1),this.closed=!0),this.instance.toReactElements()},Bt.create=function(){return new Ne(function(ot){return new ht(ot)})},Bt}(),Et=200,tt=function(H){var ot={},nt=!1;return function(Ct){nt||(ot[Ct]=!0,Object.keys(ot).length>=Et&&(console.warn("Over "+Et+" classes were generated for component "+H+`.
Consider using the attrs method, together with a style object for frequently changed styles.
Example:
const Component = styled.div.attrs({
style: ({ background }) => ({
background,
}),
})\`width: 100%;\`
<Component />`),nt=!0,ot={}))}},mt=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|(?:attribute|glyph)Nam|playsInlin|(?:formE|e)ncTyp|(?:writing|input|edge)Mod|(?:xlinkTy|itemSco|keyTy|slo)p|(?:amplitu|mo)d|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ntrol|ord)s|o(?:lor(?:Interpolation)?|ntent)|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|o(?:ntextMenu|ls)|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|(?:rossOrigi|olSpa)n|apHeight|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|formActio|zoomAndPa|onFocusI|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:gradientT|patternT|t)ransform|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|a(?:utoCorrec|bou)|markerStar|onFocusOu|in(?:tercep|lis)|restar|forma|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|m(?:arkerMi|etho)|preloa|kin)d|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:allowFullScre|hidd)en|strokeDasharray|systemLanguage|(?:strokeLineca|itemPro|useMa|wra|loo)p|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|unicodeRange|(?:(?:allowReord|placehold|frameBord|paintOrd|post|ord)e|repeatDu|d(?:efe|u))r|mathematical|(?:vI|i)deographic|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|vAlphabetic|mediaGroup|spellCheck|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|(?:xmlnsXl|valueL)ink|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|(?:text|m(?:in|ax))Length|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|r(?:e(?:quired|sult|f))?|o(?:verflow|pen)|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|f(?:o(?:ntSize|rm)|il(?:ter|l))|autoPlay|unicode|p(?:attern|oints)|t(?:arget[XY]|o)|i(?:temRef|n2|s)|divisor|d(?:efault|ata|ir)?|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|(?:stri|la)ng|prefix|itemID|s(?:t(?:roke|art)|hape|cope|rc)|a(?:ccept|s)|t(?:arget|ype)|typeof|width|value|x(?:mlns)?|label|m(?:edia|a(?:sk|x)|in)|size|href|k(?:ey)?|end|low|x[12]|i[dn]|y[12]|g[12]|by|f[xy]|[yz])$/,xt=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Xt=xt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",vt=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Xt+"]*$")),qe=function(H){return mt.test(H)||vt(H.toLowerCase())};function Re(Bt){return typeof Bt=="string"}function Se(Bt){return typeof Bt=="function"&&typeof Bt.styledComponentId=="string"}function Ve(Bt){return Bt.displayName||Bt.name||"Component"}var Ge=function(H,ot,nt){var Ct=nt&&H.theme===nt.theme,Wt=H.theme&&!Ct?H.theme:ot;return Wt},_t=/[[\].#*$><+~=|^:(),"'`-]+/g,bt=/(^-|-$)/g;function gt(Bt){return Bt.replace(_t,"-").replace(bt,"")}var at=function(H){var ot={},nt=0,Ct=H;function Wt(Zn){Ct=Zn;for(var Or in ot){var Yn=ot[Or];Yn!==void 0&&Yn(Ct)}}function kn(Zn){var Or=nt;return ot[Or]=Zn,nt+=1,Zn(Ct),Or}function Sn(Zn){ot[Zn]=void 0}return{publish:Wt,subscribe:kn,unsubscribe:Sn}},ft=function(H){var ot=!1;return function(){ot||(ot=!0,H())}},Fe,Te,ut="__styled-components__",le=ut+"next__",$e=w.a.shape({getTheme:w.a.func,subscribe:w.a.func,unsubscribe:w.a.func}),Qe=void 0,Tt=function(H){return typeof H=="function"},Ot=function(Bt){xe(H,Bt);function H(){ge(this,H);var ot=Le(this,Bt.call(this));return ot.unsubscribeToOuterId=-1,ot.getTheme=ot.getTheme.bind(ot),ot}return H.prototype.componentWillMount=function(){var nt=this,Ct=this.context[le];Ct!==void 0&&(this.unsubscribeToOuterId=Ct.subscribe(function(Wt){nt.outerTheme=Wt})),this.broadcast=at(this.getTheme())},H.prototype.getChildContext=function(){var nt=this,Ct;return Z({},this.context,(Ct={},Ct[le]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},Ct[ut]=function(Wt){var kn=nt.broadcast.subscribe(Wt);return function(){return nt.broadcast.unsubscribe(kn)}},Ct))},H.prototype.componentWillReceiveProps=function(nt){this.props.theme!==nt.theme&&this.broadcast.publish(this.getTheme(nt.theme))},H.prototype.componentWillUnmount=function(){this.unsubscribeToOuterId!==-1&&this.context[le].unsubscribe(this.unsubscribeToOuterId)},H.prototype.getTheme=function(nt){var Ct=nt||this.props.theme;if(Tt(Ct)){var Wt=Ct(this.outerTheme);return Wt}if(!O()(Ct))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Z({},this.outerTheme,Ct)},H.prototype.render=function(){return this.props.children?S.a.Children.only(this.props.children):null},H}(A.Component);Ot.childContextTypes=(Fe={},Fe[ut]=w.a.func,Fe[le]=$e,Fe),Ot.contextTypes=(Te={},Te[le]=$e,Te);var Ut={},At=function(H,ot){var nt={},Ct=function(Zn,Or){var Yn=typeof Zn!="string"?"sc":gt(Zn),Nn=void 0;if(Zn)Nn=Yn+"-"+H.generateName(Yn);else{var Zt=(nt[Yn]||0)+1;nt[Yn]=Zt,Nn=Yn+"-"+H.generateName(Yn+Zt)}return Or!==void 0?Or+"-"+Nn:Nn},Wt=function(Sn){xe(Zn,Sn);function Zn(){var Or,Yn,Nn;ge(this,Zn);for(var Zt=arguments.length,rr=Array(Zt),Gn=0;Gn<Zt;Gn++)rr[Gn]=arguments[Gn];return Nn=(Or=(Yn=Le(this,Sn.call.apply(Sn,[this].concat(rr))),Yn),Yn.attrs={},Yn.state={theme:null,generatedClassName:""},Yn.unsubscribeId=-1,Or),Le(Yn,Nn)}return Zn.prototype.unsubscribeFromContext=function(){this.unsubscribeId!==-1&&this.context[le].unsubscribe(this.unsubscribeId)},Zn.prototype.buildExecutionContext=function(Yn,Nn){var Zt=this.constructor.attrs,rr=Z({},Nn,{theme:Yn});return Zt===void 0?rr:(this.attrs=Object.keys(Zt).reduce(function(Gn,ln){var Xn=Zt[ln];return Gn[ln]=typeof Xn=="function"?Xn(rr):Xn,Gn},{}),Z({},rr,this.attrs))},Zn.prototype.generateAndInjectStyles=function(Yn,Nn){var Zt=this.constructor,rr=Zt.attrs,Gn=Zt.componentStyle,ln=Zt.warnTooManyClasses,Xn=this.context[ze]||Ne.instance;if(Gn.isStatic&&rr===void 0)return Gn.generateAndInjectStyles(Ut,Xn);var Kn=this.buildExecutionContext(Yn,Nn),fr=Gn.generateAndInjectStyles(Kn,Xn);return fr},Zn.prototype.componentWillMount=function(){var Yn=this,Nn=this.constructor.componentStyle,Zt=this.context[le];if(Nn.isStatic){var rr=this.generateAndInjectStyles(Ut,this.props);this.setState({generatedClassName:rr})}else if(Zt!==void 0){var Gn=Zt.subscribe;this.unsubscribeId=Gn(function(Kn){var fr=Ge(Yn.props,Kn,Yn.constructor.defaultProps),Hn=Yn.generateAndInjectStyles(fr,Yn.props);Yn.setState({theme:fr,generatedClassName:Hn})})}else{var ln=this.props.theme||{},Xn=this.generateAndInjectStyles(ln,this.props);this.setState({theme:ln,generatedClassName:Xn})}},Zn.prototype.componentWillReceiveProps=function(Yn){var Nn=this,Zt=this.constructor.componentStyle;Zt.isStatic||this.setState(function(rr){var Gn=Ge(Yn,rr.theme,Nn.constructor.defaultProps),ln=Nn.generateAndInjectStyles(Gn,Yn);return{theme:Gn,generatedClassName:ln}})},Zn.prototype.componentWillUnmount=function(){this.unsubscribeFromContext()},Zn.prototype.render=function(){var Yn=this,Nn=this.props.innerRef,Zt=this.state.generatedClassName,rr=this.constructor,Gn=rr.styledComponentId,ln=rr.target,Xn=Re(ln),Kn=[this.props.className,Gn,this.attrs.className,Zt].filter(Boolean).join(" "),fr=Z({},this.attrs,{className:Kn});Se(ln)?fr.innerRef=Nn:fr.ref=Nn;var Hn=Object.keys(this.props).reduce(function(Sa,Lr){return Lr!=="innerRef"&&Lr!=="className"&&(!Xn||qe(Lr))&&(Sa[Lr]=Yn.props[Lr]),Sa},fr);return Object(A.createElement)(ln,Hn)},Zn}(A.Component),kn=function Sn(Zn,Or,Yn){var Nn,Zt=Or.displayName,rr=Zt===void 0?Re(Zn)?"styled."+Zn:"Styled("+Ve(Zn)+")":Zt,Gn=Or.componentId,ln=Gn===void 0?Ct(Or.displayName,Or.parentComponentId):Gn,Xn=Or.ParentComponent,Kn=Xn===void 0?Wt:Xn,fr=Or.rules,Hn=Or.attrs,Sa=Or.displayName&&Or.componentId?gt(Or.displayName)+"-"+Or.componentId:ln,Lr=new H(fr===void 0?Yn:fr.concat(Yn),Hn,Sa),Ca=function(za){xe(Ma,za);function Ma(){return ge(this,Ma),Le(this,za.apply(this,arguments))}return Ma.withComponent=function(qa){var gi=Or.componentId,Qi=Ee(Or,["componentId"]),mi=gi&&gi+"-"+(Re(qa)?qa:gt(Ve(qa))),Cr=Z({},Qi,{componentId:mi,ParentComponent:Ma});return Sn(qa,Cr,Yn)},me(Ma,null,[{key:"extend",get:function(){var qa=Or.rules,gi=Or.componentId,Qi=Ee(Or,["rules","componentId"]),mi=qa===void 0?Yn:qa.concat(Yn),Cr=Z({},Qi,{rules:mi,parentComponentId:gi,ParentComponent:Ma});return ot(Sn,Zn,Cr)}}]),Ma}(Kn);return Ca.contextTypes=(Nn={},Nn[ut]=w.a.func,Nn[le]=$e,Nn[ze]=w.a.oneOfType([w.a.instanceOf(Ne),w.a.instanceOf(lt)]),Nn),Ca.displayName=rr,Ca.styledComponentId=Sa,Ca.attrs=Hn,Ca.componentStyle=Lr,Ca.target=Zn,Ca};return kn};function Pt(Bt,H){for(var ot=1540483477,nt=24,Ct=H^Bt.length,Wt=Bt.length,kn=0;Wt>=4;){var Sn=Dt(Bt,kn);Sn=cn(Sn,ot),Sn^=Sn>>>nt,Sn=cn(Sn,ot),Ct=cn(Ct,ot),Ct^=Sn,kn+=4,Wt-=4}switch(Wt){case 3:Ct^=Qt(Bt,kn),Ct^=Bt.charCodeAt(kn+2)<<16,Ct=cn(Ct,ot);break;case 2:Ct^=Qt(Bt,kn),Ct=cn(Ct,ot);break;case 1:Ct^=Bt.charCodeAt(kn),Ct=cn(Ct,ot);break}return Ct^=Ct>>>13,Ct=cn(Ct,ot),Ct^=Ct>>>15,Ct>>>0}function Dt(Bt,H){return Bt.charCodeAt(H++)+(Bt.charCodeAt(H++)<<8)+(Bt.charCodeAt(H++)<<16)+(Bt.charCodeAt(H)<<24)}function Qt(Bt,H){return Bt.charCodeAt(H++)+(Bt.charCodeAt(H++)<<8)}function cn(Bt,H){Bt=Bt|0,H=H|0;var ot=Bt&65535,nt=Bt>>>16,Ct=ot*H+((nt*H&65535)<<16)|0;return Ct}var $n=function Bt(H,ot){for(var nt=0;nt<H.length;nt+=1){var Ct=H[nt];if(Array.isArray(Ct)&&!Bt(Ct))return!1;if(typeof Ct=="function"&&!Se(Ct))return!1}if(ot!==void 0)for(var Wt in ot){var kn=ot[Wt];if(typeof kn=="function")return!1}return!0},hn=E.hot&&!1,_n=function(H,ot,nt){var Ct=function(){function Wt(kn,Sn,Zn){if(ge(this,Wt),this.rules=kn,this.isStatic=!hn&&$n(kn,Sn),this.componentId=Zn,!Ne.instance.hasInjectedComponent(this.componentId)){var Or="";Ne.instance.deferredInject(Zn,!0,Or)}}return Wt.prototype.generateAndInjectStyles=function(Sn,Zn){var Or=this.isStatic,Yn=this.lastClassName;if(Or&&Yn!==void 0)return Yn;var Nn=ot(this.rules,Sn),Zt=Pt(this.componentId+Nn.join("")),rr=Zn.getName(Zt);if(rr!==void 0)return Zn.stylesCacheable&&(this.lastClassName=rr),rr;var Gn=H(Zt);if(Zn.stylesCacheable&&(this.lastClassName=rr),Zn.alreadyInjected(Zt,Gn))return Gn;var ln=`
`+nt(Nn,"."+Gn);return Zn.inject(this.componentId,!0,ln,Zt,Gn),Gn},Wt.generateName=function(Sn){return H(Pt(Sn))},Wt}();return Ct},bn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Bn=function(H,ot){var nt=function(Wt){return ot(H,Wt)};return bn.forEach(function(Ct){nt[Ct]=nt(Ct)}),nt},Tn=function(H){return H.replace(/\s|\\n/g,"")},Tr=function(H,ot,nt){return function(Ct){for(var Wt=arguments.length,kn=Array(Wt>1?Wt-1:0),Sn=1;Sn<Wt;Sn++)kn[Sn-1]=arguments[Sn];var Zn=nt.apply(void 0,[Ct].concat(kn)),Or=Pt(Tn(JSON.stringify(Zn))),Yn=Ne.instance.getName(Or);if(Yn)return Yn;var Nn=H(Or);if(Ne.instance.alreadyInjected(Or,Nn))return Nn;var Zt=ot(Zn,Nn,"@keyframes");return Ne.instance.inject("sc-keyframes-"+Nn,!0,Zt,Or,Nn),Nn}},Sr=function(H,ot){var nt=function(Wt){for(var kn=arguments.length,Sn=Array(kn>1?kn-1:0),Zn=1;Zn<kn;Zn++)Sn[Zn-1]=arguments[Zn];var Or=ot.apply(void 0,[Wt].concat(Sn)),Yn=Pt(JSON.stringify(Or)),Nn="sc-global-"+Yn;Ne.instance.hasInjectedComponent(Nn)||Ne.instance.inject(Nn,!1,H(Or))};return nt},Wr=function(H){var ot=function nt(Ct,Wt){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Sn=function(Or){for(var Yn=arguments.length,Nn=Array(Yn>1?Yn-1:0),Zt=1;Zt<Yn;Zt++)Nn[Zt-1]=arguments[Zt];return Ct(Wt,kn,H.apply(void 0,[Or].concat(Nn)))};return Sn.withConfig=function(Zn){return nt(Ct,Wt,Z({},kn,Zn))},Sn.attrs=function(Zn){return nt(Ct,Wt,Z({},kn,{attrs:Z({},kn.attrs||{},Zn)}))},Sn};return ot},br=function(H){var ot,nt=H.displayName||H.name||"Component",Ct=Se(H)||typeof H=="function"&&!(H.prototype&&"isReactComponent"in H.prototype),Wt=function(kn){xe(Sn,kn);function Sn(){var Zn,Or,Yn;ge(this,Sn);for(var Nn=arguments.length,Zt=Array(Nn),rr=0;rr<Nn;rr++)Zt[rr]=arguments[rr];return Yn=(Zn=(Or=Le(this,kn.call.apply(kn,[this].concat(Zt))),Or),Or.state={},Or.unsubscribeId=-1,Zn),Le(Or,Yn)}return Sn.prototype.componentWillMount=function(){var Or=this,Yn=this.constructor.defaultProps,Nn=this.context[le],Zt=Ge(this.props,void 0,Yn);if(Nn===void 0&&Zt!==void 0)this.setState({theme:Zt});else{var rr=Nn.subscribe;this.unsubscribeId=rr(function(Gn){var ln=Ge(Or.props,Gn,Yn);Or.setState({theme:ln})})}},Sn.prototype.componentWillReceiveProps=function(Or){var Yn=this.constructor.defaultProps;this.setState(function(Nn){var Zt=Ge(Or,Nn.theme,Yn);return{theme:Zt}})},Sn.prototype.componentWillUnmount=function(){this.unsubscribeId!==-1&&this.context[le].unsubscribe(this.unsubscribeId)},Sn.prototype.render=function(){var Or=this.props.innerRef,Yn=this.state.theme;return S.a.createElement(H,Z({theme:Yn},this.props,{innerRef:Ct?Or:void 0,ref:Ct?void 0:Or}))},Sn}(S.a.Component);return Wt.displayName="WithTheme("+nt+")",Wt.styledComponentId="withTheme",Wt.contextTypes=(ot={},ot[ut]=w.a.func,ot[le]=$e,ot),T()(Wt,H)},Wn=_n(W,X,ie),gr=Wr(te),na=At(Wn,gr),jn=Tr(W,ie,te),un=Sr(ie,te),zt=Bn(na,gr);R.default=zt}.call(this,l("Vg/k")(ce))},fQri:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("Z+8a");E({target:"Set",proto:!0,real:!0,forced:m},{addAll:function(){return O.apply(this,arguments)}})},"fR/l":function(ce,R,l){var E=l("CH3K"),m=l("Z0cm");function O(C,k,A){var S=k(C);return m(C)?S:E(S,A(C))}ce.exports=O},fSag:function(ce,R,l){"use strict";(function(E){l.d(R,"p",function(){return A}),l.d(R,"j",function(){return y}),l.d(R,"q",function(){return x}),l.d(R,"e",function(){return j}),l.d(R,"a",function(){return D}),l.d(R,"b",function(){return N}),l.d(R,"i",function(){return F}),l.d(R,"h",function(){return B}),l.d(R,"l",function(){return J}),l.d(R,"n",function(){return X}),l.d(R,"m",function(){return ee}),l.d(R,"o",function(){return ie}),l.d(R,"k",function(){return G}),l.d(R,"d",function(){return Q}),l.d(R,"f",function(){return W}),l.d(R,"g",function(){return ne}),l.d(R,"c",function(){return te});var m=l("CVnW"),O=l("fqoZ"),C=l("8MX5"),k=Math.round;function A(_e){var he;if(!_e||_e==="transparent")_e="none";else if(typeof _e=="string"&&_e.indexOf("rgba")>-1){var oe=Object(O.g)(_e);oe&&(_e="rgb("+oe[0]+","+oe[1]+","+oe[2]+")",he=oe[3])}return{color:_e,opacity:he==null?1:he}}var S=1e-4;function y(_e){return _e<S&&_e>-S}function w(_e){return k(_e*1e3)/1e3}function x(_e){return k(_e*1e4)/1e4}function T(_e){return k(_e*10)/10}function j(_e){return"matrix("+w(_e[0])+","+w(_e[1])+","+w(_e[2])+","+w(_e[3])+","+x(_e[4])+","+x(_e[5])+")"}var D={left:"start",right:"end",center:"middle",middle:"middle"};function N(_e,he,oe){return oe==="top"?_e+=he/2:oe==="bottom"&&(_e-=he/2),_e}function F(_e){return _e&&(_e.shadowBlur||_e.shadowOffsetX||_e.shadowOffsetY)}function B(_e){var he=_e.style,oe=_e.getGlobalScale();return[he.shadowColor,(he.shadowBlur||0).toFixed(2),(he.shadowOffsetX||0).toFixed(2),(he.shadowOffsetY||0).toFixed(2),oe[0],oe[1]].join(",")}function U(_e){var he=[];if(_e)for(var oe=0;oe<_e.length;oe++){var ge=_e[oe];he.push(ge.id)}return he.join(",")}function J(_e){return _e&&!!_e.image}function $(_e){return _e&&!!_e.svgElement}function X(_e){return J(_e)||$(_e)}function ee(_e){return _e.type==="linear"}function ie(_e){return _e.type==="radial"}function G(_e){return _e&&(_e.type==="linear"||_e.type==="radial")}function Q(_e){return"url(#"+_e+")"}function W(_e){var he=_e.getGlobalScale(),oe=Math.max(he[0],he[1]);return Math.max(Math.ceil(Math.log(oe)/Math.log(10)),1)}function ne(_e){var he=_e.x||0,oe=_e.y||0,ge=(_e.rotation||0)*m.a,me=Object(m.P)(_e.scaleX,1),Z=Object(m.P)(_e.scaleY,1),xe=_e.skewX||0,Ee=_e.skewY||0,Le=[];return(he||oe)&&Le.push("translate("+he+"px,"+oe+"px)"),ge&&Le.push("rotate("+ge+")"),(me!==1||Z!==1)&&Le.push("scale("+me+","+Z+")"),(xe||Ee)&&Le.push("skew("+k(xe*m.a)+"deg, "+k(Ee*m.a)+"deg)"),Le.join(" ")}var te=function(){return C.a.hasGlobalWindow&&Object(m.w)(window.btoa)?function(_e){return window.btoa(unescape(encodeURIComponent(_e)))}:typeof E!="undefined"?function(_e){return E.from(_e).toString("base64")}:function(_e){return null}}()}).call(this,l("HDXh").Buffer)},fVhf:function(ce,R,l){"use strict";var E=l("284h").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=R.SizeContextProvider=void 0;var m=E(l("q1tI")),O=m.createContext(void 0),C=function(S){var y=S.children,w=S.size;return m.createElement(O.Consumer,null,function(x){return m.createElement(O.Provider,{value:w||x},y)})};R.SizeContextProvider=C;var k=O;R.default=k},fWQN:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){if(!(m instanceof O))throw new TypeError("Cannot call a class as a function")}},"fWo+":function(ce,R,l){},fbrv:function(ce,R,l){"use strict";var E=this&&this.__spreadArray||function(F,B){for(var U=0,J=B.length,$=F.length;U<J;U++,$++)F[$]=B[U];return F};Object.defineProperty(R,"__esModule",{value:!0}),R.getFunctionName=R.getBaseClassDependencyCount=R.getDependencies=void 0;var m=l("Yk9n"),O=l("MON2"),C=l("FV85"),k=l("xfSm"),A=l("ujMp");Object.defineProperty(R,"getFunctionName",{enumerable:!0,get:function(){return A.getFunctionName}});var S=l("dX1H");function y(F,B){var U=A.getFunctionName(B),J=w(F,U,B,!1);return J}R.getDependencies=y;function w(F,B,U,J){var $=F.getConstructorMetadata(U),X=$.compilerGeneratedMetadata;if(X===void 0){var ee=O.MISSING_INJECTABLE_ANNOTATION+" "+B+".";throw new Error(ee)}var ie=$.userGeneratedMetadata,G=Object.keys(ie),Q=U.length===0&&G.length>0,W=G.length>U.length,ne=Q||W?G.length:U.length,te=T(J,B,X,ie,ne),_e=j(F,U),he=E(E([],te),_e);return he}function x(F,B,U,J,$){var X=$[F.toString()]||[],ee=N(X),ie=ee.unmanaged!==!0,G=J[F],Q=ee.inject||ee.multiInject;if(G=Q||G,G instanceof m.LazyServiceIdentifer&&(G=G.unwrap()),ie){var W=G===Object,ne=G===Function,te=G===void 0,_e=W||ne||te;if(!B&&_e){var he=O.MISSING_INJECT_ANNOTATION+" argument "+F+" in class "+U+".";throw new Error(he)}var oe=new S.Target(C.TargetTypeEnum.ConstructorArgument,ee.targetName,G);return oe.metadata=X,oe}return null}function T(F,B,U,J,$){for(var X=[],ee=0;ee<$;ee++){var ie=ee,G=x(ie,F,B,U,J);G!==null&&X.push(G)}return X}function j(F,B){for(var U=F.getPropertiesMetadata(B),J=[],$=Object.keys(U),X=0,ee=$;X<ee.length;X++){var ie=ee[X],G=U[ie],Q=N(U[ie]),W=Q.targetName||ie,ne=Q.inject||Q.multiInject,te=new S.Target(C.TargetTypeEnum.ClassProperty,W,ne);te.metadata=G,J.push(te)}var _e=Object.getPrototypeOf(B.prototype).constructor;if(_e!==Object){var he=j(F,_e);J=E(E([],J),he)}return J}function D(F,B){var U=Object.getPrototypeOf(B.prototype).constructor;if(U!==Object){var J=A.getFunctionName(U),$=w(F,J,U,!0),X=$.map(function(G){return G.metadata.filter(function(Q){return Q.key===k.UNMANAGED_TAG})}),ee=[].concat.apply([],X).length,ie=$.length-ee;return ie>0?ie:D(F,U)}else return 0}R.getBaseClassDependencyCount=D;function N(F){var B={};return F.forEach(function(U){B[U.key.toString()]=U.value}),{inject:B[k.INJECT_TAG],multiInject:B[k.MULTI_INJECT_TAG],targetName:B[k.NAME_TAG],unmanaged:B[k.UNMANAGED_TAG]}}},fbvF:function(ce,R,l){(function(E,m){ce.exports=m()})(this,function(){"use strict";var E=function(Br){return Br instanceof Uint8Array||Br instanceof Uint16Array||Br instanceof Uint32Array||Br instanceof Int8Array||Br instanceof Int16Array||Br instanceof Int32Array||Br instanceof Float32Array||Br instanceof Float64Array||Br instanceof Uint8ClampedArray},m=function(Br,ei){for(var Ao=Object.keys(ei),so=0;so<Ao.length;++so)Br[Ao[so]]=ei[Ao[so]];return Br},O=`
`;function C(_r){return typeof atob!="undefined"?atob(_r):"base64:"+_r}function k(_r){var Br=new Error("(regl) "+_r);throw console.error(Br),Br}function A(_r,Br){_r||k(Br)}function S(_r){return _r?": "+_r:""}function y(_r,Br,ei){_r in Br||k("unknown parameter ("+_r+")"+S(ei)+". possible values: "+Object.keys(Br).join())}function w(_r,Br){E(_r)||k("invalid parameter type"+S(Br)+". must be a typed array")}function x(_r,Br){switch(Br){case"number":return typeof _r=="number";case"object":return typeof _r=="object";case"string":return typeof _r=="string";case"boolean":return typeof _r=="boolean";case"function":return typeof _r=="function";case"undefined":return typeof _r=="undefined";case"symbol":return typeof _r=="symbol"}}function T(_r,Br,ei){x(_r,Br)||k("invalid parameter type"+S(ei)+". expected "+Br+", got "+typeof _r)}function j(_r,Br){_r>=0&&(_r|0)===_r||k("invalid parameter type, ("+_r+")"+S(Br)+". must be a nonnegative integer")}function D(_r,Br,ei){Br.indexOf(_r)<0&&k("invalid value"+S(ei)+". must be one of: "+Br)}var N=["gl","canvas","container","attributes","pixelRatio","extensions","optionalExtensions","profile","onDone"];function F(_r){Object.keys(_r).forEach(function(Br){N.indexOf(Br)<0&&k('invalid regl constructor argument "'+Br+'". must be one of '+N)})}function B(_r,Br){for(_r=_r+"";_r.length<Br;)_r=" "+_r;return _r}function U(){this.name="unknown",this.lines=[],this.index={},this.hasErrors=!1}function J(_r,Br){this.number=_r,this.line=Br,this.errors=[]}function $(_r,Br,ei){this.file=_r,this.line=Br,this.message=ei}function X(){var _r=new Error,Br=(_r.stack||_r).toString(),ei=/compileProcedure.*\n\s*at.*\((.*)\)/.exec(Br);if(ei)return ei[1];var Ao=/compileProcedure.*\n\s*at\s+(.*)(\n|$)/.exec(Br);return Ao?Ao[1]:"unknown"}function ee(){var _r=new Error,Br=(_r.stack||_r).toString(),ei=/at REGLCommand.*\n\s+at.*\((.*)\)/.exec(Br);if(ei)return ei[1];var Ao=/at REGLCommand.*\n\s+at\s+(.*)\n/.exec(Br);return Ao?Ao[1]:"unknown"}function ie(_r,Br){var ei=_r.split(`
`),Ao=1,so=0,So={unknown:new U,0:new U};So.unknown.name=So[0].name=Br||X(),So.unknown.lines.push(new J(0,""));for(var To=0;To<ei.length;++To){var Fs=ei[To],rc=/^\s*#\s*(\w+)\s+(.+)\s*$/.exec(Fs);if(rc)switch(rc[1]){case"line":var Ys=/(\d+)(\s+\d+)?/.exec(rc[2]);Ys&&(Ao=Ys[1]|0,Ys[2]&&(so=Ys[2]|0,so in So||(So[so]=new U)));break;case"define":var qs=/SHADER_NAME(_B64)?\s+(.*)$/.exec(rc[2]);qs&&(So[so].name=qs[1]?C(qs[2]):qs[2]);break}So[so].lines.push(new J(Ao++,Fs))}return Object.keys(So).forEach(function(Qs){var Hc=So[Qs];Hc.lines.forEach(function(Oc){Hc.index[Oc.number]=Oc})}),So}function G(_r){var Br=[];return _r.split(`
`).forEach(function(ei){if(!(ei.length<5)){var Ao=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(ei);Ao?Br.push(new $(Ao[1]|0,Ao[2]|0,Ao[3].trim())):ei.length>0&&Br.push(new $("unknown",0,ei))}}),Br}function Q(_r,Br){Br.forEach(function(ei){var Ao=_r[ei.file];if(Ao){var so=Ao.index[ei.line];if(so){so.errors.push(ei),Ao.hasErrors=!0;return}}_r.unknown.hasErrors=!0,_r.unknown.lines[0].errors.push(ei)})}function W(_r,Br,ei,Ao,so){if(!_r.getShaderParameter(Br,_r.COMPILE_STATUS)){var So=_r.getShaderInfoLog(Br),To=Ao===_r.FRAGMENT_SHADER?"fragment":"vertex";me(ei,"string",To+" shader source must be a string",so);var Fs=ie(ei,so),rc=G(So);Q(Fs,rc),Object.keys(Fs).forEach(function(Ys){var qs=Fs[Ys];if(!qs.hasErrors)return;var Qs=[""],Hc=[""];function Oc(lc,Ii){Qs.push(lc),Hc.push(Ii||"")}Oc("file number "+Ys+": "+qs.name+`
`,"color:red;text-decoration:underline;font-weight:bold"),qs.lines.forEach(function(lc){if(lc.errors.length>0){Oc(B(lc.number,4)+"| ","background-color:yellow; font-weight:bold"),Oc(lc.line+O,"color:red; background-color:yellow; font-weight:bold");var Ii=0;lc.errors.forEach(function(No){var vc=No.message,kt=/^\s*'(.*)'\s*:\s*(.*)$/.exec(vc);if(kt){var Pe=kt[1];switch(vc=kt[2],Pe){case"assign":Pe="=";break}Ii=Math.max(lc.line.indexOf(Pe,Ii),0)}else Ii=0;Oc(B("| ",6)),Oc(B("^^^",Ii+3)+O,"font-weight:bold"),Oc(B("| ",6)),Oc(vc+O,"font-weight:bold")}),Oc(B("| ",6)+O)}else Oc(B(lc.number,4)+"| "),Oc(lc.line+O,"color:red")}),typeof document!="undefined"&&!window.chrome?(Hc[0]=Qs.join("%c"),console.log.apply(console,Hc)):console.log(Qs.join(""))}),A.raise("Error compiling "+To+" shader, "+Fs[0].name)}}function ne(_r,Br,ei,Ao,so){if(!_r.getProgramParameter(Br,_r.LINK_STATUS)){var So=_r.getProgramInfoLog(Br),To=ie(ei,so),Fs=ie(Ao,so),rc='Error linking program with vertex shader, "'+Fs[0].name+'", and fragment shader "'+To[0].name+'"';typeof document!="undefined"?console.log("%c"+rc+O+"%c"+So,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(rc+O+So),A.raise(rc)}}function te(_r){_r._commandRef=X()}function _e(_r,Br,ei,Ao){te(_r);function so(rc){return rc?Ao.id(rc):0}_r._fragId=so(_r.static.frag),_r._vertId=so(_r.static.vert);function So(rc,Ys){Object.keys(Ys).forEach(function(qs){rc[Ao.id(qs)]=!0})}var To=_r._uniformSet={};So(To,Br.static),So(To,Br.dynamic);var Fs=_r._attributeSet={};So(Fs,ei.static),So(Fs,ei.dynamic),_r._hasCount="count"in _r.static||"count"in _r.dynamic||"elements"in _r.static||"elements"in _r.dynamic}function he(_r,Br){var ei=ee();k(_r+" in command "+(Br||X())+(ei==="unknown"?"":" called from "+ei))}function oe(_r,Br,ei){_r||he(Br,ei||X())}function ge(_r,Br,ei,Ao){_r in Br||he("unknown parameter ("+_r+")"+S(ei)+". possible values: "+Object.keys(Br).join(),Ao||X())}function me(_r,Br,ei,Ao){x(_r,Br)||he("invalid parameter type"+S(ei)+". expected "+Br+", got "+typeof _r,Ao||X())}function Z(_r){_r()}function xe(_r,Br,ei){_r.texture?D(_r.texture._texture.internalformat,Br,"unsupported texture format for attachment"):D(_r.renderbuffer._renderbuffer.format,ei,"unsupported renderbuffer format for attachment")}var Ee=33071,Le=9728,we=9984,fe=9985,pe=9986,Ke=9987,Me=5120,ze=5121,Ue=5122,He=5123,Ne=5124,it=5125,Xe=5126,ht=32819,lt=32820,Et=33635,tt=34042,mt=36193,xt={};xt[Me]=xt[ze]=1,xt[Ue]=xt[He]=xt[mt]=xt[Et]=xt[ht]=xt[lt]=2,xt[Ne]=xt[it]=xt[Xe]=xt[tt]=4;function Xt(_r,Br){return _r===lt||_r===ht||_r===Et?2:_r===tt?4:xt[_r]*Br}function vt(_r){return!(_r&_r-1)&&!!_r}function qe(_r,Br,ei){var Ao,so=Br.width,So=Br.height,To=Br.channels;A(so>0&&so<=ei.maxTextureSize&&So>0&&So<=ei.maxTextureSize,"invalid texture shape"),(_r.wrapS!==Ee||_r.wrapT!==Ee)&&A(vt(so)&&vt(So),"incompatible wrap mode for texture, both width and height must be power of 2"),Br.mipmask===1?so!==1&&So!==1&&A(_r.minFilter!==we&&_r.minFilter!==pe&&_r.minFilter!==fe&&_r.minFilter!==Ke,"min filter requires mipmap"):(A(vt(so)&&vt(So),"texture must be a square power of 2 to support mipmapping"),A(Br.mipmask===(so<<1)-1,"missing or incomplete mipmap data")),Br.type===Xe&&(ei.extensions.indexOf("oes_texture_float_linear")<0&&A(_r.minFilter===Le&&_r.magFilter===Le,"filter not supported, must enable oes_texture_float_linear"),A(!_r.genMipmaps,"mipmap generation not supported with float textures"));var Fs=Br.images;for(Ao=0;Ao<16;++Ao)if(Fs[Ao]){var rc=so>>Ao,Ys=So>>Ao;A(Br.mipmask&1<<Ao,"missing mipmap data");var qs=Fs[Ao];if(A(qs.width===rc&&qs.height===Ys,"invalid shape for mip images"),A(qs.format===Br.format&&qs.internalformat===Br.internalformat&&qs.type===Br.type,"incompatible type for mip image"),!qs.compressed)if(qs.data){var Qs=Math.ceil(Xt(qs.type,To)*rc/qs.unpackAlignment)*qs.unpackAlignment;A(qs.data.byteLength===Qs*Ys,"invalid data for image, buffer size is inconsistent with image format")}else qs.element||qs.copy}else _r.genMipmaps||A((Br.mipmask&1<<Ao)==0,"extra mipmap data");Br.compressed&&A(!_r.genMipmaps,"mipmap generation for compressed images not supported")}function Re(_r,Br,ei,Ao){var so=_r.width,So=_r.height,To=_r.channels;A(so>0&&so<=Ao.maxTextureSize&&So>0&&So<=Ao.maxTextureSize,"invalid texture shape"),A(so===So,"cube map must be square"),A(Br.wrapS===Ee&&Br.wrapT===Ee,"wrap mode not supported by cube map");for(var Fs=0;Fs<ei.length;++Fs){var rc=ei[Fs];A(rc.width===so&&rc.height===So,"inconsistent cube map face shape"),Br.genMipmaps&&(A(!rc.compressed,"can not generate mipmap for compressed textures"),A(rc.mipmask===1,"can not specify mipmaps and generate mipmaps"));for(var Ys=rc.images,qs=0;qs<16;++qs){var Qs=Ys[qs];if(Qs){var Hc=so>>qs,Oc=So>>qs;A(rc.mipmask&1<<qs,"missing mipmap data"),A(Qs.width===Hc&&Qs.height===Oc,"invalid shape for mip images"),A(Qs.format===_r.format&&Qs.internalformat===_r.internalformat&&Qs.type===_r.type,"incompatible type for mip image"),Qs.compressed||(Qs.data?A(Qs.data.byteLength===Hc*Oc*Math.max(Xt(Qs.type,To),Qs.unpackAlignment),"invalid data for image, buffer size is inconsistent with image format"):Qs.element||Qs.copy)}}}}var Se=m(A,{optional:Z,raise:k,commandRaise:he,command:oe,parameter:y,commandParameter:ge,constructor:F,type:T,commandType:me,isTypedArray:w,nni:j,oneOf:D,shaderError:W,linkError:ne,callSite:ee,saveCommandRef:te,saveDrawInfo:_e,framebufferFormat:xe,guessCommand:X,texture2D:qe,textureCube:Re}),Ve=0,Ge=0,_t=5,bt=6;function gt(_r,Br){this.id=Ve++,this.type=_r,this.data=Br}function at(_r){return _r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function ft(_r){if(_r.length===0)return[];var Br=_r.charAt(0),ei=_r.charAt(_r.length-1);if(_r.length>1&&Br===ei&&(Br==='"'||Br==="'"))return['"'+at(_r.substr(1,_r.length-2))+'"'];var Ao=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(_r);if(Ao)return ft(_r.substr(0,Ao.index)).concat(ft(Ao[1])).concat(ft(_r.substr(Ao.index+Ao[0].length)));var so=_r.split(".");if(so.length===1)return['"'+at(_r)+'"'];for(var So=[],To=0;To<so.length;++To)So=So.concat(ft(so[To]));return So}function Fe(_r){return"["+ft(_r).join("][")+"]"}function Te(_r,Br){return new gt(_r,Fe(Br+""))}function ut(_r){return typeof _r=="function"&&!_r._reglType||_r instanceof gt}function le(_r,Br){if(typeof _r=="function")return new gt(Ge,_r);if(typeof _r=="number"||typeof _r=="boolean")return new gt(_t,_r);if(Array.isArray(_r))return new gt(bt,_r.map(function(ei,Ao){return le(ei,Br+"["+Ao+"]")}));if(_r instanceof gt)return _r;Se(!1,"invalid option type in uniform "+Br)}var $e={DynamicVariable:gt,define:Te,isDynamic:ut,unbox:le,accessor:Fe},Qe={next:typeof requestAnimationFrame=="function"?function(_r){return requestAnimationFrame(_r)}:function(_r){return setTimeout(_r,16)},cancel:typeof cancelAnimationFrame=="function"?function(_r){return cancelAnimationFrame(_r)}:clearTimeout},Tt=typeof performance!="undefined"&&performance.now?function(){return performance.now()}:function(){return+new Date};function Ot(){var _r={"":0},Br=[""];return{id:function(Ao){var so=_r[Ao];return so||(so=_r[Ao]=Br.length,Br.push(Ao),so)},str:function(Ao){return Br[Ao]}}}function Ut(_r,Br,ei){var Ao=document.createElement("canvas");m(Ao.style,{border:0,margin:0,padding:0,top:0,left:0}),_r.appendChild(Ao),_r===document.body&&(Ao.style.position="absolute",m(_r.style,{margin:0,padding:0}));function so(){var Fs=window.innerWidth,rc=window.innerHeight;if(_r!==document.body){var Ys=_r.getBoundingClientRect();Fs=Ys.right-Ys.left,rc=Ys.bottom-Ys.top}Ao.width=ei*Fs,Ao.height=ei*rc,m(Ao.style,{width:Fs+"px",height:rc+"px"})}var So;_r!==document.body&&typeof ResizeObserver=="function"?(So=new ResizeObserver(function(){setTimeout(so)}),So.observe(_r)):window.addEventListener("resize",so,!1);function To(){So?So.disconnect():window.removeEventListener("resize",so),_r.removeChild(Ao)}return so(),{canvas:Ao,onDestroy:To}}function At(_r,Br){function ei(Ao){try{return _r.getContext(Ao,Br)}catch(so){return null}}return ei("webgl")||ei("experimental-webgl")||ei("webgl-experimental")}function Pt(_r){return typeof _r.nodeName=="string"&&typeof _r.appendChild=="function"&&typeof _r.getBoundingClientRect=="function"}function Dt(_r){return typeof _r.drawArrays=="function"||typeof _r.drawElements=="function"}function Qt(_r){return typeof _r=="string"?_r.split():(Se(Array.isArray(_r),"invalid extension array"),_r)}function cn(_r){return typeof _r=="string"?(Se(typeof document!="undefined","not supported outside of DOM"),document.querySelector(_r)):_r}function $n(_r){var Br=_r||{},ei,Ao,so,So,To={},Fs=[],rc=[],Ys=typeof window=="undefined"?1:window.devicePixelRatio,qs=!1,Qs=function(Ii){Ii&&Se.raise(Ii)},Hc=function(){};if(typeof Br=="string"?(Se(typeof document!="undefined","selector queries only supported in DOM enviroments"),ei=document.querySelector(Br),Se(ei,"invalid query string for element")):typeof Br=="object"?Pt(Br)?ei=Br:Dt(Br)?(So=Br,so=So.canvas):(Se.constructor(Br),"gl"in Br?So=Br.gl:"canvas"in Br?so=cn(Br.canvas):"container"in Br&&(Ao=cn(Br.container)),"attributes"in Br&&(To=Br.attributes,Se.type(To,"object","invalid context attributes")),"extensions"in Br&&(Fs=Qt(Br.extensions)),"optionalExtensions"in Br&&(rc=Qt(Br.optionalExtensions)),"onDone"in Br&&(Se.type(Br.onDone,"function","invalid or missing onDone callback"),Qs=Br.onDone),"profile"in Br&&(qs=!!Br.profile),"pixelRatio"in Br&&(Ys=+Br.pixelRatio,Se(Ys>0,"invalid pixel ratio"))):Se.raise("invalid arguments to regl"),ei&&(ei.nodeName.toLowerCase()==="canvas"?so=ei:Ao=ei),!So){if(!so){Se(typeof document!="undefined","must manually specify webgl context outside of DOM environments");var Oc=Ut(Ao||document.body,Qs,Ys);if(!Oc)return null;so=Oc.canvas,Hc=Oc.onDestroy}To.premultipliedAlpha===void 0&&(To.premultipliedAlpha=!0),So=At(so,To)}return So?{gl:So,canvas:so,container:Ao,extensions:Fs,optionalExtensions:rc,pixelRatio:Ys,profile:qs,onDone:Qs,onDestroy:Hc}:(Hc(),Qs("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function hn(_r,Br){var ei={};function Ao(To){Se.type(To,"string","extension name must be string");var Fs=To.toLowerCase(),rc;try{rc=ei[Fs]=_r.getExtension(Fs)}catch(Ys){}return!!rc}for(var so=0;so<Br.extensions.length;++so){var So=Br.extensions[so];if(!Ao(So))return Br.onDestroy(),Br.onDone('"'+So+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return Br.optionalExtensions.forEach(Ao),{extensions:ei,restore:function(){Object.keys(ei).forEach(function(Fs){if(ei[Fs]&&!Ao(Fs))throw new Error("(regl): error restoring extension "+Fs)})}}}function _n(_r,Br){for(var ei=Array(_r),Ao=0;Ao<_r;++Ao)ei[Ao]=Br(Ao);return ei}var bn=5120,Bn=5121,Tn=5122,Tr=5123,Sr=5124,Wr=5125,br=5126;function Wn(_r){for(var Br=16;Br<=1<<28;Br*=16)if(_r<=Br)return Br;return 0}function gr(_r){var Br,ei;return Br=(_r>65535)<<4,_r>>>=Br,ei=(_r>255)<<3,_r>>>=ei,Br|=ei,ei=(_r>15)<<2,_r>>>=ei,Br|=ei,ei=(_r>3)<<1,_r>>>=ei,Br|=ei,Br|_r>>1}function na(){var _r=_n(8,function(){return[]});function Br(So){var To=Wn(So),Fs=_r[gr(To)>>2];return Fs.length>0?Fs.pop():new ArrayBuffer(To)}function ei(So){_r[gr(So.byteLength)>>2].push(So)}function Ao(So,To){var Fs=null;switch(So){case bn:Fs=new Int8Array(Br(To),0,To);break;case Bn:Fs=new Uint8Array(Br(To),0,To);break;case Tn:Fs=new Int16Array(Br(2*To),0,To);break;case Tr:Fs=new Uint16Array(Br(2*To),0,To);break;case Sr:Fs=new Int32Array(Br(4*To),0,To);break;case Wr:Fs=new Uint32Array(Br(4*To),0,To);break;case br:Fs=new Float32Array(Br(4*To),0,To);break;default:return null}return Fs.length!==To?Fs.subarray(0,To):Fs}function so(So){ei(So.buffer)}return{alloc:Br,free:ei,allocType:Ao,freeType:so}}var jn=na();jn.zero=na();var un=3408,zt=3410,Bt=3411,H=3412,ot=3413,nt=3414,Ct=3415,Wt=33901,kn=33902,Sn=3379,Zn=3386,Or=34921,Yn=36347,Nn=36348,Zt=35661,rr=35660,Gn=34930,ln=36349,Xn=34076,Kn=34024,fr=7936,Hn=7937,Sa=7938,Lr=35724,Ca=34047,za=36063,Ma=34852,va=3553,qa=34067,gi=34069,Qi=33984,mi=6408,Cr=5126,Un=5121,Lt=36160,gn=36053,Ln=36064,kr=16384,ea=function(Br,ei){var Ao=1;ei.ext_texture_filter_anisotropic&&(Ao=Br.getParameter(Ca));var so=1,So=1;ei.webgl_draw_buffers&&(so=Br.getParameter(Ma),So=Br.getParameter(za));var To=!!ei.oes_texture_float;if(To){var Fs=Br.createTexture();Br.bindTexture(va,Fs),Br.texImage2D(va,0,mi,1,1,0,mi,Cr,null);var rc=Br.createFramebuffer();if(Br.bindFramebuffer(Lt,rc),Br.framebufferTexture2D(Lt,Ln,va,Fs,0),Br.bindTexture(va,null),Br.checkFramebufferStatus(Lt)!==gn)To=!1;else{Br.viewport(0,0,1,1),Br.clearColor(1,0,0,1),Br.clear(kr);var Ys=jn.allocType(Cr,4);Br.readPixels(0,0,1,1,mi,Cr,Ys),Br.getError()?To=!1:(Br.deleteFramebuffer(rc),Br.deleteTexture(Fs),To=Ys[0]===1),jn.freeType(Ys)}}var qs=typeof navigator!="undefined"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),Qs=!0;if(!qs){var Hc=Br.createTexture(),Oc=jn.allocType(Un,36);Br.activeTexture(Qi),Br.bindTexture(qa,Hc),Br.texImage2D(gi,0,mi,3,3,0,mi,Un,Oc),jn.freeType(Oc),Br.bindTexture(qa,null),Br.deleteTexture(Hc),Qs=!Br.getError()}return{colorBits:[Br.getParameter(zt),Br.getParameter(Bt),Br.getParameter(H),Br.getParameter(ot)],depthBits:Br.getParameter(nt),stencilBits:Br.getParameter(Ct),subpixelBits:Br.getParameter(un),extensions:Object.keys(ei).filter(function(lc){return!!ei[lc]}),maxAnisotropic:Ao,maxDrawbuffers:so,maxColorAttachments:So,pointSizeDims:Br.getParameter(Wt),lineWidthDims:Br.getParameter(kn),maxViewportDims:Br.getParameter(Zn),maxCombinedTextureUnits:Br.getParameter(Zt),maxCubeMapSize:Br.getParameter(Xn),maxRenderbufferSize:Br.getParameter(Kn),maxTextureUnits:Br.getParameter(Gn),maxTextureSize:Br.getParameter(Sn),maxAttributes:Br.getParameter(Or),maxVertexUniforms:Br.getParameter(Yn),maxVertexTextureUnits:Br.getParameter(rr),maxVaryingVectors:Br.getParameter(Nn),maxFragmentUniforms:Br.getParameter(ln),glsl:Br.getParameter(Lr),renderer:Br.getParameter(Hn),vendor:Br.getParameter(fr),version:Br.getParameter(Sa),readFloat:To,npotTextureCube:Qs}};function Qr(_r){return!!_r&&typeof _r=="object"&&Array.isArray(_r.shape)&&Array.isArray(_r.stride)&&typeof _r.offset=="number"&&_r.shape.length===_r.stride.length&&(Array.isArray(_r.data)||E(_r.data))}var Na=function(Br){return Object.keys(Br).map(function(ei){return Br[ei]})},ar={shape:ao,flatten:Ri};function pi(_r,Br,ei){for(var Ao=0;Ao<Br;++Ao)ei[Ao]=_r[Ao]}function _i(_r,Br,ei,Ao){for(var so=0,So=0;So<Br;++So)for(var To=_r[So],Fs=0;Fs<ei;++Fs)Ao[so++]=To[Fs]}function ti(_r,Br,ei,Ao,so,So){for(var To=So,Fs=0;Fs<Br;++Fs)for(var rc=_r[Fs],Ys=0;Ys<ei;++Ys)for(var qs=rc[Ys],Qs=0;Qs<Ao;++Qs)so[To++]=qs[Qs]}function ui(_r,Br,ei,Ao,so){for(var So=1,To=ei+1;To<Br.length;++To)So*=Br[To];var Fs=Br[ei];if(Br.length-ei==4){var rc=Br[ei+1],Ys=Br[ei+2],qs=Br[ei+3];for(To=0;To<Fs;++To)ti(_r[To],rc,Ys,qs,Ao,so),so+=So}else for(To=0;To<Fs;++To)ui(_r[To],Br,ei+1,Ao,so),so+=So}function Ri(_r,Br,ei,Ao){var so=1;if(Br.length)for(var So=0;So<Br.length;++So)so*=Br[So];else so=0;var To=Ao||jn.allocType(ei,so);switch(Br.length){case 0:break;case 1:pi(_r,Br[0],To);break;case 2:_i(_r,Br[0],Br[1],To);break;case 3:ti(_r,Br[0],Br[1],Br[2],To,0);break;default:ui(_r,Br,0,To,0)}return To}function ao(_r){for(var Br=[],ei=_r;ei.length;ei=ei[0])Br.push(ei.length);return Br}var Zi={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},Fi=5120,Si=5122,qi=5124,eo=5121,xo=5123,cs=5125,ba=5126,sa=5126,Da={int8:Fi,int16:Si,int32:qi,uint8:eo,uint16:xo,uint32:cs,float:ba,float32:sa},On=35048,xn=35040,Rt={dynamic:On,stream:xn,static:35044},mr=ar.flatten,ta=ar.shape,ma=35044,Oa=35040,Pn=5121,Kr=5126,Vn=[];Vn[5120]=1,Vn[5122]=2,Vn[5124]=4,Vn[5121]=1,Vn[5123]=2,Vn[5125]=4,Vn[5126]=4;function tr(_r){return Zi[Object.prototype.toString.call(_r)]|0}function Ea(_r,Br){for(var ei=0;ei<Br.length;++ei)_r[ei]=Br[ei]}function Ja(_r,Br,ei,Ao,so,So,To){for(var Fs=0,rc=0;rc<ei;++rc)for(var Ys=0;Ys<Ao;++Ys)_r[Fs++]=Br[so*rc+So*Ys+To]}function go(_r,Br,ei,Ao){var so=0,So={};function To(Ii){this.id=so++,this.buffer=_r.createBuffer(),this.type=Ii,this.usage=ma,this.byteLength=0,this.dimension=1,this.dtype=Pn,this.persistentData=null,ei.profile&&(this.stats={size:0})}To.prototype.bind=function(){_r.bindBuffer(this.type,this.buffer)},To.prototype.destroy=function(){Hc(this)};var Fs=[];function rc(Ii,No){var vc=Fs.pop();return vc||(vc=new To(Ii)),vc.bind(),Qs(vc,No,Oa,0,1,!1),vc}function Ys(Ii){Fs.push(Ii)}function qs(Ii,No,vc){Ii.byteLength=No.byteLength,_r.bufferData(Ii.type,No,vc)}function Qs(Ii,No,vc,kt,Pe,pt){var It;if(Ii.usage=vc,Array.isArray(No)){if(Ii.dtype=kt||Kr,No.length>0){var sn;if(Array.isArray(No[0])){It=ta(No);for(var fn=1,An=1;An<It.length;++An)fn*=It[An];Ii.dimension=fn,sn=mr(No,It,Ii.dtype),qs(Ii,sn,vc),pt?Ii.persistentData=sn:jn.freeType(sn)}else if(typeof No[0]=="number"){Ii.dimension=Pe;var ur=jn.allocType(Ii.dtype,No.length);Ea(ur,No),qs(Ii,ur,vc),pt?Ii.persistentData=ur:jn.freeType(ur)}else E(No[0])?(Ii.dimension=No[0].length,Ii.dtype=kt||tr(No[0])||Kr,sn=mr(No,[No.length,No[0].length],Ii.dtype),qs(Ii,sn,vc),pt?Ii.persistentData=sn:jn.freeType(sn)):Se.raise("invalid buffer data")}}else if(E(No))Ii.dtype=kt||tr(No),Ii.dimension=Pe,qs(Ii,No,vc),pt&&(Ii.persistentData=new Uint8Array(new Uint8Array(No.buffer)));else if(Qr(No)){It=No.shape;var Pr=No.stride,hr=No.offset,ha=0,ya=0,Za=0,to=0;It.length===1?(ha=It[0],ya=1,Za=Pr[0],to=0):It.length===2?(ha=It[0],ya=It[1],Za=Pr[0],to=Pr[1]):Se.raise("invalid shape"),Ii.dtype=kt||tr(No.data)||Kr,Ii.dimension=ya;var Xi=jn.allocType(Ii.dtype,ha*ya);Ja(Xi,No.data,ha,ya,Za,to,hr),qs(Ii,Xi,vc),pt?Ii.persistentData=Xi:jn.freeType(Xi)}else No instanceof ArrayBuffer?(Ii.dtype=Pn,Ii.dimension=Pe,qs(Ii,No,vc),pt&&(Ii.persistentData=new Uint8Array(new Uint8Array(No)))):Se.raise("invalid buffer data")}function Hc(Ii){Br.bufferCount--,Ao(Ii);var No=Ii.buffer;Se(No,"buffer must not be deleted already"),_r.deleteBuffer(No),Ii.buffer=null,delete So[Ii.id]}function Oc(Ii,No,vc,kt){Br.bufferCount++;var Pe=new To(No);So[Pe.id]=Pe;function pt(fn){var An=ma,ur=null,Pr=0,hr=0,ha=1;return Array.isArray(fn)||E(fn)||Qr(fn)||fn instanceof ArrayBuffer?ur=fn:typeof fn=="number"?Pr=fn|0:fn&&(Se.type(fn,"object","buffer arguments must be an object, a number or an array"),"data"in fn&&(Se(ur===null||Array.isArray(ur)||E(ur)||Qr(ur),"invalid data for buffer"),ur=fn.data),"usage"in fn&&(Se.parameter(fn.usage,Rt,"invalid buffer usage"),An=Rt[fn.usage]),"type"in fn&&(Se.parameter(fn.type,Da,"invalid buffer type"),hr=Da[fn.type]),"dimension"in fn&&(Se.type(fn.dimension,"number","invalid dimension"),ha=fn.dimension|0),"length"in fn&&(Se.nni(Pr,"buffer length must be a nonnegative integer"),Pr=fn.length|0)),Pe.bind(),ur?Qs(Pe,ur,An,hr,ha,kt):(Pr&&_r.bufferData(Pe.type,Pr,An),Pe.dtype=hr||Pn,Pe.usage=An,Pe.dimension=ha,Pe.byteLength=Pr),ei.profile&&(Pe.stats.size=Pe.byteLength*Vn[Pe.dtype]),pt}function It(fn,An){Se(An+fn.byteLength<=Pe.byteLength,"invalid buffer subdata call, buffer is too small. Can't write data of size "+fn.byteLength+" starting from offset "+An+" to a buffer of size "+Pe.byteLength),_r.bufferSubData(Pe.type,An,fn)}function sn(fn,An){var ur=(An||0)|0,Pr;if(Pe.bind(),E(fn)||fn instanceof ArrayBuffer)It(fn,ur);else if(Array.isArray(fn)){if(fn.length>0)if(typeof fn[0]=="number"){var hr=jn.allocType(Pe.dtype,fn.length);Ea(hr,fn),It(hr,ur),jn.freeType(hr)}else if(Array.isArray(fn[0])||E(fn[0])){Pr=ta(fn);var ha=mr(fn,Pr,Pe.dtype);It(ha,ur),jn.freeType(ha)}else Se.raise("invalid buffer data")}else if(Qr(fn)){Pr=fn.shape;var ya=fn.stride,Za=0,to=0,Xi=0,ss=0;Pr.length===1?(Za=Pr[0],to=1,Xi=ya[0],ss=0):Pr.length===2?(Za=Pr[0],to=Pr[1],Xi=ya[0],ss=ya[1]):Se.raise("invalid shape");var ts=Array.isArray(fn.data)?Pe.dtype:tr(fn.data),Os=jn.allocType(ts,Za*to);Ja(Os,fn.data,Za,to,Xi,ss,fn.offset),It(Os,ur),jn.freeType(Os)}else Se.raise("invalid data for buffer subdata");return pt}return vc||pt(Ii),pt._reglType="buffer",pt._buffer=Pe,pt.subdata=sn,ei.profile&&(pt.stats=Pe.stats),pt.destroy=function(){Hc(Pe)},pt}function lc(){Na(So).forEach(function(Ii){Ii.buffer=_r.createBuffer(),_r.bindBuffer(Ii.type,Ii.buffer),_r.bufferData(Ii.type,Ii.persistentData||Ii.byteLength,Ii.usage)})}return ei.profile&&(Br.getTotalBufferSize=function(){var Ii=0;return Object.keys(So).forEach(function(No){Ii+=So[No].stats.size}),Ii}),{create:Oc,createStream:rc,destroyStream:Ys,clear:function(){Na(So).forEach(Hc),Fs.forEach(Hc)},getBuffer:function(No){return No&&No._buffer instanceof To?No._buffer:null},restore:lc,_initBuffer:Qs}}var fi=0,lo=0,Oi=1,io=1,Vi=4,vo=4,qo={points:fi,point:lo,lines:Oi,line:io,triangles:Vi,triangle:vo,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},hs=0,$t=1,rt=4,Vt=5120,tn=5121,wn=5122,qn=5123,zn=5124,xr=5125,da=34963,en=35040,Fn=35044;function Jn(_r,Br,ei,Ao){var so={},So=0,To={uint8:tn,uint16:qn};Br.oes_element_index_uint&&(To.uint32=xr);function Fs(lc){this.id=So++,so[this.id]=this,this.buffer=lc,this.primType=rt,this.vertCount=0,this.type=0}Fs.prototype.bind=function(){this.buffer.bind()};var rc=[];function Ys(lc){var Ii=rc.pop();return Ii||(Ii=new Fs(ei.create(null,da,!0,!1)._buffer)),Qs(Ii,lc,en,-1,-1,0,0),Ii}function qs(lc){rc.push(lc)}function Qs(lc,Ii,No,vc,kt,Pe,pt){lc.buffer.bind();var It;if(Ii){var sn=pt;!pt&&(!E(Ii)||Qr(Ii)&&!E(Ii.data))&&(sn=Br.oes_element_index_uint?xr:qn),ei._initBuffer(lc.buffer,Ii,No,sn,3)}else _r.bufferData(da,Pe,No),lc.buffer.dtype=It||tn,lc.buffer.usage=No,lc.buffer.dimension=3,lc.buffer.byteLength=Pe;if(It=pt,!pt){switch(lc.buffer.dtype){case tn:case Vt:It=tn;break;case qn:case wn:It=qn;break;case xr:case zn:It=xr;break;default:Se.raise("unsupported type for element array")}lc.buffer.dtype=It}lc.type=It,Se(It!==xr||!!Br.oes_element_index_uint,"32 bit element buffers not supported, enable oes_element_index_uint first");var fn=kt;fn<0&&(fn=lc.buffer.byteLength,It===qn?fn>>=1:It===xr&&(fn>>=2)),lc.vertCount=fn;var An=vc;if(vc<0){An=rt;var ur=lc.buffer.dimension;ur===1&&(An=hs),ur===2&&(An=$t),ur===3&&(An=rt)}lc.primType=An}function Hc(lc){Ao.elementsCount--,Se(lc.buffer!==null,"must not double destroy elements"),delete so[lc.id],lc.buffer.destroy(),lc.buffer=null}function Oc(lc,Ii){var No=ei.create(null,da,!0),vc=new Fs(No._buffer);Ao.elementsCount++;function kt(Pe){if(!Pe)No(),vc.primType=rt,vc.vertCount=0,vc.type=tn;else if(typeof Pe=="number")No(Pe),vc.primType=rt,vc.vertCount=Pe|0,vc.type=tn;else{var pt=null,It=Fn,sn=-1,fn=-1,An=0,ur=0;Array.isArray(Pe)||E(Pe)||Qr(Pe)?pt=Pe:(Se.type(Pe,"object","invalid arguments for elements"),"data"in Pe&&(pt=Pe.data,Se(Array.isArray(pt)||E(pt)||Qr(pt),"invalid data for element buffer")),"usage"in Pe&&(Se.parameter(Pe.usage,Rt,"invalid element buffer usage"),It=Rt[Pe.usage]),"primitive"in Pe&&(Se.parameter(Pe.primitive,qo,"invalid element buffer primitive"),sn=qo[Pe.primitive]),"count"in Pe&&(Se(typeof Pe.count=="number"&&Pe.count>=0,"invalid vertex count for elements"),fn=Pe.count|0),"type"in Pe&&(Se.parameter(Pe.type,To,"invalid buffer type"),ur=To[Pe.type]),"length"in Pe?An=Pe.length|0:(An=fn,ur===qn||ur===wn?An*=2:(ur===xr||ur===zn)&&(An*=4))),Qs(vc,pt,It,sn,fn,An,ur)}return kt}return kt(lc),kt._reglType="elements",kt._elements=vc,kt.subdata=function(Pe,pt){return No.subdata(Pe,pt),kt},kt.destroy=function(){Hc(vc)},kt}return{create:Oc,createStream:Ys,destroyStream:qs,getElements:function(Ii){return typeof Ii=="function"&&Ii._elements instanceof Fs?Ii._elements:null},clear:function(){Na(so).forEach(Hc)}}}var Ir=new Float32Array(1),Gr=new Uint32Array(Ir.buffer),ga=5123;function Mr(_r){for(var Br=jn.allocType(ga,_r.length),ei=0;ei<_r.length;++ei)if(isNaN(_r[ei]))Br[ei]=65535;else if(_r[ei]===Infinity)Br[ei]=31744;else if(_r[ei]===-Infinity)Br[ei]=64512;else{Ir[0]=_r[ei];var Ao=Gr[0],so=Ao>>>31<<15,So=(Ao<<1>>>24)-127,To=Ao>>13&(1<<10)-1;if(So<-24)Br[ei]=so;else if(So<-14){var Fs=-14-So;Br[ei]=so+(To+(1<<10)>>Fs)}else So>15?Br[ei]=so+31744:Br[ei]=so+(So+15<<10)+To}return Br}function $a(_r){return Array.isArray(_r)||E(_r)}var Ya=function(Br){return!(Br&Br-1)&&!!Br},_o=34467,Ni=3553,ec=34067,ks=34069,jo=6408,Qn=6406,ka=6407,Pa=6409,Qa=6410,Ei=32854,zo=32855,fo=36194,gs=32819,Ks=32820,pc=33635,tc=34042,xc=6402,kc=34041,Ss=35904,Js=35906,Mo=36193,js=33776,Yc=33777,gc=33778,Cl=33779,wl=35986,Wc=35987,nl=34798,Rc=35840,su=35841,Pl=35842,al=35843,Ml=36196,Tl=5121,td=5123,rl=5125,dl=5126,qt=10242,nr=10243,Ur=10497,Yr=33071,ni=33648,vi=10240,zr=10241,wr=9728,Ua=9729,La=9984,Nr=9985,ua=9986,ra=9987,ri=33170,li=4352,hi=4353,ii=4354,Di=34046,Xo=3317,ps=37440,mc=37441,Ts=37443,Ar=37444,Gs=33984,Nc=[La,ua,Nr,ra],Jc=[0,Pa,Qa,ka,jo],Fc={};Fc[Pa]=Fc[Qn]=Fc[xc]=1,Fc[kc]=Fc[Qa]=2,Fc[ka]=Fc[Ss]=3,Fc[jo]=Fc[Js]=4;function Ro(_r){return"[object "+_r+"]"}var Dl=Ro("HTMLCanvasElement"),Vl=Ro("OffscreenCanvas"),hu=Ro("CanvasRenderingContext2D"),ru=Ro("ImageBitmap"),pd=Ro("HTMLImageElement"),ql=Ro("HTMLVideoElement"),Ru=Object.keys(Zi).concat([Dl,Vl,hu,ru,pd,ql]),Hl=[];Hl[Tl]=1,Hl[dl]=4,Hl[Mo]=2,Hl[td]=2,Hl[rl]=4;var fu=[];fu[Ei]=2,fu[zo]=2,fu[fo]=2,fu[kc]=4,fu[js]=.5,fu[Yc]=.5,fu[gc]=1,fu[Cl]=1,fu[wl]=.5,fu[Wc]=1,fu[nl]=1,fu[Rc]=.5,fu[su]=.25,fu[Pl]=.5,fu[al]=.25,fu[Ml]=.5;function nd(_r){return Array.isArray(_r)&&(_r.length===0||typeof _r[0]=="number")}function bd(_r){if(!Array.isArray(_r))return!1;var Br=_r.length;return!(Br===0||!$a(_r[0]))}function ml(_r){return Object.prototype.toString.call(_r)}function os(_r){return ml(_r)===Dl}function wu(_r){return ml(_r)===Vl}function cd(_r){return ml(_r)===hu}function Ud(_r){return ml(_r)===ru}function Eu(_r){return ml(_r)===pd}function El(_r){return ml(_r)===ql}function eu(_r){if(!_r)return!1;var Br=ml(_r);return Ru.indexOf(Br)>=0?!0:nd(_r)||bd(_r)||Qr(_r)}function rd(_r){return Zi[Object.prototype.toString.call(_r)]|0}function yn(_r,Br){var ei=Br.length;switch(_r.type){case Tl:case td:case rl:case dl:var Ao=jn.allocType(_r.type,ei);Ao.set(Br),_r.data=Ao;break;case Mo:_r.data=Mr(Br);break;default:Se.raise("unsupported texture type, must specify a typed array")}}function Dr(_r,Br){return jn.allocType(_r.type===Mo?dl:_r.type,Br)}function Xr(_r,Br){_r.type===Mo?(_r.data=Mr(Br),jn.freeType(Br)):_r.data=Br}function Ta(_r,Br,ei,Ao,so,So){for(var To=_r.width,Fs=_r.height,rc=_r.channels,Ys=To*Fs*rc,qs=Dr(_r,Ys),Qs=0,Hc=0;Hc<Fs;++Hc)for(var Oc=0;Oc<To;++Oc)for(var lc=0;lc<rc;++lc)qs[Qs++]=Br[ei*Oc+Ao*Hc+so*lc+So];Xr(_r,qs)}function Ra(_r,Br,ei,Ao,so,So){var To;if(typeof fu[_r]!="undefined"?To=fu[_r]:To=Fc[_r]*Hl[Br],So&&(To*=6),so){for(var Fs=0,rc=ei;rc>=1;)Fs+=To*rc*rc,rc/=2;return Fs}else return To*ei*Ao}function wi(_r,Br,ei,Ao,so,So,To){var Fs={"don't care":li,"dont care":li,nice:ii,fast:hi},rc={repeat:Ur,clamp:Yr,mirror:ni},Ys={nearest:wr,linear:Ua},qs=m({mipmap:ra,"nearest mipmap nearest":La,"linear mipmap nearest":Nr,"nearest mipmap linear":ua,"linear mipmap linear":ra},Ys),Qs={none:0,browser:Ar},Hc={uint8:Tl,rgba4:gs,rgb565:pc,"rgb5 a1":Ks},Oc={alpha:Qn,luminance:Pa,"luminance alpha":Qa,rgb:ka,rgba:jo,rgba4:Ei,"rgb5 a1":zo,rgb565:fo},lc={};Br.ext_srgb&&(Oc.srgb=Ss,Oc.srgba=Js),Br.oes_texture_float&&(Hc.float32=Hc.float=dl),Br.oes_texture_half_float&&(Hc.float16=Hc["half float"]=Mo),Br.webgl_depth_texture&&(m(Oc,{depth:xc,"depth stencil":kc}),m(Hc,{uint16:td,uint32:rl,"depth stencil":tc})),Br.webgl_compressed_texture_s3tc&&m(lc,{"rgb s3tc dxt1":js,"rgba s3tc dxt1":Yc,"rgba s3tc dxt3":gc,"rgba s3tc dxt5":Cl}),Br.webgl_compressed_texture_atc&&m(lc,{"rgb atc":wl,"rgba atc explicit alpha":Wc,"rgba atc interpolated alpha":nl}),Br.webgl_compressed_texture_pvrtc&&m(lc,{"rgb pvrtc 4bppv1":Rc,"rgb pvrtc 2bppv1":su,"rgba pvrtc 4bppv1":Pl,"rgba pvrtc 2bppv1":al}),Br.webgl_compressed_texture_etc1&&(lc["rgb etc1"]=Ml);var Ii=Array.prototype.slice.call(_r.getParameter(_o));Object.keys(lc).forEach(function(oi){var rs=lc[oi];Ii.indexOf(rs)>=0&&(Oc[oi]=rs)});var No=Object.keys(Oc);ei.textureFormats=No;var vc=[];Object.keys(Oc).forEach(function(oi){var rs=Oc[oi];vc[rs]=oi});var kt=[];Object.keys(Hc).forEach(function(oi){var rs=Hc[oi];kt[rs]=oi});var Pe=[];Object.keys(Ys).forEach(function(oi){var rs=Ys[oi];Pe[rs]=oi});var pt=[];Object.keys(qs).forEach(function(oi){var rs=qs[oi];pt[rs]=oi});var It=[];Object.keys(rc).forEach(function(oi){var rs=rc[oi];It[rs]=oi});var sn=No.reduce(function(oi,rs){var Vo=Oc[rs];return Vo===Pa||Vo===Qn||Vo===Pa||Vo===Qa||Vo===xc||Vo===kc||Br.ext_srgb&&(Vo===Ss||Vo===Js)?oi[Vo]=Vo:Vo===zo||rs.indexOf("rgba")>=0?oi[Vo]=jo:oi[Vo]=ka,oi},{});function fn(){this.internalformat=jo,this.format=jo,this.type=Tl,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=Ar,this.width=0,this.height=0,this.channels=0}function An(oi,rs){oi.internalformat=rs.internalformat,oi.format=rs.format,oi.type=rs.type,oi.compressed=rs.compressed,oi.premultiplyAlpha=rs.premultiplyAlpha,oi.flipY=rs.flipY,oi.unpackAlignment=rs.unpackAlignment,oi.colorSpace=rs.colorSpace,oi.width=rs.width,oi.height=rs.height,oi.channels=rs.channels}function ur(oi,rs){if(!(typeof rs!="object"||!rs)){if("premultiplyAlpha"in rs&&(Se.type(rs.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),oi.premultiplyAlpha=rs.premultiplyAlpha),"flipY"in rs&&(Se.type(rs.flipY,"boolean","invalid texture flip"),oi.flipY=rs.flipY),"alignment"in rs&&(Se.oneOf(rs.alignment,[1,2,4,8],"invalid texture unpack alignment"),oi.unpackAlignment=rs.alignment),"colorSpace"in rs&&(Se.parameter(rs.colorSpace,Qs,"invalid colorSpace"),oi.colorSpace=Qs[rs.colorSpace]),"type"in rs){var Vo=rs.type;Se(Br.oes_texture_float||!(Vo==="float"||Vo==="float32"),"you must enable the OES_texture_float extension in order to use floating point textures."),Se(Br.oes_texture_half_float||!(Vo==="half float"||Vo==="float16"),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),Se(Br.webgl_depth_texture||!(Vo==="uint16"||Vo==="uint32"||Vo==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),Se.parameter(Vo,Hc,"invalid texture type"),oi.type=Hc[Vo]}var ul=oi.width,xu=oi.height,Ka=oi.channels,wa=!1;"shape"in rs?(Se(Array.isArray(rs.shape)&&rs.shape.length>=2,"shape must be an array"),ul=rs.shape[0],xu=rs.shape[1],rs.shape.length===3&&(Ka=rs.shape[2],Se(Ka>0&&Ka<=4,"invalid number of channels"),wa=!0),Se(ul>=0&&ul<=ei.maxTextureSize,"invalid width"),Se(xu>=0&&xu<=ei.maxTextureSize,"invalid height")):("radius"in rs&&(ul=xu=rs.radius,Se(ul>=0&&ul<=ei.maxTextureSize,"invalid radius")),"width"in rs&&(ul=rs.width,Se(ul>=0&&ul<=ei.maxTextureSize,"invalid width")),"height"in rs&&(xu=rs.height,Se(xu>=0&&xu<=ei.maxTextureSize,"invalid height")),"channels"in rs&&(Ka=rs.channels,Se(Ka>0&&Ka<=4,"invalid number of channels"),wa=!0)),oi.width=ul|0,oi.height=xu|0,oi.channels=Ka|0;var Ai=!1;if("format"in rs){var Ti=rs.format;Se(Br.webgl_depth_texture||!(Ti==="depth"||Ti==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),Se.parameter(Ti,Oc,"invalid texture format");var bo=oi.internalformat=Oc[Ti];oi.format=sn[bo],Ti in Hc&&("type"in rs||(oi.type=Hc[Ti])),Ti in lc&&(oi.compressed=!0),Ai=!0}!wa&&Ai?oi.channels=Fc[oi.format]:wa&&!Ai?oi.channels!==Jc[oi.format]&&(oi.format=oi.internalformat=Jc[oi.channels]):Ai&&wa&&Se(oi.channels===Fc[oi.format],"number of channels inconsistent with specified format")}}function Pr(oi){_r.pixelStorei(ps,oi.flipY),_r.pixelStorei(mc,oi.premultiplyAlpha),_r.pixelStorei(Ts,oi.colorSpace),_r.pixelStorei(Xo,oi.unpackAlignment)}function hr(){fn.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function ha(oi,rs){var Vo=null;if(eu(rs)?Vo=rs:rs&&(Se.type(rs,"object","invalid pixel data type"),ur(oi,rs),"x"in rs&&(oi.xOffset=rs.x|0),"y"in rs&&(oi.yOffset=rs.y|0),eu(rs.data)&&(Vo=rs.data)),Se(!oi.compressed||Vo instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),rs.copy){Se(!Vo,"can not specify copy and data field for the same texture");var ul=so.viewportWidth,xu=so.viewportHeight;oi.width=oi.width||ul-oi.xOffset,oi.height=oi.height||xu-oi.yOffset,oi.needsCopy=!0,Se(oi.xOffset>=0&&oi.xOffset<ul&&oi.yOffset>=0&&oi.yOffset<xu&&oi.width>0&&oi.width<=ul&&oi.height>0&&oi.height<=xu,"copy texture read out of bounds")}else if(!Vo)oi.width=oi.width||1,oi.height=oi.height||1,oi.channels=oi.channels||4;else if(E(Vo))oi.channels=oi.channels||4,oi.data=Vo,!("type"in rs)&&oi.type===Tl&&(oi.type=rd(Vo));else if(nd(Vo))oi.channels=oi.channels||4,yn(oi,Vo),oi.alignment=1,oi.needsFree=!0;else if(Qr(Vo)){var Ka=Vo.data;!Array.isArray(Ka)&&oi.type===Tl&&(oi.type=rd(Ka));var wa=Vo.shape,Ai=Vo.stride,Ti,bo,Hi,ki,oo,Wa;wa.length===3?(Hi=wa[2],Wa=Ai[2]):(Se(wa.length===2,"invalid ndarray pixel data, must be 2 or 3D"),Hi=1,Wa=1),Ti=wa[0],bo=wa[1],ki=Ai[0],oo=Ai[1],oi.alignment=1,oi.width=Ti,oi.height=bo,oi.channels=Hi,oi.format=oi.internalformat=Jc[Hi],oi.needsFree=!0,Ta(oi,Ka,ki,oo,Wa,Vo.offset)}else if(os(Vo)||wu(Vo)||cd(Vo))os(Vo)||wu(Vo)?oi.element=Vo:oi.element=Vo.canvas,oi.width=oi.element.width,oi.height=oi.element.height,oi.channels=4;else if(Ud(Vo))oi.element=Vo,oi.width=Vo.width,oi.height=Vo.height,oi.channels=4;else if(Eu(Vo))oi.element=Vo,oi.width=Vo.naturalWidth,oi.height=Vo.naturalHeight,oi.channels=4;else if(El(Vo))oi.element=Vo,oi.width=Vo.videoWidth,oi.height=Vo.videoHeight,oi.channels=4;else if(bd(Vo)){var bi=oi.width||Vo[0].length,Ba=oi.height||Vo.length,Gi=oi.channels;$a(Vo[0][0])?Gi=Gi||Vo[0][0].length:Gi=Gi||1;for(var Do=ar.shape(Vo),Ps=1,zs=0;zs<Do.length;++zs)Ps*=Do[zs];var vs=Dr(oi,Ps);ar.flatten(Vo,Do,"",vs),Xr(oi,vs),oi.alignment=1,oi.width=bi,oi.height=Ba,oi.channels=Gi,oi.format=oi.internalformat=Jc[Gi],oi.needsFree=!0}oi.type===dl?Se(ei.extensions.indexOf("oes_texture_float")>=0,"oes_texture_float extension not enabled"):oi.type===Mo&&Se(ei.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function ya(oi,rs,Vo){var ul=oi.element,xu=oi.data,Ka=oi.internalformat,wa=oi.format,Ai=oi.type,Ti=oi.width,bo=oi.height;Pr(oi),ul?_r.texImage2D(rs,Vo,wa,wa,Ai,ul):oi.compressed?_r.compressedTexImage2D(rs,Vo,Ka,Ti,bo,0,xu):oi.needsCopy?(Ao(),_r.copyTexImage2D(rs,Vo,wa,oi.xOffset,oi.yOffset,Ti,bo,0)):_r.texImage2D(rs,Vo,wa,Ti,bo,0,wa,Ai,xu||null)}function Za(oi,rs,Vo,ul,xu){var Ka=oi.element,wa=oi.data,Ai=oi.internalformat,Ti=oi.format,bo=oi.type,Hi=oi.width,ki=oi.height;Pr(oi),Ka?_r.texSubImage2D(rs,xu,Vo,ul,Ti,bo,Ka):oi.compressed?_r.compressedTexSubImage2D(rs,xu,Vo,ul,Ai,Hi,ki,wa):oi.needsCopy?(Ao(),_r.copyTexSubImage2D(rs,xu,Vo,ul,oi.xOffset,oi.yOffset,Hi,ki)):_r.texSubImage2D(rs,xu,Vo,ul,Hi,ki,Ti,bo,wa)}var to=[];function Xi(){return to.pop()||new hr}function ss(oi){oi.needsFree&&jn.freeType(oi.data),hr.call(oi),to.push(oi)}function ts(){fn.call(this),this.genMipmaps=!1,this.mipmapHint=li,this.mipmask=0,this.images=Array(16)}function Os(oi,rs,Vo){var ul=oi.images[0]=Xi();oi.mipmask=1,ul.width=oi.width=rs,ul.height=oi.height=Vo,ul.channels=oi.channels=4}function ac(oi,rs){var Vo=null;if(eu(rs))Vo=oi.images[0]=Xi(),An(Vo,oi),ha(Vo,rs),oi.mipmask=1;else if(ur(oi,rs),Array.isArray(rs.mipmap))for(var ul=rs.mipmap,xu=0;xu<ul.length;++xu)Vo=oi.images[xu]=Xi(),An(Vo,oi),Vo.width>>=xu,Vo.height>>=xu,ha(Vo,ul[xu]),oi.mipmask|=1<<xu;else Vo=oi.images[0]=Xi(),An(Vo,oi),ha(Vo,rs),oi.mipmask=1;An(oi,oi.images[0]),oi.compressed&&(oi.internalformat===js||oi.internalformat===Yc||oi.internalformat===gc||oi.internalformat===Cl)&&Se(oi.width%4==0&&oi.height%4==0,"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4")}function Ll(oi,rs){for(var Vo=oi.images,ul=0;ul<Vo.length;++ul){if(!Vo[ul])return;ya(Vo[ul],rs,ul)}}var nu=[];function tl(){var oi=nu.pop()||new ts;fn.call(oi),oi.mipmask=0;for(var rs=0;rs<16;++rs)oi.images[rs]=null;return oi}function iu(oi){for(var rs=oi.images,Vo=0;Vo<rs.length;++Vo)rs[Vo]&&ss(rs[Vo]),rs[Vo]=null;nu.push(oi)}function sd(){this.minFilter=wr,this.magFilter=wr,this.wrapS=Yr,this.wrapT=Yr,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=li}function md(oi,rs){if("min"in rs){var Vo=rs.min;Se.parameter(Vo,qs),oi.minFilter=qs[Vo],Nc.indexOf(oi.minFilter)>=0&&!("faces"in rs)&&(oi.genMipmaps=!0)}if("mag"in rs){var ul=rs.mag;Se.parameter(ul,Ys),oi.magFilter=Ys[ul]}var xu=oi.wrapS,Ka=oi.wrapT;if("wrap"in rs){var wa=rs.wrap;typeof wa=="string"?(Se.parameter(wa,rc),xu=Ka=rc[wa]):Array.isArray(wa)&&(Se.parameter(wa[0],rc),Se.parameter(wa[1],rc),xu=rc[wa[0]],Ka=rc[wa[1]])}else{if("wrapS"in rs){var Ai=rs.wrapS;Se.parameter(Ai,rc),xu=rc[Ai]}if("wrapT"in rs){var Ti=rs.wrapT;Se.parameter(Ti,rc),Ka=rc[Ti]}}if(oi.wrapS=xu,oi.wrapT=Ka,"anisotropic"in rs){var bo=rs.anisotropic;Se(typeof bo=="number"&&bo>=1&&bo<=ei.maxAnisotropic,"aniso samples must be between 1 and "),oi.anisotropic=rs.anisotropic}if("mipmap"in rs){var Hi=!1;switch(typeof rs.mipmap){case"string":Se.parameter(rs.mipmap,Fs,"invalid mipmap hint"),oi.mipmapHint=Fs[rs.mipmap],oi.genMipmaps=!0,Hi=!0;break;case"boolean":Hi=oi.genMipmaps=rs.mipmap;break;case"object":Se(Array.isArray(rs.mipmap),"invalid mipmap type"),oi.genMipmaps=!1,Hi=!0;break;default:Se.raise("invalid mipmap type")}Hi&&!("min"in rs)&&(oi.minFilter=La)}}function dd(oi,rs){_r.texParameteri(rs,zr,oi.minFilter),_r.texParameteri(rs,vi,oi.magFilter),_r.texParameteri(rs,qt,oi.wrapS),_r.texParameteri(rs,nr,oi.wrapT),Br.ext_texture_filter_anisotropic&&_r.texParameteri(rs,Di,oi.anisotropic),oi.genMipmaps&&(_r.hint(ri,oi.mipmapHint),_r.generateMipmap(rs))}var Xl=0,vd={},ff=ei.maxTextureUnits,Zd=Array(ff).map(function(){return null});function Zl(oi){fn.call(this),this.mipmask=0,this.internalformat=jo,this.id=Xl++,this.refCount=1,this.target=oi,this.texture=_r.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new sd,To.profile&&(this.stats={size:0})}function wf(oi){_r.activeTexture(Gs),_r.bindTexture(oi.target,oi.texture)}function Wd(){var oi=Zd[0];oi?_r.bindTexture(oi.target,oi.texture):_r.bindTexture(Ni,null)}function Al(oi){var rs=oi.texture;Se(rs,"must not double destroy texture");var Vo=oi.unit,ul=oi.target;Vo>=0&&(_r.activeTexture(Gs+Vo),_r.bindTexture(ul,null),Zd[Vo]=null),_r.deleteTexture(rs),oi.texture=null,oi.params=null,oi.pixels=null,oi.refCount=0,delete vd[oi.id],So.textureCount--}m(Zl.prototype,{bind:function(){var rs=this;rs.bindCount+=1;var Vo=rs.unit;if(Vo<0){for(var ul=0;ul<ff;++ul){var xu=Zd[ul];if(xu){if(xu.bindCount>0)continue;xu.unit=-1}Zd[ul]=rs,Vo=ul;break}Vo>=ff&&Se.raise("insufficient number of texture units"),To.profile&&So.maxTextureUnits<Vo+1&&(So.maxTextureUnits=Vo+1),rs.unit=Vo,_r.activeTexture(Gs+Vo),_r.bindTexture(rs.target,rs.texture)}return Vo},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Al(this)}});function Jl(oi,rs){var Vo=new Zl(Ni);vd[Vo.id]=Vo,So.textureCount++;function ul(wa,Ai){var Ti=Vo.texInfo;sd.call(Ti);var bo=tl();return typeof wa=="number"?typeof Ai=="number"?Os(bo,wa|0,Ai|0):Os(bo,wa|0,wa|0):wa?(Se.type(wa,"object","invalid arguments to regl.texture"),md(Ti,wa),ac(bo,wa)):Os(bo,1,1),Ti.genMipmaps&&(bo.mipmask=(bo.width<<1)-1),Vo.mipmask=bo.mipmask,An(Vo,bo),Se.texture2D(Ti,bo,ei),Vo.internalformat=bo.internalformat,ul.width=bo.width,ul.height=bo.height,wf(Vo),Ll(bo,Ni),dd(Ti,Ni),Wd(),iu(bo),To.profile&&(Vo.stats.size=Ra(Vo.internalformat,Vo.type,bo.width,bo.height,Ti.genMipmaps,!1)),ul.format=vc[Vo.internalformat],ul.type=kt[Vo.type],ul.mag=Pe[Ti.magFilter],ul.min=pt[Ti.minFilter],ul.wrapS=It[Ti.wrapS],ul.wrapT=It[Ti.wrapT],ul}function xu(wa,Ai,Ti,bo){Se(!!wa,"must specify image data");var Hi=Ai|0,ki=Ti|0,oo=bo|0,Wa=Xi();return An(Wa,Vo),Wa.width=0,Wa.height=0,ha(Wa,wa),Wa.width=Wa.width||(Vo.width>>oo)-Hi,Wa.height=Wa.height||(Vo.height>>oo)-ki,Se(Vo.type===Wa.type&&Vo.format===Wa.format&&Vo.internalformat===Wa.internalformat,"incompatible format for texture.subimage"),Se(Hi>=0&&ki>=0&&Hi+Wa.width<=Vo.width&&ki+Wa.height<=Vo.height,"texture.subimage write out of bounds"),Se(Vo.mipmask&1<<oo,"missing mipmap data"),Se(Wa.data||Wa.element||Wa.needsCopy,"missing image data"),wf(Vo),Za(Wa,Ni,Hi,ki,oo),Wd(),ss(Wa),ul}function Ka(wa,Ai){var Ti=wa|0,bo=Ai|0||Ti;if(Ti===Vo.width&&bo===Vo.height)return ul;ul.width=Vo.width=Ti,ul.height=Vo.height=bo,wf(Vo);for(var Hi=0;Vo.mipmask>>Hi;++Hi){var ki=Ti>>Hi,oo=bo>>Hi;if(!ki||!oo)break;_r.texImage2D(Ni,Hi,Vo.format,ki,oo,0,Vo.format,Vo.type,null)}return Wd(),To.profile&&(Vo.stats.size=Ra(Vo.internalformat,Vo.type,Ti,bo,!1,!1)),ul}return ul(oi,rs),ul.subimage=xu,ul.resize=Ka,ul._reglType="texture2d",ul._texture=Vo,To.profile&&(ul.stats=Vo.stats),ul.destroy=function(){Vo.decRef()},ul}function mu(oi,rs,Vo,ul,xu,Ka){var wa=new Zl(ec);vd[wa.id]=wa,So.cubeCount++;var Ai=new Array(6);function Ti(ki,oo,Wa,bi,Ba,Gi){var Do,Ps=wa.texInfo;for(sd.call(Ps),Do=0;Do<6;++Do)Ai[Do]=tl();if(typeof ki=="number"||!ki){var zs=ki|0||1;for(Do=0;Do<6;++Do)Os(Ai[Do],zs,zs)}else if(typeof ki=="object")if(oo)ac(Ai[0],ki),ac(Ai[1],oo),ac(Ai[2],Wa),ac(Ai[3],bi),ac(Ai[4],Ba),ac(Ai[5],Gi);else if(md(Ps,ki),ur(wa,ki),"faces"in ki){var vs=ki.faces;for(Se(Array.isArray(vs)&&vs.length===6,"cube faces must be a length 6 array"),Do=0;Do<6;++Do)Se(typeof vs[Do]=="object"&&!!vs[Do],"invalid input for cube map face"),An(Ai[Do],wa),ac(Ai[Do],vs[Do])}else for(Do=0;Do<6;++Do)ac(Ai[Do],ki);else Se.raise("invalid arguments to cube map");for(An(wa,Ai[0]),ei.npotTextureCube||Se(Ya(wa.width)&&Ya(wa.height),"your browser does not support non power or two texture dimensions"),Ps.genMipmaps?wa.mipmask=(Ai[0].width<<1)-1:wa.mipmask=Ai[0].mipmask,Se.textureCube(wa,Ps,Ai,ei),wa.internalformat=Ai[0].internalformat,Ti.width=Ai[0].width,Ti.height=Ai[0].height,wf(wa),Do=0;Do<6;++Do)Ll(Ai[Do],ks+Do);for(dd(Ps,ec),Wd(),To.profile&&(wa.stats.size=Ra(wa.internalformat,wa.type,Ti.width,Ti.height,Ps.genMipmaps,!0)),Ti.format=vc[wa.internalformat],Ti.type=kt[wa.type],Ti.mag=Pe[Ps.magFilter],Ti.min=pt[Ps.minFilter],Ti.wrapS=It[Ps.wrapS],Ti.wrapT=It[Ps.wrapT],Do=0;Do<6;++Do)iu(Ai[Do]);return Ti}function bo(ki,oo,Wa,bi,Ba){Se(!!oo,"must specify image data"),Se(typeof ki=="number"&&ki===(ki|0)&&ki>=0&&ki<6,"invalid face");var Gi=Wa|0,Do=bi|0,Ps=Ba|0,zs=Xi();return An(zs,wa),zs.width=0,zs.height=0,ha(zs,oo),zs.width=zs.width||(wa.width>>Ps)-Gi,zs.height=zs.height||(wa.height>>Ps)-Do,Se(wa.type===zs.type&&wa.format===zs.format&&wa.internalformat===zs.internalformat,"incompatible format for texture.subimage"),Se(Gi>=0&&Do>=0&&Gi+zs.width<=wa.width&&Do+zs.height<=wa.height,"texture.subimage write out of bounds"),Se(wa.mipmask&1<<Ps,"missing mipmap data"),Se(zs.data||zs.element||zs.needsCopy,"missing image data"),wf(wa),Za(zs,ks+ki,Gi,Do,Ps),Wd(),ss(zs),Ti}function Hi(ki){var oo=ki|0;if(oo!==wa.width){Ti.width=wa.width=oo,Ti.height=wa.height=oo,wf(wa);for(var Wa=0;Wa<6;++Wa)for(var bi=0;wa.mipmask>>bi;++bi)_r.texImage2D(ks+Wa,bi,wa.format,oo>>bi,oo>>bi,0,wa.format,wa.type,null);return Wd(),To.profile&&(wa.stats.size=Ra(wa.internalformat,wa.type,Ti.width,Ti.height,!1,!0)),Ti}}return Ti(oi,rs,Vo,ul,xu,Ka),Ti.subimage=bo,Ti.resize=Hi,Ti._reglType="textureCube",Ti._texture=wa,To.profile&&(Ti.stats=wa.stats),Ti.destroy=function(){wa.decRef()},Ti}function gp(){for(var oi=0;oi<ff;++oi)_r.activeTexture(Gs+oi),_r.bindTexture(Ni,null),Zd[oi]=null;Na(vd).forEach(Al),So.cubeCount=0,So.textureCount=0}To.profile&&(So.getTotalTextureSize=function(){var oi=0;return Object.keys(vd).forEach(function(rs){oi+=vd[rs].stats.size}),oi});function jv(){for(var oi=0;oi<ff;++oi){var rs=Zd[oi];rs&&(rs.bindCount=0,rs.unit=-1,Zd[oi]=null)}Na(vd).forEach(function(Vo){Vo.texture=_r.createTexture(),_r.bindTexture(Vo.target,Vo.texture);for(var ul=0;ul<32;++ul)if((Vo.mipmask&1<<ul)!=0)if(Vo.target===Ni)_r.texImage2D(Ni,ul,Vo.internalformat,Vo.width>>ul,Vo.height>>ul,0,Vo.internalformat,Vo.type,null);else for(var xu=0;xu<6;++xu)_r.texImage2D(ks+xu,ul,Vo.internalformat,Vo.width>>ul,Vo.height>>ul,0,Vo.internalformat,Vo.type,null);dd(Vo.texInfo,Vo.target)})}function Vv(){for(var oi=0;oi<ff;++oi){var rs=Zd[oi];rs&&(rs.bindCount=0,rs.unit=-1,Zd[oi]=null),_r.activeTexture(Gs+oi),_r.bindTexture(Ni,null),_r.bindTexture(ec,null)}}return{create2D:Jl,createCube:mu,clear:gp,getTexture:function(rs){return null},restore:jv,refresh:Vv}}var mo=36161,Yi=32854,Ji=32855,Vs=36194,Jo=33189,dn=36168,pn=34041,sr=35907,lr=34836,_a=34842,Fa=34843,Va=[];Va[Yi]=2,Va[Ji]=2,Va[Vs]=2,Va[Jo]=2,Va[dn]=1,Va[pn]=4,Va[sr]=4,Va[lr]=16,Va[_a]=8,Va[Fa]=6;function di(_r,Br,ei){return Va[_r]*Br*ei}var Ci=function(Br,ei,Ao,so,So){var To={rgba4:Yi,rgb565:Vs,"rgb5 a1":Ji,depth:Jo,stencil:dn,"depth stencil":pn};ei.ext_srgb&&(To.srgba=sr),ei.ext_color_buffer_half_float&&(To.rgba16f=_a,To.rgb16f=Fa),ei.webgl_color_buffer_float&&(To.rgba32f=lr);var Fs=[];Object.keys(To).forEach(function(lc){var Ii=To[lc];Fs[Ii]=lc});var rc=0,Ys={};function qs(lc){this.id=rc++,this.refCount=1,this.renderbuffer=lc,this.format=Yi,this.width=0,this.height=0,So.profile&&(this.stats={size:0})}qs.prototype.decRef=function(){--this.refCount<=0&&Qs(this)};function Qs(lc){var Ii=lc.renderbuffer;Se(Ii,"must not double destroy renderbuffer"),Br.bindRenderbuffer(mo,null),Br.deleteRenderbuffer(Ii),lc.renderbuffer=null,lc.refCount=0,delete Ys[lc.id],so.renderbufferCount--}function Hc(lc,Ii){var No=new qs(Br.createRenderbuffer());Ys[No.id]=No,so.renderbufferCount++;function vc(Pe,pt){var It=0,sn=0,fn=Yi;if(typeof Pe=="object"&&Pe){var An=Pe;if("shape"in An){var ur=An.shape;Se(Array.isArray(ur)&&ur.length>=2,"invalid renderbuffer shape"),It=ur[0]|0,sn=ur[1]|0}else"radius"in An&&(It=sn=An.radius|0),"width"in An&&(It=An.width|0),"height"in An&&(sn=An.height|0);"format"in An&&(Se.parameter(An.format,To,"invalid renderbuffer format"),fn=To[An.format])}else typeof Pe=="number"?(It=Pe|0,typeof pt=="number"?sn=pt|0:sn=It):Pe?Se.raise("invalid arguments to renderbuffer constructor"):It=sn=1;if(Se(It>0&&sn>0&&It<=Ao.maxRenderbufferSize&&sn<=Ao.maxRenderbufferSize,"invalid renderbuffer size"),!(It===No.width&&sn===No.height&&fn===No.format))return vc.width=No.width=It,vc.height=No.height=sn,No.format=fn,Br.bindRenderbuffer(mo,No.renderbuffer),Br.renderbufferStorage(mo,fn,It,sn),Se(Br.getError()===0,"invalid render buffer format"),So.profile&&(No.stats.size=di(No.format,No.width,No.height)),vc.format=Fs[No.format],vc}function kt(Pe,pt){var It=Pe|0,sn=pt|0||It;return It===No.width&&sn===No.height||(Se(It>0&&sn>0&&It<=Ao.maxRenderbufferSize&&sn<=Ao.maxRenderbufferSize,"invalid renderbuffer size"),vc.width=No.width=It,vc.height=No.height=sn,Br.bindRenderbuffer(mo,No.renderbuffer),Br.renderbufferStorage(mo,No.format,It,sn),Se(Br.getError()===0,"invalid render buffer format"),So.profile&&(No.stats.size=di(No.format,No.width,No.height))),vc}return vc(lc,Ii),vc.resize=kt,vc._reglType="renderbuffer",vc._renderbuffer=No,So.profile&&(vc.stats=No.stats),vc.destroy=function(){No.decRef()},vc}So.profile&&(so.getTotalRenderbufferSize=function(){var lc=0;return Object.keys(Ys).forEach(function(Ii){lc+=Ys[Ii].stats.size}),lc});function Oc(){Na(Ys).forEach(function(lc){lc.renderbuffer=Br.createRenderbuffer(),Br.bindRenderbuffer(mo,lc.renderbuffer),Br.renderbufferStorage(mo,lc.format,lc.width,lc.height)}),Br.bindRenderbuffer(mo,null)}return{create:Hc,clear:function(){Na(Ys).forEach(Qs)},restore:Oc}},wo=36160,ho=36161,Io=3553,Fo=34069,xs=36064,ms=36096,ys=36128,bs=33306,Po=36053,yr=36054,Ls=36055,Zs=36057,Sc=36061,Hs=36193,bc=5121,cr=5126,qr=6407,yi=6408,Ki=6402,uo=[qr,yi],As=[];As[yi]=4,As[qr]=3;var zc=[];zc[bc]=1,zc[cr]=4,zc[Hs]=2;var cc=32854,fl=32855,Bc=36194,Gl=33189,Fl=36168,pl=34041,gu=35907,bl=34836,tu=34842,hl=34843,ju=[cc,fl,Bc,gu,tu,hl,bl],il={};il[Po]="complete",il[yr]="incomplete attachment",il[Zs]="incomplete dimensions",il[Ls]="incomplete, missing attachment",il[Sc]="unsupported";function Mu(_r,Br,ei,Ao,so,So){var To={cur:null,next:null,dirty:!1,setFBO:null},Fs=["rgba"],rc=["rgba4","rgb565","rgb5 a1"];Br.ext_srgb&&rc.push("srgba"),Br.ext_color_buffer_half_float&&rc.push("rgba16f","rgb16f"),Br.webgl_color_buffer_float&&rc.push("rgba32f");var Ys=["uint8"];Br.oes_texture_half_float&&Ys.push("half float","float16"),Br.oes_texture_float&&Ys.push("float","float32");function qs(hr,ha,ya){this.target=hr,this.texture=ha,this.renderbuffer=ya;var Za=0,to=0;ha?(Za=ha.width,to=ha.height):ya&&(Za=ya.width,to=ya.height),this.width=Za,this.height=to}function Qs(hr){hr&&(hr.texture&&hr.texture._texture.decRef(),hr.renderbuffer&&hr.renderbuffer._renderbuffer.decRef())}function Hc(hr,ha,ya){if(!!hr)if(hr.texture){var Za=hr.texture._texture,to=Math.max(1,Za.width),Xi=Math.max(1,Za.height);Se(to===ha&&Xi===ya,"inconsistent width/height for supplied texture"),Za.refCount+=1}else{var ss=hr.renderbuffer._renderbuffer;Se(ss.width===ha&&ss.height===ya,"inconsistent width/height for renderbuffer"),ss.refCount+=1}}function Oc(hr,ha){ha&&(ha.texture?_r.framebufferTexture2D(wo,hr,ha.target,ha.texture._texture.texture,0):_r.framebufferRenderbuffer(wo,hr,ho,ha.renderbuffer._renderbuffer.renderbuffer))}function lc(hr){var ha=Io,ya=null,Za=null,to=hr;typeof hr=="object"&&(to=hr.data,"target"in hr&&(ha=hr.target|0)),Se.type(to,"function","invalid attachment data");var Xi=to._reglType;return Xi==="texture2d"?(ya=to,Se(ha===Io)):Xi==="textureCube"?(ya=to,Se(ha>=Fo&&ha<Fo+6,"invalid cube map target")):Xi==="renderbuffer"?(Za=to,ha=ho):Se.raise("invalid regl object for attachment"),new qs(ha,ya,Za)}function Ii(hr,ha,ya,Za,to){if(ya){var Xi=Ao.create2D({width:hr,height:ha,format:Za,type:to});return Xi._texture.refCount=0,new qs(Io,Xi,null)}else{var ss=so.create({width:hr,height:ha,format:Za});return ss._renderbuffer.refCount=0,new qs(ho,null,ss)}}function No(hr){return hr&&(hr.texture||hr.renderbuffer)}function vc(hr,ha,ya){hr&&(hr.texture?hr.texture.resize(ha,ya):hr.renderbuffer&&hr.renderbuffer.resize(ha,ya),hr.width=ha,hr.height=ya)}var kt=0,Pe={};function pt(){this.id=kt++,Pe[this.id]=this,this.framebuffer=_r.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function It(hr){hr.colorAttachments.forEach(Qs),Qs(hr.depthAttachment),Qs(hr.stencilAttachment),Qs(hr.depthStencilAttachment)}function sn(hr){var ha=hr.framebuffer;Se(ha,"must not double destroy framebuffer"),_r.deleteFramebuffer(ha),hr.framebuffer=null,So.framebufferCount--,delete Pe[hr.id]}function fn(hr){var ha;_r.bindFramebuffer(wo,hr.framebuffer);var ya=hr.colorAttachments;for(ha=0;ha<ya.length;++ha)Oc(xs+ha,ya[ha]);for(ha=ya.length;ha<ei.maxColorAttachments;++ha)_r.framebufferTexture2D(wo,xs+ha,Io,null,0);_r.framebufferTexture2D(wo,bs,Io,null,0),_r.framebufferTexture2D(wo,ms,Io,null,0),_r.framebufferTexture2D(wo,ys,Io,null,0),Oc(ms,hr.depthAttachment),Oc(ys,hr.stencilAttachment),Oc(bs,hr.depthStencilAttachment);var Za=_r.checkFramebufferStatus(wo);!_r.isContextLost()&&Za!==Po&&Se.raise("framebuffer configuration not supported, status = "+il[Za]),_r.bindFramebuffer(wo,To.next?To.next.framebuffer:null),To.cur=To.next,_r.getError()}function An(hr,ha){var ya=new pt;So.framebufferCount++;function Za(Xi,ss){var ts;Se(To.next!==ya,"can not update framebuffer which is currently in use");var Os=0,ac=0,Ll=!0,nu=!0,tl=null,iu=!0,sd="rgba",md="uint8",dd=1,Xl=null,vd=null,ff=null,Zd=!1;if(typeof Xi=="number")Os=Xi|0,ac=ss|0||Os;else if(!Xi)Os=ac=1;else{Se.type(Xi,"object","invalid arguments for framebuffer");var Zl=Xi;if("shape"in Zl){var wf=Zl.shape;Se(Array.isArray(wf)&&wf.length>=2,"invalid shape for framebuffer"),Os=wf[0],ac=wf[1]}else"radius"in Zl&&(Os=ac=Zl.radius),"width"in Zl&&(Os=Zl.width),"height"in Zl&&(ac=Zl.height);("color"in Zl||"colors"in Zl)&&(tl=Zl.color||Zl.colors,Array.isArray(tl)&&Se(tl.length===1||Br.webgl_draw_buffers,"multiple render targets not supported")),tl||("colorCount"in Zl&&(dd=Zl.colorCount|0,Se(dd>0,"invalid color buffer count")),"colorTexture"in Zl&&(iu=!!Zl.colorTexture,sd="rgba4"),"colorType"in Zl&&(md=Zl.colorType,iu?(Se(Br.oes_texture_float||!(md==="float"||md==="float32"),"you must enable OES_texture_float in order to use floating point framebuffer objects"),Se(Br.oes_texture_half_float||!(md==="half float"||md==="float16"),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):md==="half float"||md==="float16"?(Se(Br.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),sd="rgba16f"):(md==="float"||md==="float32")&&(Se(Br.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),sd="rgba32f"),Se.oneOf(md,Ys,"invalid color type")),"colorFormat"in Zl&&(sd=Zl.colorFormat,Fs.indexOf(sd)>=0?iu=!0:rc.indexOf(sd)>=0?iu=!1:iu?Se.oneOf(Zl.colorFormat,Fs,"invalid color format for texture"):Se.oneOf(Zl.colorFormat,rc,"invalid color format for renderbuffer"))),("depthTexture"in Zl||"depthStencilTexture"in Zl)&&(Zd=!!(Zl.depthTexture||Zl.depthStencilTexture),Se(!Zd||Br.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in Zl&&(typeof Zl.depth=="boolean"?Ll=Zl.depth:(Xl=Zl.depth,nu=!1)),"stencil"in Zl&&(typeof Zl.stencil=="boolean"?nu=Zl.stencil:(vd=Zl.stencil,Ll=!1)),"depthStencil"in Zl&&(typeof Zl.depthStencil=="boolean"?Ll=nu=Zl.depthStencil:(ff=Zl.depthStencil,Ll=!1,nu=!1))}var Wd=null,Al=null,Jl=null,mu=null;if(Array.isArray(tl))Wd=tl.map(lc);else if(tl)Wd=[lc(tl)];else for(Wd=new Array(dd),ts=0;ts<dd;++ts)Wd[ts]=Ii(Os,ac,iu,sd,md);Se(Br.webgl_draw_buffers||Wd.length<=1,"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers."),Se(Wd.length<=ei.maxColorAttachments,"too many color attachments, not supported"),Os=Os||Wd[0].width,ac=ac||Wd[0].height,Xl?Al=lc(Xl):Ll&&!nu&&(Al=Ii(Os,ac,Zd,"depth","uint32")),vd?Jl=lc(vd):nu&&!Ll&&(Jl=Ii(Os,ac,!1,"stencil","uint8")),ff?mu=lc(ff):!Xl&&!vd&&nu&&Ll&&(mu=Ii(Os,ac,Zd,"depth stencil","depth stencil")),Se(!!Xl+!!vd+!!ff<=1,"invalid framebuffer configuration, can specify exactly one depth/stencil attachment");var gp=null;for(ts=0;ts<Wd.length;++ts)if(Hc(Wd[ts],Os,ac),Se(!Wd[ts]||Wd[ts].texture&&uo.indexOf(Wd[ts].texture._texture.format)>=0||Wd[ts].renderbuffer&&ju.indexOf(Wd[ts].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+ts+" is invalid"),Wd[ts]&&Wd[ts].texture){var jv=As[Wd[ts].texture._texture.format]*zc[Wd[ts].texture._texture.type];gp===null?gp=jv:Se(gp===jv,"all color attachments much have the same number of bits per pixel.")}return Hc(Al,Os,ac),Se(!Al||Al.texture&&Al.texture._texture.format===Ki||Al.renderbuffer&&Al.renderbuffer._renderbuffer.format===Gl,"invalid depth attachment for framebuffer object"),Hc(Jl,Os,ac),Se(!Jl||Jl.renderbuffer&&Jl.renderbuffer._renderbuffer.format===Fl,"invalid stencil attachment for framebuffer object"),Hc(mu,Os,ac),Se(!mu||mu.texture&&mu.texture._texture.format===pl||mu.renderbuffer&&mu.renderbuffer._renderbuffer.format===pl,"invalid depth-stencil attachment for framebuffer object"),It(ya),ya.width=Os,ya.height=ac,ya.colorAttachments=Wd,ya.depthAttachment=Al,ya.stencilAttachment=Jl,ya.depthStencilAttachment=mu,Za.color=Wd.map(No),Za.depth=No(Al),Za.stencil=No(Jl),Za.depthStencil=No(mu),Za.width=ya.width,Za.height=ya.height,fn(ya),Za}function to(Xi,ss){Se(To.next!==ya,"can not resize a framebuffer which is currently in use");var ts=Math.max(Xi|0,1),Os=Math.max(ss|0||ts,1);if(ts===ya.width&&Os===ya.height)return Za;for(var ac=ya.colorAttachments,Ll=0;Ll<ac.length;++Ll)vc(ac[Ll],ts,Os);return vc(ya.depthAttachment,ts,Os),vc(ya.stencilAttachment,ts,Os),vc(ya.depthStencilAttachment,ts,Os),ya.width=Za.width=ts,ya.height=Za.height=Os,fn(ya),Za}return Za(hr,ha),m(Za,{resize:to,_reglType:"framebuffer",_framebuffer:ya,destroy:function(){sn(ya),It(ya)},use:function(ss){To.setFBO({framebuffer:Za},ss)}})}function ur(hr){var ha=Array(6);function ya(to){var Xi;Se(ha.indexOf(To.next)<0,"can not update framebuffer which is currently in use");var ss={color:null},ts=0,Os=null,ac="rgba",Ll="uint8",nu=1;if(typeof to=="number")ts=to|0;else if(!to)ts=1;else{Se.type(to,"object","invalid arguments for framebuffer");var tl=to;if("shape"in tl){var iu=tl.shape;Se(Array.isArray(iu)&&iu.length>=2,"invalid shape for framebuffer"),Se(iu[0]===iu[1],"cube framebuffer must be square"),ts=iu[0]}else"radius"in tl&&(ts=tl.radius|0),"width"in tl?(ts=tl.width|0,"height"in tl&&Se(tl.height===ts,"must be square")):"height"in tl&&(ts=tl.height|0);("color"in tl||"colors"in tl)&&(Os=tl.color||tl.colors,Array.isArray(Os)&&Se(Os.length===1||Br.webgl_draw_buffers,"multiple render targets not supported")),Os||("colorCount"in tl&&(nu=tl.colorCount|0,Se(nu>0,"invalid color buffer count")),"colorType"in tl&&(Se.oneOf(tl.colorType,Ys,"invalid color type"),Ll=tl.colorType),"colorFormat"in tl&&(ac=tl.colorFormat,Se.oneOf(tl.colorFormat,Fs,"invalid color format for texture"))),"depth"in tl&&(ss.depth=tl.depth),"stencil"in tl&&(ss.stencil=tl.stencil),"depthStencil"in tl&&(ss.depthStencil=tl.depthStencil)}var sd;if(Os)if(Array.isArray(Os))for(sd=[],Xi=0;Xi<Os.length;++Xi)sd[Xi]=Os[Xi];else sd=[Os];else{sd=Array(nu);var md={radius:ts,format:ac,type:Ll};for(Xi=0;Xi<nu;++Xi)sd[Xi]=Ao.createCube(md)}for(ss.color=Array(sd.length),Xi=0;Xi<sd.length;++Xi){var dd=sd[Xi];Se(typeof dd=="function"&&dd._reglType==="textureCube","invalid cube map"),ts=ts||dd.width,Se(dd.width===ts&&dd.height===ts,"invalid cube map shape"),ss.color[Xi]={target:Fo,data:sd[Xi]}}for(Xi=0;Xi<6;++Xi){for(var Xl=0;Xl<sd.length;++Xl)ss.color[Xl].target=Fo+Xi;Xi>0&&(ss.depth=ha[0].depth,ss.stencil=ha[0].stencil,ss.depthStencil=ha[0].depthStencil),ha[Xi]?ha[Xi](ss):ha[Xi]=An(ss)}return m(ya,{width:ts,height:ts,color:sd})}function Za(to){var Xi,ss=to|0;if(Se(ss>0&&ss<=ei.maxCubeMapSize,"invalid radius for cube fbo"),ss===ya.width)return ya;var ts=ya.color;for(Xi=0;Xi<ts.length;++Xi)ts[Xi].resize(ss);for(Xi=0;Xi<6;++Xi)ha[Xi].resize(ss);return ya.width=ya.height=ss,ya}return ya(hr),m(ya,{faces:ha,resize:Za,_reglType:"framebufferCube",destroy:function(){ha.forEach(function(Xi){Xi.destroy()})}})}function Pr(){To.cur=null,To.next=null,To.dirty=!0,Na(Pe).forEach(function(hr){hr.framebuffer=_r.createFramebuffer(),fn(hr)})}return m(To,{getFramebuffer:function(ha){if(typeof ha=="function"&&ha._reglType==="framebuffer"){var ya=ha._framebuffer;if(ya instanceof pt)return ya}return null},create:An,createCube:ur,clear:function(){Na(Pe).forEach(sn)},restore:Pr})}var ji=5126,xa=34962;function as(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=ji,this.offset=0,this.stride=0,this.divisor=0}function ws(_r,Br,ei,Ao,so){for(var So=ei.maxAttributes,To=new Array(So),Fs=0;Fs<So;++Fs)To[Fs]=new as;var rc=0,Ys={},qs={Record:as,scope:{},state:To,currentVAO:null,targetVAO:null,restore:Hc()?Pe:function(){},createVAO:pt,getVAO:lc,destroyBuffer:Qs,setVAO:Hc()?Ii:No,clear:Hc()?vc:function(){}};function Qs(It){for(var sn=0;sn<To.length;++sn){var fn=To[sn];fn.buffer===It&&(_r.disableVertexAttribArray(sn),fn.buffer=null)}}function Hc(){return Br.oes_vertex_array_object}function Oc(){return Br.angle_instanced_arrays}function lc(It){return typeof It=="function"&&It._vao?It._vao:null}function Ii(It){if(It!==qs.currentVAO){var sn=Hc();It?sn.bindVertexArrayOES(It.vao):sn.bindVertexArrayOES(null),qs.currentVAO=It}}function No(It){if(It!==qs.currentVAO){if(It)It.bindAttrs();else for(var sn=Oc(),fn=0;fn<To.length;++fn){var An=To[fn];An.buffer?(_r.enableVertexAttribArray(fn),_r.vertexAttribPointer(fn,An.size,An.type,An.normalized,An.stride,An.offfset),sn&&An.divisor&&sn.vertexAttribDivisorANGLE(fn,An.divisor)):(_r.disableVertexAttribArray(fn),_r.vertexAttrib4f(fn,An.x,An.y,An.z,An.w))}qs.currentVAO=It}}function vc(){Na(Ys).forEach(function(It){It.destroy()})}function kt(){this.id=++rc,this.attributes=[];var It=Hc();It?this.vao=It.createVertexArrayOES():this.vao=null,Ys[this.id]=this,this.buffers=[]}kt.prototype.bindAttrs=function(){for(var It=Oc(),sn=this.attributes,fn=0;fn<sn.length;++fn){var An=sn[fn];An.buffer?(_r.enableVertexAttribArray(fn),_r.bindBuffer(xa,An.buffer.buffer),_r.vertexAttribPointer(fn,An.size,An.type,An.normalized,An.stride,An.offset),It&&An.divisor&&It.vertexAttribDivisorANGLE(fn,An.divisor)):(_r.disableVertexAttribArray(fn),_r.vertexAttrib4f(fn,An.x,An.y,An.z,An.w))}for(var ur=sn.length;ur<So;++ur)_r.disableVertexAttribArray(ur)},kt.prototype.refresh=function(){var It=Hc();It&&(It.bindVertexArrayOES(this.vao),this.bindAttrs(),qs.currentVAO=this)},kt.prototype.destroy=function(){if(this.vao){var It=Hc();this===qs.currentVAO&&(qs.currentVAO=null,It.bindVertexArrayOES(null)),It.deleteVertexArrayOES(this.vao),this.vao=null}Ys[this.id]&&(delete Ys[this.id],Ao.vaoCount-=1)};function Pe(){var It=Hc();It&&Na(Ys).forEach(function(sn){sn.refresh()})}function pt(It){var sn=new kt;Ao.vaoCount+=1;function fn(An){Se(Array.isArray(An),"arguments to vertex array constructor must be an array"),Se(An.length<So,"too many attributes"),Se(An.length>0,"must specify at least one attribute");var ur={},Pr=sn.attributes;Pr.length=An.length;for(var hr=0;hr<An.length;++hr){var ha=An[hr],ya=Pr[hr]=new as,Za=ha.data||ha;if(Array.isArray(Za)||E(Za)||Qr(Za)){var to;sn.buffers[hr]&&(to=sn.buffers[hr],E(Za)&&to._buffer.byteLength>=Za.byteLength?to.subdata(Za):(to.destroy(),sn.buffers[hr]=null)),sn.buffers[hr]||(to=sn.buffers[hr]=so.create(ha,xa,!1,!0)),ya.buffer=so.getBuffer(to),ya.size=ya.buffer.dimension|0,ya.normalized=!1,ya.type=ya.buffer.dtype,ya.offset=0,ya.stride=0,ya.divisor=0,ya.state=1,ur[hr]=1}else so.getBuffer(ha)?(ya.buffer=so.getBuffer(ha),ya.size=ya.buffer.dimension|0,ya.normalized=!1,ya.type=ya.buffer.dtype,ya.offset=0,ya.stride=0,ya.divisor=0,ya.state=1):so.getBuffer(ha.buffer)?(ya.buffer=so.getBuffer(ha.buffer),ya.size=(+ha.size||ya.buffer.dimension)|0,ya.normalized=!!ha.normalized||!1,"type"in ha?(Se.parameter(ha.type,Da,"invalid buffer type"),ya.type=Da[ha.type]):ya.type=ya.buffer.dtype,ya.offset=(ha.offset||0)|0,ya.stride=(ha.stride||0)|0,ya.divisor=(ha.divisor||0)|0,ya.state=1,Se(ya.size>=1&&ya.size<=4,"size must be between 1 and 4"),Se(ya.offset>=0,"invalid offset"),Se(ya.stride>=0&&ya.stride<=255,"stride must be between 0 and 255"),Se(ya.divisor>=0,"divisor must be positive"),Se(!ya.divisor||!!Br.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in ha?(Se(hr>0,"first attribute must not be a constant"),ya.x=+ha.x||0,ya.y=+ha.y||0,ya.z=+ha.z||0,ya.w=+ha.w||0,ya.state=2):Se(!1,"invalid attribute spec for location "+hr)}for(var Xi=0;Xi<sn.buffers.length;++Xi)!ur[Xi]&&sn.buffers[Xi]&&(sn.buffers[Xi].destroy(),sn.buffers[Xi]=null);return sn.refresh(),fn}return fn.destroy=function(){for(var An=0;An<sn.buffers.length;++An)sn.buffers[An]&&sn.buffers[An].destroy();sn.buffers.length=0,sn.destroy()},fn._vao=sn,fn._reglType="vao",fn(It)}return qs}var Cs=35632,$o=35633,_c=35718,Lc=35721;function Rl(_r,Br,ei,Ao){var so={},So={};function To(Ii,No,vc,kt){this.name=Ii,this.id=No,this.location=vc,this.info=kt}function Fs(Ii,No){for(var vc=0;vc<Ii.length;++vc)if(Ii[vc].id===No.id){Ii[vc].location=No.location;return}Ii.push(No)}function rc(Ii,No,vc){var kt=Ii===Cs?so:So,Pe=kt[No];if(!Pe){var pt=Br.str(No);Pe=_r.createShader(Ii),_r.shaderSource(Pe,pt),_r.compileShader(Pe),Se.shaderError(_r,Pe,pt,Ii,vc),kt[No]=Pe}return Pe}var Ys={},qs=[],Qs=0;function Hc(Ii,No){this.id=Qs++,this.fragId=Ii,this.vertId=No,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,Ao.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function Oc(Ii,No,vc){var kt,Pe,pt=rc(Cs,Ii.fragId),It=rc($o,Ii.vertId),sn=Ii.program=_r.createProgram();if(_r.attachShader(sn,pt),_r.attachShader(sn,It),vc)for(kt=0;kt<vc.length;++kt){var fn=vc[kt];_r.bindAttribLocation(sn,fn[0],fn[1])}_r.linkProgram(sn),Se.linkError(_r,sn,Br.str(Ii.fragId),Br.str(Ii.vertId),No);var An=_r.getProgramParameter(sn,_c);Ao.profile&&(Ii.stats.uniformsCount=An);var ur=Ii.uniforms;for(kt=0;kt<An;++kt)if(Pe=_r.getActiveUniform(sn,kt),Pe)if(Pe.size>1)for(var Pr=0;Pr<Pe.size;++Pr){var hr=Pe.name.replace("[0]","["+Pr+"]");Fs(ur,new To(hr,Br.id(hr),_r.getUniformLocation(sn,hr),Pe))}else Fs(ur,new To(Pe.name,Br.id(Pe.name),_r.getUniformLocation(sn,Pe.name),Pe));var ha=_r.getProgramParameter(sn,Lc);Ao.profile&&(Ii.stats.attributesCount=ha);var ya=Ii.attributes;for(kt=0;kt<ha;++kt)Pe=_r.getActiveAttrib(sn,kt),Pe&&Fs(ya,new To(Pe.name,Br.id(Pe.name),_r.getAttribLocation(sn,Pe.name),Pe))}Ao.profile&&(ei.getMaxUniformsCount=function(){var Ii=0;return qs.forEach(function(No){No.stats.uniformsCount>Ii&&(Ii=No.stats.uniformsCount)}),Ii},ei.getMaxAttributesCount=function(){var Ii=0;return qs.forEach(function(No){No.stats.attributesCount>Ii&&(Ii=No.stats.attributesCount)}),Ii});function lc(){so={},So={};for(var Ii=0;Ii<qs.length;++Ii)Oc(qs[Ii],null,qs[Ii].attributes.map(function(No){return[No.location,No.name]}))}return{clear:function(){var No=_r.deleteShader.bind(_r);Na(so).forEach(No),so={},Na(So).forEach(No),So={},qs.forEach(function(vc){_r.deleteProgram(vc.program)}),qs.length=0,Ys={},ei.shaderCount=0},program:function(No,vc,kt,Pe){Se.command(No>=0,"missing vertex shader",kt),Se.command(vc>=0,"missing fragment shader",kt);var pt=Ys[vc];pt||(pt=Ys[vc]={});var It=pt[No];if(It&&(It.refCount++,!Pe))return It;var sn=new Hc(vc,No);return ei.shaderCount++,Oc(sn,kt,Pe),It||(pt[No]=sn),qs.push(sn),m(sn,{destroy:function(){if(sn.refCount--,sn.refCount<=0){_r.deleteProgram(sn.program);var An=qs.indexOf(sn);qs.splice(An,1),ei.shaderCount--}pt[sn.vertId].refCount<=0&&(_r.deleteShader(So[sn.vertId]),delete So[sn.vertId],delete Ys[sn.fragId][sn.vertId]),Object.keys(Ys[sn.fragId]).length||(_r.deleteShader(so[sn.fragId]),delete so[sn.fragId],delete Ys[sn.fragId])}})},restore:lc,shader:rc,frag:-1,vert:-1}}var Ol=6408,cl=5121,au=3333,Yu=5126;function Od(_r,Br,ei,Ao,so,So,To){function Fs(qs){var Qs;Br.next===null?(Se(so.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),Qs=cl):(Se(Br.next.colorAttachments[0].texture!==null,"You cannot read from a renderbuffer"),Qs=Br.next.colorAttachments[0].texture._texture.type,So.oes_texture_float?(Se(Qs===cl||Qs===Yu,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),Qs===Yu&&Se(To.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):Se(Qs===cl,"Reading from a framebuffer is only allowed for the type 'uint8'"));var Hc=0,Oc=0,lc=Ao.framebufferWidth,Ii=Ao.framebufferHeight,No=null;E(qs)?No=qs:qs&&(Se.type(qs,"object","invalid arguments to regl.read()"),Hc=qs.x|0,Oc=qs.y|0,Se(Hc>=0&&Hc<Ao.framebufferWidth,"invalid x offset for regl.read"),Se(Oc>=0&&Oc<Ao.framebufferHeight,"invalid y offset for regl.read"),lc=(qs.width||Ao.framebufferWidth-Hc)|0,Ii=(qs.height||Ao.framebufferHeight-Oc)|0,No=qs.data||null),No&&(Qs===cl?Se(No instanceof Uint8Array,"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'"):Qs===Yu&&Se(No instanceof Float32Array,"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'")),Se(lc>0&&lc+Hc<=Ao.framebufferWidth,"invalid width for read pixels"),Se(Ii>0&&Ii+Oc<=Ao.framebufferHeight,"invalid height for read pixels"),ei();var vc=lc*Ii*4;return No||(Qs===cl?No=new Uint8Array(vc):Qs===Yu&&(No=No||new Float32Array(vc))),Se.isTypedArray(No,"data buffer for regl.read() must be a typedarray"),Se(No.byteLength>=vc,"data buffer for regl.read() too small"),_r.pixelStorei(au,4),_r.readPixels(Hc,Oc,lc,Ii,Ol,Qs,No),No}function rc(qs){var Qs;return Br.setFBO({framebuffer:qs.framebuffer},function(){Qs=Fs(qs)}),Qs}function Ys(qs){return!qs||!("framebuffer"in qs)?Fs(qs):rc(qs)}return Ys}function Lu(_r){return Array.prototype.slice.call(_r)}function Hd(_r){return Lu(_r).join("")}function af(){var _r=0,Br=[],ei=[];function Ao(Qs){for(var Hc=0;Hc<ei.length;++Hc)if(ei[Hc]===Qs)return Br[Hc];var Oc="g"+_r++;return Br.push(Oc),ei.push(Qs),Oc}function so(){var Qs=[];function Hc(){Qs.push.apply(Qs,Lu(arguments))}var Oc=[];function lc(){var Ii="v"+_r++;return Oc.push(Ii),arguments.length>0&&(Qs.push(Ii,"="),Qs.push.apply(Qs,Lu(arguments)),Qs.push(";")),Ii}return m(Hc,{def:lc,toString:function(){return Hd([Oc.length>0?"var "+Oc.join(",")+";":"",Hd(Qs)])}})}function So(){var Qs=so(),Hc=so(),Oc=Qs.toString,lc=Hc.toString;function Ii(No,vc){Hc(No,vc,"=",Qs.def(No,vc),";")}return m(function(){Qs.apply(Qs,Lu(arguments))},{def:Qs.def,entry:Qs,exit:Hc,save:Ii,set:function(vc,kt,Pe){Ii(vc,kt),Qs(vc,kt,"=",Pe,";")},toString:function(){return Oc()+lc()}})}function To(){var Qs=Hd(arguments),Hc=So(),Oc=So(),lc=Hc.toString,Ii=Oc.toString;return m(Hc,{then:function(){return Hc.apply(Hc,Lu(arguments)),this},else:function(){return Oc.apply(Oc,Lu(arguments)),this},toString:function(){var vc=Ii();return vc&&(vc="else{"+vc+"}"),Hd(["if(",Qs,"){",lc(),"}",vc])}})}var Fs=so(),rc={};function Ys(Qs,Hc){var Oc=[];function lc(){var Pe="a"+Oc.length;return Oc.push(Pe),Pe}Hc=Hc||0;for(var Ii=0;Ii<Hc;++Ii)lc();var No=So(),vc=No.toString,kt=rc[Qs]=m(No,{arg:lc,toString:function(){return Hd(["function(",Oc.join(),"){",vc(),"}"])}});return kt}function qs(){var Qs=['"use strict";',Fs,"return {"];Object.keys(rc).forEach(function(lc){Qs.push('"',lc,'":',rc[lc].toString(),",")}),Qs.push("}");var Hc=Hd(Qs).replace(/;/g,`;
`).replace(/}/g,`}
`).replace(/{/g,`{
`),Oc=Function.apply(null,Br.concat(Hc));return Oc.apply(null,ei)}return{global:Fs,link:Ao,block:so,proc:Ys,scope:So,cond:To,compile:qs}}var Gd="xyzw".split(""),Nd=5121,kd=1,xf=2,Bd=0,Fu=1,xd=2,of=3,ld=4,cu=5,ll=6,ad="dither",Xu="blend.enable",_s="blend.color",jl="blend.equation",Uu="blend.func",jd="depth.enable",Sf="depth.func",Af="depth.range",mf="depth.mask",Ld="colorMask",qd="cull.enable",bu="cull.face",$d="frontFace",Ju="lineWidth",Jd="polygonOffset.enable",Zo="polygonOffset.offset",Vr="sample.alpha",Yo="sample.enable",Mi="sample.coverage",ds="stencil.enable",oc="stencil.mask",Il="stencil.func",pu="stencil.opFront",Nl="stencil.opBack",Du="scissor.enable",vu="scissor.box",lu="viewport",id="profile",Ws="framebuffer",re="vert",Ae="frag",ct="elements",wt="primitive",an="count",jr="offset",Xa="instances",fs="vao",Xs="Width",Uc="Height",zl=Ws+Xs,Bu=Ws+Uc,ud=lu+Xs,Mp=lu+Uc,ev="drawingBuffer",Rn=ev+Xs,St=ev+Uc,on=[Uu,jl,Il,pu,Nl,Mi,lu,vu,Zo],Dn=34962,aa=34963,oa=35632,Jr=35633,Ia=3553,Li=34067,no=2884,es=3042,Bo=3024,Uo=2960,Dc=2929,nc=3089,Ms=32823,Eo=32926,Is=32928,$s=5126,_l=35664,Wl=35665,Hu=35666,gd=5124,Cd=35667,Gu=35668,ol=35669,Md=35670,Ff=35671,pp=35672,Vu=35673,lf=35674,cp=35675,Gf=35676,wp=35678,Tp=35680,lp=4,vp=1028,Uv=1029,tv=2304,ph=2305,up=32775,Xv=32776,Fh=519,hp=7680,kf=0,Df=1,Bv=32774,Sv=513,Pp=36160,wv=36064,Qf={"0":0,"1":1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},lv=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],nv={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Hp={"0":0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Tv={frag:oa,vert:Jr},Gp={cw:tv,ccw:ph};function Ap(_r){return Array.isArray(_r)||E(_r)||Qr(_r)}function hv(_r){return _r.sort(function(Br,ei){return Br===lu?-1:ei===lu?1:Br<ei?-1:1})}function kp(_r,Br,ei,Ao){this.thisDep=_r,this.contextDep=Br,this.propDep=ei,this.append=Ao}function bp(_r){return _r&&!(_r.thisDep||_r.contextDep||_r.propDep)}function jf(_r){return new kp(!1,!1,!1,_r)}function qf(_r,Br){var ei=_r.type;if(ei===Bd){var Ao=_r.data.length;return new kp(!0,Ao>=1,Ao>=2,Br)}else if(ei===ld){var so=_r.data;return new kp(so.thisDep,so.contextDep,so.propDep,Br)}else{if(ei===cu)return new kp(!1,!1,!1,Br);if(ei===ll){for(var So=!1,To=!1,Fs=!1,rc=0;rc<_r.data.length;++rc){var Ys=_r.data[rc];if(Ys.type===Fu)Fs=!0;else if(Ys.type===xd)To=!0;else if(Ys.type===of)So=!0;else if(Ys.type===Bd){So=!0;var qs=Ys.data;qs>=1&&(To=!0),qs>=2&&(Fs=!0)}else Ys.type===ld&&(So=So||Ys.data.thisDep,To=To||Ys.data.contextDep,Fs=Fs||Ys.data.propDep)}return new kp(So,To,Fs,Br)}else return new kp(ei===of,ei===xd,ei===Fu,Br)}}var Eh=new kp(!1,!1,!1,function(){});function Av(_r,Br,ei,Ao,so,So,To,Fs,rc,Ys,qs,Qs,Hc,Oc,lc){var Ii=Ys.Record,No={add:32774,subtract:32778,"reverse subtract":32779};ei.ext_blend_minmax&&(No.min=up,No.max=Xv);var vc=ei.angle_instanced_arrays,kt=ei.webgl_draw_buffers,Pe={dirty:!0,profile:lc.profile},pt={},It=[],sn={},fn={};function An(Ka){return Ka.replace(".","_")}function ur(Ka,wa,Ai){var Ti=An(Ka);It.push(Ka),pt[Ti]=Pe[Ti]=!!Ai,sn[Ti]=wa}function Pr(Ka,wa,Ai){var Ti=An(Ka);It.push(Ka),Array.isArray(Ai)?(Pe[Ti]=Ai.slice(),pt[Ti]=Ai.slice()):Pe[Ti]=pt[Ti]=Ai,fn[Ti]=wa}ur(ad,Bo),ur(Xu,es),Pr(_s,"blendColor",[0,0,0,0]),Pr(jl,"blendEquationSeparate",[Bv,Bv]),Pr(Uu,"blendFuncSeparate",[Df,kf,Df,kf]),ur(jd,Dc,!0),Pr(Sf,"depthFunc",Sv),Pr(Af,"depthRange",[0,1]),Pr(mf,"depthMask",!0),Pr(Ld,Ld,[!0,!0,!0,!0]),ur(qd,no),Pr(bu,"cullFace",Uv),Pr($d,$d,ph),Pr(Ju,Ju,1),ur(Jd,Ms),Pr(Zo,"polygonOffset",[0,0]),ur(Vr,Eo),ur(Yo,Is),Pr(Mi,"sampleCoverage",[1,!1]),ur(ds,Uo),Pr(oc,"stencilMask",-1),Pr(Il,"stencilFunc",[Fh,0,-1]),Pr(pu,"stencilOpSeparate",[vp,hp,hp,hp]),Pr(Nl,"stencilOpSeparate",[Uv,hp,hp,hp]),ur(Du,nc),Pr(vu,"scissor",[0,0,_r.drawingBufferWidth,_r.drawingBufferHeight]),Pr(lu,lu,[0,0,_r.drawingBufferWidth,_r.drawingBufferHeight]);var hr={gl:_r,context:Hc,strings:Br,next:pt,current:Pe,draw:Qs,elements:So,buffer:so,shader:qs,attributes:Ys.state,vao:Ys,uniforms:rc,framebuffer:Fs,extensions:ei,timer:Oc,isBufferArgs:Ap},ha={primTypes:qo,compareFuncs:nv,blendFuncs:Qf,blendEquations:No,stencilOps:Hp,glTypes:Da,orientationType:Gp};Se.optional(function(){hr.isArrayLike=$a}),kt&&(ha.backBuffer=[Uv],ha.drawBuffer=_n(Ao.maxDrawbuffers,function(Ka){return Ka===0?[0]:_n(Ka,function(wa){return wv+wa})}));var ya=0;function Za(){var Ka=af(),wa=Ka.link,Ai=Ka.global;Ka.id=ya++,Ka.batchId="0";var Ti=wa(hr),bo=Ka.shared={props:"a0"};Object.keys(hr).forEach(function(bi){bo[bi]=Ai.def(Ti,".",bi)}),Se.optional(function(){Ka.CHECK=wa(Se),Ka.commandStr=Se.guessCommand(),Ka.command=wa(Ka.commandStr),Ka.assert=function(bi,Ba,Gi){bi("if(!(",Ba,"))",this.CHECK,".commandRaise(",wa(Gi),",",this.command,");")},ha.invalidBlendCombinations=lv});var Hi=Ka.next={},ki=Ka.current={};Object.keys(fn).forEach(function(bi){Array.isArray(Pe[bi])&&(Hi[bi]=Ai.def(bo.next,".",bi),ki[bi]=Ai.def(bo.current,".",bi))});var oo=Ka.constants={};Object.keys(ha).forEach(function(bi){oo[bi]=Ai.def(JSON.stringify(ha[bi]))}),Ka.invoke=function(bi,Ba){switch(Ba.type){case Bd:var Gi=["this",bo.context,bo.props,Ka.batchId];return bi.def(wa(Ba.data),".call(",Gi.slice(0,Math.max(Ba.data.length+1,4)),")");case Fu:return bi.def(bo.props,Ba.data);case xd:return bi.def(bo.context,Ba.data);case of:return bi.def("this",Ba.data);case ld:return Ba.data.append(Ka,bi),Ba.data.ref;case cu:return Ba.data.toString();case ll:return Ba.data.map(function(Do){return Ka.invoke(bi,Do)})}},Ka.attribCache={};var Wa={};return Ka.scopeAttrib=function(bi){var Ba=Br.id(bi);if(Ba in Wa)return Wa[Ba];var Gi=Ys.scope[Ba];Gi||(Gi=Ys.scope[Ba]=new Ii);var Do=Wa[Ba]=wa(Gi);return Do},Ka}function to(Ka){var wa=Ka.static,Ai=Ka.dynamic,Ti;if(id in wa){var bo=!!wa[id];Ti=jf(function(ki,oo){return bo}),Ti.enable=bo}else if(id in Ai){var Hi=Ai[id];Ti=qf(Hi,function(ki,oo){return ki.invoke(oo,Hi)})}return Ti}function Xi(Ka,wa){var Ai=Ka.static,Ti=Ka.dynamic;if(Ws in Ai){var bo=Ai[Ws];return bo?(bo=Fs.getFramebuffer(bo),Se.command(bo,"invalid framebuffer object"),jf(function(ki,oo){var Wa=ki.link(bo),bi=ki.shared;oo.set(bi.framebuffer,".next",Wa);var Ba=bi.context;return oo.set(Ba,"."+zl,Wa+".width"),oo.set(Ba,"."+Bu,Wa+".height"),Wa})):jf(function(ki,oo){var Wa=ki.shared;oo.set(Wa.framebuffer,".next","null");var bi=Wa.context;return oo.set(bi,"."+zl,bi+"."+Rn),oo.set(bi,"."+Bu,bi+"."+St),"null"})}else if(Ws in Ti){var Hi=Ti[Ws];return qf(Hi,function(ki,oo){var Wa=ki.invoke(oo,Hi),bi=ki.shared,Ba=bi.framebuffer,Gi=oo.def(Ba,".getFramebuffer(",Wa,")");Se.optional(function(){ki.assert(oo,"!"+Wa+"||"+Gi,"invalid framebuffer object")}),oo.set(Ba,".next",Gi);var Do=bi.context;return oo.set(Do,"."+zl,Gi+"?"+Gi+".width:"+Do+"."+Rn),oo.set(Do,"."+Bu,Gi+"?"+Gi+".height:"+Do+"."+St),Gi})}else return null}function ss(Ka,wa,Ai){var Ti=Ka.static,bo=Ka.dynamic;function Hi(Wa){if(Wa in Ti){var bi=Ti[Wa];Se.commandType(bi,"object","invalid "+Wa,Ai.commandStr);var Ba=!0,Gi=bi.x|0,Do=bi.y|0,Ps,zs;return"width"in bi?(Ps=bi.width|0,Se.command(Ps>=0,"invalid "+Wa,Ai.commandStr)):Ba=!1,"height"in bi?(zs=bi.height|0,Se.command(zs>=0,"invalid "+Wa,Ai.commandStr)):Ba=!1,new kp(!Ba&&wa&&wa.thisDep,!Ba&&wa&&wa.contextDep,!Ba&&wa&&wa.propDep,function(Kl,fd){var kl=Kl.shared.context,Ic=Ps;"width"in bi||(Ic=fd.def(kl,".",zl,"-",Gi));var Pu=zs;return"height"in bi||(Pu=fd.def(kl,".",Bu,"-",Do)),[Gi,Do,Ic,Pu]})}else if(Wa in bo){var vs=bo[Wa],uc=qf(vs,function(Kl,fd){var kl=Kl.invoke(fd,vs);Se.optional(function(){Kl.assert(fd,kl+"&&typeof "+kl+'==="object"',"invalid "+Wa)});var Ic=Kl.shared.context,Pu=fd.def(kl,".x|0"),sf=fd.def(kl,".y|0"),$f=fd.def('"width" in ',kl,"?",kl,".width|0:","(",Ic,".",zl,"-",Pu,")"),Op=fd.def('"height" in ',kl,"?",kl,".height|0:","(",Ic,".",Bu,"-",sf,")");return Se.optional(function(){Kl.assert(fd,$f+">=0&&"+Op+">=0","invalid "+Wa)}),[Pu,sf,$f,Op]});return wa&&(uc.thisDep=uc.thisDep||wa.thisDep,uc.contextDep=uc.contextDep||wa.contextDep,uc.propDep=uc.propDep||wa.propDep),uc}else return wa?new kp(wa.thisDep,wa.contextDep,wa.propDep,function(Kl,fd){var kl=Kl.shared.context;return[0,0,fd.def(kl,".",zl),fd.def(kl,".",Bu)]}):null}var ki=Hi(lu);if(ki){var oo=ki;ki=new kp(ki.thisDep,ki.contextDep,ki.propDep,function(Wa,bi){var Ba=oo.append(Wa,bi),Gi=Wa.shared.context;return bi.set(Gi,"."+ud,Ba[2]),bi.set(Gi,"."+Mp,Ba[3]),Ba})}return{viewport:ki,scissor_box:Hi(vu)}}function ts(Ka,wa){var Ai=Ka.static,Ti=typeof Ai[Ae]=="string"&&typeof Ai[re]=="string";if(Ti){if(Object.keys(wa.dynamic).length>0)return null;var bo=wa.static,Hi=Object.keys(bo);if(Hi.length>0&&typeof bo[Hi[0]]=="number"){for(var ki=[],oo=0;oo<Hi.length;++oo)Se(typeof bo[Hi[oo]]=="number","must specify all vertex attribute locations when using vaos"),ki.push([bo[Hi[oo]]|0,Hi[oo]]);return ki}}return null}function Os(Ka,wa,Ai){var Ti=Ka.static,bo=Ka.dynamic;function Hi(Ba){if(Ba in Ti){var Gi=Br.id(Ti[Ba]);Se.optional(function(){qs.shader(Tv[Ba],Gi,Se.guessCommand())});var Do=jf(function(){return Gi});return Do.id=Gi,Do}else if(Ba in bo){var Ps=bo[Ba];return qf(Ps,function(zs,vs){var uc=zs.invoke(vs,Ps),Kl=vs.def(zs.shared.strings,".id(",uc,")");return Se.optional(function(){vs(zs.shared.shader,".shader(",Tv[Ba],",",Kl,",",zs.command,");")}),Kl})}return null}var ki=Hi(Ae),oo=Hi(re),Wa=null,bi;return bp(ki)&&bp(oo)?(Wa=qs.program(oo.id,ki.id,null,Ai),bi=jf(function(Ba,Gi){return Ba.link(Wa)})):bi=new kp(ki&&ki.thisDep||oo&&oo.thisDep,ki&&ki.contextDep||oo&&oo.contextDep,ki&&ki.propDep||oo&&oo.propDep,function(Ba,Gi){var Do=Ba.shared.shader,Ps;ki?Ps=ki.append(Ba,Gi):Ps=Gi.def(Do,".",Ae);var zs;oo?zs=oo.append(Ba,Gi):zs=Gi.def(Do,".",re);var vs=Do+".program("+zs+","+Ps;return Se.optional(function(){vs+=","+Ba.command}),Gi.def(vs+")")}),{frag:ki,vert:oo,progVar:bi,program:Wa}}function ac(Ka,wa){var Ai=Ka.static,Ti=Ka.dynamic;function bo(){if(ct in Ai){var Ba=Ai[ct];Ap(Ba)?Ba=So.getElements(So.create(Ba,!0)):Ba&&(Ba=So.getElements(Ba),Se.command(Ba,"invalid elements",wa.commandStr));var Gi=jf(function(Ps,zs){if(Ba){var vs=Ps.link(Ba);return Ps.ELEMENTS=vs,vs}return Ps.ELEMENTS=null,null});return Gi.value=Ba,Gi}else if(ct in Ti){var Do=Ti[ct];return qf(Do,function(Ps,zs){var vs=Ps.shared,uc=vs.isBufferArgs,Kl=vs.elements,fd=Ps.invoke(zs,Do),kl=zs.def("null"),Ic=zs.def(uc,"(",fd,")"),Pu=Ps.cond(Ic).then(kl,"=",Kl,".createStream(",fd,");").else(kl,"=",Kl,".getElements(",fd,");");return Se.optional(function(){Ps.assert(Pu.else,"!"+fd+"||"+kl,"invalid elements")}),zs.entry(Pu),zs.exit(Ps.cond(Ic).then(Kl,".destroyStream(",kl,");")),Ps.ELEMENTS=kl,kl})}return null}var Hi=bo();function ki(){if(wt in Ai){var Ba=Ai[wt];return Se.commandParameter(Ba,qo,"invalid primitve",wa.commandStr),jf(function(Do,Ps){return qo[Ba]})}else if(wt in Ti){var Gi=Ti[wt];return qf(Gi,function(Do,Ps){var zs=Do.constants.primTypes,vs=Do.invoke(Ps,Gi);return Se.optional(function(){Do.assert(Ps,vs+" in "+zs,"invalid primitive, must be one of "+Object.keys(qo))}),Ps.def(zs,"[",vs,"]")})}else if(Hi)return bp(Hi)?Hi.value?jf(function(Do,Ps){return Ps.def(Do.ELEMENTS,".primType")}):jf(function(){return lp}):new kp(Hi.thisDep,Hi.contextDep,Hi.propDep,function(Do,Ps){var zs=Do.ELEMENTS;return Ps.def(zs,"?",zs,".primType:",lp)});return null}function oo(Ba,Gi){if(Ba in Ai){var Do=Ai[Ba]|0;return Se.command(!Gi||Do>=0,"invalid "+Ba,wa.commandStr),jf(function(zs,vs){return Gi&&(zs.OFFSET=Do),Do})}else if(Ba in Ti){var Ps=Ti[Ba];return qf(Ps,function(zs,vs){var uc=zs.invoke(vs,Ps);return Gi&&(zs.OFFSET=uc,Se.optional(function(){zs.assert(vs,uc+">=0","invalid "+Ba)})),uc})}else if(Gi&&Hi)return jf(function(zs,vs){return zs.OFFSET="0",0});return null}var Wa=oo(jr,!0);function bi(){if(an in Ai){var Ba=Ai[an]|0;return Se.command(typeof Ba=="number"&&Ba>=0,"invalid vertex count",wa.commandStr),jf(function(){return Ba})}else if(an in Ti){var Gi=Ti[an];return qf(Gi,function(zs,vs){var uc=zs.invoke(vs,Gi);return Se.optional(function(){zs.assert(vs,"typeof "+uc+'==="number"&&'+uc+">=0&&"+uc+"===("+uc+"|0)","invalid vertex count")}),uc})}else if(Hi)if(bp(Hi)){if(Hi)return Wa?new kp(Wa.thisDep,Wa.contextDep,Wa.propDep,function(zs,vs){var uc=vs.def(zs.ELEMENTS,".vertCount-",zs.OFFSET);return Se.optional(function(){zs.assert(vs,uc+">=0","invalid vertex offset/element buffer too small")}),uc}):jf(function(zs,vs){return vs.def(zs.ELEMENTS,".vertCount")});var Do=jf(function(){return-1});return Se.optional(function(){Do.MISSING=!0}),Do}else{var Ps=new kp(Hi.thisDep||Wa.thisDep,Hi.contextDep||Wa.contextDep,Hi.propDep||Wa.propDep,function(zs,vs){var uc=zs.ELEMENTS;return zs.OFFSET?vs.def(uc,"?",uc,".vertCount-",zs.OFFSET,":-1"):vs.def(uc,"?",uc,".vertCount:-1")});return Se.optional(function(){Ps.DYNAMIC=!0}),Ps}return null}return{elements:Hi,primitive:ki(),count:bi(),instances:oo(Xa,!1),offset:Wa}}function Ll(Ka,wa){var Ai=Ka.static,Ti=Ka.dynamic,bo={};return It.forEach(function(Hi){var ki=An(Hi);function oo(Wa,bi){if(Hi in Ai){var Ba=Wa(Ai[Hi]);bo[ki]=jf(function(){return Ba})}else if(Hi in Ti){var Gi=Ti[Hi];bo[ki]=qf(Gi,function(Do,Ps){return bi(Do,Ps,Do.invoke(Ps,Gi))})}}switch(Hi){case qd:case Xu:case ad:case ds:case jd:case Du:case Jd:case Vr:case Yo:case mf:return oo(function(Wa){return Se.commandType(Wa,"boolean",Hi,wa.commandStr),Wa},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,"typeof "+Ba+'==="boolean"',"invalid flag "+Hi,Wa.commandStr)}),Ba});case Sf:return oo(function(Wa){return Se.commandParameter(Wa,nv,"invalid "+Hi,wa.commandStr),nv[Wa]},function(Wa,bi,Ba){var Gi=Wa.constants.compareFuncs;return Se.optional(function(){Wa.assert(bi,Ba+" in "+Gi,"invalid "+Hi+", must be one of "+Object.keys(nv))}),bi.def(Gi,"[",Ba,"]")});case Af:return oo(function(Wa){return Se.command($a(Wa)&&Wa.length===2&&typeof Wa[0]=="number"&&typeof Wa[1]=="number"&&Wa[0]<=Wa[1],"depth range is 2d array",wa.commandStr),Wa},function(Wa,bi,Ba){Se.optional(function(){Wa.assert(bi,Wa.shared.isArrayLike+"("+Ba+")&&"+Ba+".length===2&&typeof "+Ba+'[0]==="number"&&typeof '+Ba+'[1]==="number"&&'+Ba+"[0]<="+Ba+"[1]","depth range must be a 2d array")});var Gi=bi.def("+",Ba,"[0]"),Do=bi.def("+",Ba,"[1]");return[Gi,Do]});case Uu:return oo(function(Wa){Se.commandType(Wa,"object","blend.func",wa.commandStr);var bi="srcRGB"in Wa?Wa.srcRGB:Wa.src,Ba="srcAlpha"in Wa?Wa.srcAlpha:Wa.src,Gi="dstRGB"in Wa?Wa.dstRGB:Wa.dst,Do="dstAlpha"in Wa?Wa.dstAlpha:Wa.dst;return Se.commandParameter(bi,Qf,ki+".srcRGB",wa.commandStr),Se.commandParameter(Ba,Qf,ki+".srcAlpha",wa.commandStr),Se.commandParameter(Gi,Qf,ki+".dstRGB",wa.commandStr),Se.commandParameter(Do,Qf,ki+".dstAlpha",wa.commandStr),Se.command(lv.indexOf(bi+", "+Gi)===-1,"unallowed blending combination (srcRGB, dstRGB) = ("+bi+", "+Gi+")",wa.commandStr),[Qf[bi],Qf[Gi],Qf[Ba],Qf[Do]]},function(Wa,bi,Ba){var Gi=Wa.constants.blendFuncs;Se.optional(function(){Wa.assert(bi,Ba+"&&typeof "+Ba+'==="object"',"invalid blend func, must be an object")});function Do(kl,Ic){var Pu=bi.def('"',kl,Ic,'" in ',Ba,"?",Ba,".",kl,Ic,":",Ba,".",kl);return Se.optional(function(){Wa.assert(bi,Pu+" in "+Gi,"invalid "+Hi+"."+kl+Ic+", must be one of "+Object.keys(Qf))}),Pu}var Ps=Do("src","RGB"),zs=Do("dst","RGB");Se.optional(function(){var kl=Wa.constants.invalidBlendCombinations;Wa.assert(bi,kl+".indexOf("+Ps+'+", "+'+zs+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")});var vs=bi.def(Gi,"[",Ps,"]"),uc=bi.def(Gi,"[",Do("src","Alpha"),"]"),Kl=bi.def(Gi,"[",zs,"]"),fd=bi.def(Gi,"[",Do("dst","Alpha"),"]");return[vs,Kl,uc,fd]});case jl:return oo(function(Wa){if(typeof Wa=="string")return Se.commandParameter(Wa,No,"invalid "+Hi,wa.commandStr),[No[Wa],No[Wa]];if(typeof Wa=="object")return Se.commandParameter(Wa.rgb,No,Hi+".rgb",wa.commandStr),Se.commandParameter(Wa.alpha,No,Hi+".alpha",wa.commandStr),[No[Wa.rgb],No[Wa.alpha]];Se.commandRaise("invalid blend.equation",wa.commandStr)},function(Wa,bi,Ba){var Gi=Wa.constants.blendEquations,Do=bi.def(),Ps=bi.def(),zs=Wa.cond("typeof ",Ba,'==="string"');return Se.optional(function(){function vs(uc,Kl,fd){Wa.assert(uc,fd+" in "+Gi,"invalid "+Kl+", must be one of "+Object.keys(No))}vs(zs.then,Hi,Ba),Wa.assert(zs.else,Ba+"&&typeof "+Ba+'==="object"',"invalid "+Hi),vs(zs.else,Hi+".rgb",Ba+".rgb"),vs(zs.else,Hi+".alpha",Ba+".alpha")}),zs.then(Do,"=",Ps,"=",Gi,"[",Ba,"];"),zs.else(Do,"=",Gi,"[",Ba,".rgb];",Ps,"=",Gi,"[",Ba,".alpha];"),bi(zs),[Do,Ps]});case _s:return oo(function(Wa){return Se.command($a(Wa)&&Wa.length===4,"blend.color must be a 4d array",wa.commandStr),_n(4,function(bi){return+Wa[bi]})},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,Wa.shared.isArrayLike+"("+Ba+")&&"+Ba+".length===4","blend.color must be a 4d array")}),_n(4,function(Gi){return bi.def("+",Ba,"[",Gi,"]")})});case oc:return oo(function(Wa){return Se.commandType(Wa,"number",ki,wa.commandStr),Wa|0},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,"typeof "+Ba+'==="number"',"invalid stencil.mask")}),bi.def(Ba,"|0")});case Il:return oo(function(Wa){Se.commandType(Wa,"object",ki,wa.commandStr);var bi=Wa.cmp||"keep",Ba=Wa.ref||0,Gi="mask"in Wa?Wa.mask:-1;return Se.commandParameter(bi,nv,Hi+".cmp",wa.commandStr),Se.commandType(Ba,"number",Hi+".ref",wa.commandStr),Se.commandType(Gi,"number",Hi+".mask",wa.commandStr),[nv[bi],Ba,Gi]},function(Wa,bi,Ba){var Gi=Wa.constants.compareFuncs;Se.optional(function(){function vs(){Wa.assert(bi,Array.prototype.join.call(arguments,""),"invalid stencil.func")}vs(Ba+"&&typeof ",Ba,'==="object"'),vs('!("cmp" in ',Ba,")||(",Ba,".cmp in ",Gi,")")});var Do=bi.def('"cmp" in ',Ba,"?",Gi,"[",Ba,".cmp]",":",hp),Ps=bi.def(Ba,".ref|0"),zs=bi.def('"mask" in ',Ba,"?",Ba,".mask|0:-1");return[Do,Ps,zs]});case pu:case Nl:return oo(function(Wa){Se.commandType(Wa,"object",ki,wa.commandStr);var bi=Wa.fail||"keep",Ba=Wa.zfail||"keep",Gi=Wa.zpass||"keep";return Se.commandParameter(bi,Hp,Hi+".fail",wa.commandStr),Se.commandParameter(Ba,Hp,Hi+".zfail",wa.commandStr),Se.commandParameter(Gi,Hp,Hi+".zpass",wa.commandStr),[Hi===Nl?Uv:vp,Hp[bi],Hp[Ba],Hp[Gi]]},function(Wa,bi,Ba){var Gi=Wa.constants.stencilOps;Se.optional(function(){Wa.assert(bi,Ba+"&&typeof "+Ba+'==="object"',"invalid "+Hi)});function Do(Ps){return Se.optional(function(){Wa.assert(bi,'!("'+Ps+'" in '+Ba+")||("+Ba+"."+Ps+" in "+Gi+")","invalid "+Hi+"."+Ps+", must be one of "+Object.keys(Hp))}),bi.def('"',Ps,'" in ',Ba,"?",Gi,"[",Ba,".",Ps,"]:",hp)}return[Hi===Nl?Uv:vp,Do("fail"),Do("zfail"),Do("zpass")]});case Zo:return oo(function(Wa){Se.commandType(Wa,"object",ki,wa.commandStr);var bi=Wa.factor|0,Ba=Wa.units|0;return Se.commandType(bi,"number",ki+".factor",wa.commandStr),Se.commandType(Ba,"number",ki+".units",wa.commandStr),[bi,Ba]},function(Wa,bi,Ba){Se.optional(function(){Wa.assert(bi,Ba+"&&typeof "+Ba+'==="object"',"invalid "+Hi)});var Gi=bi.def(Ba,".factor|0"),Do=bi.def(Ba,".units|0");return[Gi,Do]});case bu:return oo(function(Wa){var bi=0;return Wa==="front"?bi=vp:Wa==="back"&&(bi=Uv),Se.command(!!bi,ki,wa.commandStr),bi},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,Ba+'==="front"||'+Ba+'==="back"',"invalid cull.face")}),bi.def(Ba,'==="front"?',vp,":",Uv)});case Ju:return oo(function(Wa){return Se.command(typeof Wa=="number"&&Wa>=Ao.lineWidthDims[0]&&Wa<=Ao.lineWidthDims[1],"invalid line width, must be a positive number between "+Ao.lineWidthDims[0]+" and "+Ao.lineWidthDims[1],wa.commandStr),Wa},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,"typeof "+Ba+'==="number"&&'+Ba+">="+Ao.lineWidthDims[0]+"&&"+Ba+"<="+Ao.lineWidthDims[1],"invalid line width")}),Ba});case $d:return oo(function(Wa){return Se.commandParameter(Wa,Gp,ki,wa.commandStr),Gp[Wa]},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,Ba+'==="cw"||'+Ba+'==="ccw"',"invalid frontFace, must be one of cw,ccw")}),bi.def(Ba+'==="cw"?'+tv+":"+ph)});case Ld:return oo(function(Wa){return Se.command($a(Wa)&&Wa.length===4,"color.mask must be length 4 array",wa.commandStr),Wa.map(function(bi){return!!bi})},function(Wa,bi,Ba){return Se.optional(function(){Wa.assert(bi,Wa.shared.isArrayLike+"("+Ba+")&&"+Ba+".length===4","invalid color.mask")}),_n(4,function(Gi){return"!!"+Ba+"["+Gi+"]"})});case Mi:return oo(function(Wa){Se.command(typeof Wa=="object"&&Wa,ki,wa.commandStr);var bi="value"in Wa?Wa.value:1,Ba=!!Wa.invert;return Se.command(typeof bi=="number"&&bi>=0&&bi<=1,"sample.coverage.value must be a number between 0 and 1",wa.commandStr),[bi,Ba]},function(Wa,bi,Ba){Se.optional(function(){Wa.assert(bi,Ba+"&&typeof "+Ba+'==="object"',"invalid sample.coverage")});var Gi=bi.def('"value" in ',Ba,"?+",Ba,".value:1"),Do=bi.def("!!",Ba,".invert");return[Gi,Do]})}}),bo}function nu(Ka,wa){var Ai=Ka.static,Ti=Ka.dynamic,bo={};return Object.keys(Ai).forEach(function(Hi){var ki=Ai[Hi],oo;if(typeof ki=="number"||typeof ki=="boolean")oo=jf(function(){return ki});else if(typeof ki=="function"){var Wa=ki._reglType;Wa==="texture2d"||Wa==="textureCube"?oo=jf(function(bi){return bi.link(ki)}):Wa==="framebuffer"||Wa==="framebufferCube"?(Se.command(ki.color.length>0,'missing color attachment for framebuffer sent to uniform "'+Hi+'"',wa.commandStr),oo=jf(function(bi){return bi.link(ki.color[0])})):Se.commandRaise('invalid data for uniform "'+Hi+'"',wa.commandStr)}else $a(ki)?oo=jf(function(bi){var Ba=bi.global.def("[",_n(ki.length,function(Gi){return Se.command(typeof ki[Gi]=="number"||typeof ki[Gi]=="boolean","invalid uniform "+Hi,bi.commandStr),ki[Gi]}),"]");return Ba}):Se.commandRaise('invalid or missing data for uniform "'+Hi+'"',wa.commandStr);oo.value=ki,bo[Hi]=oo}),Object.keys(Ti).forEach(function(Hi){var ki=Ti[Hi];bo[Hi]=qf(ki,function(oo,Wa){return oo.invoke(Wa,ki)})}),bo}function tl(Ka,wa){var Ai=Ka.static,Ti=Ka.dynamic,bo={};return Object.keys(Ai).forEach(function(Hi){var ki=Ai[Hi],oo=Br.id(Hi),Wa=new Ii;if(Ap(ki))Wa.state=kd,Wa.buffer=so.getBuffer(so.create(ki,Dn,!1,!0)),Wa.type=0;else{var bi=so.getBuffer(ki);if(bi)Wa.state=kd,Wa.buffer=bi,Wa.type=0;else if(Se.command(typeof ki=="object"&&ki,"invalid data for attribute "+Hi,wa.commandStr),"constant"in ki){var Ba=ki.constant;Wa.buffer="null",Wa.state=xf,typeof Ba=="number"?Wa.x=Ba:(Se.command($a(Ba)&&Ba.length>0&&Ba.length<=4,"invalid constant for attribute "+Hi,wa.commandStr),Gd.forEach(function(Kl,fd){fd<Ba.length&&(Wa[Kl]=Ba[fd])}))}else{Ap(ki.buffer)?bi=so.getBuffer(so.create(ki.buffer,Dn,!1,!0)):bi=so.getBuffer(ki.buffer),Se.command(!!bi,'missing buffer for attribute "'+Hi+'"',wa.commandStr);var Gi=ki.offset|0;Se.command(Gi>=0,'invalid offset for attribute "'+Hi+'"',wa.commandStr);var Do=ki.stride|0;Se.command(Do>=0&&Do<256,'invalid stride for attribute "'+Hi+'", must be integer betweeen [0, 255]',wa.commandStr);var Ps=ki.size|0;Se.command(!("size"in ki)||Ps>0&&Ps<=4,'invalid size for attribute "'+Hi+'", must be 1,2,3,4',wa.commandStr);var zs=!!ki.normalized,vs=0;"type"in ki&&(Se.commandParameter(ki.type,Da,"invalid type for attribute "+Hi,wa.commandStr),vs=Da[ki.type]);var uc=ki.divisor|0;"divisor"in ki&&(Se.command(uc===0||vc,'cannot specify divisor for attribute "'+Hi+'", instancing not supported',wa.commandStr),Se.command(uc>=0,'invalid divisor for attribute "'+Hi+'"',wa.commandStr)),Se.optional(function(){var Kl=wa.commandStr,fd=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(ki).forEach(function(kl){Se.command(fd.indexOf(kl)>=0,'unknown parameter "'+kl+'" for attribute pointer "'+Hi+'" (valid parameters are '+fd+")",Kl)})}),Wa.buffer=bi,Wa.state=kd,Wa.size=Ps,Wa.normalized=zs,Wa.type=vs||bi.dtype,Wa.offset=Gi,Wa.stride=Do,Wa.divisor=uc}}bo[Hi]=jf(function(Kl,fd){var kl=Kl.attribCache;if(oo in kl)return kl[oo];var Ic={isStream:!1};return Object.keys(Wa).forEach(function(Pu){Ic[Pu]=Wa[Pu]}),Wa.buffer&&(Ic.buffer=Kl.link(Wa.buffer),Ic.type=Ic.type||Ic.buffer+".dtype"),kl[oo]=Ic,Ic})}),Object.keys(Ti).forEach(function(Hi){var ki=Ti[Hi];function oo(Wa,bi){var Ba=Wa.invoke(bi,ki),Gi=Wa.shared,Do=Wa.constants,Ps=Gi.isBufferArgs,zs=Gi.buffer;Se.optional(function(){Wa.assert(bi,Ba+"&&(typeof "+Ba+'==="object"||typeof '+Ba+'==="function")&&('+Ps+"("+Ba+")||"+zs+".getBuffer("+Ba+")||"+zs+".getBuffer("+Ba+".buffer)||"+Ps+"("+Ba+'.buffer)||("constant" in '+Ba+"&&(typeof "+Ba+'.constant==="number"||'+Gi.isArrayLike+"("+Ba+".constant))))",'invalid dynamic attribute "'+Hi+'"')});var vs={isStream:bi.def(!1)},uc=new Ii;uc.state=kd,Object.keys(uc).forEach(function(Ic){vs[Ic]=bi.def(""+uc[Ic])});var Kl=vs.buffer,fd=vs.type;bi("if(",Ps,"(",Ba,")){",vs.isStream,"=true;",Kl,"=",zs,".createStream(",Dn,",",Ba,");",fd,"=",Kl,".dtype;","}else{",Kl,"=",zs,".getBuffer(",Ba,");","if(",Kl,"){",fd,"=",Kl,".dtype;",'}else if("constant" in ',Ba,"){",vs.state,"=",xf,";","if(typeof "+Ba+'.constant === "number"){',vs[Gd[0]],"=",Ba,".constant;",Gd.slice(1).map(function(Ic){return vs[Ic]}).join("="),"=0;","}else{",Gd.map(function(Ic,Pu){return vs[Ic]+"="+Ba+".constant.length>"+Pu+"?"+Ba+".constant["+Pu+"]:0;"}).join(""),"}}else{","if(",Ps,"(",Ba,".buffer)){",Kl,"=",zs,".createStream(",Dn,",",Ba,".buffer);","}else{",Kl,"=",zs,".getBuffer(",Ba,".buffer);","}",fd,'="type" in ',Ba,"?",Do.glTypes,"[",Ba,".type]:",Kl,".dtype;",vs.normalized,"=!!",Ba,".normalized;");function kl(Ic){bi(vs[Ic],"=",Ba,".",Ic,"|0;")}return kl("size"),kl("offset"),kl("stride"),kl("divisor"),bi("}}"),bi.exit("if(",vs.isStream,"){",zs,".destroyStream(",Kl,");","}"),vs}bo[Hi]=qf(ki,oo)}),bo}function iu(Ka,wa){var Ai=Ka.static,Ti=Ka.dynamic;if(fs in Ai){var bo=Ai[fs];return bo!==null&&Ys.getVAO(bo)===null&&(bo=Ys.createVAO(bo)),jf(function(ki){return ki.link(Ys.getVAO(bo))})}else if(fs in Ti){var Hi=Ti[fs];return qf(Hi,function(ki,oo){var Wa=ki.invoke(oo,Hi);return oo.def(ki.shared.vao+".getVAO("+Wa+")")})}return null}function sd(Ka){var wa=Ka.static,Ai=Ka.dynamic,Ti={};return Object.keys(wa).forEach(function(bo){var Hi=wa[bo];Ti[bo]=jf(function(ki,oo){return typeof Hi=="number"||typeof Hi=="boolean"?""+Hi:ki.link(Hi)})}),Object.keys(Ai).forEach(function(bo){var Hi=Ai[bo];Ti[bo]=qf(Hi,function(ki,oo){return ki.invoke(oo,Hi)})}),Ti}function md(Ka,wa,Ai,Ti,bo){var Hi=Ka.static,ki=Ka.dynamic;Se.optional(function(){var kl=[Ws,re,Ae,ct,wt,jr,an,Xa,id,fs].concat(It);function Ic(Pu){Object.keys(Pu).forEach(function(sf){Se.command(kl.indexOf(sf)>=0,'unknown parameter "'+sf+'"',bo.commandStr)})}Ic(Hi),Ic(ki)});var oo=ts(Ka,wa),Wa=Xi(Ka,bo),bi=ss(Ka,Wa,bo),Ba=ac(Ka,bo),Gi=Ll(Ka,bo),Do=Os(Ka,bo,oo);function Ps(kl){var Ic=bi[kl];Ic&&(Gi[kl]=Ic)}Ps(lu),Ps(An(vu));var zs=Object.keys(Gi).length>0,vs={framebuffer:Wa,draw:Ba,shader:Do,state:Gi,dirty:zs,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(vs.profile=to(Ka,bo),vs.uniforms=nu(Ai,bo),vs.drawVAO=vs.scopeVAO=iu(Ka,bo),!vs.drawVAO&&Do.program&&!oo&&ei.angle_instanced_arrays){var uc=!0,Kl=Do.program.attributes.map(function(kl){var Ic=wa.static[kl];return uc=uc&&!!Ic,Ic});if(uc&&Kl.length>0){var fd=Ys.getVAO(Ys.createVAO(Kl));vs.drawVAO=new kp(null,null,null,function(kl,Ic){return kl.link(fd)}),vs.useVAO=!0}}return oo?vs.useVAO=!0:vs.attributes=tl(wa,bo),vs.context=sd(Ti,bo),vs}function dd(Ka,wa,Ai){var Ti=Ka.shared,bo=Ti.context,Hi=Ka.scope();Object.keys(Ai).forEach(function(ki){wa.save(bo,"."+ki);var oo=Ai[ki],Wa=oo.append(Ka,wa);Array.isArray(Wa)?Hi(bo,".",ki,"=[",Wa.join(),"];"):Hi(bo,".",ki,"=",Wa,";")}),wa(Hi)}function Xl(Ka,wa,Ai,Ti){var bo=Ka.shared,Hi=bo.gl,ki=bo.framebuffer,oo;kt&&(oo=wa.def(bo.extensions,".webgl_draw_buffers"));var Wa=Ka.constants,bi=Wa.drawBuffer,Ba=Wa.backBuffer,Gi;Ai?Gi=Ai.append(Ka,wa):Gi=wa.def(ki,".next"),Ti||wa("if(",Gi,"!==",ki,".cur){"),wa("if(",Gi,"){",Hi,".bindFramebuffer(",Pp,",",Gi,".framebuffer);"),kt&&wa(oo,".drawBuffersWEBGL(",bi,"[",Gi,".colorAttachments.length]);"),wa("}else{",Hi,".bindFramebuffer(",Pp,",null);"),kt&&wa(oo,".drawBuffersWEBGL(",Ba,");"),wa("}",ki,".cur=",Gi,";"),Ti||wa("}")}function vd(Ka,wa,Ai){var Ti=Ka.shared,bo=Ti.gl,Hi=Ka.current,ki=Ka.next,oo=Ti.current,Wa=Ti.next,bi=Ka.cond(oo,".dirty");It.forEach(function(Ba){var Gi=An(Ba);if(!(Gi in Ai.state)){var Do,Ps;if(Gi in ki){Do=ki[Gi],Ps=Hi[Gi];var zs=_n(Pe[Gi].length,function(uc){return bi.def(Do,"[",uc,"]")});bi(Ka.cond(zs.map(function(uc,Kl){return uc+"!=="+Ps+"["+Kl+"]"}).join("||")).then(bo,".",fn[Gi],"(",zs,");",zs.map(function(uc,Kl){return Ps+"["+Kl+"]="+uc}).join(";"),";"))}else{Do=bi.def(Wa,".",Gi);var vs=Ka.cond(Do,"!==",oo,".",Gi);bi(vs),Gi in sn?vs(Ka.cond(Do).then(bo,".enable(",sn[Gi],");").else(bo,".disable(",sn[Gi],");"),oo,".",Gi,"=",Do,";"):vs(bo,".",fn[Gi],"(",Do,");",oo,".",Gi,"=",Do,";")}}}),Object.keys(Ai.state).length===0&&bi(oo,".dirty=false;"),wa(bi)}function ff(Ka,wa,Ai,Ti){var bo=Ka.shared,Hi=Ka.current,ki=bo.current,oo=bo.gl;hv(Object.keys(Ai)).forEach(function(Wa){var bi=Ai[Wa];if(!(Ti&&!Ti(bi))){var Ba=bi.append(Ka,wa);if(sn[Wa]){var Gi=sn[Wa];bp(bi)?Ba?wa(oo,".enable(",Gi,");"):wa(oo,".disable(",Gi,");"):wa(Ka.cond(Ba).then(oo,".enable(",Gi,");").else(oo,".disable(",Gi,");")),wa(ki,".",Wa,"=",Ba,";")}else if($a(Ba)){var Do=Hi[Wa];wa(oo,".",fn[Wa],"(",Ba,");",Ba.map(function(Ps,zs){return Do+"["+zs+"]="+Ps}).join(";"),";")}else wa(oo,".",fn[Wa],"(",Ba,");",ki,".",Wa,"=",Ba,";")}})}function Zd(Ka,wa){vc&&(Ka.instancing=wa.def(Ka.shared.extensions,".angle_instanced_arrays"))}function Zl(Ka,wa,Ai,Ti,bo){var Hi=Ka.shared,ki=Ka.stats,oo=Hi.current,Wa=Hi.timer,bi=Ai.profile;function Ba(){return typeof performance=="undefined"?"Date.now()":"performance.now()"}var Gi,Do;function Ps(kl){Gi=wa.def(),kl(Gi,"=",Ba(),";"),typeof bo=="string"?kl(ki,".count+=",bo,";"):kl(ki,".count++;"),Oc&&(Ti?(Do=wa.def(),kl(Do,"=",Wa,".getNumPendingQueries();")):kl(Wa,".beginQuery(",ki,");"))}function zs(kl){kl(ki,".cpuTime+=",Ba(),"-",Gi,";"),Oc&&(Ti?kl(Wa,".pushScopeStats(",Do,",",Wa,".getNumPendingQueries(),",ki,");"):kl(Wa,".endQuery();"))}function vs(kl){var Ic=wa.def(oo,".profile");wa(oo,".profile=",kl,";"),wa.exit(oo,".profile=",Ic,";")}var uc;if(bi){if(bp(bi)){bi.enable?(Ps(wa),zs(wa.exit),vs("true")):vs("false");return}uc=bi.append(Ka,wa),vs(uc)}else uc=wa.def(oo,".profile");var Kl=Ka.block();Ps(Kl),wa("if(",uc,"){",Kl,"}");var fd=Ka.block();zs(fd),wa.exit("if(",uc,"){",fd,"}")}function wf(Ka,wa,Ai,Ti,bo){var Hi=Ka.shared;function ki(Wa){switch(Wa){case _l:case Cd:case Ff:return 2;case Wl:case Gu:case pp:return 3;case Hu:case ol:case Vu:return 4;default:return 1}}function oo(Wa,bi,Ba){var Gi=Hi.gl,Do=wa.def(Wa,".location"),Ps=wa.def(Hi.attributes,"[",Do,"]"),zs=Ba.state,vs=Ba.buffer,uc=[Ba.x,Ba.y,Ba.z,Ba.w],Kl=["buffer","normalized","offset","stride"];function fd(){wa("if(!",Ps,".buffer){",Gi,".enableVertexAttribArray(",Do,");}");var Ic=Ba.type,Pu;if(Ba.size?Pu=wa.def(Ba.size,"||",bi):Pu=bi,wa("if(",Ps,".type!==",Ic,"||",Ps,".size!==",Pu,"||",Kl.map(function($f){return Ps+"."+$f+"!=="+Ba[$f]}).join("||"),"){",Gi,".bindBuffer(",Dn,",",vs,".buffer);",Gi,".vertexAttribPointer(",[Do,Pu,Ic,Ba.normalized,Ba.stride,Ba.offset],");",Ps,".type=",Ic,";",Ps,".size=",Pu,";",Kl.map(function($f){return Ps+"."+$f+"="+Ba[$f]+";"}).join(""),"}"),vc){var sf=Ba.divisor;wa("if(",Ps,".divisor!==",sf,"){",Ka.instancing,".vertexAttribDivisorANGLE(",[Do,sf],");",Ps,".divisor=",sf,";}")}}function kl(){wa("if(",Ps,".buffer){",Gi,".disableVertexAttribArray(",Do,");",Ps,".buffer=null;","}if(",Gd.map(function(Ic,Pu){return Ps+"."+Ic+"!=="+uc[Pu]}).join("||"),"){",Gi,".vertexAttrib4f(",Do,",",uc,");",Gd.map(function(Ic,Pu){return Ps+"."+Ic+"="+uc[Pu]+";"}).join(""),"}")}zs===kd?fd():zs===xf?kl():(wa("if(",zs,"===",kd,"){"),fd(),wa("}else{"),kl(),wa("}"))}Ti.forEach(function(Wa){var bi=Wa.name,Ba=Ai.attributes[bi],Gi;if(Ba){if(!bo(Ba))return;Gi=Ba.append(Ka,wa)}else{if(!bo(Eh))return;var Do=Ka.scopeAttrib(bi);Se.optional(function(){Ka.assert(wa,Do+".state","missing attribute "+bi)}),Gi={},Object.keys(new Ii).forEach(function(Ps){Gi[Ps]=wa.def(Do,".",Ps)})}oo(Ka.link(Wa),ki(Wa.info.type),Gi)})}function Wd(Ka,wa,Ai,Ti,bo){for(var Hi=Ka.shared,ki=Hi.gl,oo,Wa=0;Wa<Ti.length;++Wa){var bi=Ti[Wa],Ba=bi.name,Gi=bi.info.type,Do=Ai.uniforms[Ba],Ps=Ka.link(bi),zs=Ps+".location",vs;if(Do){if(!bo(Do))continue;if(bp(Do)){var uc=Do.value;if(Se.command(uc!==null&&typeof uc!="undefined",'missing uniform "'+Ba+'"',Ka.commandStr),Gi===wp||Gi===Tp){Se.command(typeof uc=="function"&&(Gi===wp&&(uc._reglType==="texture2d"||uc._reglType==="framebuffer")||Gi===Tp&&(uc._reglType==="textureCube"||uc._reglType==="framebufferCube")),"invalid texture for uniform "+Ba,Ka.commandStr);var Kl=Ka.link(uc._texture||uc.color[0]._texture);wa(ki,".uniform1i(",zs,",",Kl+".bind());"),wa.exit(Kl,".unbind();")}else if(Gi===lf||Gi===cp||Gi===Gf){Se.optional(function(){Se.command($a(uc),"invalid matrix for uniform "+Ba,Ka.commandStr),Se.command(Gi===lf&&uc.length===4||Gi===cp&&uc.length===9||Gi===Gf&&uc.length===16,"invalid length for matrix uniform "+Ba,Ka.commandStr)});var fd=Ka.global.def("new Float32Array(["+Array.prototype.slice.call(uc)+"])"),kl=2;Gi===cp?kl=3:Gi===Gf&&(kl=4),wa(ki,".uniformMatrix",kl,"fv(",zs,",false,",fd,");")}else{switch(Gi){case $s:Se.commandType(uc,"number","uniform "+Ba,Ka.commandStr),oo="1f";break;case _l:Se.command($a(uc)&&uc.length===2,"uniform "+Ba,Ka.commandStr),oo="2f";break;case Wl:Se.command($a(uc)&&uc.length===3,"uniform "+Ba,Ka.commandStr),oo="3f";break;case Hu:Se.command($a(uc)&&uc.length===4,"uniform "+Ba,Ka.commandStr),oo="4f";break;case Md:Se.commandType(uc,"boolean","uniform "+Ba,Ka.commandStr),oo="1i";break;case gd:Se.commandType(uc,"number","uniform "+Ba,Ka.commandStr),oo="1i";break;case Ff:Se.command($a(uc)&&uc.length===2,"uniform "+Ba,Ka.commandStr),oo="2i";break;case Cd:Se.command($a(uc)&&uc.length===2,"uniform "+Ba,Ka.commandStr),oo="2i";break;case pp:Se.command($a(uc)&&uc.length===3,"uniform "+Ba,Ka.commandStr),oo="3i";break;case Gu:Se.command($a(uc)&&uc.length===3,"uniform "+Ba,Ka.commandStr),oo="3i";break;case Vu:Se.command($a(uc)&&uc.length===4,"uniform "+Ba,Ka.commandStr),oo="4i";break;case ol:Se.command($a(uc)&&uc.length===4,"uniform "+Ba,Ka.commandStr),oo="4i";break}wa(ki,".uniform",oo,"(",zs,",",$a(uc)?Array.prototype.slice.call(uc):uc,");")}continue}else vs=Do.append(Ka,wa)}else{if(!bo(Eh))continue;vs=wa.def(Hi.uniforms,"[",Br.id(Ba),"]")}Gi===wp?(Se(!Array.isArray(vs),"must specify a scalar prop for textures"),wa("if(",vs,"&&",vs,'._reglType==="framebuffer"){',vs,"=",vs,".color[0];","}")):Gi===Tp&&(Se(!Array.isArray(vs),"must specify a scalar prop for cube maps"),wa("if(",vs,"&&",vs,'._reglType==="framebufferCube"){',vs,"=",vs,".color[0];","}")),Se.optional(function(){function Op(Mv,de){Ka.assert(wa,Mv,'bad data or missing for uniform "'+Ba+'". '+de)}function g0(Mv){Se(!Array.isArray(vs),"must not specify an array type for uniform"),Op("typeof "+vs+'==="'+Mv+'"',"invalid type, expected "+Mv)}function Rp(Mv,de){Array.isArray(vs)?Se(vs.length===Mv,"must have length "+Mv):Op(Hi.isArrayLike+"("+vs+")&&"+vs+".length==="+Mv,"invalid vector, should have length "+Mv,Ka.commandStr)}function by(Mv){Se(!Array.isArray(vs),"must not specify a value type"),Op("typeof "+vs+'==="function"&&'+vs+'._reglType==="texture'+(Mv===Ia?"2d":"Cube")+'"',"invalid texture type",Ka.commandStr)}switch(Gi){case gd:g0("number");break;case Cd:Rp(2,"number");break;case Gu:Rp(3,"number");break;case ol:Rp(4,"number");break;case $s:g0("number");break;case _l:Rp(2,"number");break;case Wl:Rp(3,"number");break;case Hu:Rp(4,"number");break;case Md:g0("boolean");break;case Ff:Rp(2,"boolean");break;case pp:Rp(3,"boolean");break;case Vu:Rp(4,"boolean");break;case lf:Rp(4,"number");break;case cp:Rp(9,"number");break;case Gf:Rp(16,"number");break;case wp:by(Ia);break;case Tp:by(Li);break}});var Ic=1;switch(Gi){case wp:case Tp:var Pu=wa.def(vs,"._texture");wa(ki,".uniform1i(",zs,",",Pu,".bind());"),wa.exit(Pu,".unbind();");continue;case gd:case Md:oo="1i";break;case Cd:case Ff:oo="2i",Ic=2;break;case Gu:case pp:oo="3i",Ic=3;break;case ol:case Vu:oo="4i",Ic=4;break;case $s:oo="1f";break;case _l:oo="2f",Ic=2;break;case Wl:oo="3f",Ic=3;break;case Hu:oo="4f",Ic=4;break;case lf:oo="Matrix2fv";break;case cp:oo="Matrix3fv";break;case Gf:oo="Matrix4fv";break}if(wa(ki,".uniform",oo,"(",zs,","),oo.charAt(0)==="M"){var sf=Math.pow(Gi-lf+2,2),$f=Ka.global.def("new Float32Array(",sf,")");Array.isArray(vs)?wa("false,(",_n(sf,function(Op){return $f+"["+Op+"]="+vs[Op]}),",",$f,")"):wa("false,(Array.isArray(",vs,")||",vs," instanceof Float32Array)?",vs,":(",_n(sf,function(Op){return $f+"["+Op+"]="+vs+"["+Op+"]"}),",",$f,")")}else Ic>1?wa(_n(Ic,function(Op){return Array.isArray(vs)?vs[Op]:vs+"["+Op+"]"})):(Se(!Array.isArray(vs),"uniform value must not be an array"),wa(vs));wa(");")}}function Al(Ka,wa,Ai,Ti){var bo=Ka.shared,Hi=bo.gl,ki=bo.draw,oo=Ti.draw;function Wa(){var Pu=oo.elements,sf,$f=wa;return Pu?((Pu.contextDep&&Ti.contextDynamic||Pu.propDep)&&($f=Ai),sf=Pu.append(Ka,$f)):sf=$f.def(ki,".",ct),sf&&$f("if("+sf+")"+Hi+".bindBuffer("+aa+","+sf+".buffer.buffer);"),sf}function bi(){var Pu=oo.count,sf,$f=wa;return Pu?((Pu.contextDep&&Ti.contextDynamic||Pu.propDep)&&($f=Ai),sf=Pu.append(Ka,$f),Se.optional(function(){Pu.MISSING&&Ka.assert(wa,"false","missing vertex count"),Pu.DYNAMIC&&Ka.assert($f,sf+">=0","missing vertex count")})):(sf=$f.def(ki,".",an),Se.optional(function(){Ka.assert($f,sf+">=0","missing vertex count")})),sf}var Ba=Wa();function Gi(Pu){var sf=oo[Pu];return sf?sf.contextDep&&Ti.contextDynamic||sf.propDep?sf.append(Ka,Ai):sf.append(Ka,wa):wa.def(ki,".",Pu)}var Do=Gi(wt),Ps=Gi(jr),zs=bi();if(typeof zs=="number"){if(zs===0)return}else Ai("if(",zs,"){"),Ai.exit("}");var vs,uc;vc&&(vs=Gi(Xa),uc=Ka.instancing);var Kl=Ba+".type",fd=oo.elements&&bp(oo.elements);function kl(){function Pu(){Ai(uc,".drawElementsInstancedANGLE(",[Do,zs,Kl,Ps+"<<(("+Kl+"-"+Nd+")>>1)",vs],");")}function sf(){Ai(uc,".drawArraysInstancedANGLE(",[Do,Ps,zs,vs],");")}Ba?fd?Pu():(Ai("if(",Ba,"){"),Pu(),Ai("}else{"),sf(),Ai("}")):sf()}function Ic(){function Pu(){Ai(Hi+".drawElements("+[Do,zs,Kl,Ps+"<<(("+Kl+"-"+Nd+")>>1)"]+");")}function sf(){Ai(Hi+".drawArrays("+[Do,Ps,zs]+");")}Ba?fd?Pu():(Ai("if(",Ba,"){"),Pu(),Ai("}else{"),sf(),Ai("}")):sf()}vc&&(typeof vs!="number"||vs>=0)?typeof vs=="string"?(Ai("if(",vs,">0){"),kl(),Ai("}else if(",vs,"<0){"),Ic(),Ai("}")):kl():Ic()}function Jl(Ka,wa,Ai,Ti,bo){var Hi=Za(),ki=Hi.proc("body",bo);return Se.optional(function(){Hi.commandStr=wa.commandStr,Hi.command=Hi.link(wa.commandStr)}),vc&&(Hi.instancing=ki.def(Hi.shared.extensions,".angle_instanced_arrays")),Ka(Hi,ki,Ai,Ti),Hi.compile().body}function mu(Ka,wa,Ai,Ti){Zd(Ka,wa),Ai.useVAO?Ai.drawVAO?wa(Ka.shared.vao,".setVAO(",Ai.drawVAO.append(Ka,wa),");"):wa(Ka.shared.vao,".setVAO(",Ka.shared.vao,".targetVAO);"):(wa(Ka.shared.vao,".setVAO(null);"),wf(Ka,wa,Ai,Ti.attributes,function(){return!0})),Wd(Ka,wa,Ai,Ti.uniforms,function(){return!0}),Al(Ka,wa,wa,Ai)}function gp(Ka,wa){var Ai=Ka.proc("draw",1);Zd(Ka,Ai),dd(Ka,Ai,wa.context),Xl(Ka,Ai,wa.framebuffer),vd(Ka,Ai,wa),ff(Ka,Ai,wa.state),Zl(Ka,Ai,wa,!1,!0);var Ti=wa.shader.progVar.append(Ka,Ai);if(Ai(Ka.shared.gl,".useProgram(",Ti,".program);"),wa.shader.program)mu(Ka,Ai,wa,wa.shader.program);else{Ai(Ka.shared.vao,".setVAO(null);");var bo=Ka.global.def("{}"),Hi=Ai.def(Ti,".id"),ki=Ai.def(bo,"[",Hi,"]");Ai(Ka.cond(ki).then(ki,".call(this,a0);").else(ki,"=",bo,"[",Hi,"]=",Ka.link(function(oo){return Jl(mu,Ka,wa,oo,1)}),"(",Ti,");",ki,".call(this,a0);"))}Object.keys(wa.state).length>0&&Ai(Ka.shared.current,".dirty=true;")}function jv(Ka,wa,Ai,Ti){Ka.batchId="a1",Zd(Ka,wa);function bo(){return!0}wf(Ka,wa,Ai,Ti.attributes,bo),Wd(Ka,wa,Ai,Ti.uniforms,bo),Al(Ka,wa,wa,Ai)}function Vv(Ka,wa,Ai,Ti){Zd(Ka,wa);var bo=Ai.contextDep,Hi=wa.def(),ki="a0",oo="a1",Wa=wa.def();Ka.shared.props=Wa,Ka.batchId=Hi;var bi=Ka.scope(),Ba=Ka.scope();wa(bi.entry,"for(",Hi,"=0;",Hi,"<",oo,";++",Hi,"){",Wa,"=",ki,"[",Hi,"];",Ba,"}",bi.exit);function Gi(Kl){return Kl.contextDep&&bo||Kl.propDep}function Do(Kl){return!Gi(Kl)}if(Ai.needsContext&&dd(Ka,Ba,Ai.context),Ai.needsFramebuffer&&Xl(Ka,Ba,Ai.framebuffer),ff(Ka,Ba,Ai.state,Gi),Ai.profile&&Gi(Ai.profile)&&Zl(Ka,Ba,Ai,!1,!0),Ti)Ai.useVAO?Ai.drawVAO?Gi(Ai.drawVAO)?Ba(Ka.shared.vao,".setVAO(",Ai.drawVAO.append(Ka,Ba),");"):bi(Ka.shared.vao,".setVAO(",Ai.drawVAO.append(Ka,bi),");"):bi(Ka.shared.vao,".setVAO(",Ka.shared.vao,".targetVAO);"):(bi(Ka.shared.vao,".setVAO(null);"),wf(Ka,bi,Ai,Ti.attributes,Do),wf(Ka,Ba,Ai,Ti.attributes,Gi)),Wd(Ka,bi,Ai,Ti.uniforms,Do),Wd(Ka,Ba,Ai,Ti.uniforms,Gi),Al(Ka,bi,Ba,Ai);else{var Ps=Ka.global.def("{}"),zs=Ai.shader.progVar.append(Ka,Ba),vs=Ba.def(zs,".id"),uc=Ba.def(Ps,"[",vs,"]");Ba(Ka.shared.gl,".useProgram(",zs,".program);","if(!",uc,"){",uc,"=",Ps,"[",vs,"]=",Ka.link(function(Kl){return Jl(jv,Ka,Ai,Kl,2)}),"(",zs,");}",uc,".call(this,a0[",Hi,"],",Hi,");")}}function oi(Ka,wa){var Ai=Ka.proc("batch",2);Ka.batchId="0",Zd(Ka,Ai);var Ti=!1,bo=!0;Object.keys(wa.context).forEach(function(Ps){Ti=Ti||wa.context[Ps].propDep}),Ti||(dd(Ka,Ai,wa.context),bo=!1);var Hi=wa.framebuffer,ki=!1;Hi?(Hi.propDep?Ti=ki=!0:Hi.contextDep&&Ti&&(ki=!0),ki||Xl(Ka,Ai,Hi)):Xl(Ka,Ai,null),wa.state.viewport&&wa.state.viewport.propDep&&(Ti=!0);function oo(Ps){return Ps.contextDep&&Ti||Ps.propDep}vd(Ka,Ai,wa),ff(Ka,Ai,wa.state,function(Ps){return!oo(Ps)}),(!wa.profile||!oo(wa.profile))&&Zl(Ka,Ai,wa,!1,"a1"),wa.contextDep=Ti,wa.needsContext=bo,wa.needsFramebuffer=ki;var Wa=wa.shader.progVar;if(Wa.contextDep&&Ti||Wa.propDep)Vv(Ka,Ai,wa,null);else{var bi=Wa.append(Ka,Ai);if(Ai(Ka.shared.gl,".useProgram(",bi,".program);"),wa.shader.program)Vv(Ka,Ai,wa,wa.shader.program);else{Ai(Ka.shared.vao,".setVAO(null);");var Ba=Ka.global.def("{}"),Gi=Ai.def(bi,".id"),Do=Ai.def(Ba,"[",Gi,"]");Ai(Ka.cond(Do).then(Do,".call(this,a0,a1);").else(Do,"=",Ba,"[",Gi,"]=",Ka.link(function(Ps){return Jl(Vv,Ka,wa,Ps,2)}),"(",bi,");",Do,".call(this,a0,a1);"))}}Object.keys(wa.state).length>0&&Ai(Ka.shared.current,".dirty=true;")}function rs(Ka,wa){var Ai=Ka.proc("scope",3);Ka.batchId="a2";var Ti=Ka.shared,bo=Ti.current;dd(Ka,Ai,wa.context),wa.framebuffer&&wa.framebuffer.append(Ka,Ai),hv(Object.keys(wa.state)).forEach(function(ki){var oo=wa.state[ki],Wa=oo.append(Ka,Ai);$a(Wa)?Wa.forEach(function(bi,Ba){Ai.set(Ka.next[ki],"["+Ba+"]",bi)}):Ai.set(Ti.next,"."+ki,Wa)}),Zl(Ka,Ai,wa,!0,!0),[ct,jr,an,Xa,wt].forEach(function(ki){var oo=wa.draw[ki];!oo||Ai.set(Ti.draw,"."+ki,""+oo.append(Ka,Ai))}),Object.keys(wa.uniforms).forEach(function(ki){var oo=wa.uniforms[ki].append(Ka,Ai);Array.isArray(oo)&&(oo="["+oo.join()+"]"),Ai.set(Ti.uniforms,"["+Br.id(ki)+"]",oo)}),Object.keys(wa.attributes).forEach(function(ki){var oo=wa.attributes[ki].append(Ka,Ai),Wa=Ka.scopeAttrib(ki);Object.keys(new Ii).forEach(function(bi){Ai.set(Wa,"."+bi,oo[bi])})}),wa.scopeVAO&&Ai.set(Ti.vao,".targetVAO",wa.scopeVAO.append(Ka,Ai));function Hi(ki){var oo=wa.shader[ki];oo&&Ai.set(Ti.shader,"."+ki,oo.append(Ka,Ai))}Hi(re),Hi(Ae),Object.keys(wa.state).length>0&&(Ai(bo,".dirty=true;"),Ai.exit(bo,".dirty=true;")),Ai("a1(",Ka.shared.context,",a0,",Ka.batchId,");")}function Vo(Ka){if(!(typeof Ka!="object"||$a(Ka))){for(var wa=Object.keys(Ka),Ai=0;Ai<wa.length;++Ai)if($e.isDynamic(Ka[wa[Ai]]))return!0;return!1}}function ul(Ka,wa,Ai){var Ti=wa.static[Ai];if(!Ti||!Vo(Ti))return;var bo=Ka.global,Hi=Object.keys(Ti),ki=!1,oo=!1,Wa=!1,bi=Ka.global.def("{}");Hi.forEach(function(Gi){var Do=Ti[Gi];if($e.isDynamic(Do)){typeof Do=="function"&&(Do=Ti[Gi]=$e.unbox(Do));var Ps=qf(Do,null);ki=ki||Ps.thisDep,Wa=Wa||Ps.propDep,oo=oo||Ps.contextDep}else{switch(bo(bi,".",Gi,"="),typeof Do){case"number":bo(Do);break;case"string":bo('"',Do,'"');break;case"object":Array.isArray(Do)&&bo("[",Do.join(),"]");break;default:bo(Ka.link(Do));break}bo(";")}});function Ba(Gi,Do){Hi.forEach(function(Ps){var zs=Ti[Ps];if(!!$e.isDynamic(zs)){var vs=Gi.invoke(Do,zs);Do(bi,".",Ps,"=",vs,";")}})}wa.dynamic[Ai]=new $e.DynamicVariable(ld,{thisDep:ki,contextDep:oo,propDep:Wa,ref:bi,append:Ba}),delete wa.static[Ai]}function xu(Ka,wa,Ai,Ti,bo){var Hi=Za();Hi.stats=Hi.link(bo),Object.keys(wa.static).forEach(function(oo){ul(Hi,wa,oo)}),on.forEach(function(oo){ul(Hi,Ka,oo)});var ki=md(Ka,wa,Ai,Ti,Hi);return gp(Hi,ki),rs(Hi,ki),oi(Hi,ki),m(Hi.compile(),{destroy:function(){ki.shader.program.destroy()}})}return{next:pt,current:Pe,procs:function(){var Ka=Za(),wa=Ka.proc("poll"),Ai=Ka.proc("refresh"),Ti=Ka.block();wa(Ti),Ai(Ti);var bo=Ka.shared,Hi=bo.gl,ki=bo.next,oo=bo.current;Ti(oo,".dirty=false;"),Xl(Ka,wa),Xl(Ka,Ai,null,!0);var Wa;vc&&(Wa=Ka.link(vc)),ei.oes_vertex_array_object&&Ai(Ka.link(ei.oes_vertex_array_object),".bindVertexArrayOES(null);");for(var bi=0;bi<Ao.maxAttributes;++bi){var Ba=Ai.def(bo.attributes,"[",bi,"]"),Gi=Ka.cond(Ba,".buffer");Gi.then(Hi,".enableVertexAttribArray(",bi,");",Hi,".bindBuffer(",Dn,",",Ba,".buffer.buffer);",Hi,".vertexAttribPointer(",bi,",",Ba,".size,",Ba,".type,",Ba,".normalized,",Ba,".stride,",Ba,".offset);").else(Hi,".disableVertexAttribArray(",bi,");",Hi,".vertexAttrib4f(",bi,",",Ba,".x,",Ba,".y,",Ba,".z,",Ba,".w);",Ba,".buffer=null;"),Ai(Gi),vc&&Ai(Wa,".vertexAttribDivisorANGLE(",bi,",",Ba,".divisor);")}return Ai(Ka.shared.vao,".currentVAO=null;",Ka.shared.vao,".setVAO(",Ka.shared.vao,".targetVAO);"),Object.keys(sn).forEach(function(Do){var Ps=sn[Do],zs=Ti.def(ki,".",Do),vs=Ka.block();vs("if(",zs,"){",Hi,".enable(",Ps,")}else{",Hi,".disable(",Ps,")}",oo,".",Do,"=",zs,";"),Ai(vs),wa("if(",zs,"!==",oo,".",Do,"){",vs,"}")}),Object.keys(fn).forEach(function(Do){var Ps=fn[Do],zs=Pe[Do],vs,uc,Kl=Ka.block();if(Kl(Hi,".",Ps,"("),$a(zs)){var fd=zs.length;vs=Ka.global.def(ki,".",Do),uc=Ka.global.def(oo,".",Do),Kl(_n(fd,function(kl){return vs+"["+kl+"]"}),");",_n(fd,function(kl){return uc+"["+kl+"]="+vs+"["+kl+"];"}).join("")),wa("if(",_n(fd,function(kl){return vs+"["+kl+"]!=="+uc+"["+kl+"]"}).join("||"),"){",Kl,"}")}else vs=Ti.def(ki,".",Do),uc=Ti.def(oo,".",Do),Kl(vs,");",oo,".",Do,"=",vs,";"),wa("if(",vs,"!==",uc,"){",Kl,"}");Ai(Kl)}),Ka.compile()}(),compile:xu}}function Lg(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var Fg=34918,xh=34919,gv=35007,vh=function(Br,ei){if(!ei.ext_disjoint_timer_query)return null;var Ao=[];function so(){return Ao.pop()||ei.ext_disjoint_timer_query.createQueryEXT()}function So(kt){Ao.push(kt)}var To=[];function Fs(kt){var Pe=so();ei.ext_disjoint_timer_query.beginQueryEXT(gv,Pe),To.push(Pe),lc(To.length-1,To.length,kt)}function rc(){ei.ext_disjoint_timer_query.endQueryEXT(gv)}function Ys(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var qs=[];function Qs(){return qs.pop()||new Ys}function Hc(kt){qs.push(kt)}var Oc=[];function lc(kt,Pe,pt){var It=Qs();It.startQueryIndex=kt,It.endQueryIndex=Pe,It.sum=0,It.stats=pt,Oc.push(It)}var Ii=[],No=[];function vc(){var kt,Pe,pt=To.length;if(pt!==0){No.length=Math.max(No.length,pt+1),Ii.length=Math.max(Ii.length,pt+1),Ii[0]=0,No[0]=0;var It=0;for(kt=0,Pe=0;Pe<To.length;++Pe){var sn=To[Pe];ei.ext_disjoint_timer_query.getQueryObjectEXT(sn,xh)?(It+=ei.ext_disjoint_timer_query.getQueryObjectEXT(sn,Fg),So(sn)):To[kt++]=sn,Ii[Pe+1]=It,No[Pe+1]=kt}for(To.length=kt,kt=0,Pe=0;Pe<Oc.length;++Pe){var fn=Oc[Pe],An=fn.startQueryIndex,ur=fn.endQueryIndex;fn.sum+=Ii[ur]-Ii[An];var Pr=No[An],hr=No[ur];hr===Pr?(fn.stats.gpuTime+=fn.sum/1e6,Hc(fn)):(fn.startQueryIndex=Pr,fn.endQueryIndex=hr,Oc[kt++]=fn)}Oc.length=kt}}return{beginQuery:Fs,endQuery:rc,pushScopeStats:lc,update:vc,getNumPendingQueries:function(){return To.length},clear:function(){Ao.push.apply(Ao,To);for(var Pe=0;Pe<Ao.length;Pe++)ei.ext_disjoint_timer_query.deleteQueryEXT(Ao[Pe]);To.length=0,Ao.length=0},restore:function(){To.length=0,Ao.length=0}}},Uh=16384,Sh=256,mv=1024,Jv=34962,mg="webglcontextlost",Zv="webglcontextrestored",hh=1,gh=2,kv=3;function $p(_r,Br){for(var ei=0;ei<_r.length;++ei)if(_r[ei]===Br)return ei;return-1}function od(_r){var Br=$n(_r);if(!Br)return null;var ei=Br.gl,Ao=ei.getContextAttributes(),so=ei.isContextLost(),So=hn(ei,Br);if(!So)return null;var To=Ot(),Fs=Lg(),rc=So.extensions,Ys=vh(ei,rc),qs=Tt(),Qs=ei.drawingBufferWidth,Hc=ei.drawingBufferHeight,Oc={tick:0,time:0,viewportWidth:Qs,viewportHeight:Hc,framebufferWidth:Qs,framebufferHeight:Hc,drawingBufferWidth:Qs,drawingBufferHeight:Hc,pixelRatio:Br.pixelRatio},lc={},Ii={elements:null,primitive:4,count:-1,offset:0,instances:-1},No=ea(ei,rc),vc=go(ei,Fs,Br,Pe),kt=ws(ei,rc,No,Fs,vc);function Pe(Al){return kt.destroyBuffer(Al)}var pt=Jn(ei,rc,vc,Fs),It=Rl(ei,To,Fs,Br),sn=wi(ei,rc,No,function(){ur.procs.poll()},Oc,Fs,Br),fn=Ci(ei,rc,No,Fs,Br),An=Mu(ei,rc,No,sn,fn,Fs),ur=Av(ei,To,rc,No,vc,pt,sn,An,lc,kt,It,Ii,Oc,Ys,Br),Pr=Od(ei,An,ur.procs.poll,Oc,Ao,rc,No),hr=ur.next,ha=ei.canvas,ya=[],Za=[],to=[],Xi=[Br.onDestroy],ss=null;function ts(){if(ya.length===0){Ys&&Ys.update(),ss=null;return}ss=Qe.next(ts),ff();for(var Al=ya.length-1;Al>=0;--Al){var Jl=ya[Al];Jl&&Jl(Oc,null,0)}ei.flush(),Ys&&Ys.update()}function Os(){!ss&&ya.length>0&&(ss=Qe.next(ts))}function ac(){ss&&(Qe.cancel(ts),ss=null)}function Ll(Al){Al.preventDefault(),so=!0,ac(),Za.forEach(function(Jl){Jl()})}function nu(Al){ei.getError(),so=!1,So.restore(),It.restore(),vc.restore(),sn.restore(),fn.restore(),An.restore(),kt.restore(),Ys&&Ys.restore(),ur.procs.refresh(),Os(),to.forEach(function(Jl){Jl()})}ha&&(ha.addEventListener(mg,Ll,!1),ha.addEventListener(Zv,nu,!1));function tl(){ya.length=0,ac(),ha&&(ha.removeEventListener(mg,Ll),ha.removeEventListener(Zv,nu)),It.clear(),An.clear(),fn.clear(),sn.clear(),pt.clear(),vc.clear(),kt.clear(),Ys&&Ys.clear(),Xi.forEach(function(Al){Al()})}function iu(Al){Se(!!Al,"invalid args to regl({...})"),Se.type(Al,"object","invalid args to regl({...})");function Jl(bo){var Hi=m({},bo);delete Hi.uniforms,delete Hi.attributes,delete Hi.context,delete Hi.vao,"stencil"in Hi&&Hi.stencil.op&&(Hi.stencil.opBack=Hi.stencil.opFront=Hi.stencil.op,delete Hi.stencil.op);function ki(oo){if(oo in Hi){var Wa=Hi[oo];delete Hi[oo],Object.keys(Wa).forEach(function(bi){Hi[oo+"."+bi]=Wa[bi]})}}return ki("blend"),ki("depth"),ki("cull"),ki("stencil"),ki("polygonOffset"),ki("scissor"),ki("sample"),"vao"in bo&&(Hi.vao=bo.vao),Hi}function mu(bo,Hi){var ki={},oo={};return Object.keys(bo).forEach(function(Wa){var bi=bo[Wa];if($e.isDynamic(bi)){oo[Wa]=$e.unbox(bi,Wa);return}else if(Hi&&Array.isArray(bi)){for(var Ba=0;Ba<bi.length;++Ba)if($e.isDynamic(bi[Ba])){oo[Wa]=$e.unbox(bi,Wa);return}}ki[Wa]=bi}),{dynamic:oo,static:ki}}var gp=mu(Al.context||{},!0),jv=mu(Al.uniforms||{},!0),Vv=mu(Al.attributes||{},!1),oi=mu(Jl(Al),!1),rs={gpuTime:0,cpuTime:0,count:0},Vo=ur.compile(oi,Vv,jv,gp,rs),ul=Vo.draw,xu=Vo.batch,Ka=Vo.scope,wa=[];function Ai(bo){for(;wa.length<bo;)wa.push(null);return wa}function Ti(bo,Hi){var ki;if(so&&Se.raise("context lost"),typeof bo=="function")return Ka.call(this,null,bo,0);if(typeof Hi=="function")if(typeof bo=="number")for(ki=0;ki<bo;++ki)Ka.call(this,null,Hi,ki);else if(Array.isArray(bo))for(ki=0;ki<bo.length;++ki)Ka.call(this,bo[ki],Hi,ki);else return Ka.call(this,bo,Hi,0);else if(typeof bo=="number"){if(bo>0)return xu.call(this,Ai(bo|0),bo|0)}else if(Array.isArray(bo)){if(bo.length)return xu.call(this,bo,bo.length)}else return ul.call(this,bo)}return m(Ti,{stats:rs,destroy:function(){Vo.destroy()}})}var sd=An.setFBO=iu({framebuffer:$e.define.call(null,hh,"framebuffer")});function md(Al,Jl){var mu=0;ur.procs.poll();var gp=Jl.color;gp&&(ei.clearColor(+gp[0]||0,+gp[1]||0,+gp[2]||0,+gp[3]||0),mu|=Uh),"depth"in Jl&&(ei.clearDepth(+Jl.depth),mu|=Sh),"stencil"in Jl&&(ei.clearStencil(Jl.stencil|0),mu|=mv),Se(!!mu,"called regl.clear with no buffer specified"),ei.clear(mu)}function dd(Al){if(Se(typeof Al=="object"&&Al,"regl.clear() takes an object as input"),"framebuffer"in Al)if(Al.framebuffer&&Al.framebuffer_reglType==="framebufferCube")for(var Jl=0;Jl<6;++Jl)sd(m({framebuffer:Al.framebuffer.faces[Jl]},Al),md);else sd(Al,md);else md(null,Al)}function Xl(Al){Se.type(Al,"function","regl.frame() callback must be a function"),ya.push(Al);function Jl(){var mu=$p(ya,Al);Se(mu>=0,"cannot cancel a frame twice");function gp(){var jv=$p(ya,gp);ya[jv]=ya[ya.length-1],ya.length-=1,ya.length<=0&&ac()}ya[mu]=gp}return Os(),{cancel:Jl}}function vd(){var Al=hr.viewport,Jl=hr.scissor_box;Al[0]=Al[1]=Jl[0]=Jl[1]=0,Oc.viewportWidth=Oc.framebufferWidth=Oc.drawingBufferWidth=Al[2]=Jl[2]=ei.drawingBufferWidth,Oc.viewportHeight=Oc.framebufferHeight=Oc.drawingBufferHeight=Al[3]=Jl[3]=ei.drawingBufferHeight}function ff(){Oc.tick+=1,Oc.time=Zl(),vd(),ur.procs.poll()}function Zd(){sn.refresh(),vd(),ur.procs.refresh(),Ys&&Ys.update()}function Zl(){return(Tt()-qs)/1e3}Zd();function wf(Al,Jl){Se.type(Jl,"function","listener callback must be a function");var mu;switch(Al){case"frame":return Xl(Jl);case"lost":mu=Za;break;case"restore":mu=to;break;case"destroy":mu=Xi;break;default:Se.raise("invalid event, must be one of frame,lost,restore,destroy")}return mu.push(Jl),{cancel:function(){for(var jv=0;jv<mu.length;++jv)if(mu[jv]===Jl){mu[jv]=mu[mu.length-1],mu.pop();return}}}}var Wd=m(iu,{clear:dd,prop:$e.define.bind(null,hh),context:$e.define.bind(null,gh),this:$e.define.bind(null,kv),draw:iu({}),buffer:function(Jl){return vc.create(Jl,Jv,!1,!1)},elements:function(Jl){return pt.create(Jl,!1)},texture:sn.create2D,cube:sn.createCube,renderbuffer:fn.create,framebuffer:An.create,framebufferCube:An.createCube,vao:kt.createVAO,attributes:Ao,frame:Xl,on:wf,limits:No,hasExtension:function(Jl){return No.extensions.indexOf(Jl.toLowerCase())>=0},read:Pr,destroy:tl,_gl:ei,_refresh:Zd,poll:function(){ff(),Ys&&Ys.update()},now:Zl,stats:Fs});return Br.onDone(null,Wd),Wd}return od})},fh9h:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=m;var E={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};function m(O,C){if(O==="display"&&E.hasOwnProperty(C))return E[C]}ce.exports=R.default},fmRc:function(ce,R,l){var E=l("Xi7e"),m=l("77Zs"),O=l("L8xA"),C=l("gCq4"),k=l("VaNO"),A=l("0Cz8");function S(y){var w=this.__data__=new E(y);this.size=w.size}S.prototype.clear=m,S.prototype.delete=O,S.prototype.get=C,S.prototype.has=k,S.prototype.set=A,ce.exports=S},foSv:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(C){return C.__proto__||Object.getPrototypeOf(C)},E(m)}},fqoZ:function(ce,R,l){"use strict";l.d(R,"g",function(){return F}),l.d(R,"c",function(){return J}),l.d(R,"a",function(){return X}),l.d(R,"b",function(){return ie}),l.d(R,"f",function(){return Q}),l.d(R,"e",function(){return W}),l.d(R,"h",function(){return ne}),l.d(R,"d",function(){return te});var E=l("Gz1q"),m={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function O(he){return he=Math.round(he),he<0?0:he>255?255:he}function C(he){return he=Math.round(he),he<0?0:he>360?360:he}function k(he){return he<0?0:he>1?1:he}function A(he){var oe=he;return oe.length&&oe.charAt(oe.length-1)==="%"?O(parseFloat(oe)/100*255):O(parseInt(oe,10))}function S(he){var oe=he;return oe.length&&oe.charAt(oe.length-1)==="%"?k(parseFloat(oe)/100):k(parseFloat(oe))}function y(he,oe,ge){return ge<0?ge+=1:ge>1&&(ge-=1),ge*6<1?he+(oe-he)*ge*6:ge*2<1?oe:ge*3<2?he+(oe-he)*(2/3-ge)*6:he}function w(he,oe,ge){return he+(oe-he)*ge}function x(he,oe,ge,me,Z){return he[0]=oe,he[1]=ge,he[2]=me,he[3]=Z,he}function T(he,oe){return he[0]=oe[0],he[1]=oe[1],he[2]=oe[2],he[3]=oe[3],he}var j=new E.a(20),D=null;function N(he,oe){D&&T(D,oe),D=j.put(he,D||oe.slice())}function F(he,oe){if(!!he){oe=oe||[];var ge=j.get(he);if(ge)return T(oe,ge);he=he+"";var me=he.replace(/ /g,"").toLowerCase();if(me in m)return T(oe,m[me]),N(he,oe),oe;var Z=me.length;if(me.charAt(0)==="#"){if(Z===4||Z===5){var xe=parseInt(me.slice(1,4),16);if(!(xe>=0&&xe<=4095)){x(oe,0,0,0,1);return}return x(oe,(xe&3840)>>4|(xe&3840)>>8,xe&240|(xe&240)>>4,xe&15|(xe&15)<<4,Z===5?parseInt(me.slice(4),16)/15:1),N(he,oe),oe}else if(Z===7||Z===9){var xe=parseInt(me.slice(1,7),16);if(!(xe>=0&&xe<=16777215)){x(oe,0,0,0,1);return}return x(oe,(xe&16711680)>>16,(xe&65280)>>8,xe&255,Z===9?parseInt(me.slice(7),16)/255:1),N(he,oe),oe}return}var Ee=me.indexOf("("),Le=me.indexOf(")");if(Ee!==-1&&Le+1===Z){var we=me.substr(0,Ee),fe=me.substr(Ee+1,Le-(Ee+1)).split(","),pe=1;switch(we){case"rgba":if(fe.length!==4)return fe.length===3?x(oe,+fe[0],+fe[1],+fe[2],1):x(oe,0,0,0,1);pe=S(fe.pop());case"rgb":if(fe.length>=3)return x(oe,A(fe[0]),A(fe[1]),A(fe[2]),fe.length===3?pe:S(fe[3])),N(he,oe),oe;x(oe,0,0,0,1);return;case"hsla":if(fe.length!==4){x(oe,0,0,0,1);return}return fe[3]=S(fe[3]),B(fe,oe),N(he,oe),oe;case"hsl":if(fe.length!==3){x(oe,0,0,0,1);return}return B(fe,oe),N(he,oe),oe;default:return}}x(oe,0,0,0,1)}}function B(he,oe){var ge=(parseFloat(he[0])%360+360)%360/360,me=S(he[1]),Z=S(he[2]),xe=Z<=.5?Z*(me+1):Z+me-Z*me,Ee=Z*2-xe;return oe=oe||[],x(oe,O(y(Ee,xe,ge+1/3)*255),O(y(Ee,xe,ge)*255),O(y(Ee,xe,ge-1/3)*255),1),he.length===4&&(oe[3]=he[3]),oe}function U(he){if(!!he){var oe=he[0]/255,ge=he[1]/255,me=he[2]/255,Z=Math.min(oe,ge,me),xe=Math.max(oe,ge,me),Ee=xe-Z,Le=(xe+Z)/2,we,fe;if(Ee===0)we=0,fe=0;else{Le<.5?fe=Ee/(xe+Z):fe=Ee/(2-xe-Z);var pe=((xe-oe)/6+Ee/2)/Ee,Ke=((xe-ge)/6+Ee/2)/Ee,Me=((xe-me)/6+Ee/2)/Ee;oe===xe?we=Me-Ke:ge===xe?we=1/3+pe-Me:me===xe&&(we=2/3+Ke-pe),we<0&&(we+=1),we>1&&(we-=1)}var ze=[we*360,fe,Le];return he[3]!=null&&ze.push(he[3]),ze}}function J(he,oe){var ge=F(he);if(ge){for(var me=0;me<3;me++)oe<0?ge[me]=ge[me]*(1-oe)|0:ge[me]=(255-ge[me])*oe+ge[me]|0,ge[me]>255?ge[me]=255:ge[me]<0&&(ge[me]=0);return ne(ge,ge.length===4?"rgba":"rgb")}}function $(he){var oe=F(he);if(oe)return((1<<24)+(oe[0]<<16)+(oe[1]<<8)+ +oe[2]).toString(16).slice(1)}function X(he,oe,ge){if(!(!(oe&&oe.length)||!(he>=0&&he<=1))){ge=ge||[];var me=he*(oe.length-1),Z=Math.floor(me),xe=Math.ceil(me),Ee=oe[Z],Le=oe[xe],we=me-Z;return ge[0]=O(w(Ee[0],Le[0],we)),ge[1]=O(w(Ee[1],Le[1],we)),ge[2]=O(w(Ee[2],Le[2],we)),ge[3]=k(w(Ee[3],Le[3],we)),ge}}var ee=X;function ie(he,oe,ge){if(!(!(oe&&oe.length)||!(he>=0&&he<=1))){var me=he*(oe.length-1),Z=Math.floor(me),xe=Math.ceil(me),Ee=F(oe[Z]),Le=F(oe[xe]),we=me-Z,fe=ne([O(w(Ee[0],Le[0],we)),O(w(Ee[1],Le[1],we)),O(w(Ee[2],Le[2],we)),k(w(Ee[3],Le[3],we))],"rgba");return ge?{color:fe,leftIndex:Z,rightIndex:xe,value:me}:fe}}var G=ie;function Q(he,oe,ge,me){var Z=F(he);if(he)return Z=U(Z),oe!=null&&(Z[0]=C(oe)),ge!=null&&(Z[1]=S(ge)),me!=null&&(Z[2]=S(me)),ne(B(Z),"rgba")}function W(he,oe){var ge=F(he);if(ge&&oe!=null)return ge[3]=k(oe),ne(ge,"rgba")}function ne(he,oe){if(!(!he||!he.length)){var ge=he[0]+","+he[1]+","+he[2];return(oe==="rgba"||oe==="hsva"||oe==="hsla")&&(ge+=","+he[3]),oe+"("+ge+")"}}function te(he,oe){var ge=F(he);return ge?(.299*ge[0]+.587*ge[1]+.114*ge[2])*ge[3]/255+(1-ge[3])*oe:0}function _e(){return ne([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}},fsL8:function(ce,R,l){var E=l("cDf5").default;function m(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ce.exports=m=function(){return O},ce.exports.__esModule=!0,ce.exports.default=ce.exports;var O={},C=Object.prototype,k=C.hasOwnProperty,A=Object.defineProperty||function(ge,me,Z){ge[me]=Z.value},S=typeof Symbol=="function"?Symbol:{},y=S.iterator||"@@iterator",w=S.asyncIterator||"@@asyncIterator",x=S.toStringTag||"@@toStringTag";function T(ge,me,Z){return Object.defineProperty(ge,me,{value:Z,enumerable:!0,configurable:!0,writable:!0}),ge[me]}try{T({},"")}catch(ge){T=function(Z,xe,Ee){return Z[xe]=Ee}}function j(ge,me,Z,xe){var Ee=me&&me.prototype instanceof F?me:F,Le=Object.create(Ee.prototype),we=new _e(xe||[]);return A(Le,"_invoke",{value:Q(ge,Z,we)}),Le}function D(ge,me,Z){try{return{type:"normal",arg:ge.call(me,Z)}}catch(xe){return{type:"throw",arg:xe}}}O.wrap=j;var N={};function F(){}function B(){}function U(){}var J={};T(J,y,function(){return this});var $=Object.getPrototypeOf,X=$&&$($(he([])));X&&X!==C&&k.call(X,y)&&(J=X);var ee=U.prototype=F.prototype=Object.create(J);function ie(ge){["next","throw","return"].forEach(function(me){T(ge,me,function(Z){return this._invoke(me,Z)})})}function G(ge,me){function Z(Ee,Le,we,fe){var pe=D(ge[Ee],ge,Le);if(pe.type!=="throw"){var Ke=pe.arg,Me=Ke.value;return Me&&E(Me)=="object"&&k.call(Me,"__await")?me.resolve(Me.__await).then(function(ze){Z("next",ze,we,fe)},function(ze){Z("throw",ze,we,fe)}):me.resolve(Me).then(function(ze){Ke.value=ze,we(Ke)},function(ze){return Z("throw",ze,we,fe)})}fe(pe.arg)}var xe;A(this,"_invoke",{value:function(Le,we){function fe(){return new me(function(pe,Ke){Z(Le,we,pe,Ke)})}return xe=xe?xe.then(fe,fe):fe()}})}function Q(ge,me,Z){var xe="suspendedStart";return function(Ee,Le){if(xe==="executing")throw new Error("Generator is already running");if(xe==="completed"){if(Ee==="throw")throw Le;return oe()}for(Z.method=Ee,Z.arg=Le;;){var we=Z.delegate;if(we){var fe=W(we,Z);if(fe){if(fe===N)continue;return fe}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(xe==="suspendedStart")throw xe="completed",Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);xe="executing";var pe=D(ge,me,Z);if(pe.type==="normal"){if(xe=Z.done?"completed":"suspendedYield",pe.arg===N)continue;return{value:pe.arg,done:Z.done}}pe.type==="throw"&&(xe="completed",Z.method="throw",Z.arg=pe.arg)}}}function W(ge,me){var Z=me.method,xe=ge.iterator[Z];if(xe===void 0)return me.delegate=null,Z==="throw"&&ge.iterator.return&&(me.method="return",me.arg=void 0,W(ge,me),me.method==="throw")||Z!=="return"&&(me.method="throw",me.arg=new TypeError("The iterator does not provide a '"+Z+"' method")),N;var Ee=D(xe,ge.iterator,me.arg);if(Ee.type==="throw")return me.method="throw",me.arg=Ee.arg,me.delegate=null,N;var Le=Ee.arg;return Le?Le.done?(me[ge.resultName]=Le.value,me.next=ge.nextLoc,me.method!=="return"&&(me.method="next",me.arg=void 0),me.delegate=null,N):Le:(me.method="throw",me.arg=new TypeError("iterator result is not an object"),me.delegate=null,N)}function ne(ge){var me={tryLoc:ge[0]};1 in ge&&(me.catchLoc=ge[1]),2 in ge&&(me.finallyLoc=ge[2],me.afterLoc=ge[3]),this.tryEntries.push(me)}function te(ge){var me=ge.completion||{};me.type="normal",delete me.arg,ge.completion=me}function _e(ge){this.tryEntries=[{tryLoc:"root"}],ge.forEach(ne,this),this.reset(!0)}function he(ge){if(ge){var me=ge[y];if(me)return me.call(ge);if(typeof ge.next=="function")return ge;if(!isNaN(ge.length)){var Z=-1,xe=function Ee(){for(;++Z<ge.length;)if(k.call(ge,Z))return Ee.value=ge[Z],Ee.done=!1,Ee;return Ee.value=void 0,Ee.done=!0,Ee};return xe.next=xe}}return{next:oe}}function oe(){return{value:void 0,done:!0}}return B.prototype=U,A(ee,"constructor",{value:U,configurable:!0}),A(U,"constructor",{value:B,configurable:!0}),B.displayName=T(U,x,"GeneratorFunction"),O.isGeneratorFunction=function(ge){var me=typeof ge=="function"&&ge.constructor;return!!me&&(me===B||(me.displayName||me.name)==="GeneratorFunction")},O.mark=function(ge){return Object.setPrototypeOf?Object.setPrototypeOf(ge,U):(ge.__proto__=U,T(ge,x,"GeneratorFunction")),ge.prototype=Object.create(ee),ge},O.awrap=function(ge){return{__await:ge}},ie(G.prototype),T(G.prototype,w,function(){return this}),O.AsyncIterator=G,O.async=function(ge,me,Z,xe,Ee){Ee===void 0&&(Ee=Promise);var Le=new G(j(ge,me,Z,xe),Ee);return O.isGeneratorFunction(me)?Le:Le.next().then(function(we){return we.done?we.value:Le.next()})},ie(ee),T(ee,x,"Generator"),T(ee,y,function(){return this}),T(ee,"toString",function(){return"[object Generator]"}),O.keys=function(ge){var me=Object(ge),Z=[];for(var xe in me)Z.push(xe);return Z.reverse(),function Ee(){for(;Z.length;){var Le=Z.pop();if(Le in me)return Ee.value=Le,Ee.done=!1,Ee}return Ee.done=!0,Ee}},O.values=he,_e.prototype={constructor:_e,reset:function(me){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(te),!me)for(var Z in this)Z.charAt(0)==="t"&&k.call(this,Z)&&!isNaN(+Z.slice(1))&&(this[Z]=void 0)},stop:function(){this.done=!0;var me=this.tryEntries[0].completion;if(me.type==="throw")throw me.arg;return this.rval},dispatchException:function(me){if(this.done)throw me;var Z=this;function xe(Ke,Me){return we.type="throw",we.arg=me,Z.next=Ke,Me&&(Z.method="next",Z.arg=void 0),!!Me}for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var Le=this.tryEntries[Ee],we=Le.completion;if(Le.tryLoc==="root")return xe("end");if(Le.tryLoc<=this.prev){var fe=k.call(Le,"catchLoc"),pe=k.call(Le,"finallyLoc");if(fe&&pe){if(this.prev<Le.catchLoc)return xe(Le.catchLoc,!0);if(this.prev<Le.finallyLoc)return xe(Le.finallyLoc)}else if(fe){if(this.prev<Le.catchLoc)return xe(Le.catchLoc,!0)}else{if(!pe)throw new Error("try statement without catch or finally");if(this.prev<Le.finallyLoc)return xe(Le.finallyLoc)}}}},abrupt:function(me,Z){for(var xe=this.tryEntries.length-1;xe>=0;--xe){var Ee=this.tryEntries[xe];if(Ee.tryLoc<=this.prev&&k.call(Ee,"finallyLoc")&&this.prev<Ee.finallyLoc){var Le=Ee;break}}Le&&(me==="break"||me==="continue")&&Le.tryLoc<=Z&&Z<=Le.finallyLoc&&(Le=null);var we=Le?Le.completion:{};return we.type=me,we.arg=Z,Le?(this.method="next",this.next=Le.finallyLoc,N):this.complete(we)},complete:function(me,Z){if(me.type==="throw")throw me.arg;return me.type==="break"||me.type==="continue"?this.next=me.arg:me.type==="return"?(this.rval=this.arg=me.arg,this.method="return",this.next="end"):me.type==="normal"&&Z&&(this.next=Z),N},finish:function(me){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var xe=this.tryEntries[Z];if(xe.finallyLoc===me)return this.complete(xe.completion,xe.afterLoc),te(xe),N}},catch:function(me){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var xe=this.tryEntries[Z];if(xe.tryLoc===me){var Ee=xe.completion;if(Ee.type==="throw"){var Le=Ee.arg;te(xe)}return Le}}throw new Error("illegal catch attempt")},delegateYield:function(me,Z,xe){return this.delegate={iterator:he(me),resultName:Z,nextLoc:xe},this.method==="next"&&(this.arg=void 0),N}},O}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},ftKO:function(ce,R){var l="__lodash_hash_undefined__";function E(m){return this.__data__.set(m,l),this}ce.exports=E},fyUT:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("U8pU"),C=l("ODXe"),k=l("8Skl"),A=l("VTBJ"),S=l("q1tI"),y={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"},w=y,x=l("6VBw"),T=function(_n,bn){return S.createElement(x.a,Object(A.a)(Object(A.a)({},_n),{},{ref:bn,icon:w}))};T.displayName="UpOutlined";var j=S.forwardRef(T),D=l("TSYQ"),N=l.n(D),F=l("Ff2n"),B={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(_n){var bn=_n.keyCode;if(_n.altKey&&!_n.ctrlKey||_n.metaKey||bn>=B.F1&&bn<=B.F12)return!1;switch(bn){case B.ALT:case B.CAPS_LOCK:case B.CONTEXT_MENU:case B.CTRL:case B.DOWN:case B.END:case B.ESC:case B.HOME:case B.INSERT:case B.LEFT:case B.MAC_FF_META:case B.META:case B.NUMLOCK:case B.NUM_CENTER:case B.PAGE_DOWN:case B.PAGE_UP:case B.PAUSE:case B.PRINT_SCREEN:case B.RIGHT:case B.SHIFT:case B.UP:case B.WIN_KEY:case B.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(_n){if(_n>=B.ZERO&&_n<=B.NINE||_n>=B.NUM_ZERO&&_n<=B.NUM_MULTIPLY||_n>=B.A&&_n<=B.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&_n===0)return!0;switch(_n){case B.SPACE:case B.QUESTION_MARK:case B.NUM_PLUS:case B.NUM_MINUS:case B.NUM_PERIOD:case B.NUM_DIVISION:case B.SEMICOLON:case B.DASH:case B.EQUALS:case B.COMMA:case B.PERIOD:case B.SLASH:case B.APOSTROPHE:case B.SINGLE_QUOTE:case B.OPEN_SQUARE_BRACKET:case B.BACKSLASH:case B.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},U=B;function J(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var $=J()?S.useLayoutEffect:S.useEffect,X=function(_n,bn){var Bn=S.useRef(!0);$(function(){return _n(Bn.current)},bn),$(function(){return Bn.current=!1,function(){Bn.current=!0}},[])},ee=function(_n,bn){X(function(Bn){if(!Bn)return _n()},bn)},ie=X,G=l("TOwV");function Q(hn,_n,bn){var Bn=S.useRef({});return(!("value"in Bn.current)||bn(Bn.current.condition,_n))&&(Bn.current.value=hn(),Bn.current.condition=_n),Bn.current.value}function W(hn,_n){typeof hn=="function"?hn(_n):Object(O.a)(hn)==="object"&&hn&&"current"in hn&&(hn.current=_n)}function ne(){for(var hn=arguments.length,_n=new Array(hn),bn=0;bn<hn;bn++)_n[bn]=arguments[bn];var Bn=_n.filter(function(Tn){return Tn});return Bn.length<=1?Bn[0]:function(Tn){_n.forEach(function(Tr){W(Tr,Tn)})}}function te(){for(var hn=arguments.length,_n=new Array(hn),bn=0;bn<hn;bn++)_n[bn]=arguments[bn];return Q(function(){return ne.apply(void 0,_n)},_n,function(Bn,Tn){return Bn.length===Tn.length&&Bn.every(function(Tr,Sr){return Tr===Tn[Sr]})})}function _e(hn){var _n,bn,Bn=Object(G.isMemo)(hn)?hn.type.type:hn.type;return!(typeof Bn=="function"&&!((_n=Bn.prototype)!==null&&_n!==void 0&&_n.render)||typeof hn=="function"&&!((bn=hn.prototype)!==null&&bn!==void 0&&bn.render))}var he=l("1OyB"),oe=l("vuIU");function ge(){return typeof BigInt=="function"}function me(hn){var _n=hn.trim(),bn=_n.startsWith("-");bn&&(_n=_n.slice(1)),_n=_n.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),_n.startsWith(".")&&(_n="0".concat(_n));var Bn=_n||"0",Tn=Bn.split("."),Tr=Tn[0]||"0",Sr=Tn[1]||"0";Tr==="0"&&Sr==="0"&&(bn=!1);var Wr=bn?"-":"";return{negative:bn,negativeStr:Wr,trimStr:Bn,integerStr:Tr,decimalStr:Sr,fullStr:"".concat(Wr).concat(Bn)}}function Z(hn){var _n=String(hn);return!Number.isNaN(Number(_n))&&_n.includes("e")}function xe(hn){var _n=String(hn);if(Z(hn)){var bn=Number(_n.slice(_n.indexOf("e-")+2)),Bn=_n.match(/\.(\d+)/);return(Bn==null?void 0:Bn[1])&&(bn+=Bn[1].length),bn}return _n.includes(".")&&Le(_n)?_n.length-_n.indexOf(".")-1:0}function Ee(hn){var _n=String(hn);if(Z(hn)){if(hn>Number.MAX_SAFE_INTEGER)return String(ge()?BigInt(hn).toString():Number.MAX_SAFE_INTEGER);if(hn<Number.MIN_SAFE_INTEGER)return String(ge()?BigInt(hn).toString():Number.MIN_SAFE_INTEGER);_n=hn.toFixed(xe(_n))}return me(_n).fullStr}function Le(hn){return typeof hn=="number"?!Number.isNaN(hn):hn?/^\s*-?\d+(\.\d+)?\s*$/.test(hn)||/^\s*-?\d+\.\s*$/.test(hn)||/^\s*-?\.\d+\s*$/.test(hn):!1}function we(hn){var _n=typeof hn=="number"?Ee(hn):me(hn).fullStr,bn=_n.includes(".");return bn?me(_n.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:hn+"0"}var fe=function(){function hn(_n){if(Object(he.a)(this,hn),this.origin="",this.number=void 0,this.empty=void 0,!_n&&_n!==0||!String(_n).trim()){this.empty=!0;return}this.origin=String(_n),this.number=Number(_n)}return Object(oe.a)(hn,[{key:"negate",value:function(){return new hn(-this.toNumber())}},{key:"add",value:function(bn){if(this.isInvalidate())return new hn(bn);var Bn=Number(bn);if(Number.isNaN(Bn))return this;var Tn=this.number+Bn;if(Tn>Number.MAX_SAFE_INTEGER)return new hn(Number.MAX_SAFE_INTEGER);if(Tn<Number.MIN_SAFE_INTEGER)return new hn(Number.MIN_SAFE_INTEGER);var Tr=Math.max(xe(this.number),xe(Bn));return new hn(Tn.toFixed(Tr))}},{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(bn){return this.toNumber()===(bn==null?void 0:bn.toNumber())}},{key:"lessEquals",value:function(bn){return this.add(bn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return bn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),hn}(),pe=function(){function hn(_n){if(Object(he.a)(this,hn),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,!_n&&_n!==0||!String(_n).trim()){this.empty=!0;return}if(this.origin=String(_n),_n==="-"){this.nan=!0;return}var bn=_n;if(Z(bn)&&(bn=Number(bn)),bn=typeof bn=="string"?bn:Ee(bn),Le(bn)){var Bn=me(bn);this.negative=Bn.negative;var Tn=Bn.trimStr.split(".");this.integer=BigInt(Tn[0]);var Tr=Tn[1]||"0";this.decimal=BigInt(Tr),this.decimalLen=Tr.length}else this.nan=!0}return Object(oe.a)(hn,[{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(bn){var Bn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(bn,"0"));return BigInt(Bn)}},{key:"negate",value:function(){var bn=new hn(this.toString());return bn.negative=!bn.negative,bn}},{key:"add",value:function(bn){if(this.isInvalidate())return new hn(bn);var Bn=new hn(bn);if(Bn.isInvalidate())return this;var Tn=Math.max(this.getDecimalStr().length,Bn.getDecimalStr().length),Tr=this.alignDecimal(Tn),Sr=Bn.alignDecimal(Tn),Wr=(Tr+Sr).toString(),br=me(Wr),Wn=br.negativeStr,gr=br.trimStr,na="".concat(Wn).concat(gr.padStart(Tn+1,"0"));return new hn("".concat(na.slice(0,-Tn),".").concat(na.slice(-Tn)))}},{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(bn){return this.toString()===(bn==null?void 0:bn.toString())}},{key:"lessEquals",value:function(bn){return this.add(bn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return bn?this.isInvalidate()?"":me("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),hn}();function Ke(hn){return ge()?new pe(hn):new fe(hn)}function Me(hn,_n,bn){var Bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(hn==="")return"";var Tn=me(hn),Tr=Tn.negativeStr,Sr=Tn.integerStr,Wr=Tn.decimalStr,br="".concat(_n).concat(Wr),Wn="".concat(Tr).concat(Sr);if(bn>=0){var gr=Number(Wr[bn]);if(gr>=5&&!Bn){var na=Ke(hn).add("".concat(Tr,"0.").concat("0".repeat(bn)).concat(10-gr));return Me(na.toString(),_n,bn,Bn)}return bn===0?Wn:"".concat(Wn).concat(_n).concat(Wr.padEnd(bn,"0").slice(0,bn))}return br===".0"?Wn:"".concat(Wn).concat(br)}var ze=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var hn=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(hn)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(hn==null?void 0:hn.substr(0,4))},Ue=200,He=600;function Ne(hn){var _n=hn.prefixCls,bn=hn.upNode,Bn=hn.downNode,Tn=hn.upDisabled,Tr=hn.downDisabled,Sr=hn.onStep,Wr=S.useRef(),br=S.useRef();br.current=Sr;var Wn=function(H,ot){H.preventDefault(),br.current(ot);function nt(){br.current(ot),Wr.current=setTimeout(nt,Ue)}Wr.current=setTimeout(nt,He)},gr=function(){clearTimeout(Wr.current)};if(S.useEffect(function(){return gr},[]),ze())return null;var na="".concat(_n,"-handler"),jn=N()(na,"".concat(na,"-up"),Object(m.a)({},"".concat(na,"-up-disabled"),Tn)),un=N()(na,"".concat(na,"-down"),Object(m.a)({},"".concat(na,"-down-disabled"),Tr)),zt={unselectable:"on",role:"button",onMouseUp:gr,onMouseLeave:gr};return S.createElement("div",{className:"".concat(na,"-wrap")},S.createElement("span",Object(E.a)({},zt,{onMouseDown:function(H){Wn(H,!0)},"aria-label":"Increase Value","aria-disabled":Tn,className:jn}),bn||S.createElement("span",{unselectable:"on",className:"".concat(_n,"-handler-up-inner")})),S.createElement("span",Object(E.a)({},zt,{onMouseDown:function(H){Wn(H,!1)},"aria-label":"Decrease Value","aria-disabled":Tr,className:un}),Bn||S.createElement("span",{unselectable:"on",className:"".concat(_n,"-handler-down-inner")})))}var it={},Xe=[],ht=function(_n){Xe.push(_n)};function lt(hn,_n){if(!1)var bn}function Et(hn,_n){if(!1)var bn}function tt(){it={}}function mt(hn,_n,bn){!_n&&!it[bn]&&(hn(!1,bn),it[bn]=!0)}function xt(hn,_n){mt(lt,hn,_n)}function Xt(hn,_n){mt(Et,hn,_n)}xt.preMessage=ht,xt.resetWarned=tt,xt.noteOnce=Xt;var vt=xt;function qe(hn,_n){var bn=Object(S.useRef)(null);function Bn(){try{var Tr=hn.selectionStart,Sr=hn.selectionEnd,Wr=hn.value,br=Wr.substring(0,Tr),Wn=Wr.substring(Sr);bn.current={start:Tr,end:Sr,value:Wr,beforeTxt:br,afterTxt:Wn}}catch(gr){}}function Tn(){if(hn&&bn.current&&_n)try{var Tr=hn.value,Sr=bn.current,Wr=Sr.beforeTxt,br=Sr.afterTxt,Wn=Sr.start,gr=Tr.length;if(Tr.endsWith(br))gr=Tr.length-bn.current.afterTxt.length;else if(Tr.startsWith(Wr))gr=Wr.length;else{var na=Wr[Wn-1],jn=Tr.indexOf(na,Wn-1);jn!==-1&&(gr=jn+1)}hn.setSelectionRange(gr,gr)}catch(un){vt(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(un.message))}}return[Bn,Tn]}var Re=function(_n){return+setTimeout(_n,16)},Se=function(_n){return clearTimeout(_n)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Re=function(_n){return window.requestAnimationFrame(_n)},Se=function(_n){return window.cancelAnimationFrame(_n)});var Ve=0,Ge=new Map;function _t(hn){Ge.delete(hn)}var bt=function(_n){var bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ve+=1;var Bn=Ve;function Tn(Tr){if(Tr===0)_t(Bn),_n();else{var Sr=Re(function(){Tn(Tr-1)});Ge.set(Bn,Sr)}}return Tn(bn),Bn};bt.cancel=function(hn){var _n=Ge.get(hn);return _t(_n),Se(_n)};var gt=bt,at=function(){var hn=Object(S.useRef)(0),_n=function(){gt.cancel(hn.current)};return Object(S.useEffect)(function(){return _n},[]),function(bn){_n(),hn.current=gt(function(){bn()})}},ft=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Fe=function(_n,bn){return _n||bn.isEmpty()?bn.toString():bn.toNumber()},Te=function(_n){var bn=Ke(_n);return bn.isInvalidate()?null:bn},ut=S.forwardRef(function(hn,_n){var bn,Bn=hn.prefixCls,Tn=Bn===void 0?"rc-input-number":Bn,Tr=hn.className,Sr=hn.style,Wr=hn.min,br=hn.max,Wn=hn.step,gr=Wn===void 0?1:Wn,na=hn.defaultValue,jn=hn.value,un=hn.disabled,zt=hn.readOnly,Bt=hn.upHandler,H=hn.downHandler,ot=hn.keyboard,nt=hn.controls,Ct=nt===void 0?!0:nt,Wt=hn.stringMode,kn=hn.parser,Sn=hn.formatter,Zn=hn.precision,Or=hn.decimalSeparator,Yn=hn.onChange,Nn=hn.onInput,Zt=hn.onPressEnter,rr=hn.onStep,Gn=Object(F.a)(hn,ft),ln="".concat(Tn,"-input"),Xn=S.useRef(null),Kn=S.useState(!1),fr=Object(C.a)(Kn,2),Hn=fr[0],Sa=fr[1],Lr=S.useRef(!1),Ca=S.useRef(!1),za=S.useRef(!1),Ma=S.useState(function(){return Ke(jn!=null?jn:na)}),va=Object(C.a)(Ma,2),qa=va[0],gi=va[1];function Qi(ta){jn===void 0&&gi(ta)}var mi=S.useCallback(function(ta,ma){if(!ma)return Zn>=0?Zn:Math.max(xe(ta),xe(gr))},[Zn,gr]),Cr=S.useCallback(function(ta){var ma=String(ta);if(kn)return kn(ma);var Oa=ma;return Or&&(Oa=Oa.replace(Or,".")),Oa.replace(/[^\w.-]+/g,"")},[kn,Or]),Un=S.useRef(""),Lt=S.useCallback(function(ta,ma){if(Sn)return Sn(ta,{userTyping:ma,input:String(Un.current)});var Oa=typeof ta=="number"?Ee(ta):ta;if(!ma){var Pn=mi(Oa,ma);if(Le(Oa)&&(Or||Pn>=0)){var Kr=Or||".";Oa=Me(Oa,Kr,Pn)}}return Oa},[Sn,mi,Or]),gn=S.useState(function(){var ta=na!=null?na:jn;return qa.isInvalidate()&&["string","number"].includes(Object(O.a)(ta))?Number.isNaN(ta)?"":ta:Lt(qa.toString(),!1)}),Ln=Object(C.a)(gn,2),kr=Ln[0],ea=Ln[1];Un.current=kr;function Qr(ta,ma){ea(Lt(ta.isInvalidate()?ta.toString(!1):ta.toString(!ma),ma))}var Na=S.useMemo(function(){return Te(br)},[br,Zn]),ar=S.useMemo(function(){return Te(Wr)},[Wr,Zn]),pi=S.useMemo(function(){return!Na||!qa||qa.isInvalidate()?!1:Na.lessEquals(qa)},[Na,qa]),_i=S.useMemo(function(){return!ar||!qa||qa.isInvalidate()?!1:qa.lessEquals(ar)},[ar,qa]),ti=qe(Xn.current,Hn),ui=Object(C.a)(ti,2),Ri=ui[0],ao=ui[1],Zi=function(ma){return Na&&!ma.lessEquals(Na)?Na:ar&&!ar.lessEquals(ma)?ar:null},Fi=function(ma){return!Zi(ma)},Si=function(ma,Oa){var Pn=ma,Kr=Fi(Pn)||Pn.isEmpty();if(!Pn.isEmpty()&&!Oa&&(Pn=Zi(Pn)||Pn,Kr=!0),!zt&&!un&&Kr){var Vn=Pn.toString(),tr=mi(Vn,Oa);return tr>=0&&(Pn=Ke(Me(Vn,".",tr)),Fi(Pn)||(Pn=Ke(Me(Vn,".",tr,!0)))),Pn.equals(qa)||(Qi(Pn),Yn==null||Yn(Pn.isEmpty()?null:Fe(Wt,Pn)),jn===void 0&&Qr(Pn,Oa)),Pn}return qa},qi=at(),eo=function ta(ma){if(Ri(),ea(ma),!Ca.current){var Oa=Cr(ma),Pn=Ke(Oa);Pn.isNaN()||Si(Pn,!0)}Nn==null||Nn(ma),qi(function(){var Kr=ma;kn||(Kr=ma.replace(/。/g,".")),Kr!==ma&&ta(Kr)})},xo=function(){Ca.current=!0},cs=function(){Ca.current=!1,eo(Xn.current.value)},ba=function(ma){eo(ma.target.value)},sa=function(ma){var Oa;if(!(ma&&pi||!ma&&_i)){Lr.current=!1;var Pn=Ke(za.current?we(gr):gr);ma||(Pn=Pn.negate());var Kr=(qa||Ke(0)).add(Pn.toString()),Vn=Si(Kr,!1);rr==null||rr(Fe(Wt,Vn),{offset:za.current?we(gr):gr,type:ma?"up":"down"}),(Oa=Xn.current)===null||Oa===void 0||Oa.focus()}},Da=function(ma){var Oa=Ke(Cr(kr)),Pn=Oa;Oa.isNaN()?Pn=qa:Pn=Si(Oa,ma),jn!==void 0?Qr(qa,!1):Pn.isNaN()||Qr(Pn,!1)},On=function(){Lr.current=!0},xn=function(ma){var Oa=ma.which,Pn=ma.shiftKey;Lr.current=!0,Pn?za.current=!0:za.current=!1,Oa===U.ENTER&&(Ca.current||(Lr.current=!1),Da(!1),Zt==null||Zt(ma)),ot!==!1&&!Ca.current&&[U.UP,U.DOWN].includes(Oa)&&(sa(U.UP===Oa),ma.preventDefault())},Rt=function(){Lr.current=!1,za.current=!1},mr=function(){Da(!1),Sa(!1),Lr.current=!1};return ee(function(){qa.isInvalidate()||Qr(qa,!1)},[Zn]),ee(function(){var ta=Ke(jn);gi(ta);var ma=Ke(Cr(kr));(!ta.equals(ma)||!Lr.current||Sn)&&Qr(ta,Lr.current)},[jn]),ee(function(){Sn&&ao()},[kr]),S.createElement("div",{className:N()(Tn,Tr,(bn={},Object(m.a)(bn,"".concat(Tn,"-focused"),Hn),Object(m.a)(bn,"".concat(Tn,"-disabled"),un),Object(m.a)(bn,"".concat(Tn,"-readonly"),zt),Object(m.a)(bn,"".concat(Tn,"-not-a-number"),qa.isNaN()),Object(m.a)(bn,"".concat(Tn,"-out-of-range"),!qa.isInvalidate()&&!Fi(qa)),bn)),style:Sr,onFocus:function(){Sa(!0)},onBlur:mr,onKeyDown:xn,onKeyUp:Rt,onCompositionStart:xo,onCompositionEnd:cs,onBeforeInput:On},Ct&&S.createElement(Ne,{prefixCls:Tn,upNode:Bt,downNode:H,upDisabled:pi,downDisabled:_i,onStep:sa}),S.createElement("div",{className:"".concat(ln,"-wrap")},S.createElement("input",Object(E.a)({autoComplete:"off",role:"spinbutton","aria-valuemin":Wr,"aria-valuemax":br,"aria-valuenow":qa.isInvalidate()?null:qa.toString(),step:gr},Gn,{ref:ne(Xn,_n),className:ln,value:kr,onChange:ba,disabled:un,readOnly:zt}))))});ut.displayName="InputNumber";var le=ut,$e=le,Qe=l("H84U"),Tt=l("caoh"),Ot=l("3Nzz"),Ut=l("ihLV"),At=l("+f9I"),Pt=l("0n0R"),Dt=l("ATYA"),Qt=function(hn,_n){var bn={};for(var Bn in hn)Object.prototype.hasOwnProperty.call(hn,Bn)&&_n.indexOf(Bn)<0&&(bn[Bn]=hn[Bn]);if(hn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,Bn=Object.getOwnPropertySymbols(hn);Tn<Bn.length;Tn++)_n.indexOf(Bn[Tn])<0&&Object.prototype.propertyIsEnumerable.call(hn,Bn[Tn])&&(bn[Bn[Tn]]=hn[Bn[Tn]]);return bn},cn=S.forwardRef(function(hn,_n){var bn,Bn=S.useContext(Qe.b),Tn=Bn.getPrefixCls,Tr=Bn.direction,Sr=S.useContext(Ot.b),Wr=S.useState(!1),br=Object(C.a)(Wr,2),Wn=br[0],gr=br[1],na=S.useRef(null);S.useImperativeHandle(_n,function(){return na.current});var jn=hn.className,un=hn.size,zt=hn.disabled,Bt=hn.prefixCls,H=hn.addonBefore,ot=hn.addonAfter,nt=hn.prefix,Ct=hn.bordered,Wt=Ct===void 0?!0:Ct,kn=hn.readOnly,Sn=hn.status,Zn=hn.controls,Or=Qt(hn,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Yn=Tn("input-number",Bt),Nn=Object(At.c)(Yn,Tr),Zt=Nn.compactSize,rr=Nn.compactItemClassnames,Gn=S.createElement(j,{className:"".concat(Yn,"-handler-up-inner")}),ln=S.createElement(k.a,{className:"".concat(Yn,"-handler-down-inner")}),Xn=typeof Zn=="boolean"?Zn:void 0;Object(O.a)(Zn)==="object"&&(Gn=typeof Zn.upIcon=="undefined"?Gn:S.createElement("span",{className:"".concat(Yn,"-handler-up-inner")},Zn.upIcon),ln=typeof Zn.downIcon=="undefined"?ln:S.createElement("span",{className:"".concat(Yn,"-handler-down-inner")},Zn.downIcon));var Kn=Object(S.useContext)(Ut.b),fr=Kn.hasFeedback,Hn=Kn.status,Sa=Kn.isFormItemInput,Lr=Kn.feedbackIcon,Ca=Object(Dt.a)(Hn,Sn),za=Zt||un||Sr,Ma=S.useContext(Tt.b),va=zt!=null?zt:Ma,qa=N()((bn={},Object(m.a)(bn,"".concat(Yn,"-lg"),za==="large"),Object(m.a)(bn,"".concat(Yn,"-sm"),za==="small"),Object(m.a)(bn,"".concat(Yn,"-rtl"),Tr==="rtl"),Object(m.a)(bn,"".concat(Yn,"-borderless"),!Wt),Object(m.a)(bn,"".concat(Yn,"-in-form-item"),Sa),bn),Object(Dt.b)(Yn,Ca),rr,jn),gi=S.createElement($e,Object(E.a)({ref:na,disabled:va,className:qa,upHandler:Gn,downHandler:ln,prefixCls:Yn,readOnly:kn,controls:Xn},Or));if(nt!=null||fr){var Qi,mi=N()("".concat(Yn,"-affix-wrapper"),Object(Dt.b)("".concat(Yn,"-affix-wrapper"),Ca,fr),(Qi={},Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-focused"),Wn),Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-disabled"),hn.disabled),Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-sm"),Sr==="small"),Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-lg"),Sr==="large"),Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-rtl"),Tr==="rtl"),Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-readonly"),kn),Object(m.a)(Qi,"".concat(Yn,"-affix-wrapper-borderless"),!Wt),Object(m.a)(Qi,"".concat(jn),!(H||ot)&&jn),Qi));gi=S.createElement("div",{className:mi,style:hn.style,onMouseUp:function(){return na.current.focus()}},nt&&S.createElement("span",{className:"".concat(Yn,"-prefix")},nt),Object(Pt.a)(gi,{style:null,value:hn.value,onFocus:function(Na){var ar;gr(!0),(ar=hn.onFocus)===null||ar===void 0||ar.call(hn,Na)},onBlur:function(Na){var ar;gr(!1),(ar=hn.onBlur)===null||ar===void 0||ar.call(hn,Na)}}),fr&&S.createElement("span",{className:"".concat(Yn,"-suffix")},Lr))}if(H!=null||ot!=null){var Cr,Un="".concat(Yn,"-group"),Lt="".concat(Un,"-addon"),gn=H?S.createElement("div",{className:Lt},H):null,Ln=ot?S.createElement("div",{className:Lt},ot):null,kr=N()("".concat(Yn,"-wrapper"),Un,Object(m.a)({},"".concat(Un,"-rtl"),Tr==="rtl")),ea=N()("".concat(Yn,"-group-wrapper"),(Cr={},Object(m.a)(Cr,"".concat(Yn,"-group-wrapper-sm"),Sr==="small"),Object(m.a)(Cr,"".concat(Yn,"-group-wrapper-lg"),Sr==="large"),Object(m.a)(Cr,"".concat(Yn,"-group-wrapper-rtl"),Tr==="rtl"),Cr),Object(Dt.b)("".concat(Yn,"-group-wrapper"),Ca,fr),jn);gi=S.createElement("div",{className:ea,style:hn.style},S.createElement("div",{className:kr},gn&&S.createElement(At.a,null,S.createElement(Ut.e,{status:!0,override:!0},gn)),Object(Pt.a)(gi,{style:null,disabled:va}),Ln&&S.createElement(At.a,null,S.createElement(Ut.e,{status:!0,override:!0},Ln))))}return gi}),$n=R.a=cn},g0mS:function(ce,R,l){"use strict";var E=l("1OyB"),m=l("vuIU"),O=l("JX7q"),C=l("Ji7U"),k=l("LK+K"),A=l("3zOE"),S=l("Twdv"),y=l("q1tI"),w=l("H84U"),x=l("3F7U"),T=0,j={};function D(ee){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,G=T++,Q=ie;function W(){Q-=1,Q<=0?(ee(),delete j[G]):j[G]=Object(x.a)(W)}return j[G]=Object(x.a)(W),G}D.cancel=function(ie){ie!==void 0&&(x.a.cancel(j[ie]),delete j[ie])},D.ids=j;var N=l("0n0R"),F;function B(ee){return!ee||ee.offsetParent===null||ee.hidden}function U(ee){return ee instanceof Document?ee.body:Array.from(ee.childNodes).find(function(ie){return(ie==null?void 0:ie.nodeType)===Node.ELEMENT_NODE})}function J(ee){var ie=(ee||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ie&&ie[1]&&ie[2]&&ie[3]?!(ie[1]===ie[2]&&ie[2]===ie[3]):!0}var $=function(ee){Object(C.a)(G,ee);var ie=Object(k.a)(G);function G(){var Q;return Object(E.a)(this,G),Q=ie.apply(this,arguments),Q.containerRef=y.createRef(),Q.animationStart=!1,Q.destroyed=!1,Q.onClick=function(W,ne){var te,_e,he=Q.props,oe=he.insertExtraNode,ge=he.disabled;if(!(ge||!W||B(W)||W.className.includes("-leave"))){Q.extraNode=document.createElement("div");var me=Object(O.a)(Q),Z=me.extraNode,xe=Q.context.getPrefixCls;Z.className="".concat(xe(""),"-click-animating-node");var Ee=Q.getAttributeName();if(W.setAttribute(Ee,"true"),ne&&ne!=="#fff"&&ne!=="#ffffff"&&ne!=="rgb(255, 255, 255)"&&ne!=="rgba(255, 255, 255, 1)"&&J(ne)&&!/rgba\((?:\d*, ){3}0\)/.test(ne)&&ne!=="transparent"){Z.style.borderColor=ne;var Le=((te=W.getRootNode)===null||te===void 0?void 0:te.call(W))||W.ownerDocument,we=(_e=U(Le))!==null&&_e!==void 0?_e:Le;F=Object(A.a)(`
[`.concat(xe(""),"-click-animating-without-extra-node='true']::after, .").concat(xe(""),`-click-animating-node {
--antd-wave-shadow-color: `).concat(ne,`;
}`),"antd-wave",{csp:Q.csp,attachTo:we})}oe&&W.appendChild(Z),["transition","animation"].forEach(function(fe){W.addEventListener("".concat(fe,"start"),Q.onTransitionStart),W.addEventListener("".concat(fe,"end"),Q.onTransitionEnd)})}},Q.onTransitionStart=function(W){if(!Q.destroyed){var ne=Q.containerRef.current;!W||W.target!==ne||Q.animationStart||Q.resetEffect(ne)}},Q.onTransitionEnd=function(W){!W||W.animationName!=="fadeEffect"||Q.resetEffect(W.target)},Q.bindAnimationEvent=function(W){if(!(!W||!W.getAttribute||W.getAttribute("disabled")||W.className.includes("disabled"))){var ne=function(_e){if(!(_e.target.tagName==="INPUT"||B(_e.target))){Q.resetEffect(W);var he=getComputedStyle(W).getPropertyValue("border-top-color")||getComputedStyle(W).getPropertyValue("border-color")||getComputedStyle(W).getPropertyValue("background-color");Q.clickWaveTimeoutId=window.setTimeout(function(){return Q.onClick(W,he)},0),D.cancel(Q.animationStartId),Q.animationStart=!0,Q.animationStartId=D(function(){Q.animationStart=!1},10)}};return W.addEventListener("click",ne,!0),{cancel:function(){W.removeEventListener("click",ne,!0)}}}},Q.renderWave=function(W){var ne=W.csp,te=Q.props.children;if(Q.csp=ne,!y.isValidElement(te))return te;var _e=Q.containerRef;return Object(S.b)(te)&&(_e=Object(S.a)(te.ref,Q.containerRef)),Object(N.a)(te,{ref:_e})},Q}return Object(m.a)(G,[{key:"componentDidMount",value:function(){this.destroyed=!1;var W=this.containerRef.current;!W||W.nodeType!==1||(this.instance=this.bindAnimationEvent(W))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var W=this.context.getPrefixCls,ne=this.props.insertExtraNode;return ne?"".concat(W(""),"-click-animating"):"".concat(W(""),"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(W){var ne=this;if(!(!W||W===this.extraNode||!(W instanceof Element))){var te=this.props.insertExtraNode,_e=this.getAttributeName();W.setAttribute(_e,"false"),F&&(F.innerHTML=""),te&&this.extraNode&&W.contains(this.extraNode)&&W.removeChild(this.extraNode),["transition","animation"].forEach(function(he){W.removeEventListener("".concat(he,"start"),ne.onTransitionStart),W.removeEventListener("".concat(he,"end"),ne.onTransitionEnd)})}}},{key:"render",value:function(){return y.createElement(w.a,null,this.renderWave)}}]),G}(y.Component);$.contextType=w.b;var X=R.a=$},g1ZG:function(ce,R,l){var E=l("f1E4"),m=l("JS3A");ce.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var O=!1,C={},k;try{k=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,k.call(C,[]),O=C instanceof Array}catch(A){}return function(S,y){return E(S),m(y),O?k.call(S,y):S.__proto__=y,S}}():void 0)},g4LC:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"};R.default=E},g4Xo:function(ce,R,l){},g74U:function(ce,R){(function(l){ce.exports=function(){var E={461:function(C){C.exports=function(){throw new Error("define cannot be used indirect")}}},m={};function O(C){if(m[C])return m[C].exports;var k=m[C]={exports:{}},A=!0;try{E[C](k,k.exports,O),A=!1}finally{A&&delete m[C]}return k.exports}return O.ab=l+"/",O(461)}()}).call(this,"/")},g8rt:function(ce,R,l){var E=l("tny8"),m=l("e3V2"),O=l("HhvW"),C=l("0qr0"),k=l("gFfw"),A=l("jtLI"),S=l("/yC2"),y=Object.getOwnPropertyDescriptor;R.f=E?y:function(x,T){if(x=C(x),T=k(T,!0),S)try{return y(x,T)}catch(j){}if(A(x,T))return O(!m.f.call(x,T),x[T])}},g9YV:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("pED+"),C=l.n(O),k=l("+L6B"),A=l("sRBo"),S=l("qVdP"),y=l("R9oj"),w=l("5NDa"),x=l("DjyN"),T=l("7Kak"),j=l("T2oS"),D=l("5Dmo"),N=l("ozfa")},gCq4:function(ce,R){function l(E){return this.__data__.get(E)}ce.exports=l},gDlH:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rOxa"),O=l("q1tI"),C=l.n(O),k=function(y,w){var x={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&w.indexOf(T)<0&&(x[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,T=Object.getOwnPropertySymbols(y);j<T.length;j++)w.indexOf(T[j])<0&&Object.prototype.propertyIsEnumerable.call(y,T[j])&&(x[T[j]]=y[T[j]]);return x},A={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},S=O.forwardRef(function(y,w){var x=function(J){var $=J.keyCode;$===m.a.ENTER&&J.preventDefault()},T=function(J){var $=J.keyCode,X=y.onClick;$===m.a.ENTER&&X&&X()},j=y.style,D=y.noStyle,N=y.disabled,F=k(y,["style","noStyle","disabled"]),B={};return D||(B=Object(E.a)({},A)),N&&(B.pointerEvents="none"),B=Object(E.a)(Object(E.a)({},B),j),O.createElement("div",Object(E.a)({role:"button",tabIndex:0,ref:w},F,{onKeyDown:x,onKeyUp:T,style:B}))});R.a=S},gEhQ:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};R.default=E},gFfm:function(ce,R){function l(E,m){for(var O=-1,C=E==null?0:E.length;++O<C&&m(E[O],O,E)!==!1;);return E}ce.exports=l},gFfw:function(ce,R,l){var E=l("tSXo");ce.exports=function(m,O){if(!E(m))return m;var C,k;if(O&&typeof(C=m.toString)=="function"&&!E(k=C.call(m))||typeof(C=m.valueOf)=="function"&&!E(k=C.call(m))||!O&&typeof(C=m.toString)=="function"&&!E(k=C.call(m)))return k;throw TypeError("Can't convert object to primitive value")}},gK9i:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("UESt"),C=l("TSYQ"),k=l.n(C),A=l("KQm4"),S=l("1OyB"),y=l("vuIU"),w=l("Ji7U"),x=l("LK+K"),T=l("U8pU"),j=l("q1tI"),D=l.n(j),N=l("TOwV");function F(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=[];return D.a.Children.forEach(Me,function(He){He==null&&!ze.keepEmpty||(Array.isArray(He)?Ue=Ue.concat(F(He)):Object(N.isFragment)(He)&&He.props?Ue=Ue.concat(F(He.props.children,ze)):Ue.push(He))}),Ue}var B=l("Gytx"),U=l.n(B),J=l("Ff2n"),$=l("8XRh"),X=l("ODXe"),ee=j.forwardRef(function(Me,ze){var Ue,He=Me.prefixCls,Ne=Me.forceRender,it=Me.className,Xe=Me.style,ht=Me.children,lt=Me.isActive,Et=Me.role,tt=j.useState(lt||Ne),mt=Object(X.a)(tt,2),xt=mt[0],Xt=mt[1];return j.useEffect(function(){(Ne||lt)&&Xt(!0)},[Ne,lt]),xt?j.createElement("div",{ref:ze,className:k()("".concat(He,"-content"),(Ue={},Object(m.a)(Ue,"".concat(He,"-content-active"),lt),Object(m.a)(Ue,"".concat(He,"-content-inactive"),!lt),Ue),it),style:Xe,role:Et},j.createElement("div",{className:"".concat(He,"-content-box")},ht)):null});ee.displayName="PanelContent";var ie=ee,G=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],Q=function(Me){Object(w.a)(Ue,Me);var ze=Object(x.a)(Ue);function Ue(){var He;Object(S.a)(this,Ue);for(var Ne=arguments.length,it=new Array(Ne),Xe=0;Xe<Ne;Xe++)it[Xe]=arguments[Xe];return He=ze.call.apply(ze,[this].concat(it)),He.onItemClick=function(){var ht=He.props,lt=ht.onItemClick,Et=ht.panelKey;typeof lt=="function"&&lt(Et)},He.handleKeyPress=function(ht){(ht.key==="Enter"||ht.keyCode===13||ht.which===13)&&He.onItemClick()},He.renderIcon=function(){var ht=He.props,lt=ht.showArrow,Et=ht.expandIcon,tt=ht.prefixCls,mt=ht.collapsible;if(!lt)return null;var xt=typeof Et=="function"?Et(He.props):j.createElement("i",{className:"arrow"});return xt&&j.createElement("div",{className:"".concat(tt,"-expand-icon"),onClick:mt==="header"||mt==="icon"?He.onItemClick:null},xt)},He.renderTitle=function(){var ht=He.props,lt=ht.header,Et=ht.prefixCls,tt=ht.collapsible;return j.createElement("span",{className:"".concat(Et,"-header-text"),onClick:tt==="header"?He.onItemClick:null},lt)},He}return Object(y.a)(Ue,[{key:"shouldComponentUpdate",value:function(Ne){return!U()(this.props,Ne)}},{key:"render",value:function(){var Ne,it,Xe=this.props,ht=Xe.className,lt=Xe.id,Et=Xe.style,tt=Xe.prefixCls,mt=Xe.headerClass,xt=Xe.children,Xt=Xe.isActive,vt=Xe.destroyInactivePanel,qe=Xe.accordion,Re=Xe.forceRender,Se=Xe.openMotion,Ve=Xe.extra,Ge=Xe.collapsible,_t=Object(J.a)(Xe,G),bt=Ge==="disabled",gt=Ge==="header",at=Ge==="icon",ft=k()((Ne={},Object(m.a)(Ne,"".concat(tt,"-item"),!0),Object(m.a)(Ne,"".concat(tt,"-item-active"),Xt),Object(m.a)(Ne,"".concat(tt,"-item-disabled"),bt),Ne),ht),Fe=k()("".concat(tt,"-header"),(it={},Object(m.a)(it,mt,mt),Object(m.a)(it,"".concat(tt,"-header-collapsible-only"),gt),Object(m.a)(it,"".concat(tt,"-icon-collapsible-only"),at),it)),Te={className:Fe,"aria-expanded":Xt,"aria-disabled":bt,onKeyPress:this.handleKeyPress};!gt&&!at&&(Te.onClick=this.onItemClick,Te.role=qe?"tab":"button",Te.tabIndex=bt?-1:0);var ut=Ve!=null&&typeof Ve!="boolean";return delete _t.header,delete _t.panelKey,delete _t.onItemClick,delete _t.showArrow,delete _t.expandIcon,j.createElement("div",Object(E.a)({},_t,{className:ft,style:Et,id:lt}),j.createElement("div",Te,this.renderIcon(),this.renderTitle(),ut&&j.createElement("div",{className:"".concat(tt,"-extra")},Ve)),j.createElement($.b,Object(E.a)({visible:Xt,leavedClassName:"".concat(tt,"-content-hidden")},Se,{forceRender:Re,removeOnLeave:vt}),function(le,$e){var Qe=le.className,Tt=le.style;return j.createElement(ie,{ref:$e,prefixCls:tt,className:Qe,style:Tt,isActive:Xt,forceRender:Re,role:qe?"tabpanel":null},xt)}))}}]),Ue}(j.Component);Q.defaultProps={showArrow:!0,isActive:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var W=Q;function ne(Me){var ze=Me;if(!Array.isArray(ze)){var Ue=Object(T.a)(ze);ze=Ue==="number"||Ue==="string"?[ze]:[]}return ze.map(function(He){return String(He)})}var te=function(Me){Object(w.a)(Ue,Me);var ze=Object(x.a)(Ue);function Ue(He){var Ne;Object(S.a)(this,Ue),Ne=ze.call(this,He),Ne.onClickItem=function(lt){var Et=Ne.state.activeKey;if(Ne.props.accordion)Et=Et[0]===lt?[]:[lt];else{Et=Object(A.a)(Et);var tt=Et.indexOf(lt),mt=tt>-1;mt?Et.splice(tt,1):Et.push(lt)}Ne.setActiveKey(Et)},Ne.getNewChild=function(lt,Et){if(!lt)return null;var tt=Ne.state.activeKey,mt=Ne.props,xt=mt.prefixCls,Xt=mt.openMotion,vt=mt.accordion,qe=mt.destroyInactivePanel,Re=mt.expandIcon,Se=mt.collapsible,Ve=lt.key||String(Et),Ge=lt.props,_t=Ge.header,bt=Ge.headerClass,gt=Ge.destroyInactivePanel,at=Ge.collapsible,ft=!1;vt?ft=tt[0]===Ve:ft=tt.indexOf(Ve)>-1;var Fe=at!=null?at:Se,Te={key:Ve,panelKey:Ve,header:_t,headerClass:bt,isActive:ft,prefixCls:xt,destroyInactivePanel:gt!=null?gt:qe,openMotion:Xt,accordion:vt,children:lt.props.children,onItemClick:Fe==="disabled"?null:Ne.onClickItem,expandIcon:Re,collapsible:Fe};return typeof lt.type=="string"?lt:(Object.keys(Te).forEach(function(ut){typeof Te[ut]=="undefined"&&delete Te[ut]}),j.cloneElement(lt,Te))},Ne.getItems=function(){var lt=Ne.props.children;return F(lt).map(Ne.getNewChild)},Ne.setActiveKey=function(lt){"activeKey"in Ne.props||Ne.setState({activeKey:lt}),Ne.props.onChange(Ne.props.accordion?lt[0]:lt)};var it=He.activeKey,Xe=He.defaultActiveKey,ht=Xe;return"activeKey"in He&&(ht=it),Ne.state={activeKey:ne(ht)},Ne}return Object(y.a)(Ue,[{key:"shouldComponentUpdate",value:function(Ne,it){return!U()(this.props,Ne)||!U()(this.state,it)}},{key:"render",value:function(){var Ne,it=this.props,Xe=it.prefixCls,ht=it.className,lt=it.style,Et=it.accordion,tt=k()((Ne={},Object(m.a)(Ne,Xe,!0),Object(m.a)(Ne,ht,!!ht),Ne));return j.createElement("div",{className:tt,style:lt,role:Et?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(Ne){var it={};return"activeKey"in Ne&&(it.activeKey=ne(Ne.activeKey)),it}}]),Ue}(j.Component);te.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},te.Panel=W;var _e=te,he=_e,oe=_e.Panel,ge=l("axMd"),me=l("Ya77"),Z=l("H84U"),xe=l("EXcs"),Ee=l("0n0R"),Le=function(ze){var Ue=j.useContext(Z.b),He=Ue.getPrefixCls,Ne=ze.prefixCls,it=ze.className,Xe=it===void 0?"":it,ht=ze.showArrow,lt=ht===void 0?!0:ht,Et=He("collapse",Ne),tt=k()(Object(m.a)({},"".concat(Et,"-no-arrow"),!lt),Xe);return j.createElement(he.Panel,Object(E.a)({},ze,{prefixCls:Et,className:tt}))},we=Le,fe=function(ze){var Ue,He=j.useContext(Z.b),Ne=He.getPrefixCls,it=He.direction,Xe=ze.prefixCls,ht=ze.className,lt=ht===void 0?"":ht,Et=ze.bordered,tt=Et===void 0?!0:Et,mt=ze.ghost,xt=ze.expandIconPosition,Xt=xt===void 0?"start":xt,vt=Ne("collapse",Xe),qe=j.useMemo(function(){return Xt==="left"?"start":Xt==="right"?"end":Xt},[Xt]),Re=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},gt=ze.expandIcon,at=gt?gt(bt):j.createElement(O.a,{rotate:bt.isActive?90:void 0});return Object(Ee.a)(at,function(){return{className:k()(at.props.className,"".concat(vt,"-arrow"))}})},Se=k()("".concat(vt,"-icon-position-").concat(qe),(Ue={},Object(m.a)(Ue,"".concat(vt,"-borderless"),!tt),Object(m.a)(Ue,"".concat(vt,"-rtl"),it==="rtl"),Object(m.a)(Ue,"".concat(vt,"-ghost"),!!mt),Ue),lt),Ve=Object(E.a)(Object(E.a)({},xe.a),{motionAppear:!1,leavedClassName:"".concat(vt,"-content-hidden")}),Ge=function(){var bt=ze.children;return Object(ge.a)(bt).map(function(gt,at){var ft;if((ft=gt.props)===null||ft===void 0?void 0:ft.disabled){var Fe=gt.key||String(at),Te=gt.props,ut=Te.disabled,le=Te.collapsible,$e=Object(E.a)(Object(E.a)({},Object(me.a)(gt.props,["disabled"])),{key:Fe,collapsible:le!=null?le:ut?"disabled":void 0});return Object(Ee.a)(gt,$e)}return gt})};return j.createElement(he,Object(E.a)({openMotion:Ve},ze,{expandIcon:Re,prefixCls:vt,className:Se}),Ge())};fe.Panel=we;var pe=fe,Ke=R.a=pe},gUdW:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="MinusSquareOutlined";var S=R.a=m.forwardRef(A)},gVIt:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("AmH5"),O=E.aTypedArray,C=E.exportTypedArrayMethod;C("copyWithin",function(A,S){return m.call(O(this),A,S,arguments.length>2?arguments[2]:void 0)})},gZBC:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("bbMD"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},gdfu:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});var E=null},"giR+":function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("QbM5"),C=l.n(O)},gmdE:function(ce,R,l){"use strict";l.r(R),l.d(R,"ThemeProvider",function(){return _e}),l.d(R,"withTheme",function(){return J}),l.d(R,"A",function(){return _i}),l.d(R,"Abbr",function(){return ti}),l.d(R,"Acronym",function(){return ui}),l.d(R,"Address",function(){return Ri}),l.d(R,"Applet",function(){return ao}),l.d(R,"Area",function(){return Zi}),l.d(R,"Article",function(){return Fi}),l.d(R,"Aside",function(){return Si}),l.d(R,"Audio",function(){return qi}),l.d(R,"B",function(){return eo}),l.d(R,"Base",function(){return xo}),l.d(R,"Basefont",function(){return cs}),l.d(R,"Bdi",function(){return ba}),l.d(R,"Bdo",function(){return sa}),l.d(R,"Bgsound",function(){return Da}),l.d(R,"Big",function(){return On}),l.d(R,"Blink",function(){return xn}),l.d(R,"Blockquote",function(){return Rt}),l.d(R,"Body",function(){return mr}),l.d(R,"Br",function(){return ta}),l.d(R,"Button",function(){return ma}),l.d(R,"Canvas",function(){return Oa}),l.d(R,"Caption",function(){return Pn}),l.d(R,"Center",function(){return Kr}),l.d(R,"Cite",function(){return Vn}),l.d(R,"Code",function(){return tr}),l.d(R,"Col",function(){return Ea}),l.d(R,"Colgroup",function(){return Ja}),l.d(R,"Command",function(){return go}),l.d(R,"Content",function(){return fi}),l.d(R,"Data",function(){return lo}),l.d(R,"Datalist",function(){return Oi}),l.d(R,"Dd",function(){return io}),l.d(R,"Del",function(){return Vi}),l.d(R,"Details",function(){return vo}),l.d(R,"Dfn",function(){return qo}),l.d(R,"Dialog",function(){return hs}),l.d(R,"Dir",function(){return $t}),l.d(R,"Div",function(){return rt}),l.d(R,"Dl",function(){return Vt}),l.d(R,"Dt",function(){return tn}),l.d(R,"Element",function(){return wn}),l.d(R,"Em",function(){return qn}),l.d(R,"Embed",function(){return zn}),l.d(R,"Fieldset",function(){return xr}),l.d(R,"Figcaption",function(){return da}),l.d(R,"Figure",function(){return en}),l.d(R,"Font",function(){return Fn}),l.d(R,"Footer",function(){return Jn}),l.d(R,"Form",function(){return Ir}),l.d(R,"Frame",function(){return Gr}),l.d(R,"Frameset",function(){return ga}),l.d(R,"H1",function(){return Mr}),l.d(R,"H2",function(){return $a}),l.d(R,"H3",function(){return Ya}),l.d(R,"H4",function(){return _o}),l.d(R,"H5",function(){return Ni}),l.d(R,"H6",function(){return ec}),l.d(R,"Head",function(){return ks}),l.d(R,"Header",function(){return jo}),l.d(R,"Hgroup",function(){return Qn}),l.d(R,"Hr",function(){return ka}),l.d(R,"Html",function(){return Pa}),l.d(R,"I",function(){return Qa}),l.d(R,"Iframe",function(){return Ei}),l.d(R,"Image",function(){return zo}),l.d(R,"Img",function(){return fo}),l.d(R,"Input",function(){return gs}),l.d(R,"Ins",function(){return Ks}),l.d(R,"Isindex",function(){return pc}),l.d(R,"Kbd",function(){return tc}),l.d(R,"Keygen",function(){return xc}),l.d(R,"Label",function(){return kc}),l.d(R,"Legend",function(){return Ss}),l.d(R,"Li",function(){return Js}),l.d(R,"Link",function(){return Mo}),l.d(R,"Listing",function(){return js}),l.d(R,"Main",function(){return Yc}),l.d(R,"MapTag",function(){return gc}),l.d(R,"Mark",function(){return Cl}),l.d(R,"Marquee",function(){return wl}),l.d(R,"MathTag",function(){return Wc}),l.d(R,"Menu",function(){return nl}),l.d(R,"Menuitem",function(){return Rc}),l.d(R,"Meta",function(){return su}),l.d(R,"Meter",function(){return Pl}),l.d(R,"Multicol",function(){return al}),l.d(R,"Nav",function(){return Ml}),l.d(R,"Nextid",function(){return Tl}),l.d(R,"Nobr",function(){return td}),l.d(R,"Noembed",function(){return rl}),l.d(R,"Noframes",function(){return dl}),l.d(R,"Noscript",function(){return qt}),l.d(R,"ObjectTag",function(){return nr}),l.d(R,"Ol",function(){return Ur}),l.d(R,"Optgroup",function(){return Yr}),l.d(R,"Option",function(){return ni}),l.d(R,"Output",function(){return vi}),l.d(R,"P",function(){return zr}),l.d(R,"Param",function(){return wr}),l.d(R,"Picture",function(){return Ua}),l.d(R,"Plaintext",function(){return La}),l.d(R,"Pre",function(){return Nr}),l.d(R,"Progress",function(){return ua}),l.d(R,"Q",function(){return ra}),l.d(R,"Rb",function(){return ri}),l.d(R,"Rbc",function(){return li}),l.d(R,"Rp",function(){return hi}),l.d(R,"Rt",function(){return ii}),l.d(R,"Rtc",function(){return Di}),l.d(R,"Ruby",function(){return Xo}),l.d(R,"S",function(){return ps}),l.d(R,"Samp",function(){return mc}),l.d(R,"Script",function(){return Ts}),l.d(R,"Section",function(){return Ar}),l.d(R,"Select",function(){return Gs}),l.d(R,"Shadow",function(){return Nc}),l.d(R,"Slot",function(){return Jc}),l.d(R,"Small",function(){return Fc}),l.d(R,"Source",function(){return Ro}),l.d(R,"Spacer",function(){return Dl}),l.d(R,"Span",function(){return Vl}),l.d(R,"Strike",function(){return hu}),l.d(R,"Strong",function(){return ru}),l.d(R,"Style",function(){return pd}),l.d(R,"Sub",function(){return ql}),l.d(R,"Summary",function(){return Ru}),l.d(R,"Sup",function(){return Hl}),l.d(R,"Svg",function(){return fu}),l.d(R,"Table",function(){return nd}),l.d(R,"Tbody",function(){return bd}),l.d(R,"Td",function(){return ml}),l.d(R,"Template",function(){return os}),l.d(R,"Textarea",function(){return wu}),l.d(R,"Tfoot",function(){return cd}),l.d(R,"Th",function(){return Ud}),l.d(R,"Thead",function(){return Eu}),l.d(R,"Time",function(){return El}),l.d(R,"Title",function(){return eu}),l.d(R,"Tr",function(){return rd}),l.d(R,"Track",function(){return yn}),l.d(R,"Tt",function(){return Dr}),l.d(R,"U",function(){return Xr}),l.d(R,"Ul",function(){return Ta}),l.d(R,"Var",function(){return Ra}),l.d(R,"Video",function(){return wi}),l.d(R,"Wbr",function(){return mo}),l.d(R,"Xmp",function(){return Yi}),l.d(R,"AltGlyph",function(){return Ji}),l.d(R,"AltGlyphDef",function(){return Vs}),l.d(R,"AltGlyphItem",function(){return Jo}),l.d(R,"Animate",function(){return dn}),l.d(R,"AnimateColor",function(){return pn}),l.d(R,"AnimateMotion",function(){return sr}),l.d(R,"AnimateTransform",function(){return lr}),l.d(R,"Animation",function(){return _a}),l.d(R,"Circle",function(){return Fa}),l.d(R,"ClipPath",function(){return Va}),l.d(R,"ColorProfile",function(){return di}),l.d(R,"Cursor",function(){return Ci}),l.d(R,"Defs",function(){return wo}),l.d(R,"Desc",function(){return ho}),l.d(R,"Discard",function(){return Io}),l.d(R,"Ellipse",function(){return Fo}),l.d(R,"FeBlend",function(){return xs}),l.d(R,"FeColorMatrix",function(){return ms}),l.d(R,"FeComponentTransfer",function(){return ys}),l.d(R,"FeComposite",function(){return bs}),l.d(R,"FeConvolveMatrix",function(){return Po}),l.d(R,"FeDiffuseLighting",function(){return yr}),l.d(R,"FeDisplacementMap",function(){return Ls}),l.d(R,"FeDistantLight",function(){return Zs}),l.d(R,"FeDropShadow",function(){return Sc}),l.d(R,"FeFlood",function(){return Hs}),l.d(R,"FeFuncA",function(){return bc}),l.d(R,"FeFuncB",function(){return cr}),l.d(R,"FeFuncG",function(){return qr}),l.d(R,"FeFuncR",function(){return yi}),l.d(R,"FeGaussianBlur",function(){return Ki}),l.d(R,"FeImage",function(){return uo}),l.d(R,"FeMerge",function(){return As}),l.d(R,"FeMergeNode",function(){return zc}),l.d(R,"FeMorphology",function(){return cc}),l.d(R,"FeOffset",function(){return fl}),l.d(R,"FePointLight",function(){return Bc}),l.d(R,"FeSpecularLighting",function(){return Gl}),l.d(R,"FeSpotLight",function(){return Fl}),l.d(R,"FeTile",function(){return pl}),l.d(R,"FeTurbulence",function(){return gu}),l.d(R,"Filter",function(){return bl}),l.d(R,"FontFace",function(){return tu}),l.d(R,"FontFaceFormat",function(){return hl}),l.d(R,"FontFaceName",function(){return ju}),l.d(R,"FontFaceSrc",function(){return il}),l.d(R,"FontFaceUri",function(){return Mu}),l.d(R,"ForeignObject",function(){return ji}),l.d(R,"G",function(){return xa}),l.d(R,"Glyph",function(){return as}),l.d(R,"GlyphRef",function(){return ws}),l.d(R,"Handler",function(){return Cs}),l.d(R,"Hatch",function(){return $o}),l.d(R,"Hatchpath",function(){return _c}),l.d(R,"Hkern",function(){return Lc}),l.d(R,"Line",function(){return Rl}),l.d(R,"LinearGradient",function(){return Ol}),l.d(R,"Listener",function(){return cl}),l.d(R,"Marker",function(){return au}),l.d(R,"Mask",function(){return Yu}),l.d(R,"Mesh",function(){return Od}),l.d(R,"Meshgradient",function(){return Lu}),l.d(R,"Meshpatch",function(){return Hd}),l.d(R,"Meshrow",function(){return af}),l.d(R,"Metadata",function(){return Gd}),l.d(R,"MissingGlyph",function(){return Nd}),l.d(R,"Mpath",function(){return kd}),l.d(R,"Path",function(){return xf}),l.d(R,"Pattern",function(){return Bd}),l.d(R,"Polygon",function(){return Fu}),l.d(R,"Polyline",function(){return xd}),l.d(R,"Prefetch",function(){return of}),l.d(R,"RadialGradient",function(){return ld}),l.d(R,"Rect",function(){return cu}),l.d(R,"SetTag",function(){return ll}),l.d(R,"SolidColor",function(){return ad}),l.d(R,"Solidcolor",function(){return Xu}),l.d(R,"Stop",function(){return _s}),l.d(R,"Switch",function(){return jl}),l.d(R,"SymbolTag",function(){return Uu}),l.d(R,"Tbreak",function(){return jd}),l.d(R,"Text",function(){return Sf}),l.d(R,"TextArea",function(){return Af}),l.d(R,"TextPath",function(){return mf}),l.d(R,"Tref",function(){return Ld}),l.d(R,"Tspan",function(){return qd}),l.d(R,"Unknown",function(){return bu}),l.d(R,"Use",function(){return $d}),l.d(R,"View",function(){return Ju}),l.d(R,"Vkern",function(){return Jd});var E=l("q1tI"),m=l.n(E),O=l("Ad6o"),C=l.n(O),k=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"],A=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","audio","canvas","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hatch","hatchpath","hkern","iframe","image","line","linearGradient","listener","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","prefetch","radialGradient","rect","script","set","solidColor","solidcolor","stop","style","svg","switch","symbol","tbreak","text","textArea","textPath","title","tref","tspan","unknown","use","video","view","vkern"],S=k.concat(A).filter(function(Zo,Vr,Yo){return Yo.indexOf(Zo)===Vr}),y="__glamorous__",w=!1,x=void 0;if(w){if(m.a.PropTypes||(x=function(){return x},["array","bool","func","number","object","string","symbol","any","arrayOf","element","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact"].forEach(function(Zo){x[Zo]=x})),!m.a.Children){var T={map:function(Vr,Yo,Mi){return Vr==null?null:(Vr=T.toArray(Vr),Mi&&Mi!==Vr&&(Yo=Yo.bind(Mi)),Vr.map(Yo))},forEach:function(Vr,Yo,Mi){if(Vr==null)return null;Vr=T.toArray(Vr),Mi&&Mi!==Vr&&(Yo=Yo.bind(Mi)),Vr.forEach(Yo)},count:function(Vr){return Vr&&Vr.length||0},only:function(Vr){if(Vr=T.toArray(Vr),Vr.length!==1)throw new Error("Children.only() expects only one child.");return Vr[0]},toArray:function(Vr){return Vr==null?[]:[].concat(Vr)}};m.a.Children=T}}else if(parseFloat(m.a.version.slice(0,4))>=15.5)try{x=l("17x9")}catch(Zo){}x=x||m.a.PropTypes;var j=function(Vr,Yo){if(!(Vr instanceof Yo))throw new TypeError("Cannot call a class as a function")},D=Object.assign||function(Zo){for(var Vr=1;Vr<arguments.length;Vr++){var Yo=arguments[Vr];for(var Mi in Yo)Object.prototype.hasOwnProperty.call(Yo,Mi)&&(Zo[Mi]=Yo[Mi])}return Zo},N=function(Vr,Yo){if(typeof Yo!="function"&&Yo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Yo);Vr.prototype=Object.create(Yo&&Yo.prototype,{constructor:{value:Vr,enumerable:!1,writable:!0,configurable:!0}}),Yo&&(Object.setPrototypeOf?Object.setPrototypeOf(Vr,Yo):Vr.__proto__=Yo)},F=function(Vr,Yo){var Mi={};for(var ds in Vr)Yo.indexOf(ds)>=0||!Object.prototype.hasOwnProperty.call(Vr,ds)||(Mi[ds]=Vr[ds]);return Mi},B=function(Vr,Yo){if(!Vr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yo&&(typeof Yo=="object"||typeof Yo=="function")?Yo:Vr};function U(Zo){var Vr=Zo.displayName||Zo.name||"FunctionComponent";return'glamorous warning: Expected component called "'+Vr+'" which uses withTheme to be within a ThemeProvider but none was found.'}function J(Zo){var Vr,Yo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mi=Yo.noWarn,ds=Mi===void 0?!1:Mi,oc=Yo.createElement,Il=oc===void 0?!0:oc,pu=function(vu){N(lu,vu);function lu(){var id,Ws,re;j(this,lu);for(var Ae=arguments.length,ct=Array(Ae),wt=0;wt<Ae;wt++)ct[wt]=arguments[wt];return re=(id=(Ws=B(this,vu.call.apply(vu,[this].concat(ct))),Ws),Ws.warned=ds,Ws.state={theme:{}},Ws.setTheme=function(an){return Ws.setState({theme:an})},id),B(Ws,re)}return lu.prototype.componentWillMount=function(){!this.context[y];var Ws=this.props.theme;this.context[y]?this.setTheme(Ws||this.context[y].getState()):this.setTheme(Ws||{})},lu.prototype.componentWillReceiveProps=function(Ws){this.props.theme!==Ws.theme&&this.setTheme(Ws.theme)},lu.prototype.componentDidMount=function(){this.context[y]&&!this.props.theme&&(this.subscriptionId=this.context[y].subscribe(this.setTheme))},lu.prototype.componentWillUnmount=function(){this.subscriptionId&&this.context[y].unsubscribe(this.subscriptionId)},lu.prototype.render=function(){return Il?m.a.createElement(Zo,D({},this.props,this.state)):Zo.call(this,D({},this.props,this.state),this.context)},lu}(m.a.Component),Nl=(Vr={},Vr[y]=x.object,Vr),Du=null;return Object.defineProperty(pu,"contextTypes",{enumerable:!0,configurable:!0,set:function(lu){Du=lu},get:function(){return Du?D({},Nl,Du):Nl}}),pu}var $=ee,X=Object.prototype.toString;function ee(Zo){var Vr=X.call(Zo);return Vr==="[object Function]"||typeof Zo=="function"&&Vr!=="[object RegExp]"||typeof window!="undefined"&&(Zo===window.setTimeout||Zo===window.alert||Zo===window.confirm||Zo===window.prompt)}/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/var ie=function(Vr){return Vr!=null&&typeof Vr=="object"&&Array.isArray(Vr)===!1};function G(Zo){return ie(Zo)===!0&&Object.prototype.toString.call(Zo)==="[object Object]"}var Q=function(Vr){var Yo,Mi;return!(G(Vr)===!1||(Yo=Vr.constructor,typeof Yo!="function")||(Mi=Yo.prototype,G(Mi)===!1)||Mi.hasOwnProperty("isPrototypeOf")===!1)};function W(Zo){var Vr={},Yo=1,Mi=Zo;function ds(){return Mi}function oc(Nl){Mi=Nl;for(var Du=Object.keys(Vr),vu=0,lu=Du.length;vu<lu;vu++)Vr[Du[vu]]&&Vr[Du[vu]](Nl)}function Il(Nl){if(typeof Nl!="function")throw new Error("listener must be a function.");var Du=Yo;return Vr[Du]=Nl,Yo+=1,Du}function pu(Nl){Vr[Nl]=void 0}return{getState:ds,setState:oc,subscribe:Il,unsubscribe:pu}}var ne,te,_e=function(Zo){N(Vr,Zo);function Vr(){var Yo,Mi,ds;j(this,Vr);for(var oc=arguments.length,Il=Array(oc),pu=0;pu<oc;pu++)Il[pu]=arguments[pu];return ds=(Yo=(Mi=B(this,Zo.call.apply(Zo,[this].concat(Il))),Mi),Mi.setOuterTheme=function(Nl){Mi.outerTheme=Nl,Mi.broadcast!==void 0&&Mi.publishTheme()},Yo),B(Mi,ds)}return Vr.prototype.getTheme=function(Mi){var ds=Mi||this.props.theme;if($(ds)){var oc=ds(this.outerTheme);if(!Q(oc))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return oc}return D({},this.outerTheme,ds)},Vr.prototype.getChildContext=function(){var Mi;return Mi={},Mi[y]=this.broadcast,Mi},Vr.prototype.publishTheme=function(Mi){this.broadcast.setState(this.getTheme(Mi))},Vr.prototype.componentDidMount=function(){this.context[y]&&(this.subscriptionId=this.context[y].subscribe(this.setOuterTheme))},Vr.prototype.componentWillMount=function(){this.context[y]&&this.setOuterTheme(this.context[y].getState()),this.broadcast=W(this.getTheme(this.props.theme))},Vr.prototype.componentWillReceiveProps=function(Mi){this.props.theme!==Mi.theme&&this.publishTheme(Mi.theme)},Vr.prototype.componentWillUnmount=function(){this.subscriptionId&&this.context[y].unsubscribe(this.subscriptionId)},Vr.prototype.render=function(){return this.props.children?m.a.Children.only(this.props.children):null},Vr}(m.a.Component);_e.childContextTypes=(ne={},ne[y]=x.object.isRequired,ne),_e.contextTypes=(te={},te[y]=x.object,te);function he(Zo){var Vr=[],Yo=[];return Zo.toString().split(" ").forEach(function(Mi){if(O.styleSheet.registered[Mi.substring(4)]===void 0)Vr.push(Mi);else{var ds=oe(Mi);Yo.push(ds)}}),{glamorlessClassName:Vr,glamorStyles:Yo}}function oe(Zo){var Vr;return Vr={},Vr["data-"+Zo]="",Vr}function ge(Zo){var Vr=Zo.styles,Yo=Zo.props,Mi=Zo.cssOverrides,ds=Zo.cssProp,oc=Zo.context,Il=Zo.displayName,pu=me([].concat(Vr,[Yo.className,Mi,ds]),Yo,oc),Nl=pu.mappedArgs,Du=pu.nonGlamorClassNames,vu=!1,lu=vu?{label:Il}:null,id=O.css.apply(void 0,[lu].concat(Nl)).toString(),Ws=Du.join(" ").trim();return(id+" "+Ws).trim()}function me(Zo,Vr,Yo){for(var Mi=void 0,ds=[],oc=[],Il=0;Il<Zo.length;Il++){for(Mi=Zo[Il];typeof Mi=="function";)Mi=Mi(Vr,Yo);if(typeof Mi=="string"){var pu=he(Mi),Nl=pu.glamorStyles,Du=pu.glamorlessClassName;ds.push.apply(ds,Nl),oc.push.apply(oc,Du)}else if(Array.isArray(Mi)){var vu=me(Mi,Vr,Yo);ds.push.apply(ds,vu.mappedArgs),oc.push.apply(oc,vu.nonGlamorClassNames)}else ds.push(Mi)}return{mappedArgs:ds,nonGlamorClassNames:oc}}function Z(Zo){return Vr;function Vr(Mi){var ds=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oc=ds.rootEl,Il=ds.displayName,pu=ds.shouldClassNameUpdate,Nl=ds.filterProps,Du=Nl===void 0?[]:Nl,vu=ds.forwardProps,lu=vu===void 0?[]:vu,id=ds.propsAreCssOverrides,Ws=id===void 0?Mi.propsAreCssOverrides:id,re=ds.withProps;return Object.assign(ct,{withConfig:Ae}),ct;function Ae(wt){return Vr(Mi,D({},ds,wt))}function ct(){for(var wt=arguments.length,an=Array(wt),jr=0;jr<wt;jr++)an[jr]=arguments[jr];var Xa=J(function(Xs,Uc){Xs=xe(Xa.propsToApply,{},Xs,Uc);var zl=fs(Xs,Uc,this.previous);pu&&(this.previous={props:Xs,context:Uc});var Bu=Zo(Xs,Xa),ud=Bu.toForward,Mp=Bu.cssOverrides,ev=Bu.cssProp;return this.className=zl?ge({styles:Xa.styles,props:Xs,cssOverrides:Mp,cssProp:ev,context:Uc,displayName:Xa.displayName}):this.className,m.a.createElement(Xa.comp,D({ref:"innerRef"in ud?void 0:Xs.innerRef},ud,{className:this.className}))},{noWarn:!0,createElement:!1});function fs(Xs,Uc,zl){if(!pu)return!0;var Bu=!0;return zl&&(pu(zl.props,Xs,zl.context,Uc)||(Bu=!1)),Bu}return Object.assign(Xa,Yo({comp:Mi,styles:an,rootEl:oc,filterProps:Du,forwardProps:lu,displayName:Il,propsToApply:re}),{isGlamorousComponent:!0,propsAreCssOverrides:Ws,withComponent:function(Uc){var zl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bu=Xa.forwardProps,ud=Xa.filterProps,Mp=F(Xa,["forwardProps","filterProps"]);return Vr(D({},Mp,{comp:Uc,rootEl:we(Uc)}),D({forwardProps:Bu,filterProps:ud},zl))()},withProps:function(){for(var Uc=arguments.length,zl=Array(Uc),Bu=0;Bu<Uc;Bu++)zl[Bu]=arguments[Bu];return Vr(Xa,{withProps:zl})()},withConfig:Ae}),Xa}}function Yo(Mi){var ds=Mi.comp,oc=Mi.styles,Il=Mi.rootEl,pu=Mi.filterProps,Nl=Mi.forwardProps,Du=Mi.displayName,vu=Mi.propsToApply,lu=ds.comp?ds.comp:ds,id=ds.propsToApply?[].concat(ds.propsToApply,Ee(vu)):Ee(vu);return{styles:Le(ds.styles,oc),comp:lu,rootEl:Il||we(ds),forwardProps:Le(ds.forwardProps,Nl),filterProps:Le(ds.filterProps,pu),displayName:Du||"glamorous("+fe(ds)+")",propsToApply:id}}}function xe(Zo,Vr,Yo,Mi){return Zo.forEach(function(ds){return typeof ds=="function"?Object.assign(Vr,ds(Object.assign({},Vr,Yo),Mi)):Array.isArray(ds)?Object.assign(Vr,xe(ds,Vr,Yo,Mi)):Object.assign(Vr,ds)}),Object.assign(Vr,Yo)}function Ee(){var Zo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Array.isArray(Zo)?Zo:[Zo]}function Le(Zo,Vr){return Zo?Zo.concat(Vr):Vr}function we(Zo){return Zo.rootEl?Zo.rootEl:Zo.comp||Zo}function fe(Zo){return typeof Zo=="string"?Zo:Zo.displayName||Zo.name||"unknown"}function pe(Zo,Vr){var Yo=Vr&&Vr.cache?Vr.cache:lt,Mi=Vr&&Vr.serializer?Vr.serializer:Xe,ds=Vr&&Vr.strategy?Vr.strategy:He;return ds(Zo,{cache:Yo,serializer:Mi})}function Ke(Zo){return Zo==null||typeof Zo=="number"||typeof Zo=="boolean"}function Me(Zo,Vr,Yo,Mi){var ds=Ke(Mi)?Mi:Yo(Mi),oc=Vr.get(ds);return typeof oc=="undefined"&&(oc=Zo.call(this,Mi),Vr.set(ds,oc)),oc}function ze(Zo,Vr,Yo){var Mi=Array.prototype.slice.call(arguments,3),ds=Yo(Mi),oc=Vr.get(ds);return typeof oc=="undefined"&&(oc=Zo.apply(this,Mi),Vr.set(ds,oc)),oc}function Ue(Zo,Vr,Yo,Mi,ds){return Yo.bind(Vr,Zo,Mi,ds)}function He(Zo,Vr){var Yo=Zo.length===1?Me:ze;return Ue(Zo,this,Yo,Vr.cache.create(),Vr.serializer)}function Ne(Zo,Vr){var Yo=ze;return Ue(Zo,this,Yo,Vr.cache.create(),Vr.serializer)}function it(Zo,Vr){var Yo=Me;return Ue(Zo,this,Yo,Vr.cache.create(),Vr.serializer)}function Xe(){return JSON.stringify(arguments)}function ht(){this.cache=Object.create(null)}ht.prototype.has=function(Zo){return Zo in this.cache},ht.prototype.get=function(Zo){return this.cache[Zo]},ht.prototype.set=function(Zo,Vr){this.cache[Zo]=Vr};var lt={create:function(){return new ht}},Et=pe,tt={variadic:Ne,monadic:it};Et.strategies=tt;function mt(Zo){return Zo&&Zo.__esModule&&Object.prototype.hasOwnProperty.call(Zo,"default")?Zo.default:Zo}function xt(Zo,Vr){return Vr={exports:{}},Zo(Vr,Vr.exports),Vr.exports}var Xt=["coords","download","href","name","rel","shape","target","type"],vt=["title"],qe=["alt","height","name","width"],Re=["alt","coords","download","href","rel","shape","target","type"],Se=["controls","loop","muted","preload","src"],Ve=["href","target"],Ge=["size"],_t=["dir"],bt=["cite"],gt=["disabled","form","name","type","value"],at=["height","width"],ft=["span","width"],Fe=["span","width"],Te=["value"],ut=["cite"],le=["open"],$e=["title"],Qe=["open"],Tt=["height","src","type","width"],Ot=["disabled","form","name"],Ut=["size"],At=["accept","action","method","name","target"],Pt=["name","scrolling","src"],Dt=["cols","rows"],Qt=["profile"],cn=["size","width"],$n=["manifest"],hn=["height","name","sandbox","scrolling","src","width"],_n=["alt","height","name","sizes","src","width"],bn=["accept","alt","autoCapitalize","autoCorrect","autoSave","checked","defaultChecked","defaultValue","disabled","form","height","list","max","min","multiple","name","onChange","pattern","placeholder","required","results","size","src","step","title","type","value","width"],Bn=["cite"],Tn=["challenge","disabled","form","name"],Tr=["form"],Sr=["type","value"],Wr=["color","href","integrity","media","nonce","rel","scope","sizes","target","title","type"],br=["name"],Wn=["content","name"],gr=["high","low","max","min","optimum","value"],na=["data","form","height","name","type","width"],jn=["reversed","start","type"],un=["disabled","label"],zt=["disabled","label","selected","value"],Bt=["form","name"],H=["name","type","value"],ot=["width"],nt=["max","value"],Ct=["cite"],Wt=["async","defer","integrity","nonce","src","type"],kn=["defaultValue","disabled","form","multiple","name","onChange","required","size","value"],Sn=["name"],Zn=["media","sizes","src","type"],Or=["media","nonce","title","type"],Yn=["summary","width"],Nn=["headers","height","scope","width"],Zt=["autoCapitalize","autoCorrect","cols","defaultValue","disabled","form","name","onChange","placeholder","required","rows","value","wrap"],rr=["headers","height","scope","width"],Gn=["default","kind","label","src"],ln=["type"],Xn=["controls","height","loop","muted","playsInline","poster","preload","src","width"],Kn=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","color","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","height","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","width","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","xmlns","xmlnsXlink","y","y1","y2","yChannelSelector","z","zoomAndPan"],fr={html:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],svg:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]},Hn={a:Xt,abbr:vt,applet:qe,area:Re,audio:Se,base:Ve,basefont:Ge,bdo:_t,blockquote:bt,button:gt,canvas:at,col:ft,colgroup:Fe,data:Te,del:ut,details:le,dfn:$e,dialog:Qe,embed:Tt,fieldset:Ot,font:Ut,form:At,frame:Pt,frameset:Dt,head:Qt,hr:cn,html:$n,iframe:hn,img:_n,input:bn,ins:Bn,keygen:Tn,label:Tr,li:Sr,link:Wr,map:br,meta:Wn,meter:gr,object:na,ol:jn,optgroup:un,option:zt,output:Bt,param:H,pre:ot,progress:nt,q:Ct,script:Wt,select:kn,slot:Sn,source:Zn,style:Or,table:Yn,td:Nn,textarea:Zt,th:rr,track:Gn,ul:ln,video:Xn,svg:Kn,elements:fr,"*":["about","acceptCharset","accessKey","allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","classID","className","colSpan","contentEditable","contextMenu","crossOrigin","dangerouslySetInnerHTML","datatype","dateTime","dir","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hidden","hrefLang","htmlFor","httpEquiv","icon","id","inlist","inputMode","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","lang","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","prefix","property","radioGroup","readOnly","resource","role","rowSpan","scoped","seamless","security","spellCheck","srcDoc","srcLang","srcSet","style","suppressContentEditableWarning","tabIndex","title","typeof","unselectable","useMap","vocab","wmode"]},Sa=Object.freeze({a:Xt,abbr:vt,applet:qe,area:Re,audio:Se,base:Ve,basefont:Ge,bdo:_t,blockquote:bt,button:gt,canvas:at,col:ft,colgroup:Fe,data:Te,del:ut,details:le,dfn:$e,dialog:Qe,embed:Tt,fieldset:Ot,font:Ut,form:At,frame:Pt,frameset:Dt,head:Qt,hr:cn,html:$n,iframe:hn,img:_n,input:bn,ins:Bn,keygen:Tn,label:Tr,li:Sr,link:Wr,map:br,meta:Wn,meter:gr,object:na,ol:jn,optgroup:un,option:zt,output:Bt,param:H,pre:ot,progress:nt,q:Ct,script:Wt,select:kn,slot:Sn,source:Zn,style:Or,table:Yn,td:Nn,textarea:Zt,th:rr,track:Gn,ul:ln,video:Xn,svg:Kn,elements:fr,default:Hn}),Lr=Sa&&Hn||Sa,Ca=xt(function(Zo,Vr){Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.default=Lr,Zo.exports=Lr}),za=mt(Ca),Ma=["children","dangerouslySetInnerHTML","key","ref","autoFocus","defaultValue","valueLink","defaultChecked","checkedLink","innerHTML","suppressContentEditableWarning","onFocusIn","onFocusOut","className","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onCopyCapture","onCutCapture","onPasteCapture","onCompositionEndCapture","onCompositionStartCapture","onCompositionUpdateCapture","onKeyDownCapture","onKeyPressCapture","onKeyUpCapture","onFocusCapture","onBlurCapture","onChangeCapture","onInputCapture","onSubmitCapture","onClickCapture","onContextMenuCapture","onDoubleClickCapture","onDragCapture","onDragEndCapture","onDragEnterCapture","onDragExitCapture","onDragLeaveCapture","onDragOverCapture","onDragStartCapture","onDropCapture","onMouseDownCapture","onMouseEnterCapture","onMouseLeaveCapture","onMouseMoveCapture","onMouseOutCapture","onMouseOverCapture","onMouseUpCapture","onSelectCapture","onTouchCancelCapture","onTouchEndCapture","onTouchMoveCapture","onTouchStartCapture","onScrollCapture","onWheelCapture","onAbortCapture","onCanPlayCapture","onCanPlayThroughCapture","onDurationChangeCapture","onEmptiedCapture","onEncryptedCapture","onEndedCapture","onErrorCapture","onLoadedDataCapture","onLoadedMetadataCapture","onLoadStartCapture","onPauseCapture","onPlayCapture","onPlayingCapture","onProgressCapture","onRateChangeCapture","onSeekedCapture","onSeekingCapture","onStalledCapture","onSuspendCapture","onTimeUpdateCapture","onVolumeChangeCapture","onWaitingCapture","onLoadCapture","onAnimationStartCapture","onAnimationEndCapture","onAnimationIterationCapture","onTransitionEndCapture"];w&&Ma.push("autocomplete","autofocus","class","for","onDblClick","onSearch","slot","srcset");var va=za["*"],qa=za.elements.svg,gi=za.elements.html,Qi=["color","height","width"],mi=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Cr=mi+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Un=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Cr+"]*$")),Lt=function(Vr){return Vr==="svg"||gi.indexOf(Vr)===-1&&qa.indexOf(Vr)!==-1},gn=function(Vr,Yo){var Mi=void 0;return Lt(Yo)?Mi=za.svg:Mi=za[Yo]||[],va.indexOf(Vr)!==-1||Mi.indexOf(Vr)!==-1},Ln=function(Vr){return Qi.indexOf(Vr)!==-1},kr=function(Vr){return Ma.indexOf(Vr)!==-1},ea=function(Vr,Yo){return typeof Vr!="string"||(gn(Yo,Vr)||kr(Yo)||Un(Yo.toLowerCase()))&&(!Ln(Yo)||Lt(Vr))},Qr=Et(ea);function Na(Zo,Vr){var Yo=Vr.propsAreCssOverrides,Mi=Vr.rootEl,ds=Vr.filterProps,oc=Vr.forwardProps,Il=Zo.css,pu=Zo.innerRef,Nl=Zo.theme,Du=Zo.className,vu=Zo.glam,lu=F(Zo,["css","innerRef","theme","className","glam"]);pu!==void 0&&oc.indexOf("innerRef")!==-1&&(lu.innerRef=pu);var id={toForward:{},cssProp:Il,cssOverrides:{}};return!Yo&&typeof Mi!="string"&&ds.length===0?(id.toForward=lu,id):Object.keys(lu).reduce(function(Ws,re){return ds.indexOf(re)!==-1||(oc.indexOf(re)!==-1||Qr(Mi,re)?Ws.toForward[re]=lu[re]:Yo&&(Ws.cssOverrides[re]=lu[re])),Ws},id)}var ar=Z(Na);Object.assign(ar,S.reduce(function(Zo,Vr){return Zo[Vr]=ar(Vr),Zo},{})),Object.assign(ar,S.reduce(function(Zo,Vr){var Yo=pi(Vr);return Zo[Yo]=ar[Vr](),Zo[Yo].displayName="glamorous."+Yo,Zo[Yo].propsAreCssOverrides=!0,Zo},{}));function pi(Zo){return Zo.slice(0,1).toUpperCase()+Zo.slice(1)}ar.default=ar;var _i=ar.A,ti=ar.Abbr,ui=ar.Acronym,Ri=ar.Address,ao=ar.Applet,Zi=ar.Area,Fi=ar.Article,Si=ar.Aside,qi=ar.Audio,eo=ar.B,xo=ar.Base,cs=ar.Basefont,ba=ar.Bdi,sa=ar.Bdo,Da=ar.Bgsound,On=ar.Big,xn=ar.Blink,Rt=ar.Blockquote,mr=ar.Body,ta=ar.Br,ma=ar.Button,Oa=ar.Canvas,Pn=ar.Caption,Kr=ar.Center,Vn=ar.Cite,tr=ar.Code,Ea=ar.Col,Ja=ar.Colgroup,go=ar.Command,fi=ar.Content,lo=ar.Data,Oi=ar.Datalist,io=ar.Dd,Vi=ar.Del,vo=ar.Details,qo=ar.Dfn,hs=ar.Dialog,$t=ar.Dir,rt=ar.Div,Vt=ar.Dl,tn=ar.Dt,wn=ar.Element,qn=ar.Em,zn=ar.Embed,xr=ar.Fieldset,da=ar.Figcaption,en=ar.Figure,Fn=ar.Font,Jn=ar.Footer,Ir=ar.Form,Gr=ar.Frame,ga=ar.Frameset,Mr=ar.H1,$a=ar.H2,Ya=ar.H3,_o=ar.H4,Ni=ar.H5,ec=ar.H6,ks=ar.Head,jo=ar.Header,Qn=ar.Hgroup,ka=ar.Hr,Pa=ar.Html,Qa=ar.I,Ei=ar.Iframe,zo=ar.Image,fo=ar.Img,gs=ar.Input,Ks=ar.Ins,pc=ar.Isindex,tc=ar.Kbd,xc=ar.Keygen,kc=ar.Label,Ss=ar.Legend,Js=ar.Li,Mo=ar.Link,js=ar.Listing,Yc=ar.Main,gc=ar.Map,Cl=ar.Mark,wl=ar.Marquee,Wc=ar.Math,nl=ar.Menu,Rc=ar.Menuitem,su=ar.Meta,Pl=ar.Meter,al=ar.Multicol,Ml=ar.Nav,Tl=ar.Nextid,td=ar.Nobr,rl=ar.Noembed,dl=ar.Noframes,qt=ar.Noscript,nr=ar.Object,Ur=ar.Ol,Yr=ar.Optgroup,ni=ar.Option,vi=ar.Output,zr=ar.P,wr=ar.Param,Ua=ar.Picture,La=ar.Plaintext,Nr=ar.Pre,ua=ar.Progress,ra=ar.Q,ri=ar.Rb,li=ar.Rbc,hi=ar.Rp,ii=ar.Rt,Di=ar.Rtc,Xo=ar.Ruby,ps=ar.S,mc=ar.Samp,Ts=ar.Script,Ar=ar.Section,Gs=ar.Select,Nc=ar.Shadow,Jc=ar.Slot,Fc=ar.Small,Ro=ar.Source,Dl=ar.Spacer,Vl=ar.Span,hu=ar.Strike,ru=ar.Strong,pd=ar.Style,ql=ar.Sub,Ru=ar.Summary,Hl=ar.Sup,fu=ar.Svg,nd=ar.Table,bd=ar.Tbody,ml=ar.Td,os=ar.Template,wu=ar.Textarea,cd=ar.Tfoot,Ud=ar.Th,Eu=ar.Thead,El=ar.Time,eu=ar.Title,rd=ar.Tr,yn=ar.Track,Dr=ar.Tt,Xr=ar.U,Ta=ar.Ul,Ra=ar.Var,wi=ar.Video,mo=ar.Wbr,Yi=ar.Xmp,Ji=ar.AltGlyph,Vs=ar.AltGlyphDef,Jo=ar.AltGlyphItem,dn=ar.Animate,pn=ar.AnimateColor,sr=ar.AnimateMotion,lr=ar.AnimateTransform,_a=ar.Animation,Fa=ar.Circle,Va=ar.ClipPath,di=ar["Color-profile"],Ci=ar.Cursor,wo=ar.Defs,ho=ar.Desc,Io=ar.Discard,Fo=ar.Ellipse,xs=ar.FeBlend,ms=ar.FeColorMatrix,ys=ar.FeComponentTransfer,bs=ar.FeComposite,Po=ar.FeConvolveMatrix,yr=ar.FeDiffuseLighting,Ls=ar.FeDisplacementMap,Zs=ar.FeDistantLight,Sc=ar.FeDropShadow,Hs=ar.FeFlood,bc=ar.FeFuncA,cr=ar.FeFuncB,qr=ar.FeFuncG,yi=ar.FeFuncR,Ki=ar.FeGaussianBlur,uo=ar.FeImage,As=ar.FeMerge,zc=ar.FeMergeNode,cc=ar.FeMorphology,fl=ar.FeOffset,Bc=ar.FePointLight,Gl=ar.FeSpecularLighting,Fl=ar.FeSpotLight,pl=ar.FeTile,gu=ar.FeTurbulence,bl=ar.Filter,tu=ar["Font-face"],hl=ar["Font-face-format"],ju=ar["Font-face-name"],il=ar["Font-face-src"],Mu=ar["Font-face-uri"],ji=ar.ForeignObject,xa=ar.G,as=ar.Glyph,ws=ar.GlyphRef,Cs=ar.Handler,$o=ar.Hatch,_c=ar.Hatchpath,Lc=ar.Hkern,Rl=ar.Line,Ol=ar.LinearGradient,cl=ar.Listener,au=ar.Marker,Yu=ar.Mask,Od=ar.Mesh,Lu=ar.Meshgradient,Hd=ar.Meshpatch,af=ar.Meshrow,Gd=ar.Metadata,Nd=ar["Missing-glyph"],kd=ar.Mpath,xf=ar.Path,Bd=ar.Pattern,Fu=ar.Polygon,xd=ar.Polyline,of=ar.Prefetch,ld=ar.RadialGradient,cu=ar.Rect,ll=ar.Set,ad=ar.SolidColor,Xu=ar.Solidcolor,_s=ar.Stop,jl=ar.Switch,Uu=ar.Symbol,jd=ar.Tbreak,Sf=ar.Text,Af=ar.TextArea,mf=ar.TextPath,Ld=ar.Tref,qd=ar.Tspan,bu=ar.Unknown,$d=ar.Use,Ju=ar.View,Jd=ar.Vkern;R.default=ar},gwTy:function(ce,R,l){},gweS:function(ce,R,l){var E=l("Mi8B");E("Uint16",function(m){return function(C,k,A){return m(this,C,k,A)}})},gyPk:function(ce,R,l){ce.exports={rightSection:"rightSection___wiZOa",entityInfo:"entityInfo___8Dh7w",topInfo:"topInfo___Wm-Z0"}},gzZq:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingToSyntax=void 0;var E=l("MON2"),m=l("FV85"),O=l("D9lx"),C=l("LKzl"),k=function(){function A(S){this._binding=S}return A.prototype.to=function(S){return this._binding.type=m.BindingTypeEnum.Instance,this._binding.implementationType=S,new O.BindingInWhenOnSyntax(this._binding)},A.prototype.toSelf=function(){if(typeof this._binding.serviceIdentifier!="function")throw new Error(""+E.INVALID_TO_SELF_VALUE);var S=this._binding.serviceIdentifier;return this.to(S)},A.prototype.toConstantValue=function(S){return this._binding.type=m.BindingTypeEnum.ConstantValue,this._binding.cache=S,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=m.BindingScopeEnum.Singleton,new C.BindingWhenOnSyntax(this._binding)},A.prototype.toDynamicValue=function(S){return this._binding.type=m.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=S,this._binding.implementationType=null,new O.BindingInWhenOnSyntax(this._binding)},A.prototype.toConstructor=function(S){return this._binding.type=m.BindingTypeEnum.Constructor,this._binding.implementationType=S,this._binding.scope=m.BindingScopeEnum.Singleton,new C.BindingWhenOnSyntax(this._binding)},A.prototype.toFactory=function(S){return this._binding.type=m.BindingTypeEnum.Factory,this._binding.factory=S,this._binding.scope=m.BindingScopeEnum.Singleton,new C.BindingWhenOnSyntax(this._binding)},A.prototype.toFunction=function(S){if(typeof S!="function")throw new Error(E.INVALID_FUNCTION_BINDING);var y=this.toConstantValue(S);return this._binding.type=m.BindingTypeEnum.Function,this._binding.scope=m.BindingScopeEnum.Singleton,y},A.prototype.toAutoFactory=function(S){return this._binding.type=m.BindingTypeEnum.Factory,this._binding.factory=function(y){var w=function(){return y.container.get(S)};return w},this._binding.scope=m.BindingScopeEnum.Singleton,new C.BindingWhenOnSyntax(this._binding)},A.prototype.toProvider=function(S){return this._binding.type=m.BindingTypeEnum.Provider,this._binding.provider=S,this._binding.scope=m.BindingScopeEnum.Singleton,new C.BindingWhenOnSyntax(this._binding)},A.prototype.toService=function(S){this.toDynamicValue(function(y){return y.container.get(S)})},A}();R.BindingToSyntax=k},h0XC:function(ce,R){function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},h7MG:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.getBindingDictionary=R.createMockRequest=R.plan=void 0;var E=l("doU7"),m=l("MON2"),O=l("FV85"),C=l("xfSm"),k=l("qK8v"),A=l("ujMp"),S=l("oy+k"),y=l("GXnB"),w=l("yMAV"),x=l("fbrv"),T=l("xiII"),j=l("dX1H");function D(ee){return ee._bindingDictionary}R.getBindingDictionary=D;function N(ee,ie,G,Q,W,ne){var te=ee?C.MULTI_INJECT_TAG:C.INJECT_TAG,_e=new y.Metadata(te,G),he=new j.Target(ie,Q,G,_e);if(W!==void 0){var oe=new y.Metadata(W,ne);he.metadata.push(oe)}return he}function F(ee,ie,G,Q,W){var ne=J(G.container,W.serviceIdentifier),te=[];return ne.length===E.BindingCount.NoBindingsAvailable&&G.container.options.autoBindInjectable&&typeof W.serviceIdentifier=="function"&&ee.getConstructorMetadata(W.serviceIdentifier).compilerGeneratedMetadata&&(G.container.bind(W.serviceIdentifier).toSelf(),ne=J(G.container,W.serviceIdentifier)),ie?te=ne:te=ne.filter(function(_e){var he=new T.Request(_e.serviceIdentifier,G,Q,_e,W);return _e.constraint(he)}),B(W.serviceIdentifier,te,W,G.container),te}function B(ee,ie,G,Q){switch(ie.length){case E.BindingCount.NoBindingsAvailable:if(G.isOptional())return ie;var W=A.getServiceIdentifierAsString(ee),ne=m.NOT_REGISTERED;throw ne+=A.listMetadataForTarget(W,G),ne+=A.listRegisteredBindingsForServiceIdentifier(Q,W,J),new Error(ne);case E.BindingCount.OnlyOneBindingAvailable:if(!G.isArray())return ie;case E.BindingCount.MultipleBindingsAvailable:default:if(G.isArray())return ie;var W=A.getServiceIdentifierAsString(ee),ne=m.AMBIGUOUS_MATCH+" "+W;throw ne+=A.listRegisteredBindingsForServiceIdentifier(Q,W,J),new Error(ne)}}function U(ee,ie,G,Q,W,ne){var te,_e;if(W===null){te=F(ee,ie,Q,null,ne),_e=new T.Request(G,Q,null,te,ne);var he=new w.Plan(Q,_e);Q.addPlan(he)}else te=F(ee,ie,Q,W,ne),_e=W.addChildRequest(ne.serviceIdentifier,te,ne);te.forEach(function(oe){var ge=null;if(ne.isArray())ge=_e.addChildRequest(oe.serviceIdentifier,oe,ne);else{if(oe.cache)return;ge=_e}if(oe.type===O.BindingTypeEnum.Instance&&oe.implementationType!==null){var me=x.getDependencies(ee,oe.implementationType);if(!Q.container.options.skipBaseClassChecks){var Z=x.getBaseClassDependencyCount(ee,oe.implementationType);if(me.length<Z){var xe=m.ARGUMENTS_LENGTH_MISMATCH(x.getFunctionName(oe.implementationType));throw new Error(xe)}}me.forEach(function(Ee){U(ee,!1,Ee.serviceIdentifier,Q,ge,Ee)})}})}function J(ee,ie){var G=[],Q=D(ee);return Q.hasKey(ie)?G=Q.get(ie):ee.parent!==null&&(G=J(ee.parent,ie)),G}function $(ee,ie,G,Q,W,ne,te,_e){_e===void 0&&(_e=!1);var he=new S.Context(ie),oe=N(G,Q,W,"",ne,te);try{return U(ee,_e,W,he,null,oe),he}catch(ge){throw k.isStackOverflowExeption(ge)&&he.plan&&A.circularDependencyToException(he.plan.rootRequest),ge}}R.plan=$;function X(ee,ie,G,Q){var W=new j.Target(O.TargetTypeEnum.Variable,"",ie,new y.Metadata(G,Q)),ne=new S.Context(ee),te=new T.Request(ie,ne,null,[],W);return te}R.createMockRequest=X},hEhG:function(ce,R,l){var E=l("sKgW"),m=l("mv/X"),O=l("Sxd8"),C=l("dt0z");function k(A,S,y){return(y?m(A,S,y):S===void 0)?S=1:S=O(S),E(C(A),S)}ce.exports=k},hFxe:function(ce,R,l){"use strict";l.d(R,"x",function(){return k}),l.d(R,"r",function(){return A}),l.d(R,"v",function(){return S}),l.d(R,"e",function(){return y}),l.d(R,"I",function(){return w}),l.d(R,"c",function(){return x}),l.d(R,"G",function(){return T}),l.d(R,"u",function(){return j}),l.d(R,"d",function(){return D}),l.d(R,"H",function(){return N}),l.d(R,"C",function(){return F}),l.d(R,"b",function(){return B}),l.d(R,"J",function(){return U}),l.d(R,"z",function(){return J}),l.d(R,"i",function(){return $}),l.d(R,"k",function(){return X}),l.d(R,"m",function(){return ee}),l.d(R,"l",function(){return ie}),l.d(R,"y",function(){return G}),l.d(R,"f",function(){return Q}),l.d(R,"K",function(){return W}),l.d(R,"D",function(){return ne}),l.d(R,"a",function(){return te}),l.d(R,"n",function(){return _e}),l.d(R,"w",function(){return oe}),l.d(R,"s",function(){return ge}),l.d(R,"g",function(){return me}),l.d(R,"h",function(){return Z}),l.d(R,"B",function(){return xe}),l.d(R,"j",function(){return Ee}),l.d(R,"q",function(){return Le}),l.d(R,"E",function(){return fe}),l.d(R,"F",function(){return pe}),l.d(R,"o",function(){return Ke}),l.d(R,"t",function(){return ze}),l.d(R,"A",function(){return Ue}),l.d(R,"p",function(){return He});var E=l("qLMh"),m=l("9og8"),O=l("k1fw"),C=l("ZqBY");function k(){return window.RUNNING_ENV==="chat"?C.a.get("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf/domainList")):C.a.get("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"domain/getDomainList"))}function A(Ne){return C.a.get("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"datasource/getDatasourceList/").concat(Ne.domainId))}function S(Ne){return C.a.get("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"domain/getDomain/").concat(Ne.domainId))}function y(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"domain/createDomain"),{data:Ne})}function w(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"domain/updateDomain"),{data:Ne})}function x(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"datasource/createDatasource"),{data:Ne})}function T(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"datasource/updateDatasource"),{data:Ne})}function j(Ne){var it={data:Object(O.a)({current:1,pageSize:999999},Ne)};return window.RUNNING_ENV==="chat"?C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf/dimension/page"),it):C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"dimension/queryDimension"),it)}function D(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"dimension/createDimension"),{data:Ne})}function N(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"dimension/updateDimension"),{data:Ne})}function F(Ne){var it={data:Object(O.a)({current:1,pageSize:999999},Ne)};return window.RUNNING_ENV==="chat"?C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf/metric/page"),it):C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"metric/queryMetric"),it)}function B(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"metric/creatExprMetric"),{data:Ne})}function U(Ne){return C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"metric/updateExprMetric"),{data:Ne})}function J(Ne){return C.a.get("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"datasource/getMeasureListOfDomain/").concat(Ne))}function $(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"datasource/deleteDatasource/").concat(Ne),{method:"DELETE"})}function X(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"dimension/deleteDimension/").concat(Ne),{method:"DELETE"})}function ee(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"metric/deleteMetric/").concat(Ne),{method:"DELETE"})}function ie(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"domain/deleteDomain/").concat(Ne),{method:"DELETE"})}function G(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"queryGroup"),{method:"GET",params:{domainId:Ne}})}function Q(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"createGroup"),{method:"POST",data:Ne})}function W(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"updateGroup"),{method:"POST",data:Ne})}function ne(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"removeGroup"),{method:"POST",data:Ne})}function te(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf"),{method:"POST",data:Ne})}function _e(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf"),{method:"PUT",data:Ne})}function he(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf/search"),{method:"POST",data:Ne})}function oe(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.CHAT_API_BASE_URL,"conf/richDesc/").concat(Ne.domainId),{method:"GET"})}function ge(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"datasource/getDatasourceRelaList/").concat(Ne),{method:"GET"})}function me(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"viewInfo/createOrUpdateDatasourceRela"),{method:"POST",data:Ne})}function Z(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"viewInfo/createOrUpdateViewInfo"),{method:"POST",data:Ne})}function xe(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"viewInfo/getViewInfoList/").concat(Ne),{method:"GET"})}function Ee(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"viewInfo/deleteDatasourceRela/").concat(Ne),{method:"DELETE"})}function Le(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/getDatabaseByDomainId/").concat(Ne),{method:"GET"})}function we(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"viewInfo/getDomainSchemaRela/").concat(Ne),{method:"GET"})}function fe(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/createOrUpdateDatabase"),{method:"POST",data:Ne})}function pe(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/testConnect"),{method:"POST",data:Ne})}function Ke(Ne){return Me.apply(this,arguments)}function Me(){return Me=Object(m.a)(Object(E.a)().mark(function Ne(it){var Xe;return Object(E.a)().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return Xe=Object(O.a)({},it),lt.abrupt("return",C.a.post("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/executeSql"),{data:Xe}));case 2:case"end":return lt.stop()}},Ne)})),Me.apply(this,arguments)}function ze(Ne){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/getDbNames/").concat(Ne),{method:"GET"})}function Ue(Ne,it){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/getTables/").concat(Ne,"/").concat(it),{method:"GET"})}function He(Ne,it,Xe){return Object(C.a)("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.API_BASE_URL,"database/getColumns/").concat(Ne,"/").concat(it,"/").concat(Xe),{method:"GET"})}},hGVw:function(ce,R,l){},hJue:function(ce,R,l){var E=l("DsIs");ce.exports=E},"hKI/":function(ce,R,l){(function(E){var m="Expected a function",O=0/0,C="[object Symbol]",k=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,y=/^0o[0-7]+$/i,w=parseInt,x=typeof E=="object"&&E&&E.Object===Object&&E,T=typeof self=="object"&&self&&self.Object===Object&&self,j=x||T||Function("return this")(),D=Object.prototype,N=D.toString,F=Math.max,B=Math.min,U=function(){return j.Date.now()};function J(Q,W,ne){var te,_e,he,oe,ge,me,Z=0,xe=!1,Ee=!1,Le=!0;if(typeof Q!="function")throw new TypeError(m);W=G(W)||0,X(ne)&&(xe=!!ne.leading,Ee="maxWait"in ne,he=Ee?F(G(ne.maxWait)||0,W):he,Le="trailing"in ne?!!ne.trailing:Le);function we(it){var Xe=te,ht=_e;return te=_e=void 0,Z=it,oe=Q.apply(ht,Xe),oe}function fe(it){return Z=it,ge=setTimeout(Me,W),xe?we(it):oe}function pe(it){var Xe=it-me,ht=it-Z,lt=W-Xe;return Ee?B(lt,he-ht):lt}function Ke(it){var Xe=it-me,ht=it-Z;return me===void 0||Xe>=W||Xe<0||Ee&&ht>=he}function Me(){var it=U();if(Ke(it))return ze(it);ge=setTimeout(Me,pe(it))}function ze(it){return ge=void 0,Le&&te?we(it):(te=_e=void 0,oe)}function Ue(){ge!==void 0&&clearTimeout(ge),Z=0,te=me=_e=ge=void 0}function He(){return ge===void 0?oe:ze(U())}function Ne(){var it=U(),Xe=Ke(it);if(te=arguments,_e=this,me=it,Xe){if(ge===void 0)return fe(me);if(Ee)return ge=setTimeout(Me,W),we(me)}return ge===void 0&&(ge=setTimeout(Me,W)),oe}return Ne.cancel=Ue,Ne.flush=He,Ne}function $(Q,W,ne){var te=!0,_e=!0;if(typeof Q!="function")throw new TypeError(m);return X(ne)&&(te="leading"in ne?!!ne.leading:te,_e="trailing"in ne?!!ne.trailing:_e),J(Q,W,{leading:te,maxWait:W,trailing:_e})}function X(Q){var W=typeof Q;return!!Q&&(W=="object"||W=="function")}function ee(Q){return!!Q&&typeof Q=="object"}function ie(Q){return typeof Q=="symbol"||ee(Q)&&N.call(Q)==C}function G(Q){if(typeof Q=="number")return Q;if(ie(Q))return O;if(X(Q)){var W=typeof Q.valueOf=="function"?Q.valueOf():Q;Q=X(W)?W+"":W}if(typeof Q!="string")return Q===0?Q:+Q;Q=Q.replace(k,"");var ne=S.test(Q);return ne||y.test(Q)?w(Q.slice(2),ne?2:8):A.test(Q)?O:+Q}ce.exports=$}).call(this,l("IyRk"))},hKmx:function(ce,R,l){"use strict";var E=l("Un+d"),m=l("oa35"),O=l("7BAe"),C=function(k,A,S,y,w,x,T,j){for(var D=w,N=0,F=T?O(T,j,3):!1,B;N<y;){if(N in S){if(B=F?F(S[N],N,A):S[N],x>0&&E(B))D=C(k,A,B,m(B.length),D,x-1)-1;else{if(D>=9007199254740991)throw TypeError("Exceed the acceptable array length");k[D]=B}D++}N++}return D};ce.exports=C},hNzZ:function(ce,R,l){"use strict";l.r(R),l.d(R,"blue",function(){return he}),l.d(R,"cyan",function(){return _e}),l.d(R,"geekblue",function(){return oe}),l.d(R,"generate",function(){return U}),l.d(R,"gold",function(){return G}),l.d(R,"green",function(){return te}),l.d(R,"grey",function(){return Z}),l.d(R,"lime",function(){return ne}),l.d(R,"magenta",function(){return me}),l.d(R,"orange",function(){return Q}),l.d(R,"presetDarkPalettes",function(){return X}),l.d(R,"presetPalettes",function(){return $}),l.d(R,"presetPrimaryColors",function(){return J}),l.d(R,"purple",function(){return ge}),l.d(R,"red",function(){return ee}),l.d(R,"volcano",function(){return ie}),l.d(R,"yellow",function(){return W});var E=l("FER5"),m=l("LuSS"),O=2,C=.16,k=.05,A=.05,S=.15,y=5,w=4,x=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function T(xe){var Ee=xe.r,Le=xe.g,we=xe.b,fe=Object(E.i)(Ee,Le,we);return{h:fe.h*360,s:fe.s,v:fe.v}}function j(xe){var Ee=xe.r,Le=xe.g,we=xe.b;return"#".concat(Object(E.g)(Ee,Le,we,!1))}function D(xe,Ee,Le){var we=Le/100,fe={r:(Ee.r-xe.r)*we+xe.r,g:(Ee.g-xe.g)*we+xe.g,b:(Ee.b-xe.b)*we+xe.b};return fe}function N(xe,Ee,Le){var we;return Math.round(xe.h)>=60&&Math.round(xe.h)<=240?we=Le?Math.round(xe.h)-O*Ee:Math.round(xe.h)+O*Ee:we=Le?Math.round(xe.h)+O*Ee:Math.round(xe.h)-O*Ee,we<0?we+=360:we>=360&&(we-=360),we}function F(xe,Ee,Le){if(xe.h===0&&xe.s===0)return xe.s;var we;return Le?we=xe.s-C*Ee:Ee===w?we=xe.s+C:we=xe.s+k*Ee,we>1&&(we=1),Le&&Ee===y&&we>.1&&(we=.1),we<.06&&(we=.06),Number(we.toFixed(2))}function B(xe,Ee,Le){var we;return Le?we=xe.v+A*Ee:we=xe.v-S*Ee,we>1&&(we=1),Number(we.toFixed(2))}function U(xe){for(var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Le=[],we=Object(m.a)(xe),fe=y;fe>0;fe-=1){var pe=T(we),Ke=j(Object(m.a)({h:N(pe,fe,!0),s:F(pe,fe,!0),v:B(pe,fe,!0)}));Le.push(Ke)}Le.push(j(we));for(var Me=1;Me<=w;Me+=1){var ze=T(we),Ue=j(Object(m.a)({h:N(ze,Me),s:F(ze,Me),v:B(ze,Me)}));Le.push(Ue)}return Ee.theme==="dark"?x.map(function(He){var Ne=He.index,it=He.opacity,Xe=j(D(Object(m.a)(Ee.backgroundColor||"#141414"),Object(m.a)(Le[Ne]),it*100));return Xe}):Le}var J={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},$={},X={};Object.keys(J).forEach(function(xe){$[xe]=U(J[xe]),$[xe].primary=$[xe][5],X[xe]=U(J[xe],{theme:"dark",backgroundColor:"#141414"}),X[xe].primary=X[xe][5]});var ee=$.red,ie=$.volcano,G=$.gold,Q=$.orange,W=$.yellow,ne=$.lime,te=$.green,_e=$.cyan,he=$.blue,oe=$.geekblue,ge=$.purple,me=$.magenta,Z=$.grey},"hOG+":function(ce,R){(function(l){ce.exports=function(){var E={311:function(k){k.exports=function(A){return A.webpackPolyfill||(A.deprecate=function(){},A.paths=[],A.children||(A.children=[]),Object.defineProperty(A,"loaded",{enumerable:!0,get:function(){return A.l}}),Object.defineProperty(A,"id",{enumerable:!0,get:function(){return A.i}}),A.webpackPolyfill=1),A}}},m={};function O(C){if(m[C])return m[C].exports;var k=m[C]={exports:{}},A=!0;try{E[C](k,k.exports,O),A=!1}finally{A&&delete m[C]}return k.exports}return O.ab=l+"/",O(311)}()}).call(this,"/")},hON7:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SwatchesGroup=void 0;var E=l("q1tI"),m=w(E),O=l("/FUP"),C=w(O),k=l("3WF5"),A=w(k),S=l("iOKC"),y=w(S);function w(T){return T&&T.__esModule?T:{default:T}}var x=R.SwatchesGroup=function(j){var D=j.onClick,N=j.onSwatchHover,F=j.group,B=j.active,U=(0,C.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return m.default.createElement("div",{style:U.group},(0,A.default)(F,function(J,$){return m.default.createElement(y.default,{key:J,color:J,active:J.toLowerCase()===B,first:$===0,last:$===F.length-1,onClick:D,onSwatchHover:N})}))};R.default=x},hRxt:function(ce,R,l){var E=l("ukPv"),m=l("Qlla"),O=E.process,C=O&&O.versions,k=C&&C.v8,A,S;k?(A=k.split("."),S=A[0]+A[1]):m&&(A=m.match(/Edge\/(\d+)/),(!A||A[1]>=74)&&(A=m.match(/Chrome\/(\d+)/),A&&(S=A[1]))),ce.exports=S&&+S},hY9h:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=O;var E={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple",flex:"box","inline-flex":"inline-box"},m={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"};function O(C,k,A){C==="flexDirection"&&typeof k=="string"&&(k.indexOf("column")>-1?A.WebkitBoxOrient="vertical":A.WebkitBoxOrient="horizontal",k.indexOf("reverse")>-1?A.WebkitBoxDirection="reverse":A.WebkitBoxDirection="normal"),m.hasOwnProperty(C)&&(A[m[C]]=E[k]||k)}ce.exports=R.default},hYqy:function(ce,R,l){var E=l("MMxC"),m=180/Math.PI;E({target:"Math",stat:!0},{degrees:function(C){return C*m}})},haHa:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("cT1L"),k=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{isDisjointFrom:function(S){var y=O(this),w=C(y.has);return!k(S,function(x){if(w.call(y,x)===!0)return k.stop()}).stopped}})},hbXN:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},heNW:function(ce,R){function l(E,m,O){switch(O.length){case 0:return E.call(m);case 1:return E.call(m,O[0]);case 2:return E.call(m,O[0],O[1]);case 3:return E.call(m,O[0],O[1],O[2])}return E.apply(m,O)}ce.exports=l},hgQt:function(ce,R,l){var E=l("Juji"),m=l("4sDh");function O(C,k){return C!=null&&m(C,k,E)}ce.exports=O},hgVy:function(ce,R,l){},hh65:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m,O){if(m==="position"&&O==="sticky")return["-webkit-sticky","sticky"]}ce.exports=R.default},hh8c:function(ce,R,l){},hilM:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tSXo"),O=l("Un+d"),C=l("bIKR"),k=l("oa35"),A=l("0qr0"),S=l("arQb"),y=l("2kyd"),w=l("jMDO"),x=l("kGMc"),T=w("slice"),j=x("slice",{ACCESSORS:!0,0:0,1:2}),D=y("species"),N=[].slice,F=Math.max;E({target:"Array",proto:!0,forced:!T||!j},{slice:function(U,J){var $=A(this),X=k($.length),ee=C(U,X),ie=C(J===void 0?X:J,X),G,Q,W;if(O($)&&(G=$.constructor,typeof G=="function"&&(G===Array||O(G.prototype))?G=void 0:m(G)&&(G=G[D],G===null&&(G=void 0)),G===Array||G===void 0))return N.call($,ee,ie);for(Q=new(G===void 0?Array:G)(F(ie-ee,0)),W=0;ee<ie;ee++,W++)ee in $&&S(Q,W,$[ee]);return Q.length=W,Q}})},hkKa:function(ce,R,l){"use strict";l.d(R,"a",function(){return C});var E=l("ODXe"),m=l("q1tI"),O=l.n(m);function C(){var k=m.useReducer(function(y){return y+1},0),A=Object(E.a)(k,2),S=A[1];return S}},hmRj:function(ce,R,l){"use strict";var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};R.a=E},hpdD:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=x;var O=m(l("pVnL")),C=m(l("J4zp")),k=l("85Yc"),A=E(l("q1tI")),S=m(l("ZpRC")),y=l("FMpD");function w(T){var j=(0,y.toArray)(T);return j.join("_")}function x(T){var j=(0,k.useForm)(),D=(0,C.default)(j,1),N=D[0],F=A.useRef({}),B=A.useMemo(function(){return T!=null?T:(0,O.default)((0,O.default)({},N),{__INTERNAL__:{itemRef:function(J){return function($){var X=w(J);$?F.current[X]=$:delete F.current[X]}}},scrollToField:function(J){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X=(0,y.toArray)(J),ee=(0,y.getFieldId)(X,B.__INTERNAL__.name),ie=ee?document.getElementById(ee):null;ie&&(0,S.default)(ie,(0,O.default)({scrollMode:"if-needed",block:"nearest"},$))},getFieldInstance:function(J){var $=w(J);return F.current[$]}})},[T,N]);return[B]}},hprd:function(ce,R,l){},hwEL:function(ce,R,l){var E=l("I65O");E("patternMatch")},hwEt:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("fontcolor")},{fontcolor:function(k){return m(this,"font","color",k)}})},hypo:function(ce,R,l){var E=l("O0oS");function m(O,C,k){C=="__proto__"&&E?E(O,C,{configurable:!0,enumerable:!0,value:k,writable:!0}):O[C]=k}ce.exports=m},hzQT:function(ce,R,l){"use strict";var E=l("wx14"),m=l("ODXe"),O=l("q1tI"),C=l.n(O),k=l("bTyn"),A=l("VTBJ"),S=l("TSYQ"),y=l.n(S),w={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(pe){var Ke=pe.keyCode;if(pe.altKey&&!pe.ctrlKey||pe.metaKey||Ke>=w.F1&&Ke<=w.F12)return!1;switch(Ke){case w.ALT:case w.CAPS_LOCK:case w.CONTEXT_MENU:case w.CTRL:case w.DOWN:case w.END:case w.ESC:case w.HOME:case w.INSERT:case w.LEFT:case w.MAC_FF_META:case w.META:case w.NUMLOCK:case w.NUM_CENTER:case w.PAGE_DOWN:case w.PAGE_UP:case w.PAUSE:case w.PRINT_SCREEN:case w.RIGHT:case w.SHIFT:case w.UP:case w.WIN_KEY:case w.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(pe){if(pe>=w.ZERO&&pe<=w.NINE||pe>=w.NUM_ZERO&&pe<=w.NUM_MULTIPLY||pe>=w.A&&pe<=w.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&pe===0)return!0;switch(pe){case w.SPACE:case w.QUESTION_MARK:case w.NUM_PLUS:case w.NUM_MINUS:case w.NUM_PERIOD:case w.NUM_DIVISION:case w.SEMICOLON:case w.DASH:case w.EQUALS:case w.COMMA:case w.PERIOD:case w.SLASH:case w.APOSTROPHE:case w.SINGLE_QUOTE:case w.OPEN_SQUARE_BRACKET:case w.BACKSLASH:case w.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},x=w;function T(){var fe=Object(A.a)({},O);return fe.useId}var j=0;function D(){}function N(fe){var pe=O.useState("ssr-id"),Ke=Object(m.a)(pe,2),Me=Ke[0],ze=Ke[1],Ue=T(),He=Ue==null?void 0:Ue();return O.useEffect(function(){if(!Ue){var Ne=j;j+=1,ze("rc_unique_".concat(Ne))}},[]),fe||He||Me}function F(fe,pe){if(!fe)return!1;if(fe.contains)return fe.contains(pe);for(var Ke=pe;Ke;){if(Ke===fe)return!0;Ke=Ke.parentNode}return!1}var B=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,U=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,J="".concat(B," ").concat(U).split(/[\s\n]+/),$="aria-",X="data-";function ee(fe,pe){return fe.indexOf(pe)===0}function ie(fe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ke;pe===!1?Ke={aria:!0,data:!0,attr:!0}:pe===!0?Ke={aria:!0}:Ke=Object(A.a)({},pe);var Me={};return Object.keys(fe).forEach(function(ze){(Ke.aria&&(ze==="role"||ee(ze,$))||Ke.data&&ee(ze,X)||Ke.attr&&J.includes(ze))&&(Me[ze]=fe[ze])}),Me}var G=l("8XRh");function Q(fe){var pe=fe.prefixCls,Ke=fe.style,Me=fe.visible,ze=fe.maskProps,Ue=fe.motionName;return O.createElement(G.b,{key:"mask",visible:Me,motionName:Ue,leavedClassName:"".concat(pe,"-mask-hidden")},function(He,Ne){var it=He.className,Xe=He.style;return O.createElement("div",Object(E.a)({ref:Ne,style:Object(A.a)(Object(A.a)({},Xe),Ke),className:y()("".concat(pe,"-mask"),it)},ze))})}function W(fe,pe,Ke){var Me=pe;return!Me&&Ke&&(Me="".concat(fe,"-").concat(Ke)),Me}function ne(fe,pe){var Ke=fe["page".concat(pe?"Y":"X","Offset")],Me="scroll".concat(pe?"Top":"Left");if(typeof Ke!="number"){var ze=fe.document;Ke=ze.documentElement[Me],typeof Ke!="number"&&(Ke=ze.body[Me])}return Ke}function te(fe){var pe=fe.getBoundingClientRect(),Ke={left:pe.left,top:pe.top},Me=fe.ownerDocument,ze=Me.defaultView||Me.parentWindow;return Ke.left+=ne(ze),Ke.top+=ne(ze,!0),Ke}var _e=O.memo(function(fe){var pe=fe.children;return pe},function(fe,pe){var Ke=pe.shouldUpdate;return!Ke}),he={width:0,height:0,overflow:"hidden",outline:"none"},oe=C.a.forwardRef(function(fe,pe){var Ke=fe.prefixCls,Me=fe.className,ze=fe.style,Ue=fe.title,He=fe.ariaId,Ne=fe.footer,it=fe.closable,Xe=fe.closeIcon,ht=fe.onClose,lt=fe.children,Et=fe.bodyStyle,tt=fe.bodyProps,mt=fe.modalRender,xt=fe.onMouseDown,Xt=fe.onMouseUp,vt=fe.holderRef,qe=fe.visible,Re=fe.forceRender,Se=fe.width,Ve=fe.height,Ge=Object(O.useRef)(),_t=Object(O.useRef)();C.a.useImperativeHandle(pe,function(){return{focus:function(){var ut;(ut=Ge.current)===null||ut===void 0||ut.focus()},changeActive:function(ut){var le=document,$e=le.activeElement;ut&&$e===_t.current?Ge.current.focus():!ut&&$e===Ge.current&&_t.current.focus()}}});var bt={};Se!==void 0&&(bt.width=Se),Ve!==void 0&&(bt.height=Ve);var gt;Ne&&(gt=C.a.createElement("div",{className:"".concat(Ke,"-footer")},Ne));var at;Ue&&(at=C.a.createElement("div",{className:"".concat(Ke,"-header")},C.a.createElement("div",{className:"".concat(Ke,"-title"),id:He},Ue)));var ft;it&&(ft=C.a.createElement("button",{type:"button",onClick:ht,"aria-label":"Close",className:"".concat(Ke,"-close")},Xe||C.a.createElement("span",{className:"".concat(Ke,"-close-x")})));var Fe=C.a.createElement("div",{className:"".concat(Ke,"-content")},ft,at,C.a.createElement("div",Object(E.a)({className:"".concat(Ke,"-body"),style:Et},tt),lt),gt);return C.a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Ue?He:null,"aria-modal":"true",ref:vt,style:Object(A.a)(Object(A.a)({},ze),bt),className:y()(Ke,Me),onMouseDown:xt,onMouseUp:Xt},C.a.createElement("div",{tabIndex:0,ref:Ge,style:he,"aria-hidden":"true"}),C.a.createElement(_e,{shouldUpdate:qe||Re},mt?mt(Fe):Fe),C.a.createElement("div",{tabIndex:0,ref:_t,style:he,"aria-hidden":"true"}))}),ge=oe,me=O.forwardRef(function(fe,pe){var Ke=fe.prefixCls,Me=fe.title,ze=fe.style,Ue=fe.className,He=fe.visible,Ne=fe.forceRender,it=fe.destroyOnClose,Xe=fe.motionName,ht=fe.ariaId,lt=fe.onVisibleChanged,Et=fe.mousePosition,tt=Object(O.useRef)(),mt=O.useState(),xt=Object(m.a)(mt,2),Xt=xt[0],vt=xt[1],qe={};Xt&&(qe.transformOrigin=Xt);function Re(){var Se=te(tt.current);vt(Et?"".concat(Et.x-Se.left,"px ").concat(Et.y-Se.top,"px"):"")}return O.createElement(G.b,{visible:He,onVisibleChanged:lt,onAppearPrepare:Re,onEnterPrepare:Re,forceRender:Ne,motionName:Xe,removeOnLeave:it,ref:tt},function(Se,Ve){var Ge=Se.className,_t=Se.style;return O.createElement(ge,Object(E.a)({},fe,{ref:pe,title:Me,ariaId:ht,prefixCls:Ke,holderRef:Ve,style:Object(A.a)(Object(A.a)(Object(A.a)({},_t),ze),qe),className:y()(Ue,Ge)}))})});me.displayName="Content";var Z=me;function xe(fe){var pe=fe.prefixCls,Ke=pe===void 0?"rc-dialog":pe,Me=fe.zIndex,ze=fe.visible,Ue=ze===void 0?!1:ze,He=fe.keyboard,Ne=He===void 0?!0:He,it=fe.focusTriggerAfterClose,Xe=it===void 0?!0:it,ht=fe.wrapStyle,lt=fe.wrapClassName,Et=fe.wrapProps,tt=fe.onClose,mt=fe.afterClose,xt=fe.transitionName,Xt=fe.animation,vt=fe.closable,qe=vt===void 0?!0:vt,Re=fe.mask,Se=Re===void 0?!0:Re,Ve=fe.maskTransitionName,Ge=fe.maskAnimation,_t=fe.maskClosable,bt=_t===void 0?!0:_t,gt=fe.maskStyle,at=fe.maskProps,ft=fe.rootClassName,Fe=Object(O.useRef)(),Te=Object(O.useRef)(),ut=Object(O.useRef)(),le=O.useState(Ue),$e=Object(m.a)(le,2),Qe=$e[0],Tt=$e[1],Ot=N();function Ut(){F(Te.current,document.activeElement)||(Fe.current=document.activeElement)}function At(){if(!F(Te.current,document.activeElement)){var Bn;(Bn=ut.current)===null||Bn===void 0||Bn.focus()}}function Pt(Bn){if(Bn)At();else{if(Tt(!1),Se&&Fe.current&&Xe){try{Fe.current.focus({preventScroll:!0})}catch(Tn){}Fe.current=null}Qe&&(mt==null||mt())}}function Dt(Bn){tt==null||tt(Bn)}var Qt=Object(O.useRef)(!1),cn=Object(O.useRef)(),$n=function(){clearTimeout(cn.current),Qt.current=!0},hn=function(){cn.current=setTimeout(function(){Qt.current=!1})},_n=null;bt&&(_n=function(Tn){Qt.current?Qt.current=!1:Te.current===Tn.target&&Dt(Tn)});function bn(Bn){if(Ne&&Bn.keyCode===x.ESC){Bn.stopPropagation(),Dt(Bn);return}Ue&&Bn.keyCode===x.TAB&&ut.current.changeActive(!Bn.shiftKey)}return Object(O.useEffect)(function(){Ue&&(Tt(!0),Ut())},[Ue]),Object(O.useEffect)(function(){return function(){clearTimeout(cn.current)}},[]),O.createElement("div",Object(E.a)({className:y()("".concat(Ke,"-root"),ft)},ie(fe,{data:!0})),O.createElement(Q,{prefixCls:Ke,visible:Se&&Ue,motionName:W(Ke,Ve,Ge),style:Object(A.a)({zIndex:Me},gt),maskProps:at}),O.createElement("div",Object(E.a)({tabIndex:-1,onKeyDown:bn,className:y()("".concat(Ke,"-wrap"),lt),ref:Te,onClick:_n,style:Object(A.a)(Object(A.a)({zIndex:Me},ht),{},{display:Qe?null:"none"})},Et),O.createElement(Z,Object(E.a)({},fe,{onMouseDown:$n,onMouseUp:hn,ref:ut,closable:qe,ariaId:Ot,prefixCls:Ke,visible:Ue&&Qe,onClose:Dt,onVisibleChanged:Pt,motionName:W(Ke,xt,Xt)}))))}var Ee=function(pe){var Ke=pe.visible,Me=pe.getContainer,ze=pe.forceRender,Ue=pe.destroyOnClose,He=Ue===void 0?!1:Ue,Ne=pe.afterClose,it=O.useState(Ke),Xe=Object(m.a)(it,2),ht=Xe[0],lt=Xe[1];return O.useEffect(function(){Ke&&lt(!0)},[Ke]),!ze&&He&&!ht?null:O.createElement(k.a,{open:Ke||ze||ht,autoDestroy:!1,getContainer:Me,autoLock:Ke||ht},O.createElement(xe,Object(E.a)({},pe,{destroyOnClose:He,afterClose:function(){Ne==null||Ne(),lt(!1)}})))};Ee.displayName="Dialog";var Le=Ee,we=R.a=Le},"i+su":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.call=S,R.default=void 0,R.note=k,R.noteOnce=w,R.preMessage=void 0,R.resetWarned=A,R.warning=C,R.warningOnce=y;var E={},m=[],O=function(j){m.push(j)};R.preMessage=O;function C(T,j){if(!1)var D}function k(T,j){if(!1)var D}function A(){E={}}function S(T,j,D){!j&&!E[D]&&(T(!1,D),E[D]=!0)}function y(T,j){S(C,T,j)}function w(T,j){S(k,T,j)}y.preMessage=O,y.resetWarned=A,y.noteOnce=w;var x=y;R.default=x},"i/DM":function(ce,R,l){var E=l("MMxC");E({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},i4Ex:function(ce,R,l){"use strict";var E=l("284h").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=R.DisabledContextProvider=void 0;var m=E(l("q1tI")),O=m.createContext(!1),C=function(S){var y=S.children,w=S.disabled,x=m.useContext(O);return m.createElement(O.Provider,{value:w!=null?w:x},y)};R.DisabledContextProvider=C;var k=O;R.default=k},i7kj:function(ce,R,l){"use strict";var E=l("Zcjx"),m=l("ukPv"),O=l("MVys");ce.exports=E||!O(function(){var C=Math.random();__defineSetter__.call(null,C,function(){}),delete m[C]})},i8i4:function(ce,R,l){"use strict";function E(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(m){console.error(m)}}E(),ce.exports=l("yl30")},iMhB:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("jbR1"),A=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{every:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return!A(x,function(j){if(!T(j,j,w))return A.stop()},void 0,!1,!0).stopped}})},iNWh:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});var E={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},iOKC:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SwatchesColor=void 0;var E=l("q1tI"),m=x(E),O=l("/FUP"),C=x(O),k=l("4iDX"),A=x(k),S=l("UtML"),y=l("ql/k"),w=x(y);function x(j){return j&&j.__esModule?j:{default:j}}var T=R.SwatchesColor=function(D){var N=D.color,F=D.onClick,B=F===void 0?function(){}:F,U=D.onSwatchHover,J=D.first,$=D.last,X=D.active,ee=(0,C.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:N,marginBottom:"1px"},check:{color:A.default.getContrastingColor(N),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:J,last:$,active:X,"color-#FFFFFF":N==="#FFFFFF",transparent:N==="transparent"});return m.default.createElement(S.Swatch,{color:N,style:ee.color,onClick:B,onHover:U,focusStyle:{boxShadow:"0 0 4px "+N}},m.default.createElement("div",{style:ee.check},m.default.createElement(w.default,null)))};R.default=T},iZzK:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,A){return k.__proto__=A,k},E(m,O)}},ifDB:function(ce,R,l){},igoe:function(ce,R){ce.exports=function(l,E,m){if(!(l instanceof E))throw TypeError("Incorrect "+(m?m+" ":"")+"invocation");return l}},ihLV:function(ce,R,l){"use strict";l.d(R,"a",function(){return A}),l.d(R,"f",function(){return S}),l.d(R,"d",function(){return y}),l.d(R,"c",function(){return w}),l.d(R,"b",function(){return x}),l.d(R,"e",function(){return T});var E=l("wx14"),m=l("85Yc"),O=l("Ya77"),C=l("q1tI"),k=l.n(C),A=C.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),S=C.createContext(null),y=function(D){var N=Object(O.a)(D,["prefixCls"]);return C.createElement(m.FormProvider,Object(E.a)({},N))},w=C.createContext({prefixCls:""}),x=C.createContext({}),T=function(D){var N=D.children,F=D.status,B=D.override,U=Object(C.useContext)(x),J=Object(C.useMemo)(function(){var $=Object(E.a)({},U);return B&&delete $.isFormItemInput,F&&(delete $.status,delete $.hasFeedback,delete $.feedbackIcon),$},[F,B,U]);return C.createElement(x.Provider,{value:J},N)}},ijCd:function(ce,R,l){var E=l("R/W3"),m=l("MMmD"),O=l("4qC0"),C=l("Sxd8"),k=l("P/G1"),A=Math.max;function S(y,w,x,T){y=m(y)?y:k(y),x=x&&!T?C(x):0;var j=y.length;return x<0&&(x=A(j+x,0)),O(y)?x<=j&&y.indexOf(w,x)>-1:!!j&&E(y,w,x)>-1}ce.exports=S},imBb:function(ce,R,l){var E;(function(m,O,C){if(!m)return;for(var k={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},A={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},S={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},y={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},w,x=1;x<20;++x)k[111+x]="f"+x;for(x=0;x<=9;++x)k[x+96]=x.toString();function T(Q,W,ne){if(Q.addEventListener){Q.addEventListener(W,ne,!1);return}Q.attachEvent("on"+W,ne)}function j(Q){if(Q.type=="keypress"){var W=String.fromCharCode(Q.which);return Q.shiftKey||(W=W.toLowerCase()),W}return k[Q.which]?k[Q.which]:A[Q.which]?A[Q.which]:String.fromCharCode(Q.which).toLowerCase()}function D(Q,W){return Q.sort().join(",")===W.sort().join(",")}function N(Q){var W=[];return Q.shiftKey&&W.push("shift"),Q.altKey&&W.push("alt"),Q.ctrlKey&&W.push("ctrl"),Q.metaKey&&W.push("meta"),W}function F(Q){if(Q.preventDefault){Q.preventDefault();return}Q.returnValue=!1}function B(Q){if(Q.stopPropagation){Q.stopPropagation();return}Q.cancelBubble=!0}function U(Q){return Q=="shift"||Q=="ctrl"||Q=="alt"||Q=="meta"}function J(){if(!w){w={};for(var Q in k)Q>95&&Q<112||k.hasOwnProperty(Q)&&(w[k[Q]]=Q)}return w}function $(Q,W,ne){return ne||(ne=J()[Q]?"keydown":"keypress"),ne=="keypress"&&W.length&&(ne="keydown"),ne}function X(Q){return Q==="+"?["+"]:(Q=Q.replace(/\+{2}/g,"+plus"),Q.split("+"))}function ee(Q,W){var ne,te,_e,he=[];for(ne=X(Q),_e=0;_e<ne.length;++_e)te=ne[_e],y[te]&&(te=y[te]),W&&W!="keypress"&&S[te]&&(te=S[te],he.push("shift")),U(te)&&he.push(te);return W=$(te,he,W),{key:te,modifiers:he,action:W}}function ie(Q,W){return Q===null||Q===O?!1:Q===W?!0:ie(Q.parentNode,W)}function G(Q){var W=this;if(Q=Q||O,!(W instanceof G))return new G(Q);W.target=Q,W._callbacks={},W._directMap={};var ne={},te,_e=!1,he=!1,oe=!1;function ge(fe){fe=fe||{};var pe=!1,Ke;for(Ke in ne){if(fe[Ke]){pe=!0;continue}ne[Ke]=0}pe||(oe=!1)}function me(fe,pe,Ke,Me,ze,Ue){var He,Ne,it=[],Xe=Ke.type;if(!W._callbacks[fe])return[];for(Xe=="keyup"&&U(fe)&&(pe=[fe]),He=0;He<W._callbacks[fe].length;++He)if(Ne=W._callbacks[fe][He],!(!Me&&Ne.seq&&ne[Ne.seq]!=Ne.level)&&Xe==Ne.action&&(Xe=="keypress"&&!Ke.metaKey&&!Ke.ctrlKey||D(pe,Ne.modifiers))){var ht=!Me&&Ne.combo==ze,lt=Me&&Ne.seq==Me&&Ne.level==Ue;(ht||lt)&&W._callbacks[fe].splice(He,1),it.push(Ne)}return it}function Z(fe,pe,Ke,Me){W.stopCallback(pe,pe.target||pe.srcElement,Ke,Me)||fe(pe,Ke)===!1&&(F(pe),B(pe))}W._handleKey=function(fe,pe,Ke){var Me=me(fe,pe,Ke),ze,Ue={},He=0,Ne=!1;for(ze=0;ze<Me.length;++ze)Me[ze].seq&&(He=Math.max(He,Me[ze].level));for(ze=0;ze<Me.length;++ze){if(Me[ze].seq){if(Me[ze].level!=He)continue;Ne=!0,Ue[Me[ze].seq]=1,Z(Me[ze].callback,Ke,Me[ze].combo,Me[ze].seq);continue}Ne||Z(Me[ze].callback,Ke,Me[ze].combo)}var it=Ke.type=="keypress"&&he;Ke.type==oe&&!U(fe)&&!it&&ge(Ue),he=Ne&&Ke.type=="keydown"};function xe(fe){typeof fe.which!="number"&&(fe.which=fe.keyCode);var pe=j(fe);if(!!pe){if(fe.type=="keyup"&&_e===pe){_e=!1;return}W.handleKey(pe,N(fe),fe)}}function Ee(){clearTimeout(te),te=setTimeout(ge,1e3)}function Le(fe,pe,Ke,Me){ne[fe]=0;function ze(Xe){return function(){oe=Xe,++ne[fe],Ee()}}function Ue(Xe){Z(Ke,Xe,fe),Me!=="keyup"&&(_e=j(Xe)),setTimeout(ge,10)}for(var He=0;He<pe.length;++He){var Ne=He+1===pe.length,it=Ne?Ue:ze(Me||ee(pe[He+1]).action);we(pe[He],it,Me,fe,He)}}function we(fe,pe,Ke,Me,ze){W._directMap[fe+":"+Ke]=pe,fe=fe.replace(/\s+/g," ");var Ue=fe.split(" "),He;if(Ue.length>1){Le(fe,Ue,pe,Ke);return}He=ee(fe,Ke),W._callbacks[He.key]=W._callbacks[He.key]||[],me(He.key,He.modifiers,{type:He.action},Me,fe,ze),W._callbacks[He.key][Me?"unshift":"push"]({callback:pe,modifiers:He.modifiers,action:He.action,seq:Me,level:ze,combo:fe})}W._bindMultiple=function(fe,pe,Ke){for(var Me=0;Me<fe.length;++Me)we(fe[Me],pe,Ke)},T(Q,"keypress",xe),T(Q,"keydown",xe),T(Q,"keyup",xe)}G.prototype.bind=function(Q,W,ne){var te=this;return Q=Q instanceof Array?Q:[Q],te._bindMultiple.call(te,Q,W,ne),te},G.prototype.unbind=function(Q,W){var ne=this;return ne.bind.call(ne,Q,function(){},W)},G.prototype.trigger=function(Q,W){var ne=this;return ne._directMap[Q+":"+W]&&ne._directMap[Q+":"+W]({},Q),ne},G.prototype.reset=function(){var Q=this;return Q._callbacks={},Q._directMap={},Q},G.prototype.stopCallback=function(Q,W){var ne=this;if((" "+W.className+" ").indexOf(" mousetrap ")>-1||ie(W,ne.target))return!1;if("composedPath"in Q&&typeof Q.composedPath=="function"){var te=Q.composedPath()[0];te!==Q.target&&(W=te)}return W.tagName=="INPUT"||W.tagName=="SELECT"||W.tagName=="TEXTAREA"||W.isContentEditable},G.prototype.handleKey=function(){var Q=this;return Q._handleKey.apply(Q,arguments)},G.addKeycodes=function(Q){for(var W in Q)Q.hasOwnProperty(W)&&(k[W]=Q[W]);w=null},G.init=function(){var Q=G(O);for(var W in Q)W.charAt(0)!=="_"&&(G[W]=function(ne){return function(){return Q[ne].apply(Q,arguments)}}(W))},G.init(),m.Mousetrap=G,ce.exports&&(ce.exports=G),E=function(){return G}.call(R,l,R,ce),E!==C&&(ce.exports=E)})(typeof window!="undefined"?window:null,typeof window!="undefined"?document:null)},itsj:function(ce,R){function l(E,m){if(!(m==="constructor"&&typeof E[m]=="function")&&m!="__proto__")return E[m]}ce.exports=l},izsi:function(ce,R,l){var E=l("MMxC"),m=l("rn5R");E({target:"Number",stat:!0,forced:Number.parseFloat!=m},{parseFloat:m})},j4O4:function(ce,R,l){ce.exports=l.p+"static/cloudEditor.1a9aa2c1.svg"},j68Z:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.AlphaPicker=void 0;var E=Object.assign||function(T){for(var j=1;j<arguments.length;j++){var D=arguments[j];for(var N in D)Object.prototype.hasOwnProperty.call(D,N)&&(T[N]=D[N])}return T},m=l("q1tI"),O=w(m),C=l("/FUP"),k=w(C),A=l("UtML"),S=l("Gosx"),y=w(S);function w(T){return T&&T.__esModule?T:{default:T}}var x=R.AlphaPicker=function(j){var D=j.rgb,N=j.hsl,F=j.width,B=j.height,U=j.onChange,J=j.direction,$=j.style,X=j.renderers,ee=j.pointer,ie=j.className,G=ie===void 0?"":ie,Q=(0,k.default)({default:{picker:{position:"relative",width:F,height:B},alpha:{radius:"2px",style:$}}});return O.default.createElement("div",{style:Q.picker,className:"alpha-picker "+G},O.default.createElement(A.Alpha,E({},Q.alpha,{rgb:D,hsl:N,pointer:ee,renderers:X,onChange:U,direction:J})))};x.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:y.default},R.default=(0,A.ColorWrap)(x)},jCWc:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("1GLa")},jCZ2:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;function E(m){return m instanceof Object&&!Array.isArray(m)}ce.exports=R.default},jGFG:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("/dTS"),O=l("MVys"),C=E.aTypedArray,k=E.aTypedArrayConstructor,A=E.exportTypedArrayMethod,S=[].slice,y=O(function(){new Int8Array(1).slice()});A("slice",function(x,T){for(var j=S.call(C(this),x,T),D=m(this,this.constructor),N=0,F=j.length,B=new(k(D))(F);F>N;)B[N]=j[N++];return B},y)},jGdh:function(ce,R,l){var E=l("MMxC"),m=l("Ze4s");E({global:!0,forced:parseInt!=m},{parseInt:m})},jHRr:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("PPXv"),A=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{find:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return A(x,function(j,D){if(T(D,j,w))return A.stop(D)},void 0,!0,!0).result}})},jHaB:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=["Webkit"],m=["Moz"],O=["ms"],C=["Webkit","Moz"],k=["Webkit","ms"],A=["Webkit","Moz","ms"];R.default={plugins:[],prefixMap:{appearance:C,textEmphasisPosition:E,textEmphasis:E,textEmphasisStyle:E,textEmphasisColor:E,boxDecorationBreak:E,maskImage:E,maskMode:E,maskRepeat:E,maskPosition:E,maskClip:E,maskOrigin:E,maskSize:E,maskComposite:E,mask:E,maskBorderSource:E,maskBorderMode:E,maskBorderSlice:E,maskBorderWidth:E,maskBorderOutset:E,maskBorderRepeat:E,maskBorder:E,maskType:E,textDecorationStyle:E,textDecorationSkip:E,textDecorationLine:E,textDecorationColor:E,userSelect:A,backdropFilter:E,fontKerning:E,scrollSnapType:k,scrollSnapPointsX:k,scrollSnapPointsY:k,scrollSnapDestination:k,scrollSnapCoordinate:k,clipPath:E,shapeImageThreshold:E,shapeImageMargin:E,shapeImageOutside:E,filter:E,hyphens:k,flowInto:k,flowFrom:k,breakBefore:k,breakAfter:k,breakInside:k,regionFragment:k,writingMode:k,textOrientation:E,tabSize:m,fontFeatureSettings:E,columnCount:E,columnFill:E,columnGap:E,columnRule:E,columnRuleColor:E,columnRuleStyle:E,columnRuleWidth:E,columns:E,columnSpan:E,columnWidth:E,wrapFlow:O,wrapThrough:O,wrapMargin:O,gridTemplateColumns:O,gridTemplateRows:O,gridTemplateAreas:O,gridTemplate:O,gridAutoColumns:O,gridAutoRows:O,gridAutoFlow:O,grid:O,gridRowStart:O,gridColumnStart:O,gridRowEnd:O,gridRow:O,gridColumn:O,gridColumnEnd:O,gridColumnGap:O,gridRowGap:O,gridArea:O,gridGap:O,textSizeAdjust:k}},ce.exports=R.default},jIZW:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("+X1D");E({target:"Map",proto:!0,real:!0,forced:m},{deleteAll:function(){return O.apply(this,arguments)}})},"jIg/":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.multiInject=void 0;var E=l("xfSm"),m=l("GXnB"),O=l("Ztfv");function C(k){return function(A,S,y){var w=new m.Metadata(E.MULTI_INJECT_TAG,k);typeof y=="number"?O.tagParameter(A,S,y,w):O.tagProperty(A,S,w)}}R.multiInject=C},jJZc:function(ce,R,l){"use strict";l.d(R,"c",function(){return x}),l.d(R,"a",function(){return D}),l.d(R,"b",function(){return F}),l.d(R,"d",function(){return U});var E=l("VTBJ"),m=l("EoNY"),O=l("VJFB"),C=l("gdfu"),k=l("wEI+"),A=l("q1tI"),S=l.n(A),y=l("mWKI"),w=l("nhqZ"),x=function($,X){return new O.a($).setAlpha(X).toRgbString()},T=function($,X){var ee=new O.a($);return ee.lighten(X).toHexString()},j=function(){return typeof C.a=="undefined"||!C.a?w:C.a},D=j(),N=D.useToken,F=function($){return{boxSizing:"border-box",margin:0,padding:0,color:$.colorText,fontSize:$.fontSize,lineHeight:$.lineHeight,listStyle:"none"}},B=function($){return{color:$.colorLink,outline:"none",cursor:"pointer",transition:"color ".concat($.motionDurationSlow),"&:focus, &:hover":{color:$.colorLinkHover},"&:active":{color:$.colorLinkActive}}};function U(J,$){var X,ee=Object(A.useContext)(y.a),ie=ee.token,G=ie===void 0?{}:ie,Q=Object(A.useContext)(y.a),W=Q.hashId,ne=W===void 0?"":W,te=Q.theme,_e=N(),he=_e.token,oe=Object(A.useContext)(k.a.ConfigContext),ge=oe.getPrefixCls;return G.layout||(G=Object(E.a)({},he)),G.proComponentsCls=(X=G.proComponentsCls)!==null&&X!==void 0?X:".".concat(ge("pro")),G.antCls=".".concat(ge()),{wrapSSR:Object(m.d)({theme:te,token:G,hashId:ne,path:[J]},function(){return $(G)}),hashId:ne}}},jMDO:function(ce,R,l){var E=l("MVys"),m=l("2kyd"),O=l("hRxt"),C=m("species");ce.exports=function(k){return O>=51||!E(function(){var A=[],S=A.constructor={};return S[C]=function(){return{foo:1}},A[k](Boolean).foo!==1})}},jN4g:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CloseCircleFilled";var S=R.a=m.forwardRef(A)},jO45:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CheckCircleFilled";var S=R.a=m.forwardRef(A)},jXQH:function(ce,R,l){var E=l("TO8r"),m=/^\s+/;function O(C){return C&&C.slice(0,E(C)+1).replace(m,"")}ce.exports=O},jXed:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};R.default=E},jYx5:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.optional=void 0;var E=l("xfSm"),m=l("GXnB"),O=l("Ztfv");function C(){return function(k,A,S){var y=new m.Metadata(E.OPTIONAL_TAG,!0);typeof S=="number"?O.tagParameter(k,A,S,y):O.tagProperty(k,A,y)}}R.optional=C},"jbM+":function(ce,R,l){var E=l("R/W3");function m(O,C){var k=O==null?0:O.length;return!!k&&E(O,C,0)>-1}ce.exports=m},jbR1:function(ce,R,l){var E=l("Zcjx"),m=l("qcmB");ce.exports=E?m:function(O){return Set.prototype.values.call(O)}},"jdp+":function(ce,R,l){var E=l("u93E"),m=Math.abs,O=Math.pow,C=O(2,-52),k=O(2,-23),A=O(2,127)*(2-k),S=O(2,-126),y=function(w){return w+1/C-1/C};ce.exports=Math.fround||function(x){var T=m(x),j=E(x),D,N;return T<S?j*y(T/S/k)*S*k:(D=(1+k/C)*T,N=D-(D-T),N>A||N!=N?j*Infinity:j*N)}},"je/p":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=k;var E=l("b+tR"),m=O(E);function O(A){return A&&A.__esModule?A:{default:A}}var C=["-webkit-",""];function k(A,S){if(typeof S=="string"&&!(0,m.default)(S)&&S.indexOf("image-set(")>-1)return C.map(function(y){return S.replace(/image-set\(/g,y+"image-set(")})}ce.exports=R.default},jeLo:function(ce,R,l){var E=l("juv8"),m=l("mTTR");function O(C){return E(C,m(C))}ce.exports=O},jhyg:function(ce,R,l){var E=l("MMxC"),m=l("tSXo"),O=l("a5mf").onFreeze,C=l("R/Zn"),k=l("MVys"),A=Object.seal,S=k(function(){A(1)});E({target:"Object",stat:!0,forced:S,sham:!C},{seal:function(w){return A&&m(w)?A(O(w)):w}})},jksQ:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("29mP"),C=l("f1E4"),k=l("cT1L"),A=l("7BAe"),S=l("/dTS"),y=l("jbR1"),w=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{map:function(T){var j=C(this),D=y(j),N=A(T,arguments.length>1?arguments[1]:void 0,3),F=new(S(j,O("Set"))),B=k(F.add);return w(D,function(U){B.call(F,N(U,U,j))},void 0,!1,!0),F}})},jrin:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O,C){return O in m?Object.defineProperty(m,O,{value:C,enumerable:!0,configurable:!0,writable:!0}):m[O]=C,m}},"jsC+":function(ce,R,l){"use strict";var E=l("XBQK");R.a=E.a},jtLI:function(ce,R){var l={}.hasOwnProperty;ce.exports=function(E,m){return l.call(E,m)}},juv8:function(ce,R,l){var E=l("MrPd"),m=l("hypo");function O(C,k,A,S){var y=!A;A||(A={});for(var w=-1,x=k.length;++w<x;){var T=k[w],j=S?S(A[T],C[T],T,A,C):void 0;j===void 0&&(j=C[T]),y?m(A,T,j):E(A,T,j)}return A}ce.exports=O},"k+1r":function(ce,R,l){var E=l("QkVE");function m(O){var C=E(this,O).delete(O);return this.size-=C?1:0,C}ce.exports=m},"k/J9":function(ce,R,l){"use strict";var E=l("f1E4");ce.exports=function(){var m=E(this),O="";return m.global&&(O+="g"),m.ignoreCase&&(O+="i"),m.multiline&&(O+="m"),m.dotAll&&(O+="s"),m.unicode&&(O+="u"),m.sticky&&(O+="y"),O}},"k/Y0":function(ce,R,l){},k1fw:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("jrin");function m(C,k){var A=Object.keys(C);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(C);k&&(S=S.filter(function(y){return Object.getOwnPropertyDescriptor(C,y).enumerable})),A.push.apply(A,S)}return A}function O(C){for(var k=1;k<arguments.length;k++){var A=arguments[k]!=null?arguments[k]:{};k%2?m(Object(A),!0).forEach(function(S){Object(E.a)(C,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(A)):m(Object(A)).forEach(function(S){Object.defineProperty(C,S,Object.getOwnPropertyDescriptor(A,S))})}return C}},k9cD:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.clearContainerCache=F,R.injectCSS=T,R.removeCSS=D,R.updateCSS=B;var m=E(l("6YBP")),O=E(l("VLhu")),C="data-rc-order",k="rc-util-key",A=new Map;function S(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},J=U.mark;return J?J.startsWith("data-")?J:"data-".concat(J):k}function y(U){if(U.attachTo)return U.attachTo;var J=document.querySelector("head");return J||document.body}function w(U){return U==="queue"?"prependQueue":U?"prepend":"append"}function x(U){return Array.from((A.get(U)||U).children).filter(function(J){return J.tagName==="STYLE"})}function T(U){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,m.default)())return null;var $=J.csp,X=J.prepend,ee=document.createElement("style");ee.setAttribute(C,w(X)),$!=null&&$.nonce&&(ee.nonce=$==null?void 0:$.nonce),ee.innerHTML=U;var ie=y(J),G=ie.firstChild;if(X){if(X==="queue"){var Q=x(ie).filter(function(W){return["prepend","prependQueue"].includes(W.getAttribute(C))});if(Q.length)return ie.insertBefore(ee,Q[Q.length-1].nextSibling),ee}ie.insertBefore(ee,G)}else ie.appendChild(ee);return ee}function j(U){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=y(J);return x($).find(function(X){return X.getAttribute(S(J))===U})}function D(U){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=j(U,J);if($){var X=y(J);X.removeChild($)}}function N(U,J){var $=A.get(U);if(!$||!(0,O.default)(document,$)){var X=T("",J),ee=X.parentNode;A.set(U,ee),U.removeChild(X)}}function F(){A.clear()}function B(U,J){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=y($);N(X,$);var ee=j(J,$);if(ee){var ie,G;if((ie=$.csp)!==null&&ie!==void 0&&ie.nonce&&ee.nonce!==((G=$.csp)===null||G===void 0?void 0:G.nonce)){var Q;ee.nonce=(Q=$.csp)===null||Q===void 0?void 0:Q.nonce}return ee.innerHTML!==U&&(ee.innerHTML=U),ee}var W=T(U,$);return W.setAttribute(S($),J),W}},kGJw:function(ce,R,l){var E=l("dt0z"),m=/[\\^$.*+?()[\]{}|]/g,O=RegExp(m.source);function C(k){return k=E(k),k&&O.test(k)?k.replace(m,"\\$&"):k}ce.exports=C},kGMc:function(ce,R,l){var E=l("tny8"),m=l("MVys"),O=l("jtLI"),C=Object.defineProperty,k={},A=function(S){throw S};ce.exports=function(S,y){if(O(k,S))return k[S];y||(y={});var w=[][S],x=O(y,"ACCESSORS")?y.ACCESSORS:!1,T=O(y,0)?y[0]:A,j=O(y,1)?y[1]:void 0;return k[S]=!!w&&!m(function(){if(x&&!E)return!0;var D={length:-1};x?C(D,1,{enumerable:!0,get:A}):D[1]=1,w.call(D,T,j)})}},kGUU:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.PhotoshopButton=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.PhotoshopButton=function(y){var w=y.onClick,x=y.label,T=y.children,j=y.active,D=(0,C.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:j});return m.default.createElement("div",{style:D.button,onClick:w},x||T)};R.default=A},kKdO:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=O;var E=["-webkit-","-moz-",""],m={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};function O(C,k){if(C==="cursor"&&m.hasOwnProperty(k))return E.map(function(A){return A+k})}ce.exports=R.default},kLXV:function(ce,R,l){"use strict";var E=l("KQm4"),m=l("wx14"),O=l("Ue1A"),C=l("2BaD"),k=l("RCxd"),A=l("+YFz"),S=l("x+uP"),y=l("HaE+"),w=l("U8pU"),x=l("VTBJ"),T=l("i8i4"),j=Object(x.a)({},T),D=j.version,N=j.render,F=j.unmountComponentAtNode,B;try{var U=Number((D||"").split(".")[0]);U>=18&&(B=j.createRoot)}catch(Dt){}function J(Dt){var Qt=j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Qt&&Object(w.a)(Qt)==="object"&&(Qt.usingClientEntryPoint=Dt)}var $="__rc_react_root__";function X(Dt,Qt){J(!0);var cn=Qt[$]||B(Qt);J(!1),cn.render(Dt),Qt[$]=cn}function ee(Dt,Qt){N(Dt,Qt)}function ie(Dt,Qt){}function G(Dt,Qt){if(B){X(Dt,Qt);return}ee(Dt,Qt)}function Q(Dt){return W.apply(this,arguments)}function W(){return W=Object(y.a)(Object(S.a)().mark(function Dt(Qt){return Object(S.a)().wrap(function($n){for(;;)switch($n.prev=$n.next){case 0:return $n.abrupt("return",Promise.resolve().then(function(){var hn;(hn=Qt[$])===null||hn===void 0||hn.unmount(),delete Qt[$]}));case 1:case"end":return $n.stop()}},Dt)})),W.apply(this,arguments)}function ne(Dt){F(Dt)}function te(Dt){}function _e(Dt){return he.apply(this,arguments)}function he(){return he=Object(y.a)(Object(S.a)().mark(function Dt(Qt){return Object(S.a)().wrap(function($n){for(;;)switch($n.prev=$n.next){case 0:if(B===void 0){$n.next=2;break}return $n.abrupt("return",Q(Qt));case 2:ne(Qt);case 3:case"end":return $n.stop()}},Dt)})),he.apply(this,arguments)}var oe=l("q1tI"),ge=l("wEI+"),me=l("rePB"),Z=l("TSYQ"),xe=l.n(Z),Ee=l("lkze"),Le=l("EXcs"),we=l("4i/N"),fe=l("hzQT"),pe=l("2/Rp"),Ke=l("zvFY"),Me=l("H84U"),ze=l("ihLV"),Ue=l("YMnH"),He=l("+f9I"),Ne=l("R3zJ"),it=l("ul5b"),Xe=function(Dt,Qt){var cn={};for(var $n in Dt)Object.prototype.hasOwnProperty.call(Dt,$n)&&Qt.indexOf($n)<0&&(cn[$n]=Dt[$n]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,$n=Object.getOwnPropertySymbols(Dt);hn<$n.length;hn++)Qt.indexOf($n[hn])<0&&Object.prototype.propertyIsEnumerable.call(Dt,$n[hn])&&(cn[$n[hn]]=Dt[$n[hn]]);return cn},ht,lt=function(Qt){ht={x:Qt.pageX,y:Qt.pageY},setTimeout(function(){ht=null},100)};Object(Ne.a)()&&document.documentElement.addEventListener("click",lt,!0);var Et=function(Qt){var cn,$n,hn=oe.useContext(Me.b),_n=hn.getPopupContainer,bn=hn.getPrefixCls,Bn=hn.direction,Tn=function(Nn){var Zt=Qt.onCancel;Zt==null||Zt(Nn)},Tr=function(Nn){var Zt=Qt.onOk;Zt==null||Zt(Nn)},Sr=Qt.prefixCls,Wr=Qt.footer,br=Qt.visible,Wn=Qt.open,gr=Wn===void 0?!1:Wn,na=Qt.wrapClassName,jn=Qt.centered,un=Qt.getContainer,zt=Qt.closeIcon,Bt=Qt.focusTriggerAfterClose,H=Bt===void 0?!0:Bt,ot=Qt.width,nt=ot===void 0?520:ot,Ct=Xe(Qt,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),Wt=bn("modal",Sr),kn=bn(),Sn=oe.createElement(Ue.a,{componentName:"Modal",defaultLocale:Object(it.b)()},function(Yn){var Nn=Qt.okText,Zt=Qt.okType,rr=Zt===void 0?"primary":Zt,Gn=Qt.cancelText,ln=Qt.confirmLoading,Xn=ln===void 0?!1:ln;return oe.createElement(oe.Fragment,null,oe.createElement(pe.a,Object(m.a)({onClick:Tn},Qt.cancelButtonProps),Gn||Yn.cancelText),oe.createElement(pe.a,Object(m.a)({},Object(Ke.a)(rr),{loading:Xn,onClick:Tr},Qt.okButtonProps),Nn!=null?Nn:Yn.okText))}),Zn=oe.createElement("span",{className:"".concat(Wt,"-close-x")},zt||oe.createElement(we.a,{className:"".concat(Wt,"-close-icon")})),Or=xe()(na,(cn={},Object(me.a)(cn,"".concat(Wt,"-centered"),!!jn),Object(me.a)(cn,"".concat(Wt,"-wrap-rtl"),Bn==="rtl"),cn));return oe.createElement(He.a,null,oe.createElement(ze.e,{status:!0,override:!0},oe.createElement(fe.a,Object(m.a)({width:nt},Ct,{getContainer:un===void 0?_n:un,prefixCls:Wt,wrapClassName:Or,footer:Wr===void 0?Sn:Wr,visible:gr||br,mousePosition:($n=Ct.mousePosition)!==null&&$n!==void 0?$n:ht,onClose:Tn,closeIcon:Zn,focusTriggerAfterClose:H,transitionName:Object(Le.c)(kn,"zoom",Qt.transitionName),maskTransitionName:Object(Le.c)(kn,"fade",Qt.maskTransitionName)}))))},tt=Et,mt=function(Qt){var cn=Qt.icon,$n=Qt.onCancel,hn=Qt.onOk,_n=Qt.close,bn=Qt.zIndex,Bn=Qt.afterClose,Tn=Qt.visible,Tr=Qt.open,Sr=Qt.keyboard,Wr=Qt.centered,br=Qt.getContainer,Wn=Qt.maskStyle,gr=Qt.okText,na=Qt.okButtonProps,jn=Qt.cancelText,un=Qt.cancelButtonProps,zt=Qt.direction,Bt=Qt.prefixCls,H=Qt.wrapClassName,ot=Qt.rootPrefixCls,nt=Qt.iconPrefixCls,Ct=Qt.bodyStyle,Wt=Qt.closable,kn=Wt===void 0?!1:Wt,Sn=Qt.closeIcon,Zn=Qt.modalRender,Or=Qt.focusTriggerAfterClose,Yn=Qt.okType||"primary",Nn="".concat(Bt,"-confirm"),Zt="okCancel"in Qt?Qt.okCancel:!0,rr=Qt.width||416,Gn=Qt.style||{},ln=Qt.mask===void 0?!0:Qt.mask,Xn=Qt.maskClosable===void 0?!1:Qt.maskClosable,Kn=Qt.autoFocusButton===null?!1:Qt.autoFocusButton||"ok",fr=xe()(Nn,"".concat(Nn,"-").concat(Qt.type),Object(me.a)({},"".concat(Nn,"-rtl"),zt==="rtl"),Qt.className),Hn=Zt&&oe.createElement(Ee.a,{actionFn:$n,close:_n,autoFocus:Kn==="cancel",buttonProps:un,prefixCls:"".concat(ot,"-btn")},jn);return oe.createElement(ge.a,{prefixCls:ot,iconPrefixCls:nt,direction:zt},oe.createElement(tt,{prefixCls:Bt,className:fr,wrapClassName:xe()(Object(me.a)({},"".concat(Nn,"-centered"),!!Qt.centered),H),onCancel:function(){return _n==null?void 0:_n({triggerCancel:!0})},open:Tr||Tn,title:"",footer:"",transitionName:Object(Le.c)(ot,"zoom",Qt.transitionName),maskTransitionName:Object(Le.c)(ot,"fade",Qt.maskTransitionName),mask:ln,maskClosable:Xn,maskStyle:Wn,style:Gn,bodyStyle:Ct,width:rr,zIndex:bn,afterClose:Bn,keyboard:Sr,centered:Wr,getContainer:br,closable:kn,closeIcon:Sn,modalRender:Zn,focusTriggerAfterClose:Or},oe.createElement("div",{className:"".concat(Nn,"-body-wrapper")},oe.createElement("div",{className:"".concat(Nn,"-body")},cn,Qt.title===void 0?null:oe.createElement("span",{className:"".concat(Nn,"-title")},Qt.title),oe.createElement("div",{className:"".concat(Nn,"-content")},Qt.content)),oe.createElement("div",{className:"".concat(Nn,"-btns")},Hn,oe.createElement(Ee.a,{type:Yn,actionFn:hn,close:_n,autoFocus:Kn==="ok",buttonProps:na,prefixCls:"".concat(ot,"-btn")},gr)))))},xt=mt,Xt=[],vt=Xt,qe=function(Dt,Qt){var cn={};for(var $n in Dt)Object.prototype.hasOwnProperty.call(Dt,$n)&&Qt.indexOf($n)<0&&(cn[$n]=Dt[$n]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,$n=Object.getOwnPropertySymbols(Dt);hn<$n.length;hn++)Qt.indexOf($n[hn])<0&&Object.prototype.propertyIsEnumerable.call(Dt,$n[hn])&&(cn[$n[hn]]=Dt[$n[hn]]);return cn},Re="";function Se(){return Re}function Ve(Dt){var Qt=document.createDocumentFragment(),cn=Object(m.a)(Object(m.a)({},Dt),{close:bn,open:!0}),$n;function hn(){for(var Tn=arguments.length,Tr=new Array(Tn),Sr=0;Sr<Tn;Sr++)Tr[Sr]=arguments[Sr];var Wr=Tr.some(function(gr){return gr&&gr.triggerCancel});Dt.onCancel&&Wr&&Dt.onCancel.apply(Dt,[function(){}].concat(Object(E.a)(Tr.slice(1))));for(var br=0;br<vt.length;br++){var Wn=vt[br];if(Wn===bn){vt.splice(br,1);break}}_e(Qt)}function _n(Tn){var Tr=Tn.okText,Sr=Tn.cancelText,Wr=Tn.prefixCls,br=qe(Tn,["okText","cancelText","prefixCls"]);clearTimeout($n),$n=setTimeout(function(){var Wn=Object(it.b)(),gr=Object(ge.b)(),na=gr.getPrefixCls,jn=gr.getIconPrefixCls,un=na(void 0,Se()),zt=Wr||"".concat(un,"-modal"),Bt=jn();G(oe.createElement(xt,Object(m.a)({},br,{prefixCls:zt,rootPrefixCls:un,iconPrefixCls:Bt,okText:Tr||(br.okCancel?Wn.okText:Wn.justOkText),cancelText:Sr||Wn.cancelText})),Qt)})}function bn(){for(var Tn=this,Tr=arguments.length,Sr=new Array(Tr),Wr=0;Wr<Tr;Wr++)Sr[Wr]=arguments[Wr];cn=Object(m.a)(Object(m.a)({},cn),{open:!1,afterClose:function(){typeof Dt.afterClose=="function"&&Dt.afterClose(),hn.apply(Tn,Sr)}}),cn.visible&&delete cn.visible,_n(cn)}function Bn(Tn){typeof Tn=="function"?cn=Tn(cn):cn=Object(m.a)(Object(m.a)({},cn),Tn),_n(cn)}return _n(cn),vt.push(bn),{destroy:bn,update:Bn}}function Ge(Dt){return Object(m.a)(Object(m.a)({icon:oe.createElement(k.a,null),okCancel:!1},Dt),{type:"warning"})}function _t(Dt){return Object(m.a)(Object(m.a)({icon:oe.createElement(A.a,null),okCancel:!1},Dt),{type:"info"})}function bt(Dt){return Object(m.a)(Object(m.a)({icon:oe.createElement(O.a,null),okCancel:!1},Dt),{type:"success"})}function gt(Dt){return Object(m.a)(Object(m.a)({icon:oe.createElement(C.a,null),okCancel:!1},Dt),{type:"error"})}function at(Dt){return Object(m.a)(Object(m.a)({icon:oe.createElement(k.a,null),okCancel:!0},Dt),{type:"confirm"})}function ft(Dt){var Qt=Dt.rootPrefixCls;Re=Qt}var Fe=l("ODXe");function Te(){var Dt=oe.useState([]),Qt=Object(Fe.a)(Dt,2),cn=Qt[0],$n=Qt[1],hn=oe.useCallback(function(_n){return $n(function(bn){return[].concat(Object(E.a)(bn),[_n])}),function(){$n(function(bn){return bn.filter(function(Bn){return Bn!==_n})})}},[]);return[cn,hn]}var ut=l("ZvpZ"),le=function(Qt,cn){var $n=Qt.afterClose,hn=Qt.config,_n=oe.useState(!0),bn=Object(Fe.a)(_n,2),Bn=bn[0],Tn=bn[1],Tr=oe.useState(hn),Sr=Object(Fe.a)(Tr,2),Wr=Sr[0],br=Sr[1],Wn=oe.useContext(Me.b),gr=Wn.direction,na=Wn.getPrefixCls,jn=na("modal"),un=na(),zt=function(){Tn(!1);for(var H=arguments.length,ot=new Array(H),nt=0;nt<H;nt++)ot[nt]=arguments[nt];var Ct=ot.some(function(Wt){return Wt&&Wt.triggerCancel});Wr.onCancel&&Ct&&Wr.onCancel.apply(Wr,[function(){}].concat(Object(E.a)(ot.slice(1))))};return oe.useImperativeHandle(cn,function(){return{destroy:zt,update:function(H){br(function(ot){return Object(m.a)(Object(m.a)({},ot),H)})}}}),oe.createElement(Ue.a,{componentName:"Modal",defaultLocale:ut.a.Modal},function(Bt){return oe.createElement(xt,Object(m.a)({prefixCls:jn,rootPrefixCls:un},Wr,{close:zt,open:Bn,afterClose:$n,okText:Wr.okText||(Wr.okCancel?Bt.okText:Bt.justOkText),direction:gr,cancelText:Wr.cancelText||Bt.cancelText}))})},$e=oe.forwardRef(le),Qe=0,Tt=oe.memo(oe.forwardRef(function(Dt,Qt){var cn=Te(),$n=Object(Fe.a)(cn,2),hn=$n[0],_n=$n[1];return oe.useImperativeHandle(Qt,function(){return{patchElement:_n}},[]),oe.createElement(oe.Fragment,null,hn)}));function Ot(){var Dt=oe.useRef(null),Qt=oe.useState([]),cn=Object(Fe.a)(Qt,2),$n=cn[0],hn=cn[1];oe.useEffect(function(){if($n.length){var Bn=Object(E.a)($n);Bn.forEach(function(Tn){Tn()}),hn([])}},[$n]);var _n=oe.useCallback(function(Bn){return function(Tr){var Sr;Qe+=1;var Wr=oe.createRef(),br,Wn=oe.createElement($e,{key:"modal-".concat(Qe),config:Bn(Tr),ref:Wr,afterClose:function(){br==null||br()}});return br=(Sr=Dt.current)===null||Sr===void 0?void 0:Sr.patchElement(Wn),{destroy:function(){function na(){var jn;(jn=Wr.current)===null||jn===void 0||jn.destroy()}Wr.current?na():hn(function(jn){return[].concat(Object(E.a)(jn),[na])})},update:function(na){function jn(){var un;(un=Wr.current)===null||un===void 0||un.update(na)}Wr.current?jn():hn(function(un){return[].concat(Object(E.a)(un),[jn])})}}}},[]),bn=oe.useMemo(function(){return{info:_n(_t),success:_n(bt),error:_n(gt),warning:_n(Ge),confirm:_n(at)}},[]);return[bn,oe.createElement(Tt,{ref:Dt})]}function Ut(Dt){return Ve(Ge(Dt))}var At=tt;At.useModal=Ot,At.info=function(Qt){return Ve(_t(Qt))},At.success=function(Qt){return Ve(bt(Qt))},At.error=function(Qt){return Ve(gt(Qt))},At.warning=Ut,At.warn=Ut,At.confirm=function(Qt){return Ve(at(Qt))},At.destroyAll=function(){for(;vt.length;){var Qt=vt.pop();Qt&&Qt()}},At.config=ft;var Pt=R.a=At},kM4J:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},m=E;R.default=m},kP48:function(ce,R,l){var E=l("MMxC"),m=Math.log,O=Math.LN2;E({target:"Math",stat:!0},{log2:function(k){return m(k)/O}})},kPKH:function(ce,R,l){"use strict";var E=l("/kpp");R.a=E.a},"kVK+":function(ce,R){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */R.read=function(l,E,m,O,C){var k,A,S=C*8-O-1,y=(1<<S)-1,w=y>>1,x=-7,T=m?C-1:0,j=m?-1:1,D=l[E+T];for(T+=j,k=D&(1<<-x)-1,D>>=-x,x+=S;x>0;k=k*256+l[E+T],T+=j,x-=8);for(A=k&(1<<-x)-1,k>>=-x,x+=O;x>0;A=A*256+l[E+T],T+=j,x-=8);if(k===0)k=1-w;else{if(k===y)return A?NaN:(D?-1:1)*Infinity;A=A+Math.pow(2,O),k=k-w}return(D?-1:1)*A*Math.pow(2,k-O)},R.write=function(l,E,m,O,C,k){var A,S,y,w=k*8-C-1,x=(1<<w)-1,T=x>>1,j=C===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=O?0:k-1,N=O?1:-1,F=E<0||E===0&&1/E<0?1:0;for(E=Math.abs(E),isNaN(E)||E===Infinity?(S=isNaN(E)?1:0,A=x):(A=Math.floor(Math.log(E)/Math.LN2),E*(y=Math.pow(2,-A))<1&&(A--,y*=2),A+T>=1?E+=j/y:E+=j*Math.pow(2,1-T),E*y>=2&&(A++,y/=2),A+T>=x?(S=0,A=x):A+T>=1?(S=(E*y-1)*Math.pow(2,C),A=A+T):(S=E*Math.pow(2,T-1)*Math.pow(2,C),A=0));C>=8;l[m+D]=S&255,D+=N,S/=256,C-=8);for(A=A<<C|S,w+=C;w>0;l[m+D]=A&255,D+=N,A/=256,w-=8);l[m+D-N]|=F*128}},kWxg:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=O;var E=["-webkit-","-moz-",""],m={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};function O(C,k){if(C==="cursor"&&m.hasOwnProperty(k))return E.map(function(A){return A+k})}ce.exports=R.default},kaz8:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("TSYQ"),C=l.n(O),k=l("x1Ya"),A=l("q1tI"),S=l("H84U"),y=l("ihLV"),w=l("KQm4"),x=l("ODXe"),T=l("Ya77"),j=function(Q,W){var ne={};for(var te in Q)Object.prototype.hasOwnProperty.call(Q,te)&&W.indexOf(te)<0&&(ne[te]=Q[te]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,te=Object.getOwnPropertySymbols(Q);_e<te.length;_e++)W.indexOf(te[_e])<0&&Object.prototype.propertyIsEnumerable.call(Q,te[_e])&&(ne[te[_e]]=Q[te[_e]]);return ne},D=A.createContext(null),N=function(W,ne){var te=W.defaultValue,_e=W.children,he=W.options,oe=he===void 0?[]:he,ge=W.prefixCls,me=W.className,Z=W.style,xe=W.onChange,Ee=j(W,["defaultValue","children","options","prefixCls","className","style","onChange"]),Le=A.useContext(S.b),we=Le.getPrefixCls,fe=Le.direction,pe=A.useState(Ee.value||te||[]),Ke=Object(x.a)(pe,2),Me=Ke[0],ze=Ke[1],Ue=A.useState([]),He=Object(x.a)(Ue,2),Ne=He[0],it=He[1];A.useEffect(function(){"value"in Ee&&ze(Ee.value||[])},[Ee.value]);var Xe=function(){return oe.map(function(Re){return typeof Re=="string"||typeof Re=="number"?{label:Re,value:Re}:Re})},ht=function(Re){it(function(Se){return Se.filter(function(Ve){return Ve!==Re})})},lt=function(Re){it(function(Se){return[].concat(Object(w.a)(Se),[Re])})},Et=function(Re){var Se=Me.indexOf(Re.value),Ve=Object(w.a)(Me);Se===-1?Ve.push(Re.value):Ve.splice(Se,1),"value"in Ee||ze(Ve);var Ge=Xe();xe==null||xe(Ve.filter(function(_t){return Ne.includes(_t)}).sort(function(_t,bt){var gt=Ge.findIndex(function(ft){return ft.value===_t}),at=Ge.findIndex(function(ft){return ft.value===bt});return gt-at}))},tt=we("checkbox",ge),mt="".concat(tt,"-group"),xt=Object(T.a)(Ee,["value","disabled"]);oe&&oe.length>0&&(_e=Xe().map(function(qe){return A.createElement(ee,{prefixCls:tt,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:Ee.disabled,value:qe.value,checked:Me.includes(qe.value),onChange:qe.onChange,className:"".concat(mt,"-item"),style:qe.style},qe.label)}));var Xt={toggleOption:Et,value:Me,disabled:Ee.disabled,name:Ee.name,registerValue:lt,cancelValue:ht},vt=C()(mt,Object(E.a)({},"".concat(mt,"-rtl"),fe==="rtl"),me);return A.createElement("div",Object(m.a)({className:vt,style:Z},xt,{ref:ne}),A.createElement(D.Provider,{value:Xt},_e))},F=A.forwardRef(N),B=A.memo(F),U=l("caoh"),J=function(Q,W){var ne={};for(var te in Q)Object.prototype.hasOwnProperty.call(Q,te)&&W.indexOf(te)<0&&(ne[te]=Q[te]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,te=Object.getOwnPropertySymbols(Q);_e<te.length;_e++)W.indexOf(te[_e])<0&&Object.prototype.propertyIsEnumerable.call(Q,te[_e])&&(ne[te[_e]]=Q[te[_e]]);return ne},$=function(W,ne){var te,_e,he=W.prefixCls,oe=W.className,ge=W.children,me=W.indeterminate,Z=me===void 0?!1:me,xe=W.style,Ee=W.onMouseEnter,Le=W.onMouseLeave,we=W.skipGroup,fe=we===void 0?!1:we,pe=W.disabled,Ke=J(W,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),Me=A.useContext(S.b),ze=Me.getPrefixCls,Ue=Me.direction,He=A.useContext(D),Ne=Object(A.useContext)(y.b),it=Ne.isFormItemInput,Xe=Object(A.useContext)(U.b),ht=(_e=(He==null?void 0:He.disabled)||pe)!==null&&_e!==void 0?_e:Xe,lt=A.useRef(Ke.value);A.useEffect(function(){He==null||He.registerValue(Ke.value)},[]),A.useEffect(function(){if(!fe)return Ke.value!==lt.current&&(He==null||He.cancelValue(lt.current),He==null||He.registerValue(Ke.value),lt.current=Ke.value),function(){return He==null?void 0:He.cancelValue(Ke.value)}},[Ke.value]);var Et=ze("checkbox",he),tt=Object(m.a)({},Ke);He&&!fe&&(tt.onChange=function(){Ke.onChange&&Ke.onChange.apply(Ke,arguments),He.toggleOption&&He.toggleOption({label:ge,value:Ke.value})},tt.name=He.name,tt.checked=He.value.includes(Ke.value));var mt=C()((te={},Object(E.a)(te,"".concat(Et,"-wrapper"),!0),Object(E.a)(te,"".concat(Et,"-rtl"),Ue==="rtl"),Object(E.a)(te,"".concat(Et,"-wrapper-checked"),tt.checked),Object(E.a)(te,"".concat(Et,"-wrapper-disabled"),ht),Object(E.a)(te,"".concat(Et,"-wrapper-in-form-item"),it),te),oe),xt=C()(Object(E.a)({},"".concat(Et,"-indeterminate"),Z)),Xt=Z?"mixed":void 0;return A.createElement("label",{className:mt,style:xe,onMouseEnter:Ee,onMouseLeave:Le},A.createElement(k.a,Object(m.a)({"aria-checked":Xt},tt,{prefixCls:Et,className:xt,disabled:ht,ref:ne})),ge!==void 0&&A.createElement("span",null,ge))},X=A.forwardRef($),ee=X,ie=ee;ie.Group=B,ie.__ANT_CHECKBOX=!0;var G=R.a=ie},kbBi:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("/MOW"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},kekF:function(ce,R){function l(E,m){return function(O){return E(m(O))}}ce.exports=l},khga:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.getStyle=y,R.registerTheme=w;var m=l("hNzZ"),O=l("DvJ8"),C=E(l("hbXN")),k=l("G6V9"),A=E(l("aVg8")),S="-ant-".concat(Date.now(),"-").concat(Math.random());function y(x,T){var j={},D=function(X,ee){var ie=X.clone();return ie=(ee==null?void 0:ee(ie))||ie,ie.toRgbString()},N=function(X,ee){var ie=new O.TinyColor(X),G=(0,m.generate)(ie.toRgbString());j["".concat(ee,"-color")]=D(ie),j["".concat(ee,"-color-disabled")]=G[1],j["".concat(ee,"-color-hover")]=G[4],j["".concat(ee,"-color-active")]=G[6],j["".concat(ee,"-color-outline")]=ie.clone().setAlpha(.2).toRgbString(),j["".concat(ee,"-color-deprecated-bg")]=G[0],j["".concat(ee,"-color-deprecated-border")]=G[2]};if(T.primaryColor){N(T.primaryColor,"primary");var F=new O.TinyColor(T.primaryColor),B=(0,m.generate)(F.toRgbString());B.forEach(function($,X){j["primary-".concat(X+1)]=$}),j["primary-color-deprecated-l-35"]=D(F,function($){return $.lighten(35)}),j["primary-color-deprecated-l-20"]=D(F,function($){return $.lighten(20)}),j["primary-color-deprecated-t-20"]=D(F,function($){return $.tint(20)}),j["primary-color-deprecated-t-50"]=D(F,function($){return $.tint(50)}),j["primary-color-deprecated-f-12"]=D(F,function($){return $.setAlpha($.getAlpha()*.12)});var U=new O.TinyColor(B[0]);j["primary-color-active-deprecated-f-30"]=D(U,function($){return $.setAlpha($.getAlpha()*.3)}),j["primary-color-active-deprecated-d-02"]=D(U,function($){return $.darken(2)})}T.successColor&&N(T.successColor,"success"),T.warningColor&&N(T.warningColor,"warning"),T.errorColor&&N(T.errorColor,"error"),T.infoColor&&N(T.infoColor,"info");var J=Object.keys(j).map(function($){return"--".concat(x,"-").concat($,": ").concat(j[$],";")});return`
:root {
`.concat(J.join(`
`),`
}
`).trim()}function w(x,T){var j=y(x,T);(0,C.default)()&&(0,k.updateCSS)(j,"".concat(S,"-dynamic-theme"))}},kiNa:function(ce,R,l){var E=l("YfKC").f,m=l("jtLI"),O=l("2kyd"),C=O("toStringTag");ce.exports=function(k,A,S){k&&!m(k=S?k:k.prototype,C)&&E(k,C,{configurable:!0,value:A})}},kkxG:function(ce,R,l){var E=l("MVys"),m=/#|\.prototype\./,O=function(y,w){var x=k[C(y)];return x==S?!0:x==A?!1:typeof w=="function"?E(w):!!w},C=O.normalize=function(y){return String(y).replace(m,".").toLowerCase()},k=O.data={},A=O.NATIVE="N",S=O.POLYFILL="P";ce.exports=O},kl6h:function(ce,R,l){"use strict";var E=l("wx14"),m=l("q1tI"),O=l.n(m),C=l("+eQT"),k=function(x,T){var j={};for(var D in x)Object.prototype.hasOwnProperty.call(x,D)&&T.indexOf(D)<0&&(j[D]=x[D]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,D=Object.getOwnPropertySymbols(x);N<D.length;N++)T.indexOf(D[N])<0&&Object.prototype.propertyIsEnumerable.call(x,D[N])&&(j[D[N]]=x[D[N]]);return j},A=C.a.TimePicker,S=C.a.RangePicker,y=m.forwardRef(function(x,T){var j=x.dropdownClassName,D=x.popupClassName;return m.createElement(S,Object(E.a)({},x,{dropdownClassName:j,popupClassName:D,picker:"time",mode:void 0,ref:T}))}),w=m.forwardRef(function(x,T){var j=x.addon,D=x.renderExtraFooter,N=x.popupClassName,F=x.dropdownClassName,B=k(x,["addon","renderExtraFooter","popupClassName","dropdownClassName"]),U=m.useMemo(function(){if(D)return D;if(j)return j},[j,D]);return m.createElement(A,Object(E.a)({dropdownClassName:F,popupClassName:N},B,{mode:void 0,ref:T,renderExtraFooter:U}))});w.RangePicker=y,R.a=w},krds:function(ce,R,l){},kyO0:function(ce,R){R.f=Object.getOwnPropertySymbols},"l+S1":function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="SearchOutlined";var S=R.a=m.forwardRef(A)},l9OW:function(ce,R,l){var E=l("SKAX"),m=l("MMmD");function O(C,k){var A=-1,S=m(C)?Array(C.length):[];return E(C,function(y,w,x){S[++A]=k(y,w,x)}),S}ce.exports=O},lHW4:function(ce,R,l){ce.exports={chatFooter:"chatFooter___3U7Ja",composer:"composer___nXwyD",collapseBtn:"collapseBtn___3ROh9",addConversation:"addConversation___2gYpO",composerInputWrapper:"composerInputWrapper___33XEj",composerInput:"composerInput___27grD",sendBtn:"sendBtn___1mSEb",sendBtnActive:"sendBtnActive___2tnLt",mobile:"mobile___1ObPp",searchOption:"searchOption___3IfcA",domain:"domain___3oxKe",autoCompleteDropdown:"autoCompleteDropdown___1y8g6",domainOptions:"domainOptions___3lo34",semanticType:"semanticType___2NkK7"}},lJMd:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("pI4h"),m=k(E),O=l("xgaV"),C=k(O);function k(j){return j&&j.__esModule?j:{default:j}}function A(j,D){if(!(j instanceof D))throw new TypeError("Cannot call a class as a function")}var S=["ABS","ACTIVATE","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","ANY","ARE","ARRAY","AS","ASC","ASENSITIVE","ASSOCIATE","ASUTIME","ASYMMETRIC","AT","ATOMIC","ATTRIBUTES","AUDIT","AUTHORIZATION","AUX","AUXILIARY","AVG","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BUFFERPOOL","BY","CACHE","CALL","CALLED","CAPTURE","CARDINALITY","CASCADED","CASE","CAST","CCSID","CEIL","CEILING","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOB","CLONE","CLOSE","CLUSTER","COALESCE","COLLATE","COLLECT","COLLECTION","COLLID","COLUMN","COMMENT","COMMIT","CONCAT","CONDITION","CONNECT","CONNECTION","CONSTRAINT","CONTAINS","CONTINUE","CONVERT","CORR","CORRESPONDING","COUNT","COUNT_BIG","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DATE","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFINITION","DELETE","DENSERANK","DENSE_RANK","DEREF","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DOUBLE","DROP","DSSIZE","DYNAMIC","EACH","EDITPROC","ELEMENT","ELSE","ELSEIF","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ERASE","ESCAPE","EVERY","EXCEPTION","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXP","EXPLAIN","EXTENDED","EXTERNAL","EXTRACT","FALSE","FENCED","FETCH","FIELDPROC","FILE","FILTER","FINAL","FIRST","FLOAT","FLOOR","FOR","FOREIGN","FREE","FULL","FUNCTION","FUSION","GENERAL","GENERATED","GET","GLOBAL","GOTO","GRANT","GRAPHIC","GROUP","GROUPING","HANDLER","HASH","HASHED_VALUE","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IMMEDIATE","IN","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDICATOR","INDICATORS","INF","INFINITY","INHERIT","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTEGRITY","INTERSECTION","INTERVAL","INTO","IS","ISOBID","ISOLATION","ITERATE","JAR","JAVA","KEEP","KEY","LABEL","LANGUAGE","LARGE","LATERAL","LC_CTYPE","LEADING","LEAVE","LEFT","LIKE","LINKTYPE","LN","LOCAL","LOCALDATE","LOCALE","LOCALTIME","LOCALTIMESTAMP","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","LOWER","MAINTAINED","MATCH","MATERIALIZED","MAX","MAXVALUE","MEMBER","MERGE","METHOD","MICROSECOND","MICROSECONDS","MIN","MINUTE","MINUTES","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MONTHS","MULTISET","NAN","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZE","NORMALIZED","NOT","NULL","NULLIF","NULLS","NUMERIC","NUMPARTS","OBID","OCTET_LENGTH","OF","OFFSET","OLD","OLD_TABLE","ON","ONLY","OPEN","OPTIMIZATION","OPTIMIZE","OPTION","ORDER","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","PACKAGE","PADDED","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSWORD","PATH","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PIECESIZE","PLAN","POSITION","POWER","PRECISION","PREPARE","PREVVAL","PRIMARY","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","RANGE","RANK","READ","READS","REAL","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROUTINE","ROW","ROWNUMBER","ROWS","ROWSET","ROW_NUMBER","RRN","RUN","SAVEPOINT","SCHEMA","SCOPE","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURITY","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SIGNAL","SIMILAR","SIMPLE","SMALLINT","SNAN","SOME","SOURCE","SPECIFIC","SPECIFICTYPE","SQL","SQLEXCEPTION","SQLID","SQLSTATE","SQLWARNING","SQRT","STACKED","STANDARD","START","STARTING","STATEMENT","STATIC","STATMENT","STAY","STDDEV_POP","STDDEV_SAMP","STOGROUP","STORES","STYLE","SUBMULTISET","SUBSTRING","SUM","SUMMARY","SYMMETRIC","SYNONYM","SYSFUN","SYSIBM","SYSPROC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","TABLESPACE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TYPE","UESCAPE","UNDO","UNIQUE","UNKNOWN","UNNEST","UNTIL","UPPER","USAGE","USER","USING","VALIDPROC","VALUE","VARCHAR","VARIABLE","VARIANT","VARYING","VAR_POP","VAR_SAMP","VCAT","VERSION","VIEW","VOLATILE","VOLUMES","WHEN","WHENEVER","WHILE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WLM","WRITE","XMLELEMENT","XMLEXISTS","XMLNAMESPACES","YEAR","YEARS"],y=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INTERSECT","LIMIT","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UPDATE","VALUES","WHERE"],w=["AND","CROSS JOIN","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN"],x=void 0,T=function(){function j(D){A(this,j),this.cfg=D}return j.prototype.format=function(N){return x||(x=new C.default({reservedWords:S,reservedToplevelWords:y,reservedNewlineWords:w,stringTypes:['""',"''","``","[]"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["#","@"]})),new m.default(this.cfg,x).format(N)},j}();R.default=T,ce.exports=R.default},lKJe:function(ce,R,l){"use strict";/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=l("q1tI");function m(j,D){return j===D&&(j!==0||1/j==1/D)||j!==j&&D!==D}var O=typeof Object.is=="function"?Object.is:m,C=E.useState,k=E.useEffect,A=E.useLayoutEffect,S=E.useDebugValue;function y(j,D){var N=D(),F=C({inst:{value:N,getSnapshot:D}}),B=F[0].inst,U=F[1];return A(function(){B.value=N,B.getSnapshot=D,w(B)&&U({inst:B})},[j,N,D]),k(function(){return w(B)&&U({inst:B}),j(function(){w(B)&&U({inst:B})})},[j]),S(N),N}function w(j){var D=j.getSnapshot;j=j.value;try{var N=D();return!O(j,N)}catch(F){return!0}}function x(j,D){return D()}var T=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?x:y;R.useSyncExternalStore=E.useSyncExternalStore!==void 0?E.useSyncExternalStore:T},lMfh:function(ce,R,l){(function(E,m){ce.exports=m()})(this,function(){"use strict";function E(Ue){return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(He){return typeof He}:function(He){return He&&typeof Symbol=="function"&&He.constructor===Symbol&&He!==Symbol.prototype?"symbol":typeof He},E(Ue)}var m=/^\s+/,O=/\s+$/;function C(Ue,He){if(Ue=Ue||"",He=He||{},Ue instanceof C)return Ue;if(!(this instanceof C))return new C(Ue,He);var Ne=k(Ue);this._originalInput=Ue,this._r=Ne.r,this._g=Ne.g,this._b=Ne.b,this._a=Ne.a,this._roundA=Math.round(100*this._a)/100,this._format=He.format||Ne.format,this._gradientType=He.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=Ne.ok}C.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 He=this.toRgb();return(He.r*299+He.g*587+He.b*114)/1e3},getLuminance:function(){var He=this.toRgb(),Ne,it,Xe,ht,lt,Et;return Ne=He.r/255,it=He.g/255,Xe=He.b/255,Ne<=.03928?ht=Ne/12.92:ht=Math.pow((Ne+.055)/1.055,2.4),it<=.03928?lt=it/12.92:lt=Math.pow((it+.055)/1.055,2.4),Xe<=.03928?Et=Xe/12.92:Et=Math.pow((Xe+.055)/1.055,2.4),.2126*ht+.7152*lt+.0722*Et},setAlpha:function(He){return this._a=he(He),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var He=w(this._r,this._g,this._b);return{h:He.h*360,s:He.s,v:He.v,a:this._a}},toHsvString:function(){var He=w(this._r,this._g,this._b),Ne=Math.round(He.h*360),it=Math.round(He.s*100),Xe=Math.round(He.v*100);return this._a==1?"hsv("+Ne+", "+it+"%, "+Xe+"%)":"hsva("+Ne+", "+it+"%, "+Xe+"%, "+this._roundA+")"},toHsl:function(){var He=S(this._r,this._g,this._b);return{h:He.h*360,s:He.s,l:He.l,a:this._a}},toHslString:function(){var He=S(this._r,this._g,this._b),Ne=Math.round(He.h*360),it=Math.round(He.s*100),Xe=Math.round(He.l*100);return this._a==1?"hsl("+Ne+", "+it+"%, "+Xe+"%)":"hsla("+Ne+", "+it+"%, "+Xe+"%, "+this._roundA+")"},toHex:function(He){return T(this._r,this._g,this._b,He)},toHexString:function(He){return"#"+this.toHex(He)},toHex8:function(He){return j(this._r,this._g,this._b,this._a,He)},toHex8String:function(He){return"#"+this.toHex8(He)},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(oe(this._r,255)*100)+"%",g:Math.round(oe(this._g,255)*100)+"%",b:Math.round(oe(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(oe(this._r,255)*100)+"%, "+Math.round(oe(this._g,255)*100)+"%, "+Math.round(oe(this._b,255)*100)+"%)":"rgba("+Math.round(oe(this._r,255)*100)+"%, "+Math.round(oe(this._g,255)*100)+"%, "+Math.round(oe(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:te[T(this._r,this._g,this._b,!0)]||!1},toFilter:function(He){var Ne="#"+D(this._r,this._g,this._b,this._a),it=Ne,Xe=this._gradientType?"GradientType = 1, ":"";if(He){var ht=C(He);it="#"+D(ht._r,ht._g,ht._b,ht._a)}return"progid:DXImageTransform.Microsoft.gradient("+Xe+"startColorstr="+Ne+",endColorstr="+it+")"},toString:function(He){var Ne=!!He;He=He||this._format;var it=!1,Xe=this._a<1&&this._a>=0,ht=!Ne&&Xe&&(He==="hex"||He==="hex6"||He==="hex3"||He==="hex4"||He==="hex8"||He==="name");return ht?He==="name"&&this._a===0?this.toName():this.toRgbString():(He==="rgb"&&(it=this.toRgbString()),He==="prgb"&&(it=this.toPercentageRgbString()),(He==="hex"||He==="hex6")&&(it=this.toHexString()),He==="hex3"&&(it=this.toHexString(!0)),He==="hex4"&&(it=this.toHex8String(!0)),He==="hex8"&&(it=this.toHex8String()),He==="name"&&(it=this.toName()),He==="hsl"&&(it=this.toHslString()),He==="hsv"&&(it=this.toHsvString()),it||this.toHexString())},clone:function(){return C(this.toString())},_applyModification:function(He,Ne){var it=He.apply(null,[this].concat([].slice.call(Ne)));return this._r=it._r,this._g=it._g,this._b=it._b,this.setAlpha(it._a),this},lighten:function(){return this._applyModification(U,arguments)},brighten:function(){return this._applyModification(J,arguments)},darken:function(){return this._applyModification($,arguments)},desaturate:function(){return this._applyModification(N,arguments)},saturate:function(){return this._applyModification(F,arguments)},greyscale:function(){return this._applyModification(B,arguments)},spin:function(){return this._applyModification(X,arguments)},_applyCombination:function(He,Ne){return He.apply(null,[this].concat([].slice.call(Ne)))},analogous:function(){return this._applyCombination(Q,arguments)},complement:function(){return this._applyCombination(ee,arguments)},monochromatic:function(){return this._applyCombination(W,arguments)},splitcomplement:function(){return this._applyCombination(G,arguments)},triad:function(){return this._applyCombination(ie,[3])},tetrad:function(){return this._applyCombination(ie,[4])}},C.fromRatio=function(Ue,He){if(E(Ue)=="object"){var Ne={};for(var it in Ue)Ue.hasOwnProperty(it)&&(it==="a"?Ne[it]=Ue[it]:Ne[it]=Le(Ue[it]));Ue=Ne}return C(Ue,He)};function k(Ue){var He={r:0,g:0,b:0},Ne=1,it=null,Xe=null,ht=null,lt=!1,Et=!1;return typeof Ue=="string"&&(Ue=Me(Ue)),E(Ue)=="object"&&(Ke(Ue.r)&&Ke(Ue.g)&&Ke(Ue.b)?(He=A(Ue.r,Ue.g,Ue.b),lt=!0,Et=String(Ue.r).substr(-1)==="%"?"prgb":"rgb"):Ke(Ue.h)&&Ke(Ue.s)&&Ke(Ue.v)?(it=Le(Ue.s),Xe=Le(Ue.v),He=x(Ue.h,it,Xe),lt=!0,Et="hsv"):Ke(Ue.h)&&Ke(Ue.s)&&Ke(Ue.l)&&(it=Le(Ue.s),ht=Le(Ue.l),He=y(Ue.h,it,ht),lt=!0,Et="hsl"),Ue.hasOwnProperty("a")&&(Ne=Ue.a)),Ne=he(Ne),{ok:lt,format:Ue.format||Et,r:Math.min(255,Math.max(He.r,0)),g:Math.min(255,Math.max(He.g,0)),b:Math.min(255,Math.max(He.b,0)),a:Ne}}function A(Ue,He,Ne){return{r:oe(Ue,255)*255,g:oe(He,255)*255,b:oe(Ne,255)*255}}function S(Ue,He,Ne){Ue=oe(Ue,255),He=oe(He,255),Ne=oe(Ne,255);var it=Math.max(Ue,He,Ne),Xe=Math.min(Ue,He,Ne),ht,lt,Et=(it+Xe)/2;if(it==Xe)ht=lt=0;else{var tt=it-Xe;switch(lt=Et>.5?tt/(2-it-Xe):tt/(it+Xe),it){case Ue:ht=(He-Ne)/tt+(He<Ne?6:0);break;case He:ht=(Ne-Ue)/tt+2;break;case Ne:ht=(Ue-He)/tt+4;break}ht/=6}return{h:ht,s:lt,l:Et}}function y(Ue,He,Ne){var it,Xe,ht;Ue=oe(Ue,360),He=oe(He,100),Ne=oe(Ne,100);function lt(mt,xt,Xt){return Xt<0&&(Xt+=1),Xt>1&&(Xt-=1),Xt<1/6?mt+(xt-mt)*6*Xt:Xt<1/2?xt:Xt<2/3?mt+(xt-mt)*(2/3-Xt)*6:mt}if(He===0)it=Xe=ht=Ne;else{var Et=Ne<.5?Ne*(1+He):Ne+He-Ne*He,tt=2*Ne-Et;it=lt(tt,Et,Ue+1/3),Xe=lt(tt,Et,Ue),ht=lt(tt,Et,Ue-1/3)}return{r:it*255,g:Xe*255,b:ht*255}}function w(Ue,He,Ne){Ue=oe(Ue,255),He=oe(He,255),Ne=oe(Ne,255);var it=Math.max(Ue,He,Ne),Xe=Math.min(Ue,He,Ne),ht,lt,Et=it,tt=it-Xe;if(lt=it===0?0:tt/it,it==Xe)ht=0;else{switch(it){case Ue:ht=(He-Ne)/tt+(He<Ne?6:0);break;case He:ht=(Ne-Ue)/tt+2;break;case Ne:ht=(Ue-He)/tt+4;break}ht/=6}return{h:ht,s:lt,v:Et}}function x(Ue,He,Ne){Ue=oe(Ue,360)*6,He=oe(He,100),Ne=oe(Ne,100);var it=Math.floor(Ue),Xe=Ue-it,ht=Ne*(1-He),lt=Ne*(1-Xe*He),Et=Ne*(1-(1-Xe)*He),tt=it%6,mt=[Ne,lt,ht,ht,Et,Ne][tt],xt=[Et,Ne,Ne,lt,ht,ht][tt],Xt=[ht,ht,Et,Ne,Ne,lt][tt];return{r:mt*255,g:xt*255,b:Xt*255}}function T(Ue,He,Ne,it){var Xe=[Ee(Math.round(Ue).toString(16)),Ee(Math.round(He).toString(16)),Ee(Math.round(Ne).toString(16))];return it&&Xe[0].charAt(0)==Xe[0].charAt(1)&&Xe[1].charAt(0)==Xe[1].charAt(1)&&Xe[2].charAt(0)==Xe[2].charAt(1)?Xe[0].charAt(0)+Xe[1].charAt(0)+Xe[2].charAt(0):Xe.join("")}function j(Ue,He,Ne,it,Xe){var ht=[Ee(Math.round(Ue).toString(16)),Ee(Math.round(He).toString(16)),Ee(Math.round(Ne).toString(16)),Ee(we(it))];return Xe&&ht[0].charAt(0)==ht[0].charAt(1)&&ht[1].charAt(0)==ht[1].charAt(1)&&ht[2].charAt(0)==ht[2].charAt(1)&&ht[3].charAt(0)==ht[3].charAt(1)?ht[0].charAt(0)+ht[1].charAt(0)+ht[2].charAt(0)+ht[3].charAt(0):ht.join("")}function D(Ue,He,Ne,it){var Xe=[Ee(we(it)),Ee(Math.round(Ue).toString(16)),Ee(Math.round(He).toString(16)),Ee(Math.round(Ne).toString(16))];return Xe.join("")}C.equals=function(Ue,He){return!Ue||!He?!1:C(Ue).toRgbString()==C(He).toRgbString()},C.random=function(){return C.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function N(Ue,He){He=He===0?0:He||10;var Ne=C(Ue).toHsl();return Ne.s-=He/100,Ne.s=ge(Ne.s),C(Ne)}function F(Ue,He){He=He===0?0:He||10;var Ne=C(Ue).toHsl();return Ne.s+=He/100,Ne.s=ge(Ne.s),C(Ne)}function B(Ue){return C(Ue).desaturate(100)}function U(Ue,He){He=He===0?0:He||10;var Ne=C(Ue).toHsl();return Ne.l+=He/100,Ne.l=ge(Ne.l),C(Ne)}function J(Ue,He){He=He===0?0:He||10;var Ne=C(Ue).toRgb();return Ne.r=Math.max(0,Math.min(255,Ne.r-Math.round(255*-(He/100)))),Ne.g=Math.max(0,Math.min(255,Ne.g-Math.round(255*-(He/100)))),Ne.b=Math.max(0,Math.min(255,Ne.b-Math.round(255*-(He/100)))),C(Ne)}function $(Ue,He){He=He===0?0:He||10;var Ne=C(Ue).toHsl();return Ne.l-=He/100,Ne.l=ge(Ne.l),C(Ne)}function X(Ue,He){var Ne=C(Ue).toHsl(),it=(Ne.h+He)%360;return Ne.h=it<0?360+it:it,C(Ne)}function ee(Ue){var He=C(Ue).toHsl();return He.h=(He.h+180)%360,C(He)}function ie(Ue,He){if(isNaN(He)||He<=0)throw new Error("Argument to polyad must be a positive number");for(var Ne=C(Ue).toHsl(),it=[C(Ue)],Xe=360/He,ht=1;ht<He;ht++)it.push(C({h:(Ne.h+ht*Xe)%360,s:Ne.s,l:Ne.l}));return it}function G(Ue){var He=C(Ue).toHsl(),Ne=He.h;return[C(Ue),C({h:(Ne+72)%360,s:He.s,l:He.l}),C({h:(Ne+216)%360,s:He.s,l:He.l})]}function Q(Ue,He,Ne){He=He||6,Ne=Ne||30;var it=C(Ue).toHsl(),Xe=360/Ne,ht=[C(Ue)];for(it.h=(it.h-(Xe*He>>1)+720)%360;--He;)it.h=(it.h+Xe)%360,ht.push(C(it));return ht}function W(Ue,He){He=He||6;for(var Ne=C(Ue).toHsv(),it=Ne.h,Xe=Ne.s,ht=Ne.v,lt=[],Et=1/He;He--;)lt.push(C({h:it,s:Xe,v:ht})),ht=(ht+Et)%1;return lt}C.mix=function(Ue,He,Ne){Ne=Ne===0?0:Ne||50;var it=C(Ue).toRgb(),Xe=C(He).toRgb(),ht=Ne/100,lt={r:(Xe.r-it.r)*ht+it.r,g:(Xe.g-it.g)*ht+it.g,b:(Xe.b-it.b)*ht+it.b,a:(Xe.a-it.a)*ht+it.a};return C(lt)},C.readability=function(Ue,He){var Ne=C(Ue),it=C(He);return(Math.max(Ne.getLuminance(),it.getLuminance())+.05)/(Math.min(Ne.getLuminance(),it.getLuminance())+.05)},C.isReadable=function(Ue,He,Ne){var it=C.readability(Ue,He),Xe,ht;switch(ht=!1,Xe=ze(Ne),Xe.level+Xe.size){case"AAsmall":case"AAAlarge":ht=it>=4.5;break;case"AAlarge":ht=it>=3;break;case"AAAsmall":ht=it>=7;break}return ht},C.mostReadable=function(Ue,He,Ne){var it=null,Xe=0,ht,lt,Et,tt;Ne=Ne||{},lt=Ne.includeFallbackColors,Et=Ne.level,tt=Ne.size;for(var mt=0;mt<He.length;mt++)ht=C.readability(Ue,He[mt]),ht>Xe&&(Xe=ht,it=C(He[mt]));return C.isReadable(Ue,it,{level:Et,size:tt})||!lt?it:(Ne.includeFallbackColors=!1,C.mostReadable(Ue,["#fff","#000"],Ne))};var ne=C.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"},te=C.hexNames=_e(ne);function _e(Ue){var He={};for(var Ne in Ue)Ue.hasOwnProperty(Ne)&&(He[Ue[Ne]]=Ne);return He}function he(Ue){return Ue=parseFloat(Ue),(isNaN(Ue)||Ue<0||Ue>1)&&(Ue=1),Ue}function oe(Ue,He){Z(Ue)&&(Ue="100%");var Ne=xe(Ue);return Ue=Math.min(He,Math.max(0,parseFloat(Ue))),Ne&&(Ue=parseInt(Ue*He,10)/100),Math.abs(Ue-He)<1e-6?1:Ue%He/parseFloat(He)}function ge(Ue){return Math.min(1,Math.max(0,Ue))}function me(Ue){return parseInt(Ue,16)}function Z(Ue){return typeof Ue=="string"&&Ue.indexOf(".")!=-1&&parseFloat(Ue)===1}function xe(Ue){return typeof Ue=="string"&&Ue.indexOf("%")!=-1}function Ee(Ue){return Ue.length==1?"0"+Ue:""+Ue}function Le(Ue){return Ue<=1&&(Ue=Ue*100+"%"),Ue}function we(Ue){return Math.round(parseFloat(Ue)*255).toString(16)}function fe(Ue){return me(Ue)/255}var pe=function(){var Ue="[-\\+]?\\d+%?",He="[-\\+]?\\d*\\.\\d+%?",Ne="(?:"+He+")|(?:"+Ue+")",it="[\\s|\\(]+("+Ne+")[,|\\s]+("+Ne+")[,|\\s]+("+Ne+")\\s*\\)?",Xe="[\\s|\\(]+("+Ne+")[,|\\s]+("+Ne+")[,|\\s]+("+Ne+")[,|\\s]+("+Ne+")\\s*\\)?";return{CSS_UNIT:new RegExp(Ne),rgb:new RegExp("rgb"+it),rgba:new RegExp("rgba"+Xe),hsl:new RegExp("hsl"+it),hsla:new RegExp("hsla"+Xe),hsv:new RegExp("hsv"+it),hsva:new RegExp("hsva"+Xe),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 Ke(Ue){return!!pe.CSS_UNIT.exec(Ue)}function Me(Ue){Ue=Ue.replace(m,"").replace(O,"").toLowerCase();var He=!1;if(ne[Ue])Ue=ne[Ue],He=!0;else if(Ue=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Ne;return(Ne=pe.rgb.exec(Ue))?{r:Ne[1],g:Ne[2],b:Ne[3]}:(Ne=pe.rgba.exec(Ue))?{r:Ne[1],g:Ne[2],b:Ne[3],a:Ne[4]}:(Ne=pe.hsl.exec(Ue))?{h:Ne[1],s:Ne[2],l:Ne[3]}:(Ne=pe.hsla.exec(Ue))?{h:Ne[1],s:Ne[2],l:Ne[3],a:Ne[4]}:(Ne=pe.hsv.exec(Ue))?{h:Ne[1],s:Ne[2],v:Ne[3]}:(Ne=pe.hsva.exec(Ue))?{h:Ne[1],s:Ne[2],v:Ne[3],a:Ne[4]}:(Ne=pe.hex8.exec(Ue))?{r:me(Ne[1]),g:me(Ne[2]),b:me(Ne[3]),a:fe(Ne[4]),format:He?"name":"hex8"}:(Ne=pe.hex6.exec(Ue))?{r:me(Ne[1]),g:me(Ne[2]),b:me(Ne[3]),format:He?"name":"hex"}:(Ne=pe.hex4.exec(Ue))?{r:me(Ne[1]+""+Ne[1]),g:me(Ne[2]+""+Ne[2]),b:me(Ne[3]+""+Ne[3]),a:fe(Ne[4]+""+Ne[4]),format:He?"name":"hex8"}:(Ne=pe.hex3.exec(Ue))?{r:me(Ne[1]+""+Ne[1]),g:me(Ne[2]+""+Ne[2]),b:me(Ne[3]+""+Ne[3]),format:He?"name":"hex"}:!1}function ze(Ue){var He,Ne;return Ue=Ue||{level:"AA",size:"small"},He=(Ue.level||"AA").toUpperCase(),Ne=(Ue.size||"small").toLowerCase(),He!=="AA"&&He!=="AAA"&&(He="AA"),Ne!=="small"&&Ne!=="large"&&(Ne="small"),{level:He,size:Ne}}return C})},lQqw:function(ce,R,l){var E=l("MMmD");function m(O,C){return function(k,A){if(k==null)return k;if(!E(k))return O(k,A);for(var S=k.length,y=C?S:-1,w=Object(k);(C?y--:++y<S)&&A(w[y],y,w)!==!1;);return k}}ce.exports=m},lSCD:function(ce,R,l){var E=l("NykK"),m=l("GoyQ"),O="[object AsyncFunction]",C="[object Function]",k="[object GeneratorFunction]",A="[object Proxy]";function S(y){if(!m(y))return!1;var w=E(y);return w==C||w==k||w==O||w==A}ce.exports=S},lSNA:function(ce,R,l){var E=l("o5UB");function m(O,C,k){return C=E(C),C in O?Object.defineProperty(O,C,{value:k,enumerable:!0,configurable:!0,writable:!0}):O[C]=k,O}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},lSoN:function(ce,R,l){var E=l("MMxC"),m=l("Ze4s");E({target:"Number",stat:!0,forced:Number.parseInt!=m},{parseInt:m})},lUTK:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("x54q"),C=l.n(O),k=l("5Dmo")},lV6h:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("zv1X").every,O=E.aTypedArray,C=E.exportTypedArrayMethod;C("every",function(A){return m(O(this),A,arguments.length>1?arguments[1]:void 0)})},lZ34:function(ce,R,l){"use strict";var E=l("NgHg"),m=/^-ms-/;function O(C){return E(C.replace(m,"ms-"))}ce.exports=O},lc5D:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.diff=R.split=void 0;var E=l("eF/C"),m=l("Uf63");R.diff=m.default;var O=l("N5VM");R.split=O.default,R.default=E.default},leS6:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){(O==null||O>m.length)&&(O=m.length);for(var C=0,k=new Array(O);C<O;C++)k[C]=m[C];return k}},lfch:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="CopyOutlined";var S=R.a=m.forwardRef(A)},lgSf:function(ce,R,l){var E=l("MVys"),m=l("2kyd"),O=l("Zcjx"),C=m("iterator");ce.exports=!E(function(){var k=new URL("b?a=1&b=2&c=3","http://a"),A=k.searchParams,S="";return k.pathname="c%20d",A.forEach(function(y,w){A.delete("b"),S+=w+y}),O&&!k.toJSON||!A.sort||k.href!=="http://a/c%20d?a=1&c=3"||A.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!A[C]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||S!=="a1c3"||new URL("http://x",void 0).host!=="x"})},ljc3:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ChromeFields=void 0;var E=function(){function B(U,J){for(var $=0;$<J.length;$++){var X=J[$];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(U,X.key,X)}}return function(U,J,$){return J&&B(U.prototype,J),$&&B(U,$),U}}(),m=l("q1tI"),O=T(m),C=l("/FUP"),k=T(C),A=l("4iDX"),S=T(A),y=l("UtML"),w=l("9F0J"),x=T(w);function T(B){return B&&B.__esModule?B:{default:B}}function j(B,U){if(!(B instanceof U))throw new TypeError("Cannot call a class as a function")}function D(B,U){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U&&(typeof U=="object"||typeof U=="function")?U:B}function N(B,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof U);B.prototype=Object.create(U&&U.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),U&&(Object.setPrototypeOf?Object.setPrototypeOf(B,U):B.__proto__=U)}var F=R.ChromeFields=function(B){N(U,B);function U(){var J,$,X,ee;j(this,U);for(var ie=arguments.length,G=Array(ie),Q=0;Q<ie;Q++)G[Q]=arguments[Q];return ee=($=(X=D(this,(J=U.__proto__||Object.getPrototypeOf(U)).call.apply(J,[this].concat(G))),X),X.state={view:""},X.toggleViews=function(){X.state.view==="hex"?X.setState({view:"rgb"}):X.state.view==="rgb"?X.setState({view:"hsl"}):X.state.view==="hsl"&&(X.props.hsl.a===1?X.setState({view:"hex"}):X.setState({view:"rgb"}))},X.handleChange=function(W,ne){W.hex?S.default.isValidHex(W.hex)&&X.props.onChange({hex:W.hex,source:"hex"},ne):W.r||W.g||W.b?X.props.onChange({r:W.r||X.props.rgb.r,g:W.g||X.props.rgb.g,b:W.b||X.props.rgb.b,source:"rgb"},ne):W.a?(W.a<0?W.a=0:W.a>1&&(W.a=1),X.props.onChange({h:X.props.hsl.h,s:X.props.hsl.s,l:X.props.hsl.l,a:Math.round(W.a*100)/100,source:"rgb"},ne)):(W.h||W.s||W.l)&&(typeof W.s=="string"&&W.s.includes("%")&&(W.s=W.s.replace("%","")),typeof W.l=="string"&&W.l.includes("%")&&(W.l=W.l.replace("%","")),X.props.onChange({h:W.h||X.props.hsl.h,s:Number(W.s&&W.s||X.props.hsl.s),l:Number(W.l&&W.l||X.props.hsl.l),source:"hsl"},ne))},X.showHighlight=function(W){W.currentTarget.style.background="#eee"},X.hideHighlight=function(W){W.currentTarget.style.background="transparent"},$),D(X,ee)}return E(U,[{key:"componentDidMount",value:function(){this.props.hsl.a===1&&this.state.view!=="hex"?this.setState({view:"hex"}):this.state.view!=="rgb"&&this.state.view!=="hsl"&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function($){$.hsl.a!==1&&this.state.view==="hex"&&this.setState({view:"rgb"})}},{key:"render",value:function(){var $=this,X=(0,k.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),ee=void 0;return this.state.view==="hex"?ee=O.default.createElement("div",{style:X.fields,className:"flexbox-fix"},O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?ee=O.default.createElement("div",{style:X.fields,className:"flexbox-fix"},O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),O.default.createElement("div",{style:X.alpha},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(ee=O.default.createElement("div",{style:X.fields,className:"flexbox-fix"},O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),O.default.createElement("div",{style:X.field},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),O.default.createElement("div",{style:X.alpha},O.default.createElement(y.EditableInput,{style:{input:X.input,label:X.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),O.default.createElement("div",{style:X.wrap,className:"flexbox-fix"},ee,O.default.createElement("div",{style:X.toggle},O.default.createElement("div",{style:X.icon,onClick:this.toggleViews,ref:function(G){return $.icon=G}},O.default.createElement(x.default,{style:X.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}]),U}(O.default.Component);R.default=F},ljhN:function(ce,R){function l(E,m){return E===m||E!==E&&m!==m}ce.exports=l},lkze:function(ce,R,l){"use strict";var E=l("wx14"),m=l("ODXe"),O=l("FWVt"),C=l("q1tI"),k=l.n(C),A=l("2/Rp"),S=l("zvFY");function y(x){return!!(x&&!!x.then)}var w=function(T){var j=C.useRef(!1),D=C.useRef(null),N=Object(O.a)(!1),F=Object(m.a)(N,2),B=F[0],U=F[1],J=T.close,$=function(){J==null||J.apply(void 0,arguments)};C.useEffect(function(){var ne=null;return T.autoFocus&&(ne=setTimeout(function(){var te;(te=D.current)===null||te===void 0||te.focus()})),function(){ne&&clearTimeout(ne)}},[]);var X=function(te){!y(te)||(U(!0),te.then(function(){U(!1,!0),$.apply(void 0,arguments),j.current=!1},function(_e){console.error(_e),U(!1,!0),j.current=!1}))},ee=function(te){var _e=T.actionFn;if(!j.current){if(j.current=!0,!_e){$();return}var he;if(T.emitEvent){if(he=_e(te),T.quitOnNullishReturnValue&&!y(he)){j.current=!1,$(te);return}}else if(_e.length)he=_e(J),j.current=!1;else if(he=_e(),!he){$();return}X(he)}},ie=T.type,G=T.children,Q=T.prefixCls,W=T.buttonProps;return C.createElement(A.a,Object(E.a)({},Object(S.a)(ie),{onClick:ee,loading:B,prefixCls:Q},W,{ref:D}),G)};R.a=w},"lm/5":function(ce,R,l){var E=l("fmRc"),m=l("wF/u"),O=1,C=2;function k(A,S,y,w){var x=y.length,T=x,j=!w;if(A==null)return!T;for(A=Object(A);x--;){var D=y[x];if(j&&D[2]?D[1]!==A[D[0]]:!(D[0]in A))return!1}for(;++x<T;){D=y[x];var N=D[0],F=A[N],B=D[1];if(j&&D[2]){if(F===void 0&&!(N in A))return!1}else{var U=new E;if(w)var J=w(F,B,N,A,S,U);if(!(J===void 0?m(B,F,O|C,w,U):J))return!1}}return!0}ce.exports=k},lnY3:function(ce,R,l){},lrIw:function(ce,R,l){"use strict";var E=l("wx14"),m=l("U8pU"),O=l("ODXe"),C=l("TSYQ"),k=l.n(C),A=l("axMd"),S=l("Ya77"),y=l("q1tI"),w=l.n(y),x=l("H84U"),T=l("2fM7"),j=l("0n0R"),D=T.a.Option;function N(U){return U&&U.type&&(U.type.isSelectOption||U.type.isSelectOptGroup)}var F=function(J,$){var X=J.prefixCls,ee=J.className,ie=J.popupClassName,G=J.dropdownClassName,Q=J.children,W=J.dataSource,ne=Object(A.a)(Q),te;if(ne.length===1&&Object(j.c)(ne[0])&&!N(ne[0])){var _e=Object(O.a)(ne,1);te=_e[0]}var he=te?function(){return te}:void 0,oe;return ne.length&&N(ne[0])?oe=Q:oe=W?W.map(function(ge){if(Object(j.c)(ge))return ge;switch(Object(m.a)(ge)){case"string":return y.createElement(D,{key:ge,value:ge},ge);case"object":{var me=ge.value;return y.createElement(D,{key:me,value:me},ge.text)}default:return}}):[],y.createElement(x.a,null,function(ge){var me=ge.getPrefixCls,Z=me("select",X);return y.createElement(T.a,Object(E.a)({ref:$},Object(S.a)(J,["dataSource"]),{prefixCls:Z,popupClassName:ie||G,className:k()("".concat(Z,"-auto-complete"),ee),mode:T.a.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:he}),oe)})},B=y.forwardRef(F);B.Option=D,R.a=B},lreK:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.mergeClasses=void 0;var E=l("Ag8Z"),m=A(E),O=l("BkRI"),C=A(O),k=Object.assign||function(y){for(var w=1;w<arguments.length;w++){var x=arguments[w];for(var T in x)Object.prototype.hasOwnProperty.call(x,T)&&(y[T]=x[T])}return y};function A(y){return y&&y.__esModule?y:{default:y}}var S=R.mergeClasses=function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],T=w.default&&(0,C.default)(w.default)||{};return x.map(function(j){var D=w[j];return D&&(0,m.default)(D,function(N,F){T[F]||(T[F]={}),T[F]=k({},T[F],D[F])}),j}),T};R.default=S},ls1J:function(ce,R,l){var E=l("Pp3M"),m=l("UHn5"),O=l("xxaU"),C=O("metadata"),k=C.store||(C.store=new m),A=function(j,D,N){var F=k.get(j);if(!F){if(!N)return;k.set(j,F=new E)}var B=F.get(D);if(!B){if(!N)return;F.set(D,B=new E)}return B},S=function(j,D,N){var F=A(D,N,!1);return F===void 0?!1:F.has(j)},y=function(j,D,N){var F=A(D,N,!1);return F===void 0?void 0:F.get(j)},w=function(j,D,N,F){A(N,F,!0).set(j,D)},x=function(j,D){var N=A(j,D,!1),F=[];return N&&N.forEach(function(B,U){F.push(U)}),F},T=function(j){return j===void 0||typeof j=="symbol"?j:String(j)};ce.exports={store:k,getMap:A,has:S,get:y,set:w,keys:x,toKey:T}},ls3p:function(ce,R,l){var E=l("MMxC"),m=l("V61k"),O=Math.cosh,C=Math.abs,k=Math.E;E({target:"Math",stat:!0,forced:!O||O(710)===Infinity},{cosh:function(S){var y=m(C(S)-1)+1;return(y+1/(y*k*k))*(k/2)}})},lwsE:function(ce,R){function l(E,m){if(!(E instanceof m))throw new TypeError("Cannot call a class as a function")}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},lz10:function(ce,R,l){var E=l("tny8"),m=l("YfKC"),O=l("HhvW");ce.exports=E?function(C,k,A){return m.f(C,k,O(1,A))}:function(C,k,A){return C[k]=A,C}},"m/6j":function(ce,R,l){(function(E){ce.exports=E(null)})(function E(m){"use strict";var O=/^\0+/g,C=/[\0\r\f]/g,k=/: */g,A=/zoo|gra/,S=/([,: ])(transform)/g,y=/,+\s*(?![^(]*[)])/g,w=/ +\s*(?![^(]*[)])/g,x=/ *[\0] */g,T=/,\r+?/g,j=/([\t\r\n ])*\f?&/g,D=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,N=/\W+/g,F=/@(k\w+)\s*(\S*)\s*/,B=/::(place)/g,U=/:(read-only)/g,J=/\s+(?=[{\];=:>])/g,$=/([[}=:>])\s+/g,X=/(\{[^{]+?);(?=\})/g,ee=/\s{2,}/g,ie=/([^\(])(:+) */g,G=/[svh]\w+-[tblr]{2}/,Q=/([\w-]+t\()/g,W=/\(\s*(.*)\s*\)/g,ne=/([\s\S]*?);/g,te=/-self|flex-/g,_e=/[^]*?(:[rp][el]a[\w-]+)[^]*/,he=/[ \t]+$/,oe=/stretch|:\s*\w+\-(?:conte|avail)/,ge=/([^-])(image-set\()/,me="-webkit-",Z="-moz-",xe="-ms-",Ee=59,Le=125,we=123,fe=40,pe=41,Ke=91,Me=93,ze=10,Ue=13,He=9,Ne=64,it=32,Xe=38,ht=45,lt=95,Et=42,tt=44,mt=58,xt=39,Xt=34,vt=47,qe=62,Re=43,Se=126,Ve=0,Ge=12,_t=11,bt=107,gt=109,at=115,ft=112,Fe=111,Te=105,ut=99,le=100,$e=112,Qe=1,Tt=1,Ot=0,Ut=1,At=1,Pt=1,Dt=0,Qt=0,cn=0,$n=[],hn=[],_n=0,bn=null,Bn=-2,Tn=-1,Tr=0,Sr=1,Wr=2,br=3,Wn=0,gr=1,na="",jn="",un="";function zt(Gn,ln,Xn,Kn,fr){for(var Hn=0,Sa=0,Lr=0,Ca=0,za=0,Ma=0,va=0,qa=0,gi=0,Qi=0,mi=0,Cr=0,Un=0,Lt=0,gn=0,Ln=0,kr=0,ea=0,Qr=0,Na=Xn.length,ar=Na-1,pi="",_i="",ti="",ui="",Ri="",ao="",Zi,Fi;gn<Na;){if(va=Xn.charCodeAt(gn),gn===ar&&Sa+Ca+Lr+Hn!==0&&(Sa!==0&&(va=Sa===vt?ze:vt),Ca=Lr=Hn=0,Na++,ar++),Sa+Ca+Lr+Hn===0){if(gn===ar&&(Ln>0&&(_i=_i.replace(C,"")),_i.trim().length>0)){switch(va){case it:case He:case Ee:case Ue:case ze:break;default:_i+=Xn.charAt(gn)}va=Ee}if(kr===1)switch(va){case we:case Le:case Ee:case Xt:case xt:case fe:case pe:case tt:kr=0;case He:case Ue:case ze:case it:break;default:for(kr=0,Qr=gn,za=va,gn--,va=Ee;Qr<Na;)switch(Xn.charCodeAt(Qr++)){case ze:case Ue:case Ee:{++gn,va=za,Qr=Na;break}case mt:Ln>0&&(++gn,va=za);case we:Qr=Na}}switch(va){case we:{for(_i=_i.trim(),za=_i.charCodeAt(0),mi=1,Qr=++gn;gn<Na;){switch(va=Xn.charCodeAt(gn)){case we:{mi++;break}case Le:{mi--;break}case vt:{switch(Ma=Xn.charCodeAt(gn+1)){case Et:case vt:gn=Zn(Ma,gn,ar,Xn)}break}case Ke:va++;case fe:va++;case Xt:case xt:for(;gn++<ar&&Xn.charCodeAt(gn)!==va;);}if(mi===0)break;gn++}switch(ti=Xn.substring(Qr,gn),za===Ve&&(za=(_i=_i.replace(O,"").trim()).charCodeAt(0)),za){case Ne:{switch(Ln>0&&(_i=_i.replace(C,"")),Ma=_i.charCodeAt(1),Ma){case le:case gt:case at:case ht:{Zi=ln;break}default:Zi=$n}if(ti=zt(ln,Zi,ti,Ma,fr+1),Qr=ti.length,cn>0&&Qr===0&&(Qr=_i.length),_n>0&&(Zi=Bt($n,_i,ea),Fi=Sn(br,ti,Zi,ln,Tt,Qe,Qr,Ma,fr,Kn),_i=Zi.join(""),Fi!==void 0&&(Qr=(ti=Fi.trim()).length)===0&&(Ma=0,ti="")),Qr>0)switch(Ma){case at:_i=_i.replace(W,Ct);case le:case gt:case ht:{ti=_i+"{"+ti+"}";break}case bt:{_i=_i.replace(F,"$1 $2"+(gr>0?na:"")),ti=_i+"{"+ti+"}",At===1||At===2&&nt("@"+ti,3)?ti="@"+me+ti+"@"+ti:ti="@"+ti;break}default:ti=_i+ti,Kn===$e&&(ti=(ui+=ti,""))}else ti="";break}default:ti=zt(ln,Bt(ln,_i,ea),ti,Kn,fr+1)}Ri+=ti,Cr=0,kr=0,Lt=0,Ln=0,ea=0,Un=0,_i="",ti="",va=Xn.charCodeAt(++gn);break}case Le:case Ee:{if(_i=(Ln>0?_i.replace(C,""):_i).trim(),(Qr=_i.length)>1)switch(Lt===0&&(za=_i.charCodeAt(0),(za===ht||za>96&&za<123)&&(Qr=(_i=_i.replace(" ",":")).length)),_n>0&&(Fi=Sn(Sr,_i,ln,Gn,Tt,Qe,ui.length,Kn,fr,Kn))!==void 0&&(Qr=(_i=Fi.trim()).length)===0&&(_i="\0\0"),za=_i.charCodeAt(0),Ma=_i.charCodeAt(1),za){case Ve:break;case Ne:if(Ma===Te||Ma===ut){ao+=_i+Xn.charAt(gn);break}default:{if(_i.charCodeAt(Qr-1)===mt)break;ui+=ot(_i,za,Ma,_i.charCodeAt(2))}}Cr=0,kr=0,Lt=0,Ln=0,ea=0,_i="",va=Xn.charCodeAt(++gn);break}}}switch(va){case Ue:case ze:{if(Sa+Ca+Lr+Hn+Qt===0)switch(Qi){case pe:case xt:case Xt:case Ne:case Se:case qe:case Et:case Re:case vt:case ht:case mt:case tt:case Ee:case we:case Le:break;default:Lt>0&&(kr=1)}Sa===vt?Sa=0:Ut+Cr===0&&Kn!==bt&&_i.length>0&&(Ln=1,_i+="\0"),_n*Wn>0&&Sn(Tr,_i,ln,Gn,Tt,Qe,ui.length,Kn,fr,Kn),Qe=1,Tt++;break}case Ee:case Le:if(Sa+Ca+Lr+Hn===0){Qe++;break}default:{switch(Qe++,pi=Xn.charAt(gn),va){case He:case it:{if(Ca+Hn+Sa===0)switch(qa){case tt:case mt:case He:case it:{pi="";break}default:va!==it&&(pi=" ")}break}case Ve:{pi="\\0";break}case Ge:{pi="\\f";break}case _t:{pi="\\v";break}case Xe:{Ca+Sa+Hn===0&&Ut>0&&(ea=1,Ln=1,pi="\f"+pi);break}case 108:{if(Ca+Sa+Hn+Ot===0&&Lt>0)switch(gn-Lt){case 2:qa===ft&&Xn.charCodeAt(gn-3)===mt&&(Ot=qa);case 8:gi===Fe&&(Ot=gi)}break}case mt:{Ca+Sa+Hn===0&&(Lt=gn);break}case tt:{Sa+Lr+Ca+Hn===0&&(Ln=1,pi+="\r");break}case Xt:case xt:{Sa===0&&(Ca=Ca===va?0:Ca===0?va:Ca);break}case Ke:{Ca+Sa+Lr===0&&Hn++;break}case Me:{Ca+Sa+Lr===0&&Hn--;break}case pe:{Ca+Sa+Hn===0&&Lr--;break}case fe:{if(Ca+Sa+Hn===0){if(Cr===0)switch(qa*2+gi*3){case 533:break;default:mi=0,Cr=1}Lr++}break}case Ne:{Sa+Lr+Ca+Hn+Lt+Un===0&&(Un=1);break}case Et:case vt:{if(Ca+Hn+Lr>0)break;switch(Sa){case 0:{switch(va*2+Xn.charCodeAt(gn+1)*3){case 235:{Sa=vt;break}case 220:{Qr=gn,Sa=Et;break}}break}case Et:va===vt&&qa===Et&&Qr+2!==gn&&(Xn.charCodeAt(Qr+2)===33&&(ui+=Xn.substring(Qr,gn+1)),pi="",Sa=0)}}}if(Sa===0){if(Ut+Ca+Hn+Un===0&&Kn!==bt&&va!==Ee)switch(va){case tt:case Se:case qe:case Re:case pe:case fe:{if(Cr===0){switch(qa){case He:case it:case ze:case Ue:{pi=pi+"\0";break}default:pi="\0"+pi+(va===tt?"":"\0")}Ln=1}else switch(va){case fe:{Lt+7===gn&&qa===108&&(Lt=0),Cr=++mi;break}case pe:{(Cr=--mi)==0&&(Ln=1,pi+="\0");break}}break}case He:case it:switch(qa){case Ve:case we:case Le:case Ee:case tt:case Ge:case He:case it:case ze:case Ue:break;default:Cr===0&&(Ln=1,pi+="\0")}}_i+=pi,va!==it&&va!==He&&(Qi=va)}}}gi=qa,qa=va,gn++}if(Qr=ui.length,cn>0&&Qr===0&&Ri.length===0&&ln[0].length!==0&&(Kn!==gt||ln.length===1&&(Ut>0?jn:un)===ln[0])&&(Qr=ln.join(",").length+2),Qr>0){if(Zi=Ut===0&&Kn!==bt?kn(ln):ln,_n>0&&(Fi=Sn(Wr,ui,Zi,Gn,Tt,Qe,Qr,Kn,fr,Kn),Fi!==void 0&&(ui=Fi).length===0))return ao+ui+Ri;if(ui=Zi.join(",")+"{"+ui+"}",At*Ot!=0){switch(At===2&&!nt(ui,2)&&(Ot=0),Ot){case Fe:{ui=ui.replace(U,":"+Z+"$1")+ui;break}case ft:{ui=ui.replace(B,"::"+me+"input-$1")+ui.replace(B,"::"+Z+"$1")+ui.replace(B,":"+xe+"input-$1")+ui;break}}Ot=0}}return ao+ui+Ri}function Bt(Gn,ln,Xn){var Kn=ln.trim().split(T),fr=Kn,Hn=Kn.length,Sa=Gn.length;switch(Sa){case 0:case 1:{for(var Lr=0,Ca=Sa===0?"":Gn[0]+" ";Lr<Hn;++Lr)fr[Lr]=H(Ca,fr[Lr],Xn,Sa).trim();break}default:for(var Lr=0,za=0,fr=[];Lr<Hn;++Lr)for(var Ma=0;Ma<Sa;++Ma)fr[za++]=H(Gn[Ma]+" ",Kn[Lr],Xn,Sa).trim()}return fr}function H(Gn,ln,Xn,Kn){var fr=ln,Hn=fr.charCodeAt(0);switch(Hn<33&&(Hn=(fr=fr.trim()).charCodeAt(0)),Hn){case Xe:{switch(Ut+Kn){case 0:case 1:if(Gn.trim().length===0)break;default:return fr.replace(j,"$1"+Gn.trim())}break}case mt:switch(fr.charCodeAt(1)){case 103:{if(Pt>0&&Ut>0)return fr.replace(D,"$1").replace(j,"$1"+un);break}default:return Gn.trim()+fr.replace(j,"$1"+Gn.trim())}default:if(Xn*Ut>0&&fr.indexOf("\f")>0)return fr.replace(j,(Gn.charCodeAt(0)===mt?"":"$1")+Gn.trim())}return Gn+fr}function ot(Gn,ln,Xn,Kn){var fr=0,Hn=Gn+";",Sa=ln*2+Xn*3+Kn*4,Lr;if(Sa===944)return Wt(Hn);if(At===0||At===2&&!nt(Hn,1))return Hn;switch(Sa){case 1015:return Hn.charCodeAt(10)===97?me+Hn+Hn:Hn;case 951:return Hn.charCodeAt(3)===116?me+Hn+Hn:Hn;case 963:return Hn.charCodeAt(5)===110?me+Hn+Hn:Hn;case 1009:if(Hn.charCodeAt(4)!==100)break;case 969:case 942:return me+Hn+Hn;case 978:return me+Hn+Z+Hn+Hn;case 1019:case 983:return me+Hn+Z+Hn+xe+Hn+Hn;case 883:return Hn.charCodeAt(8)===ht?me+Hn+Hn:Hn.indexOf("image-set(",11)>0?Hn.replace(ge,"$1"+me+"$2")+Hn:Hn;case 932:{if(Hn.charCodeAt(4)===ht)switch(Hn.charCodeAt(5)){case 103:return me+"box-"+Hn.replace("-grow","")+me+Hn+xe+Hn.replace("grow","positive")+Hn;case 115:return me+Hn+xe+Hn.replace("shrink","negative")+Hn;case 98:return me+Hn+xe+Hn.replace("basis","preferred-size")+Hn}return me+Hn+xe+Hn+Hn}case 964:return me+Hn+xe+"flex-"+Hn+Hn;case 1023:{if(Hn.charCodeAt(8)!==99)break;return Lr=Hn.substring(Hn.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),me+"box-pack"+Lr+me+Hn+xe+"flex-pack"+Lr+Hn}case 1005:return A.test(Hn)?Hn.replace(k,":"+me)+Hn.replace(k,":"+Z)+Hn:Hn;case 1e3:{switch(Lr=Hn.substring(13).trim(),fr=Lr.indexOf("-")+1,Lr.charCodeAt(0)+Lr.charCodeAt(fr)){case 226:{Lr=Hn.replace(G,"tb");break}case 232:{Lr=Hn.replace(G,"tb-rl");break}case 220:{Lr=Hn.replace(G,"lr");break}default:return Hn}return me+Hn+xe+Lr+Hn}case 1017:if(Hn.indexOf("sticky",9)===-1)return Hn;case 975:{switch(fr=(Hn=Gn).length-10,Lr=(Hn.charCodeAt(fr)===33?Hn.substring(0,fr):Hn).substring(Gn.indexOf(":",7)+1).trim(),Sa=Lr.charCodeAt(0)+(Lr.charCodeAt(7)|0)){case 203:if(Lr.charCodeAt(8)<111)break;case 115:{Hn=Hn.replace(Lr,me+Lr)+";"+Hn;break}case 207:case 102:Hn=Hn.replace(Lr,me+(Sa>102?"inline-":"")+"box")+";"+Hn.replace(Lr,me+Lr)+";"+Hn.replace(Lr,xe+Lr+"box")+";"+Hn}return Hn+";"}case 938:{if(Hn.charCodeAt(5)===ht)switch(Hn.charCodeAt(6)){case 105:return Lr=Hn.replace("-items",""),me+Hn+me+"box-"+Lr+xe+"flex-"+Lr+Hn;case 115:return me+Hn+xe+"flex-item-"+Hn.replace(te,"")+Hn;default:return me+Hn+xe+"flex-line-pack"+Hn.replace("align-content","").replace(te,"")+Hn}break}case 973:case 989:if(Hn.charCodeAt(3)!==ht||Hn.charCodeAt(4)===122)break;case 931:case 953:{if(oe.test(Gn)===!0)return(Lr=Gn.substring(Gn.indexOf(":")+1)).charCodeAt(0)===115?ot(Gn.replace("stretch","fill-available"),ln,Xn,Kn).replace(":fill-available",":stretch"):Hn.replace(Lr,me+Lr)+Hn.replace(Lr,Z+Lr.replace("fill-",""))+Hn;break}case 962:{if(Hn=me+Hn+(Hn.charCodeAt(5)===102?xe+Hn:"")+Hn,Xn+Kn===211&&Hn.charCodeAt(13)===105&&Hn.indexOf("transform",10)>0)return Hn.substring(0,Hn.indexOf(";",27)+1).replace(S,"$1"+me+"$2")+Hn;break}}return Hn}function nt(Gn,ln){var Xn=Gn.indexOf(ln===1?":":"{"),Kn=Gn.substring(0,ln!==3?Xn:10),fr=Gn.substring(Xn+1,Gn.length-1);return bn(ln!==2?Kn:Kn.replace(_e,"$1"),fr,ln)}function Ct(Gn,ln){var Xn=ot(ln,ln.charCodeAt(0),ln.charCodeAt(1),ln.charCodeAt(2));return Xn!==ln+";"?Xn.replace(ne," or ($1)").substring(4):"("+ln+")"}function Wt(Gn){var ln=Gn.length,Xn=Gn.indexOf(":",9)+1,Kn=Gn.substring(0,Xn).trim(),fr=Gn.substring(Xn,ln-1).trim();switch(Gn.charCodeAt(9)*gr){case 0:break;case ht:if(Gn.charCodeAt(10)!==110)break;default:for(var Hn=fr.split((fr="",y)),Sa=0,Xn=0,ln=Hn.length;Sa<ln;Xn=0,++Sa){for(var Lr=Hn[Sa],Ca=Lr.split(w);Lr=Ca[Xn];){var za=Lr.charCodeAt(0);if(gr===1&&(za>Ne&&za<90||za>96&&za<123||za===lt||za===ht&&Lr.charCodeAt(1)!==ht))switch(isNaN(parseFloat(Lr))+(Lr.indexOf("(")!==-1)){case 1:switch(Lr){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:Lr+=na}}Ca[Xn++]=Lr}fr+=(Sa===0?"":",")+Ca.join(" ")}}return fr=Kn+fr+";",At===1||At===2&&nt(fr,1)?me+fr+fr:fr}function kn(Gn){for(var ln=0,Xn=Gn.length,Kn=Array(Xn),fr,Hn;ln<Xn;++ln){for(var Sa=Gn[ln].split(x),Lr="",Ca=0,za=0,Ma=0,va=0,qa=Sa.length;Ca<qa;++Ca)if(!((za=(Hn=Sa[Ca]).length)===0&&qa>1)){if(Ma=Lr.charCodeAt(Lr.length-1),va=Hn.charCodeAt(0),fr="",Ca!==0)switch(Ma){case Et:case Se:case qe:case Re:case it:case fe:break;default:fr=" "}switch(va){case Xe:Hn=fr+jn;case Se:case qe:case Re:case it:case pe:case fe:break;case Ke:{Hn=fr+Hn+jn;break}case mt:{switch(Hn.charCodeAt(1)*2+Hn.charCodeAt(2)*3){case 530:if(Pt>0){Hn=fr+Hn.substring(8,za-1);break}default:(Ca<1||Sa[Ca-1].length<1)&&(Hn=fr+jn+Hn)}break}case tt:fr="";default:za>1&&Hn.indexOf(":")>0?Hn=fr+Hn.replace(ie,"$1"+jn+"$2"):Hn=fr+Hn+jn}Lr+=Hn}Kn[ln]=Lr.replace(C,"").trim()}return Kn}function Sn(Gn,ln,Xn,Kn,fr,Hn,Sa,Lr,Ca,za){for(var Ma=0,va=ln,qa;Ma<_n;++Ma)switch(qa=hn[Ma].call(rr,Gn,va,Xn,Kn,fr,Hn,Sa,Lr,Ca,za)){case void 0:case!1:case!0:case null:break;default:va=qa}if(va!==ln)return va}function Zn(Gn,ln,Xn,Kn){for(var fr=ln+1;fr<Xn;++fr)switch(Kn.charCodeAt(fr)){case vt:{if(Gn===Et&&Kn.charCodeAt(fr-1)===Et&&ln+2!==fr)return fr+1;break}case ze:if(Gn===vt)return fr+1}return fr}function Or(Gn,ln,Xn,Kn){for(var fr=ln+1;fr<Xn;++fr)switch(Kn.charCodeAt(fr)){case Gn:return fr}return fr}function Yn(Gn){return Gn.replace(C,"").replace(J,"").replace($,"$1").replace(X,"$1").replace(ee," ")}function Nn(Gn){switch(Gn){case void 0:case null:{_n=hn.length=0;break}default:if(typeof Gn=="function")hn[_n++]=Gn;else if(typeof Gn=="object")for(var ln=0,Xn=Gn.length;ln<Xn;++ln)Nn(Gn[ln]);else Wn=!!Gn|0}return Nn}function Zt(Gn){for(var ln in Gn){var Xn=Gn[ln];switch(ln){case"keyframe":gr=Xn|0;break;case"global":Pt=Xn|0;break;case"cascade":Ut=Xn|0;break;case"compress":Dt=Xn|0;break;case"semicolon":Qt=Xn|0;break;case"preserve":cn=Xn|0;break;case"prefix":bn=null,Xn?typeof Xn!="function"?At=1:(At=2,bn=Xn):At=0}}return Zt}function rr(Gn,ln){if(this!==void 0&&this.constructor===rr)return E(Gn);var Xn=Gn,Kn=Xn.charCodeAt(0);Kn<33&&(Kn=(Xn=Xn.trim()).charCodeAt(0)),gr>0&&(na=Xn.replace(N,Kn===Ke?"":"-")),Kn=1,Ut===1?un=Xn:jn=Xn;var fr=[un],Hn;_n>0&&(Hn=Sn(Tn,ln,fr,fr,Tt,Qe,0,0,0,0),Hn!==void 0&&typeof Hn=="string"&&(ln=Hn));var Sa=zt($n,fr,ln,0,0);return _n>0&&(Hn=Sn(Bn,Sa,fr,fr,Tt,Qe,Sa.length,0,0,0),Hn!==void 0&&typeof(Sa=Hn)!="string"&&(Kn=0)),na="",un="",jn="",Ot=0,Tt=1,Qe=1,Dt*Kn==0?Sa:Yn(Sa)}return rr.use=Nn,rr.set=Zt,m!==void 0&&Zt(m),rr})},m0LI:function(ce,R){function l(E,m){var O=E==null?null:typeof Symbol!="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(O!=null){var C,k,A,S,y=[],w=!0,x=!1;try{if(A=(O=O.call(E)).next,m===0){if(Object(O)!==O)return;w=!1}else for(;!(w=(C=A.call(O)).done)&&(y.push(C.value),y.length!==m);w=!0);}catch(T){x=!0,k=T}finally{try{if(!w&&O.return!=null&&(S=O.return(),Object(S)!==S))return}finally{if(x)throw k}}return y}}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},m0kY:function(ce,R){var l=Math.ceil,E=Math.floor;ce.exports=function(m){return isNaN(m=+m)?0:(m>0?E:l)(m)}},m1lR:function(ce,R,l){"use strict";var E=l("TOwV"),m={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},O={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},C={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},k={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A={};A[E.ForwardRef]=C,A[E.Memo]=k;function S(F){return E.isMemo(F)?k:A[F.$$typeof]||m}var y=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,j=Object.getPrototypeOf,D=Object.prototype;function N(F,B,U){if(typeof B!="string"){if(D){var J=j(B);J&&J!==D&&N(F,J,U)}var $=w(B);x&&($=$.concat(x(B)));for(var X=S(F),ee=S(B),ie=0;ie<$.length;++ie){var G=$[ie];if(!O[G]&&!(U&&U[G])&&!(ee&&ee[G])&&!(X&&X[G])){var Q=T(B,G);try{y(F,G,Q)}catch(W){}}}}return F}ce.exports=N},m3pO:function(ce,R,l){var E=l("ukPv"),m=l("g8rt").f,O=l("UwrT"),C=l("C3pJ").set,k=l("xRZI"),A=E.MutationObserver||E.WebKitMutationObserver,S=E.process,y=E.Promise,w=O(S)=="process",x=m(E,"queueMicrotask"),T=x&&x.value,j,D,N,F,B,U,J,$;T||(j=function(){var X,ee;for(w&&(X=S.domain)&&X.exit();D;){ee=D.fn,D=D.next;try{ee()}catch(ie){throw D?F():N=void 0,ie}}N=void 0,X&&X.enter()},w?F=function(){S.nextTick(j)}:A&&!k?(B=!0,U=document.createTextNode(""),new A(j).observe(U,{characterData:!0}),F=function(){U.data=B=!B}):y&&y.resolve?(J=y.resolve(void 0),$=J.then,F=function(){$.call(J,j)}):F=function(){C.call(E,j)}),ce.exports=T||function(X){var ee={fn:X,next:void 0};N&&(N.next=ee),D||(D=ee,F()),N=ee}},m71J:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("eYKs").codeAt;E({target:"String",proto:!0},{codePointAt:function(C){return m(this,C)}})},mDwP:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=l("tV+k"),m=W(E),O=l("jHaB"),C=W(O),k=l("kWxg"),A=W(k),S=l("88MX"),y=W(S),w=l("Gxto"),x=W(w),T=l("fh9h"),j=W(T),D=l("hY9h"),N=W(D),F=l("y6O0"),B=W(F),U=l("TsO7"),J=W(U),$=l("bRiQ"),X=W($),ee=l("1cr7"),ie=W(ee),G=l("IOBY"),Q=W(G);function W(te){return te&&te.__esModule?te:{default:te}}var ne=[y.default,A.default,x.default,N.default,B.default,J.default,X.default,ie.default,Q.default,j.default];R.default=(0,m.default)({prefixMap:C.default.prefixMap,plugins:ne}),ce.exports=R.default},mGKP:function(ce,R,l){var E=l("EdiO");function m(O,C){if(!!O){if(typeof O=="string")return E(O,C);var k=Object.prototype.toString.call(O).slice(8,-1);if(k==="Object"&&O.constructor&&(k=O.constructor.name),k==="Map"||k==="Set")return Array.from(O);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return E(O,C)}}ce.exports=m,ce.exports.__esModule=!0,ce.exports.default=ce.exports},mLN8:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("hKmx"),O=l("cTDu"),C=l("oa35"),k=l("m0kY"),A=l("nMuc");E({target:"Array",proto:!0},{flat:function(){var y=arguments.length?arguments[0]:void 0,w=O(this),x=C(w.length),T=A(w,0);return T.length=m(T,w,w,x,0,y===void 0?1:k(y)),T}})},mMun:function(ce,R,l){"use strict";var E=l("tny8"),m=l("ukPv"),O=l("kkxG"),C=l("NMFW"),k=l("jtLI"),A=l("UwrT"),S=l("+vfm"),y=l("gFfw"),w=l("MVys"),x=l("u+7+"),T=l("uGHk").f,j=l("g8rt").f,D=l("YfKC").f,N=l("mTKU").trim,F="Number",B=m[F],U=B.prototype,J=A(x(U))==F,$=function(Q){var W=y(Q,!1),ne,te,_e,he,oe,ge,me,Z;if(typeof W=="string"&&W.length>2){if(W=N(W),ne=W.charCodeAt(0),ne===43||ne===45){if(te=W.charCodeAt(2),te===88||te===120)return NaN}else if(ne===48){switch(W.charCodeAt(1)){case 66:case 98:_e=2,he=49;break;case 79:case 111:_e=8,he=55;break;default:return+W}for(oe=W.slice(2),ge=oe.length,me=0;me<ge;me++)if(Z=oe.charCodeAt(me),Z<48||Z>he)return NaN;return parseInt(oe,_e)}}return+W};if(O(F,!B(" 0o1")||!B("0b1")||B("+0x1"))){for(var X=function(W){var ne=arguments.length<1?0:W,te=this;return te instanceof X&&(J?w(function(){U.valueOf.call(te)}):A(te)!=F)?S(new B($(ne)),te,X):$(ne)},ee=E?T(B):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),ie=0,G;ee.length>ie;ie++)k(B,G=ee[ie])&&!k(X,G)&&D(X,G,j(B,G));X.prototype=U,U.constructor=X,C(m,F,X)}},mNvP:function(ce,R,l){(function(E,m){/*! *****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var O;(function(C){(function(k){var A=typeof m=="object"?m:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),S=y(C);typeof A.Reflect=="undefined"?A.Reflect=C:S=y(A.Reflect,S),k(S);function y(w,x){return function(T,j){typeof w[T]!="function"&&Object.defineProperty(w,T,{configurable:!0,writable:!0,value:j}),x&&x(T,j)}}})(function(k){var A=Object.prototype.hasOwnProperty,S=typeof Symbol=="function",y=S&&typeof Symbol.toPrimitive!="undefined"?Symbol.toPrimitive:"@@toPrimitive",w=S&&typeof Symbol.iterator!="undefined"?Symbol.iterator:"@@iterator",x=typeof Object.create=="function",T={__proto__:[]}instanceof Array,j=!x&&!T,D={create:x?function(){return gt(Object.create(null))}:T?function(){return gt({__proto__:null})}:function(){return gt({})},has:j?function(at,ft){return A.call(at,ft)}:function(at,ft){return ft in at},get:j?function(at,ft){return A.call(at,ft)?at[ft]:void 0}:function(at,ft){return at[ft]}},N=Object.getPrototypeOf(Function),F=typeof E=="object"&&{npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}&&{npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.REFLECT_METADATA_USE_MAP_POLYFILL==="true",B=!F&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:Ge(),U=!F&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:_t(),J=!F&&typeof WeakMap=="function"?WeakMap:bt(),$=new J;function X(at,ft,Fe,Te){if(Me(Fe)){if(!Et(at))throw new TypeError;if(!mt(ft))throw new TypeError;return oe(at,ft)}else{if(!Et(at))throw new TypeError;if(!He(ft))throw new TypeError;if(!He(Te)&&!Me(Te)&&!ze(Te))throw new TypeError;return ze(Te)&&(Te=void 0),Fe=lt(Fe),ge(at,ft,Fe,Te)}}k("decorate",X);function ee(at,ft){function Fe(Te,ut){if(!He(Te))throw new TypeError;if(!Me(ut)&&!xt(ut))throw new TypeError;we(at,ft,Te,ut)}return Fe}k("metadata",ee);function ie(at,ft,Fe,Te){if(!He(Fe))throw new TypeError;return Me(Te)||(Te=lt(Te)),we(at,ft,Fe,Te)}k("defineMetadata",ie);function G(at,ft,Fe){if(!He(ft))throw new TypeError;return Me(Fe)||(Fe=lt(Fe)),Z(at,ft,Fe)}k("hasMetadata",G);function Q(at,ft,Fe){if(!He(ft))throw new TypeError;return Me(Fe)||(Fe=lt(Fe)),xe(at,ft,Fe)}k("hasOwnMetadata",Q);function W(at,ft,Fe){if(!He(ft))throw new TypeError;return Me(Fe)||(Fe=lt(Fe)),Ee(at,ft,Fe)}k("getMetadata",W);function ne(at,ft,Fe){if(!He(ft))throw new TypeError;return Me(Fe)||(Fe=lt(Fe)),Le(at,ft,Fe)}k("getOwnMetadata",ne);function te(at,ft){if(!He(at))throw new TypeError;return Me(ft)||(ft=lt(ft)),fe(at,ft)}k("getMetadataKeys",te);function _e(at,ft){if(!He(at))throw new TypeError;return Me(ft)||(ft=lt(ft)),pe(at,ft)}k("getOwnMetadataKeys",_e);function he(at,ft,Fe){if(!He(ft))throw new TypeError;Me(Fe)||(Fe=lt(Fe));var Te=me(ft,Fe,!1);if(Me(Te)||!Te.delete(at))return!1;if(Te.size>0)return!0;var ut=$.get(ft);return ut.delete(Fe),ut.size>0||$.delete(ft),!0}k("deleteMetadata",he);function oe(at,ft){for(var Fe=at.length-1;Fe>=0;--Fe){var Te=at[Fe],ut=Te(ft);if(!Me(ut)&&!ze(ut)){if(!mt(ut))throw new TypeError;ft=ut}}return ft}function ge(at,ft,Fe,Te){for(var ut=at.length-1;ut>=0;--ut){var le=at[ut],$e=le(ft,Fe,Te);if(!Me($e)&&!ze($e)){if(!He($e))throw new TypeError;Te=$e}}return Te}function me(at,ft,Fe){var Te=$.get(at);if(Me(Te)){if(!Fe)return;Te=new B,$.set(at,Te)}var ut=Te.get(ft);if(Me(ut)){if(!Fe)return;ut=new B,Te.set(ft,ut)}return ut}function Z(at,ft,Fe){var Te=xe(at,ft,Fe);if(Te)return!0;var ut=Ve(ft);return ze(ut)?!1:Z(at,ut,Fe)}function xe(at,ft,Fe){var Te=me(ft,Fe,!1);return Me(Te)?!1:Xe(Te.has(at))}function Ee(at,ft,Fe){var Te=xe(at,ft,Fe);if(Te)return Le(at,ft,Fe);var ut=Ve(ft);if(!ze(ut))return Ee(at,ut,Fe)}function Le(at,ft,Fe){var Te=me(ft,Fe,!1);if(!Me(Te))return Te.get(at)}function we(at,ft,Fe,Te){var ut=me(Fe,Te,!0);ut.set(at,ft)}function fe(at,ft){var Fe=pe(at,ft),Te=Ve(at);if(Te===null)return Fe;var ut=fe(Te,ft);if(ut.length<=0)return Fe;if(Fe.length<=0)return ut;for(var le=new U,$e=[],Qe=0,Tt=Fe;Qe<Tt.length;Qe++){var Ot=Tt[Qe],Ut=le.has(Ot);Ut||(le.add(Ot),$e.push(Ot))}for(var At=0,Pt=ut;At<Pt.length;At++){var Ot=Pt[At],Ut=le.has(Ot);Ut||(le.add(Ot),$e.push(Ot))}return $e}function pe(at,ft){var Fe=[],Te=me(at,ft,!1);if(Me(Te))return Fe;for(var ut=Te.keys(),le=vt(ut),$e=0;;){var Qe=Re(le);if(!Qe)return Fe.length=$e,Fe;var Tt=qe(Qe);try{Fe[$e]=Tt}catch(Ot){try{Se(le)}finally{throw Ot}}$e++}}function Ke(at){if(at===null)return 1;switch(typeof at){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return at===null?1:6;default:return 6}}function Me(at){return at===void 0}function ze(at){return at===null}function Ue(at){return typeof at=="symbol"}function He(at){return typeof at=="object"?at!==null:typeof at=="function"}function Ne(at,ft){switch(Ke(at)){case 0:return at;case 1:return at;case 2:return at;case 3:return at;case 4:return at;case 5:return at}var Fe=ft===3?"string":ft===5?"number":"default",Te=Xt(at,y);if(Te!==void 0){var ut=Te.call(at,Fe);if(He(ut))throw new TypeError;return ut}return it(at,Fe==="default"?"number":Fe)}function it(at,ft){if(ft==="string"){var Fe=at.toString;if(tt(Fe)){var Te=Fe.call(at);if(!He(Te))return Te}var ut=at.valueOf;if(tt(ut)){var Te=ut.call(at);if(!He(Te))return Te}}else{var ut=at.valueOf;if(tt(ut)){var Te=ut.call(at);if(!He(Te))return Te}var le=at.toString;if(tt(le)){var Te=le.call(at);if(!He(Te))return Te}}throw new TypeError}function Xe(at){return!!at}function ht(at){return""+at}function lt(at){var ft=Ne(at,3);return Ue(ft)?ft:ht(ft)}function Et(at){return Array.isArray?Array.isArray(at):at instanceof Object?at instanceof Array:Object.prototype.toString.call(at)==="[object Array]"}function tt(at){return typeof at=="function"}function mt(at){return typeof at=="function"}function xt(at){switch(Ke(at)){case 3:return!0;case 4:return!0;default:return!1}}function Xt(at,ft){var Fe=at[ft];if(Fe!=null){if(!tt(Fe))throw new TypeError;return Fe}}function vt(at){var ft=Xt(at,w);if(!tt(ft))throw new TypeError;var Fe=ft.call(at);if(!He(Fe))throw new TypeError;return Fe}function qe(at){return at.value}function Re(at){var ft=at.next();return ft.done?!1:ft}function Se(at){var ft=at.return;ft&&ft.call(at)}function Ve(at){var ft=Object.getPrototypeOf(at);if(typeof at!="function"||at===N||ft!==N)return ft;var Fe=at.prototype,Te=Fe&&Object.getPrototypeOf(Fe);if(Te==null||Te===Object.prototype)return ft;var ut=Te.constructor;return typeof ut!="function"||ut===at?ft:ut}function Ge(){var at={},ft=[],Fe=function(){function $e(Qe,Tt,Ot){this._index=0,this._keys=Qe,this._values=Tt,this._selector=Ot}return $e.prototype["@@iterator"]=function(){return this},$e.prototype[w]=function(){return this},$e.prototype.next=function(){var Qe=this._index;if(Qe>=0&&Qe<this._keys.length){var Tt=this._selector(this._keys[Qe],this._values[Qe]);return Qe+1>=this._keys.length?(this._index=-1,this._keys=ft,this._values=ft):this._index++,{value:Tt,done:!1}}return{value:void 0,done:!0}},$e.prototype.throw=function(Qe){throw this._index>=0&&(this._index=-1,this._keys=ft,this._values=ft),Qe},$e.prototype.return=function(Qe){return this._index>=0&&(this._index=-1,this._keys=ft,this._values=ft),{value:Qe,done:!0}},$e}();return function(){function $e(){this._keys=[],this._values=[],this._cacheKey=at,this._cacheIndex=-2}return Object.defineProperty($e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),$e.prototype.has=function(Qe){return this._find(Qe,!1)>=0},$e.prototype.get=function(Qe){var Tt=this._find(Qe,!1);return Tt>=0?this._values[Tt]:void 0},$e.prototype.set=function(Qe,Tt){var Ot=this._find(Qe,!0);return this._values[Ot]=Tt,this},$e.prototype.delete=function(Qe){var Tt=this._find(Qe,!1);if(Tt>=0){for(var Ot=this._keys.length,Ut=Tt+1;Ut<Ot;Ut++)this._keys[Ut-1]=this._keys[Ut],this._values[Ut-1]=this._values[Ut];return this._keys.length--,this._values.length--,Qe===this._cacheKey&&(this._cacheKey=at,this._cacheIndex=-2),!0}return!1},$e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=at,this._cacheIndex=-2},$e.prototype.keys=function(){return new Fe(this._keys,this._values,Te)},$e.prototype.values=function(){return new Fe(this._keys,this._values,ut)},$e.prototype.entries=function(){return new Fe(this._keys,this._values,le)},$e.prototype["@@iterator"]=function(){return this.entries()},$e.prototype[w]=function(){return this.entries()},$e.prototype._find=function(Qe,Tt){return this._cacheKey!==Qe&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=Qe)),this._cacheIndex<0&&Tt&&(this._cacheIndex=this._keys.length,this._keys.push(Qe),this._values.push(void 0)),this._cacheIndex},$e}();function Te($e,Qe){return $e}function ut($e,Qe){return Qe}function le($e,Qe){return[$e,Qe]}}function _t(){return function(){function at(){this._map=new B}return Object.defineProperty(at.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),at.prototype.has=function(ft){return this._map.has(ft)},at.prototype.add=function(ft){return this._map.set(ft,ft),this},at.prototype.delete=function(ft){return this._map.delete(ft)},at.prototype.clear=function(){this._map.clear()},at.prototype.keys=function(){return this._map.keys()},at.prototype.values=function(){return this._map.values()},at.prototype.entries=function(){return this._map.entries()},at.prototype["@@iterator"]=function(){return this.keys()},at.prototype[w]=function(){return this.keys()},at}()}function bt(){var at=16,ft=D.create(),Fe=Te();return function(){function Tt(){this._key=Te()}return Tt.prototype.has=function(Ot){var Ut=ut(Ot,!1);return Ut!==void 0?D.has(Ut,this._key):!1},Tt.prototype.get=function(Ot){var Ut=ut(Ot,!1);return Ut!==void 0?D.get(Ut,this._key):void 0},Tt.prototype.set=function(Ot,Ut){var At=ut(Ot,!0);return At[this._key]=Ut,this},Tt.prototype.delete=function(Ot){var Ut=ut(Ot,!1);return Ut!==void 0?delete Ut[this._key]:!1},Tt.prototype.clear=function(){this._key=Te()},Tt}();function Te(){var Tt;do Tt="@@WeakMap@@"+Qe();while(D.has(ft,Tt));return ft[Tt]=!0,Tt}function ut(Tt,Ot){if(!A.call(Tt,Fe)){if(!Ot)return;Object.defineProperty(Tt,Fe,{value:D.create()})}return Tt[Fe]}function le(Tt,Ot){for(var Ut=0;Ut<Ot;++Ut)Tt[Ut]=Math.random()*255|0;return Tt}function $e(Tt){return typeof Uint8Array=="function"?typeof crypto!="undefined"?crypto.getRandomValues(new Uint8Array(Tt)):typeof msCrypto!="undefined"?msCrypto.getRandomValues(new Uint8Array(Tt)):le(new Uint8Array(Tt),Tt):le(new Array(Tt),Tt)}function Qe(){var Tt=$e(at);Tt[6]=Tt[6]&79|64,Tt[8]=Tt[8]&191|128;for(var Ot="",Ut=0;Ut<at;++Ut){var At=Tt[Ut];(Ut===4||Ut===6||Ut===8)&&(Ot+="-"),At<16&&(Ot+="0"),Ot+=At.toString(16).toLowerCase()}return Ot}}function gt(at){return at.__=void 0,delete at.__,at}})})(O||(O={}))}).call(this,l("Q2Ig"),l("IyRk"))},mQwV:function(ce,R,l){},mTKU:function(ce,R,l){var E=l("FCfD"),m=l("Tfd0"),O="["+m+"]",C=RegExp("^"+O+O+"*"),k=RegExp(O+O+"*$"),A=function(S){return function(y){var w=String(E(y));return S&1&&(w=w.replace(C,"")),S&2&&(w=w.replace(k,"")),w}};ce.exports={start:A(1),end:A(2),trim:A(3)}},mTTR:function(ce,R,l){var E=l("b80T"),m=l("QcOe"),O=l("MMmD");function C(k){return O(k)?E(k,!0):m(k)}ce.exports=C},mWKI:function(ce,R,l){"use strict";(function(E){l.d(R,"a",function(){return he});var m=l("KQm4"),O=l("ODXe"),C=l("Ff2n"),k=l("VTBJ"),A=l("EoNY"),S=l("IJtq"),y=l("wEI+"),w=l("+Gva"),x=l("q1tI"),T=l.n(x),j=l("qeMI"),D=l("EG35"),N=l("2mpP"),F=l("jJZc"),B=l("nhqZ"),U=l("v0wf"),J=l("nKUr"),$=l.n(J),X=["locale","getPrefixCls"],ee=["locale","theme"],ie=function(){var me,Z;return!(typeof E!="undefined"&&(((me="production")===null||me===void 0?void 0:me.toUpperCase())==="TEST"||((Z="production")===null||Z===void 0?void 0:Z.toUpperCase())==="DEV"))},G=T.a.createContext({intl:Object(k.a)(Object(k.a)({},D.c),{},{locale:"default"}),valueTypeMap:{},theme:B.emptyTheme,hashed:!0,dark:!1,token:B.defaultToken}),Q=G.Consumer,W=function(){var me=Object(j.b)(),Z=me.cache;return Object(x.useEffect)(function(){return function(){Z.clear()}},[]),null},ne=function(me){var Z,xe=me.children,Ee=me.dark,Le=me.valueTypeMap,we=me.autoClearCache,fe=we===void 0?!1:we,pe=me.token,Ke=me.prefixCls,Me=Object(x.useContext)(y.a.ConfigContext),ze=Me.locale,Ue=Me.getPrefixCls,He=Object(C.a)(Me,X),Ne=(Z=F.a.useToken)===null||Z===void 0?void 0:Z.call(F.a),it=Object(x.useContext)(G),Xe=Ke?".".concat(Ke):".".concat(Ue(),"-pro"),ht="."+Ue(),lt="".concat(Xe),Et=Object(x.useMemo)(function(){return Object(N.a)(pe||{},Ne.token||B.defaultToken)},[pe,Ne.token]),tt=Object(x.useMemo)(function(){var Ve,Ge=ze==null?void 0:ze.locale,_t=Object(D.a)(Ge),bt=Ge&&((Ve=it.intl)===null||Ve===void 0?void 0:Ve.locale)==="default"?D.b[_t]:it.intl||D.b[_t];return Object(k.a)(Object(k.a)({},it),{},{dark:Ee!=null?Ee:it.dark,token:Object(U.a)(it.token,Ne.token,{proComponentsCls:Xe,antCls:ht,themeId:Ne.theme.id,layout:Et}),intl:bt||D.c})},[ze==null?void 0:ze.locale,it,Ee,Ne.token,Ne.theme.id,Xe,ht,Et]),mt=Object(k.a)(Object(k.a)({},tt.token||{}),{},{proComponentsCls:Xe}),xt=Object(A.c)(Ne.theme,[Ne.token,mt!=null?mt:{}],{salt:lt,override:mt}),Xt=Object(O.a)(xt,2),vt=Xt[0],qe=Xt[1],Re=Object(x.useMemo)(function(){return me.hashed===!1||it.hashed===!1||ie()===!1?"":qe},[qe,it.hashed,me.hashed]),Se=Object(x.useMemo)(function(){var Ve=Object(k.a)(Object(k.a)({},He.theme),{},{hashId:Re,hashed:me.hashed!==!1&&it.hashed!==!1&&ie()});return Object(J.jsx)(y.a,Object(k.a)(Object(k.a)({},He),{},{theme:Object(k.a)({},Ve),children:Object(J.jsx)(G.Provider,{value:Object(k.a)(Object(k.a)({},tt),{},{valueTypeMap:Le||(tt==null?void 0:tt.valueTypeMap),token:vt,theme:Ne.theme,hashed:me.hashed,hashId:Re}),children:Object(J.jsxs)(J.Fragment,{children:[fe&&Object(J.jsx)(W,{}),xe]})})}))},[fe,xe,Ue,Re,ze,tt,vt]);return fe?Object(J.jsx)(j.a,{value:{provider:function(){return new Map}},children:Se}):Se},te=function(me){var Z=me.needDeps,xe=me.dark,Ee=me.token,Le=Object(x.useContext)(G),we=Object(x.useContext)(y.a.ConfigContext),fe=we.locale,pe=we.theme,Ke=Object(C.a)(we,ee),Me=Z&&Le.hashId!==void 0&&Object.keys(me).sort().join("-")==="children-needDeps";if(Me)return Object(J.jsx)(J.Fragment,{children:me.children});var ze=function(){var Ne=xe!=null?xe:Le.dark;return Ne&&!Array.isArray(pe==null?void 0:pe.algorithm)?[F.a.darkAlgorithm,pe==null?void 0:pe.algorithm].filter(Boolean):Ne&&Array.isArray(pe==null?void 0:pe.algorithm)?[F.a.darkAlgorithm].concat(Object(m.a)((pe==null?void 0:pe.algorithm)||[])).filter(Boolean):pe==null?void 0:pe.algorithm},Ue=Object(k.a)(Object(k.a)({},Ke),{},{locale:fe||w.a,theme:Object(S.a)(Object(k.a)(Object(k.a)({},pe),{},{algorithm:ze()}))});return Object(J.jsx)(y.a,Object(k.a)(Object(k.a)({},Ue),{},{children:Object(J.jsx)(ne,Object(k.a)(Object(k.a)({},me),{},{token:Ee}))}))};function _e(){var ge=Object(x.useContext)(y.a.ConfigContext),me=ge.locale,Z=Object(x.useContext)(G),xe=Z.intl;return xe&&xe.locale!=="default"?xe||D.c:me!=null&&me.locale&&D.b[Object(D.a)(me.locale)]||D.c}G.displayName="ProProvider";var he=G,oe=G}).call(this,l("Q2Ig"))},maeH:function(ce,R,l){var E=l("tny8"),m=l("YfKC").f,O=Function.prototype,C=O.toString,k=/^\s*function ([^ (]*)/,A="name";E&&!(A in O)&&m(O,A,{configurable:!0,get:function(){try{return C.call(this).match(k)[1]}catch(S){return""}}})},mc0g:function(ce,R){function l(E){return function(m,O,C){for(var k=-1,A=Object(m),S=C(m),y=S.length;y--;){var w=S[E?y:++k];if(O(A[w],w,A)===!1)break}return m}}ce.exports=l},mcGr:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("2FZw").start,O=l("y9mK");E({target:"String",proto:!0,forced:O},{padStart:function(k){return m(this,k,arguments.length>1?arguments[1]:void 0)}})},md7G:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("U8pU"),m=l("JX7q");function O(C,k){if(k&&(Object(E.a)(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Object(m.a)(C)}},mdPL:function(ce,R,l){(function(E){var m=l("WFqU"),O=R&&!R.nodeType&&R,C=O&&typeof E=="object"&&E&&!E.nodeType&&E,k=C&&C.exports===O,A=k&&m.process,S=function(){try{var y=C&&C.require&&C.require("util").types;return y||A&&A.binding&&A.binding("util")}catch(w){}}();E.exports=S}).call(this,l("hOG+")(ce))},"mh/l":function(ce,R,l){"use strict";l.d(R,"b",function(){return He}),l.d(R,"c",function(){return Ne}),l.d(R,"d",function(){return it});var E=l("rePB"),m=l("wx14"),O=l("U8pU"),C=l("jN4g"),k=l("TSYQ"),A=l.n(k),S=l("q1tI"),y=l.n(S);function w(lt){return!!(lt.addonBefore||lt.addonAfter)}function x(lt){return!!(lt.prefix||lt.suffix||lt.allowClear)}function T(lt,Et,tt,mt){if(!!tt){var xt=Et;if(Et.type==="click"){var Xt=lt.cloneNode(!0);xt=Object.create(Et,{target:{value:Xt},currentTarget:{value:Xt}}),Xt.value="",tt(xt);return}if(mt!==void 0){xt=Object.create(Et,{target:{value:lt},currentTarget:{value:lt}}),lt.value=mt,tt(xt);return}tt(xt)}}function j(lt,Et){if(!!lt){lt.focus(Et);var tt=Et||{},mt=tt.cursor;if(mt){var xt=lt.value.length;switch(mt){case"start":lt.setSelectionRange(0,0);break;case"end":lt.setSelectionRange(xt,xt);break;default:lt.setSelectionRange(0,xt)}}}}function D(lt){return typeof lt=="undefined"||lt===null?"":String(lt)}var N=function(Et){var tt=Et.inputElement,mt=Et.prefixCls,xt=Et.prefix,Xt=Et.suffix,vt=Et.addonBefore,qe=Et.addonAfter,Re=Et.className,Se=Et.style,Ve=Et.affixWrapperClassName,Ge=Et.groupClassName,_t=Et.wrapperClassName,bt=Et.disabled,gt=Et.readOnly,at=Et.focused,ft=Et.triggerFocus,Fe=Et.allowClear,Te=Et.value,ut=Et.handleReset,le=Et.hidden,$e=Object(S.useRef)(null),Qe=function(bn){var Bn;(Bn=$e.current)!==null&&Bn!==void 0&&Bn.contains(bn.target)&&(ft==null||ft())},Tt=function(){var bn;if(!Fe)return null;var Bn=!bt&&!gt&&Te,Tn="".concat(mt,"-clear-icon"),Tr=Object(O.a)(Fe)==="object"&&Fe!==null&&Fe!==void 0&&Fe.clearIcon?Fe.clearIcon:"\u2716";return y.a.createElement("span",{onClick:ut,onMouseDown:function(Wr){return Wr.preventDefault()},className:A()(Tn,(bn={},Object(E.a)(bn,"".concat(Tn,"-hidden"),!Bn),Object(E.a)(bn,"".concat(Tn,"-has-suffix"),!!Xt),bn)),role:"button",tabIndex:-1},Tr)},Ot=Object(S.cloneElement)(tt,{value:Te,hidden:le});if(x(Et)){var Ut,At="".concat(mt,"-affix-wrapper"),Pt=A()(At,(Ut={},Object(E.a)(Ut,"".concat(At,"-disabled"),bt),Object(E.a)(Ut,"".concat(At,"-focused"),at),Object(E.a)(Ut,"".concat(At,"-readonly"),gt),Object(E.a)(Ut,"".concat(At,"-input-with-clear-btn"),Xt&&Fe&&Te),Ut),!w(Et)&&Re,Ve),Dt=(Xt||Fe)&&y.a.createElement("span",{className:"".concat(mt,"-suffix")},Tt(),Xt);Ot=y.a.createElement("span",{className:Pt,style:Se,hidden:!w(Et)&&le,onClick:Qe,ref:$e},xt&&y.a.createElement("span",{className:"".concat(mt,"-prefix")},xt),Object(S.cloneElement)(tt,{style:null,value:Te,hidden:null}),Dt)}if(w(Et)){var Qt="".concat(mt,"-group"),cn="".concat(Qt,"-addon"),$n=A()("".concat(mt,"-wrapper"),Qt,_t),hn=A()("".concat(mt,"-group-wrapper"),Re,Ge);return y.a.createElement("span",{className:hn,style:Se,hidden:le},y.a.createElement("span",{className:$n},vt&&y.a.createElement("span",{className:cn},vt),Object(S.cloneElement)(Ot,{style:null,hidden:null}),qe&&y.a.createElement("span",{className:cn},qe)))}return Ot},F=N,B=l("KQm4"),U=l("ODXe"),J=l("Ff2n"),$=l("VTBJ");function X(lt,Et){var tt=Object($.a)({},lt);return Array.isArray(Et)&&Et.forEach(function(mt){delete tt[mt]}),tt}function ee(lt){var Et=S.useRef();Et.current=lt;var tt=S.useCallback(function(){for(var mt,xt=arguments.length,Xt=new Array(xt),vt=0;vt<xt;vt++)Xt[vt]=arguments[vt];return(mt=Et.current)===null||mt===void 0?void 0:mt.call.apply(mt,[Et].concat(Xt))},[]);return tt}function ie(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var G=ie()?S.useLayoutEffect:S.useEffect,Q=function(Et,tt){var mt=S.useRef(!0);G(function(){return Et(mt.current)},tt),G(function(){return mt.current=!1,function(){mt.current=!0}},[])},W=function(Et,tt){Q(function(mt){if(!mt)return Et()},tt)},ne=Q;function te(lt){var Et=S.useRef(!1),tt=S.useState(lt),mt=Object(U.a)(tt,2),xt=mt[0],Xt=mt[1];S.useEffect(function(){return Et.current=!1,function(){Et.current=!0}},[]);function vt(qe,Re){Re&&Et.current||Xt(qe)}return[xt,vt]}function _e(lt){return lt!==void 0}function he(lt,Et){var tt=Et||{},mt=tt.defaultValue,xt=tt.value,Xt=tt.onChange,vt=tt.postState,qe=te(function(){return _e(xt)?xt:_e(mt)?typeof mt=="function"?mt():mt:typeof lt=="function"?lt():lt}),Re=Object(U.a)(qe,2),Se=Re[0],Ve=Re[1],Ge=xt!==void 0?xt:Se,_t=vt?vt(Ge):Ge,bt=ee(Xt),gt=te([Ge]),at=Object(U.a)(gt,2),ft=at[0],Fe=at[1];W(function(){var ut=ft[0];Se!==ut&&bt(Se,ut)},[ft]),W(function(){_e(xt)||Ve(xt)},[xt]);var Te=ee(function(ut,le){Ve(ut,le),Fe([Ge],le)});return[_t,Te]}var oe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],ge=Object(S.forwardRef)(function(lt,Et){var tt=lt.autoComplete,mt=lt.onChange,xt=lt.onFocus,Xt=lt.onBlur,vt=lt.onPressEnter,qe=lt.onKeyDown,Re=lt.prefixCls,Se=Re===void 0?"rc-input":Re,Ve=lt.disabled,Ge=lt.htmlSize,_t=lt.className,bt=lt.maxLength,gt=lt.suffix,at=lt.showCount,ft=lt.type,Fe=ft===void 0?"text":ft,Te=lt.inputClassName,ut=Object(J.a)(lt,oe),le=he(lt.defaultValue,{value:lt.value}),$e=Object(U.a)(le,2),Qe=$e[0],Tt=$e[1],Ot=Object(S.useState)(!1),Ut=Object(U.a)(Ot,2),At=Ut[0],Pt=Ut[1],Dt=Object(S.useRef)(null),Qt=function(Sr){Dt.current&&j(Dt.current,Sr)};Object(S.useImperativeHandle)(Et,function(){return{focus:Qt,blur:function(){var Sr;(Sr=Dt.current)===null||Sr===void 0||Sr.blur()},setSelectionRange:function(Sr,Wr,br){var Wn;(Wn=Dt.current)===null||Wn===void 0||Wn.setSelectionRange(Sr,Wr,br)},select:function(){var Sr;(Sr=Dt.current)===null||Sr===void 0||Sr.select()},input:Dt.current}}),Object(S.useEffect)(function(){Pt(function(Tr){return Tr&&Ve?!1:Tr})},[Ve]);var cn=function(Sr){lt.value===void 0&&Tt(Sr.target.value),Dt.current&&T(Dt.current,Sr,mt)},$n=function(Sr){vt&&Sr.key==="Enter"&&vt(Sr),qe==null||qe(Sr)},hn=function(Sr){Pt(!0),xt==null||xt(Sr)},_n=function(Sr){Pt(!1),Xt==null||Xt(Sr)},bn=function(Sr){Tt(""),Qt(),Dt.current&&T(Dt.current,Sr,mt)},Bn=function(){var Sr=X(lt,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]);return y.a.createElement("input",Object(m.a)({autoComplete:tt},Sr,{onChange:cn,onFocus:hn,onBlur:_n,onKeyDown:$n,className:A()(Se,Object(E.a)({},"".concat(Se,"-disabled"),Ve),Te,!w(lt)&&!x(lt)&&_t),ref:Dt,size:Ge,type:Fe}))},Tn=function(){var Sr=Number(bt)>0;if(gt||at){var Wr=D(Qe),br=Object(B.a)(Wr).length,Wn=Object(O.a)(at)==="object"?at.formatter({value:Wr,count:br,maxLength:bt}):"".concat(br).concat(Sr?" / ".concat(bt):"");return y.a.createElement(y.a.Fragment,null,!!at&&y.a.createElement("span",{className:A()("".concat(Se,"-show-count-suffix"),Object(E.a)({},"".concat(Se,"-show-count-has-suffix"),!!gt))},Wn),gt)}return null};return y.a.createElement(F,Object(m.a)({},ut,{prefixCls:Se,className:_t,inputElement:Bn(),handleReset:bn,value:D(Qe),focused:At,triggerFocus:Qt,suffix:Tn(),disabled:Ve}))}),me=ge,Z=me,xe=l("Twdv"),Ee=l("H84U"),Le=l("caoh"),we=l("3Nzz"),fe=l("ihLV"),pe=l("+f9I"),Ke=l("ATYA"),Me=l("JS9R");function ze(lt){return!!(lt.prefix||lt.suffix||lt.allowClear)}var Ue=function(lt,Et){var tt={};for(var mt in lt)Object.prototype.hasOwnProperty.call(lt,mt)&&Et.indexOf(mt)<0&&(tt[mt]=lt[mt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,mt=Object.getOwnPropertySymbols(lt);xt<mt.length;xt++)Et.indexOf(mt[xt])<0&&Object.prototype.propertyIsEnumerable.call(lt,mt[xt])&&(tt[mt[xt]]=lt[mt[xt]]);return tt};function He(lt){return typeof lt=="undefined"||lt===null?"":String(lt)}function Ne(lt,Et,tt,mt){if(!!tt){var xt=Et;if(Et.type==="click"){var Xt=lt.cloneNode(!0);xt=Object.create(Et,{target:{value:Xt},currentTarget:{value:Xt}}),Xt.value="",tt(xt);return}if(mt!==void 0){xt=Object.create(Et,{target:{value:lt},currentTarget:{value:lt}}),lt.value=mt,tt(xt);return}tt(xt)}}function it(lt,Et){if(!!lt){lt.focus(Et);var tt=Et||{},mt=tt.cursor;if(mt){var xt=lt.value.length;switch(mt){case"start":lt.setSelectionRange(0,0);break;case"end":lt.setSelectionRange(xt,xt);break;default:lt.setSelectionRange(0,xt);break}}}}var Xe=Object(S.forwardRef)(function(lt,Et){var tt,mt,xt,Xt=lt.prefixCls,vt=lt.bordered,qe=vt===void 0?!0:vt,Re=lt.status,Se=lt.size,Ve=lt.disabled,Ge=lt.onBlur,_t=lt.onFocus,bt=lt.suffix,gt=lt.allowClear,at=lt.addonAfter,ft=lt.addonBefore,Fe=lt.className,Te=lt.onChange,ut=Ue(lt,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),le=y.a.useContext(Ee.b),$e=le.getPrefixCls,Qe=le.direction,Tt=le.input,Ot=$e("input",Xt),Ut=Object(S.useRef)(null),At=Object(pe.c)(Ot,Qe),Pt=At.compactSize,Dt=At.compactItemClassnames,Qt=y.a.useContext(we.b),cn=Pt||Se||Qt,$n=y.a.useContext(Le.b),hn=Ve!=null?Ve:$n,_n=Object(S.useContext)(fe.b),bn=_n.status,Bn=_n.hasFeedback,Tn=_n.feedbackIcon,Tr=Object(Ke.a)(bn,Re),Sr=ze(lt)||!!Bn,Wr=Object(S.useRef)(Sr);Object(S.useEffect)(function(){var zt;Sr&&!Wr.current,Wr.current=Sr},[Sr]);var br=Object(Me.a)(Ut,!0),Wn=function(Bt){br(),Ge==null||Ge(Bt)},gr=function(Bt){br(),_t==null||_t(Bt)},na=function(Bt){br(),Te==null||Te(Bt)},jn=(Bn||bt)&&y.a.createElement(y.a.Fragment,null,bt,Bn&&Tn),un;return Object(O.a)(gt)==="object"&&(gt==null?void 0:gt.clearIcon)?un=gt:gt&&(un={clearIcon:y.a.createElement(C.a,null)}),y.a.createElement(Z,Object(m.a)({ref:Object(xe.a)(Et,Ut),prefixCls:Ot,autoComplete:Tt==null?void 0:Tt.autoComplete},ut,{disabled:hn||void 0,onBlur:Wn,onFocus:gr,suffix:jn,allowClear:un,className:A()(Fe,Dt),onChange:na,addonAfter:at&&y.a.createElement(pe.a,null,y.a.createElement(fe.e,{override:!0,status:!0},at)),addonBefore:ft&&y.a.createElement(pe.a,null,y.a.createElement(fe.e,{override:!0,status:!0},ft)),inputClassName:A()((tt={},Object(E.a)(tt,"".concat(Ot,"-sm"),cn==="small"),Object(E.a)(tt,"".concat(Ot,"-lg"),cn==="large"),Object(E.a)(tt,"".concat(Ot,"-rtl"),Qe==="rtl"),Object(E.a)(tt,"".concat(Ot,"-borderless"),!qe),tt),!Sr&&Object(Ke.b)(Ot,Tr)),affixWrapperClassName:A()((mt={},Object(E.a)(mt,"".concat(Ot,"-affix-wrapper-sm"),cn==="small"),Object(E.a)(mt,"".concat(Ot,"-affix-wrapper-lg"),cn==="large"),Object(E.a)(mt,"".concat(Ot,"-affix-wrapper-rtl"),Qe==="rtl"),Object(E.a)(mt,"".concat(Ot,"-affix-wrapper-borderless"),!qe),mt),Object(Ke.b)("".concat(Ot,"-affix-wrapper"),Tr,Bn)),wrapperClassName:A()(Object(E.a)({},"".concat(Ot,"-group-rtl"),Qe==="rtl")),groupClassName:A()((xt={},Object(E.a)(xt,"".concat(Ot,"-group-wrapper-sm"),cn==="small"),Object(E.a)(xt,"".concat(Ot,"-group-wrapper-lg"),cn==="large"),Object(E.a)(xt,"".concat(Ot,"-group-wrapper-rtl"),Qe==="rtl"),xt),Object(Ke.b)("".concat(Ot,"-group-wrapper"),Tr,Bn))}))}),ht=R.a=Xe},miYZ:function(ce,R,l){"use strict";l.r(R);var E=l("EFp3"),m=l.n(E),O=l("bXwC"),C=l.n(O)},mng9:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BlockSwatches=void 0;var E=l("q1tI"),m=y(E),O=l("/FUP"),C=y(O),k=l("3WF5"),A=y(k),S=l("UtML");function y(x){return x&&x.__esModule?x:{default:x}}var w=R.BlockSwatches=function(T){var j=T.colors,D=T.onClick,N=T.onSwatchHover,F=(0,C.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return m.default.createElement("div",{style:F.swatches},(0,A.default)(j,function(B){return m.default.createElement(S.Swatch,{key:B,color:B,style:F.swatch,onClick:D,onHover:N,focusStyle:{boxShadow:"0 0 4px "+B}})}),m.default.createElement("div",{style:F.clear}))};R.default=w},mr32:function(ce,R,l){"use strict";var E=l("rePB"),m=l("wx14"),O=l("ODXe"),C=l("4i/N"),k=l("TSYQ"),A=l.n(k),S=l("Ya77"),y=l("q1tI"),w=l("H84U"),x=l("09Wf"),T=l("g0mS"),j=function(ee,ie){var G={};for(var Q in ee)Object.prototype.hasOwnProperty.call(ee,Q)&&ie.indexOf(Q)<0&&(G[Q]=ee[Q]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,Q=Object.getOwnPropertySymbols(ee);W<Q.length;W++)ie.indexOf(Q[W])<0&&Object.prototype.propertyIsEnumerable.call(ee,Q[W])&&(G[Q[W]]=ee[Q[W]]);return G},D=function(ie){var G,Q=ie.prefixCls,W=ie.className,ne=ie.checked,te=ie.onChange,_e=ie.onClick,he=j(ie,["prefixCls","className","checked","onChange","onClick"]),oe=y.useContext(w.b),ge=oe.getPrefixCls,me=function(Le){te==null||te(!ne),_e==null||_e(Le)},Z=ge("tag",Q),xe=A()(Z,(G={},Object(E.a)(G,"".concat(Z,"-checkable"),!0),Object(E.a)(G,"".concat(Z,"-checkable-checked"),ne),G),W);return y.createElement("span",Object(m.a)({},he,{className:xe,onClick:me}))},N=D,F=function(ee,ie){var G={};for(var Q in ee)Object.prototype.hasOwnProperty.call(ee,Q)&&ie.indexOf(Q)<0&&(G[Q]=ee[Q]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,Q=Object.getOwnPropertySymbols(ee);W<Q.length;W++)ie.indexOf(Q[W])<0&&Object.prototype.propertyIsEnumerable.call(ee,Q[W])&&(G[Q[W]]=ee[Q[W]]);return G},B=new RegExp("^(".concat(x.a.join("|"),")(-inverse)?$")),U=new RegExp("^(".concat(x.b.join("|"),")$")),J=function(ie,G){var Q,W=ie.prefixCls,ne=ie.className,te=ie.style,_e=ie.children,he=ie.icon,oe=ie.color,ge=ie.onClose,me=ie.closeIcon,Z=ie.closable,xe=Z===void 0?!1:Z,Ee=F(ie,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),Le=y.useContext(w.b),we=Le.getPrefixCls,fe=Le.direction,pe=y.useState(!0),Ke=Object(O.a)(pe,2),Me=Ke[0],ze=Ke[1];y.useEffect(function(){"visible"in Ee&&ze(Ee.visible)},[Ee.visible]);var Ue=function(){return oe?B.test(oe)||U.test(oe):!1},He=Object(m.a)({backgroundColor:oe&&!Ue()?oe:void 0},te),Ne=Ue(),it=we("tag",W),Xe=A()(it,(Q={},Object(E.a)(Q,"".concat(it,"-").concat(oe),Ne),Object(E.a)(Q,"".concat(it,"-has-color"),oe&&!Ne),Object(E.a)(Q,"".concat(it,"-hidden"),!Me),Object(E.a)(Q,"".concat(it,"-rtl"),fe==="rtl"),Q),ne),ht=function(qe){qe.stopPropagation(),ge==null||ge(qe),!qe.defaultPrevented&&("visible"in Ee||ze(!1))},lt=function(){return xe?me?y.createElement("span",{className:"".concat(it,"-close-icon"),onClick:ht},me):y.createElement(C.a,{className:"".concat(it,"-close-icon"),onClick:ht}):null},Et="onClick"in Ee||_e&&_e.type==="a",tt=Object(S.a)(Ee,["visible"]),mt=he||null,xt=mt?y.createElement(y.Fragment,null,mt,y.createElement("span",null,_e)):_e,Xt=y.createElement("span",Object(m.a)({},tt,{ref:G,className:Xe,style:He}),xt,lt());return Et?y.createElement(T.a,null,Xt):Xt},$=y.forwardRef(J);$.CheckableTag=N;var X=R.a=$},msJK:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.processStyleName=void 0,R.createMarkupForStyles=Q;var E=l("lZ34"),m=T(E),O=l("0mDd"),C=T(O),k=l("+8Ar"),A=T(k),S=l("rWXM"),y=T(S),w=l("2mcs"),x=T(w);function T(W){return W&&W.__esModule?W:{default:W}}var j=R.processStyleName=(0,y.default)(A.default);if(!1)var D,N,F,B,U,J,$,X,ee,ie,G;function Q(W,ne){var te="";for(var _e in W){var he=_e.indexOf("--")===0;if(!!W.hasOwnProperty(_e)&&_e!=="label"){var oe=W[_e];oe!=null&&(he?te+=_e+":"+oe+";":(te+=j(_e)+":",te+=(0,C.default)(_e,oe,ne)+";"))}}return te||null}},mtLc:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});function E(O,C){for(var k=0;k<C.length;k++){var A=C[k];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(O,A.key,A)}}function m(O,C,k){return C&&E(O.prototype,C),k&&E(O,k),Object.defineProperty(O,"prototype",{writable:!1}),O}},"mv/X":function(ce,R,l){var E=l("ljhN"),m=l("MMmD"),O=l("wJg7"),C=l("GoyQ");function k(A,S,y){if(!C(y))return!1;var w=typeof S;return(w=="number"?m(y)&&O(S,y.length):w=="string"&&S in y)?E(y[S],A):!1}ce.exports=k},mwIZ:function(ce,R,l){var E=l("ZWtO");function m(O,C,k){var A=O==null?void 0:E(O,C);return A===void 0?k:A}ce.exports=m},myn2:function(ce,R,l){"use strict";var E=function(){};ce.exports=E},n2J3:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.unmanaged=void 0;var E=l("xfSm"),m=l("GXnB"),O=l("Ztfv");function C(){return function(k,A,S){var y=new m.Metadata(E.UNMANAGED_TAG,!0);O.tagParameter(k,A,S,y)}}R.unmanaged=C},n2rz:function(ce,R,l){"use strict";var E=l("bfL6").default,m=typeof BigInt64Array!="undefined";ce.exports=function O(C,k){if(C===k)return!0;if(C&&k&&typeof C=="object"&&typeof k=="object"){if(C.constructor!==k.constructor)return!1;var A,S,y;if(Array.isArray(C)){if(A=C.length,A!=k.length)return!1;for(S=A;S--!=0;)if(!O(C[S],k[S]))return!1;return!0}if(C instanceof Map&&k instanceof Map){if(C.size!==k.size)return!1;var w=E(C.entries()),x;try{for(w.s();!(x=w.n()).done;)if(S=x.value,!k.has(S[0]))return!1}catch(B){w.e(B)}finally{w.f()}var T=E(C.entries()),j;try{for(T.s();!(j=T.n()).done;)if(S=j.value,!O(S[1],k.get(S[0])))return!1}catch(B){T.e(B)}finally{T.f()}return!0}if(C instanceof Set&&k instanceof Set){if(C.size!==k.size)return!1;var D=E(C.entries()),N;try{for(D.s();!(N=D.n()).done;)if(S=N.value,!k.has(S[0]))return!1}catch(B){D.e(B)}finally{D.f()}return!0}if(ArrayBuffer.isView(C)&&ArrayBuffer.isView(k)){if(A=C.length,A!=k.length)return!1;for(S=A;S--!=0;)if(C[S]!==k[S])return!1;return!0}if(C.constructor===RegExp)return C.source===k.source&&C.flags===k.flags;if(C.valueOf!==Object.prototype.valueOf)return C.valueOf()===k.valueOf();if(C.toString!==Object.prototype.toString)return C.toString()===k.toString();if(y=Object.keys(C),A=y.length,A!==Object.keys(k).length)return!1;for(S=A;S--!=0;)if(!Object.prototype.hasOwnProperty.call(k,y[S]))return!1;for(S=A;S--!=0;){var F=y[S];if(!O(C[F],k[F]))return!1}return!0}return C!==C&&k!==k}},n7Qr:function(ce,R,l){var E=l("I65O");E("match")},nCqj:function(ce,R,l){var E=l("1nhP");ce.exports=function(m,O){var C=E(m);if(C%O)throw RangeError("Wrong offset");return C}},nDqD:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("MVys"),O=l("ZSlt"),C=l("f1E4"),k=l("bIKR"),A=l("oa35"),S=l("/dTS"),y=O.ArrayBuffer,w=O.DataView,x=y.prototype.slice,T=m(function(){return!new y(2).slice(1,void 0).byteLength});E({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:T},{slice:function(D,N){if(x!==void 0&&N===void 0)return x.call(C(this),D);for(var F=C(this).byteLength,B=k(D,F),U=k(N===void 0?F:N,F),J=new(S(this,y))(A(U-B)),$=new w(this),X=new w(J),ee=0;B<U;)X.setUint8(ee++,$.getUint8(B++));return J}})},nEGZ:function(ce,R,l){var E=l("I65O");E("species")},nFTT:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};R.default=E},nFn1:function(ce,R,l){var E=l("ukPv");ce.exports=E},nIWy:function(ce,R,l){ce.exports={leftAvatar:"leftAvatar___jXS-t"}},nKUr:function(ce,R,l){"use strict";ce.exports=l("0x2o")},nMuc:function(ce,R,l){var E=l("tSXo"),m=l("Un+d"),O=l("2kyd"),C=O("species");ce.exports=function(k,A){var S;return m(k)&&(S=k.constructor,typeof S=="function"&&(S===Array||m(S.prototype))?S=void 0:E(S)&&(S=S[C],S===null&&(S=void 0))),new(S===void 0?Array:S)(A===0?0:A)}},nRAU:function(ce,R,l){"use strict";var E=l("5NDa"),m=l("5rEg"),O=l("qLMh"),C=l("k1fw"),k=l("9og8"),A=l("tJVT"),S=l("y8nQ"),y=l("Vl3Y"),w=l("q1tI"),x=l.n(w),T=l("Aw1E"),j=l("LvDl"),D=l.n(j),N=l("L+An"),F=l.n(N),B=l("Tiei"),U=l("nKUr"),J=l.n(U),$=y.a.Item,X=function(ie,G){var Q=ie.initialValues,W=y.a.useForm(),ne=Object(A.a)(W,1),te=ne[0],_e=["blackList","whiteList","ruleList"],he=function(){var oe=Object(k.a)(Object(O.a)().mark(function ge(){var me,Z;return Object(O.a)().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return Ee.next=2,te.validateFields();case 2:return me=Ee.sent,Z=Object.keys(me).reduce(function(Le,we){var fe=me[we];return Object(j.isString)(fe)&&_e.includes(we)?Le[we]=fe.split(","):Le[we]=fe,Le},{}),Ee.abrupt("return",Object(C.a)({},Z));case 5:case"end":return Ee.stop()}},ge)}));return function(){return oe.apply(this,arguments)}}();return Object(w.useEffect)(function(){if(te.resetFields(),!!Q){var oe=Object.keys(Q).reduce(function(ge,me){var Z=Q[me];return Array.isArray(Z)&&_e.includes(me)?ge[me]=Z.join(","):ge[me]=Z,ge},{});te.setFieldsValue(Object(C.a)({},oe))}},[Q]),Object(w.useImperativeHandle)(G,function(){return{getFormValidateFields:he}}),Object(U.jsx)(U.Fragment,{children:Object(U.jsxs)(y.a,Object(C.a)(Object(C.a)({},T.a),{},{form:te,layout:"vertical",className:F.a.form,children:[Object(U.jsx)($,{name:"blackList",label:"\u9ED1\u540D\u5355",children:Object(U.jsx)(m.a,{placeholder:"\u591A\u4E2A\u7EF4\u5EA6\u503C\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"})}),Object(U.jsx)($,{name:"whiteList",label:"\u767D\u540D\u5355",children:Object(U.jsx)(m.a,{placeholder:"\u591A\u4E2A\u7EF4\u5EA6\u503C\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"})}),Object(U.jsx)($,{name:"ruleList",label:"\u8FC7\u6EE4\u89C4\u5219",children:Object(U.jsx)(B.a,{height:"150px"})})]}))})};R.a=Object(w.forwardRef)(X)},nZC5:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("i7kj"),C=l("cTDu"),k=l("cT1L"),A=l("YfKC");m&&E({target:"Object",proto:!0,forced:O},{__defineSetter__:function(y,w){A.f(C(this),y,{set:k(w),enumerable:!0,configurable:!0})}})},ncmp:function(ce,R,l){"use strict";var E=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=E(l("WmZF")),O=m.default;R.default=O},nhC9:function(ce,R,l){"use strict";var E=l("Nr3r");R.a=E.a},nhqZ:function(ce,R,l){"use strict";l.r(R),l.d(R,"defaultToken",function(){return k}),l.d(R,"hashCode",function(){return A}),l.d(R,"emptyTheme",function(){return S}),l.d(R,"token",function(){return y}),l.d(R,"useToken",function(){return w});var E=l("VTBJ"),m=l("EoNY"),O=l("gdfu"),C,k={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911",colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff7875",colorInfo:"#1677ff",colorTextBase:"#000",colorBgBase:"#fff",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInQuint:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:4,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,"blue-1":"#e6f4ff","blue-2":"#bae0ff","blue-3":"#91caff","blue-4":"#69b1ff","blue-5":"#4096ff","blue-6":"#1677ff","blue-7":"#0958d9","blue-8":"#003eb3","blue-9":"#002c8c","blue-10":"#001d66","purple-1":"#f9f0ff","purple-2":"#efdbff","purple-3":"#d3adf7","purple-4":"#b37feb","purple-5":"#9254de","purple-6":"#722ed1","purple-7":"#531dab","purple-8":"#391085","purple-9":"#22075e","purple-10":"#120338","cyan-1":"#e6fffb","cyan-2":"#b5f5ec","cyan-3":"#87e8de","cyan-4":"#5cdbd3","cyan-5":"#36cfc9","cyan-6":"#13c2c2","cyan-7":"#08979c","cyan-8":"#006d75","cyan-9":"#00474f","cyan-10":"#002329","green-1":"#f6ffed","green-2":"#d9f7be","green-3":"#b7eb8f","green-4":"#95de64","green-5":"#73d13d","green-6":"#52c41a","green-7":"#389e0d","green-8":"#237804","green-9":"#135200","green-10":"#092b00","magenta-1":"#fff0f6","magenta-2":"#ffd6e7","magenta-3":"#ffadd2","magenta-4":"#ff85c0","magenta-5":"#f759ab","magenta-6":"#eb2f96","magenta-7":"#c41d7f","magenta-8":"#9e1068","magenta-9":"#780650","magenta-10":"#520339","pink-1":"#fff0f6","pink-2":"#ffd6e7","pink-3":"#ffadd2","pink-4":"#ff85c0","pink-5":"#f759ab","pink-6":"#eb2f96","pink-7":"#c41d7f","pink-8":"#9e1068","pink-9":"#780650","pink-10":"#520339","red-1":"#fff1f0","red-2":"#ffccc7","red-3":"#ffa39e","red-4":"#ff7875","red-5":"#ff4d4f","red-6":"#f5222d","red-7":"#cf1322","red-8":"#a8071a","red-9":"#820014","red-10":"#5c0011","orange-1":"#fff7e6","orange-2":"#ffe7ba","orange-3":"#ffd591","orange-4":"#ffc069","orange-5":"#ffa940","orange-6":"#fa8c16","orange-7":"#d46b08","orange-8":"#ad4e00","orange-9":"#873800","orange-10":"#612500","yellow-1":"#feffe6","yellow-2":"#ffffb8","yellow-3":"#fffb8f","yellow-4":"#fff566","yellow-5":"#ffec3d","yellow-6":"#fadb14","yellow-7":"#d4b106","yellow-8":"#ad8b00","yellow-9":"#876800","yellow-10":"#614700","volcano-1":"#fff2e8","volcano-2":"#ffd8bf","volcano-3":"#ffbb96","volcano-4":"#ff9c6e","volcano-5":"#ff7a45","volcano-6":"#fa541c","volcano-7":"#d4380d","volcano-8":"#ad2102","volcano-9":"#871400","volcano-10":"#610b00","geekblue-1":"#f0f5ff","geekblue-2":"#d6e4ff","geekblue-3":"#adc6ff","geekblue-4":"#85a5ff","geekblue-5":"#597ef7","geekblue-6":"#2f54eb","geekblue-7":"#1d39c4","geekblue-8":"#10239e","geekblue-9":"#061178","geekblue-10":"#030852","gold-1":"#fffbe6","gold-2":"#fff1b8","gold-3":"#ffe58f","gold-4":"#ffd666","gold-5":"#ffc53d","gold-6":"#faad14","gold-7":"#d48806","gold-8":"#ad6800","gold-9":"#874d00","gold-10":"#613400","lime-1":"#fcffe6","lime-2":"#f4ffb8","lime-3":"#eaff8f","lime-4":"#d3f261","lime-5":"#bae637","lime-6":"#a0d911","lime-7":"#7cb305","lime-8":"#5b8c00","lime-9":"#3f6600","lime-10":"#254000",colorText:"rgba(0, 0, 0, 0.88)",colorTextSecondary:"rgba(0, 0, 0, 0.65)",colorTextTertiary:"rgba(0, 0, 0, 0.45)",colorTextQuaternary:"rgba(0, 0, 0, 0.25)",colorFill:"rgba(0, 0, 0, 0.15)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorFillQuaternary:"rgba(0, 0, 0, 0.02)",colorBgLayout:"hsl(220,23%,97%)",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",colorBgSpotlight:"rgba(0, 0, 0, 0.85)",colorBorder:"#d9d9d9",colorBorderSecondary:"#f0f0f0",colorPrimaryBg:"#e6f4ff",colorPrimaryBgHover:"#bae0ff",colorPrimaryBorder:"#91caff",colorPrimaryBorderHover:"#69b1ff",colorPrimaryHover:"#4096ff",colorPrimaryActive:"#0958d9",colorPrimaryTextHover:"#4096ff",colorPrimaryText:"#1677ff",colorPrimaryTextActive:"#0958d9",colorSuccessBg:"#f6ffed",colorSuccessBgHover:"#d9f7be",colorSuccessBorder:"#b7eb8f",colorSuccessBorderHover:"#95de64",colorSuccessHover:"#95de64",colorSuccessActive:"#389e0d",colorSuccessTextHover:"#73d13d",colorSuccessText:"#52c41a",colorSuccessTextActive:"#389e0d",colorErrorBg:"#fff2f0",colorErrorBgHover:"#fff1f0",colorErrorBorder:"#ffccc7",colorErrorBorderHover:"#ffa39e",colorErrorHover:"#ffa39e",colorErrorActive:"#d9363e",colorErrorTextHover:"#ff7875",colorErrorText:"#ff4d4f",colorErrorTextActive:"#d9363e",colorWarningBg:"#fffbe6",colorWarningBgHover:"#fff1b8",colorWarningBorder:"#ffe58f",colorWarningBorderHover:"#ffd666",colorWarningHover:"#ffd666",colorWarningActive:"#d48806",colorWarningTextHover:"#ffc53d",colorWarningText:"#faad14",colorWarningTextActive:"#d48806",colorInfoBg:"#e6f4ff",colorInfoBgHover:"#bae0ff",colorInfoBorder:"#91caff",colorInfoBorderHover:"#69b1ff",colorInfoHover:"#69b1ff",colorInfoActive:"#0958d9",colorInfoTextHover:"#4096ff",colorInfoText:"#1677ff",colorInfoTextActive:"#0958d9",colorBgMask:"rgba(0, 0, 0, 0.45)",colorWhite:"#fff",sizeXXL:48,sizeXL:32,sizeLG:24,sizeMD:20,sizeMS:16,size:16,sizeSM:12,sizeXS:8,sizeXXS:4,controlHeightSM:24,controlHeightXS:16,controlHeightLG:40,motionDurationFast:"0.1s",motionDurationMid:"0.2s",motionDurationSlow:"0.3s",fontSizes:[12,14,16,20,24,30,38,46,56,68],lineHeights:[1.6666666666666667,1.5714285714285714,1.5,1.4,1.3333333333333333,1.2666666666666666,1.2105263157894737,1.173913043478261,1.1428571428571428,1.1176470588235294],lineWidthBold:2,borderRadiusXS:1,borderRadiusSM:4,borderRadiusLG:8,borderRadiusOuter:4,colorLink:"#1677ff",colorLinkHover:"#69b1ff",colorLinkActive:"#0958d9",colorFillContent:"rgba(0, 0, 0, 0.06)",colorFillContentHover:"rgba(0, 0, 0, 0.15)",colorFillAlter:"rgba(0, 0, 0, 0.02)",colorBgContainerDisabled:"rgba(0, 0, 0, 0.04)",colorBorderBg:"#ffffff",colorSplit:"rgba(5, 5, 5, 0.06)",colorTextPlaceholder:"rgba(0, 0, 0, 0.25)",colorTextDisabled:"rgba(0, 0, 0, 0.25)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLabel:"rgba(0, 0, 0, 0.65)",colorTextDescription:"rgba(0, 0, 0, 0.45)",colorTextLightSolid:"#fff",colorHighlight:"#ff7875",colorBgTextHover:"rgba(0, 0, 0, 0.06)",colorBgTextActive:"rgba(0, 0, 0, 0.15)",colorIcon:"rgba(0, 0, 0, 0.45)",colorIconHover:"rgba(0, 0, 0, 0.88)",colorErrorOutline:"rgba(255, 38, 5, 0.06)",colorWarningOutline:"rgba(255, 215, 5, 0.1)",fontSizeSM:12,fontSizeLG:16,fontSizeXL:20,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,fontSizeIcon:12,lineHeight:1.5714285714285714,lineHeightLG:1.5,lineHeightSM:1.6666666666666667,lineHeightHeading1:1.2105263157894737,lineHeightHeading2:1.2666666666666666,lineHeightHeading3:1.3333333333333333,lineHeightHeading4:1.4,lineHeightHeading5:1.5,controlOutlineWidth:2,controlInteractiveSize:16,controlItemBgHover:"rgba(0, 0, 0, 0.04)",controlItemBgActive:"#e6f4ff",controlItemBgActiveHover:"#bae0ff",controlItemBgActiveDisabled:"rgba(0, 0, 0, 0.15)",controlTmpOutline:"rgba(0, 0, 0, 0.02)",controlOutline:"rgba(5, 145, 255, 0.1)",fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:4,paddingXS:8,paddingSM:12,padding:16,paddingMD:20,paddingLG:24,paddingXL:32,paddingContentHorizontalLG:24,paddingContentVerticalLG:16,paddingContentHorizontal:16,paddingContentVertical:12,paddingContentHorizontalSM:16,paddingContentVerticalSM:8,marginXXS:4,marginXS:8,marginSM:12,margin:16,marginMD:20,marginLG:24,marginXL:32,marginXXL:48,boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)",boxShadowSecondary:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",screenXS:480,screenXSMin:480,screenXSMax:479,screenSM:576,screenSMMin:576,screenSMMax:575,screenMD:768,screenMDMin:768,screenMDMax:767,screenLG:992,screenLGMin:992,screenLGMax:991,screenXL:1200,screenXLMin:1200,screenXLMax:1199,screenXXL:1600,screenXXLMin:1600,screenXXLMax:1599,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:"0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)",boxShadowDrawerRight:"-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerLeft:"6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerUp:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerDown:"0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",_tokenKey:"19w80ff",_hashId:"css-dev-only-do-not-override-i2zu9q"},A=function(T){for(var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,D=3735928559^j,N=1103547991^j,F=0,B;F<T.length;F++)B=T.charCodeAt(F),D=Math.imul(D^B,2654435761),N=Math.imul(N^B,1597334677);return D=Math.imul(D^D>>>16,2246822507)^Math.imul(N^N>>>13,3266489909),N=Math.imul(N^N>>>16,2246822507)^Math.imul(D^D>>>13,3266489909),4294967296*(2097151&N)+(D>>>0)},S=Object(m.b)(function(x){return x}),y={theme:S,token:Object(E.a)(Object(E.a)({},k),O.a===null||O.a===void 0||(C=O.a.defaultAlgorithm)===null||C===void 0?void 0:C.call(O.a,O.a===null||O.a===void 0?void 0:O.a.defaultSeed)),hashId:"pro-".concat(A(JSON.stringify(k)))},w=function(){return y}},nkhd:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("tny8"),O=l("Acmb"),C=l("g1ZG"),k=l("u+7+"),A=l("YfKC"),S=l("HhvW"),y=l("IuhT"),w=l("lz10"),x=l("1aI8"),T=x.set,j=x.getterFor("AggregateError"),D=function(F,B){var U=this;if(!(U instanceof D))return new D(F,B);C&&(U=C(new Error(B),O(U)));var J=[];return y(F,J.push,J),m?T(U,{errors:J,type:"AggregateError"}):U.errors=J,B!==void 0&&w(U,"message",String(B)),U};D.prototype=k(Error.prototype,{constructor:S(5,D),message:S(5,""),name:S(5,"AggregateError")}),m&&A.f(D.prototype,"errors",{get:function(){return j(this).errors},configurable:!0}),E({global:!0},{AggregateError:D})},nlPz:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("NcLc");E({target:"RegExp",proto:!0,forced:/./.exec!==m},{exec:m})},nmnc:function(ce,R,l){var E=l("Kz5y"),m=E.Symbol;ce.exports=m},nmq7:function(ce,R,l){"use strict";var E=l("0jNN"),m=Object.prototype.hasOwnProperty,O=Array.isArray,C={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:E.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},k=function(N){return N.replace(/&#(\d+);/g,function(F,B){return String.fromCharCode(parseInt(B,10))})},A=function(N,F){return N&&typeof N=="string"&&F.comma&&N.indexOf(",")>-1?N.split(","):N},S="utf8=%26%2310003%3B",y="utf8=%E2%9C%93",w=function(N,F){var B={__proto__:null},U=F.ignoreQueryPrefix?N.replace(/^\?/,""):N,J=F.parameterLimit===Infinity?void 0:F.parameterLimit,$=U.split(F.delimiter,J),X=-1,ee,ie=F.charset;if(F.charsetSentinel)for(ee=0;ee<$.length;++ee)$[ee].indexOf("utf8=")===0&&($[ee]===y?ie="utf-8":$[ee]===S&&(ie="iso-8859-1"),X=ee,ee=$.length);for(ee=0;ee<$.length;++ee)if(ee!==X){var G=$[ee],Q=G.indexOf("]="),W=Q===-1?G.indexOf("="):Q+1,ne,te;W===-1?(ne=F.decoder(G,C.decoder,ie,"key"),te=F.strictNullHandling?null:""):(ne=F.decoder(G.slice(0,W),C.decoder,ie,"key"),te=E.maybeMap(A(G.slice(W+1),F),function(_e){return F.decoder(_e,C.decoder,ie,"value")})),te&&F.interpretNumericEntities&&ie==="iso-8859-1"&&(te=k(te)),G.indexOf("[]=")>-1&&(te=O(te)?[te]:te),m.call(B,ne)?B[ne]=E.combine(B[ne],te):B[ne]=te}return B},x=function(N,F,B,U){for(var J=U?F:A(F,B),$=N.length-1;$>=0;--$){var X,ee=N[$];if(ee==="[]"&&B.parseArrays)X=[].concat(J);else{X=B.plainObjects?Object.create(null):{};var ie=ee.charAt(0)==="["&&ee.charAt(ee.length-1)==="]"?ee.slice(1,-1):ee,G=parseInt(ie,10);!B.parseArrays&&ie===""?X={0:J}:!isNaN(G)&&ee!==ie&&String(G)===ie&&G>=0&&B.parseArrays&&G<=B.arrayLimit?(X=[],X[G]=J):ie!=="__proto__"&&(X[ie]=J)}J=X}return J},T=function(N,F,B,U){if(!!N){var J=B.allowDots?N.replace(/\.([^.[]+)/g,"[$1]"):N,$=/(\[[^[\]]*])/,X=/(\[[^[\]]*])/g,ee=B.depth>0&&$.exec(J),ie=ee?J.slice(0,ee.index):J,G=[];if(ie){if(!B.plainObjects&&m.call(Object.prototype,ie)&&!B.allowPrototypes)return;G.push(ie)}for(var Q=0;B.depth>0&&(ee=X.exec(J))!==null&&Q<B.depth;){if(Q+=1,!B.plainObjects&&m.call(Object.prototype,ee[1].slice(1,-1))&&!B.allowPrototypes)return;G.push(ee[1])}return ee&&G.push("["+J.slice(ee.index)+"]"),x(G,F,B,U)}},j=function(N){if(!N)return C;if(N.decoder!==null&&N.decoder!==void 0&&typeof N.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof N.charset!="undefined"&&N.charset!=="utf-8"&&N.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var F=typeof N.charset=="undefined"?C.charset:N.charset;return{allowDots:typeof N.allowDots=="undefined"?C.allowDots:!!N.allowDots,allowPrototypes:typeof N.allowPrototypes=="boolean"?N.allowPrototypes:C.allowPrototypes,allowSparse:typeof N.allowSparse=="boolean"?N.allowSparse:C.allowSparse,arrayLimit:typeof N.arrayLimit=="number"?N.arrayLimit:C.arrayLimit,charset:F,charsetSentinel:typeof N.charsetSentinel=="boolean"?N.charsetSentinel:C.charsetSentinel,comma:typeof N.comma=="boolean"?N.comma:C.comma,decoder:typeof N.decoder=="function"?N.decoder:C.decoder,delimiter:typeof N.delimiter=="string"||E.isRegExp(N.delimiter)?N.delimiter:C.delimiter,depth:typeof N.depth=="number"||N.depth===!1?+N.depth:C.depth,ignoreQueryPrefix:N.ignoreQueryPrefix===!0,interpretNumericEntities:typeof N.interpretNumericEntities=="boolean"?N.interpretNumericEntities:C.interpretNumericEntities,parameterLimit:typeof N.parameterLimit=="number"?N.parameterLimit:C.parameterLimit,parseArrays:N.parseArrays!==!1,plainObjects:typeof N.plainObjects=="boolean"?N.plainObjects:C.plainObjects,strictNullHandling:typeof N.strictNullHandling=="boolean"?N.strictNullHandling:C.strictNullHandling}};ce.exports=function(D,N){var F=j(N);if(D===""||D===null||typeof D=="undefined")return F.plainObjects?Object.create(null):{};for(var B=typeof D=="string"?w(D,F):D,U=F.plainObjects?Object.create(null):{},J=Object.keys(B),$=0;$<J.length;++$){var X=J[$],ee=T(X,B[X],F,typeof D=="string");U=E.merge(U,ee,F)}return F.allowSparse===!0?U:E.compact(U)}},"o/2+":function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E),O=Object(E.createContext)({});R.a=O},o0o1:function(ce,R,l){var E=l("fsL8")();ce.exports=E;try{regeneratorRuntime=E}catch(m){typeof globalThis=="object"?globalThis.regeneratorRuntime=E:Function("r","regeneratorRuntime = r")(E)}},o46R:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("U8pU");function m(C,k){if(Object(E.a)(C)!=="object"||C===null)return C;var A=C[Symbol.toPrimitive];if(A!==void 0){var S=A.call(C,k||"default");if(Object(E.a)(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(C)}function O(C){var k=m(C,"string");return Object(E.a)(k)==="symbol"?k:String(k)}},o5UB:function(ce,R,l){var E=l("cDf5").default,m=l("5Q0V");function O(C){var k=m(C,"string");return E(k)==="symbol"?k:String(k)}ce.exports=O,ce.exports.__esModule=!0,ce.exports.default=ce.exports},oBTY:function(ce,R,l){"use strict";l.d(R,"a",function(){return A});var E=l("leS6");function m(S){if(Array.isArray(S))return Object(E.a)(S)}function O(S){if(typeof Symbol!="undefined"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}var C=l("Qw5x");function k(){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 A(S){return m(S)||O(S)||Object(C.a)(S)||k()}},"oCl/":function(ce,R,l){var E=l("CH3K"),m=l("LcsW"),O=l("MvSz"),C=l("0ycA"),k=Object.getOwnPropertySymbols,A=k?function(S){for(var y=[];S;)E(y,O(S)),S=m(S);return y}:C;ce.exports=A},oIFs:function(ce,R,l){},oJGl:function(ce,R,l){var E=l("MMxC"),m=l("aF2d");E({target:"WeakMap",stat:!0},{from:m})},oLb5:function(ce,R,l){var E=l("MMxC");E({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},oNMB:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("EzR6"),O=l("0qr0"),C=l("R8iy"),k=[].join,A=m!=Object,S=C("join",",");E({target:"Array",proto:!0,forced:A||!S},{join:function(w){return k.call(O(this),w===void 0?",":w)}})},oNNP:function(ce,R,l){"use strict";var E=l("D3zA");ce.exports=E.call(Function.call,Object.prototype.hasOwnProperty)},oYEA:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("PPXv"),A=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{every:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return!A(x,function(j,D){if(!T(D,j,w))return A.stop()},void 0,!0,!0).stopped}})},oZsa:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(C){return C.__proto__||Object.getPrototypeOf(C)},E(m)}},oa35:function(ce,R,l){var E=l("m0kY"),m=Math.min;ce.exports=function(O){return O>0?m(E(O),9007199254740991):0}},oaX6:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.targetName=void 0;var E=l("xfSm"),m=l("GXnB"),O=l("Ztfv");function C(k){return function(A,S,y){var w=new m.Metadata(E.NAME_TAG,k);O.tagParameter(A,S,y,w)}}R.targetName=C},oat3:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("QQ4S"),O=E.aTypedArray,C=E.exportTypedArrayMethod;C("lastIndexOf",function(A){return m.apply(O(this),arguments)})},ohE5:function(ce,R,l){"use strict";function E(O){return function(){return O}}var m=function(){};m.thatReturns=E,m.thatReturnsFalse=E(!1),m.thatReturnsTrue=E(!0),m.thatReturnsNull=E(null),m.thatReturnsThis=function(){return this},m.thatReturnsArgument=function(O){return O},ce.exports=m},or5M:function(ce,R,l){var E=l("1hJj"),m=l("QoRX"),O=l("xYSL"),C=1,k=2;function A(S,y,w,x,T,j){var D=w&C,N=S.length,F=y.length;if(N!=F&&!(D&&F>N))return!1;var B=j.get(S),U=j.get(y);if(B&&U)return B==y&&U==S;var J=-1,$=!0,X=w&k?new E:void 0;for(j.set(S,y),j.set(y,S);++J<N;){var ee=S[J],ie=y[J];if(x)var G=D?x(ie,ee,J,y,S,j):x(ee,ie,J,S,y,j);if(G!==void 0){if(G)continue;$=!1;break}if(X){if(!m(y,function(Q,W){if(!O(X,W)&&(ee===Q||T(ee,Q,w,x,j)))return X.push(W)})){$=!1;break}}else if(!(ee===ie||T(ee,ie,w,x,j))){$=!1;break}}return j.delete(S),j.delete(y),$}ce.exports=A},"otv/":function(ce,R,l){var E=l("nmnc"),m=E?E.prototype:void 0,O=m?m.valueOf:void 0;function C(k){return O?Object(O.call(k)):{}}ce.exports=C},"oy+k":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Context=void 0;var E=l("d9O0"),m=function(){function O(C){this.id=E.id(),this.container=C}return O.prototype.addPlan=function(C){this.plan=C},O.prototype.setCurrentRequest=function(C){this.currentRequest=C},O}();R.Context=m},ozfa:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("KxFI"),C=l.n(O)},"p/G/":function(ce,R,l){"use strict";var E=l("FVwB"),m=E.aTypedArray,O=E.exportTypedArrayMethod,C=[].join;O("join",function(A){return C.apply(m(this),arguments)})},p0y3:function(ce,R,l){ce.exports={introduction:"introduction___Vdv6R",title:"title___3aeP6",desc:"desc___dHm5v",field:"field___2Vyao",columnLayout:"columnLayout___NXrLE",avatar:"avatar___1s50O",fieldName:"fieldName___2gYEr",fieldValue:"fieldValue___3xcNc",switchField:"switchField___3C4t3",dimensionFieldValue:"dimensionFieldValue___39Yua",mainNameFieldValue:"mainNameFieldValue___OkzeS"}},p1ln:function(ce,R,l){var E=l("MMxC"),m=l("qitQ");E({target:"Object",stat:!0,forced:Object.assign!==m},{assign:m})},p5yU:function(ce,R,l){var E=l("MMxC"),m=l("ukPv"),O=l("m3pO"),C=l("UwrT"),k=m.process,A=C(k)=="process";E({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(y){var w=A&&k.domain;O(w?w.bind(y):y)}})},p67U:function(ce,R,l){ce.exports={chat:"chat___2o_TX",chatSection:"chatSection___3V3NJ",chatApp:"chatApp___16BaS",emptyHolder:"emptyHolder___563Et",navBar:"navBar___1-YkL",conversationNameWrapper:"conversationNameWrapper___367aO",conversationName:"conversationName___2BsWh",editIcon:"editIcon___2Od_L",divider:"divider___n3Yfc",conversationInput:"conversationInput___2iw0p",chatBody:"chatBody___3Qpmk",chatContent:"chatContent___1jNIi",messageContainer:"messageContainer___3pMiy",messageList:"messageList___2A2BS",messageItem:"messageItem___rC6Pf",miniProgramLoading:"miniProgramLoading___1Rlat",mobile:"mobile___1qe49",conversation:"conversation___2jDz6",keyword:"keyword___1PW1c",messageTime:"messageTime___gu9g5",modules:"modules___1xbPz",moduleType:"moduleType___3WYlk",moduleSelect:"moduleSelect___1DUPs",example:"example___qyX62",modulesInner:"modulesInner___P640o",moduleItem:"moduleItem___2feFt",activeModuleItem:"activeModuleItem___1SjFq",cmdItem:"cmdItem___3JNP5",optGroupBar:"optGroupBar___1SdJW",recentSearchBar:"recentSearchBar___2_mds",optGroupTitle:"optGroupTitle___37RjX",recentSearch:"recentSearch___22cDn",clearSearch:"clearSearch___39Pk0",recentSearchOption:"recentSearchOption___56Zak",optionItem:"optionItem___22ifI",removeRecentMsg:"removeRecentMsg___yYKh3",addConversation:"addConversation___1YYx4",loadingWords:"loadingWords___26Axn",associateWordsOption:"associateWordsOption___10StO",optionContent:"optionContent___1Pc9x",indicatorItem:"indicatorItem___2Lzo1",indicatorLabel:"indicatorLabel___1bkQZ",indicatorValue:"indicatorValue___2pnTF",autoCompleteDropdown:"autoCompleteDropdown___wKtOT",recommendItemTitle:"recommendItemTitle___2SKwT",refeshQuestions:"refeshQuestions___JlEIo",reloadIcon:"reloadIcon___1X8ml",recommendQuestions:"recommendQuestions___gp_hT",currentTool:"currentTool___1xNWw",removeTool:"removeTool___2WRZr",associateOption:"associateOption___3ZTe2",associateOptionAvatar:"associateOptionAvatar___gUvQm",optionIndicator:"optionIndicator___2oWOU",messageLoading:"messageLoading___Jehct"}},p6E5:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("+X1D");E({target:"WeakSet",proto:!0,real:!0,forced:m},{deleteAll:function(){return O.apply(this,arguments)}})},pAT6:function(ce,R,l){"use strict";l.d(R,"a",function(){return A});var E=l("ODXe"),m=l("Kbm9"),O=l("N0Yx"),C=l("FWVt");function k(S){return S!==void 0}function A(S,y){var w=y||{},x=w.defaultValue,T=w.value,j=w.onChange,D=w.postState,N=Object(C.a)(function(){return k(T)?T:k(x)?typeof x=="function"?x():x:typeof S=="function"?S():S}),F=Object(E.a)(N,2),B=F[0],U=F[1],J=T!==void 0?T:B,$=D?D(J):J,X=Object(m.a)(j),ee=Object(C.a)([J]),ie=Object(E.a)(ee,2),G=ie[0],Q=ie[1];Object(O.b)(function(){var ne=G[0];B!==ne&&X(B,ne)},[G]),Object(O.b)(function(){k(T)||U(T)},[T]);var W=Object(m.a)(function(ne,te){U(ne,te),Q([J],te)});return[$,W]}},pAY0:function(ce,R,l){},"pED+":function(ce,R,l){},pFRH:function(ce,R,l){var E=l("cvCv"),m=l("O0oS"),O=l("zZ0H"),C=m?function(k,A){return m(k,"toString",{configurable:!0,enumerable:!1,value:E(A),writable:!0})}:O;ce.exports=C},pI4h:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("ijCd"),m=D(E),O=l("+UJD"),C=D(O),k=l("a1Gm"),A=D(k),S=l("FeLx"),y=D(S),w=l("0Jrw"),x=D(w),T=l("HTqx"),j=D(T);function D(B){return B&&B.__esModule?B:{default:B}}function N(B,U){if(!(B instanceof U))throw new TypeError("Cannot call a class as a function")}var F=function(){function B(U,J){N(this,B),this.cfg=U||{},this.indentation=new y.default(this.cfg.indent),this.inlineBlock=new x.default,this.params=new j.default(this.cfg.params),this.tokenizer=J,this.previousReservedWord={},this.tokens=[],this.index=0}return B.prototype.format=function(J){this.tokens=this.tokenizer.tokenize(J);var $=this.getFormattedQueryFromTokens();return $.trim()},B.prototype.getFormattedQueryFromTokens=function(){var J=this,$="";return this.tokens.forEach(function(X,ee){J.index=ee,X.type===A.default.WHITESPACE||(X.type===A.default.LINE_COMMENT?$=J.formatLineComment(X,$):X.type===A.default.BLOCK_COMMENT?$=J.formatBlockComment(X,$):X.type===A.default.RESERVED_TOPLEVEL?($=J.formatToplevelReservedWord(X,$),J.previousReservedWord=X):X.type===A.default.RESERVED_NEWLINE?($=J.formatNewlineReservedWord(X,$),J.previousReservedWord=X):X.type===A.default.RESERVED?($=J.formatWithSpaces(X,$),J.previousReservedWord=X):X.type===A.default.OPEN_PAREN?$=J.formatOpeningParentheses(X,$):X.type===A.default.CLOSE_PAREN?$=J.formatClosingParentheses(X,$):X.type===A.default.PLACEHOLDER?$=J.formatPlaceholder(X,$):X.value===","?$=J.formatComma(X,$):X.value===":"?$=J.formatWithSpaceAfter(X,$):X.value==="."?$=J.formatWithoutSpaces(X,$):X.value===";"?$=J.formatQuerySeparator(X,$):$=J.formatWithSpaces(X,$))}),$},B.prototype.formatLineComment=function(J,$){return this.addNewline($+J.value)},B.prototype.formatBlockComment=function(J,$){return this.addNewline(this.addNewline($)+this.indentComment(J.value))},B.prototype.indentComment=function(J){return J.replace(/\n/g,`
`+this.indentation.getIndent())},B.prototype.formatToplevelReservedWord=function(J,$){return this.indentation.decreaseTopLevel(),$=this.addNewline($),this.indentation.increaseToplevel(),$+=this.equalizeWhitespace(J.value),this.addNewline($)},B.prototype.formatNewlineReservedWord=function(J,$){return this.addNewline($)+this.equalizeWhitespace(J.value)+" "},B.prototype.equalizeWhitespace=function(J){return J.replace(/\s+/g," ")},B.prototype.formatOpeningParentheses=function(J,$){var X=[A.default.WHITESPACE,A.default.OPEN_PAREN,A.default.LINE_COMMENT];return(0,m.default)(X,this.previousToken().type)||($=(0,C.default)($)),$+=J.value,this.inlineBlock.beginIfPossible(this.tokens,this.index),this.inlineBlock.isActive()||(this.indentation.increaseBlockLevel(),$=this.addNewline($)),$},B.prototype.formatClosingParentheses=function(J,$){return this.inlineBlock.isActive()?(this.inlineBlock.end(),this.formatWithSpaceAfter(J,$)):(this.indentation.decreaseBlockLevel(),this.formatWithSpaces(J,this.addNewline($)))},B.prototype.formatPlaceholder=function(J,$){return $+this.params.get(J)+" "},B.prototype.formatComma=function(J,$){return $=this.trimTrailingWhitespace($)+J.value+" ",this.inlineBlock.isActive()||/^LIMIT$/i.test(this.previousReservedWord.value)?$:this.addNewline($)},B.prototype.formatWithSpaceAfter=function(J,$){return this.trimTrailingWhitespace($)+J.value+" "},B.prototype.formatWithoutSpaces=function(J,$){return this.trimTrailingWhitespace($)+J.value},B.prototype.formatWithSpaces=function(J,$){return $+J.value+" "},B.prototype.formatQuerySeparator=function(J,$){return this.trimTrailingWhitespace($)+J.value+`
`},B.prototype.addNewline=function(J){return(0,C.default)(J)+`
`+this.indentation.getIndent()},B.prototype.trimTrailingWhitespace=function(J){return this.previousNonWhitespaceToken().type===A.default.LINE_COMMENT?(0,C.default)(J)+`
`:(0,C.default)(J)},B.prototype.previousNonWhitespaceToken=function(){for(var J=1;this.previousToken(J).type===A.default.WHITESPACE;)J++;return this.previousToken(J)},B.prototype.previousToken=function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;return this.tokens[this.index-J]||{}},B}();R.default=F,ce.exports=R.default},pL63:function(ce,R,l){},pSDE:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=w;var O=m(l("pVnL")),C=m(l("J4zp")),k=m(l("f3Sm")),A=E(l("q1tI")),S=l("QpBz"),y=l("vgIT");function w(x,T){var j=function(){var N,F,B=null,U={add:function(W,ne){B==null||B.component.add(W,ne)}},J=(0,k.default)(U),$=(0,C.default)(J,2),X=$[0],ee=$[1];function ie(Q){var W=Q.prefixCls,ne=N("message",W),te=N(),_e=Q.key||(0,S.getKeyThenIncreaseKey)(),he=new Promise(function(ge){var me=function(){return typeof Q.onClose=="function"&&Q.onClose(),ge(!0)};x((0,O.default)((0,O.default)({},Q),{prefixCls:ne,rootPrefixCls:te,getPopupContainer:F}),function(Z){var xe=Z.prefixCls,Ee=Z.instance;B=Ee,X(T((0,O.default)((0,O.default)({},Q),{key:_e,onClose:me}),xe))})}),oe=function(){B&&B.removeNotice(_e)};return oe.then=function(ge,me){return he.then(ge,me)},oe.promise=he,oe}var G=A.useRef({});return G.current.open=ie,S.typeList.forEach(function(Q){return(0,S.attachTypeApi)(G.current,Q)}),[G.current,A.createElement(y.ConfigConsumer,{key:"holder"},function(Q){return N=Q.getPrefixCls,F=Q.getPopupContainer,ee})]};return j}},pSRY:function(ce,R,l){var E=l("QkVE");function m(O){return E(this,O).has(O)}ce.exports=m},pVnL:function(ce,R){function l(){return ce.exports=l=Object.assign?Object.assign.bind():function(E){for(var m=1;m<arguments.length;m++){var O=arguments[m];for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&(E[C]=O[C])}return E},ce.exports.__esModule=!0,ce.exports.default=ce.exports,l.apply(this,arguments)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},pW3P:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("cT1L"),O=l("LUyE"),C=l("WJ3H"),k=l("IuhT");E({target:"Promise",stat:!0},{allSettled:function(S){var y=this,w=O.f(y),x=w.resolve,T=w.reject,j=C(function(){var D=m(y.resolve),N=[],F=0,B=1;k(S,function(U){var J=F++,$=!1;N.push(void 0),B++,D.call(y,U).then(function(X){$||($=!0,N[J]={status:"fulfilled",value:X},--B||x(N))},function(X){$||($=!0,N[J]={status:"rejected",reason:X},--B||x(N))})}),--B||x(N)});return j.error&&T(j.value),w.promise}})},pZem:function(ce,R,l){var E=l("MMxC"),m=l("R/Zn"),O=l("MVys"),C=l("tSXo"),k=l("a5mf").onFreeze,A=Object.freeze,S=O(function(){A(1)});E({target:"Object",stat:!0,forced:S,sham:!m},{freeze:function(w){return A&&C(w)?A(k(w)):w}})},pb5k:function(ce,R,l){var E=l("ukPv"),m=l("TMUv"),O="__core-js_shared__",C=E[O]||m(O,{});ce.exports=C},piRP:function(ce,R,l){"use strict";var E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};R.a=E},pkYH:function(ce,R,l){var E=l("MMxC");E({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},pwpV:function(ce,R,l){},q0r6:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.PhotoshopPointerCircle=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.PhotoshopPointerCircle=function(){var y=(0,C.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return m.default.createElement("div",{style:y.pointer},m.default.createElement("div",{style:y.left},m.default.createElement("div",{style:y.leftInside})),m.default.createElement("div",{style:y.right},m.default.createElement("div",{style:y.rightInside})))};R.default=A},q1tI:function(ce,R,l){"use strict";ce.exports=l("viRO")},qA1w:function(ce,R,l){"use strict";ce.exports=function(){for(var m=arguments.length,O=new Array(m);m--;)O[m]=arguments[m];return new this(O)}},qCM6:function(ce,R,l){},qDJ8:function(ce,R,l){"use strict";/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/ce.exports=function(m){return m!=null&&typeof m=="object"&&Array.isArray(m)===!1}},qJkI:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("GSrb")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="CheckCircleOutlined";var x=C.forwardRef(w);R.default=x},qK8v:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.isStackOverflowExeption=void 0;var E=l("MON2");function m(O){return O instanceof RangeError||O.message===E.STACK_OVERFLOW}R.isStackOverflowExeption=m},qKvR:function(ce,R,l){"use strict";l.r(R),l.d(R,"CacheProvider",function(){return lt}),l.d(R,"ThemeContext",function(){return ht}),l.d(R,"withEmotionCache",function(){return Et}),l.d(R,"css",function(){return Ve}),l.d(R,"ClassNames",function(){return ut}),l.d(R,"Global",function(){return bt}),l.d(R,"createElement",function(){return Ge}),l.d(R,"jsx",function(){return Ge}),l.d(R,"keyframes",function(){return at});var E=l("dI71"),m=l("q1tI");function O(le){if(le.sheet)return le.sheet;for(var $e=0;$e<document.styleSheets.length;$e++)if(document.styleSheets[$e].ownerNode===le)return document.styleSheets[$e]}function C(le){var $e=document.createElement("style");return $e.setAttribute("data-emotion",le.key),le.nonce!==void 0&&$e.setAttribute("nonce",le.nonce),$e.appendChild(document.createTextNode("")),$e}var k=function(){function le(Qe){this.isSpeedy=Qe.speedy===void 0?!0:Qe.speedy,this.tags=[],this.ctr=0,this.nonce=Qe.nonce,this.key=Qe.key,this.container=Qe.container,this.before=null}var $e=le.prototype;return $e.insert=function(Tt){if(this.ctr%(this.isSpeedy?65e3:1)==0){var Ot=C(this),Ut;this.tags.length===0?Ut=this.before:Ut=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(Ot,Ut),this.tags.push(Ot)}var At=this.tags[this.tags.length-1];if(this.isSpeedy){var Pt=O(At);try{var Dt=Tt.charCodeAt(1)===105&&Tt.charCodeAt(0)===64;Pt.insertRule(Tt,Dt?0:Pt.cssRules.length)}catch(Qt){}}else At.appendChild(document.createTextNode(Tt));this.ctr++},$e.flush=function(){this.tags.forEach(function(Tt){return Tt.parentNode.removeChild(Tt)}),this.tags=[],this.ctr=0},le}();function A(le){function $e(Nn,Zt,rr,Gn,ln){for(var Xn=0,Kn=0,fr=0,Hn=0,Sa,Lr,Ca=0,za=0,Ma,va=Ma=Sa=0,qa=0,gi=0,Qi=0,mi=0,Cr=rr.length,Un=Cr-1,Lt,gn="",Ln="",kr="",ea="",Qr;qa<Cr;){if(Lr=rr.charCodeAt(qa),qa===Un&&Kn+Hn+fr+Xn!==0&&(Kn!==0&&(Lr=Kn===47?10:47),Hn=fr=Xn=0,Cr++,Un++),Kn+Hn+fr+Xn===0){if(qa===Un&&(0<gi&&(gn=gn.replace(hn,"")),0<gn.trim().length)){switch(Lr){case 32:case 9:case 59:case 13:case 10:break;default:gn+=rr.charAt(qa)}Lr=59}switch(Lr){case 123:for(gn=gn.trim(),Sa=gn.charCodeAt(0),Ma=1,mi=++qa;qa<Cr;){switch(Lr=rr.charCodeAt(qa)){case 123:Ma++;break;case 125:Ma--;break;case 47:switch(Lr=rr.charCodeAt(qa+1)){case 42:case 47:e:{for(va=qa+1;va<Un;++va)switch(rr.charCodeAt(va)){case 47:if(Lr===42&&rr.charCodeAt(va-1)===42&&qa+2!==va){qa=va+1;break e}break;case 10:if(Lr===47){qa=va+1;break e}}qa=va}}break;case 91:Lr++;case 40:Lr++;case 34:case 39:for(;qa++<Un&&rr.charCodeAt(qa)!==Lr;);}if(Ma===0)break;qa++}switch(Ma=rr.substring(mi,qa),Sa===0&&(Sa=(gn=gn.replace($n,"").trim()).charCodeAt(0)),Sa){case 64:switch(0<gi&&(gn=gn.replace(hn,"")),Lr=gn.charCodeAt(1),Lr){case 100:case 109:case 115:case 45:gi=Zt;break;default:gi=Wt}if(Ma=$e(Zt,gi,Ma,Lr,ln+1),mi=Ma.length,0<Sn&&(gi=Qe(Wt,gn,Qi),Qr=Pt(3,Ma,gi,Zt,ot,H,mi,Lr,ln,Gn),gn=gi.join(""),Qr!==void 0&&(mi=(Ma=Qr.trim()).length)===0&&(Lr=0,Ma="")),0<mi)switch(Lr){case 115:gn=gn.replace(gr,At);case 100:case 109:case 45:Ma=gn+"{"+Ma+"}";break;case 107:gn=gn.replace(Sr,"$1 $2"),Ma=gn+"{"+Ma+"}",Ma=Ct===1||Ct===2&&Ut("@"+Ma,3)?"@-webkit-"+Ma+"@"+Ma:"@"+Ma;break;default:Ma=gn+Ma,Gn===112&&(Ma=(Ln+=Ma,""))}else Ma="";break;default:Ma=$e(Zt,Qe(Zt,gn,Qi),Ma,Gn,ln+1)}kr+=Ma,Ma=Qi=gi=va=Sa=0,gn="",Lr=rr.charCodeAt(++qa);break;case 125:case 59:if(gn=(0<gi?gn.replace(hn,""):gn).trim(),1<(mi=gn.length))switch(va===0&&(Sa=gn.charCodeAt(0),Sa===45||96<Sa&&123>Sa)&&(mi=(gn=gn.replace(" ",":")).length),0<Sn&&(Qr=Pt(1,gn,Zt,Nn,ot,H,Ln.length,Gn,ln,Gn))!==void 0&&(mi=(gn=Qr.trim()).length)===0&&(gn="\0\0"),Sa=gn.charCodeAt(0),Lr=gn.charCodeAt(1),Sa){case 0:break;case 64:if(Lr===105||Lr===99){ea+=gn+rr.charAt(qa);break}default:gn.charCodeAt(mi-1)!==58&&(Ln+=Ot(gn,Sa,Lr,gn.charCodeAt(2)))}Qi=gi=va=Sa=0,gn="",Lr=rr.charCodeAt(++qa)}}switch(Lr){case 13:case 10:Kn===47?Kn=0:1+Sa===0&&Gn!==107&&0<gn.length&&(gi=1,gn+="\0"),0<Sn*Or&&Pt(0,gn,Zt,Nn,ot,H,Ln.length,Gn,ln,Gn),H=1,ot++;break;case 59:case 125:if(Kn+Hn+fr+Xn===0){H++;break}default:switch(H++,Lt=rr.charAt(qa),Lr){case 9:case 32:if(Hn+Xn+Kn===0)switch(Ca){case 44:case 58:case 9:case 32:Lt="";break;default:Lr!==32&&(Lt=" ")}break;case 0:Lt="\\0";break;case 12:Lt="\\f";break;case 11:Lt="\\v";break;case 38:Hn+Kn+Xn===0&&(gi=Qi=1,Lt="\f"+Lt);break;case 108:if(Hn+Kn+Xn+nt===0&&0<va)switch(qa-va){case 2:Ca===112&&rr.charCodeAt(qa-3)===58&&(nt=Ca);case 8:za===111&&(nt=za)}break;case 58:Hn+Kn+Xn===0&&(va=qa);break;case 44:Kn+fr+Hn+Xn===0&&(gi=1,Lt+="\r");break;case 34:case 39:Kn===0&&(Hn=Hn===Lr?0:Hn===0?Lr:Hn);break;case 91:Hn+Kn+fr===0&&Xn++;break;case 93:Hn+Kn+fr===0&&Xn--;break;case 41:Hn+Kn+Xn===0&&fr--;break;case 40:if(Hn+Kn+Xn===0){if(Sa===0)switch(2*Ca+3*za){case 533:break;default:Sa=1}fr++}break;case 64:Kn+fr+Hn+Xn+va+Ma===0&&(Ma=1);break;case 42:case 47:if(!(0<Hn+Xn+fr))switch(Kn){case 0:switch(2*Lr+3*rr.charCodeAt(qa+1)){case 235:Kn=47;break;case 220:mi=qa,Kn=42}break;case 42:Lr===47&&Ca===42&&mi+2!==qa&&(rr.charCodeAt(mi+2)===33&&(Ln+=rr.substring(mi,qa+1)),Lt="",Kn=0)}}Kn===0&&(gn+=Lt)}za=Ca,Ca=Lr,qa++}if(mi=Ln.length,0<mi){if(gi=Zt,0<Sn&&(Qr=Pt(2,Ln,gi,Nn,ot,H,mi,Gn,ln,Gn),Qr!==void 0&&(Ln=Qr).length===0))return ea+Ln+kr;if(Ln=gi.join(",")+"{"+Ln+"}",Ct*nt!=0){switch(Ct!==2||Ut(Ln,2)||(nt=0),nt){case 111:Ln=Ln.replace(br,":-moz-$1")+Ln;break;case 112:Ln=Ln.replace(Wr,"::-webkit-input-$1")+Ln.replace(Wr,"::-moz-$1")+Ln.replace(Wr,":-ms-input-$1")+Ln}nt=0}}return ea+Ln+kr}function Qe(Nn,Zt,rr){var Gn=Zt.trim().split(Tn);Zt=Gn;var ln=Gn.length,Xn=Nn.length;switch(Xn){case 0:case 1:var Kn=0;for(Nn=Xn===0?"":Nn[0]+" ";Kn<ln;++Kn)Zt[Kn]=Tt(Nn,Zt[Kn],rr).trim();break;default:var fr=Kn=0;for(Zt=[];Kn<ln;++Kn)for(var Hn=0;Hn<Xn;++Hn)Zt[fr++]=Tt(Nn[Hn]+" ",Gn[Kn],rr).trim()}return Zt}function Tt(Nn,Zt,rr){var Gn=Zt.charCodeAt(0);switch(33>Gn&&(Gn=(Zt=Zt.trim()).charCodeAt(0)),Gn){case 38:return Zt.replace(Tr,"$1"+Nn.trim());case 58:return Nn.trim()+Zt.replace(Tr,"$1"+Nn.trim());default:if(0<1*rr&&0<Zt.indexOf("\f"))return Zt.replace(Tr,(Nn.charCodeAt(0)===58?"":"$1")+Nn.trim())}return Nn+Zt}function Ot(Nn,Zt,rr,Gn){var ln=Nn+";",Xn=2*Zt+3*rr+4*Gn;if(Xn===944){Nn=ln.indexOf(":",9)+1;var Kn=ln.substring(Nn,ln.length-1).trim();return Kn=ln.substring(0,Nn).trim()+Kn+";",Ct===1||Ct===2&&Ut(Kn,1)?"-webkit-"+Kn+Kn:Kn}if(Ct===0||Ct===2&&!Ut(ln,1))return ln;switch(Xn){case 1015:return ln.charCodeAt(10)===97?"-webkit-"+ln+ln:ln;case 951:return ln.charCodeAt(3)===116?"-webkit-"+ln+ln:ln;case 963:return ln.charCodeAt(5)===110?"-webkit-"+ln+ln:ln;case 1009:if(ln.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+ln+ln;case 978:return"-webkit-"+ln+"-moz-"+ln+ln;case 1019:case 983:return"-webkit-"+ln+"-moz-"+ln+"-ms-"+ln+ln;case 883:if(ln.charCodeAt(8)===45)return"-webkit-"+ln+ln;if(0<ln.indexOf("image-set(",11))return ln.replace(Bt,"$1-webkit-$2")+ln;break;case 932:if(ln.charCodeAt(4)===45)switch(ln.charCodeAt(5)){case 103:return"-webkit-box-"+ln.replace("-grow","")+"-webkit-"+ln+"-ms-"+ln.replace("grow","positive")+ln;case 115:return"-webkit-"+ln+"-ms-"+ln.replace("shrink","negative")+ln;case 98:return"-webkit-"+ln+"-ms-"+ln.replace("basis","preferred-size")+ln}return"-webkit-"+ln+"-ms-"+ln+ln;case 964:return"-webkit-"+ln+"-ms-flex-"+ln+ln;case 1023:if(ln.charCodeAt(8)!==99)break;return Kn=ln.substring(ln.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+Kn+"-webkit-"+ln+"-ms-flex-pack"+Kn+ln;case 1005:return bn.test(ln)?ln.replace(_n,":-webkit-")+ln.replace(_n,":-moz-")+ln:ln;case 1e3:switch(Kn=ln.substring(13).trim(),Zt=Kn.indexOf("-")+1,Kn.charCodeAt(0)+Kn.charCodeAt(Zt)){case 226:Kn=ln.replace(Wn,"tb");break;case 232:Kn=ln.replace(Wn,"tb-rl");break;case 220:Kn=ln.replace(Wn,"lr");break;default:return ln}return"-webkit-"+ln+"-ms-"+Kn+ln;case 1017:if(ln.indexOf("sticky",9)===-1)break;case 975:switch(Zt=(ln=Nn).length-10,Kn=(ln.charCodeAt(Zt)===33?ln.substring(0,Zt):ln).substring(Nn.indexOf(":",7)+1).trim(),Xn=Kn.charCodeAt(0)+(Kn.charCodeAt(7)|0)){case 203:if(111>Kn.charCodeAt(8))break;case 115:ln=ln.replace(Kn,"-webkit-"+Kn)+";"+ln;break;case 207:case 102:ln=ln.replace(Kn,"-webkit-"+(102<Xn?"inline-":"")+"box")+";"+ln.replace(Kn,"-webkit-"+Kn)+";"+ln.replace(Kn,"-ms-"+Kn+"box")+";"+ln}return ln+";";case 938:if(ln.charCodeAt(5)===45)switch(ln.charCodeAt(6)){case 105:return Kn=ln.replace("-items",""),"-webkit-"+ln+"-webkit-box-"+Kn+"-ms-flex-"+Kn+ln;case 115:return"-webkit-"+ln+"-ms-flex-item-"+ln.replace(jn,"")+ln;default:return"-webkit-"+ln+"-ms-flex-line-pack"+ln.replace("align-content","").replace(jn,"")+ln}break;case 973:case 989:if(ln.charCodeAt(3)!==45||ln.charCodeAt(4)===122)break;case 931:case 953:if(zt.test(Nn)===!0)return(Kn=Nn.substring(Nn.indexOf(":")+1)).charCodeAt(0)===115?Ot(Nn.replace("stretch","fill-available"),Zt,rr,Gn).replace(":fill-available",":stretch"):ln.replace(Kn,"-webkit-"+Kn)+ln.replace(Kn,"-moz-"+Kn.replace("fill-",""))+ln;break;case 962:if(ln="-webkit-"+ln+(ln.charCodeAt(5)===102?"-ms-"+ln:"")+ln,rr+Gn===211&&ln.charCodeAt(13)===105&&0<ln.indexOf("transform",10))return ln.substring(0,ln.indexOf(";",27)+1).replace(Bn,"$1-webkit-$2")+ln}return ln}function Ut(Nn,Zt){var rr=Nn.indexOf(Zt===1?":":"{"),Gn=Nn.substring(0,Zt!==3?rr:10);return rr=Nn.substring(rr+1,Nn.length-1),Zn(Zt!==2?Gn:Gn.replace(un,"$1"),rr,Zt)}function At(Nn,Zt){var rr=Ot(Zt,Zt.charCodeAt(0),Zt.charCodeAt(1),Zt.charCodeAt(2));return rr!==Zt+";"?rr.replace(na," or ($1)").substring(4):"("+Zt+")"}function Pt(Nn,Zt,rr,Gn,ln,Xn,Kn,fr,Hn,Sa){for(var Lr=0,Ca=Zt,za;Lr<Sn;++Lr)switch(za=kn[Lr].call(cn,Nn,Ca,rr,Gn,ln,Xn,Kn,fr,Hn,Sa)){case void 0:case!1:case!0:case null:break;default:Ca=za}if(Ca!==Zt)return Ca}function Dt(Nn){switch(Nn){case void 0:case null:Sn=kn.length=0;break;default:if(typeof Nn=="function")kn[Sn++]=Nn;else if(typeof Nn=="object")for(var Zt=0,rr=Nn.length;Zt<rr;++Zt)Dt(Nn[Zt]);else Or=!!Nn|0}return Dt}function Qt(Nn){return Nn=Nn.prefix,Nn!==void 0&&(Zn=null,Nn?typeof Nn!="function"?Ct=1:(Ct=2,Zn=Nn):Ct=0),Qt}function cn(Nn,Zt){var rr=Nn;if(33>rr.charCodeAt(0)&&(rr=rr.trim()),Yn=rr,rr=[Yn],0<Sn){var Gn=Pt(-1,Zt,rr,rr,ot,H,0,0,0,0);Gn!==void 0&&typeof Gn=="string"&&(Zt=Gn)}var ln=$e(Wt,rr,Zt,0,0);return 0<Sn&&(Gn=Pt(-2,ln,rr,rr,ot,H,ln.length,0,0,0),Gn!==void 0&&(ln=Gn)),Yn="",nt=0,H=ot=1,ln}var $n=/^\0+/g,hn=/[\0\r\f]/g,_n=/: */g,bn=/zoo|gra/,Bn=/([,: ])(transform)/g,Tn=/,\r+?/g,Tr=/([\t\r\n ])*\f?&/g,Sr=/@(k\w+)\s*(\S*)\s*/,Wr=/::(place)/g,br=/:(read-only)/g,Wn=/[svh]\w+-[tblr]{2}/,gr=/\(\s*(.*)\s*\)/g,na=/([\s\S]*?);/g,jn=/-self|flex-/g,un=/[^]*?(:[rp][el]a[\w-]+)[^]*/,zt=/stretch|:\s*\w+\-(?:conte|avail)/,Bt=/([^-])(image-set\()/,H=1,ot=1,nt=0,Ct=1,Wt=[],kn=[],Sn=0,Zn=null,Or=0,Yn="";return cn.use=Dt,cn.set=Qt,le!==void 0&&Qt(le),cn}var S=A,y=function($e){var Qe=new WeakMap;return function(Tt){if(Qe.has(Tt))return Qe.get(Tt);var Ot=$e(Tt);return Qe.set(Tt,Ot),Ot}},w=y,x="/*|*/",T=x+"}";function j(le){le&&D.current.insert(le+"}")}var D={current:null},N=function($e,Qe,Tt,Ot,Ut,At,Pt,Dt,Qt,cn){switch($e){case 1:{switch(Qe.charCodeAt(0)){case 64:return D.current.insert(Qe+";"),"";case 108:if(Qe.charCodeAt(2)===98)return""}break}case 2:{if(Dt===0)return Qe+x;break}case 3:switch(Dt){case 102:case 112:return D.current.insert(Tt[0]+Qe),"";default:return Qe+(cn===0?x:"")}case-2:Qe.split(T).forEach(j)}},F=function($e){$e===void 0&&($e={});var Qe=$e.key||"css",Tt;$e.prefix!==void 0&&(Tt={prefix:$e.prefix});var Ot=new S(Tt),Ut={},At;{At=$e.container||document.head;var Pt=document.querySelectorAll("style[data-emotion-"+Qe+"]");Array.prototype.forEach.call(Pt,function(hn){var _n=hn.getAttribute("data-emotion-"+Qe);_n.split(" ").forEach(function(bn){Ut[bn]=!0}),hn.parentNode!==At&&At.appendChild(hn)})}var Dt;if(Ot.use($e.stylisPlugins)(N),Dt=function(_n,bn,Bn,Tn){var Tr=bn.name;if(D.current=Bn,!1)var Sr;Ot(_n,bn.styles),Tn&&($n.inserted[Tr]=!0)},!1)var Qt,cn;var $n={key:Qe,sheet:new k({key:Qe,container:At,nonce:$e.nonce,speedy:$e.speedy}),nonce:$e.nonce,inserted:Ut,registered:{},insert:Dt};return $n},B=F,U=l("VbXa"),J=!0;function $(le,$e,Qe){var Tt="";return Qe.split(" ").forEach(function(Ot){le[Ot]!==void 0?$e.push(le[Ot]):Tt+=Ot+" "}),Tt}var X=function($e,Qe,Tt){var Ot=$e.key+"-"+Qe.name;if((Tt===!1||J===!1&&$e.compat!==void 0)&&$e.registered[Ot]===void 0&&($e.registered[Ot]=Qe.styles),$e.inserted[Qe.name]===void 0){var Ut=Qe;do{var At=$e.insert("."+Ot,Ut,$e.sheet,!0);Ut=Ut.next}while(Ut!==void 0)}},ee=l("zpY+"),ie=l("ME5O");function G(le){var $e={};return function(Qe){return $e[Qe]===void 0&&($e[Qe]=le(Qe)),$e[Qe]}}var Q=G,W=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,ne="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",te=/[A-Z]|^ms/g,_e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,he=function($e){return $e.charCodeAt(1)===45},oe=function($e){return $e!=null&&typeof $e!="boolean"},ge=Q(function(le){return he(le)?le:le.replace(te,"-$&").toLowerCase()}),me=function($e,Qe){switch($e){case"animation":case"animationName":if(typeof Qe=="string")return Qe.replace(_e,function(Tt,Ot,Ut){return He={name:Ot,styles:Ut,next:He},Ot})}return ie.a[$e]!==1&&!he($e)&&typeof Qe=="number"&&Qe!==0?Qe+"px":Qe};if(!1)var Z,xe,Ee,Le,we,fe;var pe=!0;function Ke(le,$e,Qe,Tt){if(Qe==null)return"";if(Qe.__emotion_styles!==void 0)return Qe;switch(typeof Qe){case"boolean":return"";case"object":{if(Qe.anim===1)return He={name:Qe.name,styles:Qe.styles,next:He},Qe.name;if(Qe.styles!==void 0){var Ot=Qe.next;if(Ot!==void 0)for(;Ot!==void 0;)He={name:Ot.name,styles:Ot.styles,next:He},Ot=Ot.next;var Ut=Qe.styles+";";return Ut}return Me(le,$e,Qe)}case"function":{if(le!==void 0){var At=He,Pt=Qe(le);return He=At,Ke(le,$e,Pt,Tt)}break}case"string":if(!1)var Dt,Qt;break}if($e==null)return Qe;var cn=$e[Qe];return cn!==void 0&&!Tt?cn:Qe}function Me(le,$e,Qe){var Tt="";if(Array.isArray(Qe))for(var Ot=0;Ot<Qe.length;Ot++)Tt+=Ke(le,$e,Qe[Ot],!1);else for(var Ut in Qe){var At=Qe[Ut];if(typeof At!="object")$e!=null&&$e[At]!==void 0?Tt+=Ut+"{"+$e[At]+"}":oe(At)&&(Tt+=ge(Ut)+":"+me(Ut,At)+";");else if(Array.isArray(At)&&typeof At[0]=="string"&&($e==null||$e[At[0]]===void 0))for(var Pt=0;Pt<At.length;Pt++)oe(At[Pt])&&(Tt+=ge(Ut)+":"+me(Ut,At[Pt])+";");else{var Dt=Ke(le,$e,At,!1);switch(Ut){case"animation":case"animationName":{Tt+=ge(Ut)+":"+Dt+";";break}default:Tt+=Ut+"{"+Dt+"}"}}}return Tt}var ze=/label:\s*([^\s;\n{]+)\s*;/g,Ue,He,Ne=function($e,Qe,Tt){if($e.length===1&&typeof $e[0]=="object"&&$e[0]!==null&&$e[0].styles!==void 0)return $e[0];var Ot=!0,Ut="";He=void 0;var At=$e[0];At==null||At.raw===void 0?(Ot=!1,Ut+=Ke(Tt,Qe,At,!1)):Ut+=At[0];for(var Pt=1;Pt<$e.length;Pt++)Ut+=Ke(Tt,Qe,$e[Pt],Ut.charCodeAt(Ut.length-1)===46),Ot&&(Ut+=At[Pt]);var Dt;ze.lastIndex=0;for(var Qt="",cn;(cn=ze.exec(Ut))!==null;)Qt+="-"+cn[1];var $n=Object(ee.a)(Ut)+Qt;return{name:$n,styles:Ut,next:He}},it=Object.prototype.hasOwnProperty,Xe=Object(m.createContext)(typeof HTMLElement!="undefined"?B():null),ht=Object(m.createContext)({}),lt=Xe.Provider,Et=function($e){var Qe=function(Ot,Ut){return Object(m.createElement)(Xe.Consumer,null,function(At){return $e(Ot,At,Ut)})};return Object(m.forwardRef)(Qe)},tt=function($e){return $e.replace(/\$/g,"-")},mt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Xt=function($e,Qe){var Tt={};for(var Ot in Qe)it.call(Qe,Ot)&&(Tt[Ot]=Qe[Ot]);if(Tt[mt]=$e,!1)var Ut,At;return Tt},vt=function(){return null},qe=function($e,Qe,Tt,Ot){var Ut=Tt===null?Qe.css:Qe.css(Tt);typeof Ut=="string"&&$e.registered[Ut]!==void 0&&(Ut=$e.registered[Ut]);var At=Qe[mt],Pt=[Ut],Dt="";typeof Qe.className=="string"?Dt=$($e.registered,Pt,Qe.className):Qe.className!=null&&(Dt=Qe.className+" ");var Qt=Ne(Pt);if(!1)var cn;var $n=X($e,Qt,typeof At=="string");Dt+=$e.key+"-"+Qt.name;var hn={};for(var _n in Qe)it.call(Qe,_n)&&_n!=="css"&&_n!==mt&&(hn[_n]=Qe[_n]);hn.ref=Ot,hn.className=Dt;var bn=Object(m.createElement)(At,hn),Bn=Object(m.createElement)(vt,null);return Object(m.createElement)(m.Fragment,null,Bn,bn)},Re=Et(function(le,$e,Qe){return typeof le.css=="function"?Object(m.createElement)(ht.Consumer,null,function(Tt){return qe($e,le,Tt,Qe)}):qe($e,le,null,Qe)});function Se(){for(var le=arguments.length,$e=new Array(le),Qe=0;Qe<le;Qe++)$e[Qe]=arguments[Qe];return Ne($e)}var Ve=Se,Ge=function($e,Qe){var Tt=arguments;if(Qe==null||!it.call(Qe,"css"))return m.createElement.apply(void 0,Tt);var Ot=Tt.length,Ut=new Array(Ot);Ut[0]=Re,Ut[1]=Xt($e,Qe);for(var At=2;At<Ot;At++)Ut[At]=Tt[At];return m.createElement.apply(null,Ut)},_t=!1,bt=Et(function(le,$e){var Qe=le.styles;if(typeof Qe=="function")return Object(m.createElement)(ht.Consumer,null,function(Ot){var Ut=Ne([Qe(Ot)]);return Object(m.createElement)(gt,{serialized:Ut,cache:$e})});var Tt=Ne([Qe]);return Object(m.createElement)(gt,{serialized:Tt,cache:$e})}),gt=function(le){Object(E.a)($e,le);function $e(Tt,Ot,Ut){return le.call(this,Tt,Ot,Ut)||this}var Qe=$e.prototype;return Qe.componentDidMount=function(){this.sheet=new k({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var Ot=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');Ot!==null&&this.sheet.tags.push(Ot),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},Qe.componentDidUpdate=function(Ot){Ot.serialized.name!==this.props.serialized.name&&this.insertStyles()},Qe.insertStyles=function(){if(this.props.serialized.next!==void 0&&X(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var Ot=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=Ot,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},Qe.componentWillUnmount=function(){this.sheet.flush()},Qe.render=function(){return null},$e}(m.Component),at=function(){var $e=Ve.apply(void 0,arguments),Qe="animation-"+$e.name;return{name:Qe,styles:"@keyframes "+Qe+"{"+$e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},ft=function le($e){for(var Qe=$e.length,Tt=0,Ot="";Tt<Qe;Tt++){var Ut=$e[Tt];if(Ut!=null){var At=void 0;switch(typeof Ut){case"boolean":break;case"object":{if(Array.isArray(Ut))At=le(Ut);else{At="";for(var Pt in Ut)Ut[Pt]&&Pt&&(At&&(At+=" "),At+=Pt)}break}default:At=Ut}At&&(Ot&&(Ot+=" "),Ot+=At)}}return Ot};function Fe(le,$e,Qe){var Tt=[],Ot=$(le,Tt,Qe);return Tt.length<2?Qe:Ot+$e(Tt)}var Te=function(){return null},ut=Et(function(le,$e){return Object(m.createElement)(ht.Consumer,null,function(Qe){var Tt=!1,Ot=function(){for(var cn=arguments.length,$n=new Array(cn),hn=0;hn<cn;hn++)$n[hn]=arguments[hn];var _n=Ne($n,$e.registered);return X($e,_n,!1),$e.key+"-"+_n.name},Ut=function(){for(var cn=arguments.length,$n=new Array(cn),hn=0;hn<cn;hn++)$n[hn]=arguments[hn];return Fe($e.registered,Ot,ft($n))},At={css:Ot,cx:Ut,theme:Qe},Pt=le.children(At);Tt=!0;var Dt=Object(m.createElement)(Te,null);return Object(m.createElement)(m.Fragment,null,Dt,Pt)})})},qLMh:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("QyJ8");function m(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return O};var O={},C=Object.prototype,k=C.hasOwnProperty,A=typeof Symbol=="function"?Symbol:{},S=A.iterator||"@@iterator",y=A.asyncIterator||"@@asyncIterator",w=A.toStringTag||"@@toStringTag";function x(he,oe,ge){return Object.defineProperty(he,oe,{value:ge,enumerable:!0,configurable:!0,writable:!0}),he[oe]}try{x({},"")}catch(he){x=function(ge,me,Z){return ge[me]=Z}}function T(he,oe,ge,me){var Z=oe&&oe.prototype instanceof N?oe:N,xe=Object.create(Z.prototype),Ee=new ne(me||[]);return xe._invoke=function(Le,we,fe){var pe="suspendedStart";return function(Ke,Me){if(pe==="executing")throw new Error("Generator is already running");if(pe==="completed"){if(Ke==="throw")throw Me;return _e()}for(fe.method=Ke,fe.arg=Me;;){var ze=fe.delegate;if(ze){var Ue=G(ze,fe);if(Ue){if(Ue===D)continue;return Ue}}if(fe.method==="next")fe.sent=fe._sent=fe.arg;else if(fe.method==="throw"){if(pe==="suspendedStart")throw pe="completed",fe.arg;fe.dispatchException(fe.arg)}else fe.method==="return"&&fe.abrupt("return",fe.arg);pe="executing";var He=j(Le,we,fe);if(He.type==="normal"){if(pe=fe.done?"completed":"suspendedYield",He.arg===D)continue;return{value:He.arg,done:fe.done}}He.type==="throw"&&(pe="completed",fe.method="throw",fe.arg=He.arg)}}}(he,ge,Ee),xe}function j(he,oe,ge){try{return{type:"normal",arg:he.call(oe,ge)}}catch(me){return{type:"throw",arg:me}}}O.wrap=T;var D={};function N(){}function F(){}function B(){}var U={};x(U,S,function(){return this});var J=Object.getPrototypeOf,$=J&&J(J(te([])));$&&$!==C&&k.call($,S)&&(U=$);var X=B.prototype=N.prototype=Object.create(U);function ee(he){["next","throw","return"].forEach(function(oe){x(he,oe,function(ge){return this._invoke(oe,ge)})})}function ie(he,oe){function ge(Z,xe,Ee,Le){var we=j(he[Z],he,xe);if(we.type!=="throw"){var fe=we.arg,pe=fe.value;return pe&&Object(E.a)(pe)=="object"&&k.call(pe,"__await")?oe.resolve(pe.__await).then(function(Ke){ge("next",Ke,Ee,Le)},function(Ke){ge("throw",Ke,Ee,Le)}):oe.resolve(pe).then(function(Ke){fe.value=Ke,Ee(fe)},function(Ke){return ge("throw",Ke,Ee,Le)})}Le(we.arg)}var me;this._invoke=function(Z,xe){function Ee(){return new oe(function(Le,we){ge(Z,xe,Le,we)})}return me=me?me.then(Ee,Ee):Ee()}}function G(he,oe){var ge=he.iterator[oe.method];if(ge===void 0){if(oe.delegate=null,oe.method==="throw"){if(he.iterator.return&&(oe.method="return",oe.arg=void 0,G(he,oe),oe.method==="throw"))return D;oe.method="throw",oe.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var me=j(ge,he.iterator,oe.arg);if(me.type==="throw")return oe.method="throw",oe.arg=me.arg,oe.delegate=null,D;var Z=me.arg;return Z?Z.done?(oe[he.resultName]=Z.value,oe.next=he.nextLoc,oe.method!=="return"&&(oe.method="next",oe.arg=void 0),oe.delegate=null,D):Z:(oe.method="throw",oe.arg=new TypeError("iterator result is not an object"),oe.delegate=null,D)}function Q(he){var oe={tryLoc:he[0]};1 in he&&(oe.catchLoc=he[1]),2 in he&&(oe.finallyLoc=he[2],oe.afterLoc=he[3]),this.tryEntries.push(oe)}function W(he){var oe=he.completion||{};oe.type="normal",delete oe.arg,he.completion=oe}function ne(he){this.tryEntries=[{tryLoc:"root"}],he.forEach(Q,this),this.reset(!0)}function te(he){if(he){var oe=he[S];if(oe)return oe.call(he);if(typeof he.next=="function")return he;if(!isNaN(he.length)){var ge=-1,me=function Z(){for(;++ge<he.length;)if(k.call(he,ge))return Z.value=he[ge],Z.done=!1,Z;return Z.value=void 0,Z.done=!0,Z};return me.next=me}}return{next:_e}}function _e(){return{value:void 0,done:!0}}return F.prototype=B,x(X,"constructor",B),x(B,"constructor",F),F.displayName=x(B,w,"GeneratorFunction"),O.isGeneratorFunction=function(he){var oe=typeof he=="function"&&he.constructor;return!!oe&&(oe===F||(oe.displayName||oe.name)==="GeneratorFunction")},O.mark=function(he){return Object.setPrototypeOf?Object.setPrototypeOf(he,B):(he.__proto__=B,x(he,w,"GeneratorFunction")),he.prototype=Object.create(X),he},O.awrap=function(he){return{__await:he}},ee(ie.prototype),x(ie.prototype,y,function(){return this}),O.AsyncIterator=ie,O.async=function(he,oe,ge,me,Z){Z===void 0&&(Z=Promise);var xe=new ie(T(he,oe,ge,me),Z);return O.isGeneratorFunction(oe)?xe:xe.next().then(function(Ee){return Ee.done?Ee.value:xe.next()})},ee(X),x(X,w,"Generator"),x(X,S,function(){return this}),x(X,"toString",function(){return"[object Generator]"}),O.keys=function(he){var oe=[];for(var ge in he)oe.push(ge);return oe.reverse(),function me(){for(;oe.length;){var Z=oe.pop();if(Z in he)return me.value=Z,me.done=!1,me}return me.done=!0,me}},O.values=te,ne.prototype={constructor:ne,reset:function(oe){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(W),!oe)for(var ge in this)ge.charAt(0)==="t"&&k.call(this,ge)&&!isNaN(+ge.slice(1))&&(this[ge]=void 0)},stop:function(){this.done=!0;var oe=this.tryEntries[0].completion;if(oe.type==="throw")throw oe.arg;return this.rval},dispatchException:function(oe){if(this.done)throw oe;var ge=this;function me(fe,pe){return Ee.type="throw",Ee.arg=oe,ge.next=fe,pe&&(ge.method="next",ge.arg=void 0),!!pe}for(var Z=this.tryEntries.length-1;Z>=0;--Z){var xe=this.tryEntries[Z],Ee=xe.completion;if(xe.tryLoc==="root")return me("end");if(xe.tryLoc<=this.prev){var Le=k.call(xe,"catchLoc"),we=k.call(xe,"finallyLoc");if(Le&&we){if(this.prev<xe.catchLoc)return me(xe.catchLoc,!0);if(this.prev<xe.finallyLoc)return me(xe.finallyLoc)}else if(Le){if(this.prev<xe.catchLoc)return me(xe.catchLoc,!0)}else{if(!we)throw new Error("try statement without catch or finally");if(this.prev<xe.finallyLoc)return me(xe.finallyLoc)}}}},abrupt:function(oe,ge){for(var me=this.tryEntries.length-1;me>=0;--me){var Z=this.tryEntries[me];if(Z.tryLoc<=this.prev&&k.call(Z,"finallyLoc")&&this.prev<Z.finallyLoc){var xe=Z;break}}xe&&(oe==="break"||oe==="continue")&&xe.tryLoc<=ge&&ge<=xe.finallyLoc&&(xe=null);var Ee=xe?xe.completion:{};return Ee.type=oe,Ee.arg=ge,xe?(this.method="next",this.next=xe.finallyLoc,D):this.complete(Ee)},complete:function(oe,ge){if(oe.type==="throw")throw oe.arg;return oe.type==="break"||oe.type==="continue"?this.next=oe.arg:oe.type==="return"?(this.rval=this.arg=oe.arg,this.method="return",this.next="end"):oe.type==="normal"&&ge&&(this.next=ge),D},finish:function(oe){for(var ge=this.tryEntries.length-1;ge>=0;--ge){var me=this.tryEntries[ge];if(me.finallyLoc===oe)return this.complete(me.completion,me.afterLoc),W(me),D}},catch:function(oe){for(var ge=this.tryEntries.length-1;ge>=0;--ge){var me=this.tryEntries[ge];if(me.tryLoc===oe){var Z=me.completion;if(Z.type==="throw"){var xe=Z.arg;W(me)}return xe}}throw new Error("illegal catch attempt")},delegateYield:function(oe,ge,me){return this.delegate={iterator:te(oe),resultName:ge,nextLoc:me},this.method==="next"&&(this.arg=void 0),D}},O}},qPyV:function(ce,R,l){var E=l("ut/Y"),m=l("LGYb");function O(C,k){return C&&C.length?m(C,E(k,2)):[]}ce.exports=O},qT12:function(ce,R,l){"use strict";/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=typeof Symbol=="function"&&Symbol.for,m=E?Symbol.for("react.element"):60103,O=E?Symbol.for("react.portal"):60106,C=E?Symbol.for("react.fragment"):60107,k=E?Symbol.for("react.strict_mode"):60108,A=E?Symbol.for("react.profiler"):60114,S=E?Symbol.for("react.provider"):60109,y=E?Symbol.for("react.context"):60110,w=E?Symbol.for("react.async_mode"):60111,x=E?Symbol.for("react.concurrent_mode"):60111,T=E?Symbol.for("react.forward_ref"):60112,j=E?Symbol.for("react.suspense"):60113,D=E?Symbol.for("react.suspense_list"):60120,N=E?Symbol.for("react.memo"):60115,F=E?Symbol.for("react.lazy"):60116,B=E?Symbol.for("react.block"):60121,U=E?Symbol.for("react.fundamental"):60117,J=E?Symbol.for("react.responder"):60118,$=E?Symbol.for("react.scope"):60119;function X(ie){if(typeof ie=="object"&&ie!==null){var G=ie.$$typeof;switch(G){case m:switch(ie=ie.type,ie){case w:case x:case C:case A:case k:case j:return ie;default:switch(ie=ie&&ie.$$typeof,ie){case y:case T:case F:case N:case S:return ie;default:return G}}case O:return G}}}function ee(ie){return X(ie)===x}R.AsyncMode=w,R.ConcurrentMode=x,R.ContextConsumer=y,R.ContextProvider=S,R.Element=m,R.ForwardRef=T,R.Fragment=C,R.Lazy=F,R.Memo=N,R.Portal=O,R.Profiler=A,R.StrictMode=k,R.Suspense=j,R.isAsyncMode=function(ie){return ee(ie)||X(ie)===w},R.isConcurrentMode=ee,R.isContextConsumer=function(ie){return X(ie)===y},R.isContextProvider=function(ie){return X(ie)===S},R.isElement=function(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===m},R.isForwardRef=function(ie){return X(ie)===T},R.isFragment=function(ie){return X(ie)===C},R.isLazy=function(ie){return X(ie)===F},R.isMemo=function(ie){return X(ie)===N},R.isPortal=function(ie){return X(ie)===O},R.isProfiler=function(ie){return X(ie)===A},R.isStrictMode=function(ie){return X(ie)===k},R.isSuspense=function(ie){return X(ie)===j},R.isValidElementType=function(ie){return typeof ie=="string"||typeof ie=="function"||ie===C||ie===x||ie===A||ie===k||ie===j||ie===D||typeof ie=="object"&&ie!==null&&(ie.$$typeof===F||ie.$$typeof===N||ie.$$typeof===S||ie.$$typeof===y||ie.$$typeof===T||ie.$$typeof===U||ie.$$typeof===J||ie.$$typeof===$||ie.$$typeof===B)},R.typeOf=X},qVdP:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("KAsB"),C=l.n(O),k=l("+L6B"),A=l("lUTK"),S=l("DYRE")},qZTm:function(ce,R,l){var E=l("fR/l"),m=l("MvSz"),O=l("7GkX");function C(k){return E(k,O,m)}ce.exports=C},qcmB:function(ce,R,l){var E=l("f1E4"),m=l("9SZg");ce.exports=function(O){var C=m(O);if(typeof C!="function")throw TypeError(String(O)+" is not iterable");return E(C.call(O))}},qeMI:function(ce,R,l){"use strict";l.d(R,"b",function(){return $e}),l.d(R,"a",function(){return _n});var E=l("qLMh"),m=l("9og8"),O=l("k1fw"),C=l("tJVT"),k=l("q1tI"),A=l.n(k),S=l("at8e"),y=l("rAM+"),w=function(){},x=w(),T=Object,j=function(Tn){return Tn===x},D=function(Tn){return typeof Tn=="function"},N=function(Tn,Tr){return Object(O.a)(Object(O.a)({},Tn),Tr)},F=function(Tn){return D(Tn.then)},B=new WeakMap,U=0,J=function Bn(Tn){var Tr=typeof Tn,Sr=Tn&&Tn.constructor,Wr=Sr==Date,br,Wn;if(T(Tn)===Tn&&!Wr&&Sr!=RegExp){if(br=B.get(Tn),br)return br;if(br=++U+"~",B.set(Tn,br),Sr==Array){for(br="@",Wn=0;Wn<Tn.length;Wn++)br+=Bn(Tn[Wn])+",";B.set(Tn,br)}if(Sr==T){br="#";for(var gr=T.keys(Tn).sort();!j(Wn=gr.pop());)j(Tn[Wn])||(br+=Wn+":"+Bn(Tn[Wn])+",");B.set(Tn,br)}}else br=Wr?Tn.toJSON():Tr=="symbol"?Tn.toString():Tr=="string"?JSON.stringify(Tn):""+Tn;return br},$=new WeakMap,X={},ee={},ie="undefined",G=typeof window!=ie,Q=typeof document!=ie,W=function(){return G&&typeof window.requestAnimationFrame!=ie},ne=function(Tn,Tr){var Sr=$.get(Tn);return[function(){return!j(Tr)&&Tn.get(Tr)||X},function(Wr){if(!j(Tr)){var br=Tn.get(Tr);Tr in ee||(ee[Tr]=br),Sr[5](Tr,N(br,Wr),br||X)}},Sr[6],function(){return!j(Tr)&&Tr in ee?ee[Tr]:!j(Tr)&&Tn.get(Tr)||X}]},te=!0,_e=function(){return te},he=G&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[w,w],oe=Object(C.a)(he,2),ge=oe[0],me=oe[1],Z=function(){var Tn=Q&&document.visibilityState;return j(Tn)||Tn!=="hidden"},xe=function(Tn){return Q&&document.addEventListener("visibilitychange",Tn),ge("focus",Tn),function(){Q&&document.removeEventListener("visibilitychange",Tn),me("focus",Tn)}},Ee=function(Tn){var Tr=function(){te=!0,Tn()},Sr=function(){te=!1};return ge("online",Tr),ge("offline",Sr),function(){me("online",Tr),me("offline",Sr)}},Le={isOnline:_e,isVisible:Z},we={initFocus:xe,initReconnect:Ee},fe=!A.a.useId,pe=!G||"Deno"in window,Ke=function(Tn){return W()?window.requestAnimationFrame(Tn):setTimeout(Tn,1)},Me=pe?k.useEffect:k.useLayoutEffect,ze=typeof navigator!="undefined"&&navigator.connection,Ue=!pe&&ze&&(["slow-2g","2g"].includes(ze.effectiveType)||ze.saveData),He=function(Tn){if(D(Tn))try{Tn=Tn()}catch(Sr){Tn=""}var Tr=Tn;return Tn=typeof Tn=="string"?Tn:(Array.isArray(Tn)?Tn.length:Tn)?J(Tn):"",[Tn,Tr]},Ne=0,it=function(){return++Ne},Xe=0,ht=1,lt=2,Et=3,tt={__proto__:null,ERROR_REVALIDATE_EVENT:Et,FOCUS_EVENT:Xe,MUTATE_EVENT:lt,RECONNECT_EVENT:ht};function mt(){return xt.apply(this,arguments)}function xt(){return xt=Object(m.a)(Object(E.a)().mark(function Bn(){var Tn,Tr,Sr,Wr,br,Wn,gr,na,jn,un,zt,Bt,H,ot,nt,Ct,Wt,kn,Sn,Zn,Or,Yn,Nn=arguments;return Object(E.a)().wrap(function(rr){for(;;)switch(rr.prev=rr.next){case 0:for(Yn=function(){return Yn=Object(m.a)(Object(E.a)().mark(function ln(Xn){var Kn,fr,Hn,Sa,Lr,Ca,za,Ma,va,qa,gi,Qi,mi,Cr,Un,Lt,gn,Ln,kr,ea,Qr,Na,ar,pi;return Object(E.a)().wrap(function(ti){for(;;)switch(ti.prev=ti.next){case 0:if(Kn=He(Xn),fr=Object(C.a)(Kn,1),Hn=fr[0],Hn){ti.next=3;break}return ti.abrupt("return");case 3:if(Sa=ne(Wr,Hn),Lr=Object(C.a)(Sa,2),Ca=Lr[0],za=Lr[1],Ma=$.get(Wr),va=Object(C.a)(Ma,4),qa=va[0],gi=va[1],Qi=va[2],mi=va[3],Cr=qa[Hn],Un=function(){return Bt&&(delete Qi[Hn],delete mi[Hn],Cr&&Cr[0])?Cr[0](lt).then(function(){return Ca().data}):Ca().data},!(Tr.length<3)){ti.next=9;break}return ti.abrupt("return",Un());case 9:if(Lt=Wn,Ln=it(),gi[Hn]=[Ln,0],kr=!j(zt),ea=Ca(),Qr=ea.data,Na=ea._c,ar=j(Na)?Qr:Na,kr&&(zt=D(zt)?zt(ar,Qr):zt,za({data:zt,_c:ar})),D(Lt))try{Lt=Lt(ar)}catch(ui){gn=ui}if(!(Lt&&F(Lt))){ti.next=30;break}return ti.next=22,Lt.catch(function(ui){gn=ui});case 22:if(Lt=ti.sent,Ln===gi[Hn][0]){ti.next=29;break}if(!gn){ti.next=26;break}throw gn;case 26:return ti.abrupt("return",Lt);case 29:gn&&kr&&H(gn)&&(jn=!0,Lt=ar,za({data:Lt,_c:x}));case 30:return jn&&(gn||(D(jn)&&(Lt=jn(Lt,ar)),za({data:Lt,error:x,_c:x}))),gi[Hn][1]=it(),ti.next=34,Un();case 34:if(pi=ti.sent,za({_c:x}),!gn){ti.next=40;break}if(!ot){ti.next=39;break}throw gn;case 39:return ti.abrupt("return");case 40:return ti.abrupt("return",jn?pi:Lt);case 41:case"end":return ti.stop()}},ln)})),Yn.apply(this,arguments)},Or=function(ln){return Yn.apply(this,arguments)},Tn=Nn.length,Tr=new Array(Tn),Sr=0;Sr<Tn;Sr++)Tr[Sr]=Nn[Sr];if(Wr=Tr[0],br=Tr[1],Wn=Tr[2],gr=Tr[3],na=N({populateCache:!0,throwOnError:!0},typeof gr=="boolean"?{revalidate:gr}:gr||{}),jn=na.populateCache,un=na.rollbackOnError,zt=na.optimisticData,Bt=na.revalidate!==!1,H=function(ln){return typeof un=="function"?un(ln):un!==!1},ot=na.throwOnError,!D(br)){rr.next=18;break}nt=br,Ct=[],Wt=Wr.keys(),kn=Object(y.a)(Wt);try{for(kn.s();!(Sn=kn.n()).done;)Zn=Sn.value,!/^\$(inf|sub)\$/.test(Zn)&&nt(Wr.get(Zn)._k)&&Ct.push(Zn)}catch(Gn){kn.e(Gn)}finally{kn.f()}return rr.abrupt("return",Promise.all(Ct.map(Or)));case 18:return rr.abrupt("return",Or(br));case 19:case"end":return rr.stop()}},Bn)})),xt.apply(this,arguments)}var Xt=function(Tn,Tr){for(var Sr in Tn)Tn[Sr][0]&&Tn[Sr][0](Tr)},vt=function(Tn,Tr){if(!$.has(Tn)){var Sr=N(we,Tr),Wr={},br=mt.bind(x,Tn),Wn=w,gr={},na=function(Bt,H){var ot=gr[Bt]||[];return gr[Bt]=ot,ot.push(H),function(){return ot.splice(ot.indexOf(H),1)}},jn=function(Bt,H,ot){Tn.set(Bt,H);var nt=gr[Bt];if(nt){var Ct=Object(y.a)(nt),Wt;try{for(Ct.s();!(Wt=Ct.n()).done;){var kn=Wt.value;kn(H,ot)}}catch(Sn){Ct.e(Sn)}finally{Ct.f()}}},un=function(){if(!$.has(Tn)&&($.set(Tn,[Wr,{},{},{},br,jn,na]),!pe)){var Bt=Sr.initFocus(setTimeout.bind(x,Xt.bind(x,Wr,Xe))),H=Sr.initReconnect(setTimeout.bind(x,Xt.bind(x,Wr,ht)));Wn=function(){Bt&&Bt(),H&&H(),$.delete(Tn)}}};return un(),[Tn,br,un,Wn]}return[Tn,$.get(Tn)[4]]},qe=function(Tn,Tr,Sr,Wr,br){var Wn=Sr.errorRetryCount,gr=br.retryCount,na=~~((Math.random()+.5)*(1<<(gr<8?gr:8)))*Sr.errorRetryInterval;!j(Wn)&&gr>Wn||setTimeout(Wr,na,br)},Re=function(Tn,Tr){return J(Tn)==J(Tr)},Se=vt(new Map),Ve=Object(C.a)(Se,2),Ge=Ve[0],_t=Ve[1],bt=N({onLoadingSlow:w,onSuccess:w,onError:w,onErrorRetry:qe,onDiscarded:w,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ue?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ue?5e3:3e3,compare:Re,isPaused:function(){return!1},cache:Ge,mutate:_t,fallback:{}},Le),gt=function(Tn,Tr){var Sr=N(Tn,Tr);if(Tr){var Wr=Tn.use,br=Tn.fallback,Wn=Tr.use,gr=Tr.fallback;Wr&&Wn&&(Sr.use=Wr.concat(Wn)),br&&gr&&(Sr.fallback=N(br,gr))}return Sr},at=Object(k.createContext)({}),ft=function(Tn){var Tr=Tn.value,Sr=Object(k.useContext)(at),Wr=D(Tr),br=Object(k.useMemo)(function(){return Wr?Tr(Sr):Tr},[Wr,Sr,Tr]),Wn=Object(k.useMemo)(function(){return Wr?br:gt(Sr,br)},[Wr,Sr,br]),gr=br&&br.provider,na=Object(k.useRef)(x);gr&&!na.current&&(na.current=vt(gr(Wn.cache||Ge),br));var jn=na.current;return jn&&(Wn.cache=jn[0],Wn.mutate=jn[1]),Me(function(){if(jn)return jn[2]&&jn[2](),jn[3]},[]),Object(k.createElement)(at.Provider,N(Tn,{value:Wn}))},Fe=G&&window.__SWR_DEVTOOLS_USE__,Te=Fe?window.__SWR_DEVTOOLS_USE__:[],ut=function(){Fe&&(window.__SWR_DEVTOOLS_REACT__=A.a)},le=function(Tn){return D(Tn[1])?[Tn[0],Tn[1],Tn[2]||{}]:[Tn[0],null,(Tn[1]===null?Tn[2]:Tn[1])||{}]},$e=function(){return N(bt,Object(k.useContext)(at))},Qe=function(Tn,Tr){var Sr=He(Tn),Wr=Object(C.a)(Sr,2),br=Wr[0],Wn=Wr[1],gr=$.get(Ge),na=Object(C.a)(gr,4),jn=na[3];if(jn[br])return jn[br];var un=Tr(Wn);return jn[br]=un,un},Tt=function(Tn){return function(Tr,Sr,Wr){var br=Sr&&function(){var Wn=He(Tr),gr=Object(C.a)(Wn,1),na=gr[0],jn=$.get(Ge),un=Object(C.a)(jn,4),zt=un[3],Bt=zt[na];return j(Bt)?Sr.apply(void 0,arguments):(delete zt[na],Bt)};return Tn(Tr,br,Wr)}},Ot=Te.concat(Tt),Ut=function(Tn){return function(){for(var Sr=$e(),Wr=arguments.length,br=new Array(Wr),Wn=0;Wn<Wr;Wn++)br[Wn]=arguments[Wn];for(var gr=le(br),na=Object(C.a)(gr,3),jn=na[0],un=na[1],zt=na[2],Bt=gt(Sr,zt),H=Tn,ot=Bt.use,nt=(ot||[]).concat(Ot),Ct=nt.length;Ct--;)H=nt[Ct](H);return H(jn,un||Bt.fetcher||null,Bt)}},At=function(Tn){var Tr=Object(k.useState)({})[1],Sr=Object(k.useRef)(!1),Wr=Object(k.useRef)(Tn),br=Object(k.useRef)({data:!1,error:!1,isValidating:!1}),Wn=Object(k.useCallback)(function(gr){var na=!1,jn=Wr.current;for(var un in gr){var zt=un;jn[zt]!==gr[zt]&&(jn[zt]=gr[zt],br.current[zt]&&(na=!0))}na&&!Sr.current&&(fe?Tr({}):A.a.startTransition(function(){return Tr({})}))},[Tr]);return Me(function(){return Sr.current=!1,function(){Sr.current=!0}}),[Wr,br.current,Wn]},Pt=function(Tn,Tr,Sr){var Wr=Tr[Tn]||(Tr[Tn]=[]);return Wr.push(Sr),function(){var br=Wr.indexOf(Sr);br>=0&&(Wr[br]=Wr[Wr.length-1],Wr.pop())}},Dt=function(Tn,Tr){return function(){for(var Sr=arguments.length,Wr=new Array(Sr),br=0;br<Sr;br++)Wr[br]=arguments[br];var Wn=le(Wr),gr=Object(C.a)(Wn,3),na=gr[0],jn=gr[1],un=gr[2],zt=(un.use||[]).concat(Tr);return Tn(na,jn,Object(O.a)(Object(O.a)({},un),{},{use:zt}))}};ut();var Qt=function(Tn){return He(Tn)[0]},cn=A.a.use||function(Bn){if(Bn.status==="pending")throw Bn;if(Bn.status==="fulfilled")return Bn.value;throw Bn.status==="rejected"?Bn.reason:(Bn.status="pending",Bn.then(function(Tn){Bn.status="fulfilled",Bn.value=Tn},function(Tn){Bn.status="rejected",Bn.reason=Tn}),Bn)},$n={dedupe:!0},hn=function(Tn,Tr,Sr){var Wr=Sr.cache,br=Sr.compare,Wn=Sr.suspense,gr=Sr.fallbackData,na=Sr.revalidateOnMount,jn=Sr.revalidateIfStale,un=Sr.refreshInterval,zt=Sr.refreshWhenHidden,Bt=Sr.refreshWhenOffline,H=Sr.keepPreviousData,ot=$.get(Wr),nt=Object(C.a)(ot,4),Ct=nt[0],Wt=nt[1],kn=nt[2],Sn=nt[3],Zn=He(Tn),Or=Object(C.a)(Zn,2),Yn=Or[0],Nn=Or[1],Zt=Object(k.useRef)(!1),rr=Object(k.useRef)(!1),Gn=Object(k.useRef)(Yn),ln=Object(k.useRef)(Tr),Xn=Object(k.useRef)(Sr),Kn=function(){return Xn.current},fr=function(){return Kn().isVisible()&&Kn().isOnline()},Hn=ne(Wr,Yn),Sa=Object(C.a)(Hn,4),Lr=Sa[0],Ca=Sa[1],za=Sa[2],Ma=Sa[3],va=Object(k.useRef)({}).current,qa=j(gr)?Sr.fallback[Yn]:gr,gi=function(Fi,Si){for(var qi in va){var eo=qi;if(eo==="data"){if(!br(Fi[eo],Si[eo])&&(!j(Fi[eo])||!br(ea,Si[eo])))return!1}else if(Si[eo]!==Fi[eo])return!1}return!0},Qi=Object(k.useMemo)(function(){var Zi=function(){return!Yn||!Tr?!1:j(na)?Kn().isPaused()||Wn?!1:j(jn)?!0:jn:na}(),Fi=function(sa){var Da=N(sa);return delete Da._k,Zi?Object(O.a)({isValidating:!0,isLoading:!0},Da):Da},Si=Lr(),qi=Ma(),eo=Fi(Si),xo=Si===qi?eo:Fi(qi),cs=eo;return[function(){var ba=Fi(Lr()),sa=gi(ba,cs);return sa?(cs.data=ba.data,cs.isLoading=ba.isLoading,cs.isValidating=ba.isValidating,cs.error=ba.error,cs):(cs=ba,ba)},function(){return xo}]},[Wr,Yn]),mi=Object(S.useSyncExternalStore)(Object(k.useCallback)(function(Zi){return za(Yn,function(Fi,Si){gi(Si,Fi)||Zi()})},[Wr,Yn]),Qi[0],Qi[1]),Cr=!Zt.current,Un=Ct[Yn]&&Ct[Yn].length>0,Lt=mi.data,gn=j(Lt)?qa:Lt,Ln=mi.error,kr=Object(k.useRef)(gn),ea=H?j(Lt)?kr.current:Lt:gn,Qr=function(){return Un&&!j(Ln)?!1:Cr&&!j(na)?na:Kn().isPaused()?!1:Wn?j(gn)?!1:jn:j(gn)||jn}(),Na=!!(Yn&&Tr&&Cr&&Qr),ar=j(mi.isValidating)?Na:mi.isValidating,pi=j(mi.isLoading)?Na:mi.isLoading,_i=Object(k.useCallback)(function(){var Zi=Object(m.a)(Object(E.a)().mark(function Fi(Si){var qi,eo,xo,cs,ba,sa,Da,On,xn,Rt,mr,ta,ma,Oa,Pn,Kr;return Object(E.a)().wrap(function(tr){for(;;)switch(tr.prev=tr.next){case 0:if(qi=ln.current,!(!Yn||!qi||rr.current||Kn().isPaused())){tr.next=3;break}return tr.abrupt("return",!1);case 3:return cs=!0,ba=Si||{},sa=!kn[Yn]||!ba.dedupe,Da=function(){return fe?!rr.current&&Yn===Gn.current&&Zt.current:Yn===Gn.current},On={isValidating:!1,isLoading:!1},xn=function(){Ca(On)},Rt=function(){var Ja=kn[Yn];Ja&&Ja[1]===xo&&delete kn[Yn]},mr={isValidating:!0},j(Lr().data)&&(mr.isLoading=!0),tr.prev=12,sa&&(Ca(mr),Sr.loadingTimeout&&j(Lr().data)&&setTimeout(function(){cs&&Da()&&Kn().onLoadingSlow(Yn,Sr)},Sr.loadingTimeout),kn[Yn]=[qi(Nn),it()]),ta=Object(C.a)(kn[Yn],2),eo=ta[0],xo=ta[1],tr.next=19,eo;case 19:if(eo=tr.sent,sa&&setTimeout(Rt,Sr.dedupingInterval),!(!kn[Yn]||kn[Yn][1]!==xo)){tr.next=24;break}return sa&&Da()&&Kn().onDiscarded(Yn),tr.abrupt("return",!1);case 24:if(On.error=x,ma=Wt[Yn],!(!j(ma)&&(xo<=ma[0]||xo<=ma[1]||ma[1]===0))){tr.next=30;break}return xn(),sa&&Da()&&Kn().onDiscarded(Yn),tr.abrupt("return",!1);case 30:Oa=Lr().data,On.data=br(Oa,eo)?Oa:eo,sa&&Da()&&Kn().onSuccess(eo,Yn,Sr),tr.next=41;break;case 35:tr.prev=35,tr.t0=tr.catch(12),Rt(),Pn=Kn(),Kr=Pn.shouldRetryOnError,Pn.isPaused()||(On.error=tr.t0,sa&&Da()&&(Pn.onError(tr.t0,Yn,Pn),(Kr===!0||D(Kr)&&Kr(tr.t0))&&fr()&&Pn.onErrorRetry(tr.t0,Yn,Pn,function(Ea){var Ja=Ct[Yn];Ja&&Ja[0]&&Ja[0](tt.ERROR_REVALIDATE_EVENT,Ea)},{retryCount:(ba.retryCount||0)+1,dedupe:!0})));case 41:return cs=!1,xn(),tr.abrupt("return",!0);case 44:case"end":return tr.stop()}},Fi,null,[[12,35]])}));return function(Fi){return Zi.apply(this,arguments)}}(),[Yn,Wr]),ti=Object(k.useCallback)(function(){for(var Zi=arguments.length,Fi=new Array(Zi),Si=0;Si<Zi;Si++)Fi[Si]=arguments[Si];return mt.apply(void 0,[Wr,Gn.current].concat(Fi))},[]);if(Me(function(){ln.current=Tr,Xn.current=Sr,j(Lt)||(kr.current=Lt)}),Me(function(){if(!!Yn){var Zi=_i.bind(x,$n),Fi=0,Si=function(xo){var cs=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(xo==tt.FOCUS_EVENT){var ba=Date.now();Kn().revalidateOnFocus&&ba>Fi&&fr()&&(Fi=ba+Kn().focusThrottleInterval,Zi())}else if(xo==tt.RECONNECT_EVENT)Kn().revalidateOnReconnect&&fr()&&Zi();else{if(xo==tt.MUTATE_EVENT)return _i();if(xo==tt.ERROR_REVALIDATE_EVENT)return _i(cs)}},qi=Pt(Yn,Ct,Si);return rr.current=!1,Gn.current=Yn,Zt.current=!0,Ca({_k:Nn}),Qr&&(j(gn)||pe?Zi():Ke(Zi)),function(){rr.current=!0,qi()}}},[Yn]),Me(function(){var Zi;function Fi(){var qi=D(un)?un(Lr().data):un;qi&&Zi!==-1&&(Zi=setTimeout(Si,qi))}function Si(){!Lr().error&&(zt||Kn().isVisible())&&(Bt||Kn().isOnline())?_i($n).then(Fi):Fi()}return Fi(),function(){Zi&&(clearTimeout(Zi),Zi=-1)}},[un,zt,Bt,Yn]),Object(k.useDebugValue)(ea),Wn&&j(gn)&&Yn){if(!fe&&pe)throw new Error("Fallback data is required when using suspense in SSR.");ln.current=Tr,Xn.current=Sr,rr.current=!1;var ui=Sn[Yn];if(!j(ui)){var Ri=ti(ui);cn(Ri)}if(j(Ln)){var ao=_i($n);j(ea)||(ao.status="fulfilled",ao.value=!0),cn(ao)}else throw Ln}return{mutate:ti,get data(){return va.data=!0,ea},get error(){return va.error=!0,Ln},get isValidating(){return va.isValidating=!0,ar},get isLoading(){return va.isLoading=!0,pi}}},_n=T.defineProperty(ft,"defaultValue",{value:bt}),bn=Ut(hn)},qhky:function(ce,R,l){"use strict";(function(E){l.d(R,"a",function(){return Ge});var m=l("17x9"),O=l.n(m),C=l("8+s/"),k=l.n(C),A=l("bmMU"),S=l.n(A),y=l("q1tI"),w=l.n(y),x=l("MgzW"),T=l.n(x),j={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},D={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},N=Object.keys(D).map(function(bt){return D[bt]}),F={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},B={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},U={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},J=Object.keys(B).reduce(function(bt,gt){return bt[B[gt]]=gt,bt},{}),$=[D.NOSCRIPT,D.SCRIPT,D.STYLE],X="data-react-helmet",ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(bt){return typeof bt}:function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},ie=function(gt,at){if(!(gt instanceof at))throw new TypeError("Cannot call a class as a function")},G=function(){function bt(gt,at){for(var ft=0;ft<at.length;ft++){var Fe=at[ft];Fe.enumerable=Fe.enumerable||!1,Fe.configurable=!0,"value"in Fe&&(Fe.writable=!0),Object.defineProperty(gt,Fe.key,Fe)}}return function(gt,at,ft){return at&&bt(gt.prototype,at),ft&&bt(gt,ft),gt}}(),Q=Object.assign||function(bt){for(var gt=1;gt<arguments.length;gt++){var at=arguments[gt];for(var ft in at)Object.prototype.hasOwnProperty.call(at,ft)&&(bt[ft]=at[ft])}return bt},W=function(gt,at){if(typeof at!="function"&&at!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof at);gt.prototype=Object.create(at&&at.prototype,{constructor:{value:gt,enumerable:!1,writable:!0,configurable:!0}}),at&&(Object.setPrototypeOf?Object.setPrototypeOf(gt,at):gt.__proto__=at)},ne=function(gt,at){var ft={};for(var Fe in gt)at.indexOf(Fe)>=0||!Object.prototype.hasOwnProperty.call(gt,Fe)||(ft[Fe]=gt[Fe]);return ft},te=function(gt,at){if(!gt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return at&&(typeof at=="object"||typeof at=="function")?at:gt},_e=function(gt){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return at===!1?String(gt):String(gt).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},he=function(gt){var at=xe(gt,D.TITLE),ft=xe(gt,U.TITLE_TEMPLATE);if(ft&&at)return ft.replace(/%s/g,function(){return Array.isArray(at)?at.join(""):at});var Fe=xe(gt,U.DEFAULT_TITLE);return at||Fe||void 0},oe=function(gt){return xe(gt,U.ON_CHANGE_CLIENT_STATE)||function(){}},ge=function(gt,at){return at.filter(function(ft){return typeof ft[gt]!="undefined"}).map(function(ft){return ft[gt]}).reduce(function(ft,Fe){return Q({},ft,Fe)},{})},me=function(gt,at){return at.filter(function(ft){return typeof ft[D.BASE]!="undefined"}).map(function(ft){return ft[D.BASE]}).reverse().reduce(function(ft,Fe){if(!ft.length)for(var Te=Object.keys(Fe),ut=0;ut<Te.length;ut++){var le=Te[ut],$e=le.toLowerCase();if(gt.indexOf($e)!==-1&&Fe[$e])return ft.concat(Fe)}return ft},[])},Z=function(gt,at,ft){var Fe={};return ft.filter(function(Te){return Array.isArray(Te[gt])?!0:(typeof Te[gt]!="undefined"&&Ke("Helmet: "+gt+' should be of type "Array". Instead found type "'+ee(Te[gt])+'"'),!1)}).map(function(Te){return Te[gt]}).reverse().reduce(function(Te,ut){var le={};ut.filter(function(Ut){for(var At=void 0,Pt=Object.keys(Ut),Dt=0;Dt<Pt.length;Dt++){var Qt=Pt[Dt],cn=Qt.toLowerCase();at.indexOf(cn)!==-1&&!(At===F.REL&&Ut[At].toLowerCase()==="canonical")&&!(cn===F.REL&&Ut[cn].toLowerCase()==="stylesheet")&&(At=cn),at.indexOf(Qt)!==-1&&(Qt===F.INNER_HTML||Qt===F.CSS_TEXT||Qt===F.ITEM_PROP)&&(At=Qt)}if(!At||!Ut[At])return!1;var $n=Ut[At].toLowerCase();return Fe[At]||(Fe[At]={}),le[At]||(le[At]={}),Fe[At][$n]?!1:(le[At][$n]=!0,!0)}).reverse().forEach(function(Ut){return Te.push(Ut)});for(var $e=Object.keys(le),Qe=0;Qe<$e.length;Qe++){var Tt=$e[Qe],Ot=T()({},Fe[Tt],le[Tt]);Fe[Tt]=Ot}return Te},[]).reverse()},xe=function(gt,at){for(var ft=gt.length-1;ft>=0;ft--){var Fe=gt[ft];if(Fe.hasOwnProperty(at))return Fe[at]}return null},Ee=function(gt){return{baseTag:me([F.HREF,F.TARGET],gt),bodyAttributes:ge(j.BODY,gt),defer:xe(gt,U.DEFER),encode:xe(gt,U.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ge(j.HTML,gt),linkTags:Z(D.LINK,[F.REL,F.HREF],gt),metaTags:Z(D.META,[F.NAME,F.CHARSET,F.HTTPEQUIV,F.PROPERTY,F.ITEM_PROP],gt),noscriptTags:Z(D.NOSCRIPT,[F.INNER_HTML],gt),onChangeClientState:oe(gt),scriptTags:Z(D.SCRIPT,[F.SRC,F.INNER_HTML],gt),styleTags:Z(D.STYLE,[F.CSS_TEXT],gt),title:he(gt),titleAttributes:ge(j.TITLE,gt)}},Le=function(){var bt=Date.now();return function(gt){var at=Date.now();at-bt>16?(bt=at,gt(at)):setTimeout(function(){Le(gt)},0)}}(),we=function(gt){return clearTimeout(gt)},fe=typeof window!="undefined"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Le:E.requestAnimationFrame||Le,pe=typeof window!="undefined"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||we:E.cancelAnimationFrame||we,Ke=function(gt){return console&&typeof console.warn=="function"&&console.warn(gt)},Me=null,ze=function(gt){Me&&pe(Me),gt.defer?Me=fe(function(){Ue(gt,function(){Me=null})}):(Ue(gt),Me=null)},Ue=function(gt,at){var ft=gt.baseTag,Fe=gt.bodyAttributes,Te=gt.htmlAttributes,ut=gt.linkTags,le=gt.metaTags,$e=gt.noscriptTags,Qe=gt.onChangeClientState,Tt=gt.scriptTags,Ot=gt.styleTags,Ut=gt.title,At=gt.titleAttributes;it(D.BODY,Fe),it(D.HTML,Te),Ne(Ut,At);var Pt={baseTag:Xe(D.BASE,ft),linkTags:Xe(D.LINK,ut),metaTags:Xe(D.META,le),noscriptTags:Xe(D.NOSCRIPT,$e),scriptTags:Xe(D.SCRIPT,Tt),styleTags:Xe(D.STYLE,Ot)},Dt={},Qt={};Object.keys(Pt).forEach(function(cn){var $n=Pt[cn],hn=$n.newTags,_n=$n.oldTags;hn.length&&(Dt[cn]=hn),_n.length&&(Qt[cn]=Pt[cn].oldTags)}),at&&at(),Qe(gt,Dt,Qt)},He=function(gt){return Array.isArray(gt)?gt.join(""):gt},Ne=function(gt,at){typeof gt!="undefined"&&document.title!==gt&&(document.title=He(gt)),it(D.TITLE,at)},it=function(gt,at){var ft=document.getElementsByTagName(gt)[0];if(!!ft){for(var Fe=ft.getAttribute(X),Te=Fe?Fe.split(","):[],ut=[].concat(Te),le=Object.keys(at),$e=0;$e<le.length;$e++){var Qe=le[$e],Tt=at[Qe]||"";ft.getAttribute(Qe)!==Tt&&ft.setAttribute(Qe,Tt),Te.indexOf(Qe)===-1&&Te.push(Qe);var Ot=ut.indexOf(Qe);Ot!==-1&&ut.splice(Ot,1)}for(var Ut=ut.length-1;Ut>=0;Ut--)ft.removeAttribute(ut[Ut]);Te.length===ut.length?ft.removeAttribute(X):ft.getAttribute(X)!==le.join(",")&&ft.setAttribute(X,le.join(","))}},Xe=function(gt,at){var ft=document.head||document.querySelector(D.HEAD),Fe=ft.querySelectorAll(gt+"["+X+"]"),Te=Array.prototype.slice.call(Fe),ut=[],le=void 0;return at&&at.length&&at.forEach(function($e){var Qe=document.createElement(gt);for(var Tt in $e)if($e.hasOwnProperty(Tt))if(Tt===F.INNER_HTML)Qe.innerHTML=$e.innerHTML;else if(Tt===F.CSS_TEXT)Qe.styleSheet?Qe.styleSheet.cssText=$e.cssText:Qe.appendChild(document.createTextNode($e.cssText));else{var Ot=typeof $e[Tt]=="undefined"?"":$e[Tt];Qe.setAttribute(Tt,Ot)}Qe.setAttribute(X,"true"),Te.some(function(Ut,At){return le=At,Qe.isEqualNode(Ut)})?Te.splice(le,1):ut.push(Qe)}),Te.forEach(function($e){return $e.parentNode.removeChild($e)}),ut.forEach(function($e){return ft.appendChild($e)}),{oldTags:Te,newTags:ut}},ht=function(gt){return Object.keys(gt).reduce(function(at,ft){var Fe=typeof gt[ft]!="undefined"?ft+'="'+gt[ft]+'"':""+ft;return at?at+" "+Fe:Fe},"")},lt=function(gt,at,ft,Fe){var Te=ht(ft),ut=He(at);return Te?"<"+gt+" "+X+'="true" '+Te+">"+_e(ut,Fe)+"</"+gt+">":"<"+gt+" "+X+'="true">'+_e(ut,Fe)+"</"+gt+">"},Et=function(gt,at,ft){return at.reduce(function(Fe,Te){var ut=Object.keys(Te).filter(function(Qe){return!(Qe===F.INNER_HTML||Qe===F.CSS_TEXT)}).reduce(function(Qe,Tt){var Ot=typeof Te[Tt]=="undefined"?Tt:Tt+'="'+_e(Te[Tt],ft)+'"';return Qe?Qe+" "+Ot:Ot},""),le=Te.innerHTML||Te.cssText||"",$e=$.indexOf(gt)===-1;return Fe+"<"+gt+" "+X+'="true" '+ut+($e?"/>":">"+le+"</"+gt+">")},"")},tt=function(gt){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(gt).reduce(function(ft,Fe){return ft[B[Fe]||Fe]=gt[Fe],ft},at)},mt=function(gt){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(gt).reduce(function(ft,Fe){return ft[J[Fe]||Fe]=gt[Fe],ft},at)},xt=function(gt,at,ft){var Fe,Te=(Fe={key:at},Fe[X]=!0,Fe),ut=tt(ft,Te);return[w.a.createElement(D.TITLE,ut,at)]},Xt=function(gt,at){return at.map(function(ft,Fe){var Te,ut=(Te={key:Fe},Te[X]=!0,Te);return Object.keys(ft).forEach(function(le){var $e=B[le]||le;if($e===F.INNER_HTML||$e===F.CSS_TEXT){var Qe=ft.innerHTML||ft.cssText;ut.dangerouslySetInnerHTML={__html:Qe}}else ut[$e]=ft[le]}),w.a.createElement(gt,ut)})},vt=function(gt,at,ft){switch(gt){case D.TITLE:return{toComponent:function(){return xt(gt,at.title,at.titleAttributes,ft)},toString:function(){return lt(gt,at.title,at.titleAttributes,ft)}};case j.BODY:case j.HTML:return{toComponent:function(){return tt(at)},toString:function(){return ht(at)}};default:return{toComponent:function(){return Xt(gt,at)},toString:function(){return Et(gt,at,ft)}}}},qe=function(gt){var at=gt.baseTag,ft=gt.bodyAttributes,Fe=gt.encode,Te=gt.htmlAttributes,ut=gt.linkTags,le=gt.metaTags,$e=gt.noscriptTags,Qe=gt.scriptTags,Tt=gt.styleTags,Ot=gt.title,Ut=Ot===void 0?"":Ot,At=gt.titleAttributes;return{base:vt(D.BASE,at,Fe),bodyAttributes:vt(j.BODY,ft,Fe),htmlAttributes:vt(j.HTML,Te,Fe),link:vt(D.LINK,ut,Fe),meta:vt(D.META,le,Fe),noscript:vt(D.NOSCRIPT,$e,Fe),script:vt(D.SCRIPT,Qe,Fe),style:vt(D.STYLE,Tt,Fe),title:vt(D.TITLE,{title:Ut,titleAttributes:At},Fe)}},Re=function(gt){var at,ft;return ft=at=function(Fe){W(Te,Fe);function Te(){return ie(this,Te),te(this,Fe.apply(this,arguments))}return Te.prototype.shouldComponentUpdate=function(le){return!S()(this.props,le)},Te.prototype.mapNestedChildrenToProps=function(le,$e){if(!$e)return null;switch(le.type){case D.SCRIPT:case D.NOSCRIPT:return{innerHTML:$e};case D.STYLE:return{cssText:$e}}throw new Error("<"+le.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},Te.prototype.flattenArrayTypeChildren=function(le){var $e,Qe=le.child,Tt=le.arrayTypeChildren,Ot=le.newChildProps,Ut=le.nestedChildren;return Q({},Tt,($e={},$e[Qe.type]=[].concat(Tt[Qe.type]||[],[Q({},Ot,this.mapNestedChildrenToProps(Qe,Ut))]),$e))},Te.prototype.mapObjectTypeChildren=function(le){var $e,Qe,Tt=le.child,Ot=le.newProps,Ut=le.newChildProps,At=le.nestedChildren;switch(Tt.type){case D.TITLE:return Q({},Ot,($e={},$e[Tt.type]=At,$e.titleAttributes=Q({},Ut),$e));case D.BODY:return Q({},Ot,{bodyAttributes:Q({},Ut)});case D.HTML:return Q({},Ot,{htmlAttributes:Q({},Ut)})}return Q({},Ot,(Qe={},Qe[Tt.type]=Q({},Ut),Qe))},Te.prototype.mapArrayTypeChildrenToProps=function(le,$e){var Qe=Q({},$e);return Object.keys(le).forEach(function(Tt){var Ot;Qe=Q({},Qe,(Ot={},Ot[Tt]=le[Tt],Ot))}),Qe},Te.prototype.warnOnInvalidChildren=function(le,$e){return!0},Te.prototype.mapChildrenToProps=function(le,$e){var Qe=this,Tt={};return w.a.Children.forEach(le,function(Ot){if(!(!Ot||!Ot.props)){var Ut=Ot.props,At=Ut.children,Pt=ne(Ut,["children"]),Dt=mt(Pt);switch(Qe.warnOnInvalidChildren(Ot,At),Ot.type){case D.LINK:case D.META:case D.NOSCRIPT:case D.SCRIPT:case D.STYLE:Tt=Qe.flattenArrayTypeChildren({child:Ot,arrayTypeChildren:Tt,newChildProps:Dt,nestedChildren:At});break;default:$e=Qe.mapObjectTypeChildren({child:Ot,newProps:$e,newChildProps:Dt,nestedChildren:At});break}}}),$e=this.mapArrayTypeChildrenToProps(Tt,$e),$e},Te.prototype.render=function(){var le=this.props,$e=le.children,Qe=ne(le,["children"]),Tt=Q({},Qe);return $e&&(Tt=this.mapChildrenToProps($e,Tt)),w.a.createElement(gt,Tt)},G(Te,null,[{key:"canUseDOM",set:function(le){gt.canUseDOM=le}}]),Te}(w.a.Component),at.propTypes={base:O.a.object,bodyAttributes:O.a.object,children:O.a.oneOfType([O.a.arrayOf(O.a.node),O.a.node]),defaultTitle:O.a.string,defer:O.a.bool,encodeSpecialCharacters:O.a.bool,htmlAttributes:O.a.object,link:O.a.arrayOf(O.a.object),meta:O.a.arrayOf(O.a.object),noscript:O.a.arrayOf(O.a.object),onChangeClientState:O.a.func,script:O.a.arrayOf(O.a.object),style:O.a.arrayOf(O.a.object),title:O.a.string,titleAttributes:O.a.object,titleTemplate:O.a.string},at.defaultProps={defer:!0,encodeSpecialCharacters:!0},at.peek=gt.peek,at.rewind=function(){var Fe=gt.rewind();return Fe||(Fe=qe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),Fe},ft},Se=function(){return null},Ve=k()(Ee,ze,qe)(Se),Ge=Re(Ve);Ge.renderStatic=Ge.rewind;var _t=Ge}).call(this,l("IyRk"))},qitQ:function(ce,R,l){"use strict";var E=l("tny8"),m=l("MVys"),O=l("P0e2"),C=l("kyO0"),k=l("e3V2"),A=l("cTDu"),S=l("EzR6"),y=Object.assign,w=Object.defineProperty;ce.exports=!y||m(function(){if(E&&y({b:1},y(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},T={},j=Symbol(),D="abcdefghijklmnopqrst";return x[j]=7,D.split("").forEach(function(N){T[N]=N}),y({},x)[j]!=7||O(y({},T)).join("")!=D})?function(T,j){for(var D=A(T),N=arguments.length,F=1,B=C.f,U=k.f;N>F;)for(var J=S(arguments[F++]),$=B?O(J).concat(B(J)):O(J),X=$.length,ee=0,ie;X>ee;)ie=$[ee++],(!E||U.call(J,ie))&&(D[ie]=J[ie]);return D}:y},qkSU:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("LUyE"),O=l("WJ3H");E({target:"Promise",stat:!0},{try:function(C){var k=m.f(this),A=O(C);return(A.error?k.reject:k.resolve)(A.value),k.promise}})},"ql/k":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=Object.assign||function(S){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(S[x]=w[x])}return S},m=l("q1tI"),O=C(m);function C(S){return S&&S.__esModule?S:{default:S}}function k(S,y){var w={};for(var x in S)y.indexOf(x)>=0||!Object.prototype.hasOwnProperty.call(S,x)||(w[x]=S[x]);return w}var A=24;R.default=function(S){var y=S.fill,w=y===void 0?"currentColor":y,x=S.width,T=x===void 0?A:x,j=S.height,D=j===void 0?A:j,N=S.style,F=N===void 0?{}:N,B=k(S,["fill","width","height","style"]);return O.default.createElement("svg",E({viewBox:"0 0 "+A+" "+A,style:E({fill:w,width:T,height:D},F)},B),O.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qrJ5:function(ce,R,l){"use strict";var E=l("wx14"),m=l("rePB"),O=l("U8pU"),C=l("ODXe"),k=l("TSYQ"),A=l.n(k),S=l("q1tI"),y=l.n(S),w=l("H84U"),x=l("P80f"),T=l("ACnJ"),j=l("CWQg"),D=l("o/2+"),N=function($,X){var ee={};for(var ie in $)Object.prototype.hasOwnProperty.call($,ie)&&X.indexOf(ie)<0&&(ee[ie]=$[ie]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,ie=Object.getOwnPropertySymbols($);G<ie.length;G++)X.indexOf(ie[G])<0&&Object.prototype.propertyIsEnumerable.call($,ie[G])&&(ee[ie[G]]=$[ie[G]]);return ee},F=Object(j.a)("top","middle","bottom","stretch"),B=Object(j.a)("start","end","center","space-around","space-between","space-evenly");function U($,X){var ee=S.useState(typeof $=="string"?$:""),ie=Object(C.a)(ee,2),G=ie[0],Q=ie[1],W=function(){if(typeof $=="string"&&Q($),Object(O.a)($)==="object")for(var te=0;te<T.b.length;te++){var _e=T.b[te];if(!!X[_e]){var he=$[_e];if(he!==void 0){Q(he);return}}}};return S.useEffect(function(){W()},[JSON.stringify($),X]),G}var J=S.forwardRef(function($,X){var ee,ie=$.prefixCls,G=$.justify,Q=$.align,W=$.className,ne=$.style,te=$.children,_e=$.gutter,he=_e===void 0?0:_e,oe=$.wrap,ge=N($,["prefixCls","justify","align","className","style","children","gutter","wrap"]),me=S.useContext(w.b),Z=me.getPrefixCls,xe=me.direction,Ee=S.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),Le=Object(C.a)(Ee,2),we=Le[0],fe=Le[1],pe=S.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Ke=Object(C.a)(pe,2),Me=Ke[0],ze=Ke[1],Ue=U(Q,Me),He=U(G,Me),Ne=Object(x.a)(),it=S.useRef(he);S.useEffect(function(){var Ve=T.a.subscribe(function(Ge){ze(Ge);var _t=it.current||0;(!Array.isArray(_t)&&Object(O.a)(_t)==="object"||Array.isArray(_t)&&(Object(O.a)(_t[0])==="object"||Object(O.a)(_t[1])==="object"))&&fe(Ge)});return function(){return T.a.unsubscribe(Ve)}},[]);var Xe=function(){var Ge=[void 0,void 0],_t=Array.isArray(he)?he:[he,void 0];return _t.forEach(function(bt,gt){if(Object(O.a)(bt)==="object")for(var at=0;at<T.b.length;at++){var ft=T.b[at];if(we[ft]&&bt[ft]!==void 0){Ge[gt]=bt[ft];break}}else Ge[gt]=bt}),Ge},ht=Z("row",ie),lt=Xe(),Et=A()(ht,(ee={},Object(m.a)(ee,"".concat(ht,"-no-wrap"),oe===!1),Object(m.a)(ee,"".concat(ht,"-").concat(He),He),Object(m.a)(ee,"".concat(ht,"-").concat(Ue),Ue),Object(m.a)(ee,"".concat(ht,"-rtl"),xe==="rtl"),ee),W),tt={},mt=lt[0]!=null&&lt[0]>0?lt[0]/-2:void 0,xt=lt[1]!=null&&lt[1]>0?lt[1]/-2:void 0;if(mt&&(tt.marginLeft=mt,tt.marginRight=mt),Ne){var Xt=Object(C.a)(lt,2);tt.rowGap=Xt[1]}else xt&&(tt.marginTop=xt,tt.marginBottom=xt);var vt=Object(C.a)(lt,2),qe=vt[0],Re=vt[1],Se=S.useMemo(function(){return{gutter:[qe,Re],wrap:oe,supportFlexGap:Ne}},[qe,Re,oe,Ne]);return S.createElement(D.a.Provider,{value:Se},S.createElement("div",Object(E.a)({},ge,{className:Et,style:Object(E.a)(Object(E.a)({},tt),ne),ref:X}),te))});R.a=J},quHW:function(ce,R,l){var E=l("MMxC"),m=l("29mP"),O=l("cT1L"),C=l("f1E4"),k=l("MVys"),A=m("Reflect","apply"),S=Function.apply,y=!k(function(){A(function(){})});E({target:"Reflect",stat:!0,forced:y},{apply:function(x,T,j){return O(x),C(j),A?A(x,T,j):S.call(x,T,j)}})},quyA:function(ce,R){var l="\\ud800-\\udfff",E="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",O="\\u20d0-\\u20ff",C=E+m+O,k="\\ufe0e\\ufe0f",A="\\u200d",S=RegExp("["+A+l+C+k+"]");function y(w){return S.test(w)}ce.exports=y},qwGt:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("q1tI"),m=l.n(E),O=m.a.createContext({})},r5xO:function(ce,R){ce.exports=function(C){return l(E(C),C)},ce.exports.array=l;function l(C,k){var A=C.length,S=new Array(A),y={},w=A,x=m(k),T=O(C);for(k.forEach(function(D){if(!T.has(D[0])||!T.has(D[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});w--;)y[w]||j(C[w],w,new Set);return S;function j(D,N,F){if(F.has(D)){var B;try{B=", node was:"+JSON.stringify(D)}catch($){B=""}throw new Error("Cyclic dependency"+B)}if(!T.has(D))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(D));if(!y[N]){y[N]=!0;var U=x.get(D)||new Set;if(U=Array.from(U),N=U.length){F.add(D);do{var J=U[--N];j(J,T.get(J),F)}while(N);F.delete(D)}S[--A]=D}}}function E(C){for(var k=new Set,A=0,S=C.length;A<S;A++){var y=C[A];k.add(y[0]),k.add(y[1])}return Array.from(k)}function m(C){for(var k=new Map,A=0,S=C.length;A<S;A++){var y=C[A];k.has(y[0])||k.set(y[0],new Set),k.has(y[1])||k.set(y[1],new Set),k.get(y[0]).add(y[1])}return k}function O(C){for(var k=new Map,A=0,S=C.length;A<S;A++)k.set(C[A],A);return k}},"rAM+":function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("Qw5x");function m(O,C){var k=typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(!k){if(Array.isArray(O)||(k=Object(E.a)(O))||C&&O&&typeof O.length=="number"){k&&(O=k);var A=0,S=function(){};return{s:S,n:function(){return A>=O.length?{done:!0}:{done:!1,value:O[A++]}},e:function(j){throw j},f:S}}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 y=!0,w=!1,x;return{s:function(){k=k.call(O)},n:function(){var j=k.next();return y=j.done,j},e:function(j){w=!0,x=j},f:function(){try{!y&&k.return!=null&&k.return()}finally{if(w)throw x}}}}},rDUr:function(ce,R,l){"use strict";l.d(R,"c",function(){return E}),l.d(R,"b",function(){return m}),l.d(R,"a",function(){return O}),l.d(R,"d",function(){return w}),l.d(R,"e",function(){return x});var E=12,m="sans-serif",O=E+"px "+m,C=20,k=100,A="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function S(T){var j={};if(typeof JSON=="undefined")return j;for(var D=0;D<T.length;D++){var N=String.fromCharCode(D+32),F=(T.charCodeAt(D)-C)/k;j[N]=F}return j}var y=S(A),w={createCanvas:function(){return typeof document!="undefined"&&document.createElement("canvas")},measureText:function(){var T,j;return function(D,N){if(!T){var F=w.createCanvas();T=F&&F.getContext("2d")}if(T)return j!==N&&(j=T.font=N||O),T.measureText(D);D=D||"",N=N||O;var B=/(\d+)px/.exec(N),U=B&&+B[1]||E,J=0;if(N.indexOf("mono")>=0)J=U*D.length;else for(var $=0;$<D.length;$++){var X=y[D[$]];J+=X==null?U:X*U}return{width:J}}}(),loadImage:function(j,D,N){var F=new Image;return F.onload=D,F.onerror=N,F.src=j,F}};function x(T){for(var j in w)T[j]&&(w[j]=T[j])}},rE4C:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("tSXo"),C=Object.isFrozen,k=m(function(){C(1)});E({target:"Object",stat:!0,forced:k},{isFrozen:function(S){return O(S)?C?C(S):!1:!0}})},rEGp:function(ce,R){function l(E){var m=-1,O=Array(E.size);return E.forEach(function(C){O[++m]=C}),O}ce.exports=l},rOxa:function(ce,R,l){"use strict";var E={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(O){var C=O.keyCode;if(O.altKey&&!O.ctrlKey||O.metaKey||C>=E.F1&&C<=E.F12)return!1;switch(C){case E.ALT:case E.CAPS_LOCK:case E.CONTEXT_MENU:case E.CTRL:case E.DOWN:case E.END:case E.ESC:case E.HOME:case E.INSERT:case E.LEFT:case E.MAC_FF_META:case E.META:case E.NUMLOCK:case E.NUM_CENTER:case E.PAGE_DOWN:case E.PAGE_UP:case E.PAUSE:case E.PRINT_SCREEN:case E.RIGHT:case E.SHIFT:case E.UP:case E.WIN_KEY:case E.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(O){if(O>=E.ZERO&&O<=E.NINE||O>=E.NUM_ZERO&&O<=E.NUM_MULTIPLY||O>=E.A&&O<=E.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&O===0)return!0;switch(O){case E.SPACE:case E.QUESTION_MARK:case E.NUM_PLUS:case E.NUM_MINUS:case E.NUM_PERIOD:case E.NUM_DIVISION:case E.SEMICOLON:case E.DASH:case E.EQUALS:case E.COMMA:case E.PERIOD:case E.SLASH:case E.APOSTROPHE:case E.SINGLE_QUOTE:case E.OPEN_SQUARE_BRACKET:case E.BACKSLASH:case E.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};R.a=E},rR1Q:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.getInstance=R.default=void 0;var O=m(l("fsL8")),C=m(l("pVnL")),k=m(l("lSNA")),A=m(l("0G8d")),S=m(l("Z/ur")),y=m(l("V/uB")),w=m(l("xddM")),x=m(l("ESPI")),T=m(l("TSYQ")),j=m(l("8tx+")),D=E(l("q1tI")),N=E(l("vgIT")),F=m(l("skHK")),B=function(Le,we,fe,pe){function Ke(Me){return Me instanceof fe?Me:new fe(function(ze){ze(Me)})}return new(fe||(fe=Promise))(function(Me,ze){function Ue(it){try{Ne(pe.next(it))}catch(Xe){ze(Xe)}}function He(it){try{Ne(pe.throw(it))}catch(Xe){ze(Xe)}}function Ne(it){it.done?Me(it.value):Ke(it.value).then(Ue,He)}Ne((pe=pe.apply(Le,we||[])).next())})},U={},J=4.5,$=24,X=24,ee="",ie="topRight",G,Q,W=!1,ne;function te(Le){var we=Le.duration,fe=Le.placement,pe=Le.bottom,Ke=Le.top,Me=Le.getContainer,ze=Le.closeIcon,Ue=Le.prefixCls;Ue!==void 0&&(ee=Ue),we!==void 0&&(J=we),fe!==void 0?ie=fe:Le.rtl&&(ie="topLeft"),pe!==void 0&&(X=pe),Ke!==void 0&&($=Ke),Me!==void 0&&(G=Me),ze!==void 0&&(Q=ze),Le.rtl!==void 0&&(W=Le.rtl),Le.maxCount!==void 0&&(ne=Le.maxCount)}function _e(Le){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:X,pe;switch(Le){case"top":pe={left:"50%",transform:"translateX(-50%)",right:"auto",top:we,bottom:"auto"};break;case"topLeft":pe={left:0,top:we,bottom:"auto"};break;case"topRight":pe={right:0,top:we,bottom:"auto"};break;case"bottom":pe={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:fe};break;case"bottomLeft":pe={left:0,top:"auto",bottom:fe};break;default:pe={right:0,top:"auto",bottom:fe};break}return pe}function he(Le,we){var fe=Le.placement,pe=fe===void 0?ie:fe,Ke=Le.top,Me=Le.bottom,ze=Le.getContainer,Ue=ze===void 0?G:ze,He=Le.prefixCls,Ne=(0,N.globalConfig)(),it=Ne.getPrefixCls,Xe=Ne.getIconPrefixCls,ht=it("notification",He||ee),lt=Xe(),Et="".concat(ht,"-").concat(pe),tt=U[Et];if(tt){Promise.resolve(tt).then(function(xt){we({prefixCls:"".concat(ht,"-notice"),iconPrefixCls:lt,instance:xt})});return}var mt=(0,T.default)("".concat(ht,"-").concat(pe),(0,k.default)({},"".concat(ht,"-rtl"),W===!0));U[Et]=new Promise(function(xt){j.default.newInstance({prefixCls:ht,className:mt,style:_e(pe,Ke,Me),getContainer:Ue,maxCount:ne},function(Xt){xt(Xt),we({prefixCls:"".concat(ht,"-notice"),iconPrefixCls:lt,instance:Xt})})})}var oe={success:A.default,info:x.default,error:S.default,warning:w.default};function ge(Le,we,fe){var pe=Le.duration,Ke=Le.icon,Me=Le.type,ze=Le.description,Ue=Le.message,He=Le.btn,Ne=Le.onClose,it=Le.onClick,Xe=Le.key,ht=Le.style,lt=Le.className,Et=Le.closeIcon,tt=Et===void 0?Q:Et,mt=Le.props,xt=pe===void 0?J:pe,Xt=null;Ke?Xt=D.createElement("span",{className:"".concat(we,"-icon")},Le.icon):Me&&(Xt=D.createElement(oe[Me]||null,{className:"".concat(we,"-icon ").concat(we,"-icon-").concat(Me)}));var vt=typeof tt=="undefined"?D.createElement("span",{className:"".concat(we,"-close-x")},D.createElement(y.default,{className:"".concat(we,"-close-icon")})):tt,qe=!ze&&Xt?D.createElement("span",{className:"".concat(we,"-message-single-line-auto-margin")}):null;return{content:D.createElement(N.default,{iconPrefixCls:fe},D.createElement("div",{className:Xt?"".concat(we,"-with-icon"):"",role:"alert"},Xt,D.createElement("div",{className:"".concat(we,"-message")},qe,Ue),D.createElement("div",{className:"".concat(we,"-description")},ze),He?D.createElement("span",{className:"".concat(we,"-btn")},He):null)),duration:xt,closable:!0,closeIcon:vt,onClose:Ne,onClick:it,key:Xe,style:ht||{},className:(0,T.default)(lt,(0,k.default)({},"".concat(we,"-").concat(Me),!!Me)),props:mt}}function me(Le){he(Le,function(we){var fe=we.prefixCls,pe=we.iconPrefixCls,Ke=we.instance;Ke.notice(ge(Le,fe,pe))})}var Z={open:me,close:function(we){Object.keys(U).forEach(function(fe){return Promise.resolve(U[fe]).then(function(pe){pe.removeNotice(we)})})},config:te,destroy:function(){Object.keys(U).forEach(function(we){Promise.resolve(U[we]).then(function(fe){fe.destroy()}),delete U[we]})}};["success","info","warning","error"].forEach(function(Le){Z[Le]=function(we){return Z.open((0,C.default)((0,C.default)({},we),{type:Le}))}}),Z.warn=Z.warning,Z.useNotification=(0,F.default)(he,ge);var xe=function(we){return B(void 0,void 0,void 0,(0,O.default)().mark(function fe(){return(0,O.default)().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Ke.abrupt("return",null);case 1:case"end":return Ke.stop()}},fe)}))};R.getInstance=xe;var Ee=Z;R.default=Ee},rS2G:function(ce,R,l){var E=l("MMxC"),m=l("8Cw2");E({target:"Number",stat:!0},{isFinite:m})},rSSe:function(ce,R,l){},rUU2:function(ce,R,l){"use strict";var E=l("ENif"),m=l("f1E4"),O=l("cTDu"),C=l("oa35"),k=l("m0kY"),A=l("FCfD"),S=l("xH5X"),y=l("dagG"),w=Math.max,x=Math.min,T=Math.floor,j=/\$([$&'`]|\d\d?|<[^>]*>)/g,D=/\$([$&'`]|\d\d?)/g,N=function(F){return F===void 0?F:String(F)};E("replace",2,function(F,B,U,J){var $=J.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,X=J.REPLACE_KEEPS_$0,ee=$?"$":"$0";return[function(Q,W){var ne=A(this),te=Q==null?void 0:Q[F];return te!==void 0?te.call(Q,ne,W):B.call(String(ne),Q,W)},function(G,Q){if(!$&&X||typeof Q=="string"&&Q.indexOf(ee)===-1){var W=U(B,G,this,Q);if(W.done)return W.value}var ne=m(G),te=String(this),_e=typeof Q=="function";_e||(Q=String(Q));var he=ne.global;if(he){var oe=ne.unicode;ne.lastIndex=0}for(var ge=[];;){var me=y(ne,te);if(me===null||(ge.push(me),!he))break;var Z=String(me[0]);Z===""&&(ne.lastIndex=S(te,C(ne.lastIndex),oe))}for(var xe="",Ee=0,Le=0;Le<ge.length;Le++){me=ge[Le];for(var we=String(me[0]),fe=w(x(k(me.index),te.length),0),pe=[],Ke=1;Ke<me.length;Ke++)pe.push(N(me[Ke]));var Me=me.groups;if(_e){var ze=[we].concat(pe,fe,te);Me!==void 0&&ze.push(Me);var Ue=String(Q.apply(void 0,ze))}else Ue=ie(we,te,fe,pe,Me,Q);fe>=Ee&&(xe+=te.slice(Ee,fe)+Ue,Ee=fe+we.length)}return xe+te.slice(Ee)}];function ie(G,Q,W,ne,te,_e){var he=W+G.length,oe=ne.length,ge=D;return te!==void 0&&(te=O(te),ge=j),B.call(_e,ge,function(me,Z){var xe;switch(Z.charAt(0)){case"$":return"$";case"&":return G;case"`":return Q.slice(0,W);case"'":return Q.slice(he);case"<":xe=te[Z.slice(1,-1)];break;default:var Ee=+Z;if(Ee===0)return me;if(Ee>oe){var Le=T(Ee/10);return Le===0?me:Le<=oe?ne[Le-1]===void 0?Z.charAt(1):ne[Le-1]+Z.charAt(1):me}xe=ne[Ee-1]}return xe===void 0?"":xe})}})},rVgK:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("eYKs").charAt;E({target:"String",proto:!0},{at:function(C){return m(this,C)}})},rWXM:function(ce,R,l){"use strict";function E(m){var O={};return function(C){return O.hasOwnProperty(C)||(O[C]=m.call(this,C)),O[C]}}ce.exports=E},rZaO:function(ce,R,l){},rePB:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("o46R");function m(O,C,k){return C=Object(E.a)(C),C in O?Object.defineProperty(O,C,{value:k,enumerable:!0,configurable:!0,writable:!0}):O[C]=k,O}},"rhT+":function(ce,R){function l(E){if(typeof Symbol!="undefined"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},rjJZ:function(ce,R,l){var E=l("YON3");ce.exports=function(m){if(E(m))throw TypeError("The method doesn't accept regular expressions");return m}},rmp2:function(ce,R,l){},rn5R:function(ce,R,l){var E=l("ukPv"),m=l("mTKU").trim,O=l("Tfd0"),C=E.parseFloat,k=1/C(O+"-0")!=-Infinity;ce.exports=k?function(S){var y=m(String(S)),w=C(y);return w===0&&y.charAt(0)=="-"?-0:w}:C},rpUR:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("g8rt").f,O=l("oa35"),C=l("rjJZ"),k=l("FCfD"),A=l("C7V6"),S=l("Zcjx"),y="".endsWith,w=Math.min,x=A("endsWith"),T=!S&&!x&&!!function(){var j=m(String.prototype,"endsWith");return j&&!j.writable}();E({target:"String",proto:!0,forced:!T&&!x},{endsWith:function(D){var N=String(k(this));C(D);var F=arguments.length>1?arguments[1]:void 0,B=O(N.length),U=F===void 0?B:w(O(F),B),J=String(D);return y?y.call(N,J,U):N.slice(U-J.length,U)===J}})},rsCp:function(ce,R,l){},rtIu:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("oa35"),O=l("nCqj"),C=l("cTDu"),k=l("MVys"),A=E.aTypedArray,S=E.exportTypedArrayMethod,y=k(function(){new Int8Array(1).set({})});S("set",function(x){A(this);var T=O(arguments.length>1?arguments[1]:void 0,1),j=this.length,D=C(x),N=m(D.length),F=0;if(N+T>j)throw RangeError("Wrong length");for(;F<N;)this[T+F]=D[F++]},y)},s00F:function(ce,R,l){var E=l("I65O");E("dispose")},s1ay:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("ukPv"),C=l("29mP"),k=l("b6st"),A=l("NMFW"),S=l("ujhg"),y=l("kiNa"),w=l("ssJt"),x=l("tSXo"),T=l("cT1L"),j=l("igoe"),D=l("UwrT"),N=l("J3Yn"),F=l("IuhT"),B=l("GPrf"),U=l("/dTS"),J=l("C3pJ").set,$=l("m3pO"),X=l("U8/t"),ee=l("dnEI"),ie=l("LUyE"),G=l("WJ3H"),Q=l("1aI8"),W=l("kkxG"),ne=l("2kyd"),te=l("hRxt"),_e=ne("species"),he="Promise",oe=Q.get,ge=Q.set,me=Q.getterFor(he),Z=k,xe=O.TypeError,Ee=O.document,Le=O.process,we=C("fetch"),fe=ie.f,pe=fe,Ke=D(Le)=="process",Me=!!(Ee&&Ee.createEvent&&O.dispatchEvent),ze="unhandledrejection",Ue="rejectionhandled",He=0,Ne=1,it=2,Xe=1,ht=2,lt,Et,tt,mt,xt=W(he,function(){var at=N(Z)!==String(Z);if(!at&&(te===66||!Ke&&typeof PromiseRejectionEvent!="function")||m&&!Z.prototype.finally)return!0;if(te>=51&&/native code/.test(Z))return!1;var ft=Z.resolve(1),Fe=function(ut){ut(function(){},function(){})},Te=ft.constructor={};return Te[_e]=Fe,!(ft.then(function(){})instanceof Fe)}),Xt=xt||!B(function(at){Z.all(at).catch(function(){})}),vt=function(at){var ft;return x(at)&&typeof(ft=at.then)=="function"?ft:!1},qe=function(at,ft,Fe){if(!ft.notified){ft.notified=!0;var Te=ft.reactions;$(function(){for(var ut=ft.value,le=ft.state==Ne,$e=0;Te.length>$e;){var Qe=Te[$e++],Tt=le?Qe.ok:Qe.fail,Ot=Qe.resolve,Ut=Qe.reject,At=Qe.domain,Pt,Dt,Qt;try{Tt?(le||(ft.rejection===ht&&Ge(at,ft),ft.rejection=Xe),Tt===!0?Pt=ut:(At&&At.enter(),Pt=Tt(ut),At&&(At.exit(),Qt=!0)),Pt===Qe.promise?Ut(xe("Promise-chain cycle")):(Dt=vt(Pt))?Dt.call(Pt,Ot,Ut):Ot(Pt)):Ut(ut)}catch(cn){At&&!Qt&&At.exit(),Ut(cn)}}ft.reactions=[],ft.notified=!1,Fe&&!ft.rejection&&Se(at,ft)})}},Re=function(at,ft,Fe){var Te,ut;Me?(Te=Ee.createEvent("Event"),Te.promise=ft,Te.reason=Fe,Te.initEvent(at,!1,!0),O.dispatchEvent(Te)):Te={promise:ft,reason:Fe},(ut=O["on"+at])?ut(Te):at===ze&&ee("Unhandled promise rejection",Fe)},Se=function(at,ft){J.call(O,function(){var Fe=ft.value,Te=Ve(ft),ut;if(Te&&(ut=G(function(){Ke?Le.emit("unhandledRejection",Fe,at):Re(ze,at,Fe)}),ft.rejection=Ke||Ve(ft)?ht:Xe,ut.error))throw ut.value})},Ve=function(at){return at.rejection!==Xe&&!at.parent},Ge=function(at,ft){J.call(O,function(){Ke?Le.emit("rejectionHandled",at):Re(Ue,at,ft.value)})},_t=function(at,ft,Fe,Te){return function(ut){at(ft,Fe,ut,Te)}},bt=function(at,ft,Fe,Te){ft.done||(ft.done=!0,Te&&(ft=Te),ft.value=Fe,ft.state=it,qe(at,ft,!0))},gt=function(at,ft,Fe,Te){if(!ft.done){ft.done=!0,Te&&(ft=Te);try{if(at===Fe)throw xe("Promise can't be resolved itself");var ut=vt(Fe);ut?$(function(){var le={done:!1};try{ut.call(Fe,_t(gt,at,le,ft),_t(bt,at,le,ft))}catch($e){bt(at,le,$e,ft)}}):(ft.value=Fe,ft.state=Ne,qe(at,ft,!1))}catch(le){bt(at,{done:!1},le,ft)}}};xt&&(Z=function(ft){j(this,Z,he),T(ft),lt.call(this);var Fe=oe(this);try{ft(_t(gt,this,Fe),_t(bt,this,Fe))}catch(Te){bt(this,Fe,Te)}},lt=function(ft){ge(this,{type:he,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:He,value:void 0})},lt.prototype=S(Z.prototype,{then:function(ft,Fe){var Te=me(this),ut=fe(U(this,Z));return ut.ok=typeof ft=="function"?ft:!0,ut.fail=typeof Fe=="function"&&Fe,ut.domain=Ke?Le.domain:void 0,Te.parent=!0,Te.reactions.push(ut),Te.state!=He&&qe(this,Te,!1),ut.promise},catch:function(at){return this.then(void 0,at)}}),Et=function(){var at=new lt,ft=oe(at);this.promise=at,this.resolve=_t(gt,at,ft),this.reject=_t(bt,at,ft)},ie.f=fe=function(at){return at===Z||at===tt?new Et(at):pe(at)},!m&&typeof k=="function"&&(mt=k.prototype.then,A(k.prototype,"then",function(ft,Fe){var Te=this;return new Z(function(ut,le){mt.call(Te,ut,le)}).then(ft,Fe)},{unsafe:!0}),typeof we=="function"&&E({global:!0,enumerable:!0,forced:!0},{fetch:function(ft){return X(Z,we.apply(O,arguments))}}))),E({global:!0,wrap:!0,forced:xt},{Promise:Z}),y(Z,he,!1,!0),w(he),tt=C(he),E({target:he,stat:!0,forced:xt},{reject:function(ft){var Fe=fe(this);return Fe.reject.call(void 0,ft),Fe.promise}}),E({target:he,stat:!0,forced:m||xt},{resolve:function(ft){return X(m&&this===tt?Z:this,ft)}}),E({target:he,stat:!0,forced:Xt},{all:function(ft){var Fe=this,Te=fe(Fe),ut=Te.resolve,le=Te.reject,$e=G(function(){var Qe=T(Fe.resolve),Tt=[],Ot=0,Ut=1;F(ft,function(At){var Pt=Ot++,Dt=!1;Tt.push(void 0),Ut++,Qe.call(Fe,At).then(function(Qt){Dt||(Dt=!0,Tt[Pt]=Qt,--Ut||ut(Tt))},le)}),--Ut||ut(Tt)});return $e.error&&le($e.value),Te.promise},race:function(ft){var Fe=this,Te=fe(Fe),ut=Te.reject,le=G(function(){var $e=T(Fe.resolve);F(ft,function(Qe){$e.call(Fe,Qe).then(Te.resolve,ut)})});return le.error&&ut(le.value),Te.promise}})},s2FO:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Raised=void 0;var E=l("q1tI"),m=w(E),O=l("17x9"),C=w(O),k=l("/FUP"),A=w(k),S=l("QkVN"),y=w(S);function w(T){return T&&T.__esModule?T:{default:T}}var x=R.Raised=function(j){var D=j.zDepth,N=j.radius,F=j.background,B=j.children,U=j.styles,J=U===void 0?{}:U,$=(0,A.default)((0,y.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+D+"px "+D*4+"px rgba(0,0,0,.24)",borderRadius:N,background:F}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},J),{"zDepth-1":D===1});return m.default.createElement("div",{style:$.wrap},m.default.createElement("div",{style:$.bg}),m.default.createElement("div",{style:$.content},B))};x.propTypes={background:C.default.string,zDepth:C.default.oneOf([0,1,2,3,4,5]),radius:C.default.number,styles:C.default.object},x.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},R.default=x},s4An:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,A){return k.__proto__=A,k},E(m,O)}},sE09:function(ce,R,l){},sEf8:function(ce,R){function l(E){return function(m){return E(m)}}ce.exports=l},sEfC:function(ce,R,l){var E=l("GoyQ"),m=l("QIyF"),O=l("tLB3"),C="Expected a function",k=Math.max,A=Math.min;function S(y,w,x){var T,j,D,N,F,B,U=0,J=!1,$=!1,X=!0;if(typeof y!="function")throw new TypeError(C);w=O(w)||0,E(x)&&(J=!!x.leading,$="maxWait"in x,D=$?k(O(x.maxWait)||0,w):D,X="trailing"in x?!!x.trailing:X);function ee(oe){var ge=T,me=j;return T=j=void 0,U=oe,N=y.apply(me,ge),N}function ie(oe){return U=oe,F=setTimeout(W,w),J?ee(oe):N}function G(oe){var ge=oe-B,me=oe-U,Z=w-ge;return $?A(Z,D-me):Z}function Q(oe){var ge=oe-B,me=oe-U;return B===void 0||ge>=w||ge<0||$&&me>=D}function W(){var oe=m();if(Q(oe))return ne(oe);F=setTimeout(W,G(oe))}function ne(oe){return F=void 0,X&&T?ee(oe):(T=j=void 0,N)}function te(){F!==void 0&&clearTimeout(F),U=0,T=B=j=F=void 0}function _e(){return F===void 0?N:ne(m())}function he(){var oe=m(),ge=Q(oe);if(T=arguments,j=this,B=oe,ge){if(F===void 0)return ie(B);if($)return clearTimeout(F),F=setTimeout(W,w),ee(B)}return F===void 0&&(F=setTimeout(W,w)),N}return he.cancel=te,he.flush=_e,he}ce.exports=S},sGYi:function(ce,R,l){"use strict";(function(E){l.d(R,"b",function(){return $});var m=l("Ff2n"),O=l("VTBJ"),C=l("wEI+"),k=l("A2FF"),A=l("ZTPi"),S=l("TSYQ"),y=l.n(S),w=l("BMJH"),x=l("1gO8"),T=l("q1tI"),j=l.n(T),D=l("0UDB"),N=l("nKUr"),F=l.n(N),B=["tab","children"],U=["key","tab","tabKey","disabled","destroyInactiveTabPane","children","className","style","cardProps"];function J(ee){return ee.filter(function(ie){return ie})}function $(ee,ie,G){if(ee)return ee.map(function(W){return Object(O.a)(Object(O.a)({},W),{},{children:Object(N.jsx)(D.a,Object(O.a)(Object(O.a)({},G==null?void 0:G.cardProps),{},{children:W.children}))})});Object(x.b)(!G,"Tabs.TabPane is deprecated. Please use `items` directly.");var Q=Object(w.a)(ie).map(function(W){if(j.a.isValidElement(W)){var ne=W.key,te=W.props,_e=te||{},he=_e.tab,oe=_e.children,ge=Object(m.a)(_e,B),me=Object(O.a)(Object(O.a)({key:String(ne)},ge),{},{children:Object(N.jsx)(D.a,Object(O.a)(Object(O.a)({},G==null?void 0:G.cardProps),{},{children:oe})),label:he});return me}return null});return J(Q)}var X=function(ie){var G=Object(T.useContext)(C.a.ConfigContext),Q=G.getPrefixCls;if(k.a.startsWith("5"))return Object(N.jsx)(N.Fragment,{});var W=ie.key,ne=ie.tab,te=ie.tabKey,_e=ie.disabled,he=ie.destroyInactiveTabPane,oe=ie.children,ge=ie.className,me=ie.style,Z=ie.cardProps,xe=Object(m.a)(ie,U),Ee=Q("pro-card-tabpane"),Le=y()(Ee,ge);return Object(N.jsx)(A.a.TabPane,Object(O.a)(Object(O.a)({tabKey:te,tab:ne,className:Le,style:me,disabled:_e,destroyInactiveTabPane:he},xe),{},{children:Object(N.jsx)(D.a,Object(O.a)(Object(O.a)({},Z),{},{children:oe}))}),W)};R.a=X}).call(this,l("Q2Ig"))},sKbD:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("b/UD"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},sKgW:function(ce,R){var l=9007199254740991,E=Math.floor;function m(O,C){var k="";if(!O||C<1||C>l)return k;do C%2&&(k+=O),C=E(C/2),C&&(O+=O);while(C);return k}ce.exports=m},sLDj:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CustomPicker=R.TwitterPicker=R.SwatchesPicker=R.SliderPicker=R.SketchPicker=R.PhotoshopPicker=R.MaterialPicker=R.HuePicker=R.GithubPicker=R.CompactPicker=R.ChromePicker=R.default=R.CirclePicker=R.BlockPicker=R.AlphaPicker=void 0;var E=l("j68Z");Object.defineProperty(R,"AlphaPicker",{enumerable:!0,get:function(){return B(E).default}});var m=l("XIKA");Object.defineProperty(R,"BlockPicker",{enumerable:!0,get:function(){return B(m).default}});var O=l("QCfv");Object.defineProperty(R,"CirclePicker",{enumerable:!0,get:function(){return B(O).default}});var C=l("sXxW");Object.defineProperty(R,"ChromePicker",{enumerable:!0,get:function(){return B(C).default}});var k=l("8Cut");Object.defineProperty(R,"CompactPicker",{enumerable:!0,get:function(){return B(k).default}});var A=l("GJyq");Object.defineProperty(R,"GithubPicker",{enumerable:!0,get:function(){return B(A).default}});var S=l("N5sM");Object.defineProperty(R,"HuePicker",{enumerable:!0,get:function(){return B(S).default}});var y=l("f2hh");Object.defineProperty(R,"MaterialPicker",{enumerable:!0,get:function(){return B(y).default}});var w=l("L8Mr");Object.defineProperty(R,"PhotoshopPicker",{enumerable:!0,get:function(){return B(w).default}});var x=l("1RFy");Object.defineProperty(R,"SketchPicker",{enumerable:!0,get:function(){return B(x).default}});var T=l("LOBb");Object.defineProperty(R,"SliderPicker",{enumerable:!0,get:function(){return B(T).default}});var j=l("RJqx");Object.defineProperty(R,"SwatchesPicker",{enumerable:!0,get:function(){return B(j).default}});var D=l("7+0S");Object.defineProperty(R,"TwitterPicker",{enumerable:!0,get:function(){return B(D).default}});var N=l("UcOz");Object.defineProperty(R,"CustomPicker",{enumerable:!0,get:function(){return B(N).default}});var F=B(C);function B(U){return U&&U.__esModule?U:{default:U}}R.default=F.default},sM0O:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};R.default=E},sNrH:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.call=S,R.default=void 0,R.note=k,R.noteOnce=w,R.preMessage=void 0,R.resetWarned=A,R.warning=C,R.warningOnce=y;var E={},m=[],O=function(j){m.push(j)};R.preMessage=O;function C(T,j){if(!1)var D}function k(T,j){if(!1)var D}function A(){E={}}function S(T,j,D){!j&&!E[D]&&(T(!1,D),E[D]=!0)}function y(T,j){S(C,T,j)}function w(T,j){S(k,T,j)}y.preMessage=O,y.resetWarned=A,y.noteOnce=w;var x=y;R.default=x},sPVm:function(ce,R,l){var E=l("MMxC"),m=l("V61k");E({target:"Math",stat:!0,forced:m!=Math.expm1},{expm1:m})},sRBo:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("KCY9"),C=l.n(O)},sXxW:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Chrome=void 0;var E=l("q1tI"),m=B(E),O=l("17x9"),C=B(O),k=l("/FUP"),A=B(k),S=l("QkVN"),y=B(S),w=l("UtML"),x=l("ljc3"),T=B(x),j=l("CIAZ"),D=B(j),N=l("52D2"),F=B(N);function B(J){return J&&J.__esModule?J:{default:J}}var U=R.Chrome=function($){var X=$.width,ee=$.onChange,ie=$.disableAlpha,G=$.rgb,Q=$.hsl,W=$.hsv,ne=$.hex,te=$.renderers,_e=$.styles,he=_e===void 0?{}:_e,oe=$.className,ge=oe===void 0?"":oe,me=(0,A.default)((0,y.default)({default:{picker:{width:X,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+G.r+", "+G.g+", "+G.b+", "+G.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},he),{disableAlpha:ie});return m.default.createElement("div",{style:me.picker,className:"chrome-picker "+ge},m.default.createElement("div",{style:me.saturation},m.default.createElement(w.Saturation,{style:me.Saturation,hsl:Q,hsv:W,pointer:F.default,onChange:ee})),m.default.createElement("div",{style:me.body},m.default.createElement("div",{style:me.controls,className:"flexbox-fix"},m.default.createElement("div",{style:me.color},m.default.createElement("div",{style:me.swatch},m.default.createElement("div",{style:me.active}),m.default.createElement(w.Checkboard,{renderers:te}))),m.default.createElement("div",{style:me.toggles},m.default.createElement("div",{style:me.hue},m.default.createElement(w.Hue,{style:me.Hue,hsl:Q,pointer:D.default,onChange:ee})),m.default.createElement("div",{style:me.alpha},m.default.createElement(w.Alpha,{style:me.Alpha,rgb:G,hsl:Q,pointer:D.default,renderers:te,onChange:ee})))),m.default.createElement(T.default,{rgb:G,hsl:Q,hex:ne,onChange:ee,disableAlpha:ie})))};U.propTypes={width:C.default.oneOfType([C.default.string,C.default.number]),disableAlpha:C.default.bool,styles:C.default.object},U.defaultProps={width:225,disableAlpha:!1,styles:{}},R.default=(0,w.ColorWrap)(U)},sboe:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("q1tI"),m=l.n(E),O=E.createContext(null)},sdAH:function(ce,R,l){var E=l("MMxC"),m=Math.hypot,O=Math.abs,C=Math.sqrt,k=!!m&&m(Infinity,NaN)!==Infinity;E({target:"Math",stat:!0,forced:k},{hypot:function(S,y){for(var w=0,x=0,T=arguments.length,j=0,D,N;x<T;)D=O(arguments[x++]),j<D?(N=j/D,w=w*N*N+1,j=D):D>0?(N=D/j,w+=N*N):w+=D;return j===Infinity?Infinity:j*C(w)}})},seXi:function(ce,R,l){var E=l("qZTm"),m=1,O=Object.prototype,C=O.hasOwnProperty;function k(A,S,y,w,x,T){var j=y&m,D=E(A),N=D.length,F=E(S),B=F.length;if(N!=B&&!j)return!1;for(var U=N;U--;){var J=D[U];if(!(j?J in S:C.call(S,J)))return!1}var $=T.get(A),X=T.get(S);if($&&X)return $==S&&X==A;var ee=!0;T.set(A,S),T.set(S,A);for(var ie=j;++U<N;){J=D[U];var G=A[J],Q=S[J];if(w)var W=j?w(Q,G,J,S,A,T):w(G,Q,J,A,S,T);if(!(W===void 0?G===Q||x(G,Q,y,w,T):W)){ee=!1;break}ie||(ie=J=="constructor")}if(ee&&!ie){var ne=A.constructor,te=S.constructor;ne!=te&&"constructor"in A&&"constructor"in S&&!(typeof ne=="function"&&ne instanceof ne&&typeof te=="function"&&te instanceof te)&&(ee=!1)}return T.delete(A),T.delete(S),ee}ce.exports=k},sfHF:function(ce,R,l){},sgqd:function(ce,R,l){var E=l("MMxC"),m=l("f1E4"),O=l("g8rt").f;E({target:"Reflect",stat:!0},{deleteProperty:function(k,A){var S=O(m(k),A);return S&&!S.configurable?!1:delete k[A]}})},shjB:function(ce,R){var l=9007199254740991;function E(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=l}ce.exports=E},si6p:function(ce,R,l){var E,m,O;/*!
* jQuery Mousewheel 3.1.13
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*/(function(C){m=[l("EVdn")],E=C,O=typeof E=="function"?E.apply(R,m):E,O!==void 0&&(ce.exports=O)})(function(C){var k=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],A="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],S=Array.prototype.slice,y,w;if(C.event.fixHooks)for(var x=k.length;x;)C.event.fixHooks[k[--x]]=C.event.mouseHooks;var T=C.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var B=A.length;B;)this.addEventListener(A[--B],j,!1);else this.onmousewheel=j;C.data(this,"mousewheel-line-height",T.getLineHeight(this)),C.data(this,"mousewheel-page-height",T.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var B=A.length;B;)this.removeEventListener(A[--B],j,!1);else this.onmousewheel=null;C.removeData(this,"mousewheel-line-height"),C.removeData(this,"mousewheel-page-height")},getLineHeight:function(B){var U=C(B),J=U["offsetParent"in C.fn?"offsetParent":"parent"]();return J.length||(J=C("body")),parseInt(J.css("fontSize"),10)||parseInt(U.css("fontSize"),10)||16},getPageHeight:function(B){return C(B).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};C.fn.extend({mousewheel:function(B){return B?this.bind("mousewheel",B):this.trigger("mousewheel")},unmousewheel:function(B){return this.unbind("mousewheel",B)}});function j(F){var B=F||window.event,U=S.call(arguments,1),J=0,$=0,X=0,ee=0,ie=0,G=0;if(F=C.event.fix(B),F.type="mousewheel","detail"in B&&(X=B.detail*-1),"wheelDelta"in B&&(X=B.wheelDelta),"wheelDeltaY"in B&&(X=B.wheelDeltaY),"wheelDeltaX"in B&&($=B.wheelDeltaX*-1),"axis"in B&&B.axis===B.HORIZONTAL_AXIS&&($=X*-1,X=0),J=X===0?$:X,"deltaY"in B&&(X=B.deltaY*-1,J=X),"deltaX"in B&&($=B.deltaX,X===0&&(J=$*-1)),!(X===0&&$===0)){if(B.deltaMode===1){var Q=C.data(this,"mousewheel-line-height");J*=Q,X*=Q,$*=Q}else if(B.deltaMode===2){var W=C.data(this,"mousewheel-page-height");J*=W,X*=W,$*=W}if(ee=Math.max(Math.abs(X),Math.abs($)),(!w||ee<w)&&(w=ee,N(B,ee)&&(w/=40)),N(B,ee)&&(J/=40,$/=40,X/=40),J=Math[J>=1?"floor":"ceil"](J/w),$=Math[$>=1?"floor":"ceil"]($/w),X=Math[X>=1?"floor":"ceil"](X/w),T.settings.normalizeOffset&&this.getBoundingClientRect){var ne=this.getBoundingClientRect();ie=F.clientX-ne.left,G=F.clientY-ne.top}return F.deltaX=$,F.deltaY=X,F.deltaFactor=w,F.offsetX=ie,F.offsetY=G,F.deltaMode=0,U.unshift(F,J,$,X),y&&clearTimeout(y),y=setTimeout(D,200),(C.event.dispatch||C.event.handle).apply(this,U)}}function D(){w=null}function N(F,B){return T.settings.adjustOldDeltas&&F.type==="mousewheel"&&B%120==0}})},sjmD:function(ce,R,l){"use strict";l.d(R,"a",function(){return E}),l.d(R,"b",function(){return m});var E;(function(O){O.DETAIL="detail",O.AGG="agg"})(E||(E={}));var m;(function(O){O.DIMENSION="dimension",O.METRIC="metric"})(m||(m={}))},skHK:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=y;var O=m(l("pVnL")),C=m(l("J4zp")),k=m(l("f3Sm")),A=E(l("q1tI")),S=l("vgIT");function y(w,x){var T=function(){var D,N=null,F={add:function(G,Q){N==null||N.component.add(G,Q)}},B=(0,k.default)(F),U=(0,C.default)(B,2),J=U[0],$=U[1];function X(ie){var G=ie.prefixCls,Q=D("notification",G);w((0,O.default)((0,O.default)({},ie),{prefixCls:Q}),function(W){var ne=W.prefixCls,te=W.instance;N=te,J(x(ie,ne))})}var ee=A.useRef({});return ee.current.open=X,["success","info","warning","error"].forEach(function(ie){ee.current[ie]=function(G){return ee.current.open((0,O.default)((0,O.default)({},G),{type:ie}))}}),[ee.current,A.createElement(S.ConfigConsumer,{key:"holder"},function(ie){return D=ie.getPrefixCls,$})]};return T}},slOs:function(ce,R,l){},ssJt:function(ce,R,l){"use strict";var E=l("29mP"),m=l("YfKC"),O=l("2kyd"),C=l("tny8"),k=O("species");ce.exports=function(A){var S=E(A),y=m.f;C&&S&&!S[k]&&y(S,k,{configurable:!0,get:function(){return this}})}},sxOR:function(ce,R,l){"use strict";var E=String.prototype.replace,m=/%20/g,O={RFC1738:"RFC1738",RFC3986:"RFC3986"};ce.exports={default:O.RFC3986,formatters:{RFC1738:function(k){return E.call(k,m,"+")},RFC3986:function(k){return String(k)}},RFC1738:O.RFC1738,RFC3986:O.RFC3986}},sxS5:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("OwbQ")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="ExclamationCircleOutlined";var x=C.forwardRef(w);R.default=x},t23M:function(ce,R,l){"use strict";var E=l("wx14"),m=l("q1tI"),O=l.n(m),C=l("TOwV");function k(lt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=[];return O.a.Children.forEach(lt,function(mt){mt==null&&!Et.keepEmpty||(Array.isArray(mt)?tt=tt.concat(k(mt)):Object(C.isFragment)(mt)&&mt.props?tt=tt.concat(k(mt.props.children,Et)):tt.push(mt))}),tt}var A={},S=[],y=function(Et){S.push(Et)};function w(lt,Et){if(!1)var tt}function x(lt,Et){if(!1)var tt}function T(){A={}}function j(lt,Et,tt){!Et&&!A[tt]&&(lt(!1,tt),A[tt]=!0)}function D(lt,Et){j(w,lt,Et)}function N(lt,Et){j(x,lt,Et)}D.preMessage=y,D.resetWarned=T,D.noteOnce=N;var F=D,B=l("VTBJ"),U=l("U8pU");function J(lt,Et,tt){var mt=m.useRef({});return(!("value"in mt.current)||tt(mt.current.condition,Et))&&(mt.current.value=lt(),mt.current.condition=Et),mt.current.value}function $(lt,Et){typeof lt=="function"?lt(Et):Object(U.a)(lt)==="object"&&lt&&"current"in lt&&(lt.current=Et)}function X(){for(var lt=arguments.length,Et=new Array(lt),tt=0;tt<lt;tt++)Et[tt]=arguments[tt];var mt=Et.filter(function(xt){return xt});return mt.length<=1?mt[0]:function(xt){Et.forEach(function(Xt){$(Xt,xt)})}}function ee(){for(var lt=arguments.length,Et=new Array(lt),tt=0;tt<lt;tt++)Et[tt]=arguments[tt];return J(function(){return X.apply(void 0,Et)},Et,function(mt,xt){return mt.length===xt.length&&mt.every(function(Xt,vt){return Xt===xt[vt]})})}function ie(lt){var Et,tt,mt=Object(C.isMemo)(lt)?lt.type.type:lt.type;return!(typeof mt=="function"&&!((Et=mt.prototype)!==null&&Et!==void 0&&Et.render)||typeof lt=="function"&&!((tt=lt.prototype)!==null&&tt!==void 0&&tt.render))}var G=l("i8i4"),Q=l.n(G);function W(lt){return lt instanceof HTMLElement||lt instanceof SVGElement}function ne(lt){return W(lt)?lt:lt instanceof O.a.Component?Q.a.findDOMNode(lt):null}var te=l("bdgK"),_e=new Map;function he(lt){lt.forEach(function(Et){var tt,mt=Et.target;(tt=_e.get(mt))===null||tt===void 0||tt.forEach(function(xt){return xt(mt)})})}var oe=new te.a(he),ge=null,me=null;function Z(lt,Et){_e.has(lt)||(_e.set(lt,new Set),oe.observe(lt)),_e.get(lt).add(Et)}function xe(lt,Et){_e.has(lt)&&(_e.get(lt).delete(Et),_e.get(lt).size||(oe.unobserve(lt),_e.delete(lt)))}var Ee=l("1OyB"),Le=l("vuIU"),we=l("Ji7U"),fe=l("LK+K"),pe=function(lt){Object(we.a)(tt,lt);var Et=Object(fe.a)(tt);function tt(){return Object(Ee.a)(this,tt),Et.apply(this,arguments)}return Object(Le.a)(tt,[{key:"render",value:function(){return this.props.children}}]),tt}(m.Component),Ke=m.createContext(null);function Me(lt){var Et=lt.children,tt=lt.onBatchResize,mt=m.useRef(0),xt=m.useRef([]),Xt=m.useContext(Ke),vt=m.useCallback(function(qe,Re,Se){mt.current+=1;var Ve=mt.current;xt.current.push({size:qe,element:Re,data:Se}),Promise.resolve().then(function(){Ve===mt.current&&(tt==null||tt(xt.current),xt.current=[])}),Xt==null||Xt(qe,Re,Se)},[tt,Xt]);return m.createElement(Ke.Provider,{value:vt},Et)}function ze(lt,Et){var tt=lt.children,mt=lt.disabled,xt=m.useRef(null),Xt=m.useRef(null),vt=m.useContext(Ke),qe=typeof tt=="function",Re=qe?tt(xt):tt,Se=m.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ve=!qe&&m.isValidElement(Re)&&ie(Re),Ge=Ve?Re.ref:null,_t=m.useMemo(function(){return X(Ge,xt)},[Ge,xt]),bt=function(){return ne(xt.current)||ne(Xt.current)};m.useImperativeHandle(Et,function(){return bt()});var gt=m.useRef(lt);gt.current=lt;var at=m.useCallback(function(ft){var Fe=gt.current,Te=Fe.onResize,ut=Fe.data,le=ft.getBoundingClientRect(),$e=le.width,Qe=le.height,Tt=ft.offsetWidth,Ot=ft.offsetHeight,Ut=Math.floor($e),At=Math.floor(Qe);if(Se.current.width!==Ut||Se.current.height!==At||Se.current.offsetWidth!==Tt||Se.current.offsetHeight!==Ot){var Pt={width:Ut,height:At,offsetWidth:Tt,offsetHeight:Ot};Se.current=Pt;var Dt=Tt===Math.round($e)?$e:Tt,Qt=Ot===Math.round(Qe)?Qe:Ot,cn=Object(B.a)(Object(B.a)({},Pt),{},{offsetWidth:Dt,offsetHeight:Qt});vt==null||vt(cn,ft,ut),Te&&Promise.resolve().then(function(){Te(cn,ft)})}},[]);return m.useEffect(function(){var ft=bt();return ft&&!mt&&Z(ft,at),function(){return xe(ft,at)}},[xt.current,mt]),m.createElement(pe,{ref:Xt},Ve?m.cloneElement(Re,{ref:_t}):Re)}var Ue=m.forwardRef(ze),He=Ue,Ne="rc-observer-key";function it(lt,Et){var tt=lt.children,mt=typeof tt=="function"?[tt]:k(tt);return mt.map(function(xt,Xt){var vt=(xt==null?void 0:xt.key)||"".concat(Ne,"-").concat(Xt);return m.createElement(He,Object(E.a)({},lt,{key:vt,ref:Xt===0?Et:void 0}),xt)})}var Xe=m.forwardRef(it);Xe.Collection=Me;var ht=R.a=Xe},t2Dn:function(ce,R,l){var E=l("hypo"),m=l("ljhN");function O(C,k,A){(A!==void 0&&!m(C[k],A)||A===void 0&&!(k in C))&&E(C,k,A)}ce.exports=O},tB8F:function(ce,R,l){"use strict";l.r(R);var E={};l.r(E),l.d(E,"request",function(){return Rl.b}),l.d(E,"initialStateConfig",function(){return Yu}),l.d(E,"getInitialState",function(){return Hd}),l.d(E,"patchRoutes",function(){return Gd}),l.d(E,"layout",function(){return kd});var m={};l.r(m),l.d(m,"patchRoutes",function(){return xd});var O={};l.r(O),l.d(O,"rootContainer",function(){return mf});var C={};l.r(C),l.d(C,"rootContainer",function(){return qd});var k={};l.r(k),l.d(k,"rootContainer",function(){return Jd});var A={};l.r(A),l.d(A,"rootContainer",function(){return Vr});var S={};l.r(S),l.d(S,"patchRoutes",function(){return oc});var y={};l.r(y),l.d(y,"rootContainer",function(){return fs});var w=l("Xn8V"),x=l("6spV"),T=l("wpse"),j=l("KUpu"),D=l("8OGu"),N=l("LtxK"),F=l("n7Qr"),B=l("VQRL"),U=l("SGZ1"),J=l("nEGZ"),$=l("IC/V"),X=l("H8Ov"),ee=l("aHGi"),ie=l("M5u2"),G=l("0O5u"),Q=l("Xf/b"),W=l("QpGB"),ne=l("NYJX"),te=l("CWID"),_e=l("ehAy"),he=l("mLN8"),oe=l("YJpY"),ge=l("dLjG"),me=l("fF/C"),Z=l("CDr+"),xe=l("FbcW"),Ee=l("oNMB"),Le=l("wwZZ"),we=l("+l9e"),fe=l("yxVd"),pe=l("vnQr"),Ke=l("5Blz"),Me=l("X6vt"),ze=l("hilM"),Ue=l("u6eR"),He=l("v/6r"),Ne=l("fDrP"),it=l("1vuE"),Xe=l("Q3OH"),ht=l("IyrG"),lt=l("nDqD"),Et=l("4rKd"),tt=l("X5kU"),mt=l("maeH"),xt=l("4Mzw"),Xt=l("Pp3M"),vt=l("v0/P"),qe=l("CkqQ"),Re=l("5QGz"),Se=l("66pj"),Ve=l("JDCn"),Ge=l("ls3p"),_t=l("sPVm"),bt=l("AGcU"),gt=l("sdAH"),at=l("CSFr"),ft=l("GYRj"),Fe=l("Bnwu"),Te=l("kP48"),ut=l("NEdc"),le=l("JnaH"),$e=l("MRpI"),Qe=l("EgRx"),Tt=l("/8Wl"),Ot=l("mMun"),Ut=l("oLb5"),At=l("rS2G"),Pt=l("bDgo"),Dt=l("eCOq"),Qt=l("uVHs"),cn=l("ReSd"),$n=l("pkYH"),hn=l("izsi"),_n=l("lSoN"),bn=l("xtlo"),Bn=l("p1ln"),Tn=l("ZahQ"),Tr=l("nZC5"),Sr=l("HjuX"),Wr=l("pZem"),br=l("A9H8"),Wn=l("DMUC"),gr=l("B/G0"),na=l("DVom"),jn=l("v3oe"),un=l("9zP7"),zt=l("T/5g"),Bt=l("rE4C"),H=l("Sb5z"),ot=l("Pq08"),nt=l("Dyhc"),Ct=l("WQuA"),Wt=l("y4z8"),kn=l("jhyg"),Sn=l("Qqe/"),Zn=l("J428"),Or=l("c8Xr"),Yn=l("jGdh"),Nn=l("s1ay"),Zt=l("Rw1i"),rr=l("quHW"),Gn=l("YjZU"),ln=l("uln6"),Xn=l("sgqd"),Kn=l("zsCH"),fr=l("WIyh"),Hn=l("cnT9"),Sa=l("D1Ff"),Lr=l("WlFw"),Ca=l("QxII"),za=l("NHo6"),Ma=l("O9az"),va=l("b8+j"),qa=l("yIAO"),gi=l("nlPz"),Qi=l("2KAr"),mi=l("3dhw"),Cr=l("zTPR"),Un=l("m71J"),Lt=l("rpUR"),gn=l("EnLX"),Ln=l("9/ry"),kr=l("KvPC"),ea=l("z9fm"),Qr=l("43iI"),Na=l("mcGr"),ar=l("8DXf"),pi=l("OmS+"),_i=l("rUU2"),ti=l("6cL7"),ui=l("ZDb2"),Ri=l("EOz7"),ao=l("JI6M"),Zi=l("beyn"),Fi=l("A+b4"),Si=l("Yanh"),qi=l("Rbmm"),eo=l("M1bg"),xo=l("9Y4n"),cs=l("yZgL"),ba=l("hwEt"),sa=l("xxWa"),Da=l("R3M+"),On=l("bkVK"),xn=l("aKgm"),Rt=l("PDVC"),mr=l("P84e"),ta=l("AQ/w"),ma=l("3Us1"),Oa=l("eP3D"),Pn=l("Mn2j"),Kr=l("BtTS"),Vn=l("yiTY"),tr=l("Uc1W"),Ea=l("y36+"),Ja=l("gweS"),go=l("URK0"),fi=l("gVIt"),lo=l("lV6h"),Oi=l("waHm"),io=l("RVXi"),Vi=l("Lj+q"),vo=l("IVhM"),qo=l("WU/Z"),hs=l("1jPx"),$t=l("8Lo7"),rt=l("Iw+M"),Vt=l("FIIH"),tn=l("p/G/"),wn=l("oat3"),qn=l("BLTA"),zn=l("I5+W"),xr=l("PaaY"),da=l("JO4c"),en=l("eDW+"),Fn=l("rtIu"),Jn=l("jGFG"),Ir=l("NId1"),Gr=l("IUJg"),ga=l("F1NP"),Mr=l("ti1D"),$a=l("NQz/"),Ya=l("UHn5"),_o=l("/vMi"),Ni=l("nkhd"),ec=l("+u1y"),ks=l("9BQv"),jo=l("Tz1E"),Qn=l("U9fH"),ka=l("+4le"),Pa=l("jIZW"),Qa=l("oYEA"),Ei=l("7yTQ"),zo=l("jHRr"),fo=l("Rka6"),gs=l("8Ubs"),Ks=l("FK48"),pc=l("Auwt"),tc=l("KAxK"),xc=l("/0sN"),kc=l("VvX1"),Ss=l("2aV/"),Js=l("aKtI"),Mo=l("VUky"),js=l("9bAj"),Yc=l("xF6R"),gc=l("Dbv2"),Cl=l("KHCi"),wl=l("i/DM"),Wc=l("hYqy"),nl=l("JXee"),Rc=l("+Hw1"),su=l("FBts"),Pl=l("3UWB"),al=l("S5nV"),Ml=l("xD7I"),Tl=l("aNdP"),td=l("UIoa"),rl=l("Osgv"),dl=l("FKIO"),qt=l("Sf9Y"),nr=l("VuYY"),Ur=l("ue5M"),Yr=l("80Z6"),ni=l("qkSU"),vi=l("xaQh"),zr=l("GPZX"),wr=l("eCow"),Ua=l("/R3g"),La=l("0pSW"),Nr=l("85tw"),ua=l("UvYY"),ra=l("DVoG"),ri=l("aLaE"),li=l("fQri"),hi=l("RDHo"),ii=l("9Rzw"),Di=l("iMhB"),Xo=l("/mKc"),ps=l("u6Ie"),mc=l("9znl"),Ts=l("+GPJ"),Ar=l("haHa"),Gs=l("RhWa"),Nc=l("PUJJ"),Jc=l("YceZ"),Fc=l("jksQ"),Ro=l("FuvP"),Dl=l("Uq4z"),Vl=l("+2a4"),hu=l("Gw+j"),ru=l("CO2k"),pd=l("rVgK"),ql=l("ecuC"),Ru=l("HQPm"),Hl=l("IbaC"),fu=l("s00F"),nd=l("V0Bj"),bd=l("hwEL"),ml=l("d/5L"),os=l("oJGl"),wu=l("6FCX"),cd=l("OAmA"),Ud=l("p6E5"),Eu=l("Xxk+"),El=l("L5O0"),eu=l("bcvT"),rd=l("CRpX"),yn=l("aRU8"),Dr=l("p5yU"),Xr=l("dnZx"),Ta=l("NMu4"),Ra=l("5JgN"),wi=l("VWci"),mo=l("+L6B"),Yi=l("2/Rp"),Ji=l("/xke"),Vs=l("TeRw"),Jo=l("qLMh"),dn=l("9og8"),pn=l("miYZ"),sr=l("tsqr"),lr=l("q1tI"),_a=l.n(lr),Fa=l("9kvl"),Va=l("ShgS"),di=l("nKUr"),Ci=Va.a.pwa,wo=document.location.protocol==="https:";if(Ci)window.addEventListener("sw.offline",function(){sr.default.warning(Object(Fa.i)().formatMessage({id:"app.pwa.offline"}))}),window.addEventListener("sw.updated",function(St){var on=St,Dn=function(){var Jr=Object(dn.a)(Object(Jo.a)().mark(function Ia(){var Li;return Object(Jo.a)().wrap(function(es){for(;;)switch(es.prev=es.next){case 0:if(Li=on.detail&&on.detail.waiting,Li){es.next=3;break}return es.abrupt("return",!0);case 3:return es.next=5,new Promise(function(Bo,Uo){var Dc=new MessageChannel;Dc.port1.onmessage=function(nc){nc.data.error?Uo(nc.data.error):Bo(nc.data)},Li.postMessage({type:"skip-waiting"},[Dc.port2])});case 5:return window.location.reload(!0),es.abrupt("return",!0);case 7:case"end":return es.stop()}},Ia)}));return function(){return Jr.apply(this,arguments)}}(),aa="open".concat(Date.now()),oa=Object(di.jsx)(Yi.a,{type:"primary",onClick:function(){Vs.default.close(aa),Dn()},children:Object(Fa.i)().formatMessage({id:"app.pwa.serviceworker.updated.ok"})});Vs.default.open({message:Object(Fa.i)().formatMessage({id:"app.pwa.serviceworker.updated"}),description:Object(Fa.i)().formatMessage({id:"app.pwa.serviceworker.updated.hint"}),btn:oa,key:aa,onClose:function(){var Jr=Object(dn.a)(Object(Jo.a)().mark(function Li(){return Object(Jo.a)().wrap(function(es){for(;;)switch(es.prev=es.next){case 0:return es.abrupt("return",null);case 1:case"end":return es.stop()}},Li)}));function Ia(){return Jr.apply(this,arguments)}return Ia}()})});else if("serviceWorker"in navigator&&wo){var ho=navigator,Io=ho.serviceWorker;Io.getRegistrations&&Io.getRegistrations().then(function(St){St.forEach(function(on){on.unregister()})}),Io.getRegistration().then(function(St){St&&St.unregister()}),window.caches&&window.caches.keys&&caches.keys().then(function(St){St.forEach(function(on){caches.delete(on)})})}var Fo=l("bCY9"),xs=l("oBTY"),ms=l("DYRE"),ys=l("zeV3"),bs=l("k1fw"),Po=l("T2oS"),yr=l("W9HT"),Ls=l("L8Ib"),Zs=l("aIfO"),Sc=l("qVdP"),Hs=l("jsC+"),bc=l("PpiC"),cr=l("TSYQ"),qr=l.n(cr),yi=l("2Fcx"),Ki=l.n(yi),uo=["overlayClassName"],As=function(on){var Dn=on.overlayClassName,aa=Object(bc.a)(on,uo);return Object(di.jsx)(Hs.a,Object(bs.a)({overlayClassName:qr()(Ki.a.container,Dn)},aa))},zc=As,cc=l("VvHf"),fl=l.n(cc),Bc=l("6OOT"),Gl=function(){var St=Object(dn.a)(Object(Jo.a)().mark(function on(){return Object(Jo.a)().wrap(function(aa){for(;;)switch(aa.prev=aa.next){case 0:localStorage.removeItem(Ls.a),Fa.d.push("/login"),window.location.reload();case 3:case"end":return aa.stop()}},on)}));return function(){return St.apply(this,arguments)}}(),Fl={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET,pl=function(){var on=Object(Fa.j)("@@initialState"),Dn=on.initialState,aa=Dn===void 0?{}:Dn,oa=on.setInitialState,Jr=aa,Ia=Jr.currentUser,Li=Ia===void 0?{}:Ia,no=[{label:Object(di.jsxs)(di.Fragment,{children:[Object(di.jsx)(Zs.a,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(Bo){var Uo=Bo.key;if(Uo==="logout"&&aa){Gl().then(function(){oa(Object(bs.a)(Object(bs.a)({},aa),{},{currentUser:void 0}))});return}},key:"logout"}];return Object(di.jsx)(zc,{menu:{items:no},disabled:Fl==="inner",children:Object(di.jsxs)("span",{className:"".concat(fl.a.action," ").concat(fl.a.account),children:[Object(di.jsx)(Bc.a,{className:fl.a.avatar,size:"small",staffName:Li.staffName}),Object(di.jsx)("span",{className:qr()(fl.a.name,"anticon"),children:Li.staffName})]})})},gu=pl,bl=function(){var on=Object(Fa.j)("@@initialState"),Dn=on.initialState;if(!Dn||!Dn.settings)return null;var aa=Dn.settings,oa=aa.navTheme,Jr=aa.layout,Ia=fl.a.right;(oa==="dark"&&Jr==="top"||Jr==="mix")&&(Ia=qr()(fl.a.right,fl.a.dark));function Li(){}return Object(di.jsx)(ys.b,{className:Ia,children:Object(di.jsx)(gu,{onClickLogin:Li})})},tu=bl,hl=l("UOll"),ju=l("Qyje"),il=l.n(ju),Mu=l("u7Y8"),ji=l.n(Mu),xa={black85:"rgba(0,10,36,0.85)",black65:"rgba(0,10,36,0.65)",black45:"rgba(0,10,36,0.45)",black25:"rgba(0,10,36,0.25)"},as={"blue-6":"#296DF3","primary-color":"#296DF3","green-6":"#26C992","success-color":"#26C992","red-5":"#EF4872","error-color":"#EF4872","gold-6":"#FFB924","warning-color":"#FFB924","primary-1":"#E3ECFD","primary-2":"#BED2FB","primary-3":"#86ACF8","primary-4":"#6193F6","primary-5":"#4E86F5","primary-6":"#296DF3","primary-7":"#0D57E8","primary-8":"#0B49C3","primary-9":"#093B9D","primary-10":"#062666","heading-color":xa.black85,"text-color":xa.black85,"text-color-secondary":xa.black65,"border-radius-base":"4px","btn-padding-horizontal-sm":"8px","btn-padding-horizontal-base":"16px","btn-padding-horizontal-lg":"16px","btn-default-color":xa.black65,"btn-default-border":"rgba(0,0,0,0.15)","btn-disable-color":xa.black25,"btn-disable-border":"rgba(0,10,36,0.15)","btn-disable-bg":"rgba(0,10,36,0.04)"},ws=as;function Cs(St){return $o.apply(this,arguments)}function $o(){return $o=Object(dn.a)(Object(Jo.a)().mark(function St(on){return Object(Jo.a)().wrap(function(aa){for(;;)switch(aa.prev=aa.next){case 0:return aa.abrupt("return",Object(Fa.f)("/davinciapi/login/tmeloginCallback",{params:{code:on}}));case 1:case"end":return aa.stop()}},St)})),$o.apply(this,arguments)}var _c=l("BqDR"),Lc=l("c+yx"),Rl=l("tPa5"),Ol=Ls.a,cl="/",au=function(){var St=Object(dn.a)(Object(Jo.a)().mark(function on(){var Dn,aa;return Object(Jo.a)().wrap(function(Jr){for(;;)switch(Jr.prev=Jr.next){case 0:return Jr.prev=0,Jr.next=3,fetch("".concat(Va.b,"supersonic.config.json"));case 3:return Dn=Jr.sent,Jr.next=6,Dn.json();case 6:return aa=Jr.sent,Jr.abrupt("return",aa);case 10:Jr.prev=10,Jr.t0=Jr.catch(0),console.warn("\u65E0\u6CD5\u83B7\u53D6\u914D\u7F6E\u6587\u4EF6: \u8FD0\u884C\u65F6\u73AF\u5883\u5C06\u4EE5semantic\u542F\u52A8");case 13:case"end":return Jr.stop()}},on,null,[[0,10]])}));return function(){return St.apply(this,arguments)}}();yr.a.setDefaultIndicator(Object(di.jsx)(ji.a,{color:ws["primary-color"],height:25,width:2,radius:2,margin:2}));var Yu={loading:Object(di.jsx)(yr.a,{wrapperClassName:"initialLoading",children:Object(di.jsx)("div",{className:"loadingPlaceholder"})})},Od=function(){var St=Object(dn.a)(Object(Jo.a)().mark(function on(){var Dn,aa,oa,Jr,Ia;return Object(Jo.a)().wrap(function(no){for(;;)switch(no.prev=no.next){case 0:if(Dn=window.location.search,Dn.length>0&&(Dn=Dn.slice(1)),aa=il.a.parse(Dn),!aa.code){no.next=17;break}return no.prev=4,oa=localStorage.getItem(Ls.b),no.next=8,Cs(aa.code);case 8:Jr=no.sent,localStorage.setItem(Ol,Jr.payload),Ia=Object(Lc.a)(window.location.href,"code"),window.location.href=oa||Ia,no.next=17;break;case 14:no.prev=14,no.t0=no.catch(4),console.log(no.t0);case 17:case"end":return no.stop()}},on,null,[[4,14]])}));return function(){return St.apply(this,arguments)}}(),Lu=function(){return[]};function Hd(){return af.apply(this,arguments)}function af(){return af=Object(dn.a)(Object(Jo.a)().mark(function St(){var on,Dn,aa,oa,Jr,Ia;return Object(Jo.a)().wrap(function(no){for(;;)switch(no.prev=no.next){case 0:if(on=function(){var es=Object(dn.a)(Object(Jo.a)().mark(function Bo(){var Uo,Dc,nc;return Object(Jo.a)().wrap(function(Eo){for(;;)switch(Eo.prev=Eo.next){case 0:return Eo.prev=0,Eo.next=3,Object(_c.a)();case 3:if(Uo=Eo.sent,Dc=Uo.code,nc=Uo.data,Dc!==200){Eo.next=8;break}return Eo.abrupt("return",Object(bs.a)(Object(bs.a)({},nc),{},{staffName:nc.staffName||nc.name}));case 8:Eo.next=12;break;case 10:Eo.prev=10,Eo.t0=Eo.catch(0);case 12:return Eo.abrupt("return",void 0);case 13:case"end":return Eo.stop()}},Bo,null,[[0,10]])}));return function(){return es.apply(this,arguments)}}(),Dn=Fa.d.location,aa=Dn.query,oa=aa[Ol]||localStorage.getItem(Ol),!(window.location.host.includes("tmeoa")&&!oa)){no.next=6;break}return no.next=6,Od();case 6:return no.next=8,on();case 8:return Jr=no.sent,Jr&&(localStorage.setItem("user",Jr.staffName),Jr.orgName&&localStorage.setItem("organization",Jr.orgName)),Ia=Lu(),no.abrupt("return",{fetchUserInfo:on,currentUser:Jr,settings:Va.a,authCodes:Ia});case 12:case"end":return no.stop()}},St)})),af.apply(this,arguments)}function Gd(St){return Nd.apply(this,arguments)}function Nd(){return Nd=Object(dn.a)(Object(Jo.a)().mark(function St(on){var Dn,aa,oa,Jr,Ia;return Object(Jo.a)().wrap(function(no){for(;;)switch(no.prev=no.next){case 0:return Dn=on.routes,no.next=3,au();case 3:aa=no.sent,aa&&aa.env&&(oa=aa.env,Jr=Dn[0].routes,oa&&(Ia=Object(Lc.i)(Jr,oa),Jr.splice(0,99),Jr.push.apply(Jr,Object(xs.a)(Ia))));case 5:case"end":return no.stop()}},St)})),Nd.apply(this,arguments)}var kd=function(on){var Dn=on,aa=Dn.initialState;return Object(bs.a)({onMenuHeaderClick:function(Jr){Jr.preventDefault(),Fa.d.push(cl)},logo:Object(di.jsxs)(ys.b,{children:[Object(di.jsx)(hl.b,{icon:hl.a.iconlogobiaoshi,size:30,color:"#fff",style:{display:"inline-block",marginTop:8}}),Object(di.jsx)("div",{className:"logo",children:"\u8D85\u97F3\u6570(SuperSonic)"})]}),contentStyle:Object(bs.a)({},(aa==null?void 0:aa.contentStyle)||{}),rightContentRender:function(){return Object(di.jsx)(tu,{})},disableContentMargin:!0,menuHeaderRender:void 0,childrenRender:function(Jr){return Jr},openKeys:!1},aa==null?void 0:aa.settings)},xf={};function Bd(St){return St.replace(/\-(\w)/g,function(on,Dn){return Dn.toUpperCase()})}function Fu(St){return Array.isArray(St)&&(St||[]).forEach(function(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"};if(on.icon){var Dn=on.icon,aa=Bd(Dn.replace(Dn[0],Dn[0].toUpperCase())),oa=xf[Dn]||xf["".concat(aa,"Outlined")];if(oa)try{on.icon=_a.a.createElement(oa)}catch(Ia){console.log(Ia)}}if(on.routes||on.children){var Jr=Fu(on.routes||on.children);on.children=Jr}}),St}function xd(St){var on=St.routes;Fu(on)}var of=l("jrin"),ld,cu={},ll={CHAT:"chat",SEMANTIC:"semantic"},ad={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET,Xu=[].concat(Object(xs.a)(ad!=="inner"?[{path:"/chat",name:"chat",component:"./Chat",envEnableList:[ll.CHAT]}]:[]),[{path:"/chatSetting/:modelId?/:menuKey?",name:"chatSetting",component:"./SemanticModel/ChatSetting",envEnableList:[ll.CHAT]},{path:"/semanticModel/:modelId?/:menuKey?",name:"semanticModel",component:"./SemanticModel/ProjectManager",envEnableList:[ll.SEMANTIC]},{path:"/login",name:"login",layout:!1,hideInMenu:!0,component:"./Login"},{path:"/",redirect:ad==="inner"?"/semanticModel":"/chat",envRedirect:(ld={},Object(of.a)(ld,ll.CHAT,"/chat"),Object(of.a)(ld,ll.SEMANTIC,"/semanticModel"),ld)},{path:"/401",component:"./401"}]),_s=Xu;function jl(St){var on=St.authCodes;return Object.keys(cu).reduce(function(Dn,aa){var oa=Object(bs.a)({},Dn),Jr=cu[aa],Ia=on||[];return oa[Jr]=Ia.includes(Jr),oa},{})}var Uu=l("4yFJ"),jd=l("T2gR"),Sf=function(on){if(typeof Fa.j!="function")throw new Error("[plugin-access]: useModel is not a function, @umijs/plugin-initial-state is needed.");var Dn=on.children,aa=Object(Fa.j)("@@initialState"),oa=aa.initialState,Jr=Object(lr.useMemo)(function(){return jl(oa)},[oa]);return _a.a.createElement(Uu.a.Provider,{value:Jr},_a.a.cloneElement(Dn,Object(bs.a)(Object(bs.a)({},Dn.props),{},{routes:Object(jd.a)(on.routes,Jr)})))},Af=Sf;function mf(St,on){var Dn=on.routes;return _a.a.createElement(Af,{routes:Dn},St)}var Ld=l("uRV1");function qd(St,on){return _a.a.createElement(Ld.a,on,St)}var bu=l("LtsZ"),$d=l("I5X1");if(typeof $d.a!="function")throw new Error("[plugin-initial-state]: useModel is not a function, @umijs/plugin-model is required.");var Ju=function(St){var on=St.children,Dn=Object(lr.useRef)(!1),aa=Fa.e.applyPlugins({key:"initialStateConfig",type:bu.ApplyPluginsType.modify,initialValue:{}})||{},oa=Object($d.a)("@@initialState")||{},Jr=oa.loading,Ia=Jr===void 0?!1:Jr;return Object(lr.useEffect)(function(){Ia||(Dn.current=!0)},[Ia]),Ia&&!Dn.current?aa.loading||null:on};function Jd(St){return _a.a.createElement(Ju,null,St)}var Zo=l("ZW6p");function Vr(St){return _a.a.createElement(Zo.b,null,St)}var Yo={};function Mi(St){return St.replace(/\-(\w)/g,function(on,Dn){return Dn.toUpperCase()})}function ds(St){return Array.isArray(St)&&(St||[]).forEach(function(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},Dn=on.icon?on.icon:on.menu?on.menu.icon:"";if(Dn&&typeof Dn=="string"){var aa=Mi(Dn.replace(Dn[0],Dn[0].toUpperCase())),oa=Yo[Dn]||Yo["".concat(aa,"Outlined")];if(oa)try{on.icon&&(on.icon=_a.a.createElement(oa)),on.menu&&(on.menu.icon=_a.a.createElement(oa))}catch(Ia){console.log(Ia)}}if(on.routes||on.children){var Jr=ds(on.routes||on.children);on.children=Jr}}),St}function oc(St){var on=St.routes;ds(on)}var Il=l("tJVT"),pu=function(on){return new Promise(function(Dn){return setTimeout(Dn,on||0)})};function Nl(){return Du.apply(this,arguments)}function Du(){return Du=Object(dn.a)(Object(Jo.a)().mark(function St(){return Object(Jo.a)().wrap(function(Dn){for(;;)switch(Dn.prev=Dn.next){case 0:return Dn.next=2,Hd();case 2:return Dn.abrupt("return",Dn.sent);case 3:case"end":return Dn.stop()}},St)})),Du.apply(this,arguments)}var vu={initialState:void 0,loading:!0,error:void 0},lu=function(){var St=Object(lr.useState)(vu),on=Object(Il.a)(St,2),Dn=on[0],aa=on[1],oa=Object(lr.useCallback)(Object(dn.a)(Object(Jo.a)().mark(function Ia(){var Li,no;return Object(Jo.a)().wrap(function(Bo){for(;;)switch(Bo.prev=Bo.next){case 0:return aa(function(Uo){return Object(bs.a)(Object(bs.a)({},Uo),{},{loading:!0,error:void 0})}),Bo.prev=1,Li=function(){return new Promise(function(Dc){return Dc(Nl())})},Bo.next=5,Li();case 5:no=Bo.sent,aa(function(Uo){return Object(bs.a)(Object(bs.a)({},Uo),{},{initialState:no,loading:!1})}),Bo.next=12;break;case 9:Bo.prev=9,Bo.t0=Bo.catch(1),aa(function(Uo){return Object(bs.a)(Object(bs.a)({},Uo),{},{error:Bo.t0,loading:!1})});case 12:return Bo.next=14,pu(10);case 14:case"end":return Bo.stop()}},Ia,null,[[1,9]])})),[]),Jr=Object(lr.useCallback)(function(){var Ia=Object(dn.a)(Object(Jo.a)().mark(function Li(no){return Object(Jo.a)().wrap(function(Bo){for(;;)switch(Bo.prev=Bo.next){case 0:return aa(function(Uo){return typeof no=="function"?Object(bs.a)(Object(bs.a)({},Uo),{},{initialState:no(Uo.initialState),loading:!1}):Object(bs.a)(Object(bs.a)({},Uo),{},{initialState:no,loading:!1})}),Bo.next=3,pu(10);case 3:case"end":return Bo.stop()}},Li)}));return function(Li){return Ia.apply(this,arguments)}}(),[]);return Object(lr.useEffect)(function(){oa()},[]),Object(bs.a)(Object(bs.a)({},Dn),{},{refresh:oa,setInitialState:Jr})},id=l("mtLc"),Ws=l("fWQN"),re=Object(id.a)(function St(){var on=this;Object(Ws.a)(this,St),this.callbacks={},this.data={},this.update=function(Dn){(on.callbacks[Dn]||[]).forEach(function(aa){try{var oa=on.data[Dn];aa(oa)}catch(Jr){aa(void 0)}})}}),Ae=function(St){var on=St.hook,Dn=St.onUpdate,aa=St.namespace,oa=Object(lr.useRef)(Dn);oa.current=Dn;var Jr=Object(lr.useRef)(!1),Ia;try{if(Ia=on(),!1)var Li}catch(no){console.error("plugin-model: Invoking '".concat(aa||"unknown","' model failed:"),no)}return Object(lr.useMemo)(function(){oa.current(Ia),Jr.current=!1},[]),Object(lr.useEffect)(function(){Jr.current?oa.current(Ia):Jr.current=!0}),Object(di.jsx)(di.Fragment,{})},ct=l("qwGt"),wt={"@@initialState":lu},an=new re,jr=Ae,Xa=function(St){var on=St.children;return Object(di.jsxs)(ct.a.Provider,{value:an,children:[Object.entries(wt).map(function(Dn){return Object(di.jsx)(jr,{namespace:Dn[0],hook:Dn[1],onUpdate:function(oa){var Jr=Dn,Ia=Object(Il.a)(Jr,1),Li=Ia[0];an.data[Li]=oa,an.update(Li)}},Dn[0])}),on]})};function fs(St){return _a.a.createElement(Xa,null,St)}Fo.a.register({apply:E,path:"../../app.tsx"}),Fo.a.register({apply:m,path:"@@/plugin-antd-icon-config/app.ts"}),Fo.a.register({apply:O,path:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/src/.umi-production/plugin-access/rootContainer.ts"}),Fo.a.register({apply:C,path:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/src/.umi-production/plugin-dva/runtime.tsx"}),Fo.a.register({apply:k,path:"../plugin-initial-state/runtime"}),Fo.a.register({apply:A,path:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/src/.umi-production/plugin-locale/runtime.tsx"}),Fo.a.register({apply:S,path:"@@/plugin-layout/runtime.tsx"}),Fo.a.register({apply:y,path:"../plugin-model/runtime"});var Xs=1,Uc=l("FfOG"),zl=l("zlVK");function Bu(){var St=[{path:"/",component:l("PeeD").default,routes:[{path:"/chat",name:"chat",component:l("2AO3").default,envEnableList:["chat"],exact:!0},{path:"/chatSetting/:modelId?/:menuKey?",name:"chatSetting",component:l("1fhP").default,envEnableList:["chat"],exact:!0},{path:"/semanticModel/:modelId?/:menuKey?",name:"semanticModel",component:l("vrUN").default,envEnableList:["semantic"],exact:!0},{path:"/login",name:"login",layout:!1,hideInMenu:!0,component:l("3imC").default,exact:!0},{path:"/",redirect:"/chat",envRedirect:{chat:"/chat",semantic:"/semanticModel"},exact:!0},{path:"/401",component:l("exFM").default,exact:!0}]}];return Fo.a.applyPlugins({key:"patchRoutes",type:bu.ApplyPluginsType.event,args:{routes:St}}),St}var ud=l("hh8c");Object(Zo.c)();var Mp=function(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Fo.a.applyPlugins({key:"render",type:bu.ApplyPluginsType.compose,initialValue:function(){var aa=Fo.a.applyPlugins({key:"modifyClientRenderOpts",type:bu.ApplyPluginsType.modify,initialValue:{routes:on.routes||Bu(),plugin:Fo.a,history:Object(Uc.a)(on.hot),isServer:{npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.__IS_SERVER,rootElement:"root"}});return Object(zl.renderClient)(aa)},args:on})},ev=Mp(),Rn=R.default=ev();window.g_umi={version:"3.5.41"}},tEiQ:function(ce,R,l){"use strict";(function(E){var m=l("q1tI"),O=l.n(m),C=l("dI71"),k=l("17x9"),A=l.n(k),S=1073741823,y=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof E!="undefined"?E:{};function w(){var F="__global_unique_id__";return y[F]=(y[F]||0)+1}function x(F,B){return F===B?F!==0||1/F==1/B:F!==F&&B!==B}function T(F){var B=[];return{on:function(J){B.push(J)},off:function(J){B=B.filter(function($){return $!==J})},get:function(){return F},set:function(J,$){F=J,B.forEach(function(X){return X(F,$)})}}}function j(F){return Array.isArray(F)?F[0]:F}function D(F,B){var U,J,$="__create-react-context-"+w()+"__",X=function(ie){Object(C.a)(G,ie);function G(){var W;return W=ie.apply(this,arguments)||this,W.emitter=T(W.props.value),W}var Q=G.prototype;return Q.getChildContext=function(){var ne;return ne={},ne[$]=this.emitter,ne},Q.componentWillReceiveProps=function(ne){if(this.props.value!==ne.value){var te=this.props.value,_e=ne.value,he;x(te,_e)?he=0:(he=typeof B=="function"?B(te,_e):S,he|=0,he!==0&&this.emitter.set(ne.value,he))}},Q.render=function(){return this.props.children},G}(m.Component);X.childContextTypes=(U={},U[$]=A.a.object.isRequired,U);var ee=function(ie){Object(C.a)(G,ie);function G(){var W;return W=ie.apply(this,arguments)||this,W.state={value:W.getValue()},W.onUpdate=function(ne,te){var _e=W.observedBits|0;(_e&te)!=0&&W.setState({value:W.getValue()})},W}var Q=G.prototype;return Q.componentWillReceiveProps=function(ne){var te=ne.observedBits;this.observedBits=te==null?S:te},Q.componentDidMount=function(){this.context[$]&&this.context[$].on(this.onUpdate);var ne=this.props.observedBits;this.observedBits=ne==null?S:ne},Q.componentWillUnmount=function(){this.context[$]&&this.context[$].off(this.onUpdate)},Q.getValue=function(){return this.context[$]?this.context[$].get():F},Q.render=function(){return j(this.props.children)(this.state.value)},G}(m.Component);return ee.contextTypes=(J={},J[$]=A.a.object,J),{Provider:X,Consumer:ee}}var N=O.a.createContext||D;R.a=N}).call(this,l("IyRk"))},tGEx:function(ce,R,l){"use strict";(function(E){Object.defineProperty(R,"__esModule",{value:!0}),R.getAceInstance=R.debounce=R.editorEvents=R.editorOptions=void 0;var m=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];R.editorOptions=m;var O=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];R.editorEvents=O;var C=function(){var S;return typeof window=="undefined"?(E.window={},S=l("bU/s"),delete E.window):window.ace?(S=window.ace,S.acequire=window.ace.require||window.ace.acequire):S=l("bU/s"),S};R.getAceInstance=C;var k=function(S,y){var w=null;return function(){var x=this,T=arguments;clearTimeout(w),w=setTimeout(function(){S.apply(x,T)},y)}};R.debounce=k}).call(this,l("IyRk"))},tJVT:function(ce,R,l){"use strict";l.d(R,"a",function(){return k});function E(A){if(Array.isArray(A))return A}function m(A,S){var y=A==null?null:typeof Symbol!="undefined"&&A[Symbol.iterator]||A["@@iterator"];if(y!=null){var w=[],x=!0,T=!1,j,D;try{for(y=y.call(A);!(x=(j=y.next()).done)&&(w.push(j.value),!(S&&w.length===S));x=!0);}catch(N){T=!0,D=N}finally{try{!x&&y.return!=null&&y.return()}finally{if(T)throw D}}return w}}var O=l("Qw5x");function C(){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 k(A,S){return E(A)||m(A,S)||Object(O.a)(A,S)||C()}},tJk1:function(ce,R,l){"use strict";var E=l("bfL6").default,m=typeof BigInt64Array!="undefined";ce.exports=function O(C,k){if(C===k)return!0;if(C&&k&&typeof C=="object"&&typeof k=="object"){if(C.constructor!==k.constructor)return!1;var A,S,y;if(Array.isArray(C)){if(A=C.length,A!=k.length)return!1;for(S=A;S--!=0;)if(!O(C[S],k[S]))return!1;return!0}if(C instanceof Map&&k instanceof Map){if(C.size!==k.size)return!1;var w=E(C.entries()),x;try{for(w.s();!(x=w.n()).done;)if(S=x.value,!k.has(S[0]))return!1}catch(B){w.e(B)}finally{w.f()}var T=E(C.entries()),j;try{for(T.s();!(j=T.n()).done;)if(S=j.value,!O(S[1],k.get(S[0])))return!1}catch(B){T.e(B)}finally{T.f()}return!0}if(C instanceof Set&&k instanceof Set){if(C.size!==k.size)return!1;var D=E(C.entries()),N;try{for(D.s();!(N=D.n()).done;)if(S=N.value,!k.has(S[0]))return!1}catch(B){D.e(B)}finally{D.f()}return!0}if(ArrayBuffer.isView(C)&&ArrayBuffer.isView(k)){if(A=C.length,A!=k.length)return!1;for(S=A;S--!=0;)if(C[S]!==k[S])return!1;return!0}if(C.constructor===RegExp)return C.source===k.source&&C.flags===k.flags;if(C.valueOf!==Object.prototype.valueOf)return C.valueOf()===k.valueOf();if(C.toString!==Object.prototype.toString)return C.toString()===k.toString();if(y=Object.keys(C),A=y.length,A!==Object.keys(k).length)return!1;for(S=A;S--!=0;)if(!Object.prototype.hasOwnProperty.call(k,y[S]))return!1;for(S=A;S--!=0;){var F=y[S];if(!(F==="_owner"&&C.$$typeof)&&!O(C[F],k[F]))return!1}return!0}return C!==C&&k!==k}},tLB3:function(ce,R,l){var E=l("jXQH"),m=l("GoyQ"),O=l("/9aa"),C=0/0,k=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,S=/^0o[0-7]+$/i,y=parseInt;function w(x){if(typeof x=="number")return x;if(O(x))return C;if(m(x)){var T=typeof x.valueOf=="function"?x.valueOf():x;x=m(T)?T+"":T}if(typeof x!="string")return x===0?x:+x;x=E(x);var j=A.test(x);return j||S.test(x)?y(x.slice(2),j?2:8):k.test(x)?C:+x}ce.exports=w},tMB7:function(ce,R,l){var E=l("y1pI");function m(O){var C=this.__data__,k=E(C,O);return k<0?void 0:C[k][1]}ce.exports=m},tPa5:function(ce,R,l){"use strict";l.d(R,"a",function(){return S}),l.d(R,"b",function(){return B});var E=l("qLMh"),m=l("9og8"),O=l("k1fw"),C=l("ZqBY"),k=l("9kvl"),A=l("L8Ib"),S=A.a,y=function(J,$){var X={},ee=k.d.location,ie=ee.query,G=ie[S]||localStorage.getItem(S);return G&&(X.Authorization="Bearer ".concat(G),X.auth="Bearer ".concat(G),localStorage.setItem(S,G)),{url:J,options:Object(O.a)(Object(O.a)({},$),{},{headers:X})}},w=function(){var U=Object(m.a)(Object(E.a)().mark(function J($){var X,ee,ie,G,Q,W;return Object(E.a)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(X=$.headers.get("redirect"),X!=="REDIRECT"){te.next=8;break}localStorage.removeItem(S),ee=window,ie=$.headers.get("contextpath"),ee.location.href=ie,te.next=14;break;case 8:return te.next=10,$==null||(G=$.clone())===null||G===void 0||(Q=G.json)===null||Q===void 0?void 0:Q.call(G);case 10:if(W=te.sent,Number(W.code)!==403){te.next=14;break}return k.d.push("/login"),te.abrupt("return",$);case 14:return te.abrupt("return",$);case 15:case"end":return te.stop()}},J)}));return function($){return U.apply(this,arguments)}}(),x,T=function(){if(x)return x;x=Object(C.b)({});var J=[y],$=[w];return x.use(function(){var X=Object(m.a)(Object(E.a)().mark(function ee(ie,G){return Object(E.a)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,G();case 2:case"end":return W.stop()}},ee)}));return function(ee,ie){return X.apply(this,arguments)}}()),J.map(function(X){return x.interceptors.request.use(X)}),$.map(function(X){return x.interceptors.response.use(X)}),x},j=T(),D=function(J,$){return j(J,$)},N=["get","post","delete","put","patch","head","options","rpc"];N.forEach(function(U){D[U]=function(J,$){return j(J,Object(O.a)(Object(O.a)({},$),{},{method:U}))}}),D.Cancel=j.Cancel,D.CancelToken=j.CancelToken,D.isCancel=j.isCancel;var F=D,B={requestInterceptors:[y],responseInterceptors:[w]}},tS8v:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}},tSXo:function(ce,R){ce.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},tU7J:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("/qDX"),C=l.n(O),k=l("5NDa"),A=l("5Dmo")},"tV+k":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=x;var E=l("+ZEL"),m=w(E),O=l("HK0d"),C=w(O),k=l("YsqO"),A=w(k),S=l("jCZ2"),y=w(S);function w(T){return T&&T.__esModule?T:{default:T}}function x(T){var j=T.prefixMap,D=T.plugins;function N(F){for(var B in F){var U=F[B];if((0,y.default)(U))F[B]=N(U);else if(Array.isArray(U)){for(var J=[],$=0,X=U.length;$<X;++$){var ee=(0,C.default)(D,B,U[$],F,j);(0,A.default)(J,ee||U[$])}J.length>0&&(F[B]=J)}else{var ie=(0,C.default)(D,B,U,F,j);ie&&(F[B]=ie),F=(0,m.default)(j,B,F)}}return F}return N}ce.exports=R.default},tadb:function(ce,R,l){var E=l("Cwc5"),m=l("Kz5y"),O=E(m,"DataView");ce.exports=O},tduB:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A};R.default=k;function m(A){return A==null||A===!1||(typeof A=="undefined"?"undefined":E(A))==="object"&&Object.keys(A).length===0}function O(A){if(m(A))return null;if((typeof A=="undefined"?"undefined":E(A))!=="object")return A;for(var S={},y=Object.keys(A),w=!1,x=0;x<y.length;x++){var T=A[y[x]],j=k(T);(j===null||j!==T)&&(w=!0),j!==null&&(S[y[x]]=j)}return Object.keys(S).length===0?null:w?S:A}function C(A){var S=!1,y=[];return A.forEach(function(w){var x=k(w);(x===null||x!==w)&&(S=!0),x!==null&&y.push(x)}),y.length==0?null:S?y:A}function k(A){return Array.isArray(A)?C(A):O(A)}},ti1D:function(ce,R,l){"use strict";var E=l("ukPv"),m=l("FVwB"),O=l("MVys"),C=E.Int8Array,k=m.aTypedArray,A=m.exportTypedArrayMethod,S=[].toLocaleString,y=[].slice,w=!!C&&O(function(){S.call(new C(1))}),x=O(function(){return[1,2].toLocaleString()!=new C([1,2]).toLocaleString()})||!O(function(){C.prototype.toLocaleString.call([1,2])});A("toLocaleString",function(){return S.apply(w?y.call(k(this)):k(this),arguments)},x)},tkDr:function(ce,R,l){},tkL2:function(ce,R,l){var E,m;/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(){"use strict";var O={}.hasOwnProperty,C="[native code]";function k(){for(var A=[],S=0;S<arguments.length;S++){var y=arguments[S];if(!!y){var w=typeof y;if(w==="string"||w==="number")A.push(y);else if(Array.isArray(y)){if(y.length){var x=k.apply(null,y);x&&A.push(x)}}else if(w==="object"){if(y.toString!==Object.prototype.toString&&!y.toString.toString().includes("[native code]")){A.push(y.toString());continue}for(var T in y)O.call(y,T)&&y[T]&&A.push(T)}}}return A.join(" ")}ce.exports?(k.default=k,ce.exports=k):(E=[],m=function(){return k}.apply(R,E),m!==void 0&&(ce.exports=m))})()},tny8:function(ce,R,l){var E=l("MVys");ce.exports=!E(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},tsqr:function(ce,R,l){"use strict";l.r(R),l.d(R,"getKeyThenIncreaseKey",function(){return te}),l.d(R,"typeList",function(){return ge}),l.d(R,"attachTypeApi",function(){return Le}),l.d(R,"getInstance",function(){return we});var E=l("wx14"),m=l("rePB"),O=l("jO45"),C=l("jN4g"),k=l("IMoZ"),A=l("zueq"),S=l("ye1Q"),y=l("TSYQ"),w=l.n(y),x=l("8tx+"),T=l("q1tI"),j=l("wEI+"),D=l("ODXe"),N=l("8HVG"),F=l("H84U");function B(pe,Ke){var Me=function(){var Ue,He,Ne=null,it={add:function(Xt,vt){Ne==null||Ne.component.add(Xt,vt)}},Xe=Object(N.a)(it),ht=Object(D.a)(Xe,2),lt=ht[0],Et=ht[1];function tt(xt){var Xt=xt.prefixCls,vt=Ue("message",Xt),qe=Ue(),Re=xt.key||te(),Se=new Promise(function(Ge){var _t=function(){return typeof xt.onClose=="function"&&xt.onClose(),Ge(!0)};pe(Object(E.a)(Object(E.a)({},xt),{prefixCls:vt,rootPrefixCls:qe,getPopupContainer:He}),function(bt){var gt=bt.prefixCls,at=bt.instance;Ne=at,lt(Ke(Object(E.a)(Object(E.a)({},xt),{key:Re,onClose:_t}),gt))})}),Ve=function(){Ne&&Ne.removeNotice(Re)};return Ve.then=function(Ge,_t){return Se.then(Ge,_t)},Ve.promise=Se,Ve}var mt=T.useRef({});return mt.current.open=tt,ge.forEach(function(xt){return Le(mt.current,xt)}),[mt.current,T.createElement(F.a,{key:"holder"},function(xt){return Ue=xt.getPrefixCls,He=xt.getPopupContainer,Et})]};return Me}var U,J=3,$,X=1,ee="",ie="move-up",G=!1,Q,W,ne=!1;function te(){return X++}function _e(pe){pe.top!==void 0&&($=pe.top,U=null),pe.duration!==void 0&&(J=pe.duration),pe.prefixCls!==void 0&&(ee=pe.prefixCls),pe.getContainer!==void 0&&(Q=pe.getContainer,U=null),pe.transitionName!==void 0&&(ie=pe.transitionName,U=null,G=!0),pe.maxCount!==void 0&&(W=pe.maxCount,U=null),pe.rtl!==void 0&&(ne=pe.rtl)}function he(pe,Ke){var Me=pe.prefixCls,ze=pe.getPopupContainer,Ue=Object(j.b)(),He=Ue.getPrefixCls,Ne=Ue.getRootPrefixCls,it=Ue.getIconPrefixCls,Xe=He("message",Me||ee),ht=Ne(pe.rootPrefixCls,Xe),lt=it();if(U){Ke({prefixCls:Xe,rootPrefixCls:ht,iconPrefixCls:lt,instance:U});return}var Et={prefixCls:Xe,transitionName:G?ie:"".concat(ht,"-").concat(ie),style:{top:$},getContainer:Q||ze,maxCount:W};x.default.newInstance(Et,function(tt){if(U){Ke({prefixCls:Xe,rootPrefixCls:ht,iconPrefixCls:lt,instance:U});return}U=tt,Ke({prefixCls:Xe,rootPrefixCls:ht,iconPrefixCls:lt,instance:tt})})}var oe={info:A.a,success:O.a,error:C.a,warning:k.a,loading:S.a},ge=Object.keys(oe);function me(pe,Ke,Me){var ze,Ue=pe.duration!==void 0?pe.duration:J,He=oe[pe.type],Ne=w()("".concat(Ke,"-custom-content"),(ze={},Object(m.a)(ze,"".concat(Ke,"-").concat(pe.type),pe.type),Object(m.a)(ze,"".concat(Ke,"-rtl"),ne===!0),ze));return{key:pe.key,duration:Ue,style:pe.style||{},className:pe.className,content:T.createElement(j.a,{iconPrefixCls:Me},T.createElement("div",{className:Ne},pe.icon||He&&T.createElement(He,null),T.createElement("span",null,pe.content))),onClose:pe.onClose,onClick:pe.onClick}}function Z(pe){var Ke=pe.key||te(),Me=new Promise(function(Ue){var He=function(){return typeof pe.onClose=="function"&&pe.onClose(),Ue(!0)};he(pe,function(Ne){var it=Ne.prefixCls,Xe=Ne.iconPrefixCls,ht=Ne.instance;ht.notice(me(Object(E.a)(Object(E.a)({},pe),{key:Ke,onClose:He}),it,Xe))})}),ze=function(){var He;U&&(U.removeNotice(Ke),(He=pe.onClose)===null||He===void 0||He.call(pe))};return ze.then=function(Ue,He){return Me.then(Ue,He)},ze.promise=Me,ze}function xe(pe){return Object.prototype.toString.call(pe)==="[object Object]"&&!!pe.content}var Ee={open:Z,config:_e,destroy:function(Ke){if(U)if(Ke){var Me=U,ze=Me.removeNotice;ze(Ke)}else{var Ue=U,He=Ue.destroy;He(),U=null}}};function Le(pe,Ke){pe[Ke]=function(Me,ze,Ue){return xe(Me)?pe.open(Object(E.a)(Object(E.a)({},Me),{type:Ke})):(typeof ze=="function"&&(Ue=ze,ze=void 0),pe.open({content:Me,duration:ze,type:Ke,onClose:Ue}))}}ge.forEach(function(pe){return Le(Ee,pe)}),Ee.warn=Ee.warning,Ee.useMessage=B(he,me);var we=function(){return null},fe=R.default=Ee},"u+7+":function(ce,R,l){var E=l("f1E4"),m=l("HctQ"),O=l("De94"),C=l("6ixQ"),k=l("yj7k"),A=l("8w+9"),S=l("CjUg"),y=">",w="<",x="prototype",T="script",j=S("IE_PROTO"),D=function(){},N=function($){return w+T+y+$+w+"/"+T+y},F=function($){$.write(N("")),$.close();var X=$.parentWindow.Object;return $=null,X},B=function(){var $=A("iframe"),X="java"+T+":",ee;return $.style.display="none",k.appendChild($),$.src=String(X),ee=$.contentWindow.document,ee.open(),ee.write(N("document.F=Object")),ee.close(),ee.F},U,J=function(){try{U=document.domain&&new ActiveXObject("htmlfile")}catch(X){}J=U?F(U):B();for(var $=O.length;$--;)delete J[x][O[$]];return J()};C[j]=!0,ce.exports=Object.create||function(X,ee){var ie;return X!==null?(D[x]=E(X),ie=new D,D[x]=null,ie[j]=X):ie=J(),ee===void 0?ie:m(ie,ee)}},"u/V1":function(ce,R,l){},u1OI:function(ce,R,l){},u3cA:function(ce,R,l){"use strict";l.r(R),l.d(R,"blue",function(){return he}),l.d(R,"cyan",function(){return _e}),l.d(R,"geekblue",function(){return oe}),l.d(R,"generate",function(){return U}),l.d(R,"gold",function(){return G}),l.d(R,"green",function(){return te}),l.d(R,"grey",function(){return Z}),l.d(R,"lime",function(){return ne}),l.d(R,"magenta",function(){return me}),l.d(R,"orange",function(){return Q}),l.d(R,"presetDarkPalettes",function(){return X}),l.d(R,"presetPalettes",function(){return $}),l.d(R,"presetPrimaryColors",function(){return J}),l.d(R,"purple",function(){return ge}),l.d(R,"red",function(){return ee}),l.d(R,"volcano",function(){return ie}),l.d(R,"yellow",function(){return W});var E=l("FER5"),m=l("LuSS"),O=2,C=.16,k=.05,A=.05,S=.15,y=5,w=4,x=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function T(xe){var Ee=xe.r,Le=xe.g,we=xe.b,fe=Object(E.i)(Ee,Le,we);return{h:fe.h*360,s:fe.s,v:fe.v}}function j(xe){var Ee=xe.r,Le=xe.g,we=xe.b;return"#".concat(Object(E.g)(Ee,Le,we,!1))}function D(xe,Ee,Le){var we=Le/100,fe={r:(Ee.r-xe.r)*we+xe.r,g:(Ee.g-xe.g)*we+xe.g,b:(Ee.b-xe.b)*we+xe.b};return fe}function N(xe,Ee,Le){var we;return Math.round(xe.h)>=60&&Math.round(xe.h)<=240?we=Le?Math.round(xe.h)-O*Ee:Math.round(xe.h)+O*Ee:we=Le?Math.round(xe.h)+O*Ee:Math.round(xe.h)-O*Ee,we<0?we+=360:we>=360&&(we-=360),we}function F(xe,Ee,Le){if(xe.h===0&&xe.s===0)return xe.s;var we;return Le?we=xe.s-C*Ee:Ee===w?we=xe.s+C:we=xe.s+k*Ee,we>1&&(we=1),Le&&Ee===y&&we>.1&&(we=.1),we<.06&&(we=.06),Number(we.toFixed(2))}function B(xe,Ee,Le){var we;return Le?we=xe.v+A*Ee:we=xe.v-S*Ee,we>1&&(we=1),Number(we.toFixed(2))}function U(xe){for(var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Le=[],we=Object(m.a)(xe),fe=y;fe>0;fe-=1){var pe=T(we),Ke=j(Object(m.a)({h:N(pe,fe,!0),s:F(pe,fe,!0),v:B(pe,fe,!0)}));Le.push(Ke)}Le.push(j(we));for(var Me=1;Me<=w;Me+=1){var ze=T(we),Ue=j(Object(m.a)({h:N(ze,Me),s:F(ze,Me),v:B(ze,Me)}));Le.push(Ue)}return Ee.theme==="dark"?x.map(function(He){var Ne=He.index,it=He.opacity,Xe=j(D(Object(m.a)(Ee.backgroundColor||"#141414"),Object(m.a)(Le[Ne]),it*100));return Xe}):Le}var J={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},$={},X={};Object.keys(J).forEach(function(xe){$[xe]=U(J[xe]),$[xe].primary=$[xe][5],X[xe]=U(J[xe],{theme:"dark",backgroundColor:"#141414"}),X[xe].primary=X[xe][5]});var ee=$.red,ie=$.volcano,G=$.gold,Q=$.orange,W=$.yellow,ne=$.lime,te=$.green,_e=$.cyan,he=$.blue,oe=$.geekblue,ge=$.purple,me=$.magenta,Z=$.grey},u6Ie:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("jbR1"),A=l("IuhT");E({target:"Set",proto:!0,real:!0,forced:m},{find:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return A(x,function(j){if(T(j,j,w))return A.stop(j)},void 0,!1,!0).result}})},u6eR:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("cT1L"),O=l("cTDu"),C=l("MVys"),k=l("R8iy"),A=[],S=A.sort,y=C(function(){A.sort(void 0)}),w=C(function(){A.sort(null)}),x=k("sort"),T=y||!w||!x;E({target:"Array",proto:!0,forced:T},{sort:function(D){return D===void 0?S.call(O(this)):S.call(O(this),m(D))}})},u7Y8:function(ce,R,l){"use strict";var E=this&&this.__makeTemplateObject||function(D,N){return Object.defineProperty?Object.defineProperty(D,"raw",{value:N}):D.raw=N,D},m=this&&this.__extends||function(){var D=function(F,B){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,J){U.__proto__=J}||function(U,J){for(var $ in J)Object.prototype.hasOwnProperty.call(J,$)&&(U[$]=J[$])},D(F,B)};return function(N,F){D(N,F);function B(){this.constructor=N}N.prototype=F===null?Object.create(F):(B.prototype=F.prototype,new B)}}(),O=this&&this.__createBinding||(Object.create?function(D,N,F,B){B===void 0&&(B=F),Object.defineProperty(D,B,{enumerable:!0,get:function(){return N[F]}})}:function(D,N,F,B){B===void 0&&(B=F),D[B]=N[F]}),C=this&&this.__setModuleDefault||(Object.create?function(D,N){Object.defineProperty(D,"default",{enumerable:!0,value:N})}:function(D,N){D.default=N}),k=this&&this.__importStar||function(D){if(D&&D.__esModule)return D;var N={};if(D!=null)for(var F in D)F!=="default"&&Object.prototype.hasOwnProperty.call(D,F)&&O(N,D,F);return C(N,D),N};Object.defineProperty(R,"__esModule",{value:!0});var A=k(l("q1tI")),S=l("qKvR"),y=l("LDyf"),w=S.keyframes(T||(T=E([`
0% {transform: scaley(1.0)}
50% {transform: scaley(0.4)}
100% {transform: scaley(1.0)}
`],[`
0% {transform: scaley(1.0)}
50% {transform: scaley(0.4)}
100% {transform: scaley(1.0)}
`]))),x=function(D){m(N,D);function N(){var F=D!==null&&D.apply(this,arguments)||this;return F.style=function(B){var U=F.props,J=U.color,$=U.width,X=U.height,ee=U.margin,ie=U.radius;return S.css(j||(j=E([`
background-color: `,`;
width: `,`;
height: `,`;
margin: `,`;
border-radius: `,`;
display: inline-block;
animation: `," 1s ",`s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
animation-fill-mode: both;
`],[`
background-color: `,`;
width: `,`;
height: `,`;
margin: `,`;
border-radius: `,`;
display: inline-block;
animation: `," 1s ",`s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
animation-fill-mode: both;
`])),J,y.cssValue($||N.defaultProps.width),y.cssValue(X||N.defaultProps.height),y.cssValue(ee||N.defaultProps.margin),y.cssValue(ie||N.defaultProps.radius),w,B*.1)},F}return N.prototype.render=function(){var F=this.props,B=F.loading,U=F.css;return B?S.jsx("span",{css:[U]},S.jsx("span",{css:this.style(1)}),S.jsx("span",{css:this.style(2)}),S.jsx("span",{css:this.style(3)}),S.jsx("span",{css:this.style(4)}),S.jsx("span",{css:this.style(5)})):null},N.defaultProps=y.heightWidthRadiusDefaults(35,4,2),N}(A.PureComponent);R.default=x;var T,j},u8Dt:function(ce,R,l){var E=l("YESw"),m="__lodash_hash_undefined__",O=Object.prototype,C=O.hasOwnProperty;function k(A){var S=this.__data__;if(E){var y=S[A];return y===m?void 0:y}return C.call(S,A)?S[A]:void 0}ce.exports=k},u93E:function(ce,R){ce.exports=Math.sign||function(E){return(E=+E)==0||E!=E?E:E<0?-1:1}},uFwe:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("BsWD");function m(O,C){var k=typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(!k){if(Array.isArray(O)||(k=Object(E.a)(O))||C&&O&&typeof O.length=="number"){k&&(O=k);var A=0,S=function(){};return{s:S,n:function(){return A>=O.length?{done:!0}:{done:!1,value:O[A++]}},e:function(j){throw j},f:S}}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 y=!0,w=!1,x;return{s:function(){k=k.call(O)},n:function(){var j=k.next();return y=j.done,j},e:function(j){w=!0,x=j},f:function(){try{!y&&k.return!=null&&k.return()}finally{if(w)throw x}}}}},uGHk:function(ce,R,l){var E=l("Srjj"),m=l("De94"),O=m.concat("length","prototype");R.f=Object.getOwnPropertyNames||function(k){return E(k,O)}},uGx6:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=oe;var E=l("DOsL"),m=te(E),O=l("FAV+"),C=te(O),k=l("/3Kx"),A=te(k),S=l("kKdO"),y=te(S),w=l("F8nB"),x=te(w),T=l("wIYK"),j=te(T),D=l("JasR"),N=te(D),F=l("5veP"),B=te(F),U=l("6dv6"),J=te(U),$=l("je/p"),X=te($),ee=l("hh65"),ie=te(ee),G=l("xLai"),Q=te(G),W=l("wBTz"),ne=te(W);function te(ge){return ge&&ge.__esModule?ge:{default:ge}}var _e=[x.default,y.default,j.default,B.default,J.default,X.default,ie.default,Q.default,ne.default,N.default],he=m.default.prefixMap;function oe(ge){for(var me in ge){var Z=ge[me],xe=(0,A.default)(_e,me,Z,ge,he);xe&&(ge[me]=xe),(0,C.default)(he,me,ge)}return ge}},uMwj:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("uoF6"),O=l("Acmb"),C=l("g1ZG"),k=l("kiNa"),A=l("lz10"),S=l("NMFW"),y=l("2kyd"),w=l("Zcjx"),x=l("5yw/"),T=l("JXem"),j=T.IteratorPrototype,D=T.BUGGY_SAFARI_ITERATORS,N=y("iterator"),F="keys",B="values",U="entries",J=function(){return this};ce.exports=function($,X,ee,ie,G,Q,W){m(ee,X,ie);var ne=function(Le){if(Le===G&&ge)return ge;if(!D&&Le in he)return he[Le];switch(Le){case F:return function(){return new ee(this,Le)};case B:return function(){return new ee(this,Le)};case U:return function(){return new ee(this,Le)}}return function(){return new ee(this)}},te=X+" Iterator",_e=!1,he=$.prototype,oe=he[N]||he["@@iterator"]||G&&he[G],ge=!D&&oe||ne(G),me=X=="Array"&&he.entries||oe,Z,xe,Ee;if(me&&(Z=O(me.call(new $)),j!==Object.prototype&&Z.next&&(!w&&O(Z)!==j&&(C?C(Z,j):typeof Z[N]!="function"&&A(Z,N,J)),k(Z,te,!0,!0),w&&(x[te]=J))),G==B&&oe&&oe.name!==B&&(_e=!0,ge=function(){return oe.call(this)}),(!w||W)&&he[N]!==ge&&A(he,N,ge),x[X]=ge,G)if(xe={values:ne(B),keys:Q?ge:ne(F),entries:ne(U)},W)for(Ee in xe)(D||_e||!(Ee in he))&&S(he,Ee,xe[Ee]);else E({target:X,proto:!0,forced:D||_e},xe);return xe}},uQZs:function(ce,R,l){"use strict";l.d(R,"a",function(){return y});var E=l("VTBJ"),m=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,O=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,C="".concat(m," ").concat(O).split(/[\s\n]+/),k="aria-",A="data-";function S(w,x){return w.indexOf(x)===0}function y(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T;x===!1?T={aria:!0,data:!0,attr:!0}:x===!0?T={aria:!0}:T=Object(E.a)({},x);var j={};return Object.keys(w).forEach(function(D){(T.aria&&(D==="role"||S(D,k))||T.data&&S(D,A)||T.attr&&C.includes(D))&&(j[D]=w[D])}),j}},uRV1:function(ce,R,l){"use strict";l.d(R,"a",function(){return Q});var E=l("fWQN"),m=l("mtLc"),O=l("yKVA"),C=l("879j"),k=l("k1fw"),A=l("q1tI"),S=l("LtsZ"),y=l("Hg0r"),w=l("o0o1"),x=l.n(w),T=l("rePB"),j=l("VTBJ"),D="@@DVA_LOADING/SHOW",N="@@DVA_LOADING/HIDE",F="loading";function B(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ne=W.namespace||F,te=W.only,_e=te===void 0?[]:te,he=W.except,oe=he===void 0?[]:he;if(_e.length>0&&oe.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var ge={global:!1,models:{},effects:{}},me=Object(T.a)({},ne,function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ge,Ee=arguments.length>1?arguments[1]:void 0,Le=Ee.type,we=Ee.payload,fe=we||{},pe=fe.namespace,Ke=fe.actionType,Me;switch(Le){case D:Me=Object(j.a)(Object(j.a)({},xe),{},{global:!0,models:Object(j.a)(Object(j.a)({},xe.models),{},Object(T.a)({},pe,!0)),effects:Object(j.a)(Object(j.a)({},xe.effects),{},Object(T.a)({},Ke,!0))});break;case N:{var ze=Object(j.a)(Object(j.a)({},xe.effects),{},Object(T.a)({},Ke,!1)),Ue=Object(j.a)(Object(j.a)({},xe.models),{},Object(T.a)({},pe,Object.keys(ze).some(function(Ne){var it=Ne.split("/")[0];return it!==pe?!1:ze[Ne]}))),He=Object.keys(Ue).some(function(Ne){return Ue[Ne]});Me=Object(j.a)(Object(j.a)({},xe),{},{global:He,models:Ue,effects:ze});break}default:Me=xe;break}return Me});function Z(xe,Ee,Le,we){var fe=Ee.put,pe=Le.namespace;return _e.length===0&&oe.length===0||_e.length>0&&_e.indexOf(we)!==-1||oe.length>0&&oe.indexOf(we)===-1?x.a.mark(function Ke(){var Me=arguments;return x.a.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Ue.next=2,fe({type:D,payload:{namespace:pe,actionType:we}});case 2:return Ue.next=4,xe.apply(void 0,Me);case 4:return Ue.next=6,fe({type:N,payload:{namespace:pe,actionType:we}});case 6:case"end":return Ue.stop()}},Ke)}):xe}return{extraReducers:me,onEffect:Z}}var U=B,J=l("9kvl"),$=l("QgIc"),X=null;function ee(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ne=J.e.applyPlugins({key:"dva",type:S.ApplyPluginsType.modify,initialValue:{}});return X=Object(y.a)(Object(k.a)(Object(k.a)(Object(k.a)({history:J.d},ne.config||{}),typeof window!="undefined"&&window.g_useSSR?{initialState:window.g_initialProps}:{}),W||{})),X.use(U()),(ne.plugins||[]).forEach(function(te){X.use(te)}),X.model(Object(k.a)({namespace:"model"},$.a)),X}function ie(){return X}function G(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"}var Q=function(W){Object(O.a)(te,W);var ne=Object(C.a)(te);function te(_e){var he;return Object(E.a)(this,te),he=ne.call(this,_e),G()&&ee(),he}return Object(m.a)(te,[{key:"componentWillUnmount",value:function(){var he=ie();he._models.forEach(function(oe){he.unmodel(oe.namespace)}),he._models=[];try{he=null}catch(oe){console.error(oe)}}},{key:"render",value:function(){var he=this,oe=ie();return oe.router(function(){return he.props.children}),oe.start()()}}]),te}(A.Component)},uVHs:function(ce,R,l){var E=l("MMxC"),m=l("M3b6"),O=Math.abs;E({target:"Number",stat:!0},{isSafeInteger:function(k){return m(k)&&O(k)<=9007199254740991}})},uciX:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("wx14"),O=l("1OyB"),C=l("vuIU"),k=l("JX7q"),A=l("Ji7U"),S=l("LK+K"),y=l("rePB"),w=l("q1tI"),x=l.n(w),T=l("i8i4"),j=l.n(T),D=function(Fn){return+setTimeout(Fn,16)},N=function(Fn){return clearTimeout(Fn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(D=function(Fn){return window.requestAnimationFrame(Fn)},N=function(Fn){return window.cancelAnimationFrame(Fn)});var F=0,B=new Map;function U(en){B.delete(en)}var J=function(Fn){var Jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;F+=1;var Ir=F;function Gr(ga){if(ga===0)U(Ir),Fn();else{var Mr=D(function(){Gr(ga-1)});B.set(Ir,Mr)}}return Gr(Jn),Ir};J.cancel=function(en){var Fn=B.get(en);return U(Fn),N(Fn)};var $=J;function X(en,Fn){if(!en)return!1;if(en.contains)return en.contains(Fn);for(var Jn=Fn;Jn;){if(Jn===en)return!0;Jn=Jn.parentNode}return!1}function ee(en){return en instanceof HTMLElement||en instanceof SVGElement}function ie(en){return ee(en)?en:en instanceof x.a.Component?j.a.findDOMNode(en):null}var G=l("U8pU"),Q=l("TOwV");function W(en,Fn,Jn){var Ir=w.useRef({});return(!("value"in Ir.current)||Jn(Ir.current.condition,Fn))&&(Ir.current.value=en(),Ir.current.condition=Fn),Ir.current.value}function ne(en,Fn){typeof en=="function"?en(Fn):Object(G.a)(en)==="object"&&en&&"current"in en&&(en.current=Fn)}function te(){for(var en=arguments.length,Fn=new Array(en),Jn=0;Jn<en;Jn++)Fn[Jn]=arguments[Jn];var Ir=Fn.filter(function(Gr){return Gr});return Ir.length<=1?Ir[0]:function(Gr){Fn.forEach(function(ga){ne(ga,Gr)})}}function _e(){for(var en=arguments.length,Fn=new Array(en),Jn=0;Jn<en;Jn++)Fn[Jn]=arguments[Jn];return W(function(){return te.apply(void 0,Fn)},Fn,function(Ir,Gr){return Ir.length===Gr.length&&Ir.every(function(ga,Mr){return ga===Gr[Mr]})})}function he(en){var Fn,Jn,Ir=Object(Q.isMemo)(en)?en.type.type:en.type;return!(typeof Ir=="function"&&!((Fn=Ir.prototype)!==null&&Fn!==void 0&&Fn.render)||typeof en=="function"&&!((Jn=en.prototype)!==null&&Jn!==void 0&&Jn.render))}function oe(en,Fn,Jn,Ir){var Gr=j.a.unstable_batchedUpdates?function(Mr){j.a.unstable_batchedUpdates(Jn,Mr)}:Jn;return en!=null&&en.addEventListener&&en.addEventListener(Fn,Gr,Ir),{remove:function(){en!=null&&en.removeEventListener&&en.removeEventListener(Fn,Gr,Ir)}}}function ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var me=Object(w.forwardRef)(function(en,Fn){var Jn=en.didUpdate,Ir=en.getContainer,Gr=en.children,ga=Object(w.useRef)(),Mr=Object(w.useRef)();Object(w.useImperativeHandle)(Fn,function(){return{}});var $a=Object(w.useRef)(!1);return!$a.current&&ge()&&(Mr.current=Ir(),ga.current=Mr.current.parentNode,$a.current=!0),Object(w.useEffect)(function(){Jn==null||Jn(en)}),Object(w.useEffect)(function(){return Mr.current.parentNode===null&&ga.current!==null&&ga.current.appendChild(Mr.current),function(){var Ya,_o;(Ya=Mr.current)===null||Ya===void 0||(_o=Ya.parentNode)===null||_o===void 0||_o.removeChild(Mr.current)}},[]),Mr.current?j.a.createPortal(Gr,Mr.current):null}),Z=me,xe=l("TSYQ"),Ee=l.n(xe);function Le(en,Fn,Jn){return Jn?en[0]===Fn[0]:en[0]===Fn[0]&&en[1]===Fn[1]}function we(en,Fn,Jn){var Ir=en[Fn]||{};return Object(E.a)(Object(E.a)({},Ir),Jn)}function fe(en,Fn,Jn,Ir){for(var Gr=Jn.points,ga=Object.keys(en),Mr=0;Mr<ga.length;Mr+=1){var $a=ga[Mr];if(Le(en[$a].points,Gr,Ir))return"".concat(Fn,"-placement-").concat($a)}return""}var pe=l("ODXe"),Ke=l("Ff2n"),Me=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var en=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(en)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(en==null?void 0:en.substr(0,4))},ze=l("8XRh");function Ue(en){var Fn=en.prefixCls,Jn=en.motion,Ir=en.animation,Gr=en.transitionName;return Jn||(Ir?{motionName:"".concat(Fn,"-").concat(Ir)}:Gr?{motionName:Gr}:null)}function He(en){var Fn=en.prefixCls,Jn=en.visible,Ir=en.zIndex,Gr=en.mask,ga=en.maskMotion,Mr=en.maskAnimation,$a=en.maskTransitionName;if(!Gr)return null;var Ya={};return(ga||$a||Mr)&&(Ya=Object(E.a)({motionAppear:!0},Ue({motion:ga,prefixCls:Fn,transitionName:$a,animation:Mr}))),w.createElement(ze.b,Object(m.a)({},Ya,{visible:Jn,removeOnLeave:!0}),function(_o){var Ni=_o.className;return w.createElement("div",{style:{zIndex:Ir},className:Ee()("".concat(Fn,"-mask"),Ni)})})}function Ne(en,Fn){var Jn=Object.keys(en);if(Object.getOwnPropertySymbols){var Ir=Object.getOwnPropertySymbols(en);Fn&&(Ir=Ir.filter(function(Gr){return Object.getOwnPropertyDescriptor(en,Gr).enumerable})),Jn.push.apply(Jn,Ir)}return Jn}function it(en){for(var Fn=1;Fn<arguments.length;Fn++){var Jn=arguments[Fn]!=null?arguments[Fn]:{};Fn%2?Ne(Object(Jn),!0).forEach(function(Ir){ht(en,Ir,Jn[Ir])}):Object.getOwnPropertyDescriptors?Object.defineProperties(en,Object.getOwnPropertyDescriptors(Jn)):Ne(Object(Jn)).forEach(function(Ir){Object.defineProperty(en,Ir,Object.getOwnPropertyDescriptor(Jn,Ir))})}return en}function Xe(en){return Xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fn){return typeof Fn}:function(Fn){return Fn&&typeof Symbol=="function"&&Fn.constructor===Symbol&&Fn!==Symbol.prototype?"symbol":typeof Fn},Xe(en)}function ht(en,Fn,Jn){return Fn in en?Object.defineProperty(en,Fn,{value:Jn,enumerable:!0,configurable:!0,writable:!0}):en[Fn]=Jn,en}var lt,Et={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function tt(){if(lt!==void 0)return lt;lt="";var en=document.createElement("p").style,Fn="Transform";for(var Jn in Et)Jn+Fn in en&&(lt=Jn);return lt}function mt(){return tt()?"".concat(tt(),"TransitionProperty"):"transitionProperty"}function xt(){return tt()?"".concat(tt(),"Transform"):"transform"}function Xt(en,Fn){var Jn=mt();Jn&&(en.style[Jn]=Fn,Jn!=="transitionProperty"&&(en.style.transitionProperty=Fn))}function vt(en,Fn){var Jn=xt();Jn&&(en.style[Jn]=Fn,Jn!=="transform"&&(en.style.transform=Fn))}function qe(en){return en.style.transitionProperty||en.style[mt()]}function Re(en){var Fn=window.getComputedStyle(en,null),Jn=Fn.getPropertyValue("transform")||Fn.getPropertyValue(xt());if(Jn&&Jn!=="none"){var Ir=Jn.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(Ir[12]||Ir[4],0),y:parseFloat(Ir[13]||Ir[5],0)}}return{x:0,y:0}}var Se=/matrix\((.*)\)/,Ve=/matrix3d\((.*)\)/;function Ge(en,Fn){var Jn=window.getComputedStyle(en,null),Ir=Jn.getPropertyValue("transform")||Jn.getPropertyValue(xt());if(Ir&&Ir!=="none"){var Gr,ga=Ir.match(Se);if(ga)ga=ga[1],Gr=ga.split(",").map(function($a){return parseFloat($a,10)}),Gr[4]=Fn.x,Gr[5]=Fn.y,vt(en,"matrix(".concat(Gr.join(","),")"));else{var Mr=Ir.match(Ve)[1];Gr=Mr.split(",").map(function($a){return parseFloat($a,10)}),Gr[12]=Fn.x,Gr[13]=Fn.y,vt(en,"matrix3d(".concat(Gr.join(","),")"))}}else vt(en,"translateX(".concat(Fn.x,"px) translateY(").concat(Fn.y,"px) translateZ(0)"))}var _t=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,bt;function gt(en){var Fn=en.style.display;en.style.display="none",en.offsetHeight,en.style.display=Fn}function at(en,Fn,Jn){var Ir=Jn;if(Xe(Fn)==="object"){for(var Gr in Fn)Fn.hasOwnProperty(Gr)&&at(en,Gr,Fn[Gr]);return}if(typeof Ir!="undefined"){typeof Ir=="number"&&(Ir="".concat(Ir,"px")),en.style[Fn]=Ir;return}return bt(en,Fn)}function ft(en){var Fn,Jn,Ir,Gr=en.ownerDocument,ga=Gr.body,Mr=Gr&&Gr.documentElement;return Fn=en.getBoundingClientRect(),Jn=Math.floor(Fn.left),Ir=Math.floor(Fn.top),Jn-=Mr.clientLeft||ga.clientLeft||0,Ir-=Mr.clientTop||ga.clientTop||0,{left:Jn,top:Ir}}function Fe(en,Fn){var Jn=en["page".concat(Fn?"Y":"X","Offset")],Ir="scroll".concat(Fn?"Top":"Left");if(typeof Jn!="number"){var Gr=en.document;Jn=Gr.documentElement[Ir],typeof Jn!="number"&&(Jn=Gr.body[Ir])}return Jn}function Te(en){return Fe(en)}function ut(en){return Fe(en,!0)}function le(en){var Fn=ft(en),Jn=en.ownerDocument,Ir=Jn.defaultView||Jn.parentWindow;return Fn.left+=Te(Ir),Fn.top+=ut(Ir),Fn}function $e(en){return en!=null&&en==en.window}function Qe(en){return $e(en)?en.document:en.nodeType===9?en:en.ownerDocument}function Tt(en,Fn,Jn){var Ir=Jn,Gr="",ga=Qe(en);return Ir=Ir||ga.defaultView.getComputedStyle(en,null),Ir&&(Gr=Ir.getPropertyValue(Fn)||Ir[Fn]),Gr}var Ot=new RegExp("^(".concat(_t,")(?!px)[a-z%]+$"),"i"),Ut=/^(top|right|bottom|left)$/,At="currentStyle",Pt="runtimeStyle",Dt="left",Qt="px";function cn(en,Fn){var Jn=en[At]&&en[At][Fn];if(Ot.test(Jn)&&!Ut.test(Fn)){var Ir=en.style,Gr=Ir[Dt],ga=en[Pt][Dt];en[Pt][Dt]=en[At][Dt],Ir[Dt]=Fn==="fontSize"?"1em":Jn||0,Jn=Ir.pixelLeft+Qt,Ir[Dt]=Gr,en[Pt][Dt]=ga}return Jn===""?"auto":Jn}typeof window!="undefined"&&(bt=window.getComputedStyle?Tt:cn);function $n(en,Fn){return en==="left"?Fn.useCssRight?"right":en:Fn.useCssBottom?"bottom":en}function hn(en){if(en==="left")return"right";if(en==="right")return"left";if(en==="top")return"bottom";if(en==="bottom")return"top"}function _n(en,Fn,Jn){at(en,"position")==="static"&&(en.style.position="relative");var Ir=-999,Gr=-999,ga=$n("left",Jn),Mr=$n("top",Jn),$a=hn(ga),Ya=hn(Mr);ga!=="left"&&(Ir=999),Mr!=="top"&&(Gr=999);var _o="",Ni=le(en);("left"in Fn||"top"in Fn)&&(_o=qe(en)||"",Xt(en,"none")),"left"in Fn&&(en.style[$a]="",en.style[ga]="".concat(Ir,"px")),"top"in Fn&&(en.style[Ya]="",en.style[Mr]="".concat(Gr,"px")),gt(en);var ec=le(en),ks={};for(var jo in Fn)if(Fn.hasOwnProperty(jo)){var Qn=$n(jo,Jn),ka=jo==="left"?Ir:Gr,Pa=Ni[jo]-ec[jo];Qn===jo?ks[Qn]=ka+Pa:ks[Qn]=ka-Pa}at(en,ks),gt(en),("left"in Fn||"top"in Fn)&&Xt(en,_o);var Qa={};for(var Ei in Fn)if(Fn.hasOwnProperty(Ei)){var zo=$n(Ei,Jn),fo=Fn[Ei]-Ni[Ei];Ei===zo?Qa[zo]=ks[zo]+fo:Qa[zo]=ks[zo]-fo}at(en,Qa)}function bn(en,Fn){var Jn=le(en),Ir=Re(en),Gr={x:Ir.x,y:Ir.y};"left"in Fn&&(Gr.x=Ir.x+Fn.left-Jn.left),"top"in Fn&&(Gr.y=Ir.y+Fn.top-Jn.top),Ge(en,Gr)}function Bn(en,Fn,Jn){if(Jn.ignoreShake){var Ir=le(en),Gr=Ir.left.toFixed(0),ga=Ir.top.toFixed(0),Mr=Fn.left.toFixed(0),$a=Fn.top.toFixed(0);if(Gr===Mr&&ga===$a)return}Jn.useCssRight||Jn.useCssBottom?_n(en,Fn,Jn):Jn.useCssTransform&&xt()in document.body.style?bn(en,Fn):_n(en,Fn,Jn)}function Tn(en,Fn){for(var Jn=0;Jn<en.length;Jn++)Fn(en[Jn])}function Tr(en){return bt(en,"boxSizing")==="border-box"}var Sr=["margin","border","padding"],Wr=-1,br=2,Wn=1,gr=0;function na(en,Fn,Jn){var Ir={},Gr=en.style,ga;for(ga in Fn)Fn.hasOwnProperty(ga)&&(Ir[ga]=Gr[ga],Gr[ga]=Fn[ga]);Jn.call(en);for(ga in Fn)Fn.hasOwnProperty(ga)&&(Gr[ga]=Ir[ga])}function jn(en,Fn,Jn){var Ir=0,Gr,ga,Mr;for(ga=0;ga<Fn.length;ga++)if(Gr=Fn[ga],Gr)for(Mr=0;Mr<Jn.length;Mr++){var $a=void 0;Gr==="border"?$a="".concat(Gr).concat(Jn[Mr],"Width"):$a=Gr+Jn[Mr],Ir+=parseFloat(bt(en,$a))||0}return Ir}var un={getParent:function(Fn){var Jn=Fn;do Jn.nodeType===11&&Jn.host?Jn=Jn.host:Jn=Jn.parentNode;while(Jn&&Jn.nodeType!==1&&Jn.nodeType!==9);return Jn}};Tn(["Width","Height"],function(en){un["doc".concat(en)]=function(Fn){var Jn=Fn.document;return Math.max(Jn.documentElement["scroll".concat(en)],Jn.body["scroll".concat(en)],un["viewport".concat(en)](Jn))},un["viewport".concat(en)]=function(Fn){var Jn="client".concat(en),Ir=Fn.document,Gr=Ir.body,ga=Ir.documentElement,Mr=ga[Jn];return Ir.compatMode==="CSS1Compat"&&Mr||Gr&&Gr[Jn]||Mr}});function zt(en,Fn,Jn){var Ir=Jn;if($e(en))return Fn==="width"?un.viewportWidth(en):un.viewportHeight(en);if(en.nodeType===9)return Fn==="width"?un.docWidth(en):un.docHeight(en);var Gr=Fn==="width"?["Left","Right"]:["Top","Bottom"],ga=Math.floor(Fn==="width"?en.getBoundingClientRect().width:en.getBoundingClientRect().height),Mr=Tr(en),$a=0;(ga==null||ga<=0)&&(ga=void 0,$a=bt(en,Fn),($a==null||Number($a)<0)&&($a=en.style[Fn]||0),$a=Math.floor(parseFloat($a))||0),Ir===void 0&&(Ir=Mr?Wn:Wr);var Ya=ga!==void 0||Mr,_o=ga||$a;return Ir===Wr?Ya?_o-jn(en,["border","padding"],Gr):$a:Ya?Ir===Wn?_o:_o+(Ir===br?-jn(en,["border"],Gr):jn(en,["margin"],Gr)):$a+jn(en,Sr.slice(Ir),Gr)}var Bt={position:"absolute",visibility:"hidden",display:"block"};function H(){for(var en=arguments.length,Fn=new Array(en),Jn=0;Jn<en;Jn++)Fn[Jn]=arguments[Jn];var Ir,Gr=Fn[0];return Gr.offsetWidth!==0?Ir=zt.apply(void 0,Fn):na(Gr,Bt,function(){Ir=zt.apply(void 0,Fn)}),Ir}Tn(["width","height"],function(en){var Fn=en.charAt(0).toUpperCase()+en.slice(1);un["outer".concat(Fn)]=function(Ir,Gr){return Ir&&H(Ir,en,Gr?gr:Wn)};var Jn=en==="width"?["Left","Right"]:["Top","Bottom"];un[en]=function(Ir,Gr){var ga=Gr;if(ga!==void 0){if(Ir){var Mr=Tr(Ir);return Mr&&(ga+=jn(Ir,["padding","border"],Jn)),at(Ir,en,ga)}return}return Ir&&H(Ir,en,Wr)}});function ot(en,Fn){for(var Jn in Fn)Fn.hasOwnProperty(Jn)&&(en[Jn]=Fn[Jn]);return en}var nt={getWindow:function(Fn){if(Fn&&Fn.document&&Fn.setTimeout)return Fn;var Jn=Fn.ownerDocument||Fn;return Jn.defaultView||Jn.parentWindow},getDocument:Qe,offset:function(Fn,Jn,Ir){if(typeof Jn!="undefined")Bn(Fn,Jn,Ir||{});else return le(Fn)},isWindow:$e,each:Tn,css:at,clone:function(Fn){var Jn,Ir={};for(Jn in Fn)Fn.hasOwnProperty(Jn)&&(Ir[Jn]=Fn[Jn]);var Gr=Fn.overflow;if(Gr)for(Jn in Fn)Fn.hasOwnProperty(Jn)&&(Ir.overflow[Jn]=Fn.overflow[Jn]);return Ir},mix:ot,getWindowScrollLeft:function(Fn){return Te(Fn)},getWindowScrollTop:function(Fn){return ut(Fn)},merge:function(){for(var Fn={},Jn=0;Jn<arguments.length;Jn++)nt.mix(Fn,Jn<0||arguments.length<=Jn?void 0:arguments[Jn]);return Fn},viewportWidth:0,viewportHeight:0};ot(nt,un);var Ct=nt.getParent;function Wt(en){if(nt.isWindow(en)||en.nodeType===9)return null;var Fn=nt.getDocument(en),Jn=Fn.body,Ir,Gr=nt.css(en,"position"),ga=Gr==="fixed"||Gr==="absolute";if(!ga)return en.nodeName.toLowerCase()==="html"?null:Ct(en);for(Ir=Ct(en);Ir&&Ir!==Jn&&Ir.nodeType!==9;Ir=Ct(Ir))if(Gr=nt.css(Ir,"position"),Gr!=="static")return Ir;return null}var kn=nt.getParent;function Sn(en){if(nt.isWindow(en)||en.nodeType===9)return!1;var Fn=nt.getDocument(en),Jn=Fn.body,Ir=null;for(Ir=kn(en);Ir&&Ir!==Jn&&Ir!==Fn;Ir=kn(Ir)){var Gr=nt.css(Ir,"position");if(Gr==="fixed")return!0}return!1}function Zn(en,Fn){for(var Jn={left:0,right:Infinity,top:0,bottom:Infinity},Ir=Wt(en),Gr=nt.getDocument(en),ga=Gr.defaultView||Gr.parentWindow,Mr=Gr.body,$a=Gr.documentElement;Ir;){if((navigator.userAgent.indexOf("MSIE")===-1||Ir.clientWidth!==0)&&Ir!==Mr&&Ir!==$a&&nt.css(Ir,"overflow")!=="visible"){var Ya=nt.offset(Ir);Ya.left+=Ir.clientLeft,Ya.top+=Ir.clientTop,Jn.top=Math.max(Jn.top,Ya.top),Jn.right=Math.min(Jn.right,Ya.left+Ir.clientWidth),Jn.bottom=Math.min(Jn.bottom,Ya.top+Ir.clientHeight),Jn.left=Math.max(Jn.left,Ya.left)}else if(Ir===Mr||Ir===$a)break;Ir=Wt(Ir)}var _o=null;if(!nt.isWindow(en)&&en.nodeType!==9){_o=en.style.position;var Ni=nt.css(en,"position");Ni==="absolute"&&(en.style.position="fixed")}var ec=nt.getWindowScrollLeft(ga),ks=nt.getWindowScrollTop(ga),jo=nt.viewportWidth(ga),Qn=nt.viewportHeight(ga),ka=$a.scrollWidth,Pa=$a.scrollHeight,Qa=window.getComputedStyle(Mr);if(Qa.overflowX==="hidden"&&(ka=ga.innerWidth),Qa.overflowY==="hidden"&&(Pa=ga.innerHeight),en.style&&(en.style.position=_o),Fn||Sn(en))Jn.left=Math.max(Jn.left,ec),Jn.top=Math.max(Jn.top,ks),Jn.right=Math.min(Jn.right,ec+jo),Jn.bottom=Math.min(Jn.bottom,ks+Qn);else{var Ei=Math.max(ka,ec+jo);Jn.right=Math.min(Jn.right,Ei);var zo=Math.max(Pa,ks+Qn);Jn.bottom=Math.min(Jn.bottom,zo)}return Jn.top>=0&&Jn.left>=0&&Jn.bottom>Jn.top&&Jn.right>Jn.left?Jn:null}function Or(en,Fn,Jn,Ir){var Gr=nt.clone(en),ga={width:Fn.width,height:Fn.height};return Ir.adjustX&&Gr.left<Jn.left&&(Gr.left=Jn.left),Ir.resizeWidth&&Gr.left>=Jn.left&&Gr.left+ga.width>Jn.right&&(ga.width-=Gr.left+ga.width-Jn.right),Ir.adjustX&&Gr.left+ga.width>Jn.right&&(Gr.left=Math.max(Jn.right-ga.width,Jn.left)),Ir.adjustY&&Gr.top<Jn.top&&(Gr.top=Jn.top),Ir.resizeHeight&&Gr.top>=Jn.top&&Gr.top+ga.height>Jn.bottom&&(ga.height-=Gr.top+ga.height-Jn.bottom),Ir.adjustY&&Gr.top+ga.height>Jn.bottom&&(Gr.top=Math.max(Jn.bottom-ga.height,Jn.top)),nt.mix(Gr,ga)}function Yn(en){var Fn,Jn,Ir;if(!nt.isWindow(en)&&en.nodeType!==9)Fn=nt.offset(en),Jn=nt.outerWidth(en),Ir=nt.outerHeight(en);else{var Gr=nt.getWindow(en);Fn={left:nt.getWindowScrollLeft(Gr),top:nt.getWindowScrollTop(Gr)},Jn=nt.viewportWidth(Gr),Ir=nt.viewportHeight(Gr)}return Fn.width=Jn,Fn.height=Ir,Fn}function Nn(en,Fn){var Jn=Fn.charAt(0),Ir=Fn.charAt(1),Gr=en.width,ga=en.height,Mr=en.left,$a=en.top;return Jn==="c"?$a+=ga/2:Jn==="b"&&($a+=ga),Ir==="c"?Mr+=Gr/2:Ir==="r"&&(Mr+=Gr),{left:Mr,top:$a}}function Zt(en,Fn,Jn,Ir,Gr){var ga=Nn(Fn,Jn[1]),Mr=Nn(en,Jn[0]),$a=[Mr.left-ga.left,Mr.top-ga.top];return{left:Math.round(en.left-$a[0]+Ir[0]-Gr[0]),top:Math.round(en.top-$a[1]+Ir[1]-Gr[1])}}function rr(en,Fn,Jn){return en.left<Jn.left||en.left+Fn.width>Jn.right}function Gn(en,Fn,Jn){return en.top<Jn.top||en.top+Fn.height>Jn.bottom}function ln(en,Fn,Jn){return en.left>Jn.right||en.left+Fn.width<Jn.left}function Xn(en,Fn,Jn){return en.top>Jn.bottom||en.top+Fn.height<Jn.top}function Kn(en,Fn,Jn){var Ir=[];return nt.each(en,function(Gr){Ir.push(Gr.replace(Fn,function(ga){return Jn[ga]}))}),Ir}function fr(en,Fn){return en[Fn]=-en[Fn],en}function Hn(en,Fn){var Jn;return/%$/.test(en)?Jn=parseInt(en.substring(0,en.length-1),10)/100*Fn:Jn=parseInt(en,10),Jn||0}function Sa(en,Fn){en[0]=Hn(en[0],Fn.width),en[1]=Hn(en[1],Fn.height)}function Lr(en,Fn,Jn,Ir){var Gr=Jn.points,ga=Jn.offset||[0,0],Mr=Jn.targetOffset||[0,0],$a=Jn.overflow,Ya=Jn.source||en;ga=[].concat(ga),Mr=[].concat(Mr),$a=$a||{};var _o={},Ni=0,ec=!!($a&&$a.alwaysByViewport),ks=Zn(Ya,ec),jo=Yn(Ya);Sa(ga,jo),Sa(Mr,Fn);var Qn=Zt(jo,Fn,Gr,ga,Mr),ka=nt.merge(jo,Qn);if(ks&&($a.adjustX||$a.adjustY)&&Ir){if($a.adjustX&&rr(Qn,jo,ks)){var Pa=Kn(Gr,/[lr]/gi,{l:"r",r:"l"}),Qa=fr(ga,0),Ei=fr(Mr,0),zo=Zt(jo,Fn,Pa,Qa,Ei);ln(zo,jo,ks)||(Ni=1,Gr=Pa,ga=Qa,Mr=Ei)}if($a.adjustY&&Gn(Qn,jo,ks)){var fo=Kn(Gr,/[tb]/gi,{t:"b",b:"t"}),gs=fr(ga,1),Ks=fr(Mr,1),pc=Zt(jo,Fn,fo,gs,Ks);Xn(pc,jo,ks)||(Ni=1,Gr=fo,ga=gs,Mr=Ks)}Ni&&(Qn=Zt(jo,Fn,Gr,ga,Mr),nt.mix(ka,Qn));var tc=rr(Qn,jo,ks),xc=Gn(Qn,jo,ks);if(tc||xc){var kc=Gr;tc&&(kc=Kn(Gr,/[lr]/gi,{l:"r",r:"l"})),xc&&(kc=Kn(Gr,/[tb]/gi,{t:"b",b:"t"})),Gr=kc,ga=Jn.offset||[0,0],Mr=Jn.targetOffset||[0,0]}_o.adjustX=$a.adjustX&&tc,_o.adjustY=$a.adjustY&&xc,(_o.adjustX||_o.adjustY)&&(ka=Or(Qn,jo,ks,_o))}return ka.width!==jo.width&&nt.css(Ya,"width",nt.width(Ya)+ka.width-jo.width),ka.height!==jo.height&&nt.css(Ya,"height",nt.height(Ya)+ka.height-jo.height),nt.offset(Ya,{left:ka.left,top:ka.top},{useCssRight:Jn.useCssRight,useCssBottom:Jn.useCssBottom,useCssTransform:Jn.useCssTransform,ignoreShake:Jn.ignoreShake}),{points:Gr,offset:ga,targetOffset:Mr,overflow:_o}}function Ca(en,Fn){var Jn=Zn(en,Fn),Ir=Yn(en);return!Jn||Ir.left+Ir.width<=Jn.left||Ir.top+Ir.height<=Jn.top||Ir.left>=Jn.right||Ir.top>=Jn.bottom}function za(en,Fn,Jn){var Ir=Jn.target||Fn,Gr=Yn(Ir),ga=!Ca(Ir,Jn.overflow&&Jn.overflow.alwaysByViewport);return Lr(en,Gr,Jn,ga)}za.__getOffsetParent=Wt,za.__getVisibleRectForElement=Zn;function Ma(en,Fn,Jn){var Ir,Gr,ga=nt.getDocument(en),Mr=ga.defaultView||ga.parentWindow,$a=nt.getWindowScrollLeft(Mr),Ya=nt.getWindowScrollTop(Mr),_o=nt.viewportWidth(Mr),Ni=nt.viewportHeight(Mr);"pageX"in Fn?Ir=Fn.pageX:Ir=$a+Fn.clientX,"pageY"in Fn?Gr=Fn.pageY:Gr=Ya+Fn.clientY;var ec={left:Ir,top:Gr,width:0,height:0},ks=Ir>=0&&Ir<=$a+_o&&Gr>=0&&Gr<=Ya+Ni,jo=[Jn.points[0],"cc"];return Lr(en,ec,it(it({},Jn),{},{points:jo}),ks)}var va=za,qa={},gi=[],Qi=function(Fn){gi.push(Fn)};function mi(en,Fn){if(!1)var Jn}function Cr(en,Fn){if(!1)var Jn}function Un(){qa={}}function Lt(en,Fn,Jn){!Fn&&!qa[Jn]&&(en(!1,Jn),qa[Jn]=!0)}function gn(en,Fn){Lt(mi,en,Fn)}function Ln(en,Fn){Lt(Cr,en,Fn)}gn.preMessage=Qi,gn.resetWarned=Un,gn.noteOnce=Ln;var kr=gn;function ea(en,Fn){var Jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ir=new Set;function Gr(ga,Mr){var $a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ya=Ir.has(ga);if(kr(!Ya,"Warning: There may be circular references"),Ya)return!1;if(ga===Mr)return!0;if(Jn&&$a>1)return!1;Ir.add(ga);var _o=$a+1;if(Array.isArray(ga)){if(!Array.isArray(Mr)||ga.length!==Mr.length)return!1;for(var Ni=0;Ni<ga.length;Ni++)if(!Gr(ga[Ni],Mr[Ni],_o))return!1;return!0}if(ga&&Mr&&Object(G.a)(ga)==="object"&&Object(G.a)(Mr)==="object"){var ec=Object.keys(ga);return ec.length!==Object.keys(Mr).length?!1:ec.every(function(ks){return Gr(ga[ks],Mr[ks],_o)})}return!1}return Gr(en,Fn)}var Qr=ea;function Na(en,Fn,Jn,Ir){var Gr=j.a.unstable_batchedUpdates?function(Mr){j.a.unstable_batchedUpdates(Jn,Mr)}:Jn;return en!=null&&en.addEventListener&&en.addEventListener(Fn,Gr,Ir),{remove:function(){en!=null&&en.removeEventListener&&en.removeEventListener(Fn,Gr,Ir)}}}var ar=function(en){if(!en)return!1;if(en instanceof Element){if(en.offsetParent)return!0;if(en.getBBox){var Fn=en.getBBox(),Jn=Fn.width,Ir=Fn.height;if(Jn||Ir)return!0}if(en.getBoundingClientRect){var Gr=en.getBoundingClientRect(),ga=Gr.width,Mr=Gr.height;if(ga||Mr)return!0}}return!1};function pi(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var _i=pi()?w.useLayoutEffect:w.useEffect,ti=function(Fn,Jn){var Ir=w.useRef(!0);_i(function(){return Fn(Ir.current)},Jn),_i(function(){return Ir.current=!1,function(){Ir.current=!0}},[])},ui=function(Fn,Jn){ti(function(Ir){if(!Ir)return Fn()},Jn)},Ri=ti;function ao(en,Fn,Jn){var Ir=w.useRef({});return(!("value"in Ir.current)||Jn(Ir.current.condition,Fn))&&(Ir.current.value=en(),Ir.current.condition=Fn),Ir.current.value}function Zi(en,Fn){typeof en=="function"?en(Fn):Object(G.a)(en)==="object"&&en&&"current"in en&&(en.current=Fn)}function Fi(){for(var en=arguments.length,Fn=new Array(en),Jn=0;Jn<en;Jn++)Fn[Jn]=arguments[Jn];var Ir=Fn.filter(function(Gr){return Gr});return Ir.length<=1?Ir[0]:function(Gr){Fn.forEach(function(ga){Zi(ga,Gr)})}}function Si(){for(var en=arguments.length,Fn=new Array(en),Jn=0;Jn<en;Jn++)Fn[Jn]=arguments[Jn];return ao(function(){return Fi.apply(void 0,Fn)},Fn,function(Ir,Gr){return Ir.length===Gr.length&&Ir.every(function(ga,Mr){return ga===Gr[Mr]})})}function qi(en){var Fn,Jn,Ir=Object(Q.isMemo)(en)?en.type.type:en.type;return!(typeof Ir=="function"&&!((Fn=Ir.prototype)!==null&&Fn!==void 0&&Fn.render)||typeof en=="function"&&!((Jn=en.prototype)!==null&&Jn!==void 0&&Jn.render))}var eo=function(en,Fn){var Jn=x.a.useRef(!1),Ir=x.a.useRef(null);function Gr(){window.clearTimeout(Ir.current)}function ga(Mr){if(Gr(),!Jn.current||Mr===!0){if(en(Mr)===!1)return;Jn.current=!0,Ir.current=window.setTimeout(function(){Jn.current=!1},Fn)}else Ir.current=window.setTimeout(function(){Jn.current=!1,ga()},Fn)}return[ga,function(){Jn.current=!1,Gr()}]},xo=l("bdgK");function cs(en,Fn){if(!en)return!1;if(en.contains)return en.contains(Fn);for(var Jn=Fn;Jn;){if(Jn===en)return!0;Jn=Jn.parentNode}return!1}function ba(en,Fn){return en===Fn?!0:!en||!Fn?!1:"pageX"in Fn&&"pageY"in Fn?en.pageX===Fn.pageX&&en.pageY===Fn.pageY:"clientX"in Fn&&"clientY"in Fn?en.clientX===Fn.clientX&&en.clientY===Fn.clientY:!1}function sa(en,Fn){en!==document.activeElement&&cs(Fn,en)&&typeof en.focus=="function"&&en.focus()}function Da(en,Fn){var Jn=null,Ir=null;function Gr(Mr){var $a=Object(pe.a)(Mr,1),Ya=$a[0].target;if(!!document.documentElement.contains(Ya)){var _o=Ya.getBoundingClientRect(),Ni=_o.width,ec=_o.height,ks=Math.floor(Ni),jo=Math.floor(ec);(Jn!==ks||Ir!==jo)&&Promise.resolve().then(function(){Fn({width:ks,height:jo})}),Jn=ks,Ir=jo}}var ga=new xo.a(Gr);return en&&ga.observe(en),function(){ga.disconnect()}}function On(en){return typeof en!="function"?null:en()}function xn(en){return Object(G.a)(en)!=="object"||!en?null:en}var Rt=function(Fn,Jn){var Ir=Fn.children,Gr=Fn.disabled,ga=Fn.target,Mr=Fn.align,$a=Fn.onAlign,Ya=Fn.monitorWindowResize,_o=Fn.monitorBufferTime,Ni=_o===void 0?0:_o,ec=x.a.useRef({}),ks=x.a.useRef(),jo=x.a.Children.only(Ir),Qn=x.a.useRef({});Qn.current.disabled=Gr,Qn.current.target=ga,Qn.current.align=Mr,Qn.current.onAlign=$a;var ka=eo(function(){var Ss=Qn.current,Js=Ss.disabled,Mo=Ss.target,js=Ss.align,Yc=Ss.onAlign,gc=ks.current;if(!Js&&Mo&&gc){var Cl,wl=On(Mo),Wc=xn(Mo);ec.current.element=wl,ec.current.point=Wc,ec.current.align=js;var nl=document,Rc=nl.activeElement;return wl&&ar(wl)?Cl=za(gc,wl,js):Wc&&(Cl=Ma(gc,Wc,js)),sa(Rc,gc),Yc&&Cl&&Yc(gc,Cl),!0}return!1},Ni),Pa=Object(pe.a)(ka,2),Qa=Pa[0],Ei=Pa[1],zo=x.a.useState(),fo=Object(pe.a)(zo,2),gs=fo[0],Ks=fo[1],pc=x.a.useState(),tc=Object(pe.a)(pc,2),xc=tc[0],kc=tc[1];return Ri(function(){Ks(On(ga)),kc(xn(ga))}),x.a.useEffect(function(){(ec.current.element!==gs||!ba(ec.current.point,xc)||!Qr(ec.current.align,Mr))&&Qa()}),x.a.useEffect(function(){var Ss=Da(ks.current,Qa);return Ss},[ks.current]),x.a.useEffect(function(){var Ss=Da(gs,Qa);return Ss},[gs]),x.a.useEffect(function(){Gr?Ei():Qa()},[Gr]),x.a.useEffect(function(){if(Ya){var Ss=Na(window,"resize",Qa);return Ss.remove}},[Ya]),x.a.useEffect(function(){return function(){Ei()}},[]),x.a.useImperativeHandle(Jn,function(){return{forceAlign:function(){return Qa(!0)}}}),x.a.isValidElement(jo)&&(jo=x.a.cloneElement(jo,{ref:Fi(jo.ref,ks)})),jo},mr=x.a.forwardRef(Rt);mr.displayName="Align";var ta=mr,ma=ta,Oa=ge()?w.useLayoutEffect:w.useEffect,Pn=function(Fn,Jn){var Ir=w.useRef(!0);Oa(function(){return Fn(Ir.current)},Jn),Oa(function(){return Ir.current=!1,function(){Ir.current=!0}},[])},Kr=function(Fn,Jn){Pn(function(Ir){if(!Ir)return Fn()},Jn)},Vn=Pn,tr=l("x+uP"),Ea=l("HaE+");function Ja(en){var Fn=w.useRef(!1),Jn=w.useState(en),Ir=Object(pe.a)(Jn,2),Gr=Ir[0],ga=Ir[1];w.useEffect(function(){return Fn.current=!1,function(){Fn.current=!0}},[]);function Mr($a,Ya){Ya&&Fn.current||ga($a)}return[Gr,Mr]}var go=["measure","alignPre","align",null,"motion"],fi=function(en,Fn){var Jn=Ja(null),Ir=Object(pe.a)(Jn,2),Gr=Ir[0],ga=Ir[1],Mr=Object(w.useRef)();function $a(Ni){ga(Ni,!0)}function Ya(){$.cancel(Mr.current)}function _o(Ni){Ya(),Mr.current=$(function(){$a(function(ec){switch(Gr){case"align":return"motion";case"motion":return"stable";default:}return ec}),Ni==null||Ni()})}return Object(w.useEffect)(function(){$a("measure")},[en]),Object(w.useEffect)(function(){switch(Gr){case"measure":Fn();break;default:}Gr&&(Mr.current=$(Object(Ea.a)(Object(tr.a)().mark(function Ni(){var ec,ks;return Object(tr.a)().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:ec=go.indexOf(Gr),ks=go[ec+1],ks&&ec!==-1&&$a(ks);case 3:case"end":return Qn.stop()}},Ni)}))))},[Gr]),Object(w.useEffect)(function(){return function(){Ya()}},[]),[Gr,_o]},lo=function(en){var Fn=w.useState({width:0,height:0}),Jn=Object(pe.a)(Fn,2),Ir=Jn[0],Gr=Jn[1];function ga($a){var Ya=$a.offsetWidth,_o=$a.offsetHeight,Ni=$a.getBoundingClientRect(),ec=Ni.width,ks=Ni.height;Math.abs(Ya-ec)<1&&Math.abs(_o-ks)<1&&(Ya=ec,_o=ks),Gr({width:Ya,height:_o})}var Mr=w.useMemo(function(){var $a={};if(en){var Ya=Ir.width,_o=Ir.height;en.indexOf("height")!==-1&&_o?$a.height=_o:en.indexOf("minHeight")!==-1&&_o&&($a.minHeight=_o),en.indexOf("width")!==-1&&Ya?$a.width=Ya:en.indexOf("minWidth")!==-1&&Ya&&($a.minWidth=Ya)}return $a},[en,Ir]);return[Mr,ga]},Oi=w.forwardRef(function(en,Fn){var Jn=en.visible,Ir=en.prefixCls,Gr=en.className,ga=en.style,Mr=en.children,$a=en.zIndex,Ya=en.stretch,_o=en.destroyPopupOnHide,Ni=en.forceRender,ec=en.align,ks=en.point,jo=en.getRootDomNode,Qn=en.getClassNameFromAlign,ka=en.onAlign,Pa=en.onMouseEnter,Qa=en.onMouseLeave,Ei=en.onMouseDown,zo=en.onTouchStart,fo=en.onClick,gs=Object(w.useRef)(),Ks=Object(w.useRef)(),pc=Object(w.useState)(),tc=Object(pe.a)(pc,2),xc=tc[0],kc=tc[1],Ss=lo(Ya),Js=Object(pe.a)(Ss,2),Mo=Js[0],js=Js[1];function Yc(){Ya&&js(jo())}var gc=fi(Jn,Yc),Cl=Object(pe.a)(gc,2),wl=Cl[0],Wc=Cl[1],nl=Object(w.useState)(0),Rc=Object(pe.a)(nl,2),su=Rc[0],Pl=Rc[1],al=Object(w.useRef)();Vn(function(){wl==="alignPre"&&Pl(0)},[wl]);function Ml(){return ks||jo}function Tl(){var Yr;(Yr=gs.current)===null||Yr===void 0||Yr.forceAlign()}function td(Yr,ni){var vi=Qn(ni);xc!==vi&&kc(vi),Pl(function(zr){return zr+1}),wl==="align"&&(ka==null||ka(Yr,ni))}Vn(function(){wl==="align"&&(su<3?Tl():Wc(function(){var Yr;(Yr=al.current)===null||Yr===void 0||Yr.call(al)}))},[su]);var rl=Object(E.a)({},Ue(en));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Yr){var ni=rl[Yr];rl[Yr]=function(vi,zr){return Wc(),ni==null?void 0:ni(vi,zr)}});function dl(){return new Promise(function(Yr){al.current=Yr})}w.useEffect(function(){!rl.motionName&&wl==="motion"&&Wc()},[rl.motionName,wl]),w.useImperativeHandle(Fn,function(){return{forceAlign:Tl,getElement:function(){return Ks.current}}});var qt=Object(E.a)(Object(E.a)({},Mo),{},{zIndex:$a,opacity:wl==="motion"||wl==="stable"||!Jn?void 0:0,pointerEvents:!Jn&&wl!=="stable"?"none":void 0},ga),nr=!0;ec!=null&&ec.points&&(wl==="align"||wl==="stable")&&(nr=!1);var Ur=Mr;return w.Children.count(Mr)>1&&(Ur=w.createElement("div",{className:"".concat(Ir,"-content")},Mr)),w.createElement(ze.b,Object(m.a)({visible:Jn,ref:Ks,leavedClassName:"".concat(Ir,"-hidden")},rl,{onAppearPrepare:dl,onEnterPrepare:dl,removeOnLeave:_o,forceRender:Ni}),function(Yr,ni){var vi=Yr.className,zr=Yr.style,wr=Ee()(Ir,Gr,xc,vi);return w.createElement(ma,{target:Ml(),key:"popup",ref:gs,monitorWindowResize:!0,disabled:nr,align:ec,onAlign:td},w.createElement("div",{ref:ni,className:wr,onMouseEnter:Pa,onMouseLeave:Qa,onMouseDownCapture:Ei,onTouchStartCapture:zo,onClick:fo,style:Object(E.a)(Object(E.a)({},zr),qt)},Ur))})});Oi.displayName="PopupInner";var io=Oi,Vi=w.forwardRef(function(en,Fn){var Jn=en.prefixCls,Ir=en.visible,Gr=en.zIndex,ga=en.children,Mr=en.mobile;Mr=Mr===void 0?{}:Mr;var $a=Mr.popupClassName,Ya=Mr.popupStyle,_o=Mr.popupMotion,Ni=_o===void 0?{}:_o,ec=Mr.popupRender,ks=en.onClick,jo=w.useRef();w.useImperativeHandle(Fn,function(){return{forceAlign:function(){},getElement:function(){return jo.current}}});var Qn=Object(E.a)({zIndex:Gr},Ya),ka=ga;return w.Children.count(ga)>1&&(ka=w.createElement("div",{className:"".concat(Jn,"-content")},ga)),ec&&(ka=ec(ka)),w.createElement(ze.b,Object(m.a)({visible:Ir,ref:jo,removeOnLeave:!0},Ni),function(Pa,Qa){var Ei=Pa.className,zo=Pa.style,fo=Ee()(Jn,$a,Ei);return w.createElement("div",{ref:Qa,className:fo,onClick:ks,style:Object(E.a)(Object(E.a)({},zo),Qn)},ka)})});Vi.displayName="MobilePopupInner";var vo=Vi,qo=["visible","mobile"],hs=w.forwardRef(function(en,Fn){var Jn=en.visible,Ir=en.mobile,Gr=Object(Ke.a)(en,qo),ga=Object(w.useState)(Jn),Mr=Object(pe.a)(ga,2),$a=Mr[0],Ya=Mr[1],_o=Object(w.useState)(!1),Ni=Object(pe.a)(_o,2),ec=Ni[0],ks=Ni[1],jo=Object(E.a)(Object(E.a)({},Gr),{},{visible:$a});Object(w.useEffect)(function(){Ya(Jn),Jn&&Ir&&ks(Me())},[Jn,Ir]);var Qn=ec?w.createElement(vo,Object(m.a)({},jo,{mobile:Ir,ref:Fn})):w.createElement(io,Object(m.a)({},jo,{ref:Fn}));return w.createElement("div",null,w.createElement(He,jo),Qn)});hs.displayName="Popup";var $t=hs,rt=w.createContext(null),Vt=rt;function tn(){}function wn(){return""}function qn(en){return en?en.ownerDocument:window.document}var zn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function xr(en){var Fn=function(Jn){Object(A.a)(Gr,Jn);var Ir=Object(S.a)(Gr);function Gr(ga){var Mr;Object(O.a)(this,Gr),Mr=Ir.call(this,ga),Object(y.a)(Object(k.a)(Mr),"popupRef",w.createRef()),Object(y.a)(Object(k.a)(Mr),"triggerRef",w.createRef()),Object(y.a)(Object(k.a)(Mr),"portalContainer",void 0),Object(y.a)(Object(k.a)(Mr),"attachId",void 0),Object(y.a)(Object(k.a)(Mr),"clickOutsideHandler",void 0),Object(y.a)(Object(k.a)(Mr),"touchOutsideHandler",void 0),Object(y.a)(Object(k.a)(Mr),"contextMenuOutsideHandler1",void 0),Object(y.a)(Object(k.a)(Mr),"contextMenuOutsideHandler2",void 0),Object(y.a)(Object(k.a)(Mr),"mouseDownTimeout",void 0),Object(y.a)(Object(k.a)(Mr),"focusTime",void 0),Object(y.a)(Object(k.a)(Mr),"preClickTime",void 0),Object(y.a)(Object(k.a)(Mr),"preTouchTime",void 0),Object(y.a)(Object(k.a)(Mr),"delayTimer",void 0),Object(y.a)(Object(k.a)(Mr),"hasPopupMouseDown",void 0),Object(y.a)(Object(k.a)(Mr),"onMouseEnter",function(Ya){var _o=Mr.props.mouseEnterDelay;Mr.fireEvents("onMouseEnter",Ya),Mr.delaySetPopupVisible(!0,_o,_o?null:Ya)}),Object(y.a)(Object(k.a)(Mr),"onMouseMove",function(Ya){Mr.fireEvents("onMouseMove",Ya),Mr.setPoint(Ya)}),Object(y.a)(Object(k.a)(Mr),"onMouseLeave",function(Ya){Mr.fireEvents("onMouseLeave",Ya),Mr.delaySetPopupVisible(!1,Mr.props.mouseLeaveDelay)}),Object(y.a)(Object(k.a)(Mr),"onPopupMouseEnter",function(){Mr.clearDelayTimer()}),Object(y.a)(Object(k.a)(Mr),"onPopupMouseLeave",function(Ya){var _o;Ya.relatedTarget&&!Ya.relatedTarget.setTimeout&&X((_o=Mr.popupRef.current)===null||_o===void 0?void 0:_o.getElement(),Ya.relatedTarget)||Mr.delaySetPopupVisible(!1,Mr.props.mouseLeaveDelay)}),Object(y.a)(Object(k.a)(Mr),"onFocus",function(Ya){Mr.fireEvents("onFocus",Ya),Mr.clearDelayTimer(),Mr.isFocusToShow()&&(Mr.focusTime=Date.now(),Mr.delaySetPopupVisible(!0,Mr.props.focusDelay))}),Object(y.a)(Object(k.a)(Mr),"onMouseDown",function(Ya){Mr.fireEvents("onMouseDown",Ya),Mr.preClickTime=Date.now()}),Object(y.a)(Object(k.a)(Mr),"onTouchStart",function(Ya){Mr.fireEvents("onTouchStart",Ya),Mr.preTouchTime=Date.now()}),Object(y.a)(Object(k.a)(Mr),"onBlur",function(Ya){Mr.fireEvents("onBlur",Ya),Mr.clearDelayTimer(),Mr.isBlurToHide()&&Mr.delaySetPopupVisible(!1,Mr.props.blurDelay)}),Object(y.a)(Object(k.a)(Mr),"onContextMenu",function(Ya){Ya.preventDefault(),Mr.fireEvents("onContextMenu",Ya),Mr.setPopupVisible(!0,Ya)}),Object(y.a)(Object(k.a)(Mr),"onContextMenuClose",function(){Mr.isContextMenuToShow()&&Mr.close()}),Object(y.a)(Object(k.a)(Mr),"onClick",function(Ya){if(Mr.fireEvents("onClick",Ya),Mr.focusTime){var _o;if(Mr.preClickTime&&Mr.preTouchTime?_o=Math.min(Mr.preClickTime,Mr.preTouchTime):Mr.preClickTime?_o=Mr.preClickTime:Mr.preTouchTime&&(_o=Mr.preTouchTime),Math.abs(_o-Mr.focusTime)<20)return;Mr.focusTime=0}Mr.preClickTime=0,Mr.preTouchTime=0,Mr.isClickToShow()&&(Mr.isClickToHide()||Mr.isBlurToHide())&&Ya&&Ya.preventDefault&&Ya.preventDefault();var Ni=!Mr.state.popupVisible;(Mr.isClickToHide()&&!Ni||Ni&&Mr.isClickToShow())&&Mr.setPopupVisible(!Mr.state.popupVisible,Ya)}),Object(y.a)(Object(k.a)(Mr),"onPopupMouseDown",function(){if(Mr.hasPopupMouseDown=!0,clearTimeout(Mr.mouseDownTimeout),Mr.mouseDownTimeout=window.setTimeout(function(){Mr.hasPopupMouseDown=!1},0),Mr.context){var Ya;(Ya=Mr.context).onPopupMouseDown.apply(Ya,arguments)}}),Object(y.a)(Object(k.a)(Mr),"onDocumentClick",function(Ya){if(!(Mr.props.mask&&!Mr.props.maskClosable)){var _o=Ya.target,Ni=Mr.getRootDomNode(),ec=Mr.getPopupDomNode();(!X(Ni,_o)||Mr.isContextMenuOnly())&&!X(ec,_o)&&!Mr.hasPopupMouseDown&&Mr.close()}}),Object(y.a)(Object(k.a)(Mr),"getRootDomNode",function(){var Ya=Mr.props.getTriggerDOMNode;if(Ya)return Ya(Mr.triggerRef.current);try{var _o=ie(Mr.triggerRef.current);if(_o)return _o}catch(Ni){}return j.a.findDOMNode(Object(k.a)(Mr))}),Object(y.a)(Object(k.a)(Mr),"getPopupClassNameFromAlign",function(Ya){var _o=[],Ni=Mr.props,ec=Ni.popupPlacement,ks=Ni.builtinPlacements,jo=Ni.prefixCls,Qn=Ni.alignPoint,ka=Ni.getPopupClassNameFromAlign;return ec&&ks&&_o.push(fe(ks,jo,Ya,Qn)),ka&&_o.push(ka(Ya)),_o.join(" ")}),Object(y.a)(Object(k.a)(Mr),"getComponent",function(){var Ya=Mr.props,_o=Ya.prefixCls,Ni=Ya.destroyPopupOnHide,ec=Ya.popupClassName,ks=Ya.onPopupAlign,jo=Ya.popupMotion,Qn=Ya.popupAnimation,ka=Ya.popupTransitionName,Pa=Ya.popupStyle,Qa=Ya.mask,Ei=Ya.maskAnimation,zo=Ya.maskTransitionName,fo=Ya.maskMotion,gs=Ya.zIndex,Ks=Ya.popup,pc=Ya.stretch,tc=Ya.alignPoint,xc=Ya.mobile,kc=Ya.forceRender,Ss=Ya.onPopupClick,Js=Mr.state,Mo=Js.popupVisible,js=Js.point,Yc=Mr.getPopupAlign(),gc={};return Mr.isMouseEnterToShow()&&(gc.onMouseEnter=Mr.onPopupMouseEnter),Mr.isMouseLeaveToHide()&&(gc.onMouseLeave=Mr.onPopupMouseLeave),gc.onMouseDown=Mr.onPopupMouseDown,gc.onTouchStart=Mr.onPopupMouseDown,w.createElement($t,Object(m.a)({prefixCls:_o,destroyPopupOnHide:Ni,visible:Mo,point:tc&&js,className:ec,align:Yc,onAlign:ks,animation:Qn,getClassNameFromAlign:Mr.getPopupClassNameFromAlign},gc,{stretch:pc,getRootDomNode:Mr.getRootDomNode,style:Pa,mask:Qa,zIndex:gs,transitionName:ka,maskAnimation:Ei,maskTransitionName:zo,maskMotion:fo,ref:Mr.popupRef,motion:jo,mobile:xc,forceRender:kc,onClick:Ss}),typeof Ks=="function"?Ks():Ks)}),Object(y.a)(Object(k.a)(Mr),"attachParent",function(Ya){$.cancel(Mr.attachId);var _o=Mr.props,Ni=_o.getPopupContainer,ec=_o.getDocument,ks=Mr.getRootDomNode(),jo;Ni?(ks||Ni.length===0)&&(jo=Ni(ks)):jo=ec(Mr.getRootDomNode()).body,jo?jo.appendChild(Ya):Mr.attachId=$(function(){Mr.attachParent(Ya)})}),Object(y.a)(Object(k.a)(Mr),"getContainer",function(){if(!Mr.portalContainer){var Ya=Mr.props.getDocument,_o=Ya(Mr.getRootDomNode()).createElement("div");_o.style.position="absolute",_o.style.top="0",_o.style.left="0",_o.style.width="100%",Mr.portalContainer=_o}return Mr.attachParent(Mr.portalContainer),Mr.portalContainer}),Object(y.a)(Object(k.a)(Mr),"setPoint",function(Ya){var _o=Mr.props.alignPoint;!_o||!Ya||Mr.setState({point:{pageX:Ya.pageX,pageY:Ya.pageY}})}),Object(y.a)(Object(k.a)(Mr),"handlePortalUpdate",function(){Mr.state.prevPopupVisible!==Mr.state.popupVisible&&Mr.props.afterPopupVisibleChange(Mr.state.popupVisible)}),Object(y.a)(Object(k.a)(Mr),"triggerContextValue",{onPopupMouseDown:Mr.onPopupMouseDown});var $a;return"popupVisible"in ga?$a=!!ga.popupVisible:$a=!!ga.defaultPopupVisible,Mr.state={prevPopupVisible:$a,popupVisible:$a},zn.forEach(function(Ya){Mr["fire".concat(Ya)]=function(_o){Mr.fireEvents(Ya,_o)}}),Mr}return Object(C.a)(Gr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Mr=this.props,$a=this.state;if($a.popupVisible){var Ya;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Ya=Mr.getDocument(this.getRootDomNode()),this.clickOutsideHandler=oe(Ya,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Ya=Ya||Mr.getDocument(this.getRootDomNode()),this.touchOutsideHandler=oe(Ya,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Ya=Ya||Mr.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=oe(Ya,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=oe(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),$.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var Mr;return((Mr=this.popupRef.current)===null||Mr===void 0?void 0:Mr.getElement())||null}},{key:"getPopupAlign",value:function(){var Mr=this.props,$a=Mr.popupPlacement,Ya=Mr.popupAlign,_o=Mr.builtinPlacements;return $a&&_o?we(_o,$a,Ya):Ya}},{key:"setPopupVisible",value:function(Mr,$a){var Ya=this.props.alignPoint,_o=this.state.popupVisible;this.clearDelayTimer(),_o!==Mr&&("popupVisible"in this.props||this.setState({popupVisible:Mr,prevPopupVisible:_o}),this.props.onPopupVisibleChange(Mr)),Ya&&$a&&Mr&&this.setPoint($a)}},{key:"delaySetPopupVisible",value:function(Mr,$a,Ya){var _o=this,Ni=$a*1e3;if(this.clearDelayTimer(),Ni){var ec=Ya?{pageX:Ya.pageX,pageY:Ya.pageY}:null;this.delayTimer=window.setTimeout(function(){_o.setPopupVisible(Mr,ec),_o.clearDelayTimer()},Ni)}else this.setPopupVisible(Mr,Ya)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(Mr){var $a=this.props.children.props,Ya=this.props;return $a[Mr]&&Ya[Mr]?this["fire".concat(Mr)]:$a[Mr]||Ya[Mr]}},{key:"isClickToShow",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.showAction;return $a.indexOf("click")!==-1||Ya.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var Mr=this.props.action;return Mr==="contextMenu"||Mr.length===1&&Mr[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.showAction;return $a.indexOf("contextMenu")!==-1||Ya.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.hideAction;return $a.indexOf("click")!==-1||Ya.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.showAction;return $a.indexOf("hover")!==-1||Ya.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.hideAction;return $a.indexOf("hover")!==-1||Ya.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.showAction;return $a.indexOf("focus")!==-1||Ya.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var Mr=this.props,$a=Mr.action,Ya=Mr.hideAction;return $a.indexOf("focus")!==-1||Ya.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var Mr;(Mr=this.popupRef.current)===null||Mr===void 0||Mr.forceAlign()}}},{key:"fireEvents",value:function(Mr,$a){var Ya=this.props.children.props[Mr];Ya&&Ya($a);var _o=this.props[Mr];_o&&_o($a)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var Mr=this.state.popupVisible,$a=this.props,Ya=$a.children,_o=$a.forceRender,Ni=$a.alignPoint,ec=$a.className,ks=$a.autoDestroy,jo=w.Children.only(Ya),Qn={key:"trigger"};this.isContextMenuToShow()?Qn.onContextMenu=this.onContextMenu:Qn.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Qn.onClick=this.onClick,Qn.onMouseDown=this.onMouseDown,Qn.onTouchStart=this.onTouchStart):(Qn.onClick=this.createTwoChains("onClick"),Qn.onMouseDown=this.createTwoChains("onMouseDown"),Qn.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Qn.onMouseEnter=this.onMouseEnter,Ni&&(Qn.onMouseMove=this.onMouseMove)):Qn.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Qn.onMouseLeave=this.onMouseLeave:Qn.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Qn.onFocus=this.onFocus,Qn.onBlur=this.onBlur):(Qn.onFocus=this.createTwoChains("onFocus"),Qn.onBlur=this.createTwoChains("onBlur"));var ka=Ee()(jo&&jo.props&&jo.props.className,ec);ka&&(Qn.className=ka);var Pa=Object(E.a)({},Qn);he(jo)&&(Pa.ref=te(this.triggerRef,jo.ref));var Qa=w.cloneElement(jo,Pa),Ei;return(Mr||this.popupRef.current||_o)&&(Ei=w.createElement(en,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!Mr&&ks&&(Ei=null),w.createElement(Vt.Provider,{value:this.triggerContextValue},Qa,Ei)}}],[{key:"getDerivedStateFromProps",value:function(Mr,$a){var Ya=Mr.popupVisible,_o={};return Ya!==void 0&&$a.popupVisible!==Ya&&(_o.popupVisible=Ya,_o.prevPopupVisible=$a.popupVisible),_o}}]),Gr}(w.Component);return Object(y.a)(Fn,"contextType",Vt),Object(y.a)(Fn,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:wn,getDocument:qn,onPopupVisibleChange:tn,afterPopupVisibleChange:tn,onPopupAlign:tn,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),Fn}var da=R.a=xr(Z)},ue5M:function(ce,R,l){l("pW3P")},ujMp:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.circularDependencyToException=R.listMetadataForTarget=R.listRegisteredBindingsForServiceIdentifier=R.getServiceIdentifierAsString=R.getFunctionName=void 0;var E=l("MON2");function m(w){if(typeof w=="function"){var x=w;return x.name}else{if(typeof w=="symbol")return w.toString();var x=w;return x}}R.getServiceIdentifierAsString=m;function O(w,x,T){var j="",D=T(w,x);return D.length!==0&&(j=`
Registered bindings:`,D.forEach(function(N){var F="Object";N.implementationType!==null&&(F=y(N.implementationType)),j=j+`
`+F,N.constraint.metaData&&(j=j+" - "+N.constraint.metaData)})),j}R.listRegisteredBindingsForServiceIdentifier=O;function C(w,x){return w.parentRequest===null?!1:w.parentRequest.serviceIdentifier===x?!0:C(w.parentRequest,x)}function k(w){function x(j,D){D===void 0&&(D=[]);var N=m(j.serviceIdentifier);return D.push(N),j.parentRequest!==null?x(j.parentRequest,D):D}var T=x(w);return T.reverse().join(" --> ")}function A(w){w.childRequests.forEach(function(x){if(C(x,x.serviceIdentifier)){var T=k(x);throw new Error(E.CIRCULAR_DEPENDENCY+" "+T)}else A(x)})}R.circularDependencyToException=A;function S(w,x){if(x.isTagged()||x.isNamed()){var T="",j=x.getNamedTag(),D=x.getCustomTags();return j!==null&&(T+=j.toString()+`
`),D!==null&&D.forEach(function(N){T+=N.toString()+`
`})," "+w+`
`+w+" - "+T}else return" "+w}R.listMetadataForTarget=S;function y(w){if(w.name)return w.name;var x=w.toString(),T=x.match(/^function\s*([^\s(]+)/);return T?T[1]:"Anonymous function: "+x}R.getFunctionName=y},ujhg:function(ce,R,l){var E=l("NMFW");ce.exports=function(m,O,C){for(var k in O)E(m,k,O[k],C);return m}},ukPv:function(ce,R,l){(function(E){var m=function(O){return O&&O.Math==Math&&O};ce.exports=m(typeof globalThis=="object"&&globalThis)||m(typeof window=="object"&&window)||m(typeof self=="object"&&self)||m(typeof E=="object"&&E)||Function("return this")()}).call(this,l("IyRk"))},ul5b:function(ce,R,l){"use strict";l.d(R,"a",function(){return C}),l.d(R,"b",function(){return k});var E=l("wx14"),m=l("ZvpZ"),O=Object(E.a)({},m.a.Modal);function C(A){A?O=Object(E.a)(Object(E.a)({},O),A):O=Object(E.a)({},m.a.Modal)}function k(){return O}},uln6:function(ce,R,l){var E=l("MMxC"),m=l("tny8"),O=l("f1E4"),C=l("gFfw"),k=l("YfKC"),A=l("MVys"),S=A(function(){Reflect.defineProperty(k.f({},1,{value:1}),1,{value:2})});E({target:"Reflect",stat:!0,forced:S,sham:!m},{defineProperty:function(w,x,T){O(w);var j=C(x,!0);O(T);try{return k.f(w,j,T),!0}catch(D){return!1}}})},uoF6:function(ce,R,l){"use strict";var E=l("JXem").IteratorPrototype,m=l("u+7+"),O=l("HhvW"),C=l("kiNa"),k=l("5yw/"),A=function(){return this};ce.exports=function(S,y,w){var x=y+" Iterator";return S.prototype=m(E,{next:O(1,w)}),C(S,x,!1,!0),k[x]=A,S}},"ut/Y":function(ce,R,l){var E=l("ZCpW"),m=l("GDhZ"),O=l("zZ0H"),C=l("Z0cm"),k=l("+c4W");function A(S){return typeof S=="function"?S:S==null?O:typeof S=="object"?C(S)?m(S[0],S[1]):E(S):k(S)}ce.exports=A},ux5W:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=C;var E=l("MAmL"),m=O(E);function O(k){return k&&k.__esModule?k:{default:k}}function C(k){return(0,m.default)(k)}ce.exports=R.default},uyf8:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SliderSwatch=void 0;var E=l("q1tI"),m=k(E),O=l("/FUP"),C=k(O);function k(S){return S&&S.__esModule?S:{default:S}}var A=R.SliderSwatch=function(y){var w=y.hsl,x=y.offset,T=y.onClick,j=T===void 0?function(){}:T,D=y.active,N=y.first,F=y.last,B=(0,C.default)({default:{swatch:{height:"12px",background:"hsl("+w.h+", 50%, "+x*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:D,first:N,last:F}),U=function($){return j({h:w.h,s:.5,l:x,source:"hsl"},$)};return m.default.createElement("div",{style:B.swatch,onClick:U})};R.default=A},uz3g:function(ce,R,l){"use strict";var E=l("ujhg"),m=l("a5mf").getWeakData,O=l("f1E4"),C=l("tSXo"),k=l("igoe"),A=l("IuhT"),S=l("zv1X"),y=l("jtLI"),w=l("1aI8"),x=w.set,T=w.getterFor,j=S.find,D=S.findIndex,N=0,F=function(J){return J.frozen||(J.frozen=new B)},B=function(){this.entries=[]},U=function(J,$){return j(J.entries,function(X){return X[0]===$})};B.prototype={get:function(J){var $=U(this,J);if($)return $[1]},has:function(J){return!!U(this,J)},set:function(J,$){var X=U(this,J);X?X[1]=$:this.entries.push([J,$])},delete:function(J){var $=D(this.entries,function(X){return X[0]===J});return~$&&this.entries.splice($,1),!!~$}},ce.exports={getConstructor:function(J,$,X,ee){var ie=J(function(W,ne){k(W,ie,$),x(W,{type:$,id:N++,frozen:void 0}),ne!=null&&A(ne,W[ee],W,X)}),G=T($),Q=function(W,ne,te){var _e=G(W),he=m(O(ne),!0);return he===!0?F(_e).set(ne,te):he[_e.id]=te,W};return E(ie.prototype,{delete:function(W){var ne=G(this);if(!C(W))return!1;var te=m(W);return te===!0?F(ne).delete(W):te&&y(te,ne.id)&&delete te[ne.id]},has:function(ne){var te=G(this);if(!C(ne))return!1;var _e=m(ne);return _e===!0?F(te).has(ne):_e&&y(_e,te.id)}}),E(ie.prototype,X?{get:function(ne){var te=G(this);if(C(ne)){var _e=m(ne);return _e===!0?F(te).get(ne):_e?_e[te.id]:void 0}},set:function(ne,te){return Q(this,ne,te)}}:{add:function(ne){return Q(this,ne,!0)}}),ie}}},uzXc:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Hue=void 0;var E=function(){function N(F,B){for(var U=0;U<B.length;U++){var J=B[U];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(F,J.key,J)}}return function(F,B,U){return B&&N(F.prototype,B),U&&N(F,U),F}}(),m=l("q1tI"),O=w(m),C=l("/FUP"),k=w(C),A=l("aH9n"),S=y(A);function y(N){if(N&&N.__esModule)return N;var F={};if(N!=null)for(var B in N)Object.prototype.hasOwnProperty.call(N,B)&&(F[B]=N[B]);return F.default=N,F}function w(N){return N&&N.__esModule?N:{default:N}}function x(N,F){if(!(N instanceof F))throw new TypeError("Cannot call a class as a function")}function T(N,F){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:N}function j(N,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);N.prototype=Object.create(F&&F.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(N,F):N.__proto__=F)}var D=R.Hue=function(N){j(F,N);function F(){var B,U,J,$;x(this,F);for(var X=arguments.length,ee=Array(X),ie=0;ie<X;ie++)ee[ie]=arguments[ie];return $=(U=(J=T(this,(B=F.__proto__||Object.getPrototypeOf(F)).call.apply(B,[this].concat(ee))),J),J.handleChange=function(G){var Q=S.calculateChange(G,J.props.direction,J.props.hsl,J.container);Q&&typeof J.props.onChange=="function"&&J.props.onChange(Q,G)},J.handleMouseDown=function(G){J.handleChange(G),window.addEventListener("mousemove",J.handleChange),window.addEventListener("mouseup",J.handleMouseUp)},J.handleMouseUp=function(){J.unbindEventListeners()},U),T(J,$)}return E(F,[{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 U=this,J=this.props.direction,$=J===void 0?"horizontal":J,X=(0,k.default)({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: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:-(this.props.hsl.h*100/360)+100+"%"}}},{vertical:$==="vertical"});return O.default.createElement("div",{style:X.hue},O.default.createElement("div",{className:"hue-"+$,style:X.container,ref:function(ie){return U.container=ie},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},O.default.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%);
}
`),O.default.createElement("div",{style:X.pointer},this.props.pointer?O.default.createElement(this.props.pointer,this.props):O.default.createElement("div",{style:X.slider}))))}}]),F}(m.PureComponent||m.Component);R.default=D},"v/6r":function(ce,R,l){var E=l("ssJt");E("Array")},"v0/P":function(ce,R,l){var E=l("MMxC"),m=l("egz/"),O=Math.acosh,C=Math.log,k=Math.sqrt,A=Math.LN2,S=!O||Math.floor(O(Number.MAX_VALUE))!=710||O(Infinity)!=Infinity;E({target:"Math",stat:!0,forced:S},{acosh:function(w){return(w=+w)<1?NaN:w>9490626562425156e-8?C(w)+A:m(w-1+k(w-1)*k(w+1))}})},v0wf:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("VTBJ"),m=l("U8pU"),O=function(){for(var k={},A=arguments.length,S=new Array(A),y=0;y<A;y++)S[y]=arguments[y];for(var w=S.length,x,T=0;T<w;T+=1)for(x in S[T])S[T].hasOwnProperty(x)&&(Object(m.a)(k[x])==="object"&&Object(m.a)(S[T][x])==="object"&&k[x]!==void 0&&k[x]!==null&&!Array.isArray(k[x])&&!Array.isArray(S[T][x])?k[x]=Object(E.a)(Object(E.a)({},k[x]),S[T][x]):k[x]=S[T][x]);return k}},v20e:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=Object.assign||function(N){for(var F=1;F<arguments.length;F++){var B=arguments[F];for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&(N[U]=B[U])}return N};R.PluginSet=w,R.fallbacks=x,R.contentWrap=j,R.prefixes=D;var m=l("MgzW"),O=S(m),C=l("msJK"),k=l("uGx6"),A=S(k);function S(N){return N&&N.__esModule?N:{default:N}}var y=function(N){return N==="development"||!N}("production");function w(N){this.fns=N||[]}(0,O.default)(w.prototype,{add:function(){for(var F=this,B=arguments.length,U=Array(B),J=0;J<B;J++)U[J]=arguments[J];U.forEach(function($){F.fns.indexOf($)>=0?y&&console.warn("adding the same plugin again, ignoring"):F.fns=[$].concat(F.fns)})},remove:function(F){this.fns=this.fns.filter(function(B){return B!==F})},clear:function(){this.fns=[]},transform:function(F){return this.fns.reduce(function(B,U){return U(B)},F)}});function x(N){var F=Object.keys(N.style).map(function(J){return Array.isArray(N.style[J])}).indexOf(!0)>=0;if(F){var B=N.style,U=Object.keys(B).reduce(function(J,$){return J[$]=Array.isArray(B[$])?B[$].join("; "+(0,C.processStyleName)($)+": "):B[$],J},{});return(0,O.default)({},N,{style:U})}return N}var T=["normal","none","counter","open-quote","close-quote","no-open-quote","no-close-quote","initial","inherit"];function j(N){if(N.style.content){var F=N.style.content;return T.indexOf(F)>=0||/^(attr|calc|counters?|url)\(/.test(F)||F.charAt(0)===F.charAt(F.length-1)&&(F.charAt(0)==='"'||F.charAt(0)==="'")?N:E({},N,{style:E({},N.style,{content:'"'+F+'"'})})}return N}function D(N){return(0,O.default)({},N,{style:(0,A.default)(E({},N.style))})}},v3Qx:function(ce,R){var l={}.toString;ce.exports=Array.isArray||function(E){return l.call(E)=="[object Array]"}},v3oe:function(ce,R,l){var E=l("MMxC"),m=l("MVys"),O=l("cTDu"),C=l("Acmb"),k=l("SprQ"),A=m(function(){C(1)});E({target:"Object",stat:!0,forced:A,sham:!k},{getPrototypeOf:function(y){return C(O(y))}})},v56E:function(ce,R,l){},"vN+2":function(ce,R){function l(){}ce.exports=l},vO0A:function(ce,R,l){"use strict";var E=l("YfKC").f,m=l("u+7+"),O=l("ujhg"),C=l("7BAe"),k=l("igoe"),A=l("IuhT"),S=l("uMwj"),y=l("ssJt"),w=l("tny8"),x=l("a5mf").fastKey,T=l("1aI8"),j=T.set,D=T.getterFor;ce.exports={getConstructor:function(N,F,B,U){var J=N(function(ie,G){k(ie,J,F),j(ie,{type:F,index:m(null),first:void 0,last:void 0,size:0}),w||(ie.size=0),G!=null&&A(G,ie[U],ie,B)}),$=D(F),X=function(ie,G,Q){var W=$(ie),ne=ee(ie,G),te,_e;return ne?ne.value=Q:(W.last=ne={index:_e=x(G,!0),key:G,value:Q,previous:te=W.last,next:void 0,removed:!1},W.first||(W.first=ne),te&&(te.next=ne),w?W.size++:ie.size++,_e!=="F"&&(W.index[_e]=ne)),ie},ee=function(ie,G){var Q=$(ie),W=x(G),ne;if(W!=="F")return Q.index[W];for(ne=Q.first;ne;ne=ne.next)if(ne.key==G)return ne};return O(J.prototype,{clear:function(){for(var G=this,Q=$(G),W=Q.index,ne=Q.first;ne;)ne.removed=!0,ne.previous&&(ne.previous=ne.previous.next=void 0),delete W[ne.index],ne=ne.next;Q.first=Q.last=void 0,w?Q.size=0:G.size=0},delete:function(ie){var G=this,Q=$(G),W=ee(G,ie);if(W){var ne=W.next,te=W.previous;delete Q.index[W.index],W.removed=!0,te&&(te.next=ne),ne&&(ne.previous=te),Q.first==W&&(Q.first=ne),Q.last==W&&(Q.last=te),w?Q.size--:G.size--}return!!W},forEach:function(G){for(var Q=$(this),W=C(G,arguments.length>1?arguments[1]:void 0,3),ne;ne=ne?ne.next:Q.first;)for(W(ne.value,ne.key,this);ne&&ne.removed;)ne=ne.previous},has:function(G){return!!ee(this,G)}}),O(J.prototype,B?{get:function(G){var Q=ee(this,G);return Q&&Q.value},set:function(G,Q){return X(this,G===0?0:G,Q)}}:{add:function(G){return X(this,G=G===0?0:G,G)}}),w&&E(J.prototype,"size",{get:function(){return $(this).size}}),J},setStrong:function(N,F,B){var U=F+" Iterator",J=D(F),$=D(U);S(N,F,function(X,ee){j(this,{type:U,target:X,state:J(X),kind:ee,last:void 0})},function(){for(var X=$(this),ee=X.kind,ie=X.last;ie&&ie.removed;)ie=ie.previous;return!X.target||!(X.last=ie=ie?ie.next:X.state.first)?(X.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:ie.key,done:!1}:ee=="values"?{value:ie.value,done:!1}:{value:[ie.key,ie.value],done:!1}},B?"entries":"values",!B,!0),y(F)}}},vRGJ:function(ce,R){ce.exports=D,ce.exports.parse=O,ce.exports.compile=C,ce.exports.tokensToFunction=k,ce.exports.tokensToRegExp=j;var l="/",E="./",m=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function O(N,F){for(var B=[],U=0,J=0,$="",X=F&&F.delimiter||l,ee=F&&F.delimiters||E,ie=!1,G;(G=m.exec(N))!==null;){var Q=G[0],W=G[1],ne=G.index;if($+=N.slice(J,ne),J=ne+Q.length,W){$+=W[1],ie=!0;continue}var te="",_e=N[J],he=G[2],oe=G[3],ge=G[4],me=G[5];if(!ie&&$.length){var Z=$.length-1;ee.indexOf($[Z])>-1&&(te=$[Z],$=$.slice(0,Z))}$&&(B.push($),$="",ie=!1);var xe=te!==""&&_e!==void 0&&_e!==te,Ee=me==="+"||me==="*",Le=me==="?"||me==="*",we=te||X,fe=oe||ge;B.push({name:he||U++,prefix:te,delimiter:we,optional:Le,repeat:Ee,partial:xe,pattern:fe?S(fe):"[^"+A(we)+"]+?"})}return($||J<N.length)&&B.push($+N.substr(J)),B}function C(N,F){return k(O(N,F))}function k(N){for(var F=new Array(N.length),B=0;B<N.length;B++)typeof N[B]=="object"&&(F[B]=new RegExp("^(?:"+N[B].pattern+")$"));return function(U,J){for(var $="",X=J&&J.encode||encodeURIComponent,ee=0;ee<N.length;ee++){var ie=N[ee];if(typeof ie=="string"){$+=ie;continue}var G=U?U[ie.name]:void 0,Q;if(Array.isArray(G)){if(!ie.repeat)throw new TypeError('Expected "'+ie.name+'" to not repeat, but got array');if(G.length===0){if(ie.optional)continue;throw new TypeError('Expected "'+ie.name+'" to not be empty')}for(var W=0;W<G.length;W++){if(Q=X(G[W],ie),!F[ee].test(Q))throw new TypeError('Expected all "'+ie.name+'" to match "'+ie.pattern+'"');$+=(W===0?ie.prefix:ie.delimiter)+Q}continue}if(typeof G=="string"||typeof G=="number"||typeof G=="boolean"){if(Q=X(String(G),ie),!F[ee].test(Q))throw new TypeError('Expected "'+ie.name+'" to match "'+ie.pattern+'", but got "'+Q+'"');$+=ie.prefix+Q;continue}if(ie.optional){ie.partial&&($+=ie.prefix);continue}throw new TypeError('Expected "'+ie.name+'" to be '+(ie.repeat?"an array":"a string"))}return $}}function A(N){return N.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function S(N){return N.replace(/([=!:$/()])/g,"\\$1")}function y(N){return N&&N.sensitive?"":"i"}function w(N,F){if(!F)return N;var B=N.source.match(/\((?!\?)/g);if(B)for(var U=0;U<B.length;U++)F.push({name:U,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return N}function x(N,F,B){for(var U=[],J=0;J<N.length;J++)U.push(D(N[J],F,B).source);return new RegExp("(?:"+U.join("|")+")",y(B))}function T(N,F,B){return j(O(N,B),F,B)}function j(N,F,B){B=B||{};for(var U=B.strict,J=B.start!==!1,$=B.end!==!1,X=A(B.delimiter||l),ee=B.delimiters||E,ie=[].concat(B.endsWith||[]).map(A).concat("$").join("|"),G=J?"^":"",Q=N.length===0,W=0;W<N.length;W++){var ne=N[W];if(typeof ne=="string")G+=A(ne),Q=W===N.length-1&&ee.indexOf(ne[ne.length-1])>-1;else{var te=ne.repeat?"(?:"+ne.pattern+")(?:"+A(ne.delimiter)+"(?:"+ne.pattern+"))*":ne.pattern;F&&F.push(ne),ne.optional?ne.partial?G+=A(ne.prefix)+"("+te+")?":G+="(?:"+A(ne.prefix)+"("+te+"))?":G+=A(ne.prefix)+"("+te+")"}}return $?(U||(G+="(?:"+X+")?"),G+=ie==="$"?"$":"(?="+ie+")"):(U||(G+="(?:"+X+"(?="+ie+"))?"),Q||(G+="(?="+X+"|"+ie+")")),new RegExp(G,y(B))}function D(N,F,B){return N instanceof RegExp?w(N,F):Array.isArray(N)?x(N,F,B):T(N,F,B)}},vgIT:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),Object.defineProperty(R,"ConfigConsumer",{enumerable:!0,get:function(){return D.ConfigConsumer}}),Object.defineProperty(R,"ConfigContext",{enumerable:!0,get:function(){return D.ConfigContext}}),R.globalConfig=R.defaultPrefixCls=R.defaultIconPrefixCls=R.default=R.configConsumerProps=void 0;var O=m(l("pVnL")),C=m(l("Bgsj")),k=m(l("71zU")),A=E(l("q1tI")),S=m(l("aWDn")),y=E(l("2T/V")),w=m(l("GG9M")),x=m(l("PE/4")),T=m(l("QpBz")),j=m(l("rR1Q")),D=l("SqFR"),N=l("khga"),F=l("i4Ex"),B=E(l("fVhf")),U=["getTargetContainer","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","autoInsertSpaceInButton","locale","pageHeader"];R.configConsumerProps=U;var J=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"],$="ant";R.defaultPrefixCls=$;var X="anticon";R.defaultIconPrefixCls=X;var ee,ie;function G(){return ee||$}function Q(){return ie||X}var W=function(ge){var me=ge.prefixCls,Z=ge.iconPrefixCls,xe=ge.theme;me!==void 0&&(ee=me),Z!==void 0&&(ie=Z),xe&&(0,N.registerTheme)(G(),xe)},ne=function(){return{getPrefixCls:function(me,Z){return Z||(me?"".concat(G(),"-").concat(me):G())},getIconPrefixCls:Q,getRootPrefixCls:function(me,Z){return me||ee||(Z&&Z.includes("-")?Z.replace(/^(.*)-[^-]*$/,"$1"):G())}}};R.globalConfig=ne;var te=function(ge){var me,Z,xe=ge.children,Ee=ge.csp,Le=ge.autoInsertSpaceInButton,we=ge.form,fe=ge.locale,pe=ge.componentSize,Ke=ge.direction,Me=ge.space,ze=ge.virtual,Ue=ge.dropdownMatchSelectWidth,He=ge.legacyLocale,Ne=ge.parentContext,it=ge.iconPrefixCls,Xe=ge.componentDisabled,ht=A.useCallback(function(Xt,vt){var qe=ge.prefixCls;if(vt)return vt;var Re=qe||Ne.getPrefixCls("");return Xt?"".concat(Re,"-").concat(Xt):Re},[Ne.getPrefixCls,ge.prefixCls]),lt=(0,O.default)((0,O.default)({},Ne),{csp:Ee,autoInsertSpaceInButton:Le,locale:fe||He,direction:Ke,space:Me,virtual:ze,dropdownMatchSelectWidth:Ue,getPrefixCls:ht});J.forEach(function(Xt){var vt=ge[Xt];vt&&(lt[Xt]=vt)});var Et=(0,k.default)(function(){return lt},lt,function(Xt,vt){var qe=Object.keys(Xt),Re=Object.keys(vt);return qe.length!==Re.length||qe.some(function(Se){return Xt[Se]!==vt[Se]})}),tt=A.useMemo(function(){return{prefixCls:it,csp:Ee}},[it,Ee]),mt=xe,xt={};return fe&&(xt=((me=fe.Form)===null||me===void 0?void 0:me.defaultValidateMessages)||((Z=x.default.Form)===null||Z===void 0?void 0:Z.defaultValidateMessages)||{}),we&&we.validateMessages&&(xt=(0,O.default)((0,O.default)({},xt),we.validateMessages)),Object.keys(xt).length>0&&(mt=A.createElement(S.default.Provider,{value:xt},xe)),fe&&(mt=A.createElement(y.default,{locale:fe,_ANT_MARK__:y.ANT_MARK},mt)),(it||Ee)&&(mt=A.createElement(C.default.Provider,{value:tt},mt)),pe&&(mt=A.createElement(B.SizeContextProvider,{size:pe},mt)),Xe!==void 0&&(mt=A.createElement(F.DisabledContextProvider,{disabled:Xe},mt)),A.createElement(D.ConfigContext.Provider,{value:Et},mt)},_e=function(ge){return A.useEffect(function(){ge.direction&&(T.default.config({rtl:ge.direction==="rtl"}),j.default.config({rtl:ge.direction==="rtl"}))},[ge.direction]),A.createElement(w.default,null,function(me,Z,xe){return A.createElement(D.ConfigConsumer,null,function(Ee){return A.createElement(te,(0,O.default)({parentContext:Ee,legacyLocale:xe},ge))})})};_e.ConfigContext=D.ConfigContext,_e.SizeContext=B.default,_e.config=W;var he=_e;R.default=he},vgmO:function(ce,R,l){(function(E){var m;typeof window!="undefined"?m=window:typeof E!="undefined"?m=E:typeof self!="undefined"?m=self:m={},ce.exports=m}).call(this,l("IyRk"))},viRO:function(ce,R,l){"use strict";/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=l("MgzW"),m=60103,O=60106;R.Fragment=60107,R.StrictMode=60108,R.Profiler=60114;var C=60109,k=60110,A=60112;R.Suspense=60113;var S=60115,y=60116;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;m=w("react.element"),O=w("react.portal"),R.Fragment=w("react.fragment"),R.StrictMode=w("react.strict_mode"),R.Profiler=w("react.profiler"),C=w("react.provider"),k=w("react.context"),A=w("react.forward_ref"),R.Suspense=w("react.suspense"),S=w("react.memo"),y=w("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function T(xe){return xe===null||typeof xe!="object"?null:(xe=x&&xe[x]||xe["@@iterator"],typeof xe=="function"?xe:null)}function j(xe){for(var Ee="https://reactjs.org/docs/error-decoder.html?invariant="+xe,Le=1;Le<arguments.length;Le++)Ee+="&args[]="+encodeURIComponent(arguments[Le]);return"Minified React error #"+xe+"; visit "+Ee+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N={};function F(xe,Ee,Le){this.props=xe,this.context=Ee,this.refs=N,this.updater=Le||D}F.prototype.isReactComponent={},F.prototype.setState=function(xe,Ee){if(typeof xe!="object"&&typeof xe!="function"&&xe!=null)throw Error(j(85));this.updater.enqueueSetState(this,xe,Ee,"setState")},F.prototype.forceUpdate=function(xe){this.updater.enqueueForceUpdate(this,xe,"forceUpdate")};function B(){}B.prototype=F.prototype;function U(xe,Ee,Le){this.props=xe,this.context=Ee,this.refs=N,this.updater=Le||D}var J=U.prototype=new B;J.constructor=U,E(J,F.prototype),J.isPureReactComponent=!0;var $={current:null},X=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};function ie(xe,Ee,Le){var we,fe={},pe=null,Ke=null;if(Ee!=null)for(we in Ee.ref!==void 0&&(Ke=Ee.ref),Ee.key!==void 0&&(pe=""+Ee.key),Ee)X.call(Ee,we)&&!ee.hasOwnProperty(we)&&(fe[we]=Ee[we]);var Me=arguments.length-2;if(Me===1)fe.children=Le;else if(1<Me){for(var ze=Array(Me),Ue=0;Ue<Me;Ue++)ze[Ue]=arguments[Ue+2];fe.children=ze}if(xe&&xe.defaultProps)for(we in Me=xe.defaultProps,Me)fe[we]===void 0&&(fe[we]=Me[we]);return{$$typeof:m,type:xe,key:pe,ref:Ke,props:fe,_owner:$.current}}function G(xe,Ee){return{$$typeof:m,type:xe.type,key:Ee,ref:xe.ref,props:xe.props,_owner:xe._owner}}function Q(xe){return typeof xe=="object"&&xe!==null&&xe.$$typeof===m}function W(xe){var Ee={"=":"=0",":":"=2"};return"$"+xe.replace(/[=:]/g,function(Le){return Ee[Le]})}var ne=/\/+/g;function te(xe,Ee){return typeof xe=="object"&&xe!==null&&xe.key!=null?W(""+xe.key):Ee.toString(36)}function _e(xe,Ee,Le,we,fe){var pe=typeof xe;(pe==="undefined"||pe==="boolean")&&(xe=null);var Ke=!1;if(xe===null)Ke=!0;else switch(pe){case"string":case"number":Ke=!0;break;case"object":switch(xe.$$typeof){case m:case O:Ke=!0}}if(Ke)return Ke=xe,fe=fe(Ke),xe=we===""?"."+te(Ke,0):we,Array.isArray(fe)?(Le="",xe!=null&&(Le=xe.replace(ne,"$&/")+"/"),_e(fe,Ee,Le,"",function(Ue){return Ue})):fe!=null&&(Q(fe)&&(fe=G(fe,Le+(!fe.key||Ke&&Ke.key===fe.key?"":(""+fe.key).replace(ne,"$&/")+"/")+xe)),Ee.push(fe)),1;if(Ke=0,we=we===""?".":we+":",Array.isArray(xe))for(var Me=0;Me<xe.length;Me++){pe=xe[Me];var ze=we+te(pe,Me);Ke+=_e(pe,Ee,Le,ze,fe)}else if(ze=T(xe),typeof ze=="function")for(xe=ze.call(xe),Me=0;!(pe=xe.next()).done;)pe=pe.value,ze=we+te(pe,Me++),Ke+=_e(pe,Ee,Le,ze,fe);else if(pe==="object")throw Ee=""+xe,Error(j(31,Ee==="[object Object]"?"object with keys {"+Object.keys(xe).join(", ")+"}":Ee));return Ke}function he(xe,Ee,Le){if(xe==null)return xe;var we=[],fe=0;return _e(xe,we,"","",function(pe){return Ee.call(Le,pe,fe++)}),we}function oe(xe){if(xe._status===-1){var Ee=xe._result;Ee=Ee(),xe._status=0,xe._result=Ee,Ee.then(function(Le){xe._status===0&&(Le=Le.default,xe._status=1,xe._result=Le)},function(Le){xe._status===0&&(xe._status=2,xe._result=Le)})}if(xe._status===1)return xe._result;throw xe._result}var ge={current:null};function me(){var xe=ge.current;if(xe===null)throw Error(j(321));return xe}var Z={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:$,IsSomeRendererActing:{current:!1},assign:E};R.Children={map:he,forEach:function(xe,Ee,Le){he(xe,function(){Ee.apply(this,arguments)},Le)},count:function(xe){var Ee=0;return he(xe,function(){Ee++}),Ee},toArray:function(xe){return he(xe,function(Ee){return Ee})||[]},only:function(xe){if(!Q(xe))throw Error(j(143));return xe}},R.Component=F,R.PureComponent=U,R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,R.cloneElement=function(xe,Ee,Le){if(xe==null)throw Error(j(267,xe));var we=E({},xe.props),fe=xe.key,pe=xe.ref,Ke=xe._owner;if(Ee!=null){if(Ee.ref!==void 0&&(pe=Ee.ref,Ke=$.current),Ee.key!==void 0&&(fe=""+Ee.key),xe.type&&xe.type.defaultProps)var Me=xe.type.defaultProps;for(ze in Ee)X.call(Ee,ze)&&!ee.hasOwnProperty(ze)&&(we[ze]=Ee[ze]===void 0&&Me!==void 0?Me[ze]:Ee[ze])}var ze=arguments.length-2;if(ze===1)we.children=Le;else if(1<ze){Me=Array(ze);for(var Ue=0;Ue<ze;Ue++)Me[Ue]=arguments[Ue+2];we.children=Me}return{$$typeof:m,type:xe.type,key:fe,ref:pe,props:we,_owner:Ke}},R.createContext=function(xe,Ee){return Ee===void 0&&(Ee=null),xe={$$typeof:k,_calculateChangedBits:Ee,_currentValue:xe,_currentValue2:xe,_threadCount:0,Provider:null,Consumer:null},xe.Provider={$$typeof:C,_context:xe},xe.Consumer=xe},R.createElement=ie,R.createFactory=function(xe){var Ee=ie.bind(null,xe);return Ee.type=xe,Ee},R.createRef=function(){return{current:null}},R.forwardRef=function(xe){return{$$typeof:A,render:xe}},R.isValidElement=Q,R.lazy=function(xe){return{$$typeof:y,_payload:{_status:-1,_result:xe},_init:oe}},R.memo=function(xe,Ee){return{$$typeof:S,type:xe,compare:Ee===void 0?null:Ee}},R.useCallback=function(xe,Ee){return me().useCallback(xe,Ee)},R.useContext=function(xe,Ee){return me().useContext(xe,Ee)},R.useDebugValue=function(){},R.useEffect=function(xe,Ee){return me().useEffect(xe,Ee)},R.useImperativeHandle=function(xe,Ee,Le){return me().useImperativeHandle(xe,Ee,Le)},R.useLayoutEffect=function(xe,Ee){return me().useLayoutEffect(xe,Ee)},R.useMemo=function(xe,Ee){return me().useMemo(xe,Ee)},R.useReducer=function(xe,Ee,Le){return me().useReducer(xe,Ee,Le)},R.useRef=function(xe){return me().useRef(xe)},R.useState=function(xe){return me().useState(xe)},R.version="17.0.2"},vlGe:function(ce,R,l){"use strict";l.r(R),function(E,m){l.d(R,"Container",function(){return Ke}),l.d(R,"Contribution",function(){return Et}),l.d(R,"DefaultContributionProvider",function(){return He}),l.d(R,"GlobalContainer",function(){return Me}),l.d(R,"Module",function(){return ht}),l.d(R,"OptionSymbol",function(){return Le}),l.d(R,"Provider",function(){return Ue}),l.d(R,"Syringe",function(){return $}),l.d(R,"SyringeModule",function(){return Xe}),l.d(R,"Utils",function(){return X}),l.d(R,"contrib",function(){return lt}),l.d(R,"inject",function(){return xe}),l.d(R,"injectable",function(){return ge}),l.d(R,"named",function(){return Ee}),l.d(R,"register",function(){return ze}),l.d(R,"registerSideOption",function(){return we}),l.d(R,"singleton",function(){return me}),l.d(R,"transient",function(){return Z});var O=l("4cb6"),C=l.n(O);l.d(R,"decorate",function(){return O.decorate}),l.d(R,"optional",function(){return O.optional}),l.d(R,"postConstruct",function(){return O.postConstruct}),l.d(R,"unmanaged",function(){return O.unmanaged});function k(tt,mt){var xt=Object.keys(tt);if(Object.getOwnPropertySymbols){var Xt=Object.getOwnPropertySymbols(tt);mt&&(Xt=Xt.filter(function(vt){return Object.getOwnPropertyDescriptor(tt,vt).enumerable})),xt.push.apply(xt,Xt)}return xt}function A(tt){for(var mt=1;mt<arguments.length;mt++){var xt=arguments[mt]!=null?arguments[mt]:{};mt%2?k(Object(xt),!0).forEach(function(Xt){T(tt,Xt,xt[Xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(tt,Object.getOwnPropertyDescriptors(xt)):k(Object(xt)).forEach(function(Xt){Object.defineProperty(tt,Xt,Object.getOwnPropertyDescriptor(xt,Xt))})}return tt}function S(tt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(xt){return typeof xt}:S=function(xt){return xt&&typeof Symbol=="function"&&xt.constructor===Symbol&&xt!==Symbol.prototype?"symbol":typeof xt},S(tt)}function y(tt,mt){if(!(tt instanceof mt))throw new TypeError("Cannot call a class as a function")}function w(tt,mt){for(var xt=0;xt<mt.length;xt++){var Xt=mt[xt];Xt.enumerable=Xt.enumerable||!1,Xt.configurable=!0,"value"in Xt&&(Xt.writable=!0),Object.defineProperty(tt,Xt.key,Xt)}}function x(tt,mt,xt){return mt&&w(tt.prototype,mt),xt&&w(tt,xt),tt}function T(tt,mt,xt){return mt in tt?Object.defineProperty(tt,mt,{value:xt,enumerable:!0,configurable:!0,writable:!0}):tt[mt]=xt,tt}function j(tt){return D(tt)||N(tt)||F(tt)||U()}function D(tt){if(Array.isArray(tt))return B(tt)}function N(tt){if(typeof Symbol!="undefined"&&tt[Symbol.iterator]!=null||tt["@@iterator"]!=null)return Array.from(tt)}function F(tt,mt){if(!!tt){if(typeof tt=="string")return B(tt,mt);var xt=Object.prototype.toString.call(tt).slice(8,-1);if(xt==="Object"&&tt.constructor&&(xt=tt.constructor.name),xt==="Map"||xt==="Set")return Array.from(tt);if(xt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xt))return B(tt,mt)}}function B(tt,mt){(mt==null||mt>tt.length)&&(mt=tt.length);for(var xt=0,Xt=new Array(mt);xt<mt;xt++)Xt[xt]=tt[xt];return Xt}function U(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/*! *****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var J;(function(tt){(function(mt){var xt=typeof m=="object"?m:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),Xt=vt(tt);typeof xt.Reflect=="undefined"?xt.Reflect=tt:Xt=vt(xt.Reflect,Xt),mt(Xt);function vt(qe,Re){return function(Se,Ve){typeof qe[Se]!="function"&&Object.defineProperty(qe,Se,{configurable:!0,writable:!0,value:Ve}),Re&&Re(Se,Ve)}}})(function(mt){var xt=Object.prototype.hasOwnProperty,Xt=typeof Symbol=="function",vt=Xt&&typeof Symbol.toPrimitive!="undefined"?Symbol.toPrimitive:"@@toPrimitive",qe=Xt&&typeof Symbol.iterator!="undefined"?Symbol.iterator:"@@iterator",Re=typeof Object.create=="function",Se={__proto__:[]}instanceof Array,Ve=!Re&&!Se,Ge={create:Re?function(){return Gn(Object.create(null))}:Se?function(){return Gn({__proto__:null})}:function(){return Gn({})},has:Ve?function(ln,Xn){return xt.call(ln,Xn)}:function(ln,Xn){return Xn in ln},get:Ve?function(ln,Xn){return xt.call(ln,Xn)?ln[Xn]:void 0}:function(ln,Xn){return ln[Xn]}},_t=Object.getPrototypeOf(Function),bt=typeof E=="object"&&{npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}&&{npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.REFLECT_METADATA_USE_MAP_POLYFILL==="true",gt=!bt&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:Nn(),at=!bt&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:Zt(),ft=!bt&&typeof WeakMap=="function"?WeakMap:rr(),Fe=new ft;function Te(ln,Xn,Kn,fr){if(Wr(Kn)){if(!H(ln))throw new TypeError;if(!nt(Xn))throw new TypeError;return Dt(ln,Xn)}else{if(!H(ln))throw new TypeError;if(!gr(Xn))throw new TypeError;if(!gr(fr)&&!Wr(fr)&&!br(fr))throw new TypeError;return br(fr)&&(fr=void 0),Kn=Bt(Kn),Qt(ln,Xn,Kn,fr)}}mt("decorate",Te);function ut(ln,Xn){function Kn(fr,Hn){if(!gr(fr))throw new TypeError;if(!Wr(Hn)&&!Ct(Hn))throw new TypeError;Bn(ln,Xn,fr,Hn)}return Kn}mt("metadata",ut);function le(ln,Xn,Kn,fr){if(!gr(Kn))throw new TypeError;return Wr(fr)||(fr=Bt(fr)),Bn(ln,Xn,Kn,fr)}mt("defineMetadata",le);function $e(ln,Xn,Kn){if(!gr(Xn))throw new TypeError;return Wr(Kn)||(Kn=Bt(Kn)),$n(ln,Xn,Kn)}mt("hasMetadata",$e);function Qe(ln,Xn,Kn){if(!gr(Xn))throw new TypeError;return Wr(Kn)||(Kn=Bt(Kn)),hn(ln,Xn,Kn)}mt("hasOwnMetadata",Qe);function Tt(ln,Xn,Kn){if(!gr(Xn))throw new TypeError;return Wr(Kn)||(Kn=Bt(Kn)),_n(ln,Xn,Kn)}mt("getMetadata",Tt);function Ot(ln,Xn,Kn){if(!gr(Xn))throw new TypeError;return Wr(Kn)||(Kn=Bt(Kn)),bn(ln,Xn,Kn)}mt("getOwnMetadata",Ot);function Ut(ln,Xn){if(!gr(ln))throw new TypeError;return Wr(Xn)||(Xn=Bt(Xn)),Tn(ln,Xn)}mt("getMetadataKeys",Ut);function At(ln,Xn){if(!gr(ln))throw new TypeError;return Wr(Xn)||(Xn=Bt(Xn)),Tr(ln,Xn)}mt("getOwnMetadataKeys",At);function Pt(ln,Xn,Kn){if(!gr(Xn))throw new TypeError;Wr(Kn)||(Kn=Bt(Kn));var fr=cn(Xn,Kn,!1);if(Wr(fr)||!fr.delete(ln))return!1;if(fr.size>0)return!0;var Hn=Fe.get(Xn);return Hn.delete(Kn),Hn.size>0||Fe.delete(Xn),!0}mt("deleteMetadata",Pt);function Dt(ln,Xn){for(var Kn=ln.length-1;Kn>=0;--Kn){var fr=ln[Kn],Hn=fr(Xn);if(!Wr(Hn)&&!br(Hn)){if(!nt(Hn))throw new TypeError;Xn=Hn}}return Xn}function Qt(ln,Xn,Kn,fr){for(var Hn=ln.length-1;Hn>=0;--Hn){var Sa=ln[Hn],Lr=Sa(Xn,Kn,fr);if(!Wr(Lr)&&!br(Lr)){if(!gr(Lr))throw new TypeError;fr=Lr}}return fr}function cn(ln,Xn,Kn){var fr=Fe.get(ln);if(Wr(fr)){if(!Kn)return;fr=new gt,Fe.set(ln,fr)}var Hn=fr.get(Xn);if(Wr(Hn)){if(!Kn)return;Hn=new gt,fr.set(Xn,Hn)}return Hn}function $n(ln,Xn,Kn){var fr=hn(ln,Xn,Kn);if(fr)return!0;var Hn=Yn(Xn);return br(Hn)?!1:$n(ln,Hn,Kn)}function hn(ln,Xn,Kn){var fr=cn(Xn,Kn,!1);return Wr(fr)?!1:un(fr.has(ln))}function _n(ln,Xn,Kn){var fr=hn(ln,Xn,Kn);if(fr)return bn(ln,Xn,Kn);var Hn=Yn(Xn);if(!br(Hn))return _n(ln,Hn,Kn)}function bn(ln,Xn,Kn){var fr=cn(Xn,Kn,!1);if(!Wr(fr))return fr.get(ln)}function Bn(ln,Xn,Kn,fr){var Hn=cn(Kn,fr,!0);Hn.set(ln,Xn)}function Tn(ln,Xn){var Kn=Tr(ln,Xn),fr=Yn(ln);if(fr===null)return Kn;var Hn=Tn(fr,Xn);if(Hn.length<=0)return Kn;if(Kn.length<=0)return Hn;for(var Sa=new at,Lr=[],Ca=0,za=Kn;Ca<za.length;Ca++){var Ma=za[Ca],va=Sa.has(Ma);va||(Sa.add(Ma),Lr.push(Ma))}for(var qa=0,gi=Hn;qa<gi.length;qa++){var Ma=gi[qa],va=Sa.has(Ma);va||(Sa.add(Ma),Lr.push(Ma))}return Lr}function Tr(ln,Xn){var Kn=[],fr=cn(ln,Xn,!1);if(Wr(fr))return Kn;for(var Hn=fr.keys(),Sa=kn(Hn),Lr=0;;){var Ca=Zn(Sa);if(!Ca)return Kn.length=Lr,Kn;var za=Sn(Ca);try{Kn[Lr]=za}catch(Ma){try{Or(Sa)}finally{throw Ma}}Lr++}}function Sr(ln){if(ln===null)return 1;switch(typeof ln){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return ln===null?1:6;default:return 6}}function Wr(ln){return ln===void 0}function br(ln){return ln===null}function Wn(ln){return typeof ln=="symbol"}function gr(ln){return typeof ln=="object"?ln!==null:typeof ln=="function"}function na(ln,Xn){switch(Sr(ln)){case 0:return ln;case 1:return ln;case 2:return ln;case 3:return ln;case 4:return ln;case 5:return ln}var Kn=Xn===3?"string":Xn===5?"number":"default",fr=Wt(ln,vt);if(fr!==void 0){var Hn=fr.call(ln,Kn);if(gr(Hn))throw new TypeError;return Hn}return jn(ln,Kn==="default"?"number":Kn)}function jn(ln,Xn){if(Xn==="string"){var Kn=ln.toString;if(ot(Kn)){var fr=Kn.call(ln);if(!gr(fr))return fr}var Hn=ln.valueOf;if(ot(Hn)){var fr=Hn.call(ln);if(!gr(fr))return fr}}else{var Hn=ln.valueOf;if(ot(Hn)){var fr=Hn.call(ln);if(!gr(fr))return fr}var Sa=ln.toString;if(ot(Sa)){var fr=Sa.call(ln);if(!gr(fr))return fr}}throw new TypeError}function un(ln){return!!ln}function zt(ln){return""+ln}function Bt(ln){var Xn=na(ln,3);return Wn(Xn)?Xn:zt(Xn)}function H(ln){return Array.isArray?Array.isArray(ln):ln instanceof Object?ln instanceof Array:Object.prototype.toString.call(ln)==="[object Array]"}function ot(ln){return typeof ln=="function"}function nt(ln){return typeof ln=="function"}function Ct(ln){switch(Sr(ln)){case 3:return!0;case 4:return!0;default:return!1}}function Wt(ln,Xn){var Kn=ln[Xn];if(Kn!=null){if(!ot(Kn))throw new TypeError;return Kn}}function kn(ln){var Xn=Wt(ln,qe);if(!ot(Xn))throw new TypeError;var Kn=Xn.call(ln);if(!gr(Kn))throw new TypeError;return Kn}function Sn(ln){return ln.value}function Zn(ln){var Xn=ln.next();return Xn.done?!1:Xn}function Or(ln){var Xn=ln.return;Xn&&Xn.call(ln)}function Yn(ln){var Xn=Object.getPrototypeOf(ln);if(typeof ln!="function"||ln===_t||Xn!==_t)return Xn;var Kn=ln.prototype,fr=Kn&&Object.getPrototypeOf(Kn);if(fr==null||fr===Object.prototype)return Xn;var Hn=fr.constructor;return typeof Hn!="function"||Hn===ln?Xn:Hn}function Nn(){var ln={},Xn=[],Kn=function(){function Lr(Ca,za,Ma){this._index=0,this._keys=Ca,this._values=za,this._selector=Ma}return Lr.prototype["@@iterator"]=function(){return this},Lr.prototype[qe]=function(){return this},Lr.prototype.next=function(){var Ca=this._index;if(Ca>=0&&Ca<this._keys.length){var za=this._selector(this._keys[Ca],this._values[Ca]);return Ca+1>=this._keys.length?(this._index=-1,this._keys=Xn,this._values=Xn):this._index++,{value:za,done:!1}}return{value:void 0,done:!0}},Lr.prototype.throw=function(Ca){throw this._index>=0&&(this._index=-1,this._keys=Xn,this._values=Xn),Ca},Lr.prototype.return=function(Ca){return this._index>=0&&(this._index=-1,this._keys=Xn,this._values=Xn),{value:Ca,done:!0}},Lr}();return function(){function Lr(){this._keys=[],this._values=[],this._cacheKey=ln,this._cacheIndex=-2}return Object.defineProperty(Lr.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Lr.prototype.has=function(Ca){return this._find(Ca,!1)>=0},Lr.prototype.get=function(Ca){var za=this._find(Ca,!1);return za>=0?this._values[za]:void 0},Lr.prototype.set=function(Ca,za){var Ma=this._find(Ca,!0);return this._values[Ma]=za,this},Lr.prototype.delete=function(Ca){var za=this._find(Ca,!1);if(za>=0){for(var Ma=this._keys.length,va=za+1;va<Ma;va++)this._keys[va-1]=this._keys[va],this._values[va-1]=this._values[va];return this._keys.length--,this._values.length--,Ca===this._cacheKey&&(this._cacheKey=ln,this._cacheIndex=-2),!0}return!1},Lr.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=ln,this._cacheIndex=-2},Lr.prototype.keys=function(){return new Kn(this._keys,this._values,fr)},Lr.prototype.values=function(){return new Kn(this._keys,this._values,Hn)},Lr.prototype.entries=function(){return new Kn(this._keys,this._values,Sa)},Lr.prototype["@@iterator"]=function(){return this.entries()},Lr.prototype[qe]=function(){return this.entries()},Lr.prototype._find=function(Ca,za){return this._cacheKey!==Ca&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=Ca)),this._cacheIndex<0&&za&&(this._cacheIndex=this._keys.length,this._keys.push(Ca),this._values.push(void 0)),this._cacheIndex},Lr}();function fr(Lr,Ca){return Lr}function Hn(Lr,Ca){return Ca}function Sa(Lr,Ca){return[Lr,Ca]}}function Zt(){return function(){function ln(){this._map=new gt}return Object.defineProperty(ln.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),ln.prototype.has=function(Xn){return this._map.has(Xn)},ln.prototype.add=function(Xn){return this._map.set(Xn,Xn),this},ln.prototype.delete=function(Xn){return this._map.delete(Xn)},ln.prototype.clear=function(){this._map.clear()},ln.prototype.keys=function(){return this._map.keys()},ln.prototype.values=function(){return this._map.values()},ln.prototype.entries=function(){return this._map.entries()},ln.prototype["@@iterator"]=function(){return this.keys()},ln.prototype[qe]=function(){return this.keys()},ln}()}function rr(){var ln=16,Xn=Ge.create(),Kn=fr();return function(){function za(){this._key=fr()}return za.prototype.has=function(Ma){var va=Hn(Ma,!1);return va!==void 0?Ge.has(va,this._key):!1},za.prototype.get=function(Ma){var va=Hn(Ma,!1);return va!==void 0?Ge.get(va,this._key):void 0},za.prototype.set=function(Ma,va){var qa=Hn(Ma,!0);return qa[this._key]=va,this},za.prototype.delete=function(Ma){var va=Hn(Ma,!1);return va!==void 0?delete va[this._key]:!1},za.prototype.clear=function(){this._key=fr()},za}();function fr(){var za;do za="@@WeakMap@@"+Ca();while(Ge.has(Xn,za));return Xn[za]=!0,za}function Hn(za,Ma){if(!xt.call(za,Kn)){if(!Ma)return;Object.defineProperty(za,Kn,{value:Ge.create()})}return za[Kn]}function Sa(za,Ma){for(var va=0;va<Ma;++va)za[va]=Math.random()*255|0;return za}function Lr(za){return typeof Uint8Array=="function"?typeof crypto!="undefined"?crypto.getRandomValues(new Uint8Array(za)):typeof msCrypto!="undefined"?msCrypto.getRandomValues(new Uint8Array(za)):Sa(new Uint8Array(za),za):Sa(new Array(za),za)}function Ca(){var za=Lr(ln);za[6]=za[6]&79|64,za[8]=za[8]&191|128;for(var Ma="",va=0;va<ln;++va){var qa=za[va];(va===4||va===6||va===8)&&(Ma+="-"),qa<16&&(Ma+="0"),Ma+=qa.toString(16).toLowerCase()}return Ma}}function Gn(ln){return ln.__=void 0,delete ln.__,ln}})})(J||(J={}));var $;(function(tt){tt.defineToken=function(vt){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{multiple:!0};return new tt.DefinedToken(vt,qe)};var mt=function vt(qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y(this,vt),this.prototype={},this.name=void 0,this.multiple=void 0,this.symbol=void 0;var Se=Re.multiple,Ve=Se===void 0?!1:Se;this.name=qe,this.symbol=Symbol(this.name),this.multiple=Ve};tt.DefinedToken=mt;function xt(vt){return!!vt&&S(vt)==="object"&&"id"in vt&&"registry"in vt}tt.isModule=xt;var Xt;(function(vt){vt.singleton="singleton",vt.transient="transient"})(Xt=tt.Lifecycle||(tt.Lifecycle={})),tt.ClassOptionSymbol=Symbol("SyringeClassOptionSymbol"),tt.DefaultOption={lifecycle:Xt.transient}})($||($={}));var X;(function(tt){function mt(Se){return Se instanceof Array?Se:Se!==void 0?[Se]:[]}tt.maybeArrayToArray=mt;function xt(Se){return!!(Se&&typeof Se=="function"&&"prototype"in Se)}tt.isClass=xt;function Xt(Se){return!!(Se&&S(Se)==="object"&&"symbol"in Se&&"multiple"in Se)}tt.isDefinedToken=Xt;function vt(Se){return!!(Se&&S(Se)==="object"&&"token"in Se)}tt.isInjectOption=vt;function qe(Se){return!!(Se&&S(Se)==="object"&&"token"in Se&&"named"in Se)}tt.isNamedToken=qe;function Re(Se){return tt.isDefinedToken(Se)&&Se.multiple}tt.isMultipleEnabled=Re})(X||(X={}));function ee(tt){return tt.inSingletonScope()}function ie(tt){return tt.inTransientScope()}function G(tt,mt){return mt.lifecycle===$.Lifecycle.singleton?ee(tt):ie(tt)}function Q(tt,mt){tt.whenTargetNamed(_e(mt))}function W(tt,mt){return mt.container.bind(he(tt))}function ne(tt,mt){var xt=mt.container.parent,Xt=xt&&xt.isBound(he(tt));return mt.container.isBound(he(tt))&&!Xt?mt.container.rebind(he(tt)):mt.container.bind(he(tt))}function te(tt){return tt&&S(tt)==="object"&&"container"in tt&&"inversify"in tt}function _e(tt){return X.isDefinedToken(tt)?tt.symbol:tt}function he(tt){return X.isDefinedToken(tt)?tt.symbol:tt}var oe=new O.Container;function ge(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},mt=Object(O.injectable)();return function(xt){Reflect.defineMetadata($.ClassOptionSymbol,A(A({},tt),{},{target:xt}),xt),mt(xt)}}function me(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ge(A(A({},tt),{},{lifecycle:$.Lifecycle.singleton}))}function Z(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ge(A(A({},tt),{},{lifecycle:$.Lifecycle.transient}))}function xe(tt){return Object(O.inject)(he(tt))}function Ee(tt){return Object(O.named)(_e(tt))}var Le=Symbol("SyringeOptionSymbol"),we=function(mt,xt){Reflect.defineMetadata(Le,mt,xt)};function fe(tt){var mt=X.maybeArrayToArray(tt.token),xt=X.maybeArrayToArray(tt.useClass),Xt=X.maybeArrayToArray(tt.useDynamic),vt=X.maybeArrayToArray(tt.useFactory),qe=X.maybeArrayToArray(tt.contrib),Re=tt.lifecycle||$.Lifecycle.transient,Se={token:mt,useClass:xt,lifecycle:qe.length>0?$.Lifecycle.singleton:Re,contrib:qe,useDynamic:Xt,useFactory:vt};return"useValue"in tt&&(Se.useValue=tt.useValue),Se}var pe=function(){function tt(mt,xt,Xt){y(this,tt),this.token=void 0,this.rawToken=void 0,this.named=void 0,this.generalToken=void 0,this.option=void 0,this.context=void 0,this.mutiple=void 0,this.context=mt,this.token=xt,this.option=Xt,this.rawToken=X.isNamedToken(xt)?xt.token:xt,this.named=X.isNamedToken(xt)?xt.named:void 0,this.mutiple=!!this.named||X.isMultipleEnabled(this.rawToken),this.generalToken=this.rawToken}return x(tt,[{key:"resolve",value:function(){var xt=this,Xt=this.context;!te(Xt)||(this.mutiple?this.resolveMutilple(Xt):(this.resolveMono(Xt),!this.named&&this.option.contrib.length>0&&this.option.contrib.forEach(function(vt){X.isMultipleEnabled(vt)?W(vt,Xt).toService(xt.generalToken):ne(vt,Xt).toService(xt.generalToken)})))}},{key:"resolveMono",value:function(xt){var Xt=this;if("useValue"in this.option)return ne(this.generalToken,xt).toConstantValue(this.option.useValue);if(this.option.useDynamic.length>0){var vt=this.option.useDynamic[this.option.useDynamic.length-1];return G(ne(this.generalToken,xt).toDynamicValue(function(){return vt({container:Xt.context})}),this.option)}if(this.option.useFactory.length>0){var qe=this.option.useFactory[this.option.useFactory.length-1];return ne(this.generalToken,xt).toFactory(function(){return qe({container:Xt.context})})}if(this.option.useClass.length>0){var Re=this.option.useClass[this.option.useClass.length-1];return G(ne(this.generalToken,xt).to(Re),this.option)}}},{key:"resolveMutilple",value:function(xt){var Xt=this,vt=this.option.useClass.map(function(Ve){return G(W(Xt.generalToken,xt).to(Ve),Xt.option)}),qe=this.option.useDynamic.map(function(Ve){return G(W(Xt.generalToken,xt).toDynamicValue(function(){return Ve({container:Xt.context})}),Xt.option)}),Re=this.option.useFactory.map(function(Ve){return W(Xt.generalToken,xt).toFactory(function(){return Ve({container:Xt.context})})}),Se="useValue"in this.option?W(this.generalToken,xt).toConstantValue(this.option.useValue):void 0;this.named&&(vt.forEach(function(Ve){return Xt.named&&Q(Ve,Xt.named)}),qe.forEach(function(Ve){return Xt.named&&Q(Ve,Xt.named)}),Re.forEach(function(Ve){return Xt.named&&Q(Ve,Xt.named)}),Se&&Q(Se,this.named))}}],[{key:"resolveTarget",value:function(xt,Xt){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};try{try{var qe=Reflect.getMetadata(Le,Xt);qe&&tt.resolveOption(xt,qe)}catch(Ge){}if(X.isClass(Xt))if(!vt.useClass)vt.useClass=[Xt];else{var Re=X.maybeArrayToArray(vt.useClass);Re.unshift(Xt),vt.useClass=Re}var Se;try{Se=Reflect.getMetadata($.ClassOptionSymbol,Xt)}catch(Ge){}if(Se=A(A({},Se||{}),vt),!Se.token)Se.token=[Xt];else{var Ve=X.maybeArrayToArray(Se.token);Ve.unshift(Xt),Se.token=Ve}tt.resolveOption(xt,Se)}catch(Ge){}}},{key:"resolveOption",value:function(xt,Xt){var vt=fe(A(A({},tt.globalConfig),Xt));vt.useClass.length===0&&vt.useDynamic.length===0&&vt.useFactory.length===0&&!("useValue"in vt)||vt.token.forEach(function(qe){var Re=new tt(xt,qe,A({},vt));Re.resolve()})}}]),tt}();pe.globalConfig=$.DefaultOption;var Ke=function(){function tt(mt){y(this,tt),this.loadedModules=[],this.container=void 0,this.inversify=!0,this.parent=void 0,mt?this.container=mt:this.container=new O.Container}return x(tt,[{key:"load",value:function(xt,Xt){(Xt||!this.loadedModules.includes(xt.id))&&(xt.registry(this.register.bind(this),this.resolveContext()),this.loadedModules.push(xt.id))}},{key:"remove",value:function(xt){return this.container.unbind(he(xt))}},{key:"get",value:function(xt){return this.container.get(he(xt))}},{key:"getNamed",value:function(xt,Xt){return this.container.getNamed(he(xt),_e(Xt))}},{key:"getAll",value:function(xt){return this.container.getAll(he(xt))}},{key:"getAllNamed",value:function(xt,Xt){return this.container.getAllNamed(he(xt),_e(Xt))}},{key:"isBound",value:function(xt){return this.container.isBound(he(xt))}},{key:"isBoundNamed",value:function(xt,Xt){return this.container.isBoundNamed(he(xt),_e(Xt))}},{key:"createChild",value:function(){var xt=this.container.createChild(),Xt=new tt(xt);return Xt.parent=this,Xt}},{key:"register",value:function(xt){var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.isInjectOption(xt)?pe.resolveOption(this,xt):pe.resolveTarget(this,xt,Xt)}},{key:"resolveContext",value:function(){return{container:this}}}],[{key:"config",value:function(xt){pe.globalConfig=xt}}]),tt}(),Me=new Ke(oe),ze=Me.register.bind(Me),Ue=$.defineToken("ContributionProvider"),He=function(){function tt(mt,xt,Xt){y(this,tt),this.option={recursive:!1,cache:!0},this.services=void 0,this.serviceIdentifier=void 0,this.container=void 0,this.container=xt,this.serviceIdentifier=mt,Xt&&(this.option=A(A({},this.option),Xt))}return x(tt,[{key:"setServices",value:function(xt){for(var Xt=[],vt=this.container;vt;){if(vt.isBound(this.serviceIdentifier)){var qe=vt.getAll(this.serviceIdentifier);Xt.push.apply(Xt,j(qe))}vt=xt?vt.parent:void 0}return Xt}},{key:"getContributions",value:function(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Xt=A(A({},this.option),xt),vt=Xt.cache,qe=Xt.recursive;return(!vt||this.services===void 0)&&(this.services=this.setServices(!!qe)),this.services}}]),tt}();function Ne(tt,mt){return{token:{token:Ue,named:tt},useDynamic:function(Xt){return new He(tt,Xt.container,mt)},lifecycle:$.Lifecycle.singleton}}function it(tt,mt,xt){tt({token:{token:Ue,named:mt},useDynamic:function(vt){return new He(mt,vt.container,xt)},lifecycle:$.Lifecycle.singleton})}var Xe=function(){function tt(mt){y(this,tt),this.id=void 0,this.baseRegistry=void 0,this.optionCollection=void 0,tt.moduleId+=1,this.id=tt.moduleId,this.baseRegistry=mt}return x(tt,[{key:"registry",get:function(){var xt=this;return function(Xt,vt){xt.baseRegistry&&xt.baseRegistry(Xt,vt),xt.optionCollection&&xt.optionCollection.forEach(function(qe){return Xt(qe)})}}},{key:"options",get:function(){return this.optionCollection||(this.optionCollection=[]),this.optionCollection}},{key:"register",value:function(){for(var xt=this,Xt=arguments.length,vt=new Array(Xt),qe=0;qe<Xt;qe++)vt[qe]=arguments[qe];return vt.forEach(function(Re){return xt.options.push(Re)}),this}},{key:"contribution",value:function(){for(var xt=this,Xt=arguments.length,vt=new Array(Xt),qe=0;qe<Xt;qe++)vt[qe]=arguments[qe];return vt.forEach(function(Re){return xt.options.push(Ne(Re))}),this}}]),tt}();Xe.moduleId=0;function ht(tt){return new Xe(tt)}var lt=function(mt){return function(xt,Xt,vt){Ee(mt)(xt,Xt,vt),xe(Ue)(xt,Xt,vt)}},Et;(function(tt){tt.Provider=Ue,tt.register=it})(Et||(Et={}))}.call(this,l("Q2Ig"),l("IyRk"))},vmBS:function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.generate=F,R.getSecondaryColor=B,R.iconStyles=void 0,R.isIconDefinition=D,R.normalizeAttrs=N,R.normalizeTwoToneColors=U,R.useInsertStyles=R.svgBaseProps=void 0,R.warning=j;var O=E(l("3tO9")),C=E(l("cDf5")),k=l("u3cA"),A=T(l("q1tI")),S=E(l("sNrH")),y=l("k9cD"),w=E(l("Bgsj"));function x(ee){if(typeof WeakMap!="function")return null;var ie=new WeakMap,G=new WeakMap;return(x=function(W){return W?G:ie})(ee)}function T(ee,ie){if(!ie&&ee&&ee.__esModule)return ee;if(ee===null||m(ee)!=="object"&&typeof ee!="function")return{default:ee};var G=x(ie);if(G&&G.has(ee))return G.get(ee);var Q={},W=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ne in ee)if(ne!=="default"&&Object.prototype.hasOwnProperty.call(ee,ne)){var te=W?Object.getOwnPropertyDescriptor(ee,ne):null;te&&(te.get||te.set)?Object.defineProperty(Q,ne,te):Q[ne]=ee[ne]}return Q.default=ee,G&&G.set(ee,Q),Q}function j(ee,ie){(0,S.default)(ee,"[@ant-design/icons] ".concat(ie))}function D(ee){return(0,C.default)(ee)==="object"&&typeof ee.name=="string"&&typeof ee.theme=="string"&&((0,C.default)(ee.icon)==="object"||typeof ee.icon=="function")}function N(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(ee).reduce(function(ie,G){var Q=ee[G];switch(G){case"class":ie.className=Q,delete ie.class;break;default:ie[G]=Q}return ie},{})}function F(ee,ie,G){return G?A.default.createElement(ee.tag,(0,O.default)((0,O.default)({key:ie},N(ee.attrs)),G),(ee.children||[]).map(function(Q,W){return F(Q,"".concat(ie,"-").concat(ee.tag,"-").concat(W))})):A.default.createElement(ee.tag,(0,O.default)({key:ie},N(ee.attrs)),(ee.children||[]).map(function(Q,W){return F(Q,"".concat(ie,"-").concat(ee.tag,"-").concat(W))}))}function B(ee){return(0,k.generate)(ee)[0]}function U(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}var J={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};R.svgBaseProps=J;var $=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`;R.iconStyles=$;var X=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$,G=(0,A.useContext)(w.default),Q=G.csp;(0,A.useEffect)(function(){(0,y.updateCSS)(ie,"@ant-design-icons",{prepend:!0,csp:Q})},[])};R.useInsertStyles=X},vnQr:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("9RRT").left,O=l("R8iy"),C=l("kGMc"),k=O("reduce"),A=C("reduce",{1:0});E({target:"Array",proto:!0,forced:!k||!A},{reduce:function(y){return m(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}})},vpQ4:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("rePB");function m(O){for(var C=1;C<arguments.length;C++){var k=arguments[C]!=null?Object(arguments[C]):{},A=Object.keys(k);typeof Object.getOwnPropertySymbols=="function"&&A.push.apply(A,Object.getOwnPropertySymbols(k).filter(function(S){return Object.getOwnPropertyDescriptor(k,S).enumerable})),A.forEach(function(S){Object(E.a)(O,S,k[S])})}return O}},vrUN:function(ce,R,l){"use strict";l.r(R);var E={};l.r(E),l.d(E,"isArray",function(){return zv}),l.d(E,"isArrayLike",function(){return k0}),l.d(E,"uniq",function(){return uK}),l.d(E,"union",function(){return qR}),l.d(E,"sortedIndex",function(){return OK}),l.d(E,"sortedIndexBy",function(){return CY}),l.d(E,"sortBy",function(){return RY}),l.d(E,"groupBy",function(){return u8}),l.d(E,"difference",function(){return d8}),l.d(E,"max",function(){return v8}),l.d(E,"diff",function(){return h8});var m={};l.r(m),l.d(m,"has",function(){return M1}),l.d(m,"pick",function(){return XY}),l.d(m,"forIn",function(){return rX}),l.d(m,"merge",function(){return dX}),l.d(m,"extend",function(){return L8}),l.d(m,"isEqual",function(){return pX}),l.d(m,"isEmpty",function(){return hX}),l.d(m,"isObject",function(){return rh}),l.d(m,"isPlainObject",function(){return JD}),l.d(m,"clone",function(){return oI}),l.d(m,"cloneDeep",function(){return oJ}),l.d(m,"defaults",function(){return qA}),l.d(m,"defaultsDeep",function(){return SS}),l.d(m,"applyMixins",function(){return cI}),l.d(m,"inherit",function(){return uI}),l.d(m,"createClass",function(){return dJ}),l.d(m,"ensure",function(){return p7}),l.d(m,"getValue",function(){return dI}),l.d(m,"getNumber",function(){return v7}),l.d(m,"getBoolean",function(){return fJ}),l.d(m,"isMaliciousProp",function(){return fI}),l.d(m,"getByPath",function(){return EC}),l.d(m,"setByPath",function(){return pJ}),l.d(m,"unsetByPath",function(){return vJ}),l.d(m,"flatten",function(){return h7});var O={};l.r(O),l.d(O,"isString",function(){return gJ}),l.d(O,"toString",function(){return Hv}),l.d(O,"escape",function(){return pI}),l.d(O,"unescape",function(){return vI}),l.d(O,"startsWith",function(){return F0}),l.d(O,"endsWith",function(){return kJ}),l.d(O,"split",function(){return ZJ}),l.d(O,"repeat",function(){return G7}),l.d(O,"pad",function(){return oZ}),l.d(O,"padEnd",function(){return Z7}),l.d(O,"padStart",function(){return cZ}),l.d(O,"truncate",function(){return eU}),l.d(O,"template",function(){return dU}),l.d(O,"uniqueId",function(){return vU}),l.d(O,"eval",function(){return hU}),l.d(O,"lowerFirst",function(){return LU}),l.d(O,"upperFirst",function(){return NS}),l.d(O,"camelCase",function(){return V1}),l.d(O,"kebabCase",function(){return WI}),l.d(O,"pascalCase",function(){return dQ}),l.d(O,"constantCase",function(){return FU}),l.d(O,"dotCase",function(){return fQ}),l.d(O,"pathCase",function(){return pQ}),l.d(O,"sentenceCase",function(){return vQ}),l.d(O,"titleCase",function(){return UU}),l.d(O,"hashcode",function(){return KI}),l.d(O,"uuid",function(){return hQ}),l.d(O,"sanitizeHTML",function(){return gQ}),l.d(O,"getSpellingSuggestion",function(){return mQ});var C={};l.r(C),l.d(C,"isNaN",function(){return VU}),l.d(C,"isNumber",function(){return yk}),l.d(C,"isFinite",function(){return OQ}),l.d(C,"isInteger",function(){return GU}),l.d(C,"isSafeInteger",function(){return bk}),l.d(C,"clamp",function(){return FS}),l.d(C,"inRange",function(){return Ok}),l.d(C,"toFinite",function(){return TS}),l.d(C,"toNumber",function(){return Qy}),l.d(C,"toInteger",function(){return $m}),l.d(C,"toSafeInteger",function(){return kQ}),l.d(C,"parseInt",function(){return BS}),l.d(C,"isNumeric",function(){return m6}),l.d(C,"mod",function(){return VS}),l.d(C,"random",function(){return H1}),l.d(C,"isPercentage",function(){return xk}),l.d(C,"normalizePercentage",function(){return XI}),l.d(C,"parseCssNumeric",function(){return KU}),l.d(C,"normalizeSides",function(){return jQ});var k={};l.r(k),l.d(k,"isFunction",function(){return aA}),l.d(k,"once",function(){return PQ}),l.d(k,"noop",function(){return K6}),l.d(k,"debounce",function(){return QI}),l.d(k,"defer",function(){return qI}),l.d(k,"apply",function(){return Tk}),l.d(k,"call",function(){return NQ}),l.d(k,"cacher",function(){return FQ}),l.d(k,"isAsyncLike",function(){return QU}),l.d(k,"isAsync",function(){return Ak}),l.d(k,"toAsyncBoolean",function(){return qU}),l.d(k,"toDeferredBoolean",function(){return UQ});var A={};l.r(A),l.d(A,"annotate",function(){return lN}),l.d(A,"findAnnotationsAtIndex",function(){return BQ}),l.d(A,"findAnnotationsBetweenIndexes",function(){return VQ}),l.d(A,"shiftAnnotations",function(){return uN}),l.d(A,"sanitize",function(){return lB});var S={};l.r(S),l.d(S,"requestAnimationFrame",function(){return HQ}),l.d(S,"cancelAnimationFrame",function(){return GQ}),l.d(S,"CASE_SENSITIVE_ATTR",function(){return cB}),l.d(S,"getAttribute",function(){return $1}),l.d(S,"removeAttribute",function(){return iN}),l.d(S,"setAttribute",function(){return Lk}),l.d(S,"setAttributes",function(){return oN}),l.d(S,"attr",function(){return Mh}),l.d(S,"qualifyAttr",function(){return Fk}),l.d(S,"kebablizeAttrs",function(){return sN}),l.d(S,"styleToObject",function(){return DC}),l.d(S,"mergeAttrs",function(){return cN}),l.d(S,"uniqueId",function(){return tB}),l.d(S,"ensureId",function(){return nB}),l.d(S,"isSVGGraphicsElement",function(){return B0}),l.d(S,"ns",function(){return B_}),l.d(S,"svgVersion",function(){return GS}),l.d(S,"createElement",function(){return Mk}),l.d(S,"createElementNS",function(){return nN}),l.d(S,"createSvgElement",function(){return wg}),l.d(S,"createSvgDocument",function(){return $S}),l.d(S,"parseXML",function(){return rB}),l.d(S,"tagName",function(){return Pk}),l.d(S,"index",function(){return Rk}),l.d(S,"find",function(){return aB}),l.d(S,"findOne",function(){return iB}),l.d(S,"findParentByClass",function(){return Dk}),l.d(S,"contains",function(){return rN}),l.d(S,"remove",function(){return PC}),l.d(S,"empty",function(){return aN}),l.d(S,"append",function(){return G1}),l.d(S,"prepend",function(){return RC}),l.d(S,"before",function(){return Ik}),l.d(S,"appendTo",function(){return Nk}),l.d(S,"isHTMLElement",function(){return WS}),l.d(S,"clickable",function(){return oB}),l.d(S,"isInputElement",function(){return sB}),l.d(S,"getClass",function(){return tb}),l.d(S,"hasClass",function(){return kk}),l.d(S,"addClass",function(){return HS}),l.d(S,"removeClass",function(){return MC}),l.d(S,"toggleClass",function(){return jk}),l.d(S,"setPrefixedStyle",function(){return IC}),l.d(S,"getComputedStyle",function(){return NC}),l.d(S,"hasScrollbars",function(){return fB}),l.d(S,"getVendorPrefixedName",function(){return Vk}),l.d(S,"clearSelection",function(){return pB}),l.d(S,"text",function(){return gN}),l.d(S,"breakText",function(){return tq}),l.d(S,"KAPPA",function(){return Kk}),l.d(S,"sample",function(){return _N}),l.d(S,"lineToPathData",function(){return OB}),l.d(S,"polygonToPathData",function(){return CB}),l.d(S,"polylineToPathData",function(){return EB}),l.d(S,"getPointsFromSvgElement",function(){return JS}),l.d(S,"circleToPathData",function(){return SB}),l.d(S,"ellipseToPathData",function(){return wB}),l.d(S,"rectangleToPathData",function(){return TB}),l.d(S,"rectToPathData",function(){return AB}),l.d(S,"toPath",function(){return yN}),l.d(S,"toPathData",function(){return bN}),l.d(S,"createSlicePathData",function(){return ON}),l.d(S,"bbox",function(){return MB}),l.d(S,"getBBox",function(){return sb}),l.d(S,"getBBoxByElementAttr",function(){return cq}),l.d(S,"getMatrixByElementAttr",function(){return PB}),l.d(S,"getTransformToElement",function(){return G0}),l.d(S,"toLocalPoint",function(){return cb}),l.d(S,"toGeometryShape",function(){return FC}),l.d(S,"getIntersection",function(){return UC}),l.d(S,"animate",function(){return RB}),l.d(S,"animateTransform",function(){return DB}),l.d(S,"animateAlongPath",function(){return EN}),l.d(S,"getBoundingOffsetRect",function(){return LB}),l.d(S,"createSVGPoint",function(){return CN}),l.d(S,"createSVGMatrix",function(){return Om}),l.d(S,"createSVGTransform",function(){return ob}),l.d(S,"transformStringToMatrix",function(){return H0}),l.d(S,"matrixToTransformString",function(){return QS}),l.d(S,"parseTransformString",function(){return qS}),l.d(S,"decomposeMatrix",function(){return Xk}),l.d(S,"matrixToScale",function(){return aq}),l.d(S,"matrixToRotation",function(){return jB}),l.d(S,"matrixToTranslation",function(){return iq}),l.d(S,"transformPoint",function(){return Jk}),l.d(S,"transformLine",function(){return Zk}),l.d(S,"transformPolyline",function(){return oq}),l.d(S,"transformRectangle",function(){return Qk}),l.d(S,"transform",function(){return xN}),l.d(S,"translate",function(){return qk}),l.d(S,"rotate",function(){return SN}),l.d(S,"scale",function(){return ej}),l.d(S,"translateAndAutoOrient",function(){return wN}),l.d(S,"MouseWheelHandle",function(){return FB}),l.d(S,"isVector",function(){return UB}),l.d(S,"createVector",function(){return BB}),l.d(S,"createVectors",function(){return TN});var y={};l.r(y),l.d(y,"block",function(){return Mq}),l.d(y,"classic",function(){return Pq}),l.d(y,"diamond",function(){return Dq}),l.d(y,"path",function(){return Iq}),l.d(y,"cross",function(){return Lq}),l.d(y,"async",function(){return Uq}),l.d(y,"circle",function(){return n2}),l.d(y,"circlePlus",function(){return lb}),l.d(y,"ellipse",function(){return Vq});var w={};l.r(w),l.d(w,"ref",function(){return $0}),l.d(w,"refX",function(){return nj}),l.d(w,"refY",function(){return MN}),l.d(w,"refDx",function(){return lq}),l.d(w,"refDy",function(){return PN}),l.d(w,"refWidth",function(){return zB}),l.d(w,"refHeight",function(){return RN}),l.d(w,"refRx",function(){return uq}),l.d(w,"refRy",function(){return HB}),l.d(w,"refRInscribed",function(){return rj}),l.d(w,"refRCircumscribed",function(){return dq}),l.d(w,"refCx",function(){return fq}),l.d(w,"refCy",function(){return DN}),l.d(w,"refDResetOffset",function(){return aj}),l.d(w,"refDKeepOffset",function(){return GB}),l.d(w,"refPointsResetOffset",function(){return IN}),l.d(w,"refPointsKeepOffset",function(){return pq}),l.d(w,"refR",function(){return $B}),l.d(w,"refD",function(){return vq}),l.d(w,"refPoints",function(){return ij}),l.d(w,"refX2",function(){return WB}),l.d(w,"refY2",function(){return NN}),l.d(w,"refWidth2",function(){return KB}),l.d(w,"refHeight2",function(){return YB}),l.d(w,"fill",function(){return hq}),l.d(w,"stroke",function(){return gq}),l.d(w,"text",function(){return QB}),l.d(w,"textWrap",function(){return mq}),l.d(w,"lineHeight",function(){return _q}),l.d(w,"textVerticalAnchor",function(){return qB}),l.d(w,"textPath",function(){return yq}),l.d(w,"annotations",function(){return bq}),l.d(w,"eol",function(){return Oq}),l.d(w,"displayEmpty",function(){return Cq}),l.d(w,"title",function(){return Eq}),l.d(w,"xAlign",function(){return xq}),l.d(w,"yAlign",function(){return Sq}),l.d(w,"resetOffset",function(){return wq}),l.d(w,"style",function(){return Tq}),l.d(w,"html",function(){return Aq}),l.d(w,"filter",function(){return kq}),l.d(w,"port",function(){return jq}),l.d(w,"sourceMarker",function(){return r9}),l.d(w,"targetMarker",function(){return Hq}),l.d(w,"vertexMarker",function(){return Gq}),l.d(w,"connection",function(){return a9}),l.d(w,"atConnectionLengthKeepGradient",function(){return i9}),l.d(w,"atConnectionLengthIgnoreGradient",function(){return Wq}),l.d(w,"atConnectionRatioKeepGradient",function(){return zC}),l.d(w,"atConnectionRatioIgnoreGradient",function(){return Kq}),l.d(w,"atConnectionLength",function(){return Yq}),l.d(w,"atConnectionRatio",function(){return Xq});var x={};l.r(x),l.d(x,"dot",function(){return Jq}),l.d(x,"fixedDot",function(){return Zq}),l.d(x,"mesh",function(){return Qq}),l.d(x,"doubleMesh",function(){return qq});var T={};l.r(T),l.d(T,"outline",function(){return o9}),l.d(T,"highlight",function(){return BN}),l.d(T,"blur",function(){return eee}),l.d(T,"dropShadow",function(){return tee}),l.d(T,"grayScale",function(){return VN}),l.d(T,"sepia",function(){return s9}),l.d(T,"saturate",function(){return zN}),l.d(T,"hueRotate",function(){return nee}),l.d(T,"invert",function(){return c9}),l.d(T,"brightness",function(){return ree}),l.d(T,"contrast",function(){return aee});var j={};l.r(j),l.d(j,"flipX",function(){return l9}),l.d(j,"flipY",function(){return u9}),l.d(j,"flipXY",function(){return d9}),l.d(j,"watermark",function(){return iee});var D={};l.r(D),l.d(D,"className",function(){return oee}),l.d(D,"opacity",function(){return see}),l.d(D,"stroke",function(){return cee});var N={};l.r(N),l.d(N,"absolute",function(){return lee}),l.d(N,"ellipse",function(){return uee}),l.d(N,"ellipseSpread",function(){return dee}),l.d(N,"line",function(){return v9}),l.d(N,"left",function(){return pee}),l.d(N,"right",function(){return vee}),l.d(N,"top",function(){return hee}),l.d(N,"bottom",function(){return gee});var F={};l.r(F),l.d(F,"manual",function(){return _ee}),l.d(F,"left",function(){return yee}),l.d(F,"right",function(){return bee}),l.d(F,"top",function(){return Oee}),l.d(F,"bottom",function(){return h9}),l.d(F,"outside",function(){return Cee}),l.d(F,"outsideOriented",function(){return Eee}),l.d(F,"inside",function(){return cj}),l.d(F,"insideOriented",function(){return xee}),l.d(F,"radial",function(){return See}),l.d(F,"radialOriented",function(){return wee});var B={};l.r(B),l.d(B,"noop",function(){return C9}),l.d(B,"pinRelative",function(){return jee}),l.d(B,"pinAbsolute",function(){return x9});var U={};l.r(U),l.d(U,"center",function(){return M9}),l.d(U,"top",function(){return Nee}),l.d(U,"bottom",function(){return Lee}),l.d(U,"left",function(){return Fee}),l.d(U,"right",function(){return Uee}),l.d(U,"topLeft",function(){return Bee}),l.d(U,"topRight",function(){return P9}),l.d(U,"bottomLeft",function(){return Vee}),l.d(U,"bottomRight",function(){return R9}),l.d(U,"orth",function(){return Hee}),l.d(U,"nodeCenter",function(){return I9}),l.d(U,"midSide",function(){return q0});var J={};l.r(J),l.d(J,"ratio",function(){return $ee}),l.d(J,"length",function(){return Wee}),l.d(J,"orth",function(){return Xee}),l.d(J,"closest",function(){return Kee});var $={};l.r($),l.d($,"bbox",function(){return Zee}),l.d($,"rect",function(){return L9}),l.d($,"boundary",function(){return F9}),l.d($,"anchor",function(){return B9});var X={};l.r(X),l.d(X,"normal",function(){return Pse}),l.d(X,"oneSide",function(){return V9}),l.d(X,"orth",function(){return d2}),l.d(X,"metro",function(){return Cm}),l.d(X,"manhattan",function(){return K9}),l.d(X,"er",function(){return ote}),l.d(X,"loop",function(){return rL});var ee={};l.r(ee),l.d(ee,"normal",function(){return ste}),l.d(ee,"loop",function(){return cte}),l.d(ee,"rounded",function(){return aL}),l.d(ee,"smooth",function(){return iL}),l.d(ee,"jumpover",function(){return lL});var ie={};l.r(ie),l.d(ie,"Attr",function(){return Wm}),l.d(ie,"Grid",function(){return X0}),l.d(ie,"Filter",function(){return K1}),l.d(ie,"Background",function(){return HC}),l.d(ie,"Highlighter",function(){return G_}),l.d(ie,"PortLayout",function(){return db}),l.d(ie,"PortLabelLayout",function(){return Y1}),l.d(ie,"NodeTool",function(){return pb}),l.d(ie,"EdgeTool",function(){return Z0}),l.d(ie,"Marker",function(){return Y0}),l.d(ie,"NodeAnchor",function(){return eO}),l.d(ie,"EdgeAnchor",function(){return tO}),l.d(ie,"ConnectionPoint",function(){return vb}),l.d(ie,"Router",function(){return ey}),l.d(ie,"Connector",function(){return mb}),l.d(ie,"ConnectionStrategy",function(){return Z1}),l.d(ie,"Registry",function(){return Jp}),l.d(ie,"create",function(){return ute});var G={};l.r(G),l.d(G,"Empty",function(){return iV}),l.d(G,"Rect",function(){return _te}),l.d(G,"HeaderedRect",function(){return yte}),l.d(G,"Circle",function(){return oV}),l.d(G,"Cylinder",function(){return bte}),l.d(G,"Ellipse",function(){return sV}),l.d(G,"Polygon",function(){return Cte}),l.d(G,"Polyline",function(){return Ete}),l.d(G,"Path",function(){return Ste}),l.d(G,"TextBlock",function(){return cV}),l.d(G,"Image",function(){return Tj}),l.d(G,"BorderedImage",function(){return h2}),l.d(G,"EmbeddedImage",function(){return Tte}),l.d(G,"InscribedImage",function(){return Ate}),l.d(G,"Edge",function(){return hL}),l.d(G,"ShadowEdge",function(){return kte}),l.d(G,"DoubleEdge",function(){return jte}),l.d(G,"HTML",function(){return Xm});var Q={};l.r(Q),l.d(Q,"AutoSave",function(){return ZC}),l.d(Q,"Clipboard",function(){return qg}),l.d(Q,"Halo",function(){return cO}),l.d(Q,"MiniMap",function(){return _L}),l.d(Q,"Scroller",function(){return b2}),l.d(Q,"Selection",function(){return jj}),l.d(Q,"Snapline",function(){return yL}),l.d(Q,"Transform",function(){return bL}),l.d(Q,"Knob",function(){return mL}),l.d(Q,"Dnd",function(){return QC}),l.d(Q,"Stencil",function(){return kL});var W={};l.r(W),l.d(W,"X6_NODE_PORTAL_NODE_VIEW",function(){return one}),l.d(W,"XFLOW_PREFIX_CLS",function(){return jL}),l.d(W,"MIN_ZOOM",function(){return ML}),l.d(W,"MAX_ZOOM",function(){return S2}),l.d(W,"XFLOW_DEFAULT_NODE",function(){return Lj}),l.d(W,"XFLOW_DEFAULT_GROUP_NODE",function(){return SV}),l.d(W,"XFLOW_DEFAULT_EDGE",function(){return bb}),l.d(W,"LOCAL_STORAGE_KEY",function(){return lO}),l.d(W,"DEFAULT_NODE_HEIGHT",function(){return wV}),l.d(W,"DEFAULT_NODE_WIDTH",function(){return TV}),l.d(W,"XFLOW_GROUP_DEFAULT_COLLAPSED_SIZE",function(){return PL});var ne={};l.r(ne),l.d(ne,"isModelExistUtil",function(){return p3}),l.d(ne,"getModelUtil",function(){return qp}),l.d(ne,"useModelValueUtil",function(){return sv}),l.d(ne,"GRAPH_ENABLE_MULTI_SELECT",function(){return oM}),l.d(ne,"GRAPH_FULLSCREEN",function(){return oy}),l.d(ne,"IS_NODE_SELECTED",function(){return sM}),l.d(ne,"IS_GROUP_SELECTED",function(){return z2}),l.d(ne,"IS_NORMAL_NODES_SELECTED",function(){return cM}),l.d(ne,"SELECTED_CELL",function(){return H2}),l.d(ne,"SELECTED_CELLS",function(){return Sb}),l.d(ne,"SELECTED_NODE",function(){return G2}),l.d(ne,"SELECTED_NODES",function(){return sy}),l.d(ne,"SELECTED_EDGES",function(){return $2}),l.d(ne,"SELECTED_GROUPS",function(){return lM}),l.d(ne,"CONTEXTMENU_NODE",function(){return v3}),l.d(ne,"CONTEXTMENU_EDGE",function(){return h3}),l.d(ne,"CONTEXTMENU_TARGET",function(){return uM}),l.d(ne,"GRAPH_META",function(){return dM}),l.d(ne,"GRAPH_SCALE",function(){return fM}),l.d(ne,"COMMAND_REDOABLE",function(){return pM}),l.d(ne,"COMMAND_UNDOABLE",function(){return dE}),l.d(ne,"COMMAND_GLOBALS",function(){return vM}),l.d(ne,"HISTORY_UNDOABLE",function(){return hM}),l.d(ne,"HISTORY_REDOABLE",function(){return W2});var te={};l.r(te),l.d(te,"components",function(){return rH}),l.d(te,"dfs",function(){return U3}),l.d(te,"dijkstra",function(){return iH}),l.d(te,"dijkstraAll",function(){return ch}),l.d(te,"findCycles",function(){return wE}),l.d(te,"tarjan",function(){return sH}),l.d(te,"isAcyclic",function(){return dH}),l.d(te,"postorder",function(){return fH}),l.d(te,"preorder",function(){return xO}),l.d(te,"prim",function(){return nH}),l.d(te,"topsort",function(){return WM}),l.d(te,"floydWarshall",function(){return SO});var _e={};l.r(_e),l.d(_e,"ProcessNode",function(){return Mpe}),l.d(_e,"DecisionNode",function(){return Ppe}),l.d(_e,"ConnectorNode",function(){return Rpe}),l.d(_e,"DataIONode",function(){return Dpe}),l.d(_e,"TerminalNode",function(){return Ipe}),l.d(_e,"DatabaseNode",function(){return Npe}),l.d(_e,"HardDiskNode",function(){return Lpe}),l.d(_e,"StroedDataNode",function(){return Fpe}),l.d(_e,"DocumentNode",function(){return Upe}),l.d(_e,"MultiDocumentNode",function(){return Bpe}),l.d(_e,"PredefinedProcessNode",function(){return Vpe}),l.d(_e,"ExtractNode",function(){return zpe}),l.d(_e,"MergeNode",function(){return Hpe}),l.d(_e,"OrNode",function(){return Gpe}),l.d(_e,"ManualInputNode",function(){return $pe}),l.d(_e,"PreparationNode",function(){return Wpe}),l.d(_e,"DelayNode",function(){return Kpe}),l.d(_e,"ManualOperationNode",function(){return Ype}),l.d(_e,"DisplayNode",function(){return Xpe}),l.d(_e,"OffPageLinkNode",function(){return Jpe}),l.d(_e,"NoteLeftNode",function(){return Zpe}),l.d(_e,"NoteRightNode",function(){return Qpe}),l.d(_e,"InternalStorageNode",function(){return qpe}),l.d(_e,"TextNode",function(){return eve});var he=l("Znn+"),oe=l("ZTPi"),ge=l("Q9mQ"),me=l("diRs"),Z=l("qLMh"),xe=l("miYZ"),Ee=l("tsqr"),Le=l("9og8"),we=l("tJVT"),fe=l("q1tI"),pe=l.n(fe),Ke=l("Ty5D"),Me=l("9kvl"),ze=l("9JVj"),Ue=l("bbsP"),He=l("/wGt"),Ne=l("+L6B"),it=l("2/Rp"),Xe=l("k1fw"),ht=l("DYRE"),lt=l("zeV3"),Et=l("P2fV"),tt=l("NJEC"),mt=l("EFp3"),xt=l("lnY3"),Xt=l("cWXX"),vt=l("bx4M"),qe=l("LQCs"),Re=l("x+uP"),Se=l("HaE+"),Ve=l("U8pU"),Ge=l("ODXe"),_t=l("GNNt"),bt=l("wEI+"),gt=l("g9YV"),at=l("wCAj"),ft=l("rePB"),Fe=l("KQm4"),Te=l("VTBJ"),ut=l("Ff2n"),le=l("nKUr"),$e=l("nhC9"),Qe=l("M+yt"),Tt=l("y8nQ"),Ot=l("Vl3Y"),Ut=l("T2oS"),At=l("W9HT");function Pt(u){if(typeof u=="function"){for(var i=arguments.length,c=new Array(i>1?i-1:0),o=1;o<i;o++)c[o-1]=arguments[o];return u.apply(void 0,c)}return u}var Dt=l("+i8S"),Qt=function(i){var c=Object(fe.useRef)();return Object(fe.useEffect)(function(){c.current=i}),c.current},cn=Qt,$n=l("uFwe");function hn(u,i,c,o){if(u===i)return!0;if(u&&i&&Object(Ve.a)(u)==="object"&&Object(Ve.a)(i)==="object"){if(u.constructor!==i.constructor)return!1;var t,r,d;if(Array.isArray(u)){if(t=u.length,t!=i.length)return!1;for(r=t;r--!=0;)if(!hn(u[r],i[r],c,o))return!1;return!0}if(u instanceof Map&&i instanceof Map){if(u.size!==i.size)return!1;var v=Object($n.a)(u.entries()),g;try{for(v.s();!(g=v.n()).done;)if(r=g.value,!i.has(r[0]))return!1}catch(ae){v.e(ae)}finally{v.f()}var b=Object($n.a)(u.entries()),P;try{for(b.s();!(P=b.n()).done;)if(r=P.value,!hn(r[1],i.get(r[0]),c,o))return!1}catch(ae){b.e(ae)}finally{b.f()}return!0}if(u instanceof Set&&i instanceof Set){if(u.size!==i.size)return!1;var I=Object($n.a)(u.entries()),V;try{for(I.s();!(V=I.n()).done;)if(r=V.value,!i.has(r[0]))return!1}catch(ae){I.e(ae)}finally{I.f()}return!0}if(ArrayBuffer.isView(u)&&ArrayBuffer.isView(i)){if(t=u.length,t!=i.length)return!1;for(r=t;r--!=0;)if(u[r]!==i[r])return!1;return!0}if(u.constructor===RegExp)return u.source===i.source&&u.flags===i.flags;if(u.valueOf!==Object.prototype.valueOf&&u.valueOf)return u.valueOf()===i.valueOf();if(u.toString!==Object.prototype.toString&&u.toString)return u.toString()===i.toString();if(d=Object.keys(u),t=d.length,t!==Object.keys(i).length)return!1;for(r=t;r--!=0;)if(!Object.prototype.hasOwnProperty.call(i,d[r]))return!1;for(r=t;r--!=0;){var K=d[r];if(!(c==null?void 0:c.includes(K))&&!(K==="_owner"&&u.$$typeof)&&!hn(u[K],i[K],c,o))return o&&console.log(K),!1}return!0}return u!==u&&i!==i}var _n=hn,bn=pe.a.createContext({}),Bn=bn,Tn=l("9mHw"),Tr=0,Sr=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(Tr+=1).toFixed(0);for(var c="",o=crypto.getRandomValues(new Uint8Array(i));i--;){var t=63&o[i];c+=t<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t<63?"_":"-"}return c},Wr=function(){return typeof window=="undefined"?Sr():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():Sr()},br=l("Lpa7"),Wn=0;function gr(u){var i=Object(fe.useState)(function(){return u.proFieldKey?u.proFieldKey.toString():(Wn+=1,Wn.toString())}),c=Object(Ge.a)(i,1),o=c[0],t=Object(fe.useRef)(o),r=function(){var b=Object(Se.a)(Object(Re.a)().mark(function P(){var I,V;return Object(Re.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,(I=u.request)===null||I===void 0?void 0:I.call(u,u.params,u);case 2:return V=ae.sent,ae.abrupt("return",V);case 4:case"end":return ae.stop()}},P)}));return function(){return b.apply(this,arguments)}}();Object(fe.useEffect)(function(){return function(){Wn+=1}},[]);var d=Object(br.b)([t.current,u.params],r,{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),v=d.data,g=d.error;return[v||g]}var na=gr;function jn(u,i){for(var c=u,o=0;o<i.length;o+=1){if(c==null)return;c=c[i[o]]}return c}var un=l("T5bk");function zt(u,i,c,o){if(!i.length)return c;var t=Object(un.a)(i),r=t[0],d=t.slice(1),v;return!u&&typeof r=="number"?v=[]:Array.isArray(u)?v=Object(Fe.a)(u):v=Object(Te.a)({},u),o&&c===void 0&&d.length===1?delete v[r][d[0]]:v[r]=zt(v[r],d,c,o),v}function Bt(u,i,c){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return i.length&&o&&c===void 0&&!jn(u,i.slice(0,-1))?u:zt(u,i,c,o)}function H(u){return Object(Ve.a)(u)==="object"&&u!==null&&Object.getPrototypeOf(u)===Object.prototype}function ot(u){return Array.isArray(u)?[]:{}}var nt=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Ct(){for(var u=arguments.length,i=new Array(u),c=0;c<u;c++)i[c]=arguments[c];var o=ot(i[0]);return i.forEach(function(t){function r(d,v){var g=new Set(v),b=jn(t,d),P=Array.isArray(b);if(P||H(b)){if(!g.has(b)){g.add(b);var I=jn(o,d);P?o=Bt(o,d,[]):(!I||Object(Ve.a)(I)!=="object")&&(o=Bt(o,d,ot(b))),nt(b).forEach(function(V){r([].concat(Object(Fe.a)(d),[V]),g)})}}else o=Bt(o,d,b)}r([])}),o}var Wt=function(i){return i==null},kn=Wt,Sn=function(){for(var i={},c=arguments.length,o=new Array(c),t=0;t<c;t++)o[t]=arguments[t];for(var r=o.length,d,v=0;v<r;v+=1)for(d in o[v])o[v].hasOwnProperty(d)&&(Object(Ve.a)(i[d])==="object"&&Object(Ve.a)(o[v][d])==="object"&&i[d]!==void 0&&i[d]!==null&&!Array.isArray(i[d])&&!Array.isArray(o[v][d])?i[d]=Object(Te.a)(Object(Te.a)({},i[d]),o[v][d]):i[d]=o[v][d]);return i};function Zn(u){return Object(Ve.a)(u)!=="object"?!1:u===null?!0:!(pe.a.isValidElement(u)||u.constructor===RegExp||u instanceof Map||u instanceof Set||u instanceof HTMLElement||u instanceof Blob||u instanceof File||Array.isArray(u))}var Or=function(i,c){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,t=Object.keys(c).reduce(function(v,g){var b=c[g];return kn(b)||(v[g]=b),v},{});if(Object.keys(t).length<1||typeof window=="undefined"||Object(Ve.a)(i)!=="object"||kn(i)||i instanceof Blob)return i;var r=Array.isArray(i)?[]:{},d=function v(g,b){var P=Array.isArray(g),I=P?[]:{};return g==null||g===void 0?I:(Object.keys(g).forEach(function(V){var K=b?[b,V].flat(1):[V].flat(1),ae=g[V],ue=jn(t,K),ve=function Ie(Ye){return Array.isArray(Ye)&&Ye.forEach(function(Ze,et){!Ze||(typeof Ze=="function"&&(ae[et]=Ze(ae,V,g)),Object(Ve.a)(Ze)==="object"&&!Array.isArray(Ze)&&Object.keys(Ze).forEach(function(yt){if(typeof Ze[yt]=="function"){var jt=Ze[yt](g[V][et][yt],V,g);ae[et][yt]=Object(Ve.a)(jt)==="object"?jt[yt]:jt}}),Object(Ve.a)(Ze)==="object"&&Array.isArray(Ze)&&Ie(Ze))}),V},Oe=function(){var Ye=typeof ue=="function"?ue==null?void 0:ue(ae,V,g):ve(ue);if(Array.isArray(Ye)){I=Bt(I,Ye,ae);return}Object(Ve.a)(Ye)==="object"&&!Array.isArray(r)?r=Object(Te.a)(Object(Te.a)({},r),Ye):Object(Ve.a)(Ye)==="object"&&Array.isArray(r)?I=Object(Te.a)(Object(Te.a)({},I),Ye):Ye&&(I=Bt(I,[Ye],ae))};if(ue&&typeof ue=="function"&&Oe(),typeof window!="undefined"){if(Zn(ae)){var ke=v(ae,K);if(Object.keys(ke).length<1)return;I=Bt(I,[V],ke);return}Oe()}}),o?I:g)};return r=Array.isArray(i)&&Array.isArray(r)?Object(Fe.a)(d(i)):Sn({},d(i),r),r},Yn=Or,Nn=l("wd/R"),Zt=l.n(Nn),rr={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 Gn(u){return Object.prototype.toString.call(u)==="[object Object]"}function ln(u){if(Gn(u)===!1)return!1;var i=u.constructor;if(i===void 0)return!0;var c=i.prototype;return!(Gn(c)===!1||c.hasOwnProperty("isPrototypeOf")===!1)}var Xn=function(i,c,o){if(!c)return i;if(Zt.a.isMoment(i)){if(c==="number")return i.valueOf();if(c==="string")return i.format(rr[o]||"YYYY-MM-DD HH:mm:ss");if(typeof c=="string"&&c!=="string")return i.format(c);if(typeof c=="function")return c(i,o)}return i},Kn=function u(i,c,o,t,r){var d={};return typeof window=="undefined"||Object(Ve.a)(i)!=="object"||kn(i)||i instanceof Blob||Array.isArray(i)?i:(Object.keys(i).forEach(function(v){var g=r?[r,v].flat(1):[v],b=jn(o,g)||"text",P="text",I;typeof b=="string"?P=b:b&&(P=b.valueType,I=b.dateFormat);var V=i[v];if(!(kn(V)&&t)){if(ln(V)&&!Array.isArray(V)&&!Zt.a.isMoment(V)){d[v]=u(V,c,o,t,[v]);return}if(Array.isArray(V)){d[v]=V.map(function(K,ae){return Zt.a.isMoment(K)?Xn(K,I||c,P):u(K,c,o,t,[v,"".concat(ae)])});return}d[v]=Xn(V,I||c,P)}}),d)},fr=Kn,Hn=function(){return Hn=Object.assign||function(u){for(var i,c=1,o=arguments.length;c<o;c++){i=arguments[c];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(u[t]=i[t])}return u},Hn.apply(this,arguments)};function Sa(u){var i,c=(typeof window!="undefined"?window:{}).URL,o=new c((i=window==null?void 0:window.location)===null||i===void 0?void 0:i.href);return Object.keys(u).forEach(function(t){var r=u[t];r!=null?Array.isArray(r)?(o.searchParams.delete(t),r.forEach(function(d){o.searchParams.append(t,d)})):r instanceof Date?Number.isNaN(r.getTime())||o.searchParams.set(t,r.toISOString()):typeof r=="object"?o.searchParams.set(t,JSON.stringify(r)):o.searchParams.set(t,r):o.searchParams.delete(t)}),o}function Lr(u,i){var c;u===void 0&&(u={}),i===void 0&&(i={disabled:!1});var o=Object(fe.useState)(),t=o[1],r=typeof window!="undefined"&&((c=window==null?void 0:window.location)===null||c===void 0?void 0:c.search),d=Object(fe.useMemo)(function(){return i.disabled?{}:new URLSearchParams(r||{})},[i.disabled,r]),v=Object(fe.useMemo)(function(){if(i.disabled)return{};if(typeof window=="undefined"||!window.URL)return{};var P=[];d.forEach(function(V,K){P.push({key:K,value:V})}),P=P.reduce(function(V,K){return(V[K.key]=V[K.key]||[]).push(K),V},{}),P=Object.keys(P).map(function(V){var K=P[V];return K.length===1?[V,K[0].value]:[V,K.map(function(ae){var ue=ae.value;return ue})]});var I=Hn({},u);return P.forEach(function(V){var K=V[0],ae=V[1];I[K]=za(K,ae,{},u)}),I},[i.disabled,u,d]);function g(P){if(!(typeof window=="undefined"||!window.URL)){var I=Sa(P);window.location.search!==I.search&&window.history.replaceState({},"",I.toString()),d.toString()!==I.searchParams.toString()&&t({})}}Object(fe.useEffect)(function(){i.disabled||typeof window=="undefined"||!window.URL||g(Hn(Hn({},u),v))},[i.disabled,v]);var b=function(I){g(I)};return Object(fe.useEffect)(function(){if(i.disabled)return function(){};if(typeof window=="undefined"||!window.URL)return function(){};var P=function(){t({})};return window.addEventListener("popstate",P),function(){window.removeEventListener("popstate",P)}},[i.disabled]),[v,b]}var Ca={true:!0,false:!1};function za(u,i,c,o){if(!c)return i;var t=c[u],r=i===void 0?o[u]:i;return t===Number?Number(r):t===Boolean||i==="true"||i==="false"?Ca[r]:Array.isArray(t)?t.find(function(d){return d==r})||o[u]:r}var Ma=l("BGR+");function va(u,i){for(var c=u,o=0;o<i.length;o+=1){if(c==null)return;c=c[i[o]]}return c}function qa(u,i,c,o){if(!i.length)return c;var t=Object(un.a)(i),r=t[0],d=t.slice(1),v;return!u&&typeof r=="number"?v=[]:Array.isArray(u)?v=Object(Fe.a)(u):v=Object(Te.a)({},u),o&&c===void 0&&d.length===1?delete v[r][d[0]]:v[r]=qa(v[r],d,c,o),v}function gi(u,i,c){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return i.length&&o&&c===void 0&&!va(u,i.slice(0,-1))?u:qa(u,i,c,o)}function Qi(u){return Object(Ve.a)(u)==="object"&&u!==null&&Object.getPrototypeOf(u)===Object.prototype}function mi(u){return Array.isArray(u)?[]:{}}var Cr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Un(){for(var u=arguments.length,i=new Array(u),c=0;c<u;c++)i[c]=arguments[c];var o=mi(i[0]);return i.forEach(function(t){function r(d,v){var g=new Set(v),b=va(t,d),P=Array.isArray(b);if(P||Qi(b)){if(!g.has(b)){g.add(b);var I=va(o,d);P?o=gi(o,d,[]):(!I||Object(Ve.a)(I)!=="object")&&(o=gi(o,d,mi(b))),Cr(b).forEach(function(V){r([].concat(Object(Fe.a)(d),[V]),g)})}}else o=gi(o,d,b)}r([])}),o}var Lt={},gn=[],Ln=function(i){gn.push(i)};function kr(u,i){if(!1)var c}function ea(u,i){if(!1)var c}function Qr(){Lt={}}function Na(u,i,c){!i&&!Lt[c]&&(u(!1,c),Lt[c]=!0)}function ar(u,i){Na(kr,u,i)}function pi(u,i){Na(ea,u,i)}ar.preMessage=Ln,ar.resetWarned=Qr,ar.noteOnce=pi;var _i=ar,ti=function(i){var c=Object(qe.d)(),o=Ot.a.useFormInstance();if(i.render===!1)return null;var t=i.onSubmit,r=i.render,d=i.onReset,v=i.searchConfig,g=v===void 0?{}:v,b=i.submitButtonProps,P=i.resetButtonProps,I=P===void 0?{}:P,V=function(){o.submit(),t==null||t()},K=function(){o.resetFields(),d==null||d()},ae=g.submitText,ue=ae===void 0?c.getMessage("tableForm.submit","\u63D0\u4EA4"):ae,ve=g.resetText,Oe=ve===void 0?c.getMessage("tableForm.reset","\u91CD\u7F6E"):ve,ke=[];I!==!1&&ke.push(Object(fe.createElement)(it.a,Object(Te.a)(Object(Te.a)({},Object(Ma.a)(I,["preventDefault"])),{},{key:"rest",onClick:function(Ze){var et;(I==null?void 0:I.preventDefault)||K(),I==null||(et=I.onClick)===null||et===void 0||et.call(I,Ze)}}),Oe)),b!==!1&&ke.push(Object(fe.createElement)(it.a,Object(Te.a)(Object(Te.a)({type:"primary"},Object(Ma.a)(b||{},["preventDefault"])),{},{key:"submit",onClick:function(Ze){var et;(b==null?void 0:b.preventDefault)||V(),b==null||(et=b.onClick)===null||et===void 0||et.call(b,Ze)}}),ue));var Ie=r?r(Object(Te.a)(Object(Te.a)({},i),{},{form:o,submit:V,reset:K}),ke):ke;return Ie?Array.isArray(Ie)?(Ie==null?void 0:Ie.length)<1?null:(Ie==null?void 0:Ie.length)===1?Ie[0]:Object(le.jsx)(lt.b,{wrap:!0,children:Ie}):Ie:null},ui=ti,Ri=pe.a.createContext({}),ao=Ri,Zi=l("jCWc"),Fi=l("kPKH"),Si=l("14J3"),qi=l("BMrR"),eo=["children","Wrapper"],xo=["children","Wrapper"],cs=Object(fe.createContext)({grid:!1,colProps:void 0,rowProps:void 0}),ba=function(i){var c=i.grid,o=i.rowProps,t=i.colProps;return{grid:!!c,RowWrapper:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=d.children,g=d.Wrapper,b=Object(ut.a)(d,eo);return c?Object(le.jsx)(qi.a,Object(Te.a)(Object(Te.a)(Object(Te.a)({gutter:8},o),b),{},{children:v})):g?Object(le.jsx)(g,{children:v}):v},ColWrapper:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=d.children,g=d.Wrapper,b=Object(ut.a)(d,xo),P=Object(fe.useMemo)(function(){var I=Object(Te.a)(Object(Te.a)({},t),b);return typeof I.span=="undefined"&&typeof I.xs=="undefined"&&(I.xs=24),I},[b]);return c?Object(le.jsx)(Fi.a,Object(Te.a)(Object(Te.a)({},P),{},{children:v})):g?Object(le.jsx)(g,{children:v}):v}}},sa=function(i){var c=Object(fe.useMemo)(function(){return Object(Ve.a)(i)==="object"?i:{grid:i}},[i]),o=Object(fe.useContext)(cs),t=o.grid,r=o.colProps;return Object(fe.useMemo)(function(){return ba({grid:!!(t||c.grid),rowProps:c==null?void 0:c.rowProps,colProps:(c==null?void 0:c.colProps)||r,Wrapper:c==null?void 0:c.Wrapper})},[c==null?void 0:c.Wrapper,c.grid,t,JSON.stringify([r,c==null?void 0:c.colProps,c==null?void 0:c.rowProps])])},Da=pe.a.createContext({mode:"edit"}),On=["children","contentRender","submitter","fieldProps","formItemProps","groupProps","transformKey","formRef","onInit","form","loading","formComponentType","extraUrlParams","syncToUrl","onUrlSearchChange","onReset","omitNil","isKeyPressSubmit","autoFocusFirstInput","grid","rowProps","colProps"],xn=["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"],Rt=function(i,c,o){return i===!0?c:Pt(i,c,o)},mr=function(i){return!i||Array.isArray(i)?i:[i]};function ta(u){var i=u.children,c=u.contentRender,o=u.submitter,t=u.fieldProps,r=u.formItemProps,d=u.groupProps,v=u.transformKey,g=u.formRef,b=u.onInit,P=u.form,I=u.loading,V=u.formComponentType,K=u.extraUrlParams,ae=K===void 0?{}:K,ue=u.syncToUrl,ve=u.onUrlSearchChange,Oe=u.onReset,ke=u.omitNil,Ie=ke===void 0?!0:ke,Ye=u.isKeyPressSubmit,Ze=u.autoFocusFirstInput,et=Ze===void 0?!0:Ze,yt=u.grid,jt=u.rowProps,Ft=u.colProps,Ht=Object(ut.a)(u,On),Gt=Ot.a.useFormInstance(),Jt=Object(fe.useContext)(bt.a.SizeContext),mn=Object(fe.useRef)(P||Gt),vn=sa({grid:yt,rowProps:jt}),Yt=vn.RowWrapper,En=Object(Dt.a)(function(){return Gt}),or=Object(fe.useMemo)(function(){return{getFieldsFormatValue:function(ca){var fa;return v((fa=En())===null||fa===void 0?void 0:fa.getFieldsValue(ca),Ie)},getFieldFormatValue:function(){var ca,fa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ai=mr(fa);if(!ai)throw new Error("nameList is require");var Wi=(ca=En())===null||ca===void 0?void 0:ca.getFieldValue(ai),Co=ai?gi({},ai,Wi):Wi;return va(v(Co,Ie,ai),ai)},getFieldFormatValueObject:function(ca){var fa,ai=mr(ca),Wi=(fa=En())===null||fa===void 0?void 0:fa.getFieldValue(ai),Co=ai?gi({},ai,Wi):Wi;return v(Co,Ie,ai)},validateFieldsReturnFormatValue:function(){var Fr=Object(Se.a)(Object(Re.a)().mark(function fa(ai){var Wi,Co,zi;return Object(Re.a)().wrap(function(Us){for(;;)switch(Us.prev=Us.next){case 0:if(!(!Array.isArray(ai)&&ai)){Us.next=2;break}throw new Error("nameList must be array");case 2:return Us.next=4,(Wi=En())===null||Wi===void 0?void 0:Wi.validateFields(ai);case 4:return Co=Us.sent,zi=v(Co,Ie),Us.abrupt("return",zi||{});case 7:case"end":return Us.stop()}},fa)}));function ca(fa){return Fr.apply(this,arguments)}return ca}(),formRef:mn}},[Ie,v]),$r=Object(fe.useMemo)(function(){return pe.a.Children.toArray(i).map(function(Fr,ca){return ca===0&&pe.a.isValidElement(Fr)&&et?pe.a.cloneElement(Fr,Object(Te.a)(Object(Te.a)({},Fr.props),{},{autoFocus:et})):Fr})},[et,i]),vr=Object(fe.useMemo)(function(){return typeof o=="boolean"||!o?{}:o},[o]);Object(fe.useImperativeHandle)(g,function(){return Object(Te.a)(Object(Te.a)({},Gt),or)},[or,Gt]);var Er=Object(fe.useMemo)(function(){if(o!==!1)return Object(le.jsx)(ui,Object(Te.a)(Object(Te.a)({},vr),{},{onReset:function(){var ca,fa,ai=v((ca=mn.current)===null||ca===void 0?void 0:ca.getFieldsValue(),Ie);if(vr==null||(fa=vr.onReset)===null||fa===void 0||fa.call(vr,ai),Oe==null||Oe(ai),ue){var Wi,Co=Object.keys(v((Wi=mn.current)===null||Wi===void 0?void 0:Wi.getFieldsValue(),!1)).reduce(function(zi,us){return Object(Te.a)(Object(Te.a)({},zi),{},Object(ft.a)({},us,ai[us]||void 0))},ae);ve(Rt(ue,Co,"set"))}},submitButtonProps:Object(Te.a)({loading:I},vr.submitButtonProps)}),"submitter")},[o,vr,I,v,Ie,Oe,ue,ae,ve]),Hr=Object(fe.useMemo)(function(){var Fr=yt?Object(le.jsx)(Yt,{children:$r}):$r;return c?c(Fr,Er,mn.current):Fr},[yt,Yt,$r,c,Er]),Aa=cn(u.initialValues);return Object(fe.useEffect)(function(){if(!(ue||!u.initialValues||!Aa||Ht.request)){var Fr=_n(u.initialValues,Aa);pi(Fr,"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 "),pi(Fr,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? <Form/> : null ")}},[u.initialValues]),Object(fe.useEffect)(function(){var Fr,ca,fa=v((Fr=mn.current)===null||Fr===void 0||(ca=Fr.getFieldsValue)===null||ca===void 0?void 0:ca.call(Fr,!0),Ie);b==null||b(fa,mn.current)},[]),Object(le.jsx)(Bn.Provider,{value:or,children:Object(le.jsx)(bt.a.SizeContext.Provider,{value:Ht.size||Jt,children:Object(le.jsxs)(cs.Provider,{value:{grid:yt,colProps:Ft},children:[Ht.component!==!1&&Object(le.jsx)("input",{type:"text",style:{display:"none"}}),Hr]})})})}var ma=0;function Oa(u){var i=u.extraUrlParams,c=i===void 0?{}:i,o=u.syncToUrl,t=u.isKeyPressSubmit,r=u.syncToUrlAsImportant,d=r===void 0?!1:r,v=u.syncToInitialValues,g=v===void 0?!0:v,b=u.children,P=u.contentRender,I=u.submitter,V=u.fieldProps,K=u.formItemProps,ae=u.groupProps,ue=u.dateFormatter,ve=ue===void 0?"string":ue,Oe=u.formRef,ke=u.onInit,Ie=u.form,Ye=u.formComponentType,Ze=u.onReset,et=u.grid,yt=u.rowProps,jt=u.colProps,Ft=u.omitNil,Ht=Ft===void 0?!0:Ft,Gt=u.request,Jt=u.params,mn=u.initialValues,vn=u.formKey,Yt=vn===void 0?ma:vn,En=u.readonly,or=Object(ut.a)(u,xn),$r=Object(fe.useRef)({}),vr=Object(Tn.a)(!1),Er=Object(Ge.a)(vr,2),Hr=Er[0],Aa=Er[1],Fr=Lr({},{disabled:!o}),ca=Object(Ge.a)(Fr,2),fa=ca[0],ai=ca[1],Wi=Object(fe.useRef)(Wr());Object(fe.useEffect)(function(){ma+=0},[]);var Co=na({request:Gt,params:Jt,proFieldKey:Yt}),zi=Object(Ge.a)(Co,1),us=zi[0],Us=Object(fe.useState)(function(){return o?Rt(o,fa,"get"):{}}),po=Object(Ge.a)(Us,2),dc=po[0],ns=po[1],fc=Object(fe.useRef)({}),Kc=Object(fe.useRef)({}),gl=Object(fe.useCallback)(function(Su,Ql,Bl){return Yn(fr(Su,ve,Kc.current,Ql,Bl),fc.current,Ql)},[ve]);Object(fe.useEffect)(function(){g||ns({})},[g]),Object(fe.useEffect)(function(){!o||ai(Object(Te.a)(Object(Te.a)({},fa),c))},[c,o]);var du=Object(fe.useMemo)(function(){if(typeof window!="undefined"&&Ye&&["DrawerForm"].includes(Ye))return function(Su){return Su.parentNode||document.body}},[Ye]),yu=Object(Dt.a)(Object(Se.a)(Object(Re.a)().mark(function Su(){var Ql,Bl,Qo,hc,Yl,Qc;return Object(Re.a)().wrap(function(zu){for(;;)switch(zu.prev=zu.next){case 0:if(or.onFinish){zu.next=2;break}return zu.abrupt("return");case 2:if(!Hr){zu.next=4;break}return zu.abrupt("return");case 4:return Aa(!0),zu.prev=5,Qo=$r==null||(Ql=$r.current)===null||Ql===void 0||(Bl=Ql.getFieldsFormatValue)===null||Bl===void 0?void 0:Bl.call(Ql),zu.next=9,or.onFinish(Qo);case 9:o&&(Qc=Object.keys($r==null||(hc=$r.current)===null||hc===void 0||(Yl=hc.getFieldsFormatValue)===null||Yl===void 0?void 0:Yl.call(hc,void 0,!1)).reduce(function(Xc,jp){var cv;return Object(Te.a)(Object(Te.a)({},Xc),{},Object(ft.a)({},jp,(cv=Qo[jp])!==null&&cv!==void 0?cv:void 0))},c),Object.keys(fa).forEach(function(Xc){Qc[Xc]!==!1&&Qc[Xc]!==0&&!Qc[Xc]&&(Qc[Xc]=void 0)}),ai(Rt(o,Qc,"set"))),Aa(!1),zu.next=16;break;case 13:zu.prev=13,zu.t0=zu.catch(5),Aa(!1);case 16:case"end":return zu.stop()}},Su,null,[[5,13]])})));return Object(fe.useImperativeHandle)(Oe,function(){return $r.current},[!us]),!us&&u.request?Object(le.jsx)("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:Object(le.jsx)(At.a,{})}):Object(le.jsx)(Da.Provider,{value:{mode:u.readonly?"read":"edit"},children:Object(le.jsx)(qe.a,{children:Object(le.jsx)(ao.Provider,{value:{formRef:$r,fieldProps:V,formItemProps:K,groupProps:ae,formComponentType:Ye,getPopupContainer:du,formKey:Wi.current,setFieldValueType:function(Ql,Bl){var Qo=Bl.valueType,hc=Qo===void 0?"text":Qo,Yl=Bl.dateFormat,Qc=Bl.transform;!Array.isArray(Ql)||(fc.current=gi(fc.current,Ql,Qc),Kc.current=gi(Kc.current,Ql,{valueType:hc,dateFormat:Yl}))}},children:Object(le.jsx)(Ot.a,Object(Te.a)(Object(Te.a)({onKeyPress:function(Ql){if(!!t&&Ql.key==="Enter"){var Bl;(Bl=$r.current)===null||Bl===void 0||Bl.submit()}},autoComplete:"off",form:Ie},Object(Ma.a)(or,["autoFocusFirstInput"])),{},{initialValues:d?Object(Te.a)(Object(Te.a)(Object(Te.a)({},us),mn),dc):Object(Te.a)(Object(Te.a)(Object(Te.a)({},dc),us),mn),onValuesChange:function(Ql,Bl){var Qo;or==null||(Qo=or.onValuesChange)===null||Qo===void 0||Qo.call(or,gl(Ql,!!Ht),gl(Bl,!!Ht))},onFinish:yu,children:Object(le.jsx)(ta,Object(Te.a)(Object(Te.a)({transformKey:gl,autoComplete:"off",loading:Hr,onUrlSearchChange:ai},u),{},{formRef:$r,initialValues:Object(Te.a)(Object(Te.a)({},mn),us)}))}))})})})}var Pn=l("UESt"),Kr=l("YSkC"),Vn=l("TSYQ"),tr=l.n(Vn),Ea=l("fWo+"),Ja=pe.a.forwardRef(function(u,i){var c=pe.a.useContext(ao),o=c.groupProps,t=Object(Te.a)(Object(Te.a)({},o),u),r=t.children,d=t.collapsible,v=t.defaultCollapsed,g=t.style,b=t.labelLayout,P=t.title,I=P===void 0?u.label:P,V=t.tooltip,K=t.align,ae=K===void 0?"start":K,ue=t.direction,ve=t.size,Oe=ve===void 0?32:ve,ke=t.titleStyle,Ie=t.titleRender,Ye=t.spaceProps,Ze=t.extra,et=t.autoFocus,yt=Object(Tn.a)(function(){return v||!1},{value:u.collapsed,onChange:u.onCollapse}),jt=Object(Ge.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=Object(fe.useContext)(bt.a.ConfigContext),Jt=Gt.getPrefixCls,mn=sa(u),vn=mn.ColWrapper,Yt=mn.RowWrapper,En=Jt("pro-form-group"),or=d&&Object(le.jsx)(Pn.a,{style:{marginRight:8},rotate:Ft?void 0:90}),$r=Object(le.jsx)(Kr.a,{label:or?Object(le.jsxs)("div",{children:[or,I]}):I,tooltip:V}),vr=Object(fe.useCallback)(function(fa){var ai=fa.children;return Object(le.jsx)(lt.b,Object(Te.a)(Object(Te.a)({},Ye),{},{className:tr()("".concat(En,"-container"),Ye==null?void 0:Ye.className),size:Oe,align:ae,direction:ue,style:Object(Te.a)({rowGap:0},Ye==null?void 0:Ye.style),children:ai}))},[ae,En,ue,Oe,Ye]),Er=Ie?Ie($r,u):$r,Hr=Object(fe.useMemo)(function(){var fa=[],ai=pe.a.Children.toArray(r).map(function(Wi,Co){var zi;return pe.a.isValidElement(Wi)&&(Wi==null||(zi=Wi.props)===null||zi===void 0?void 0:zi.hidden)?(fa.push(Wi),null):Co===0&&pe.a.isValidElement(Wi)&&et?pe.a.cloneElement(Wi,Object(Te.a)(Object(Te.a)({},Wi.props),{},{autoFocus:et})):Wi});return[Object(le.jsx)(Yt,{Wrapper:vr,children:ai},"children"),fa.length>0?Object(le.jsx)("div",{style:{display:"none"},children:fa}):null]},[r,Yt,vr,et]),Aa=Object(Ge.a)(Hr,2),Fr=Aa[0],ca=Aa[1];return Object(le.jsx)(vn,{children:Object(le.jsxs)("div",{className:tr()(En,Object(ft.a)({},"".concat(En,"-twoLine"),b==="twoLine")),style:g,ref:i,children:[ca,(I||V||Ze)&&Object(le.jsx)("div",{className:"".concat(En,"-title"),style:ke,onClick:function(){Ht(!Ft)},children:Ze?Object(le.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[Er,Object(le.jsx)("span",{onClick:function(ai){return ai.stopPropagation()},children:Ze})]}):Er}),d&&Ft?null:Fr]})})});Ja.displayName="ProForm-Group";var go=Ja,fi=l("PjWh"),lo=function(i){var c=!1;return(typeof i=="string"&&i.startsWith("date")&&!i.endsWith("Range")||i==="select"||i==="time")&&(c=!0),c},Oi=lo,io=function(i,c){return typeof c=="function"?c(Zt()(i)):Zt()(i).format(c)},Vi=function(i,c){var o=Array.isArray(i)?i:[],t=Object(Ge.a)(o,2),r=t[0],d=t[1],v,g;Array.isArray(c)?(v=c[0],g=c[1]):(v=c,g=c);var b=r?io(r,v):"",P=d?io(d,g):"",I=b&&P?"".concat(b," ~ ").concat(P):"";return I},vo=Vi,qo=l("qVdP"),hs=l("jsC+"),$t=l("MNju"),rt=function(i){var c=Object(qe.d)(),o=i.onClear,t=i.onConfirm,r=i.disabled,d=i.footerRender,v=Object(fe.useContext)(bt.a.ConfigContext),g=v.getPrefixCls,b=g("pro-core-dropdown-footer"),P=[Object(le.jsx)(it.a,{style:{visibility:o?"visible":"hidden"},type:"link",size:"small",disabled:r,onClick:function(K){o&&o(K),K.stopPropagation()},children:c.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),Object(le.jsx)(it.a,{"data-type":"confirm",type:"primary",size:"small",onClick:t,disabled:r,children:c.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(d===!1||(d==null?void 0:d(t,o))===!1)return null;var I=(d==null?void 0:d(t,o))||P;return Object(le.jsx)("div",{className:b,onClick:function(K){return K.target.getAttribute("data-type")!=="confirm"&&K.stopPropagation()},children:I})},Vt=rt,tn=l("Pjkc"),wn=function(i){var c=i.children,o=i.label,t=i.footer,r=i.disabled,d=i.onVisibleChange,v=i.visible,g=i.footerRender,b=i.placement,P=Object(fe.useContext)(bt.a.ConfigContext),I=P.getPrefixCls,V=I("pro-core-field-dropdown");return Object(le.jsx)(hs.a,{disabled:r,placement:b,trigger:["click"],visible:v,onVisibleChange:d,overlay:Object(le.jsxs)("div",{className:"".concat(V,"-overlay"),children:[Object(le.jsx)("div",{className:"".concat(V,"-content"),children:c}),t&&Object(le.jsx)(Vt,Object(Te.a)({disabled:r,footerRender:g},t))]}),children:Object(le.jsx)("span",{className:"".concat(V,"-label"),children:o})})},qn=wn,zn=l("4i/N"),xr=l("8Skl"),da=l("pAY0"),en=function(i,c){var o,t=i.label,r=i.onClear,d=i.value,v=i.size,g=v===void 0?"middle":v,b=i.disabled,P=i.onLabelClick,I=i.ellipsis,V=i.placeholder,K=i.className,ae=i.style,ue=i.formatter,ve=i.bordered,Oe=i.allowClear,ke=Oe===void 0?!0:Oe,Ie=Object(fe.useContext)(bt.a.ConfigContext),Ye=Ie.getPrefixCls,Ze=Ye("pro-core-field-label"),et=Object(qe.d)(),yt=Object(fe.useRef)(null),jt=Object(fe.useRef)(null);Object(fe.useImperativeHandle)(c,function(){return{labelRef:jt,clearRef:yt}});var Ft=function(Jt){return ue?ue(Jt):Array.isArray(Jt)?Jt.join(","):Jt},Ht=function(Jt,mn){if(mn!=null&&mn!==""&&(!Array.isArray(mn)||mn.length)){var vn,Yt,En=Jt?Object(le.jsxs)("span",{onClick:P,className:"".concat(Ze,"-text"),children:[Jt,": "]}):"",or=Ft(mn);if(!I)return Object(le.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[En,Ft(mn)]});var $r=41,vr=function(){var Aa=Array.isArray(mn)&&mn.length>1,Fr=et.getMessage("form.lightFilter.itemUnit","\u9879");return typeof or=="string"&&or.length>$r&&Aa?"...".concat(mn.length).concat(Fr):""},Er=vr();return Object(le.jsxs)("span",{title:typeof or=="string"?or:void 0,style:{display:"inline-flex",alignItems:"center"},children:[En,Object(le.jsx)("span",{style:{paddingLeft:4},children:typeof or=="string"?or==null||(vn=or.toString())===null||vn===void 0||(Yt=vn.substr)===null||Yt===void 0?void 0:Yt.call(vn,0,$r):or}),Er]})}return Jt||V};return Object(le.jsxs)("span",{className:tr()(Ze,"".concat(Ze,"-").concat(g),(o={},Object(ft.a)(o,"".concat(Ze,"-active"),!!d||d===0),Object(ft.a)(o,"".concat(Ze,"-disabled"),b),Object(ft.a)(o,"".concat(Ze,"-bordered"),ve),Object(ft.a)(o,"".concat(Ze,"-allow-clear"),ke),o),K),style:ae,ref:jt,children:[Ht(t,d),(d||d===0)&&ke&&Object(le.jsx)(zn.a,{role:"button",title:"\u6E05\u9664",className:tr()("".concat(Ze,"-icon"),"".concat(Ze,"-close")),onClick:function(Jt){r&&!b&&r(),Jt.stopPropagation()},ref:yt}),Object(le.jsx)(xr.a,{className:tr()("".concat(Ze,"-icon"),"".concat(Ze,"-arrow"))})]})},Fn=pe.a.forwardRef(en),Jn=l("y/19"),Ir=["label","size","disabled","onChange","className","style","children","valuePropName","placeholder","labelFormatter","bordered","footerRender","allowClear","otherFieldProps","valueType","placement"],Gr=function(i){var c,o=i.label,t=i.size,r=i.disabled,d=i.onChange,v=i.className,g=i.style,b=i.children,P=i.valuePropName,I=i.placeholder,V=i.labelFormatter,K=i.bordered,ae=i.footerRender,ue=i.allowClear,ve=i.otherFieldProps,Oe=i.valueType,ke=i.placement,Ie=Object(ut.a)(i,Ir),Ye=Object(fe.useContext)(bt.a.ConfigContext),Ze=Ye.getPrefixCls,et=Ze("pro-field-light-wrapper"),yt=Object(fe.useState)(i[P]),jt=Object(Ge.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=Object(Tn.a)(!1),Jt=Object(Ge.a)(Gt,2),mn=Jt[0],vn=Jt[1],Yt=function(){for(var vr,Er=arguments.length,Hr=new Array(Er),Aa=0;Aa<Er;Aa++)Hr[Aa]=arguments[Aa];ve==null||(vr=ve.onChange)===null||vr===void 0||vr.call.apply(vr,[ve].concat(Hr)),d==null||d.apply(void 0,Hr)},En=i[P],or=Object(fe.useMemo)(function(){var $r;return(Oe==null||($r=Oe.toLowerCase())===null||$r===void 0?void 0:$r.endsWith("range"))&&!V?vo(En,rr[Oe]||"YYYY-MM-DD"):En},[En,Oe,V]);return Object(le.jsx)(qn,{disabled:r,onVisibleChange:vn,placement:ke,visible:mn,label:Object(le.jsx)(Fn,{ellipsis:!0,size:t,onClear:function(){Yt==null||Yt(),Ht(void 0)},bordered:K,style:g,className:v,label:o,placeholder:I,value:or,disabled:r,expanded:mn,formatter:V,allowClear:ue}),footer:{onClear:function(){return Ht(void 0)},onConfirm:function(){Yt==null||Yt(Ft),vn(!1)}},footerRender:ae,children:Object(le.jsx)("div",{className:tr()("".concat(et,"-container"),v),style:g,children:pe.a.cloneElement(b,Object(Te.a)(Object(Te.a)({},Ie),{},(c={},Object(ft.a)(c,P,Ft),Object(ft.a)(c,"onChange",function(vr){Ht((vr==null?void 0:vr.target)?vr.target.value:vr)}),c),b.props))})})},ga=l("lfch"),Mr=l("/MfK"),$a=l("hprd"),Ya=l("xvlK"),_o=l("5Dmo"),Ni=l("3S7+"),ec=l("TOwV");function ks(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=[];return pe.a.Children.forEach(u,function(o){o==null&&!i.keepEmpty||(Array.isArray(o)?c=c.concat(ks(o)):Object(ec.isFragment)(o)&&o.props?c=c.concat(ks(o.props.children,i)):c.push(o))}),c}var jo=["creatorButtonProps","deleteIconProps","copyIconProps","itemContainerRender","itemRender","alwaysShowItemLabel","prefixCls","creatorRecord","action","actionGuard","children","actionRender","fields","meta","field","index","formInstance","originName","min","max","count"],Qn=function(i){return Array.isArray(i)?i:typeof i=="function"?[i]:ks(i)},ka=function(i){var c,o=i.creatorButtonProps,t=i.deleteIconProps,r=i.copyIconProps,d=i.itemContainerRender,v=i.itemRender,g=i.alwaysShowItemLabel,b=i.prefixCls,P=i.creatorRecord,I=i.action,V=i.actionGuard,K=i.children,ae=i.actionRender,ue=i.fields,ve=i.meta,Oe=i.field,ke=i.index,Ie=i.formInstance,Ye=i.originName,Ze=i.min,et=i.max,yt=i.count,jt=Object(ut.a)(i,jo),Ft=Object(fe.useContext)(Ei),Ht=Object(fe.useRef)(!1),Gt=Object(fe.useState)(!1),Jt=Object(Ge.a)(Gt,2),mn=Jt[0],vn=Jt[1],Yt=Object(fe.useState)(!1),En=Object(Ge.a)(Yt,2),or=En[0],$r=En[1];Object(fe.useEffect)(function(){return function(){Ht.current=!0}},[]);var vr=function(){return Ie.getFieldValue([Ft.listName,Ye,ke==null?void 0:ke.toString()].flat(1).filter(function(dc){return dc!=null}))},Er={getCurrentRowData:vr,setCurrentRowData:function(dc){var ns,fc=(Ie==null||(ns=Ie.getFieldsValue)===null||ns===void 0?void 0:ns.call(Ie))||{},Kc=[Ft.listName,Ye,ke==null?void 0:ke.toString()].flat(1).filter(function(du){return du!=null}),gl=gi(fc,Kc,Object(Te.a)(Object(Te.a)({},vr()),dc||{}));return Ie.setFieldsValue(gl)}},Hr=Qn(K).map(function(po){return typeof po=="function"?po==null?void 0:po(Oe,ke,Object(Te.a)(Object(Te.a)({},I),Er),yt):po}).map(function(po,dc){if(pe.a.isValidElement(po)){var ns;return pe.a.cloneElement(po,Object(Te.a)({key:po.key||(po==null||(ns=po.props)===null||ns===void 0?void 0:ns.name)||dc},po==null?void 0:po.props))}return po}),Aa=Object(fe.useMemo)(function(){if(r===!1||et===yt)return null;var po=r.Icon,dc=po===void 0?ga.a:po,ns=r.tooltipText;return Object(le.jsx)(Ni.a,{title:ns,children:Object(le.jsx)(At.a,{spinning:or,children:Object(le.jsx)(dc,{className:"".concat(b,"-action-icon action-copy"),onClick:function(){var fc=Object(Se.a)(Object(Re.a)().mark(function gl(){return Object(Re.a)().wrap(function(yu){for(;;)switch(yu.prev=yu.next){case 0:return $r(!0),yu.next=3,I.add(Ie==null?void 0:Ie.getFieldValue([Ft.listName,jt.name,Oe.name].filter(function(Su){return Su!==void 0}).flat(1)));case 3:$r(!1);case 4:case"end":return yu.stop()}},gl)}));function Kc(){return fc.apply(this,arguments)}return Kc}()})})},"copy")},[r,et,yt,or,b,I,Ie,Ft.listName,jt.name,Oe.name]),Fr=Object(fe.useMemo)(function(){if(t===!1||Ze===yt)return null;var po=t.Icon,dc=po===void 0?Mr.a:po,ns=t.tooltipText;return Object(le.jsx)(Ni.a,{title:ns,children:Object(le.jsx)(At.a,{spinning:mn,children:Object(le.jsx)(dc,{className:"".concat(b,"-action-icon action-remove"),onClick:function(){var fc=Object(Se.a)(Object(Re.a)().mark(function gl(){return Object(Re.a)().wrap(function(yu){for(;;)switch(yu.prev=yu.next){case 0:return vn(!0),yu.next=3,I.remove(Oe.name);case 3:Ht.current||vn(!1);case 4:case"end":return yu.stop()}},gl)}));function Kc(){return fc.apply(this,arguments)}return Kc}()})})},"delete")},[t,Ze,yt,mn,b,vn,I,Oe.name]),ca=Object(fe.useMemo)(function(){return[Aa,Fr].filter(function(po){return po!=null})},[Aa,Fr]),fa=(ae==null?void 0:ae(Oe,I,ca,yt))||ca,ai=fa.length>0?Object(le.jsx)("div",{className:"".concat(b,"-action"),children:fa}):null,Wi={name:jt.name,field:Oe,index:ke,record:Ie==null||(c=Ie.getFieldValue)===null||c===void 0?void 0:c.call(Ie,[Ft.listName,jt.name,Oe.name].filter(function(po){return po!==void 0}).flat(1)),fields:ue,operation:I,meta:ve},Co=sa(),zi=Co.grid,us=(d==null?void 0:d(Hr,Wi))||Hr,Us=(v==null?void 0:v({listDom:Object(le.jsx)("div",{className:"".concat(b,"-container"),style:{width:zi?"100%":void 0},children:us}),action:ai},Wi))||Object(le.jsxs)("div",{className:"".concat(b,"-item ").concat(g?"".concat(b,"-item-show-label"):""),style:{display:"flex",alignItems:"flex-end"},children:[Object(le.jsx)("div",{className:"".concat(b,"-container"),style:{width:zi?"100%":void 0},children:us}),ai]});return Object(le.jsx)(Ei.Provider,{value:Object(Te.a)(Object(Te.a)({},Oe),{},{listName:[Ft.listName,Ye,Oe.name].filter(function(po){return po!==void 0}).flat(1)}),children:Us})},Pa=function(i){var c=Object(qe.d)(),o=i.creatorButtonProps,t=i.prefixCls,r=i.children,d=i.creatorRecord,v=i.action,g=i.fields,b=i.actionGuard,P=i.max,I=i.fieldExtraRender,V=i.meta,K=i.containerClassName,ae=i.containerStyle,ue=i.onAfterAdd,ve=i.onAfterRemove,Oe=Object(fe.useRef)(new Map),ke=Object(fe.useState)(!1),Ie=Object(Ge.a)(ke,2),Ye=Ie[0],Ze=Ie[1],et=Object(fe.useMemo)(function(){return g.map(function(Ht){var Gt,Jt;if(!((Gt=Oe.current)===null||Gt===void 0?void 0:Gt.has(Ht.key.toString()))){var mn;(mn=Oe.current)===null||mn===void 0||mn.set(Ht.key.toString(),Wr())}var vn=(Jt=Oe.current)===null||Jt===void 0?void 0:Jt.get(Ht.key.toString());return Object(Te.a)(Object(Te.a)({},Ht),{},{uuid:vn})})},[g]),yt=Object(fe.useMemo)(function(){var Ht=Object(Te.a)({},v),Gt=et.length;return(b==null?void 0:b.beforeAddRow)?Ht.add=Object(Se.a)(Object(Re.a)().mark(function Jt(){var mn,vn,Yt,En,or,$r=arguments;return Object(Re.a)().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:for(mn=$r.length,vn=new Array(mn),Yt=0;Yt<mn;Yt++)vn[Yt]=$r[Yt];return Er.next=3,b.beforeAddRow.apply(b,vn.concat([Gt]));case 3:if(En=Er.sent,!En){Er.next=8;break}return or=v.add.apply(v,vn),ue==null||ue.apply(void 0,vn.concat([Gt+1])),Er.abrupt("return",or);case 8:return Er.abrupt("return",!1);case 9:case"end":return Er.stop()}},Jt)})):Ht.add=Object(Se.a)(Object(Re.a)().mark(function Jt(){var mn,vn,Yt,En,or=arguments;return Object(Re.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:for(mn=or.length,vn=new Array(mn),Yt=0;Yt<mn;Yt++)vn[Yt]=or[Yt];return En=v.add.apply(v,vn),ue==null||ue.apply(void 0,vn.concat([Gt+1])),vr.abrupt("return",En);case 4:case"end":return vr.stop()}},Jt)})),(b==null?void 0:b.beforeRemoveRow)?Ht.remove=Object(Se.a)(Object(Re.a)().mark(function Jt(){var mn,vn,Yt,En,or,$r=arguments;return Object(Re.a)().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:for(mn=$r.length,vn=new Array(mn),Yt=0;Yt<mn;Yt++)vn[Yt]=$r[Yt];return Er.next=3,b.beforeRemoveRow.apply(b,vn.concat([Gt]));case 3:if(En=Er.sent,!En){Er.next=8;break}return or=v.remove.apply(v,vn),ve==null||ve.apply(void 0,vn.concat([Gt-1])),Er.abrupt("return",or);case 8:return Er.abrupt("return",!1);case 9:case"end":return Er.stop()}},Jt)})):Ht.remove=Object(Se.a)(Object(Re.a)().mark(function Jt(){var mn,vn,Yt,En,or=arguments;return Object(Re.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:for(mn=or.length,vn=new Array(mn),Yt=0;Yt<mn;Yt++)vn[Yt]=or[Yt];return En=v.remove.apply(v,vn),ve==null||ve.apply(void 0,vn.concat([Gt-1])),vr.abrupt("return",En);case 4:case"end":return vr.stop()}},Jt)})),Ht},[v,b==null?void 0:b.beforeAddRow,b==null?void 0:b.beforeRemoveRow,ue,ve,et.length]),jt=Object(fe.useMemo)(function(){if(o===!1||et.length===P)return null;var Ht=o||{},Gt=Ht.position,Jt=Gt===void 0?"bottom":Gt,mn=Ht.creatorButtonText,vn=mn===void 0?c.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E"):mn;return Object(le.jsx)(it.a,Object(Te.a)(Object(Te.a)({className:"".concat(t,"-creator-button-").concat(Jt),type:"dashed",loading:Ye,block:!0,icon:Object(le.jsx)(Ya.a,{})},Object(Ma.a)(o||{},["position","creatorButtonText"])),{},{onClick:function(){var Yt=Object(Se.a)(Object(Re.a)().mark(function or(){var $r;return Object(Re.a)().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:return Ze(!0),$r=et.length,Jt==="top"&&($r=0),Er.next=5,yt.add(Pt(d)||{},$r);case 5:Ze(!1);case 6:case"end":return Er.stop()}},or)}));function En(){return Yt.apply(this,arguments)}return En}(),children:vn}))},[o,et.length,P,c,t,Ye,yt,d]),Ft=Object(Te.a)({width:"max-content",maxWidth:"100%",minWidth:"100%"},ae);return Object(le.jsxs)("div",{style:Ft,className:K,children:[o!==!1&&(o==null?void 0:o.position)==="top"&&jt,et.map(function(Ht,Gt){return Object(fe.createElement)(ka,Object(Te.a)(Object(Te.a)({},i),{},{key:Ht.uuid,field:Ht,index:Gt,action:yt,count:et.length}),r)}),I&&I(yt,V),o!==!1&&(o==null?void 0:o.position)!=="top"&&jt]})},Qa=["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"],Ei=pe.a.createContext({});function zo(u){var i=Object(fe.useRef)(),c=Object(fe.useContext)(bt.a.ConfigContext),o=Object(fe.useContext)(Ei),t=c.getPrefixCls("pro-form-list"),r=Object(qe.d)(),d=u.actionRender,v=u.creatorButtonProps,g=u.label,b=u.alwaysShowItemLabel,P=u.tooltip,I=u.creatorRecord,V=u.itemRender,K=u.rules,ae=u.itemContainerRender,ue=u.fieldExtraRender,ve=u.copyIconProps,Oe=ve===void 0?{Icon:ga.a,tooltipText:r.getMessage("copyThisLine","\u590D\u5236\u6B64\u884C")}:ve,ke=u.children,Ie=u.deleteIconProps,Ye=Ie===void 0?{Icon:Mr.a,tooltipText:r.getMessage("deleteThisLine","\u5220\u9664\u6B64\u884C")}:Ie,Ze=u.actionRef,et=u.style,yt=u.prefixCls,jt=u.actionGuard,Ft=u.min,Ht=u.max,Gt=u.colProps,Jt=u.rowProps,mn=u.onAfterAdd,vn=u.onAfterRemove,Yt=u.isValidateList,En=Yt===void 0?!1:Yt,or=u.emptyListMessage,$r=or===void 0?"\u5217\u8868\u4E0D\u80FD\u4E3A\u7A7A":or,vr=Object(ut.a)(u,Qa),Er=sa({colProps:Gt,rowProps:Jt}),Hr=Er.ColWrapper,Aa=Er.RowWrapper,Fr=Object(fe.useContext)(Bn),ca=Object(fe.useMemo)(function(){return o.name===void 0?[vr.name].flat(1):[o.name,vr.name].flat(1)},[o.name,vr.name]);return Object(fe.useImperativeHandle)(Ze,function(){return Object(Te.a)(Object(Te.a)({},i.current),{},{get:function(ai){return Fr.formRef.current.getFieldValue([].concat(Object(Fe.a)(ca),[ai]))},getList:function(){return Fr.formRef.current.getFieldValue(Object(Fe.a)(ca))}})},[ca,Fr.formRef]),Object(fe.useEffect)(function(){pi(!!Fr.formRef,"ProFormList \u5FC5\u987B\u8981\u653E\u5230 ProForm \u4E2D,\u5426\u5219\u4F1A\u9020\u6210\u884C\u4E3A\u5F02\u5E38\u3002"),pi(!!Fr.formRef,"Proformlist must be placed in ProForm, otherwise it will cause abnormal behavior.")},[Fr.formRef]),Fr.formRef?Object(le.jsx)(Hr,{children:Object(le.jsx)("div",{className:t,style:et,children:Object(le.jsx)(Ot.a.Item,Object(Te.a)(Object(Te.a)({label:g,prefixCls:yt,tooltip:P,style:et},vr),{},{name:En?ca:void 0,rules:En?[{validator:function(ai,Wi){return!Wi||Wi.length===0?Promise.reject(new Error($r)):Promise.resolve()},required:!0}]:void 0,children:Object(le.jsx)(Ot.a.List,Object(Te.a)(Object(Te.a)({rules:K},vr),{},{name:ca,children:function(ai,Wi,Co){return i.current=Wi,Object(le.jsxs)(Aa,{children:[Object(le.jsx)(Pa,{name:ca,originName:vr.name,copyIconProps:Oe,deleteIconProps:Ye,formInstance:Fr.formRef.current,prefixCls:t,meta:Co,fields:ai,itemContainerRender:ae,itemRender:V,fieldExtraRender:ue,creatorButtonProps:v,creatorRecord:I,actionRender:d,action:Wi,actionGuard:jt,alwaysShowItemLabel:b,min:Ft,max:Ht,count:ai.length,onAfterAdd:function(us,Us,po){En&&Fr.formRef.current.validateFields([ca]),mn==null||mn(us,Us,po)},onAfterRemove:function(us,Us){En&&Us===0&&Fr.formRef.current.validateFields([ca]),vn==null||vn(us,Us)},children:ke}),Object(le.jsx)(Ot.a.ErrorList,{errors:Co.errors})]})}}))}))})}):null}var fo=["children","onChange","onBlur","ignoreFormItem","valuePropName"],gs=["children","addonAfter","addonBefore","valuePropName","convertValue"],Ks=["valueType","transform","dataFormat","ignoreFormItem","lightProps","children"],pc=pe.a.createContext({}),tc=function(i){var c=i.children,o=i.onChange,t=i.onBlur,r=i.ignoreFormItem,d=i.valuePropName,v=d===void 0?"value":d,g=Object(ut.a)(i,fo),b=Object(fe.useCallback)(function(){for(var K,ae,ue,ve,Oe,ke,Ie=arguments.length,Ye=new Array(Ie),Ze=0;Ze<Ie;Ze++)Ye[Ze]=arguments[Ze];o==null||o.apply(void 0,Ye),(c==null||(K=c.type)===null||K===void 0?void 0:K.displayName)==="ProFormComponent"&&(!pe.a.isValidElement(c)||(c==null||(ae=c.props)===null||ae===void 0||(ue=ae.onChange)===null||ue===void 0||ue.call.apply(ue,[ae].concat(Ye)),c==null||(ve=c.props)===null||ve===void 0||(Oe=ve.fieldProps)===null||Oe===void 0||(ke=Oe.onChange)===null||ke===void 0||ke.call.apply(ke,[Oe].concat(Ye))))},[c,o]),P=Object(fe.useCallback)(function(){var K,ae,ue,ve,Oe,ke;if((c==null||(K=c.type)===null||K===void 0?void 0:K.displayName)==="ProFormComponent"&&!!pe.a.isValidElement(c)){for(var Ie=arguments.length,Ye=new Array(Ie),Ze=0;Ze<Ie;Ze++)Ye[Ze]=arguments[Ze];t==null||t.apply(void 0,Ye),c==null||(ae=c.props)===null||ae===void 0||(ue=ae.onBlur)===null||ue===void 0||ue.call.apply(ue,[ae].concat(Ye)),c==null||(ve=c.props)===null||ve===void 0||(Oe=ve.fieldProps)===null||Oe===void 0||(ke=Oe.onBlur)===null||ke===void 0||ke.call.apply(ke,[Oe].concat(Ye))}},[c,t]),I=Object(fe.useMemo)(function(){var K,ae;if((c==null||(K=c.type)===null||K===void 0?void 0:K.displayName)==="ProFormComponent"&&!!pe.a.isValidElement(c))return Object(fi.a)(Object(Te.a)(Object(Te.a)(Object(ft.a)({id:g.id},v,i[v]),(c==null||(ae=c.props)===null||ae===void 0?void 0:ae.fieldProps)||{}),{},{onBlur:P,onChange:b}))},[c,i,P,b,g.id,v]),V=Object(fe.useMemo)(function(){if(!I&&!!pe.a.isValidElement(c))return function(){for(var K,ae,ue=arguments.length,ve=new Array(ue),Oe=0;Oe<ue;Oe++)ve[Oe]=arguments[Oe];o==null||o.apply(void 0,ve),c==null||(K=c.props)===null||K===void 0||(ae=K.onChange)===null||ae===void 0||ae.call.apply(ae,[K].concat(ve))}},[I,c,o]);return pe.a.isValidElement(c)?pe.a.cloneElement(c,Object(fi.a)(Object(Te.a)(Object(Te.a)(Object(Te.a)({},g),{},Object(ft.a)({},v,i[v]),c.props),{},{onChange:V,fieldProps:I}))):Object(le.jsx)(le.Fragment,{children:c})},xc=function(i){var c=i.children,o=i.addonAfter,t=i.addonBefore,r=i.valuePropName,d=i.convertValue,v=Object(ut.a)(i,gs),g=Object(fe.useMemo)(function(){var b=function(I){var V,K=(V=d==null?void 0:d(I,v.name))!==null&&V!==void 0?V:I;return v.getValueProps?v.getValueProps(K):Object(ft.a)({},r||"value",K)};return!d&&!v.getValueProps&&(b=void 0),!o&&!t?Object(le.jsx)(Ot.a.Item,Object(Te.a)(Object(Te.a)({},v),{},{valuePropName:r,getValueProps:b,children:c})):Object(le.jsx)(Ot.a.Item,Object(Te.a)(Object(Te.a)({_internalItemRender:{mark:"pro_table_render",render:function(I,V){return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[t?Object(le.jsx)("div",{style:{marginRight:8},children:t}):null,V.input,o?Object(le.jsx)("div",{style:{marginLeft:8},children:o}):null]}),V.extra,V.errorList]})}}},v),{},{getValueProps:b,children:c}))},[o,t,c,d==null?void 0:d.toString(),v]);return Object(le.jsx)(pc.Provider,{value:{name:v.name,label:v.label},children:g})},kc=function(i){var c,o,t,r=Object(fe.useContext)(bt.a.SizeContext),d=i.valueType,v=i.transform,g=i.dataFormat,b=i.ignoreFormItem,P=i.lightProps,I=P===void 0?{}:P,V=i.children,K=Object(ut.a)(i,Ks),ae=Object(fe.useContext)(Ei),ue=Object(fe.useMemo)(function(){return ae.name!==void 0?[ae.name,i.name].flat(1):i.name},[ae.name,i.name]),ve=pe.a.useContext(ao),Oe=ve.setFieldValueType,ke=ve.formItemProps;Object(fe.useEffect)(function(){!Oe||!i.name||Oe([ae.listName,i.name].flat(1).filter(function(jt){return jt!==void 0}),{valueType:d||"text",dateFormat:g,transform:v})},[ae.listName,ue,g,i.name,Oe,v,d]);var Ie=pe.a.isValidElement(i.children)&&Oi(d||i.children.props.valueType),Ye=Object(fe.useMemo)(function(){return!!(!I.light||I.customLightMode||Ie)},[I.customLightMode,Ie,I.light]);if(typeof i.children=="function"){var Ze;return Object(fe.createElement)(xc,Object(Te.a)(Object(Te.a)({},K),{},{name:ue,key:K.proFormFieldKey||((Ze=K.name)===null||Ze===void 0?void 0:Ze.toString())}),i.children)}var et=Object(le.jsx)(tc,{valuePropName:i.valuePropName,children:i.children},K.proFormFieldKey||((c=K.name)===null||c===void 0?void 0:c.toString())),yt=Ye?et:Object(fe.createElement)(Gr,Object(Te.a)(Object(Te.a)({},I),{},{key:K.proFormFieldKey||((o=K.name)===null||o===void 0?void 0:o.toString()),size:r}),et);return b?Object(le.jsx)(le.Fragment,{children:yt}):Object(le.jsx)(xc,Object(Te.a)(Object(Te.a)(Object(Te.a)({},ke),K),{},{name:ue,isListField:ae.name!==void 0,children:yt}),K.proFormFieldKey||((t=K.name)===null||t===void 0?void 0:t.toString()))},Ss=kc;function Js(u){return Object(le.jsx)(Oa,Object(Te.a)({layout:"vertical",submitter:{render:function(c,o){return o.reverse()}},contentRender:function(c,o){return Object(le.jsxs)(le.Fragment,{children:[c,o]})}},u))}Js.Group=go,Js.useForm=Ot.a.useForm,Js.Item=Ss,Js.useWatch=Ot.a.useWatch,Js.ErrorList=Ot.a.ErrorList,Js.Provider=Ot.a.Provider,Js.useFormInstance=Ot.a.useFormInstance;var Mo=Js,js=l("ye1Q"),Yc=l("YWTS"),gc=l("Imx0"),Cl={},wl=[],Wc=function(i){wl.push(i)};function nl(u,i){if(!1)var c}function Rc(u,i){if(!1)var c}function su(){Cl={}}function Pl(u,i,c){!i&&!Cl[c]&&(u(!1,c),Cl[c]=!0)}function al(u,i){Pl(nl,u,i)}function Ml(u,i){Pl(Rc,u,i)}al.preMessage=Wc,al.resetWarned=su,al.noteOnce=Ml;var Tl=al,td=l("HBdL"),rl=function(i,c,o){return _n(i,c,o)};function dl(u,i){var c=Object(fe.useRef)();return rl(u,c.current,i)||(c.current=u),c.current}function qt(u,i,c){Object(fe.useEffect)(u,dl(i||[],c))}function nr(u,i,c,o){var t=Object(td.a)(Object(Se.a)(Object(Re.a)().mark(function r(){return Object(Re.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:u();case 1:case"end":return v.stop()}},r)})),o||16);Object(fe.useEffect)(function(){t.run()},dl(i||[],c))}var Ur=qt,Yr=["map_row_parentKey"],ni=["map_row_parentKey","map_row_key"],vi=["map_row_key"],zr=function(i){return Array.isArray(i)?i.join(","):i};function wr(u,i){var c,o=u.getRowKey,t=u.row,r=u.data,d=u.childrenColumnName,v=(c=zr(u.key))===null||c===void 0?void 0:c.toString(),g=new Map;function b(I,V,K){I.forEach(function(ae,ue){var ve=(K||0)*10+ue,Oe=o(ae,ve).toString();ae&&Object(Ve.a)(ae)==="object"&&d in ae&&b(ae[d]||[],Oe,ve);var ke=Object(Te.a)(Object(Te.a)({},ae),{},{map_row_key:Oe,children:void 0,map_row_parentKey:V});delete ke.children,V||delete ke.map_row_parentKey,g.set(Oe,ke)})}i==="top"&&g.set(v,Object(Te.a)(Object(Te.a)({},g.get(v)),t)),b(r),i==="update"&&g.set(v,Object(Te.a)(Object(Te.a)({},g.get(v)),t)),i==="delete"&&g.delete(v);var P=function(V){var K=new Map,ae=[],ue=function(){V.forEach(function(Oe){if(Oe.map_row_parentKey&&!Oe.map_row_key){var ke=Oe.map_row_parentKey,Ie=Object(ut.a)(Oe,Yr);K.set(ke,[].concat(Object(Fe.a)(K.get(ke)||[]),[Ie]))}})};return i==="top"&&ue(),V.forEach(function(ve){if(ve.map_row_parentKey&&ve.map_row_key){var Oe=ve.map_row_parentKey,ke=ve.map_row_key,Ie=Object(ut.a)(ve,ni);K.has(ke)&&(Ie[d]=K.get(ke)),K.set(Oe,[].concat(Object(Fe.a)(K.get(Oe)||[]),[Ie]))}}),i==="update"&&ue(),V.forEach(function(ve){if(!ve.map_row_parentKey){var Oe=ve.map_row_key,ke=Object(ut.a)(ve,vi);if(Oe&&K.has(Oe)){var Ie=Object(Te.a)(Object(Te.a)({},ke),{},Object(ft.a)({},d,K.get(Oe)));ae.push(Ie);return}ae.push(ke)}}),ae};return P(g)}function Ua(u){var i=u.recordKey,c=u.onSave,o=u.row,t=u.children,r=u.newLineConfig,d=u.editorType,v=u.tableName,g=Object(fe.useContext)(Bn),b=Ot.a.useFormInstance(),P=Object(Tn.a)(!1),I=Object(Ge.a)(P,2),V=I[0],K=I[1];return Object(le.jsxs)("a",{onClick:function(){var ae=Object(Se.a)(Object(Re.a)().mark(function ve(Oe){var ke,Ie,Ye,Ze,et,yt,jt,Ft,Ht;return Object(Re.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:return Oe.stopPropagation(),Oe.preventDefault(),Jt.prev=2,Ie=d==="Map",Ye=[v,Array.isArray(i)?i[0]:i].map(function(mn){return mn==null?void 0:mn.toString()}).flat(1).filter(Boolean),K(!0),Jt.next=8,b.validateFields(Ye,{recursive:!0});case 8:return Ze=((ke=g.getFieldFormatValue)===null||ke===void 0?void 0:ke.call(g,Ye))||b.getFieldValue(Ye),Array.isArray(i)&&i.length>1&&(et=Object(un.a)(i),yt=et.slice(1),jt=jn(Ze,yt),Bt(Ze,yt,jt)),Ft=Ie?Bt({},Ye,Ze,!0):Ze,Jt.next=13,c==null?void 0:c(i,Sn({},o,Ft),o,r);case 13:return Ht=Jt.sent,K(!1),Jt.abrupt("return",Ht);case 18:return Jt.prev=18,Jt.t0=Jt.catch(2),console.log(Jt.t0),K(!1),Jt.abrupt("return",null);case 23:case"end":return Jt.stop()}},ve,null,[[2,18]])}));function ue(ve){return ae.apply(this,arguments)}return ue}(),children:[V?Object(le.jsx)(js.a,{style:{marginRight:8}}):null,t||"\u4FDD\u5B58"]},"save")}var La=function(i){var c=i.recordKey,o=i.onDelete,t=i.row,r=i.children,d=i.deletePopconfirmMessage,v=Object(Tn.a)(function(){return!1}),g=Object(Ge.a)(v,2),b=g[0],P=g[1],I=Object(Dt.a)(Object(Se.a)(Object(Re.a)().mark(function V(){var K;return Object(Re.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.prev=0,P(!0),ue.next=4,o==null?void 0:o(c,t);case 4:return K=ue.sent,P(!1),ue.abrupt("return",K);case 9:return ue.prev=9,ue.t0=ue.catch(0),console.log(ue.t0),P(!1),ue.abrupt("return",null);case 14:case"end":return ue.stop()}},V,null,[[0,9]])})));return r!==!1?Object(le.jsx)(tt.a,{title:d,onConfirm:function(){return I()},children:Object(le.jsxs)("a",{children:[b?Object(le.jsx)(js.a,{style:{marginRight:8}}):null,r||"\u5220\u9664"]})},"delete"):null},Nr=function(i){var c=i.recordKey,o=i.tableName,t=i.newLineConfig,r=i.editorType,d=i.onCancel,v=i.cancelEditable,g=i.row,b=i.cancelText,P=Object(fe.useContext)(Bn),I=Ot.a.useFormInstance();return Object(le.jsx)("a",{onClick:function(){var V=Object(Se.a)(Object(Re.a)().mark(function ae(ue){var ve,Oe,ke,Ie,Ye,Ze;return Object(Re.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return ue.stopPropagation(),ue.preventDefault(),Oe=r==="Map",ke=[o,c].flat(1).filter(Boolean),Ie=((ve=P.getFieldFormatValue)===null||ve===void 0?void 0:ve.call(P,ke))||I.getFieldValue(ke),Ye=Oe?Bt({},ke,Ie):Ie,yt.next=8,d==null?void 0:d(c,Ye,g,t);case 8:return Ze=yt.sent,v(c),I.setFieldsValue(Object(ft.a)({},c,Oe?jn(g,ke):g)),yt.abrupt("return",Ze);case 12:case"end":return yt.stop()}},ae)}));function K(ae){return V.apply(this,arguments)}return K}(),children:b||"\u53D6\u6D88"},"cancel")};function ua(u,i){var c=i.recordKey,o=i.newLineConfig,t=i.saveText,r=i.deleteText;return[Object(le.jsx)(Ua,Object(Te.a)(Object(Te.a)({},i),{},{row:u,children:t}),"save"+c),(o==null?void 0:o.options.recordKey)!==c?Object(le.jsx)(La,Object(Te.a)(Object(Te.a)({},i),{},{row:u,children:r}),"delete"+c):null,Object(le.jsx)(Nr,Object(Te.a)(Object(Te.a)({},i),{},{row:u}),"cancel"+c)]}function ra(u){var i=Object(fe.useState)(void 0),c=Object(Ge.a)(i,2),o=c[0],t=c[1],r=Object(fe.useRef)(new Map),d=Object(fe.useRef)(void 0);nr(function(){var Yt=new Map,En=function or($r,vr){$r==null||$r.forEach(function(Er,Hr){var Aa,Fr=vr==null?Hr.toString():vr+"_"+Hr.toString();Yt.set(Fr,zr(u.getRowKey(Er,-1))),Yt.set((Aa=zr(u.getRowKey(Er,-1)))===null||Aa===void 0?void 0:Aa.toString(),Fr),u.childrenColumnName&&Er[u.childrenColumnName]&&or(Er[u.childrenColumnName],Fr)})};En(u.dataSource),r.current=Yt},[u.dataSource]),d.current=o;var v=u.type||"single",g=Object(Yc.a)(u.dataSource,"children",u.getRowKey),b=Object(Ge.a)(g,1),P=b[0],I=Object(gc.a)([],{value:u.editableKeys,onChange:u.onChange?function(Yt){var En;u==null||(En=u.onChange)===null||En===void 0||En.call(u,Yt.filter(function(or){return or!==void 0}),Yt.map(function(or){return P(or)}).filter(function(or){return or!==void 0}))}:void 0}),V=Object(Ge.a)(I,2),K=V[0],ae=V[1],ue=Object(fe.useMemo)(function(){var Yt=v==="single"?K==null?void 0:K.slice(0,1):K;return new Set(Yt)},[(K||[]).join(","),v]),ve=cn(K),Oe=Object(Dt.a)(function(Yt){var En,or,$r,vr,Er=(En=u.getRowKey(Yt,Yt.index))===null||En===void 0||(or=En.toString)===null||or===void 0?void 0:or.call(En),Hr=($r=u.getRowKey(Yt,-1))===null||$r===void 0||(vr=$r.toString)===null||vr===void 0?void 0:vr.call($r),Aa=K.map(function(fa){return fa==null?void 0:fa.toString()}),Fr=(ve==null?void 0:ve.map(function(fa){return fa==null?void 0:fa.toString()}))||[],ca=u.tableName&&!!(Fr==null?void 0:Fr.includes(Hr))||!!(Fr==null?void 0:Fr.includes(Er));return{recordKey:Hr,isEditable:u.tableName&&(Aa==null?void 0:Aa.includes(Hr))||(Aa==null?void 0:Aa.includes(Er)),preIsEditable:ca}}),ke=Object(Dt.a)(function(Yt){return ue.size>0&&v==="single"&&u.onlyOneLineEditorAlertMessage!==!1?(Ee.default.warn(u.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1):(ue.add(Yt),ae(Array.from(ue)),!0)}),Ie=Object(Dt.a)(function(){var Yt=Object(Se.a)(Object(Re.a)().mark(function En(or,$r){var vr,Er;return Object(Re.a)().wrap(function(Aa){for(;;)switch(Aa.prev=Aa.next){case 0:if(vr=zr(or).toString(),Er=r.current.get(vr),!(!ue.has(vr)&&Er&&($r!=null?$r:!0)&&u.tableName)){Aa.next=5;break}return Ie(Er,!1),Aa.abrupt("return");case 5:return o&&o.options.recordKey===or&&t(void 0),ue.delete(vr),ue.delete(zr(or)),ae(Array.from(ue)),Aa.abrupt("return",!0);case 10:case"end":return Aa.stop()}},En)}));return function(En,or){return Yt.apply(this,arguments)}}()),Ye=Object(td.a)(Object(Se.a)(Object(Re.a)().mark(function Yt(){var En,or,$r,vr,Er=arguments;return Object(Re.a)().wrap(function(Aa){for(;;)switch(Aa.prev=Aa.next){case 0:for(or=Er.length,$r=new Array(or),vr=0;vr<or;vr++)$r[vr]=Er[vr];(En=u.onValuesChange)===null||En===void 0||En.call.apply(En,[u].concat($r));case 2:case"end":return Aa.stop()}},Yt)})),64),Ze=Object(Dt.a)(function(Yt,En){var or;if(!!u.onValuesChange){var $r=u.dataSource;K.forEach(function(Fr){if((o==null?void 0:o.options.recordKey)!==Fr){var ca=Fr.toString(),fa=jn(En,[u.tableName||"",ca].flat(1).filter(function(ai){return ai||ai===0}));!fa||($r=wr({data:$r,getRowKey:u.getRowKey,row:fa,key:ca,childrenColumnName:u.childrenColumnName||"children"},"update"))}});var vr=u.tableName?jn(Yt,[u.tableName||""].flat(1)):Yt,Er=(or=Object.keys(vr||{}).pop())===null||or===void 0?void 0:or.toString(),Hr=Object(Te.a)(Object(Te.a)({},o==null?void 0:o.defaultValue),jn(En,[u.tableName||"",Er.toString()].flat(1).filter(function(Fr){return Fr||Fr===0}))),Aa=r.current.has(zr(Er))?$r.find(function(Fr,ca){var fa,ai=(fa=u.getRowKey(Fr,ca))===null||fa===void 0?void 0:fa.toString();return ai===Er}):Hr;Ye.run(Aa||Hr,$r)}}),et=Object(Dt.a)(function(Yt,En){if((En==null?void 0:En.parentKey)&&!r.current.has(zr(En==null?void 0:En.parentKey).toString()))return console.warn("can't find record by key",En==null?void 0:En.parentKey),!1;if(d.current&&u.onlyAddOneLineAlertMessage!==!1)return Ee.default.warn(u.onlyAddOneLineAlertMessage||"\u53EA\u80FD\u65B0\u589E\u4E00\u884C"),!1;if(ue.size>0&&v==="single"&&u.onlyOneLineEditorAlertMessage!==!1)return Ee.default.warn(u.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1;var or=u.getRowKey(Yt,-1);if(!or)throw Ml(!!or,`\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(ue.add(or),ae(Array.from(ue)),(En==null?void 0:En.newRecordType)==="dataSource"||u.tableName){var $r,vr={data:u.dataSource,getRowKey:u.getRowKey,row:Object(Te.a)(Object(Te.a)({},Yt),{},{map_row_parentKey:(En==null?void 0:En.parentKey)?($r=zr(En==null?void 0:En.parentKey))===null||$r===void 0?void 0:$r.toString():void 0}),key:or,childrenColumnName:u.childrenColumnName||"children"};u.setDataSource(wr(vr,(En==null?void 0:En.position)==="top"?"top":"update"))}else t({defaultValue:Yt,options:Object(Te.a)(Object(Te.a)({},En),{},{recordKey:or})});return!0}),yt=Object(qe.d)(),jt=(u==null?void 0:u.saveText)||yt.getMessage("editableTable.action.save","\u4FDD\u5B58"),Ft=(u==null?void 0:u.deleteText)||yt.getMessage("editableTable.action.delete","\u5220\u9664"),Ht=(u==null?void 0:u.cancelText)||yt.getMessage("editableTable.action.cancel","\u53D6\u6D88"),Gt=Object(Dt.a)(function(){var Yt=Object(Se.a)(Object(Re.a)().mark(function En(or,$r,vr,Er){var Hr,Aa,Fr,ca,fa,ai,Wi;return Object(Re.a)().wrap(function(zi){for(;;)switch(zi.prev=zi.next){case 0:return ca=Er||d.current||{},fa=ca.options,zi.next=3,u==null||(Hr=u.onSave)===null||Hr===void 0?void 0:Hr.call(u,or,$r,vr,Er);case 3:if(ai=zi.sent,Ie(or),!(!(fa==null?void 0:fa.parentKey)&&(fa==null?void 0:fa.recordKey)===or)){zi.next=8;break}return(fa==null?void 0:fa.position)==="top"?u.setDataSource([$r].concat(Object(Fe.a)(u.dataSource))):u.setDataSource([].concat(Object(Fe.a)(u.dataSource),[$r])),zi.abrupt("return",ai);case 8:return Wi={data:u.dataSource,getRowKey:u.getRowKey,row:fa?Object(Te.a)(Object(Te.a)({},$r),{},{map_row_parentKey:(Aa=zr((Fr=fa==null?void 0:fa.parentKey)!==null&&Fr!==void 0?Fr:""))===null||Aa===void 0?void 0:Aa.toString()}):$r,key:or,childrenColumnName:u.childrenColumnName||"children"},u.setDataSource(wr(Wi,(fa==null?void 0:fa.position)==="top"?"top":"update")),zi.abrupt("return",ai);case 11:case"end":return zi.stop()}},En)}));return function(En,or,$r,vr){return Yt.apply(this,arguments)}}()),Jt=Object(Dt.a)(function(){var Yt=Object(Se.a)(Object(Re.a)().mark(function En(or,$r){var vr,Er,Hr;return Object(Re.a)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:return Er={data:u.dataSource,getRowKey:u.getRowKey,row:$r,key:or,childrenColumnName:u.childrenColumnName||"children"},Fr.next=3,u==null||(vr=u.onDelete)===null||vr===void 0?void 0:vr.call(u,or,$r);case 3:return Hr=Fr.sent,Fr.next=6,Ie(or);case 6:return u.setDataSource(wr(Er,"delete")),Fr.abrupt("return",Hr);case 8:case"end":return Fr.stop()}},En)}));return function(En,or){return Yt.apply(this,arguments)}}()),mn=Object(Dt.a)(function(){var Yt=Object(Se.a)(Object(Re.a)().mark(function En(or,$r,vr,Er){var Hr,Aa;return Object(Re.a)().wrap(function(ca){for(;;)switch(ca.prev=ca.next){case 0:return ca.next=2,u==null||(Hr=u.onCancel)===null||Hr===void 0?void 0:Hr.call(u,or,$r,vr,Er);case 2:return Aa=ca.sent,ca.abrupt("return",Aa);case 4:case"end":return ca.stop()}},En)}));return function(En,or,$r,vr){return Yt.apply(this,arguments)}}()),vn=function(En){var or=u.getRowKey(En,En.index),$r={saveText:jt,cancelText:Ht,deleteText:Ft,addEditRecord:et,recordKey:or,cancelEditable:Ie,index:En.index,tableName:u.tableName,newLineConfig:o,onCancel:mn,onDelete:Jt,onSave:Gt,editableKeys:K,setEditableRowKeys:ae,deletePopconfirmMessage:u.deletePopconfirmMessage||"".concat(yt.getMessage("deleteThisLine","\u5220\u9664\u6B64\u884C"),"?")},vr=ua(En,$r);return u.actionRender?u.actionRender(En,$r,{save:vr[0],delete:vr[1],cancel:vr[2]}):vr};return{editableKeys:K,setEditableRowKeys:ae,isEditable:Oe,actionRender:vn,startEditable:ke,cancelEditable:Ie,addEditRecord:et,newLineRecord:o,preEditableKeys:ve,onValuesChange:Ze}}var ri=ra,li=l("3j9d");function hi(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?hi=function(c){return typeof c}:hi=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},hi(u)}var ii=function(){var i=new WeakSet;return function(c,o){if(hi(o)==="object"&&o!==null){if(i.has(o))return;i.add(o)}return o}},Di=function(i){return JSON.stringify(i,ii())},Xo=function(i,c){try{return Di(i)===Di(c)}catch(o){}return!1};function ps(u){var i=Object(fe.useRef)("");return Xo(u,i.current)||(i.current=JSON.stringify(u,ii())),i.current}function mc(u,i){Object(fe.useEffect)(u,[ps(i)])}var Ts=mc,Ar=l("YkAm"),Gs=l("+KLJ"),Nc=l("wFNa"),Jc=function(i){var c=i.intl,o=i.onCleanSelected;return[Object(le.jsx)("a",{onClick:o,children:c.getMessage("alert.clear","\u6E05\u7A7A")},"0")]};function Fc(u){var i=u.selectedRowKeys,c=i===void 0?[]:i,o=u.onCleanSelected,t=u.alwaysShowAlert,r=u.selectedRows,d=u.alertInfoRender,v=d===void 0?function(ve){var Oe=ve.intl;return Object(le.jsxs)(lt.b,{children:[Oe.getMessage("alert.selected","\u5DF2\u9009\u62E9"),c.length,Oe.getMessage("alert.item","\u9879"),"\xA0\xA0"]})}:d,g=u.alertOptionRender,b=g===void 0?Jc:g,P=Object(qe.d)(),I=b&&b({onCleanSelected:o,selectedRowKeys:c,selectedRows:r,intl:P}),V=Object(fe.useContext)(bt.a.ConfigContext),K=V.getPrefixCls,ae=K("pro-table-alert");if(v===!1)return null;var ue=v({intl:P,selectedRowKeys:c,selectedRows:r,onCleanSelected:o});return ue===!1||c.length<1&&!t?null:Object(le.jsx)("div",{className:ae,children:Object(le.jsx)(Gs.a,{message:Object(le.jsxs)("div",{className:"".concat(ae,"-info"),children:[Object(le.jsx)("div",{className:"".concat(ae,"-info-content"),children:ue}),I?Object(le.jsx)("div",{className:"".concat(ae,"-info-option"),children:I}):null]}),type:"info"})})}var Ro=Fc,Dl=l("vuIU"),Vl=l("1OyB"),hu=l("Ji7U"),ru=l("LK+K");function pd(u,i,c){var o=i<0?u.length+i:i;if(o>=0&&o<u.length){var t=c<0?u.length+c:c,r=u.splice(i,1),d=Object(Ge.a)(r,1),v=d[0];u.splice(t,0,v)}}function ql(u,i,c){var o=Object(Fe.a)(u);return pd(o,i,c),o}var Ru=function(i){return i!=null};function Hl(u,i,c){var o,t;if(u===!1)return!1;var r=i.total,d=i.current,v=i.pageSize,g=i.setPageInfo,b=Object(Ve.a)(u)==="object"?u:{};return Object(Te.a)(Object(Te.a)({showTotal:function(I,V){return"".concat(c.getMessage("pagination.total.range","\u7B2C")," ").concat(V[0],"-").concat(V[1]," ").concat(c.getMessage("pagination.total.total","\u6761/\u603B\u5171")," ").concat(I," ").concat(c.getMessage("pagination.total.item","\u6761"))},total:r},b),{},{current:u!==!0&&u&&(o=u.current)!==null&&o!==void 0?o:d,pageSize:u!==!0&&u&&(t=u.pageSize)!==null&&t!==void 0?t:v,onChange:function(I,V){var K=u.onChange;K==null||K(I,V||20),(V!==v||d!==I)&&g({pageSize:V,current:I})}})}function fu(u,i,c){var o=Object(Te.a)(Object(Te.a)({},c.editableUtils),{},{pageInfo:i.pageInfo,reload:function(){var t=Object(Se.a)(Object(Re.a)().mark(function d(v){return Object(Re.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(!v){b.next=3;break}return b.next=3,i.setPageInfo({current:1});case 3:i==null||i.reload();case 4:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}(),reloadAndRest:function(){var t=Object(Se.a)(Object(Re.a)().mark(function d(){return Object(Re.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return c.onCleanSelected(),g.next=3,i.setPageInfo({current:1});case 3:return g.next=5,i==null?void 0:i.reload();case 5:case"end":return g.stop()}},d)}));function r(){return t.apply(this,arguments)}return r}(),reset:function(){var t=Object(Se.a)(Object(Re.a)().mark(function d(){var v;return Object(Re.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,c.resetAll();case 2:return b.next=4,i==null||(v=i.reset)===null||v===void 0?void 0:v.call(i);case 4:return b.next=6,i==null?void 0:i.reload();case 6:case"end":return b.stop()}},d)}));function r(){return t.apply(this,arguments)}return r}(),fullScreen:function(){return c.fullScreen()},clearSelected:function(){return c.onCleanSelected()},setPageInfo:function(r){return i.setPageInfo(r)}});u.current=o}function nd(u,i){return i.filter(function(c){return c}).length<1?u:i.reduce(function(c,o){return o(c)},u)}var bd=function(i,c){return c===void 0?!1:typeof c=="boolean"?c:c[i]},ml=function(i){var c;return i&&Object(Ve.a)(i)==="object"&&(i==null||(c=i.props)===null||c===void 0?void 0:c.colSpan)},os=function(i,c){return i?Array.isArray(i)?i.join("-"):i.toString():"".concat(c)};function wu(u){return Array.isArray(u)?u.join(","):u==null?void 0:u.toString()}function cd(u){var i={},c={};return u.forEach(function(o){var t=wu(o.dataIndex);if(!!t){if(o.filters){var r=o.defaultFilteredValue;r===void 0?i[t]=null:i[t]=o.defaultFilteredValue}o.sorter&&o.defaultSortOrder&&(c[t]=o.defaultSortOrder)}}),{sort:c,filter:i}}function Ud(u,i){var c=u.oldIndex,o=u.newIndex;if(c!==o){var t=ql(Object(Fe.a)(i||[]),c,o).filter(function(r){return!!r});return Object(Fe.a)(t)}return null}var Eu=function(i){var c=Object(fe.useRef)(i);return c.current=i,c},El=Eu,eu=l("2oH+"),rd=l.n(eu);function yn(u){var i=fe.useRef();i.current=u;var c=fe.useCallback(function(){for(var o,t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return(o=i.current)===null||o===void 0?void 0:o.call.apply(o,[i].concat(r))},[]);return c}function Dr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xr=Dr()?fe.useLayoutEffect:fe.useEffect,Ta=function(i,c){var o=fe.useRef(!0);Xr(function(){return i(o.current)},c),Xr(function(){return o.current=!1,function(){o.current=!0}},[])},Ra=function(i,c){Ta(function(o){if(!o)return i()},c)},wi=Ta;function mo(u){var i=fe.useRef(!1),c=fe.useState(u),o=Object(Ge.a)(c,2),t=o[0],r=o[1];fe.useEffect(function(){return i.current=!1,function(){i.current=!0}},[]);function d(v,g){g&&i.current||r(v)}return[t,d]}function Yi(u){return u!==void 0}function Ji(u,i){var c=i||{},o=c.defaultValue,t=c.value,r=c.onChange,d=c.postState,v=mo(function(){return Yi(t)?t:Yi(o)?typeof o=="function"?o():o:typeof u=="function"?u():u}),g=Object(Ge.a)(v,2),b=g[0],P=g[1],I=t!==void 0?t:b,V=d?d(I):I,K=yn(r),ae=mo([I]),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1];Ra(function(){var Ie=ve[0];b!==Ie&&K(b,Ie)},[ve]),Ra(function(){Yi(t)||P(t)},[t]);var ke=yn(function(Ie,Ye){P(Ie,Ye),Oe([I],Ye)});return[V,ke]}var Vs=l("i8i4"),Jo=l.n(Vs),dn=["children","trigger","onVisibleChange","drawerProps","onFinish","submitTimeout","title","width","visible"];function pn(u){var i,c,o,t,r=u.children,d=u.trigger,v=u.onVisibleChange,g=u.drawerProps,b=u.onFinish,P=u.submitTimeout,I=u.title,V=u.width,K=u.visible,ae=Object(ut.a)(u,dn);pi(!ae.footer||!(g==null?void 0:g.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 ue=Object(fe.useContext)(bt.a.ConfigContext),ve=Object(fe.useState)([]),Oe=Object(Ge.a)(ve,2),ke=Oe[1],Ie=Object(fe.useState)(!1),Ye=Object(Ge.a)(Ie,2),Ze=Ye[0],et=Ye[1],yt=Ji(!!K,{value:K,onChange:v}),jt=Object(Ge.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=Object(fe.useRef)(null),Jt=Object(fe.useCallback)(function(vr){Gt.current===null&&vr&&ke([]),Gt.current=vr},[]),mn=Object(fe.useRef)(),vn=Object(fe.useCallback)(function(){var vr,Er,Hr,Aa=(vr=(Er=(Hr=ae.formRef)===null||Hr===void 0?void 0:Hr.current)!==null&&Er!==void 0?Er:ae.form)!==null&&vr!==void 0?vr:mn.current;Aa&&(g==null?void 0:g.destroyOnClose)&&Aa.resetFields()},[g==null?void 0:g.destroyOnClose,ae.form,ae.formRef]);Object(fe.useEffect)(function(){Ft&&K&&(v==null||v(!0))},[K,Ft]);var Yt=Object(fe.useMemo)(function(){return d?pe.a.cloneElement(d,Object(Te.a)(Object(Te.a)({key:"trigger"},d.props),{},{onClick:function(){var vr=Object(Se.a)(Object(Re.a)().mark(function Hr(Aa){var Fr,ca;return Object(Re.a)().wrap(function(ai){for(;;)switch(ai.prev=ai.next){case 0:Ht(!Ft),(Fr=d.props)===null||Fr===void 0||(ca=Fr.onClick)===null||ca===void 0||ca.call(Fr,Aa);case 2:case"end":return ai.stop()}},Hr)}));function Er(Hr){return vr.apply(this,arguments)}return Er}()})):null},[Ht,d,Ft]),En=Object(fe.useMemo)(function(){var vr,Er,Hr,Aa,Fr,ca;return ae.submitter===!1?!1:rd()({searchConfig:{submitText:(vr=(Er=ue.locale)===null||Er===void 0||(Hr=Er.Modal)===null||Hr===void 0?void 0:Hr.okText)!==null&&vr!==void 0?vr:"\u786E\u8BA4",resetText:(Aa=(Fr=ue.locale)===null||Fr===void 0||(ca=Fr.Modal)===null||ca===void 0?void 0:ca.cancelText)!==null&&Aa!==void 0?Aa:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:P?Ze:void 0,onClick:function(ai){var Wi;Ht(!1),vn(),g==null||(Wi=g.onClose)===null||Wi===void 0||Wi.call(g,ai)}}},ae.submitter)},[ae.submitter,(i=ue.locale)===null||i===void 0||(c=i.Modal)===null||c===void 0?void 0:c.okText,(o=ue.locale)===null||o===void 0||(t=o.Modal)===null||t===void 0?void 0:t.cancelText,P,Ze,Ht,vn,g]),or=Object(fe.useCallback)(function(vr,Er){return Object(le.jsxs)(le.Fragment,{children:[vr,Gt.current&&Er?Object(Vs.createPortal)(Er,Gt.current):Er]})},[]),$r=Object(Dt.a)(function(){var vr=Object(Se.a)(Object(Re.a)().mark(function Er(Hr){var Aa,Fr,ca;return Object(Re.a)().wrap(function(ai){for(;;)switch(ai.prev=ai.next){case 0:return Aa=b==null?void 0:b(Hr),P&&Aa instanceof Promise&&(et(!0),Fr=setTimeout(function(){return et(!1)},P),Aa.finally(function(){clearTimeout(Fr),et(!1)})),ai.next=4,Aa;case 4:return ca=ai.sent,ca&&Ht(!1),ai.abrupt("return",ca);case 7:case"end":return ai.stop()}},Er)}));return function(Er){return vr.apply(this,arguments)}}());return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(He.a,Object(Te.a)(Object(Te.a)({title:I,width:V||800},g),{},{visible:Ft,onClose:function(Er){var Hr;P&&Ze||(vn(),Ht(!1),g==null||(Hr=g.onClose)===null||Hr===void 0||Hr.call(g,Er))},afterVisibleChange:function(Er){var Hr;Er||vn(),g==null||(Hr=g.afterVisibleChange)===null||Hr===void 0||Hr.call(g,Er)},footer:ae.submitter!==!1&&Object(le.jsx)("div",{ref:Jt,style:{display:"flex",justifyContent:"flex-end"}}),children:Object(le.jsx)(le.Fragment,{children:Object(le.jsx)(Oa,Object(Te.a)(Object(Te.a)({formComponentType:"DrawerForm",layout:"vertical",formRef:mn},ae),{},{submitter:En,onFinish:function(){var vr=Object(Se.a)(Object(Re.a)().mark(function Hr(Aa){var Fr;return Object(Re.a)().wrap(function(fa){for(;;)switch(fa.prev=fa.next){case 0:return fa.next=2,$r(Aa);case 2:return Fr=fa.sent,Fr===!0&&vn(),fa.abrupt("return",Fr);case 5:case"end":return fa.stop()}},Hr)}));function Er(Hr){return vr.apply(this,arguments)}return Er}(),contentRender:or,children:r}))})})),Yt]})}var sr={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"},lr=sr,_a=l("6VBw"),Fa=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:lr}))};Fa.displayName="FilterOutlined";var Va=fe.forwardRef(Fa),di=l("JF8p"),Ci=["size","collapse","collapseLabel","initialValues","onValuesChange","form","placement","formRef","bordered","ignoreRules","footerRender"],wo=function(i){var c=i.items,o=i.prefixCls,t=i.size,r=t===void 0?"middle":t,d=i.collapse,v=i.collapseLabel,g=i.onValuesChange,b=i.bordered,P=i.values,I=i.footerRender,V=i.placement,K=Object(qe.d)(),ae="".concat(o,"-light-filter"),ue=Object(fe.useState)(!1),ve=Object(Ge.a)(ue,2),Oe=ve[0],ke=ve[1],Ie=Object(fe.useState)(function(){return Object(Te.a)({},P)}),Ye=Object(Ge.a)(Ie,2),Ze=Ye[0],et=Ye[1];Object(fe.useEffect)(function(){et(Object(Te.a)({},P))},[P]);var yt=Object(fe.useMemo)(function(){var Gt=[],Jt=[];return c.forEach(function(mn){var vn=mn.props||{},Yt=vn.secondary;Yt||d?Gt.push(mn):Jt.push(mn)}),{collapseItems:Gt,outsideItems:Jt}},[i.items]),jt=yt.collapseItems,Ft=yt.outsideItems,Ht=function(){return v||(d?Object(le.jsx)(Va,{className:"".concat(ae,"-collapse-icon")}):Object(le.jsx)(Fn,{size:r,label:K.getMessage("form.lightFilter.more","\u66F4\u591A\u7B5B\u9009"),expanded:Oe}))};return Object(le.jsx)("div",{className:tr()(ae,"".concat(ae,"-").concat(r),Object(ft.a)({},"".concat(ae,"-effective"),Object.keys(P).some(function(Gt){return P[Gt]}))),children:Object(le.jsxs)("div",{className:"".concat(ae,"-container"),children:[Ft.map(function(Gt,Jt){var mn=Gt.key,vn=Gt.props.fieldProps,Yt=(vn==null?void 0:vn.placement)?vn==null?void 0:vn.placement:V;return Object(le.jsx)("div",{className:"".concat(ae,"-item"),children:pe.a.cloneElement(Gt,{fieldProps:Object(Te.a)(Object(Te.a)({},Gt.props.fieldProps),{},{placement:Yt}),proFieldProps:{light:!0,label:Gt.props.label,bordered:b},bordered:b})},mn||Jt)}),jt.length?Object(le.jsx)("div",{className:"".concat(ae,"-item"),children:Object(le.jsx)(qn,{padding:24,onVisibleChange:ke,visible:Oe,placement:V,label:Ht(),footerRender:I,footer:{onConfirm:function(){g(Object(Te.a)({},Ze)),ke(!1)},onClear:function(){var Jt={};jt.forEach(function(mn){var vn=mn.props.name;Jt[vn]=void 0}),g(Jt)}},children:jt.map(function(Gt){var Jt=Gt.key,mn=Gt.props,vn=mn.name,Yt=mn.fieldProps,En=Object(Te.a)(Object(Te.a)({},Yt),{},{onChange:function(vr){return et(Object(Te.a)(Object(Te.a)({},Ze),{},Object(ft.a)({},vn,(vr==null?void 0:vr.target)?vr.target.value:vr))),!1}});Ze.hasOwnProperty(vn)&&(En[Gt.props.valuePropName||"value"]=Ze[vn]);var or=(Yt==null?void 0:Yt.placement)?Yt==null?void 0:Yt.placement:V;return Object(le.jsx)("div",{className:"".concat(ae,"-line"),children:pe.a.cloneElement(Gt,{fieldProps:Object(Te.a)(Object(Te.a)({},En),{},{placement:or})})},Jt)})})},"more"):null]})})};function ho(u){var i=u.size,c=u.collapse,o=u.collapseLabel,t=u.initialValues,r=u.onValuesChange,d=u.form,v=u.placement,g=u.formRef,b=u.bordered,P=u.ignoreRules,I=u.footerRender,V=Object(ut.a)(u,Ci),K=Object(fe.useContext)(bt.a.ConfigContext),ae=K.getPrefixCls,ue=ae("pro-form"),ve=Object(fe.useState)(function(){return Object(Te.a)({},t)}),Oe=Object(Ge.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=Object(fe.useRef)();return Object(fe.useImperativeHandle)(g,function(){return Ye.current}),Object(le.jsx)(Oa,Object(Te.a)(Object(Te.a)({size:i,initialValues:t,form:d,contentRender:function(et){return Object(le.jsx)(wo,{prefixCls:ue,items:et.flatMap(function(yt){return(yt==null?void 0:yt.type.displayName)==="ProForm-Group"?yt.props.children:yt}),size:i,bordered:b,collapse:c,collapseLabel:o,placement:v,values:ke||{},footerRender:I,onValuesChange:function(jt){var Ft,Ht,Gt=Object(Te.a)(Object(Te.a)({},ke),jt);Ie(Gt),(Ft=Ye.current)===null||Ft===void 0||Ft.setFieldsValue(Gt),(Ht=Ye.current)===null||Ht===void 0||Ht.submit(),r&&r(jt,Gt)}})},formRef:Ye,formItemProps:{colon:!1,labelAlign:"left"},fieldProps:{style:{width:void 0}}},Object(Ma.a)(V,["labelWidth"])),{},{onValuesChange:function(et,yt){var jt;Ie(yt),r==null||r(et,yt),(jt=Ye.current)===null||jt===void 0||jt.submit()}}))}var Io=l("2qtc"),Fo=l("kLXV"),xs=["children","trigger","onVisibleChange","modalProps","onFinish","submitTimeout","title","width","visible"];function ms(u){var i,c,o,t,r=u.children,d=u.trigger,v=u.onVisibleChange,g=u.modalProps,b=u.onFinish,P=u.submitTimeout,I=u.title,V=u.width,K=u.visible,ae=Object(ut.a)(u,xs);pi(!ae.footer||!(g==null?void 0:g.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 ue=Object(fe.useContext)(bt.a.ConfigContext),ve=Object(fe.useState)([]),Oe=Object(Ge.a)(ve,2),ke=Oe[1],Ie=Object(fe.useState)(!1),Ye=Object(Ge.a)(Ie,2),Ze=Ye[0],et=Ye[1],yt=Ji(!!K,{value:K,onChange:v}),jt=Object(Ge.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=Object(fe.useRef)(null),Jt=Object(fe.useCallback)(function(vr){Gt.current===null&&vr&&ke([]),Gt.current=vr},[]),mn=Object(fe.useRef)(),vn=Object(fe.useCallback)(function(){var vr,Er,Hr,Aa=(vr=(Er=ae.form)!==null&&Er!==void 0?Er:(Hr=ae.formRef)===null||Hr===void 0?void 0:Hr.current)!==null&&vr!==void 0?vr:mn.current;Aa&&(g==null?void 0:g.destroyOnClose)&&Aa.resetFields()},[g==null?void 0:g.destroyOnClose,ae.form,ae.formRef]);Object(fe.useEffect)(function(){Ft&&K&&(v==null||v(!0))},[K,Ft]);var Yt=Object(fe.useMemo)(function(){return d?pe.a.cloneElement(d,Object(Te.a)(Object(Te.a)({key:"trigger"},d.props),{},{onClick:function(){var vr=Object(Se.a)(Object(Re.a)().mark(function Hr(Aa){var Fr,ca;return Object(Re.a)().wrap(function(ai){for(;;)switch(ai.prev=ai.next){case 0:Ht(!Ft),(Fr=d.props)===null||Fr===void 0||(ca=Fr.onClick)===null||ca===void 0||ca.call(Fr,Aa);case 2:case"end":return ai.stop()}},Hr)}));function Er(Hr){return vr.apply(this,arguments)}return Er}()})):null},[Ht,d,Ft]),En=Object(fe.useMemo)(function(){var vr,Er,Hr,Aa,Fr,ca,fa,ai;return ae.submitter===!1?!1:rd()({searchConfig:{submitText:(vr=(Er=g==null?void 0:g.okText)!==null&&Er!==void 0?Er:(Hr=ue.locale)===null||Hr===void 0||(Aa=Hr.Modal)===null||Aa===void 0?void 0:Aa.okText)!==null&&vr!==void 0?vr:"\u786E\u8BA4",resetText:(Fr=(ca=g==null?void 0:g.cancelText)!==null&&ca!==void 0?ca:(fa=ue.locale)===null||fa===void 0||(ai=fa.Modal)===null||ai===void 0?void 0:ai.cancelText)!==null&&Fr!==void 0?Fr:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:P?Ze:void 0,onClick:function(Co){var zi;Ht(!1),vn(),g==null||(zi=g.onCancel)===null||zi===void 0||zi.call(g,Co)}}},ae.submitter)},[(i=ue.locale)===null||i===void 0||(c=i.Modal)===null||c===void 0?void 0:c.cancelText,(o=ue.locale)===null||o===void 0||(t=o.Modal)===null||t===void 0?void 0:t.okText,g,ae.submitter,Ht,Ze,P,vn]),or=Object(fe.useCallback)(function(vr,Er){return Object(le.jsxs)(le.Fragment,{children:[vr,Gt.current&&Er?Object(Vs.createPortal)(Er,Gt.current):Er]})},[]),$r=Object(fe.useCallback)(function(){var vr=Object(Se.a)(Object(Re.a)().mark(function Er(Hr){var Aa,Fr,ca;return Object(Re.a)().wrap(function(ai){for(;;)switch(ai.prev=ai.next){case 0:return Aa=b==null?void 0:b(Hr),P&&Aa instanceof Promise&&(et(!0),Fr=setTimeout(function(){return et(!1)},P),Aa.finally(function(){clearTimeout(Fr),et(!1)})),ai.next=4,Aa;case 4:return ca=ai.sent,ca&&Ht(!1),ai.abrupt("return",ca);case 7:case"end":return ai.stop()}},Er)}));return function(Er){return vr.apply(this,arguments)}}(),[b,Ht,P]);return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(Fo.a,Object(Te.a)(Object(Te.a)({title:I,width:V||800},g),{},{visible:Ft,onCancel:function(Er){var Hr;P&&Ze||(Ht(!1),g==null||(Hr=g.onCancel)===null||Hr===void 0||Hr.call(g,Er))},afterClose:function(){var Er;vn(),g==null||(Er=g.afterClose)===null||Er===void 0||Er.call(g)},footer:ae.submitter!==!1&&Object(le.jsx)("div",{ref:Jt,style:{display:"flex",justifyContent:"flex-end"}}),children:Object(le.jsx)(Oa,Object(Te.a)(Object(Te.a)({formComponentType:"ModalForm",layout:"vertical",formRef:mn},ae),{},{submitter:En,onFinish:function(){var vr=Object(Se.a)(Object(Re.a)().mark(function Hr(Aa){var Fr;return Object(Re.a)().wrap(function(fa){for(;;)switch(fa.prev=fa.next){case 0:return fa.next=2,$r(Aa);case 2:return Fr=fa.sent,Fr===!0&&vn(),fa.abrupt("return",Fr);case 5:case"end":return fa.stop()}},Hr)}));function Er(Hr){return vr.apply(this,arguments)}return Er}(),contentRender:or,children:r}))})),Yt]})}var ys=l("bE4E"),bs=l("PArb"),Po=l("7z/i"),yr=l("t23M"),Ls=function(i){if(i&&i!==!0)return i},Zs=Ls,Sc=function(i,c,o,t){return i?Object(le.jsxs)(le.Fragment,{children:[o.getMessage("tableForm.collapsed","\u5C55\u5F00"),t&&"(".concat(t,")"),Object(le.jsx)(xr.a,{style:{marginLeft:"0.5em",transition:"0.3s all",transform:"rotate(".concat(i?0:.5,"turn)")}})]}):Object(le.jsxs)(le.Fragment,{children:[o.getMessage("tableForm.expand","\u6536\u8D77"),Object(le.jsx)(xr.a,{style:{marginLeft:"0.5em",transition:"0.3s all",transform:"rotate(".concat(i?0:.5,"turn)")}})]})},Hs=function(i){var c=i.setCollapsed,o=i.collapsed,t=o===void 0?!1:o,r=i.submitter,d=i.style,v=i.hiddenNum,g=Object(fe.useContext)(bt.a.ConfigContext),b=g.getPrefixCls,P=Object(qe.d)(),I=Zs(i.collapseRender)||Sc;return Object(le.jsxs)(lt.b,{style:d,size:16,children:[r,i.collapseRender!==!1&&Object(le.jsx)("a",{className:b("pro-form-collapse-button"),onClick:function(){return c(!t)},children:I==null?void 0:I(t,i,P,v)})]})},bc=Hs,cr=["collapsed","layout","defaultCollapsed","defaultColsNumber","span","searchGutter","searchText","resetText","optionRender","collapseRender","onReset","onCollapse","labelWidth","style","split","preserve","ignoreRules","showHiddenNum"],qr,yi,Ki={xs:513,sm:513,md:785,lg:992,xl:1057,xxl:Infinity},uo={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"]]},As=function(i,c,o){if(o&&typeof o=="number")return{span:o,layout:i};var t=o?["xs","sm","md","lg","xl","xxl"].map(function(d){return[Ki[d],24/o[d],"horizontal"]}):uo[i||"default"],r=(t||uo.default).find(function(d){return c<d[0]+16});return{span:24/r[1],layout:r[2]}},zc=function(i,c){return i.flatMap(function(o){var t;if((o==null?void 0:o.type.displayName)==="ProForm-Group"&&!((t=o.props)===null||t===void 0?void 0:t.title))return o.props.children;if(c&&pe.a.isValidElement(o)){var r;return pe.a.cloneElement(o,Object(Te.a)(Object(Te.a)({},o.props),{},{formItemProps:Object(Te.a)(Object(Te.a)({},(r=o.props)===null||r===void 0?void 0:r.formItemProps),{},{rules:[]})}))}return o})},cc=function(i){var c=Object(qe.d)(),o=i.resetText||c.getMessage("tableForm.reset","\u91CD\u7F6E"),t=i.searchText||c.getMessage("tableForm.search","\u641C\u7D22"),r=Ji(function(){return i.defaultCollapsed&&!!i.submitter},{value:i.collapsed,onChange:i.onCollapse}),d=Object(Ge.a)(r,2),v=d[0],g=d[1],b=i.optionRender,P=i.collapseRender,I=i.split,V=i.items,K=i.spanSize,ae=i.showLength,ue=i.searchGutter,ve=i.showHiddenNum,Oe=Object(fe.useMemo)(function(){return!i.submitter||b===!1?null:pe.a.cloneElement(i.submitter,Object(Te.a)({searchConfig:{resetText:o,submitText:t},render:b&&function(Jt,mn){return b(Object(Te.a)(Object(Te.a)({},i),{},{resetText:o,searchText:t}),i,mn)}},i.submitter.props))},[i,o,t,b]),ke=0,Ie=0,Ye=!1,Ze=0,et=0,yt=zc(V,i.ignoreRules).map(function(Jt,mn){var vn,Yt,En,or,$r=pe.a.isValidElement(Jt)&&(vn=Jt==null||(Yt=Jt.props)===null||Yt===void 0?void 0:Yt.colSize)!==null&&vn!==void 0?vn:1,vr=Math.min(K.span*($r||1),24);if(ke+=vr,Ze+=$r,mn===0){var Er;Ye=vr===24&&!(Jt==null||(Er=Jt.props)===null||Er===void 0?void 0:Er.hidden)}var Hr=(Jt==null||(En=Jt.props)===null||En===void 0?void 0:En.hidden)||v&&(Ye||Ze>ae-1)&&!!mn&&ke>=24;Ie+=1;var Aa=pe.a.isValidElement(Jt)&&(Jt.key||"".concat((or=Jt.props)===null||or===void 0?void 0:or.name))||mn;return pe.a.isValidElement(Jt)&&Hr?i.preserve?{itemDom:pe.a.cloneElement(Jt,{hidden:!0,key:Aa||mn}),hidden:!0,colSpan:vr}:{itemDom:null,colSpan:0,hidden:!0}:{itemDom:Jt,colSpan:vr,hidden:!1}}),jt=yt.map(function(Jt,mn){var vn,Yt,En=Jt.itemDom,or=Jt.colSpan,$r=En==null||(vn=En.props)===null||vn===void 0?void 0:vn.hidden;if($r)return En;var vr=pe.a.isValidElement(En)&&(En.key||"".concat((Yt=En.props)===null||Yt===void 0?void 0:Yt.name))||mn;24-et%24<or&&(ke+=24-et%24,et+=24-et%24),et+=or;var Er=Object(le.jsx)(Fi.a,{span:or,children:En},vr);return I&&et%24==0&&mn<Ie-1?[Er,Object(le.jsx)(Fi.a,{span:"24",children:Object(le.jsx)(bs.a,{style:{marginTop:-8,marginBottom:16},dashed:!0})},"line")]:Er}),Ft=ve&&yt.filter(function(Jt){return Jt.hidden}).length,Ht=Object(fe.useMemo)(function(){return!(ke<24||Ze<=ae)},[Ze,ae,ke]),Gt=Object(fe.useMemo)(function(){var Jt=et%24+K.span;return 24-Jt},[et,K.span]);return Object(le.jsxs)(qi.a,{gutter:ue,justify:"start",children:[jt,Oe&&Object(le.jsx)(Fi.a,{span:K.span,offset:Gt,style:{textAlign:"right"},children:Object(le.jsx)(Ot.a.Item,{label:" ",colon:!1,className:"pro-form-query-filter-actions",children:Object(le.jsx)(bc,{hiddenNum:Ft,collapsed:v,collapseRender:Ht?P:!1,submitter:Oe,setCollapsed:g},"pro-form-query-filter-actions")})},"submitter")]},"resize-observer-row")},fl=Object(Po.a)()?(qr=document)===null||qr===void 0||(yi=qr.body)===null||yi===void 0?void 0:yi.clientWidth:1024;function Bc(u){var i=u.collapsed,c=u.layout,o=u.defaultCollapsed,t=o===void 0?!0:o,r=u.defaultColsNumber,d=u.span,v=u.searchGutter,g=v===void 0?24:v,b=u.searchText,P=u.resetText,I=u.optionRender,V=u.collapseRender,K=u.onReset,ae=u.onCollapse,ue=u.labelWidth,ve=ue===void 0?"80":ue,Oe=u.style,ke=u.split,Ie=u.preserve,Ye=Ie===void 0?!0:Ie,Ze=u.ignoreRules,et=u.showHiddenNum,yt=et===void 0?!1:et,jt=Object(ut.a)(u,cr),Ft=Object(fe.useContext)(bt.a.ConfigContext),Ht=Ft.getPrefixCls("pro-form-query-filter"),Gt=Object(Tn.a)(function(){return typeof(Oe==null?void 0:Oe.width)=="number"?Oe==null?void 0:Oe.width:fl}),Jt=Object(Ge.a)(Gt,2),mn=Jt[0],vn=Jt[1],Yt=Object(fe.useMemo)(function(){return As(c,mn+16,d)},[c,mn,d]),En=Object(fe.useMemo)(function(){return r!==void 0?r-1:Math.max(1,24/Yt.span-1)},[r,Yt.span]),or=Object(fe.useMemo)(function(){if(ve&&Yt.layout!=="vertical"&&ve!=="auto")return{labelCol:{flex:"0 0 ".concat(ve,"px")},wrapperCol:{style:{maxWidth:"calc(100% - ".concat(ve,"px)")}},style:{flexWrap:"nowrap"}}},[Yt.layout,ve]);return Object(le.jsx)(yr.a,{onResize:function(vr){mn!==vr.width&&vr.width>17&&vn(vr.width)},children:Object(le.jsx)(Oa,Object(Te.a)(Object(Te.a)({isKeyPressSubmit:!0,preserve:Ye},jt),{},{className:tr()(Ht,jt.className),onReset:K,style:Oe,layout:Yt.layout,fieldProps:{style:{width:"100%"}},formItemProps:or,groupProps:{titleStyle:{display:"inline-block",marginRight:16}},contentRender:function(vr,Er,Hr){return Object(le.jsx)(cc,{spanSize:Yt,collapsed:i,form:Hr,collapseRender:V,defaultCollapsed:t,onCollapse:ae,optionRender:I,submitter:Er,items:vr,split:ke,resetText:u.resetText,searchText:u.searchText,searchGutter:g,preserve:Ye,ignoreRules:Ze,showLength:En,showHiddenNum:yt})}}))},"resize-observer")}var Gl=l("8txm"),Fl=l("MXD1"),pl=l("L41K"),gu=l("bpiW"),bl=["onFinish","step","formRef","title","stepProps"];function tu(u){var i=Object(fe.useRef)(),c=Object(fe.useContext)(il),o=u.onFinish,t=u.step,r=u.formRef,d=u.title,v=u.stepProps,g=Object(ut.a)(u,bl);return pi(!g.submitter,"StepForm \u4E0D\u5305\u542B\u63D0\u4EA4\u6309\u94AE\uFF0C\u8BF7\u5728 StepsForm \u4E0A"),Object(fe.useImperativeHandle)(r,function(){return i.current}),Object(fe.useEffect)(function(){if(!!(u.name||u.step)){var b=(u.name||u.step).toString();return c==null||c.regForm(b,u),function(){c==null||c.unRegForm(b)}}},[]),c&&(c==null?void 0:c.formArrayRef)&&(c.formArrayRef.current[t||0]=i),Object(le.jsx)(Oa,Object(Te.a)({formRef:i,onFinish:function(){var b=Object(Se.a)(Object(Re.a)().mark(function I(V){var K;return Object(Re.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(g.name&&(c==null||c.onFormFinish(g.name,V)),!o){ue.next=9;break}return c==null||c.setLoading(!0),ue.next=5,o==null?void 0:o(V);case 5:return K=ue.sent,K&&(c==null||c.next()),c==null||c.setLoading(!1),ue.abrupt("return");case 9:(c==null?void 0:c.lastStep)||c==null||c.next();case 10:case"end":return ue.stop()}},I)}));function P(I){return b.apply(this,arguments)}return P}(),layout:"vertical"},g))}var hl=tu,ju=["current","onCurrentChange","submitter","stepsFormRender","stepsRender","stepFormRender","stepsProps","onFinish","formProps","containerStyle","formRef","formMapRef"],il=pe.a.createContext(void 0),Mu={horizontal:function(i){var c=i.stepsDom,o=i.formDom;return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(qi.a,{gutter:{xs:8,sm:16,md:24},children:Object(le.jsx)(Fi.a,{span:24,children:c})}),Object(le.jsx)(qi.a,{gutter:{xs:8,sm:16,md:24},children:Object(le.jsx)(Fi.a,{span:24,children:o})})]})},vertical:function(i){var c=i.stepsDom,o=i.formDom;return Object(le.jsxs)(qi.a,{align:"stretch",wrap:!0,gutter:{xs:8,sm:16,md:24},children:[Object(le.jsx)(Fi.a,{xxl:4,xl:6,lg:7,md:8,sm:10,xs:12,children:pe.a.cloneElement(c,{style:{height:"100%"}})}),Object(le.jsx)(Fi.a,{children:Object(le.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",height:"100%"},children:o})})]})}};function ji(u){var i=Object(fe.useContext)(bt.a.ConfigContext),c=i.getPrefixCls,o=c("pro-steps-form"),t=u.current,r=u.onCurrentChange,d=u.submitter,v=u.stepsFormRender,g=u.stepsRender,b=u.stepFormRender,P=u.stepsProps,I=u.onFinish,V=u.formProps,K=u.containerStyle,ae=u.formRef,ue=u.formMapRef,ve=Object(ut.a)(u,ju),Oe=Object(fe.useRef)(new Map),ke=Object(fe.useRef)(new Map),Ie=Object(fe.useRef)([]),Ye=Object(fe.useState)([]),Ze=Object(Ge.a)(Ye,2),et=Ze[0],yt=Ze[1],jt=Object(fe.useState)(!1),Ft=Object(Ge.a)(jt,2),Ht=Ft[0],Gt=Ft[1],Jt=Object(qe.d)(),mn=Ji(0,{value:u.current,onChange:u.onCurrentChange}),vn=Object(Ge.a)(mn,2),Yt=vn[0],En=vn[1],or=Object(fe.useMemo)(function(){return Mu[(P==null?void 0:P.direction)||"horizontal"]},[P==null?void 0:P.direction]),$r=Object(fe.useMemo)(function(){return Yt===et.length-1},[et.length,Yt]),vr=Object(fe.useCallback)(function(ns,fc){ke.current.has(ns)||yt(function(Kc){return[].concat(Object(Fe.a)(Kc),[ns])}),ke.current.set(ns,fc)},[]),Er=Object(fe.useCallback)(function(ns){yt(function(fc){return fc.filter(function(Kc){return Kc!==ns})}),ke.current.delete(ns),Oe.current.delete(ns)},[]);Object(fe.useImperativeHandle)(ue,function(){return Ie.current}),Object(fe.useImperativeHandle)(ae,function(){var ns;return(ns=Ie.current[Yt||0])===null||ns===void 0?void 0:ns.current},[Yt]);var Hr=Object(fe.useCallback)(function(){var ns=Object(Se.a)(Object(Re.a)().mark(function fc(Kc,gl){var du,yu;return Object(Re.a)().wrap(function(Ql){for(;;)switch(Ql.prev=Ql.next){case 0:if(Oe.current.set(Kc,gl),!(!$r||!I)){Ql.next=3;break}return Ql.abrupt("return");case 3:return Gt(!0),du=Sn.apply(void 0,[{}].concat(Object(Fe.a)(Array.from(Oe.current.values())))),Ql.prev=5,Ql.next=8,I(du);case 8:yu=Ql.sent,yu&&(En(0),Ie.current.forEach(function(Bl){var Qo;return(Qo=Bl.current)===null||Qo===void 0?void 0:Qo.resetFields()})),Ql.next=15;break;case 12:Ql.prev=12,Ql.t0=Ql.catch(5),console.log(Ql.t0);case 15:return Ql.prev=15,Gt(!1),Ql.finish(15);case 18:case"end":return Ql.stop()}},fc,null,[[5,12,15,18]])}));return function(fc,Kc){return ns.apply(this,arguments)}}(),[$r,I,Gt,En]),Aa=Object(fe.useMemo)(function(){return Object(le.jsx)("div",{className:"".concat(o,"-steps-container"),style:{maxWidth:Math.min(et.length*320,1160)},children:Object(le.jsx)(pl.a,Object(Te.a)(Object(Te.a)({},P),{},{current:Yt,onChange:void 0,children:et.map(function(ns){var fc=ke.current.get(ns);return Object(le.jsx)(pl.a.Step,Object(Te.a)({title:fc==null?void 0:fc.title},fc==null?void 0:fc.stepProps),ns)})}))})},[et,o,Yt,P]),Fr=Object(Dt.a)(function(){var ns,fc=Ie.current[Yt];(ns=fc.current)===null||ns===void 0||ns.submit()}),ca=Object(Dt.a)(function(){Yt<1||En(Yt-1)}),fa=Object(fe.useMemo)(function(){return d!==!1&&Object(le.jsx)(it.a,Object(Te.a)(Object(Te.a)({type:"primary",loading:Ht},d==null?void 0:d.submitButtonProps),{},{onClick:function(){var fc;d==null||(fc=d.onSubmit)===null||fc===void 0||fc.call(d),Fr()},children:Jt.getMessage("stepsForm.next","\u4E0B\u4E00\u6B65")}),"next")},[Jt,Ht,Fr,d]),ai=Object(fe.useMemo)(function(){return d!==!1&&Object(le.jsx)(it.a,Object(Te.a)(Object(Te.a)({},d==null?void 0:d.resetButtonProps),{},{onClick:function(){var fc;ca(),d==null||(fc=d.onReset)===null||fc===void 0||fc.call(d)},children:Jt.getMessage("stepsForm.prev","\u4E0A\u4E00\u6B65")}),"pre")},[Jt,ca,d]),Wi=Object(fe.useMemo)(function(){return d!==!1&&Object(le.jsx)(it.a,Object(Te.a)(Object(Te.a)({type:"primary",loading:Ht},d==null?void 0:d.submitButtonProps),{},{onClick:function(){var fc;d==null||(fc=d.onSubmit)===null||fc===void 0||fc.call(d),Fr()},children:Jt.getMessage("stepsForm.submit","\u63D0\u4EA4")}),"submit")},[Jt,Ht,Fr,d]),Co=Object(Dt.a)(function(){Yt>et.length-2||En(Yt+1)}),zi=Object(fe.useMemo)(function(){var ns=[],fc=Yt||0;if(fc<1?ns.push(fa):fc+1===et.length?ns.push(ai,Wi):ns.push(ai,fa),ns=ns.filter(pe.a.isValidElement),d&&d.render){var Kc,gl={form:(Kc=Ie.current[Yt])===null||Kc===void 0?void 0:Kc.current,onSubmit:Fr,step:Yt,onPre:ca};return d.render(gl,ns)}return d&&(d==null?void 0:d.render)===!1?null:ns},[et.length,fa,Fr,ai,ca,Yt,Wi,d]),us=Object(fe.useMemo)(function(){return ks(u.children).map(function(ns,fc){var Kc=ns.props,gl=Kc.name||"".concat(fc),du=Yt===fc,yu=du?{contentRender:b,submitter:!1}:{};return Object(le.jsx)("div",{className:tr()("".concat(o,"-step"),Object(ft.a)({},"".concat(o,"-step-active"),du)),children:pe.a.cloneElement(ns,Object(Te.a)(Object(Te.a)(Object(Te.a)(Object(Te.a)({},yu),V),Kc),{},{name:gl,step:fc,key:gl}))},gl)})},[V,o,u.children,Yt,b]),Us=Object(fe.useMemo)(function(){return g?g(et.map(function(ns){var fc;return{key:ns,title:(fc=ke.current.get(ns))===null||fc===void 0?void 0:fc.title}}),Aa):Aa},[et,Aa,g]),po=Object(fe.useMemo)(function(){return Object(le.jsxs)("div",{className:"".concat(o,"-container"),style:K,children:[us,v?null:Object(le.jsx)(lt.b,{children:zi})]})},[K,us,o,v,zi]),dc=Object(fe.useMemo)(function(){var ns={stepsDom:Us,formDom:po};return v?v(or(ns),zi):or(ns)},[Us,po,or,v,zi]);return Object(le.jsx)("div",{className:o,children:Object(le.jsx)(Ot.a.Provider,Object(Te.a)(Object(Te.a)({},ve),{},{children:Object(le.jsx)(il.Provider,{value:{loading:Ht,setLoading:Gt,regForm:vr,keyArray:et,next:Co,formArrayRef:Ie,formMapRef:ke,lastStep:$r,unRegForm:Er,onFormFinish:Hr},children:dc})}))})}function xa(u){return Object(le.jsx)(qe.a,{children:Object(le.jsx)(ji,Object(Te.a)({},u))})}xa.StepForm=hl,xa.useForm=Ot.a.useForm;var as=["steps","columns","forceUpdate","grid"],ws=function(i){var c=i.steps,o=i.columns,t=i.forceUpdate,r=i.grid,d=Object(ut.a)(i,as),v=El(d),g=Object(fe.useCallback)(function(P){var I,V;(I=(V=v.current).onCurrentChange)===null||I===void 0||I.call(V,P),t([])},[t,v]),b=Object(fe.useMemo)(function(){return c==null?void 0:c.map(function(P,I){return Object(fe.createElement)(gT,Object(Te.a)(Object(Te.a)({grid:r},P),{},{key:I,layoutType:"StepForm",columns:o[I]}))})},[o,r,c]);return Object(le.jsx)(xa,Object(Te.a)(Object(Te.a)({},d),{},{onCurrentChange:g,children:b}))},Cs=ws,$o=function(i){var c=i.children;return Object(le.jsx)(le.Fragment,{children:c})},_c=$o,Lc=["name","children","ignoreFormListField"],Rl=function(i){var c=i.name,o=i.children,t=i.ignoreFormListField,r=Object(ut.a)(i,Lc),d=Object(fe.useContext)(Bn),v=Object(fe.useContext)(Ei),g=Object(fe.useMemo)(function(){return c.map(function(b){var P,I=[b];return!t&&v.name!==void 0&&((P=v.listName)===null||P===void 0?void 0:P.length)&&I.unshift(v.listName),I.flat(1)})},[v.listName,v.name,t,c]);return Object(le.jsx)(Ot.a.Item,Object(Te.a)(Object(Te.a)({},r),{},{noStyle:!0,shouldUpdate:function(P,I,V){if(typeof r.shouldUpdate=="boolean")return r.shouldUpdate;if(typeof r.shouldUpdate=="function"){var K;return(K=r.shouldUpdate)===null||K===void 0?void 0:K.call(r,P,I,V)}return g.some(function(ae){return!_n(va(P,ae),va(I,ae))})},children:function(P){for(var I={},V=0;V<c.length;V++){var K,ae=g[V],ue=c[V],ve=[ue].flat(1),Oe=(K=d.getFieldFormatValueObject)===null||K===void 0?void 0:K.call(d,ae);if(Oe&&Object.keys(Oe).length)I=Sn({},I,Oe),va(Oe,ae)&&(I=gi(I,ve,va(Oe,ae),!1));else{var ke;Oe=(ke=P.getFieldValue)===null||ke===void 0?void 0:ke.call(P,ae),typeof Oe!="undefined"&&(I=gi(I,ve,Oe,!1))}}return o==null?void 0:o(I,Object(Te.a)(Object(Te.a)({},P),d))}}))},Ol=Rl,cl=function(i,c){var o=c.genItems;if(i.valueType==="dependency"){var t,r,d,v=(t=i.getFieldProps)===null||t===void 0?void 0:t.call(i);return pi(Array.isArray((r=i.name)!==null&&r!==void 0?r:v==null?void 0:v.name),'SchemaForm: fieldProps.name should be NamePath[] when valueType is "dependency"'),pi(typeof i.columns=="function",'SchemaForm: columns should be a function when valueType is "dependency"'),Array.isArray((d=i.name)!==null&&d!==void 0?d:v==null?void 0:v.name)?Object(fe.createElement)(Ol,Object(Te.a)(Object(Te.a)({name:i.name},v),{},{key:i.key}),function(g){return!i.columns||typeof i.columns!="function"?null:o(i.columns(g))}):null}return!0},au=function(i){if(i.valueType==="divider"){var c;return Object(fe.createElement)(bs.a,Object(Te.a)(Object(Te.a)({},(c=i.getFieldProps)===null||c===void 0?void 0:c.call(i)),{},{key:i.key}))}return!0},Yu=l("Telt"),Od=l("Tckk"),Lu="valueType request plain renderFormItem render text formItemProps valueEnum",Hd="fieldProps isDefaultDom groupProps contentRender submitterProps submitter";function af(u){var i="".concat(Lu," ").concat(Hd).split(/[\s\n]+/),c={};return Object.keys(u||{}).forEach(function(o){i.includes(o)||(c[o]=u[o])}),c}var Gd=l("v56E"),Nd=l("R9oj"),kd=l("OaEy"),xf=l("DFOY");function Bd(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,c=arguments.length>2?arguments[2]:void 0,o=Object(fe.useState)(u),t=Object(Ge.a)(o,2),r=t[0],d=t[1],v=El(u);return Object(fe.useEffect)(function(){var g=setTimeout(function(){d(v.current)},i);return function(){return clearTimeout(g)}},c?[i].concat(Object(Fe.a)(c)):void 0),r}var Fu=l("PQMj"),xd=l("KrTs"),of=l("FqQc"),ld={Success:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"success",text:c})},Error:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"error",text:c})},Default:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"default",text:c})},Processing:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"processing",text:c})},Warning:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"warning",text:c})},success:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"success",text:c})},error:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"error",text:c})},default:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"default",text:c})},processing:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"processing",text:c})},warning:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"warning",text:c})}},cu=function(i){var c=i.color,o=i.children;return Object(le.jsx)(xd.a,{color:c,text:o})},ll=ld,ad=l("DAQ8"),Xu=l("5NDa"),_s=l("5rEg"),jl=l("2fM7"),Uu=l("l+S1"),jd=l("g4Xo"),Sf=["label","prefixCls","onChange","value","mode","children","defaultValue","size","showSearch","disabled","style","className","bordered","options","onSearch","allowClear","labelInValue","fieldNames","lightLabel","labelTrigger"],Af=function(i,c){return Object(Ve.a)(c)!=="object"?i[c]||c:i[c==null?void 0:c.value]||c.label},mf=function(i,c){var o=i.label,t=i.prefixCls,r=i.onChange,d=i.value,v=i.mode,g=i.children,b=i.defaultValue,P=i.size,I=i.showSearch,V=i.disabled,K=i.style,ae=i.className,ue=i.bordered,ve=i.options,Oe=i.onSearch,ke=i.allowClear,Ie=i.labelInValue,Ye=i.fieldNames,Ze=i.lightLabel,et=i.labelTrigger,yt=Object(ut.a)(i,Sf),jt=i.placeholder,Ft=jt===void 0?o:jt,Ht=Ye||{},Gt=Ht.label,Jt=Gt===void 0?"label":Gt,mn=Ht.value,vn=mn===void 0?"value":mn,Yt=Object(fe.useContext)(bt.a.ConfigContext),En=Yt.getPrefixCls,or=En("pro-field-select-light-select"),$r=Object(fe.useState)(!1),vr=Object(Ge.a)($r,2),Er=vr[0],Hr=vr[1],Aa=Object(fe.useState)(""),Fr=Object(Ge.a)(Aa,2),ca=Fr[0],fa=Fr[1],ai=Object(fe.useMemo)(function(){var Co={};return ve==null||ve.forEach(function(zi){var us=zi[Jt],Us=zi[vn];Co[Us]=us||Us}),Co},[Jt,ve,vn]),Wi=Array.isArray(d)?d.map(function(Co){return Af(ai,Co)}):Af(ai,d);return Object(le.jsxs)("div",{className:tr()(or,Object(ft.a)({},"".concat(or,"-searchable"),I),ae),style:K,onClick:function(zi){var us,Us,po;if(!V){var dc=Ze==null||(us=Ze.current)===null||us===void 0||(Us=us.labelRef)===null||Us===void 0||(po=Us.current)===null||po===void 0?void 0:po.contains(zi.target);Hr(dc?!Er:!0)}},children:[Object(le.jsx)(jl.a,Object(Te.a)(Object(Te.a)({},yt),{},{allowClear:ke,value:d,mode:v,labelInValue:Ie,size:P,disabled:V,onChange:function(zi,us){r==null||r(zi,us),v!=="multiple"&&setTimeout(function(){Hr(!1)},0)},bordered:ue,showSearch:I,onSearch:Oe,style:K,dropdownRender:function(zi){return Object(le.jsxs)("div",{ref:c,children:[I&&Object(le.jsx)("div",{style:{margin:"4px 8px"},children:Object(le.jsx)(_s.a,{value:ca,allowClear:ke,onChange:function(Us){fa(Us.target.value.toLowerCase()),Oe==null||Oe(Us.target.value)},onKeyDown:function(Us){Us.stopPropagation()},style:{width:"100%"},prefix:Object(le.jsx)(Uu.a,{})})}),zi]})},open:Er,onDropdownVisibleChange:function(zi){zi||setTimeout(function(){fa("")},0),et||Hr(zi)},prefixCls:t,options:ca?ve==null?void 0:ve.filter(function(Co){var zi,us,Us,po,dc;return((zi=String(Co[Jt]))===null||zi===void 0||(us=zi.toLowerCase())===null||us===void 0?void 0:us.includes(ca))||((Us=Co[vn])===null||Us===void 0||(po=Us.toString())===null||po===void 0||(dc=po.toLowerCase())===null||dc===void 0?void 0:dc.includes(ca))}):ve})),Object(le.jsx)(Fn,{ellipsis:!0,size:P,label:o,placeholder:Ft,disabled:V,expanded:Er,bordered:ue,allowClear:ke,value:Wi||(d==null?void 0:d.label)||d,onClear:function(){r==null||r(void 0,void 0)},ref:Ze})]})},Ld=pe.a.forwardRef(mf),qd=["optionItemRender","mode","onSearch","onFocus","onChange","autoClearSearchValue","searchOnFocus","resetAfterSelect","fetchDataOnSearch","optionFilterProp","optionLabelProp","className","disabled","options","fetchData","resetData","prefixCls","onClear","searchValue","showSearch","fieldNames"],bu=jl.a.Option,$d=jl.a.OptGroup,Ju=function(i,c){var o=i.optionItemRender,t=i.mode,r=i.onSearch,d=i.onFocus,v=i.onChange,g=i.autoClearSearchValue,b=i.searchOnFocus,P=b===void 0?!1:b,I=i.resetAfterSelect,V=I===void 0?!1:I,K=i.fetchDataOnSearch,ae=K===void 0?!0:K,ue=i.optionFilterProp,ve=ue===void 0?"label":ue,Oe=i.optionLabelProp,ke=Oe===void 0?"label":Oe,Ie=i.className,Ye=i.disabled,Ze=i.options,et=i.fetchData,yt=i.resetData,jt=i.prefixCls,Ft=i.onClear,Ht=i.searchValue,Gt=i.showSearch,Jt=i.fieldNames,mn=Object(ut.a)(i,qd),vn=Jt||{},Yt=vn.label,En=Yt===void 0?"label":Yt,or=vn.value,$r=or===void 0?"value":or,vr=vn.options,Er=vr===void 0?"options":vr,Hr=Object(fe.useState)(Ht),Aa=Object(Ge.a)(Hr,2),Fr=Aa[0],ca=Aa[1],fa=Object(fe.useRef)();Object(fe.useImperativeHandle)(c,function(){return fa.current}),Object(fe.useEffect)(function(){if(mn.autoFocus){var po;fa==null||(po=fa.current)===null||po===void 0||po.focus()}},[mn.autoFocus]),Object(fe.useEffect)(function(){ca(Ht)},[Ht]);var ai=Object(fe.useContext)(bt.a.ConfigContext),Wi=ai.getPrefixCls,Co=Wi("pro-filed-search-select",jt),zi=tr()(Co,Ie,Object(ft.a)({},"".concat(Co,"-disabled"),Ye)),us=function(dc,ns){return Array.isArray(dc)&&dc.length>0?dc.map(function(fc,Kc){var gl=ns==null?void 0:ns[Kc],du=(gl==null?void 0:gl["data-item"])||{};return Object(Te.a)(Object(Te.a)({},du),fc)}):[]},Us=function po(dc){return dc.map(function(ns){var fc,Kc=ns.disabled,gl=ns.className,du=ns.optionType,yu=ns[En],Su=ns[$r],Ql=(fc=ns[Er])!==null&&fc!==void 0?fc:[];return du==="optGroup"||ns.options?Object(le.jsx)($d,{label:yu,children:po(Ql)},Su):Object(fe.createElement)(bu,Object(Te.a)(Object(Te.a)({},ns),{},{value:Su,key:Su||(yu==null?void 0:yu.toString()),disabled:Kc,"data-item":ns,className:"".concat(Co,"-option ").concat(gl||""),label:yu}),(o==null?void 0:o(ns))||yu)})};return Object(le.jsx)(jl.a,Object(Te.a)(Object(Te.a)({ref:fa,className:zi,allowClear:!0,autoClearSearchValue:g,disabled:Ye,mode:t,showSearch:Gt,searchValue:Fr,optionFilterProp:ve,optionLabelProp:ke,onClear:function(){Ft==null||Ft(),et(""),Gt&&ca("")}},mn),{},{onSearch:Gt?function(po){ae&&et(po),r==null||r(po),ca(po)}:void 0,onChange:function(dc,ns){Gt&&g&&(Fr||et(""),r==null||r(""),ca(""));for(var fc=arguments.length,Kc=new Array(fc>2?fc-2:0),gl=2;gl<fc;gl++)Kc[gl-2]=arguments[gl];if(!i.labelInValue){v==null||v.apply(void 0,[dc,ns].concat(Kc));return}if(t!=="multiple"){var du=ns&&ns["data-item"];!dc||!du?v==null||v.apply(void 0,[dc,ns].concat(Kc)):v==null||v.apply(void 0,[Object(Te.a)(Object(Te.a)({},dc),du),ns].concat(Kc));return}var yu=us(dc,ns);v==null||v.apply(void 0,[yu,ns].concat(Kc)),V&&yt()},onFocus:function(dc){P&&et(""),d==null||d(dc)},children:Us(Ze||[])}))},Jd=pe.a.forwardRef(Ju),Zo=["value","text"],Vr=["mode","valueEnum","render","renderFormItem","request","fieldProps","plain","children","light","proFieldKey","params","label","bordered","id","lightLabel","labelTrigger"],Yo=function(i){return oc(i)==="map"?i:new Map(Object.entries(i||{}))},Mi=function u(i,c){if(Array.isArray(i))return Object(le.jsx)(lt.b,{split:",",size:2,children:i.map(function(g){return u(g,c)})});var o=Yo(c);if(!o.has(i)&&!o.has("".concat(i)))return(i==null?void 0:i.label)||i;var t=o.get(i)||o.get("".concat(i));if(!t)return(i==null?void 0:i.label)||i;var r=t.status,d=t.color,v=ll[r||"Init"];return v?Object(le.jsx)(v,{children:t.text}):d?Object(le.jsx)(cu,{color:d,children:t.text}):t.text||t},ds=function(i){for(var c=i.label,o=i.words,t=Object(fe.useContext)(bt.a.ConfigContext),r=t.getPrefixCls,d=r("pro-select-item-option-content-light"),v=r("pro-select-item-option-content"),g=new RegExp(o.map(function(ae){return ae.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}).join("|"),"gi"),b=c,P=[];b.length;){var I=g.exec(b);if(!I){P.push(b);break}var V=I.index,K=I[0].length+V;P.push(b.slice(0,V),pe.a.createElement("span",{className:d},b.slice(V,K))),b=b.slice(K)}return pe.a.createElement.apply(pe.a,["div",{className:v}].concat(P))};function oc(u){var i=Object.prototype.toString.call(u).match(/^\[object (.*)\]$/)[1].toLowerCase();return i==="string"&&Object(Ve.a)(u)==="object"?"object":u===null?"null":u===void 0?"undefined":i}function Il(u,i){var c,o;if(!i||(u==null||(c=u.label)===null||c===void 0?void 0:c.toString().toLowerCase().includes(i.toLowerCase()))||(u==null||(o=u.value)===null||o===void 0?void 0:o.toString().toLowerCase().includes(i.toLowerCase())))return!0;if(u.children||u.options){var t=[].concat(Object(Fe.a)(u.children||[]),[u.options||[]]).find(function(r){return Il(r,i)});if(t)return!0}return!1}var pu=function(i){var c=[],o=Yo(i);return o.forEach(function(t,r){var d=o.get(r)||o.get("".concat(r));if(!!d){if(Object(Ve.a)(d)==="object"&&(d==null?void 0:d.text)){c.push({text:d==null?void 0:d.text,value:r,label:d==null?void 0:d.text,disabled:d.disabled});return}c.push({text:d,value:r})}}),c},Nl=function(i){var c,o,t,r,d=i.cacheForSwr,v=i.fieldProps,g=Object(fe.useState)(i.defaultKeyWords),b=Object(Ge.a)(g,2),P=b[0],I=b[1],V=Object(fe.useState)(function(){return i.proFieldKey?i.proFieldKey.toString():i.request?Wr():"no-fetch"}),K=Object(Ge.a)(V,1),ae=K[0],ue=Object(fe.useRef)(ae),ve=Object(fe.useCallback)(function(Jt){return pu(Yo(Jt)).map(function(mn){var vn=mn.value,Yt=mn.text,En=Object(ut.a)(mn,Zo);return Object(Te.a)({label:Yt,value:vn,key:vn},En)})},[]),Oe=Object(fe.useMemo)(function(){if(!!v){var Jt=(v==null?void 0:v.options)||(v==null?void 0:v.treeData);if(!!Jt){var mn=v.fieldNames||{},vn=mn.children,Yt=mn.label,En=mn.value,or=function $r(vr,Er){if(!!(vr==null?void 0:vr.length))for(var Hr=vr.length,Aa=0;Aa<Hr;){var Fr=vr[Aa++];(Fr[vn]||Fr[Yt]||Fr[En])&&(Fr[Er]=Fr[Er==="children"?vn:Er==="label"?Yt:En],$r(Fr[vn],Er))}};return vn&&or(Jt,"children"),Yt&&or(Jt,"label"),En&&or(Jt,"value"),Jt}}},[v]),ke=Object(Tn.a)(function(){return i.valueEnum?ve(i.valueEnum):[]},{value:Oe}),Ie=Object(Ge.a)(ke,2),Ye=Ie[0],Ze=Ie[1];Ur(function(){var Jt,mn;!i.valueEnum||((Jt=i.fieldProps)===null||Jt===void 0?void 0:Jt.options)||((mn=i.fieldProps)===null||mn===void 0?void 0:mn.treeData)||Ze(ve(i.valueEnum))},[i.valueEnum]);var et=Bd([ue.current,i.params,P],(c=(o=i.debounceTime)!==null&&o!==void 0?o:i==null||(t=i.fieldProps)===null||t===void 0?void 0:t.debounceTime)!==null&&c!==void 0?c:0,[i.params,P]),yt=Object(br.b)(function(){return i.request?et:null},function(Jt,mn,vn){return i.request(Object(Te.a)(Object(Te.a)({},mn),{},{keyWords:vn}),i)},{revalidateIfStale:!d,revalidateOnReconnect:d,shouldRetryOnError:!1,revalidateOnFocus:!1}),jt=yt.data,Ft=yt.mutate,Ht=yt.isValidating,Gt=Object(fe.useMemo)(function(){var Jt,mn,vn=Ye==null?void 0:Ye.map(function(Yt){if(typeof Yt=="string")return{label:Yt,value:Yt};if(Yt.children||Yt.options){var En=[].concat(Object(Fe.a)(Yt.children||[]),Object(Fe.a)(Yt.options||[])).filter(function(or){return Il(or,P)});return Object(Te.a)(Object(Te.a)({},Yt),{},{children:En,options:En})}return Yt});return((Jt=i.fieldProps)===null||Jt===void 0?void 0:Jt.filterOption)===!0||((mn=i.fieldProps)===null||mn===void 0?void 0:mn.filterOption)===void 0?vn==null?void 0:vn.filter(function(Yt){return Yt?P?Il(Yt,P):!0:!1}):vn},[Ye,P,(r=i.fieldProps)===null||r===void 0?void 0:r.filterOption]);return[Ht,i.request?jt:Gt,function(Jt){I(Jt)},function(){I(void 0),Ft([],!1)}]},Du=function(i,c){var o=i.mode,t=i.valueEnum,r=i.render,d=i.renderFormItem,v=i.request,g=i.fieldProps,b=i.plain,P=i.children,I=i.light,V=i.proFieldKey,K=i.params,ae=i.label,ue=i.bordered,ve=i.id,Oe=i.lightLabel,ke=i.labelTrigger,Ie=Object(ut.a)(i,Vr),Ye=Object(fe.useRef)(),Ze=Object(qe.d)(),et=Object(fe.useRef)(""),yt=g.fieldNames;Object(fe.useEffect)(function(){et.current=g==null?void 0:g.searchValue},[g==null?void 0:g.searchValue]);var jt=Nl(i),Ft=Object(Ge.a)(jt,4),Ht=Ft[0],Gt=Ft[1],Jt=Ft[2],mn=Ft[3],vn=Object(fe.useContext)(bt.a.SizeContext);Object(fe.useImperativeHandle)(c,function(){return Object(Te.a)(Object(Te.a)({},Ye.current||{}),{},{fetchData:function(){return Jt()}})});var Yt=Object(fe.useMemo)(function(){if(o==="read"){var vr=yt||{},Er=vr.label,Hr=Er===void 0?"label":Er,Aa=vr.value,Fr=Aa===void 0?"value":Aa,ca=vr.options,fa=ca===void 0?"options":ca,ai=new Map,Wi=function Co(zi){if(!(zi==null?void 0:zi.length))return ai;for(var us=zi.length,Us=0;Us<us;){var po=zi[Us++];ai.set(po[Fr],po[Hr]),Co(po[fa])}return ai};return Wi(Gt)}},[yt,o,Gt]);if(o==="read"){var En=Object(le.jsx)(le.Fragment,{children:Mi(Ie.text,Yo(t||Yt))});return r?r(Ie.text,Object(Te.a)({mode:o},g),En)||null:En}if(o==="edit"||o==="update"){var or=function(){return I?Object(le.jsx)(Ld,Object(Te.a)({bordered:ue,id:ve,loading:Ht,ref:Ye,allowClear:!0,size:vn,options:Gt,label:ae,placeholder:Ze.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),lightLabel:Oe,labelTrigger:ke},g)):Object(le.jsx)(Jd,Object(Te.a)(Object(Te.a)({className:Ie.className,style:Object(Te.a)({minWidth:100},Ie.style),bordered:ue,id:ve,loading:Ht,ref:Ye,allowClear:!0,notFoundContent:Ht?Object(le.jsx)(At.a,{size:"small"}):g==null?void 0:g.notFoundContent,fetchData:function(Hr){et.current=Hr,Jt(Hr)},resetData:mn,optionItemRender:function(Hr){return typeof Hr.label=="string"&&et.current?Object(le.jsx)(ds,{label:Hr.label,words:[et.current]}):Hr.label},placeholder:Ze.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),label:ae},g),{},{options:Gt}),"SearchSelect")},$r=or();return d?d(Ie.text,Object(Te.a)(Object(Te.a)({mode:o},g),{},{options:Gt}),$r)||null:$r}return null},vu=pe.a.forwardRef(Du),lu=["radioType","renderFormItem","mode","render","label","light"],id=function(i,c){var o,t=i.radioType,r=i.renderFormItem,d=i.mode,v=i.render,g=i.label,b=i.light,P=Object(ut.a)(i,lu),I=Object(fe.useContext)(bt.a.ConfigContext),V=I.getPrefixCls,K=V("pro-field-cascader"),ae=Nl(P),ue=Object(Ge.a)(ae,3),ve=ue[0],Oe=ue[1],ke=ue[2],Ie=Object(qe.d)(),Ye=Object(fe.useRef)(),Ze=Object(fe.useContext)(bt.a.SizeContext),et=Object(fe.useState)(!1),yt=Object(Ge.a)(et,2),jt=yt[0],Ft=yt[1];Object(fe.useImperativeHandle)(c,function(){return Object(Te.a)(Object(Te.a)({},Ye.current||{}),{},{fetchData:function(){return ke()}})});var Ht=Object(fe.useMemo)(function(){var $r;if(d==="read"){var vr=(($r=P.fieldProps)===null||$r===void 0?void 0:$r.fieldNames)||{},Er=vr.value,Hr=Er===void 0?"value":Er,Aa=vr.label,Fr=Aa===void 0?"label":Aa,ca=vr.children,fa=ca===void 0?"children":ca,ai=new Map,Wi=function Co(zi){if(!(zi==null?void 0:zi.length))return ai;for(var us=zi.length,Us=0;Us<us;){var po=zi[Us++];ai.set(po[Hr],po[Fr]),Co(po[fa])}return ai};return Wi(Oe)}},[d,Oe,(o=P.fieldProps)===null||o===void 0?void 0:o.fieldNames]);if(d==="read"){var Gt=Object(le.jsx)(le.Fragment,{children:Mi(P.text,Yo(P.valueEnum||Ht))});return v?v(P.text,Object(Te.a)({mode:d},P.fieldProps),Gt)||null:Gt}if(d==="edit"){var Jt,mn=Object(le.jsx)(xf.a,Object(Te.a)(Object(Te.a)({bordered:!b,ref:Ye,open:jt,onDropdownVisibleChange:Ft,suffixIcon:ve?Object(le.jsx)(js.a,{}):b?null:void 0,placeholder:Ie.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),allowClear:b?!1:void 0},P.fieldProps),{},{className:tr()((Jt=P.fieldProps)===null||Jt===void 0?void 0:Jt.className,K),options:Oe}));if(r&&(mn=r(P.text,Object(Te.a)({mode:d},P.fieldProps),mn)||null),b){var vn=P.fieldProps,Yt=vn.disabled,En=vn.allowClear,or=vn.placeholder;return Object(le.jsx)(Fn,{label:g,disabled:Yt,placeholder:or,size:Ze,allowClear:En,bordered:P.bordered,value:mn,onLabelClick:function(){return Ft(!jt)},onClear:function(){var vr,Er;return(vr=P.fieldProps)===null||vr===void 0||(Er=vr.onChange)===null||Er===void 0?void 0:Er.call(vr,void 0,void 0,{})}})}return mn}return null},Ws=pe.a.forwardRef(id),re=l("sRBo"),Ae=l("kaz8"),ct=l("4Iru"),wt=["layout","renderFormItem","mode","render"],an=function(i,c){var o=i.layout,t=o===void 0?"horizontal":o,r=i.renderFormItem,d=i.mode,v=i.render,g=Object(ut.a)(i,wt),b=Object(fe.useContext)(bt.a.ConfigContext),P=b.getPrefixCls,I=P("pro-field-checkbox"),V=Nl(g),K=Object(Ge.a)(V,3),ae=K[0],ue=K[1],ve=K[2],Oe=Object(fe.useRef)();if(Object(fe.useImperativeHandle)(c,function(){return Object(Te.a)(Object(Te.a)({},Oe.current||{}),{},{fetchData:function(){return ve()}})}),ae)return Object(le.jsx)(At.a,{size:"small"});if(d==="read"){var ke=(ue==null?void 0:ue.length)?ue==null?void 0:ue.reduce(function(et,yt){var jt;return Object(Te.a)(Object(Te.a)({},et),{},Object(ft.a)({},(jt=yt.value)!==null&&jt!==void 0?jt:"",yt.label))},{}):void 0,Ie=Mi(g.text,Yo(g.valueEnum||ke));return v?v(g.text,Object(Te.a)({mode:d},g.fieldProps),Object(le.jsx)(le.Fragment,{children:Ie}))||null:Object(le.jsx)(lt.b,{children:Ie})}if(d==="edit"){var Ye,Ze=Object(le.jsx)(Ae.a.Group,Object(Te.a)(Object(Te.a)({},g.fieldProps),{},{className:tr()((Ye=g.fieldProps)===null||Ye===void 0?void 0:Ye.className,"".concat(I,"-").concat(t)),options:ue}));return r?r(g.text,Object(Te.a)({mode:d},g.fieldProps),Ze)||null:Ze}return null},jr=pe.a.forwardRef(an),Xa=function(i,c){if(typeof i!="string")return i;try{if(c==="json")return JSON.stringify(JSON.parse(i),null,2)}catch(o){}return i},fs=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.language,v=d===void 0?"text":d,g=i.renderFormItem,b=i.plain,P=i.fieldProps,I=Xa(o,v);if(t==="read"){var V=Object(le.jsx)("pre",Object(Te.a)(Object(Te.a)({ref:c},P),{},{style:Object(Te.a)({padding:16,overflow:"auto",fontSize:"85%",lineHeight:1.45,backgroundColor:"#f6f8fa",borderRadius:3,width:"min-content"},P.style),children:Object(le.jsx)("code",{children:I})}));return r?r(I,Object(Te.a)(Object(Te.a)({mode:t},P),{},{ref:c}),V):V}if(t==="edit"||t==="update"){var K=Object(le.jsx)(_s.a.TextArea,Object(Te.a)(Object(Te.a)({rows:5},P),{},{ref:c}));return b&&(K=Object(le.jsx)(_s.a,Object(Te.a)(Object(Te.a)({},P),{},{ref:c}))),g?g(I,Object(Te.a)(Object(Te.a)({mode:t},P),{},{ref:c}),K):K}return null},Xs=pe.a.forwardRef(fs),Uc=l("/FUP"),zl=l.n(Uc),Bu=l("QkVN"),ud=l.n(Bu),Mp=function(i,c,o,t,r){var d=r.clientWidth,v=r.clientHeight,g=typeof i.pageX=="number"?i.pageX:i.touches[0].pageX,b=typeof i.pageY=="number"?i.pageY:i.touches[0].pageY,P=g-(r.getBoundingClientRect().left+window.pageXOffset),I=b-(r.getBoundingClientRect().top+window.pageYOffset);if(o==="vertical"){var V;if(I<0?V=0:I>v?V=1:V=Math.round(I*100/v)/100,c.a!==V)return{h:c.h,s:c.s,l:c.l,a:V,source:"rgb"}}else{var K;if(P<0?K=0:P>d?K=1:K=Math.round(P*100/d)/100,t!==K)return{h:c.h,s:c.s,l:c.l,a:K,source:"rgb"}}return null},ev={},Rn=function(i,c,o,t){if(typeof document=="undefined"&&!t)return null;var r=t?new t:document.createElement("canvas");r.width=o*2,r.height=o*2;var d=r.getContext("2d");return d?(d.fillStyle=i,d.fillRect(0,0,r.width,r.height),d.fillStyle=c,d.fillRect(0,0,o,o),d.translate(o,o),d.fillRect(0,0,o,o),r.toDataURL()):null},St=function(i,c,o,t){var r="".concat(i,"-").concat(c,"-").concat(o).concat(t?"-server":"");if(ev[r])return ev[r];var d=Rn(i,c,o,t);return ev[r]=d,d};function on(u){return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},on(u)}function Dn(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function aa(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?Dn(Object(c),!0).forEach(function(o){oa(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):Dn(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function oa(u,i,c){return i=Jr(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function Jr(u){var i=Ia(u,"string");return on(i)==="symbol"?i:String(i)}function Ia(u,i){if(on(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(on(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}var Li=function(i){var c=i.white,o=i.grey,t=i.size,r=i.renderers,d=i.borderRadius,v=i.boxShadow,g=i.children,b=zl()({default:{grid:{borderRadius:d,boxShadow:v,absolute:"0px 0px 0px 0px",background:"url(".concat(St(c,o,t,r.canvas),") center left")}}});return Object(fe.isValidElement)(g)?pe.a.cloneElement(g,aa(aa({},g.props),{},{style:aa(aa({},g.props.style),b.grid)})):pe.a.createElement("div",{style:b.grid})};Li.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var no=Li;function es(u){return es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},es(u)}function Bo(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function Uo(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?Bo(Object(c),!0).forEach(function(o){Dc(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):Bo(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function Dc(u,i,c){return i=Is(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function nc(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function Ms(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,Is(o.key),o)}}function Eo(u,i,c){return i&&Ms(u.prototype,i),c&&Ms(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function Is(u){var i=$s(u,"string");return es(i)==="symbol"?i:String(i)}function $s(u,i){if(es(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(es(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}function _l(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&Wl(u,i)}function Wl(u,i){return Wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,t){return o.__proto__=t,o},Wl(u,i)}function Hu(u){var i=Gu();return function(){var o=ol(u),t;if(i){var r=ol(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return gd(this,t)}}function gd(u,i){if(i&&(es(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cd(u)}function Cd(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function Gu(){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(u){return!1}}function ol(u){return ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},ol(u)}var Md=function(u){_l(c,u);var i=Hu(c);function c(){var o;nc(this,c);for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return o=i.call.apply(i,[this].concat(r)),o.handleChange=function(v){var g=Mp(v,o.props.hsl,o.props.direction,o.props.a,o.container);g&&typeof o.props.onChange=="function"&&o.props.onChange(g,v)},o.handleMouseDown=function(v){o.handleChange(v),window.addEventListener("mousemove",o.handleChange),window.addEventListener("mouseup",o.handleMouseUp)},o.handleMouseUp=function(){o.unbindEventListeners()},o.unbindEventListeners=function(){window.removeEventListener("mousemove",o.handleChange),window.removeEventListener("mouseup",o.handleMouseUp)},o}return Eo(c,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,r=this.props.rgb,d=zl()({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(r.r,",").concat(r.g,",").concat(r.b,`, 0) 0%,
rgba(`).concat(r.r,",").concat(r.g,",").concat(r.b,", 1) 100%)"),boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:"".concat(r.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(r.r,",").concat(r.g,",").concat(r.b,`, 0) 0%,
rgba(`).concat(r.r,",").concat(r.g,",").concat(r.b,", 1) 100%)")},pointer:{left:0,top:"".concat(r.a*100,"%")}},overwrite:Uo({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return pe.a.createElement("div",{style:d.alpha},pe.a.createElement("div",{style:d.checkboard},pe.a.createElement(no,{renderers:this.props.renderers})),pe.a.createElement("div",{style:d.gradient}),pe.a.createElement("div",{style:d.container,ref:function(g){return t.container=g},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},pe.a.createElement("div",{style:d.pointer},this.props.pointer?pe.a.createElement(this.props.pointer,this.props):pe.a.createElement("div",{style:d.slider}))))}}]),c}(fe.PureComponent||fe.Component),Ff=Md,pp=function(i,c,o,t){var r=t.clientWidth,d=t.clientHeight,v=typeof i.pageX=="number"?i.pageX:i.touches[0].pageX,g=typeof i.pageY=="number"?i.pageY:i.touches[0].pageY,b=v-(t.getBoundingClientRect().left+window.pageXOffset),P=g-(t.getBoundingClientRect().top+window.pageYOffset);if(c==="vertical"){var I;if(P<0)I=359;else if(P>d)I=0;else{var V=-(P*100/d)+100;I=360*V/100}if(o.h!==I)return{h:I,s:o.s,l:o.l,a:o.a,source:"hsl"}}else{var K;if(b<0)K=0;else if(b>r)K=359;else{var ae=b*100/r;K=360*ae/100}if(o.h!==K)return{h:K,s:o.s,l:o.l,a:o.a,source:"hsl"}}return null};function Vu(u){return Vu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Vu(u)}function lf(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function cp(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,wp(o.key),o)}}function Gf(u,i,c){return i&&cp(u.prototype,i),c&&cp(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function wp(u){var i=Tp(u,"string");return Vu(i)==="symbol"?i:String(i)}function Tp(u,i){if(Vu(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(Vu(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}function lp(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&vp(u,i)}function vp(u,i){return vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,t){return o.__proto__=t,o},vp(u,i)}function Uv(u){var i=up();return function(){var o=Xv(u),t;if(i){var r=Xv(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return tv(this,t)}}function tv(u,i){if(i&&(Vu(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ph(u)}function ph(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function up(){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(u){return!1}}function Xv(u){return Xv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},Xv(u)}var Fh=function(u){lp(c,u);var i=Uv(c);function c(){var o;lf(this,c);for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return o=i.call.apply(i,[this].concat(r)),o.handleChange=function(v){var g=pp(v,o.props.direction,o.props.hsl,o.container);g&&typeof o.props.onChange=="function"&&o.props.onChange(g,v)},o.handleMouseDown=function(v){o.handleChange(v),window.addEventListener("mousemove",o.handleChange),window.addEventListener("mouseup",o.handleMouseUp)},o.handleMouseUp=function(){o.unbindEventListeners()},o}return Gf(c,[{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 t=this,r=this.props.direction,d=r===void 0?"horizontal":r,v=zl()({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:d==="vertical"});return pe.a.createElement("div",{style:v.hue},pe.a.createElement("div",{className:"hue-".concat(d),style:v.container,ref:function(b){return t.container=b},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},pe.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%);
}
`),pe.a.createElement("div",{style:v.pointer},this.props.pointer?pe.a.createElement(this.props.pointer,this.props):pe.a.createElement("div",{style:v.slider}))))}}]),c}(fe.PureComponent||fe.Component),hp=Fh,kf=l("DzJC"),Df=l.n(kf),Bv=function(i,c,o){var t=o.getBoundingClientRect(),r=t.width,d=t.height,v=typeof i.pageX=="number"?i.pageX:i.touches[0].pageX,g=typeof i.pageY=="number"?i.pageY:i.touches[0].pageY,b=v-(o.getBoundingClientRect().left+window.pageXOffset),P=g-(o.getBoundingClientRect().top+window.pageYOffset);b<0?b=0:b>r&&(b=r),P<0?P=0:P>d&&(P=d);var I=b/r,V=1-P/d;return{h:c.h,s:I,v:V,a:c.a,source:"hsv"}};function Sv(u){return Sv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Sv(u)}function Pp(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function wv(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,lv(o.key),o)}}function Qf(u,i,c){return i&&wv(u.prototype,i),c&&wv(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function lv(u){var i=nv(u,"string");return Sv(i)==="symbol"?i:String(i)}function nv(u,i){if(Sv(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(Sv(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}function Hp(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&Tv(u,i)}function Tv(u,i){return Tv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,t){return o.__proto__=t,o},Tv(u,i)}function Gp(u){var i=kp();return function(){var o=bp(u),t;if(i){var r=bp(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return Ap(this,t)}}function Ap(u,i){if(i&&(Sv(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return hv(u)}function hv(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function kp(){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(u){return!1}}function bp(u){return bp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},bp(u)}var jf=function(u){Hp(c,u);var i=Gp(c);function c(o){var t;return Pp(this,c),t=i.call(this,o),t.handleChange=function(r){typeof t.props.onChange=="function"&&t.throttle(t.props.onChange,Bv(r,t.props.hsl,t.container),r)},t.handleMouseDown=function(r){t.handleChange(r);var d=t.getContainerRenderWindow();d.addEventListener("mousemove",t.handleChange),d.addEventListener("mouseup",t.handleMouseUp)},t.handleMouseUp=function(){t.unbindEventListeners()},t.throttle=Df()(function(r,d,v){r(d,v)},50),t}return Qf(c,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var t=this.container,r=window;!r.document.contains(t)&&r.parent!==r;)r=r.parent;return r}},{key:"unbindEventListeners",value:function(){var t=this.getContainerRenderWindow();t.removeEventListener("mousemove",this.handleChange),t.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,r=this.props.style||{},d=r.color,v=r.white,g=r.black,b=r.pointer,P=r.circle,I=zl()({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:d,white:v,black:g,pointer:b,circle:P}},{custom:!!this.props.style});return pe.a.createElement("div",{style:I.color,ref:function(K){return t.container=K},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},pe.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));
}
`),pe.a.createElement("div",{style:I.white,className:"saturation-white"},pe.a.createElement("div",{style:I.black,className:"saturation-black"}),pe.a.createElement("div",{style:I.pointer},this.props.pointer?pe.a.createElement(this.props.pointer,this.props):pe.a.createElement("div",{style:I.circle}))))}}]),c}(fe.PureComponent||fe.Component),qf=jf,Eh=l("sEfC"),Av=l.n(Eh),Lg=l("xkGU"),Fg=l.n(Lg),xh=l("lMfh"),gv=l.n(xh),vh=function(i){var c=["r","g","b","a","h","s","l","v"],o=0,t=0;return Fg()(c,function(r){if(i[r]&&(o+=1,isNaN(i[r])||(t+=1),r==="s"||r==="l")){var d=/^\d+%$/;d.test(i[r])&&(t+=1)}}),o===t?i:!1},Uh=function(i,c){var o=i.hex?gv()(i.hex):gv()(i),t=o.toHsl(),r=o.toHsv(),d=o.toRgb(),v=o.toHex();t.s===0&&(t.h=c||0,r.h=c||0);var g=v==="000000"&&d.a===0;return{hsl:t,hex:g?"transparent":"#".concat(v),rgb:d,hsv:r,oldHue:i.h||c||t.h,source:i.source}},Sh=function(i){if(i==="transparent")return!0;var c=String(i).charAt(0)==="#"?1:0;return i.length!==4+c&&i.length<7+c&&gv()(i).isValid()},mv=function(i){if(!i)return"#fff";var c=Uh(i);if(c.hex==="transparent")return"rgba(0,0,0,0.4)";var o=(c.rgb.r*299+c.rgb.g*587+c.rgb.b*114)/1e3;return o>=128?"#000":"#fff"},Jv={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}},mg=function(i,c){var o=i.replace("\xB0","");return gv()("".concat(c," (").concat(o,")"))._ok};function Zv(u){return Zv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zv(u)}function hh(){return hh=Object.assign?Object.assign.bind():function(u){for(var i=1;i<arguments.length;i++){var c=arguments[i];for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(u[o]=c[o])}return u},hh.apply(this,arguments)}function gh(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function kv(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?gh(Object(c),!0).forEach(function(o){$p(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):gh(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function $p(u,i,c){return i=ei(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function od(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function _r(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,ei(o.key),o)}}function Br(u,i,c){return i&&_r(u.prototype,i),c&&_r(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function ei(u){var i=Ao(u,"string");return Zv(i)==="symbol"?i:String(i)}function Ao(u,i){if(Zv(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(Zv(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}function so(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&So(u,i)}function So(u,i){return So=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,t){return o.__proto__=t,o},So(u,i)}function To(u){var i=Ys();return function(){var o=qs(u),t;if(i){var r=qs(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return Fs(this,t)}}function Fs(u,i){if(i&&(Zv(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return rc(u)}function rc(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function Ys(){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(u){return!1}}function qs(u){return qs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},qs(u)}var Qs=function(i){var c=function(o){so(r,o);var t=To(r);function r(d){var v;return od(this,r),v=t.call(this),v.handleChange=function(g,b){var P=vh(g);if(P){var I=Uh(g,g.h||v.state.oldHue);v.setState(I),v.props.onChangeComplete&&v.debounce(v.props.onChangeComplete,I,b),v.props.onChange&&v.props.onChange(I,b)}},v.handleSwatchHover=function(g,b){var P=vh(g);if(P){var I=Uh(g,g.h||v.state.oldHue);v.props.onSwatchHover&&v.props.onSwatchHover(I,b)}},v.state=kv({},Uh(d.color,0)),v.debounce=Av()(function(g,b,P){g(b,P)},100),v}return Br(r,[{key:"render",value:function(){var v={};return this.props.onSwatchHover&&(v.onSwatchHover=this.handleSwatchHover),pe.a.createElement(i,hh({},this.props,this.state,{onChange:this.handleChange},v))}}],[{key:"getDerivedStateFromProps",value:function(v,g){return kv({},Uh(v.color,g.oldHue))}}]),r}(fe.PureComponent||fe.Component);return c.propTypes=kv({},i.propTypes),c.defaultProps=kv(kv({},i.defaultProps),{},{color:{h:250,s:.5,l:.2,a:1}}),c},Hc=Qs;function Oc(u){return Oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Oc(u)}function lc(u,i,c){return i=kt(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function Ii(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function No(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,kt(o.key),o)}}function vc(u,i,c){return i&&No(u.prototype,i),c&&No(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function kt(u){var i=Pe(u,"string");return Oc(i)==="symbol"?i:String(i)}function Pe(u,i){if(Oc(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(Oc(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}function pt(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&It(u,i)}function It(u,i){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,t){return o.__proto__=t,o},It(u,i)}function sn(u){var i=ur();return function(){var o=Pr(u),t;if(i){var r=Pr(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return fn(this,t)}}function fn(u,i){if(i&&(Oc(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return An(u)}function An(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function ur(){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(u){return!1}}function Pr(u){return Pr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},Pr(u)}var hr=1,ha=38,ya=40,Za=[ha,ya],to=function(i){return Za.indexOf(i)>-1},Xi=function(i){return Number(String(i).replace(/%/g,""))},ss=1,ts=function(u){pt(c,u);var i=sn(c);function c(o){var t;return Ii(this,c),t=i.call(this),t.handleBlur=function(){t.state.blurValue&&t.setState({value:t.state.blurValue,blurValue:null})},t.handleChange=function(r){t.setUpdatedValue(r.target.value,r)},t.handleKeyDown=function(r){var d=Xi(r.target.value);if(!isNaN(d)&&to(r.keyCode)){var v=t.getArrowOffset(),g=r.keyCode===ha?d+v:d-v;t.setUpdatedValue(g,r)}},t.handleDrag=function(r){if(t.props.dragLabel){var d=Math.round(t.props.value+r.movementX);d>=0&&d<=t.props.dragMax&&t.props.onChange&&t.props.onChange(t.getValueObjectWithLabel(d),r)}},t.handleMouseDown=function(r){t.props.dragLabel&&(r.preventDefault(),t.handleDrag(r),window.addEventListener("mousemove",t.handleDrag),window.addEventListener("mouseup",t.handleMouseUp))},t.handleMouseUp=function(){t.unbindEventListeners()},t.unbindEventListeners=function(){window.removeEventListener("mousemove",t.handleDrag),window.removeEventListener("mouseup",t.handleMouseUp)},t.state={value:String(o.value).toUpperCase(),blurValue:String(o.value).toUpperCase()},t.inputId="rc-editable-input-".concat(ss++),t}return vc(c,[{key:"componentDidUpdate",value:function(t,r){this.props.value!==this.state.value&&(t.value!==this.props.value||r.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(t){return lc({},this.props.label,t)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||hr}},{key:"setUpdatedValue",value:function(t,r){var d=this.props.label?this.getValueObjectWithLabel(t):t;this.props.onChange&&this.props.onChange(d,r),this.setState({value:t})}},{key:"render",value:function(){var t=this,r=zl()({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 pe.a.createElement("div",{style:r.wrap},pe.a.createElement("input",{id:this.inputId,style:r.input,ref:function(v){return t.input=v},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?pe.a.createElement("label",{htmlFor:this.inputId,style:r.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),c}(fe.PureComponent||fe.Component),Os=ts;function ac(u){return ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ac(u)}function Ll(){return Ll=Object.assign?Object.assign.bind():function(u){for(var i=1;i<arguments.length;i++){var c=arguments[i];for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(u[o]=c[o])}return u},Ll.apply(this,arguments)}function nu(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function tl(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,sd(o.key),o)}}function iu(u,i,c){return i&&tl(u.prototype,i),c&&tl(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function sd(u){var i=md(u,"string");return ac(i)==="symbol"?i:String(i)}function md(u,i){if(ac(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(ac(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}function dd(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&Xl(u,i)}function Xl(u,i){return Xl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,t){return o.__proto__=t,o},Xl(u,i)}function vd(u){var i=Zl();return function(){var o=wf(u),t;if(i){var r=wf(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return ff(this,t)}}function ff(u,i){if(i&&(ac(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zd(u)}function Zd(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function Zl(){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(u){return!1}}function wf(u){return wf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},wf(u)}var Wd=function(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(o){dd(r,o);var t=vd(r);function r(){var d;nu(this,r);for(var v=arguments.length,g=new Array(v),b=0;b<v;b++)g[b]=arguments[b];return d=t.call.apply(t,[this].concat(g)),d.state={focus:!1},d.handleFocus=function(){return d.setState({focus:!0})},d.handleBlur=function(){return d.setState({focus:!1})},d}return iu(r,[{key:"render",value:function(){return pe.a.createElement(c,{onFocus:this.handleFocus,onBlur:this.handleBlur},pe.a.createElement(i,Ll({},this.props,this.state)))}}]),r}(pe.a.Component)};function Al(u){return Al=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Al(u)}function Jl(){return Jl=Object.assign?Object.assign.bind():function(u){for(var i=1;i<arguments.length;i++){var c=arguments[i];for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(u[o]=c[o])}return u},Jl.apply(this,arguments)}function mu(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function gp(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?mu(Object(c),!0).forEach(function(o){jv(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):mu(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function jv(u,i,c){return i=Vv(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function Vv(u){var i=oi(u,"string");return Al(i)==="symbol"?i:String(i)}function oi(u,i){if(Al(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(Al(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}var rs=13,Vo=function(i){var c=i.color,o=i.style,t=i.onClick,r=t===void 0?function(){}:t,d=i.onHover,v=i.title,g=v===void 0?c:v,b=i.children,P=i.focus,I=i.focusStyle,V=I===void 0?{}:I,K=c==="transparent",ae=zl()({default:{swatch:gp(gp({background:c,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},o),P?V:{})}}),ue=function(Ye){return r(c,Ye)},ve=function(Ye){return Ye.keyCode===rs&&r(c,Ye)},Oe=function(Ye){return d(c,Ye)},ke={};return d&&(ke.onMouseOver=Oe),pe.a.createElement("div",Jl({style:ae.swatch,onClick:ue,title:g,tabIndex:0,onKeyDown:ve},ke),b,K&&pe.a.createElement(no,{borderRadius:ae.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))},ul=Wd(Vo),xu=function(i){var c=i.onChange,o=i.rgb,t=i.hsl,r=i.hex,d=i.disableAlpha,v=zl()({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:d}),g=function(P,I){P.hex?Sh(P.hex)&&(c==null||c({hex:P.hex,source:"hex"},I)):P.r||P.g||P.b?c==null||c({r:P.r||(o==null?void 0:o.r),g:P.g||(o==null?void 0:o.g),b:P.b||(o==null?void 0:o.b),a:o==null?void 0:o.a,source:"rgb"},I):P.a&&(P.a<0?P.a=0:P.a>100&&(P.a=100),P.a/=100,c==null||c({h:t==null?void 0:t.h,s:t==null?void 0:t.s,l:t==null?void 0:t.l,a:P.a,source:"rgb"},I))};return pe.a.createElement("div",{style:v.fields,className:"flexbox-fix"},pe.a.createElement("div",{style:v.double},pe.a.createElement(Os,{style:{input:v.input,label:v.label},label:"hex",value:r==null?void 0:r.replace("#",""),onChange:g})),pe.a.createElement("div",{style:v.single},pe.a.createElement(Os,{style:{input:v.input,label:v.label},label:"r",value:o==null?void 0:o.r,onChange:g,dragLabel:"true",dragMax:"255"})),pe.a.createElement("div",{style:v.single},pe.a.createElement(Os,{style:{input:v.input,label:v.label},label:"g",value:o==null?void 0:o.g,onChange:g,dragLabel:"true",dragMax:"255"})),pe.a.createElement("div",{style:v.single},pe.a.createElement(Os,{style:{input:v.input,label:v.label},label:"b",value:o==null?void 0:o.b,onChange:g,dragLabel:"true",dragMax:"255"})),pe.a.createElement("div",{style:v.alpha},pe.a.createElement(Os,{style:{input:v.input,label:v.label},label:"a",value:Math.round(((o==null?void 0:o.a)||0)*100),onChange:g,dragLabel:"true",dragMax:"100"})))},Ka=xu;function wa(u){return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wa(u)}function Ai(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function Ti(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?Ai(Object(c),!0).forEach(function(o){bo(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):Ai(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function bo(u,i,c){return i=Hi(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function Hi(u){var i=ki(u,"string");return wa(i)==="symbol"?i:String(i)}function ki(u,i){if(wa(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(wa(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}var oo=function(i){var c=i.colors,o=i.onClick,t=o===void 0?function(){}:o,r=i.onSwatchHover,d={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)"}},v=function(b,P){t==null||t({hex:b,source:"hex"},P)};return pe.a.createElement("div",{style:d.colors,className:"flexbox-fix"},c==null?void 0:c.map(function(g){var b=typeof g=="string"?{color:g,title:void 0}:g,P="".concat(b.color).concat((b==null?void 0:b.title)||"");return pe.a.createElement("div",{key:P,style:d.swatchWrap},pe.a.createElement(ul,Ti(Ti({},b),{},{style:d.swatch,onClick:v,onHover:r,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px ".concat(b.color)}})))}))},Wa=oo;function bi(u){return bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},bi(u)}function Ba(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function Gi(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?Ba(Object(c),!0).forEach(function(o){Do(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):Ba(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function Do(u,i,c){return i=Ps(i),i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function Ps(u){var i=zs(u,"string");return bi(i)==="symbol"?i:String(i)}function zs(u,i){if(bi(u)!=="object"||u===null)return u;var c=u[Symbol.toPrimitive];if(c!==void 0){var o=c.call(u,i||"default");if(bi(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(u)}var vs=function(i){var c=i.width,o=i.rgb,t=i.hex,r=i.hsv,d=i.hsl,v=i.onChange,g=i.onSwatchHover,b=i.disableAlpha,P=i.presetColors,I=i.renderers,V=i.styles,K=V===void 0?{}:V,ae=i.className,ue=ae===void 0?"":ae,ve=zl()(ud()({default:Gi({picker:{width:c,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(o.r,",").concat(o.g,",").concat(o.b,",").concat(o.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)"}},K),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},K),{disableAlpha:b});return pe.a.createElement("div",{style:ve.picker,className:"sketch-picker ".concat(ue)},pe.a.createElement("div",{style:ve.saturation},pe.a.createElement(qf,{style:ve.Saturation,hsl:d,hsv:r,onChange:v})),pe.a.createElement("div",{style:ve.controls,className:"flexbox-fix"},pe.a.createElement("div",{style:ve.sliders},pe.a.createElement("div",{style:ve.hue},pe.a.createElement(hp,{style:ve.Hue,hsl:d,onChange:v})),pe.a.createElement("div",{style:ve.alpha},pe.a.createElement(Ff,{style:ve.Alpha,rgb:o,hsl:d,renderers:I,onChange:v}))),pe.a.createElement("div",{style:ve.color},pe.a.createElement(no,null),pe.a.createElement("div",{style:ve.activeColor}))),pe.a.createElement(Ka,{rgb:o,hsl:d,hex:t,onChange:v,disableAlpha:b}),pe.a.createElement(Wa,{colors:P,onClick:v,onSwatchHover:g}))};vs.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};var uc=Hc(vs),Kl=["mode","popoverProps"],fd=["#FF9D4E","#5BD8A6","#5B8FF9","#F7664E","#FF86B7","#2B9E9D","#9270CA","#6DC8EC","#667796","#F6BD16"],kl=function(i){var c=i.mode,o=i.popoverProps,t=Object(ut.a)(i,Kl),r=Object(fe.useContext)(bt.a.ConfigContext),d=r.getPrefixCls,v=d("pro-field-color-picker"),g=Ji("#1890ff",{value:t.value,onChange:t.onChange}),b=Object(Ge.a)(g,2),P=b[0],I=b[1],V=Object(le.jsx)("div",{className:v,style:{padding:5,width:48,border:"1px solid #ddd",borderRadius:"2px",cursor:"pointer"},children:Object(le.jsx)("div",{style:{backgroundColor:P,width:36,height:14,borderRadius:"2px"}})});return c==="read"?V:Object(le.jsx)(me.a,Object(Te.a)(Object(Te.a)({trigger:"click",placement:"right"},o),{},{content:Object(le.jsx)("div",{style:{margin:"-12px -16px"},children:Object(le.jsx)(uc,Object(Te.a)(Object(Te.a)({},t),{},{presetColors:t.colors||t.presetColors||fd,color:P,onChange:function(ae){var ue=ae.hex,ve=ae.rgb,Oe=ve.r,ke=ve.g,Ie=ve.b,Ye=ve.a;if(Ye&&Ye<1){I("rgba(".concat(Oe,", ").concat(ke,", ").concat(Ie,", ").concat(Ye,")"));return}I(ue)}}))}),children:V}))},Ic=function(i){var c=i.text,o=i.mode,t=i.render,r=i.renderFormItem,d=i.fieldProps;if(o==="read"){var v=Object(le.jsx)(kl,{value:c,mode:"read"});return t?t(c,Object(Te.a)({mode:o},d),v):v}if(o==="edit"||o==="update"){var g=Object(le.jsx)(kl,Object(Te.a)({},d));return r?r(c,Object(Te.a)({mode:o},d),g):g}return null},Pu=Ic,sf=l("ZTW2"),$f=l("+BJd"),Op=l("+eQT"),g0=function u(i,c){return kn(i)||Zt.a.isMoment(i)?i:Array.isArray(i)?i.map(function(o){return u(o,c)}):typeof i=="number"?Zt()(i):Zt()(i,c)},Rp=g0,by=l("b8b3"),Mv=function(i,c){return i?typeof c=="function"?c(Zt()(i)):Zt()(i).format(c||"YYYY-MM-DD"):"-"},de=function(i,c){var o=i.text,t=i.mode,r=i.format,d=i.label,v=i.light,g=i.render,b=i.renderFormItem,P=i.plain,I=i.showTime,V=i.fieldProps,K=i.picker,ae=i.bordered,ue=i.lightLabel,ve=i.labelTrigger,Oe=Object(qe.d)(),ke=Object(fe.useContext)(bt.a.SizeContext),Ie=Object(fe.useContext)(bt.a.ConfigContext),Ye=Ie.getPrefixCls,Ze=Ye("pro-field-date-picker"),et=Object(fe.useState)(!1),yt=Object(Ge.a)(et,2),jt=yt[0],Ft=yt[1];if(t==="read"){var Ht=Mv(o,V.format||r);return g?g(o,Object(Te.a)({mode:t},V),Object(le.jsx)(le.Fragment,{children:Ht})):Object(le.jsx)(le.Fragment,{children:Ht})}if(t==="edit"||t==="update"){var Gt,Jt=V.disabled,mn=V.value,vn=V.onChange,Yt=V.allowClear,En=V.placeholder,or=En===void 0?Oe.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"):En,$r=Rp(mn);if(v){var vr=$r&&$r.format(r)||"";Gt=Object(le.jsxs)("div",{className:"".concat(Ze,"-light"),onClick:function(Hr){var Aa,Fr,ca,fa=ue==null||(Aa=ue.current)===null||Aa===void 0||(Fr=Aa.labelRef)===null||Fr===void 0||(ca=Fr.current)===null||ca===void 0?void 0:ca.contains(Hr.target);Ft(fa?!jt:!0)},children:[Object(le.jsx)(Op.a,Object(Te.a)(Object(Te.a)({picker:K,showTime:I,format:r,ref:c},V),{},{value:$r,onChange:function(Hr){vn==null||vn(Hr),setTimeout(function(){Ft(!1)},0)},onOpenChange:function(Hr){ve||Ft(Hr)},open:jt})),Object(le.jsx)(Fn,{label:d,disabled:Jt,placeholder:or,size:ke,value:vr,onClear:function(){vn==null||vn(null)},allowClear:Yt,bordered:ae,expanded:jt,ref:ue})]})}else Gt=Object(le.jsx)(Op.a,Object(Te.a)(Object(Te.a)({picker:K,showTime:I,format:r,placeholder:or,bordered:P===void 0?!0:!P,ref:c},V),{},{value:$r}));return b?b(o,Object(Te.a)({mode:t},V),Gt):Gt}return null},Ce=pe.a.forwardRef(de),Je=l("giR+"),Kt=l("fyUT"),Mn=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.placeholder,v=i.renderFormItem,g=i.fieldProps,b=Object(fe.useCallback)(function(ue){var ve,Oe=ue!=null?ue:void 0;if(typeof ue=="string"&&(Oe=Number(Oe)),typeof Oe=="number"){if(g.precision){var ke,Ie,Ye;Oe=(ke=Oe)===null||ke===void 0||(Ie=ke.toFixed)===null||Ie===void 0?void 0:Ie.call(ke,(Ye=g.precision)!==null&&Ye!==void 0?Ye:0)}Oe=Number(Oe)}return g==null||(ve=g.onChange)===null||ve===void 0?void 0:ve.call(g,Oe)},[g]);if(t==="read"){var P,I={};(g==null?void 0:g.precision)&&(I={minimumFractionDigits:Number(g.precision),maximumFractionDigits:Number(g.precision)});var V=new Intl.NumberFormat(void 0,Object(Te.a)(Object(Te.a)({},I),(g==null?void 0:g.intlProps)||{})).format(Number(o)),K=Object(le.jsx)("span",{ref:c,children:(g==null||(P=g.formatter)===null||P===void 0?void 0:P.call(g,V))||V});return r?r(o,Object(Te.a)({mode:t},g),K):K}if(t==="edit"||t==="update"){var ae=Object(le.jsx)(Kt.a,Object(Te.a)(Object(Te.a)({ref:c,min:0,placeholder:d},Object(Ma.a)(g,["onChange"])),{},{onChange:b}));return v?v(o,Object(Te.a)({mode:t},g),ae):ae}return null},Rr=pe.a.forwardRef(Mn),ja=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.placeholder,v=i.renderFormItem,g=i.fieldProps,b=i.separator,P=b===void 0?"~":b,I=i.separatorWidth,V=I===void 0?30:I,K=g.value,ae=g.defaultValue,ue=g.onChange,ve=g.id,Oe=Ji(function(){return ae},{value:K,onChange:ue}),ke=Object(Ge.a)(Oe,2),Ie=ke[0],Ye=ke[1];if(t==="read"){var Ze=function(Jt){var mn,vn=new Intl.NumberFormat(void 0,Object(Te.a)({minimumSignificantDigits:2},(g==null?void 0:g.intlProps)||{})).format(Number(Jt));return(g==null||(mn=g.formatter)===null||mn===void 0?void 0:mn.call(g,vn))||vn},et=Object(le.jsxs)("span",{ref:c,children:[Ze(o[0])," ",P," ",Ze(o[1])]});return r?r(o,Object(Te.a)({mode:t},g),et):et}if(t==="edit"||t==="update"){var yt=function(){if(Array.isArray(Ie)){var Jt=Object(Ge.a)(Ie,2),mn=Jt[0],vn=Jt[1];typeof mn=="number"&&typeof vn=="number"&&mn>vn?Ye([vn,mn]):mn===void 0&&vn===void 0&&Ye(void 0)}},jt=function(Jt,mn){var vn=Object(Fe.a)(Ie||[]);vn[Jt]=mn===null?void 0:mn,Ye(vn)},Ft=(g==null?void 0:g.placeholder)||d,Ht=Object(le.jsxs)(_s.a.Group,{compact:!0,onBlur:yt,children:[Object(le.jsx)(Kt.a,Object(Te.a)(Object(Te.a)({},g),{},{placeholder:Array.isArray(Ft)?Ft[0]:Ft,id:ve!=null?ve:"".concat(ve,"-0"),style:{width:"calc((100% - ".concat(V,"px) / 2)")},value:Ie==null?void 0:Ie[0],defaultValue:ae==null?void 0:ae[0],onChange:function(Jt){return jt(0,Jt)}})),Object(le.jsx)(_s.a,{style:{width:V,textAlign:"center",borderLeft:0,borderRight:0,pointerEvents:"none",backgroundColor:"#FFF"},placeholder:P,disabled:!0}),Object(le.jsx)(Kt.a,Object(Te.a)(Object(Te.a)({},g),{},{placeholder:Array.isArray(Ft)?Ft[1]:Ft,id:ve!=null?ve:"".concat(ve,"-1"),style:{width:"calc((100% - ".concat(V,"px) / 2)"),borderLeft:0},value:Ie==null?void 0:Ie[1],defaultValue:ae==null?void 0:ae[1],onChange:function(Jt){return jt(1,Jt)}}))]});return v?v(o,Object(Te.a)({mode:t},g),Ht):Ht}return null},ci=pe.a.forwardRef(ja),yo=function(i){var c=i.text,o=i.mode,t=i.render,r=i.renderFormItem,d=i.format,v=i.fieldProps,g=Object(qe.d)();if(o==="read"){var b=Object(le.jsx)(Ni.a,{title:Zt()(c).format((v==null?void 0:v.format)||d||"YYYY-MM-DD HH:mm:ss"),children:Zt()(c).fromNow()});return t?t(c,Object(Te.a)({mode:o},v),Object(le.jsx)(le.Fragment,{children:b})):Object(le.jsx)(le.Fragment,{children:b})}if(o==="edit"||o==="update"){var P=g.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),I=Rp(v.value),V=Object(le.jsx)(Op.a,Object(Te.a)(Object(Te.a)({placeholder:P,showTime:!0},v),{},{value:I}));return r?r(c,Object(Te.a)({mode:o},v),V):V}return null},Ho=yo,sc=l("QeVK"),Pd=l("1GRj"),Gc=pe.a.forwardRef(function(u,i){var c=u.text,o=u.mode,t=u.render,r=u.renderFormItem,d=u.fieldProps,v=u.placeholder,g=u.width;if(o==="read"){var b=Object(le.jsx)(Pd.a,Object(Te.a)({ref:i,width:g||32,src:c},d));return t?t(c,Object(Te.a)({mode:o},d),b):b}if(o==="edit"||o==="update"){var P=Object(le.jsx)(_s.a,Object(Te.a)({ref:i,placeholder:v},d));return r?r(c,Object(Te.a)({mode:o},d),P):P}return null}),Tu=Gc,Fd=l("AN1N"),Ed=function(i,c){var o,t=i.border,r=t===void 0?!1:t,d=i.children,v=Object(fe.useContext)(bt.a.ConfigContext),g=v.getPrefixCls,b=g("pro-field-index-column");return Object(le.jsx)("div",{ref:c,className:tr()(b,(o={},Object(ft.a)(o,"".concat(b,"-border"),r),Object(ft.a)(o,"top-three",d>3),o)),children:d})},is=pe.a.forwardRef(Ed),ko=["content","numberFormatOptions","numberPopoverRender"],Wo=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],ic=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),jc={style:"currency",currency:"USD"},Td={style:"currency",currency:"RUB"},Ou={style:"currency",currency:"RSD"},Sd={style:"currency",currency:"MYR"},Vd={style:"currency",currency:"BRL"},Rd={default:ic,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":jc,"ru-RU":Td,"ms-MY":Sd,"sr-RS":Ou,"pt-BR":Vd},Bh=function(i,c,o,t){var r=c;return typeof r=="string"&&(r=Number(r)),!r&&r!==0?"":new Intl.NumberFormat(i||"zh-Hans-CN",Object(Te.a)(Object(Te.a)({},i===!1?{}:Rd[i||"zh-Hans-CN"]||Rd["zh-Hans-CN"]),{},{maximumFractionDigits:o},t)).format(r)},Rm=2,Oy=pe.a.forwardRef(function(u,i){var c=u.content,o=u.numberFormatOptions,t=u.numberPopoverRender,r=Object(ut.a)(u,ko),d=Ji(function(){return r.defaultValue},{value:r.value,onChange:r.onChange}),v=Object(Ge.a)(d,2),g=v[0],b=v[1],P=c==null?void 0:c(Object(Te.a)(Object(Te.a)({},r),{},{value:g})),I={visible:P?r.visible:!1};return Object(le.jsx)(me.a,Object(Te.a)(Object(Te.a)({placement:"topLeft"},I),{},{trigger:["focus","click"],content:P,getPopupContainer:function(K){return(K==null?void 0:K.parentElement)||document.body},children:Object(le.jsx)(Kt.a,Object(Te.a)(Object(Te.a)({ref:i},r),{},{value:g,onChange:b}))}))}),$w=function(i,c){var o,t,r=i.text,d=i.mode,v=i.render,g=i.renderFormItem,b=i.fieldProps,P=i.proFieldKey,I=i.plain,V=i.valueEnum,K=i.placeholder,ae=i.locale,ue=ae===void 0?(o=b.customSymbol)!==null&&o!==void 0?o:"zh-Hans-CN":ae,ve=i.customSymbol,Oe=ve===void 0?b.customSymbol:ve,ke=i.numberFormatOptions,Ie=ke===void 0?b==null?void 0:b.numberFormatOptions:ke,Ye=i.numberPopoverRender,Ze=Ye===void 0?(b==null?void 0:b.numberPopoverRender)||!1:Ye,et=Object(ut.a)(i,Wo),yt=(t=b==null?void 0:b.precision)!==null&&t!==void 0?t:Rm,jt=Object(qe.d)();ue&&qe.c[ue]&&(jt=qe.c[ue]);var Ft=Object(fe.useMemo)(function(){if(Oe)return Oe;var mn=jt.getMessage("moneySymbol","\uFFE5");if(!(et.moneySymbol===!1||b.moneySymbol===!1))return mn},[Oe,b.moneySymbol,jt,et.moneySymbol]);if(d==="read"){var Ht=Object(le.jsx)("span",{ref:c,children:Bh(Ft?ue:!1,r,yt,Ie!=null?Ie:b.numberFormatOptions)});return v?v(r,Object(Te.a)({mode:d},b),Ht):Ht}if(d==="edit"||d==="update"){var Gt=function(vn){var Yt=new RegExp("\\B(?=(\\d{".concat(3+Math.max(yt-Rm,0),"})+(?!\\d))"),"g"),En=String(vn).split("."),or=Object(Ge.a)(En,2),$r=or[0],vr=or[1],Er=$r.replace(Yt,","),Hr="";return vr&&yt>0&&(Hr=".".concat(vr.slice(0,yt===void 0?Rm:yt))),"".concat(Er).concat(Hr)},Jt=Object(le.jsx)(Oy,Object(Te.a)({content:function(vn){if(Ze!==!1&&!!vn.value){var Yt=Bh(Ft?ue:!1,"".concat(Gt(vn.value)),yt,Object(Te.a)(Object(Te.a)({},Ie),{},{notation:"compact"}));return typeof Ze=="function"?Ze==null?void 0:Ze(vn,Yt):Yt}},ref:c,precision:yt,formatter:function(vn){return vn&&Ft?"".concat(Ft," ").concat(Gt(vn)):vn==null?void 0:vn.toString()},parser:function(vn){return Ft&&vn?vn.replace(new RegExp("\\".concat(Ft,"\\s?|(,*)"),"g"),""):vn},placeholder:K},Object(Ma.a)(b,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible"])));return g?g(r,Object(Te.a)({mode:d},b),Jt):Jt}return null},YE=pe.a.forwardRef($w),$b=function(i){return i.map(function(c,o){return pe.a.isValidElement(c)?pe.a.cloneElement(c,Object(Te.a)({key:o},c==null?void 0:c.props)):Object(le.jsx)(pe.a.Fragment,{children:c},o)})},Ww=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.fieldProps,v=Object(fe.useContext)(bt.a.ConfigContext),g=v.getPrefixCls,b=g("pro-field-option");if(Object(fe.useImperativeHandle)(c,function(){return{}}),r){var P=r(o,Object(Te.a)({mode:t},d),Object(le.jsx)(le.Fragment,{}));return!P||(P==null?void 0:P.length)<1||!Array.isArray(P)?null:Object(le.jsx)(lt.b,{size:16,className:b,children:$b(P)})}return!o||!Array.isArray(o)?pe.a.isValidElement(o)?o:null:Object(le.jsx)(lt.b,{size:16,className:b,children:$b(o)})},Kw=pe.a.forwardRef(Ww),XE=l("9BLJ"),Yw=l("fHMl"),MP=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],PP=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps,g=i.proFieldKey,b=Object(ut.a)(i,MP),P=Object(qe.d)(),I=Ji(function(){return b.visible||!1},{value:b.visible,onChange:b.onVisible}),V=Object(Ge.a)(I,2),K=V[0],ae=V[1];if(t==="read"){var ue=Object(le.jsx)(le.Fragment,{children:"-"});return o&&(ue=Object(le.jsxs)(lt.b,{children:[Object(le.jsx)("span",{ref:c,children:K?o:"\uFF0A \uFF0A \uFF0A \uFF0A \uFF0A"}),Object(le.jsx)("a",{onClick:function(){return ae(!K)},children:K?Object(le.jsx)(XE.a,{}):Object(le.jsx)(Yw.a,{})})]})),r?r(o,Object(Te.a)({mode:t},v),ue):ue}if(t==="edit"||t==="update"){var ve=Object(le.jsx)(_s.a.Password,Object(Te.a)({placeholder:P.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ref:c},v));return d?d(o,Object(Te.a)({mode:t},v),ve):ve}return null},Xw=pe.a.forwardRef(PP),Dm=l("CeSn"),m0=l.n(Dm);function RP(u){return u===0?null:u>0?"+":"-"}function Jw(u){return u===0?"#595959":u>0?"#ff4d4f":"#52c41a"}function DP(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return i>=0?u==null?void 0:u.toFixed(i):u}var IP=function(i,c){var o=i.text,t=i.prefix,r=i.precision,d=i.suffix,v=d===void 0?"%":d,g=i.mode,b=i.showColor,P=b===void 0?!1:b,I=i.render,V=i.renderFormItem,K=i.fieldProps,ae=i.placeholder,ue=i.showSymbol,ve=Object(fe.useMemo)(function(){return typeof o=="string"&&o.includes("%")?m0()(o.replace("%","")):m0()(o)},[o]),Oe=Object(fe.useMemo)(function(){return typeof ue=="function"?ue==null?void 0:ue(o):ue},[ue,o]);if(g==="read"){var ke=P?{color:Jw(ve)}:{},Ie=Object(le.jsxs)("span",{style:ke,ref:c,children:[t&&Object(le.jsx)("span",{children:t}),Oe&&Object(le.jsxs)(fe.Fragment,{children:[RP(ve)," "]}),DP(Math.abs(ve),r),v&&v]});return I?I(o,Object(Te.a)(Object(Te.a)({mode:g},K),{},{prefix:t,precision:r,showSymbol:Oe,suffix:v}),Ie):Ie}if(g==="edit"||g==="update"){var Ye=Object(le.jsx)(Kt.a,Object(Te.a)({ref:c,formatter:function(et){return et&&t?"".concat(t," ").concat(et).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):et},parser:function(et){return et?et.replace(/.*\s|,/g,""):""},placeholder:ae},K));return V?V(o,Object(Te.a)({mode:g},K),Ye):Ye}return null},Zw=pe.a.forwardRef(IP),JE=l("CFYs");function um(u){return u===100?"success":u<0?"exception":u<100?"active":"normal"}var Qw=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.plain,v=i.renderFormItem,g=i.fieldProps,b=i.placeholder,P=Object(fe.useMemo)(function(){return typeof o=="string"&&o.includes("%")?m0()(o.replace("%","")):m0()(o)},[o]);if(t==="read"){var I=Object(le.jsx)(JE.a,Object(Te.a)({ref:c,size:"small",style:{minWidth:100,maxWidth:320},percent:P,steps:d?10:void 0,status:um(P)},g));return r?r(P,Object(Te.a)({mode:t},g),I):I}if(t==="edit"||t==="update"){var V=Object(le.jsx)(Kt.a,Object(Te.a)({ref:c,placeholder:b},g));return v?v(o,Object(Te.a)({mode:t},g),V):V}return null},ZE=pe.a.forwardRef(Qw),C_=l("7Kak"),wh=l("9yH6"),NP=l("6EJC"),QE=["radioType","renderFormItem","mode","render"],qw=function(i,c){var o=i.radioType,t=i.renderFormItem,r=i.mode,d=i.render,v=Object(ut.a)(i,QE),g=Object(fe.useContext)(bt.a.ConfigContext),b=g.getPrefixCls,P=b("pro-field-radio"),I=Nl(v),V=Object(Ge.a)(I,3),K=V[0],ae=V[1],ue=V[2],ve=Object(fe.useRef)();if(Object(fe.useImperativeHandle)(c,function(){return Object(Te.a)(Object(Te.a)({},ve.current||{}),{},{fetchData:function(){return ue()}})}),K)return Object(le.jsx)(At.a,{size:"small"});if(r==="read"){var Oe=(ae==null?void 0:ae.length)?ae==null?void 0:ae.reduce(function(et,yt){var jt;return Object(Te.a)(Object(Te.a)({},et),{},Object(ft.a)({},(jt=yt.value)!==null&&jt!==void 0?jt:"",yt.label))},{}):void 0,ke=Object(le.jsx)(le.Fragment,{children:Mi(v.text,Yo(v.valueEnum||Oe))});return d?d(v.text,Object(Te.a)({mode:r},v.fieldProps),ke)||null:ke}if(r==="edit"){var Ie,Ye=o==="button"?wh.a.Button:wh.a,Ze=Object(le.jsx)(wh.a.Group,Object(Te.a)(Object(Te.a)({ref:ve},v.fieldProps),{},{className:tr()((Ie=v.fieldProps)===null||Ie===void 0?void 0:Ie.className,"".concat(P,"-").concat(v.fieldProps.layout||"horizontal")),options:void 0,children:ae==null?void 0:ae.map(function(et){return Object(le.jsx)(Ye,Object(Te.a)(Object(Te.a)({},et),{},{children:et.label}),et.value)})}));return t?t(v.text,Object(Te.a)({mode:r},v.fieldProps),Ze)||null:Ze}return null},qE=pe.a.forwardRef(qw),eT=function(i,c){var o=i.text,t=i.mode,r=i.format,d=i.render,v=i.renderFormItem,g=i.plain,b=i.showTime,P=i.fieldProps,I=Object(qe.d)(),V=Array.isArray(o)?o:[],K=Object(Ge.a)(V,2),ae=K[0],ue=K[1],ve=Object(fe.useCallback)(function(et){if(typeof(P==null?void 0:P.format)=="function"){var yt;return P==null||(yt=P.format)===null||yt===void 0?void 0:yt.call(P,et)}return(P==null?void 0:P.format)||r||"YYYY-MM-DD"},[P,r]),Oe=ae?Zt()(ae).format(ve(Zt()(ae))):"",ke=ue?Zt()(ue).format(ve(Zt()(ue))):"";if(t==="read"){var Ie=Object(le.jsxs)("div",{ref:c,children:[Object(le.jsx)("div",{children:Oe||"-"}),Object(le.jsx)("div",{children:ke||"-"})]});return d?d(o,Object(Te.a)({mode:t},P),Object(le.jsx)("span",{children:Ie})):Ie}if(t==="edit"||t==="update"){var Ye=Rp(P.value),Ze=Object(le.jsx)(Op.a.RangePicker,Object(Te.a)(Object(Te.a)({ref:c,format:r,showTime:b,placeholder:[I.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),I.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")],bordered:g===void 0?!0:!g},P),{},{value:Ye}));return v?v(o,Object(Te.a)({mode:t},P),Ze):Ze}return null},ex=pe.a.forwardRef(eT),tT=l("xzDV"),_0=l("GzdX"),LP=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps;if(t==="read"){var g=Object(le.jsx)(_0.a,Object(Te.a)(Object(Te.a)({allowHalf:!0,disabled:!0,ref:c},v),{},{value:o}));return r?r(o,Object(Te.a)({mode:t},v),Object(le.jsx)(le.Fragment,{children:g})):g}if(t==="edit"||t==="update"){var b=Object(le.jsx)(_0.a,Object(Te.a)({allowHalf:!0,ref:c},v));return d?d(o,Object(Te.a)({mode:t},v),b):b}return null},RO=pe.a.forwardRef(LP);function nT(u){var i="",c=Math.floor(u/(3600*24)),o=Math.floor(u/3600),t=Math.floor(u/60%60),r=Math.floor(u%60);return i="".concat(r,"\u79D2"),t>0&&(i="".concat(t,"\u5206\u949F").concat(i)),o>0&&(i="".concat(o,"\u5C0F\u65F6").concat(i)),c>0&&(i="".concat(c,"\u5929").concat(i)),i}var tx=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps,g=i.placeholder;if(t==="read"){var b=nT(Number(o)),P=Object(le.jsx)("span",{ref:c,children:b});return r?r(o,Object(Te.a)({mode:t},v),P):P}if(t==="edit"||t==="update"){var I=Object(le.jsx)(Kt.a,Object(Te.a)({ref:c,min:0,style:{width:"100%"},placeholder:g},v));return d?d(o,Object(Te.a)({mode:t},v),I):I}return null},rT=pe.a.forwardRef(tx),aT=l("b2XM"),iT=l("eZ87"),E_=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps;if(t==="read"){var g=o;return r?r(o,Object(Te.a)({mode:t},v),Object(le.jsx)(le.Fragment,{children:g})):Object(le.jsx)(le.Fragment,{children:g})}if(t==="edit"||t==="update"){var b=Object(le.jsx)(iT.a,Object(Te.a)({ref:c},v));return d?d(o,Object(Te.a)({mode:t},v),b):b}return null},FP=pe.a.forwardRef(E_),Wp=l("BoS7"),Cy=l("Sdc0"),Wb=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps,g=Object(qe.d)(),b=Object(fe.useMemo)(function(){var V,K;return o==null||"".concat(o).length<1?"-":o?(V=v==null?void 0:v.checkedChildren)!==null&&V!==void 0?V:g.getMessage("switch.open","\u6253\u5F00"):(K=v==null?void 0:v.unCheckedChildren)!==null&&K!==void 0?K:g.getMessage("switch.close","\u5173\u95ED")},[v==null?void 0:v.checkedChildren,v==null?void 0:v.unCheckedChildren,o]);if(t==="read")return r?r(o,Object(Te.a)({mode:t},v),Object(le.jsx)(le.Fragment,{children:b})):b!=null?b:"-";if(t==="edit"||t==="update"){var P,I=Object(le.jsx)(Cy.a,Object(Te.a)(Object(Te.a)({ref:c},Object(Ma.a)(v,["value"])),{},{checked:(P=v==null?void 0:v.checked)!==null&&P!==void 0?P:v==null?void 0:v.value}));return d?d(o,Object(Te.a)({mode:t},v),I):I}return null},DO=pe.a.forwardRef(Wb),Qv=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps,g=i.emptyText,b=g===void 0?"-":g,P=v||{},I=P.autoFocus,V=P.prefix,K=V===void 0?"":V,ae=P.suffix,ue=ae===void 0?"":ae,ve=Object(qe.d)(),Oe=Object(fe.useRef)();if(Object(fe.useImperativeHandle)(c,function(){return Oe.current}),Object(fe.useEffect)(function(){if(I){var et;(et=Oe.current)===null||et===void 0||et.focus()}},[I]),t==="read"){var ke=Object(le.jsxs)(le.Fragment,{children:[K,o!=null?o:b,ue]});if(r){var Ie;return(Ie=r(o,Object(Te.a)({mode:t},v),ke))!==null&&Ie!==void 0?Ie:b}return ke}if(t==="edit"||t==="update"){var Ye=ve.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),Ze=Object(le.jsx)(_s.a,Object(Te.a)({ref:Oe,placeholder:Ye,allowClear:!0},v));return d?d(o,Object(Te.a)({mode:t},v),Ze):Ze}return null},y0=pe.a.forwardRef(Qv),b0=function(i,c){var o=i.text,t=i.mode,r=i.render,d=i.renderFormItem,v=i.fieldProps,g=Object(qe.d)();if(t==="read"){var b=Object(le.jsx)("span",{ref:c,children:o!=null?o:"-"});return r?r(o,Object(Te.a)({mode:t},v),b):b}if(t==="edit"||t==="update"){var P=Object(le.jsx)(_s.a.TextArea,Object(Te.a)({ref:c,rows:3,onKeyPress:function(V){V.key==="Enter"&&V.stopPropagation()},placeholder:g.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},v));return d?d(o,Object(Te.a)({mode:t},v),P):P}return null},oT=pe.a.forwardRef(b0),aF=l("pL63"),IO=l("kl6h"),sT=function(i,c){var o=i.text,t=i.mode,r=i.light,d=i.label,v=i.format,g=i.render,b=i.renderFormItem,P=i.plain,I=i.fieldProps,V=i.lightLabel,K=i.labelTrigger,ae=Object(fe.useState)(!1),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(fe.useContext)(bt.a.SizeContext),Ie=Object(fe.useContext)(bt.a.ConfigContext),Ye=Ie.getPrefixCls,Ze=Ye("pro-field-date-picker"),et=(I==null?void 0:I.format)||v||"HH:mm:ss",yt=Zt.a.isMoment(o)||typeof o=="number";if(t==="read"){var jt=Object(le.jsx)("span",{ref:c,children:o?Zt()(o,yt?void 0:et).format(et):"-"});return g?g(o,Object(Te.a)({mode:t},I),Object(le.jsx)("span",{children:jt})):jt}if(t==="edit"||t==="update"){var Ft,Ht=I.disabled,Gt=I.onChange,Jt=I.placeholder,mn=I.allowClear,vn=I.value,Yt=Rp(vn,et);if(r){var En=Yt&&Yt.format(et)||"";Ft=Object(le.jsxs)("div",{className:"".concat(Ze,"-light"),onClick:function($r){var vr,Er,Hr,Aa=V==null||(vr=V.current)===null||vr===void 0||(Er=vr.labelRef)===null||Er===void 0||(Hr=Er.current)===null||Hr===void 0?void 0:Hr.contains($r.target);Oe(Aa?!ve:!0)},children:[Object(le.jsx)(IO.a,Object(Te.a)(Object(Te.a)({value:Yt,format:v,ref:c},I),{},{onChange:function($r){Gt==null||Gt($r),setTimeout(function(){Oe(!1)},0)},onOpenChange:function($r){K||Oe($r)},open:ve})),Object(le.jsx)(Fn,{label:d,disabled:Ht,placeholder:Jt,size:ke,value:En,allowClear:mn,onClear:function(){return Gt==null?void 0:Gt(null)},expanded:ve,ref:V})]})}else Ft=Object(le.jsx)(Op.a.TimePicker,Object(Te.a)(Object(Te.a)({ref:c,format:v,bordered:P===void 0?!0:!P},I),{},{value:Yt}));return b?b(o,Object(Te.a)({mode:t},I),Ft):Ft}return null},UP=function(i){var c=i.text,o=i.mode,t=i.format,r=i.render,d=i.renderFormItem,v=i.plain,g=i.fieldProps,b=(g==null?void 0:g.format)||t||"HH:mm:ss",P=Array.isArray(c)?c:[],I=Object(Ge.a)(P,2),V=I[0],K=I[1],ae=Zt.a.isMoment(V)||typeof V=="number",ue=Zt.a.isMoment(K)||typeof K=="number",ve=V?Zt()(V,ae?void 0:b).format(b):"",Oe=K?Zt()(K,ue?void 0:b).format(b):"";if(o==="read"){var ke=Object(le.jsxs)("div",{children:[Object(le.jsx)("div",{children:ve||"-"}),Object(le.jsx)("div",{children:Oe||"-"})]});return r?r(c,Object(Te.a)({mode:o},g),Object(le.jsx)("span",{children:ke})):ke}if(o==="edit"||o==="update"){var Ie=g.value,Ye=Rp(Ie,b),Ze=Object(le.jsx)(IO.a.RangePicker,Object(Te.a)(Object(Te.a)({format:t,bordered:v===void 0?!0:!v},g),{},{value:Ye}));return d?d(c,Object(Te.a)({mode:o},g),Ze):Ze}return null},cT=pe.a.forwardRef(sT),Kb=l("0fbx"),Yb=l("5RzL"),pf=["radioType","renderFormItem","mode","light","label","render"],dp=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","searchValue"],Ey=function(i,c){var o=i.radioType,t=i.renderFormItem,r=i.mode,d=i.light,v=i.label,g=i.render,b=Object(ut.a)(i,pf),P=Object(fe.useContext)(bt.a.ConfigContext),I=P.getPrefixCls,V=I("pro-field-tree-select"),K=Object(fe.useRef)(null),ae=Object(fe.useState)(!1),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1],ke=b.fieldProps||{},Ie=ke.onSearch,Ye=ke.onClear,Ze=ke.onChange,et=ke.onBlur,yt=ke.showSearch,jt=ke.autoClearSearchValue,Ft=ke.treeData,Ht=ke.searchValue,Gt=Object(ut.a)(ke,dp),Jt=Object(fe.useContext)(bt.a.SizeContext),mn=Nl(Object(Te.a)(Object(Te.a)({},b),{},{defaultKeyWords:Ht})),vn=Object(Ge.a)(mn,3),Yt=vn[0],En=vn[1],or=vn[2],$r=Ji("",{onChange:Ie,value:Ht}),vr=Object(Ge.a)($r,2),Er=vr[0],Hr=vr[1];Object(fe.useImperativeHandle)(c,function(){return Object(Te.a)(Object(Te.a)({},K.current||{}),{},{fetchData:function(){return or()}})});var Aa=Object(fe.useMemo)(function(){if(r==="read"){var Us=(Gt==null?void 0:Gt.fieldNames)||{},po=Us.value,dc=po===void 0?"value":po,ns=Us.label,fc=ns===void 0?"label":ns,Kc=Us.children,gl=Kc===void 0?"children":Kc,du=new Map,yu=function Su(Ql){if(!(Ql==null?void 0:Ql.length))return du;for(var Bl=Ql.length,Qo=0;Qo<Bl;){var hc=Ql[Qo++];du.set(hc[dc],hc[fc]),Su(hc[gl])}return du};return yu(En)}},[Gt==null?void 0:Gt.fieldNames,r,En]),Fr=function(po,dc,ns){yt&&jt&&(or(""),Hr("")),Ze==null||Ze(po,dc,ns)};if(r==="read"){var ca=Object(le.jsx)(le.Fragment,{children:Mi(b.text,Yo(b.valueEnum||Aa))});return g?g(b.text,Object(Te.a)({mode:r},Gt),ca)||null:ca}if(r==="edit"){var fa,ai=Array.isArray(Gt==null?void 0:Gt.value)?Gt==null||(fa=Gt.value)===null||fa===void 0?void 0:fa.length:0,Wi=Object(le.jsx)(At.a,{spinning:Yt,children:Object(le.jsx)(Yb.a,Object(Te.a)(Object(Te.a)({open:ve,onDropdownVisibleChange:Oe,ref:K,dropdownMatchSelectWidth:!d,tagRender:d?function(Us){var po;if(ai<2)return Object(le.jsx)(le.Fragment,{children:Us.label});var dc=Gt==null||(po=Gt.value)===null||po===void 0?void 0:po.findIndex(function(ns){return ns===Us.value||ns.value===Us.value});return Object(le.jsxs)(le.Fragment,{children:[Us.label," ",dc<ai-1?",":""]})}:void 0},Gt),{},{bordered:!d,treeData:En,showSearch:yt,style:Object(Te.a)({minWidth:60},Gt.style),searchValue:Er,autoClearSearchValue:jt,onClear:function(){Ye==null||Ye(),or(""),yt&&Hr("")},onChange:Fr,onSearch:function(po){or(po),Hr(po)},onBlur:function(po){Hr(""),or(""),et==null||et(po)},className:tr()(Gt==null?void 0:Gt.className,V)}))});if(t&&(Wi=t(b.text,Object(Te.a)({mode:r},Gt),Wi)||null),d){var Co=Gt.disabled,zi=Gt.allowClear,us=Gt.placeholder;return Object(le.jsx)(Fn,{label:v,disabled:Co,placeholder:us,size:Jt,onLabelClick:function(){return Oe(!ve)},allowClear:zi,bordered:b.bordered,value:Wi,onClear:function(){return Ze==null?void 0:Ze(void 0,[],{})}})}return Wi}return null},x_=pe.a.forwardRef(Ey);function lT(u){var i=Object(fe.useState)(!1),c=Object(Ge.a)(i,2),o=c[0],t=c[1],r=Object(fe.useRef)(null),d=Object(fe.useCallback)(function(b){var P,I,V,K,ae,ue,ve=(P=r.current)===null||P===void 0||(I=P.labelRef)===null||I===void 0||(V=I.current)===null||V===void 0?void 0:V.contains(b.target),Oe=(K=r.current)===null||K===void 0||(ae=K.clearRef)===null||ae===void 0||(ue=ae.current)===null||ue===void 0?void 0:ue.contains(b.target);return ve&&!Oe},[r]),v=function(P){d(P)&&t(!0)},g=function(){t(!1)};return u.isLight?Object(le.jsx)("div",{onMouseDown:v,onMouseUp:g,children:pe.a.cloneElement(u.children,{labelTrigger:o,lightLabel:r})}):Object(le.jsx)(le.Fragment,{children:u.children})}var Dp=lT,Ug=["text","valueType","mode","onChange","renderFormItem","value","readonly"],nx=["select","radio","radioButton","checkbook"],dm=function(i,c,o){var t=af(o.fieldProps);return c.type==="progress"?Object(le.jsx)(ZE,Object(Te.a)(Object(Te.a)({},o),{},{text:i,fieldProps:Object(Te.a)({status:c.status?c.status:void 0},t)})):c.type==="money"?Object(le.jsx)(YE,Object(Te.a)(Object(Te.a)({locale:c.locale},o),{},{fieldProps:t,text:i,moneySymbol:c.moneySymbol})):c.type==="percent"?Object(le.jsx)(Zw,Object(Te.a)(Object(Te.a)({},o),{},{text:i,showSymbol:c.showSymbol,precision:c.precision,fieldProps:t,showColor:c.showColor})):c.type==="image"?Object(le.jsx)(Tu,Object(Te.a)(Object(Te.a)({},o),{},{text:i,width:c.width})):i},Qd=function(i,c,o,t){var r,d=o.mode,v=d===void 0?"read":d,g=o.emptyText,b=g===void 0?"-":g;if(b!==!1&&v==="read"&&c!=="option"&&c!=="switch"&&typeof i!="boolean"&&typeof i!="number"&&!i){var P=o.fieldProps,I=o.render;return I?I(i,Object(Te.a)({mode:v},P),Object(le.jsx)(le.Fragment,{children:b})):Object(le.jsx)(le.Fragment,{children:b})}if(delete o.emptyText,Object(Ve.a)(c)==="object")return dm(i,c,o);var V=t&&t[c];if(V){if(delete o.ref,v==="read"){var K;return(K=V.render)===null||K===void 0?void 0:K.call(V,i,Object(Te.a)(Object(Te.a)({text:i},o),{},{mode:v||"read"}),Object(le.jsx)(le.Fragment,{children:i}))}if(v==="update"||v==="edit"){var ae;return(ae=V.renderFormItem)===null||ae===void 0?void 0:ae.call(V,i,Object(Te.a)({text:i},o),Object(le.jsx)(le.Fragment,{children:i}))}}var ue=nx.includes(c),ve=!!(o.valueEnum||o.request||o.options||((r=o.fieldProps)===null||r===void 0?void 0:r.options));return pi(!ue||ve,"\u5982\u679C\u8BBE\u7F6E\u4E86 valueType \u4E3A ".concat(nx.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")),pi(!ue||ve,"If you set valueType to any of ".concat(nx.join(","),", you need to configure options, request or valueEnum.")),c==="money"?Object(le.jsx)(YE,Object(Te.a)(Object(Te.a)({},o),{},{text:i})):c==="date"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(Ce,Object(Te.a)({text:i,format:"YYYY-MM-DD"},o))}):c==="dateWeek"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(Ce,Object(Te.a)({text:i,format:"YYYY-wo",picker:"week"},o))}):c==="dateMonth"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(Ce,Object(Te.a)({text:i,format:"YYYY-MM",picker:"month"},o))}):c==="dateQuarter"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(Ce,Object(Te.a)({text:i,format:"YYYY-\\QQ",picker:"quarter"},o))}):c==="dateYear"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(Ce,Object(Te.a)({text:i,format:"YYYY",picker:"year"},o))}):c==="dateRange"?Object(le.jsx)(ex,Object(Te.a)({text:i,format:"YYYY-MM-DD"},o)):c==="dateTime"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(Ce,Object(Te.a)({text:i,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},o))}):c==="dateTimeRange"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(ex,Object(Te.a)({text:i,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},o))}):c==="time"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(cT,Object(Te.a)({text:i,format:"HH:mm:ss"},o))}):c==="timeRange"?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(UP,Object(Te.a)({text:i,format:"HH:mm:ss"},o))}):c==="fromNow"?Object(le.jsx)(Ho,Object(Te.a)({text:i},o)):c==="index"?Object(le.jsx)(is,{children:i+1}):c==="indexBorder"?Object(le.jsx)(is,{border:!0,children:i+1}):c==="progress"?Object(le.jsx)(ZE,Object(Te.a)(Object(Te.a)({},o),{},{text:i})):c==="percent"?Object(le.jsx)(Zw,Object(Te.a)({text:i},o)):c==="avatar"&&typeof i=="string"&&o.mode==="read"?Object(le.jsx)(Od.a,{src:i,size:22,shape:"circle"}):c==="code"?Object(le.jsx)(Xs,Object(Te.a)({text:i},o)):c==="jsonCode"?Object(le.jsx)(Xs,Object(Te.a)({text:i,language:"json"},o)):c==="textarea"?Object(le.jsx)(oT,Object(Te.a)({text:i},o)):c==="digit"?Object(le.jsx)(Rr,Object(Te.a)({text:i},o)):c==="digitRange"?Object(le.jsx)(ci,Object(Te.a)({text:i},o)):c==="second"?Object(le.jsx)(rT,Object(Te.a)({text:i},o)):c==="select"||c==="text"&&(o.valueEnum||o.request)?Object(le.jsx)(Dp,{isLight:o.light,children:Object(le.jsx)(vu,Object(Te.a)({text:i},o))}):c==="checkbox"?Object(le.jsx)(jr,Object(Te.a)({text:i},o)):c==="radio"?Object(le.jsx)(qE,Object(Te.a)({text:i},o)):c==="radioButton"?Object(le.jsx)(qE,Object(Te.a)({radioType:"button",text:i},o)):c==="rate"?Object(le.jsx)(RO,Object(Te.a)({text:i},o)):c==="slider"?Object(le.jsx)(FP,Object(Te.a)({text:i},o)):c==="switch"?Object(le.jsx)(DO,Object(Te.a)({text:i},o)):c==="option"?Object(le.jsx)(Kw,Object(Te.a)({text:i},o)):c==="password"?Object(le.jsx)(Xw,Object(Te.a)({text:i},o)):c==="image"?Object(le.jsx)(Tu,Object(Te.a)({text:i},o)):c==="cascader"?Object(le.jsx)(Ws,Object(Te.a)({text:i},o)):c==="treeSelect"?Object(le.jsx)(x_,Object(Te.a)({text:i},o)):c==="color"?Object(le.jsx)(Pu,Object(Te.a)({text:i},o)):Object(le.jsx)(y0,Object(Te.a)({text:i},o))},rx=function(i,c){var o,t,r,d=i.text,v=i.valueType,g=v===void 0?"text":v,b=i.mode,P=b===void 0?"read":b,I=i.onChange,V=i.renderFormItem,K=i.value,ae=i.readonly,ue=Object(ut.a)(i,Ug),ve=Object(qe.d)(),Oe=Object(fe.useContext)(qe.b),ke=(K!==void 0||I||(ue==null?void 0:ue.fieldProps))&&Object(Te.a)(Object(Te.a)({value:K},Object(fi.a)(ue==null?void 0:ue.fieldProps)),{},{onChange:function(){for(var Ye,Ze,et=arguments.length,yt=new Array(et),jt=0;jt<et;jt++)yt[jt]=arguments[jt];ue==null||(Ye=ue.fieldProps)===null||Ye===void 0||(Ze=Ye.onChange)===null||Ze===void 0||Ze.call.apply(Ze,[Ye].concat(yt)),I==null||I.apply(void 0,yt)}});return Object(le.jsx)(pe.a.Fragment,{children:Qd(P==="edit"?(o=(t=ke==null?void 0:ke.value)!==null&&t!==void 0?t:d)!==null&&o!==void 0?o:"":(r=d!=null?d:ke==null?void 0:ke.value)!==null&&r!==void 0?r:"",g||"text",Object(Te.a)(Object(Te.a)({ref:c},ue),{},{mode:ae?"read":P,renderFormItem:V?function(){var Ie=V.apply(void 0,arguments);return pe.a.isValidElement(Ie)?pe.a.cloneElement(Ie,Object(Te.a)(Object(Te.a)({placeholder:ue.placeholder||ve.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},ke),Ie.props||{})):Ie}:void 0,placeholder:ue.placeholder||ve.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),fieldProps:af(ke)}),Oe.valueTypeMap)})},Wf=pe.a.forwardRef(rx),_f=["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 ep(u){var i={};return _f.forEach(function(c){u[c]!==void 0&&(i[c]=u[c])}),i}var Bg=l("85Yc"),BP=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],VP=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],zP=Symbol("ProFormComponent"),ax={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},uT=["switch","radioButton","radio","rate"];function Xb(u,i){u.displayName="ProFormComponent";var c=function(r){var d=Object(Te.a)(Object(Te.a)({},r==null?void 0:r.filedConfig),i)||{},v=d.valueType,g=d.customLightMode,b=d.lightFilterLabelFormatter,P=d.valuePropName,I=P===void 0?"value":P,V=d.ignoreWidth,K=d.defaultProps,ae=Object(ut.a)(d,BP),ue=Object(Te.a)(Object(Te.a)({},K),r),ve=ue.label,Oe=ue.tooltip,ke=ue.placeholder,Ie=ue.width,Ye=ue.bordered,Ze=ue.messageVariables,et=ue.ignoreFormItem,yt=ue.transform,jt=ue.convertValue,Ft=ue.readonly,Ht=ue.allowClear,Gt=ue.colSize,Jt=ue.getFormItemProps,mn=ue.getFieldProps,vn=ue.filedConfig,Yt=ue.cacheForSwr,En=ue.proFieldProps,or=Object(ut.a)(ue,VP),$r=v||or.valueType,vr=Object(fe.useMemo)(function(){return V||uT.includes($r)},[V,$r]),Er=Object(fe.useState)(),Hr=Object(Ge.a)(Er,2),Aa=Hr[1],Fr=Object(fe.useState)(),ca=Object(Ge.a)(Fr,2),fa=ca[0],ai=ca[1],Wi=pe.a.useContext(ao),Co=Object(fe.useMemo)(function(){return{formItemProps:Jt==null?void 0:Jt(),fieldProps:mn==null?void 0:mn()}},[mn,Jt,or.dependenciesValues,fa]),zi=Object(fe.useMemo)(function(){var Qc=Object(Te.a)(Object(Te.a)(Object(Te.a)(Object(Te.a)({},et?Object(fi.a)({value:or.value}):{}),{},{placeholder:ke,disabled:r.disabled},Wi.fieldProps),Co.fieldProps),or.fieldProps);return Qc.style=Object(fi.a)(Qc==null?void 0:Qc.style),Qc},[et,or.value,or.fieldProps,ke,r.disabled,Wi.fieldProps,Co.fieldProps]),us=ep(or),Us=Object(fe.useMemo)(function(){return Object(Te.a)(Object(Te.a)(Object(Te.a)(Object(Te.a)({},Wi.formItemProps),us),Co.formItemProps),or.formItemProps)},[Co.formItemProps,Wi.formItemProps,or.formItemProps,us]),po=Object(fe.useMemo)(function(){return Object(Te.a)(Object(Te.a)({messageVariables:Ze},ae),Us)},[ae,Us,Ze]);pi(!or.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 dc=Object(fe.useContext)(Bg.FieldContext),ns=dc.prefixName,fc=Object(fe.useMemo)(function(){var Qc,ed=po==null?void 0:po.name;Array.isArray(ed)&&(ed=ed.join("_")),Array.isArray(ns)&&ed&&(ed="".concat(ns.join("."),".").concat(ed));var zu=ed&&"form-".concat((Qc=Wi.formKey)!==null&&Qc!==void 0?Qc:"","-field-").concat(ed);return zu},[Di(po==null?void 0:po.name),ns,Wi.formKey]),Kc=cn(or),gl=Object(fe.useCallback)(function(){var Qc;Jt||mn?ai([]):or.renderFormItem&&Aa([]);for(var ed=arguments.length,zu=new Array(ed),Xc=0;Xc<ed;Xc++)zu[Xc]=arguments[Xc];zi==null||(Qc=zi.onChange)===null||Qc===void 0||Qc.call.apply(Qc,[zi].concat(zu))},[mn,Jt,zi,or.renderFormItem]),du=Object(fe.useMemo)(function(){var Qc=Object(Te.a)({width:Ie&&!ax[Ie]?Ie:Wi.grid?"100%":void 0},zi==null?void 0:zi.style);return vr&&Reflect.deleteProperty(Qc,"width"),Object(fi.a)(Qc)},[Di(zi==null?void 0:zi.style),Wi.grid,vr,Ie]),yu=Object(fe.useMemo)(function(){var Qc=Ie&&ax[Ie];return tr()(zi==null?void 0:zi.className,Object(ft.a)({"pro-field":Qc},"pro-field-".concat(Ie),Qc&&!vr))||void 0},[Ie,zi==null?void 0:zi.className,vr]),Su=Object(fe.useMemo)(function(){return Object(fi.a)(Object(Te.a)({mode:or==null?void 0:or.mode,readonly:Ft,params:or.params,proFieldKey:fc,cacheForSwr:Yt},En))},[or==null?void 0:or.mode,or.params,Ft,fc,Yt,En]),Ql=Object(fe.useMemo)(function(){return Object(Te.a)(Object(Te.a)({onChange:gl,allowClear:Ht},zi),{},{style:du,className:yu})},[Ht,yu,gl,zi,du]),Bl=Object(fe.useMemo)(function(){return Object(le.jsx)(u,Object(Te.a)(Object(Te.a)({},or),{},{fieldProps:Ql,proFieldProps:Su,ref:r==null?void 0:r.fieldRef}),r.proFormFieldKey||r.name)},[Su,Ql,_n(Kc,or,["onChange","onBlur","onFocus","record"])?void 0:{}]),Qo=Object(fe.useMemo)(function(){var Qc,ed,zu,Xc;return Object(le.jsx)(Ss,Object(Te.a)(Object(Te.a)({label:ve&&(En==null?void 0:En.light)!==!0?ve:void 0,tooltip:(En==null?void 0:En.light)!==!0&&Oe,valuePropName:I},po),{},{ignoreFormItem:et,transform:yt,dataFormat:zi==null?void 0:zi.format,valueType:$r,messageVariables:Object(Te.a)({label:ve||""},po==null?void 0:po.messageVariables),convertValue:jt,lightProps:Object(fi.a)(Object(Te.a)(Object(Te.a)(Object(Te.a)({},zi),{},{valueType:$r,bordered:Ye,allowClear:(Qc=Bl==null||(ed=Bl.props)===null||ed===void 0?void 0:ed.allowClear)!==null&&Qc!==void 0?Qc:Ht,light:En==null?void 0:En.light,label:ve,customLightMode:g,labelFormatter:b,valuePropName:I,footerRender:Bl==null||(zu=Bl.props)===null||zu===void 0?void 0:zu.footerRender},or.lightProps),po.lightProps)),children:Bl}),r.proFormFieldKey||((Xc=po.name)===null||Xc===void 0?void 0:Xc.toString()))},[ve,En==null?void 0:En.light,Oe,I,r.proFormFieldKey,po,et,yt,zi,$r,jt,Ye,Bl,Ht,g,b,or.lightProps]),hc=sa(or),Yl=hc.ColWrapper;return Object(le.jsx)(Yl,{children:Qo})},o=function(r){var d=r.dependencies;return d?Object(le.jsx)(Ol,{name:d,children:function(g){return Object(le.jsx)(c,Object(Te.a)({dependenciesValues:g,dependencies:d},r))}}):Object(le.jsx)(c,Object(Te.a)({dependencies:d},r))};return o}var dT=["fieldProps","children","labelCol","label","autoFocus","isDefaultDom","render","proFieldProps","renderFormItem","valueType","initialValue","onChange","valueEnum","params","name","dependenciesValues","cacheForSwr","valuePropName"],Vh=function(i){var c=i.fieldProps,o=i.children,t=i.labelCol,r=i.label,d=i.autoFocus,v=i.isDefaultDom,g=i.render,b=i.proFieldProps,P=i.renderFormItem,I=i.valueType,V=i.initialValue,K=i.onChange,ae=i.valueEnum,ue=i.params,ve=i.name,Oe=i.dependenciesValues,ke=i.cacheForSwr,Ie=ke===void 0?!1:ke,Ye=i.valuePropName,Ze=Ye===void 0?"value":Ye,et=Object(ut.a)(i,dT),yt=Object(fe.useContext)(Da),jt=Object(fe.useMemo)(function(){return Oe&&et.request?Object(Te.a)(Object(Te.a)({},ue),Oe||{}):ue},[Oe,ue,et.request]),Ft=Object(fe.useMemo)(function(){if(o)return pe.a.isValidElement(o)?pe.a.cloneElement(o,Object(Te.a)(Object(Te.a)({},et),{},{onChange:function(){for(var Gt=arguments.length,Jt=new Array(Gt),mn=0;mn<Gt;mn++)Jt[mn]=arguments[mn];if(c==null?void 0:c.onChange){var vn;c==null||(vn=c.onChange)===null||vn===void 0||vn.call.apply(vn,[c].concat(Jt));return}K==null||K.apply(void 0,Jt)}},o.props)):Object(le.jsx)(le.Fragment,{children:o})},[o,c==null?void 0:c.onChange,K,et]);return Ft||Object(le.jsx)(Wf,Object(Te.a)(Object(Te.a)(Object(Te.a)({text:c==null?void 0:c[Ze],render:g,renderFormItem:P,valueType:I||"text",cacheForSwr:Ie,fieldProps:Object(Te.a)(Object(Te.a)({autoFocus:d},c),{},{onChange:function(){if(c==null?void 0:c.onChange){for(var Gt,Jt=arguments.length,mn=new Array(Jt),vn=0;vn<Jt;vn++)mn[vn]=arguments[vn];c==null||(Gt=c.onChange)===null||Gt===void 0||Gt.call.apply(Gt,[c].concat(mn));return}}}),valueEnum:Pt(ae)},b),et),{},{mode:(b==null?void 0:b.mode)||yt.mode||"edit",params:jt}))},ix=Xb(Object(fe.memo)(Vh,function(u,i){return _n(i,u,["onChange","onBlur"])})),S_=ix,Kp=function(i,c){var o=c.action,t=c.formRef,r=c.type,d=c.originItem,v=Object(Te.a)(Object(Te.a)({},Object(Ma.a)(i,["dataIndex","width","render","renderFormItem","renderText","title"])),{},{name:i.dataIndex,width:i.width,render:(i==null?void 0:i.render)?function(I,V,K){var ae,ue,ve;return i==null||(ae=i.render)===null||ae===void 0?void 0:ae.call(i,I,V,K,o==null?void 0:o.current,Object(Te.a)(Object(Te.a)({type:r},i),{},{formItemProps:(ue=i.getFormItemProps)===null||ue===void 0?void 0:ue.call(i),fieldProps:(ve=i.getFieldProps)===null||ve===void 0?void 0:ve.call(i)}))}:void 0}),g=function(){return Object(le.jsx)(S_,Object(Te.a)(Object(Te.a)({},v),{},{ignoreFormItem:!0}))},b=(i==null?void 0:i.renderFormItem)?function(I,V){var K,ae,ue,ve=Object(fi.a)(Object(Te.a)(Object(Te.a)({},V),{},{onChange:void 0}));return i==null||(K=i.renderFormItem)===null||K===void 0?void 0:K.call(i,Object(Te.a)(Object(Te.a)({type:r},i),{},{formItemProps:(ae=i.getFormItemProps)===null||ae===void 0?void 0:ae.call(i),fieldProps:(ue=i.getFieldProps)===null||ue===void 0?void 0:ue.call(i),originProps:d}),Object(Te.a)(Object(Te.a)({},ve),{},{defaultRender:g,type:r}),t.current)}:void 0;if(i==null?void 0:i.renderFormItem){var P=b==null?void 0:b(null,{});if(!P||i.ignoreFormItem)return P}return Object(fe.createElement)(S_,Object(Te.a)(Object(Te.a)({},v),{},{key:"".concat(i.key,"-").concat(i.index),renderFormItem:b}))},Ip=function(i,c){var o=c.genItems;if(i.valueType==="formList"&&i.dataIndex){var t,r,d,v,g,b,P,I,V,K,ae;return!i.columns||!Array.isArray(i.columns)?null:Object(le.jsx)(zo,Object(Te.a)(Object(Te.a)({name:i.dataIndex,label:i.label,initialValue:i.initialValue,colProps:i.colProps,rowProps:i.rowProps},(t=i.getFieldProps)===null||t===void 0?void 0:t.call(i)),{},{isValidateList:(r=((g=i.getFormItemProps)===null||g===void 0?void 0:g.call(i))||((b=i.getFieldProps)===null||b===void 0?void 0:b.call(i)))===null||r===void 0||(d=r.rules)===null||d===void 0||(v=d[0])===null||v===void 0?void 0:v.required,emptyListMessage:(P=((K=i.getFormItemProps)===null||K===void 0?void 0:K.call(i))||((ae=i.getFieldProps)===null||ae===void 0?void 0:ae.call(i)))===null||P===void 0||(I=P.rules)===null||I===void 0||(V=I[0])===null||V===void 0?void 0:V.message,children:o(i.columns)}),i.key)}return!0},NO=["children","value","valuePropName","onChange","fieldProps","space","type","transform","convertValue"],HP=["children","space","valuePropName"],GP={space:lt.b,group:_s.a.Group};function fT(u){var i=arguments.length<=1?void 0:arguments[1];return i&&i.target&&u in i.target?i.target[u]:i}var $P=function(i){var c=i.children,o=i.value,t=o===void 0?[]:o,r=i.valuePropName,d=i.onChange,v=i.fieldProps,g=i.space,b=i.type,P=b===void 0?"space":b,I=i.transform,V=i.convertValue,K=Object(ut.a)(i,NO),ae=Object(Dt.a)(function(et,yt){var jt,Ft=Object(Fe.a)(t);Ft[yt]=fT(r||"value",et),d==null||d(Ft),v==null||(jt=v.onChange)===null||jt===void 0||jt.call(v,Ft)}),ue=-1,ve=ks(c).map(function(et){if(pe.a.isValidElement(et)){var yt,jt,Ft;ue+=1;var Ht=ue,Gt=(et==null||(yt=et.type)===null||yt===void 0?void 0:yt.displayName)==="ProFormComponent"||(et==null||(jt=et.props)===null||jt===void 0?void 0:jt.readonly),Jt=Gt?Object(Te.a)(Object(Te.a)({key:Ht,ignoreFormItem:!0},et.props||{}),{},{fieldProps:Object(Te.a)(Object(Te.a)({},et==null||(Ft=et.props)===null||Ft===void 0?void 0:Ft.fieldProps),{},{onChange:function(){ae(arguments.length<=0?void 0:arguments[0],Ht)}}),value:t==null?void 0:t[Ht],onChange:void 0}):Object(Te.a)(Object(Te.a)({key:Ht},et.props||{}),{},{value:t==null?void 0:t[Ht],onChange:function(vn){var Yt,En;ae(vn,Ht),(Yt=(En=et.props).onChange)===null||Yt===void 0||Yt.call(En,vn)}});return pe.a.cloneElement(et,Jt)}return et}),Oe=GP[P],ke=sa(K),Ie=ke.RowWrapper,Ye=Object(fe.useMemo)(function(){return Object(Te.a)({},P==="group"?{compact:!0}:{})},[P]),Ze=Object(fe.useCallback)(function(et){var yt=et.children;return Object(le.jsx)(Oe,Object(Te.a)(Object(Te.a)(Object(Te.a)({},Ye),g),{},{align:"start",children:yt}))},[Oe,g,Ye]);return Object(le.jsx)(Ie,{Wrapper:Ze,children:ve})},WP=pe.a.forwardRef(function(u,i){var c=u.children,o=u.space,t=u.valuePropName,r=Object(ut.a)(u,HP);return Object(fe.useImperativeHandle)(i,function(){return{}}),Object(le.jsx)($P,Object(Te.a)(Object(Te.a)(Object(Te.a)({space:o,valuePropName:t},r.fieldProps),{},{onChange:void 0},r),{},{children:c}))}),pT=Xb(WP),vT=pT,Jb=function(i,c){var o=c.genItems;if(i.valueType==="formSet"&&i.dataIndex){var t,r;return!i.columns||!Array.isArray(i.columns)?null:Object(fe.createElement)(vT,Object(Te.a)(Object(Te.a)({},(t=i.getFormItemProps)===null||t===void 0?void 0:t.call(i)),{},{key:i.key,initialValue:i.initialValue,name:i.dataIndex,label:i.label,colProps:i.colProps,rowProps:i.rowProps},(r=i.getFieldProps)===null||r===void 0?void 0:r.call(i)),o(i.columns))}return!0},Im=Js.Group,tp=function(i,c){var o=c.genItems;if(i.valueType==="group"){var t;return!i.columns||!Array.isArray(i.columns)?null:Object(le.jsx)(Im,Object(Te.a)(Object(Te.a)({label:i.label,colProps:i.colProps,rowProps:i.rowProps},(t=i.getFieldProps)===null||t===void 0?void 0:t.call(i)),{},{children:o(i.columns)}),i.key)}return!0},hT=function(i){return i.valueType&&typeof i.valueType=="string"&&["index","indexBorder","option"].includes(i==null?void 0:i.valueType)?null:!0},fm=[hT,tp,Ip,Jb,au,cl],eg=function(i,c){for(var o=0;o<fm.length;o++){var t=fm[o],r=t(i,c);if(r!==!0)return r}return Kp(i,c)},xy=["columns","layoutType","type","action","shouldUpdate"],w_={DrawerForm:pn,QueryFilter:Bc,LightFilter:ho,StepForm:xa.StepForm,StepsForm:Cs,ModalForm:ms,Embed:_c};function KP(u){var i=u.columns,c=u.layoutType,o=c===void 0?"Form":c,t=u.type,r=t===void 0?"form":t,d=u.action,v=u.shouldUpdate,g=v===void 0?!0:v,b=Object(ut.a)(u,xy),P=w_[o]||Js,I=Ot.a.useForm(),V=Object(Ge.a)(I,1),K=V[0],ae=Ot.a.useFormInstance(),ue=Object(fe.useState)([]),ve=Object(Ge.a)(ue,2),Oe=ve[1],ke=Object(fe.useState)([]),Ie=Object(Ge.a)(ke,2),Ye=Ie[0],Ze=Ie[1],et=Object(fe.useMemo)(function(){return Object(Ma.a)(b,["formRef"])},[b]),yt=Object(fe.useRef)(u.form||ae||K),jt=Object(fe.useRef)(),Ft=El(u);Object(fe.useImperativeHandle)(b.formRef,function(){return yt.current});var Ht=Object(fe.useCallback)(function(vn){return vn.filter(function(Yt){return!(Yt.hideInForm&&r==="form")}).sort(function(Yt,En){return En.order||Yt.order?(En.order||0)-(Yt.order||0):(En.index||0)-(Yt.index||0)}).map(function(Yt,En){var or,$r=Pt(Yt.title,Yt,"form",Object(le.jsx)(Kr.a,{label:Yt.title,tooltip:Yt.tooltip||Yt.tip})),vr=Object(fi.a)({title:$r,label:$r,name:Yt.name,valueType:Pt(Yt.valueType,{}),key:Yt.key,columns:Yt.columns,valueEnum:Yt.valueEnum,dataIndex:Yt.key||Yt.dataIndex,initialValue:Yt.initialValue,width:Yt.width,index:Yt.index,readonly:Yt.readonly,colSize:Yt.colSize,colProps:Yt.colProps,rowProps:Yt.rowProps,className:Yt.className,tooltip:Yt.tooltip||Yt.tip,dependencies:Yt.dependencies,proFieldProps:Yt.proFieldProps,ignoreFormItem:Yt.ignoreFormItem,getFieldProps:Yt.fieldProps?function(){return Pt(Yt.fieldProps,yt.current,Yt)}:void 0,getFormItemProps:Yt.formItemProps?function(){return Pt(Yt.formItemProps,yt.current,Yt)}:void 0,render:Yt.render,renderFormItem:Yt.renderFormItem,renderText:Yt.renderText,request:Yt.request,params:Yt.params,transform:Yt.transform,convertValue:Yt.convertValue});return vr.key=vr.key||((or=vr.dataIndex)===null||or===void 0?void 0:or.toString())||En,eg(vr,{action:d,type:r,originItem:Yt,formRef:yt,genItems:Ht})}).filter(function(Yt){return Boolean(Yt)})},[d,yt,r]),Gt=Object(fe.useCallback)(function(vn,Yt){var En=Ft.current.onValuesChange;(g===!0||typeof g=="function"&&g(Yt,jt.current))&&Ze([]),jt.current=Yt,En==null||En(vn,Yt)},[Ft,g]),Jt=Object(fe.useMemo)(function(){if(!!yt.current&&!(i.length&&Array.isArray(i[0])))return Ht(i)},[i,Ht,Ye]),mn=Object(fe.useMemo)(function(){return o==="StepsForm"?{forceUpdate:Oe,columns:i}:{}},[i,o]);return Object(le.jsx)(P,Object(Te.a)(Object(Te.a)(Object(Te.a)({},mn),et),{},{form:u.form||K,formRef:yt,onValuesChange:Gt,children:Jt}))}var gT=KP,ox=l("W38Z");function sx(u){var i=u.replace(/[A-Z]/g,function(c){return"-".concat(c.toLowerCase())});return i.startsWith("-")&&(i=i.slice(1)),i}var Sy=function(i,c){return!i&&c!==!1?(c==null?void 0:c.filterType)==="light"?"LightFilter":"QueryFilter":"Form"},_g=function(i,c,o){return!i&&o==="LightFilter"?Object(Ma.a)(Object(Te.a)({},c),["labelWidth","defaultCollapsed","filterType"]):i?{}:Object(Ma.a)(Object(Te.a)({labelWidth:c?c==null?void 0:c.labelWidth:void 0,defaultCollapsed:!0},c),["filterType"])},ef=function(i,c){return i?Object(Ma.a)(c,["ignoreRules"]):Object(Te.a)({ignoreRules:!0},c)},cx=function(i){var c,o=i.onSubmit,t=i.formRef,r=i.dateFormatter,d=r===void 0?"string":r,v=i.type,g=i.columns,b=i.action,P=i.ghost,I=i.manualRequest,V=i.onReset,K=i.submitButtonLoading,ae=i.search,ue=i.form,ve=i.bordered,Oe=v==="form",ke=function(){var Ht=Object(Se.a)(Object(Re.a)().mark(function Gt(Jt,mn){return Object(Re.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:o&&o(Jt,mn);case 1:case"end":return Yt.stop()}},Gt)}));return function(Jt,mn){return Ht.apply(this,arguments)}}(),Ie=Object(fe.useContext)(bt.a.ConfigContext),Ye=Ie.getPrefixCls,Ze=Object(fe.useMemo)(function(){return g.filter(function(Ht){return!(Ht===at.a.EXPAND_COLUMN||Ht===at.a.SELECTION_COLUMN||(Ht.hideInSearch||Ht.search===!1)&&v!=="form"||v==="form"&&Ht.hideInForm)}).map(function(Ht){var Gt,Jt=!Ht.valueType||["textarea","jsonCode","code"].includes(Ht==null?void 0:Ht.valueType)&&v==="table"?"text":Ht==null?void 0:Ht.valueType,mn=(Ht==null?void 0:Ht.key)||(Ht==null||(Gt=Ht.dataIndex)===null||Gt===void 0?void 0:Gt.toString());return Object(Te.a)(Object(Te.a)(Object(Te.a)({},Ht),{},{width:void 0},Ht.search?Ht.search:{}),{},{valueType:Jt,proFieldProps:Object(Te.a)(Object(Te.a)({},Ht.proFieldProps),{},{proFieldKey:mn?"table-field-".concat(mn):void 0})})})},[g,v]),et=Ye("pro-table-search"),yt=Ye("pro-table-form"),jt=Object(fe.useMemo)(function(){return Sy(Oe,ae)},[ae,Oe]),Ft=Object(fe.useMemo)(function(){return{submitter:{submitButtonProps:{loading:K}}}},[K]);return Object(le.jsx)("div",{className:tr()((c={},Object(ft.a)(c,Ye("pro-card"),!0),Object(ft.a)(c,"".concat(Ye("pro-card"),"-border"),!!ve),Object(ft.a)(c,"".concat(Ye("pro-card"),"-bordered"),!!ve),Object(ft.a)(c,"".concat(Ye("pro-card"),"-ghost"),!!P),Object(ft.a)(c,et,!0),Object(ft.a)(c,yt,Oe),Object(ft.a)(c,Ye("pro-table-search-".concat(sx(jt))),!0),Object(ft.a)(c,"".concat(et,"-ghost"),P),Object(ft.a)(c,ae==null?void 0:ae.className,ae!==!1&&(ae==null?void 0:ae.className)),c)),children:Object(le.jsx)(gT,Object(Te.a)(Object(Te.a)(Object(Te.a)(Object(Te.a)({layoutType:jt,columns:Ze,type:v},Ft),_g(Oe,ae,jt)),ef(Oe,ue||{})),{},{formRef:t,action:b,dateFormatter:d,onInit:function(Gt){if(v!=="form"){var Jt,mn,vn,Yt=(Jt=b.current)===null||Jt===void 0?void 0:Jt.pageInfo,En=Gt.current,or=En===void 0?Yt==null?void 0:Yt.current:En,$r=Gt.pageSize,vr=$r===void 0?Yt==null?void 0:Yt.pageSize:$r;if((mn=b.current)===null||mn===void 0||(vn=mn.setPageInfo)===null||vn===void 0||vn.call(mn,Object(Te.a)(Object(Te.a)({},Yt),{},{current:parseInt(or,10),pageSize:parseInt(vr,10)})),I)return;ke(Gt,!0)}},onReset:function(Gt){V==null||V(Gt)},onFinish:function(Gt){ke(Gt,!1)},initialValues:ue==null?void 0:ue.initialValues}))})},tg=cx,mT=function(u){Object(hu.a)(c,u);var i=Object(ru.a)(c);function c(){var o;Object(Vl.a)(this,c);for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return o=i.call.apply(i,[this].concat(r)),o.onSubmit=function(v,g){var b=o.props,P=b.pagination,I=b.beforeSearchSubmit,V=I===void 0?function(Ze){return Ze}:I,K=b.action,ae=b.onSubmit,ue=b.onFormSearchSubmit,ve=P?Object(fi.a)({current:P.current,pageSize:P.pageSize}):{},Oe=Object(Te.a)(Object(Te.a)({},v),{},{_timestamp:Date.now()},ve),ke=Object(Ma.a)(V(Oe),Object.keys(ve));if(ue(ke),!g){var Ie,Ye;(Ie=K.current)===null||Ie===void 0||(Ye=Ie.setPageInfo)===null||Ye===void 0||Ye.call(Ie,{current:1})}ae&&!g&&(ae==null||ae(v))},o.onReset=function(v){var g,b,P=o.props,I=P.pagination,V=P.beforeSearchSubmit,K=V===void 0?function(Ie){return Ie}:V,ae=P.action,ue=P.onFormSearchSubmit,ve=P.onReset,Oe=I?Object(fi.a)({current:I.current,pageSize:I.pageSize}):{},ke=Object(Ma.a)(K(Object(Te.a)(Object(Te.a)({},v),Oe)),Object.keys(Oe));ue(ke),(g=ae.current)===null||g===void 0||(b=g.setPageInfo)===null||b===void 0||b.call(g,{current:1}),ve==null||ve()},o.isEqual=function(v){var g=o.props,b=g.columns,P=g.loading,I=g.formRef,V=g.type,K=g.cardBordered,ae=g.dateFormatter,ue=g.form,ve=g.search,Oe=g.manualRequest,ke={columns:b,loading:P,formRef:I,type:V,cardBordered:K,dateFormatter:ae,form:ue,search:ve,manualRequest:Oe};return!_n(ke,{columns:v.columns,formRef:v.formRef,loading:v.loading,type:v.type,cardBordered:v.cardBordered,dateFormatter:v.dateFormatter,form:v.form,search:v.search,manualRequest:v.manualRequest})},o.shouldComponentUpdate=function(v){return o.isEqual(v)},o.render=function(){var v=o.props,g=v.columns,b=v.loading,P=v.formRef,I=v.type,V=v.action,K=v.cardBordered,ae=v.dateFormatter,ue=v.form,ve=v.search,Oe=v.pagination,ke=v.ghost,Ie=v.manualRequest,Ye=Oe?Object(fi.a)({current:Oe.current,pageSize:Oe.pageSize}):{};return Object(le.jsx)(tg,{submitButtonLoading:b,columns:g,type:I,ghost:ke,formRef:P,onSubmit:o.onSubmit,manualRequest:Ie,onReset:o.onReset,dateFormatter:ae,search:ve,form:Object(Te.a)(Object(Te.a)({autoFocusFirstInput:!1},ue),{},{extraUrlParams:Object(Te.a)(Object(Te.a)({},Ye),ue==null?void 0:ue.extraUrlParams)}),action:V,bordered:bd("search",K)})},o}return Object(Dl.a)(c)}(pe.a.Component),lx=mT,Kf={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"},ux=Kf,Zb=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:ux}))};Zb.displayName="ReloadOutlined";var T_=fe.forwardRef(Zb),yg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},_T=yg,wy=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:_T}))};wy.displayName="SettingOutlined";var Qb=fe.forwardRef(wy);function dx(u){var i=fe.useRef();i.current=u;var c=fe.useCallback(function(){for(var o,t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return(o=i.current)===null||o===void 0?void 0:o.call.apply(o,[i].concat(r))},[]);return c}function fx(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var px=fx()?fe.useLayoutEffect:fe.useEffect,Th=function(i,c){var o=fe.useRef(!0);px(function(){return i(o.current)},c),px(function(){return o.current=!1,function(){o.current=!0}},[])},O0=function(i,c){Th(function(o){if(!o)return i()},c)},iF=Th;function yT(u){var i=fe.useRef(!1),c=fe.useState(u),o=Object(Ge.a)(c,2),t=o[0],r=o[1];fe.useEffect(function(){return i.current=!1,function(){i.current=!0}},[]);function d(v,g){g&&i.current||r(v)}return[t,d]}function Ty(u){return u!==void 0}function vx(u,i){var c=i||{},o=c.defaultValue,t=c.value,r=c.onChange,d=c.postState,v=yT(function(){return Ty(t)?t:Ty(o)?typeof o=="function"?o():o:typeof u=="function"?u():u}),g=Object(Ge.a)(v,2),b=g[0],P=g[1],I=t!==void 0?t:b,V=d?d(I):I,K=dx(r),ae=yT([I]),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1];O0(function(){var Ie=ve[0];b!==Ie&&K(b,Ie)},[ve]),O0(function(){Ty(t)||P(t)},[t]);var ke=dx(function(Ie,Ye){P(Ie,Ye),Oe([I],Ye)});return[V,ke]}var Ay={},bT=[],qb=function(i){bT.push(i)};function ky(u,i){if(!1)var c}function LO(u,i){if(!1)var c}function e1(){Ay={}}function rv(u,i,c){!i&&!Ay[c]&&(u(!1,c),Ay[c]=!0)}function _v(u,i){rv(ky,u,i)}function jy(u,i){rv(LO,u,i)}_v.preMessage=qb,_v.resetWarned=e1,_v.noteOnce=jy;var oF=_v,OT=l("zP5H");function hx(){var u,i,c,o,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=Object(fe.useRef)(),d=Object(fe.useRef)(null),v=Object(fe.useRef)(),g=Object(fe.useRef)(),b=Object(fe.useState)(""),P=Object(Ge.a)(b,2),I=P[0],V=P[1],K=Object(fe.useRef)([]),ae=vx(function(){return t.size||t.defaultSize||"middle"},{value:t.size,onChange:t.onSizeChange}),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(fe.useMemo)(function(){var Ft,Ht={};return(Ft=t.columns)===null||Ft===void 0||Ft.forEach(function(Gt,Jt){var mn=Gt.key,vn=Gt.dataIndex,Yt=Gt.fixed,En=Gt.disable,or=os(mn!=null?mn:vn,Jt);or&&(Ht[or]={show:!0,fixed:Yt,disable:En})}),Ht},[t.columns]),Ie=vx(function(){var Ft,Ht,Gt=t.columnsState||{},Jt=Gt.persistenceType,mn=Gt.persistenceKey;if(mn&&Jt&&typeof window!="undefined"){var vn=window[Jt];try{var Yt=vn==null?void 0:vn.getItem(mn);if(Yt)return JSON.parse(Yt)}catch(En){console.warn(En)}}return t.columnsStateMap||((Ft=t.columnsState)===null||Ft===void 0?void 0:Ft.value)||((Ht=t.columnsState)===null||Ht===void 0?void 0:Ht.defaultValue)||ke},{value:((u=t.columnsState)===null||u===void 0?void 0:u.value)||t.columnsStateMap,onChange:((i=t.columnsState)===null||i===void 0?void 0:i.onChange)||t.onColumnsStateChange}),Ye=Object(Ge.a)(Ie,2),Ze=Ye[0],et=Ye[1];Object(fe.useLayoutEffect)(function(){var Ft=t.columnsState||{},Ht=Ft.persistenceType,Gt=Ft.persistenceKey;if(Gt&&Ht&&typeof window!="undefined"){var Jt=window[Ht];try{var mn=Jt==null?void 0:Jt.getItem(Gt);et(mn?JSON.parse(mn):ke)}catch(vn){console.warn(vn)}}},[t.columnsState,ke,et]),jy(!t.columnsStateMap,"columnsStateMap\u5DF2\u7ECF\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 columnsState.value \u66FF\u6362"),jy(!t.columnsStateMap,"columnsStateMap has been discarded, please use columnSstate.value replacement");var yt=Object(fe.useCallback)(function(){var Ft=t.columnsState||{},Ht=Ft.persistenceType,Gt=Ft.persistenceKey;if(!(!Gt||!Ht||typeof window=="undefined")){var Jt=window[Ht];try{Jt==null||Jt.removeItem(Gt)}catch(mn){console.error(mn)}}},[t.columnsState]);Object(fe.useEffect)(function(){var Ft,Ht;if(!(!((Ft=t.columnsState)===null||Ft===void 0?void 0:Ft.persistenceKey)||!((Ht=t.columnsState)===null||Ht===void 0?void 0:Ht.persistenceType))&&typeof window!="undefined"){var Gt=t.columnsState,Jt=Gt.persistenceType,mn=Gt.persistenceKey,vn=window[Jt];try{vn==null||vn.setItem(mn,JSON.stringify(Ze))}catch(Yt){console.error(Yt)}}},[(c=t.columnsState)===null||c===void 0?void 0:c.persistenceKey,Ze,(o=t.columnsState)===null||o===void 0?void 0:o.persistenceType]);var jt={action:r.current,setAction:function(Ht){r.current=Ht},sortKeyColumns:K.current,setSortKeyColumns:function(Ht){K.current=Ht},propsRef:g,columnsMap:Ze,keyWords:I,setKeyWords:function(Ht){return V(Ht)},setTableSize:Oe,tableSize:ve,prefixName:v.current,setPrefixName:function(Ht){v.current=Ht},setColumnsMap:et,columns:t.columns,rootDomRef:d,clearPersistenceStorage:yt};return Object.defineProperty(jt,"prefixName",{get:function(){return v.current}}),Object.defineProperty(jt,"sortKeyColumns",{get:function(){return K.current}}),Object.defineProperty(jt,"action",{get:function(){return r.current}}),jt}var CT=Object(OT.a)(hx),Nm=CT,YP=l("ozfa"),t1=l("MJZm"),ET={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"},xT=ET,C0=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:xT}))};C0.displayName="VerticalAlignTopOutlined";var FO=fe.forwardRef(C0),gx={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"},mx=gx,_x=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:mx}))};_x.displayName="VerticalAlignMiddleOutlined";var XP=fe.forwardRef(_x),JP={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"},n1=JP,ZP=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:n1}))};ZP.displayName="VerticalAlignBottomOutlined";var E0=fe.forwardRef(ZP),yx=l("K5yz"),UO=["key","dataIndex","children"],BO=function(i){var c=i.title,o=i.show,t=i.children,r=i.columnKey,d=i.fixed,v=Nm.useContainer(),g=v.columnsMap,b=v.setColumnsMap;return o?Object(le.jsx)(Ni.a,{title:c,children:Object(le.jsx)("span",{onClick:function(I){I.stopPropagation(),I.preventDefault();var V=g[r]||{},K=typeof V.disable=="boolean"&&V.disable;if(!K){var ae=Object(Te.a)(Object(Te.a)({},g),{},Object(ft.a)({},r,Object(Te.a)(Object(Te.a)({},V),{},{fixed:d})));b(ae)}},children:t})}):null},A_=function(i){var c=i.columnKey,o=i.isLeaf,t=i.title,r=i.className,d=i.fixed,v=Object(qe.d)(),g=Object(le.jsxs)("span",{className:"".concat(r,"-list-item-option"),children:[Object(le.jsx)(BO,{columnKey:c,fixed:"left",title:v.getMessage("tableToolBar.leftPin","\u56FA\u5B9A\u5728\u5217\u9996"),show:d!=="left",children:Object(le.jsx)(FO,{})}),Object(le.jsx)(BO,{columnKey:c,fixed:void 0,title:v.getMessage("tableToolBar.noPin","\u4E0D\u56FA\u5B9A"),show:!!d,children:Object(le.jsx)(XP,{})}),Object(le.jsx)(BO,{columnKey:c,fixed:"right",title:v.getMessage("tableToolBar.rightPin","\u56FA\u5B9A\u5728\u5217\u5C3E"),show:d!=="right",children:Object(le.jsx)(E0,{})})]});return Object(le.jsxs)("span",{className:"".concat(r,"-list-item"),children:[Object(le.jsx)("div",{className:"".concat(r,"-list-item-title"),children:t}),o?null:g]},c)},My=function(i){var c,o,t=i.list,r=i.draggable,d=i.checkable,v=i.className,g=i.showTitle,b=g===void 0?!0:g,P=i.title,I=i.listHeight,V=I===void 0?280:I,K=Nm.useContainer(),ae=K.columnsMap,ue=K.setColumnsMap,ve=K.sortKeyColumns,Oe=K.setSortKeyColumns,ke=t&&t.length>0,Ie=Object(fe.useMemo)(function(){if(!ke)return{};var yt=[],jt=function Ft(Ht,Gt){return Ht.map(function(Jt){var mn,vn=Jt.key,Yt=Jt.dataIndex,En=Jt.children,or=Object(ut.a)(Jt,UO),$r=os(vn,or.index),vr=ae[$r||"null"]||{show:!0};vr.show!==!1&&(Gt==null?void 0:Gt.show)!==!1&&!En&&yt.push($r);var Er=Object(Te.a)(Object(Te.a)({key:$r},Object(Ma.a)(or,["className"])),{},{selectable:!1,disabled:vr.disable===!0,disableCheckbox:typeof vr.disable=="boolean"?vr.disable:(mn=vr.disable)===null||mn===void 0?void 0:mn.checkbox,isLeaf:Gt?!0:void 0});return En&&(Er.children=Ft(En,vr)),Er})};return{list:jt(t),keys:yt}},[ae,t,ke]),Ye=Object(Dt.a)(function(yt,jt,Ft){var Ht=Object(Te.a)({},ae),Gt=Object(Fe.a)(ve),Jt=Gt.findIndex(function(En){return En===yt}),mn=Gt.findIndex(function(En){return En===jt}),vn=Ft>mn;if(!(Jt<0)){var Yt=Gt[Jt];Gt.splice(Jt,1),Ft===0?Gt.unshift(Yt):Gt.splice(vn?mn:mn+1,0,Yt),Gt.forEach(function(En,or){Ht[En]=Object(Te.a)(Object(Te.a)({},Ht[En]||{}),{},{order:or})}),ue(Ht),Oe(Gt)}}),Ze=Object(Dt.a)(function(yt){var jt=yt.node.key,Ft=Object(Te.a)({},ae[jt]);Ft.show=yt.checked,ue(Object(Te.a)(Object(Te.a)({},ae),{},Object(ft.a)({},jt,Ft)))});if(!ke)return null;var et=Object(le.jsx)(t1.a,{itemHeight:24,draggable:r&&!!((c=Ie.list)===null||c===void 0?void 0:c.length)&&((o=Ie.list)===null||o===void 0?void 0:o.length)>1,checkable:d,onDrop:function(jt){var Ft=jt.node.key,Ht=jt.dragNode.key,Gt=jt.dropPosition,Jt=jt.dropToGap,mn=Gt===-1||!Jt?Gt+1:Gt;Ye(Ht,Ft,mn)},blockNode:!0,onCheck:function(jt,Ft){return Ze(Ft)},checkedKeys:Ie.keys,showLine:!1,titleRender:function(jt){var Ft=Object(Te.a)(Object(Te.a)({},jt),{},{children:void 0});return Object(le.jsx)(A_,Object(Te.a)(Object(Te.a)({className:v},Ft),{},{title:Pt(Ft.title,Ft),columnKey:Ft.key}))},height:V,treeData:Ie.list});return Object(le.jsxs)(le.Fragment,{children:[b&&Object(le.jsx)("span",{className:"".concat(v,"-list-title"),children:P}),et]})},x0=function(i){var c=i.localColumns,o=i.className,t=i.draggable,r=i.checkable,d=i.listsHeight,v=[],g=[],b=[],P=Object(qe.d)();c.forEach(function(K){if(!K.hideInSetting){var ae=K.fixed;if(ae==="left"){g.push(K);return}if(ae==="right"){v.push(K);return}b.push(K)}});var I=v&&v.length>0,V=g&&g.length>0;return Object(le.jsxs)("div",{className:tr()("".concat(o,"-list"),Object(ft.a)({},"".concat(o,"-list-group"),I||V)),children:[Object(le.jsx)(My,{title:P.getMessage("tableToolBar.leftFixedTitle","\u56FA\u5B9A\u5728\u5DE6\u4FA7"),list:g,draggable:t,checkable:r,className:o,listHeight:d}),Object(le.jsx)(My,{list:b,draggable:t,checkable:r,title:P.getMessage("tableToolBar.noFixedTitle","\u4E0D\u56FA\u5B9A"),showTitle:V||I,className:o,listHeight:d}),Object(le.jsx)(My,{title:P.getMessage("tableToolBar.rightFixedTitle","\u56FA\u5B9A\u5728\u53F3\u4FA7"),list:v,draggable:t,checkable:r,className:o,listHeight:d})]})};function sF(u){var i,c,o=Object(fe.useRef)({}),t=Nm.useContainer(),r=u.columns,d=u.checkedReset,v=d===void 0?!0:d,g=t.columnsMap,b=t.setColumnsMap,P=t.clearPersistenceStorage;Object(fe.useEffect)(function(){var Ye,Ze;if((Ye=t.propsRef.current)===null||Ye===void 0||(Ze=Ye.columnsState)===null||Ze===void 0?void 0:Ze.value){var et,yt;o.current=JSON.parse(JSON.stringify(((et=t.propsRef.current)===null||et===void 0||(yt=et.columnsState)===null||yt===void 0?void 0:yt.value)||{}))}},[]);var I=Object(Dt.a)(function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,Ze={},et=function yt(jt){jt.forEach(function(Ft){var Ht=Ft.key,Gt=Ft.fixed,Jt=Ft.index,mn=Ft.children,vn=os(Ht,Jt);vn&&(Ze[vn]={show:Ye,fixed:Gt}),mn&&yt(mn)})};et(r),b(Ze)}),V=Object(Dt.a)(function(Ye){Ye.target.checked?I():I(!1)}),K=Object(Dt.a)(function(){P==null||P(),b(o.current)}),ae=Object.values(g).filter(function(Ye){return!Ye||Ye.show===!1}),ue=ae.length>0&&ae.length!==r.length,ve=Object(qe.d)(),Oe=Object(fe.useContext)(bt.a.ConfigContext),ke=Oe.getPrefixCls,Ie=ke("pro-table-column-setting");return Object(le.jsx)(me.a,{arrowPointAtCenter:!0,title:Object(le.jsxs)("div",{className:"".concat(Ie,"-title"),children:[Object(le.jsx)(Ae.a,{indeterminate:ue,checked:ae.length===0&&ae.length!==r.length,onChange:function(Ze){return V(Ze)},children:ve.getMessage("tableToolBar.columnDisplay","\u5217\u5C55\u793A")}),v?Object(le.jsx)("a",{onClick:K,className:"".concat(Ie,"-action-rest-button"),children:ve.getMessage("tableToolBar.reset","\u91CD\u7F6E")}):null,(u==null?void 0:u.extra)?Object(le.jsx)(lt.b,{size:12,align:"center",children:u.extra}):null]}),overlayClassName:"".concat(Ie,"-overlay"),trigger:"click",placement:"bottomRight",content:Object(le.jsx)(x0,{checkable:(i=u.checkable)!==null&&i!==void 0?i:!0,draggable:(c=u.draggable)!==null&&c!==void 0?c:!0,className:Ie,localColumns:r,listsHeight:u.listsHeight}),children:u.children||Object(le.jsx)(Ni.a,{title:ve.getMessage("tableToolBar.columnSetting","\u5217\u8BBE\u7F6E"),children:Object(le.jsx)(Qb,{})})})}var cF=sF,QP=l("SE9/"),Pv=l("lUTK"),r1=l("BvKs"),lF=l("Y79o"),a1=["label","key"],k_=function(i){var c=i.items,o=c===void 0?[]:c,t=i.type,r=t===void 0?"inline":t,d=i.prefixCls,v=i.activeKey,g=vx(v,{value:v,onChange:i.onChange}),b=Object(Ge.a)(g,2),P=b[0],I=b[1];if(o.length<1)return null;var V=o.find(function(K){return K.key===P})||o[0];return r==="inline"?Object(le.jsx)("div",{className:tr()("".concat(d,"-menu"),"".concat(d,"-inline-menu")),children:o.map(function(K,ae){return Object(le.jsx)("div",{onClick:function(){I(K.key)},className:tr()("".concat(d,"-inline-menu-item"),V.key===K.key?"".concat(d,"-inline-menu-item-active"):void 0),children:K.label},K.key||ae)})}):r==="tab"?Object(le.jsx)(oe.a,{activeKey:V.key,onTabClick:function(ae){return I(ae)},children:o.map(function(K,ae){var ue=K.label,ve=K.key,Oe=Object(ut.a)(K,a1);return Object(le.jsx)(oe.a.TabPane,Object(Te.a)({tab:ue},Oe),ve||ae)})}):Object(le.jsx)("div",{className:tr()("".concat(d,"-menu"),"".concat(d,"-dropdownmenu")),children:Object(le.jsx)(hs.a,{trigger:["click"],overlay:Object(le.jsx)(r1.a,{selectedKeys:[V.key],onClick:function(ae){I(ae.key)},items:o.map(function(K,ae){return{key:K.key||ae,disabled:K.disabled,label:K.label}})}),children:Object(le.jsxs)(lt.b,{className:"".concat(d,"-dropdownmenu-label"),children:[V.label,Object(le.jsx)(xr.a,{})]})})})},Py=k_;function ST(u){if(pe.a.isValidElement(u))return u;if(u){var i=u,c=i.icon,o=i.tooltip,t=i.onClick,r=i.key;return c&&o?Object(le.jsx)(Ni.a,{title:o,children:Object(le.jsx)("span",{onClick:function(){t&&t(r)},children:c},r)}):c}return null}var qP=function(i){var c=i.prefixCls,o=i.tabs,t=o===void 0?{}:o,r=i.multipleLine,d=i.filtersNode;return r?Object(le.jsx)("div",{className:"".concat(c,"-extra-line"),children:t.items&&t.items.length?Object(le.jsx)(oe.a,{activeKey:t.activeKey,onChange:t.onChange,tabBarExtraContent:d,children:t.items.map(function(v,g){return Object(le.jsx)(oe.a.TabPane,Object(Te.a)({},v),v.key||g)})}):d}):null},Ry=function(i){var c=i.prefixCls,o=i.title,t=i.subTitle,r=i.tooltip,d=i.className,v=i.style,g=i.search,b=i.onSearch,P=i.multipleLine,I=P===void 0?!1:P,V=i.filter,K=i.actions,ae=K===void 0?[]:K,ue=i.settings,ve=ue===void 0?[]:ue,Oe=i.tabs,ke=Oe===void 0?{}:Oe,Ie=i.menu,Ye=Object(qe.d)(),Ze=Object(QP.a)(),et=Ze==="sm"||Ze==="xs",yt=Ye.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),jt=Object(fe.useMemo)(function(){return g?pe.a.isValidElement(g)?g:Object(le.jsx)(_s.a.Search,Object(Te.a)(Object(Te.a)({style:{width:200},placeholder:yt},g),{},{onSearch:function(){for(var Hr,Aa=arguments.length,Fr=new Array(Aa),ca=0;ca<Aa;ca++)Fr[ca]=arguments[ca];b==null||b(Fr==null?void 0:Fr[0]),(Hr=g.onSearch)===null||Hr===void 0||Hr.call.apply(Hr,[g].concat(Fr))}})):null},[yt,b,g]),Ft=Object(fe.useContext)(bt.a.ConfigContext),Ht=Ft.getPrefixCls,Gt=Ht("pro-table-list-toolbar",c),Jt=Object(fe.useMemo)(function(){return V?Object(le.jsx)("div",{className:"".concat(Gt,"-filter"),children:V}):null},[V,Gt]),mn=Object(fe.useMemo)(function(){return Ie||o||t||r},[Ie,t,o,r]),vn=Object(fe.useMemo)(function(){return Array.isArray(ae)?ae.length<1?null:Object(le.jsx)(lt.b,{align:"center",children:ae.map(function(Er,Hr){return pe.a.isValidElement(Er)?pe.a.cloneElement(Er,Object(Te.a)({key:Hr},Er==null?void 0:Er.props)):Object(le.jsx)(pe.a.Fragment,{children:Er},Hr)})}):ae},[ae]),Yt=Object(fe.useMemo)(function(){return mn&&jt||!I&&Jt||vn||(ve==null?void 0:ve.length)},[vn,Jt,mn,I,jt,ve==null?void 0:ve.length]),En=Object(fe.useMemo)(function(){return r||o||t||Ie||!mn&&jt},[mn,Ie,jt,t,o,r]),or=Object(fe.useMemo)(function(){return!En&&Yt?Object(le.jsx)("div",{className:"".concat(Gt,"-left")}):!Ie&&(mn||!jt)?Object(le.jsx)("div",{className:"".concat(Gt,"-left"),children:Object(le.jsx)("div",{className:"".concat(Gt,"-title"),children:Object(le.jsx)(Kr.a,{tooltip:r,label:o,subTitle:t})})}):Object(le.jsxs)(lt.b,{className:"".concat(Gt,"-left"),children:[mn&&!Ie&&Object(le.jsx)("div",{className:"".concat(Gt,"-title"),children:Object(le.jsx)(Kr.a,{tooltip:r,label:o,subTitle:t})}),Ie&&Object(le.jsx)(Py,Object(Te.a)(Object(Te.a)({},Ie),{},{prefixCls:Gt})),!mn&&jt?Object(le.jsx)("div",{className:"".concat(Gt,"-search"),children:jt}):null]})},[En,Yt,mn,Ie,Gt,jt,t,o,r]),$r=Object(fe.useMemo)(function(){return Yt?Object(le.jsxs)(lt.b,{className:"".concat(Gt,"-right"),direction:et?"vertical":"horizontal",size:16,align:et?"end":"center",children:[mn&&jt?Object(le.jsx)("div",{className:"".concat(Gt,"-search"),children:jt}):null,I?null:Jt,vn,(ve==null?void 0:ve.length)?Object(le.jsx)(lt.b,{size:12,align:"center",className:"".concat(Gt,"-setting-items"),children:ve.map(function(Er,Hr){var Aa=ST(Er);return Object(le.jsx)("div",{className:"".concat(Gt,"-setting-item"),children:Aa},Hr)})}):null]}):null},[vn,et,Jt,Yt,mn,I,Gt,jt,ve]),vr=Object(fe.useMemo)(function(){if(!Yt&&!En)return null;var Er=tr()("".concat(Gt,"-container"),Object(ft.a)({},"".concat(Gt,"-container-mobile"),et));return Object(le.jsxs)("div",{className:Er,children:[or,$r]})},[En,Yt,et,or,Gt,$r]);return Object(le.jsxs)("div",{style:v,className:tr()("".concat(Gt),d),children:[vr,Object(le.jsx)(qP,{filtersNode:Jt,prefixCls:Gt,tabs:ke,multipleLine:I})]})},eR=Ry,tf={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"},wT=tf,S0=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:wT}))};S0.displayName="ColumnHeightOutlined";var tR=fe.forwardRef(S0),TT=function(){var i=Nm.useContainer(),c=Object(qe.d)();return Object(le.jsx)(hs.a,{overlay:Object(le.jsx)(r1.a,{selectedKeys:[i.tableSize],onClick:function(t){var r,d=t.key;(r=i.setTableSize)===null||r===void 0||r.call(i,d)},style:{width:80},items:[{key:"large",label:c.getMessage("tableToolBar.densityLarger","\u9ED8\u8BA4")},{key:"middle",label:c.getMessage("tableToolBar.densityMiddle","\u4E2D\u7B49")},{key:"small",label:c.getMessage("tableToolBar.densitySmall","\u7D27\u51D1")}]}),trigger:["click"],children:Object(le.jsx)(Ni.a,{title:c.getMessage("tableToolBar.density","\u8868\u683C\u5BC6\u5EA6"),children:Object(le.jsx)(tR,{})})})},zh=pe.a.memo(TT),qv=l("IehP"),ng={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"},pm=ng,vm=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:pm}))};vm.displayName="FullscreenOutlined";var VO=fe.forwardRef(vm),bg=function(){var i=Object(qe.d)(),c=Object(fe.useState)(!1),o=Object(Ge.a)(c,2),t=o[0],r=o[1];return Object(fe.useEffect)(function(){!Object(Po.a)()||(document.onfullscreenchange=function(){r(!!document.fullscreenElement)})},[]),t?Object(le.jsx)(Ni.a,{title:i.getMessage("tableToolBar.exitFullScreen","\u5168\u5C4F"),children:Object(le.jsx)(qv.a,{})}):Object(le.jsx)(Ni.a,{title:i.getMessage("tableToolBar.fullScreen","\u5168\u5C4F"),children:Object(le.jsx)(VO,{})})},j_=pe.a.memo(bg),eh=l("XQL4"),AT=["headerTitle","tooltip","toolBarRender","action","options","selectedRowKeys","selectedRows","toolbar","onSearch","columns"];function nR(u){var i=u.intl;return{reload:{text:i.getMessage("tableToolBar.reload","\u5237\u65B0"),icon:Object(le.jsx)(T_,{})},density:{text:i.getMessage("tableToolBar.density","\u8868\u683C\u5BC6\u5EA6"),icon:Object(le.jsx)(zh,{})},setting:{text:i.getMessage("tableToolBar.columnSetting","\u5217\u8BBE\u7F6E"),icon:Object(le.jsx)(Qb,{})},fullScreen:{text:i.getMessage("tableToolBar.fullScreen","\u5168\u5C4F"),icon:Object(le.jsx)(j_,{})}}}function kT(u,i,c,o){return Object.keys(u).filter(function(t){return t}).map(function(t){var r=u[t];if(!r)return null;var d=r===!0?i[t]:function(g){return r==null?void 0:r(g,c.current)};if(typeof d!="function"&&(d=function(){}),t==="setting")return Object(fe.createElement)(cF,Object(Te.a)(Object(Te.a)({},u[t]),{},{columns:o,key:t}));if(t==="fullScreen")return Object(le.jsx)("span",{onClick:d,children:Object(le.jsx)(j_,{})},t);var v=nR(i)[t];return v?Object(le.jsx)("span",{onClick:d,children:Object(le.jsx)(Ni.a,{title:v.text,children:v.icon})},t):null}).filter(function(t){return t})}function i1(u){var i=u.headerTitle,c=u.tooltip,o=u.toolBarRender,t=u.action,r=u.options,d=u.selectedRowKeys,v=u.selectedRows,g=u.toolbar,b=u.onSearch,P=u.columns,I=Object(ut.a)(u,AT),V=Nm.useContainer(),K=Object(qe.d)(),ae=Object(fe.useMemo)(function(){var Oe={reload:function(){var Ye;return t==null||(Ye=t.current)===null||Ye===void 0?void 0:Ye.reload()},density:!0,setting:!0,search:!1,fullScreen:function(){var Ye,Ze;return t==null||(Ye=t.current)===null||Ye===void 0||(Ze=Ye.fullScreen)===null||Ze===void 0?void 0:Ze.call(Ye)}};if(r===!1)return[];var ke=Object(Te.a)(Object(Te.a)({},Oe),{},{fullScreen:!1},r);return kT(ke,Object(Te.a)(Object(Te.a)({},Oe),{},{intl:K}),t,P)},[t,P,K,r]),ue=o?o(t==null?void 0:t.current,{selectedRowKeys:d,selectedRows:v}):[],ve=Object(fe.useMemo)(function(){if(!r||!r.search)return!1;var Oe={value:V.keyWords,onChange:function(Ie){return V.setKeyWords(Ie.target.value)}};return r.search===!0?Oe:Object(Te.a)(Object(Te.a)({},Oe),r.search)},[V,r]);return Object(fe.useEffect)(function(){V.keyWords===void 0&&(b==null||b(""))},[V.keyWords,b]),Object(le.jsx)(eR,Object(Te.a)({title:i,tooltip:c||I.tip,search:ve,onSearch:b,actions:ue,settings:ae},g))}var bx=function(u){Object(hu.a)(c,u);var i=Object(ru.a)(c);function c(){var o;Object(Vl.a)(this,c);for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return o=i.call.apply(i,[this].concat(r)),o.onSearch=function(v){var g,b,P,I,V=o.props,K=V.options,ae=V.onFormSearchSubmit,ue=V.actionRef;if(!(!K||!K.search)){var ve=K.search===!0?{}:K.search,Oe=ve.name,ke=Oe===void 0?"keyword":Oe,Ie=(g=K.search)===null||g===void 0||(b=g.onSearch)===null||b===void 0?void 0:b.call(g,v);Ie!==!1&&(ue==null||(P=ue.current)===null||P===void 0||(I=P.setPageInfo)===null||I===void 0||I.call(P,{current:1}),ae(Object(fi.a)(Object(ft.a)({_timestamp:Date.now()},ke,v))))}},o.isEquals=function(v){var g=o.props,b=g.hideToolbar,P=g.tableColumn,I=g.options,V=g.tooltip,K=g.toolbar,ae=g.selectedRows,ue=g.selectedRowKeys,ve=g.headerTitle,Oe=g.actionRef,ke=g.toolBarRender;return _n({hideToolbar:b,tableColumn:P,options:I,tooltip:V,toolbar:K,selectedRows:ae,selectedRowKeys:ue,headerTitle:ve,actionRef:Oe,toolBarRender:ke},{hideToolbar:v.hideToolbar,tableColumn:v.tableColumn,options:v.options,tooltip:v.tooltip,toolbar:v.toolbar,selectedRows:v.selectedRows,selectedRowKeys:v.selectedRowKeys,headerTitle:v.headerTitle,actionRef:v.actionRef,toolBarRender:v.toolBarRender},["render","renderFormItem"])},o.shouldComponentUpdate=function(v){return v.searchNode?!0:!o.isEquals(v)},o.render=function(){var v=o.props,g=v.hideToolbar,b=v.tableColumn,P=v.options,I=v.searchNode,V=v.tooltip,K=v.toolbar,ae=v.selectedRows,ue=v.selectedRowKeys,ve=v.headerTitle,Oe=v.actionRef,ke=v.toolBarRender;return g?null:Object(le.jsx)(i1,{tooltip:V,columns:b,options:P,headerTitle:ve,action:Oe,onSearch:o.onSearch,selectedRows:ae,selectedRowKeys:ue,toolBarRender:ke,toolbar:Object(Te.a)({filter:I},K)})},o}return Object(Dl.a)(c)}(pe.a.Component),rR=bx,aR=l("tkDr"),Ah=["data","success","total"],o1=function(i){var c=i.pageInfo;if(c){var o=c.current,t=c.defaultCurrent,r=c.pageSize,d=c.defaultPageSize;return{current:o||t||1,total:0,pageSize:r||d||20}}return{current:1,total:0,pageSize:20}},iR=function(i,c,o){var t=Object(fe.useRef)(!1),r=o||{},d=r.onLoad,v=r.manual,g=r.polling,b=r.onRequestError,P=r.debounceTime,I=P===void 0?20:P,V=Object(fe.useRef)(v),K=Object(fe.useRef)(),ae=Object(Tn.a)(c,{value:o==null?void 0:o.dataSource,onChange:o==null?void 0:o.onDataSourceChange}),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(Tn.a)(!1,{value:o==null?void 0:o.loading,onChange:o==null?void 0:o.onLoadingChange}),Ie=Object(Ge.a)(ke,2),Ye=Ie[0],Ze=Ie[1],et=Object(fe.useRef)(!1),yt=Object(Tn.a)(function(){return o1(o)},{onChange:o==null?void 0:o.onPageInfoChange}),jt=Object(Ge.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=Object(Dt.a)(function(ai){(ai.current!==Ft.current||ai.pageSize!==Ft.pageSize||ai.total!==Ft.total)&&Ht(ai)}),Jt=Object(Tn.a)(!1),mn=Object(Ge.a)(Jt,2),vn=mn[0],Yt=mn[1],En=function(Wi,Co){Oe(Wi),(Ft==null?void 0:Ft.total)!==Co&&Gt(Object(Te.a)(Object(Te.a)({},Ft),{},{total:Co||Wi.length}))},or=cn(Ft==null?void 0:Ft.current),$r=cn(Ft==null?void 0:Ft.pageSize),vr=cn(g),Er=o||{},Hr=Er.effects,Aa=Hr===void 0?[]:Hr,Fr=Object(Dt.a)(function(){Object(Ve.a)(Ye)==="object"?Ze(Object(Te.a)(Object(Te.a)({},Ye),{},{spinning:!1})):Ze(!1),Yt(!1)}),ca=function(){var ai=Object(Se.a)(Object(Re.a)().mark(function Wi(Co){var zi,us,Us,po,dc,ns,fc,Kc,gl,du,yu,Su;return Object(Re.a)().wrap(function(Bl){for(;;)switch(Bl.prev=Bl.next){case 0:if(!(Ye&&typeof Ye=="boolean"||et.current||!i)){Bl.next=2;break}return Bl.abrupt("return",[]);case 2:if(!V.current){Bl.next=5;break}return V.current=!1,Bl.abrupt("return",[]);case 5:return Co?Yt(!0):Object(Ve.a)(Ye)==="object"?Ze(Object(Te.a)(Object(Te.a)({},Ye),{},{spinning:!0})):Ze(!0),et.current=!0,zi=Ft||{},us=zi.pageSize,Us=zi.current,Bl.prev=8,po=(o==null?void 0:o.pageInfo)!==!1?{current:Us,pageSize:us}:void 0,Bl.next=12,i(po);case 12:if(Bl.t0=Bl.sent,Bl.t0){Bl.next=15;break}Bl.t0={};case 15:if(dc=Bl.t0,ns=dc.data,fc=ns===void 0?[]:ns,Kc=dc.success,gl=dc.total,du=gl===void 0?0:gl,yu=Object(ut.a)(dc,Ah),Kc!==!1){Bl.next=24;break}return Bl.abrupt("return",[]);case 24:return Su=nd(fc,[o.postData].filter(function(Qo){return Qo})),En(Su,du),d==null||d(Su,yu),Bl.abrupt("return",Su);case 30:if(Bl.prev=30,Bl.t1=Bl.catch(8),b!==void 0){Bl.next=34;break}throw new Error(Bl.t1);case 34:ve===void 0&&Oe([]),b(Bl.t1);case 36:return Bl.prev=36,et.current=!1,Fr(),Bl.finish(36);case 40:return Bl.abrupt("return",[]);case 41:case"end":return Bl.stop()}},Wi,null,[[8,30,36,40]])}));return function(Co){return ai.apply(this,arguments)}}(),fa=Object(td.a)(function(){var ai=Object(Se.a)(Object(Re.a)().mark(function Wi(Co){var zi,us;return Object(Re.a)().wrap(function(po){for(;;)switch(po.prev=po.next){case 0:return K.current&&clearTimeout(K.current),po.next=3,ca(Co);case 3:return zi=po.sent,us=Pt(g,zi),us&&!t.current&&(K.current=setTimeout(function(){fa.run(us)},Math.max(us,2e3))),po.abrupt("return",zi);case 7:case"end":return po.stop()}},Wi)}));return function(Wi){return ai.apply(this,arguments)}}(),I||10);return Object(fe.useEffect)(function(){return g||clearTimeout(K.current),!vr&&g&&fa.run(!0),function(){clearTimeout(K.current)}},[g]),Object(fe.useLayoutEffect)(function(){return t.current=!1,function(){t.current=!0}},[]),Object(fe.useEffect)(function(){var ai=Ft||{},Wi=ai.current,Co=ai.pageSize;(!or||or===Wi)&&(!$r||$r===Co)||o.pageInfo&&ve&&(ve==null?void 0:ve.length)>Co||Wi!==void 0&&ve&&ve.length<=Co&&fa.run(!1)},[Ft==null?void 0:Ft.current]),Object(fe.useEffect)(function(){!$r||fa.run(!1)},[Ft==null?void 0:Ft.pageSize]),Ur(function(){return fa.run(!1),v||(V.current=!1),function(){fa.cancel()}},[].concat(Object(Fe.a)(Aa),[v])),{dataSource:ve,setDataSource:Oe,loading:Ye,reload:function(){var ai=Object(Se.a)(Object(Re.a)().mark(function Co(){return Object(Re.a)().wrap(function(us){for(;;)switch(us.prev=us.next){case 0:return us.next=2,fa.run(!1);case 2:case"end":return us.stop()}},Co)}));function Wi(){return ai.apply(this,arguments)}return Wi}(),pageInfo:Ft,pollingLoading:vn,reset:function(){var ai=Object(Se.a)(Object(Re.a)().mark(function Co(){var zi,us,Us,po,dc,ns,fc,Kc;return Object(Re.a)().wrap(function(du){for(;;)switch(du.prev=du.next){case 0:zi=o||{},us=zi.pageInfo,Us=us||{},po=Us.defaultCurrent,dc=po===void 0?1:po,ns=Us.defaultPageSize,fc=ns===void 0?20:ns,Kc={current:dc,total:0,pageSize:fc},Gt(Kc);case 4:case"end":return du.stop()}},Co)}));function Wi(){return ai.apply(this,arguments)}return Wi}(),setPageInfo:function(){var ai=Object(Se.a)(Object(Re.a)().mark(function Co(zi){return Object(Re.a)().wrap(function(Us){for(;;)switch(Us.prev=Us.next){case 0:Gt(Object(Te.a)(Object(Te.a)({},Ft),zi));case 1:case"end":return Us.stop()}},Co)}));function Wi(Co){return ai.apply(this,arguments)}return Wi}()}},oR=iR,jT=function(i){return function(c,o){var t,r,d=c.fixed,v=c.index,g=o.fixed,b=o.index;if(d==="left"&&g!=="left"||g==="right"&&d!=="right")return-2;if(g==="left"&&d!=="left"||d==="right"&&g!=="right")return 2;var P=c.key||"".concat(v),I=o.key||"".concat(b);if(((t=i[P])===null||t===void 0?void 0:t.order)||((r=i[I])===null||r===void 0?void 0:r.order)){var V,K;return(((V=i[P])===null||V===void 0?void 0:V.order)||0)-(((K=i[I])===null||K===void 0?void 0:K.order)||0)}return(c.index||0)-(o.index||0)}},uF=l("f3PG"),s1={Success:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"success",text:c})},Error:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"error",text:c})},Default:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"default",text:c})},Processing:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"processing",text:c})},Warning:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"warning",text:c})},success:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"success",text:c})},error:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"error",text:c})},default:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"default",text:c})},processing:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"processing",text:c})},warning:function(i){var c=i.children;return Object(le.jsx)(xd.a,{status:"warning",text:c})}},Ox=function(i){var c=i.color,o=i.children;return Object(le.jsx)(xd.a,{color:c,text:o})},Cx=s1,sR=l("b9aa"),dF=l("Lpa0"),cR=["label","prefixCls","onChange","value","mode","children","defaultValue","size","showSearch","disabled","style","className","bordered","options","onSearch","allowClear","labelInValue","fieldNames","lightLabel","labelTrigger"],Ex=function(i,c){return Object(Ve.a)(c)!=="object"?i[c]||c:i[c==null?void 0:c.value]||c.label},MT=function(i,c){var o=i.label,t=i.prefixCls,r=i.onChange,d=i.value,v=i.mode,g=i.children,b=i.defaultValue,P=i.size,I=i.showSearch,V=i.disabled,K=i.style,ae=i.className,ue=i.bordered,ve=i.options,Oe=i.onSearch,ke=i.allowClear,Ie=i.labelInValue,Ye=i.fieldNames,Ze=i.lightLabel,et=i.labelTrigger,yt=Object(ut.a)(i,cR),jt=i.placeholder,Ft=jt===void 0?o:jt,Ht=Ye||{},Gt=Ht.label,Jt=Gt===void 0?"label":Gt,mn=Ht.value,vn=mn===void 0?"value":mn,Yt=Object(fe.useContext)(bt.a.ConfigContext),En=Yt.getPrefixCls,or=En("pro-field-select-light-select"),$r=Object(fe.useState)(!1),vr=Object(Ge.a)($r,2),Er=vr[0],Hr=vr[1],Aa=Object(fe.useState)(""),Fr=Object(Ge.a)(Aa,2),ca=Fr[0],fa=Fr[1],ai=Object(fe.useMemo)(function(){var Co={};return ve==null||ve.forEach(function(zi){var us=zi[Jt],Us=zi[vn];Co[Us]=us||Us}),Co},[Jt,ve,vn]),Wi=Array.isArray(d)?d.map(function(Co){return Ex(ai,Co)}):Ex(ai,d);return Object(le.jsxs)("div",{className:tr()(or,Object(ft.a)({},"".concat(or,"-searchable"),I),ae),style:K,onClick:function(zi){var us,Us,po;if(!V){var dc=Ze==null||(us=Ze.current)===null||us===void 0||(Us=us.labelRef)===null||Us===void 0||(po=Us.current)===null||po===void 0?void 0:po.contains(zi.target);Hr(dc?!Er:!0)}},children:[Object(le.jsx)(jl.a,Object(Te.a)(Object(Te.a)({},yt),{},{allowClear:ke,value:d,mode:v,labelInValue:Ie,size:P,disabled:V,onChange:function(zi,us){r==null||r(zi,us),v!=="multiple"&&setTimeout(function(){Hr(!1)},0)},bordered:ue,showSearch:I,onSearch:Oe,style:K,dropdownRender:function(zi){return Object(le.jsxs)("div",{ref:c,children:[I&&Object(le.jsx)("div",{style:{margin:"4px 8px"},children:Object(le.jsx)(_s.a,{value:ca,allowClear:ke,onChange:function(Us){fa(Us.target.value.toLowerCase()),Oe==null||Oe(Us.target.value)},onKeyDown:function(Us){Us.stopPropagation()},style:{width:"100%"},prefix:Object(le.jsx)(Uu.a,{})})}),zi]})},open:Er,onDropdownVisibleChange:function(zi){zi||setTimeout(function(){fa("")},0),et||Hr(zi)},prefixCls:t,options:ca?ve==null?void 0:ve.filter(function(Co){var zi,us,Us,po,dc;return((zi=String(Co[Jt]))===null||zi===void 0||(us=zi.toLowerCase())===null||us===void 0?void 0:us.includes(ca))||((Us=Co[vn])===null||Us===void 0||(po=Us.toString())===null||po===void 0||(dc=po.toLowerCase())===null||dc===void 0?void 0:dc.includes(ca))}):ve})),Object(le.jsx)(Fn,{ellipsis:!0,size:P,label:o,placeholder:Ft,disabled:V,expanded:Er,bordered:ue,allowClear:ke,value:Wi||(d==null?void 0:d.label)||d,onClear:function(){r==null||r(void 0,void 0)},ref:Ze})]})},xx=pe.a.forwardRef(MT),fF=["optionItemRender","mode","onSearch","onFocus","onChange","autoClearSearchValue","searchOnFocus","resetAfterSelect","fetchDataOnSearch","optionFilterProp","optionLabelProp","className","disabled","options","fetchData","resetData","prefixCls","onClear","searchValue","showSearch","fieldNames"],lR=jl.a.Option,Sx=jl.a.OptGroup,zO=function(i,c){var o=i.optionItemRender,t=i.mode,r=i.onSearch,d=i.onFocus,v=i.onChange,g=i.autoClearSearchValue,b=i.searchOnFocus,P=b===void 0?!1:b,I=i.resetAfterSelect,V=I===void 0?!1:I,K=i.fetchDataOnSearch,ae=K===void 0?!0:K,ue=i.optionFilterProp,ve=ue===void 0?"label":ue,Oe=i.optionLabelProp,ke=Oe===void 0?"label":Oe,Ie=i.className,Ye=i.disabled,Ze=i.options,et=i.fetchData,yt=i.resetData,jt=i.prefixCls,Ft=i.onClear,Ht=i.searchValue,Gt=i.showSearch,Jt=i.fieldNames,mn=Object(ut.a)(i,fF),vn=Jt||{},Yt=vn.label,En=Yt===void 0?"label":Yt,or=vn.value,$r=or===void 0?"value":or,vr=vn.options,Er=vr===void 0?"options":vr,Hr=Object(fe.useState)(Ht),Aa=Object(Ge.a)(Hr,2),Fr=Aa[0],ca=Aa[1],fa=Object(fe.useRef)();Object(fe.useImperativeHandle)(c,function(){return fa.current}),Object(fe.useEffect)(function(){if(mn.autoFocus){var po;fa==null||(po=fa.current)===null||po===void 0||po.focus()}},[mn.autoFocus]),Object(fe.useEffect)(function(){ca(Ht)},[Ht]);var ai=Object(fe.useContext)(bt.a.ConfigContext),Wi=ai.getPrefixCls,Co=Wi("pro-filed-search-select",jt),zi=tr()(Co,Ie,Object(ft.a)({},"".concat(Co,"-disabled"),Ye)),us=function(dc,ns){return Array.isArray(dc)&&dc.length>0?dc.map(function(fc,Kc){var gl=ns==null?void 0:ns[Kc],du=(gl==null?void 0:gl["data-item"])||{};return Object(Te.a)(Object(Te.a)({},du),fc)}):[]},Us=function po(dc){return dc.map(function(ns){var fc,Kc=ns.disabled,gl=ns.className,du=ns.optionType,yu=ns[En],Su=ns[$r],Ql=(fc=ns[Er])!==null&&fc!==void 0?fc:[];return du==="optGroup"||ns.options?Object(le.jsx)(Sx,{label:yu,children:po(Ql)},Su):Object(fe.createElement)(lR,Object(Te.a)(Object(Te.a)({},ns),{},{value:Su,key:Su||(yu==null?void 0:yu.toString()),disabled:Kc,"data-item":ns,className:"".concat(Co,"-option ").concat(gl||""),label:yu}),(o==null?void 0:o(ns))||yu)})};return Object(le.jsx)(jl.a,Object(Te.a)(Object(Te.a)({ref:fa,className:zi,allowClear:!0,autoClearSearchValue:g,disabled:Ye,mode:t,showSearch:Gt,searchValue:Fr,optionFilterProp:ve,optionLabelProp:ke,onClear:function(){Ft==null||Ft(),et(""),Gt&&ca("")}},mn),{},{onSearch:Gt?function(po){ae&&et(po),r==null||r(po),ca(po)}:void 0,onChange:function(dc,ns){Gt&&g&&(Fr||et(""),r==null||r(""),ca(""));for(var fc=arguments.length,Kc=new Array(fc>2?fc-2:0),gl=2;gl<fc;gl++)Kc[gl-2]=arguments[gl];if(!i.labelInValue){v==null||v.apply(void 0,[dc,ns].concat(Kc));return}if(t!=="multiple"){var du=ns&&ns["data-item"];!dc||!du?v==null||v.apply(void 0,[dc,ns].concat(Kc)):v==null||v.apply(void 0,[Object(Te.a)(Object(Te.a)({},dc),du),ns].concat(Kc));return}var yu=us(dc,ns);v==null||v.apply(void 0,[yu,ns].concat(Kc)),V&&yt()},onFocus:function(dc){P&&et(""),d==null||d(dc)},children:Us(Ze||[])}))},pF=pe.a.forwardRef(zO),vF=["value","text"],Tf=["mode","valueEnum","render","renderFormItem","request","fieldProps","plain","children","light","proFieldKey","params","label","bordered","id","lightLabel","labelTrigger"],w0=function(i){return RT(i)==="map"?i:new Map(Object.entries(i||{}))},c1=function u(i,c){if(Array.isArray(i))return Object(le.jsx)(lt.b,{split:",",size:2,children:i.map(function(g){return u(g,c)})});var o=w0(c);if(!o.has(i)&&!o.has("".concat(i)))return(i==null?void 0:i.label)||i;var t=o.get(i)||o.get("".concat(i));if(!t)return(i==null?void 0:i.label)||i;var r=t.status,d=t.color,v=Cx[r||"Init"];return v?Object(le.jsx)(v,{children:t.text}):d?Object(le.jsx)(Ox,{color:d,children:t.text}):t.text||t},PT=function(i){for(var c=i.label,o=i.words,t=Object(fe.useContext)(bt.a.ConfigContext),r=t.getPrefixCls,d=r("pro-select-item-option-content-light"),v=r("pro-select-item-option-content"),g=new RegExp(o.map(function(ae){return ae.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}).join("|"),"gi"),b=c,P=[];b.length;){var I=g.exec(b);if(!I){P.push(b);break}var V=I.index,K=I[0].length+V;P.push(b.slice(0,V),pe.a.createElement("span",{className:d},b.slice(V,K))),b=b.slice(K)}return pe.a.createElement.apply(pe.a,["div",{className:v}].concat(P))};function RT(u){var i=Object.prototype.toString.call(u).match(/^\[object (.*)\]$/)[1].toLowerCase();return i==="string"&&Object(Ve.a)(u)==="object"?"object":u===null?"null":u===void 0?"undefined":i}function Tx(u,i){var c,o;if(!i||(u==null||(c=u.label)===null||c===void 0?void 0:c.toString().toLowerCase().includes(i.toLowerCase()))||(u==null||(o=u.value)===null||o===void 0?void 0:o.toString().toLowerCase().includes(i.toLowerCase())))return!0;if(u.children||u.options){var t=[].concat(Object(Fe.a)(u.children||[]),[u.options||[]]).find(function(r){return Tx(r,i)});if(t)return!0}return!1}var DT=function(i){var c=[],o=w0(i);return o.forEach(function(t,r){var d=o.get(r)||o.get("".concat(r));if(!!d){if(Object(Ve.a)(d)==="object"&&(d==null?void 0:d.text)){c.push({text:d==null?void 0:d.text,value:r,label:d==null?void 0:d.text,disabled:d.disabled});return}c.push({text:d,value:r})}}),c},hF=function(i){var c,o,t,r,d=i.cacheForSwr,v=i.fieldProps,g=Object(fe.useState)(i.defaultKeyWords),b=Object(Ge.a)(g,2),P=b[0],I=b[1],V=Object(fe.useState)(function(){return i.proFieldKey?i.proFieldKey.toString():i.request?Wr():"no-fetch"}),K=Object(Ge.a)(V,1),ae=K[0],ue=Object(fe.useRef)(ae),ve=Object(fe.useCallback)(function(Jt){return DT(w0(Jt)).map(function(mn){var vn=mn.value,Yt=mn.text,En=Object(ut.a)(mn,vF);return Object(Te.a)({label:Yt,value:vn,key:vn},En)})},[]),Oe=Object(fe.useMemo)(function(){if(!!v){var Jt=(v==null?void 0:v.options)||(v==null?void 0:v.treeData);if(!!Jt){var mn=v.fieldNames||{},vn=mn.children,Yt=mn.label,En=mn.value,or=function $r(vr,Er){if(!!(vr==null?void 0:vr.length))for(var Hr=vr.length,Aa=0;Aa<Hr;){var Fr=vr[Aa++];(Fr[vn]||Fr[Yt]||Fr[En])&&(Fr[Er]=Fr[Er==="children"?vn:Er==="label"?Yt:En],$r(Fr[vn],Er))}};return vn&&or(Jt,"children"),Yt&&or(Jt,"label"),En&&or(Jt,"value"),Jt}}},[v]),ke=Object(Tn.a)(function(){return i.valueEnum?ve(i.valueEnum):[]},{value:Oe}),Ie=Object(Ge.a)(ke,2),Ye=Ie[0],Ze=Ie[1];Ur(function(){var Jt,mn;!i.valueEnum||((Jt=i.fieldProps)===null||Jt===void 0?void 0:Jt.options)||((mn=i.fieldProps)===null||mn===void 0?void 0:mn.treeData)||Ze(ve(i.valueEnum))},[i.valueEnum]);var et=Bd([ue.current,i.params,P],(c=(o=i.debounceTime)!==null&&o!==void 0?o:i==null||(t=i.fieldProps)===null||t===void 0?void 0:t.debounceTime)!==null&&c!==void 0?c:0,[i.params,P]),yt=Object(br.b)(function(){return i.request?et:null},function(Jt,mn,vn){return i.request(Object(Te.a)(Object(Te.a)({},mn),{},{keyWords:vn}),i)},{revalidateIfStale:!d,revalidateOnReconnect:d,shouldRetryOnError:!1,revalidateOnFocus:!1}),jt=yt.data,Ft=yt.mutate,Ht=yt.isValidating,Gt=Object(fe.useMemo)(function(){var Jt,mn,vn=Ye==null?void 0:Ye.map(function(Yt){if(typeof Yt=="string")return{label:Yt,value:Yt};if(Yt.children||Yt.options){var En=[].concat(Object(Fe.a)(Yt.children||[]),Object(Fe.a)(Yt.options||[])).filter(function(or){return Tx(or,P)});return Object(Te.a)(Object(Te.a)({},Yt),{},{children:En,options:En})}return Yt});return((Jt=i.fieldProps)===null||Jt===void 0?void 0:Jt.filterOption)===!0||((mn=i.fieldProps)===null||mn===void 0?void 0:mn.filterOption)===void 0?vn==null?void 0:vn.filter(function(Yt){return Yt?P?Tx(Yt,P):!0:!1}):vn},[Ye,P,(r=i.fieldProps)===null||r===void 0?void 0:r.filterOption]);return[Ht,i.request?jt:Gt,function(Jt){I(Jt)},function(){I(void 0),Ft([],!1)}]},IT=function(i,c){var o=i.mode,t=i.valueEnum,r=i.render,d=i.renderFormItem,v=i.request,g=i.fieldProps,b=i.plain,P=i.children,I=i.light,V=i.proFieldKey,K=i.params,ae=i.label,ue=i.bordered,ve=i.id,Oe=i.lightLabel,ke=i.labelTrigger,Ie=Object(ut.a)(i,Tf),Ye=Object(fe.useRef)(),Ze=Object(qe.d)(),et=Object(fe.useRef)(""),yt=g.fieldNames;Object(fe.useEffect)(function(){et.current=g==null?void 0:g.searchValue},[g==null?void 0:g.searchValue]);var jt=hF(i),Ft=Object(Ge.a)(jt,4),Ht=Ft[0],Gt=Ft[1],Jt=Ft[2],mn=Ft[3],vn=Object(fe.useContext)(bt.a.SizeContext);Object(fe.useImperativeHandle)(c,function(){return Object(Te.a)(Object(Te.a)({},Ye.current||{}),{},{fetchData:function(){return Jt()}})});var Yt=Object(fe.useMemo)(function(){if(o==="read"){var vr=yt||{},Er=vr.label,Hr=Er===void 0?"label":Er,Aa=vr.value,Fr=Aa===void 0?"value":Aa,ca=vr.options,fa=ca===void 0?"options":ca,ai=new Map,Wi=function Co(zi){if(!(zi==null?void 0:zi.length))return ai;for(var us=zi.length,Us=0;Us<us;){var po=zi[Us++];ai.set(po[Fr],po[Hr]),Co(po[fa])}return ai};return Wi(Gt)}},[yt,o,Gt]);if(o==="read"){var En=Object(le.jsx)(le.Fragment,{children:c1(Ie.text,w0(t||Yt))});return r?r(Ie.text,Object(Te.a)({mode:o},g),En)||null:En}if(o==="edit"||o==="update"){var or=function(){return I?Object(le.jsx)(xx,Object(Te.a)({bordered:ue,id:ve,loading:Ht,ref:Ye,allowClear:!0,size:vn,options:Gt,label:ae,placeholder:Ze.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),lightLabel:Oe,labelTrigger:ke},g)):Object(le.jsx)(pF,Object(Te.a)(Object(Te.a)({className:Ie.className,style:Object(Te.a)({minWidth:100},Ie.style),bordered:ue,id:ve,loading:Ht,ref:Ye,allowClear:!0,notFoundContent:Ht?Object(le.jsx)(At.a,{size:"small"}):g==null?void 0:g.notFoundContent,fetchData:function(Hr){et.current=Hr,Jt(Hr)},resetData:mn,optionItemRender:function(Hr){return typeof Hr.label=="string"&&et.current?Object(le.jsx)(PT,{label:Hr.label,words:[et.current]}):Hr.label},placeholder:Ze.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),label:ae},g),{},{options:Gt}),"SearchSelect")},$r=or();return d?d(Ie.text,Object(Te.a)(Object(Te.a)({mode:o},g),{},{options:Gt}),$r)||null:$r}return null},D$=pe.a.forwardRef(IT),NT=function(i){var c={};return Object.keys(i||{}).forEach(function(o){var t;Array.isArray(i[o])&&((t=i[o])===null||t===void 0?void 0:t.length)===0||i[o]!==void 0&&(c[o]=i[o])}),c},uR=NT,gF=l("tU7J"),LT=l("wFql"),FT=function(i){var c;return!!((i==null||(c=i.valueType)===null||c===void 0?void 0:c.toString().startsWith("date"))||(i==null?void 0:i.valueType)==="select"||(i==null?void 0:i.valueEnum))},UT=function(i,c,o){if(c.copyable||c.ellipsis){var t=c.copyable&&o?{text:o,tooltips:["",""]}:void 0,r=FT(c),d=c.ellipsis&&o?{tooltip:r?Object(le.jsx)("div",{className:"pro-table-tooltip-text",children:i}):o}:!1;return Object(le.jsx)(LT.a.Text,{style:{width:"100%",margin:0,padding:0},title:"",copyable:t,ellipsis:d,children:i})}return i},BT=l("wCxl"),mF=l("hGVw"),dR=["label","rules","name","children","popoverProps"],be=["errorType","rules","name","popoverProps","children"],Be={marginTop:-5,marginBottom:-5,marginLeft:0,marginRight:0},Nt=function(i){var c=i.inputProps,o=i.input,t=i.extra,r=i.errorList,d=i.popoverProps,v=Object(fe.useState)(!1),g=Object(Ge.a)(v,2),b=g[0],P=g[1],I=Object(fe.useState)([]),V=Object(Ge.a)(I,2),K=V[0],ae=V[1],ue=Object(fe.useContext)(bt.a.ConfigContext),ve=ue.getPrefixCls;Object(fe.useEffect)(function(){c.validateStatus!=="validating"&&ae(c.errors)},[c.errors,c.validateStatus]);var Oe=ve();return Object(le.jsx)(me.a,Object(Te.a)(Object(Te.a)({trigger:(d==null?void 0:d.trigger)||"focus",placement:(d==null?void 0:d.placement)||"topRight",visible:K.length<1?!1:b,onVisibleChange:function(Ie){Ie!==b&&P(Ie)},getPopupContainer:d==null?void 0:d.getPopupContainer,getTooltipContainer:d==null?void 0:d.getTooltipContainer,content:Object(le.jsxs)("div",{className:"".concat(Oe,"-form-item-with-help"),children:[c.validateStatus==="validating"?Object(le.jsx)(js.a,{}):null,r]})},d),{},{children:Object(le.jsxs)("div",{children:[o,t]})}),"popover")},In=function(i){var c=i.label,o=i.rules,t=i.name,r=i.children,d=i.popoverProps,v=Object(ut.a)(i,dR);return Object(le.jsx)(Ot.a.Item,Object(Te.a)(Object(Te.a)({preserve:!1,name:t,rules:o,hasFeedback:!0,_internalItemRender:{mark:"pro_table_render",render:function(b,P){return Object(le.jsx)(Nt,Object(Te.a)({inputProps:b,popoverProps:d},P))}}},v),{},{style:Object(Te.a)(Object(Te.a)({},Be),v==null?void 0:v.style),children:r}))},Zr=function(u){var i=u.errorType,c=u.rules,o=u.name,t=u.popoverProps,r=u.children,d=Object(ut.a)(u,be);return o&&(c==null?void 0:c.length)&&i==="popover"?Object(le.jsx)(In,Object(Te.a)(Object(Te.a)({name:o,rules:c,popoverProps:t},d),{},{children:r})):Object(le.jsx)(Ot.a.Item,Object(Te.a)(Object(Te.a)({rules:c},d),{},{style:Object(Te.a)(Object(Te.a)({},Be),d.style),name:o,children:r}))},Ha=function(i,c,o){return c===void 0?i:Pt(i,c,o)},Ui=Ha,Oo=["children"],Ko=["",null,void 0],wc=function(){for(var i=arguments.length,c=new Array(i),o=0;o<i;o++)c[o]=arguments[o];return c.filter(function(t){return t!==void 0}).map(function(t){return typeof t=="number"?t.toString():t}).flat(1)},Mc=function(i){var c=Object(fe.useContext)(Ri),o=i.columnProps,t=i.prefixName,r=i.text,d=i.counter,v=i.rowData,g=i.index,b=i.recordKey,P=i.subName,I=i.proFieldProps,V=Js.useFormInstance(),K=b||g,ae=Object(fe.useState)(function(){var et,yt;return wc(t,t?P:[],t?g:K,(et=(yt=o==null?void 0:o.key)!==null&&yt!==void 0?yt:o==null?void 0:o.dataIndex)!==null&&et!==void 0?et:g)}),ue=Object(Ge.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(fe.useMemo)(function(){return ve.slice(0,-1)},[ve]);Object(fe.useEffect)(function(){var et,yt,jt=wc(t,t?P:[],t?g:K,(et=(yt=o==null?void 0:o.key)!==null&&yt!==void 0?yt:o==null?void 0:o.dataIndex)!==null&&et!==void 0?et:g);jt.join("-")!==ve.join("-")&&Oe(jt)},[o==null?void 0:o.dataIndex,o==null?void 0:o.key,g,b,t,K,P,ve]);var Ie=Object(fe.useMemo)(function(){return[V,Object(Te.a)(Object(Te.a)({},o),{},{rowKey:ke,rowIndex:g,isEditable:!0})]},[o,V,g,ke]),Ye=Object(fe.useCallback)(function(et){var yt=et.children,jt=Object(ut.a)(et,Oo);return Object(le.jsx)(Zr,Object(Te.a)(Object(Te.a)({popoverProps:{getPopupContainer:c.getPopupContainer||function(){return d.rootDomRef.current||document.body}},errorType:"popover",name:ve},jt),{},{children:yt}),K)},[K,ve]),Ze=Object(fe.useCallback)(function(){var et,yt,jt=Object(Te.a)({},Ui.apply(void 0,[o==null?void 0:o.formItemProps].concat(Object(Fe.a)(Ie))));jt.messageVariables=Object(Te.a)({label:(o==null?void 0:o.title)||"\u6B64\u9879",type:(o==null?void 0:o.valueType)||"\u6587\u672C"},jt==null?void 0:jt.messageVariables),jt.initialValue=(et=(yt=t?null:r)!==null&&yt!==void 0?yt:jt==null?void 0:jt.initialValue)!==null&&et!==void 0?et:o==null?void 0:o.initialValue;var Ft=Object(le.jsx)(S_,Object(Te.a)({cacheForSwr:!0,name:ve,proFormFieldKey:K,ignoreFormItem:!0,fieldProps:Ui.apply(void 0,[o==null?void 0:o.fieldProps].concat(Object(Fe.a)(Ie)))},I),ve.join("-"));return(o==null?void 0:o.renderFormItem)&&(Ft=o.renderFormItem(Object(Te.a)(Object(Te.a)({},o),{},{index:g,isEditable:!0,type:"table"}),{defaultRender:function(){return Object(le.jsx)(Ye,Object(Te.a)(Object(Te.a)({},jt),{},{children:Ft}))},type:"form",recordKey:b,record:Object(Te.a)(Object(Te.a)({},v),V==null?void 0:V.getFieldValue([K])),isEditable:!0},V,i.editableUtils),o.ignoreFormItem)?Object(le.jsx)(le.Fragment,{children:Ft}):Object(le.jsx)(Ye,Object(Te.a)(Object(Te.a)({},jt),{},{children:Ft}),ve.join("-"))},[o,Ie,t,r,K,ve,I,Ye,g,b,v,V,i.editableUtils]);return ve.length===0?null:typeof(o==null?void 0:o.renderFormItem)=="function"||typeof(o==null?void 0:o.fieldProps)=="function"||typeof(o==null?void 0:o.formItemProps)=="function"?Object(le.jsx)(Ol,{name:[ke],children:function(){return Ze()}}):Ze()};function Pc(u){var i,c=u.text,o=u.valueType,t=u.rowData,r=u.columnProps;if((!o||["textarea","text"].includes(o.toString()))&&!(r==null?void 0:r.valueEnum)&&u.mode==="read")return Ko.includes(c)?u.columnEmptyText:c;if(typeof o=="function"&&t)return Pc(Object(Te.a)(Object(Te.a)({},u),{},{valueType:o(t,u.type)||"text"}));var d=(r==null?void 0:r.key)||(r==null||(i=r.dataIndex)===null||i===void 0?void 0:i.toString()),v={valueEnum:Pt(r==null?void 0:r.valueEnum,t),request:r==null?void 0:r.request,params:Pt(r==null?void 0:r.params,t,r),readonly:r==null?void 0:r.readonly,text:o==="index"||o==="indexBorder"?u.index:c,mode:u.mode,renderFormItem:void 0,valueType:o,record:t,proFieldProps:{emptyText:u.columnEmptyText,proFieldKey:d?"table-field-".concat(d):void 0}};return u.mode!=="edit"?Object(le.jsx)(S_,Object(Te.a)({mode:"read",ignoreFormItem:!0,fieldProps:Ui(r==null?void 0:r.fieldProps,null,r)},v)):Object(le.jsx)(Mc,Object(Te.a)(Object(Te.a)({},u),{},{proFieldProps:v}),u.recordKey)}var Ul=Pc,Iu=function(i){var c,o=i.title,t=typeof(i==null?void 0:i.ellipsis)=="boolean"?i==null?void 0:i.ellipsis:i==null||(c=i.ellipsis)===null||c===void 0?void 0:c.showTitle;return o&&typeof o=="function"?o(i,"table",Object(le.jsx)(Kr.a,{label:null,tooltip:i.tooltip||i.tip})):Object(le.jsx)(Kr.a,{label:o,tooltip:i.tooltip||i.tip,ellipsis:t})};function wd(u,i,c,o){return typeof o=="boolean"?o===!1:(o==null?void 0:o(u,i,c))===!1}var hd=function(i,c,o){var t=Array.isArray(o)?Object(BT.a)(c,o):c[o],r=String(t);return String(r)===String(i)};function _d(u){var i=u.columnProps,c=u.text,o=u.rowData,t=u.index,r=u.columnEmptyText,d=u.counter,v=u.type,g=u.subName,b=u.editableUtils,P=d.action,I=d.prefixName,V=b.isEditable(Object(Te.a)(Object(Te.a)({},o),{},{index:t})),K=V.isEditable,ae=V.recordKey,ue=i.renderText,ve=ue===void 0?function(yt){return yt}:ue,Oe=ve(c,o,t,P),ke=K&&!wd(c,o,t,i==null?void 0:i.editable)?"edit":"read",Ie=Ul({text:Oe,valueType:i.valueType||"text",index:t,rowData:o,subName:g,columnProps:Object(Te.a)(Object(Te.a)({},i),{},{entry:o,entity:o}),counter:d,columnEmptyText:r,type:v,recordKey:ae,mode:ke,prefixName:I,editableUtils:b}),Ye=ke==="edit"?Ie:UT(Ie,i,Oe);if(ke==="edit")return i.valueType==="option"?Object(le.jsx)(lt.b,{children:b.actionRender(Object(Te.a)(Object(Te.a)({},o),{},{index:i.index||t}))}):Ye;if(!i.render){var Ze=pe.a.isValidElement(Ye)||["string","number"].includes(Object(Ve.a)(Ye));return!kn(Ye)&&Ze?Ye:null}var et=i.render(Ye,o,t,Object(Te.a)(Object(Te.a)({},P),b),Object(Te.a)(Object(Te.a)({},i),{},{isEditable:K,type:"table"}));return ml(et)?et:et&&i.valueType==="option"&&Array.isArray(et)?Object(le.jsx)(lt.b,{size:16,children:et}):et}function Zu(u){var i,c=u.columns,o=u.counter,t=u.columnEmptyText,r=u.type,d=u.editableUtils,v=u.rowKey,g=v===void 0?"id":v,b=u.childrenColumnName,P=b===void 0?"children":b,I=new Map;return c==null||(i=c.map(function(V,K){var ae=V.key,ue=V.dataIndex,ve=V.valueEnum,Oe=V.valueType,ke=Oe===void 0?"text":Oe,Ie=V.children,Ye=V.onFilter,Ze=V.filters,et=Ze===void 0?[]:Ze,yt=os(ae||(ue==null?void 0:ue.toString()),K),jt=!ve&&!ke&&!Ie;if(jt)return Object(Te.a)({index:K},V);var Ft=V===at.a.EXPAND_COLUMN||V===at.a.SELECTION_COLUMN;if(Ft)return{index:K,isExtraColumns:!0,hideInSearch:!0,hideInTable:!1,hideInForm:!0,hideInSetting:!0,extraColumn:V};var Ht=o.columnsMap[yt]||{fixed:V.fixed},Gt=function(){return Ye===!0?function(Yt,En){return hd(Yt,En,ue)}:Zs(Ye)},Jt=g,mn=Object(Te.a)(Object(Te.a)({index:K,key:yt},V),{},{title:Iu(V),valueEnum:ve,filters:et===!0?DT(Pt(ve,void 0)).filter(function(vn){return vn&&vn.value!=="all"}):et,onFilter:Gt(),fixed:Ht.fixed,width:V.width||(V.fixed?200:void 0),children:V.children?Zu(Object(Te.a)(Object(Te.a)({},u),{},{columns:V==null?void 0:V.children})):void 0,render:function(Yt,En,or){typeof g=="function"&&(Jt=g(En,or));var $r;if(Reflect.has(En,Jt)){var vr;$r=En[Jt];var Er=I.get($r)||[];(vr=En[P])===null||vr===void 0||vr.forEach(function(Aa){var Fr=Aa[Jt];I.has(Fr)||I.set(Fr,Er.concat([or,P]))})}var Hr={columnProps:V,text:Yt,rowData:En,index:or,columnEmptyText:t,counter:o,type:r,subName:I.get($r),editableUtils:d};return _d(Hr)}});return uR(mn)}))===null||i===void 0?void 0:i.filter(function(V){return!V.hideInTable})}var zd=["rowKey","tableClassName","action","tableColumn","type","pagination","rowSelection","size","defaultSize","tableStyle","toolbarDom","searchNode","style","cardProps","alertDom","name","onSortChange","onFilterChange","options","isLightFilter","className","cardBordered","editableUtils","getRowKey"],rg=["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 Yp(u){var i=u.rowKey,c=u.tableClassName,o=u.action,t=u.tableColumn,r=u.type,d=u.pagination,v=u.rowSelection,g=u.size,b=u.defaultSize,P=u.tableStyle,I=u.toolbarDom,V=u.searchNode,K=u.style,ae=u.cardProps,ue=u.alertDom,ve=u.name,Oe=u.onSortChange,ke=u.onFilterChange,Ie=u.options,Ye=u.isLightFilter,Ze=u.className,et=u.cardBordered,yt=u.editableUtils,jt=u.getRowKey,Ft=Object(ut.a)(u,zd),Ht=Nm.useContainer(),Gt=Object(fe.useMemo)(function(){var Hr=function Aa(Fr){return Fr.map(function(ca){var fa=os(ca.key,ca.index),ai=Ht.columnsMap[fa];return ai&&ai.show===!1?!1:ca.children?Object(Te.a)(Object(Te.a)({},ca),{},{children:Aa(ca.children)}):ca}).filter(Boolean)};return Hr(t)},[Ht.columnsMap,t]),Jt=Object(fe.useMemo)(function(){return Gt==null?void 0:Gt.every(function(Hr){return Hr.filters===!0&&Hr.onFilter===!0||Hr.filters===void 0&&Hr.onFilter===void 0})},[Gt]),mn=function(Aa){var Fr=yt.newLineRecord||{},ca=Fr.options,fa=Fr.defaultValue;if(ca==null?void 0:ca.parentKey){var ai,Wi,Co={data:Aa,getRowKey:jt,row:Object(Te.a)(Object(Te.a)({},fa),{},{map_row_parentKey:(ai=zr(ca==null?void 0:ca.parentKey))===null||ai===void 0?void 0:ai.toString()}),key:ca==null?void 0:ca.recordKey,childrenColumnName:((Wi=u.expandable)===null||Wi===void 0?void 0:Wi.childrenColumnName)||"children"};return wr(Co,ca.position==="top"?"top":"update")}if((ca==null?void 0:ca.position)==="top")return[fa].concat(Object(Fe.a)(o.dataSource));if(d&&(d==null?void 0:d.current)&&(d==null?void 0:d.pageSize)){var zi=Object(Fe.a)(o.dataSource);return(d==null?void 0:d.pageSize)>zi.length?(zi.push(fa),zi):(zi.splice((d==null?void 0:d.current)*(d==null?void 0:d.pageSize)-1,0,fa),zi)}return[].concat(Object(Fe.a)(o.dataSource),[fa])},vn=function(){return Object(Te.a)(Object(Te.a)({},Ft),{},{size:g,rowSelection:v===!1?void 0:v,className:c,style:P,columns:Gt.map(function(Aa){return Aa.isExtraColumns?Aa.extraColumn:Aa}),loading:o.loading,dataSource:yt.newLineRecord?mn(o.dataSource):o.dataSource,pagination:d,onChange:function(Fr,ca,fa,ai){var Wi;if((Wi=Ft.onChange)===null||Wi===void 0||Wi.call(Ft,Fr,ca,fa,ai),Jt||ke(Object(fi.a)(ca)),Array.isArray(fa)){var Co=fa.reduce(function(po,dc){return Object(Te.a)(Object(Te.a)({},po),{},Object(ft.a)({},"".concat(dc.field),dc.order))},{});Oe(Object(fi.a)(Co))}else{var zi,us=(zi=fa.column)===null||zi===void 0?void 0:zi.sorter,Us=(us==null?void 0:us.toString())===us;Oe(Object(fi.a)(Object(ft.a)({},"".concat(Us?us:fa.field),fa.order))||{})}}})},Yt=Object(le.jsx)(at.a,Object(Te.a)(Object(Te.a)({},vn()),{},{rowKey:i})),En=u.tableViewRender?u.tableViewRender(Object(Te.a)(Object(Te.a)({},vn()),{},{rowSelection:v!==!1?v:void 0}),Yt):Yt,or=Object(fe.useMemo)(function(){if(u.editable&&!u.name){var Hr,Aa,Fr,ca;return Object(le.jsxs)(le.Fragment,{children:[I,ue,Object(fe.createElement)(Mo,Object(Te.a)(Object(Te.a)({},(Hr=u.editable)===null||Hr===void 0?void 0:Hr.formProps),{},{formRef:(Aa=u.editable)===null||Aa===void 0||(Fr=Aa.formProps)===null||Fr===void 0?void 0:Fr.formRef,component:!1,form:(ca=u.editable)===null||ca===void 0?void 0:ca.form,onValuesChange:yt.onValuesChange,key:"table",submitter:!1,omitNil:!1,dateFormatter:u.dateFormatter}),En)]})}return Object(le.jsxs)(le.Fragment,{children:[I,ue,En]})},[ue,u.loading,!!u.editable,En,I]),$r=ae===!1||!!u.name?or:Object(le.jsx)($e.a,Object(Te.a)(Object(Te.a)({ghost:u.ghost,bordered:bd("table",et),bodyStyle:I?{paddingTop:0}:{padding:0}},ae),{},{children:or})),vr=function(){return u.tableRender?u.tableRender(u,$r,{toolbar:I||void 0,alert:ue||void 0,table:En||void 0}):$r},Er=Object(le.jsxs)("div",{className:tr()(Ze,Object(ft.a)({},"".concat(Ze,"-polling"),o.pollingLoading)),style:K,ref:Ht.rootDomRef,children:[Ye?null:V,r!=="form"&&u.tableExtraRender&&Object(le.jsx)("div",{className:"".concat(Ze,"-extra"),children:u.tableExtraRender(u,o.dataSource||[])}),r!=="form"&&vr()]});return!Ie||!(Ie==null?void 0:Ie.fullScreen)?Er:Object(le.jsx)(bt.a,{getPopupContainer:function(){return Ht.rootDomRef.current||document.body},children:Er})}var Hh={},uv=function(i){var c,o=i.cardBordered,t=i.request,r=i.className,d=i.params,v=d===void 0?Hh:d,g=i.defaultData,b=i.headerTitle,P=i.postData,I=i.ghost,V=i.pagination,K=i.actionRef,ae=i.columns,ue=ae===void 0?[]:ae,ve=i.toolBarRender,Oe=i.onLoad,ke=i.onRequestError,Ie=i.style,Ye=i.cardProps,Ze=i.tableStyle,et=i.tableClassName,yt=i.columnsStateMap,jt=i.onColumnsStateChange,Ft=i.options,Ht=i.search,Gt=i.name,Jt=i.onLoadingChange,mn=i.rowSelection,vn=mn===void 0?!1:mn,Yt=i.beforeSearchSubmit,En=i.tableAlertRender,or=i.defaultClassName,$r=i.formRef,vr=i.type,Er=vr===void 0?"table":vr,Hr=i.columnEmptyText,Aa=Hr===void 0?"-":Hr,Fr=i.toolbar,ca=i.rowKey,fa=i.manualRequest,ai=i.polling,Wi=i.tooltip,Co=i.revalidateOnFocus,zi=Co===void 0?!1:Co,us=Object(ut.a)(i,rg),Us=tr()(or,r),po=Object(fe.useRef)(),dc=Object(fe.useRef)(),ns=$r||dc;Object(fe.useImperativeHandle)(K,function(){return po.current});var fc=Object(Tn.a)(vn?(vn==null?void 0:vn.defaultSelectedRowKeys)||[]:void 0,{value:vn?vn.selectedRowKeys:void 0}),Kc=Object(Ge.a)(fc,2),gl=Kc[0],du=Kc[1],yu=Object(fe.useRef)([]),Su=Object(fe.useCallback)(function(Cu,Au){du(Cu),(!vn||!(vn==null?void 0:vn.selectedRowKeys))&&(yu.current=Au)},[du]),Ql=Object(Tn.a)(function(){if(!(fa||Ht!==!1))return{}}),Bl=Object(Ge.a)(Ql,2),Qo=Bl[0],hc=Bl[1],Yl=Object(Tn.a)({}),Qc=Object(Ge.a)(Yl,2),ed=Qc[0],zu=Qc[1],Xc=Object(Tn.a)({}),jp=Object(Ge.a)(Xc,2),cv=jp[0],fp=jp[1];Object(fe.useEffect)(function(){var Cu=cd(ue),Au=Cu.sort,Ef=Cu.filter;zu(Ef),fp(Au)},[]);var lm=Object(qe.d)(),g_=Object(Ve.a)(V)==="object"?V:{defaultCurrent:1,defaultPageSize:20,pageSize:20,current:1},Lf=Nm.useContainer(),Ig=Object(fe.useMemo)(function(){if(!!t)return function(){var Cu=Object(Se.a)(Object(Re.a)().mark(function Au(Ef){var Hf,xv;return Object(Re.a)().wrap(function(Xd){for(;;)switch(Xd.prev=Xd.next){case 0:return Hf=Object(Te.a)(Object(Te.a)(Object(Te.a)({},Ef||{}),Qo),v),delete Hf._timestamp,Xd.next=4,t(Hf,cv,ed);case 4:return xv=Xd.sent,Xd.abrupt("return",xv);case 6:case"end":return Xd.stop()}},Au)}));return function(Au){return Cu.apply(this,arguments)}}()},[Qo,v,ed,cv,t]),Bf=oR(Ig,g,{pageInfo:V===!1?!1:g_,loading:i.loading,dataSource:i.dataSource,onDataSourceChange:i.onDataSourceChange,onLoad:Oe,onLoadingChange:Jt,onRequestError:ke,postData:P,revalidateOnFocus:zi,manual:Qo===void 0,polling:ai,effects:[Di(v),Di(Qo),Di(ed),Di(cv)],debounceTime:i.debounceTime,onPageInfoChange:function(Au){var Ef,Hf;Er==="list"||!V||!Ig||(V==null||(Ef=V.onChange)===null||Ef===void 0||Ef.call(V,Au.current,Au.pageSize),V==null||(Hf=V.onShowSizeChange)===null||Hf===void 0||Hf.call(V,Au.current,Au.pageSize))}});Object(fe.useEffect)(function(){var Cu;if(!(i.manualRequest||!i.request||!zi||((Cu=i.form)===null||Cu===void 0?void 0:Cu.ignoreRules))){var Au=function(){document.visibilityState==="visible"&&Bf.reload()};return document.addEventListener("visibilitychange",Au),function(){return document.removeEventListener("visibilitychange",Au)}}},[]);var m_=pe.a.useRef(new Map),Ng=pe.a.useMemo(function(){return typeof ca=="function"?ca:function(Cu,Au){var Ef;return Au===-1?Cu==null?void 0:Cu[ca]:i.name?Au==null?void 0:Au.toString():(Ef=Cu==null?void 0:Cu[ca])!==null&&Ef!==void 0?Ef:Au==null?void 0:Au.toString()}},[i.name,ca]);Object(fe.useMemo)(function(){var Cu;if((Cu=Bf.dataSource)===null||Cu===void 0?void 0:Cu.length){var Au=new Map,Ef=Bf.dataSource.map(function(Hf){var xv=Ng(Hf,-1);return Au.set(xv,Hf),xv});return m_.current=Au,Ef}return[]},[Bf.dataSource,Ng]),Object(fe.useEffect)(function(){yu.current=gl==null?void 0:gl.map(function(Cu){var Au;return(Au=m_.current)===null||Au===void 0?void 0:Au.get(Cu)})},[gl]);var Vb=Object(fe.useMemo)(function(){var Cu=V===!1?!1:Object(Te.a)({},V),Au=Object(Te.a)(Object(Te.a)({},Bf.pageInfo),{},{setPageInfo:function(Hf){var xv=Hf.pageSize,Nh=Hf.current,Xd=Bf.pageInfo;if(xv===Xd.pageSize||Xd.current===1){Bf.setPageInfo({pageSize:xv,current:Nh});return}t&&Bf.setDataSource([]),Bf.setPageInfo({pageSize:xv,current:Er==="list"?Nh:1})}});return t&&Cu&&(delete Cu.onChange,delete Cu.onShowSizeChange),Hl(Cu,Au,lm)},[V,Bf,lm]);Ur(function(){var Cu;i.request&&v&&Bf.dataSource&&(Bf==null||(Cu=Bf.pageInfo)===null||Cu===void 0?void 0:Cu.current)!==1&&Bf.setPageInfo({current:1})},[v]),Lf.setPrefixName(i.name);var qh=Object(fe.useCallback)(function(){vn&&vn.onChange&&vn.onChange([],[],{type:"none"}),Su([],[])},[vn,Su]);Lf.setAction(po.current),Lf.propsRef.current=i;var __=ri(Object(Te.a)(Object(Te.a)({},i.editable),{},{tableName:i.name,getRowKey:Ng,childrenColumnName:((c=i.expandable)===null||c===void 0?void 0:c.childrenColumnName)||"children",dataSource:Bf.dataSource||[],setDataSource:function(Au){var Ef,Hf;(Ef=i.editable)===null||Ef===void 0||(Hf=Ef.onValuesChange)===null||Hf===void 0||Hf.call(Ef,void 0,Au),Bf.setDataSource(Au)}}));fu(po,Bf,{fullScreen:function(){var Au;if(!(!((Au=Lf.rootDomRef)===null||Au===void 0?void 0:Au.current)||!document.fullscreenEnabled))if(document.fullscreenElement)document.exitFullscreen();else{var Ef;(Ef=Lf.rootDomRef)===null||Ef===void 0||Ef.current.requestFullscreen()}},onCleanSelected:function(){qh()},resetAll:function(){var Au;qh(),zu({}),fp({}),Lf.setKeyWords(void 0),Bf.setPageInfo({current:1}),ns==null||(Au=ns.current)===null||Au===void 0||Au.resetFields(),hc({})},editableUtils:__}),K&&(K.current=po.current);var y_=Object(fe.useMemo)(function(){var Cu;return Zu({columns:ue,counter:Lf,columnEmptyText:Aa,type:Er,editableUtils:__,rowKey:ca,childrenColumnName:(Cu=i.expandable)===null||Cu===void 0?void 0:Cu.childrenColumnName}).sort(jT(Lf.columnsMap))},[ue,Lf==null?void 0:Lf.sortKeyColumns,Lf==null?void 0:Lf.columnsMap,Aa,Er,__.editableKeys&&__.editableKeys.join(",")]);nr(function(){if(y_&&y_.length>0){var Cu=y_.map(function(Au){return os(Au.key,Au.index)});Lf.setSortKeyColumns(Cu)}},[y_],["render","renderFormItem"],100),Ur(function(){var Cu=Bf.pageInfo,Au=V||{},Ef=Au.current,Hf=Ef===void 0?Cu==null?void 0:Cu.current:Ef,xv=Au.pageSize,Nh=xv===void 0?Cu==null?void 0:Cu.pageSize:xv;V&&(Hf||Nh)&&(Nh!==(Cu==null?void 0:Cu.pageSize)||Hf!==(Cu==null?void 0:Cu.current))&&Bf.setPageInfo({pageSize:Nh||Cu.pageSize,current:Hf||Cu.current})},[V&&V.pageSize,V&&V.current]);var GE=Object(Te.a)(Object(Te.a)({selectedRowKeys:gl},vn),{},{onChange:function(Au,Ef,Hf){vn&&vn.onChange&&vn.onChange(Au,Ef,Hf),Su(Au,Ef)}}),Mm=Ht!==!1&&(Ht==null?void 0:Ht.filterType)==="light",MO=function(Au){if(Ft&&Ft.search){var Ef,Hf,xv=Ft.search===!0?{}:Ft.search,Nh=xv.name,Xd=Nh===void 0?"keyword":Nh,Lh=(Ef=Ft.search)===null||Ef===void 0||(Hf=Ef.onSearch)===null||Hf===void 0?void 0:Hf.call(Ef,Lf.keyWords);if(Lh!==!1){hc(Object(Te.a)(Object(Te.a)({},Au),{},Object(ft.a)({},Xd,Lf.keyWords)));return}}hc(Au)},_y=Object(fe.useMemo)(function(){if(Object(Ve.a)(Bf.loading)==="object"){var Cu;return((Cu=Bf.loading)===null||Cu===void 0?void 0:Cu.spinning)||!1}return Bf.loading},[Bf.loading]),Hw=Ht===!1&&Er!=="form"?null:Object(le.jsx)(lx,{pagination:Vb,beforeSearchSubmit:Yt,action:po,columns:ue,onFormSearchSubmit:function(Au){MO(Au)},ghost:I,onReset:i.onReset,onSubmit:i.onSubmit,loading:!!_y,manualRequest:fa,search:Ht,form:i.form,formRef:ns,type:i.type||"table",cardBordered:i.cardBordered,dateFormatter:i.dateFormatter}),$E=ve===!1?null:Object(le.jsx)(rR,{headerTitle:b,hideToolbar:Ft===!1&&!b&&!ve&&!Fr&&!Mm,selectedRows:yu.current,selectedRowKeys:gl,tableColumn:y_,tooltip:Wi,toolbar:Fr,onFormSearchSubmit:function(Au){hc(Object(Te.a)(Object(Te.a)({},Qo),Au))},searchNode:Mm?Hw:null,options:Ft,actionRef:po,toolBarRender:ve}),PO=vn!==!1?Object(le.jsx)(Ro,{selectedRowKeys:gl,selectedRows:yu.current,onCleanSelected:qh,alertOptionRender:us.tableAlertOptionRender,alertInfoRender:En,alwaysShowAlert:vn==null?void 0:vn.alwaysShowAlert}):null;return Object(le.jsx)(Yp,Object(Te.a)(Object(Te.a)({},i),{},{name:Gt,size:Lf.tableSize,onSizeChange:Lf.setTableSize,pagination:Vb,searchNode:Hw,rowSelection:vn!==!1?GE:void 0,className:Us,tableColumn:y_,isLightFilter:Mm,action:Bf,alertDom:PO,toolbarDom:$E,onSortChange:fp,onFilterChange:zu,editableUtils:__,getRowKey:Ng}))},Og=function(i){var c=Object(fe.useContext)(bt.a.ConfigContext),o=c.getPrefixCls,t=i.ErrorBoundary===!1?pe.a.Fragment:i.ErrorBoundary||li.a;return Object(le.jsx)(Nm.Provider,{initialState:i,children:Object(le.jsx)(qe.a,{children:Object(le.jsx)(t,{children:Object(le.jsx)(uv,Object(Te.a)({defaultClassName:o("pro-table")},i))})})})};Og.Summary=at.a.Summary;var Lm=Og,M_=Lm,Bs=l("oBTY"),If=l("hFxe"),l1=Ot.a.Item,Ax=_s.a.TextArea,_F=function(i){var c=i.isEdit,o=i.dataBaseConfig,t=i.tableLoading,r=t===void 0?!1:t,d=i.mode,v=d===void 0?"normal":d,g=Object(fe.useState)([]),b=Object(we.a)(g,2),P=b[0],I=b[1],V=Object(fe.useState)([]),K=Object(we.a)(V,2),ae=K[0],ue=K[1],ve=Object(fe.useState)(""),Oe=Object(we.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=Object(fe.useState)(""),Ze=Object(we.a)(Ye,2),et=Ze[0],yt=Ze[1],jt=function(){var Ht=Object(Le.a)(Object(Z.a)().mark(function Gt(Jt){var mn,vn,Yt,En,or;return Object(Z.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:return vr.next=2,Object(If.t)(Jt);case 2:mn=vr.sent,vn=mn.code,Yt=mn.data,En=mn.msg,vn===200?(or=(Yt==null?void 0:Yt.resultList)||[],I(or)):Ee.default.error(En);case 7:case"end":return vr.stop()}},Gt)}));return function(Jt){return Ht.apply(this,arguments)}}(),Ft=function(){var Ht=Object(Le.a)(Object(Z.a)().mark(function Gt(Jt){var mn,vn,Yt,En,or;return Object(Z.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:return vr.next=2,Object(If.A)(o.id,Jt);case 2:mn=vr.sent,vn=mn.code,Yt=mn.data,En=mn.msg,vn===200?(or=(Yt==null?void 0:Yt.resultList)||[],ue(or)):Ee.default.error(En);case 7:case"end":return vr.stop()}},Gt)}));return function(Jt){return Ht.apply(this,arguments)}}();return Object(fe.useEffect)(function(){o!=null&&o.id&&jt(o.id)},[o]),Object(le.jsxs)(At.a,{spinning:r,children:[v==="fast"&&Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(l1,{name:"dbName",label:"\u6570\u636E\u5E93\u540D",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93/\u8868"}],children:Object(le.jsx)(jl.a,{showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93/\u8868",disabled:c,onChange:function(Gt){Ft(Gt),Ie(Gt)},children:P.map(function(Ht){return Object(le.jsx)(jl.a.Option,{value:Ht.name,children:Ht.name},Ht.name)})})}),Object(le.jsx)(l1,{name:"tableName",label:"\u6570\u636E\u8868\u540D",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93/\u8868"}],children:Object(le.jsx)(jl.a,{placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93/\u8868",disabled:c,showSearch:!0,onChange:function(Gt){yt(Gt)},children:ae.map(function(Ht){return Object(le.jsx)(jl.a.Option,{value:Ht.name,children:Ht.name},Ht.name)})})})]}),Object(le.jsx)(l1,{name:"name",label:"\u6570\u636E\u6E90\u4E2D\u6587\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u4E2D\u6587\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u540D\u79F0\u4E0D\u53EF\u91CD\u590D"})}),Object(le.jsx)(l1,{name:"bizName",label:"\u6570\u636E\u6E90\u82F1\u6587\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u82F1\u6587\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u540D\u79F0\u4E0D\u53EF\u91CD\u590D",disabled:c})}),Object(le.jsx)(l1,{name:"description",label:"\u6570\u636E\u6E90\u63CF\u8FF0",children:Object(le.jsx)(Ax,{placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u63CF\u8FF0"})})]})},yF=_F,qc=l("jrin"),Gh=l("LvDl"),I$=new Map([["small","250px"],["middle","300px"],["large","400px"]]),av;(function(u){u.CATEGORICAL="categorical",u.TIME="time",u.MEASURES="measures",u.PRIMARY="primary",u.FOREIGN="foreign"})(av||(av={}));var N$=[{label:"\u7EF4\u5EA6",value:av.CATEGORICAL},{label:"\u65E5\u671F",value:av.TIME},{label:"\u5EA6\u91CF",value:av.MEASURES},{label:"\u4E3B\u952E",value:av.PRIMARY},{label:"\u5916\u952E",value:av.FOREIGN}],HO=[{label:"sum",value:"sum"},{label:"max",value:"max"},{label:"min",value:"min"},{label:"avg",value:"avg"},{label:"count",value:"count"},{label:"count_distinct",value:"count_distinct"}],bF=["day","week","month"],kx=["YYYY-MM-DD","YYYYMMDD","YYYY-MM","YYYYMM"],jx=jl.a.Option,L$=function(i){var c=i.fields,o=i.onFieldChange,t=function(v,g,b){o(v.bizName,Object(Xe.a)(Object(Xe.a)({},v),{},Object(qc.a)({},g,b)))},r=[{title:"\u5B57\u6BB5\u540D\u79F0",dataIndex:"bizName",width:100},{title:"\u6570\u636E\u7C7B\u578B",dataIndex:"sqlType",width:80},{title:"\u5B57\u6BB5\u7C7B\u578B",dataIndex:"type",width:100,render:function(v,g){var b,P=(b=c.find(function(I){return I.bizName===g.bizName}))===null||b===void 0?void 0:b.type;return Object(le.jsx)(jl.a,{placeholder:"\u5B57\u6BB5\u7C7B\u578B",value:P,onChange:function(V){var K={};V===av.MEASURES?K={agg:HO[0].value}:V===av.TIME?K={dateFormat:kx[0],timeGranularity:"day"}:K={agg:void 0,dateFormat:void 0,timeGranularity:void 0},o(g.bizName,Object(Xe.a)(Object(Xe.a)({},g),{},{type:V},K))},style:{width:"100%"},children:N$.map(function(I){return Object(le.jsx)(jx,{value:I.value,children:I.label},I.label)})})}},{title:"\u6269\u5C55\u914D\u7F6E",dataIndex:"extender",width:100,render:function(v,g){var b=g.type;if(b===av.MEASURES){var P,I=(P=c.find(function(ae){return ae.bizName===g.bizName}))===null||P===void 0?void 0:P.agg;return Object(le.jsx)(jl.a,{placeholder:"\u5EA6\u91CF\u7B97\u5B50",value:I,onChange:function(ue){t(g,"agg",ue)},defaultValue:HO[0].value,style:{width:"100%"},children:HO.map(function(ae){return Object(le.jsx)(jx,{value:ae.value,children:ae.label},ae.value)})})}if(b===av.TIME){var V,K=(V=c.find(function(ae){return ae.bizName===g.bizName}))===null||V===void 0?void 0:V.dateFormat;return Object(le.jsx)(jl.a,{placeholder:"\u65F6\u95F4\u683C\u5F0F",value:K,onChange:function(ue){t(g,"dateFormat",ue)},defaultValue:kx[0],style:{width:"100%"},children:kx.map(function(ae){return Object(le.jsx)(jx,{value:ae,children:ae},ae)})})}return Object(le.jsx)(le.Fragment,{})}},{title:"\u5FEB\u901F\u521B\u5EFA",dataIndex:"fastCreate",width:100,render:function(v,g){var b=g.type,P=g.name;if([av.PRIMARY,av.FOREIGN,av.CATEGORICAL,av.TIME,av.MEASURES].includes(b)){var I=[av.CATEGORICAL,av.TIME].includes(b)?"isCreateDimension":"isCreateMetric",V=Object(Gh.isUndefined)(g[I])?!0:!!g[I];return Object(le.jsx)(Ae.a,{checked:V,onChange:function(ae){var ue=ae.target.checked?1:0;ue?t(g,I,ue):o(g.bizName,Object(Xe.a)(Object(Xe.a)({},g),{},Object(qc.a)({name:""},I,ue)))},children:Object(le.jsx)(_s.a,{value:P,disabled:!V,onChange:function(ae){var ue=ae.target.value;o(g.bizName,Object(Xe.a)(Object(Xe.a)({},g),{},Object(qc.a)({name:ue},I,1)))},placeholder:"\u8BF7\u586B\u5199\u540D\u79F0"})})}return Object(le.jsx)(le.Fragment,{})}}];return Object(le.jsx)(le.Fragment,{children:Object(le.jsx)(at.a,{dataSource:c,columns:r,className:"fields-table",rowKey:"bizName",pagination:!1,scroll:{y:500}})})},OF=L$,GO=l("Aw1E"),F$=l("fMAa"),Yf=l.n(F$),fR=pl.a.Step,CF={name:"",bizName:"",description:""},u1=function(i){var c=i.domainManger,o=i.onCancel,t=i.createModalVisible,r=i.domainId,d=i.scriptColumns,v=i.sql,g=v===void 0?"":v,b=i.onSubmit,P=i.dataSourceItem,I=i.basicInfoFormMode,V=!!(P!=null&&P.id),K=Object(fe.useState)([]),ae=Object(we.a)(K,2),ue=ae[0],ve=ae[1],Oe=Object(fe.useState)(0),ke=Object(we.a)(Oe,2),Ie=ke[0],Ye=ke[1],Ze=Object(fe.useState)(!1),et=Object(we.a)(Ze,2),yt=et[0],jt=et[1],Ft=Object(fe.useRef)(CF),Ht=Ot.a.useForm(),Gt=Object(we.a)(Ht,1),Jt=Gt[0],mn=c.dataBaseConfig,vn=function(dc){Ft.current=dc},Yt=Object(fe.useState)(d||[]),En=Object(we.a)(Yt,2),or=En[0],$r=En[1];Object(fe.useEffect)(function(){d&&$r(d)},[d]);var vr=function(){return Ye(Ie+1)},Er=function(){return Ye(Ie-1)},Hr=function(dc){var ns=dc.reduce(function(fc,Kc){var gl=Kc.type,du=Kc.bizName,yu=Kc.timeGranularity,Su=Kc.agg,Ql=Kc.isCreateDimension,Bl=Kc.name,Qo=Kc.isCreateMetric,hc=Kc.dateFormat;switch(gl){case av.CATEGORICAL:fc.dimensions.push({bizName:du,type:gl,isCreateDimension:Ql,name:Bl});break;case av.TIME:fc.dimensions.push({bizName:du,type:gl,isCreateDimension:Ql,name:Bl,dateFormat:hc,typeParams:{isPrimary:!0,timeGranularity:yu}});break;case av.FOREIGN:case av.PRIMARY:fc.identifiers.push({bizName:du,name:Bl,type:gl});break;case av.MEASURES:fc.measures.push({bizName:du,type:gl,agg:Su,name:Bl,isCreateMetric:Qo});break;default:break}return fc},{identifiers:[],dimensions:[],measures:[]});return ns},Aa=function(){var po=Object(Le.a)(Object(Z.a)().mark(function dc(){var ns,fc,Kc,gl,du,yu,Su,Ql,Bl,Qo,hc;return Object(Z.a)().wrap(function(Qc){for(;;)switch(Qc.prev=Qc.next){case 0:return Qc.next=2,Jt.validateFields();case 2:if(ns=Qc.sent,fc=Hr(ue),Kc=Object(Xe.a)(Object(Xe.a)(Object(Xe.a)({},Ft.current),ns),fc),vn(Kc),!(Ie<1)){Qc.next=10;break}vr(),Qc.next=26;break;case 10:return jt(!0),gl=Kc.dbName,du=Kc.tableName,yu=Object(Xe.a)(Object(Xe.a)({},Kc),{},{sqlQuery:g,databaseId:(P==null?void 0:P.databaseId)||mn.id,queryType:I==="fast"?"table_query":"sql_query",tableQuery:gl&&du?"".concat(gl,".").concat(du):"",domainId:r}),Su=V?If.G:If.c,Qc.next=16,Su(yu);case 16:if(Ql=Qc.sent,Bl=Ql.code,Qo=Ql.msg,hc=Ql.data,jt(!1),Bl!==200){Qc.next=25;break}return Ee.default.success("\u4FDD\u5B58\u6570\u636E\u6E90\u6210\u529F\uFF01"),b==null||b(Object(Xe.a)(Object(Xe.a)(Object(Xe.a)({},yu),hc),{},{resData:hc})),Qc.abrupt("return");case 25:Ee.default.error(Qo);case 26:case"end":return Qc.stop()}},dc)}));return function(){return po.apply(this,arguments)}}(),Fr=function(dc,ns){var fc=ns.map(function(Kc){var gl=Kc.type,du=Kc.nameEn,yu=dc.find(function(Su){return Su.bizName===Kc.nameEn})||{};return Object(Xe.a)(Object(Xe.a)({},yu),{},{bizName:du,sqlType:gl})});ve(fc||[])},ca=function(){var dc=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return dc.map(function(ns){return Object(Xe.a)(Object(Xe.a)({},ns),{},{type:av.MEASURES})})},fa=function(){var dc=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return dc.map(function(ns){var fc=ns.typeParams;return Object(Xe.a)(Object(Xe.a)({},ns),{},{timeGranularity:(fc==null?void 0:fc.timeGranularity)||""})})},ai=function(){var po=Object(Le.a)(Object(Z.a)().mark(function dc(){var ns,fc,Kc,gl,du,yu,Su,Ql,Bl,Qo;return Object(Z.a)().wrap(function(Yl){for(;;)switch(Yl.prev=Yl.next){case 0:if(ns=P.datasourceDetail,fc=ns.queryType,Kc=ns.tableQuery,gl={},du=or,fc!=="table_query"){Yl.next=10;break}return yu=Kc||"",Su=yu.split("."),Ql=Object(we.a)(Su,2),Bl=Ql[0],Qo=Ql[1],Yl.next=8,zi(Bl,Qo);case 8:du=Yl.sent,gl={dbName:Bl,tableName:Qo};case 10:Wi(du,gl);case 11:case"end":return Yl.stop()}},dc)}));return function(){return po.apply(this,arguments)}}(),Wi=function(dc){var ns=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fc=P,Kc=fc.id,gl=fc.name,du=fc.bizName,yu=fc.description,Su=fc.datasourceDetail,Ql=Su.dimensions,Bl=Su.identifiers,Qo=Su.measures,hc=Object(Xe.a)({id:Kc,name:gl,bizName:du,description:yu},ns),Yl=Object(Xe.a)(Object(Xe.a)({},Ft.current),hc);vn(Yl),Jt.setFieldsValue(hc);var Qc=[].concat(Object(Bs.a)(fa(Ql||[])),Object(Bs.a)(Bl||[]),Object(Bs.a)(ca(Qo||[])));Fr(Qc,dc)};Object(fe.useEffect)(function(){V?ai():Fr([],or)},[P]);var Co=function(dc,ns){var fc=ue.map(function(Kc){return Kc.bizName===dc?Object(Xe.a)(Object(Xe.a)({},Kc),ns):Object(Xe.a)({},Kc)});ve(fc)},zi=function(){var po=Object(Le.a)(Object(Z.a)().mark(function dc(ns,fc){var Kc,gl,du,yu,Su,Ql;return Object(Z.a)().wrap(function(Qo){for(;;)switch(Qo.prev=Qo.next){case 0:if(mn!=null&&mn.id){Qo.next=2;break}return Qo.abrupt("return");case 2:return Qo.next=4,Object(If.p)(mn.id,ns,fc);case 4:if(Kc=Qo.sent,gl=Kc.code,du=Kc.data,yu=Kc.msg,gl!==200){Qo.next=16;break}return Su=(du==null?void 0:du.resultList)||[],Ql=Su.map(function(hc){var Yl=hc.dataType,Qc=hc.name;return{nameEn:Qc,type:Yl}}),Fr([],Ql),$r(Ql),Qo.abrupt("return",Ql);case 16:Ee.default.error(yu);case 17:case"end":return Qo.stop()}},dc)}));return function(ns,fc){return po.apply(this,arguments)}}(),us=function(){return Ie===1?Object(le.jsx)(OF,{fields:ue,onFieldChange:Co}):Object(le.jsx)(yF,{form:Jt,isEdit:V,mode:I,dataBaseConfig:mn})},Us=function(){return Ie===1?Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(it.a,{style:{float:"left"},onClick:Er,children:"\u4E0A\u4E00\u6B65"}),Object(le.jsx)(it.a,{onClick:o,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",loading:yt,onClick:Aa,children:"\u5B8C\u6210"})]}):Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(it.a,{onClick:o,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",onClick:Aa,children:"\u4E0B\u4E00\u6B65"})]})};return Object(le.jsxs)(Fo.a,{forceRender:!0,width:1300,bodyStyle:{padding:"32px 40px 48px"},destroyOnClose:!0,title:"".concat(V?"\u7F16\u8F91":"\u65B0\u5EFA","\u6570\u636E\u6E90"),maskClosable:!1,open:t,footer:Us(),onCancel:o,children:[Object(le.jsxs)(pl.a,{style:{marginBottom:28},size:"small",current:Ie,children:[Object(le.jsx)(fR,{title:"\u57FA\u672C\u4FE1\u606F"}),Object(le.jsx)(fR,{title:"\u5B57\u6BB5\u4FE1\u606F"})]}),Object(le.jsx)(Ot.a,Object(Xe.a)(Object(Xe.a)({},GO.a),{},{form:Jt,initialValues:Object(Xe.a)({},Ft.current),onValuesChange:function(dc,ns){var fc=dc.tableName,Kc=ns.dbName;fc&&zi(Kc,fc)},className:Yf.a.form,children:us()}))]})},T0=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(u1),d1={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z"}}]},name:"coffee",theme:"outlined"},EF=d1,pR=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:EF}))};pR.displayName="CoffeeOutlined";var xF=fe.forwardRef(pR),SF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z"}},{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}},{tag:"path",attrs:{d:"M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z"}}]},name:"console-sql",theme:"outlined"},U$=SF,vR=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:U$}))};vR.displayName="ConsoleSqlOutlined";var wF=fe.forwardRef(vR),TF=vt.a.Meta,AF=function(i){var c=i.open,o=i.onTypeChange,t=i.onCancel,r=Object(fe.useState)(!1),d=Object(we.a)(r,2),v=d[0],g=d[1];return Object(fe.useEffect)(function(){g(c)},[c]),Object(le.jsx)(le.Fragment,{children:Object(le.jsx)(Fo.a,{open:v,onCancel:function(){g(!1),t==null||t()},footer:null,centered:!0,closable:!1,children:Object(le.jsxs)(qi.a,{gutter:16,style:{marginTop:"0px"},children:[Object(le.jsx)(Fi.a,{span:12,children:Object(le.jsx)(vt.a,{hoverable:!0,style:{height:220},onClick:function(){o("fast"),g(!1)},cover:Object(le.jsx)(xF,{width:240,style:{paddingTop:"45px",height:120,fontSize:"48px",color:"#1890ff"}}),children:Object(le.jsx)(TF,{title:"\u5FEB\u901F\u521B\u5EFA",description:"\u81EA\u52A8\u8FDB\u884C\u6570\u636E\u6E90\u53EF\u89C6\u5316\u521B\u5EFA"})})}),Object(le.jsx)(Fi.a,{span:12,children:Object(le.jsx)(vt.a,{onClick:function(){o("normal"),g(!1)},hoverable:!0,style:{height:220},cover:Object(le.jsx)(wF,{style:{paddingTop:"45px",height:120,fontSize:"48px",color:"#1890ff"}}),children:Object(le.jsx)(TF,{title:"SQL\u811A\u672C",description:"\u81EA\u5B9A\u4E49SQL\u811A\u672C\u521B\u5EFA\u6570\u636E\u6E90"})})})]})})})},VT=AF,B$=l("hJue"),hR=l.n(B$),gR=l("y2tf"),f1=l.n(gR),nse=l("2wW7"),V$=l.n(nse),mR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},kF=mR,$O=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:kF}))};$O.displayName="WarningOutlined";var z$=fe.forwardRef($O),jF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},Dy=jF,MF=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:Dy}))};MF.displayName="CloudServerOutlined";var PF=fe.forwardRef(MF),_R=l("G3dp"),H$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},RF=H$,DF=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:RF}))};DF.displayName="SwapOutlined";var G$=fe.forwardRef(DF),$$={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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},W$=$$,IF=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:W$}))};IF.displayName="PlayCircleOutlined";var K$=fe.forwardRef(IF),Y$={icon:function(i,c){return{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",fill:i}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z",fill:c}},{tag:"path",attrs:{d:"M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z",fill:i}}]}},name:"play-circle",theme:"twotone"},X$=Y$,yR=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:X$}))};yR.displayName="PlayCircleTwoTone";var J$=fe.forwardRef(yR),NF=l("/eD2"),zT=l("Tiei"),LF=l("VEX6"),bR=l("G7d7"),rse=l("wiAF"),ase=l("TrNS"),FF=function(i){var c,o=i.domainManger,t=i.dataSourceItem,r=i.onSubmitSuccess,d=i.domainId,v=i.sql,g=v===void 0?"":v,b=i.onUpdateSql,P=i.onJdbcSourceChange,I=o.dataBaseConfig,V=Object(fe.useState)([]),K=Object(we.a)(V,2),ae=K[0],ue=K[1],ve=Object(fe.useState)(!1),Oe=Object(we.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=Object(fe.useState)([]),Ze=Object(we.a)(Ye,2),et=Ze[0],yt=Ze[1],jt=Object(fe.useState)({current:1,pageSize:20,total:0}),Ft=Object(we.a)(jt,2),Ht=Ft[0],Gt=Ft[1],Jt=Object(fe.useState)([]),mn=Object(we.a)(Jt,2),vn=mn[0],Yt=mn[1],En=Object(fe.useState)(!1),or=Object(we.a)(En,2),$r=or[0],vr=or[1],Er=Object(fe.useState)({scrollToFirstRowOnChange:!0,x:"100%",y:200}),Hr=Object(we.a)(Er,2),Aa=Hr[0],Fr=Hr[1],ca=Object(fe.useState)(),fa=Object(we.a)(ca,2),ai=fa[0],Wi=fa[1],Co=Object(fe.useState)(""),zi=Object(we.a)(Co,2),us=zi[0],Us=zi[1],po=Object(fe.useState)(!1),dc=Object(we.a)(po,2),ns=dc[0],fc=dc[1],Kc=Object(fe.useState)("middle"),gl=Object(we.a)(Kc,2),du=gl[0],yu=gl[1],Su=Object(fe.useState)(!1),Ql=Object(we.a)(Su,2),Bl=Ql[0],Qo=Ql[1],hc=Object(fe.useState)(!1),Yl=Object(we.a)(hc,2),Qc=Yl[0],ed=Yl[1],zu=Object(fe.useRef)(),Xc=Object(fe.useState)(0),jp=Object(we.a)(Xc,2),cv=jp[0],fp=jp[1],lm=0,g_=Object(fe.useState)(""),Lf=Object(we.a)(g_,2),Ig=Lf[0],Bf=Lf[1],m_=Object(fe.useState)(!1),Ng=Object(we.a)(m_,2),Vb=Ng[0],qh=Ng[1],__=Object(fe.useState)(!1),y_=Object(we.a)(__,2),GE=y_[0],Mm=y_[1],MO=Object(fe.useState)([]),_y=Object(we.a)(MO,2),Hw=_y[0],$E=_y[1];Object(fe.useEffect)(function(){Yt([{label:I==null?void 0:I.name,key:I==null?void 0:I.id}]),P==null||P((I==null?void 0:I.id)&&Number(I==null?void 0:I.id))},[I]);function PO(yp,rf){var zp=document.createElement("div"),vv=document.createElement("span");return vv.classList.add("resultCalcItem_".concat(yp)),vv.innerText=rf,zp.appendChild(vv),zp}function Cu(yp){var rf={},zp=document.createElement("div");return zp.id="resultCalcWrap",zp.style.position="fixed",zp.style.left="-99999px",zp.style.top="-99999px",zp.style.width="19999px",zp.style.fontSize="12px",yp.forEach(function(vv,Gb){Gb===0?Object.keys(vv).forEach(function(yy,Pm){zp.appendChild(PO("".concat(Pm),yy)),zp.appendChild(PO("".concat(Pm),"".concat(vv[yy])))}):Object.keys(vv).forEach(function(yy,Pm){zp.appendChild(PO("".concat(Pm),"".concat(vv[yy])))})}),document.body.appendChild(zp),Object.keys(yp[0]).forEach(function(vv,Gb){var yy=Array.from(zp.querySelectorAll(".resultCalcItem_".concat(Gb))).map(function(Pm){return Pm.offsetWidth});rf[vv]=Math.max.apply(Math,Object(Bs.a)(yy))}),document.body.removeChild(zp),rf}var Au=function(rf,zp){if(rf.length){var vv=Cu(rf),Gb=zp.map(function(yy){var Pm=yy.nameEn;return{key:Pm,title:Pm,dataIndex:Pm,width:"".concat(vv[Pm]+22,"px")}});yt(Gb)}},Ef=function(rf){ue(rf.resultList.map(function(zp,vv){return Object(Xe.a)(Object(Xe.a)({},zp),{},{index:vv})})),Gt({current:1,pageSize:20,total:rf.resultList.length}),$E(rf.columns),Au(rf.resultList,rf.columns)},Hf=function(rf){Gt(Object(Xe.a)(Object(Xe.a)({},Ht),rf))},xv=function(rf){b&&Object(Gh.isFunction)(b)&&b(rf)},Nh=function(){var rf=V$.a.format(g);b&&Object(Gh.isFunction)(b)&&b(rf),g=rf},Xd=function(){var yp=Object(Le.a)(Object(Z.a)().mark(function rf(zp){var vv,Gb,yy,Pm;return Object(Z.a)().wrap(function(rF){for(;;)switch(rF.prev=rF.next){case 0:return Ie(!0),rF.next=3,Object(If.o)({sql:zp,domainId:d});case 3:vv=rF.sent,Gb=vv.code,yy=vv.data,Pm=vv.msg,Ie(!1),Gb===200?(Ef(yy),Wi(!0)):(Wi(!1),Us(Pm));case 9:case"end":return rF.stop()}},rf)}));return function(zp){return yp.apply(this,arguments)}}(),Lh=function(rf){rf?(qh(!0),Bf(rf)):qh(!1)},b_=function(){if(!g)return Ee.default.error("SQL\u67E5\u8BE2\u8BED\u53E5\u4E0D\u53EF\u4EE5\u4E3A\u7A7A\uFF01");if(ns)return Ee.default.warning("\u8BF7\u95F4\u96945s\u518D\u91CD\u65B0\u6267\u884C\uFF01");var rf=5e3;return fc(!0),setTimeout(function(){fc(!1)},rf),Xd(Vb?Ig:g)},O_=function(){vr(!0)},zb=function(){var yp=Object(Le.a)(Object(Z.a)().mark(function rf(){return Object(Z.a)().wrap(function(vv){for(;;)switch(vv.prev=vv.next){case 0:O_();case 1:case"end":return vv.stop()}},rf)}));return function(){return yp.apply(this,arguments)}}(),Hb=function(){var rf=zu==null?void 0:zu.current;rf&&Fr({scrollToFirstRowOnChange:!0,x:"100%",y:rf.clientHeight-120})},jP=function(){var rf=window.innerHeight,zp=96;Fr({scrollToFirstRowOnChange:!0,x:"100%",y:rf-lm-zp-30})},Gw=function(){Qo(!0)},WE=function(){Qo(!1)},KE=function(){ed(!0)},tse=function(){ed(!1)},Bhe=function(){Mm(!GE)},Vhe=function(){return ai===!1?Object(le.jsxs)(le.Fragment,{children:[Object(le.jsxs)("div",{className:Yf.a.taskFailed,children:[Object(le.jsx)(z$,{className:Yf.a.resultFailIcon}),"\u4EFB\u52A1\u6267\u884C\u5931\u8D25"]}),Object(le.jsx)("div",{className:Yf.a.sqlResultLog,dangerouslySetInnerHTML:{__html:us.replace(/\r\n/g,"<br/>").replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;")}})]}):ai?Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)("div",{className:Yf.a.detail}),Object(le.jsx)(at.a,{loading:ke,dataSource:ae,columns:et,onChange:Hf,pagination:Ht,scroll:Aa,className:Yf.a.resultTable,rowClassName:"resultTableRow",rowKey:"index"})]}):Object(le.jsx)("div",{className:Yf.a.sqlResultContent,children:"\u8BF7\u70B9\u51FB\u5DE6\u4FA7\u4EFB\u52A1\u5217\u8868\u67E5\u770B\u6267\u884C\u8BE6\u60C5"})};Object(fe.useEffect)(function(){Qc?jP():Hb()},[ae,Qc]),Object(fe.useEffect)(function(){var yp=window.innerHeight,rf="small";yp>1100?rf="large":yp>850&&(rf="middle"),yu(rf)},[]);var zhe=localStorage.getItem("exploreEditorSize");return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)("div",{className:Yf.a.sqlOprBar,children:Object(le.jsxs)("div",{className:Yf.a.sqlOprBarLeftBox,children:[Object(le.jsx)(Ni.a,{title:"\u6570\u636E\u7C7B\u578B",children:Object(le.jsx)(hs.a,{menu:{items:vn,onClick:function(rf){var zp=rf.key,vv=vn.filter(function(Gb){return Gb.key===Number(zp)})[0];vv&&(P==null||P(Number(zp)))}},placement:"bottom",children:Object(le.jsx)(it.a,{style:{marginRight:"15px",minWidth:"140px"},children:Object(le.jsxs)(lt.b,{children:[Object(le.jsx)(PF,{className:Yf.a.sqlOprIcon,style:{marginRight:0}}),Object(le.jsx)("span",{children:(c=vn[0])===null||c===void 0?void 0:c.label})]})})})}),Object(le.jsx)(Ni.a,{title:"\u5168\u5C4F",children:Object(le.jsx)(VO,{className:Yf.a.sqlOprIcon,onClick:Gw})}),Object(le.jsx)(Ni.a,{title:"\u683C\u5F0F\u5316SQL\u8BED\u53E5",children:Object(le.jsx)(_R.a,{className:Yf.a.sqlOprIcon,onClick:Nh})}),Object(le.jsx)(Ni.a,{title:"\u6539\u53D8\u4E3B\u9898",children:Object(le.jsx)(G$,{className:Yf.a.sqlOprIcon,onClick:Bhe})}),Object(le.jsx)(Ni.a,{title:"\u6267\u884C\u811A\u672C",children:Object(le.jsx)(it.a,{style:{lineHeight:"24px",top:"3px",position:"relative"},type:"primary",shape:"round",icon:Vb?"":ns?Object(le.jsx)(K$,{}):Object(le.jsx)(J$,{}),size:"small",className:ns?"".concat(Yf.a.disableIcon," ").concat(Yf.a.sqlOprIcon):Yf.a.sqlOprBtn,onClick:b_,children:Vb?"\u90E8\u5206\u8FD0\u884C":"\u8FD0\u884C"})})]})}),Object(le.jsxs)(hR.a,{split:"horizontal",onChange:function(rf){fp(rf),localStorage.setItem("exploreEditorSize",rf[0])},children:[Object(le.jsx)(f1.a,{initialSize:zhe||"500px",children:Object(le.jsx)("div",{className:Yf.a.sqlMain,children:Object(le.jsx)("div",{className:Yf.a.sqlEditorWrapper,children:Object(le.jsx)(NF.a,{isFullScreen:Bl,top:"".concat(lm,"px"),triggerBackToNormal:WE,children:Object(le.jsx)(zT.a,{value:g,isRightTheme:GE,sizeChanged:cv,onSqlChange:xv,onSelect:Lh})})})})}),Object(le.jsx)("div",{className:"".concat(Yf.a.sqlBottmWrap," ").concat(du),children:Object(le.jsxs)("div",{className:Yf.a.sqlResultWrap,children:[Object(le.jsxs)("div",{className:Yf.a.sqlToolBar,children:[Object(le.jsx)(it.a,{className:Yf.a.sqlToolBtn,type:"primary",onClick:zb,disabled:!ai,children:"\u751F\u6210\u6570\u636E\u6E90"}),Object(le.jsx)(it.a,{className:Yf.a.sqlToolBtn,type:"primary",onClick:KE,disabled:!ai,children:"\u5168\u5C4F\u67E5\u770B"})]}),Object(le.jsx)("div",{className:Yf.a.sqlResultPane,ref:zu,children:Object(le.jsx)(NF.a,{isFullScreen:Qc,top:"".concat(lm,"px"),triggerBackToNormal:tse,children:Vhe()})})]})})]}),$r&&Object(le.jsx)(T0,{sql:g,domainId:d,dataSourceItem:t,scriptColumns:Hw,onCancel:function(){vr(!1)},onSubmit:function(rf){vr(!1),r==null||r(rf)},createModalVisible:$r})]})},UF=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(FF),BF=oe.a.TabPane,OR="list",Mx=function(i){var c=i.initialValues,o=i.domainId,t=i.onSubmitSuccess,r=[{key:"\u6570\u636E\u6E90\u67E5\u8BE2",title:(c==null?void 0:c.name)||"\u6570\u636E\u6E90\u67E5\u8BE2",type:"add",isSave:!0}],d=Object(fe.useState)("\u6570\u636E\u6E90\u67E5\u8BE2"),v=Object(we.a)(d,2),g=v[0],b=v[1],P=Object(fe.useState)(r),I=Object(we.a)(P,2),V=I[0],K=I[1],ae=Object(fe.useRef)(),ue=Object(fe.useRef)(r),ve=Object(fe.useState)(c||{}),Oe=Object(we.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=function(jt){K(jt),ue.current=jt},Ze=function(jt,Ft){var Ht=ue.current.slice(),Gt=Ht.findIndex(function(mn){return mn.key===Ft}),Jt=Ht[Gt];Ht.splice(Gt,1,Object(Xe.a)(Object(Xe.a)({},Jt),{},{sql:jt,isSave:!1})),Ye(Ht)};Object(fe.useEffect)(function(){if(c){var yt;Ze((c==null||(yt=c.datasourceDetail)===null||yt===void 0?void 0:yt.sqlQuery)||"","\u6570\u636E\u6E90\u67E5\u8BE2")}},[c]);var et=function(jt){var Ft;if(b(jt),ae==null||(Ft=ae.current)===null||Ft===void 0||Ft.upDateActiveItem(jt),jt===OR){var Ht;ae==null||(Ht=ae.current)===null||Ht===void 0||Ht.fetchSqlList()}};return Object(le.jsx)(le.Fragment,{children:Object(le.jsx)("div",{className:Yf.a.outside,children:Object(le.jsx)(oe.a,{type:"editable-card",hideAdd:!0,activeKey:g,onChange:et,className:Yf.a.middleArea,children:V.map(function(yt){return Object(le.jsx)(BF,{tab:Object(le.jsx)("div",{className:Yf.a.paneName,children:yt.title}),closable:!1,children:Object(le.jsx)(UF,{onSubmitSuccess:t,dataSourceItem:ke,oprType:yt.type,domainId:o,onUpdateSql:function(Ft){Ze(Ft,yt.key)},onJdbcSourceChange:function(Ft){Ie(Object(Xe.a)(Object(Xe.a)({},ke),{},{databaseId:Ft}))},sql:yt.sql})},yt.key)})})})})},WO=Mx,Z$="300px",VF=function(i){var c=i.initialValues,o=i.domainId,t=i.onSubmitSuccess,r=Object(fe.useState)(!1),d=Object(we.a)(r,2),v=d[0],g=d[1];Object(fe.useEffect)(function(){var P=localStorage.getItem("exploreRightCollapsed");g(P==="true")},[]);var b=function(){var I=!v;g(I),localStorage.setItem("exploreRightCollapsed",String(I));var V=I?"0px":localStorage.getItem("exploreRightSize"),K=parseInt(V||"0");!I&&K<=10&&localStorage.setItem("exploreRightSize",Z$)};return Object(le.jsx)("div",{className:"".concat(Yf.a.pageContainer," ").concat(window.location.hash.includes("external")?Yf.a.externalPageContainer:""),children:Object(le.jsx)("div",{className:Yf.a.main,children:Object(le.jsxs)(hR.a,{split:"vertical",onChange:function(I){localStorage.setItem("exploreRightSize",I[1])},children:[Object(le.jsxs)("div",{className:Yf.a.rightListSide,children:[!1,Object(le.jsx)(WO,{initialValues:c,domainId:o,onSubmitSuccess:t})]}),Object(le.jsx)(f1.a,{initialSize:0})]})})})},zF=VF,HF=vt.a.Meta,GF=function(i){var c=i.dispatch,o=i.domainManger,t=o.selectDomainId,r=o.dataBaseResultColsMap,d=o.dataBaseConfig,v=Object(fe.useState)(!1),g=Object(we.a)(v,2),b=g[0],P=g[1],I=Object(fe.useState)(),V=Object(we.a)(I,2),K=V[0],ae=V[1],ue=Object(fe.useState)(!1),ve=Object(we.a)(ue,2),Oe=ve[0],ke=ve[1],Ie=Object(fe.useState)(!1),Ye=Object(we.a)(Ie,2),Ze=Ye[0],et=Ye[1],yt=Object(fe.useState)(""),jt=Object(we.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=Object(fe.useState)(""),Jt=Object(we.a)(Gt,2),mn=Jt[0],vn=Jt[1],Yt=Object(fe.useRef)(),En=[{dataIndex:"id",title:"ID"},{dataIndex:"name",title:"\u6570\u636E\u6E90\u540D\u79F0"},{dataIndex:"bizName",title:"\u82F1\u6587\u540D\u79F0"},{dataIndex:"createdBy",title:"\u521B\u5EFA\u4EBA"},{dataIndex:"description",title:"\u63CF\u8FF0",search:!1},{dataIndex:"updatedAt",title:"\u66F4\u65B0\u65F6\u95F4",search:!1,render:function(Er){return Er&&Er!=="-"?Zt()(Er).format("YYYY-MM-DD HH:mm:ss"):"-"}},{title:"\u64CD\u4F5C",dataIndex:"x",valueType:"option",render:function(Er,Hr){return Object(le.jsxs)(lt.b,{children:[Object(le.jsx)("a",{onClick:function(){if(ae(Hr),Hr.datasourceDetail.queryType==="table_query"){et(!0);return}P(!0)},children:"\u7F16\u8F91"},"classEditBtn"),Object(le.jsx)(tt.a,{title:"\u786E\u8BA4\u5220\u9664\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:Object(Le.a)(Object(Z.a)().mark(function Aa(){var Fr,ca,fa,ai;return Object(Z.a)().wrap(function(Co){for(;;)switch(Co.prev=Co.next){case 0:return Co.next=2,Object(If.i)(Hr.id);case 2:Fr=Co.sent,ca=Fr.code,fa=Fr.msg,ca===200?(ae(void 0),(ai=Yt.current)===null||ai===void 0||ai.reload()):Ee.default.error(fa);case 6:case"end":return Co.stop()}},Aa)})),children:Object(le.jsx)("a",{onClick:function(){ae(Hr)},children:"\u5220\u9664"},"classEditBtn")})]})}}],or=function(){var vr=Object(Le.a)(Object(Z.a)().mark(function Er(Hr){var Aa,Fr,ca,fa,ai;return Object(Z.a)().wrap(function(Co){for(;;)switch(Co.prev=Co.next){case 0:return c({type:"domainManger/setPagination",payload:Object(Xe.a)({},Hr)}),Co.next=3,Object(If.r)(Object(Xe.a)({},Hr));case 3:return Aa=Co.sent,Fr=Aa.code,ca=Aa.data,fa=Aa.msg,ai={},Fr===200?ai={data:ca||[],success:!0}:(Ee.default.error(fa),ai={data:[],total:0,success:!1}),Co.abrupt("return",ai);case 10:case"end":return Co.stop()}},Er)}));return function(Hr){return vr.apply(this,arguments)}}(),$r=function(Er){var Hr="select * from ".concat(Er);Ht(Hr),vn(Er),c({type:"domainManger/queryDataBaseExcuteSql",payload:{sql:Hr,domainId:t,tableName:Er}})};return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(M_,{actionRef:Yt,headerTitle:"\u6570\u636E\u6E90\u5217\u8868",rowKey:"id",columns:En,params:{domainId:t},request:or,pagination:!1,search:!1,size:"small",options:{reload:!1,density:!1,fullScreen:!1},toolBarRender:function(){return[Object(le.jsx)(it.a,{type:"primary",onClick:function(){ae(void 0),ke(!0)},children:"\u521B\u5EFA\u6570\u636E\u6E90"},"create")]}}),Object(le.jsx)(VT,{open:Oe,onTypeChange:function(Er){Er==="fast"?et(!0):P(!0),ke(!1)}}),Ze&&Object(le.jsx)(T0,{sql:Ft,basicInfoFormMode:"fast",domainId:Number(t),dataSourceItem:K,onCancel:function(){et(!1)},onDataBaseTableChange:function(Er){$r(Er)},onSubmit:function(){var Er;et(!1),ae(void 0),(Er=Yt.current)===null||Er===void 0||Er.reload()},createModalVisible:Ze}),b&&Object(le.jsx)(He.a,{width:"100%",destroyOnClose:!0,title:"\u6570\u636E\u6E90\u7F16\u8F91",open:!0,onClose:function(){P(!1),ae(void 0)},footer:null,children:Object(le.jsx)(zF,{initialValues:K,domainId:Number(t),onSubmitSuccess:function(){var Er;P(!1),ae(void 0),(Er=Yt.current)===null||Er===void 0||Er.reload()}})})]})},$F=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(GF),KO=[{label:"\u4F4E",value:0},{label:"\u4E2D",value:1},{label:"\u9AD8",value:2}],CR=KO.reduce(function(u,i){var c=i.label,o=i.value;return u[o]=c,u},{}),HT=l("mr32"),WF=l("L+An"),yv=l.n(WF),Q$=function(i){var c=i.value,o=i.createBtnString,t=o===void 0?"\u65B0\u589E":o,r=i.onChange,d=Object(fe.useState)([]),v=Object(we.a)(d,2),g=v[0],b=v[1],P=Object(fe.useState)(!1),I=Object(we.a)(P,2),V=I[0],K=I[1],ae=Object(fe.useState)(""),ue=Object(we.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(fe.useState)(-1),Ie=Object(we.a)(ke,2),Ye=Ie[0],Ze=Ie[1],et=Object(fe.useState)(""),yt=Object(we.a)(et,2),jt=yt[0],Ft=yt[1],Ht=Object(fe.useRef)(null),Gt=Object(fe.useRef)(null);Object(fe.useEffect)(function(){Array.isArray(c)&&b(Object(Bs.a)(c))},[c]);var Jt=function(Er){console.log(Er,"tagList"),r==null||r(Er)};Object(fe.useEffect)(function(){if(V){var vr;(vr=Ht.current)===null||vr===void 0||vr.focus()}},[V]),Object(fe.useEffect)(function(){var vr;(vr=Gt.current)===null||vr===void 0||vr.focus()},[ve]);var mn=function(Er){var Hr=g.filter(function(Aa){return Aa!==Er});Jt==null||Jt(Hr),b(Hr)},vn=function(){K(!0)},Yt=function(Er){Oe(Er.target.value)},En=function(){if(ve&&g.indexOf(ve)===-1){var Er=[].concat(Object(Bs.a)(g),[ve]);Jt==null||Jt(Er),b(Er)}K(!1),Oe("")},or=function(Er){Ft(Er.target.value)},$r=function(){var Er=Object(Bs.a)(g);Er[Ye]=jt,b(Er),Jt==null||Jt(Er),Ze(-1),Oe("")};return Object(le.jsxs)("div",{className:yv.a.infoTagList,children:[g.map(function(vr,Er){if(Ye===Er)return Object(le.jsx)(_s.a,{ref:Gt,size:"small",className:yv.a.tagInput,value:jt,onChange:or,onBlur:$r,onPressEnter:$r},vr);var Hr=vr.length>20,Aa=Object(le.jsx)(HT.a,{className:yv.a.editTag,closable:!0,onClose:function(){return mn(vr)},children:Object(le.jsx)("span",{onDoubleClick:function(ca){Ze(Er),Ft(vr),ca.preventDefault()},children:Hr?"".concat(vr.slice(0,20),"..."):vr})},vr);return Hr?Object(le.jsx)(Ni.a,{title:vr,children:Aa},vr):Aa}),V&&Object(le.jsx)(_s.a,{ref:Ht,type:"text",size:"small",className:yv.a.tagInput,value:ve,onChange:Yt,onBlur:En,onPressEnter:En}),!V&&Object(le.jsxs)(HT.a,{className:yv.a.siteTagPlus,onClick:vn,children:[Object(le.jsx)(Ya.a,{})," ",t]})]})},th=Q$,hm=Ot.a.Item,GT=jl.a.Option,KF=_s.a.TextArea,q$=function(i){var c=i.onCancel,o=i.bindModalVisible,t=i.dimensionItem,r=i.dataSourceList,d=i.onSubmit,v=t==null?void 0:t.id,g=Object(fe.useState)({roleCode:"",users:[],effectiveTime:1}),b=Object(we.a)(g,2),P=b[0],I=b[1],V=Ot.a.useForm(),K=Object(we.a)(V,1),ae=K[0],ue=ae.setFieldsValue,ve=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(){var et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,ae.validateFields();case 2:return et=jt.sent,I(Object(Xe.a)({},et)),jt.prev=4,jt.next=7,d(et);case 7:jt.next=12;break;case 9:jt.prev=9,jt.t0=jt.catch(4),Ee.default.error("\u4FDD\u5B58\u5931\u8D25\uFF0C\u63A5\u53E3\u8C03\u7528\u51FA\u9519");case 12:case"end":return jt.stop()}},Ze,null,[[4,9]])}));return function(){return Ye.apply(this,arguments)}}(),Oe=function(){console.log(t,"dimensionItem"),ue(t)};Object(fe.useEffect)(function(){t&&Oe()},[t]);var ke=function(){return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(it.a,{onClick:c,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",onClick:ve,children:"\u5B8C\u6210"})]})},Ie=function(){return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(hm,{hidden:!0,name:"id",label:"ID",children:Object(le.jsx)(_s.a,{placeholder:"id"})}),Object(le.jsx)(hm,{name:"name",label:"\u7EF4\u5EA6\u4E2D\u6587\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u4E2D\u6587\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u540D\u79F0\u4E0D\u53EF\u91CD\u590D"})}),Object(le.jsx)(hm,{name:"bizName",label:"\u7EF4\u5EA6\u82F1\u6587\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u82F1\u6587\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u540D\u79F0\u4E0D\u53EF\u91CD\u590D",disabled:v})}),Object(le.jsx)(hm,{name:"datasourceId",label:"\u6240\u5C5E\u6570\u636E\u6E90",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u6570\u636E\u6E90"}],children:Object(le.jsx)(jl.a,{placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u6E90",disabled:v,children:r.map(function(Ze){return Object(le.jsx)(GT,{value:Ze.id,children:Ze.name},Ze.id)})})}),Object(le.jsx)(hm,{name:"alias",label:"\u522B\u540D",children:Object(le.jsx)(_s.a,{placeholder:"\u591A\u4E2A\u522B\u540D\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"})}),Object(le.jsx)(hm,{name:"semanticType",label:"\u7C7B\u578B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EF4\u5EA6\u7C7B\u578B"}],children:Object(le.jsx)(jl.a,{placeholder:"\u8BF7\u9009\u62E9\u7EF4\u5EA6\u7C7B\u578B",children:["CATEGORY","ID","DATE"].map(function(Ze){return Object(le.jsx)(GT,{value:Ze,children:Ze},Ze)})})}),Object(le.jsx)(hm,{name:"sensitiveLevel",label:"\u654F\u611F\u5EA6",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u654F\u611F\u5EA6"}],children:Object(le.jsx)(jl.a,{placeholder:"\u8BF7\u9009\u62E9\u654F\u611F\u5EA6",children:KO.map(function(Ze){return Object(le.jsx)(GT,{value:Ze.value,children:Ze.label},Ze.value)})})}),Object(le.jsx)(hm,{name:"defaultValues",label:"\u9ED8\u8BA4\u503C",children:Object(le.jsx)(th,{})}),Object(le.jsx)(hm,{name:"description",label:"\u7EF4\u5EA6\u63CF\u8FF0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u63CF\u8FF0"}],children:Object(le.jsx)(KF,{placeholder:"\u8BF7\u8F93\u5165\u7EF4\u5EA6\u63CF\u8FF0"})}),Object(le.jsx)(hm,{name:"expr",label:"\u8868\u8FBE\u5F0F",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F"}],children:Object(le.jsx)(zT.a,{height:"150px"})})]})};return Object(le.jsx)(Fo.a,{width:800,destroyOnClose:!0,title:"\u7EF4\u5EA6\u4FE1\u606F",style:{top:48},maskClosable:!1,open:o,footer:ke(),onCancel:c,children:Object(le.jsx)(Ot.a,Object(Xe.a)(Object(Xe.a)({},GO.a),{},{form:ae,initialValues:Object(Xe.a)({},P),children:Ie()}))})},eW=q$,YF=function(i){var c=i.domainManger,o=i.dispatch,t=c.selectDomainId,r=Object(fe.useState)(!1),d=Object(we.a)(r,2),v=d[0],g=d[1],b=Object(fe.useState)(),P=Object(we.a)(b,2),I=P[0],V=P[1],K=Object(fe.useState)([]),ae=Object(we.a)(K,2),ue=ae[0],ve=ae[1],Oe=Object(fe.useState)({current:1,pageSize:20,total:0}),ke=Object(we.a)(Oe,2),Ie=ke[0],Ye=ke[1],Ze=Object(fe.useRef)(),et=function(){var Ht=Object(Le.a)(Object(Z.a)().mark(function Gt(Jt){var mn,vn,Yt,En,or,$r,vr,Er,Hr;return Object(Z.a)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:return Fr.next=2,Object(If.u)(Object(Xe.a)(Object(Xe.a)(Object(Xe.a)({},Jt),Ie),{},{domainId:t}));case 2:return mn=Fr.sent,vn=mn.code,Yt=mn.data,En=mn.msg,or=Yt.list,$r=Yt.pageSize,vr=Yt.current,Er=Yt.total,Hr={},vn===200?(Ye({pageSize:$r,current:vr,total:Er}),Hr={data:or||[],success:!0}):(Ee.default.error(En),Hr={data:[],total:0,success:!1}),Fr.abrupt("return",Hr);case 10:case"end":return Fr.stop()}},Gt)}));return function(Jt){return Ht.apply(this,arguments)}}(),yt=function(){var Ht=Object(Le.a)(Object(Z.a)().mark(function Gt(){var Jt,mn,vn,Yt;return Object(Z.a)().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:return or.next=2,Object(If.r)({domainId:t});case 2:Jt=or.sent,mn=Jt.code,vn=Jt.data,Yt=Jt.msg,mn===200?ve(vn):Ee.default.error(Yt);case 7:case"end":return or.stop()}},Gt)}));return function(){return Ht.apply(this,arguments)}}();Object(fe.useEffect)(function(){yt()},[t]);var jt=[{dataIndex:"id",title:"ID",order:100},{dataIndex:"name",title:"\u7EF4\u5EA6\u540D\u79F0"},{dataIndex:"alias",title:"\u522B\u540D",search:!1},{dataIndex:"bizName",title:"\u5B57\u6BB5\u540D\u79F0",order:9},{dataIndex:"sensitiveLevel",title:"\u654F\u611F\u5EA6",valueEnum:CR},{dataIndex:"datasourceName",title:"\u6570\u636E\u6E90\u540D\u79F0",search:!1},{dataIndex:"createdBy",title:"\u521B\u5EFA\u4EBA",search:!1},{dataIndex:"description",title:"\u63CF\u8FF0",search:!1},{dataIndex:"updatedAt",title:"\u66F4\u65B0\u65F6\u95F4",search:!1,render:function(Gt){return Gt&&Gt!=="-"?Zt()(Gt).format("YYYY-MM-DD HH:mm:ss"):"-"}},{title:"\u64CD\u4F5C",dataIndex:"x",valueType:"option",render:function(Gt,Jt){return Object(le.jsxs)(lt.b,{children:[Object(le.jsx)("a",{onClick:function(){V(Jt),g(!0)},children:"\u7F16\u8F91"},"classEditBtn"),Object(le.jsx)(tt.a,{title:"\u786E\u8BA4\u5220\u9664\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:Object(Le.a)(Object(Z.a)().mark(function mn(){var vn,Yt,En,or;return Object(Z.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:return vr.next=2,Object(If.k)(Jt.id);case 2:vn=vr.sent,Yt=vn.code,En=vn.msg,Yt===200?(V(void 0),(or=Ze.current)===null||or===void 0||or.reload()):Ee.default.error(En);case 6:case"end":return vr.stop()}},mn)})),children:Object(le.jsx)("a",{onClick:function(){V(Jt)},children:"\u5220\u9664"},"classEditBtn")})]})}}],Ft=function(){var Ht=Object(Le.a)(Object(Z.a)().mark(function Gt(Jt){var mn,vn,Yt,En,or,$r,vr,Er=arguments;return Object(Z.a)().wrap(function(Aa){for(;;)switch(Aa.prev=Aa.next){case 0:return mn=Er.length>1&&Er[1]!==void 0?Er[1]:!0,vn=Object(Xe.a)({domainId:t,type:"categorical"},Jt),Yt=If.d,vn.id&&(Yt=If.H),Aa.next=6,Yt(vn);case 6:if(En=Aa.sent,or=En.code,$r=En.msg,or!==200){Aa.next=14;break}return g(!1),mn&&(Ee.default.success("\u7F16\u8F91\u7EF4\u5EA6\u6210\u529F"),Ze==null||(vr=Ze.current)===null||vr===void 0||vr.reload()),o({type:"domainManger/queryDimensionList",payload:{domainId:t}}),Aa.abrupt("return");case 14:Ee.default.error($r);case 15:case"end":return Aa.stop()}},Gt)}));return function(Jt){return Ht.apply(this,arguments)}}();return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(M_,{className:"".concat(yv.a.classTable," ").concat(yv.a.classTableSelectColumnAlignLeft),actionRef:Ze,headerTitle:"\u7EF4\u5EA6\u5217\u8868",rowKey:"id",columns:jt,request:et,pagination:Ie,search:{span:4,defaultCollapsed:!1,collapseRender:function(){return Object(le.jsx)(le.Fragment,{})}},onChange:function(Gt){var Jt=Gt.current,mn=Gt.pageSize,vn=Gt.total;Ye({current:Jt,pageSize:mn,total:vn})},tableAlertRender:function(){return!1},size:"small",options:{reload:!1,density:!1,fullScreen:!1},toolBarRender:function(){return[Object(le.jsx)(it.a,{type:"primary",onClick:function(){V(void 0),g(!0)},children:"\u521B\u5EFA\u7EF4\u5EA6"},"create")]}}),v&&Object(le.jsx)(eW,{bindModalVisible:v,dimensionItem:I,dataSourceList:ue,onSubmit:Ft,onCancel:function(){g(!1)}})]})},tW=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(YF),ER=function(i){var c=i.measuresList,o=i.selectedMeasuresList,t=o===void 0?[]:o,r=i.onSubmit,d=i.onCancel,v=i.createModalVisible,g=i.projectManger,b=g||{},P=b.searchParams,I=P===void 0?{}:P,V=Object(fe.useRef)(),K=Object(fe.useState)(function(){return t.map(function(Ht){return Ht.bizName})}),ae=Object(we.a)(K,2),ue=ae[0],ve=ae[1],Oe=Object(fe.useState)([]),ke=Object(we.a)(Oe,2),Ie=ke[0],Ye=ke[1],Ze=function(){var Ht=Object(Le.a)(Object(Z.a)().mark(function Gt(){return Object(Z.a)().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:r==null||r(Ie);case 1:case"end":return mn.stop()}},Gt)}));return function(){return Ht.apply(this,arguments)}}(),et=function(Gt){return c.find(function(Jt){return Jt.bizName===Gt})};Object(fe.useEffect)(function(){var Ht=ue.map(function(Gt){var Jt=et(Gt);return Jt});Ye(Object(Bs.a)(Ht))},[ue]),Object(fe.useEffect)(function(){},[]);var yt=[{dataIndex:"bizName",title:"\u5EA6\u91CF\u540D\u79F0"},{dataIndex:"alias",title:"\u522B\u540D"},{dataIndex:"agg",title:"\u7B97\u5B50\u7C7B\u578B"},{dataIndex:"datasourceName",title:"\u6240\u5C5E\u6570\u636E\u6E90"}],jt=function(){return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(it.a,{onClick:d,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",onClick:Ze,children:"\u5C06\u9009\u4E2D\u5EA6\u91CF\u6DFB\u52A0\u5230\u6307\u6807"})]})},Ft={selectedRowKeys:ue,onChange:function(Gt){ve(Object(Bs.a)(Gt))}};return Object(le.jsx)(Fo.a,{width:800,destroyOnClose:!0,title:"\u5EA6\u91CF\u6DFB\u52A0",open:v,footer:jt(),onCancel:function(){d()},children:Object(le.jsx)(M_,{actionRef:V,rowKey:"bizName",rowSelection:Ft,columns:yt,params:Object(Xe.a)({},I),pagination:!1,dataSource:c,size:"small",search:!1,options:!1})})},nW=Object(Me.c)(function(u){var i=u.projectManger;return{projectManger:i}})(ER),rW=_s.a.TextArea,XF=function(i){var c=i.typeParams,o=i.measuresList,t=i.onFieldChange,r=i.onSqlChange,d=Object(fe.useRef)(),v=Object(fe.useState)(!1),g=Object(we.a)(v,2),b=g[0],P=g[1],I=Object(fe.useState)(c||{expr:"",measures:[]}),V=Object(we.a)(I,2),K=V[0],ae=V[1];Object(fe.useEffect)(function(){ae(Object(Xe.a)({},c))},[c]);var ue=Object(fe.useState)((c==null?void 0:c.expr)||""),ve=Object(we.a)(ue,2),Oe=ve[0],ke=ve[1],Ie=[{dataIndex:"bizName",title:"\u5EA6\u91CF\u540D\u79F0"},{dataIndex:"constraint",title:"\u9650\u5B9A\u6761\u4EF6",tooltip:'\u8BE5\u9650\u5B9A\u6761\u4EF6\u7528\u4E8E\u5728\u8BA1\u7B97\u6307\u6807\u65F6\u9650\u5B9A\u53E3\u5F84\uFF0C\u4F5C\u7528\u4E8E\u5EA6\u91CF\uFF0C\u6240\u7528\u4E8E\u8FC7\u6EE4\u7684\u7EF4\u5EA6\u5FC5\u987B\u5728\u521B\u5EFA\u6570\u636E\u6E90\u7684\u65F6\u5019\u88AB\u6807\u8BB0\u4E3A\u65E5\u671F\u6216\u8005\u7EF4\u5EA6\uFF0C\u4E0D\u9700\u8981\u52A0where\u5173\u952E\u5B57\u3002\u6BD4\u5982\uFF1A\u7EF4\u5EA6A="\u503C1" and \u7EF4\u5EA6B="\u503C2"',render:function(Ze,et){var yt=et.constraint,jt=et.name,Ft=K.measures;return Object(le.jsx)(rW,{placeholder:"\u8BF7\u8F93\u5165\u9650\u5B9A\u6761\u4EF6",value:yt,onChange:function(Gt){var Jt=Gt.target.value,mn=Ft.map(function(vn){return vn.name===jt?Object(Xe.a)(Object(Xe.a)({},vn),{},{constraint:Jt}):vn});t==null||t(mn)}})}},{title:"\u64CD\u4F5C",dataIndex:"x",valueType:"option",render:function(Ze,et){var yt=et.name;return Object(le.jsx)(lt.b,{children:Object(le.jsx)("a",{onClick:function(){var Ft=K.measures,Ht=Ft.filter(function(Gt){return Gt.name!==yt});t==null||t(Ht)},children:"\u5220\u9664"},"deleteBtn")})}}];return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsxs)(lt.b,{direction:"vertical",style:{width:"100%"},children:[Object(le.jsx)(M_,{actionRef:d,headerTitle:"\u5EA6\u91CF\u5217\u8868",tooltip:"\u57FA\u4E8E\u672C\u4E3B\u9898\u57DF\u4E0B\u6240\u6709\u6570\u636E\u6E90\u7684\u5EA6\u91CF\u6765\u521B\u5EFA\u6307\u6807\uFF0C\u4E14\u8BE5\u5217\u8868\u7684\u5EA6\u91CF\u4E3A\u4E86\u52A0\u4EE5\u533A\u5206\uFF0C\u5747\u5DF2\u52A0\u4E0A\u6570\u636E\u6E90\u540D\u79F0\u4F5C\u4E3A\u524D\u7F00\uFF0C\u9009\u4E2D\u5EA6\u91CF\u540E\uFF0C\u53EF\u57FA\u4E8E\u8FD9\u51E0\u4E2A\u5EA6\u91CF\u6765\u5199\u8868\u8FBE\u5F0F\uFF0C\u82E5\u662F\u9009\u4E2D\u7684\u5EA6\u91CF\u6765\u81EA\u4E0D\u540C\u7684\u6570\u636E\u6E90\uFF0C\u7CFB\u7EDF\u5C06\u4F1A\u81EA\u52A8join\u6765\u8BA1\u7B97\u8BE5\u6307\u6807",rowKey:"name",columns:Ie,dataSource:(K==null?void 0:K.measures)||[],pagination:!1,search:!1,size:"small",options:!1,toolBarRender:function(){return[Object(le.jsx)(it.a,{type:"primary",onClick:function(){P(!0)},children:"\u589E\u52A0\u5EA6\u91CF"},"create")]}}),Object(le.jsx)($e.a,{title:"\u5EA6\u91CF\u8868\u8FBE\u5F0F",tooltip:"\u5EA6\u91CF\u8868\u8FBE\u5F0F\u7531\u4E0A\u9762\u9009\u62E9\u7684\u5EA6\u91CF\u7EC4\u6210\uFF0C\u5982\u9009\u62E9\u4E86\u5EA6\u91CFA\u548CB\uFF0C\u5219\u53EF\u5C06\u8868\u8FBE\u5F0F\u5199\u6210A+B",children:Object(le.jsx)(zT.a,{value:Oe,onChange:function(Ze){var et=Ze;ke(et),r==null||r(et)},height:"150px"})})]}),b&&Object(le.jsx)(nW,{measuresList:o,selectedMeasuresList:(K==null?void 0:K.measures)||[],onSubmit:function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:yt=et.map(function(Ht){var Gt=Ht.bizName,Jt=Ht.name,mn=Ht.expr,vn=Ht.datasourceId;return{bizName:Gt,name:Jt,expr:mn,datasourceId:vn}}),t==null||t(yt),P(!1);case 3:case"end":return Ft.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),onCancel:function(){P(!1)},createModalVisible:b})]})},aW=XF,YO=l("NgHe"),xR=pl.a.Step,Fm=Ot.a.Item,JF=_s.a.TextArea,iW=jl.a.Option,Iy=function(i){var c=i.domainId,o=i.onCancel,t=i.createModalVisible,r=i.metricItem,d=i.onSubmit,v=!!(r!=null&&r.id),g=Object(fe.useState)(0),b=Object(we.a)(g,2),P=b[0],I=b[1],V=Object(fe.useRef)({}),K=Ot.a.useForm(),ae=Object(we.a)(K,1),ue=ae[0],ve=function(fa){V.current=fa},Oe=Object(fe.useState)([]),ke=Object(we.a)(Oe,2),Ie=ke[0],Ye=ke[1],Ze=Object(fe.useState)([]),et=Object(we.a)(Ze,2),yt=et[0],jt=et[1],Ft=Object(fe.useState)(""),Ht=Object(we.a)(Ft,2),Gt=Ht[0],Jt=Ht[1],mn=Object(fe.useState)(!1),vn=Object(we.a)(mn,2),Yt=vn[0],En=vn[1],or=function(){return I(P+1)},$r=function(){return I(P-1)},vr=function(){var ca=Object(Le.a)(Object(Z.a)().mark(function fa(){var ai,Wi,Co;return Object(Z.a)().wrap(function(us){for(;;)switch(us.prev=us.next){case 0:return us.next=2,Object(If.z)(c);case 2:if(ai=us.sent,Wi=ai.code,Co=ai.data,Wi!==200){us.next=8;break}return Ye(Co),us.abrupt("return");case 8:Ye([]);case 9:case"end":return us.stop()}},fa)}));return function(){return ca.apply(this,arguments)}}();Object(fe.useEffect)(function(){vr()},[]);var Er=function(){var ca=Object(Le.a)(Object(Z.a)().mark(function fa(){var ai,Wi;return Object(Z.a)().wrap(function(zi){for(;;)switch(zi.prev=zi.next){case 0:return zi.next=2,ue.validateFields();case 2:ai=zi.sent,Wi=Object(Xe.a)(Object(Xe.a)(Object(Xe.a)({},V.current),ai),{},{typeParams:{expr:Gt,measures:yt},dataFormatType:Yt?"percent":""}),ve(Wi),P<1?or():d==null||d(Wi);case 6:case"end":return zi.stop()}},fa)}));return function(){return ca.apply(this,arguments)}}(),Hr=function(){var fa=r,ai=fa.id,Wi=fa.name,Co=fa.bizName,zi=fa.description,us=fa.sensitiveLevel,Us=fa.typeParams,po=fa.dataFormat,dc=fa.dataFormatType,ns=fa.alias,fc=dc==="percent",Kc={id:ai,name:Wi,bizName:Co,sensitiveLevel:us,description:zi,isPercent:fc,alias:ns,dataFormat:po||{decimalPlaces:2,needMultiply100:!1}},gl=Object(Xe.a)(Object(Xe.a)({},V.current),Kc);ve(gl),ue.setFieldsValue(Kc),jt(Us.measures),Jt(Us.expr),En(fc)};Object(fe.useEffect)(function(){v&&Hr()},[r]);var Aa=function(){return P===1?Object(le.jsx)(aW,{typeParams:{measures:yt,expr:Gt},measuresList:Ie,onFieldChange:function(ai){jt(Object(Bs.a)(ai))},onSqlChange:function(ai){Jt(ai)}}):Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(Fm,{hidden:!0,name:"id",label:"ID",children:Object(le.jsx)(_s.a,{placeholder:"id"})}),Object(le.jsx)(Fm,{name:"name",label:"\u6307\u6807\u4E2D\u6587\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6307\u6807\u4E2D\u6587\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u540D\u79F0\u4E0D\u53EF\u91CD\u590D"})}),Object(le.jsx)(Fm,{name:"bizName",label:"\u6307\u6807\u82F1\u6587\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6307\u6807\u82F1\u6587\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u540D\u79F0\u4E0D\u53EF\u91CD\u590D",disabled:v})}),Object(le.jsx)(Fm,{name:"alias",label:"\u522B\u540D",children:Object(le.jsx)(_s.a,{placeholder:"\u591A\u4E2A\u522B\u540D\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"})}),Object(le.jsx)(Fm,{name:"sensitiveLevel",label:"\u654F\u611F\u5EA6",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u654F\u611F\u5EA6"}],children:Object(le.jsx)(jl.a,{placeholder:"\u8BF7\u9009\u62E9\u654F\u611F\u5EA6",children:KO.map(function(fa){return Object(le.jsx)(iW,{value:fa.value,children:fa.label},fa.value)})})}),Object(le.jsx)(Fm,{name:"description",label:"\u6307\u6807\u63CF\u8FF0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6307\u6807\u63CF\u8FF0"}],children:Object(le.jsx)(JF,{placeholder:"\u8BF7\u8F93\u5165\u6307\u6807\u63CF\u8FF0"})}),Object(le.jsx)(Fm,{label:Object(le.jsx)(YO.a,{title:"\u662F\u5426\u5C55\u793A\u4E3A\u767E\u5206\u6BD4",subTitle:"\u5F00\u542F\u540E\uFF0C\u6307\u6807\u6570\u636E\u5C55\u793A\u65F6\u4F1A\u6839\u636E\u914D\u7F6E\u8FDB\u884C\u683C\u5F0F\u5316\uFF0C\u59820.02 -> 2%"}),name:"isPercent",valuePropName:"checked",children:Object(le.jsx)(Cy.a,{})}),Yt&&Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(Fm,{label:Object(le.jsx)(YO.a,{title:"\u5C0F\u6570\u4F4D\u6570",subTitle:"\u5BF9\u5C0F\u6570\u4F4D\u6570\u8FDB\u884C\u8BBE\u7F6E\uFF0C\u5982\u4FDD\u7559\u4E24\u4F4D\uFF0C0.021252 -> 2.12%"}),name:["dataFormat","decimalPlaces"],children:Object(le.jsx)(Kt.a,{placeholder:"\u8BF7\u8F93\u5165\u9700\u8981\u4FDD\u7559\u5C0F\u6570\u4F4D\u6570",style:{width:"300px"}})}),Object(le.jsx)(Fm,{label:Object(le.jsx)(YO.a,{title:"\u539F\u59CB\u503C\u662F\u5426\u4E58\u4EE5100",subTitle:"\u5982 \u539F\u59CB\u503C0.001 ->\u5C55\u793A\u503C0.1% "}),name:["dataFormat","needMultiply100"],valuePropName:"checked",children:Object(le.jsx)(Cy.a,{})})]})]})},Fr=function(){return P===1?Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(it.a,{style:{float:"left"},onClick:$r,children:"\u4E0A\u4E00\u6B65"}),Object(le.jsx)(it.a,{onClick:o,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",onClick:Er,children:"\u5B8C\u6210"})]}):Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(it.a,{onClick:o,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",onClick:Er,children:"\u4E0B\u4E00\u6B65"})]})};return Object(le.jsxs)(Fo.a,{forceRender:!0,width:1300,style:{top:48},bodyStyle:{padding:"32px 40px 48px"},destroyOnClose:!0,title:"".concat(v?"\u7F16\u8F91":"\u65B0\u5EFA","\u6307\u6807"),maskClosable:!1,open:t,footer:Fr(),onCancel:o,children:[Object(le.jsxs)(pl.a,{style:{marginBottom:28},size:"small",current:P,children:[Object(le.jsx)(xR,{title:"\u57FA\u672C\u4FE1\u606F"}),Object(le.jsx)(xR,{title:"\u5EA6\u91CF\u4FE1\u606F"})]}),Object(le.jsx)(Ot.a,Object(Xe.a)(Object(Xe.a)({},GO.a),{},{form:ue,initialValues:Object(Xe.a)({},V.current),onValuesChange:function(fa){var ai=fa.isPercent;ai!==void 0&&En(ai)},className:yv.a.form,children:Aa()}))]})},$T=Iy,WT=function(i){var c=i.domainManger,o=i.dispatch,t=c.selectDomainId,r=Object(fe.useState)(!1),d=Object(we.a)(r,2),v=d[0],g=d[1],b=Object(fe.useState)(),P=Object(we.a)(b,2),I=P[0],V=P[1],K=Object(fe.useState)({current:1,pageSize:20,total:0}),ae=Object(we.a)(K,2),ue=ae[0],ve=ae[1],Oe=Object(fe.useRef)(),ke=function(){var Ze=Object(Le.a)(Object(Z.a)().mark(function et(yt){var jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En;return Object(Z.a)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:return $r.next=2,Object(If.C)(Object(Xe.a)(Object(Xe.a)(Object(Xe.a)({},yt),ue),{},{domainId:t}));case 2:return jt=$r.sent,Ft=jt.code,Ht=jt.data,Gt=jt.msg,Jt=Ht.list,mn=Ht.pageSize,vn=Ht.current,Yt=Ht.total,En={},Ft===200?(ve({pageSize:mn,current:vn,total:Yt}),En={data:Jt||[],success:!0}):(Ee.default.error(Gt),En={data:[],total:0,success:!1}),$r.abrupt("return",En);case 10:case"end":return $r.stop()}},et)}));return function(yt){return Ze.apply(this,arguments)}}(),Ie=[{dataIndex:"id",title:"ID"},{dataIndex:"name",title:"\u6307\u6807\u540D\u79F0"},{dataIndex:"alias",title:"\u522B\u540D",search:!1},{dataIndex:"bizName",title:"\u5B57\u6BB5\u540D\u79F0"},{dataIndex:"sensitiveLevel",title:"\u654F\u611F\u5EA6",valueEnum:CR},{dataIndex:"createdBy",title:"\u521B\u5EFA\u4EBA",search:!1},{dataIndex:"description",title:"\u63CF\u8FF0",search:!1},{dataIndex:"type",title:"\u6307\u6807\u7C7B\u578B",valueEnum:{ATOMIC:"\u539F\u5B50\u6307\u6807",DERIVED:"\u884D\u751F\u6307\u6807"}},{dataIndex:"updatedAt",title:"\u66F4\u65B0\u65F6\u95F4",search:!1,render:function(et){return et&&et!=="-"?Zt()(et).format("YYYY-MM-DD HH:mm:ss"):"-"}},{title:"\u64CD\u4F5C",dataIndex:"x",valueType:"option",render:function(et,yt){return Object(le.jsxs)(lt.b,{children:[Object(le.jsx)("a",{onClick:function(){V(yt),g(!0)},children:"\u7F16\u8F91"},"classEditBtn"),Object(le.jsx)(tt.a,{title:"\u786E\u8BA4\u5220\u9664\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:Object(Le.a)(Object(Z.a)().mark(function jt(){var Ft,Ht,Gt,Jt;return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:return vn.next=2,Object(If.m)(yt.id);case 2:Ft=vn.sent,Ht=Ft.code,Gt=Ft.msg,Ht===200?(V(void 0),(Jt=Oe.current)===null||Jt===void 0||Jt.reload()):Ee.default.error(Gt);case 6:case"end":return vn.stop()}},jt)})),children:Object(le.jsx)("a",{onClick:function(){V(yt)},children:"\u5220\u9664"},"classEditBtn")})]})}}],Ye=function(){var Ze=Object(Le.a)(Object(Z.a)().mark(function et(yt){var jt,Ft,Ht,Gt,Jt,mn,vn,Yt=arguments;return Object(Z.a)().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:if(jt=Yt.length>1&&Yt[1]!==void 0?Yt[1]:!0,Ft=Object(Xe.a)({domainId:t},yt),!(Ft.typeParams&&!Ft.typeParams.expr)){or.next=5;break}return Ee.default.error("\u5EA6\u91CF\u8868\u8FBE\u5F0F\u4E0D\u80FD\u4E3A\u7A7A"),or.abrupt("return");case 5:return Ht=If.b,Ft.id&&(Ht=If.J),or.next=9,Ht(Ft);case 9:if(Gt=or.sent,Jt=Gt.code,mn=Gt.msg,Jt!==200){or.next=18;break}return Ee.default.success("\u7F16\u8F91\u6307\u6807\u6210\u529F"),g(!1),jt&&(Oe==null||(vn=Oe.current)===null||vn===void 0||vn.reload()),o({type:"domainManger/queryMetricList",payload:{domainId:t}}),or.abrupt("return");case 18:Ee.default.error(mn);case 19:case"end":return or.stop()}},et)}));return function(yt){return Ze.apply(this,arguments)}}();return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(M_,{className:"".concat(yv.a.classTable," ").concat(yv.a.classTableSelectColumnAlignLeft),actionRef:Oe,headerTitle:"\u6307\u6807\u5217\u8868",rowKey:"id",search:{span:4,defaultCollapsed:!1,collapseRender:function(){return Object(le.jsx)(le.Fragment,{})}},columns:Ie,params:{domainId:t},request:ke,pagination:ue,tableAlertRender:function(){return!1},onChange:function(et){var yt=et.current,jt=et.pageSize,Ft=et.total;ve({current:yt,pageSize:jt,total:Ft})},size:"small",options:{reload:!1,density:!1,fullScreen:!1},toolBarRender:function(){return[Object(le.jsx)(it.a,{type:"primary",onClick:function(){V(void 0),g(!0)},children:"\u521B\u5EFA\u6307\u6807"},"create")]}}),v&&Object(le.jsx)($T,{domainId:Number(t),createModalVisible:v,metricItem:I,onSubmit:function(et){Ye(et)},onCancel:function(){g(!1)}})]})},KT=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(WT),ZF=l("Nr3r");function QF(){return SR.apply(this,arguments)}function SR(){return SR=Object(Le.a)(Object(Z.a)().mark(function u(){return Object(Z.a)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",Object(Me.f)("/api/tpp/getDetpartmentTree",{method:"GET"}));case 1:case"end":return c.stop()}},u)})),SR.apply(this,arguments)}function oW(u){return wR.apply(this,arguments)}function wR(){return wR=Object(Le.a)(Object(Z.a)().mark(function u(i){return Object(Z.a)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",Object(Me.f)("/api/tpp/getUserByDeptid/".concat(i),{method:"GET"}));case 1:case"end":return o.stop()}},u)})),wR.apply(this,arguments)}var TR=l("ZqBY");function qF(){return Px.apply(this,arguments)}function Px(){return Px=Object(Le.a)(Object(Z.a)().mark(function u(){var i;return Object(Z.a)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET,i!=="inner"){o.next=3;break}return o.abrupt("return",TR.a.get("/api/oa/user/all"));case 3:return o.abrupt("return",TR.a.get("".concat({npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.AUTH_API_BASE_URL,"user/getUserList")));case 4:case"end":return o.stop()}},u)})),Px.apply(this,arguments)}var mp=l("0UDB"),AR=l("jJZc"),Np=function(i){var c=i.componentCls;return Object(ft.a)({},c,{"&-divider":{flex:"none",width:i.lineWidth,marginInline:i.marginXS,marginBlock:i.marginLG,backgroundColor:i.colorSplit,"&-horizontal":{width:"initial",height:i.lineWidth,marginInline:i.marginLG,marginBlock:i.marginXS}},"&&-size-small &-divider":{marginBlock:i.marginLG,marginInline:i.marginXS,"&-horizontal":{marginBlock:i.marginXS,marginInline:i.marginLG}}})};function XO(u){return Object(AR.d)("ProCardDivider",function(i){var c=Object(Te.a)(Object(Te.a)({},i),{},{componentCls:".".concat(u)});return[Np(c)]})}var JO=function(i){var c=Object(fe.useContext)(bt.a.ConfigContext),o=c.getPrefixCls,t=o("pro-card"),r="".concat(t,"-divider"),d=XO(t),v=d.wrapSSR,g=d.hashId,b=i.className,P=i.style,I=P===void 0?{}:P,V=i.type,K=tr()(r,b,g,Object(ft.a)({},"".concat(r,"-").concat(V),V));return v(Object(le.jsx)("div",{className:K,style:I}))},sW=JO,e6=l("sGYi"),cW=function(i){return Object(le.jsx)(mp.a,Object(Te.a)({bodyStyle:{padding:0}},i))},ZO=mp.a;ZO.isProCard=!0,ZO.Divider=sW,ZO.TabPane=e6.a,ZO.Group=cW;var Rx=ZO,Dx=l("6OOT"),Ix=function(i,c){var o=i.includes("(");return c==="selectedPerson"?!o:c==="selectedDepartment"?!!o:!0};function p1(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return u.map(function(c){return{title:c.name,value:c.key,key:c.key,isLeaf:!!c.emplid,children:c!=null&&c.subDepartments?p1(c.subDepartments,i):[],disableCheckbox:Ix(c.name,i),checkable:!Ix(c.name,i),icon:c.name.includes("(")&&Object(le.jsx)(Od.a,{size:18,shape:"square",src:"".concat(c.avatarImg),alt:"avatar"})}})}var t6=function(i){var c=i.type,o=c===void 0?"selectedPerson":c,t=i.value,r=i.onChange,d=i.treeSelectProps,v=d===void 0?{}:d,g=Object(fe.useState)([]),b=Object(we.a)(g,2),P=b[0],I=b[1],V=function(){var Oe=Object(Le.a)(Object(Z.a)().mark(function ke(){var Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,QF();case 2:Ie=et.sent,Ye=p1(Ie.data,o),I(Ye);case 5:case"end":return et.stop()}},ke)}));return function(){return Oe.apply(this,arguments)}}();Object(fe.useEffect)(function(){V()},[]);var K=function Oe(ke,Ie,Ye){return ke.map(function(Ze){if(Ze.key===Ie){var et=Ze.children;return Ze.children&&!Ze.children.find(function(yt){var jt;return(yt==null?void 0:yt.key)===((jt=Ye[0])===null||jt===void 0?void 0:jt.key)})&&(et=[].concat(Object(Bs.a)(Ye),Object(Bs.a)(Ze.children))),Object(Xe.a)(Object(Xe.a)({},Ze),{},{children:et})}return Ze.children.length!==0?Object(Xe.a)(Object(Xe.a)({},Ze),{},{children:Oe(Ze.children,Ie,Ye)}):Ze})},ae=function(ke){var Ie=ke.key,Ye=function(){var Ze=Object(Le.a)(Object(Z.a)().mark(function et(){var yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.next=2,oW(Ie);case 2:if(yt=Ft.sent,yt.data.length!==0){Ft.next=5;break}return Ft.abrupt("return");case 5:setTimeout(function(){I(function(Ht){return K(Ht,Ie,p1(yt.data,o))})},300);case 6:case"end":return Ft.stop()}},et)}));return function(){return Ze.apply(this,arguments)}}();return new Promise(function(Ze){Ye().then(function(){Ze()})})},ue=function(ke){r==null||r(ke)},ve=function(ke){var Ie=ke.label,Ye=function(yt){yt.preventDefault(),yt.stopPropagation()},Ze=Ie.split("(")[0];return Object(le.jsxs)(HT.a,{onMouseDown:Ye,closable:!0,onClose:function(){var yt=ke.value,jt=t.filter(function(Ft){return Ft!==yt});r==null||r(jt)},style:{marginRight:3,marginBottom:3},children:[o==="selectedPerson"&&Object(le.jsx)(Dx.a,{size:"small",staffName:Ze}),Object(le.jsx)("span",{style:{position:"relative",top:"2px",left:"5px"},children:Ie})]})};return Object(le.jsx)(le.Fragment,{children:Object(le.jsx)(Yb.a,Object(Xe.a)({showSearch:!0,style:{width:"100%"},value:t,loadData:ae,dropdownStyle:{maxHeight:800,overflow:"auto"},allowClear:!0,multiple:!0,onChange:ue,treeCheckable:!0,treeIcon:!0,treeData:P,tagRender:ve,treeNodeFilterProp:"title",listHeight:500,showCheckedStrategy:Yb.a.SHOW_PARENT},v))})},YT=t6,n6=l("MXy0"),r6=l.n(n6);function ise(u){var i=Object(Xe.a)({},u),c=Object.keys(i);if(c.length===0)return{};var o=c.shift();return{orderCondition:o,sort:i[o]==="ascend"?"asc":"desc"}}function ose(u,i){var c="inner:rememberTableColumnsStateMap:".concat(u),o=localStorage.getItem(c),t={};if(o)try{var r=JSON.parse(o);typeof r=="object"&&r&&(t=r)}catch(I){localStorage.removeItem(c)}else i&&(t=Object(Xe.a)({},i));var d=Object(fe.useState)(t),v=Object(we.a)(d,2),g=v[0],b=v[1],P=Object(fe.useCallback)(function(I){var V=JSON.stringify(I);localStorage.setItem(c,V),b(I)},[b]);return{columnsStateMap:g,handleColumnsStateChange:P}}function lW(u,i){var c=u.fetcher,o=u.updater,t=u.cleanup,r=Object(fe.useState)(!1),d=Object(we.a)(r,2),v=d[0],g=d[1];return Object(fe.useEffect)(function(){var b=!1;return g(!0),c().then(function(P){b||o(P)}).catch(function(){return null}).finally(function(){g(!1)}),function(){t==null||t(),b=!0}},i),{loading:v,setLoading:g}}var a6=function(i){var c=i.placeholder,o=i.value,t=i.isMultiple,r=t===void 0?!0:t,d=i.onChange,v=Object(fe.useState)([]),g=Object(we.a)(v,2),b=g[0],P=g[1];return lW({fetcher:function(){var I=Object(Le.a)(Object(Z.a)().mark(function K(){var ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ve.next=2,qF();case 2:if(ae=ve.sent,!(ae.code==200||Number(ae.code)==0)){ve.next=7;break}return ve.abrupt("return",ae.data||[]);case 7:throw Ee.default.error(ae.msg),new Error(ae.msg);case 9:case"end":return ve.stop()}},K)}));function V(){return I.apply(this,arguments)}return V}(),updater:function(V){var K=V.map(function(ae){var ue=ae.enName,ve=ae.chName,Oe=ae.name;return Object(Xe.a)(Object(Xe.a)({},ae),{},{enName:ue||Oe,chName:ve||Oe})});P(K)},cleanup:function(){P([])}},[]),Object(le.jsx)(jl.a,{value:o,placeholder:c!=null?c:"\u8BF7\u9009\u62E9\u7528\u6237\u540D",mode:r?"multiple":void 0,allowClear:!0,showSearch:!0,onChange:d,children:b.map(function(I){return Object(le.jsxs)(jl.a.Option,{value:I.enName,children:[Object(le.jsx)(Dx.a,{size:"small",staffName:I.enName}),Object(le.jsx)("span",{className:r6.a.userText,children:I.displayName})]},I.enName)})})},XT=a6,Nx=Ot.a.Item,i6=function(i,c){var o=i.permissonData,t=i.onValuesChange,r={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET,d=Ot.a.useForm(),v=Object(we.a)(d,1),g=v[0];return Object(fe.useImperativeHandle)(c,function(){return{formRef:g}}),Object(fe.useEffect)(function(){var b=Object(Xe.a)({},o);b.authorizedDepartmentIds=o.authorizedDepartmentIds||[],b.authorizedUsers=o.authorizedUsers||[],g.setFieldsValue(b)},[o]),Object(le.jsx)(le.Fragment,{children:Object(fe.createElement)(Ot.a,Object(Xe.a)(Object(Xe.a)({},GO.a),{},{key:o.groupId,form:g,layout:"vertical",onValuesChange:function(P,I){t==null||t(P,I)},className:yv.a.form}),Object(le.jsx)(Nx,{hidden:!0,name:"groupId",label:"ID",children:Object(le.jsx)(_s.a,{placeholder:"groupId"})}),Object(le.jsx)(Nx,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"}],children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"})}),r==="inner"&&Object(le.jsx)(Nx,{name:"authorizedDepartmentIds",label:"\u6309\u7EC4\u7EC7",children:Object(le.jsx)(YT,{type:"selectedDepartment",treeSelectProps:{placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u6388\u6743\u7684\u90E8\u95E8"}})}),Object(le.jsx)(Nx,{name:"authorizedUsers",label:"\u6309\u4E2A\u4EBA",children:Object(le.jsx)(XT,{placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u6388\u6743\u7684\u4E2A\u4EBA"})}))})},uW=Object(fe.forwardRef)(i6),dW=l("+uh/"),JT=Ot.a.Item,fW=_s.a.TextArea,o6=function(i){var c=i.domainManger,o=i.visible,t=i.permissonData,r=i.domainId,d=i.onCancel,v=i.onSubmit,g=c.dimensionList,b=c.metricList,P=Ot.a.useForm(),I=Object(we.a)(P,1),V=I[0],K=Object(fe.useRef)(null),ae=Object(fe.useState)([]),ue=Object(we.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(fe.useState)([]),Ie=Object(we.a)(ke,2),Ye=Ie[0],Ze=Ie[1],et=Object(fe.useState)([]),yt=Object(we.a)(et,2),jt=yt[0],Ft=yt[1],Ht=Object(fe.useState)([]),Gt=Object(we.a)(Ht,2),Jt=Gt[0],mn=Gt[1];Object(fe.useEffect)(function(){var En=g.reduce(function(or,$r){var vr=$r.name,Er=$r.bizName,Hr=$r.sensitiveLevel;return Hr===2&&or.push({id:Er,name:vr,type:"dimension"}),or},[]);Oe(En)},[g]),Object(fe.useEffect)(function(){var En=b.reduce(function(or,$r){var vr=$r.name,Er=$r.bizName,Hr=$r.sensitiveLevel;return Hr===2&&or.push({id:Er,name:vr,type:"metric"}),or},[]);Ze(En)},[b]);var vn=function(){var En=Object(Le.a)(Object(Z.a)().mark(function or(){var $r,vr,Er,Hr,Aa,Fr,ca,fa,ai,Wi,Co;return Object(Z.a)().wrap(function(us){for(;;)switch(us.prev=us.next){case 0:return us.next=2,K.current.formRef.validateFields();case 2:return $r=us.sent,us.next=5,V.validateFields();case 5:return vr=us.sent,Er=vr.dimensionFilters,Hr=vr.dimensionFilterDescription,Aa=t.authRules,Fr=Aa===void 0?[]:Aa,ca=Fr==null?void 0:Fr[0],ca?ca.dimensions=g:ca={dimensions:g},t.authRules=[ca],fa=If.f,$r.groupId&&(fa=If.K),us.next=15,fa(Object(Xe.a)(Object(Xe.a)({},$r),{},{dimensionFilters:[Er],dimensionFilterDescription:Hr,authRules:[{dimensions:jt,metrics:Jt}],domainId:r}));case 15:if(ai=us.sent,Wi=ai.code,Co=ai.msg,Wi!==200){us.next=22;break}return v==null||v(),Ee.default.success("\u4FDD\u5B58\u6210\u529F"),us.abrupt("return");case 22:Ee.default.error(Co);case 23:case"end":return us.stop()}},or)}));return function(){return En.apply(this,arguments)}}();Object(fe.useEffect)(function(){var En,or,$r,vr;V.resetFields();var Er=t.dimensionFilters,Hr=t.dimensionFilterDescription;V.setFieldsValue({dimensionFilterDescription:Hr,dimensionFilters:Array.isArray(Er)&&Er[0]||""}),Ft((t==null||(En=t.authRules)===null||En===void 0||(or=En[0])===null||or===void 0?void 0:or.dimensions)||[]),mn((t==null||($r=t.authRules)===null||$r===void 0||(vr=$r[0])===null||vr===void 0?void 0:vr.metrics)||[])},[t]);var Yt=function(){return Object(le.jsx)("div",{style:{display:"flex",justifyContent:"flex-end"},children:Object(le.jsxs)(lt.b,{children:[Object(le.jsx)(it.a,{onClick:d,children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",onClick:function(){vn()},children:"\u5B8C\u6210"})]})})};return Object(le.jsx)(le.Fragment,{children:Object(le.jsx)(He.a,{width:"100%",className:yv.a.permissionDrawer,destroyOnClose:!0,title:"\u6743\u9650\u7EC4\u4FE1\u606F",maskClosable:!1,open:o,footer:Yt(),onClose:d,children:Object(le.jsx)("div",{style:{overflow:"auto",margin:"0 auto",width:"1000px"},children:Object(le.jsxs)(lt.b,{direction:"vertical",style:{width:"100%"},size:20,children:[Object(le.jsx)(Rx,{title:"\u57FA\u672C\u4FE1\u606F",bordered:!0,children:Object(le.jsx)(uW,{ref:K,permissonData:t,domainId:r})}),Object(le.jsx)(Rx,{title:"\u5217\u6743\u9650",bordered:!0,children:Object(le.jsx)(dW.a,{titles:["\u672A\u6388\u6743\u7EF4\u5EA6/\u6307\u6807","\u5DF2\u6388\u6743\u7EF4\u5EA6/\u6307\u6807"],sourceList:[].concat(Object(Bs.a)(ve),Object(Bs.a)(Ye)),targetList:[].concat(Object(Bs.a)(jt),Object(Bs.a)(Jt)),onChange:function(or){var $r=g.reduce(function(Er,Hr){return or.includes(Hr.bizName)&&Er.push(Hr.bizName),Er},[]),vr=b.reduce(function(Er,Hr){return or.includes(Hr.bizName)&&Er.push(Hr.bizName),Er},[]);Ft($r),mn(vr)}})}),Object(le.jsx)(Rx,{bordered:!0,title:"\u884C\u6743\u9650",children:Object(le.jsx)("div",{children:Object(le.jsxs)(Ot.a,{form:V,layout:"vertical",children:[Object(le.jsx)(JT,{name:"dimensionFilters",label:"\u8868\u8FBE\u5F0F",children:Object(le.jsx)(zT.a,{height:"150px"})}),Object(le.jsx)(JT,{name:"dimensionFilterDescription",label:"\u63CF\u8FF0",children:Object(le.jsx)(fW,{placeholder:"\u884C\u6743\u9650\u63CF\u8FF0"})})]})})})]})})})})},Um=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(o6),s6=l("MVZ2"),c6=function(i){var c=i.domainManger,o={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET,t=o==="inner",r=c.dimensionList,d=c.metricList,v=c.selectDomainId,g=Object(fe.useState)(!1),b=Object(we.a)(g,2),P=b[0],I=b[1],V=Object(fe.useState)({}),K=Object(we.a)(V,2),ae=K[0],ue=K[1],ve=Object(fe.useState)([]),Oe=Object(we.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=Object(fe.useState)([]),Ze=Object(we.a)(Ye,2),et=Ze[0],yt=Ze[1],jt=Object(fe.useState)([]),Ft=Object(we.a)(jt,2),Ht=Ft[0],Gt=Ft[1],Jt=Object(fe.useState)({current:1,pageSize:20,total:0}),mn=Object(we.a)(Jt,2),vn=mn[0],Yt=mn[1],En=Object(fe.useRef)(),or=function(){var Hr=Object(Le.a)(Object(Z.a)().mark(function Aa(){var Fr,ca,fa;return Object(Z.a)().wrap(function(Wi){for(;;)switch(Wi.prev=Wi.next){case 0:return Wi.next=2,Object(If.y)(v);case 2:if(Fr=Wi.sent,ca=Fr.code,fa=Fr.data,ca!==200){Wi.next=8;break}return Ie(fa),Wi.abrupt("return");case 8:Ee.default.error("\u83B7\u53D6\u4E3B\u9898\u57DF\u89E3\u6790\u8BCD\u5931\u8D25");case 9:case"end":return Wi.stop()}},Aa)}));return function(){return Hr.apply(this,arguments)}}();Object(fe.useEffect)(function(){v&&or()},[v]);var $r=function(){var Hr=Object(Le.a)(Object(Z.a)().mark(function Aa(){var Fr,ca,fa;return Object(Z.a)().wrap(function(Wi){for(;;)switch(Wi.prev=Wi.next){case 0:return Wi.next=2,QF();case 2:Fr=Wi.sent,ca=Fr.code,fa=Fr.data,(ca===200||ca==="0")&&yt(fa);case 6:case"end":return Wi.stop()}},Aa)}));return function(){return Hr.apply(this,arguments)}}(),vr=function(){var Hr=Object(Le.a)(Object(Z.a)().mark(function Aa(){var Fr,ca,fa;return Object(Z.a)().wrap(function(Wi){for(;;)switch(Wi.prev=Wi.next){case 0:return Wi.next=2,qF();case 2:Fr=Wi.sent,ca=Fr.code,fa=Fr.data,(ca===200||Number(ca)===0)&&Gt(fa);case 6:case"end":return Wi.stop()}},Aa)}));return function(){return Hr.apply(this,arguments)}}();Object(fe.useEffect)(function(){t&&$r(),vr()},[]);var Er=[{dataIndex:"groupId",title:"ID",width:50},{dataIndex:"name",title:"\u540D\u79F0",width:150},{dataIndex:"departmentPermission",title:"\u6388\u6743\u7EC4\u7EC7",ellipsis:{showTitle:!1},hideInTable:!t,width:200,render:function(Aa,Fr){var ca=Fr.authorizedDepartmentIds,fa=ca===void 0?[]:ca,ai=fa.reduce(function(Co,zi){var us=Object(s6.c)(et,zi);return us&&Co.push(us.name),Co},[]),Wi=ai.join(",");return Object(le.jsx)(Ni.a,{placement:"topLeft",title:Wi,children:Wi})}},{dataIndex:"personPermission",title:"\u6388\u6743\u4E2A\u4EBA",ellipsis:{showTitle:!1},render:function(Aa,Fr){var ca=Fr.authorizedUsers,fa=ca===void 0?[]:ca,ai=Ht.reduce(function(Co,zi){var us=fa.includes(zi.enName);return us&&Co.push(zi.displayName),Co},[]),Wi=ai.join(",");return Object(le.jsx)(Ni.a,{placement:"topLeft",title:Wi,children:Wi})}},{dataIndex:"columnPermission",title:"\u5217\u6743\u9650",ellipsis:{showTitle:!1},render:function(Aa,Fr){var ca=Fr.authRules,fa=ca==null?void 0:ca[0];if(fa){var ai=fa.dimensions,Wi=fa.metrics,Co=[],zi=[];Array.isArray(ai)&&(Co=r.reduce(function(Us,po){var dc=po.bizName,ns=po.name;return ai.includes(dc)&&Us.push(ns),Us},[])),Array.isArray(Wi)&&(zi=d.reduce(function(Us,po){var dc=po.bizName,ns=po.name;return Wi.includes(dc)&&Us.push(ns),Us},[]));var us=[].concat(Object(Bs.a)(Co),Object(Bs.a)(zi)).join(",");return Object(le.jsx)(Ni.a,{placement:"topLeft",title:us,children:us})}return Object(le.jsx)(le.Fragment,{children:" - "})}},{title:"\u64CD\u4F5C",dataIndex:"x",valueType:"option",render:function(Aa,Fr){return Object(le.jsxs)(lt.b,{children:[Object(le.jsx)("a",{onClick:function(){ue(Fr),I(!0)},children:"\u7F16\u8F91"},"classEditBtn"),Object(le.jsx)(tt.a,{title:"\u786E\u8BA4\u5220\u9664\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:Object(Le.a)(Object(Z.a)().mark(function ca(){var fa,ai,Wi;return Object(Z.a)().wrap(function(zi){for(;;)switch(zi.prev=zi.next){case 0:return zi.next=2,Object(If.D)({domainId:Fr.domainId,groupId:Fr.groupId});case 2:fa=zi.sent,ai=fa.code,Wi=fa.msg,ai===200?(ue({}),or()):Ee.default.error(Wi);case 6:case"end":return zi.stop()}},ca)})),children:Object(le.jsx)("a",{onClick:function(){ue(Fr)},children:"\u5220\u9664"},"classEditBtn")})]})}}];return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(M_,{actionRef:En,headerTitle:"\u8D44\u6E90\u5217\u8868",rowKey:"groupId",columns:Er,search:!1,dataSource:ke,pagination:vn,onChange:function(Aa){var Fr=Aa.current,ca=Aa.pageSize,fa=Aa.total;Yt({current:Fr,pageSize:ca,total:fa})},size:"small",options:!1,toolBarRender:function(){return[Object(le.jsx)(it.a,{type:"primary",onClick:function(){ue({}),I(!0)},children:"\u65B0\u5EFA\u6388\u6743"},"create")]}}),P&&Object(le.jsx)(Um,{domainId:Number(v),visible:P,permissonData:ae,onSubmit:function(){or(),I(!1)},onCancel:function(){I(!1)}})]})},ZT=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(c6),Lx=Ot.a.Item,kR=function(i){var c=i.domainManger,o=i.onValuesChange,t=Ot.a.useForm(),r=Object(we.a)(t,1),d=r[0],v=Object(fe.useState)(!0),g=Object(we.a)(v,2),b=g[0],P=g[1],I=Object(fe.useState)({}),V=Object(we.a)(I,2),K=V[0],ae=V[1],ue=c.selectDomainId,ve={npm_config_save_dev:"",npm_config_legacy_bundling:"",npm_config_dry_run:"",npm_package_devDependencies_lint_staged:"^10.0.0",npm_package_dependencies_umi:"^3.2.14",npm_package_lint_staged_______js_jsx_ts_tsx_:"npm run lint-staged:js",npm_config_viewer:"man",npm_config_only:"",npm_config_commit_hooks:"true",npm_config_browser:"",npm_package_devDependencies_prettier:"^2.3.1",npm_package_dependencies_echarts_for_react:"^3.0.1",npm_package_scripts_i18n_remove:"pro i18n-remove --locale=zh-CN --write",npm_config_also:"",npm_package_dependencies__antv_xflow:"^1.0.55",npm_config_sign_git_commit:"",npm_config_rollback:"true",npm_package_devDependencies__umijs_preset_react:"^1.7.4",npm_package_scripts_prettier:'prettier -c --write "src/**/*"',NODE:"/usr/local/bin/node",npm_config_usage:"",npm_config_audit:"true",npm_package_devDependencies_cross_port_killer:"^1.1.1",npm_package_devDependencies__umijs_plugin_blocks:"^2.0.5",INIT_CWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_package_devDependencies_typescript:"^4.0.3",npm_package_devDependencies__umijs_preset_dumi:"^1.1.0-rc.6",npm_package_devDependencies__umijs_fabric:"^2.4.0",npm_package_dependencies_moment:"^2.29.1",PYENV_ROOT:"/Users/lexluo/.pyenv",npm_config_globalignorefile:"/usr/local/etc/npmignore",npm_package_devDependencies__umijs_preset_ant_design_pro:"^1.2.0",npm_package_dependencies_ahooks:"^3.7.7",npm_package_dependencies_ace_builds:"^1.4.12",npm_package_dependencies__umijs_route_utils:"^1.0.33",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shell:"/bin/zsh",npm_config_maxsockets:"50",npm_config_init_author_url:"",HADOOP_HOME:"/Users/lexluo/Soft/hadoop-3.1.4",npm_config_shrinkwrap:"true",npm_config_parseable:"",npm_config_metrics_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies_pro_download:"1.0.1",npm_package_dependencies_react_split_pane:"^2.0.3",npm_package_scripts_tsc:"tsc --noEmit",TMPDIR:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T/",npm_config_timing:"",npm_config_init_license:"ISC",npm_package_devDependencies__umijs_yorkie:"^2.0.3",npm_package_dependencies_copy_to_clipboard:"^3.3.1",npm_package_dependencies__ant_design_pro_table:"^2.80.6",npm_package_scripts_lint:"umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",npm_config_if_present:"",npm_package_scripts_dev:"npm run start:osdev",npm_config_sign_git_tag:"",npm_config_init_author_email:"",npm_config_cache_max:"Infinity",npm_package_devDependencies__types_crypto_js:"^4.0.1",npm_package_scripts_dev_os:"npm run start:osdev",npm_config_preid:"",npm_config_long:"",npm_config_local_address:"",npm_config_git_tag_version:"true",npm_config_cert:"",npm_package_devDependencies__types_classnames:"^2.2.7",npm_package_dependencies_eslint_config_tencent:"^1.0.4",npm_package_scripts_pretest:"node ./tests/beforeTest",npm_package_scripts_start_no_ui:"cross-env UMI_UI=none umi dev",TERM_SESSION_ID:"e249efc1-2b02-477e-9d5f-a4b8a2fdea58",npm_config_noproxy:"",npm_config_fetch_retries:"2",npm_config_registry:"https://mirrors.tencent.com/npm/",npm_package_devDependencies__umijs_plugin_esbuild:"^1.0.1",npm_package_dependencies_umi_request:"^1.0.8",npm_package_scripts_analyze:"cross-env ANALYZE=1 umi build",npm_package_private:"true",npm_package_devDependencies_eslint_plugin_chalk:"^1.0.0",npm_package_dependencies_react_dom:"^17.0.2",npm_package_dependencies__ant_design_icons:"^4.7.0",LC_ALL:"en_US.UTF-8",npm_config_versions:"",npm_config_message:"%s",npm_config_key:"",npm_package_readmeFilename:"README.md",npm_package_dependencies__antv_layout:"^0.3.20",npm_package_dependencies__ant_design_cssinjs:"^1.10.1",__INTELLIJ_COMMAND_HISTFILE__:"/Users/lexluo/Library/Caches/JetBrains/IntelliJIdea2022.1/terminal/history/supersonic_opensource-history",npm_package_dependencies_numeral:"^2.0.6",npm_package_scripts_start_test:"cross-env REACT_APP_ENV=test MOCK=none umi dev",npm_package_scripts_build_test:"node .writeVersion.js && cross-env REACT_APP_ENV=test umi build",npm_package_description:"data chat",USER:"lexluo",http_proxy:"http://127.0.0.1:12639",npm_package_devDependencies__types_react:"^17.0.0",npm_package_scripts_start_dev:"cross-env REACT_APP_ENV=dev MOCK=none APP_TARGET=inner umi dev",npm_package_dependencies_react_helmet_async:"^1.0.4",npm_package_scripts_deploy:"npm run site && npm run gh-pages",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/usr/local/etc/npmrc",npm_package_dependencies_path_to_regexp:"^2.4.0",npm_package_dependencies__ant_design_charts:"^1.3.3",npm_config_prefer_online:"",npm_config_logs_max:"10",npm_config_always_auth:"",npm_package_devDependencies_carlo:"^0.9.46",npm_package_scripts_start_no_mock:"cross-env MOCK=none umi dev",npm_package_devDependencies__types_pinyin:"^2.8.3",npm_package_dependencies_lodash:"^4.17.11",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.rMYfjIoEG7/Listeners",npm_package_devDependencies_eslint:"^7.1.0",npm_package_devDependencies__types_jest:"^26.0.0",npm_package_devDependencies__types_express:"^4.17.0",npm_package_dependencies_react_spinners:"^0.10.6",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",npm_execpath:"/usr/local/lib/node_modules/npm/bin/npm-cli.js",npm_config_global_style:"",npm_config_cache_lock_retries:"10",LOGIN_SHELL:"1",npm_config_update_notifier:"true",npm_config_cafile:"",npm_package_dependencies__ant_design_pro_form:"^1.23.0",npm_config_heading:"npm",npm_config_audit_level:"low",npm_package_devDependencies__types_react_dom:"^17.0.0",npm_package_devDependencies__types_draftjs_to_html:"^0.8.0",npm_config_searchlimit:"20",npm_config_read_only:"",npm_config_offline:"",npm_config_fetch_retry_mintimeout:"10000",npm_package_dependencies_sql_formatter:"^2.3.3",npm_package_dependencies_react_dev_inspector:"^1.8.4",npm_package_dependencies_omit_js:"^2.0.2",npm_package_scripts_lint_staged_js:"eslint --ext .js,.jsx,.ts,.tsx ",all_proxy:"http://127.0.0.1:12639",npm_config_json:"",npm_config_access:"",npm_config_argv:'{"remain":[],"cooked":["run","build:os-local"],"original":["run","build:os-local"]}',npm_package_devDependencies__types_qs:"^6.5.3",npm_package_devDependencies__types_echarts:"^4.9.4",npm_package_dependencies__babel_runtime:"^7.22.5",npm_package_scripts_lint_fix:"eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",npm_package_scripts_postinstall:"umi g tmp",PATH:"/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin:/Users/lexluo/Work/open-source/supersonic_opensource/webapp/node_modules/.bin:/Users/lexluo/.pyenv/shims:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin:/Users/lexluo/Downloads/apache-maven-3.6.3/bin:/usr/bin/git/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:.:/Users/lexluo/Soft/hadoop-3.1.4/bin:/Users/lexluo/.ft",npm_config_allow_same_version:"",npm_package_lint_staged______less:"stylelint --syntax less",TERMINAL_EMULATOR:"JetBrains-JediTerm",npm_config_https_proxy:"",npm_config_engine_strict:"",npm_config_description:"true",npm_config_userconfig:"/Users/lexluo/.npmrc",npm_config_init_module:"/Users/lexluo/.npm-init.js",npm_package_dependencies_react_syntax_highlighter:"^15.4.3",npm_package_dependencies__types_numeral:"^2.0.2",__CFBundleIdentifier:"com.jetbrains.intellij",npm_config_cidr:"",npm_package_dependencies__ant_design_pro_card:"^1.11.13",PWD:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe",npm_config_user:"",npm_config_node_version:"14.21.3",npm_package_devDependencies__types_lodash:"^4.14.144",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home",npm_lifecycle_event:"build:os-local",npm_package_dependencies_cross_env:"^7.0.0",npm_config_save:"true",npm_config_ignore_prepublish:"",npm_config_editor:"vi",npm_config_auth_type:"legacy",npm_package_name:"supersonic-fe",LANG:"en_US.UTF-8",npm_config_tag:"latest",npm_config_script_shell:"",npm_package_devDependencies_eslint_plugin_import:"^2.27.5",npm_config_progress:"true",npm_config_global:"",npm_config_before:"",npm_package_dependencies_react_ace:"^9.4.1",npm_package_dependencies__ant_design_pro_descriptions:"^1.0.19",npm_package_scripts_start:"npm run start:osdev",npm_package_scripts_build:"npm run build:os",npm_config_searchstaleness:"900",npm_config_optional:"true",npm_config_ham_it_up:"",npm_package_resolutions__types_react:"17.0.0",XPC_FLAGS:"0x0",npm_config_save_prod:"",npm_config_force:"",npm_config_bin_links:"true",npm_package_devDependencies_stylelint:"^13.0.0",npm_package_devDependencies_puppeteer_core:"^5.0.0",npm_package_devDependencies_express:"^4.17.1",npm_package_devDependencies__ant_design_pro_cli:"^2.0.2",npm_package_dependencies_crypto_js:"^4.0.0",npm_config_searchopts:"",npm_package_engines_node:">=10.0.0 <17.0.0",npm_package_dependencies_classnames:"^2.2.6",npm_package_dependencies__ant_design_pro_layout:"^6.38.22",LERNA_ROOT_PATH:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp",npm_config_node_gyp:"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",npm_config_depth:"Infinity",GIT_PATH:"/usr/bin/git",https_proxy:"http://127.0.0.1:12639",npm_config_sso_poll_frequency:"500",npm_config_rebuild_bundle:"true",npm_package_scripts_lint_style:'stylelint --fix "src/**/*.less" --syntax less',npm_package_scripts_build_os_local:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_package_version:"0.1.0",XPC_SERVICE_NAME:"0",npm_config_unicode:"true",npm_package_devDependencies_detect_installer:"^1.0.1",npm_package_dependencies__types_react_draft_wysiwyg:"^1.13.2",HOME:"/Users/lexluo",SHLVL:"5",npm_config_fetch_retry_maxtimeout:"60000",npm_package_scripts_test_component:"umi test ./src/components",npm_package_scripts_test:"umi test",npm_package_scripts_gh_pages:"gh-pages -d dist",npm_config_tag_version_prefix:"v",npm_config_strict_ssl:"true",npm_config_sso_type:"oauth",npm_config_scripts_prepend_node_path:"warn-only",npm_config_save_prefix:"^",npm_config_loglevel:"notice",npm_config_ca:"",npm_package_dependencies_jsencrypt:"^3.0.1",npm_config_save_exact:"",npm_config_group:"20",npm_config_fetch_retry_factor:"10",npm_config_dev:"",npm_package_scripts_start_pre:"cross-env REACT_APP_ENV=pre umi dev",npm_config_version:"",npm_config_prefer_offline:"",npm_config_cache_lock_stale:"60000",npm_package_dependencies_echarts:"^5.0.2",npm_package_browserslist_2:"not ie <= 10",npm_package_scripts_lint_prettier:'prettier --check "src/**/*" --end-of-line auto',npm_package_scripts_lint_js:"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",npm_config_otp:"",npm_config_cache_min:"10",npm_package_browserslist_1:"last 2 versions",npm_config_searchexclude:"",npm_config_cache:"/Users/lexluo/.npm",npm_package_dependencies__types_react_syntax_highlighter:"^13.5.0",npm_package_browserslist_0:"> 1%",LOGNAME:"lexluo",npm_lifecycle_script:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource RUN_TYPE=local umi build",npm_config_color:"true",npm_package_devDependencies_gh_pages:"^3.0.0",npm_config_proxy:"",npm_config_package_lock:"true",npm_package_dependencies__antv_g6:"^4.8.14",LC_CTYPE:"zh_CN.UTF-8",CLASSPATH:"/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/lib/dt.jar:.",npm_config_package_lock_only:"",npm_config_fund:"true",npm_package_dependencies_react:"^17.0.0",npm_config_save_optional:"",npm_package_devDependencies__types_history:"^4.7.2",LERNA_PACKAGE_NAME:"supersonic-fe",npm_config_ignore_scripts:"",npm_config_user_agent:"npm/6.14.18 node/v14.21.3 darwin x64",npm_package_scripts_start_osdev:"cross-env REACT_APP_ENV=dev PORT=9000 MOCK=none APP_TARGET=opensource umi dev",npm_config_cache_lock_wait:"10000",npm_package_dependencies_qs:"^6.9.0",npm_config_production:"",npm_package_devDependencies__types_react_helmet:"^6.1.0",npm_config_send_metrics:"",npm_config_save_bundle:"",npm_package_scripts_build_inner:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=inner umi build",npm_package_scripts_build_os:"node .writeVersion.js && cross-env REACT_APP_ENV=prod APP_TARGET=opensource umi build",npm_config_umask:"0022",npm_config_node_options:"",npm_config_init_version:"1.0.0",npm_package_dependencies_antd:"^4.24.8",npm_package_lint_staged_______js_jsx_tsx_ts_less_md_json__0:"prettier --write",npm_config_init_author_name:"",npm_config_git:"git",npm_config_scope:"",npm_config_unsafe_perm:"true",npm_config_tmp:"/var/folders/66/9cgjv8qn3ddcp_5ztm_bk5vm0000gn/T",npm_config_onload_script:"",npm_package_dependencies_supersonic_chat_sdk:"^0.0.0",npm_package_scripts_test_all:"node ./tests/run-tests.js",npm_package_scripts_precommit:"lint-staged",npm_package_scripts_lint_staged:"lint-staged",npm_package_scripts_dev_inner:"npm run start:dev",M3_HOME:"/Users/lexluo/Downloads/apache-maven-3.6.3",npm_node_execpath:"/usr/local/bin/node",npm_config_prefix:"/usr/local",npm_config_link:"",npm_config_format_package_lock:"true",npm_package_devDependencies_jsdom_global:"^3.0.2",npm_package_dependencies__ant_design_pro_components:"^2.4.4",_:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/.bin/cross-env",REACT_APP_ENV:"prod",APP_TARGET:"opensource",RUN_TYPE:"local",NODE_ENV:"production",UMI_VERSION:"3.5.41",UMI_DIR:"/Users/lexluo/Work/open-source/supersonic_opensource/webapp/packages/supersonic-fe/node_modules/umi",API_BASE_URL:"/api/semantic/",CHAT_API_BASE_URL:"/api/chat/",AUTH_API_BASE_URL:"/api/auth/",tmeAvatarUrl:"http://tpp.tmeoa.com/photo/48/"}.APP_TARGET,Oe=function(){var Ie=Object(Le.a)(Object(Z.a)().mark(function Ye(Ze){var et,yt,jt,Ft,Ht;return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:return Jt.next=2,Object(If.v)({domainId:Ze});case 2:if(et=Jt.sent,yt=et.code,jt=et.msg,Ft=et.data,yt!==200){Jt.next=16;break}return ae(Ft),Ht=Object(Xe.a)({},Ft),Ht.admins=Ht.admins||[],Ht.viewers=Ht.viewers||[],Ht.viewOrgs=Ht.viewOrgs||[],Ht.isOpen=!!Ht.isOpen,P(Ht.isOpen),d.setFieldsValue(Ht),Jt.abrupt("return");case 16:Ee.default.error(jt);case 17:case"end":return Jt.stop()}},Ye)}));return function(Ze){return Ie.apply(this,arguments)}}();Object(fe.useEffect)(function(){Oe(ue)},[ue]);var ke=function(){var Ie=Object(Le.a)(Object(Z.a)().mark(function Ye(){var Ze,et,yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt;return Object(Z.a)().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:return or.next=2,d.validateFields();case 2:return Ze=or.sent,et=Ze.admins,yt=Ze.isOpen,jt=Ze.viewOrgs,Ft=jt===void 0?[]:jt,Ht=Ze.viewers,Gt=Ht===void 0?[]:Ht,Jt=Object(Xe.a)(Object(Xe.a)({},K),{},{admins:et,viewOrgs:Ft,viewers:Gt,isOpen:yt?1:0}),or.next=7,Object(If.I)(Jt);case 7:if(mn=or.sent,vn=mn.code,Yt=mn.msg,vn!==200){or.next=12;break}return or.abrupt("return");case 12:Ee.default.error(Yt);case 13:case"end":return or.stop()}},Ye)}));return function(){return Ie.apply(this,arguments)}}();return Object(le.jsx)(le.Fragment,{children:Object(le.jsxs)(Ot.a,{form:d,layout:"vertical",onValuesChange:function(Ye,Ze){var et=Ye.isOpen;et!==void 0&&P(et),ke(),o==null||o(Ye,Ze)},className:yv.a.form,children:[Object(le.jsx)(Lx,{hidden:!0,name:"groupId",label:"ID",children:Object(le.jsx)(_s.a,{placeholder:"groupId"})}),Object(le.jsx)(Lx,{name:"admins",label:Object(le.jsx)(YO.a,{title:"\u7BA1\u7406\u5458",subTitle:"\u7BA1\u7406\u5458\u5C06\u62E5\u6709\u4E3B\u9898\u57DF\u4E0B\u6240\u6709\u7F16\u8F91\u53CA\u8BBF\u95EE\u6743\u9650"}),children:Object(le.jsx)(XT,{placeholder:"\u8BF7\u9080\u8BF7\u56E2\u961F\u6210\u5458"})}),Object(le.jsx)(Ot.a.Item,{label:Object(le.jsx)(YO.a,{title:"\u8BBE\u4E3A\u516C\u5F00",subTitle:"\u516C\u5F00\u540E,\u6240\u6709\u7528\u6237\u5C06\u53EF\u4F7F\u7528\u4E3B\u9898\u57DF\u4E0B\u4F4E/\u4E2D\u654F\u611F\u5EA6\u8D44\u6E90\uFF0C\u9AD8\u654F\u611F\u5EA6\u8D44\u6E90\u9700\u901A\u8FC7\u8D44\u6E90\u5217\u8868\u8FDB\u884C\u6388\u6743"}),name:"isOpen",valuePropName:"checked",children:Object(le.jsx)(Cy.a,{})}),!b&&Object(le.jsxs)(le.Fragment,{children:[ve==="inner"&&Object(le.jsx)(Lx,{name:"viewOrgs",label:"\u6309\u7EC4\u7EC7",children:Object(le.jsx)(YT,{type:"selectedDepartment",treeSelectProps:{placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u6388\u6743\u7684\u90E8\u95E8"}})}),Object(le.jsx)(Lx,{name:"viewers",label:"\u6309\u4E2A\u4EBA",children:Object(le.jsx)(XT,{placeholder:"\u8BF7\u9009\u62E9\u9700\u8981\u6388\u6743\u7684\u4E2A\u4EBA"})})]})]})})},v1=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(kR),QO=function(){return Object(le.jsx)(le.Fragment,{children:Object(le.jsx)("div",{children:Object(le.jsxs)(lt.b,{direction:"vertical",style:{width:"100%"},size:20,children:[Object(le.jsx)(ZF.a,{title:"\u9080\u8BF7\u6210\u5458",bordered:!0,children:Object(le.jsx)(v1,{})}),Object(le.jsx)(ZT,{})]})})})},l6=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(QO),Xp=Ot.a.Item,u6=_s.a.TextArea,Fx=function(i,c){var o=i.domainId,t=i.dataBaseConfig,r=i.onSubmit,d=Ot.a.useForm(),v=Object(we.a)(d,1),g=v[0],b=Object(fe.useState)("h2"),P=Object(we.a)(b,2),I=P[0],V=P[1];Object(fe.useEffect)(function(){g.resetFields(),g.setFieldsValue(Object(Xe.a)({},t)),V(t==null?void 0:t.type)},[t]);var K=function(){var ve=Object(Le.a)(Object(Z.a)().mark(function Oe(){return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,g.validateFields();case 2:return Ie.abrupt("return",Ie.sent);case 3:case"end":return Ie.stop()}},Oe)}));return function(){return ve.apply(this,arguments)}}();Object(fe.useImperativeHandle)(c,function(){return{getFormValidateFields:K}});var ae=function(){var ve=Object(Le.a)(Object(Z.a)().mark(function Oe(){var ke,Ie,Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,g.validateFields();case 2:return ke=yt.sent,yt.next=5,Object(If.E)(Object(Xe.a)(Object(Xe.a)({},ke),{},{domainId:o}));case 5:if(Ie=yt.sent,Ye=Ie.code,Ze=Ie.msg,Ye!==200){yt.next=12;break}return Ee.default.success("\u4FDD\u5B58\u6210\u529F"),r==null||r(),yt.abrupt("return");case 12:Ee.default.error(Ze);case 13:case"end":return yt.stop()}},Oe)}));return function(){return ve.apply(this,arguments)}}(),ue=function(){var ve=Object(Le.a)(Object(Z.a)().mark(function Oe(){var ke,Ie,Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,g.validateFields();case 2:return ke=yt.sent,yt.next=5,Object(If.F)(Object(Xe.a)(Object(Xe.a)({},ke),{},{domainId:o}));case 5:if(Ie=yt.sent,Ye=Ie.code,Ze=Ie.data,!(Ye===200&&Ze)){yt.next=11;break}return Ee.default.success("\u8FDE\u63A5\u6D4B\u8BD5\u901A\u8FC7"),yt.abrupt("return");case 11:Ee.default.error("\u8FDE\u63A5\u6D4B\u8BD5\u5931\u8D25");case 12:case"end":return yt.stop()}},Oe)}));return function(){return ve.apply(this,arguments)}}();return Object(le.jsx)(le.Fragment,{children:Object(le.jsxs)(Ot.a,Object(Xe.a)(Object(Xe.a)({},GO.a),{},{form:g,layout:"vertical",className:yv.a.form,onValuesChange:function(Oe){var ke=Oe.type;ke&&V(ke)},children:[Object(le.jsx)(Xp,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"}],children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u540D\u79F0"})}),Object(le.jsx)(Xp,{name:"type",label:"\u6570\u636E\u5E93\u7C7B\u578B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93\u7C7B\u578B"}],children:Object(le.jsx)(jl.a,{style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93\u7C7B\u578B",options:[{value:"h2",label:"h2"},{value:"mysql",label:"mysql"},{value:"clickhouse",label:"clickhouse"}]})}),I==="h2"?Object(le.jsx)(Xp,{name:"url",label:"\u94FE\u63A5",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5"}],children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5"})}):Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(Xp,{name:"host",label:"host",rules:[{required:!0,message:"\u8BF7\u8F93\u5165IP"}],children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165IP"})}),Object(le.jsx)(Xp,{name:"port",label:"port",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7AEF\u53E3\u53F7"}],children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165\u7AEF\u53E3\u53F7"})})]}),Object(le.jsx)(Xp,{name:"username",label:"\u7528\u6237\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"}],children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"})}),Object(le.jsx)(Xp,{name:"password",label:"\u5BC6\u7801",children:Object(le.jsx)(_s.a.Password,{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"})}),Object(le.jsx)(Xp,{name:"database",label:"\u6570\u636E\u5E93\u540D\u79F0",children:Object(le.jsx)(_s.a,{placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u540D\u79F0"})}),Object(le.jsx)(Xp,{name:"description",label:"\u63CF\u8FF0",children:Object(le.jsx)(u6,{placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u63CF\u8FF0",style:{height:100}})}),Object(le.jsx)(Xp,{children:Object(le.jsxs)(lt.b,{children:[Object(le.jsx)(it.a,{type:"primary",onClick:function(){ue()},children:"\u8FDE\u63A5\u6D4B\u8BD5"}),Object(le.jsx)(it.a,{type:"primary",onClick:function(){ae()},children:"\u4FDD \u5B58"})]})})]}))})},Ux=Object(fe.forwardRef)(Fx),P_=function(i){var c=i.domainManger,o=i.dispatch,t=c.selectDomainId,r=c.dataBaseConfig,d=Object(fe.useRef)({});return Object(le.jsx)("div",{style:{width:800,margin:"0 auto"},children:Object(le.jsx)(lt.b,{direction:"vertical",style:{width:"100%"},size:20,children:Object(le.jsx)($e.a,{title:"\u6570\u636E\u5E93\u8BBE\u7F6E",bordered:!0,children:Object(le.jsx)(Ux,{ref:d,dataBaseConfig:r,domainId:Number(t),onSubmit:function(){o({type:"domainManger/queryDatabaseByDomainId",payload:{domainId:t}})}})})})})},Bm=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(P_),pW=l("/71f"),co=l("vlGe"),kh;(function(u){var i;(function(o){o.TOP="top",o.BOTTOM="bottom",o.RIGHT="right",o.LEFT="left"})(i=u.AnchorGroup||(u.AnchorGroup={}));var c;(function(o){o.INPUT="input",o.OUTPUT="output"})(c=u.AnchorType||(u.AnchorType={}))})(kh||(kh={}));/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var jR=function(i,c){return jR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var r in t)t.hasOwnProperty(r)&&(o[r]=t[r])},jR(i,c)};function mh(u,i){jR(u,i);function c(){this.constructor=u}u.prototype=i===null?Object.create(i):(c.prototype=i.prototype,new c)}var MR=function(){return MR=Object.assign||function(c){for(var o,t=1,r=arguments.length;t<r;t++){o=arguments[t];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(c[d]=o[d])}return c},MR.apply(this,arguments)};function bv(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c}function ls(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r}function d6(u,i){return function(c,o){i(c,o,u)}}function Es(u,i){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(u,i)}function la(u,i,c,o){function t(r){return r instanceof c?r:new c(function(d){d(r)})}return new(c||(c=Promise))(function(r,d){function v(P){try{b(o.next(P))}catch(I){d(I)}}function g(P){try{b(o.throw(P))}catch(I){d(I)}}function b(P){P.done?r(P.value):t(P.value).then(v,g)}b((o=o.apply(u,i||[])).next())})}function vW(u,i){var c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,t,r,d;return d={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function v(b){return function(P){return g([b,P])}}function g(b){if(o)throw new TypeError("Generator is already executing.");for(;c;)try{if(o=1,t&&(r=b[0]&2?t.return:b[0]?t.throw||((r=t.return)&&r.call(t),0):t.next)&&!(r=r.call(t,b[1])).done)return r;switch(t=0,r&&(b=[b[0]&2,r.value]),b[0]){case 0:case 1:r=b;break;case 4:return c.label++,{value:b[1],done:!1};case 5:c.label++,t=b[1],b=[0];continue;case 7:b=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(b[0]===6||b[0]===2)){c=0;continue}if(b[0]===3&&(!r||b[1]>r[0]&&b[1]<r[3])){c.label=b[1];break}if(b[0]===6&&c.label<r[1]){c.label=r[1],r=b;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(b);break}r[2]&&c.ops.pop(),c.trys.pop();continue}b=i.call(u,c)}catch(P){b=[6,P],t=0}finally{o=r=0}if(b[0]&5)throw b[1];return{value:b[0]?b[1]:void 0,done:!0}}}function sse(u,i,c,o){o===void 0&&(o=c),u[o]=i[c]}function hW(u,i){for(var c in u)c!=="default"&&!i.hasOwnProperty(c)&&(i[c]=u[c])}function $h(u){var i=typeof Symbol=="function"&&Symbol.iterator,c=i&&u[i],o=0;if(c)return c.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&o>=u.length&&(u=void 0),{value:u&&u[o++],done:!u}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function gW(u,i){var c=typeof Symbol=="function"&&u[Symbol.iterator];if(!c)return u;var o=c.call(u),t,r=[],d;try{for(;(i===void 0||i-- >0)&&!(t=o.next()).done;)r.push(t.value)}catch(v){d={error:v}}finally{try{t&&!t.done&&(c=o.return)&&c.call(o)}finally{if(d)throw d.error}}return r}function mW(){for(var u=[],i=0;i<arguments.length;i++)u=u.concat(gW(arguments[i]));return u}function Cg(){for(var u=0,i=0,c=arguments.length;i<c;i++)u+=arguments[i].length;for(var o=Array(u),t=0,i=0;i<c;i++)for(var r=arguments[i],d=0,v=r.length;d<v;d++,t++)o[t]=r[d];return o}function QT(u){return this instanceof QT?(this.v=u,this):new QT(u)}function cse(u,i,c){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=c.apply(u,i||[]),t,r=[];return t={},d("next"),d("throw"),d("return"),t[Symbol.asyncIterator]=function(){return this},t;function d(V){o[V]&&(t[V]=function(K){return new Promise(function(ae,ue){r.push([V,K,ae,ue])>1||v(V,K)})})}function v(V,K){try{g(o[V](K))}catch(ae){I(r[0][3],ae)}}function g(V){V.value instanceof QT?Promise.resolve(V.value.v).then(b,P):I(r[0][2],V)}function b(V){v("next",V)}function P(V){v("throw",V)}function I(V,K){V(K),r.shift(),r.length&&v(r[0][0],r[0][1])}}function _W(u){var i,c;return i={},o("next"),o("throw",function(t){throw t}),o("return"),i[Symbol.iterator]=function(){return this},i;function o(t,r){i[t]=u[t]?function(d){return(c=!c)?{value:QT(u[t](d)),done:t==="return"}:r?r(d):d}:r}}function _h(u){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=u[Symbol.asyncIterator],c;return i?i.call(u):(u=typeof $h=="function"?$h(u):u[Symbol.iterator](),c={},o("next"),o("throw"),o("return"),c[Symbol.asyncIterator]=function(){return this},c);function o(r){c[r]=u[r]&&function(d){return new Promise(function(v,g){d=u[r](d),t(v,g,d.done,d.value)})}}function t(r,d,v,g){Promise.resolve(g).then(function(b){r({value:b,done:v})},d)}}function Vg(u,i){return Object.defineProperty?Object.defineProperty(u,"raw",{value:i}):u.raw=i,u}function lse(u){if(u&&u.__esModule)return u;var i={};if(u!=null)for(var c in u)Object.hasOwnProperty.call(u,c)&&(i[c]=u[c]);return i.default=u,i}function yW(u){return u&&u.__esModule?u:{default:u}}function bW(u,i){if(!i.has(u))throw new TypeError("attempted to get private field on non-instance");return i.get(u)}function qT(u,i,c){if(!i.has(u))throw new TypeError("attempted to set private field on non-instance");return i.set(u,c),c}var use=l("mNvP"),iv=l("rAM+"),xi=l("fWQN"),Pi=l("mtLc"),eA=l("EVdn"),dv=l.n(eA),OW=l("si6p"),PR=!1,h1=!1,f6=!1,tA=!1,Ny=!1,Ly=!1,Bx=!1,Vx=!1,p6=!1,zx=!1,v6=!1,h6=!1,RR=!1,Hx=!1,Gx=!1,nA=!1;if(typeof navigator=="object"){var nh=navigator.userAgent;PR=nh.indexOf("Macintosh")>=0,h1=!!nh.match(/(iPad|iPhone|iPod)/g),f6=nh.indexOf("Windows")>=0,tA=nh.indexOf("MSIE")>=0,Ny=!!nh.match(/Trident\/7\./),Ly=!!nh.match(/Edge\//),Bx=nh.indexOf("Mozilla/")>=0&&nh.indexOf("MSIE")<0&&nh.indexOf("Edge/")<0,p6=nh.indexOf("Chrome/")>=0&&nh.indexOf("Edge/")<0,zx=nh.indexOf("Opera/")>=0||nh.indexOf("OPR/")>=0,v6=nh.indexOf("Firefox/")>=0,h6=nh.indexOf("AppleWebKit/")>=0&&nh.indexOf("Chrome/")<0&&nh.indexOf("Edge/")<0,typeof document=="object"&&(nA=!document.createElementNS||"".concat(document.createElementNS("http://www.w3.org/2000/svg","foreignObject"))!=="[object SVGForeignObjectElement]"||nh.indexOf("Opera/")>=0)}if(typeof window=="object"&&(Vx=window.chrome!=null&&window.chrome.app!=null&&window.chrome.app.runtime!=null,Hx=window.PointerEvent!=null&&!PR),typeof document=="object"){RR="ontouchstart"in document.documentElement;try{var CW=Object.defineProperty({},"passive",{get:function(){Gx=!0}}),DR=document.createElement("div");DR.addEventListener&&DR.addEventListener("click",function(){},CW)}catch(u){}}var Vf;if(function(u){u.IS_MAC=PR,u.IS_IOS=h1,u.IS_WINDOWS=f6,u.IS_IE=tA,u.IS_IE11=Ny,u.IS_EDGE=Ly,u.IS_NETSCAPE=Bx,u.IS_CHROME_APP=Vx,u.IS_CHROME=p6,u.IS_OPERA=zx,u.IS_FIREFOX=v6,u.IS_SAFARI=h6,u.SUPPORT_TOUCH=RR,u.SUPPORT_POINTER=Hx,u.SUPPORT_PASSIVE=Gx,u.NO_FOREIGNOBJECT=nA,u.SUPPORT_FOREIGNOBJECT=!u.NO_FOREIGNOBJECT}(Vf||(Vf={})),function(u){function i(){var r=window.module;return r!=null&&r.hot!=null&&r.hot.status!=null?r.hot.status():"unkonwn"}u.getHMRStatus=i;function c(){return i()==="apply"}u.isApplyingHMR=c;var o={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};function t(r){var d=document.createElement(o[r]||"div"),v="on".concat(r),g=v in d;return g||(d.setAttribute(v,"return;"),g=typeof d[v]=="function"),g}u.isEventSupported=t}(Vf||(Vf={})),Vf.SUPPORT_PASSIVE){dv.a.event.special.touchstart={setup:function(i,c,o){if(!this.addEventListener)return!1;this.addEventListener("touchstart",o,{passive:!0})}};var qO=dv.a.event.special.mousewheel;if(qO){var $x=qO.setup;qO.setup=function(){var u=this,i=this.addEventListener;if(!i)return!1;this.addEventListener=function(c,o){i.call(u,c,o,{passive:!0})},$x.call(this),this.addEventListener=i}}}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(u){u.forEach(function(i){Object.prototype.hasOwnProperty.call(i,"append")||Object.defineProperty(i,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){for(var o=document.createDocumentFragment(),t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];r.forEach(function(v){var g=v instanceof Node;o.appendChild(g?v:document.createTextNode(String(v)))}),this.appendChild(o)}})})}([Element.prototype,Document.prototype,DocumentFragment.prototype]);var g6=function(i){return i&&i===i.window},m6=function(i){return!Array.isArray(i)&&i-parseFloat(i)+1>=0},zg=Array.isArray,zv=zg,Wh=l("Ju5/"),EW=Wh.a.Symbol,ag=EW,A0=Object.prototype,Vm=A0.hasOwnProperty,rA=A0.toString,eC=ag?ag.toStringTag:void 0;function xW(u){var i=Vm.call(u,eC),c=u[eC];try{u[eC]=void 0;var o=!0}catch(r){}var t=rA.call(u);return o&&(i?u[eC]=c:delete u[eC]),t}var Wx=xW,IR=Object.prototype,_6=IR.toString;function tC(u){return _6.call(u)}var Kx=tC,y6="[object Null]",NR="[object Undefined]",b6=ag?ag.toStringTag:void 0;function nC(u){return u==null?u===void 0?NR:y6:b6&&b6 in Object(u)?Wx(u):Kx(u)}var gm=nC;function Fy(u){var i=typeof u;return u!=null&&(i=="object"||i=="function")}var rh=Fy,SW="[object AsyncFunction]",LR="[object Function]",O6="[object GeneratorFunction]",C6="[object Proxy]";function wW(u){if(!rh(u))return!1;var i=gm(u);return i==LR||i==O6||i==SW||i==C6}var aA=wW,TW=9007199254740991;function np(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=TW}var rC=np;function E6(u){return u!=null&&rC(u.length)&&!aA(u)}var k0=E6,FR=Wh.a["__core-js_shared__"],Uy=FR,aC=function(){var u=/[^.]+$/.exec(Uy&&Uy.keys&&Uy.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function x6(u){return!!aC&&aC in u}var S6=x6,AW=Function.prototype,w6=AW.toString;function T6(u){if(u!=null){try{return w6.call(u)}catch(i){}try{return u+""}catch(i){}}return""}var g1=T6,Yx=/[\\^$.*+?()[\]{}|]/g,kW=/^\[object .+?Constructor\]$/,jW=Function.prototype,iA=Object.prototype,MW=jW.toString,PW=iA.hasOwnProperty,RW=RegExp("^"+MW.call(PW).replace(Yx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function DW(u){if(!rh(u)||S6(u))return!1;var i=aA(u)?RW:kW;return i.test(g1(u))}var IW=DW;function NW(u,i){return u==null?void 0:u[i]}var LW=NW;function FW(u,i){var c=LW(u,i);return IW(c)?c:void 0}var m1=FW,A6=m1(Object,"create"),Xx=A6;function UW(){this.__data__=Xx?Xx(null):{},this.size=0}var Jx=UW;function k6(u){var i=this.has(u)&&delete this.__data__[u];return this.size-=i?1:0,i}var oA=k6,j6="__lodash_hash_undefined__",M6=Object.prototype,P6=M6.hasOwnProperty;function BW(u){var i=this.__data__;if(Xx){var c=i[u];return c===j6?void 0:c}return P6.call(i,u)?i[u]:void 0}var ig=BW,R6=Object.prototype,sA=R6.hasOwnProperty;function D6(u){var i=this.__data__;return Xx?i[u]!==void 0:sA.call(i,u)}var I6=D6,VW="__lodash_hash_undefined__";function zW(u,i){var c=this.__data__;return this.size+=this.has(u)?0:1,c[u]=Xx&&i===void 0?VW:i,this}var UR=zW;function _1(u){var i=-1,c=u==null?0:u.length;for(this.clear();++i<c;){var o=u[i];this.set(o[0],o[1])}}_1.prototype.clear=Jx,_1.prototype.delete=oA,_1.prototype.get=ig,_1.prototype.has=I6,_1.prototype.set=UR;var N6=_1;function HW(){this.__data__=[],this.size=0}var BR=HW;function Zx(u,i){return u===i||u!==u&&i!==i}var By=Zx;function L6(u,i){for(var c=u.length;c--;)if(By(u[c][0],i))return c;return-1}var j0=L6,GW=Array.prototype,y1=GW.splice;function $W(u){var i=this.__data__,c=j0(i,u);if(c<0)return!1;var o=i.length-1;return c==o?i.pop():y1.call(i,c,1),--this.size,!0}var WW=$W;function KW(u){var i=this.__data__,c=j0(i,u);return c<0?void 0:i[c][1]}var YW=KW;function XW(u){return j0(this.__data__,u)>-1}var JW=XW;function ZW(u,i){var c=this.__data__,o=j0(c,u);return o<0?(++this.size,c.push([u,i])):c[o][1]=i,this}var QW=ZW;function iC(u){var i=-1,c=u==null?0:u.length;for(this.clear();++i<c;){var o=u[i];this.set(o[0],o[1])}}iC.prototype.clear=BR,iC.prototype.delete=WW,iC.prototype.get=YW,iC.prototype.has=JW,iC.prototype.set=QW;var cA=iC,lA=m1(Wh.a,"Map"),Qx=lA;function qW(){this.size=0,this.__data__={hash:new N6,map:new(Qx||cA),string:new N6}}var Rv=qW;function qx(u){var i=typeof u;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?u!=="__proto__":u===null}var oC=qx;function b1(u,i){var c=u.__data__;return oC(i)?c[typeof i=="string"?"string":"hash"]:c.map}var uA=b1;function eK(u){var i=uA(this,u).delete(u);return this.size-=i?1:0,i}var VR=eK;function tK(u){return uA(this,u).get(u)}var dA=tK;function sC(u){return uA(this,u).has(u)}var nK=sC;function zR(u,i){var c=uA(this,u),o=c.size;return c.set(u,i),this.size+=c.size==o?0:1,this}var rK=zR;function M0(u){var i=-1,c=u==null?0:u.length;for(this.clear();++i<c;){var o=u[i];this.set(o[0],o[1])}}M0.prototype.clear=Rv,M0.prototype.delete=VR,M0.prototype.get=dA,M0.prototype.has=nK,M0.prototype.set=rK;var eS=M0,fA="__lodash_hash_undefined__";function F6(u){return this.__data__.set(u,fA),this}var U6=F6;function HR(u){return this.__data__.has(u)}var aK=HR;function pA(u){var i=-1,c=u==null?0:u.length;for(this.__data__=new eS;++i<c;)this.add(u[i])}pA.prototype.add=pA.prototype.push=U6,pA.prototype.has=aK;var GR=pA;function B6(u,i,c,o){for(var t=u.length,r=c+(o?1:-1);o?r--:++r<t;)if(i(u[r],r,u))return r;return-1}var V6=B6;function z6(u){return u!==u}var H6=z6;function iK(u,i,c){for(var o=c-1,t=u.length;++o<t;)if(u[o]===i)return o;return-1}var G6=iK;function oK(u,i,c){return i===i?G6(u,i,c):V6(u,H6,c)}var sK=oK;function $6(u,i){var c=u==null?0:u.length;return!!c&&sK(u,i,0)>-1}var $R=$6;function W6(u,i,c){for(var o=-1,t=u==null?0:u.length;++o<t;)if(c(i,u[o]))return!0;return!1}var WR=W6;function cK(u,i){return u.has(i)}var Kh=cK,tS=m1(Wh.a,"Set"),O1=tS;function C1(){}var K6=C1;function KR(u){var i=-1,c=Array(u.size);return u.forEach(function(o){c[++i]=o}),c}var vA=KR,Y6=1/0,cC=O1&&1/vA(new O1([,-0]))[1]==Y6?function(u){return new O1(u)}:K6,X6=cC,J6=200;function lK(u,i,c){var o=-1,t=$R,r=u.length,d=!0,v=[],g=v;if(c)d=!1,t=WR;else if(r>=J6){var b=i?null:X6(u);if(b)return vA(b);d=!1,t=Kh,g=new GR}else g=i?[]:v;e:for(;++o<r;){var P=u[o],I=i?i(P):P;if(P=c||P!==0?P:0,d&&I===I){for(var V=g.length;V--;)if(g[V]===I)continue e;i&&g.push(I),v.push(P)}else t(g,I,c)||(g!==v&&g.push(I),v.push(P))}return v}var Z6=lK;function Q6(u){return u&&u.length?Z6(u):[]}var uK=Q6;function dK(u,i){for(var c=-1,o=i.length,t=u.length;++c<o;)u[t+c]=i[c];return u}var Hg=dK;function q6(u){return u!=null&&typeof u=="object"}var Eg=q6,e5="[object Arguments]";function dse(u){return Eg(u)&&gm(u)==e5}var fK=dse,t5=Object.prototype,pK=t5.hasOwnProperty,vK=t5.propertyIsEnumerable,hK=fK(function(){return arguments}())?fK:function(u){return Eg(u)&&pK.call(u,"callee")&&!vK.call(u,"callee")},lC=hK,n5=ag?ag.isConcatSpreadable:void 0;function r5(u){return zv(u)||lC(u)||!!(n5&&u&&u[n5])}var gK=r5;function hA(u,i,c,o,t){var r=-1,d=u.length;for(c||(c=gK),t||(t=[]);++r<d;){var v=u[r];i>0&&c(v)?i>1?hA(v,i-1,c,o,t):Hg(t,v):o||(t[t.length]=v)}return t}var nS=hA;function mK(u){return u}var R_=mK;function _K(u,i,c){switch(c.length){case 0:return u.call(i);case 1:return u.call(i,c[0]);case 2:return u.call(i,c[0],c[1]);case 3:return u.call(i,c[0],c[1],c[2])}return u.apply(i,c)}var YR=_K,a5=Math.max;function i5(u,i,c){return i=a5(i===void 0?u.length-1:i,0),function(){for(var o=arguments,t=-1,r=a5(o.length-i,0),d=Array(r);++t<r;)d[t]=o[i+t];t=-1;for(var v=Array(i+1);++t<i;)v[t]=o[t];return v[i]=c(d),YR(u,this,v)}}var o5=i5;function Yh(u){return function(){return u}}var xg=Yh,XR=function(){try{var u=m1(Object,"defineProperty");return u({},"",{}),u}catch(i){}}(),rS=XR,JR=rS?function(u,i){return rS(u,"toString",{configurable:!0,enumerable:!1,value:xg(i),writable:!0})}:R_,s5=JR,yK=800,bK=16,c5=Date.now;function l5(u){var i=0,c=0;return function(){var o=c5(),t=bK-(o-c);if(c=o,t>0){if(++i>=yK)return arguments[0]}else i=0;return u.apply(void 0,arguments)}}var u5=l5,d5=u5(s5),ZR=d5;function uC(u,i){return ZR(o5(u,i,R_),u+"")}var D_=uC;function gA(u){return Eg(u)&&k0(u)}var zm=gA,QR=D_(function(u){return Z6(nS(u,1,zm,!0))}),qR=QR,eD="[object Symbol]";function aS(u){return typeof u=="symbol"||Eg(u)&&gm(u)==eD}var Sg=aS,f5=4294967295,p5=f5-1,tD=Math.floor,v5=Math.min;function mA(u,i,c,o){var t=0,r=u==null?0:u.length;if(r===0)return 0;i=c(i);for(var d=i!==i,v=i===null,g=Sg(i),b=i===void 0;t<r;){var P=tD((t+r)/2),I=c(u[P]),V=I!==void 0,K=I===null,ae=I===I,ue=Sg(I);if(d)var ve=o||ae;else b?ve=ae&&(o||V):v?ve=ae&&V&&(o||!K):g?ve=ae&&V&&!K&&(o||!ue):K||ue?ve=!1:ve=o?I<=i:I<i;ve?t=P+1:r=P}return v5(r,p5)}var nD=mA,h5=4294967295,mm=h5>>>1;function g5(u,i,c){var o=0,t=u==null?o:u.length;if(typeof i=="number"&&i===i&&t<=mm){for(;o<t;){var r=o+t>>>1,d=u[r];d!==null&&!Sg(d)&&(c?d<=i:d<i)?o=r+1:t=r}return t}return nD(u,i,R_,c)}var _A=g5;function rD(u,i){return _A(u,i)}var OK=rD;function Gg(){this.__data__=new cA,this.size=0}var yA=Gg;function iS(u){var i=this.__data__,c=i.delete(u);return this.size=i.size,c}var aD=iS;function iD(u){return this.__data__.get(u)}var bA=iD;function m5(u){return this.__data__.has(u)}var oD=m5,E1=200;function OA(u,i){var c=this.__data__;if(c instanceof cA){var o=c.__data__;if(!Qx||o.length<E1-1)return o.push([u,i]),this.size=++c.size,this;c=this.__data__=new eS(o)}return c.set(u,i),this.size=c.size,this}var CK=OA;function dC(u){var i=this.__data__=new cA(u);this.size=i.size}dC.prototype.clear=yA,dC.prototype.delete=aD,dC.prototype.get=bA,dC.prototype.has=oD,dC.prototype.set=CK;var Vy=dC;function _5(u,i){for(var c=-1,o=u==null?0:u.length;++c<o;)if(i(u[c],c,u))return!0;return!1}var fse=_5,EK=1,pse=2;function vse(u,i,c,o,t,r){var d=c&EK,v=u.length,g=i.length;if(v!=g&&!(d&&g>v))return!1;var b=r.get(u),P=r.get(i);if(b&&P)return b==i&&P==u;var I=-1,V=!0,K=c&pse?new GR:void 0;for(r.set(u,i),r.set(i,u);++I<v;){var ae=u[I],ue=i[I];if(o)var ve=d?o(ue,ae,I,i,u,r):o(ae,ue,I,u,i,r);if(ve!==void 0){if(ve)continue;V=!1;break}if(K){if(!fse(i,function(Oe,ke){if(!Kh(K,ke)&&(ae===Oe||t(ae,Oe,c,o,r)))return K.push(ke)})){V=!1;break}}else if(!(ae===ue||t(ae,ue,c,o,r))){V=!1;break}}return r.delete(u),r.delete(i),V}var sD=vse,hse=Wh.a.Uint8Array,oS=hse;function y5(u){var i=-1,c=Array(u.size);return u.forEach(function(o,t){c[++i]=[t,o]}),c}var b5=y5,xK=1,SK=2,cD="[object Boolean]",I_="[object Date]",wK="[object Error]",gse="[object Map]",TK="[object Number]",x1="[object RegExp]",O5="[object Set]",lD="[object String]",C5="[object Symbol]",mse="[object ArrayBuffer]",AK="[object DataView]",kK=ag?ag.prototype:void 0,uD=kK?kK.valueOf:void 0;function _se(u,i,c,o,t,r,d){switch(c){case AK:if(u.byteLength!=i.byteLength||u.byteOffset!=i.byteOffset)return!1;u=u.buffer,i=i.buffer;case mse:return!(u.byteLength!=i.byteLength||!r(new oS(u),new oS(i)));case cD:case I_:case TK:return By(+u,+i);case wK:return u.name==i.name&&u.message==i.message;case x1:case lD:return u==i+"";case gse:var v=b5;case O5:var g=o&xK;if(v||(v=vA),u.size!=i.size&&!g)return!1;var b=d.get(u);if(b)return b==i;o|=SK,d.set(u,i);var P=sD(v(u),v(i),o,t,r,d);return d.delete(u),P;case C5:if(uD)return uD.call(u)==uD.call(i)}return!1}var E5=_se;function jK(u,i,c){var o=i(u);return zv(u)?o:Hg(o,c(u))}var Dd=jK;function yse(u,i){for(var c=-1,o=u==null?0:u.length,t=0,r=[];++c<o;){var d=u[c];i(d,c,u)&&(r[t++]=d)}return r}var bse=yse;function Ose(){return[]}var MK=Ose,sS=Object.prototype,S1=sS.propertyIsEnumerable,x5=Object.getOwnPropertySymbols,PK=x5?function(u){return u==null?[]:(u=Object(u),bse(x5(u),function(i){return S1.call(u,i)}))}:MK,dD=PK;function CA(u,i){for(var c=-1,o=Array(u);++c<u;)o[c]=i(c);return o}var S5=CA,Xh=l("WOAq"),RK=9007199254740991,DK=/^(?:0|[1-9]\d*)$/;function Hm(u,i){var c=typeof u;return i=i==null?RK:i,!!i&&(c=="number"||c!="symbol"&&DK.test(u))&&u>-1&&u%1==0&&u<i}var Xf=Hm,Ov="[object Arguments]",N_="[object Array]",L_="[object Boolean]",w5="[object Date]",EA="[object Error]",og="[object Function]",T5="[object Map]",IK="[object Number]",A5="[object Object]",NK="[object RegExp]",fD="[object Set]",pD="[object String]",k5="[object WeakMap]",j5="[object ArrayBuffer]",LK="[object DataView]",M5="[object Float32Array]",P5="[object Float64Array]",FK="[object Int8Array]",UK="[object Int16Array]",R5="[object Int32Array]",$g="[object Uint8Array]",vD="[object Uint8ClampedArray]",BK="[object Uint16Array]",xA="[object Uint32Array]",Cp={};Cp[M5]=Cp[P5]=Cp[FK]=Cp[UK]=Cp[R5]=Cp[$g]=Cp[vD]=Cp[BK]=Cp[xA]=!0,Cp[Ov]=Cp[N_]=Cp[j5]=Cp[L_]=Cp[LK]=Cp[w5]=Cp[EA]=Cp[og]=Cp[T5]=Cp[IK]=Cp[A5]=Cp[NK]=Cp[fD]=Cp[pD]=Cp[k5]=!1;function VK(u){return Eg(u)&&rC(u.length)&&!!Cp[gm(u)]}var zK=VK;function hD(u){return function(i){return u(i)}}var w1=hD,P0=l("xutz"),D5=P0.a&&P0.a.isTypedArray,gD=D5?w1(D5):zK,cS=gD,T1=Object.prototype,SA=T1.hasOwnProperty;function HK(u,i){var c=zv(u),o=!c&&lC(u),t=!c&&!o&&Object(Xh.a)(u),r=!c&&!o&&!t&&cS(u),d=c||o||t||r,v=d?S5(u.length,String):[],g=v.length;for(var b in u)(i||SA.call(u,b))&&!(d&&(b=="length"||t&&(b=="offset"||b=="parent")||r&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||Xf(b,g)))&&v.push(b);return v}var I5=HK,GK=Object.prototype;function $K(u){var i=u&&u.constructor,c=typeof i=="function"&&i.prototype||GK;return u===c}var wA=$K;function WK(u,i){return function(c){return u(i(c))}}var TA=WK,mD=TA(Object.keys,Object),N5=mD,A1=Object.prototype,KK=A1.hasOwnProperty;function YK(u){if(!wA(u))return N5(u);var i=[];for(var c in Object(u))KK.call(u,c)&&c!="constructor"&&i.push(c);return i}var _D=YK;function lS(u){return k0(u)?I5(u):_D(u)}var fC=lS;function XK(u){return Dd(u,fC,dD)}var yD=XK,bD=1,JK=Object.prototype,ZK=JK.hasOwnProperty;function L5(u,i,c,o,t,r){var d=c&bD,v=yD(u),g=v.length,b=yD(i),P=b.length;if(g!=P&&!d)return!1;for(var I=g;I--;){var V=v[I];if(!(d?V in i:ZK.call(i,V)))return!1}var K=r.get(u),ae=r.get(i);if(K&&ae)return K==i&&ae==u;var ue=!0;r.set(u,i),r.set(i,u);for(var ve=d;++I<g;){V=v[I];var Oe=u[V],ke=i[V];if(o)var Ie=d?o(ke,Oe,V,i,u,r):o(Oe,ke,V,u,i,r);if(!(Ie===void 0?Oe===ke||t(Oe,ke,c,o,r):Ie)){ue=!1;break}ve||(ve=V=="constructor")}if(ue&&!ve){var Ye=u.constructor,Ze=i.constructor;Ye!=Ze&&"constructor"in u&&"constructor"in i&&!(typeof Ye=="function"&&Ye instanceof Ye&&typeof Ze=="function"&&Ze instanceof Ze)&&(ue=!1)}return r.delete(u),r.delete(i),ue}var F5=L5,QK=m1(Wh.a,"DataView"),OD=QK,U5=m1(Wh.a,"Promise"),Dv=U5,qK=m1(Wh.a,"WeakMap"),CD=qK,AA="[object Map]",eY="[object Object]",kA="[object Promise]",ED="[object Set]",xD="[object WeakMap]",zy="[object DataView]",tY=g1(OD),nY=g1(Qx),rY=g1(Dv),B5=g1(O1),aY=g1(CD),Hy=gm;(OD&&Hy(new OD(new ArrayBuffer(1)))!=zy||Qx&&Hy(new Qx)!=AA||Dv&&Hy(Dv.resolve())!=kA||O1&&Hy(new O1)!=ED||CD&&Hy(new CD)!=xD)&&(Hy=function(i){var c=gm(i),o=c==eY?i.constructor:void 0,t=o?g1(o):"";if(t)switch(t){case tY:return zy;case nY:return AA;case rY:return kA;case B5:return ED;case aY:return xD}return c});var R0=Hy,uS=1,SD="[object Arguments]",wD="[object Array]",pC="[object Object]",V5=Object.prototype,z5=V5.hasOwnProperty;function TD(u,i,c,o,t,r){var d=zv(u),v=zv(i),g=d?wD:R0(u),b=v?wD:R0(i);g=g==SD?pC:g,b=b==SD?pC:b;var P=g==pC,I=b==pC,V=g==b;if(V&&Object(Xh.a)(u)){if(!Object(Xh.a)(i))return!1;d=!0,P=!1}if(V&&!P)return r||(r=new Vy),d||cS(u)?sD(u,i,c,o,t,r):E5(u,i,g,c,o,t,r);if(!(c&uS)){var K=P&&z5.call(u,"__wrapped__"),ae=I&&z5.call(i,"__wrapped__");if(K||ae){var ue=K?u.value():u,ve=ae?i.value():i;return r||(r=new Vy),t(ue,ve,c,o,r)}}return V?(r||(r=new Vy),F5(u,i,c,o,t,r)):!1}var H5=TD;function AD(u,i,c,o,t){return u===i?!0:u==null||i==null||!Eg(u)&&!Eg(i)?u!==u&&i!==i:H5(u,i,c,o,AD,t)}var kD=AD,iY=1,oY=2;function G5(u,i,c,o){var t=c.length,r=t,d=!o;if(u==null)return!r;for(u=Object(u);t--;){var v=c[t];if(d&&v[2]?v[1]!==u[v[0]]:!(v[0]in u))return!1}for(;++t<r;){v=c[t];var g=v[0],b=u[g],P=v[1];if(d&&v[2]){if(b===void 0&&!(g in u))return!1}else{var I=new Vy;if(o)var V=o(b,P,g,u,i,I);if(!(V===void 0?kD(P,b,iY|oY,o,I):V))return!1}}return!0}var sY=G5;function cY(u){return u===u&&!rh(u)}var jD=cY;function lY(u){for(var i=fC(u),c=i.length;c--;){var o=i[c],t=u[o];i[c]=[o,t,jD(t)]}return i}var $5=lY;function W5(u,i){return function(c){return c==null?!1:c[u]===i&&(i!==void 0||u in Object(c))}}var K5=W5;function Y5(u){var i=$5(u);return i.length==1&&i[0][2]?K5(i[0][0],i[0][1]):function(c){return c===u||sY(c,u,i)}}var Cse=Y5,k1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X5=/^\w*$/;function J5(u,i){if(zv(u))return!1;var c=typeof u;return c=="number"||c=="symbol"||c=="boolean"||u==null||Sg(u)?!0:X5.test(u)||!k1.test(u)||i!=null&&u in Object(i)}var jA=J5,Z5="Expected a function";function Q5(u,i){if(typeof u!="function"||i!=null&&typeof i!="function")throw new TypeError(Z5);var c=function o(){var t=arguments,r=i?i.apply(this,t):t[0],d=o.cache;if(d.has(r))return d.get(r);var v=u.apply(this,t);return o.cache=d.set(r,v)||d,v};return c.cache=new(Q5.Cache||eS),c}Q5.Cache=eS;var MD=Q5,Ese=500;function xse(u){var i=MD(u,function(o){return c.size===Ese&&c.clear(),o}),c=i.cache;return i}var Sse=xse,wse=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q5=/\\(\\)?/g,uY=Sse(function(u){var i=[];return u.charCodeAt(0)===46&&i.push(""),u.replace(wse,function(c,o,t,r){i.push(t?r.replace(q5,"$1"):o||c)}),i}),dY=uY;function PD(u,i){for(var c=-1,o=u==null?0:u.length,t=Array(o);++c<o;)t[c]=i(u[c],c,u);return t}var sg=PD,fY=1/0,vC=ag?ag.prototype:void 0,hC=vC?vC.toString:void 0;function RD(u){if(typeof u=="string")return u;if(zv(u))return sg(u,RD)+"";if(Sg(u))return hC?hC.call(u):"";var i=u+"";return i=="0"&&1/u==-fY?"-0":i}var F_=RD;function DD(u){return u==null?"":F_(u)}var Hv=DD;function gC(u,i){return zv(u)?u:jA(u,i)?[u]:dY(Hv(u))}var MA=gC,pY=1/0;function vY(u){if(typeof u=="string"||Sg(u))return u;var i=u+"";return i=="0"&&1/u==-pY?"-0":i}var mC=vY;function hY(u,i){i=MA(i,u);for(var c=0,o=i.length;u!=null&&c<o;)u=u[mC(i[c++])];return c&&c==o?u:void 0}var PA=hY;function gY(u,i,c){var o=u==null?void 0:PA(u,i);return o===void 0?c:o}var dS=gY;function e8(u,i){return u!=null&&i in Object(u)}var mY=e8;function D0(u,i,c){i=MA(i,u);for(var o=-1,t=i.length,r=!1;++o<t;){var d=mC(i[o]);if(!(r=u!=null&&c(u,d)))break;u=u[d]}return r||++o!=t?r:(t=u==null?0:u.length,!!t&&rC(t)&&Xf(d,t)&&(zv(u)||lC(u)))}var t8=D0;function _Y(u,i){return u!=null&&t8(u,i,mY)}var RA=_Y,DA=1,yY=2;function bY(u,i){return jA(u)&&jD(i)?K5(mC(u),i):function(c){var o=dS(c,u);return o===void 0&&o===i?RA(c,u):kD(i,o,DA|yY)}}var IA=bY;function OY(u){return function(i){return i==null?void 0:i[u]}}var n8=OY;function r8(u){return function(i){return PA(i,u)}}var a8=r8;function i8(u){return jA(u)?n8(mC(u)):a8(u)}var o8=i8;function s8(u){return typeof u=="function"?u:u==null?R_:typeof u=="object"?zv(u)?IA(u[0],u[1]):Cse(u):o8(u)}var j1=s8;function Gy(u,i,c){return nD(u,i,j1(c,2))}var CY=Gy;function EY(u){return function(i,c,o){for(var t=-1,r=Object(i),d=o(i),v=d.length;v--;){var g=d[u?v:++t];if(c(r[g],g,r)===!1)break}return i}}var c8=EY,xY=c8(),ID=xY;function l8(u,i){return u&&ID(u,i,fC)}var NA=l8;function fS(u,i){return function(c,o){if(c==null)return c;if(!k0(c))return u(c,o);for(var t=c.length,r=i?t:-1,d=Object(c);(i?r--:++r<t)&&o(d[r],r,d)!==!1;);return c}}var pS=fS,ND=pS(NA),vS=ND;function LD(u,i){var c=-1,o=k0(u)?Array(u.length):[];return vS(u,function(t,r,d){o[++c]=i(t,r,d)}),o}var SY=LD;function cg(u,i){var c=u.length;for(u.sort(i);c--;)u[c]=u[c].value;return u}var Tse=cg;function _C(u,i){if(u!==i){var c=u!==void 0,o=u===null,t=u===u,r=Sg(u),d=i!==void 0,v=i===null,g=i===i,b=Sg(i);if(!v&&!b&&!r&&u>i||r&&d&&g&&!v&&!b||o&&d&&g||!c&&g||!t)return 1;if(!o&&!r&&!b&&u<i||b&&c&&t&&!o&&!r||v&&c&&t||!d&&t||!g)return-1}return 0}var wY=_C;function TY(u,i,c){for(var o=-1,t=u.criteria,r=i.criteria,d=t.length,v=c.length;++o<d;){var g=wY(t[o],r[o]);if(g){if(o>=v)return g;var b=c[o];return g*(b=="desc"?-1:1)}}return u.index-i.index}var AY=TY;function kY(u,i,c){i.length?i=sg(i,function(r){return zv(r)?function(d){return PA(d,r.length===1?r[0]:r)}:r}):i=[R_];var o=-1;i=sg(i,w1(j1));var t=SY(u,function(r,d,v){var g=sg(i,function(b){return b(r)});return{criteria:g,index:++o,value:r}});return Tse(t,function(r,d){return AY(r,d,c)})}var jY=kY;function MY(u,i,c){if(!rh(c))return!1;var o=typeof i;return(o=="number"?k0(c)&&Xf(i,c.length):o=="string"&&i in c)?By(c[i],u):!1}var _m=MY,PY=D_(function(u,i){if(u==null)return[];var c=i.length;return c>1&&_m(u,i[0],i[1])?i=[]:c>2&&_m(i[0],i[1],i[2])&&(i=[i[0]]),jY(u,nS(i,1),[])}),RY=PY;function $y(u,i,c){i=="__proto__"&&rS?rS(u,i,{configurable:!0,enumerable:!0,value:c,writable:!0}):u[i]=c}var hS=$y;function DY(u,i,c,o){for(var t=-1,r=u==null?0:u.length;++t<r;){var d=u[t];i(o,d,c(d),u)}return o}var IY=DY;function NY(u,i,c,o){return vS(u,function(t,r,d){i(o,t,c(t),d)}),o}var LY=NY;function FY(u,i){return function(c,o){var t=zv(c)?IY:LY,r=i?i():{};return t(c,u,j1(o,2),r)}}var I0=FY,UY=Object.prototype,BY=UY.hasOwnProperty,yC=I0(function(u,i,c){BY.call(u,c)?u[c].push(i):hS(u,c,[i])}),u8=yC,VY=200;function zY(u,i,c,o){var t=-1,r=$R,d=!0,v=u.length,g=[],b=i.length;if(!v)return g;c&&(i=sg(i,w1(c))),o?(r=WR,d=!1):i.length>=VY&&(r=Kh,d=!1,i=new GR(i));e:for(;++t<v;){var P=u[t],I=c==null?P:c(P);if(P=o||P!==0?P:0,d&&I===I){for(var V=b;V--;)if(i[V]===I)continue e;g.push(P)}else r(i,I,o)||g.push(P)}return g}var gS=zY,FD=D_(function(u,i){return zm(u)?gS(u,nS(i,1,zm,!0)):[]}),d8=FD;function f8(u,i,c){for(var o=-1,t=u.length;++o<t;){var r=u[o],d=i(r);if(d!=null&&(v===void 0?d===d&&!Sg(d):c(d,v)))var v=d,g=r}return g}var HY=f8;function mS(u,i){return u>i}var p8=mS;function GY(u){return u&&u.length?HY(u,R_,p8):void 0}var v8=GY;function h8(u,i,c){for(var o=g8(u,c),t=g8(i,c),r=t.free,d=o.keyIndex,v=t.keyIndex,g=[],b=[],P=0,I,V,K=0;P<u.length;){if(I=u[P],V=I[c],V)if(!v.hasOwnProperty(V))b.push(null);else{var ae=v[V];b.push(i[ae])}else{K+=1;var ue=r[K];b.push(ue||null)}P+=1}var ve=b.slice(0);for(P=0;P<ve.length;)ve[P]===null?(yt(P),Ft(P)):P+=1;for(var Oe=P=0;P<i.length;){I=i[P],V=I[c];var ke=ve[Oe];if(ke){var Ie=ke[c];if(V===Ie)Oe+=1;else if(!d.hasOwnProperty(V))jt(P,I);else{var Ye=ve[Oe+1];if(Ye){var Ze=Ye[c];Ze===V?(yt(P),Ft(Oe),Oe+=1):jt(P,I)}}}else jt(P,I);P+=1}for(var et=ve.length-Oe;(Oe+=1)<ve.length;)et-=1,yt(et+P);function yt(Ht){var Gt={index:Ht,type:0,item:null};g.push(Gt)}function jt(Ht,Gt){var Jt={index:Ht,item:Gt,type:1};g.push(Jt)}function Ft(Ht){ve.splice(Ht,1)}return{moves:g}}function g8(u,i){for(var c={},o=[],t=0,r=u.length;t<r;t+=1){var d=u[t],v=d[i];v?c[v]=t:o.push(d)}return{keyIndex:c,free:o}}var U_=Object.prototype,$Y=U_.hasOwnProperty;function WY(u,i){return u!=null&&$Y.call(u,i)}var Wy=WY;function Ky(u,i){return u!=null&&t8(u,i,Wy)}var M1=Ky,UD=Object.prototype,m8=UD.hasOwnProperty;function KY(u,i,c){var o=u[i];(!(m8.call(u,i)&&By(o,c))||c===void 0&&!(i in u))&&hS(u,i,c)}var BD=KY;function _8(u,i,c,o){if(!rh(u))return u;i=MA(i,u);for(var t=-1,r=i.length,d=r-1,v=u;v!=null&&++t<r;){var g=mC(i[t]),b=c;if(g==="__proto__"||g==="constructor"||g==="prototype")return u;if(t!=d){var P=v[g];b=o?o(P,g,v):void 0,b===void 0&&(b=rh(P)?P:Xf(i[t+1])?[]:{})}BD(v,g,b),v=v[g]}return u}var y8=_8;function b8(u,i,c){for(var o=-1,t=i.length,r={};++o<t;){var d=i[o],v=PA(u,d);c(v,d)&&y8(r,MA(d,u),v)}return r}var LA=b8;function P1(u,i){return LA(u,i,function(c,o){return RA(u,o)})}var O8=P1;function C8(u){var i=u==null?0:u.length;return i?nS(u,1):[]}var E8=C8;function x8(u){return ZR(o5(u,void 0,E8),u+"")}var YY=x8,Yy=YY(function(u,i){return u==null?{}:O8(u,i)}),XY=Yy;function JY(u){return typeof u=="function"?u:R_}var ZY=JY;function QY(u){var i=[];if(u!=null)for(var c in Object(u))i.push(c);return i}var qY=QY,eX=Object.prototype,S8=eX.hasOwnProperty;function tX(u){if(!rh(u))return qY(u);var i=wA(u),c=[];for(var o in u)o=="constructor"&&(i||!S8.call(u,o))||c.push(o);return c}var w8=tX;function VD(u){return k0(u)?I5(u,!0):w8(u)}var N0=VD;function nX(u,i){return u==null?u:ID(u,ZY(i),N0)}var rX=nX;function _S(u,i,c){(c!==void 0&&!By(u[i],c)||c===void 0&&!(i in u))&&hS(u,i,c)}var zD=_S,T8=l("3/ER");function A8(u){var i=new u.constructor(u.byteLength);return new oS(i).set(new oS(u)),i}var HD=A8;function GD(u,i){var c=i?HD(u.buffer):u.buffer;return new u.constructor(c,u.byteOffset,u.length)}var FA=GD;function $D(u,i){var c=-1,o=u.length;for(i||(i=Array(o));++c<o;)i[c]=u[c];return i}var k8=$D,WD=Object.create,aX=function(){function u(){}return function(i){if(!rh(i))return{};if(WD)return WD(i);u.prototype=i;var c=new u;return u.prototype=void 0,c}}(),j8=aX,M8=TA(Object.getPrototypeOf,Object),KD=M8;function P8(u){return typeof u.constructor=="function"&&!wA(u)?j8(KD(u)):{}}var YD=P8,R8="[object Object]",D8=Function.prototype,iX=Object.prototype,XD=D8.toString,UA=iX.hasOwnProperty,oX=XD.call(Object);function sX(u){if(!Eg(u)||gm(u)!=R8)return!1;var i=KD(u);if(i===null)return!0;var c=UA.call(i,"constructor")&&i.constructor;return typeof c=="function"&&c instanceof c&&XD.call(c)==oX}var JD=sX;function cX(u,i){if(!(i==="constructor"&&typeof u[i]=="function")&&i!="__proto__")return u[i]}var bC=cX;function lX(u,i,c,o){var t=!c;c||(c={});for(var r=-1,d=i.length;++r<d;){var v=i[r],g=o?o(c[v],u[v],v,c,u):void 0;g===void 0&&(g=u[v]),t?hS(c,v,g):BD(c,v,g)}return c}var R1=lX;function BA(u){return R1(u,N0(u))}var VA=BA;function D1(u,i,c,o,t,r,d){var v=bC(u,c),g=bC(i,c),b=d.get(g);if(b){zD(u,c,b);return}var P=r?r(v,g,c+"",u,i,d):void 0,I=P===void 0;if(I){var V=zv(g),K=!V&&Object(Xh.a)(g),ae=!V&&!K&&cS(g);P=g,V||K||ae?zv(v)?P=v:zm(v)?P=k8(v):K?(I=!1,P=Object(T8.a)(g,!0)):ae?(I=!1,P=FA(g,!0)):P=[]:JD(g)||lC(g)?(P=v,lC(v)?P=VA(v):(!rh(v)||aA(v))&&(P=YD(g))):I=!1}I&&(d.set(g,P),t(P,g,o,r,d),d.delete(g)),zD(u,c,P)}var ZD=D1;function zA(u,i,c,o,t){u!==i&&ID(i,function(r,d){if(t||(t=new Vy),rh(r))ZD(u,i,d,c,zA,o,t);else{var v=o?o(bC(u,d),r,d+"",u,i,t):void 0;v===void 0&&(v=r),zD(u,d,v)}},N0)}var QD=zA;function uX(u){return D_(function(i,c){var o=-1,t=c.length,r=t>1?c[t-1]:void 0,d=t>2?c[2]:void 0;for(r=u.length>3&&typeof r=="function"?(t--,r):void 0,d&&_m(c[0],c[1],d)&&(r=t<3?void 0:r,t=1),i=Object(i);++o<t;){var v=c[o];v&&u(i,v,o,r)}return i})}var yS=uX,I8=yS(function(u,i,c){QD(u,i,c)}),dX=I8,N8=yS(function(u,i){R1(i,N0(i),u)}),L8=N8;function fX(u,i){return kD(u,i)}var pX=fX,F8="[object Map]",HA="[object Set]",vX=Object.prototype,U8=vX.hasOwnProperty;function B8(u){if(u==null)return!0;if(k0(u)&&(zv(u)||typeof u=="string"||typeof u.splice=="function"||Object(Xh.a)(u)||cS(u)||lC(u)))return!u.length;var i=R0(u);if(i==F8||i==HA)return!u.size;if(wA(u))return!_D(u).length;for(var c in u)if(U8.call(u,c))return!1;return!0}var hX=B8;function gX(u,i){for(var c=-1,o=u==null?0:u.length;++c<o&&i(u[c],c,u)!==!1;);return u}var V8=gX;function z8(u,i){return u&&R1(i,fC(i),u)}var H8=z8;function mX(u,i){return u&&R1(i,N0(i),u)}var G8=mX;function _X(u,i){return R1(u,dD(u),i)}var yX=_X,bX=Object.getOwnPropertySymbols,GA=bX?function(u){for(var i=[];u;)Hg(i,dD(u)),u=KD(u);return i}:MK,qD=GA;function $8(u,i){return R1(u,qD(u),i)}var W8=$8;function OX(u){return Dd(u,N0,qD)}var bS=OX,CX=Object.prototype,K8=CX.hasOwnProperty;function EX(u){var i=u.length,c=new u.constructor(i);return i&&typeof u[0]=="string"&&K8.call(u,"index")&&(c.index=u.index,c.input=u.input),c}var Y8=EX;function eI(u,i){var c=i?HD(u.buffer):u.buffer;return new u.constructor(c,u.byteOffset,u.byteLength)}var xX=eI,SX=/\w*$/;function wX(u){var i=new u.constructor(u.source,SX.exec(u));return i.lastIndex=u.lastIndex,i}var TX=wX,I1=ag?ag.prototype:void 0,X8=I1?I1.valueOf:void 0;function OS(u){return X8?Object(X8.call(u)):{}}var AX=OS,kX="[object Boolean]",jX="[object Date]",MX="[object Map]",PX="[object Number]",RX="[object RegExp]",DX="[object Set]",J8="[object String]",IX="[object Symbol]",NX="[object ArrayBuffer]",LX="[object DataView]",FX="[object Float32Array]",UX="[object Float64Array]",BX="[object Int8Array]",VX="[object Int16Array]",zX="[object Int32Array]",CS="[object Uint8Array]",$A="[object Uint8ClampedArray]",Ase="[object Uint16Array]",Z8="[object Uint32Array]";function HX(u,i,c){var o=u.constructor;switch(i){case NX:return HD(u);case kX:case jX:return new o(+u);case LX:return xX(u,c);case FX:case UX:case BX:case VX:case zX:case CS:case $A:case Ase:case Z8:return FA(u,c);case MX:return new o;case PX:case J8:return new o(u);case RX:return TX(u);case DX:return new o;case IX:return AX(u)}}var tI=HX,GX="[object Map]";function $X(u){return Eg(u)&&R0(u)==GX}var Q8=$X,q8=P0.a&&P0.a.isMap,WX=q8?w1(q8):Q8,KX=WX,nI="[object Set]";function YX(u){return Eg(u)&&R0(u)==nI}var OC=YX,rI=P0.a&&P0.a.isSet,e7=rI?w1(rI):OC,L0=e7,kse=1,aI=2,XX=4,WA="[object Arguments]",t7="[object Array]",n7="[object Boolean]",JX="[object Date]",KA="[object Error]",ES="[object Function]",YA="[object GeneratorFunction]",r7="[object Map]",iI="[object Number]",Xy="[object Object]",a7="[object RegExp]",Jy="[object Set]",ZX="[object String]",i7="[object Symbol]",XA="[object WeakMap]",QX="[object ArrayBuffer]",qX="[object DataView]",eJ="[object Float32Array]",tJ="[object Float64Array]",o7="[object Int8Array]",nJ="[object Int16Array]",rJ="[object Int32Array]",aJ="[object Uint8Array]",s7="[object Uint8ClampedArray]",c7="[object Uint16Array]",xS="[object Uint32Array]",Lp={};Lp[WA]=Lp[t7]=Lp[QX]=Lp[qX]=Lp[n7]=Lp[JX]=Lp[eJ]=Lp[tJ]=Lp[o7]=Lp[nJ]=Lp[rJ]=Lp[r7]=Lp[iI]=Lp[Xy]=Lp[a7]=Lp[Jy]=Lp[ZX]=Lp[i7]=Lp[aJ]=Lp[s7]=Lp[c7]=Lp[xS]=!0,Lp[KA]=Lp[ES]=Lp[XA]=!1;function JA(u,i,c,o,t,r){var d,v=i&kse,g=i&aI,b=i&XX;if(c&&(d=t?c(u,o,t,r):c(u)),d!==void 0)return d;if(!rh(u))return u;var P=zv(u);if(P){if(d=Y8(u),!v)return k8(u,d)}else{var I=R0(u),V=I==ES||I==YA;if(Object(Xh.a)(u))return Object(T8.a)(u,v);if(I==Xy||I==WA||V&&!t){if(d=g||V?{}:YD(u),!v)return g?W8(u,G8(d,u)):yX(u,H8(d,u))}else{if(!Lp[I])return t?u:{};d=tI(u,I,v)}}r||(r=new Vy);var K=r.get(u);if(K)return K;r.set(u,d),L0(u)?u.forEach(function(ve){d.add(JA(ve,i,c,ve,u,r))}):KX(u)&&u.forEach(function(ve,Oe){d.set(Oe,JA(ve,i,c,Oe,u,r))});var ae=b?g?bS:yD:g?N0:fC,ue=P?void 0:ae(u);return V8(ue||u,function(ve,Oe){ue&&(Oe=ve,ve=u[Oe]),BD(d,Oe,JA(ve,i,c,Oe,u,r))}),d}var l7=JA,ZA=4;function Gm(u){return l7(u,ZA)}var oI=Gm,u7=1,QA=4;function iJ(u){return l7(u,u7|QA)}var oJ=iJ,d7=Object.prototype,sJ=d7.hasOwnProperty,f7=D_(function(u,i){u=Object(u);var c=-1,o=i.length,t=o>2?i[2]:void 0;for(t&&_m(i[0],i[1],t)&&(o=1);++c<o;)for(var r=i[c],d=N0(r),v=-1,g=d.length;++v<g;){var b=d[v],P=u[b];(P===void 0||By(P,d7[b])&&!sJ.call(u,b))&&(u[b]=r[b])}return u}),qA=f7;function sI(u,i,c,o,t,r){return rh(u)&&rh(i)&&(r.set(i,u),QD(u,i,void 0,sI,r),r.delete(i)),u}var cJ=sI,CC=yS(function(u,i,c,o){QD(u,i,c,o)}),ek=CC,lJ=D_(function(u){return u.push(void 0,cJ),YR(ek,void 0,u)}),SS=lJ;function cI(u){for(var i=arguments.length,c=new Array(i>1?i-1:0),o=1;o<i;o++)c[o-1]=arguments[o];c.forEach(function(t){Object.getOwnPropertyNames(t.prototype).forEach(function(r){r!=="constructor"&&Object.defineProperty(u.prototype,r,Object.getOwnPropertyDescriptor(t.prototype,r))})})}var Cc=l("yKVA"),Ec=l("879j"),lI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,i){u.__proto__=i}||function(u,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(u[c]=i[c])};function uI(u,i){lI(u,i);function c(){this.constructor=u}u.prototype=i===null?Object.create(i):(c.prototype=i.prototype,new c)}var tk=Object(Pi.a)(function u(){Object(xi.a)(this,u)}),uJ=/^\s*class\s+/.test("".concat(tk))||/^\s*class\s*\{/.test("".concat(function(){function u(){Object(xi.a)(this,u)}return Object(Pi.a)(u)}()));function dJ(u,i){var c;return uJ?c=function(o){Object(Cc.a)(r,o);var t=Object(Ec.a)(r);function r(){return Object(xi.a)(this,r),t.apply(this,arguments)}return Object(Pi.a)(r)}(i):(c=function(){return i.apply(this,arguments)},uI(c,i)),Object.defineProperty(c,"name",{value:u}),c}function p7(u,i){return u!=null?u:i}function dI(u,i,c){var o=u!=null?u[i]:null;return c!==void 0?p7(o,c):o}function v7(u,i,c){var o=u!=null?u[i]:null;return o==null||(o=+o,Number.isNaN(o)||!Number.isFinite(o))?c:o}function fJ(u,i,c){var o=u!=null?u[i]:null;return o==null?c:!!o}function fI(u){return u==="__proto__"}function EC(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"/",o,t=Array.isArray(i)?i:i.split(c);if(t.length)for(o=u;t.length;){var r=t.shift();if(Object(o)===o&&r&&r in o)o=o[r];else return}return o}function pJ(u,i,c){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/",t=Array.isArray(i)?i:i.split(o),r=t.pop();if(r&&!fI(r)){var d=u;t.forEach(function(v){fI(v)||(d[v]==null&&(d[v]={}),d=d[v])}),d[r]=c}return u}function vJ(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"/",o=Array.isArray(i)?i.slice():i.split(c),t=o.pop();if(t)if(o.length>0){var r=EC(u,o);r&&delete r[t]}else delete u[t];return u}function h7(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/",c=arguments.length>2?arguments[2]:void 0,o={};Object.keys(u).forEach(function(r){var d=u[r],v=typeof d=="object"||Array.isArray(d);if(v&&c&&c(d)&&(v=!1),v){var g=h7(d,i,c);Object.keys(g).forEach(function(b){o[r+i+b]=g[b]})}else o[r]=d});for(var t in u)!!Object.prototype.hasOwnProperty.call(u,t);return o}var g7="[object String]";function hJ(u){return typeof u=="string"||!zv(u)&&Eg(u)&&gm(u)==g7}var gJ=hJ;function m7(u){return function(i){return u==null?void 0:u[i]}}var nk=m7,_7={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mJ=nk(_7),_J=mJ,y7=/[&<>"']/g,b7=RegExp(y7.source);function O7(u){return u=Hv(u),u&&b7.test(u)?u.replace(y7,_J):u}var pI=O7,yJ={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},C7=nk(yJ),bJ=C7,ym=/&(?:amp|lt|gt|quot|#39);/g,OJ=RegExp(ym.source);function CJ(u){return u=Hv(u),u&&OJ.test(u)?u.replace(ym,bJ):u}var vI=CJ;function E7(u,i,c){return u===u&&(c!==void 0&&(u=u<=c?u:c),i!==void 0&&(u=u>=i?u:i)),u}var wS=E7,hI=/\s/;function x7(u){for(var i=u.length;i--&&hI.test(u.charAt(i)););return i}var EJ=x7,gI=/^\s+/;function S7(u){return u&&u.slice(0,EJ(u)+1).replace(gI,"")}var w7=S7,T7=0/0,xJ=/^[-+]0x[0-9a-f]+$/i,Zy=/^0b[01]+$/i,N1=/^0o[0-7]+$/i,A7=parseInt;function SJ(u){if(typeof u=="number")return u;if(Sg(u))return T7;if(rh(u)){var i=typeof u.valueOf=="function"?u.valueOf():u;u=rh(i)?i+"":i}if(typeof u!="string")return u===0?u:+u;u=w7(u);var c=Zy.test(u);return c||N1.test(u)?A7(u.slice(2),c?2:8):xJ.test(u)?T7:+u}var Qy=SJ,Wg=1/0,k7=17976931348623157e292;function j7(u){if(!u)return u===0?u:0;if(u=Qy(u),u===Wg||u===-Wg){var i=u<0?-1:1;return i*k7}return u===u?u:0}var TS=j7;function wJ(u){var i=TS(u),c=i%1;return i===i?c?i-c:i:0}var $m=wJ;function TJ(u,i,c){return u=Hv(u),c=c==null?0:wS($m(c),0,u.length),i=F_(i),u.slice(c,c+i.length)==i}var F0=TJ;function AJ(u,i,c){u=Hv(u),i=F_(i);var o=u.length;c=c===void 0?o:wS($m(c),0,o);var t=c;return c-=i.length,c>=0&&u.slice(c,t)==i}var kJ=AJ;function jJ(u,i,c){var o=-1,t=u.length;i<0&&(i=-i>t?0:t+i),c=c>t?t:c,c<0&&(c+=t),t=i>c?0:c-i>>>0,i>>>=0;for(var r=Array(t);++o<t;)r[o]=u[o+i];return r}var MJ=jJ;function PJ(u,i,c){var o=u.length;return c=c===void 0?o:c,!i&&c>=o?u:MJ(u,i,c)}var xC=PJ,RJ="\\ud800-\\udfff",mI="\\u0300-\\u036f",DJ="\\ufe20-\\ufe2f",_I="\\u20d0-\\u20ff",AS=mI+DJ+_I,M7="\\ufe0e\\ufe0f",IJ="\\u200d",L1=RegExp("["+IJ+RJ+AS+M7+"]");function yI(u){return L1.test(u)}var F1=yI,P7="[object RegExp]";function NJ(u){return Eg(u)&&gm(u)==P7}var LJ=NJ,rk=P0.a&&P0.a.isRegExp,FJ=rk?w1(rk):LJ,bI=FJ;function UJ(u){return u.split("")}var jse=UJ,R7="\\ud800-\\udfff",D7="\\u0300-\\u036f",I7="\\ufe20-\\ufe2f",BJ="\\u20d0-\\u20ff",VJ=D7+I7+BJ,N7="\\ufe0e\\ufe0f",L7="["+R7+"]",OI="["+VJ+"]",CI="\\ud83c[\\udffb-\\udfff]",zJ="(?:"+OI+"|"+CI+")",F7="[^"+R7+"]",U7="(?:\\ud83c[\\udde6-\\uddff]){2}",SC="[\\ud800-\\udbff][\\udc00-\\udfff]",ak="\\u200d",B7=zJ+"?",V7="["+N7+"]?",HJ="(?:"+ak+"(?:"+[F7,U7,SC].join("|")+")"+V7+B7+")*",GJ=V7+B7+HJ,$J="(?:"+[F7+OI+"?",OI,U7,SC,L7].join("|")+")",WJ=RegExp(CI+"(?="+CI+")|"+$J+GJ,"g");function KJ(u){return u.match(WJ)||[]}var YJ=KJ;function XJ(u){return F1(u)?YJ(u):jse(u)}var ik=XJ,JJ=4294967295;function z7(u,i,c){return c&&typeof c!="number"&&_m(u,i,c)&&(i=c=void 0),c=c===void 0?JJ:c>>>0,c?(u=Hv(u),u&&(typeof i=="string"||i!=null&&!bI(i))&&(i=F_(i),!i&&F1(u))?xC(ik(u),0,c):u.split(i,c)):[]}var ZJ=z7,QJ=9007199254740991,H7=Math.floor;function EI(u,i){var c="";if(!u||i<1||i>QJ)return c;do i%2&&(c+=u),i=H7(i/2),i&&(u+=u);while(i);return c}var xI=EI;function SI(u,i,c){return(c?_m(u,i,c):i===void 0)?i=1:i=$m(i),xI(Hv(u),i)}var G7=SI,ok=n8("length"),kS=ok,sk="\\ud800-\\udfff",wI="\\u0300-\\u036f",qJ="\\ufe20-\\ufe2f",ck="\\u20d0-\\u20ff",$7=wI+qJ+ck,TI="\\ufe0e\\ufe0f",lk="["+sk+"]",uk="["+$7+"]",wC="\\ud83c[\\udffb-\\udfff]",W7="(?:"+uk+"|"+wC+")",K7="[^"+sk+"]",AI="(?:\\ud83c[\\udde6-\\uddff]){2}",kI="[\\ud800-\\udbff][\\udc00-\\udfff]",Y7="\\u200d",Kg=W7+"?",jI="["+TI+"]?",Yg="(?:"+Y7+"(?:"+[K7,AI,kI].join("|")+")"+jI+Kg+")*",eZ=jI+Kg+Yg,tZ="(?:"+[K7+uk+"?",uk,AI,kI,lk].join("|")+")",MI=RegExp(wC+"(?="+wC+")|"+tZ+eZ,"g");function nZ(u){for(var i=MI.lastIndex=0;MI.test(u);)++i;return i}var rZ=nZ;function dk(u){return F1(u)?rZ(u):kS(u)}var jS=dk,PI=Math.ceil;function aZ(u,i){i=i===void 0?" ":F_(i);var c=i.length;if(c<2)return c?xI(i,u):i;var o=xI(i,PI(u/jS(i)));return F1(i)?xC(ik(o),0,u).join(""):o.slice(0,u)}var MS=aZ,X7=Math.ceil,iZ=Math.floor;function J7(u,i,c){u=Hv(u),i=$m(i);var o=i?jS(u):0;if(!i||o>=i)return u;var t=(i-o)/2;return MS(iZ(t),c)+u+MS(X7(t),c)}var oZ=J7;function sZ(u,i,c){u=Hv(u),i=$m(i);var o=i?jS(u):0;return i&&o<i?u+MS(i-o,c):u}var Z7=sZ;function U1(u,i,c){u=Hv(u),i=$m(i);var o=i?jS(u):0;return i&&o<i?MS(i-o,c)+u:u}var cZ=U1,RI=30,Q7="...",lZ=/\w*$/;function q7(u,i){var c=RI,o=Q7;if(rh(i)){var t="separator"in i?i.separator:t;c="length"in i?$m(i.length):c,o="omission"in i?F_(i.omission):o}u=Hv(u);var r=u.length;if(F1(u)){var d=ik(u);r=d.length}if(c>=r)return u;var v=c-jS(o);if(v<1)return o;var g=d?xC(d,0,v).join(""):u.slice(0,v);if(t===void 0)return g+o;if(d&&(v+=g.length-v),bI(t)){if(u.slice(v).search(t)){var b,P=g;for(t.global||(t=RegExp(t.source,Hv(lZ.exec(t))+"g")),t.lastIndex=0;b=t.exec(P);)var I=b.index;g=g.slice(0,I===void 0?v:I)}}else if(u.indexOf(F_(t),v)!=v){var V=g.lastIndexOf(t);V>-1&&(g=g.slice(0,V))}return g+o}var eU=q7,tU=yS(function(u,i,c,o){R1(i,N0(i),u,o)}),DI=tU,uZ="[object DOMException]",dZ="[object Error]";function fZ(u){if(!Eg(u))return!1;var i=gm(u);return i==dZ||i==uZ||typeof u.message=="string"&&typeof u.name=="string"&&!JD(u)}var nU=fZ,pZ=D_(function(u,i){try{return YR(u,void 0,i)}catch(c){return nU(c)?c:new Error(c)}}),vZ=pZ;function II(u,i){return sg(i,function(c){return u[c]})}var rU=II,aU=Object.prototype,NI=aU.hasOwnProperty;function iU(u,i,c,o){return u===void 0||By(u,aU[c])&&!NI.call(o,c)?i:u}var qy=iU,B1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function TC(u){return"\\"+B1[u]}var hZ=TC,gZ=/<%=([\s\S]+?)%>/g,oU=gZ,mZ=/<%-([\s\S]+?)%>/g,_Z=mZ,yZ=/<%([\s\S]+?)%>/g,bZ=yZ,OZ={escape:_Z,evaluate:bZ,interpolate:oU,variable:"",imports:{_:{escape:pI}}},sU=OZ,PS="Invalid `variable` option passed into `_.template`",U0=/\b__p \+= '';/g,LI=/\b(__p \+=) '' \+/g,CZ=/(__e\(.*?\)|\b__t\)) \+\n'';/g,EZ=/[()=,{}\[\]\/\s]/,xZ=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,RS=/($^)/,fk=/['\n\r\u2028\u2029\\]/g,cU=Object.prototype,lU=cU.hasOwnProperty;function uU(u,i,c){var o=sU.imports._.templateSettings||sU;c&&_m(u,i,c)&&(i=void 0),u=Hv(u),i=DI({},i,o,qy);var t=DI({},i.imports,o.imports,qy),r=fC(t),d=rU(t,r),v,g,b=0,P=i.interpolate||RS,I="__p += '",V=RegExp((i.escape||RS).source+"|"+P.source+"|"+(P===oU?xZ:RS).source+"|"+(i.evaluate||RS).source+"|$","g"),K=lU.call(i,"sourceURL")?"//# sourceURL="+(i.sourceURL+"").replace(/\s/g," ")+`
`:"";u.replace(V,function(ve,Oe,ke,Ie,Ye,Ze){return ke||(ke=Ie),I+=u.slice(b,Ze).replace(fk,hZ),Oe&&(v=!0,I+=`' +
__e(`+Oe+`) +
'`),Ye&&(g=!0,I+=`';
`+Ye+`;
__p += '`),ke&&(I+=`' +
((__t = (`+ke+`)) == null ? '' : __t) +
'`),b=Ze+ve.length,ve}),I+=`';
`;var ae=lU.call(i,"variable")&&i.variable;if(!ae)I=`with (obj) {
`+I+`
}
`;else if(EZ.test(ae))throw new Error(PS);I=(g?I.replace(U0,""):I).replace(LI,"$1").replace(CZ,"$1;"),I="function("+(ae||"obj")+`) {
`+(ae?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(v?", __e = _.escape":"")+(g?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+I+`return __p
}`;var ue=vZ(function(){return Function(r,K+"return "+I).apply(void 0,d)});if(ue.source=I,nU(ue))throw ue;return ue}var dU=uU,fU=0;function pU(u){var i=++fU;return Hv(u)+i}var vU=pU;function hU(u){var i=null;try{i=window.eval(u)}catch(c){}return i}function gU(u,i,c,o){var t=-1,r=u==null?0:u.length;for(o&&r&&(c=u[++t]);++t<r;)c=i(c,u[t],t,u);return c}var SZ=gU,wZ={\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"},TZ=nk(wZ),AZ=TZ,kZ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jZ="\\u0300-\\u036f",MZ="\\ufe20-\\ufe2f",mU="\\u20d0-\\u20ff",PZ=jZ+MZ+mU,_U="["+PZ+"]",DS=RegExp(_U,"g");function RZ(u){return u=Hv(u),u&&u.replace(kZ,AZ).replace(DS,"")}var yU=RZ,bU=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function OU(u){return u.match(bU)||[]}var CU=OU,EU=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function DZ(u){return EU.test(u)}var IZ=DZ,xU="\\ud800-\\udfff",SU="\\u0300-\\u036f",NZ="\\ufe20-\\ufe2f",LZ="\\u20d0-\\u20ff",wU=SU+NZ+LZ,pk="\\u2700-\\u27bf",TU="a-z\\xdf-\\xf6\\xf8-\\xff",FZ="\\xac\\xb1\\xd7\\xf7",UZ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",AU="\\u2000-\\u206f",BZ=" \\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",kU="A-Z\\xc0-\\xd6\\xd8-\\xde",VZ="\\ufe0e\\ufe0f",jU=FZ+UZ+AU+BZ,FI="['\u2019]",AC="["+jU+"]",zZ="["+wU+"]",MU="\\d+",HZ="["+pk+"]",vk="["+TU+"]",hk="[^"+xU+jU+MU+pk+TU+kU+"]",GZ="\\ud83c[\\udffb-\\udfff]",$Z="(?:"+zZ+"|"+GZ+")",WZ="[^"+xU+"]",PU="(?:\\ud83c[\\udde6-\\uddff]){2}",RU="[\\ud800-\\udbff][\\udc00-\\udfff]",kC="["+kU+"]",DU="\\u200d",UI="(?:"+vk+"|"+hk+")",KZ="(?:"+kC+"|"+hk+")",BI="(?:"+FI+"(?:d|ll|m|re|s|t|ve))?",VI="(?:"+FI+"(?:D|LL|M|RE|S|T|VE))?",zI=$Z+"?",gk="["+VZ+"]?",YZ="(?:"+DU+"(?:"+[WZ,PU,RU].join("|")+")"+gk+zI+")*",bm="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",XZ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",JZ=gk+zI+YZ,ZZ="(?:"+[HZ,PU,RU].join("|")+")"+JZ,QZ=RegExp([kC+"?"+vk+"+"+BI+"(?="+[AC,kC,"$"].join("|")+")",KZ+"+"+VI+"(?="+[AC,kC+UI,"$"].join("|")+")",kC+"?"+UI+"+"+BI,kC+"+"+VI,XZ,bm,MU,ZZ].join("|"),"g");function qZ(u){return u.match(QZ)||[]}var eQ=qZ;function tQ(u,i,c){return u=Hv(u),i=c?void 0:i,i===void 0?IZ(u)?eQ(u):CU(u):u.match(i)||[]}var IU=tQ,HI="['\u2019]",NU=RegExp(HI,"g");function nQ(u){return function(i){return SZ(IU(yU(i).replace(NU,"")),u,"")}}var mk=nQ;function rQ(u){return function(i){i=Hv(i);var c=F1(i)?ik(i):void 0,o=c?c[0]:i.charAt(0),t=c?xC(c,1).join(""):i.slice(1);return o[u]()+t}}var _k=rQ,IS=_k("toUpperCase"),NS=IS,GI=mk(function(u,i,c){return u+(c?" ":"")+NS(i)}),LS=GI;function aQ(u){return NS(Hv(u).toLowerCase())}var iQ=aQ,oQ=mk(function(u,i,c){return i=i.toLowerCase(),u+(c?iQ(i):i)}),V1=oQ,sQ=mk(function(u,i,c){return u+(c?" ":"")+i.toUpperCase()}),cQ=sQ,lQ=mk(function(u,i,c){return u+(c?" ":"")+i.toLowerCase()}),$I=lQ,uQ=_k("toLowerCase"),LU=uQ,z1=function(i){var c=Object.create(null);return function(o){var t=c[o];return t||(c[o]=i(o))}},WI=z1(function(u){return u.replace(/\B([A-Z])/g,"-$1").toLowerCase()}),dQ=z1(function(u){return LS(V1(u)).replace(/ /g,"")}),FU=z1(function(u){return cQ(u).replace(/ /g,"_")}),fQ=z1(function(u){return $I(u).replace(/ /g,".")}),pQ=z1(function(u){return $I(u).replace(/ /g,"/")}),vQ=z1(function(u){return NS($I(u))}),UU=z1(function(u){return LS(V1(u))});function KI(u){for(var i=2166136261,c=!1,o=u,t=0,r=o.length;t<r;t+=1){var d=o.charCodeAt(t);d>127&&!c&&(o=unescape(encodeURIComponent(o)),d=o.charCodeAt(t),c=!0),i^=d,i+=(i<<1)+(i<<4)+(i<<7)+(i<<8)+(i<<24)}return i>>>0}function hQ(){for(var u="",i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",c=0,o=i.length;c<o;c+=1){var t=i[c],r=Math.random()*16|0,d=t==="x"?r:t==="y"?r&3|8:t;u+=d.toString(16)}return u}function gQ(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=dv.a.parseHTML(u,null,!1);return c.forEach(function(o){var t=o;if(t){var r=t.attributes;if(r)for(var d=0,v=r.length;d<v;d+=1){var g=r.item(d);if(g){var b=g.value.toLowerCase(),P=g.name.toLowerCase();(P.startsWith("on")||b.startsWith("javascript:")||b.startsWith("data:")||b.startsWith("vbscript:"))&&t.removeAttribute(P)}}}}),i.raw?c:dv()("<div/>").append(c).html()}function mQ(u,i,c){var o=Math.min(2,Math.floor(u.length*.34)),t=Math.floor(u.length*.4)+1,r,d=!1,v=u.toLowerCase(),g=Object(iv.a)(i),b;try{for(g.s();!(b=g.n()).done;){var P=b.value,I=c(P);if(I!==void 0&&Math.abs(I.length-v.length)<=o){var V=I.toLowerCase();if(V===v){if(I===u)continue;return P}if(d||I.length<3)continue;var K=_Q(v,V,t-1);if(K===void 0)continue;K<3?(d=!0,r=P):(t=K,r=P)}}}catch(ae){g.e(ae)}finally{g.f()}return r}function _Q(u,i,c){for(var o=new Array(i.length+1),t=new Array(i.length+1),r=c+1,d=0;d<=i.length;d+=1)o[d]=d;for(var v=1;v<=u.length;v+=1){var g=u.charCodeAt(v-1),b=v>c?v-c:1,P=i.length>c+v?c+v:i.length;t[0]=v;for(var I=v,V=1;V<b;V+=1)t[V]=r;for(var K=b;K<=P;K+=1){var ae=g===i.charCodeAt(K-1)?o[K-1]:Math.min(o[K]+1,t[K-1]+1,o[K-1]+2);t[K]=ae,I=Math.min(I,ae)}for(var ue=P+1;ue<=i.length;ue+=1)t[ue]=r;if(I>c)return;var ve=o;o=t,t=ve}var Oe=o[i.length];return Oe>c?void 0:Oe}var yQ="[object Number]";function bQ(u){return typeof u=="number"||Eg(u)&&gm(u)==yQ}var yk=bQ;function BU(u){return yk(u)&&u!=+u}var VU=BU,zU=Wh.a.isFinite;function HU(u){return typeof u=="number"&&zU(u)}var OQ=HU;function CQ(u){return typeof u=="number"&&u==$m(u)}var GU=CQ,eb=9007199254740991;function $U(u){return GU(u)&&u>=-eb&&u<=eb}var bk=$U;function EQ(u,i,c){return c===void 0&&(c=i,i=void 0),c!==void 0&&(c=Qy(c),c=c===c?c:0),i!==void 0&&(i=Qy(i),i=i===i?i:0),wS(Qy(u),i,c)}var FS=EQ,xQ=Math.max,SQ=Math.min;function wQ(u,i,c){return u>=SQ(i,c)&&u<xQ(i,c)}var US=wQ;function TQ(u,i,c){return i=TS(i),c===void 0?(c=i,i=0):c=TS(c),u=Qy(u),US(u,i,c)}var Ok=TQ,Ck=9007199254740991;function AQ(u){return u?wS($m(u),-Ck,Ck):u===0?u:0}var kQ=AQ,YI=/^\s+/,Ek=Wh.a.parseInt;function WU(u,i,c){return c||i==null?i=0:i&&(i=+i),Ek(Hv(u).replace(YI,""),i||0)}var BS=WU;function VS(u,i){return(u%i+i)%i}function H1(u,i){if(i==null)i=u==null?1:u,u=0;else if(i<u){var c=u;u=i,i=c}return Math.floor(Math.random()*(i-u+1)+u)}function xk(u){return typeof u=="string"&&u.slice(-1)==="%"}function XI(u,i){if(u==null)return 0;var c;if(typeof u=="string"){if(c=parseFloat(u),xk(u)&&(c/=100,Number.isFinite(c)))return c*i}else c=u;return Number.isFinite(c)?c>0&&c<1?c*i:c:0}function KU(u,i){function c(d){var v=new RegExp("(?:\\d+(?:\\.\\d+)*)(".concat(d,")$")).exec(u);return v?v[1]:null}var o=parseFloat(u);if(Number.isNaN(o))return null;var t;if(i==null)t="[A-Za-z]*";else if(Array.isArray(i)){if(i.length===0)return null;t=i.join("|")}else typeof i=="string"&&(t=i);var r=c(t);return r===null?null:{unit:r,value:o}}function jQ(u){if(typeof u=="object"){var i=0,c=0,o=0,t=0;return u.vertical!=null&&Number.isFinite(u.vertical)&&(c=t=u.vertical),u.horizontal!=null&&Number.isFinite(u.horizontal)&&(o=i=u.horizontal),u.left!=null&&Number.isFinite(u.left)&&(i=u.left),u.top!=null&&Number.isFinite(u.top)&&(c=u.top),u.right!=null&&Number.isFinite(u.right)&&(o=u.right),u.bottom!=null&&Number.isFinite(u.bottom)&&(t=u.bottom),{top:c,right:o,bottom:t,left:i}}var r=0;return u!=null&&Number.isFinite(u)&&(r=u),{top:r,right:r,bottom:r,left:r}}var Sk="Expected a function";function jh(u,i){var c;if(typeof i!="function")throw new TypeError(Sk);return u=$m(u),function(){return--u>0&&(c=i.apply(this,arguments)),u<=1&&(i=void 0),c}}var MQ=jh;function YU(u){return MQ(2,u)}var PQ=YU,XU=function(){return Wh.a.Date.now()},JI=XU,JU="Expected a function",RQ=Math.max,ZI=Math.min;function DQ(u,i,c){var o,t,r,d,v,g,b=0,P=!1,I=!1,V=!0;if(typeof u!="function")throw new TypeError(JU);i=Qy(i)||0,rh(c)&&(P=!!c.leading,I="maxWait"in c,r=I?RQ(Qy(c.maxWait)||0,i):r,V="trailing"in c?!!c.trailing:V);function K(et){var yt=o,jt=t;return o=t=void 0,b=et,d=u.apply(jt,yt),d}function ae(et){return b=et,v=setTimeout(Oe,i),P?K(et):d}function ue(et){var yt=et-g,jt=et-b,Ft=i-yt;return I?ZI(Ft,r-jt):Ft}function ve(et){var yt=et-g,jt=et-b;return g===void 0||yt>=i||yt<0||I&&jt>=r}function Oe(){var et=JI();if(ve(et))return ke(et);v=setTimeout(Oe,ue(et))}function ke(et){return v=void 0,V&&o?K(et):(o=t=void 0,d)}function Ie(){v!==void 0&&clearTimeout(v),b=0,o=g=t=v=void 0}function Ye(){return v===void 0?d:ke(JI())}function Ze(){var et=JI(),yt=ve(et);if(o=arguments,t=this,g=et,yt){if(v===void 0)return ae(g);if(I)return clearTimeout(v),v=setTimeout(Oe,i),K(g)}return v===void 0&&(v=setTimeout(Oe,i)),d}return Ze.cancel=Ie,Ze.flush=Ye,Ze}var QI=DQ,IQ="Expected a function";function zS(u,i,c){if(typeof u!="function")throw new TypeError(IQ);return setTimeout(function(){u.apply(void 0,c)},i)}var wk=zS,ZU=D_(function(u,i){return wk(u,1,i)}),qI=ZU;function Tk(u,i,c){if(c)switch(c.length){case 0:return u.call(i);case 1:return u.call(i,c[0]);case 2:return u.call(i,c[0],c[1]);case 3:return u.call(i,c[0],c[1],c[2]);case 4:return u.call(i,c[0],c[1],c[2],c[3]);case 5:return u.call(i,c[0],c[1],c[2],c[3],c[4]);case 6:return u.call(i,c[0],c[1],c[2],c[3],c[4],c[5]);default:return u.apply(i,c)}return u.call(i)}function NQ(u,i){for(var c=arguments.length,o=new Array(c>2?c-2:0),t=2;t<c;t++)o[t-2]=arguments[t];return Tk(u,i,o)}function LQ(u,i){for(var c=0,o=u.length;c<o;c+=1)if(u[c]===i)return u.push(u.splice(c,1)[0])}function FQ(u,i,c){var o=[],t={},r=function(){for(var v=!1,g=arguments.length,b=new Array(g),P=0;P<g;P++)b[P]=arguments[P];var I=b.join("\u2400");return I in t?(v=!0,LQ(o,I)):(o.length>=1e3&&delete t[o.shift()],o.push(I),t[I]=Tk(u,i||null,b)),c?c(t[I],v):t[I]};return r}function QU(u){return typeof u=="object"&&u.then&&typeof u.then=="function"}function Ak(u){return u!=null&&(u instanceof Promise||QU(u))}function qU(){for(var u=[],i=arguments.length,c=new Array(i),o=0;o<i;o++)c[o]=arguments[o];c.forEach(function(d){Array.isArray(d)?u.push.apply(u,Object(Bs.a)(d)):u.push(d)});var t=u.some(function(d){return Ak(d)});if(t){var r=u.map(function(d){return Ak(d)?d:Promise.resolve(d!==!1)});return Promise.all(r).then(function(d){return d.reduce(function(v,g){return g!==!1&&v},!0)})}return u.every(function(d){return d!==!1})}function UQ(){for(var u=arguments.length,i=new Array(u),c=0;c<u;c++)i[c]=arguments[c];var o=qU(i);return typeof o=="boolean"?Promise.resolve(o):o}var eN=/[\t\r\n\f]/g,tN=/\S+/g,jC=function(i){return" ".concat(i," ")};function tb(u){return u&&u.getAttribute&&u.getAttribute("class")||""}function kk(u,i){if(u==null||i==null)return!1;var c=jC(tb(u)),o=jC(i);return u.nodeType===1?c.replace(eN," ").includes(o):!1}function HS(u,i){if(!(u==null||i==null)){if(typeof i=="function")return HS(u,i(tb(u)));if(typeof i=="string"&&u.nodeType===1){var c=i.match(tN)||[],o=jC(tb(u)).replace(eN," "),t=c.reduce(function(r,d){return r.indexOf(jC(d))<0?"".concat(r).concat(d," "):r},o);t=t.trim(),o!==t&&u.setAttribute("class",t)}}}function MC(u,i){if(u!=null){if(typeof i=="function")return MC(u,i(tb(u)));if((!i||typeof i=="string")&&u.nodeType===1){var c=(i||"").match(tN)||[],o=jC(tb(u)).replace(eN," "),t=c.reduce(function(r,d){var v=jC(d);return r.indexOf(v)>-1?r.replace(v," "):r},o);t=i?t.trim():"",o!==t&&u.setAttribute("class",t)}}}function jk(u,i,c){if(!(u==null||i==null)){if(c!=null&&typeof i=="string"){c?HS(u,i):MC(u,i);return}if(typeof i=="function")return jk(u,i(tb(u),c),c);if(typeof i=="string"){var o=i.match(tN)||[];o.forEach(function(t){kk(u,t)?MC(u,t):HS(u,t)})}}}var eB=0;function tB(){return eB+=1,"v".concat(eB)}function nB(u){return(u.id==null||u.id==="")&&(u.id=tB()),u.id}function B0(u){return u==null?!1:typeof u.getScreenCTM=="function"&&u instanceof SVGElement}var B_={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xml:"http://www.w3.org/XML/1998/namespace",xlink:"http://www.w3.org/1999/xlink",xhtml:"http://www.w3.org/1999/xhtml"},GS="1.1";function Mk(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;return i.createElement(u)}function nN(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B_.xhtml,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document;return c.createElementNS(i,u)}function wg(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;return nN(u,B_.svg,i)}function $S(u){if(u){var i='<svg xmlns="'.concat(B_.svg,'" xmlns:xlink="').concat(B_.xlink,'" version="').concat(GS,'">').concat(u,"</svg>"),c=rB(i,{async:!1}),o=c.documentElement;return o}var t=document.createElementNS(B_.svg,"svg");return t.setAttributeNS(B_.xmlns,"xmlns:xlink",B_.xlink),t.setAttribute("version",GS),t}function rB(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c;try{var o=new DOMParser;if(i.async!=null){var t=o;t.async=i.async}c=o.parseFromString(u,i.mimeType||"text/xml")}catch(r){c=void 0}if(!c||c.getElementsByTagName("parsererror").length)throw new Error("Invalid XML: ".concat(u));return c}function Pk(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,c=u.nodeName;return i?c.toLowerCase():c.toUpperCase()}function Rk(u){for(var i=0,c=u.previousSibling;c;)c.nodeType===1&&(i+=1),c=c.previousSibling;return i}function aB(u,i){return u.querySelectorAll(i)}function iB(u,i){return u.querySelector(i)}function Dk(u,i,c){for(var o=u.ownerSVGElement,t=u.parentNode;t&&t!==c&&t!==o;){if(kk(t,i))return t;t=t.parentNode}return null}function rN(u,i){var c=i&&i.parentNode;return u===c||!!(c&&c.nodeType===1&&u.compareDocumentPosition(c)&16)}function PC(u){u.parentNode&&u.parentNode.removeChild(u)}function aN(u){for(;u.firstChild;)u.removeChild(u.firstChild)}function G1(u,i){var c=Array.isArray(i)?i:[i];c.forEach(function(o){o!=null&&u.appendChild(o)})}function RC(u,i){var c=u.firstChild;return c?Ik(c,i):G1(u,i)}function Ik(u,i){var c=u.parentNode;if(c){var o=Array.isArray(i)?i:[i];o.forEach(function(t){t!=null&&c.insertBefore(t,u)})}}function Nk(u,i){i!=null&&i.appendChild(u)}function WS(u){try{return u instanceof HTMLElement}catch(i){return typeof u=="object"&&u.nodeType===1&&typeof u.style=="object"&&typeof u.ownerDocument=="object"}}function oB(u){return!u||!WS(u)?!1:["a","button"].includes(Pk(u))||u.getAttribute("role")==="button"||u.getAttribute("type")==="button"?!0:oB(u.parentNode)}function sB(u){var i=Pk(u);if(i==="input"){var c=u.getAttribute("type");if(c==null||["text","password","number","email","search","tel","url"].includes(c))return!0}return!1}var cB=["viewBox","attributeName","attributeType","repeatCount"];function $1(u,i){return u.getAttribute(i)}function iN(u,i){var c=Fk(i);c.ns?u.hasAttributeNS(c.ns,c.local)&&u.removeAttributeNS(c.ns,c.local):u.hasAttribute(i)&&u.removeAttribute(i)}function Lk(u,i,c){if(c==null)return iN(u,i);var o=Fk(i);o.ns&&typeof c=="string"?u.setAttributeNS(o.ns,i,c):i==="id"?u.id="".concat(c):u.setAttribute(i,"".concat(c))}function oN(u,i){Object.keys(i).forEach(function(c){Lk(u,c,i[c])})}function Mh(u,i,c){if(i==null){for(var o=u.attributes,t={},r=0;r<o.length;r+=1)t[o[r].name]=o[r].value;return t}if(typeof i=="string"&&c===void 0)return u.getAttribute(i);typeof i=="object"?oN(u,i):Lk(u,i,c)}function Fk(u){if(u.indexOf(":")!==-1){var i=u.split(":");return{ns:B_[i[0]],local:i[1]}}return{ns:null,local:u}}function sN(u){var i={};return Object.keys(u).forEach(function(c){var o=cB.includes(c)?c:WI(c);i[o]=u[c]}),i}function DC(u){var i={},c=u.split(";");return c.forEach(function(o){var t=o.trim();if(t){var r=t.split("=");r.length&&(i[r[0].trim()]=r[1]?r[1].trim():"")}}),i}function cN(u,i){return Object.keys(i).forEach(function(c){if(c==="class")u[c]=u[c]?"".concat(u[c]," ").concat(i[c]):i[c];else if(c==="style"){var o=typeof u[c]=="object",t=typeof i[c]=="object",r,d;o&&t?(r=u[c],d=i[c]):o?(r=u[c],d=DC(i[c])):t?(r=DC(u[c]),d=i[c]):(r=DC(u[c]),d=DC(i[c])),u[c]=cN(r,d)}else u[c]=i[c]}),u}function lN(u,i){for(var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=c.offset||0,t=[],r=[],d,v,g=null,b=0;b<u.length;b+=1){d=r[b]=u[b];for(var P=0,I=i.length;P<I;P+=1){var V=i[P],K=V.start+o,ae=V.end+o;b>=K&&b<ae&&(typeof d=="string"?d=r[b]={t:u[b],attrs:V.attrs}:d.attrs=cN(cN({},d.attrs),V.attrs),c.includeAnnotationIndices&&(d.annotations==null&&(d.annotations=[]),d.annotations.push(P)))}v=r[b-1],v?m.isObject(d)&&m.isObject(v)?(g=g,JSON.stringify(d.attrs)===JSON.stringify(v.attrs)?g.t+=d.t:(t.push(g),g=d)):m.isObject(d)||m.isObject(v)?(g=g,t.push(g),g=d):g=(g||"")+d:g=d}return g!=null&&t.push(g),t}function BQ(u,i){return u?u.filter(function(c){return c.start<i&&i<=c.end}):[]}function VQ(u,i,c){return u?u.filter(function(o){return i>=o.start&&i<o.end||c>o.start&&c<=o.end||o.start>=i&&o.end<c}):[]}function uN(u,i,c){return u&&u.forEach(function(o){o.start<i&&o.end>=i?o.end+=c:o.start>=i&&(o.start+=c,o.end+=c)}),u}function lB(u){return u.replace(/ /g,"\xA0")}var dN;(function(u){u.emptyObject=Object.freeze({}),u.emptyArray=Object.freeze([]);function i(P){return P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"}u.isPrimitive=i;function c(P){return Array.isArray(P)}u.isArray=c;function o(P){return!i(P)&&!c(P)}u.isObject=o;function t(P,I){if(P===I)return!0;if(i(P)||i(I))return!1;var V=c(P),K=c(I);return V!==K?!1:V&&K?d(P,I):v(P,I)}u.deepEqual=t;function r(P){return i(P)?P:c(P)?g(P):b(P)}u.deepCopy=r;function d(P,I){if(P===I)return!0;if(P.length!==I.length)return!1;for(var V=0,K=P.length;V<K;V+=1)if(!t(P[V],I[V]))return!1;return!0}function v(P,I){if(P===I)return!0;for(var V in P)if(!(V in I))return!1;for(var K in I)if(!(K in P))return!1;for(var ae in P)if(!t(P[ae],I[ae]))return!1;return!0}function g(P){for(var I=new Array(P.length),V=0,K=P.length;V<K;V+=1)I[V]=r(P[V]);return I}function b(P){var I={};return Object.keys(P).forEach(function(V){I[V]=r(P[V])}),I}})(dN||(dN={}));var fN;(function(u){function i(b){var P="data:";return b.substr(0,P.length)===P}u.isDataUrl=i;function c(b,P){if(!b||i(b)){setTimeout(function(){return P(null,b)});return}var I=function(){P(new Error("Failed to load image: ".concat(b)))},V=window.FileReader?function(ae){if(ae.status===200){var ue=new FileReader;ue.onload=function(ve){var Oe=ve.target.result;P(null,Oe)},ue.onerror=I,ue.readAsDataURL(ae.response)}else I()}:function(ae){var ue=function(Ze){for(var et=32768,yt=[],jt=0;jt<Ze.length;jt+=et)yt.push(String.fromCharCode.apply(null,Ze.subarray(jt,jt+et)));return yt.join("")};if(ae.status===200){var ve=b.split(".").pop()||"png";ve==="svg"&&(ve="svg+xml");var Oe="data:image/".concat(ve,";base64,"),ke=new Uint8Array(ae.response),Ie=Oe+btoa(ue(ke));P(null,Ie)}else I()},K=new XMLHttpRequest;K.responseType=window.FileReader?"blob":"arraybuffer",K.open("GET",b,!0),K.addEventListener("error",I),K.addEventListener("load",function(){return V(K)}),K.send()}u.imageToDataUri=c;function o(b){var P=b.replace(/\s/g,"");P=decodeURIComponent(P);var I=P.indexOf(","),V=P.slice(0,I),K=V.split(":")[1].split(";")[0],ae=P.slice(I+1),ue;V.indexOf("base64")>=0?ue=atob(ae):ue=unescape(encodeURIComponent(ae));for(var ve=new Uint8Array(ue.length),Oe=0;Oe<ue.length;Oe+=1)ve[Oe]=ue.charCodeAt(Oe);return new Blob([ve],{type:K})}u.dataUriToBlob=o;function t(b,P){var I=window.navigator.msSaveBlob;if(I)I(b,P);else{var V=window.URL.createObjectURL(b),K=document.createElement("a");K.href=V,K.download=P,document.body.appendChild(K),K.click(),document.body.removeChild(K),window.URL.revokeObjectURL(V)}}u.downloadBlob=t;function r(b,P){var I=o(b);t(I,P)}u.downloadDataUri=r;function d(b){var P=b.match(/<svg[^>]*viewBox\s*=\s*(["']?)(.+?)\1[^>]*>/i);return P&&P[2]?P[2].replace(/\s+/," ").split(" "):null}function v(b){var P=parseFloat(b);return Number.isNaN(P)?null:P}function g(b){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=null,V=function(Ye){return I==null&&(I=d(b)),I!=null?v(I[Ye]):null},K=function(Ye){var Ze=b.match(Ye);return Ze&&Ze[2]?v(Ze[2]):null},ae=P.width;if(ae==null&&(ae=K(/<svg[^>]*width\s*=\s*(["']?)(.+?)\1[^>]*>/i)),ae==null&&(ae=V(2)),ae==null)throw new Error("Can not parse width from svg string");var ue=P.height;if(ue==null&&(ue=K(/<svg[^>]*height\s*=\s*(["']?)(.+?)\1[^>]*>/i)),ue==null&&(ue=V(3)),ue==null)throw new Error("Can not parse height from svg string");var ve=encodeURIComponent(b).replace(/'/g,"%27").replace(/"/g,"%22"),Oe="data:image/svg+xml",ke="".concat(Oe,",").concat(ve);return ke}u.svgToDataUrl=g})(fN||(fN={}));var V0,zQ={px:function(i){return i},mm:function(i){return V0*i},cm:function(i){return V0*i*10},in:function(i){return V0*i*25.4},pt:function(i){return V0*(25.4*i/72)},pc:function(i){return V0*(25.4*i/6)}},KS;(function(u){function i(o,t,r){var d=dv()("<div/>").css({display:"inline-block",position:"absolute",left:-15e3,top:-15e3,width:o+(r||""),height:t+(r||"")}).appendTo(document.body),v={width:d.width()||0,height:d.height()||0};return d.remove(),v}u.measure=i;function c(o,t){V0==null&&(V0=i("1","1","mm").width);var r=t?zQ[t]:null;return r?r(o):o}u.toPx=c})(KS||(KS={}));var HQ=function(){var u,i=window;if(i!=null&&(u=i.requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.oRequestAnimationFrame||i.msRequestAnimationFrame,u!=null&&(u=u.bind(i))),u==null){var c=0;u=function(t){var r=new Date().getTime(),d=Math.max(0,16-(r-c)),v=setTimeout(function(){t(r+d)},d);return c=r+d,v}}return u}(),GQ=function(){var u,i=window;return i!=null&&(u=i.cancelAnimationFrame||i.webkitCancelAnimationFrame||i.webkitCancelRequestAnimationFrame||i.msCancelAnimationFrame||i.msCancelRequestAnimationFrame||i.oCancelAnimationFrame||i.oCancelRequestAnimationFrame||i.mozCancelAnimationFrame||i.mozCancelRequestAnimationFrame,u&&(u=u.bind(i))),u==null&&(u=clearTimeout),u}(),uB=/-(.)/g;function dB(u){return u.replace(uB,function(i,c){return c.toUpperCase()})}var YS={},Uk=["Webkit","ms","Moz","O"],Bk=document?document.createElement("div").style:{};function pN(u){for(var i=0;i<Uk.length;i+=1){var c=Uk[i]+u;if(c in Bk)return c}return null}function Vk(u){var i=dB(u);if(YS[i]==null){var c=i.charAt(0).toUpperCase()+i.slice(1);YS[i]=i in Bk?i:pN(c)}return YS[i]}function IC(u,i,c){var o=Vk(i);o!=null&&(u[o]=c),u[i]=c}function NC(u,i){var c=u.ownerDocument&&u.ownerDocument.defaultView&&u.ownerDocument.defaultView.opener?u.ownerDocument.defaultView.getComputedStyle(u,null):window.getComputedStyle(u,null);return c&&i?c.getPropertyValue(i)||c[i]:c}function fB(u){var i=NC(u);return i!=null&&(i.overflow==="scroll"||i.overflow==="auto")}var pB=function(){var u=document;return u.selection?function(){u.selection.empty()}:window.getSelection?function(){var i=window.getSelection();i&&(i.empty?i.empty():i.removeAllRanges&&i.removeAllRanges())}:function(){}}(),uf;(function(u){function i(o){return 180*o/Math.PI%360}u.toDeg=i,u.toRad=function(o){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t?o:o%360;return r*Math.PI/180};function c(o){return o%360+(o<0?360:0)}u.normalize=c})(uf||(uf={}));function nb(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Number.isInteger(u)?u:+u.toFixed(i)}function vB(u,i){var c,o;if(i==null?(o=u==null?1:u,c=0):(o=i,c=u==null?0:u),o<c){var t=c;c=o,o=t}return Math.floor(Math.random()*(o-c+1)+c)}function LC(u,i,c){return Number.isNaN(u)?NaN:Number.isNaN(i)||Number.isNaN(c)?0:i<c?u<i?i:u>c?c:u:u<c?c:u>i?i:u}function rb(u,i){return i*Math.round(u/i)}function hB(u,i){return i!=null&&u!=null&&i.x>=u.x&&i.x<=u.x+u.width&&i.y>=u.y&&i.y<=u.y+u.height}function ab(u,i){var c=u.x-i.x,o=u.y-i.y;return c*c+o*o}var z0=function(){function u(){Object(xi.a)(this,u)}return Object(Pi.a)(u,[{key:"valueOf",value:function(){return this.toJSON()}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),u}(),$i=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t,r){var d;return Object(xi.a)(this,o),d=c.call(this),d.x=t==null?0:t,d.y=r==null?0:r,d}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"round",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.x=nb(this.x,r),this.y=nb(this.y,r),this}},{key:"add",value:function(r,d){var v=o.create(r,d);return this.x+=v.x,this.y+=v.y,this}},{key:"update",value:function(r,d){var v=o.create(r,d);return this.x=v.x,this.y=v.y,this}},{key:"translate",value:function(r,d){var v=o.create(r,d);return this.x+=v.x,this.y+=v.y,this}},{key:"rotate",value:function(r,d){var v=o.rotate(this,r,d);return this.x=v.x,this.y=v.y,this}},{key:"scale",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new o,g=o.create(v);return this.x=g.x+r*(this.x-g.x),this.y=g.y+d*(this.y-g.y),this}},{key:"closest",value:function(r){var d=this;if(r.length===1)return o.create(r[0]);var v=null,g=Infinity;return r.forEach(function(b){var P=d.squaredDistance(b);P<g&&(v=b,g=P)}),v?o.create(v):null}},{key:"distance",value:function(r){return Math.sqrt(this.squaredDistance(r))}},{key:"squaredDistance",value:function(r){var d=o.create(r),v=this.x-d.x,g=this.y-d.y;return v*v+g*g}},{key:"manhattanDistance",value:function(r){var d=o.create(r);return Math.abs(d.x-this.x)+Math.abs(d.y-this.y)}},{key:"magnitude",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y)||.01}},{key:"theta",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new o,d=o.create(r),v=-(d.y-this.y),g=d.x-this.x,b=Math.atan2(v,g);return b<0&&(b=2*Math.PI+b),180*b/Math.PI}},{key:"angleBetween",value:function(r,d){if(this.equals(r)||this.equals(d))return NaN;var v=this.theta(d)-this.theta(r);return v<0&&(v+=360),v}},{key:"vectorAngle",value:function(r){var d=new o(0,0);return d.angleBetween(this,r)}},{key:"toPolar",value:function(r){return this.update(o.toPolar(this,r)),this}},{key:"changeInAngle",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new o;return this.clone().translate(-r,-d).theta(v)-this.theta(v)}},{key:"adhereToRect",value:function(r){return hB(r,this)||(this.x=Math.min(Math.max(this.x,r.x),r.x+r.width),this.y=Math.min(Math.max(this.y,r.y),r.y+r.height)),this}},{key:"bearing",value:function(r){var d=o.create(r),v=uf.toRad(this.y),g=uf.toRad(d.y),b=this.x,P=d.x,I=uf.toRad(P-b),V=Math.sin(I)*Math.cos(g),K=Math.cos(v)*Math.sin(g)-Math.sin(v)*Math.cos(g)*Math.cos(I),ae=uf.toDeg(Math.atan2(V,K)),ue=["NE","E","SE","S","SW","W","NW","N"],ve=ae-22.5;return ve<0&&(ve+=360),ve=parseInt(ve/45,10),ue[ve]}},{key:"cross",value:function(r,d){if(r!=null&&d!=null){var v=o.create(r),g=o.create(d);return(g.x-this.x)*(v.y-this.y)-(g.y-this.y)*(v.x-this.x)}return NaN}},{key:"dot",value:function(r){var d=o.create(r);return this.x*d.x+this.y*d.y}},{key:"diff",value:function(r,d){if(typeof r=="number")return new o(this.x-r,this.y-d);var v=o.create(r);return new o(this.x-v.x,this.y-v.y)}},{key:"lerp",value:function(r,d){var v=o.create(r);return new o((1-d)*this.x+d*v.x,(1-d)*this.y+d*v.y)}},{key:"normalize",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,d=r/this.magnitude();return this.scale(d,d)}},{key:"move",value:function(r,d){var v=o.create(r),g=uf.toRad(v.theta(this));return this.translate(Math.cos(g)*d,-Math.sin(g)*d)}},{key:"reflection",value:function(r){return o.create(r).move(this,this.distance(r))}},{key:"snapToGrid",value:function(r,d){return this.x=rb(this.x,r),this.y=rb(this.y,d==null?r:d),this}},{key:"equals",value:function(r){var d=o.create(r);return d!=null&&d.x===this.x&&d.y===this.y}},{key:"clone",value:function(){return o.clone(this)}},{key:"toJSON",value:function(){return o.toJSON(this)}},{key:"serialize",value:function(){return"".concat(this.x," ").concat(this.y)}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.toPolar=="function"}u.isPoint=i})($i||($i={})),function(u){function i(o){return o!=null&&typeof o=="object"&&typeof o.x=="number"&&typeof o.y=="number"}u.isPointLike=i;function c(o){return o!=null&&Array.isArray(o)&&o.length===2&&typeof o[0]=="number"&&typeof o[1]=="number"}u.isPointData=c}($i||($i={})),function(u){function i(I,V){return I==null||typeof I=="number"?new u(I,V):c(I)}u.create=i;function c(I){return u.isPoint(I)?new u(I.x,I.y):Array.isArray(I)?new u(I[0],I[1]):new u(I.x,I.y)}u.clone=c;function o(I){return u.isPoint(I)?{x:I.x,y:I.y}:Array.isArray(I)?{x:I[0],y:I[1]}:{x:I.x,y:I.y}}u.toJSON=o;function t(I,V){var K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new u,ae=Math.abs(I*Math.cos(V)),ue=Math.abs(I*Math.sin(V)),ve=c(K),Oe=uf.normalize(uf.toDeg(V));return Oe<90?ue=-ue:Oe<180?(ae=-ae,ue=-ue):Oe<270&&(ae=-ae),new u(ve.x+ae,ve.y+ue)}u.fromPolar=t;function r(I){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new u,K=c(I),ae=c(V),ue=K.x-ae.x,ve=K.y-ae.y;return new u(Math.sqrt(ue*ue+ve*ve),uf.toRad(ae.theta(K)))}u.toPolar=r;function d(I,V){return I===V?!0:I!=null&&V!=null?I.x===V.x&&I.y===V.y:!1}u.equals=d;function v(I,V){if(I==null&&V!=null||I!=null&&V==null||I!=null&&V!=null&&I.length!==V.length)return!1;if(I!=null&&V!=null){for(var K=0,ae=I.length;K<ae;K+=1)if(!d(I[K],V[K]))return!1}return!0}u.equalPoints=v;function g(I,V,K,ae){return new u(vB(I,V),vB(K,ae))}u.random=g;function b(I,V,K){var ae=uf.toRad(uf.normalize(-V)),ue=Math.sin(ae),ve=Math.cos(ae);return P(I,ve,ue,K)}u.rotate=b;function P(I,V,K){var ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new u,ue=c(I),ve=c(ae),Oe=ue.x-ve.x,ke=ue.y-ve.y,Ie=Oe*V-ke*K,Ye=ke*V+Oe*K;return new u(Ie+ve.x,Ye+ve.y)}u.rotateEx=P}($i||($i={}));var xl=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t,r,d,v){var g;return Object(xi.a)(this,o),g=c.call(this),g.x=t==null?0:t,g.y=r==null?0:r,g.width=d==null?0:d,g.height=v==null?0:v,g}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"left",get:function(){return this.x}},{key:"top",get:function(){return this.y}},{key:"right",get:function(){return this.x+this.width}},{key:"bottom",get:function(){return this.y+this.height}},{key:"origin",get:function(){return new $i(this.x,this.y)}},{key:"topLeft",get:function(){return new $i(this.x,this.y)}},{key:"topCenter",get:function(){return new $i(this.x+this.width/2,this.y)}},{key:"topRight",get:function(){return new $i(this.x+this.width,this.y)}},{key:"center",get:function(){return new $i(this.x+this.width/2,this.y+this.height/2)}},{key:"bottomLeft",get:function(){return new $i(this.x,this.y+this.height)}},{key:"bottomCenter",get:function(){return new $i(this.x+this.width/2,this.y+this.height)}},{key:"bottomRight",get:function(){return new $i(this.x+this.width,this.y+this.height)}},{key:"corner",get:function(){return new $i(this.x+this.width,this.y+this.height)}},{key:"rightMiddle",get:function(){return new $i(this.x+this.width,this.y+this.height/2)}},{key:"leftMiddle",get:function(){return new $i(this.x,this.y+this.height/2)}},{key:"topLine",get:function(){return new Qu(this.topLeft,this.topRight)}},{key:"rightLine",get:function(){return new Qu(this.topRight,this.bottomRight)}},{key:"bottomLine",get:function(){return new Qu(this.bottomLeft,this.bottomRight)}},{key:"leftLine",get:function(){return new Qu(this.topLeft,this.bottomLeft)}},{key:"getOrigin",value:function(){return this.origin}},{key:"getTopLeft",value:function(){return this.topLeft}},{key:"getTopCenter",value:function(){return this.topCenter}},{key:"getTopRight",value:function(){return this.topRight}},{key:"getCenter",value:function(){return this.center}},{key:"getCenterX",value:function(){return this.x+this.width/2}},{key:"getCenterY",value:function(){return this.y+this.height/2}},{key:"getBottomLeft",value:function(){return this.bottomLeft}},{key:"getBottomCenter",value:function(){return this.bottomCenter}},{key:"getBottomRight",value:function(){return this.bottomRight}},{key:"getCorner",value:function(){return this.corner}},{key:"getRightMiddle",value:function(){return this.rightMiddle}},{key:"getLeftMiddle",value:function(){return this.leftMiddle}},{key:"getTopLine",value:function(){return this.topLine}},{key:"getRightLine",value:function(){return this.rightLine}},{key:"getBottomLine",value:function(){return this.bottomLine}},{key:"getLeftLine",value:function(){return this.leftLine}},{key:"bbox",value:function(r){if(!r)return this.clone();var d=uf.toRad(r),v=Math.abs(Math.sin(d)),g=Math.abs(Math.cos(d)),b=this.width*g+this.height*v,P=this.width*v+this.height*g;return new o(this.x+(this.width-b)/2,this.y+(this.height-P)/2,b,P)}},{key:"round",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.x=nb(this.x,r),this.y=nb(this.y,r),this.width=nb(this.width,r),this.height=nb(this.height,r),this}},{key:"add",value:function(r,d,v,g){var b=o.create(r,d,v,g),P=Math.min(this.x,b.x),I=Math.min(this.y,b.y),V=Math.max(this.x+this.width,b.x+b.width),K=Math.max(this.y+this.height,b.y+b.height);return this.x=P,this.y=I,this.width=V-P,this.height=K-I,this}},{key:"update",value:function(r,d,v,g){var b=o.create(r,d,v,g);return this.x=b.x,this.y=b.y,this.width=b.width,this.height=b.height,this}},{key:"inflate",value:function(r,d){var v=r,g=d!=null?d:r;return this.x-=v,this.y-=g,this.width+=2*v,this.height+=2*g,this}},{key:"snapToGrid",value:function(r,d){var v=this.origin.snapToGrid(r,d),g=this.corner.snapToGrid(r,d);return this.x=v.x,this.y=v.y,this.width=g.x-v.x,this.height=g.y-v.y,this}},{key:"translate",value:function(r,d){var v=$i.create(r,d);return this.x+=v.x,this.y+=v.y,this}},{key:"scale",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new $i,g=this.origin.scale(r,d,v);return this.x=g.x,this.y=g.y,this.width*=r,this.height*=d,this}},{key:"rotate",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getCenter();if(r!==0){var v=uf.toRad(r),g=Math.cos(v),b=Math.sin(v),P=this.getOrigin(),I=this.getTopRight(),V=this.getBottomRight(),K=this.getBottomLeft();P=$i.rotateEx(P,g,b,d),I=$i.rotateEx(I,g,b,d),V=$i.rotateEx(V,g,b,d),K=$i.rotateEx(K,g,b,d);var ae=new o(P.x,P.y,0,0);ae.add(I.x,I.y,0,0),ae.add(V.x,V.y,0,0),ae.add(K.x,K.y,0,0),this.update(ae)}return this}},{key:"rotate90",value:function(){var r=(this.width-this.height)/2;this.x+=r,this.y-=r;var d=this.width;return this.width=this.height,this.height=d,this}},{key:"moveAndExpand",value:function(r){var d=o.clone(r);return this.x+=d.x||0,this.y+=d.y||0,this.width+=d.width||0,this.height+=d.height||0,this}},{key:"getMaxScaleToFit",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.center,v=o.clone(r),g=d.x,b=d.y,P=Infinity,I=Infinity,V=Infinity,K=Infinity,ae=Infinity,ue=Infinity,ve=Infinity,Oe=Infinity,ke=v.topLeft;ke.x<g&&(P=(this.x-g)/(ke.x-g)),ke.y<b&&(ae=(this.y-b)/(ke.y-b));var Ie=v.bottomRight;Ie.x>g&&(I=(this.x+this.width-g)/(Ie.x-g)),Ie.y>b&&(ue=(this.y+this.height-b)/(Ie.y-b));var Ye=v.topRight;Ye.x>g&&(V=(this.x+this.width-g)/(Ye.x-g)),Ye.y<b&&(ve=(this.y-b)/(Ye.y-b));var Ze=v.bottomLeft;return Ze.x<g&&(K=(this.x-g)/(Ze.x-g)),Ze.y>b&&(Oe=(this.y+this.height-b)/(Ze.y-b)),{sx:Math.min(P,I,V,K),sy:Math.min(ae,ue,ve,Oe)}}},{key:"getMaxUniformScaleToFit",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.center,v=this.getMaxScaleToFit(r,d);return Math.min(v.sx,v.sy)}},{key:"containsPoint",value:function(r,d){return hB(this,$i.create(r,d))}},{key:"containsRect",value:function(r,d,v,g){var b=o.create(r,d,v,g),P=this.x,I=this.y,V=this.width,K=this.height,ae=b.x,ue=b.y,ve=b.width,Oe=b.height;return V===0||K===0||ve===0||Oe===0?!1:ae>=P&&ue>=I&&ae+ve<=P+V&&ue+Oe<=I+K}},{key:"intersectsWithLine",value:function(r){var d=[this.topLine,this.rightLine,this.bottomLine,this.leftLine],v=[],g=[];return d.forEach(function(b){var P=r.intersectsWithLine(b);P!==null&&g.indexOf(P.toString())<0&&(v.push(P),g.push(P.toString()))}),v.length>0?v:null}},{key:"intersectsWithLineFromCenterToPoint",value:function(r,d){var v=$i.clone(r),g=this.center,b=null;d!=null&&d!==0&&v.rotate(d,g);for(var P=[this.topLine,this.rightLine,this.bottomLine,this.leftLine],I=new Qu(g,v),V=P.length-1;V>=0;V-=1){var K=P[V].intersectsWithLine(I);if(K!==null){b=K;break}}return b&&d!=null&&d!==0&&b.rotate(-d,g),b}},{key:"intersectsWithRect",value:function(r,d,v,g){var b=o.create(r,d,v,g);if(!this.isIntersectWithRect(b))return null;var P=this.origin,I=this.corner,V=b.origin,K=b.corner,ae=Math.max(P.x,V.x),ue=Math.max(P.y,V.y);return new o(ae,ue,Math.min(I.x,K.x)-ae,Math.min(I.y,K.y)-ue)}},{key:"isIntersectWithRect",value:function(r,d,v,g){var b=o.create(r,d,v,g),P=this.origin,I=this.corner,V=b.origin,K=b.corner;return!(K.x<=P.x||K.y<=P.y||V.x>=I.x||V.y>=I.y)}},{key:"normalize",value:function(){var r=this.x,d=this.y,v=this.width,g=this.height;return this.width<0&&(r=this.x+this.width,v=-this.width),this.height<0&&(d=this.y+this.height,g=-this.height),this.x=r,this.y=d,this.width=v,this.height=g,this}},{key:"union",value:function(r){var d=o.clone(r),v=this.origin,g=this.corner,b=d.origin,P=d.corner,I=Math.min(v.x,b.x),V=Math.min(v.y,b.y),K=Math.max(g.x,P.x),ae=Math.max(g.y,P.y);return new o(I,V,K-I,ae-V)}},{key:"getNearestSideToPoint",value:function(r){var d=$i.clone(r),v=d.x-this.x,g=this.x+this.width-d.x,b=d.y-this.y,P=this.y+this.height-d.y,I=v,V="left";return g<I&&(I=g,V="right"),b<I&&(I=b,V="top"),P<I&&(V="bottom"),V}},{key:"getNearestPointToPoint",value:function(r){var d=$i.clone(r);if(this.containsPoint(d)){var v=this.getNearestSideToPoint(d);switch(v){case"right":return new $i(this.x+this.width,d.y);case"left":return new $i(this.x,d.y);case"bottom":return new $i(d.x,this.y+this.height);case"top":return new $i(d.x,this.y);default:break}}return d.adhereToRect(this)}},{key:"equals",value:function(r){return r!=null&&r.x===this.x&&r.y===this.y&&r.width===this.width&&r.height===this.height}},{key:"clone",value:function(){return new o(this.x,this.y,this.width,this.height)}},{key:"toJSON",value:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},{key:"serialize",value:function(){return"".concat(this.x," ").concat(this.y," ").concat(this.width," ").concat(this.height)}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.width=="number"&&typeof t.height=="number"&&typeof t.inflate=="function"&&typeof t.moveAndExpand=="function"}u.isRectangle=i})(xl||(xl={})),function(u){function i(c){return c!=null&&typeof c=="object"&&typeof c.x=="number"&&typeof c.y=="number"&&typeof c.width=="number"&&typeof c.height=="number"}u.isRectangleLike=i}(xl||(xl={})),function(u){function i(d,v,g,b){return d==null||typeof d=="number"?new u(d,v,g,b):c(d)}u.create=i;function c(d){return u.isRectangle(d)?d.clone():Array.isArray(d)?new u(d[0],d[1],d[2],d[3]):new u(d.x,d.y,d.width,d.height)}u.clone=c;function o(d){return new u(0,0,d.width,d.height)}u.fromSize=o;function t(d,v){return new u(d.x,d.y,v.width,v.height)}u.fromPositionAndSize=t;function r(d){return new u(d.x-d.a,d.y-d.b,2*d.a,2*d.b)}u.fromEllipse=r}(xl||(xl={}));var Qu=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t,r,d,v){var g;return Object(xi.a)(this,o),g=c.call(this),typeof t=="number"&&typeof r=="number"?(g.start=new $i(t,r),g.end=new $i(d,v)):(g.start=$i.create(t),g.end=$i.create(r)),g}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"center",get:function(){return new $i((this.start.x+this.end.x)/2,(this.start.y+this.end.y)/2)}},{key:"getCenter",value:function(){return this.center}},{key:"round",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.start.round(r),this.end.round(r),this}},{key:"translate",value:function(r,d){return typeof r=="number"?(this.start.translate(r,d),this.end.translate(r,d)):(this.start.translate(r),this.end.translate(r)),this}},{key:"rotate",value:function(r,d){return this.start.rotate(r,d),this.end.rotate(r,d),this}},{key:"scale",value:function(r,d,v){return this.start.scale(r,d,v),this.end.scale(r,d,v),this}},{key:"length",value:function(){return Math.sqrt(this.squaredLength())}},{key:"squaredLength",value:function(){var r=this.start.x-this.end.x,d=this.start.y-this.end.y;return r*r+d*d}},{key:"setLength",value:function(r){var d=this.length();if(!d)return this;var v=r/d;return this.scale(v,v,this.start)}},{key:"parallel",value:function(r){var d=this.clone();if(!d.isDifferentiable())return d;var v=d.start,g=d.end,b=v.clone().rotate(270,g),P=g.clone().rotate(90,v);return v.move(P,r),g.move(b,r),d}},{key:"vector",value:function(){return new $i(this.end.x-this.start.x,this.end.y-this.start.y)}},{key:"angle",value:function(){var r=new $i(this.start.x+1,this.start.y);return this.start.angleBetween(this.end,r)}},{key:"bbox",value:function(){var r=Math.min(this.start.x,this.end.x),d=Math.min(this.start.y,this.end.y),v=Math.max(this.start.x,this.end.x),g=Math.max(this.start.y,this.end.y);return new xl(r,d,v-r,g-d)}},{key:"bearing",value:function(){return this.start.bearing(this.end)}},{key:"closestPoint",value:function(r){return this.pointAt(this.closestPointNormalizedLength(r))}},{key:"closestPointLength",value:function(r){return this.closestPointNormalizedLength(r)*this.length()}},{key:"closestPointTangent",value:function(r){return this.tangentAt(this.closestPointNormalizedLength(r))}},{key:"closestPointNormalizedLength",value:function(r){var d=this.vector().dot(new o(this.start,r).vector()),v=Math.min(1,Math.max(0,d/this.squaredLength()));return Number.isNaN(v)?0:v}},{key:"pointAt",value:function(r){var d=this.start,v=this.end;return r<=0?d.clone():r>=1?v.clone():d.lerp(v,r)}},{key:"pointAtLength",value:function(r){var d=this.start,v=this.end,g=!0;r<0&&(g=!1,r=-r);var b=this.length();if(r>=b)return g?v.clone():d.clone();var P=(g?r:b-r)/b;return this.pointAt(P)}},{key:"divideAt",value:function(r){var d=this.pointAt(r);return[new o(this.start,d),new o(d,this.end)]}},{key:"divideAtLength",value:function(r){var d=this.pointAtLength(r);return[new o(this.start,d),new o(d,this.end)]}},{key:"containsPoint",value:function(r){var d=this.start,v=this.end;if(d.cross(r,v)!==0)return!1;var g=this.length();return!(new o(d,r).length()>g||new o(r,v).length()>g)}},{key:"intersect",value:function(r,d){var v=r.intersectsWithLine(this,d);return v?Array.isArray(v)?v:[v]:null}},{key:"intersectsWithLine",value:function(r){var d=new $i(this.end.x-this.start.x,this.end.y-this.start.y),v=new $i(r.end.x-r.start.x,r.end.y-r.start.y),g=d.x*v.y-d.y*v.x,b=new $i(r.start.x-this.start.x,r.start.y-this.start.y),P=b.x*v.y-b.y*v.x,I=b.x*d.y-b.y*d.x;if(g===0||P*g<0||I*g<0)return null;if(g>0){if(P>g||I>g)return null}else if(P<g||I<g)return null;return new $i(this.start.x+P*d.x/g,this.start.y+P*d.y/g)}},{key:"isDifferentiable",value:function(){return!this.start.equals(this.end)}},{key:"pointOffset",value:function(r){var d=$i.clone(r),v=this.start,g=this.end,b=(g.x-v.x)*(d.y-v.y)-(g.y-v.y)*(d.x-v.x);return b/this.length()}},{key:"pointSquaredDistance",value:function(r,d){var v=$i.create(r,d);return this.closestPoint(v).squaredDistance(v)}},{key:"pointDistance",value:function(r,d){var v=$i.create(r,d);return this.closestPoint(v).distance(v)}},{key:"tangentAt",value:function(r){if(!this.isDifferentiable())return null;var d=this.start,v=this.end,g=this.pointAt(r),b=new o(d,v);return b.translate(g.x-d.x,g.y-d.y),b}},{key:"tangentAtLength",value:function(r){if(!this.isDifferentiable())return null;var d=this.start,v=this.end,g=this.pointAtLength(r),b=new o(d,v);return b.translate(g.x-d.x,g.y-d.y),b}},{key:"relativeCcw",value:function(r,d){var v=$i.create(r,d),g=v.x-this.start.x,b=v.y-this.start.y,P=this.end.x-this.start.x,I=this.end.y-this.start.y,V=g*I-b*P;return V===0&&(V=g*P+b*I,V>0&&(g-=P,b-=I,V=g*P+b*I,V<0&&(V=0))),V<0?-1:V>0?1:0}},{key:"equals",value:function(r){return r!=null&&this.start.x===r.start.x&&this.start.y===r.start.y&&this.end.x===r.end.x&&this.end.y===r.end.y}},{key:"clone",value:function(){return new o(this.start,this.end)}},{key:"toJSON",value:function(){return{start:this.start.toJSON(),end:this.end.toJSON()}}},{key:"serialize",value:function(){return[this.start.serialize(),this.end.serialize()].join(" ")}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;try{if((o==null||o===u.toStringTag)&&$i.isPoint(t.start)&&$i.isPoint(t.end)&&typeof t.vector=="function"&&typeof t.bearing=="function"&&typeof t.parallel=="function"&&typeof t.intersect=="function")return!0}catch(r){return!1}return!1}u.isLine=i})(Qu||(Qu={}));var ib=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t,r,d,v){var g;return Object(xi.a)(this,o),g=c.call(this),g.x=t==null?0:t,g.y=r==null?0:r,g.a=d==null?0:d,g.b=v==null?0:v,g}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"center",get:function(){return new $i(this.x,this.y)}},{key:"bbox",value:function(){return xl.fromEllipse(this)}},{key:"getCenter",value:function(){return this.center}},{key:"inflate",value:function(r,d){var v=r,g=d!=null?d:r;return this.a+=2*v,this.b+=2*g,this}},{key:"normalizedDistance",value:function(r,d){var v=$i.create(r,d),g=v.x-this.x,b=v.y-this.y,P=this.a,I=this.b;return g*g/(P*P)+b*b/(I*I)}},{key:"containsPoint",value:function(r,d){return this.normalizedDistance(r,d)<=1}},{key:"intersectsWithLine",value:function(r){var d=[],v=this.a,g=this.b,b=r.start,P=r.end,I=r.vector(),V=b.diff(new $i(this.x,this.y)),K=new $i(I.x/(v*v),I.y/(g*g)),ae=new $i(V.x/(v*v),V.y/(g*g)),ue=I.dot(K),ve=I.dot(ae),Oe=V.dot(ae)-1,ke=ve*ve-ue*Oe;if(ke<0)return null;if(ke>0){var Ie=Math.sqrt(ke),Ye=(-ve-Ie)/ue,Ze=(-ve+Ie)/ue;if((Ye<0||Ye>1)&&(Ze<0||Ze>1))return null;Ye>=0&&Ye<=1&&d.push(b.lerp(P,Ye)),Ze>=0&&Ze<=1&&d.push(b.lerp(P,Ze))}else{var et=-ve/ue;if(et>=0&&et<=1)d.push(b.lerp(P,et));else return null}return d}},{key:"intersectsWithLineFromCenterToPoint",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,v=$i.clone(r);d&&v.rotate(d,this.getCenter());var g=v.x-this.x,b=v.y-this.y,P;if(g===0)return P=this.bbox().getNearestPointToPoint(v),d?P.rotate(-d,this.getCenter()):P;var I=b/g,V=I*I,K=this.a*this.a,ae=this.b*this.b,ue=Math.sqrt(1/(1/K+V/ae));ue=g<0?-ue:ue;var ve=I*ue;return P=new $i(this.x+ue,this.y+ve),d?P.rotate(-d,this.getCenter()):P}},{key:"tangentTheta",value:function(r){var d=$i.clone(r),v=d.x,g=d.y,b=this.a,P=this.b,I=this.bbox().center,V=I.x,K=I.y,ae=30,ue=v>I.x+b/2,ve=v<I.x-b/2,Oe,ke;return ue||ve?(ke=v>I.x?g-ae:g+ae,Oe=b*b/(v-V)-b*b*(g-K)*(ke-K)/(P*P*(v-V))+V):(Oe=g>I.y?v+ae:v-ae,ke=P*P/(g-K)-P*P*(v-V)*(Oe-V)/(b*b*(g-K))+K),new $i(Oe,ke).theta(d)}},{key:"scale",value:function(r,d){return this.a*=r,this.b*=d,this}},{key:"rotate",value:function(r,d){var v=xl.fromEllipse(this);v.rotate(r,d);var g=o.fromRect(v);return this.a=g.a,this.b=g.b,this.x=g.x,this.y=g.y,this}},{key:"translate",value:function(r,d){var v=$i.create(r,d);return this.x+=v.x,this.y+=v.y,this}},{key:"equals",value:function(r){return r!=null&&r.x===this.x&&r.y===this.y&&r.a===this.a&&r.b===this.b}},{key:"clone",value:function(){return new o(this.x,this.y,this.a,this.b)}},{key:"toJSON",value:function(){return{x:this.x,y:this.y,a:this.a,b:this.b}}},{key:"serialize",value:function(){return"".concat(this.x," ").concat(this.y," ").concat(this.a," ").concat(this.b)}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.a=="number"&&typeof t.b=="number"&&typeof t.inflate=="function"&&typeof t.normalizedDistance=="function"}u.isEllipse=i})(ib||(ib={})),function(u){function i(t,r,d,v){return t==null||typeof t=="number"?new u(t,r,d,v):c(t)}u.create=i;function c(t){return u.isEllipse(t)?t.clone():Array.isArray(t)?new u(t[0],t[1],t[2],t[3]):new u(t.x,t.y,t.a,t.b)}u.parse=c;function o(t){var r=t.center;return new u(r.x,r.y,t.width/2,t.height/2)}u.fromRect=o}(ib||(ib={}));var vN=l("Nsem"),Jh=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t){var r;if(Object(xi.a)(this,o),r=c.call(this),t!=null){if(typeof t=="string")return Object(vN.a)(r,o.parse(t));r.points=t.map(function(d){return $i.create(d)})}else r.points=[];return r}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"start",get:function(){return this.points.length===0?null:this.points[0]}},{key:"end",get:function(){return this.points.length===0?null:this.points[this.points.length-1]}},{key:"scale",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new $i;return this.points.forEach(function(g){return g.scale(r,d,v)}),this}},{key:"rotate",value:function(r,d){return this.points.forEach(function(v){return v.rotate(r,d)}),this}},{key:"translate",value:function(r,d){var v=$i.create(r,d);return this.points.forEach(function(g){return g.translate(v.x,v.y)}),this}},{key:"bbox",value:function(){if(this.points.length===0)return new xl;for(var r=Infinity,d=-Infinity,v=Infinity,g=-Infinity,b=this.points,P=0,I=b.length;P<I;P+=1){var V=b[P],K=V.x,ae=V.y;K<r&&(r=K),K>d&&(d=K),ae<v&&(v=ae),ae>g&&(g=ae)}return new xl(r,v,d-r,g-v)}},{key:"closestPoint",value:function(r){var d=this.closestPointLength(r);return this.pointAtLength(d)}},{key:"closestPointLength",value:function(r){var d=this.points,v=d.length;if(v===0||v===1)return 0;for(var g=0,b=0,P=Infinity,I=0,V=v-1;I<V;I+=1){var K=new Qu(d[I],d[I+1]),ae=K.length(),ue=K.closestPointNormalizedLength(r),ve=K.pointAt(ue),Oe=ve.squaredDistance(r);Oe<P&&(P=Oe,b=g+ue*ae),g+=ae}return b}},{key:"closestPointNormalizedLength",value:function(r){var d=this.closestPointLength(r);if(d===0)return 0;var v=this.length();return v===0?0:d/v}},{key:"closestPointTangent",value:function(r){var d=this.closestPointLength(r);return this.tangentAtLength(d)}},{key:"containsPoint",value:function(r){if(this.points.length===0)return!1;for(var d=$i.clone(r),v=d.x,g=d.y,b=this.points,P=b.length,I=P-1,V=0,K=0;K<P;K+=1){var ae=b[I],ue=b[K];if(d.equals(ae))return!0;var ve=new Qu(ae,ue);if(ve.containsPoint(r))return!0;if(g<=ae.y&&g>ue.y||g>ae.y&&g<=ue.y){var Oe=ae.x-v>ue.x-v?ae.x-v:ue.x-v;if(Oe>=0){var ke=new $i(v+Oe,g),Ie=new Qu(r,ke);ve.intersectsWithLine(Ie)&&(V+=1)}}I=K}return V%2==1}},{key:"intersectsWithLine",value:function(r){for(var d=[],v=0,g=this.points.length-1;v<g;v+=1){var b=this.points[v],P=this.points[v+1],I=r.intersectsWithLine(new Qu(b,P));I&&d.push(I)}return d.length>0?d:null}},{key:"isDifferentiable",value:function(){for(var r=0,d=this.points.length-1;r<d;r+=1){var v=this.points[r],g=this.points[r+1],b=new Qu(v,g);if(b.isDifferentiable())return!0}return!1}},{key:"length",value:function(){for(var r=0,d=0,v=this.points.length-1;d<v;d+=1){var g=this.points[d],b=this.points[d+1];r+=g.distance(b)}return r}},{key:"pointAt",value:function(r){var d=this.points,v=d.length;if(v===0)return null;if(v===1||r<=0)return d[0].clone();if(r>=1)return d[v-1].clone();var g=this.length(),b=g*r;return this.pointAtLength(b)}},{key:"pointAtLength",value:function(r){var d=this.points,v=d.length;if(v===0)return null;if(v===1)return d[0].clone();var g=!0;r<0&&(g=!1,r=-r);for(var b=0,P=0,I=v-1;P<I;P+=1){var V=g?P:I-1-P,K=d[V],ae=d[V+1],ue=new Qu(K,ae),ve=K.distance(ae);if(r<=b+ve)return ue.pointAtLength((g?1:-1)*(r-b));b+=ve}var Oe=g?d[v-1]:d[0];return Oe.clone()}},{key:"tangentAt",value:function(r){var d=this.points,v=d.length;if(v===0||v===1)return null;r<0&&(r=0),r>1&&(r=1);var g=this.length(),b=g*r;return this.tangentAtLength(b)}},{key:"tangentAtLength",value:function(r){var d=this.points,v=d.length;if(v===0||v===1)return null;var g=!0;r<0&&(g=!1,r=-r);for(var b,P=0,I=0,V=v-1;I<V;I+=1){var K=g?I:V-1-I,ae=d[K],ue=d[K+1],ve=new Qu(ae,ue),Oe=ae.distance(ue);if(ve.isDifferentiable()){if(r<=P+Oe)return ve.tangentAtLength((g?1:-1)*(r-P));b=ve}P+=Oe}if(b){var ke=g?1:0;return b.tangentAt(ke)}return null}},{key:"simplify",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.points;if(d.length<3)return this;for(var v=r.threshold||0,g=0;d[g+2];){var b=g,P=g+1,I=g+2,V=d[b],K=d[P],ae=d[I],ue=new Qu(V,ae),ve=ue.closestPoint(K),Oe=ve.distance(K);Oe<=v?d.splice(P,1):g+=1}return this}},{key:"toHull",value:function(){var r=this.points,d=r.length;if(d===0)return new o;for(var v=r[0],g=1;g<d;g+=1)(r[g].y<v.y||r[g].y===v.y&&r[g].x>v.x)&&(v=r[g]);for(var b=[],P=0;P<d;P+=1){var I=v.theta(r[P]);I===0&&(I=360),b.push([r[P],P,I])}if(b.sort(function(Hr,Aa){var Fr=Hr[2]-Aa[2];return Fr===0&&(Fr=Aa[1]-Hr[1]),Fr}),b.length>2){var V=b[b.length-1];b.unshift(V)}for(var K={},ae=[],ue=function(Aa){return"".concat(Aa[0].toString(),"@").concat(Aa[1])};b.length!==0;){var ve=b.pop(),Oe=ve[0];if(!K[ue(ve)])for(var ke=!1;!ke;)if(ae.length<2)ae.push(ve),ke=!0;else{var Ie=ae.pop(),Ye=Ie[0],Ze=ae.pop(),et=Ze[0],yt=et.cross(Ye,Oe);if(yt<0)ae.push(Ze),ae.push(Ie),ae.push(ve),ke=!0;else if(yt===0){var jt=1e-10,Ft=Ye.angleBetween(et,Oe);Math.abs(Ft-180)<jt||Ye.equals(Oe)||et.equals(Ye)?(K[ue(Ie)]=Ye,ae.push(Ze)):Math.abs((Ft+1)%360-1)<jt&&(ae.push(Ze),b.push(Ie))}else K[ue(Ie)]=Ye,ae.push(Ze)}}ae.length>2&&ae.pop();for(var Ht,Gt=-1,Jt=0,mn=ae.length;Jt<mn;Jt+=1){var vn=ae[Jt][1];(Ht===void 0||vn<Ht)&&(Ht=vn,Gt=Jt)}var Yt=[];if(Gt>0){var En=ae.slice(Gt),or=ae.slice(0,Gt);Yt=En.concat(or)}else Yt=ae;for(var $r=[],vr=0,Er=Yt.length;vr<Er;vr+=1)$r.push(Yt[vr][0]);return new o($r)}},{key:"equals",value:function(r){var d=this;return r==null||r.points.length!==this.points.length?!1:r.points.every(function(v,g){return v.equals(d.points[g])})}},{key:"clone",value:function(){return new o(this.points.map(function(r){return r.clone()}))}},{key:"toJSON",value:function(){return this.points.map(function(r){return r.toJSON()})}},{key:"serialize",value:function(){return this.points.map(function(r){return"".concat(r.x,", ").concat(r.y)}).join(" ")}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.toHull=="function"&&typeof t.simplify=="function"}u.isPolyline=i})(Jh||(Jh={})),function(u){function i(c){var o=c.trim();if(o==="")return new u;for(var t=[],r=o.split(/\s*,\s*|\s+/),d=0,v=r.length;d<v;d+=2)t.push({x:+r[d],y:+r[d+1]});return new u(t)}u.parse=i}(Jh||(Jh={}));var Xg=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t,r,d,v){var g;return Object(xi.a)(this,o),g=c.call(this),g.PRECISION=3,g.start=$i.create(t),g.controlPoint1=$i.create(r),g.controlPoint2=$i.create(d),g.end=$i.create(v),g}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"bbox",value:function(){for(var r=this.start,d=this.controlPoint1,v=this.controlPoint2,g=this.end,b=r.x,P=r.y,I=d.x,V=d.y,K=v.x,ae=v.y,ue=g.x,ve=g.y,Oe=[],ke=[],Ie=[[],[]],Ye,Ze,et,yt,jt,Ft,Ht,Gt,Jt=0;Jt<2;Jt+=1){if(Jt===0?(Ze=6*b-12*I+6*K,Ye=-3*b+9*I-9*K+3*ue,et=3*I-3*b):(Ze=6*P-12*V+6*ae,Ye=-3*P+9*V-9*ae+3*ve,et=3*V-3*P),Math.abs(Ye)<1e-12){if(Math.abs(Ze)<1e-12)continue;yt=-et/Ze,yt>0&&yt<1&&ke.push(yt);continue}Ht=Ze*Ze-4*et*Ye,Gt=Math.sqrt(Ht),!(Ht<0)&&(jt=(-Ze+Gt)/(2*Ye),jt>0&&jt<1&&ke.push(jt),Ft=(-Ze-Gt)/(2*Ye),Ft>0&&Ft<1&&ke.push(Ft))}for(var mn,vn,Yt,En=ke.length,or=En;En;)En-=1,yt=ke[En],Yt=1-yt,mn=Yt*Yt*Yt*b+3*Yt*Yt*yt*I+3*Yt*yt*yt*K+yt*yt*yt*ue,Ie[0][En]=mn,vn=Yt*Yt*Yt*P+3*Yt*Yt*yt*V+3*Yt*yt*yt*ae+yt*yt*yt*ve,Ie[1][En]=vn,Oe[En]={X:mn,Y:vn};ke[or]=0,ke[or+1]=1,Oe[or]={X:b,Y:P},Oe[or+1]={X:ue,Y:ve},Ie[0][or]=b,Ie[1][or]=P,Ie[0][or+1]=ue,Ie[1][or+1]=ve,ke.length=or+2,Ie[0].length=or+2,Ie[1].length=or+2,Oe.length=or+2;var $r=Math.min.apply(null,Ie[0]),vr=Math.min.apply(null,Ie[1]),Er=Math.max.apply(null,Ie[0]),Hr=Math.max.apply(null,Ie[1]);return new xl($r,vr,Er-$r,Hr-vr)}},{key:"closestPoint",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.pointAtT(this.closestPointT(r,d))}},{key:"closestPointLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getOptions(d);return this.lengthAtT(this.closestPointT(r,v),v)}},{key:"closestPointNormalizedLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getOptions(d),g=this.closestPointLength(r,v);if(!g)return 0;var b=this.length(v);return b===0?0:g/b}},{key:"closestPointT",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getPrecision(d),g=this.getDivisions(d),b=Math.pow(10,-v),P=null,I=0,V=0,K=0,ae=0,ue=0,ve=null,Oe=g.length,ke=Oe>0?1/Oe:0;for(g.forEach(function(En,or){var $r=En.start.distance(r),vr=En.end.distance(r),Er=$r+vr;(ve==null||Er<ve)&&(P=En,I=or*ke,V=(or+1)*ke,K=$r,ae=vr,ve=Er,ue=En.endpointDistance())});;){var Ie=K?Math.abs(K-ae)/K:0,Ye=ae!=null?Math.abs(K-ae)/ae:0,Ze=Ie<b||Ye<b,et=K?K<ue*b:!0,yt=ae?ae<ue*b:!0,jt=et||yt;if(Ze||jt)return K<=ae?I:V;var Ft=P.divide(.5);ke/=2;var Ht=Ft[0].start.distance(r),Gt=Ft[0].end.distance(r),Jt=Ht+Gt,mn=Ft[1].start.distance(r),vn=Ft[1].end.distance(r),Yt=mn+vn;Jt<=Yt?(P=Ft[0],V-=ke,K=Ht,ae=Gt):(P=Ft[1],I+=ke,K=mn,ae=vn)}}},{key:"closestPointTangent",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.tangentAtT(this.closestPointT(r,d))}},{key:"containsPoint",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.toPolyline(d);return v.containsPoint(r)}},{key:"divideAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r<=0)return this.divideAtT(0);if(r>=1)return this.divideAtT(1);var v=this.tAt(r,d);return this.divideAtT(v)}},{key:"divideAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.tAtLength(r,d);return this.divideAtT(v)}},{key:"divide",value:function(r){return this.divideAtT(r)}},{key:"divideAtT",value:function(r){var d=this.start,v=this.controlPoint1,g=this.controlPoint2,b=this.end;if(r<=0)return[new o(d,d,d,d),new o(d,v,g,b)];if(r>=1)return[new o(d,v,g,b),new o(b,b,b,b)];var P=this.getSkeletonPoints(r),I=P.startControlPoint1,V=P.startControlPoint2,K=P.divider,ae=P.dividerControlPoint1,ue=P.dividerControlPoint2;return[new o(d,I,V,K),new o(K,ae,ue,b)]}},{key:"endpointDistance",value:function(){return this.start.distance(this.end)}},{key:"getSkeletonPoints",value:function(r){var d=this.start,v=this.controlPoint1,g=this.controlPoint2,b=this.end;if(r<=0)return{startControlPoint1:d.clone(),startControlPoint2:d.clone(),divider:d.clone(),dividerControlPoint1:v.clone(),dividerControlPoint2:g.clone()};if(r>=1)return{startControlPoint1:v.clone(),startControlPoint2:g.clone(),divider:b.clone(),dividerControlPoint1:b.clone(),dividerControlPoint2:b.clone()};var P=new Qu(d,v).pointAt(r),I=new Qu(v,g).pointAt(r),V=new Qu(g,b).pointAt(r),K=new Qu(P,I).pointAt(r),ae=new Qu(I,V).pointAt(r),ue=new Qu(K,ae).pointAt(r);return{startControlPoint1:P,startControlPoint2:K,divider:ue,dividerControlPoint1:ae,dividerControlPoint2:V}}},{key:"getSubdivisions",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getPrecision(r),v=[new o(this.start,this.controlPoint1,this.controlPoint2,this.end)];if(d===0)return v;for(var g=this.endpointDistance(),b=Math.pow(10,-d),P=0,I=function(){P+=1;var ae=[];v.forEach(function(Oe){var ke=Oe.divide(.5);ae.push(ke[0],ke[1])});var ue=ae.reduce(function(Oe,ke){return Oe+ke.endpointDistance()},0),ve=ue!==0?(ue-g)/ue:0;if(P>1&&ve<b)return{v:ae};v=ae,g=ue};;){var V=I();if(typeof V=="object")return V.v}}},{key:"length",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getDivisions(r);return d.reduce(function(v,g){return v+g.endpointDistance()},0)}},{key:"lengthAtT",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r<=0)return 0;var v=d.precision===void 0?this.PRECISION:d.precision,g=this.divide(r)[0];return g.length({precision:v})}},{key:"pointAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r<=0)return this.start.clone();if(r>=1)return this.end.clone();var v=this.tAt(r,d);return this.pointAtT(v)}},{key:"pointAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.tAtLength(r,d);return this.pointAtT(v)}},{key:"pointAtT",value:function(r){return r<=0?this.start.clone():r>=1?this.end.clone():this.getSkeletonPoints(r).divider}},{key:"isDifferentiable",value:function(){var r=this.start,d=this.controlPoint1,v=this.controlPoint2,g=this.end;return!(r.equals(d)&&d.equals(v)&&v.equals(g))}},{key:"tangentAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isDifferentiable())return null;r<0?r=0:r>1&&(r=1);var v=this.tAt(r,d);return this.tangentAtT(v)}},{key:"tangentAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isDifferentiable())return null;var v=this.tAtLength(r,d);return this.tangentAtT(v)}},{key:"tangentAtT",value:function(r){if(!this.isDifferentiable())return null;r<0&&(r=0),r>1&&(r=1);var d=this.getSkeletonPoints(r),v=d.startControlPoint2,g=d.dividerControlPoint1,b=d.divider,P=new Qu(v,g);return P.translate(b.x-v.x,b.y-v.y),P}},{key:"getPrecision",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r.precision==null?this.PRECISION:r.precision}},{key:"getDivisions",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.subdivisions!=null)return r.subdivisions;var d=this.getPrecision(r);return this.getSubdivisions({precision:d})}},{key:"getOptions",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getPrecision(r),v=this.getDivisions(r);return{precision:d,subdivisions:v}}},{key:"tAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r<=0)return 0;if(r>=1)return 1;var v=this.getOptions(d),g=this.length(v),b=g*r;return this.tAtLength(b,v)}},{key:"tAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=!0;r<0&&(v=!1,r=-r);for(var g=this.getPrecision(d),b=this.getDivisions(d),P={precision:g,subdivisions:b},I=null,V,K,ae=0,ue=0,ve=0,Oe=b.length,ke=Oe>0?1/Oe:0,Ie=0;Ie<Oe;Ie+=1){var Ye=v?Ie:Oe-1-Ie,Ze=b[Ie],et=Ze.endpointDistance();if(r<=ve+et){I=Ze,V=Ye*ke,K=(Ye+1)*ke,ae=v?r-ve:et+ve-r,ue=v?et+ve-r:r-ve;break}ve+=et}if(I==null)return v?1:0;for(var yt=this.length(P),jt=Math.pow(10,-g);;){var Ft=void 0;if(Ft=yt!==0?ae/yt:0,Ft<jt)return V;if(Ft=yt!==0?ue/yt:0,Ft<jt)return K;var Ht=void 0,Gt=void 0,Jt=I.divide(.5);ke/=2;var mn=Jt[0].endpointDistance(),vn=Jt[1].endpointDistance();ae<=mn?(I=Jt[0],K-=ke,Ht=ae,Gt=mn-Ht):(I=Jt[1],V+=ke,Ht=ae-mn,Gt=vn-Ht),ae=Ht,ue=Gt}}},{key:"toPoints",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getDivisions(r),v=[d[0].start.clone()];return d.forEach(function(g){return v.push(g.end.clone())}),v}},{key:"toPolyline",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new Jh(this.toPoints(r))}},{key:"scale",value:function(r,d,v){return this.start.scale(r,d,v),this.controlPoint1.scale(r,d,v),this.controlPoint2.scale(r,d,v),this.end.scale(r,d,v),this}},{key:"rotate",value:function(r,d){return this.start.rotate(r,d),this.controlPoint1.rotate(r,d),this.controlPoint2.rotate(r,d),this.end.rotate(r,d),this}},{key:"translate",value:function(r,d){return typeof r=="number"?(this.start.translate(r,d),this.controlPoint1.translate(r,d),this.controlPoint2.translate(r,d),this.end.translate(r,d)):(this.start.translate(r),this.controlPoint1.translate(r),this.controlPoint2.translate(r),this.end.translate(r)),this}},{key:"equals",value:function(r){return r!=null&&this.start.equals(r.start)&&this.controlPoint1.equals(r.controlPoint1)&&this.controlPoint2.equals(r.controlPoint2)&&this.end.equals(r.end)}},{key:"clone",value:function(){return new o(this.start,this.controlPoint1,this.controlPoint2,this.end)}},{key:"toJSON",value:function(){return{start:this.start.toJSON(),controlPoint1:this.controlPoint1.toJSON(),controlPoint2:this.controlPoint2.toJSON(),end:this.end.toJSON()}}},{key:"serialize",value:function(){return[this.start.serialize(),this.controlPoint1.serialize(),this.controlPoint2.serialize(),this.end.serialize()].join(" ")}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;try{if((o==null||o===u.toStringTag)&&$i.isPoint(t.start)&&$i.isPoint(t.controlPoint1)&&$i.isPoint(t.controlPoint2)&&$i.isPoint(t.end)&&typeof t.toPoints=="function"&&typeof t.toPolyline=="function")return!0}catch(r){return!1}return!1}u.isCurve=i})(Xg||(Xg={})),function(u){function i(t){var r=t.length,d=[],v=[],g=2;d[0]=t[0]/g;for(var b=1;b<r;b+=1)v[b]=1/g,g=(b<r-1?4:3.5)-v[b],d[b]=(t[b]-d[b-1])/g;for(var P=1;P<r;P+=1)d[r-P-1]-=v[r-P]*d[r-P];return d}function c(t){var r=t.map(function(ue){return $i.clone(ue)}),d=[],v=[],g=r.length-1;if(g===1)return d[0]=new $i((2*r[0].x+r[1].x)/3,(2*r[0].y+r[1].y)/3),v[0]=new $i(2*d[0].x-r[0].x,2*d[0].y-r[0].y),[d,v];for(var b=[],P=1;P<g-1;P+=1)b[P]=4*r[P].x+2*r[P+1].x;b[0]=r[0].x+2*r[1].x,b[g-1]=(8*r[g-1].x+r[g].x)/2;for(var I=i(b),V=1;V<g-1;V+=1)b[V]=4*r[V].y+2*r[V+1].y;b[0]=r[0].y+2*r[1].y,b[g-1]=(8*r[g-1].y+r[g].y)/2;for(var K=i(b),ae=0;ae<g;ae+=1)d.push(new $i(I[ae],K[ae])),ae<g-1?v.push(new $i(2*r[ae+1].x-I[ae+1],2*r[ae+1].y-K[ae+1])):v.push(new $i((r[g].x+I[g-1])/2,(r[g].y+K[g-1])/2));return[d,v]}function o(t){if(t==null||Array.isArray(t)&&t.length<2)throw new Error("At least 2 points are required");for(var r=c(t),d=[],v=0,g=r[0].length;v<g;v+=1){var b=new $i(r[0][v].x,r[0][v].y),P=new $i(r[1][v].x,r[1][v].y);d.push(new u(t[v],b,P,t[v+1]))}return d}u.throughPoints=o}(Xg||(Xg={}));var zk=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.isVisible=!0,o.isSegment=!0,o.isSubpathStart=!1,o}return Object(Pi.a)(c,[{key:"end",get:function(){return this.endPoint}},{key:"start",get:function(){if(this.previousSegment==null)throw new Error("Missing previous segment. (This segment cannot be the first segment of a path, or segment has not yet been added to a path.)");return this.previousSegment.end}},{key:"closestPointT",value:function(t,r){if(this.closestPointNormalizedLength)return this.closestPointNormalizedLength(t);throw new Error("Neither `closestPointT` nor `closestPointNormalizedLength` method is implemented.")}},{key:"lengthAtT",value:function(t,r){if(t<=0)return 0;var d=this.length();return t>=1?d:d*t}},{key:"divideAtT",value:function(t){if(this.divideAt)return this.divideAt(t);throw new Error("Neither `divideAtT` nor `divideAt` method is implemented.")}},{key:"pointAtT",value:function(t){if(this.pointAt)return this.pointAt(t);throw new Error("Neither `pointAtT` nor `pointAt` method is implemented.")}},{key:"tangentAtT",value:function(t){if(this.tangentAt)return this.tangentAt(t);throw new Error("Neither `tangentAtT` nor `tangentAt` method is implemented.")}}]),c}(z0),V_=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o,t){var r;return Object(xi.a)(this,c),r=i.call(this),Qu.isLine(o)?r.endPoint=o.end.clone().round(2):r.endPoint=$i.create(o,t).round(2),r}return Object(Pi.a)(c,[{key:"type",get:function(){return"L"}},{key:"line",get:function(){return new Qu(this.start,this.end)}},{key:"bbox",value:function(){return this.line.bbox()}},{key:"closestPoint",value:function(t){return this.line.closestPoint(t)}},{key:"closestPointLength",value:function(t){return this.line.closestPointLength(t)}},{key:"closestPointNormalizedLength",value:function(t){return this.line.closestPointNormalizedLength(t)}},{key:"closestPointTangent",value:function(t){return this.line.closestPointTangent(t)}},{key:"length",value:function(){return this.line.length()}},{key:"divideAt",value:function(t){var r=this.line.divideAt(t);return[new c(r[0]),new c(r[1])]}},{key:"divideAtLength",value:function(t){var r=this.line.divideAtLength(t);return[new c(r[0]),new c(r[1])]}},{key:"getSubdivisions",value:function(){return[]}},{key:"pointAt",value:function(t){return this.line.pointAt(t)}},{key:"pointAtLength",value:function(t){return this.line.pointAtLength(t)}},{key:"tangentAt",value:function(t){return this.line.tangentAt(t)}},{key:"tangentAtLength",value:function(t){return this.line.tangentAtLength(t)}},{key:"isDifferentiable",value:function(){return this.previousSegment==null?!1:!this.start.equals(this.end)}},{key:"clone",value:function(){return new c(this.end)}},{key:"scale",value:function(t,r,d){return this.end.scale(t,r,d),this}},{key:"rotate",value:function(t,r){return this.end.rotate(t,r),this}},{key:"translate",value:function(t,r){return typeof t=="number"?this.end.translate(t,r):this.end.translate(t),this}},{key:"equals",value:function(t){return this.type===t.type&&this.start.equals(t.start)&&this.end.equals(t.end)}},{key:"toJSON",value:function(){return{type:this.type,start:this.start.toJSON(),end:this.end.toJSON()}}},{key:"serialize",value:function(){var t=this.end;return"".concat(this.type," ").concat(t.x," ").concat(t.y)}}]),c}(zk);(function(u){function i(){for(var c=arguments.length,o=new Array(c),t=0;t<c;t++)o[t]=arguments[t];var r=o.length,d=o[0];if(Qu.isLine(d))return new u(d);if($i.isPointLike(d))return r===1?new u(d):o.map(function(I){return new u(I)});if(r===2)return new u(+o[0],+o[1]);for(var v=[],g=0;g<r;g+=2){var b=+o[g],P=+o[g+1];v.push(new u(b,P))}return v}u.create=i})(V_||(V_={}));var Hk=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"end",get:function(){if(!this.subpathStartSegment)throw new Error("Missing subpath start segment. (This segment needs a subpath start segment (e.g. MoveTo), or segment has not yet been added to a path.)");return this.subpathStartSegment.end}},{key:"type",get:function(){return"Z"}},{key:"line",get:function(){return new Qu(this.start,this.end)}},{key:"bbox",value:function(){return this.line.bbox()}},{key:"closestPoint",value:function(t){return this.line.closestPoint(t)}},{key:"closestPointLength",value:function(t){return this.line.closestPointLength(t)}},{key:"closestPointNormalizedLength",value:function(t){return this.line.closestPointNormalizedLength(t)}},{key:"closestPointTangent",value:function(t){return this.line.closestPointTangent(t)}},{key:"length",value:function(){return this.line.length()}},{key:"divideAt",value:function(t){var r=this.line.divideAt(t);return[r[1].isDifferentiable()?new V_(r[0]):this.clone(),new V_(r[1])]}},{key:"divideAtLength",value:function(t){var r=this.line.divideAtLength(t);return[r[1].isDifferentiable()?new V_(r[0]):this.clone(),new V_(r[1])]}},{key:"getSubdivisions",value:function(){return[]}},{key:"pointAt",value:function(t){return this.line.pointAt(t)}},{key:"pointAtLength",value:function(t){return this.line.pointAtLength(t)}},{key:"tangentAt",value:function(t){return this.line.tangentAt(t)}},{key:"tangentAtLength",value:function(t){return this.line.tangentAtLength(t)}},{key:"isDifferentiable",value:function(){return!this.previousSegment||!this.subpathStartSegment?!1:!this.start.equals(this.end)}},{key:"scale",value:function(){return this}},{key:"rotate",value:function(){return this}},{key:"translate",value:function(){return this}},{key:"equals",value:function(t){return this.type===t.type&&this.start.equals(t.start)&&this.end.equals(t.end)}},{key:"clone",value:function(){return new c}},{key:"toJSON",value:function(){return{type:this.type,start:this.start.toJSON(),end:this.end.toJSON()}}},{key:"serialize",value:function(){return this.type}}]),c}(zk);(function(u){function i(){return new u}u.create=i})(Hk||(Hk={}));var Gk=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o,t){var r;return Object(xi.a)(this,c),r=i.call(this),r.isVisible=!1,r.isSubpathStart=!0,Qu.isLine(o)||Xg.isCurve(o)?r.endPoint=o.end.clone().round(2):r.endPoint=$i.create(o,t).round(2),r}return Object(Pi.a)(c,[{key:"start",get:function(){throw new Error("Illegal access. Moveto segments should not need a start property.")}},{key:"type",get:function(){return"M"}},{key:"bbox",value:function(){return null}},{key:"closestPoint",value:function(){return this.end.clone()}},{key:"closestPointLength",value:function(){return 0}},{key:"closestPointNormalizedLength",value:function(){return 0}},{key:"closestPointT",value:function(){return 1}},{key:"closestPointTangent",value:function(){return null}},{key:"length",value:function(){return 0}},{key:"lengthAtT",value:function(){return 0}},{key:"divideAt",value:function(){return[this.clone(),this.clone()]}},{key:"divideAtLength",value:function(){return[this.clone(),this.clone()]}},{key:"getSubdivisions",value:function(){return[]}},{key:"pointAt",value:function(){return this.end.clone()}},{key:"pointAtLength",value:function(){return this.end.clone()}},{key:"pointAtT",value:function(){return this.end.clone()}},{key:"tangentAt",value:function(){return null}},{key:"tangentAtLength",value:function(){return null}},{key:"tangentAtT",value:function(){return null}},{key:"isDifferentiable",value:function(){return!1}},{key:"scale",value:function(t,r,d){return this.end.scale(t,r,d),this}},{key:"rotate",value:function(t,r){return this.end.rotate(t,r),this}},{key:"translate",value:function(t,r){return typeof t=="number"?this.end.translate(t,r):this.end.translate(t),this}},{key:"clone",value:function(){return new c(this.end)}},{key:"equals",value:function(t){return this.type===t.type&&this.end.equals(t.end)}},{key:"toJSON",value:function(){return{type:this.type,end:this.end.toJSON()}}},{key:"serialize",value:function(){var t=this.end;return"".concat(this.type," ").concat(t.x," ").concat(t.y)}}]),c}(zk);(function(u){function i(){var c=arguments.length,o=arguments.length<=0?void 0:arguments[0];if(Qu.isLine(o))return new u(o);if(Xg.isCurve(o))return new u(o);if($i.isPointLike(o)){if(c===1)return new u(o);for(var t=[],r=0;r<c;r+=1)r===0?t.push(new u(r<0||arguments.length<=r?void 0:arguments[r])):t.push(new V_(r<0||arguments.length<=r?void 0:arguments[r]));return t}if(c===2)return new u(+(arguments.length<=0?void 0:arguments[0]),+(arguments.length<=1?void 0:arguments[1]));for(var d=[],v=0;v<c;v+=2){var g=+(v<0||arguments.length<=v?void 0:arguments[v]),b=+(v+1<0||arguments.length<=v+1?void 0:arguments[v+1]);v===0?d.push(new u(g,b)):d.push(new V_(g,b))}return d}u.create=i})(Gk||(Gk={}));var W1=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o,t,r,d,v,g){var b;return Object(xi.a)(this,c),b=i.call(this),Xg.isCurve(o)?(b.controlPoint1=o.controlPoint1.clone().round(2),b.controlPoint2=o.controlPoint2.clone().round(2),b.endPoint=o.end.clone().round(2)):typeof o=="number"?(b.controlPoint1=new $i(o,t).round(2),b.controlPoint2=new $i(r,d).round(2),b.endPoint=new $i(v,g).round(2)):(b.controlPoint1=$i.create(o).round(2),b.controlPoint2=$i.create(t).round(2),b.endPoint=$i.create(r).round(2)),b}return Object(Pi.a)(c,[{key:"type",get:function(){return"C"}},{key:"curve",get:function(){return new Xg(this.start,this.controlPoint1,this.controlPoint2,this.end)}},{key:"bbox",value:function(){return this.curve.bbox()}},{key:"closestPoint",value:function(t){return this.curve.closestPoint(t)}},{key:"closestPointLength",value:function(t){return this.curve.closestPointLength(t)}},{key:"closestPointNormalizedLength",value:function(t){return this.curve.closestPointNormalizedLength(t)}},{key:"closestPointTangent",value:function(t){return this.curve.closestPointTangent(t)}},{key:"length",value:function(){return this.curve.length()}},{key:"divideAt",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=this.curve.divideAt(t,r);return[new c(d[0]),new c(d[1])]}},{key:"divideAtLength",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=this.curve.divideAtLength(t,r);return[new c(d[0]),new c(d[1])]}},{key:"divideAtT",value:function(t){var r=this.curve.divideAtT(t);return[new c(r[0]),new c(r[1])]}},{key:"getSubdivisions",value:function(){return[]}},{key:"pointAt",value:function(t){return this.curve.pointAt(t)}},{key:"pointAtLength",value:function(t){return this.curve.pointAtLength(t)}},{key:"tangentAt",value:function(t){return this.curve.tangentAt(t)}},{key:"tangentAtLength",value:function(t){return this.curve.tangentAtLength(t)}},{key:"isDifferentiable",value:function(){if(!this.previousSegment)return!1;var t=this.start,r=this.controlPoint1,d=this.controlPoint2,v=this.end;return!(t.equals(r)&&r.equals(d)&&d.equals(v))}},{key:"scale",value:function(t,r,d){return this.controlPoint1.scale(t,r,d),this.controlPoint2.scale(t,r,d),this.end.scale(t,r,d),this}},{key:"rotate",value:function(t,r){return this.controlPoint1.rotate(t,r),this.controlPoint2.rotate(t,r),this.end.rotate(t,r),this}},{key:"translate",value:function(t,r){return typeof t=="number"?(this.controlPoint1.translate(t,r),this.controlPoint2.translate(t,r),this.end.translate(t,r)):(this.controlPoint1.translate(t),this.controlPoint2.translate(t),this.end.translate(t)),this}},{key:"equals",value:function(t){return this.start.equals(t.start)&&this.end.equals(t.end)&&this.controlPoint1.equals(t.controlPoint1)&&this.controlPoint2.equals(t.controlPoint2)}},{key:"clone",value:function(){return new c(this.controlPoint1,this.controlPoint2,this.end)}},{key:"toJSON",value:function(){return{type:this.type,start:this.start.toJSON(),controlPoint1:this.controlPoint1.toJSON(),controlPoint2:this.controlPoint2.toJSON(),end:this.end.toJSON()}}},{key:"serialize",value:function(){var t=this.controlPoint1,r=this.controlPoint2,d=this.end;return[this.type,t.x,t.y,r.x,r.y,d.x,d.y].join(" ")}}]),c}(zk);(function(u){function i(){var c=arguments.length,o=arguments.length<=0?void 0:arguments[0];if(Xg.isCurve(o))return new u(o);if($i.isPointLike(o)){if(c===3)return new u(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]);for(var t=[],r=0;r<c;r+=3)t.push(new u(r<0||arguments.length<=r?void 0:arguments[r],r+1<0||arguments.length<=r+1?void 0:arguments[r+1],r+2<0||arguments.length<=r+2?void 0:arguments[r+2]));return t}if(c===6)return new u(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],arguments.length<=3?void 0:arguments[3],arguments.length<=4?void 0:arguments[4],arguments.length<=5?void 0:arguments[5]);for(var d=[],v=0;v<c;v+=6)d.push(new u(v<0||arguments.length<=v?void 0:arguments[v],v+1<0||arguments.length<=v+1?void 0:arguments[v+1],v+2<0||arguments.length<=v+2?void 0:arguments[v+2],v+3<0||arguments.length<=v+3?void 0:arguments[v+3],v+4<0||arguments.length<=v+4?void 0:arguments[v+4],v+5<0||arguments.length<=v+5?void 0:arguments[v+5]));return d}u.create=i})(W1||(W1={}));function $k(u,i,c){return{x:u*Math.cos(c)-i*Math.sin(c),y:u*Math.sin(c)+i*Math.cos(c)}}function gB(u,i,c,o,t,r){var d=1/3,v=2/3;return[d*u+v*c,d*i+v*o,d*t+v*c,d*r+v*o,t,r]}function mB(u,i,c,o,t,r,d,v,g,b){var P=Math.PI*120/180,I=Math.PI/180*(+t||0),V=[],K,ae,ue,ve,Oe;if(b)ae=b[0],ue=b[1],ve=b[2],Oe=b[3];else{K=$k(u,i,-I),u=K.x,i=K.y,K=$k(v,g,-I),v=K.x,g=K.y;var ke=(u-v)/2,Ie=(i-g)/2,Ye=ke*ke/(c*c)+Ie*Ie/(o*o);Ye>1&&(Ye=Math.sqrt(Ye),c=Ye*c,o=Ye*o);var Ze=c*c,et=o*o,yt=(r===d?-1:1)*Math.sqrt(Math.abs((Ze*et-Ze*Ie*Ie-et*ke*ke)/(Ze*Ie*Ie+et*ke*ke)));ve=yt*c*Ie/o+(u+v)/2,Oe=yt*-o*ke/c+(i+g)/2,ae=Math.asin((i-Oe)/o),ue=Math.asin((g-Oe)/o),ae=u<ve?Math.PI-ae:ae,ue=v<ve?Math.PI-ue:ue,ae<0&&(ae=Math.PI*2+ae),ue<0&&(ue=Math.PI*2+ue),d&&ae>ue&&(ae-=Math.PI*2),!d&&ue>ae&&(ue-=Math.PI*2)}var jt=ue-ae;if(Math.abs(jt)>P){var Ft=ue,Ht=v,Gt=g;ue=ae+P*(d&&ue>ae?1:-1),v=ve+c*Math.cos(ue),g=Oe+o*Math.sin(ue),V=mB(v,g,c,o,t,0,d,Ht,Gt,[ue,Ft,ve,Oe])}jt=ue-ae;var Jt=Math.cos(ae),mn=Math.sin(ae),vn=Math.cos(ue),Yt=Math.sin(ue),En=Math.tan(jt/4),or=4/3*(c*En),$r=4/3*(o*En),vr=[u,i],Er=[u+or*mn,i-$r*Jt],Hr=[v+or*Yt,g-$r*vn],Aa=[v,g];if(Er[0]=2*vr[0]-Er[0],Er[1]=2*vr[1]-Er[1],b)return[Er,Hr,Aa].concat(V);{V=[Er,Hr,Aa].concat(V).join().split(",");for(var Fr=[],ca=V.length,fa=0;fa<ca;fa+=1)Fr[fa]=fa%2?$k(+V[fa-1],+V[fa],I).y:$k(+V[fa],+V[fa+1],I).x;return Fr}}function $Q(u){if(!u)return null;var i=`
\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,c=new RegExp("([a-z])[".concat(i,",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[").concat(i,"]*,?[").concat(i,"]*)+)"),"ig"),o=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[".concat(i,"]*,?[").concat(i,"]*"),"ig"),t={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=[];return u.replace(c,function(d,v,g){var b=[],P=v.toLowerCase();g.replace(o,function(V,K){return K&&b.push(+K),V}),P==="m"&&b.length>2&&(r.push([v].concat(Object(Bs.a)(b.splice(0,2)))),P="l",v=v==="m"?"l":"L");for(var I=t[P];b.length>=I&&(r.push([v].concat(Object(Bs.a)(b.splice(0,I)))),!!I););return d}),r}function WQ(u){var i=$Q(u);if(!i||!i.length)return[["M",0,0]];for(var c=0,o=0,t=0,r=0,d=[],v=0,g=i.length;v<g;v+=1){var b=[];d.push(b);var P=i[v],I=P[0];if(I!==I.toUpperCase())switch(b[0]=I.toUpperCase(),b[0]){case"A":b[1]=P[1],b[2]=P[2],b[3]=P[3],b[4]=P[4],b[5]=P[5],b[6]=+P[6]+c,b[7]=+P[7]+o;break;case"V":b[1]=+P[1]+o;break;case"H":b[1]=+P[1]+c;break;case"M":t=+P[1]+c,r=+P[2]+o;for(var V=1,K=P.length;V<K;V+=1)b[V]=+P[V]+(V%2?c:o);break;default:for(var ae=1,ue=P.length;ae<ue;ae+=1)b[ae]=+P[ae]+(ae%2?c:o);break}else for(var ve=0,Oe=P.length;ve<Oe;ve+=1)b[ve]=P[ve];switch(b[0]){case"Z":c=+t,o=+r;break;case"H":c=b[1];break;case"V":o=b[1];break;case"M":t=b[b.length-2],r=b[b.length-1],c=b[b.length-2],o=b[b.length-1];break;default:c=b[b.length-2],o=b[b.length-1];break}}return d}function KQ(u){var i=WQ(u),c={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null};function o(V,K,ae){var ue,ve;if(!V)return["C",K.x,K.y,K.x,K.y,K.x,K.y];switch(V[0]in{T:1,Q:1}||(K.qx=null,K.qy=null),V[0]){case"M":K.X=V[1],K.Y=V[2];break;case"A":return parseFloat(V[1])===0||parseFloat(V[2])===0?["L",V[6],V[7]]:["C"].concat(mB.apply(0,[K.x,K.y].concat(V.slice(1))));case"S":return ae==="C"||ae==="S"?(ue=K.x*2-K.bx,ve=K.y*2-K.by):(ue=K.x,ve=K.y),["C",ue,ve].concat(V.slice(1));case"T":return ae==="Q"||ae==="T"?(K.qx=K.x*2-K.qx,K.qy=K.y*2-K.qy):(K.qx=K.x,K.qy=K.y),["C"].concat(gB(K.x,K.y,K.qx,K.qy,V[1],V[2]));case"Q":return K.qx=V[1],K.qy=V[2],["C"].concat(gB(K.x,K.y,V[1],V[2],V[3],V[4]));case"H":return["L"].concat(V[1],K.y);case"V":return["L"].concat(K.x,V[1]);case"L":break;case"Z":break;default:break}return V}function t(V,K){if(V[K].length>7){V[K].shift();for(var ae=V[K];ae.length;)r[K]="A",K+=1,V.splice(K,0,["C"].concat(ae.splice(0,6)));V.splice(K,1),v=i.length}}for(var r=[],d="",v=i.length,g=0;g<v;g+=1){var b="";i[g]&&(b=i[g][0]),b!=="C"&&(r[g]=b,g>0&&(d=r[g-1])),i[g]=o(i[g],c,d),r[g]!=="A"&&b==="C"&&(r[g]="C"),t(i,g);var P=i[g],I=P.length;c.x=P[I-2],c.y=P[I-1],c.bx=parseFloat(P[I-4])||c.x,c.by=parseFloat(P[I-3])||c.y}return(!i[0][0]||i[0][0]!=="M")&&i.unshift(["M",0,0]),i}function YQ(u){return KQ(u).map(function(i){return i.map(function(c){return typeof c=="string"?c:nb(c,2)})}).join(",").split(",").join(" ")}var XQ=new RegExp("^[\\s\\dLMCZz,.]*$");function JQ(u){return typeof u!="string"?!1:XQ.test(u)}function hN(u,i){return(u%i+i)%i}function ZQ(u,i,c,o,t){var r=[],d=u[u.length-1],v=i!=null&&i>0,g=i||0;if(o&&v){u=u.slice();var b=u[0],P=new $i(d.x+(b.x-d.x)/2,d.y+(b.y-d.y)/2);u.splice(0,0,P)}var I=u[0],V=1;for(c?r.push("M",I.x,I.y):r.push("L",I.x,I.y);V<(o?u.length:u.length-1);){var K=u[hN(V,u.length)],ae=I.x-K.x,ue=I.y-K.y;if(v&&(ae!==0||ue!==0)&&(t==null||t.indexOf(V-1)<0)){var ve=Math.sqrt(ae*ae+ue*ue),Oe=ae*Math.min(g,ve/2)/ve,ke=ue*Math.min(g,ve/2)/ve,Ie=K.x+Oe,Ye=K.y+ke;r.push("L",Ie,Ye);for(var Ze=u[hN(V+1,u.length)];V<u.length-2&&Math.round(Ze.x-K.x)===0&&Math.round(Ze.y-K.y)===0;)Ze=u[hN(V+2,u.length)],V+=1;ae=Ze.x-K.x,ue=Ze.y-K.y,ve=Math.max(1,Math.sqrt(ae*ae+ue*ue));var et=ae*Math.min(g,ve/2)/ve,yt=ue*Math.min(g,ve/2)/ve,jt=K.x+et,Ft=K.y+yt;r.push("Q",K.x,K.y,jt,Ft),K=new $i(jt,Ft)}else r.push("L",K.x,K.y);I=K,V+=1}return o?r.push("Z"):r.push("L",d.x,d.y),r.map(function(Ht){return typeof Ht=="string"?Ht:+Ht.toFixed(3)}).join(" ")}function _B(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=[];return u&&u.length&&u.forEach(function(o){Array.isArray(o)?c.push({x:o[0],y:o[1]}):c.push({x:o.x,y:o.y})}),ZQ(c,i.round,i.initialMove==null||i.initialMove,i.close,i.exclude)}function Wk(u,i,c,o){var t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,v=arguments.length>7?arguments[7]:void 0,g=arguments.length>8?arguments[8]:void 0;if(c===0||o===0)return[];v-=u,g-=i,c=Math.abs(c),o=Math.abs(o);var b=-v/2,P=-g/2,I=Math.cos(t*Math.PI/180),V=Math.sin(t*Math.PI/180),K=I*b+V*P,ae=-1*V*b+I*P,ue=K*K,ve=ae*ae,Oe=c*c,ke=o*o,Ie=ue/Oe+ve/ke,Ye;if(Ie>1)c=Math.sqrt(Ie)*c,o=Math.sqrt(Ie)*o,Ye=0;else{var Ze=1;r===d&&(Ze=-1),Ye=Ze*Math.sqrt((Oe*ke-Oe*ve-ke*ue)/(Oe*ve+ke*ue))}var et=Ye*c*ae/o,yt=-1*Ye*o*K/c,jt=I*et-V*yt+v/2,Ft=V*et+I*yt+g/2,Ht=Math.atan2((ae-yt)/o,(K-et)/c)-Math.atan2(0,1),Gt=Ht>=0?Ht:2*Math.PI+Ht;Ht=Math.atan2((-ae-yt)/o,(-K-et)/c)-Math.atan2((ae-yt)/o,(K-et)/c);var Jt=Ht>=0?Ht:2*Math.PI+Ht;d===0&&Jt>0?Jt-=2*Math.PI:d!==0&&Jt<0&&(Jt+=2*Math.PI);for(var mn=Jt*2/Math.PI,vn=Math.ceil(mn<0?-1*mn:mn),Yt=Jt/vn,En=8/3*Math.sin(Yt/4)*Math.sin(Yt/4)/Math.sin(Yt/2),or=I*c,$r=I*o,vr=V*c,Er=V*o,Hr=Math.cos(Gt),Aa=Math.sin(Gt),Fr=-En*(or*Aa+Er*Hr),ca=-En*(vr*Aa-$r*Hr),fa=0,ai=0,Wi=[],Co=0;Co<vn;Co+=1){Gt+=Yt,Hr=Math.cos(Gt),Aa=Math.sin(Gt),fa=or*Hr-Er*Aa+jt,ai=vr*Hr+$r*Aa+Ft;var zi=-En*(or*Aa+Er*Hr),us=-En*(vr*Aa-$r*Hr),Us=Co*6;Wi[Us]=Number(Fr+u),Wi[Us+1]=Number(ca+i),Wi[Us+2]=Number(fa-zi+u),Wi[Us+3]=Number(ai-us+i),Wi[Us+4]=Number(fa+u),Wi[Us+5]=Number(ai+i),Fr=fa+zi,ca=ai+us}return Wi.map(function(po){return+po.toFixed(2)})}function QQ(u,i,c,o){var t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,v=arguments.length>7?arguments[7]:void 0,g=arguments.length>8?arguments[8]:void 0,b=[],P=Wk(u,i,c,o,t,r,d,v,g);if(P!=null)for(var I=0,V=P.length;I<V;I+=6)b.push("C",P[I],P[I+1],P[I+2],P[I+3],P[I+4],P[I+5]);return b.join(" ")}var df=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t){var r;if(Object(xi.a)(this,o),r=c.call(this),r.PRECISION=3,r.segments=[],Array.isArray(t))if(Qu.isLine(t[0])||Xg.isCurve(t[0])){var d=null,v=t;v.forEach(function(b,P){P===0&&r.appendSegment(o.createSegment("M",b.start)),d!=null&&!d.end.equals(b.start)&&r.appendSegment(o.createSegment("M",b.start)),Qu.isLine(b)?r.appendSegment(o.createSegment("L",b.end)):Xg.isCurve(b)&&r.appendSegment(o.createSegment("C",b.controlPoint1,b.controlPoint2,b.end)),d=b})}else{var g=t;g.forEach(function(b){b.isSegment&&r.appendSegment(b)})}else t!=null&&(Qu.isLine(t)?(r.appendSegment(o.createSegment("M",t.start)),r.appendSegment(o.createSegment("L",t.end))):Xg.isCurve(t)?(r.appendSegment(o.createSegment("M",t.start)),r.appendSegment(o.createSegment("C",t.controlPoint1,t.controlPoint2,t.end))):Jh.isPolyline(t)?t.points&&t.points.length&&t.points.forEach(function(b,P){var I=P===0?o.createSegment("M",b):o.createSegment("L",b);r.appendSegment(I)}):t.isSegment&&r.appendSegment(t));return r}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"start",get:function(){var r=this.segments,d=r.length;if(d===0)return null;for(var v=0;v<d;v+=1){var g=r[v];if(g.isVisible)return g.start}return r[d-1].end}},{key:"end",get:function(){var r=this.segments,d=r.length;if(d===0)return null;for(var v=d-1;v>=0;v-=1){var g=r[v];if(g.isVisible)return g.end}return r[d-1].end}},{key:"moveTo",value:function(){for(var r,d=arguments.length,v=new Array(d),g=0;g<d;g++)v[g]=arguments[g];return this.appendSegment((r=Gk.create).call.apply(r,[null].concat(v)))}},{key:"lineTo",value:function(){for(var r,d=arguments.length,v=new Array(d),g=0;g<d;g++)v[g]=arguments[g];return this.appendSegment((r=V_.create).call.apply(r,[null].concat(v)))}},{key:"curveTo",value:function(){for(var r,d=arguments.length,v=new Array(d),g=0;g<d;g++)v[g]=arguments[g];return this.appendSegment((r=W1.create).call.apply(r,[null].concat(v)))}},{key:"arcTo",value:function(r,d,v,g,b,P,I){var V=this.end||new $i,K=typeof P=="number"?Wk(V.x,V.y,r,d,v,g,b,P,I):Wk(V.x,V.y,r,d,v,g,b,P.x,P.y);if(K!=null)for(var ae=0,ue=K.length;ae<ue;ae+=6)this.curveTo(K[ae],K[ae+1],K[ae+2],K[ae+3],K[ae+4],K[ae+5]);return this}},{key:"quadTo",value:function(r,d,v,g){var b=this.end||new $i,P=["M",b.x,b.y];if(typeof r=="number")P.push("Q",r,d,v,g);else{var I=d;P.push("Q",r.x,r.y,I.x,I.y)}var V=o.parse(P.join(" "));return this.appendSegment(V.segments.slice(1)),this}},{key:"close",value:function(){return this.appendSegment(Hk.create())}},{key:"drawPoints",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=_B(r,d),g=o.parse(v);g&&g.segments&&this.appendSegment(g.segments)}},{key:"bbox",value:function(){var r=this.segments,d=r.length;if(d===0)return null;for(var v,g=0;g<d;g+=1){var b=r[g];if(b.isVisible){var P=b.bbox();P!=null&&(v=v?v.union(P):P)}}if(v!=null)return v;var I=r[d-1];return new xl(I.end.x,I.end.y,0,0)}},{key:"appendSegment",value:function(r){var d=this.segments.length,v=d!==0?this.segments[d-1]:null,g,b=null;if(Array.isArray(r))for(var P=0,I=r.length;P<I;P+=1){var V=r[P];g=this.prepareSegment(V,v,b),this.segments.push(g),v=g}else r!=null&&r.isSegment&&(g=this.prepareSegment(r,v,b),this.segments.push(g));return this}},{key:"insertSegment",value:function(r,d){var v=this.segments.length;if(r<0&&(r=v+r+1),r>v||r<0)throw new Error("Index out of range.");var g,b=null,P=null;if(v!==0&&(r>=1?(b=this.segments[r-1],P=b.nextSegment):(b=null,P=this.segments[0])),!Array.isArray(d))g=this.prepareSegment(d,b,P),this.segments.splice(r,0,g);else for(var I=0,V=d.length;I<V;I+=1){var K=d[I];g=this.prepareSegment(K,b,P),this.segments.splice(r+I,0,g),b=g}return this}},{key:"removeSegment",value:function(r){var d=this.fixIndex(r),v=this.segments.splice(d,1)[0],g=v.previousSegment,b=v.nextSegment;return g&&(g.nextSegment=b),b&&(b.previousSegment=g),v.isSubpathStart&&b&&this.updateSubpathStartSegment(b),v}},{key:"replaceSegment",value:function(r,d){var v=this.fixIndex(r),g,b=this.segments[v],P=b.previousSegment,I=b.nextSegment,V=b.isSubpathStart;if(!Array.isArray(d))g=this.prepareSegment(d,P,I),this.segments.splice(v,1,g),V&&g.isSubpathStart&&(V=!1);else{this.segments.splice(r,1);for(var K=0,ae=d.length;K<ae;K+=1){var ue=d[K];g=this.prepareSegment(ue,P,I),this.segments.splice(r+K,0,g),P=g,V&&g.isSubpathStart&&(V=!1)}}V&&I&&this.updateSubpathStartSegment(I)}},{key:"getSegment",value:function(r){var d=this.fixIndex(r);return this.segments[d]}},{key:"fixIndex",value:function(r){var d=this.segments.length;if(d===0)throw new Error("Path has no segments.");for(var v=r;v<0;)v=d+v;if(v>=d||v<0)throw new Error("Index out of range.");return v}},{key:"segmentAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.segmentIndexAt(r,d);return v?this.getSegment(v):null}},{key:"segmentAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.segmentIndexAtLength(r,d);return v?this.getSegment(v):null}},{key:"segmentIndexAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;var v=LC(r,0,1),g=this.getOptions(d),b=this.length(g),P=b*v;return this.segmentIndexAtLength(P,g)}},{key:"segmentIndexAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.segments.length;if(v===0)return null;var g=!0;r<0&&(g=!1,r=-r);for(var b=this.getPrecision(d),P=this.getSubdivisions(d),I=0,V=null,K=0;K<v;K+=1){var ae=g?K:v-1-K,ue=this.segments[ae],ve=P[ae],Oe=ue.length({precision:b,subdivisions:ve});if(ue.isVisible){if(r<=I+Oe)return ae;V=ae}I+=Oe}return V}},{key:"getSegmentSubdivisions",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getPrecision(r),v=[],g=0,b=this.segments.length;g<b;g+=1){var P=this.segments[g],I=P.getSubdivisions({precision:d});v.push(I)}return v}},{key:"updateSubpathStartSegment",value:function(r){for(var d=r.previousSegment,v=r;v&&!v.isSubpathStart;)d!=null?v.subpathStartSegment=d.subpathStartSegment:v.subpathStartSegment=null,d=v,v=v.nextSegment}},{key:"prepareSegment",value:function(r,d,v){r.previousSegment=d,r.nextSegment=v,d!=null&&(d.nextSegment=r),v!=null&&(v.previousSegment=r);var g=r;return r.isSubpathStart&&(r.subpathStartSegment=r,g=v),g!=null&&this.updateSubpathStartSegment(g),r}},{key:"closestPoint",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.closestPointT(r,d);return v?this.pointAtT(v):null}},{key:"closestPointLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getOptions(d),g=this.closestPointT(r,v);return g?this.lengthAtT(g,v):0}},{key:"closestPointNormalizedLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getOptions(d),g=this.closestPointLength(r,v);if(g===0)return 0;var b=this.length(v);return b===0?0:g/b}},{key:"closestPointT",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;for(var v=this.getPrecision(d),g=this.getSubdivisions(d),b,P=Infinity,I=0,V=this.segments.length;I<V;I+=1){var K=this.segments[I],ae=g[I];if(K.isVisible){var ue=K.closestPointT(r,{precision:v,subdivisions:ae}),ve=K.pointAtT(ue),Oe=ab(ve,r);Oe<P&&(b={segmentIndex:I,value:ue},P=Oe)}}return b||{segmentIndex:this.segments.length-1,value:1}}},{key:"closestPointTangent",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;for(var v=this.getPrecision(d),g=this.getSubdivisions(d),b,P=Infinity,I=0,V=this.segments.length;I<V;I+=1){var K=this.segments[I],ae=g[I];if(K.isDifferentiable()){var ue=K.closestPointT(r,{precision:v,subdivisions:ae}),ve=K.pointAtT(ue),Oe=ab(ve,r);Oe<P&&(b=K.tangentAtT(ue),P=Oe)}}return b||null}},{key:"containsPoint",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.toPolylines(d);if(!v)return!1;for(var g=0,b=0,P=v.length;b<P;b+=1){var I=v[b];I.containsPoint(r)&&(g+=1)}return g%2==1}},{key:"pointAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;if(r<=0)return this.start.clone();if(r>=1)return this.end.clone();var v=this.getOptions(d),g=this.length(v),b=g*r;return this.pointAtLength(b,v)}},{key:"pointAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;if(r===0)return this.start.clone();var v=!0;r<0&&(v=!1,r=-r);for(var g=this.getPrecision(d),b=this.getSubdivisions(d),P,I=0,V=0,K=this.segments.length;V<K;V+=1){var ae=v?V:K-1-V,ue=this.segments[ae],ve=b[ae],Oe=ue.length({precision:g,subdivisions:ve});if(ue.isVisible){if(r<=I+Oe)return ue.pointAtLength((v?1:-1)*(r-I),{precision:g,subdivisions:ve});P=ue}I+=Oe}if(P)return v?P.end:P.start;var ke=this.segments[this.segments.length-1];return ke.end.clone()}},{key:"pointAtT",value:function(r){var d=this.segments,v=d.length;if(v===0)return null;var g=r.segmentIndex;if(g<0)return d[0].pointAtT(0);if(g>=v)return d[v-1].pointAtT(1);var b=LC(r.value,0,1);return d[g].pointAtT(b)}},{key:"divideAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;var v=LC(r,0,1),g=this.getOptions(d),b=this.length(g),P=b*v;return this.divideAtLength(P,g)}},{key:"divideAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;var v=!0;r<0&&(v=!1,r=-r);for(var g=this.getPrecision(d),b=this.getSubdivisions(d),P=0,I,V,K,ae,ue,ve=0,Oe=this.segments.length;ve<Oe;ve+=1){var ke=v?ve:Oe-1-ve,Ie=this.getSegment(ke),Ye=b[ke],Ze={precision:g,subdivisions:Ye},et=Ie.length(Ze);if(Ie.isDifferentiable()&&(K=Ie,ae=ke,r<=P+et)){V=ke,I=Ie.divideAtLength((v?1:-1)*(r-P),Ze);break}P+=et}if(!K)return null;I||(V=ae,ue=v?1:0,I=K.divideAtT(ue));var yt=this.clone(),jt=V;yt.replaceSegment(jt,I);var Ft=jt,Ht=jt+1,Gt=jt+2;I[0].isDifferentiable()||(yt.removeSegment(Ft),Ht-=1,Gt-=1);var Jt=yt.getSegment(Ht).start;yt.insertSegment(Ht,o.createSegment("M",Jt)),Gt+=1,I[1].isDifferentiable()||(yt.removeSegment(Gt-1),Gt-=1);for(var mn=Gt-Ft-1,vn=Gt,Yt=yt.segments.length;vn<Yt;vn+=1){var En=this.getSegment(vn-mn),or=yt.getSegment(vn);if(or.type==="Z"&&!En.subpathStartSegment.end.equals(or.subpathStartSegment.end)){var $r=o.createSegment("L",En.end);yt.replaceSegment(vn,$r)}}var vr=new o(yt.segments.slice(0,Ht)),Er=new o(yt.segments.slice(Ht));return[vr,Er]}},{key:"intersectsWithLine",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.toPolylines(d);if(v==null)return null;for(var g=null,b=0,P=v.length;b<P;b+=1){var I=v[b],V=r.intersect(I);if(V)if(g==null&&(g=[]),Array.isArray(V)){var K;(K=g).push.apply(K,Object(Bs.a)(V))}else g.push(V)}return g}},{key:"isDifferentiable",value:function(){for(var r=0,d=this.segments.length;r<d;r+=1){var v=this.segments[r];if(v.isDifferentiable())return!0}return!1}},{key:"isValid",value:function(){var r=this.segments,d=r.length===0||r[0].type==="M";return d}},{key:"length",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.segments.length===0)return 0;for(var d=this.getSubdivisions(r),v=0,g=0,b=this.segments.length;g<b;g+=1){var P=this.segments[g],I=d[g];v+=P.length({subdivisions:I})}return v}},{key:"lengthAtT",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.segments.length;if(v===0)return 0;var g=r.segmentIndex;if(g<0)return 0;var b=LC(r.value,0,1);g>=v&&(g=v-1,b=1);for(var P=this.getPrecision(d),I=this.getSubdivisions(d),V=0,K=0;K<g;K+=1){var ae=this.segments[K],ue=I[K];V+=ae.length({precision:P,subdivisions:ue})}var ve=this.segments[g],Oe=I[g];return V+=ve.lengthAtT(b,{precision:P,subdivisions:Oe}),V}},{key:"tangentAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;var v=LC(r,0,1),g=this.getOptions(d),b=this.length(g),P=b*v;return this.tangentAtLength(P,g)}},{key:"tangentAtLength",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.segments.length===0)return null;var v=!0;r<0&&(v=!1,r=-r);for(var g=this.getPrecision(d),b=this.getSubdivisions(d),P,I=0,V=0,K=this.segments.length;V<K;V+=1){var ae=v?V:K-1-V,ue=this.segments[ae],ve=b[ae],Oe=ue.length({precision:g,subdivisions:ve});if(ue.isDifferentiable()){if(r<=I+Oe)return ue.tangentAtLength((v?1:-1)*(r-I),{precision:g,subdivisions:ve});P=ue}I+=Oe}if(P){var ke=v?1:0;return P.tangentAtT(ke)}return null}},{key:"tangentAtT",value:function(r){var d=this.segments.length;if(d===0)return null;var v=r.segmentIndex;if(v<0)return this.segments[0].tangentAtT(0);if(v>=d)return this.segments[d-1].tangentAtT(1);var g=LC(r.value,0,1);return this.segments[v].tangentAtT(g)}},{key:"getPrecision",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r.precision==null?this.PRECISION:r.precision}},{key:"getSubdivisions",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.segmentSubdivisions==null){var d=this.getPrecision(r);return this.getSegmentSubdivisions({precision:d})}return r.segmentSubdivisions}},{key:"getOptions",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getPrecision(r),v=this.getSubdivisions(r);return{precision:d,segmentSubdivisions:v}}},{key:"toPoints",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.segments,v=d.length;if(v===0)return null;for(var g=this.getSubdivisions(r),b=[],P=[],I=0;I<v;I+=1){var V=d[I];if(V.isVisible){var K=g[I];K.length>0?K.forEach(function(ae){return P.push(ae.start)}):P.push(V.start)}else P.length>0&&(P.push(d[I-1].end),b.push(P),P=[])}return P.length>0&&(P.push(this.end),b.push(P)),b}},{key:"toPolylines",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.toPoints(r);return d?d.map(function(v){return new Jh(v)}):null}},{key:"scale",value:function(r,d,v){return this.segments.forEach(function(g){return g.scale(r,d,v)}),this}},{key:"rotate",value:function(r,d){return this.segments.forEach(function(v){return v.rotate(r,d)}),this}},{key:"translate",value:function(r,d){return typeof r=="number"?this.segments.forEach(function(v){return v.translate(r,d)}):this.segments.forEach(function(v){return v.translate(r)}),this}},{key:"clone",value:function(){var r=new o;return this.segments.forEach(function(d){return r.appendSegment(d.clone())}),r}},{key:"equals",value:function(r){if(r==null)return!1;var d=this.segments,v=r.segments,g=d.length;if(v.length!==g)return!1;for(var b=0;b<g;b+=1){var P=d[b],I=v[b];if(P.type!==I.type||!P.equals(I))return!1}return!0}},{key:"toJSON",value:function(){return this.segments.map(function(r){return r.toJSON()})}},{key:"serialize",value:function(){if(!this.isValid())throw new Error("Invalid path segments.");return this.segments.map(function(r){return r.serialize()}).join(" ")}},{key:"toString",value:function(){return this.serialize()}}]),o}(z0,Symbol.toStringTag);(function(u){u.toStringTag="X6.Geometry.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return!!((o==null||o===u.toStringTag)&&Array.isArray(t.segments)&&typeof t.moveTo=="function"&&typeof t.lineTo=="function"&&typeof t.curveTo=="function")}u.isPath=i})(df||(df={})),function(u){function i(o){if(!o)return new u;var t=new u,r=/(?:[a-zA-Z] *)(?:(?:-?\d+(?:\.\d+)?(?:e[-+]?\d+)? *,? *)|(?:-?\.\d+ *,? *))+|(?:[a-zA-Z] *)(?! |\d|-|\.)/g,d=u.normalize(o).match(r);if(d!=null)for(var v=0,g=d.length;v<g;v+=1){var b=d[v],P=/(?:[a-zA-Z])|(?:(?:-?\d+(?:\.\d+)?(?:e[-+]?\d+)?))|(?:(?:-?\.\d+))/g,I=b.match(P);if(I!=null){var V=I[0],K=I.slice(1).map(function(ue){return+ue}),ae=c.call.apply(c,[null,V].concat(Object(Bs.a)(K)));t.appendSegment(ae)}}return t}u.parse=i;function c(o){for(var t=arguments.length,r=new Array(t>1?t-1:0),d=1;d<t;d++)r[d-1]=arguments[d];if(o==="M"){var v;return(v=Gk.create).call.apply(v,[null].concat(r))}if(o==="L"){var g;return(g=V_.create).call.apply(g,[null].concat(r))}if(o==="C"){var b;return(b=W1.create).call.apply(b,[null].concat(r))}if(o==="z"||o==="Z")return Hk.create();throw new Error('Invalid path segment type "'.concat(o,'"'))}u.createSegment=c}(df||(df={})),function(u){u.normalize=YQ,u.isValid=JQ,u.drawArc=QQ,u.drawPoints=_B,u.arcToCurves=Wk}(df||(df={}));var Kd=function(u){function i(c,o,t){if(Object(xi.a)(this,i),!c)throw new TypeError("Invalid element to create vector");var r;if(i.isVector(c))r=c.node;else if(typeof c=="string")if(c.toLowerCase()==="svg")r=$S();else if(c[0]==="<"){var d=$S(c);r=document.importNode(d.firstChild,!0)}else r=document.createElementNS(B_.svg,c);else r=c;this.node=r,o&&this.setAttributes(o),t&&this.append(t)}return Object(Pi.a)(i,[{key:u,get:function(){return i.toStringTag}},{key:"type",get:function(){return this.node.nodeName}},{key:"id",get:function(){return this.node.id}},{key:"id",set:function(o){this.node.id=o}},{key:"transform",value:function(o,t){return o==null?xN(this.node):(xN(this.node,o,t),this)}},{key:"translate",value:function(o){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return o==null?qk(this.node):(qk(this.node,o,t,r),this)}},{key:"rotate",value:function(o,t,r){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return o==null?SN(this.node):(SN(this.node,o,t,r,d),this)}},{key:"scale",value:function(o,t){return o==null?ej(this.node):(ej(this.node,o,t),this)}},{key:"getTransformToElement",value:function(o){var t=i.toNode(o);return G0(this.node,t)}},{key:"removeAttribute",value:function(o){return iN(this.node,o),this}},{key:"getAttribute",value:function(o){return $1(this.node,o)}},{key:"setAttribute",value:function(o,t){return Lk(this.node,o,t),this}},{key:"setAttributes",value:function(o){return oN(this.node,o),this}},{key:"attr",value:function(o,t){return o==null?Mh(this.node):typeof o=="string"&&t===void 0?Mh(this.node,o):(typeof o=="object"?Mh(this.node,o):Mh(this.node,o,t),this)}},{key:"svg",value:function(){return this.node instanceof SVGSVGElement?this:i.create(this.node.ownerSVGElement)}},{key:"defs",value:function(){var o=this.svg()||this,t=o.node.getElementsByTagName("defs")[0];return t?i.create(t):i.create("defs").appendTo(o)}},{key:"text",value:function(o){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gN(this.node,o,t),this}},{key:"tagName",value:function(){return Pk(this.node)}},{key:"clone",value:function(){return i.create(this.node.cloneNode(!0))}},{key:"remove",value:function(){return PC(this.node),this}},{key:"empty",value:function(){return aN(this.node),this}},{key:"append",value:function(o){return G1(this.node,i.toNodes(o)),this}},{key:"appendTo",value:function(o){return Nk(this.node,i.isVector(o)?o.node:o),this}},{key:"prepend",value:function(o){return RC(this.node,i.toNodes(o)),this}},{key:"before",value:function(o){return Ik(this.node,i.toNodes(o)),this}},{key:"replace",value:function(o){return this.node.parentNode&&this.node.parentNode.replaceChild(i.toNode(o),this.node),i.create(o)}},{key:"first",value:function(){return this.node.firstChild?i.create(this.node.firstChild):null}},{key:"last",value:function(){return this.node.lastChild?i.create(this.node.lastChild):null}},{key:"get",value:function(o){var t=this.node.childNodes[o];return t?i.create(t):null}},{key:"indexOf",value:function(o){var t=Array.prototype.slice.call(this.node.childNodes);return t.indexOf(i.toNode(o))}},{key:"find",value:function(o){var t=[],r=aB(this.node,o);if(r)for(var d=0,v=r.length;d<v;d+=1)t.push(i.create(r[d]));return t}},{key:"findOne",value:function(o){var t=iB(this.node,o);return t?i.create(t):null}},{key:"findParentByClass",value:function(o,t){var r=Dk(this.node,o,t);return r?i.create(r):null}},{key:"matches",value:function(o){var t=this.node,r=this.node.matches,d=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector||null;return d&&d.call(t,o)}},{key:"contains",value:function(o){return rN(this.node,i.isVector(o)?o.node:o)}},{key:"wrap",value:function(o){var t=i.create(o),r=this.node.parentNode;return r!=null&&r.insertBefore(t.node,this.node),t.append(this)}},{key:"parent",value:function(o){var t=this;if(t.node.parentNode==null)return null;if(t=i.create(t.node.parentNode),o==null)return t;do if(typeof o=="string"?t.matches(o):t instanceof o)return t;while(t=i.create(t.node.parentNode));return t}},{key:"children",value:function(){for(var o=this.node.childNodes,t=[],r=0;r<o.length;r+=1){var d=o[r];d.nodeType===1&&t.push(i.create(o[r]))}return t}},{key:"eachChild",value:function(o,t){for(var r=this.children(),d=0,v=r.length;d<v;d+=1)o.call(r[d],r[d],d,r),t&&r[d].eachChild(o,t);return this}},{key:"index",value:function(){return Rk(this.node)}},{key:"hasClass",value:function(o){return kk(this.node,o)}},{key:"addClass",value:function(o){return HS(this.node,o),this}},{key:"removeClass",value:function(o){return MC(this.node,o),this}},{key:"toggleClass",value:function(o,t){return jk(this.node,o,t),this}},{key:"toLocalPoint",value:function(o,t){return cb(this.node,o,t)}},{key:"toGeometryShape",value:function(){return FC(this.node)}},{key:"translateCenterToPoint",value:function(o){var t=this.getBBox({target:this.svg()}),r=t.getCenter();return this.translate(o.x-r.x,o.y-r.y),this}},{key:"translateAndAutoOrient",value:function(o,t,r){return wN(this.node,o,t,r),this}},{key:"animate",value:function(o){return RB(this.node,o)}},{key:"animateTransform",value:function(o){return DB(this.node,o)}},{key:"animateAlongPath",value:function(o,t){return EN(this.node,o,t)}},{key:"normalizePath",value:function(){var o=this.tagName();return o==="path"&&this.attr("d",df.normalize(this.attr("d"))),this}},{key:"bbox",value:function(o,t){return MB(this.node,o,t)}},{key:"getBBox",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return sb(this.node,{recursive:o.recursive,target:o.target?i.toNode(o.target):null})}},{key:"sample",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;return this.node instanceof SVGPathElement?_N(this.node,o):[]}},{key:"toPath",value:function(){return i.create(yN(this.node))}},{key:"toPathData",value:function(){return bN(this.node)}}]),i}(Symbol.toStringTag);(function(u){u.toStringTag="X6.".concat(u.name);function i(d){if(d==null)return!1;if(d instanceof u)return!0;var v=d[Symbol.toStringTag],g=d;return(v==null||v===u.toStringTag)&&g.node instanceof SVGElement&&typeof g.animate=="function"&&typeof g.sample=="function"&&typeof g.normalizePath=="function"&&typeof g.toPath=="function"}u.isVector=i;function c(d,v,g){return new u(d,v,g)}u.create=c;function o(d){if(d[0]==="<"){for(var v=$S(d),g=[],b=0,P=v.childNodes.length;b<P;b+=1){var I=v.childNodes[b];g.push(c(document.importNode(I,!0)))}return g}return[c(d)]}u.createVectors=o;function t(d){return i(d)?d.node:d}u.toNode=t;function r(d){return Array.isArray(d)?d.map(function(v){return t(v)}):[t(d)]}u.toNodes=r})(Kd||(Kd={}));function qQ(u,i){var c=Kd.create(i),o=Kd.create("textPath"),t=u.d;if(t&&u["xlink:href"]===void 0){var r=Kd.create("path").attr("d",t).appendTo(c.defs());o.attr("xlink:href","#".concat(r.id))}return typeof u=="object"&&o.attr(u),o.node}function eq(u,i,c){for(var o=c.eol,t=c.baseSize,r=c.lineHeight,d=0,v,g={},b=i.length-1,P=0;P<=b;P+=1){var I=i[P],V=null;if(typeof I=="object"){var K=I.attrs,ae=Kd.create("tspan",K);v=ae.node;var ue=I.t;o&&P===b&&(ue+=o),v.textContent=ue;var ve=K.class;ve&&ae.addClass(ve),c.includeAnnotationIndices&&ae.attr("annotations",I.annotations.join(",")),V=parseFloat(K["font-size"]),V===void 0&&(V=t),V&&V>d&&(d=V)}else o&&P===b&&(I+=o),v=document.createTextNode(I||" "),t&&t>d&&(d=t);u.appendChild(v)}return d&&(g.maxFontSize=d),r?g.lineHeight=r:d&&(g.lineHeight=d*1.2),g}var yB=/em$/;function XS(u,i){var c=parseFloat(u);return yB.test(u)?c*i:c}function bB(u,i,c,o){if(!Array.isArray(i))return 0;var t=i.length;if(!t)return 0;for(var r=i[0],d=XS(r.maxFontSize,c)||c,v=0,g=XS(o,c),b=1;b<t;b+=1){r=i[b];var P=XS(r.lineHeight,c)||g;v+=P}var I=XS(r.maxFontSize,c)||c,V;switch(u){case"middle":V=d/2-.15*I-v/2;break;case"bottom":V=-(.25*I)-v;break;default:case"top":V=.8*d;break}return V}function gN(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};i=A.sanitize(i);var o=c.eol,t=c.textPath,r=c.textVerticalAnchor,d=r==="middle"||r==="bottom"||r==="top",v=c.x;v===void 0&&(v=u.getAttribute("x")||0);var g=c.includeAnnotationIndices,b=c.annotations;b&&!Array.isArray(b)&&(b=[b]);var P=c.lineHeight,I=P==="auto",V=I?"1.5em":P||"1em";aN(u),Mh(u,{"xml:space":"preserve",display:i||c.displayEmpty?null:"none"});var K=Mh(u,"font-size"),ae=parseFloat(K);ae||(ae=16,(d||b)&&!K&&Mh(u,"font-size","".concat(ae)));var ue;t?(typeof t=="string"&&(t={d:t}),ue=qQ(t,u)):ue=document.createDocumentFragment();for(var ve,Oe=0,ke,Ie=i.split(`
`),Ye=[],Ze=Ie.length-1,et=0;et<=Ze;et+=1){ve=V;var yt="v-line",jt=wg("tspan"),Ft=void 0,Ht=Ie[et];if(Ht)if(b){var Gt=A.annotate(Ht,b,{offset:-Oe,includeAnnotationIndices:g});Ft=eq(jt,Gt,{eol:et!==Ze&&o,baseSize:ae,lineHeight:I?null:V,includeAnnotationIndices:g});var Jt=Ft.lineHeight;Jt&&I&&et!==0&&(ve=Jt),et===0&&(ke=Ft.maxFontSize*.8)}else o&&et!==Ze&&(Ht+=o),jt.textContent=Ht;else{jt.textContent="-",yt+=" v-empty-line";var mn=jt.style;mn.fillOpacity=0,mn.strokeOpacity=0,b&&(Ft={})}Ft&&Ye.push(Ft),et>0&&jt.setAttribute("dy",ve),(et>0||t)&&jt.setAttribute("x",v),jt.className.baseVal=yt,ue.appendChild(jt),Oe+=Ht.length+1}if(d)if(b)ve=bB(r,Ye,ae,V);else if(r==="top")ve="0.8em";else{var vn;switch(Ze>0?(vn=parseFloat(V)||1,vn*=Ze,yB.test(V)||(vn/=ae)):vn=0,r){case"middle":ve="".concat(.3-vn/2,"em");break;case"bottom":ve="".concat(-vn-.3,"em");break;default:break}}else r===0?ve="0em":r?ve=r:(ve=0,u.getAttribute("y")==null&&u.setAttribute("y","".concat(ke||"0.8em")));var Yt=ue.firstChild;Yt.setAttribute("dy",ve),u.appendChild(ue)}function mN(u,i,c,o){var t=[],r=[];if(i!=null){var d=u.split(i);if(t.push.apply(t,Object(Bs.a)(d)),typeof i=="string")for(var v=0,g=d.length-1;v<g;v+=1)r.push(i);else for(var b=u.match(new RegExp(i,"g")),P=0,I=d.length-1;P<I;P+=1)r.push(b?b[P]:"")}else{for(var V="",K=0,ae=u.length;K<ae;K+=1){var ue=u[K];ue===" "?(t.push(V),r.push(" "),V=""):ue.match(/[^\x00-\xff]/)?(V.length&&(t.push(V),r.push("")),t.push(ue),r.push(""),V=""):V+=ue}V.length&&t.push(V)}for(var ve=0;ve<t.length;ve+=1){var Oe=t[ve];if(Oe.indexOf(c)>=0&&Oe.length>1){for(var ke=Oe.split(c),Ie=0,Ye=ke.length-1;Ie<Ye;Ie+=1)ke.splice(2*Ie+1,0,c);var Ze=ke.filter(function(Ht){return Ht!==""});t.splice.apply(t,[ve,1].concat(Object(Bs.a)(Ze)));var et=Ze.map(function(){return""});et.pop(),r.splice.apply(r,[ve,0].concat(Object(Bs.a)(et)))}}for(var yt=0;yt<t.length;yt+=1){var jt=t[yt],Ft=jt.search(o);Ft>0&&Ft<jt.length-1&&(t.splice(yt,1,jt.substring(0,Ft+1),jt.substring(Ft+1)),r.splice(yt,0,""))}return{words:t,separators:r}}function tq(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},t=i.width,r=i.height,d=o.svgDocument||wg("svg"),v=wg("text"),g=wg("tspan"),b=document.createTextNode("");Mh(v,c),v.appendChild(g),v.style.opacity="0",v.style.display="block",g.style.display="block",g.appendChild(b),d.appendChild(v);var P=d.parentNode==null;P&&document.body.appendChild(d);for(var I=o.eol||`
`,V=o.separator||" ",K=o.hyphen?new RegExp(o.hyphen):/[^\w\d]/,ae=o.breakWord!==!1,ue=[],ve={},Oe=[],ke,Ie,Ye,Ze=mN(u,o.separator,I,K),et=Ze.words,yt=Ze.separators,jt=0,Ft=0,Ht=et.length;jt<Ht;jt+=1){var Gt=et[jt];if(!!Gt){if(Gt===I){ue[Ft]=!0,Ft+=1,Oe[Ft]="";continue}if(Oe[Ft]!=null?(Ye=yt[jt-1]||"",b.data="".concat(Oe[Ft]).concat(Ye).concat(Gt)):b.data=Gt,g.getComputedTextLength()<=t)Oe[Ft]=b.data,ve[Ft]=yt[jt],ke&&(ue[Ft]=!0,Ft+=1,ke=0);else{if(ae){if(!Oe[Ft]||ke){var Jt=!!ke,mn=Gt.length===1;if(ke=Gt.length-1,Jt||mn){if(mn){if(!Oe[Ft]){Oe=[];break}et.splice(jt,2,Gt+et[jt+1]),yt.splice(jt+1,1),ue[Ft]=!0,Ft+=1,Ht-=1,jt-=1;continue}et[jt]=Gt.substring(0,ke),et[jt+1]=Gt.substring(ke)+et[jt+1]}else et.splice(jt,1,Gt.substring(0,ke),Gt.substring(ke)),yt.splice(jt,0,""),Ht+=1,Ft&&!ue[Ft-1]&&(Ft-=1);jt-=1;continue}}else if(!Oe[Ft]){Oe[Ft]=Gt,ue[Ft]=!0,Ft+=1;continue}Ft+=1,jt-=1}if(r!=null){if(Ie==null){var vn=void 0;c.lineHeight==="auto"?vn={value:1.5,unit:"em"}:vn=C.parseCssNumeric(c.lineHeight,["em"])||{value:1,unit:"em"},Ie=vn.value,vn.unit==="em"&&(Vf.IS_FIREFOX?Ie*=g.getBBox().height:Ie*=v.getBBox().height)}if(Ie*Oe.length>r){var Yt=Math.floor(r/Ie)-1,En=Oe[Yt],or=Oe[Yt+1];if(Oe.splice(Yt+1),En==null)break;var $r=o.ellipsis;if(!$r)break;typeof $r!="string"&&($r="\u2026");var vr=En;or&&ae&&(vr+=Ye+or);var Er=vr.length,Hr=void 0,Aa=void 0;do{if(Aa=vr[Er],Hr=vr.substring(0,Er),Aa?Aa.match(V)&&(Hr+=Aa):Hr+=ve[Yt],Hr+=$r,b.data=Hr,g.getComputedTextLength()<=t){Oe[Yt]=Hr;break}Er-=1}while(Er>=0);break}}}}return PC(P?d:v),Oe.join(I)}var Kk=.551784;function Ph(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,o=u.getAttribute(i);if(o==null)return c;var t=parseFloat(o);return Number.isNaN(t)?c:t}function _N(u){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,c=u.getTotalLength(),o=[],t=0,r;t<c;)r=u.getPointAtLength(t),o.push({distance:t,x:r.x,y:r.y}),t+=i;return o}function OB(u){return["M",Ph(u,"x1"),Ph(u,"y1"),"L",Ph(u,"x2"),Ph(u,"y2")].join(" ")}function CB(u){var i=JS(u);return i.length===0?null:"".concat(xB(i)," Z")}function EB(u){var i=JS(u);return i.length===0?null:xB(i)}function xB(u){var i=u.map(function(c){return"".concat(c.x," ").concat(c.y)});return"M ".concat(i.join(" L"))}function JS(u){var i=[],c=u.points;if(c)for(var o=0,t=c.numberOfItems;o<t;o+=1)i.push(c.getItem(o));return i}function SB(u){var i=Ph(u,"cx",0),c=Ph(u,"cy",0),o=Ph(u,"r"),t=o*Kk;return["M",i,c-o,"C",i+t,c-o,i+o,c-t,i+o,c,"C",i+o,c+t,i+t,c+o,i,c+o,"C",i-t,c+o,i-o,c+t,i-o,c,"C",i-o,c-t,i-t,c-o,i,c-o,"Z"].join(" ")}function wB(u){var i=Ph(u,"cx",0),c=Ph(u,"cy",0),o=Ph(u,"rx"),t=Ph(u,"ry")||o,r=o*Kk,d=t*Kk,v=["M",i,c-t,"C",i+r,c-t,i+o,c-d,i+o,c,"C",i+o,c+d,i+r,c+t,i,c+t,"C",i-r,c+t,i-o,c+d,i-o,c,"C",i-o,c-d,i-r,c-t,i,c-t,"Z"].join(" ");return v}function TB(u){return AB({x:Ph(u,"x",0),y:Ph(u,"y",0),width:Ph(u,"width",0),height:Ph(u,"height",0),rx:Ph(u,"rx",0),ry:Ph(u,"ry",0)})}function AB(u){var i,c=u.x,o=u.y,t=u.width,r=u.height,d=Math.min(u.rx||u["top-rx"]||0,t/2),v=Math.min(u.rx||u["bottom-rx"]||0,t/2),g=Math.min(u.ry||u["top-ry"]||0,r/2),b=Math.min(u.ry||u["bottom-ry"]||0,r/2);return d||v||g||b?i=["M",c,o+g,"v",r-g-b,"a",v,b,0,0,0,v,b,"h",t-2*v,"a",v,b,0,0,0,v,-b,"v",-(r-b-g),"a",d,g,0,0,0,-d,-g,"h",-(t-2*d),"a",d,g,0,0,0,-d,g,"Z"]:i=["M",c,o,"H",c+t,"V",o+r,"H",c,"V",o,"Z"],i.join(" ")}function yN(u){var i=wg("path");Mh(i,Mh(u));var c=bN(u);return c&&i.setAttribute("d",c),i}function bN(u){var i=u.tagName.toLowerCase();switch(i){case"path":return u.getAttribute("d");case"line":return OB(u);case"polygon":return CB(u);case"polyline":return EB(u);case"ellipse":return wB(u);case"circle":return SB(u);case"rect":return TB(u);default:break}throw new Error('"'.concat(i,'" cannot be converted to svg path element.'))}function ON(u,i,c,o){var t=2*Math.PI-1e-6,r=u,d=i,v=c,g=o;if(g<v){var b=v;v=g,g=b}var P=g-v,I=P<Math.PI?"0":"1",V=Math.cos(v),K=Math.sin(v),ae=Math.cos(g),ue=Math.sin(g);return P>=t?r?"M0,".concat(d,"A").concat(d,",").concat(d," 0 1,1 0,").concat(-d,"A").concat(d,",").concat(d," 0 1,1 0,").concat(d,"M0,").concat(r,"A").concat(r,",").concat(r," 0 1,0 0,").concat(-r,"A").concat(r,",").concat(r," 0 1,0 0,").concat(r,"Z"):"M0,".concat(d,"A").concat(d,",").concat(d," 0 1,1 0,").concat(-d,"A").concat(d,",").concat(d," 0 1,1 0,").concat(d,"Z"):r?"M".concat(d*V,",").concat(d*K,"A").concat(d,",").concat(d," 0 ").concat(I,",1 ").concat(d*ae,",").concat(d*ue,"L").concat(r*ae,",").concat(r*ue,"A").concat(r,",").concat(r," 0 ").concat(I,",0 ").concat(r*V,",").concat(r*K,"Z"):"M".concat(d*V,",").concat(d*K,"A").concat(d,",").concat(d," 0 ").concat(I,",1 ").concat(d*ae,",").concat(d*ue,"L0,0")+"Z"}var ZS=wg("svg"),nq=/(\w+)\(([^,)]+),?([^)]+)?\)/gi,kB=/[ ,]+/,rq=/^(\w+)\((.*)\)/;function CN(u,i){var c=ZS.createSVGPoint();return c.x=u,c.y=i,c}function Om(u){var i=ZS.createSVGMatrix();if(u!=null){var c=u,o=i;for(var t in c)o[t]=c[t]}return i}function ob(u){return u!=null?(u instanceof DOMMatrix||(u=Om(u)),ZS.createSVGTransformFromMatrix(u)):ZS.createSVGTransform()}function H0(u){var i=Om(),c=u!=null&&u.match(nq);if(!c)return i;for(var o=0,t=c.length;o<t;o+=1){var r=c[o],d=r.match(rq);if(d){var v=void 0,g=void 0,b=void 0,P=void 0,I=void 0,V=Om(),K=d[2].split(kB);switch(d[1].toLowerCase()){case"scale":v=parseFloat(K[0]),g=K[1]===void 0?v:parseFloat(K[1]),V=V.scaleNonUniform(v,g);break;case"translate":b=parseFloat(K[0]),P=parseFloat(K[1]),V=V.translate(b,P);break;case"rotate":I=parseFloat(K[0]),b=parseFloat(K[1])||0,P=parseFloat(K[2])||0,b!==0||P!==0?V=V.translate(b,P).rotate(I).translate(-b,-P):V=V.rotate(I);break;case"skewx":I=parseFloat(K[0]),V=V.skewX(I);break;case"skewy":I=parseFloat(K[0]),V=V.skewY(I);break;case"matrix":V.a=parseFloat(K[0]),V.b=parseFloat(K[1]),V.c=parseFloat(K[2]),V.d=parseFloat(K[3]),V.e=parseFloat(K[4]),V.f=parseFloat(K[5]);break;default:continue}i=i.multiply(V)}}return i}function QS(u){var i=u||{},c=i.a!=null?i.a:1,o=i.b!=null?i.b:0,t=i.c!=null?i.c:0,r=i.d!=null?i.d:1,d=i.e!=null?i.e:0,v=i.f!=null?i.f:0;return"matrix(".concat(c,",").concat(o,",").concat(t,",").concat(r,",").concat(d,",").concat(v,")")}function qS(u){var i,c,o;if(u){var t=kB;if(u.trim().indexOf("matrix")>=0){var r=H0(u),d=Xk(r);i=[d.translateX,d.translateY],c=[d.rotation],o=[d.scaleX,d.scaleY];var v=[];(i[0]!==0||i[1]!==0)&&v.push("translate(".concat(i.join(","),")")),(o[0]!==1||o[1]!==1)&&v.push("scale(".concat(o.join(","),")")),c[0]!==0&&v.push("rotate(".concat(c[0],")")),u=v.join(" ")}else{var g=u.match(/translate\((.*?)\)/);g&&(i=g[1].split(t));var b=u.match(/rotate\((.*?)\)/);b&&(c=b[1].split(t));var P=u.match(/scale\((.*?)\)/);P&&(o=P[1].split(t))}}var I=o&&o[0]?parseFloat(o[0]):1;return{raw:u||"",translation:{tx:i&&i[0]?parseInt(i[0],10):0,ty:i&&i[1]?parseInt(i[1],10):0},rotation:{angle:c&&c[0]?parseInt(c[0],10):0,cx:c&&c[1]?parseInt(c[1],10):void 0,cy:c&&c[2]?parseInt(c[2],10):void 0},scale:{sx:I,sy:o&&o[1]?parseFloat(o[1]):I}}}function Yk(u,i){var c=i.x*u.a+i.y*u.c+0,o=i.x*u.b+i.y*u.d+0;return{x:c,y:o}}function Xk(u){var i=Yk(u,{x:0,y:1}),c=Yk(u,{x:1,y:0}),o=180/Math.PI*Math.atan2(i.y,i.x)-90,t=180/Math.PI*Math.atan2(c.y,c.x);return{skewX:o,skewY:t,translateX:u.e,translateY:u.f,scaleX:Math.sqrt(u.a*u.a+u.b*u.b),scaleY:Math.sqrt(u.c*u.c+u.d*u.d),rotation:o}}function aq(u){var i,c,o,t;return u?(i=u.a==null?1:u.a,t=u.d==null?1:u.d,c=u.b,o=u.c):i=t=1,{sx:c?Math.sqrt(i*i+c*c):i,sy:o?Math.sqrt(o*o+t*t):t}}function jB(u){var i={x:0,y:1};return u&&(i=Yk(u,i)),{angle:uf.normalize(uf.toDeg(Math.atan2(i.y,i.x))-90)}}function iq(u){return{tx:u&&u.e||0,ty:u&&u.f||0}}function Jk(u,i){var c=CN(u.x,u.y).matrixTransform(i);return new $i(c.x,c.y)}function Zk(u,i){return new Qu(Jk(u.start,i),Jk(u.end,i))}function oq(u,i){var c=u instanceof Jh?u.points:u;return Array.isArray(c)||(c=[]),new Jh(c.map(function(o){return Jk(o,i)}))}function Qk(u,i){var c=ZS.createSVGPoint();c.x=u.x,c.y=u.y;var o=c.matrixTransform(i);c.x=u.x+u.width,c.y=u.y;var t=c.matrixTransform(i);c.x=u.x+u.width,c.y=u.y+u.height;var r=c.matrixTransform(i);c.x=u.x,c.y=u.y+u.height;var d=c.matrixTransform(i),v=Math.min(o.x,t.x,r.x,d.x),g=Math.max(o.x,t.x,r.x,d.x),b=Math.min(o.y,t.y,r.y,d.y),P=Math.max(o.y,t.y,r.y,d.y);return new xl(v,b,g-v,P-b)}var sq=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c};function MB(u,i,c){var o,t=u.ownerSVGElement;if(!t)return new xl(0,0,0,0);try{o=u.getBBox()}catch(d){o={x:u.clientLeft,y:u.clientTop,width:u.clientWidth,height:u.clientHeight}}if(i)return xl.create(o);var r=G0(u,c||t);return Qk(o,r)}function sb(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c,o=u.ownerSVGElement;if(!o||!B0(u)){if(WS(u)){var t=LB(u),r=t.left,d=t.top,v=t.width,g=t.height;return new xl(r,d,v,g)}return new xl(0,0,0,0)}var b=i.target,P=i.recursive;if(!P){try{c=u.getBBox()}catch(Oe){c={x:u.clientLeft,y:u.clientTop,width:u.clientWidth,height:u.clientHeight}}if(!b)return xl.create(c);var I=G0(u,b);return Qk(c,I)}{var V=u.childNodes,K=V.length;if(K===0)return sb(u,{target:b});b||(b=u);for(var ae=0;ae<K;ae+=1){var ue=V[ae],ve=void 0;ue.childNodes.length===0?ve=sb(ue,{target:b}):ve=sb(ue,{target:b,recursive:!0}),c?c=c.union(ve):c=ve}return c}}function cq(u){for(var i=u,c=i?i.tagName.toLowerCase():"";c==="g";)i=i.firstElementChild,c=i?i.tagName.toLowerCase():"";var o=function(v){var g=i.getAttribute(v),b=g?parseFloat(g):0;return Number.isNaN(b)?0:b},t,r;switch(c){case"rect":r=new xl(o("x"),o("y"),o("width"),o("height"));break;case"circle":t=o("r"),r=new xl(o("cx")-t,o("cy")-t,2*t,2*t);break;default:break}return r}function PB(u,i){var c=Om();if(B0(i)&&B0(u)){for(var o=u,t=[];o&&o!==i;){var r=o.getAttribute("transform")||null,d=H0(r);t.push(d),o=o.parentNode}t.reverse().forEach(function(v){c=c.multiply(v)})}return c}function G0(u,i){if(B0(i)&&B0(u)){var c=i.getScreenCTM(),o=u.getScreenCTM();if(c&&o)return c.inverse().multiply(o)}return Om()}function cb(u,i,c){var o=u instanceof SVGSVGElement?u:u.ownerSVGElement,t=o.createSVGPoint();t.x=i,t.y=c;try{var r=o.getScreenCTM(),d=t.matrixTransform(r.inverse()),v=G0(u,o).inverse();return d.matrixTransform(v)}catch(g){return t}}function FC(u){var i=function(d){var v=u.getAttribute(d),g=v?parseFloat(v):0;return Number.isNaN(g)?0:g};switch(u instanceof SVGElement&&u.nodeName.toLowerCase()){case"rect":return new xl(i("x"),i("y"),i("width"),i("height"));case"circle":return new ib(i("cx"),i("cy"),i("r"),i("r"));case"ellipse":return new ib(i("cx"),i("cy"),i("rx"),i("ry"));case"polyline":{var c=JS(u);return new Jh(c)}case"polygon":{var o=JS(u);return o.length>1&&o.push(o[0]),new Jh(o)}case"path":{var t=u.getAttribute("d");return df.isValid(t)||(t=df.normalize(t)),df.parse(t)}case"line":return new Qu(i("x1"),i("y1"),i("x2"),i("y2"));default:break}return sb(u)}function UC(u,i,c){var o=u instanceof SVGSVGElement?u:u.ownerSVGElement;c=c||o;var t=sb(c),r=t.getCenter();if(!t.intersectsWithLineFromCenterToPoint(i))return null;var d=null,v=u.tagName.toLowerCase();if(v==="rect"){var g=new xl(parseFloat(u.getAttribute("x")||"0"),parseFloat(u.getAttribute("y")||"0"),parseFloat(u.getAttribute("width")||"0"),parseFloat(u.getAttribute("height")||"0")),b=G0(u,c),P=Xk(b),I=o.createSVGTransform();I.setRotate(-P.rotation,r.x,r.y);var V=Qk(g,I.matrix.multiply(b));d=xl.create(V).intersectsWithLineFromCenterToPoint(i,P.rotation)}else if(v==="path"||v==="polygon"||v==="polyline"||v==="circle"||v==="ellipse"){for(var K=v==="path"?u:yN(u),ae=_N(K),ue=Infinity,ve=[],Oe=0,ke=ae.length;Oe<ke;Oe+=1){var Ie=ae[Oe],Ye=CN(Ie.x,Ie.y);Ye=Ye.matrixTransform(G0(u,c));var Ze=$i.create(Ye),et=Ze.distance(r),yt=Ze.distance(i)*1.1,jt=et+yt;jt<ue?(ue=jt,ve=[{sample:Ie,refDistance:yt}]):jt<ue+1&&ve.push({sample:Ie,refDistance:yt})}ve.sort(function(Ft,Ht){return Ft.refDistance-Ht.refDistance}),ve[0]&&(d=$i.create(ve[0].sample))}return d}function RB(u,i){return IB(u,i,"animate")}function DB(u,i){return IB(u,i,"animateTransform")}function IB(u,i,c){var o=wg(c);u.appendChild(o);try{return NB(o,i)}catch(t){}return function(){}}function NB(u,i){var c=i.start,o=i.complete,t=i.repeat,r=sq(i,["start","complete","repeat"]);Mh(u,r),c&&u.addEventListener("beginEvent",c),o&&u.addEventListener("endEvent",o),t&&u.addEventListener("repeatEvent",t);var d=u;return setTimeout(function(){d.beginElement()}),function(){return d.endElement()}}function EN(u,i,c){var o=nB(c),t=wg("animateMotion"),r=wg("mpath");Mh(r,{"xlink:href":"#".concat(o)}),t.appendChild(r),u.appendChild(t);try{return NB(t,i)}catch(ae){if(document.documentElement.getAttribute("smiling")==="fake"){var d=t;d.animators=[];var v=window,g=d.getAttribute("id");g&&(v.id2anim[g]=d);for(var b=v.getTargets(d),P=0,I=b.length;P<I;P+=1){var V=b[P],K=new v.Animator(d,V,P);v.animators.push(K),d.animators[P]=K,K.register()}}}return function(){}}function LB(u){var i=0,c=0,o=0,t=0;if(u){for(var r=u;r;)i+=r.offsetLeft,c+=r.offsetTop,r=r.offsetParent,r&&(i+=parseInt(NC(r,"borderLeft"),10),c+=parseInt(NC(r,"borderTop"),10));o=u.offsetWidth,t=u.offsetHeight}return{left:i,top:c,width:o,height:t}}function xN(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(i==null)return H0(Mh(u,"transform"));if(c.absolute){u.setAttribute("transform",QS(i));return}var o=u.transform,t=ob(i);o.baseVal.appendItem(t)}function qk(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},t=Mh(u,"transform"),r=qS(t);if(i==null)return r.translation;t=r.raw,t=t.replace(/translate\([^)]*\)/g,"").trim();var d=o.absolute?i:r.translation.tx+i,v=o.absolute?c:r.translation.ty+c,g="translate(".concat(d,",").concat(v,")");u.setAttribute("transform","".concat(g," ").concat(t).trim())}function SN(u,i,c,o){var t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},r=Mh(u,"transform"),d=qS(r);if(i==null)return d.rotation;r=d.raw,r=r.replace(/rotate\([^)]*\)/g,"").trim(),i%=360;var v=t.absolute?i:d.rotation.angle+i,g=c!=null&&o!=null?",".concat(c,",").concat(o):"",b="rotate(".concat(v).concat(g,")");u.setAttribute("transform","".concat(r," ").concat(b).trim())}function ej(u,i,c){var o=Mh(u,"transform"),t=qS(o);if(i==null)return t.scale;c=c==null?i:c,o=t.raw,o=o.replace(/scale\([^)]*\)/g,"").trim();var r="scale(".concat(i,",").concat(c,")");u.setAttribute("transform","".concat(o," ").concat(r).trim())}function wN(u,i,c,o){var t=$i.create(i),r=$i.create(c);if(!o){var d=u instanceof SVGSVGElement?u:u.ownerSVGElement;o=d}var v=ej(u);u.setAttribute("transform","");var g=sb(u,{target:o}).scale(v.sx,v.sy),b=ob();b.setTranslate(-g.x-g.width/2,-g.y-g.height/2);var P=ob(),I=t.angleBetween(r,t.clone().translate(1,0));I&&P.setRotate(I,0,0);var V=ob(),K=t.clone().move(r,g.width/2);V.setTranslate(2*t.x-K.x,2*t.y-K.y);var ae=G0(u,o),ue=ob();ue.setMatrix(V.matrix.multiply(P.matrix.multiply(b.matrix.multiply(ae.scale(v.sx,v.sy))))),u.setAttribute("transform",QS(ue.matrix))}var FB=function(){function u(i,c,o){Object(xi.a)(this,u),this.animationFrameId=0,this.deltaX=0,this.deltaY=0,this.eventName=Vf.isEventSupported("wheel")?"wheel":"mousewheel",this.target=i,this.onWheelCallback=c,this.onWheelGuard=o,this.onWheel=this.onWheel.bind(this),this.didWheel=this.didWheel.bind(this)}return Object(Pi.a)(u,[{key:"enable",value:function(){Vf.SUPPORT_PASSIVE?this.target.addEventListener(this.eventName,this.onWheel,{passive:!1}):dv()(this.target).on("mousewheel",this.onWheel)}},{key:"disable",value:function(){Vf.SUPPORT_PASSIVE?this.target.removeEventListener(this.eventName,this.onWheel):dv()(this.target).off("mousewheel")}},{key:"onWheel",value:function(c){var o=this;if(!(this.onWheelGuard!=null&&!this.onWheelGuard(c))){this.deltaX+=c.deltaX,this.deltaY+=c.deltaY,c.preventDefault();var t;(this.deltaX!==0||this.deltaY!==0)&&(c.stopPropagation(),t=!0),t===!0&&this.animationFrameId===0&&(this.animationFrameId=requestAnimationFrame(function(){o.didWheel(c)}))}}},{key:"didWheel",value:function(c){this.animationFrameId=0,this.onWheelCallback(c,this.deltaX,this.deltaY),this.deltaX=0,this.deltaY=0}}]),u}(),UB=Kd.isVector,BB=Kd.create,TN=Kd.createVectors;function tj(u){var i=this,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,o=null;return function(){for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];o&&clearTimeout(o),o=window.setTimeout(function(){u.apply(i,r)},c)}}function AN(u){var i=null,c=[],o=function(){if(getComputedStyle(u).position==="static"){var b=u.style;b.position="relative"}var P=document.createElement("object");return P.onload=function(){P.contentDocument.defaultView.addEventListener("resize",t),t()},P.style.display="block",P.style.position="absolute",P.style.top="0",P.style.left="0",P.style.height="100%",P.style.width="100%",P.style.overflow="hidden",P.style.pointerEvents="none",P.style.zIndex="-1",P.style.opacity="0",P.setAttribute("tabindex","-1"),P.type="text/html",u.appendChild(P),P.data="about:blank",P},t=tj(function(){c.forEach(function(g){return g(u)})}),r=function(b){i||(i=o()),c.indexOf(b)===-1&&c.push(b)},d=function(){i&&i.parentNode&&(i.contentDocument&&i.contentDocument.defaultView.removeEventListener("resize",t),i.parentNode.removeChild(i),i=null,c=[])},v=function(b){var P=c.indexOf(b);P!==-1&&c.splice(P,1),c.length===0&&i&&d()};return{element:u,bind:r,destroy:d,unbind:v}}function VB(u){var i=null,c=[],o=tj(function(){c.forEach(function(g){g(u)})}),t=function(){var b=new ResizeObserver(o);return b.observe(u),o(),b},r=function(b){i||(i=t()),c.indexOf(b)===-1&&c.push(b)},d=function(){i&&(i.disconnect(),c=[],i=null)},v=function(b){var P=c.indexOf(b);P!==-1&&c.splice(P,1),c.length===0&&i&&d()};return{element:u,bind:r,destroy:d,unbind:v}}var kN=typeof ResizeObserver!="undefined"?VB:AN,z_;(function(u){var i=new WeakMap;function c(t){var r=i.get(t);return r||(r=kN(t),i.set(t,r),r)}function o(t){t.destroy(),i.delete(t.element)}u.bind=function(t,r){var d=c(t);return d.bind(r),function(){return d.unbind(r)}},u.clear=function(t){var r=c(t);o(r)}})(z_||(z_={}));var e2;(function(u){var i=[],c=1e3/60,o=[],t=0,r=function(){return performance.now()},d=function(I){return I[0]},v=function(I){return o.push(I)===1&&g()},g=function(){var P=function(){var ue,ve;return(ve=(ue=o.splice(0,o.length))[0])===null||ve===void 0?void 0:ve.call(ue)};if(typeof MessageChannel!="undefined"){var I=new MessageChannel,V=I.port1,K=I.port2;return V.onmessage=P,function(){return K.postMessage(null)}}return function(){return setTimeout(P)}}(),b=function P(){t=r()+c;for(var I=d(i);I&&!u.shouldYield();){var V=I,K=V.callback,ae=V.data;I.callback=null;var ue=K&&K(ae);ue?I.callback=ue:i.shift(),I=d(i)}I&&v(P)};u.scheduleTask=function(P,I){var V={callback:P,data:I};i.push(V),v(b)},u.shouldYield=function(){var P,I;return((I=(P=navigator)===null||P===void 0?void 0:P.scheduling)===null||I===void 0?void 0:I.isInputPending())||r()>=t}})(e2||(e2={}));var $u=l("w4Tj"),Wu=l("oZsa"),Jp=function(){function u(i){Object(xi.a)(this,u),this.options=Object.assign({},i),this.data=this.options.data||{},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this)}return Object(Pi.a)(u,[{key:"names",get:function(){return Object.keys(this.data)}},{key:"register",value:function(c,o){var t=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof c=="object"){Object.keys(c).forEach(function(g){t.register(g,c[g],o)});return}this.exist(c)&&!r&&!Vf.isApplyingHMR()&&this.onDuplicated(c);var d=this.options.process,v=d?k.call(d,this,c,o):o;return this.data[c]=v,v}},{key:"unregister",value:function(c){var o=c?this.data[c]:null;return delete this.data[c],o}},{key:"get",value:function(c){return c?this.data[c]:null}},{key:"exist",value:function(c){return c?this.data[c]!=null:!1}},{key:"onDuplicated",value:function(c){try{throw this.options.onConflict&&k.call(this.options.onConflict,this,c),new Error("".concat(O.upperFirst(this.options.type)," with name '").concat(c,"' already registered."))}catch(o){throw o}}},{key:"onNotFound",value:function(c,o){throw new Error(this.getSpellingSuggestion(c,o))}},{key:"getSpellingSuggestion",value:function(c,o){var t=this.getSpellingSuggestionForName(c),r=o?"".concat(o," ").concat(O.lowerFirst(this.options.type)):this.options.type;return"".concat(O.upperFirst(r)," with name '").concat(c,"' does not exist.").concat(t?" Did you mean '".concat(t,"'?"):"")}},{key:"getSpellingSuggestionForName",value:function(c){return O.getSpellingSuggestion(c,Object.keys(this.data),function(o){return o})}}]),u}();(function(u){function i(c){return new u(c)}u.create=i})(Jp||(Jp={}));var jN={xlinkHref:"xlink:href",xlinkShow:"xlink:show",xlinkRole:"xlink:role",xlinkType:"xlink:type",xlinkArcrole:"xlink:arcrole",xlinkTitle:"xlink:title",xlinkActuate:"xlink:actuate",xmlSpace:"xml:space",xmlBase:"xml:base",xmlLang:"xml:lang",preserveAspectRatio:"preserveAspectRatio",requiredExtension:"requiredExtension",requiredFeatures:"requiredFeatures",systemLanguage:"systemLanguage",externalResourcesRequired:"externalResourceRequired"},$0={},nj={position:t2("x","width","origin")},MN={position:t2("y","height","origin")},lq={position:t2("x","width","corner")},PN={position:t2("y","height","corner")},zB={set:H_("width","width")},RN={set:H_("height","height")},uq={set:H_("rx","width")},HB={set:H_("ry","height")},rj={set:function(u){var i=H_(u,"width"),c=H_(u,"height");return function(o,t){var r=t.refBBox,d=r.height>r.width?i:c;return k.call(d,this,o,t)}}("r")},dq={set:function(i,c){var o=c.refBBox,t=parseFloat(i),r=C.isPercentage(i);r&&(t/=100);var d=Math.sqrt(o.height*o.height+o.width*o.width),v;return Number.isFinite(t)&&(r||t>=0&&t<=1?v=t*d:v=Math.max(t+d,0)),{r:v}}},fq={set:H_("cx","width")},DN={set:H_("cy","height")},aj={set:JB({resetOffset:!0})},GB={set:JB({resetOffset:!1})},IN={set:ZB({resetOffset:!0})},pq={set:ZB({resetOffset:!1})},$B=rj,vq=aj,ij=IN,WB=nj,NN=MN,KB=zB,YB=RN;function t2(u,i,c){return function(o,t){var r=t.refBBox;if(o==null)return null;var d=parseFloat(o),v=C.isPercentage(o);v&&(d/=100);var g;if(Number.isFinite(d)){var b=r[c];v||d>0&&d<1?g=b[u]+r[i]*d:g=b[u]+d}var P=new $i;return P[u]=g||0,P}}function H_(u,i){return function(c,o){var t=o.refBBox,r=parseFloat(c),d=C.isPercentage(c);d&&(r/=100);var v={};if(Number.isFinite(r)){var g=d||r>=0&&r<=1?r*t[i]:Math.max(r+t[i],0);v[u]=g}return v}}function XB(u,i){var c="x6-shape",o=i&&i.resetOffset;return function(t,r){var d=r.view,v=r.elem,g=r.refBBox,b=d.$(v),P=b.data(c);if(!P||P.value!==t){var I=u(t);P={value:t,shape:I,shapeBBox:I.bbox()},b.data(c,P)}var V=P.shape.clone(),K=P.shapeBBox.clone(),ae=K.getOrigin(),ue=g.getOrigin();K.x=ue.x,K.y=ue.y;var ve=g.getMaxScaleToFit(K,ue),Oe=K.width===0||g.width===0?1:ve.sx,ke=K.height===0||g.height===0?1:ve.sy;return V.scale(Oe,ke,ae),o&&V.translate(-ae.x,-ae.y),V}}function JB(u){function i(o){return df.parse(o)}var c=XB(i,u);return function(o,t){var r=c(o,t);return{d:r.serialize()}}}function ZB(u){var i=XB(function(c){return new Jh(c)},u);return function(c,o){var t=i(c,o);return{points:t.serialize()}}}var hq={qualify:m.isPlainObject,set:function(i,c){var o=c.view;return"url(#".concat(o.graph.defineGradient(i),")")}},gq={qualify:m.isPlainObject,set:function(i,c){var o=c.view,t=o.cell,r=Object.assign({},i);if(t.isEdge()&&r.type==="linearGradient"){var d=o,v=d.sourcePoint,g=d.targetPoint;r.id="gradient-".concat(r.type,"-").concat(t.id),r.attrs=Object.assign(Object.assign({},r.attrs),{x1:v.x,y1:v.y,x2:g.x,y2:g.y,gradientUnits:"userSpaceOnUse"}),o.graph.defs.remove(r.id)}return"url(#".concat(o.graph.defineGradient(r),")")}},QB={qualify:function(i,c){var o=c.attrs;return o.textWrap==null||!m.isPlainObject(o.textWrap)},set:function(i,c){var o=c.view,t=c.elem,r=c.attrs,d="x6-text",v=o.$(t),g=v.data(d),b=function(Oe){try{return JSON.parse(Oe)}catch(ke){return Oe}},P={x:r.x,eol:r.eol,annotations:b(r.annotations),textPath:b(r["text-path"]||r.textPath),textVerticalAnchor:r["text-vertical-anchor"]||r.textVerticalAnchor,displayEmpty:(r["display-empty"]||r.displayEmpty)==="true",lineHeight:r["line-height"]||r.lineHeight},I=r["font-size"]||r.fontSize,V=JSON.stringify([i,P]);if(I&&t.setAttribute("font-size",I),g==null||g!==V){var K=P.textPath;if(K!=null&&typeof K=="object"){var ae=K.selector;if(typeof ae=="string"){var ue=o.find(ae)[0];ue instanceof SVGPathElement&&(S.ensureId(ue),P.textPath=Object.assign({"xlink:href":"#".concat(ue.id)},K))}}S.text(t,"".concat(i),P),v.data(d,V)}}},mq={qualify:m.isPlainObject,set:function(i,c){var o=c.view,t=c.elem,r=c.attrs,d=c.refBBox,v=i,g=v.width||0;C.isPercentage(g)?d.width*=parseFloat(g)/100:g<=0?d.width+=g:d.width=g;var b=v.height||0;C.isPercentage(b)?d.height*=parseFloat(b)/100:b<=0?d.height+=b:d.height=b;var P,I=v.text;I==null&&(I=r.text),I!=null?P=S.breakText("".concat(I),d,{"font-weight":r["font-weight"]||r.fontWeight,"font-size":r["font-size"]||r.fontSize,"font-family":r["font-family"]||r.fontFamily,lineHeight:r.lineHeight},{svgDocument:o.graph.view.svg,ellipsis:v.ellipsis,hyphen:v.hyphen,breakWord:v.breakWord}):P="",k.call(QB.set,this,P,{view:o,elem:t,attrs:r,refBBox:d,cell:o.cell})}},BC=function(i,c){var o=c.attrs;return o.text!==void 0},_q={qualify:BC},qB={qualify:BC},yq={qualify:BC},bq={qualify:BC},Oq={qualify:BC},Cq={qualify:BC},Eq={qualify:function(i,c){var o=c.elem;return o instanceof SVGElement},set:function(i,c){var o=c.view,t=c.elem,r="x6-title",d="".concat(i),v=o.$(t),g=v.data(r);if(g==null||g!==d){v.data(r,d);var b=t.firstChild;if(b&&b.tagName.toUpperCase()==="TITLE"){var P=b;P.textContent=d}else{var I=document.createElementNS(t.namespaceURI,"title");I.textContent=d,t.insertBefore(I,b)}}}},xq={offset:e9("x","width","right")},Sq={offset:e9("y","height","bottom")},wq={offset:function(i,c){var o=c.refBBox;return i?{x:-o.x,y:-o.y}:{x:0,y:0}}};function e9(u,i,c){return function(o,t){var r=t.refBBox,d=new $i,v;return o==="middle"?v=r[i]/2:o===c?v=r[i]:typeof o=="number"&&Number.isFinite(o)?v=o>-1&&o<1?-r[i]*o:-o:C.isPercentage(o)?v=r[i]*parseFloat(o)/100:v=0,d[u]=-(r[u]+v),d}}var Tq={qualify:m.isPlainObject,set:function(i,c){var o=c.view,t=c.elem;o.$(t).css(i)}},Aq={set:function(i,c){var o=c.view,t=c.elem;o.$(t).html("".concat(i))}},kq={qualify:m.isPlainObject,set:function(i,c){var o=c.view;return"url(#".concat(o.graph.defineFilter(i),")")}},jq={set:function(i){return i!=null&&typeof i=="object"&&i.id?i.id:i}};function W0(u,i,c){var o,t;typeof i=="object"?(o=i.x,t=i.y):(o=i,t=c);var r=df.parse(u),d=r.bbox();if(d){var v=-d.height/2-d.y,g=-d.width/2-d.x;typeof o=="number"&&(g-=o),typeof t=="number"&&(v-=t),r.translate(g,v)}return r.serialize()}var t9=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Mq=function(i){var c=i.size,o=i.width,t=i.height,r=i.offset,d=i.open,v=t9(i,["size","width","height","offset","open"]);return n9({size:c,width:o,height:t,offset:r},d===!0,!0,void 0,v)},Pq=function(i){var c=i.size,o=i.width,t=i.height,r=i.offset,d=i.factor,v=t9(i,["size","width","height","offset","factor"]);return n9({size:c,width:o,height:t,offset:r},!1,!1,d,v)};function n9(u,i,c){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:3/4,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},r=u.size||10,d=u.width||r,v=u.height||r,g=new df,b={};if(i)g.moveTo(d,0).lineTo(0,v/2).lineTo(d,v),b.fill="none";else{if(g.moveTo(0,v/2),g.lineTo(d,0),!c){var P=C.clamp(o,0,1);g.lineTo(d*P,v/2)}g.lineTo(d,v),g.close()}return Object.assign(Object.assign(Object.assign({},b),t),{tagName:"path",d:W0(g.serialize(),{x:u.offset!=null?u.offset:-d/2})})}var Rq=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Dq=function(i){var c=i.size,o=i.width,t=i.height,r=i.offset,d=Rq(i,["size","width","height","offset"]),v=c||10,g=o||v,b=t||v,P=new df;return P.moveTo(0,b/2).lineTo(g/2,0).lineTo(g,b/2).lineTo(g/2,b).close(),Object.assign(Object.assign({},d),{tagName:"path",d:W0(P.serialize(),r==null?-g/2:r)})},LN=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Iq=function(i){var c=i.d,o=i.offsetX,t=i.offsetY,r=LN(i,["d","offsetX","offsetY"]);return Object.assign(Object.assign({},r),{tagName:"path",d:W0(c,o,t)})},Nq=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Lq=function(i){var c=i.size,o=i.width,t=i.height,r=i.offset,d=Nq(i,["size","width","height","offset"]),v=c||10,g=o||v,b=t||v,P=new df;return P.moveTo(0,0).lineTo(g,b).moveTo(0,b).lineTo(g,0),Object.assign(Object.assign({},d),{tagName:"path",fill:"none",d:W0(P.serialize(),r||-g/2)})},Fq=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Uq=function(i){var c=i.width,o=i.height,t=i.offset,r=i.open,d=i.flip,v=Fq(i,["width","height","offset","open","flip"]),g=o||6,b=c||10,P=r===!0,I=d===!0,V=Object.assign(Object.assign({},v),{tagName:"path"});I&&(g=-g);var K=new df;return K.moveTo(0,g).lineTo(b,0),P?V.fill="none":(K.lineTo(b,g),K.close()),V.d=W0(K.serialize(),{x:t||-b/2,y:g/2}),V},K0=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},n2=function(i){var c=i.r,o=K0(i,["r"]),t=c||5;return Object.assign(Object.assign({cx:t},o),{tagName:"circle",r:t})},lb=function(i){var c=i.r,o=K0(i,["r"]),t=c||5,r=new df;return r.moveTo(t,0).lineTo(t,t*2),r.moveTo(0,t).lineTo(t*2,t),{children:[Object.assign(Object.assign({},n2({r:t})),{fill:"none"}),Object.assign(Object.assign({},o),{tagName:"path",d:W0(r.serialize(),-t)})]}},Bq=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Vq=function(i){var c=i.rx,o=i.ry,t=Bq(i,["rx","ry"]),r=c||5,d=o||5;return Object.assign(Object.assign({cx:r},t),{tagName:"ellipse",rx:r,ry:d})},Y0;(function(u){u.presets=y,u.registry=Jp.create({type:"marker"}),u.registry.register(u.presets,!0)})(Y0||(Y0={})),function(u){u.normalize=W0}(Y0||(Y0={}));var zq=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c};function oj(u){return typeof u=="string"||m.isPlainObject(u)}var r9={qualify:oj,set:function(i,c){var o=c.view,t=c.attrs;return FN("marker-start",i,o,t)}},Hq={qualify:oj,set:function(i,c){var o=c.view,t=c.attrs;return FN("marker-end",i,o,t,{transform:"rotate(180)"})}},Gq={qualify:oj,set:function(i,c){var o=c.view,t=c.attrs;return FN("marker-mid",i,o,t)}};function FN(u,i,c,o){var t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},r=typeof i=="string"?{name:i}:i,d=r.name,v=r.args,g=zq(r,["name","args"]),b=g;if(d&&typeof d=="string"){var P=Y0.registry.get(d);if(P)b=P(Object.assign(Object.assign({},g),v));else return Y0.registry.onNotFound(d)}var I=Object.assign(Object.assign(Object.assign({},$q(o,u)),t),b);return Object(qc.a)({},u,"url(#".concat(c.graph.defineMarker(I),")"))}function $q(u,i){var c={},o=u.stroke;typeof o=="string"&&(c.stroke=o,c.fill=o);var t=u.strokeOpacity;if(t==null&&(t=u["stroke-opacity"]),t==null&&(t=u.opacity),t!=null&&(c["stroke-opacity"]=t,c["fill-opacity"]=t),i!=="marker-mid"){var r=parseFloat(u.strokeWidth||u["stroke-width"]);if(Number.isFinite(r)&&r>1){var d=Math.ceil(r/2);c.refX=i==="marker-start"?d:-d}}return c}var VC=function(i,c){var o=c.view;return o.cell.isEdge()},a9={qualify:VC,set:function(i,c){var o,t,r,d,v=c.view,g=i.reverse||!1,b=i.stubs||0,P;if(Number.isFinite(b)&&b!==0)if(g){var ve,Oe,ke=v.getConnectionLength()||0;b<0?(ve=(ke+b)/2,Oe=-b):(ve=b,Oe=ke-b*2);var Ie=v.getConnection();P=(d=(r=(t=(o=Ie==null?void 0:Ie.divideAtLength(ve))===null||o===void 0?void 0:o[1])===null||t===void 0?void 0:t.divideAtLength(Oe))===null||r===void 0?void 0:r[0])===null||d===void 0?void 0:d.serialize()}else{var I;if(b<0){var V=v.getConnectionLength()||0;I=(V+b)/2}else I=b;var K=v.getConnection();if(K){var ae=K.divideAtLength(I),ue=K.divideAtLength(-I);ae&&ue&&(P="".concat(ae[0].serialize()," ").concat(ue[1].serialize()))}}return{d:P||v.getConnectionPathData()}}},i9={qualify:VC,set:sj("getTangentAtLength",{rotate:!0})},Wq={qualify:VC,set:sj("getTangentAtLength",{rotate:!1})},zC={qualify:VC,set:sj("getTangentAtRatio",{rotate:!0})},Kq={qualify:VC,set:sj("getTangentAtRatio",{rotate:!1})},Yq=i9,Xq=zC;function sj(u,i){var c={x:1,y:0};return function(o,t){var r,d,v=t.view,g=v[u](Number(o));return g?(d=i.rotate?g.vector().vectorAngle(c):0,r=g.start):(r=v.path.start,d=0),d===0?{transform:"translate(".concat(r.x,",").concat(r.y,"')")}:{transform:"translate(".concat(r.x,",").concat(r.y,"') rotate(").concat(d,")")}}}var Wm;(function(u){function i(c,o,t){return!!(c!=null&&(typeof c=="string"||typeof c.qualify!="function"||k.call(c.qualify,this,o,t)))}u.isValidDefinition=i})(Wm||(Wm={})),function(u){u.presets=Object.assign(Object.assign({},jN),w),u.registry=Jp.create({type:"attribute definition"}),u.registry.register(u.presets,!0)}(Wm||(Wm={}));var Jq={color:"#aaaaaa",thickness:1,markup:"rect",update:function(i,c){var o=c.thickness*c.sx,t=c.thickness*c.sy;S.attr(i,{width:o,height:t,rx:o,ry:t,fill:c.color})}},Zq={color:"#aaaaaa",thickness:1,markup:"rect",update:function(i,c){var o=c.sx<=1?c.thickness*c.sx:c.thickness;S.attr(i,{width:o,height:o,rx:o,ry:o,fill:c.color})}},Qq={color:"rgba(224,224,224,1)",thickness:1,markup:"path",update:function(i,c){var o,t=c.width,r=c.height,d=c.thickness;t-d>=0&&r-d>=0?o=["M",t,0,"H0 M0 0 V0",r].join(" "):o="M 0 0 0 0",S.attr(i,{d:o,stroke:c.color,"stroke-width":c.thickness})}},qq=[{color:"rgba(224,224,224,1)",thickness:1,markup:"path",update:function(i,c){var o,t=c.width,r=c.height,d=c.thickness;t-d>=0&&r-d>=0?o=["M",t,0,"H0 M0 0 V0",r].join(" "):o="M 0 0 0 0",S.attr(i,{d:o,stroke:c.color,"stroke-width":c.thickness})}},{color:"rgba(224,224,224,0.2)",thickness:3,factor:4,markup:"path",update:function(i,c){var o,t=c.factor||1,r=c.width*t,d=c.height*t,v=c.thickness;r-v>=0&&d-v>=0?o=["M",r,0,"H0 M0 0 V0",d].join(" "):o="M 0 0 0 0",c.width=r,c.height=d,S.attr(i,{d:o,stroke:c.color,"stroke-width":c.thickness})}}],X0=function(){function u(){Object(xi.a)(this,u),this.patterns={},this.root=Kd.create(S.createSvgDocument(),{width:"100%",height:"100%"},[S.createSvgElement("defs")]).node}return Object(Pi.a)(u,[{key:"add",value:function(c,o){var t=this.root.childNodes[0];t&&t.appendChild(o),this.patterns[c]=o,Kd.create("rect",{width:"100%",height:"100%",fill:"url(#".concat(c,")")}).appendTo(this.root)}},{key:"get",value:function(c){return this.patterns[c]}},{key:"has",value:function(c){return this.patterns[c]!=null}}]),u}();(function(u){u.presets=x,u.registry=Jp.create({type:"grid"}),u.registry.register(u.presets,!0)})(X0||(X0={}));function UN(u,i){return u!=null?u:i}function Gv(u,i){return u!=null&&Number.isFinite(u)?u:i}function o9(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=UN(u.color,"blue"),c=Gv(u.width,1),o=Gv(u.margin,2),t=Gv(u.opacity,1),r=o,d=o+c;return`
<filter>
<feFlood flood-color="`.concat(i,'" flood-opacity="').concat(t,`" result="colored"/>
<feMorphology in="SourceAlpha" result="morphedOuter" operator="dilate" radius="`).concat(d,`" />
<feMorphology in="SourceAlpha" result="morphedInner" operator="dilate" radius="`).concat(r,`" />
<feComposite result="morphedOuterColored" in="colored" in2="morphedOuter" operator="in"/>
<feComposite operator="xor" in="morphedOuterColored" in2="morphedInner" result="outline"/>
<feMerge>
<feMergeNode in="outline"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
`).trim()}function BN(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=UN(u.color,"red"),c=Gv(u.blur,0),o=Gv(u.width,1),t=Gv(u.opacity,1);return`
<filter>
<feFlood flood-color="`.concat(i,'" flood-opacity="').concat(t,`" result="colored"/>
<feMorphology result="morphed" in="SourceGraphic" operator="dilate" radius="`).concat(o,`"/>
<feComposite result="composed" in="colored" in2="morphed" operator="in"/>
<feGaussianBlur result="blured" in="composed" stdDeviation="`).concat(c,`"/>
<feBlend in="SourceGraphic" in2="blured" mode="normal"/>
</filter>
`).trim()}function eee(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.x,2),c=u.y!=null&&Number.isFinite(u.y)?[i,u.y]:i;return`
<filter>
<feGaussianBlur stdDeviation="`.concat(c,`"/>
</filter>
`).trim()}function tee(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.dx,0),c=Gv(u.dy,0),o=UN(u.color,"black"),t=Gv(u.blur,4),r=Gv(u.opacity,1);return"SVGFEDropShadowElement"in window?`<filter>
<feDropShadow stdDeviation="`.concat(t,'" dx="').concat(i,'" dy="').concat(c,'" flood-color="').concat(o,'" flood-opacity="').concat(r,`" />
</filter>`).trim():`<filter>
<feGaussianBlur in="SourceAlpha" stdDeviation="`.concat(t,`" />
<feOffset dx="`).concat(i,'" dy="').concat(c,`" result="offsetblur" />
<feFlood flood-color="`).concat(o,`" />
<feComposite in2="offsetblur" operator="in" />
<feComponentTransfer>
<feFuncA type="linear" slope="`).concat(r,`" />
</feComponentTransfer>
<feMerge>
<feMergeNode/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>`).trim()}function VN(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.amount,1),c=.2126+.7874*(1-i),o=.7152-.7152*(1-i),t=.0722-.0722*(1-i),r=.2126-.2126*(1-i),d=.7152+.2848*(1-i),v=.0722-.0722*(1-i),g=.2126-.2126*(1-i),b=.0722+.9278*(1-i);return`
<filter>
<feColorMatrix type="matrix" values="`.concat(c," ").concat(o," ").concat(t," 0 0 ").concat(r," ").concat(d," ").concat(v," 0 0 ").concat(g," ").concat(o," ").concat(b,` 0 0 0 0 0 1 0"/>
</filter>
`).trim()}function s9(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.amount,1),c=.393+.607*(1-i),o=.769-.769*(1-i),t=.189-.189*(1-i),r=.349-.349*(1-i),d=.686+.314*(1-i),v=.168-.168*(1-i),g=.272-.272*(1-i),b=.534-.534*(1-i),P=.131+.869*(1-i);return`
<filter>
<feColorMatrix type="matrix" values="`.concat(c," ").concat(o," ").concat(t," 0 0 ").concat(r," ").concat(d," ").concat(v," 0 0 ").concat(g," ").concat(b," ").concat(P,` 0 0 0 0 0 1 0"/>
</filter>
`).trim()}function zN(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.amount,1);return`
<filter>
<feColorMatrix type="saturate" values="`.concat(1-i,`"/>
</filter>
`).trim()}function nee(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.angle,0);return`
<filter>
<feColorMatrix type="hueRotate" values="`.concat(i,`"/>
</filter>
`).trim()}function c9(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.amount,1),c=1-i;return`
<filter>
<feComponentTransfer>
<feFuncR type="table" tableValues="`.concat(i," ").concat(c,`"/>
<feFuncG type="table" tableValues="`).concat(i," ").concat(c,`"/>
<feFuncB type="table" tableValues="`).concat(i," ").concat(c,`"/>
</feComponentTransfer>
</filter>
`).trim()}function ree(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.amount,1);return`
<filter>
<feComponentTransfer>
<feFuncR type="linear" slope="`.concat(i,`"/>
<feFuncG type="linear" slope="`).concat(i,`"/>
<feFuncB type="linear" slope="`).concat(i,`"/>
</feComponentTransfer>
</filter>
`).trim()}function aee(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=Gv(u.amount,1),c=.5-i/2;return`
<filter>
<feComponentTransfer>
<feFuncR type="linear" slope="`.concat(i,'" intercept="').concat(c,`"/>
<feFuncG type="linear" slope="`).concat(i,'" intercept="').concat(c,`"/>
<feFuncB type="linear" slope="`).concat(i,'" intercept="').concat(c,`"/>
</feComponentTransfer>
</filter>
`).trim()}var K1;(function(u){u.presets=T,u.registry=Jp.create({type:"filter"}),u.registry.register(u.presets,!0)})(K1||(K1={}));var l9=function(i){var c=document.createElement("canvas"),o=i.width,t=i.height;c.width=o*2,c.height=t;var r=c.getContext("2d");return r.drawImage(i,0,0,o,t),r.translate(2*o,0),r.scale(-1,1),r.drawImage(i,0,0,o,t),c},u9=function(i){var c=document.createElement("canvas"),o=i.width,t=i.height;c.width=o,c.height=t*2;var r=c.getContext("2d");return r.drawImage(i,0,0,o,t),r.translate(0,2*t),r.scale(1,-1),r.drawImage(i,0,0,o,t),c},d9=function(i){var c=document.createElement("canvas"),o=i.width,t=i.height;c.width=2*o,c.height=2*t;var r=c.getContext("2d");return r.drawImage(i,0,0,o,t),r.setTransform(-1,0,0,-1,c.width,c.height),r.drawImage(i,0,0,o,t),r.setTransform(-1,0,0,1,c.width,0),r.drawImage(i,0,0,o,t),r.setTransform(1,0,0,-1,0,c.height),r.drawImage(i,0,0,o,t),c},iee=function(i,c){var o=i.width,t=i.height,r=document.createElement("canvas");r.width=o*3,r.height=t*3;for(var d=r.getContext("2d"),v=c.angle!=null?-c.angle:-20,g=uf.toRad(v),b=r.width/4,P=r.height/4,I=0;I<4;I+=1)for(var V=0;V<4;V+=1)(I+V)%2>0&&(d.setTransform(1,0,0,1,(2*I-1)*b,(2*V-1)*P),d.rotate(g),d.drawImage(i,-o/2,-t/2,o,t));return r},HC;(function(u){u.presets=Object.assign({},j),u.presets["flip-x"]=l9,u.presets["flip-y"]=u9,u.presets["flip-xy"]=d9,u.registry=Jp.create({type:"background pattern"}),u.registry.register(u.presets,!0)})(HC||(HC={}));var Jg={prefixCls:"x6",autoInsertCSS:!0,useCSSSelector:!0,trackable:!1,trackInfo:{},track:function(i){Jg.trackable=i}},Cv;(function(u){u.snapToGrid=rb,u.normalizeMarker=W0;function i(c){return"".concat(Jg.prefixCls,"-").concat(c)}u.prefix=i})(Cv||(Cv={})),function(u){function i(c,o,t){var r=this,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],v=typeof o.children=="function"?o.children(c):c[o.children||"children"];return t||(t=o.createNode(c),d.push(t)),Array.isArray(v)&&v.forEach(function(g){var b=o.createNode(g),P=o.createEdge(t,b);d.push(b,P),r.makeTree(g,o,b,d)}),d}u.makeTree=i}(Cv||(Cv={}));var HN=Cv.prefix("highlighted"),oee={highlight:function(i,c,o){var t=o&&o.className||HN;S.addClass(c,t)},unhighlight:function(i,c,o){var t=o&&o.className||HN;S.removeClass(c,t)}},f9=Cv.prefix("highlight-opacity"),see={highlight:function(i,c){S.addClass(c,f9)},unhighlight:function(i,c){S.removeClass(c,f9)}},p9={padding:3,rx:0,ry:0,attrs:{"stroke-width":3,stroke:"#FEB663"}},cee={highlight:function(i,c,o){var t=ub.getHighlighterId(c,o);if(!ub.hasCache(t)){o=m.defaultsDeep({},o,p9);var r=Kd.create(c),d,v;try{d=r.toPathData()}catch(Ye){v=r.bbox(!0),d=S.rectToPathData(Object.assign(Object.assign({},o),v))}var g=S.createSvgElement("path");if(S.attr(g,Object.assign({d,"pointer-events":"none","vector-effect":"non-scaling-stroke",fill:"none"},o.attrs?S.kebablizeAttrs(o.attrs):null)),i.isEdgeElement(c))S.attr(g,"d",i.getConnectionPathData());else{var b=r.getTransformToElement(i.container),P=o.padding;if(P){v==null&&(v=r.bbox(!0));var I=v.x+v.width/2,V=v.y+v.height/2;v=S.transformRectangle(v,b);var K=Math.max(v.width,1),ae=Math.max(v.height,1),ue=(K+P)/K,ve=(ae+P)/ae,Oe=S.createSVGMatrix({a:ue,b:0,c:0,d:ve,e:I-ue*I,f:V-ve*V});b=b.multiply(Oe)}S.transform(g,b)}S.addClass(g,Cv.prefix("highlight-stroke"));var ke=i.cell,Ie=function(){return ub.removeHighlighter(t)};ke.on("removed",Ie),ke.model&&ke.model.on("reseted",Ie),i.container.appendChild(g),ub.setCache(t,g)}},unhighlight:function(i,c,o){ub.removeHighlighter(ub.getHighlighterId(c,o))}},ub;(function(u){function i(d,v){return S.ensureId(d),d.id+JSON.stringify(v)}u.getHighlighterId=i;var c={};function o(d,v){c[d]=v}u.setCache=o;function t(d){return c[d]!=null}u.hasCache=t;function r(d){var v=c[d];v&&(S.remove(v),delete c[d])}u.removeHighlighter=r})(ub||(ub={}));var G_;(function(u){function i(c,o){if(typeof o.highlight!="function")throw new Error("Highlighter '".concat(c,"' is missing required `highlight()` method"));if(typeof o.unhighlight!="function")throw new Error("Highlighter '".concat(c,"' is missing required `unhighlight()` method"))}u.check=i})(G_||(G_={})),function(u){u.presets=D,u.registry=Jp.create({type:"highlighter"}),u.registry.register(u.presets,!0)}(G_||(G_={}));function GN(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new $i(C.normalizePercentage(i.x,u.width),C.normalizePercentage(i.y,u.height))}function $N(u,i,c){return Object.assign({angle:i,position:u.toJSON()},c)}var lee=function(i,c){return i.map(function(o){var t=o.x,r=o.y,d=o.angle;return $N(GN(c,{x:t,y:r}),d||0)})},uee=function(i,c,o){var t=o.start||0,r=o.step||20;return WN(i,c,t,function(d,v){return(d+.5-v/2)*r})},dee=function(i,c,o){var t=o.start||0,r=o.step||360/i.length;return WN(i,c,t,function(d){return d*r})};function WN(u,i,c,o){var t=i.getCenter(),r=i.getTopCenter(),d=i.width/i.height,v=ib.fromRect(i),g=u.length;return u.map(function(b,P){var I=c+o(P,g),V=r.clone().rotate(-I,t).scale(d,1,t),K=b.compensateRotate?-v.tangentTheta(V):0;return(b.dx||b.dy)&&V.translate(b.dx||0,b.dy||0),b.dr&&V.move(t,b.dr),$N(V.round(),K,b)})}var fee=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},v9=function(i,c,o){var t=GN(c,o.start||c.getOrigin()),r=GN(c,o.end||c.getCorner());return r2(i,t,r,o)},pee=function(i,c,o){return r2(i,c.getTopLeft(),c.getBottomLeft(),o)},vee=function(i,c,o){return r2(i,c.getTopRight(),c.getBottomRight(),o)},hee=function(i,c,o){return r2(i,c.getTopLeft(),c.getTopRight(),o)},gee=function(i,c,o){return r2(i,c.getBottomLeft(),c.getBottomRight(),o)};function r2(u,i,c,o){var t=new Qu(i,c),r=u.length;return u.map(function(d,v){var g=d.strict,b=fee(d,["strict"]),P=g||o.strict?(v+1)/(r+1):(v+.5)/r,I=t.pointAt(P);return(b.dx||b.dy)&&I.translate(b.dx||0,b.dy||0),$N(I.round(),0,b)})}var db;(function(u){u.presets=N,u.registry=Jp.create({type:"port layout"}),u.registry.register(u.presets,!0)})(db||(db={}));var mee={position:{x:0,y:0},angle:0,attrs:{".":{y:"0","text-anchor":"start"}}};function J0(u,i){var c=i||{},o=c.x,t=c.y,r=c.angle,d=c.attrs;return m.defaultsDeep({},{angle:r,attrs:d,position:{x:o,y:t}},u,mee)}var _ee=function(i,c,o){return J0({position:c.getTopLeft()},o)},yee=function(i,c,o){return J0({position:{x:-15,y:0},attrs:{".":{y:".3em","text-anchor":"end"}}},o)},bee=function(i,c,o){return J0({position:{x:15,y:0},attrs:{".":{y:".3em","text-anchor":"start"}}},o)},Oee=function(i,c,o){return J0({position:{x:0,y:-15},attrs:{".":{"text-anchor":"middle"}}},o)},h9=function(i,c,o){return J0({position:{x:0,y:15},attrs:{".":{y:".6em","text-anchor":"middle"}}},o)},Cee=function(i,c,o){return g9(i,c,!1,o)},Eee=function(i,c,o){return g9(i,c,!0,o)},cj=function(i,c,o){return m9(i,c,!1,o)},xee=function(i,c,o){return m9(i,c,!0,o)};function g9(u,i,c,o){var t=o.offset!=null?o.offset:15,r=i.getCenter().theta(u),d=_9(i),v,g,b,P,I=0;return r<d[1]||r>d[2]?(v=".3em",g=t,b=0,P="start"):r<d[0]?(v="0",g=0,b=-t,c?(I=-90,P="start"):P="middle"):r<d[3]?(v=".3em",g=-t,b=0,P="end"):(v=".6em",g=0,b=t,c?(I=90,P="start"):P="middle"),J0({position:{x:Math.round(g),y:Math.round(b)},angle:I,attrs:{".":{y:v,"text-anchor":P}}},o)}function m9(u,i,c,o){var t=o.offset!=null?o.offset:15,r=i.getCenter().theta(u),d=_9(i),v,g,b,P,I=0;return r<d[1]||r>d[2]?(v=".3em",g=-t,b=0,P="end"):r<d[0]?(v=".6em",g=0,b=t,c?(I=90,P="start"):P="middle"):r<d[3]?(v=".3em",g=t,b=0,P="start"):(v="0em",g=0,b=-t,c?(I=-90,P="start"):P="middle"),J0({position:{x:Math.round(g),y:Math.round(b)},angle:I,attrs:{".":{y:v,"text-anchor":P}}},o)}function _9(u){var i=u.getCenter(),c=i.theta(u.getTopLeft()),o=i.theta(u.getBottomLeft()),t=i.theta(u.getBottomRight()),r=i.theta(u.getTopRight());return[c,r,t,o]}var See=function(i,c,o){return y9(i.diff(c.getCenter()),!1,o)},wee=function(i,c,o){return y9(i.diff(c.getCenter()),!0,o)};function y9(u,i,c){var o=c.offset!=null?c.offset:20,t=new $i(0,0),r=-u.theta(t),d=u.clone().move(t,o).diff(u).round(),v=".3em",g,b=r;return(r+90)%180==0?(g=i?"end":"middle",!i&&r===-270&&(v="0em")):r>-270&&r<-90?(g="start",b=r-180):g="end",J0({position:d.round().toJSON(),angle:i?b:0,attrs:{".":{y:v,"text-anchor":g}}},c)}var Y1;(function(u){u.presets=F,u.registry=Jp.create({type:"port label layout"}),u.registry.register(u.presets,!0)})(Y1||(Y1={}));var Fp=l("tS8v"),lj=function(){function u(i,c,o,t){if(Object(xi.a)(this,u),i==null)return this.set(255,255,255,1);if(typeof i=="number")return this.set(i,c,o,t);if(typeof i=="string")return u.fromString(i)||this;if(Array.isArray(i))return this.set(i);this.set(i.r,i.g,i.b,i.a==null?1:i.a)}return Object(Pi.a)(u,[{key:"blend",value:function(c,o,t){this.set(c.r+(o.r-c.r)*t,c.g+(o.g-c.g)*t,c.b+(o.b-c.b)*t,c.a+(o.a-c.a)*t)}},{key:"lighten",value:function(c){var o=u.lighten(this.toArray(),c);this.r=o[0],this.g=o[1],this.b=o[2],this.a=o[3]}},{key:"darken",value:function(c){this.lighten(-c)}},{key:"set",value:function(c,o,t,r){var d=Array.isArray(c)?c[0]:c,v=Array.isArray(c)?c[1]:o,g=Array.isArray(c)?c[2]:t,b=Array.isArray(c)?c[3]:r;return this.r=Math.round(C.clamp(d,0,255)),this.g=Math.round(C.clamp(v,0,255)),this.b=Math.round(C.clamp(g,0,255)),this.a=b==null?1:C.clamp(b,0,1),this}},{key:"toHex",value:function(){var c=this,o=["r","g","b"].map(function(t){var r=c[t].toString(16);return r.length<2?"0".concat(r):r});return"#".concat(o.join(""))}},{key:"toRGBA",value:function(){return this.toArray()}},{key:"toHSLA",value:function(){return u.rgba2hsla(this.r,this.g,this.b,this.a)}},{key:"toCSS",value:function(c){var o="".concat(this.r,",").concat(this.g,",").concat(this.b,",");return c?"rgb(".concat(o,")"):"rgba(".concat(o,",").concat(this.a,")")}},{key:"toGrey",value:function(){return u.makeGrey(Math.round((this.r+this.g+this.b)/3),this.a)}},{key:"toArray",value:function(){return[this.r,this.g,this.b,this.a]}},{key:"toString",value:function(){return this.toCSS()}}]),u}();(function(u){function i(Ie){return new u(Ie)}u.fromArray=i;function c(Ie){return new u([].concat(Object(Bs.a)(ae(Ie)),[1]))}u.fromHex=c;function o(Ie){var Ye=Ie.toLowerCase().match(/^rgba?\(([\s.,0-9]+)\)/);if(Ye){var Ze=Ye[1].split(/\s*,\s*/).map(function(et){return parseInt(et,10)});return new u(Ze)}return null}u.fromRGBA=o;function t(Ie,Ye,Ze){Ze<0&&++Ze,Ze>1&&--Ze;var et=6*Ze;return et<1?Ie+(Ye-Ie)*et:2*Ze<1?Ye:3*Ze<2?Ie+(Ye-Ie)*(2/3-Ze)*6:Ie}function r(Ie){var Ye=Ie.toLowerCase().match(/^hsla?\(([\s.,0-9]+)\)/);if(Ye){var Ze=Ye[2].split(/\s*,\s*/),et=(parseFloat(Ze[0])%360+360)%360/360,yt=parseFloat(Ze[1])/100,jt=parseFloat(Ze[2])/100,Ft=Ze[3]==null?1:parseInt(Ze[3],10);return new u(b(et,yt,jt,Ft))}return null}u.fromHSLA=r;function d(Ie){if(Ie.startsWith("#"))return c(Ie);if(Ie.startsWith("rgb"))return o(Ie);var Ye=u.named[Ie];return Ye?c(Ye):r(Ie)}u.fromString=d;function v(Ie,Ye){return u.fromArray([Ie,Ie,Ie,Ye])}u.makeGrey=v;function g(Ie,Ye,Ze,et){var yt=Array.isArray(Ie)?Ie[0]:Ie,jt=Array.isArray(Ie)?Ie[1]:Ye,Ft=Array.isArray(Ie)?Ie[2]:Ze,Ht=Array.isArray(Ie)?Ie[3]:et,Gt=Math.max(yt,jt,Ft),Jt=Math.min(yt,jt,Ft),mn=(Gt+Jt)/2,vn=0,Yt=0;if(Jt!==Gt){var En=Gt-Jt;switch(Yt=mn>.5?En/(2-Gt-Jt):En/(Gt+Jt),Gt){case yt:vn=(jt-Ft)/En+(jt<Ft?6:0);break;case jt:vn=(Ft-yt)/En+2;break;case Ft:vn=(yt-jt)/En+4;break;default:break}vn/=6}return[vn,Yt,mn,Ht==null?1:Ht]}u.rgba2hsla=g;function b(Ie,Ye,Ze,et){var yt=Array.isArray(Ie)?Ie[0]:Ie,jt=Array.isArray(Ie)?Ie[1]:Ye,Ft=Array.isArray(Ie)?Ie[2]:Ze,Ht=Array.isArray(Ie)?Ie[3]:et,Gt=Ft<=.5?Ft*(jt+1):Ft+jt-Ft*jt,Jt=2*Ft-Gt;return[t(Jt,Gt,yt+1/3)*256,t(Jt,Gt,yt)*256,t(Jt,Gt,yt-1/3)*256,Ht==null?1:Ht]}u.hsla2rgba=b;function P(Ie){return new u(Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Ie?void 0:parseFloat(Math.random().toFixed(2)))}u.random=P;function I(){for(var Ie="0123456789ABCDEF",Ye="#",Ze=0;Ze<6;Ze+=1)Ye+=Ie[Math.floor(Math.random()*16)];return Ye}u.randomHex=I;function V(Ie){return P(Ie).toString()}u.randomRGBA=V;function K(Ie,Ye){if(typeof Ie=="string"){var Ze=Ie[0]==="#",et=ae(Ie),yt=Object(we.a)(et,3),jt=yt[0],Ft=yt[1],Ht=yt[2];return Ye?jt*.299+Ft*.587+Ht*.114>186?"#000000":"#ffffff":"".concat(Ze?"#":"").concat(ue(255-jt,255-Ft,255-Ht))}var Gt=Ie[0],Jt=Ie[1],mn=Ie[2],vn=Ie[3];return Ye?Gt*.299+Jt*.587+mn*.114>186?[0,0,0,vn]:[255,255,255,vn]:[255-Gt,255-Jt,255-mn,vn]}u.invert=K;function ae(Ie){var Ye=Ie.indexOf("#")===0?Ie:"#".concat(Ie),Ze=Number("0x".concat(Ye.substr(1)));if(!(Ye.length===4||Ye.length===7)||Number.isNaN(Ze))throw new Error("Invalid hex color.");var et=Ye.length===4?4:8,yt=(1<<et)-1,jt=["b","g","r"].map(function(){var Ft=Ze&yt;return Ze>>=et,et===4?17*Ft:Ft});return[jt[2],jt[1],jt[0]]}function ue(Ie,Ye,Ze){var et=function(jt){return jt.length<2?"0".concat(jt):jt};return"".concat(et(Ie.toString(16))).concat(et(Ye.toString(16))).concat(et(Ze.toString(16)))}function ve(Ie,Ye){return ke(Ie,Ye)}u.lighten=ve;function Oe(Ie,Ye){return ke(Ie,-Ye)}u.darken=Oe;function ke(Ie,Ye){if(typeof Ie=="string"){var Ze=Ie[0]==="#",et=parseInt(Ze?Ie.substr(1):Ie,16),yt=C.clamp((et>>16)+Ye,0,255),jt=C.clamp((et>>8&255)+Ye,0,255),Ft=C.clamp((et&255)+Ye,0,255);return"".concat(Ze?"#":"").concat((Ft|jt<<8|yt<<16).toString(16))}var Ht=ue(Ie[0],Ie[1],Ie[2]),Gt=ae(ke(Ht,Ye));return[Gt[0],Gt[1],Gt[2],Ie[3]]}})(lj||(lj={})),function(u){u.named={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",burntsienna:"#ea7e5d",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}}(lj||(lj={}));var Tee=function(){function u(){Object(xi.a)(this,u),this.listeners={}}return Object(Pi.a)(u,[{key:"on",value:function(c,o,t){if(o==null)return this;this.listeners[c]||(this.listeners[c]=[]);var r=this.listeners[c];return r.push(o,t),this}},{key:"once",value:function(c,o,t){var r=this,d=function v(){r.off(c,v);for(var g=arguments.length,b=new Array(g),P=0;P<g;P++)b[P]=arguments[P];return a2.call([o,t],b)};return this.on(c,d,this)}},{key:"off",value:function(c,o,t){if(!(c||o||t))return this.listeners={},this;var r=this.listeners,d=c?[c]:Object.keys(r);return d.forEach(function(v){var g=r[v];if(!!g){if(!(o||t)){delete r[v];return}for(var b=g.length-2;b>=0;b-=2)o&&g[b]!==o||t&&g[b+1]!==t||g.splice(b,2)}}),this}},{key:"trigger",value:function(c){for(var o=!0,t=arguments.length,r=new Array(t>1?t-1:0),d=1;d<t;d++)r[d-1]=arguments[d];if(c!=="*"){var v=this.listeners[c];v!=null&&(o=a2.call(Object(Bs.a)(v),r))}var g=this.listeners["*"];return g!=null?k.toAsyncBoolean([o,a2.call(Object(Bs.a)(g),[c].concat(r))]):o}},{key:"emit",value:function(c){for(var o=arguments.length,t=new Array(o>1?o-1:0),r=1;r<o;r++)t[r-1]=arguments[r];return this.trigger.apply(this,[c].concat(t))}}]),u}(),a2;(function(u){function i(c,o){for(var t=[],r=0;r<c.length;r+=2){var d=c[r],v=c[r+1],g=Array.isArray(o)?o:[o],b=k.apply(d,v,g);t.push(b)}return k.toAsyncBoolean(t)}u.call=i})(a2||(a2={}));var Km=function(){function u(){Object(xi.a)(this,u)}return Object(Pi.a)(u,[{key:"disposed",get:function(){return this._disposed===!0}},{key:"dispose",value:function(){this._disposed=!0}}]),u}();(function(u){function i(){return function(c,o,t){var r=t.value,d=c.__proto__;t.value=function(){this.disposed||(r.call(this),d.dispose.call(this))}}}u.dispose=i})(Km||(Km={}));var Mse=function(){function u(i){Object(xi.a)(this,u),this.callback=i}return Object(Pi.a)(u,[{key:"disposed",get:function(){return!this.callback}},{key:"dispose",value:function(){if(!!this.callback){var c=this.callback;this.callback=null,c()}}}]),u}(),b9=function(){function u(){Object(xi.a)(this,u),this.isDisposed=!1,this.items=new Set}return Object(Pi.a)(u,[{key:"disposed",get:function(){return this.isDisposed}},{key:"dispose",value:function(){this.isDisposed||(this.isDisposed=!0,this.items.forEach(function(c){c.dispose()}),this.items.clear())}},{key:"contains",value:function(c){return this.items.has(c)}},{key:"add",value:function(c){this.items.add(c)}},{key:"remove",value:function(c){this.items.delete(c)}},{key:"clear",value:function(){this.items.clear()}}]),u}();(function(u){function i(c){var o=new u;return c.forEach(function(t){o.add(t)}),o}u.from=i})(b9||(b9={}));var yh=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c)}(Tee);(function(u){u.dispose=Km.dispose})(yh||(yh={})),m.applyMixins(yh,Km);var uj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"disabled",get:function(){return this._disabled===!0}},{key:"enable",value:function(){delete this._disabled}},{key:"disable",value:function(){this._disabled=!0}}]),c}(yh),Aee=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},i2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.call(this),o.clear(),o}return Object(Pi.a)(c,[{key:"clear",value:function(){this.map=new WeakMap,this.arr=[]}},{key:"has",value:function(t){return this.map.has(t)}},{key:"get",value:function(t){return this.map.get(t)}},{key:"set",value:function(t,r){this.map.set(t,r),this.arr.push(t)}},{key:"delete",value:function(t){var r=this.arr.indexOf(t);r>=0&&this.arr.splice(r,1);var d=this.map.get(t);return this.map.delete(t),d}},{key:"each",value:function(t){var r=this;this.arr.forEach(function(d){var v=r.map.get(d);t(v,d)})}},{key:"dispose",value:function(){this.clear()}}]),c}(Km);Aee([Km.dispose()],i2.prototype,"dispose",null);var KN=function(){function u(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(xi.a)(this,u),this.comparator=i.comparator||u.defaultComparator,this.index={},this.data=i.data||[],this.heapify()}return Object(Pi.a)(u,[{key:"isEmpty",value:function(){return this.data.length===0}},{key:"insert",value:function(c,o,t){var r={priority:c,value:o},d=this.data.length;return t&&(r.id=t,this.index[t]=d),this.data.push(r),this.bubbleUp(d),this}},{key:"peek",value:function(){return this.data[0]?this.data[0].value:null}},{key:"peekPriority",value:function(){return this.data[0]?this.data[0].priority:null}},{key:"updatePriority",value:function(c,o){var t=this.index[c];if(typeof t=="undefined")throw new Error("Node with id '".concat(c,"' was not found in the heap."));var r=this.data,d=r[t].priority,v=this.comparator(o,d);v<0?(r[t].priority=o,this.bubbleUp(t)):v>0&&(r[t].priority=o,this.bubbleDown(t))}},{key:"remove",value:function(){var c=this.data,o=c[0],t=c.pop();return o.id&&delete this.index[o.id],c.length>0&&(c[0]=t,t.id&&(this.index[t.id]=0),this.bubbleDown(0)),o?o.value:null}},{key:"heapify",value:function(){for(var c=0;c<this.data.length;c+=1)this.bubbleUp(c)}},{key:"bubbleUp",value:function(c){for(var o=this.data,t,r,d=c;d>0&&(r=d-1>>>1,this.comparator(o[d].priority,o[r].priority)<0);){t=o[r],o[r]=o[d];var v=o[d].id;v!=null&&(this.index[v]=r),o[d]=t,v=o[d].id,v!=null&&(this.index[v]=d),d=r}}},{key:"bubbleDown",value:function(c){for(var o=this.data,t=o.length-1,r=c;;){var d=(r<<1)+1,v=d+1,g=r;if(d<=t&&this.comparator(o[d].priority,o[g].priority)<0&&(g=d),v<=t&&this.comparator(o[v].priority,o[g].priority)<0&&(g=v),g!==r){var b=o[g];o[g]=o[r];var P=o[r].id;P!=null&&(this.index[P]=g),o[r]=b,P=o[r].id,P!=null&&(this.index[P]=r),r=g}else break}}}]),u}();(function(u){u.defaultComparator=function(i,c){return i-c}})(KN||(KN={}));var o2;(function(u){function i(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(ae,ue){return 1},r={},d={},v={},g=new KN;for(r[o]=0,Object.keys(c).forEach(function(ae){ae!==o&&(r[ae]=Infinity),g.insert(r[ae],ae,ae)});!g.isEmpty();){var b=g.remove();v[b]=!0;for(var P=c[b]||[],I=0;I<P.length;I+=1){var V=P[I];if(!v[V]){var K=r[b]+t(b,V);K<r[V]&&(r[V]=K,d[V]=b,g.updatePriority(V,K))}}}return d}u.run=i})(o2||(o2={}));var X1;(function(u){u.linear=function(i){return i},u.quad=function(i){return i*i},u.cubic=function(i){return i*i*i},u.inout=function(i){if(i<=0)return 0;if(i>=1)return 1;var c=i*i,o=c*i;return 4*(i<.5?o:3*(i-c)+o-.75)},u.exponential=function(i){return Math.pow(2,10*(i-1))},u.bounce=function(i){for(var c=0,o=1;;c+=o,o/=2)if(i>=(7-4*c)/11){var t=(11-6*c-11*i)/4;return-t*t+o*o}}})(X1||(X1={})),function(u){u.decorators={reverse:function(c){return function(o){return 1-c(1-o)}},reflect:function(c){return function(o){return .5*(o<.5?c(2*o):2-c(2-2*o))}},clamp:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return function(r){var d=c(r);return d<o?o:d>t?t:d}},back:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1.70158;return function(o){return o*o*((c+1)*o-c)}},elastic:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1.5;return function(o){return Math.pow(2,10*(o-1))*Math.cos(20*Math.PI*c/3*o)}}}}(X1||(X1={})),function(u){function i(Yt){return-1*Math.cos(Yt*(Math.PI/2))+1}u.easeInSine=i;function c(Yt){return Math.sin(Yt*(Math.PI/2))}u.easeOutSine=c;function o(Yt){return-.5*(Math.cos(Math.PI*Yt)-1)}u.easeInOutSine=o;function t(Yt){return Yt*Yt}u.easeInQuad=t;function r(Yt){return Yt*(2-Yt)}u.easeOutQuad=r;function d(Yt){return Yt<.5?2*Yt*Yt:-1+(4-2*Yt)*Yt}u.easeInOutQuad=d;function v(Yt){return Yt*Yt*Yt}u.easeInCubic=v;function g(Yt){var En=Yt-1;return En*En*En+1}u.easeOutCubic=g;function b(Yt){return Yt<.5?4*Yt*Yt*Yt:(Yt-1)*(2*Yt-2)*(2*Yt-2)+1}u.easeInOutCubic=b;function P(Yt){return Yt*Yt*Yt*Yt}u.easeInQuart=P;function I(Yt){var En=Yt-1;return 1-En*En*En*En}u.easeOutQuart=I;function V(Yt){var En=Yt-1;return Yt<.5?8*Yt*Yt*Yt*Yt:1-8*En*En*En*En}u.easeInOutQuart=V;function K(Yt){return Yt*Yt*Yt*Yt*Yt}u.easeInQuint=K;function ae(Yt){var En=Yt-1;return 1+En*En*En*En*En}u.easeOutQuint=ae;function ue(Yt){var En=Yt-1;return Yt<.5?16*Yt*Yt*Yt*Yt*Yt:1+16*En*En*En*En*En}u.easeInOutQuint=ue;function ve(Yt){return Yt===0?0:Math.pow(2,10*(Yt-1))}u.easeInExpo=ve;function Oe(Yt){return Yt===1?1:-Math.pow(2,-10*Yt)+1}u.easeOutExpo=Oe;function ke(Yt){if(Yt===0||Yt===1)return Yt;var En=Yt*2,or=En-1;return En<1?.5*Math.pow(2,10*or):.5*(-Math.pow(2,-10*or)+2)}u.easeInOutExpo=ke;function Ie(Yt){var En=Yt/1;return-1*(Math.sqrt(1-En*Yt)-1)}u.easeInCirc=Ie;function Ye(Yt){var En=Yt-1;return Math.sqrt(1-En*En)}u.easeOutCirc=Ye;function Ze(Yt){var En=Yt*2,or=En-2;return En<1?-.5*(Math.sqrt(1-En*En)-1):.5*(Math.sqrt(1-or*or)+1)}u.easeInOutCirc=Ze;function et(Yt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1.70158;return Yt*Yt*((En+1)*Yt-En)}u.easeInBack=et;function yt(Yt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1.70158,or=Yt/1-1;return or*or*((En+1)*or+En)+1}u.easeOutBack=yt;function jt(Yt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1.70158,or=Yt*2,$r=or-2,vr=En*1.525;return or<1?.5*or*or*((vr+1)*or-vr):.5*($r*$r*((vr+1)*$r+vr)+2)}u.easeInOutBack=jt;function Ft(Yt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.7;if(Yt===0||Yt===1)return Yt;var or=Yt/1,$r=or-1,vr=1-En,Er=vr/(2*Math.PI)*Math.asin(1);return-(Math.pow(2,10*$r)*Math.sin(($r-Er)*(2*Math.PI)/vr))}u.easeInElastic=Ft;function Ht(Yt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.7,or=1-En,$r=Yt*2;if(Yt===0||Yt===1)return Yt;var vr=or/(2*Math.PI)*Math.asin(1);return Math.pow(2,-10*$r)*Math.sin(($r-vr)*(2*Math.PI)/or)+1}u.easeOutElastic=Ht;function Gt(Yt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.65,or=1-En;if(Yt===0||Yt===1)return Yt;var $r=Yt*2,vr=$r-1,Er=or/(2*Math.PI)*Math.asin(1);return $r<1?-.5*(Math.pow(2,10*vr)*Math.sin((vr-Er)*(2*Math.PI)/or)):Math.pow(2,-10*vr)*Math.sin((vr-Er)*(2*Math.PI)/or)*.5+1}u.easeInOutElastic=Gt;function Jt(Yt){var En=Yt/1;if(En<1/2.75)return 7.5625*En*En;if(En<2/2.75){var or=En-1.5/2.75;return 7.5625*or*or+.75}if(En<2.5/2.75){var $r=En-2.25/2.75;return 7.5625*$r*$r+.9375}{var vr=En-2.625/2.75;return 7.5625*vr*vr+.984375}}u.easeOutBounce=Jt;function mn(Yt){return 1-Jt(1-Yt)}u.easeInBounce=mn;function vn(Yt){return Yt<.5?mn(Yt*2)*.5:Jt(Yt*2-1)*.5+.5}u.easeInOutBounce=vn}(X1||(X1={}));var J1;(function(u){u.number=function(i,c){var o=c-i;return function(t){return i+o*t}},u.object=function(i,c){var o=Object.keys(i);return function(t){for(var r={},d=o.length-1;d!==-1;d-=1){var v=o[d];r[v]=i[v]+(c[v]-i[v])*t}return r}},u.unit=function(i,c){var o=/(-?[0-9]*.[0-9]*)(px|em|cm|mm|in|pt|pc|%)/,t=o.exec(i),r=o.exec(c),d=r?r[1]:"",v=t?+t[1]:0,g=r?+r[1]:0,b=d.indexOf("."),P=b>0?d[1].length-b-1:0,I=g-v,V=t?t[2]:"";return function(K){return(v+I*K).toFixed(P)+V}},u.color=function(i,c){var o=parseInt(i.slice(1),16),t=parseInt(c.slice(1),16),r=o&255,d=(t&255)-r,v=o&65280,g=(t&65280)-v,b=o&16711680,P=(t&16711680)-b;return function(I){var V=r+d*I&255,K=v+g*I&65280,ae=b+P*I&16711680;return"#".concat((1<<24|V|K|ae).toString(16).slice(1))}}})(J1||(J1={}));var O9;(function(u){var i="".concat(Jg.prefixCls,".storage");function c(I,V,K){var ae=V.id||O.uniqueId("doc-"),ue=g(I);ue.keys.push(ae),d(b(I,ae),V),d(P(I),ue),r(K,null,Object.assign(Object.assign({},V),{id:ae}))}u.insert=c;function o(I,V,K){var ae=g(I),ue=[];if(V==null)ae.keys.forEach(function(Oe){var ke=v(b(I,Oe));ke?ue.push(ke):r(K,new Error("No document found for an ID '".concat(Oe,"' from index.")))}),r(K,null,ue);else if(V.id){var ve=v(b(I,V.id));r(K,null,ve?[ve]:[])}else r(K,null,[])}u.find=o;function t(I,V,K){var ae=g(I);if(V==null)ae.keys.forEach(function(ve){localStorage.removeItem(b(I,ve))}),localStorage.removeItem(P(I)),r(K,null);else if(V.id){var ue=ae.keys.indexOf(V.id);ue>=0&&ae.keys.splice(ue,1),localStorage.removeItem(b(I,V.id)),d(P(I),ae),r(K,null)}}u.remove=t;function r(I,V,K){I&&k.defer(function(){I(V,K)})}function d(I,V){localStorage.setItem(I,JSON.stringify(V))}function v(I){var V=localStorage.getItem(I);return V?JSON.parse(V):null}function g(I){var V=v(P(I));return V?(V.keys==null&&(V.keys=[]),V):{keys:[]}}function b(I,V){return"".concat(i,".").concat(I,".docs.").concat(V)}function P(I){return"".concat(i,".").concat(I,".index")}})(O9||(O9={}));var Nf=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.call(this),o.cid=dj.uniqueId(),c.views[o.cid]=Object(Fp.a)(o),o}return Object(Pi.a)(c,[{key:"priority",get:function(){return 2}},{key:"confirmUpdate",value:function(t,r){return 0}},{key:"$",value:function(t){return c.$(t)}},{key:"empty",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.container;return this.$(t).empty(),this}},{key:"unmount",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.container;return this.$(t).remove(),this}},{key:"remove",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.container;return t===this.container&&(this.removeEventListeners(document),this.onRemove(),delete c.views[this.cid]),this.unmount(t),this}},{key:"onRemove",value:function(){}},{key:"setClass",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;r.classList.value=Array.isArray(t)?t.join(" "):t}},{key:"addClass",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;return this.$(r).addClass(Array.isArray(t)?t.join(" "):t),this}},{key:"removeClass",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;return this.$(r).removeClass(Array.isArray(t)?t.join(" "):t),this}},{key:"setStyle",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;return this.$(r).css(t),this}},{key:"setAttrs",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;return t!=null&&r!=null&&(r instanceof SVGElement?S.attr(r,t):this.$(r).attr(t)),this}},{key:"findAttr",value:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container,d=r;d&&d.nodeType===1;){var v=d.getAttribute(t);if(v!=null)return v;if(d===this.container)return null;d=d.parentNode}return null}},{key:"find",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.selectors;return c.find(t,r,d).elems}},{key:"findOne",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.selectors,v=this.find(t,r,d);return v.length>0?v[0]:null}},{key:"findByAttr",value:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container,d=r;d&&d.getAttribute;){var v=d.getAttribute(t);if((v!=null||d===this.container)&&v!=="false")return d;d=d.parentNode}return null}},{key:"getSelector",value:function(t,r){var d;if(t===this.container)return typeof r=="string"&&(d="> ".concat(r)),d;if(t){var v=S.index(t)+1;d="".concat(t.tagName.toLowerCase(),":nth-child(").concat(v,")"),r&&(d+=" > ".concat(r)),d=this.getSelector(t.parentNode,d)}return d}},{key:"prefixClassName",value:function(t){return Cv.prefix(t)}},{key:"delegateEvents",value:function(t,r){var d=this;if(t==null)return this;r||this.undelegateEvents();var v=/^(\S+)\s*(.*)$/;return Object.keys(t).forEach(function(g){var b=g.match(v);if(b!=null){var P=d.getEventHandler(t[g]);typeof P=="function"&&d.delegateEvent(b[1],b[2],P)}}),this}},{key:"undelegateEvents",value:function(){return this.$(this.container).off(this.getEventNamespace()),this}},{key:"delegateDocumentEvents",value:function(t,r){return this.addEventListeners(document,t,r),this}},{key:"undelegateDocumentEvents",value:function(){return this.removeEventListeners(document),this}},{key:"delegateEvent",value:function(t,r,d){return this.$(this.container).on(t+this.getEventNamespace(),r,d),this}},{key:"undelegateEvent",value:function(t,r,d){var v=t+this.getEventNamespace();return r==null?this.$(this.container).off(v):typeof r=="string"?this.$(this.container).off(v,r,d):this.$(this.container).off(v,r),this}},{key:"addEventListeners",value:function(t,r,d){var v=this;if(r==null)return this;var g=this.getEventNamespace(),b=this.$(t);return Object.keys(r).forEach(function(P){var I=v.getEventHandler(r[P]);typeof I=="function"&&b.on(P+g,d,I)}),this}},{key:"removeEventListeners",value:function(t){return t!=null&&this.$(t).off(this.getEventNamespace()),this}},{key:"getEventNamespace",value:function(){return".".concat(Jg.prefixCls,"-event-").concat(this.cid)}},{key:"getEventHandler",value:function(t){var r=this,d;if(typeof t=="string"){var v=this[t];typeof v=="function"&&(d=function(){for(var b=arguments.length,P=new Array(b),I=0;I<b;I++)P[I]=arguments[I];return v.call.apply(v,[r].concat(P))})}else d=function(){for(var b=arguments.length,P=new Array(b),I=0;I<b;I++)P[I]=arguments[I];return t.call.apply(t,[r].concat(P))};return d}},{key:"getEventTarget",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=t.target,v=t.type,g=t.clientX,b=g===void 0?0:g,P=t.clientY,I=P===void 0?0:P;return r.fromPoint||v==="touchmove"||v==="touchend"?document.elementFromPoint(b,I):d}},{key:"stopPropagation",value:function(t){return this.setEventData(t,{propagationStopped:!0}),this}},{key:"isPropagationStopped",value:function(t){return this.getEventData(t).propagationStopped===!0}},{key:"getEventData",value:function(t){return this.eventData(t)}},{key:"setEventData",value:function(t,r){return this.eventData(t,r)}},{key:"eventData",value:function(t,r){if(t==null)throw new TypeError("Event object required");var d=t.data,v="__".concat(this.cid,"__");return r==null?d==null?{}:d[v]||{}:(d==null&&(d=t.data={}),d[v]==null?d[v]=Object.assign({},r):d[v]=Object.assign(Object.assign({},d[v]),r),d[v])}},{key:"normalizeEvent",value:function(t){return c.normalizeEvent(t)}}]),c}(yh);(function(u){function i(r){return dv()(r)}u.$=i;function c(r,d){return d?S.createSvgElement(r||"g"):S.createElementNS(r||"div")}u.createElement=c;function o(r,d,v){if(!r||r===".")return{elems:[d]};if(v){var g=v[r];if(g)return{elems:Array.isArray(g)?g:[g]}}return Jg.useCSSSelector?{isCSSSelector:!0,elems:i(d).find(r).toArray()}:{elems:[]}}u.find=o;function t(r){var d=r,v=r.originalEvent,g=v&&v.changedTouches&&v.changedTouches[0];if(g){for(var b in r)g[b]===void 0&&(g[b]=r[b]);d=g}var P=d.target;if(P){var I=P.correspondingUseElement;I&&(d.target=I)}return d}u.normalizeEvent=t})(Nf||(Nf={})),function(u){u.views={};function i(c){return u.views[c]||null}u.getView=i}(Nf||(Nf={}));var dj;(function(u){var i=0;function c(){var o="v".concat(i);return i+=1,o}u.uniqueId=c})(dj||(dj={}));var C9=function(i){return i};function YN(u,i){return i===0?"0%":"".concat(Math.round(u/i*100),"%")}function XN(u){var i=function(o,t,r,d){return t.isEdgeElement(r)?kee(u,o,t,r,d):E9(u,o,t,r,d)};return i}function E9(u,i,c,o,t){var r=c.cell,d=r.getAngle(),v=c.getUnrotatedBBoxOfElement(o),g=r.getBBox().getCenter(),b=$i.create(t).rotate(d,g),P=b.x-v.x,I=b.y-v.y;return u&&(P=YN(P,v.width),I=YN(I,v.height)),i.anchor={name:"topLeft",args:{dx:P,dy:I,rotate:!0}},i}function kee(u,i,c,o,t){var r=c.getConnection();if(!r)return i;var d=r.closestPointLength(t);if(u){var v=r.length();i.anchor={name:"ratio",args:{ratio:d/v}}}else i.anchor={name:"length",args:{length:d}};return i}var jee=XN(!0),x9=XN(!1),Z1;(function(u){u.presets=B,u.registry=Jp.create({type:"connection strategy"}),u.registry.register(u.presets,!0)})(Z1||(Z1={}));var S9=function(){function u(i){Object(xi.a)(this,u),this.view=i,this.clean()}return Object(Pi.a)(u,[{key:"clean",value:function(){this.elemCache&&this.elemCache.dispose(),this.elemCache=new i2,this.pathCache={}}},{key:"get",value:function(c){var o=this.elemCache;return o.has(c)||this.elemCache.set(c,{}),this.elemCache.get(c)}},{key:"getData",value:function(c){var o=this.get(c);return o.data||(o.data={}),o.data}},{key:"getMatrix",value:function(c){var o=this.get(c);if(o.matrix==null){var t=this.view.rotatableNode||this.view.container;o.matrix=S.getTransformToElement(c,t)}return S.createSVGMatrix(o.matrix)}},{key:"getShape",value:function(c){var o=this.get(c);return o.shape==null&&(o.shape=S.toGeometryShape(c)),o.shape.clone()}},{key:"getBoundingRect",value:function(c){var o=this.get(c);return o.boundingRect==null&&(o.boundingRect=S.getBBox(c)),o.boundingRect.clone()}}]),u}(),Cf;(function(u){function i(P){return P!=null&&!c(P)}u.isJSONMarkup=i;function c(P){return P!=null&&typeof P=="string"}u.isStringMarkup=c;function o(P){return P==null||c(P)?P:m.cloneDeep(P)}u.clone=o;function t(P){return"".concat(P).trim().replace(/[\r|\n]/g," ").replace(/>\s+</g,"><")}u.sanitize=t;function r(P){var I=document.createDocumentFragment(),V={},K={},ae=t(P),ue=O.sanitizeHTML(ae,{raw:!0});return ue.forEach(function(ve){I.appendChild(ve)}),{fragment:I,selectors:K,groups:V}}u.parseStringMarkup=r;function d(P){for(var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:S.ns.svg},V=document.createDocumentFragment(),K={},ae={},ue=[{markup:Array.isArray(P)?P:[P],parent:V,ns:I.ns}],ve=function(){var ke=ue.pop(),Ie=ke.ns||S.ns.svg,Ye=ke.markup,Ze=ke.parent;Ye.forEach(function(et){var yt=et.tagName;if(!yt)throw new TypeError("Invalid tagName");et.ns&&(Ie=et.ns);var jt=Ie===S.ns.svg,Ft=Ie?S.createElementNS(yt,Ie):S.createElement(yt),Ht=et.attrs;Ht&&(jt?S.attr(Ft,S.kebablizeAttrs(Ht)):dv()(Ft).attr(Ht));var Gt=et.style;Gt&&dv()(Ft).css(Gt);var Jt=et.className;Jt!=null&&Ft.setAttribute("class",Array.isArray(Jt)?Jt.join(" "):Jt),et.textContent&&(Ft.textContent=et.textContent);var mn=et.selector;if(mn!=null){if(ae[mn])throw new TypeError("Selector must be unique");ae[mn]=Ft}if(et.groupSelector){var vn=et.groupSelector;Array.isArray(vn)||(vn=[vn]),vn.forEach(function(En){K[En]||(K[En]=[]),K[En].push(Ft)})}Ze.appendChild(Ft);var Yt=et.children;Array.isArray(Yt)&&ue.push({ns:Ie,markup:Yt,parent:Ft})})};ue.length>0;)ve();return Object.keys(K).forEach(function(Oe){if(ae[Oe])throw new Error("Ambiguous group selector");ae[Oe]=K[Oe]}),{fragment:V,selectors:ae,groups:K}}u.parseJSONMarkup=d;function v(P){return P instanceof SVGElement?S.createSvgElement("g"):S.createElement("div")}function g(P){if(c(P)){var I=Kd.createVectors(P),V=I.length;if(V===1)return{elem:I[0].node};if(V>1){var K=v(I[0].node);return I.forEach(function(Oe){K.appendChild(Oe.node)}),{elem:K}}return{}}var ae=d(P),ue=ae.fragment,ve=null;return ue.childNodes.length>1?(ve=v(ue.firstChild),ve.appendChild(ue)):ve=ue.firstChild,{elem:ve,selectors:ae.selectors}}u.renderMarkup=g;function b(P){for(var I=Kd.createVectors(P),V=document.createDocumentFragment(),K=0,ae=I.length;K<ae;K+=1){var ue=I[K].node;V.appendChild(ue)}return{fragment:V,selectors:{}}}u.parseLabelStringMarkup=b})(Cf||(Cf={})),function(u){function i(t,r,d){if(t!=null){var v,g=t.tagName.toLowerCase();if(t===r)return typeof d=="string"?v="> ".concat(g," > ").concat(d):v="> ".concat(g),v;var b=t.parentNode;if(b&&b.childNodes.length>1){var P=S.index(t)+1;v="".concat(g,":nth-child(").concat(P,")")}else v=g;return d&&(v+=" > ".concat(d)),i(t.parentNode,r,v)}return d}u.getSelector=i;function c(t,r,d){if(t.nodeName==="#text")return null;var v=null,g=null,b=null,P=!1,I={tagName:t.tagName};if(t.attributes){b={};for(var V=0,K=t.attributes.length;V<K;V+=1){var ae=t.attributes[V],ue=ae.nodeName,ve=ae.nodeValue;ue==="selector"?v=ve:ue==="groupSelector"?g=ve:ue==="class"?I.attrs={class:ve}:b[ue]=ve}}return v==null&&(P=!0,v=i(t,r)),t.namespaceURI&&(I.ns=t.namespaceURI),I.ns==null&&(["body","div","section","main","nav","footer","span","p","h1","h2","h3","h4","h5","h6","ul","ol","dl","center","strong","pre","form","select","textarea","fieldset","marquee","bgsound","iframe","frameset"].includes(t.tagName)?I.ns=S.ns.xhtml:d&&(I.ns=d)),v&&(I.selector=v),g!=null&&(I.groupSelector=g),{markup:I,attrs:b,isCSSSelector:P}}function o(t){var r=u.sanitize(t),d=S.parseXML(r,{mimeType:"image/svg+xml"}),v=Array.prototype.slice.call(d.childNodes),g={},b=new WeakMap,P=function V(K,ae,ue){var ve=c(K,ae,ue);if(ve==null){var Oe=b.get(K.parentNode);Oe&&K.textContent&&(Oe.textContent=K.textContent)}else{var ke=ve.markup,Ie=ve.attrs,Ye=ve.isCSSSelector;if(b.set(K,ke),ke.selector&&Ie!=null&&(Object.keys(Ie).length&&(g[ke.selector]=Ie),Ye&&delete ke.selector),K.childNodes&&K.childNodes.length>0)for(var Ze=0,et=K.childNodes.length;Ze<et;Ze+=1){var yt=K.childNodes[Ze],jt=V(yt,ae,ke.ns);jt&&(ke.children==null&&(ke.children=[]),ke.children.push(jt))}return ke}},I=v.map(function(V){return P(V,V)}).filter(function(V){return V!=null});return{markup:I,attrs:g}}u.xml2json=o}(Cf||(Cf={})),function(u){function i(){return"g"}u.getPortContainerMarkup=i;function c(){return{tagName:"circle",selector:"circle",attrs:{r:10,fill:"#FFFFFF",stroke:"#000000"}}}u.getPortMarkup=c;function o(){return{tagName:"text",selector:"text",attrs:{fill:"#000000"}}}u.getPortLabelMarkup=o}(Cf||(Cf={})),function(u){function i(){return u.sanitize(`
<path class="connection" stroke="black" d="M 0 0 0 0"/>
<path class="source-marker" fill="black" stroke="black" d="M 0 0 0 0"/>
<path class="target-marker" fill="black" stroke="black" d="M 0 0 0 0"/>
<path class="connection-wrap" d="M 0 0 0 0"/>
<g class="labels"/>
<g class="vertices"/>
<g class="arrowheads"/>
<g class="tools"/>
`)}u.getEdgeMarkup=i;function c(){return u.sanitize(`
<g class="edge-tool">
<g class="tool-remove" event="edge:remove">
<circle r="11" />
<path transform="scale(.8) translate(-16, -16)" d="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z" />
<title>Remove edge.</title>
</g>
<g class="tool-options" event="edge:options">
<circle r="11" transform="translate(25)"/>
<path fill="white" transform="scale(.55) translate(29, -16)" d="M31.229,17.736c0.064-0.571,0.104-1.148,0.104-1.736s-0.04-1.166-0.104-1.737l-4.377-1.557c-0.218-0.716-0.504-1.401-0.851-2.05l1.993-4.192c-0.725-0.91-1.549-1.734-2.458-2.459l-4.193,1.994c-0.647-0.347-1.334-0.632-2.049-0.849l-1.558-4.378C17.165,0.708,16.588,0.667,16,0.667s-1.166,0.041-1.737,0.105L12.707,5.15c-0.716,0.217-1.401,0.502-2.05,0.849L6.464,4.005C5.554,4.73,4.73,5.554,4.005,6.464l1.994,4.192c-0.347,0.648-0.632,1.334-0.849,2.05l-4.378,1.557C0.708,14.834,0.667,15.412,0.667,16s0.041,1.165,0.105,1.736l4.378,1.558c0.217,0.715,0.502,1.401,0.849,2.049l-1.994,4.193c0.725,0.909,1.549,1.733,2.459,2.458l4.192-1.993c0.648,0.347,1.334,0.633,2.05,0.851l1.557,4.377c0.571,0.064,1.148,0.104,1.737,0.104c0.588,0,1.165-0.04,1.736-0.104l1.558-4.377c0.715-0.218,1.399-0.504,2.049-0.851l4.193,1.993c0.909-0.725,1.733-1.549,2.458-2.458l-1.993-4.193c0.347-0.647,0.633-1.334,0.851-2.049L31.229,17.736zM16,20.871c-2.69,0-4.872-2.182-4.872-4.871c0-2.69,2.182-4.872,4.872-4.872c2.689,0,4.871,2.182,4.871,4.872C20.871,18.689,18.689,20.871,16,20.871z"/>
<title>Edge options.</title>
</g>
</g>
`)}u.getEdgeToolMarkup=c;function o(){return u.sanitize(`
<g class="vertex-group" transform="translate(<%= x %>, <%= y %>)">
<circle class="vertex" data-index="<%= index %>" r="10" />
<path class="vertex-remove-area" data-index="<%= index %>" d="M16,5.333c-7.732,0-14,4.701-14,10.5c0,1.982,0.741,3.833,2.016,5.414L2,25.667l5.613-1.441c2.339,1.317,5.237,2.107,8.387,2.107c7.732,0,14-4.701,14-10.5C30,10.034,23.732,5.333,16,5.333z" transform="translate(5, -33)"/>
<path class="vertex-remove" data-index="<%= index %>" transform="scale(.8) translate(9.5, -37)" d="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z">
<title>Remove vertex.</title>
</path>
</g>
`)}u.getEdgeVertexMarkup=o;function t(){return u.sanitize(`
<g class="arrowhead-group arrowhead-group-<%= end %>">
<path class="arrowhead" data-terminal="<%= end %>" d="M 26 0 L 0 13 L 26 26 z" />
</g>
`)}u.getEdgeArrowheadMarkup=t}(Cf||(Cf={})),function(u){function i(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return{tagName:"foreignObject",selector:"fo",children:[{ns:S.ns.xhtml,tagName:"body",selector:"foBody",attrs:{xmlns:S.ns.xhtml},style:{width:"100%",height:"100%",background:"transparent"},children:c?[]:[{tagName:"div",selector:"foContent",style:{width:"100%",height:"100%"}}]}]}}u.getForeignObjectMarkup=i}(Cf||(Cf={}));var GC=function(){function u(i){Object(xi.a)(this,u),this.view=i}return Object(Pi.a)(u,[{key:"cell",get:function(){return this.view.cell}},{key:"getDefinition",value:function(c){return this.cell.getAttrDefinition(c)}},{key:"processAttrs",value:function(c,o){var t=this,r,d,v,g,b,P=[];return Object.keys(o).forEach(function(I){var V=o[I],K=t.getDefinition(I),ae=k.call(Wm.isValidDefinition,t.view,K,V,{elem:c,attrs:o,cell:t.cell,view:t.view});if(K&&ae)typeof K=="string"?(r==null&&(r={}),r[K]=V):V!==null&&P.push({name:I,definition:K});else{r==null&&(r={});var ue=S.CASE_SENSITIVE_ATTR.includes(I)?I:O.kebabCase(I);r[ue]=V}}),P.forEach(function(I){var V=I.name,K=I.definition,ae=o[V],ue=K;typeof ue.set=="function"&&(!S.isHTMLElement(c)&&u.DELAY_ATTRS.includes(V)?(b==null&&(b={}),b[V]=ae):(d==null&&(d={}),d[V]=ae));var ve=K;typeof ve.offset=="function"&&(v==null&&(v={}),v[V]=ae);var Oe=K;typeof Oe.position=="function"&&(g==null&&(g={}),g[V]=ae)}),{raw:o,normal:r,set:d,offset:v,position:g,delay:b}}},{key:"mergeProcessedAttrs",value:function(c,o){c.set=Object.assign(Object.assign({},c.set),o.set),c.position=Object.assign(Object.assign({},c.position),o.position),c.offset=Object.assign(Object.assign({},c.offset),o.offset);var t=c.normal&&c.normal.transform;t!=null&&o.normal&&(o.normal.transform=t),c.normal=o.normal}},{key:"findAttrs",value:function(c,o,t,r){var d=[],v=new i2;return Object.keys(c).forEach(function(g){var b=c[g];if(!!m.isPlainObject(b)){var P=Nf.find(g,o,r),I=P.isCSSSelector,V=P.elems;t[g]=V;for(var K=0,ae=V.length;K<ae;K+=1){var ue=V[K],ve=r&&r[g]===ue,Oe=v.get(ue);if(Oe){Oe.array||(d.push(ue),Oe.array=!0,Oe.attrs=[Oe.attrs],Oe.priority=[Oe.priority]);var ke=Oe.attrs,Ie=Oe.priority;if(ve)ke.unshift(b),Ie.unshift(-1);else{var Ye=E.sortedIndex(Ie,I?-1:ae);ke.splice(Ye,0,b),Ie.splice(Ye,0,ae)}}else v.set(ue,{elem:ue,attrs:b,priority:ve?-1:ae,array:!1})}}}),d.forEach(function(g){var b=v.get(g),P=b.attrs;b.attrs=P.reduceRight(function(I,V){return m.merge(I,V)},{})}),v}},{key:"updateRelativeAttrs",value:function(c,o,t,r){var d=this,v=o.raw||{},g=o.normal||{},b=o.set,P=o.position,I=o.offset,V=o.delay,K=function(){return{elem:c,cell:d.cell,view:d.view,attrs:v,refBBox:t.clone()}};if(b!=null&&Object.keys(b).forEach(function(Ht){var Gt=b[Ht],Jt=d.getDefinition(Ht);if(Jt!=null){var mn=k.call(Jt.set,d.view,Gt,K());typeof mn=="object"?g=Object.assign(Object.assign({},g),mn):mn!=null&&(g[Ht]=mn)}}),S.isHTMLElement(c)){this.view.setAttrs(g,c);return}var ae=g.transform,ue=ae?"".concat(ae):null,ve=S.transformStringToMatrix(ue),Oe=new $i(ve.e,ve.f);ae&&(delete g.transform,ve.e=0,ve.f=0);var ke=1,Ie=1;if(P||I){var Ye=this.view.getScaleOfElement(c,r.scalableNode);ke=Ye.sx,Ie=Ye.sy}var Ze=!1;P!=null&&Object.keys(P).forEach(function(Ht){var Gt=P[Ht],Jt=d.getDefinition(Ht);if(Jt!=null){var mn=k.call(Jt.position,d.view,Gt,K());mn!=null&&(Ze=!0,Oe.translate($i.create(mn).scale(ke,Ie)))}}),this.view.setAttrs(g,c);var et=!1;if(I!=null){var yt=this.view.getBoundingRectOfElement(c);if(yt.width>0&&yt.height>0){var jt=S.transformRectangle(yt,ve).scale(1/ke,1/Ie);Object.keys(I).forEach(function(Ht){var Gt=I[Ht],Jt=d.getDefinition(Ht);if(Jt!=null){var mn=k.call(Jt.offset,d.view,Gt,{elem:c,cell:d.cell,view:d.view,attrs:v,refBBox:jt});mn!=null&&(et=!0,Oe.translate($i.create(mn).scale(ke,Ie)))}})}}(ae!=null||Ze||et)&&(Oe.round(1),ve.e=Oe.x,ve.f=Oe.y,c.setAttribute("transform",S.matrixToTransformString(ve)));var Ft=function(){V!=null&&Object.keys(V).forEach(function(Gt){var Jt=V[Gt],mn=d.getDefinition(Gt);if(mn!=null){var vn=k.call(mn.set,d.view,Jt,K());typeof vn=="object"?d.view.setAttrs(vn,c):vn!=null&&d.view.setAttrs(Object(qc.a)({},Gt,vn),c)}})};r.forceSync?Ft():e2.scheduleTask(Ft)}},{key:"update",value:function(c,o,t){var r=this,d={},v=this.findAttrs(t.attrs||o,c,d,t.selectors),g=t.attrs?this.findAttrs(o,c,d,t.selectors):v,b=[];v.each(function(V){var K=V.elem,ae=V.attrs,ue=r.processAttrs(K,ae);if(ue.set==null&&ue.position==null&&ue.offset==null&&ue.delay==null)r.view.setAttrs(ue.normal,K);else{var ve=g.get(K),Oe=ve?ve.attrs:null,ke=Oe&&ae.ref==null?Oe.ref:ae.ref,Ie;if(ke){if(Ie=(d[ke]||r.view.find(ke,c,t.selectors))[0],!Ie)throw new Error('"'.concat(ke,'" reference does not exist.'))}else Ie=null;var Ye={node:K,refNode:Ie,attributes:Oe,processedAttributes:ue},Ze=b.findIndex(function(et){return et.refNode===K});Ze>-1?b.splice(Ze,0,Ye):b.push(Ye)}});var P=new i2,I;b.forEach(function(V){var K=V.node,ae=V.refNode,ue,ve=ae!=null&&t.rotatableNode!=null&&S.contains(t.rotatableNode,ae);if(ae&&(ue=P.get(ae)),!ue){var Oe=ve?t.rotatableNode:c;ue=ae?S.getBBox(ae,{target:Oe}):t.rootBBox,ae&&P.set(ae,ue)}var ke;t.attrs&&V.attributes?(ke=r.processAttrs(K,V.attributes),r.mergeProcessedAttrs(ke,V.processedAttributes)):ke=V.processedAttributes;var Ie=ue;ve&&t.rotatableNode!=null&&!t.rotatableNode.contains(K)&&(I||(I=S.transformStringToMatrix(S.attr(t.rotatableNode,"transform"))),Ie=S.transformRectangle(ue,I));var Ye=b.find(function(Ze){return Ze.refNode===K});Ye&&(t.forceSync=!0),r.updateRelativeAttrs(K,ke,Ie,t)})}}]),u}();(function(u){u.DELAY_ATTRS=["text","textWrap","sourceMarker","targetMarker"]})(GC||(GC={}));var Q1=function(){function u(i,c){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];Object(xi.a)(this,u),this.view=i;var t={},r={},d=0;Object.keys(c).forEach(function(g){var b=c[g];Array.isArray(b)||(b=[b]),b.forEach(function(P){var I=t[P];I||(d+=1,I=t[P]=1<<d),r[g]|=I})});var v=o;if(Array.isArray(v)||(v=[v]),v.forEach(function(g){t[g]||(d+=1,t[g]=1<<d)}),d>25)throw new Error("Maximum number of flags exceeded.");this.flags=t,this.attrs=r,this.bootstrap=o}return Object(Pi.a)(u,[{key:"cell",get:function(){return this.view.cell}},{key:"getFlag",value:function(c){var o=this.flags;return o==null?0:Array.isArray(c)?c.reduce(function(t,r){return t|o[r]},0):o[c]|0}},{key:"hasAction",value:function(c,o){return c&this.getFlag(o)}},{key:"removeAction",value:function(c,o){return c^c&this.getFlag(o)}},{key:"getBootstrapFlag",value:function(){return this.getFlag(this.bootstrap)}},{key:"getChangedFlag",value:function(){var c=this,o=0;return this.attrs&&Object.keys(this.attrs).forEach(function(t){c.cell.hasChanged(t)&&(o|=c.attrs[t])}),o}}]),u}(),w9=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},ov=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t){var r,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object(xi.a)(this,o),r=c.call(this),r.cell=t,r.options=r.ensureOptions(d),r.graph=r.options.graph,r.attr=new GC(Object(Fp.a)(r)),r.flag=new Q1(Object(Fp.a)(r),r.options.actions,r.options.bootstrap),r.cache=new S9(Object(Fp.a)(r)),r.setContainer(r.ensureContainer()),r.setup(),r.$(r.container).data("view",Object(Fp.a)(r)),r.init(),r}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"init",value:function(){}},{key:"onRemove",value:function(){this.removeTools()}},{key:"priority",get:function(){return this.options.priority}},{key:"rootSelector",get:function(){return this.options.rootSelector}},{key:"getConstructor",value:function(){return this.constructor}},{key:"ensureOptions",value:function(r){return this.getConstructor().getOptions(r)}},{key:"getContainerTagName",value:function(){return this.options.isSvgElement?"g":"div"}},{key:"getContainerStyle",value:function(){}},{key:"getContainerAttrs",value:function(){return{"data-cell-id":this.cell.id,"data-shape":this.cell.shape}}},{key:"getContainerClassName",value:function(){return this.prefixClassName("cell")}},{key:"ensureContainer",value:function(){return Nf.createElement(this.getContainerTagName(),this.options.isSvgElement)}},{key:"setContainer",value:function(r){if(this.container!==r){this.undelegateEvents(),this.container=r,this.options.events!=null&&this.delegateEvents(this.options.events);var d=this.getContainerAttrs();d!=null&&this.setAttrs(d,r);var v=this.getContainerStyle();v!=null&&this.setStyle(v,r);var g=this.getContainerClassName();g!=null&&this.addClass(g,r)}return this}},{key:"isNodeView",value:function(){return!1}},{key:"isEdgeView",value:function(){return!1}},{key:"render",value:function(){return this}},{key:"confirmUpdate",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return 0}},{key:"getBootstrapFlag",value:function(){return this.flag.getBootstrapFlag()}},{key:"getFlag",value:function(r){return this.flag.getFlag(r)}},{key:"hasAction",value:function(r,d){return this.flag.hasAction(r,d)}},{key:"removeAction",value:function(r,d){return this.flag.removeAction(r,d)}},{key:"handleAction",value:function(r,d,v,g){if(this.hasAction(r,d)){v();var b=[d];return g&&(typeof g=="string"?b.push(g):b.push.apply(b,Object(Bs.a)(g))),this.removeAction(r,b)}return r}},{key:"setup",value:function(){var r=this;this.cell.on("changed",function(d){var v=d.options;return r.onAttrsChange(v)})}},{key:"onAttrsChange",value:function(r){var d=this.flag.getChangedFlag();r.updated||!d||(r.dirty&&this.hasAction(d,"update")&&(d|=this.getFlag("render")),r.toolId&&(r.async=!1),this.graph!=null&&this.graph.renderer.requestViewUpdate(this,d,this.priority,r))}},{key:"parseJSONMarkup",value:function(r,d){var v=Cf.parseJSONMarkup(r),g=v.selectors,b=this.rootSelector;if(d&&b){if(g[b])throw new Error("Invalid root selector");g[b]=d}return v}},{key:"can",value:function(r){var d=this.graph.options.interacting;if(typeof d=="function"&&(d=k.call(d,this.graph,this)),typeof d=="object"){var v=d[r];return typeof v=="function"&&(v=k.call(v,this.graph,this)),v!==!1}return typeof d=="boolean"?d:!1}},{key:"cleanCache",value:function(){return this.cache.clean(),this}},{key:"getCache",value:function(r){return this.cache.get(r)}},{key:"getDataOfElement",value:function(r){return this.cache.getData(r)}},{key:"getMatrixOfElement",value:function(r){return this.cache.getMatrix(r)}},{key:"getShapeOfElement",value:function(r){return this.cache.getShape(r)}},{key:"getScaleOfElement",value:function(r,d){var v,g;if(d&&d.contains(r)){var b=S.scale(d);v=1/b.sx,g=1/b.sy}else v=1,g=1;return{sx:v,sy:g}}},{key:"getBoundingRectOfElement",value:function(r){return this.cache.getBoundingRect(r)}},{key:"getBBoxOfElement",value:function(r){var d=this.getBoundingRectOfElement(r),v=this.getMatrixOfElement(r),g=this.getRootRotatedMatrix(),b=this.getRootTranslatedMatrix();return S.transformRectangle(d,b.multiply(g).multiply(v))}},{key:"getUnrotatedBBoxOfElement",value:function(r){var d=this.getBoundingRectOfElement(r),v=this.getMatrixOfElement(r),g=this.getRootTranslatedMatrix();return S.transformRectangle(d,g.multiply(v))}},{key:"getBBox",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d;if(r.useCellGeometry){var v=this.cell,g=v.isNode()?v.getAngle():0;d=v.getBBox().bbox(g)}else d=this.getBBoxOfElement(this.container);return this.graph.localToGraph(d)}},{key:"getRootTranslatedMatrix",value:function(){var r=this.cell,d=r.isNode()?r.getPosition():{x:0,y:0};return S.createSVGMatrix().translate(d.x,d.y)}},{key:"getRootRotatedMatrix",value:function(){var r=S.createSVGMatrix(),d=this.cell,v=d.isNode()?d.getAngle():0;if(v){var g=d.getBBox(),b=g.width/2,P=g.height/2;r=r.translate(b,P).rotate(v).translate(-b,-P)}return r}},{key:"findMagnet",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.container;return this.findByAttr("magnet",r)}},{key:"updateAttrs",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};v.rootBBox==null&&(v.rootBBox=new xl),v.selectors==null&&(v.selectors=this.selectors),this.attr.update(r,d,v)}},{key:"isEdgeElement",value:function(r){return this.cell.isEdge()&&(r==null||r===this.container)}},{key:"prepareHighlight",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=r&&this.$(r)[0]||this.container;return d.partial=v===this.container,v}},{key:"highlight",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.prepareHighlight(r,d);return this.notify("cell:highlight",{magnet:v,options:d,view:this,cell:this.cell}),this.isEdgeView()?this.notify("edge:highlight",{magnet:v,options:d,view:this,edge:this.cell,cell:this.cell}):this.isNodeView()&&this.notify("node:highlight",{magnet:v,options:d,view:this,node:this.cell,cell:this.cell}),this}},{key:"unhighlight",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.prepareHighlight(r,d);return this.notify("cell:unhighlight",{magnet:v,options:d,view:this,cell:this.cell}),this.isNodeView()?this.notify("node:unhighlight",{magnet:v,options:d,view:this,node:this.cell,cell:this.cell}):this.isEdgeView()&&this.notify("edge:unhighlight",{magnet:v,options:d,view:this,edge:this.cell,cell:this.cell}),this}},{key:"notifyUnhighlight",value:function(r,d){}},{key:"getEdgeTerminal",value:function(r,d,v,g,b){var P=this.cell,I=this.findAttr("port",r),V=r.getAttribute("data-selector"),K={cell:P.id};return V!=null&&(K.magnet=V),I!=null?(K.port=I,P.isNode()&&!P.hasPort(I)&&V==null&&(K.selector=this.getSelector(r))):V==null&&this.container!==r&&(K.selector=this.getSelector(r)),this.customizeEdgeTerminal(K,r,d,v,g,b)}},{key:"customizeEdgeTerminal",value:function(r,d,v,g,b,P){var I=b.getStrategy()||this.graph.options.connecting.strategy;if(I){var V=typeof I=="string"?I:I.name,K=typeof I=="string"?{}:I.args||{},ae=Z1.registry;if(V){var ue=ae.get(V);if(ue==null)return ae.onNotFound(V);var ve=k.call(ue,this.graph,r,this,d,new $i(v,g),b,P,K);if(ve)return ve}}return r}},{key:"getMagnetFromEdgeTerminal",value:function(r){var d=this.cell,v=this.container,g=r.port,b=r.magnet,P;return g!=null&&d.isNode()&&d.hasPort(g)?P=this.findPortElem(g,b)||v:(b||(b=r.selector),!b&&g!=null&&(b='[port="'.concat(g,'"]')),P=this.findOne(b,v,this.selectors)),P}},{key:"animate",value:function(r,d){var v=typeof r=="string"?this.findOne(r):r;if(v==null)throw new Error("Invalid animation element.");var g=v.parentNode,b=function(){g||S.remove(v)},P=Kd.create(v);g||P.appendTo(this.graph.view.stage);var I=d.complete;return d.complete=function(V){b(),I&&I(V)},P.animate(d)}},{key:"animateTransform",value:function(r,d){var v=typeof r=="string"?this.findOne(r):r;if(v==null)throw new Error("Invalid animation element.");var g=v.parentNode,b=function(){g||S.remove(v)},P=Kd.create(v);g||P.appendTo(this.graph.view.stage);var I=d.complete;return d.complete=function(V){b(),I&&I(V)},P.animateTransform(d)}},{key:"hasTools",value:function(r){var d=this.tools;return d==null?!1:r==null?!0:d.name===r}},{key:"addTools",value:function(r){if(!this.can("toolsAddable"))return this;if(this.removeTools(),r){var d=bh.isToolsView(r)?r:new bh(r);this.tools=d,this.graph.on("tools:hide",this.hideTools,this),this.graph.on("tools:show",this.showTools,this),this.graph.on("tools:remove",this.removeTools,this),d.config({view:this}),d.mount()}return this}},{key:"updateTools",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.tools&&this.tools.update(r),this}},{key:"removeTools",value:function(){return this.tools&&(this.tools.remove(),this.graph.off("tools:hide",this.hideTools,this),this.graph.off("tools:show",this.showTools,this),this.graph.off("tools:remove",this.removeTools,this),this.tools=null),this}},{key:"hideTools",value:function(){return this.tools&&this.tools.hide(),this}},{key:"showTools",value:function(){return this.tools&&this.tools.show(),this}},{key:"renderTools",value:function(){var r=this.cell.getTools();return this.addTools(r),this}},{key:"notify",value:function(r,d){return this.trigger(r,d),this.graph.trigger(r,d),this}},{key:"getEventArgs",value:function(r,d,v){var g=this,b=g.cell;return d==null||v==null?{e:r,view:g,cell:b}:{e:r,x:d,y:v,view:g,cell:b}}},{key:"onClick",value:function(r,d,v){this.notify("cell:click",this.getEventArgs(r,d,v))}},{key:"onDblClick",value:function(r,d,v){this.notify("cell:dblclick",this.getEventArgs(r,d,v))}},{key:"onContextMenu",value:function(r,d,v){this.notify("cell:contextmenu",this.getEventArgs(r,d,v))}},{key:"onMouseDown",value:function(r,d,v){this.cell.model&&(this.cachedModelForMouseEvent=this.cell.model,this.cachedModelForMouseEvent.startBatch("mouse")),this.notify("cell:mousedown",this.getEventArgs(r,d,v))}},{key:"onMouseUp",value:function(r,d,v){this.notify("cell:mouseup",this.getEventArgs(r,d,v)),this.cachedModelForMouseEvent&&(this.cachedModelForMouseEvent.stopBatch("mouse",{cell:this.cell}),this.cachedModelForMouseEvent=null)}},{key:"onMouseMove",value:function(r,d,v){this.notify("cell:mousemove",this.getEventArgs(r,d,v))}},{key:"onMouseOver",value:function(r){this.notify("cell:mouseover",this.getEventArgs(r))}},{key:"onMouseOut",value:function(r){this.notify("cell:mouseout",this.getEventArgs(r))}},{key:"onMouseEnter",value:function(r){this.notify("cell:mouseenter",this.getEventArgs(r))}},{key:"onMouseLeave",value:function(r){this.notify("cell:mouseleave",this.getEventArgs(r))}},{key:"onMouseWheel",value:function(r,d,v,g){this.notify("cell:mousewheel",Object.assign({delta:g},this.getEventArgs(r,d,v)))}},{key:"onCustomEvent",value:function(r,d,v,g){this.notify("cell:customevent",Object.assign({name:d},this.getEventArgs(r,v,g))),this.notify(d,Object.assign({},this.getEventArgs(r,v,g)))}},{key:"onMagnetMouseDown",value:function(r,d,v,g){}},{key:"onMagnetDblClick",value:function(r,d,v,g){}},{key:"onMagnetContextMenu",value:function(r,d,v,g){}},{key:"onLabelMouseDown",value:function(r,d,v){}},{key:"checkMouseleave",value:function(r){var d=this.graph;d.renderer.isAsync()&&d.renderer.dumpView(this);var v=this.getEventTarget(r,{fromPoint:!0}),g=d.renderer.findViewByElem(v);g!==this&&(this.onMouseLeave(r),!!g&&g.onMouseEnter(r))}}],[{key:"getDefaults",value:function(){return this.defaults}},{key:"config",value:function(r){this.defaults=this.getOptions(r)}},{key:"getOptions",value:function(r){var d=function(ae,ue){return ue!=null?E.uniq([].concat(Object(Bs.a)(Array.isArray(ae)?ae:[ae]),Object(Bs.a)(Array.isArray(ue)?ue:[ue]))):Array.isArray(ae)?Object(Bs.a)(ae):[ae]},v=m.cloneDeep(this.getDefaults()),g=r.bootstrap,b=r.actions,P=r.events,I=r.documentEvents,V=w9(r,["bootstrap","actions","events","documentEvents"]);return g&&(v.bootstrap=d(v.bootstrap,g)),b&&Object.keys(b).forEach(function(K){var ae=b[K],ue=v.actions[K];ae&&ue?v.actions[K]=d(ue,ae):ae&&(v.actions[K]=d(ae))}),P&&(v.events=Object.assign(Object.assign({},v.events),P)),r.documentEvents&&(v.documentEvents=Object.assign(Object.assign({},v.documentEvents),I)),m.merge(v,V)}}]),o}(Nf,Symbol.toStringTag);ov.defaults={isSvgElement:!0,rootSelector:"root",priority:0,bootstrap:[],actions:{}},function(u){u.Flag=Q1,u.Attr=GC}(ov||(ov={})),function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.isNodeView=="function"&&typeof t.isEdgeView=="function"&&typeof t.confirmUpdate=="function"}u.isCellView=i}(ov||(ov={})),function(u){function i(o){return function(t){t.config({priority:o})}}u.priority=i;function c(o){return function(t){t.config({bootstrap:o})}}u.bootstrap=c}(ov||(ov={})),function(u){u.registry=Jp.create({type:"view"})}(ov||(ov={}));var bh=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object(xi.a)(this,o),t=c.call(this),t.svgContainer=t.createContainer(!0,r),t.htmlContainer=t.createContainer(!1,r),t.config(r),t}return Object(Pi.a)(o,[{key:"name",get:function(){return this.options.name}},{key:"graph",get:function(){return this.cellView.graph}},{key:"cell",get:function(){return this.cellView.cell}},{key:i,get:function(){return o.toStringTag}},{key:"createContainer",value:function(r,d){var v=r?Nf.createElement("g",!0):Nf.createElement("div",!1);return S.addClass(v,this.prefixClassName("cell-tools")),d.className&&S.addClass(v,d.className),v}},{key:"config",value:function(r){if(this.options=Object.assign(Object.assign({},this.options),r),!ov.isCellView(r.view)||r.view===this.cellView)return this;this.cellView=r.view,this.cell.isEdge()?(S.addClass(this.svgContainer,this.prefixClassName("edge-tools")),S.addClass(this.htmlContainer,this.prefixClassName("edge-tools"))):this.cell.isNode()&&(S.addClass(this.svgContainer,this.prefixClassName("node-tools")),S.addClass(this.htmlContainer,this.prefixClassName("node-tools"))),this.svgContainer.setAttribute("data-cell-id",this.cell.id),this.htmlContainer.setAttribute("data-cell-id",this.cell.id),this.name&&(this.svgContainer.setAttribute("data-tools-name",this.name),this.htmlContainer.setAttribute("data-tools-name",this.name));var d=this.options.items;if(!Array.isArray(d))return this;this.tools=[];var v=[];d.forEach(function(ve){if(o.ToolItem.isToolItem(ve))ve.name==="vertices"?v.unshift(ve):v.push(ve);else{var Oe=typeof ve=="object"?ve.name:ve;Oe==="vertices"?v.unshift(ve):v.push(ve)}});for(var g=0;g<v.length;g+=1){var b=v[g],P=void 0;if(o.ToolItem.isToolItem(b))P=b;else{var I=typeof b=="object"?b.name:b,V=typeof b=="object"?b.args||{}:{};if(I){if(this.cell.isNode()){var K=pb.registry.get(I);if(K)P=new K(V);else return pb.registry.onNotFound(I)}else if(this.cell.isEdge()){var ae=Z0.registry.get(I);if(ae)P=new ae(V);else return Z0.registry.onNotFound(I)}}}if(P){P.config(this.cellView,this),P.render();var ue=P.options.isSVGElement!==!1?this.svgContainer:this.htmlContainer;ue.appendChild(P.container),this.tools.push(P)}}return this}},{key:"update",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.tools;return d&&d.forEach(function(v){r.toolId!==v.cid&&v.isVisible()&&v.update()}),this}},{key:"focus",value:function(r){var d=this.tools;return d&&d.forEach(function(v){r===v?v.show():v.hide()}),this}},{key:"blur",value:function(r){var d=this.tools;return d&&d.forEach(function(v){v!==r&&!v.isVisible()&&(v.show(),v.update())}),this}},{key:"hide",value:function(){return this.focus(null)}},{key:"show",value:function(){return this.blur(null)}},{key:"remove",value:function(){var r=this.tools;return r&&(r.forEach(function(d){return d.remove()}),this.tools=null),S.remove(this.svgContainer),S.remove(this.htmlContainer),Object($u.a)(Object(Wu.a)(o.prototype),"remove",this).call(this)}},{key:"mount",value:function(){var r=this.tools,d=this.cellView;if(d&&r){var v=r.some(function(P){return P.options.isSVGElement!==!1}),g=r.some(function(P){return P.options.isSVGElement===!1});if(v){var b=this.options.local?d.container:d.graph.view.decorator;b.appendChild(this.svgContainer)}g&&this.graph.container.appendChild(this.htmlContainer)}return this}}]),o}(Nf,Symbol.toStringTag);(function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&t.graph!=null&&t.cell!=null&&typeof t.config=="function"&&typeof t.update=="function"&&typeof t.focus=="function"&&typeof t.blur=="function"&&typeof t.show=="function"&&typeof t.hide=="function"}u.isToolsView=i})(bh||(bh={})),function(u){var i=function(c,o){Object(Cc.a)(r,c);var t=Object(Ec.a)(r);function r(){var d,v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object(xi.a)(this,r),d=t.call(this),d.visible=!0,d.options=d.getOptions(v),d.container=Nf.createElement(d.options.tagName||"g",d.options.isSVGElement!==!1),S.addClass(d.container,d.prefixClassName("cell-tool")),typeof d.options.className=="string"&&S.addClass(d.container,d.options.className),d.init(),d}return Object(Pi.a)(r,[{key:"graph",get:function(){return this.cellView.graph}},{key:"cell",get:function(){return this.cellView.cell}},{key:"name",get:function(){return this.options.name}},{key:o,get:function(){return r.toStringTag}},{key:"init",value:function(){}},{key:"getOptions",value:function(v){var g=this.constructor;return g.getOptions(v)}},{key:"delegateEvents",value:function(){return this.options.events&&Object($u.a)(Object(Wu.a)(r.prototype),"delegateEvents",this).call(this,this.options.events),this}},{key:"config",value:function(v,g){return this.cellView=v,this.parent=g,this.stamp(this.container),this.cell.isEdge()?S.addClass(this.container,this.prefixClassName("edge-tool")):this.cell.isNode()&&S.addClass(this.container,this.prefixClassName("node-tool")),this.name&&this.container.setAttribute("data-tool-name",this.name),this.delegateEvents(),this}},{key:"render",value:function(){this.empty();var v=this.options.markup;if(v){var g=Cf.isStringMarkup(v)?Cf.parseStringMarkup(v):Cf.parseJSONMarkup(v);this.container.appendChild(g.fragment),this.childNodes=g.selectors}return this.onRender(),this}},{key:"onRender",value:function(){}},{key:"update",value:function(){return this}},{key:"stamp",value:function(v){v&&v.setAttribute("data-cell-id",this.cellView.cell.id)}},{key:"show",value:function(){return this.container.style.display="",this.visible=!0,this}},{key:"hide",value:function(){return this.container.style.display="none",this.visible=!1,this}},{key:"isVisible",value:function(){return!!this.visible}},{key:"focus",value:function(){var v=this.options.focusOpacity;return v!=null&&Number.isFinite(v)&&(this.container.style.opacity="".concat(v)),this.parent.focus(this),this}},{key:"blur",value:function(){return this.container.style.opacity="",this.parent.blur(this),this}},{key:"guard",value:function(v){return this.graph==null||this.cellView==null?!0:this.graph.view.guard(v,this.cellView)}}],[{key:"getDefaults",value:function(){return this.defaults}},{key:"config",value:function(v){this.defaults=this.getOptions(v)}},{key:"getOptions",value:function(v){return m.merge(m.cloneDeep(this.getDefaults()),v)}}]),r}(Nf,Symbol.toStringTag);i.defaults={isSVGElement:!0,tagName:"g"},u.ToolItem=i,function(c){var o=0;function t(d){return d?O.pascalCase(d):(o+=1,"CustomTool".concat(o))}function r(d){var v=m.createClass(t(d.name),this);return v.config(d),v}c.define=r}(i=u.ToolItem||(u.ToolItem={})),function(c){c.toStringTag="X6.".concat(c.name);function o(t){if(t==null)return!1;if(t instanceof c)return!0;var r=t[Symbol.toStringTag],d=t;return(r==null||r===c.toStringTag)&&d.graph!=null&&d.cell!=null&&typeof d.config=="function"&&typeof d.update=="function"&&typeof d.focus=="function"&&typeof d.blur=="function"&&typeof d.show=="function"&&typeof d.hide=="function"&&typeof d.isVisible=="function"}c.isToolItem=o}(i=u.ToolItem||(u.ToolItem={}))}(bh||(bh={}));function T9(u,i,c,o){var t=k.call(Z1.presets.pinRelative,this.graph,{},i,c,u,this.cell,o,{});return t.anchor}function A9(u,i){return i?u.cell.getBBox():u.cell.isEdge()?u.getConnection().bbox():u.getUnrotatedBBoxOfElement(u.container)}var fb=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"onRender",value:function(){S.addClass(this.container,this.prefixClassName("cell-tool-button")),this.update()}},{key:"update",value:function(){return this.updatePosition(),this}},{key:"updatePosition",value:function(){var t=this.cellView,r=t.cell.isEdge()?this.getEdgeMatrix():this.getNodeMatrix();S.transform(this.container,r,{absolute:!0})}},{key:"getNodeMatrix",value:function(){var t=this.cellView,r=this.options,d=r.x,v=d===void 0?0:d,g=r.y,b=g===void 0?0:g,P=r.offset,I=r.useCellGeometry,V=r.rotate,K=A9(t,I),ae=t.cell.getAngle();V||(K=K.bbox(ae));var ue=0,ve=0;typeof P=="number"?(ue=P,ve=P):typeof P=="object"&&(ue=P.x,ve=P.y),v=C.normalizePercentage(v,K.width),b=C.normalizePercentage(b,K.height);var Oe=S.createSVGMatrix().translate(K.x+K.width/2,K.y+K.height/2);return V&&(Oe=Oe.rotate(ae)),Oe=Oe.translate(v+ue-K.width/2,b+ve-K.height/2),Oe}},{key:"getEdgeMatrix",value:function(){var t=this.cellView,r=this.options,d=r.offset,v=d===void 0?0:d,g=r.distance,b=g===void 0?0:g,P=r.rotate,I,V,K,ae=C.normalizePercentage(b,1);ae>=0&&ae<=1?I=t.getTangentAtRatio(ae):I=t.getTangentAtLength(ae),I?(V=I.start,K=I.vector().vectorAngle(new $i(1,0))||0):(V=t.getConnection().start,K=0);var ue=S.createSVGMatrix().translate(V.x,V.y).rotate(K);return typeof v=="object"?ue=ue.translate(v.x||0,v.y||0):ue=ue.translate(0,v),P||(ue=ue.rotate(-K)),ue}},{key:"onMouseDown",value:function(t){if(!this.guard(t)){t.stopPropagation(),t.preventDefault();var r=this.options.onClick;typeof r=="function"&&k.call(r,this.cellView,{e:t,view:this.cellView,cell:this.cellView.cell,btn:this})}}}]),c}(bh.ToolItem);(function(u){u.config({name:"button",events:{mousedown:"onMouseDown",touchstart:"onMouseDown"}})})(fb||(fb={})),function(u){u.Remove=u.define({name:"button-remove",markup:[{tagName:"circle",selector:"button",attrs:{r:7,fill:"#FF1D00",cursor:"pointer"}},{tagName:"path",selector:"icon",attrs:{d:"M -3 -3 3 3 M -3 3 3 -3",fill:"none",stroke:"#FFFFFF","stroke-width":2,"pointer-events":"none"}}],distance:60,offset:0,onClick:function(c){var o=c.view,t=c.btn;t.parent.remove(),o.cell.remove({ui:!0,toolId:t.cid})}})}(fb||(fb={}));var Mee=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},fj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"onRender",value:function(){if(S.addClass(this.container,this.prefixClassName("cell-tool-boundary")),this.options.attrs){var t=this.options.attrs,r=t.class,d=Mee(t,["class"]);S.attr(this.container,S.kebablizeAttrs(d)),r&&S.addClass(this.container,r)}this.update()}},{key:"update",value:function(){var t=this.cellView,r=this.options,d=r.useCellGeometry,v=r.rotate,g=C.normalizeSides(r.padding),b=A9(t,d).moveAndExpand({x:-g.left,y:-g.top,width:g.left+g.right,height:g.top+g.bottom}),P=t.cell;if(P.isNode()){var I=P.getAngle();if(I)if(v){var V=P.getBBox().getCenter();S.rotate(this.container,I,V.x,V.y,{absolute:!0})}else b=b.bbox(I)}return S.attr(this.container,b.toJSON()),this}}]),c}(bh.ToolItem);(function(u){u.config({name:"boundary",tagName:"rect",padding:10,attrs:{fill:"none",stroke:"#333","stroke-width":.5,"stroke-dasharray":"5, 5","pointer-events":"none"}})})(fj||(fj={}));var s2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.handles=[],o}return Object(Pi.a)(c,[{key:"vertices",get:function(){return this.cellView.cell.getVertices()}},{key:"onRender",value:function(){return this.addClass(this.prefixClassName("edge-tool-vertices")),this.options.addable&&this.updatePath(),this.resetHandles(),this.renderHandles(),this}},{key:"update",value:function(){var t=this.vertices;return t.length===this.handles.length?this.updateHandles():(this.resetHandles(),this.renderHandles()),this.options.addable&&this.updatePath(),this}},{key:"resetHandles",value:function(){var t=this,r=this.handles;this.handles=[],r&&r.forEach(function(d){t.stopHandleListening(d),d.remove()})}},{key:"renderHandles",value:function(){for(var t=this,r=this.vertices,d=0,v=r.length;d<v;d+=1){var g=r[d],b=this.options.createHandle,P=this.options.processHandle,I=b({index:d,graph:this.graph,guard:function(K){return t.guard(K)},attrs:this.options.attrs||{}});P&&P(I),this.graph.hook.onToolItemCreated({name:"vertices",cell:this.cell,view:this.cellView,tool:I}),I.updatePosition(g.x,g.y),this.stamp(I.container),this.container.appendChild(I.container),this.handles.push(I),this.startHandleListening(I)}}},{key:"updateHandles",value:function(){for(var t=this.vertices,r=0,d=t.length;r<d;r+=1){var v=t[r],g=this.handles[r];g&&g.updatePosition(v.x,v.y)}}},{key:"updatePath",value:function(){var t=this.childNodes.connection;t&&t.setAttribute("d",this.cellView.getConnectionPathData())}},{key:"startHandleListening",value:function(t){var r=this.cellView;r.can("vertexMovable")&&(t.on("change",this.onHandleChange,this),t.on("changing",this.onHandleChanging,this),t.on("changed",this.onHandleChanged,this)),r.can("vertexDeletable")&&t.on("remove",this.onHandleRemove,this)}},{key:"stopHandleListening",value:function(t){var r=this.cellView;r.can("vertexMovable")&&(t.off("change",this.onHandleChange,this),t.off("changing",this.onHandleChanging,this),t.off("changed",this.onHandleChanged,this)),r.can("vertexDeletable")&&t.off("remove",this.onHandleRemove,this)}},{key:"getNeighborPoints",value:function(t){var r=this.cellView,d=this.vertices,v=t>0?d[t-1]:r.sourceAnchor,g=t<d.length-1?d[t+1]:r.targetAnchor;return{prev:$i.create(v),next:$i.create(g)}}},{key:"getMouseEventArgs",value:function(t){var r=this.normalizeEvent(t),d=this.graph.snapToGrid(r.clientX,r.clientY),v=d.x,g=d.y;return{e:r,x:v,y:g}}},{key:"onHandleChange",value:function(t){var r=t.e;this.focus();var d=this.cellView;if(d.cell.startBatch("move-vertex",{ui:!0,toolId:this.cid}),!this.options.stopPropagation){var v=this.getMouseEventArgs(r),g=v.e,b=v.x,P=v.y;d.notifyMouseDown(g,b,P)}}},{key:"onHandleChanging",value:function(t){var r=t.handle,d=t.e,v=this.cellView,g=r.options.index,b=this.getMouseEventArgs(d),P=b.e,I=b.x,V=b.y,K={x:I,y:V};this.snapVertex(K,g),v.cell.setVertexAt(g,K,{ui:!0,toolId:this.cid}),r.updatePosition(K.x,K.y),this.options.stopPropagation||v.notifyMouseMove(P,I,V)}},{key:"onHandleChanged",value:function(t){var r=t.e,d=this.options,v=this.cellView;if(d.addable&&this.updatePath(),!!d.removeRedundancies){var g=v.removeRedundantLinearVertices({ui:!0,toolId:this.cid});g&&this.render(),this.blur(),v.cell.stopBatch("move-vertex",{ui:!0,toolId:this.cid}),this.eventData(r).vertexAdded&&v.cell.stopBatch("add-vertex",{ui:!0,toolId:this.cid});var b=this.getMouseEventArgs(r),P=b.e,I=b.x,V=b.y;this.options.stopPropagation||v.notifyMouseUp(P,I,V),v.checkMouseleave(P),d.onChanged&&d.onChanged({edge:v.cell,edgeView:v})}}},{key:"snapVertex",value:function(t,r){var d=this.options.snapRadius||0;if(d>0){var v=this.getNeighborPoints(r),g=v.prev,b=v.next;Math.abs(t.x-g.x)<d?t.x=g.x:Math.abs(t.x-b.x)<d&&(t.x=b.x),Math.abs(t.y-g.y)<d?t.y=v.prev.y:Math.abs(t.y-b.y)<d&&(t.y=b.y)}}},{key:"onHandleRemove",value:function(t){var r=t.handle,d=t.e;if(this.options.removable){var v=r.options.index,g=this.cellView;g.cell.removeVertexAt(v,{ui:!0}),this.options.addable&&this.updatePath(),g.checkMouseleave(this.normalizeEvent(d))}}},{key:"onPathMouseDown",value:function(t){var r=this.cellView;if(!(this.guard(t)||!this.options.addable||!r.can("vertexAddable"))){t.stopPropagation(),t.preventDefault();var d=this.normalizeEvent(t),v=this.graph.snapToGrid(d.clientX,d.clientY).toJSON();r.cell.startBatch("add-vertex",{ui:!0,toolId:this.cid});var g=r.getVertexIndex(v.x,v.y);this.snapVertex(v,g),r.cell.insertVertex(v,g,{ui:!0,toolId:this.cid}),this.render();var b=this.handles[g];this.eventData(d,{vertexAdded:!0}),b.onMouseDown(d)}}},{key:"onRemove",value:function(){this.resetHandles()}}]),c}(bh.ToolItem);(function(u){var i=function(c){Object(Cc.a)(t,c);var o=Object(Ec.a)(t);function t(r){var d;return Object(xi.a)(this,t),d=o.call(this),d.options=r,d.render(),d.delegateEvents({mousedown:"onMouseDown",touchstart:"onMouseDown",dblclick:"onDoubleClick"}),d}return Object(Pi.a)(t,[{key:"graph",get:function(){return this.options.graph}},{key:"render",value:function(){this.container=Nf.createElement("circle",!0);var d=this.options.attrs;if(typeof d=="function"){var v=u.getDefaults();this.setAttrs(Object.assign(Object.assign({},v.attrs),d(this)))}else this.setAttrs(d);this.addClass(this.prefixClassName("edge-tool-vertex"))}},{key:"updatePosition",value:function(d,v){this.setAttrs({cx:d,cy:v})}},{key:"onMouseDown",value:function(d){this.options.guard(d)||(d.stopPropagation(),d.preventDefault(),this.graph.view.undelegateEvents(),this.delegateDocumentEvents({mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp",touchcancel:"onMouseUp"},d.data),this.emit("change",{e:d,handle:this}))}},{key:"onMouseMove",value:function(d){this.emit("changing",{e:d,handle:this})}},{key:"onMouseUp",value:function(d){this.emit("changed",{e:d,handle:this}),this.undelegateDocumentEvents(),this.graph.view.delegateEvents()}},{key:"onDoubleClick",value:function(d){this.emit("remove",{e:d,handle:this})}}]),t}(Nf);u.Handle=i})(s2||(s2={})),function(u){var i,c=Cv.prefix("edge-tool-vertex-path");u.config({name:"vertices",snapRadius:20,addable:!0,removable:!0,removeRedundancies:!0,stopPropagation:!0,attrs:{r:6,fill:"#333",stroke:"#fff",cursor:"move","stroke-width":2},createHandle:function(t){return new u.Handle(t)},markup:[{tagName:"path",selector:"connection",className:c,attrs:{fill:"none",stroke:"transparent","stroke-width":10,cursor:"pointer"}}],events:(i={},Object(qc.a)(i,"mousedown .".concat(c),"onPathMouseDown"),Object(qc.a)(i,"touchstart .".concat(c),"onPathMouseDown"),i)})}(s2||(s2={}));var q1=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.handles=[],o}return Object(Pi.a)(c,[{key:"vertices",get:function(){return this.cellView.cell.getVertices()}},{key:"update",value:function(){return this.render(),this}},{key:"onRender",value:function(){S.addClass(this.container,this.prefixClassName("edge-tool-segments")),this.resetHandles();var t=this.cellView,r=Object(Bs.a)(this.vertices);r.unshift(t.sourcePoint),r.push(t.targetPoint);for(var d=0,v=r.length;d<v-1;d+=1){var g=r[d],b=r[d+1],P=this.renderHandle(g,b,d);this.stamp(P.container),this.handles.push(P)}return this}},{key:"renderHandle",value:function(t,r,d){var v=this,g=this.options.createHandle({index:d,graph:this.graph,guard:function(P){return v.guard(P)},attrs:this.options.attrs||{}});return this.options.processHandle&&this.options.processHandle(g),this.graph.hook.onToolItemCreated({name:"segments",cell:this.cell,view:this.cellView,tool:g}),this.updateHandle(g,t,r),this.container.appendChild(g.container),this.startHandleListening(g),g}},{key:"startHandleListening",value:function(t){t.on("change",this.onHandleChange,this),t.on("changing",this.onHandleChanging,this),t.on("changed",this.onHandleChanged,this)}},{key:"stopHandleListening",value:function(t){t.off("change",this.onHandleChange,this),t.off("changing",this.onHandleChanging,this),t.off("changed",this.onHandleChanged,this)}},{key:"resetHandles",value:function(){var t=this,r=this.handles;this.handles=[],r&&r.forEach(function(d){t.stopHandleListening(d),d.remove()})}},{key:"shiftHandleIndexes",value:function(t){for(var r=this.handles,d=0,v=r.length;d<v;d+=1)r[d].options.index+=t}},{key:"resetAnchor",value:function(t,r){var d=this.cellView.cell,v={ui:!0,toolId:this.cid};r?d.prop([t,"anchor"],r,v):d.removeProp([t,"anchor"],v)}},{key:"snapHandle",value:function(t,r,d){var v=t.options.axis,g=t.options.index,b=this.cellView,P=b.cell,I=P.getVertices(),V=I[g-2]||d.sourceAnchor,K=I[g+1]||d.targetAnchor,ae=this.options.snapRadius;return Math.abs(r[v]-V[v])<ae?r[v]=V[v]:Math.abs(r[v]-K[v])<ae&&(r[v]=K[v]),r}},{key:"onHandleChanging",value:function(t){var r=t.handle,d=t.e,v=this.graph,g=this.options,b=this.cellView,P=g.anchor,I=r.options.axis,V=r.options.index-1,K=this.getEventData(d),ae=this.normalizeEvent(d),ue=v.snapToGrid(ae.clientX,ae.clientY),ve=this.snapHandle(r,ue.clone(),K),Oe=m.cloneDeep(this.vertices),ke=Oe[V],Ie=Oe[V+1],Ye=b.sourceView,Ze=b.sourceBBox,et=!1,yt=!1;if(ke?V===0?Ze.containsPoint(ke)?(Oe.shift(),this.shiftHandleIndexes(-1),et=!0):(ke[I]=ve[I],yt=!0):ke[I]=ve[I]:(ke=b.sourceAnchor.toJSON(),ke[I]=ve[I],Ze.containsPoint(ke)?et=!0:(Oe.unshift(ke),this.shiftHandleIndexes(1),yt=!0)),typeof P=="function"&&Ye){if(et){var jt=K.sourceAnchor.clone();jt[I]=ve[I];var Ft=k.call(P,b,jt,Ye,b.sourceMagnet||Ye.container,"source",b,this);this.resetAnchor("source",Ft)}yt&&this.resetAnchor("source",K.sourceAnchorDef)}var Ht=b.targetView,Gt=b.targetBBox,Jt=!1,mn=!1;if(Ie?V===Oe.length-2?Gt.containsPoint(Ie)?(Oe.pop(),Jt=!0):(Ie[I]=ve[I],mn=!0):Ie[I]=ve[I]:(Ie=b.targetAnchor.toJSON(),Ie[I]=ve[I],Gt.containsPoint(Ie)?Jt=!0:(Oe.push(Ie),mn=!0)),typeof P=="function"&&Ht){if(Jt){var vn=K.targetAnchor.clone();vn[I]=ve[I];var Yt=k.call(P,b,vn,Ht,b.targetMagnet||Ht.container,"target",b,this);this.resetAnchor("target",Yt)}mn&&this.resetAnchor("target",K.targetAnchorDef)}$i.equalPoints(Oe,this.vertices)||this.cellView.cell.setVertices(Oe,{ui:!0,toolId:this.cid}),this.updateHandle(r,ke,Ie,0),g.stopPropagation||b.notifyMouseMove(ae,ue.x,ue.y)}},{key:"onHandleChange",value:function(t){var r=t.handle,d=t.e,v=this.options,g=this.handles,b=this.cellView,P=r.options.index;if(!!Array.isArray(g)){for(var I=0,V=g.length;I<V;I+=1)I!==P&&g[I].hide();if(this.focus(),this.setEventData(d,{sourceAnchor:b.sourceAnchor.clone(),targetAnchor:b.targetAnchor.clone(),sourceAnchorDef:m.cloneDeep(this.cell.prop(["source","anchor"])),targetAnchorDef:m.cloneDeep(this.cell.prop(["target","anchor"]))}),this.cell.startBatch("move-segment",{ui:!0,toolId:this.cid}),!v.stopPropagation){var K=this.normalizeEvent(d),ae=this.graph.snapToGrid(K.clientX,K.clientY);b.notifyMouseDown(K,ae.x,ae.y)}}}},{key:"onHandleChanged",value:function(t){var r=t.e,d=this.options,v=this.cellView;d.removeRedundancies&&v.removeRedundantLinearVertices({ui:!0,toolId:this.cid});var g=this.normalizeEvent(r),b=this.graph.snapToGrid(g.clientX,g.clientY);this.render(),this.blur(),this.cell.stopBatch("move-segment",{ui:!0,toolId:this.cid}),d.stopPropagation||v.notifyMouseUp(g,b.x,b.y),v.checkMouseleave(g),d.onChanged&&d.onChanged({edge:v.cell,edgeView:v})}},{key:"updateHandle",value:function(t,r,d){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,g=this.options.precision||0,b=Math.abs(r.x-d.x)<g,P=Math.abs(r.y-d.y)<g;if(b||P){var I=new Qu(r,d),V=I.length();if(V<this.options.threshold)t.hide();else{var K=I.getCenter(),ae=b?"x":"y";K[ae]+=v||0;var ue=I.vector().vectorAngle(new $i(1,0));t.updatePosition(K.x,K.y,ue,this.cellView),t.show(),t.options.axis=ae}}else t.hide()}},{key:"onRemove",value:function(){this.resetHandles()}}]),c}(bh.ToolItem);(function(u){var i=function(c){Object(Cc.a)(t,c);var o=Object(Ec.a)(t);function t(r){var d;return Object(xi.a)(this,t),d=o.call(this),d.options=r,d.render(),d.delegateEvents({mousedown:"onMouseDown",touchstart:"onMouseDown"}),d}return Object(Pi.a)(t,[{key:"render",value:function(){this.container=Nf.createElement("rect",!0);var d=this.options.attrs;if(typeof d=="function"){var v=u.getDefaults();this.setAttrs(Object.assign(Object.assign({},v.attrs),d(this)))}else this.setAttrs(d);this.addClass(this.prefixClassName("edge-tool-segment"))}},{key:"updatePosition",value:function(d,v,g,b){var P=b.getClosestPoint(new $i(d,v))||new $i(d,v),I=S.createSVGMatrix().translate(P.x,P.y);if(P.equals({x:d,y:v}))I=I.rotate(g);else{var V=new Qu(d,v,P.x,P.y),K=V.vector().vectorAngle(new $i(1,0));K!==0&&(K+=90),I=I.rotate(K)}this.setAttrs({transform:S.matrixToTransformString(I),cursor:g%180==0?"row-resize":"col-resize"})}},{key:"onMouseDown",value:function(d){this.options.guard(d)||(this.trigger("change",{e:d,handle:this}),d.stopPropagation(),d.preventDefault(),this.options.graph.view.undelegateEvents(),this.delegateDocumentEvents({mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp",touchcancel:"onMouseUp"},d.data))}},{key:"onMouseMove",value:function(d){this.emit("changing",{e:d,handle:this})}},{key:"onMouseUp",value:function(d){this.emit("changed",{e:d,handle:this}),this.undelegateDocumentEvents(),this.options.graph.view.delegateEvents()}},{key:"show",value:function(){this.container.style.display=""}},{key:"hide",value:function(){this.container.style.display="none"}}]),t}(Nf);u.Handle=i})(q1||(q1={})),function(u){u.config({name:"segments",precision:.5,threshold:40,snapRadius:10,stopPropagation:!0,removeRedundancies:!0,attrs:{width:20,height:8,x:-10,y:-4,rx:4,ry:4,fill:"#333",stroke:"#fff","stroke-width":2},createHandle:function(c){return new u.Handle(c)},anchor:T9})}(q1||(q1={}));var pj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"type",get:function(){return this.options.type}},{key:"onRender",value:function(){S.addClass(this.container,this.prefixClassName("edge-tool-".concat(this.type,"-anchor"))),this.toggleArea(!1),this.update()}},{key:"update",value:function(){var t=this.type,r=this.cellView,d=r.getTerminalView(t);return d?(this.updateAnchor(),this.updateArea(),this.container.style.display=""):this.container.style.display="none",this}},{key:"updateAnchor",value:function(){var t=this.childNodes;if(!!t){var r=t.anchor;if(!!r){var d=this.type,v=this.cellView,g=this.options,b=v.getTerminalAnchor(d),P=v.cell.prop([d,"anchor"]);r.setAttribute("transform","translate(".concat(b.x,", ").concat(b.y,")"));var I=P?g.customAnchorAttrs:g.defaultAnchorAttrs;I&&Object.keys(I).forEach(function(V){r.setAttribute(V,I[V])})}}}},{key:"updateArea",value:function(){var t=this.childNodes;if(!!t){var r=t.area;if(!!r){var d=this.type,v=this.cellView,g=v.getTerminalView(d);if(g){var b=g.cell,P=v.getTerminalMagnet(d),I=this.options.areaPadding||0;Number.isFinite(I)||(I=0);var V,K,ae;g.isEdgeElement(P)?(V=g.getBBox(),K=0,ae=V.getCenter()):(V=g.getUnrotatedBBoxOfElement(P),K=b.getAngle(),ae=V.getCenter(),K&&ae.rotate(-K,b.getBBox().getCenter())),V.inflate(I),S.attr(r,{x:-V.width/2,y:-V.height/2,width:V.width,height:V.height,transform:"translate(".concat(ae.x,", ").concat(ae.y,") rotate(").concat(K,")")})}}}}},{key:"toggleArea",value:function(t){if(this.childNodes){var r=this.childNodes.area;r&&(r.style.display=t?"":"none")}}},{key:"onMouseDown",value:function(t){this.guard(t)||(t.stopPropagation(),t.preventDefault(),this.graph.view.undelegateEvents(),this.options.documentEvents&&this.delegateDocumentEvents(this.options.documentEvents),this.focus(),this.toggleArea(this.options.restrictArea),this.cell.startBatch("move-anchor",{ui:!0,toolId:this.cid}))}},{key:"resetAnchor",value:function(t){var r=this.type,d=this.cell;t?d.prop([r,"anchor"],t,{rewrite:!0,ui:!0,toolId:this.cid}):d.removeProp([r,"anchor"],{ui:!0,toolId:this.cid})}},{key:"onMouseMove",value:function(t){var r=this.type,d=this.cellView,v=d.getTerminalView(r);if(v!=null){var g=this.normalizeEvent(t),b=v.cell,P=d.getTerminalMagnet(r),I=this.graph.clientToLocal(g.clientX,g.clientY),V=this.options.snap;if(typeof V=="function"){var K=k.call(V,d,I,v,P,r,d,this);I=$i.create(K)}if(this.options.restrictArea)if(v.isEdgeElement(P)){var ae=v.getClosestPoint(I);ae&&(I=ae)}else{var ue=v.getUnrotatedBBoxOfElement(P),ve=b.getAngle(),Oe=b.getBBox().getCenter(),ke=I.clone().rotate(ve,Oe);ue.containsPoint(ke)||(I=ue.getNearestPointToPoint(ke).rotate(-ve,Oe))}var Ie,Ye=this.options.anchor;typeof Ye=="function"&&(Ie=k.call(Ye,d,I,v,P,r,d,this)),this.resetAnchor(Ie),this.update()}}},{key:"onMouseUp",value:function(t){this.graph.view.delegateEvents(),this.undelegateDocumentEvents(),this.blur(),this.toggleArea(!1);var r=this.cellView;this.options.removeRedundancies&&r.removeRedundantLinearVertices({ui:!0,toolId:this.cid}),this.cell.stopBatch("move-anchor",{ui:!0,toolId:this.cid})}},{key:"onDblClick",value:function(){var t=this.options.resetAnchor;t&&this.resetAnchor(t===!0?void 0:t),this.update()}}]),c}(bh.ToolItem);(function(u){u.config({tagName:"g",markup:[{tagName:"circle",selector:"anchor",attrs:{cursor:"pointer"}},{tagName:"rect",selector:"area",attrs:{"pointer-events":"none",fill:"none",stroke:"#33334F","stroke-dasharray":"2,4",rx:5,ry:5}}],events:{mousedown:"onMouseDown",touchstart:"onMouseDown",dblclick:"onDblClick"},documentEvents:{mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp",touchcancel:"onMouseUp"},customAnchorAttrs:{"stroke-width":4,stroke:"#33334F",fill:"#FFFFFF",r:5},defaultAnchorAttrs:{"stroke-width":2,stroke:"#FFFFFF",fill:"#33334F",r:6},areaPadding:6,snapRadius:10,resetAnchor:!0,restrictArea:!0,removeRedundancies:!0,anchor:T9,snap:function(c,o,t,r,d,v){var g=v.options.snapRadius||0,b=r==="source",P=b?0:-1,I=this.cell.getVertexAt(P)||this.getTerminalAnchor(b?"target":"source");return I&&(Math.abs(I.x-c.x)<g&&(c.x=I.x),Math.abs(I.y-c.y)<g&&(c.y=I.y)),c}})})(pj||(pj={}));var Pee=pj.define({name:"source-anchor",type:"source"}),Ree=pj.define({name:"target-anchor",type:"target"}),k9=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},vj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"type",get:function(){return this.options.type}},{key:"ratio",get:function(){return this.options.ratio}},{key:"init",value:function(){if(this.options.attrs){var t=this.options.attrs,r=t.class,d=k9(t,["class"]);this.setAttrs(d,this.container),r&&S.addClass(this.container,r)}}},{key:"onRender",value:function(){S.addClass(this.container,this.prefixClassName("edge-tool-".concat(this.type,"-arrowhead"))),this.update()}},{key:"update",value:function(){var t=this.ratio,r=this.cellView,d=r.getTangentAtRatio(t),v=d?d.start:r.getPointAtRatio(t),g=d&&d.vector().vectorAngle(new $i(1,0))||0;if(!v)return this;var b=S.createSVGMatrix().translate(v.x,v.y).rotate(g);return S.transform(this.container,b,{absolute:!0}),this}},{key:"onMouseDown",value:function(t){if(!this.guard(t)){t.stopPropagation(),t.preventDefault();var r=this.cellView;if(r.can("arrowheadMovable")){r.cell.startBatch("move-arrowhead",{ui:!0,toolId:this.cid});var d=this.graph.snapToGrid(t.clientX,t.clientY),v=r.prepareArrowheadDragging(this.type,{x:d.x,y:d.y,options:{toolId:this.cid}});this.cellView.setEventData(t,v),this.delegateDocumentEvents(this.options.documentEvents,t.data),r.graph.view.undelegateEvents(),this.container.style.pointerEvents="none"}this.focus()}}},{key:"onMouseMove",value:function(t){var r=this.normalizeEvent(t),d=this.graph.snapToGrid(r.clientX,r.clientY);this.cellView.onMouseMove(r,d.x,d.y),this.update()}},{key:"onMouseUp",value:function(t){this.undelegateDocumentEvents();var r=this.normalizeEvent(t),d=this.cellView,v=this.graph.snapToGrid(r.clientX,r.clientY);d.onMouseUp(r,v.x,v.y),this.graph.view.delegateEvents(),this.blur(),this.container.style.pointerEvents="",d.cell.stopBatch("move-arrowhead",{ui:!0,toolId:this.cid})}}]),c}(bh.ToolItem);(function(u){u.config({tagName:"path",isSVGElement:!0,events:{mousedown:"onMouseDown",touchstart:"onMouseDown"},documentEvents:{mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp",touchcancel:"onMouseUp"}})})(vj||(vj={}));var Dee=vj.define({name:"source-arrowhead",type:"source",ratio:0,attrs:{d:"M 10 -8 -10 0 10 8 Z",fill:"#333",stroke:"#fff","stroke-width":2,cursor:"move"}}),Iee=vj.define({name:"target-arrowhead",type:"target",ratio:1,attrs:{d:"M -10 -8 10 0 -10 8 Z",fill:"#333",stroke:"#fff","stroke-width":2,cursor:"move"}}),$C=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.labelIndex=-1,o.distance=.5,o}return Object(Pi.a)(c,[{key:"render",value:function(){return this.createElement(),this.updateEditor(),this.autoFocus(),this.delegateDocumentEvents(this.options.documentEvents),this}},{key:"createElement",value:function(){var t=this.cell,r=[this.prefixClassName("".concat(t.isEdge()?"edge":"node","-tool-editor")),this.prefixClassName("cell-tool-editor")];this.editor=bh.createElement("div",!1),this.addClass(r,this.editor),this.editor.contentEditable="true",this.container.appendChild(this.editor)}},{key:"updateEditor",value:function(){var t=this.graph,r=this.cell,d=this.editor,v=d.style,g=new $i,b=20;if(r.isNode())g=r.getBBox().center,b=r.size().width-4;else if(r.isEdge()){var P=this.options.event,I=P.target,V=I.parentElement,K=V&&S.hasClass(V,this.prefixClassName("edge-label"));if(K){var ae=V.getAttribute("data-index")||"0";this.labelIndex=parseInt(ae,10);var ue=V.getAttribute("transform"),ve=S.parseTransformString(ue),Oe=ve.translation;g=new $i(Oe.tx,Oe.ty),b=S.getBBox(I).width}else{if(!this.options.labelAddable)return this;g=t.clientToLocal($i.create(P.clientX,P.clientY));var ke=this.cellView,Ie=ke.path.closestPointLength(g);this.distance=Ie}}g=t.localToGraph(g),v.left="".concat(g.x,"px"),v.top="".concat(g.y,"px"),v.minWidth="".concat(b,"px");var Ye=t.scale();v.transform="scale(".concat(Ye.sx,", ").concat(Ye.sy,") translate(-50%, -50%)");var Ze=this.options.attrs;v.fontSize="".concat(Ze.fontSize,"px"),v.fontFamily=Ze.fontFamily,v.color=Ze.color,v.backgroundColor=Ze.backgroundColor;var et=this.options.getText,yt;return typeof et=="function"&&(yt=k.call(et,this.cellView,{cell:this.cell,index:this.labelIndex})),d.innerText=yt||"",this}},{key:"onDocumentMouseDown",value:function(t){if(t.target!==this.editor){var r=this.cell,d=this.editor.innerText.replace(/\n$/,"")||"",v=this.options.setText;typeof v=="function"&&k.call(v,this.cellView,{cell:this.cell,value:d,index:this.labelIndex,distance:this.distance}),r.removeTool(r.isEdge()?"edge-editor":"node-editor"),this.undelegateDocumentEvents()}}},{key:"onDblClick",value:function(t){t.stopPropagation()}},{key:"onMouseDown",value:function(t){t.stopPropagation()}},{key:"autoFocus",value:function(){var t=this;setTimeout(function(){t.editor.focus(),t.selectText()})}},{key:"selectText",value:function(){if(window.getSelection){var t=document.createRange(),r=window.getSelection();t.selectNodeContents(this.editor),r.removeAllRanges(),r.addRange(t)}}}]),c}(bh.ToolItem);(function(u){u.config({tagName:"div",isSVGElement:!1,events:{dblclick:"onDblClick",mousedown:"onMouseDown"},documentEvents:{mousedown:"onDocumentMouseDown"}})})($C||($C={})),function(u){u.NodeEditor=u.define({attrs:{fontSize:14,fontFamily:"Arial, helvetica, sans-serif",color:"#000",backgroundColor:"#fff"},getText:function(c){var o=c.cell;return o.attr("text/text")},setText:function(c){var o=c.cell,t=c.value;o.attr("text/text",t)}}),u.EdgeEditor=u.define({attrs:{fontSize:14,fontFamily:"Arial, helvetica, sans-serif",color:"#000",backgroundColor:"#fff"},labelAddable:!0,getText:function(c){var o=c.cell,t=c.index;return t===-1?"":o.prop("labels/".concat(t,"/attrs/label/text"))},setText:function(c){var o=c.cell,t=c.value,r=c.index,d=c.distance,v=o;r===-1?v.appendLabel({position:{distance:d},attrs:{label:{text:t}}}):t?v.prop("labels/".concat(r,"/attrs/label/text"),t):typeof r=="number"&&v.removeLabelAt(r)}})}($C||($C={}));var j9=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},pb;(function(u){u.presets={boundary:fj,button:fb,"button-remove":fb.Remove,"node-editor":$C.NodeEditor},u.registry=Jp.create({type:"node tool",process:function(c,o){if(typeof o=="function")return o;var t=bh.ToolItem,r=o.inherit,d=j9(o,["inherit"]);if(r){var v=this.get(r);v==null?this.onNotFound(r,"inherited"):t=v}return d.name==null&&(d.name=c),t.define.call(t,d)}}),u.registry.register(u.presets,!0)})(pb||(pb={}));var Z0;(function(u){u.presets={boundary:fj,vertices:s2,segments:q1,button:fb,"button-remove":fb.Remove,"source-anchor":Pee,"target-anchor":Ree,"source-arrowhead":Dee,"target-arrowhead":Iee,"edge-editor":$C.EdgeEditor},u.registry=Jp.create({type:"edge tool",process:function(c,o){if(typeof o=="function")return o;var t=bh.ToolItem,r=o.inherit,d=j9(o,["inherit"]);if(r){var v=this.get(r);v==null?this.onNotFound(r,"inherited"):t=v}return d.name==null&&(d.name=c),t.define.call(t,d)}}),u.registry.register(u.presets,!0)})(Z0||(Z0={}));var M9=Q0("center"),Nee=Q0("topCenter"),Lee=Q0("bottomCenter"),Fee=Q0("leftMiddle"),Uee=Q0("rightMiddle"),Bee=Q0("topLeft"),P9=Q0("topRight"),Vee=Q0("bottomLeft"),R9=Q0("bottomRight");function Q0(u){return function(i,c,o){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=t.rotate?i.getUnrotatedBBoxOfElement(c):i.getBBoxOfElement(c),d=r[u];d.x+=C.normalizePercentage(t.dx,r.width),d.y+=C.normalizePercentage(t.dy,r.height);var v=i.cell;return t.rotate?d.rotate(-v.getAngle(),v.getBBox().getCenter()):d}}function c2(u){return function(i,c,o,t){if(o instanceof Element){var r=this.graph.renderer.findViewByElem(o),d;if(r)if(r.isEdgeElement(o)){var v=t.fixedAt!=null?t.fixedAt:"50%";d=D9(r,v)}else d=r.getBBoxOfElement(o).getCenter();else d=new $i;return u.call(this,i,c,d,t)}return u.apply(this,arguments)}}function D9(u,i){var c=C.isPercentage(i),o=typeof i=="string"?parseFloat(i):i;return c?u.getPointAtRatio(o/100):u.getPointAtLength(o)}var zee=function(i,c,o,t){var r=i.cell.getAngle(),d=i.getBBoxOfElement(c),v=d.getCenter(),g=d.getTopLeft(),b=d.getBottomRight(),P=t.padding;if(Number.isFinite(P)||(P=0),g.y+P<=o.y&&o.y<=b.y-P){var I=o.y-v.y;v.x+=r===0||r===180?0:I*1/Math.tan(uf.toRad(r)),v.y+=I}else if(g.x+P<=o.x&&o.x<=b.x-P){var V=o.x-v.x;v.y+=r===90||r===270?0:V*Math.tan(uf.toRad(r)),v.x+=V}return v},Hee=c2(zee),I9=function(i,c,o,t,r){var d=i.cell.getConnectionPoint(this.cell,r);return(t.dx||t.dy)&&d.translate(t.dx||0,t.dy||0),d},Gee=function(i,c,o,t){var r,d=0,v,g=i.cell;t.rotate?(r=i.getUnrotatedBBoxOfElement(c),v=g.getBBox().getCenter(),d=g.getAngle()):r=i.getBBoxOfElement(c);var b=t.padding;b!=null&&Number.isFinite(b)&&r.inflate(b),t.rotate&&o.rotate(d,v);var P=r.getNearestSideToPoint(o),I;switch(P){case"left":I=r.getLeftMiddle();break;case"right":I=r.getRightMiddle();break;case"top":I=r.getTopCenter();break;case"bottom":I=r.getBottomCenter();break;default:break}var V=t.direction;return V==="H"?(P==="top"||P==="bottom")&&(o.x<=r.x+r.width?I=r.getLeftMiddle():I=r.getRightMiddle()):V==="V"&&(o.y<=r.y+r.height?I=r.getTopCenter():I=r.getBottomCenter()),t.rotate?I.rotate(-d,v):I},q0=c2(Gee),eO;(function(u){u.presets=U,u.registry=Jp.create({type:"node endpoint"}),u.registry.register(u.presets,!0)})(eO||(eO={}));var $ee=function(i,c,o,t){var r=t.ratio!=null?t.ratio:.5;return r>1&&(r/=100),i.getPointAtRatio(r)},Wee=function(i,c,o,t){var r=t.length!=null?t.length:20;return i.getPointAtLength(r)},N9=function(i,c,o,t){var r=i.getClosestPoint(o);return r!=null?r:new $i},Kee=c2(N9),Yee=function(i,c,o,t){var r=1e6,d=i.getConnection(),v=i.getConnectionSubdivisions(),g=new Qu(o.clone().translate(0,r),o.clone().translate(0,-r)),b=new Qu(o.clone().translate(r,0),o.clone().translate(-r,0)),P=g.intersect(d,{segmentSubdivisions:v}),I=b.intersect(d,{segmentSubdivisions:v}),V=[];return P&&V.push.apply(V,Object(Bs.a)(P)),I&&V.push.apply(V,Object(Bs.a)(I)),V.length>0?o.closest(V):t.fallbackAt!=null?D9(i,t.fallbackAt):k.call(N9,this,i,c,o,t)},Xee=c2(Yee),tO;(function(u){u.presets=J,u.registry=Jp.create({type:"edge endpoint"}),u.registry.register(u.presets,!0)})(tO||(tO={}));function hj(u,i,c){var o;if(typeof c=="object"){if(Number.isFinite(c.y)){var t=new Qu(i,u),r=t.parallel(c.y),d=r.start,v=r.end;i=d,u=v}o=c.x}else o=c;if(o==null||!Number.isFinite(o))return u;var g=u.distance(i);return o===0&&g>0?u:u.move(i,-Math.min(o,g-1))}function gj(u){var i=u.getAttribute("stroke-width");return i===null?0:parseFloat(i)||0}function Jee(u){if(u==null)return null;var i=u;do{var c=i.tagName;if(typeof c!="string")return null;if(c=c.toUpperCase(),c==="G")i=i.firstElementChild;else if(c==="TITLE")i=i.nextElementSibling;else break}while(i);return i}var Zee=function(i,c,o,t){var r=c.getBBoxOfElement(o);t.stroked&&r.inflate(gj(o)/2);var d=i.intersect(r),v=d&&d.length?i.start.closest(d):i.end;return hj(v,i.start,t.offset)},L9=function(i,c,o,t,r){var d=c.cell,v=d.isNode()?d.getAngle():0;if(v===0)return k.call(Zee,this,i,c,o,t,r);var g=c.getUnrotatedBBoxOfElement(o);t.stroked&&g.inflate(gj(o)/2);var b=g.getCenter(),P=i.clone().rotate(v,b),I=P.setLength(1e6).intersect(g),V=I&&I.length?P.start.closest(I).rotate(-v,b):i.end;return hj(V,i.start,t.offset)},F9=function(i,c,o,t){var r,d,v=i.end,g=t.selector;if(typeof g=="string"?r=c.findOne(g):Array.isArray(g)?r=m.getByPath(o,g):r=Jee(o),!S.isSVGGraphicsElement(r)){if(r===o||!S.isSVGGraphicsElement(o))return v;r=o}var b=c.getShapeOfElement(r),P=c.getMatrixOfElement(r),I=c.getRootTranslatedMatrix(),V=c.getRootRotatedMatrix(),K=I.multiply(V).multiply(P),ae=K.inverse(),ue=S.transformLine(i,ae),ve=ue.start.clone(),Oe=c.getDataOfElement(r);if(t.insideout===!1){Oe.shapeBBox==null&&(Oe.shapeBBox=b.bbox());var ke=Oe.shapeBBox;if(ke!=null&&ke.containsPoint(ve))return v}t.extrapolate===!0&&ue.setLength(1e6);var Ie;if(df.isPath(b)){var Ye=t.precision||2;Oe.segmentSubdivisions==null&&(Oe.segmentSubdivisions=b.getSegmentSubdivisions({precision:Ye})),Ie={precision:Ye,segmentSubdivisions:Oe.segmentSubdivisions},d=ue.intersect(b,Ie)}else d=ue.intersect(b);d?Array.isArray(d)&&(d=ve.closest(d)):t.sticky===!0&&(xl.isRectangle(b)?d=b.getNearestPointToPoint(ve):ib.isEllipse(b)?d=b.intersectsWithLineFromCenterToPoint(ve):d=b.closestPoint(ve,Ie));var Ze=d?S.transformPoint(d,K):v,et=t.offset||0;return t.stroked!==!1&&(typeof et=="object"?(et=Object.assign({},et),et.x==null&&(et.x=0),et.x+=gj(r)/2):et+=gj(r)/2),hj(Ze,i.start,et)};function U9(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=u.start,t=u.end,r,d,v,g;switch(i){case"left":g="x",r=t,d=o,v=-1;break;case"right":g="x",r=o,d=t,v=1;break;case"top":g="y",r=t,d=o,v=-1;break;case"bottom":g="y",r=o,d=t,v=1;break;default:return}o[g]<t[g]?r[g]=d[g]:d[g]=r[g],Number.isFinite(c)&&(r[g]+=v*c,d[g]+=v*c)}var B9=function(i,c,o,t){var r=t.alignOffset,d=t.align;return d&&U9(i,d,r),hj(i.end,i.start,t.offset)},vb;(function(u){u.presets=$,u.registry=Jp.create({type:"connection point"}),u.registry.register(u.presets,!0)})(vb||(vb={}));var Pse=function(i){return Object(Bs.a)(i)},V9=function(i,c,o){var t=c.side||"bottom",r=C.normalizeSides(c.padding||40),d=o.sourceBBox,v=o.targetBBox,g=d.getCenter(),b=v.getCenter(),P,I,V;switch(t){case"top":V=-1,P="y",I="height";break;case"left":V=-1,P="x",I="width";break;case"right":V=1,P="x",I="width";break;case"bottom":default:V=1,P="y",I="height";break}return g[P]+=V*(d[I]/2+r[t]),b[P]+=V*(v[I]/2+r[t]),V*(g[P]-b[P])>0?b[P]=g[P]:g[P]=b[P],[g.toJSON()].concat(Object(Bs.a)(i),[b.toJSON()])};function l2(u){return new xl(u.x,u.y,0,0)}function JN(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=C.normalizeSides(u.padding||20);return{x:-i.left,y:-i.top,width:i.left+i.right,height:i.top+i.bottom}}function Qee(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.sourceBBox.clone().moveAndExpand(JN(i))}function u2(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.targetBBox.clone().moveAndExpand(JN(i))}function WC(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(u.sourceAnchor)return u.sourceAnchor;var c=Qee(u,i);return c.getCenter()}function ZN(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(u.targetAnchor)return u.targetAnchor;var c=u2(u,i);return c.getCenter()}var d2=function(i,c,o){var t=Qee(o,c),r=u2(o,c),d=WC(o,c),v=ZN(o,c);t=t.union(l2(d)),r=r.union(l2(v));var g=i.map(function(ke){return $i.create(ke)});g.unshift(d),g.push(v);for(var b=null,P=[],I=0,V=g.length-1;I<V;I+=1){var K=null,ae=g[I],ue=g[I+1],ve=Zg.getBearing(ae,ue)!=null;if(I===0)I+1===V?t.intersectsWithRect(r.clone().inflate(1))?K=Zg.insideNode(ae,ue,t,r):ve||(K=Zg.nodeToNode(ae,ue,t,r)):t.containsPoint(ue)?K=Zg.insideNode(ae,ue,t,l2(ue).moveAndExpand(JN(c))):ve||(K=Zg.nodeToVertex(ae,ue,t));else if(I+1===V){var Oe=ve&&Zg.getBearing(ue,ae)===b;r.containsPoint(ae)||Oe?K=Zg.insideNode(ae,ue,l2(ae).moveAndExpand(JN(c)),r,b):ve||(K=Zg.vertexToNode(ae,ue,r,b))}else ve||(K=Zg.vertexToVertex(ae,ue,b));K?(P.push.apply(P,Object(Bs.a)(K.points)),b=K.direction):b=Zg.getBearing(ae,ue),I+1<V&&P.push(ue)}return P},Zg;(function(u){var i={N:"S",S:"N",E:"W",W:"E"},c={N:-Math.PI/2*3,S:-Math.PI/2,E:0,W:Math.PI};function o(I,V,K){var ae=new $i(I.x,V.y);return K.containsPoint(ae)&&(ae=new $i(V.x,I.y)),ae}function t(I,V){return I[V==="W"||V==="E"?"width":"height"]}u.getBBoxSize=t;function r(I,V){return I.x===V.x?I.y>V.y?"N":"S":I.y===V.y?I.x>V.x?"W":"E":null}u.getBearing=r;function d(I,V,K){var ae=new $i(I.x,V.y),ue=new $i(V.x,I.y),ve=r(I,ae),Oe=r(I,ue),ke=K?i[K]:null,Ie=ve===K||ve!==ke&&(Oe===ke||Oe!==K)?ae:ue;return{points:[Ie],direction:r(Ie,V)}}u.vertexToVertex=d;function v(I,V,K){var ae=o(I,V,K);return{points:[ae],direction:r(ae,V)}}u.nodeToVertex=v;function g(I,V,K,ae){var ue=[new $i(I.x,V.y),new $i(V.x,I.y)],ve=ue.filter(function(Ze){return!K.containsPoint(Ze)}),Oe=ve.filter(function(Ze){return r(Ze,I)!==ae}),ke;if(Oe.length>0)return ke=Oe.filter(function(Ze){return r(I,Ze)===ae}).pop(),ke=ke||Oe[0],{points:[ke],direction:r(ke,V)};{ke=E.difference(ue,ve)[0];var Ie=$i.create(V).move(ke,-t(K,ae)/2),Ye=o(Ie,I,K);return{points:[Ye,Ie],direction:r(Ie,V)}}}u.vertexToNode=g;function b(I,V,K,ae){var ue=v(V,I,ae),ve=ue.points[0];if(K.containsPoint(ve)){ue=v(I,V,K);var Oe=ue.points[0];if(ae.containsPoint(Oe)){var ke=$i.create(I).move(Oe,-t(K,r(I,Oe))/2),Ie=$i.create(V).move(ve,-t(ae,r(V,ve))/2),Ye=new Qu(ke,Ie).getCenter(),Ze=v(I,Ye,K),et=d(Ye,V,Ze.direction);ue.points=[Ze.points[0],et.points[0]],ue.direction=et.direction}}return ue}u.nodeToNode=b;function P(I,V,K,ae,ue){var ve=K.union(ae).inflate(1),Oe=ve.getCenter(),ke=Oe.distance(V)>Oe.distance(I),Ie=ke?V:I,Ye=ke?I:V,Ze,et,yt;ue?(Ze=$i.fromPolar(ve.width+ve.height,c[ue],Ie),Ze=ve.getNearestPointToPoint(Ze).move(Ze,-1)):Ze=ve.getNearestPointToPoint(Ie).move(Ie,1),et=o(Ze,Ye,ve);var jt;Ze.round().equals(et.round())?(et=$i.fromPolar(ve.width+ve.height,uf.toRad(Ze.theta(Ie))+Math.PI/2,Ye),et=ve.getNearestPointToPoint(et).move(Ye,1).round(),yt=o(Ze,et,ve),jt=ke?[et,yt,Ze]:[Ze,yt,et]):jt=ke?[et,Ze]:[Ze,et];var Ft=r(ke?Ze:et,V);return{points:jt,direction:Ft}}u.insideNode=P})(Zg||(Zg={}));var mj={step:10,maxLoopCount:2e3,precision:1,maxDirectionChange:90,perpendicular:!0,excludeTerminals:[],excludeShapes:[],excludeNodes:[],excludeHiddenNodes:!1,startDirections:["top","right","bottom","left"],endDirections:["top","right","bottom","left"],directionMap:{top:{x:0,y:-1},right:{x:1,y:0},bottom:{x:0,y:1},left:{x:-1,y:0}},cost:function(){var i=Tg(this.step,this);return i},directions:function(){var i=Tg(this.step,this),c=Tg(this.cost,this);return[{cost:c,offsetX:i,offsetY:0},{cost:c,offsetX:-i,offsetY:0},{cost:c,offsetX:0,offsetY:i},{cost:c,offsetX:0,offsetY:-i}]},penalties:function(){var i=Tg(this.step,this);return{0:0,45:i/2,90:i/2}},paddingBox:function(){var i=Tg(this.step,this);return{x:-i,y:-i,width:2*i,height:2*i}},fallbackRouter:d2,draggingRouter:null};function Tg(u,i){return typeof u=="function"?u.call(i):u}function qee(u){var i=Object.keys(u).reduce(function(o,t){var r=o;return t==="fallbackRouter"||t==="draggingRouter"||t==="fallbackRoute"?r[t]=u[t]:r[t]=Tg(u[t],u),o},{});if(i.padding){var c=C.normalizeSides(i.padding);i.paddingBox={x:-c.left,y:-c.top,width:c.left+c.right,height:c.top+c.bottom}}return i.directions.forEach(function(o){var t=new $i(0,0),r=new $i(o.offsetX,o.offsetY);o.angle=uf.normalize(t.theta(r))}),i}var z9=1,H9=2,$_=function(){function u(){Object(xi.a)(this,u),this.items=[],this.hash={},this.values={}}return Object(Pi.a)(u,[{key:"add",value:function(c,o){var t=this;this.hash[c]?this.items.splice(this.items.indexOf(c),1):this.hash[c]=z9,this.values[c]=o;var r=E.sortedIndexBy(this.items,c,function(d){return t.values[d]});this.items.splice(r,0,c)}},{key:"pop",value:function(){var c=this.items.shift();return c&&(this.hash[c]=H9),c}},{key:"isOpen",value:function(c){return this.hash[c]===z9}},{key:"isClose",value:function(c){return this.hash[c]===H9}},{key:"isEmpty",value:function(){return this.items.length===0}}]),u}(),ete=function(){function u(i){Object(xi.a)(this,u),this.options=i,this.mapGridSize=100,this.map={}}return Object(Pi.a)(u,[{key:"build",value:function(c,o){var t=this.options,r=t.excludeTerminals.reduce(function(P,I){var V=o[I];if(V){var K=c.getCell(V.cell);K&&P.push(K)}return P},[]),d=[],v=c.getCell(o.getSourceCellId());v&&(d=E.union(d,v.getAncestors().map(function(P){return P.id})));var g=c.getCell(o.getTargetCellId());g&&(d=E.union(d,g.getAncestors().map(function(P){return P.id})));var b=this.mapGridSize;return c.getNodes().reduce(function(P,I){var V=I.shape,K=t.excludeShapes,ae=V?K.includes(V):!1,ue=r.some(function(Ht){return Ht.id===I.id}),ve=t.excludeNodes.some(function(Ht){return typeof Ht=="string"?I.id===Ht:Ht===I}),Oe=d.includes(I.id),ke=t.excludeHiddenNodes&&!I.isVisible(),Ie=ae||ue||ve||Oe||ke;if(!Ie)for(var Ye=I.getBBox().moveAndExpand(t.paddingBox),Ze=Ye.getOrigin().snapToGrid(b),et=Ye.getCorner().snapToGrid(b),yt=Ze.x;yt<=et.x;yt+=b)for(var jt=Ze.y;jt<=et.y;jt+=b){var Ft=new $i(yt,jt).toString();P[Ft]==null&&(P[Ft]=[]),P[Ft].push(Ye)}return P},this.map),this}},{key:"isAccessible",value:function(c){var o=c.clone().snapToGrid(this.mapGridSize).toString(),t=this.map[o];return t?t.every(function(r){return!r.containsPoint(c)}):!0}}]),u}();function tte(u,i){var c=u.sourceBBox.clone();return i&&i.paddingBox?c.moveAndExpand(i.paddingBox):c}function G9(u,i){var c=u.targetBBox.clone();return i&&i.paddingBox?c.moveAndExpand(i.paddingBox):c}function QN(u,i){if(u.sourceAnchor)return u.sourceAnchor;var c=tte(u,i);return c.getCenter()}function $9(u,i){if(u.targetAnchor)return u.targetAnchor;var c=G9(u,i);return c.getCenter()}function qN(u,i,c,o,t){var r=360/c,d=u.theta(nte(u,i,o,t)),v=uf.normalize(d+r/2);return r*Math.floor(v/r)}function nte(u,i,c,o){var t=o.step,r=i.x-u.x,d=i.y-u.y,v=r/c.x,g=d/c.y,b=v*t,P=g*t;return new $i(u.x+b,u.y+P)}function W9(u,i){var c=Math.abs(u-i);return c>180?360-c:c}function rte(u,i){var c=i.step;return i.directions.forEach(function(o){o.gridOffsetX=o.offsetX/c*u.x,o.gridOffsetY=o.offsetY/c*u.y}),i.directions}function Rse(u,i,c){return{source:i.clone(),x:eL(c.x-i.x,u),y:eL(c.y-i.y,u)}}function eL(u,i){if(!u)return i;var c=Math.abs(u),o=Math.round(c/i);if(!o)return c;var t=o*i,r=c-t,d=r/o;return i+d}function ate(u,i){var c=i.source,o=Cv.snapToGrid(u.x-c.x,i.x)+c.x,t=Cv.snapToGrid(u.y-c.y,i.y)+c.y;return new $i(o,t)}function KC(u,i){return u.round(i)}function nO(u,i,c){return KC(ate(u.clone(),i),c)}function Qg(u){return u.toString()}function W_(u){return new $i(u.x===0?0:Math.abs(u.x)/u.x,u.y===0?0:Math.abs(u.y)/u.y)}function _j(u,i){for(var c=Infinity,o=0,t=i.length;o<t;o+=1){var r=u.manhattanDistance(i[o]);r<c&&(c=r)}return c}function yj(u,i,c,o,t){var r=t.precision,d=t.directionMap,v=u.diff(i.getCenter()),g=Object.keys(d).reduce(function(b,P){if(c.includes(P)){for(var I=d[P],V=new $i(u.x+I.x*(Math.abs(v.x)+i.width),u.y+I.y*(Math.abs(v.y)+i.height)),K=new Qu(u,V),ae=K.intersect(i)||[],ue,ve=null,Oe=0;Oe<ae.length;Oe+=1){var ke=ae[Oe],Ie=u.squaredDistance(ke);(ue==null||Ie>ue)&&(ue=Ie,ve=ke)}if(ve){var Ye=nO(ve,o,r);i.containsPoint(Ye)&&(Ye=nO(Ye.translate(I.x*o.x,I.y*o.y),o,r)),b.push(Ye)}}return b},[]);return i.containsPoint(u)||g.push(nO(u,o,r)),g}function hb(u,i,c,o,t){for(var r=[],d=W_(t.diff(c)),v=Qg(c),g=u[v],b;g;){b=i[v];var P=W_(b.diff(g));P.equals(d)||(r.unshift(b),d=P),v=Qg(g),g=u[v]}var I=i[v],V=W_(I.diff(o));return V.equals(d)||r.unshift(I),r}function tL(u,i,c,o,t){var r=t.precision,d,v;xl.isRectangle(i)?d=KC(QN(u,t).clone(),r):d=KC(i.clone(),r),xl.isRectangle(c)?v=KC($9(u,t).clone(),r):v=KC(c.clone(),r);var g=Rse(t.step,d,v),b=d,P=v,I,V;if(xl.isRectangle(i)?I=yj(b,i,t.startDirections,g,t):I=[b],xl.isRectangle(c)?V=yj(v,c,t.endDirections,g,t):V=[P],I=I.filter(function(po){return o.isAccessible(po)}),V=V.filter(function(po){return o.isAccessible(po)}),I.length>0&&V.length>0){for(var K=new $_,ae={},ue={},ve={},Oe=0,ke=I.length;Oe<ke;Oe+=1){var Ie=I[Oe],Ye=Qg(Ie);K.add(Ye,_j(Ie,V)),ae[Ye]=Ie,ve[Ye]=0}for(var Ze=t.previousDirectionAngle,et=Ze===void 0,yt,jt,Ft=rte(g,t),Ht=Ft.length,Gt=V.reduce(function(po,dc){var ns=Qg(dc);return po.push(ns),po},[]),Jt=$i.equalPoints(I,V),mn=t.maxLoopCount;!K.isEmpty()&&mn>0;){var vn=K.pop(),Yt=ae[vn],En=ue[vn],or=ve[vn],$r=Yt.equals(b),vr=En==null,Er=void 0;vr?et?$r?Er=null:Er=qN(b,Yt,Ht,g,t):Er=Ze:Er=qN(En,Yt,Ht,g,t);var Hr=vr&&Jt;if(!Hr&&Gt.indexOf(vn)>=0)return t.previousDirectionAngle=Er,hb(ue,ae,Yt,b,P);for(var Aa=0;Aa<Ht;Aa+=1){yt=Ft[Aa];var Fr=yt.angle;if(jt=W9(Er,Fr),!(!(et&&$r)&&jt>t.maxDirectionChange)){var ca=nO(Yt.clone().translate(yt.gridOffsetX||0,yt.gridOffsetY||0),g,r),fa=Qg(ca);if(!(K.isClose(fa)||!o.isAccessible(ca))){if(Gt.indexOf(fa)>=0){var ai=ca.equals(P);if(!ai){var Wi=qN(ca,P,Ht,g,t),Co=W9(Fr,Wi);if(Co>t.maxDirectionChange)continue}}var zi=yt.cost,us=$r?0:t.penalties[jt],Us=or+zi+us;(!K.isOpen(fa)||Us<ve[fa])&&(ae[fa]=ca,ue[fa]=Yt,ve[fa]=Us,K.add(fa,Us+_j(ca,V)))}}}mn-=1}}return t.fallbackRoute?k.call(t.fallbackRoute,this,b,P,t):null}var nL=function(i,c,o){for(var t=qee(c),r=tte(o,t),d=G9(o,t),v=QN(o,t),g=new ete(t).build(o.graph.model,o.cell),b=i.map(function(et){return $i.create(et)}),P=[],I=v,V,K,ae=0,ue=b.length;ae<=ue;ae+=1){var ve=null;if(V=K||r,K=b[ae],K==null){K=d;var Oe=o.cell,ke=Oe.getSourceCellId()==null||Oe.getTargetCellId()==null;if(ke&&typeof t.draggingRouter=="function"){var Ie=V===r?v:V,Ye=K.getOrigin();ve=k.call(t.draggingRouter,o,Ie,Ye,t)}}if(ve==null&&(ve=tL(o,V,K,g,t)),ve===null)return console.warn("Unable to execute manhattan algorithm, use orth instead"),k.call(t.fallbackRouter,this,i,t,o);var Ze=ve[0];Ze&&Ze.equals(I)&&ve.shift(),I=ve[ve.length-1]||I,P.push.apply(P,Object(Bs.a)(ve))}return P},K9=function(i,c,o){return k.call(nL,this,i,Object.assign(Object.assign({},mj),c),o)},ite={maxDirectionChange:45,directions:function(){var i=Tg(this.step,this),c=Tg(this.cost,this),o=Math.ceil(Math.sqrt(i*i<<1));return[{cost:c,offsetX:i,offsetY:0},{cost:o,offsetX:i,offsetY:i},{cost:c,offsetX:0,offsetY:i},{cost:o,offsetX:-i,offsetY:i},{cost:c,offsetX:-i,offsetY:0},{cost:o,offsetX:-i,offsetY:-i},{cost:c,offsetX:0,offsetY:-i},{cost:o,offsetX:i,offsetY:-i}]},fallbackRoute:function(i,c,o){var t=i.theta(c),r=[],d={x:c.x,y:i.y},v={x:i.x,y:c.y};if(t%180>90){var g=d;d=v,v=g}var b=t%90<45?d:v,P=new Qu(i,b),I=90*Math.ceil(t/90),V=$i.fromPolar(P.squaredLength(),uf.toRad(I+135),b),K=new Qu(c,V),ae=P.intersectsWithLine(K),ue=ae||c,ve=ae?ue:i,Oe=360/o.directions.length,ke=ve.theta(c),Ie=uf.normalize(ke+Oe/2),Ye=Oe*Math.floor(Ie/Oe);return o.previousDirectionAngle=Ye,ue&&r.push(ue.round()),r.push(c),r}},Cm=function(i,c,o){return k.call(K9,this,i,Object.assign(Object.assign({},ite),c),o)},ote=function(i,c,o){var t=c.offset||32,r=c.min==null?16:c.min,d=0,v=c.direction,g=o.sourceBBox,b=o.targetBBox,P=g.getCenter(),I=b.getCenter();if(typeof t=="number"&&(d=t),v==null){var V=b.left-g.right,K=b.top-g.bottom;V>=0&&K>=0?v=V>=K?"L":"T":V<=0&&K>=0?(V=g.left-b.right,V>=0?v=V>=K?"R":"T":v="T"):V>=0&&K<=0?(K=g.top-b.bottom,K>=0?v=V>=K?"L":"B":v="L"):(V=g.left-b.right,K=g.top-b.bottom,V>=0&&K>=0?v=V>=K?"R":"B":V<=0&&K>=0?v="B":V>=0&&K<=0?v="R":v=Math.abs(V)>Math.abs(K)?"R":"B")}v==="H"?v=I.x-P.x>=0?"L":"R":v==="V"&&(v=I.y-P.y>=0?"T":"B"),t==="center"&&(v==="L"?d=(b.left-g.right)/2:v==="R"?d=(g.left-b.right)/2:v==="T"?d=(b.top-g.bottom)/2:v==="B"&&(d=(g.top-b.bottom)/2));var ae,ue,ve,Oe=v==="L"||v==="R";if(Oe){if(I.y===P.y)return Object(Bs.a)(i);ve=v==="L"?1:-1,ae="x",ue="width"}else{if(I.x===P.x)return Object(Bs.a)(i);ve=v==="T"?1:-1,ae="y",ue="height"}var ke=P.clone(),Ie=I.clone();if(ke[ae]+=ve*(g[ue]/2+d),Ie[ae]-=ve*(b[ue]/2+d),Oe){var Ye=ke.x,Ze=Ie.x,et=g.width/2+r,yt=b.width/2+r;I.x>P.x?Ze<=Ye&&(ke.x=Math.max(Ze,P.x+et),Ie.x=Math.min(Ye,I.x-yt)):Ze>=Ye&&(ke.x=Math.min(Ze,P.x-et),Ie.x=Math.max(Ye,I.x+yt))}else{var jt=ke.y,Ft=Ie.y,Ht=g.height/2+r,Gt=b.height/2+r;I.y>P.y?Ft<=jt&&(ke.y=Math.max(Ft,P.y+Ht),Ie.y=Math.min(jt,I.y-Gt)):Ft>=jt&&(ke.y=Math.min(Ft,P.y-Ht),Ie.y=Math.max(jt,I.y+Gt))}return[ke.toJSON()].concat(Object(Bs.a)(i),[Ie.toJSON()])};function gb(u,i){if(i!=null&&i!==!1){var c=typeof i=="boolean"?0:i;if(c>0){var o=$i.create(u[1]).move(u[2],c),t=$i.create(u[1]).move(u[0],c);return[o.toJSON()].concat(Object(Bs.a)(u),[t.toJSON()])}{var r=u[1];return[Object.assign({},r)].concat(Object(Bs.a)(u),[Object.assign({},r)])}}return u}var rL=function(i,c,o){var t=c.width||50,r=c.height||80,d=r/2,v=c.angle||"auto",g=o.sourceAnchor,b=o.targetAnchor,P=o.sourceBBox,I=o.targetBBox;if(g.equals(b)){var V=function(vr){var Er=uf.toRad(vr),Hr=Math.sin(Er),Aa=Math.cos(Er),Fr=new $i(g.x+Aa*t,g.y+Hr*t),ca=new $i(Fr.x-Aa*d,Fr.y-Hr*d),fa=ca.clone().rotate(-90,Fr),ai=ca.clone().rotate(90,Fr);return[fa.toJSON(),Fr.toJSON(),ai.toJSON()]},K=function(vr){var Er=g.clone().move(vr,-1),Hr=new Qu(Er,vr);return!P.containsPoint(vr)&&!P.intersectsWithLine(Hr)},ae=[0,90,180,270,45,135,225,315];if(typeof v=="number")return gb(V(v),c.merge);var ue=P.getCenter();if(ue.equals(g))return gb(V(0),c.merge);var ve=ue.angleBetween(g,ue.clone().translate(1,0)),Oe=V(ve);if(K(Oe[1]))return gb(Oe,c.merge);for(var ke=1,Ie=ae.length;ke<Ie;ke+=1)if(Oe=V(ve+ae[ke]),K(Oe[1]))return gb(Oe,c.merge);return gb(Oe,c.merge)}{var Ye=new Qu(g,b),Ze=Ye.parallel(-t),et=Ze.getCenter(),yt=Ze.start.clone().move(Ze.end,d),jt=Ze.end.clone().move(Ze.start,d),Ft=Ye.parallel(-1),Ht=new Qu(Ft.start,et),Gt=new Qu(Ft.end,et);if((P.containsPoint(et)||I.containsPoint(et)||P.intersectsWithLine(Ht)||P.intersectsWithLine(Gt)||I.intersectsWithLine(Ht)||I.intersectsWithLine(Gt))&&(Ze=Ye.parallel(t),et=Ze.getCenter(),yt=Ze.start.clone().move(Ze.end,d),jt=Ze.end.clone().move(Ze.start,d)),c.merge){var Jt=new Qu(g,b),mn=new Qu(et,Jt.center).setLength(Number.MAX_SAFE_INTEGER),vn=P.intersectsWithLine(mn),Yt=I.intersectsWithLine(mn),En=vn?Array.isArray(vn)?vn:[vn]:[];Yt&&(Array.isArray(Yt)?En.push.apply(En,Object(Bs.a)(Yt)):En.push(Yt));var or=Jt.center.closest(En);or?(o.sourceAnchor=or.clone(),o.targetAnchor=or.clone()):(o.sourceAnchor=Jt.center.clone(),o.targetAnchor=Jt.center.clone())}return gb([yt.toJSON(),et.toJSON(),jt.toJSON()],c.merge)}},ey;(function(u){u.presets=X,u.registry=Jp.create({type:"router"}),u.registry.register(u.presets,!0)})(ey||(ey={}));var ste=function(i,c,o){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=[i].concat(Object(Bs.a)(o),[c]),d=new Jh(r),v=new df(d);return t.raw?v:v.serialize()},cte=function(i,c,o){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=o.length===3?0:1,d=$i.create(o[0+r]),v=$i.create(o[2+r]),g=$i.create(o[1+r]);if(!$i.equals(i,c)){var b=new $i((i.x+c.x)/2,(i.y+c.y)/2),P=b.angleBetween($i.create(i).rotate(90,b),g);P>1&&(d.rotate(180-P,b),v.rotate(180-P,b),g.rotate(180-P,b))}var I=`
M `.concat(i.x," ").concat(i.y,`
Q `).concat(d.x," ").concat(d.y," ").concat(g.x," ").concat(g.y,`
Q `).concat(v.x," ").concat(v.y," ").concat(c.x," ").concat(c.y,`
`);return t.raw?df.parse(I):I},aL=function(i,c,o){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=new df;r.appendSegment(df.createSegment("M",i));for(var d=1/3,v=2/3,g=t.radius||10,b,P,I=0,V=o.length;I<V;I+=1){var K=$i.create(o[I]),ae=o[I-1]||i,ue=o[I+1]||c;b=P||K.distance(ae)/2,P=K.distance(ue)/2;var ve=-Math.min(g,b),Oe=-Math.min(g,P),ke=K.clone().move(ae,ve).round(),Ie=K.clone().move(ue,Oe).round(),Ye=new $i(d*ke.x+v*K.x,v*K.y+d*ke.y),Ze=new $i(d*Ie.x+v*K.x,v*K.y+d*Ie.y);r.appendSegment(df.createSegment("L",ke)),r.appendSegment(df.createSegment("C",Ye,Ze,Ie))}return r.appendSegment(df.createSegment("L",c)),t.raw?r:r.serialize()},iL=function(i,c,o){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r,d=t.direction;if(o&&o.length!==0){var v=[i].concat(Object(Bs.a)(o),[c]),g=Xg.throughPoints(v);r=new df(g)}else if(r=new df,r.appendSegment(df.createSegment("M",i)),d||(d=Math.abs(i.x-c.x)>=Math.abs(i.y-c.y)?"H":"V"),d==="H"){var b=(i.x+c.x)/2;r.appendSegment(df.createSegment("C",b,i.y,b,c.y,c.x,c.y))}else{var P=(i.y+c.y)/2;r.appendSegment(df.createSegment("C",i.x,P,c.x,P,c.x,c.y))}return t.raw?r:r.serialize()},oL=1,bj=1/3,Oj=2/3;function Y9(u){var i=u.graph._jumpOverUpdateList;if(i==null&&(i=u.graph._jumpOverUpdateList=[],u.graph.on("cell:mouseup",function(){for(var o=u.graph._jumpOverUpdateList,t=0;t<o.length;t+=1)o[t].update()}),u.graph.on("model:reseted",function(){i=u.graph._jumpOverUpdateList=[]})),i.indexOf(u)<0){i.push(u);var c=function(){return i.splice(i.indexOf(u),1)};u.cell.once("change:connector",c),u.cell.once("removed",c)}}function sL(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],o=[u].concat(Object(Bs.a)(c),[i]),t=[];return o.forEach(function(r,d){var v=o[d+1];v!=null&&t.push(new Qu(r,v))}),t}function cL(u,i){var c=[];return i.forEach(function(o){var t=u.intersectsWithLine(o);t&&c.push(t)}),c}function Cj(u,i){return new Qu(u,i).squaredLength()}function X9(u,i,c){return i.reduce(function(o,t,r){if(rO.includes(t))return o;var d=o.pop()||u,v=$i.create(t).move(d.start,-c),g=$i.create(t).move(d.start,+c),b=i[r+1];if(b!=null){var P=g.distance(b);P<=c&&(g=b.move(d.start,P),rO.push(b))}else{var I=v.distance(d.end);if(I<c*2+oL)return o.push(d),o}var V=g.distance(d.start);if(V<c*2+oL)return o.push(d),o;var K=new Qu(v,g);return YC.push(K),o.push(new Qu(d.start,v),K,new Qu(g,d.end)),o},[])}function J9(u,i,c,o){var t=new df,r;return r=df.createSegment("M",u[0].start),t.appendSegment(r),u.forEach(function(d,v){if(YC.includes(d)){var g,b,P,I;if(c==="arc"){g=-90,b=d.start.diff(d.end);var V=b.x<0||b.x===0&&b.y<0;V&&(g+=180);var K=d.getCenter(),ae=new Qu(K,d.end).rotate(g,K),ue;ue=new Qu(d.start,K),P=ue.pointAt(2/3).rotate(g,d.start),I=ae.pointAt(1/3).rotate(-g,ae.end),r=df.createSegment("C",P,I,ae.end),t.appendSegment(r),ue=new Qu(K,d.end),P=ae.pointAt(1/3).rotate(g,ae.end),I=ue.pointAt(1/3).rotate(-g,d.end),r=df.createSegment("C",P,I,d.end),t.appendSegment(r)}else if(c==="gap")r=df.createSegment("M",d.end),t.appendSegment(r);else if(c==="cubic"){g=d.start.theta(d.end);var ve=i*.6,Oe=i*1.35;b=d.start.diff(d.end);var ke=b.x<0||b.x===0&&b.y<0;ke&&(Oe*=-1),P=new $i(d.start.x+ve,d.start.y+Oe).rotate(g,d.start),I=new $i(d.end.x-ve,d.end.y+Oe).rotate(g,d.end),r=df.createSegment("C",P,I,d.end),t.appendSegment(r)}}else{var Ie=u[v+1];o===0||!Ie||YC.includes(Ie)?(r=df.createSegment("L",d.end),t.appendSegment(r)):lte(o,t,d.end,d.start,Ie.end)}}),t}function lte(u,i,c,o,t){var r=c.distance(o)/2,d=c.distance(t)/2,v=-Math.min(u,r),g=-Math.min(u,d),b=c.clone().move(o,v).round(),P=c.clone().move(t,g).round(),I=new $i(bj*b.x+Oj*c.x,Oj*c.y+bj*b.y),V=new $i(bj*P.x+Oj*c.x,Oj*c.y+bj*P.y),K;K=df.createSegment("L",b),i.appendSegment(K),K=df.createSegment("C",I,V,P),i.appendSegment(K)}var YC,rO,lL=function(i,c,o){var t=this,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};YC=[],rO=[],Y9(this);var d=r.size||5,v=r.type||"arc",g=r.radius||0,b=r.ignoreConnectors||["smooth"],P=this.graph,I=P.model,V=I.getEdges();if(V.length===1)return J9(sL(i,c,o),d,v,g);var K=this.cell,ae=V.indexOf(K),ue=P.options.connecting.connector||{},ve=V.filter(function(et,yt){var jt=et.getConnector()||ue;return b.includes(jt.name)?!1:yt>ae?jt.name!=="jumpover":!0}),Oe=ve.map(function(et){return P.renderer.findViewByCell(et)}),ke=sL(i,c,o),Ie=Oe.map(function(et){return et==null?[]:et===t?ke:sL(et.sourcePoint,et.targetPoint,et.routePoints)}),Ye=[];ke.forEach(function(et){var yt=ve.reduce(function(jt,Ft,Ht){if(Ft!==K){var Gt=cL(et,Ie[Ht]);jt.push.apply(jt,Object(Bs.a)(Gt))}return jt},[]).sort(function(jt,Ft){return Cj(et.start,jt)-Cj(et.start,Ft)});yt.length>0?Ye.push.apply(Ye,Object(Bs.a)(X9(et,yt,d))):Ye.push(et)});var Ze=J9(Ye,d,v,g);return YC=[],rO=[],r.raw?Ze:Ze.serialize()},mb;(function(u){u.presets=ee,u.registry=Jp.create({type:"connector"}),u.registry.register(u.presets,!0)})(mb||(mb={}));var ute=Jp.create,uL=function(){function u(i){Object(xi.a)(this,u),this.cell=i,this.ids={},this.cache={}}return Object(Pi.a)(u,[{key:"get",value:function(){return Object.keys(this.ids)}},{key:"start",value:function(c,o){var t=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/",v=this.cell.getPropByPath(c),g=m.defaults(r,u.defaultOptions),b=this.getTiming(g.timing),P=this.getInterp(g.interp,v,o),I=0,V=Array.isArray(c)?c.join(d):c,K=Array.isArray(c)?c:c.split(d),ae=function ue(){var ve=new Date().getTime();I===0&&(I=ve);var Oe=ve-I,ke=Oe/g.duration;ke<1?t.ids[V]=S.requestAnimationFrame(ue):ke=1;var Ie=P(b(ke));t.cell.setPropByPath(K,Ie),r.progress&&r.progress(Object.assign({progress:ke,currentValue:Ie},t.getArgs(V))),ke===1&&(t.cell.notify("transition:end",t.getArgs(V)),t.cell.notify("transition:complete",t.getArgs(V)),r.complete&&r.complete(t.getArgs(V)),t.cell.notify("transition:finish",t.getArgs(V)),r.finish&&r.finish(t.getArgs(V)),t.clean(V))};return setTimeout(function(){t.stop(c,void 0,d),t.cache[V]={startValue:v,targetValue:o,options:g},t.ids[V]=S.requestAnimationFrame(ae),t.cell.notify("transition:begin",t.getArgs(V)),t.cell.notify("transition:start",t.getArgs(V)),r.start&&r.start(t.getArgs(V))},r.delay),this.stop.bind(this,c,d,r)}},{key:"stop",value:function(c){var o=this,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"/",d=Array.isArray(c)?c:c.split(r);return Object.keys(this.ids).filter(function(v){return m.isEqual(d,v.split(r).slice(0,d.length))}).forEach(function(v){S.cancelAnimationFrame(o.ids[v]);var g=o.cache[v],b=o.getArgs(v),P=Object.assign(Object.assign({},g.options),t),I=P.jumpedToEnd;I&&g.targetValue!=null&&(o.cell.setPropByPath(v,g.targetValue),o.cell.notify("transition:end",Object.assign({},b)),o.cell.notify("transition:complete",Object.assign({},b)),P.complete&&P.complete(Object.assign({},b)));var V=Object.assign({jumpedToEnd:I},b);o.cell.notify("transition:stop",Object.assign({},V)),P.stop&&P.stop(Object.assign({},V)),o.cell.notify("transition:finish",Object.assign({},b)),P.finish&&P.finish(Object.assign({},b)),o.clean(v)}),this}},{key:"clean",value:function(c){delete this.ids[c],delete this.cache[c]}},{key:"getTiming",value:function(c){return typeof c=="string"?X1[c]:c}},{key:"getInterp",value:function(c,o,t){return c?c(o,t):typeof t=="number"?J1.number(o,t):typeof t=="string"?t[0]==="#"?J1.color(o,t):J1.unit(o,t):J1.object(o,t)}},{key:"getArgs",value:function(c){var o=this.cache[c];return{path:c,startValue:o.startValue,targetValue:o.targetValue,cell:this.cell}}}]),u}();(function(u){u.defaultOptions={delay:10,duration:100,timing:"linear"}})(uL||(uL={}));var Z9=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},dL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object(xi.a)(this,c),o=i.call(this),o.pending=!1,o.changing=!1,o.data={},o.mutate(m.cloneDeep(t)),o.changed={},o}return Object(Pi.a)(c,[{key:"mutate",value:function(t){var r=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=d.unset===!0,g=d.silent===!0,b=[],P=this.changing;this.changing=!0,P||(this.previous=m.cloneDeep(this.data),this.changed={});var I=this.data,V=this.previous,K=this.changed;if(Object.keys(t).forEach(function(ae){var ue=ae,ve=t[ue];m.isEqual(I[ue],ve)||b.push(ue),m.isEqual(V[ue],ve)?delete K[ue]:K[ue]=ve,v?delete I[ue]:I[ue]=ve}),!g&&b.length>0&&(this.pending=!0,this.pendingOptions=d,b.forEach(function(ae){r.emit("change:*",{key:ae,options:d,store:r,current:I[ae],previous:V[ae]})})),P)return this;if(!g)for(;this.pending;)this.pending=!1,this.emit("changed",{current:I,previous:V,store:this,options:this.pendingOptions});return this.pending=!1,this.changing=!1,this.pendingOptions=null,this}},{key:"get",value:function(t,r){if(t==null)return this.data;var d=this.data[t];return d==null?r:d}},{key:"getPrevious",value:function(t){if(this.previous){var r=this.previous[t];return r==null?void 0:r}}},{key:"set",value:function(t,r,d){return t!=null&&(typeof t=="object"?this.mutate(t,r):this.mutate(Object(qc.a)({},t,r),d)),this}},{key:"remove",value:function(t,r){var d=void 0,v={},g;if(typeof t=="string")v[t]=d,g=r;else if(Array.isArray(t))t.forEach(function(P){return v[P]=d}),g=r;else{for(var b in this.data)v[b]=d;g=t}return this.mutate(v,Object.assign(Object.assign({},g),{unset:!0})),this}},{key:"getByPath",value:function(t){return m.getByPath(this.data,t,"/")}},{key:"setByPath",value:function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v="/",g=Array.isArray(t)?Object(Bs.a)(t):t.split(v),b=Array.isArray(t)?t.join(v):t,P=g[0],I=g.length;if(d.propertyPath=b,d.propertyValue=r,d.propertyPathArray=g,I===1)this.set(P,r,d);else{for(var V={},K=V,ae=P,ue=1;ue<I;ue+=1){var ve=g[ue],Oe=Number.isFinite(Number(ve));K=K[ae]=Oe?[]:{},ae=ve}m.setByPath(V,g,r,v);var ke=m.cloneDeep(this.data);d.rewrite&&m.unsetByPath(ke,t,v);var Ie=m.merge(ke,V);this.set(P,Ie[P],d)}return this}},{key:"removeByPath",value:function(t,r){var d=Array.isArray(t)?t:t.split("/"),v=d[0];if(d.length===1)this.remove(v,r);else{var g=d.slice(1),b=m.cloneDeep(this.get(v));b&&m.unsetByPath(b,g),this.set(v,b,r)}return this}},{key:"hasChanged",value:function(t){return t==null?Object.keys(this.changed).length>0:t in this.changed}},{key:"getChanges",value:function(t){if(t==null)return this.hasChanged()?m.cloneDeep(this.changed):null;var r=this.changing?this.previous:this.data,d={},v;for(var g in t){var b=t[g];m.isEqual(r[g],b)||(d[g]=b,v=!0)}return v?m.cloneDeep(d):null}},{key:"toJSON",value:function(){return m.cloneDeep(this.data)}},{key:"clone",value:function(){var t=this.constructor;return new t(this.data)}},{key:"dispose",value:function(){this.off(),this.data={},this.previous={},this.changed={},this.pending=!1,this.changing=!1,this.pendingOptions=null,this.trigger("disposed",{store:this})}}]),c}(yh);Z9([yh.dispose()],dL.prototype,"dispose",null);var dte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},fL=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Mf=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(xi.a)(this,o),t=c.call(this);var d=t.constructor,v=d.getDefaults(!0),g=m.merge({},t.preprocess(v),t.preprocess(r));return t.id=g.id||O.uuid(),t.store=new dL(g),t.animation=new uL(Object(Fp.a)(t)),t.setup(),t.init(),t.postprocess(r),t}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"init",value:function(){}},{key:"model",get:function(){return this._model}},{key:"model",set:function(r){this._model!==r&&(this._model=r)}},{key:"preprocess",value:function(r,d){var v=r.id,g=this.constructor,b=g.applyPropHooks(this,r);return v==null&&d!==!0&&(b.id=O.uuid()),b}},{key:"postprocess",value:function(r){}},{key:"setup",value:function(){var r=this;this.store.on("change:*",function(d){var v=d.key,g=d.current,b=d.previous,P=d.options;r.notify("change:*",{key:v,options:P,current:g,previous:b,cell:r}),r.notify("change:".concat(v),{options:P,current:g,previous:b,cell:r});var I=v;(I==="source"||I==="target")&&r.notify("change:terminal",{type:I,current:g,previous:b,options:P,cell:r})}),this.store.on("changed",function(d){var v=d.options;return r.notify("changed",{options:v,cell:r})})}},{key:"notify",value:function(r,d){this.trigger(r,d);var v=this.model;return v&&(v.notify("cell:".concat(r),d),this.isNode()?v.notify("node:".concat(r),Object.assign(Object.assign({},d),{node:this})):this.isEdge()&&v.notify("edge:".concat(r),Object.assign(Object.assign({},d),{edge:this}))),this}},{key:"isNode",value:function(){return!1}},{key:"isEdge",value:function(){return!1}},{key:"isSameStore",value:function(r){return this.store===r.store}},{key:"view",get:function(){return this.store.get("view")}},{key:"shape",get:function(){return this.store.get("shape","")}},{key:"getProp",value:function(r,d){return r==null?this.store.get():this.store.get(r,d)}},{key:"setProp",value:function(r,d,v){if(typeof r=="string")this.store.set(r,d,v);else{var g=this.preprocess(r,!0);this.store.set(m.merge({},this.getProp(),g),d),this.postprocess(r)}return this}},{key:"removeProp",value:function(r,d){return typeof r=="string"||Array.isArray(r)?this.store.removeByPath(r,d):this.store.remove(d),this}},{key:"hasChanged",value:function(r){return r==null?this.store.hasChanged():this.store.hasChanged(r)}},{key:"getPropByPath",value:function(r){return this.store.getByPath(r)}},{key:"setPropByPath",value:function(r,d){var v=this,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.model&&(r==="children"?this._children=d?d.map(function(b){return v.model.getCell(b)}).filter(function(b){return b!=null}):null:r==="parent"&&(this._parent=d?this.model.getCell(d):null)),this.store.setByPath(r,d,g),this}},{key:"removePropByPath",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=Array.isArray(r)?r:r.split("/");return v[0]==="attrs"&&(d.dirty=!0),this.store.removeByPath(v,d),this}},{key:"prop",value:function(r,d,v){return r==null?this.getProp():typeof r=="string"||Array.isArray(r)?arguments.length===1?this.getPropByPath(r):d==null?this.removePropByPath(r,v||{}):this.setPropByPath(r,d,v||{}):this.setProp(r,d||{})}},{key:"previous",value:function(r){return this.store.getPrevious(r)}},{key:"zIndex",get:function(){return this.getZIndex()}},{key:"zIndex",set:function(r){r==null?this.removeZIndex():this.setZIndex(r)}},{key:"getZIndex",value:function(){return this.store.get("zIndex")}},{key:"setZIndex",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("zIndex",r,d),this}},{key:"removeZIndex",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("zIndex",r),this}},{key:"toFront",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.model;if(d){var v=d.getMaxZIndex(),g;r.deep?(g=this.getDescendants({deep:!0,breadthFirst:!0}),g.unshift(this)):g=[this],v=v-g.length+1;var b=d.total(),P=d.indexOf(this)!==b-g.length;P||(P=g.some(function(I,V){return I.getZIndex()!==v+V})),P&&this.batchUpdate("to-front",function(){v+=g.length,g.forEach(function(I,V){I.setZIndex(v+V,r)})})}return this}},{key:"toBack",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.model;if(d){var v=d.getMinZIndex(),g;r.deep?(g=this.getDescendants({deep:!0,breadthFirst:!0}),g.unshift(this)):g=[this];var b=d.indexOf(this)!==0;b||(b=g.some(function(P,I){return P.getZIndex()!==v+I})),b&&this.batchUpdate("to-back",function(){v-=g.length,g.forEach(function(P,I){P.setZIndex(v+I,r)})})}return this}},{key:"markup",get:function(){return this.getMarkup()}},{key:"markup",set:function(r){r==null?this.removeMarkup():this.setMarkup(r)}},{key:"getMarkup",value:function(){var r=this.store.get("markup");if(r==null){var d=this.constructor;r=d.getMarkup()}return r}},{key:"setMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("markup",r,d),this}},{key:"removeMarkup",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("markup",r),this}},{key:"attrs",get:function(){return this.getAttrs()}},{key:"attrs",set:function(r){r==null?this.removeAttrs():this.setAttrs(r)}},{key:"getAttrs",value:function(){var r=this.store.get("attrs");return r?Object.assign({},r):{}}},{key:"setAttrs",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r==null)this.removeAttrs(v);else{var g=function(I){return d.store.set("attrs",I,v)};if(v.overwrite===!0)g(r);else{var b=this.getAttrs();v.deep===!1?g(Object.assign(Object.assign({},b),r)):g(m.merge({},b,r))}}return this}},{key:"replaceAttrs",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.setAttrs(r,Object.assign(Object.assign({},d),{overwrite:!0}))}},{key:"updateAttrs",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.setAttrs(r,Object.assign(Object.assign({},d),{deep:!1}))}},{key:"removeAttrs",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("attrs",r),this}},{key:"getAttrDefinition",value:function(r){if(!r)return null;var d=this.constructor,v=d.getAttrHooks()||{},g=v[r]||Wm.registry.get(r);if(!g){var b=O.camelCase(r);g=v[b]||Wm.registry.get(b)}return g||null}},{key:"getAttrByPath",value:function(r){return r==null||r===""?this.getAttrs():this.getPropByPath(this.prefixAttrPath(r))}},{key:"setAttrByPath",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.setPropByPath(this.prefixAttrPath(r),d,v),this}},{key:"removeAttrByPath",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.removePropByPath(this.prefixAttrPath(r),d),this}},{key:"prefixAttrPath",value:function(r){return Array.isArray(r)?["attrs"].concat(r):"attrs/".concat(r)}},{key:"attr",value:function(r,d,v){return r==null?this.getAttrByPath():typeof r=="string"||Array.isArray(r)?arguments.length===1?this.getAttrByPath(r):d==null?this.removeAttrByPath(r,v||{}):this.setAttrByPath(r,d,v||{}):this.setAttrs(r,d||{})}},{key:"visible",get:function(){return this.isVisible()}},{key:"visible",set:function(r){this.setVisible(r)}},{key:"setVisible",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("visible",r,d),this}},{key:"isVisible",value:function(){return this.store.get("visible")!==!1}},{key:"show",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.isVisible()||this.setVisible(!0,r),this}},{key:"hide",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.isVisible()&&this.setVisible(!1,r),this}},{key:"toggleVisible",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=typeof r=="boolean"?r:!this.isVisible(),g=typeof r=="boolean"?d:r;return v?this.show(g):this.hide(g),this}},{key:"data",get:function(){return this.getData()}},{key:"data",set:function(r){this.setData(r)}},{key:"getData",value:function(){return this.store.get("data")}},{key:"setData",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r==null)this.removeData(v);else{var g=function(I){return d.store.set("data",I,v)};if(v.overwrite===!0)g(r);else{var b=this.getData();v.deep===!1?g(typeof r=="object"?Object.assign(Object.assign({},b),r):r):g(m.merge({},b,r))}}return this}},{key:"replaceData",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.setData(r,Object.assign(Object.assign({},d),{overwrite:!0}))}},{key:"updateData",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.setData(r,Object.assign(Object.assign({},d),{deep:!1}))}},{key:"removeData",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("data",r),this}},{key:"parent",get:function(){return this.getParent()}},{key:"children",get:function(){return this.getChildren()}},{key:"getParentId",value:function(){return this.store.get("parent")}},{key:"getParent",value:function(){var r=this.getParentId();if(r&&this.model){var d=this.model.getCell(r);return this._parent=d,d}return null}},{key:"getChildren",value:function(){var r=this,d=this.store.get("children");if(d&&d.length&&this.model){var v=d.map(function(g){var b;return(b=r.model)===null||b===void 0?void 0:b.getCell(g)}).filter(function(g){return g!=null});return this._children=v,Object(Bs.a)(v)}return null}},{key:"hasParent",value:function(){return this.parent!=null}},{key:"isParentOf",value:function(r){return r!=null&&r.getParent()===this}},{key:"isChildOf",value:function(r){return r!=null&&this.getParent()===r}},{key:"eachChild",value:function(r,d){return this.children&&this.children.forEach(r,d),this}},{key:"filterChild",value:function(r,d){return this.children?this.children.filter(r,d):[]}},{key:"getChildCount",value:function(){return this.children==null?0:this.children.length}},{key:"getChildIndex",value:function(r){return this.children==null?-1:this.children.indexOf(r)}},{key:"getChildAt",value:function(r){return this.children!=null&&r>=0?this.children[r]:null}},{key:"getAncestors",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=[],v=this.getParent();v;)d.push(v),v=r.deep!==!1?v.getParent():null;return d}},{key:"getDescendants",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.deep!==!1){if(r.breadthFirst){for(var d=[],v=this.getChildren()||[];v.length>0;){var g=v.shift(),b=g.getChildren();d.push(g),b&&v.push.apply(v,Object(Bs.a)(b))}return d}{var P=this.getChildren()||[];return P.forEach(function(I){P.push.apply(P,Object(Bs.a)(I.getDescendants(r)))}),P}}return this.getChildren()||[]}},{key:"isDescendantOf",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r==null)return!1;if(d.deep!==!1){for(var v=this.getParent();v;){if(v===r)return!0;v=v.getParent()}return!1}return this.isChildOf(r)}},{key:"isAncestorOf",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r==null?!1:r.isDescendantOf(this,d)}},{key:"contains",value:function(r){return this.isAncestorOf(r)}},{key:"getCommonAncestor",value:function(){for(var r=arguments.length,d=new Array(r),v=0;v<r;v++)d[v]=arguments[v];return o.getCommonAncestor.apply(o,[this].concat(d))}},{key:"setParent",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._parent=r,r?this.store.set("parent",r.id,d):this.store.remove("parent",d),this}},{key:"setChildren",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._children=r,r!=null?this.store.set("children",r.map(function(v){return v.id}),d):this.store.remove("children",d),this}},{key:"unembed",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.children;if(v!=null&&r!=null){var g=this.getChildIndex(r);g!==-1&&(v.splice(g,1),r.setParent(null,d),this.setChildren(v,d))}return this}},{key:"embed",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.addTo(this,d),this}},{key:"addTo",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return o.isCell(r)?r.addChild(this,d):r.addCell(this,d),this}},{key:"insertTo",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return r.insertChild(this,d,v),this}},{key:"addChild",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.insertChild(r,void 0,d)}},{key:"insertChild",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(r!=null&&r!==this){var g=r.getParent(),b=this!==g,P=d;if(P==null&&(P=this.getChildCount(),b||(P-=1)),g){var I=g.getChildren();if(I){var V=I.indexOf(r);V>=0&&(r.setParent(null,v),I.splice(V,1),g.setChildren(I,v))}}var K=this.children;if(K==null?(K=[],K.push(r)):K.splice(P,0,r),r.setParent(this,v),this.setChildren(K,v),b&&this.model){var ae=this.model.getIncomingEdges(this),ue=this.model.getOutgoingEdges(this);ae&&ae.forEach(function(ve){return ve.updateParent(v)}),ue&&ue.forEach(function(ve){return ve.updateParent(v)})}this.model&&this.model.addCell(r,v)}return this}},{key:"removeFromParent",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getParent();if(d!=null){var v=d.getChildIndex(this);d.removeChildAt(v,r)}return this}},{key:"removeChild",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getChildIndex(r);return this.removeChildAt(v,d)}},{key:"removeChildAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getChildAt(r),g=this.children;return g!=null&&v!=null&&(this.unembed(v,d),v.remove(d)),v}},{key:"remove",value:function(){var r=this,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.batchUpdate("remove",function(){var v=r.getParent();v&&v.removeChild(r,d),d.deep!==!1&&r.eachChild(function(g){return g.remove(d)}),r.model&&r.model.removeCell(r,d)}),this}},{key:"transition",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";return this.animation.start(r,d,v,g)}},{key:"stopTransition",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"/";return this.animation.stop(r,d,v),this}},{key:"getTransitions",value:function(){return this.animation.get()}},{key:"translate",value:function(r,d,v){return this}},{key:"scale",value:function(r,d,v,g){return this}},{key:"addTools",value:function(r,d,v){var g=Array.isArray(r)?r:[r],b=typeof d=="string"?d:null,P=typeof d=="object"?d:typeof v=="object"?v:{};if(P.reset)return this.setTools({name:b,items:g,local:P.local},P);var I=m.cloneDeep(this.getTools());if(I==null||b==null||I.name===b)return I==null&&(I={}),I.items||(I.items=[]),I.name=b,I.items=[].concat(Object(Bs.a)(I.items),Object(Bs.a)(g)),this.setTools(Object.assign({},I),P)}},{key:"setTools",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r==null?this.removeTools():this.store.set("tools",o.normalizeTools(r),d),this}},{key:"getTools",value:function(){return this.store.get("tools")}},{key:"removeTools",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("tools",r),this}},{key:"hasTools",value:function(r){var d=this.getTools();return d==null?!1:r==null?!0:d.name===r}},{key:"hasTool",value:function(r){var d=this.getTools();return d==null?!1:d.items.some(function(v){return typeof v=="string"?v===r:v.name===r})}},{key:"removeTool",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=m.cloneDeep(this.getTools());if(v){var g=!1,b=v.items.slice(),P=function(ue){b.splice(ue,1),g=!0};if(typeof r=="number")P(r);else for(var I=b.length-1;I>=0;I-=1){var V=b[I],K=typeof V=="string"?V===r:V.name===r;K&&P(I)}g&&(v.items=b,this.setTools(v,d))}return this}},{key:"getBBox",value:function(r){return new xl}},{key:"getConnectionPoint",value:function(r,d){return new $i}},{key:"toJSON",value:function(){var r=this,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=Object.assign({},this.store.get()),g=Object.prototype.toString,b=this.isNode()?"node":this.isEdge()?"edge":"cell";if(!v.shape){var P=this.constructor;throw new Error("Unable to serialize ".concat(b,' missing "shape" prop, check the ').concat(b,' "').concat(P.name||g.call(P),'"'))}var I=this.constructor,V=d.diff===!0,K=v.attrs||{},ae=I.getDefaults(!0),ue=V?this.preprocess(ae,!0):ae,ve=ue.attrs||{},Oe={};Object.keys(v).forEach(function(Ye){var Ze=v[Ye];if(Ze!=null&&!Array.isArray(Ze)&&typeof Ze=="object"&&!m.isPlainObject(Ze))throw new Error("Can only serialize ".concat(b,' with plain-object props, but got a "').concat(g.call(Ze),'" type of key "').concat(Ye,'" on ').concat(b,' "').concat(r.id,'"'));if(Ye!=="attrs"&&Ye!=="shape"&&V){var et=ue[Ye];m.isEqual(Ze,et)&&delete v[Ye]}}),Object.keys(K).forEach(function(Ye){var Ze=K[Ye],et=ve[Ye];Object.keys(Ze).forEach(function(yt){var jt=Ze[yt],Ft=et?et[yt]:null;jt!=null&&typeof jt=="object"&&!Array.isArray(jt)?Object.keys(jt).forEach(function(Ht){var Gt=jt[Ht];if(et==null||Ft==null||!m.isObject(Ft)||!m.isEqual(Ft[Ht],Gt)){Oe[Ye]==null&&(Oe[Ye]={}),Oe[Ye][yt]==null&&(Oe[Ye][yt]={});var Jt=Oe[Ye][yt];Jt[Ht]=Gt}}):(et==null||!m.isEqual(Ft,jt))&&(Oe[Ye]==null&&(Oe[Ye]={}),Oe[Ye][yt]=jt)})});var ke=Object.assign(Object.assign({},v),{attrs:m.isEmpty(Oe)?void 0:Oe});ke.attrs==null&&delete ke.attrs;var Ie=ke;return Ie.angle===0&&delete Ie.angle,m.cloneDeep(Ie)}},{key:"clone",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!r.deep){var d=Object.assign({},this.store.get());r.keepId||delete d.id,delete d.parent,delete d.children;var v=this.constructor;return new v(d)}var g=o.deepClone(this);return g[this.id]}},{key:"findView",value:function(r){return r.renderer.findViewByCell(this)}},{key:"startBatch",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.model;return this.notify("batch:start",{name:r,data:d,cell:this}),v&&v.startBatch(r,Object.assign(Object.assign({},d),{cell:this})),this}},{key:"stopBatch",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.model;return v&&v.stopBatch(r,Object.assign(Object.assign({},d),{cell:this})),this.notify("batch:stop",{name:r,data:d,cell:this}),this}},{key:"batchUpdate",value:function(r,d,v){var g=this.model;this.startBatch(r,v,g);var b=d();return this.stopBatch(r,v,g),b}},{key:"dispose",value:function(){this.removeFromParent(),this.store.dispose()}}],[{key:"config",value:function(r){var d=this,v=r.markup,g=r.propHooks,b=r.attrHooks,P=fL(r,["markup","propHooks","attrHooks"]);if(v!=null&&(this.markup=v),g)if(this.propHooks=this.propHooks.slice(),Array.isArray(g)){var I;(I=this.propHooks).push.apply(I,Object(Bs.a)(g))}else typeof g=="function"?this.propHooks.push(g):Object.keys(g).forEach(function(V){var K=g[V];typeof K=="function"&&d.propHooks.push(K)});b&&(this.attrHooks=Object.assign(Object.assign({},this.attrHooks),b)),this.defaults=m.merge({},this.defaults,P)}},{key:"getMarkup",value:function(){return this.markup}},{key:"getDefaults",value:function(r){return r?this.defaults:m.cloneDeep(this.defaults)}},{key:"getAttrHooks",value:function(){return this.attrHooks}},{key:"applyPropHooks",value:function(r,d){return this.propHooks.reduce(function(v,g){return g?k.call(g,r,v):v},d)}}]),o}(yh,Symbol.toStringTag);Mf.defaults={},Mf.attrHooks={},Mf.propHooks=[],dte([yh.dispose()],Mf.prototype,"dispose",null),function(u){function i(c){return typeof c=="string"?{items:[c]}:Array.isArray(c)?{items:c}:c.items?c:{items:[c]}}u.normalizeTools=i}(Mf||(Mf={})),function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.isNode=="function"&&typeof t.isEdge=="function"&&typeof t.prop=="function"&&typeof t.attr=="function"}u.isCell=i}(Mf||(Mf={})),function(u){function i(){for(var r=arguments.length,d=new Array(r),v=0;v<r;v++)d[v]=arguments[v];var g=d.filter(function(P){return P!=null}).map(function(P){return P.getAncestors()}).sort(function(P,I){return P.length-I.length}),b=g.shift();return b.find(function(P){return g.every(function(I){return I.includes(P)})})||null}u.getCommonAncestor=i;function c(r){for(var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,g=0,b=r.length;g<b;g+=1){var P=r[g],I=P.getBBox(d);if(I){if(P.isNode()){var V=P.getAngle();V!=null&&V!==0&&(I=I.bbox(V))}v=v==null?I:v.union(I)}}return v}u.getCellsBBox=c;function o(r){var d=[r].concat(Object(Bs.a)(r.getDescendants({deep:!0})));return u.cloneCells(d)}u.deepClone=o;function t(r){var d=E.uniq(r),v=d.reduce(function(g,b){return g[b.id]=b.clone(),g},{});return d.forEach(function(g){var b=v[g.id];if(b.isEdge()){var P=b.getSourceCellId(),I=b.getTargetCellId();P&&v[P]&&b.setSource(Object.assign(Object.assign({},b.getSource()),{cell:v[P].id})),I&&v[I]&&b.setTarget(Object.assign(Object.assign({},b.getTarget()),{cell:v[I].id}))}var V=g.getParent();V&&v[V.id]&&b.setParent(v[V.id]);var K=g.getChildren();if(K&&K.length){var ae=K.reduce(function(ue,ve){return v[ve.id]&&ue.push(v[ve.id]),ue},[]);ae.length>0&&b.setChildren(ae)}}),v}u.cloneCells=t}(Mf||(Mf={})),function(u){u.config({propHooks:function(c){var o=c.tools,t=fL(c,["tools"]);return o&&(t.tools=u.normalizeTools(o)),t}})}(Mf||(Mf={}));var XC;(function(u){var i,c;function o(d,v){return v?i!=null&&i.exist(d):c!=null&&c.exist(d)}u.exist=o;function t(d){i=d}u.setEdgeRegistry=t;function r(d){c=d}u.setNodeRegistry=r})(XC||(XC={}));var aO=function(){function u(i){Object(xi.a)(this,u),this.ports=[],this.groups={},this.init(m.cloneDeep(i))}return Object(Pi.a)(u,[{key:"getPorts",value:function(){return this.ports}},{key:"getGroup",value:function(c){return c!=null?this.groups[c]:null}},{key:"getPortsByGroup",value:function(c){return this.ports.filter(function(o){return o.group===c||o.group==null&&c==null})}},{key:"getPortsLayoutByGroup",value:function(c,o){var t=this,r=this.getPortsByGroup(c),d=c?this.getGroup(c):null,v=d?d.position:null,g=v?v.name:null,b;if(g!=null){var P=db.registry.get(g);if(P==null)return db.registry.onNotFound(g);b=P}else b=db.presets.left;var I=r.map(function(ae){return ae&&ae.position&&ae.position.args||{}}),V=v&&v.args||{},K=b(I,o,V);return K.map(function(ae,ue){var ve=r[ue];return{portLayout:ae,portId:ve.id,portSize:ve.size,portAttrs:ve.attrs,labelSize:ve.label.size,labelLayout:t.getPortLabelLayout(ve,$i.create(ae.position),o)}})}},{key:"init",value:function(c){var o=this,t=c.groups,r=c.items;t!=null&&Object.keys(t).forEach(function(d){o.groups[d]=o.parseGroup(t[d])}),Array.isArray(r)&&r.forEach(function(d){o.ports.push(o.parsePort(d))})}},{key:"parseGroup",value:function(c){return Object.assign(Object.assign({},c),{label:this.getLabel(c,!0),position:this.getPortPosition(c.position,!0)})}},{key:"parsePort",value:function(c){var o=Object.assign({},c),t=this.getGroup(c.group)||{};return o.markup=o.markup||t.markup,o.attrs=m.merge({},t.attrs,o.attrs),o.position=this.createPosition(t,o),o.label=m.merge({},t.label,this.getLabel(o)),o.zIndex=this.getZIndex(t,o),o.size=Object.assign(Object.assign({},t.size),o.size),o}},{key:"getZIndex",value:function(c,o){return typeof o.zIndex=="number"?o.zIndex:typeof c.zIndex=="number"||c.zIndex==="auto"?c.zIndex:"auto"}},{key:"createPosition",value:function(c,o){return m.merge({name:"left",args:{}},c.position,{args:o.args})}},{key:"getPortPosition",value:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(c==null){if(o)return{name:"left",args:{}}}else{if(typeof c=="string")return{name:c,args:{}};if(Array.isArray(c))return{name:"absolute",args:{x:c[0],y:c[1]}};if(typeof c=="object")return c}return{args:{}}}},{key:"getPortLabelPosition",value:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(c==null){if(o)return{name:"left",args:{}}}else{if(typeof c=="string")return{name:c,args:{}};if(typeof c=="object")return c}return{args:{}}}},{key:"getLabel",value:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=c.label||{};return t.position=this.getPortLabelPosition(t.position,o),t}},{key:"getPortLabelLayout",value:function(c,o,t){var r=c.label.position.name||"left",d=c.label.position.args||{},v=Y1.registry.get(r)||Y1.presets.left;return v?v(o,t,d):null}}]),u}(),f2=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},zf=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object(xi.a)(this,o),t=c.call(this,r),t.initPorts(),t}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"preprocess",value:function(r,d){var v=r.x,g=r.y,b=r.width,P=r.height,I=f2(r,["x","y","width","height"]);if(v!=null||g!=null){var V=I.position;I.position=Object.assign(Object.assign({},V),{x:v!=null?v:V?V.x:0,y:g!=null?g:V?V.y:0})}if(b!=null||P!=null){var K=I.size;I.size=Object.assign(Object.assign({},K),{width:b!=null?b:K?K.width:0,height:P!=null?P:K?K.height:0})}return Object($u.a)(Object(Wu.a)(o.prototype),"preprocess",this).call(this,I,d)}},{key:"isNode",value:function(){return!0}},{key:"size",value:function(r,d,v){return r===void 0?this.getSize():typeof r=="number"?this.setSize(r,d,v):this.setSize(r,d)}},{key:"getSize",value:function(){var r=this.store.get("size");return r?Object.assign({},r):{width:1,height:1}}},{key:"setSize",value:function(r,d,v){return typeof r=="object"?this.resize(r.width,r.height,d):this.resize(r,d,v),this}},{key:"resize",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.startBatch("resize",v);var g=v.direction;if(g){var b=this.getSize();switch(g){case"left":case"right":d=b.height;break;case"top":case"bottom":r=b.width;break;default:break}var P={right:0,"top-right":0,top:1,"top-left":1,left:2,"bottom-left":2,bottom:3,"bottom-right":3},I=P[g],V=uf.normalize(this.getAngle()||0);v.absolute&&(I+=Math.floor((V+45)/90),I%=4);var K=this.getBBox(),ae;I===0?ae=K.getBottomLeft():I===1?ae=K.getCorner():I===2?ae=K.getTopRight():ae=K.getOrigin();var ue=ae.clone().rotate(-V,K.getCenter()),ve=Math.sqrt(r*r+d*d)/2,Oe=I*Math.PI/2;Oe+=Math.atan(I%2==0?d/r:r/d),Oe-=uf.toRad(V);var ke=$i.fromPolar(ve,Oe,ue),Ie=ke.clone().translate(r/-2,d/-2);this.store.set("size",{width:r,height:d},v),this.setPosition(Ie.x,Ie.y,v)}else this.store.set("size",{width:r,height:d},v);return this.stopBatch("resize",v),this}},{key:"scale",value:function(r,d,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},b=this.getBBox().scale(r,d,v==null?void 0:v);return this.startBatch("scale",g),this.setPosition(b.x,b.y,g),this.resize(b.width,b.height,g),this.stopBatch("scale"),this}},{key:"position",value:function(r,d,v){return typeof r=="number"?this.setPosition(r,d,v):this.getPosition(r)}},{key:"getPosition",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.relative){var d=this.getParent();if(d!=null&&d.isNode()){var v=this.getPosition(),g=d.getPosition();return{x:v.x-g.x,y:v.y-g.y}}}var b=this.store.get("position");return b?Object.assign({},b):{x:0,y:0}}},{key:"setPosition",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g,b,P;if(typeof r=="object"?(g=r.x,b=r.y,P=d||{}):(g=r,b=d,P=v||{}),P.relative){var I=this.getParent();if(I!=null&&I.isNode()){var V=I.getPosition();g+=V.x,b+=V.y}}if(P.deep){var K=this.getPosition();this.translate(g-K.x,b-K.y,P)}else this.store.set("position",{x:g,y:b},P);return this}},{key:"translate",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(r===0&&d===0)return this;v.translateBy=v.translateBy||this.id;var g=this.getPosition();if(v.restrict!=null&&v.translateBy===this.id){var b=this.getBBox({deep:!0}),P=v.restrict,I=g.x-b.x,V=g.y-b.y,K=Math.max(P.x+I,Math.min(P.x+P.width+I-b.width,g.x+r)),ae=Math.max(P.y+V,Math.min(P.y+P.height+V-b.height,g.y+d));r=K-g.x,d=ae-g.y}var ue={x:g.x+r,y:g.y+d};return v.tx=r,v.ty=d,v.transition?(typeof v.transition!="object"&&(v.transition={}),this.transition("position",ue,Object.assign(Object.assign({},v.transition),{interp:J1.object})),this.eachChild(function(ve){var Oe,ke=(Oe=v.exclude)===null||Oe===void 0?void 0:Oe.includes(ve);ke||ve.translate(r,d,v)})):(this.startBatch("translate",v),this.store.set("position",ue,v),this.eachChild(function(ve){var Oe,ke=(Oe=v.exclude)===null||Oe===void 0?void 0:Oe.includes(ve);ke||ve.translate(r,d,v)}),this.stopBatch("translate",v)),this}},{key:"angle",value:function(r,d){return r==null?this.getAngle():this.rotate(r,d)}},{key:"getAngle",value:function(){return this.store.get("angle",0)}},{key:"rotate",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getAngle();if(d.center){var g=this.getSize(),b=this.getPosition(),P=this.getBBox().getCenter();P.rotate(v-r,d.center);var I=P.x-g.width/2-b.x,V=P.y-g.height/2-b.y;this.startBatch("rotate",{angle:r,options:d}),this.setPosition(b.x+I,b.y+V,d),this.rotate(r,Object.assign(Object.assign({},d),{center:null})),this.stopBatch("rotate")}else this.store.set("angle",d.absolute?r:(v+r)%360,d);return this}},{key:"getBBox",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.deep){var d=this.getDescendants({deep:!0,breadthFirst:!0});return d.push(this),Mf.getCellsBBox(d)}return xl.fromPositionAndSize(this.getPosition(),this.getSize())}},{key:"getConnectionPoint",value:function(r,d){var v=this.getBBox(),g=v.getCenter(),b=r.getTerminal(d);if(b==null)return g;var P=b.port;if(!P||!this.hasPort(P))return g;var I=this.getPort(P);if(!I||!I.group)return g;var V=this.getPortsPosition(I.group),K=V[P].position,ae=$i.create(K).translate(v.getOrigin()),ue=this.getAngle();return ue&&ae.rotate(-ue,g),ae}},{key:"fit",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getChildren()||[],v=d.filter(function(ae){return ae.isNode()});if(v.length===0)return this;this.startBatch("fit-embeds",r),r.deep&&v.forEach(function(ae){return ae.fit(r)});var g=Mf.getCellsBBox(v),b=g.x,P=g.y,I=g.width,V=g.height,K=C.normalizeSides(r.padding);return b-=K.left,P-=K.top,I+=K.left+K.right,V+=K.bottom+K.top,this.store.set({position:{x:b,y:P},size:{width:I,height:V}},r),this.stopBatch("fit-embeds"),this}},{key:"portContainerMarkup",get:function(){return this.getPortContainerMarkup()}},{key:"portContainerMarkup",set:function(r){this.setPortContainerMarkup(r)}},{key:"getDefaultPortContainerMarkup",value:function(){return this.store.get("defaultPortContainerMarkup")||Cf.getPortContainerMarkup()}},{key:"getPortContainerMarkup",value:function(){return this.store.get("portContainerMarkup")||this.getDefaultPortContainerMarkup()}},{key:"setPortContainerMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("portContainerMarkup",Cf.clone(r),d),this}},{key:"portMarkup",get:function(){return this.getPortMarkup()}},{key:"portMarkup",set:function(r){this.setPortMarkup(r)}},{key:"getDefaultPortMarkup",value:function(){return this.store.get("defaultPortMarkup")||Cf.getPortMarkup()}},{key:"getPortMarkup",value:function(){return this.store.get("portMarkup")||this.getDefaultPortMarkup()}},{key:"setPortMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("portMarkup",Cf.clone(r),d),this}},{key:"portLabelMarkup",get:function(){return this.getPortLabelMarkup()}},{key:"portLabelMarkup",set:function(r){this.setPortLabelMarkup(r)}},{key:"getDefaultPortLabelMarkup",value:function(){return this.store.get("defaultPortLabelMarkup")||Cf.getPortLabelMarkup()}},{key:"getPortLabelMarkup",value:function(){return this.store.get("portLabelMarkup")||this.getDefaultPortLabelMarkup()}},{key:"setPortLabelMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("portLabelMarkup",Cf.clone(r),d),this}},{key:"ports",get:function(){var r=this.store.get("ports",{items:[]});return r.items==null&&(r.items=[]),r}},{key:"getPorts",value:function(){return m.cloneDeep(this.ports.items)}},{key:"getPortsByGroup",value:function(r){return this.getPorts().filter(function(d){return d.group===r})}},{key:"getPort",value:function(r){return m.cloneDeep(this.ports.items.find(function(d){return d.id&&d.id===r}))}},{key:"getPortAt",value:function(r){return this.ports.items[r]||null}},{key:"hasPorts",value:function(){return this.ports.items.length>0}},{key:"hasPort",value:function(r){return this.getPortIndex(r)!==-1}},{key:"getPortIndex",value:function(r){var d=typeof r=="string"?r:r.id;return d!=null?this.ports.items.findIndex(function(v){return v.id===d}):-1}},{key:"getPortsPosition",value:function(r){var d=this.getSize(),v=this.port.getPortsLayoutByGroup(r,new xl(0,0,d.width,d.height));return v.reduce(function(g,b){var P=b.portLayout;return g[b.portId]={position:Object.assign({},P.position),angle:P.angle||0},g},{})}},{key:"getPortProp",value:function(r,d){return this.getPropByPath(this.prefixPortPath(r,d))}},{key:"setPortProp",value:function(r,d,v,g){if(typeof d=="string"||Array.isArray(d)){var b=this.prefixPortPath(r,d),P=v;return this.setPropByPath(b,P,g)}var I=this.prefixPortPath(r),V=d;return this.setPropByPath(I,V,v)}},{key:"removePortProp",value:function(r,d,v){return typeof d=="string"||Array.isArray(d)?this.removePropByPath(this.prefixPortPath(r,d),v):this.removePropByPath(this.prefixPortPath(r),d)}},{key:"portProp",value:function(r,d,v,g){return d==null?this.getPortProp(r):typeof d=="string"||Array.isArray(d)?arguments.length===2?this.getPortProp(r,d):v==null?this.removePortProp(r,d,g):this.setPortProp(r,d,v,g):this.setPortProp(r,d,v)}},{key:"prefixPortPath",value:function(r,d){var v=this.getPortIndex(r);if(v===-1)throw new Error('Unable to find port with id: "'.concat(r,'"'));return d==null||d===""?["ports","items","".concat(v)]:Array.isArray(d)?["ports","items","".concat(v)].concat(Object(Bs.a)(d)):"ports/items/".concat(v,"/").concat(d)}},{key:"addPort",value:function(r,d){var v=Object(Bs.a)(this.ports.items);return v.push(r),this.setPropByPath("ports/items",v,d),this}},{key:"addPorts",value:function(r,d){return this.setPropByPath("ports/items",[].concat(Object(Bs.a)(this.ports.items),Object(Bs.a)(r)),d),this}},{key:"insertPort",value:function(r,d,v){var g=Object(Bs.a)(this.ports.items);return g.splice(r,0,d),this.setPropByPath("ports/items",g,v),this}},{key:"removePort",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.removePortAt(this.getPortIndex(r),d)}},{key:"removePortAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r>=0){var v=Object(Bs.a)(this.ports.items);v.splice(r,1),d.rewrite=!0,this.setPropByPath("ports/items",v,d)}return this}},{key:"removePorts",value:function(r,d){var v;if(Array.isArray(r)){if(v=d||{},r.length){v.rewrite=!0;var g=Object(Bs.a)(this.ports.items),b=g.filter(function(P){return!r.some(function(I){var V=typeof I=="string"?I:I.id;return P.id===V})});this.setPropByPath("ports/items",b,v)}}else v=r||{},v.rewrite=!0,this.setPropByPath("ports/items",[],v);return this}},{key:"getParsedPorts",value:function(){return this.port.getPorts()}},{key:"getParsedGroups",value:function(){return this.port.groups}},{key:"getPortsLayoutByGroup",value:function(r,d){return this.port.getPortsLayoutByGroup(r,d)}},{key:"initPorts",value:function(){var r=this;this.updatePortData(),this.on("change:ports",function(){r.processRemovedPort(),r.updatePortData()})}},{key:"processRemovedPort",value:function(){var r=this.ports,d={};r.items.forEach(function(V){V.id&&(d[V.id]=!0)});var v={},g=this.store.getPrevious("ports")||{items:[]};g.items.forEach(function(V){V.id&&!d[V.id]&&(v[V.id]=!0)});var b=this.model;if(b&&!m.isEmpty(v)){var P=b.getConnectedEdges(this,{incoming:!0});P.forEach(function(V){var K=V.getTargetPortId();K&&v[K]&&V.remove()});var I=b.getConnectedEdges(this,{outgoing:!0});I.forEach(function(V){var K=V.getSourcePortId();K&&v[K]&&V.remove()})}}},{key:"validatePorts",value:function(){var r=this,d={},v=[];return this.ports.items.forEach(function(g){typeof g!="object"&&v.push("Invalid port ".concat(g,".")),g.id==null&&(g.id=r.generatePortId()),d[g.id]&&v.push("Duplicitied port id."),d[g.id]=!0}),v}},{key:"generatePortId",value:function(){return O.uuid()}},{key:"updatePortData",value:function(){var r=this.validatePorts();if(r.length>0)throw this.store.set("ports",this.store.getPrevious("ports")),new Error(r.join(" "));var d=this.port?this.port.getPorts():null;this.port=new aO(this.ports);var v=this.port.getPorts(),g=d?v.filter(function(P){return d.find(function(I){return I.id===P.id})?null:P}):Object(Bs.a)(v),b=d?d.filter(function(P){return v.find(function(I){return I.id===P.id})?null:P}):[];g.length>0&&this.notify("ports:added",{added:g,cell:this,node:this}),b.length>0&&this.notify("ports:removed",{removed:b,cell:this,node:this})}}]),o}(Mf,Symbol.toStringTag);zf.defaults={angle:0,position:{x:0,y:0},size:{width:1,height:1}},function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.isNode=="function"&&typeof t.isEdge=="function"&&typeof t.prop=="function"&&typeof t.attr=="function"&&typeof t.size=="function"&&typeof t.position=="function"}u.isNode=i}(zf||(zf={})),function(u){u.config({propHooks:function(c){var o=c.ports,t=f2(c,["ports"]);return o&&(t.ports=Array.isArray(o)?{items:o}:o),t}})}(zf||(zf={})),function(u){u.registry=Jp.create({type:"node",process:function(c,o){if(XC.exist(c,!0))throw new Error("Node with name '".concat(c,"' was registered by anthor Edge"));if(typeof o=="function")return o.config({shape:c}),o;var t=u,r=o.inherit,d=f2(o,["inherit"]);if(r)if(typeof r=="string"){var v=this.get(r);v==null?this.onNotFound(r,"inherited"):t=v}else t=r;d.constructorName==null&&(d.constructorName=c);var g=t.define.call(t,d);return g.config({shape:c}),g}}),XC.setNodeRegistry(u.registry)}(zf||(zf={})),function(u){var i=0;function c(r){return r?O.pascalCase(r):(i+=1,"CustomNode".concat(i))}function o(r){var d=r.constructorName,v=r.overwrite,g=f2(r,["constructorName","overwrite"]),b=m.createClass(c(d||g.shape),this);return b.config(g),g.shape&&u.registry.register(g.shape,b,v),b}u.define=o;function t(r){var d=r.shape||"rect",v=u.registry.get(d);return v?new v(r):u.registry.onNotFound(d)}u.create=t}(zf||(zf={}));var fte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},ah=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"label",get:function(){return this.getLabel()},set:function(t){this.setLabel(t)}},{key:"getLabel",value:function(){return this.getAttrByPath("text/text")}},{key:"setLabel",value:function(t,r){return t==null?this.removeLabel():this.setAttrByPath("text/text",t,r),this}},{key:"removeLabel",value:function(){return this.removeAttrByPath("text/text"),this}}]),c}(zf);(function(u){u.bodyAttr={fill:"#ffffff",stroke:"#333333",strokeWidth:2},u.labelAttr={fontSize:14,fill:"#000000",refX:.5,refY:.5,textAnchor:"middle",textVerticalAnchor:"middle",fontFamily:"Arial, helvetica, sans-serif"},u.config({attrs:{text:Object.assign({},u.labelAttr)},propHooks:function(c){var o=c.label,t=fte(c,["label"]);return o&&m.setByPath(t,"attrs/text/text",o),t},visible:!0})})(ah||(ah={}));var Q9=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c};function q9(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return'<g class="rotatable"><g class="scalable"><'.concat(u,"/></g>").concat(i?"":"<text/>","</g>")}function p2(u){return"basic.".concat(u)}function JC(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"xlink:href",i=function(o){var t=o.imageUrl,r=o.imageWidth,d=o.imageHeight,v=Q9(o,["imageUrl","imageWidth","imageHeight"]);if(t!=null||r!=null||d!=null){var g=function(){if(v.attrs){var P=v.attrs.image;t!=null&&(P[u]=t),r!=null&&(P.width=r),d!=null&&(P.height=d),v.attrs.image=P}};v.attrs?(v.attrs.image==null&&(v.attrs.image={}),g()):(v.attrs={image:{}},g())}return v};return i}function Em(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=p2(u),t={constructorName:o,attrs:Object(qc.a)({".":{fill:"#ffffff",stroke:"none"}},u,{fill:"#ffffff",stroke:"#000000"})};c.ignoreMarkup||(t.markup=q9(u,c.noText===!0));var r=c.parent||ah;return r.define(m.merge(t,i,{shape:o}))}var eV=Em("rect",{attrs:{rect:{width:100,height:60}}}),pte=Em("circle",{width:60,height:60,attrs:{circle:{r:30,cx:30,cy:30}}}),Dse=Em("ellipse",{width:60,height:40,attrs:{ellipse:{rx:30,ry:20,cx:30,cy:20}}}),vte=Em("polygon",{width:60,height:40,attrs:{text:{refY:null,refDy:16}}}),tV=Em("polyline",{width:60,height:40,attrs:{text:{refY:null,refDy:16}}}),hte=Em("image",{attrs:{text:{refY:null,refDy:16}},propHooks:JC()}),pL=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},vL=Em("path",{width:60,height:60,attrs:{text:{ref:"path",refY:null,refDy:16}},propHooks:function(i){var c=i.d,o=pL(i,["d"]);return c!=null&&m.setByPath(o,"attrs/path/d",c),o}}),gte=Em("rhombus",{d:"M 30 0 L 60 30 30 60 0 30 z",attrs:{text:{refY:.5,refDy:null}}},{parent:vL,ignoreMarkup:!0}),Ise=Em("cylinder",{width:40,height:40,attrs:{path:{fill:"#FFFFFF",stroke:"#cbd2d7",strokeWidth:3,d:["M 0 10 C 10 5, 30 5, 40 10 C 30 15, 10 15, 0 10","L 0 20","C 10 25, 30 25, 40 20","L 40 10"].join(" ")},text:{refY:.7,refDy:null,fill:"#435460"}}},{parent:vL,ignoreMarkup:!0}),v2=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Zp=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object(xi.a)(this,o),c.call(this,t)}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"preprocess",value:function(r,d){var v=r.source,g=r.sourceCell,b=r.sourcePort,P=r.sourcePoint,I=r.target,V=r.targetCell,K=r.targetPort,ae=r.targetPoint,ue=v2(r,["source","sourceCell","sourcePort","sourcePoint","target","targetCell","targetPort","targetPoint"]),ve=ue,Oe=function(Ft){return typeof Ft=="string"||typeof Ft=="number"};if(v!=null)if(Mf.isCell(v))ve.source={cell:v.id};else if(Oe(v))ve.source={cell:v};else if($i.isPoint(v))ve.source=v.toJSON();else if(Array.isArray(v))ve.source={x:v[0],y:v[1]};else{var ke=v.cell;Mf.isCell(ke)?ve.source=Object.assign(Object.assign({},v),{cell:ke.id}):ve.source=v}if(g!=null||b!=null){var Ie=ve.source;if(g!=null){var Ye=Oe(g)?g:g.id;Ie?Ie.cell=Ye:Ie=ve.source={cell:Ye}}b!=null&&Ie&&(Ie.port=b)}else P!=null&&(ve.source=$i.create(P).toJSON());if(I!=null)if(Mf.isCell(I))ve.target={cell:I.id};else if(Oe(I))ve.target={cell:I};else if($i.isPoint(I))ve.target=I.toJSON();else if(Array.isArray(I))ve.target={x:I[0],y:I[1]};else{var Ze=I.cell;Mf.isCell(Ze)?ve.target=Object.assign(Object.assign({},I),{cell:Ze.id}):ve.target=I}if(V!=null||K!=null){var et=ve.target;if(V!=null){var yt=Oe(V)?V:V.id;et?et.cell=yt:et=ve.target={cell:yt}}K!=null&&et&&(et.port=K)}else ae!=null&&(ve.target=$i.create(ae).toJSON());return Object($u.a)(Object(Wu.a)(o.prototype),"preprocess",this).call(this,ve,d)}},{key:"setup",value:function(){var r=this;Object($u.a)(Object(Wu.a)(o.prototype),"setup",this).call(this),this.on("change:labels",function(d){return r.onLabelsChanged(d)}),this.on("change:vertices",function(d){return r.onVertexsChanged(d)})}},{key:"isEdge",value:function(){return!0}},{key:"disconnect",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.set({source:{x:0,y:0},target:{x:0,y:0}},r),this}},{key:"source",get:function(){return this.getSource()}},{key:"source",set:function(r){this.setSource(r)}},{key:"getSource",value:function(){return this.getTerminal("source")}},{key:"getSourceCellId",value:function(){return this.source.cell}},{key:"getSourcePortId",value:function(){return this.source.port}},{key:"setSource",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.setTerminal("source",r,d,v)}},{key:"target",get:function(){return this.getTarget()}},{key:"target",set:function(r){this.setTarget(r)}},{key:"getTarget",value:function(){return this.getTerminal("target")}},{key:"getTargetCellId",value:function(){return this.target.cell}},{key:"getTargetPortId",value:function(){return this.target.port}},{key:"setTarget",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.setTerminal("target",r,d,v)}},{key:"getTerminal",value:function(r){return Object.assign({},this.store.get(r))}},{key:"setTerminal",value:function(r,d,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(Mf.isCell(d))return this.store.set(r,m.merge({},v,{cell:d.id}),g),this;var b=d;return $i.isPoint(d)||b.x!=null&&b.y!=null?(this.store.set(r,m.merge({},v,{x:b.x,y:b.y}),g),this):(this.store.set(r,m.cloneDeep(d),g),this)}},{key:"getSourcePoint",value:function(){return this.getTerminalPoint("source")}},{key:"getTargetPoint",value:function(){return this.getTerminalPoint("target")}},{key:"getTerminalPoint",value:function(r){var d=this[r];if($i.isPointLike(d))return $i.create(d);var v=this.getTerminalCell(r);return v?v.getConnectionPoint(this,r):new $i}},{key:"getSourceCell",value:function(){return this.getTerminalCell("source")}},{key:"getTargetCell",value:function(){return this.getTerminalCell("target")}},{key:"getTerminalCell",value:function(r){if(this.model){var d=r==="source"?this.getSourceCellId():this.getTargetCellId();if(d)return this.model.getCell(d)}return null}},{key:"getSourceNode",value:function(){return this.getTerminalNode("source")}},{key:"getTargetNode",value:function(){return this.getTerminalNode("target")}},{key:"getTerminalNode",value:function(r){for(var d=this,v={};d&&d.isEdge();){if(v[d.id])return null;v[d.id]=!0,d=d.getTerminalCell(r)}return d&&d.isNode()?d:null}},{key:"router",get:function(){return this.getRouter()}},{key:"router",set:function(r){r==null?this.removeRouter():this.setRouter(r)}},{key:"getRouter",value:function(){return this.store.get("router")}},{key:"setRouter",value:function(r,d,v){return typeof r=="object"?this.store.set("router",r,d):this.store.set("router",{name:r,args:d},v),this}},{key:"removeRouter",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("router",r),this}},{key:"connector",get:function(){return this.getConnector()}},{key:"connector",set:function(r){r==null?this.removeConnector():this.setConnector(r)}},{key:"getConnector",value:function(){return this.store.get("connector")}},{key:"setConnector",value:function(r,d,v){return typeof r=="object"?this.store.set("connector",r,d):this.store.set("connector",{name:r,args:d},v),this}},{key:"removeConnector",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("connector",r)}},{key:"strategy",get:function(){return this.getStrategy()}},{key:"strategy",set:function(r){r==null?this.removeStrategy():this.setStrategy(r)}},{key:"getStrategy",value:function(){return this.store.get("strategy")}},{key:"setStrategy",value:function(r,d,v){return typeof r=="object"?this.store.set("strategy",r,d):this.store.set("strategy",{name:r,args:d},v),this}},{key:"removeStrategy",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("strategy",r)}},{key:"getDefaultLabel",value:function(){var r=this.constructor,d=this.store.get("defaultLabel")||r.defaultLabel||{};return m.cloneDeep(d)}},{key:"labels",get:function(){return this.getLabels()}},{key:"labels",set:function(r){this.setLabels(r)}},{key:"getLabels",value:function(){var r=this;return Object(Bs.a)(this.store.get("labels",[])).map(function(d){return r.parseLabel(d)})}},{key:"setLabels",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("labels",Array.isArray(r)?r:[r],d),this}},{key:"insertLabel",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=this.getLabels(),b=g.length,P=d!=null&&Number.isFinite(d)?d:b;return P<0&&(P=b+P+1),g.splice(P,0,this.parseLabel(r)),this.setLabels(g,v)}},{key:"appendLabel",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.insertLabel(r,-1,d)}},{key:"getLabelAt",value:function(r){var d=this.getLabels();return r!=null&&Number.isFinite(r)?this.parseLabel(d[r]):null}},{key:"setLabelAt",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(r!=null&&Number.isFinite(r)){var g=this.getLabels();g[r]=this.parseLabel(d),this.setLabels(g,v)}return this}},{key:"removeLabelAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getLabels(),g=r!=null&&Number.isFinite(r)?r:-1,b=v.splice(g,1);return this.setLabels(v,d),b.length?b[0]:null}},{key:"parseLabel",value:function(r){if(typeof r=="string"){var d=this.constructor;return d.parseStringLabel(r)}return r}},{key:"onLabelsChanged",value:function(r){var d=r.previous,v=r.current,g=d&&v?v.filter(function(P){return d.find(function(I){return P===I||m.isEqual(P,I)})?null:P}):v?Object(Bs.a)(v):[],b=d&&v?d.filter(function(P){return v.find(function(I){return P===I||m.isEqual(P,I)})?null:P}):d?Object(Bs.a)(d):[];g.length>0&&this.notify("labels:added",{added:g,cell:this,edge:this}),b.length>0&&this.notify("labels:removed",{removed:b,cell:this,edge:this})}},{key:"vertexMarkup",get:function(){return this.getVertexMarkup()}},{key:"vertexMarkup",set:function(r){this.setVertexMarkup(r)}},{key:"getDefaultVertexMarkup",value:function(){return this.store.get("defaultVertexMarkup")||Cf.getEdgeVertexMarkup()}},{key:"getVertexMarkup",value:function(){return this.store.get("vertexMarkup")||this.getDefaultVertexMarkup()}},{key:"setVertexMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("vertexMarkup",Cf.clone(r),d),this}},{key:"vertices",get:function(){return this.getVertices()}},{key:"vertices",set:function(r){this.setVertices(r)}},{key:"getVertices",value:function(){return Object(Bs.a)(this.store.get("vertices",[]))}},{key:"setVertices",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=Array.isArray(r)?r:[r];return this.store.set("vertices",v.map(function(g){return $i.toJSON(g)}),d),this}},{key:"insertVertex",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=this.getVertices(),b=g.length,P=d!=null&&Number.isFinite(d)?d:b;return P<0&&(P=b+P+1),g.splice(P,0,$i.toJSON(r)),this.setVertices(g,v)}},{key:"appendVertex",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.insertVertex(r,-1,d)}},{key:"getVertexAt",value:function(r){if(r!=null&&Number.isFinite(r)){var d=this.getVertices();return d[r]}return null}},{key:"setVertexAt",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(r!=null&&Number.isFinite(r)){var g=this.getVertices();g[r]=d,this.setVertices(g,v)}return this}},{key:"removeVertexAt",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getVertices(),g=r!=null&&Number.isFinite(r)?r:-1;return v.splice(g,1),this.setVertices(v,d)}},{key:"onVertexsChanged",value:function(r){var d=r.previous,v=r.current,g=d&&v?v.filter(function(P){return d.find(function(I){return $i.equals(P,I)})?null:P}):v?Object(Bs.a)(v):[],b=d&&v?d.filter(function(P){return v.find(function(I){return $i.equals(P,I)})?null:P}):d?Object(Bs.a)(d):[];g.length>0&&this.notify("vertexs:added",{added:g,cell:this,edge:this}),b.length>0&&this.notify("vertexs:removed",{removed:b,cell:this,edge:this})}},{key:"getDefaultMarkup",value:function(){return this.store.get("defaultMarkup")||Cf.getEdgeMarkup()}},{key:"getMarkup",value:function(){return Object($u.a)(Object(Wu.a)(o.prototype),"getMarkup",this).call(this)||this.getDefaultMarkup()}},{key:"toolMarkup",get:function(){return this.getToolMarkup()}},{key:"toolMarkup",set:function(r){this.setToolMarkup(r)}},{key:"getDefaultToolMarkup",value:function(){return this.store.get("defaultToolMarkup")||Cf.getEdgeToolMarkup()}},{key:"getToolMarkup",value:function(){return this.store.get("toolMarkup")||this.getDefaultToolMarkup()}},{key:"setToolMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("toolMarkup",r,d),this}},{key:"doubleToolMarkup",get:function(){return this.getDoubleToolMarkup()}},{key:"doubleToolMarkup",set:function(r){this.setDoubleToolMarkup(r)}},{key:"getDefaultDoubleToolMarkup",value:function(){return this.store.get("defaultDoubleToolMarkup")}},{key:"getDoubleToolMarkup",value:function(){return this.store.get("doubleToolMarkup")||this.getDefaultDoubleToolMarkup()}},{key:"setDoubleToolMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("doubleToolMarkup",r,d),this}},{key:"arrowheadMarkup",get:function(){return this.getArrowheadMarkup()}},{key:"arrowheadMarkup",set:function(r){this.setArrowheadMarkup(r)}},{key:"getDefaultArrowheadMarkup",value:function(){return this.store.get("defaultArrowheadMarkup")||Cf.getEdgeArrowheadMarkup()}},{key:"getArrowheadMarkup",value:function(){return this.store.get("arrowheadMarkup")||this.getDefaultArrowheadMarkup()}},{key:"setArrowheadMarkup",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.store.set("arrowheadMarkup",r,d),this}},{key:"translate",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.translateBy=v.translateBy||this.id,v.tx=r,v.ty=d,this.applyToPoints(function(g){return{x:(g.x||0)+r,y:(g.y||0)+d}},v)}},{key:"scale",value:function(r,d,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.applyToPoints(function(b){return $i.create(b).scale(r,d,v).toJSON()},g)}},{key:"applyToPoints",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},g=this.getSource(),b=this.getTarget();$i.isPointLike(g)&&(v.source=r(g)),$i.isPointLike(b)&&(v.target=r(b));var P=this.getVertices();return P.length>0&&(v.vertices=P.map(r)),this.store.set(v,d),this}},{key:"getBBox",value:function(){return this.getPolyline().bbox()}},{key:"getConnectionPoint",value:function(){return this.getPolyline().pointAt(.5)}},{key:"getPolyline",value:function(){var r=[this.getSourcePoint()].concat(Object(Bs.a)(this.getVertices().map(function(d){return $i.create(d)})),[this.getTargetPoint()]);return new Jh(r)}},{key:"updateParent",value:function(r){var d=null,v=this.getSourceCell(),g=this.getTargetCell(),b=this.getParent();return v&&g&&(v===g||v.isDescendantOf(g)?d=g:g.isDescendantOf(v)?d=v:d=Mf.getCommonAncestor(v,g)),b&&(!d||d.id!==b.id)&&b.unembed(this,r),d&&d.embed(this,r),d}},{key:"hasLoop",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getSource(),v=this.getTarget(),g=d.cell,b=v.cell;if(!g||!b)return!1;var P=g===b;if(!P&&r.deep&&this._model){var I=this.getSourceCell(),V=this.getTargetCell();I&&V&&(P=I.isAncestorOf(V,r)||V.isAncestorOf(I,r))}return P}},{key:"getFragmentAncestor",value:function(){var r=[this,this.getSourceNode(),this.getTargetNode()].filter(function(d){return d!=null});return this.getCommonAncestor.apply(this,Object(Bs.a)(r))}},{key:"isFragmentDescendantOf",value:function(r){var d=this.getFragmentAncestor();return!!d&&(d.id===r.id||d.isDescendantOf(r))}}]),o}(Mf,Symbol.toStringTag);Zp.defaults={},function(u){function i(c,o){var t=c,r=o;return t.cell===r.cell?t.port===r.port||t.port==null&&r.port==null:!1}u.equalTerminals=i}(Zp||(Zp={})),function(u){u.defaultLabel={markup:[{tagName:"rect",selector:"body"},{tagName:"text",selector:"label"}],attrs:{text:{fill:"#000",fontSize:14,textAnchor:"middle",textVerticalAnchor:"middle",pointerEvents:"none"},rect:{ref:"label",fill:"#fff",rx:3,ry:3,refWidth:1,refHeight:1,refX:0,refY:0}},position:{distance:.5}};function i(c){return{attrs:{label:{text:c}}}}u.parseStringLabel=i}(Zp||(Zp={})),function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.isNode=="function"&&typeof t.isEdge=="function"&&typeof t.prop=="function"&&typeof t.attr=="function"&&typeof t.disconnect=="function"&&typeof t.getSource=="function"&&typeof t.getTarget=="function"}u.isEdge=i}(Zp||(Zp={})),function(u){u.registry=Jp.create({type:"edge",process:function(c,o){if(XC.exist(c,!1))throw new Error("Edge with name '".concat(c,"' was registered by anthor Node"));if(typeof o=="function")return o.config({shape:c}),o;var t=u,r=o.inherit,d=r===void 0?"edge":r,v=v2(o,["inherit"]);if(typeof d=="string"){var g=this.get(d||"edge");g==null&&d?this.onNotFound(d,"inherited"):t=g}else t=d;v.constructorName==null&&(v.constructorName=c);var b=t.define.call(t,v);return b.config({shape:c}),b}}),XC.setEdgeRegistry(u.registry)}(Zp||(Zp={})),function(u){var i=0;function c(r){return r?O.pascalCase(r):(i+=1,"CustomEdge".concat(i))}function o(r){var d=r.constructorName,v=r.overwrite,g=v2(r,["constructorName","overwrite"]),b=m.createClass(c(d||g.shape),this);return b.config(g),g.shape&&u.registry.register(g.shape,b,v),b}u.define=o;function t(r){var d=r.shape||"edge",v=u.registry.get(d);return v?new v(r):u.registry.onNotFound(d)}u.create=t}(Zp||(Zp={})),function(u){var i="basic.edge";u.config({shape:i,propHooks:function(o){var t=o.label,r=o.vertices,d=v2(o,["label","vertices"]);if(t){d.labels==null&&(d.labels=[]);var v=typeof t=="string"?u.parseStringLabel(t):t;d.labels.push(v)}return r&&Array.isArray(r)&&(d.vertices=r.map(function(g){return $i.create(g).toJSON()})),d}}),u.registry.register(i,u)}(Zp||(Zp={}));var nV=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},iO=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t;return Object(xi.a)(this,o),t=c.apply(this,arguments),t.POINT_ROUNDING=2,t.markerCache={},t}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"getContainerClassName",value:function(){return[Object($u.a)(Object(Wu.a)(o.prototype),"getContainerClassName",this).call(this),this.prefixClassName("edge")].join(" ")}},{key:"sourceBBox",get:function(){var r=this.sourceView;if(!r){var d=this.cell.getSource();return new xl(d.x,d.y)}var v=this.sourceMagnet;return r.isEdgeElement(v)?new xl(this.sourceAnchor.x,this.sourceAnchor.y):r.getBBoxOfElement(v||r.container)}},{key:"targetBBox",get:function(){var r=this.targetView;if(!r){var d=this.cell.getTarget();return new xl(d.x,d.y)}var v=this.targetMagnet;return r.isEdgeElement(v)?new xl(this.targetAnchor.x,this.targetAnchor.y):r.getBBoxOfElement(v||r.container)}},{key:"isEdgeView",value:function(){return!0}},{key:"confirmUpdate",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=r;if(this.hasAction(g,"source")){if(!this.updateTerminalProperties("source"))return g;g=this.removeAction(g,"source")}if(this.hasAction(g,"target")){if(!this.updateTerminalProperties("target"))return g;g=this.removeAction(g,"target")}var b=this.graph,P=this.sourceView,I=this.targetView;return b&&(P&&!b.renderer.isViewMounted(P)||I&&!b.renderer.isViewMounted(I))?g:this.hasAction(g,"render")?(this.render(),g=this.removeAction(g,["render","update","vertices","labels","tools","widget"]),g):(g=this.handleAction(g,"vertices",function(){return d.renderVertexMarkers()}),g=this.handleAction(g,"update",function(){return d.update(null,v)}),g=this.handleAction(g,"labels",function(){return d.onLabelsChange(v)}),g=this.handleAction(g,"tools",function(){d.renderTools(),d.updateToolsPosition()}),g=this.handleAction(g,"widget",function(){return d.renderExternalTools()}),g)}},{key:"onLabelsChange",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.shouldRerenderLabels(r)?this.renderLabels():this.updateLabels(),this.updateLabelPositions()}},{key:"shouldRerenderLabels",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.cell.previous("labels");if(d==null)return!0;if("propertyPathArray"in r&&"propertyValue"in r){var v=r.propertyPathArray||[],g=v.length;if(g>1){var b=v[1];if(d[b]){if(g===2)return typeof r.propertyValue=="object"&&m.has(r.propertyValue,"markup");if(v[2]!=="markup")return!1}}}return!0}},{key:"render",value:function(){return this.empty(),this.containers={},this.renderMarkup(),this.renderLabels(),this.update(),this.renderExternalTools(),this}},{key:"renderMarkup",value:function(){var r=this.cell.markup;if(r)return typeof r=="string"?this.renderStringMarkup(r):this.renderJSONMarkup(r);throw new TypeError("Invalid edge markup.")}},{key:"renderJSONMarkup",value:function(r){var d=this.parseJSONMarkup(r,this.container);this.selectors=d.selectors,this.container.append(d.fragment)}},{key:"renderStringMarkup",value:function(r){var d=this.containers,v=Kd.createVectors(r);v.forEach(function(g){var b=g.attr("class");b&&(d[O.camelCase(b)]=g.node)}),this.renderTools(),this.renderVertexMarkers(),this.renderArrowheadMarkers(),S.append(this.container,v.map(function(g){return g.node}))}},{key:"renderLabels",value:function(){var r=this.cell,d=r.getLabels(),v=d.length,g=this.containers.labels;if(this.labelCache={},this.labelSelectors={},v<=0)return g&&g.parentNode&&g.parentNode.removeChild(g),this;g?this.empty(g):(g=S.createSvgElement("g"),this.addClass(this.prefixClassName("edge-labels"),g),this.containers.labels=g);for(var b=0,P=d.length;b<P;b+=1){var I=d[b],V=this.normalizeLabelMarkup(this.parseLabelMarkup(I.markup)),K=void 0,ae=void 0;if(V)K=V.node,ae=V.selectors;else{var ue=r.getDefaultLabel(),ve=this.normalizeLabelMarkup(this.parseLabelMarkup(ue.markup));K=ve.node,ae=ve.selectors}K.setAttribute("data-index","".concat(b)),g.appendChild(K);var Oe=this.rootSelector;if(ae[Oe])throw new Error("Ambiguous label root selector.");ae[Oe]=K,this.labelCache[b]=K,this.labelSelectors[b]=ae}return g.parentNode==null&&this.container.appendChild(g),this.updateLabels(),this.customizeLabels(),this}},{key:"parseLabelMarkup",value:function(r){return r?typeof r=="string"?this.parseLabelStringMarkup(r):this.parseJSONMarkup(r):null}},{key:"parseLabelStringMarkup",value:function(r){for(var d=Kd.createVectors(r),v=document.createDocumentFragment(),g=0,b=d.length;g<b;g+=1){var P=d[g].node;v.appendChild(P)}return{fragment:v,selectors:{}}}},{key:"normalizeLabelMarkup",value:function(r){if(r!=null){var d=r.fragment;if(!(d instanceof DocumentFragment)||!d.hasChildNodes())throw new Error("Invalid label markup.");var v,g=d.childNodes;return g.length>1||g[0].nodeName.toUpperCase()!=="G"?v=Kd.create("g").append(d):v=Kd.create(g[0]),v.addClass(this.prefixClassName("edge-label")),{node:v.node,selectors:r.selectors}}}},{key:"updateLabels",value:function(){if(this.containers.labels)for(var r=this.cell,d=r.labels,v=this.can("edgeLabelMovable"),g=r.getDefaultLabel(),b=0,P=d.length;b<P;b+=1){var I=this.labelCache[b],V=this.labelSelectors[b];I.setAttribute("cursor",v?"move":"default");var K=d[b],ae=m.merge({},g.attrs,K.attrs);this.updateAttrs(I,ae,{selectors:V,rootBBox:K.size?xl.fromSize(K.size):void 0})}}},{key:"mergeLabelAttrs",value:function(r,d,v){if(d===null)return null;if(d===void 0)return v===null?null:v===void 0?void 0:r?v:m.merge({},v);if(r)return m.merge({},v,d)}},{key:"customizeLabels",value:function(){if(this.containers.labels)for(var r=this.cell,d=r.labels,v=0,g=d.length;v<g;v+=1){var b=d[v],P=this.labelCache[v],I=this.labelSelectors[v];this.graph.hook.onEdgeLabelRendered({edge:r,label:b,container:P,selectors:I})}}},{key:"renderTools",value:function(){var r=this.containers.tools;if(r==null)return this;var d=this.cell.toolMarkup,v=this.$(r).empty();if(Cf.isStringMarkup(d)){var g=O.template(d),b=Kd.create(g());if(v.append(b.node),this.toolCache=b.node,this.options.doubleTools){var P,I=this.cell.doubleToolMarkup;Cf.isStringMarkup(I)?(g=O.template(I),P=Kd.create(g())):P=b.clone(),v.append(P.node),this.tool2Cache=P.node}}return this}},{key:"renderExternalTools",value:function(){var r=this.cell.getTools();return this.addTools(r),this}},{key:"renderVertexMarkers",value:function(){var r=this.containers.vertices;if(r==null)return this;var d=this.cell.vertexMarkup,v=this.$(r).empty();if(Cf.isStringMarkup(d)){var g=O.template(d);this.cell.getVertices().forEach(function(b,P){v.append(Kd.create(g(Object.assign({index:P},b))).node)})}return this}},{key:"renderArrowheadMarkers",value:function(){var r=this.containers.arrowheads;if(r==null)return this;var d=this.cell.arrowheadMarkup,v=this.$(r).empty();if(Cf.isStringMarkup(d)){var g=O.template(d),b=Kd.create(g({end:"source"})).node,P=Kd.create(g({end:"target"})).node;this.containers.sourceArrowhead=b,this.containers.targetArrowhead=P,v.append(b,P)}return this}},{key:"update",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.cleanCache(),this.updateConnection(d);var v=this.cell.getAttrs();return v!=null&&this.updateAttrs(this.container,v,{attrs:r===v?null:r,selectors:this.selectors}),this.updateConnectionPath(),this.updateLabelPositions(),this.updateToolsPosition(),this.updateArrowheadMarkers(),this.updateTools(d),this}},{key:"removeRedundantLinearVertices",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.cell,v=d.getVertices(),g=[this.sourceAnchor].concat(Object(Bs.a)(v),[this.targetAnchor]),b=g.length,P=new Jh(g);P.simplify({threshold:.01});var I=P.points.map(function(K){return K.toJSON()}),V=I.length;return b===V?0:(d.setVertices(I.slice(1,V-1),r),b-V)}},{key:"updateConnectionPath",value:function(){var r=this.containers;if(r.connection){var d=this.getConnectionPathData();r.connection.setAttribute("d",d)}if(r.connectionWrap){var v=this.getConnectionPathData();r.connectionWrap.setAttribute("d",v)}r.sourceMarker&&r.targetMarker&&this.translateAndAutoOrientArrows(r.sourceMarker,r.targetMarker)}},{key:"getTerminalView",value:function(r){switch(r){case"source":return this.sourceView||null;case"target":return this.targetView||null;default:throw new Error("Unknown terminal type '".concat(r,"'"))}}},{key:"getTerminalAnchor",value:function(r){switch(r){case"source":return $i.create(this.sourceAnchor);case"target":return $i.create(this.targetAnchor);default:throw new Error("Unknown terminal type '".concat(r,"'"))}}},{key:"getTerminalConnectionPoint",value:function(r){switch(r){case"source":return $i.create(this.sourcePoint);case"target":return $i.create(this.targetPoint);default:throw new Error("Unknown terminal type '".concat(r,"'"))}}},{key:"getTerminalMagnet",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};switch(r){case"source":{if(d.raw)return this.sourceMagnet;var v=this.sourceView;return v?this.sourceMagnet||v.container:null}case"target":{if(d.raw)return this.targetMagnet;var g=this.targetView;return g?this.targetMagnet||g.container:null}default:throw new Error("Unknown terminal type '".concat(r,"'"))}}},{key:"updateConnection",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.cell;if(r.translateBy&&d.isFragmentDescendantOf(r.translateBy)){var v=r.tx||0,g=r.ty||0;this.routePoints=new Jh(this.routePoints).translate(v,g).points,this.translateConnectionPoints(v,g),this.path.translate(v,g)}else{var b=d.getVertices(),P=this.findAnchors(b);this.sourceAnchor=P.source,this.targetAnchor=P.target,this.routePoints=this.findRoutePoints(b);var I=this.findConnectionPoints(this.routePoints,this.sourceAnchor,this.targetAnchor);this.sourcePoint=I.source,this.targetPoint=I.target;var V=this.findMarkerPoints(this.routePoints,this.sourcePoint,this.targetPoint);this.path=this.findPath(this.routePoints,V.source||this.sourcePoint,V.target||this.targetPoint)}this.cleanCache()}},{key:"findAnchors",value:function(r){var d=this.cell,v=d.source,g=d.target,b=r[0],P=r[r.length-1];return g.priority&&!v.priority?this.findAnchorsOrdered("target",P,"source",b):this.findAnchorsOrdered("source",b,"target",P)}},{key:"findAnchorsOrdered",value:function(r,d,v,g){var b,P,I,V=this.cell,K=V[r],ae=V[v],ue=this.getTerminalView(r),ve=this.getTerminalView(v),Oe=this.getTerminalMagnet(r),ke=this.getTerminalMagnet(v);if(ue){var Ie;d?Ie=$i.create(d):ve?Ie=ke:Ie=$i.create(ae),P=this.getAnchor(K.anchor,ue,Oe,Ie,r)}else P=$i.create(K);if(ve){var Ye=$i.create(g||P);I=this.getAnchor(ae.anchor,ve,ke,Ye,v)}else I=$i.isPointLike(ae)?$i.create(ae):new $i;return b={},Object(qc.a)(b,r,P),Object(qc.a)(b,v,I),b}},{key:"getAnchor",value:function(r,d,v,g,b){var P=d.isEdgeElement(v),I=this.graph.options.connecting,V=typeof r=="string"?{name:r}:r;if(!V){var K=P?(b==="source"?I.sourceEdgeAnchor:I.targetEdgeAnchor)||I.edgeAnchor:(b==="source"?I.sourceAnchor:I.targetAnchor)||I.anchor;V=typeof K=="string"?{name:K}:K}if(!V)throw new Error("Anchor should be specified.");var ae,ue=V.name;if(P){var ve=tO.registry.get(ue);if(typeof ve!="function")return tO.registry.onNotFound(ue);ae=k.call(ve,this,d,v,g,V.args||{},b)}else{var Oe=eO.registry.get(ue);if(typeof Oe!="function")return eO.registry.onNotFound(ue);ae=k.call(Oe,this,d,v,g,V.args||{},b)}return ae?ae.round(this.POINT_ROUNDING):new $i}},{key:"findRoutePoints",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=this.graph.options.connecting.router||ey.presets.normal,v=this.cell.getRouter()||d,g;if(typeof v=="function")g=k.call(v,this,r,{},this);else{var b=typeof v=="string"?v:v.name,P=typeof v=="string"?{}:v.args||{},I=b?ey.registry.get(b):ey.presets.normal;if(typeof I!="function")return ey.registry.onNotFound(b);g=k.call(I,this,r,P,this)}return g==null?r.map(function(V){return $i.create(V)}):g.map(function(V){return $i.create(V)})}},{key:"findConnectionPoints",value:function(r,d,v){var g=this.cell,b=this.graph.options.connecting,P=g.getSource(),I=g.getTarget(),V=this.sourceView,K=this.targetView,ae=r[0],ue=r[r.length-1],ve;if(V&&!V.isEdgeElement(this.sourceMagnet)){var Oe=this.sourceMagnet||V.container,ke=ae||v,Ie=new Qu(ke,d),Ye=P.connectionPoint||b.sourceConnectionPoint||b.connectionPoint;ve=this.getConnectionPoint(Ye,V,Oe,Ie,"source")}else ve=d;var Ze;if(K&&!K.isEdgeElement(this.targetMagnet)){var et=this.targetMagnet||K.container,yt=I.connectionPoint||b.targetConnectionPoint||b.connectionPoint,jt=ue||d,Ft=new Qu(jt,v);Ze=this.getConnectionPoint(yt,K,et,Ft,"target")}else Ze=v;return{source:ve,target:Ze}}},{key:"getConnectionPoint",value:function(r,d,v,g,b){var P=g.end;if(r==null)return P;var I=typeof r=="string"?r:r.name,V=typeof r=="string"?{}:r.args,K=vb.registry.get(I);if(typeof K!="function")return vb.registry.onNotFound(I);var ae=k.call(K,this,g,d,v,V||{},b);return ae?ae.round(this.POINT_ROUNDING):P}},{key:"updateMarkerAttr",value:function(r){var d=this.cell.getAttrs(),v=".".concat(r,"-marker"),g=d&&d[v];g&&this.updateAttrs(this.container,{},{attrs:Object(qc.a)({},v,g),selectors:this.selectors})}},{key:"findMarkerPoints",value:function(r,d,v){var g=this,b=function(et){for(var yt=g.cell.getAttrs(),jt=Object.keys(yt),Ft=0,Ht=jt.length;Ft<Ht;Ft+=1){var Gt=yt[jt[Ft]];if(Gt["".concat(et,"Marker")]||Gt["".concat(et,"-marker")]){var Jt=Gt.strokeWidth||Gt["stroke-width"];if(Jt)return parseFloat(Jt);break}}return null},P=r[0],I=r[r.length-1],V=this.containers.sourceMarker,K=this.containers.targetMarker,ae=this.markerCache,ue,ve;if(V){if(this.updateMarkerAttr("source"),ae.sourceBBox=ae.sourceBBox||S.getBBox(V),ae.sourceBBox.width>0){var Oe=S.scale(V);ue=d.clone().move(P||v,ae.sourceBBox.width*Oe.sx*-1)}}else{var ke=b("source");ke&&(ue=d.clone().move(P||v,-ke))}if(K){if(this.updateMarkerAttr("target"),ae.targetBBox=ae.targetBBox||S.getBBox(K),ae.targetBBox.width>0){var Ie=S.scale(K);ve=v.clone().move(I||d,ae.targetBBox.width*Ie.sx*-1)}}else{var Ye=b("target");Ye&&(ve=v.clone().move(I||d,-Ye))}return ae.sourcePoint=ue||d.clone(),ae.targetPoint=ve||v.clone(),{source:ue,target:ve}}},{key:"findPath",value:function(r,d,v){var g=this.cell.getConnector()||this.graph.options.connecting.connector,b,P,I;if(typeof g=="string"?b=g:(b=g.name,P=g.args),b){var V=mb.registry.get(b);if(typeof V!="function")return mb.registry.onNotFound(b);I=V}else I=mb.presets.normal;var K=k.call(I,this,d,v,r,Object.assign(Object.assign({},P),{raw:!0}),this);return typeof K=="string"?df.parse(K):K}},{key:"translateConnectionPoints",value:function(r,d){var v=this.markerCache;v.sourcePoint&&v.sourcePoint.translate(r,d),v.targetPoint&&v.targetPoint.translate(r,d),this.sourcePoint.translate(r,d),this.targetPoint.translate(r,d),this.sourceAnchor.translate(r,d),this.targetAnchor.translate(r,d)}},{key:"updateLabelPositions",value:function(){if(this.containers.labels==null)return this;var r=this.path;if(!r)return this;var d=this.cell,v=d.getLabels();if(v.length===0)return this;for(var g=d.getDefaultLabel(),b=this.normalizeLabelPosition(g.position),P=0,I=v.length;P<I;P+=1){var V=v[P],K=this.labelCache[P];if(!!K){var ae=this.normalizeLabelPosition(V.position),ue=m.merge({},b,ae),ve=this.getLabelTransformationMatrix(ue);K.setAttribute("transform",S.matrixToTransformString(ve))}}return this}},{key:"updateToolsPosition",value:function(){if(this.containers.tools==null)return this;var r="",d=this.options.toolsOffset,v=this.getConnectionLength();if(v!=null){v<this.options.shortLength&&(r="scale(.5)",d/=2);var g=this.getPointAtLength(d);if(g!=null&&S.attr(this.toolCache,"transform","translate(".concat(g.x,",").concat(g.y,") ").concat(r)),this.options.doubleTools&&v>=this.options.longLength){var b=this.options.doubleToolsOffset||d;g=this.getPointAtLength(v-b),g!=null&&S.attr(this.tool2Cache,"transform","translate(".concat(g.x,",").concat(g.y,") ").concat(r)),S.attr(this.tool2Cache,"visibility","visible")}else this.options.doubleTools&&S.attr(this.tool2Cache,"visibility","hidden")}return this}},{key:"updateArrowheadMarkers",value:function(){var r=this.containers.arrowheads;if(r==null)return this;if(r.style.display==="none")return this;var d=this.containers.sourceArrowhead,v=this.containers.targetArrowhead;if(d&&v){var g=this.getConnectionLength()||0,b=g<this.options.shortLength?.5:1;S.scale(d,b),S.scale(v,b),this.translateAndAutoOrientArrows(d,v)}return this}},{key:"updateTerminalProperties",value:function(r){var d=this.cell,v=this.graph,g=d[r],b=g&&g.cell,P="".concat(r,"View");if(!b)return this[P]=null,this.updateTerminalMagnet(r),!0;var I=v.getCellById(b);if(!I)throw new Error("Edge's ".concat(r,' node with id "').concat(b,'" not exists'));var V=I.findView(v);return V?(this[P]=V,this.updateTerminalMagnet(r),!0):!1}},{key:"updateTerminalMagnet",value:function(r){var d="".concat(r,"Magnet"),v=this.getTerminalView(r);if(v){var g=v.getMagnetFromEdgeTerminal(this.cell[r]);g===v.container&&(g=null),this[d]=g}else this[d]=null}},{key:"translateAndAutoOrientArrows",value:function(r,d){var v=this.routePoints;r&&S.translateAndAutoOrient(r,this.sourcePoint,v[0]||this.targetPoint,this.graph.view.stage),d&&S.translateAndAutoOrient(d,this.targetPoint,v[v.length-1]||this.sourcePoint,this.graph.view.stage)}},{key:"getLabelPositionAngle",value:function(r){var d=this.cell.getLabelAt(r);return d&&d.position&&typeof d.position=="object"&&d.position.angle||0}},{key:"getLabelPositionArgs",value:function(r){var d=this.cell.getLabelAt(r);if(d&&d.position&&typeof d.position=="object")return d.position.options}},{key:"getDefaultLabelPositionArgs",value:function(){var r=this.cell.getDefaultLabel();if(r&&r.position&&typeof r.position=="object")return r.position.options}},{key:"mergeLabelPositionArgs",value:function(r,d){return r===null?null:r===void 0?d===null?null:d:m.merge({},d,r)}},{key:"addLabel",value:function(r,d,v,g){var b,P,I=0,V;typeof r!="number"?(b=r.x,P=r.y,typeof d=="number"?(I=d,V=v):V=d):(b=r,P=d,typeof v=="number"?(I=v,V=g):V=v);var K=this.getDefaultLabelPositionArgs(),ae=V,ue=this.mergeLabelPositionArgs(ae,K),ve={position:this.getLabelPosition(b,P,I,ue)},Oe=-1;return this.cell.insertLabel(ve,Oe,V),Oe}},{key:"addVertex",value:function(r,d,v){var g=typeof r!="number",b=g?r.x:r,P=g?r.y:d,I=g?d:v,V={x:b,y:P},K=this.getVertexIndex(b,P);return this.cell.insertVertex(V,K,I),K}},{key:"sendToken",value:function(r,d,v){var g,b,P,I,V="linear";typeof d=="object"?(g=d.duration,b=d.reversed===!0,P=d.selector,d.rotate===!1?I="":d.rotate===!0?I="auto":d.rotate!=null&&(I="".concat(d.rotate)),d.timing&&(V=d.timing)):(g=d,b=!1,P=null),g=g||1e3;var K={dur:"".concat(g,"ms"),repeatCount:"1",calcMode:V,fill:"freeze"};if(I&&(K.rotate=I),b&&(K.keyPoints="1;0",K.keyTimes="0;1"),typeof d=="object"){var ae=d.duration,ue=d.reversed,ve=d.selector,Oe=d.rotate,ke=d.timing,Ie=nV(d,["duration","reversed","selector","rotate","timing"]);Object.keys(Ie).forEach(function(Gt){K[Gt]=Ie[Gt]})}var Ye;if(typeof P=="string"?Ye=this.findOne(P,this.container,this.selectors):Ye=this.containers.connection?this.containers.connection:this.container.querySelector("path"),!(Ye instanceof SVGPathElement))throw new Error("Token animation requires a valid connection path.");var Ze=typeof r=="string"?this.findOne(r):r;if(Ze==null)throw new Error("Token animation requires a valid token element.");var et=Ze.parentNode,yt=function(){et||S.remove(Ze)},jt=Kd.create(Ze);et||jt.appendTo(this.graph.view.stage);var Ft=K.complete;K.complete=function(Gt){yt(),v&&v(),Ft&&Ft(Gt)};var Ht=jt.animateAlongPath(K,Ye);return function(){yt(),Ht()}}},{key:"getConnection",value:function(){return this.path!=null?this.path.clone():null}},{key:"getConnectionPathData",value:function(){if(this.path==null)return"";var r=this.cache.pathCache;return m.has(r,"data")||(r.data=this.path.serialize()),r.data||""}},{key:"getConnectionSubdivisions",value:function(){if(this.path==null)return null;var r=this.cache.pathCache;return m.has(r,"segmentSubdivisions")||(r.segmentSubdivisions=this.path.getSegmentSubdivisions()),r.segmentSubdivisions}},{key:"getConnectionLength",value:function(){if(this.path==null)return 0;var r=this.cache.pathCache;return m.has(r,"length")||(r.length=this.path.length({segmentSubdivisions:this.getConnectionSubdivisions()})),r.length}},{key:"getPointAtLength",value:function(r){return this.path==null?null:this.path.pointAtLength(r,{segmentSubdivisions:this.getConnectionSubdivisions()})}},{key:"getPointAtRatio",value:function(r){return this.path==null?null:(C.isPercentage(r)&&(r=parseFloat(r)/100),this.path.pointAt(r,{segmentSubdivisions:this.getConnectionSubdivisions()}))}},{key:"getTangentAtLength",value:function(r){return this.path==null?null:this.path.tangentAtLength(r,{segmentSubdivisions:this.getConnectionSubdivisions()})}},{key:"getTangentAtRatio",value:function(r){return this.path==null?null:this.path.tangentAt(r,{segmentSubdivisions:this.getConnectionSubdivisions()})}},{key:"getClosestPoint",value:function(r){return this.path==null?null:this.path.closestPoint(r,{segmentSubdivisions:this.getConnectionSubdivisions()})}},{key:"getClosestPointLength",value:function(r){return this.path==null?null:this.path.closestPointLength(r,{segmentSubdivisions:this.getConnectionSubdivisions()})}},{key:"getClosestPointRatio",value:function(r){return this.path==null?null:this.path.closestPointNormalizedLength(r,{segmentSubdivisions:this.getConnectionSubdivisions()})}},{key:"getLabelPosition",value:function(r,d,v,g){var b={distance:0},P=0,I;typeof v=="number"?(P=v,I=g):I=v,I!=null&&(b.options=I);var V=I&&I.absoluteOffset,K=!(I&&I.absoluteDistance),ae=I&&I.absoluteDistance&&I.reverseDistance,ue=this.path,ve={segmentSubdivisions:this.getConnectionSubdivisions()},Oe=new $i(r,d),ke=ue.closestPointT(Oe,ve),Ie=this.getConnectionLength()||0,Ye=ue.lengthAtT(ke,ve);K&&(Ye=Ie>0?Ye/Ie:0),ae&&(Ye=-1*(Ie-Ye)||1),b.distance=Ye;var Ze;V||(Ze=ue.tangentAtT(ke));var et;if(Ze)et=Ze.pointOffset(Oe);else{var yt=ue.pointAtT(ke),jt=Oe.diff(yt);et={x:jt.x,y:jt.y}}return b.offset=et,b.angle=P,b}},{key:"normalizeLabelPosition",value:function(r){return typeof r=="number"?{distance:r}:r}},{key:"getLabelTransformationMatrix",value:function(r){var d=this.normalizeLabelPosition(r),v=d.options||{},g=d.angle||0,b=d.distance,P=b>0&&b<=1,I=0,V={x:0,y:0},K=d.offset;K&&(typeof K=="number"?I=K:(K.x!=null&&(V.x=K.x),K.y!=null&&(V.y=K.y)));var ae=V.x!==0||V.y!==0||I===0,ue=v.keepGradient,ve=v.ensureLegibility,Oe=this.path,ke={segmentSubdivisions:this.getConnectionSubdivisions()},Ie=P?b*this.getConnectionLength():b,Ye=Oe.tangentAtLength(Ie,ke),Ze,et=g;if(Ye){if(ae)Ze=Ye.start,Ze.translate(V);else{var yt=Ye.clone();yt.rotate(-90,Ye.start),yt.setLength(I),Ze=yt.end}ue&&(et=Ye.angle()+g,ve&&(et=uf.normalize((et+90)%180-90)))}else Ze=Oe.start,ae&&Ze.translate(V);return S.createSVGMatrix().translate(Ze.x,Ze.y).rotate(et)}},{key:"getLabelCoordinates",value:function(r){var d=this.getLabelTransformationMatrix(r);return new $i(d.e,d.f)}},{key:"getVertexIndex",value:function(r,d){var v=this.cell,g=v.getVertices(),b=this.getClosestPointLength(new $i(r,d)),P=0;if(b!=null)for(var I=g.length;P<I;P+=1){var V=g[P],K=this.getClosestPointLength(V);if(K!=null&&b<K)break}return P}},{key:"getEventArgs",value:function(r,d,v){var g=this,b=g.cell,P=b;return d==null||v==null?{e:r,view:g,edge:b,cell:P}:{e:r,x:d,y:v,view:g,edge:b,cell:P}}},{key:"notifyUnhandledMouseDown",value:function(r,d,v){this.notify("edge:unhandled:mousedown",{e:r,x:d,y:v,view:this,cell:this.cell,edge:this.cell})}},{key:"notifyMouseDown",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseDown",this).call(this,r,d,v),this.notify("edge:mousedown",this.getEventArgs(r,d,v))}},{key:"notifyMouseMove",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseMove",this).call(this,r,d,v),this.notify("edge:mousemove",this.getEventArgs(r,d,v))}},{key:"notifyMouseUp",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseUp",this).call(this,r,d,v),this.notify("edge:mouseup",this.getEventArgs(r,d,v))}},{key:"onClick",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onClick",this).call(this,r,d,v),this.notify("edge:click",this.getEventArgs(r,d,v))}},{key:"onDblClick",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onDblClick",this).call(this,r,d,v),this.notify("edge:dblclick",this.getEventArgs(r,d,v))}},{key:"onContextMenu",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onContextMenu",this).call(this,r,d,v),this.notify("edge:contextmenu",this.getEventArgs(r,d,v))}},{key:"onMouseDown",value:function(r,d,v){this.notifyMouseDown(r,d,v);var g=r.target.getAttribute("class");switch(g){case"vertex":{this.startVertexDragging(r,d,v);return}case"vertex-remove":case"vertex-remove-area":{this.handleVertexRemoving(r,d,v);return}case"connection":case"connection-wrap":{this.handleVertexAdding(r,d,v);return}case"arrowhead":{this.startArrowheadDragging(r,d,v);return}case"source-marker":case"target-marker":{this.notifyUnhandledMouseDown(r,d,v);return}default:break}this.startEdgeDragging(r,d,v)}},{key:"onMouseMove",value:function(r,d,v){var g=this.getEventData(r);switch(g.action){case"drag-vertex":{this.dragVertex(r,d,v);break}case"drag-label":{this.dragLabel(r,d,v);break}case"drag-arrowhead":{this.dragArrowhead(r,d,v);break}case"drag-edge":{this.dragEdge(r,d,v);break}default:break}return this.notifyMouseMove(r,d,v),g}},{key:"onMouseUp",value:function(r,d,v){var g=this.getEventData(r);switch(g.action){case"drag-vertex":{this.stopVertexDragging(r,d,v);break}case"drag-label":{this.stopLabelDragging(r,d,v);break}case"drag-arrowhead":{this.stopArrowheadDragging(r,d,v);break}case"drag-edge":{this.stopEdgeDragging(r,d,v);break}default:break}return this.notifyMouseUp(r,d,v),this.checkMouseleave(r),g}},{key:"onMouseOver",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseOver",this).call(this,r),this.notify("edge:mouseover",this.getEventArgs(r))}},{key:"onMouseOut",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseOut",this).call(this,r),this.notify("edge:mouseout",this.getEventArgs(r))}},{key:"onMouseEnter",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseEnter",this).call(this,r),this.notify("edge:mouseenter",this.getEventArgs(r))}},{key:"onMouseLeave",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseLeave",this).call(this,r),this.notify("edge:mouseleave",this.getEventArgs(r))}},{key:"onMouseWheel",value:function(r,d,v,g){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseWheel",this).call(this,r,d,v,g),this.notify("edge:mousewheel",Object.assign({delta:g},this.getEventArgs(r,d,v)))}},{key:"onCustomEvent",value:function(r,d,v,g){var b=S.findParentByClass(r.target,"edge-tool",this.container);if(b){if(r.stopPropagation(),this.can("useEdgeTools")){if(d==="edge:remove"){this.cell.remove({ui:!0});return}this.notify("edge:customevent",Object.assign({name:d},this.getEventArgs(r,v,g)))}this.notifyMouseDown(r,v,g)}else this.notify("edge:customevent",Object.assign({name:d},this.getEventArgs(r,v,g))),Object($u.a)(Object(Wu.a)(o.prototype),"onCustomEvent",this).call(this,r,d,v,g)}},{key:"onLabelMouseDown",value:function(r,d,v){this.notifyMouseDown(r,d,v),this.startLabelDragging(r,d,v);var g=this.getEventData(r).stopPropagation;g&&r.stopPropagation()}},{key:"startEdgeDragging",value:function(r,d,v){if(!this.can("edgeMovable")){this.notifyUnhandledMouseDown(r,d,v);return}this.setEventData(r,{x:d,y:v,moving:!1,action:"drag-edge"})}},{key:"dragEdge",value:function(r,d,v){var g=this.getEventData(r);g.moving||(g.moving=!0,this.addClass("edge-moving"),this.notify("edge:move",{e:r,x:d,y:v,view:this,cell:this.cell,edge:this.cell})),this.cell.translate(d-g.x,v-g.y,{ui:!0}),this.setEventData(r,{x:d,y:v}),this.notify("edge:moving",{e:r,x:d,y:v,view:this,cell:this.cell,edge:this.cell})}},{key:"stopEdgeDragging",value:function(r,d,v){var g=this.getEventData(r);g.moving&&(this.removeClass("edge-moving"),this.notify("edge:moved",{e:r,x:d,y:v,view:this,cell:this.cell,edge:this.cell})),g.moving=!1}},{key:"prepareArrowheadDragging",value:function(r,d){var v=this.getTerminalMagnet(r),g={action:"drag-arrowhead",x:d.x,y:d.y,isNewEdge:d.isNewEdge===!0,terminalType:r,initialMagnet:v,initialTerminal:m.clone(this.cell[r]),fallbackAction:d.fallbackAction||"revert",getValidateConnectionArgs:this.createValidateConnectionArgs(r),options:d.options};return this.beforeArrowheadDragging(g),g}},{key:"createValidateConnectionArgs",value:function(r){var d=[];d[4]=r,d[5]=this;var v,g=0,b=0;r==="source"?(g=2,v="target"):(b=2,v="source");var P=this.cell[v],I=P.cell;if(I){var V,K=d[g]=this.graph.renderer.findViewByCell(I);K&&(V=K.getMagnetFromEdgeTerminal(P),V===K.container&&(V=void 0)),d[g+1]=V}return function(ae,ue){return d[b]=ae,d[b+1]=ae.container===ue?void 0:ue,d}}},{key:"beforeArrowheadDragging",value:function(r){r.zIndex=this.cell.zIndex,this.cell.toFront();var d=this.container.style;r.pointerEvents=d.pointerEvents,d.pointerEvents="none",this.graph.options.connecting.highlight&&this.highlightAvailableMagnets(r)}},{key:"afterArrowheadDragging",value:function(r){r.zIndex!=null&&(this.cell.setZIndex(r.zIndex,{ui:!0}),r.zIndex=null);var d=this.container;d.style.pointerEvents=r.pointerEvents||"",this.graph.options.connecting.highlight&&this.unhighlightAvailableMagnets(r)}},{key:"arrowheadDragging",value:function(r,d,v,g){if(g.x=d,g.y=v,g.currentTarget!==r)if(g.currentMagnet&&g.currentView&&g.currentView.unhighlight(g.currentMagnet,{type:"magnetAdsorbed"}),g.currentView=this.graph.renderer.findViewByElem(r),g.currentView){var b;g.currentMagnet=g.currentView.findMagnet(r),g.currentMagnet&&(b=this.graph.hook).validateConnection.apply(b,Object(Bs.a)(g.getValidateConnectionArgs(g.currentView,g.currentMagnet)).concat([g.currentView.getEdgeTerminal(g.currentMagnet,d,v,this.cell,g.terminalType)]))?g.currentView.highlight(g.currentMagnet,{type:"magnetAdsorbed"}):g.currentMagnet=null}else g.currentMagnet=null;g.currentTarget=r,this.cell.prop(g.terminalType,{x:d,y:v},Object.assign(Object.assign({},g.options),{ui:!0}))}},{key:"arrowheadDragged",value:function(r,d,v){var g=r.currentView,b=r.currentMagnet;if(!(!b||!g)){g.unhighlight(b,{type:"magnetAdsorbed"});var P=r.terminalType,I=g.getEdgeTerminal(b,d,v,this.cell,P);this.cell.setTerminal(P,I,{ui:!0})}}},{key:"snapArrowhead",value:function(r,d,v){var g=this,b=this.graph,P=b.options.connecting,I=P.snap,V=P.allowEdge,K=typeof I=="object"&&I.radius||50,ae={x:r-K,y:d-K,width:2*K,height:2*K},ue=b.renderer.findViewsInArea(ae);if(V){var ve=b.renderer.findEdgeViewsInArea(ae).filter(function(Gt){return Gt!==g});ue.push.apply(ue,Object(Bs.a)(ve))}var Oe=v.closestView||null,ke=v.closestMagnet||null;v.closestView=null,v.closestMagnet=null;var Ie,Ye=Number.MAX_SAFE_INTEGER,Ze=new $i(r,d);ue.forEach(function(Gt){if(Gt.container.getAttribute("magnet")!=="false"&&(Ie=Gt.cell.getBBox().getCenter().distance(Ze),Ie<K&&Ie<Ye)){var Jt;(ke===Gt.container||(Jt=b.hook).validateConnection.apply(Jt,Object(Bs.a)(v.getValidateConnectionArgs(Gt,null)).concat([Gt.getEdgeTerminal(Gt.container,r,d,g.cell,v.terminalType)])))&&(Ye=Ie,v.closestView=Gt,v.closestMagnet=Gt.container)}Gt.container.querySelectorAll("[magnet]").forEach(function(mn){if(mn.getAttribute("magnet")!=="false"){var vn=Gt.getBBoxOfElement(mn);if(Ie=Ze.distance(vn.getCenter()),Ie<K&&Ie<Ye){var Yt;(ke===mn||(Yt=b.hook).validateConnection.apply(Yt,Object(Bs.a)(v.getValidateConnectionArgs(Gt,mn)).concat([Gt.getEdgeTerminal(mn,r,d,g.cell,v.terminalType)])))&&(Ye=Ie,v.closestView=Gt,v.closestMagnet=mn)}}})});var et,yt=v.terminalType,jt=v.closestView,Ft=v.closestMagnet,Ht=ke!==Ft;if(Oe&&Ht&&Oe.unhighlight(ke,{type:"magnetAdsorbed"}),jt){if(!Ht)return;jt.highlight(Ft,{type:"magnetAdsorbed"}),et=jt.getEdgeTerminal(Ft,r,d,this.cell,yt)}else et={x:r,y:d};this.cell.setTerminal(yt,et,{},Object.assign(Object.assign({},v.options),{ui:!0}))}},{key:"snapArrowheadEnd",value:function(r){var d=r.closestView,v=r.closestMagnet;d&&v&&(d.unhighlight(v,{type:"magnetAdsorbed"}),r.currentMagnet=d.findMagnet(v)),r.closestView=null,r.closestMagnet=null}},{key:"finishEmbedding",value:function(r){this.graph.options.embedding.enabled&&this.cell.updateParent()&&(r.zIndex=null)}},{key:"fallbackConnection",value:function(r){switch(r.fallbackAction){case"remove":this.cell.remove({ui:!0});break;case"revert":default:this.cell.prop(r.terminalType,r.initialTerminal,{ui:!0});break}}},{key:"notifyConnectionEvent",value:function(r,d){var v=r.terminalType,g=r.initialTerminal,b=this.cell[v],P=b&&!Zp.equalTerminals(g,b);if(P){var I=this.graph,V=g,K=V.cell?I.getCellById(V.cell):null,ae=V.port,ue=K?I.findViewByCell(K):null,ve=K||r.isNewEdge?null:$i.create(g).toJSON(),Oe=b,ke=Oe.cell?I.getCellById(Oe.cell):null,Ie=Oe.port,Ye=ke?I.findViewByCell(ke):null,Ze=ke?null:$i.create(b).toJSON();this.notify("edge:connected",{e:d,previousCell:K,previousPort:ae,previousView:ue,previousPoint:ve,currentCell:ke,currentView:Ye,currentPort:Ie,currentPoint:Ze,previousMagnet:r.initialMagnet,currentMagnet:r.currentMagnet,edge:this.cell,view:this,type:v,isNew:r.isNewEdge})}}},{key:"highlightAvailableMagnets",value:function(r){var d=this,v=this.graph,g=v.model.getCells();r.marked={};for(var b=function(ae,ue){var ve=v.renderer.findViewByCell(g[ae]);if(!ve)return"continue";var Oe=Array.prototype.slice.call(ve.container.querySelectorAll("[magnet]"));ve.container.getAttribute("magnet")!=="false"&&Oe.push(ve.container);var ke=Oe.filter(function(Ze){var et;return(et=v.hook).validateConnection.apply(et,Object(Bs.a)(r.getValidateConnectionArgs(ve,Ze)).concat([ve.getEdgeTerminal(Ze,r.x,r.y,d.cell,r.terminalType)]))});if(ke.length>0){for(var Ie=0,Ye=ke.length;Ie<Ye;Ie+=1)ve.highlight(ke[Ie],{type:"magnetAvailable"});ve.highlight(null,{type:"nodeAvailable"}),r.marked[ve.cell.id]=ke}},P=0,I=g.length;P<I;P+=1)var V=b(P,I)}},{key:"unhighlightAvailableMagnets",value:function(r){var d=this,v=r.marked||{};Object.keys(v).forEach(function(g){var b=d.graph.renderer.findViewByCell(g);if(b){var P=v[g];P.forEach(function(I){b.unhighlight(I,{type:"magnetAvailable"})}),b.unhighlight(null,{type:"nodeAvailable"})}}),r.marked=null}},{key:"startArrowheadDragging",value:function(r,d,v){if(!this.can("arrowheadMovable")){this.notifyUnhandledMouseDown(r,d,v);return}var g=r.target,b=g.getAttribute("data-terminal"),P=this.prepareArrowheadDragging(b,{x:d,y:v});this.setEventData(r,P)}},{key:"dragArrowhead",value:function(r,d,v){var g=this.getEventData(r);this.graph.options.connecting.snap?this.snapArrowhead(d,v,g):this.arrowheadDragging(this.getEventTarget(r),d,v,g)}},{key:"stopArrowheadDragging",value:function(r,d,v){var g=this.graph,b=this.getEventData(r);g.options.connecting.snap?this.snapArrowheadEnd(b):this.arrowheadDragged(b,d,v);var P=g.hook.validateEdge(this.cell,b.terminalType,b.initialTerminal);P?(this.finishEmbedding(b),this.notifyConnectionEvent(b,r)):this.fallbackConnection(b),this.afterArrowheadDragging(b)}},{key:"startLabelDragging",value:function(r,d,v){if(this.can("edgeLabelMovable")){var g=r.currentTarget,b=parseInt(g.getAttribute("data-index"),10),P=this.getLabelPositionAngle(b),I=this.getLabelPositionArgs(b),V=this.getDefaultLabelPositionArgs(),K=this.mergeLabelPositionArgs(I,V);this.setEventData(r,{index:b,positionAngle:P,positionArgs:K,stopPropagation:!0,action:"drag-label"})}else this.setEventData(r,{stopPropagation:!0});this.graph.view.delegateDragEvents(r,this)}},{key:"dragLabel",value:function(r,d,v){var g=this.getEventData(r),b=this.cell.getLabelAt(g.index),P=m.merge({},b,{position:this.getLabelPosition(d,v,g.positionAngle,g.positionArgs)});this.cell.setLabelAt(g.index,P)}},{key:"stopLabelDragging",value:function(r,d,v){}},{key:"handleVertexAdding",value:function(r,d,v){if(!this.can("vertexAddable")){this.notifyUnhandledMouseDown(r,d,v);return}var g=this.addVertex({x:d,y:v},{ui:!0});this.setEventData(r,{index:g,action:"drag-vertex"})}},{key:"handleVertexRemoving",value:function(r,d,v){if(!this.can("vertexDeletable")){this.notifyUnhandledMouseDown(r,d,v);return}var g=r.target,b=parseInt(g.getAttribute("idx"),10);this.cell.removeVertexAt(b)}},{key:"startVertexDragging",value:function(r,d,v){if(!this.can("vertexMovable")){this.notifyUnhandledMouseDown(r,d,v);return}var g=r.target,b=parseInt(g.getAttribute("idx"),10);this.setEventData(r,{index:b,action:"drag-vertex"})}},{key:"dragVertex",value:function(r,d,v){var g=this.getEventData(r);this.cell.setVertexAt(g.index,{x:d,y:v},{ui:!0})}},{key:"stopVertexDragging",value:function(r,d,v){}}]),o}(ov,Symbol.toStringTag);(function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.isNodeView=="function"&&typeof t.isEdgeView=="function"&&typeof t.confirmUpdate=="function"&&typeof t.update=="function"&&typeof t.getConnection=="function"}u.isEdgeView=i})(iO||(iO={})),iO.config({isSvgElement:!0,priority:1,bootstrap:["render","source","target"],actions:{view:["render"],markup:["render"],attrs:["update"],source:["source","update"],target:["target","update"],router:["update"],connector:["update"],labels:["labels"],defaultLabel:["labels"],vertices:["vertices","update"],vertexMarkup:["vertices"],toolMarkup:["tools"],tools:["widget"]},shortLength:105,longLength:155,toolsOffset:40,doubleTools:!1,doubleToolsOffset:65,sampleInterval:50}),iO.registry.register("edge",iO,!0);var ih=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t;return Object(xi.a)(this,o),t=c.apply(this,arguments),t.scalableNode=null,t.rotatableNode=null,t.scalableSelector="scalable",t.rotatableSelector="rotatable",t.defaultPortMarkup=Cf.getPortMarkup(),t.defaultPortLabelMarkup=Cf.getPortLabelMarkup(),t.defaultPortContainerMarkup=Cf.getPortContainerMarkup(),t.portsCache={},t}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"getContainerClassName",value:function(){var r=[Object($u.a)(Object(Wu.a)(o.prototype),"getContainerClassName",this).call(this),this.prefixClassName("node")];return this.can("nodeMovable")||r.push(this.prefixClassName("node-immovable")),r.join(" ")}},{key:"updateClassName",value:function(r){var d=r.target;if(d.hasAttribute("magnet")){var v=this.prefixClassName("port-unconnectable");this.can("magnetConnectable")?S.removeClass(d,v):S.addClass(d,v)}else{var g=this.prefixClassName("node-immovable");this.can("nodeMovable")?this.removeClass(g):this.addClass(g)}}},{key:"isNodeView",value:function(){return!0}},{key:"confirmUpdate",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=r;return this.hasAction(g,"ports")&&(this.removePorts(),this.cleanPortsCache()),this.hasAction(g,"render")?(this.render(),g=this.removeAction(g,["render","update","resize","translate","rotate","ports","tools"])):(g=this.handleAction(g,"resize",function(){return d.resize(v)},"update"),g=this.handleAction(g,"update",function(){return d.update()},Jg.useCSSSelector?"ports":null),g=this.handleAction(g,"translate",function(){return d.translate()}),g=this.handleAction(g,"rotate",function(){return d.rotate()}),g=this.handleAction(g,"ports",function(){return d.renderPorts()}),g=this.handleAction(g,"tools",function(){return d.renderTools()})),g}},{key:"update",value:function(r){this.cleanCache(),Jg.useCSSSelector&&this.removePorts();var d=this.cell,v=d.getSize(),g=d.getAttrs();this.updateAttrs(this.container,g,{attrs:r===g?null:r,rootBBox:new xl(0,0,v.width,v.height),selectors:this.selectors,scalableNode:this.scalableNode,rotatableNode:this.rotatableNode}),Jg.useCSSSelector&&this.renderPorts()}},{key:"renderMarkup",value:function(){var r=this.cell.markup;if(r)return typeof r=="string"?this.renderStringMarkup(r):this.renderJSONMarkup(r);throw new TypeError("Invalid node markup.")}},{key:"renderJSONMarkup",value:function(r){var d=this.parseJSONMarkup(r,this.container),v=function(b){return Array.isArray(b)?b[0]:b};this.selectors=d.selectors,this.rotatableNode=v(this.selectors[this.rotatableSelector]),this.scalableNode=v(this.selectors[this.scalableSelector]),this.container.appendChild(d.fragment)}},{key:"renderStringMarkup",value:function(r){S.append(this.container,Kd.toNodes(Kd.createVectors(r))),this.rotatableNode=S.findOne(this.container,".".concat(this.rotatableSelector)),this.scalableNode=S.findOne(this.container,".".concat(this.scalableSelector)),this.selectors={},this.rootSelector&&(this.selectors[this.rootSelector]=this.container)}},{key:"render",value:function(){return this.empty(),this.renderMarkup(),this.scalableNode&&this.update(),this.resize(),this.rotatableNode?(this.rotate(),this.translate()):this.updateTransform(),Jg.useCSSSelector||this.renderPorts(),this.renderTools(),this}},{key:"resize",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.scalableNode)return this.updateSize(r);this.cell.getAngle()&&this.rotate(),this.update()}},{key:"translate",value:function(){if(this.rotatableNode)return this.updateTranslation();this.updateTransform()}},{key:"rotate",value:function(){if(this.rotatableNode){this.updateRotation(),this.update();return}this.updateTransform()}},{key:"getTranslationString",value:function(){var r=this.cell.getPosition();return"translate(".concat(r.x,",").concat(r.y,")")}},{key:"getRotationString",value:function(){var r=this.cell.getAngle();if(r){var d=this.cell.getSize();return"rotate(".concat(r,",").concat(d.width/2,",").concat(d.height/2,")")}}},{key:"updateTransform",value:function(){var r=this.getTranslationString(),d=this.getRotationString();d&&(r+=" ".concat(d)),this.container.setAttribute("transform",r)}},{key:"updateRotation",value:function(){if(this.rotatableNode!=null){var r=this.getRotationString();r!=null?this.rotatableNode.setAttribute("transform",r):this.rotatableNode.removeAttribute("transform")}}},{key:"updateTranslation",value:function(){this.container.setAttribute("transform",this.getTranslationString())}},{key:"updateSize",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.cell,v=d.getSize(),g=d.getAngle(),b=this.scalableNode,P=!1;b.getElementsByTagName("path").length>0&&(P=!0);var I=S.getBBox(b,{recursive:P}),V=v.width/(I.width||1),K=v.height/(I.height||1);b.setAttribute("transform","scale(".concat(V,",").concat(K,")"));var ae=this.rotatableNode;if(ae!=null){var ue=ae.getAttribute("transform");if(ue){ae.setAttribute("transform","".concat(ue," rotate(").concat(-g,",").concat(v.width/2,",").concat(v.height/2,")"));var ve=S.getBBox(b,{target:this.graph.view.stage});d.prop("position",{x:ve.x,y:ve.y},Object.assign({updated:!0},r)),this.translate(),this.rotate()}}this.update()}},{key:"findPortElem",value:function(r,d){var v=r?this.portsCache[r]:null;if(!v)return null;var g=v.portContentElement,b=v.portContentSelectors||{};return this.findOne(d,g,b)}},{key:"initializePorts",value:function(){this.cleanPortsCache()}},{key:"refreshPorts",value:function(){this.removePorts(),this.cleanPortsCache(),this.renderPorts()}},{key:"cleanPortsCache",value:function(){this.portsCache={}}},{key:"removePorts",value:function(){var r=this;Object.keys(this.portsCache).forEach(function(d){var v=r.portsCache[d];S.remove(v.portElement)})}},{key:"renderPorts",value:function(){var r=this,d=this.getPortsContainer(),v=[];d.childNodes.forEach(function(P){v.push(P)});var g=E.groupBy(this.cell.getParsedPorts(),"zIndex"),b="auto";g[b]&&g[b].forEach(function(P){var I=r.getPortElement(P);d.append(I),v.push(I)}),Object.keys(g).forEach(function(P){if(P!==b){var I=parseInt(P,10);r.appendPorts(g[P],I,v)}}),this.updatePorts()}},{key:"getPortsContainer",value:function(){return this.rotatableNode||this.container}},{key:"appendPorts",value:function(r,d,v){var g=this,b=r.map(function(P){return g.getPortElement(P)});v[d]||d<0?S.before(v[Math.max(d,0)],b):S.append(this.getPortsContainer(),b)}},{key:"getPortElement",value:function(r){var d=this.portsCache[r.id];return d?d.portElement:this.createPortElement(r)}},{key:"createPortElement",value:function(r){var d=Cf.renderMarkup(this.getPortContainerMarkup()),v=d.elem;if(v==null)throw new Error("Invalid port container markup.");d=Cf.renderMarkup(this.getPortMarkup(r));var g=d.elem,b=d.selectors;if(g==null)throw new Error("Invalid port markup.");this.setAttrs({port:r.id,"port-group":r.group},g),d=Cf.renderMarkup(this.getPortLabelMarkup(r.label));var P=d.elem,I=d.selectors;if(P==null)throw new Error("Invalid port label markup.");var V;if(b&&I){for(var K in I)if(b[K]&&K!==this.rootSelector)throw new Error("Selectors within port must be unique.");V=Object.assign(Object.assign({},b),I)}else V=b||I;var ae="x6-port";return r.group&&(ae+=" x6-port-".concat(r.group)),S.addClass(v,ae),S.addClass(g,"x6-port-body"),S.addClass(P,"x6-port-label"),v.appendChild(g),v.appendChild(P),this.portsCache[r.id]={portElement:v,portSelectors:V,portLabelElement:P,portLabelSelectors:I,portContentElement:g,portContentSelectors:b},this.graph.hook.onPortRendered({port:r,node:this.cell,container:v,selectors:V,labelContainer:P,labelSelectors:I,contentContainer:g,contentSelectors:b}),v}},{key:"updatePorts",value:function(){var r=this;this.updatePortGroup();var d=this.cell.getParsedGroups();Object.keys(d).forEach(function(v){return r.updatePortGroup(v)})}},{key:"updatePortGroup",value:function(r){for(var d=xl.fromSize(this.cell.getSize()),v=this.cell.getPortsLayoutByGroup(r,d),g=0,b=v.length;g<b;g+=1){var P=v[g],I=P.portId,V=this.portsCache[I]||{},K=P.portLayout;if(this.applyPortTransform(V.portElement,K),P.portAttrs!=null){var ae={selectors:V.portSelectors||{}};P.portSize&&(ae.rootBBox=xl.fromSize(P.portSize)),this.updateAttrs(V.portElement,P.portAttrs,ae)}var ue=P.labelLayout;if(ue&&(this.applyPortTransform(V.portLabelElement,ue,-(K.angle||0)),ue.attrs)){var ve={selectors:V.portLabelSelectors||{}};P.labelSize&&(ve.rootBBox=xl.fromSize(P.labelSize)),this.updateAttrs(V.portLabelElement,ue.attrs,ve)}}}},{key:"applyPortTransform",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=d.angle,b=d.position,P=S.createSVGMatrix().rotate(v).translate(b.x||0,b.y||0).rotate(g||0);S.transform(r,P,{absolute:!0})}},{key:"getPortContainerMarkup",value:function(){return this.cell.getPortContainerMarkup()||this.defaultPortContainerMarkup}},{key:"getPortMarkup",value:function(r){return r.markup||this.cell.portMarkup||this.defaultPortMarkup}},{key:"getPortLabelMarkup",value:function(r){return r.markup||this.cell.portLabelMarkup||this.defaultPortLabelMarkup}},{key:"getEventArgs",value:function(r,d,v){var g=this,b=g.cell,P=b;return d==null||v==null?{e:r,view:g,node:b,cell:P}:{e:r,x:d,y:v,view:g,node:b,cell:P}}},{key:"notifyMouseDown",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseDown",this).call(this,r,d,v),this.notify("node:mousedown",this.getEventArgs(r,d,v))}},{key:"notifyMouseMove",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseMove",this).call(this,r,d,v),this.notify("node:mousemove",this.getEventArgs(r,d,v))}},{key:"notifyMouseUp",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseUp",this).call(this,r,d,v),this.notify("node:mouseup",this.getEventArgs(r,d,v))}},{key:"onClick",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onClick",this).call(this,r,d,v),this.notify("node:click",this.getEventArgs(r,d,v))}},{key:"onDblClick",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onDblClick",this).call(this,r,d,v),this.notify("node:dblclick",this.getEventArgs(r,d,v))}},{key:"onContextMenu",value:function(r,d,v){Object($u.a)(Object(Wu.a)(o.prototype),"onContextMenu",this).call(this,r,d,v),this.notify("node:contextmenu",this.getEventArgs(r,d,v))}},{key:"onMouseDown",value:function(r,d,v){if(!this.isPropagationStopped(r)){var g=r.target;S.clickable(g)||S.isInputElement(g)||(this.notifyMouseDown(r,d,v),this.startNodeDragging(r,d,v))}}},{key:"onMouseMove",value:function(r,d,v){var g=this.getEventData(r),b=g.action;if(b==="magnet")this.dragMagnet(r,d,v);else{if(b==="move"){var P=g,I=P.targetView||this;I.dragNode(r,d,v),I.notify("node:moving",{e:r,x:d,y:v,view:I,cell:I.cell,node:I.cell})}this.notifyMouseMove(r,d,v)}this.setEventData(r,g)}},{key:"onMouseUp",value:function(r,d,v){var g=this.getEventData(r),b=g.action;if(b==="magnet")this.stopMagnetDragging(r,d,v);else{var P=r.target;if(S.clickable(P)||S.isInputElement(P))return;if(this.notifyMouseUp(r,d,v),b==="move"){var I=g,V=I.targetView||this;V.stopNodeDragging(r,d,v)}}var K=g.targetMagnet;K&&this.onMagnetClick(r,K,d,v),this.checkMouseleave(r)}},{key:"onMouseOver",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseOver",this).call(this,r),this.notify("node:mouseover",this.getEventArgs(r))}},{key:"onMouseOut",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseOut",this).call(this,r),this.notify("node:mouseout",this.getEventArgs(r))}},{key:"onMouseEnter",value:function(r){this.updateClassName(r),Object($u.a)(Object(Wu.a)(o.prototype),"onMouseEnter",this).call(this,r),this.notify("node:mouseenter",this.getEventArgs(r))}},{key:"onMouseLeave",value:function(r){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseLeave",this).call(this,r),this.notify("node:mouseleave",this.getEventArgs(r))}},{key:"onMouseWheel",value:function(r,d,v,g){Object($u.a)(Object(Wu.a)(o.prototype),"onMouseWheel",this).call(this,r,d,v,g),this.notify("node:mousewheel",Object.assign({delta:g},this.getEventArgs(r,d,v)))}},{key:"onMagnetClick",value:function(r,d,v,g){var b=this.graph.view.getMouseMovedCount(r);b>this.graph.options.clickThreshold||this.notify("node:magnet:click",Object.assign({magnet:d},this.getEventArgs(r,v,g)))}},{key:"onMagnetDblClick",value:function(r,d,v,g){this.notify("node:magnet:dblclick",Object.assign({magnet:d},this.getEventArgs(r,v,g)))}},{key:"onMagnetContextMenu",value:function(r,d,v,g){this.notify("node:magnet:contextmenu",Object.assign({magnet:d},this.getEventArgs(r,v,g)))}},{key:"onMagnetMouseDown",value:function(r,d,v,g){this.startMagnetDragging(r,v,g)}},{key:"onCustomEvent",value:function(r,d,v,g){this.notify("node:customevent",Object.assign({name:d},this.getEventArgs(r,v,g))),Object($u.a)(Object(Wu.a)(o.prototype),"onCustomEvent",this).call(this,r,d,v,g)}},{key:"prepareEmbedding",value:function(r){var d=this.getEventData(r),v=d.cell||this.cell,g=this.graph.findViewByCell(v),b=this.graph.snapToGrid(r.clientX,r.clientY);this.notify("node:embed",{e:r,node:v,view:g,cell:v,x:b.x,y:b.y,currentParent:v.getParent()})}},{key:"processEmbedding",value:function(r,d){var v=this,g=d.cell||this.cell,b=d.graph||this.graph,P=b.options.embedding,I=P.findParent,V=typeof I=="function"?k.call(I,b,{view:this,node:this.cell}).filter(function(et){return Mf.isCell(et)&&v.cell.id!==et.id&&!et.isDescendantOf(v.cell)}):b.model.getNodesUnderNode(g,{by:I});if(P.frontOnly&&V.length>0){var K=E.groupBy(V,"zIndex"),ae=E.max(Object.keys(K).map(function(et){return parseInt(et,10)}));ae&&(V=K[ae])}V=V.filter(function(et){return et.visible});for(var ue=null,ve=d.candidateEmbedView,Oe=P.validate,ke=V.length-1;ke>=0;ke-=1){var Ie=V[ke];if(ve&&ve.cell.id===Ie.id){ue=ve;break}else{var Ye=Ie.findView(b);if(k.call(Oe,b,{child:this.cell,parent:Ye.cell,childView:this,parentView:Ye})){ue=Ye;break}}}this.clearEmbedding(d),ue&&ue.highlight(null,{type:"embedding"}),d.candidateEmbedView=ue;var Ze=b.snapToGrid(r.clientX,r.clientY);this.notify("node:embedding",{e:r,cell:g,node:g,view:b.findViewByCell(g),x:Ze.x,y:Ze.y,currentParent:g.getParent(),candidateParent:ue?ue.cell:null})}},{key:"clearEmbedding",value:function(r){var d=r.candidateEmbedView;d&&(d.unhighlight(null,{type:"embedding"}),r.candidateEmbedView=null)}},{key:"finalizeEmbedding",value:function(r,d){this.graph.startBatch("embedding");var v=d.cell||this.cell,g=d.graph||this.graph,b=g.findViewByCell(v),P=v.getParent(),I=d.candidateEmbedView;if(I?(I.unhighlight(null,{type:"embedding"}),d.candidateEmbedView=null,(P==null||P.id!==I.cell.id)&&I.cell.insertChild(v,void 0,{ui:!0})):P&&P.unembed(v,{ui:!0}),g.model.getConnectedEdges(v,{deep:!0}).forEach(function(K){K.updateParent({ui:!0})}),b&&I){var V=g.snapToGrid(r.clientX,r.clientY);b.notify("node:embedded",{e:r,cell:v,x:V.x,y:V.y,node:v,view:g.findViewByCell(v),previousParent:P,currentParent:v.getParent()})}this.graph.stopBatch("embedding")}},{key:"getDelegatedView",value:function(){for(var r=this.cell,d=this;d&&!r.isEdge();){if(!r.hasParent()||d.can("stopDelegateOnDragging"))return d;r=r.getParent(),d=this.graph.renderer.findViewByCell(r)}return null}},{key:"startMagnetDragging",value:function(r,d,v){if(!!this.can("magnetConnectable")){r.stopPropagation();var g=r.currentTarget,b=this.graph;this.setEventData(r,{targetMagnet:g}),b.hook.validateMagnet(this,g,r)?(b.options.magnetThreshold<=0&&this.startConnectting(r,g,d,v),this.setEventData(r,{action:"magnet"}),this.stopPropagation(r)):((S.hasClass(g,"x6-port-body")||dv()(g).closest(".x6-port-body").length>0)&&this.stopPropagation(r),this.onMouseDown(r,d,v)),b.view.delegateDragEvents(r,this)}}},{key:"startConnectting",value:function(r,d,v,g){this.graph.model.startBatch("add-edge");var b=this.createEdgeFromMagnet(d,v,g);b.notifyMouseDown(r,v,g),b.setEventData(r,b.prepareArrowheadDragging("target",{x:v,y:g,isNewEdge:!0,fallbackAction:"remove"})),this.setEventData(r,{edgeView:b})}},{key:"createEdgeFromMagnet",value:function(r,d,v){var g=this.graph,b=g.model,P=g.hook.getDefaultEdge(this,r);return P.setSource(Object.assign(Object.assign({},P.getSource()),this.getEdgeTerminal(r,d,v,P,"source"))),P.setTarget(Object.assign(Object.assign({},P.getTarget()),{x:d,y:v})),P.addTo(b,{async:!1,ui:!0}),P.findView(g)}},{key:"dragMagnet",value:function(r,d,v){var g=this.getEventData(r),b=g.edgeView;if(b)b.onMouseMove(r,d,v),this.autoScrollGraph(r.clientX,r.clientY);else{var P=this.graph,I=P.options.magnetThreshold,V=this.getEventTarget(r),K=g.targetMagnet;if(I==="onleave"){if(K===V||K.contains(V))return}else if(P.view.getMouseMovedCount(r)<=I)return;this.startConnectting(r,K,d,v)}}},{key:"stopMagnetDragging",value:function(r,d,v){var g=this.eventData(r),b=g.edgeView;b&&(b.onMouseUp(r,d,v),this.graph.model.stopBatch("add-edge"))}},{key:"notifyUnhandledMouseDown",value:function(r,d,v){this.notify("node:unhandled:mousedown",{e:r,x:d,y:v,view:this,cell:this.cell,node:this.cell})}},{key:"notifyNodeMove",value:function(r,d,v,g,b){var P=this,I=[b],V=this.graph.selection.widget;if(V&&V.options.movable){var K=this.graph.getSelectedCells();K.includes(b)&&(I=K.filter(function(ae){return ae.isNode()}))}I.forEach(function(ae){P.notify(r,{e:d,x:v,y:g,cell:ae,node:ae,view:ae.findView(P.graph)})})}},{key:"startNodeDragging",value:function(r,d,v){var g=this.getDelegatedView();if(g==null||!g.can("nodeMovable"))return this.notifyUnhandledMouseDown(r,d,v);this.setEventData(r,{targetView:g,action:"move"});var b=$i.create(g.cell.getPosition());g.setEventData(r,{moving:!1,offset:b.diff(d,v),restrict:this.graph.hook.getRestrictArea(g)})}},{key:"dragNode",value:function(r,d,v){var g=this.cell,b=this.graph,P=b.getGridSize(),I=this.getEventData(r),V=I.offset,K=I.restrict;I.moving||(I.moving=!0,this.addClass("node-moving"),this.notifyNodeMove("node:move",r,d,v,this.cell)),this.autoScrollGraph(r.clientX,r.clientY);var ae=Cv.snapToGrid(d+V.x,P),ue=Cv.snapToGrid(v+V.y,P);g.setPosition(ae,ue,{restrict:K,deep:!0,ui:!0}),b.options.embedding.enabled&&(I.embedding||(this.prepareEmbedding(r),I.embedding=!0),this.processEmbedding(r,I))}},{key:"stopNodeDragging",value:function(r,d,v){var g=this.getEventData(r);g.embedding&&this.finalizeEmbedding(r,g),g.moving&&(this.removeClass("node-moving"),this.notifyNodeMove("node:moved",r,d,v,this.cell)),g.moving=!1,g.embedding=!1}},{key:"autoScrollGraph",value:function(r,d){var v=this.graph.scroller.widget;v&&v.autoScroll(r,d)}}]),o}(ov,Symbol.toStringTag);(function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.isNodeView=="function"&&typeof t.isEdgeView=="function"&&typeof t.confirmUpdate=="function"&&typeof t.update=="function"&&typeof t.findPortElem=="function"&&typeof t.resize=="function"&&typeof t.rotate=="function"&&typeof t.translate=="function"}u.isNodeView=i})(ih||(ih={})),ih.config({isSvgElement:!0,priority:0,bootstrap:["render"],actions:{view:["render"],markup:["render"],attrs:["update"],size:["resize","ports","tools"],angle:["rotate","tools"],position:["translate","tools"],ports:["ports"],tools:["tools"]}}),ih.registry.register("node",ih,!0);var rV=p2("text"),K_=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c)}(Em("text",{view:rV,attrs:{text:{fontSize:18,fill:"#000000",stroke:null,refX:.5,refY:.5}}},{noText:!0}));(function(u){var i=function(c){Object(Cc.a)(t,c);var o=Object(Ec.a)(t);function t(){return Object(xi.a)(this,t),o.apply(this,arguments)}return Object(Pi.a)(t,[{key:"confirmUpdate",value:function(d){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=Object($u.a)(Object(Wu.a)(t.prototype),"confirmUpdate",this).call(this,d,v);return this.hasAction(g,"scale")&&(this.resize(),g=this.removeAction(g,"scale")),g}}]),t}(ih);u.View=i,i.config({actions:{attrs:["scale"]}}),ih.registry.register(rV,i)})(K_||(K_={}));var aV=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object(xi.a)(this,c),t=i.call(this),t.length=0,t.comparator=r.comparator||"zIndex",t.clean(),o&&t.reset(o,{silent:!0}),t}return Object(Pi.a)(c,[{key:"toJSON",value:function(){return this.cells.map(function(t){return t.toJSON()})}},{key:"add",value:function(t,r,d){var v=this,g,b;typeof r=="number"?(g=r,b=Object.assign({merge:!1},d)):(g=this.length,b=Object.assign({merge:!1},r)),g>this.length&&(g=this.length),g<0&&(g+=this.length+1);var P=Array.isArray(t)?t:[t],I=this.comparator&&typeof r!="number"&&b.sort!==!1,V=this.comparator||null,K=!1,ae=[],ue=[];if(P.forEach(function(Oe){var ke=v.get(Oe);ke?b.merge&&!Oe.isSameStore(ke)&&(ke.setProp(Oe.getProp(),d),ue.push(ke),I&&!K&&(V==null||typeof V=="function"?K=ke.hasChanged():typeof V=="string"?K=ke.hasChanged(V):K=V.some(function(Ie){return ke.hasChanged(Ie)}))):(ae.push(Oe),v.reference(Oe))}),ae.length){var ve;I&&(K=!0),(ve=this.cells).splice.apply(ve,[g,0].concat(ae)),this.length=this.cells.length}return K&&this.sort({silent:!0}),b.silent||(ae.forEach(function(Oe,ke){var Ie={cell:Oe,index:g+ke,options:b};v.trigger("added",Ie),b.dryrun||Oe.notify("added",Object.assign({},Ie))}),K&&this.trigger("sorted"),(ae.length||ue.length)&&this.trigger("updated",{added:ae,merged:ue,removed:[],options:b})),this}},{key:"remove",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=Array.isArray(t)?t:[t],v=this.removeCells(d,r);return!r.silent&&v.length>0&&this.trigger("updated",{options:r,removed:v,added:[],merged:[]}),Array.isArray(t)?v:v[0]}},{key:"removeCells",value:function(t,r){for(var d=[],v=0;v<t.length;v+=1){var g=this.get(t[v]);if(g!=null){var b=this.cells.indexOf(g);this.cells.splice(b,1),this.length-=1,delete this.map[g.id],d.push(g),this.unreference(g),r.dryrun||g.remove(),r.silent||(this.trigger("removed",{cell:g,index:b,options:r}),r.dryrun||g.notify("removed",{cell:g,index:b,options:r}))}}return d}},{key:"reset",value:function(t){var r=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.cells.slice();if(v.forEach(function(I){return r.unreference(I)}),this.clean(),this.add(t,Object.assign({silent:!0},d)),!d.silent){var g=this.cells.slice();this.trigger("reseted",{options:d,previous:v,current:g});var b=[],P=[];g.forEach(function(I){var V=v.some(function(K){return K.id===I.id});V||b.push(I)}),v.forEach(function(I){var V=g.some(function(K){return K.id===I.id});V||P.push(I)}),this.trigger("updated",{options:d,added:b,removed:P,merged:[]})}return this}},{key:"push",value:function(t,r){return this.add(t,this.length,r)}},{key:"pop",value:function(t){var r=this.at(this.length-1);return this.remove(r,t)}},{key:"unshift",value:function(t,r){return this.add(t,0,r)}},{key:"shift",value:function(t){var r=this.at(0);return this.remove(r,t)}},{key:"get",value:function(t){if(t==null)return null;var r=typeof t=="string"||typeof t=="number"?t:t.id;return this.map[r]||null}},{key:"has",value:function(t){return this.get(t)!=null}},{key:"at",value:function(t){return t<0&&(t+=this.length),this.cells[t]||null}},{key:"first",value:function(){return this.at(0)}},{key:"last",value:function(){return this.at(-1)}},{key:"indexOf",value:function(t){return this.cells.indexOf(t)}},{key:"toArray",value:function(){return this.cells.slice()}},{key:"sort",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.comparator!=null&&(this.cells=E.sortBy(this.cells,this.comparator),t.silent||this.trigger("sorted")),this}},{key:"clone",value:function(){var t=this.constructor;return new t(this.cells.slice(),{comparator:this.comparator})}},{key:"reference",value:function(t){this.map[t.id]=t,t.on("*",this.notifyCellEvent,this)}},{key:"unreference",value:function(t){t.off("*",this.notifyCellEvent,this),delete this.map[t.id]}},{key:"notifyCellEvent",value:function(t,r){var d=r.cell;this.trigger("cell:".concat(t),r),d&&(d.isNode()?this.trigger("node:".concat(t),Object.assign(Object.assign({},r),{node:d})):d.isEdge()&&this.trigger("edge:".concat(t),Object.assign(Object.assign({},r),{edge:d})))}},{key:"clean",value:function(){this.length=0,this.cells=[],this.map={}}}]),c}(yh),Ag=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Object(xi.a)(this,o),t=c.call(this),t.batches={},t.addings=new WeakMap,t.nodes={},t.edges={},t.outgoings={},t.incomings={},t.collection=new aV(r),t.setup(),t}return Object(Pi.a)(o,[{key:i,get:function(){return o.toStringTag}},{key:"notify",value:function(r,d){this.trigger(r,d);var v=this.graph;return v&&(r==="sorted"||r==="reseted"||r==="updated"?v.trigger("model:".concat(r),d):v.trigger(r,d)),this}},{key:"setup",value:function(){var r=this,d=this.collection;d.on("sorted",function(){return r.notify("sorted",null)}),d.on("updated",function(v){return r.notify("updated",v)}),d.on("cell:change:zIndex",function(){return r.sortOnChangeZ()}),d.on("added",function(v){var g=v.cell;r.onCellAdded(g)}),d.on("removed",function(v){var g=v.cell;r.onCellRemoved(g,v.options),r.notify("cell:removed",v),g.isNode()?r.notify("node:removed",Object.assign(Object.assign({},v),{node:g})):g.isEdge()&&r.notify("edge:removed",Object.assign(Object.assign({},v),{edge:g}))}),d.on("reseted",function(v){r.onReset(v.current),r.notify("reseted",v)}),d.on("edge:change:source",function(v){var g=v.edge;return r.onEdgeTerminalChanged(g,"source")}),d.on("edge:change:target",function(v){var g=v.edge;r.onEdgeTerminalChanged(g,"target")})}},{key:"sortOnChangeZ",value:function(){this.collection.sort()}},{key:"onCellAdded",value:function(r){var d=r.id;r.isEdge()?(r.updateParent(),this.edges[d]=!0,this.onEdgeTerminalChanged(r,"source"),this.onEdgeTerminalChanged(r,"target")):this.nodes[d]=!0}},{key:"onCellRemoved",value:function(r,d){var v=r.id;if(r.isEdge()){delete this.edges[v];var g=r.getSource(),b=r.getTarget();if(g&&g.cell){var P=this.outgoings[g.cell],I=P?P.indexOf(v):-1;I>=0&&(P.splice(I,1),P.length===0&&delete this.outgoings[g.cell])}if(b&&b.cell){var V=this.incomings[b.cell],K=V?V.indexOf(v):-1;K>=0&&(V.splice(K,1),V.length===0&&delete this.incomings[b.cell])}}else delete this.nodes[v];d.clear||(d.disconnectEdges?this.disconnectConnectedEdges(r,d):this.removeConnectedEdges(r,d)),r.model===this&&(r.model=null)}},{key:"onReset",value:function(r){var d=this;this.nodes={},this.edges={},this.outgoings={},this.incomings={},r.forEach(function(v){return d.onCellAdded(v)})}},{key:"onEdgeTerminalChanged",value:function(r,d){var v=d==="source"?this.outgoings:this.incomings,g=r.previous(d);if(g&&g.cell){var b=Mf.isCell(g.cell)?g.cell.id:g.cell,P=v[b],I=P?P.indexOf(r.id):-1;I>=0&&(P.splice(I,1),P.length===0&&delete v[b])}var V=r.getTerminal(d);if(V&&V.cell){var K=Mf.isCell(V.cell)?V.cell.id:V.cell,ae=v[K]||[],ue=ae.indexOf(r.id);ue===-1&&ae.push(r.id),v[K]=ae}}},{key:"prepareCell",value:function(r,d){return!r.model&&(!d||!d.dryrun)&&(r.model=this),r.zIndex==null&&r.setZIndex(this.getMaxZIndex()+1,{silent:!0}),r}},{key:"resetCells",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.map(function(g){return d.prepareCell(g,Object.assign(Object.assign({},v),{dryrun:!0}))}),this.collection.reset(r,v),r.map(function(g){return d.prepareCell(g,{options:v})}),this}},{key:"clear",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.getCells();if(d.length===0)return this;var v=Object.assign(Object.assign({},r),{clear:!0});return this.batchUpdate("clear",function(){for(var g=d.sort(function(P,I){var V=P.isEdge()?1:2,K=I.isEdge()?1:2;return V-K});g.length>0;){var b=g.shift();b&&b.remove(v)}},v),this}},{key:"addNode",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=zf.isNode(r)?r:this.createNode(r);return this.addCell(v,d),v}},{key:"createNode",value:function(r){return zf.create(r)}},{key:"addEdge",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=Zp.isEdge(r)?r:this.createEdge(r);return this.addCell(v,d),v}},{key:"createEdge",value:function(r){return Zp.create(r)}},{key:"addCell",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Array.isArray(r)?this.addCells(r,v):(!this.collection.has(r)&&!this.addings.has(r)&&(this.addings.set(r,!0),this.collection.add(this.prepareCell(r,v),v),r.eachChild(function(g){return d.addCell(g,v)}),this.addings.delete(r)),this)}},{key:"addCells",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=r.length;if(g===0)return this;var b=Object.assign(Object.assign({},v),{position:g-1,maxPosition:g-1});return this.startBatch("add",Object.assign(Object.assign({},b),{cells:r})),r.forEach(function(P){d.addCell(P,b),b.position-=1}),this.stopBatch("add",Object.assign(Object.assign({},b),{cells:r})),this}},{key:"removeCell",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=typeof r=="string"?this.getCell(r):r;return v&&this.has(v)?this.collection.remove(v,d):null}},{key:"updateCellId",value:function(r,d){this.startBatch("update",{id:d}),r.prop("id",d);var v=r.clone({keepId:!0});this.addCell(v);var g=this.getConnectedEdges(r);return g.forEach(function(b){var P=b.getSourceCell(),I=b.getTargetCell();P===r&&b.setSource(Object.assign(Object.assign({},b.getSource()),{cell:d})),I===r&&b.setTarget(Object.assign(Object.assign({},b.getTarget()),{cell:d}))}),this.removeCell(r),this.stopBatch("update",{id:d}),v}},{key:"removeCells",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.length?this.batchUpdate("remove",function(){return r.map(function(g){return d.removeCell(g,v)})}):[]}},{key:"removeConnectedEdges",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getConnectedEdges(r);return v.forEach(function(g){g.remove(d)}),v}},{key:"disconnectConnectedEdges",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=typeof r=="string"?r:r.id;this.getConnectedEdges(r).forEach(function(g){var b=g.getSourceCell(),P=g.getTargetCell();b&&b.id===v&&g.setSource({x:0,y:0},d),P&&P.id===v&&g.setTarget({x:0,y:0},d)})}},{key:"has",value:function(r){return this.collection.has(r)}},{key:"total",value:function(){return this.collection.length}},{key:"indexOf",value:function(r){return this.collection.indexOf(r)}},{key:"getCell",value:function(r){return this.collection.get(r)}},{key:"getCells",value:function(){return this.collection.toArray()}},{key:"getFirstCell",value:function(){return this.collection.first()}},{key:"getLastCell",value:function(){return this.collection.last()}},{key:"getMinZIndex",value:function(){var r=this.collection.first();return r&&r.getZIndex()||0}},{key:"getMaxZIndex",value:function(){var r=this.collection.last();return r&&r.getZIndex()||0}},{key:"getCellsFromCache",value:function(r){var d=this;return r?Object.keys(r).map(function(v){return d.getCell(v)}).filter(function(v){return v!=null}):[]}},{key:"getNodes",value:function(){return this.getCellsFromCache(this.nodes)}},{key:"getEdges",value:function(){return this.getCellsFromCache(this.edges)}},{key:"getOutgoingEdges",value:function(r){var d=this,v=typeof r=="string"?r:r.id,g=this.outgoings[v];return g?g.map(function(b){return d.getCell(b)}).filter(function(b){return b&&b.isEdge()}):null}},{key:"getIncomingEdges",value:function(r){var d=this,v=typeof r=="string"?r:r.id,g=this.incomings[v];return g?g.map(function(b){return d.getCell(b)}).filter(function(b){return b&&b.isEdge()}):null}},{key:"getConnectedEdges",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=[],b=typeof r=="string"?this.getCell(r):r;if(b==null)return g;var P={},I=v.indirect,V=v.incoming,K=v.outgoing;V==null&&K==null&&(V=K=!0);var ae=function ke(Ie,Ye){var Ze=Ye?d.getOutgoingEdges(Ie):d.getIncomingEdges(Ie);if(Ze!=null&&Ze.forEach(function(yt){P[yt.id]||(g.push(yt),P[yt.id]=!0,I&&(V&&ke(yt,!1),K&&ke(yt,!0)))}),I&&Ie.isEdge()){var et=Ye?Ie.getTargetCell():Ie.getSourceCell();et&&et.isEdge()&&(P[et.id]||(g.push(et),ke(et,Ye)))}};if(K&&ae(b,!0),V&&ae(b,!1),v.deep){var ue=b.getDescendants({deep:!0}),ve={};ue.forEach(function(ke){ke.isNode()&&(ve[ke.id]=!0)});var Oe=function(Ie,Ye){var Ze=Ye?d.getOutgoingEdges(Ie.id):d.getIncomingEdges(Ie.id);Ze!=null&&Ze.forEach(function(et){if(!P[et.id]){var yt=et.getSourceCell(),jt=et.getTargetCell();if(!v.enclosed&&yt&&ve[yt.id]&&jt&&ve[jt.id])return;g.push(et),P[et.id]=!0}})};ue.forEach(function(ke){ke.isEdge()||(K&&Oe(ke,!0),V&&Oe(ke,!1))})}return g}},{key:"isBoundary",value:function(r,d){var v=typeof r=="string"?this.getCell(r):r,g=d?this.getIncomingEdges(v):this.getOutgoingEdges(v);return g==null||g.length===0}},{key:"getBoundaryNodes",value:function(r){var d=this,v=[];return Object.keys(this.nodes).forEach(function(g){if(d.isBoundary(g,r)){var b=d.getCell(g);b&&v.push(b)}}),v}},{key:"getRoots",value:function(){return this.getBoundaryNodes(!0)}},{key:"getLeafs",value:function(){return this.getBoundaryNodes(!1)}},{key:"isRoot",value:function(r){return this.isBoundary(r,!0)}},{key:"isLeaf",value:function(r){return this.isBoundary(r,!1)}},{key:"getNeighbors",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=d.incoming,g=d.outgoing;v==null&&g==null&&(v=g=!0);var b=this.getConnectedEdges(r,d),P=b.reduce(function(K,ae){var ue=ae.hasLoop(d),ve=ae.getSourceCell(),Oe=ae.getTargetCell();return v&&ve&&ve.isNode()&&!K[ve.id]&&(ue||ve!==r&&(!d.deep||!ve.isDescendantOf(r)))&&(K[ve.id]=ve),g&&Oe&&Oe.isNode()&&!K[Oe.id]&&(ue||Oe!==r&&(!d.deep||!Oe.isDescendantOf(r)))&&(K[Oe.id]=Oe),K},{});if(r.isEdge()){if(v){var I=r.getSourceCell();I&&I.isNode()&&!P[I.id]&&(P[I.id]=I)}if(g){var V=r.getTargetCell();V&&V.isNode()&&!P[V.id]&&(P[V.id]=V)}}return Object.keys(P).map(function(K){return P[K]})}},{key:"isNeighbor",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=v.incoming,b=v.outgoing;return g==null&&b==null&&(g=b=!0),this.getConnectedEdges(r,v).some(function(P){var I=P.getSourceCell(),V=P.getTargetCell();return!!(g&&I&&I.id===d.id||b&&V&&V.id===d.id)})}},{key:"getSuccessors",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=[];return this.search(r,function(b,P){b!==r&&d.matchDistance(P,v.distance)&&g.push(b)},Object.assign(Object.assign({},v),{outgoing:!0})),g}},{key:"isSuccessor",value:function(r,d){var v=this,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=!1;return this.search(r,function(P,I){if(P===d&&P!==r&&v.matchDistance(I,g.distance))return b=!0,!1},Object.assign(Object.assign({},g),{outgoing:!0})),b}},{key:"getPredecessors",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=[];return this.search(r,function(b,P){b!==r&&d.matchDistance(P,v.distance)&&g.push(b)},Object.assign(Object.assign({},v),{incoming:!0})),g}},{key:"isPredecessor",value:function(r,d){var v=this,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=!1;return this.search(r,function(P,I){if(P===d&&P!==r&&v.matchDistance(I,g.distance))return b=!0,!1},Object.assign(Object.assign({},g),{incoming:!0})),b}},{key:"matchDistance",value:function(r,d){return d==null?!0:typeof d=="function"?d(r):Array.isArray(d)&&d.includes(r)?!0:r===d}},{key:"getCommonAncestor",value:function(){for(var r=[],d=arguments.length,v=new Array(d),g=0;g<d;g++)v[g]=arguments[g];return v.forEach(function(b){b&&(Array.isArray(b)?r.push.apply(r,Object(Bs.a)(b)):r.push(b))}),Mf.getCommonAncestor.apply(Mf,r)}},{key:"getSubGraph",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=[],b={},P=[],I=[],V=function(ae){b[ae.id]||(g.push(ae),b[ae.id]=ae,ae.isEdge()&&I.push(ae),ae.isNode()&&P.push(ae))};return r.forEach(function(K){if(V(K),v.deep){var ae=K.getDescendants({deep:!0});ae.forEach(function(ue){return V(ue)})}}),I.forEach(function(K){var ae=K.getSourceCell(),ue=K.getTargetCell();ae&&!b[ae.id]&&(g.push(ae),b[ae.id]=ae,ae.isNode()&&P.push(ae)),ue&&!b[ue.id]&&(g.push(ue),b[ue.id]=ue,ue.isNode()&&P.push(ue))}),P.forEach(function(K){var ae=d.getConnectedEdges(K,v);ae.forEach(function(ue){var ve=ue.getSourceCell(),Oe=ue.getTargetCell();!b[ue.id]&&ve&&b[ve.id]&&Oe&&b[Oe.id]&&(g.push(ue),b[ue.id]=ue)})}),g}},{key:"cloneSubGraph",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.getSubGraph(r,d);return this.cloneCells(v)}},{key:"cloneCells",value:function(r){return Mf.cloneCells(r)}},{key:"getNodesFromPoint",value:function(r,d){var v=typeof r=="number"?{x:r,y:d||0}:r;return this.getNodes().filter(function(g){return g.getBBox().containsPoint(v)})}},{key:"getNodesInArea",value:function(r,d,v,g,b){var P=typeof r=="number"?new xl(r,d,v,g):xl.create(r),I=typeof r=="number"?b:d,V=I&&I.strict;return this.getNodes().filter(function(K){var ae=K.getBBox();return V?P.containsRect(ae):P.isIntersectWithRect(ae)})}},{key:"getEdgesInArea",value:function(r,d,v,g,b){var P=typeof r=="number"?new xl(r,d,v,g):xl.create(r),I=typeof r=="number"?b:d,V=I&&I.strict;return this.getEdges().filter(function(K){var ae=K.getBBox();return ae.width===0?ae.inflate(1,0):ae.height===0&&ae.inflate(0,1),V?P.containsRect(ae):P.isIntersectWithRect(ae)})}},{key:"getNodesUnderNode",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=r.getBBox(),g=d.by==null||d.by==="bbox"?this.getNodesInArea(v):this.getNodesFromPoint(v[d.by]);return g.filter(function(b){return r.id!==b.id&&!b.isDescendantOf(r)})}},{key:"getAllCellsBBox",value:function(){return this.getCellsBBox(this.getCells())}},{key:"getCellsBBox",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Mf.getCellsBBox(r,d)}},{key:"search",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};v.breadthFirst?this.breadthFirstSearch(r,d,v):this.depthFirstSearch(r,d,v)}},{key:"breadthFirstSearch",value:function(r,d){var v=this,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=[],P={},I={};b.push(r),I[r.id]=0;for(var V=function(){var ue=b.shift();if(ue==null||P[ue.id]||(P[ue.id]=!0,k.call(d,v,ue,I[ue.id])===!1))return"continue";var ve=v.getNeighbors(ue,g);ve.forEach(function(Oe){I[Oe.id]=I[ue.id]+1,b.push(Oe)})};b.length>0;)var K=V()}},{key:"depthFirstSearch",value:function(r,d){var v=this,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=[],P={},I={};b.push(r),I[r.id]=0;for(var V=function(){var ue=b.pop();if(ue==null||P[ue.id]||(P[ue.id]=!0,k.call(d,v,ue,I[ue.id])===!1))return"continue";var ve=v.getNeighbors(ue,g),Oe=b.length;ve.forEach(function(ke){I[ke.id]=I[ue.id]+1,b.splice(Oe,0,ke)})};b.length>0;)var K=V()}},{key:"getShortestPath",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g={};this.getEdges().forEach(function(K){var ae=K.getSourceCellId(),ue=K.getTargetCellId();ae&&ue&&(g[ae]||(g[ae]=[]),g[ue]||(g[ue]=[]),g[ae].push(ue),v.directed||g[ue].push(ae))});var b=typeof r=="string"?r:r.id,P=o2.run(g,b,v.weight),I=[],V=typeof d=="string"?d:d.id;for(P[V]&&I.push(V);V=P[V];)I.unshift(V);return I}},{key:"translate",value:function(r,d,v){return this.getCells().filter(function(g){return!g.hasParent()}).forEach(function(g){return g.translate(r,d,v)}),this}},{key:"resize",value:function(r,d,v){return this.resizeCells(r,d,this.getCells(),v)}},{key:"resizeCells",value:function(r,d,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},b=this.getCellsBBox(v);if(b){var P=Math.max(r/b.width,0),I=Math.max(d/b.height,0),V=b.getOrigin();v.forEach(function(K){return K.scale(P,I,V,g)})}return this}},{key:"toJSON",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return o.toJSON(this.getCells(),r)}},{key:"parseJSON",value:function(r){return o.fromJSON(r)}},{key:"fromJSON",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.parseJSON(r);return this.resetCells(v,d),this}},{key:"startBatch",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.batches[r]=(this.batches[r]||0)+1,this.notify("batch:start",{name:r,data:d}),this}},{key:"stopBatch",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.batches[r]=(this.batches[r]||0)-1,this.notify("batch:stop",{name:r,data:d}),this}},{key:"batchUpdate",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.startBatch(r,v);var g=d();return this.stopBatch(r,v),g}},{key:"hasActiveBatch",value:function(){var r=this,d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Object.keys(this.batches),v=Array.isArray(d)?d:[d];return v.some(function(g){return r.batches[g]>0})}}]),o}(yh,Symbol.toStringTag);(function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&typeof t.addNode=="function"&&typeof t.addEdge=="function"&&t.collection!=null}u.isModel=i})(Ag||(Ag={})),function(u){function i(o){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{cells:o.map(function(r){return r.toJSON(t)})}}u.toJSON=i;function c(o){var t=[];return Array.isArray(o)?t.push.apply(t,Object(Bs.a)(o)):(o.cells&&t.push.apply(t,Object(Bs.a)(o.cells)),o.nodes&&o.nodes.forEach(function(r){r.shape==null&&(r.shape="rect"),t.push(r)}),o.edges&&o.edges.forEach(function(r){r.shape==null&&(r.shape="edge"),t.push(r)})),t.map(function(r){var d=r.shape;if(d){if(zf.registry.exist(d))return zf.create(r);if(Zp.registry.exist(d))return Zp.create(r)}throw new Error("The `shape` should be specified when creating a node/edge instance")})}u.fromJSON=c}(Ag||(Ag={}));var Y_=".text-block-content",Ej=p2("text-block"),xj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"content",get:function(){return this.getContent()},set:function(t){this.setContent(t)}},{key:"getContent",value:function(){return this.store.get("content","")}},{key:"setContent",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.store.set("content",t,r)}},{key:"setup",value:function(){var t=this;Object($u.a)(Object(Wu.a)(c.prototype),"setup",this).call(this),this.store.on("change:*",function(r){var d=r.key;d==="content"?t.updateContent(t.getContent()):d==="size"&&t.updateSize(t.getSize())}),this.updateSize(this.getSize()),this.updateContent(this.getContent())}},{key:"updateSize",value:function(t){Vf.SUPPORT_FOREIGNOBJECT&&this.setAttrs(Object(qc.a)({foreignObject:Object.assign({},t)},Y_,{style:Object.assign({},t)}))}},{key:"updateContent",value:function(t){Vf.SUPPORT_FOREIGNOBJECT?this.setAttrs(Object(qc.a)({},Y_,{html:t?O.sanitizeHTML(t):""})):this.setAttrs(Object(qc.a)({},Y_,{text:t}))}}]),c}(zf);(function(u){u.config({type:Ej,view:Ej,markup:['<g class="rotatable">','<g class="scalable"><rect/></g>',Vf.SUPPORT_FOREIGNOBJECT?["<foreignObject>",'<body xmlns="http://www.w3.org/1999/xhtml">','<div class="'.concat(Y_.substr(1),'" />'),"</body>","</foreignObject>"].join(""):'<text class="'.concat(Y_.substr(1),'"/>'),"</g>"].join(""),attrs:Object(qc.a)({".":{fill:"#ffffff",stroke:"none"},rect:{fill:"#ffffff",stroke:"#000000",width:80,height:100},text:{fill:"#000000",fontSize:14,fontFamily:"Arial, helvetica, sans-serif"},body:{style:{background:"transparent",position:"static",margin:0,padding:0}},foreignObject:{style:{overflow:"hidden"}}},Y_,{refX:.5,refY:.5,yAlign:"middle",xAlign:"middle",style:{textAlign:"center",verticalAlign:"middle",display:"table-cell",padding:"0 5px",margin:0}})}),zf.registry.register(Ej,u)})(xj||(xj={})),function(u){var i="content",c=function(o){Object(Cc.a)(r,o);var t=Object(Ec.a)(r);function r(){return Object(xi.a)(this,r),t.apply(this,arguments)}return Object(Pi.a)(r,[{key:"confirmUpdate",value:function(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=Object($u.a)(Object(Wu.a)(r.prototype),"confirmUpdate",this).call(this,v,g);return this.hasAction(b,i)&&(this.updateContent(),b=this.removeAction(b,i)),b}},{key:"update",value:function(v){if(Vf.SUPPORT_FOREIGNOBJECT)Object($u.a)(Object(Wu.a)(r.prototype),"update",this).call(this,v);else{var g=this.cell,b=Object.assign({},v||g.getAttrs());delete b[Y_],Object($u.a)(Object(Wu.a)(r.prototype),"update",this).call(this,b),(!v||m.has(v,Y_))&&this.updateContent(v)}}},{key:"updateContent",value:function(v){if(Vf.SUPPORT_FOREIGNOBJECT)Object($u.a)(Object(Wu.a)(r.prototype),"update",this).call(this,v);else{var g=this.cell,b=(v||g.getAttrs())[Y_],P=S.breakText(g.getContent(),g.getSize(),b,{svgDocument:this.graph.view.svg}),I=Object(qc.a)({},Y_,m.merge({},b,{text:P}));Object($u.a)(Object(Wu.a)(r.prototype),"update",this).call(this,I)}}}]),r}(ih);u.View=c,function(o){o.config({bootstrap:["render",i],actions:Vf.SUPPORT_FOREIGNOBJECT?{}:{size:i,content:i}}),ih.registry.register(Ej,o)}(c=u.View||(u.View={}))}(xj||(xj={}));var iV=ah.define({shape:"empty"});function mte(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"body";return[{tagName:u,selector:i},{tagName:"text",selector:"label"}]}function Ym(u,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={constructorName:u,markup:mte(u,c.selector),attrs:Object(qc.a)({},u,Object.assign({},ah.bodyAttr))},t=c.parent||ah;return t.define(m.merge(o,i,{shape:u}))}var _te=Ym("rect",{attrs:{body:{refWidth:"100%",refHeight:"100%"}}}),yte=zf.define({shape:"rect-headered",markup:[{tagName:"rect",selector:"body"},{tagName:"rect",selector:"header"},{tagName:"text",selector:"headerText"},{tagName:"text",selector:"bodyText"}],attrs:{body:Object.assign(Object.assign({},ah.bodyAttr),{refWidth:"100%",refHeight:"100%"}),header:Object.assign(Object.assign({},ah.bodyAttr),{refWidth:"100%",height:30,stroke:"#000000"}),headerText:Object.assign(Object.assign({},ah.labelAttr),{refX:"50%",refY:15,fontSize:16}),bodyText:Object.assign(Object.assign({},ah.labelAttr),{refY2:15})}}),oV=Ym("circle",{attrs:{body:{refCx:"50%",refCy:"50%",refR:"50%"}}}),Sj=10,bte=ah.define({shape:"cylinder",overwrite:!0,markup:[{tagName:"path",selector:"body"},{tagName:"ellipse",selector:"top"},{tagName:"text",selector:"label"}],attrs:{body:Object.assign(Object.assign({},ah.bodyAttr),{lateral:Sj}),top:Object.assign(Object.assign({},ah.bodyAttr),{refCx:"50%",refRx:"50%",cy:Sj,ry:Sj})},attrHooks:{lateral:{set:function(i,c){var o=c.refBBox,t=C.isPercentage(i);t&&(i=parseFloat(i)/100);var r=o.x,d=o.y,v=o.width,g=o.height,b=v/2,P=t?g*i:i,I=.551784,V=I*b,K=I*P,ae=r,ue=r+v/2,ve=r+v,Oe=d+P,ke=Oe-P,Ie=d+g-P,Ye=d+g,Ze=["M",ae,Oe,"L",ae,Ie,"C",r,Ie+K,ue-V,Ye,ue,Ye,"C",ue+V,Ye,ve,Ie+K,ve,Ie,"L",ve,Oe,"C",ve,Oe-K,ue+V,ke,ue,ke,"C",ue-V,ke,ae,Oe-K,ae,Oe,"Z"];return{d:Ze.join(" ")}}}},knob:{enabled:!0,position:function(i){var c=i.node,o=c.attr("body/lateral");return{x:0,y:o}},onMouseMove:function(i){var c=i.node,o=i.data,t=i.deltaY;if(t!==0){var r=c.getBBox(),d=c.attr("body/lateral");o.round==null&&(o.round=d);var v=0,g=r.height/2,b=C.clamp(o.round+t,v,g);b!==d&&c.attr({body:{lateral:b},top:{cy:b,ry:b}})}}}}),sV=Ym("ellipse",{attrs:{body:{refCx:"50%",refCy:"50%",refRx:"50%",refRy:"50%"}}}),Ote=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},wj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"points",get:function(){return this.getPoints()},set:function(t){this.setPoints(t)}},{key:"getPoints",value:function(){return this.getAttrByPath("body/refPoints")}},{key:"setPoints",value:function(t,r){return t==null?this.removePoints():this.setAttrByPath("body/refPoints",c.pointsToString(t),r),this}},{key:"removePoints",value:function(){return this.removeAttrByPath("body/refPoints"),this}}]),c}(ah);(function(u){function i(c){return typeof c=="string"?c:c.map(function(o){return Array.isArray(o)?o.join(","):$i.isPointLike(o)?"".concat(o.x,", ").concat(o.y):""}).join(" ")}u.pointsToString=i,u.config({propHooks:function(o){var t=o.points,r=Ote(o,["points"]);if(t){var d=i(t);d&&m.setByPath(r,"attrs/body/refPoints",d)}return r}})})(wj||(wj={}));var Cte=Ym("polygon",{},{parent:wj}),Ete=Ym("polyline",{},{parent:wj}),xte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Ste=ah.define({shape:"path",markup:[{tagName:"rect",selector:"bg"},{tagName:"path",selector:"body"},{tagName:"text",selector:"label"}],attrs:{bg:{refWidth:"100%",refHeight:"100%",fill:"none",stroke:"none",pointerEvents:"all"},body:{fill:"none",stroke:"#000",strokeWidth:2}},propHooks:function(i){var c=i.path,o=xte(i,["path"]);return c&&m.setByPath(o,"attrs/body/refD",c),o}}),wte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},cV=ah.define({shape:"text-block",markup:[{tagName:"rect",selector:"body"},Vf.SUPPORT_FOREIGNOBJECT?{tagName:"foreignObject",selector:"foreignObject",children:[{tagName:"div",ns:S.ns.xhtml,selector:"label",style:{width:"100%",height:"100%",position:"static",backgroundColor:"transparent",textAlign:"center",margin:0,padding:"0px 5px",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center"}}]}:{tagName:"text",selector:"label",attrs:{textAnchor:"middle"}}],attrs:{body:Object.assign(Object.assign({},ah.bodyAttr),{refWidth:"100%",refHeight:"100%"}),foreignObject:{refWidth:"100%",refHeight:"100%"},label:{style:{fontSize:14}}},propHooks:function(i){var c=i.text,o=wte(i,["text"]);return c&&m.setByPath(o,"attrs/label/text",c),o},attrHooks:{text:{set:function(i,c){var o=c.cell,t=c.view,r=c.refBBox,d=c.elem,v=c.attrs;if(d instanceof HTMLElement)d.textContent=i;else{var g=v.style||{},b={text:i,width:-5,height:"100%"},P=Object.assign({textVerticalAnchor:"middle"},g),I=Wm.presets.textWrap;return k.call(I.set,this,b,{cell:o,view:t,elem:d,refBBox:r,attrs:P}),{fill:g.color||null}}},position:function(i,c){var o=c.refBBox,t=c.elem;if(t instanceof SVGElement)return o.getCenter()}}}}),Tj=Ym("image",{attrs:{image:{refWidth:"100%",refHeight:"100%"}},propHooks:JC()},{selector:"image"}),h2=Ym("image-bordered",{markup:[{tagName:"rect",selector:"background",attrs:{stroke:"none"}},{tagName:"image",selector:"image"},{tagName:"rect",selector:"border",attrs:{fill:"none"}},{tagName:"text",selector:"label"}],attrs:{background:{refWidth:-1,refHeight:-1,x:.5,y:.5,fill:"#ffffff"},border:{refWidth:"100%",refHeight:"100%",stroke:"#333333",strokeWidth:2},image:{refWidth:-1,refHeight:-1,x:.5,y:.5}},propHooks:JC()}),Tte=Ym("image-embedded",{markup:[{tagName:"rect",selector:"body"},{tagName:"image",selector:"image"},{tagName:"text",selector:"label"}],attrs:{body:{refWidth:"100%",refHeight:"100%",stroke:"#333333",fill:"#FFFFFF",strokeWidth:2},image:{refWidth:"30%",refHeight:-20,x:10,y:10,preserveAspectRatio:"xMidYMin"}},propHooks:JC()}),Ate=Ym("image-inscribed",{propHooks:JC(),markup:[{tagName:"ellipse",selector:"background"},{tagName:"image",selector:"image"},{tagName:"ellipse",selector:"border",attrs:{fill:"none"}},{tagName:"text",selector:"label"}],attrs:{border:{refRx:"50%",refRy:"50%",refCx:"50%",refCy:"50%",stroke:"#333333",strokeWidth:2},background:{refRx:"50%",refRy:"50%",refCx:"50%",refCy:"50%",fill:"#ffffff"},image:{refWidth:"68%",refHeight:"68%",refX:"16%",refY:"16%",preserveAspectRatio:"xMidYMid"}}}),hL=Zp.define({shape:"edge",markup:[{tagName:"path",selector:"wrap",groupSelector:"lines",attrs:{fill:"none",cursor:"pointer",stroke:"transparent",strokeLinecap:"round"}},{tagName:"path",selector:"line",groupSelector:"lines",attrs:{fill:"none",pointerEvents:"none"}}],attrs:{lines:{connection:!0,strokeLinejoin:"round"},wrap:{strokeWidth:10},line:{stroke:"#333",strokeWidth:2,targetMarker:"classic"}}}),kte=Zp.define({shape:"shadow-edge",markup:[{tagName:"path",selector:"shadow",attrs:{fill:"none"}},{tagName:"path",selector:"line",attrs:{fill:"none",cursor:"pointer"}}],attrs:{line:{connection:!0,stroke:"#FF0000",strokeWidth:20,strokeLinejoin:"round",targetMarker:{name:"path",stroke:"none",d:"M 0 -10 -10 0 0 10 z",offsetX:-5},sourceMarker:{name:"path",stroke:"none",d:"M -10 -10 0 0 -10 10 0 10 0 -10 z",offsetX:-5}},shadow:{connection:!0,refX:3,refY:6,stroke:"#000000",strokeOpacity:.2,strokeWidth:20,strokeLinejoin:"round",targetMarker:{name:"path",d:"M 0 -10 -10 0 0 10 z",stroke:"none",offsetX:-5},sourceMarker:{name:"path",stroke:"none",d:"M -10 -10 0 0 -10 10 0 10 0 -10 z",offsetX:-5}}}}),jte=Zp.define({shape:"double-edge",markup:[{tagName:"path",selector:"outline",attrs:{fill:"none"}},{tagName:"path",selector:"line",attrs:{fill:"none",cursor:"pointer"}}],attrs:{line:{connection:!0,stroke:"#dddddd",strokeWidth:4,strokeLinejoin:"round",targetMarker:{tagName:"path",stroke:"#000000",d:"M 10 -3 10 -10 -2 0 10 10 10 3"}},outline:{connection:!0,stroke:"#000000",strokeWidth:6,strokeLinejoin:"round"}}}),Xm=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"html",get:function(){return this.getHTML()},set:function(t){this.setHTML(t)}},{key:"getHTML",value:function(){return this.store.get("html")}},{key:"setHTML",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t==null?this.removeHTML(r):this.store.set("html",t,r),this}},{key:"removeHTML",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("html",t)}}]),c}(ah);(function(u){var i=function(c){Object(Cc.a)(t,c);var o=Object(Ec.a)(t);function t(){return Object(xi.a)(this,t),o.apply(this,arguments)}return Object(Pi.a)(t,[{key:"init",value:function(){var d=this;Object($u.a)(Object(Wu.a)(t.prototype),"init",this).call(this),this.cell.on("change:*",function(){var v=d.graph.hook.shouldUpdateHTMLComponent(d.cell);v&&d.renderHTMLComponent()})}},{key:"confirmUpdate",value:function(d){var v=this,g=Object($u.a)(Object(Wu.a)(t.prototype),"confirmUpdate",this).call(this,d);return this.handleAction(g,t.action,function(){return v.renderHTMLComponent()})}},{key:"renderHTMLComponent",value:function(){var d=this.selectors.foContent;if(d){var v=this.$(d).empty(),g=this.graph.hook.getHTMLComponent(this.cell);g&&(typeof g=="string"?v.html(g):v.append(g))}}}]),t}(ih);u.View=i,function(c){c.action="html",c.config({bootstrap:[c.action],actions:{html:c.action}}),ih.registry.register("html-view",c)}(i=u.View||(u.View={}))})(Xm||(Xm={})),function(u){u.config({view:"html-view",markup:[{tagName:"rect",selector:"body"},Object.assign({},Cf.getForeignObjectMarkup()),{tagName:"text",selector:"label"}],attrs:{body:{fill:"none",stroke:"none",refWidth:"100%",refHeight:"100%"},fo:{refWidth:"100%",refHeight:"100%"}}}),zf.registry.register("html",u)}(Xm||(Xm={})),function(u){u.componentRegistry=Jp.create({type:"html componnet"})}(Xm||(Xm={}));var Mte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},ZC=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.delay=10,t.throttle=2,t.threshold=5,t.changeCount=0,t.timestamp=0,t.options=Object.assign(Object.assign({},c.defaultOptions),o),t.graph.model.on("cell:change:*",t.onModelChanged,Object(Fp.a)(t)),t}return Object(Pi.a)(c,[{key:"graph",get:function(){return this.options.graph}},{key:"onModelChanged",value:function(){if(!this.disabled){var t=new Date().getTime(),r=(t-this.timestamp)/1e3;r>this.delay||this.changeCount>=this.threshold&&r>this.throttle?(this.save(),this.reset()):this.changeCount+=1}}},{key:"save",value:function(){this.trigger("save")}},{key:"reset",value:function(){this.changeCount=0,this.timestamp=new Date().getTime()}},{key:"dispose",value:function(){this.graph.model.off("cell:change:*",this.onModelChanged,this)}}]),c}(uj);Mte([uj.dispose()],ZC.prototype,"dispose",null),function(u){u.defaultOptions={delay:10,throttle:2,threshold:5}}(ZC||(ZC={}));var rp=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.graph=o,t.init(),t}return Object(Pi.a)(c,[{key:"options",get:function(){return this.graph.options}},{key:"model",get:function(){return this.graph.model}},{key:"view",get:function(){return this.graph.view}},{key:"init",value:function(){}}]),c}(Km),Pte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},X_=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this),t.graph=o;var r=Cf.parseJSONMarkup(c.markup),d=r.selectors,v=r.fragment;return t.background=d.background,t.grid=d.grid,t.svg=d.svg,t.defs=d.defs,t.viewport=d.viewport,t.primer=d.primer,t.stage=d.stage,t.decorator=d.decorator,t.overlay=d.overlay,t.container=t.options.container,t.restore=c.snapshoot(t.container),t.$(t.container).addClass(t.prefixClassName("graph")).append(v),t.delegateEvents(),t}return Object(Pi.a)(c,[{key:"model",get:function(){return this.graph.model}},{key:"options",get:function(){return this.graph.options}},{key:"delegateEvents",value:function(){var t=this.constructor;return Object($u.a)(Object(Wu.a)(c.prototype),"delegateEvents",this).call(this,t.events),this}},{key:"guard",value:function(t,r){return t.type==="mousedown"&&t.button===2||this.options.guard&&this.options.guard(t,r)?!0:t.data&&t.data.guarded!==void 0?t.data.guarded:!(r&&r.cell&&Mf.isCell(r.cell)||this.svg===t.target||this.container===t.target||dv.a.contains(this.svg,t.target))}},{key:"findView",value:function(t){return this.graph.renderer.findViewByElem(t)}},{key:"onDblClick",value:function(t){this.options.preventDefaultDblClick&&t.preventDefault();var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d)){var v=this.graph.snapToGrid(r.clientX,r.clientY);d?d.onDblClick(r,v.x,v.y):this.graph.trigger("blank:dblclick",{e:r,x:v.x,y:v.y})}}},{key:"onClick",value:function(t){if(this.getMouseMovedCount(t)<=this.options.clickThreshold){var r=this.normalizeEvent(t),d=this.findView(r.target);if(this.guard(r,d))return;var v=this.graph.snapToGrid(r.clientX,r.clientY);d?d.onClick(r,v.x,v.y):this.graph.trigger("blank:click",{e:r,x:v.x,y:v.y})}}},{key:"isPreventDefaultContextMenu",value:function(t,r){var d=this.options.preventDefaultContextMenu;return typeof d=="function"&&(d=k.call(d,this.graph,{view:r})),d}},{key:"onContextMenu",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(this.isPreventDefaultContextMenu(r,d)&&t.preventDefault(),!this.guard(r,d)){var v=this.graph.snapToGrid(r.clientX,r.clientY);d?d.onContextMenu(r,v.x,v.y):this.graph.trigger("blank:contextmenu",{e:r,x:v.x,y:v.y})}}},{key:"delegateDragEvents",value:function(t,r){t.data==null&&(t.data={}),this.setEventData(t,{currentView:r||null,mouseMovedCount:0,startPosition:{x:t.clientX,y:t.clientY}});var d=this.constructor;this.delegateDocumentEvents(d.documentEvents,t.data),this.undelegateEvents()}},{key:"getMouseMovedCount",value:function(t){var r=this.getEventData(t);return r.mouseMovedCount||0}},{key:"onMouseDown",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d)){this.options.preventDefaultMouseDown&&r.preventDefault();var v=this.graph.snapToGrid(r.clientX,r.clientY);d?d.onMouseDown(r,v.x,v.y):(this.options.preventDefaultBlankAction&&["touchstart"].includes(r.type)&&r.preventDefault(),this.graph.trigger("blank:mousedown",{e:r,x:v.x,y:v.y})),this.delegateDragEvents(r,d)}}},{key:"onMouseMove",value:function(t){var r=this.getEventData(t),d=r.startPosition;if(!(d&&d.x===t.clientX&&d.y===t.clientY)){r.mouseMovedCount==null&&(r.mouseMovedCount=0),r.mouseMovedCount+=1;var v=r.mouseMovedCount;if(!(v<=this.options.moveThreshold)){var g=this.normalizeEvent(t),b=this.graph.snapToGrid(g.clientX,g.clientY),P=r.currentView;P?P.onMouseMove(g,b.x,b.y):this.graph.trigger("blank:mousemove",{e:g,x:b.x,y:b.y}),this.setEventData(g,r)}}}},{key:"onMouseUp",value:function(t){this.undelegateDocumentEvents();var r=this.normalizeEvent(t),d=this.graph.snapToGrid(r.clientX,r.clientY),v=this.getEventData(t),g=v.currentView;g?g.onMouseUp(r,d.x,d.y):this.graph.trigger("blank:mouseup",{e:r,x:d.x,y:d.y}),t.isPropagationStopped()||this.onClick(dv.a.Event(t,{type:"click",data:t.data})),t.stopImmediatePropagation(),this.delegateEvents()}},{key:"onMouseOver",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d))if(d)d.onMouseOver(r);else{if(this.container===r.target)return;this.graph.trigger("blank:mouseover",{e:r})}}},{key:"onMouseOut",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d))if(d)d.onMouseOut(r);else{if(this.container===r.target)return;this.graph.trigger("blank:mouseout",{e:r})}}},{key:"onMouseEnter",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d)){var v=this.graph.renderer.findViewByElem(r.relatedTarget);if(d){if(v===d)return;d.onMouseEnter(r)}else{if(v)return;this.graph.trigger("graph:mouseenter",{e:r})}}}},{key:"onMouseLeave",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d)){var v=this.graph.renderer.findViewByElem(r.relatedTarget);if(d){if(v===d)return;d.onMouseLeave(r)}else{if(v)return;this.graph.trigger("graph:mouseleave",{e:r})}}}},{key:"onMouseWheel",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);if(!this.guard(r,d)){var v=r.originalEvent,g=this.graph.snapToGrid(v.clientX,v.clientY),b=Math.max(-1,Math.min(1,v.wheelDelta||-v.detail));d?d.onMouseWheel(r,g.x,g.y,b):this.graph.trigger("blank:mousewheel",{e:r,delta:b,x:g.x,y:g.y})}}},{key:"onCustomEvent",value:function(t){var r=t.currentTarget,d=r.getAttribute("event")||r.getAttribute("data-event");if(d){var v=this.findView(r);if(v){var g=this.normalizeEvent(t);if(this.guard(g,v))return;var b=this.graph.snapToGrid(g.clientX,g.clientY);v.onCustomEvent(g,d,b.x,b.y)}}}},{key:"handleMagnetEvent",value:function(t,r){var d=t.currentTarget,v=d.getAttribute("magnet");if(v&&v.toLowerCase()!=="false"){var g=this.findView(d);if(g){var b=this.normalizeEvent(t);if(this.guard(b,g))return;var P=this.graph.snapToGrid(b.clientX,b.clientY);k.call(r,this.graph,g,b,d,P.x,P.y)}}}},{key:"onMagnetMouseDown",value:function(t){this.handleMagnetEvent(t,function(r,d,v,g,b){r.onMagnetMouseDown(d,v,g,b)})}},{key:"onMagnetDblClick",value:function(t){this.handleMagnetEvent(t,function(r,d,v,g,b){r.onMagnetDblClick(d,v,g,b)})}},{key:"onMagnetContextMenu",value:function(t){var r=this.normalizeEvent(t),d=this.findView(r.target);this.isPreventDefaultContextMenu(r,d)&&r.preventDefault(),this.handleMagnetEvent(r,function(v,g,b,P,I){v.onMagnetContextMenu(g,b,P,I)})}},{key:"onLabelMouseDown",value:function(t){var r=t.currentTarget,d=this.findView(r);if(d){var v=this.normalizeEvent(t);if(this.guard(v,d))return;var g=this.graph.snapToGrid(v.clientX,v.clientY);d.onLabelMouseDown(v,g.x,g.y)}}},{key:"onImageDragStart",value:function(){return!1}},{key:"dispose",value:function(){this.undelegateEvents(),this.undelegateDocumentEvents(),this.restore(),this.restore=function(){}}}]),c}(Nf);Pte([Nf.dispose()],X_.prototype,"dispose",null),function(u){var i="".concat(Jg.prefixCls,"-graph");u.markup=[{ns:S.ns.xhtml,tagName:"div",selector:"background",className:"".concat(i,"-background")},{ns:S.ns.xhtml,tagName:"div",selector:"grid",className:"".concat(i,"-grid")},{ns:S.ns.svg,tagName:"svg",selector:"svg",className:"".concat(i,"-svg"),attrs:{width:"100%",height:"100%","xmlns:xlink":S.ns.xlink},children:[{tagName:"defs",selector:"defs"},{tagName:"g",selector:"viewport",className:"".concat(i,"-svg-viewport"),children:[{tagName:"g",selector:"primer",className:"".concat(i,"-svg-primer")},{tagName:"g",selector:"stage",className:"".concat(i,"-svg-stage")},{tagName:"g",selector:"decorator",className:"".concat(i,"-svg-decorator")},{tagName:"g",selector:"overlay",className:"".concat(i,"-svg-overlay")}]}]}];function c(o){var t=o.cloneNode();return o.childNodes.forEach(function(r){return t.appendChild(r)}),function(){for(S.empty(o);o.attributes.length>0;)o.removeAttribute(o.attributes[0].name);for(var r=0,d=t.attributes.length;r<d;r+=1){var v=t.attributes[r];o.setAttribute(v.name,v.value)}t.childNodes.forEach(function(g){return o.appendChild(g)})}}u.snapshoot=c}(X_||(X_={})),function(u){var i,c=Jg.prefixCls;u.events=(i={dblclick:"onDblClick",contextmenu:"onContextMenu",touchstart:"onMouseDown",mousedown:"onMouseDown",mouseover:"onMouseOver",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mousewheel:"onMouseWheel",DOMMouseScroll:"onMouseWheel"},Object(qc.a)(i,"mouseenter .".concat(c,"-cell"),"onMouseEnter"),Object(qc.a)(i,"mouseleave .".concat(c,"-cell"),"onMouseLeave"),Object(qc.a)(i,"mouseenter .".concat(c,"-cell-tools"),"onMouseEnter"),Object(qc.a)(i,"mouseleave .".concat(c,"-cell-tools"),"onMouseLeave"),Object(qc.a)(i,"mousedown .".concat(c,"-cell [event]"),"onCustomEvent"),Object(qc.a)(i,"touchstart .".concat(c,"-cell [event]"),"onCustomEvent"),Object(qc.a)(i,"mousedown .".concat(c,"-cell [data-event]"),"onCustomEvent"),Object(qc.a)(i,"touchstart .".concat(c,"-cell [data-event]"),"onCustomEvent"),Object(qc.a)(i,"dblclick .".concat(c,"-cell [magnet]"),"onMagnetDblClick"),Object(qc.a)(i,"contextmenu .".concat(c,"-cell [magnet]"),"onMagnetContextMenu"),Object(qc.a)(i,"mousedown .".concat(c,"-cell [magnet]"),"onMagnetMouseDown"),Object(qc.a)(i,"touchstart .".concat(c,"-cell [magnet]"),"onMagnetMouseDown"),Object(qc.a)(i,"dblclick .".concat(c,"-cell [data-magnet]"),"onMagnetDblClick"),Object(qc.a)(i,"contextmenu .".concat(c,"-cell [data-magnet]"),"onMagnetContextMenu"),Object(qc.a)(i,"mousedown .".concat(c,"-cell [data-magnet]"),"onMagnetMouseDown"),Object(qc.a)(i,"touchstart .".concat(c,"-cell [data-magnet]"),"onMagnetMouseDown"),Object(qc.a)(i,"dragstart .".concat(c,"-cell image"),"onImageDragStart"),Object(qc.a)(i,"mousedown .".concat(c,"-edge .").concat(c,"-edge-label"),"onLabelMouseDown"),Object(qc.a)(i,"touchstart .".concat(c,"-edge .").concat(c,"-edge-label"),"onLabelMouseDown"),i),u.documentEvents={mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp",touchcancel:"onMouseUp"}}(X_||(X_={}));var xm;(function(u){function i(c,o){return function(t,r,d){var v=d.value;d.value=function(){var g=this.scroller.widget;if(g==null){var b="Shoule enable scroller to use method '".concat(r,"'");if(c!==!1)throw console.error(b),new Error(b);return o!==!1&&console.warn(b),this}for(var P=arguments.length,I=new Array(P),V=0;V<P;V++)I[V]=arguments[V];return v.call.apply(v,[this].concat(I))}}}u.checkScroller=i})(xm||(xm={}));var Rte=`.x6-graph {
position: relative;
outline: none;
touch-action: none;
}
.x6-graph-background,
.x6-graph-grid,
.x6-graph-svg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.x6-graph-background-stage,
.x6-graph-grid-stage,
.x6-graph-svg-stage {
user-select: none;
}
.x6-graph.x6-graph-pannable {
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
.x6-graph.x6-graph-panning {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
user-select: none;
}
.x6-node {
cursor: move;
/* stylelint-disable-next-line */
}
.x6-node.x6-node-immovable {
cursor: default;
}
.x6-node * {
-webkit-user-drag: none;
}
.x6-node .scalable * {
vector-effect: non-scaling-stroke;
}
.x6-node [magnet='true'] {
cursor: crosshair;
transition: opacity 0.3s;
}
.x6-node [magnet='true']:hover {
opacity: 0.7;
}
.x6-node foreignObject {
display: block;
overflow: visible;
background-color: transparent;
}
.x6-node foreignObject > body {
position: static;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: visible;
background-color: transparent;
}
.x6-edge .source-marker,
.x6-edge .target-marker {
vector-effect: non-scaling-stroke;
}
.x6-edge .connection {
stroke-linejoin: round;
fill: none;
}
.x6-edge .connection-wrap {
cursor: move;
opacity: 0;
fill: none;
stroke: #000;
stroke-width: 15;
stroke-linecap: round;
stroke-linejoin: round;
}
.x6-edge .connection-wrap:hover {
opacity: 0.4;
stroke-opacity: 0.4;
}
.x6-edge .vertices {
cursor: move;
opacity: 0;
}
.x6-edge .vertices .vertex {
fill: #1abc9c;
}
.x6-edge .vertices .vertex :hover {
fill: #34495e;
stroke: none;
}
.x6-edge .vertices .vertex-remove {
cursor: pointer;
fill: #fff;
}
.x6-edge .vertices .vertex-remove-area {
cursor: pointer;
opacity: 0.1;
}
.x6-edge .vertices .vertex-group:hover .vertex-remove-area {
opacity: 1;
}
.x6-edge .arrowheads {
cursor: move;
opacity: 0;
}
.x6-edge .arrowheads .arrowhead {
fill: #1abc9c;
}
.x6-edge .arrowheads .arrowhead :hover {
fill: #f39c12;
stroke: none;
}
.x6-edge .tools {
cursor: pointer;
opacity: 0;
}
.x6-edge .tools .tool-options {
display: none;
}
.x6-edge .tools .tool-remove circle {
fill: #f00;
}
.x6-edge .tools .tool-remove path {
fill: #fff;
}
.x6-edge:hover .vertices,
.x6-edge:hover .arrowheads,
.x6-edge:hover .tools {
opacity: 1;
}
.x6-highlight-opacity {
opacity: 0.3;
}
@keyframes halo-pie-visibility {
0% {
visibility: hidden;
}
100% {
visibility: visible;
}
}
@keyframes halo-pie-opening {
0% {
transform: scale(0.4) rotate(-20deg);
}
100% {
transform: scale(1) rotate(0);
}
}
.x6-widget-handle {
position: absolute;
width: 20px;
height: 20px;
background-color: transparent;
background-repeat: no-repeat;
background-position: 0 0;
background-size: 20px 20px;
cursor: pointer;
user-select: none;
pointer-events: auto;
-webkit-user-drag: none;
user-drag: none;
/* stylelint-disable-line */
}
.x6-widget-handle.hidden {
display: none;
}
.x6-widget-handle-selected {
background-color: rgba(0, 0, 0, 0.1);
border-radius: 3px;
}
.x6-widget-handle-remove {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M15.386%2C3.365c-3.315-3.314-8.707-3.313-12.021%2C0c-3.314%2C3.315-3.314%2C8.706%2C0%2C12.02%20c3.314%2C3.314%2C8.707%2C3.314%2C12.021%2C0S18.699%2C6.68%2C15.386%2C3.365L15.386%2C3.365z%20M4.152%2C14.598C1.273%2C11.719%2C1.273%2C7.035%2C4.153%2C4.154%20c2.88-2.88%2C7.563-2.88%2C10.443%2C0c2.881%2C2.88%2C2.881%2C7.562%2C0%2C10.443C11.716%2C17.477%2C7.032%2C17.477%2C4.152%2C14.598L4.152%2C14.598z%22%2F%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M12.157%2C11.371L7.38%2C6.593C7.162%2C6.375%2C6.809%2C6.375%2C6.592%2C6.592c-0.218%2C0.219-0.218%2C0.572%2C0%2C0.79%20l4.776%2C4.776c0.218%2C0.219%2C0.571%2C0.219%2C0.79%2C0C12.375%2C11.941%2C12.375%2C11.588%2C12.157%2C11.371L12.157%2C11.371z%22%2F%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M11.369%2C6.593l-4.777%2C4.778c-0.217%2C0.217-0.217%2C0.568%2C0%2C0.787c0.219%2C0.219%2C0.571%2C0.217%2C0.788%2C0l4.777-4.777%20c0.218-0.218%2C0.218-0.571%2C0.001-0.789C11.939%2C6.375%2C11.587%2C6.375%2C11.369%2C6.593L11.369%2C6.593z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
cursor: pointer;
}
.x6-widget-handle-remove:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M15.386%2C3.365c-3.315-3.314-8.707-3.313-12.021%2C0c-3.314%2C3.315-3.314%2C8.706%2C0%2C12.02%20c3.314%2C3.314%2C8.707%2C3.314%2C12.021%2C0S18.699%2C6.68%2C15.386%2C3.365L15.386%2C3.365z%22%2F%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M12.157%2C11.371L7.38%2C6.593C7.162%2C6.375%2C6.809%2C6.375%2C6.592%2C6.592c-0.218%2C0.219-0.218%2C0.572%2C0%2C0.79%20l4.776%2C4.776c0.218%2C0.219%2C0.571%2C0.219%2C0.79%2C0C12.375%2C11.941%2C12.375%2C11.588%2C12.157%2C11.371L12.157%2C11.371z%22%2F%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M11.369%2C6.593l-4.777%2C4.778c-0.217%2C0.217-0.217%2C0.568%2C0%2C0.787c0.219%2C0.219%2C0.571%2C0.217%2C0.788%2C0l4.777-4.777%20c0.218-0.218%2C0.218-0.571%2C0.001-0.789C11.939%2C6.375%2C11.587%2C6.375%2C11.369%2C6.593L11.369%2C6.593z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-rotate {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M9.374%2C17.592c-4.176%2C0-7.57-3.401-7.57-7.575c0-4.175%2C3.395-7.574%2C7.57-7.574c0.28%2C0%2C0.56%2C0.018%2C0.837%2C0.05%20V1.268c0-0.158%2C0.099-0.3%2C0.239-0.36c0.151-0.058%2C0.315-0.026%2C0.428%2C0.086l2.683%2C2.688c0.152%2C0.154%2C0.152%2C0.399%2C0%2C0.553l-2.68%2C2.693%20c-0.115%2C0.112-0.279%2C0.147-0.431%2C0.087c-0.141-0.063-0.239-0.205-0.239-0.361V5.296C9.934%2C5.243%2C9.654%2C5.22%2C9.374%2C5.22%20c-2.646%2C0-4.796%2C2.152-4.796%2C4.797s2.154%2C4.798%2C4.796%2C4.798c2.645%2C0%2C4.798-2.153%2C4.798-4.798c0-0.214%2C0.174-0.391%2C0.391-0.391h1.991%20c0.217%2C0%2C0.394%2C0.177%2C0.394%2C0.391C16.947%2C14.19%2C13.549%2C17.592%2C9.374%2C17.592L9.374%2C17.592z%20M9.374%2C17.592%22%2F%3E%3C%2Fsvg%3E%20');
cursor: move;
}
.x6-widget-handle-rotate:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23FD6EB6%22%20d%3D%22M9.374%2C17.592c-4.176%2C0-7.57-3.401-7.57-7.575c0-4.175%2C3.395-7.574%2C7.57-7.574c0.28%2C0%2C0.56%2C0.018%2C0.837%2C0.05%20V1.268c0-0.158%2C0.099-0.3%2C0.239-0.36c0.151-0.058%2C0.315-0.026%2C0.428%2C0.086l2.683%2C2.688c0.152%2C0.154%2C0.152%2C0.399%2C0%2C0.553l-2.68%2C2.693%20c-0.115%2C0.112-0.279%2C0.147-0.431%2C0.087c-0.141-0.063-0.239-0.205-0.239-0.361V5.296C9.934%2C5.243%2C9.654%2C5.22%2C9.374%2C5.22%20c-2.646%2C0-4.796%2C2.152-4.796%2C4.797s2.154%2C4.798%2C4.796%2C4.798c2.645%2C0%2C4.798-2.153%2C4.798-4.798c0-0.214%2C0.174-0.391%2C0.391-0.391h1.991%20c0.217%2C0%2C0.394%2C0.177%2C0.394%2C0.391C16.947%2C14.19%2C13.549%2C17.592%2C9.374%2C17.592L9.374%2C17.592z%20M9.374%2C17.592%22%2F%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-resize {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3Csvg%20height%3D%2224px%22%20version%3D%221.1%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224px%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asketch%3D%22http%3A%2F%2Fwww.bohemiancoding.com%2Fsketch%2Fns%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Ctitle%2F%3E%3Cdesc%2F%3E%3Cdefs%2F%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20id%3D%22miu%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%3E%3Cg%20id%3D%22Artboard-1%22%20transform%3D%22translate(-251.000000%2C%20-443.000000)%22%3E%3Cg%20id%3D%22slice%22%20transform%3D%22translate(215.000000%2C%20119.000000)%22%2F%3E%3Cpath%20d%3D%22M252%2C448%20L256%2C448%20L256%2C444%20L252%2C444%20L252%2C448%20Z%20M257%2C448%20L269%2C448%20L269%2C446%20L257%2C446%20L257%2C448%20Z%20M257%2C464%20L269%2C464%20L269%2C462%20L257%2C462%20L257%2C464%20Z%20M270%2C444%20L270%2C448%20L274%2C448%20L274%2C444%20L270%2C444%20Z%20M252%2C462%20L252%2C466%20L256%2C466%20L256%2C462%20L252%2C462%20Z%20M270%2C462%20L270%2C466%20L274%2C466%20L274%2C462%20L270%2C462%20Z%20M254%2C461%20L256%2C461%20L256%2C449%20L254%2C449%20L254%2C461%20Z%20M270%2C461%20L272%2C461%20L272%2C449%20L270%2C449%20L270%2C461%20Z%22%20fill%3D%22%236A6C8A%22%20id%3D%22editor-crop-glyph%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
cursor: se-resize;
}
.x6-widget-handle-resize:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3Csvg%20height%3D%2224px%22%20version%3D%221.1%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224px%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asketch%3D%22http%3A%2F%2Fwww.bohemiancoding.com%2Fsketch%2Fns%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Ctitle%2F%3E%3Cdesc%2F%3E%3Cdefs%2F%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20id%3D%22miu%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%3E%3Cg%20id%3D%22Artboard-1%22%20transform%3D%22translate(-251.000000%2C%20-443.000000)%22%3E%3Cg%20id%3D%22slice%22%20transform%3D%22translate(215.000000%2C%20119.000000)%22%2F%3E%3Cpath%20d%3D%22M252%2C448%20L256%2C448%20L256%2C444%20L252%2C444%20L252%2C448%20Z%20M257%2C448%20L269%2C448%20L269%2C446%20L257%2C446%20L257%2C448%20Z%20M257%2C464%20L269%2C464%20L269%2C462%20L257%2C462%20L257%2C464%20Z%20M270%2C444%20L270%2C448%20L274%2C448%20L274%2C444%20L270%2C444%20Z%20M252%2C462%20L252%2C466%20L256%2C466%20L256%2C462%20L252%2C462%20Z%20M270%2C462%20L270%2C466%20L274%2C466%20L274%2C462%20L270%2C462%20Z%20M254%2C461%20L256%2C461%20L256%2C449%20L254%2C449%20L254%2C461%20Z%20M270%2C461%20L272%2C461%20L272%2C449%20L270%2C449%20L270%2C461%20Z%22%20fill%3D%22%23FD6EB6%22%20id%3D%22editor-crop-glyph%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
}
.x6-widget-handle-clone {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M12.852%2C0.875h-9.27c-0.853%2C0-1.547%2C0.694-1.547%2C1.547v10.816h1.547V2.422h9.27V0.875z%20M15.172%2C3.965h-8.5%20c-0.849%2C0-1.547%2C0.698-1.547%2C1.547v10.816c0%2C0.849%2C0.698%2C1.547%2C1.547%2C1.547h8.5c0.85%2C0%2C1.543-0.698%2C1.543-1.547V5.512%20C16.715%2C4.663%2C16.021%2C3.965%2C15.172%2C3.965L15.172%2C3.965z%20M15.172%2C16.328h-8.5V5.512h8.5V16.328z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
cursor: move;
}
.x6-widget-handle-clone:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cpath%20fill%3D%22%23FD6EB6%22%20d%3D%22M12.852%2C0.875h-9.27c-0.853%2C0-1.547%2C0.694-1.547%2C1.547v10.816h1.547V2.422h9.27V0.875z%20M15.172%2C3.965h-8.5%20c-0.849%2C0-1.547%2C0.698-1.547%2C1.547v10.816c0%2C0.849%2C0.698%2C1.547%2C1.547%2C1.547h8.5c0.849%2C0%2C1.543-0.698%2C1.543-1.547V5.512%20C16.715%2C4.663%2C16.021%2C3.965%2C15.172%2C3.965L15.172%2C3.965z%20M15.172%2C16.328h-8.5V5.512h8.5V16.328z%20M15.172%2C16.328%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-link {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M9.884%2C9.838c0.54-0.551%2C1.005-0.955%2C1.384-1.201c0.463-0.308%2C0.749-0.352%2C0.887-0.352h1.34v1.367%20c0%2C0.104%2C0.061%2C0.2%2C0.154%2C0.242s0.204%2C0.027%2C0.284-0.038l3.168-2.669c0.06-0.051%2C0.096-0.125%2C0.096-0.203S17.16%2C6.83%2C17.101%2C6.781%20l-3.168-2.677c-0.08-0.067-0.19-0.081-0.284-0.038c-0.094%2C0.045-0.154%2C0.139-0.154%2C0.242v1.414h-1.343%20c-1.24%2C0.014-2.215%2C0.67-2.927%2C1.242c-0.797%2C0.65-1.533%2C1.447-2.245%2C2.217c-0.361%2C0.391-0.7%2C0.759-1.044%2C1.1%20c-0.541%2C0.549-1.011%2C0.951-1.395%2C1.199c-0.354%2C0.231-0.678%2C0.357-0.921%2C0.357h-1.8c-0.146%2C0-0.266%2C0.12-0.266%2C0.265v2.029%20c0%2C0.148%2C0.12%2C0.268%2C0.266%2C0.268h1.8l0%2C0c1.255-0.014%2C2.239-0.667%2C2.958-1.24c0.82-0.661%2C1.572-1.475%2C2.297-2.256%20C9.225%2C10.524%2C9.555%2C10.169%2C9.884%2C9.838z%22%2F%3E%3C%2Fsvg%3E%20');
cursor: move;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
.x6-widget-handle-link:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23FD6EB6%22%20d%3D%22M9.884%2C9.838c0.54-0.551%2C1.005-0.955%2C1.384-1.201c0.463-0.308%2C0.749-0.352%2C0.887-0.352h1.34v1.367%20c0%2C0.104%2C0.061%2C0.2%2C0.154%2C0.242s0.204%2C0.027%2C0.284-0.038l3.168-2.669c0.06-0.051%2C0.096-0.125%2C0.096-0.203S17.16%2C6.83%2C17.101%2C6.781%20l-3.168-2.677c-0.08-0.067-0.19-0.081-0.284-0.038c-0.094%2C0.045-0.154%2C0.139-0.154%2C0.242v1.414h-1.343%20c-1.24%2C0.014-2.215%2C0.67-2.927%2C1.242c-0.797%2C0.65-1.533%2C1.447-2.245%2C2.217c-0.361%2C0.391-0.7%2C0.759-1.044%2C1.1%20c-0.541%2C0.549-1.011%2C0.951-1.395%2C1.199c-0.354%2C0.231-0.678%2C0.357-0.921%2C0.357h-1.8c-0.146%2C0-0.266%2C0.12-0.266%2C0.265v2.029%20c0%2C0.148%2C0.12%2C0.268%2C0.266%2C0.268h1.8l0%2C0c1.255-0.014%2C2.239-0.667%2C2.958-1.24c0.82-0.661%2C1.572-1.475%2C2.297-2.256%20C9.225%2C10.524%2C9.555%2C10.169%2C9.884%2C9.838z%22%2F%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-fork {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cg%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%236A6C8A%22%20d%3D%22M13.307%2C11.593c-0.69%2C0-1.299%2C0.33-1.693%2C0.835l-4.136-2.387%20C7.552%2C9.82%2C7.602%2C9.589%2C7.602%2C9.344c0-0.25-0.051-0.487-0.129-0.71l4.097-2.364c0.393%2C0.536%2C1.022%2C0.888%2C1.737%2C0.888%20c1.193%2C0%2C2.16-0.967%2C2.16-2.159s-0.967-2.159-2.16-2.159c-1.191%2C0-2.158%2C0.967-2.158%2C2.159c0%2C0.076%2C0.014%2C0.149%2C0.021%2C0.223%20L6.848%2C7.716C6.469%2C7.39%2C5.982%2C7.185%2C5.442%2C7.185c-1.191%2C0-2.158%2C0.967-2.158%2C2.159s0.967%2C2.159%2C2.158%2C2.159%20c0.545%2C0%2C1.037-0.208%2C1.417-0.541l4.319%2C2.493c-0.014%2C0.098-0.029%2C0.194-0.029%2C0.296c0%2C1.193%2C0.967%2C2.159%2C2.158%2C2.159%20c1.193%2C0%2C2.16-0.966%2C2.16-2.159C15.467%2C12.559%2C14.5%2C11.593%2C13.307%2C11.593z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
cursor: move;
}
.x6-widget-handle-fork:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cg%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23FD6EB6%22%20d%3D%22M13.307%2C11.593c-0.69%2C0-1.299%2C0.33-1.693%2C0.835l-4.136-2.387%20c0.075-0.22%2C0.125-0.452%2C0.125-0.697c0-0.25-0.051-0.487-0.129-0.71l4.097-2.365c0.394%2C0.536%2C1.022%2C0.888%2C1.737%2C0.888%20c1.193%2C0%2C2.16-0.967%2C2.16-2.159s-0.967-2.159-2.16-2.159c-1.191%2C0-2.158%2C0.967-2.158%2C2.159c0%2C0.076%2C0.015%2C0.148%2C0.022%2C0.223%20L6.848%2C7.716C6.469%2C7.39%2C5.981%2C7.185%2C5.442%2C7.185c-1.191%2C0-2.158%2C0.967-2.158%2C2.159s0.967%2C2.159%2C2.158%2C2.159%20c0.545%2C0%2C1.037-0.208%2C1.417-0.541l4.319%2C2.493c-0.013%2C0.098-0.029%2C0.194-0.029%2C0.296c0%2C1.193%2C0.967%2C2.159%2C2.158%2C2.159%20c1.193%2C0%2C2.16-0.966%2C2.16-2.159C15.467%2C12.559%2C14.5%2C11.593%2C13.307%2C11.593z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-unlink {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cg%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M12.285%2C9.711l-2.104-0.302L9.243%2C8.568L6.669%2C7.095C6.948%2C6.6%2C6.995%2C6.026%2C6.845%2C5.474%20c-0.191-0.698-0.695-1.36-1.438-1.786C4.068%2C2.922%2C2.464%2C3.214%2C1.82%2C4.338C1.536%2C4.836%2C1.489%2C5.414%2C1.64%2C5.97%20c0.189%2C0.698%2C0.694%2C1.36%2C1.438%2C1.787c0.328%2C0.187%2C0.67%2C0.31%2C1.01%2C0.372c0.002%2C0%2C0.006%2C0.002%2C0.008%2C0.004%20c0.027%2C0.004%2C0.057%2C0.009%2C0.088%2C0.011c2.12%2C0.316%2C3.203%2C0.915%2C3.73%2C1.337c-0.527%2C0.424-1.61%2C1.021-3.731%2C1.339%20c-0.029%2C0.003-0.058%2C0.007-0.087%2C0.012c-0.002%2C0.002-0.004%2C0.002-0.007%2C0.003c-0.341%2C0.062-0.684%2C0.187-1.013%2C0.374%20c-0.74%2C0.425-1.246%2C1.089-1.437%2C1.787c-0.149%2C0.555-0.105%2C1.133%2C0.181%2C1.632c0.011%2C0.018%2C0.021%2C0.033%2C0.033%2C0.049l0.883%2C0.783%20c0.765%2C0.366%2C1.775%2C0.328%2C2.67-0.184c0.744-0.425%2C1.248-1.088%2C1.439-1.786c0.148-0.552%2C0.104-1.126-0.176-1.62l2.573-1.473%20c0.573%2C0.287%2C2.299%2C1.292%2C2.299%2C1.292s3.602%2C1.445%2C4.241%2C1.812c0.773%2C0.191%2C0.566-0.151%2C0.566-0.151L12.285%2C9.711z%20M5.571%2C6.482%20C5.279%2C6.993%2C4.425%2C7.076%2C3.705%2C6.664C3.282%2C6.424%2C2.966%2C6.039%2C2.856%2C5.64C2.81%2C5.464%2C2.778%2C5.203%2C2.917%2C4.963%20c0.291-0.51%2C1.146-0.593%2C1.866-0.182C5.21%2C5.027%2C5.521%2C5.4%2C5.632%2C5.807C5.679%2C5.98%2C5.708%2C6.242%2C5.571%2C6.482z%20M5.632%2C13.159%20c-0.111%2C0.406-0.422%2C0.778-0.848%2C1.025c-0.719%2C0.409-1.576%2C0.327-1.867-0.184c-0.137-0.239-0.106-0.499-0.06-0.676%20c0.108-0.398%2C0.426-0.781%2C0.847-1.022c0.72-0.412%2C1.574-0.329%2C1.866%2C0.181C5.708%2C12.723%2C5.679%2C12.983%2C5.632%2C13.159z%20M16.181%2C5.139%20c-0.448%2C0.258-4.435%2C1.9-4.435%2C1.9s-1.556%2C0.855-2.104%2C1.13l0.937%2C0.843l2.057-0.229l4.11-3.638%20C16.745%2C5.146%2C17.013%2C4.664%2C16.181%2C5.139z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-unlink:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2218.75px%22%20height%3D%2218.75px%22%20viewBox%3D%220%200%2018.75%2018.75%22%20enable-background%3D%22new%200%200%2018.75%2018.75%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cg%3E%3Cpath%20fill%3D%22%23FD6EB6%22%20d%3D%22M12.285%2C9.711l-2.104-0.302L9.243%2C8.568L6.669%2C7.095C6.948%2C6.6%2C6.995%2C6.026%2C6.845%2C5.474%20c-0.191-0.698-0.695-1.36-1.438-1.786C4.068%2C2.922%2C2.464%2C3.214%2C1.82%2C4.338C1.536%2C4.836%2C1.489%2C5.414%2C1.64%2C5.97%20c0.189%2C0.698%2C0.694%2C1.36%2C1.438%2C1.787c0.328%2C0.187%2C0.67%2C0.31%2C1.01%2C0.372c0.002%2C0%2C0.006%2C0.002%2C0.008%2C0.004%20c0.027%2C0.004%2C0.057%2C0.009%2C0.088%2C0.011c2.12%2C0.316%2C3.203%2C0.915%2C3.73%2C1.337c-0.527%2C0.424-1.61%2C1.021-3.731%2C1.339%20c-0.029%2C0.003-0.058%2C0.007-0.087%2C0.012c-0.002%2C0.002-0.004%2C0.002-0.007%2C0.003c-0.341%2C0.062-0.684%2C0.187-1.013%2C0.374%20c-0.74%2C0.425-1.246%2C1.089-1.437%2C1.787c-0.149%2C0.555-0.105%2C1.133%2C0.181%2C1.632c0.011%2C0.018%2C0.021%2C0.033%2C0.033%2C0.049l0.883%2C0.783%20c0.765%2C0.366%2C1.775%2C0.328%2C2.67-0.184c0.744-0.425%2C1.248-1.088%2C1.439-1.786c0.148-0.552%2C0.104-1.126-0.176-1.62l2.573-1.473%20c0.573%2C0.287%2C2.299%2C1.292%2C2.299%2C1.292s3.602%2C1.445%2C4.241%2C1.812c0.773%2C0.191%2C0.566-0.151%2C0.566-0.151L12.285%2C9.711z%20M5.571%2C6.482%20C5.279%2C6.993%2C4.425%2C7.076%2C3.705%2C6.664C3.282%2C6.424%2C2.966%2C6.039%2C2.856%2C5.64C2.81%2C5.464%2C2.778%2C5.203%2C2.917%2C4.963%20c0.291-0.51%2C1.146-0.593%2C1.866-0.182C5.21%2C5.027%2C5.521%2C5.4%2C5.632%2C5.807C5.679%2C5.98%2C5.708%2C6.242%2C5.571%2C6.482z%20M5.632%2C13.159%20c-0.111%2C0.406-0.422%2C0.778-0.848%2C1.025c-0.719%2C0.409-1.576%2C0.327-1.867-0.184c-0.137-0.239-0.106-0.499-0.06-0.676%20c0.108-0.398%2C0.426-0.781%2C0.847-1.022c0.72-0.412%2C1.574-0.329%2C1.866%2C0.181C5.708%2C12.723%2C5.679%2C12.983%2C5.632%2C13.159z%20M16.181%2C5.139%20c-0.448%2C0.258-4.435%2C1.9-4.435%2C1.9s-1.556%2C0.855-2.104%2C1.13l0.937%2C0.843l2.057-0.229l4.11-3.638%20C16.745%2C5.146%2C17.013%2C4.664%2C16.181%2C5.139z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E%20');
}
.x6-widget-handle-direction {
background-image: url("data:image/svg+xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3C!DOCTYPE%20svg%20%20PUBLIC%20'-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN'%20%20'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09.st0%7Bfill%3A%236A6C8A%3Bstroke%3A%236A6C8A%3Bstroke-width%3A30%7D%0A%09.dot%7Bfill%3A%236A6C8A%3B%7D%0A%3C%2Fstyle%3E%3Cg%3E%3Cg%20id%3D%22XMLID_475_%22%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M133.1%2C277.1c1.8%2C0%2C3.7-0.6%2C5.4-1.7c4.1-3%2C5-8.7%2C2-12.8c-3-4.1-8.7-5-12.8-2c0%2C0%2C0%2C0%2C0%2C0%20%20%20%20%20c-4.1%2C3-5%2C8.7-2%2C12.8C127.5%2C275.8%2C130.3%2C277.1%2C133.1%2C277.1z%22%20id%3D%22XMLID_489_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M138.5%2C359.6c-4.1-3-9.8-2.1-12.8%2C2c-3%2C4.1-2.1%2C9.8%2C2%2C12.8c1.6%2C1.2%2C3.5%2C1.7%2C5.4%2C1.7%20%20%20%20%20c2.8%2C0%2C5.6-1.3%2C7.4-3.7C143.5%2C368.3%2C142.6%2C362.6%2C138.5%2C359.6z%22%20id%3D%22XMLID_726_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M108.1%2C327.7c-4.8%2C1.6-7.4%2C6.7-5.9%2C11.5c1.3%2C3.9%2C4.8%2C6.3%2C8.7%2C6.3c0.9%2C0%2C1.9-0.1%2C2.8-0.4%20%20%20%20%20c4.8-1.6%2C7.4-6.7%2C5.9-11.5C118%2C328.8%2C112.9%2C326.2%2C108.1%2C327.7z%22%20id%3D%22XMLID_776_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M108.1%2C307.3c0.9%2C0.3%2C1.9%2C0.4%2C2.8%2C0.4c3.8%2C0%2C7.4-2.4%2C8.7-6.3c1.6-4.8-1.1-9.9-5.9-11.5%20%20%20%20%20c-4.8-1.6-9.9%2C1.1-11.5%2C5.9C100.7%2C300.6%2C103.3%2C305.7%2C108.1%2C307.3z%22%20id%3D%22XMLID_777_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M169.2%2C265.4c2.4%2C0%2C4.7-1%2C6.5-2.6c1.7-1.7%2C2.7-4.1%2C2.7-6.5c0-2.4-1-4.8-2.7-6.5%20%20%20%20%20c-1.7-1.7-4.1-2.7-6.5-2.7s-4.7%2C1-6.5%2C2.7c-1.7%2C1.7-2.7%2C4-2.7%2C6.5c0%2C2.4%2C1%2C4.7%2C2.7%2C6.5C164.4%2C264.4%2C166.8%2C265.4%2C169.2%2C265.4z%22%20id%3D%22XMLID_797_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M247.7%2C256.3c0-5-4.1-9.1-9.1-9.1c-5%2C0-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20C243.7%2C265.4%2C247.7%2C261.3%2C247.7%2C256.3z%22%20id%3D%22XMLID_798_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M213%2C256.3c0-5-4.1-9.1-9.1-9.1c-5%2C0-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20C208.9%2C265.4%2C213%2C261.3%2C213%2C256.3z%22%20id%3D%22XMLID_799_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M317.2%2C256.3c0-5-4.1-9.1-9.1-9.1c-5%2C0-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20C313.1%2C265.4%2C317.2%2C261.3%2C317.2%2C256.3z%22%20id%3D%22XMLID_800_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M282.5%2C256.3c0-5-4.1-9.1-9.1-9.1s-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20S282.5%2C261.3%2C282.5%2C256.3z%22%20id%3D%22XMLID_801_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M401.1%2C185.2c0.9%2C0%2C1.9-0.1%2C2.8-0.5c4.8-1.6%2C7.4-6.7%2C5.9-11.5c-1.6-4.8-6.7-7.4-11.5-5.8%20%20%20%20%20c-4.8%2C1.6-7.4%2C6.7-5.8%2C11.5C393.6%2C182.8%2C397.2%2C185.2%2C401.1%2C185.2z%22%20id%3D%22XMLID_802_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M403.9%2C205.2c-4.8-1.6-9.9%2C1-11.5%2C5.9l0%2C0c-1.6%2C4.8%2C1.1%2C9.9%2C5.9%2C11.5%20%20%20%20%20c0.9%2C0.3%2C1.9%2C0.5%2C2.8%2C0.5c3.9%2C0%2C7.4-2.5%2C8.7-6.3c0%2C0%2C0%2C0%2C0%2C0C411.3%2C211.9%2C408.7%2C206.8%2C403.9%2C205.2z%22%20id%3D%22XMLID_803_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M373.5%2C237.2L373.5%2C237.2c-4.1%2C3-5%2C8.7-2%2C12.8c1.8%2C2.4%2C4.6%2C3.7%2C7.4%2C3.7%20%20%20%20%20c1.8%2C0%2C3.7-0.6%2C5.4-1.8c4.1-3%2C4.9-8.7%2C2-12.8C383.3%2C235.1%2C377.6%2C234.2%2C373.5%2C237.2z%22%20id%3D%22XMLID_804_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M373.5%2C152.9c1.6%2C1.2%2C3.5%2C1.8%2C5.4%2C1.8c2.8%2C0%2C5.6-1.3%2C7.4-3.8c3-4.1%2C2.1-9.8-2-12.7%20%20%20%20%20c-4.1-3-9.8-2.1-12.7%2C2C368.5%2C144.2%2C369.4%2C149.9%2C373.5%2C152.9z%22%20id%3D%22XMLID_805_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M342.8%2C247.1c-2.4%2C0-4.8%2C1-6.5%2C2.7c-1.7%2C1.7-2.7%2C4-2.7%2C6.5c0%2C2.4%2C1%2C4.7%2C2.7%2C6.4%20%20%20%20%20c1.7%2C1.7%2C4%2C2.7%2C6.5%2C2.7c2.4%2C0%2C4.7-1%2C6.5-2.7c1.7-1.7%2C2.7-4%2C2.7-6.4c0-2.4-1-4.8-2.7-6.5C347.6%2C248.1%2C345.2%2C247.1%2C342.8%2C247.1z%22%20id%3D%22XMLID_806_%22%2F%3E%0A%3Cpath%20class%3D%22st0%22%20d%3D%22M342.8%2C124.7H206.6l36.4-36.4c3.6-3.6%2C3.6-9.3%2C0-12.9c-3.6-3.6-9.3-3.6-12.9%2C0l-51.5%2C51.5%20%20%20%20%20c-1.9%2C1.9-2.8%2C4.4-2.7%2C6.9c-0.1%2C2.5%2C0.7%2C5%2C2.7%2C6.9l51.5%2C51.5c1.8%2C1.8%2C4.1%2C2.7%2C6.5%2C2.7c2.3%2C0%2C4.7-0.9%2C6.5-2.7%20%20%20%20%20c3.6-3.6%2C3.6-9.3%2C0-12.9l-36.4-36.4h136.1c0%2C0%2C0.1%2C0%2C0.1%2C0c0.6%2C0%2C1.2-0.1%2C1.8-0.2c0.2%2C0%2C0.4-0.1%2C0.6-0.1c0.1%2C0%2C0.2%2C0%2C0.3-0.1%20%20%20%20%20c3.2-1%2C5.6-3.6%2C6.3-6.9c0.1-0.6%2C0.2-1.2%2C0.2-1.8c0-0.6-0.1-1.2-0.2-1.8C351%2C127.8%2C347.3%2C124.7%2C342.8%2C124.7z%22%20id%3D%22XMLID_807_%22%2F%3E%0A%3Cpath%20class%3D%22st0%22%20d%3D%22M322.1%2C371.3l-51.5-51.5c-3.6-3.6-9.3-3.6-12.9%2C0c-3.6%2C3.6-3.6%2C9.3%2C0%2C12.9l36.9%2C36.9H169.2%20%20%20%20%20c-2.8%2C0-5.4%2C1.3-7%2C3.3c-0.1%2C0.1-0.2%2C0.2-0.3%2C0.4c-0.1%2C0.1-0.2%2C0.2-0.2%2C0.3c-0.1%2C0.1-0.1%2C0.2-0.2%2C0.4c-0.1%2C0.1-0.2%2C0.3-0.2%2C0.4%20%20%20%20%20c0%2C0.1-0.1%2C0.2-0.1%2C0.2c-0.1%2C0.2-0.2%2C0.4-0.3%2C0.6c0%2C0%2C0%2C0%2C0%2C0.1c-0.4%2C1.1-0.7%2C2.2-0.7%2C3.4c0%2C1.5%2C0.4%2C2.9%2C1%2C4.2c0%2C0%2C0%2C0.1%2C0.1%2C0.1%20%20%20%20%20c0.1%2C0.1%2C0.1%2C0.2%2C0.2%2C0.3c0.4%2C0.7%2C0.9%2C1.3%2C1.4%2C1.8c0.4%2C0.4%2C0.7%2C0.7%2C1.2%2C1c0.1%2C0.1%2C0.1%2C0.1%2C0.2%2C0.2c0%2C0%2C0.1%2C0%2C0.1%2C0.1%20%20%20%20%20c1.4%2C0.9%2C3.1%2C1.5%2C5%2C1.5h124.4l-36%2C36c-3.6%2C3.6-3.6%2C9.3%2C0%2C12.9c1.8%2C1.8%2C4.1%2C2.7%2C6.5%2C2.7c2.3%2C0%2C4.7-0.9%2C6.5-2.7l51.5-51.5%20%20%20%20%20c1.9-1.9%2C2.8-4.4%2C2.7-6.9C324.8%2C375.7%2C324%2C373.2%2C322.1%2C371.3z%22%20id%3D%22XMLID_808_%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.x6-widget-handle-direction:hover {
background-image: url("data:image/svg+xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3C!DOCTYPE%20svg%20%20PUBLIC%20'-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN'%20%20'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09.st0%7Bfill%3A%23FD6EB6%3Bstroke%3A%23FD6EB6%3Bstroke-width%3A30%7D%0A%09.dot%7Bfill%3A%23FD6EB6%3B%7D%0A%3C%2Fstyle%3E%3Cg%3E%3Cg%20id%3D%22XMLID_475_%22%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M133.1%2C277.1c1.8%2C0%2C3.7-0.6%2C5.4-1.7c4.1-3%2C5-8.7%2C2-12.8c-3-4.1-8.7-5-12.8-2c0%2C0%2C0%2C0%2C0%2C0%20%20%20%20%20c-4.1%2C3-5%2C8.7-2%2C12.8C127.5%2C275.8%2C130.3%2C277.1%2C133.1%2C277.1z%22%20id%3D%22XMLID_489_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M138.5%2C359.6c-4.1-3-9.8-2.1-12.8%2C2c-3%2C4.1-2.1%2C9.8%2C2%2C12.8c1.6%2C1.2%2C3.5%2C1.7%2C5.4%2C1.7%20%20%20%20%20c2.8%2C0%2C5.6-1.3%2C7.4-3.7C143.5%2C368.3%2C142.6%2C362.6%2C138.5%2C359.6z%22%20id%3D%22XMLID_726_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M108.1%2C327.7c-4.8%2C1.6-7.4%2C6.7-5.9%2C11.5c1.3%2C3.9%2C4.8%2C6.3%2C8.7%2C6.3c0.9%2C0%2C1.9-0.1%2C2.8-0.4%20%20%20%20%20c4.8-1.6%2C7.4-6.7%2C5.9-11.5C118%2C328.8%2C112.9%2C326.2%2C108.1%2C327.7z%22%20id%3D%22XMLID_776_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M108.1%2C307.3c0.9%2C0.3%2C1.9%2C0.4%2C2.8%2C0.4c3.8%2C0%2C7.4-2.4%2C8.7-6.3c1.6-4.8-1.1-9.9-5.9-11.5%20%20%20%20%20c-4.8-1.6-9.9%2C1.1-11.5%2C5.9C100.7%2C300.6%2C103.3%2C305.7%2C108.1%2C307.3z%22%20id%3D%22XMLID_777_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M169.2%2C265.4c2.4%2C0%2C4.7-1%2C6.5-2.6c1.7-1.7%2C2.7-4.1%2C2.7-6.5c0-2.4-1-4.8-2.7-6.5%20%20%20%20%20c-1.7-1.7-4.1-2.7-6.5-2.7s-4.7%2C1-6.5%2C2.7c-1.7%2C1.7-2.7%2C4-2.7%2C6.5c0%2C2.4%2C1%2C4.7%2C2.7%2C6.5C164.4%2C264.4%2C166.8%2C265.4%2C169.2%2C265.4z%22%20id%3D%22XMLID_797_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M247.7%2C256.3c0-5-4.1-9.1-9.1-9.1c-5%2C0-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20C243.7%2C265.4%2C247.7%2C261.3%2C247.7%2C256.3z%22%20id%3D%22XMLID_798_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M213%2C256.3c0-5-4.1-9.1-9.1-9.1c-5%2C0-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20C208.9%2C265.4%2C213%2C261.3%2C213%2C256.3z%22%20id%3D%22XMLID_799_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M317.2%2C256.3c0-5-4.1-9.1-9.1-9.1c-5%2C0-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20C313.1%2C265.4%2C317.2%2C261.3%2C317.2%2C256.3z%22%20id%3D%22XMLID_800_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M282.5%2C256.3c0-5-4.1-9.1-9.1-9.1s-9.1%2C4.1-9.1%2C9.1c0%2C5%2C4.1%2C9.1%2C9.1%2C9.1%20%20%20%20%20S282.5%2C261.3%2C282.5%2C256.3z%22%20id%3D%22XMLID_801_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M401.1%2C185.2c0.9%2C0%2C1.9-0.1%2C2.8-0.5c4.8-1.6%2C7.4-6.7%2C5.9-11.5c-1.6-4.8-6.7-7.4-11.5-5.8%20%20%20%20%20c-4.8%2C1.6-7.4%2C6.7-5.8%2C11.5C393.6%2C182.8%2C397.2%2C185.2%2C401.1%2C185.2z%22%20id%3D%22XMLID_802_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M403.9%2C205.2c-4.8-1.6-9.9%2C1-11.5%2C5.9l0%2C0c-1.6%2C4.8%2C1.1%2C9.9%2C5.9%2C11.5%20%20%20%20%20c0.9%2C0.3%2C1.9%2C0.5%2C2.8%2C0.5c3.9%2C0%2C7.4-2.5%2C8.7-6.3c0%2C0%2C0%2C0%2C0%2C0C411.3%2C211.9%2C408.7%2C206.8%2C403.9%2C205.2z%22%20id%3D%22XMLID_803_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M373.5%2C237.2L373.5%2C237.2c-4.1%2C3-5%2C8.7-2%2C12.8c1.8%2C2.4%2C4.6%2C3.7%2C7.4%2C3.7%20%20%20%20%20c1.8%2C0%2C3.7-0.6%2C5.4-1.8c4.1-3%2C4.9-8.7%2C2-12.8C383.3%2C235.1%2C377.6%2C234.2%2C373.5%2C237.2z%22%20id%3D%22XMLID_804_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M373.5%2C152.9c1.6%2C1.2%2C3.5%2C1.8%2C5.4%2C1.8c2.8%2C0%2C5.6-1.3%2C7.4-3.8c3-4.1%2C2.1-9.8-2-12.7%20%20%20%20%20c-4.1-3-9.8-2.1-12.7%2C2C368.5%2C144.2%2C369.4%2C149.9%2C373.5%2C152.9z%22%20id%3D%22XMLID_805_%22%2F%3E%0A%3Cpath%20class%3D%22dot%22%20d%3D%22M342.8%2C247.1c-2.4%2C0-4.8%2C1-6.5%2C2.7c-1.7%2C1.7-2.7%2C4-2.7%2C6.5c0%2C2.4%2C1%2C4.7%2C2.7%2C6.4%20%20%20%20%20c1.7%2C1.7%2C4%2C2.7%2C6.5%2C2.7c2.4%2C0%2C4.7-1%2C6.5-2.7c1.7-1.7%2C2.7-4%2C2.7-6.4c0-2.4-1-4.8-2.7-6.5C347.6%2C248.1%2C345.2%2C247.1%2C342.8%2C247.1z%22%20id%3D%22XMLID_806_%22%2F%3E%0A%3Cpath%20class%3D%22st0%22%20d%3D%22M342.8%2C124.7H206.6l36.4-36.4c3.6-3.6%2C3.6-9.3%2C0-12.9c-3.6-3.6-9.3-3.6-12.9%2C0l-51.5%2C51.5%20%20%20%20%20c-1.9%2C1.9-2.8%2C4.4-2.7%2C6.9c-0.1%2C2.5%2C0.7%2C5%2C2.7%2C6.9l51.5%2C51.5c1.8%2C1.8%2C4.1%2C2.7%2C6.5%2C2.7c2.3%2C0%2C4.7-0.9%2C6.5-2.7%20%20%20%20%20c3.6-3.6%2C3.6-9.3%2C0-12.9l-36.4-36.4h136.1c0%2C0%2C0.1%2C0%2C0.1%2C0c0.6%2C0%2C1.2-0.1%2C1.8-0.2c0.2%2C0%2C0.4-0.1%2C0.6-0.1c0.1%2C0%2C0.2%2C0%2C0.3-0.1%20%20%20%20%20c3.2-1%2C5.6-3.6%2C6.3-6.9c0.1-0.6%2C0.2-1.2%2C0.2-1.8c0-0.6-0.1-1.2-0.2-1.8C351%2C127.8%2C347.3%2C124.7%2C342.8%2C124.7z%22%20id%3D%22XMLID_807_%22%2F%3E%0A%3Cpath%20class%3D%22st0%22%20d%3D%22M322.1%2C371.3l-51.5-51.5c-3.6-3.6-9.3-3.6-12.9%2C0c-3.6%2C3.6-3.6%2C9.3%2C0%2C12.9l36.9%2C36.9H169.2%20%20%20%20%20c-2.8%2C0-5.4%2C1.3-7%2C3.3c-0.1%2C0.1-0.2%2C0.2-0.3%2C0.4c-0.1%2C0.1-0.2%2C0.2-0.2%2C0.3c-0.1%2C0.1-0.1%2C0.2-0.2%2C0.4c-0.1%2C0.1-0.2%2C0.3-0.2%2C0.4%20%20%20%20%20c0%2C0.1-0.1%2C0.2-0.1%2C0.2c-0.1%2C0.2-0.2%2C0.4-0.3%2C0.6c0%2C0%2C0%2C0%2C0%2C0.1c-0.4%2C1.1-0.7%2C2.2-0.7%2C3.4c0%2C1.5%2C0.4%2C2.9%2C1%2C4.2c0%2C0%2C0%2C0.1%2C0.1%2C0.1%20%20%20%20%20c0.1%2C0.1%2C0.1%2C0.2%2C0.2%2C0.3c0.4%2C0.7%2C0.9%2C1.3%2C1.4%2C1.8c0.4%2C0.4%2C0.7%2C0.7%2C1.2%2C1c0.1%2C0.1%2C0.1%2C0.1%2C0.2%2C0.2c0%2C0%2C0.1%2C0%2C0.1%2C0.1%20%20%20%20%20c1.4%2C0.9%2C3.1%2C1.5%2C5%2C1.5h124.4l-36%2C36c-3.6%2C3.6-3.6%2C9.3%2C0%2C12.9c1.8%2C1.8%2C4.1%2C2.7%2C6.5%2C2.7c2.3%2C0%2C4.7-0.9%2C6.5-2.7l51.5-51.5%20%20%20%20%20c1.9-1.9%2C2.8-4.4%2C2.7-6.9C324.8%2C375.7%2C324%2C373.2%2C322.1%2C371.3z%22%20id%3D%22XMLID_808_%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.x6-widget-handle-surround .x6-widget-handle-animate .x6-widget-handle {
transition: background-size 80ms, width 80ms, height 80ms, top 150ms, left 150ms, bottom 150ms, right 150ms;
}
.x6-widget-handle-surround .x6-widget-handle-pos-se {
right: -25px;
bottom: -25px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-nw {
top: -21px;
left: -25px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-n {
top: -22px;
left: 50%;
margin-left: -10px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-e {
top: -webkit-calc(40%);
top: calc(50% - 10px);
right: -25px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-ne {
top: -21px;
right: -25px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-w {
top: 50%;
left: -25px;
margin-top: -10px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-sw {
bottom: -25px;
left: -25px;
}
.x6-widget-handle-surround .x6-widget-handle-pos-s {
bottom: -24px;
left: 50%;
margin-left: -10px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle {
width: 15px;
height: 15px;
font-size: 15px;
background-size: 15px 15px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-se {
right: -19px;
bottom: -19px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-nw {
top: -19px;
left: -19px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-n {
top: -19px;
margin-left: -7.5px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-e {
top: -webkit-calc(42%);
top: calc(50% - 8px);
right: -19px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-ne {
top: -19px;
right: -19px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-w {
left: -19px;
margin-top: -8px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-sw {
bottom: -19px;
left: -19px;
}
.x6-widget-handle-surround .x6-widget-handle-small .x6-widget-handle-pos-s {
bottom: -19px;
margin-left: -7.5px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle {
width: 10px;
height: 10px;
font-size: 10px;
background-size: 10px 10px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-se {
right: -15px;
bottom: -13px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-nw {
top: -13px;
left: -15px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-n {
top: -13px;
margin-left: -5px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-e {
top: -webkit-calc(45%);
top: calc(50% - 5px);
right: -15px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-ne {
top: -13px;
right: -15px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-w {
left: -15px;
margin-top: -5px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-sw {
bottom: -13px;
left: -15px;
}
.x6-widget-handle-surround .x6-widget-handle-tiny .x6-widget-handle-pos-s {
bottom: -13px;
margin-left: -5px;
}
.x6-widget-handle-toolbar {
position: absolute;
top: -50px;
display: table-row;
padding: 7px 5px;
}
.x6-widget-handle-toolbar::after {
position: absolute;
top: 100%;
left: 10px;
width: 0;
height: 0;
margin-top: 4px;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
content: '';
}
.x6-widget-handle-toolbar .x6-widget-handle {
position: relative;
display: table-cell;
min-width: 20px;
margin: 0 2px;
background-position: 3px 3px;
background-size: 16px 16px;
}
.x6-widget-handle-toolbar .x6-widget-handle::after {
position: absolute;
bottom: -11px;
width: 100%;
content: '';
}
.x6-widget-handle-pie {
position: absolute;
top: -webkit-calc(0%);
top: calc(50% - 50px);
right: -50px;
z-index: 1;
display: none;
width: 100px;
height: 100px;
margin: -2px -2px 0 0;
border-radius: 50%;
cursor: default;
pointer-events: visiblePainted;
}
.x6-widget-handle-pie .x6-widget-handle {
width: 1px;
height: auto;
pointer-events: visiblePainted;
}
.x6-widget-handle-pie-slice-svg {
width: 100%;
height: 100%;
overflow: visible !important;
}
.x6-widget-handle-pie-slice-img,
.x6-widget-handle-pie-slice-txt {
display: none;
pointer-events: none;
}
.x6-widget-handle-pie[data-pie-toggle-position='e'] {
top: calc(50% - 50px);
right: -50px;
left: auto;
}
.x6-widget-handle-pie[data-pie-toggle-position='w'] {
top: calc(50% - 50px);
right: auto;
left: -52px;
}
.x6-widget-handle-pie[data-pie-toggle-position='n'] {
top: -50px;
right: auto;
bottom: auto;
left: calc(50% - 52px);
}
.x6-widget-handle-pie[data-pie-toggle-position='s'] {
top: auto;
right: auto;
bottom: -52px;
left: calc(50% - 52px);
}
.x6-widget-handle-pie-opened {
display: block;
animation: halo-pie-visibility 0.1s, halo-pie-opening 0.1s;
animation-timing-function: step-end, ease;
animation-delay: 0s, 0.1s;
}
.x6-widget-handle-pie-toggle {
position: absolute;
top: -webkit-calc(35%);
top: calc(50% - 15px);
right: -15px;
z-index: 2;
display: block;
box-sizing: border-box;
width: 30px;
height: 30px;
background-repeat: no-repeat;
background-position: center;
background-size: 20px 20px;
border-radius: 50%;
cursor: pointer;
user-select: none;
pointer-events: visiblePainted;
-webkit-user-drag: none;
user-drag: none;
/* stylelint-disable-line */
}
.x6-widget-handle-pie-toggle-pos-e {
top: -webkit-calc(35%);
top: calc(50% - 15px);
right: -15px;
bottom: auto;
left: auto;
}
.x6-widget-handle-pie-toggle-pos-w {
top: -webkit-calc(35%);
top: calc(50% - 15px);
right: auto;
bottom: auto;
left: -15px;
}
.x6-widget-handle-pie-toggle-pos-n {
top: -15px;
right: auto;
bottom: auto;
left: -webkit-calc(35%);
left: calc(50% - 15px);
}
.x6-widget-handle-pie-toggle-pos-s {
top: auto;
right: auto;
bottom: -15px;
left: -webkit-calc(35%);
left: calc(50% - 15px);
}
.x6-widget-handle-pie-toggle-opened {
transition: 0.1s background-image;
}
.x6-widget-handle-toolbar {
position: static;
display: inline-block;
margin-top: -50px;
margin-left: 45px;
white-space: nowrap;
vertical-align: top;
background-color: #f5f5f5;
border-bottom: 3px solid #333;
border-radius: 5px;
box-shadow: 0 1px 2px #222;
}
.x6-widget-handle-toolbar::after {
top: -12px;
left: 55px;
margin-top: 0;
border-top: 6px solid #333;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
}
.x6-widget-handle-toolbar .x6-widget-handle {
display: inline-block;
vertical-align: top;
}
.x6-widget-handle-toolbar .x6-widget-handle:hover::after {
border-bottom: 4px solid #fc6cb8;
}
.x6-widget-handle-toolbar .x6-widget-handle-rotate {
position: absolute;
top: 100%;
right: 100%;
margin-top: 3px;
margin-right: 6px;
}
.x6-widget-handle-toolbar .x6-widget-handle-remove:hover::after,
.x6-widget-handle-toolbar .x6-widget-handle-rotate:hover::after {
border-bottom: none;
}
.x6-widget-handle-toolbar .x6-widget-handle + .x6-widget-handle {
margin-left: 4px;
}
.x6-widget-handle-pie {
box-sizing: content-box;
background-color: #f5f5f5;
border: 2px solid #404040;
}
.x6-widget-handle-pie-slice {
fill: transparent;
stroke: #e9e9e9;
stroke-width: 1;
}
.x6-widget-handle-pie-slice:hover {
fill: #fff;
}
.x6-widget-handle-pie-slice-img {
display: block;
}
.x6-widget-handle-selected .x6-widget-handle-pie-slice {
fill: #fff;
}
.x6-widget-handle-pie-toggle {
background-color: #f6f6f6;
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20height%3D%2216px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%2016%2016%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%2016%2016%22%20width%3D%2216px%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cpath%20fill%3D%22%236A6C8A%22%20d%3D%22M15%2C6h-5V1c0-0.55-0.45-1-1-1H7C6.45%2C0%2C6%2C0.45%2C6%2C1v5H1C0.45%2C6%2C0%2C6.45%2C0%2C7v2c0%2C0.55%2C0.45%2C1%2C1%2C1h5v5c0%2C0.55%2C0.45%2C1%2C1%2C1h2%20c0.55%2C0%2C1-0.45%2C1-1v-5h5c0.55%2C0%2C1-0.45%2C1-1V7C16%2C6.45%2C15.55%2C6%2C15%2C6z%22%2F%3E%3C%2Fsvg%3E');
background-size: 16px 16px;
border: 2px solid #3b425f;
}
.x6-widget-handle-pie-toggle:hover {
background-color: #fff;
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20height%3D%2216px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%2016%2016%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%2016%2016%22%20width%3D%2216px%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cpath%20fill%3D%22%23FD6EB6%22%20d%3D%22M15%2C6h-5V1c0-0.55-0.45-1-1-1H7C6.45%2C0%2C6%2C0.45%2C6%2C1v5H1C0.45%2C6%2C0%2C6.45%2C0%2C7v2c0%2C0.55%2C0.45%2C1%2C1%2C1h5v5c0%2C0.55%2C0.45%2C1%2C1%2C1h2%20c0.55%2C0%2C1-0.45%2C1-1v-5h5c0.55%2C0%2C1-0.45%2C1-1V7C16%2C6.45%2C15.55%2C6%2C15%2C6z%22%2F%3E%3C%2Fsvg%3E');
border-color: #fd6eb6;
}
.x6-widget-handle-pie-toggle-opened {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20id%3D%22Layer_1%22%20xml%3Aspace%3D%22preserve%22%3E%3Cmetadata%20id%3D%22metadata9%22%3E%3Crdf%3ARDF%3E%3Ccc%3AWork%20rdf%3Aabout%3D%22%22%3E%3Cdc%3Aformat%3Eimage%2Fsvg%2Bxml%3C%2Fdc%3Aformat%3E%3Cdc%3Atype%20rdf%3Aresource%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fdcmitype%2FStillImage%22%20%2F%3E%3Cdc%3Atitle%3E%3C%2Fdc%3Atitle%3E%3C%2Fcc%3AWork%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cdefs%20id%3D%22defs7%22%20%2F%3E%3Cpath%20d%3D%22M%2015%2C6%2010%2C6%20C%201.0301983%2C6.00505%2015.002631%2C6.011353%206%2C6%20L%201%2C6%20C%200.45%2C6%200%2C6.45%200%2C7%20l%200%2C2%20c%200%2C0.55%200.45%2C1%201%2C1%20l%205%2C0%20c%208.988585%2C-0.019732%20-5.02893401%2C-0.018728%204%2C0%20l%205%2C0%20c%200.55%2C0%201%2C-0.45%201%2C-1%20L%2016%2C7%20C%2016%2C6.45%2015.55%2C6%2015%2C6%20z%22%20id%3D%22path3%22%20style%3D%22fill%3A%236a6c8a%22%20%2F%3E%3C%2Fsvg%3E');
}
.x6-widget-handle-pie-toggle-opened:hover {
background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20id%3D%22Layer_1%22%20xml%3Aspace%3D%22preserve%22%3E%3Cmetadata%20id%3D%22metadata9%22%3E%3Crdf%3ARDF%3E%3Ccc%3AWork%20rdf%3Aabout%3D%22%22%3E%3Cdc%3Aformat%3Eimage%2Fsvg%2Bxml%3C%2Fdc%3Aformat%3E%3Cdc%3Atype%20rdf%3Aresource%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fdcmitype%2FStillImage%22%20%2F%3E%3Cdc%3Atitle%3E%3C%2Fdc%3Atitle%3E%3C%2Fcc%3AWork%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cdefs%20id%3D%22defs7%22%20%2F%3E%3Cpath%20d%3D%22M%2015%2C6%2010%2C6%20C%201.0301983%2C6.00505%2015.002631%2C6.011353%206%2C6%20L%201%2C6%20C%200.45%2C6%200%2C6.45%200%2C7%20l%200%2C2%20c%200%2C0.55%200.45%2C1%201%2C1%20l%205%2C0%20c%208.988585%2C-0.019732%20-5.02893401%2C-0.018728%204%2C0%20l%205%2C0%20c%200.55%2C0%201%2C-0.45%201%2C-1%20L%2016%2C7%20C%2016%2C6.45%2015.55%2C6%2015%2C6%20z%22%20id%3D%22path3%22%20style%3D%22fill%3A%23FD6EB6%22%20%2F%3E%3C%2Fsvg%3E');
}
.x6-widget-dnd {
position: absolute;
top: -10000px;
left: -10000px;
z-index: 999999;
display: none;
cursor: move;
opacity: 0.7;
pointer-events: 'cursor';
}
.x6-widget-dnd.dragging {
display: inline-block;
}
.x6-widget-dnd.dragging * {
pointer-events: none !important;
}
.x6-widget-dnd .x6-graph {
background: transparent;
box-shadow: none;
}
.x6-widget-halo {
position: absolute;
pointer-events: none;
}
.x6-widget-halo-content {
position: absolute;
top: 100%;
padding: 6px;
font-size: 10px;
line-height: 14px;
text-align: center;
border-radius: 6px;
}
.x6-widget-halo-handles + .x6-widget-halo-content {
right: -20px;
left: -20px;
margin-top: 30px;
}
.x6-widget-halo-handles.x6-widget-handle-small + .x6-widget-halo-content {
margin-top: 25px;
}
.x6-widget-halo-handles.x6-widget-handle-small + .x6-widget-halo-content {
margin-top: 20px;
}
.x6-widget-halo-handles.x6-widget-handle-pie + .x6-widget-halo-content {
right: 0;
left: 0;
margin-top: 10px;
}
.x6-widget-halo-content {
color: #fff;
background-color: #6a6b8a;
}
.x6-widget-halo.type-node .x6-widget-handle-toolbar .x6-widget-handle-remove {
position: absolute;
right: 100%;
bottom: 100%;
margin-right: 6px;
margin-bottom: 3px;
}
.x6-widget-halo.type-edge .x6-widget-handle-surround .x6-widget-handle-remove {
background-color: #fff;
border-radius: 50%;
}
.x6-widget-halo.type-edge .x6-widget-handle-toolbar {
margin-top: -60px;
margin-left: -18px;
}
.x6-widget-halo.type-edge .x6-widget-handle-toolbar::after {
top: -22px;
left: -9px;
}
.x6-widget-minimap {
position: relative;
display: table-cell;
box-sizing: border-box;
overflow: hidden;
text-align: center;
vertical-align: middle;
background-color: #fff;
user-select: none;
}
.x6-widget-minimap .x6-graph {
display: inline-block;
box-shadow: 0 0 4px 0 #eee;
cursor: pointer;
}
.x6-widget-minimap .x6-graph > svg {
pointer-events: none;
shape-rendering: optimizeSpeed;
}
.x6-widget-minimap .x6-graph .x6-node * {
/* stylelint-disable-next-line */
vector-effect: initial;
}
.x6-widget-minimap-viewport {
position: absolute;
box-sizing: content-box !important;
margin: -2px 0 0 -2px;
border: 2px solid #31d0c6;
cursor: move;
}
.x6-widget-minimap-viewport-zoom {
position: absolute;
right: 0;
bottom: 0;
box-sizing: border-box;
width: 12px;
height: 12px;
margin: 0 -6px -6px 0;
background-color: #fff;
border: 2px solid #31d0c6;
border-radius: 50%;
cursor: nwse-resize;
}
.x6-graph-scroller {
position: relative;
box-sizing: border-box;
overflow: scroll;
outline: none;
}
.x6-graph-scroller-content {
position: relative;
}
.x6-graph-scroller-background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.x6-graph-scroller .x6-graph {
position: absolute;
display: inline-block;
margin: 0;
box-shadow: none;
}
.x6-graph-scroller .x6-graph > svg {
display: block;
}
.x6-graph-scroller.x6-graph-scroller-paged .x6-graph {
box-shadow: 0 0 4px 0 #eee;
}
.x6-graph-scroller.x6-graph-scroller-pannable[data-panning='false'] {
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
.x6-graph-scroller.x6-graph-scroller-pannable[data-panning='true'] {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
user-select: none;
}
.x6-graph-pagebreak {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.x6-graph-pagebreak-vertical {
position: absolute;
top: 0;
bottom: 0;
box-sizing: border-box;
width: 1px;
border-left: 1px dashed #bdbdbd;
}
.x6-graph-pagebreak-horizontal {
position: absolute;
right: 0;
left: 0;
box-sizing: border-box;
height: 1px;
border-top: 1px dashed #bdbdbd;
}
.x6-widget-selection {
position: absolute;
display: none;
width: 0;
height: 0;
touch-action: none;
}
.x6-widget-selection-rubberband {
display: block;
overflow: visible;
opacity: 0.3;
}
.x6-widget-selection-selected {
display: block;
}
.x6-widget-selection-box {
cursor: move;
}
.x6-widget-selection-inner[data-selection-length='0'],
.x6-widget-selection-inner[data-selection-length='1'] {
display: none;
}
.x6-widget-selection-content {
position: absolute;
top: 100%;
right: -20px;
left: -20px;
margin-top: 30px;
padding: 6px;
line-height: 14px;
text-align: center;
border-radius: 6px;
}
.x6-widget-selection-content:empty {
display: none;
}
.x6-widget-selection-rubberband {
background-color: #3498db;
border: 2px solid #2980b9;
}
.x6-widget-selection-box {
box-sizing: content-box !important;
margin-top: -4px;
margin-left: -4px;
padding-right: 4px;
padding-bottom: 4px;
border: 2px dashed #feb663;
box-shadow: 2px 2px 5px #d3d3d3;
}
.x6-widget-selection-inner {
box-sizing: content-box !important;
margin-top: -8px;
margin-left: -8px;
padding-right: 12px;
padding-bottom: 12px;
border: 2px solid #feb663;
box-shadow: 2px 2px 5px #d3d3d3;
}
.x6-widget-selection-content {
color: #fff;
font-size: 10px;
background-color: #6a6b8a;
}
.x6-widget-snapline {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none;
}
.x6-widget-snapline-vertical,
.x6-widget-snapline-horizontal {
stroke: #2ecc71;
stroke-width: 1px;
}
.x6-widget-stencil {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.x6-widget-stencil::after {
position: absolute;
top: 0;
display: block;
width: 100%;
height: 20px;
padding: 8px 0;
line-height: 20px;
text-align: center;
opacity: 0;
transition: top 0.1s linear, opacity 0.1s linear;
content: ' ';
pointer-events: none;
}
.x6-widget-stencil-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: auto;
overflow-x: hidden;
overflow-y: auto;
}
.x6-widget-stencil .x6-node [magnet]:not([magnet='passive']) {
pointer-events: none;
}
.x6-widget-stencil-group {
padding: 0;
padding-bottom: 8px;
overflow: hidden;
user-select: none;
}
.x6-widget-stencil-group.collapsed {
height: auto;
padding-bottom: 0;
}
.x6-widget-stencil-group-title {
position: relative;
margin-top: 0;
margin-bottom: 0;
padding: 4px;
cursor: pointer;
}
.x6-widget-stencil-title,
.x6-widget-stencil-group > .x6-widget-stencil-group-title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
user-select: none;
}
.x6-widget-stencil .unmatched {
opacity: 0.3;
}
.x6-widget-stencil .x6-node.unmatched {
display: none;
}
.x6-widget-stencil-group.unmatched {
display: none;
}
.x6-widget-stencil-search-text {
position: relative;
z-index: 1;
box-sizing: border-box;
width: 100%;
height: 30px;
max-height: 30px;
line-height: 30px;
outline: 0;
}
.x6-widget-stencil.not-found::after {
opacity: 1;
content: attr(data-not-found-text);
}
.x6-widget-stencil.not-found.searchable::after {
top: 30px;
}
.x6-widget-stencil.not-found.searchable.collapsable::after {
top: 50px;
}
.x6-widget-stencil {
color: #333;
background: #f5f5f5;
}
.x6-widget-stencil-content {
position: absolute;
}
.x6-widget-stencil.collapsable > .x6-widget-stencil-content {
top: 32px;
}
.x6-widget-stencil.searchable > .x6-widget-stencil-content {
top: 80px;
}
.x6-widget-stencil.not-found::after {
position: absolute;
}
.x6-widget-stencil.not-found.searchable.collapsable::after {
top: 80px;
}
.x6-widget-stencil.not-found.searchable::after {
top: 60px;
}
.x6-widget-stencil-group {
height: auto;
margin-bottom: 1px;
padding: 0;
transition: none;
}
.x6-widget-stencil-group .x6-graph {
background: transparent;
box-shadow: none;
}
.x6-widget-stencil-group.collapsed {
height: auto;
max-height: 31px;
}
.x6-widget-stencil-title,
.x6-widget-stencil-group > .x6-widget-stencil-group-title {
position: relative;
left: 0;
box-sizing: border-box;
width: 100%;
height: 32px;
padding: 0 5px 0 8px;
color: #666;
font-weight: 700;
font-size: 12px;
line-height: 32px;
cursor: default;
transition: all 0.3;
}
.x6-widget-stencil-title:hover,
.x6-widget-stencil-group > .x6-widget-stencil-group-title:hover {
color: #444;
}
.x6-widget-stencil-title {
background: #e9e9e9;
}
.x6-widget-stencil-group > .x6-widget-stencil-group-title {
background: #ededed;
}
.x6-widget-stencil.collapsable > .x6-widget-stencil-title,
.x6-widget-stencil-group.collapsable > .x6-widget-stencil-group-title {
padding-left: 32px;
cursor: pointer;
}
.x6-widget-stencil.collapsable > .x6-widget-stencil-title::before,
.x6-widget-stencil-group.collapsable > .x6-widget-stencil-group-title::before {
position: absolute;
top: 6px;
left: 8px;
display: block;
width: 18px;
height: 18px;
margin: 0;
padding: 0;
background-color: transparent;
background-repeat: no-repeat;
background-position: 0 0;
border: none;
content: ' ';
}
.x6-widget-stencil.collapsable > .x6-widget-stencil-title::before,
.x6-widget-stencil-group.collapsable > .x6-widget-stencil-group-title::before {
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOS4zNzUuNUM0LjY4Ny41Ljg3NSA0LjMxMy44NzUgOWMwIDQuNjg4IDMuODEyIDguNSA4LjUgOC41IDQuNjg3IDAgOC41LTMuODEyIDguNS04LjUgMC00LjY4Ny0zLjgxMy04LjUtOC41LTguNXptMCAxNS44ODZDNS4zMDMgMTYuMzg2IDEuOTkgMTMuMDcyIDEuOTkgOXMzLjMxMi03LjM4NSA3LjM4NS03LjM4NVMxNi43NiA0LjkyOCAxNi43NiA5YzAgNC4wNzItMy4zMTMgNy4zODYtNy4zODUgNy4zODZ6Ii8+PHBhdGggZD0iTTEyLjc1MyA4LjQ0M0g1Ljk5N2EuNTU4LjU1OCAwIDAwMCAxLjExNmg2Ljc1NmEuNTU4LjU1OCAwIDAwMC0xLjExNnoiLz48L2c+PC9zdmc+');
opacity: 0.4;
transition: all 0.3s;
}
.x6-widget-stencil.collapsable > .x6-widget-stencil-title:hover::before,
.x6-widget-stencil-group.collapsable > .x6-widget-stencil-group-title:hover::before {
opacity: 0.6;
}
.x6-widget-stencil.collapsable.collapsed > .x6-widget-stencil-title::before,
.x6-widget-stencil-group.collapsable.collapsed > .x6-widget-stencil-group-title::before {
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOS4zNzUuNUM0LjY4Ny41Ljg3NSA0LjMxMy44NzUgOWMwIDQuNjg4IDMuODEyIDguNSA4LjUgOC41IDQuNjg3IDAgOC41LTMuODEyIDguNS04LjUgMC00LjY4Ny0zLjgxMy04LjUtOC41LTguNXptMCAxNS44ODZDNS4zMDMgMTYuMzg2IDEuOTkgMTMuMDcyIDEuOTkgOXMzLjMxMi03LjM4NSA3LjM4NS03LjM4NVMxNi43NiA0LjkyOCAxNi43NiA5YzAgNC4wNzItMy4zMTMgNy4zODYtNy4zODUgNy4zODZ6Ii8+PHBhdGggZD0iTTEyLjc1MyA4LjQ0M0g1Ljk5N2EuNTU4LjU1OCAwIDAwMCAxLjExNmg2Ljc1NmEuNTU4LjU1OCAwIDAwMC0xLjExNnoiLz48cGF0aCBkPSJNOC44MTcgNS42MjN2Ni43NTZhLjU1OC41NTggMCAwMDEuMTE2IDBWNS42MjNhLjU1OC41NTggMCAxMC0xLjExNiAweiIvPjwvZz48L3N2Zz4=');
opacity: 0.4;
}
.x6-widget-stencil.collapsable.collapsed > .x6-widget-stencil-title:hover::before,
.x6-widget-stencil-group.collapsable.collapsed > .x6-widget-stencil-group-title:hover::before {
opacity: 0.6;
}
.x6-widget-stencil input[type='search'] {
-webkit-appearance: textfield;
}
.x6-widget-stencil input[type='search']::-webkit-search-cancel-button,
.x6-widget-stencil input[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
.x6-widget-stencil-search-text {
display: block;
width: 90%;
margin: 8px 5%;
padding-left: 8px;
color: #333;
background: #fff;
border: 1px solid #e9e9e9;
border-radius: 12px;
outline: 0;
}
.x6-widget-stencil-search-text:focus {
outline: 0;
}
.x6-widget-stencil::after {
color: #808080;
font-weight: 600;
font-size: 12px;
background: 0 0;
}
.x6-widget-transform {
position: absolute;
box-sizing: content-box !important;
margin: -5px 0 0 -5px;
padding: 4px;
border: 1px dashed #000;
border-radius: 5px;
user-select: none;
pointer-events: none;
}
.x6-widget-transform > div {
position: absolute;
box-sizing: border-box;
background-color: #fff;
border: 1px solid #000;
transition: background-color 0.2s;
pointer-events: auto;
-webkit-user-drag: none;
user-drag: none;
/* stylelint-disable-line */
}
.x6-widget-transform > div:hover {
background-color: #d3d3d3;
}
.x6-widget-transform-cursor-n {
cursor: n-resize;
}
.x6-widget-transform-cursor-s {
cursor: s-resize;
}
.x6-widget-transform-cursor-e {
cursor: e-resize;
}
.x6-widget-transform-cursor-w {
cursor: w-resize;
}
.x6-widget-transform-cursor-ne {
cursor: ne-resize;
}
.x6-widget-transform-cursor-nw {
cursor: nw-resize;
}
.x6-widget-transform-cursor-se {
cursor: se-resize;
}
.x6-widget-transform-cursor-sw {
cursor: sw-resize;
}
.x6-widget-transform-resize {
width: 10px;
height: 10px;
border-radius: 6px;
}
.x6-widget-transform-resize[data-position='top-left'] {
top: -5px;
left: -5px;
}
.x6-widget-transform-resize[data-position='top-right'] {
top: -5px;
right: -5px;
}
.x6-widget-transform-resize[data-position='bottom-left'] {
bottom: -5px;
left: -5px;
}
.x6-widget-transform-resize[data-position='bottom-right'] {
right: -5px;
bottom: -5px;
}
.x6-widget-transform-resize[data-position='top'] {
top: -5px;
left: 50%;
margin-left: -5px;
}
.x6-widget-transform-resize[data-position='bottom'] {
bottom: -5px;
left: 50%;
margin-left: -5px;
}
.x6-widget-transform-resize[data-position='left'] {
top: 50%;
left: -5px;
margin-top: -5px;
}
.x6-widget-transform-resize[data-position='right'] {
top: 50%;
right: -5px;
margin-top: -5px;
}
.x6-widget-transform.prevent-aspect-ratio .x6-widget-transform-resize[data-position='top'],
.x6-widget-transform.prevent-aspect-ratio .x6-widget-transform-resize[data-position='bottom'],
.x6-widget-transform.prevent-aspect-ratio .x6-widget-transform-resize[data-position='left'],
.x6-widget-transform.prevent-aspect-ratio .x6-widget-transform-resize[data-position='right'] {
display: none;
}
.x6-widget-transform.no-orth-resize .x6-widget-transform-resize[data-position='bottom'],
.x6-widget-transform.no-orth-resize .x6-widget-transform-resize[data-position='left'],
.x6-widget-transform.no-orth-resize .x6-widget-transform-resize[data-position='right'],
.x6-widget-transform.no-orth-resize .x6-widget-transform-resize[data-position='top'] {
display: none;
}
.x6-widget-transform.no-resize .x6-widget-transform-resize {
display: none;
}
.x6-widget-transform-rotate {
top: -20px;
left: -20px;
width: 12px;
height: 12px;
border-radius: 6px;
cursor: crosshair;
}
.x6-widget-transform.no-rotate .x6-widget-transform-rotate {
display: none;
}
.x6-widget-transform-active {
border-color: transparent;
pointer-events: all;
}
.x6-widget-transform-active > div {
display: none;
}
.x6-widget-transform-active > .x6-widget-transform-active-handle {
display: block;
background-color: #808080;
}
.x6-widget-knob {
position: absolute;
box-sizing: border-box;
width: 16px;
height: 16px;
margin-top: -8px;
margin-left: -8px;
cursor: pointer;
user-select: none;
}
.x6-widget-knob::before,
.x6-widget-knob::after {
position: absolute;
transform: rotate(45deg);
content: '';
}
.x6-widget-knob::before {
top: 4px;
left: 4px;
box-sizing: border-box;
width: 8px;
height: 8px;
background-color: #fff;
}
.x6-widget-knob::after {
top: 5px;
left: 5px;
box-sizing: border-box;
width: 6px;
height: 6px;
background-color: #fca000;
}
.x6-graph-print {
position: relative;
}
.x6-graph-print .x6-graph-print-ready {
display: none;
}
.x6-graph-print .x6-graph-print-preview {
overflow: hidden !important;
background: #fff !important;
}
@media print {
html,
html > body.x6-graph-printing {
position: relative !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
html > body.x6-graph-printing > * {
display: none !important;
}
html > body.x6-graph-printing > .x6-graph-print {
display: block !important;
}
.x6-graph-print {
top: 0 !important;
left: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
page-break-after: always;
background: #fff !important;
}
.x6-graph-print .x6-graph-print-ready {
display: none;
}
}
.x6-cell-tool-editor {
position: relative;
display: inline-block;
min-height: 1em;
margin: 0;
padding: 0;
line-height: 1;
white-space: normal;
text-align: center;
vertical-align: top;
overflow-wrap: normal;
outline: none;
transform-origin: 0 0;
-webkit-user-drag: none;
}
.x6-edge-tool-editor {
border: 1px solid #275fc5;
border-radius: 2px;
}
`,gL=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},g2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"init",value:function(){Jg.autoInsertCSS&&c.ensure()}},{key:"dispose",value:function(){c.clean()}}]),c}(rp);gL([g2.dispose()],g2.prototype,"dispose",null),function(u){var i,c=0;function o(){if(c+=1,!(c>1)&&!Vf.isApplyingHMR()){i=document.createElement("style"),i.setAttribute("type","text/css"),i.textContent=Rte;var r=document.querySelector("head");r&&r.insertBefore(i,r.firstChild)}}u.ensure=o;function t(){c-=1,!(c>0)&&(i&&i.parentNode&&i.parentNode.removeChild(i),i=null)}u.clean=t}(g2||(g2={}));var lV=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},m2=function(){function u(){Object(xi.a)(this,u)}return Object(Pi.a)(u,[{key:"handleClassName",get:function(){return Jf.handle}},{key:"pie",get:function(){return Object.assign(Object.assign({},u.defaultPieOptions),this.handleOptions.pie)}},{key:"initHandles",value:function(){var c=this,o;if(this.handles=[],this.handleOptions.handles&&this.handleOptions.handles.forEach(function(d){return c.addHandle(d)}),this.handleOptions.type==="pie"){if(this.pie.toggles){var t=Jf.pieToggle;this.$pieToggles={},this.pie.toggles.forEach(function(d){var v=c.$("<div/>");c.applyAttrs(v,d.attrs),v.addClass(t).addClass("".concat(t,"-pos-").concat(d.position||"e")).attr("data-name",d.name).appendTo(c.container),c.$pieToggles[d.name]=v})}this.setPieIcons()}if(this.$handleContainer){var r=this.handleOptions.type||"surround";this.$handleContainer.addClass(Jf.wrap).addClass(Jf.animate).addClass("".concat(Jf.handle,"-").concat(r))}this.delegateEvents((o={},Object(qc.a)(o,"mousedown .".concat(Jf.handle),"onHandleMouseDown"),Object(qc.a)(o,"touchstart .".concat(Jf.handle),"onHandleMouseDown"),Object(qc.a)(o,"mousedown .".concat(Jf.pieToggle),"onPieToggleMouseDown"),Object(qc.a)(o,"touchstart .".concat(Jf.pieToggle),"onPieToggleMouseDown"),o))}},{key:"onHandleMouseDown",value:function(c){var o=this.$(c.currentTarget).closest(".".concat(Jf.handle)).attr("data-action");o&&(c.preventDefault(),c.stopPropagation(),this.setEventData(c,{action:o,clientX:c.clientX,clientY:c.clientY,startX:c.clientX,startY:c.clientY}),c.type==="mousedown"&&c.button===2?this.triggerHandleAction(o,"contextmenu",c):(this.triggerHandleAction(o,"mousedown",c),this.delegateDocumentEvents({mousemove:"onHandleMouseMove",touchmove:"onHandleMouseMove",mouseup:"onHandleMouseUp",touchend:"onHandleMouseUp",touchcancel:"onHandleMouseUp"},c.data)))}},{key:"onHandleMouseMove",value:function(c){var o=this.getEventData(c),t=o.action;t&&this.triggerHandleAction(t,"mousemove",c)}},{key:"onHandleMouseUp",value:function(c){var o=this.getEventData(c),t=o.action;t&&(this.triggerHandleAction(t,"mouseup",c),this.undelegateDocumentEvents())}},{key:"triggerHandleAction",value:function(c,o,t,r){t.preventDefault(),t.stopPropagation();var d=this.normalizeEvent(t),v=this.getEventData(d),g=this.graph.snapToGrid(d.clientX,d.clientY),b=this.graph.snapToGrid(v.clientX,v.clientY),P=g.x-b.x,I=g.y-b.y;this.trigger("action:".concat(c,":").concat(o),Object.assign({e:d,dx:P,dy:I,x:g.x,y:g.y,offsetX:t.clientX-v.startX,offsetY:t.clientY-v.startY},r)),v.clientX=t.clientX,v.clientY=t.clientY}},{key:"onPieToggleMouseDown",value:function(c){c.stopPropagation();var o=this.$(c.target).closest(".".concat(Jf.pieToggle)).attr("data-name");this.isOpen(o)||this.isOpen()&&this.toggleState(),this.toggleState(o)}},{key:"setPieIcons",value:function(){var c=this;this.handleOptions.type==="pie"&&this.$handleContainer.find(".".concat(Jf.handle)).each(function(o,t){var r=c.$(t),d=r.attr("data-action"),v=Jf.pieSlice,g=c.getHandle(d);if(!g||!g.icon){var b=window.getComputedStyle(t,":before").getPropertyValue("content");if(b&&b!=="none"){var P=r.find(".".concat(v,"-txt"));P.length&&Kd.create(P[0]).text(b.replace(/['"]/g,""))}var I=r.css("background-image");if(I){var V=I.match(/url\(['"]?([^'"]+)['"]?\)/);if(V){var K=V[1],ae=r.find(".".concat(v,"-img"));ae.length>0&&Kd.create(ae[0]).attr("xlink:href",K)}}}})}},{key:"getHandleIdx",value:function(c){return this.handles.findIndex(function(o){return o.name===c})}},{key:"hasHandle",value:function(c){return this.getHandleIdx(c)>=0}},{key:"getHandle",value:function(c){return this.handles.find(function(o){return o.name===c})}},{key:"renderHandle",value:function(c){var o=this.$("<div/>").addClass("".concat(Jf.handle," ").concat(Jf.handle,"-").concat(c.name)).attr("data-action",c.name).prop("draggable",!1);if(this.handleOptions.type==="pie"){var t=this.getHandleIdx(c.name),r=this.pie,d=r.outerRadius,v=r.innerRadius,g=(d+v)/2,b=new $i(d,d),P=uf.toRad(r.sliceAngle),I=t*P+uf.toRad(r.startAngle),V=I+P,K=S.createSlicePathData(v,d,I,V),ae=Kd.create("svg").addClass("".concat(Jf.pieSlice,"-svg")),ue=Kd.create("path").addClass(Jf.pieSlice).attr("d",K).translate(d,d),ve=$i.fromPolar(g,-I-P/2,b).toJSON(),Oe=r.iconSize,ke=Kd.create("image").attr(ve).addClass("".concat(Jf.pieSlice,"-img"));ve.y=ve.y+Oe-2;var Ie=Kd.create("text",{"font-size":Oe}).attr(ve).addClass("".concat(Jf.pieSlice,"-txt"));ke.attr({width:Oe,height:Oe}),ke.translate(-Oe/2,-Oe/2),Ie.translate(-Oe/2,-Oe/2),ae.append([ue,ke,Ie]),o.append(ae.node)}else o.addClass("".concat(Jf.handle,"-pos-").concat(c.position)),c.content&&(typeof c.content=="string"?o.html(c.content):o.append(c.content));return this.updateHandleIcon(o,c.icon),this.applyAttrs(o,c.attrs),o}},{key:"addHandle",value:function(c){var o=this;if(!this.hasHandle(c.name)){this.handles.push(c);var t=c.events;t&&Object.keys(t).forEach(function(r){var d=t[r],v="action:".concat(c.name,":").concat(r);typeof d=="string"?o.on(v,o[d],o):o.on(v,d)}),this.$handleContainer&&this.$handleContainer.append(this.renderHandle(c))}return this}},{key:"addHandles",value:function(c){var o=this;return c.forEach(function(t){return o.addHandle(t)}),this}},{key:"removeHandles",value:function(){for(;this.handles.length;)this.removeHandle(this.handles[0].name);return this}},{key:"removeHandle",value:function(c){var o=this,t=this.getHandleIdx(c),r=this.handles[t];return r&&(r.events&&Object.keys(r.events).forEach(function(d){o.off("action:".concat(c,":").concat(d))}),this.getHandleElem(c).remove(),this.handles.splice(t,1)),this}},{key:"changeHandle",value:function(c,o){var t=this.getHandle(c);return t&&(this.removeHandle(c),this.addHandle(Object.assign(Object.assign({},t),o))),this}},{key:"toggleHandle",value:function(c,o){var t=this.getHandle(c);if(t){var r=this.getHandleElem(c),d="".concat(Jf.handle,"-selected");o===void 0&&(o=!r.hasClass(d)),r.toggleClass(d,o);var v=o?t.iconSelected:t.icon;v&&this.updateHandleIcon(r,v)}return this}},{key:"selectHandle",value:function(c){return this.toggleHandle(c,!0)}},{key:"deselectHandle",value:function(c){return this.toggleHandle(c,!1)}},{key:"deselectAllHandles",value:function(){var c=this;return this.handles.forEach(function(o){return c.deselectHandle(o.name)}),this}},{key:"getHandleElem",value:function(c){return this.$handleContainer.find(".".concat(Jf.handle,"-").concat(c))}},{key:"updateHandleIcon",value:function(c,o){if(this.handleOptions.type==="pie"){var t=c.find(".".concat(Jf.pieSliceImg));this.$(t[0]).attr("xlink:href",o||"")}else c.css("background-image",o?"url(".concat(o,")"):"")}},{key:"isRendered",value:function(){return this.$handleContainer!=null}},{key:"isOpen",value:function(c){return this.isRendered()?c?this.$pieToggles[c].hasClass(Jf.pieToggleOpened):this.$handleContainer.hasClass("".concat(Jf.pieOpended)):!1}},{key:"toggleState",value:function(c){var o=this;if(this.isRendered()){var t=this.$handleContainer;if(Object.keys(this.$pieToggles).forEach(function(v){var g=o.$pieToggles[v];g.removeClass(Jf.pieToggleOpened)}),this.isOpen())this.trigger("pie:close",{name:c}),t.removeClass(Jf.pieOpended);else{if(this.trigger("pie:open",{name:c}),c){var r=this.pie.toggles,d=r&&r.find(function(v){return v.name===c});d&&t.attr({"data-pie-toggle-name":d.name,"data-pie-toggle-position":d.position}),this.$pieToggles[c].addClass(Jf.pieToggleOpened)}t.addClass(Jf.pieOpended)}}}},{key:"applyAttrs",value:function(c,o){if(o){var t=Nf.$(c);Object.keys(o).forEach(function(r){var d=t.find(r).addBack().filter(r),v=o[r],g=v.class,b=lV(v,["class"]);g&&d.addClass(g),d.attr(b)})}}}]),u}();(function(u){u.defaultPieOptions={innerRadius:20,outerRadius:50,sliceAngle:45,startAngle:0,iconSize:14,toggles:[{name:"default",position:"e"}]}})(m2||(m2={}));var Jf;(function(u){u.handle=Nf.prototype.prefixClassName("widget-handle"),u.wrap="".concat(u.handle,"-wrap"),u.animate="".concat(u.handle,"-animate"),u.pieOpended="".concat(u.handle,"-pie-opened"),u.pieToggle="".concat(u.handle,"-pie-toggle"),u.pieToggleOpened="".concat(u.handle,"-pie-toggle-opened"),u.pieSlice="".concat(u.handle,"-pie-slice"),u.pieSliceImg="".concat(u.handle,"-pie-slice-img")})(Jf||(Jf={}));var Dte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Ite=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},_2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this);var r=o,d=r.view,v=r.cell,g=r.node,b=r.edge,P=r.graph,I=Ite(r,["view","cell","node","edge","graph"]);d?(t.view=d,t.cell=d.cell,t.graph=d.graph,t.model=t.graph.model):(v||b||g)&&P&&(t.cell=g||b||v,t.view=P.renderer.findViewByCell(t.cell),t.graph=P,t.model=t.graph.model);var V=t.constructor;return o.clearAll!==!1&&V.removeInstances(t.graph),V.register(Object(Fp.a)(t)),t.init(I),t}return Object(Pi.a)(c,[{key:"init",value:function(t){}},{key:"render",value:function(){return this}},{key:"startListening",value:function(){this.options.clearOnBlankMouseDown!==!1&&this.graph.on("blank:mousedown",this.remove,this)}},{key:"stopListening",value:function(){this.options.clearOnBlankMouseDown!==!1&&this.graph.off("blank:mousedown",this.remove,this)}},{key:"remove",value:function(){this.stopListening();var t=this.constructor;return t.unregister(this),Object($u.a)(Object(Wu.a)(c.prototype),"remove",this).call(this)}},{key:"dispose",value:function(){this.remove()}}],[{key:"ensureCache",value:function(){return this.instanceCache.has(this)||this.instanceCache.set(this,{}),this.instanceCache.get(this)}},{key:"register",value:function(t,r){r==null&&(r=t.graph);var d=this.ensureCache(),v=d[r.view.cid];v==null&&(v=d[r.view.cid]={}),v[t.cid]=t}},{key:"unregister",value:function(t,r){r==null&&(r=t.graph);var d=this.ensureCache();d[r.view.cid]&&delete d[r.view.cid][t.cid]}},{key:"removeInstances",value:function(t){var r=this.ensureCache(),d=r[t.view.cid];d&&Object.keys(d).forEach(function(v){var g=d[v];g&&g.remove()})}},{key:"getInstances",value:function(t){var r=this.ensureCache();return r[t.view.cid]||{}}}]),c}(Nf);_2.instanceCache=new WeakMap,Dte([Nf.dispose()],_2.prototype,"dispose",null);var mL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"node",get:function(){return this.cell}},{key:"metadata",get:function(){var t=this.cell.prop("knob");return Array.isArray(t)?this.options.index!=null?t[this.options.index]:null:t}},{key:"init",value:function(t){this.options=Object.assign({},t),this.render(),this.startListening()}},{key:"startListening",value:function(){this.delegateEvents({mousedown:"onMouseDown",touchstart:"onMouseDown"}),this.model.on("*",this.update,this),this.graph.on("scale",this.update,this),this.graph.on("translate",this.update,this),this.model.on("reseted",this.remove,this),this.node.on("removed",this.remove,this),this.view.on("node:resize:mousedown",this.onTransform,this),this.view.on("node:rotate:mousedown",this.onTransform,this),this.view.on("node:resize:mouseup",this.onTransformed,this),this.view.on("node:rotate:mouseup",this.onTransformed,this),this.view.on("cell:knob:mousedown",this.onKnobMouseDown,this),this.view.on("cell:knob:mouseup",this.onKnobMouseUp,this),Object($u.a)(Object(Wu.a)(c.prototype),"startListening",this).call(this)}},{key:"stopListening",value:function(){this.undelegateEvents(),this.model.off("*",this.update,this),this.graph.off("scale",this.update,this),this.graph.off("translate",this.update,this),this.model.off("reseted",this.remove,this),this.node.off("removed",this.remove,this),this.view.off("node:resize:mousedown",this.onTransform,this),this.view.off("node:rotate:mousedown",this.onTransform,this),this.view.off("node:resize:mouseup",this.onTransformed,this),this.view.off("node:rotate:mouseup",this.onTransformed,this),this.view.off("cell:knob:mousedown",this.onKnobMouseDown,this),this.view.off("cell:knob:mouseup",this.onKnobMouseUp,this),Object($u.a)(Object(Wu.a)(c.prototype),"stopListening",this).call(this)}},{key:"render",value:function(){return this.container=document.createElement("div"),S.addClass(this.container,this.prefixClassName("widget-knob")),this.options.className&&S.addClass(this.container,this.options.className),this.view.addClass(_b.KNOB),this.graph.container.appendChild(this.container),this.update(),this}},{key:"remove",value:function(){return this.view.removeClass(_b.KNOB),Object($u.a)(Object(Wu.a)(c.prototype),"remove",this).call(this)}},{key:"update",value:function(){if(this.metadata){var t=this.metadata,r=t.update,d=t.position,v={knob:this,cell:this.cell,node:this.node};if(d){var g=d.call(this.graph,Object.assign({},v));if(g){var b=this.graph.matrix(),P=this.node.getBBox(),I=uf.normalize(this.node.getAngle()),V=$i.create(g);I!==0&&V.rotate(-I,{x:P.width/2,y:P.height/2}),V.translate(P).scale(b.a,b.d).translate(b.e,b.f),this.container.style.left="".concat(V.x,"px"),this.container.style.top="".concat(V.y,"px")}}r&&r.call(this.graph,Object.assign({},v))}}},{key:"hide",value:function(){this.container.style.display="none"}},{key:"show",value:function(){this.container.style.display=""}},{key:"onTransform",value:function(){this.hide()}},{key:"onTransformed",value:function(){this.show()}},{key:"onKnobMouseDown",value:function(t){var r=t.knob;this.cid!==r.cid&&this.hide()}},{key:"onKnobMouseUp",value:function(){this.show()}},{key:"notify",value:function(t,r){if(this.view){var d=this.view.normalizeEvent(r),v=this.graph.snapToGrid(d.clientX,d.clientY);this.view.notify("cell:".concat(t),{e:d,view:this.view,node:this.node,cell:this.cell,x:v.x,y:v.y,knob:this}),this.cell.isNode()?this.view.notify("node:".concat(t),{e:d,view:this.view,node:this.node,cell:this.cell,x:v.x,y:v.y,knob:this}):this.cell.isEdge()&&this.view.notify("edge:".concat(t),{e:d,view:this.view,edge:this.cell,cell:this.cell,x:v.x,y:v.y,knob:this})}}},{key:"onMouseDown",value:function(t){t.stopPropagation(),this.setEventData(t,{knobbing:!1,originX:t.clientX,originY:t.clientY,clientX:t.clientX,clientY:t.clientY}),this.graph.view.undelegateEvents(),this.delegateDocumentEvents(_b.documentEvents,t.data),this.metadata&&this.metadata.onMouseDown&&this.metadata.onMouseDown.call(this.graph,{e:t,data:this.getEventData(t),knob:this,cell:this.cell,node:this.node}),this.notify("knob:mousedown",t)}},{key:"onMouseMove",value:function(t){var r=this.getEventData(t),d=this.graph.findViewByCell(this.node);if(r.knobbing||(r.knobbing=!0,d&&(d.addClass(_b.KNOBBING),this.notify("knob",t)),this.model.startBatch("knob",{cid:this.cid})),r.clientX=t.clientX,r.clientY=t.clientY,this.metadata&&this.metadata.onMouseMove){var v=this.graph.matrix(),g=(t.clientX-r.originX)/v.a,b=(t.clientY-r.originY)/v.d,P=this.node.getAngle(),I=new $i(g,b).rotate(P);this.metadata.onMouseMove.call(this.graph,{e:t,data:r,deltaX:I.x,deltaY:I.y,knob:this,cell:this.cell,node:this.node})}this.notify("knobbing",t),this.notify("knob:mousemove",t)}},{key:"onMouseUp",value:function(t){this.undelegateDocumentEvents(),this.graph.view.delegateEvents();var r=this.getEventData(t),d=this.graph.findViewByCell(this.node);r.knobbing&&(d&&d.removeClass(_b.KNOBBING),this.metadata&&this.metadata.onMouseUp&&this.metadata.onMouseUp.call(this.graph,{e:t,data:r,knob:this,cell:this.cell,node:this.node}),this.model.stopBatch("knob",{cid:this.cid}),this.notify("knobbed",t)),this.notify("knob:mouseup",t)}}]),c}(_2),_b;(function(u){u.KNOB="has-widget-knob",u.KNOBBING="node-knobbing",u.documentEvents={mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp"}})(_b||(_b={}));var Nte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},y2;(function(u){u.root="widget-minimap",u.viewport="".concat(u.root,"-viewport"),u.zoom="".concat(u.viewport,"-zoom")})(y2||(y2={}));var _L=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this),t.options=Object.assign(Object.assign({},oO.defaultOptions),o),t.updateViewport=k.debounce(t.updateViewport.bind(Object(Fp.a)(t)),0),t.container=document.createElement("div"),t.$container=t.$(t.container).addClass(t.prefixClassName(y2.root));var r=document.createElement("div");t.container.appendChild(r),t.$viewport=t.$("<div>").addClass(t.prefixClassName(y2.viewport)),t.options.scalable&&(t.zoomHandle=t.$("<div>").addClass(t.prefixClassName(y2.zoom)).appendTo(t.$viewport).get(0)),t.$container.append(t.$viewport).css({width:t.options.width,height:t.options.height,padding:t.options.padding}),t.options.container&&t.options.container.appendChild(t.container),t.sourceGraph=t.graph;var d=Object.assign(Object.assign({},t.options.graphOptions),{container:r,model:t.sourceGraph.model,frozen:!0,async:t.sourceGraph.isAsync(),interacting:!1,grid:!1,background:!1,rotating:!1,resizing:!1,embedding:!1,selecting:!1,snapline:!1,clipboard:!1,history:!1,scroller:!1});return t.targetGraph=t.options.createGraph?t.options.createGraph(d):new bf(d),t.targetGraph.renderer.unfreeze(),t.updatePaper(t.sourceGraph.options.width,t.sourceGraph.options.height),t.startListening(),t}return Object(Pi.a)(c,[{key:"graph",get:function(){return this.options.graph}},{key:"scroller",get:function(){return this.graph.scroller.widget}},{key:"graphContainer",get:function(){return this.scroller?this.scroller.container:this.graph.container}},{key:"$graphContainer",get:function(){return this.scroller?this.scroller.$container:this.$(this.graph.container)}},{key:"startListening",value:function(){var t;this.scroller?this.$graphContainer.on("scroll".concat(this.getEventNamespace()),this.updateViewport):(this.sourceGraph.on("translate",this.onTransform,this),this.sourceGraph.on("scale",this.onTransform,this),this.sourceGraph.on("model:updated",this.onModelUpdated,this)),this.sourceGraph.on("resize",this.updatePaper,this),this.delegateEvents((t={mousedown:"startAction",touchstart:"startAction"},Object(qc.a)(t,"mousedown .".concat(this.prefixClassName("graph")),"scrollTo"),Object(qc.a)(t,"touchstart .".concat(this.prefixClassName("graph")),"scrollTo"),t))}},{key:"stopListening",value:function(){this.scroller?this.$graphContainer.off(this.getEventNamespace()):(this.sourceGraph.off("translate",this.onTransform,this),this.sourceGraph.off("scale",this.onTransform,this),this.sourceGraph.off("model:updated",this.onModelUpdated,this)),this.sourceGraph.off("resize",this.updatePaper,this),this.undelegateEvents()}},{key:"onRemove",value:function(){this.targetGraph.view.remove(),this.stopListening(),this.targetGraph.dispose()}},{key:"onTransform",value:function(t){(t.ui||this.targetGraphTransforming)&&this.updateViewport()}},{key:"onModelUpdated",value:function(){this.targetGraph.zoomToFit()}},{key:"updatePaper",value:function(t,r){var d,v;typeof t=="object"?(d=t.width,v=t.height):(d=t,v=r);var g=this.sourceGraph.options,b=this.sourceGraph.transform.getScale(),P=this.options.width-2*this.options.padding,I=this.options.height-2*this.options.padding;d/=b.sx,v/=b.sy,this.ratio=Math.min(P/d,I/v);var V=this.ratio,K=g.x*V/b.sx,ae=g.y*V/b.sy;return d*=V,v*=V,this.targetGraph.resizeGraph(d,v),this.targetGraph.translate(K,ae),this.scroller?this.targetGraph.scale(V,V):this.targetGraph.zoomToFit(),this.updateViewport(),this}},{key:"updateViewport",value:function(){var t=this.sourceGraph.transform.getScale(),r=this.targetGraph.transform.getScale(),d=null;this.scroller?d=this.scroller.clientToLocalPoint(0,0):d=this.graph.graphToLocal(0,0);var v=this.$(this.targetGraph.container).position(),g=this.targetGraph.translate();g.ty=g.ty||0,this.geometry={top:v.top+d.y*r.sy+g.ty,left:v.left+d.x*r.sx+g.tx,width:this.$graphContainer.innerWidth()*r.sx/t.sx,height:this.$graphContainer.innerHeight()*r.sy/t.sy},this.$viewport.css(this.geometry)}},{key:"startAction",value:function(t){var r=this.normalizeEvent(t),d=r.target===this.zoomHandle?"zooming":"panning",v=this.sourceGraph.translate(),g=v.tx,b=v.ty,P={action:d,clientX:r.clientX,clientY:r.clientY,scrollLeft:this.graphContainer.scrollLeft,scrollTop:this.graphContainer.scrollTop,zoom:this.sourceGraph.zoom(),scale:this.sourceGraph.transform.getScale(),geometry:this.geometry,translateX:g,translateY:b};this.targetGraphTransforming=!0,this.delegateDocumentEvents(oO.documentEvents,P)}},{key:"doAction",value:function(t){var r=this,d=this.normalizeEvent(t),v=d.clientX,g=d.clientY,b=d.data;switch(b.action){case"panning":{var P=this.sourceGraph.transform.getScale(),I=(v-b.clientX)*P.sx,V=(g-b.clientY)*P.sy;this.scroller?(this.graphContainer.scrollLeft=b.scrollLeft+I/this.ratio,this.graphContainer.scrollTop=b.scrollTop+V/this.ratio):this.sourceGraph.translate(b.translateX-I/this.ratio,b.translateY-V/this.ratio);break}case"zooming":{var K=b.scale,ae=b.geometry,ue=1+(b.clientX-v)/ae.width/K.sx;b.frameId&&cancelAnimationFrame(b.frameId),b.frameId=requestAnimationFrame(function(){r.sourceGraph.zoom(ue*b.zoom,{absolute:!0,minScale:r.options.minScale,maxScale:r.options.maxScale})});break}default:break}}},{key:"stopAction",value:function(){this.undelegateDocumentEvents(),this.targetGraphTransforming=!1}},{key:"scrollTo",value:function(t){var r=this.normalizeEvent(t),d,v,g=this.targetGraph.translate();if(g.ty=g.ty||0,r.offsetX==null){var b=this.$(this.targetGraph.container).offset();d=r.pageX-b.left,v=r.pageY-b.top}else d=r.offsetX,v=r.offsetY;var P=(d-g.tx)/this.ratio,I=(v-g.ty)/this.ratio;this.sourceGraph.centerPoint(P,I)}},{key:"dispose",value:function(){this.remove()}}]),c}(Nf);Nte([Nf.dispose()],_L.prototype,"dispose",null);var oO;(function(u){u.defaultOptions={width:300,height:200,padding:10,scalable:!0,minScale:.01,maxScale:16,graphOptions:{},createGraph:function(c){return new bf(c)}},u.documentEvents={mousemove:"doAction",touchmove:"doAction",mouseup:"stopAction",touchend:"stopAction"}})(oO||(oO={}));var Aj=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},uV=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},yL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this);var r=o.graph,d=uV(o,["graph"]);return t.graph=r,t.options=Object.assign({tolerance:10},d),t.offset={x:0,y:0},t.render(),t.parseFilter(),t.disabled||t.startListening(),t}return Object(Pi.a)(c,[{key:"model",get:function(){return this.graph.model}},{key:"containerClassName",get:function(){return this.prefixClassName("widget-snapline")}},{key:"verticalClassName",get:function(){return"".concat(this.containerClassName,"-vertical")}},{key:"horizontalClassName",get:function(){return"".concat(this.containerClassName,"-horizontal")}},{key:"disabled",get:function(){return this.options.enabled!==!0||this.graph.options.snapline.enabled!==!0}},{key:"enable",value:function(){this.disabled&&(this.options.enabled=!0,this.graph.options.snapline.enabled=!0,this.startListening())}},{key:"disable",value:function(){this.disabled||(this.options.enabled=!1,this.graph.options.snapline.enabled=!1,this.stopListening())}},{key:"setFilter",value:function(t){this.options.filter=t,this.parseFilter()}},{key:"render",value:function(){var t=this.containerWrapper=new Kd("svg"),r=this.horizontal=new Kd("line"),d=this.vertical=new Kd("line");t.addClass(this.containerClassName),r.addClass(this.horizontalClassName),d.addClass(this.verticalClassName),t.setAttribute("width","100%"),t.setAttribute("height","100%"),r.setAttribute("display","none"),d.setAttribute("display","none"),t.append([r,d]),this.options.className&&t.addClass(this.options.className),this.container=this.containerWrapper.node}},{key:"startListening",value:function(){this.stopListening(),this.graph.on("node:mousedown",this.captureCursorOffset,this),this.graph.on("node:mousemove",this.snapOnMoving,this),this.model.on("batch:stop",this.onBatchStop,this),this.delegateDocumentEvents({mouseup:"hide",touchend:"hide"})}},{key:"stopListening",value:function(){this.graph.off("node:mousedown",this.captureCursorOffset,this),this.graph.off("node:mousemove",this.snapOnMoving,this),this.model.off("batch:stop",this.onBatchStop,this),this.undelegateDocumentEvents()}},{key:"parseFilter",value:function(){var t=this;this.filterShapes={},this.filterCells={},this.filterFunction=null;var r=this.options.filter;Array.isArray(r)?r.forEach(function(d){typeof d=="string"?t.filterShapes[d]=!0:t.filterCells[d.id]=!0}):typeof r=="function"&&(this.filterFunction=r)}},{key:"onBatchStop",value:function(t){var r=t.name,d=t.data;r==="resize"&&this.snapOnResizing(d.cell,d)}},{key:"captureCursorOffset",value:function(t){var r=t.view,d=t.x,v=t.y,g=r.getDelegatedView();if(g&&this.isNodeMovable(g)){var b=r.cell.getPosition();this.offset={x:d-b.x,y:v-b.y}}}},{key:"isNodeMovable",value:function(t){return t&&t.cell.isNode()&&t.can("nodeMovable")}},{key:"snapOnResizing",value:function(t,r){var d=this;if(this.options.resizing&&!r.snapped&&r.ui&&r.direction&&r.trueDirection){var v=this.graph.renderer.findViewByCell(t);if(v&&v.cell.isNode()){var g=t.getBBox(),b=g.bbox(t.getAngle()),P=b.getTopLeft(),I=b.getBottomRight(),V=uf.normalize(t.getAngle()),K=this.options.tolerance||0,ae,ue,ve,Oe,ke,Ie,Ye={vertical:0,horizontal:0},Ze=r.direction,et=r.trueDirection,yt=r.relativeDirection;et.indexOf("right")!==-1?Ye.vertical=I.x:Ye.vertical=P.x,et.indexOf("bottom")!==-1?Ye.horizontal=I.y:Ye.horizontal=P.y,this.model.getNodes().some(function(vr){if(d.isIgnored(t,vr))return!1;var Er=vr.getBBox().bbox(vr.getAngle()),Hr=Er.getTopLeft(),Aa=Er.getBottomRight(),Fr={vertical:[Hr.x,Aa.x],horizontal:[Hr.y,Aa.y]},ca={};return Object.keys(Fr).forEach(function(fa){var ai=fa,Wi=Fr[ai].map(function(Co){return{position:Co,distance:Math.abs(Co-Ye[ai])}}).filter(function(Co){return Co.distance<=K});ca[ai]=E.sortBy(Wi,function(Co){return Co.distance})}),ae==null&&ca.vertical.length>0&&(ae=ca.vertical[0].position,ue=Math.min(b.y,Er.y),ve=Math.max(I.y,Aa.y)-ue),Oe==null&&ca.horizontal.length>0&&(Oe=ca.horizontal[0].position,ke=Math.min(b.x,Er.x),Ie=Math.max(I.x,Aa.x)-ke),ae!=null&&Oe!=null}),this.hide();var jt=0,Ft=0;(Oe!=null||ae!=null)&&(ae!=null&&(jt=et.indexOf("right")!==-1?ae-I.x:P.x-ae),Oe!=null&&(Ft=et.indexOf("bottom")!==-1?Oe-I.y:P.y-Oe));var Ht=0,Gt=0;if(V%90==0)V===90||V===270?(Ht=Ft,Gt=jt):(Ht=jt,Gt=Ft);else{var Jt=V>=0&&V<90?1:V>=90&&V<180?4:V>=180&&V<270?3:2;Oe!=null&&ae!=null&&(jt<Ft?(Ft=0,Oe=void 0):(jt=0,ae=void 0));var mn=uf.toRad(V%90);jt&&(Ht=Jt===3?jt/Math.cos(mn):jt/Math.sin(mn)),Ft&&(Gt=Jt===3?Ft/Math.cos(mn):Ft/Math.sin(mn));var vn=Jt===1||Jt===3;switch(yt){case"top":case"bottom":Gt=Ft?Ft/(vn?Math.cos(mn):Math.sin(mn)):jt/(vn?Math.sin(mn):Math.cos(mn));break;case"left":case"right":Ht=jt?jt/(vn?Math.cos(mn):Math.sin(mn)):Ft/(vn?Math.sin(mn):Math.cos(mn));break;default:break}}switch(yt){case"top":case"bottom":Ht=0;break;case"left":case"right":Gt=0;break;default:break}var Yt=this.graph.getGridSize(),En=Math.max(g.width+Ht,Yt),or=Math.max(g.height+Gt,Yt);r.minWidth&&r.minWidth>Yt&&(En=Math.max(En,r.minWidth)),r.minHeight&&r.minHeight>Yt&&(or=Math.max(or,r.minHeight)),r.maxWidth&&(En=Math.min(En,r.maxWidth)),r.maxHeight&&(or=Math.min(or,r.maxHeight)),r.preserveAspectRatio&&(Gt<Ht?or=En*(g.height/g.width):En=or*(g.width/g.height)),(En!==g.width||or!==g.height)&&(t.resize(En,or,{direction:Ze,relativeDirection:yt,trueDirection:et,snapped:!0,snaplines:this.cid,restrict:this.graph.hook.getRestrictArea(v)}),ve&&(ve+=or-g.height),Ie&&(Ie+=En-g.width));var $r=t.getBBox().bbox(V);ae&&Math.abs($r.x-ae)>1&&Math.abs($r.width+$r.x-ae)>1&&(ae=void 0),Oe&&Math.abs($r.y-Oe)>1&&Math.abs($r.height+$r.y-Oe)>1&&(Oe=void 0),this.update({verticalLeft:ae,verticalTop:ue,verticalHeight:ve,horizontalTop:Oe,horizontalLeft:ke,horizontalWidth:Ie})}}}},{key:"snapOnMoving",value:function(t){var r=this,d=t.view,v=t.e,g=t.x,b=t.y,P=d.getEventData(v).delegatedView||d;if(!!this.isNodeMovable(P)){var I=P.cell,V=I.getSize(),K=I.getPosition(),ae=new xl(g-this.offset.x,b-this.offset.y,V.width,V.height),ue=I.getAngle(),ve=ae.getCenter(),Oe=ae.bbox(ue),ke=Oe.getTopLeft(),Ie=Oe.getBottomRight(),Ye=this.options.tolerance||0,Ze,et,yt,jt,Ft,Ht,Gt=0,Jt=0;if(this.model.getNodes().some(function($r){if(r.isIgnored(I,$r))return!1;var vr=$r.getBBox().bbox($r.getAngle()),Er=vr.getCenter(),Hr=vr.getTopLeft(),Aa=vr.getBottomRight();return Ze==null&&(Math.abs(Er.x-ve.x)<Ye?(Ze=Er.x,Gt=.5):Math.abs(Hr.x-ke.x)<Ye?(Ze=Hr.x,Gt=0):Math.abs(Hr.x-Ie.x)<Ye?(Ze=Hr.x,Gt=1):Math.abs(Aa.x-Ie.x)<Ye?(Ze=Aa.x,Gt=1):Math.abs(Aa.x-ke.x)<Ye&&(Ze=Aa.x),Ze!=null&&(et=Math.min(Oe.y,vr.y),yt=Math.max(Ie.y,Aa.y)-et)),jt==null&&(Math.abs(Er.y-ve.y)<Ye?(jt=Er.y,Jt=.5):Math.abs(Hr.y-ke.y)<Ye?jt=Hr.y:Math.abs(Hr.y-Ie.y)<Ye?(jt=Hr.y,Jt=1):Math.abs(Aa.y-Ie.y)<Ye?(jt=Aa.y,Jt=1):Math.abs(Aa.y-ke.y)<Ye&&(jt=Aa.y),jt!=null&&(Ft=Math.min(Oe.x,vr.x),Ht=Math.max(Ie.x,Aa.x)-Ft)),Ze!=null&&jt!=null}),this.hide(),jt!=null||Ze!=null){jt!=null&&(Oe.y=jt-Jt*Oe.height),Ze!=null&&(Oe.x=Ze-Gt*Oe.width);var mn=Oe.getCenter(),vn=mn.x-ae.width/2,Yt=mn.y-ae.height/2,En=vn-K.x,or=Yt-K.y;(En!==0||or!==0)&&(I.translate(En,or,{snapped:!0,restrict:this.graph.hook.getRestrictArea(P)}),Ht&&(Ht+=En),yt&&(yt+=or)),this.update({verticalLeft:Ze,verticalTop:et,verticalHeight:yt,horizontalTop:jt,horizontalLeft:Ft,horizontalWidth:Ht})}}}},{key:"isIgnored",value:function(t,r){return r.id===t.id||r.isDescendantOf(t)||this.filterShapes[r.shape]||this.filterCells[r.id]||this.filterFunction&&k.call(this.filterFunction,this.graph,r)}},{key:"update",value:function(t){if(t.horizontalTop){var r=this.graph.localToGraph(new $i(t.horizontalLeft,t.horizontalTop)),d=this.graph.localToGraph(new $i(t.horizontalLeft+t.horizontalWidth,t.horizontalTop));this.horizontal.setAttributes({x1:this.options.sharp?"".concat(r.x):"0",y1:"".concat(r.y),x2:this.options.sharp?"".concat(d.x):"100%",y2:"".concat(d.y),display:"inherit"})}else this.horizontal.setAttribute("display","none");if(t.verticalLeft){var v=this.graph.localToGraph(new $i(t.verticalLeft,t.verticalTop)),g=this.graph.localToGraph(new $i(t.verticalLeft,t.verticalTop+t.verticalHeight));this.vertical.setAttributes({x1:"".concat(v.x),y1:this.options.sharp?"".concat(v.y):"0",x2:"".concat(g.x),y2:this.options.sharp?"".concat(g.y):"100%",display:"inherit"})}else this.vertical.setAttribute("display","none");this.show()}},{key:"resetTimer",value:function(){this.timer&&(clearTimeout(this.timer),this.timer=null)}},{key:"show",value:function(){return this.resetTimer(),this.container.parentNode==null&&this.graph.container.appendChild(this.container),this}},{key:"hide",value:function(){var t=this;this.resetTimer(),this.vertical.setAttribute("display","none"),this.horizontal.setAttribute("display","none");var r=this.options.clean,d=typeof r=="number"?r:r!==!1?3e3:0;return d>0&&(this.timer=window.setTimeout(function(){t.container.parentNode!==null&&t.unmount()},d)),this}},{key:"onRemove",value:function(){this.stopListening(),this.hide()}},{key:"dispose",value:function(){this.remove()}}]),c}(Nf);Aj([Nf.dispose()],yL.prototype,"dispose",null);var Lte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},sO=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"init",value:function(){this.resetUpdates(),this.startListening(),this.resetViews(this.model.getCells()),!this.isFrozen()&&this.isAsync()&&this.updateViewsAsync()}},{key:"startListening",value:function(){this.model.on("sorted",this.onSortModel,this),this.model.on("reseted",this.onModelReseted,this),this.model.on("batch:stop",this.onBatchStop,this),this.model.on("cell:added",this.onCellAdded,this),this.model.on("cell:removed",this.onCellRemoved,this),this.model.on("cell:change:zIndex",this.onCellZIndexChanged,this),this.model.on("cell:change:visible",this.onCellVisibleChanged,this)}},{key:"stopListening",value:function(){this.model.off("sorted",this.onSortModel,this),this.model.off("reseted",this.onModelReseted,this),this.model.off("batch:stop",this.onBatchStop,this),this.model.off("cell:added",this.onCellAdded,this),this.model.off("cell:removed",this.onCellRemoved,this),this.model.off("cell:change:zIndex",this.onCellZIndexChanged,this),this.model.off("cell:change:visible",this.onCellVisibleChanged,this)}},{key:"resetUpdates",value:function(){this.updates={priorities:[{},{},{}],mounted:{},mountedCids:[],unmounted:{},unmountedCids:[],count:0,sort:!1,frozen:!1,freezeKey:null,animationId:null}}},{key:"onSortModel",value:function(){this.model.hasActiveBatch(c.SORT_DELAYING_BATCHES)||this.sortViews()}},{key:"onModelReseted",value:function(t){var r=t.options;this.removeZPivots(),this.resetViews(this.model.getCells(),r)}},{key:"onBatchStop",value:function(t){var r=t.name,d=t.data;if(!this.isFrozen()){var v=this.model;if(!this.isAsync()){var g=c.UPDATE_DELAYING_BATCHES;g.includes(r)&&!v.hasActiveBatch(g)&&this.updateViews(d)}var b=c.SORT_DELAYING_BATCHES;b.includes(r)&&!v.hasActiveBatch(b)&&this.sortViews()}}},{key:"onCellAdded",value:function(t){var r=t.cell,d=t.options,v=d.position;this.isAsync()||typeof v!="number"?this.renderView(r,d):(d.maxPosition===v&&this.freeze({key:"addCells"}),this.renderView(r,d),v===0&&this.unfreeze({key:"addCells"}))}},{key:"onCellRemoved",value:function(t){var r=t.cell,d=t.options,v=this.findViewByCell(r);v&&this.requestViewUpdate(v,c.FLAG_REMOVE,v.priority,d)}},{key:"onCellZIndexChanged",value:function(t){var r=t.cell,d=t.options;if(this.options.sorting==="approx"){var v=this.findViewByCell(r);v&&this.requestViewUpdate(v,c.FLAG_INSERT,v.priority,d)}}},{key:"onCellVisibleChanged",value:function(t){var r=t.cell,d=t.current,v=t.options;d||this.processEdgeOnTerminalVisibleChanged(r,!1);var g=this.findViewByCell(r);!d&&g?this.removeView(r):d&&g==null&&this.renderView(r,v),d&&this.processEdgeOnTerminalVisibleChanged(r,!0)}},{key:"processEdgeOnTerminalVisibleChanged",value:function(t,r){var d=function(g,b){var P=g.getSourceCellId();if(P!==b.id)return g.getSourceCell();var I=g.getTargetCellId();return I!==b.id?g.getTargetCell():null};this.model.getConnectedEdges(t).forEach(function(v){var g=d(v,t);(g==null||g.isVisible())&&(r?v.show():v.hide())})}},{key:"isEdgeTerminalVisible",value:function(t,r){var d=r==="source"?t.getSourceCellId():t.getTargetCellId(),v=d?this.model.getCell(d):null;return!(v&&!v.isVisible())}},{key:"requestConnectedEdgesUpdate",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ov.isCellView(t))for(var d=t.cell,v=this.model.getConnectedEdges(d),g=0,b=v.length;g<b;g+=1){var P=v[g],I=this.findViewByCell(P);if(!!I){var V=["update"];P.getTargetCell()===d&&V.push("target"),P.getSourceCell()===d&&V.push("source"),this.scheduleViewUpdate(I,I.getFlag(V),I.priority,r)}}}},{key:"forcePostponedViewUpdate",value:function(t,r){if(!t||!ov.isCellView(t))return!1;var d=t.cell;if(d.isNode())return!1;var v=t;if(d.isEdge()&&(r&t.getFlag(["source","target"]))==0){var g=0,b=this.findViewByCell(d.getSourceCell());b&&!this.isViewMounted(b)&&(g=this.dumpView(b),v.updateTerminalMagnet("source"));var P=0,I=this.findViewByCell(d.getTargetCell());if(I&&!this.isViewMounted(I)&&(P=this.dumpView(I),v.updateTerminalMagnet("target")),g===0&&P===0)return!this.dumpView(v)}return!1}},{key:"scheduleViewUpdate",value:function(t,r,d){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},g=t.cid,b=this.updates,P=b.priorities[d];P||(P=b.priorities[d]={});var I=P[g]||0;(I&r)!==r&&(I||(b.count+=1),r&c.FLAG_REMOVE&&I&c.FLAG_INSERT?P[g]^=c.FLAG_INSERT:r&c.FLAG_INSERT&&I&c.FLAG_REMOVE&&(P[g]^=c.FLAG_REMOVE),P[g]|=r,this.graph.hook.onViewUpdated(t,r,v))}},{key:"requestViewUpdate",value:function(t,r,d){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.scheduleViewUpdate(t,r,d,v);var g=this.isAsync();if(!(this.isFrozen()||g&&v.async!==!1||this.model.hasActiveBatch(c.UPDATE_DELAYING_BATCHES))){var b=this.updateViews(v);g&&this.graph.trigger("render:done",{stats:b,options:v})}}},{key:"dumpView",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null)return 0;var d=t.cid,v=this.updates,g=v.priorities[t.priority],b=this.registerMountedView(t)|g[d];return delete g[d],b?this.updateView(t,b,r):0}},{key:"dumpViews",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.checkView(t),this.updateViews(t)}},{key:"requireView",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=this.findViewByCell(t);return d==null?null:(this.dumpView(d,r),d)}},{key:"updateView",value:function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t==null)return 0;if(ov.isCellView(t)){if(r&c.FLAG_REMOVE)return this.removeView(t.cell),0;r&c.FLAG_INSERT&&(this.insertView(t),r^=c.FLAG_INSERT)}return r?t.confirmUpdate(r,d):0}},{key:"updateViews",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r,d=0,v=0,g=c.MIN_PRIORITY;do r=this.updateViewsBatch(t),d+=1,v+=r.updatedCount,g=Math.min(r.priority,g);while(!r.empty);return{priority:g,batchCount:d,updatedCount:v}}},{key:"updateViewsBatch",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=this.updates,d=r.priorities,v=t.batchSize||c.UPDATE_BATCH_SIZE,g=!0,b=c.MIN_PRIORITY,P=0,I=0,V=0,K=0,ae=t.checkView||this.options.checkView;typeof ae!="function"&&(ae=null);e:for(var ue=0,ve=d.length;ue<ve;ue+=1){var Oe=d[ue];for(var ke in Oe){if(V>=v){g=!1;break e}var Ie=Nf.views[ke];if(!Ie){delete Oe[ke];continue}var Ye=Oe[ke];if((Ye&c.FLAG_REMOVE)==0){var Ze=ke in r.unmounted;if(ae&&!k.call(ae,this.graph,{view:Ie,unmounted:Ze})){Ze||(this.registerUnmountedView(Ie),Ie.unmount()),r.unmounted[ke]|=Ye,delete Oe[ke],I+=1;continue}Ze&&(Ye|=c.FLAG_INSERT,P+=1),Ye|=this.registerMountedView(Ie)}var et=Ie,yt=this.updateView(Ie,Ye,t);if(yt>0){var jt=et.cell;jt&&jt.isEdge()&&(et.hasAction(yt,"source")&&!this.isEdgeTerminalVisible(jt,"source")&&(yt=et.removeAction(yt,"source"),yt|=c.FLAG_REMOVE),et.hasAction(yt,"target")&&!this.isEdgeTerminalVisible(jt,"target")&&(yt=et.removeAction(yt,"target"),yt|=c.FLAG_REMOVE))}if(yt>0&&(Oe[ke]=yt,!this.graph.hook.onViewPostponed(et,yt,t)||Oe[ke])){K+=1,g=!1;continue}b>ue&&(b=ue),V+=1,delete Oe[ke]}}return{empty:g,priority:b,mountedCount:P,unmountedCount:I,updatedCount:V,postponedCount:K}}},{key:"updateViewsAsync",value:function(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{processed:0,priority:c.MIN_PRIORITY},v=this.updates,g=v.animationId;if(g){if(S.cancelAnimationFrame(g),d.processed===0){var b=r.before;typeof b=="function"&&k.call(b,this.graph,this.graph)}var P=this.updateViewsBatch(r),I=this.checkViewImpl({checkView:r.checkView,mountedBatchSize:c.MOUNT_BATCH_SIZE-P.mountedCount,unmountedBatchSize:c.MOUNT_BATCH_SIZE-P.unmountedCount}),V=d.processed,K=v.count,ae=I.mountedCount,ue=I.unmountedCount;P.updatedCount>0&&(V+=P.updatedCount+P.unmountedCount,d.priority=Math.min(P.priority,d.priority),P.empty&&ae===0?(P.priority=d.priority,P.mountedCount+=ae,P.unmountedCount+=ue,this.graph.trigger("render:done",{stats:P,options:r}),d.processed=0,v.count=0):d.processed=V);var ve=r.progress;if(K&&typeof ve=="function"&&k.call(ve,this.graph,{total:K,done:P.empty,current:V}),v.animationId!==g)return}v.animationId=S.requestAnimationFrame(function(){t.updateViewsAsync(r,d)})}},{key:"registerMountedView",value:function(t){var r=t.cid,d=this.updates;if(r in d.mounted)return 0;d.mounted[r]=!0,d.mountedCids.push(r);var v=d.unmounted[r]||0;return delete d.unmounted[r],v}},{key:"registerUnmountedView",value:function(t){var r=t.cid,d=this.updates;if(r in d.unmounted)return 0;d.unmounted[r]|=c.FLAG_INSERT;var v=d.unmounted[r];return d.unmountedCids.push(r),delete d.mounted[r],v}},{key:"isViewMounted",value:function(t){if(t==null)return!1;var r=t.cid;return r in this.updates.mounted}},{key:"getMountedViews",value:function(){return Object.keys(this.updates.mounted).map(function(t){return ov.views[t]})}},{key:"getUnmountedViews",value:function(){return Object.keys(this.updates.unmounted).map(function(t){return ov.views[t]})}},{key:"checkMountedViews",value:function(t,r){var d=0;if(typeof t!="function")return d;for(var v=this.updates,g=v.mounted,b=v.mountedCids,P=r==null?b.length:Math.min(b.length,r),I=0;I<P;I+=1){var V=b[I];if(V in g){var K=ov.views[V];if(K!=null){var ae=k.call(t,this.graph,{view:K,unmounted:!0});if(ae){b.push(V);continue}d+=1;var ue=this.registerUnmountedView(K);ue&&K.unmount()}}}return b.splice(0,P),d}},{key:"checkUnmountedViews",value:function(t,r){var d=0;typeof t!="function"&&(t=null);for(var v=this.updates,g=v.unmounted,b=v.unmountedCids,P=r==null?b.length:Math.min(b.length,r),I=0;I<P;I+=1){var V=b[I];if(V in g){var K=ov.views[V];if(K!=null){if(t&&!k.call(t,this.graph,{view:K,unmounted:!1})){b.push(V);continue}d+=1;var ae=this.registerMountedView(K);ae&&this.scheduleViewUpdate(K,ae,K.priority,{mounting:!0})}}}return b.splice(0,P),d}},{key:"checkViewImpl",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mountedBatchSize:Number.MAX_SAFE_INTEGER,unmountedBatchSize:Number.MAX_SAFE_INTEGER},r=t.checkView||this.options.checkView,d=this.checkMountedViews(r,t.unmountedBatchSize),v=this.checkUnmountedViews(r,d>0?Math.min(this.updates.unmountedCids.length-d,t.mountedBatchSize):t.mountedBatchSize);return{mountedCount:v,unmountedCount:d}}},{key:"checkView",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.checkViewImpl(t)}},{key:"isFrozen",value:function(){return!!this.options.frozen}},{key:"freeze",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.key,d=this.updates,v=this.options.frozen,g=d.freezeKey;if(r&&r!==g){if(v&&g)return;d.frozen=v,d.freezeKey=r}this.options.frozen=!0;var b=d.animationId;d.animationId=null,this.isAsync()&&b!=null&&S.cancelAnimationFrame(b),this.graph.trigger("freeze",{key:r})}},{key:"unfreeze",value:function(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=r.key,v=this.updates,g=v.freezeKey;if(!(d&&g&&d!==g)&&(v.freezeKey=null,!(d&&d===g&&v.frozen))){var b=function(){t.options.frozen=v.frozen=!1,v.sort&&(t.sortViews(),v.sort=!1);var V=r.after;V&&k.call(V,t.graph,t.graph),t.graph.trigger("unfreeze",{key:d})};if(this.isAsync()){this.freeze();var P=r.progress;this.updateViewsAsync(Object.assign(Object.assign({},r),{progress:function(V){var K=V.done,ae=V.current,ue=V.total;P&&k.call(P,t.graph,{done:K,current:ae,total:ue}),K&&b()}}))}else this.updateViews(r),b()}}},{key:"isAsync",value:function(){return!!this.options.async}},{key:"setAsync",value:function(t){this.options.async=t}},{key:"onRemove",value:function(){this.freeze(),this.removeViews()}},{key:"resetViews",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.resetUpdates(),this.removeViews(),this.freeze({key:"reset"});for(var d=0,v=t.length;d<v;d+=1)this.renderView(t[d],r);this.unfreeze({key:"reset"}),this.sortViews()}},{key:"removeView",value:function(t){var r=this.views[t.id];if(r){var d=r.cid,v=this.updates,g=v.mounted,b=v.unmounted;r.remove(),delete this.views[t.id],delete g[d],delete b[d]}return r}},{key:"removeViews",value:function(){var t=this;this.views&&Object.keys(this.views).forEach(function(r){var d=t.views[r];d&&t.removeView(d.cell)}),this.views={}}},{key:"renderView",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=t.id,v=this.views,g=0,b=v[d];if(!!t.isVisible()&&!(t.isEdge()&&(!this.isEdgeTerminalVisible(t,"source")||!this.isEdgeTerminalVisible(t,"target")))){if(b)g=c.FLAG_INSERT;else{var P=this.graph.hook.createCellView(t);P&&(b=v[t.id]=P,b.graph=this.graph,g=this.registerUnmountedView(b)|b.getBootstrapFlag())}b&&this.requestViewUpdate(b,g,b.priority,r)}}},{key:"isExactSorting",value:function(){return this.options.sorting==="exact"}},{key:"sortViews",value:function(){if(!!this.isExactSorting()){if(this.isFrozen()){this.updates.sort=!0;return}this.sortViewsExact()}}},{key:"sortElements",value:function(t,r){var d=t.map(function(v){var g=v.parentNode,b=g.insertBefore(document.createTextNode(""),v.nextSibling);return function(P){if(g===P)throw new Error("You can't sort elements if any one is a descendant of another.");g.insertBefore(P,b),g.removeChild(b)}});t.sort(r).forEach(function(v,g){return d[g](v)})}},{key:"sortViewsExact",value:function(){var t=this.view.$(this.view.stage).children("[data-cell-id]").toArray(),r=this.model;this.sortElements(t,function(d,v){var g=r.getCell(d.getAttribute("data-cell-id")||""),b=r.getCell(v.getAttribute("data-cell-id")||""),P=g.getZIndex()||0,I=b.getZIndex()||0;return P===I?0:P<I?-1:1})}},{key:"addZPivot",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.zPivots==null&&(this.zPivots={});var r=this.zPivots,d=r[t];if(d)return d;d=r[t]=document.createComment("z-index:".concat(t+1));var v=-Infinity;for(var g in r){var b=+g;!(b<t&&b>v&&(v=b,v===t-1))}var P=this.view.stage;if(v!==-Infinity){var I=r[v];P.insertBefore(d,I.nextSibling)}else P.insertBefore(d,P.firstChild);return d}},{key:"removeZPivots",value:function(){var t=this;this.zPivots&&Object.keys(this.zPivots).forEach(function(r){var d=t.zPivots[r];d&&d.parentNode&&d.parentNode.removeChild(d)}),this.zPivots={}}},{key:"insertView",value:function(t){var r=this.view.stage;switch(this.options.sorting){case"approx":{var d=t.cell.getZIndex(),v=this.addZPivot(d);r.insertBefore(t.container,v);break}case"exact":default:r.appendChild(t.container);break}}},{key:"findViewByCell",value:function(t){if(t==null)return null;var r=Mf.isCell(t)?t.id:t;return this.views[r]}},{key:"findViewByElem",value:function(t){if(t==null)return null;var r=typeof t=="string"?this.view.stage.querySelector(t):t instanceof Element?t:t[0];if(r){var d=this.view.findAttr("data-cell-id",r);if(d)return this.views[d]}return null}},{key:"findViewsFromPoint",value:function(t){var r=this,d={x:t.x,y:t.y};return this.model.getCells().map(function(v){return r.findViewByCell(v)}).filter(function(v){return v!=null?S.getBBox(v.container,{target:r.view.stage}).containsPoint(d):!1})}},{key:"findEdgeViewsInArea",value:function(t){var r=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=xl.create(t);return this.model.getEdges().map(function(g){return r.findViewByCell(g)}).filter(function(g){if(g){var b=S.getBBox(g.container,{target:r.view.stage});return b.width===0?b.inflate(1,0):b.height===0&&b.inflate(0,1),d.strict?v.containsRect(b):v.isIntersectWithRect(b)}return!1})}},{key:"findViewsInArea",value:function(t){var r=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=xl.create(t);return this.model.getNodes().map(function(g){return r.findViewByCell(g)}).filter(function(g){if(g){var b=S.getBBox(g.container,{target:r.view.stage});return d.strict?v.containsRect(b):v.isIntersectWithRect(b)}return!1})}},{key:"dispose",value:function(){this.resetUpdates(),this.stopListening()}}]),c}(rp);Lte([rp.dispose()],sO.prototype,"dispose",null),function(u){u.FLAG_INSERT=1<<30,u.FLAG_REMOVE=1<<29,u.MOUNT_BATCH_SIZE=1e3,u.UPDATE_BATCH_SIZE=1e3,u.MIN_PRIORITY=2,u.SORT_DELAYING_BATCHES=["add","to-front","to-back"],u.UPDATE_DELAYING_BATCHES=["translate"]}(sO||(sO={}));var Fte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},kj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"elem",get:function(){return this.view.background}},{key:"init",value:function(){this.startListening(),this.options.background&&this.draw(this.options.background)}},{key:"startListening",value:function(){this.graph.on("scale",this.update,this),this.graph.on("translate",this.update,this)}},{key:"stopListening",value:function(){this.graph.off("scale",this.update,this),this.graph.off("translate",this.update,this)}},{key:"updateBackgroundImage",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.size||"auto auto",d=t.position||"center",v=this.graph.transform.getScale(),g=this.graph.translate();if(typeof d=="object"){var b=g.tx+v.sx*(d.x||0),P=g.ty+v.sy*(d.y||0);d="".concat(b,"px ").concat(P,"px")}typeof r=="object"&&(r=xl.fromSize(r).scale(v.sx,v.sy),r="".concat(r.width,"px ").concat(r.height,"px")),this.elem.style.backgroundSize=r,this.elem.style.backgroundPosition=d}},{key:"drawBackgroundImage",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(t instanceof HTMLImageElement)){this.elem.style.backgroundImage="";return}var d=this.optionsCache;if(!(d&&d.image!==r.image)){var v,g=r.opacity,b=r.size,P=r.repeat||"no-repeat",I=HC.registry.get(P);if(typeof I=="function"){var V=r.quality||1;t.width*=V,t.height*=V;var K=I(t,r);if(!(K instanceof HTMLCanvasElement))throw new Error("Background pattern must return an HTML Canvas instance");v=K.toDataURL("image/png"),r.repeat&&P!==r.repeat?P=r.repeat:P="repeat",typeof b=="object"?(b.width*=K.width/t.width,b.height*=K.height/t.height):b===void 0&&(r.size={width:K.width/V,height:K.height/V})}else v=t.src,b===void 0&&(r.size={width:t.width,height:t.height});d!=null&&typeof r.size=="object"&&r.image===d.image&&r.repeat===d.repeat&&r.quality===d.quality&&(d.size=m.clone(r.size));var ae=this.elem.style;ae.backgroundImage="url(".concat(v,")"),ae.backgroundRepeat=P,ae.opacity=g==null||g>=1?"":"".concat(g),this.updateBackgroundImage(r)}}},{key:"updateBackgroundColor",value:function(t){this.elem.style.backgroundColor=t||""}},{key:"updateBackgroundOptions",value:function(t){this.graph.options.background=t}},{key:"update",value:function(){this.optionsCache&&this.updateBackgroundImage(this.optionsCache)}},{key:"draw",value:function(t){var r=this,d=t||{};if(this.updateBackgroundOptions(t),this.updateBackgroundColor(d.color),d.image){this.optionsCache=m.clone(d);var v=document.createElement("img");v.onload=function(){return r.drawBackgroundImage(v,t)},v.setAttribute("crossorigin","anonymous"),v.src=d.image}else this.drawBackgroundImage(null),this.optionsCache=null}},{key:"clear",value:function(){this.draw()}},{key:"dispose",value:function(){this.clear(),this.stopListening()}}]),c}(rp);Fte([rp.dispose()],kj.prototype,"dispose",null);var Ute=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Bte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},b2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this),t.padding={left:0,top:0,right:0,bottom:0},t.options=Sm.getOptions(o);var r=t.graph.transform.getScale();t.sx=r.sx,t.sy=r.sy;var d=t.options.width||t.graph.options.width,v=t.options.height||t.graph.options.height;t.container=document.createElement("div"),t.$container=t.$(t.container).addClass(t.prefixClassName(Sm.containerClass)).css({width:d,height:v}),t.options.pageVisible&&t.$container.addClass(t.prefixClassName(Sm.pagedClass)),t.options.className&&t.$container.addClass(t.options.className);var g=t.graph.container;g.parentNode&&t.$container.insertBefore(g);var b=g.getAttribute("style");if(b){var P={},I=b.split(";");I.forEach(function(V){var K=V.trim();if(K){var ae=K.split(":");ae.length&&(P[ae[0].trim()]=ae[1]?ae[1].trim():"")}}),Object.keys(P).forEach(function(V){V==="width"||V==="height"||(g.style[V]="",t.container.style[V]=P[V])})}return t.content=document.createElement("div"),t.$content=t.$(t.content).addClass(t.prefixClassName(Sm.contentClass)).css({width:t.graph.options.width,height:t.graph.options.height}),t.background=document.createElement("div"),t.$background=t.$(t.background).addClass(t.prefixClassName(Sm.backgroundClass)),t.$content.append(t.background),t.options.pageVisible||t.$content.append(t.graph.view.grid),t.$content.append(g),t.$content.appendTo(t.container),t.startListening(),t.options.pageVisible||t.graph.grid.update(),t.backgroundManager=new c.Background(Object(Fp.a)(t)),t.options.autoResize||t.update(),t}return Object(Pi.a)(c,[{key:"graph",get:function(){return this.options.graph}},{key:"model",get:function(){return this.graph.model}},{key:"startListening",value:function(){var t=this.graph,r=this.model;t.on("scale",this.onScale,this),t.on("resize",this.onResize,this),t.on("before:print",this.storeScrollPosition,this),t.on("before:export",this.storeScrollPosition,this),t.on("after:print",this.restoreScrollPosition,this),t.on("after:export",this.restoreScrollPosition,this),t.on("render:done",this.onRenderDone,this),t.on("unfreeze",this.onUpdate,this),r.on("reseted",this.onUpdate,this),r.on("cell:added",this.onUpdate,this),r.on("cell:removed",this.onUpdate,this),r.on("cell:changed",this.onUpdate,this),r.on("batch:stop",this.onBatchStop,this),this.delegateBackgroundEvents()}},{key:"stopListening",value:function(){var t=this.graph,r=this.model;t.off("scale",this.onScale,this),t.off("resize",this.onResize,this),t.off("beforeprint",this.storeScrollPosition,this),t.off("beforeexport",this.storeScrollPosition,this),t.off("afterprint",this.restoreScrollPosition,this),t.off("afterexport",this.restoreScrollPosition,this),t.off("render:done",this.onRenderDone,this),t.off("unfreeze",this.onUpdate,this),r.off("reseted",this.onUpdate,this),r.off("cell:added",this.onUpdate,this),r.off("cell:removed",this.onUpdate,this),r.off("cell:changed",this.onUpdate,this),r.off("batch:stop",this.onBatchStop,this),this.undelegateBackgroundEvents()}},{key:"enableAutoResize",value:function(){this.options.autoResize=!0}},{key:"disableAutoResize",value:function(){this.options.autoResize=!1}},{key:"onUpdate",value:function(){this.graph.isAsync()||!this.options.autoResize||this.update()}},{key:"onBatchStop",value:function(t){this.graph.isAsync()||!this.options.autoResize||sO.UPDATE_DELAYING_BATCHES.includes(t.name)&&this.update()}},{key:"delegateBackgroundEvents",value:function(t){var r=this,d=t||X_.events;this.delegatedHandlers=Object.keys(d).reduce(function(v,g){var b=d[g];if(g.indexOf(" ")===-1)if(typeof b=="function")v[g]=b;else{var P=r.graph.view[b];typeof P=="function"&&(P=P.bind(r.graph.view),v[g]=P)}return v},{}),this.onBackgroundEvent=this.onBackgroundEvent.bind(this),Object.keys(this.delegatedHandlers).forEach(function(v){r.delegateEvent(v,{guarded:!1},r.onBackgroundEvent)})}},{key:"undelegateBackgroundEvents",value:function(){var t=this;Object.keys(this.delegatedHandlers).forEach(function(r){t.undelegateEvent(r,t.onBackgroundEvent)})}},{key:"onBackgroundEvent",value:function(t){var r=!1,d=t.target;if(this.options.pageVisible)this.options.background?r=this.background===d:r=this.content===d;else{var v=this.graph.view;r=v.background===d||v.grid===d}if(r){var g=this.delegatedHandlers[t.type];typeof g=="function"&&g.apply(this.graph,arguments)}}},{key:"onRenderDone",value:function(t){var r=t.stats;this.options.autoResize&&r.priority<2&&this.update()}},{key:"onResize",value:function(){this.cachedCenterPoint&&(this.centerPoint(this.cachedCenterPoint.x,this.cachedCenterPoint.y),this.updatePageBreak())}},{key:"onScale",value:function(t){var r=t.sx,d=t.sy,v=t.ox,g=t.oy;this.updateScale(r,d),(v||g)&&(this.centerPoint(v,g),this.updatePageBreak());var b=this.options.autoResizeOptions||this.options.fitTocontentOptions;typeof b=="function"&&this.update()}},{key:"storeScrollPosition",value:function(){this.cachedScrollLeft=this.container.scrollLeft,this.cachedScrollTop=this.container.scrollTop}},{key:"restoreScrollPosition",value:function(){this.container.scrollLeft=this.cachedScrollLeft,this.container.scrollTop=this.cachedScrollTop,this.cachedScrollLeft=null,this.cachedScrollTop=null}},{key:"storeClientSize",value:function(){this.cachedClientSize={width:this.container.clientWidth,height:this.container.clientHeight}}},{key:"restoreClientSize",value:function(){this.cachedClientSize=null}},{key:"beforeManipulation",value:function(){(Vf.IS_IE||Vf.IS_EDGE)&&this.$container.css("visibility","hidden")}},{key:"afterManipulation",value:function(){(Vf.IS_IE||Vf.IS_EDGE)&&this.$container.css("visibility","visible")}},{key:"updatePageSize",value:function(t,r){t!=null&&(this.options.pageWidth=t),r!=null&&(this.options.pageHeight=r),this.updatePageBreak()}},{key:"updatePageBreak",value:function(){if(this.pageBreak&&this.pageBreak.parentNode&&this.pageBreak.parentNode.removeChild(this.pageBreak),this.pageBreak=null,this.options.pageVisible&&this.options.pageBreak){var t=this.graph.options.width,r=this.graph.options.height,d=this.options.pageWidth*this.sx,v=this.options.pageHeight*this.sy;if(d===0||v===0)return;if(t>d||r>v){for(var g=!1,b=document.createElement("div"),P=1,I=Math.floor(t/d);P<I;P+=1)this.$("<div/>").addClass(this.prefixClassName("graph-pagebreak-vertical")).css({left:P*d}).appendTo(b),g=!0;for(var V=1,K=Math.floor(r/v);V<K;V+=1)this.$("<div/>").addClass(this.prefixClassName("graph-pagebreak-horizontal")).css({top:V*v}).appendTo(b),g=!0;g&&(S.addClass(b,this.prefixClassName("graph-pagebreak")),this.$(this.graph.view.grid).after(b),this.pageBreak=b)}}}},{key:"update",value:function(){var t=this.getClientSize();this.cachedCenterPoint=this.clientToLocalPoint(t.width/2,t.height/2);var r=this.options.autoResizeOptions||this.options.fitTocontentOptions;typeof r=="function"&&(r=k.call(r,this,this));var d=Object.assign({gridWidth:this.options.pageWidth,gridHeight:this.options.pageHeight,allowNewOrigin:"negative",contentArea:this.calcContextArea(r)},r);this.graph.fitToContent(this.getFitToContentOptions(d))}},{key:"calcContextArea",value:function(t){var r=t==null?void 0:t.direction;if(!r)return this.graph.transform.getContentArea(t);function d(P){var I=P.getBBox();if(I&&P.isNode()){var V=P.getAngle();V!=null&&V!==0&&(I=I.bbox(V))}return I}var v=this.options.pageWidth||1,g=this.options.pageHeight||1,b=this.graph.getCells();return r.includes("top")||(b=b.filter(function(P){var I=d(P);return I.y>=0})),r.includes("left")||(b=b.filter(function(P){var I=d(P);return I.x>=0})),r.includes("right")||(b=b.filter(function(P){var I=d(P);return I.x+I.width<=v})),r.includes("bottom")||(b=b.filter(function(P){var I=d(P);return I.y+I.height<=g})),this.model.getCellsBBox(b)||new xl}},{key:"getFitToContentOptions",value:function(t){var r=this.sx,d=this.sy;return t.gridWidth&&(t.gridWidth*=r),t.gridHeight&&(t.gridHeight*=d),t.minWidth&&(t.minWidth*=r),t.minHeight&&(t.minHeight*=d),typeof t.padding=="object"?t.padding={left:(t.padding.left||0)*r,right:(t.padding.right||0)*r,top:(t.padding.top||0)*d,bottom:(t.padding.bottom||0)*d}:typeof t.padding=="number"&&(t.padding*=r),this.options.autoResize||(t.contentArea=xl.create()),t}},{key:"updateScale",value:function(t,r){var d=this.graph.options,v=t/this.sx,g=r/this.sy;this.sx=t,this.sy=r,this.graph.translate(d.x*v,d.y*g),this.graph.resizeGraph(d.width*v,d.height*g)}},{key:"scrollbarPosition",value:function(t,r,d){if(t==null&&r==null)return{left:this.container.scrollLeft,top:this.container.scrollTop};var v={};return typeof t=="number"&&(v.scrollLeft=t),typeof r=="number"&&(v.scrollTop=r),d&&d.animation?this.$container.animate(v,d.animation):this.$container.prop(v),this}},{key:"scrollToPoint",value:function(t,r,d){var v=this.getClientSize(),g=this.graph.matrix(),b={};return typeof t=="number"&&(b.scrollLeft=t-v.width/2+g.e+(this.padding.left||0)),typeof r=="number"&&(b.scrollTop=r-v.height/2+g.f+(this.padding.top||0)),d&&d.animation?this.$container.animate(b,d.animation):this.$container.prop(b),this}},{key:"scrollToContent",value:function(t){var r=this.sx,d=this.sy,v=this.graph.getContentArea().getCenter();return this.scrollToPoint(v.x*r,v.y*d,t)}},{key:"scrollToCell",value:function(t,r){var d=this.sx,v=this.sy,g=t.getBBox().getCenter();return this.scrollToPoint(g.x*d,g.y*v,r)}},{key:"center",value:function(t){return this.centerPoint(t)}},{key:"centerPoint",value:function(t,r,d){var v=this.graph.matrix(),g=v.a,b=v.d,P=-v.e,I=-v.f,V=P+this.graph.options.width,K=I+this.graph.options.height,ae;if(this.storeClientSize(),typeof t=="number"||typeof r=="number"){ae=d;var ue=this.getVisibleArea().getCenter();typeof t=="number"?t*=g:t=ue.x,typeof r=="number"?r*=b:r=ue.y}else ae=t,t=(P+V)/2,r=(I+K)/2;if(ae&&ae.padding)return this.positionPoint({x:t,y:r},"50%","50%",ae);var ve=this.getPadding(),Oe=this.getClientSize(),ke=Oe.width/2,Ie=Oe.height/2,Ye=ke-ve.left-t+P,Ze=ke-ve.right+t-V,et=Ie-ve.top-r+I,yt=Ie-ve.bottom+r-K;this.addPadding(Math.max(Ye,0),Math.max(Ze,0),Math.max(et,0),Math.max(yt,0));var jt=this.scrollToPoint(t,r,ae||void 0);return this.restoreClientSize(),jt}},{key:"centerContent",value:function(t){return this.positionContent("center",t)}},{key:"centerCell",value:function(t,r){return this.positionCell(t,"center",r)}},{key:"positionContent",value:function(t,r){var d=this.graph.getContentArea(r);return this.positionRect(d,t,r)}},{key:"positionCell",value:function(t,r,d){var v=t.getBBox();return this.positionRect(v,r,d)}},{key:"positionRect",value:function(t,r,d){var v=xl.create(t);switch(r){case"center":return this.positionPoint(v.getCenter(),"50%","50%",d);case"top":return this.positionPoint(v.getTopCenter(),"50%",0,d);case"top-right":return this.positionPoint(v.getTopRight(),"100%",0,d);case"right":return this.positionPoint(v.getRightMiddle(),"100%","50%",d);case"bottom-right":return this.positionPoint(v.getBottomRight(),"100%","100%",d);case"bottom":return this.positionPoint(v.getBottomCenter(),"50%","100%",d);case"bottom-left":return this.positionPoint(v.getBottomLeft(),0,"100%",d);case"left":return this.positionPoint(v.getLeftMiddle(),0,"50%",d);case"top-left":return this.positionPoint(v.getTopLeft(),0,0,d);default:return this}}},{key:"positionPoint",value:function(t,r,d){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},g=v.padding,b=Bte(v,["padding"]),P=C.normalizeSides(g),I=xl.fromSize(this.getClientSize()),V=I.clone().moveAndExpand({x:P.left,y:P.top,width:-P.right-P.left,height:-P.top-P.bottom});r=C.normalizePercentage(r,Math.max(0,V.width)),r<0&&(r=V.width+r),d=C.normalizePercentage(d,Math.max(0,V.height)),d<0&&(d=V.height+d);var K=V.getTopLeft().translate(r,d),ae=I.getCenter().diff(K),ue=this.zoom(),ve=ae.scale(1/ue,1/ue),Oe=$i.create(t).translate(ve);return this.centerPoint(Oe.x,Oe.y,b)}},{key:"zoom",value:function(t,r){if(t==null)return this.sx;r=r||{};var d,v,g=this.getClientSize(),b=this.clientToLocalPoint(g.width/2,g.height/2),P=t,I=t;if(r.absolute||(P+=this.sx,I+=this.sy),r.scaleGrid&&(P=Math.round(P/r.scaleGrid)*r.scaleGrid,I=Math.round(I/r.scaleGrid)*r.scaleGrid),r.maxScale&&(P=Math.min(r.maxScale,P),I=Math.min(r.maxScale,I)),r.minScale&&(P=Math.max(r.minScale,P),I=Math.max(r.minScale,I)),P=this.graph.transform.clampScale(P),I=this.graph.transform.clampScale(I),r.center){var V=P/this.sx,K=I/this.sy;d=r.center.x-(r.center.x-b.x)/V,v=r.center.y-(r.center.y-b.y)/K}else d=b.x,v=b.y;return this.beforeManipulation(),this.graph.transform.scale(P,I),this.centerPoint(d,v),this.afterManipulation(),this}},{key:"zoomToRect",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=xl.create(t),v=this.graph;r.contentArea=d,r.viewportArea==null&&(r.viewportArea={x:v.options.x,y:v.options.y,width:this.$container.width(),height:this.$container.height()}),this.beforeManipulation(),v.transform.scaleContentToFitImpl(r,!1);var g=d.getCenter();return this.centerPoint(g.x,g.y),this.afterManipulation(),this}},{key:"zoomToFit",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.zoomToRect(this.graph.getContentArea(t),t)}},{key:"transitionToPoint",value:function(t,r,d){var v=this;typeof t=="object"?(d=r,r=t.y,t=t.x):r=r,d==null&&(d={});var g,b,P=this.sx,I=Math.max(d.scale||P,1e-6),V=this.getClientSize(),K=new $i(t,r),ae=this.clientToLocalPoint(V.width/2,V.height/2);if(P===I){var ue=ae.diff(K).scale(P,P).round();g="translate(".concat(ue.x,"px,").concat(ue.y,"px)")}else{var ve=I/(P-I)*K.distance(ae),Oe=ae.clone().move(K,ve),ke=this.localToBackgroundPoint(Oe).round();g="scale(".concat(I/P,")"),b="".concat(ke.x,"px ").concat(ke.y,"px")}var Ie=d.onTransitionEnd;return this.$container.addClass(Sm.transitionClassName),this.$content.off(Sm.transitionEventName).on(Sm.transitionEventName,function(Ye){v.syncTransition(I,{x:t,y:r}),typeof Ie=="function"&&k.call(Ie,v,Ye.originalEvent)}).css({transform:g,transformOrigin:b,transition:"transform",transitionDuration:d.duration||"1s",transitionDelay:d.delay,transitionTimingFunction:d.timing}),this}},{key:"syncTransition",value:function(t,r){return this.beforeManipulation(),this.graph.scale(t),this.removeTransition(),this.centerPoint(r.x,r.y),this.afterManipulation(),this}},{key:"removeTransition",value:function(){return this.$container.removeClass(Sm.transitionClassName),this.$content.off(Sm.transitionEventName).css({transform:"",transformOrigin:"",transition:"",transitionDuration:"",transitionDelay:"",transitionTimingFunction:""}),this}},{key:"transitionToRect",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=xl.create(t),v=r.maxScale||Infinity,g=r.minScale||Number.MIN_VALUE,b=r.scaleGrid||null,P=r.visibility||1,I=r.center?$i.create(r.center):d.getCenter(),V=this.getClientSize(),K=V.width*P,ae=V.height*P,ue=new xl(I.x-K/2,I.y-ae/2,K,ae).getMaxUniformScaleToFit(d,I);return ue=Math.min(ue,v),b&&(ue=Math.floor(ue/b)*b),ue=Math.max(g,ue),this.transitionToPoint(I,Object.assign({scale:ue},r))}},{key:"startPanning",value:function(t){var r=this.normalizeEvent(t);this.clientX=r.clientX,this.clientY=r.clientY,this.trigger("pan:start",{e:r}),this.$(document.body).on({"mousemove.panning touchmove.panning":this.pan.bind(this),"mouseup.panning touchend.panning":this.stopPanning.bind(this),"mouseleave.panning":this.stopPanning.bind(this)}),this.$(window).on("mouseup.panning",this.stopPanning.bind(this))}},{key:"pan",value:function(t){var r=this.normalizeEvent(t),d=r.clientX-this.clientX,v=r.clientY-this.clientY;this.container.scrollTop-=v,this.container.scrollLeft-=d,this.clientX=r.clientX,this.clientY=r.clientY,this.trigger("panning",{e:r})}},{key:"stopPanning",value:function(t){this.$(document.body).off(".panning"),this.$(window).off(".panning"),this.trigger("pan:stop",{e:t})}},{key:"clientToLocalPoint",value:function(t,r){var d=typeof t=="object"?t.x:t,v=typeof t=="object"?t.y:r,g=this.graph.matrix();return d+=this.container.scrollLeft-this.padding.left-g.e,v+=this.container.scrollTop-this.padding.top-g.f,new $i(d/g.a,v/g.d)}},{key:"localToBackgroundPoint",value:function(t,r){var d=typeof t=="object"?$i.create(t):new $i(t,r),v=this.graph.matrix(),g=this.padding;return S.transformPoint(d,v).translate(g.left,g.top)}},{key:"resize",value:function(t,r){var d=t!=null?t:this.container.offsetWidth,v=r!=null?r:this.container.offsetHeight;typeof d=="number"&&(d=Math.round(d)),typeof v=="number"&&(v=Math.round(v)),this.options.width=d,this.options.height=v,this.$container.css({width:d,height:v}),this.update()}},{key:"getClientSize",value:function(){return this.cachedClientSize?this.cachedClientSize:{width:this.container.clientWidth,height:this.container.clientHeight}}},{key:"autoScroll",value:function(t,r){var d=10,v=this.container,g=v.getBoundingClientRect(),b=0,P=0;return t<=g.left+d&&(b=-d),r<=g.top+d&&(P=-d),t>=g.right-d&&(b=d),r>=g.bottom-d&&(P=d),b!==0&&(v.scrollLeft+=b),P!==0&&(v.scrollTop+=P),{scrollerX:b,scrollerY:P}}},{key:"addPadding",value:function(t,r,d,v){var g=this.getPadding();this.padding={left:Math.round(g.left+(t||0)),top:Math.round(g.top+(d||0)),bottom:Math.round(g.bottom+(v||0)),right:Math.round(g.right+(r||0))},g=this.padding,this.$content.css({width:g.left+this.graph.options.width+g.right,height:g.top+this.graph.options.height+g.bottom});var b=this.graph.container;return b.style.left="".concat(this.padding.left,"px"),b.style.top="".concat(this.padding.top,"px"),this}},{key:"getPadding",value:function(){var t=this.options.padding;return typeof t=="function"?C.normalizeSides(k.call(t,this,this)):C.normalizeSides(t)}},{key:"getVisibleArea",value:function(){var t=this.graph.matrix(),r=this.getClientSize(),d={x:this.container.scrollLeft||0,y:this.container.scrollTop||0,width:r.width,height:r.height},v=S.transformRectangle(d,t.inverse());return v.x-=(this.padding.left||0)/this.sx,v.y-=(this.padding.top||0)/this.sy,v}},{key:"isCellVisible",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=t.getBBox(),v=this.getVisibleArea();return r.strict?v.containsRect(d):v.isIntersectWithRect(d)}},{key:"isPointVisible",value:function(t){return this.getVisibleArea().containsPoint(t)}},{key:"lock",value:function(){return this.$container.css("overflow","hidden"),this}},{key:"unlock",value:function(){return this.$container.css("overflow","scroll"),this}},{key:"onRemove",value:function(){this.stopListening()}},{key:"dispose",value:function(){this.$(this.graph.container).insertBefore(this.$container),this.remove()}}]),c}(Nf);Ute([Nf.dispose()],b2.prototype,"dispose",null),function(u){var i=function(c){Object(Cc.a)(t,c);var o=Object(Ec.a)(t);function t(r){var d;return Object(xi.a)(this,t),d=o.call(this,r.graph),d.scroller=r,r.options.background&&d.draw(r.options.background),d}return Object(Pi.a)(t,[{key:"elem",get:function(){return this.scroller.background}},{key:"init",value:function(){this.graph.on("scale",this.update,this),this.graph.on("translate",this.update,this)}},{key:"updateBackgroundOptions",value:function(d){this.scroller.options.background=d}}]),t}(kj);u.Background=i}(b2||(b2={}));var Sm;(function(u){u.containerClass="graph-scroller",u.panningClass="".concat(u.containerClass,"-panning"),u.pannableClass="".concat(u.containerClass,"-pannable"),u.pagedClass="".concat(u.containerClass,"-paged"),u.contentClass="".concat(u.containerClass,"-content"),u.backgroundClass="".concat(u.containerClass,"-background"),u.transitionClassName="transition-in-progress",u.transitionEventName="transitionend.graph-scroller-transition",u.defaultOptions={padding:function(){var o=this.getClientSize(),t=Math.max(this.options.minVisibleWidth||0,1)||1,r=Math.max(this.options.minVisibleHeight||0,1)||1,d=Math.max(o.width-t,0),v=Math.max(o.height-r,0);return{left:d,top:v,right:d,bottom:v}},minVisibleWidth:50,minVisibleHeight:50,pageVisible:!1,pageBreak:!1,autoResize:!0};function i(c){var o=m.merge({},u.defaultOptions,c);return o.pageWidth==null&&(o.pageWidth=c.graph.options.width),o.pageHeight==null&&(o.pageHeight=c.graph.options.height),o}u.getOptions=i})(Sm||(Sm={}));function Iv(u,i,c){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(c){var t=c.graph,r=t.view.normalizeEvent(i),d=t.snapToGrid(r.clientX,r.clientY);c.notify(u,Object.assign({e:r,view:c,node:c.cell,cell:c.cell,x:d.x,y:d.y},o))}}var dV=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},jj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.options=m.merge({},lg.defaultOptions,o),t.options.model&&(t.options.collection=t.options.model.collection),t.options.collection?t.collection=t.options.collection:(t.collection=new aV([],{comparator:lg.depthComparator}),t.options.collection=t.collection),t.boxCount=0,t.createContainer(),t.initHandles(),t.startListening(),t}return Object(Pi.a)(c,[{key:"graph",get:function(){return this.options.graph}},{key:"boxClassName",get:function(){return this.prefixClassName(lg.classNames.box)}},{key:"$boxes",get:function(){return this.$container.children(".".concat(this.boxClassName))}},{key:"handleOptions",get:function(){return this.options}},{key:"startListening",value:function(){var t,r=this.graph,d=this.collection;this.delegateEvents((t={},Object(qc.a)(t,"mousedown .".concat(this.boxClassName),"onSelectionBoxMouseDown"),Object(qc.a)(t,"touchstart .".concat(this.boxClassName),"onSelectionBoxMouseDown"),t),!0),r.on("scale",this.onGraphTransformed,this),r.on("translate",this.onGraphTransformed,this),r.model.on("updated",this.onModelUpdated,this),d.on("added",this.onCellAdded,this),d.on("removed",this.onCellRemoved,this),d.on("reseted",this.onReseted,this),d.on("updated",this.onCollectionUpdated,this),d.on("node:change:position",this.onNodePositionChanged,this),d.on("cell:changed",this.onCellChanged,this)}},{key:"stopListening",value:function(){var t=this.graph,r=this.collection;this.undelegateEvents(),t.off("scale",this.onGraphTransformed,this),t.off("translate",this.onGraphTransformed,this),t.model.off("updated",this.onModelUpdated,this),r.off("added",this.onCellAdded,this),r.off("removed",this.onCellRemoved,this),r.off("reseted",this.onReseted,this),r.off("updated",this.onCollectionUpdated,this),r.off("node:change:position",this.onNodePositionChanged,this),r.off("cell:changed",this.onCellChanged,this)}},{key:"onRemove",value:function(){this.stopListening()}},{key:"onGraphTransformed",value:function(){this.updateSelectionBoxes({async:!1})}},{key:"onCellChanged",value:function(){this.updateSelectionBoxes()}},{key:"onNodePositionChanged",value:function(t){var r=t.node,d=t.options,v=this.options,g=v.showNodeSelectionBox,b=v.pointerEvents,P=d.ui,I=d.selection,V=d.translateBy,K=d.snapped,ae=(g!==!0||b==="none")&&!this.translating&&!I,ue=P&&V&&r.id===V;if(ae&&(ue||K)){this.translating=!0;var ve=r.position(),Oe=r.previous("position"),ke=ve.x-Oe.x,Ie=ve.y-Oe.y;(ke!==0||Ie!==0)&&this.translateSelectedNodes(ke,Ie,r,d),this.translating=!1}}},{key:"onModelUpdated",value:function(t){var r=t.removed;r&&r.length&&this.unselect(r)}},{key:"isEmpty",value:function(){return this.length<=0}},{key:"isSelected",value:function(t){return this.collection.has(t)}},{key:"length",get:function(){return this.collection.length}},{key:"cells",get:function(){return this.collection.toArray()}},{key:"select",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r.dryrun=!0;var d=this.filter(Array.isArray(t)?t:[t]);return this.collection.add(d,r),this}},{key:"unselect",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.dryrun=!0,this.collection.remove(Array.isArray(t)?t:[t],r),this}},{key:"reset",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t){if(r.batch){var d=this.filter(Array.isArray(t)?t:[t]);return this.collection.reset(d,Object.assign(Object.assign({},r),{ui:!0})),this}var v=this.cells,g=this.filter(Array.isArray(t)?t:[t]),b={},P={};v.forEach(function(K){return b[K.id]=K}),g.forEach(function(K){return P[K.id]=K});var I=[],V=[];return g.forEach(function(K){b[K.id]||I.push(K)}),v.forEach(function(K){P[K.id]||V.push(K)}),V.length&&this.unselect(V,Object.assign(Object.assign({},r),{ui:!0})),I.length&&this.select(I,Object.assign(Object.assign({},r),{ui:!0})),V.length===0&&I.length===0&&this.updateContainer(),this}return this.clean(r)}},{key:"clean",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.length&&(t.batch===!1?this.unselect(this.cells,t):this.collection.reset([],Object.assign(Object.assign({},t),{ui:!0}))),this}},{key:"setFilter",value:function(t){this.options.filter=t}},{key:"setContent",value:function(t){this.options.content=t}},{key:"startSelecting",value:function(t){t=this.normalizeEvent(t),this.clean();var r,d,v=this.graph.container;if(t.offsetX!=null&&t.offsetY!=null&&v.contains(t.target))r=t.offsetX,d=t.offsetY;else{var g=this.$(v).offset(),b=v.scrollLeft,P=v.scrollTop;r=t.clientX-g.left+window.pageXOffset+b,d=t.clientY-g.top+window.pageYOffset+P}this.$container.css({top:d,left:r,width:1,height:1}),this.setEventData(t,{action:"selecting",clientX:t.clientX,clientY:t.clientY,offsetX:r,offsetY:d,scrollerX:0,scrollerY:0,moving:!1}),this.delegateDocumentEvents(lg.documentEvents,t.data)}},{key:"filter",value:function(t){var r=this,d=this.options.filter;return Array.isArray(d)?t.filter(function(v){return!d.includes(v)&&!d.includes(v.shape)}):typeof d=="function"?t.filter(function(v){return k.call(d,r.graph,v)}):t}},{key:"stopSelecting",value:function(t){var r=this.graph,d=this.getEventData(t),v=d.action;switch(v){case"selecting":{var g=this.$container.width(),b=this.$container.height(),P=this.$container.offset(),I=r.pageToLocal(P.left,P.top),V=r.transform.getScale();g/=V.sx,b/=V.sy;var K=new xl(I.x,I.y,g,b),ae=this.getCellViewsInArea(K).map(function(Oe){return Oe.cell});this.reset(ae,{batch:!0}),this.hideRubberband();break}case"translating":{var ue=r.snapToGrid(t.clientX,t.clientY);if(!this.options.following){var ve=d;this.updateSelectedNodesPosition({dx:ve.clientX-ve.originX,dy:ve.clientY-ve.originY})}this.graph.model.stopBatch("move-selection"),this.notifyBoxEvent("box:mouseup",t,ue.x,ue.y);break}default:{this.clean();break}}}},{key:"onMouseUp",value:function(t){var r=this.getEventData(t).action;r&&(this.stopSelecting(t),this.undelegateDocumentEvents())}},{key:"onSelectionBoxMouseDown",value:function(t){this.options.following||t.stopPropagation();var r=this.normalizeEvent(t);this.options.movable&&this.startTranslating(r);var d=this.getCellViewFromElem(r.target);this.setEventData(r,{activeView:d});var v=this.graph.snapToGrid(r.clientX,r.clientY);this.notifyBoxEvent("box:mousedown",r,v.x,v.y),this.delegateDocumentEvents(lg.documentEvents,r.data)}},{key:"startTranslating",value:function(t){this.graph.model.startBatch("move-selection");var r=this.graph.snapToGrid(t.clientX,t.clientY);this.setEventData(t,{action:"translating",clientX:r.x,clientY:r.y,originX:r.x,originY:r.y})}},{key:"getSelectionOffset",value:function(t,r){var d=t.x-r.clientX,v=t.y-r.clientY,g=this.graph.hook.getRestrictArea();if(g){var b=this.collection.toArray(),P=Mf.getCellsBBox(b,{deep:!0})||xl.create(),I=g.x-P.x,V=g.y-P.y,K=g.x+g.width-(P.x+P.width),ae=g.y+g.height-(P.y+P.height);if(d<I&&(d=I),v<V&&(v=V),K<d&&(d=K),ae<v&&(v=ae),!this.options.following){var ue=t.x-r.originX,ve=t.y-r.originY;d=ue<=I||ue>=K?0:d,v=ve<=V||ve>=ae?0:v}}return{dx:d,dy:v}}},{key:"updateSelectedNodesPosition",value:function(t){var r=t.dx,d=t.dy;if(r||d)if(this.translateSelectedNodes(r,d),this.boxesUpdated)this.collection.length>1&&this.updateSelectionBoxes();else{var v=this.graph.transform.getScale();this.$boxes.add(this.$selectionContainer).css({left:"+=".concat(r*v.sx),top:"+=".concat(d*v.sy)})}}},{key:"autoScrollGraph",value:function(t,r){var d=this.graph.scroller.widget;return d?d.autoScroll(t,r):{scrollerX:0,scrollerY:0}}},{key:"adjustSelection",value:function(t){var r=this.normalizeEvent(t),d=this.getEventData(r),v=d.action;switch(v){case"selecting":{var g=d;g.moving!==!0&&(this.$container.appendTo(this.graph.container),this.showRubberband(),g.moving=!0);var b=this.autoScrollGraph(r.clientX,r.clientY),P=b.scrollerX,I=b.scrollerY;g.scrollerX+=P,g.scrollerY+=I;var V=r.clientX-g.clientX+g.scrollerX,K=r.clientY-g.clientY+g.scrollerY,ae=parseInt(this.$container.css("left"),10),ue=parseInt(this.$container.css("top"),10);this.$container.css({left:V<0?g.offsetX+V:ae,top:K<0?g.offsetY+K:ue,width:Math.abs(V),height:Math.abs(K)});break}case"translating":{var ve=this.graph.snapToGrid(r.clientX,r.clientY),Oe=d,ke=this.getSelectionOffset(ve,Oe);this.options.following?this.updateSelectedNodesPosition(ke):this.updateContainerPosition(ke),ke.dx&&(Oe.clientX=ve.x),ke.dy&&(Oe.clientY=ve.y),this.notifyBoxEvent("box:mousemove",t,ve.x,ve.y);break}default:break}this.boxesUpdated=!1}},{key:"translateSelectedNodes",value:function(t,r,d,v){var g=this,b={},P=[];if(d&&(b[d.id]=!0),this.collection.toArray().forEach(function(V){V.getDescendants({deep:!0}).forEach(function(K){b[K.id]=!0})}),v&&v.translateBy){var I=this.graph.getCellById(v.translateBy);I&&(b[I.id]=!0,I.getDescendants({deep:!0}).forEach(function(V){b[V.id]=!0}),P.push(I))}this.collection.toArray().forEach(function(V){if(!b[V.id]){var K=Object.assign(Object.assign({},v),{selection:g.cid,exclude:P});V.translate(t,r,K),g.graph.model.getConnectedEdges(V).forEach(function(ae){b[ae.id]||(ae.translate(t,r,K),b[ae.id]=!0)})}})}},{key:"getCellViewsInArea",value:function(t){var r=this.graph,d={strict:this.options.strict},v=[];return this.options.rubberNode&&(this.options.useCellGeometry?v=v.concat(r.model.getNodesInArea(t,d).map(function(g){return r.renderer.findViewByCell(g)}).filter(function(g){return g!=null})):v=v.concat(r.renderer.findViewsInArea(t,d))),this.options.rubberEdge&&(this.options.useCellGeometry?v=v.concat(r.model.getEdgesInArea(t,d).map(function(g){return r.renderer.findViewByCell(g)}).filter(function(g){return g!=null})):v=v.concat(r.renderer.findEdgeViewsInArea(t,d))),v}},{key:"notifyBoxEvent",value:function(t,r,d,v){var g=this.getEventData(r),b=g.activeView;this.trigger(t,{e:r,view:b,x:d,y:v,cell:b.cell})}},{key:"getSelectedClassName",value:function(t){return this.prefixClassName("".concat(t.isNode()?"node":"edge","-selected"))}},{key:"addCellSelectedClassName",value:function(t){var r=this.graph.renderer.findViewByCell(t);r&&r.addClass(this.getSelectedClassName(t))}},{key:"removeCellUnSelectedClassName",value:function(t){var r=this.graph.renderer.findViewByCell(t);r&&r.removeClass(this.getSelectedClassName(t))}},{key:"destroySelectionBox",value:function(t){this.removeCellUnSelectedClassName(t),this.canShowSelectionBox(t)&&(this.$container.find('[data-cell-id="'.concat(t.id,'"]')).remove(),this.$boxes.length===0&&this.hide(),this.boxCount=Math.max(0,this.boxCount-1))}},{key:"destroyAllSelectionBoxes",value:function(t){var r=this;t.forEach(function(d){return r.removeCellUnSelectedClassName(d)}),this.hide(),this.$boxes.remove(),this.boxCount=0}},{key:"hide",value:function(){this.$container.removeClass(this.prefixClassName(lg.classNames.rubberband)).removeClass(this.prefixClassName(lg.classNames.selected))}},{key:"showRubberband",value:function(){this.$container.addClass(this.prefixClassName(lg.classNames.rubberband))}},{key:"hideRubberband",value:function(){this.$container.removeClass(this.prefixClassName(lg.classNames.rubberband))}},{key:"showSelected",value:function(){this.$container.removeAttr("style").addClass(this.prefixClassName(lg.classNames.selected))}},{key:"createContainer",value:function(){this.container=document.createElement("div"),this.$container=this.$(this.container),this.$container.addClass(this.prefixClassName(lg.classNames.root)),this.options.className&&this.$container.addClass(this.options.className),this.$selectionContainer=this.$("<div/>").addClass(this.prefixClassName(lg.classNames.inner)),this.$selectionContent=this.$("<div/>").addClass(this.prefixClassName(lg.classNames.content)),this.$selectionContainer.append(this.$selectionContent),this.$selectionContainer.attr("data-selection-length",this.collection.length),this.$container.prepend(this.$selectionContainer),this.$handleContainer=this.$selectionContainer}},{key:"updateContainerPosition",value:function(t){(t.dx||t.dy)&&this.$selectionContainer.css({left:"+=".concat(t.dx),top:"+=".concat(t.dy)})}},{key:"updateContainer",value:function(){var t=this,r={x:Infinity,y:Infinity},d={x:0,y:0},v=this.collection.toArray().filter(function(P){return t.canShowSelectionBox(P)});v.forEach(function(P){var I=t.graph.renderer.findViewByCell(P);if(I){var V=I.getBBox({useCellGeometry:t.options.useCellGeometry});r.x=Math.min(r.x,V.x),r.y=Math.min(r.y,V.y),d.x=Math.max(d.x,V.x+V.width),d.y=Math.max(d.y,V.y+V.height)}}),this.$selectionContainer.css({position:"absolute",pointerEvents:"none",left:r.x,top:r.y,width:d.x-r.x,height:d.y-r.y}).attr("data-selection-length",this.collection.length);var g=this.options.content;if(g)if(typeof g=="function"){var b=k.call(g,this.graph,this,this.$selectionContent[0]);b&&this.$selectionContent.html(b)}else this.$selectionContent.html(g);this.collection.length>0&&!this.container.parentNode?this.$container.appendTo(this.graph.container):this.collection.length<=0&&this.container.parentNode&&this.container.parentNode.removeChild(this.container)}},{key:"canShowSelectionBox",value:function(t){return t.isNode()&&this.options.showNodeSelectionBox===!0||t.isEdge()&&this.options.showEdgeSelectionBox===!0}},{key:"createSelectionBox",value:function(t){if(this.addCellSelectedClassName(t),this.canShowSelectionBox(t)){var r=this.graph.renderer.findViewByCell(t);if(r){var d=r.getBBox({useCellGeometry:this.options.useCellGeometry}),v=this.boxClassName;this.$("<div/>").addClass(v).addClass("".concat(v,"-").concat(t.isNode()?"node":"edge")).attr("data-cell-id",t.id).css({position:"absolute",left:d.x,top:d.y,width:d.width,height:d.height,pointerEvents:this.options.pointerEvents||"auto"}).appendTo(this.container),this.showSelected(),this.boxCount+=1}}}},{key:"updateSelectionBoxes",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.collection.length>0&&(this.boxesUpdated=!0,this.graph.renderer.requestViewUpdate(this,1,2,t))}},{key:"confirmUpdate",value:function(){var t=this;return this.boxCount&&(this.hide(),this.$boxes.each(function(r,d){var v=t.$(d).remove().attr("data-cell-id"),g=t.collection.get(v);g&&t.createSelectionBox(g)}),this.updateContainer()),0}},{key:"getCellViewFromElem",value:function(t){var r=t.getAttribute("data-cell-id");if(r){var d=this.collection.get(r);if(d)return this.graph.renderer.findViewByCell(d)}return null}},{key:"onCellRemoved",value:function(t){var r=t.cell;this.destroySelectionBox(r),this.updateContainer()}},{key:"onReseted",value:function(t){var r=this,d=t.previous,v=t.current;this.destroyAllSelectionBoxes(d),v.forEach(function(g){r.listenCellRemoveEvent(g),r.createSelectionBox(g)}),this.updateContainer()}},{key:"onCellAdded",value:function(t){var r=t.cell;this.listenCellRemoveEvent(r),this.createSelectionBox(r),this.updateContainer()}},{key:"listenCellRemoveEvent",value:function(t){t.off("removed",this.onCellRemoved,this),t.on("removed",this.onCellRemoved,this)}},{key:"onCollectionUpdated",value:function(t){var r=this,d=t.added,v=t.removed,g=t.options;d.forEach(function(P){r.trigger("cell:selected",{cell:P,options:g}),r.graph.trigger("cell:selected",{cell:P,options:g}),P.isNode()?(r.trigger("node:selected",{cell:P,options:g,node:P}),r.graph.trigger("node:selected",{cell:P,options:g,node:P})):P.isEdge()&&(r.trigger("edge:selected",{cell:P,options:g,edge:P}),r.graph.trigger("edge:selected",{cell:P,options:g,edge:P}))}),v.forEach(function(P){r.trigger("cell:unselected",{cell:P,options:g}),r.graph.trigger("cell:unselected",{cell:P,options:g}),P.isNode()?(r.trigger("node:unselected",{cell:P,options:g,node:P}),r.graph.trigger("node:unselected",{cell:P,options:g,node:P})):P.isEdge()&&(r.trigger("edge:unselected",{cell:P,options:g,edge:P}),r.graph.trigger("edge:unselected",{cell:P,options:g,edge:P}))});var b={added:d,removed:v,options:g,selected:this.cells.filter(function(P){return!!r.graph.getCellById(P.id)})};this.trigger("selection:changed",b),this.graph.trigger("selection:changed",b)}},{key:"deleteSelectedCells",value:function(){var t=this.collection.toArray();this.clean(),this.graph.model.removeCells(t,{selection:this.cid})}},{key:"startRotate",value:function(t){var r=t.e,d=this.collection.toArray(),v=Mf.getCellsBBox(d).getCenter(),g=this.graph.snapToGrid(r.clientX,r.clientY),b=d.reduce(function(P,I){return P[I.id]=uf.normalize(I.getAngle()),P},{});this.setEventData(r,{center:v,angles:b,start:g.theta(v)})}},{key:"doRotate",value:function(t){var r=this,d=t.e,v=this.getEventData(d),g=this.graph.options.rotating.grid,b=typeof g=="function"?k.call(g,this.graph,null):g,P=this.graph.snapToGrid(d.clientX,d.clientY),I=v.start-P.theta(v.center);v.rotated||(v.rotated=!0),Math.abs(I)>.001&&(this.collection.toArray().forEach(function(V){var K=Cv.snapToGrid(v.angles[V.id]+I,b||15);V.rotate(K,{absolute:!0,center:v.center,selection:r.cid})}),this.updateSelectionBoxes())}},{key:"stopRotate",value:function(t){var r=this,d=t.e,v=this.getEventData(d);v.rotated&&(v.rotated=!1,this.collection.toArray().forEach(function(g){Iv("node:rotated",d,r.graph.findViewByCell(g))}))}},{key:"startResize",value:function(t){var r=t.e,d=this.graph.getGridSize(),v=this.collection.toArray(),g=Mf.getCellsBBox(v),b=v.map(function(V){return V.getBBox()}),P=b.reduce(function(V,K){return K.width<V?K.width:V},Infinity),I=b.reduce(function(V,K){return K.height<V?K.height:V},Infinity);this.setEventData(r,{bbox:g,cells:this.graph.model.getSubGraph(v),minWidth:d*g.width/P,minHeight:d*g.height/I})}},{key:"doResize",value:function(t){var r=t.e,d=t.dx,v=t.dy,g=this.eventData(r),b=g.bbox,P=b.width,I=b.height,V=Math.max(P+d,g.minWidth),K=Math.max(I+v,g.minHeight);g.resized||(g.resized=!0),(Math.abs(P-V)>.001||Math.abs(I-K)>.001)&&(this.graph.model.resizeCells(V,K,g.cells,{selection:this.cid}),b.width=V,b.height=K,this.updateSelectionBoxes())}},{key:"stopResize",value:function(t){var r=this,d=t.e,v=this.eventData(d);v.resized&&(v.resized=!1,this.collection.toArray().forEach(function(g){Iv("node:resized",d,r.graph.findViewByCell(g))}))}},{key:"dispose",value:function(){this.clean(),this.remove()}}]),c}(Nf);dV([Nf.dispose()],jj.prototype,"dispose",null),m.applyMixins(jj,m2);var lg;(function(u){var i="widget-selection";u.classNames={root:i,inner:"".concat(i,"-inner"),box:"".concat(i,"-box"),content:"".concat(i,"-content"),rubberband:"".concat(i,"-rubberband"),selected:"".concat(i,"-selected")},u.documentEvents={mousemove:"adjustSelection",touchmove:"adjustSelection",mouseup:"onMouseUp",touchend:"onMouseUp",touchcancel:"onMouseUp"},u.defaultOptions={movable:!0,following:!0,strict:!1,useCellGeometry:!1,content:function(t){return O.template('<%= length %> node<%= length > 1 ? "s":"" %> selected.')({length:t.length})},handles:[{name:"remove",position:"nw",events:{mousedown:"deleteSelectedCells"}},{name:"rotate",position:"sw",events:{mousedown:"startRotate",mousemove:"doRotate",mouseup:"stopRotate"}},{name:"resize",position:"se",events:{mousedown:"startResize",mousemove:"doResize",mouseup:"stopResize"}}]};function c(o){return o.getAncestors().length}u.depthComparator=c})(lg||(lg={}));var bL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"node",get:function(){return this.cell}},{key:"containerClassName",get:function(){return this.prefixClassName("widget-transform")}},{key:"resizeClassName",get:function(){return"".concat(this.containerClassName,"-resize")}},{key:"rotateClassName",get:function(){return"".concat(this.containerClassName,"-rotate")}},{key:"init",value:function(t){this.options=Object.assign(Object.assign({},oh.defaultOptions),t),this.render(),this.startListening()}},{key:"startListening",value:function(){var t;this.delegateEvents((t={},Object(qc.a)(t,"mousedown .".concat(this.resizeClassName),"startResizing"),Object(qc.a)(t,"touchstart .".concat(this.resizeClassName),"startResizing"),Object(qc.a)(t,"mousedown .".concat(this.rotateClassName),"startRotating"),Object(qc.a)(t,"touchstart .".concat(this.rotateClassName),"startRotating"),t)),this.model.on("*",this.update,this),this.graph.on("scale",this.update,this),this.graph.on("translate",this.update,this),this.node.on("removed",this.remove,this),this.model.on("reseted",this.remove,this),this.view.on("cell:knob:mousedown",this.onKnobMouseDown,this),this.view.on("cell:knob:mouseup",this.onKnobMouseUp,this),Object($u.a)(Object(Wu.a)(c.prototype),"startListening",this).call(this)}},{key:"stopListening",value:function(){this.undelegateEvents(),this.model.off("*",this.update,this),this.graph.off("scale",this.update,this),this.graph.off("translate",this.update,this),this.node.off("removed",this.remove,this),this.model.off("reseted",this.remove,this),this.view.off("cell:knob:mousedown",this.onKnobMouseDown,this),this.view.off("cell:knob:mouseup",this.onKnobMouseUp,this),Object($u.a)(Object(Wu.a)(c.prototype),"stopListening",this).call(this)}},{key:"renderHandles",value:function(){var t=this;this.container=document.createElement("div"),this.$container=this.$(this.container);var r=this.$("<div/>").prop("draggable",!1),d=r.clone().addClass(this.rotateClassName),v=oh.POSITIONS.map(function(g){return r.clone().addClass(t.resizeClassName).attr("data-position",g)});this.empty(),this.$container.append(v,d)}},{key:"render",value:function(){return this.renderHandles(),this.view.addClass(oh.NODE_CLS),this.$container.addClass(this.containerClassName).toggleClass("no-orth-resize",this.options.preserveAspectRatio||!this.options.orthogonalResizing).toggleClass("no-resize",!this.options.resizable).toggleClass("no-rotate",!this.options.rotatable),this.options.className&&this.$container.addClass(this.options.className),this.graph.container.appendChild(this.container),this.update()}},{key:"update",value:function(){var t=this.graph.matrix(),r=this.node.getBBox();r.x*=t.a,r.x+=t.e,r.y*=t.d,r.y+=t.f,r.width*=t.a,r.height*=t.d;var d=uf.normalize(this.node.getAngle()),v=d!==0?"rotate(".concat(d,"deg)"):"";return this.$container.css({transform:v,width:r.width,height:r.height,left:r.x,top:r.y}),this.updateResizerDirections(),this}},{key:"remove",value:function(){return this.view.removeClass(oh.NODE_CLS),Object($u.a)(Object(Wu.a)(c.prototype),"remove",this).call(this)}},{key:"onKnobMouseDown",value:function(){this.startHandle()}},{key:"onKnobMouseUp",value:function(){this.stopHandle()}},{key:"updateResizerDirections",value:function(){var t=this,r=uf.normalize(this.node.getAngle()),d=Math.floor(r*(oh.DIRECTIONS.length/360));if(d!==this.prevShift){var v=oh.DIRECTIONS.slice(d).concat(oh.DIRECTIONS.slice(0,d)),g=function(P){return"".concat(t.containerClassName,"-cursor-").concat(P)};this.$container.find(".".concat(this.resizeClassName)).removeClass(oh.DIRECTIONS.map(function(b){return g(b)}).join(" ")).each(function(b,P){t.$(P).addClass(g(v[b]))}),this.prevShift=d}}},{key:"getTrueDirection",value:function(t){var r=uf.normalize(this.node.getAngle()),d=oh.POSITIONS.indexOf(t);return d+=Math.floor(r*(oh.POSITIONS.length/360)),d%=oh.POSITIONS.length,oh.POSITIONS[d]}},{key:"toValidResizeDirection",value:function(t){return{top:"top-left",bottom:"bottom-right",left:"bottom-left",right:"top-right"}[t]||t}},{key:"startResizing",value:function(t){t.stopPropagation(),this.model.startBatch("resize",{cid:this.cid});var r=this.$(t.target).attr("data-position"),d=this.graph.findViewByCell(this.node);this.prepareResizing(t,r),this.startAction(t),Iv("node:resize:mousedown",t,d)}},{key:"prepareResizing",value:function(t,r){var d=this.getTrueDirection(r),v=0,g=0;r.split("-").forEach(function(V){v={left:-1,right:1}[V]||v,g={top:-1,bottom:1}[V]||g});var b=this.toValidResizeDirection(r),P={"top-right":"bottomLeft","top-left":"bottomRight","bottom-left":"topRight","bottom-right":"topLeft"}[b],I=uf.normalize(this.node.getAngle());this.setEventData(t,{selector:P,direction:b,trueDirection:d,relativeDirection:r,angle:I,resizeX:v,resizeY:g,action:"resizing"})}},{key:"startRotating",value:function(t){t.stopPropagation(),this.model.startBatch("rotate",{cid:this.cid});var r=this.graph.findViewByCell(this.node),d=this.node.getBBox().getCenter(),v=this.normalizeEvent(t),g=this.graph.snapToGrid(v.clientX,v.clientY);this.setEventData(t,{center:d,action:"rotating",angle:uf.normalize(this.node.getAngle()),start:$i.create(g).theta(d)}),this.startAction(t),Iv("node:rotate:mousedown",t,r)}},{key:"onMouseMove",value:function(t){var r=this.graph.findViewByCell(this.node),d=this.getEventData(t);if(d.action){var v=this.normalizeEvent(t),g=v.clientX,b=v.clientY,P=this.graph.scroller.widget,I=this.options.restrictedResizing;if(I===!0||typeof I=="number"){var V=I===!0?0:I,K=P?Math.max(V,8):V,ae=this.graph.container.getBoundingClientRect();g=C.clamp(g,ae.left+K,ae.right-K),b=C.clamp(b,ae.top+K,ae.bottom-K)}else this.options.autoScrollOnResizing&&P&&P.autoScroll(g,b);var ue=this.graph.snapToGrid(g,b),ve=this.graph.getGridSize(),Oe=this.node,ke=this.options;if(d.action==="resizing"){d=d,d.resized||(r&&(r.addClass("node-resizing"),Iv("node:resize",t,r)),d.resized=!0);var Ie=Oe.getBBox(),Ye=$i.create(ue).rotate(d.angle,Ie.getCenter()).diff(Ie[d.selector]),Ze=d.resizeX?Ye.x*d.resizeX:Ie.width,et=d.resizeY?Ye.y*d.resizeY:Ie.height,yt=Ze,jt=et;if(Ze=Cv.snapToGrid(Ze,ve),et=Cv.snapToGrid(et,ve),Ze=Math.max(Ze,ke.minWidth||ve),et=Math.max(et,ke.minHeight||ve),Ze=Math.min(Ze,ke.maxWidth||Infinity),et=Math.min(et,ke.maxHeight||Infinity),ke.preserveAspectRatio){var Ft=Ie.width*et/Ie.height,Ht=Ie.height*Ze/Ie.width;Ze<Ft?et=Ht:Ze=Ft}var Gt=d.relativeDirection;if(ke.allowReverse&&(yt<=-Ze||jt<=-et)){var Jt;Gt==="left"?yt<=-Ze&&(Jt="right"):Gt==="right"?yt<=-Ze&&(Jt="left"):Gt==="top"?jt<=-et&&(Jt="bottom"):Gt==="bottom"?jt<=-et&&(Jt="top"):Gt==="top-left"?yt<=-Ze&&jt<=-et?Jt="bottom-right":yt<=-Ze?Jt="top-right":jt<=-et&&(Jt="bottom-left"):Gt==="top-right"?yt<=-Ze&&jt<=-et?Jt="bottom-left":yt<=-Ze?Jt="top-left":jt<=-et&&(Jt="bottom-right"):Gt==="bottom-left"?yt<=-Ze&&jt<=-et?Jt="top-right":yt<=-Ze?Jt="bottom-right":jt<=-et&&(Jt="top-left"):Gt==="bottom-right"&&(yt<=-Ze&&jt<=-et?Jt="top-left":yt<=-Ze?Jt="bottom-left":jt<=-et&&(Jt="top-right"));var mn=Jt;this.stopHandle();var vn=this.$container.find(".".concat(this.resizeClassName,'[data-position="').concat(mn,'"]'));this.startHandle(vn[0]),this.prepareResizing(t,mn),this.onMouseMove(t)}if(Ie.width!==Ze||Ie.height!==et){var Yt={ui:!0,direction:d.direction,relativeDirection:d.relativeDirection,trueDirection:d.trueDirection,minWidth:ke.minWidth,minHeight:ke.minHeight,maxWidth:ke.maxWidth,maxHeight:ke.maxHeight,preserveAspectRatio:ke.preserveAspectRatio===!0};Oe.resize(Ze,et,Yt),Iv("node:resizing",t,r)}Iv("node:resize:mousemove",t,r)}else if(d.action==="rotating"){d=d,d.rotated||(r&&(r.addClass("node-rotating"),Iv("node:rotate",t,r)),d.rotated=!0);var En=Oe.getAngle(),or=d.start-$i.create(ue).theta(d.center),$r=d.angle+or;ke.rotateGrid&&($r=Cv.snapToGrid($r,ke.rotateGrid)),$r=uf.normalize($r),En!==$r&&(Oe.rotate($r,{absolute:!0}),Iv("node:rotating",t,r)),Iv("node:rotate:mousemove",t,r)}}}},{key:"onMouseUp",value:function(t){var r=this.graph.findViewByCell(this.node),d=this.getEventData(t);d.action&&(this.stopAction(t),this.model.stopBatch(d.action==="resizing"?"resize":"rotate",{cid:this.cid}),d.action==="resizing"?Iv("node:resize:mouseup",t,r):d.action==="rotating"&&Iv("node:rotate:mouseup",t,r))}},{key:"startHandle",value:function(t){if(this.handle=t||null,this.$container.addClass("".concat(this.containerClassName,"-active")),t){this.$(t).addClass("".concat(this.containerClassName,"-active-handle"));var r=t.getAttribute("data-position");if(r){var d=oh.DIRECTIONS[oh.POSITIONS.indexOf(r)];this.$container.addClass("".concat(this.containerClassName,"-cursor-").concat(d))}}}},{key:"stopHandle",value:function(){if(this.$container.removeClass("".concat(this.containerClassName,"-active")),this.handle){this.$(this.handle).removeClass("".concat(this.containerClassName,"-active-handle"));var t=this.handle.getAttribute("data-position");if(t){var r=oh.DIRECTIONS[oh.POSITIONS.indexOf(t)];this.$container.removeClass("".concat(this.containerClassName,"-cursor-").concat(r))}this.handle=null}}},{key:"startAction",value:function(t){this.startHandle(t.target),this.graph.view.undelegateEvents(),this.delegateDocumentEvents(oh.documentEvents,t.data)}},{key:"stopAction",value:function(t){this.stopHandle(),this.undelegateDocumentEvents(),this.graph.view.delegateEvents();var r=this.graph.findViewByCell(this.node),d=this.getEventData(t);r&&(r.removeClass("node-".concat(d.action)),d.action==="resizing"&&d.resized?Iv("node:resized",t,r):d.action==="rotating"&&d.rotated&&Iv("node:rotated",t,r))}}]),c}(_2),oh;(function(u){u.NODE_CLS="has-widget-transform",u.DIRECTIONS=["nw","n","ne","e","se","s","sw","w"],u.POSITIONS=["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"],u.documentEvents={mousemove:"onMouseMove",touchmove:"onMouseMove",mouseup:"onMouseUp",touchend:"onMouseUp"},u.defaultOptions={minWidth:0,minHeight:0,maxWidth:Infinity,maxHeight:Infinity,rotateGrid:15,rotatable:!0,preserveAspectRatio:!1,orthogonalResizing:!0,restrictedResizing:!1,autoScrollOnResizing:!0,allowReverse:!0}})(oh||(oh={}));var Vte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Jm;(function(u){function i(c,o,t){var r={};return Object.keys(t||{}).forEach(function(d){var v=t[d];r[d]=typeof v=="function"?v.call(c,o):v}),r}u.parseOptionGroup=i})(Jm||(Jm={})),function(u){function i(c){var o=c.grid,t=c.panning,r=c.selecting,d=c.embedding,v=c.snapline,g=c.resizing,b=c.rotating,P=c.knob,I=c.clipboard,V=c.history,K=c.scroller,ae=c.minimap,ue=c.keyboard,ve=c.mousewheel,Oe=Vte(c,["grid","panning","selecting","embedding","snapline","resizing","rotating","knob","clipboard","history","scroller","minimap","keyboard","mousewheel"]),ke=c.container;if(ke!=null)Oe.width==null&&(Oe.width=ke.clientWidth),Oe.height==null&&(Oe.height=ke.clientHeight);else throw new Error("Ensure the container of the graph is specified and valid");var Ie=m.merge({},u.defaults,Oe),Ye={size:10,visible:!1};typeof o=="number"?Ie.grid={size:o,visible:!1}:typeof o=="boolean"?Ie.grid=Object.assign(Object.assign({},Ye),{visible:o}):Ie.grid=Object.assign(Object.assign({},Ye),o);var Ze=["panning","selecting","embedding","snapline","resizing","rotating","knob","clipboard","history","scroller","minimap","keyboard","mousewheel"];return Ze.forEach(function(et){var yt=c[et];typeof yt=="boolean"?Ie[et].enabled=yt:Ie[et]=Object.assign(Object.assign({},Ie[et]),yt)}),Ie.background&&Ie.scroller.enabled&&Ie.scroller.background==null&&(Ie.scroller.background=Ie.background,delete Ie.background),Ie}u.get=i}(Jm||(Jm={})),function(u){u.defaults={x:0,y:0,grid:{size:10,visible:!1},scaling:{min:.01,max:16},background:!1,highlighting:{default:{name:"stroke",args:{padding:3}},nodeAvailable:{name:"className",args:{className:Cv.prefix("available-node")}},magnetAvailable:{name:"className",args:{className:Cv.prefix("available-magnet")}}},connecting:{snap:!1,multi:!0,dangling:!0,allowLoop:!0,allowNode:!0,allowEdge:!1,allowPort:!0,highlight:!1,anchor:"center",edgeAnchor:"ratio",connectionPoint:"boundary",strategy:null,router:"normal",connector:"normal",validateConnection:function(c){var o=c.type,t=c.sourceView,r=c.targetView,d=o==="target"?r:t;return d!=null},createEdge:function(){return new hL}},transforming:{clearAll:!0,clearOnBlankMouseDown:!0},resizing:{enabled:!1,minWidth:0,minHeight:0,maxWidth:Number.MAX_SAFE_INTEGER,maxHeight:Number.MAX_SAFE_INTEGER,orthogonal:!0,restricted:!1,autoScroll:!0,preserveAspectRatio:!1,allowReverse:!0},rotating:{enabled:!1,grid:15},translating:{restrict:!1},knob:{enabled:!1,clearAll:!0,clearOnBlankMouseDown:!0},embedding:{enabled:!1,findParent:"bbox",frontOnly:!0,validate:function(){return!0}},selecting:{enabled:!1,rubberband:!1,rubberNode:!0,rubberEdge:!1,pointerEvents:"auto",multiple:!0,multipleSelectionModifiers:["ctrl","meta"],movable:!0,strict:!1,useCellGeometry:!1,selectCellOnMoved:!1,selectNodeOnMoved:!1,selectEdgeOnMoved:!1,content:null,handles:null},panning:{enabled:!1,eventTypes:["leftMouseDown"]},snapline:{enabled:!1},clipboard:{enabled:!1},history:{enabled:!1},scroller:{enabled:!1},keyboard:{enabled:!1},mousewheel:{enabled:!1,factor:1.2,zoomAtMousePosition:!0},async:!1,frozen:!1,sorting:"exact",moveThreshold:0,clickThreshold:0,magnetThreshold:0,preventDefaultDblClick:!0,preventDefaultMouseDown:!1,preventDefaultContextMenu:!0,preventDefaultBlankAction:!0,interacting:{edgeLabelMovable:!1},guard:function(){return!1}}}(Jm||(Jm={}));var fV=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Mj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"cid",get:function(){return this.graph.view.cid}},{key:"svg",get:function(){return this.view.svg}},{key:"defs",get:function(){return this.view.defs}},{key:"isDefined",value:function(t){return this.svg.getElementById(t)!=null}},{key:"filter",value:function(t){var r=t.id,d=t.name;if(r||(r="filter-".concat(d,"-").concat(this.cid,"-").concat(O.hashcode(JSON.stringify(t)))),!this.isDefined(r)){var v=K1.registry.get(d);if(v==null)return K1.registry.onNotFound(d);var g=v(t.args||{}),b=Object.assign(Object.assign({x:-1,y:-1,width:3,height:3,filterUnits:"objectBoundingBox"},t.attrs),{id:r});Kd.create(Cf.sanitize(g),b).appendTo(this.defs)}return r}},{key:"gradient",value:function(t){var r=t.id,d=t.type;if(r||(r="gradient-".concat(d,"-").concat(this.cid,"-").concat(O.hashcode(JSON.stringify(t)))),!this.isDefined(r)){var v=t.stops,g=v.map(function(I){var V=I.opacity!=null&&Number.isFinite(I.opacity)?I.opacity:1;return'<stop offset="'.concat(I.offset,'" stop-color="').concat(I.color,'" stop-opacity="').concat(V,'"/>')}),b="<".concat(d,">").concat(g.join(""),"</").concat(d,">"),P=Object.assign({id:r},t.attrs);Kd.create(b,P).appendTo(this.defs)}return r}},{key:"marker",value:function(t){var r=t.id,d=t.refX,v=t.refY,g=t.markerUnits,b=t.markerOrient,P=t.tagName,I=t.children,V=fV(t,["id","refX","refY","markerUnits","markerOrient","tagName","children"]),K=r;if(K||(K="marker-".concat(this.cid,"-").concat(O.hashcode(JSON.stringify(t)))),!this.isDefined(K)){P!=="path"&&delete V.d;var ae=Kd.create("marker",{refX:d,refY:v,id:K,overflow:"visible",orient:b!=null?b:"auto",markerUnits:g||"userSpaceOnUse"},I?I.map(function(ue){var ve=ue.tagName,Oe=fV(ue,["tagName"]);return Kd.create("".concat(ve)||"path",S.kebablizeAttrs(Object.assign(Object.assign({},V),Oe)))}):[Kd.create(P||"path",S.kebablizeAttrs(V))]);this.defs.appendChild(ae.node)}return K}},{key:"remove",value:function(t){var r=this.svg.getElementById(t);r&&r.parentNode&&r.parentNode.removeChild(r)}}]),c}(rp),zte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Hte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},OL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"elem",get:function(){return this.view.grid}},{key:"grid",get:function(){return this.options.grid}},{key:"init",value:function(){this.startListening(),this.draw(this.grid)}},{key:"startListening",value:function(){this.graph.on("scale",this.update,this),this.graph.on("translate",this.update,this)}},{key:"stopListening",value:function(){this.graph.off("scale",this.update,this),this.graph.off("translate",this.update,this)}},{key:"setVisible",value:function(t){this.grid.visible!==t&&(this.grid.visible=t,this.update())}},{key:"getGridSize",value:function(){return this.grid.size}},{key:"setGridSize",value:function(t){this.grid.size=Math.max(t,1),this.update()}},{key:"show",value:function(){this.setVisible(!0),this.update()}},{key:"hide",value:function(){this.setVisible(!1),this.update()}},{key:"clear",value:function(){this.elem.style.backgroundImage=""}},{key:"draw",value:function(t){this.clear(),this.instance=null,Object.assign(this.grid,t),this.patterns=this.resolveGrid(t),this.update()}},{key:"update",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=this.grid.size;if(r<=1||!this.grid.visible)return this.clear();var d=this.graph.matrix(),v=this.getInstance(),g=Array.isArray(t)?t:[t];this.patterns.forEach(function(I,V){var K="pattern_".concat(V),ae=d.a||1,ue=d.d||1,ve=I.update,Oe=I.markup,ke=Hte(I,["update","markup"]),Ie=Object.assign(Object.assign(Object.assign({},ke),g[V]),{sx:ae,sy:ue,ox:d.e||0,oy:d.f||0,width:r*ae,height:r*ue});v.has(K)||v.add(K,Kd.create("pattern",{id:K,patternUnits:"userSpaceOnUse"},Kd.createVectors(Oe)).node);var Ye=v.get(K);typeof ve=="function"&&ve(Ye.childNodes[0],Ie);var Ze=Ie.ox%Ie.width;Ze<0&&(Ze+=Ie.width);var et=Ie.oy%Ie.height;et<0&&(et+=Ie.height),S.attr(Ye,{x:Ze,y:et,width:Ie.width,height:Ie.height})});var b=new XMLSerializer().serializeToString(v.root),P="url(data:image/svg+xml;base64,".concat(btoa(b),")");this.elem.style.backgroundImage=P}},{key:"getInstance",value:function(){return this.instance||(this.instance=new X0),this.instance}},{key:"resolveGrid",value:function(t){if(!t)return[];var r=t.type;if(r==null)return[Object.assign(Object.assign({},X0.presets.dot),t.args)];var d=X0.registry.get(r);if(d){var v=t.args||[];return Array.isArray(v)||(v=[v]),Array.isArray(d)?d.map(function(g,b){return Object.assign(Object.assign({},g),v[b])}):[Object.assign(Object.assign({},d),v[0])]}return X0.registry.onNotFound(r)}},{key:"dispose",value:function(){this.stopListening(),this.clear()}}]),c}(rp);zte([rp.dispose()],OL.prototype,"dispose",null);var pV=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"getClientMatrix",value:function(){return S.createSVGMatrix(this.view.stage.getScreenCTM())}},{key:"getClientOffset",value:function(){var t=this.view.svg.getBoundingClientRect();return new $i(t.left,t.top)}},{key:"getPageOffset",value:function(){return this.getClientOffset().translate(window.scrollX,window.scrollY)}},{key:"snapToGrid",value:function(t,r){var d=typeof t=="number"?this.clientToLocalPoint(t,r):this.clientToLocalPoint(t.x,t.y);return d.snapToGrid(this.graph.getGridSize())}},{key:"localToGraphPoint",value:function(t,r){var d=$i.create(t,r);return S.transformPoint(d,this.graph.matrix())}},{key:"localToClientPoint",value:function(t,r){var d=$i.create(t,r);return S.transformPoint(d,this.getClientMatrix())}},{key:"localToPagePoint",value:function(t,r){var d=typeof t=="number"?this.localToGraphPoint(t,r):this.localToGraphPoint(t);return d.translate(this.getPageOffset())}},{key:"localToGraphRect",value:function(t,r,d,v){var g=xl.create(t,r,d,v);return S.transformRectangle(g,this.graph.matrix())}},{key:"localToClientRect",value:function(t,r,d,v){var g=xl.create(t,r,d,v);return S.transformRectangle(g,this.getClientMatrix())}},{key:"localToPageRect",value:function(t,r,d,v){var g=typeof t=="number"?this.localToGraphRect(t,r,d,v):this.localToGraphRect(t);return g.translate(this.getPageOffset())}},{key:"graphToLocalPoint",value:function(t,r){var d=$i.create(t,r);return S.transformPoint(d,this.graph.matrix().inverse())}},{key:"clientToLocalPoint",value:function(t,r){var d=$i.create(t,r);return S.transformPoint(d,this.getClientMatrix().inverse())}},{key:"clientToGraphPoint",value:function(t,r){var d=$i.create(t,r);return S.transformPoint(d,this.graph.matrix().multiply(this.getClientMatrix().inverse()))}},{key:"pageToLocalPoint",value:function(t,r){var d=$i.create(t,r),v=d.diff(this.getPageOffset());return this.graphToLocalPoint(v)}},{key:"graphToLocalRect",value:function(t,r,d,v){var g=xl.create(t,r,d,v);return S.transformRectangle(g,this.graph.matrix().inverse())}},{key:"clientToLocalRect",value:function(t,r,d,v){var g=xl.create(t,r,d,v);return S.transformRectangle(g,this.getClientMatrix().inverse())}},{key:"clientToGraphRect",value:function(t,r,d,v){var g=xl.create(t,r,d,v);return S.transformRectangle(g,this.graph.matrix().multiply(this.getClientMatrix().inverse()))}},{key:"pageToLocalRect",value:function(t,r,d,v){var g=xl.create(t,r,d,v),b=this.getPageOffset();return g.x-=b.x,g.y-=b.y,this.graphToLocalRect(g)}}]),c}(rp),Gte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Pj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.widget=o.graph.hook.createSnapline(),o}return Object(Pi.a)(c,[{key:"dispose",value:function(){this.widget.dispose()}}]),c}(rp);Gte([rp.dispose()],Pj.prototype,"dispose",null);var J_;(function(u){function i(t){var r=[],d=[];return Array.isArray(t)?r.push.apply(r,Object(Bs.a)(t)):t.split("|").forEach(function(v){v.indexOf("&")===-1?r.push(v):d.push.apply(d,Object(Bs.a)(v.split("&")))}),{or:r,and:d}}u.parse=i;function c(t,r){if(t!=null&&r!=null){var d=i(t),v=i(r),g=d.or.sort(),b=v.or.sort(),P=d.and.sort(),I=v.and.sort(),V=function(ae,ue){return ae.length===ue.length&&(ae.length===0||ae.every(function(ve,Oe){return ve===ue[Oe]}))};return V(g,b)&&V(P,I)}return t==null&&r==null}u.equals=c;function o(t,r,d){if(r==null||Array.isArray(r)&&r.length===0)return d?t.altKey!==!0&&t.ctrlKey!==!0&&t.metaKey!==!0&&t.shiftKey!==!0:!0;var v=i(r),g=v.or,b=v.and,P=function(V){var K="".concat(V.toLowerCase(),"Key");return t[K]===!0};return g.some(function(I){return P(I)})&&b.every(function(I){return P(I)})}u.isMatch=o})(J_||(J_={}));var $te=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},CL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"widgetOptions",get:function(){return this.options.scroller}},{key:"pannable",get:function(){return this.widgetOptions?typeof this.widgetOptions.pannable=="object"?this.widgetOptions.pannable.enabled:!!this.widgetOptions.pannable:!1}},{key:"init",value:function(){this.widget=this.graph.hook.createScroller(),this.startListening(),this.updateClassName(),this.widget&&this.widget.center()}},{key:"startListening",value:function(){var t=[],r=this.widgetOptions.pannable;typeof r=="object"?t=r.eventTypes||[]:t=["leftMouseDown"],t.includes("leftMouseDown")&&(this.graph.on("blank:mousedown",this.preparePanning,this),this.graph.on("node:unhandled:mousedown",this.preparePanning,this),this.graph.on("edge:unhandled:mousedown",this.preparePanning,this)),t.includes("rightMouseDown")&&(this.onRightMouseDown=this.onRightMouseDown.bind(this),this.view.$(this.widget.container).on("mousedown",this.onRightMouseDown))}},{key:"stopListening",value:function(){var t=[],r=this.widgetOptions.pannable;typeof r=="object"?t=r.eventTypes||[]:t=["leftMouseDown"],t.includes("leftMouseDown")&&(this.graph.off("blank:mousedown",this.preparePanning,this),this.graph.off("node:unhandled:mousedown",this.preparePanning,this),this.graph.off("edge:unhandled:mousedown",this.preparePanning,this)),t.includes("rightMouseDown")&&this.view.$(this.widget.container).off("mousedown",this.onRightMouseDown)}},{key:"onRightMouseDown",value:function(t){var r=this;t.button===2&&this.allowPanning(t,!0)&&this.widget&&(this.updateClassName(!0),this.widget.startPanning(t),this.widget.once("pan:stop",function(){return r.updateClassName(!1)}))}},{key:"preparePanning",value:function(t){var r=this,d=t.e;this.widget&&(this.allowPanning(d,!0)||this.allowPanning(d)&&!this.graph.selection.allowRubberband(d,!0))&&(this.updateClassName(!0),this.widget.startPanning(d),this.widget.once("pan:stop",function(){return r.updateClassName(!1)}))}},{key:"allowPanning",value:function(t,r){return this.widget&&this.pannable&&J_.isMatch(t,this.widgetOptions.modifiers,r)&&this.graph.hook.allowPanning(t)}},{key:"updateClassName",value:function(t){if(this.widget!=null){var r=this.widget.container,d=this.view.prefixClassName("graph-scroller-pannable");this.pannable?(S.addClass(r,d),r.dataset.panning=(!!t).toString()):S.removeClass(r,d)}}},{key:"enablePanning",value:function(){this.pannable||(this.widgetOptions.pannable=!0,this.updateClassName())}},{key:"disablePanning",value:function(){this.pannable&&(this.widgetOptions.pannable=!1,this.updateClassName())}},{key:"lock",value:function(){this.widget&&this.widget.lock()}},{key:"unlock",value:function(){this.widget&&this.widget.unlock()}},{key:"update",value:function(){this.widget&&this.widget.update()}},{key:"enableAutoResize",value:function(){this.widget&&this.widget.enableAutoResize()}},{key:"disableAutoResize",value:function(){this.widget&&this.widget.disableAutoResize()}},{key:"resize",value:function(t,r){this.widget&&this.widget.resize(t,r)}},{key:"dispose",value:function(){this.widget&&this.widget.dispose(),this.stopListening()}}]),c}(rp);$te([rp.dispose()],CL.prototype,"dispose",null);var vV=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Wte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},Rj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"commonOptions",get:function(){var t=this.instanceOptions,r=t.enabled,d=Wte(t,["enabled"]);return d}},{key:"instanceOptions",get:function(){return this.options.clipboard}},{key:"cells",get:function(){return this.widget.cells}},{key:"disabled",get:function(){return this.instanceOptions.enabled!==!0}},{key:"init",value:function(){this.widget=this.graph.hook.createClipboard(),this.widget.deserialize(this.instanceOptions)}},{key:"enable",value:function(){this.disabled&&(this.instanceOptions.enabled=!0)}},{key:"disable",value:function(){this.disabled||(this.instanceOptions.enabled=!1)}},{key:"copy",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.disabled||(this.widget.copy(t,this.graph,Object.assign(Object.assign({},this.commonOptions),r)),this.graph.trigger("clipboard:changed",{cells:t}))}},{key:"cut",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.disabled||(this.widget.cut(t,this.graph,Object.assign(Object.assign({},this.commonOptions),r)),this.graph.trigger("clipboard:changed",{cells:t}))}},{key:"paste",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.graph;return this.disabled?[]:this.widget.paste(r,Object.assign(Object.assign({},this.commonOptions),t))}},{key:"clean",value:function(t){(!this.disabled||t)&&(this.widget.clean(),this.graph.trigger("clipboard:changed",{cells:[]}))}},{key:"isEmpty",value:function(){return this.widget.isEmpty()}},{key:"dispose",value:function(){this.clean(!0)}}]),c}(rp);vV([rp.dispose()],Rj.prototype,"dispose",null);var Kte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Dj=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.highlights={},o}return Object(Pi.a)(c,[{key:"init",value:function(){this.startListening()}},{key:"startListening",value:function(){this.graph.on("cell:highlight",this.onCellHighlight,this),this.graph.on("cell:unhighlight",this.onCellUnhighlight,this)}},{key:"stopListening",value:function(){this.graph.off("cell:highlight",this.onCellHighlight,this),this.graph.off("cell:unhighlight",this.onCellUnhighlight,this)}},{key:"onCellHighlight",value:function(t){var r=t.view,d=t.magnet,v=t.options,g=v===void 0?{}:v,b=this.resolveHighlighter(g);if(!!b){var P=this.getHighlighterId(d,b);if(!this.highlights[P]){var I=b.highlighter;I.highlight(r,d,Object.assign({},b.args)),this.highlights[P]={cellView:r,magnet:d,highlighter:I,args:b.args}}}}},{key:"onCellUnhighlight",value:function(t){var r=t.magnet,d=t.options,v=d===void 0?{}:d,g=this.resolveHighlighter(v);if(!!g){var b=this.getHighlighterId(r,g);this.unhighlight(b)}}},{key:"resolveHighlighter",value:function(t){var r=this.options,d=t.highlighter;if(d==null){var v=t.type;d=v&&r.highlighting[v]||r.highlighting.default}if(d==null)return null;var g=typeof d=="string"?{name:d}:d,b=g.name,P=G_.registry.get(b);return P==null?G_.registry.onNotFound(b):(G_.check(b,P),{name:b,highlighter:P,args:g.args||{}})}},{key:"getHighlighterId",value:function(t,r){return S.ensureId(t),r.name+t.id+JSON.stringify(r.args)}},{key:"unhighlight",value:function(t){var r=this.highlights[t];r&&(r.highlighter.unhighlight(r.cellView,r.magnet,r.args),delete this.highlights[t])}},{key:"dispose",value:function(){var t=this;Object.keys(this.highlights).forEach(function(r){return t.unhighlight(r)}),this.stopListening()}}]),c}(rp);Kte([Dj.dispose()],Dj.prototype,"dispose",null);var Yte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Ij=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.widgets=new Map,o}return Object(Pi.a)(c,[{key:"container",get:function(){return this.graph.view.container}},{key:"viewport",get:function(){return this.graph.view.viewport}},{key:"isSelectionEnabled",get:function(){return this.options.selecting.enabled===!0}},{key:"init",value:function(){this.startListening(),this.resize()}},{key:"startListening",value:function(){this.graph.on("node:mouseup",this.onNodeMouseUp,this),this.graph.on("node:selected",this.onNodeSelected,this),this.graph.on("node:unselected",this.onNodeUnSelected,this)}},{key:"stopListening",value:function(){this.graph.off("node:mouseup",this.onNodeMouseUp,this),this.graph.off("node:selected",this.onNodeSelected,this),this.graph.off("node:unselected",this.onNodeUnSelected,this)}},{key:"onNodeMouseUp",value:function(t){var r=t.node;if(!this.isSelectionEnabled){var d=this.graph.hook.createTransform(r,{clearAll:!0});d&&this.widgets.set(r,d)}}},{key:"onNodeSelected",value:function(t){var r=t.node;if(this.isSelectionEnabled){var d=this.graph.hook.createTransform(r,{clearAll:!1});d&&this.widgets.set(r,d)}}},{key:"onNodeUnSelected",value:function(t){var r=t.node;if(this.isSelectionEnabled){var d=this.widgets.get(r);d&&d.dispose(),this.widgets.delete(r)}}},{key:"getMatrix",value:function(){var t=this.viewport.getAttribute("transform");return t!==this.viewportTransformString&&(this.viewportMatrix=this.viewport.getCTM(),this.viewportTransformString=t),S.createSVGMatrix(this.viewportMatrix)}},{key:"setMatrix",value:function(t){var r=S.createSVGMatrix(t),d=S.matrixToTransformString(r);this.viewport.setAttribute("transform",d),this.viewportMatrix=r,this.viewportTransformString=d}},{key:"resize",value:function(t,r){var d=t===void 0?this.options.width:t,v=r===void 0?this.options.height:r;this.options.width=d,this.options.height=v,typeof d=="number"&&(d=Math.round(d)),typeof v=="number"&&(v=Math.round(v)),this.container.style.width=d==null?"":"".concat(d,"px"),this.container.style.height=v==null?"":"".concat(v,"px");var g=this.getComputedSize();return this.graph.trigger("resize",Object.assign({},g)),this}},{key:"getComputedSize",value:function(){var t=this.options.width,r=this.options.height;return C.isNumber(t)||(t=this.container.clientWidth),C.isNumber(r)||(r=this.container.clientHeight),{width:t,height:r}}},{key:"getScale",value:function(){return S.matrixToScale(this.getMatrix())}},{key:"scale",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};if(t=this.clampScale(t),r=this.clampScale(r),d||v){var b=this.getTranslation(),P=b.tx-d*(t-1),I=b.ty-v*(r-1);(P!==b.tx||I!==b.ty)&&this.translate(P,I)}var V=this.getMatrix();return V.a=t,V.d=r,this.setMatrix(V),this.graph.trigger("scale",Object.assign({sx:t,sy:r,ox:d,oy:v},g)),this}},{key:"clampScale",value:function(t){var r=this.graph.options.scaling;return C.clamp(t,r.min||.01,r.max||16)}},{key:"getZoom",value:function(){return this.getScale().sx}},{key:"zoom",value:function(t,r){r=r||{};var d=t,v=t,g=this.getScale(),b=this.getComputedSize(),P=b.width/2,I=b.height/2;if(r.absolute||(d+=g.sx,v+=g.sy),r.scaleGrid&&(d=Math.round(d/r.scaleGrid)*r.scaleGrid,v=Math.round(v/r.scaleGrid)*r.scaleGrid),r.maxScale&&(d=Math.min(r.maxScale,d),v=Math.min(r.maxScale,v)),r.minScale&&(d=Math.max(r.minScale,d),v=Math.max(r.minScale,v)),r.center&&(P=r.center.x,I=r.center.y),d=this.clampScale(d),v=this.clampScale(v),P||I){var V=this.getTranslation(),K=P-(P-V.tx)*(d/g.sx),ae=I-(I-V.ty)*(v/g.sy);(K!==V.tx||ae!==V.ty)&&this.translate(K,ae,{ui:r.ui})}return this.scale(d,v,0,0,{ui:r.ui}),this}},{key:"getRotation",value:function(){return S.matrixToRotation(this.getMatrix())}},{key:"rotate",value:function(t,r,d){if(r==null||d==null){var v=S.getBBox(this.graph.view.stage);r=v.width/2,d=v.height/2}var g=this.getMatrix().translate(r,d).rotate(t).translate(-r,-d);return this.setMatrix(g),this}},{key:"getTranslation",value:function(){return S.matrixToTranslation(this.getMatrix())}},{key:"translate",value:function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=this.getMatrix();v.e=t||0,v.f=r||0,this.setMatrix(v);var g=this.getTranslation();return this.options.x=g.tx,this.options.y=g.ty,this.graph.trigger("translate",Object.assign(Object.assign({},g),d)),this}},{key:"setOrigin",value:function(t,r){return this.translate(t||0,r||0)}},{key:"fitToContent",value:function(t,r,d,v){if(typeof t=="object"){var g=t;t=g.gridWidth||1,r=g.gridHeight||1,d=g.padding||0,v=g}else t=t||1,r=r||1,d=d||0,v==null&&(v={});var b=C.normalizeSides(d),P=v.border||0,I=v.contentArea?xl.create(v.contentArea):this.getContentArea(v);P>0&&I.inflate(P);var V=this.getScale(),K=this.getTranslation(),ae=V.sx,ue=V.sy;I.x*=ae,I.y*=ue,I.width*=ae,I.height*=ue;var ve=Math.max(Math.ceil((I.width+I.x)/t),1)*t,Oe=Math.max(Math.ceil((I.height+I.y)/r),1)*r,ke=0,Ie=0;(v.allowNewOrigin==="negative"&&I.x<0||v.allowNewOrigin==="positive"&&I.x>=0||v.allowNewOrigin==="any")&&(ke=Math.ceil(-I.x/t)*t,ke+=b.left,ve+=ke),(v.allowNewOrigin==="negative"&&I.y<0||v.allowNewOrigin==="positive"&&I.y>=0||v.allowNewOrigin==="any")&&(Ie=Math.ceil(-I.y/r)*r,Ie+=b.top,Oe+=Ie),ve+=b.right,Oe+=b.bottom,ve=Math.max(ve,v.minWidth||0),Oe=Math.max(Oe,v.minHeight||0),ve=Math.min(ve,v.maxWidth||Number.MAX_SAFE_INTEGER),Oe=Math.min(Oe,v.maxHeight||Number.MAX_SAFE_INTEGER);var Ye=this.getComputedSize(),Ze=ve!==Ye.width||Oe!==Ye.height,et=ke!==K.tx||Ie!==K.ty;return et&&this.translate(ke,Ie),Ze&&this.resize(ve,Oe),new xl(-ke/ae,-Ie/ue,ve/ae,Oe/ue)}},{key:"scaleContentToFit",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.scaleContentToFitImpl(t)}},{key:"scaleContentToFitImpl",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d,v;if(t.contentArea){var g=t.contentArea;d=this.graph.localToGraph(g),v=$i.create(g)}else d=this.getContentBBox(t),v=this.graph.graphToLocal(d);if(!(!d.width||!d.height)){var b=C.normalizeSides(t.padding),P=t.minScale||0,I=t.maxScale||Number.MAX_SAFE_INTEGER,V=t.minScaleX||P,K=t.maxScaleX||I,ae=t.minScaleY||P,ue=t.maxScaleY||I,ve;if(t.viewportArea)ve=t.viewportArea;else{var Oe=this.getComputedSize(),ke=this.getTranslation();ve={x:ke.tx,y:ke.ty,width:Oe.width,height:Oe.height}}ve=xl.create(ve).moveAndExpand({x:b.left,y:b.top,width:-b.left-b.right,height:-b.top-b.bottom});var Ie=this.getScale(),Ye=ve.width/d.width*Ie.sx,Ze=ve.height/d.height*Ie.sy;t.preserveAspectRatio!==!1&&(Ye=Ze=Math.min(Ye,Ze));var et=t.scaleGrid;if(et&&(Ye=et*Math.floor(Ye/et),Ze=et*Math.floor(Ze/et)),Ye=C.clamp(Ye,V,K),Ze=C.clamp(Ze,ae,ue),this.scale(Ye,Ze),r){var yt=this.options,jt=ve.x-v.x*Ye-yt.x,Ft=ve.y-v.y*Ze-yt.y;this.translate(jt,Ft)}}}},{key:"getContentArea",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t.useCellGeometry?this.model.getAllCellsBBox()||new xl:S.getBBox(this.graph.view.stage)}},{key:"getContentBBox",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.graph.localToGraph(this.getContentArea(t))}},{key:"getGraphArea",value:function(){var t=xl.fromSize(this.getComputedSize());return this.graph.graphToLocal(t)}},{key:"zoomToRect",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=xl.create(t),v=this.graph;r.contentArea=d,r.viewportArea==null&&(r.viewportArea={x:v.options.x,y:v.options.y,width:this.options.width,height:this.options.height}),this.scaleContentToFitImpl(r,!1);var g=d.getCenter();return this.centerPoint(g.x,g.y),this}},{key:"zoomToFit",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.zoomToRect(this.getContentArea(t),t)}},{key:"centerPoint",value:function(t,r){var d=this.getComputedSize(),v=this.getScale(),g=this.getTranslation(),b=d.width/2,P=d.height/2;t=typeof t=="number"?t:b,r=typeof r=="number"?r:P,t=b-t*v.sx,r=P-r*v.sy,(g.tx!==t||g.ty!==r)&&this.translate(t,r)}},{key:"centerContent",value:function(t){var r=this.graph.getContentArea(t),d=r.getCenter();this.centerPoint(d.x,d.y)}},{key:"centerCell",value:function(t){return this.positionCell(t,"center")}},{key:"positionPoint",value:function(t,r,d){var v=this.getComputedSize();r=C.normalizePercentage(r,Math.max(0,v.width)),r<0&&(r=v.width+r),d=C.normalizePercentage(d,Math.max(0,v.height)),d<0&&(d=v.height+d);var g=this.getTranslation(),b=this.getScale(),P=r-t.x*b.sx,I=d-t.y*b.sy;(g.tx!==P||g.ty!==I)&&this.translate(P,I)}},{key:"positionRect",value:function(t,r){var d=xl.create(t);switch(r){case"center":return this.positionPoint(d.getCenter(),"50%","50%");case"top":return this.positionPoint(d.getTopCenter(),"50%",0);case"top-right":return this.positionPoint(d.getTopRight(),"100%",0);case"right":return this.positionPoint(d.getRightMiddle(),"100%","50%");case"bottom-right":return this.positionPoint(d.getBottomRight(),"100%","100%");case"bottom":return this.positionPoint(d.getBottomCenter(),"50%","100%");case"bottom-left":return this.positionPoint(d.getBottomLeft(),0,"100%");case"left":return this.positionPoint(d.getLeftMiddle(),0,"50%");case"top-left":return this.positionPoint(d.getTopLeft(),0,0);default:return this}}},{key:"positionCell",value:function(t,r){var d=t.getBBox();return this.positionRect(d,r)}},{key:"positionContent",value:function(t,r){var d=this.graph.getContentArea(r);return this.positionRect(d,t)}},{key:"dispose",value:function(){this.widgets.forEach(function(t){return t.dispose()}),this.widgets.clear(),this.stopListening()}}]),c}(rp);Yte([Ij.dispose()],Ij.prototype,"dispose",null);var hV=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},EL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.movedMap=new WeakMap,o.unselectMap=new WeakMap,o}return Object(Pi.a)(c,[{key:"widgetOptions",get:function(){return this.options.selecting}},{key:"rubberbandDisabled",get:function(){return this.widgetOptions.enabled!==!0||this.widgetOptions.rubberband!==!0}},{key:"disabled",get:function(){return this.widgetOptions.enabled!==!0}},{key:"length",get:function(){return this.widget.length}},{key:"cells",get:function(){return this.widget.cells}},{key:"init",value:function(){this.widget=this.graph.hook.createSelection(),this.startListening()}},{key:"startListening",value:function(){this.graph.on("blank:mousedown",this.onBlankMouseDown,this),this.graph.on("blank:click",this.onBlankClick,this),this.graph.on("cell:mousemove",this.onCellMouseMove,this),this.graph.on("cell:mouseup",this.onCellMouseUp,this),this.widget.on("box:mousedown",this.onBoxMouseDown,this)}},{key:"stopListening",value:function(){this.graph.off("blank:mousedown",this.onBlankMouseDown,this),this.graph.off("blank:click",this.onBlankClick,this),this.graph.off("cell:mousemove",this.onCellMouseMove,this),this.graph.off("cell:mouseup",this.onCellMouseUp,this),this.widget.off("box:mousedown",this.onBoxMouseDown,this)}},{key:"onBlankMouseDown",value:function(t){var r=t.e;(this.allowRubberband(r,!0)||this.allowRubberband(r)&&!this.graph.scroller.allowPanning(r,!0)&&!this.graph.panning.allowPanning(r,!0))&&this.startRubberband(r)}},{key:"onBlankClick",value:function(){this.clean()}},{key:"allowRubberband",value:function(t,r){return!this.rubberbandDisabled&&J_.isMatch(t,this.widgetOptions.modifiers,r)&&this.graph.hook.allowRubberband(t)}},{key:"allowMultipleSelection",value:function(t){return this.isMultiple()&&J_.isMatch(t,this.widgetOptions.multipleSelectionModifiers)}},{key:"onCellMouseMove",value:function(t){var r=t.cell;this.movedMap.set(r,!0)}},{key:"onCellMouseUp",value:function(t){var r=t.e,d=t.cell,v=this.widgetOptions,g=this.disabled;!g&&this.movedMap.has(d)&&(g=v.selectCellOnMoved===!1,g||(g=v.selectNodeOnMoved===!1&&d.isNode()),g||(g=v.selectEdgeOnMoved===!1&&d.isEdge())),g||(this.allowMultipleSelection(r)?this.unselectMap.has(d)?this.unselectMap.delete(d):this.isSelected(d)?this.unselect(d):this.select(d):this.reset(d)),this.movedMap.delete(d)}},{key:"onBoxMouseDown",value:function(t){var r=t.e,d=t.cell;this.disabled||this.allowMultipleSelection(r)&&(this.unselect(d),this.unselectMap.set(d,!0))}},{key:"isEmpty",value:function(){return this.length<=0}},{key:"isSelected",value:function(t){return this.widget.isSelected(t)}},{key:"getCells",value:function(t){var r=this;return(Array.isArray(t)?t:[t]).map(function(d){return typeof d=="string"?r.graph.getCellById(d):d}).filter(function(d){return d!=null})}},{key:"select",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=this.getCells(t);return d.length&&(this.isMultiple()?this.widget.select(d,r):this.reset(d.slice(0,1),r)),this}},{key:"unselect",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.widget.unselect(this.getCells(t),r),this}},{key:"reset",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.widget.reset(t?this.getCells(t):[],r),this}},{key:"clean",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.widget.clean(t),this}},{key:"enable",value:function(){return this.disabled&&(this.widgetOptions.enabled=!0),this}},{key:"disable",value:function(){return this.disabled||(this.widgetOptions.enabled=!1),this}},{key:"startRubberband",value:function(t){return this.rubberbandDisabled||this.widget.startSelecting(t),this}},{key:"enableRubberband",value:function(){return this.rubberbandDisabled&&(this.widgetOptions.rubberband=!0),this}},{key:"disableRubberband",value:function(){return this.rubberbandDisabled||(this.widgetOptions.rubberband=!1),this}},{key:"isMultiple",value:function(){return this.widgetOptions.multiple!==!1}},{key:"enableMultiple",value:function(){return this.widgetOptions.multiple=!0,this}},{key:"disableMultiple",value:function(){return this.widgetOptions.multiple=!1,this}},{key:"setModifiers",value:function(t){return this.widgetOptions.modifiers=t,this}},{key:"setContent",value:function(t){return this.widget.setContent(t),this}},{key:"setFilter",value:function(t){return this.widget.setFilter(t),this}},{key:"dispose",value:function(){this.stopListening(),this.widget.dispose()}}]),c}(rp);hV([rp.dispose()],EL.prototype,"dispose",null);var gV=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},Xte=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},yb=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.batchCommands=null,t.batchLevel=0,t.lastBatchIndex=-1,t.freezed=!1,t.handlers=[],t.graph=o.graph,t.model=o.graph.model,t.options=Qp.getOptions(o),t.validator=new c.Validator({history:Object(Fp.a)(t),cancelInvalid:t.options.cancelInvalid}),t.clean(),t.startListening(),t}return Object(Pi.a)(c,[{key:"disabled",get:function(){return this.options.enabled!==!0}},{key:"enable",value:function(){this.disabled&&(this.options.enabled=!0)}},{key:"disable",value:function(){this.disabled||(this.options.enabled=!1)}},{key:"undo",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.disabled){var r=this.undoStack.pop();r&&(this.revertCommand(r,t),this.redoStack.push(r),this.notify("undo",r,t))}return this}},{key:"redo",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.disabled){var r=this.redoStack.pop();r&&(this.applyCommand(r,t),this.undoStack.push(r),this.notify("redo",r,t))}return this}},{key:"cancel",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.disabled){var r=this.undoStack.pop();r&&(this.revertCommand(r,t),this.redoStack=[],this.notify("cancel",r,t))}return this}},{key:"clean",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.undoStack=[],this.redoStack=[],this.notify("clean",null,t),this}},{key:"canUndo",value:function(){return!this.disabled&&this.undoStack.length>0}},{key:"canRedo",value:function(){return!this.disabled&&this.redoStack.length>0}},{key:"validate",value:function(t){for(var r,d=arguments.length,v=new Array(d>1?d-1:0),g=1;g<d;g++)v[g-1]=arguments[g];return(r=this.validator).validate.apply(r,[t].concat(v)),this}},{key:"dispose",value:function(){this.validator.dispose(),this.clean(),this.stopListening()}},{key:"startListening",value:function(){var t=this;this.model.on("batch:start",this.initBatchCommand,this),this.model.on("batch:stop",this.storeBatchCommand,this),this.options.eventNames&&this.options.eventNames.forEach(function(r,d){t.handlers[d]=t.addCommand.bind(t,r),t.model.on(r,t.handlers[d])}),this.validator.on("invalid",function(r){return t.trigger("invalid",r)})}},{key:"stopListening",value:function(){var t=this;this.model.off("batch:start",this.initBatchCommand,this),this.model.off("batch:stop",this.storeBatchCommand,this),this.options.eventNames&&(this.options.eventNames.forEach(function(r,d){t.model.off(r,t.handlers[d])}),this.handlers.length=0),this.validator.off("invalid")}},{key:"createCommand",value:function(t){return{batch:t?t.batch:!1,data:{}}}},{key:"revertCommand",value:function(t,r){this.freezed=!0;for(var d=Array.isArray(t)?Qp.sortBatchCommands(t):[t],v=d.length-1;v>=0;v-=1){var g=d[v],b=Object.assign(Object.assign({},r),m.pick(g.options,this.options.revertOptionsList||[]));this.executeCommand(g,!0,b)}this.freezed=!1}},{key:"applyCommand",value:function(t,r){this.freezed=!0;for(var d=Array.isArray(t)?Qp.sortBatchCommands(t):[t],v=0;v<d.length;v+=1){var g=d[v],b=Object.assign(Object.assign({},r),m.pick(g.options,this.options.applyOptionsList||[]));this.executeCommand(g,!1,b)}this.freezed=!1}},{key:"executeCommand",value:function(t,r,d){var v=this.model,g=v.getCell(t.data.id),b=t.event;if(Qp.isAddEvent(b)&&r||Qp.isRemoveEvent(b)&&!r)g&&g.remove(d);else if(Qp.isAddEvent(b)&&!r||Qp.isRemoveEvent(b)&&r){var P=t.data;P.node?v.addNode(P.props,d):P.edge&&v.addEdge(P.props,d)}else if(Qp.isChangeEvent(b)){var I=t.data,V=I.key;if(V&&g){var K=r?I.prev[V]:I.next[V];g.prop(V,K,d)}}else{var ae=this.options.executeCommand;ae&&k.call(ae,this,t,r,d)}}},{key:"addCommand",value:function(t,r){if(!(this.freezed||this.disabled)){var d=r,v=d.options||{};if(!v.dryrun&&!(Qp.isAddEvent(t)&&this.options.ignoreAdd||Qp.isRemoveEvent(t)&&this.options.ignoreRemove||Qp.isChangeEvent(t)&&this.options.ignoreChange)){var g=this.options.beforeAddCommand;if(!(g!=null&&k.call(g,this,t,r)===!1)){t==="cell:change:*"&&(t="cell:change:".concat(d.key));var b=d.cell,P=Ag.isModel(b),I;if(this.batchCommands){I=this.batchCommands[Math.max(this.lastBatchIndex,0)];var V=P&&!I.modelChange||I.data.id!==b.id,K=I.event!==t;if(this.lastBatchIndex>=0&&(V||K)){var ae=this.batchCommands.findIndex(function(Ie){return(P&&Ie.modelChange||Ie.data.id===b.id)&&Ie.event===t});ae<0||Qp.isAddEvent(t)||Qp.isRemoveEvent(t)?I=this.createCommand({batch:!0}):(I=this.batchCommands[ae],this.batchCommands.splice(ae,1)),this.batchCommands.push(I),this.lastBatchIndex=this.batchCommands.length-1}}else I=this.createCommand({batch:!1});if(Qp.isAddEvent(t)||Qp.isRemoveEvent(t)){var ue=I.data;return I.event=t,I.options=v,ue.id=b.id,ue.props=m.cloneDeep(b.toJSON()),b.isEdge()?ue.edge=!0:b.isNode()&&(ue.node=!0),this.push(I,v)}if(Qp.isChangeEvent(t)){var ve=r.key,Oe=I.data;return(!I.batch||!I.event)&&(I.event=t,I.options=v,Oe.key=ve,Oe.prev==null&&(Oe.prev={}),Oe.prev[ve]=m.clone(b.previous(ve)),P?I.modelChange=!0:Oe.id=b.id),Oe.next==null&&(Oe.next={}),Oe.next[ve]=m.clone(b.prop(ve)),this.push(I,v)}var ke=this.options.afterAddCommand;ke&&k.call(ke,this,t,r,I),this.push(I,v)}}}}},{key:"initBatchCommand",value:function(t){this.freezed||(this.batchCommands?this.batchLevel+=1:(this.batchCommands=[this.createCommand({batch:!0})],this.batchLevel=0,this.lastBatchIndex=-1))}},{key:"storeBatchCommand",value:function(t){if(!this.freezed)if(this.batchCommands&&this.batchLevel<=0){var r=this.filterBatchCommand(this.batchCommands);r.length>0&&(this.redoStack=[],this.undoStack.push(r),this.consolidateCommands(),this.notify("add",r,t)),this.batchCommands=null,this.lastBatchIndex=-1,this.batchLevel=0}else this.batchCommands&&this.batchLevel>0&&(this.batchLevel-=1)}},{key:"filterBatchCommand",value:function(t){for(var r=t.slice(),d=[],v=function(){var P=r.shift(),I=P.event,V=P.data.id;if(I!=null&&(V!=null||P.modelChange)){if(Qp.isAddEvent(I)){var K=r.findIndex(function(ve){return Qp.isRemoveEvent(ve.event)&&ve.data.id===V});if(K>=0)return r=r.filter(function(ve,Oe){return K<Oe||ve.data.id!==V}),"continue"}else if(Qp.isRemoveEvent(I)){var ae=r.findIndex(function(ve){return Qp.isAddEvent(ve.event)&&ve.data.id===V});if(ae>=0)return r.splice(ae,1),"continue"}else if(Qp.isChangeEvent(I)){var ue=P.data;if(m.isEqual(ue.prev,ue.next))return"continue"}d.push(P)}};r.length>0;)var g=v();return d}},{key:"notify",value:function(t,r,d){var v=r==null?null:Array.isArray(r)?r:[r];this.emit(t,{cmds:v,options:d}),this.emit("change",{cmds:v,options:d})}},{key:"push",value:function(t,r){this.redoStack=[],t.batch?(this.lastBatchIndex=Math.max(this.lastBatchIndex,0),this.emit("batch",{cmd:t,options:r})):(this.undoStack.push(t),this.consolidateCommands(),this.notify("add",t,r))}},{key:"consolidateCommands",value:function(){var t,r=this.undoStack[this.undoStack.length-1],d=this.undoStack[this.undoStack.length-2];if(!!Array.isArray(r)){var v=new Set(r.map(function(b){return b.event}));if(!(v.size!==2||!v.has("cell:change:parent")||!v.has("cell:change:children"))&&!!r.every(function(b){var P;return b.batch&&((P=b.options)===null||P===void 0?void 0:P.ui)})&&!(!Array.isArray(d)||d.length!==1)){var g=d[0];g.event!=="cell:change:position"||!((t=g.options)===null||t===void 0?void 0:t.ui)||(d.push.apply(d,Object(Bs.a)(r)),this.undoStack.pop())}}}}]),c}(yh);gV([yh.dispose()],yb.prototype,"dispose",null),function(u){var i=function(c){Object(Cc.a)(t,c);var o=Object(Ec.a)(t);function t(r){var d;return Object(xi.a)(this,t),d=o.call(this),d.map={},d.command=r.history,d.cancelInvalid=r.cancelInvalid!==!1,d.command.on("add",d.onCommandAdded,Object(Fp.a)(d)),d}return Object(Pi.a)(t,[{key:"onCommandAdded",value:function(d){var v=this,g=d.cmds;return Array.isArray(g)?g.every(function(b){return v.isValidCommand(b)}):this.isValidCommand(g)}},{key:"isValidCommand",value:function(d){if(d.options&&d.options.validation===!1)return!0;var v=d.event&&this.map[d.event]||[],g=null;return v.forEach(function(b){var P=0,I=function V(K){var ae=b[P];P+=1;try{if(ae)ae(K,d,V);else{g=K;return}}catch(ue){V(ue)}};I(g)}),g?(this.cancelInvalid&&this.command.cancel(),this.emit("invalid",{err:g}),!1):!0}},{key:"validate",value:function(d){for(var v=this,g=arguments.length,b=new Array(g>1?g-1:0),P=1;P<g;P++)b[P-1]=arguments[P];var I=Array.isArray(d)?d:d.split(/\s+/);return b.forEach(function(V){if(typeof V!="function")throw new Error("".concat(I.join(" ")," requires callback functions."))}),I.forEach(function(V){v.map[V]==null&&(v.map[V]=[]),v.map[V].push(b)}),this}},{key:"dispose",value:function(){this.command.off("add",this.onCommandAdded,this)}}]),t}(yh);gV([yh.dispose()],i.prototype,"dispose",null),u.Validator=i}(yb||(yb={}));var Qp;(function(u){function i(d){return d==="cell:added"}u.isAddEvent=i;function c(d){return d==="cell:removed"}u.isRemoveEvent=c;function o(d){return d!=null&&d.startsWith("cell:change:")}u.isChangeEvent=o;function t(d){var v=d.graph,g=Xte(d,["graph"]),b=["cell:added","cell:removed","cell:change:*"],P=["batch:start","batch:stop"],I=d.eventNames?d.eventNames.filter(function(V){return!(u.isChangeEvent(V)||b.includes(V)||P.includes(V))}):b;return Object.assign(Object.assign({},g),{eventNames:I,applyOptionsList:d.applyOptionsList||["propertyPath"],revertOptionsList:d.revertOptionsList||["propertyPath"]})}u.getOptions=t;function r(d){for(var v=[],g=0,b=d.length;g<b;g+=1){var P=d[g],I=null;if(u.isAddEvent(P.event)){for(var V=P.data.id,K=0;K<g;K+=1)if(d[K].data.id===V){I=K;break}}I!==null?v.splice(I,0,P):v.push(P)}return v}u.sortBatchCommands=r})(Qp||(Qp={}));var Jte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},xL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"widgetOptions",get:function(){return this.options.minimap}},{key:"init",value:function(){this.widget=this.graph.hook.createMiniMap()}},{key:"dispose",value:function(){this.widget&&this.widget.dispose()}}]),c}(rp);Jte([rp.dispose()],xL.prototype,"dispose",null);var Zte=l("imBb"),Qte=l.n(Zte),mV=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},O2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this),t.options=o;var r=t.graph.scroller.widget;return t.container=r?r.container:t.graph.container,o.global?t.target=document:(t.target=t.container,t.disabled||t.target.setAttribute("tabindex","-1"),t.graph.on("cell:mouseup",t.focus,Object(Fp.a)(t)),t.graph.on("blank:mouseup",t.focus,Object(Fp.a)(t))),t.mousetrap=c.createMousetrap(Object(Fp.a)(t)),t}return Object(Pi.a)(c,[{key:"graph",get:function(){return this.options.graph}},{key:"disabled",get:function(){return this.options.enabled!==!0}},{key:"enable",value:function(){this.disabled&&(this.options.enabled=!0,this.graph.options.keyboard.enabled=!0,this.target instanceof HTMLElement&&this.target.setAttribute("tabindex","-1"))}},{key:"disable",value:function(){this.disabled||(this.options.enabled=!1,this.graph.options.keyboard.enabled=!1,this.target instanceof HTMLElement&&this.target.removeAttribute("tabindex"))}},{key:"on",value:function(t,r,d){this.mousetrap.bind(this.getKeys(t),r,d)}},{key:"off",value:function(t,r){this.mousetrap.unbind(this.getKeys(t),r)}},{key:"focus",value:function(t){var r=this.isInputEvent(t.e);if(!r){var d=this.target;d.focus({preventScroll:!0})}}},{key:"getKeys",value:function(t){var r=this;return(Array.isArray(t)?t:[t]).map(function(d){return r.formatkey(d)})}},{key:"formatkey",value:function(t){var r=t.toLowerCase().replace(/\s/g,"").replace("delete","del").replace("cmd","command"),d=this.options.format;return d?k.call(d,this.graph,r):r}},{key:"isGraphEvent",value:function(t){var r=t.srcElement||t.target,d=t.currentTarget;return r?r===this.target||d===this.target||r===document.body?!0:S.contains(this.container,r):!1}},{key:"isInputEvent",value:function(t){var r,d=t.target,v=(r=d==null?void 0:d.tagName)===null||r===void 0?void 0:r.toLowerCase();return["input","textarea"].includes(v)}},{key:"isEnabledForEvent",value:function(t){var r=!this.disabled&&this.isGraphEvent(t),d=this.isInputEvent(t);if(r){var v=t.keyCode||t.which;if(d&&(v===8||v===46))return!1;if(this.options.guard)return k.call(this.options.guard,this.graph,t)}return r}},{key:"dispose",value:function(){this.mousetrap.reset()}}]),c}(Km);mV([Km.dispose()],O2.prototype,"dispose",null),function(u){function i(c){var o=new Qte.a(c.target),t=o.stopCallback;return o.stopCallback=function(r,d,v){return c.isEnabledForEvent(r)?t?t.call(o,r,d,v):!1:!0},o}u.createMousetrap=i}(O2||(O2={}));var qte=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},SL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this),t.options=o,t.cumulatedFactor=1;var r=t.graph.scroller.widget;return t.container=r?r.container:t.graph.container,t.target=t.options.global?document:t.container,t.mousewheelHandle=new S.MouseWheelHandle(t.target,t.onMouseWheel.bind(Object(Fp.a)(t)),t.allowMouseWheel.bind(Object(Fp.a)(t))),t.options.enabled&&t.enable(!0),t}return Object(Pi.a)(c,[{key:"graph",get:function(){return this.options.graph}},{key:"disabled",get:function(){return this.options.enabled!==!0}},{key:"enable",value:function(t){(this.disabled||t)&&(this.options.enabled=!0,this.graph.options.mousewheel.enabled=!0,this.mousewheelHandle.enable())}},{key:"disable",value:function(){this.disabled||(this.options.enabled=!1,this.graph.options.mousewheel.enabled=!1,this.mousewheelHandle.disable())}},{key:"allowMouseWheel",value:function(t){var r=t.originalEvent||t,d=this.options.guard;return(d==null||d.call(this.graph,r))&&J_.isMatch(r,this.options.modifiers)}},{key:"onMouseWheel",value:function(t){var r=t.originalEvent||t,d=this.options.guard;if((d==null||d.call(this.graph,r))&&J_.isMatch(r,this.options.modifiers)){var v=this.options.factor||1.2;this.currentScale==null&&(this.startPos={x:t.clientX,y:t.clientY},this.currentScale=this.graph.scroller.widget?this.graph.scroller.widget.zoom():this.graph.transform.getScale().sx);var g=t.deltaY;g<0?this.currentScale<.15?this.cumulatedFactor=(this.currentScale+.01)/this.currentScale:this.cumulatedFactor=Math.round(this.currentScale*v*20)/20/this.currentScale:this.currentScale<=.15?this.cumulatedFactor=(this.currentScale-.01)/this.currentScale:this.cumulatedFactor=Math.round(this.currentScale*(1/v)*20)/20/this.currentScale,this.cumulatedFactor=Math.max(.01,Math.min(this.currentScale*this.cumulatedFactor,160)/this.currentScale);var b=this.graph.scroller.widget,P=this.currentScale,I=this.graph.transform.clampScale(P*this.cumulatedFactor),V=this.options.minScale||Number.MIN_SAFE_INTEGER,K=this.options.maxScale||Number.MAX_SAFE_INTEGER;if(I=C.clamp(I,V,K),I!==P)if(b)if(this.options.zoomAtMousePosition){var ae=this.graph.coord.clientToLocalPoint(this.startPos);b.zoom(I,{absolute:!0,center:ae.clone()})}else b.zoom(I,{absolute:!0});else if(this.options.zoomAtMousePosition){var ue=this.graph.coord.clientToGraphPoint(this.startPos);this.graph.transform.zoom(I,{absolute:!0,center:ue.clone(),ui:!0})}else this.graph.transform.zoom(I,{absolute:!0,ui:!0});this.currentScale=null,this.cumulatedFactor=1}}},{key:"dispose",value:function(){this.disable()}}]),c}(Km);qte([Km.dispose()],SL.prototype,"dispose",null);var wL=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},C2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"show",value:function(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=Object.assign(Object.assign({},c.defaultOptions),r),v=this.createPrintPages(d);d.ready(v,function(g){return t.showPrintWindow(g,d)},{sheetSize:this.getSheetSize(d)})}},{key:"className",get:function(){return this.view.prefixClassName("graph-print")}},{key:"showPrintWindow",value:function(t,r){var d=this;if(t){var v=dv()(document.body),g=dv()(this.view.container),b=this.view.prefixClassName("graph-printing");v.addClass(b);var P=g.children().detach();t.forEach(function(K){K.removeClass("".concat(d.className,"-preview")).addClass("".concat(d.className,"-ready")).appendTo(v)});var I=!1,V=function K(){I||(I=!0,v.removeClass(b),t.forEach(function(ae){return ae.remove()}),g.append(P),dv()("#".concat(d.styleSheetId)).remove(),d.graph.trigger("after:print",r),dv()(window).off("afterprint",K))};dv()(window).one("afterprint",V),setTimeout(V,200),window.print()}}},{key:"createPrintPage",value:function(t,r){this.graph.trigger("before:print",r);var d=dv()("<div/>").addClass(this.className),v=dv()("<div/>").addClass(this.view.prefixClassName("graph-print-inner")).css("position","relative");r.size&&d.addClass("".concat(this.className,"-size-").concat(r.size));var g=Kd.create(this.view.svg).clone(),b=g.findOne(".".concat(this.view.prefixClassName("graph-svg-stage")));v.append(g.node);var P=this.getSheetSize(r),I=this.graph.transform.getGraphArea(),V=this.graph.transform.getScale(),K=this.graph.translate(),ae=S.createSVGMatrix().translate(K.tx/V.sx,K.ty/V.sy),ue=this.getPageInfo(I,t,P),ve=ue.scale,Oe=ue.bbox;return v.css({left:0,top:0}),g.attr({width:Oe.width*ve,height:Oe.height*ve,style:"position:relative",viewBox:[Oe.x,Oe.y,Oe.width,Oe.height].join(" ")}),b.attr("transform",S.matrixToTransformString(ae)),d.append(v),d.addClass("".concat(this.className,"-preview")),{$page:d,sheetSize:P}}},{key:"createPrintPages",value:function(t){var r=this,d,v=this.getPrintArea(t),g=[];if(t.page){var b=this.getPageSize(v,t.page),P=this.getPageAreas(v,b);P.forEach(function(V){d=r.createPrintPage(V,t),g.push(d.$page)})}else d=this.createPrintPage(v,t),g.push(d.$page);if(d){var I={width:d.sheetSize.cssWidth,height:d.sheetSize.cssHeight};this.updatePrintStyle(I,t)}return g}},{key:"styleSheetId",get:function(){return this.view.prefixClassName("graph-print-style")}},{key:"updatePrintStyle",value:function(t,r){var d=Object.keys(t).reduce(function(K,ae){return"".concat(K," ").concat(ae,":").concat(t[ae],";")},""),v=C.normalizeSides(r.margin),g=r.marginUnit||"",b=r.sheetUnit||"",P=`
@media print {
.`.concat(this.className,".").concat(this.className,`-ready {
`).concat(d,`
}
@page {
margin:
`).concat([v.top+g,v.right+g,v.bottom+g,v.left+g].join(" "),`;
size: `).concat(r.sheet.width+b," ").concat(r.sheet.height+b,`;
.`).concat(this.className,".").concat(this.className,`-preview {
`).concat(d,`
}
}`),I=this.styleSheetId,V=dv()("#".concat(I));V.length?V.html(P):dv()("head").append(`'<style type="text/css" id="`.concat(I,'">').concat(P,"</style>'"))}},{key:"getPrintArea",value:function(t){var r=t.area;if(!r){var d=C.normalizeSides(t.padding);r=this.graph.getContentArea().moveAndExpand({x:-d.left,y:-d.top,width:d.left+d.right,height:d.top+d.bottom})}return r}},{key:"getPageSize",value:function(t,r){if(typeof r=="object"){var d=r,v={width:d.width,height:d.height};return v.width==null&&(v.width=Math.ceil(t.width/(d.columns||1))),v.height==null&&(v.height=Math.ceil(t.height/(d.rows||1))),v}return{width:t.width,height:t.height}}},{key:"getPageAreas",value:function(t,r){for(var d=[],v=r.width,g=r.height,b=0,P=0;b<t.height&&P<200;b+=g,P+=1)for(var I=0,V=0;I<t.width&&V<200;I+=v,V+=1)d.push(new xl(t.x+I,t.y+b,v,g));return d}},{key:"getSheetSize",value:function(t){var r=t.sheet,d=C.normalizeSides(t.margin),v=t.marginUnit||"",g=t.sheetUnit||"",b="calc(".concat(r.width).concat(g," - ").concat(d.left+d.right).concat(v,")"),P="calc(".concat(r.height).concat(g," - ").concat(d.top+d.bottom).concat(v,")"),I=KS.measure(b,P);return{cssWidth:b,cssHeight:P,width:I.width,height:I.height}}},{key:"getPageInfo",value:function(t,r,d){var v=new xl(r.x-t.x,r.y-t.y,r.width,r.height),g=v.width/v.height,b=d.width/d.height;return{bbox:v,scale:b<g?d.width/v.width:d.height/v.height,fitHorizontal:b<g}}},{key:"dispose",value:function(){}}]),c}(rp);wL([rp.dispose()],C2.prototype,"dispose",null),function(u){u.defaultOptions={page:!1,sheet:{width:210,height:297},sheetUnit:"mm",margin:.4,marginUnit:"in",padding:5,ready:function(c,o){return o(c)}}}(C2||(C2={}));var TL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"toSVG",value:function(t){var r=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.graph.trigger("before:export",d);var v=this.view.svg,g=Kd.create(v).clone(),b=g.node,P=g.findOne(".".concat(this.view.prefixClassName("graph-svg-stage"))),I=d.viewBox||this.graph.graphToLocal(this.graph.getContentBBox()),V=d.preserveDimensions;if(V){var K=typeof V=="boolean"?I:V;g.attr({width:K.width,height:K.height})}if(g.removeAttribute("style").attr("viewBox",[I.x,I.y,I.width,I.height].join(" ")),P.removeAttribute("transform"),d.copyStyles!==!1){for(var ae=v.ownerDocument,ue=Array.from(v.querySelectorAll("*")),ve=Array.from(b.querySelectorAll("*")),Oe=ae.styleSheets.length,ke=[],Ie=Oe-1;Ie>=0;Ie-=1)ke[Ie]=ae.styleSheets[Ie],ae.styleSheets[Ie].disabled=!0;var Ye={};ue.forEach(function(Gt,Jt){var mn=window.getComputedStyle(Gt,null),vn={};Object.keys(mn).forEach(function(Yt){vn[Yt]=mn.getPropertyValue(Yt)}),Ye[Jt]=vn}),Oe!==ae.styleSheets.length&&ke.forEach(function(Gt,Jt){ae.styleSheets[Jt]=Gt});for(var Ze=0;Ze<Oe;Ze+=1)ae.styleSheets[Ze].disabled=!1;var et={};ue.forEach(function(Gt,Jt){var mn=window.getComputedStyle(Gt,null),vn=Ye[Jt],Yt={};Object.keys(mn).forEach(function(En){!C.isNumeric(En)&&mn.getPropertyValue(En)!==vn[En]&&(Yt[En]=mn.getPropertyValue(En))}),et[Jt]=Yt}),ve.forEach(function(Gt,Jt){dv()(Gt).css(et[Jt])})}var yt=d.stylesheet;if(typeof yt=="string"){var jt=v.ownerDocument.implementation.createDocument(null,"xml",null).createCDATASection(yt);g.prepend(Kd.create("style",{type:"text/css"},[jt]))}var Ft=function(){var Jt=d.beforeSerialize;if(typeof Jt=="function"){var mn=k.call(Jt,r.graph,b);mn instanceof SVGSVGElement&&(b=mn)}var vn=new XMLSerializer().serializeToString(b).replace(/&nbsp;/g,"\xA0");r.graph.trigger("after:export",d),t(vn)};if(d.serializeImages){var Ht=g.find("image").map(function(Gt){return new Promise(function(Jt){var mn=Gt.attr("xlink:href")||Gt.attr("href");fN.imageToDataUri(mn,function(vn,Yt){!vn&&Yt&&Gt.attr("xlink:href",Yt),Jt()})})});Promise.all(Ht).then(Ft)}else Ft()}},{key:"toDataURL",value:function(t,r){var d=r.viewBox||this.graph.getContentBBox(),v=C.normalizeSides(r.padding);r.width&&r.height&&(v.left+v.right>=r.width&&(v.left=v.right=0),v.top+v.bottom>=r.height&&(v.top=v.bottom=0));var g=new xl(-v.left,-v.top,v.left+v.right,v.top+v.bottom);if(r.width&&r.height){var b=d.width+v.left+v.right,P=d.height+v.top+v.bottom;g.scale(b/r.width,P/r.height)}d=xl.create(d).moveAndExpand(g);var I=typeof r.width=="number"&&typeof r.height=="number"?{width:r.width,height:r.height}:d,V=r.ratio?parseFloat(r.ratio):1;(!Number.isFinite(V)||V===0)&&(V=1);var K={width:Math.max(Math.round(I.width*V),1),height:Math.max(Math.round(I.height*V),1)};{var ae=document.createElement("canvas"),ue=ae.getContext("2d");ae.width=K.width,ae.height=K.height;var ve=K.width-1,Oe=K.height-1;ue.fillStyle="rgb(1,1,1)",ue.fillRect(ve,Oe,1,1);var ke=ue.getImageData(ve,Oe,1,1).data;if(ke[0]!==1||ke[1]!==1||ke[2]!==1)throw new Error("size exceeded")}var Ie=new Image;Ie.onload=function(){var Ye=document.createElement("canvas");Ye.width=K.width,Ye.height=K.height;var Ze=Ye.getContext("2d");Ze.fillStyle=r.backgroundColor||"white",Ze.fillRect(0,0,K.width,K.height);try{Ze.drawImage(Ie,0,0,K.width,K.height);var et=Ye.toDataURL(r.type,r.quality);t(et)}catch(yt){}},this.toSVG(function(Ye){Ie.src="data:image/svg+xml,".concat(encodeURIComponent(Ye))},Object.assign(Object.assign({},r),{viewBox:d,serializeImages:!0,preserveDimensions:Object.assign({},K)}))}},{key:"toPNG",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.toDataURL(t,Object.assign(Object.assign({},r),{type:"image/png"}))}},{key:"toJPEG",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.toDataURL(t,Object.assign(Object.assign({},r),{type:"image/jpeg"}))}}]),c}(rp),ene=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.widgets=new Map,o}return Object(Pi.a)(c,[{key:"isSelectionEnabled",get:function(){return this.options.selecting.enabled===!0}},{key:"init",value:function(){this.startListening()}},{key:"startListening",value:function(){this.graph.on("node:mouseup",this.onNodeMouseUp,this),this.graph.on("node:selected",this.onNodeSelected,this),this.graph.on("node:unselected",this.onNodeUnSelected,this)}},{key:"stopListening",value:function(){this.graph.off("node:mouseup",this.onNodeMouseUp,this),this.graph.off("node:selected",this.onNodeSelected,this),this.graph.off("node:unselected",this.onNodeUnSelected,this)}},{key:"onNodeMouseUp",value:function(t){var r=t.node;if(!this.isSelectionEnabled){var d=this.graph.hook.createKnob(r,{clearAll:!0});d&&this.widgets.set(r,d)}}},{key:"onNodeSelected",value:function(t){var r=t.node;if(this.isSelectionEnabled){var d=this.graph.hook.createKnob(r,{clearAll:!1});d&&this.widgets.set(r,d)}}},{key:"onNodeUnSelected",value:function(t){var r=t.node;if(this.isSelectionEnabled){var d=this.widgets.get(r);d&&d.forEach(function(v){return v.dispose()}),this.widgets.delete(r)}}}]),c}(rp),tne=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},_V=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"widgetOptions",get:function(){return this.options.panning}},{key:"pannable",get:function(){return this.widgetOptions&&this.widgetOptions.enabled===!0}},{key:"init",value:function(){this.startListening(),this.updateClassName()}},{key:"startListening",value:function(){var t=this.widgetOptions.eventTypes;!t||(t.includes("leftMouseDown")&&(this.graph.on("blank:mousedown",this.preparePanning,this),this.graph.on("node:unhandled:mousedown",this.preparePanning,this),this.graph.on("edge:unhandled:mousedown",this.preparePanning,this)),t.includes("rightMouseDown")&&(this.onRightMouseDown=this.onRightMouseDown.bind(this),this.view.$(this.graph.container).on("mousedown",this.onRightMouseDown)),t.includes("mouseWheel")&&(this.mousewheelHandle=new S.MouseWheelHandle(this.graph.container,this.onMouseWheel.bind(this),this.allowMouseWheel.bind(this)),this.mousewheelHandle.enable()))}},{key:"stopListening",value:function(){var t=this.widgetOptions.eventTypes;!t||(t.includes("leftMouseDown")&&(this.graph.off("blank:mousedown",this.preparePanning,this),this.graph.off("node:unhandled:mousedown",this.preparePanning,this),this.graph.off("edge:unhandled:mousedown",this.preparePanning,this)),t.includes("rightMouseDown")&&this.view.$(this.graph.container).off("mousedown",this.onRightMouseDown),t.includes("mouseWheel")&&this.mousewheelHandle&&this.mousewheelHandle.disable())}},{key:"preparePanning",value:function(t){var r=t.e;(this.allowPanning(r,!0)||this.allowPanning(r)&&!this.graph.selection.allowRubberband(r,!0))&&this.startPanning(r)}},{key:"allowPanning",value:function(t,r){return this.pannable&&J_.isMatch(t,this.widgetOptions.modifiers,r)&&this.graph.hook.allowPanning(t)}},{key:"startPanning",value:function(t){var r=this.view.normalizeEvent(t);this.clientX=r.clientX,this.clientY=r.clientY,this.panning=!0,this.updateClassName(),this.view.$(document.body).on({"mousemove.panning touchmove.panning":this.pan.bind(this),"mouseup.panning touchend.panning":this.stopPanning.bind(this),"mouseleave.panning":this.stopPanning.bind(this)}),this.view.$(window).on("mouseup.panning",this.stopPanning.bind(this))}},{key:"pan",value:function(t){var r=this.view.normalizeEvent(t),d=r.clientX-this.clientX,v=r.clientY-this.clientY;this.clientX=r.clientX,this.clientY=r.clientY;var g=this.graph.transform.getTranslation(),b=g.tx+d,P=g.ty+v;this.graph.transform.translate(b,P,{ui:!0})}},{key:"stopPanning",value:function(t){this.panning=!1,this.updateClassName(),this.view.$(document.body).off(".panning"),this.view.$(window).off(".panning")}},{key:"updateClassName",value:function(){var t=this.view.container,r=this.view.prefixClassName("graph-panning"),d=this.view.prefixClassName("graph-pannable");this.pannable?this.panning?(S.addClass(t,r),S.removeClass(t,d)):(S.removeClass(t,r),S.addClass(t,d)):(S.removeClass(t,r),S.removeClass(t,d))}},{key:"onRightMouseDown",value:function(t){t.button===2&&this.allowPanning(t,!0)&&this.startPanning(t)}},{key:"allowMouseWheel",value:function(t){return this.pannable&&!t.ctrlKey}},{key:"onMouseWheel",value:function(t,r,d){t.ctrlKey||this.graph.translateBy(-r,-d)}},{key:"autoPanning",value:function(t,r){var d=10,v=this.graph.getGraphArea(),g=0,b=0;t<=v.left+d&&(g=-d),r<=v.top+d&&(b=-d),t>=v.right-d&&(g=d),r>=v.bottom-d&&(b=d),(g!==0||b!==0)&&this.graph.translateBy(-g,-b)}},{key:"enablePanning",value:function(){this.pannable||(this.widgetOptions.enabled=!0,this.updateClassName())}},{key:"disablePanning",value:function(){this.pannable&&(this.widgetOptions.enabled=!1,this.updateClassName())}},{key:"dispose",value:function(){this.stopListening()}}]),c}(rp);tne([rp.dispose()],_V.prototype,"dispose",null);var yV=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},bV=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"hasScroller",value:function(){return this.graph.scroller.widget!=null}},{key:"getContainer",value:function(){return this.hasScroller()?this.graph.scroller.widget.container:this.graph.container}},{key:"init",value:function(){var t=this,r=this.options.autoResize;if(r){var d=typeof r=="boolean"?this.getContainer():r;z_.bind(d,function(){var v=t.getContainer(),g=v.offsetWidth,b=v.offsetHeight;t.resize(g,b)})}}},{key:"resize",value:function(t,r){this.hasScroller()?this.resizeScroller(t,r):this.resizeGraph(t,r)}},{key:"resizeGraph",value:function(t,r){this.graph.transform.resize(t,r)}},{key:"resizeScroller",value:function(t,r){this.graph.scroller.resize(t,r)}},{key:"resizePage",value:function(t,r){var d=this.graph.scroller.widget;d&&d.updatePageSize(t,r)}},{key:"dispose",value:function(){z_.clear(this.getContainer())}}]),c}(rp);yV([rp.dispose()],bV.prototype,"dispose",null);var yf=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},nne=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},nf;(function(u){function i(o,t){return function(r,d,v){var g=v.value,b=t||d;v.value=function(){for(var P=this.options[b],I=arguments.length,V=new Array(I),K=0;K<I;K++)V[K]=arguments[K];if(P!=null){this.getNativeValue=g.bind.apply(g,[this].concat(V));var ae=k.call.apply(k,[P,this.graph].concat(V));if(this.getNativeValue=null,ae!=null||o===!0&&ae===null)return ae}return g.call.apply(g,[this].concat(V))}}}u.hook=i;function c(o){return function(t,r,d){var v=d.value,g=o||r;d.value=function(){for(var b=arguments.length,P=new Array(b),I=0;I<b;I++)P[I]=arguments[I];var V=v.call.apply(v,[this].concat(P)),K=this.options[g];return K!=null&&(V=k.call.apply(k,[K,this.graph].concat(P))&&V),V}}}u.after=c})(nf||(nf={}));var vf=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"createModel",value:function(){if(this.options.model)return this.options.model;var t=new Ag;return t.graph=this.graph,t}},{key:"createView",value:function(){return new X_(this.graph)}},{key:"createRenderer",value:function(){return new sO(this.graph)}},{key:"createDefsManager",value:function(){return new Mj(this.graph)}},{key:"createGridManager",value:function(){return new OL(this.graph)}},{key:"createCoordManager",value:function(){return new pV(this.graph)}},{key:"createKnobManager",value:function(){return new ene(this.graph)}},{key:"createTransform",value:function(t,r){var d=this.getTransformOptions(t);return d.resizable||d.rotatable?new bL(Object.assign(Object.assign({node:t,graph:this.graph},d),r)):(d.clearAll&&bL.removeInstances(this.graph),null)}},{key:"createKnob",value:function(t,r){var d=this,v=Jm.parseOptionGroup(this.graph,t,this.options.knob),g=Object.assign(Object.assign({},v),r);g.clearAll&&mL.removeInstances(this.graph),g.clearAll=!1;var b=t.prop("knob"),P=[],I=Array.isArray(b)?b:[b];return I.forEach(function(V,K){if(V){if(V.enabled===!1||typeof V.enabled=="function"&&V.enabled.call(d.graph,t)===!1)return}else return;v.enabled&&P.push(new mL(Object.assign({node:t,index:K,graph:d.graph},g)))}),P}},{key:"getTransformOptions",value:function(t){var r=Jm.parseOptionGroup(this.graph,t,this.options.resizing),d=Jm.parseOptionGroup(this.graph,t,this.options.rotating),v=Jm.parseOptionGroup(this.graph,t,this.options.transforming),g=Object.assign(Object.assign({},v),{resizable:r.enabled,minWidth:r.minWidth,maxWidth:r.maxWidth,minHeight:r.minHeight,maxHeight:r.maxHeight,orthogonalResizing:r.orthogonal,restrictedResizing:r.restrict!=null?r.restrict:r.restricted,autoScrollOnResizing:r.autoScroll,preserveAspectRatio:r.preserveAspectRatio,allowReverse:r.allowReverse,rotatable:d.enabled,rotateGrid:d.grid});return g}},{key:"createTransformManager",value:function(){return new Ij(this.graph)}},{key:"createHighlightManager",value:function(){return new Dj(this.graph)}},{key:"createBackgroundManager",value:function(){return new kj(this.graph)}},{key:"createClipboard",value:function(){return new qg}},{key:"createClipboardManager",value:function(){return new Rj(this.graph)}},{key:"createSnapline",value:function(){return new yL(Object.assign({graph:this.graph},this.options.snapline))}},{key:"createSnaplineManager",value:function(){return new Pj(this.graph)}},{key:"createSelection",value:function(){return new jj(Object.assign({graph:this.graph},this.options.selecting))}},{key:"createSelectionManager",value:function(){return new EL(this.graph)}},{key:"allowRubberband",value:function(t){return!0}},{key:"createHistoryManager",value:function(){return new yb(Object.assign({graph:this.graph},this.options.history))}},{key:"createScroller",value:function(){return this.options.scroller.enabled?new b2(Object.assign({graph:this.graph},this.options.scroller)):null}},{key:"createScrollerManager",value:function(){return new CL(this.graph)}},{key:"allowPanning",value:function(t){return!0}},{key:"createMiniMap",value:function(){var t=this.options.minimap,r=t.enabled,d=nne(t,["enabled"]);return r?new _L(Object.assign({graph:this.graph},d)):null}},{key:"createMiniMapManager",value:function(){return new xL(this.graph)}},{key:"createKeyboard",value:function(){return new O2(Object.assign({graph:this.graph},this.options.keyboard))}},{key:"createMouseWheel",value:function(){return new SL(Object.assign({graph:this.graph},this.options.mousewheel))}},{key:"createPrintManager",value:function(){return new C2(this.graph)}},{key:"createFormatManager",value:function(){return new TL(this.graph)}},{key:"createPanningManager",value:function(){return new _V(this.graph)}},{key:"createSizeManager",value:function(){return new bV(this.graph)}},{key:"allowConnectToBlank",value:function(t){var r=this.options.connecting,d=r.allowBlank!=null?r.allowBlank:r.dangling;if(typeof d!="function")return!!d;var v=this.graph.findViewByCell(t),g=t.getSourceCell(),b=t.getTargetCell(),P=this.graph.findViewByCell(g),I=this.graph.findViewByCell(b);return k.call(d,this.graph,{edge:t,edgeView:v,sourceCell:g,targetCell:b,sourceView:P,targetView:I,sourcePort:t.getSourcePortId(),targetPort:t.getTargetPortId(),sourceMagnet:v.sourceMagnet,targetMagnet:v.targetMagnet})}},{key:"validateEdge",value:function(t,r,d){if(!this.allowConnectToBlank(t)){var v=t.getSourceCellId(),g=t.getTargetCellId();if(!(v&&g))return!1}var b=this.options.connecting.validateEdge;return b?k.call(b,this.graph,{edge:t,type:r,previous:d}):!0}},{key:"validateMagnet",value:function(t,r,d){if(r.getAttribute("magnet")!=="passive"){var v=this.options.connecting.validateMagnet;return v?k.call(v,this.graph,{e:d,magnet:r,view:t,cell:t.cell}):!0}return!1}},{key:"getDefaultEdge",value:function(t,r){var d,v=this.options.connecting.createEdge;return v&&(d=k.call(v,this.graph,{sourceMagnet:r,sourceView:t,sourceCell:t.cell})),d==null&&(d=new hL),d}},{key:"validateConnection",value:function(t,r,d,v,g,b,P){var I=this,V=this.options.connecting,K=V.allowLoop,ae=V.allowNode,ue=V.allowEdge,ve=V.allowPort,Oe=V.allowMulti!=null?V.allowMulti:V.multi,ke=V.validateConnection,Ie=b?b.cell:null,Ye=g==="target"?d:t,Ze=g==="target"?v:r,et=!0,yt=function(En){var or=g==="source"?P?P.port:null:Ie?Ie.getSourcePortId():null,$r=g==="target"?P?P.port:null:Ie?Ie.getTargetPortId():null;return k.call(En,I.graph,{edge:Ie,edgeView:b,sourceView:t,targetView:d,sourcePort:or,targetPort:$r,sourceMagnet:r,targetMagnet:v,sourceCell:t?t.cell:null,targetCell:d?d.cell:null,type:g})};if(K!=null&&(typeof K=="boolean"?!K&&t===d&&(et=!1):et=yt(K)),et&&ve!=null&&(typeof ve=="boolean"?!ve&&Ze&&(et=!1):et=yt(ve)),et&&ue!=null&&(typeof ue=="boolean"?!ue&&iO.isEdgeView(Ye)&&(et=!1):et=yt(ue)),et&&ae!=null&&Ze==null&&(typeof ae=="boolean"?!ae&&ih.isNodeView(Ye)&&(et=!1):et=yt(ae)),et&&Oe!=null&&b){var jt=b.cell,Ft=g==="source"?P:jt.getSource(),Ht=g==="target"?P:jt.getTarget(),Gt=P?this.graph.getCellById(P.cell):null;if(Ft&&Ht&&Ft.cell&&Ht.cell&&Gt)if(typeof Oe=="function")et=yt(Oe);else{var Jt=this.model.getConnectedEdges(Gt,{outgoing:g==="source",incoming:g==="target"});if(Jt.length){if(Oe==="withPort"){var mn=Jt.some(function(Yt){var En=Yt.getSource(),or=Yt.getTarget();return En&&or&&En.cell===Ft.cell&&or.cell===Ht.cell&&En.port!=null&&En.port===Ft.port&&or.port!=null&&or.port===Ht.port});mn&&(et=!1)}else if(!Oe){var vn=Jt.some(function(Yt){var En=Yt.getSource(),or=Yt.getTarget();return En&&or&&En.cell===Ft.cell&&or.cell===Ht.cell});vn&&(et=!1)}}}}return et&&ke!=null&&(et=yt(ke)),et}},{key:"getRestrictArea",value:function(t){var r=this.options.translating.restrict,d=typeof r=="function"?k.call(r,this.graph,t):r;return typeof d=="number"?this.graph.transform.getGraphArea().inflate(d):d===!0?this.graph.transform.getGraphArea():d||null}},{key:"onViewUpdated",value:function(t,r,d){r&sO.FLAG_INSERT||d.mounting||this.graph.renderer.requestConnectedEdgesUpdate(t,d)}},{key:"onViewPostponed",value:function(t,r,d){return this.graph.renderer.forcePostponedViewUpdate(t,r)}},{key:"getCellView",value:function(t){return null}},{key:"createCellView",value:function(t){var r={graph:this.graph},d=this.getCellView(t);if(d)return new d(t,r);var v=t.view;if(v!=null&&typeof v=="string"){var g=ov.registry.get(v);return g?new g(t,r):ov.registry.onNotFound(v)}return t.isNode()?new ih(t,r):t.isEdge()?new iO(t,r):null}},{key:"getHTMLComponent",value:function(t){var r=t.getHTML();return typeof r=="string"&&(r=Xm.componentRegistry.get(r)||r),m.isPlainObject(r)&&(r=r.render),typeof r=="function"?k.call(r,this.graph,t):r}},{key:"shouldUpdateHTMLComponent",value:function(t){var r=t.getHTML();if(typeof r=="string"&&(r=Xm.componentRegistry.get(r)||r),m.isPlainObject(r)){var d=r.shouldComponentUpdate;return typeof d=="function"?k.call(d,this.graph,t):!!d}return!1}},{key:"onEdgeLabelRendered",value:function(t){}},{key:"onPortRendered",value:function(t){}},{key:"onToolItemCreated",value:function(t){}}]),c}(rp);yf([nf.hook()],vf.prototype,"createModel",null),yf([nf.hook()],vf.prototype,"createView",null),yf([nf.hook()],vf.prototype,"createRenderer",null),yf([nf.hook()],vf.prototype,"createDefsManager",null),yf([nf.hook()],vf.prototype,"createGridManager",null),yf([nf.hook()],vf.prototype,"createCoordManager",null),yf([nf.hook()],vf.prototype,"createKnobManager",null),yf([nf.hook()],vf.prototype,"createTransform",null),yf([nf.hook()],vf.prototype,"createKnob",null),yf([nf.hook()],vf.prototype,"createTransformManager",null),yf([nf.hook()],vf.prototype,"createHighlightManager",null),yf([nf.hook()],vf.prototype,"createBackgroundManager",null),yf([nf.hook()],vf.prototype,"createClipboard",null),yf([nf.hook()],vf.prototype,"createClipboardManager",null),yf([nf.hook()],vf.prototype,"createSnapline",null),yf([nf.hook()],vf.prototype,"createSnaplineManager",null),yf([nf.hook()],vf.prototype,"createSelection",null),yf([nf.hook()],vf.prototype,"createSelectionManager",null),yf([nf.hook()],vf.prototype,"allowRubberband",null),yf([nf.hook()],vf.prototype,"createHistoryManager",null),yf([nf.hook()],vf.prototype,"createScroller",null),yf([nf.hook()],vf.prototype,"createScrollerManager",null),yf([nf.hook()],vf.prototype,"allowPanning",null),yf([nf.hook()],vf.prototype,"createMiniMap",null),yf([nf.hook()],vf.prototype,"createMiniMapManager",null),yf([nf.hook()],vf.prototype,"createKeyboard",null),yf([nf.hook()],vf.prototype,"createMouseWheel",null),yf([nf.hook()],vf.prototype,"createPrintManager",null),yf([nf.hook()],vf.prototype,"createFormatManager",null),yf([nf.hook()],vf.prototype,"createPanningManager",null),yf([nf.hook()],vf.prototype,"createSizeManager",null),yf([nf.after()],vf.prototype,"onViewUpdated",null),yf([nf.after()],vf.prototype,"onViewPostponed",null),yf([nf.hook()],vf.prototype,"getCellView",null),yf([nf.hook(!0)],vf.prototype,"createCellView",null),yf([nf.hook()],vf.prototype,"getHTMLComponent",null),yf([nf.hook()],vf.prototype,"shouldUpdateHTMLComponent",null),yf([nf.hook()],vf.prototype,"onEdgeLabelRendered",null),yf([nf.hook()],vf.prototype,"onPortRendered",null),yf([nf.hook()],vf.prototype,"onToolItemCreated",null);var Zm=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},bf=function(u,i){Object(Cc.a)(o,u);var c=Object(Ec.a)(o);function o(t){var r;return Object(xi.a)(this,o),r=c.call(this),r.options=Jm.get(t),r.css=new g2(Object(Fp.a)(r)),r.hook=new vf(Object(Fp.a)(r)),r.view=r.hook.createView(),r.defs=r.hook.createDefsManager(),r.coord=r.hook.createCoordManager(),r.transform=r.hook.createTransformManager(),r.knob=r.hook.createKnobManager(),r.highlight=r.hook.createHighlightManager(),r.grid=r.hook.createGridManager(),r.background=r.hook.createBackgroundManager(),r.model=r.hook.createModel(),r.renderer=r.hook.createRenderer(),r.clipboard=r.hook.createClipboardManager(),r.snapline=r.hook.createSnaplineManager(),r.selection=r.hook.createSelectionManager(),r.history=r.hook.createHistoryManager(),r.scroller=r.hook.createScrollerManager(),r.minimap=r.hook.createMiniMapManager(),r.keyboard=r.hook.createKeyboard(),r.mousewheel=r.hook.createMouseWheel(),r.print=r.hook.createPrintManager(),r.format=r.hook.createFormatManager(),r.panning=r.hook.createPanningManager(),r.size=r.hook.createSizeManager(),r}return Object(Pi.a)(o,[{key:"container",get:function(){return this.view.container}},{key:i,get:function(){return o.toStringTag}},{key:"isNode",value:function(r){return r.isNode()}},{key:"isEdge",value:function(r){return r.isEdge()}},{key:"resetCells",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.resetCells(r,d),this}},{key:"clearCells",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.model.clear(r),this}},{key:"toJSON",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.model.toJSON(r)}},{key:"parseJSON",value:function(r){return this.model.parseJSON(r)}},{key:"fromJSON",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.fromJSON(r,d),this}},{key:"getCellById",value:function(r){return this.model.getCell(r)}},{key:"addNode",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.addNode(r,d)}},{key:"addNodes",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.addCell(r.map(function(g){return zf.isNode(g)?g:d.createNode(g)}),v)}},{key:"createNode",value:function(r){return this.model.createNode(r)}},{key:"removeNode",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.removeCell(r,d)}},{key:"addEdge",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.addEdge(r,d)}},{key:"addEdges",value:function(r){var d=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.addCell(r.map(function(g){return Zp.isEdge(g)?g:d.createEdge(g)}),v)}},{key:"removeEdge",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.removeCell(r,d)}},{key:"createEdge",value:function(r){return this.model.createEdge(r)}},{key:"addCell",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.addCell(r,d),this}},{key:"removeCell",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.removeCell(r,d)}},{key:"removeCells",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.removeCells(r,d)}},{key:"removeConnectedEdges",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.removeConnectedEdges(r,d)}},{key:"disconnectConnectedEdges",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.disconnectConnectedEdges(r,d),this}},{key:"hasCell",value:function(r){return this.model.has(r)}},{key:"getCell",value:function(r){return this.model.getCell(r)}},{key:"getCells",value:function(){return this.model.getCells()}},{key:"getCellCount",value:function(){return this.model.total()}},{key:"getNodes",value:function(){return this.model.getNodes()}},{key:"getEdges",value:function(){return this.model.getEdges()}},{key:"getOutgoingEdges",value:function(r){return this.model.getOutgoingEdges(r)}},{key:"getIncomingEdges",value:function(r){return this.model.getIncomingEdges(r)}},{key:"getConnectedEdges",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getConnectedEdges(r,d)}},{key:"getRootNodes",value:function(){return this.model.getRoots()}},{key:"getLeafNodes",value:function(){return this.model.getLeafs()}},{key:"isRootNode",value:function(r){return this.model.isRoot(r)}},{key:"isLeafNode",value:function(r){return this.model.isLeaf(r)}},{key:"getNeighbors",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getNeighbors(r,d)}},{key:"isNeighbor",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.model.isNeighbor(r,d,v)}},{key:"getSuccessors",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getSuccessors(r,d)}},{key:"isSuccessor",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.model.isSuccessor(r,d,v)}},{key:"getPredecessors",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getPredecessors(r,d)}},{key:"isPredecessor",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.model.isPredecessor(r,d,v)}},{key:"getCommonAncestor",value:function(){var r;return(r=this.model).getCommonAncestor.apply(r,arguments)}},{key:"getSubGraph",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getSubGraph(r,d)}},{key:"cloneSubGraph",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.cloneSubGraph(r,d)}},{key:"cloneCells",value:function(r){return this.model.cloneCells(r)}},{key:"getNodesFromPoint",value:function(r,d){return this.model.getNodesFromPoint(r,d)}},{key:"getNodesInArea",value:function(r,d,v,g,b){return this.model.getNodesInArea(r,d,v,g,b)}},{key:"getNodesUnderNode",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getNodesUnderNode(r,d)}},{key:"searchCell",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.model.search(r,d,v),this}},{key:"getShortestPath",value:function(r,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.model.getShortestPath(r,d,v)}},{key:"getAllCellsBBox",value:function(){return this.model.getAllCellsBBox()}},{key:"getCellsBBox",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.model.getCellsBBox(r,d)}},{key:"startBatch",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.model.startBatch(r,d)}},{key:"stopBatch",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.model.stopBatch(r,d)}},{key:"batchUpdate",value:function(r,d,v){var g=typeof r=="string"?r:"update",b=typeof r=="string"?d:r,P=typeof d=="function"?v:d;this.startBatch(g,P);var I=b();return this.stopBatch(g,P),I}},{key:"updateCellId",value:function(r,d){return this.model.updateCellId(r,d)}},{key:"isFrozen",value:function(){return this.renderer.isFrozen()}},{key:"freeze",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.renderer.freeze(r),this}},{key:"unfreeze",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.renderer.unfreeze(r),this}},{key:"isAsync",value:function(){return this.renderer.isAsync()}},{key:"setAsync",value:function(r){return this.renderer.setAsync(r),this}},{key:"findView",value:function(r){return Mf.isCell(r)?this.findViewByCell(r):this.findViewByElem(r)}},{key:"findViews",value:function(r){return xl.isRectangleLike(r)?this.findViewsInArea(r):$i.isPointLike(r)?this.findViewsFromPoint(r):[]}},{key:"findViewByCell",value:function(r){return this.renderer.findViewByCell(r)}},{key:"findViewByElem",value:function(r){return this.renderer.findViewByElem(r)}},{key:"findViewsFromPoint",value:function(r,d){var v=typeof r=="number"?{x:r,y:d}:r;return this.renderer.findViewsFromPoint(v)}},{key:"findViewsInArea",value:function(r,d,v,g,b){var P=typeof r=="number"?{x:r,y:d,width:v,height:g}:r,I=typeof r=="number"?b:d;return this.renderer.findViewsInArea(P,I)}},{key:"isViewMounted",value:function(r){return this.renderer.isViewMounted(r)}},{key:"getMountedViews",value:function(){return this.renderer.getMountedViews()}},{key:"getUnmountedViews",value:function(){return this.renderer.getUnmountedViews()}},{key:"matrix",value:function(r){return typeof r=="undefined"?this.transform.getMatrix():(this.transform.setMatrix(r),this)}},{key:"resize",value:function(r,d){return this.size.resize(r,d),this}},{key:"resizeGraph",value:function(r,d){return this.size.resizeGraph(r,d),this}},{key:"resizeScroller",value:function(r,d){return this.size.resizeScroller(r,d),this}},{key:"resizePage",value:function(r,d){return this.size.resizePage(r,d),this}},{key:"scale",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return typeof r=="undefined"?this.transform.getScale():(this.transform.scale(r,d,v,g),this)}},{key:"zoom",value:function(r,d){var v=this.scroller.widget;if(v){if(typeof r=="undefined")return v.zoom();v.zoom(r,d)}else{if(typeof r=="undefined")return this.transform.getZoom();this.transform.zoom(r,d)}return this}},{key:"zoomTo",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.scroller.widget;return v?v.zoom(r,Object.assign(Object.assign({},d),{absolute:!0})):this.transform.zoom(r,Object.assign(Object.assign({},d),{absolute:!0})),this}},{key:"zoomToRect",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.scroller.widget;return v?v.zoomToRect(r,d):this.transform.zoomToRect(r,d),this}},{key:"zoomToFit",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.scroller.widget;return d?d.zoomToFit(r):this.transform.zoomToFit(r),this}},{key:"rotate",value:function(r,d,v){return typeof r=="undefined"?this.transform.getRotation():(this.transform.rotate(r,d,v),this)}},{key:"translate",value:function(r,d){return typeof r=="undefined"?this.transform.getTranslation():(this.transform.translate(r,d),this)}},{key:"translateBy",value:function(r,d){var v=this.translate(),g=v.tx+r,b=v.ty+d;return this.translate(g,b)}},{key:"getArea",value:function(){return this.transform.getGraphArea()}},{key:"getGraphArea",value:function(){return this.transform.getGraphArea()}},{key:"getContentArea",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.transform.getContentArea(r)}},{key:"getContentBBox",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.transform.getContentBBox(r)}},{key:"fitToContent",value:function(r,d,v,g){return this.transform.fitToContent(r,d,v,g)}},{key:"scaleContentToFit",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.transform.scaleContentToFit(r),this}},{key:"center",value:function(r){return this.centerPoint(r)}},{key:"centerPoint",value:function(r,d,v){var g=this.scroller.widget;return g?g.centerPoint(r,d,v):this.transform.centerPoint(r,d),this}},{key:"centerContent",value:function(r){var d=this.scroller.widget;return d?d.centerContent(r):this.transform.centerContent(r),this}},{key:"centerCell",value:function(r,d){var v=this.scroller.widget;return v?v.centerCell(r,d):this.transform.centerCell(r),this}},{key:"positionPoint",value:function(r,d,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},b=this.scroller.widget;return b?b.positionPoint(r,d,v,g):this.transform.positionPoint(r,d,v),this}},{key:"positionRect",value:function(r,d,v){var g=this.scroller.widget;return g?g.positionRect(r,d,v):this.transform.positionRect(r,d),this}},{key:"positionCell",value:function(r,d,v){var g=this.scroller.widget;return g?g.positionCell(r,d,v):this.transform.positionCell(r,d),this}},{key:"positionContent",value:function(r,d){var v=this.scroller.widget;return v?v.positionContent(r,d):this.transform.positionContent(r,d),this}},{key:"getClientMatrix",value:function(){return this.coord.getClientMatrix()}},{key:"getClientOffset",value:function(){return this.coord.getClientOffset()}},{key:"getPageOffset",value:function(){return this.coord.getPageOffset()}},{key:"snapToGrid",value:function(r,d){return this.coord.snapToGrid(r,d)}},{key:"pageToLocal",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.pageToLocalRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.pageToLocalRect(r,d,v,g):this.coord.pageToLocalPoint(r,d)}},{key:"localToPage",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.localToPageRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.localToPageRect(r,d,v,g):this.coord.localToPagePoint(r,d)}},{key:"clientToLocal",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.clientToLocalRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.clientToLocalRect(r,d,v,g):this.coord.clientToLocalPoint(r,d)}},{key:"localToClient",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.localToClientRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.localToClientRect(r,d,v,g):this.coord.localToClientPoint(r,d)}},{key:"localToGraph",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.localToGraphRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.localToGraphRect(r,d,v,g):this.coord.localToGraphPoint(r,d)}},{key:"graphToLocal",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.graphToLocalRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.graphToLocalRect(r,d,v,g):this.coord.graphToLocalPoint(r,d)}},{key:"clientToGraph",value:function(r,d,v,g){return xl.isRectangleLike(r)?this.coord.clientToGraphRect(r):typeof r=="number"&&typeof d=="number"&&typeof v=="number"&&typeof g=="number"?this.coord.clientToGraphRect(r,d,v,g):this.coord.clientToGraphPoint(r,d)}},{key:"defineFilter",value:function(r){return this.defs.filter(r)}},{key:"defineGradient",value:function(r){return this.defs.gradient(r)}},{key:"defineMarker",value:function(r){return this.defs.marker(r)}},{key:"getGridSize",value:function(){return this.grid.getGridSize()}},{key:"setGridSize",value:function(r){return this.grid.setGridSize(r),this}},{key:"showGrid",value:function(){return this.grid.show(),this}},{key:"hideGrid",value:function(){return this.grid.hide(),this}},{key:"clearGrid",value:function(){return this.grid.clear(),this}},{key:"drawGrid",value:function(r){return this.grid.draw(r),this}},{key:"updateBackground",value:function(){return this.background.update(),this}},{key:"drawBackground",value:function(r,d){var v=this.scroller.widget;return v!=null&&(this.options.background==null||!d)?v.backgroundManager.draw(r):this.background.draw(r),this}},{key:"clearBackground",value:function(r){var d=this.scroller.widget;return d!=null&&(this.options.background==null||!r)?d.backgroundManager.clear():this.background.clear(),this}},{key:"isClipboardEnabled",value:function(){return!this.clipboard.disabled}},{key:"enableClipboard",value:function(){return this.clipboard.enable(),this}},{key:"disableClipboard",value:function(){return this.clipboard.disable(),this}},{key:"toggleClipboard",value:function(r){return r!=null?r!==this.isClipboardEnabled()&&(r?this.enableClipboard():this.disableClipboard()):this.isClipboardEnabled()?this.disableClipboard():this.enableClipboard(),this}},{key:"isClipboardEmpty",value:function(){return this.clipboard.isEmpty()}},{key:"getCellsInClipboard",value:function(){return this.clipboard.cells}},{key:"cleanClipboard",value:function(){return this.clipboard.clean(),this}},{key:"copy",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.clipboard.copy(r,d),this}},{key:"cut",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.clipboard.cut(r,d),this}},{key:"paste",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this;return this.clipboard.paste(r,d)}},{key:"isHistoryEnabled",value:function(){return!this.history.disabled}},{key:"enableHistory",value:function(){return this.history.enable(),this}},{key:"disableHistory",value:function(){return this.history.disable(),this}},{key:"toggleHistory",value:function(r){return r!=null?r!==this.isHistoryEnabled()&&(r?this.enableHistory():this.disableHistory()):this.isHistoryEnabled()?this.disableHistory():this.enableHistory(),this}},{key:"undo",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.history.undo(r),this}},{key:"undoAndCancel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.history.cancel(r),this}},{key:"redo",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.history.redo(r),this}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"cleanHistory",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.history.clean(r)}},{key:"isKeyboardEnabled",value:function(){return!this.keyboard.disabled}},{key:"enableKeyboard",value:function(){return this.keyboard.enable(),this}},{key:"disableKeyboard",value:function(){return this.keyboard.disable(),this}},{key:"toggleKeyboard",value:function(r){return r!=null?r!==this.isKeyboardEnabled()&&(r?this.enableKeyboard():this.disableKeyboard()):this.isKeyboardEnabled()?this.disableKeyboard():this.enableKeyboard(),this}},{key:"bindKey",value:function(r,d,v){return this.keyboard.on(r,d,v),this}},{key:"unbindKey",value:function(r,d){return this.keyboard.off(r,d),this}},{key:"isMouseWheelEnabled",value:function(){return!this.mousewheel.disabled}},{key:"enableMouseWheel",value:function(){return this.mousewheel.enable(),this}},{key:"disableMouseWheel",value:function(){return this.mousewheel.disable(),this}},{key:"toggleMouseWheel",value:function(r){return r==null?this.isMouseWheelEnabled()?this.disableMouseWheel():this.enableMouseWheel():r?this.enableMouseWheel():this.disableMouseWheel(),this}},{key:"isPannable",value:function(){var r=this.scroller.widget;return r?this.scroller.pannable:this.panning.pannable}},{key:"enablePanning",value:function(){var r=this.scroller.widget;return r?this.scroller.enablePanning():this.panning.enablePanning(),this}},{key:"disablePanning",value:function(){var r=this.scroller.widget;return r?this.scroller.disablePanning():this.panning.disablePanning(),this}},{key:"togglePanning",value:function(r){return r==null?this.isPannable()?this.disablePanning():this.enablePanning():r!==this.isPannable()&&(r?this.enablePanning():this.disablePanning()),this}},{key:"lockScroller",value:function(){var r;(r=this.scroller.widget)===null||r===void 0||r.lock()}},{key:"unlockScroller",value:function(){var r;(r=this.scroller.widget)===null||r===void 0||r.unlock()}},{key:"updateScroller",value:function(){var r;(r=this.scroller.widget)===null||r===void 0||r.update()}},{key:"getScrollbarPosition",value:function(){var r=this.scroller.widget;return r.scrollbarPosition()}},{key:"setScrollbarPosition",value:function(r,d,v){var g=this.scroller.widget;return g.scrollbarPosition(r,d,v),this}},{key:"scrollToPoint",value:function(r,d,v){var g=this.scroller.widget;return g.scrollToPoint(r,d,v),this}},{key:"scrollToContent",value:function(r){var d=this.scroller.widget;return d.scrollToContent(r),this}},{key:"scrollToCell",value:function(r,d){var v=this.scroller.widget;return v.scrollToCell(r,d),this}},{key:"transitionToPoint",value:function(r,d,v){var g=this.scroller.widget;return g.transitionToPoint(r,d,v),this}},{key:"transitionToRect",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=this.scroller.widget;return v.transitionToRect(r,d),this}},{key:"isSelectionEnabled",value:function(){return!this.selection.disabled}},{key:"enableSelection",value:function(){return this.selection.enable(),this}},{key:"disableSelection",value:function(){return this.selection.disable(),this}},{key:"toggleSelection",value:function(r){return r!=null?r!==this.isSelectionEnabled()&&(r?this.enableSelection():this.disableSelection()):this.isSelectionEnabled()?this.disableSelection():this.enableSelection(),this}},{key:"isMultipleSelection",value:function(){return this.selection.isMultiple()}},{key:"enableMultipleSelection",value:function(){return this.selection.enableMultiple(),this}},{key:"disableMultipleSelection",value:function(){return this.selection.disableMultiple(),this}},{key:"toggleMultipleSelection",value:function(r){return r!=null?r!==this.isMultipleSelection()&&(r?this.enableMultipleSelection():this.disableMultipleSelection()):this.isMultipleSelection()?this.disableMultipleSelection():this.enableMultipleSelection(),this}},{key:"isSelectionMovable",value:function(){return this.selection.widget.options.movable!==!1}},{key:"enableSelectionMovable",value:function(){return this.selection.widget.options.movable=!0,this}},{key:"disableSelectionMovable",value:function(){return this.selection.widget.options.movable=!1,this}},{key:"toggleSelectionMovable",value:function(r){return r!=null?r!==this.isSelectionMovable()&&(r?this.enableSelectionMovable():this.disableSelectionMovable()):this.isSelectionMovable()?this.disableSelectionMovable():this.enableSelectionMovable(),this}},{key:"isRubberbandEnabled",value:function(){return!this.selection.rubberbandDisabled}},{key:"enableRubberband",value:function(){return this.selection.enableRubberband(),this}},{key:"disableRubberband",value:function(){return this.selection.disableRubberband(),this}},{key:"toggleRubberband",value:function(r){return r!=null?r!==this.isRubberbandEnabled()&&(r?this.enableRubberband():this.disableRubberband()):this.isRubberbandEnabled()?this.disableRubberband():this.enableRubberband(),this}},{key:"isStrictRubberband",value:function(){return this.selection.widget.options.strict===!0}},{key:"enableStrictRubberband",value:function(){return this.selection.widget.options.strict=!0,this}},{key:"disableStrictRubberband",value:function(){return this.selection.widget.options.strict=!1,this}},{key:"toggleStrictRubberband",value:function(r){return r!=null?r!==this.isStrictRubberband()&&(r?this.enableStrictRubberband():this.disableStrictRubberband()):this.isStrictRubberband()?this.disableStrictRubberband():this.enableStrictRubberband(),this}},{key:"setRubberbandModifiers",value:function(r){this.selection.setModifiers(r)}},{key:"setSelectionFilter",value:function(r){return this.selection.setFilter(r),this}},{key:"setSelectionDisplayContent",value:function(r){return this.selection.setContent(r),this}},{key:"isSelectionEmpty",value:function(){return this.selection.isEmpty()}},{key:"cleanSelection",value:function(r){return this.selection.clean(r),this}},{key:"resetSelection",value:function(r,d){return this.selection.reset(r,d),this}},{key:"getSelectedCells",value:function(){return this.selection.cells}},{key:"getSelectedCellCount",value:function(){return this.selection.length}},{key:"isSelected",value:function(r){return this.selection.isSelected(r)}},{key:"select",value:function(r,d){return this.selection.select(r,d),this}},{key:"unselect",value:function(r,d){return this.selection.unselect(r,d),this}},{key:"isSnaplineEnabled",value:function(){return!this.snapline.widget.disabled}},{key:"enableSnapline",value:function(){return this.snapline.widget.enable(),this}},{key:"disableSnapline",value:function(){return this.snapline.widget.disable(),this}},{key:"toggleSnapline",value:function(r){if(r!=null)r!==this.isSnaplineEnabled()&&(r?this.enableSnapline():this.disableSnapline());else return this.isSnaplineEnabled()?this.disableSnapline():this.enableSnapline(),this}},{key:"hideSnapline",value:function(){return this.snapline.widget.hide(),this}},{key:"setSnaplineFilter",value:function(r){return this.snapline.widget.setFilter(r),this}},{key:"isSnaplineOnResizingEnabled",value:function(){return this.snapline.widget.options.resizing===!0}},{key:"enableSnaplineOnResizing",value:function(){return this.snapline.widget.options.resizing=!0,this}},{key:"disableSnaplineOnResizing",value:function(){return this.snapline.widget.options.resizing=!1,this}},{key:"toggleSnaplineOnResizing",value:function(r){return r!=null?r!==this.isSnaplineOnResizingEnabled()&&(r?this.enableSnaplineOnResizing():this.disableSnaplineOnResizing()):this.isSnaplineOnResizingEnabled()?this.disableSnaplineOnResizing():this.enableSnaplineOnResizing(),this}},{key:"isSharpSnapline",value:function(){return this.snapline.widget.options.sharp===!0}},{key:"enableSharpSnapline",value:function(){return this.snapline.widget.options.sharp=!0,this}},{key:"disableSharpSnapline",value:function(){return this.snapline.widget.options.sharp=!1,this}},{key:"toggleSharpSnapline",value:function(r){return r!=null?r!==this.isSharpSnapline()&&(r?this.enableSharpSnapline():this.disableSharpSnapline()):this.isSharpSnapline()?this.disableSharpSnapline():this.enableSharpSnapline(),this}},{key:"getSnaplineTolerance",value:function(){return this.snapline.widget.options.tolerance}},{key:"setSnaplineTolerance",value:function(r){return this.snapline.widget.options.tolerance=r,this}},{key:"removeTools",value:function(){return this.emit("tools:remove"),this}},{key:"hideTools",value:function(){return this.emit("tools:hide"),this}},{key:"showTools",value:function(){return this.emit("tools:show"),this}},{key:"toSVG",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.format.toSVG(r,d)}},{key:"toDataURL",value:function(r,d){this.format.toDataURL(r,d)}},{key:"toPNG",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.format.toPNG(r,d)}},{key:"toJPEG",value:function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.format.toJPEG(r,d)}},{key:"printPreview",value:function(r){this.print.show(r)}},{key:"dispose",value:function(){this.clearCells(),this.off(),this.css.dispose(),this.hook.dispose(),this.defs.dispose(),this.grid.dispose(),this.coord.dispose(),this.transform.dispose(),this.knob.dispose(),this.highlight.dispose(),this.background.dispose(),this.clipboard.dispose(),this.snapline.dispose(),this.selection.dispose(),this.history.dispose(),this.keyboard.dispose(),this.mousewheel.dispose(),this.print.dispose(),this.format.dispose(),this.minimap.dispose(),this.panning.dispose(),this.scroller.dispose(),this.view.dispose(),this.renderer.dispose(),this.size.dispose()}}]),o}(yh,Symbol.toStringTag);Zm([xm.checkScroller()],bf.prototype,"lockScroller",null),Zm([xm.checkScroller()],bf.prototype,"unlockScroller",null),Zm([xm.checkScroller()],bf.prototype,"updateScroller",null),Zm([xm.checkScroller()],bf.prototype,"getScrollbarPosition",null),Zm([xm.checkScroller()],bf.prototype,"setScrollbarPosition",null),Zm([xm.checkScroller()],bf.prototype,"scrollToPoint",null),Zm([xm.checkScroller()],bf.prototype,"scrollToContent",null),Zm([xm.checkScroller()],bf.prototype,"scrollToCell",null),Zm([xm.checkScroller()],bf.prototype,"transitionToPoint",null),Zm([xm.checkScroller()],bf.prototype,"transitionToRect",null),Zm([yh.dispose()],bf.prototype,"dispose",null),function(u){u.View=X_,u.Hook=vf,u.Renderer=sO,u.Keyboard=O2,u.MouseWheel=SL,u.BaseManager=rp,u.DefsManager=Mj,u.GridManager=OL,u.CoordManager=pV,u.PrintManager=C2,u.FormatManager=TL,u.MiniMapManager=xL,u.HistoryManager=yb,u.SnaplineManager=Pj,u.ScrollerManager=CL,u.ClipboardManager=Rj,u.TransformManager=Ij,u.HighlightManager=Dj,u.BackgroundManager=kj,u.SelectionManager=EL}(bf||(bf={})),function(u){u.toStringTag="X6.".concat(u.name);function i(c){if(c==null)return!1;if(c instanceof u)return!0;var o=c[Symbol.toStringTag],t=c;return(o==null||o===u.toStringTag)&&t.hook!=null&&t.view!=null&&t.model!=null}u.isGraph=i}(bf||(bf={})),function(u){function i(c,o){var t=c instanceof HTMLElement?new u({container:c}):new u(c);return o!=null&&t.fromJSON(o),t}u.render=i}(bf||(bf={})),function(u){u.registerNode=zf.registry.register,u.registerEdge=Zp.registry.register,u.registerView=ov.registry.register,u.registerAttr=Wm.registry.register,u.registerGrid=X0.registry.register,u.registerFilter=K1.registry.register,u.registerNodeTool=pb.registry.register,u.registerEdgeTool=Z0.registry.register,u.registerBackground=HC.registry.register,u.registerHighlighter=G_.registry.register,u.registerPortLayout=db.registry.register,u.registerPortLabelLayout=Y1.registry.register,u.registerMarker=Y0.registry.register,u.registerRouter=ey.registry.register,u.registerConnector=mb.registry.register,u.registerAnchor=eO.registry.register,u.registerEdgeAnchor=tO.registry.register,u.registerConnectionPoint=vb.registry.register,u.registerConnectionStrategy=Z1.registry.register,u.registerHTMLComponent=Xm.componentRegistry.register}(bf||(bf={})),function(u){u.unregisterNode=zf.registry.unregister,u.unregisterEdge=Zp.registry.unregister,u.unregisterView=ov.registry.unregister,u.unregisterAttr=Wm.registry.unregister,u.unregisterGrid=X0.registry.unregister,u.unregisterFilter=K1.registry.unregister,u.unregisterNodeTool=pb.registry.unregister,u.unregisterEdgeTool=Z0.registry.unregister,u.unregisterBackground=HC.registry.unregister,u.unregisterHighlighter=G_.registry.unregister,u.unregisterPortLayout=db.registry.unregister,u.unregisterPortLabelLayout=Y1.registry.unregister,u.unregisterMarker=Y0.registry.unregister,u.unregisterRouter=ey.registry.unregister,u.unregisterConnector=mb.registry.unregister,u.unregisterAnchor=eO.registry.unregister,u.unregisterEdgeAnchor=tO.registry.unregister,u.unregisterConnectionPoint=vb.registry.unregister,u.unregisterConnectionStrategy=Z1.registry.unregister,u.unregisterHTMLComponent=Xm.componentRegistry.unregister}(bf||(bf={}));var qg=function(){function u(){Object(xi.a)(this,u),this.cells=[]}return Object(Pi.a)(u,[{key:"copy",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.options=Object.assign({},t);var r=Ag.isModel(o)?o:o.model,d=r.cloneSubGraph(c,t);this.cells=E.sortBy(Object.keys(d).map(function(v){return d[v]}),function(v){return v.isEdge()?2:1}),this.serialize(t)}},{key:"cut",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.copy(c,o,t);var r=bf.isGraph(o)?o.model:o;r.batchUpdate("cut",function(){c.forEach(function(d){return d.remove()})})}},{key:"paste",value:function(c){var o=this,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Object.assign(Object.assign({},this.options),t),d=r.offset,v=r.edgeProps,g=r.nodeProps,b=20,P=20;d&&(b=typeof d=="number"?d:d.dx,P=typeof d=="number"?d:d.dy),this.deserialize(r);var I=this.cells;I.forEach(function(K){K.model=null,K.removeProp("zIndex"),(b||P)&&K.translate(b,P),g&&K.isNode()&&K.prop(g),v&&K.isEdge()&&K.prop(v)});var V=bf.isGraph(c)?c.model:c;return V.batchUpdate("paste",function(){V.addCells(o.cells)}),this.copy(I,c,t),I}},{key:"serialize",value:function(c){c.useLocalStorage!==!1&&E2.save(this.cells)}},{key:"deserialize",value:function(c){if(c.useLocalStorage){var o=E2.fetch();o&&(this.cells=o)}}},{key:"isEmpty",value:function(){return this.cells.length<=0}},{key:"clean",value:function(){this.options={},this.cells=[],E2.clean()}}]),u}(),E2;(function(u){var i="".concat(Jg.prefixCls,".clipboard.cells");function c(r){if(window.localStorage){var d=r.map(function(v){return v.toJSON()});localStorage.setItem(i,JSON.stringify(d))}}u.save=c;function o(){if(window.localStorage){var r=localStorage.getItem(i),d=r?JSON.parse(r):[];if(d)return Ag.fromJSON(d)}}u.fetch=o;function t(){window.localStorage&&localStorage.removeItem(i)}u.clean=t})(E2||(E2={}));var AL=function(){function u(i){Object(xi.a)(this,u),this.halo=i}return Object(Pi.a)(u,[{key:"options",get:function(){return this.halo.options}},{key:"graph",get:function(){return this.halo.graph}},{key:"model",get:function(){return this.halo.model}},{key:"view",get:function(){return this.halo.view}},{key:"cell",get:function(){return this.halo.cell}},{key:"node",get:function(){return this.cell}},{key:"getPresets",value:function(){return{className:"type-node",handles:[{name:"remove",position:"nw",events:{mousedown:this.removeCell.bind(this)},icon:null},{name:"resize",position:"se",events:{mousedown:this.startResize.bind(this),mousemove:this.doResize.bind(this),mouseup:this.stopResize.bind(this)},icon:null},{name:"clone",position:"n",events:{mousedown:this.startClone.bind(this),mousemove:this.doClone.bind(this),mouseup:this.stopClone.bind(this)},icon:null},{name:"link",position:"e",events:{mousedown:this.startLink.bind(this),mousemove:this.doLink.bind(this),mouseup:this.stopLink.bind(this)},icon:null},{name:"fork",position:"ne",events:{mousedown:this.startFork.bind(this),mousemove:this.doFork.bind(this),mouseup:this.stopFork.bind(this)},icon:null},{name:"unlink",position:"w",events:{mousedown:this.unlink.bind(this)},icon:null},{name:"rotate",position:"sw",events:{mousedown:this.startRotate.bind(this),mousemove:this.doRotate.bind(this),mouseup:this.stopRotate.bind(this)},icon:null}],bbox:function(o){if(this.options.useCellGeometry){var t=o.cell;return t.getBBox()}return o.getBBox()},content:function(o){var t=O.template("x: <%= x %>, y: <%= y %>, width: <%= width %>, height: <%= height %>, angle: <%= angle %>"),r=o.cell,d=r.getBBox();return t({x:Math.floor(d.x),y:Math.floor(d.y),width:Math.floor(d.width),height:Math.floor(d.height),angle:Math.floor(r.getAngle())})},magnet:function(o){return o.container},tinyThreshold:40,smallThreshold:80,loopEdgePreferredSide:"top",loopEdgeWidth:40,rotateGrid:15,rotateEmbeds:!1}}},{key:"removeCell",value:function(){this.model.removeConnectedEdges(this.cell),this.cell.remove()}},{key:"startLink",value:function(c){var o=c.x,t=c.y;this.halo.startBatch();var r=this.graph,d=this.createEdgeConnectedToSource();d.setTarget({x:o,y:t}),this.model.addEdge(d,{validation:!1,halo:this.halo.cid,async:!1}),r.view.undelegateEvents(),this.edgeView=r.renderer.findViewByCell(d),this.edgeView.prepareArrowheadDragging("target",{x:o,y:t,fallbackAction:"remove"})}},{key:"createEdgeConnectedToSource",value:function(){var c=this.getMagnet(this.view,"source"),o=this.getEdgeTerminal(this.view,c),t=this.graph.hook.getDefaultEdge(this.view,c);return t.setSource(o),t}},{key:"getMagnet",value:function(c,o){var t=this.options.magnet;if(typeof t=="function"){var r=k.call(t,this.halo,c,o);if(r instanceof SVGElement)return r}throw new Error("`magnet()` has to return an SVGElement")}},{key:"getEdgeTerminal",value:function(c,o){var t={cell:c.cell.id};if(o!==c.container){var r=o.getAttribute("port");r?t.port=r:t.selector=c.getSelector(o)}return t}},{key:"doLink",value:function(c){var o=c.e,t=c.x,r=c.y;this.edgeView&&this.edgeView.onMouseMove(o,t,r)}},{key:"stopLink",value:function(c){var o=c.e,t=c.x,r=c.y,d=this.edgeView;if(d){d.onMouseUp(o,t,r);var v=d.cell;v.hasLoop()&&this.makeLoopEdge(v),this.halo.stopBatch(),this.halo.trigger("action:edge:addde",{edge:v}),this.edgeView=null}this.graph.view.delegateEvents()}},{key:"makeLoopEdge",value:function(c){var o=null,t=null,r=this.options.loopEdgeWidth,d=this.graph.options,v=new xl(0,0,d.width,d.height),g=this.graph.graphToLocal(this.view.getBBox()),b=[this.options.loopEdgePreferredSide,"top","bottom","left","right"].some(function(P){var I=null,V=0,K=0;switch(P){case"top":I=new $i(g.x+g.width/2,g.y-r),V=r/2;break;case"bottom":I=new $i(g.x+g.width/2,g.y+g.height+r),V=r/2;break;case"left":I=new $i(g.x-r,g.y+g.height/2),K=r/2;break;case"right":I=new $i(g.x+g.width+r,g.y+g.height/2),K=r/2;break;default:break}return I?(o=I.translate(-V,-K),t=I.translate(V,K),v.containsPoint(o)&&v.containsPoint(t)):!1});b&&o&&t&&c.setVertices([o,t])}},{key:"startResize",value:function(c){var o=c.e;this.halo.startBatch(),this.flip=[1,0,0,1,1,0,0,1][Math.floor(uf.normalize(this.node.getAngle())/45)],this.view.addClass("node-resizing"),Iv("node:resize",o,this.view)}},{key:"doResize",value:function(c){var o=c.e,t=c.dx,r=c.dy,d=this.node.getSize(),v=Math.max(d.width+(this.flip?t:r),1),g=Math.max(d.height+(this.flip?r:t),1);this.node.resize(v,g,{absolute:!0}),Iv("node:resizing",o,this.view)}},{key:"stopResize",value:function(c){var o=c.e;this.view.removeClass("node-resizing"),Iv("node:resized",o,this.view),this.halo.stopBatch()}},{key:"startClone",value:function(c){var o=c.e,t=c.x,r=c.y;this.halo.startBatch();var d=this.options,v=d.clone(this.cell,{clone:!0});if(!Mf.isCell(v))throw new Error("option 'clone()' has to return a cell");this.centerNodeAtCursor(v,t,r),this.model.addCell(v,{halo:this.halo.cid,async:!1});var g=this.graph.renderer.findViewByCell(v);g.onMouseDown(o,t,r),this.halo.setEventData(o,{cloneView:g})}},{key:"centerNodeAtCursor",value:function(c,o,t){var r=c.getBBox().getCenter(),d=o-r.x,v=t-r.y;c.translate(d,v)}},{key:"doClone",value:function(c){var o=c.e,t=c.x,r=c.y,d=this.halo.getEventData(o).cloneView;d&&d.onMouseMove(o,t,r)}},{key:"stopClone",value:function(c){var o=c.e,t=c.x,r=c.y,d=this.halo.getEventData(o).cloneView;d&&d.onMouseUp(o,t,r),this.halo.stopBatch()}},{key:"startFork",value:function(c){var o=c.e,t=c.x,r=c.y;this.halo.startBatch();var d=this.options.clone(this.cell,{fork:!0});if(!Mf.isCell(d))throw new Error("option 'clone()' has to return a cell");this.centerNodeAtCursor(d,t,r),this.model.addCell(d,{halo:this.halo.cid,async:!1});var v=this.createEdgeConnectedToSource(),g=this.graph.renderer.findViewByCell(d),b=this.getMagnet(g,"target"),P=this.getEdgeTerminal(g,b);v.setTarget(P),this.model.addEdge(v,{halo:this.halo.cid,async:!1}),g.onMouseDown(o,t,r),this.halo.setEventData(o,{cloneView:g})}},{key:"doFork",value:function(c){var o=c.e,t=c.x,r=c.y,d=this.halo.getEventData(o).cloneView;d&&d.onMouseMove(o,t,r)}},{key:"stopFork",value:function(c){var o=c.e,t=c.x,r=c.y,d=this.halo.getEventData(o).cloneView;d&&d.onMouseUp(o,t,r),this.halo.stopBatch()}},{key:"startRotate",value:function(c){var o=this,t=c.e,r=c.x,d=c.y;this.halo.startBatch();var v=this.node.getBBox().getCenter(),g=[this.node];this.options.rotateEmbeds&&this.node.getDescendants({deep:!0}).reduce(function(b,P){return P.isNode()&&b.push(P),b},g),this.halo.setEventData(t,{center:v,nodes:g,rotateStartAngles:g.map(function(b){return b.getAngle()}),clientStartAngle:new $i(r,d).theta(v)}),g.forEach(function(b){var P=o.graph.findViewByCell(b);P&&(P.addClass("node-rotating"),Iv("node:rotate",t,P))})}},{key:"doRotate",value:function(c){var o=this,t=c.e,r=c.x,d=c.y,v=this.halo.getEventData(t),g=v.clientStartAngle-new $i(r,d).theta(v.center);v.nodes.forEach(function(b,P){var I=v.rotateStartAngles[P],V=Cv.snapToGrid(I+g,o.options.rotateGrid);b.rotate(V,{absolute:!0,center:v.center,halo:o.halo.cid}),Iv("node:rotating",t,o.graph.findViewByCell(b))})}},{key:"stopRotate",value:function(c){var o=this,t=c.e,r=this.halo.getEventData(t);r.nodes.forEach(function(d){var v=o.graph.findViewByCell(d);v.removeClass("node-rotating"),Iv("node:rotated",t,v)}),this.halo.stopBatch()}},{key:"unlink",value:function(){this.halo.startBatch(),this.model.removeConnectedEdges(this.cell),this.halo.stopBatch()}}]),u}(),OV=function(){function u(i){Object(xi.a)(this,u),this.halo=i}return Object(Pi.a)(u,[{key:"options",get:function(){return this.halo.options}},{key:"graph",get:function(){return this.halo.graph}},{key:"model",get:function(){return this.halo.model}},{key:"view",get:function(){return this.halo.view}},{key:"cell",get:function(){return this.halo.cell}},{key:"edge",get:function(){return this.cell}},{key:"getPresets",value:function(){return{className:"type-edge",handles:[{name:"remove",position:"nw",icon:null,events:{mousedown:this.removeEdge.bind(this)}},{name:"direction",position:"se",icon:null,events:{mousedown:this.directionSwap.bind(this)}}],content:!1,bbox:function(o){return o.graph.localToGraph(o.getPointAtRatio(.5))},tinyThreshold:-1,smallThreshold:-1}}},{key:"removeEdge",value:function(){this.cell.remove()}},{key:"directionSwap",value:function(){var c=this.edge.getSource(),o=this.edge.getTarget();this.edge.prop({source:o,target:c})}}]),u}(),cO=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"type",get:function(){return this.options.type||"surround"}},{key:"handleOptions",get:function(){return this.options}},{key:"init",value:function(t){this.options=m.merge(c.defaultOptions,this.cell.isNode()?new AL(this).getPresets():this.cell.isEdge()?new OV(this).getPresets():null,t),this.render(),this.initHandles(),this.update(),this.startListening()}},{key:"startListening",value:function(){var t=this.model,r=this.graph,d=this.view.cell;d.on("removed",this.remove,this),t.on("reseted",this.remove,this),r.on("halo:destroy",this.remove,this),t.on("*",this.update,this),r.on("scale",this.update,this),r.on("translate",this.update,this),Object($u.a)(Object(Wu.a)(c.prototype),"startListening",this).call(this)}},{key:"stopListening",value:function(){var t=this.model,r=this.graph,d=this.view.cell;this.undelegateEvents(),d.off("removed",this.remove,this),t.off("reseted",this.remove,this),r.off("halo:destroy",this.remove,this),t.off("*",this.update,this),r.off("scale",this.update,this),r.off("translate",this.update,this),Object($u.a)(Object(Wu.a)(c.prototype),"stopListening",this).call(this)}},{key:"render",value:function(){var t=this.options,r=this.prefixClassName("widget-halo");return this.view.addClass(x2.NODE_CLS),this.container=document.createElement("div"),this.$container=this.$(this.container).addClass(r).attr("data-shape",this.view.cell.shape),t.className&&this.$container.addClass(t.className),this.$handleContainer=this.$("<div/>").addClass("".concat(r,"-handles")).appendTo(this.container),this.$content=this.$("<div/>").addClass("".concat(r,"-content")).appendTo(this.container),this.$container.appendTo(this.graph.container),this}},{key:"remove",value:function(){return this.stopBatch(),this.view.removeClass(x2.NODE_CLS),Object($u.a)(Object(Wu.a)(c.prototype),"remove",this).call(this)}},{key:"update",value:function(){if(this.isRendered()){this.updateContent();var t=this.getBBox(),r=this.options.tinyThreshold||0,d=this.options.smallThreshold||0;this.$handleContainer.toggleClass("".concat(this.handleClassName,"-tiny"),t.width<r&&t.height<r);var v="".concat(this.handleClassName,"-small");this.$handleContainer.toggleClass(v,!this.$handleContainer.hasClass(v)&&t.width<d&&t.height<d),this.$container.css({width:t.width,height:t.height,left:t.x,top:t.y}),this.hasHandle("unlink")&&this.toggleUnlink(),(this.type==="surround"||this.type==="toolbar")&&this.hasHandle("fork")&&this.toggleFork()}}},{key:"updateContent",value:function(){var t=this.options.content;if(typeof t=="function"){var r=k.call(t,this,this.view,this.$content[0]);r&&this.$content.html(r)}else t?this.$content.html(t):this.$content.remove()}},{key:"getBBox",value:function(){var t=this.view,r=this.options.bbox,d=typeof r=="function"?k.call(r,this,t):r;return xl.create(Object.assign({x:0,y:0,width:1,height:1},d))}},{key:"removeCell",value:function(){this.cell.remove()}},{key:"toggleFork",value:function(){var t=this.view.cell.clone(),r=this.graph.hook.createCellView(t),d=this.graph.hook.validateConnection(this.view,null,r,null,"target");this.$handleContainer.children(".fork").toggleClass("hidden",!d),r.remove()}},{key:"toggleUnlink",value:function(){var t=this.model.getConnectedEdges(this.view.cell).length>0;this.$handleContainer.children(".unlink").toggleClass("hidden",!t)}},{key:"startBatch",value:function(){this.model.startBatch("halo",{halo:this.cid})}},{key:"stopBatch",value:function(){this.model.hasActiveBatch("halo")&&this.model.stopBatch("halo",{halo:this.cid})}}]),c}(_2);(function(u){u.defaultOptions={type:"surround",clearAll:!0,clearOnBlankMouseDown:!0,useCellGeometry:!1,clone:function(c){return c.clone().removeZIndex()}}})(cO||(cO={})),Object.getOwnPropertyNames(m2.prototype).forEach(function(u){u!=="constructor"&&Object.defineProperty(cO.prototype,u,Object.getOwnPropertyDescriptor(m2.prototype,u))});var x2;(function(u){u.NODE_CLS="has-widget-halo"})(x2||(x2={}));var rne=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},QC=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.options=Object.assign(Object.assign({},c.defaults),o),t.container=document.createElement("div"),t.$container=t.$(t.container).addClass(t.prefixClassName("widget-dnd")),t.draggingGraph=new bf(Object.assign(Object.assign({},t.options.delegateGraphOptions),{container:document.createElement("div"),width:1,height:1})),t.$container.append(t.draggingGraph.container),t}return Object(Pi.a)(c,[{key:"targetScroller",get:function(){var t=this.options.target;return bf.isGraph(t)?t.scroller.widget:t}},{key:"targetGraph",get:function(){var t=this.options.target;return bf.isGraph(t)?t:t.graph}},{key:"targetModel",get:function(){return this.targetGraph.model}},{key:"snapline",get:function(){return this.targetGraph.snapline.widget}},{key:"start",value:function(t,r){var d=r;d.preventDefault(),this.targetModel.startBatch("dnd"),this.$container.addClass("dragging").appendTo(this.options.draggingContainer||document.body),this.sourceNode=t,this.prepareDragging(t,d.clientX,d.clientY);var v=this.updateNodePosition(d.clientX,d.clientY);this.isSnaplineEnabled()&&(this.snapline.captureCursorOffset({e:d,node:t,cell:t,view:this.draggingView,x:v.x,y:v.y}),this.draggingNode.on("change:position",this.snap,this)),this.delegateDocumentEvents(c.documentEvents,d.data)}},{key:"isSnaplineEnabled",value:function(){return this.snapline&&!this.snapline.disabled}},{key:"prepareDragging",value:function(t,r,d){var v=this.draggingGraph,g=v.model,b=this.options.getDragNode(t,{sourceNode:t,draggingGraph:v,targetGraph:this.targetGraph});b.position(0,0);var P=5;if(this.isSnaplineEnabled()&&(P+=this.snapline.options.tolerance||0),this.isSnaplineEnabled()||this.options.scaled){var I=this.targetGraph.transform.getScale();v.scale(I.sx,I.sy),P*=Math.max(I.sx,I.sy)}else v.scale(1,1);this.clearDragging(),this.options.animation&&this.$container.stop(!0,!0),g.resetCells([b]);var V=v.findViewByCell(b);V.undelegateEvents(),V.cell.off("changed"),v.fitToContent({padding:P,allowNewOrigin:"any"});var K=V.getBBox();this.geometryBBox=V.getBBox({useCellGeometry:!0}),this.delta=this.geometryBBox.getTopLeft().diff(K.getTopLeft()),this.draggingNode=b,this.draggingView=V,this.draggingBBox=b.getBBox(),this.padding=P,this.originOffset=this.updateGraphPosition(r,d)}},{key:"updateGraphPosition",value:function(t,r){var d=document.body.scrollTop||document.documentElement.scrollTop,v=this.delta,g=this.geometryBBox,b=this.padding||5,P={left:t-v.x-g.width/2-b,top:r-v.y-g.height/2-b+d};return this.draggingGraph&&this.$container.offset(P),P}},{key:"updateNodePosition",value:function(t,r){var d=this.targetGraph.clientToLocal(t,r),v=this.draggingBBox;return d.x-=v.width/2,d.y-=v.height/2,this.draggingNode.position(d.x,d.y),d}},{key:"snap",value:function(t){var r=t.cell,d=t.current,v=t.options,g=r;if(v.snapped){var b=this.draggingBBox;g.position(b.x+v.tx,b.y+v.ty,{silent:!0}),this.draggingView.translate(),g.position(d.x,d.y,{silent:!0}),this.snapOffset={x:v.tx,y:v.ty}}else this.snapOffset=null}},{key:"onDragging",value:function(t){var r=this.draggingView;if(r){t.preventDefault();var d=this.normalizeEvent(t),v=d.clientX,g=d.clientY;this.updateGraphPosition(v,g);var b=this.updateNodePosition(v,g),P=this.targetGraph.options.embedding.enabled,I=(P||this.isSnaplineEnabled())&&this.isInsideValidArea({x:v,y:g});if(P){r.setEventData(d,{graph:this.targetGraph,candidateEmbedView:this.candidateEmbedView});var V=r.getEventData(d);I?r.processEmbedding(d,V):r.clearEmbedding(V),this.candidateEmbedView=V.candidateEmbedView}this.isSnaplineEnabled()&&(I?this.snapline.snapOnMoving({e:d,view:r,x:b.x,y:b.y}):this.snapline.hide())}}},{key:"onDragEnd",value:function(t){var r=this,d=this.draggingNode;if(d){var v=this.normalizeEvent(t),g=this.draggingView,b=this.draggingBBox,P=this.snapOffset,I=b.x,V=b.y;P&&(I+=P.x,V+=P.y),d.position(I,V,{silent:!0});var K=this.drop(d,{x:v.clientX,y:v.clientY}),ae=function(ve){ve?(r.onDropped(d),r.targetGraph.options.embedding.enabled&&g&&(g.setEventData(v,{cell:ve,graph:r.targetGraph,candidateEmbedView:r.candidateEmbedView}),g.finalizeEmbedding(v,g.getEventData(v)))):r.onDropInvalid(),r.candidateEmbedView=null,r.targetModel.stopBatch("dnd")};k.isAsync(K)?(this.undelegateDocumentEvents(),K.then(ae)):ae(K)}}},{key:"clearDragging",value:function(){this.draggingNode&&(this.sourceNode=null,this.draggingNode.remove(),this.draggingNode=null,this.draggingView=null,this.delta=null,this.padding=null,this.snapOffset=null,this.originOffset=null,this.undelegateDocumentEvents())}},{key:"onDropped",value:function(t){this.draggingNode===t&&(this.clearDragging(),this.$container.removeClass("dragging").remove())}},{key:"onDropInvalid",value:function(){var t=this,r=this.draggingNode;if(r){var d=this.options.animation;if(d){var v=typeof d=="object"&&d.duration||150,g=typeof d=="object"&&d.easing||"swing";this.draggingView=null,this.$container.animate(this.originOffset,v,g,function(){return t.onDropped(r)})}else this.onDropped(r)}}},{key:"isInsideValidArea",value:function(t){var r,d=null,v=this.targetGraph,g=this.targetScroller;this.options.dndContainer&&(d=this.getDropArea(this.options.dndContainer));var b=d&&d.containsPoint(t);if(g)if(g.options.autoResize)r=this.getDropArea(g.container);else{var P=this.getDropArea(g.container);r=this.getDropArea(v.container).intersectsWithRect(P)}else r=this.getDropArea(v.container);return!b&&r&&r.containsPoint(t)}},{key:"getDropArea",value:function(t){var r=this.$(t),d=r.offset(),v=document.body.scrollTop||document.documentElement.scrollTop,g=document.body.scrollLeft||document.documentElement.scrollLeft;return xl.create({x:d.left+parseInt(r.css("border-left-width"),10)-g,y:d.top+parseInt(r.css("border-top-width"),10)-v,width:r.innerWidth(),height:r.innerHeight()})}},{key:"drop",value:function(t,r){var d=this;if(this.isInsideValidArea(r)){var v=this.targetGraph,g=v.model,b=v.clientToLocal(r),P=this.sourceNode,I=this.options.getDropNode(t,{sourceNode:P,draggingNode:t,targetGraph:this.targetGraph,draggingGraph:this.draggingGraph}),V=I.getBBox();b.x+=V.x-V.width/2,b.y+=V.y-V.height/2;var K=this.snapOffset?1:v.getGridSize();I.position(Cv.snapToGrid(b.x,K),Cv.snapToGrid(b.y,K)),I.removeZIndex();var ae=this.options.validateNode,ue=ae?ae(I,{sourceNode:P,draggingNode:t,droppingNode:I,targetGraph:v,draggingGraph:this.draggingGraph}):!0;return typeof ue=="boolean"?ue?(g.addCell(I,{stencil:this.cid}),I):null:k.toDeferredBoolean(ue).then(function(ve){return ve?(g.addCell(I,{stencil:d.cid}),I):null})}return null}},{key:"onRemove",value:function(){this.draggingGraph&&(this.draggingGraph.view.remove(),this.draggingGraph.dispose())}},{key:"dispose",value:function(){this.remove()}}]),c}(Nf);rne([Nf.dispose()],QC.prototype,"dispose",null),function(u){u.defaults={animation:!1,getDragNode:function(c){return c.clone()},getDropNode:function(c){return c.clone()}},u.documentEvents={mousemove:"onDragging",touchmove:"onDragging",mouseup:"onDragEnd",touchend:"onDragEnd",touchcancel:"onDragEnd"}}(QC||(QC={}));function ane(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=Ag.isModel(u)?u:new Ag().resetCells(u,{sort:!1,dryrun:!0}),o=c.getNodes(),t=i.columns||1,r=Math.ceil(o.length/t),d=i.dx||0,v=i.dy||0,g=i.center!==!1,b=i.resizeToFit===!0,P=i.marginX||0,I=i.marginY||0,V=[],K=i.columnWidth;if(K==="compact")for(var ae=0;ae<t;ae+=1){var ue=Qm.getNodesInColumn(o,ae,t);V.push(Qm.getMaxDim(ue,"width")+d)}else{(K==null||K==="auto")&&(K=Qm.getMaxDim(o,"width")+d);for(var ve=0;ve<t;ve+=1)V.push(K)}var Oe=Qm.accumulate(V,P),ke=[],Ie=i.rowHeight;if(Ie==="compact")for(var Ye=0;Ye<r;Ye+=1){var Ze=Qm.getNodesInRow(o,Ye,t);ke.push(Qm.getMaxDim(Ze,"height")+v)}else{(Ie==null||Ie==="auto")&&(Ie=Qm.getMaxDim(o,"height")+v);for(var et=0;et<r;et+=1)ke.push(Ie)}var yt=Qm.accumulate(ke,I);c.startBatch("layout"),o.forEach(function(jt,Ft){var Ht=Ft%t,Gt=Math.floor(Ft/t),Jt=V[Ht],mn=ke[Gt],vn=0,Yt=0,En=jt.getSize();if(b){var or=Jt-2*d,$r=mn-2*v,vr=En.height*(En.width?or/En.width:1),Er=En.width*(En.height?$r/En.height:1);mn<vr?or=Er:$r=vr,En={width:or,height:$r},jt.setSize(En,i)}g&&(vn=(Jt-En.width)/2,Yt=(mn-En.height)/2),jt.position(Oe[Ht]+d+vn,yt[Gt]+v+Yt,i)}),c.stopBatch("layout")}var Qm;(function(u){function i(r,d){return r.reduce(function(v,g){return Math.max(g.getSize()[d],v)},0)}u.getMaxDim=i;function c(r,d,v){for(var g=[],b=v*d,P=b+v;b<P;b+=1)g.push(r[b]);return g}u.getNodesInRow=c;function o(r,d,v){for(var g=[],b=d,P=r.length;b<P;b+=v)g.push(r[b]);return g}u.getNodesInColumn=o;function t(r,d){return r.reduce(function(v,g,b){return v.push(v[b]+g),v},[d||0])}u.accumulate=t})(Qm||(Qm={}));var kL=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;if(Object(xi.a)(this,c),t=i.call(this),t.graphs={},t.$groups={},t.options=Object.assign(Object.assign({},c.defaultOptions),o),t.dnd=new QC(t.options),t.onSearch=k.debounce(t.onSearch,200),t.container=document.createElement("div"),t.$container=t.$(t.container).addClass(t.prefixClassName(kg.base)).attr("data-not-found-text",t.options.notFoundText||"No matches found"),t.options.collapsable=o.collapsable&&o.groups&&o.groups.some(function(g){return g.collapsable!==!1}),t.options.collapsable){t.$container.addClass("collapsable");var r=o.groups&&o.groups.every(function(g){return g.collapsed||g.collapsable===!1});r&&t.$container.addClass("collapsed")}t.$("<div/>").addClass(t.prefixClassName(kg.title)).html(t.options.title).appendTo(t.$container),o.search&&t.$container.addClass("searchable").append(t.renderSearch()),t.$content=t.$("<div/>").addClass(t.prefixClassName(kg.content)).appendTo(t.$container);var d=o.stencilGraphOptions||{};if(o.groups&&o.groups.length)o.groups.forEach(function(g){var b=t.$("<div/>").addClass(t.prefixClassName(kg.group)).attr("data-name",g.name);(g.collapsable==null&&o.collapsable||g.collapsable!==!1)&&b.addClass("collapsable"),b.toggleClass("collapsed",g.collapsed===!0);var P=t.$("<h3/>").addClass(t.prefixClassName(kg.groupTitle)).html(g.title||g.name),I=t.$("<div/>").addClass(t.prefixClassName(kg.groupContent)),V=g.graphOptions,K=new bf(Object.assign(Object.assign(Object.assign({},d),V),{container:document.createElement("div"),model:d.model||new Ag,width:g.graphWidth||o.stencilGraphWidth,height:g.graphHeight||o.stencilGraphHeight,interacting:!1,preventDefaultBlankAction:!1}));I.append(K.container),b.append(P,I).appendTo(t.$content),t.$groups[g.name]=b,t.graphs[g.name]=K});else{var v=new bf(Object.assign(Object.assign({},d),{container:document.createElement("div"),model:d.model||new Ag,width:o.stencilGraphWidth,height:o.stencilGraphHeight,interacting:!1,preventDefaultBlankAction:!1}));t.$content.append(v.container),t.graphs[wm.defaultGroupName]=v}return t.startListening(),Object(vN.a)(t,Object(Fp.a)(t))}return Object(Pi.a)(c,[{key:"targetScroller",get:function(){var t=this.options.target;return bf.isGraph(t)?t.scroller.widget:t}},{key:"targetGraph",get:function(){var t=this.options.target;return bf.isGraph(t)?t:t.graph}},{key:"targetModel",get:function(){return this.targetGraph.model}},{key:"renderSearch",value:function(){return this.$("<div/>").addClass(this.prefixClassName(kg.search)).append(this.$("<input/>").attr({type:"search",placeholder:this.options.placeholder||"Search"}).addClass(this.prefixClassName(kg.searchText)))}},{key:"startListening",value:function(){var t,r=this,d=this.prefixClassName(kg.title),v=this.prefixClassName(kg.searchText),g=this.prefixClassName(kg.groupTitle);this.delegateEvents((t={},Object(qc.a)(t,"click .".concat(d),"onTitleClick"),Object(qc.a)(t,"touchstart .".concat(d),"onTitleClick"),Object(qc.a)(t,"click .".concat(g),"onGroupTitleClick"),Object(qc.a)(t,"touchstart .".concat(g),"onGroupTitleClick"),Object(qc.a)(t,"input .".concat(v),"onSearch"),Object(qc.a)(t,"focusin .".concat(v),"onSearchFocusIn"),Object(qc.a)(t,"focusout .".concat(v),"onSearchFocusOut"),t)),Object.keys(this.graphs).forEach(function(b){var P=r.graphs[b];P.on("cell:mousedown",r.onDragStart,r)})}},{key:"stopListening",value:function(){var t=this;this.undelegateEvents(),Object.keys(this.graphs).forEach(function(r){var d=t.graphs[r];d.off("cell:mousedown",t.onDragStart,t)})}},{key:"load",value:function(t,r){var d=this;return Array.isArray(t)?this.loadGroup(t,r):this.options.groups&&Object.keys(this.options.groups).forEach(function(v){t[v]&&d.loadGroup(t[v],v)}),this}},{key:"loadGroup",value:function(t,r){var d=this.getModel(r);if(d){var v=t.map(function(V){return zf.isNode(V)?V:zf.create(V)});d.resetCells(v)}var g=this.getGroup(r),b=this.options.stencilGraphHeight;g&&g.graphHeight!=null&&(b=g.graphHeight);var P=g&&g.layout||this.options.layout;if(P&&d&&k.call(P,this,d,g),!b){var I=this.getGraph(r);I.fitToContent({minWidth:I.options.width,gridHeight:1,padding:g&&g.graphPadding||this.options.stencilGraphPadding||10})}return this}},{key:"onDragStart",value:function(t){var r=t.e,d=t.node;this.dnd.start(d,r)}},{key:"filter",value:function(t,r){var d=this,v=Object.keys(this.graphs).reduce(function(g,b){var P=d.graphs[b],I=b===wm.defaultGroupName?null:b,V=P.model.getNodes().filter(function(ve){var Oe=!1;typeof r=="function"?Oe=k.call(r,d,ve,t,I,d):typeof r=="boolean"?Oe=r:Oe=d.isCellMatched(ve,t,r,t.toLowerCase()!==t);var ke=P.renderer.findViewByCell(ve);return ke&&ke.$(ke.container).toggleClass("unmatched",!Oe),Oe}),K=V.length>0,ae=d.options,ue=new Ag;return ue.resetCells(V),ae.layout&&k.call(ae.layout,d,ue,d.getGroup(b)),d.$groups[b]&&d.$groups[b].toggleClass("unmatched",!K),P.fitToContent({gridWidth:1,gridHeight:1,padding:ae.stencilGraphPadding||10}),g||K},!1);this.$container.toggleClass("not-found",!v)}},{key:"isCellMatched",value:function(t,r,d,v){return r&&d?Object.keys(d).some(function(g){if(g==="*"||t.shape===g){var b=d[g];if(typeof b=="boolean")return b;var P=Array.isArray(b)?b:[b];return P.some(function(I){var V=t.getPropByPath(I);return V!=null?(V="".concat(V),v||(V=V.toLowerCase()),V.indexOf(r)>=0):!1})}return!1}):!0}},{key:"onSearch",value:function(t){this.filter(t.target.value,this.options.search)}},{key:"onSearchFocusIn",value:function(){this.$container.addClass("is-focused")}},{key:"onSearchFocusOut",value:function(){this.$container.removeClass("is-focused")}},{key:"onTitleClick",value:function(){this.options.collapsable&&(this.$container.toggleClass("collapsed"),this.$container.hasClass("collapsed")?this.collapseGroups():this.expandGroups())}},{key:"onGroupTitleClick",value:function(t){var r=this,d=this.$(t.target).closest(".".concat(this.prefixClassName(kg.group)));this.toggleGroup(d.attr("data-name")||"");var v=Object.keys(this.$groups).every(function(g){var b=r.getGroup(g),P=r.$groups[g];return b&&b.collapsable===!1||P.hasClass("collapsed")});this.$container.toggleClass("collapsed",v)}},{key:"getModel",value:function(t){var r=this.getGraph(t);return r?r.model:null}},{key:"getGraph",value:function(t){return this.graphs[t||wm.defaultGroupName]}},{key:"getGroup",value:function(t){var r=this.options.groups;return t!=null&&r&&r.length?r.find(function(d){return d.name===t}):null}},{key:"toggleGroup",value:function(t){return this.isGroupCollapsed(t)?this.expandGroup(t):this.collapseGroup(t),this}},{key:"collapseGroup",value:function(t){if(this.isGroupCollapsable(t)){var r=this.$groups[t];r&&!this.isGroupCollapsed(t)&&(this.trigger("group:collapse",{name:t}),r.addClass("collapsed"))}return this}},{key:"expandGroup",value:function(t){if(this.isGroupCollapsable(t)){var r=this.$groups[t];r&&this.isGroupCollapsed(t)&&(this.trigger("group:expand",{name:t}),r.removeClass("collapsed"))}return this}},{key:"isGroupCollapsable",value:function(t){var r=this.$groups[t];return r.hasClass("collapsable")}},{key:"isGroupCollapsed",value:function(t){var r=this.$groups[t];return r&&r.hasClass("collapsed")}},{key:"collapseGroups",value:function(){var t=this;return Object.keys(this.$groups).forEach(function(r){return t.collapseGroup(r)}),this}},{key:"expandGroups",value:function(){var t=this;return Object.keys(this.$groups).forEach(function(r){return t.expandGroup(r)}),this}},{key:"resizeGroup",value:function(t,r){var d=this.graphs[t];return d&&d.resize(r.width,r.height),this}},{key:"onRemove",value:function(){var t=this;Object.keys(this.graphs).forEach(function(r){var d=t.graphs[r];d.view.remove(),delete t.graphs[r]}),this.dnd.remove(),this.stopListening(),this.undelegateDocumentEvents()}}]),c}(Nf);(function(u){u.defaultOptions=Object.assign({stencilGraphWidth:200,stencilGraphHeight:800,title:"Stencil",collapsable:!1,placeholder:"Search",notFoundText:"No matches found",layout:function(c,o){var t={columnWidth:this.options.stencilGraphWidth/2-10,columns:2,rowHeight:80,resizeToFit:!1,dx:10,dy:10};ane(c,Object.assign(Object.assign(Object.assign({},t),this.options.layoutOptions),o?o.layoutOptions:{}))}},QC.defaults)})(kL||(kL={}));var kg;(function(u){u.base="widget-stencil",u.title="".concat(u.base,"-title"),u.search="".concat(u.base,"-search"),u.searchText="".concat(u.search,"-text"),u.content="".concat(u.base,"-content"),u.group="".concat(u.base,"-group"),u.groupTitle="".concat(u.group,"-title"),u.groupContent="".concat(u.group,"-content")})(kg||(kg={}));var wm;(function(u){u.defaultGroupName="__default__"})(wm||(wm={}));var CV;(function(u){function i(o){return!!o&&typeof o=="object"&&"dispose"in o&&typeof o.dispose=="function"}u.is=i;function c(o){return{dispose:o}}u.create=c,u.NONE=c(function(){})})(CV||(CV={}));var ine,EV;(function(u){u.None=function(){return CV.NONE};function i(c,o){return function(t,r){return c(function(d){return t.call(r,o(d))},void 0)}}u.map=i})(EV||(EV={})),ine=Symbol.iterator;var xV=function(u){function i(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Object(xi.a)(this,i),this.mono=void 0,this._callbacks=void 0,this.mono=c}return Object(Pi.a)(i,[{key:"callbacks",get:function(){return this._callbacks||(this._callbacks=[]),this._callbacks}},{key:"length",get:function(){return this.callbacks.length}},{key:"add",value:function(o){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;this.callbacks.push([o,t])}},{key:"remove",value:function(o){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(!this.isEmpty()){for(var r=!1,d=0;d<this.length;d+=1)if(this.callbacks[d][0]===o){if(this.callbacks[d][1]===t){this.callbacks.splice(d,1);return}r=!0}if(r)throw new Error("You should remove it with the same context you add it")}}},{key:u,value:function(){if(this.isEmpty())return[][Symbol.iterator]();var o=this.callbacks.slice(0);return o.map(function(t){return function(){for(var r=arguments.length,d=new Array(r),v=0;v<r;v++)d[v]=arguments[v];return t[0].apply(t[1],d)}})[Symbol.iterator]()}},{key:"invoke",value:function(){var o=[],t=Object(iv.a)(this),r;try{for(t.s();!(r=t.n()).done;){var d=r.value;try{o.push(d.apply(void 0,arguments))}catch(v){console.error(v)}}}catch(v){t.e(v)}finally{t.f()}return o}},{key:"isEmpty",value:function(){return this.callbacks.length===0}},{key:"dispose",value:function(){this._callbacks=void 0}}]),i}(ine),Nj=function(){function u(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(xi.a)(this,u),this.options=void 0,this._event=void 0,this._callbacks=void 0,this.disposed=!1,this.options=i}return Object(Pi.a)(u,[{key:"callbacks",get:function(){return this._callbacks||(this._callbacks=new xV),this._callbacks}},{key:"event",get:function(){var c=this;return this._event||(this._event=function(o,t){c.options.onFirstListenerAdd&&c.callbacks.isEmpty()&&c.options.onFirstListenerAdd(c),c.callbacks.add(o,t);var r={dispose:function(){r.dispose=u.noop,c.disposed||(c.callbacks.remove(o,t),r.dispose=u.noop,c.options.onLastListenerRemove&&c.callbacks.isEmpty()&&c.options.onLastListenerRemove(c))}};return r}),this._event}},{key:"fire",value:function(c){!this._callbacks||this.callbacks.invoke(c)}},{key:"sequence",value:function(){var i=Object(Le.a)(Object(Z.a)().mark(function o(t){var r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:r=Object(iv.a)(this.callbacks),P.prev=1,r.s();case 3:if((d=r.n()).done){P.next=12;break}return v=d.value,P.next=7,t(v);case 7:if(g=P.sent,g){P.next=10;break}return P.abrupt("break",12);case 10:P.next=3;break;case 12:P.next=17;break;case 14:P.prev=14,P.t0=P.catch(1),r.e(P.t0);case 17:return P.prev=17,r.f(),P.finish(17);case 20:case"end":return P.stop()}},o,this,[[1,14,17,20]])}));function c(o){return i.apply(this,arguments)}return c}()},{key:"dispose",value:function(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0),this.disposed=!0}}]),u}();Nj.noop=function(){};var ou;(function(u){function i(o){return!!o&&typeof o=="object"&&"dispose"in o&&typeof o.dispose=="function"}u.is=i;function c(o){return{dispose:o}}u.create=c,u.NULL=c(function(){})})(ou||(ou={}));var Of=function(){function u(){var i=this;Object(xi.a)(this,u),this.disposables=[],this.onDisposeEmitter=new Nj,this.disposingElements=!1;for(var c=arguments.length,o=new Array(c),t=0;t<c;t++)o[t]=arguments[t];o.forEach(function(r){return i.push(r)})}return Object(Pi.a)(u,[{key:"onDispose",get:function(){return this.onDisposeEmitter.event}},{key:"checkDisposed",value:function(){this.disposed&&!this.disposingElements&&(this.onDisposeEmitter.fire(void 0),this.onDisposeEmitter.dispose())}},{key:"disposed",get:function(){return this.disposables.length===0}},{key:"dispose",value:function(){return la(this,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!(this.disposed||this.disposingElements)){r.next=2;break}return r.abrupt("return");case 2:this.disposingElements=!0;case 3:if(this.disposed){r.next=15;break}return r.prev=4,o=this.disposables.pop(),r.next=8,o.dispose();case 8:r.next=13;break;case 10:r.prev=10,r.t0=r.catch(4),console.error(r.t0);case 13:r.next=3;break;case 15:this.disposingElements=!1,this.checkDisposed();case 17:case"end":return r.stop()}},c,this,[[4,10]])}))}},{key:"push",value:function(c){var o=this,t=this.disposables;t.push(c);var r=c.dispose.bind(c),d=ou.create(function(){var v=t.indexOf(c);v!==-1&&t.splice(v,1),o.checkDisposed()});return c.dispose=function(){d.dispose(),r()},d}},{key:"pushAll",value:function(c){var o=this;return c.map(function(t){return o.push(t)})}}]),u}(),sh=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.isResolved=!1,this.isRejected=!1,this.promise=new Promise(function(c,o){i.resolve=function(){i.isResolved=!0,c.apply(void 0,arguments)},i.reject=function(){i.isRejected=!0,o.apply(void 0,arguments)}})}),one="X6_NODE_PORTAL_NODE_VIEW",jL="xflow",ML=.01,S2=1.5,Lj="XFLOW_DEFAULT_NODE",SV="XFLOW_DEFAULT_GROUP_NODE",bb="XFLOW_DEFAULT_EDGE",lO="XFLOW_COPY_ITEMS",wV=36,TV=180,PL={width:TV,height:wV};function ug(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(u){var i=Math.random()*16|0,c=u=="x"?i:i&3|8;return c.toString(16)})}var RL=l("xGfz"),DL=l("gUdW"),qC=pe.a.createContext(null);qC.displayName="XFlowAppContext";var Ep=function(){var i=pe.a.useContext(qC);return i&&i.getApp?i.getApp():null},sne=function(){return pe.a.useContext(qC)},em=Object(Pi.a)(function u(){var i=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Object(xi.a)(this,u),this.cache=null,this.setApp=function(o){i.cache=o,i.onAppChangeCallback&&i.onAppChangeCallback(o)},this.isUserDefined=function(){return i.isUserDefinedFlag},this.getApp=function(){return i.cache},this.onAppChange=function(o){i.onAppChangeCallback=o},this.dispose=function(){i.cache=null},this.isUserDefinedFlag=c}),IL=function(i){var c=sne(),o=pe.a.useState(null),t=Object(we.a)(o,2),r=t[1],d=pe.a.useMemo(function(){return c&&c.isUserDefined()?c:new em(!1)},[]);return d.isUserDefined()||d.onAppChange(function(){return r(0)}),pe.a.useEffect(function(){i.app&&d.setApp(i.app)},[i.app]),d.isUserDefined()?pe.a.createElement(pe.a.Fragment,null,i.children):pe.a.createElement(qC.Provider,{value:Object.assign({},d)},i.children)};IL.displayName="XFlowAppInternalProvider";var eE=function(i){var c=i.children,o=pe.a.useState(null),t=Object(we.a)(o,2),r=t[1],d=pe.a.useMemo(function(){return new em(!0)},[]);return d.onAppChange(function(){return r(0)}),pe.a.createElement(qC.Provider,{value:Object.assign({},d)},c)};eE.displayName="XFlowAppProvider";var Pf;(function(u){var i="\u8282\u70B9\u64CD\u4F5C";u.ADD_NODE={id:"xflow:add-node",label:"\u6DFB\u52A0\u8282\u70B9",category:i},u.DEL_NODE={id:"xflow:del-node",label:"\u5220\u9664\u8282\u70B9",category:i},u.UPDATE_NODE_PORT={id:"xflow:update-node-port",label:"\u5220\u9664\u8FDE\u63A5\u6869",category:i},u.UPDATE_NODE={id:"xflow:update-node",label:"\u66F4\u65B0\u8282\u70B9",category:i},u.HIGHLIGHT_NODE={id:"xflow:highlight-node",label:"\u9AD8\u4EAE\u8282\u70B9",category:i},u.SELECT_NODE={id:"xflow:select-node",label:"\u9009\u4E2D\u8282\u70B9",category:i},u.MOVE_NODE={id:"xflow:move-node",label:"Move Node",category:i},u.CENTER_NODE={id:"xflow:center-node",label:"\u5C45\u4E2D\u8282\u70B9",category:i},u.FRONT_NODE={id:"xflow:front-node",label:"\u524D\u7F6E\u8282\u70B9",category:i},u.BACK_NODE={id:"xflow:back-node",label:"\u540E\u7F6E\u8282\u70B9",category:i}})(Pf||(Pf={}));var Up;(function(u){var i="\u8FB9\u64CD\u4F5C";u.ADD_EDGE={id:"xflow:add-edge",label:"\u6DFB\u52A0\u8FB9",category:i},u.DEL_EDGE={id:"xflow:del-edge",label:"\u5220\u9664\u8FB9",category:i},u.UPDATE_EDGE={id:"xflow:update-edge",label:"\u66F4\u65B0\u8FB9",category:i},u.HIGHLIGHT_EDGE={id:"xflow:highlight-edge",label:"\u9AD8\u4EAE\u8FB9",category:i},u.FRONT_EDGE={id:"xflow:front-edge",label:"\u524D\u7F6E\u53D8",category:i},u.BACK_EDGE={id:"xflow:back-edge",label:"\u540E\u7F6E\u8FB9",category:i}})(Up||(Up={}));var qu;(function(u){var i="\u753B\u5E03\u64CD\u4F5C";u.LOAD_META={id:"xflow:load-meta",label:"\u83B7\u53D6\u5143\u6570\u636E",category:i},u.LOAD_DATA={id:"xflow:load-data",label:"\u83B7\u53D6\u56FE\u6570\u636E",category:i},u.SAVE_GRAPH_DATA={id:"xflow:save-graph-data",label:"\u4FDD\u5B58",category:i},u.GRAPH_LAYOUT={id:"xflow:layout",label:"\u8BA1\u7B97\u5E03\u5C40",category:i},u.GRAPH_RENDER={id:"xflow:graph-render",label:"\u6E32\u67D3\u753B\u5E03",category:i},u.UNDO_CMD={id:"xflow:undo-cmd",label:"\u64A4\u9500",category:i},u.REDO_CMD={id:"xflow:redo-cmd",label:"\u91CD\u505A",category:i},u.GRAPH_INSTANCE_COMMAND={id:"xflow:graph-instacne-cmd",label:"Graph\u901A\u7528Command",category:i},u.GRAPH_ZOOM={id:"xflow:graph-zoom",label:"\u7F29\u653E\u753B\u5E03",category:i},u.GRAPH_FULLSCREEN={id:"xflow:graph-fullscreen",label:"\u5168\u5C4F",category:i},u.GRAPH_RESIZE={id:"xflow:graph-resize",label:"\u8C03\u6574\u7A97\u53E3\u5927\u5C0F",category:i},u.GRAPH_COPY={id:"xflow:graph-copy-selection",label:"\u590D\u5236",category:i},u.GRAPH_PASTE={id:"xflow:graph-paste-selection",label:"\u7C98\u8D34",category:i},u.GRAPH_TOGGLE_MULTI_SELECT={id:"xflow:graph-toggle-multi-select",label:"\u542F\u7528\u6846\u9009",category:i},u.GRAPH_ADD_TOOL={id:"xflow:add-tool",label:"\u6DFB\u52A0\u5DE5\u5177",category:i},u.GRAPH_DEL_TOOL={id:"xflow:del-tool",label:"\u5220\u9664\u5DE5\u5177",category:i},u.GRAPH_HISTORY_UNDO={id:"xflow:history-undo",label:"history undo",category:i},u.GRAPH_HISTORY_REDO={id:"xflow:history-redo",label:"history redo",category:i},u.GRAPH_HISTORY_RESET={id:"xflow:history-reset",label:"history reset",category:i},u.GRAPH_HISTORY_TOGGLE={id:"xflow:history-toggle",label:"history toggle",category:i}})(qu||(qu={}));var tE;(function(u){var i="\u72B6\u6001\u64CD\u4F5C";u.UPDATE_MODEL={id:"xflow:update-model",label:"\u8BBE\u7F6E\u72B6\u6001\u503C",category:i}})(tE||(tE={}));var Nv;(function(u){var i="\u7FA4\u7EC4\u64CD\u4F5C";u.INIT_GROUP={id:"xflow:init-group",label:"\u521D\u59CB\u5316\u7FA4\u7EC4",category:i},u.ADD_GROUP={id:"xflow:add-group",label:"\u65B0\u5EFA\u7FA4\u7EC4",category:i},u.DEL_GROUP={id:"xflow:del-group",label:"\u89E3\u6563\u7FA4\u7EC4",category:i},u.COLLAPSE_GROUP={id:"xflow:collapse-group",label:"\u6298\u53E0\u7FA4\u7EC4",category:i}})(Nv||(Nv={}));var AV=function(i){var c=i.cell,o=Ep(),t=i.data.isCollapsed||!1,r=function(g){g.preventDefault(),o.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:c.id,isCollapsed:!1})},d=function(g){g.preventDefault(),o.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:c.id,isCollapsed:!0,gap:3})};return pe.a.createElement("div",{className:"xflow-default-group-node"},pe.a.createElement("div",{className:"xflow-group-header"},pe.a.createElement("div",{className:"header-left"},i.data.label),pe.a.createElement("div",{className:"header-right"},t&&pe.a.createElement(RL.a,{onClick:r}),!t&&pe.a.createElement(DL.a,{onClick:d}))))};AV.displayName="XFlowDefaultGroupNode";var cne={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"},lne=cne,kV=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:lne}))};kV.displayName="RedoOutlined";var jV=fe.forwardRef(kV),NL=l("2BaD"),une=l("Ue1A"),dne=l("RCxd"),MV=l("+YFz"),fne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},PV=fne,RV=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:PV}))};RV.displayName="DatabaseOutlined";var w2=fe.forwardRef(RV),nE={fontSize:"16px",color:"#3057e3"},uO;(function(u){u.SUCCESS="success",u.PROCESSING="processing",u.ERROR="error",u.DEFAULT="default",u.WARNING="warning"})(uO||(uO={}));var pne=function(i){if(i.hide)return null;switch(i.status){case uO.PROCESSING:return pe.a.createElement(jV,{spin:!0,style:{color:"#c1cdf7",fontSize:"16px"}});case uO.ERROR:return pe.a.createElement(NL.a,{style:{color:"#ff4d4f",fontSize:"16px"}});case uO.SUCCESS:return pe.a.createElement(une.a,{style:{color:"#39ca74cc",fontSize:"16px"}});case uO.WARNING:return pe.a.createElement(dne.a,{style:{color:"#faad14",fontSize:"16px"}});case uO.DEFAULT:return pe.a.createElement(MV.a,{style:{color:"#d9d9d9",fontSize:"16px"}});default:return null}},DV=function(i){var c=pe.a.isValidElement(i.data.icon)?i.data.icon:pe.a.createElement(w2,{style:nE});return pe.a.createElement("div",{className:"xflow-default-node ".concat(i.isNodeTreePanel?"panel-node":"")},pe.a.createElement("span",{className:"icon"},c),pe.a.createElement("span",{className:"label"},i.data.label),pe.a.createElement("span",{className:"status"},pe.a.createElement(pne,{status:i.data&&i.data.status,hide:i.isNodeTreePanel})))};DV.displayName="XFlowDefaultNode";var rE;(function(u){u.CONFIG_TYPE="GraphConfig",u.defaultNodeTypeParser=function(i){return i.renderKey},u.defaultEdgeTypeParser=function(i){return i.renderKey},u.defaultNodeMapValue=[[Lj,DV],[SV,AV]]})(rE||(rE={}));var T2=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.CONFIG_TYPE=rE.CONFIG_TYPE,this.x6Options=new sh,this.rootContainer=new sh,this.graphContainer=new sh,this.nodeRender=new Map(rE.defaultNodeMapValue),this.edgeRender=new Map,this.nodeTypeParser=rE.defaultNodeTypeParser,this.edgeTypeParser=rE.defaultEdgeTypeParser,this.events=[],this.mergeX6Config=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.getX6Config();case 2:return t=d.sent,d.abrupt("return",Object.assign(t,c));case 4:case"end":return d.stop()}},o,this)}))},this.getX6Config=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.x6Options.promise;case 2:return o=r.sent,r.abrupt("return",o);case 4:case"end":return r.stop()}},c,this)}))},this.setX6Config=function(c){var o,t=i.getDefaultGraphOptions();(o=i.x6Options)===null||o===void 0||o.resolve(Object.assign(Object.assign({},t),c))},this.setAppContainer=function(c){i.appContainer=c},this.setRootContainer=function(c){c&&(i==null||i.rootContainer.resolve(c))},this.setGraphContainer=function(c){var o;c&&((o=i.graphContainer)===null||o===void 0||o.resolve(c))},this.setEvents=function(c){i.events=c},this.setDefaultNodeRender=function(c){i.nodeRender.set(Lj,c)},this.setDefaultEdgeRender=function(c){i.edgeRender.set(bb,c)},this.setNodeRender=function(c,o){i.nodeRender.set(c,o)},this.setEdgeRender=function(c,o){i.edgeRender.set(c,o)},this.setNodeTypeParser=function(c){i.nodeTypeParser=c},this.setEdgeTypeParser=function(c){i.edgeTypeParser=c},this.getConfig=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,Promise.all([this.rootContainer.promise,this.graphContainer.promise,this.x6Options.promise]);case 2:return o=P.sent,t=Object(we.a)(o,3),r=t[0],d=t[1],v=t[2],g={xflowInstanceId:this.xflowInstanceId,graphId:this.graphId,nodeViewId:this.graphId,appContainer:this.appContainer,rootContainer:r,graphContainer:d,x6Options:v,events:this.events,nodeRender:this.nodeRender,edgeRender:this.edgeRender,nodeTypeParser:this.nodeTypeParser,edgeTypeParser:this.edgeTypeParser},P.abrupt("return",g);case 9:case"end":return P.stop()}},c,this)}))},this.getDefaultGraphOptions=function(){var c={rotating:!1,resizing:!1,connecting:{snap:!0,dangling:!1,highlight:!1,connectionPoint:"rect",router:{name:"er"},connector:{name:"rounded",args:{radius:15}}},background:{},grid:{visible:!0},selecting:{strict:!0,enabled:!0,multiple:!0,selectCellOnMoved:!0,showNodeSelectionBox:!1,rubberEdge:!0,rubberNode:!0,movable:!0},snapline:{enabled:!1},history:{enabled:!1},clipboard:{enabled:!0,useLocalStorage:!0},scroller:{enabled:!1},mousewheel:{enabled:!0,minScale:ML,maxScale:S2,factor:1.1,modifiers:["ctrl","meta"]},panning:{enabled:!0},scaling:{min:ML,max:S2},keyboard:{enabled:!0},interacting:{nodeMovable:!0,edgeLabelMovable:!1},async:!1};return c},this.dispose=function(){i.rootContainer=new sh,i.graphContainer=new sh,i.x6Options=new sh},this.graphId=ug()}),A2=Symbol("IGraphOptionProvider"),LL=function(i,c){i(A2,{lifecycle:co.Syringe.Lifecycle.singleton,useDynamic:function(){return{getOptions:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",c.getConfig());case 1:case"end":return v.stop()}},r)}))}}}})},vne=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new T2;return i(r,o),r},[o]);return t}},hne=function(){return Array.isArray||function(u){return u&&typeof u.length=="number"}}();function IV(u){return u!==null&&typeof u=="object"}function FL(u){return typeof u=="function"}var gne=function(){function u(i){return Error.call(this),this.message=i?i.length+` errors occurred during unsubscription:
`+i.map(function(c,o){return o+1+") "+c.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=i,this}return u.prototype=Object.create(Error.prototype),u}(),Fj=gne,dO=function(){function u(i){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,i&&(this._ctorUnsubscribe=!0,this._unsubscribe=i)}return u.prototype.unsubscribe=function(){var i;if(!this.closed){var c=this,o=c._parentOrParents,t=c._ctorUnsubscribe,r=c._unsubscribe,d=c._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,o instanceof u)o.remove(this);else if(o!==null)for(var v=0;v<o.length;++v){var g=o[v];g.remove(this)}if(FL(r)){t&&(this._unsubscribe=void 0);try{r.call(this)}catch(I){i=I instanceof Fj?UL(I.errors):[I]}}if(hne(d))for(var v=-1,b=d.length;++v<b;){var P=d[v];if(IV(P))try{P.unsubscribe()}catch(V){i=i||[],V instanceof Fj?i=i.concat(UL(V.errors)):i.push(V)}}if(i)throw new Fj(i)}},u.prototype.add=function(i){var c=i;if(!i)return u.EMPTY;switch(typeof i){case"function":c=new u(i);case"object":if(c===this||c.closed||typeof c.unsubscribe!="function")return c;if(this.closed)return c.unsubscribe(),c;if(!(c instanceof u)){var o=c;c=new u,c._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+i+" added to Subscription.")}var t=c._parentOrParents;if(t===null)c._parentOrParents=this;else if(t instanceof u){if(t===this)return c;c._parentOrParents=[t,this]}else if(t.indexOf(this)===-1)t.push(this);else return c;var r=this._subscriptions;return r===null?this._subscriptions=[c]:r.push(c),c},u.prototype.remove=function(i){var c=this._subscriptions;if(c){var o=c.indexOf(i);o!==-1&&c.splice(o,1)}},u.EMPTY=function(i){return i.closed=!0,i}(new u),u}();function UL(u){return u.reduce(function(i,c){return i.concat(c instanceof Fj?c.errors:c)},[])}var mne=function(u){mh(i,u);function i(c,o){return u.call(this)||this}return i.prototype.schedule=function(c,o){return o===void 0&&(o=0),this},i}(dO),_ne=function(u){mh(i,u);function i(c,o){var t=u.call(this,c,o)||this;return t.scheduler=c,t.work=o,t.pending=!1,t}return i.prototype.schedule=function(c,o){if(o===void 0&&(o=0),this.closed)return this;this.state=c;var t=this.id,r=this.scheduler;return t!=null&&(this.id=this.recycleAsyncId(r,t,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(r,this.id,o),this},i.prototype.requestAsyncId=function(c,o,t){return t===void 0&&(t=0),setInterval(c.flush.bind(c,this),t)},i.prototype.recycleAsyncId=function(c,o,t){if(t===void 0&&(t=0),t!==null&&this.delay===t&&this.pending===!1)return o;clearInterval(o)},i.prototype.execute=function(c,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(c,o);if(t)return t;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},i.prototype._execute=function(c,o){var t=!1,r=void 0;try{this.work(c)}catch(d){t=!0,r=!!d&&d||new Error(d)}if(t)return this.unsubscribe(),r},i.prototype._unsubscribe=function(){var c=this.id,o=this.scheduler,t=o.actions,r=t.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,r!==-1&&t.splice(r,1),c!=null&&(this.id=this.recycleAsyncId(o,c,null)),this.delay=null},i}(mne),NV=function(){function u(i,c){c===void 0&&(c=u.now),this.SchedulerAction=i,this.now=c}return u.prototype.schedule=function(i,c,o){return c===void 0&&(c=0),new this.SchedulerAction(this,i).schedule(o,c)},u.now=function(){return Date.now()},u}(),yne=function(u){mh(i,u);function i(c,o){o===void 0&&(o=NV.now);var t=u.call(this,c,function(){return i.delegate&&i.delegate!==t?i.delegate.now():o()})||this;return t.actions=[],t.active=!1,t.scheduled=void 0,t}return i.prototype.schedule=function(c,o,t){return o===void 0&&(o=0),i.delegate&&i.delegate!==this?i.delegate.schedule(c,o,t):u.prototype.schedule.call(this,c,o,t)},i.prototype.flush=function(c){var o=this.actions;if(this.active){o.push(c);return}var t;this.active=!0;do if(t=c.execute(c.state,c.delay))break;while(c=o.shift());if(this.active=!1,t){for(;c=o.shift();)c.unsubscribe();throw t}},i}(NV),Uj=new yne(_ne),bne=Uj,BL=!1,qm={Promise:void 0,set useDeprecatedSynchronousErrorHandling(u){if(u){var i=new Error;""+i.stack}BL=u},get useDeprecatedSynchronousErrorHandling(){return BL}};function aE(u){setTimeout(function(){throw u},0)}var iE={closed:!0,next:function(i){},error:function(i){if(qm.useDeprecatedSynchronousErrorHandling)throw i;aE(i)},complete:function(){}},oE=function(){return typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),Nse=oE,jg=function(u){mh(i,u);function i(c,o,t){var r=u.call(this)||this;switch(r.syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=iE;break;case 1:if(!c){r.destination=iE;break}if(typeof c=="object"){c instanceof i?(r.syncErrorThrowable=c.syncErrorThrowable,r.destination=c,c.add(r)):(r.syncErrorThrowable=!0,r.destination=new VL(r,c));break}default:r.syncErrorThrowable=!0,r.destination=new VL(r,c,o,t);break}return r}return i.prototype[oE]=function(){return this},i.create=function(c,o,t){var r=new i(c,o,t);return r.syncErrorThrowable=!1,r},i.prototype.next=function(c){this.isStopped||this._next(c)},i.prototype.error=function(c){this.isStopped||(this.isStopped=!0,this._error(c))},i.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},i.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,u.prototype.unsubscribe.call(this))},i.prototype._next=function(c){this.destination.next(c)},i.prototype._error=function(c){this.destination.error(c),this.unsubscribe()},i.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},i.prototype._unsubscribeAndRecycle=function(){var c=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=c,this},i}(dO),VL=function(u){mh(i,u);function i(c,o,t,r){var d=u.call(this)||this;d._parentSubscriber=c;var v,g=d;return FL(o)?v=o:o&&(v=o.next,t=o.error,r=o.complete,o!==iE&&(g=Object.create(o),FL(g.unsubscribe)&&d.add(g.unsubscribe.bind(g)),g.unsubscribe=d.unsubscribe.bind(d))),d._context=g,d._next=v,d._error=t,d._complete=r,d}return i.prototype.next=function(c){if(!this.isStopped&&this._next){var o=this._parentSubscriber;!qm.useDeprecatedSynchronousErrorHandling||!o.syncErrorThrowable?this.__tryOrUnsub(this._next,c):this.__tryOrSetError(o,this._next,c)&&this.unsubscribe()}},i.prototype.error=function(c){if(!this.isStopped){var o=this._parentSubscriber,t=qm.useDeprecatedSynchronousErrorHandling;if(this._error)!t||!o.syncErrorThrowable?(this.__tryOrUnsub(this._error,c),this.unsubscribe()):(this.__tryOrSetError(o,this._error,c),this.unsubscribe());else if(o.syncErrorThrowable)t?(o.syncErrorValue=c,o.syncErrorThrown=!0):aE(c),this.unsubscribe();else{if(this.unsubscribe(),t)throw c;aE(c)}}},i.prototype.complete=function(){var c=this;if(!this.isStopped){var o=this._parentSubscriber;if(this._complete){var t=function(){return c._complete.call(c._context)};!qm.useDeprecatedSynchronousErrorHandling||!o.syncErrorThrowable?(this.__tryOrUnsub(t),this.unsubscribe()):(this.__tryOrSetError(o,t),this.unsubscribe())}else this.unsubscribe()}},i.prototype.__tryOrUnsub=function(c,o){try{c.call(this._context,o)}catch(t){if(this.unsubscribe(),qm.useDeprecatedSynchronousErrorHandling)throw t;aE(t)}},i.prototype.__tryOrSetError=function(c,o,t){if(!qm.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{o.call(this._context,t)}catch(r){return qm.useDeprecatedSynchronousErrorHandling?(c.syncErrorValue=r,c.syncErrorThrown=!0,!0):(aE(r),!0)}return!1},i.prototype._unsubscribe=function(){var c=this._parentSubscriber;this._context=null,this._parentSubscriber=null,c.unsubscribe()},i}(jg);function zL(u){for(;u;){var i=u,c=i.closed,o=i.destination,t=i.isStopped;if(c||t)return!1;o&&o instanceof jg?u=o:u=null}return!0}function LV(u,i,c){if(u){if(u instanceof jg)return u;if(u[oE])return u[oE]()}return!u&&!i&&!c?new jg(iE):new jg(u,i,c)}var Bj=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function FV(u){return u}function Lse(){for(var u=[],i=0;i<arguments.length;i++)u[i]=arguments[i];return HL(u)}function HL(u){return u.length===0?FV:u.length===1?u[0]:function(c){return u.reduce(function(o,t){return t(o)},c)}}var k2=function(){function u(i){this._isScalar=!1,i&&(this._subscribe=i)}return u.prototype.lift=function(i){var c=new u;return c.source=this,c.operator=i,c},u.prototype.subscribe=function(i,c,o){var t=this.operator,r=LV(i,c,o);if(t?r.add(t.call(r,this.source)):r.add(this.source||qm.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),qm.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},u.prototype._trySubscribe=function(i){try{return this._subscribe(i)}catch(c){qm.useDeprecatedSynchronousErrorHandling&&(i.syncErrorThrown=!0,i.syncErrorValue=c),zL(i)?i.error(c):console.warn(c)}},u.prototype.forEach=function(i,c){var o=this;return c=Vj(c),new c(function(t,r){var d;d=o.subscribe(function(v){try{i(v)}catch(g){r(g),d&&d.unsubscribe()}},r,t)})},u.prototype._subscribe=function(i){var c=this.source;return c&&c.subscribe(i)},u.prototype[Bj]=function(){return this},u.prototype.pipe=function(){for(var i=[],c=0;c<arguments.length;c++)i[c]=arguments[c];return i.length===0?this:HL(i)(this)},u.prototype.toPromise=function(i){var c=this;return i=Vj(i),new i(function(o,t){var r;c.subscribe(function(d){return r=d},function(d){return t(d)},function(){return o(r)})})},u.create=function(i){return new u(i)},u}();function Vj(u){if(u||(u=qm.Promise||Promise),!u)throw new Error("no Promise impl found");return u}var One=function(){function u(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return u.prototype=Object.create(Error.prototype),u}(),j2=One,Cne=function(u){mh(i,u);function i(c,o){var t=u.call(this)||this;return t.subject=c,t.subscriber=o,t.closed=!1,t}return i.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var c=this.subject,o=c.observers;if(this.subject=null,!(!o||o.length===0||c.isStopped||c.closed)){var t=o.indexOf(this.subscriber);t!==-1&&o.splice(t,1)}}},i}(dO),Ene=function(u){mh(i,u);function i(c){var o=u.call(this,c)||this;return o.destination=c,o}return i}(jg),zj=function(u){mh(i,u);function i(){var c=u.call(this)||this;return c.observers=[],c.closed=!1,c.isStopped=!1,c.hasError=!1,c.thrownError=null,c}return i.prototype[oE]=function(){return new Ene(this)},i.prototype.lift=function(c){var o=new UV(this,this);return o.operator=c,o},i.prototype.next=function(c){if(this.closed)throw new j2;if(!this.isStopped)for(var o=this.observers,t=o.length,r=o.slice(),d=0;d<t;d++)r[d].next(c)},i.prototype.error=function(c){if(this.closed)throw new j2;this.hasError=!0,this.thrownError=c,this.isStopped=!0;for(var o=this.observers,t=o.length,r=o.slice(),d=0;d<t;d++)r[d].error(c);this.observers.length=0},i.prototype.complete=function(){if(this.closed)throw new j2;this.isStopped=!0;for(var c=this.observers,o=c.length,t=c.slice(),r=0;r<o;r++)t[r].complete();this.observers.length=0},i.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},i.prototype._trySubscribe=function(c){if(this.closed)throw new j2;return u.prototype._trySubscribe.call(this,c)},i.prototype._subscribe=function(c){if(this.closed)throw new j2;return this.hasError?(c.error(this.thrownError),dO.EMPTY):this.isStopped?(c.complete(),dO.EMPTY):(this.observers.push(c),new Cne(this,c))},i.prototype.asObservable=function(){var c=new k2;return c.source=this,c},i.create=function(c,o){return new UV(c,o)},i}(k2),UV=function(u){mh(i,u);function i(c,o){var t=u.call(this)||this;return t.destination=c,t.source=o,t}return i.prototype.next=function(c){var o=this.destination;o&&o.next&&o.next(c)},i.prototype.error=function(c){var o=this.destination;o&&o.error&&this.destination.error(c)},i.prototype.complete=function(){var c=this.destination;c&&c.complete&&this.destination.complete()},i.prototype._subscribe=function(c){var o=this.source;return o?this.source.subscribe(c):dO.EMPTY},i}(zj),xne=function(u){mh(i,u);function i(c){var o=u.call(this)||this;return o._value=c,o}return Object.defineProperty(i.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),i.prototype._subscribe=function(c){var o=u.prototype._subscribe.call(this,c);return o&&!o.closed&&c.next(this._value),o},i.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new j2;return this._value},i.prototype.next=function(c){u.prototype.next.call(this,this._value=c)},i}(zj);function Sne(u,i){return function(c){return c.lift(new wne(u,i))}}var wne=function(){function u(i,c){this.compare=i,this.keySelector=c}return u.prototype.call=function(i,c){return c.subscribe(new Tne(i,this.compare,this.keySelector))},u}(),Tne=function(u){mh(i,u);function i(c,o,t){var r=u.call(this,c)||this;return r.keySelector=t,r.hasKey=!1,typeof o=="function"&&(r.compare=o),r}return i.prototype.compare=function(c,o){return c===o},i.prototype._next=function(c){var o;try{var t=this.keySelector;o=t?t(c):c}catch(v){return this.destination.error(v)}var r=!1;if(this.hasKey)try{var d=this.compare;r=d(this.key,o)}catch(v){return this.destination.error(v)}else this.hasKey=!0;r||(this.key=o,this.destination.next(c))},i}(jg);function Ane(u,i){return function(o){return o.lift(new BV(u,i))}}var BV=function(){function u(i,c){this.predicate=i,this.thisArg=c}return u.prototype.call=function(i,c){return c.subscribe(new VV(i,this.predicate,this.thisArg))},u}(),VV=function(u){mh(i,u);function i(c,o,t){var r=u.call(this,c)||this;return r.predicate=o,r.thisArg=t,r.count=0,r}return i.prototype._next=function(c){var o;try{o=this.predicate.call(this.thisArg,c,this.count++)}catch(t){this.destination.error(t);return}o&&this.destination.next(c)},i}(jg),zV=function(i){return function(c){for(var o=0,t=i.length;o<t&&!c.closed;o++)c.next(i[o]);c.complete()}},kne=function(i){return function(c){return i.then(function(o){c.closed||(c.next(o),c.complete())},function(o){return c.error(o)}).then(null,aE),c}};function HV(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var GL=HV(),Fse=GL,$L=function(i){return function(c){var o=i[GL]();do{var t=void 0;try{t=o.next()}catch(r){return c.error(r),c}if(t.done){c.complete();break}if(c.next(t.value),c.closed)break}while(!0);return typeof o.return=="function"&&c.add(function(){o.return&&o.return()}),c}},jne=function(i){return function(c){var o=i[Bj]();if(typeof o.subscribe!="function")throw new TypeError("Provided object does not correctly implement Symbol.observable");return o.subscribe(c)}},Mne=function(i){return i&&typeof i.length=="number"&&typeof i!="function"};function Pne(u){return!!u&&typeof u.subscribe!="function"&&typeof u.then=="function"}var Rne=function(i){if(!!i&&typeof i[Bj]=="function")return jne(i);if(Mne(i))return zV(i);if(Pne(i))return kne(i);if(!!i&&typeof i[GL]=="function")return $L(i);var c=IV(i)?"an invalid object":"'"+i+"'",o="You provided "+c+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(o)},GV=function(u){mh(i,u);function i(c){var o=u.call(this)||this;return o.parent=c,o}return i.prototype._next=function(c){this.parent.notifyNext(c)},i.prototype._error=function(c){this.parent.notifyError(c),this.unsubscribe()},i.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},i}(jg),Use=function(u){mh(i,u);function i(c,o,t){var r=u.call(this)||this;return r.parent=c,r.outerValue=o,r.outerIndex=t,r}return i.prototype._next=function(c){this.parent.notifyNext(this.outerValue,c,this.outerIndex,this)},i.prototype._error=function(c){this.parent.notifyError(c),this.unsubscribe()},i.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},i}(jg),Dne=function(u){mh(i,u);function i(){return u!==null&&u.apply(this,arguments)||this}return i.prototype.notifyNext=function(c){this.destination.next(c)},i.prototype.notifyError=function(c){this.destination.error(c)},i.prototype.notifyComplete=function(){this.destination.complete()},i}(jg),Ine=function(u){mh(i,u);function i(){return u!==null&&u.apply(this,arguments)||this}return i.prototype.notifyNext=function(c,o,t,r){this.destination.next(o)},i.prototype.notifyError=function(c){this.destination.error(c)},i.prototype.notifyComplete=function(c){this.destination.complete()},i}(jg);function Nne(u,i){if(!i.closed){if(u instanceof k2)return u.subscribe(i);var c;try{c=Rne(u)(i)}catch(o){i.error(o)}return c}}var $V={leading:!0,trailing:!1};function Bse(u,i){return i===void 0&&(i=$V),function(c){return c.lift(new Ob(u,!!i.leading,!!i.trailing))}}var Ob=function(){function u(i,c,o){this.durationSelector=i,this.leading=c,this.trailing=o}return u.prototype.call=function(i,c){return c.subscribe(new WV(i,this.durationSelector,this.leading,this.trailing))},u}(),WV=function(u){mh(i,u);function i(c,o,t,r){var d=u.call(this,c)||this;return d.destination=c,d.durationSelector=o,d._leading=t,d._trailing=r,d._hasValue=!1,d}return i.prototype._next=function(c){this._hasValue=!0,this._sendValue=c,this._throttled||(this._leading?this.send():this.throttle(c))},i.prototype.send=function(){var c=this,o=c._hasValue,t=c._sendValue;o&&(this.destination.next(t),this.throttle(t)),this._hasValue=!1,this._sendValue=void 0},i.prototype.throttle=function(c){var o=this.tryDurationSelector(c);o&&this.add(this._throttled=Nne(o,new GV(this)))},i.prototype.tryDurationSelector=function(c){try{return this.durationSelector(c)}catch(o){return this.destination.error(o),null}},i.prototype.throttlingDone=function(){var c=this,o=c._throttled,t=c._trailing;o&&o.unsubscribe(),this._throttled=void 0,t&&this.send()},i.prototype.notifyNext=function(){this.throttlingDone()},i.prototype.notifyComplete=function(){this.throttlingDone()},i}(Dne);function KV(u,i,c){return i===void 0&&(i=bne),c===void 0&&(c=$V),function(o){return o.lift(new Lne(u,i,c.leading,c.trailing))}}var Lne=function(){function u(i,c,o,t){this.duration=i,this.scheduler=c,this.leading=o,this.trailing=t}return u.prototype.call=function(i,c){return c.subscribe(new Fne(i,this.duration,this.scheduler,this.leading,this.trailing))},u}(),Fne=function(u){mh(i,u);function i(c,o,t,r,d){var v=u.call(this,c)||this;return v.duration=o,v.scheduler=t,v.leading=r,v.trailing=d,v._hasTrailingValue=!1,v._trailingValue=null,v}return i.prototype._next=function(c){this.throttled?this.trailing&&(this._trailingValue=c,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Une,this.duration,{subscriber:this})),this.leading?this.destination.next(c):this.trailing&&(this._trailingValue=c,this._hasTrailingValue=!0))},i.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},i.prototype.clearThrottle=function(){var c=this.throttled;c&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),c.unsubscribe(),this.remove(c),this.throttled=null)},i}(jg);function Une(u){var i=u.subscriber;i.clearThrottle()}function fv(u){for(var i=arguments.length,c=Array(i>1?i-1:0),o=1;o<i;o++)c[o-1]=arguments[o];if(!1)var t,r;throw Error("[Immer] minified error nr: "+u+(c.length?" "+c.map(function(d){return"'"+d+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Z_(u){return!!u&&!!u[hf]}function Q_(u){var i;return!!u&&(function(c){if(!c||typeof c!="object")return!1;var o=Object.getPrototypeOf(c);if(o===null)return!0;var t=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return t===Object||typeof t=="function"&&Function.toString.call(t)===$ne}(u)||Array.isArray(u)||!!u[cE]||!!((i=u.constructor)===null||i===void 0?void 0:i[cE])||Gj(u)||$j(u))}function Vse(u){return Z_(u)||fv(23,u),u[hf].t}function ty(u,i,c){c===void 0&&(c=!1),ny(u)===0?(c?Object.keys:lE)(u).forEach(function(o){c&&typeof o=="symbol"||i(o,u[o],u)}):u.forEach(function(o,t){return i(t,o,u)})}function ny(u){var i=u[hf];return i?i.i>3?i.i-4:i.i:Array.isArray(u)?1:Gj(u)?2:$j(u)?3:0}function Cb(u,i){return ny(u)===2?u.has(i):Object.prototype.hasOwnProperty.call(u,i)}function Hj(u,i){return ny(u)===2?u.get(i):u[i]}function YV(u,i,c){var o=ny(u);o===2?u.set(i,c):o===3?u.add(c):u[i]=c}function XV(u,i){return u===i?u!==0||1/u==1/i:u!=u&&i!=i}function Gj(u){return Hne&&u instanceof Map}function $j(u){return Gne&&u instanceof Set}function $v(u){return u.o||u.t}function Wj(u){if(Array.isArray(u))return Array.prototype.slice.call(u);var i=Zj(u);delete i[hf];for(var c=lE(i),o=0;o<c.length;o++){var t=c[o],r=i[t];r.writable===!1&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(i[t]={configurable:!0,writable:!0,enumerable:r.enumerable,value:u[t]})}return Object.create(Object.getPrototypeOf(u),i)}function M2(u,i){return i===void 0&&(i=!1),WL(u)||Z_(u)||!Q_(u)||(ny(u)>1&&(u.set=u.add=u.clear=u.delete=JV),Object.freeze(u),i&&ty(u,function(c,o){return M2(o,!0)},!0)),u}function JV(){fv(2)}function WL(u){return u==null||typeof u!="object"||Object.isFrozen(u)}function q_(u){var i=Qj[u];return i||fv(18,u),i}function KL(u,i){Qj[u]||(Qj[u]=i)}function fO(){return D2}function Kj(u,i){i&&(q_("Patches"),u.u=[],u.s=[],u.v=i)}function Eb(u){ZV(u),u.p.forEach(XL),u.p=null}function ZV(u){u===D2&&(D2=u.l)}function YL(u){return D2={p:[],l:D2,h:u,m:!0,_:0}}function XL(u){var i=u[hf];i.i===0||i.i===1?i.j():i.g=!0}function P2(u,i){i._=i.p.length;var c=i.p[0],o=u!==void 0&&u!==c;return i.h.O||q_("ES5").S(i,u,o),o?(c[hf].P&&(Eb(i),fv(4)),Q_(u)&&(u=R2(i,u),i.l||Yj(i,u)),i.u&&q_("Patches").M(c[hf].t,u,i.u,i.s)):u=R2(i,c,[]),Eb(i),i.u&&i.v(i.u,i.s),u!==Xj?u:void 0}function R2(u,i,c){if(WL(i))return i;var o=i[hf];if(!o)return ty(i,function(v,g){return QV(u,o,i,v,g,c)},!0),i;if(o.A!==u)return i;if(!o.P)return Yj(u,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var t=o.i===4||o.i===5?o.o=Wj(o.k):o.o,r=t,d=!1;o.i===3&&(r=new Set(t),t.clear(),d=!0),ty(r,function(v,g){return QV(u,o,t,v,g,c,d)}),Yj(u,t,!1),c&&u.u&&q_("Patches").N(o,c,u.u,u.s)}return o.o}function QV(u,i,c,o,t,r,d){if(Z_(t)){var v=R2(u,t,r&&i&&i.i!==3&&!Cb(i.R,o)?r.concat(o):void 0);if(YV(c,o,v),!Z_(v))return;u.m=!1}else d&&c.add(t);if(Q_(t)&&!WL(t)){if(!u.h.D&&u._<1)return;R2(u,t),i&&i.A.l||Yj(u,t)}}function Yj(u,i,c){c===void 0&&(c=!1),!u.l&&u.h.D&&u.m&&M2(i,c)}function JL(u,i){var c=u[hf];return(c?$v(c):u)[i]}function ZL(u,i){if(i in u)for(var c=Object.getPrototypeOf(u);c;){var o=Object.getOwnPropertyDescriptor(c,i);if(o)return o;c=Object.getPrototypeOf(c)}}function Mg(u){u.P||(u.P=!0,u.l&&Mg(u.l))}function QL(u){u.o||(u.o=Wj(u.t))}function sE(u,i,c){var o=Gj(i)?q_("MapSet").F(i,c):$j(i)?q_("MapSet").T(i,c):u.O?function(t,r){var d=Array.isArray(t),v={i:d?1:0,A:r?r.A:fO(),P:!1,I:!1,R:{},l:r,t,k:null,o:null,j:null,C:!1},g=v,b=I2;d&&(g=[v],b=N2);var P=Proxy.revocable(g,b),I=P.revoke,V=P.proxy;return v.k=V,v.j=I,V}(i,c):q_("ES5").J(i,c);return(c?c.A:fO()).p.push(o),o}function Bne(u){return Z_(u)||fv(22,u),function i(c){if(!Q_(c))return c;var o,t=c[hf],r=ny(c);if(t){if(!t.P&&(t.i<4||!q_("ES5").K(t)))return t.t;t.I=!0,o=qV(c,r),t.I=!1}else o=qV(c,r);return ty(o,function(d,v){t&&Hj(t.t,d)===v||YV(o,d,i(v))}),r===3?new Set(o):o}(u)}function qV(u,i){switch(i){case 2:return new Map(u);case 3:return Array.from(u)}return Wj(u)}function Vne(){function u(d,v){var g=r[d];return g?g.enumerable=v:r[d]=g={configurable:!0,enumerable:v,get:function(){var P=this[hf];return I2.get(P,d)},set:function(P){var I=this[hf];I2.set(I,d,P)}},g}function i(d){for(var v=d.length-1;v>=0;v--){var g=d[v][hf];if(!g.P)switch(g.i){case 5:o(g)&&Mg(g);break;case 4:c(g)&&Mg(g)}}}function c(d){for(var v=d.t,g=d.k,b=lE(g),P=b.length-1;P>=0;P--){var I=b[P];if(I!==hf){var V=v[I];if(V===void 0&&!Cb(v,I))return!0;var K=g[I],ae=K&&K[hf];if(ae?ae.t!==V:!XV(K,V))return!0}}var ue=!!v[hf];return b.length!==lE(v).length+(ue?0:1)}function o(d){var v=d.k;if(v.length!==d.t.length)return!0;var g=Object.getOwnPropertyDescriptor(v,v.length-1);if(g&&!g.get)return!0;for(var b=0;b<v.length;b++)if(!v.hasOwnProperty(b))return!0;return!1}function t(d){d.g&&fv(3,JSON.stringify($v(d)))}var r={};KL("ES5",{J:function(v,g){var b=Array.isArray(v),P=function(V,K){if(V){for(var ae=Array(K.length),ue=0;ue<K.length;ue++)Object.defineProperty(ae,""+ue,u(ue,!0));return ae}var ve=Zj(K);delete ve[hf];for(var Oe=lE(ve),ke=0;ke<Oe.length;ke++){var Ie=Oe[ke];ve[Ie]=u(Ie,V||!!ve[Ie].enumerable)}return Object.create(Object.getPrototypeOf(K),ve)}(b,v),I={i:b?5:4,A:g?g.A:fO(),P:!1,I:!1,R:{},l:g,t:v,k:P,o:null,g:!1,C:!1};return Object.defineProperty(P,hf,{value:I,writable:!0}),P},S:function(v,g,b){b?Z_(g)&&g[hf].A===v&&i(v.p):(v.u&&function P(I){if(I&&typeof I=="object"){var V=I[hf];if(V){var K=V.t,ae=V.k,ue=V.R,ve=V.i;if(ve===4)ty(ae,function(Ze){Ze!==hf&&(K[Ze]!==void 0||Cb(K,Ze)?ue[Ze]||P(ae[Ze]):(ue[Ze]=!0,Mg(V)))}),ty(K,function(Ze){ae[Ze]!==void 0||Cb(ae,Ze)||(ue[Ze]=!1,Mg(V))});else if(ve===5){if(o(V)&&(Mg(V),ue.length=!0),ae.length<K.length)for(var Oe=ae.length;Oe<K.length;Oe++)ue[Oe]=!1;else for(var ke=K.length;ke<ae.length;ke++)ue[ke]=!0;for(var Ie=Math.min(ae.length,K.length),Ye=0;Ye<Ie;Ye++)ae.hasOwnProperty(Ye)||(ue[Ye]=!0),ue[Ye]===void 0&&P(ae[Ye])}}}}(v.p[0]),i(v.p))},K:function(v){return v.i===4?c(v):o(v)}})}function zne(){function u(o){if(!Q_(o))return o;if(Array.isArray(o))return o.map(u);if(Gj(o))return new Map(Array.from(o.entries()).map(function(d){return[d[0],u(d[1])]}));if($j(o))return new Set(Array.from(o).map(u));var t=Object.create(Object.getPrototypeOf(o));for(var r in o)t[r]=u(o[r]);return Cb(o,cE)&&(t[cE]=o[cE]),t}function i(o){return Z_(o)?u(o):o}var c="add";KL("Patches",{$:function(t,r){return r.forEach(function(d){for(var v=d.path,g=d.op,b=t,P=0;P<v.length-1;P++){var I=ny(b),V=v[P];typeof V!="string"&&typeof V!="number"&&(V=""+V),I!==0&&I!==1||V!=="__proto__"&&V!=="constructor"||fv(24),typeof b=="function"&&V==="prototype"&&fv(24),typeof(b=Hj(b,V))!="object"&&fv(15,v.join("/"))}var K=ny(b),ae=u(d.value),ue=v[v.length-1];switch(g){case"replace":switch(K){case 2:return b.set(ue,ae);case 3:fv(16);default:return b[ue]=ae}case c:switch(K){case 1:return ue==="-"?b.push(ae):b.splice(ue,0,ae);case 2:return b.set(ue,ae);case 3:return b.add(ae);default:return b[ue]=ae}case"remove":switch(K){case 1:return b.splice(ue,1);case 2:return b.delete(ue);case 3:return b.delete(d.value);default:return delete b[ue]}default:fv(17,g)}}),t},N:function(t,r,d,v){switch(t.i){case 0:case 4:case 2:return function(g,b,P,I){var V=g.t,K=g.o;ty(g.R,function(ae,ue){var ve=Hj(V,ae),Oe=Hj(K,ae),ke=ue?Cb(V,ae)?"replace":c:"remove";if(ve!==Oe||ke!=="replace"){var Ie=b.concat(ae);P.push(ke==="remove"?{op:ke,path:Ie}:{op:ke,path:Ie,value:Oe}),I.push(ke===c?{op:"remove",path:Ie}:ke==="remove"?{op:c,path:Ie,value:i(ve)}:{op:"replace",path:Ie,value:i(ve)})}})}(t,r,d,v);case 5:case 1:return function(g,b,P,I){var V=g.t,K=g.R,ae=g.o;if(ae.length<V.length){var ue=[ae,V];V=ue[0],ae=ue[1];var ve=[I,P];P=ve[0],I=ve[1]}for(var Oe=0;Oe<V.length;Oe++)if(K[Oe]&&ae[Oe]!==V[Oe]){var ke=b.concat([Oe]);P.push({op:"replace",path:ke,value:i(ae[Oe])}),I.push({op:"replace",path:ke,value:i(V[Oe])})}for(var Ie=V.length;Ie<ae.length;Ie++){var Ye=b.concat([Ie]);P.push({op:c,path:Ye,value:i(ae[Ie])})}V.length<ae.length&&I.push({op:"replace",path:b.concat(["length"]),value:V.length})}(t,r,d,v);case 3:return function(g,b,P,I){var V=g.t,K=g.o,ae=0;V.forEach(function(ue){if(!K.has(ue)){var ve=b.concat([ae]);P.push({op:"remove",path:ve,value:ue}),I.unshift({op:c,path:ve,value:ue})}ae++}),ae=0,K.forEach(function(ue){if(!V.has(ue)){var ve=b.concat([ae]);P.push({op:c,path:ve,value:ue}),I.unshift({op:"remove",path:ve,value:ue})}ae++})}(t,r,d,v)}},M:function(t,r,d,v){d.push({op:"replace",path:[],value:r===Xj?void 0:r}),v.push({op:"replace",path:[],value:t})}})}function qL(){function u(v,g){function b(){this.constructor=v}t(v,g),v.prototype=(b.prototype=g.prototype,new b)}function i(v){v.o||(v.R=new Map,v.o=new Map(v.t))}function c(v){v.o||(v.o=new Set,v.t.forEach(function(g){if(Q_(g)){var b=sE(v.A.h,g,v);v.p.set(g,b),v.o.add(b)}else v.o.add(g)}))}function o(v){v.g&&fv(3,JSON.stringify($v(v)))}var t=function(g,b){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,I){P.__proto__=I}||function(P,I){for(var V in I)I.hasOwnProperty(V)&&(P[V]=I[V])})(g,b)},r=function(){function v(b,P){return this[hf]={i:2,l:P,A:P?P.A:fO(),P:!1,I:!1,o:void 0,R:void 0,t:b,k:this,C:!1,g:!1},this}u(v,Map);var g=v.prototype;return Object.defineProperty(g,"size",{get:function(){return $v(this[hf]).size}}),g.has=function(b){return $v(this[hf]).has(b)},g.set=function(b,P){var I=this[hf];return o(I),$v(I).has(b)&&$v(I).get(b)===P||(i(I),Mg(I),I.R.set(b,!0),I.o.set(b,P),I.R.set(b,!0)),this},g.delete=function(b){if(!this.has(b))return!1;var P=this[hf];return o(P),i(P),Mg(P),P.t.has(b)?P.R.set(b,!1):P.R.delete(b),P.o.delete(b),!0},g.clear=function(){var b=this[hf];o(b),$v(b).size&&(i(b),Mg(b),b.R=new Map,ty(b.t,function(P){b.R.set(P,!1)}),b.o.clear())},g.forEach=function(b,P){var I=this;$v(this[hf]).forEach(function(V,K){b.call(P,I.get(K),K,I)})},g.get=function(b){var P=this[hf];o(P);var I=$v(P).get(b);if(P.I||!Q_(I)||I!==P.t.get(b))return I;var V=sE(P.A.h,I,P);return i(P),P.o.set(b,V),V},g.keys=function(){return $v(this[hf]).keys()},g.values=function(){var b,P=this,I=this.keys();return(b={})[Jj]=function(){return P.values()},b.next=function(){var V=I.next();return V.done?V:{done:!1,value:P.get(V.value)}},b},g.entries=function(){var b,P=this,I=this.keys();return(b={})[Jj]=function(){return P.entries()},b.next=function(){var V=I.next();if(V.done)return V;var K=P.get(V.value);return{done:!1,value:[V.value,K]}},b},g[Jj]=function(){return this.entries()},v}(),d=function(){function v(b,P){return this[hf]={i:3,l:P,A:P?P.A:fO(),P:!1,I:!1,o:void 0,t:b,k:this,p:new Map,g:!1,C:!1},this}u(v,Set);var g=v.prototype;return Object.defineProperty(g,"size",{get:function(){return $v(this[hf]).size}}),g.has=function(b){var P=this[hf];return o(P),P.o?!!P.o.has(b)||!(!P.p.has(b)||!P.o.has(P.p.get(b))):P.t.has(b)},g.add=function(b){var P=this[hf];return o(P),this.has(b)||(c(P),Mg(P),P.o.add(b)),this},g.delete=function(b){if(!this.has(b))return!1;var P=this[hf];return o(P),c(P),Mg(P),P.o.delete(b)||!!P.p.has(b)&&P.o.delete(P.p.get(b))},g.clear=function(){var b=this[hf];o(b),$v(b).size&&(c(b),Mg(b),b.o.clear())},g.values=function(){var b=this[hf];return o(b),c(b),b.o.values()},g.entries=function(){var b=this[hf];return o(b),c(b),b.o.entries()},g.keys=function(){return this.values()},g[Jj]=function(){return this.values()},g.forEach=function(b,P){for(var I=this.values(),V=I.next();!V.done;)b.call(P,V.value,V.value,this),V=I.next()},v}();KL("MapSet",{F:function(g,b){return new r(g,b)},T:function(g,b){return new d(g,b)}})}function zse(){Vne(),qL(),zne()}function Hse(u){return u}function Gse(u){return u}var ez,D2,e3=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",Hne=typeof Map!="undefined",Gne=typeof Set!="undefined",tz=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",Xj=e3?Symbol.for("immer-nothing"):((ez={})["immer-nothing"]=!0,ez),cE=e3?Symbol.for("immer-draftable"):"__$immer_draftable",hf=e3?Symbol.for("immer-state"):"__$immer_state",Jj=typeof Symbol!="undefined"&&Symbol.iterator||"@@iterator",$se={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(i){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+i},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(i){return"Cannot apply patch, path doesn't resolve: "+i},16:'Sets cannot have "replace" patches.',17:function(i){return"Unsupported patch operation: "+i},18:function(i){return"The plugin for '"+i+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+i+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(i){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+i+"'"},22:function(i){return"'current' expects a draft, got: "+i},23:function(i){return"'original' expects a draft, got: "+i},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},$ne=""+Object.prototype.constructor,lE=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(u){return Object.getOwnPropertyNames(u).concat(Object.getOwnPropertySymbols(u))}:Object.getOwnPropertyNames,Zj=Object.getOwnPropertyDescriptors||function(u){var i={};return lE(u).forEach(function(c){i[c]=Object.getOwnPropertyDescriptor(u,c)}),i},Qj={},I2={get:function(i,c){if(c===hf)return i;var o=$v(i);if(!Cb(o,c))return function(r,d,v){var g,b=ZL(d,v);return b?"value"in b?b.value:(g=b.get)===null||g===void 0?void 0:g.call(r.k):void 0}(i,o,c);var t=o[c];return i.I||!Q_(t)?t:t===JL(i.t,c)?(QL(i),i.o[c]=sE(i.A.h,t,i)):t},has:function(i,c){return c in $v(i)},ownKeys:function(i){return Reflect.ownKeys($v(i))},set:function(i,c,o){var t=ZL($v(i),c);if(t==null?void 0:t.set)return t.set.call(i.k,o),!0;if(!i.P){var r=JL($v(i),c),d=r==null?void 0:r[hf];if(d&&d.t===o)return i.o[c]=o,i.R[c]=!1,!0;if(XV(o,r)&&(o!==void 0||Cb(i.t,c)))return!0;QL(i),Mg(i)}return i.o[c]===o&&(o!==void 0||c in i.o)||Number.isNaN(o)&&Number.isNaN(i.o[c])||(i.o[c]=o,i.R[c]=!0),!0},deleteProperty:function(i,c){return JL(i.t,c)!==void 0||c in i.t?(i.R[c]=!1,QL(i),Mg(i)):delete i.R[c],i.o&&delete i.o[c],!0},getOwnPropertyDescriptor:function(i,c){var o=$v(i),t=Reflect.getOwnPropertyDescriptor(o,c);return t&&{writable:!0,configurable:i.i!==1||c!=="length",enumerable:t.enumerable,value:o[c]}},defineProperty:function(){fv(11)},getPrototypeOf:function(i){return Object.getPrototypeOf(i.t)},setPrototypeOf:function(){fv(12)}},N2={};ty(I2,function(u,i){N2[u]=function(){return arguments[0]=arguments[0][0],i.apply(this,arguments)}}),N2.deleteProperty=function(u,i){return N2.set.call(this,u,i,void 0)},N2.set=function(u,i,c){return I2.set.call(this,u[0],i,c,u[0])};var Wne=function(){function u(c){var o=this;this.O=tz,this.D=!0,this.produce=function(t,r,d){if(typeof t=="function"&&typeof r!="function"){var v=r;r=t;var g=o;return function(ue){var ve=this;ue===void 0&&(ue=v);for(var Oe=arguments.length,ke=Array(Oe>1?Oe-1:0),Ie=1;Ie<Oe;Ie++)ke[Ie-1]=arguments[Ie];return g.produce(ue,function(Ye){var Ze;return(Ze=r).call.apply(Ze,[ve,Ye].concat(ke))})}}var b;if(typeof r!="function"&&fv(6),d!==void 0&&typeof d!="function"&&fv(7),Q_(t)){var P=YL(o),I=sE(o,t,void 0),V=!0;try{b=r(I),V=!1}finally{V?Eb(P):ZV(P)}return typeof Promise!="undefined"&&b instanceof Promise?b.then(function(ue){return Kj(P,d),P2(ue,P)},function(ue){throw Eb(P),ue}):(Kj(P,d),P2(b,P))}if(!t||typeof t!="object"){if((b=r(t))===void 0&&(b=t),b===Xj&&(b=void 0),o.D&&M2(b,!0),d){var K=[],ae=[];q_("Patches").M(t,b,K,ae),d(K,ae)}return b}fv(21,t)},this.produceWithPatches=function(t,r){if(typeof t=="function")return function(b){for(var P=arguments.length,I=Array(P>1?P-1:0),V=1;V<P;V++)I[V-1]=arguments[V];return o.produceWithPatches(b,function(K){return t.apply(void 0,[K].concat(I))})};var d,v,g=o.produce(t,r,function(b,P){d=b,v=P});return typeof Promise!="undefined"&&g instanceof Promise?g.then(function(b){return[b,d,v]}):[g,d,v]},typeof(c==null?void 0:c.useProxies)=="boolean"&&this.setUseProxies(c.useProxies),typeof(c==null?void 0:c.autoFreeze)=="boolean"&&this.setAutoFreeze(c.autoFreeze)}var i=u.prototype;return i.createDraft=function(c){Q_(c)||fv(8),Z_(c)&&(c=Bne(c));var o=YL(this),t=sE(this,c,void 0);return t[hf].C=!0,ZV(o),t},i.finishDraft=function(c,o){var t=c&&c[hf],r=t.A;return Kj(r,o),P2(void 0,r)},i.setAutoFreeze=function(c){this.D=c},i.setUseProxies=function(c){c&&!tz&&fv(20),this.O=c},i.applyPatches=function(c,o){var t;for(t=o.length-1;t>=0;t--){var r=o[t];if(r.path.length===0&&r.op==="replace"){c=r.value;break}}t>-1&&(o=o.slice(t+1));var d=q_("Patches").$;return Z_(c)?d(c,o):this.produce(c,function(v){return d(v,o)})},u}(),tm=new Wne,t3=tm.produce,Kne=tm.produceWithPatches.bind(tm),Yne=tm.setAutoFreeze.bind(tm),Wse=tm.setUseProxies.bind(tm),Kse=tm.applyPatches.bind(tm),Xne=tm.createDraft.bind(tm),nz=tm.finishDraft.bind(tm),uE=t3;qL(),Yne(!1);var e_;(function(u){u.EMPTY_VALUE=Symbol("EMPTY_MODEL_VALUE");function i(o){return o!==u.EMPTY_VALUE}u.isValidValue=i;function c(o){return o.pipe(Sne(),Ane(function(t){return i(t)}),KV(17,Uj,{leading:!1,trailing:!0}))}u.defaultPipeFunction=c})(e_||(e_={}));var ry=Object(Pi.a)(function u(){var i=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e_.EMPTY_VALUE,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:30;Object(xi.a)(this,u),this.toDispose=new Of,this.watch=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e_.defaultPipeFunction;i.subject$.observers.length+1>i.maxSubscription&&console.warn("".concat(i.subject$," reach maxSubscription limitation, please check"));var d=r?r(i.subject$):i.subject$,v=d.subscribe(t);return ou.create(function(){v.unsubscribe()})},this.getValue=function(){return i.subject$.getValue()},this.setValue=function(t){if(!!i.subject$){if(typeof t=="function"){var r=i.subject$.getValue(),d=t3(r,function(v){t(v)});e_.isValidValue(d)&&i.setValue(d);return}i.subject$.next(t)}},this.hasValidValue=function(){var t=i.getValue();return e_.isValidValue(t)},this.getValidValue=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){var r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(r=new sh,!this.hasValidValue()){g.next=3;break}return g.abrupt("return",this.getValue());case 3:return d=this.watch(function(b){e_.isValidValue(b)&&(r.resolve(b),d.dispose())}),g.abrupt("return",r.promise);case 5:case"end":return g.stop()}},t,this)}))},this.dispose=function(){i.toDispose.dispose()},this.subject$=new xne(c||e_.EMPTY_VALUE),this.maxSubscription=o,this.toDispose.push(ou.create(function(){i.subject$.complete(),i.subject$.unsubscribe(),i.subject$=null}))}),t_=co.Syringe.defineToken("IFrontendApplicationContribution"),e0=Symbol("IGraphCommandService"),cf=co.Syringe.defineToken("ICommandHandler"),Ad=Symbol("ICommandContextProvider"),n3=Symbol("IGraphCommandFactory"),qj=co.Syringe.defineToken("IGraphCommandContribution"),L2;(function(u){function i(t){return!!t&&t===Object(t)&&"id"in t}u.is=i;function c(t,r){if(t.label&&r.label){var d=(t.category?"".concat(t.category,": ").concat(t.label):t.label).toLowerCase(),v=(r.category?"".concat(r.category,": ").concat(r.label):r.label).toLowerCase();return d.localeCompare(v)}else return 0}u.compareCommands=c;function o(t,r){return t.id===r.id&&t.label===r.label&&t.iconName===r.iconName&&t.category===r.category}u.equals=o})(L2||(L2={}));var r3=function(){function u(i){var c=this;Object(xi.a)(this,u),this.contributionProvider=i,this.redoStack=[],this.undoStack=[],this.commands=new Map,this.factories=new Map,this.disposables=new Map,this.cmdChangeEvent=new ry(null),this.Globals=new ry(new Map),this.setGlobal=function(o,t){c.Globals.setValue(function(r){r.set(o,t)})},this.getGlobal=function(o){var t=c.Globals.getValue();return t.get(o)},this.undoCommand=function(){return la(c,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(t=this.undoStack.pop(),t){d.next=4;break}return console.error("empty undo stack"),d.abrupt("return");case 4:return d.next=6,t.undo();case 6:this.redoStack.push(t),this.cmdChangeEvent.setValue(null);case 8:case"end":return d.stop()}},o,this)}))},this.redoCommand=function(){return la(c,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(t=this.redoStack.pop(),t){d.next=4;break}return console.error("empty undo stack"),d.abrupt("return");case 4:return d.next=6,t.redo();case 6:this.undoStack.push(t),this.cmdChangeEvent.setValue(null);case 8:case"end":return d.stop()}},o,this)}))},this.registerDisposableCommand=function(o){var t=new Of,r={registerCommand:function(v,g){var b=c.registerCommand(v,g);return t.push(b),b}};return o(r),t}}return Object(Pi.a)(u,[{key:"watchChange",get:function(){return this.cmdChangeEvent.watch}},{key:"onStart",value:function(){var c=this.contributionProvider.getContributions(),o=Object(iv.a)(c),t;try{for(o.s();!(t=o.n()).done;){var r=t.value;r.registerGraphCommands(this)}}catch(d){o.e(d)}finally{o.f()}}},{key:"executeCommandPipeline",value:function(c){return la(this,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d,v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:t=null,r=Object(iv.a)(c),K.prev=2,r.s();case 4:if((d=r.n()).done){K.next=17;break}return v=d.value,g=t==null?void 0:t.contextProvider(),K.next=9,v==null?void 0:v.getCommandOption(g);case 9:return b=K.sent,P=b.args,I=b.hooks,K.next=14,this.executeCommand(v==null?void 0:v.commandId,P,I);case 14:t=K.sent;case 15:K.next=4;break;case 17:K.next=22;break;case 19:K.prev=19,K.t0=K.catch(2),r.e(K.t0);case 22:return K.prev=22,r.f(),K.finish(22);case 25:return this.cmdChangeEvent.setValue(null),K.abrupt("return",t);case 27:case"end":return K.stop()}},o,this,[[2,19,22,25]])}))}},{key:"executeCommand",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(this,void 0,void 0,Object(Z.a)().mark(function r(){var d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(d=this.getFactory(c),!d){b.next=10;break}return b.next=4,d.createCommand(c,o,t);case 4:return v=b.sent,b.next=7,v.execute();case 7:return v.isUndoable()&&this.undoStack.push(v),this.cmdChangeEvent.setValue(null),b.abrupt("return",v);case 10:throw Object.assign(new Error("The command '".concat(c,"' cannot be executed. There are no active handlers available for the command.")),{code:"NO_ACTIVE_HANDLER"});case 11:case"end":return b.stop()}},r,this)}))}},{key:"executeUndoCommand",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(this,void 0,void 0,Object(Z.a)().mark(function r(){var d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(d=this.getFactory(c),!d){b.next=8;break}return b.next=4,d.createCommand(c,o,t);case 4:return v=b.sent,b.next=7,v.execute();case 7:return b.abrupt("return",v);case 8:throw Object.assign(new Error("The command '".concat(c,"' cannot be executed. There are no active handlers available for the command.")),{code:"NO_ACTIVE_HANDLER"});case 9:case"end":return b.stop()}},r,this)}))}},{key:"createCommand",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(this,void 0,void 0,Object(Z.a)().mark(function r(){var d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(d=this.getFactory(c),!d){b.next=6;break}return b.next=4,d.createCommand(c,o,t);case 4:return v=b.sent,b.abrupt("return",v);case 6:throw Object.assign(new Error("The command '".concat(c,"' cannot be executed. There are no active handlers available for the command.")),{code:"NO_ACTIVE_HANDLER"});case 7:case"end":return b.stop()}},r,this)}))}},{key:"isUndoable",get:function(){return this.undoStack.length>0}},{key:"isRedoable",get:function(){return this.redoStack.length>0}},{key:"hasCommand",value:function(c){return this.commands.has(c)}},{key:"getCommand",value:function(c){return this.commands.get(c)}},{key:"registerCommand",value:function(c,o){var t=this;if(this.factories.has(c.id))return console.warn("A command ".concat(c.id," is already registered.")),ou.NULL;var r=new Of(this.doRegisterCommand(c),this.registerFactory(c.id,o),ou.create(function(){return t.disposables.delete(c.id)}));return this.disposables.set(c.id,r),r}},{key:"doRegisterCommand",value:function(c){var o=this;return this.commands.set(c.id,c),ou.create(function(){return o.disposables.delete(c.id)})}},{key:"unregisterCommand",value:function(c){var o=L2.is(c)?c.id:c,t=this.disposables.get(o);t&&t.dispose()}},{key:"hasFactory",value:function(c){var o=this.factories.get(c);return!!o}},{key:"getFactory",value:function(c){var o=this.factories.get(c);return o}},{key:"registerFactory",value:function(c,o){var t=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.hasFactory(c)&&r===!1&&console.error("cannot register command:",c),this.factories.set(c,o),ou.create(function(){t.factories.delete(c)})}},{key:"getAllFactories",value:function(){return Array.from(this.factories.entries())}}]),u}();r3=ls([Object(co.singleton)({contrib:[t_,e0]}),d6(0,Object(co.contrib)(qj)),Es("design:paramtypes",[Object])],r3);var eM=Object(co.Module)(function(u){co.Contribution.register(u,qj),u(r3)}),ay=co.Syringe.defineToken("IModelService"),n_=co.Syringe.defineToken("IModelContribution"),a3=Symbol("IModelOptionProvider"),F2;(function(u){u.ASYNC_SRRIES="ASYNC_SRRIES",u.ASYNC_PARALLEL="ASYNC_PARALLEL"})(F2||(F2={}));var pO=l("xdlL"),i3=l("ZKkB"),rz=l("r5xO"),U2=l.n(rz),xb;(function(u){var i;(function(t){t.INVALID_HOOK_BEFORE="INVALID_HOOK_BEFORE",t.INVALID_HOOK_AFTER="INVALID_HOOK_AFTER",t.INVALID_HOOK_ARGS_LENGTH="INVALID_HOOK_ARGS_LENGTH"})(i=u.ErrorEnum||(u.ErrorEnum={}));var c=function(t){Object(Cc.a)(d,t);var r=Object(Ec.a)(d);function d(v,g){var b;Object(xi.a)(this,d),Array.isArray(g)&&(g=g.filter(function(K){return!!K}).join(" ")),b=r.call(this,"".concat(v,": ").concat(g)),Error.captureStackTrace&&Error.captureStackTrace(Object(Fp.a)(b),d),b.code=v,b.contexts={};for(var P=arguments.length,I=new Array(P>2?P-2:0),V=2;V<P;V++)I[V-2]=arguments[V];return I.forEach(function(K){typeof K=="object"&&Object.entries(K).forEach(function(ae){var ue=Object(we.a)(ae,2),ve=ue[0],Oe=ue[1];ve!=="key"&&Oe&&(b.contexts[ve]=JSON.parse(JSON.stringify(Oe)))})}),b}return Object(Pi.a)(d,[{key:"toString",value:function(){return"".concat(this.code,": ").concat(this.message)}}]),d}(Object(i3.a)(Error));u.HookError=c;var o=function(r,d){for(var v=arguments.length,g=new Array(v>2?v-2:0),b=2;b<v;b++)g[b-2]=arguments[b];return Object(pO.a)(c,[r,d].concat(g))};u.HookBeforeError=function(){return o(i.INVALID_HOOK_BEFORE,["hook require a before dependency but not exist in hookmap"])},u.HookAfterError=function(){return o(i.INVALID_HOOK_AFTER,["hook require a after dependency but not exist in hookmap"])},u.InvalidHookArguments=function(t){return o(i.INVALID_HOOK_ARGS_LENGTH,["hook handlers must have 0 to 2 arguments","but got ".concat(t.handler.length)])}})(xb||(xb={}));var tM;(function(u){u.normalize=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0,o=Array.isArray(i)?i:[i],t=[];return c.forEach(function(r){t.push(r)}),[].concat(t,Object(Bs.a)(o)).filter(function(r){return r&&!!r.handler})},u.sort=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0,o=[];i.forEach(function(r){if(r.before){if(!c.has(r.before))throw xb.HookBeforeError();var d=[r,c.get(r.before)];o.push(d)}if(r.after){if(!c.has(r.after))throw xb.HookBeforeError();var v=[c.get(r.after),r];o.push(v)}});var t=U2.a.array(i,o);return t}})(tM||(tM={}));var o3=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.isResolved=!1,this.isRejected=!1,this.promise=new Promise(function(c,o){i.resolve=function(t){i.isResolved=!0,c(t)},i.reject=function(t){i.isRejected=!0,o(t)}})}),r_=Object(Pi.a)(function u(i){var c=this,o;Object(xi.a)(this,u),this.scheduleType=F2.ASYNC_SRRIES,this.hasHook=function(t){return c.hookMap.has(t)},this.getHooks=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=tM.normalize(t,c.hookMap);return r?tM.sort(d,c.hookMap):d},this.registerHook=function(t){return c.hookMap.has(t.name)&&console.error("".concat(t.name," is duplicated in hookmap")),c.hookMap.set(t.name,t),{dispose:function(){c.hookMap.delete(t.name)}}},this.call=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(v){return la(c,void 0,void 0,Object(Z.a)().mark(function g(){return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",v);case 1:case"end":return P.stop()}},g)}))},d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return g=this.getHooks(d,!0),b=this.schedulers[this.scheduleType],I.abrupt("return",b(t,r,g));case 3:case"end":return I.stop()}},v,this)}))},this.schedulers=(o={},Object(qc.a)(o,F2.ASYNC_SRRIES,function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g,b,P,I,V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:g=r,b=Object(iv.a)(d),ue.prev=2,b.s();case 4:if((P=b.n()).done){ue.next=26;break}if(I=P.value,![0,1].includes(I.handler.length)){ue.next=10;break}return ue.next=9,I.handler.call(this,t);case 9:return ue.abrupt("continue",24);case 10:if(!([2].includes(I.handler.length)&&g!==null)){ue.next=22;break}return ue.next=13,I.handler.call(this,t,g);case 13:if(V=ue.sent,V!==null){ue.next=19;break}return g=null,ue.abrupt("break",26);case 19:if(typeof V!="function"){ue.next=22;break}return g=V,ue.abrupt("continue",24);case 22:throw K=xb.InvalidHookArguments(I),K;case 24:ue.next=4;break;case 26:ue.next=31;break;case 28:ue.prev=28,ue.t0=ue.catch(2),b.e(ue.t0);case 31:return ue.prev=31,b.f(),ue.finish(31);case 34:if(!g){ue.next=38;break}return ue.next=37,g.call(this,t);case 37:return ue.abrupt("return",ue.sent);case 38:case"end":return ue.stop()}},v,this,[[2,28,31,34]])}))}),Object(qc.a)(o,F2.ASYNC_PARALLEL,function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g=this,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(b=d.map(function(K){if([0,1].includes(K.handler.length))return K.handler.call(g,t);if([2].includes(K.handler.length))return K.handler.call(g,t,r);throw xb.InvalidHookArguments(K)}),P=new o3,Promise.all(b).then(function(K){return P.resolve(K)}),!r){V.next=7;break}return V.next=6,r.call(this,P);case 6:return V.abrupt("return",V.sent);case 7:case"end":return V.stop()}},v,this)}))}),o),this.hookMap=new Map,i&&i.type&&(this.scheduleType=i.type)}),s3=co.Syringe.defineToken("IHookService"),Tm=co.Syringe.defineToken("IHookContribution"),Jne=function(){return{graphOptions:new r_,reactNodeRender:new r_,reactEdgeLabelRender:new r_,afterGraphInit:new r_,beforeGraphDestroy:new r_,x6Events:new r_}},az=function(){return{dispose:function(){}}},c3;(function(u){u.CONFIG_TYPE="XFlowHook"})(c3||(c3={}));var B2=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.CONFIG_TYPE=c3.CONFIG_TYPE,this.time=Date.now(),this.setRegisterHook=function(c){i.hookRegisterFunc=c},this.setRegisterHookhub=function(c){i.hookhubRegisterFn=c},this.getConfig=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o={CONFIG_TYPE:this.CONFIG_TYPE,hookRegisterFn:this.hookRegisterFunc||az,hookhubRegisterFn:this.hookhubRegisterFn||az},r.abrupt("return",o);case 2:case"end":return r.stop()}},c,this)}))},this.dispose=function(){}}),vO=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.hookProvider=function(){return i.hooks},this.registerHook=function(c){return c(i.hooks)},this.registerHookHub=function(c,o){return i.hooks[c]=o,{dispose:function(){delete i.hooks[c]}}},this.onStart=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:o=this.contributionProvider.getContributions(),t=Object(iv.a)(o);try{for(t.s();!(r=t.n()).done;)d=r.value,d.registerHookHub(this)}catch(V){t.e(V)}finally{t.f()}v=Object(iv.a)(o);try{for(v.s();!(g=v.n()).done;)b=g.value,b.registerHook(this.hooks)}catch(V){v.e(V)}finally{v.f()}case 5:case"end":return I.stop()}},c,this)}))},this.hooks=Jne()}return Object(Pi.a)(u,[{key:"onStop",value:function(){this.toDispose.dispose()}}]),u}();ls([Object(co.contrib)(Tm),Es("design:type",Object)],vO.prototype,"contributionProvider",void 0),vO=ls([Object(co.singleton)({contrib:[t_,s3]}),Es("design:paramtypes",[])],vO);var iz;(function(u){u.pluginId="GraphEventPlugin"})(iz||(iz={}));var hO=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.hookConfig.getConfig();case 2:return t=g.sent,r=t.hookRegisterFn,d=r(c),g.abrupt("return",ou.create(function(){d.dispose()}));case 6:case"end":return g.stop()}},o,this)}))},this.registerHookHub=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.hookConfig.getConfig();case 2:return t=g.sent,r=t.hookhubRegisterFn,d=r(c),g.abrupt("return",ou.create(function(){d.dispose()}));case 6:case"end":return g.stop()}},o,this)}))}});ls([Object(co.inject)(B2),Es("design:type",B2)],hO.prototype,"hookConfig",void 0),hO=ls([Object(co.singleton)({contrib:Tm})],hO);var oz=function(){return null},sz={dispose:oz};function cz(u,i){var c;return function(){clearTimeout(c),c=window.setTimeout(u,i)}}function Zne(u){var i;return function(){i||(i=requestAnimationFrame(function(){i=null,u()}))}}var lz=function(i){var c=document.createElement("style");return c.setAttribute("type","text/css"),document.head.appendChild(c),c.styleSheet?c.styleSheet.cssText=i:c.appendChild(document.createTextNode(i)),c};function Qne(u){return typeof u=="function"&&!!u.prototype.isReactComponent}function qne(u){return typeof u=="function"&&String(u).includes("return React.createElement")}function nM(u){return Qne(u)||qne(u)}var V2;(function(u){u.pluginId="base-graph-events"})(V2||(V2={}));var gO=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.registerHookHub=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ou.create(function(){}));case 1:case"end":return t.stop()}},c)}))},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.x6Events.registerHook({name:V2.pluginId,handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.graphOptions.getOptions();case 2:V=ue.sent,K=V.events,K.forEach(function(ve){P.push(ve)});case 5:case"end":return ue.stop()}},I,this)}))}}),c.afterGraphInit.registerHook({name:V2.pluginId,handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V=this,K,ae,ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return K=P.commandService,ae=P.modelService,ue=P.graph,ke.next=3,c.x6Events.call([],function(Ie){return la(V,void 0,void 0,Object(Z.a)().mark(function Ye(){return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.abrupt("return",Ie.map(function(yt){var jt=function(Ht){yt.callback(Ht,K,ae,ue)};return ue.on(yt.eventName,jt),{dispose:function(){ue.off(yt.eventName,jt)}}}));case 1:case"end":return et.stop()}},Ye)}))});case 3:ve=ke.sent,r.pushAll(ve);case 5:case"end":return ke.stop()}},I)}))}}),c.afterGraphInit.registerHook({name:"add auto resize event",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V,K,ae,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:V=P.commandService,K=P.options,ae=P.graph,ue=Zne(function(){V.executeCommand(qu.GRAPH_RESIZE.id,{})}),window.addEventListener("resize",ue),ve=K.rootContainer,Oe=new ResizeObserver(function(){return ae.resize(ve.clientWidth)}),ve&&Oe.observe(ve),r.push(ou.create(function(){window.removeEventListener("resize",ue)}));case 7:case"end":return Ie.stop()}},I)}))}}),c.beforeGraphDestroy.registerHook({name:V2.pluginId,handler:function(){return la(t,void 0,void 0,Object(Z.a)().mark(function P(){return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:r.dispose();case 1:case"end":return V.stop()}},P)}))}})],r.pushAll(d),g.abrupt("return",r);case 4:case"end":return g.stop()}},o)}))}});ls([Object(co.inject)(A2),Es("design:type",Object)],gO.prototype,"graphOptions",void 0),gO=ls([Object(co.singleton)({contrib:Tm})],gO);var ere=function(i){return Object(co.Module)(function(c){co.Contribution.register(c,Tm),c(hO),c(gO),c(vO),c(B2,{useValue:i})})},rM=function(){function u(){var i=this;Object(xi.a)(this,u),this.extensions=[],this.containerClassNames=new Set,this.addCoreModule=function(c){return i.extensions.unshift(c),ou.create(function(){i.removeExtension(c)})},this.addExtension=function(c){return i.extensions.push(c),ou.create(function(){i.removeExtension(c)})},this.getExtension=function(c){return Object(Gh.find)(i.extensions,function(o){return Object(Gh.get)(o,"config.CONFIG_TYPE")===c})},this.removeExtension=function(c){var o=i.extensions.indexOf(c);o>-1&&i.extensions.splice(o,1)},this.getInstanceId=function(){return i.instanceId},this.addContainerClassNames=function(c){return i.containerClassNames.add(c)},this.getContainerClassNames=function(){return Array.from(i.containerClassNames)},this.getAllExtensions=function(){return i.extensions},this.getAllExtensionConfigs=function(){return i.extensions.map(function(c){return c.config})},this.instanceId=ug()}return Object(Pi.a)(u,[{key:"has",value:function(c){return this.extensions.some(function(o){return o.config.CONFIG_TYPE===c})}}]),u}(),uz=function(){var i=pe.a.useMemo(function(){return new rM},[]);return i},dz=pe.a.createContext({}),nm=function(){return pe.a.useContext(dz)},fz=function(i){var c=nm(),o=pe.a.useMemo(function(){return i.config?i.config:new B2},[]);return pe.a.useEffect(function(){var t=c.addCoreModule({config:o,createModule:ere});return function(){t.dispose(),o.dispose()}},[c,o]),null},tre=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new B2;return i(r,o),r},[o]);return t}},l3=pe.a.createContext({cell:null,x6Graph:null,commands:null,modelService:null}),nre=function(){return pe.a.useContext(l3)};function aM(u,i,c){return function(o){var t=this,r=o==null?void 0:o.getData(),d=o==null?void 0:o.getSize(),v=o==null?void 0:o.getPosition(),g=function(){return pe.a.createElement(l3.Provider,{value:{cell:o,x6Graph:t,commands:i,modelService:c}},pe.a.createElement(u,{cell:o,data:r,size:d,position:v}))};return pe.a.createElement(g,null)}}function rre(u,i,c){return function(o){var t=this,r=o==null?void 0:o.getData(),d=function(){return pe.a.createElement(l3.Provider,{value:{cell:o,x6Graph:t,commands:i,modelService:c}},pe.a.createElement(u,{data:r,cell:o}))};return pe.a.createElement(d,null)}}var Yse=function(){var i=pe.a.useState(!1),c=Object(we.a)(i,2),o=c[0],t=c[1],r=nre(),d=r.x6Graph,v=r.cell;return pe.a.useEffect(function(){var g=function(P){var I=P.added,V=P.removed,K=I.filter(function(ue){return ue.isNode()}).some(function(ue){ue.id,v.id});if(K){v.setData(Object.assign(Object.assign({},v.getData()),{isNodeSelected:!0})),t(!0);return}var ae=V.filter(function(ue){return ue.isNode()}).some(function(ue){ue.id,v.id});if(ae){v.setData(Object.assign(Object.assign({},v.getData()),{isNodeSelected:!1})),t(!1);return}};return d.on("selection:changed",g),function(){d.off("selection:changed",g)}},[d]),[o]},iy=Symbol("IGraphProvider"),mO=Symbol("ICommandServiceProvider"),iM=Symbol("IModelServiceProvider"),a_=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.graphMap=new Map,this.getGraph=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d,v,g,b,P,I,V,K,ae,ue,ve,Oe,ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(r=this.graphMap.get(c),r){Ye.next=31;break}return r=new sh,this.graphMap.set(c,r),Ye.next=6,this.optionProvider.getOptions();case 6:return d=Ye.sent,v=this.hookService.hookProvider(),Ye.next=10,v.graphOptions.call(d.x6Options);case 10:return g=Ye.sent,b=d.graphContainer,P=d.edgeRender,I=d.nodeRender,V=d.edgeTypeParser,Ye.next=14,v.reactEdgeLabelRender.call(P);case 14:return K=Ye.sent,Ye.next=17,v.reactNodeRender.call(I);case 17:return ae=b.clientHeight,ue=b.clientWidth,Ye.next=20,this.commandServiceProvider.getCommandService();case 20:return ve=Ye.sent,Ye.next=23,this.modelServiceProvider.getModelService();case 23:return Oe=Ye.sent,ke=new bf(Object.assign(Object.assign({container:b,width:ue,height:ae},g),{onEdgeLabelRendered:function(et){var yt=et.edge,jt=et.container;t.renderEdgeReactLabel({edge:yt,container:jt,edgeRenderMap:K,edgeTypeParser:V,modelService:Oe,commandService:ve})}})),Ye.next=27,v.afterGraphInit.call({graph:ke,commandService:ve,modelService:Oe,options:d});case 27:r.resolve(ke),ke.on("node:moved",function(Ze){var et=Ze.node,yt=et.getData(),jt=et.position();et.setData(Object.assign(Object.assign({},yt),{x:jt==null?void 0:jt.x,y:jt==null?void 0:jt.y}))}),ke.on("node:resized",function(Ze){var et=Ze.node,yt=et.getData(),jt=et.size();et.setData(Object.assign(Object.assign({},yt),{width:jt==null?void 0:jt.width,height:jt==null?void 0:jt.height}))}),this.toDispose.push(ou.create(function(){return la(t,void 0,void 0,Object(Z.a)().mark(function Ze(){return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,v.beforeGraphDestroy.call({graph:ke,commandService:ve,modelService:Oe,options:d});case 2:this.graphMap.delete(c),ke.dispose();case 4:case"end":return yt.stop()}},Ze,this)}))}));case 31:return Ye.abrupt("return",r.promise);case 32:case"end":return Ye.stop()}},o,this)}))},this.renderEdgeReactLabel=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d,v,g,b,P,I,V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(t=c.container,r=c.edgeTypeParser,d=c.edge,v=c.edgeRenderMap,g=c.commandService,b=c.modelService,P=r(d==null?void 0:d.data)||bb,I=v.get(P),I){ue.next=5;break}return ue.abrupt("return");case 5:d&&(d==null?void 0:d.data)&&I&&(V=this.edgeAppendForeignObject(d,t),K=rre(I,g,b)(d),Jo.a.render(K,V));case 6:case"end":return ue.stop()}},o,this)}))}}return Object(Pi.a)(u,[{key:"edgeAppendForeignObject",value:function(c,o){var t=S.createSvgElement("foreignObject"),r=S.createElementNS("body",S.ns.xhtml),d=S.createElementNS("div",S.ns.xhtml),v=c==null?void 0:c.data,g=(v==null?void 0:v.edgeContentWidth)||100,b=(v==null?void 0:v.edgeContentHeight)||30;return t.setAttribute("width","".concat(g)),t.setAttribute("height","".concat(b)),t.setAttribute("x","".concat(-1*g/2)),t.setAttribute("y","".concat(-1*b/2)),r.setAttribute("xhtmls",S.ns.xhtml),r.style.width="100%",r.style.height="100%",r.style.padding="0",r.style.margin="0",r.style.background="unset",r.style.overflow="visible",r.className="xflow-edge-label-body",d.style.width="100%",d.style.height="100%",r.appendChild(d),t.appendChild(r),o.appendChild(t),d}},{key:"dispose",value:function(){this.toDispose.dispose()}}]),u}();ls([Object(co.inject)(A2),Es("design:type",Object)],a_.prototype,"optionProvider",void 0),ls([Object(co.inject)(s3),Es("design:type",Object)],a_.prototype,"hookService",void 0),ls([Object(co.inject)(mO),Es("design:type",Object)],a_.prototype,"commandServiceProvider",void 0),ls([Object(co.inject)(iM),Es("design:type",Object)],a_.prototype,"modelServiceProvider",void 0),a_=ls([Object(co.singleton)()],a_);var are=function(i){i(a_),i(iy,{lifecycle:co.Syringe.Lifecycle.singleton,useDynamic:function(o){return{getGraphInstance:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){var d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return d=o.container.get(a_),v=o.container.get(A2),I.next=4,v==null?void 0:v.getOptions();case 4:return g=I.sent,I.next=7,d==null?void 0:d.getGraph(g.graphId);case 7:return b=I.sent,I.abrupt("return",b);case 9:case"end":return I.stop()}},r)}))},getGraphOptions:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){var d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return d=o.container.get(A2),g.abrupt("return",d==null?void 0:d.getOptions());case 2:case"end":return g.stop()}},r)}))}}}}),i(mO,{lifecycle:co.Syringe.Lifecycle.singleton,useDynamic:function(o){return{getCommandService:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){var d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return d=o.container.get(e0),g.abrupt("return",d);case 2:case"end":return g.stop()}},r)}))}}}}),i(iM,{lifecycle:co.Syringe.Lifecycle.singleton,useDynamic:function(o){return{getModelService:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){var d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return d=o.container.get(ay),g.abrupt("return",d);case 2:case"end":return g.stop()}},r)}))}}}})},u3;(function(u){u.CONFIG_TYPE="MODEL_SERVICE_CONFIG"})(u3||(u3={}));var d3=function(){return ou.create(function(){})},f3=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.CONFIG_TYPE=u3.CONFIG_TYPE,this.registerModelFn=d3,this.isMounted=new sh,this.registerModel=function(c){i.registerModelFn=c},this.setMountState=function(){i.isMounted.resolve(!0)},this.getConfig=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isMounted.promise;case 2:return t.abrupt("return",{CONFIG_TYPE:this.CONFIG_TYPE,modelRegisterFunc:this.registerModelFn||d3});case 3:case"end":return t.stop()}},c,this)}))},this.dispose=function(){i.registerModelFn=d3,i.isMounted=new sh}}),_O=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.deferredModelMap=new Map,this.registerModel=function(c){var o=c.id,t=c.getInitialValue,r=c.modelFactory,d=new Of,v=i.ensureModel(o);if(v.isResolved){console.error(c,"model has been registerd");return}var g=t?t():e_.EMPTY_VALUE,b=r?r():new ry(g);return e_.isValidValue(g)&&v.resolve(b),c.watchChange&&c.watchChange(b,i).then(function(P){v.isResolved||v.resolve(b),i.toDispose.pushAll([P,d]),d.push(P)}),d},this.findDeferredModel=function(c){return i.deferredModelMap.get(c)},this.awaitModel=function(c){var o=i.ensureModel(c);return o.promise},this.registerRuntimeModel=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,this.modelOptionProvider.getOption();case 2:return o=v.sent,t=o.modelRegisterFunc,v.next=6,this.graphProvider.getGraphInstance();case 6:r=v.sent,t&&t(this,r);case 8:case"end":return v.stop()}},c,this)}))},this.ensureModel=function(c){var o=i.deferredModelMap.get(c);if(o)return o;var t=new sh;return i.deferredModelMap.set(c,t),i.toDispose.push(ou.create(function(){return i.deferredModelMap.delete(c)})),t}}return Object(Pi.a)(u,[{key:"onStart",value:function(){var c=this.contributionProvider.getContributions(),o=Object(iv.a)(c),t;try{for(o.s();!(t=o.n()).done;){var r=t.value;r.registerModel(this)}}catch(d){o.e(d)}finally{o.f()}this.registerRuntimeModel()}},{key:"onStop",value:function(){this.toDispose.dispose()}}]),u}();ls([Object(co.contrib)(n_),Es("design:type",Object)],_O.prototype,"contributionProvider",void 0),ls([Object(co.inject)(a3),Es("design:type",Object)],_O.prototype,"modelOptionProvider",void 0),ls([Object(co.inject)(iy),Es("design:type",Object)],_O.prototype,"graphProvider",void 0),_O=ls([Object(co.singleton)({contrib:[t_,ay]})],_O);var p3=function(i){return function(c){var o=c.findDeferredModel(i);return!!(o&&o.promise)}},qp=function(i){return function(c){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,c.awaitModel(i);case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}},o)}))}},sv=function(i){return function(c){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,c.awaitModel(i);case 2:return t=d.sent,d.abrupt("return",t.getValidValue());case 4:case"end":return d.stop()}},o)}))}},oM;(function(u){u.id="GRAPH_ENABLE_MULTI_SELECT",u.getModel=qp(u.id),u.useValue=sv(u.id)})(oM||(oM={}));var oy;(function(u){u.id="GRAPH_FULLSCREEN",u.getModel=qp(u.id),u.useValue=sv(u.id)})(oy||(oy={}));var sM;(function(u){u.id="IS_NODE_SELECTED",u.getModel=qp(u.id),u.useValue=sv(u.id)})(sM||(sM={}));var z2;(function(u){u.id="IS_GROUP_SELECTED",u.getModel=qp(u.id),u.useValue=sv(u.id)})(z2||(z2={}));var cM;(function(u){u.id="IS_NORMAL_NODES_SELECTED",u.getModel=qp(u.id),u.useValue=sv(u.id)})(cM||(cM={}));var H2;(function(u){u.id="LAST_SELECTED_CELL",u.getModel=qp(u.id),u.useValue=sv(u.id)})(H2||(H2={}));var Sb;(function(u){u.id="SELECTED_CELLS",u.getModel=qp(u.id),u.useValue=sv(u.id)})(Sb||(Sb={}));var G2;(function(u){u.id="LAST_SELECTED_NODE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(G2||(G2={}));var sy;(function(u){u.id="SELECTED_NODES",u.getModel=qp(u.id),u.useValue=sv(u.id)})(sy||(sy={}));var $2;(function(u){u.id="SELECTED_EDGES",u.getModel=qp(u.id),u.useValue=sv(u.id)})($2||($2={}));var lM;(function(u){u.id="SELECTED_GROUPS",u.getModel=qp(u.id),u.useValue=sv(u.id)})(lM||(lM={}));var v3;(function(u){u.id="CONTEXTMENU_NODE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(v3||(v3={}));var h3;(function(u){u.id="CONTEXTMENU_EDGE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(h3||(h3={}));var uM;(function(u){u.id="CONTEXTMENU_TARGET",u.getModel=qp(u.id),u.useValue=sv(u.id)})(uM||(uM={}));var dM;(function(u){u.id="GRAPH_META",u.getModel=qp(u.id),u.useValue=sv(u.id)})(dM||(dM={}));var fM;(function(u){u.id="GRAPH_SCALE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(fM||(fM={}));var pM;(function(u){u.id="COMMAND_REDOABLE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(pM||(pM={}));var dE;(function(u){u.id="COMMAND_UNDOABLE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(dE||(dE={}));var vM;(function(u){u.id="COMMAND_GLOBALS",u.getModel=qp(u.id),u.useValue=sv(u.id)})(vM||(vM={}));var hM;(function(u){u.id="HISTORY_UNDOABLE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(hM||(hM={}));var W2;(function(u){u.id="HISTORY_REDOABLE",u.getModel=qp(u.id),u.useValue=sv(u.id)})(W2||(W2={}));var gM=function(){function u(){Object(xi.a)(this,u)}return Object(Pi.a)(u,[{key:"registerModel",value:function(c){var o=this;c.registerModel({id:pM.id,getInitialValue:function(){return o.commands.isRedoable},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v=this,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return g=this.commands.watchChange(function(){r.setValue(v.commands.isRedoable)}),P.abrupt("return",g);case 2:case"end":return P.stop()}},d,this)}))}}),c.registerModel({id:dE.id,getInitialValue:function(){return o.commands.isUndoable},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v=this,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return g=this.commands.watchChange(function(){r.setValue(v.commands.isUndoable)}),P.abrupt("return",g);case 2:case"end":return P.stop()}},d,this)}))}}),c.registerModel({id:vM.id,modelFactory:function(){return o.commands.Globals}})}}]),u}();ls([Object(co.inject)(e0),Es("design:type",Object)],gM.prototype,"commands",void 0),gM=ls([Object(co.singleton)({contrib:n_})],gM);var g3=function(i,c,o){return i.on(c,o),ou.create(function(){i.off(c,o)})},mM=function(){function u(){var i=this;Object(xi.a)(this,u),this.getGraphInstance=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.graphProvider.getGraphInstance();case 2:return o=d.sent,d.next=5,this.graphProvider.getGraphOptions();case 5:return t=d.sent,d.abrupt("return",{graph:o,config:t});case 7:case"end":return d.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"registerModel",value:function(c){var o=this;c.registerModel({id:dM.id,getInitialValue:function(){return{flowId:"-1"}},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",ou.create(function(){r.setValue({flowId:"-1"})}));case 1:case"end":return g.stop()}},d)}))}}),c.registerModel({id:oM.id,getInitialValue:function(){return{isEnable:!1}},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",ou.create(function(){r.setValue({isEnable:!1})}));case 1:case"end":return g.stop()}},d)}))}}),c.registerModel({id:oy.id,getInitialValue:function(){return!1},watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g=this,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return b=function(){return la(g,void 0,void 0,Object(Z.a)().mark(function K(){var ae,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return ae=!!document.fullscreenElement,Oe.next=3,oy.getModel(d);case 3:ue=Oe.sent,ue.setValue(ae);case 5:case"end":return Oe.stop()}},K)}))},document.addEventListener("fullscreenchange",b,!1),I.abrupt("return",ou.create(function(){document.removeEventListener("fullscreenchange",b),r.setValue(!1)}));case 3:case"end":return I.stop()}},v)}))}}),c.registerModel({id:Sb.id,getInitialValue:function(){return[]},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.getGraphInstance();case 2:return v=I.sent,g=v.graph,b=function(K){var ae=K.selected;r.setValue(ae)},g.on("selection:changed",b),I.abrupt("return",ou.create(function(){return g.off("selection:changed",b)}));case 7:case"end":return I.stop()}},d,this)}))}}),c.registerModel({id:H2.id,watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,Sb.getModel(d);case 2:return g=P.sent,P.abrupt("return",g.watch(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r.setValue(Object(Bs.a)(I).pop()||null)}));case 4:case"end":return P.stop()}},v)}))}}),c.registerModel({id:sy.id,getInitialValue:function(){return[]},watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,Sb.getModel(d);case 2:return g=P.sent,P.abrupt("return",g.watch(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],V=I.filter(function(K){return K.isNode()});r.setValue(V)}));case 4:case"end":return P.stop()}},v)}))}}),c.registerModel({id:G2.id,watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,sy.getModel(d);case 2:return g=I.sent,b=g.watch(function(V){r.setValue(Object(Bs.a)(V).pop()||null)}),I.abrupt("return",b);case 5:case"end":return I.stop()}},v)}))}}),c.registerModel({id:sM.id,watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,sy.getModel(d);case 2:return g=I.sent,b=g.watch(function(V){r.setValue(V.length>0)}),I.abrupt("return",b);case 5:case"end":return I.stop()}},v)}))}}),c.registerModel({id:z2.id,getInitialValue:function(){return!1},watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,Sb.getModel(d);case 2:return g=I.sent,b=g.watch(function(V){var K=V.every(function(ae){return ae&&ae.getProp("isGroup")===!0});r.setValue(K)}),I.abrupt("return",b);case 5:case"end":return I.stop()}},v)}))}}),c.registerModel({id:lM.id,getInitialValue:function(){return[]},watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,sy.getModel(d);case 2:return g=I.sent,b=g.watch(function(V){var K=V.filter(function(ae){return ae&&ae.getProp("isGroup")===!0});r.setValue(K)}),I.abrupt("return",b);case 5:case"end":return I.stop()}},v)}))}}),c.registerModel({id:cM.id,getInitialValue:function(){return!1},watchChange:function(r,d){return la(o,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,Sb.getModel(d);case 2:return g=I.sent,b=g.watch(function(V){var K=V.every(function(ue){var ve=!(ue&&ue.getProp("isGroup")),Oe=!(ue&&ue.getProp("group"));return ve&&Oe}),ae=V.length>0&&K;r.setValue(ae)}),I.abrupt("return",b);case 5:case"end":return I.stop()}},v)}))}}),c.registerModel({id:fM.id,getInitialValue:function(){return{zoomFactor:-1}},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.getGraphInstance();case 2:return v=I.sent,g=v.graph,b=function(K){var ae=g.zoom();r.setValue(Object.assign(Object.assign({},K),{zoomFactor:ae}))},g.on("scale",b),I.abrupt("return",ou.create(function(){return g.off("scale",b)}));case 7:case"end":return I.stop()}},d,this)}))}}),c.registerModel({id:uM.id,watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,this.getGraphInstance();case 2:return v=K.sent,g=v.graph,b=v.config,P=function(ue){return function(ve){var Oe=ve.x,ke=ve.y,Ie=g.localToClient({x:Oe,y:ke}),Ye=b.rootContainer.getBoundingClientRect(),Ze={x:Ie.x-((Ye==null?void 0:Ye.x)||0),y:Ie.y-((Ye==null?void 0:Ye.y)||0)};r.setValue({type:ue,anchor:Ze,data:ve,cell:ve.cell})}},I=new Of,I.pushAll([g3(g,"node:contextmenu",P("node")),g3(g,"edge:contextmenu",P("edge")),g3(g,"blank:contextmenu",P("blank"))]),K.abrupt("return",I);case 9:case"end":return K.stop()}},d,this)}))}}),c.registerModel({id:W2.id,getInitialValue:function(){return!1},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.getGraphInstance();case 2:return v=I.sent,g=v.graph,b=function(){var K=g.history.canRedo();r.setValue(K)},g.history&&g.history.on("change",b),I.abrupt("return",ou.create(function(){return g.history.off("change",b)}));case 7:case"end":return I.stop()}},d,this)}))}}),c.registerModel({id:hM.id,getInitialValue:function(){return!1},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.getGraphInstance();case 2:return v=I.sent,g=v.graph,b=function(){var K=g.history.canUndo();r.setValue(K)},g.history&&g.history.on("change",b),I.abrupt("return",ou.create(function(){return g.history.off("change",b)}));case 7:case"end":return I.stop()}},d,this)}))}})}}]),u}();ls([Object(co.inject)(iy),Es("design:type",Object)],mM.prototype,"graphProvider",void 0),mM=ls([Object(co.singleton)({contrib:n_})],mM);var ire=Object(co.Module)(function(u){co.Contribution.register(u,n_),u(_O),u(mM),u(gM)}),ore=function(i,c){i({token:a3,useDynamic:function(){return{getOption:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",c.getConfig());case 1:case"end":return v.stop()}},r)}))}}},lifecycle:co.Syringe.Lifecycle.singleton})},sre=function(i){return Object(co.Module)(function(c){ore(c,i)})},_M=function(i){var c=i.config,o=nm(),t=pe.a.useMemo(function(){return c||new f3},[]);return pe.a.useEffect(function(){var r=o.addCoreModule({config:t,createModule:sre});return t.setMountState(),function(){r.dispose(),t.dispose()}},[]),null};_M.defaultProps={XFlowModuleType:"ModelServiceConfig"};var pz=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new f3;return i(r,o),r},[o]);return t}},m3=function(i){var c=i.getChildren(),o=i.getSize(),t=i.getData()||{},r=i.getPosition(),d=i.getParentId(),v=t.isCollapsed,g=t.groupCollapsedSize||(v?o:null);return Object.assign(Object.assign({},t),{id:i.id,width:o.width,height:o.height,x:r.x,y:r.y,group:d,groupChildren:c?c.map(function(b){return b.id}):null,groupCollapsedSize:g})},cre=function(i){var c=i.getData()||{};return Object.assign({id:i.id},c)},_3=function(i){var c=[],o=[],t=function(d){d.isNode()&&c.push(m3(d)),d.isEdge()&&o.push(cre(d))};return i.map(function(r){return t(r)}),{nodes:c,edges:o}},lre=100,wb=function(){function u(){var i=this;Object(xi.a)(this,u),this.getGraphInstance=function(){return i.graphProvider.getGraphInstance()},this.getGraphConfig=function(){return i.graphProvider.getGraphOptions()},this.getGraphData=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.graphProvider.getGraphInstance();case 2:return o=d.sent,t=o.getCells(),d.abrupt("return",_3(t));case 5:case"end":return d.stop()}},c,this)}))},this.getAllNodes=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.graphProvider.getGraphInstance();case 2:return o=r.sent,r.abrupt("return",o.getNodes());case 4:case"end":return r.stop()}},c,this)}))},this.getNodeById=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.graphProvider.getGraphInstance();case 2:return t=d.sent,d.abrupt("return",t.getCellById(c));case 4:case"end":return d.stop()}},o,this)}))},this.getAllEdges=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.graphProvider.getGraphInstance();case 2:return o=r.sent,r.abrupt("return",o.getEdges());case 4:case"end":return r.stop()}},c,this)}))},this.getEdgeById=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.graphProvider.getGraphInstance();case 2:return t=d.sent,d.abrupt("return",t.getCellById(c));case 4:case"end":return d.stop()}},o,this)}))},this.updateNodeAttrs=function(c,o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){var r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(!(c instanceof zf)){v.next=4;break}c.setAttrs(o),v.next=8;break;case 4:return v.next=6,this.getNodeById(c);case 6:r=v.sent,r.setAttrs(o);case 8:case"end":return v.stop()}},t,this)}))},this.updateEdgeAttrs=function(c,o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){var r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(!(c instanceof Zp)){v.next=4;break}c.setAttrs(o),v.next=8;break;case 4:return v.next=6,this.getEdgeById(c);case 6:r=v.sent,r.setAttrs(o);case 8:case"end":return v.stop()}},t,this)}))},this.translateGraph=function(c,o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){var r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.graphProvider.getGraphInstance();case 2:r=g.sent,d=r.translate(),r.translate(d.tx+c,d.ty+o);case 5:case"end":return g.stop()}},t,this)}))}}return Object(Pi.a)(u,[{key:"start",value:function(){return la(this,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.startContributions();case 2:this.registerEventListeners();case 3:case"end":return t.stop()}},c,this)}))}},{key:"executeCommand",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return this.commandService.executeCommand(c,o,t)}},{key:"executeCommandPipeline",value:function(c){return this.commandService.executeCommandPipeline(c)}},{key:"registerEventListeners",value:function(){var c=this;window.addEventListener("unload",function(){c.stopContributions()})}},{key:"startContributions",value:function(){return la(this,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:console.log(this.contributions.getContributions()),t=Object(iv.a)(this.contributions.getContributions()),g.prev=2,d=Object(Z.a)().mark(function b(){var P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(P=r.value,!P.onStart){V.next=10;break}return V.prev=2,V.next=5,o.measure("".concat(P.constructor.name,".onStart"),function(){return P.onStart(o)});case 5:V.next=10;break;case 7:V.prev=7,V.t0=V.catch(2),console.error("Could not start contribution",V.t0);case 10:case"end":return V.stop()}},b,null,[[2,7]])}),t.s();case 5:if((r=t.n()).done){g.next=9;break}return g.delegateYield(d(),"t0",7);case 7:g.next=5;break;case 9:g.next=14;break;case 11:g.prev=11,g.t1=g.catch(2),t.e(g.t1);case 14:return g.prev=14,t.f(),g.finish(14);case 17:case"end":return g.stop()}},c,this,[[2,11,14,17]])}))}},{key:"stopContributions",value:function(){console.info(">>> Stopping frontend contributions...");var c=Object(iv.a)(this.contributions.getContributions()),o;try{for(c.s();!(o=c.n()).done;){var t=o.value;if(t.onStop)try{t.onStop(this)}catch(r){console.error("Could not stop contribution",r)}}}catch(r){c.e(r)}finally{c.f()}console.info("<<< All frontend contributions have been stopped.")}},{key:"measure",value:function(c,o){return la(this,void 0,void 0,Object(Z.a)().mark(function t(){var r,d,v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return r="".concat(c,"-start"),d="".concat(c,"-end"),performance.mark(r),K.next=5,o();case 5:v=K.sent,performance.mark(d),performance.measure(c,r,d),g=Object(iv.a)(performance.getEntriesByName(c));try{for(g.s();!(b=g.n()).done;)P=b.value,I="Frontend ".concat(P.name),P.duration>lre?console.warn("".concat(I," is slow, took: ").concat(P.duration.toFixed(1)," ms")):console.debug("".concat(I," took: ").concat(P.duration.toFixed(1)," ms"))}catch(ae){g.e(ae)}finally{g.f()}return performance.clearMeasures(c),K.abrupt("return",v);case 12:case"end":return K.stop()}},t)}))}}]),u}();ls([Object(co.contrib)(t_),Es("design:type",Object)],wb.prototype,"contributions",void 0),ls([Object(co.inject)(iy),Es("design:type",Object)],wb.prototype,"graphProvider",void 0),ls([Object(co.inject)(e0),Es("design:type",Object)],wb.prototype,"commandService",void 0),ls([Object(co.inject)(ay),Es("design:type",Object)],wb.prototype,"modelService",void 0),wb=ls([Object(co.singleton)()],wb);var K2=Object(co.Module)(function(u){co.Contribution.register(u,t_),u(wb)}),vz=function(i){var c=i.getAllExtensions(),o=new co.Container,t=c.map(function(d){var v=d.createModule,g=d.config;return v(g)});o.load(K2),o.load(eM),o.load(ire),t.forEach(function(d){o.load(d)});var r=o.get(wb);return r},Xse=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.xflowPrefixCls=jL,this.getXflowPrefixCls=function(c){return"".concat(i.xflowPrefixCls,"-").concat(c)},this.setXflowPrefixCls=function(c){return i.xflowPrefixCls=c}}),y3=pe.a.createContext({configProvider:null}),ure=function(){return pe.a.useContext(y3)},t0=function(i){var c=ure();return pe.a.useMemo(function(){return c.configProvider?c.configProvider.getXflowPrefixCls(i):"".concat(jL,"-").concat(i)},[i])};function fE(u){var i=this,c=u.createModule,o=u.children,t=nm(),r=pe.a.useMemo(function(){return u.config||{CONFIG_TYPE:"",getConfig:function(){return la(i,void 0,void 0,Object(Z.a)().mark(function v(){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",{});case 1:case"end":return b.stop()}},v)}))}}},[]);return pe.a.useEffect(function(){var d=t.addExtension({config:r,createModule:c});return function(){d.dispose()}},[]),Array.isArray(o)||pe.a.isValidElement(o)?pe.a.createElement(pe.a.Fragment,null," ",o," "):null}var rm=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object(fe.useMemo)(function(){var c=Object.entries(i),o=c.length>0?{position:"absolute"}:{};return c.forEach(function(t){var r=Object(we.a)(t,2),d=r[0],v=r[1],g=v===void 0?0:v;o[d]="".concat(g,"px")}),o},[i])},dre=function(i){return Object(co.Module)(function(c){are(c),LL(c,i)})},yM=ie.create({type:"react componnet"});bf.registerReactComponent=yM.register,bf.unregisterReactComponent=yM.unregister,bf.Hook.prototype.getReactComponent=function(u){var i=this.options.getReactComponent;if(typeof i=="function"){var c=k.call(i,this.graph,u);if(c!=null)return c}var o=u.getComponent();if(typeof o=="string"){var t=yM.get(o);if(t==null)return yM.onNotFound(o);o=t}return o};var Y2=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"component",get:function(){return this.getComponent()},set:function(t){this.setComponent(t)}},{key:"getComponent",value:function(){return this.store.get("component")}},{key:"setComponent",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t==null?this.removeComponent(r):this.store.set("component",t,r),this}},{key:"removeComponent",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.store.remove("component",t),this}}]),c}(zf);(function(u){function i(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"rect",r=[],d=o?Cf.getForeignObjectMarkup():{tagName:"g",selector:"content"};return c?r.push(d):r.push.apply(r,[{tagName:t,selector:"body"},d,{tagName:"text",selector:"label"}]),r}u.config({view:"react-shape-view",markup:i(!1,!0),attrs:{body:{fill:"none",stroke:"none",refWidth:"100%",refHeight:"100%"},fo:{refWidth:"100%",refHeight:"100%"},label:{fontSize:14,fill:"#333",refX:"50%",refY:"50%",textAnchor:"middle",textVerticalAnchor:"middle"}},propHooks:function(o){if(o.markup==null){var t=o.primer,r=o.useForeignObject!==!1;if(t&&t!=="rect"){o.markup=i(!1,r,t);var d={};t==="circle"?d={refCx:"50%",refCy:"50%",refR:"50%"}:t==="ellipse"&&(d={refCx:"50%",refCy:"50%",refRx:"50%",refRy:"50%"}),o.attrs=m.merge({},{body:Object.assign({refWidth:null,refHeight:null},d)},o.attrs||{})}else o.simple&&(o.markup=i(!0,r),o.attrs=m.merge({},{body:null,label:null},o.attrs||{}))}return o}}),zf.registry.register("react-shape",u,!0)})(Y2||(Y2={}));var pE;(function(u){var i=!1,c,o=function(b,P){var I=P.payload;switch(P.type){case"add":{var V=b.findIndex(function(ue){return ue.id===I.id});return V>=0?(b[V]=I,Object(Bs.a)(b)):[].concat(Object(Bs.a)(b),[I])}case"remove":{var K=b.findIndex(function(ue){return ue.id===I.id});if(K>=0){var ae=Object(Bs.a)(b);return ae.splice(K,1),ae}break}default:break}return b};function t(g,b){i&&c({type:"add",payload:{id:g,portal:b}})}u.connect=t;function r(g){i&&c({type:"remove",payload:{id:g}})}u.disconnect=r;function d(){return i}u.isActive=d;function v(){return function(){i=!0;var g=Object(fe.useReducer)(o,[]),b=Object(we.a)(g,2),P=b[0],I=b[1];return c=I,pe.a.createElement(pe.a.Fragment,{children:P.map(function(V){return V.portal})})}}u.getProvider=v})(pE||(pE={}));var bM=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this,o),t.scheduledAnimationFrame=!1,t.throttleUpdateFunc=function(){t.scheduledAnimationFrame||(t.scheduledAnimationFrame=!0,window.requestAnimationFrame(function(){t.setState(function(r){return t.scheduledAnimationFrame=!1,{tick:r.tick+1}})}))},t.onChange=function(r){if(c.throttleChangeTypes.includes(r.key)){t.throttleUpdateFunc();return}t.setState({tick:t.state.tick+1})},t.state={tick:0},t}return Object(Pi.a)(c,[{key:"componentDidMount",value:function(){this.props.node.on("change:*",this.onChange)}},{key:"componentWillUnmount",value:function(){this.props.node.off("change:*",this.onChange)}},{key:"clone",value:function(t){var r=this.props.node;return typeof t.type=="string"?pe.a.cloneElement(t):pe.a.cloneElement(t,{node:r})}},{key:"render",value:function(){var t=this.props,r=t.graph,d=t.node,v=t.component;if(pe.a.isValidElement(v))return this.clone(v);if(typeof v=="function"){var g=k.call(v,r,d);if(pe.a.isValidElement(g))return this.clone(g)}return v}}]),c}(pe.a.PureComponent);bM.throttleChangeTypes=["position","size"];var hz=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"init",value:function(){var t=this;Object($u.a)(Object(Wu.a)(c.prototype),"init",this).call(this),this.cell.on("removed",function(){pE.disconnect(t.cell.id)})}},{key:"getComponentContainer",value:function(){return this.cell.prop("useForeignObject")===!1?this.selectors.content:this.selectors.foContent}},{key:"confirmUpdate",value:function(t){var r=this,d=Object($u.a)(Object(Wu.a)(c.prototype),"confirmUpdate",this).call(this,t);return this.handleAction(d,c.action,function(){e2?e2.scheduleTask(function(){r.renderReactComponent()}):r.renderReactComponent()})}},{key:"renderReactComponent",value:function(){this.unmountReactComponent();var t=this.getComponentContainer(),r=this.cell,d=this.graph;if(t){var v=this.graph.hook.getReactComponent(r),g=pe.a.createElement(bM,{graph:d,node:r,component:v});pE.isActive()?pE.connect(this.cell.id,Jo.a.createPortal(g,t)):Jo.a.render(g,t)}}},{key:"unmountReactComponent",value:function(){var t=this.getComponentContainer();return t&&Jo.a.unmountComponentAtNode(t),t}},{key:"unmount",value:function(){return pE.disconnect(this.cell.id),this.unmountReactComponent(),Object($u.a)(Object(Wu.a)(c.prototype),"unmount",this).call(this),this}}]),c}(ih);(function(u){u.action="react",u.config({bootstrap:[u.action],actions:{component:u.action}}),ih.registry.register("react-shape-view",u,!0)})(hz||(hz={}));var gz=function(u,i,c,o){var t=arguments.length,r=t<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,c):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(u,i,c,o);else for(var v=u.length-1;v>=0;v--)(d=u[v])&&(r=(t<3?d(r):t>3?d(i,c,r):d(i,c))||r);return t>3&&r&&Object.defineProperty(i,c,r),r},b3="react";function fre(u){var i={current:function(){}},c=function(P){i.current(P)},o,t;function r(b,P){o({id:b,portal:P})}function d(b){t(b)}var v=function(){var P=Object(fe.useState)([]),I=Object(we.a)(P,2),V=I[0],K=I[1],ae=Object(fe.useState)(),ue=Object(we.a)(ae,2),ve=ue[0],Oe=ue[1],ke=Object(fe.useRef)([]),Ie=Object(fe.useRef)([]);i.current=Oe;var Ye=Object(fe.useCallback)(function(jt){var Ft=jt.id;if(ke.current.includes(Ft)){var Ht=Ie.current,Gt=Ht.findIndex(function(Jt){return Jt.id===Ft});Gt>-1?Ht[Gt]=jt:Ht.push(jt),Ie.current=Ht}else K(function(Jt){var mn=Object(Bs.a)(Jt),vn=mn.findIndex(function(Yt){return Yt.id===Ft});return vn>-1?mn[vn]=jt:mn.push(jt),mn})},[]);o=Ye;var Ze=Object(fe.useCallback)(function(jt){ke.current.includes(jt)&&(ke.current=ke.current.filter(function(Ft){return Ft!==jt})),Ie.current.map(function(Ft){return Ft.id}).includes(jt)&&(Ie.current=Ie.current.filter(function(Ft){return Ft.id!==jt})),K(function(Ft){return Ft.filter(function(Ht){return Ht.id!==jt})})},[]);t=Ze;var et=Object(fe.useCallback)(function(jt){var Ft=jt.name,Ht=jt.data,Gt=Ht||{},Jt=Gt.cells,mn=Jt===void 0?[]:Jt;if(Ft==="add"){var vn=mn.filter(function(Yt){return Yt.isNode()}).map(function(Yt){return Yt.id});ke.current=Array.from(new Set([].concat(Object(Bs.a)(ke.current),Object(Bs.a)(vn))))}},[]),yt=Object(fe.useCallback)(function(jt){var Ft=jt.name;if(Ft==="add"){var Ht=Ie.current;if(Ht.length){var Gt=Ht.map(function(Jt){return Jt.id});ke.current=ke.current.filter(function(Jt){return!Gt.includes(Jt)}),Ie.current=[],K(function(Jt){var mn=Object(Bs.a)(Jt);return Ht.forEach(function(vn){var Yt=mn.findIndex(function(En){return En.id===vn.id});Yt>-1?mn[Yt]=vn:mn.push(vn)}),mn})}}},[]);return Object(fe.useLayoutEffect)(function(){return ve&&(ve.on("batch:start",et),ve.on("batch:stop",yt)),function(){ve&&(ve.off("batch:start",et),ve.off("batch:stop",yt),K([]),ke.current=[],Ie.current=[])}},[ve,et,yt]),pe.a.createElement.apply(pe.a,[pe.a.Fragment,null].concat(Object(Bs.a)(V.map(function(jt){return jt.portal}))))},g=function(b){Object(Cc.a)(I,b);var P=Object(Ec.a)(I);function I(){return Object(xi.a)(this,I),P.apply(this,arguments)}return Object(Pi.a)(I,[{key:"init",value:function(){var K=this;Object($u.a)(Object(Wu.a)(I.prototype),"init",this).call(this),this.cell.on("removed",function(){d(K.cell.id)})}},{key:"getComponentContainer",value:function(){return this.cell.prop("useForeignObject")===!1?this.selectors.content:this.selectors.foContent}},{key:"confirmUpdate",value:function(K){var ae=this,ue=Object($u.a)(Object(Wu.a)(I.prototype),"confirmUpdate",this).call(this,K);return this.handleAction(ue,b3,function(){return ae.renderReactComponent()})}},{key:"renderReactComponent",value:function(){this.unmountReactComponent();var K=this.getComponentContainer(),ae=this.cell,ue=this.graph;if(K){var ve=this.graph.hook.getReactComponent(ae),Oe=pe.a.createElement(bM,{graph:ue,node:ae,component:ve});r(this.cell.id,Jo.a.createPortal(Oe,K))}}},{key:"unmountReactComponent",value:function(){var K=this.getComponentContainer();return K&&Jo.a.unmountComponentAtNode(K),K}},{key:"onMouseDown",value:function(K,ae,ue){var ve=K.target,Oe=ve.tagName.toLowerCase();if(Oe==="input"){var ke=ve.getAttribute("type");if(ke==null||["text","password","number","email","search","tel","url"].includes(ke))return}Object($u.a)(Object(Wu.a)(I.prototype),"onMouseDown",this).call(this,K,ae,ue)}},{key:"dispose",value:function(){d(this.cell.id),this.unmountReactComponent()}}]),I}(ih);return gz([ih.dispose()],g.prototype,"dispose",null),g.config({bootstrap:[b3],actions:{component:b3}}),ih.registry.register(u,g,!0),{Portal:v,setGraph:c}}function pre(u){var i=Object(fe.useRef)(!1),c=Object(fe.useState)(function(){return i.current?{}:(i.current=!0,fre(u))}),o=Object(we.a)(c,1),t=o[0];return[t.Portal,t.setGraph]}var X2=function(i){var c=Ep(),o=pe.a.useRef(null),t=pe.a.useRef(null),r=nm(),d=pe.a.useMemo(function(){var ae=i.config?i.config:new T2;return ae.setX6Config(),ae},[]),v=pre(d.graphId),g=Object(we.a)(v,2),b=g[0],P=g[1];pe.a.useEffect(function(){c&&c.getGraphInstance().then(function(ae){P(ae)})},[c,P]),pe.a.useEffect(function(){d.setRootContainer(o.current),d.setGraphContainer(t.current),d.xflowInstanceId=r.getInstanceId(),r.addCoreModule({config:d,createModule:dre});var ae=function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function ve(){return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:d.dispose();case 1:case"end":return ke.stop()}},ve)}))};return function(){ae()}},[]);var I=rm(i.position),V=t0("canvas-root"),K=t0("x6-canvas");return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{ref:o,className:V,style:I,id:d.graphId,tabIndex:0},pe.a.createElement("div",{ref:t,className:K}),i.children),pe.a.createElement(b,null))};X2.defaultProps={isXFlowCanvas:!0};var n0=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.runtimeHooks=[],this.getX6Graph=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.graph){r.next=2;break}return r.abrupt("return",this.graph);case 2:return r.next=4,this.graphProvider.getGraphInstance();case 4:return o=r.sent,this.graph=o,r.abrupt("return",o);case 7:case"end":return r.stop()}},c,this)}))},this.getGraphConfig=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.graphProvider.getGraphOptions());case 1:case"end":return t.stop()}},c,this)}))},this.getGraphMeta=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(o=this.getModelService(),d.t0=this.graphMeta,d.t0){d.next=6;break}return d.next=5,ne.GRAPH_META.useValue(o);case 5:d.t0=d.sent;case 6:return t=d.t0,d.abrupt("return",t);case 8:case"end":return d.stop()}},c,this)}))},this.setArgs=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return i.args=c,i.runtimeHooks=o,{args:c,hooks:o}},this.getArgs=function(){var c=Object.assign(Object.assign({},i.args),{modelService:i.getModelService(),commandService:i.getCommands(),getGraphMeta:i.getGraphMeta,getX6Graph:i.getX6Graph,getGraphConfig:i.getGraphConfig});return{args:c,hooks:i.runtimeHooks}},this.setResult=function(c){return i.result=c,i.result},this.getResult=function(){return i.result},this.getHooks=function(){return i.hookService.hookProvider()},this.getCommands=function(){return i.commandService},this.getModelService=function(){return i.modelService},this.addUndo=function(c){if(!Array.isArray(c))return i.addUndo([c]);i.toDispose.pushAll(c)},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.toDispose.dispose();case 2:case"end":return t.stop()}},c,this)}))},this.isUndoable=function(){return!i.toDispose.disposed},this.getDisposables=function(){return i.toDispose},this.setGlobal=function(c,o){i.commandService.setGlobal(c,o)},this.getGlobal=function(c){return i.commandService.getGlobal(c)}}return Object(Pi.a)(u,[{key:"init",value:function(){var c=this;this.getGraphMeta().then(function(o){c.graphMeta=o})}}]),u}();ls([Object(co.inject)(iy),Es("design:type",Object)],n0.prototype,"graphProvider",void 0),ls([Object(co.inject)(s3),Es("design:type",Object)],n0.prototype,"hookService",void 0),ls([Object(co.inject)(e0),Es("design:type",Object)],n0.prototype,"commandService",void 0),ls([Object(co.inject)(ay),Es("design:type",Object)],n0.prototype,"modelService",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],n0.prototype,"init",null),n0=ls([Object(co.injectable)()],n0);var vre="CommandConfig",hre=function(){return[]},yO=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.setCommandContributions=function(c){i.getContributions=c},this.getCommandContributions=function(){return i.getContributions()},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.registerHookFn){r.next=2;break}return r.abrupt("return",this.registerHookFn(c));case 2:return r.abrupt("return",sz);case 3:case"end":return r.stop()}},o,this)}))},this.registerHookHub=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.registerHookHubFn){r.next=2;break}return r.abrupt("return",this.registerHookHubFn(c));case 2:return r.abrupt("return",sz);case 3:case"end":return r.stop()}},o,this)}))},this.CONFIG_TYPE=vre,this.setRegisterHookFn=function(c){i.registerHookFn=c},this.setRegisterHookHubFn=function(c){i.registerHookHubFn=c},this.getConfig=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{registerHookFn:this.registerHookFn,getContributions:this.getContributions,CONFIG_TYPE:this.CONFIG_TYPE});case 1:case"end":return t.stop()}},c,this)}))},this.getContributions=hre}),Jse=function(){return new yO},gre=function(i,c){i({token:yO,contrib:[Tm],lifecycle:co.Syringe.Lifecycle.singleton,useDynamic:function(){return c}})},OM;(function(u){u.command=Pf.ADD_NODE,u.hookKey="addNode"})(OM||(OM={}));var bO=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.addNode.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft;return Object(Z.a)().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return ue=V.createNodeService,ve=V.cellFactory,Oe=V.commandService,ke=V.options,Gt.next=3,t.getX6Graph();case 3:if(Ie=Gt.sent,Ye=V.nodeConfig,!ue){Gt.next=12;break}return Gt.next=8,ue(V);case 8:if(Ze=Gt.sent,typeof Ze!="boolean"){Gt.next=11;break}return Gt.abrupt("return",{err:"createNodeService rejected"});case 11:Ye=Ze;case 12:return Gt.next=14,this.processNodeConfig(Ye);case 14:if(et=Gt.sent,jt=Object.assign(Object.assign({},ke),{isCommand:!0}),!ve){Gt.next=23;break}return Gt.next=19,ve(et,this);case 19:Ft=Gt.sent,yt=Ie.addNode(Ft,jt),Gt.next=24;break;case 23:yt=Ie.addNode(et,jt);case 24:return t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Jt(){var mn;return Object(Z.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:mn=Object.assign({id:yt.id},yt.getData()),Oe.executeCommand(Pf.DEL_NODE.id,{nodeConfig:mn});case 2:case"end":return Yt.stop()}},Jt)}))})),Gt.abrupt("return",{nodeConfig:et,nodeCell:yt});case 26:case"end":return Gt.stop()}},K,this)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.processNodeConfig=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(t=this.contextProvider(),c.data=Object.assign({},c),!c.shape){P.next=4;break}return P.abrupt("return",c);case 4:if(c.view){P.next=9;break}return P.next=7,t.getGraphConfig();case 7:r=P.sent,c.view=r.graphId;case 9:if(c.component){P.next=17;break}return P.next=12,this.getNodeReactComponent(c);case 12:d=P.sent,v=t.getCommands(),g=t.getModelService(),c.shape="react-shape",c.component=aM(d,v,g);case 17:return P.abrupt("return",c);case 18:case"end":return P.stop()}},o,this)}))},this.getNodeReactComponent=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getHooks(),I.next=4,t.getGraphConfig();case 4:return d=I.sent,I.next=7,r.reactNodeRender.call(d.nodeRender);case 7:return v=I.sent,g=d.nodeTypeParser(c)||Lj,b=v.get(g),b||console.error("react node component is missing:",d.nodeRender,g,b),I.abrupt("return",b);case 12:case"end":return I.stop()}},o,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],bO.prototype,"contextProvider",void 0),bO=ls([Object(co.injectable)({token:{token:cf,named:OM.command.id}})],bO);var J2;(function(u){u.command=Pf.DEL_NODE,u.hookKey="delNode",u.createHook=function(){return new r_}})(J2||(J2={}));var CM=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.delNode.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return ue=V.commandService,ve=V.deleteNodeService,Oe=V.options,Ft.next=3,t.getX6Graph();case 3:if(ke=Ft.sent,!ve){Ft.next=10;break}return Ft.next=7,ve(V);case 7:if(Ie=Ft.sent,Ie){Ft.next=10;break}return Ft.abrupt("return",{err:" service rejected"});case 10:if(Ye=(V.x6Node||V.nodeConfig).id,Ze=ke.getCellById(Ye),!(Ze&&Ze.isNode())){Ft.next=20;break}return et=[].concat(Object(Bs.a)(ke.getIncomingEdges(Ze)||[]),Object(Bs.a)(ke.getOutgoingEdges(Ze)||[])),Ft.next=16,Promise.all(et.map(function(Ht){return ue.executeCommand(Up.DEL_EDGE.id,{x6Edge:Ht})}));case 16:return yt=Ze.getData(),Ze.remove(Object.assign(Object.assign({},Oe),{isCommand:!0})),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Ht(){return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:return Jt.next=2,ue.executeCommand(Pf.ADD_NODE.id,{nodeConfig:yt});case 2:case"end":return Jt.stop()}},Ht)}))})),Ft.abrupt("return",{err:null,nodeConfig:yt});case 20:return Ft.abrupt("return",{err:"node is not exist"});case 21:case"end":return Ft.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return this.isUndoable()&&(o=this.contextProvider(),o.undo()),r.abrupt("return",this);case 2:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],CM.prototype,"contextProvider",void 0),CM=ls([Object(co.injectable)({token:{token:cf,named:J2.command.id}})],CM);var Z2;(function(u){u.command=Pf.SELECT_NODE,u.hookKey="selectNode"})(Z2||(Z2={}));var Q2=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.selectNode.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,this.ctx.getX6Graph();case 2:return K=Ie.sent,ae=K.getSelectedCells().map(function(Ye){return Ye.id}),ue=I.nodeIds,ve=I.resetSelection,Oe=I.commandService,ve?K.resetSelection(ue):K.select(ue),this.ctx.addUndo({dispose:function(){Oe.executeUndoCommand(Pf.SELECT_NODE.id,{nodeIds:ae,resetSelection:!0})}}),Ie.abrupt("return",{});case 8:case"end":return Ie.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],Q2.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],Q2.prototype,"init",null),Q2=ls([Object(co.injectable)({token:{token:cf,named:Z2.command.id}})],Q2);var EM;(function(u){u.command=Pf.MOVE_NODE,u.hookKey="moveNode",u.createHook=function(){return new r_}})(EM||(EM={}));var q2=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.moveNode.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En;return Object(Z.a)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:if(ae=V.nodePositionService,!ae){$r.next=7;break}return $r.next=4,ae(V);case 4:if(ue=$r.sent,ue){$r.next=7;break}return $r.abrupt("return",{err:"service rejected"});case 7:return ve=V.position,Oe=ve.dx,ke=Oe===void 0?0:Oe,Ie=ve.dy,Ye=Ie===void 0?0:Ie,Ze=ve.x,et=ve.y,yt=ve.duration,jt=yt===void 0?150:yt,$r.next=10,t.getX6Graph();case 10:if(Ft=$r.sent,Ht=Ft.getCellById(V.id),!Ht){$r.next=20;break}return Gt=Ze,Jt=et,mn=Ht.position(),vn=mn.x,Yt=mn.y,En=function(){Ht.position(vn,Yt,{silent:!1})},ke||Ye?(Gt=ke+vn,Jt=Ye+Yt,Ht.translate(ke,Ye,{transition:{duration:jt}}),En=function(){return Ht.translate(-ke,-Ye,{transition:{duration:jt}})}):Ht.position(Gt,Jt,{silent:!1}),t.addUndo(ou.create(function(){En()})),$r.abrupt("return",{err:null,nextX:Gt,nextY:Jt});case 20:case"end":return $r.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],q2.prototype,"contextProvider",void 0),q2=ls([Object(co.injectable)({token:{token:cf,named:EM.command.id}})],q2);var mz=l("Znm+"),ew=l.n(mz),r0;(function(u){u.command=Pf.UPDATE_NODE,u.hookKey="updateNode",u.XFlowNodeSetOptions={overwrite:!0},u.NODE_WIDTH=200,u.NODE_HEIGHT=40})(r0||(r0={}));var Pg=function(){function u(){var i=this;Object(xi.a)(this,u),this.setNodeConfig=function(c,o,t){c.setData(o,t),c.setPosition((o==null?void 0:o.x)||0,(o==null?void 0:o.y)||0),c.setSize((o==null?void 0:o.width)||r0.NODE_WIDTH,(o==null?void 0:o.height)||r0.NODE_HEIGHT),c.angle((o==null?void 0:o.angle)||0,{absolute:!0}),ew()(o==null?void 0:o.visible)&&c.setVisible(o==null?void 0:o.visible),!(c instanceof Y2)&&!!c.getAttrByPath("text/text")&&c.setAttrByPath("text/text",o.label),o.attrs&&c.setAttrs(o.attrs),Array.isArray(o.ports)&&c.setPropByPath("ports/items",o.ports,Object.assign({rewrite:!0},t))},this.getNodeConfig=function(c){var o=c.getData(),t=c.getPosition(),r=c.getSize();return Object.assign(Object.assign(Object.assign({},o),t),r)},this.getNodeCell=function(c,o){var t=o.nodeConfig,r=o.setNodeConfig,d="";if(r&&r.node&&typeof r.node=="string"?d=r.node:t&&t.id&&typeof t.id=="string"&&(d=t.id),d)return c==null?void 0:c.getCellById(d);if(r&&r.node instanceof zf)return r.node},this.getNextNodeConfig=function(c,o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){var r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(!(c&&c.setNodeConfig&&c.setNodeConfig.callback)){v.next=3;break}return r=this.getNodeConfig(o),v.abrupt("return",c.setNodeConfig.callback(r));case 3:return v.abrupt("return",c.nodeConfig);case 4:case"end":return v.stop()}},t,this)}))},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.updateNode.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return K=I.options,ae=K===void 0?r0.XFlowNodeSetOptions:K,Ie.next=3,this.ctx.getX6Graph();case 3:return ue=Ie.sent,ve=this.getNodeCell(ue,I),Ie.next=7,this.getNextNodeConfig(I,ve);case 7:return Oe=Ie.sent,this.setNodeConfig(ve,Oe,ae),Ie.abrupt("return",{nodeConfig:Oe,nodeCell:ve});case 10:case"end":return Ie.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],Pg.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],Pg.prototype,"init",null),Pg=ls([Object(co.injectable)({token:{token:cf,named:r0.command.id}})],Pg);var xM;(function(u){u.command=Pf.CENTER_NODE,u.hookKey="centerNode"})(xM||(xM={}));var vE=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.centerNode.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,this.ctx.getX6Graph();case 2:return K=Oe.sent,ae=I.nodeConfig,ue=K==null?void 0:K.getCellById(ae==null?void 0:ae.id),K==null||K.centerCell(ue),Oe.abrupt("return",{x6Node:ue});case 7:case"end":return Oe.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],vE.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],vE.prototype,"init",null),vE=ls([Object(co.injectable)({token:{token:cf,named:xM.command.id}})],vE);var hE;(function(u){u.command=Pf.FRONT_NODE,u.hookKey="frontNode"})(hE||(hE={}));var tw=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.frontNode.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,this.ctx.getX6Graph();case 2:return ue=Ie.sent,ve=V.nodeId,Oe=ue==null?void 0:ue.getCellById(ve),Oe?(Oe.toFront(),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Ye(){return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:V.commandService.executeCommand(Pf.BACK_NODE.id,{nodeId:ve});case 1:case"end":return et.stop()}},Ye)}))}))):console.error(ve,"this nodeId is not exist"),Ie.abrupt("return",{});case 7:case"end":return Ie.stop()}},K,this)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],tw.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],tw.prototype,"init",null),tw=ls([Object(co.injectable)({token:{token:cf,named:hE.command.id}})],tw);var SM;(function(u){u.command=Pf.BACK_NODE,u.hookKey="backNode"})(SM||(SM={}));var nw=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.backNode.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae,ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,this.ctx.getX6Graph();case 2:return ae=ke.sent,ue=I.nodeId,ve=ae==null?void 0:ae.getCellById(ue),ve?(ve.toBack(),this.ctx.addUndo(ou.create(function(){return la(K,void 0,void 0,Object(Z.a)().mark(function Ie(){return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:I.commandService.executeCommand(Pf.FRONT_NODE.id,{nodeId:ue});case 1:case"end":return Ze.stop()}},Ie)}))}))):console.error(ue,"this nodeId is not exist"),ke.abrupt("return",{});case 7:case"end":return ke.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],nw.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],nw.prototype,"init",null),nw=ls([Object(co.injectable)({token:{token:cf,named:SM.command.id}})],nw);var rw;(function(u){u.command=Pf.HIGHLIGHT_NODE,u.hookKey="highlightNode"})(rw||(rw={}));var aw=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.highlightNode.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,this.ctx.getX6Graph();case 2:if(K=et.sent,ae=I.nodeId,ue=I.stroke,ve=I.strokeWidth,Oe=K==null?void 0:K.getCellById(ae),Oe){et.next=10;break}return console.error(ae,"this nodeId is not exist"),et.abrupt("return",{err:"this nodeId is not exist"});case 10:Oe==null||Oe.setAttrs({body:{stroke:ue||"#7c68fc",strokeWidth:ve||2}}),(I==null?void 0:I.isHighlightRelatedLines)&&(ke=I.edgeStroke,Ie=I.edgeStrokeWidth,Ye=K==null?void 0:K.getEdges(),Ye.forEach(function(yt){var jt=yt==null?void 0:yt.getData();I==null||I.commandService.executeCommand(Up.HIGHLIGHT_EDGE.id,{edgeId:jt==null?void 0:jt.id,strokeColor:ke,strokeWidth:Ie})}));case 12:return et.abrupt("return",{err:null});case 13:case"end":return et.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],aw.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],aw.prototype,"init",null),aw=ls([Object(co.injectable)({token:{token:cf,named:rw.command.id}})],aw);var iw;(function(u){u.command=Pf.UPDATE_NODE_PORT,u.hookKey="updateNodePort"})(iw||(iw={}));var ow=function(){function u(){var i=this;Object(xi.a)(this,u),this.getCell=function(c,o){return typeof o=="string"?c.getCellById(o):o},this.getNodeConfig=function(c){var o=c.getData(),t=c.getPosition(),r=c.getSize();return Object.assign(Object.assign(Object.assign({},o),t),r)},this.updatePortsOfNodeConfig=function(c,o,t){var r=i.getNodeConfig(c);i.isNodeAnchors(r.ports)&&(r.ports=Object(Bs.a)(o)),i.isPortMetaData(r.ports)&&(r.ports.items=Object(Bs.a)(o)),c.setData(r,t)},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),V.next=5,t.getX6Graph();case 5:return b=V.sent,V.next=8,g.updateNodePort.call(d,function(K){return la(o,void 0,void 0,Object(Z.a)().mark(function ae(){var ue=this,ve,Oe,ke,Ie,Ye,Ze,et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:if(ve=K.node,Oe=K.updatePorts,ke=K.options,Ie=K.commandService,Ye=this.getCell(b,ve),!(!Ye||Ye.isEdge())){jt.next=5;break}return console.error("node_is _not_exsit",ve),jt.abrupt("return",{err:"node_is _not_exsit"});case 5:return Ze=Ye.getPorts(),jt.next=8,Oe(Object(Bs.a)(Ze),Ye,b);case 8:if(et=jt.sent,et!==!1){jt.next=11;break}return jt.abrupt("return",{err:"service rejected"});case 11:return Ye.setPropByPath("ports/items",et,Object.assign({rewrite:!0},ke)),this.updatePortsOfNodeConfig(Ye,et,ke),t.addUndo(ou.create(function(){return la(ue,void 0,void 0,Object(Z.a)().mark(function Ft(){var Ht=this;return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:Ie.executeCommand(Pf.UPDATE_NODE_PORT.id,{node:ve,updatePorts:function(){return la(Ht,void 0,void 0,Object(Z.a)().mark(function vn(){return Object(Z.a)().wrap(function(En){for(;;)switch(En.prev=En.next){case 0:return En.abrupt("return",Ze);case 1:case"end":return En.stop()}},vn)}))}});case 1:case"end":return Jt.stop()}},Ft)}))})),jt.abrupt("return",{ports:et});case 15:case"end":return jt.stop()}},ae,this)}))},v);case 8:return P=V.sent,t.setResult(P),V.abrupt("return",this);case 11:case"end":return V.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isNodeAnchors",value:function(c){return Array.isArray(c)}},{key:"isPortMetaData",value:function(c){return c.items&&Array.isArray(c.items)}},{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],ow.prototype,"contextProvider",void 0),ow=ls([Object(co.injectable)({token:{token:cf,named:iw.command.id}})],ow);var mre=function(i){i(bO),i(CM),i(Q2),i(q2),i(Pg),i(vE),i(tw),i(nw),i(aw),i(ow)},_re=[OM,J2,Z2,EM,r0,xM,hE,SM,rw,iw],wM;(function(u){u.command=qu.LOAD_META,u.hookKey="graphMeta"})(wM||(wM={}));var sw=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),V.next=4,v.graphMeta.call(r,function(K){return la(o,void 0,void 0,Object(Z.a)().mark(function ae(){var ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(ue=K.graphMetaService,!ue){ke.next=7;break}return ke.next=4,ue(K);case 4:ke.t0=ke.sent,ke.next=8;break;case 7:ke.t0=Object.assign({},K==null?void 0:K.meta);case 8:return ve=ke.t0,ke.abrupt("return",Object.assign({flowId:ve==null?void 0:ve.flowId},ve));case 10:case"end":return ke.stop()}},ae)}))},d);case 4:return g=V.sent,b=this.ctx.getModelService(),V.next=8,ne.GRAPH_META.getModel(b);case 8:return P=V.sent,P.setValue(g),this.ctx.setResult(g),V.abrupt("return",this);case 12:case"end":return V.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],sw.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],sw.prototype,"init",null),sw=ls([Object(co.injectable)({token:{token:cf,named:wM.command.id}})],sw);var TM;(function(u){u.command=qu.SAVE_GRAPH_DATA,u.hookKey="saveGraphData"})(TM||(TM={}));var gE=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return t=this.ctx,r=t.getArgs(),d=t.getHooks(),g.next=5,d.saveGraphData.call(r.args,function(b){return la(o,void 0,void 0,Object(Z.a)().mark(function P(){var I,V,K,ae,ue,ve,Oe,ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return I=b.saveGraphDataService,V=b.includeAttrs,et.next=3,t.getX6Graph();case 3:return K=et.sent,ae=K.getNodes(),ue=K.getEdges(),ve=ae.map(function(yt){var jt=yt.getData(),Ft=yt.position(),Ht=yt.size(),Gt=Object.assign(Object.assign(Object.assign({id:yt.id},jt),Ft),Ht);return V&&(Gt.attrs=yt.getAttrs()),Gt}),Oe=ue.map(function(yt){var jt=yt.getData(),Ft=Object.assign({id:yt.id},jt);return V&&(Ft.attrs=yt.getAttrs()),Ft}),ke={nodes:ve,edges:Oe},et.next=11,this.ctx.getGraphMeta();case 11:if(Ie=et.sent,!I){et.next=17;break}return et.next=15,I(Ie,ke);case 15:Ye=et.sent,Ye&&this.ctx.setResult(Ye);case 17:return et.abrupt("return",{});case 18:case"end":return et.stop()}},P,this)}))},r.hooks);case 5:return g.abrupt("return",this);case 6:case"end":return g.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],gE.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gE.prototype,"init",null),gE=ls([Object(co.injectable)({token:{token:cf,named:TM.command.id}})],gE);var AM;(function(u){u.command=qu.LOAD_DATA,u.hookKey="loadData",u.createHook=function(){return new r_}})(AM||(AM={}));var a0=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.loadData.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return K=I.loadDataService,Oe.next=3,this.ctx.getGraphMeta();case 3:return ae=Oe.sent,Oe.next=6,K(ae);case 6:return ue=Oe.sent,Oe.abrupt("return",{graphData:ue});case 8:case"end":return Oe.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],a0.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],a0.prototype,"init",null),a0=ls([Object(co.injectable)({token:{token:cf,named:AM.command.id}})],a0);var Wv=function(){function u(){Object(xi.a)(this,u),this.nodes=[],this.edges=[],this.combos=[],this.comboEdges=[],this.hiddenNodes=[],this.hiddenEdges=[],this.hiddenCombos=[],this.vedges=[],this.positions=[],this.destroyed=!1,this.onLayoutEnd=function(){}}return Object(Pi.a)(u,[{key:"layout",value:function(c){return this.init(c),this.execute(!0)}},{key:"init",value:function(c){this.nodes=c.nodes||[],this.edges=c.edges||[],this.combos=c.combos||[],this.comboEdges=c.comboEdges||[],this.hiddenNodes=c.hiddenNodes||[],this.hiddenEdges=c.hiddenEdges||[],this.hiddenCombos=c.hiddenCombos||[],this.vedges=c.vedges||[]}},{key:"execute",value:function(c){}},{key:"executeWithWorker",value:function(){}},{key:"getDefaultCfg",value:function(){return{}}},{key:"updateCfg",value:function(c){c&&Object.assign(this,c)}},{key:"getType",value:function(){return"base"}},{key:"destroy",value:function(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0}}]),u}(),Tb=function(i){return typeof i=="string"},_z=function(i){var c=Object.create(null);return function(o){var t=c[o];return t||(c[o]=i(o))}},yre=/-(\w)/g,Zse=_z(function(u){return u.replace(yre,function(i,c){return c?c.toUpperCase():""})}),ap=Array.isArray,sl=function(i){return typeof i=="number"},kM=function(i){return Number.isNaN(Number(i))},Qse=function(i){var c=parseFloat(i);return kM(c)?i:c},dg=function(i){return i!==null&&typeof i=="object"},O3=function u(i){if(i===null)return i;if(i instanceof Date)return new Date(i.getTime());if(i instanceof Array){var c=[];return i.forEach(function(t){c.push(t)}),c.map(function(t){return u(t)})}if(typeof i=="object"&&Object.keys(i).length){var o=Object.assign({},i);return Object.keys(o).forEach(function(t){o[t]=u(o[t])}),o}return i},gf=function(i,c){var o=i[c];return dg(o)?o.cell:o},mE=function(i,c,o){for(var t=[],r=0;r<i;r++)t[r]={in:0,out:0,all:0};return o&&o.forEach(function(d){var v=gf(d,"source"),g=gf(d,"target");v&&t[c[v]]&&(t[c[v]].out+=1,t[c[v]].all+=1),g&&t[c[g]]&&(t[c[g]].in+=1,t[c[g]].all+=1)}),t},bre=function(i,c){var o={};return i.forEach(function(t){o[t.id]={in:0,out:0,all:0}}),c&&c.forEach(function(t){var r=gf(t,"source"),d=gf(t,"target");r&&(o[r].out+=1,o[r].all+=1),d&&(o[d].in+=1,o[d].all+=1)}),o},yz=function(i){for(var c=[],o=i.length,t=0;t<o;t+=1){c[t]=[];for(var r=0;r<o;r+=1)t===r?c[t][r]=0:i[t][r]===0||!i[t][r]?c[t][r]=Infinity:c[t][r]=i[t][r]}for(var d=0;d<o;d+=1)for(var v=0;v<o;v+=1)for(var g=0;g<o;g+=1)c[v][g]>c[v][d]+c[d][g]&&(c[v][g]=c[v][d]+c[d][g]);return c},bz=function(i,c){var o=i.nodes,t=i.edges,r=[],d={};if(!o)throw new Error("invalid nodes data!");return o&&o.forEach(function(v,g){d[v.id]=g;var b=[];r.push(b)}),t==null||t.forEach(function(v){var g=gf(v,"source"),b=gf(v,"target"),P=d[g],I=d[b];P===void 0||I===void 0||(r[P][I]=1,c||(r[I][P]=1))}),r},Ore=function(i,c){var o=[];return i.forEach(function(t){var r=[];t.forEach(function(d){r.push(d*c)}),o.push(r)}),o},Oz=function u(i,c){if(i&&i.children){for(var o=i.children.length-1;o>=0;o--)if(!u(i.children[o],c))return}return!!c(i)},_E=function(i,c){typeof c=="function"&&Oz(i,c)},Cre=function(i){var c=Infinity,o=Infinity,t=-Infinity,r=-Infinity;return i.forEach(function(d){var v=d.size;ap(v)?v.length===1&&(v=[v[0],v[0]]):sl(v)?v=[v,v]:(v===void 0||isNaN(v))&&(v=[30,30]);var g=[v[0]/2,v[1]/2],b=d.x-g[0],P=d.x+g[0],I=d.y-g[1],V=d.y+g[1];c>b&&(c=b),o>I&&(o=I),t<P&&(t=P),r<V&&(r=V)}),{minX:c,minY:o,maxX:t,maxY:r}},Cz=function(i){var c={x:0,y:0};i.forEach(function(t){c.x+=t.x||0,c.y+=t.y||0});var o=i.length||1;return{x:c.x/o,y:c.y/o}},Ez=function(i,c,o){var t,r;return i==="source"?((t=o==null?void 0:o.find(function(d){return d.target===c.id}))===null||t===void 0?void 0:t.source)||{}:((r=o==null?void 0:o.find(function(d){return d.source===c.id}))===null||r===void 0?void 0:r.target)||{}},xz=function(i,c,o){var t=[];switch(i){case"source":t=o==null?void 0:o.filter(function(d){return d.source===c.id}).map(function(d){return d.target});break;case"target":t=o==null?void 0:o.filter(function(d){return d.target===c.id}).map(function(d){return d.source});break;case"both":t=o==null?void 0:o.filter(function(d){return d.source===c.id}).map(function(d){return d.target}).concat(o==null?void 0:o.filter(function(d){return d.target===c.id}).map(function(d){return d.source}));break;default:break}var r=new Set(t);return Array.from(r)},Ere=function(i,c,o,t,r){var d=o[c]||"",v=(t==null?void 0:t.filter(function(g){return g[c]===d}))||[];return i==="leaf"&&(v=v.filter(function(g){var b,P;return((b=r[g.id])===null||b===void 0?void 0:b.in)===0||((P=r[g.id])===null||P===void 0?void 0:P.out)===0})),v},C3=function(i,c,o,t,r,d){var v=r[c.id],g=v.in,b=v.out,P=c,I=[];g===0?(P=Ez("source",c,o),I=xz("both",P,o).map(function(K){return d[K]})):b===0&&(P=Ez("target",c,o),I=xz("both",P,o).map(function(K){return d[K]})),I=I.filter(function(K){return r[K.id]&&(r[K.id].in===0||r[K.id].out===0)});var V=Ere(i,t,c,I,r);return{coreNode:P,relativeLeafNodes:I,sameTypeLeafNodes:V}},fg=function(i){return typeof i=="function"},Sz=function(i,c,o){var t;return o?t=o:sl(i)?t=function(){return i}:t=function(){return c},t},jM=function(i,c){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return!c&&c!==0?function(t){return t.size?ap(t.size)?t.size[0]>t.size[1]?t.size[0]:t.size[1]:dg(t.size)?t.size.width>t.size.height?t.size.width:t.size.height:t.size:i}:fg(c)?c:sl(c)?function(){return c}:ap(c)?function(){if(o){var t=Math.max.apply(Math,Object(Bs.a)(c));return isNaN(t)?i:t}return c}:dg(c)?function(){if(o){var t=Math.max(c.width,c.height);return isNaN(t)?i:t}return[c.width,c.height]}:function(){return i}},cy=new Map,qse=function(i,c){if(cy.get(i)&&console.warn("The layout with the name ".concat(i," exists already, it will be overridden")),dg(c)){var o=function(t){Object(Cc.a)(d,t);var r=Object(Ec.a)(d);function d(v){var g;Object(xi.a)(this,d);var b;g=r.call(this);var P=Object(Fp.a)(g),I={},V=Object.assign({},P.getDefaultCfg(),((b=c.getDefaultCfg)===null||b===void 0?void 0:b.call(c))||{});return Object.assign(I,V,c,v),Object.keys(I).forEach(function(K){var ae=I[K];P[K]=ae}),g}return Object(Pi.a)(d)}(Wv);cy.set(i,o)}else cy.set(i,c);return cy.get(i)},ece=function(i){cy.has(i)&&cy.delete(i)},xre=function(i){return cy.has(i)?cy.get(i):null},Sre=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.begin=[0,0],t.preventOverlap=!0,t.preventOverlapPadding=10,t.condense=!1,t.sortBy="degree",t.nodes=[],t.edges=[],t.width=300,t.height=300,t.row=0,t.col=0,t.cellWidth=0,t.cellHeight=0,t.cellUsed={},t.id2manPos={},t.onLayoutEnd=function(){},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{begin:[0,0],preventOverlap:!0,preventOverlapPadding:10,condense:!1,rows:void 0,cols:void 0,position:void 0,sortBy:"degree",nodeSize:30}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.edges,v=t.begin,g=r.length;if(g===0)return t.onLayoutEnd&&t.onLayoutEnd(),{nodes:r,edges:d};if(g===1)return r[0].x=v[0],r[0].y=v[1],t.onLayoutEnd&&t.onLayoutEnd(),{nodes:r,edges:d};var b=t.sortBy,P=t.width,I=t.height,V=t.condense,K=t.preventOverlapPadding,ae=t.preventOverlap,ue=t.nodeSpacing,ve=t.nodeSize,Oe=[];r.forEach(function(En){Oe.push(En)});var ke={};if(Oe.forEach(function(En,or){ke[En.id]=or}),(b==="degree"||!Tb(b)||Oe[0][b]===void 0)&&(b="degree",kM(r[0].degree))){var Ie=mE(Oe.length,ke,d);Oe.forEach(function(En,or){En.degree=Ie[or].all})}Oe.sort(function(En,or){return or[b]-En[b]}),!P&&typeof window!="undefined"&&(P=window.innerWidth),!I&&typeof window!="undefined"&&(I=window.innerHeight);var Ye=t.rows,Ze=t.cols!=null?t.cols:t.columns;if(t.cells=g,Ye!=null&&Ze!=null?(t.rows=Ye,t.cols=Ze):Ye!=null&&Ze==null?(t.rows=Ye,t.cols=Math.ceil(t.cells/t.rows)):Ye==null&&Ze!=null?(t.cols=Ze,t.rows=Math.ceil(t.cells/t.cols)):(t.splits=Math.sqrt(t.cells*t.height/t.width),t.rows=Math.round(t.splits),t.cols=Math.round(t.width/t.height*t.splits)),t.rows=Math.max(t.rows,1),t.cols=Math.max(t.cols,1),t.cols*t.rows>t.cells){var et=t.small(),yt=t.large();(et-1)*yt>=t.cells?t.small(et-1):(yt-1)*et>=t.cells&&t.large(yt-1)}else for(;t.cols*t.rows<t.cells;){var jt=t.small(),Ft=t.large();(Ft+1)*jt>=t.cells?t.large(Ft+1):t.small(jt+1)}if(t.cellWidth=P/t.cols,t.cellHeight=I/t.rows,V&&(t.cellWidth=0,t.cellHeight=0),ae||ue){var Ht=jM(10,ue),Gt=jM(30,ve,!1);Oe.forEach(function(En){(!En.x||!En.y)&&(En.x=0,En.y=0);var or=Gt(En)||30,$r,vr;ap(or)?($r=or[0],vr=or[1]):($r=or,vr=or);var Er=Ht!==void 0?Ht(En):K,Hr=$r+Er,Aa=vr+Er;t.cellWidth=Math.max(t.cellWidth,Hr),t.cellHeight=Math.max(t.cellHeight,Aa)})}t.cellUsed={},t.row=0,t.col=0,t.id2manPos={};for(var Jt=0;Jt<Oe.length;Jt++){var mn=Oe[Jt],vn=void 0;if(t.position&&(vn=t.position(mn)),vn&&(vn.row!==void 0||vn.col!==void 0)){var Yt={row:vn.row,col:vn.col};if(Yt.col===void 0)for(Yt.col=0;t.used(Yt.row,Yt.col);)Yt.col++;else if(Yt.row===void 0)for(Yt.row=0;t.used(Yt.row,Yt.col);)Yt.row++;t.id2manPos[mn.id]=Yt,t.use(Yt.row,Yt.col)}t.getPos(mn)}return t.onLayoutEnd&&t.onLayoutEnd(),{edges:d,nodes:Oe}}},{key:"small",value:function(t){var r=this,d,v=r.rows||5,g=r.cols||5;if(t==null)d=Math.min(v,g);else{var b=Math.min(v,g);b===r.rows?r.rows=t:r.cols=t}return d}},{key:"large",value:function(t){var r=this,d,v=r.rows||5,g=r.cols||5;if(t==null)d=Math.max(v,g);else{var b=Math.max(v,g);b===r.rows?r.rows=t:r.cols=t}return d}},{key:"used",value:function(t,r){var d=this;return d.cellUsed["c-".concat(t,"-").concat(r)]||!1}},{key:"use",value:function(t,r){var d=this;d.cellUsed["c-".concat(t,"-").concat(r)]=!0}},{key:"moveToNextCell",value:function(){var t=this,r=t.cols||5;t.col++,t.col>=r&&(t.col=0,t.row++)}},{key:"getPos",value:function(t){var r=this,d=r.begin,v=r.cellWidth,g=r.cellHeight,b,P,I=r.id2manPos[t.id];if(I)b=I.col*v+v/2+d[0],P=I.row*g+g/2+d[1];else{for(;r.used(r.row,r.col);)r.moveToNextCell();b=r.col*v+v/2+d[0],P=r.row*g+g/2+d[1],r.use(r.row,r.col),r.moveToNextCell()}t.x=b,t.y=P}},{key:"getType",value:function(){return"grid"}}]),c}(Wv),wre=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.center=[0,0],t.width=300,t.height=300,t.nodes=[],t.edges=[],t.onLayoutEnd=function(){},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{center:[0,0],width:300,height:300}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=.9,v=t.center;return!t.width&&typeof window!="undefined"&&(t.width=window.innerWidth),!t.height&&typeof window!="undefined"&&(t.height=window.innerHeight),r&&r.forEach(function(g){g.x=(Math.random()-.5)*d*t.width+v[0],g.y=(Math.random()-.5)*d*t.height+v[1]}),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:r,edges:this.edges}}},{key:"getType",value:function(){return"random"}}]),c}(Wv),E3=function(i,c){var o;return i?sl(i)?o=function(r){return i}:o=i:o=function(r){return c||1},o},wz=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.maxIteration=500,t.workerEnabled=!1,t.edgeStrength=200,t.nodeStrength=1e3,t.coulombDisScale=.005,t.damping=.9,t.maxSpeed=1e3,t.minMovement=.5,t.interval=.02,t.factor=1,t.linkDistance=1,t.gravity=10,t.preventOverlap=!0,t.collideStrength=1,t.tick=function(){},t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.animate=!0,t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}}},{key:"execute",value:function(){var t,r,d=this,v=d.nodes;if(d.timeInterval!==void 0&&typeof window!="undefined"&&window.clearInterval(d.timeInterval),!v||v.length===0){(t=d.onLayoutEnd)===null||t===void 0||t.call(d);return}!d.width&&typeof window!="undefined"&&(d.width=window.innerWidth),!d.height&&typeof window!="undefined"&&(d.height=window.innerHeight),d.center||(d.center=[d.width/2,d.height/2]);var g=d.center;if(v.length===1){v[0].x=g[0],v[0].y=g[1],(r=d.onLayoutEnd)===null||r===void 0||r.call(d);return}var b={},P={};v.forEach(function(ve,Oe){sl(ve.x)||(ve.x=Math.random()*d.width),sl(ve.y)||(ve.y=Math.random()*d.height),b[ve.id]=ve,P[ve.id]=Oe}),d.nodeMap=b,d.nodeIdxMap=P,d.linkDistance=E3(d.linkDistance,1),d.nodeStrength=E3(d.nodeStrength,1),d.edgeStrength=E3(d.edgeStrength,1);var I=d.nodeSize,V;if(d.preventOverlap){var K=d.nodeSpacing,ae;sl(K)?ae=function(){return K}:fg(K)?ae=K:ae=function(){return 0},I?ap(I)?V=function(Oe){return Math.max(I[0],I[1])+ae(Oe)}:V=function(Oe){return I+ae(Oe)}:V=function(Oe){return Oe.size?ap(Oe.size)?Math.max(Oe.size[0],Oe.size[1])+ae(Oe):dg(Oe.size)?Math.max(Oe.size.width,Oe.size.height)+ae(Oe):Oe.size+ae(Oe):10+ae(Oe)}}d.nodeSize=V;var ue=d.edges;d.degrees=mE(v.length,d.nodeIdxMap,ue),d.getMass||(d.getMass=function(ve){var Oe=ve.mass||d.degrees[d.nodeIdxMap[ve.id]].all||1;return Oe}),d.run()}},{key:"run",value:function(){var t,r=this,d=r.maxIteration,v=r.nodes,g=r.workerEnabled,b=r.minMovement,P=r.animate;if(!!v)if(g||!P){for(var I=0;I<d;I++){var V=r.runOneStep(I);if(r.reachMoveThreshold(v,V,b))break}(t=r.onLayoutEnd)===null||t===void 0||t.call(r)}else{if(typeof window=="undefined")return;var K=0;this.timeInterval=window.setInterval(function(){var ae,ue;if(!!v){var ve=r.runOneStep(K)||[];r.reachMoveThreshold(v,ve,b)&&((ae=r.onLayoutEnd)===null||ae===void 0||ae.call(r),window.clearInterval(r.timeInterval)),K++,K>=d&&((ue=r.onLayoutEnd)===null||ue===void 0||ue.call(r),window.clearInterval(r.timeInterval))}},0)}}},{key:"reachMoveThreshold",value:function(t,r,d){var v=0;return t.forEach(function(g,b){var P=g.x-r[b].x,I=g.y-r[b].y;v+=Math.sqrt(P*P+I*I)}),v/=t.length,v<d}},{key:"runOneStep",value:function(t){var r,d=this,v=d.nodes,g=d.edges,b=[],P=[];if(!!v){v.forEach(function(K,ae){b[2*ae]=0,b[2*ae+1]=0,P[2*ae]=0,P[2*ae+1]=0}),d.calRepulsive(b,v),g&&d.calAttractive(b,g),d.calGravity(b,v);var I=Math.max(.02,d.interval-t*.002);d.updateVelocity(b,P,I,v);var V=[];return v.forEach(function(K){V.push({x:K.x,y:K.y})}),d.updatePosition(P,I,v),(r=d.tick)===null||r===void 0||r.call(d),V}}},{key:"calRepulsive",value:function(t,r){var d=this,v=d.getMass,g=d.factor,b=d.coulombDisScale,P=d.preventOverlap,I=d.collideStrength,V=I===void 0?1:I,K=d.nodeStrength,ae=d.nodeSize;r.forEach(function(ue,ve){var Oe=v?v(ue):1;r.forEach(function(ke,Ie){if(!(ve>=Ie)){var Ye=ue.x-ke.x,Ze=ue.y-ke.y;Ye===0&&Ze===0&&(Ye=Math.random()*.01,Ze=Math.random()*.01);var et=Ye*Ye+Ze*Ze,yt=Math.sqrt(et),jt=(yt+.1)*b,Ft=Ye/yt,Ht=Ze/yt,Gt=(K(ue)+K(ke))*.5*g/(jt*jt),Jt=v?v(ke):1;if(t[2*ve]+=Ft*Gt,t[2*ve+1]+=Ht*Gt,t[2*Ie]-=Ft*Gt,t[2*Ie+1]-=Ht*Gt,P&&(ae(ue)+ae(ke))/2>yt){var mn=V*(K(ue)+K(ke))*.5/et;t[2*ve]+=Ft*mn/Oe,t[2*ve+1]+=Ht*mn/Oe,t[2*Ie]-=Ft*mn/Jt,t[2*Ie+1]-=Ht*mn/Jt}}})})}},{key:"calAttractive",value:function(t,r){var d=this,v=d.nodeMap,g=d.nodeIdxMap,b=d.linkDistance,P=d.edgeStrength,I=d.nodeSize,V=d.getMass;r.forEach(function(K,ae){var ue=gf(K,"source"),ve=gf(K,"target"),Oe=v[ue],ke=v[ve],Ie=ke.x-Oe.x,Ye=ke.y-Oe.y;Ie===0&&Ye===0&&(Ie=Math.random()*.01,Ye=Math.random()*.01);var Ze=Math.sqrt(Ie*Ie+Ye*Ye),et=Ie/Ze,yt=Ye/Ze,jt=b(K,Oe,ke)||1+(I(Oe)+I(ke)||0)/2,Ft=jt-Ze,Ht=Ft*P(K),Gt=g[ue],Jt=g[ve],mn=V?V(Oe):1,vn=V?V(ke):1;t[2*Gt]-=et*Ht/mn,t[2*Gt+1]-=yt*Ht/mn,t[2*Jt]+=et*Ht/vn,t[2*Jt+1]+=yt*Ht/vn})}},{key:"calGravity",value:function(t,r){for(var d=this,v=d.center,g=d.gravity,b=d.degrees,P=r.length,I=0;I<P;I++){var V=r[I],K=V.x-v[0],ae=V.y-v[1],ue=g;if(d.getCenter){var ve=d.getCenter(V,b[I].all);ve&&sl(ve[0])&&sl(ve[1])&&sl(ve[2])&&(K=V.x-ve[0],ae=V.y-ve[1],ue=ve[2])}!ue||(t[2*I]-=ue*K,t[2*I+1]-=ue*ae)}}},{key:"updateVelocity",value:function(t,r,d,v){var g=this,b=d*g.damping;v.forEach(function(P,I){var V=t[2*I]*b||.01,K=t[2*I+1]*b||.01,ae=Math.sqrt(V*V+K*K);if(ae>g.maxSpeed){var ue=g.maxSpeed/ae;V=ue*V,K=ue*K}r[2*I]=V,r[2*I+1]=K})}},{key:"updatePosition",value:function(t,r,d){d.forEach(function(v,g){if(sl(v.fx)&&sl(v.fy)){v.x=v.fx,v.y=v.fy;return}var b=t[2*g]*r,P=t[2*g+1]*r;v.x+=b,v.y+=P})}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){var t=this;t.stop(),t.tick=null,t.nodes=null,t.edges=null,t.destroyed=!0}},{key:"getType",value:function(){return"gForce"}}]),c}(Wv),Tre=function(u){var i=+this._x.call(null,u),c=+this._y.call(null,u);return Tz(this.cover(i,c),i,c,u)};function Tz(u,i,c,o){if(isNaN(i)||isNaN(c))return u;var t,r=u._root,d={data:o},v=u._x0,g=u._y0,b=u._x1,P=u._y1,I,V,K,ae,ue,ve,Oe,ke;if(!r)return u._root=d,u;for(;r.length;)if((ue=i>=(I=(v+b)/2))?v=I:b=I,(ve=c>=(V=(g+P)/2))?g=V:P=V,t=r,!(r=r[Oe=ve<<1|ue]))return t[Oe]=d,u;if(K=+u._x.call(null,r.data),ae=+u._y.call(null,r.data),i===K&&c===ae)return d.next=r,t?t[Oe]=d:u._root=d,u;do t=t?t[Oe]=new Array(4):u._root=new Array(4),(ue=i>=(I=(v+b)/2))?v=I:b=I,(ve=c>=(V=(g+P)/2))?g=V:P=V;while((Oe=ve<<1|ue)==(ke=(ae>=V)<<1|K>=I));return t[ke]=r,t[Oe]=d,u}function i0(u){var i,c,o=u.length,t,r,d=new Array(o),v=new Array(o),g=Infinity,b=Infinity,P=-Infinity,I=-Infinity;for(c=0;c<o;++c)isNaN(t=+this._x.call(null,i=u[c]))||isNaN(r=+this._y.call(null,i))||(d[c]=t,v[c]=r,t<g&&(g=t),t>P&&(P=t),r<b&&(b=r),r>I&&(I=r));if(g>P||b>I)return this;for(this.cover(g,b).cover(P,I),c=0;c<o;++c)Tz(this,d[c],v[c],u[c]);return this}var yE=function(u,i){if(isNaN(u=+u)||isNaN(i=+i))return this;var c=this._x0,o=this._y0,t=this._x1,r=this._y1;if(isNaN(c))t=(c=Math.floor(u))+1,r=(o=Math.floor(i))+1;else{for(var d=t-c||1,v=this._root,g,b;c>u||u>=t||o>i||i>=r;)switch(b=(i<o)<<1|u<c,g=new Array(4),g[b]=v,v=g,d*=2,b){case 0:t=c+d,r=o+d;break;case 1:c=t-d,r=o+d;break;case 2:t=c+d,o=r-d;break;case 3:c=t-d,o=r-d;break}this._root&&this._root.length&&(this._root=v)}return this._x0=c,this._y0=o,this._x1=t,this._y1=r,this},x3=function(){var u=[];return this.visit(function(i){if(!i.length)do u.push(i.data);while(i=i.next)}),u},S3=function(u){return arguments.length?this.cover(+u[0][0],+u[0][1]).cover(+u[1][0],+u[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},pg=function(u,i,c,o,t){this.node=u,this.x0=i,this.y0=c,this.x1=o,this.y1=t},Az=function(u,i,c){var o,t=this._x0,r=this._y0,d,v,g,b,P=this._x1,I=this._y1,V=[],K=this._root,ae,ue;for(K&&V.push(new pg(K,t,r,P,I)),c==null?c=Infinity:(t=u-c,r=i-c,P=u+c,I=i+c,c*=c);ae=V.pop();)if(!(!(K=ae.node)||(d=ae.x0)>P||(v=ae.y0)>I||(g=ae.x1)<t||(b=ae.y1)<r))if(K.length){var ve=(d+g)/2,Oe=(v+b)/2;V.push(new pg(K[3],ve,Oe,g,b),new pg(K[2],d,Oe,ve,b),new pg(K[1],ve,v,g,Oe),new pg(K[0],d,v,ve,Oe)),(ue=(i>=Oe)<<1|u>=ve)&&(ae=V[V.length-1],V[V.length-1]=V[V.length-1-ue],V[V.length-1-ue]=ae)}else{var ke=u-+this._x.call(null,K.data),Ie=i-+this._y.call(null,K.data),Ye=ke*ke+Ie*Ie;if(Ye<c){var Ze=Math.sqrt(c=Ye);t=u-Ze,r=i-Ze,P=u+Ze,I=i+Ze,o=K.data}}return o},kz=function(u){if(isNaN(P=+this._x.call(null,u))||isNaN(I=+this._y.call(null,u)))return this;var i,c=this._root,o,t,r,d=this._x0,v=this._y0,g=this._x1,b=this._y1,P,I,V,K,ae,ue,ve,Oe;if(!c)return this;if(c.length)for(;;){if((ae=P>=(V=(d+g)/2))?d=V:g=V,(ue=I>=(K=(v+b)/2))?v=K:b=K,i=c,!(c=c[ve=ue<<1|ae]))return this;if(!c.length)break;(i[ve+1&3]||i[ve+2&3]||i[ve+3&3])&&(o=i,Oe=ve)}for(;c.data!==u;)if(t=c,!(c=c.next))return this;return(r=c.next)&&delete c.next,t?(r?t.next=r:delete t.next,this):i?(r?i[ve]=r:delete i[ve],(c=i[0]||i[1]||i[2]||i[3])&&c===(i[3]||i[2]||i[1]||i[0])&&!c.length&&(o?o[Oe]=c:this._root=c),this):(this._root=r,this)};function Are(u){for(var i=0,c=u.length;i<c;++i)this.remove(u[i]);return this}var jz=function(){return this._root},kre=function(){var u=0;return this.visit(function(i){if(!i.length)do++u;while(i=i.next)}),u},jre=function(u){var i=[],c,o=this._root,t,r,d,v,g;for(o&&i.push(new pg(o,this._x0,this._y0,this._x1,this._y1));c=i.pop();)if(!u(o=c.node,r=c.x0,d=c.y0,v=c.x1,g=c.y1)&&o.length){var b=(r+v)/2,P=(d+g)/2;(t=o[3])&&i.push(new pg(t,b,P,v,g)),(t=o[2])&&i.push(new pg(t,r,P,b,g)),(t=o[1])&&i.push(new pg(t,b,d,v,P)),(t=o[0])&&i.push(new pg(t,r,d,b,P))}return this},bE=function(u){var i=[],c=[],o;for(this._root&&i.push(new pg(this._root,this._x0,this._y0,this._x1,this._y1));o=i.pop();){var t=o.node;if(t.length){var r,d=o.x0,v=o.y0,g=o.x1,b=o.y1,P=(d+g)/2,I=(v+b)/2;(r=t[0])&&i.push(new pg(r,d,v,P,I)),(r=t[1])&&i.push(new pg(r,P,v,g,I)),(r=t[2])&&i.push(new pg(r,d,I,P,b)),(r=t[3])&&i.push(new pg(r,P,I,g,b))}c.push(o)}for(;o=c.pop();)u(o.node,o.x0,o.y0,o.x1,o.y1);return this};function Mre(u){return u[0]}var Mz=function(u){return arguments.length?(this._x=u,this):this._x};function MM(u){return u[1]}var Pre=function(u){return arguments.length?(this._y=u,this):this._y};function PM(u,i,c){var o=new w3(i==null?Mre:i,c==null?MM:c,NaN,NaN,NaN,NaN);return u==null?o:o.addAll(u)}function w3(u,i,c,o,t,r){this._x=u,this._y=i,this._x0=c,this._y0=o,this._x1=t,this._y1=r,this._root=void 0}function Pz(u){for(var i={data:u.data},c=i;u=u.next;)c=c.next={data:u.data};return i}var vg=PM.prototype=w3.prototype;vg.copy=function(){var u=new w3(this._x,this._y,this._x0,this._y0,this._x1,this._y1),i=this._root,c,o;if(!i)return u;if(!i.length)return u._root=Pz(i),u;for(c=[{source:i,target:u._root=new Array(4)}];i=c.pop();)for(var t=0;t<4;++t)(o=i.source[t])&&(o.length?c.push({source:o,target:i.target[t]=new Array(4)}):i.target[t]=Pz(o));return u},vg.add=Tre,vg.addAll=i0,vg.cover=yE,vg.data=x3,vg.extent=S3,vg.find=Az,vg.remove=kz,vg.removeAll=Are,vg.root=jz,vg.size=kre,vg.visit=jre,vg.visitAfter=bE,vg.x=Mz,vg.y=Pre;var Rz=.81,Dz=.1;function Iz(u,i,c,o,t){var r=c/o,d=u.map(function(g,b){var P=i[g.id],I=P.data,V=P.x,K=P.y,ae=P.size,ue=I.layout.force.nodeStrength;return{x:V,y:K,size:ae,index:b,vx:0,vy:0,weight:r*ue}}),v=PM(d,function(g){return g.x},function(g){return g.y}).visitAfter(Rre);return d.forEach(function(g){Ire(g,v)}),d.map(function(g,b){var P=i[u[b].id],I=P.data.layout.force.mass,V=I===void 0?1:I;t[2*b]=g.vx/V,t[2*b+1]=g.vy/V}),t}function Rre(u){var i=0,c=0,o=0;if(u.length){for(var t=0;t<4;t++){var r=u[t];r&&r.weight&&(i+=r.weight,c+=r.x*r.weight,o+=r.y*r.weight)}u.x=c/i,u.y=o/i,u.weight=i}else{var d=u;u.x=d.data.x,u.y=d.data.y,u.weight=d.data.weight}}var Dre=function(i,c,o,t,r,d){var v=d.x-i.x||Dz,g=d.y-i.y||Dz,b=t-c,P=v*v+g*g,I=Math.sqrt(P)*P;if(b*b*Rz<P){var V=i.weight/I;return d.vx+=v*V,d.vy+=g*V,!0}if(i.length)return!1;if(i.data!==d){var K=i.data.weight/I;d.vx+=v*K,d.vy+=g*K}};function Ire(u,i){i.visit(function(c,o,t,r,d){return Dre(c,o,t,r,d,u)})}var OE=function(i,c){var o;return i?sl(i)?o=function(r){return i}:o=i:o=function(r){return c||1},o},tce=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;Object(xi.a)(this,c),t=i.call(this),t.maxIteration=1e3,t.workerEnabled=!1,t.edgeStrength=200,t.nodeStrength=1e3,t.coulombDisScale=.005,t.damping=.9,t.maxSpeed=500,t.minMovement=.4,t.interval=.02,t.factor=1,t.linkDistance=200,t.gravity=0,t.clusterNodeStrength=20,t.preventOverlap=!0,t.distanceThresholdMode="mean",t.tick=function(){},t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.judgingDistance=0,t.centripetalOptions={leaf:2,single:2,others:1,center:function(v){return{x:t.width/2,y:t.height/2}}};var r=o.getMass;return t.propsGetMass=r,t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getCentripetalOptions",value:function(){var t=this.leafCluster,r=this.clustering,d=this.nodeClusterBy,v=this.nodes,g=this.nodeMap,b=this.clusterNodeStrength,P=function(Ze){return typeof b=="function"?b(Ze):b},I={},V;if(t){V=this.getSameTypeLeafMap()||{};var K=Array.from(new Set(v==null?void 0:v.map(function(Ye){return Ye[d]})))||[];I={single:100,leaf:function(Ze,et,yt){var jt=V[Ze.id]||{},Ft=jt.relativeLeafNodes,Ht=jt.sameTypeLeafNodes;return(Ht==null?void 0:Ht.length)===(Ft==null?void 0:Ft.length)||(K==null?void 0:K.length)===1?1:P(Ze)},others:1,center:function(Ze,et,yt){var jt,Ft=((jt=Ze.data)===null||jt===void 0?void 0:jt.layout)||{},Ht=Ft.degree;if(!Ht)return{x:100,y:100};var Gt;if(Ht===1){var Jt=V[Ze.id]||{},mn=Jt.sameTypeLeafNodes,vn=mn===void 0?[]:mn;vn.length===1?Gt=void 0:vn.length>1&&(Gt=Cz(vn))}else Gt=void 0;return{x:Gt==null?void 0:Gt.x,y:Gt==null?void 0:Gt.y}}}}if(r){V||(V=this.getSameTypeLeafMap());var ae=Array.from(new Set(v.map(function(Ye,Ze){return Ye[d]}))).filter(function(Ye){return Ye!==void 0}),ue={};ae.forEach(function(Ye){var Ze=v.filter(function(et){return et[d]===Ye}).map(function(et){return g[et.id]});ue[Ye]=Cz(Ze)}),I={single:function(Ze){return P(Ze)},leaf:function(Ze){return P(Ze)},others:function(Ze){return P(Ze)},center:function(Ze,et,yt){var jt=ue[Ze[d]];return{x:jt==null?void 0:jt.x,y:jt==null?void 0:jt.y}}}}this.centripetalOptions=Object.assign(Object.assign({},this.centripetalOptions),I);var ve=this.centripetalOptions,Oe=ve.leaf,ke=ve.single,Ie=ve.others;Oe&&typeof Oe!="function"&&(this.centripetalOptions.leaf=function(){return Oe}),ke&&typeof ke!="function"&&(this.centripetalOptions.single=function(){return ke}),Ie&&typeof Ie!="function"&&(this.centripetalOptions.others=function(){return Ie})}},{key:"updateCfg",value:function(t){t&&Object.assign(this,t)}},{key:"getDefaultCfg",value:function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}}},{key:"execute",value:function(){var t=this;t.stop();var r=t.nodes,d=t.edges,v=t.defSpringLen;if(t.judgingDistance=0,!r||r.length===0){t.onLayoutEnd([]);return}!t.width&&typeof window!="undefined"&&(t.width=window.innerWidth),!t.height&&typeof window!="undefined"&&(t.height=window.innerHeight),t.center||(t.center=[t.width/2,t.height/2]);var g=t.center;if(r.length===1){r[0].x=g[0],r[0].y=g[1],t.onLayoutEnd([Object.assign({},r[0])]);return}t.degreesMap=bre(r,d),t.propsGetMass?t.getMass=t.propsGetMass:t.getMass=function(ue){var ve=1;sl(ue.mass)&&(ve=ue.mass);var Oe=t.degreesMap[ue.id].all;return!Oe||Oe<5?ve:Oe*5*ve};var b=t.nodeSize,P;if(t.preventOverlap){var I=t.nodeSpacing,V;sl(I)?V=function(){return I}:fg(I)?V=I:V=function(){return 0},b?ap(b)?P=function(ve){return Math.max(b[0],b[1])+V(ve)}:P=function(ve){return b+V(ve)}:P=function(ve){return ve.size?ap(ve.size)?Math.max(ve.size[0],ve.size[1])+V(ve):dg(ve.size)?Math.max(ve.size.width,ve.size.height)+V(ve):ve.size+V(ve):10+V(ve)}}t.nodeSize=P,t.linkDistance=OE(t.linkDistance,1),t.nodeStrength=OE(t.nodeStrength,1),t.edgeStrength=OE(t.edgeStrength,1);var K={},ae={};r.forEach(function(ue,ve){sl(ue.x)||(ue.x=Math.random()*t.width),sl(ue.y)||(ue.y=Math.random()*t.height);var Oe=t.degreesMap[ue.id];K[ue.id]=Object.assign(Object.assign({},ue),{data:Object.assign(Object.assign({},ue.data),{size:t.nodeSize(ue)||30,layout:{inDegree:Oe.in,outDegree:Oe.out,degree:Oe.all,tDegree:Oe.in,sDegree:Oe.out,force:{mass:t.getMass(ue),nodeStrength:t.nodeStrength(ue,d)}}})}),ae[ue.id]=ve}),t.nodeMap=K,t.nodeIdxMap=ae,t.edgeInfos=[],d==null||d.forEach(function(ue){var ve=K[ue.source],Oe=K[ue.target];!ve||!Oe?elf.edgeInfos.push({}):t.edgeInfos.push({edgeStrength:t.edgeStrength(ue),linkDistance:v?v(Object.assign(Object.assign({},ue),{source:ve,target:Oe}),ve,Oe):t.linkDistance(ue,ve,Oe)||1+(b(ve)+b(ve)||0)/2})}),this.getCentripetalOptions(),t.onLayoutEnd=t.onLayoutEnd||function(){},t.run()}},{key:"run",value:function(){var t=this,r=t.maxIteration,d=t.nodes,v=t.edges,g=t.workerEnabled,b=t.minMovement,P=t.animate,I=t.nodeMap,V=t.height;if(t.currentMinY=0,t.currentMaxY=V,!!d){var K=[];if(d.forEach(function(Ye,Ze){K[2*Ze]=0,K[2*Ze+1]=0}),this.defSideCoe&&typeof this.defSideCoe=="function"){var ae={};v.forEach(function(Ye){var Ze=Ye.source,et=Ye.target;ae[Ze]=ae[Ze]||[],ae[Ze].push(Ye),ae[et]=ae[et]||[],ae[et].push(Ye)}),this.relatedEdges=ae}var ue=r,ve=!P;if(g||ve){for(var Oe=0,ke=0;(t.judgingDistance>b||ke<1)&&ke<ue;ke++)Oe=ke,t.runOneStep(ke,K);t.onLayoutEnd(Object.values(I))}else{if(typeof window=="undefined")return;var Ie=0;this.timeInterval=window.setInterval(function(){!d||(t.runOneStep(Ie,K),Ie++,(Ie>=ue||t.judgingDistance<b)&&(t.onLayoutEnd(Object.values(I)),window.clearInterval(t.timeInterval)))},0)}}}},{key:"runOneStep",value:function(t,r){var d,v=this,g=v.nodes,b=v.edges,P=v.nodeMap,I=v.monitor,V=[];if(!!(g==null?void 0:g.length)){v.calRepulsive(V),b&&v.calAttractive(V),v.calGravity(V),v.attractToSide(V);var K=v.interval;if(v.updateVelocity(V,r,K),v.updatePosition(r,K),(d=v.tick)===null||d===void 0||d.call(v),I){var ae=this.calTotalEnergy(V);I({energy:ae,nodes:g,edges:b,iterations:t})}}}},{key:"calTotalEnergy",value:function(t){var r=this.nodes,d=this.nodeMap;if(!(r==null?void 0:r.length))return 0;var v=0;return r.forEach(function(g,b){var P=t[2*b],I=t[2*b+1],V=P*P+I*I,K=d[g.id].data.layout.force.mass,ae=K===void 0?1:K;v+=ae*V*.5}),v}},{key:"calRepulsive",value:function(t){var r=this,d=r.nodes,v=r.nodeMap,g=r.factor,b=r.coulombDisScale,P=r.nodeSize;Iz(d,v,g,b*b,t)}},{key:"calAttractive",value:function(t){var r=this,d=r.edges,v=r.nodeMap,g=r.nodeIdxMap,b=r.edgeInfos,P=r.nodeSize;d.forEach(function(I,V){var K=gf(I,"source"),ae=gf(I,"target"),ue=v[K],ve=v[ae];if(!(!ue||!ve)){var Oe=ve.x-ue.x,ke=ve.y-ue.y;!Oe&&!ke&&(Oe=Math.random()*.01,ke=Math.random()*.01);var Ie=Math.sqrt(Oe*Oe+ke*ke),Ye=Oe/Ie,Ze=ke/Ie,et=b[V]||{},yt=et.linkDistance,jt=yt===void 0?200:yt,Ft=et.edgeStrength,Ht=Ft===void 0?200:Ft,Gt=jt-Ie,Jt=Gt*Ht,mn=ue.data.layout.force.mass||1,vn=ve.data.layout.force.mass||1,Yt=1/mn,En=1/vn,or=Ye*Jt,$r=Ze*Jt,vr=2*g[K],Er=2*g[ae];t[vr]-=or*Yt,t[vr+1]-=$r*Yt,t[Er]+=or*En,t[Er+1]+=$r*En}})}},{key:"calGravity",value:function(t){var r,d=this,v=d.nodes,g=d.edges,b=g===void 0?[]:g,P=d.nodeMap,I=d.width,V=d.height,K=d.center,ae=d.gravity,ue=d.degreesMap,ve=d.centripetalOptions;if(!!v)for(var Oe=v.length,ke=0;ke<Oe;ke++){var Ie=2*ke,Ye=P[v[ke].id],Ze=Ye.data.layout.force.mass,et=Ze===void 0?1:Ze,yt=0,jt=0,Ft=ae,Ht=ue[Ye.id],Gt=Ht.in,Jt=Ht.out,mn=Ht.all,vn=(r=d.getCenter)===null||r===void 0?void 0:r.call(d,Ye,mn);if(vn){var Yt=Object(we.a)(vn,3),En=Yt[0],or=Yt[1],$r=Yt[2];yt=Ye.x-En,jt=Ye.y-or,Ft=$r}else yt=Ye.x-K[0],jt=Ye.y-K[1];if(Ft&&(t[Ie]-=Ft*yt/et,t[Ie+1]-=Ft*jt/et),ve){var vr=ve.leaf,Er=ve.single,Hr=ve.others,Aa=ve.center,Fr=(Aa==null?void 0:Aa(Ye,v,b,I,V))||{x:0,y:0,centerStrength:0},ca=Fr.x,fa=Fr.y,ai=Fr.centerStrength;if(!sl(ca)||!sl(fa))continue;var Wi=(Ye.x-ca)/et,Co=(Ye.y-fa)/et;if(ai&&(t[Ie]-=ai*Wi,t[Ie+1]-=ai*Co),mn===0){var zi=Er(Ye);if(!zi)continue;t[Ie]-=zi*Wi,t[Ie+1]-=zi*Co;continue}if(Gt===0||Jt===0){var us=vr(Ye,v,b);if(!us)continue;t[Ie]-=us*Wi,t[Ie+1]-=us*Co;continue}var Us=Hr(Ye);if(!Us)continue;t[Ie]-=Us*Wi,t[Ie+1]-=Us*Co}}}},{key:"attractToSide",value:function(t){var r=this.defSideCoe,d=this.height,v=this.nodes,g=this.relatedEdges,b=this.currentMinY,P=b===void 0?0:b,I=this.currentMaxY,V=I===void 0?this.height:I;!r||typeof r!="function"||!(v==null?void 0:v.length)||v.forEach(function(K,ae){var ue=r(K,g[K.id]||[]);if(ue!==0){var ve=ue<0?P:V,Oe=Math.abs(ue);t[2*ae+1]-=Oe*(K.y-ve)}})}},{key:"updateVelocity",value:function(t,r,d){var v=this,g=v.nodes,b=v.damping,P=v.maxSpeed;!(g==null?void 0:g.length)||g.forEach(function(I,V){var K=(r[2*V]+t[2*V]*d)*b||.01,ae=(r[2*V+1]+t[2*V+1]*d)*b||.01,ue=Math.sqrt(K*K+ae*ae);if(ue>P){var ve=P/ue;K=ve*K,ae=ve*ae}r[2*V]=K,r[2*V+1]=ae})}},{key:"updatePosition",value:function(t,r){var d=this,v=d.nodes,g=d.distanceThresholdMode,b=d.nodeMap;if(!(v==null?void 0:v.length)){this.judgingDistance=0;return}var P=0;g==="max"?d.judgingDistance=-Infinity:g==="min"&&(d.judgingDistance=Infinity);var I=Infinity,V=-Infinity;v.forEach(function(K,ae){var ue=b[K.id];if(sl(K.fx)&&sl(K.fy)){K.x=K.fx,K.y=K.fy,ue.x=K.x,ue.y=K.y;return}var ve=t[2*ae]*r,Oe=t[2*ae+1]*r;K.x+=ve,K.y+=Oe,ue.x=K.x,ue.y=K.y,K.y<I&&(I=K.y),K.y>V&&(V=K.y);var ke=Math.sqrt(ve*ve+Oe*Oe);switch(g){case"max":d.judgingDistance<ke&&(d.judgingDistance=ke);break;case"min":d.judgingDistance>ke&&(d.judgingDistance=ke);break;default:P=P+ke;break}}),this.currentMinY=I,this.currentMaxY=V,(!g||g==="mean")&&(d.judgingDistance=P/v.length)}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){var t=this;t.stop(),t.tick=null,t.nodes=null,t.edges=null,t.destroyed=!0}},{key:"getType",value:function(){return"force2"}},{key:"getSameTypeLeafMap",value:function(){var t=this.nodeClusterBy,r=this.nodes,d=this.edges,v=this.nodeMap,g=this.degreesMap;if(!!(r==null?void 0:r.length)){var b={};return r.forEach(function(P,I){var V=g[P.id].all;V===1&&(b[P.id]=C3("leaf",P,d,t,g,v))}),b}}}]),c}(Wv),Zh=function(u){return function(){return u}},i_=function(u){return(u()-.5)*1e-6},cw={value:function(){}};function T3(){for(var u=0,i=arguments.length,c={},o;u<i;++u){if(!(o=arguments[u]+"")||o in c||/[\s.]/.test(o))throw new Error("illegal type: "+o);c[o]=[]}return new lw(c)}function lw(u){this._=u}function A3(u,i){return u.trim().split(/^|\s+/).map(function(c){var o="",t=c.indexOf(".");if(t>=0&&(o=c.slice(t+1),c=c.slice(0,t)),c&&!i.hasOwnProperty(c))throw new Error("unknown type: "+c);return{type:c,name:o}})}lw.prototype=T3.prototype={constructor:lw,on:function(i,c){var o=this._,t=A3(i+"",o),r,d=-1,v=t.length;if(arguments.length<2){for(;++d<v;)if((r=(i=t[d]).type)&&(r=Nre(o[r],i.name)))return r;return}if(c!=null&&typeof c!="function")throw new Error("invalid callback: "+c);for(;++d<v;)if(r=(i=t[d]).type)o[r]=uw(o[r],i.name,c);else if(c==null)for(r in o)o[r]=uw(o[r],i.name,null);return this},copy:function(){var i={},c=this._;for(var o in c)i[o]=c[o].slice();return new lw(i)},call:function(i,c){if((r=arguments.length-2)>0)for(var o=new Array(r),t=0,r,d;t<r;++t)o[t]=arguments[t+2];if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(d=this._[i],t=0,r=d.length;t<r;++t)d[t].value.apply(c,o)},apply:function(i,c,o){if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(var t=this._[i],r=0,d=t.length;r<d;++r)t[r].value.apply(c,o)}};function Nre(u,i){for(var c=0,o=u.length,t;c<o;++c)if((t=u[c]).name===i)return t.value}function uw(u,i,c){for(var o=0,t=u.length;o<t;++o)if(u[o].name===i){u[o]=cw,u=u.slice(0,o).concat(u.slice(o+1));break}return c!=null&&u.push({name:i,value:c}),u}var Nz=T3,Ab=0,dw=0,fw=0,k3=1e3,pw,vw,CE=0,am=0,hw=0,gw=typeof performance=="object"&&performance.now?performance:Date,Lz=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function j3(){return am||(Lz(M3),am=gw.now()+hw)}function M3(){am=0}function mw(){this._call=this._time=this._next=null}mw.prototype=OO.prototype={constructor:mw,restart:function(i,c,o){if(typeof i!="function")throw new TypeError("callback is not a function");o=(o==null?j3():+o)+(c==null?0:+c),!this._next&&vw!==this&&(vw?vw._next=this:pw=this,vw=this),this._call=i,this._time=o,RM()},stop:function(){this._call&&(this._call=null,this._time=Infinity,RM())}};function OO(u,i,c){var o=new mw;return o.restart(u,i,c),o}function Lre(){j3(),++Ab;for(var u=pw,i;u;)(i=am-u._time)>=0&&u._call.call(null,i),u=u._next;--Ab}function Fz(){am=(CE=gw.now())+hw,Ab=dw=0;try{Lre()}finally{Ab=0,Bz(),am=0}}function Uz(){var u=gw.now(),i=u-CE;i>k3&&(hw-=i,CE=u)}function Bz(){for(var u,i=pw,c,o=Infinity;i;)i._call?(o>i._time&&(o=i._time),u=i,i=i._next):(c=i._next,i._next=null,i=u?u._next=c:pw=c);vw=u,RM(o)}function RM(u){if(!Ab){dw&&(dw=clearTimeout(dw));var i=u-am;i>24?(u<Infinity&&(dw=setTimeout(Fz,u-gw.now()-hw)),fw&&(fw=clearInterval(fw))):(fw||(CE=gw.now(),fw=setInterval(Uz,k3)),Ab=1,Lz(Fz))}}var kb=1664525,Fre=1013904223,P3=4294967296,Ure=function(){var u=1;return function(){return(u=(kb*u+Fre)%P3)/P3}};function Bre(u){return u.x}function Vre(u){return u.y}var EE=10,Sl=Math.PI*(3-Math.sqrt(5)),R3=function(u){var i,c=1,o=.001,t=1-Math.pow(o,1/300),r=0,d=.6,v=new Map,g=OO(I),b=Nz("tick","end"),P=Ure();u==null&&(u=[]);function I(){V(),b.call("tick",i),c<o&&(g.stop(),b.call("end",i))}function V(ue){var ve,Oe=u.length,ke;ue===void 0&&(ue=1);for(var Ie=0;Ie<ue;++Ie)for(c+=(r-c)*t,v.forEach(function(Ye){Ye(c)}),ve=0;ve<Oe;++ve)ke=u[ve],ke.fx==null?ke.x+=ke.vx*=d:(ke.x=ke.fx,ke.vx=0),ke.fy==null?ke.y+=ke.vy*=d:(ke.y=ke.fy,ke.vy=0);return i}function K(){for(var ue=0,ve=u.length,Oe;ue<ve;++ue){if(Oe=u[ue],Oe.index=ue,Oe.fx!=null&&(Oe.x=Oe.fx),Oe.fy!=null&&(Oe.y=Oe.fy),isNaN(Oe.x)||isNaN(Oe.y)){var ke=EE*Math.sqrt(.5+ue),Ie=ue*Sl;Oe.x=ke*Math.cos(Ie),Oe.y=ke*Math.sin(Ie)}(isNaN(Oe.vx)||isNaN(Oe.vy))&&(Oe.vx=Oe.vy=0)}}function ae(ue){return ue.initialize&&ue.initialize(u,P),ue}return K(),i={tick:V,restart:function(){return g.restart(I),i},stop:function(){return g.stop(),i},nodes:function(ve){return arguments.length?(u=ve,K(),v.forEach(ae),i):u},alpha:function(ve){return arguments.length?(c=+ve,i):c},alphaMin:function(ve){return arguments.length?(o=+ve,i):o},alphaDecay:function(ve){return arguments.length?(t=+ve,i):+t},alphaTarget:function(ve){return arguments.length?(r=+ve,i):r},velocityDecay:function(ve){return arguments.length?(d=1-ve,i):1-d},randomSource:function(ve){return arguments.length?(P=ve,v.forEach(ae),i):P},force:function(ve,Oe){return arguments.length>1?(Oe==null?v.delete(ve):v.set(ve,ae(Oe)),i):v.get(ve)},find:function(ve,Oe,ke){var Ie=0,Ye=u.length,Ze,et,yt,jt,Ft;for(ke==null?ke=Infinity:ke*=ke,Ie=0;Ie<Ye;++Ie)jt=u[Ie],Ze=ve-jt.x,et=Oe-jt.y,yt=Ze*Ze+et*et,yt<ke&&(Ft=jt,ke=yt);return Ft},on:function(ve,Oe){return arguments.length>1?(b.on(ve,Oe),i):b.on(ve)}}},xE=function(){var u,i,c,o,t=Zh(-30),r,d=1,v=Infinity,g=.81;function b(K){var ae,ue=u.length,ve=PM(u,Bre,Vre).visitAfter(I);for(o=K,ae=0;ae<ue;++ae)i=u[ae],ve.visit(V)}function P(){if(!!u){var K,ae=u.length,ue;for(r=new Array(ae),K=0;K<ae;++K)ue=u[K],r[ue.index]=+t(ue,K,u)}}function I(K){var ae=0,ue,ve,Oe=0,ke,Ie,Ye;if(K.length){for(ke=Ie=Ye=0;Ye<4;++Ye)(ue=K[Ye])&&(ve=Math.abs(ue.value))&&(ae+=ue.value,Oe+=ve,ke+=ve*ue.x,Ie+=ve*ue.y);K.x=ke/Oe,K.y=Ie/Oe}else{ue=K,ue.x=ue.data.x,ue.y=ue.data.y;do ae+=r[ue.data.index];while(ue=ue.next)}K.value=ae}function V(K,ae,ue,ve){if(!K.value)return!0;var Oe=K.x-i.x,ke=K.y-i.y,Ie=ve-ae,Ye=Oe*Oe+ke*ke;if(Ie*Ie/g<Ye)return Ye<v&&(Oe===0&&(Oe=i_(c),Ye+=Oe*Oe),ke===0&&(ke=i_(c),Ye+=ke*ke),Ye<d&&(Ye=Math.sqrt(d*Ye)),i.vx+=Oe*K.value*o/Ye,i.vy+=ke*K.value*o/Ye),!0;if(K.length||Ye>=v)return;(K.data!==i||K.next)&&(Oe===0&&(Oe=i_(c),Ye+=Oe*Oe),ke===0&&(ke=i_(c),Ye+=ke*ke),Ye<d&&(Ye=Math.sqrt(d*Ye)));do K.data!==i&&(Ie=r[K.data.index]*o/Ye,i.vx+=Oe*Ie,i.vy+=ke*Ie);while(K=K.next)}return b.initialize=function(K,ae){u=K,c=ae,P()},b.strength=function(K){return arguments.length?(t=typeof K=="function"?K:Zh(+K),P(),b):t},b.distanceMin=function(K){return arguments.length?(d=K*K,b):Math.sqrt(d)},b.distanceMax=function(K){return arguments.length?(v=K*K,b):Math.sqrt(v)},b.theta=function(K){return arguments.length?(g=K*K,b):Math.sqrt(g)},b},_w=function(u,i){var c,o=1;u==null&&(u=0),i==null&&(i=0);function t(){var r,d=c.length,v,g=0,b=0;for(r=0;r<d;++r)v=c[r],g+=v.x,b+=v.y;for(g=(g/d-u)*o,b=(b/d-i)*o,r=0;r<d;++r)v=c[r],v.x-=g,v.y-=b}return t.initialize=function(r){c=r},t.x=function(r){return arguments.length?(u=+r,t):u},t.y=function(r){return arguments.length?(i=+r,t):i},t.strength=function(r){return arguments.length?(o=+r,t):o},t};function DM(u){return u.index}function D3(u,i){var c=u.get(i);if(!c)throw new Error("node not found: "+i);return c}var yw=function(u){var i=DM,c=I,o,t=Zh(30),r,d,v,g,b,P=1;u==null&&(u=[]);function I(ve){return 1/Math.min(v[ve.source.index],v[ve.target.index])}function V(ve){for(var Oe=0,ke=u.length;Oe<P;++Oe)for(var Ie=0,Ye,Ze,et,yt,jt,Ft,Ht;Ie<ke;++Ie)Ye=u[Ie],Ze=Ye.source,et=Ye.target,yt=et.x+et.vx-Ze.x-Ze.vx||i_(b),jt=et.y+et.vy-Ze.y-Ze.vy||i_(b),Ft=Math.sqrt(yt*yt+jt*jt),Ft=(Ft-r[Ie])/Ft*ve*o[Ie],yt*=Ft,jt*=Ft,et.vx-=yt*(Ht=g[Ie]),et.vy-=jt*Ht,Ze.vx+=yt*(Ht=1-Ht),Ze.vy+=jt*Ht}function K(){if(!!d){var ve,Oe=d.length,ke=u.length,Ie=new Map(d.map(function(Ze,et){return[i(Ze,et,d),Ze]})),Ye;for(ve=0,v=new Array(Oe);ve<ke;++ve)Ye=u[ve],Ye.index=ve,typeof Ye.source!="object"&&(Ye.source=D3(Ie,Ye.source)),typeof Ye.target!="object"&&(Ye.target=D3(Ie,Ye.target)),v[Ye.source.index]=(v[Ye.source.index]||0)+1,v[Ye.target.index]=(v[Ye.target.index]||0)+1;for(ve=0,g=new Array(ke);ve<ke;++ve)Ye=u[ve],g[ve]=v[Ye.source.index]/(v[Ye.source.index]+v[Ye.target.index]);o=new Array(ke),ae(),r=new Array(ke),ue()}}function ae(){if(!!d)for(var ve=0,Oe=u.length;ve<Oe;++ve)o[ve]=+c(u[ve],ve,u)}function ue(){if(!!d)for(var ve=0,Oe=u.length;ve<Oe;++ve)r[ve]=+t(u[ve],ve,u)}return V.initialize=function(ve,Oe){d=ve,b=Oe,K()},V.links=function(ve){return arguments.length?(u=ve,K(),V):u},V.id=function(ve){return arguments.length?(i=ve,V):i},V.iterations=function(ve){return arguments.length?(P=+ve,V):P},V.strength=function(ve){return arguments.length?(c=typeof ve=="function"?ve:Zh(+ve),ae(),V):c},V.distance=function(ve){return arguments.length?(t=typeof ve=="function"?ve:Zh(+ve),ue(),V):t},V};function Vz(u){return u.x+u.vx}function zz(u){return u.y+u.vy}var Hz=function(u){var i,c,o,t=1,r=1;typeof u!="function"&&(u=Zh(u==null?1:+u));function d(){for(var b,P=i.length,I,V,K,ae,ue,ve,Oe=0;Oe<r;++Oe)for(I=PM(i,Vz,zz).visitAfter(v),b=0;b<P;++b)V=i[b],ue=c[V.index],ve=ue*ue,K=V.x+V.vx,ae=V.y+V.vy,I.visit(ke);function ke(Ie,Ye,Ze,et,yt){var jt=Ie.data,Ft=Ie.r,Ht=ue+Ft;if(jt){if(jt.index>V.index){var Gt=K-jt.x-jt.vx,Jt=ae-jt.y-jt.vy,mn=Gt*Gt+Jt*Jt;mn<Ht*Ht&&(Gt===0&&(Gt=i_(o),mn+=Gt*Gt),Jt===0&&(Jt=i_(o),mn+=Jt*Jt),mn=(Ht-(mn=Math.sqrt(mn)))/mn*t,V.vx+=(Gt*=mn)*(Ht=(Ft*=Ft)/(ve+Ft)),V.vy+=(Jt*=mn)*Ht,jt.vx-=Gt*(Ht=1-Ht),jt.vy-=Jt*Ht)}return}return Ye>K+Ht||et<K-Ht||Ze>ae+Ht||yt<ae-Ht}}function v(b){if(b.data)return b.r=c[b.data.index];for(var P=b.r=0;P<4;++P)b[P]&&b[P].r>b.r&&(b.r=b[P].r)}function g(){if(!!i){var b,P=i.length,I;for(c=new Array(P),b=0;b<P;++b)I=i[b],c[I.index]=+u(I,b,i)}}return d.initialize=function(b,P){i=b,o=P,g()},d.iterations=function(b){return arguments.length?(r=+b,d):r},d.strength=function(b){return arguments.length?(t=+b,d):t},d.radius=function(b){return arguments.length?(u=typeof b=="function"?b:Zh(+b),g(),d):u},d},I3=function(u){var i=Zh(.1),c,o,t;typeof u!="function"&&(u=Zh(u==null?0:+u));function r(v){for(var g=0,b=c.length,P;g<b;++g)P=c[g],P.vx+=(t[g]-P.x)*o[g]*v}function d(){if(!!c){var v,g=c.length;for(o=new Array(g),t=new Array(g),v=0;v<g;++v)o[v]=isNaN(t[v]=+u(c[v],v,c))?0:+i(c[v],v,c)}}return r.initialize=function(v){c=v,d()},r.strength=function(v){return arguments.length?(i=typeof v=="function"?v:Zh(+v),d(),r):i},r.x=function(v){return arguments.length?(u=typeof v=="function"?v:Zh(+v),d(),r):u},r},Gz=function(u){var i=Zh(.1),c,o,t;typeof u!="function"&&(u=Zh(u==null?0:+u));function r(v){for(var g=0,b=c.length,P;g<b;++g)P=c[g],P.vy+=(t[g]-P.y)*o[g]*v}function d(){if(!!c){var v,g=c.length;for(o=new Array(g),t=new Array(g),v=0;v<g;++v)o[v]=isNaN(t[v]=+u(c[v],v,c))?0:+i(c[v],v,c)}}return r.initialize=function(v){c=v,d()},r.strength=function(v){return arguments.length?(i=typeof v=="function"?v:Zh(+v),d(),r):i},r.y=function(v){return arguments.length?(u=typeof v=="function"?v:Zh(+v),d(),r):u},r};function $z(){function u(ca){return function(){return ca}}var i=function(fa){return fa.cluster},c=u(1),o=u(-1),t=u(100),r=u(.1),d=[0,0],v=[],g={},b=[],P=100,I=100,V={none:{x:0,y:0}},K=[],ae,ue="force",ve=!0,Oe=.1;function ke(ca){if(!ve)return ke;ae.tick(),jt();for(var fa=0,ai=v.length,Wi,Co=ca*Oe;fa<ai;++fa)Wi=v[fa],Wi.vx+=(V[i(Wi)].x-Wi.x)*Co,Wi.vy+=(V[i(Wi)].y-Wi.y)*Co}function Ie(){!v||Ye()}function Ye(){if(!(!v||!v.length)){if(i(v[0])===void 0)throw Error("Couldnt find the grouping attribute for the nodes. Make sure to set it up with forceInABox.groupBy('clusterAttr') before calling .links()");var ca=Ze();ae=R3(ca.nodes).force("x",I3(P).strength(.1)).force("y",Gz(I).strength(.1)).force("collide",Hz(function(fa){return fa.r}).iterations(4)).force("charge",xE().strength(o)).force("links",yw(ca.nodes.length?ca.links:[]).distance(t).strength(r)),K=ae.nodes(),jt()}}function Ze(){var ca=[],fa=[],ai={},Wi=[],Co={},zi=[];return Co=et(v),zi=yt(b),Wi=Object.keys(Co),Wi.forEach(function(us,Us){var po=Co[us];ca.push({id:us,size:po.count,r:Math.sqrt(po.sumforceNodeSize/Math.PI)}),ai[us]=Us}),zi.forEach(function(us){var Us=gf(us,"source"),po=gf(us,"target"),dc=ai[Us],ns=ai[po];dc!==void 0&&ns!==void 0&&fa.push({source:dc,target:ns,count:us.count})}),{nodes:ca,links:fa}}function et(ca){var fa={};return ca.forEach(function(ai){var Wi=i(ai);fa[Wi]||(fa[Wi]={count:0,sumforceNodeSize:0})}),ca.forEach(function(ai){var Wi=i(ai),Co=c(ai),zi=fa[Wi];zi.count=zi.count+1,zi.sumforceNodeSize=zi.sumforceNodeSize+Math.PI*(Co*Co)*1.3,fa[Wi]=zi}),fa}function yt(ca){var fa={},ai=[];ca.forEach(function(Co){var zi=Ft(Co),us=0;fa[zi]!==void 0&&(us=fa[zi]),us+=1,fa[zi]=us});var Wi=Object.entries(fa);return Wi.forEach(function(Co){var zi=Object(we.a)(Co,2),us=zi[0],Us=zi[1],po=us.split("~")[0],dc=us.split("~")[1];po!==void 0&&dc!==void 0&&ai.push({source:po,target:dc,count:Us})}),ai}function jt(){return V={none:{x:0,y:0}},K.forEach(function(ca){V[ca.id]={x:ca.x-d[0],y:ca.y-d[1]}}),V}function Ft(ca){var fa=gf(ca,"source"),ai=gf(ca,"target"),Wi=i(g[fa]),Co=i(g[ai]);return Wi<=Co?"".concat(Wi,"~").concat(Co):"".concat(Co,"~").concat(Wi)}function Ht(ca){g={},ca.forEach(function(fa){g[fa.id]=fa})}function Gt(ca){return arguments.length?(ue=ca,Ie(),ke):ue}function Jt(ca){return arguments.length?typeof ca=="string"?(i=function(ai){return ai[ca]},ke):(i=ca,ke):i}function mn(ca){return arguments.length?(ve=ca,ke):ve}function vn(ca){return arguments.length?(Oe=ca,ke):Oe}function Yt(ca){return arguments.length?(P=ca,ke):P}function En(ca){return arguments.length?(I=ca,ke):I}function or(ca){return arguments.length?(Ht(ca||[]),v=ca||[],ke):v}function $r(ca){return arguments.length?(b=ca||[],Ie(),ke):b}function vr(ca){return arguments.length?(typeof ca=="function"?c=ca:c=u(+ca),Ie(),ke):c}function Er(ca){return arguments.length?(typeof ca=="function"?o=ca:o=u(+ca),Ie(),ke):o}function Hr(ca){return arguments.length?(typeof ca=="function"?t=ca:t=u(+ca),Ie(),ke):t}function Aa(ca){return arguments.length?(typeof ca=="function"?r=ca:r=u(+ca),Ie(),ke):r}function Fr(ca){return arguments.length?(d=ca,ke):d}return ke.initialize=function(ca){v=ca,Ie()},ke.template=Gt,ke.groupBy=Jt,ke.enableGrouping=mn,ke.strength=vn,ke.centerX=Yt,ke.centerY=En,ke.nodes=or,ke.links=$r,ke.forceNodeSize=vr,ke.nodeSize=ke.forceNodeSize,ke.forceCharge=Er,ke.forceLinkDistance=Hr,ke.forceLinkStrength=Aa,ke.offset=Fr,ke.getFocis=jt,ke}var _p={RUN:"LAYOUT_RUN",END:"LAYOUT_END",ERROR:"LAYOUT_ERROR",TICK:"LAYOUT_TICK",GPURUN:"GPU_LAYOUT_RUN",GPUEND:"GPU_LAYOUT_END"},Wz={gForce:!0,force2:!0,fruchterman:!0,forceAtlas2:!0,force:!0,"graphin-force":!0},zre=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.center=[0,0],t.nodeStrength=null,t.edgeStrength=null,t.preventOverlap=!1,t.clusterNodeStrength=null,t.clusterEdgeStrength=null,t.clusterEdgeDistance=null,t.clusterNodeSize=null,t.clusterFociStrength=null,t.linkDistance=50,t.alphaDecay=.028,t.alphaMin=.001,t.alpha=.3,t.collideStrength=1,t.workerEnabled=!1,t.tick=function(){},t.onLayoutEnd=function(){},t.ticking=void 0,o&&t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{center:[0,0],nodeStrength:null,edgeStrength:null,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,linkDistance:50,forceSimulation:null,alphaDecay:.028,alphaMin:.001,alpha:.3,collideStrength:1,clustering:!1,clusterNodeStrength:-1,clusterEdgeStrength:.1,clusterEdgeDistance:100,clusterFociStrength:.8,clusterNodeSize:10,tick:function(){},onLayoutEnd:function(){},workerEnabled:!1}}},{key:"init",value:function(t){var r=this;r.nodes=t.nodes||[];var d=t.edges||[];r.edges=d.map(function(v){var g={},b=["targetNode","sourceNode","startPoint","endPoint"];return Object.keys(v).forEach(function(P){b.indexOf(P)>-1||(g[P]=v[P])}),g}),r.ticking=!1}},{key:"execute",value:function(t){var r=this,d=r.nodes,v=r.edges;if(!r.ticking){var g=r.forceSimulation,b=r.alphaMin,P=r.alphaDecay,I=r.alpha;if(g){if(t){if(r.clustering&&r.clusterForce&&(r.clusterForce.nodes(d),r.clusterForce.links(v)),g.nodes(d),v&&r.edgeForce)r.edgeForce.links(v);else if(v&&!r.edgeForce){var Oe=yw().id(function(ke){return ke.id}).links(v);r.edgeStrength&&Oe.strength(r.edgeStrength),r.linkDistance&&Oe.distance(r.linkDistance),r.edgeForce=Oe,g.force("link",Oe)}}r.preventOverlap&&r.overlapProcess(g),g.alpha(I).restart(),this.ticking=!0}else try{var V=xE();if(r.nodeStrength&&V.strength(r.nodeStrength),g=R3().nodes(d),r.clustering){var K=$z();K.centerX(r.center[0]).centerY(r.center[1]).template("force").strength(r.clusterFociStrength),v&&K.links(v),d&&K.nodes(d),K.forceLinkDistance(r.clusterEdgeDistance).forceLinkStrength(r.clusterEdgeStrength).forceCharge(r.clusterNodeStrength).forceNodeSize(r.clusterNodeSize),r.clusterForce=K,g.force("group",K)}if(g.force("center",_w(r.center[0],r.center[1])).force("charge",V).alpha(I).alphaDecay(P).alphaMin(b),r.preventOverlap&&r.overlapProcess(g),v){var ae=yw().id(function(ke){return ke.id}).links(v);r.edgeStrength&&ae.strength(r.edgeStrength),r.linkDistance&&ae.distance(r.linkDistance),r.edgeForce=ae,g.force("link",ae)}if(r.workerEnabled&&!Gre()&&(r.workerEnabled=!1,console.warn("workerEnabled option is only supported when running in web worker.")),!r.workerEnabled)g.on("tick",function(){r.tick()}).on("end",function(){r.ticking=!1,r.onLayoutEnd&&r.onLayoutEnd()}),r.ticking=!0;else{g.stop();for(var ue=Hre(g),ve=1;ve<=ue;ve++)g.tick(),postMessage({nodes:d,currentTick:ve,totalTicks:ue,type:_p.TICK},void 0);r.ticking=!1}r.forceSimulation=g,r.ticking=!0}catch(ke){r.ticking=!1,console.warn(ke)}}}},{key:"overlapProcess",value:function(t){var r=this,d=r.nodeSize,v=r.nodeSpacing,g,b,P=r.collideStrength;if(sl(v)?b=function(){return v}:fg(v)?b=v:b=function(){return 0},!d)g=function(ue){if(ue.size){if(ap(ue.size)){var ve=ue.size[0]>ue.size[1]?ue.size[0]:ue.size[1];return ve/2+b(ue)}if(dg(ue.size)){var Oe=ue.size.width>ue.size.height?ue.size.width:ue.size.height;return Oe/2+b(ue)}return ue.size/2+b(ue)}return 10+b(ue)};else if(fg(d))g=function(ue){var ve=d(ue);return ve+b(ue)};else if(ap(d)){var I=d[0]>d[1]?d[0]:d[1],V=I/2;g=function(ue){return V+b(ue)}}else if(sl(d)){var K=d/2;g=function(ue){return K+b(ue)}}else g=function(){return 10};t.force("collisionForce",Hz(g).strength(P))}},{key:"updateCfg",value:function(t){var r=this;r.ticking&&(r.forceSimulation.stop(),r.ticking=!1),r.forceSimulation=null,Object.assign(r,t)}},{key:"destroy",value:function(){var t=this;t.ticking&&(t.forceSimulation.stop(),t.ticking=!1),t.nodes=null,t.edges=null,t.destroyed=!0}}]),c}(Wv);function Hre(u){var i=u.alphaMin(),c=u.alphaTarget(),o=u.alpha(),t=Math.log((i-c)/(o-c))/Math.log(1-u.alphaDecay()),r=Math.ceil(t);return r}function Gre(){return typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope}function $re(u,i,c,o){u.forEach(function(t,r){u[r].children=[],u[r].parent=[]}),o?i.forEach(function(t){var r=gf(t,"source"),d=gf(t,"target"),v=0;r&&(v=c[r]);var g=0;d&&(g=c[d]);var b=u[v].children,P=u[g].parent;b.push(u[g].id),P.push(u[v].id)}):i.forEach(function(t){var r=gf(t,"source"),d=gf(t,"target"),v=0;r&&(v=c[r]);var g=0;d&&(g=c[d]);var b=u[v].children,P=u[g].children;b.push(u[g].id),P.push(u[v].id)})}function Wre(u,i,c){for(var o=c.length,t=0;t<o;t++){var r=gf(c[t],"source"),d=gf(c[t],"target");if(u.id===r&&i.id===d||i.id===r&&u.id===d)return!0}return!1}function o0(u,i){var c=u.degree,o=i.degree;return c<o?-1:c>o?1:0}var Kre=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.radius=null,t.nodeSize=void 0,t.startRadius=null,t.endRadius=null,t.startAngle=0,t.endAngle=2*Math.PI,t.clockwise=!0,t.divisions=1,t.ordering=null,t.angleRatio=1,t.nodes=[],t.edges=[],t.nodeMap={},t.degrees=[],t.width=300,t.height=300,t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}}},{key:"execute",value:function(){var t,r=this,d=r.nodes,v=r.edges,g=d.length;if(g===0){r.onLayoutEnd&&r.onLayoutEnd();return}!r.width&&typeof window!="undefined"&&(r.width=window.innerWidth),!r.height&&typeof window!="undefined"&&(r.height=window.innerHeight),r.center||(r.center=[r.width/2,r.height/2]);var b=r.center;if(g===1){d[0].x=b[0],d[0].y=b[1],r.onLayoutEnd&&r.onLayoutEnd();return}var P=r.radius,I=r.startRadius,V=r.endRadius,K=r.divisions,ae=r.startAngle,ue=r.endAngle,ve=r.angleRatio,Oe=r.ordering,ke=r.clockwise,Ie=r.nodeSpacing,Ye=r.nodeSize,Ze=(ue-ae)/g,et={};d.forEach(function($r,vr){et[$r.id]=vr}),r.nodeMap=et;var yt=mE(d.length,et,v);if(r.degrees=yt,Ie){var jt=jM(10,Ie),Ft=jM(10,Ye),Ht=-Infinity;d.forEach(function($r){var vr=Ft($r);Ht<vr&&(Ht=vr)});var Gt=0;d.forEach(function($r,vr){vr===0?Gt+=Ht||10:Gt+=(jt($r)||0)+(Ht||10)}),P=Gt/(2*Math.PI)}else!P&&!I&&!V?P=r.height>r.width?r.width/2:r.height/2:!I&&V?I=V:I&&!V&&(V=I);var Jt=Ze*ve,mn=[];Oe==="topology"?mn=r.topologyOrdering():Oe==="topology-directed"?mn=r.topologyOrdering(!0):Oe==="degree"?mn=r.degreeOrdering():mn=d;for(var vn=Math.ceil(g/K),Yt=0;Yt<g;++Yt){var En=P;!En&&I!==null&&V!==null&&(En=I+Yt*(V-I)/(g-1)),En||(En=10+Yt*100/(g-1));var or=ae+Yt%vn*Jt+2*Math.PI/K*Math.floor(Yt/vn);ke||(or=ue-Yt%vn*Jt-2*Math.PI/K*Math.floor(Yt/vn)),mn[Yt].x=b[0]+Math.cos(or)*En,mn[Yt].y=b[1]+Math.sin(or)*En,mn[Yt].weight=yt[Yt].all}return(t=r.onLayoutEnd)===null||t===void 0||t.call(r),{nodes:mn,edges:this.edges}}},{key:"topologyOrdering",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this,d=r.degrees,v=r.edges,g=r.nodes,b=O3(g),P=r.nodeMap,I=[b[0]],V=[g[0]],K=[],ae=g.length;K[0]=!0,$re(b,v,P,t);var ue=0;return b.forEach(function(ve,Oe){if(Oe!==0)if((Oe===ae-1||d[Oe].all!==d[Oe+1].all||Wre(I[ue],ve,v))&&!K[Oe])I.push(ve),V.push(g[P[ve.id]]),K[Oe]=!0,ue++;else{for(var ke=I[ue].children,Ie=!1,Ye=0;Ye<ke.length;Ye++){var Ze=P[ke[Ye]];if(d[Ze].all===d[Oe].all&&!K[Ze]){I.push(b[Ze]),V.push(g[P[b[Ze].id]]),K[Ze]=!0,Ie=!0;break}}for(var et=0;!Ie&&(K[et]||(I.push(b[et]),V.push(g[P[b[et].id]]),K[et]=!0,Ie=!0),et++,et!==ae););}}),V}},{key:"degreeOrdering",value:function(){var t=this,r=t.nodes,d=[],v=t.degrees;return r.forEach(function(g,b){g.degree=v[b].all,d.push(g)}),d.sort(o0),d}},{key:"getType",value:function(){return"circular"}}]),c}(Wv),Yre=function(i,c){if(i!=="next"&&i!=="prev")return c},Kz=function(i){i.prev.next=i.next,i.next.prev=i.prev,delete i.next,delete i.prev},Xre=function(){function u(){Object(xi.a)(this,u);var i={};i.prev=i,i.next=i.prev,this.shortcut=i}return Object(Pi.a)(u,[{key:"dequeue",value:function(){var c=this.shortcut,o=c.prev;if(o&&o!==c)return Kz(o),o}},{key:"enqueue",value:function(c){var o=this.shortcut;c.prev&&c.next&&Kz(c),c.next=o.next,o.next.prev=c,o.next=c,c.prev=o}},{key:"toString",value:function(){for(var c=[],o=this.shortcut,t=o.prev;t!==o;)c.push(JSON.stringify(t,Yre)),t=t==null?void 0:t.prev;return"[".concat(c.join(", "),"]")}}]),u}(),CO;(function(u){u.DEFAULT_EDGE_NAME="\0",u.GRAPH_NODE="\0",u.EDGE_KEY_DELIM=""})(CO||(CO={}));function Yz(u,i){var c=u.get(i)||0;u.set(i,c+1)}function Xz(u,i){var c=u.get(i);c!==void 0&&(c=c-1,c>0?u.set(i,c):u.delete(i))}function bw(u,i,c,o){var t=String(i),r=String(c);if(!u&&t>r){var d=t;t=r,r=d}return t+CO.EDGE_KEY_DELIM+r+CO.EDGE_KEY_DELIM+(o===void 0?CO.DEFAULT_EDGE_NAME:o)}function IM(u,i,c,o){var t=String(i),r=String(c),d={v:i,w:c};if(!u&&t>r){var v=d.v;d.v=d.w,d.w=v}return o!==void 0&&(d.name=o),d}function N3(u,i){return bw(u,i.v,i.w,i.name)}function Jz(u){return typeof u=="function"}var Zz=function(i){return i.nodes().map(function(c){var o=i.node(c),t=i.parent(c),r={id:c,value:o,parent:t};return r.value===void 0&&delete r.value,r.parent===void 0&&delete r.parent,r})},Ow=function(i){return i.edges().map(function(c){var o=i.edge(c),t={v:c.v,w:c.w,value:o,name:c.name};return t.name===void 0&&delete t.name,t.value===void 0&&delete t.value,t})},NM=function(i){var c={options:{directed:i.isDirected(),multigraph:i.isMultigraph(),compound:i.isCompound()},nodes:Zz(i),edges:Ow(i),value:i.graph()};return c.value===void 0&&delete c.value,c},Jre=function(i){var c=new s0(i.options);return i.value!==void 0&&c.setGraph(i.value),i.nodes.forEach(function(o){c.setNode(o.id,o.value),o.parent&&c.setParent(o.id,o.parent)}),i.edges.forEach(function(o){c.setEdge(o.v,o.w,o.value,o.name)}),c};function Qz(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function LM(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?Qz(Object(c),!0).forEach(function(o){Zre(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):Qz(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}function Zre(u,i,c){return i in u?Object.defineProperty(u,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[i]=c,u}function Qre(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function Cw(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,o.key,o)}}function ly(u,i,c){return i&&Cw(u.prototype,i),c&&Cw(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}var L3={compound:!1,multigraph:!1,directed:!0},s0=function(){function u(){var i=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Qre(this,u),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=CO.GRAPH_NODE,this.label=void 0,this.nodeCountNum=0,this.edgeCountNum=0,this.defaultNodeLabelFn=function(){},this.defaultEdgeLabelFn=function(){},this.parentMap=void 0,this.childrenMap=void 0,this.nodesLabelMap=new Map,this.inEdgesMap=new Map,this.outEdgesMap=new Map,this.predecessorsMap=new Map,this.successorsMap=new Map,this.edgesMap=new Map,this.edgesLabelsMap=new Map,this.isDirected=function(){return i.directed},this.isMultigraph=function(){return i.multigraph},this.isCompound=function(){return i.compound},this.setGraph=function(t){return i.label=t,i},this.graph=function(){return i.label},this.setDefaultNodeLabel=function(t){return Jz(t)?i.defaultNodeLabelFn=t:i.defaultNodeLabelFn=function(){return t},i},this.nodeCount=function(){return i.nodeCountNum},this.node=function(t){return i.nodesLabelMap.get(t)},this.nodes=function(){return Array.from(i.nodesLabelMap.keys())},this.sources=function(){return i.nodes().filter(function(t){var r;return!((r=i.inEdgesMap.get(t))===null||r===void 0?void 0:r.size)})},this.sinks=function(){return i.nodes().filter(function(t){var r;return!((r=i.outEdgesMap.get(t))===null||r===void 0?void 0:r.size)})},this.setNodes=function(t,r){return t.map(function(d){return i.setNode(d,r)}),i},this.hasNode=function(t){return i.nodesLabelMap.has(t)},this.checkCompound=function(){if(!i.isCompound())throw new Error("Cannot construct parent-children relations in a non-compound graph")},this.parent=function(t){if(i.isCompound()){var r,d=(r=i.parentMap)===null||r===void 0?void 0:r.get(t);if(d!==i.GRAPH_NODE)return d}},this.removeFromParentsChildList=function(t){var r=i.parentMap.get(t);i.childrenMap.get(r).delete(t)},this.setParent=function(t,r){var d,v;i.checkCompound();for(var g=r===void 0?i.GRAPH_NODE:r,b=i.parent(g);b;){if(t===b)throw new Error("Setting "+r+" as parent of "+t+" would create a cycle");b=i.parent(b)}r&&i.setNode(r),i.setNode(t),i.removeFromParentsChildList(t),(d=i.parentMap)===null||d===void 0||d.set(t,g);var P=i.childrenMap.get(g);return P.set(t,!0),(v=i.childrenMap)===null||v===void 0||v.set(g,P),i},this.children=function(t){var r=t===void 0?i.GRAPH_NODE:t;if(i.isCompound()){var d,v=(d=i.childrenMap)===null||d===void 0?void 0:d.get(r);return v?Array.from(v.keys()):void 0}if(r===i.GRAPH_NODE)return i.nodes();if(t&&i.hasNode(t))return[]},this.predecessors=function(t){var r=i.predecessorsMap.get(t);return r?Array.from(r.keys()):void 0},this.successors=function(t){var r=i.successorsMap.get(t);return r?Array.from(r.keys()):void 0},this.neighbors=function(t){var r;if(!!i.hasNode(t))return Array.from(new Set((r=i.predecessors(t))===null||r===void 0?void 0:r.concat(i.successors(t))))},this.isLeaf=function(t){var r;if(i.isDirected()){var d;return!((d=i.successors(t))===null||d===void 0?void 0:d.length)}return!((r=i.neighbors(t))===null||r===void 0?void 0:r.length)},this.filterNodes=function(t){var r=i.directed,d=i.multigraph,v=i.compound,g=new u({directed:r,multigraph:d,compound:v});if(g.setGraph(i.graph()),i.nodes().forEach(function(P){t(P)&&g.setNode(P,i.node(P))}),i.edges().forEach(function(P){g.hasNode(P.v)&&g.hasNode(P.w)&&g.setEdgeObj(P,i.edge(P))}),v){var b=function(I){for(var V=i.parent(I);V!==void 0&&!g.hasNode(V);)V=i.parent(V);return V};g.nodes().forEach(function(P){g.setParent(P,b(P))})}return g},this.setDefaultEdgeLabel=function(t){return Jz(t)?i.defaultEdgeLabelFn=t:i.defaultEdgeLabelFn=function(){return t},i},this.edgeCount=function(){return i.edgeCountNum},this.setEdgeObj=function(t,r){return i.setEdge(t.v,t.w,r,t.name)},this.setPath=function(t,r){return t.reduce(function(d,v){return i.setEdge(d,v,r),v}),i},this.edgeFromArgs=function(t,r,d){return i.edge({v:t,w:r,name:d})},this.edge=function(t){return i.edgesLabelsMap.get(N3(i.isDirected(),t))},this.hasEdge=function(t,r,d){return i.edgesLabelsMap.has(N3(i.isDirected(),{v:t,w:r,name:d}))},this.removeEdgeObj=function(t){var r=t.v,d=t.w,v=t.name;return i.removeEdge(r,d,v)},this.edges=function(){return Array.from(i.edgesMap.values())},this.inEdges=function(t,r){var d=i.inEdgesMap.get(t);if(d)return Array.from(d.values()).filter(function(v){return!r||v.v===r})},this.outEdges=function(t,r){var d=i.outEdgesMap.get(t);if(d)return Array.from(d.values()).filter(function(v){return!r||v.w===r})},this.nodeEdges=function(t,r){var d;if(!!i.hasNode(t))return(d=i.inEdges(t,r))===null||d===void 0?void 0:d.concat(i.outEdges(t,r))},this.toJSON=function(){return NM(i)},this.nodeInDegree=function(t){var r=i.inEdgesMap.get(t);return r?r.size:0},this.nodeOutDegree=function(t){var r=i.outEdgesMap.get(t);return r?r.size:0},this.nodeDegree=function(t){return i.nodeInDegree(t)+i.nodeOutDegree(t)},this.source=function(t){return t.v},this.target=function(t){return t.w};var o=LM(LM({},L3),c);this.compound=o.compound,this.directed=o.directed,this.multigraph=o.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}return ly(u,[{key:"setNode",value:function(c,o){var t=this.nodesLabelMap,r=this.defaultNodeLabelFn,d=this.isCompound,v=this.parentMap,g=this.childrenMap,b=this.inEdgesMap,P=this.outEdgesMap,I=this.predecessorsMap,V=this.successorsMap;if(t.has(c))return o!==void 0&&t.set(c,o),this;if(t.set(c,o||r(c)),d()){var K;v==null||v.set(c,this.GRAPH_NODE),g==null||g.set(c,new Map),(g==null?void 0:g.has(this.GRAPH_NODE))||g==null||g.set(this.GRAPH_NODE,new Map),g==null||(K=g.get(this.GRAPH_NODE))===null||K===void 0||K.set(c,!0)}return[b,P,I,V].forEach(function(ae){return ae.set(c,new Map)}),this.nodeCountNum+=1,this}},{key:"removeNode",value:function(c){var o=this;if(this.hasNode(c)){var t=function(ve){o.removeEdge(ve.v,ve.w,ve.name)},r=this.inEdgesMap,d=this.outEdgesMap,v=this.predecessorsMap,g=this.successorsMap,b=this.nodesLabelMap;if(this.isCompound()){var P,I,V;this.removeFromParentsChildList(c),(P=this.parentMap)===null||P===void 0||P.delete(c),(I=this.children(c))===null||I===void 0||I.forEach(function(ue){return o.setParent(ue)}),(V=this.childrenMap)===null||V===void 0||V.delete(c)}var K=r.get(c),ae=d.get(c);Array.from(K.values()).forEach(function(ue){return t(ue)}),Array.from(ae.values()).forEach(function(ue){return t(ue)}),b.delete(c),r.delete(c),d.delete(c),v.delete(c),g.delete(c),this.nodeCountNum-=1}return this}},{key:"setEdge",value:function(c,o,t,r){var d,v,g=IM(this.isDirected(),c,o,r),b=N3(this.isDirected(),g),P=g.v,I=g.w;if(this.edgesLabelsMap.has(b))return this.edgesLabelsMap.set(b,t),this;if(r!==void 0&&!this.isMultigraph())throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(P),this.setNode(I),this.edgesLabelsMap.set(b,t||this.defaultEdgeLabelFn(P,I,r)),Object.freeze(g),this.edgesMap.set(b,g);var V=this.predecessorsMap.get(I),K=this.successorsMap.get(P);return Yz(V,P),Yz(K,I),(d=this.inEdgesMap.get(I))===null||d===void 0||d.set(b,g),(v=this.outEdgesMap.get(P))===null||v===void 0||v.set(b,g),this.edgeCountNum+=1,this}},{key:"removeEdge",value:function(c,o,t){var r=bw(this.isDirected(),c,o,t),d=this.edgesMap.get(r);if(d){var v=IM(this.isDirected(),c,o,t),g=v.v,b=v.w;this.edgesLabelsMap.delete(r),this.edgesMap.delete(r);var P=this.predecessorsMap.get(b),I=this.successorsMap.get(g);Xz(P,g),Xz(I,b),this.inEdgesMap.get(b).delete(r),this.outEdgesMap.get(g).delete(r),this.edgeCountNum-=1}return this}}]),u}();s0.fromJSON=Jre;function FM(u){return FM=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},FM(u)}function UM(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function qz(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,o.key,o)}}function qre(u,i,c){return i&&qz(u.prototype,i),c&&qz(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function EO(){return typeof Reflect!="undefined"&&Reflect.get?EO=Reflect.get:EO=function(i,c,o){var t=eae(i,c);if(!!t){var r=Object.getOwnPropertyDescriptor(t,c);return r.get?r.get.call(arguments.length<3?i:o):r.value}},EO.apply(this,arguments)}function eae(u,i){for(;!Object.prototype.hasOwnProperty.call(u,i)&&(u=c0(u),u!==null););return u}function tae(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&BM(u,i)}function BM(u,i){return BM=Object.setPrototypeOf||function(o,t){return o.__proto__=t,o},BM(u,i)}function nae(u){var i=iae();return function(){var o=c0(u),t;if(i){var r=c0(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return rae(this,t)}}function rae(u,i){if(i&&(FM(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aae(u)}function aae(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function iae(){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(u){return!1}}function c0(u){return c0=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},c0(u)}var nce=function(u){tae(c,u);var i=nae(c);function c(){var o;UM(this,c);for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return o=i.call.apply(i,[this].concat(r)),o.eventPool={},o}return qre(c,[{key:"appendEvent",value:function(t,r){this.eventPool[t]||(this.eventPool[t]=[]),this.eventPool[t].push(r)}},{key:"removeEvent",value:function(t,r){if(!!this.eventPool[t]){var d=this.eventPool[t].indexOf(r);d>-1&&this.eventPool[t].splice(d,1)}}},{key:"emitEvent",value:function(t){for(var r=arguments.length,d=new Array(r>1?r-1:0),v=1;v<r;v++)d[v-1]=arguments[v];!this.eventPool[t]||this.eventPool[t].forEach(function(g){g.apply(void 0,d)})}},{key:"setNode",value:function(t,r){return EO(c0(c.prototype),"setNode",this).call(this,t,r),this.emitEvent("nodeAdd",t,r),this}},{key:"removeNode",value:function(t){return EO(c0(c.prototype),"removeNode",this).call(this,t),this.emitEvent("nodeRemove",t),this}},{key:"setEdge",value:function(t,r,d,v){return EO(c0(c.prototype),"setEdge",this).call(this,t,r,d,v),this.emitEvent("edgeAdd",t,r,d,v),this}},{key:"removeEdge",value:function(t,r,d){return EO(c0(c.prototype),"removeEdge",this).call(this,t,r,d),this.emitEvent("edgeRemove",t,r,d),this}}]),c}(s0);function eH(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,o.key,o)}}function VM(u,i,c){return i&&eH(u.prototype,i),c&&eH(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function oae(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}var zM=VM(function u(){var i=this;oae(this,u),this.arr=[],this.keyIndice=new Map,this.size=function(){return i.arr.length},this.keys=function(){return i.arr.map(function(c){return c.key})},this.has=function(c){return i.keyIndice.has(c)},this.priority=function(c){var o=i.keyIndice.get(c);if(o!==void 0)return i.arr[o].priority},this.swap=function(c,o){var t=i.arr,r=i.keyIndice,d=[t[c],t[o]],v=d[0],g=d[1];t[c]=g,t[o]=v,r.set(v.key,o),r.set(g.key,c)},this.innerDecrease=function(c){for(var o=i.arr,t=o[c].priority,r,d=c;d!==0;){var v;if(r=d>>1,((v=o[r])===null||v===void 0?void 0:v.priority)<t)break;i.swap(d,r),d=r}},this.heapify=function(c){var o=i.arr,t=c<<1,r=t+1,d=c;t<o.length&&(d=o[t].priority<o[d].priority?t:d,r<o.length&&(d=o[r].priority<o[d].priority?r:d),d!==c&&(i.swap(c,d),i.heapify(d)))},this.min=function(){if(i.size()===0)throw new Error("Queue underflow");return i.arr[0].key},this.add=function(c,o){var t=i.keyIndice,r=i.arr;if(!t.has(c)){var d=r.length;return t.set(c,d),r.push({key:c,priority:o}),i.innerDecrease(d),!0}return!1},this.removeMin=function(){i.swap(0,i.arr.length-1);var c=i.arr.pop();return i.keyIndice.delete(c.key),i.heapify(0),c.key},this.decrease=function(c,o){if(!i.has(c))throw new Error("There's no key named ".concat(c));var t=i.keyIndice.get(c);if(o>i.arr[t].priority)throw new Error("New priority is greater than current priority.Key: ".concat(c," Old: + ").concat(i.arr[t].priority," New: ").concat(o));i.arr[t].priority=o,i.innerDecrease(t)}}),tH=function(i,c){var o=new s0,t=new Map,r=new zM,d;function v(P){var I=P.v===d?P.w:P.v,V=r.priority(I);if(V!==void 0){var K=c(P);K<V&&(t.set(I,d),r.decrease(I,K))}}if(i.nodeCount()===0)return o;i.nodes().forEach(function(P){r.add(P,Number.POSITIVE_INFINITY),o.setNode(P)}),r.decrease(i.nodes()[0],0);for(var g=!1;r.size()>0;){var b;if(d=r.removeMin(),t.has(d))o.setEdge(d,t.get(d));else{if(g)throw new Error("Input graph is not connected: "+i.graph());g=!0}(b=i.nodeEdges(d))===null||b===void 0||b.forEach(v)}return o},nH=tH,SE=function(i){var c=new Set,o=[],t=i.nodes();return t.forEach(function(r){for(var d=[],v=[r];v.length>0;){var g=v.pop();if(!c.has(g)){var b,P;c.add(g),d.push(g),(b=i.successors(g))===null||b===void 0||b.forEach(function(I){return v.push(I)}),(P=i.predecessors(g))===null||P===void 0||P.forEach(function(I){return v.push(I)})}}d.length&&o.push(d)}),o},rH=SE,F3=function u(i,c,o,t,r,d){t.includes(c)||(t.push(c),o||d.push(c),r(c).forEach(function(v){return u(i,v,o,t,r,d)}),o&&d.push(c))},aH=function(i,c,o){var t=Array.isArray(c)?c:[c],r=function(b){return i.isDirected()?i.successors(b):i.neighbors(b)},d=[],v=[];return t.forEach(function(g){if(i.hasNode(g))F3(i,g,o==="post",v,r,d);else throw new Error("Graph does not have node: "+g)}),d},U3=aH;function B3(u,i){return cae(u)||sae(u,i)||HM(u,i)||jb()}function jb(){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 HM(u,i){if(!!u){if(typeof u=="string")return Ew(u,i);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(u);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Ew(u,i)}}function Ew(u,i){(i==null||i>u.length)&&(i=u.length);for(var c=0,o=new Array(i);c<i;c++)o[c]=u[c];return o}function sae(u,i){var c=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(c!=null){var o=[],t=!0,r=!1,d,v;try{for(c=c.call(u);!(t=(d=c.next()).done)&&(o.push(d.value),!(i&&o.length===i));t=!0);}catch(g){r=!0,v=g}finally{try{!t&&c.return!=null&&c.return()}finally{if(r)throw v}}return o}}function cae(u){if(Array.isArray(u))return u}var lae=function(){return 1},uae=function(i,c,o,t){return V3(i,c,o||lae,t||function(r){return i.outEdges(r)})},V3=function(i,c,o,t){var r=new Map,d=new zM,v,g,b=function(V){var K=V.v!==v?V.v:V.w,ae=r.get(K),ue=o(V),ve=g.distance+ue;if(ue<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+V+" Weight: "+ue);ve<ae.distance&&(ae.distance=ve,ae.predecessor=v,d.decrease(K,ve))};for(i.nodes().forEach(function(I){var V=I===c?0:Number.POSITIVE_INFINITY;r.set(I,{distance:V}),d.add(I,V)});d.size()>0&&(v=d.removeMin(),g=r.get(v),!(g&&g.distance===Number.POSITIVE_INFINITY));)t(v).forEach(b);var P={};return Array.from(r.entries()).forEach(function(I){var V=B3(I,2),K=V[0],ae=V[1];return P[String(K)]=ae,P}),P},iH=uae,oH=function(i,c,o){var t={};return i.nodes().forEach(function(r){return t[String(r)]=iH(i,r,c,o),t}),t},ch=oH,dae=function(i){var c=0,o=[],t=new Map,r=[];function d(v){var g,b={onStack:!0,lowlink:c,index:c};if(t.set(v,b),c+=1,o.push(v),(g=i.successors(v))===null||g===void 0||g.forEach(function(K){var ae;if(t.has(K)){if((ae=t.get(K))===null||ae===void 0?void 0:ae.onStack){var ve=t.get(K);b.lowlink=Math.min(b.lowlink,ve.index)}}else{d(K);var ue=t.get(K);b.lowlink=Math.min(b.lowlink,ue.lowlink)}}),b.lowlink===b.index){var P=[],I;do{I=o.pop();var V=t.get(I);V.onStack=!1,P.push(I)}while(v!==I);r.push(P)}}return i.nodes().forEach(function(v){t.has(v)||d(v)}),r},sH=dae,cH=function(i){return sH(i).filter(function(c){return c.length>1||c.length===1&&i.hasEdge(c[0],c[0])})},wE=cH;function GM(u){return GM=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},GM(u)}function xw(u,i){for(var c=0;c<i.length;c++){var o=i[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,o.key,o)}}function l0(u,i,c){return i&&xw(u.prototype,i),c&&xw(u,c),Object.defineProperty(u,"prototype",{writable:!1}),u}function lH(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function fae(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),i&&Pb(u,i)}function uH(u){var i=o_();return function(){var o=Oh(u),t;if(i){var r=Oh(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return pae(this,t)}}function pae(u,i){if(i&&(GM(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vae(u)}function vae(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function Mb(u){var i=typeof Map=="function"?new Map:void 0;return Mb=function(o){if(o===null||!hae(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof i!="undefined"){if(i.has(o))return i.get(o);i.set(o,t)}function t(){return u0(o,arguments,Oh(this).constructor)}return t.prototype=Object.create(o.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Pb(t,o)},Mb(u)}function u0(u,i,c){return o_()?u0=Reflect.construct:u0=function(t,r,d){var v=[null];v.push.apply(v,r);var g=Function.bind.apply(t,v),b=new g;return d&&Pb(b,d.prototype),b},u0.apply(null,arguments)}function o_(){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(u){return!1}}function hae(u){return Function.toString.call(u).indexOf("[native code]")!==-1}function Pb(u,i){return Pb=Object.setPrototypeOf||function(o,t){return o.__proto__=t,o},Pb(u,i)}function Oh(u){return Oh=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},Oh(u)}var $M=function(u){fae(c,u);var i=uH(c);function c(){return lH(this,c),i.apply(this,arguments)}return l0(c)}(Mb(Error));function gae(u){var i=new Set,c=new Set,o=[];function t(r){if(c.has(r))throw new $M;if(!i.has(r)){var d;c.add(r),i.add(r),(d=u.predecessors(r))===null||d===void 0||d.forEach(t),c.delete(r),o.push(r)}}if(u.sinks().forEach(t),i.size!==u.nodeCount())throw new $M;return o}var WM=gae,uy=function(i){try{WM(i)}catch(c){if(c instanceof $M)return!1;throw c}return!0},dH=uy,mae=function(i,c){return U3(i,c,"post")},fH=mae,_ae=function(i,c){return U3(i,c,"pre")},xO=_ae,KM=function(){return 1};function yae(u,i,c){return bae(u,i||KM,c||function(o){return u.outEdges(o)})}function bae(u,i,c){var o={},t=u.nodes();return t.forEach(function(r){var d=String(r);o[d]={},o[d][d]={distance:0},t.forEach(function(v){r!==v&&(o[d][String(v)]={distance:Number.POSITIVE_INFINITY})}),c(r).forEach(function(v){var g=v.v===r?v.w:v.v,b=i(v);o[d][String(g)]={distance:b,predecessor:r}})}),t.forEach(function(r){var d=String(r),v=o[d];t.forEach(function(g){var b=String(g),P=o[b];t.forEach(function(I){var V=String(I),K=P[d],ae=v[V],ue=P[V],ve=K.distance+ae.distance;ve<ue.distance&&(ue.distance=ve,ue.predecessor=ae.predecessor)})})}),o}var SO=yae,rce=function(i,c){for(var o=i.nodes(),t=0;t<o.length;t++){var r=o[t];if(c.hasNode(r))return!0}return!1},Oae=function(i,c){for(var o=i.edges(),t=0;t<o.length;t++){var r=o[t];if(c.hasEdge(r.v,r.w,r.name))return!0}return!1},Cae=function(i,c){var o=i.nodes(),t=o.filter(function(r){return c.hasNode(r)});return t},Eae=function(i,c){var o=i.edges(),t=o.filter(function(r){return c.hasEdge(r.v,r.w,r.name)});return t},xae=function(i,c){return i.isCompound()===c.isCompound()&&i.isDirected()===c.isDirected()&&i.isMultigraph()===c.isMultigraph()},z3=function(i,c){var o=Cae(i,c);return o.length===i.nodes().length},pH=function(i,c){var o=Eae(i,c);return o.length===i.edges().length},YM=function(i,c){return xae(i,c)&&i.nodeCount()===c.nodeCount()&&z3(i,c)&&i.edgeCount()===c.edgeCount()&&pH(i,c)},ice=function(i,c){return z3(i,c)&&pH(i,c)};function Sae(u,i){return wae(u)||XM(u,i)||vH(u,i)||H3()}function H3(){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 vH(u,i){if(!!u){if(typeof u=="string")return hH(u,i);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(u);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return hH(u,i)}}function hH(u,i){(i==null||i>u.length)&&(i=u.length);for(var c=0,o=new Array(i);c<i;c++)o[c]=u[c];return o}function XM(u,i){var c=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(c!=null){var o=[],t=!0,r=!1,d,v;try{for(c=c.call(u);!(t=(d=c.next()).done)&&(o.push(d.value),!(i&&o.length===i));t=!0);}catch(g){r=!0,v=g}finally{try{!t&&c.return!=null&&c.return()}finally{if(r)throw v}}return o}}function wae(u){if(Array.isArray(u))return u}function Rb(u){return u instanceof s0}function TE(u){if(u.isMultigraph())return!1;for(var i=u.edges(),c=new Map,o=0;o<i.length;o++){var t=i[o];if(t.v===t.w)return!1;var r=[t.v,t.w].sort(),d=Sae(r,2),v=d[0],g=d[1],b="".concat(v,"-").concat(g);if(c.has(b))return!1;c.set(b,!0)}return!0}function JM(u){return u.nodes().length===0}function oce(u){for(var i=u.edges(),c=0;c<i.length;c++){var o=i[c];if(o.v===o.w)return!0}return!1}var sce=function(i,c){if(!TE(i)||!TE(c)||!z3(i,c)||Oae(i,c))return!1;var o=i.nodeCount();return i.edgeCount()+c.edgeCount()===o*(o-1)/2},cce=function(i){if(!TE(i))return null;for(var c=i.nodeCount(),o=new s0({compound:i.isCompound(),directed:i.isDirected(),multigraph:i.isMultigraph()}),t=i.nodes(),r=0;r<c;r++){var d=t[r];o.setNode(d,i.node(d));for(var v=r+1;v<c;v++){var g=t[v];i.hasEdge(d,g)||o.setEdge(d,g)}}return o},lce=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c)}(Xre),Tae=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c)}(s0),Aae=function(){return 1},kae=function(i,c){var o;if(i.nodeCount()<=1)return[];var t=Mae(i,c||Aae),r=jae(t.graph,t.buckets,t.zeroIdx);return(o=r.map(function(d){return i.outEdges(d.v,d.w)}))===null||o===void 0?void 0:o.flat()},jae=function(i,c,o){for(var t=[],r=c[c.length-1],d=c[0],v;i.nodeCount();){for(;v=d.dequeue();)ZM(i,c,o,v);for(;v=r.dequeue();)ZM(i,c,o,v);if(i.nodeCount()){for(var g=c.length-2;g>0;--g)if(v=c[g].dequeue(),v){t=t.concat(ZM(i,c,o,v,!0));break}}}return t},ZM=function(i,c,o,t,r){var d,v,g=[];return(d=i.inEdges(t.v))===null||d===void 0||d.forEach(function(b){var P=i.edge(b),I=i.node(b.v);r&&g.push({v:b.v,w:b.w,in:0,out:0}),I.out===void 0&&(I.out=0),I.out-=P,G3(c,o,I)}),(v=i.outEdges(t.v))===null||v===void 0||v.forEach(function(b){var P=i.edge(b),I=b.w,V=i.node(I);V.in===void 0&&(V.in=0),V.in-=P,G3(c,o,V)}),i.removeNode(t.v),r?g:void 0},Mae=function(i,c){var o=new Tae,t=0,r=0;i.nodes().forEach(function(P){o.setNode(P,{v:P,in:0,out:0})}),i.edges().forEach(function(P){var I=o.edge(P)||0,V=(c==null?void 0:c(P))||1,K=I+V;o.setEdge(P.v,P.w,K),r=Math.max(r,o.node(P.v).out+=V),t=Math.max(t,o.node(P.w).in+=V)});for(var d=[],v=r+t+3,g=0;g<v;g++)d.push(new lce);var b=t+1;return o.nodes().forEach(function(P){G3(d,b,o.node(P))}),{buckets:d,zeroIdx:b,graph:o}},G3=function(i,c,o){o.out?o.in?i[o.out-o.in+c].enqueue(o):i[i.length-1].enqueue(o):i[0].enqueue(o)},Pae=kae,Rae=function(i){var c=function(r){return function(d){var v;return((v=r.edge(d))===null||v===void 0?void 0:v.weight)||1}},o=i.graph().acyclicer==="greedy"?Pae(i,c(i)):Dae(i);o==null||o.forEach(function(t){var r=i.edge(t);i.removeEdgeObj(t),r.forwardName=t.name,r.reversed=!0,i.setEdge(t.w,t.v,r,"rev-".concat(Math.random()))})},Dae=function(i){var c=[],o={},t={},r=function d(v){var g;t[v]||(t[v]=!0,o[v]=!0,(g=i.outEdges(v))===null||g===void 0||g.forEach(function(b){o[b.w]?c.push(b):d(b.w)}),delete o[v])};return i.nodes().forEach(r),c},$3=function(i){i.edges().forEach(function(c){var o=i.edge(c);if(o.reversed){i.removeEdgeObj(c);var t=o.forwardName;delete o.reversed,delete o.forwardName,i.setEdge(c.w,c.v,o,t)}})},d0={run:Rae,undo:$3},dy=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c)}(s0),Iae=function(i,c){return Number(i)-Number(c)},wO=function(i,c,o,t){var r;do r="".concat(t).concat(Math.random());while(i.hasNode(r));return o.dummy=c,i.setNode(r,o),r},Nae=function(i){var c=new dy().setGraph(i.graph());return i.nodes().forEach(function(o){c.setNode(o,i.node(o))}),i.edges().forEach(function(o){var t=c.edgeFromArgs(o.v,o.w)||{weight:0,minlen:1},r=i.edge(o);c.setEdge(o.v,o.w,{weight:t.weight+r.weight,minlen:Math.max(t.minlen,r.minlen)})}),c},gH=function(i){var c=new dy({multigraph:i.isMultigraph()}).setGraph(i.graph());return i.nodes().forEach(function(o){var t;((t=i.children(o))===null||t===void 0?void 0:t.length)||c.setNode(o,i.node(o))}),i.edges().forEach(function(o){c.setEdgeObj(o,i.edge(o))}),c},W3=function(i,c){return i==null?void 0:i.reduce(function(o,t,r){return o[t]=c[r],o},{})},TO=function(i){var c={};return i.nodes().forEach(function(o){var t,r={};(t=i.outEdges(o))===null||t===void 0||t.forEach(function(d){var v;r[d.w]=(r[d.w]||0)+(((v=i.edge(d))===null||v===void 0?void 0:v.weight)||0)}),c[o]=r}),c},uce=function(i){var c=i.nodes(),o=c.map(function(t){var r,d={};return(r=i.inEdges(t))===null||r===void 0||r.forEach(function(v){d[v.v]=(d[v.v]||0)+i.edge(v).weight}),d});return W3(c,o)},mH=function(i,c){var o=Number(i.x),t=Number(i.y),r=Number(c.x)-o,d=Number(c.y)-t,v=Number(i.width)/2,g=Number(i.height)/2;if(!r&&!d)return{x:0,y:0};var b,P;return Math.abs(d)*v>Math.abs(r)*g?(d<0&&(g=-g),b=g*r/d,P=g):(r<0&&(v=-v),b=v,P=v*d/r),{x:o+b,y:t+P}},fy=function(i){for(var c=[],o=_H(i)+1,t=0;t<o;t++)c.push([]);i.nodes().forEach(function(d){var v=i.node(d);if(!!v){var g=v.rank;g!==void 0&&c[g]&&c[g].push(d)}});for(var r=0;r<o;r++)c[r]=c[r].sort(function(d,v){var g,b;return Iae((g=i.node(d))===null||g===void 0?void 0:g.order,(b=i.node(v))===null||b===void 0?void 0:b.order)});return c},Lae=function(i){var c=i.nodes().filter(function(t){var r;return((r=i.node(t))===null||r===void 0?void 0:r.rank)!==void 0}).map(function(t){return i.node(t).rank}),o=Math.min.apply(Math,Object(Bs.a)(c));i.nodes().forEach(function(t){var r=i.node(t);r.hasOwnProperty("rank")&&o!==Infinity&&(r.rank-=o)})},QM=function(i){var c=i.nodes(),o=c.filter(function(P){var I;return((I=i.node(P))===null||I===void 0?void 0:I.rank)!==void 0}).map(function(P){return i.node(P).rank}),t=Math.min.apply(Math,Object(Bs.a)(o)),r=[];c.forEach(function(P){var I,V=(((I=i.node(P))===null||I===void 0?void 0:I.rank)||0)-t;r[V]||(r[V]=[]),r[V].push(P)});for(var d=0,v=i.graph().nodeRankFactor||0,g=0;g<r.length;g++){var b=r[g];b===void 0?g%v!=0&&(d-=1):d&&(b==null||b.forEach(function(P){var I=i.node(P);I&&(I.rank=I.rank||0,I.rank+=d)}))}},im=function(i,c,o,t){var r={width:0,height:0};return sl(o)&&sl(t)&&(r.rank=o,r.order=t),wO(i,"border",r,c)},_H=function(i){var c;return i.nodes().forEach(function(o){var t,r=(t=i.node(o))===null||t===void 0?void 0:t.rank;r!==void 0&&(c===void 0||r>c)&&(c=r)}),c||(c=0),c},Fae=function(i,c){var o={lhs:[],rhs:[]};return i==null||i.forEach(function(t){c(t)?o.lhs.push(t):o.rhs.push(t)}),o},yH=function(i,c){var o=Date.now();try{return c()}finally{console.log("".concat(i," time: ").concat(Date.now()-o,"ms"))}},Sw=function(i,c){return c()},ww=function(i,c){return i.reduce(function(o,t){var r=c(o),d=c(t);return r>d?t:o})},Uae=function(i){i.graph().dummyChains=[],i.edges().forEach(function(c){return K3(i,c)})},K3=function(i,c){var o=c.v,t=i.node(o).rank,r=c.w,d=i.node(r).rank,v=c.name,g=i.edge(c),b=g.labelRank;if(d!==t+1){i.removeEdgeObj(c);var P=i.graph(),I,V,K;for(K=0,++t;t<d;++K,++t)g.points=[],V={edgeLabel:g,width:0,height:0,edgeObj:c,rank:t},I=wO(i,"edge",V,"_d"),t===b&&(V.width=g.width,V.height=g.height,V.dummy="edge-label",V.labelpos=g.labelpos),i.setEdge(o,I,{weight:g.weight},v),K===0&&(P.dummyChains||(P.dummyChains=[]),P.dummyChains.push(I)),o=I;i.setEdge(o,r,{weight:g.weight},v)}},Bae=function(i){var c;(c=i.graph().dummyChains)===null||c===void 0||c.forEach(function(o){var t=i.node(o),r=t.edgeLabel,d;t.edgeObj&&i.setEdgeObj(t.edgeObj,r);for(var v=o;t.dummy;)d=i.successors(v)[0],i.removeNode(v),r.points.push({x:t.x,y:t.y}),t.dummy==="edge-label"&&(r.x=t.x,r.y=t.y,r.width=t.width,r.height=t.height),v=d,t=i.node(v)})},bH={run:Uae,undo:Bae},Y3=function(i){var c,o={},t=function r(d){var v,g=i.node(d);if(!g)return 0;if(o[d])return g.rank;o[d]=!0;var b;return(v=i.outEdges(d))===null||v===void 0||v.forEach(function(P){var I=r(P.w),V=i.edge(P).minlen,K=I-V;K&&(b===void 0||K<b)&&(b=K)}),b||(b=0),g.rank=b,b};(c=i.sources())===null||c===void 0||c.forEach(function(r){return t(r)})},OH=function(i){var c,o={},t,r=function g(b){var P,I=i.node(b);if(!I)return 0;if(o[b])return I.rank;o[b]=!0;var V;return(P=i.outEdges(b))===null||P===void 0||P.forEach(function(K){var ae=g(K.w),ue=i.edge(K).minlen,ve=ae-ue;ve&&(V===void 0||ve<V)&&(V=ve)}),V||(V=0),(t===void 0||V<t)&&(t=V),I.rank=V,V};(c=i.sources())===null||c===void 0||c.forEach(function(g){i.node(g)&&r(g)}),t===void 0&&(t=0);var d={},v=function g(b,P){var I,V=i.node(b),K=isNaN(V.layer)?P:V.layer;(V.rank===void 0||V.rank<K)&&(V.rank=K),!d[b]&&(d[b]=!0,(I=i.outEdges(b))===null||I===void 0||I.map(function(ae){g(ae.w,K+i.edge(ae).minlen)}))};i.nodes().forEach(function(g){var b=i.node(g);!b||(isNaN(b.layer)?b.rank-=t:v(g,b.layer))})},f0=function(i,c){return i.node(c.w).rank-i.node(c.v).rank-i.edge(c).minlen},Am={longestPath:Y3,longestPathWithLayer:OH,slack:f0},X3=function(i){var c=new dy({directed:!1}),o=i.nodes()[0],t=i.nodeCount();c.setNode(o,{});for(var r,d;Tw(c,i)<t;)r=py(c,i),d=c.hasNode(r.v)?f0(i,r):-f0(i,r),qM(c,i,d);return c},Tw=function(i,c){var o=function t(r){c.nodeEdges(r).forEach(function(d){var v=d.v,g=r===v?d.w:v;!i.hasNode(g)&&!f0(c,d)&&(i.setNode(g,{}),i.setEdge(r,g,{}),t(g))})};return i.nodes().forEach(o),i.nodeCount()},CH=function(i){var c=new dy({directed:!1}),o=i.nodes()[0],t=i.nodes().filter(function(v){return!!i.node(v)}).length;c.setNode(o,{});for(var r,d;Vae(c,i)<t;)r=py(c,i),d=c.hasNode(r.v)?f0(i,r):-f0(i,r),qM(c,i,d);return c},Vae=function(i,c){var o=function t(r){var d;(d=c.nodeEdges(r))===null||d===void 0||d.forEach(function(v){var g=v.v,b=r===g?v.w:g;!i.hasNode(b)&&(c.node(b).layer!==void 0||!f0(c,v))&&(i.setNode(b,{}),i.setEdge(r,b,{}),t(b))})};return i.nodes().forEach(o),i.nodeCount()},py=function(i,c){return ww(c.edges(),function(o){return i.hasNode(o.v)!==i.hasNode(o.w)?f0(c,o):Infinity})},qM=function(i,c,o){i.nodes().forEach(function(t){c.node(t).rank||(c.node(t).rank=0),c.node(t).rank+=o})},EH={feasibleTree:X3,feasibleTreeWithLayer:CH},s_=te.preorder,zae=te.postorder,vy=function(i){var c=Nae(i);Y3(c);var o=X3(c);SH(o),Aw(o,c);for(var t,r;t=wH(o);)r=TH(o,c,t),$ae(o,c,t,r)},Aw=function(i,c){var o=zae(i,i.nodes());o=o==null?void 0:o.slice(0,(o==null?void 0:o.length)-1),o==null||o.forEach(function(t){xH(i,c,t)})},xH=function(i,c,o){var t=i.node(o),r=t.parent;i.edgeFromArgs(o,r).cutvalue=Hae(i,c,o)},Hae=function(i,c,o){var t,r=i.node(o),d=r.parent,v=!0,g=c.edgeFromArgs(o,d),b=0;return g||(v=!1,g=c.edgeFromArgs(d,o)),b=g.weight,(t=c.nodeEdges(o))===null||t===void 0||t.forEach(function(P){var I=P.v===o,V=I?P.w:P.v;if(V!==d){var K=I===v,ae=c.edge(P).weight;if(b+=K?ae:-ae,eP(i,o,V)){var ue=i.edgeFromArgs(o,V).cutvalue;b+=K?-ue:ue}}}),b},SH=function(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.nodes()[0];Gae(i,{},1,c)},Gae=function u(i,c,o,t,r){var d,v=o,g=o,b=i.node(t);return c[t]=!0,(d=i.neighbors(t))===null||d===void 0||d.forEach(function(P){c[P]||(g=u(i,c,g,P,t))}),b.low=v,b.lim=g++,r?b.parent=r:delete b.parent,g},wH=function(i){return i.edges().find(function(c){return i.edge(c).cutvalue<0})},TH=function(i,c,o){var t=o.v,r=o.w;c.hasEdge(t,r)||(t=o.w,r=o.v);var d=i.node(t),v=i.node(r),g=d,b=!1;d.lim>v.lim&&(g=v,b=!0);var P=c.edges().filter(function(I){return b===kH(i,i.node(I.v),g)&&b!==kH(i,i.node(I.w),g)});return ww(P,function(I){return f0(c,I)})},$ae=function(i,c,o,t){var r=o.v,d=o.w;i.removeEdge(r,d),i.setEdge(t.v,t.w,{}),SH(i),Aw(i,c),AH(i,c)},AH=function(i,c){var o=i.nodes().find(function(r){var d;return!((d=c.node(r))===null||d===void 0?void 0:d.parent)}),t=s_(i,o);t=t==null?void 0:t.slice(1),t==null||t.forEach(function(r){var d=i.node(r).parent,v=c.edgeFromArgs(r,d),g=!1;v||(v=c.edgeFromArgs(d,r),g=!0),c.node(r).rank=c.node(d).rank+(g?v.minlen:-v.minlen)})},eP=function(i,c,o){return i.hasEdge(c,o)},kH=function(i,c,o){return o.low<=c.lim&&c.lim<=o.lim},jH=vy,MH=function(i){switch(i.graph().ranker){case"network-simplex":J3(i);break;case"tight-tree":tP(i);break;case"longest-path":PH(i);break;default:tP(i)}},PH=Y3,tP=function(i){OH(i),CH(i)},J3=function(i){jH(i)},nP=MH,Z3=function(i){var c,o={},t=0,r=function d(v){var g,b=t;(g=i.children(v))===null||g===void 0||g.forEach(d),o[v]={low:b,lim:t++}};return(c=i.children())===null||c===void 0||c.forEach(r),o},Wae=function(i,c,o,t){var r=[],d=[],v=Math.min(c[o].low,c[t].low),g=Math.max(c[o].lim,c[t].lim),b,P;b=o;do b=i.parent(b),r.push(b);while(b&&(c[b].low>v||g>c[b].lim));for(P=b,b=t;b&&b!==P;)d.push(b),b=i.parent(b);return{lca:P,path:r.concat(d.reverse())}},RH=function(i){var c,o=Z3(i);(c=i.graph().dummyChains)===null||c===void 0||c.forEach(function(t){var r,d,v=t,g=i.node(v),b=g.edgeObj;if(!!b)for(var P=Wae(i,o,b.v,b.w),I=P.path,V=P.lca,K=0,ae=I[K],ue=!0;v!==b.w;){if(g=i.node(v),ue){for(;ae!==V&&((r=i.node(ae))===null||r===void 0?void 0:r.maxRank)<g.rank;)K++,ae=I[K];ae===V&&(ue=!1)}if(!ue){for(;K<I.length-1&&((d=i.node(I[K+1]))===null||d===void 0?void 0:d.minRank)<=g.rank;)K++;ae=I[K]}i.setParent(v,ae),v=i.successors(v)[0]}})},p0=RH,Q3=function(i){var c,o=wO(i,"root",{},"_root"),t=Yae(i),r=Math.max.apply(Math,Object(Bs.a)(Object.values(t)));Math.abs(r)===Infinity&&(r=1);var d=r-1,v=2*d+1;i.graph().nestingRoot=o,i.edges().forEach(function(b){i.edge(b).minlen*=v});var g=Xae(i)+1;(c=i.children())===null||c===void 0||c.forEach(function(b){Kae(i,o,v,g,d,t,b)}),i.graph().nodeRankFactor=v},Kae=function u(i,c,o,t,r,d,v){var g=i.children(v);if(!(g==null?void 0:g.length)){v!==c&&i.setEdge(c,v,{weight:0,minlen:o});return}var b=im(i,"_bt"),P=im(i,"_bb"),I=i.node(v);i.setParent(b,v),I.borderTop=b,i.setParent(P,v),I.borderBottom=P,g==null||g.forEach(function(V){u(i,c,o,t,r,d,V);var K=i.node(V),ae=K.borderTop?K.borderTop:V,ue=K.borderBottom?K.borderBottom:V,ve=K.borderTop?t:2*t,Oe=ae!==ue?1:r-d[v]+1;i.setEdge(b,ae,{minlen:Oe,weight:ve,nestingEdge:!0}),i.setEdge(ue,P,{minlen:Oe,weight:ve,nestingEdge:!0})}),i.parent(v)||i.setEdge(c,b,{weight:0,minlen:r+d[v]})},Yae=function(i){var c,o={},t=function r(d,v){var g=i.children(d);g==null||g.forEach(function(b){return r(b,v+1)}),o[d]=v};return(c=i.children())===null||c===void 0||c.forEach(function(r){return t(r,1)}),o},Xae=function(i){var c=0;return i.edges().forEach(function(o){c+=i.edge(o).weight}),c},Jae=function(i){var c=i.graph();c.nestingRoot&&i.removeNode(c.nestingRoot),delete c.nestingRoot,i.edges().forEach(function(o){var t=i.edge(o);t.nestingEdge&&i.removeEdgeObj(o)})},DH={run:Q3,cleanup:Jae},IH=function(i){var c,o=function t(r){var d=i.children(r),v=i.node(r);if((d==null?void 0:d.length)&&d.forEach(function(P){return t(P)}),v.hasOwnProperty("minRank")){v.borderLeft=[],v.borderRight=[];for(var g=v.minRank,b=v.maxRank+1;g<b;g+=1)kw(i,"borderLeft","_bl",r,v,g),kw(i,"borderRight","_br",r,v,g)}};(c=i.children())===null||c===void 0||c.forEach(function(t){return o(t)})},kw=function(i,c,o,t,r,d){var v={rank:d,borderType:c,width:0,height:0},g=r[c][d-1],b=wO(i,"border",v,o);r[c][d]=b,i.setParent(b,t),g&&i.setEdge(g,b,{weight:1})},Zae=IH,Qae=function(i){var c,o=(c=i.graph().rankdir)===null||c===void 0?void 0:c.toLowerCase();(o==="lr"||o==="rl")&&q3(i)},qae=function(i){var c,o=(c=i.graph().rankdir)===null||c===void 0?void 0:c.toLowerCase();(o==="bt"||o==="rl")&&e4(i),(o==="lr"||o==="rl")&&(t4(i),q3(i))},q3=function(i){i.nodes().forEach(function(c){NH(i.node(c))}),i.edges().forEach(function(c){NH(i.edge(c))})},NH=function(i){var c=i.width;i.width=i.height,i.height=c},e4=function(i){i.nodes().forEach(function(c){rP(i.node(c))}),i.edges().forEach(function(c){var o,t=i.edge(c);(o=t.points)===null||o===void 0||o.forEach(function(r){return rP(r)}),t.hasOwnProperty("y")&&rP(t)})},rP=function(i){(i==null?void 0:i.y)&&(i.y=-i.y)},t4=function(i){i.nodes().forEach(function(c){n4(i.node(c))}),i.edges().forEach(function(c){var o,t=i.edge(c);(o=t.points)===null||o===void 0||o.forEach(function(r){return n4(r)}),t.hasOwnProperty("x")&&n4(t)})},n4=function(i){var c=i.x;i.x=i.y,i.y=c},r4={adjust:Qae,undo:qae},LH={}.toString,eie=function(i,c){return LH.call(i)==="[object "+c+"]"},tie=eie,FH=function(u){return Array.isArray?Array.isArray(u):tie(u,"Array")},aP=function(u){if(!!FH(u))return u.reduce(function(i,c){return Math.max(i,c)},u[0])},nie=function(i){for(var c={},o=i.nodes().filter(function(V){var K;return!((K=i.children(V))===null||K===void 0?void 0:K.length)}),t=o.map(function(V){return i.node(V).rank}),r=aP(t),d=[],v=0;v<r+1;v++)d.push([]);var g=function V(K){var ae;if(!c.hasOwnProperty(K)){c[K]=!0;var ue=i.node(K);isNaN(ue.rank)||d[ue.rank].push(K),(ae=i.successors(K))===null||ae===void 0||ae.forEach(function(ve){return V(ve)})}},b=o.sort(function(V,K){return i.node(V).rank-i.node(K).rank}),P=b.filter(function(V){return i.node(V).fixorder!==void 0}),I=P.sort(function(V,K){return i.node(V).fixorder-i.node(K).fixorder});return I==null||I.forEach(function(V){isNaN(i.node(V).rank)||d[i.node(V).rank].push(V),c[V]=!0}),b==null||b.forEach(g),d},UH=nie,a4=function(i,c,o){for(var t=W3(o,o.map(function(I,V){return V})),r=c.map(function(I){var V,K=(V=i.outEdges(I))===null||V===void 0?void 0:V.map(function(ae){return{pos:t[ae.w]||0,weight:i.edge(ae).weight}});return K==null?void 0:K.sort(function(ae,ue){return ae.pos-ue.pos})}),d=r.flat().filter(function(I){return I!==void 0}),v=1;v<o.length;)v<<=1;var g=2*v-1;v-=1;var b=Array(g).fill(0,0,g),P=0;return d==null||d.forEach(function(I){if(I){var V=I.pos+v;b[V]+=I.weight;for(var K=0;V>0;)V%2&&(K+=b[V+1]),V=V-1>>1,b[V]+=I.weight;P+=I.weight*K}}),P},BH=function(i,c){for(var o=0,t=1;t<(c==null?void 0:c.length);t+=1)o+=a4(i,c[t-1],c[t]);return o},i4=BH,o4=function(i,c,o){var t=VH(i),r=new dy({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(d){return i.node(d)});return i.nodes().forEach(function(d){var v,g=i.node(d),b=i.parent(d);(g.rank===c||g.minRank<=c&&c<=g.maxRank)&&(r.setNode(d),r.setParent(d,b||t),(v=i[o](d))===null||v===void 0||v.forEach(function(P){var I=P.v===d?P.w:P.v,V=r.edgeFromArgs(I,d),K=V!==void 0?V.weight:0;r.setEdge(I,d,{weight:i.edge(P).weight+K})}),g.hasOwnProperty("minRank")&&r.setNode(d,{borderLeft:g.borderLeft[c],borderRight:g.borderRight[c]}))}),r},VH=function(i){for(var c;i.hasNode(c="_root".concat(Math.random())););return c},zH=o4,rie=function(i,c,o){var t={},r;o==null||o.forEach(function(d){for(var v=i.parent(d),g,b;v;){if(g=i.parent(v),g?(b=t[g],t[g]=v):(b=r,r=v),b&&b!==v){c.setEdge(b,v);return}v=g}})},aie=rie,HH=function(i,c){return c.map(function(o){var t=i.inEdges(o);if(!(t==null?void 0:t.length))return{v:o};{var r={sum:0,weight:0};return t==null||t.forEach(function(d){var v=i.edge(d),g=i.node(d.v);r.sum+=v.weight*g.order,r.weight+=v.weight}),{v:o,barycenter:r.sum/r.weight,weight:r.weight}}})},iie=HH,jw=function(i,c){var o,t,r,d={};i==null||i.forEach(function(g,b){d[g.v]={i:b,indegree:0,in:[],out:[],vs:[g.v]};var P=d[g.v];g.barycenter!==void 0&&(P.barycenter=g.barycenter,P.weight=g.weight)}),(o=c.edges())===null||o===void 0||o.forEach(function(g){var b=d[g.v],P=d[g.w];b!==void 0&&P!==void 0&&(P.indegree++,b.out.push(d[g.w]))});var v=(r=(t=Object.values(d)).filter)===null||r===void 0?void 0:r.call(t,function(g){return!g.indegree});return oie(v)},oie=function(i){for(var c,o,t=[],r=function(I){return function(V){V.merged||(V.barycenter===void 0||I.barycenter===void 0||V.barycenter>=I.barycenter)&&sie(I,V)}},d=function(I){return function(V){V.in.push(I),--V.indegree==0&&i.push(V)}},v=function(){var I=i.pop();t.push(I),(c=I.in.reverse())===null||c===void 0||c.forEach(function(V){return r(I)(V)}),(o=I.out)===null||o===void 0||o.forEach(function(V){return d(I)(V)})};i==null?void 0:i.length;)v();var g=t.filter(function(P){return!P.merged}),b=["vs","i","barycenter","weight"];return g.map(function(P){var I={};return b==null||b.forEach(function(V){P[V]!==void 0&&(I[V]=P[V])}),I})},sie=function(i,c){var o,t=0,r=0;i.weight&&(t+=i.barycenter*i.weight,r+=i.weight),c.weight&&(t+=c.barycenter*c.weight,r+=c.weight),i.vs=(o=c.vs)===null||o===void 0?void 0:o.concat(i.vs),i.barycenter=t/r,i.weight=r,i.i=Math.min(c.i,i.i),c.merged=!0},iP=jw,s4=function(i,c,o,t){var r=Fae(i,function(K){var ae=K.hasOwnProperty("fixorder")&&!isNaN(K.fixorder);return t?!ae&&K.hasOwnProperty("barycenter"):ae||K.hasOwnProperty("barycenter")}),d=r.lhs,v=r.rhs.sort(function(K,ae){return-K.i- -ae.i}),g=[],b=0,P=0,I=0;d==null||d.sort(cie(!!c,!!o)),I=c4(g,v,I),d==null||d.forEach(function(K){var ae;I+=(ae=K.vs)===null||ae===void 0?void 0:ae.length,g.push(K.vs),b+=K.barycenter*K.weight,P+=K.weight,I=c4(g,v,I)});var V={vs:g.flat()};return P&&(V.barycenter=b/P,V.weight=P),V},c4=function(i,c,o){for(var t=o,r;c.length&&(r=c[c.length-1]).i<=t;)c.pop(),i==null||i.push(r.vs),t++;return t},cie=function(i,c){return function(o,t){if(o.fixorder!==void 0&&t.fixorder!==void 0)return o.fixorder-t.fixorder;if(o.barycenter<t.barycenter)return-1;if(o.barycenter>t.barycenter)return 1;if(c&&o.order!==void 0&&t.order!==void 0){if(o.order<t.order)return-1;if(o.order>t.order)return 1}return i?t.i-o.i:o.i-t.i}},lie=s4,oP=function u(i,c,o,t,r,d){var v,g,b,P,I=i.children(c),V=i.node(c),K=V?V.borderLeft:void 0,ae=V?V.borderRight:void 0,ue={};K&&(I=I==null?void 0:I.filter(function(Ze){return Ze!==K&&Ze!==ae}));var ve=iie(i,I||[]);ve==null||ve.forEach(function(Ze){var et;if((et=i.children(Ze.v))===null||et===void 0?void 0:et.length){var yt=u(i,Ze.v,o,t,d);ue[Ze.v]=yt,yt.hasOwnProperty("barycenter")&&uie(Ze,yt)}});var Oe=iP(ve,o);l4(Oe,ue),(v=Oe.filter(function(Ze){return Ze.vs.length>0}))===null||v===void 0||v.forEach(function(Ze){var et=i.node(Ze.vs[0]);et&&(Ze.fixorder=et.fixorder,Ze.order=et.order)});var ke=lie(Oe,t,r,d);if(K&&(ke.vs=[K,ke.vs,ae].flat(),(g=i.predecessors(K))===null||g===void 0?void 0:g.length)){var Ie=i.node(((b=i.predecessors(K))===null||b===void 0?void 0:b[0])||""),Ye=i.node(((P=i.predecessors(ae))===null||P===void 0?void 0:P[0])||"");ke.hasOwnProperty("barycenter")||(ke.barycenter=0,ke.weight=0),ke.barycenter=(ke.barycenter*ke.weight+Ie.order+Ye.order)/(ke.weight+2),ke.weight+=2}return ke},l4=function(i,c){i==null||i.forEach(function(o){var t,r=(t=o.vs)===null||t===void 0?void 0:t.map(function(d){return c[d]?c[d].vs:d});o.vs=r.flat()})},uie=function(i,c){i.barycenter!==void 0?(i.barycenter=(i.barycenter*i.weight+c.barycenter*c.weight)/(i.weight+c.weight),i.weight+=c.weight):(i.barycenter=c.barycenter,i.weight=c.weight)},die=oP,fie=function(i,c){for(var o=_H(i),t=[],r=[],d=1;d<o+1;d++)t.push(d);for(var v=o-1;v>-1;v--)r.push(v);var g=GH(i,t,"inEdges"),b=GH(i,r,"outEdges"),P=UH(i);u4(i,P);for(var I=Number.POSITIVE_INFINITY,V,K=0,ae=0;ae<4;++K,++ae){$H(K%2?g:b,K%4>=2,!1,c),P=fy(i);var ue=i4(i,P);ue<I&&(ae=0,V=O3(P),I=ue)}P=UH(i),u4(i,P);for(var ve=0,Oe=0;Oe<4;++ve,++Oe){$H(ve%2?g:b,ve%4>=2,!0,c),P=fy(i);var ke=i4(i,P);ke<I&&(Oe=0,V=O3(P),I=ke)}u4(i,V)},GH=function(i,c,o){return c.map(function(t){return zH(i,t,o)})},$H=function(i,c,o,t){var r=new dy;i==null||i.forEach(function(d){for(var v,g=d.graph().root,b=die(d,g,r,c,o,t),P=0;P<((v=b.vs)===null||v===void 0?void 0:v.length);P++){var I=d.node(b.vs[P]);I&&(I.order=P)}aie(d,r,b.vs)})},u4=function(i,c){c==null||c.forEach(function(o){o==null||o.forEach(function(t,r){i.node(t).order=r})})},pie=fie,WH=function(u){if(!!FH(u))return u.reduce(function(i,c){return Math.min(i,c)},u[0])},vie=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c)}(s0),KH=function(i,c){var o={},t=function(d,v){var g=0,b=0,P=d.length,I=v==null?void 0:v[(v==null?void 0:v.length)-1];return v==null||v.forEach(function(V,K){var ae,ue=hie(i,V),ve=ue?i.node(ue).order:P;(ue||V===I)&&((ae=v.slice(b,K+1))===null||ae===void 0||ae.forEach(function(Oe){var ke;(ke=i.predecessors(Oe))===null||ke===void 0||ke.forEach(function(Ie){var Ye,Ze=i.node(Ie),et=Ze.order;(et<g||ve<et)&&!(Ze.dummy&&((Ye=i.node(Oe))===null||Ye===void 0?void 0:Ye.dummy))&&ip(o,Ie,Oe)})}),b=K+1,g=ve)}),v};return(c==null?void 0:c.length)&&c.reduce(t),o},YH=function(i,c){var o={};function t(g,b,P,I,V){for(var K,ae,ue,ve=b;ve<P;ve++)ue=g[ve],((K=i.node(ue))===null||K===void 0?void 0:K.dummy)&&((ae=i.predecessors(ue))===null||ae===void 0||ae.forEach(function(Oe){var ke=i.node(Oe);ke.dummy&&(ke.order<I||ke.order>V)&&ip(o,Oe,ue)}))}function r(g){return JSON.stringify(g.slice(1))}function d(g,b){var P=r(g);b.get(P)||(t.apply(void 0,Object(Bs.a)(g)),b.set(P,!0))}var v=function(b,P){var I=-1,V,K=0,ae=new Map;return P==null||P.forEach(function(ue,ve){var Oe;if(((Oe=i.node(ue))===null||Oe===void 0?void 0:Oe.dummy)==="border"){var ke=i.predecessors(ue)||[];ke.length&&(V=i.node(ke[0]).order,d([P,K,ve,I,V],ae),K=ve,I=V)}d([P,K,P.length,V,b.length],ae)}),P};return(c==null?void 0:c.length)&&c.reduce(v),o},hie=function(i,c){var o,t;if((o=i.node(c))===null||o===void 0?void 0:o.dummy)return(t=i.predecessors(c))===null||t===void 0?void 0:t.find(function(r){return i.node(r).dummy})},ip=function(i,c,o){var t=c,r=o;if(t>r){var d=t;t=r,r=d}var v=i[t];v||(i[t]=v={}),v[r]=!0},XH=function(i,c,o){var t=c,r=o;if(t>r){var d=c;t=r,r=d}return!!i[t]},JH=function(i,c,o,t){var r={},d={},v={};return c==null||c.forEach(function(g){g==null||g.forEach(function(b,P){r[b]=b,d[b]=b,v[b]=P})}),c==null||c.forEach(function(g){var b=-1;g==null||g.forEach(function(P){var I=t(P);if(I.length){I=I.sort(function(ve,Oe){return v[ve]-v[Oe]});for(var V=(I.length-1)/2,K=Math.floor(V),ae=Math.ceil(V);K<=ae;++K){var ue=I[K];d[P]===P&&b<v[ue]&&!XH(o,P,ue)&&(d[ue]=P,d[P]=r[P]=r[ue],b=v[ue])}}})}),{root:r,align:d}},d4=function(i,c,o,t,r){var d,v={},g=ZH(i,c,o,r),b=r?"borderLeft":"borderRight",P=function(ae,ue){for(var ve=g.nodes(),Oe=ve.pop(),ke={};Oe;)ke[Oe]?ae(Oe):(ke[Oe]=!0,ve.push(Oe),ve=ve.concat(ue(Oe))),Oe=ve.pop()},I=function(ae){v[ae]=(g.inEdges(ae)||[]).reduce(function(ue,ve){return Math.max(ue,(v[ve.v]||0)+g.edge(ve))},0)},V=function(ae){var ue=(g.outEdges(ae)||[]).reduce(function(Oe,ke){return Math.min(Oe,(v[ke.w]||0)-g.edge(ke))},Number.POSITIVE_INFINITY),ve=i.node(ae);ue!==Number.POSITIVE_INFINITY&&ve.borderType!==b&&(v[ae]=Math.max(v[ae],ue))};return P(I,g.predecessors.bind(g)),P(V,g.successors.bind(g)),(d=Object.values(t))===null||d===void 0||d.forEach(function(K){v[K]=v[o[K]]}),v},ZH=function(i,c,o,t){var r=new vie,d=i.graph(),v=mie(d.nodesep,d.edgesep,t);return c==null||c.forEach(function(g){var b;g==null||g.forEach(function(P){var I=o[P];if(r.setNode(I),b){var V=o[b],K=r.edgeFromArgs(V,I);r.setEdge(V,I,Math.max(v(i,P,b),K||0))}b=P})}),r},gie=function(i,c){return ww(Object.values(c),function(o){var t,r=Number.NEGATIVE_INFINITY,d=Number.POSITIVE_INFINITY;return(t=Object.keys(o))===null||t===void 0||t.forEach(function(v){var g=o[v],b=_ie(i,v)/2;r=Math.max(g+b,r),d=Math.min(g-b,d)}),r-d})};function QH(u,i){var c=Object.values(i),o=WH(c),t=aP(c);["u","d"].forEach(function(r){["l","r"].forEach(function(d){var v=r+d,g=u[v],b;if(g!==i){var P=Object.values(g);b=d==="l"?o-WH(P):t-aP(P),b&&(u[v]={},Object.keys(g).forEach(function(I){u[v][I]=g[I]+b}))}})})}var qH=function(i,c){var o={};return Object.keys(i.ul).forEach(function(t){if(c)o[t]=i[c.toLowerCase()][t];else{var r=Object.values(i).map(function(d){return d[t]});o[t]=(r[0]+r[1])/2}}),o},dce=function(i){var c=fy(i),o=Object.assign(KH(i,c),YH(i,c)),t={},r;["u","d"].forEach(function(v){r=v==="u"?c:Object.values(c).reverse(),["l","r"].forEach(function(g){g==="r"&&(r=r.map(function(V){return Object.values(V).reverse()}));var b=(v==="u"?i.predecessors:i.successors).bind(i),P=JH(i,r,o,b),I=d4(i,r,P.root,P.align,g==="r");g==="r"&&Object.keys(I).forEach(function(V){I[V]=-I[V]}),t[v+g]=I})});var d=gie(i,t);return QH(t,d),qH(t,i.graph().align)},mie=function(i,c,o){return function(t,r,d){var v=t.node(r),g=t.node(d),b=0,P;if(b+=v.width/2,v.hasOwnProperty("labelpos"))switch((v.labelpos||"").toLowerCase()){case"l":P=-v.width/2;break;case"r":P=v.width/2;break}if(P&&(b+=o?P:-P),P=0,b+=(v.dummy?c:i)/2,b+=(g.dummy?c:i)/2,b+=g.width/2,g.labelpos)switch((g.labelpos||"").toLowerCase()){case"l":P=g.width/2;break;case"r":P=-g.width/2;break}return P&&(b+=o?P:-P),P=0,b}},_ie=function(i,c){return i.node(c).width||0},eG=function(i){var c=fy(i),o=i.graph().ranksep,t=0;c==null||c.forEach(function(r){var d=r.map(function(g){return i.node(g).height}),v=Math.max.apply(Math,Object(Bs.a)(d).concat([0]));r==null||r.forEach(function(g){i.node(g).y=t+v/2}),t+=v+o})},yie=function(i){var c=fy(i),o=Object.assign(KH(i,c),YH(i,c)),t={},r=[];["u","d"].forEach(function(v){r=v==="u"?c:Object.values(c).reverse(),["l","r"].forEach(function(g){g==="r"&&(r=r.map(function(V){return Object.values(V).reverse()}));var b=(v==="u"?i.predecessors:i.successors).bind(i),P=JH(i,r,o,b),I=d4(i,r,P.root,P.align,g==="r");g==="r"&&Object.keys(I).forEach(function(V){return I[V]=-I[V]}),t[v+g]=I})});var d=gie(i,t);return d&&QH(t,d),qH(t,i.graph().align)},bie=function(i){var c,o=gH(i);eG(o);var t=yie(o);(c=Object.keys(t))===null||c===void 0||c.forEach(function(r){o.node(r).x=t[r]})},tG=bie,Oie=function(i,c){for(var o=i.nodes().filter(function(g){var b;return!((b=i.children(g))===null||b===void 0?void 0:b.length)}),t=o.map(function(g){return i.node(g).rank}),r=Math.max.apply(Math,Object(Bs.a)(t)),d=[],v=0;v<r+1;v++)d[v]=[];c==null||c.forEach(function(g){var b=i.node(g);!b||(b==null?void 0:b.dummy)||isNaN(b.rank)||(b.fixorder=d[b.rank].length,d[b.rank].push(g))})},sP=Oie,Cie=function(i,c){var o=c&&c.debugTiming?yH:Sw;o("layout",function(){c&&!c.keepNodeOrder&&c.prevGraph&&o(" inheritOrder",function(){xie(i,c.prevGraph)});var t=o(" buildLayoutGraph",function(){return kie(i)});c&&c.edgeLabelSpace===!1||o(" makeSpaceForEdgeLabels",function(){om(t)});try{o(" runLayout",function(){Eie(t,o,c)})}catch(r){if(r.message==="Not possible to find intersection inside of the rectangle"){console.error(`The following error may be caused by improper layer setting, please make sure your manual layer setting does not violate the graph's structure:
`,r);return}throw r}o(" updateInputGraph",function(){f4(i,t)})})},Eie=function(i,c,o){c(" removeSelfEdges",function(){Nie(i)}),c(" acyclic",function(){d0.run(i)}),c(" nestingGraph.run",function(){DH.run(i)}),c(" rank",function(){nP(gH(i))}),c(" injectEdgeLabelProxies",function(){jie(i)}),c(" removeEmptyRanks",function(){QM(i)}),c(" nestingGraph.cleanup",function(){DH.cleanup(i)}),c(" normalizeRanks",function(){Lae(i)}),c(" assignRankMinMax",function(){Mie(i)}),c(" removeEdgeLabelProxies",function(){Pie(i)}),c(" normalize.run",function(){bH.run(i)}),c(" parentDummyChains",function(){p0(i)}),c(" addBorderSegments",function(){Zae(i)}),o&&o.keepNodeOrder&&c(" initDataOrder",function(){sP(i,o.nodeOrder)}),c(" order",function(){pie(i,o==null?void 0:o.keepNodeOrder)}),c(" insertSelfEdges",function(){h4(i)}),c(" adjustCoordinateSystem",function(){r4.adjust(i)}),c(" position",function(){tG(i)}),c(" positionSelfEdges",function(){Lie(i)}),c(" removeBorderNodes",function(){Iie(i)}),c(" normalize.undo",function(){bH.undo(i)}),c(" fixupEdgeLabelCoords",function(){nG(i)}),c(" undoCoordinateSystem",function(){r4.undo(i)}),c(" translateGraph",function(){Mw(i)}),c(" assignNodeIntersects",function(){Rie(i)}),c(" reversePoints",function(){Die(i)}),c(" acyclic.undo",function(){d0.undo(i)})},xie=function(i,c){i.nodes().forEach(function(o){var t=i.node(o),r=c.node(o);r!==void 0?(t.fixorder=r._order,delete r._order):delete t.fixorder})},f4=function(i,c){i.nodes().forEach(function(o){var t,r=i.node(o);if(r){var d=c.node(o);r.x=d.x,r.y=d.y,r._order=d.order,r._rank=d.rank,((t=c.children(o))===null||t===void 0?void 0:t.length)&&(r.width=d.width,r.height=d.height)}}),i.edges().forEach(function(o){var t=i.edge(o),r=c.edge(o);t.points=r?r.points:[],r&&r.hasOwnProperty("x")&&(t.x=r.x,t.y=r.y)}),i.graph().width=c.graph().width,i.graph().height=c.graph().height},Sie=["nodesep","edgesep","ranksep","marginx","marginy"],wie={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},p4=["acyclicer","ranker","rankdir","align"],Tie=["width","height","layer","fixorder"],v4={width:0,height:0},Aie=["minlen","weight","width","height","labeloffset"],hg={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},cP=["labelpos"],kie=function(i){var c=new dy({multigraph:!0,compound:!0}),o=g4(i.graph()),t={};return p4==null||p4.forEach(function(r){o[r]!==void 0&&(t[r]=o[r])}),c.setGraph(Object.assign({},wie,Pw(o,Sie),t)),i.nodes().forEach(function(r){var d=g4(i.node(r)),v=Object.assign(Object.assign({},v4),d),g=Pw(v,Tie);c.setNode(r,g),c.setParent(r,i.parent(r))}),i.edges().forEach(function(r){var d=g4(i.edge(r)),v={};cP==null||cP.forEach(function(g){d[g]!==void 0&&(v[g]=d[g])}),c.setEdgeObj(r,Object.assign({},hg,Pw(d,Aie),v))}),c},om=function(i){var c=i.graph();c.ranksep||(c.ranksep=0),c.ranksep/=2,i.nodes().forEach(function(o){var t=i.node(o);isNaN(t.layer)||t.layer||(t.layer=0)}),i.edges().forEach(function(o){var t,r=i.edge(o);r.minlen*=2,((t=r.labelpos)===null||t===void 0?void 0:t.toLowerCase())!=="c"&&(c.rankdir==="TB"||c.rankdir==="BT"?r.width+=r.labeloffset:r.height+=r.labeloffset)})},jie=function(i){i.edges().forEach(function(c){var o=i.edge(c);if(o.width&&o.height){var t=i.node(c.v),r=i.node(c.w),d={e:c,rank:(r.rank-t.rank)/2+t.rank};wO(i,"edge-proxy",d,"_ep")}})},Mie=function(i){var c=0;i.nodes().forEach(function(o){var t,r,d=i.node(o);d.borderTop&&(d.minRank=(t=i.node(d.borderTop))===null||t===void 0?void 0:t.rank,d.maxRank=(r=i.node(d.borderBottom))===null||r===void 0?void 0:r.rank,c=Math.max(c,d.maxRank||-Infinity))}),i.graph().maxRank=c},Pie=function(i){i.nodes().forEach(function(c){var o=i.node(c);o.dummy==="edge-proxy"&&(i.edge(o.e).labelRank=o.rank,i.removeNode(c))})},Mw=function(i){var c,o=0,t,r=0,d=i.graph(),v=d.marginx||0,g=d.marginy||0,b=function(I){if(!!I){var V=I.x,K=I.y,ae=I.width,ue=I.height;!isNaN(V)&&!isNaN(ae)&&(c===void 0&&(c=V-ae/2),c=Math.min(c,V-ae/2),o=Math.max(o,V+ae/2)),!isNaN(K)&&!isNaN(ue)&&(t===void 0&&(t=K-ue/2),t=Math.min(t,K-ue/2),r=Math.max(r,K+ue/2))}};i.nodes().forEach(function(P){b(i.node(P))}),i.edges().forEach(function(P){var I=i.edge(P);(I==null?void 0:I.hasOwnProperty("x"))&&b(I)}),c-=v,t-=g,i.nodes().forEach(function(P){var I=i.node(P);I&&(I.x-=c,I.y-=t)}),i.edges().forEach(function(P){var I,V=i.edge(P);(I=V.points)===null||I===void 0||I.forEach(function(K){K.x-=c,K.y-=t}),V.hasOwnProperty("x")&&(V.x-=c),V.hasOwnProperty("y")&&(V.y-=t)}),d.width=o-c+v,d.height=r-t+g},Rie=function(i){i.edges().forEach(function(c){var o=i.edge(c),t=i.node(c.v),r=i.node(c.w),d,v;o.points?(d=o.points[0],v=o.points[o.points.length-1]):(o.points=[],d=r,v=t),o.points.unshift(mH(t,d)),o.points.push(mH(r,v))})},nG=function(i){i.edges().forEach(function(c){var o=i.edge(c);if(o==null?void 0:o.hasOwnProperty("x"))switch((o.labelpos==="l"||o.labelpos==="r")&&(o.width-=o.labeloffset),o.labelpos){case"l":o.x-=o.width/2+o.labeloffset;break;case"r":o.x+=o.width/2+o.labeloffset;break}})},Die=function(i){i.edges().forEach(function(c){var o,t=i.edge(c);t.reversed&&((o=t.points)===null||o===void 0||o.reverse())})},Iie=function(i){i.nodes().forEach(function(c){var o,t,r;if((o=i.children(c))===null||o===void 0?void 0:o.length){var d=i.node(c),v=i.node(d.borderTop),g=i.node(d.borderBottom),b=i.node(d.borderLeft[((t=d.borderLeft)===null||t===void 0?void 0:t.length)-1]),P=i.node(d.borderRight[((r=d.borderRight)===null||r===void 0?void 0:r.length)-1]);d.width=Math.abs((P==null?void 0:P.x)-(b==null?void 0:b.x))||10,d.height=Math.abs((g==null?void 0:g.y)-(v==null?void 0:v.y))||10,d.x=((b==null?void 0:b.x)||0)+d.width/2,d.y=((v==null?void 0:v.y)||0)+d.height/2}}),i.nodes().forEach(function(c){var o;((o=i.node(c))===null||o===void 0?void 0:o.dummy)==="border"&&i.removeNode(c)})},Nie=function(i){i.edges().forEach(function(c){if(c.v===c.w){var o=i.node(c.v);o.selfEdges||(o.selfEdges=[]),o.selfEdges.push({e:c,label:i.edge(c)}),i.removeEdgeObj(c)}})},h4=function(i){var c=fy(i);c==null||c.forEach(function(o){var t=0;o==null||o.forEach(function(r,d){var v,g=i.node(r);g.order=d+t,(v=g.selfEdges)===null||v===void 0||v.forEach(function(b){wO(i,"selfedge",{width:b.label.width,height:b.label.height,rank:g.rank,order:d+ ++t,e:b.e,label:b.label},"_se")}),delete g.selfEdges})})},Lie=function(i){i.nodes().forEach(function(c){var o=i.node(c);if(o.dummy==="selfedge"){var t=i.node(o.e.v),r=t.x+t.width/2,d=t.y,v=o.x-r,g=t.height/2;i.setEdgeObj(o.e,o.label),i.removeNode(c),o.label.points=[{x:r+2*v/3,y:d-g},{x:r+5*v/6,y:d-g},{y:d,x:r+v},{x:r+5*v/6,y:d+g},{x:r+2*v/3,y:d+g}],o.label.x=o.x,o.label.y=o.y}})},Pw=function(i,c){var o={};return c==null||c.forEach(function(t){i[t]!==void 0&&(o[t]=+i[t])}),o},g4=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c={};return Object.keys(i).forEach(function(o){c[o.toLowerCase()]=i[o]}),c},Fie=Cie,Uie={layout:Fie,util:{time:yH,notime:Sw}},Bie=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.rankdir="TB",t.nodesep=50,t.ranksep=50,t.controlPoints=!1,t.sortByCombo=!1,t.edgeLabelSpace=!0,t.radial=!1,t.nodes=[],t.edges=[],t.onLayoutEnd=function(){},t.layoutNode=function(r){var d=Object(Fp.a)(t),v=d.nodes,g=v.find(function(P){return P.id===r});if(g){var b=g.layout!==!1;return b}return!0},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{rankdir:"TB",align:void 0,nodeSize:void 0,nodesepFunc:void 0,ranksepFunc:void 0,nodesep:50,ranksep:50,controlPoints:!1,radial:!1,focusNode:null}}},{key:"execute",value:function(){var t=this,r,d,v,g,b=this,P=b.nodes,I=b.nodeSize,V=b.rankdir,K=b.combos,ae=b.begin,ue=b.radial,ve=b.comboEdges,Oe=ve===void 0?[]:ve,ke=b.vedges,Ie=ke===void 0?[]:ke;if(!!P){var Ye=b.edges||[],Ze=new dy({multigraph:!0,compound:!0});b.nodeMap={};var et={};P.forEach(function(Qo){b.nodeMap[Qo.id]=Qo,!!Qo.comboId&&(et[Qo.comboId]=et[Qo.comboId]||[],et[Qo.comboId].push(Qo.id))});var yt=[],jt={};((r=b.nodeOrder)===null||r===void 0?void 0:r.length)?(b.nodeOrder.forEach(function(Qo){jt[Qo]=!0,yt.push(b.nodeMap[Qo])}),P.forEach(function(Qo){jt[Qo.id]||yt.push(Qo)})):yt=P;var Ft;I?ap(I)?Ft=function(){return I}:Ft=function(){return[I,I]}:Ft=function(hc){return hc.size?ap(hc.size)?hc.size:dg(hc.size)?[hc.size.width||40,hc.size.height||40]:[hc.size,hc.size]:[40,40]};var Ht=Sz(b.ranksep,50,b.ranksepFunc),Gt=Sz(b.nodesep,50,b.nodesepFunc),Jt=Gt,mn=Ht;(V==="LR"||V==="RL")&&(Jt=Ht,mn=Gt),Ze.setDefaultEdgeLabel(function(){return{}}),Ze.setGraph(b);var vn={};this.sortByCombo&&K&&K.forEach(function(Qo){if(vn[Qo.id]=Qo,Qo.collapsed){var hc=Ft(Qo),Yl=mn(Qo),Qc=Jt(Qo),ed=hc[0]+2*Qc,zu=hc[1]+2*Yl;Ze.setNode(Qo.id,{width:ed,height:zu})}!Qo.parentId||(vn[Qo.parentId]||Ze.setNode(Qo.parentId,{}),Ze.setParent(Qo.id,Qo.parentId))}),yt.filter(function(Qo){return Qo.layout!==!1}).forEach(function(Qo){var hc=Ft(Qo),Yl=mn(Qo),Qc=Jt(Qo),ed=hc[0]+2*Qc,zu=hc[1]+2*Yl,Xc=Qo.layer;sl(Xc)?Ze.setNode(Qo.id,{width:ed,height:zu,layer:Xc}):Ze.setNode(Qo.id,{width:ed,height:zu}),t.sortByCombo&&Qo.comboId&&(vn[Qo.comboId]||(vn[Qo.comboId]={id:Qo.comboId},Ze.setNode(Qo.comboId,{})),Ze.setParent(Qo.id,Qo.comboId))}),Ye.forEach(function(Qo){var hc=gf(Qo,"source"),Yl=gf(Qo,"target");t.layoutNode(hc)&&t.layoutNode(Yl)&&Ze.setEdge(hc,Yl,{weight:Qo.weight||1})}),(d=Oe==null?void 0:Oe.concat(Ie||[]))===null||d===void 0||d.forEach(function(Qo){var hc,Yl,Qc=Qo.source,ed=Qo.target,zu=((hc=vn[Qc])===null||hc===void 0?void 0:hc.collapsed)?[Qc]:et[Qc]||[Qc],Xc=((Yl=vn[ed])===null||Yl===void 0?void 0:Yl.collapsed)?[ed]:et[ed]||[ed];zu.forEach(function(jp){Xc.forEach(function(cv){Ze.setEdge(jp,cv,{weight:Qo.weight||1})})})});var Yt=void 0;((v=b.preset)===null||v===void 0?void 0:v.nodes)&&(Yt=new dy({multigraph:!0,compound:!0}),b.preset.nodes.forEach(function(Qo){Yt==null||Yt.setNode(Qo.id,Qo)})),Uie.layout(Ze,{prevGraph:Yt,edgeLabelSpace:b.edgeLabelSpace,keepNodeOrder:Boolean(!!b.nodeOrder),nodeOrder:b.nodeOrder});var En=[0,0];if(ae){var or=Infinity,$r=Infinity;Ze.nodes().forEach(function(Qo){var hc=Ze.node(Qo);or>hc.x&&(or=hc.x),$r>hc.y&&($r=hc.y)}),Ze.edges().forEach(function(Qo){var hc,Yl=Ze.edge(Qo);(hc=Yl.points)===null||hc===void 0||hc.forEach(function(Qc){or>Qc.x&&(or=Qc.x),$r>Qc.y&&($r=Qc.y)})}),En[0]=ae[0]-or,En[1]=ae[1]-$r}var vr=V==="LR"||V==="RL";if(ue){var Er=this.focusNode,Hr=this.ranksep,Aa=this.getRadialPos,Fr=Tb(Er)?Er:Er==null?void 0:Er.id,ca=Fr?(g=Ze.node(Fr))===null||g===void 0?void 0:g._rank:0,fa=[],ai=vr?"y":"x",Wi=vr?"height":"width",Co=Infinity,zi=-Infinity;Ze.nodes().forEach(function(Qo){var hc=Ze.node(Qo);if(!!b.nodeMap[Qo]){var Yl=Gt(b.nodeMap[Qo]);if(ca===0)fa[hc._rank]||(fa[hc._rank]={nodes:[],totalWidth:0,maxSize:-Infinity}),fa[hc._rank].nodes.push(Qo),fa[hc._rank].totalWidth+=Yl*2+hc[Wi],fa[hc._rank].maxSize<Math.max(hc.width,hc.height)&&(fa[hc._rank].maxSize=Math.max(hc.width,hc.height));else{var Qc=hc._rank-ca;if(Qc===0)fa[Qc]||(fa[Qc]={nodes:[],totalWidth:0,maxSize:-Infinity}),fa[Qc].nodes.push(Qo),fa[Qc].totalWidth+=Yl*2+hc[Wi],fa[Qc].maxSize<Math.max(hc.width,hc.height)&&(fa[Qc].maxSize=Math.max(hc.width,hc.height));else{var ed=Math.abs(Qc);fa[ed]||(fa[ed]={left:[],right:[],totalWidth:0,maxSize:-Infinity}),fa[ed].totalWidth+=Yl*2+hc[Wi],fa[ed].maxSize<Math.max(hc.width,hc.height)&&(fa[ed].maxSize=Math.max(hc.width,hc.height)),Qc<0?fa[ed].left.push(Qo):fa[ed].right.push(Qo)}}var zu=hc[ai]-hc[Wi]/2-Yl,Xc=hc[ai]+hc[Wi]/2+Yl;zu<Co&&(Co=zu),Xc>zi&&(zi=Xc)}});var us=Hr||50,Us={},po=(zi-Co)/.9,dc=[(Co+zi-po)*.5,(Co+zi+po)*.5],ns=function(hc,Yl){var Qc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Infinity,ed=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0,1],zu=Qc;return hc.forEach(function(Xc){var jp=Ze.node(Xc);Us[Xc]=Yl;var cv=Aa(jp[ai],dc,po,Yl,ed),fp=cv.x,lm=cv.y;if(!!b.nodeMap[Xc]){b.nodeMap[Xc].x=fp+En[0],b.nodeMap[Xc].y=lm+En[1],b.nodeMap[Xc]._order=jp._order;var g_=Ht(b.nodeMap[Xc]);zu<g_&&(zu=g_)}}),zu},fc=!0,Kc=0;fa.forEach(function(Qo){var hc,Yl,Qc,ed,zu,Xc,jp;if(!(!((hc=Qo==null?void 0:Qo.nodes)===null||hc===void 0?void 0:hc.length)&&!((Yl=Qo==null?void 0:Qo.left)===null||Yl===void 0?void 0:Yl.length)&&!((Qc=Qo==null?void 0:Qo.right)===null||Qc===void 0?void 0:Qc.length))){if(fc&&Qo.nodes.length===1){var cv=Qo.nodes[0];if(!b.nodeMap[cv])return;b.nodeMap[cv].x=En[0],b.nodeMap[cv].y=En[1],Us[Qo.nodes[0]]=0,us=Ht(b.nodeMap[cv]),fc=!1;return}us=Math.max(us,Qo.totalWidth/(2*Math.PI));var fp=-Infinity;if(ca===0||((ed=Qo.nodes)===null||ed===void 0?void 0:ed.length))fp=ns(Qo.nodes,us,fp,[0,1]);else{var lm=((zu=Qo.left)===null||zu===void 0?void 0:zu.length)/(((Xc=Qo.left)===null||Xc===void 0?void 0:Xc.length)+((jp=Qo.right)===null||jp===void 0?void 0:jp.length));fp=ns(Qo.left,us,fp,[0,lm]),fp=ns(Qo.right,us,fp,[lm+.05,1])}us+=fp,fc=!1,Kc-Qo.maxSize}}),Ze.edges().forEach(function(Qo){var hc,Yl,Qc,ed=Ze.edge(Qo),zu=Ye.findIndex(function(Ig){var Bf=gf(Ig,"source"),m_=gf(Ig,"target");return Bf===Qo.v&&m_===Qo.w});if(!(zu<=-1)&&b.edgeLabelSpace&&b.controlPoints&&Ye[zu].type!=="loop"){var Xc=ai==="x"?"y":"x",jp=(hc=ed==null?void 0:ed.points)===null||hc===void 0?void 0:hc.slice(1,ed.points.length-1),cv=[],fp=(Yl=Ze.node(Qo.v))===null||Yl===void 0?void 0:Yl[Xc],lm=fp-((Qc=Ze.node(Qo.w))===null||Qc===void 0?void 0:Qc[Xc]),g_=Us[Qo.v],Lf=g_-Us[Qo.w];jp==null||jp.forEach(function(Ig){var Bf=(Ig[Xc]-fp)/lm*Lf+g_,m_=Aa(Ig[ai],dc,po,Bf);cv.push({x:m_.x+En[0],y:m_.y+En[1]})}),Ye[zu].controlPoints=cv}})}else{var gl=new Set,du=V==="BT"||V==="RL",yu=du?function(Qo,hc){return hc-Qo}:function(Qo,hc){return Qo-hc};Ze.nodes().forEach(function(Qo){var hc=Ze.node(Qo);if(!!hc){var Yl=t.nodeMap[Qo];Yl||(Yl=K==null?void 0:K.find(function(Qc){return Qc.id===Qo})),!!Yl&&(Yl.x=hc.x+En[0],Yl.y=hc.y+En[1],Yl._order=hc._order,gl.add(vr?Yl.x:Yl.y))}});var Su=Array.from(gl).sort(yu),Ql=vr?function(Qo,hc){return Qo.x!==hc.x}:function(Qo,hc){return Qo.y!==hc.y},Bl=vr?function(Qo,hc,Yl){var Qc=Math.max(hc.y,Yl.y),ed=Math.min(hc.y,Yl.y);return Qo.filter(function(zu){return zu.y<=Qc&&zu.y>=ed})}:function(Qo,hc,Yl){var Qc=Math.max(hc.x,Yl.x),ed=Math.min(hc.x,Yl.x);return Qo.filter(function(zu){return zu.x<=Qc&&zu.x>=ed})};Ze.edges().forEach(function(Qo){var hc,Yl=Ze.edge(Qo),Qc=Ye.findIndex(function(Xc){var jp=gf(Xc,"source"),cv=gf(Xc,"target");return jp===Qo.v&&cv===Qo.w});if(!(Qc<=-1)&&b.edgeLabelSpace&&b.controlPoints&&Ye[Qc].type!=="loop"){(hc=Yl==null?void 0:Yl.points)===null||hc===void 0||hc.forEach(function(Xc){Xc.x+=En[0],Xc.y+=En[1]});var ed=b.nodeMap[Qo.v],zu=b.nodeMap[Qo.w];Ye[Qc].controlPoints=fce(Yl==null?void 0:Yl.points,ed,zu,Su,vr,Ql,Bl)}})}return b.onLayoutEnd&&b.onLayoutEnd(),{nodes:P,edges:Ye}}}},{key:"getRadialPos",value:function(t,r,d,v){var g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0,1],b=(t-r[0])/d;b=b*(g[1]-g[0])+g[0];var P=b*2*Math.PI;return{x:Math.cos(P)*v,y:Math.sin(P)*v}}},{key:"getType",value:function(){return"dagre"}}]),c}(Wv),fce=function(i,c,o,t,r,d,v){var g=(i==null?void 0:i.slice(1,i.length-1))||[];if(c&&o){var b=c.x,P=c.y,I=o.x,V=o.y;if(r&&(b=c.y,P=c.x,I=o.y,V=o.x),V!==P&&b!==I){var K=t.indexOf(P),ae=t[K+1];if(ae){var ue=g[0],ve=r?{x:(P+ae)/2,y:(ue==null?void 0:ue.y)||I}:{x:(ue==null?void 0:ue.x)||I,y:(P+ae)/2};(!ue||d(ue,ve))&&g.unshift(ve)}var Oe=t.indexOf(V),ke=Math.abs(Oe-K);if(ke===1)g=v(g,c,o),g.length||g.push(r?{x:(P+V)/2,y:b}:{x:b,y:(P+V)/2});else if(ke>1){var Ie=t[Oe-1];if(Ie){var Ye=g[g.length-1],Ze=r?{x:(V+Ie)/2,y:(Ye==null?void 0:Ye.y)||I}:{x:(Ye==null?void 0:Ye.x)||b,y:(V+Ie)/2};(!Ye||d(Ye,Ze))&&g.push(Ze)}}}}return g},c_=l("HYlc"),pce=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.rankdir="TB",t.nodesep=50,t.edgesep=5,t.ranksep=50,t.controlPoints=!0,t.anchorPoint=!0,t.nodes=[],t.edges=[],t.combos=[],t.onLayoutEnd=function(){},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{rankdir:"TB",align:void 0,begin:void 0,nodeSize:void 0,nodesep:50,ranksep:50,controlPoints:!0,anchorPoint:!0}}},{key:"init",value:function(t){var r=t.hiddenNodes||[],d=t.hiddenEdges||[],v=t.hiddenCombos||[];this.nodes=this.getDataByOrder((t.nodes||[]).concat(r)),this.edges=this.getDataByOrder((t.edges||[]).concat(d)),this.combos=(t.combos||[]).concat(v.map(function(g){return Object.assign(Object.assign({},g),{collapsed:!0})}))}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.edges;if(!!r){var v=t.getLayoutConfig(),g=v.graphDef,b=v.graphOption,P=v.graphSettings,I=Object(c_.e)(g,b,P),V=Object(c_.f)(I,!0);return this.updatePosition(V),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:r,edges:d}}}},{key:"getNodePath",value:function(t){var r=this,d=r.nodes,v=r.combos,g=d.find(function(P){return P.id===t}),b=function P(I){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],K=v.find(function(ae){return ae.id===I});return K?(V.unshift(I),K.parentId?P(K.parentId,V):V):V};return g&&g.comboId?b(g.comboId,[t]):[t]}},{key:"getLayoutConfig",value:function(){var t,r,d,v=this,g=v.nodes,b=v.edges,P=v.combos,I=v.nodeSize,V=v.rankdir,K=v.align,ae=v.edgesep,ue=v.nodesep,ve=v.ranksep,Oe=v.settings,ke=(P||[]).reduce(function(Er,Hr){var Aa=g.filter(function(ca){return ca.comboId===Hr.id}).map(function(ca){return ca.id}),Fr=(P||[]).filter(function(ca){return ca.parentId===Hr.id}).map(function(ca){return ca.id});return(Aa.length||Fr.length)&&(Er[Hr.id]=[].concat(Object(Bs.a)(Aa),Object(Bs.a)(Fr))),Er},{}),Ie;I?ap(I)?Ie=function(){return I}:Ie=function(){return[I,I]}:Ie=function(Hr){return Hr&&Hr.size?ap(Hr.size)?Hr.size:dg(Hr.size)?[Hr.size.width||40,Hr.size.height||40]:[Hr.size,Hr.size]:[40,40]};var Ye=function(Hr){return Hr&&Hr.size?ap(Hr.size)?Hr.size:[Hr.size,Hr.size]:[80,40]},Ze=Ye(P==null?void 0:P[0]),et=Object(we.a)(Ze,2),yt=et[0],jt=et[1],Ft=(r=(t=v.graphSettings)===null||t===void 0?void 0:t.subScene)===null||r===void 0?void 0:r.meta,Ht=((d=P.find(function(Er){return!Er.collapsed}))===null||d===void 0?void 0:d.padding)||[20,20,20,20],Gt=Object(we.a)(Ht,4),Jt=Gt[0],mn=Gt[1],vn=Gt[2],Yt=Gt[3],En={compound:ke,nodes:Object(Bs.a)((g||[]).map(function(Er){var Hr=Ie(Er),Aa=Hr[0],Fr=Hr[1];return Object.assign(Object.assign({},Er),{width:Aa,height:Fr})})),edges:Object(Bs.a)((b||[]).map(function(Er){return Object.assign(Object.assign({},Er),{v:Er.source,w:Er.target})}))},or={expanded:(P||[]).filter(function(Er){return!Er.collapsed}).map(function(Er){return Er.id})},$r={graph:{meta:{align:K,rankDir:V,nodeSep:ue,edgeSep:ae,rankSep:ve}},subScene:{meta:{paddingTop:Jt||(Ft==null?void 0:Ft.paddingTop)||20,paddingRight:mn||(Ft==null?void 0:Ft.paddingRight)||20,paddingBottom:vn||(Ft==null?void 0:Ft.paddingBottom)||20,paddingLeft:Yt||(Ft==null?void 0:Ft.paddingLeft)||20,labelHeight:0}},nodeSize:{meta:{width:yt,height:jt}}},vr=Object(c_.h)(Oe,Object.assign({},Object(c_.h)($r,c_.b)));return v.graphSettings=vr,{graphDef:En,graphOption:or,graphSettings:vr}}},{key:"updatePosition",value:function(t){var r=t.nodes,d=t.edges;this.updateNodePosition(r,d),this.updateEdgePosition(r,d)}},{key:"getBegin",value:function(t,r){var d=this,v=d.begin,g=[0,0];if(v){var b=Infinity,P=Infinity;t.forEach(function(I){b>I.x&&(b=I.x),P>I.y&&(P=I.y)}),r.forEach(function(I){I.points.forEach(function(V){b>V.x&&(b=V.x),P>V.y&&(P=V.y)})}),g[0]=v[0]-b,g[1]=v[1]-P}return g}},{key:"updateNodePosition",value:function(t,r){var d=this,v=d.combos,g=d.nodes,b=d.edges,P=d.anchorPoint,I=d.graphSettings,V=this.getBegin(t,r);t.forEach(function(K){var ae,ue=K.x,ve=K.y,Oe=K.id,ke=K.type,Ie=K.coreBox;if(ke===c_.a.META&&Oe!==c_.d){var Ye=v.findIndex(function(Ht){return Ht.id===Oe}),Ze=(ae=I==null?void 0:I.subScene)===null||ae===void 0?void 0:ae.meta;v[Ye].offsetX=ue+V[0],v[Ye].offsetY=ve+V[1],v[Ye].fixSize=[Ie.width,Ie.height],v[Ye].fixCollapseSize=[Ie.width,Ie.height],K.expanded?v[Ye].padding=[Ze==null?void 0:Ze.paddingTop,Ze==null?void 0:Ze.paddingRight,Ze==null?void 0:Ze.paddingBottom,Ze==null?void 0:Ze.paddingLeft]:v[Ye].padding=[0,0,0,0]}else if(ke===c_.a.OP){var et=g.findIndex(function(Ht){return Ht.id===Oe});if(g[et].x=ue+V[0],g[et].y=ve+V[1],P){var yt=[],jt=r.filter(function(Ht){return Ht.v===Oe}),Ft=r.filter(function(Ht){return Ht.w===Oe});jt.length>0&&jt.forEach(function(Ht){var Gt=Ht.points[0],Jt=(Gt.x-ue)/K.width+.5,mn=(Gt.y-ve)/K.height+.5;yt.push([Jt,mn]),Ht.baseEdgeList.forEach(function(vn){var Yt=b.find(function(En){return En.source===vn.v&&En.target===vn.w});Yt&&(Yt.sourceAnchor=yt.length-1)})}),Ft.length>0&&Ft.forEach(function(Ht){var Gt=Ht.points[Ht.points.length-1],Jt=(Gt.x-ue)/K.width+.5,mn=(Gt.y-ve)/K.height+.5;yt.push([Jt,mn]),Ht.baseEdgeList.forEach(function(vn){var Yt=b.find(function(En){return En.source===vn.v&&En.target===vn.w});Yt&&(Yt.targetAnchor=yt.length-1)})}),g[et].anchorPoints=yt.length>0?yt:g[et].anchorPoints||[]}}})}},{key:"updateEdgePosition",value:function(t,r){var d=this,v=d.combos,g=d.edges,b=d.controlPoints,P=this.getBegin(t,r);b&&(v.forEach(function(I){I.inEdges=[],I.outEdges=[]}),g.forEach(function(I){var V,K,ae,ue,ve=t.find(function(Ht){return Ht.id===I.source}),Oe=t.find(function(Ht){return Ht.id===I.target}),ke=[],Ie=[];if(ve&&Oe)Ie=Object(c_.g)(ve==null?void 0:ve.id,Oe==null?void 0:Oe.id,t);else if(!ve||!Oe){var Ye=d.getNodePath(I.source),Ze=d.getNodePath(I.target),et=Ye.reverse().slice(ve?0:1).find(function(Ht){return t.find(function(Gt){return Gt.id===Ht})}),yt=Ze.reverse().slice(Oe?0:1).find(function(Ht){return t.find(function(Gt){return Gt.id===Ht})});ve=t.find(function(Ht){return Ht.id===et}),Oe=t.find(function(Ht){return Ht.id===yt}),Ie=Object(c_.g)(ve==null?void 0:ve.id,Oe==null?void 0:Oe.id,t,{v:I.source,w:I.target})}if(ke=Ie.reduce(function(Ht,Gt){return[].concat(Object(Bs.a)(Ht),Object(Bs.a)(Gt.points.map(function(Jt){return Object.assign(Object.assign({},Jt),{x:Jt.x+P[0],y:Jt.y+P[1]})})))},[]),ke=ke.slice(1,-1),I.controlPoints=ke,(Oe==null?void 0:Oe.type)===c_.c.META){var jt=v.findIndex(function(Ht){return Ht.id===(Oe==null?void 0:Oe.id)});if(!v[jt]||((V=v[jt].inEdges)===null||V===void 0?void 0:V.some(function(Ht){return Ht.source===ve.id&&Ht.target===Oe.id})))return;(K=v[jt].inEdges)===null||K===void 0||K.push({source:ve.id,target:Oe.id,controlPoints:ke})}if((ve==null?void 0:ve.type)===c_.c.META){var Ft=v.findIndex(function(Ht){return Ht.id===(ve==null?void 0:ve.id)});if(!v[Ft]||((ae=v[Ft].outEdges)===null||ae===void 0?void 0:ae.some(function(Ht){return Ht.source===ve.id&&Ht.target===Oe.id})))return;(ue=v[Ft].outEdges)===null||ue===void 0||ue.push({source:ve.id,target:Oe.id,controlPoints:ke})}}))}},{key:"getType",value:function(){return"dagreCompound"}},{key:"getDataByOrder",value:function(t){return t.every(function(r){return r.layoutOrder!==void 0})||t.forEach(function(r,d){r.layoutOrder=d}),t.sort(function(r,d){return r.layoutOrder-d.layoutOrder})}}]),c}(Wv),Vie=Object.prototype.toString;function sm(u){var i=Vie.call(u);return i.endsWith("Array]")&&!i.includes("Big")}function zie(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!sm(u))throw new TypeError("input must be an array");if(u.length===0)throw new TypeError("input must not be empty");var c=i.fromIndex,o=c===void 0?0:c,t=i.toIndex,r=t===void 0?u.length:t;if(o<0||o>=u.length||!Number.isInteger(o))throw new Error("fromIndex must be a positive integer smaller than length");if(r<=o||r>u.length||!Number.isInteger(r))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var d=u[o],v=o+1;v<r;v++)u[v]>d&&(d=u[v]);return d}function m4(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!sm(u))throw new TypeError("input must be an array");if(u.length===0)throw new TypeError("input must not be empty");var c=i.fromIndex,o=c===void 0?0:c,t=i.toIndex,r=t===void 0?u.length:t;if(o<0||o>=u.length||!Number.isInteger(o))throw new Error("fromIndex must be a positive integer smaller than length");if(r<=o||r>u.length||!Number.isInteger(r))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var d=u[o],v=o+1;v<r;v++)u[v]<d&&(d=u[v]);return d}function rG(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(sm(u)){if(u.length===0)throw new TypeError("input must not be empty")}else throw new TypeError("input must be an array");var c;if(i.output!==void 0){if(!sm(i.output))throw new TypeError("output option must be an array if specified");c=i.output}else c=new Array(u.length);var o=m4(u),t=zie(u);if(o===t)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var r=i.min,d=r===void 0?i.autoMinMax?o:0:r,v=i.max,g=v===void 0?i.autoMinMax?t:1:v;if(d>=g)throw new RangeError("min option must be smaller than max option");for(var b=(g-d)/(t-o),P=0;P<u.length;P++)c[P]=(u[P]-o)*b+d;return c}var AE=" ".repeat(2),lP=" ".repeat(4);function Hie(){return aG(this)}function aG(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=i.maxRows,o=c===void 0?15:c,t=i.maxColumns,r=t===void 0?10:t,d=i.maxNumSize,v=d===void 0?8:d,g=i.padMinus,b=g===void 0?"auto":g;return"".concat(u.constructor.name,` {
`).concat(AE,`[
`).concat(lP).concat(iG(u,o,r,v,b),`
`).concat(AE,`]
`).concat(AE,"rows: ").concat(u.rows,`
`).concat(AE,"columns: ").concat(u.columns,`
}`)}function iG(u,i,c,o,t){var r=u.rows,d=u.columns,v=Math.min(r,i),g=Math.min(d,c),b=[];if(t==="auto"){t=!1;e:for(var P=0;P<v;P++)for(var I=0;I<g;I++)if(u.get(P,I)<0){t=!0;break e}}for(var V=0;V<v;V++){for(var K=[],ae=0;ae<g;ae++)K.push(Rw(u.get(V,ae),o,t));b.push("".concat(K.join(" ")))}return g!==d&&(b[b.length-1]+=" ... ".concat(d-c," more columns")),v!==r&&b.push("... ".concat(r-i," more rows")),b.join(`
`.concat(lP))}function Rw(u,i,c){return(u>=0&&c?" ".concat(oG(u,i-1)):oG(u,i)).padEnd(i)}function oG(u,i){var c=u.toString();if(c.length<=i)return c;var o=u.toFixed(i);if(o.length>i&&(o=u.toFixed(Math.max(0,i-(o.length-i)))),o.length<=i&&!o.startsWith("0.000")&&!o.startsWith("-0.000"))return o;var t=u.toExponential(i);return t.length>i&&(t=u.toExponential(Math.max(0,i-(t.length-i)))),t.slice(0)}function Gie(u,i){u.prototype.add=function(o){return typeof o=="number"?this.addS(o):this.addM(o)},u.prototype.addS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)+o);return this},u.prototype.addM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)+o.get(t,r));return this},u.add=function(o,t){var r=new i(o);return r.add(t)},u.prototype.sub=function(o){return typeof o=="number"?this.subS(o):this.subM(o)},u.prototype.subS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)-o);return this},u.prototype.subM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)-o.get(t,r));return this},u.sub=function(o,t){var r=new i(o);return r.sub(t)},u.prototype.subtract=u.prototype.sub,u.prototype.subtractS=u.prototype.subS,u.prototype.subtractM=u.prototype.subM,u.subtract=u.sub,u.prototype.mul=function(o){return typeof o=="number"?this.mulS(o):this.mulM(o)},u.prototype.mulS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)*o);return this},u.prototype.mulM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)*o.get(t,r));return this},u.mul=function(o,t){var r=new i(o);return r.mul(t)},u.prototype.multiply=u.prototype.mul,u.prototype.multiplyS=u.prototype.mulS,u.prototype.multiplyM=u.prototype.mulM,u.multiply=u.mul,u.prototype.div=function(o){return typeof o=="number"?this.divS(o):this.divM(o)},u.prototype.divS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)/o);return this},u.prototype.divM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)/o.get(t,r));return this},u.div=function(o,t){var r=new i(o);return r.div(t)},u.prototype.divide=u.prototype.div,u.prototype.divideS=u.prototype.divS,u.prototype.divideM=u.prototype.divM,u.divide=u.div,u.prototype.mod=function(o){return typeof o=="number"?this.modS(o):this.modM(o)},u.prototype.modS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)%o);return this},u.prototype.modM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)%o.get(t,r));return this},u.mod=function(o,t){var r=new i(o);return r.mod(t)},u.prototype.modulus=u.prototype.mod,u.prototype.modulusS=u.prototype.modS,u.prototype.modulusM=u.prototype.modM,u.modulus=u.mod,u.prototype.and=function(o){return typeof o=="number"?this.andS(o):this.andM(o)},u.prototype.andS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)&o);return this},u.prototype.andM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)&o.get(t,r));return this},u.and=function(o,t){var r=new i(o);return r.and(t)},u.prototype.or=function(o){return typeof o=="number"?this.orS(o):this.orM(o)},u.prototype.orS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)|o);return this},u.prototype.orM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)|o.get(t,r));return this},u.or=function(o,t){var r=new i(o);return r.or(t)},u.prototype.xor=function(o){return typeof o=="number"?this.xorS(o):this.xorM(o)},u.prototype.xorS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)^o);return this},u.prototype.xorM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)^o.get(t,r));return this},u.xor=function(o,t){var r=new i(o);return r.xor(t)},u.prototype.leftShift=function(o){return typeof o=="number"?this.leftShiftS(o):this.leftShiftM(o)},u.prototype.leftShiftS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)<<o);return this},u.prototype.leftShiftM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)<<o.get(t,r));return this},u.leftShift=function(o,t){var r=new i(o);return r.leftShift(t)},u.prototype.signPropagatingRightShift=function(o){return typeof o=="number"?this.signPropagatingRightShiftS(o):this.signPropagatingRightShiftM(o)},u.prototype.signPropagatingRightShiftS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)>>o);return this},u.prototype.signPropagatingRightShiftM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)>>o.get(t,r));return this},u.signPropagatingRightShift=function(o,t){var r=new i(o);return r.signPropagatingRightShift(t)},u.prototype.rightShift=function(o){return typeof o=="number"?this.rightShiftS(o):this.rightShiftM(o)},u.prototype.rightShiftS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)>>>o);return this},u.prototype.rightShiftM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,this.get(t,r)>>>o.get(t,r));return this},u.rightShift=function(o,t){var r=new i(o);return r.rightShift(t)},u.prototype.zeroFillRightShift=u.prototype.rightShift,u.prototype.zeroFillRightShiftS=u.prototype.rightShiftS,u.prototype.zeroFillRightShiftM=u.prototype.rightShiftM,u.zeroFillRightShift=u.rightShift,u.prototype.not=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,~this.get(o,t));return this},u.not=function(o){var t=new i(o);return t.not()},u.prototype.abs=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.abs(this.get(o,t)));return this},u.abs=function(o){var t=new i(o);return t.abs()},u.prototype.acos=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.acos(this.get(o,t)));return this},u.acos=function(o){var t=new i(o);return t.acos()},u.prototype.acosh=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.acosh(this.get(o,t)));return this},u.acosh=function(o){var t=new i(o);return t.acosh()},u.prototype.asin=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.asin(this.get(o,t)));return this},u.asin=function(o){var t=new i(o);return t.asin()},u.prototype.asinh=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.asinh(this.get(o,t)));return this},u.asinh=function(o){var t=new i(o);return t.asinh()},u.prototype.atan=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.atan(this.get(o,t)));return this},u.atan=function(o){var t=new i(o);return t.atan()},u.prototype.atanh=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.atanh(this.get(o,t)));return this},u.atanh=function(o){var t=new i(o);return t.atanh()},u.prototype.cbrt=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.cbrt(this.get(o,t)));return this},u.cbrt=function(o){var t=new i(o);return t.cbrt()},u.prototype.ceil=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.ceil(this.get(o,t)));return this},u.ceil=function(o){var t=new i(o);return t.ceil()},u.prototype.clz32=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.clz32(this.get(o,t)));return this},u.clz32=function(o){var t=new i(o);return t.clz32()},u.prototype.cos=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.cos(this.get(o,t)));return this},u.cos=function(o){var t=new i(o);return t.cos()},u.prototype.cosh=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.cosh(this.get(o,t)));return this},u.cosh=function(o){var t=new i(o);return t.cosh()},u.prototype.exp=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.exp(this.get(o,t)));return this},u.exp=function(o){var t=new i(o);return t.exp()},u.prototype.expm1=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.expm1(this.get(o,t)));return this},u.expm1=function(o){var t=new i(o);return t.expm1()},u.prototype.floor=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.floor(this.get(o,t)));return this},u.floor=function(o){var t=new i(o);return t.floor()},u.prototype.fround=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.fround(this.get(o,t)));return this},u.fround=function(o){var t=new i(o);return t.fround()},u.prototype.log=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.log(this.get(o,t)));return this},u.log=function(o){var t=new i(o);return t.log()},u.prototype.log1p=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.log1p(this.get(o,t)));return this},u.log1p=function(o){var t=new i(o);return t.log1p()},u.prototype.log10=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.log10(this.get(o,t)));return this},u.log10=function(o){var t=new i(o);return t.log10()},u.prototype.log2=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.log2(this.get(o,t)));return this},u.log2=function(o){var t=new i(o);return t.log2()},u.prototype.round=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.round(this.get(o,t)));return this},u.round=function(o){var t=new i(o);return t.round()},u.prototype.sign=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.sign(this.get(o,t)));return this},u.sign=function(o){var t=new i(o);return t.sign()},u.prototype.sin=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.sin(this.get(o,t)));return this},u.sin=function(o){var t=new i(o);return t.sin()},u.prototype.sinh=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.sinh(this.get(o,t)));return this},u.sinh=function(o){var t=new i(o);return t.sinh()},u.prototype.sqrt=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.sqrt(this.get(o,t)));return this},u.sqrt=function(o){var t=new i(o);return t.sqrt()},u.prototype.tan=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.tan(this.get(o,t)));return this},u.tan=function(o){var t=new i(o);return t.tan()},u.prototype.tanh=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.tanh(this.get(o,t)));return this},u.tanh=function(o){var t=new i(o);return t.tanh()},u.prototype.trunc=function(){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,Math.trunc(this.get(o,t)));return this},u.trunc=function(o){var t=new i(o);return t.trunc()},u.pow=function(o,t){var r=new i(o);return r.pow(t)},u.prototype.pow=function(o){return typeof o=="number"?this.powS(o):this.powM(o)},u.prototype.powS=function(o){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,Math.pow(this.get(t,r),o));return this},u.prototype.powM=function(o){if(o=i.checkMatrix(o),this.rows!==o.rows||this.columns!==o.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.set(t,r,Math.pow(this.get(t,r),o.get(t,r)));return this}}function l_(u,i,c){var o=c?u.rows:u.rows-1;if(i<0||i>o)throw new RangeError("Row index out of range")}function u_(u,i,c){var o=c?u.columns:u.columns-1;if(i<0||i>o)throw new RangeError("Column index out of range")}function kE(u,i){if(i.to1DArray&&(i=i.to1DArray()),i.length!==u.columns)throw new RangeError("vector size must be the same as the number of columns");return i}function jE(u,i){if(i.to1DArray&&(i=i.to1DArray()),i.length!==u.rows)throw new RangeError("vector size must be the same as the number of rows");return i}function $ie(u,i){if(!sm(i))throw new TypeError("row indices must be an array");for(var c=0;c<i.length;c++)if(i[c]<0||i[c]>=u.rows)throw new RangeError("row indices are out of range")}function Wie(u,i){if(!sm(i))throw new TypeError("column indices must be an array");for(var c=0;c<i.length;c++)if(i[c]<0||i[c]>=u.columns)throw new RangeError("column indices are out of range")}function sG(u,i,c,o,t){if(arguments.length!==5)throw new RangeError("expected 4 arguments");if(dP("startRow",i),dP("endRow",c),dP("startColumn",o),dP("endColumn",t),i>c||o>t||i<0||i>=u.rows||c<0||c>=u.rows||o<0||o>=u.columns||t<0||t>=u.columns)throw new RangeError("Submatrix indices are out of range")}function uP(u){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c=[],o=0;o<u;o++)c.push(i);return c}function dP(u,i){if(typeof i!="number")throw new TypeError("".concat(u," must be a number"))}function ME(u){if(u.isEmpty())throw new Error("Empty matrix has no elements to index")}function Kie(u){for(var i=uP(u.rows),c=0;c<u.rows;++c)for(var o=0;o<u.columns;++o)i[c]+=u.get(c,o);return i}function vce(u){for(var i=uP(u.columns),c=0;c<u.rows;++c)for(var o=0;o<u.columns;++o)i[o]+=u.get(c,o);return i}function Yie(u){for(var i=0,c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)i+=u.get(c,o);return i}function Xie(u){for(var i=uP(u.rows,1),c=0;c<u.rows;++c)for(var o=0;o<u.columns;++o)i[c]*=u.get(c,o);return i}function Jie(u){for(var i=uP(u.columns,1),c=0;c<u.rows;++c)for(var o=0;o<u.columns;++o)i[o]*=u.get(c,o);return i}function cG(u){for(var i=1,c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)i*=u.get(c,o);return i}function hce(u,i,c){for(var o=u.rows,t=u.columns,r=[],d=0;d<o;d++){for(var v=0,g=0,b=0,P=0;P<t;P++)b=u.get(d,P)-c[d],v+=b,g+=b*b;i?r.push((g-v*v/t)/(t-1)):r.push((g-v*v/t)/t)}return r}function lG(u,i,c){for(var o=u.rows,t=u.columns,r=[],d=0;d<t;d++){for(var v=0,g=0,b=0,P=0;P<o;P++)b=u.get(P,d)-c[d],v+=b,g+=b*b;i?r.push((g-v*v/o)/(o-1)):r.push((g-v*v/o)/o)}return r}function gce(u,i,c){for(var o=u.rows,t=u.columns,r=o*t,d=0,v=0,g=0,b=0;b<o;b++)for(var P=0;P<t;P++)g=u.get(b,P)-c,d+=g,v+=g*g;return i?(v-d*d/r)/(r-1):(v-d*d/r)/r}function mce(u,i){for(var c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)u.set(c,o,u.get(c,o)-i[c])}function _ce(u,i){for(var c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)u.set(c,o,u.get(c,o)-i[o])}function yce(u,i){for(var c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)u.set(c,o,u.get(c,o)-i)}function Zie(u){for(var i=[],c=0;c<u.rows;c++){for(var o=0,t=0;t<u.columns;t++)o+=Math.pow(u.get(c,t),2)/(u.columns-1);i.push(Math.sqrt(o))}return i}function uG(u,i){for(var c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)u.set(c,o,u.get(c,o)/i[c])}function Qie(u){for(var i=[],c=0;c<u.columns;c++){for(var o=0,t=0;t<u.rows;t++)o+=Math.pow(u.get(t,c),2)/(u.rows-1);i.push(Math.sqrt(o))}return i}function qie(u,i){for(var c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)u.set(c,o,u.get(c,o)/i[o])}function eoe(u){for(var i=u.size-1,c=0,o=0;o<u.columns;o++)for(var t=0;t<u.rows;t++)c+=Math.pow(u.get(t,o),2)/i;return Math.sqrt(c)}function toe(u,i){for(var c=0;c<u.rows;c++)for(var o=0;o<u.columns;o++)u.set(c,o,u.get(c,o)/i)}var lh=function(){function u(){Object(xi.a)(this,u)}return Object(Pi.a)(u,[{key:"size",get:function(){return this.rows*this.columns}},{key:"apply",value:function(c){if(typeof c!="function")throw new TypeError("callback must be a function");for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)c.call(this,o,t);return this}},{key:"to1DArray",value:function(){for(var c=[],o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)c.push(this.get(o,t));return c}},{key:"to2DArray",value:function(){for(var c=[],o=0;o<this.rows;o++){c.push([]);for(var t=0;t<this.columns;t++)c[o].push(this.get(o,t))}return c}},{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 c=0;c<this.rows;c++)for(var o=0;o<=c;o++)if(this.get(c,o)!==this.get(o,c))return!1;return!0}return!1}},{key:"isEchelonForm",value:function(){for(var c=0,o=0,t=-1,r=!0,d=!1;c<this.rows&&r;){for(o=0,d=!1;o<this.columns&&d===!1;)this.get(c,o)===0?o++:this.get(c,o)===1&&o>t?(d=!0,t=o):(r=!1,d=!0);c++}return r}},{key:"isReducedEchelonForm",value:function(){for(var c=0,o=0,t=-1,r=!0,d=!1;c<this.rows&&r;){for(o=0,d=!1;o<this.columns&&d===!1;)this.get(c,o)===0?o++:this.get(c,o)===1&&o>t?(d=!0,t=o):(r=!1,d=!0);for(var v=o+1;v<this.rows;v++)this.get(c,v)!==0&&(r=!1);c++}return r}},{key:"echelonForm",value:function(){for(var c=this.clone(),o=0,t=0;o<c.rows&&t<c.columns;){for(var r=o,d=o;d<c.rows;d++)c.get(d,t)>c.get(r,t)&&(r=d);if(c.get(r,t)===0)t++;else{c.swapRows(o,r);for(var v=c.get(o,t),g=t;g<c.columns;g++)c.set(o,g,c.get(o,g)/v);for(var b=o+1;b<c.rows;b++){var P=c.get(b,t)/c.get(o,t);c.set(b,t,0);for(var I=t+1;I<c.columns;I++)c.set(b,I,c.get(b,I)-c.get(o,I)*P)}o++,t++}}return c}},{key:"reducedEchelonForm",value:function(){for(var c=this.echelonForm(),o=c.columns,t=c.rows,r=t-1;r>=0;)if(c.maxRow(r)===0)r--;else{for(var d=0,v=!1;d<t&&v===!1;)c.get(r,d)===1?v=!0:d++;for(var g=0;g<r;g++)for(var b=c.get(g,d),P=d;P<o;P++){var I=c.get(g,P)-b*c.get(r,P);c.set(g,P,I)}r--}return c}},{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 c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof c!="object")throw new TypeError("options must be an object");var o=c.rows,t=o===void 0?1:o,r=c.columns,d=r===void 0?1:r;if(!Number.isInteger(t)||t<=0)throw new TypeError("rows must be a positive integer");if(!Number.isInteger(d)||d<=0)throw new TypeError("columns must be a positive integer");for(var v=new uu(this.rows*t,this.columns*d),g=0;g<t;g++)for(var b=0;b<d;b++)v.setSubMatrix(this,this.rows*g,this.columns*b);return v}},{key:"fill",value:function(c){for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,c);return this}},{key:"neg",value:function(){return this.mulS(-1)}},{key:"getRow",value:function(c){l_(this,c);for(var o=[],t=0;t<this.columns;t++)o.push(this.get(c,t));return o}},{key:"getRowVector",value:function(c){return uu.rowVector(this.getRow(c))}},{key:"setRow",value:function(c,o){l_(this,c),o=kE(this,o);for(var t=0;t<this.columns;t++)this.set(c,t,o[t]);return this}},{key:"swapRows",value:function(c,o){l_(this,c),l_(this,o);for(var t=0;t<this.columns;t++){var r=this.get(c,t);this.set(c,t,this.get(o,t)),this.set(o,t,r)}return this}},{key:"getColumn",value:function(c){u_(this,c);for(var o=[],t=0;t<this.rows;t++)o.push(this.get(t,c));return o}},{key:"getColumnVector",value:function(c){return uu.columnVector(this.getColumn(c))}},{key:"setColumn",value:function(c,o){u_(this,c),o=jE(this,o);for(var t=0;t<this.rows;t++)this.set(t,c,o[t]);return this}},{key:"swapColumns",value:function(c,o){u_(this,c),u_(this,o);for(var t=0;t<this.rows;t++){var r=this.get(t,c);this.set(t,c,this.get(t,o)),this.set(t,o,r)}return this}},{key:"addRowVector",value:function(c){c=kE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)+c[t]);return this}},{key:"subRowVector",value:function(c){c=kE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)-c[t]);return this}},{key:"mulRowVector",value:function(c){c=kE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)*c[t]);return this}},{key:"divRowVector",value:function(c){c=kE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)/c[t]);return this}},{key:"addColumnVector",value:function(c){c=jE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)+c[o]);return this}},{key:"subColumnVector",value:function(c){c=jE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)-c[o]);return this}},{key:"mulColumnVector",value:function(c){c=jE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)*c[o]);return this}},{key:"divColumnVector",value:function(c){c=jE(this,c);for(var o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)this.set(o,t,this.get(o,t)/c[o]);return this}},{key:"mulRow",value:function(c,o){l_(this,c);for(var t=0;t<this.columns;t++)this.set(c,t,this.get(c,t)*o);return this}},{key:"mulColumn",value:function(c,o){u_(this,c);for(var t=0;t<this.rows;t++)this.set(t,c,this.get(t,c)*o);return this}},{key:"max",value:function(c){if(this.isEmpty())return NaN;switch(c){case"row":{for(var o=new Array(this.rows).fill(Number.NEGATIVE_INFINITY),t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.get(t,r)>o[t]&&(o[t]=this.get(t,r));return o}case"column":{for(var d=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),v=0;v<this.rows;v++)for(var g=0;g<this.columns;g++)this.get(v,g)>d[g]&&(d[g]=this.get(v,g));return d}case void 0:{for(var b=this.get(0,0),P=0;P<this.rows;P++)for(var I=0;I<this.columns;I++)this.get(P,I)>b&&(b=this.get(P,I));return b}default:throw new Error("invalid option: ".concat(c))}}},{key:"maxIndex",value:function(){ME(this);for(var c=this.get(0,0),o=[0,0],t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.get(t,r)>c&&(c=this.get(t,r),o[0]=t,o[1]=r);return o}},{key:"min",value:function(c){if(this.isEmpty())return NaN;switch(c){case"row":{for(var o=new Array(this.rows).fill(Number.POSITIVE_INFINITY),t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.get(t,r)<o[t]&&(o[t]=this.get(t,r));return o}case"column":{for(var d=new Array(this.columns).fill(Number.POSITIVE_INFINITY),v=0;v<this.rows;v++)for(var g=0;g<this.columns;g++)this.get(v,g)<d[g]&&(d[g]=this.get(v,g));return d}case void 0:{for(var b=this.get(0,0),P=0;P<this.rows;P++)for(var I=0;I<this.columns;I++)this.get(P,I)<b&&(b=this.get(P,I));return b}default:throw new Error("invalid option: ".concat(c))}}},{key:"minIndex",value:function(){ME(this);for(var c=this.get(0,0),o=[0,0],t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)this.get(t,r)<c&&(c=this.get(t,r),o[0]=t,o[1]=r);return o}},{key:"maxRow",value:function(c){if(l_(this,c),this.isEmpty())return NaN;for(var o=this.get(c,0),t=1;t<this.columns;t++)this.get(c,t)>o&&(o=this.get(c,t));return o}},{key:"maxRowIndex",value:function(c){l_(this,c),ME(this);for(var o=this.get(c,0),t=[c,0],r=1;r<this.columns;r++)this.get(c,r)>o&&(o=this.get(c,r),t[1]=r);return t}},{key:"minRow",value:function(c){if(l_(this,c),this.isEmpty())return NaN;for(var o=this.get(c,0),t=1;t<this.columns;t++)this.get(c,t)<o&&(o=this.get(c,t));return o}},{key:"minRowIndex",value:function(c){l_(this,c),ME(this);for(var o=this.get(c,0),t=[c,0],r=1;r<this.columns;r++)this.get(c,r)<o&&(o=this.get(c,r),t[1]=r);return t}},{key:"maxColumn",value:function(c){if(u_(this,c),this.isEmpty())return NaN;for(var o=this.get(0,c),t=1;t<this.rows;t++)this.get(t,c)>o&&(o=this.get(t,c));return o}},{key:"maxColumnIndex",value:function(c){u_(this,c),ME(this);for(var o=this.get(0,c),t=[0,c],r=1;r<this.rows;r++)this.get(r,c)>o&&(o=this.get(r,c),t[0]=r);return t}},{key:"minColumn",value:function(c){if(u_(this,c),this.isEmpty())return NaN;for(var o=this.get(0,c),t=1;t<this.rows;t++)this.get(t,c)<o&&(o=this.get(t,c));return o}},{key:"minColumnIndex",value:function(c){u_(this,c),ME(this);for(var o=this.get(0,c),t=[0,c],r=1;r<this.rows;r++)this.get(r,c)<o&&(o=this.get(r,c),t[0]=r);return t}},{key:"diag",value:function(){for(var c=Math.min(this.rows,this.columns),o=[],t=0;t<c;t++)o.push(this.get(t,t));return o}},{key:"norm",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"frobenius",o=0;if(c==="max")return this.max();if(c==="frobenius"){for(var t=0;t<this.rows;t++)for(var r=0;r<this.columns;r++)o=o+this.get(t,r)*this.get(t,r);return Math.sqrt(o)}else throw new RangeError("unknown norm type: ".concat(c))}},{key:"cumulativeSum",value:function(){for(var c=0,o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)c+=this.get(o,t),this.set(o,t,c);return this}},{key:"dot",value:function(c){u.isMatrix(c)&&(c=c.to1DArray());var o=this.to1DArray();if(o.length!==c.length)throw new RangeError("vectors do not have the same size");for(var t=0,r=0;r<o.length;r++)t+=o[r]*c[r];return t}},{key:"mmul",value:function(c){c=uu.checkMatrix(c);for(var o=this.rows,t=this.columns,r=c.columns,d=new uu(o,r),v=new Float64Array(t),g=0;g<r;g++){for(var b=0;b<t;b++)v[b]=c.get(b,g);for(var P=0;P<o;P++){for(var I=0,V=0;V<t;V++)I+=this.get(P,V)*v[V];d.set(P,g,I)}}return d}},{key:"strassen2x2",value:function(c){c=uu.checkMatrix(c);var o=new uu(2,2),t=this.get(0,0),r=c.get(0,0),d=this.get(0,1),v=c.get(0,1),g=this.get(1,0),b=c.get(1,0),P=this.get(1,1),I=c.get(1,1),V=(t+P)*(r+I),K=(g+P)*r,ae=t*(v-I),ue=P*(b-r),ve=(t+d)*I,Oe=(g-t)*(r+v),ke=(d-P)*(b+I),Ie=V+ue-ve+ke,Ye=ae+ve,Ze=K+ue,et=V-K+ae+Oe;return o.set(0,0,Ie),o.set(0,1,Ye),o.set(1,0,Ze),o.set(1,1,et),o}},{key:"strassen3x3",value:function(c){c=uu.checkMatrix(c);var o=new uu(3,3),t=this.get(0,0),r=this.get(0,1),d=this.get(0,2),v=this.get(1,0),g=this.get(1,1),b=this.get(1,2),P=this.get(2,0),I=this.get(2,1),V=this.get(2,2),K=c.get(0,0),ae=c.get(0,1),ue=c.get(0,2),ve=c.get(1,0),Oe=c.get(1,1),ke=c.get(1,2),Ie=c.get(2,0),Ye=c.get(2,1),Ze=c.get(2,2),et=(t+r+d-v-g-I-V)*Oe,yt=(t-v)*(-ae+Oe),jt=g*(-K+ae+ve-Oe-ke-Ie+Ze),Ft=(-t+v+g)*(K-ae+Oe),Ht=(v+g)*(-K+ae),Gt=t*K,Jt=(-t+P+I)*(K-ue+ke),mn=(-t+P)*(ue-ke),vn=(P+I)*(-K+ue),Yt=(t+r+d-g-b-P-I)*ke,En=I*(-K+ue+ve-Oe-ke-Ie+Ye),or=(-d+I+V)*(Oe+Ie-Ye),$r=(d-V)*(Oe-Ye),vr=d*Ie,Er=(I+V)*(-Ie+Ye),Hr=(-d+g+b)*(ke+Ie-Ze),Aa=(d-b)*(ke-Ze),Fr=(g+b)*(-Ie+Ze),ca=r*ve,fa=b*Ye,ai=v*ue,Wi=P*ae,Co=V*Ze,zi=Gt+vr+ca,us=et+Ft+Ht+Gt+or+vr+Er,Us=Gt+Jt+vn+Yt+vr+Hr+Fr,po=yt+jt+Ft+Gt+vr+Hr+Aa,dc=yt+Ft+Ht+Gt+fa,ns=vr+Hr+Aa+Fr+ai,fc=Gt+Jt+mn+En+or+$r+vr,Kc=or+$r+vr+Er+Wi,gl=Gt+Jt+mn+vn+Co;return o.set(0,0,zi),o.set(0,1,us),o.set(0,2,Us),o.set(1,0,po),o.set(1,1,dc),o.set(1,2,ns),o.set(2,0,fc),o.set(2,1,Kc),o.set(2,2,gl),o}},{key:"mmulStrassen",value:function(c){c=uu.checkMatrix(c);var o=this.clone(),t=o.rows,r=o.columns,d=c.rows,v=c.columns;r!==d&&console.warn("Multiplying ".concat(t," x ").concat(r," and ").concat(d," x ").concat(v," matrix: dimensions do not match."));function g(V,K,ae){var ue=V.rows,ve=V.columns;if(ue===K&&ve===ae)return V;var Oe=u.zeros(K,ae);return Oe=Oe.setSubMatrix(V,0,0),Oe}var b=Math.max(t,d),P=Math.max(r,v);o=g(o,b,P),c=g(c,b,P);function I(V,K,ae,ue){if(ae<=512||ue<=512)return V.mmul(K);ae%2==1&&ue%2==1?(V=g(V,ae+1,ue+1),K=g(K,ae+1,ue+1)):ae%2==1?(V=g(V,ae+1,ue),K=g(K,ae+1,ue)):ue%2==1&&(V=g(V,ae,ue+1),K=g(K,ae,ue+1));var ve=parseInt(V.rows/2,10),Oe=parseInt(V.columns/2,10),ke=V.subMatrix(0,ve-1,0,Oe-1),Ie=K.subMatrix(0,ve-1,0,Oe-1),Ye=V.subMatrix(0,ve-1,Oe,V.columns-1),Ze=K.subMatrix(0,ve-1,Oe,K.columns-1),et=V.subMatrix(ve,V.rows-1,0,Oe-1),yt=K.subMatrix(ve,K.rows-1,0,Oe-1),jt=V.subMatrix(ve,V.rows-1,Oe,V.columns-1),Ft=K.subMatrix(ve,K.rows-1,Oe,K.columns-1),Ht=I(u.add(ke,jt),u.add(Ie,Ft),ve,Oe),Gt=I(u.add(et,jt),Ie,ve,Oe),Jt=I(ke,u.sub(Ze,Ft),ve,Oe),mn=I(jt,u.sub(yt,Ie),ve,Oe),vn=I(u.add(ke,Ye),Ft,ve,Oe),Yt=I(u.sub(et,ke),u.add(Ie,Ze),ve,Oe),En=I(u.sub(Ye,jt),u.add(yt,Ft),ve,Oe),or=u.add(Ht,mn);or.sub(vn),or.add(En);var $r=u.add(Jt,vn),vr=u.add(Gt,mn),Er=u.sub(Ht,Gt);Er.add(Jt),Er.add(Yt);var Hr=u.zeros(2*or.rows,2*or.columns);return Hr=Hr.setSubMatrix(or,0,0),Hr=Hr.setSubMatrix($r,or.rows,0),Hr=Hr.setSubMatrix(vr,0,or.columns),Hr=Hr.setSubMatrix(Er,or.rows,or.columns),Hr.subMatrix(0,ae-1,0,ue-1)}return I(o,c,b,P)}},{key:"scaleRows",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof c!="object")throw new TypeError("options must be an object");var o=c.min,t=o===void 0?0:o,r=c.max,d=r===void 0?1:r;if(!Number.isFinite(t))throw new TypeError("min must be a number");if(!Number.isFinite(d))throw new TypeError("max must be a number");if(t>=d)throw new RangeError("min must be smaller than max");for(var v=new uu(this.rows,this.columns),g=0;g<this.rows;g++){var b=this.getRow(g);b.length>0&&rG(b,{min:t,max:d,output:b}),v.setRow(g,b)}return v}},{key:"scaleColumns",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof c!="object")throw new TypeError("options must be an object");var o=c.min,t=o===void 0?0:o,r=c.max,d=r===void 0?1:r;if(!Number.isFinite(t))throw new TypeError("min must be a number");if(!Number.isFinite(d))throw new TypeError("max must be a number");if(t>=d)throw new RangeError("min must be smaller than max");for(var v=new uu(this.rows,this.columns),g=0;g<this.columns;g++){var b=this.getColumn(g);b.length&&rG(b,{min:t,max:d,output:b}),v.setColumn(g,b)}return v}},{key:"flipRows",value:function(){for(var c=Math.ceil(this.columns/2),o=0;o<this.rows;o++)for(var t=0;t<c;t++){var r=this.get(o,t),d=this.get(o,this.columns-1-t);this.set(o,t,d),this.set(o,this.columns-1-t,r)}return this}},{key:"flipColumns",value:function(){for(var c=Math.ceil(this.rows/2),o=0;o<this.columns;o++)for(var t=0;t<c;t++){var r=this.get(t,o),d=this.get(this.rows-1-t,o);this.set(t,o,d),this.set(this.rows-1-t,o,r)}return this}},{key:"kroneckerProduct",value:function(c){c=uu.checkMatrix(c);for(var o=this.rows,t=this.columns,r=c.rows,d=c.columns,v=new uu(o*r,t*d),g=0;g<o;g++)for(var b=0;b<t;b++)for(var P=0;P<r;P++)for(var I=0;I<d;I++)v.set(r*g+P,d*b+I,this.get(g,b)*c.get(P,I));return v}},{key:"kroneckerSum",value:function(c){if(c=uu.checkMatrix(c),!this.isSquare()||!c.isSquare())throw new Error("Kronecker Sum needs two Square Matrices");var o=this.rows,t=c.rows,r=this.kroneckerProduct(uu.eye(t,t)),d=uu.eye(o,o).kroneckerProduct(c);return r.add(d)}},{key:"transpose",value:function(){for(var c=new uu(this.columns,this.rows),o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)c.set(t,o,this.get(o,t));return c}},{key:"sortRows",value:function(){for(var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dw,o=0;o<this.rows;o++)this.setRow(o,this.getRow(o).sort(c));return this}},{key:"sortColumns",value:function(){for(var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dw,o=0;o<this.columns;o++)this.setColumn(o,this.getColumn(o).sort(c));return this}},{key:"subMatrix",value:function(c,o,t,r){sG(this,c,o,t,r);for(var d=new uu(o-c+1,r-t+1),v=c;v<=o;v++)for(var g=t;g<=r;g++)d.set(v-c,g-t,this.get(v,g));return d}},{key:"subMatrixRow",value:function(c,o,t){if(o===void 0&&(o=0),t===void 0&&(t=this.columns-1),o>t||o<0||o>=this.columns||t<0||t>=this.columns)throw new RangeError("Argument out of range");for(var r=new uu(c.length,t-o+1),d=0;d<c.length;d++)for(var v=o;v<=t;v++){if(c[d]<0||c[d]>=this.rows)throw new RangeError("Row index out of range: ".concat(c[d]));r.set(d,v-o,this.get(c[d],v))}return r}},{key:"subMatrixColumn",value:function(c,o,t){if(o===void 0&&(o=0),t===void 0&&(t=this.rows-1),o>t||o<0||o>=this.rows||t<0||t>=this.rows)throw new RangeError("Argument out of range");for(var r=new uu(t-o+1,c.length),d=0;d<c.length;d++)for(var v=o;v<=t;v++){if(c[d]<0||c[d]>=this.columns)throw new RangeError("Column index out of range: ".concat(c[d]));r.set(v-o,d,this.get(v,c[d]))}return r}},{key:"setSubMatrix",value:function(c,o,t){if(c=uu.checkMatrix(c),c.isEmpty())return this;var r=o+c.rows-1,d=t+c.columns-1;sG(this,o,r,t,d);for(var v=0;v<c.rows;v++)for(var g=0;g<c.columns;g++)this.set(o+v,t+g,c.get(v,g));return this}},{key:"selection",value:function(c,o){$ie(this,c),Wie(this,o);for(var t=new uu(c.length,o.length),r=0;r<c.length;r++)for(var d=c[r],v=0;v<o.length;v++){var g=o[v];t.set(r,v,this.get(d,g))}return t}},{key:"trace",value:function(){for(var c=Math.min(this.rows,this.columns),o=0,t=0;t<c;t++)o+=this.get(t,t);return o}},{key:"clone",value:function(){for(var c=new uu(this.rows,this.columns),o=0;o<this.rows;o++)for(var t=0;t<this.columns;t++)c.set(o,t,this.get(o,t));return c}},{key:"sum",value:function(c){switch(c){case"row":return Kie(this);case"column":return vce(this);case void 0:return Yie(this);default:throw new Error("invalid option: ".concat(c))}}},{key:"product",value:function(c){switch(c){case"row":return Xie(this);case"column":return Jie(this);case void 0:return cG(this);default:throw new Error("invalid option: ".concat(c))}}},{key:"mean",value:function(c){var o=this.sum(c);switch(c){case"row":{for(var t=0;t<this.rows;t++)o[t]/=this.columns;return o}case"column":{for(var r=0;r<this.columns;r++)o[r]/=this.rows;return o}case void 0:return o/this.size;default:throw new Error("invalid option: ".concat(c))}}},{key:"variance",value:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof c=="object"&&(o=c,c=void 0),typeof o!="object")throw new TypeError("options must be an object");var t=o,r=t.unbiased,d=r===void 0?!0:r,v=t.mean,g=v===void 0?this.mean(c):v;if(typeof d!="boolean")throw new TypeError("unbiased must be a boolean");switch(c){case"row":{if(!sm(g))throw new TypeError("mean must be an array");return hce(this,d,g)}case"column":{if(!sm(g))throw new TypeError("mean must be an array");return lG(this,d,g)}case void 0:{if(typeof g!="number")throw new TypeError("mean must be a number");return gce(this,d,g)}default:throw new Error("invalid option: ".concat(c))}}},{key:"standardDeviation",value:function(c,o){typeof c=="object"&&(o=c,c=void 0);var t=this.variance(c,o);if(c===void 0)return Math.sqrt(t);for(var r=0;r<t.length;r++)t[r]=Math.sqrt(t[r]);return t}},{key:"center",value:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof c=="object"&&(o=c,c=void 0),typeof o!="object")throw new TypeError("options must be an object");var t=o,r=t.center,d=r===void 0?this.mean(c):r;switch(c){case"row":{if(!sm(d))throw new TypeError("center must be an array");return mce(this,d),this}case"column":{if(!sm(d))throw new TypeError("center must be an array");return _ce(this,d),this}case void 0:{if(typeof d!="number")throw new TypeError("center must be a number");return yce(this,d),this}default:throw new Error("invalid option: ".concat(c))}}},{key:"scale",value:function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof c=="object"&&(o=c,c=void 0),typeof o!="object")throw new TypeError("options must be an object");var t=o.scale;switch(c){case"row":{if(t===void 0)t=Zie(this);else if(!sm(t))throw new TypeError("scale must be an array");return uG(this,t),this}case"column":{if(t===void 0)t=Qie(this);else if(!sm(t))throw new TypeError("scale must be an array");return qie(this,t),this}case void 0:{if(t===void 0)t=eoe(this);else if(typeof t!="number")throw new TypeError("scale must be a number");return toe(this,t),this}default:throw new Error("invalid option: ".concat(c))}}},{key:"toString",value:function(c){return aG(this,c)}}],[{key:"from1DArray",value:function(c,o,t){var r=c*o;if(r!==t.length)throw new RangeError("data length does not match given dimensions");for(var d=new uu(c,o),v=0;v<c;v++)for(var g=0;g<o;g++)d.set(v,g,t[v*o+g]);return d}},{key:"rowVector",value:function(c){for(var o=new uu(1,c.length),t=0;t<c.length;t++)o.set(0,t,c[t]);return o}},{key:"columnVector",value:function(c){for(var o=new uu(c.length,1),t=0;t<c.length;t++)o.set(t,0,c[t]);return o}},{key:"zeros",value:function(c,o){return new uu(c,o)}},{key:"ones",value:function(c,o){return new uu(c,o).fill(1)}},{key:"rand",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t!="object")throw new TypeError("options must be an object");for(var r=t.random,d=r===void 0?Math.random:r,v=new uu(c,o),g=0;g<c;g++)for(var b=0;b<o;b++)v.set(g,b,d());return v}},{key:"randInt",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t!="object")throw new TypeError("options must be an object");var r=t.min,d=r===void 0?0:r,v=t.max,g=v===void 0?1e3:v,b=t.random,P=b===void 0?Math.random:b;if(!Number.isInteger(d))throw new TypeError("min must be an integer");if(!Number.isInteger(g))throw new TypeError("max must be an integer");if(d>=g)throw new RangeError("min must be smaller than max");for(var I=g-d,V=new uu(c,o),K=0;K<c;K++)for(var ae=0;ae<o;ae++){var ue=d+Math.round(P()*I);V.set(K,ae,ue)}return V}},{key:"eye",value:function(c,o,t){o===void 0&&(o=c),t===void 0&&(t=1);for(var r=Math.min(c,o),d=this.zeros(c,o),v=0;v<r;v++)d.set(v,v,t);return d}},{key:"diag",value:function(c,o,t){var r=c.length;o===void 0&&(o=r),t===void 0&&(t=o);for(var d=Math.min(r,o,t),v=this.zeros(o,t),g=0;g<d;g++)v.set(g,g,c[g]);return v}},{key:"min",value:function(c,o){c=this.checkMatrix(c),o=this.checkMatrix(o);for(var t=c.rows,r=c.columns,d=new uu(t,r),v=0;v<t;v++)for(var g=0;g<r;g++)d.set(v,g,Math.min(c.get(v,g),o.get(v,g)));return d}},{key:"max",value:function(c,o){c=this.checkMatrix(c),o=this.checkMatrix(o);for(var t=c.rows,r=c.columns,d=new this(t,r),v=0;v<t;v++)for(var g=0;g<r;g++)d.set(v,g,Math.max(c.get(v,g),o.get(v,g)));return d}},{key:"checkMatrix",value:function(c){return u.isMatrix(c)?c:new uu(c)}},{key:"isMatrix",value:function(c){return c!=null&&c.klass==="Matrix"}}]),u}();lh.prototype.klass="Matrix",typeof Symbol!="undefined"&&(lh.prototype[Symbol.for("nodejs.util.inspect.custom")]=Hie);function Dw(u,i){return u-i}function noe(u){return u.every(function(i){return typeof i=="number"})}lh.random=lh.rand,lh.randomInt=lh.randInt,lh.diagonal=lh.diag,lh.prototype.diagonal=lh.prototype.diag,lh.identity=lh.eye,lh.prototype.negate=lh.prototype.neg,lh.prototype.tensorProduct=lh.prototype.kroneckerProduct;var uu=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o,t){var r;if(Object(xi.a)(this,c),r=i.call(this),c.isMatrix(o))return Object(vN.a)(r,o.clone());if(Number.isInteger(o)&&o>=0)if(r.data=[],Number.isInteger(t)&&t>=0)for(var d=0;d<o;d++)r.data.push(new Float64Array(t));else throw new TypeError("nColumns must be a positive integer");else if(sm(o)){var v=o;if(o=v.length,t=o?v[0].length:0,typeof t!="number")throw new TypeError("Data must be a 2D array with at least one element");r.data=[];for(var g=0;g<o;g++){if(v[g].length!==t)throw new RangeError("Inconsistent array dimensions");if(!noe(v[g]))throw new TypeError("Input data contains non-numeric values");r.data.push(Float64Array.from(v[g]))}}else throw new TypeError("First argument must be a positive number or an array");return r.rows=o,r.columns=t,r}return Object(Pi.a)(c,[{key:"set",value:function(t,r,d){return this.data[t][r]=d,this}},{key:"get",value:function(t,r){return this.data[t][r]}},{key:"removeRow",value:function(t){return l_(this,t),this.data.splice(t,1),this.rows-=1,this}},{key:"addRow",value:function(t,r){return r===void 0&&(r=t,t=this.rows),l_(this,t,!0),r=Float64Array.from(kE(this,r)),this.data.splice(t,0,r),this.rows+=1,this}},{key:"removeColumn",value:function(t){u_(this,t);for(var r=0;r<this.rows;r++){for(var d=new Float64Array(this.columns-1),v=0;v<t;v++)d[v]=this.data[r][v];for(var g=t+1;g<this.columns;g++)d[g-1]=this.data[r][g];this.data[r]=d}return this.columns-=1,this}},{key:"addColumn",value:function(t,r){typeof r=="undefined"&&(r=t,t=this.columns),u_(this,t,!0),r=jE(this,r);for(var d=0;d<this.rows;d++){for(var v=new Float64Array(this.columns+1),g=0;g<t;g++)v[g]=this.data[d][g];for(v[g++]=r[d];g<this.columns+1;g++)v[g]=this.data[d][g-1];this.data[d]=v}return this.columns+=1,this}}]),c}(lh);Gie(lh,uu);var roe=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.data=o,t.rows=o.length,t.columns=o[0].length,t}return Object(Pi.a)(c,[{key:"set",value:function(t,r,d){return this.data[t][r]=d,this}},{key:"get",value:function(t,r){return this.data[t][r]}}]),c}(lh);function PE(u,i){var c=0;return Math.abs(u)>Math.abs(i)?(c=i/u,Math.abs(u)*Math.sqrt(1+c*c)):i!==0?(c=u/i,Math.abs(i)*Math.sqrt(1+c*c)):0}var dG=function(){function u(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Object(xi.a)(this,u),i=roe.checkMatrix(i),i.isEmpty())throw new Error("Matrix must be non-empty");var o=i.rows,t=i.columns,r=c.computeLeftSingularVectors,d=r===void 0?!0:r,v=c.computeRightSingularVectors,g=v===void 0?!0:v,b=c.autoTranspose,P=b===void 0?!1:b,I=Boolean(d),V=Boolean(g),K=!1,ae;if(o<t)if(!P)ae=i.clone(),console.warn("Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose");else{ae=i.transpose(),o=ae.rows,t=ae.columns,K=!0;var ue=I;I=V,V=ue}else ae=i.clone();for(var ve=Math.min(o,t),Oe=Math.min(o+1,t),ke=new Float64Array(Oe),Ie=new uu(o,ve),Ye=new uu(t,t),Ze=new Float64Array(t),et=new Float64Array(o),yt=new Float64Array(Oe),jt=0;jt<Oe;jt++)yt[jt]=jt;for(var Ft=Math.min(o-1,t),Ht=Math.max(0,Math.min(t-2,o)),Gt=Math.max(Ft,Ht),Jt=0;Jt<Gt;Jt++){if(Jt<Ft){ke[Jt]=0;for(var mn=Jt;mn<o;mn++)ke[Jt]=PE(ke[Jt],ae.get(mn,Jt));if(ke[Jt]!==0){ae.get(Jt,Jt)<0&&(ke[Jt]=-ke[Jt]);for(var vn=Jt;vn<o;vn++)ae.set(vn,Jt,ae.get(vn,Jt)/ke[Jt]);ae.set(Jt,Jt,ae.get(Jt,Jt)+1)}ke[Jt]=-ke[Jt]}for(var Yt=Jt+1;Yt<t;Yt++){if(Jt<Ft&&ke[Jt]!==0){for(var En=0,or=Jt;or<o;or++)En+=ae.get(or,Jt)*ae.get(or,Yt);En=-En/ae.get(Jt,Jt);for(var $r=Jt;$r<o;$r++)ae.set($r,Yt,ae.get($r,Yt)+En*ae.get($r,Jt))}Ze[Yt]=ae.get(Jt,Yt)}if(I&&Jt<Ft)for(var vr=Jt;vr<o;vr++)Ie.set(vr,Jt,ae.get(vr,Jt));if(Jt<Ht){Ze[Jt]=0;for(var Er=Jt+1;Er<t;Er++)Ze[Jt]=PE(Ze[Jt],Ze[Er]);if(Ze[Jt]!==0){Ze[Jt+1]<0&&(Ze[Jt]=0-Ze[Jt]);for(var Hr=Jt+1;Hr<t;Hr++)Ze[Hr]/=Ze[Jt];Ze[Jt+1]+=1}if(Ze[Jt]=-Ze[Jt],Jt+1<o&&Ze[Jt]!==0){for(var Aa=Jt+1;Aa<o;Aa++)et[Aa]=0;for(var Fr=Jt+1;Fr<o;Fr++)for(var ca=Jt+1;ca<t;ca++)et[Fr]+=Ze[ca]*ae.get(Fr,ca);for(var fa=Jt+1;fa<t;fa++)for(var ai=-Ze[fa]/Ze[Jt+1],Wi=Jt+1;Wi<o;Wi++)ae.set(Wi,fa,ae.get(Wi,fa)+ai*et[Wi])}if(V)for(var Co=Jt+1;Co<t;Co++)Ye.set(Co,Jt,Ze[Co])}}var zi=Math.min(t,o+1);if(Ft<t&&(ke[Ft]=ae.get(Ft,Ft)),o<zi&&(ke[zi-1]=0),Ht+1<zi&&(Ze[Ht]=ae.get(Ht,zi-1)),Ze[zi-1]=0,I){for(var us=Ft;us<ve;us++){for(var Us=0;Us<o;Us++)Ie.set(Us,us,0);Ie.set(us,us,1)}for(var po=Ft-1;po>=0;po--)if(ke[po]!==0){for(var dc=po+1;dc<ve;dc++){for(var ns=0,fc=po;fc<o;fc++)ns+=Ie.get(fc,po)*Ie.get(fc,dc);ns=-ns/Ie.get(po,po);for(var Kc=po;Kc<o;Kc++)Ie.set(Kc,dc,Ie.get(Kc,dc)+ns*Ie.get(Kc,po))}for(var gl=po;gl<o;gl++)Ie.set(gl,po,-Ie.get(gl,po));Ie.set(po,po,1+Ie.get(po,po));for(var du=0;du<po-1;du++)Ie.set(du,po,0)}else{for(var yu=0;yu<o;yu++)Ie.set(yu,po,0);Ie.set(po,po,1)}}if(V)for(var Su=t-1;Su>=0;Su--){if(Su<Ht&&Ze[Su]!==0)for(var Ql=Su+1;Ql<t;Ql++){for(var Bl=0,Qo=Su+1;Qo<t;Qo++)Bl+=Ye.get(Qo,Su)*Ye.get(Qo,Ql);Bl=-Bl/Ye.get(Su+1,Su);for(var hc=Su+1;hc<t;hc++)Ye.set(hc,Ql,Ye.get(hc,Ql)+Bl*Ye.get(hc,Su))}for(var Yl=0;Yl<t;Yl++)Ye.set(Yl,Su,0);Ye.set(Su,Su,1)}for(var Qc=zi-1,ed=0,zu=Number.EPSILON;zi>0;){var Xc=void 0,jp=void 0;for(Xc=zi-2;Xc>=-1&&Xc!==-1;Xc--){var cv=Number.MIN_VALUE+zu*Math.abs(ke[Xc]+Math.abs(ke[Xc+1]));if(Math.abs(Ze[Xc])<=cv||Number.isNaN(Ze[Xc])){Ze[Xc]=0;break}}if(Xc===zi-2)jp=4;else{var fp=void 0;for(fp=zi-1;fp>=Xc&&fp!==Xc;fp--){var lm=(fp!==zi?Math.abs(Ze[fp]):0)+(fp!==Xc+1?Math.abs(Ze[fp-1]):0);if(Math.abs(ke[fp])<=zu*lm){ke[fp]=0;break}}fp===Xc?jp=3:fp===zi-1?jp=1:(jp=2,Xc=fp)}switch(Xc++,jp){case 1:{var g_=Ze[zi-2];Ze[zi-2]=0;for(var Lf=zi-2;Lf>=Xc;Lf--){var Ig=PE(ke[Lf],g_),Bf=ke[Lf]/Ig,m_=g_/Ig;if(ke[Lf]=Ig,Lf!==Xc&&(g_=-m_*Ze[Lf-1],Ze[Lf-1]=Bf*Ze[Lf-1]),V)for(var Ng=0;Ng<t;Ng++)Ig=Bf*Ye.get(Ng,Lf)+m_*Ye.get(Ng,zi-1),Ye.set(Ng,zi-1,-m_*Ye.get(Ng,Lf)+Bf*Ye.get(Ng,zi-1)),Ye.set(Ng,Lf,Ig)}break}case 2:{var Vb=Ze[Xc-1];Ze[Xc-1]=0;for(var qh=Xc;qh<zi;qh++){var __=PE(ke[qh],Vb),y_=ke[qh]/__,GE=Vb/__;if(ke[qh]=__,Vb=-GE*Ze[qh],Ze[qh]=y_*Ze[qh],I)for(var Mm=0;Mm<o;Mm++)__=y_*Ie.get(Mm,qh)+GE*Ie.get(Mm,Xc-1),Ie.set(Mm,Xc-1,-GE*Ie.get(Mm,qh)+y_*Ie.get(Mm,Xc-1)),Ie.set(Mm,qh,__)}break}case 3:{var MO=Math.max(Math.abs(ke[zi-1]),Math.abs(ke[zi-2]),Math.abs(Ze[zi-2]),Math.abs(ke[Xc]),Math.abs(Ze[Xc])),_y=ke[zi-1]/MO,Hw=ke[zi-2]/MO,$E=Ze[zi-2]/MO,PO=ke[Xc]/MO,Cu=Ze[Xc]/MO,Au=((Hw+_y)*(Hw-_y)+$E*$E)/2,Ef=_y*$E*(_y*$E),Hf=0;(Au!==0||Ef!==0)&&(Au<0?Hf=0-Math.sqrt(Au*Au+Ef):Hf=Math.sqrt(Au*Au+Ef),Hf=Ef/(Au+Hf));for(var xv=(PO+_y)*(PO-_y)+Hf,Nh=PO*Cu,Xd=Xc;Xd<zi-1;Xd++){var Lh=PE(xv,Nh);Lh===0&&(Lh=Number.MIN_VALUE);var b_=xv/Lh,O_=Nh/Lh;if(Xd!==Xc&&(Ze[Xd-1]=Lh),xv=b_*ke[Xd]+O_*Ze[Xd],Ze[Xd]=b_*Ze[Xd]-O_*ke[Xd],Nh=O_*ke[Xd+1],ke[Xd+1]=b_*ke[Xd+1],V)for(var zb=0;zb<t;zb++)Lh=b_*Ye.get(zb,Xd)+O_*Ye.get(zb,Xd+1),Ye.set(zb,Xd+1,-O_*Ye.get(zb,Xd)+b_*Ye.get(zb,Xd+1)),Ye.set(zb,Xd,Lh);if(Lh=PE(xv,Nh),Lh===0&&(Lh=Number.MIN_VALUE),b_=xv/Lh,O_=Nh/Lh,ke[Xd]=Lh,xv=b_*Ze[Xd]+O_*ke[Xd+1],ke[Xd+1]=-O_*Ze[Xd]+b_*ke[Xd+1],Nh=O_*Ze[Xd+1],Ze[Xd+1]=b_*Ze[Xd+1],I&&Xd<o-1)for(var Hb=0;Hb<o;Hb++)Lh=b_*Ie.get(Hb,Xd)+O_*Ie.get(Hb,Xd+1),Ie.set(Hb,Xd+1,-O_*Ie.get(Hb,Xd)+b_*Ie.get(Hb,Xd+1)),Ie.set(Hb,Xd,Lh)}Ze[zi-2]=xv,ed=ed+1;break}case 4:{if(ke[Xc]<=0&&(ke[Xc]=ke[Xc]<0?-ke[Xc]:0,V))for(var jP=0;jP<=Qc;jP++)Ye.set(jP,Xc,-Ye.get(jP,Xc));for(;Xc<Qc&&!(ke[Xc]>=ke[Xc+1]);){var Gw=ke[Xc];if(ke[Xc]=ke[Xc+1],ke[Xc+1]=Gw,V&&Xc<t-1)for(var WE=0;WE<t;WE++)Gw=Ye.get(WE,Xc+1),Ye.set(WE,Xc+1,Ye.get(WE,Xc)),Ye.set(WE,Xc,Gw);if(I&&Xc<o-1)for(var KE=0;KE<o;KE++)Gw=Ie.get(KE,Xc+1),Ie.set(KE,Xc+1,Ie.get(KE,Xc)),Ie.set(KE,Xc,Gw);Xc++}ed=0,zi--;break}}}if(K){var tse=Ye;Ye=Ie,Ie=tse}this.m=o,this.n=t,this.s=ke,this.U=Ie,this.V=Ye}return Object(Pi.a)(u,[{key:"solve",value:function(c){for(var o=c,t=this.threshold,r=this.s.length,d=uu.zeros(r,r),v=0;v<r;v++)Math.abs(this.s[v])<=t?d.set(v,v,0):d.set(v,v,1/this.s[v]);for(var g=this.U,b=this.rightSingularVectors,P=b.mmul(d),I=b.rows,V=g.rows,K=uu.zeros(I,V),ae=0;ae<I;ae++)for(var ue=0;ue<V;ue++){for(var ve=0,Oe=0;Oe<r;Oe++)ve+=P.get(ae,Oe)*g.get(ue,Oe);K.set(ae,ue,ve)}return K.mmul(o)}},{key:"solveForDiagonal",value:function(c){return this.solve(uu.diag(c))}},{key:"inverse",value:function(){for(var c=this.V,o=this.threshold,t=c.rows,r=c.columns,d=new uu(t,this.s.length),v=0;v<t;v++)for(var g=0;g<r;g++)Math.abs(this.s[g])>o&&d.set(v,g,c.get(v,g)/this.s[g]);for(var b=this.U,P=b.rows,I=b.columns,V=new uu(t,P),K=0;K<t;K++)for(var ae=0;ae<P;ae++){for(var ue=0,ve=0;ve<I;ve++)ue+=d.get(K,ve)*b.get(ae,ve);V.set(K,ae,ue)}return V}},{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 c=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,o=0,t=this.s,r=0,d=t.length;r<d;r++)t[r]>c&&o++;return o}},{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 uu.diag(this.s)}}]),u}(),AO=function(){function u(i){Object(xi.a)(this,u),this.distances=i.distances,this.dimension=i.dimension||2,this.linkDistance=i.linkDistance}return Object(Pi.a)(u,[{key:"layout",value:function(){var c=this,o=c.dimension,t=c.distances,r=c.linkDistance;try{var d=uu.mul(uu.pow(t,2),-.5),v=d.mean("row"),g=d.mean("column"),b=d.mean();d.add(b).subRowVector(v).subColumnVector(g);var P=new dG(d),I=uu.sqrt(P.diagonalMatrix).diagonal();return P.leftSingularVectors.toJSON().map(function(ve){return uu.mul([ve],[I]).toJSON()[0].splice(0,o)})}catch(ve){for(var V=[],K=0;K<t.length;K++){var ae=Math.random()*r,ue=Math.random()*r;V.push([ae,ue])}return V}}}]),u}(),aoe=800,ioe=function(){function u(i){Object(xi.a)(this,u),this.disp=[],this.positions=i.positions,this.adjMatrix=i.adjMatrix,this.focusID=i.focusID,this.radii=i.radii,this.iterations=i.iterations||10,this.height=i.height||10,this.width=i.width||10,this.speed=i.speed||100,this.gravity=i.gravity||10,this.nodeSizeFunc=i.nodeSizeFunc,this.k=i.k||5,this.strictRadial=i.strictRadial,this.nodes=i.nodes}return Object(Pi.a)(u,[{key:"layout",value:function(){var c=this,o=c.positions,t=[],r=c.iterations,d=c.width/10;c.maxDisplace=d,c.disp=t;for(var v=0;v<r;v++)o.forEach(function(g,b){t[b]={x:0,y:0}}),c.getRepulsion(),c.updatePositions();return o}},{key:"getRepulsion",value:function(){var c=this,o=c.positions,t=c.nodes,r=c.disp,d=c.k,v=c.radii||[];o.forEach(function(g,b){r[b]={x:0,y:0},o.forEach(function(P,I){if(b!==I&&v[b]===v[I]){var V=g[0]-P[0],K=g[1]-P[1],ae=Math.sqrt(V*V+K*K);if(ae===0){ae=1;var ue=b>I?1:-1;V=.01*ue,K=.01*ue}if(ae<c.nodeSizeFunc(t[b])/2+c.nodeSizeFunc(t[I])/2){var ve=d*d/ae;r[b].x+=V/ae*ve,r[b].y+=K/ae*ve}}})})}},{key:"updatePositions",value:function(){var c=this,o=c.positions,t=c.disp,r=c.speed,d=c.strictRadial,v=c.focusID,g=c.maxDisplace||c.width/10;d&&t.forEach(function(P,I){var V=o[I][0]-o[v][0],K=o[I][1]-o[v][1],ae=Math.sqrt(V*V+K*K),ue=K/ae,ve=-V/ae,Oe=Math.sqrt(P.x*P.x+P.y*P.y),ke=Math.acos((ue*P.x+ve*P.y)/Oe);ke>Math.PI/2&&(ke-=Math.PI/2,ue*=-1,ve*=-1);var Ie=Math.cos(ke)*Oe;P.x=ue*Ie,P.y=ve*Ie});var b=c.radii;o.forEach(function(P,I){if(I!==v){var V=Math.sqrt(t[I].x*t[I].x+t[I].y*t[I].y);if(V>0&&I!==v){var K=Math.min(g*(r/aoe),V);if(P[0]+=t[I].x/V*K,P[1]+=t[I].y/V*K,d){var ae=P[0]-o[v][0],ue=P[1]-o[v][1],ve=Math.sqrt(ae*ae+ue*ue);ae=ae/ve*b[I],ue=ue/ve*b[I],P[0]=o[v][0]+ae,P[1]=o[v][1]+ue}}}})}}]),u}();function ooe(u){for(var i=u.length,c=u[0].length,o=[],t=0;t<i;t++){for(var r=[],d=0;d<c;d++)u[t][d]!==0?r.push(1/(u[t][d]*u[t][d])):r.push(0);o.push(r)}return o}function fP(u,i){var c=-1;return u.forEach(function(o,t){o.id===i&&(c=t)}),c}function fG(u,i){return Math.sqrt((u[0]-i[0])*(u[0]-i[0])+(u[1]-i[1])*(u[1]-i[1]))}var Db=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.maxIteration=1e3,t.focusNode=null,t.unitRadius=null,t.linkDistance=50,t.preventOverlap=!1,t.strictRadial=!0,t.maxPreventOverlapIteration=200,t.sortStrength=10,t.nodes=[],t.edges=[],t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{maxIteration:1e3,focusNode:null,unitRadius:null,linkDistance:50,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,strictRadial:!0,maxPreventOverlapIteration:200,sortBy:void 0,sortStrength:10}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.edges||[];if(!r||r.length===0){t.onLayoutEnd&&t.onLayoutEnd();return}!t.width&&typeof window!="undefined"&&(t.width=window.innerWidth),!t.height&&typeof window!="undefined"&&(t.height=window.innerHeight),t.center||(t.center=[t.width/2,t.height/2]);var v=t.center;if(r.length===1){r[0].x=v[0],r[0].y=v[1],t.onLayoutEnd&&t.onLayoutEnd();return}var g=t.linkDistance,b=null;if(Tb(t.focusNode)){for(var P=!1,I=0;I<r.length;I++)r[I].id===t.focusNode&&(b=r[I],t.focusNode=b,P=!0,I=r.length);P||(b=null)}else b=t.focusNode;b||(b=r[0],t.focusNode=b);var V=fP(r,b.id);V<0&&(V=0),t.focusIndex=V;var K=bz({nodes:r,edges:d},!1),ae=yz(K),ue=t.maxToFocus(ae,V);t.handleInfinity(ae,V,ue+1),t.distances=ae;var ve=ae[V],Oe=t.width||500,ke=t.height||500,Ie=Oe-v[0]>v[0]?v[0]:Oe-v[0],Ye=ke-v[1]>v[1]?v[1]:ke-v[1];Ie===0&&(Ie=Oe/2),Ye===0&&(Ye=ke/2);var Ze=Ye>Ie?Ie:Ye,et=Math.max.apply(Math,Object(Bs.a)(ve)),yt=[];ve.forEach(function(Er,Hr){t.unitRadius||(t.unitRadius=Ze/et),yt[Hr]=Er*t.unitRadius}),t.radii=yt;var jt=t.eIdealDisMatrix();t.eIdealDistances=jt;var Ft=ooe(jt);t.weights=Ft;var Ht=new AO({linkDistance:g,distances:jt}),Gt=Ht.layout();Gt.forEach(function(Er){kM(Er[0])&&(Er[0]=Math.random()*g),kM(Er[1])&&(Er[1]=Math.random()*g)}),t.positions=Gt,Gt.forEach(function(Er,Hr){r[Hr].x=Er[0]+v[0],r[Hr].y=Er[1]+v[1]}),Gt.forEach(function(Er){Er[0]-=Gt[V][0],Er[1]-=Gt[V][1]}),t.run();var Jt=t.preventOverlap,mn=t.nodeSize,vn,Yt=t.strictRadial;if(Jt){var En=t.nodeSpacing,or;sl(En)?or=function(){return En}:fg(En)?or=En:or=function(){return 0},mn?ap(mn)?vn=function(Hr){var Aa=mn[0]>mn[1]?mn[0]:mn[1];return Aa+or(Hr)}:vn=function(Hr){return mn+or(Hr)}:vn=function(Hr){if(Hr.size){if(ap(Hr.size)){var Aa=Hr.size[0]>Hr.size[1]?Hr.size[0]:Hr.size[1];return Aa+or(Hr)}if(dg(Hr.size)){var Fr=Hr.size.width>Hr.size.height?Hr.size.width:Hr.size.height;return Fr+or(Hr)}return Hr.size+or(Hr)}return 10+or(Hr)};var $r={nodes:r,nodeSizeFunc:vn,adjMatrix:K,positions:Gt,radii:yt,height:ke,width:Oe,strictRadial:Yt,focusID:V,iterations:t.maxPreventOverlapIteration||200,k:Gt.length/4.5},vr=new ioe($r);Gt=vr.layout()}return Gt.forEach(function(Er,Hr){r[Hr].x=Er[0]+v[0],r[Hr].y=Er[1]+v[1]}),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:r,edges:d}}},{key:"run",value:function(){for(var t=this,r=t.maxIteration,d=t.positions||[],v=t.weights||[],g=t.eIdealDistances||[],b=t.radii||[],P=0;P<=r;P++){var I=P/r;t.oneIteration(I,d,b,g,v)}}},{key:"oneIteration",value:function(t,r,d,v,g){var b=this,P=1-t,I=b.focusIndex;r.forEach(function(V,K){var ae=fG(V,[0,0]),ue=ae===0?0:1/ae;if(K!==I){var ve=0,Oe=0,ke=0;r.forEach(function(Ye,Ze){if(K!==Ze){var et=fG(V,Ye),yt=et===0?0:1/et,jt=v[Ze][K];ke+=g[K][Ze],ve+=g[K][Ze]*(Ye[0]+jt*(V[0]-Ye[0])*yt),Oe+=g[K][Ze]*(Ye[1]+jt*(V[1]-Ye[1])*yt)}});var Ie=d[K]===0?0:1/d[K];ke*=P,ke+=t*Ie*Ie,ve*=P,ve+=t*Ie*V[0]*ue,V[0]=ve/ke,Oe*=P,Oe+=t*Ie*V[1]*ue,V[1]=Oe/ke}})}},{key:"eIdealDisMatrix",value:function(){var t=this,r=t.nodes;if(!r)return[];var d=t.distances,v=t.linkDistance,g=t.radii||[],b=t.unitRadius||50,P=[];return d&&d.forEach(function(I,V){var K=[];I.forEach(function(ae,ue){if(V===ue)K.push(0);else if(g[V]===g[ue])if(t.sortBy==="data")K.push(ae*(Math.abs(V-ue)*t.sortStrength)/(g[V]/b));else if(t.sortBy){var ve=r[V][t.sortBy]||0,Oe=r[ue][t.sortBy]||0;Tb(ve)&&(ve=ve.charCodeAt(0)),Tb(Oe)&&(Oe=Oe.charCodeAt(0)),K.push(ae*(Math.abs(ve-Oe)*t.sortStrength)/(g[V]/b))}else K.push(ae*v/(g[V]/b));else{var ke=(v+b)/2;K.push(ae*ke)}}),P.push(K)}),P}},{key:"handleInfinity",value:function(t,r,d){for(var v=t.length,g=0;g<v;g++)if(t[r][g]===Infinity){t[r][g]=d,t[g][r]=d;for(var b=0;b<v;b++)t[g][b]!==Infinity&&t[r][b]===Infinity&&(t[r][b]=d+t[g][b],t[b][r]=d+t[g][b])}for(var P=0;P<v;P++)if(P!==r){for(var I=0;I<v;I++)if(t[P][I]===Infinity){var V=Math.abs(t[r][P]-t[r][I]);V=V===0?1:V,t[P][I]=V}}}},{key:"maxToFocus",value:function(t,r){for(var d=0,v=0;v<t[r].length;v++)t[r][v]!==Infinity&&(d=t[r][v]>d?t[r][v]:d);return d}},{key:"getType",value:function(){return"radial"}}]),c}(Wv),pG=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.nodeSize=30,t.minNodeSpacing=10,t.nodeSpacing=10,t.preventOverlap=!1,t.equidistant=!1,t.startAngle=3/2*Math.PI,t.clockwise=!0,t.sortBy="degree",t.nodes=[],t.edges=[],t.width=300,t.height=300,t.onLayoutEnd=function(){},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{nodeSize:30,minNodeSpacing:10,nodeSpacing:10,preventOverlap:!1,sweep:void 0,equidistant:!1,startAngle:3/2*Math.PI,clockwise:!0,maxLevelDiff:void 0,sortBy:"degree"}}},{key:"execute",value:function(){var t,r,d=this,v=d.nodes,g=d.edges,b=v.length;if(b===0){(t=d.onLayoutEnd)===null||t===void 0||t.call(d);return}!d.width&&typeof window!="undefined"&&(d.width=window.innerWidth),!d.height&&typeof window!="undefined"&&(d.height=window.innerHeight),d.center||(d.center=[d.width/2,d.height/2]);var P=d.center;if(b===1){v[0].x=P[0],v[0].y=P[1],(r=d.onLayoutEnd)===null||r===void 0||r.call(d);return}var I=d.nodeSize,V=d.nodeSpacing,K=[],ae,ue=0;ap(I)?ae=Math.max(I[0],I[1]):ae=I,ap(V)?ue=Math.max(V[0],V[1]):sl(V)&&(ue=V),v.forEach(function(Yt){K.push(Yt);var En=ae;ap(Yt.size)?En=Math.max(Yt.size[0],Yt.size[1]):sl(Yt.size)?En=Yt.size:dg(Yt.size)&&(En=Math.max(Yt.size.width,Yt.size.height)),ae=Math.max(ae,En),fg(V)&&(ue=Math.max(V(Yt),ue))}),d.clockwise=d.counterclockwise!==void 0?!d.counterclockwise:d.clockwise;var ve={},Oe={};if(K.forEach(function(Yt,En){ve[Yt.id]=Yt,Oe[Yt.id]=En}),(d.sortBy==="degree"||!Tb(d.sortBy)||K[0][d.sortBy]===void 0)&&(d.sortBy="degree",!sl(v[0].degree))){var ke=mE(v.length,Oe,g);K.forEach(function(Yt,En){Yt.degree=ke[En].all})}K.sort(function(Yt,En){return En[d.sortBy]-Yt[d.sortBy]}),d.maxValueNode=K[0],d.maxLevelDiff=d.maxLevelDiff||d.maxValueNode[d.sortBy]/4;var Ie=[[]],Ye=Ie[0];K.forEach(function(Yt){if(Ye.length>0){var En=Math.abs(Ye[0][d.sortBy]-Yt[d.sortBy]);d.maxLevelDiff&&En>=d.maxLevelDiff&&(Ye=[],Ie.push(Ye))}Ye.push(Yt)});var Ze=ae+(ue||d.minNodeSpacing);if(!d.preventOverlap){var et=Ie.length>0&&Ie[0].length>1,yt=Math.min(d.width,d.height)/2-Ze,jt=yt/(Ie.length+(et?1:0));Ze=Math.min(Ze,jt)}var Ft=0;if(Ie.forEach(function(Yt){var En=d.sweep;En===void 0&&(En=2*Math.PI-2*Math.PI/Yt.length);var or=Yt.dTheta=En/Math.max(1,Yt.length-1);if(Yt.length>1&&d.preventOverlap){var $r=Math.cos(or)-Math.cos(0),vr=Math.sin(or)-Math.sin(0),Er=Math.sqrt(Ze*Ze/($r*$r+vr*vr));Ft=Math.max(Er,Ft)}Yt.r=Ft,Ft+=Ze}),d.equidistant){for(var Ht=0,Gt=0,Jt=0;Jt<Ie.length;Jt++){var mn=Ie[Jt],vn=mn.r-Gt;Ht=Math.max(Ht,vn)}Gt=0,Ie.forEach(function(Yt,En){En===0&&(Gt=Yt.r),Yt.r=Gt,Gt+=Ht})}return Ie.forEach(function(Yt){var En=Yt.dTheta,or=Yt.r;Yt.forEach(function($r,vr){var Er=d.startAngle+(d.clockwise?1:-1)*En*vr;$r.x=P[0]+or*Math.cos(Er),$r.y=P[1]+or*Math.sin(Er)})}),d.onLayoutEnd&&d.onLayoutEnd(),{nodes:v,edges:g}}},{key:"getType",value:function(){return"concentric"}}]),c}(Wv),vG=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.center=[0,0],t.linkDistance=50,t.nodes=[],t.edges=[],t.onLayoutEnd=function(){},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{center:[0,0],linkDistance:50}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.edges,v=d===void 0?[]:d,g=t.center;if(!r||r.length===0){t.onLayoutEnd&&t.onLayoutEnd();return}if(r.length===1){r[0].x=g[0],r[0].y=g[1],t.onLayoutEnd&&t.onLayoutEnd();return}var b=t.linkDistance,P=bz({nodes:r,edges:v},!1),I=yz(P);t.handleInfinity(I);var V=Ore(I,b);t.scaledDistances=V;var K=t.runMDS();return t.positions=K,K.forEach(function(ae,ue){r[ue].x=ae[0]+g[0],r[ue].y=ae[1]+g[1]}),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:r,edges:v}}},{key:"runMDS",value:function(){var t=this,r=2,d=t.scaledDistances,v=uu.mul(uu.pow(d,2),-.5),g=v.mean("row"),b=v.mean("column"),P=v.mean();v.add(P).subRowVector(g).subColumnVector(b);var I=new dG(v),V=uu.sqrt(I.diagonalMatrix).diagonal();return I.leftSingularVectors.toJSON().map(function(K){return uu.mul([K],[V]).toJSON()[0].splice(0,r)})}},{key:"handleInfinity",value:function(t){var r=-999999;t.forEach(function(d){d.forEach(function(v){v!==Infinity&&r<v&&(r=v)})}),t.forEach(function(d,v){d.forEach(function(g,b){g===Infinity&&(t[v][b]=r)})})}},{key:"getType",value:function(){return"mds"}}]),c}(Wv),soe=800,coe=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.maxIteration=1e3,t.workerEnabled=!1,t.gravity=10,t.speed=5,t.clustering=!1,t.clusterGravity=10,t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.onLayoutEnd=function(){},t.tick=function(){},t.animate=!0,t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10,animate:!0}}},{key:"execute",value:function(){var t=this,r,d,v=this,g=v.nodes;if(v.timeInterval!==void 0&&typeof window!="undefined"&&window.clearInterval(v.timeInterval),!g||g.length===0){(r=v.onLayoutEnd)===null||r===void 0||r.call(v);return}!v.width&&typeof window!="undefined"&&(v.width=window.innerWidth),!v.height&&typeof window!="undefined"&&(v.height=window.innerHeight),v.center||(v.center=[v.width/2,v.height/2]);var b=v.center;if(g.length===1){g[0].x=b[0],g[0].y=b[1],(d=v.onLayoutEnd)===null||d===void 0||d.call(v);return}var P={},I={};return g.forEach(function(V,K){sl(V.x)||(V.x=Math.random()*t.width),sl(V.y)||(V.y=Math.random()*t.height),P[V.id]=V,I[V.id]=K}),v.nodeMap=P,v.nodeIdxMap=I,v.run()}},{key:"run",value:function(){var t,r=this,d=r.nodes;if(!!d){var v=r.edges,g=r.maxIteration,b=r.workerEnabled,P=r.clustering,I=r.animate,V={};if(P&&d.forEach(function(ue){V[ue.cluster]===void 0&&(V[ue.cluster]={name:ue.cluster,cx:0,cy:0,count:0})}),b||!I){for(var K=0;K<g;K++)r.runOneStep(V);(t=r.onLayoutEnd)===null||t===void 0||t.call(r)}else{if(typeof window=="undefined")return;var ae=0;this.timeInterval=window.setInterval(function(){var ue;r.runOneStep(V),ae++,ae>=g&&((ue=r.onLayoutEnd)===null||ue===void 0||ue.call(r),window.clearInterval(r.timeInterval))},0)}return{nodes:d,edges:v}}}},{key:"runOneStep",value:function(t){var r,d=this,v=d.nodes;if(!!v){var g=d.edges,b=d.center,P=d.gravity,I=d.speed,V=d.clustering,K=d.height*d.width,ae=Math.sqrt(K)/10,ue=K/(v.length+1),ve=Math.sqrt(ue),Oe=[];if(v.forEach(function(Ze,et){Oe[et]={x:0,y:0}}),d.applyCalculate(v,g,Oe,ve,ue),V){for(var ke in t)t[ke].cx=0,t[ke].cy=0,t[ke].count=0;v.forEach(function(Ze){var et=t[Ze.cluster];sl(Ze.x)&&(et.cx+=Ze.x),sl(Ze.y)&&(et.cy+=Ze.y),et.count++});for(var Ie in t)t[Ie].cx/=t[Ie].count,t[Ie].cy/=t[Ie].count;var Ye=d.clusterGravity||P;v.forEach(function(Ze,et){if(!(!sl(Ze.x)||!sl(Ze.y))){var yt=t[Ze.cluster],jt=Math.sqrt((Ze.x-yt.cx)*(Ze.x-yt.cx)+(Ze.y-yt.cy)*(Ze.y-yt.cy)),Ft=ve*Ye;Oe[et].x-=Ft*(Ze.x-yt.cx)/jt,Oe[et].y-=Ft*(Ze.y-yt.cy)/jt}})}v.forEach(function(Ze,et){if(!(!sl(Ze.x)||!sl(Ze.y))){var yt=.01*ve*P;Oe[et].x-=yt*(Ze.x-b[0]),Oe[et].y-=yt*(Ze.y-b[1])}}),v.forEach(function(Ze,et){if(sl(Ze.fx)&&sl(Ze.fy)){Ze.x=Ze.fx,Ze.y=Ze.fy;return}if(!(!sl(Ze.x)||!sl(Ze.y))){var yt=Math.sqrt(Oe[et].x*Oe[et].x+Oe[et].y*Oe[et].y);if(yt>0){var jt=Math.min(ae*(I/soe),yt);Ze.x+=Oe[et].x/yt*jt,Ze.y+=Oe[et].y/yt*jt}}}),(r=d.tick)===null||r===void 0||r.call(d)}}},{key:"applyCalculate",value:function(t,r,d,v,g){var b=this;b.calRepulsive(t,d,g),r&&b.calAttractive(r,d,v)}},{key:"calRepulsive",value:function(t,r,d){t.forEach(function(v,g){r[g]={x:0,y:0},t.forEach(function(b,P){if(g!==P&&!(!sl(v.x)||!sl(b.x)||!sl(v.y)||!sl(b.y))){var I=v.x-b.x,V=v.y-b.y,K=I*I+V*V;if(K===0){K=1;var ae=g>P?1:-1;I=.01*ae,V=.01*ae}var ue=d/K;r[g].x+=I*ue,r[g].y+=V*ue}})})}},{key:"calAttractive",value:function(t,r,d){var v=this;t.forEach(function(g){var b=gf(g,"source"),P=gf(g,"target");if(!(!b||!P)){var I=v.nodeIdxMap[b],V=v.nodeIdxMap[P];if(I!==V){var K=v.nodeMap[b],ae=v.nodeMap[P];if(!(!sl(ae.x)||!sl(K.x)||!sl(ae.y)||!sl(K.y))){var ue=ae.x-K.x,ve=ae.y-K.y,Oe=Math.sqrt(ue*ue+ve*ve),ke=Oe*Oe/d;r[V].x-=ue/Oe*ke,r[V].y-=ve/Oe*ke,r[I].x+=ue/Oe*ke,r[I].y+=ve/Oe*ke}}}})}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){var t=this;t.stop(),t.tick=null,t.nodes=null,t.edges=null,t.destroyed=!0}},{key:"getType",value:function(){return"fruchterman"}}]),c}(Wv),bce=l("yXPU"),hy=l.n(bce),Oce=l("lSNA"),yl=l.n(Oce),loe=l("lwsE"),cm=l.n(loe),uoe=l("W8MJ"),Kv=l.n(uoe),doe=l("c6wG"),pP=l.n(doe),Cce=l("UB5X"),foe=l.n(Cce),Ece=l("Z0cm"),poe=l.n(Ece),xce=l("o0o1"),Yv=l.n(xce),RE=-1,Sce=1;function v0(){return Sce++}var wce=Kv()(function u(i){cm()(this,u)}),voe=function(){function u(i){cm()(this,u),this.clazz=void 0,this.components=[],this.entities=[],this.lookup={},this.clazz=i}return Kv()(u,[{key:"clear",value:function(){this.components=[],this.entities=[],this.lookup={}}},{key:"contains",value:function(c){return this.lookup[c]>-1}},{key:"create",value:function(c,o){this.lookup[c]=this.components.length;var t=new this.clazz(o||{});return this.components.push(t),this.entities.push(c),t}},{key:"remove",value:function(c){var o=this.lookup[c];o>-1&&o<this.components.length-1&&(this.components[o]=this.components[this.components.length-1],this.entities[o]=this.entities[this.entities.length-1],this.lookup[this.entities[o]]=o),this.components.pop(),this.entities.pop(),delete this.lookup[c]}},{key:"removeKeepSorted",value:function(c){var o=this.lookup[c];if(o>-1){var t=this.entities[o];if(o<this.components.length-1){for(var r=o+1;r<this.components.length;++r)this.components[r-1]=this.components[r];for(var d=o+1;d<this.entities.length;++d)this.entities[d-1]=this.entities[d],this.lookup[this.entities[d-1]]=d-1}this.components.pop(),this.entities.pop(),delete this.lookup[t]}}},{key:"moveItem",value:function(c,o){if(c!==o){for(var t=this.components[c],r=this.entities[c],d=c<o?1:-1,v=c;v!==o;v+=d){var g=v+d;this.components[v]=this.components[g],this.entities[v]=this.entities[g],this.lookup[this.entities[v]]=v}this.components[o]=t,this.entities[o]=r,this.lookup[r]=o}}},{key:"getEntity",value:function(c){return this.entities[c]}},{key:"getComponent",value:function(c){return this.components[c]}},{key:"getComponentByEntity",value:function(c){var o=this.lookup[c];return o>-1?this.components[o]:null}},{key:"getCount",value:function(){return this.components.length}},{key:"getEntityByComponentIndex",value:function(c){for(var o=0,t=Object.keys(this.lookup);o<t.length;o++){var r=t[o],d=Number(r);if(this.lookup[d]===c)return d}return RE}},{key:"find",value:function(c){for(var o=0;o<this.getCount();o++){var t=this.getComponent(o);if(c(t,o))return t}return null}},{key:"findIndex",value:function(c){for(var o=0;o<this.getCount();o++){var t=this.getComponent(o);if(c(t,o))return o}return-1}},{key:"forEach",value:function(c){for(var o=0,t=Object.keys(this.lookup);o<t.length;o++){var r=t[o],d=Number(r),v=this.lookup[d];c(d,this.getComponent(v))}}},{key:"forEachAsync",value:function(){var i=hy()(Yv.a.mark(function o(t){var r,d,v,g,b;return Yv.a.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:r=0,d=Object.keys(this.lookup);case 1:if(!(r<d.length)){I.next=10;break}return v=d[r],g=Number(v),b=this.lookup[g],I.next=7,t(g,this.getComponent(b));case 7:r++,I.next=1;break;case 10:case"end":return I.stop()}},o,this)}));function c(o){return i.apply(this,arguments)}return c}()},{key:"map",value:function(c){for(var o=[],t=0,r=Object.keys(this.lookup);t<r.length;t++){var d=r[t],v=Number(d),g=this.lookup[v];o.push(c(v,this.getComponent(g)))}return o}}]),u}(),Tc;(function(u){u[u.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",u[u.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",u[u.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",u[u.POINTS=0]="POINTS",u[u.LINES=1]="LINES",u[u.LINE_LOOP=2]="LINE_LOOP",u[u.LINE_STRIP=3]="LINE_STRIP",u[u.TRIANGLES=4]="TRIANGLES",u[u.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",u[u.TRIANGLE_FAN=6]="TRIANGLE_FAN",u[u.ZERO=0]="ZERO",u[u.ONE=1]="ONE",u[u.SRC_COLOR=768]="SRC_COLOR",u[u.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",u[u.SRC_ALPHA=770]="SRC_ALPHA",u[u.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",u[u.DST_ALPHA=772]="DST_ALPHA",u[u.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",u[u.DST_COLOR=774]="DST_COLOR",u[u.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",u[u.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",u[u.FUNC_ADD=32774]="FUNC_ADD",u[u.BLEND_EQUATION=32777]="BLEND_EQUATION",u[u.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",u[u.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",u[u.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",u[u.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",u[u.MAX_EXT=32776]="MAX_EXT",u[u.MIN_EXT=32775]="MIN_EXT",u[u.BLEND_DST_RGB=32968]="BLEND_DST_RGB",u[u.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",u[u.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",u[u.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",u[u.CONSTANT_COLOR=32769]="CONSTANT_COLOR",u[u.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",u[u.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",u[u.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",u[u.BLEND_COLOR=32773]="BLEND_COLOR",u[u.ARRAY_BUFFER=34962]="ARRAY_BUFFER",u[u.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",u[u.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",u[u.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",u[u.STREAM_DRAW=35040]="STREAM_DRAW",u[u.STATIC_DRAW=35044]="STATIC_DRAW",u[u.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",u[u.BUFFER_SIZE=34660]="BUFFER_SIZE",u[u.BUFFER_USAGE=34661]="BUFFER_USAGE",u[u.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",u[u.FRONT=1028]="FRONT",u[u.BACK=1029]="BACK",u[u.FRONT_AND_BACK=1032]="FRONT_AND_BACK",u[u.CULL_FACE=2884]="CULL_FACE",u[u.BLEND=3042]="BLEND",u[u.DITHER=3024]="DITHER",u[u.STENCIL_TEST=2960]="STENCIL_TEST",u[u.DEPTH_TEST=2929]="DEPTH_TEST",u[u.SCISSOR_TEST=3089]="SCISSOR_TEST",u[u.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",u[u.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",u[u.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",u[u.NO_ERROR=0]="NO_ERROR",u[u.INVALID_ENUM=1280]="INVALID_ENUM",u[u.INVALID_VALUE=1281]="INVALID_VALUE",u[u.INVALID_OPERATION=1282]="INVALID_OPERATION",u[u.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",u[u.CW=2304]="CW",u[u.CCW=2305]="CCW",u[u.LINE_WIDTH=2849]="LINE_WIDTH",u[u.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",u[u.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",u[u.CULL_FACE_MODE=2885]="CULL_FACE_MODE",u[u.FRONT_FACE=2886]="FRONT_FACE",u[u.DEPTH_RANGE=2928]="DEPTH_RANGE",u[u.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",u[u.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",u[u.DEPTH_FUNC=2932]="DEPTH_FUNC",u[u.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",u[u.STENCIL_FUNC=2962]="STENCIL_FUNC",u[u.STENCIL_FAIL=2964]="STENCIL_FAIL",u[u.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",u[u.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",u[u.STENCIL_REF=2967]="STENCIL_REF",u[u.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",u[u.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",u[u.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",u[u.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",u[u.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",u[u.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",u[u.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",u[u.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",u[u.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",u[u.VIEWPORT=2978]="VIEWPORT",u[u.SCISSOR_BOX=3088]="SCISSOR_BOX",u[u.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",u[u.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",u[u.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",u[u.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",u[u.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",u[u.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",u[u.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",u[u.RED_BITS=3410]="RED_BITS",u[u.GREEN_BITS=3411]="GREEN_BITS",u[u.BLUE_BITS=3412]="BLUE_BITS",u[u.ALPHA_BITS=3413]="ALPHA_BITS",u[u.DEPTH_BITS=3414]="DEPTH_BITS",u[u.STENCIL_BITS=3415]="STENCIL_BITS",u[u.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",u[u.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",u[u.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",u[u.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",u[u.SAMPLES=32937]="SAMPLES",u[u.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",u[u.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",u[u.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",u[u.DONT_CARE=4352]="DONT_CARE",u[u.FASTEST=4353]="FASTEST",u[u.NICEST=4354]="NICEST",u[u.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",u[u.BYTE=5120]="BYTE",u[u.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",u[u.SHORT=5122]="SHORT",u[u.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",u[u.INT=5124]="INT",u[u.UNSIGNED_INT=5125]="UNSIGNED_INT",u[u.FLOAT=5126]="FLOAT",u[u.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",u[u.ALPHA=6406]="ALPHA",u[u.RGB=6407]="RGB",u[u.RGBA=6408]="RGBA",u[u.LUMINANCE=6409]="LUMINANCE",u[u.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",u[u.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",u[u.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",u[u.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",u[u.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",u[u.VERTEX_SHADER=35633]="VERTEX_SHADER",u[u.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",u[u.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",u[u.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",u[u.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",u[u.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",u[u.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",u[u.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",u[u.SHADER_TYPE=35663]="SHADER_TYPE",u[u.DELETE_STATUS=35712]="DELETE_STATUS",u[u.LINK_STATUS=35714]="LINK_STATUS",u[u.VALIDATE_STATUS=35715]="VALIDATE_STATUS",u[u.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",u[u.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",u[u.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",u[u.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",u[u.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",u[u.NEVER=512]="NEVER",u[u.LESS=513]="LESS",u[u.EQUAL=514]="EQUAL",u[u.LEQUAL=515]="LEQUAL",u[u.GREATER=516]="GREATER",u[u.NOTEQUAL=517]="NOTEQUAL",u[u.GEQUAL=518]="GEQUAL",u[u.ALWAYS=519]="ALWAYS",u[u.KEEP=7680]="KEEP",u[u.REPLACE=7681]="REPLACE",u[u.INCR=7682]="INCR",u[u.DECR=7683]="DECR",u[u.INVERT=5386]="INVERT",u[u.INCR_WRAP=34055]="INCR_WRAP",u[u.DECR_WRAP=34056]="DECR_WRAP",u[u.VENDOR=7936]="VENDOR",u[u.RENDERER=7937]="RENDERER",u[u.VERSION=7938]="VERSION",u[u.NEAREST=9728]="NEAREST",u[u.LINEAR=9729]="LINEAR",u[u.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",u[u.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",u[u.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",u[u.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",u[u.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",u[u.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",u[u.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",u[u.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",u[u.TEXTURE_2D=3553]="TEXTURE_2D",u[u.TEXTURE=5890]="TEXTURE",u[u.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",u[u.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",u[u.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",u[u.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",u[u.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",u[u.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",u[u.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",u[u.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",u[u.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",u[u.TEXTURE0=33984]="TEXTURE0",u[u.TEXTURE1=33985]="TEXTURE1",u[u.TEXTURE2=33986]="TEXTURE2",u[u.TEXTURE3=33987]="TEXTURE3",u[u.TEXTURE4=33988]="TEXTURE4",u[u.TEXTURE5=33989]="TEXTURE5",u[u.TEXTURE6=33990]="TEXTURE6",u[u.TEXTURE7=33991]="TEXTURE7",u[u.TEXTURE8=33992]="TEXTURE8",u[u.TEXTURE9=33993]="TEXTURE9",u[u.TEXTURE10=33994]="TEXTURE10",u[u.TEXTURE11=33995]="TEXTURE11",u[u.TEXTURE12=33996]="TEXTURE12",u[u.TEXTURE13=33997]="TEXTURE13",u[u.TEXTURE14=33998]="TEXTURE14",u[u.TEXTURE15=33999]="TEXTURE15",u[u.TEXTURE16=34e3]="TEXTURE16",u[u.TEXTURE17=34001]="TEXTURE17",u[u.TEXTURE18=34002]="TEXTURE18",u[u.TEXTURE19=34003]="TEXTURE19",u[u.TEXTURE20=34004]="TEXTURE20",u[u.TEXTURE21=34005]="TEXTURE21",u[u.TEXTURE22=34006]="TEXTURE22",u[u.TEXTURE23=34007]="TEXTURE23",u[u.TEXTURE24=34008]="TEXTURE24",u[u.TEXTURE25=34009]="TEXTURE25",u[u.TEXTURE26=34010]="TEXTURE26",u[u.TEXTURE27=34011]="TEXTURE27",u[u.TEXTURE28=34012]="TEXTURE28",u[u.TEXTURE29=34013]="TEXTURE29",u[u.TEXTURE30=34014]="TEXTURE30",u[u.TEXTURE31=34015]="TEXTURE31",u[u.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",u[u.REPEAT=10497]="REPEAT",u[u.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",u[u.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",u[u.FLOAT_VEC2=35664]="FLOAT_VEC2",u[u.FLOAT_VEC3=35665]="FLOAT_VEC3",u[u.FLOAT_VEC4=35666]="FLOAT_VEC4",u[u.INT_VEC2=35667]="INT_VEC2",u[u.INT_VEC3=35668]="INT_VEC3",u[u.INT_VEC4=35669]="INT_VEC4",u[u.BOOL=35670]="BOOL",u[u.BOOL_VEC2=35671]="BOOL_VEC2",u[u.BOOL_VEC3=35672]="BOOL_VEC3",u[u.BOOL_VEC4=35673]="BOOL_VEC4",u[u.FLOAT_MAT2=35674]="FLOAT_MAT2",u[u.FLOAT_MAT3=35675]="FLOAT_MAT3",u[u.FLOAT_MAT4=35676]="FLOAT_MAT4",u[u.SAMPLER_2D=35678]="SAMPLER_2D",u[u.SAMPLER_CUBE=35680]="SAMPLER_CUBE",u[u.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",u[u.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",u[u.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",u[u.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",u[u.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",u[u.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",u[u.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",u[u.COMPILE_STATUS=35713]="COMPILE_STATUS",u[u.LOW_FLOAT=36336]="LOW_FLOAT",u[u.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",u[u.HIGH_FLOAT=36338]="HIGH_FLOAT",u[u.LOW_INT=36339]="LOW_INT",u[u.MEDIUM_INT=36340]="MEDIUM_INT",u[u.HIGH_INT=36341]="HIGH_INT",u[u.FRAMEBUFFER=36160]="FRAMEBUFFER",u[u.RENDERBUFFER=36161]="RENDERBUFFER",u[u.RGBA4=32854]="RGBA4",u[u.RGB5_A1=32855]="RGB5_A1",u[u.RGB565=36194]="RGB565",u[u.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",u[u.STENCIL_INDEX=6401]="STENCIL_INDEX",u[u.STENCIL_INDEX8=36168]="STENCIL_INDEX8",u[u.DEPTH_STENCIL=34041]="DEPTH_STENCIL",u[u.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",u[u.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",u[u.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",u[u.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",u[u.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",u[u.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",u[u.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",u[u.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",u[u.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",u[u.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",u[u.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",u[u.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",u[u.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",u[u.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",u[u.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",u[u.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",u[u.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",u[u.NONE=0]="NONE",u[u.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",u[u.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",u[u.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",u[u.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",u[u.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",u[u.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",u[u.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",u[u.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",u[u.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",u[u.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",u[u.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",u[u.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",u[u.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",u[u.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",u[u.COPY_SRC=1]="COPY_SRC",u[u.COPY_DST=2]="COPY_DST",u[u.SAMPLED=4]="SAMPLED",u[u.STORAGE=8]="STORAGE",u[u.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"})(Tc||(Tc={}));var _4=function(){function u(){cm()(this,u),this.config=void 0}return Kv()(u,[{key:"get",value:function(){return this.config}},{key:"set",value:function(c){this.config=c}}]),u}(),Tce=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),Iw;(function(u){u.Void="Void",u.Boolean="Boolean",u.Float="Float",u.Uint32="Uint32",u.Int32="Int32",u.Vector="Vector",u.Vector2Float="vec2<f32>",u.Vector3Float="vec3<f32>",u.Vector4Float="vec4<f32>",u.Vector2Boolean="vec2<bool>",u.Vector3Boolean="vec3<bool>",u.Vector4Boolean="vec4<bool>",u.Vector2Uint="vec2<u32>",u.Vector3Uint="vec3<u32>",u.Vector4Uint="vec4<u32>",u.Vector2Int="vec2<i32>",u.Vector3Int="vec3<i32>",u.Vector4Int="vec4<i32>",u.Matrix="Matrix",u.Matrix3x3Float="mat3x3<f32>",u.Matrix4x4Float="mat4x4<i32>",u.Struct="Struct",u.FloatArray="Float[]",u.Vector4FloatArray="vec4<f32>[]"})(Iw||(Iw={}));var hG;(function(u){u.Program="Program",u.Identifier="Identifier",u.VariableDeclaration="VariableDeclaration",u.BlockStatement="BlockStatement",u.ReturnStatement="ReturnStatement",u.FunctionDeclaration="FunctionDeclaration",u.VariableDeclarator="VariableDeclarator",u.AssignmentExpression="AssignmentExpression",u.LogicalExpression="LogicalExpression",u.BinaryExpression="BinaryExpression",u.ArrayExpression="ArrayExpression",u.UnaryExpression="UnaryExpression",u.UpdateExpression="UpdateExpression",u.FunctionExpression="FunctionExpression",u.MemberExpression="MemberExpression",u.ConditionalExpression="ConditionalExpression",u.ExpressionStatement="ExpressionStatement",u.CallExpression="CallExpression",u.NumThreadStatement="NumThreadStatement",u.StorageStatement="StorageStatement",u.DoWhileStatement="DoWhileStatement",u.WhileStatement="WhileStatement",u.ForStatement="ForStatement",u.BreakStatement="BreakStatement",u.ContinueStatement="ContinueStatement",u.IfStatement="IfStatement",u.ImportedFunctionStatement="ImportedFunctionStatement"})(hG||(hG={}));var DE;(function(u){u.Input="Input",u.Output="Output",u.Uniform="Uniform",u.Workgroup="Workgroup",u.UniformConstant="UniformConstant",u.Image="Image",u.StorageBuffer="StorageBuffer",u.Private="Private",u.Function="Function"})(DE||(DE={}));var Nw;(function(u){u.GLSL100="GLSL100",u.GLSL450="GLSL450",u.WGSL="WGSL"})(Nw||(Nw={}));var hoe="__DefineValuePlaceholder__";function Rg(){if(typeof document!="undefined")return document.createElement("canvas");throw new Error("Cannot create a canvas in this context")}function gG(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function mG(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?gG(Object(c),!0).forEach(function(o){yl()(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):gG(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}var goe=function(){function u(i,c){cm()(this,u),this.engine=i,this.configService=c,this.model=void 0,this.dirty=!0,this.compiledBundle=void 0,this.initPromise=void 0}return Kv()(u,[{key:"init",value:function(){var c=this.configService.get(),o=c.canvas,t=c.engineOptions;this.initPromise=this.engine.init(mG({canvas:o||Rg(),antialiasing:!1},t))}},{key:"setBundle",value:function(c){this.compiledBundle=JSON.parse(JSON.stringify(c))}},{key:"setDispatch",value:function(c){return this.compiledBundle.context&&(this.compiledBundle.context.dispatch=c),this}},{key:"setMaxIteration",value:function(c){return this.compiledBundle.context&&(this.compiledBundle.context.maxIteration=c),this}},{key:"setBinding",value:function(c,o){var t=this;if(typeof c=="string"){var r=foe()(o)||pP()(o)||poe()(o);if(this.compiledBundle&&this.compiledBundle.context){var d=this.compiledBundle.context.defines.find(function(g){return g.name===c});if(d)return d.value=o,this;var v=this.compiledBundle.context.uniforms.find(function(g){return g.name===c});v&&(r?(v.data=o,v.isReferer=!1,v.storageClass===DE.Uniform?this.model&&this.model.updateUniform(c,o):this.model&&this.model.updateBuffer(c,o)):(v.isReferer=!0,v.data=o))}}else Object.keys(c).forEach(function(g){t.setBinding(g,c[g])});return this}},{key:"execute",value:function(){var i=hy()(Yv.a.mark(function o(){var t=this,r,d,v=arguments;return Yv.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(r=v.length>0&&v[0]!==void 0?v[0]:1,!this.dirty){b.next=6;break}return this.compiledBundle.context&&(r>1?this.compiledBundle.context.maxIteration=r:this.compiledBundle.context.maxIteration++),b.next=5,this.compile();case 5:this.dirty=!1;case 6:for(this.engine.beginFrame(),this.engine.clear({}),this.compiledBundle.context&&this.compiledBundle.context.uniforms.filter(function(P){var I=P.isReferer;return I}).forEach(function(P){var I=P.data,V=P.name;t.model.confirmInput(I.model,V)}),d=0;d<r;d++)this.model.run();return this.engine.endFrame(),b.abrupt("return",this);case 12:case"end":return b.stop()}},o,this)}));function c(){return i.apply(this,arguments)}return c}()},{key:"getOutput",value:function(){var i=hy()(Yv.a.mark(function o(){return Yv.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.model.readData());case 1:case"end":return r.stop()}},o,this)}));function c(){return i.apply(this,arguments)}return c}()},{key:"compile",value:function(){var i=hy()(Yv.a.mark(function o(){var t,r,d;return Yv.a.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.initPromise;case 2:return t=mG({},this.compiledBundle.context),r=this.engine.supportWebGPU?this.engine.useWGSL?Nw.WGSL:Nw.GLSL450:Nw.GLSL100,d=this.compiledBundle.shaders[r],t.defines.filter(function(b){return b.runtime}).forEach(function(b){var P="".concat(hoe).concat(b.name);d=d.replace(P,"".concat(b.value))}),t.shader=d,t.uniforms.forEach(function(b){if(!b.data&&b.storageClass===DE.StorageBuffer){var P=1;b.type===Iw.FloatArray?P=1:b.type===Iw.Vector4FloatArray&&(P=4),b.data=new Float32Array(t.output.length*P).fill(0)}}),this.compiledBundle.context=t,g.next=11,this.engine.createComputeModel(this.compiledBundle.context);case 11:this.model=g.sent;case 12:case"end":return g.stop()}},o,this)}));function c(){return i.apply(this,arguments)}return c}()}]),u}(),moe=l("fbvF"),Ace=l.n(moe),kce=function(){function u(i,c){cm()(this,u),this.attribute=void 0,this.buffer=void 0;var o=c.buffer,t=c.offset,r=c.stride,d=c.normalized,v=c.size,g=c.divisor;this.buffer=o,this.attribute={buffer:o.get(),offset:t||0,stride:r||0,normalized:d||!1,divisor:g||0},v&&(this.attribute.size=v)}return Kv()(u,[{key:"get",value:function(){return this.attribute}},{key:"updateBuffer",value:function(c){this.buffer.subData(c)}},{key:"destroy",value:function(){this.buffer.destroy()}}]),u}(),Ib,Lw,Nb,d_,Fw,gy,Uw,uh,h0,Lb,dh,gg,f_,Bw,_oe=(Ib={},yl()(Ib,Tc.POINTS,"points"),yl()(Ib,Tc.LINES,"lines"),yl()(Ib,Tc.LINE_LOOP,"line loop"),yl()(Ib,Tc.LINE_STRIP,"line strip"),yl()(Ib,Tc.TRIANGLES,"triangles"),yl()(Ib,Tc.TRIANGLE_FAN,"triangle fan"),yl()(Ib,Tc.TRIANGLE_STRIP,"triangle strip"),Ib),_G=(Lw={},yl()(Lw,Tc.STATIC_DRAW,"static"),yl()(Lw,Tc.DYNAMIC_DRAW,"dynamic"),yl()(Lw,Tc.STREAM_DRAW,"stream"),Lw),yG=(Nb={},yl()(Nb,Tc.BYTE,"int8"),yl()(Nb,Tc.UNSIGNED_INT,"int16"),yl()(Nb,Tc.INT,"int32"),yl()(Nb,Tc.UNSIGNED_BYTE,"uint8"),yl()(Nb,Tc.UNSIGNED_SHORT,"uint16"),yl()(Nb,Tc.UNSIGNED_INT,"uint32"),yl()(Nb,Tc.FLOAT,"float"),Nb),yoe=(d_={},yl()(d_,Tc.ALPHA,"alpha"),yl()(d_,Tc.LUMINANCE,"luminance"),yl()(d_,Tc.LUMINANCE_ALPHA,"luminance alpha"),yl()(d_,Tc.RGB,"rgb"),yl()(d_,Tc.RGBA,"rgba"),yl()(d_,Tc.RGBA4,"rgba4"),yl()(d_,Tc.RGB5_A1,"rgb5 a1"),yl()(d_,Tc.RGB565,"rgb565"),yl()(d_,Tc.DEPTH_COMPONENT,"depth"),yl()(d_,Tc.DEPTH_STENCIL,"depth stencil"),d_),boe=(Fw={},yl()(Fw,Tc.DONT_CARE,"dont care"),yl()(Fw,Tc.NICEST,"nice"),yl()(Fw,Tc.FASTEST,"fast"),Fw),Ooe=(gy={},yl()(gy,Tc.NEAREST,"nearest"),yl()(gy,Tc.LINEAR,"linear"),yl()(gy,Tc.LINEAR_MIPMAP_LINEAR,"mipmap"),yl()(gy,Tc.NEAREST_MIPMAP_LINEAR,"nearest mipmap linear"),yl()(gy,Tc.LINEAR_MIPMAP_NEAREST,"linear mipmap nearest"),yl()(gy,Tc.NEAREST_MIPMAP_NEAREST,"nearest mipmap nearest"),gy),a=(Uw={},yl()(Uw,Tc.REPEAT,"repeat"),yl()(Uw,Tc.CLAMP_TO_EDGE,"clamp"),yl()(Uw,Tc.MIRRORED_REPEAT,"mirror"),Uw),n=(uh={},yl()(uh,Tc.NONE,"none"),yl()(uh,Tc.BROWSER_DEFAULT_WEBGL,"browser"),uh),e=(h0={},yl()(h0,Tc.NEVER,"never"),yl()(h0,Tc.ALWAYS,"always"),yl()(h0,Tc.LESS,"less"),yl()(h0,Tc.LEQUAL,"lequal"),yl()(h0,Tc.GREATER,"greater"),yl()(h0,Tc.GEQUAL,"gequal"),yl()(h0,Tc.EQUAL,"equal"),yl()(h0,Tc.NOTEQUAL,"notequal"),h0),s=(Lb={},yl()(Lb,Tc.FUNC_ADD,"add"),yl()(Lb,Tc.MIN_EXT,"min"),yl()(Lb,Tc.MAX_EXT,"max"),yl()(Lb,Tc.FUNC_SUBTRACT,"subtract"),yl()(Lb,Tc.FUNC_REVERSE_SUBTRACT,"reverse subtract"),Lb),f=(dh={},yl()(dh,Tc.ZERO,"zero"),yl()(dh,Tc.ONE,"one"),yl()(dh,Tc.SRC_COLOR,"src color"),yl()(dh,Tc.ONE_MINUS_SRC_COLOR,"one minus src color"),yl()(dh,Tc.SRC_ALPHA,"src alpha"),yl()(dh,Tc.ONE_MINUS_SRC_ALPHA,"one minus src alpha"),yl()(dh,Tc.DST_COLOR,"dst color"),yl()(dh,Tc.ONE_MINUS_DST_COLOR,"one minus dst color"),yl()(dh,Tc.DST_ALPHA,"dst alpha"),yl()(dh,Tc.ONE_MINUS_DST_ALPHA,"one minus dst alpha"),yl()(dh,Tc.CONSTANT_COLOR,"constant color"),yl()(dh,Tc.ONE_MINUS_CONSTANT_COLOR,"one minus constant color"),yl()(dh,Tc.CONSTANT_ALPHA,"constant alpha"),yl()(dh,Tc.ONE_MINUS_CONSTANT_ALPHA,"one minus constant alpha"),yl()(dh,Tc.SRC_ALPHA_SATURATE,"src alpha saturate"),dh),p=(gg={},yl()(gg,Tc.NEVER,"never"),yl()(gg,Tc.ALWAYS,"always"),yl()(gg,Tc.LESS,"less"),yl()(gg,Tc.LEQUAL,"lequal"),yl()(gg,Tc.GREATER,"greater"),yl()(gg,Tc.GEQUAL,"gequal"),yl()(gg,Tc.EQUAL,"equal"),yl()(gg,Tc.NOTEQUAL,"notequal"),gg),h=(f_={},yl()(f_,Tc.ZERO,"zero"),yl()(f_,Tc.KEEP,"keep"),yl()(f_,Tc.REPLACE,"replace"),yl()(f_,Tc.INVERT,"invert"),yl()(f_,Tc.INCR,"increment"),yl()(f_,Tc.DECR,"decrement"),yl()(f_,Tc.INCR_WRAP,"increment wrap"),yl()(f_,Tc.DECR_WRAP,"decrement wrap"),f_),_=(Bw={},yl()(Bw,Tc.FRONT,"front"),yl()(Bw,Tc.BACK,"back"),Bw),M=function(){function u(i,c){cm()(this,u),this.buffer=void 0;var o=c.data,t=c.usage,r=c.type;this.buffer=i.buffer({data:o,usage:_G[t||Tc.STATIC_DRAW],type:yG[r||Tc.UNSIGNED_BYTE]})}return Kv()(u,[{key:"get",value:function(){return this.buffer}},{key:"destroy",value:function(){}},{key:"subData",value:function(c){var o=c.data,t=c.offset;this.buffer.subdata(o,t)}}]),u}(),L=l("RIqP"),z=l.n(L);function Y(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function q(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?Y(Object(c),!0).forEach(function(o){yl()(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):Y(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}var se=`attribute vec3 a_Position;
attribute vec2 a_TexCoord;
varying vec2 v_TexCoord;
void main() {
gl_Position = vec4(a_Position, 1.0);
v_TexCoord = a_TexCoord;
}`,ye=0,je=!1,De=function(){function u(i,c){var o=this;cm()(this,u),this.reGl=i,this.context=c,this.entity=v0(),this.texFBO=void 0,this.computeCommand=void 0,this.textureCache={},this.outputTextureName=void 0,this.swapOutputTextureName=void 0,this.compiledPingpong=void 0,this.dynamicPingpong=void 0;var t={};this.context.uniforms.forEach(function(b){var P=b.name,I=b.type,V=b.data,K=b.isReferer,ae=b.storageClass;if(ae===DE.StorageBuffer){if(K)o.textureCache[P]={data:void 0},t["".concat(P,"Size")]=function(){return V.compiledBundle.context.output.textureSize};else{o.textureCache[P]=o.calcDataTexture(P,I,V);var ue=o.textureCache[P],ve=ue.textureWidth,Oe=ue.isOutput;t["".concat(P,"Size")]=[ve,ve],Oe&&(o.outputTextureName=P,o.context.needPingpong&&(o.outputTextureName="".concat(P,"Output"),o.textureCache[o.outputTextureName]=o.calcDataTexture(P,I,V)))}t[P]=function(){return je&&console.log("[".concat(o.entity,"]: ").concat(P," ").concat(o.textureCache[P].id)),o.textureCache[P].texture}}else if(ae===DE.Uniform){if(V&&(Array.isArray(V)||pP()(V))&&V.length>16)throw new Error("invalid data type ".concat(I));t[P]=function(){return b.data}}});var r=this.getOuputDataTexture(),d=r.textureWidth,v=r.texelCount;t.u_OutputTextureSize=[d,d],t.u_OutputTexelCount=v,this.context.output.textureSize=[d,d];var g={attributes:{a_Position:[[-1,1,0],[-1,-1,0],[1,1,0],[1,-1,0]],a_TexCoord:[[0,1],[0,0],[1,1],[1,0]]},frag:`#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
`.concat(this.context.shader),uniforms:t,vert:se,primitive:"triangle strip",count:4};this.computeCommand=this.reGl(g)}return Kv()(u,[{key:"run",value:function(){var c=this;this.context.maxIteration>1&&this.context.needPingpong&&(this.compiledPingpong=!0),(this.compiledPingpong||this.dynamicPingpong)&&this.swap(),this.texFBO=this.reGl.framebuffer({color:this.getOuputDataTexture().texture}),this.texFBO.use(function(){c.computeCommand()}),je&&console.log("[".concat(this.entity,"]: output ").concat(this.getOuputDataTexture().id))}},{key:"readData",value:function(){var i=hy()(Yv.a.mark(function o(){var t=this,r,d,v,g,b,P,I,V;return Yv.a.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){r=t.reGl.read()}),!r){ae.next=6;break}if(d=this.getOuputDataTexture(),v=d.originalDataLength,g=d.elementsPerTexel,b=d.typedArrayConstructor,P=b===void 0?Float32Array:b,I=[],g!==4)for(V=0;V<r.length;V+=4)g===1?I.push(r[V]):g===2?I.push(r[V],r[V+1]):I.push(r[V],r[V+1],r[V+2]);else I=r;return ae.abrupt("return",new P(I.slice(0,v)));case 6:return ae.abrupt("return",new Float32Array);case 7:case"end":return ae.stop()}},o,this)}));function c(){return i.apply(this,arguments)}return c}()},{key:"confirmInput",value:function(c,o){var t;this.entity===c.entity?(this.dynamicPingpong=!0,t=this):t=c,this.textureCache[o].id=t.getOuputDataTexture().id,this.textureCache[o].texture=t.getOuputDataTexture().texture,je&&console.log("[".concat(this.entity,"]: confirm input ").concat(o," from model ").concat(t.entity,", ").concat(t.getOuputDataTexture().id))}},{key:"updateUniform",value:function(){}},{key:"updateBuffer",value:function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=this.context.uniforms.find(function(b){var P=b.name;return P===c});if(r){var d=this.calcDataTexture(c,r.type,o),v=d.texture,g=d.data;this.textureCache[c].data=g,this.textureCache[c].texture=v}}},{key:"destroy",value:function(){}},{key:"swap",value:function(){if(this.swapOutputTextureName||this.createSwapOutputDataTexture(),this.compiledPingpong){var c=this.context.output.name;this.textureCache[c].id=this.getOuputDataTexture().id,this.textureCache[c].texture=this.getOuputDataTexture().texture}var o=this.outputTextureName;this.outputTextureName=this.swapOutputTextureName,this.swapOutputTextureName=o,je&&console.log("[".concat(this.entity,"]: after swap, output ").concat(this.getOuputDataTexture().id))}},{key:"getOuputDataTexture",value:function(){return this.textureCache[this.outputTextureName]}},{key:"createSwapOutputDataTexture",value:function(){var c=this.cloneDataTexture(this.getOuputDataTexture());this.swapOutputTextureName="".concat(this.entity,"-swap"),this.textureCache[this.swapOutputTextureName]=c}},{key:"cloneDataTexture",value:function(c){var o=c.data,t=c.textureWidth;return q(q({},c),{},{id:ye++,texture:this.reGl.texture({width:t,height:t,data:o,type:"float"})})}},{key:"calcDataTexture",value:function(c,o,t){var r=1;o===Iw.Vector4FloatArray&&(r=4);for(var d=[],v=0;v<t.length;v+=r)r===1?d.push(t[v],0,0,0):r===2?d.push(t[v],t[v+1],0,0):r===3?d.push(t[v],t[v+1],t[v+2],0):r===4&&d.push(t[v],t[v+1],t[v+2],t[v+3]);var g=t.length,b=Math.ceil(g/r),P=Math.ceil(Math.sqrt(b)),I=P*P;b<I&&d.push.apply(d,z()(new Array((I-b)*4).fill(0)));var V=this.reGl.texture({width:P,height:P,data:d,type:"float"});return{id:ye++,data:d,originalDataLength:g,typedArrayConstructor:pP()(t)?t.constructor:void 0,textureWidth:P,texture:V,texelCount:b,elementsPerTexel:r,isOutput:c===this.context.output.name}}}]),u}(),We=function(){function u(i,c){cm()(this,u),this.elements=void 0;var o=c.data,t=c.usage,r=c.type,d=c.count;this.elements=i.elements({data:o,usage:_G[t||Tc.STATIC_DRAW],type:yG[r||Tc.UNSIGNED_BYTE],count:d})}return Kv()(u,[{key:"get",value:function(){return this.elements}},{key:"subData",value:function(c){var o=c.data;this.elements.subdata(o)}},{key:"destroy",value:function(){this.elements.destroy()}}]),u}(),st=function(){function u(i,c){cm()(this,u),this.framebuffer=void 0;var o=c.width,t=c.height,r=c.color,d=c.colors,v=c.depth,g=c.stencil,b={width:o,height:t};Array.isArray(d)&&(b.colors=d.map(function(P){return P.get()})),r&&typeof r!="boolean"&&(b.color=r.get()),this.framebuffer=i.framebuffer(b)}return Kv()(u,[{key:"get",value:function(){return this.framebuffer}},{key:"destroy",value:function(){this.framebuffer.destroy()}},{key:"resize",value:function(c){var o=c.width,t=c.height;this.framebuffer.resize(o,t)}}]),u}(),dt=l("cDf5"),Mt=l.n(dt),nn=l("YO3V"),rn=l.n(nn);function Cn(u){var i={};return Object.keys(u).forEach(function(c){er(c,u[c],i,"")}),i}function er(u,i,c,o){if(i===null||typeof i=="number"||typeof i=="boolean"||Array.isArray(i)&&typeof i[0]=="number"||pP()(i)||i===""||i.resize!==void 0){c["".concat(o&&o+".").concat(u)]=i;return}rn()(i)&&Object.keys(i).forEach(function(t){er(t,i[t],c,"".concat(o&&o+".").concat(u))}),Array.isArray(i)&&i.forEach(function(t,r){Object.keys(t).forEach(function(d){er(d,t[d],c,"".concat(o&&o+".").concat(u,"[").concat(r,"]"))})})}function ir(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);i&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable})),c.push.apply(c,o)}return c}function dr(u){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?ir(Object(c),!0).forEach(function(o){yl()(u,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(c)):ir(Object(c)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(c,o))})}return u}var pr=function(){function u(i,c){cm()(this,u),this.reGl=void 0,this.drawCommand=void 0,this.uniforms={},this.reGl=i;var o=c.vs,t=c.fs,r=c.defines,d=c.attributes,v=c.uniforms,g=c.primitive,b=c.count,P=c.elements,I=c.depth,V=c.blend,K=c.stencil,ae=c.cull,ue=c.instances,ve=c.scissor,Oe=c.viewport,ke={};v&&(this.uniforms=Cn(v),Object.keys(v).forEach(function(et){ke[et]=i.prop(et)}));var Ie={};Object.keys(d).forEach(function(et){Ie[et]=d[et].get()});var Ye=r&&this.generateDefines(r)||"",Ze={attributes:Ie,frag:`#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
`.concat(Ye,`
`).concat(t),uniforms:ke,vert:`
`.concat(Ye,`
`).concat(o),primitive:_oe[g===void 0?Tc.TRIANGLES:g]};ue&&(Ze.instances=ue),b&&(Ze.count=b),P&&(Ze.elements=P.get()),ve&&(Ze.scissor=ve),Oe&&(Ze.viewport=Oe),this.initDepthDrawParams({depth:I},Ze),this.initBlendDrawParams({blend:V},Ze),this.initStencilDrawParams({stencil:K},Ze),this.initCullDrawParams({cull:ae},Ze),this.drawCommand=i(Ze)}return Kv()(u,[{key:"addUniforms",value:function(c){this.uniforms=dr(dr({},this.uniforms),Cn(c))}},{key:"draw",value:function(c){var o=dr(dr({},this.uniforms),Cn(c.uniforms||{})),t={};Object.keys(o).forEach(function(r){var d=Mt()(o[r]);d==="boolean"||d==="number"||Array.isArray(o[r])||o[r].BYTES_PER_ELEMENT?t[r]=o[r]:d==="string"||(t[r]=o[r].get())}),this.drawCommand(t)}},{key:"destroy",value:function(){}},{key:"initDepthDrawParams",value:function(c,o){var t=c.depth;t&&(o.depth={enable:t.enable===void 0?!0:!!t.enable,mask:t.mask===void 0?!0:!!t.mask,func:e[t.func||Tc.LESS],range:t.range||[0,1]})}},{key:"initBlendDrawParams",value:function(c,o){var t=c.blend;if(t){var r=t.enable,d=t.func,v=t.equation,g=t.color,b=g===void 0?[0,0,0,0]:g;o.blend={enable:!!r,func:{srcRGB:f[d&&d.srcRGB||Tc.SRC_ALPHA],srcAlpha:f[d&&d.srcAlpha||Tc.SRC_ALPHA],dstRGB:f[d&&d.dstRGB||Tc.ONE_MINUS_SRC_ALPHA],dstAlpha:f[d&&d.dstAlpha||Tc.ONE_MINUS_SRC_ALPHA]},equation:{rgb:s[v&&v.rgb||Tc.FUNC_ADD],alpha:s[v&&v.alpha||Tc.FUNC_ADD]},color:b}}}},{key:"initStencilDrawParams",value:function(c,o){var t=c.stencil;if(t){var r=t.enable,d=t.mask,v=d===void 0?-1:d,g=t.func,b=g===void 0?{cmp:Tc.ALWAYS,ref:0,mask:-1}:g,P=t.opFront,I=P===void 0?{fail:Tc.KEEP,zfail:Tc.KEEP,zpass:Tc.KEEP}:P,V=t.opBack,K=V===void 0?{fail:Tc.KEEP,zfail:Tc.KEEP,zpass:Tc.KEEP}:V;o.stencil={enable:!!r,mask:v,func:dr(dr({},b),{},{cmp:p[b.cmp]}),opFront:{fail:h[I.fail],zfail:h[I.zfail],zpass:h[I.zpass]},opBack:{fail:h[K.fail],zfail:h[K.zfail],zpass:h[K.zpass]}}}}},{key:"initCullDrawParams",value:function(c,o){var t=c.cull;if(t){var r=t.enable,d=t.face,v=d===void 0?Tc.BACK:d;o.cull={enable:!!r,face:_[v]}}}},{key:"generateDefines",value:function(c){return Object.keys(c).map(function(o){return"#define ".concat(o," ").concat(Number(c[o]))}).join(`
`)}}]),u}(),ia=function(){function u(i,c){cm()(this,u),this.texture=void 0,this.width=void 0,this.height=void 0;var o=c.data,t=c.type,r=t===void 0?Tc.UNSIGNED_BYTE:t,d=c.width,v=c.height,g=c.flipY,b=g===void 0?!1:g,P=c.format,I=P===void 0?Tc.RGBA:P,V=c.mipmap,K=V===void 0?!1:V,ae=c.wrapS,ue=ae===void 0?Tc.CLAMP_TO_EDGE:ae,ve=c.wrapT,Oe=ve===void 0?Tc.CLAMP_TO_EDGE:ve,ke=c.aniso,Ie=ke===void 0?0:ke,Ye=c.alignment,Ze=Ye===void 0?1:Ye,et=c.premultiplyAlpha,yt=et===void 0?!1:et,jt=c.mag,Ft=jt===void 0?Tc.NEAREST:jt,Ht=c.min,Gt=Ht===void 0?Tc.NEAREST:Ht,Jt=c.colorSpace,mn=Jt===void 0?Tc.BROWSER_DEFAULT_WEBGL:Jt;this.width=d,this.height=v;var vn={width:d,height:v,type:yG[r],format:yoe[I],wrapS:a[ue],wrapT:a[Oe],mag:Ooe[Ft],min:Ooe[Gt],alignment:Ze,flipY:b,colorSpace:n[mn],premultiplyAlpha:yt,aniso:Ie};o&&(vn.data=o),typeof K=="number"?vn.mipmap=boe[K]:typeof K=="boolean"&&(vn.mipmap=K),this.texture=i.texture(vn)}return Kv()(u,[{key:"get",value:function(){return this.texture}},{key:"update",value:function(){this.texture._texture.bind()}},{key:"resize",value:function(c){var o=c.width,t=c.height;this.texture.resize(o,t),this.width=o,this.height=t}},{key:"destroy",value:function(){this.texture.destroy()}}]),u}(),pa=function(){function u(){var i=this;cm()(this,u),this.supportWebGPU=!1,this.useWGSL=!1,this.$canvas=void 0,this.gl=void 0,this.inited=void 0,this.createModel=function(){var c=hy()(Yv.a.mark(function o(t){return Yv.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!t.uniforms){d.next=3;break}return d.next=3,Promise.all(Object.keys(t.uniforms).map(function(){var v=hy()(Yv.a.mark(function g(b){var P;return Yv.a.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(!(t.uniforms[b]&&t.uniforms[b].load!==void 0)){V.next=5;break}return V.next=3,t.uniforms[b].load();case 3:P=V.sent,t.uniforms[b]=P;case 5:case"end":return V.stop()}},g)}));return function(g){return v.apply(this,arguments)}}()));case 3:return d.abrupt("return",new pr(i.gl,t));case 4:case"end":return d.stop()}},o)}));return function(o){return c.apply(this,arguments)}}(),this.createAttribute=function(c){return new kce(i.gl,c)},this.createBuffer=function(c){return new M(i.gl,c)},this.createElements=function(c){return new We(i.gl,c)},this.createTexture2D=function(c){return new ia(i.gl,c)},this.createFramebuffer=function(c){return new st(i.gl,c)},this.useFramebuffer=function(c,o){i.gl({framebuffer:c?c.get():null})(o)},this.createComputeModel=function(){var c=hy()(Yv.a.mark(function o(t){return Yv.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",new De(i.gl,t));case 1:case"end":return d.stop()}},o)}));return function(o){return c.apply(this,arguments)}}(),this.clear=function(c){var o=c.color,t=c.depth,r=c.stencil,d=c.framebuffer,v=d===void 0?null:d,g={color:o,depth:t,stencil:r};g.framebuffer=v===null?v:v.get(),i.gl.clear(g)},this.setScissor=function(c){i.gl&&i.gl._gl&&(c.enable&&c.box?(i.gl._gl.enable(Tc.SCISSOR_TEST),i.gl._gl.scissor(c.box.x,c.box.y,c.box.width,c.box.height)):i.gl._gl.disable(Tc.SCISSOR_TEST),i.gl._refresh())},this.viewport=function(c){var o=c.x,t=c.y,r=c.width,d=c.height;i.gl&&i.gl._gl&&(i.gl._gl.viewport(o,t,r,d),i.gl._refresh())},this.readPixels=function(c){var o=c.framebuffer,t=c.x,r=c.y,d=c.width,v=c.height,g={x:t,y:r,width:d,height:v};return o&&(g.framebuffer=o.get()),i.gl.read(g)},this.getCanvas=function(){return i.$canvas},this.getGLContext=function(){return i.gl._gl},this.destroy=function(){i.gl&&(i.gl.destroy(),i.inited=!1)}}return Kv()(u,[{key:"init",value:function(){var i=hy()(Yv.a.mark(function o(t){return Yv.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!this.inited){d.next=2;break}return d.abrupt("return");case 2:return this.$canvas=t.canvas,d.next=5,new Promise(function(v,g){Ace()({canvas:t.canvas,attributes:{alpha:!0,antialias:t.antialias,premultipliedAlpha:!0},pixelRatio:1,extensions:["OES_element_index_uint","OES_texture_float","OES_standard_derivatives","angle_instanced_arrays"],optionalExtensions:["EXT_texture_filter_anisotropic","EXT_blend_minmax","WEBGL_depth_texture"],profile:!0,onDone:function(P,I){(P||!I)&&g(P),v(I)}})});case 5:this.gl=d.sent,this.inited=!0;case 7:case"end":return d.stop()}},o,this)}));function c(o){return i.apply(this,arguments)}return c}()},{key:"isFloatSupported",value:function(){return this.gl.limits.readFloat}},{key:"beginFrame",value:function(){}},{key:"endFrame",value:function(){}}]),u}(),Ga=function(){function u(){cm()(this,u),this.engine=void 0,this.configService=new _4}return Kv()(u,[{key:"setConfig",value:function(c){this.configService.set(c)}},{key:"setEngine",value:function(c){this.engine=c}},{key:"createEntity",value:function(){return v0()}},{key:"createKernel",value:function(c){var o=new goe(this.engine,this.configService);return typeof c=="string"?o.setBundle(JSON.parse(c)):o.setBundle(c),o.init(),o}},{key:"destroy",value:function(){this.engine.destroy()}}],[{key:"create",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=new u;return o.setConfig(c),o.setEngine(new pa),o}}]),u}(),si=function(i,c){var o;return i?sl(i)?o=function(){return i}:o=i:o=function(){return c||1},o},Bi=function(i,c){var o=[],t=[],r={},d=0;for(d=0;d<i.length;d++){var v=i[d];r[v.id]=d,o.push(v.x),o.push(v.y),o.push(0),o.push(0),t.push([])}for(d=0;d<c.length;d++){var g=c[d],b=gf(g,"source"),P=gf(g,"target");!isNaN(r[b])&&!isNaN(r[P])&&(t[r[b]].push(r[P]),t[r[P]].push(r[b]))}var I=0;for(d=0;d<i.length;d++){var V=o.length,K=t[d],ae=K.length;o[d*4+2]=V,o[d*4+3]=ae,I=Math.max(I,ae);for(var ue=0;ue<ae;++ue){var ve=K[ue];o.push(+ve)}}for(;o.length%4!=0;)o.push(0);return{maxEdgePerVetex:I,array:new Float32Array(o)}},Go=function(i,c,o,t){var r=[],d=[],v={},g=0;for(g=0;g<i.length;g++){var b=i[g];v[b.id]=g,r.push(b.x),r.push(b.y),r.push(0),r.push(0),d.push([])}for(g=0;g<c.length;g++){var P=c[g],I=gf(P,"source"),V=gf(P,"target");d[v[I]].push(v[V]),d[v[I]].push(o(P)),d[v[I]].push(t(P)),d[v[I]].push(0),d[v[V]].push(v[I]),d[v[V]].push(o(P)),d[v[V]].push(t(P)),d[v[V]].push(0)}var K=0;for(g=0;g<i.length;g++){var ae=r.length,ue=d[g],ve=ue.length;r[g*4+2]=ae+1048576*ve/4,r[g*4+3]=0,K=Math.max(K,ve/4);for(var Oe=0;Oe<ve;++Oe){var ke=ue[Oe];r.push(+ke)}}for(;r.length%4!=0;)r.push(0);return{maxEdgePerVetex:K,array:new Float32Array(r)}},Lo=function(i,c){var o=[],t=i.length,r={};return c.forEach(function(d){i.forEach(function(v,g){if(r[d[v]]===void 0&&(r[d[v]]=Object.keys(r).length),o.push(r[d[v]]),g===t-1)for(;o.length%4!=0;)o.push(0)})}),{array:new Float32Array(o),count:Object.keys(r).length}},Rs=function(i){for(var c=[],o=i.length,t=i[0].length,r=function(g){i.forEach(function(b,P){if(c.push(b[g]),P===o-1)for(;c.length%4!=0;)c.push(0)})},d=0;d<t;d++)r(d);return new Float32Array(c)},Ns=`
import { globalInvocationID } from 'g-webgpu';
const MAX_EDGE_PER_VERTEX;
const VERTEX_COUNT;
@numthreads(1, 1, 1)
class Fruchterman {
@in @out
u_Data: vec4[];
@in
u_K: float;
@in
u_K2: float;
@in
u_Center: vec2;
@in
u_Gravity: float;
@in
u_ClusterGravity: float;
@in
u_Speed: float;
@in
u_MaxDisplace: float;
@in
u_Clustering: float;
@in
u_AttributeArray: vec4[];
@in
u_ClusterCenters: vec4[];
calcRepulsive(i: int, currentNode: vec4): vec2 {
let dx = 0, dy = 0;
for (let j = 0; j < VERTEX_COUNT; j++) {
if (i != j) {
const nextNode = this.u_Data[j];
const xDist = currentNode[0] - nextNode[0];
const yDist = currentNode[1] - nextNode[1];
const dist = (xDist * xDist + yDist * yDist) + 0.01;
let param = this.u_K2 / dist;
if (dist > 0.0) {
dx += param * xDist;
dy += param * yDist;
if (xDist == 0 && yDist == 0) {
const sign = i < j ? 1 : -1;
dx += param * sign;
dy += param * sign;
}
}
}
}
return [dx, dy];
}
calcGravity(currentNode: vec4, nodeAttributes: vec4): vec2 { //
let dx = 0, dy = 0;
const vx = currentNode[0] - this.u_Center[0];
const vy = currentNode[1] - this.u_Center[1];
const gf = 0.01 * this.u_K * this.u_Gravity;
dx = gf * vx;
dy = gf * vy;
if (this.u_Clustering == 1) {
const clusterIdx = int(nodeAttributes[0]);
const center = this.u_ClusterCenters[clusterIdx];
const cvx = currentNode[0] - center[0];
const cvy = currentNode[1] - center[1];
const dist = sqrt(cvx * cvx + cvy * cvy) + 0.01;
const parma = this.u_K * this.u_ClusterGravity / dist;
dx += parma * cvx;
dy += parma * cvy;
}
return [dx, dy];
}
calcAttractive(i: int, currentNode: vec4): vec2 {
let dx = 0, dy = 0;
const arr_offset = int(floor(currentNode[2] + 0.5));
const length = int(floor(currentNode[3] + 0.5));
const node_buffer: vec4;
for (let p = 0; p < MAX_EDGE_PER_VERTEX; p++) {
if (p >= length) break;
const arr_idx = arr_offset + p;
// when arr_idx % 4 == 0 update currentNodedx_buffer
const buf_offset = arr_idx - arr_idx / 4 * 4;
if (p == 0 || buf_offset == 0) {
node_buffer = this.u_Data[int(arr_idx / 4)];
}
const float_j = buf_offset == 0 ? node_buffer[0] :
buf_offset == 1 ? node_buffer[1] :
buf_offset == 2 ? node_buffer[2] :
node_buffer[3];
const nextNode = this.u_Data[int(float_j)];
const xDist = currentNode[0] - nextNode[0];
const yDist = currentNode[1] - nextNode[1];
const dist = sqrt(xDist * xDist + yDist * yDist) + 0.01;
let attractiveF = dist / this.u_K;
if (dist > 0.0) {
dx -= xDist * attractiveF;
dy -= yDist * attractiveF;
if (xDist == 0 && yDist == 0) {
const sign = i < int(float_j) ? 1 : -1;
dx -= sign * attractiveF;
dy -= sign * attractiveF;
}
}
}
return [dx, dy];
}
@main
compute() {
const i = globalInvocationID.x;
const currentNode = this.u_Data[i];
let dx = 0, dy = 0;
if (i >= VERTEX_COUNT) {
this.u_Data[i] = currentNode;
return;
}
// [gravity, fx, fy, 0]
const nodeAttributes = this.u_AttributeArray[i];
if (nodeAttributes[1] != 0 && nodeAttributes[2] != 0) {
// the node is fixed
this.u_Data[i] = [
nodeAttributes[1],
nodeAttributes[2],
currentNode[2],
currentNode[3]
];
return;
}
// repulsive
const repulsive = this.calcRepulsive(i, currentNode);
dx += repulsive[0];
dy += repulsive[1];
// attractive
const attractive = this.calcAttractive(i, currentNode);
dx += attractive[0];
dy += attractive[1];
// gravity
const gravity = this.calcGravity(currentNode, nodeAttributes);
dx -= gravity[0];
dy -= gravity[1];
// speed
dx *= this.u_Speed;
dy *= this.u_Speed;
// move
const distLength = sqrt(dx * dx + dy * dy);
if (distLength > 0.0) {
const limitedDist = min(this.u_MaxDisplace * this.u_Speed, distLength);
this.u_Data[i] = [
currentNode[0] + dx / distLength * limitedDist,
currentNode[1] + dy / distLength * limitedDist,
currentNode[2],
currentNode[3]
];
}
}
}
`,Ds='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_K;\\nuniform float u_K2;\\nuniform vec2 u_Center;\\nuniform float u_Gravity;\\nuniform float u_ClusterGravity;\\nuniform float u_Speed;\\nuniform float u_MaxDisplace;\\nuniform float u_Clustering;\\nuniform sampler2D u_AttributeArray;\\nuniform vec2 u_AttributeArraySize;\\nvec4 getDatau_AttributeArray(vec2 address2D) {\\n return vec4(texture2D(u_AttributeArray, address2D).rgba);\\n}\\nvec4 getDatau_AttributeArray(float address1D) {\\n return getDatau_AttributeArray(addrTranslation_1Dto2D(address1D, u_AttributeArraySize));\\n}\\nvec4 getDatau_AttributeArray(int address1D) {\\n return getDatau_AttributeArray(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - u_Center.x;\\nfloat vy = currentNode.y - u_Center.y;\\nfloat gf = (0.01 * u_K) * u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = getDatau_ClusterCenters(clusterIdx);\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (u_K * u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes = getDatau_AttributeArray(i);\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w));\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= u_Speed;\\ndy *= u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(u_MaxDisplace * u_Speed, distLength);\\ngl_FragColor = vec4(vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_K","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_K2","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Center","type":"vec2<f32>","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Gravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterGravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Speed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_MaxDisplace","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Clustering","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AttributeArray","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}',yc=`
import { globalInvocationID } from 'g-webgpu';
const VERTEX_COUNT;
const CLUSTER_COUNT;
@numthreads(1, 1, 1)
class CalcCenter {
@in
u_Data: vec4[];
@in
u_NodeAttributes: vec4[]; // [[clusterIdx, 0, 0, 0], ...]
@in @out
u_ClusterCenters: vec4[]; // [[cx, cy, nodeCount, clusterIdx], ...]
@main
compute() {
const i = globalInvocationID.x;
const center = this.u_ClusterCenters[i];
let sumx = 0;
let sumy = 0;
let count = 0;
for (let j = 0; j < VERTEX_COUNT; j++) {
const attributes = this.u_NodeAttributes[j];
const clusterIdx = int(attributes[0]);
const vertex = this.u_Data[j];
if (clusterIdx == i) {
sumx += vertex.x;
sumy += vertex.y;
count += 1;
}
}
this.u_ClusterCenters[i] = [
sumx / count,
sumy / count,
count,
i
];
}
}
`,Zc='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributes;\\nuniform vec2 u_NodeAttributesSize;\\nvec4 getDatau_NodeAttributes(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributes, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributes(float address1D) {\\n return getDatau_NodeAttributes(addrTranslation_1Dto2D(address1D, u_NodeAttributesSize));\\n}\\nvec4 getDatau_NodeAttributes(int address1D) {\\n return getDatau_NodeAttributes(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 center = getDatau_ClusterCenters(i);\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = getDatau_NodeAttributes(j);\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = getDatau_Data(j);\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngl_FragColor = vec4(vec4(sumx / count, sumy / count, count, i));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"CLUSTER_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributes","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_ClusterCenters","size":[1,1],"length":1},"needPingpong":true}}',$c=function(u,i,c,o){function t(r){return r instanceof c?r:new c(function(d){d(r)})}return new(c||(c=Promise))(function(r,d){function v(P){try{b(o.next(P))}catch(I){d(I)}}function g(P){try{b(o.throw(P))}catch(I){d(I)}}function b(P){P.done?r(P.value):t(P.value).then(v,g)}b((o=o.apply(u,i||[])).next())})},Nu=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.maxIteration=1e3,t.gravity=10,t.speed=1,t.clustering=!1,t.clusterField="cluster",t.clusterGravity=10,t.workerEnabled=!1,t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10}}},{key:"execute",value:function(){return $c(this,void 0,void 0,Object(Z.a)().mark(function t(){var r=this,d,v,g,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(d=this,v=d.nodes,!(!v||v.length===0)){V.next=5;break}return d.onLayoutEnd&&d.onLayoutEnd(),V.abrupt("return");case 5:if(!d.width&&typeof window!="undefined"&&(d.width=window.innerWidth),!d.height&&typeof window!="undefined"&&(d.height=window.innerHeight),d.center||(d.center=[d.width/2,d.height/2]),g=d.center,v.length!==1){V.next=14;break}return v[0].x=g[0],v[0].y=g[1],d.onLayoutEnd&&d.onLayoutEnd(),V.abrupt("return");case 14:return b={},P={},v.forEach(function(K,ae){sl(K.x)||(K.x=Math.random()*r.width),sl(K.y)||(K.y=Math.random()*r.height),b[K.id]=K,P[K.id]=ae}),d.nodeMap=b,d.nodeIdxMap=P,V.next=21,d.run();case 21:case"end":return V.stop()}},t,this)}))}},{key:"executeWithWorker",value:function(t,r){return $c(this,void 0,void 0,Object(Z.a)().mark(function d(){var v=this,g,b,P,I,V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:if(g=this,b=g.nodes,P=g.center,!(!b||b.length===0)){ae.next=5;break}return ae.abrupt("return");case 5:if(b.length!==1){ae.next=9;break}return b[0].x=P[0],b[0].y=P[1],ae.abrupt("return");case 9:return I={},V={},b.forEach(function(ue,ve){sl(ue.x)||(ue.x=Math.random()*v.width),sl(ue.y)||(ue.y=Math.random()*v.height),I[ue.id]=ue,V[ue.id]=ve}),g.nodeMap=I,g.nodeIdxMap=V,ae.next=16,g.run(t,r);case 16:case"end":return ae.stop()}},d,this)}))}},{key:"run",value:function(t,r){return $c(this,void 0,void 0,Object(Z.a)().mark(function d(){var v=this,g,b,P,I,V,K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or;return Object(Z.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:for(g=this,b=g.nodes,P=g.edges,I=g.maxIteration,V=g.center,K=g.height*g.width,ae=Math.sqrt(K)/10,ue=K/(b.length+1),ve=Math.sqrt(ue),Oe=g.speed,ke=g.clustering,Ie=Lo([g.clusterField],b),Ye=Ie.array,Ze=Ie.count,b.forEach(function(Er,Hr){var Aa=0,Fr=0;sl(Er.fx)&&sl(Er.fy)&&(Aa=Er.fx||.001,Fr=Er.fy||.001),Ye[4*Hr+1]=Aa,Ye[4*Hr+2]=Fr}),et=b.length,yt=Bi(b,P),jt=yt.maxEdgePerVetex,Ft=yt.array,Ht=g.workerEnabled,Ht?Gt=Ga.create({canvas:t,engineOptions:{supportCompute:!0}}):Gt=Ga.create({engineOptions:{supportCompute:!0}}),Jt=g.onLayoutEnd,mn=[],vn=0;vn<Ze;vn++)mn.push(0,0,0,0);return Yt=Gt.createKernel(Ds).setDispatch([et,1,1]).setBinding({u_Data:Ft,u_K:ve,u_K2:ue,u_Gravity:g.gravity,u_ClusterGravity:g.clusterGravity||g.gravity||1,u_Speed:Oe,u_MaxDisplace:ae,u_Clustering:ke?1:0,u_Center:V,u_AttributeArray:Ye,u_ClusterCenters:mn,MAX_EDGE_PER_VERTEX:jt,VERTEX_COUNT:et}),ke&&(En=Gt.createKernel(Zc).setDispatch([Ze,1,1]).setBinding({u_Data:Ft,u_NodeAttributes:Ye,u_ClusterCenters:mn,VERTEX_COUNT:et,CLUSTER_COUNT:Ze})),or=function(){return $c(v,void 0,void 0,Object(Z.a)().mark(function Hr(){var Aa,Fr;return Object(Z.a)().wrap(function(fa){for(;;)switch(fa.prev=fa.next){case 0:Aa=0;case 1:if(!(Aa<I)){fa.next=13;break}return fa.next=4,Yt.execute();case 4:if(!ke){fa.next=9;break}return En.setBinding({u_Data:Yt}),fa.next=8,En.execute();case 8:Yt.setBinding({u_ClusterCenters:En});case 9:Yt.setBinding({u_MaxDisplace:ae*=.99});case 10:Aa++,fa.next=1;break;case 13:return fa.next=15,Yt.getOutput();case 15:Fr=fa.sent,t?r.postMessage({type:_p.GPUEND,vertexEdgeData:Fr}):b.forEach(function(ai,Wi){var Co=Fr[4*Wi],zi=Fr[4*Wi+1];ai.x=Co,ai.y=zi}),Jt&&Jt();case 18:case"end":return fa.stop()}},Hr)}))},vr.next=25,or();case 25:case"end":return vr.stop()}},d,this)}))}},{key:"getType",value:function(){return"fruchterman-gpu"}}]),c}(Wv),yd=`
import { globalInvocationID } from 'g-webgpu';
const MAX_EDGE_PER_VERTEX;
const VERTEX_COUNT;
const SHIFT_20 = 1048576;
@numthreads(1, 1, 1)
class GGForce {
@in @out
u_Data: vec4[];
@in
u_damping: float;
@in
u_maxSpeed: float;
@in
u_minMovement: float;
@in
u_AveMovement: vec4[];
@in
u_coulombDisScale: float;
@in
u_factor: float;
@in
u_NodeAttributeArray1: vec4[];
@in
u_NodeAttributeArray2: vec4[];
@in
u_interval: float;
unpack_float(packedValue: float): ivec2 {
const packedIntValue = int(packedValue);
const v0 = packedIntValue / SHIFT_20;
return [v0, packedIntValue - v0 * SHIFT_20];
}
calcRepulsive(i: int, currentNode: vec4): vec2 {
let ax = 0, ay = 0;
for (let j: int = 0; j < VERTEX_COUNT; j++) {
if (i != j) {
const nextNode = this.u_Data[j];
const vx = currentNode[0] - nextNode[0];
const vy = currentNode[1] - nextNode[1];
const dist = sqrt(vx * vx + vy * vy) + 0.01;
const n_dist = (dist + 0.1) * this.u_coulombDisScale;
const direx = vx / dist;
const direy = vy / dist;
const attributesi = this.u_NodeAttributeArray1[i];
const attributesj = this.u_NodeAttributeArray1[j];
const massi = attributesi[0];
const nodeStrengthi = attributesi[2];
const nodeStrengthj = attributesj[2];
const nodeStrength = (nodeStrengthi + nodeStrengthj) / 2;
// const param = nodeStrength * this.u_factor / (n_dist * n_dist * massi);
const param = nodeStrength * this.u_factor / (n_dist * n_dist);
ax += direx * param;
ay += direy * param;
}
}
return [ax, ay];
}
calcGravity(i: int, currentNode: vec4, attributes2: vec4): vec2 {
// note: attributes2 = [centerX, centerY, gravity, 0]
const vx = currentNode[0] - attributes2[0];
const vy = currentNode[1] - attributes2[1];
const ax = vx * attributes2[2];
const ay = vy * attributes2[2];
return [ax, ay];
}
calcAttractive(i: int, currentNode: vec4, attributes1: vec4): vec2 {
// note: attributes1 = [mass, degree, nodeSterngth, 0]
const mass = attributes1[0];
let ax = 0, ay = 0;
// const arr_offset = int(floor(currentNode[2] + 0.5));
// const length = int(floor(currentNode[3] + 0.5));
const compressed = this.unpack_float(currentNode[2]);
const length = compressed[0];
const arr_offset = compressed[1];
const node_buffer: vec4;
for (let p: int = 0; p < MAX_EDGE_PER_VERTEX; p++) {
if (p >= length) break;
const arr_idx = arr_offset + 4 * p; // i \u8282\u70B9\u7684\u7B2C p \u6761\u8FB9\u5F00\u59CB\u7684\u5C0F\u683C\u5B50\u4F4D\u7F6E
const buf_offset = arr_idx - arr_idx / 4 * 4;
if (p == 0 || buf_offset == 0) {
node_buffer = this.u_Data[int(arr_idx / 4)]; // \u5927\u683C\u5B50\uFF0C\u5927\u683C\u5B50\u4F4D\u7F6E=\u5C0F\u4E2A\u5B50\u4F4D\u7F6E / 4\uFF0C
}
let float_j: float = node_buffer[0];
const nextNode = this.u_Data[int(float_j)];
const vx = nextNode[0] - currentNode[0];
const vy = nextNode[1] - currentNode[1];
const dist = sqrt(vx * vx + vy * vy) + 0.01;
const direx = vx / dist;
const direy = vy / dist;
const edgeLength = node_buffer[1];
const edgeStrength = node_buffer[2];
const diff: float = edgeLength - dist;//edgeLength
// const param = diff * this.u_stiffness / mass; //
const param = diff * edgeStrength / mass; //
ax -= direx * param;
ay -= direy * param;
}
return [ax, ay];
}
@main
compute() {
const i = globalInvocationID.x;
const currentNode = this.u_Data[i];
const movement = u_AveMovement[0];
let ax = 0, ay = 0;
if (i >= VERTEX_COUNT || movement.x < u_minMovement) {
this.u_Data[i] = currentNode;
return;
}
// \u6BCF\u4E2A\u8282\u70B9\u5C5E\u6027\u5360\u4E24\u4E2A\u6570\u7EC4\u4E2D\u5404\u4E00\u683C
// [mass, degree, nodeStrength, fx]
const nodeAttributes1 = this.u_NodeAttributeArray1[i];
// [centerX, centerY, centerGravity, fy]
const nodeAttributes2 = this.u_NodeAttributeArray2[i];
// repulsive
const repulsive = this.calcRepulsive(i, currentNode);
ax += repulsive[0];
ay += repulsive[1];
// attractive
const attractive = this.calcAttractive(i, currentNode, nodeAttributes1);
ax += attractive[0];
ay += attractive[1];
// gravity
const gravity = this.calcGravity(i, currentNode, nodeAttributes2);
ax -= gravity[0];
ay -= gravity[1];
// speed
const param = this.u_interval * this.u_damping;
let vx = ax * param;
let vy = ay * param;
const vlength = sqrt(vx * vx + vy * vy) + 0.0001;
if (vlength > this.u_maxSpeed) {
const param2 = this.u_maxSpeed / vlength;
vx = param2 * vx;
vy = param2 * vy;
}
// move
if (nodeAttributes1[3] != 0 && nodeAttributes2[3] != 0) {
this.u_Data[i] = [
nodeAttributes1[3],
nodeAttributes2[3],
currentNode[2],
0
];
} else {
const distx = vx * this.u_interval;
const disty = vy * this.u_interval;
const distLength = sqrt(distx * distx + disty * disty);
this.u_Data[i] = [
currentNode[0] + distx,
currentNode[1] + disty,
currentNode[2],
distLength
];
}
// the avarage move distance
// need to share memory
}
}
`,Ku='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define SHIFT_20 1048576.0\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_damping;\\nuniform float u_maxSpeed;\\nuniform float u_minMovement;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nuniform float u_coulombDisScale;\\nuniform float u_factor;\\nuniform sampler2D u_NodeAttributeArray1;\\nuniform vec2 u_NodeAttributeArray1Size;\\nvec4 getDatau_NodeAttributeArray1(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray1, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray1(float address1D) {\\n return getDatau_NodeAttributeArray1(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray1Size));\\n}\\nvec4 getDatau_NodeAttributeArray1(int address1D) {\\n return getDatau_NodeAttributeArray1(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributeArray2;\\nuniform vec2 u_NodeAttributeArray2Size;\\nvec4 getDatau_NodeAttributeArray2(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray2, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray2(float address1D) {\\n return getDatau_NodeAttributeArray2(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray2Size));\\n}\\nvec4 getDatau_NodeAttributeArray2(int address1D) {\\n return getDatau_NodeAttributeArray2(float(address1D));\\n}\\nuniform float u_interval;\\nivec2 unpack_float(float packedValue) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint packedIntValue = int(packedValue);\\nint v0 = packedIntValue / int(SHIFT_20);\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat vx = currentNode.x - nextNode.x;\\nfloat vy = currentNode.y - nextNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat n_dist = (dist + 0.1) * u_coulombDisScale;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nvec4 attributesi = getDatau_NodeAttributeArray1(i);\\nvec4 attributesj = getDatau_NodeAttributeArray1(j);\\nfloat massi = attributesi.x;\\nfloat nodeStrengthi = attributesi.z;\\nfloat nodeStrengthj = attributesj.z;\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\nfloat param = (nodeStrength * u_factor) / (n_dist * n_dist);\\nax += direx * param;\\nay += direy * param;}}\\nreturn vec2(ax, ay);}\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat vx = currentNode.x - attributes2.x;\\nfloat vy = currentNode.y - attributes2.y;\\nfloat ax = vx * attributes2.z;\\nfloat ay = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat mass = attributes1.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nivec2 compressed = unpack_float(currentNode.z);\\nint length = compressed.x;\\nint arr_offset = compressed.y;\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + (4 * p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = node_buffer.x;\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat vx = nextNode.x - currentNode.x;\\nfloat vy = nextNode.y - currentNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nfloat edgeLength = node_buffer.y;\\nfloat edgeStrength = node_buffer.z;\\nfloat diff = edgeLength - dist;\\nfloat param = (diff * edgeStrength) / mass;\\nax -= direx * param;\\nay -= direy * param;}\\nreturn vec2(ax, ay);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nvec4 movement = getDatau_AveMovement(0.0);\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nif ((i >= VERTEX_COUNT) || (movement.x < u_minMovement)) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes1 = getDatau_NodeAttributeArray1(i);\\nvec4 nodeAttributes2 = getDatau_NodeAttributeArray2(i);\\nvec2 repulsive = calcRepulsive(i, currentNode);\\nax += repulsive.x;\\nay += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\nax += attractive.x;\\nay += attractive.y;\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\nax -= gravity.x;\\nay -= gravity.y;\\nfloat param = u_interval * u_damping;\\nfloat vx = ax * param;\\nfloat vy = ay * param;\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > u_maxSpeed) {float param2 = u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0));}else {float distx = vx * u_interval;\\nfloat disty = vy * u_interval;\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\ngl_FragColor = vec4(vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"SHIFT_20","type":"Float","value":1048576,"runtime":false}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_damping","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_maxSpeed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_minMovement","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_coulombDisScale","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_factor","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray1","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray2","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_interval","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}',vl=`
const VERTEX_COUNT;
@numthreads(1, 1, 1)
class CalcAveMovement {
@in
u_Data: vec4[];
@in
u_iter: float;
@in @out
u_AveMovement: vec4[];
@main
compute() {
let movement = 0;
for (let j: int = 0; j < VERTEX_COUNT; j++) {
const vertex = this.u_Data[j];
movement += vertex[3];
}
movement = movement / float(VERTEX_COUNT);
this.u_AveMovement[0] = [movement, 0, 0, 0];
}
}
`,Vc='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_iter;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat movement = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = getDatau_Data(j);\\nmovement += vertex.w;}\\nmovement = movement / float(VERTEX_COUNT);\\ngl_FragColor = vec4(vec4(movement, 0.0, 0.0, 0.0));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_iter","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_AveMovement","size":[1,1],"length":1},"needPingpong":true}}',$l=function(u,i,c,o){function t(r){return r instanceof c?r:new c(function(d){d(r)})}return new(c||(c=Promise))(function(r,d){function v(P){try{b(o.next(P))}catch(I){d(I)}}function g(P){try{b(o.throw(P))}catch(I){d(I)}}function b(P){P.done?r(P.value):t(P.value).then(v,g)}b((o=o.apply(u,i||[])).next())})},el=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.maxIteration=1e3,t.edgeStrength=200,t.nodeStrength=1e3,t.coulombDisScale=.005,t.damping=.9,t.maxSpeed=1e3,t.minMovement=.5,t.interval=.02,t.factor=1,t.linkDistance=1,t.gravity=10,t.workerEnabled=!1,t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{maxIteration:2e3,gravity:10,clustering:!1,clusterGravity:10}}},{key:"execute",value:function(){return $l(this,void 0,void 0,Object(Z.a)().mark(function t(){var r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(r=this,d=r.nodes,!(!d||d.length===0)){I.next=5;break}return r.onLayoutEnd&&r.onLayoutEnd(),I.abrupt("return");case 5:if(!r.width&&typeof window!="undefined"&&(r.width=window.innerWidth),!r.height&&typeof window!="undefined"&&(r.height=window.innerHeight),r.center||(r.center=[r.width/2,r.height/2]),v=r.center,d.length!==1){I.next=14;break}return d[0].x=v[0],d[0].y=v[1],r.onLayoutEnd&&r.onLayoutEnd(),I.abrupt("return");case 14:return g={},b={},d.forEach(function(V,K){sl(V.x)||(V.x=Math.random()*r.width),sl(V.y)||(V.y=Math.random()*r.height),g[V.id]=V,b[V.id]=K}),r.nodeMap=g,r.nodeIdxMap=b,r.nodeStrength=si(r.nodeStrength,1),r.edgeStrength=si(r.edgeStrength,1),I.next=23,r.run();case 23:case"end":return I.stop()}},t,this)}))}},{key:"executeWithWorker",value:function(t,r){var d=this,v=d.nodes,g=d.center;if(!(!v||v.length===0)){if(v.length===1){v[0].x=g[0],v[0].y=g[1];return}var b={},P={};v.forEach(function(I,V){sl(I.x)||(I.x=Math.random()*d.width),sl(I.y)||(I.y=Math.random()*d.height),b[I.id]=I,P[I.id]=V}),d.nodeMap=b,d.nodeIdxMap=P,d.nodeStrength=si(d.nodeStrength,1),d.edgeStrength=si(d.edgeStrength,1),d.run(t,r)}}},{key:"run",value:function(t,r){return $l(this,void 0,void 0,Object(Z.a)().mark(function d(){var v=this,g,b,P,I,V,K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or,$r;return Object(Z.a)().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:for(g=this,b=g.nodes,P=g.edges,I=g.maxIteration,!g.width&&typeof window!="undefined"&&(g.width=window.innerWidth),!g.height&&typeof window!="undefined"&&(g.height=window.innerHeight),V=b.length,g.linkDistance=si(g.linkDistance),g.edgeStrength=si(g.edgeStrength),K=Go(b,P,g.linkDistance,g.edgeStrength),ae=K.maxEdgePerVetex,ue=K.array,g.degrees=mE(b.length,g.nodeIdxMap,P).map(function(Hr){return Hr.all}),ve=[],Oe=[],ke=[],Ie=[],Ye=[],Ze=[],et=[],g.getMass||(g.getMass=function(Hr){return g.degrees[g.nodeIdxMap[Hr.id]]||1}),yt=g.gravity,jt=g.center,b.forEach(function(Hr,Aa){ve.push(g.getMass(Hr)),Oe.push(g.nodeStrength(Hr)),g.degrees[Aa]||(g.degrees[Aa]=0);var Fr=[jt[0],jt[1],yt];if(g.getCenter){var ca=g.getCenter(Hr,g.degrees[Aa]);ca&&sl(ca[0])&&sl(ca[1])&&sl(ca[2])&&(Fr=ca)}ke.push(Fr[0]),Ie.push(Fr[1]),Ye.push(Fr[2]),sl(Hr.fx)&&sl(Hr.fy)?(Ze.push(Hr.fx||.001),et.push(Hr.fy||.001)):(Ze.push(0),et.push(0))}),Ft=Rs([ve,g.degrees,Oe,Ze]),Ht=Rs([ke,Ie,Ye,et]),Gt=g.workerEnabled,Gt?Jt=Ga.create({canvas:t,engineOptions:{supportCompute:!0}}):Jt=Ga.create({engineOptions:{supportCompute:!0}}),mn=g.onLayoutEnd,vn=[],ue.forEach(function(Hr){vn.push(Hr)}),Yt=0;Yt<4;Yt++)vn.push(0);return En=Jt.createKernel(Ku).setDispatch([V,1,1]).setBinding({u_Data:ue,u_damping:g.damping,u_maxSpeed:g.maxSpeed,u_minMovement:g.minMovement,u_coulombDisScale:g.coulombDisScale,u_factor:g.factor,u_NodeAttributeArray1:Ft,u_NodeAttributeArray2:Ht,MAX_EDGE_PER_VERTEX:ae,VERTEX_COUNT:V,u_AveMovement:vn,u_interval:g.interval}),or=Jt.createKernel(Vc).setDispatch([1,1,1]).setBinding({u_Data:ue,VERTEX_COUNT:V,u_AveMovement:[0,0,0,0]}),$r=function(){return $l(v,void 0,void 0,Object(Z.a)().mark(function Aa(){var Fr,ca,fa;return Object(Z.a)().wrap(function(Wi){for(;;)switch(Wi.prev=Wi.next){case 0:Fr=0;case 1:if(!(Fr<I)){Wi.next=12;break}return Wi.next=4,En.execute();case 4:return or.setBinding({u_Data:En}),Wi.next=7,or.execute();case 7:ca=Math.max(.02,g.interval-Fr*.002),En.setBinding({u_interval:ca,u_AveMovement:or});case 9:Fr++,Wi.next=1;break;case 12:return Wi.next=14,En.getOutput();case 14:fa=Wi.sent,t?r.postMessage({type:_p.GPUEND,vertexEdgeData:fa}):b.forEach(function(Co,zi){var us=fa[4*zi],Us=fa[4*zi+1];Co.x=us,Co.y=Us}),mn&&mn();case 17:case"end":return Wi.stop()}},Aa)}))},Er.next=35,$r();case 35:case"end":return Er.stop()}},d,this)}))}},{key:"getType",value:function(){return"gForce-gpu"}}]),c}(Wv),_u=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.center=[0,0],t.maxIteration=100,t.gravity=10,t.comboGravity=10,t.linkDistance=10,t.alpha=1,t.alphaMin=.001,t.alphaDecay=1-Math.pow(t.alphaMin,1/300),t.alphaTarget=0,t.velocityDecay=.6,t.edgeStrength=.6,t.nodeStrength=30,t.preventOverlap=!1,t.preventNodeOverlap=!1,t.preventComboOverlap=!1,t.collideStrength=void 0,t.nodeCollideStrength=.5,t.comboCollideStrength=.5,t.comboSpacing=20,t.comboPadding=10,t.optimizeRangeFactor=1,t.onTick=function(){},t.onLayoutEnd=function(){},t.depthAttractiveForceScale=1,t.depthRepulsiveForceScale=2,t.nodes=[],t.edges=[],t.combos=[],t.comboTrees=[],t.width=300,t.height=300,t.bias=[],t.nodeMap={},t.oriComboMap={},t.indexMap={},t.comboMap={},t.previousLayouted=!1,t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{maxIteration:100,center:[0,0],gravity:10,speed:1,comboGravity:30,preventOverlap:!1,preventComboOverlap:!0,preventNodeOverlap:!0,nodeSpacing:void 0,collideStrength:void 0,nodeCollideStrength:.5,comboCollideStrength:.5,comboSpacing:20,comboPadding:10,edgeStrength:.6,nodeStrength:30,linkDistance:10}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.center;if(t.comboTree={id:"comboTreeRoot",depth:-1,children:t.comboTrees},!r||r.length===0){t.onLayoutEnd&&t.onLayoutEnd();return}if(r.length===1){r[0].x=d[0],r[0].y=d[1],t.onLayoutEnd&&t.onLayoutEnd();return}t.initVals(),t.run(),t.onLayoutEnd&&t.onLayoutEnd()}},{key:"run",value:function(){var t=this,r=t.nodes,d=t.previousLayouted?t.maxIteration/5:t.maxIteration;!t.width&&typeof window!="undefined"&&(t.width=window.innerWidth),!t.height&&typeof window!="undefined"&&(t.height=window.innerHeight);var v=t.center,g=t.velocityDecay,b=t.comboMap;t.previousLayouted||t.initPos(b);for(var P=function(ue){var ve=[];r.forEach(function(Oe,ke){ve[ke]={x:0,y:0}}),t.applyCalculate(ve),t.applyComboCenterForce(ve),r.forEach(function(Oe,ke){!sl(Oe.x)||!sl(Oe.y)||(Oe.x+=ve[ke].x*g,Oe.y+=ve[ke].y*g)}),t.alpha+=(t.alphaTarget-t.alpha)*t.alphaDecay,t.onTick()},I=0;I<d;I++)P(I);var V=[0,0];r.forEach(function(ae){!sl(ae.x)||!sl(ae.y)||(V[0]+=ae.x,V[1]+=ae.y)}),V[0]/=r.length,V[1]/=r.length;var K=[v[0]-V[0],v[1]-V[1]];r.forEach(function(ae,ue){!sl(ae.x)||!sl(ae.y)||(ae.x+=K[0],ae.y+=K[1])}),t.combos.forEach(function(ae){var ue=b[ae.id];ue&&ue.empty&&(ae.x=ue.cx||ae.x,ae.y=ue.cy||ae.y)}),t.previousLayouted=!0}},{key:"initVals",value:function(){var t=this,r=t.edges,d=t.nodes,v=t.combos,g={},b={},P={};d.forEach(function(Aa,Fr){b[Aa.id]=Aa,P[Aa.id]=Fr}),t.nodeMap=b,t.indexMap=P;var I={};v.forEach(function(Aa){I[Aa.id]=Aa}),t.oriComboMap=I,t.comboMap=t.getComboMap();var V=t.preventOverlap;t.preventComboOverlap=t.preventComboOverlap||V,t.preventNodeOverlap=t.preventNodeOverlap||V;var K=t.collideStrength;K&&(t.comboCollideStrength=K,t.nodeCollideStrength=K),t.comboCollideStrength=t.comboCollideStrength?t.comboCollideStrength:0,t.nodeCollideStrength=t.nodeCollideStrength?t.nodeCollideStrength:0;for(var ae=0;ae<r.length;++ae){var ue=gf(r[ae],"source"),ve=gf(r[ae],"target");g[ue]?g[ue]++:g[ue]=1,g[ve]?g[ve]++:g[ve]=1}for(var Oe=[],ke=0;ke<r.length;++ke){var Ie=gf(r[ke],"source"),Ye=gf(r[ke],"target");Oe[ke]=g[Ie]/(g[Ie]+g[Ye])}this.bias=Oe;var Ze=t.nodeSize,et=t.nodeSpacing,yt,jt;if(sl(et)?jt=function(){return et}:fg(et)?jt=et:jt=function(){return 0},this.nodeSpacing=jt,!Ze)yt=function(Fr){if(Fr.size){if(ap(Fr.size)){var ca=Fr.size[0]>Fr.size[1]?Fr.size[0]:Fr.size[1];return ca/2}if(dg(Fr.size)){var fa=Fr.size.width>Fr.size.height?Fr.size.width:Fr.size.height;return fa/2}return Fr.size/2}return 10};else if(fg(Ze))yt=function(Fr){return Ze(Fr)};else if(ap(Ze)){var Ft=Ze[0]>Ze[1]?Ze[0]:Ze[1],Ht=Ft/2;yt=function(Fr){return Ht}}else{var Gt=Ze/2;yt=function(Fr){return Gt}}this.nodeSize=yt;var Jt=t.comboSpacing,mn;sl(Jt)?mn=function(){return Jt}:fg(Jt)?mn=Jt:mn=function(){return 0},this.comboSpacing=mn;var vn=t.comboPadding,Yt;sl(vn)?Yt=function(){return vn}:ap(vn)?Yt=function(){return Math.max.apply(null,vn)}:fg(vn)?Yt=vn:Yt=function(){return 0},this.comboPadding=Yt;var En=this.linkDistance,or;En||(En=10),sl(En)?or=function(Fr){return En}:or=En,this.linkDistance=or;var $r=this.edgeStrength,vr;$r||($r=1),sl($r)?vr=function(Fr){return $r}:vr=$r,this.edgeStrength=vr;var Er=this.nodeStrength,Hr;Er||(Er=30),sl(Er)?Hr=function(Fr){return Er}:Hr=Er,this.nodeStrength=Hr}},{key:"initPos",value:function(t){var r=this,d=r.nodes;d.forEach(function(v,g){var b=v.comboId,P=t[b];b&&P?(v.x=P.cx+100/(g+1),v.y=P.cy+100/(g+1)):(v.x=100/(g+1),v.y=100/(g+1))})}},{key:"getComboMap",value:function(){var t=this,r=t.nodeMap,d=t.comboTrees,v=t.oriComboMap,g={};return(d||[]).forEach(function(b){var P=[];_E(b,function(I){if(I.itemType==="node"||!v[I.id])return!0;if(g[I.id]===void 0){var V={id:I.id,name:I.id,cx:0,cy:0,count:0,depth:t.oriComboMap[I.id].depth||0,children:[]};g[I.id]=V}var K=I.children;K&&K.forEach(function(ve){if(!g[ve.id]&&!r[ve.id])return!0;P.push(ve)});var ae=g[I.id];if(ae.cx=0,ae.cy=0,P.length===0){ae.empty=!0;var ue=v[I.id];ae.cx=ue.x,ae.cy=ue.y}return P.forEach(function(ve){if(ae.count++,ve.itemType!=="node"){var Oe=g[ve.id];sl(Oe.cx)&&(ae.cx+=Oe.cx),sl(Oe.cy)&&(ae.cy+=Oe.cy);return}var ke=r[ve.id];!ke||(sl(ke.x)&&(ae.cx+=ke.x),sl(ke.y)&&(ae.cy+=ke.y))}),ae.cx/=ae.count||1,ae.cy/=ae.count||1,ae.children=P,!0})}),g}},{key:"applyComboCenterForce",value:function(t){var r=this,d=r.gravity,v=r.comboGravity||d,g=this.alpha,b=r.comboTrees,P=r.indexMap,I=r.nodeMap,V=r.comboMap;(b||[]).forEach(function(K){_E(K,function(ae){if(ae.itemType==="node")return!0;var ue=V[ae.id];if(!ue)return!0;var ve=V[ae.id],Oe=(ve.depth+1)/10*.5,ke=ve.cx,Ie=ve.cy;return ve.cx=0,ve.cy=0,ve.children.forEach(function(Ye){if(Ye.itemType!=="node"){var Ze=V[Ye.id];Ze&&sl(Ze.cx)&&(ve.cx+=Ze.cx),Ze&&sl(Ze.cy)&&(ve.cy+=Ze.cy);return}var et=I[Ye.id],yt=et.x-ke||.005,jt=et.y-Ie||.005,Ft=Math.sqrt(yt*yt+jt*jt),Ht=P[et.id],Gt=v*g/Ft*Oe;t[Ht].x-=yt*Gt,t[Ht].y-=jt*Gt,sl(et.x)&&(ve.cx+=et.x),sl(et.y)&&(ve.cy+=et.y)}),ve.cx/=ve.count||1,ve.cy/=ve.count||1,!0})})}},{key:"applyCalculate",value:function(t){var r=this,d=r.comboMap,v=r.nodes,g={};v.forEach(function(P,I){v.forEach(function(V,K){if(!(I<K)){var ae=P.x-V.x||.005,ue=P.y-V.y||.005,ve=ae*ae+ue*ue,Oe=Math.sqrt(ve);ve<1&&(ve=Oe),g["".concat(P.id,"-").concat(V.id)]={vx:ae,vy:ue,vl2:ve,vl:Oe},g["".concat(V.id,"-").concat(P.id)]={vl2:ve,vl:Oe,vx:-ae,vy:-ue}}})}),r.updateComboSizes(d),r.calRepulsive(t,g),r.calAttractive(t,g);var b=r.preventComboOverlap;b&&r.comboNonOverlapping(t,d)}},{key:"updateComboSizes",value:function(t){var r=this,d=r.comboTrees,v=r.nodeMap,g=r.nodeSize,b=r.comboSpacing,P=r.comboPadding;(d||[]).forEach(function(I){var V=[];_E(I,function(K){if(K.itemType==="node")return!0;var ae=t[K.id];if(!ae)return!1;var ue=K.children;ue&&ue.forEach(function(ke){!t[ke.id]&&!v[ke.id]||V.push(ke)}),ae.minX=Infinity,ae.minY=Infinity,ae.maxX=-Infinity,ae.maxY=-Infinity,V.forEach(function(ke){if(ke.itemType!=="node")return!0;var Ie=v[ke.id];if(!Ie)return!0;var Ye=g(Ie),Ze=Ie.x-Ye,et=Ie.y-Ye,yt=Ie.x+Ye,jt=Ie.y+Ye;ae.minX>Ze&&(ae.minX=Ze),ae.minY>et&&(ae.minY=et),ae.maxX<yt&&(ae.maxX=yt),ae.maxY<jt&&(ae.maxY=jt)});var ve=r.oriComboMap[K.id].size||10;ap(ve)&&(ve=ve[0]);var Oe=Math.max(ae.maxX-ae.minX,ae.maxY-ae.minY,ve);return ae.r=Oe/2+b(ae)/2+P(ae),!0})})}},{key:"comboNonOverlapping",value:function(t,r){var d=this,v=d.comboTree,g=d.comboCollideStrength,b=d.indexMap,P=d.nodeMap;_E(v,function(I){if(!r[I.id]&&!P[I.id]&&I.id!=="comboTreeRoot")return!1;var V=I.children;return V&&V.length>1&&V.forEach(function(K,ae){if(K.itemType==="node")return!1;var ue=r[K.id];!ue||V.forEach(function(ve,Oe){if(ae<=Oe||ve.itemType==="node")return!1;var ke=r[ve.id];if(!ke)return!1;var Ie=ue.cx-ke.cx||.005,Ye=ue.cy-ke.cy||.005,Ze=Ie*Ie+Ye*Ye,et=ue.r||1,yt=ke.r||1,jt=et+yt,Ft=yt*yt,Ht=et*et;if(Ze<jt*jt){var Gt=K.children;if(!Gt||Gt.length===0)return!1;var Jt=ve.children;if(!Jt||Jt.length===0)return!1;var mn=Math.sqrt(Ze),vn=(jt-mn)/mn*g,Yt=Ie*vn,En=Ye*vn,or=Ft/(Ht+Ft),$r=1-or;Gt.forEach(function(vr){if(vr.itemType!=="node")return!1;if(!!P[vr.id]){var Er=b[vr.id];Jt.forEach(function(Hr){if(Hr.itemType!=="node"||!P[Hr.id])return!1;var Aa=b[Hr.id];t[Er].x+=Yt*or,t[Er].y+=En*or,t[Aa].x-=Yt*$r,t[Aa].y-=En*$r})}})}})}),!0})}},{key:"calRepulsive",value:function(t,r){var d=this,v=d.nodes,g=d.width*d.optimizeRangeFactor,b=d.nodeStrength,P=d.alpha,I=d.nodeCollideStrength,V=d.preventNodeOverlap,K=d.nodeSize,ae=d.nodeSpacing,ue=d.depthRepulsiveForceScale,ve=d.center;v.forEach(function(Oe,ke){if(!(!Oe.x||!Oe.y)){if(ve){var Ie=d.gravity,Ye=Oe.x-ve[0]||.005,Ze=Oe.y-ve[1]||.005,et=Math.sqrt(Ye*Ye+Ze*Ze);t[ke].x-=Ye*Ie*P/et,t[ke].y-=Ze*Ie*P/et}v.forEach(function(yt,jt){if(ke!==jt&&!(!yt.x||!yt.y)){var Ft=r["".concat(Oe.id,"-").concat(yt.id)],Ht=Ft.vl2,Gt=Ft.vl;if(!(Gt>g)){var Jt=r["".concat(Oe.id,"-").concat(yt.id)],mn=Jt.vx,vn=Jt.vy,Yt=Math.log(Math.abs(yt.depth-Oe.depth)/10)+1||1;Yt=Yt<1?1:Yt,yt.comboId!==Oe.comboId&&(Yt+=1);var En=Yt?Math.pow(ue,Yt):1,or=b(yt)*P/Ht*En;if(t[ke].x+=mn*or,t[ke].y+=vn*or,ke<jt&&V){var $r=K(Oe)+ae(Oe)||1,vr=K(yt)+ae(yt)||1,Er=$r+vr;if(Ht<Er*Er){var Hr=(Er-Gt)/Gt*I,Aa=vr*vr,Fr=Aa/($r*$r+Aa),ca=mn*Hr,fa=vn*Hr;t[ke].x+=ca*Fr,t[ke].y+=fa*Fr,Fr=1-Fr,t[jt].x-=ca*Fr,t[jt].y-=fa*Fr}}}}})}})}},{key:"calAttractive",value:function(t,r){var d=this,v=d.edges,g=d.linkDistance,b=d.alpha,P=d.edgeStrength,I=d.bias,V=d.depthAttractiveForceScale;v.forEach(function(K,ae){var ue=gf(K,"source"),ve=gf(K,"target");if(!(!ue||!ve||ue===ve)){var Oe=d.indexMap[ue],ke=d.indexMap[ve],Ie=d.nodeMap[ue],Ye=d.nodeMap[ve];if(!(!Ie||!Ye)){var Ze=Ie.depth===Ye.depth?0:Math.log(Math.abs(Ie.depth-Ye.depth)/10);Ie.comboId===Ye.comboId&&(Ze=Ze/2);var et=Ze?Math.pow(V,Ze):1;if(Ie.comboId!==Ye.comboId&&et===1?et=V/2:Ie.comboId===Ye.comboId&&(et=2),!(!sl(Ye.x)||!sl(Ie.x)||!sl(Ye.y)||!sl(Ie.y))){var yt=r["".concat(ve,"-").concat(ue)],jt=yt.vl,Ft=yt.vx,Ht=yt.vy,Gt=(jt-g(K))/jt*b*P(K)*et,Jt=Ft*Gt,mn=Ht*Gt,vn=I[ae];t[ke].x-=Jt*vn,t[ke].y-=mn*vn,t[Oe].x+=Jt*(1-vn),t[Oe].y+=mn*(1-vn)}}}})}},{key:"getType",value:function(){return"comboForce"}}]),c}(Wv),Rf=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.center=[0,0],t.nodes=[],t.edges=[],t.combos=[],t.comboEdges=[],t.comboPadding=10,t.comboTrees=[],t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.center;if(!r||r.length===0){t.onLayoutEnd&&t.onLayoutEnd();return}if(r.length===1){r[0].x=d[0],r[0].y=d[1],t.onLayoutEnd&&t.onLayoutEnd();return}t.initVals(),t.run(),t.onLayoutEnd&&t.onLayoutEnd()}},{key:"run",value:function(){var t,r=this,d=r.nodes,v=r.edges,g=r.combos,b=r.comboEdges,P=r.center,I={};d.forEach(function(Gt){I[Gt.id]=Gt});var V={};g.forEach(function(Gt){V[Gt.id]=Gt});var K=r.getInnerGraphs(I),ae=[],ue=[],ve={},Oe=!0;this.comboTrees.forEach(function(Gt){var Jt=K[Gt.id],mn=Object.assign(Object.assign({},Gt),{x:Jt.x||V[Gt.id].x,y:Jt.y||V[Gt.id].y,fx:Jt.fx||V[Gt.id].fx,fy:Jt.fy||V[Gt.id].fy,mass:Jt.mass||V[Gt.id].mass,size:Jt.size});ue.push(mn),!isNaN(mn.x)&&mn.x!==0&&!isNaN(mn.y)&&mn.y!==0?Oe=!1:(mn.x=Math.random()*100,mn.y=Math.random()*100),ae.push(Gt.id),_E(Gt,function(vn){return vn.id!==Gt.id&&(ve[vn.id]=Gt.id),!0})}),d.forEach(function(Gt){if(!(Gt.comboId&&V[Gt.comboId])){var Jt=Object.assign({},Gt);ue.push(Jt),!isNaN(Jt.x)&&Jt.x!==0&&!isNaN(Jt.y)&&Jt.y!==0?Oe=!1:(Jt.x=Math.random()*100,Jt.y=Math.random()*100),ae.push(Gt.id)}});var ke=[];if(v.concat(b).forEach(function(Gt){var Jt=ve[Gt.source]||Gt.source,mn=ve[Gt.target]||Gt.target;Jt!==mn&&ae.includes(Jt)&&ae.includes(mn)&&ke.push({source:Jt,target:mn})}),ue==null?void 0:ue.length){if(ue.length===1)ue[0].x=P[0],ue[0].y=P[1];else{var Ie={nodes:ue,edges:ke},Ye=this.outerLayout||new wz({gravity:1,factor:4,linkDistance:function(Jt,mn,vn){var Yt,En,or=((((Yt=mn.size)===null||Yt===void 0?void 0:Yt[0])||30)+(((En=vn.size)===null||En===void 0?void 0:En[0])||30))/2;return Math.min(or*1.5,700)}}),Ze=(t=Ye.getType)===null||t===void 0?void 0:t.call(Ye);if(Ye.updateCfg({center:P,kg:5,preventOverlap:!0,animate:!1}),Oe&&Wz[Ze]){var et=ue.length<100?new vG:new Sre;et.layout(Ie)}Ye.layout(Ie)}ue.forEach(function(Gt){var Jt=K[Gt.id];if(!Jt){var mn=I[Gt.id];mn&&(mn.x=Gt.x,mn.y=Gt.y);return}Jt.visited=!0,Jt.x=Gt.x,Jt.y=Gt.y,Jt.nodes.forEach(function(vn){vn.x+=Gt.x,vn.y+=Gt.y})})}for(var yt=Object.keys(K),jt=function(Jt){var mn=yt[Jt],vn=K[mn];if(!vn)return"continue";vn.nodes.forEach(function(Yt){vn.visited||(Yt.x+=vn.x||0,Yt.y+=vn.y||0),I[Yt.id]&&(I[Yt.id].x=Yt.x,I[Yt.id].y=Yt.y)}),V[mn]&&(V[mn].x=vn.x,V[mn].y=vn.y)},Ft=yt.length-1;Ft>=0;Ft--)var Ht=jt(Ft);return{nodes:d,edges:v,combos:g,comboEdges:b}}},{key:"getInnerGraphs",value:function(t){var r=this,d=r.comboTrees,v=r.nodeSize,g=r.edges,b=r.comboPadding,P=r.spacing,I={},V=this.innerLayout||new pG({type:"concentric",sortBy:"id"});return V.center=[0,0],V.preventOverlap=!0,V.nodeSpacing=P,(d||[]).forEach(function(K){_E(K,function(ae){var ue,ve=(b==null?void 0:b(ae))||10;if(ap(ve)&&(ve=Math.max.apply(Math,Object(Bs.a)(ve))),(ue=ae.children)===null||ue===void 0?void 0:ue.length){var ke=ae.children.map(function(vn){if(vn.itemType==="combo")return I[vn.id];var Yt=t[vn.id]||{};return Object.assign(Object.assign({},Yt),vn)}),Ie=ke.map(function(vn){return vn.id}),Ye={nodes:ke,edges:g.filter(function(vn){return Ie.includes(vn.source)&&Ie.includes(vn.target)})},Ze=Infinity;ke.forEach(function(vn){var Yt;vn.size||(vn.size=((Yt=I[vn.id])===null||Yt===void 0?void 0:Yt.size)||(v==null?void 0:v(vn))||[30,30]),sl(vn.size)&&(vn.size=[vn.size,vn.size]),Ze>vn.size[0]&&(Ze=vn.size[0]),Ze>vn.size[1]&&(Ze=vn.size[1])}),V.layout(Ye);var et=Cre(ke),yt=et.minX,jt=et.minY,Ft=et.maxX,Ht=et.maxY,Gt={x:(Ft+yt)/2,y:(Ht+jt)/2};Ye.nodes.forEach(function(vn){vn.x-=Gt.x,vn.y-=Gt.y});var Jt=Math.max(Ft-yt,Ze)+ve*2,mn=Math.max(Ht-jt,Ze)+ve*2;I[ae.id]={id:ae.id,nodes:ke,size:[Jt,mn]}}else if(ae.itemType==="combo"){var Oe=ve?[ve*2,ve*2]:[30,30];I[ae.id]={id:ae.id,nodes:[],size:Oe}}return!0})}),I}},{key:"initVals",value:function(){var t=this,r=t.nodeSize,d=t.spacing,v,g;if(sl(d)?g=function(){return d}:fg(d)?g=d:g=function(){return 0},this.spacing=g,!r)v=function(ue){var ve=g(ue);if(ue.size){if(ap(ue.size)){var Oe=ue.size[0]>ue.size[1]?ue.size[0]:ue.size[1];return(Oe+ve)/2}if(dg(ue.size)){var ke=ue.size.width>ue.size.height?ue.size.width:ue.size.height;return(ke+ve)/2}return(ue.size+ve)/2}return 10+ve/2};else if(fg(r))v=function(ue){var ve=r(ue),Oe=g(ue);if(ap(ue.size)){var ke=ue.size[0]>ue.size[1]?ue.size[0]:ue.size[1];return(ke+Oe)/2}return((ve||10)+Oe)/2};else if(ap(r)){var b=r[0]>r[1]?r[0]:r[1],P=b/2;v=function(ue){return P+g(ue)/2}}else{var I=r/2;v=function(ue){return I+g(ue)/2}}this.nodeSize=v;var V=t.comboPadding,K;sl(V)?K=function(){return V}:ap(V)?K=function(){return Math.max.apply(null,V)}:fg(V)?K=V:K=function(){return 0},this.comboPadding=K}},{key:"getType",value:function(){return"comboCombined"}}]),c}(Wv),Id=function(){function u(i){Object(xi.a)(this,u),this.id=i.id||0,this.rx=i.rx,this.ry=i.ry,this.fx=0,this.fy=0,this.mass=i.mass,this.degree=i.degree,this.g=i.g||0}return Object(Pi.a)(u,[{key:"distanceTo",value:function(c){var o=this.rx-c.rx,t=this.ry-c.ry;return Math.hypot(o,t)}},{key:"setPos",value:function(c,o){this.rx=c,this.ry=o}},{key:"resetForce",value:function(){this.fx=0,this.fy=0}},{key:"addForce",value:function(c){var o=c.rx-this.rx,t=c.ry-this.ry,r=Math.hypot(o,t);r=r<1e-4?1e-4:r;var d=this.g*(this.degree+1)*(c.degree+1)/r;this.fx+=d*o/r,this.fy+=d*t/r}},{key:"in",value:function(c){return c.contains(this.rx,this.ry)}},{key:"add",value:function(c){var o=this.mass+c.mass,t=(this.rx*this.mass+c.rx*c.mass)/o,r=(this.ry*this.mass+c.ry*c.mass)/o,d=this.degree+c.degree,v={rx:t,ry:r,mass:o,degree:d};return new u(v)}}]),u}(),xp=function(){function u(i){Object(xi.a)(this,u),this.xmid=i.xmid,this.ymid=i.ymid,this.length=i.length,this.massCenter=i.massCenter||[0,0],this.mass=i.mass||1}return Object(Pi.a)(u,[{key:"getLength",value:function(){return this.length}},{key:"contains",value:function(c,o){var t=this.length/2;return c<=this.xmid+t&&c>=this.xmid-t&&o<=this.ymid+t&&o>=this.ymid-t}},{key:"NW",value:function(){var c=this.xmid-this.length/4,o=this.ymid+this.length/4,t=this.length/2,r={xmid:c,ymid:o,length:t},d=new u(r);return d}},{key:"NE",value:function(){var c=this.xmid+this.length/4,o=this.ymid+this.length/4,t=this.length/2,r={xmid:c,ymid:o,length:t},d=new u(r);return d}},{key:"SW",value:function(){var c=this.xmid-this.length/4,o=this.ymid-this.length/4,t=this.length/2,r={xmid:c,ymid:o,length:t},d=new u(r);return d}},{key:"SE",value:function(){var c=this.xmid+this.length/4,o=this.ymid-this.length/4,t=this.length/2,r={xmid:c,ymid:o,length:t},d=new u(r);return d}}]),u}(),op=function(){function u(i){Object(xi.a)(this,u),this.body=null,this.quad=null,this.NW=null,this.NE=null,this.SW=null,this.SE=null,this.theta=.5,i!=null&&(this.quad=i)}return Object(Pi.a)(u,[{key:"insert",value:function(c){if(this.body==null){this.body=c;return}this._isExternal()?(this.quad&&(this.NW=new u(this.quad.NW()),this.NE=new u(this.quad.NE()),this.SW=new u(this.quad.SW()),this.SE=new u(this.quad.SE())),this._putBody(this.body),this._putBody(c),this.body=this.body.add(c)):(this.body=this.body.add(c),this._putBody(c))}},{key:"_putBody",value:function(c){!this.quad||(c.in(this.quad.NW())&&this.NW?this.NW.insert(c):c.in(this.quad.NE())&&this.NE?this.NE.insert(c):c.in(this.quad.SW())&&this.SW?this.SW.insert(c):c.in(this.quad.SE())&&this.SE&&this.SE.insert(c))}},{key:"_isExternal",value:function(){return this.NW==null&&this.NE==null&&this.SW==null&&this.SE==null}},{key:"updateForce",value:function(c){if(!(this.body==null||c===this.body))if(this._isExternal())c.addForce(this.body);else{var o=this.quad?this.quad.getLength():0,t=this.body.distanceTo(c);o/t<this.theta?c.addForce(this.body):(this.NW&&this.NW.updateForce(c),this.NE&&this.NE.updateForce(c),this.SW&&this.SW.updateForce(c),this.SE&&this.SE.updateForce(c))}}}]),u}(),Ev=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.center=[0,0],t.width=300,t.height=300,t.nodes=[],t.edges=[],t.kr=5,t.kg=1,t.mode="normal",t.preventOverlap=!1,t.dissuadeHubs=!1,t.barnesHut=void 0,t.maxIteration=0,t.ks=.1,t.ksmax=10,t.tao=.1,t.onLayoutEnd=function(){},t.prune=void 0,t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.onLayoutEnd,v=t.prune,g=t.maxIteration;!t.width&&typeof window!="undefined"&&(t.width=window.innerWidth),!t.height&&typeof window!="undefined"&&(t.height=window.innerHeight);for(var b=[],P=r.length,I=0;I<P;I+=1){var V=r[I],K=10,ae=10;sl(V.size)&&(K=V.size,ae=V.size),ap(V.size)?(isNaN(V.size[0])||(K=V.size[0]),isNaN(V.size[1])||(ae=V.size[1])):dg(V.size)&&(K=V.size.width,ae=V.size.height),t.getWidth&&!isNaN(t.getWidth(V))&&(ae=t.getWidth(V)),t.getHeight&&!isNaN(t.getHeight(V))&&(K=t.getHeight(V));var ue=Math.max(K,ae);b.push(ue)}t.barnesHut===void 0&&P>250&&(t.barnesHut=!0),t.prune===void 0&&P>100&&(t.prune=!0),this.maxIteration===0&&!t.prune?(g=250,P<=200&&P>100?g=1e3:P>200&&(g=1200),this.maxIteration=g):this.maxIteration===0&&v&&(g=100,P<=200&&P>100?g=500:P>200&&(g=950),this.maxIteration=g),t.kr||(t.kr=50,P>100&&P<=500?t.kr=20:P>500&&(t.kr=1)),t.kg||(t.kg=20,P>100&&P<=500?t.kg=10:P>500&&(t.kg=1)),this.nodes=t.updateNodesByForces(b),d()}},{key:"updateNodesByForces",value:function(t){for(var r=this,d=r.edges,v=r.maxIteration,g=r.nodes,b=d.filter(function(Gt){var Jt=gf(Gt,"source"),mn=gf(Gt,"target");return Jt!==mn}),P=g.length,I=b.length,V=[],K={},ae={},ue=[],ve=0;ve<P;ve+=1)K[g[ve].id]=ve,V[ve]=0,(g[ve].x===void 0||isNaN(g[ve].x))&&(g[ve].x=Math.random()*1e3),(g[ve].y===void 0||isNaN(g[ve].y))&&(g[ve].y=Math.random()*1e3),ue.push({x:g[ve].x,y:g[ve].y});for(var Oe=0;Oe<I;Oe+=1){for(var ke=void 0,Ie=void 0,Ye=0,Ze=0,et=0;et<P;et+=1){var yt=gf(b[Oe],"source"),jt=gf(b[Oe],"target");g[et].id===yt?(ke=g[et],Ye=et):g[et].id===jt&&(Ie=g[et],Ze=et),ae[Oe]={sourceIdx:Ye,targetIdx:Ze}}ke&&(V[K[ke.id]]+=1),Ie&&(V[K[Ie.id]]+=1)}var Ft=v;if(g=this.iterate(Ft,K,ae,I,V,t),r.prune){for(var Ht=0;Ht<I;Ht+=1)V[ae[Ht].sourceIdx]<=1?(g[ae[Ht].sourceIdx].x=g[ae[Ht].targetIdx].x,g[ae[Ht].sourceIdx].y=g[ae[Ht].targetIdx].y):V[ae[Ht].targetIdx]<=1&&(g[ae[Ht].targetIdx].x=g[ae[Ht].sourceIdx].x,g[ae[Ht].targetIdx].y=g[ae[Ht].sourceIdx].y);r.prune=!1,r.barnesHut=!1,Ft=100,g=this.iterate(Ft,K,ae,I,V,t)}return g}},{key:"iterate",value:function(t,r,d,v,g,b){for(var P=this,I=P.nodes,V=P.kr,K=P.preventOverlap,ae=P.barnesHut,ue=I.length,ve=0,Oe=100,ke=t,Ie=50,Ye=[],Ze=[],et=[],yt=0;yt<ue;yt+=1)if(Ye[2*yt]=0,Ye[2*yt+1]=0,ae){var jt={id:yt,rx:I[yt].x,ry:I[yt].y,mass:1,g:V,degree:g[yt]};et[yt]=new Id(jt)}for(;ke>0;){for(var Ft=0;Ft<ue;Ft+=1)Ze[2*Ft]=Ye[2*Ft],Ze[2*Ft+1]=Ye[2*Ft+1],Ye[2*Ft]=0,Ye[2*Ft+1]=0;Ye=this.getAttrForces(ke,Ie,v,r,d,g,b,Ye),ae&&(K&&ke>Ie||!K)?Ye=this.getOptRepGraForces(Ye,et,g):Ye=this.getRepGraForces(ke,Ie,Ye,Oe,b,g);var Ht=this.updatePos(Ye,Ze,ve,g);I=Ht.nodes,ve=Ht.sg,ke--,P.tick&&P.tick()}return I}},{key:"getAttrForces",value:function(t,r,d,v,g,b,P,I){for(var V=this,K=V.nodes,ae=V.preventOverlap,ue=V.dissuadeHubs,ve=V.mode,Oe=V.prune,ke=0;ke<d;ke+=1){var Ie=K[g[ke].sourceIdx],Ye=g[ke].sourceIdx,Ze=K[g[ke].targetIdx],et=g[ke].targetIdx;if(!(Oe&&(b[Ye]<=1||b[et]<=1))){var yt=[Ze.x-Ie.x,Ze.y-Ie.y],jt=Math.hypot(yt[0],yt[1]);jt=jt<1e-4?1e-4:jt,yt[0]=yt[0]/jt,yt[1]=yt[1]/jt,ae&&t<r&&(jt=jt-P[Ye]-P[et]);var Ft=jt,Ht=Ft;ve==="linlog"&&(Ft=Math.log(1+jt),Ht=Ft),ue&&(Ft=jt/b[Ye],Ht=jt/b[et]),ae&&t<r&&jt<=0?(Ft=0,Ht=0):ae&&t<r&&jt>0&&(Ft=jt,Ht=jt),I[2*v[Ie.id]]+=Ft*yt[0],I[2*v[Ze.id]]-=Ht*yt[0],I[2*v[Ie.id]+1]+=Ft*yt[1],I[2*v[Ze.id]+1]-=Ht*yt[1]}}return I}},{key:"getRepGraForces",value:function(t,r,d,v,g,b){for(var P=this,I=P.nodes,V=P.preventOverlap,K=P.kr,ae=P.kg,ue=P.center,ve=P.prune,Oe=I.length,ke=0;ke<Oe;ke+=1){for(var Ie=ke+1;Ie<Oe;Ie+=1)if(!(ve&&(b[ke]<=1||b[Ie]<=1))){var Ye=[I[Ie].x-I[ke].x,I[Ie].y-I[ke].y],Ze=Math.hypot(Ye[0],Ye[1]);Ze=Ze<1e-4?1e-4:Ze,Ye[0]=Ye[0]/Ze,Ye[1]=Ye[1]/Ze,V&&t<r&&(Ze=Ze-g[ke]-g[Ie]);var et=K*(b[ke]+1)*(b[Ie]+1)/Ze;V&&t<r&&Ze<0?et=v*(b[ke]+1)*(b[Ie]+1):V&&t<r&&Ze===0?et=0:V&&t<r&&Ze>0&&(et=K*(b[ke]+1)*(b[Ie]+1)/Ze),d[2*ke]-=et*Ye[0],d[2*Ie]+=et*Ye[0],d[2*ke+1]-=et*Ye[1],d[2*Ie+1]+=et*Ye[1]}var yt=[I[ke].x-ue[0],I[ke].y-ue[1]],jt=Math.hypot(yt[0],yt[1]);yt[0]=yt[0]/jt,yt[1]=yt[1]/jt;var Ft=ae*(b[ke]+1);d[2*ke]-=Ft*yt[0],d[2*ke+1]-=Ft*yt[1]}return d}},{key:"getOptRepGraForces",value:function(t,r,d){for(var v=this,g=v.nodes,b=v.kg,P=v.center,I=v.prune,V=g.length,K=9e10,ae=-9e10,ue=9e10,ve=-9e10,Oe=0;Oe<V;Oe+=1)I&&d[Oe]<=1||(r[Oe].setPos(g[Oe].x,g[Oe].y),g[Oe].x>=ae&&(ae=g[Oe].x),g[Oe].x<=K&&(K=g[Oe].x),g[Oe].y>=ve&&(ve=g[Oe].y),g[Oe].y<=ue&&(ue=g[Oe].y));for(var ke=Math.max(ae-K,ve-ue),Ie={xmid:(ae+K)/2,ymid:(ve+ue)/2,length:ke,massCenter:P,mass:V},Ye=new xp(Ie),Ze=new op(Ye),et=0;et<V;et+=1)I&&d[et]<=1||r[et].in(Ye)&&Ze.insert(r[et]);for(var yt=0;yt<V;yt+=1)if(!(I&&d[yt]<=1)){r[yt].resetForce(),Ze.updateForce(r[yt]),t[2*yt]-=r[yt].fx,t[2*yt+1]-=r[yt].fy;var jt=[g[yt].x-P[0],g[yt].y-P[1]],Ft=Math.hypot(jt[0],jt[1]);Ft=Ft<1e-4?1e-4:Ft,jt[0]=jt[0]/Ft,jt[1]=jt[1]/Ft;var Ht=b*(d[yt]+1);t[2*yt]-=Ht*jt[0],t[2*yt+1]-=Ht*jt[1]}return t}},{key:"updatePos",value:function(t,r,d,v){for(var g=this,b=g.nodes,P=g.ks,I=g.tao,V=g.prune,K=g.ksmax,ae=b.length,ue=[],ve=[],Oe=0,ke=0,Ie=0;Ie<ae;Ie+=1)if(!(V&&v[Ie]<=1)){var Ye=[t[2*Ie]-r[2*Ie],t[2*Ie+1]-r[2*Ie+1]],Ze=Math.hypot(Ye[0],Ye[1]),et=[t[2*Ie]+r[2*Ie],t[2*Ie+1]+r[2*Ie+1]],yt=Math.hypot(et[0],et[1]);ue[Ie]=Ze,ve[Ie]=yt/2,Oe+=(v[Ie]+1)*ue[Ie],ke+=(v[Ie]+1)*ve[Ie]}var jt=d;d=I*ke/Oe,jt!==0&&(d=d>1.5*jt?1.5*jt:d);for(var Ft=0;Ft<ae;Ft+=1)if(!(V&&v[Ft]<=1)&&!(sl(b[Ft].fx)&&sl(b[Ft].fy))){var Ht=P*d/(1+d*Math.sqrt(ue[Ft])),Gt=Math.hypot(t[2*Ft],t[2*Ft+1]);Gt=Gt<1e-4?1e-4:Gt;var Jt=K/Gt;Ht=Ht>Jt?Jt:Ht;var mn=Ht*t[2*Ft],vn=Ht*t[2*Ft+1];b[Ft].x+=mn,b[Ft].y+=vn}return{nodes:b,sg:d}}}]),c}(Wv),Lv=function(){function u(){Object(xi.a)(this,u),this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}return Object(Pi.a)(u,[{key:"init",value:function(c,o,t){this.cells=[],this.CELL_W=t.CELL_W||u.DEFAULT_CELL_W,this.CELL_H=t.CELL_H||u.DEFAULT_CELL_H,this.columnNum=Math.ceil(c/this.CELL_W),this.rowNum=Math.ceil(o/this.CELL_H),u.MIN_DIST=Math.pow(c,2)+Math.pow(o,2);for(var r=0;r<this.columnNum;r++){for(var d=[],v=0;v<this.rowNum;v++){var g={dx:r,dy:v,x:r*this.CELL_W,y:v*this.CELL_H,occupied:!1};d.push(g)}this.cells.push(d)}}},{key:"findGridByNodeId",value:function(c){for(var o,t,r=0;r<this.columnNum;r++)for(var d=0;d<this.rowNum;d++)if(this.cells[r][d].node&&((t=(o=this.cells[r][d])===null||o===void 0?void 0:o.node)===null||t===void 0?void 0:t.id)===c)return{column:r,row:d};return null}},{key:"sqdist",value:function(c,o){return Math.pow(c.x-o.x,2)+Math.pow(c.y-o.y,2)}},{key:"occupyNearest",value:function(c){for(var o=u.MIN_DIST,t,r=null,d=0;d<this.columnNum;d++)for(var v=0;v<this.rowNum;v++)!this.cells[d][v].occupied&&(t=this.sqdist(c,this.cells[d][v]))<o&&(o=t,r=this.cells[d][v]);return r&&(r.occupied=!0),r}},{key:"insertColumn",value:function(c,o){if(!(o<=0)){for(var t=0;t<o;t++){this.cells[t+this.columnNum]=[];for(var r=0;r<this.rowNum;r++)this.cells[t+this.columnNum][r]={dx:t,dy:r,x:t*this.CELL_W,y:r*this.CELL_H,occupied:!1,node:null}}for(var d=this.columnNum-1;d>c;d--)for(var v=0;v<this.rowNum;v++)this.cells[d+o][v]=Object.assign(Object.assign({},this.cells[d][v]),{x:(d+o)*this.CELL_W,y:v*this.CELL_H}),this.cells[d][v]={x:d*this.CELL_W,y:v*this.CELL_H,occupied:!0,node:null};for(var g=0;g<this.additionColumn.length;g++)this.additionColumn[g]>=c&&(this.additionColumn[g]+=o);for(var b=0;b<o;b++)this.additionColumn.push(c+b+1);this.columnNum+=o}}},{key:"insertRow",value:function(c,o){if(!(o<=0)){for(var t=0;t<o;t++)for(var r=0;r<this.columnNum;r++)this.cells[r][t+this.rowNum]={dx:r,dy:t,x:r*this.CELL_W,y:t*this.CELL_H,occupied:!1,node:null};for(var d=0;d<this.columnNum;d++)for(var v=this.rowNum-1;v>c;v--)this.cells[d][v+o]=Object.assign(Object.assign({},this.cells[d][v]),{dx:d,dy:v+o,x:d*this.CELL_W,y:(v+o)*this.CELL_H}),this.cells[d][v]={dx:d,dy:v,x:d*this.CELL_W,y:v*this.CELL_H,occupied:!1,node:null};for(var g=0;g<this.additionRow.length;g++)this.additionRow[g]>=c&&(this.additionRow[g]+=o);for(var b=0;b<o;b++)this.additionRow.push(c+b+1);this.rowNum+=o}}},{key:"getNodes",value:function(){for(var c=[],o=0;o<this.columnNum;o++)for(var t=0;t<this.rowNum;t++)this.cells[o][t].node&&c.push(this.cells[o][t]);return c}}]),u}();Lv.MIN_DIST=50,Lv.DEFAULT_CELL_W=80,Lv.DEFAULT_CELL_H=80;function fh(u,i){if(!u.nodes||u.nodes.length===0)return u;var c=i.width,o=i.height,t=i.nodeMinGap,r=1e4,d=1e4;u.nodes.forEach(function(jt){var Ft=jt.size[0]||50,Ht=jt.size[1]||50;r=Math.min(Ft,r),d=Math.min(Ht,d)});var v=new Lv;v.init(c,o,{CELL_H:d,CELL_W:r}),u.nodes.forEach(function(jt){var Ft=v.occupyNearest(jt);Ft&&(Ft.node={id:jt.id,size:jt.size},jt.x=Ft.x,jt.y=Ft.y,jt.dx=Ft.dx,jt.dy=Ft.dy)});for(var g=0;g<u.nodes.length;g++){var b=u.nodes[g],P=v.findGridByNodeId(b.id);if(!P)throw new Error("can not find node cell");var I=P.column,V=P.row;if(b.size[0]+t>r){for(var K=Math.ceil((b.size[0]+t)/r)-1,ae=K,ue=0;ue<K;ue++){var ve=v.additionColumn.indexOf(I+ue+1)>-1;if(ve&&!v.cells[I+ue+1][V].node)ae--;else break}v.insertColumn(I,ae)}if(b.size[1]+t>d){for(var Oe=Math.ceil((b.size[1]+t)/d)-1,ke=Oe,Ie=0;Ie<Oe;Ie++){var Ye=v.additionRow.indexOf(V+Ie+1)>-1;if(Ye&&!v.cells[I][V+Ie+1].node)ke--;else break}v.insertRow(V,ke)}}for(var Ze=0;Ze<v.columnNum;Ze++)for(var et=function(Ft){var Ht=v.cells[Ze][Ft];if(Ht.node){var Gt=u.nodes.find(function(Jt){var mn;return Jt.id===((mn=Ht==null?void 0:Ht.node)===null||mn===void 0?void 0:mn.id)});Gt&&(Gt.x=Ht.x+Gt.size[0]/2,Gt.y=Ht.y+Gt.size[1]/2)}},yt=0;yt<v.rowNum;yt++)et(yt)}var km=1200,Rh=800,Fb=1e7,Fv=10,IE=3.141592653589793,y4=1.5707963267948966,Coe=IE*.375,bG=IE*.625,vP=new Map,Eoe=10,xoe=10,Uf=.8,ku=.1,Sp=.5;function Dh(u,i,c){var o=u.x-u.size[0]/2,t=u.y-u.size[1]/2,r=u.x+u.size[0]/2,d=u.y+u.size[1]/2,v=i.x-i.size[0]/2,g=i.y-i.size[1]/2,b=i.x+i.size[0]/2,P=i.y+i.size[1]/2,I=u.x,V=u.y,K=i.x,ae=i.y,ue=K-I,ve=Math.atan2(ue,ae-V),Oe=0,ke=0,Ie=0,Ye=0;ve>y4?(ke=t-P,Oe=v-r,Ie=parseFloat(ke?(ke/Math.cos(ve)).toFixed(2):Oe.toFixed(2)),Ye=parseFloat(Oe?(Oe/Math.sin(ve)).toFixed(2):ke.toFixed(2))):0<ve&&ve<=y4?(ke=g-d,Oe=v-r,ke>Oe?Ie=Ye=parseFloat(ke?(ke/Math.cos(ve)).toFixed(2):Oe.toFixed(2)):Ie=Ye=parseFloat(Oe?(Oe/Math.sin(ve)).toFixed(2):ke.toFixed(2))):ve<-y4?(ke=t-P,Oe=-(b-o),ke>Oe?Ie=Ye=parseFloat(ke?(ke/Math.cos(ve)).toFixed(2):Oe.toFixed(2)):Ie=Ye=parseFloat(Oe?(Oe/Math.sin(ve)).toFixed(2):ke.toFixed(2))):(ke=g-d,Math.abs(ue)>(r-o)/2?Oe=o-b:Oe=ue,ke>Oe?Ie=Ye=parseFloat(ke?(ke/Math.cos(ve)).toFixed(2):Oe.toFixed(2)):Ie=Ye=parseFloat(Oe&&ve!==0?(Oe/Math.sin(ve)).toFixed(2):ke.toFixed(2)));var Ze=parseFloat(ve.toFixed(2)),et=c;return c&&(et=Coe<Ze&&Ze<bG),{distance:Math.abs(Ie<Ye?Ie:Ye),isHoriz:et}}function p_(u,i){var c=vP.get(u.id)||[],o=c.find(function(En){return En.source===i.id||En.target===i.id}),t=u.size[0]*u.size[1],r=i.size[0]*i.size[1],d=t>r?i:u,v=t>r?u:i,g=d.x-d.size[0]/2,b=d.y-d.size[1]/2,P=d.x+d.size[0]/2,I=d.y+d.size[1]/2,V=v.x-v.size[0]/2,K=v.y-v.size[1]/2,ae=v.x+v.size[0]/2,ue=v.y+v.size[1]/2,ve=d.x,Oe=d.y,ke=v.x,Ie=v.y,Ye=P>=V&&ae>=g&&I>=K&&ue>=b,Ze=0,et=0;if(Ye){et=Math.sqrt(Math.pow(ke-ve,2)+Math.pow(Ie-Oe,2));var yt=g>V?g:V,jt=b>K?b:K,Ft=P<ae?P:ae,Ht=I<ue?I:ue,Gt=Ft-yt,Jt=Ht-jt,mn=Gt*Jt;et===0&&(et=1e-7),Ze=Fv*1/et*100+mn,Ze*=Fb}else{var vn=!1,Yt=Dh(d,v,vn);et=Yt.distance,vn=Yt.isHoriz,et<=Fv?et!==0?o?Ze+=Fv+Fb*1/et:Ze+=Fv+Fb*Fv/et:Ze+=Fb:(Ze+=et,o&&(Ze+=et*et))}return Ze}function Zf(u){for(var i=0,c=0;c<u.length;c++){var o=u[c];(o.x<0||o.y<0||o.x>km||o.y>Rh)&&(i+=1e12);for(var t=c+1;t<u.length;t++)i+=p_(o,u[t])}return i}function Dg(u,i,c,o){var t=new Map;c.forEach(function(ve,Oe){t.set(ve.id,ve)});var r=o.filter(function(ve){return ve.source===u.id||ve.target===u.id})||[],d=[];r.forEach(function(ve){var Oe=ve.source===u.id?ve.target:ve.source,ke=t.get(Oe);ke&&d.push(ke)});for(var v=!0,g=0;g<d.length;g++){var b=d[g],P=Math.atan((u.y-b.y)/(b.x-u.y))*180,I=Math.atan((i.y-b.y)/(b.x-i.y))*180,V=P<30||P>150,K=I<30||I>150,ae=P>70&&P<110,ue=I>70&&I<110;if(V&&!K||P*I<0){v=!1;break}else if(ae&&!ue||P*I<0){v=!1;break}else if((b.x-u.x)*(b.x-i.x)<0){v=!1;break}else if((b.y-u.y)*(b.y-i.y)<0){v=!1;break}}return v}function v_(u,i){for(var c=!1,o=1,t=Eoe*o,r=xoe*o,d=[t,-t,0,0],v=[0,0,r,-r],g=0;g<u.length;++g)for(var b=u[g],P=Ub(b,u),I=0;I<d.length;I++){var V=Dg(b,{x:b.x+d[I],y:b.y+v[I]},u,i);if(V){b.x+=d[I],b.y+=v[I];var K=Ub(b,u),ae=Math.random();K<P||ae<Uf&&ae>ku?(P=K,c=!0):(b.x-=d[I],b.y-=v[I])}}return Uf>ku&&(Uf*=Sp),c?Zf(u):0}function Ub(u,i){var c=0;(u.x<0||u.y<0||u.x+u.size[0]+20>km||u.y+u.size[1]+20>Rh)&&(c+=1e12);for(var o=0;o<i.length;++o)u.id!==i[o].id&&(c+=p_(u,i[o]));return c}function kO(u,i){if(u.length===0)return{nodes:u,edges:i};u.forEach(function(b){var P=i.filter(function(I){return I.source===b.id||I.target===b.id});vP.set(b,P)}),u.sort(function(b,P){var I,V;return((I=vP.get(b.id))===null||I===void 0?void 0:I.length)-((V=vP.get(P.id))===null||V===void 0?void 0:V.length)});for(var c=Zf(u),o=20,t=1,r=0,d=50,v=0;o>0&&(v++,!(v>=d));){var g=v_(u,i);g!==0&&(r=g),t=r-c,c=r,t===0?--o:o=20}return u.forEach(function(b){b.x=b.x-b.size[0]/2,b.y=b.y-b.size[1]/2}),{nodes:u,edges:i}}var Soe=kO;function h_(u,i){var c=u.nodes,o=u.edges,t=i.width,r=i.height;if(!(c==null?void 0:c.length))return Promise.resolve();var d=[];c.forEach(function(ue){var ve=o.filter(function(ke){return ke.source===ue.id||ke.target===ue.id});if(ve.length>1){var Oe=Object.assign({},ue);delete Oe.size,d.push(Oe)}});var v=[];o.forEach(function(ue){var ve=d.find(function(ke){return ke.id===ue.source}),Oe=d.find(function(ke){return ke.id===ue.target});ve&&Oe&&v.push(ue)});var g=new Bie({type:"dagre",ranksep:i.nodeMinGap,nodesep:i.nodeMinGap}),b=g.layout({nodes:d,edges:v}),P=b.nodes;c.forEach(function(ue){var ve=(P||[]).find(function(Oe){return Oe.id===ue.id});ue.x=(ve==null?void 0:ve.x)||t/2,ue.y=(ve==null?void 0:ve.y)||r/2});var I=JSON.parse(JSON.stringify(c)),V=JSON.parse(JSON.stringify(o)),K=R3().nodes(I).force("link",yw(V).id(function(ue){return ue.id}).distance(function(ue){var ve=v.find(function(Oe){return Oe.source===ue.source&&Oe.target===ue.target});return ve?30:20})).force("charge",xE()).force("center",_w(t/2,r/2)).force("x",I3(t/2)).force("y",Gz(r/2)).alpha(.3).alphaDecay(.08).alphaMin(.001),ae=new Promise(function(ue){K.on("end",function(){c.forEach(function(et){var yt=I.find(function(jt){return jt.id===et.id});yt&&(et.x=yt.x,et.y=yt.y)});var ve=Math.min.apply(Math,Object(Bs.a)(c.map(function(et){return et.x}))),Oe=Math.max.apply(Math,Object(Bs.a)(c.map(function(et){return et.x}))),ke=Math.min.apply(Math,Object(Bs.a)(c.map(function(et){return et.y}))),Ie=Math.max.apply(Math,Object(Bs.a)(c.map(function(et){return et.y}))),Ye=t/(Oe-ve),Ze=r/(Ie-ke);c.forEach(function(et){et.x!==void 0&&Ye<1&&(et.x=(et.x-ve)*Ye),et.y!==void 0&&Ze<1&&(et.y=(et.y-ke)*Ze)}),c.forEach(function(et){et.sizeTemp=et.size,et.size=[10,10]}),Soe(c,o),c.forEach(function(et){et.size=et.sizeTemp||[],delete et.sizeTemp}),fh({nodes:c,edges:o},i),ue()})});return ae}var NE=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(o){var t;return Object(xi.a)(this,c),t=i.call(this),t.width=300,t.height=300,t.nodeMinGap=50,t.onLayoutEnd=function(){},o&&t.updateCfg(o),t}return Object(Pi.a)(c,[{key:"getDefaultCfg",value:function(){return{width:300,height:300,nodeMinGap:50}}},{key:"execute",value:function(){var t=this,r=t.nodes,d=t.edges;return r==null||r.forEach(function(v){v.size||(v.size=[50,50])}),h_({nodes:r,edges:d},{width:this.width,height:this.height,nodeMinGap:this.nodeMinGap}).then(function(){t.onLayoutEnd&&t.onLayoutEnd()})}},{key:"getType",value:function(){return"er"}}]),c}(Wv),OG=function(){function u(i){Object(xi.a)(this,u);var c=xre(i.type);this.layoutInstance=new c(i)}return Object(Pi.a)(u,[{key:"layout",value:function(c){return this.layoutInstance.layout(c)}},{key:"updateCfg",value:function(c){this.layoutInstance.updateCfg(c)}},{key:"init",value:function(c){this.correctLayers(c.nodes),this.layoutInstance.init(c)}},{key:"correctLayers",value:function(c){if(!!(c==null?void 0:c.length)){var o=Infinity,t=[];if(c.forEach(function(d){Tb(d.layer)&&(d.layer=parseInt(d.layer,10)),!(d.layer===void 0||isNaN(d.layer))&&(t.push(d),d.layer<o&&(o=d.layer))}),o<=0){var r=Math.abs(o)+1;t.forEach(function(d){return d.layer+=r})}}}},{key:"execute",value:function(){this.layoutInstance.execute()}},{key:"getDefaultCfg",value:function(){return this.layoutInstance.getDefaultCfg()}},{key:"destroy",value:function(){return this.layoutInstance.destroy()}}]),u}(),Tue={force:zre,fruchterman:coe,forceAtlas2:Ev,gForce:wz,force2:tce,dagre:Bie,dagreCompound:pce,circular:Kre,radial:Db,concentric:pG,grid:Sre,mds:vG,comboForce:_u,comboCombined:Rf,random:wre,"gForce-gpu":el,"fruchterman-gpu":Nu,er:NE},CG;(function(u){u.command=qu.GRAPH_LAYOUT,u.hookKey="graphLayout"})(CG||(CG={}));var b4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.graphLayout.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return K=I.layoutType,ae=I.layoutOptions,ue=I.customLayout,ve=function(Ze){var et=Tue[K],yt=new et(Object.assign({},ae));return yt.layout(Ze)},Oe=ue||ve,Ie.next=5,Oe(I.graphData);case 5:return Ie.abrupt("return",{graphData:I.graphData});case 6:case"end":return Ie.stop()}},V)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],b4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],b4.prototype,"init",null),b4=ls([Object(co.injectable)({token:{token:cf,named:CG.command.id}})],b4);var EG;(function(u){function i(o,t){return Object(Gh.isEqual)(o,t)}u.isNodeEqual=i;function c(o,t){return Object(Gh.isEqual)(o,t)}u.isEdgeEqual=c})(EG||(EG={}));var xG;(function(u){u.command=qu.GRAPH_RENDER,u.hookKey="graphRender"})(xG||(xG={}));var O4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.graphRender.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ze.next=2,this.ctx.getX6Graph();case 2:return K=Ze.sent,Ze.next=5,this.ctx.getGraphMeta();case 5:return ae=Ze.sent,ue=I.beforeRender,ve=I.graphData,Oe=I.isNodeEqual,ke=I.isEdgeEqual,Ie=I.afterRender,ue&&ue(ae),Ze.next=10,this.doLoadGraph(K,ve,Oe,ke);case 10:return Ie&&Ie(ve,ae),Ze.abrupt("return",{});case 12:case"end":return Ze.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))},this.doLoadGraph=function(c,o,t,r){return la(i,void 0,void 0,Object(Z.a)().mark(function d(){var v=this,g,b,P,I,V,K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or,$r,vr,Er,Hr;return Object(Z.a)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:(c==null?void 0:c.isFrozen())||c==null||c.freeze(),g=this.ctx.getCommands(),b=this.graphDataDiff(c,o,t,r),P=b.addNodeConfigs,I=b.addEdgeConfigs,V=b.removeNodes,K=b.removeEdges,ae=b.updateNodes,ue=b.updateEdges,ve=Object(iv.a)(ae),Fr.prev=4,ve.s();case 6:if((Oe=ve.n()).done){Fr.next=13;break}return ke=Oe.value,Ie=ke==null?void 0:ke.getData(),Fr.next=11,g.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:Ie});case 11:Fr.next=6;break;case 13:Fr.next=18;break;case 15:Fr.prev=15,Fr.t0=Fr.catch(4),ve.e(Fr.t0);case 18:return Fr.prev=18,ve.f(),Fr.finish(18);case 21:Ye=Object(iv.a)(ue),Fr.prev=22,Ye.s();case 24:if((Ze=Ye.n()).done){Fr.next=31;break}return et=Ze.value,yt=et==null?void 0:et.getData(),Fr.next=29,g.executeCommand(Up.UPDATE_EDGE.id,{edgeConfig:yt});case 29:Fr.next=24;break;case 31:Fr.next=36;break;case 33:Fr.prev=33,Fr.t1=Fr.catch(22),Ye.e(Fr.t1);case 36:return Fr.prev=36,Ye.f(),Fr.finish(36);case 39:jt=Object(iv.a)(P),Fr.prev=40,jt.s();case 42:if((Ft=jt.n()).done){Fr.next=48;break}return Ht=Ft.value,Fr.next=46,g.executeCommand(Pf.ADD_NODE.id,{nodeConfig:Ht,options:{isRenderGraph:!0}},{name:"remove servcie",handler:function(fa){return la(v,void 0,void 0,Object(Z.a)().mark(function ai(){return Object(Z.a)().wrap(function(Co){for(;;)switch(Co.prev=Co.next){case 0:delete fa.createNodeService;case 1:case"end":return Co.stop()}},ai)}))}});case 46:Fr.next=42;break;case 48:Fr.next=53;break;case 50:Fr.prev=50,Fr.t2=Fr.catch(40),jt.e(Fr.t2);case 53:return Fr.prev=53,jt.f(),Fr.finish(53);case 56:return Fr.next=58,g.executeCommand(Nv.INIT_GROUP.id,{graphData:{nodes:P,edges:[]}});case 58:Gt=Object(iv.a)(I),Fr.prev=59,Gt.s();case 61:if((Jt=Gt.n()).done){Fr.next=67;break}return mn=Jt.value,Fr.next=65,g.executeCommand(Up.ADD_EDGE.id,{edgeConfig:mn,options:{isRenderGraph:!0}},{name:"remove servcie",handler:function(fa){return la(v,void 0,void 0,Object(Z.a)().mark(function ai(){return Object(Z.a)().wrap(function(Co){for(;;)switch(Co.prev=Co.next){case 0:delete fa.createEdgeService;case 1:case"end":return Co.stop()}},ai)}))}});case 65:Fr.next=61;break;case 67:Fr.next=72;break;case 69:Fr.prev=69,Fr.t3=Fr.catch(59),Gt.e(Fr.t3);case 72:return Fr.prev=72,Gt.f(),Fr.finish(72);case 75:vn=Object(iv.a)(V),Fr.prev=76,vn.s();case 78:if((Yt=vn.n()).done){Fr.next=90;break}if(En=Yt.value,or=En==null?void 0:En.getData(),!or.isGroup){Fr.next=86;break}return Fr.next=84,g.executeCommand(Nv.DEL_GROUP.id,{nodeConfig:or});case 84:Fr.next=88;break;case 86:return Fr.next=88,g.executeCommand(Pf.DEL_NODE.id,{nodeConfig:or});case 88:Fr.next=78;break;case 90:Fr.next=95;break;case 92:Fr.prev=92,Fr.t4=Fr.catch(76),vn.e(Fr.t4);case 95:return Fr.prev=95,vn.f(),Fr.finish(95);case 98:$r=Object(iv.a)(K),Fr.prev=99,$r.s();case 101:if((vr=$r.n()).done){Fr.next=108;break}return Er=vr.value,Hr=Er==null?void 0:Er.getData(),Fr.next=106,g.executeCommand(Up.DEL_EDGE.id,{edgeConfig:Hr});case 106:Fr.next=101;break;case 108:Fr.next=113;break;case 110:Fr.prev=110,Fr.t5=Fr.catch(99),$r.e(Fr.t5);case 113:return Fr.prev=113,$r.f(),Fr.finish(113);case 116:(c==null?void 0:c.isFrozen())&&(c==null||c.unfreeze());case 117:case"end":return Fr.stop()}},d,this,[[4,15,18,21],[22,33,36,39],[40,50,53,56],[59,69,72,75],[76,92,95,98],[99,110,113,116]])}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}},{key:"graphDataDiff",value:function(c,o,t,r){var d=o.nodes,v=o.edges,g=[];d.forEach(function(ke){var Ie=c.getCellById(ke==null?void 0:ke.id);Ie||g.push(ke)});var b=[],P=[],I=[],V=c.getNodes();V.forEach(function(ke){var Ie=d.find(function(Ze){return(Ze==null?void 0:Ze.id)===(ke==null?void 0:ke.id)});if(!Ie)I.push(ke);else{var Ye=!0;t?Ye=t(ke==null?void 0:ke.data,Ie):(ke==null?void 0:ke.data)&&Ie&&(Ye=EG.isNodeEqual(ke==null?void 0:ke.data,Ie)),Ye||ke.setData(Ie,{deep:!1}),Ye===!0?b.push(ke):P.push(ke)}});var K=[];v.forEach(function(ke){var Ie=c.getCellById(ke==null?void 0:ke.id);Ie||K.push(ke)});var ae=[],ue=[],ve=[],Oe=c.getEdges();return Oe.forEach(function(ke){var Ie=v.find(function(Ze){return(Ze==null?void 0:Ze.id)===(ke==null?void 0:ke.id)});if(!Ie)ve.push(ke);else{var Ye=!0;r?Ye=r(ke==null?void 0:ke.data,Ie):(ke==null?void 0:ke.data)&&Ie&&(Ye=EG.isEdgeEqual(ke==null?void 0:ke.data,Ie)),Ye||ke.setData(Ie,{deep:!1}),Ye===!0?ae.push(ke):ue.push(ke)}}),{addNodeConfigs:g,addEdgeConfigs:K,retainNodes:b,retainEdges:ae,removeNodes:I,removeEdges:ve,updateNodes:P,updateEdges:ue}}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],O4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],O4.prototype,"init",null),O4=ls([Object(co.injectable)({token:{token:cf,named:xG.command.id}})],O4);var SG;(function(u){u.command=qu.GRAPH_RESIZE,u.hookKey="graphResize"})(SG||(SG={}));var C4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),K.next=4,this.ctx.getGraphConfig();case 4:return g=K.sent,b=g.rootContainer.clientHeight,P=g.rootContainer.clientWidth,K.next=9,v.graphResize.call(r,function(ae){return la(o,void 0,void 0,Object(Z.a)().mark(function ue(){var ve,Oe,ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,this.ctx.getX6Graph();case 2:return ve=et.sent,Oe=ae.width,ke=Oe===void 0?P:Oe,Ie=ae.height,Ye=Ie===void 0?b:Ie,ve==null||ve.resize(ke,Ye),et.abrupt("return",{});case 6:case"end":return et.stop()}},ue,this)}))},d);case 9:return I=K.sent,this.ctx.setResult(I),K.abrupt("return",this);case 12:case"end":return K.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],C4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],C4.prototype,"init",null),C4=ls([Object(co.injectable)({token:{token:cf,named:SG.command.id}})],C4);var wG;(function(u){u.command=qu.GRAPH_FULLSCREEN,u.hookKey="graphFullscreen"})(wG||(wG={}));var E4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),V.next=4,this.ctx.getGraphConfig();case 4:if(g=V.sent,b=g.appContainer,b){V.next=8;break}return V.abrupt("return");case 8:return V.next=10,v.graphFullscreen.call(r,function(){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae,ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ve=!1,document.fullscreenElement?(ue=document.exitFullscreen)===null||ue===void 0||ue.call(document):((ae=b.requestFullscreen)===null||ae===void 0||ae.call(b),ve=!0),ke.abrupt("return",{fulllscreen:ve});case 3:case"end":return ke.stop()}},K)}))},d);case 10:return P=V.sent,this.ctx.setResult(P),V.abrupt("return",this);case 13:case"end":return V.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],E4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],E4.prototype,"init",null),E4=ls([Object(co.injectable)({token:{token:cf,named:wG.command.id}})],E4);var x4;(function(u){u.command=qu.GRAPH_ZOOM,u.MAX_SCALE=1.5,u.MIN_SCALE=.05,u.defaultZoomOptions={maxScale:u.MAX_SCALE,minScale:u.MIN_SCALE},u.hookKey="graphZoom"})(x4||(x4={}));var S4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.graphZoom.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.next=2,this.ctx.getX6Graph();case 2:return K=Ye.sent,ae=I.factor,ue=I.zoomFitPadding,ve=ue===void 0?12:ue,Oe=I.zoomOptions,ke=Oe===void 0?x4.defaultZoomOptions:Oe,typeof ae=="number"?K==null||K.zoom(ae,ke||{}):ae==="fit"?K==null||K.zoomToFit(Object.assign(Object.assign({},ke),{padding:ve})):ae==="real"&&(K==null||K.scale(1),K==null||K.centerContent()),Ye.abrupt("return",{factor:ae,zoomFitPadding:ve,zoomOptions:ke});case 6:case"end":return Ye.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],S4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],S4.prototype,"init",null),S4=ls([Object(co.injectable)({token:{token:cf,named:x4.command.id}})],S4);var TG;(function(u){u.command=qu.GRAPH_COPY,u.hookKey="graphCopySelection"})(TG||(TG={}));var AG=function(){function u(){var i=this;Object(xi.a)(this,u),this.parseCells=function(c){c.forEach(function(d){var v=d.getData();if(d.isNode()&&v.isGroup){var g=d.getChildren();g.forEach(function(b){c.push(b)})}});var o=c.filter(function(d){return d.isNode()}).map(function(d){return d.id}),t=c.reduce(function(d,v){if(v.isEdge()){var g=v.getSourceCellId(),b=v.getTargetCellId();g&&b&&o.includes(g)&&o.includes(b)&&d.set(v.id,v)}else d.set(v.id,v);return d},new Map),r=Array.from(t.values());return _3(r)},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.graphCopySelection.call(d,function(){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae,ue,ve,Oe,ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.next=2,t.getX6Graph();case 2:return ae=Ye.sent,ue=ae.getSelectedCells(),ve=ae.getEdges(),Oe=this.parseCells([].concat(Object(Bs.a)(ue),Object(Bs.a)(ve))),ke=window.localStorage.getItem(lO),window.localStorage.setItem(lO,JSON.stringify(Oe)),t.addUndo(ou.create(function(){return la(K,void 0,void 0,Object(Z.a)().mark(function Ze(){return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:window.localStorage.setItem(lO,ke);case 1:case"end":return yt.stop()}},Ze)}))})),Ye.abrupt("return",{err:null});case 10:case"end":return Ye.stop()}},V,this)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],AG.prototype,"contextProvider",void 0),AG=ls([Object(co.injectable)({token:{token:cf,named:TG.command.id}})],AG);function Aue(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;try{var c=JSON.parse(u);return c||i}catch(o){return console.error(o),i}}var w4=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.groupNodeMap=new Map,this.nodeMap=new Map,this.nodeMappingRecord=new Map,this.portMap=new Map,this.portMappingRecord=new Map,this.edgeMap=new Map,this.edgeMappingRecord=new Map,this.getNodesByType=function(c){return c.reduce(function(o,t){return t.isGroup?o.groupNodes.push(t):o.normalNodes.push(t),o},{normalNodes:[],groupNodes:[]})},this.getNodePorts=function(c){return Array.isArray(c.ports)?c.ports:c.ports&&Array.isArray(c.ports.items)?c.ports.items:[]},this.addNodes=function(c){c.forEach(function(o){if(o.isGroup)i.groupNodeMap.set(o.id,o);else{var t=i.getNodePorts(o);i.nodeMap.set(o.id,o),t.forEach(function(r){i.portMap.set(r.id,r)})}})},this.addEdge=function(c){c.forEach(function(o){i.edgeMap.set(o.id,o)})},this.buildNodeMapping=function(c,o){var t=c.id||c.originalId,r=o.id;i.nodeMappingRecord.set(t,r);var d=i.getNodePorts(c);d.forEach(function(v,g){var b=o.ports[g];b&&(i.portMap.set(b.id,b),i.portMappingRecord.set(v.id,b.id))})},this.createEdgeBetweenNodes=function(c){var o=c.source,t=c.sourcePortId,r=c.target,d=c.targetPortId;return Object.assign(Object.assign({},c),{source:i.nodeMappingRecord.get(o),target:i.nodeMappingRecord.get(r),sourcePortId:i.portMappingRecord.get(t),targetPortId:i.portMappingRecord.get(d),sourcePort:i.portMappingRecord.get(t),targetPort:i.portMappingRecord.get(d)})},this.buildGroupRelations=function(c){var o=c.groupChildren,t=o.map(function(r){return i.nodeMappingRecord.get(r)});return Object.assign(Object.assign({},c),{groupChildren:t})}});w4=ls([Object(co.injectable)()],w4);var T4,kG;(function(u){u.command=qu.GRAPH_PASTE,u.hookKey="graphPasteSelection"})(kG||(kG={}));function jG(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Math.floor(Math.random()*(u-i)+i)}var hP=T4=function(){function u(){var i=this;Object(xi.a)(this,u),this.updateNodeCopiedProps=function(c,o){var t=jG(100),r=jG(100);return c&&(t=o.x-c.x+jG(30),r=o.y-c.y+jG(30)),o.x+=t,o.y+=r,o.originalId=o.id,delete o.id,o.label=o.label?"".concat(o.label,"_copied"):"",o.isCollapsed=!1,o},this.getEdgeCopiedConfig=function(c){var o=i.mappingHelper.nodeMappingRecord,t=c.id,r=c.source,d=c.target,v=bv(c,["id","source","target"]);return Object.assign(Object.assign({},v),{originalId:t,source:o.get((r==null?void 0:r.cell)||r),target:o.get((d==null?void 0:d.cell)||d)})},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),!T4.doing){I.next=5;break}return I.abrupt("return",this);case 5:return T4.doing=!0,I.next=8,g.graphPasteSelection.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft;return Object(Z.a)().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return ue=V.commandService,ve=V.position,Oe=window.localStorage.getItem(lO),ke=Aue(Oe,{nodes:[],edges:[]}),Ie=ke.nodes,Ye=Ie===void 0?[]:Ie,Ze=ke.edges,et=Ze===void 0?[]:Ze,yt=this.mappingHelper.getNodesByType(Ye),jt=yt.normalNodes,Ft=yt.groupNodes,this.mappingHelper.addNodes(Ye),Gt.next=8,Promise.all(jt.map(function(Jt){return la(ae,void 0,void 0,Object(Z.a)().mark(function mn(){var vn,Yt,En;return Object(Z.a)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:return $r.next=2,ue.executeCommand(Pf.ADD_NODE.id,{nodeConfig:this.updateNodeCopiedProps(ve,Jt)});case 2:vn=$r.sent,Yt=vn.contextProvider(),En=Yt.getResult(),this.mappingHelper.buildNodeMapping(Jt,En.nodeConfig);case 6:case"end":return $r.stop()}},mn,this)}))}));case 8:return Gt.next=10,Promise.all(Ft.map(function(Jt){return la(ae,void 0,void 0,Object(Z.a)().mark(function mn(){var vn;return Object(Z.a)().wrap(function(En){for(;;)switch(En.prev=En.next){case 0:return vn=this.mappingHelper.buildGroupRelations(Jt),En.next=3,ue.executeCommand(Nv.ADD_GROUP.id,{nodeConfig:this.updateNodeCopiedProps(ve,vn)});case 3:case"end":return En.stop()}},mn,this)}))}));case 10:return Gt.next=12,Promise.all(et.map(function(Jt){var mn=ae.getEdgeCopiedConfig(Jt);return ue.executeCommand(Up.ADD_EDGE.id,{edgeConfig:mn})}));case 12:return t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Jt(){return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:window.localStorage.setItem(lO,null);case 1:case"end":return vn.stop()}},Jt)}))})),Gt.abrupt("return",{err:null});case 14:case"end":return Gt.stop()}},K,this)}))},v);case 8:return b=I.sent,t.setResult(b),T4.doing=!1,I.abrupt("return",this);case 12:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();hP.doing=!1,ls([Object(co.inject)(Ad),Es("design:type",Object)],hP.prototype,"contextProvider",void 0),ls([Object(co.inject)(w4),Es("design:type",w4)],hP.prototype,"mappingHelper",void 0),hP=T4=ls([Object(co.injectable)({token:{token:cf,named:kG.command.id}})],hP);var MG;(function(u){u.command=qu.GRAPH_TOGGLE_MULTI_SELECT,u.hookKey="toggleMultiSelect"})(MG||(MG={}));var A4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.toggleMultiSelect.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.next=2,this.ctx.getX6Graph();case 2:return K=Ye.sent,Ye.next=5,this.ctx.getGraphConfig();case 5:return ae=Ye.sent,ue=I.isEnable,ve=I.modelService,Ye.next=9,ne.GRAPH_ENABLE_MULTI_SELECT.getModel(ve);case 9:return Oe=Ye.sent,ke=typeof ue=="boolean"?ue:!K.isRubberbandEnabled(),ke?(K.enableRubberband(),K.scroller&&K.scroller.widget?K.scroller.disablePanning():K.disablePanning(),ae.graphContainer.style.cursor="crosshair"):(K.disableRubberband(),K.scroller&&K.scroller.widget?K.scroller.enablePanning():K.enablePanning(),ae.graphContainer.style.cursor="grab"),Oe.setValue({isEnable:ke}),Ye.abrupt("return",{isEnable:ke});case 14:case"end":return Ye.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],A4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],A4.prototype,"init",null),A4=ls([Object(co.injectable)({token:{token:cf,named:MG.command.id}})],A4);var PG;(function(u){u.command=qu.GRAPH_HISTORY_UNDO,u.hookKey="historyUndo"})(PG||(PG={}));var RG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.historyUndo.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,t.getX6Graph();case 2:if(ue=Oe.sent,ue.isHistoryEnabled()!==!1){Oe.next=5;break}return Oe.abrupt("return",{err:"history is disabled"});case 5:return ue.undo(),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:Ie=V.commandService,Ie.executeCommand(qu.GRAPH_HISTORY_REDO.id,{});case 2:case"end":return Ze.stop()}},ke)}))})),Oe.abrupt("return",{err:null});case 8:case"end":return Oe.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],RG.prototype,"contextProvider",void 0),RG=ls([Object(co.injectable)({token:{token:cf,named:PG.command.id}})],RG);var DG;(function(u){u.command=qu.GRAPH_HISTORY_REDO,u.hookKey="historyRedo"})(DG||(DG={}));var IG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.historyRedo.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,t.getX6Graph();case 2:if(ue=Oe.sent,ue.isHistoryEnabled()!==!1){Oe.next=5;break}return Oe.abrupt("return",{err:"history is disabled"});case 5:return ue.redo(),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:Ie=V.commandService,Ie.executeCommand(qu.GRAPH_HISTORY_UNDO.id,{});case 2:case"end":return Ze.stop()}},ke)}))})),Oe.abrupt("return",{err:null});case 8:case"end":return Oe.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],IG.prototype,"contextProvider",void 0),IG=ls([Object(co.injectable)({token:{token:cf,named:DG.command.id}})],IG);var NG;(function(u){u.command=qu.GRAPH_HISTORY_TOGGLE,u.hookKey="historyToggle"})(NG||(NG={}));var LG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.historyToggle.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,t.getX6Graph();case 2:if(ue=Ie.sent,ue.isHistoryEnabled()!==!1){Ie.next=5;break}return Ie.abrupt("return",{err:"history is disabled"});case 5:return ve=ue.isHistoryEnabled(),Oe=V.enabled,ue.toggleHistory(Oe),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Ye(){var Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:Ze=V.commandService,Ze.executeCommand(qu.GRAPH_HISTORY_TOGGLE.id,{enabled:ve});case 2:case"end":return yt.stop()}},Ye)}))})),Ie.abrupt("return",{err:null});case 10:case"end":return Ie.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],LG.prototype,"contextProvider",void 0),LG=ls([Object(co.injectable)({token:{token:cf,named:NG.command.id}})],LG);var FG;(function(u){u.command=qu.GRAPH_HISTORY_RESET,u.hookKey="historyReset"})(FG||(FG={}));var UG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.historyReset.call(d,function(){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,t.getX6Graph();case 2:return K=ue.sent,K.cleanHistory(),ue.abrupt("return",{err:null});case 5:case"end":return ue.stop()}},V)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],UG.prototype,"contextProvider",void 0),UG=ls([Object(co.injectable)({token:{token:cf,named:FG.command.id}})],UG);var BG;(function(u){u.command=qu.GRAPH_ADD_TOOL,u.hookKey="addTool"})(BG||(BG={}));var VG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.addTool.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return ue=V.cellId,ve=V.toolConfig,Oe=V.commandService,Ze.next=3,t.getX6Graph();case 3:return ke=Ze.sent,Ie=ke.getCellById(ue),Ie&&(Ie.addTools(ve.items,ve.options),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function et(){return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:Array.isArray(ve.items)&&ve.items.forEach(function(Ft){Oe.executeCommand(qu.GRAPH_DEL_TOOL.id,{cellId:ue,toolname:Ft})});case 1:case"end":return jt.stop()}},et)}))}))),Ze.abrupt("return",{err:null});case 7:case"end":return Ze.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],VG.prototype,"contextProvider",void 0),VG=ls([Object(co.injectable)({token:{token:cf,named:BG.command.id}})],VG);var zG;(function(u){u.command=qu.GRAPH_DEL_TOOL,u.hookKey="delTool"})(zG||(zG={}));var HG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.delTool.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae,ue,ve,Oe,ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return ae=V.cellId,ue=V.toolName,ve=V.toolConfig,Ye.next=3,t.getX6Graph();case 3:return Oe=Ye.sent,ke=Oe.getCellById(ae),ke&&(ue==="*"?ke.removeTools(ve):ke.removeTool(ue,ve)),Ye.abrupt("return",{err:null});case 7:case"end":return Ye.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],HG.prototype,"contextProvider",void 0),HG=ls([Object(co.injectable)({token:{token:cf,named:zG.command.id}})],HG);var GG;(function(u){u.command=qu.REDO_CMD,u.hookKey="redoCommand"})(GG||(GG={}));var k4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx,r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),P.next=5,g.redoCommand.call(d,function(){return la(o,void 0,void 0,Object(Z.a)().mark(function I(){var V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return V=t.getCommands(),V.isRedoable&&V.redoCommand(),this.ctx.addUndo(ou.create(function(){V.redoCommand()})),ae.abrupt("return",{});case 4:case"end":return ae.stop()}},I,this)}))},v);case 5:return P.abrupt("return",this);case 6:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],k4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],k4.prototype,"init",null),k4=ls([Object(co.injectable)({token:{token:cf,named:GG.command.id}})],k4);var $G;(function(u){u.command=qu.UNDO_CMD,u.hookKey="undoCommand"})($G||($G={}));var j4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx,r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),P.next=5,g.undoCommand.call(d,function(){return la(o,void 0,void 0,Object(Z.a)().mark(function I(){var V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return V=t.getCommands(),V.isUndoable&&V.undoCommand(),this.ctx.addUndo(ou.create(function(){V.redoCommand()})),ae.abrupt("return",{});case 4:case"end":return ae.stop()}},I,this)}))},v);case 5:return P.abrupt("return",this);case 6:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],j4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],j4.prototype,"init",null),j4=ls([Object(co.injectable)({token:{token:cf,named:$G.command.id}})],j4);var kue=function(i){i(sw),i(a0),i(gE),i(b4),i(O4),i(C4),i(RG),i(IG),i(LG),i(UG),i(k4),i(j4),i(S4),i(A4),i(AG),i(hP),i(E4),i(VG),i(HG)},jue=[wM,TM,AM,PG,DG,FG,NG,CG,xG,SG,wG,GG,$G,x4,MG,TG,kG,BG,zG],M4;(function(u){u.command=Up.ADD_EDGE,u.hookKey="addEdge",u.createEdgeId=function(o){if(O.isString(o.source))return"".concat(o.source,":").concat(o.sourcePortId,"-").concat(o.target,":").concat(o.targetPortId);if(i(o)){var t=o;return"".concat(t.source.cell,":").concat(t.source.port,"-").concat(t.target.cell,":").concat(t.target.port)}if(c(o)){var r=o;return"".concat(r.sourceCell,":").concat(r.sourcePort,"-").concat(r.targetCell,":").concat(r.targetPort)}};function i(o){return o.source&&o.source.cell&&O.isString(o.source.cell)}u.isX6EdgeConfig=i;function c(o){return o.sourceCell&&O.isString(o.sourceCell)}u.isX6EdgePlainConfig=c})(M4||(M4={}));var P4=function(){function u(){var i=this;Object(xi.a)(this,u),this.processEdgeConfig=function(c,o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){var r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(o.id){g.next=5;break}return r=c.createIdService,d=r===void 0?M4.createEdgeId:r,g.next=4,d(o);case 4:o.id=g.sent;case 5:return o.sourcePortId&&!o.sourcePort&&(o.sourcePort=o.sourcePortId,o.targetPort=o.targetPortId),g.abrupt("return",o);case 7:case"end":return g.stop()}},t)}))},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.addEdge.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt;return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:return K=I.cellFactory,ae=I.createEdgeService,ue=I.commandService,ve=I.options,Ht.next=3,this.ctx.getX6Graph();case 3:if(Oe=Ht.sent,ke=I.edgeConfig,!ae){Ht.next=12;break}return Ht.next=8,ae(I);case 8:if(Ie=Ht.sent,typeof Ie!="boolean"){Ht.next=11;break}return Ht.abrupt("return",{err:"createEdgeService rejected"});case 11:ke=Ie;case 12:return Ht.next=14,this.processEdgeConfig(I,ke);case 14:if(Ye=Ht.sent,et=Object.assign(Object.assign({},ve),{isCommand:!0}),!K){Ht.next=23;break}return Ht.next=19,K(Ye,this);case 19:yt=Ht.sent,Ze=Oe.addEdge(yt,et),Ht.next=24;break;case 23:Ze=Oe.addEdge(Object.assign(Object.assign({},Ye),{label:(Ye==null?void 0:Ye.label)||Ye,data:Object.assign({},Ye)}),et);case 24:return jt=ou.create(function(){ue.executeCommand(Up.DEL_EDGE.id,{x6Edge:Ze})}),this.ctx.addUndo(jt),Ht.abrupt("return",{edgeConfig:Ye,edgeCell:Ze});case 27:case"end":return Ht.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],P4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],P4.prototype,"init",null),P4=ls([Object(co.injectable)({token:{token:cf,named:M4.command.id}})],P4);var my;(function(u){u.command=Up.DEL_EDGE,u.hookKey="delEdge";var i;(function(c){c.EDGE_NOT_EXIST="edge is not exist",c.EDGE_INVALID_CELL="this is not a valid cell",c.X6_DELETE_FAILED="x6 throw err when call delete edge",c.SERVICE_REJECT="service reject to delete"})(i=u.ErrEnum||(u.ErrEnum={}))})(my||(my={}));var R4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.delEdge.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft,Ht,Gt;return Object(Z.a)().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:if(K=I.edgeConfig,ae=I.x6Edge,ue=I.deleteEdgeService,ve=I.commandService,Oe=I.options,ke=ae,ke){mn.next=9;break}return mn.next=5,this.findEdgeById(K);case 5:if(ke=mn.sent,ke){mn.next=9;break}return console.error(my.ErrEnum.EDGE_NOT_EXIST,K),mn.abrupt("return",{err:my.ErrEnum.EDGE_NOT_EXIST});case 9:if(Ie=ke&&ke.isEdge(),Ie){mn.next=13;break}return console.error(my.ErrEnum.EDGE_NOT_EXIST,ke),mn.abrupt("return",{err:my.ErrEnum.EDGE_NOT_EXIST});case 13:if(!ue){mn.next=19;break}return mn.next=16,ue(I);case 16:if(Ye=mn.sent,Ye){mn.next=19;break}return mn.abrupt("return",{err:my.ErrEnum.SERVICE_REJECT});case 19:return mn.prev=19,Ze=ke.getTargetCell(),et=ke.getSourceCell(),yt=ke.getSourcePortId(),jt=ke.getTargetPortId(),Ft=et?et.id:et.source,Ht=Ze?Ze.id:Ze.target,ke.remove(Object.assign(Object.assign({},Oe),{isCommand:!0})),Gt=ou.create(function(){ve.executeCommand(Up.ADD_EDGE.id,{edgeConfig:{source:Ft,target:Ht,sourcePortId:yt,targetPortId:jt}})}),this.ctx.addUndo(Gt),mn.abrupt("return",{err:null,edgeConfig:{source:Ft,target:Ht,sourcePortId:yt,targetPortId:jt},targetCell:Ze,sourceCell:et,sourcePortId:yt,targetPortId:jt});case 32:return mn.prev=32,mn.t0=mn.catch(19),console.error(my.ErrEnum.X6_DELETE_FAILED,mn.t0),mn.abrupt("return",{err:my.ErrEnum.X6_DELETE_FAILED});case 36:case"end":return mn.stop()}},V,this,[[19,32]])}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.findEdgeById=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,this.ctx.getX6Graph();case 2:return t=v.sent,r=t.getCellById(c.id),v.abrupt("return",r);case 5:case"end":return v.stop()}},o,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],R4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],R4.prototype,"init",null),R4=ls([Object(co.injectable)({token:{token:cf,named:my.command.id}})],R4);var Mue=l("GoyQ"),jce=l.n(Mue),gP;(function(u){var i=this;u.command=Up.UPDATE_EDGE,u.hookKey="updateEdge",u.XFlowEdgeSetOptions={overwrite:!0},u.XFlowUpdateLabelService=function(c,o){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u.XFlowEdgeSetOptions;return la(i,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:c==null||c.setLabelAt(0,(o==null?void 0:o.label)||o,t);case 1:case"end":return v.stop()}},r)}))}})(gP||(gP={}));var D4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.updateEdge.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,this.ctx.getX6Graph();case 2:if(K=et.sent,ae=I.updateEdgeService,ue=I.updateEdgeLabelService,ve=ue===void 0?gP.XFlowUpdateLabelService:ue,Oe=I.options,ke=Oe===void 0?gP.XFlowEdgeSetOptions:Oe,!ae){et.next=10;break}return et.next=7,ae(I);case 7:et.t0=et.sent,et.next=11;break;case 10:et.t0=I==null?void 0:I.edgeConfig;case 11:if(Ie=et.t0,Ye=K==null?void 0:K.getCellById(Ie==null?void 0:Ie.id),Ye==null||Ye.setData(Ie,ke),!(Ie==null?void 0:Ie.hasOwnProperty("label"))){et.next=17;break}return et.next=17,ve(Ye,Ie,ke);case 17:return ew()(Ie==null?void 0:Ie.visible)&&Ye.setVisible(Ie==null?void 0:Ie.visible),Ie.attrs&&Ye.setAttrs(Ie.attrs),Ie.vertices&&Ye.setVertices(Ie.vertices),Ie.router&&Ye.setRouter(Ie.router),Ie.connector&&Ye.setConnector(Ie.connector),jce()(Ie.source)&&Ye.setSource(Ie.source),jce()(Ie.target)&&Ye.setTarget(Ie.target),et.abrupt("return",{edgeConfig:Ie,edgeCell:Ye});case 25:case"end":return et.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],D4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],D4.prototype,"init",null),D4=ls([Object(co.injectable)({token:{token:cf,named:gP.command.id}})],D4);var WG;(function(u){u.command=Up.HIGHLIGHT_EDGE,u.hookKey="highlightEdge"})(WG||(WG={}));var I4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.highlightEdge.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,this.ctx.getX6Graph();case 2:return ue=jt.sent,ve=I.edgeId,Oe=I.strokeColor,ke=I.strokeWidth,Ie=ue.getEdges(),Ye=Ie.find(function(Ft){return Ft.id===ve}),Ze=Ie.filter(function(Ft){return Ft.id!==ve}),Ye?(et=Ye.getAttrs(),((K=et==null?void 0:et.line)===null||K===void 0?void 0:K.stroke)===Oe&&((ae=et==null?void 0:et.line)===null||ae===void 0?void 0:ae.strokeWidth)===ke||(Ye==null||Ye.setAttrs({line:{stroke:Oe,strokeWidth:ke||2}}),Ze.forEach(function(Ft){Ft.setAttrs({line:et==null?void 0:et.line})}),I.commandService.executeCommand(Up.FRONT_EDGE.id,{edgeId:ve}))):console.error(ve,"this edgeId is not exist"),jt.abrupt("return",{});case 9:case"end":return jt.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],I4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],I4.prototype,"init",null),I4=ls([Object(co.injectable)({token:{token:cf,named:WG.command.id}})],I4);var KG;(function(u){u.command=Up.FRONT_EDGE,u.hookKey="frontEdge"})(KG||(KG={}));var N4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.frontEdge.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae,ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,this.ctx.getX6Graph();case 2:return ae=ke.sent,ue=I.edgeId,ve=ae==null?void 0:ae.getCellById(ue),ve?(ve.toFront(),this.ctx.addUndo(ou.create(function(){return la(K,void 0,void 0,Object(Z.a)().mark(function Ie(){return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:I.commandService.executeCommand(Up.BACK_EDGE.id,{edgeId:ue});case 1:case"end":return Ze.stop()}},Ie)}))}))):console.error(ue,"this edgeId is not exist"),ke.abrupt("return",{});case 7:case"end":return ke.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],N4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],N4.prototype,"init",null),N4=ls([Object(co.injectable)({token:{token:cf,named:KG.command.id}})],N4);var YG;(function(u){u.command=Up.BACK_EDGE,u.hookKey="frontEdge"})(YG||(YG={}));var L4=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.frontEdge.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae,ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,this.ctx.getX6Graph();case 2:return ae=ke.sent,ue=I.edgeId,ve=ae==null?void 0:ae.getCellById(ue),ve?(ve.toBack(),this.ctx.addUndo(ou.create(function(){return la(K,void 0,void 0,Object(Z.a)().mark(function Ie(){return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:I.commandService.executeCommand(Up.FRONT_EDGE.id,{edgeId:ue});case 1:case"end":return Ze.stop()}},Ie)}))}))):console.error(ue,"this edgeId is not exist"),ke.abrupt("return",{});case 7:case"end":return ke.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],L4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],L4.prototype,"init",null),L4=ls([Object(co.injectable)({token:{token:cf,named:YG.command.id}})],L4);var Pue=function(i){i(P4),i(R4),i(D4),i(I4),i(N4),i(L4)},Rue=[M4,my,gP,WG,KG,YG],mP;(function(u){u.command=Nv.ADD_GROUP,u.hookKey="addGroup",u.GROUP_PADDING=12,u.GROUP_HEADER_HEIGHT=40})(mP||(mP={}));var XG=function(){function u(){var i=this;Object(xi.a)(this,u),this.getBBox=function(c,o,t){var r=o.groupHeaderHeight,d=r===void 0?mP.GROUP_HEADER_HEIGHT:r,v=o.groupPadding,g=v===void 0?mP.GROUP_PADDING:v,b=t.getCellsBBox(c.children);return b.moveAndExpand({x:-g,y:-(g+d),width:g*2,height:g*2+d}),b},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.addGroup.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft;return Object(Z.a)().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return ue=V.nodeConfig,ve=V.createService,Oe=V.cellFactory,ke=V.commandService,Gt.next=3,t.getX6Graph();case 3:return Ie=Gt.sent,Gt.next=6,ke.executeCommand(Pf.ADD_NODE.id,{cellFactory:Oe,createNodeService:ve,nodeConfig:ue});case 6:if(Ye=Gt.sent,Ze=Ye.contextProvider().getResult(),et=Ze.nodeCell,yt=et.id,jt=ue.groupChildren,jt.length&&(jt.forEach(function(Jt){var mn=Ie.getCellById(Jt);mn&&(mn.setData(Object.assign(Object.assign({},mn.getData()),{group:yt,isCollapsed:!1})),mn.prop("group",yt),et.addChild(mn),Ie.unselect(mn))}),Ft=this.getBBox(et,ue,Ie),et.position(Ft.x,Ft.y),et.size(Ft.width,Ft.height),et.setZIndex(0),et.prop("isGroup",!0),et.setData(Object.assign(Object.assign({},et.getData()),{width:Ft.width,height:Ft.height,groupChildrenSize:{width:Ft.width,height:Ft.height},x:Ft.x,y:Ft.y,isGroup:!0})),Ie.select(et)),!ue.isCollapsed){Gt.next=14;break}return Gt.next=14,ke.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:ue.id,isCollapsed:ue.isCollapsed});case 14:return t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Jt(){return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:ke.executeCommand(Nv.DEL_GROUP.id,{nodeConfig:ue});case 1:case"end":return vn.stop()}},Jt)}))})),Gt.abrupt("return",{nodeConfig:ue,nodeCell:et});case 16:case"end":return Gt.stop()}},K,this)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],XG.prototype,"contextProvider",void 0),XG=ls([Object(co.injectable)({token:{token:cf,named:mP.command.id}})],XG);var JG;(function(u){u.command=Nv.DEL_GROUP,u.hookKey="delGroup"})(JG||(JG={}));var ZG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.delGroup.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt;return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:return Ht.next=2,t.getX6Graph();case 2:if(ue=Ht.sent,ve=V.nodeConfig,Oe=V.commandService,ke=V.deleteService,Ie=ve.id,Ye=ue.getCellById(Ie),!ke){Ht.next=12;break}return Ht.next=9,ke(V);case 9:if(Ze=Ht.sent,Ze){Ht.next=12;break}return Ht.abrupt("return",{err:"service rejected"});case 12:if(Ye){Ht.next=14;break}return Ht.abrupt("return",{err:"target node is not exist"});case 14:if(Ye.getProp("isGroup")===!0){Ht.next=16;break}return Ht.abrupt("return",{err:"target node is not group"});case 16:if(et=Ye.getData(),yt=et.isCollapsed,!yt){Ht.next=20;break}return Ht.next=20,Oe.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:Ye.id,isCollapsed:!1,collapsedSize:{width:0,height:0}});case 20:return jt=Ye.getChildren(),jt&&jt.forEach(function(Gt){Ye.unembed(Gt),Gt.prop("group",""),Gt.setData(Object.assign(Object.assign({},Gt.getData()),{group:""}))}),Ht.next=24,Oe.executeCommand(Pf.DEL_NODE.id,{nodeConfig:ve});case 24:return t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function Gt(){return Object(Z.a)().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:Oe.executeCommand(Nv.ADD_GROUP.id,{nodeConfig:ve});case 1:case"end":return mn.stop()}},Gt)}))})),Ht.abrupt("return",{err:null});case 26:case"end":return Ht.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],ZG.prototype,"contextProvider",void 0),ZG=ls([Object(co.injectable)({token:{token:cf,named:JG.command.id}})],ZG);var QG;(function(u){u.command=Nv.INIT_GROUP,u.hookKey="initGroup"})(QG||(QG={}));var qG=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.initGroup.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return ue=V.graphData,ve=V.commandService,Ze.next=3,t.getX6Graph();case 3:return Oe=Ze.sent,ke=ue.nodes,Ie={},ke.forEach(function(et){var yt=et.id,jt=et.group;jt&&(Ie[jt]?Ie[jt].push(yt):Ie[jt]=[yt])}),Object.keys(Ie).forEach(function(et){return la(ae,void 0,void 0,Object(Z.a)().mark(function yt(){var jt,Ft,Ht,Gt,Jt,mn;return Object(Z.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:if(jt=Oe.getCellById(et),Ft=jt.getData(),Ht=Ie[et]||[],jt.prop("isGroup",!0),jt.setData(Object.assign(Object.assign({},Ft),{isGroup:!0,groupChildren:Ht})),Ht.forEach(function(En){var or=Oe.getCellById(En);jt.embed(or)}),jt.toBack(),Gt=Ft.isCollapsed,Jt=Ft.groupCollapsedSize,!Gt){Yt.next=12;break}return mn=V.collapsedSize||Jt||PL,Yt.next=12,ve.executeCommand(Nv.COLLAPSE_GROUP.id,{collapsedSize:mn,isCollapsed:!0,nodeId:jt.id});case 12:case"end":return Yt.stop()}},yt)}))}),Ze.abrupt("return",{});case 9:case"end":return Ze.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],qG.prototype,"contextProvider",void 0),qG=ls([Object(co.injectable)({token:{token:cf,named:QG.command.id}})],qG);var e$;(function(u){u.command=Nv.COLLAPSE_GROUP,u.hookKey="collapseGroup"})(e$||(e$={}));var F4=function(){function u(){var i=this;Object(xi.a)(this,u),this.toggleVisible=function(c,o,t){c.forEach(function(r){var d=t.findViewByCell(r).container;d.style.visibility=o?"visible":"hidden"})},this.toggleCollapse=function(c,o,t){var r=c.getChildren().filter(function(I){return I.isNode()}),d=c.getData(),v=t.isCollapsed,g=t.gap,b=g===void 0?0:g;if(v){var P=t.collapsedSize||d.groupCollapsedSize||PL;c.prop("previousSize",c.size()),c.size(P)}else c.size(c.prop("previousSize"));r&&r.forEach(function(I){var V=c.position(),K=o.getConnectedEdges(I).filter(function(Oe){var ke=Oe.getSourceNode(),Ie=Oe.getTargetNode();return r.includes(ke)&&r.includes(Ie)});if(v){i.toggleVisible([I].concat(Object(Bs.a)(K)),!1,o),I.prop("previousSize",I.size()),I.prop("previousRelativePosition",I.position({relative:!0})),I.position(V.x+b,V.y+b);var ae=c.size();I.size({width:ae.width-b*2,height:ae.height-b*2})}else{i.toggleVisible([I].concat(Object(Bs.a)(K)),!0,o);var ue=I.prop("previousRelativePosition"),ve=I.prop("previousSize");I.position(ue.x,ue.y,{relative:!0}),I.size(ve)}}),c.prop("isCollapsed",v),c.setData(Object.assign(Object.assign({},c.getData()),{isCollapsed:v}))},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t=this.ctx.getArgs(),r=t.args,d=t.hooks,v=this.ctx.getHooks(),P.next=4,v.collapseGroup.call(r,function(I){return la(o,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae,ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,this.ctx.getX6Graph();case 2:if(ae=Ie.sent,ue=ae.getCellById(r.nodeId),ve=I.toggleService,!ve){Ie.next=11;break}return Ie.next=8,ve(I);case 8:if(Oe=Ie.sent,Oe){Ie.next=11;break}return Ie.abrupt("return",{err:"service rejected"});case 11:return ue&&(this.toggleCollapse(ue,ae,r),this.ctx.addUndo(ou.create(function(){return la(K,void 0,void 0,Object(Z.a)().mark(function Ye(){return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:ue&&this.toggleCollapse(ue,ae,Object.assign(r,{isCollapsed:!r.isCollapsed}));case 1:case"end":return et.stop()}},Ye,this)}))}))),Ie.abrupt("return",{err:null});case 13:case"end":return Ie.stop()}},V,this)}))},d);case 4:return g=P.sent,this.ctx.setResult(g),P.abrupt("return",this);case 7:case"end":return P.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.ctx.undo(),t.abrupt("return",this);case 2:case"end":return t.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.ctx.isUndoable){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"init",value:function(){this.ctx=this.contextProvider()}},{key:"isUndoable",value:function(){return this.ctx.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],F4.prototype,"contextProvider",void 0),ls([Object(co.postConstruct)(),Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],F4.prototype,"init",null),F4=ls([Object(co.injectable)({token:{token:cf,named:e$.command.id}})],F4);var Due=function(i){i(XG),i(ZG),i(qG),i(F4)},Iue=[mP,JG,QG,e$],t$;(function(u){u.command=tE.UPDATE_MODEL,u.hookKey="updateModel"})(t$||(t$={}));var n$=function(){function u(){var i=this;Object(xi.a)(this,u),this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,g.updateModel.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie,Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return ue=V.updateModel,ve=V.getModel,Oe=V.modelService,yt.next=3,ve(Oe);case 3:return ke=yt.sent,Ie=ke.getValue(),Ye=Xne(Ie),yt.next=8,ue(Ye);case 8:return Ze=nz(Ye),ke.setValue(Ze),t.addUndo(ou.create(function(){return la(ae,void 0,void 0,Object(Z.a)().mark(function jt(){return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:ke.setValue(Ze);case 1:case"end":return Ht.stop()}},jt)}))})),yt.abrupt("return",{model:ke,value:Ze});case 12:case"end":return yt.stop()}},K)}))},v);case 5:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 8:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([Object(co.inject)(Ad),Es("design:type",Object)],n$.prototype,"contextProvider",void 0),n$=ls([Object(co.injectable)({token:{token:cf,named:t$.command.id}})],n$);var Hhe=function(){},Nue=function(i){i(n$)},Lue=[t$],Mce=[].concat(Object(Bs.a)(_re),Object(Bs.a)(Rue),Object(Bs.a)(Iue),Object(Bs.a)(jue),Object(Bs.a)(Lue)),Pce=function(){return new r_},U4=function(){function u(){var i=this;Object(xi.a)(this,u),this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return r=c.x6Events.registerHook({name:"bind group node move event",handler:function(b){return la(t,void 0,void 0,Object(Z.a)().mark(function P(){var I=this,V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:V={eventName:"node:moving",callback:function(ve){var Oe=ve.node;return la(I,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie,Ye,Ze,et,yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or;return Object(Z.a)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:if(Ie=Oe.prop("isGroup"),!Ie){vr.next=4;break}return Oe.prop("originPosition",Oe.getPosition()),vr.abrupt("return");case 4:if(Ye=Oe.model.graph,Ze=Oe.getData(),et=Ze.group,yt=Ye.getNodes().find(function(Er){return Er.id===et}),yt){vr.next=9;break}return vr.abrupt("return");case 9:jt=yt.getProp("isCollapsed"),Ft=yt.getProp("originSize"),Ht=!1,Ft==null&&(Ft=yt.size(),yt.prop("originSize",Ft)),Gt=yt.prop("originPosition"),Gt==null&&(Gt=yt.getPosition(),yt.prop("originPosition",Gt)),Jt=Gt.x,mn=Gt.y,vn=Gt.x+Ft.width,Yt=Gt.y+Ft.height,En=yt.getChildren(),En&&En.forEach(function(Er){var Hr=Er.getBBox().inflate(12),Aa=Hr.getCorner();Hr.x<Jt&&(Jt=Hr.x,Ht=!0),Hr.y<mn&&(mn=Hr.y,Ht=!0),Aa.x>vn&&(vn=Aa.x,Ht=!0),Aa.y>Yt&&(Yt=Aa.y,Ht=!0)}),Ht&&(yt.prop({position:{x:Jt,y:mn},size:{width:vn-Jt,height:Yt-mn}}),or=Object.assign(Object.assign({},yt.getData()),{x:Jt,y:mn,width:vn-Jt,height:Yt-mn}),jt!==!0&&(or.groupChildrenSize={width:vn-Jt,height:Yt-mn}),yt.setData(or));case 22:case"end":return vr.stop()}},ke)}))}},b.push(V);case 2:case"end":return ae.stop()}},P)}))}}),v.abrupt("return",ou.create(function(){r.dispose()}));case 2:case"end":return v.stop()}},o)}))},this.registerHookHub=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return t=new Of,Mce.forEach(function(v){var g=v.hookKey,b=v.createHook,P=b===void 0?Pce:b,I=c.registerHookHub(g,P());t.push(I)}),this.commandConfig.getConfig().then(function(v){var g=v.getContributions,b=g();b.forEach(function(P){var I=P.hookKey,V=P.createHook,K=V===void 0?Pce:V,ae=c.registerHookHub(I,K());t.push(ae)})}),d.abrupt("return",t);case 4:case"end":return d.stop()}},o,this)}))}}return Object(Pi.a)(u,[{key:"registerGraphCommands",value:function(c){var o=this;Mce.forEach(function(t){var r=t.command;c.registerCommand(r,{createCommand:o.commandFactory})}),this.commandConfig.getConfig().then(function(t){var r=t.getContributions,d=r();d.forEach(function(v){c.registerCommand(v.command,{createCommand:o.commandFactory})})})}}]),u}();ls([Object(co.inject)(n3),Es("design:type",Function)],U4.prototype,"commandFactory",void 0),ls([Object(co.inject)(yO),Es("design:type",yO)],U4.prototype,"commandConfig",void 0),U4=ls([Object(co.singleton)({contrib:[qj,Tm]})],U4);var Fue=function(i,c){var o=c.getCommandContributions();o.forEach(function(t){var r=t.CommandHandler,d=t.command;i({token:{token:cf,named:d.id},useClass:r})}),kue(i),mre(i),Pue(i),Due(i),Nue(i),i(U4)},Uue=function(i){return Object(co.Module)(function(c){c(w4),gre(c,i),Fue(c,i),c(n0),c(n3,{useFactory:function(t){return function(r,d,v){var g=t.container.createChild(),b=g.get(n0);g.register(Ad,{useDynamic:function(){return function(){return b}}});var P=g.getNamed(cf,r);return b.setArgs(d,v),b.handlerInstance=P,P}}})})},Bue=function(i){var c=nm(),o=pe.a.useMemo(function(){return i.config?i.config:new yO},[]);return pe.a.useEffect(function(){c.addCoreModule({config:o,createModule:Uue})},[]),null},Vue=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new yO;return i(r,o),r},[o]);return t}},zue=Symbol("IToolbarService"),Rce=co.Syringe.defineToken("IToolbarContribution");function Dce(u){if(u==null)throw new TypeError("Cannot destructure undefined")}var Hue=l("BkRI"),Ice=l.n(Hue),_P=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.toolbarItems=new Map,this.onDidChangeEvent=new ry(null),this.onDidChange=this.onDidChangeEvent.watch,this.fireOnDidChange=Av()(function(){return i.onDidChangeEvent.setValue(void 0)},16),this.registerDisposableToolbar=function(c){var o=new Of,t={registerToolbarItem:function(d){var v=i.registerItem(d);return o.push(v),v}};return c(t),i.toDispose.push(o),o},this.getToolbarModel=function(c){var o=c.layout,t=c.mainGroups,r=t===void 0?[]:t,d=c.extraGroups,v=d===void 0?[]:d;return new ry({layout:o,mainGroups:i.createToolbarGroupModel(r),extraGroups:i.createToolbarGroupModel(v)})},this.createToolbarGroupModel=function(c){var o=c.map(function(t){var r=t.items,d=r===void 0?[]:r;return Object.assign(Object.assign({},t),{items:d.map(function(v){return i.createToolbarModel({id:v.id})}).filter(function(v){return!!v})})});return o}}return Object(Pi.a)(u,[{key:"onStart",value:function(){var c=this.contributionProvider.getContributions(),o=Object(iv.a)(c),t;try{for(o.s();!(t=o.n()).done;){var r=t.value;r.registerToolbarItems(this)}}catch(d){o.e(d)}finally{o.f()}}},{key:"onStop",value:function(){this.toDispose.dispose()}},{key:"registerItem",value:function(c){var o=this;this.toolbarItems.has(c.id)&&console.warn("ToolbarRegistry ".concat(c.id," is duplicated, in"),c),this.toolbarItems.set(c.id,c),this.fireOnDidChange();var t=new Of(ou.create(function(){return o.fireOnDidChange()}),ou.create(function(){return o.toolbarItems.delete(c.id)}));return t}},{key:"createToolbarModel",value:function(c){var o=Ice()(this.toolbarItems.get(c.id)),t=ew()(o.isEnabled)?o.isEnabled:!0,r=ew()(o.isVisible)?o.isVisible:!0,d=Object.assign(Object.assign({},o),{isEnabled:t,isVisible:r,iconName:o.iconName,text:o.text});return d}}]),u}();ls([Object(co.inject)(e0),Es("design:type",Object)],_P.prototype,"commandService",void 0),ls([Object(co.inject)(ay),Es("design:type",Object)],_P.prototype,"modelService",void 0),ls([Object(co.contrib)(Rce),Es("design:type",Object)],_P.prototype,"contributionProvider",void 0),_P=ls([Object(co.singleton)({contrib:[t_,zue]})],_P);var Gue=function(){return Object(co.Module)(function(i){co.Contribution.register(i,Rce),i(_P)})},Nce=function(i){Dce(i);var c=nm();return pe.a.useEffect(function(){var o=c.addCoreModule({config:{CONFIG_TYPE:"ToolbarRegistry",getConfig:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:case"end":return v.stop()}},r)}))}},createModule:Gue});return function(){o.dispose()}},[c]),null};Nce.defaultProps={XFlowModuleType:"ToolbarRegistry"};var Ghe=Symbol("xflow-menu-root"),$ue=Symbol("IMenuService"),Lce=co.Syringe.defineToken("IMenuContribution"),LE;(function(u){u.Separator="separator",u.Submenu="submenu",u.Root="root",u.Leaf="leaf"})(LE||(LE={}));var r$=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.menuMap=new Map,this.getMenu=function(c){return i.menuMap.get(c)},this.registerDisposableMenu=function(c){var o=new Of,t={registerMenu:function(d){var v=i.registerMenu(d);return o.push(v),v}};return c(t),i.toDispose.push(o),o}}return Object(Pi.a)(u,[{key:"onStart",value:function(){var c=this.contributionProvider.getContributions(),o=Object(iv.a)(c),t;try{for(o.s();!(t=o.n()).done;){var r=t.value;r.registerMenu(this)}}catch(d){o.e(d)}finally{o.f()}}},{key:"onStop",value:function(){this.toDispose.dispose()}},{key:"registerMenu",value:function(c){var o=this;return this.menuMap.set(c.id,c),ou.create(function(){return o.menuMap.delete(c.id)})}}]),u}();ls([Object(co.contrib)(Lce),Es("design:type",Object)],r$.prototype,"contributionProvider",void 0),r$=ls([Object(co.singleton)({contrib:[t_,$ue]})],r$);var Wue=function(){return Object(co.Module)(function(i){co.Contribution.register(i,Lce),i(r$)})},Fce=function(i){Dce(i);var c=nm();return pe.a.useEffect(function(){var o=c.addCoreModule({config:{CONFIG_TYPE:"MenuRegistry",getConfig:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:case"end":return v.stop()}},r)}))}},createModule:Wue});return function(){o.dispose()}},[]),null};Fce.defaultProps={XFlowModuleType:"MenuRegistry"};var woe=function(i){var c=i.meta,o=i.graphConfig,t=i.graphData,r=i.graphLayout,d=i.onLoad,v=i.isAutoCenter,g=i.hookConfig,b=i.modelServiceConfig,P=i.commandConfig,I=i.onAppConfigReady,V=i.onAppDestroy,K=i.children,ae=K===void 0?[]:K,ue=i.className,ve=i.style,Oe=pe.a.useState(),ke=Object(we.a)(Oe,2),Ie=ke[0],Ye=ke[1],Ze=pe.a.useRef(null),et=uz();pe.a.useEffect(function(){I&&I(et);var Ft=vz(et);Ft.start().then(function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Gt(){var Jt;return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:if(Ye(Ft),(Jt=et.getExtension("GraphConfig"))===null||Jt===void 0||Jt.config.setAppContainer(Ze.current),!c){vn.next=5;break}return vn.next=5,Ft.commandService.executeCommand(qu.LOAD_META.id,{meta:c});case 5:if(d&&d(Ft,et),!t){vn.next=12;break}if(!r){vn.next=10;break}return vn.next=10,Ft.commandService.executeCommand(qu.GRAPH_LAYOUT.id,Object.assign({graphData:t},r));case 10:return vn.next=12,Ft.commandService.executeCommand(qu.GRAPH_RENDER.id,{graphData:t});case 12:case"end":return vn.stop()}},Gt)}))});var Ht=function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Jt(){return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:V&&V(Ft);case 1:case"end":return vn.stop()}},Jt)}))};return function(){Ht()}},[]),pe.a.useEffect(function(){Ie&&Ie.commandService.executeCommand(qu.LOAD_META.id,{meta:c})},[c]),pe.a.useEffect(function(){var Ft=function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Gt(){var Jt;return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:if(!Ie){vn.next=11;break}if(!(t&&r)){vn.next=4;break}return vn.next=4,Ie.commandService.executeCommand(qu.GRAPH_LAYOUT.id,Object.assign({graphData:t},r));case 4:return vn.next=6,Ie.commandService.executeCommand(qu.GRAPH_RENDER.id,{graphData:t});case 6:if(!v){vn.next=11;break}return vn.next=9,Ie.getGraphInstance();case 9:Jt=vn.sent,Jt.centerContent();case 11:case"end":return vn.stop()}},Gt)}))};Ft()},[t]);var yt=tr.a.apply(void 0,["xflow-app-workspace",ue].concat(Object(Bs.a)(et.getContainerClassNames()))),jt=(Array.isArray(ae)?ae:[ae]).some(function(Ft){return Ft&&Ft.props.isXFlowCanvas});return pe.a.createElement(IL,{app:Ie},pe.a.createElement(dz.Provider,{value:et},pe.a.createElement("div",{className:yt,id:et.getInstanceId(),ref:Ze,style:ve},!jt&&pe.a.createElement(X2,{config:o,position:{top:0,bottom:0,left:0,right:0}}),ae,pe.a.createElement(_M,{config:b}),pe.a.createElement(Bue,{config:P}),pe.a.createElement(fz,{config:g}),pe.a.createElement(Nce,null),pe.a.createElement(Fce,null))))};woe.defaultProps={};var $he=woe,Kue=function(i){return i&&i.current},Uce=function(){var i=pe.a.useRef(!0);return pe.a.useEffect(function(){return function(){i.current=!1}},[]),i},Bce=function(i){var c=Uce(),o=pe.a.useState(i.getValue()),t=Object(we.a)(o,2),r=t[0],d=t[1];pe.a.useEffect(function(){var P=i.watch(function(I){Kue(c)&&d(I)});return function(){P.dispose()}},[d]);var v=r,g=e_.isValidValue(v),b=pe.a.useCallback(function(P){return i.setValue(P)},[i]);return[v,b,g]},yP=function(i){var c=pe.a.useMemo(function(){return new ry(i)},[]),o=Bce(c),t=Object(we.a)(o,3),r=t[0],d=t[1],v=t[2];return pe.a.useEffect(function(){return function(){c.dispose()}},[c]),[r,d,c,v]},Vce=function(i){var c=i.getModel,o=i.initialState,t=Uce(),r=pe.a.useRef(),d=pe.a.useState(o),v=Object(we.a)(d,2),g=v[0],b=v[1];return pe.a.useEffect(function(){var P;return c().then(function(I){return la(void 0,void 0,void 0,Object(Z.a)().mark(function V(){var K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return r.current=I,ue.next=3,I.getValidValue();case 3:if(K=ue.sent,t.current){ue.next=6;break}return ue.abrupt("return");case 6:b(K),P=I.watch(function(ve){t.current&&b(ve)});case 8:case"end":return ue.stop()}},V)}))}),function(){P&&P.dispose&&P.dispose()}},[]),[g,b,r.current]},Yue=Symbol("IKeyBindingService"),zce=co.Syringe.defineToken("IKeyBindingContribution"),Hce=Symbol("IKeyBindingOptionProvider"),FE=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.keyBindingMap=new Map,this.enabledKeyBindingMap=new Map,this.registerExternalKeybindings=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.optionProvider.getOption();case 2:return o=d.sent,t=o.registerKeybindingFunc,d.abrupt("return",t(this));case 5:case"end":return d.stop()}},c,this)}))},this.registerKeybinding=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Of;return c.forEach(function(t){i.keyBindingMap.set(t.id,t),i.enableKeyBindings(t.id).then(function(r){o.push(ou.create(function(){r.dispose(),i.keyBindingMap.delete(t.id)}))})}),i.toDispose.push(o),o},this.enableKeyBindings=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return this.disableKeyBindings([c]),r=this.keyBindingMap.get(c),P.next=4,this.getX6Graph();case 4:return d=P.sent,v=this.runCommand(r),d.bindKey(r.keybinding,v),g=ou.create(function(){d.unbindKey(r.keybinding),t.enabledKeyBindingMap.delete(r.id)}),this.enabledKeyBindingMap.set(r.id,g),P.abrupt("return",g);case 10:case"end":return P.stop()}},o,this)}))},this.disableKeyBindings=function(c){c.forEach(function(o){var t=i.enabledKeyBindingMap.get(o);t&&t.dispose()})},this.runCommand=function(c){return function(o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,c.callback(c,this.modelService,this.commandService,o);case 2:case"end":return d.stop()}},t,this)}))}},this.getX6Graph=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.graphProvider.getGraphInstance();case 2:return o=r.sent,r.abrupt("return",o);case 4:case"end":return r.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"onStart",value:function(){var c=this.contributionProvider.getContributions(),o=Object(iv.a)(c),t;try{for(o.s();!(t=o.n()).done;){var r=t.value;r.registerKeybinding(this)}}catch(d){o.e(d)}finally{o.f()}this.registerExternalKeybindings()}},{key:"onStop",value:function(){this.toDispose.dispose()}}]),u}();ls([Object(co.inject)(Hce),Es("design:type",Object)],FE.prototype,"optionProvider",void 0),ls([Object(co.inject)(e0),Es("design:type",Object)],FE.prototype,"commandService",void 0),ls([Object(co.inject)(ay),Es("design:type",Object)],FE.prototype,"modelService",void 0),ls([Object(co.contrib)(zce),Es("design:type",Object)],FE.prototype,"contributionProvider",void 0),ls([Object(co.inject)(iy),Es("design:type",Object)],FE.prototype,"graphProvider",void 0),FE=ls([Object(co.singleton)({contrib:[t_,Yue]})],FE);var Xue=function(i,c){i(Hce,{useDynamic:function(){return{getOption:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",c.getConfig());case 1:case"end":return v.stop()}},r)}))}}},lifecycle:co.Syringe.Lifecycle.singleton})},Jue=function(i){return Object(co.Module)(function(c){Xue(c,i),co.Contribution.register(c,zce),c(FE)})},Toe;(function(u){u.CONFIG_TYPE="CONTEXT_CONFIG"})(Toe||(Toe={}));var Gce=function(){return ou.create(function(){})},$ce=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.CONFIG_TYPE=Toe.CONFIG_TYPE,this.keybindingFunc=Gce,this.isMounted=new sh,this.setKeybindingFunc=function(c){i.keybindingFunc=c},this.setMountState=function(){i.isMounted.resolve(!0)},this.getConfig=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isMounted.promise;case 2:return t.abrupt("return",{CONFIG_TYPE:this.CONFIG_TYPE,registerKeybindingFunc:this.keybindingFunc});case 3:case"end":return t.stop()}},c,this)}))},this.dispose=function(){i.keybindingFunc=Gce,i.isMounted=new sh}}),Whe=function(i){var c=i.config,o=nm(),t=pe.a.useMemo(function(){return c||new $ce},[c]);return pe.a.useEffect(function(){var r=o.addCoreModule({config:t,createModule:Jue});return t.setMountState(),function(){r.dispose(),t.dispose()}},[o,t]),null},Khe=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new $ce;return i(r,o),r},[o]);return t}};function Zue(u){return new Promise(function(i){return setTimeout(function(){return i(!0)},u)})}var a$=l("Lyp1"),Que=function(){function u(){Object(xi.a)(this,u),this.map=new Map([["default",a$.a],["QuestionCircleOutlined",a$.a]]),this.map.set("default",a$.a),this.map.set("QuestionCircleOutlined",a$.a)}return Object(Pi.a)(u,[{key:"get",value:function(c){var o=this.map.get(c);return o}},{key:"set",value:function(c,o){this.map.set(c,o)}},{key:"has",value:function(c){return this.map.has(c)}}]),u}(),Ch=new Que,Yhe=Ch,Aoe=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.registerHookHub=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ou.create(function(){}));case 1:case"end":return t.stop()}},c)}))},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.graphOptions.registerHook({name:"add snapline options",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:P.snapline={enabled:!0,className:"xflow-snapline",clean:5e3};case 1:case"end":return K.stop()}},I)}))}})],r.pushAll(d),g.abrupt("return",ou.create(function(){}));case 4:case"end":return g.stop()}},o)}))}});Aoe=ls([co.singleton({contrib:Tm})],Aoe);var que=function(){return co.Module(function(i){i(Aoe)})},ede="CanvasSnapline",tde="#faad14",nde=function(i){var c=i.color,o=c===void 0?tde:c,t=nm(),r=pe.a.useMemo(function(){return{CONFIG_TYPE:ede,getConfig:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function v(){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",{});case 1:case"end":return b.stop()}},v)}))}}},[]);return pe.a.useEffect(function(){var d="xflow-snapline-".concat(Date.now());t.addContainerClassNames(d);var v=`
.`.concat(d,` .xflow-snapline .x6-widget-snapline-horizontal,
.`).concat(d,` .xflow-snapline .x6-widget-snapline-vertical {
border-color: `).concat(o,`;
}`),g=lz(v);return function(){document.head.removeChild(g)}},[o,t]),pe.a.createElement(fE,{config:r,createModule:que})},UE;(function(u){u.MOUSE_ENTER="node-port:mouseenter",u.MOUSE_LEAVE="node-port:mouseleave"})(UE||(UE={}));var i$;(function(u){var i=this;u.id="ACTIVE_NODE_PORT",u.useModel=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,c.awaitModel(u.id);case 2:return t=v.sent,v.next=5,t.getValidValue();case 5:return r=v.sent,v.abrupt("return",{data:r,model:t});case 7:case"end":return v.stop()}},o)}))}})(i$||(i$={}));var o$=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.getGraphInstance=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.graphProvider.getGraphInstance();case 2:return o=d.sent,d.next=5,this.graphProvider.getGraphOptions();case 5:return t=d.sent,d.abrupt("return",{graph:o,config:t});case 7:case"end":return d.stop()}},c,this)}))},this.getPortRenderConfig=function(){var c={onPortRendered:function(t){var r=this,d=t.port,v=t.node,g=t.contentSelectors,b=g&&g["xflow-port-group"];b instanceof Element&&(b.setAttribute("class",tr()("xflow-port-group",{connected:d.connected&&d.group!=="out",groupPort:(v==null?void 0:v.isGroup)&&(v==null?void 0:v.isGroup())})),b.addEventListener("mouseenter",function(P){var I={e:P,portId:d.id,nodeId:v.id,portData:d,nodeData:v.getData(),tooltip:d.tooltip,placement:d.group};r.trigger(UE.MOUSE_ENTER,I)}),b.addEventListener("mouseleave",function(P){var I={e:P,portId:d.id,nodeId:v.id,portData:d,nodeData:v.getData(),tooltip:d.tooltip,placement:d.group};r.trigger(UE.MOUSE_LEAVE,I)}))}};return c},this.registerHookHub=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ou.create(function(){}));case 1:case"end":return t.stop()}},c)}))},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.graphOptions.registerHook({name:"add onPortRendered options ",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:Object.assign(P,this.getPortRenderConfig());case 1:case"end":return K.stop()}},I,this)}))}})],r.pushAll(d),g.abrupt("return",ou.create(function(){}));case 4:case"end":return g.stop()}},o)}))}}return Object(Pi.a)(u,[{key:"registerModel",value:function(c){var o=this;c.registerModel({id:i$.id,watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g,b,P,I,V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,this.getGraphInstance();case 2:return v=ae.sent,g=v.graph,b=v.config,P=function(ve){var Oe=ve.target.getBoundingClientRect(),ke=Oe.x,Ie=Oe.y,Ye=Oe.width,Ze=Oe.height,et=b.rootContainer.getBoundingClientRect(),yt={x:ke-((et==null?void 0:et.x)||0)+Ye/2,y:Ie-((et==null?void 0:et.y)||0)+Ze/2};return yt},I=function(ve){r.setValue(Object.assign(Object.assign({},ve),{position:P(ve.e)}))},V=function(){r.setValue(null)},g.on(UE.MOUSE_ENTER,I),g.on(UE.MOUSE_LEAVE,V),g.on("cell:mouseleave",V),ae.abrupt("return",ou.create(function(){g.off(UE.MOUSE_ENTER,I),g.off(UE.MOUSE_LEAVE,V)}));case 12:case"end":return ae.stop()}},d,this)}))}})}}]),u}();ls([co.inject(iy),Es("design:type",Object)],o$.prototype,"graphProvider",void 0),o$=ls([co.singleton({contrib:[Tm,n_]})],o$);var rde=function(){return co.Module(function(i){i(o$)})},ade="CanvasNodePortTooltip",ide=function(i){var c=Ep(),o=yP(null),t=Object(we.a)(o,3),r=t[0],d=t[2];pe.a.useEffect(function(){if(!!c){var b=function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function V(){var K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ve.next=2,i$.useModel(c.modelService);case 2:return K=ve.sent,ae=K.model,ve.abrupt("return",ae.watch(function(Oe){d.setValue(Oe)}));case 5:case"end":return ve.stop()}},V)}))},P=b();return function(){P.then(function(I){I.dispose()})}}},[d,c]);var v=!!(r&&r.position&&r.position.x);if(!v)return null;var g=i.getTooltip?i.getTooltip(r):r.tooltip;return pe.a.createElement(Ni.a,{visible:v,title:g,placement:r.placement||"top"},pe.a.createElement("span",{className:"canvas-node-port-tooltip",style:{position:"absolute",left:r.position.x,top:r.position.y}}))},ode=function(i){var c=pe.a.useCallback(function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",null);case 1:case"end":return r.stop()}},o)}))},[]);return pe.a.createElement(fE,{createModule:rde,config:{CONFIG_TYPE:ade,getConfig:c}},pe.a.createElement(ide,Object.assign({},i)))},koe;(function(u){u.CONFIG_TYPE="ContextMenuConfig"})(koe||(koe={}));var B4=function(){function u(i){var c=this;Object(xi.a)(this,u),this.CONFIG_TYPE=koe.CONFIG_TYPE,this.setMenuModelService=function(o){c.menuModelService=o},this.setCustomMenuRender=function(o){c.menuCustomRender=o},this.getConfig=function(){return la(c,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",{CONFIG_TYPE:this.CONFIG_TYPE,menuCustomRender:this.menuCustomRender,menuModelService:this.menuModelService});case 1:case"end":return r.stop()}},o,this)}))},this.moduleId=i||ug()}return Object(Pi.a)(u,[{key:"dispose",value:function(){}}]),u}(),s$;(function(u){u.id="CONTEXT_MENU_MODEL",u.useValue=ne.useModelValueUtil(u.id),u.getModel=ne.getModelUtil(u.id)})(s$||(s$={}));var Wce=co.inject,sde=co.singleton,V4=function(){function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.getMenuModelValue=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d,v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,this.menuConfig.getConfig();case 2:if(t=K.sent,r=c.anchor,d=c.type,v=c.cell,g=new Of,this.toDispose.push(g),b=v?v.getData():null,P=new ry({id:"menuroot",type:LE.Root,submenu:[]}),g.push(ou.create(function(){P.dispose()})),I={toDispose:g,anchor:r,target:{data:b,type:d},customRender:null,menuModel:P},!t.menuCustomRender){K.next=14;break}return K.next=13,t.menuCustomRender(c,this.modelService);case 13:I.customRender=K.sent;case 14:if(!t.menuModelService){K.next=17;break}return K.next=17,t.menuModelService(c,I.menuModel,this.modelService,g);case 17:return K.abrupt("return",I);case 18:case"end":return K.stop()}},o,this)}))}}return Object(Pi.a)(u,[{key:"registerModel",value:function(c){var o=this,t=[c.registerModel({id:s$.id,getInitialValue:function(){return null},watchChange:function(d,v){return la(o,void 0,void 0,Object(Z.a)().mark(function g(){var b=this,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,ne.CONTEXTMENU_TARGET.getModel(v);case 2:return P=V.sent,V.abrupt("return",P.watch(function(K){return la(b,void 0,void 0,Object(Z.a)().mark(function ae(){var ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,this.getMenuModelValue(K);case 2:ue=Oe.sent,d.setValue(ue);case 4:case"end":return Oe.stop()}},ae,this)}))}));case 4:case"end":return V.stop()}},g)}))}})];this.toDispose.pushAll(t)}}]),u}();ls([Wce(B4),Es("design:type",B4)],V4.prototype,"menuConfig",void 0),ls([Wce(ay),Es("design:type",Object)],V4.prototype,"modelService",void 0),V4=ls([sde({contrib:[n_]})],V4);var cde=function(i){return co.Module(function(c){c(V4),c(B4,{useValue:i})})},lde=l("uciX"),bP={adjustX:1,adjustY:1},OP=[0,0],ude={topLeft:{points:["bl","tl"],overflow:bP,offset:[0,-4],targetOffset:OP},topCenter:{points:["bc","tc"],overflow:bP,offset:[0,-4],targetOffset:OP},topRight:{points:["br","tr"],overflow:bP,offset:[0,-4],targetOffset:OP},bottomLeft:{points:["tl","bl"],overflow:bP,offset:[0,4],targetOffset:OP},bottomCenter:{points:["tc","bc"],overflow:bP,offset:[0,4],targetOffset:OP},bottomRight:{points:["tr","br"],overflow:bP,offset:[0,4],targetOffset:OP}},dde=ude,Yd={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var c=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||c>=Yd.F1&&c<=Yd.F12)return!1;switch(c){case Yd.ALT:case Yd.CAPS_LOCK:case Yd.CONTEXT_MENU:case Yd.CTRL:case Yd.DOWN:case Yd.END:case Yd.ESC:case Yd.HOME:case Yd.INSERT:case Yd.LEFT:case Yd.MAC_FF_META:case Yd.META:case Yd.NUMLOCK:case Yd.NUM_CENTER:case Yd.PAGE_DOWN:case Yd.PAGE_UP:case Yd.PAUSE:case Yd.PRINT_SCREEN:case Yd.RIGHT:case Yd.SHIFT:case Yd.UP:case Yd.WIN_KEY:case Yd.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=Yd.ZERO&&i<=Yd.NINE||i>=Yd.NUM_ZERO&&i<=Yd.NUM_MULTIPLY||i>=Yd.A&&i<=Yd.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case Yd.SPACE:case Yd.QUESTION_MARK:case Yd.NUM_PLUS:case Yd.NUM_MINUS:case Yd.NUM_PERIOD:case Yd.NUM_DIVISION:case Yd.SEMICOLON:case Yd.DASH:case Yd.EQUALS:case Yd.COMMA:case Yd.PERIOD:case Yd.SLASH:case Yd.APOSTROPHE:case Yd.SINGLE_QUOTE:case Yd.OPEN_SQUARE_BRACKET:case Yd.BACKSLASH:case Yd.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Kce=Yd,Yce=function(i){return+setTimeout(i,16)},Xce=function(i){return clearTimeout(i)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Yce=function(i){return window.requestAnimationFrame(i)},Xce=function(i){return window.cancelAnimationFrame(i)});var Jce=0,joe=new Map;function Zce(u){joe.delete(u)}var Qce=function(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Jce+=1;var o=Jce;function t(r){if(r===0)Zce(o),i();else{var d=Yce(function(){t(r-1)});joe.set(o,d)}}return t(c),o};Qce.cancel=function(u){var i=joe.get(u);return Zce(i),Xce(i)};var fde=Qce,pde=Kce.ESC,vde=Kce.TAB;function hde(u){var i=u.visible,c=u.setTriggerVisible,o=u.triggerRef,t=u.menuRef,r=u.onVisibleChange,d=u.autoFocus,v=fe.useRef(!1),g=function(){if(i&&o.current){var V,K,ae,ue;(V=o.current)===null||V===void 0||(K=V.triggerRef)===null||K===void 0||(ae=K.current)===null||ae===void 0||(ue=ae.focus)===null||ue===void 0||ue.call(ae),c(!1),typeof r=="function"&&r(!1)}},b=function(){var V,K;(V=t.current)===null||V===void 0||(K=V.focus)===null||K===void 0||K.call(V),v.current=!0},P=function(V){var K;switch(V.keyCode){case pde:g();break;case vde:!v.current&&((K=t.current)===null||K===void 0?void 0:K.focus)?(V.preventDefault(),b()):g();break}};fe.useEffect(function(){return i?(window.addEventListener("keydown",P),d&&fde(b,3),function(){window.removeEventListener("keydown",P),v.current=!1}):function(){v.current=!1}},[i])}function gde(u,i,c){var o=fe.useRef({});return(!("value"in o.current)||c(o.current.condition,i))&&(o.current.value=u(),o.current.condition=i),o.current.value}function mde(u,i){typeof u=="function"?u(i):Object(Ve.a)(u)==="object"&&u&&"current"in u&&(u.current=i)}function qce(){for(var u=arguments.length,i=new Array(u),c=0;c<u;c++)i[c]=arguments[c];var o=i.filter(function(t){return t});return o.length<=1?o[0]:function(t){i.forEach(function(r){mde(r,t)})}}function Xhe(){for(var u=arguments.length,i=new Array(u),c=0;c<u;c++)i[c]=arguments[c];return gde(function(){return qce.apply(void 0,i)},i,function(o,t){return o.length===t.length&&o.every(function(r,d){return r===t[d]})})}function _de(u){var i,c,o=Object(ec.isMemo)(u)?u.type.type:u.type;return!(typeof o=="function"&&!((i=o.prototype)!==null&&i!==void 0&&i.render)||typeof u=="function"&&!((c=u.prototype)!==null&&c!==void 0&&c.render))}var yde=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function bde(u,i){var c=u.arrow,o=c===void 0?!1:c,t=u.prefixCls,r=t===void 0?"rc-dropdown":t,d=u.transitionName,v=u.animation,g=u.align,b=u.placement,P=b===void 0?"bottomLeft":b,I=u.placements,V=I===void 0?dde:I,K=u.getPopupContainer,ae=u.showAction,ue=u.hideAction,ve=u.overlayClassName,Oe=u.overlayStyle,ke=u.visible,Ie=u.trigger,Ye=Ie===void 0?["hover"]:Ie,Ze=u.autoFocus,et=Object(ut.a)(u,yde),yt=fe.useState(),jt=Object(Ge.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt="visible"in u?ke:Ft,Jt=fe.useRef(null);fe.useImperativeHandle(i,function(){return Jt.current});var mn=fe.useRef(null),vn="".concat(r,"-menu");hde({visible:Gt,setTriggerVisible:Ht,triggerRef:Jt,menuRef:mn,onVisibleChange:u.onVisibleChange,autoFocus:Ze});var Yt=function(){var fa=u.overlay,ai;return typeof fa=="function"?ai=fa():ai=fa,ai},En=function(fa){var ai=u.onOverlayClick,Wi=Yt().props;Ht(!1),ai&&ai(fa),Wi.onClick&&Wi.onClick(fa)},or=function(fa){var ai=u.onVisibleChange;Ht(fa),typeof ai=="function"&&ai(fa)},$r=function(){var fa,ai=Yt(),Wi=qce(mn,ai.ref),Co=(fa={prefixCls:vn},Object(ft.a)(fa,"data-dropdown-inject",!0),Object(ft.a)(fa,"onClick",En),Object(ft.a)(fa,"ref",_de(ai)?Wi:void 0),fa);return typeof ai.type=="string"&&(delete Co.prefixCls,delete Co["data-dropdown-inject"]),fe.createElement(fe.Fragment,null,o&&fe.createElement("div",{className:"".concat(r,"-arrow")}),fe.cloneElement(ai,Co))},vr=function(){var fa=u.overlay;return typeof fa=="function"?$r:$r()},Er=function(){var fa=u.minOverlayWidthMatchTrigger,ai=u.alignPoint;return"minOverlayWidthMatchTrigger"in u?fa:!ai},Hr=function(){var fa=u.openClassName;return fa!==void 0?fa:"".concat(r,"-open")},Aa=function(){var fa=u.children,ai=fa.props?fa.props:{},Wi=tr()(ai.className,Hr());return Gt&&fa?fe.cloneElement(fa,{className:Wi}):fa},Fr=ue;return!Fr&&Ye.indexOf("contextMenu")!==-1&&(Fr=["click"]),fe.createElement(lde.a,Object(Te.a)(Object(Te.a)({builtinPlacements:V},et),{},{prefixCls:r,ref:Jt,popupClassName:tr()(ve,Object(ft.a)({},"".concat(r,"-show-arrow"),o)),popupStyle:Oe,action:Ye,showAction:ae,hideAction:Fr||[],popupPlacement:P,popupAlign:g,popupTransitionName:d,popupAnimation:v,popupVisible:Gt,stretch:Er()?"minWidth":"",popup:vr(),onPopupVisibleChange:or,getPopupContainer:K}),Aa())}var Ode=fe.forwardRef(bde),Cde=Ode,c$=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"render",value:function(){var t=this.props,r=t.children,d=t.trigger,v=t.disabled,g="".concat(this.props.prefixCls,"-dropdown"),b=pe.a.Children.only(r),P=pe.a.cloneElement(b,{className:tr()(r.props.className,"".concat(g,"-trigger")),disabled:v}),I=v?[]:Array.isArray(d)?d:[d],V=!1;I&&I.indexOf("contextMenu")!==-1&&(V=!0);var K=pe.a.Children.only(this.props.overlay),ae=pe.a.createElement("div",{className:"".concat(g,"-overlay")},K);return pe.a.createElement(Cde,Object.assign({},this.props,{prefixCls:g,overlay:ae,alignPoint:V,trigger:I}),P)}}]),c}(pe.a.Component);(function(u){u.defaultProps={trigger:"hover",prefixCls:"x6",mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"}})(c$||(c$={}));var l$=pe.a.createContext({}),z4=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.onHotkey=function(){o.triggerHandler()},o.onClick=function(t){o.triggerHandler(t)},o}return Object(Pi.a)(c,[{key:"componentDidMount",value:function(){var t=this.props.hotkey;t&&this.props.context.registerHotkey(t,this.onHotkey)}},{key:"componentWillUnmount",value:function(){var t=this.props.hotkey;t&&this.props.context.unregisterHotkey(t,this.onHotkey)}},{key:"triggerHandler",value:function(t){!this.props.disabled&&!this.props.hidden&&(this.props.name&&this.props.context.onClick(this.props.name,t),this.props.onClick&&this.props.onClick())}},{key:"render",value:function(){return pe.a.createElement("div",Object.assign({},c.getProps(this.props)),c.getContent(this.props,this.onClick))}}]),c}(pe.a.PureComponent);(function(u){function i(o,t){var r,d=o.className,v=o.disabled,g=o.active,b=o.hidden,P=o.context.prefixCls,I="".concat(P,"-item");return{className:tr()(I,t,(r={},Object(qc.a)(r,"".concat(I,"-active"),g),Object(qc.a)(r,"".concat(I,"-hidden"),b),Object(qc.a)(r,"".concat(I,"-disabled"),v),r),d)}}u.getProps=i;function c(o,t,r,d){var v=o.icon,g=o.text,b=o.hotkey,P=o.children,I=o.context.prefixCls,V="".concat(I,"-item");return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("button",{type:"button",className:"".concat(V,"-button"),onClick:t},v&&pe.a.isValidElement(v)&&pe.a.createElement("span",{className:"".concat(V,"-icon")},v),pe.a.createElement("span",{className:"".concat(V,"-text")},g||P),b&&pe.a.createElement("span",{className:"".concat(V,"-hotkey")},b),r),d)}u.getContent=c})(z4||(z4={}));var Ede=function(i){return pe.a.createElement(l$.Consumer,null,function(c){return pe.a.createElement(z4,Object.assign({context:c},i))})},xde=function(){return pe.a.createElement(l$.Consumer,null,function(i){var c=i.prefixCls;return pe.a.createElement("div",{className:"".concat(c,"-item ").concat(c,"-item-divider")})})},Sde=function(u,i){var c={};for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&i.indexOf(o)<0&&(c[o]=u[o]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(u);t<o.length;t++)i.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(u,o[t])&&(c[o[t]]=u[o[t]]);return c},wde=function(i){var c=i.hotkey,o=i.children,t=Sde(i,["hotkey","children"]);return pe.a.createElement(l$.Consumer,null,function(r){var d=r.prefixCls,v=z4.getProps(Object.assign({context:r},i),"".concat(d,"-submenu"));return pe.a.createElement("div",Object.assign({},v),z4.getContent(Object.assign({context:r},t),null,pe.a.createElement("span",{className:"".concat(d,"-submenu-arrow")}),pe.a.createElement("div",{className:"".concat(d,"-submenu-menu")},o)))})},BE=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.onClick=function(t,r){o.props.stopPropagation&&r!=null&&r.stopPropagation(),o.props.onClick&&o.props.onClick(t)},o.registerHotkey=function(t,r){o.props.registerHotkey&&o.props.registerHotkey(t,r)},o.unregisterHotkey=function(t,r){o.props.unregisterHotkey&&o.props.unregisterHotkey(t,r)},o}return Object(Pi.a)(c,[{key:"render",value:function(){var t=this.props,r=t.prefixCls,d=t.className,v=t.children,g=t.hasIcon,b="".concat(r,"-menu"),P=l$.Provider,I={prefixCls:b,onClick:this.onClick,registerHotkey:this.registerHotkey,unregisterHotkey:this.unregisterHotkey};return pe.a.createElement("div",{className:tr()(b,Object(qc.a)({},"".concat(b,"-has-icon"),g),d)},pe.a.createElement(P,{value:I},v))}}]),c}(pe.a.PureComponent);(function(u){u.Item=Ede,u.Divider=xde,u.SubMenu=wde,u.defaultProps={prefixCls:"x6",stopPropagation:!1}})(BE||(BE={}));var Tde=function u(i){var c=i.idx,o=i.menuOptions,t=i.target,r=i.modelService,d=i.commandService,v=i.onHide,g=o.id,b=o.label,P=o.isEnabled,I=P===void 0?!0:P,V=o.isVisible,K=V===void 0?!0:V,ae=o.iconName,ue=o.submenu,ve=ue===void 0?[]:ue,Oe=o.active,ke=o.hotkey,Ie=o.render,Ye=o.onClick;if(!K)return null;if(o.type==="separator")return pe.a.createElement(BE.Divider,{key:String(o.id)+c});if(o.type==="root")return pe.a.createElement(BE,{hasIcon:!0},ve.map(function(jt,Ft){return u({idx:Ft,target:t,commandService:d,modelService:r,menuOptions:jt,onHide:v})}));if(o.submenu&&Array.isArray(o.submenu)){var Ze=Ch.get(ae),et=!I;return pe.a.createElement(BE.SubMenu,{key:String(g),text:b,disabled:et||ve.length===0,icon:Ze?pe.a.createElement(Ze,null):null,active:Oe,hotkey:ke},ve.map(function(jt,Ft){return u({idx:Ft,target:t,commandService:d,modelService:r,menuOptions:jt,onHide:v})}))}var yt=Ch.get(ae);return Ie?pe.a.createElement(Ie,{menuItem:o,target:t,commandService:d,modelService:r,onHide:v},[pe.a.createElement(BE.Item,{key:String(g),text:b,disabled:!I,icon:yt?pe.a.createElement(yt,null):null,active:Oe,hotkey:ke})]):pe.a.createElement(BE.Item,{key:String(g),text:b,disabled:!I,icon:yt?pe.a.createElement(yt,null):null,active:Oe,hotkey:ke,onClick:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ft(){return Object(Z.a)().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return Gt.next=2,Ye({menuItem:o,target:t,commandService:d,modelService:r});case 2:v&&v();case 3:case"end":return Gt.stop()}},Ft)}))}})},Ade=function(i){var c=i.menuModel,o=i.target,t=i.onHide,r=Ep(),d=r.modelService,v=r.commandService,g=Bce(c),b=Object(we.a)(g,1),P=b[0];return Tde({idx:-1,target:o,commandService:v,modelService:d,menuOptions:P,onHide:t})},kde=function(i){var c=i.toDispose;return pe.a.useEffect(function(){return function(){c.dispose()}},[c]),null},jde=function(){var i=pe.a.useRef(),c=Ep(),o=Vce({getModel:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function ue(){return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,s$.getModel(c.modelService);case 2:return Oe.abrupt("return",Oe.sent);case 3:case"end":return Oe.stop()}},ue)}))},initialState:{anchor:null,menuModel:null,target:null,customRender:null,toDispose:null}}),t=Object(we.a)(o,3),r=t[0],d=t[2],v=r.target,g=r.anchor,b=r.menuModel,P=r.customRender,I=r.toDispose;if(!v||!g||!b)return null;var V=function(){d.setValue({anchor:null,menuModel:null,target:null,customRender:null,toDispose:null})},K=P?pe.a.createElement(P,{target:v,modelService:c.modelService,onHide:V}):pe.a.createElement(Ade,{target:v,menuModel:b,onHide:V});return pe.a.createElement("div",{className:"xflow-menu-mask",ref:i,onClick:V,onContextMenu:function(ue){ue.preventDefault(),ue.stopPropagation()}},pe.a.createElement(kde,{toDispose:I}),pe.a.createElement(c$,{visible:!0,getPopupContainer:function(){return i.current},overlay:K},pe.a.createElement("div",{className:"xflow-context-menu-anchor",style:{top:g.y,left:g.x}})))},Jhe="CanvasContextMenu",Mde=function(i){var c=Ep(),o=!!c,t=pe.a.useMemo(function(){return i.config?i.config:new B4},[i.config]);return pe.a.createElement(fE,{createModule:cde,config:t},o&&pe.a.createElement(jde,{config:t}))},Pde=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new B4;return i(r,o),r},[o]);return t}},Moe="CanvasToolbar",ele=function(){function u(){var i=this;Object(xi.a)(this,u),this.CONFIG_TYPE=Moe,this.setToolbarName=function(c){i.moduleId=Moe+"__"+c},this.setToolbarModelService=function(c){i.toolbarModelService=c},this.setCustomToolbarRender=function(c){i.customRenderService=c},this.getConfig=function(){return{CONFIG_TYPE:i.CONFIG_TYPE,toolbarCustomRender:i.customRenderService,toolbarModelService:i.toolbarModelService}},this.moduleId=Moe+"__"+ug()}return Object(Pi.a)(u,[{key:"dispose",value:function(){}}]),u}(),Poe=pe.a.createContext({}),Rde=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.handleClick=function(){o.processClick()},o.handleDropdownItemClick=function(t){o.processClick(t,!1)},o}return Object(Pi.a)(c,[{key:"processClick",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.name,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.dropdown;!this.props.disabled&&!r&&(t&&this.props.context.onClick(t),this.props.onClick&&this.props.onClick(t))}},{key:"renderButton",value:function(){var t,r=this.props,d=r.className,v=r.hidden,g=r.disabled,b=r.active,P=r.icon,I=r.text,V=r.dropdown,K=r.dropdownArrow,ae=r.tooltip,ue=r.tooltipProps,ve=r.tooltipAsTitle,Oe=r.children,ke=this.props.context.prefixCls,Ie="".concat(ke,"-item"),Ye={onClick:this.handleClick,className:tr()(Ie,(t={},Object(qc.a)(t,"".concat(Ie,"-hidden"),v),Object(qc.a)(t,"".concat(Ie,"-active"),b),Object(qc.a)(t,"".concat(Ie,"-disabled"),g),Object(qc.a)(t,"".concat(Ie,"-dropdown"),V),t),d)};ae&&ve&&(Ye.title=ae);var Ze=pe.a.createElement("button",Object.assign({type:"button"},Ye),P&&pe.a.isValidElement(P)&&pe.a.createElement("span",{className:"".concat(Ie,"-icon")},P),(I||Oe)&&pe.a.createElement("span",{className:"".concat(Ie,"-text")},I||Oe),V&&K&&pe.a.createElement("span",{className:"".concat(Ie,"-dropdown-arrow")}));return ae&&!ve&&!g?pe.a.createElement(Ni.a,Object.assign({title:ae,placement:"bottom",mouseEnterDelay:0,mouseLeaveDelay:0},ue),Ze):Ze}},{key:"render",value:function(){var t=this.props,r=t.dropdown,d=t.dropdownProps,v=t.disabled,g=this.renderButton();if(r!=null&&!v){var b=pe.a.createElement("div",null,r.type===BE?pe.a.cloneElement(r,{onClick:this.handleDropdownItemClick}):r),P=Object.assign(Object.assign({trigger:["click"]},d),{disabled:v,overlay:b});return pe.a.createElement(c$,Object.assign({},P),g)}return g}}]),c}(pe.a.PureComponent),tle=function(i){return pe.a.createElement(Poe.Consumer,null,function(c){return pe.a.createElement(Rde,Object.assign({context:c},i))})};tle.defaultProps={dropdownArrow:!0};var Dde=function(i){var c=i.children,o=i.className;return pe.a.createElement(Poe.Consumer,null,function(t){var r=t.prefixCls;return pe.a.createElement("div",{className:tr()("".concat(r,"-group"),o)},c)})},CP=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;return Object(xi.a)(this,c),o=i.apply(this,arguments),o.onClick=function(t,r){o.props.onClick&&o.props.onClick(t,r)},o}return Object(Pi.a)(c,[{key:"render",value:function(){var t,r=this.props,d=r.prefixCls,v=r.className,g=r.children,b=r.extra,P=r.size,I=r.align,V=r.hoverEffect,K="".concat(d,"-toolbar");return pe.a.createElement("div",{className:tr()(K,v,(t={},Object(qc.a)(t,"".concat(K,"-").concat(P),P),Object(qc.a)(t,"".concat(K,"-align-right"),I==="right"),Object(qc.a)(t,"".concat(K,"-hover-effect"),V),t))},pe.a.createElement("div",{className:"".concat(K,"-content")},pe.a.createElement("div",{className:"".concat(K,"-content-inner")},pe.a.createElement(Poe.Provider,{value:{prefixCls:K,onClick:this.onClick}},g)),b&&pe.a.createElement("div",{className:"".concat(K,"-content-extras")},b)))}}]),c}(pe.a.PureComponent);(function(u){u.Item=tle,u.Group=Dde,u.defaultProps={prefixCls:"x6",hoverEffect:!1}})(CP||(CP={}));var Ide=function(i){var c=Ep(),o=i.item,t=i.layout,r=tr()(Object(qc.a)({},"xflow-toolbar-item",!0)),d=t==="vertical"?"":o.text,v=void 0;if(o.icon)v=o.icon;else if(o.iconName){var g=Ch.get(o.iconName);v=pe.a.createElement(g,null)}var b=o.render,P=o.isEnabled,I=P===void 0?!0:P,V=c.commandService,K=c.modelService,ae=function(){o.onClick&&o.onClick({toolbarItem:o,commandService:V,modelService:K})};return b?pe.a.createElement(b,Object.assign({},o,{onClick:ae}),pe.a.createElement(CP.Item,Object.assign({},o,{icon:v,text:d,className:r,disabled:!I,tooltip:o.tooltip||o.text,tooltipProps:Object.assign({placement:t==="vertical"?"left":"bottom"},o.tooltipProps),onClick:function(){}}))):pe.a.createElement(CP.Item,Object.assign({},o,{icon:v,text:d,className:r,hidden:!o,disabled:!I,tooltip:o.tooltip||o.text,onClick:ae,tooltipProps:Object.assign(Object.assign({},o.tooltipProps),{placement:t==="vertical"?"left":"bottom"})}))},Nde=function(i){var c=i.group,o=i.layout,t=pe.a.useMemo(function(){return c.name||ug()},[c.name]),r=c.items,d=r===void 0?[]:r;if(d.length===0)return null;var v=tr()(Object(qc.a)({},"xflow-toolbar-group",!0));return pe.a.createElement(CP.Group,{className:v,key:t},d.map(function(g){return pe.a.createElement(Ide,{item:g,layout:o,key:g.id})}))},Lde=function(i){var c=i.config,o=c.moduleId,t=Ep(),r=yP({name:o,layout:i.layout,mainGroups:[],extraGroups:[],customRender:null}),d=Object(we.a)(r,4),v=d[0],g=d[1],b=d[2],P=d[3];return pe.a.useEffect(function(){var I=new Of,V=t.modelService.findDeferredModel(o);if(!V){var K=c.getConfig(),ae=K.toolbarCustomRender,ue=K.toolbarModelService,ve=t.modelService.registerModel({id:o,modelFactory:function(){return b},watchChange:function(ke){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ie(){var Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!ue){et.next=3;break}return et.next=3,ue(ke,t.modelService,I);case 3:if(!ae){et.next=7;break}return Ye=function(jt){ke.setValue(function(Ft){return Ft.customRender=jt})},et.next=7,ae(t.modelService,Ye);case 7:return et.abrupt("return",I);case 8:case"end":return et.stop()}},Ie)}))}});I.push(ve)}return function(){I.dispose()}},[]),{isModelReady:P,state:v,setState:g,toolbarModel:b}},nle=function(i){var c=i.idx,o=i.groups,t=i.layout,r=i.toolbarOptions,d=r.hoverEffect,v=d===void 0?!0:d;return pe.a.createElement(CP,{hoverEffect:v},o.map(function(g,b){var P=c+b;return pe.a.createElement(Nde,{key:P,group:g,layout:t})}))},Fde=function(i){var c,o=Lde(i),t=o.isModelReady,r=o.state,d=rm(i.position),v=r.mainGroups,g=v===void 0?[]:v,b=r.extraGroups,P=b===void 0?[]:b,I=r.layout,V=r.customRender,K=tr()(i.className,I,"xflow-toolbar"),ae=tr()((c={},Object(qc.a)(c,I,!0),Object(qc.a)(c,"xflow-toolbar-root",!0),c));return t?V?pe.a.createElement("div",{className:K,style:Object.assign(Object.assign({},d),i.style)},pe.a.createElement(V,{config:r})):pe.a.createElement("div",{className:K,style:Object.assign(Object.assign({},d),i.style)},pe.a.createElement("div",{className:ae},g.length>0&&pe.a.createElement(nle,{idx:"mainGroups",groups:g,layout:I,toolbarOptions:r}),P.length>0&&pe.a.createElement(nle,{idx:"extraGroups",groups:P,layout:I,toolbarOptions:r}))):pe.a.createElement("div",{className:K,style:Object.assign(Object.assign({},d),i.style)},pe.a.createElement(At.a,{spinning:!0,size:"small"}))},Ude=pe.a.memo(Fde),rle=function(i){var c=Ep(),o=!!c,t=pe.a.useMemo(function(){return i.config?i.config:new ele},[i.config]);return o?pe.a.createElement(Ude,Object.assign({},i,{config:t})):null},ale=function(i){return function(c){var o=pe.a.useMemo(function(){return{getValue:function(){return{}}}},[]);o.getValue=function(){return c};var t=pe.a.useMemo(function(){var r=new ele;return i(r,o),r},[o]);return t}},Bde=l("C/nq"),Vde=l("CqGu"),zde={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z"}},{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"}},{tag:"path",attrs:{d:"M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z"}}]},name:"one-to-one",theme:"outlined"},Hde=zde,ile=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:Hde}))};ile.displayName="OneToOneOutlined";var Gde=fe.forwardRef(ile),$de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z"}}]},name:"compress",theme:"outlined"},Wde=$de,ole=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:Wde}))};ole.displayName="CompressOutlined";var Kde=fe.forwardRef(ole),H4;(function(u){Ch.set("ZoomInOutlined",Bde.a),Ch.set("ZoomOutOutlined",Vde.a),Ch.set("OneToOneOutlined",Gde),Ch.set("CompressOutlined",Kde),Ch.set("FullscreenOutlined",VO),Ch.set("FullscreenExitOutlined",qv.a),u.ZOOM_IN=qu.GRAPH_ZOOM.id+"-zoom-in",u.ZOOM_OUT=qu.GRAPH_ZOOM.id+"-zoom-out",u.SCALE_TO_ONE=qu.GRAPH_ZOOM.id+"-scale-to-one",u.SCALE_TO_FIT=qu.GRAPH_ZOOM.id+"-scale-to-fit",u.FULLSCREEN=qu.GRAPH_ZOOM.id+"-fullscreen",u.MAX_SCALE=1.5,u.MIN_SCALE=.05,u.zoomOptions={maxScale:u.MAX_SCALE,minScale:u.MIN_SCALE},u.getToolbarConfig=function(i){var c=i.zoomFactor,o=i.fullscreen;return[{name:"main",items:[{id:u.ZOOM_IN,tooltip:"\u653E\u5927",iconName:"ZoomInOutlined",onClick:function(r){var d=r.commandService;d.executeCommand(qu.GRAPH_ZOOM.id,{factor:.1,zoomOptions:u.zoomOptions})}},{id:u.ZOOM_OUT,tooltip:"\u7F29\u5C0F",iconName:"ZoomOutOutlined",onClick:function(r){var d=r.commandService;d.executeCommand(qu.GRAPH_ZOOM.id,{factor:-.1,zoomOptions:u.zoomOptions})}},{id:u.SCALE_TO_ONE,iconName:"OneToOneOutlined",tooltip:"\u7F29\u653E\u52301:1",isEnabled:c!==1,onClick:function(r){var d=r.commandService;d.executeCommand(qu.GRAPH_ZOOM.id,{factor:"real",zoomOptions:u.zoomOptions})}},{id:u.SCALE_TO_FIT,tooltip:"\u7F29\u653E\u5230\u9002\u5E94\u5C4F\u5E55",iconName:"CompressOutlined",onClick:function(r){var d=r.commandService;d.executeCommand(qu.GRAPH_ZOOM.id,{factor:"fit",zoomOptions:u.zoomOptions})}},{id:u.FULLSCREEN,tooltip:o?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F",iconName:o?"FullscreenExitOutlined":"FullscreenOutlined",onClick:function(r){var d=r.commandService;d.executeCommand(qu.GRAPH_FULLSCREEN.id,{})}}]}]}})(H4||(H4={}));var Zhe="CANVAS_SCALE_TOOLBAR",Yde=ale(function(u){u.setToolbarModelService(function(i,c){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,ne.GRAPH_SCALE.useValue(c);case 2:return t=g.sent,i.setValue(function(b){b.mainGroups=H4.getToolbarConfig({zoomFactor:t.zoomFactor,fullscreen:!1})}),g.next=6,ne.GRAPH_FULLSCREEN.getModel(c);case 6:return r=g.sent,r.setValue(!1),r.watch(function(b){i.setValue(function(P){P.mainGroups=H4.getToolbarConfig({zoomFactor:t.zoomFactor,fullscreen:b})})}),g.next=11,ne.GRAPH_SCALE.getModel(c);case 11:d=g.sent,d.watch(function(b){var P=b.zoomFactor;return la(void 0,void 0,void 0,Object(Z.a)().mark(function I(){var V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,ne.GRAPH_FULLSCREEN.useValue(c);case 2:V=ae.sent,i.setValue(function(ue){ue.mainGroups=H4.getToolbarConfig({zoomFactor:P,fullscreen:V})});case 4:case"end":return ae.stop()}},I)}))});case 13:case"end":return g.stop()}},o)}))})}),Xde=function(i){var c=Yde(i);return pe.a.createElement(rle,Object.assign({layout:"vertical"},i,{config:c,position:i.position||{top:12,right:12}}))};function Qhe(u){var i=u.className,c=u.layout,o=u.initialValues,t=u.form,r=u.formItems,d=r===void 0?[]:r,v=u.onFinish,g=u.submitButton,b=u.buttonProps;if(!t)return null;var P=c==="vertical"?{padding:"0px 12px"}:{padding:"8px 12px"};return pe.a.createElement(Ot.a,{size:"small",form:t,style:P,layout:c,onFinish:v,className:i,initialValues:o,labelCol:c==="vertical"?{span:24}:{span:8},wrapperCol:c==="vertical"?{span:24}:{span:16}},d.map(function(I){return pe.a.createElement(Ot.a.Item,Object.assign({label:I.label,name:I.name,rules:I.rules},I.itemProps),pe.a.createElement(I.render,I.renderProps))}),pe.a.createElement(Ot.a.Item,{wrapperCol:{offset:0,span:24}},g||pe.a.createElement(it.a,Object.assign({type:"primary",htmlType:"submit",style:{width:"100%"}},b),"\u6267\u884C\u547D\u4EE4")))}function qhe(u,i){return Math.floor(Math.random()*(i-u)+u)}var sle=Symbol("IMinimapConfigProvider"),u$=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.registerHookHub=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ou.create(function(){}));case 1:case"end":return t.stop()}},c)}))},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.graphOptions.registerHook({name:"add minimap options",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,this.minimapConfig.getConfig();case 2:V=ae.sent,P.minimap=Object.assign({},V);case 4:case"end":return ae.stop()}},I,this)}))}})],r.pushAll(d),g.abrupt("return",ou.create(function(){}));case 4:case"end":return g.stop()}},o)}))}});ls([co.inject(sle),Es("design:type",Object)],u$.prototype,"minimapConfig",void 0),u$=ls([co.singleton({contrib:Tm})],u$);var Jde=function(i){return co.Module(function(c){c(sle,{useDynamic:function(){return i}}),c(u$)})},G4=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){return Object(xi.a)(this,c),i.apply(this,arguments)}return Object(Pi.a)(c,[{key:"renderMarkup",value:function(){return this.renderJSONMarkup({tagName:"rect",selector:"body"})}},{key:"update",value:function(){Object($u.a)(Object(Wu.a)(c.prototype),"update",this).call(this,{body:{refWidth:"100%",refHeight:"100%",fill:c.nodeFillColor}})}}]),c}(ih);G4.nodeFillColor="#31d0c6",G4.setNodeFillColor=function(u){G4.nodeFillColor=u};var Zde="CanvasMiniMap",Qde=function(){return{grid:!1,enabled:!0,width:200,height:120,padding:8,graphOptions:{async:!0,getCellView:function(c){if(c.isNode())return G4},createCellView:function(c){if(c.isEdge())return null}}}},ege=function(i){var c=i.nodeFillColor,o=i.borderColor,t=o===void 0?"#ced4de":o,r=i.handlerColor,d=r===void 0?"rgba(0,0,0,.3)":r,v=i.miniMapClz,g=v===void 0?"":v,b=i.position,P=b===void 0?{bottom:12,right:12}:b,I=i.minimapOptions,V=I===void 0?{}:I,K=pe.a.useRef(null),ae=pe.a.useRef(i.minimapOptions),ue=pe.a.useMemo(function(){return new Set([g,"xflow-minimap","minimap-instacne-"+Date.now().toString()])},[g]),ve=pe.a.useMemo(function(){return function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ie(){return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ze.abrupt("return",Object.assign(Object.assign(Object.assign({},Qde()),ae.current),{container:K.current}));case 1:case"end":return Ze.stop()}},Ie)}))}},[K]),Oe=rm(P);pe.a.useEffect(function(){ae.current=V},[ae,V]),pe.a.useEffect(function(){c&&G4.setNodeFillColor(c)},[c]),pe.a.useEffect(function(){var Ie=Array.from(ue).reduce(function(et,yt){return yt?"".concat(et,".").concat(yt):et},""),Ye=`
`.concat(Ie,` .x6-widget-minimap-viewport {
border: 1px solid `).concat(t,`;
margin: 0;
}
`).concat(Ie,` .x6-widget-minimap-viewport-zoom {
border: 1px solid `).concat(d,`;
}
`),Ze=lz(Ye);return function(){document.head.removeChild(Ze)}},[t,ue,d]);var ke=Array.from(ue).join(" ");return pe.a.createElement(fE,{config:{getConfig:ve,CONFIG_TYPE:Zde},createModule:Jde},pe.a.createElement("div",{ref:K,className:ke,style:Oe}))},qde=function(){function u(){Object(xi.a)(this,u),this.getValue=function(){return{}}}return Object(Pi.a)(u,[{key:"dispose",value:function(){this.getValue=function(){return null}}}]),u}(),tge=function(){function u(i){Object(xi.a)(this,u),this.moduleId=i}return Object(Pi.a)(u,[{key:"dispose",value:function(){}}]),u}(),cle=pe.a.createContext({propsProxy:null,commandService:null,modelService:null}),VE=function(){return pe.a.useContext(cle)},Bb=function(i){var c,o=i.className,t=i.position,r=i.style,d=i.children,v=Ep(),g=rm(t),b=pe.a.useMemo(function(){return new qde},[]);if(pe.a.useEffect(function(){return function(){b.dispose()}},[b]),!v||!v.modelService)return null;b.getValue=function(){return i};var P=tr()((c={},Object(qc.a)(c,o,!!o),Object(qc.a)(c,"xflow-workspace-panel",!0),c)),I=v.commandService,V=v.modelService;return pe.a.createElement(cle.Provider,{value:{propsProxy:b,commandService:I,modelService:V}},pe.a.createElement("div",{className:P,style:Object.assign(Object.assign({},g),r)},d))},Vw=l("ECub"),efe={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-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z"}}]},name:"folder-open",theme:"filled"},tfe=efe,lle=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:tfe}))};lle.displayName="FolderOpenFilled";var nfe=fe.forwardRef(lle),rfe={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-32z"}}]},name:"folder",theme:"filled"},afe=rfe,ule=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:afe}))};ule.displayName="FolderFilled";var ife=fe.forwardRef(ule),EP={HORIRONTAL_NODE:"xflow-node-horizontal-edge",VERTICAL_NODE:"xflow-node-vertical-edge",VERTICAL_GROUP:"xflow-group-vertical-edge"},d$={EDGE:"xflow-edge"},Roe="XFLOW_NODE_SHAPE",dle="processing",ofe=160,sfe=32,xP;(function(u){u.id="GRAPH_STATUS_INFO";var i;(function(c){c.SUCCESS="success",c.PROCESSING="processing",c.ERROR="error",c.DEFAULT="default",c.WARNING="warning"})(i=u.StatusEnum||(u.StatusEnum={})),u.getModel=qp(u.id),u.useValue=sv(u.id)})(xP||(xP={}));var f$;(function(u){u.QUERY_GRAPH_STATUS={id:"xflow:query-graph-status",label:"\u67E5\u8BE2\u753B\u5E03\u8282\u70B9\u72B6\u6001"}})(f$||(f$={}));var $4,p$=kh.AnchorGroup;zf.registry.exist(Roe)?$4=zf.registry.get(Roe):$4=Y2.define({width:ofe,height:sfe,shape:Roe,view:W.X6_NODE_PORTAL_NODE_VIEW,ports:{groups:{top:{zIndex:2,position:{name:p$.TOP}},bottom:{zIndex:2,position:{name:p$.BOTTOM}},right:{zIndex:2,position:{name:p$.RIGHT}},left:{zIndex:2,position:{name:p$.LEFT}}}},attrs:{body:{magnet:!1,fill:"none",stroke:"none",refWidth:"100%",refHeight:"100%",zIndex:1}},portMarkup:[{tagName:"g",selector:"xflow-port-group",className:"xflow-port-group",attrs:{width:8,height:8,x:-4,y:-4,zIndex:10,magnet:"true"},children:[{tagName:"circle",selector:"xflow-port",className:"xflow-port",attrs:{r:4,fill:"#fff",stroke:"#d9d9d9",zIndex:12}},{tagName:"polygon",selector:"xflow-port-arrow",className:"xflow-port-arrow",attrs:{points:"0,0 8,0 4,4 ",fill:"#d9d9d9",stroke:"#d9d9d9",zIndex:13,transform:"translate(-4,0)"}}]}]});var cfe=t1.a.DirectoryTree,fle=t1.a.TreeNode,lfe=function(i){var c=i.expanded;return c?pe.a.createElement(nfe,null):pe.a.createElement(ife,null)},ple=function(i){return new $4(i)},vle=function(i){var c=i.nodeConfig,o=i.onMouseDown,t=i.graphConfig,r=i.modelService,d=i.commandService;if(!t)return pe.a.createElement("div",null);if(c.renderComponent)return pe.a.createElement("div",{onMouseDown:o},pe.a.createElement(c.renderComponent,{data:c,isNodeTreePanel:!0}));var v=t.nodeTypeParser(c)||W.XFLOW_DEFAULT_NODE,g=t.nodeRender.get(v);return pe.a.createElement("div",{onMouseDown:o},pe.a.createElement(g,{commandService:d,modelService:r,data:c,isNodeTreePanel:!0}))},Doe=function(i){var c=Object(fe.useState)(!1),o=Object(we.a)(c,2),t=o[0],r=o[1],d=Object(fe.useState)(),v=Object(we.a)(d,2),g=v[0],b=v[1],P=Ep(),I=P.getGraphConfig;pe.a.useEffect(function(){I().then(function(Ie){b(Ie.appContainer)})});var V=i.prefixClz,K=i.graphConfig,ae=i.commandService,ue=i.modelService,ve=i.popoverContent,Oe=i.onMouseDown,ke=i.item;return pe.a.createElement(pe.a.Fragment,null,ve&&pe.a.createElement(me.a,{placement:"right",destroyTooltipOnHide:!0,content:ve,visible:t,onVisibleChange:function(Ye){r(Ye)},getPopupContainer:function(){return g||document.body}},pe.a.createElement("div",{className:"".concat(V,"-node-wrapper"),onMouseEnter:function(){r(!0)}},vle({graphConfig:K,commandService:ae,onMouseDown:Oe,modelService:ue,nodeConfig:ke}))),!ve&&pe.a.createElement("div",{className:"".concat(V,"-node-wrapper"),onMouseEnter:function(){r(!0)}},vle({graphConfig:K,commandService:ae,onMouseDown:Oe,modelService:ue,nodeConfig:ke})))},ufe=function(i){var c=i.x6NodeFactory,o=i.dndOptions,t=i.onNodeDrop,r=i.state,d=i.onFolderExpand,v=i.prefixClz,g=Ep(),b=g.graphProvider,P=g.modelService,I=g.commandService,V=pe.a.useState(),K=Object(we.a)(V,2),ae=K[0],ue=K[1],ve=pe.a.useState(),Oe=Object(we.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=pe.a.useState(),Ze=Object(we.a)(Ye,2),et=Ze[0],yt=Ze[1];pe.a.useEffect(function(){b.getGraphInstance().then(function(Ht){yt(Ht)})}),pe.a.useEffect(function(){if(b.getGraphOptions().then(function(Gt){ue(Gt)}),!!et){var Ht=new Q.Dnd(Object.assign(Object.assign({scaled:!1,animation:!1},o),{target:et,validateNode:function(Jt){return la(void 0,void 0,void 0,Object(Z.a)().mark(function mn(){var vn;return Object(Z.a)().wrap(function(En){for(;;)switch(En.prev=En.next){case 0:if(vn=Object.assign(Object.assign({},Jt.getData()),Jt.getPosition()),!t){En.next=6;break}return En.next=4,t(vn,I,P);case 4:En.next=7;break;case 6:console.error("onNodeDrop method is required in NodeTree Panel");case 7:return En.abrupt("return",!1);case 8:case"end":return En.stop()}},mn)}))}}));Ie(Ht)}},[I,o,et,b,P,t]);var jt=pe.a.useCallback(function(Ht){return function(Gt){if(!(!et||!ke||!ae)){var Jt=ae.nodeTypeParser(Ht),mn=Ht.renderComponent?Ht.renderComponent:ae.nodeRender.get(Jt),vn=aM(mn,I,P),Yt={data:Ht,width:Ht.width||180,height:Ht.height||40,view:ae.graphId,component:vn},En=c?c(Yt):ple(Yt);ke.start(En,Gt.nativeEvent)}}},[I,ke,et,ae,P,c]),Ft=pe.a.useCallback(function(){var Ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ht.map(function(Gt){var Jt=Gt.isDirectory,mn=Gt.children,vn=Gt.popoverContent;return Jt?pe.a.createElement(fle,{icon:lfe,key:Gt.id,title:Gt.label,className:"".concat(v,"-tree-folder")},Ft(mn)):pe.a.createElement(fle,{isLeaf:!0,key:Gt.id,className:"".concat(v,"-tree-leaf"),icon:pe.a.createElement("span",null),title:pe.a.createElement(Doe,{item:Gt,onMouseDown:jt(Gt),popoverContent:vn,prefixClz:v,modelService:P,commandService:I,graphConfig:ae})})})},[I,ae,P,jt,v]);return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(v,"-body"),style:i.style},!r.keyword&&pe.a.createElement(cfe,{showIcon:!0,selectable:!1,autoExpandParent:!1,onExpand:d,expandedKeys:r.expandedKeys,className:"".concat(v,"-tree")},Ft(r.treeData)),r.searchList.length>0&&pe.a.createElement("ul",{className:"".concat(v,"-body-list")},r.searchList.map(function(Ht){return pe.a.createElement("li",{key:Ht.id,className:"".concat(v,"-body-list-item")},pe.a.createElement(Doe,{item:Ht,onMouseDown:jt(Ht),popoverContent:Ht.popoverContent,prefixClz:v,modelService:P,commandService:I,graphConfig:ae}))})),r.keyword&&r.searchList.length===0&&pe.a.createElement(Vw.a,{style:{marginTop:"48px"}})))},dfe=function(i){var c=i.prefixClz,o=i.onKeywordChange,t=VE(),r=t.propsProxy,d=r.getValue();return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-header"),style:i.style},d.header&&pe.a.isValidElement(d.header)&&d.header,d.searchService&&pe.a.createElement("div",{className:"".concat(c,"-header-search")},pe.a.createElement(_s.a,{placeholder:"\u641C\u7D22\u7EC4\u4EF6",allowClear:!0,onChange:function(g){return o(g.target.value)},style:{width:"100%",border:0}}))))},ffe=function(i){var c=i.prefixClz,o=VE(),t=o.propsProxy,r=t.getValue();return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-footer"),style:i.style},r.footer&&pe.a.isValidElement(r.footer)&&r.footer))},pfe=40,vfe=40,hle="XFLOW_TREE_PANEL_ROOT_ID",gle=function(i){var c=i&&i.headerPosition&&i.headerPosition.height||pfe,o=i.footerPosition&&i.footerPosition.height||vfe;return{headerStyle:rm(Object.assign({height:c,lineHeight:c,top:0,left:0,right:0},i.headerPosition)),bodyStyle:rm(Object.assign({left:0,right:0,top:c,bottom:o},i.bodyPosition)),footerStyle:rm(Object.assign({left:0,right:0,lineHeight:o,height:o,bottom:0},i.footerPosition))}},hfe=l("qPyV"),gfe=l.n(hfe),W4;(function(u){var i=this;u.id="TREE_PANEL_MODEL",u.useModel=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",c.awaitModel(u.id));case 1:case"end":return r.stop()}},o)}))}})(W4||(W4={}));var nge=function(i,c){i.executeCommand(tE.UPDATE_MODEL.id,{getModel:function(t){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",W4.useModel(t));case 1:case"end":return v.stop()}},r)}))},updateModel:c})},mfe=function(i){var c=i.treeDataService,o=i.searchService,t=Ep(),r=t.modelService,d=yP({treeData:[],searchList:[],treeNodeList:[],expandedKeys:[],defaultExpandAll:!1,keyword:""}),v=Object(we.a)(d,3),g=v[0],b=v[1],P=v[2];pe.a.useEffect(function(){r.findDeferredModel(W4.id)||r.registerModel({id:W4.id,modelFactory:function(){return P},watchChange:function(ae){return la(void 0,void 0,void 0,Object(Z.a)().mark(function ue(){var ve,Oe,ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.next=2,ne.GRAPH_META.getModel(r);case 2:return ve=Ye.sent,Oe=function(et){return la(void 0,void 0,void 0,Object(Z.a)().mark(function yt(){var jt,Ft,Ht,Gt,Jt,mn;return Object(Z.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:return Yt.next=2,c(et,r);case 2:return jt=Yt.sent,Ft=_fe(jt),Ht=Ft.treeData,Gt=Ft.rootNodes,Yt.next=6,ae.getValidValue();case 6:return Jt=Yt.sent,mn=Jt.expandedKeys.length>0?Jt.expandedKeys:Gt.map(function(En){return En.id}),Yt.abrupt("return",{listData:jt,treeData:Ht,expandedKeys:mn});case 9:case"end":return Yt.stop()}},yt)}))},ke=ve.watch(function(Ze){return la(void 0,void 0,void 0,Object(Z.a)().mark(function et(){var yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.next=2,Oe(Ze);case 2:yt=Ft.sent,ae.setValue({treeNodeList:yt.listData,treeData:yt.treeData,expandedKeys:yt.expandedKeys,defaultExpandAll:!1,keyword:"",searchList:[]});case 4:case"end":return Ft.stop()}},et)}))}),Ye.abrupt("return",ou.create(function(){ke.dispose()}));case 6:case"end":return Ye.stop()}},ue)}))}})},[]);var I=pe.a.useCallback(function(K){b(function(ae){ae.expandedKeys=K})},[b]),V=pe.a.useCallback(function(K){return la(void 0,void 0,void 0,Object(Z.a)().mark(function ae(){var ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(o){Oe.next=2;break}return Oe.abrupt("return",console.warn("searchService is not defined"));case 2:if(!K){Oe.next=9;break}return Oe.next=5,o(g.treeNodeList,K);case 5:ue=Oe.sent,b(function(ke){ke.keyword=K,ke.searchList=ue}),Oe.next=10;break;case 9:b(function(ke){ke.keyword="",ke.searchList=[]});case 10:case"end":return Oe.stop()}},ae)}))},[o,g.treeNodeList]);return{state:g,setState:b,onKeywordChange:V,onFolderExpand:I}};function _fe(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=function(v){var g=gfe()(v,"id"),b=g.reduce(function(P,I){var V=I.parentId||hle;P.has(V)||P.set(V,[]);var K=P.get(V);return K.push(I),P},new Map);return b},c=i(Ice()(u));function o(d,v){return d.map(function(g){if(v.has(g.id)){var b=v.get(g.id);g.key=g.id,g.isDirectory=!0,g.children=o(b,v)||[]}else g.isLeaf=!0;return g})}var t=c.get(hle)||[],r=o(t,c);return{treeData:r,rootNodes:t}}var mle;(function(u){u.id="TREE_PANEL_DATA"})(mle||(mle={}));var yfe=function(i){var c=gle(i),o=c.headerStyle,t=c.bodyStyle,r=c.footerStyle,d=mfe(i),v=d.state,g=d.onFolderExpand,b=d.onKeywordChange;return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement(dfe,Object.assign({},i,{state:v,style:o,onKeywordChange:b})),pe.a.createElement(ufe,Object.assign({},i,{state:v,style:t,onFolderExpand:g})),pe.a.createElement(ffe,Object.assign({},i,{state:v,style:r})))},rge=function(i){var c=t0("node-dnd-panel");return pe.a.createElement(Bb,Object.assign({},i,{className:c}),pe.a.createElement(yfe,Object.assign({},i,{prefixClz:c})))},bfe=function(i){return new $4(i)},Ofe=function(i){var c=i.x6NodeFactory,o=i.dndOptions,t=i.onNodeDrop,r=Ep(),d=r.graphProvider,v=r.modelService,g=r.commandService,b=pe.a.useState(),P=Object(we.a)(b,2),I=P[0],V=P[1],K=pe.a.useState(),ae=Object(we.a)(K,2),ue=ae[0],ve=ae[1],Oe=pe.a.useState(),ke=Object(we.a)(Oe,2),Ie=ke[0],Ye=ke[1];pe.a.useEffect(function(){d.getGraphInstance().then(function(et){Ye(et)}),d.getGraphOptions().then(function(et){V(et)})},[d,Ye,V]),pe.a.useEffect(function(){if(!!Ie){var et=new Q.Dnd(Object.assign(Object.assign({scaled:!1,animation:!1},o),{target:Ie,validateNode:function(jt){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ft(){var Ht;return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:if(Ht=Object.assign(Object.assign({},jt.getData()),jt.getPosition()),!t){Jt.next=6;break}return Jt.next=4,t(Ht,g,v);case 4:Jt.next=7;break;case 6:console.error("onNodeDrop method is required in NodeTree Panel");case 7:return Jt.abrupt("return",!1);case 8:case"end":return Jt.stop()}},Ft)}))}}));return ve(et),function(){et.dispose()}}},[g,v,o,Ie,t]);var Ze=pe.a.useCallback(function(et){return function(yt){if(!(!Ie||!ue||!I)&&!et.isDisabled){var jt=I.nodeTypeParser(et),Ft=et.renderComponent?et.renderComponent:I.nodeRender.get(jt),Ht=aM(Ft,g,v),Gt={data:et,width:et.width||180,height:et.height||40,view:I.graphId,component:Ht},Jt=c?c(Gt):bfe(Gt);ue.start(Jt,yt.nativeEvent)}}},[g,ue,Ie,I,v,c]);return{graphConfig:I,onMouseDown:Ze,modelService:v,commandService:g}},_le=function(i){var c=i.nodeConfig,o=i.onMouseDown,t=i.graphConfig,r=i.modelService,d=i.commandService;if(!t)return pe.a.createElement("div",null);if(c.renderComponent)return pe.a.createElement("div",{onMouseDown:o},pe.a.createElement(c.renderComponent,{data:c,isNodePanel:!0}));var v=t.nodeTypeParser(c)||W.XFLOW_DEFAULT_NODE,g=t.nodeRender.get(v);return pe.a.createElement("div",{onMouseDown:o},pe.a.createElement(g,{commandService:d,modelService:r,data:c,isNodeTreePanel:!0}))},yle=function(i){var c=pe.a.useState(!1),o=Object(we.a)(c,2),t=o[0],r=o[1],d=i.prefixClz,v=i.graphConfig,g=i.commandService,b=i.modelService,P=i.popoverContent,I=i.onMouseDown,V=i.item;return pe.a.createElement(pe.a.Fragment,null,P?pe.a.createElement(me.a,{placement:"right",destroyTooltipOnHide:!0,content:P,visible:t,onVisibleChange:function(ae){r(ae)}},pe.a.createElement("div",{className:"".concat(d,"-node-wrapper"),onMouseEnter:function(){r(!0)}},_le({graphConfig:v,commandService:g,onMouseDown:I,modelService:b,nodeConfig:V}))):pe.a.createElement("div",{className:"".concat(d,"-node-wrapper")},_le({graphConfig:v,commandService:g,onMouseDown:I,modelService:b,nodeConfig:V})))},Cfe=function(i){var c=i.searchResult,o=i.prefixClz,t=i.onMouseDown,r=i.modelService,d=i.commandService,v=i.graphConfig;return c.length===0?pe.a.createElement(Vw.a,{style:{marginTop:"24px"}}):pe.a.createElement("ul",{className:"xflow-collapse-search-list"},c.map(function(g){return pe.a.createElement("li",{className:"xflow-collapse-search-list-item ".concat(g.isDisabled?"disabled":""),key:g.id},pe.a.createElement(yle,{item:g,onMouseDown:t(g),popoverContent:g.popoverContent,prefixClz:o,modelService:r,commandService:d,graphConfig:v}))}))},Efe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},xfe=Efe,ble=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:xfe}))};ble.displayName="CaretRightOutlined";var Sfe=fe.forwardRef(ble),wfe=function(i){var c=i.onActiveKeyChange,o=i.collapseData,t=i.prefixClz,r=i.onMouseDown,d=i.modelService,v=i.commandService,g=i.graphConfig,b=function(V){var K=V.header,ae=V.extra,ue=V.icon,ve=V.isCollapsed,Oe=function(Ie){Ie.preventDefault(),c(V.id)};return pe.a.createElement("div",{className:"xflow-collapse-header",onClick:Oe},pe.a.createElement("div",{className:"xflow-collapse-header-icon"},nM(ue)?pe.a.createElement(ue,{isCollapsed:ve}):pe.a.createElement(Sfe,{rotate:ve?0:90,style:{fontSize:"12px"}})),pe.a.createElement("div",{className:"xflow-collapse-header-label"},nM(K)?pe.a.createElement(K,V):K),pe.a.createElement("div",{className:"xflow-collapse-header-extra"},nM(ae)?pe.a.createElement(ae,V):ae))},P=function(V){return pe.a.createElement("div",{className:"xflow-collapse-content"},V.map(function(K){return pe.a.createElement("div",{className:"xflow-collapse-content-item ".concat(K.isDisabled?"disabled":""),key:K.id},pe.a.createElement(yle,{item:K,onMouseDown:r(K),popoverContent:K.popoverContent,prefixClz:t,modelService:d,commandService:v,graphConfig:g}))}))};return pe.a.createElement("ul",{className:"xflow-collapse-list"},o.length===0&&pe.a.createElement(Vw.a,{style:{marginTop:"24px"}}),o.map(function(I){var V=I.children,K=V===void 0?[]:V,ae=I.isCollapsed,ue=I.render,ve=ae?"close":"open";return pe.a.createElement("li",{className:"xflow-collapse-list-item ".concat(ve),key:I.id},b(I),nM(ue)?pe.a.createElement(ue,I):P(K))}))},Tfe=function(i){var c=i.state,o=i.prefixClz,t=i.onActiveKeyChange,r=Ofe(i),d=r.graphConfig,v=r.onMouseDown,g=r.modelService,b=r.commandService,P=c.searchResult,I=c.collapseData,V=c.keyword;return pe.a.createElement("div",{className:"".concat(o,"-body"),style:i.style},V.length===0&&pe.a.createElement(wfe,{onActiveKeyChange:t,collapseData:I,onMouseDown:v,modelService:g,commandService:b,graphConfig:d,prefixClz:o}),V.length>0&&pe.a.createElement(Cfe,{searchResult:P,onMouseDown:v,modelService:g,commandService:b,graphConfig:d,prefixClz:o}))},Afe=function(i){var c=i.prefixClz,o=i.onKeywordChange,t=i.state,r=VE(),d=r.propsProxy,v=d.getValue(),g=function(P){var I=t.collapseData.reduce(function(V,K){return K.children&&V.push.apply(V,Object(Bs.a)(K.children)),V},[]);o(P.target.value,I)};return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-header"),style:i.style},v.header&&pe.a.isValidElement(v.header)&&v.header,v.searchService&&pe.a.createElement("div",{className:"".concat(c,"-header-search")},pe.a.createElement(_s.a,{placeholder:"\u641C\u7D22\u7EC4\u4EF6",allowClear:!0,onChange:function(P){return g(P)},style:{width:"100%",border:0}}))))},kfe=function(i){var c=i.prefixClz,o=VE(),t=o.propsProxy,r=t.getValue();return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-footer"),style:i.style},r.footer&&pe.a.isValidElement(r.footer)&&r.footer))},jfe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},Mfe=jfe,Ole=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:Mfe}))};Ole.displayName="CaretLeftOutlined";var Pfe=fe.forwardRef(Ole),Rfe=function(i){var c=i.prefixClz,o=i.onCollapseBtnClick,t=i.isCollapsed,r=i.collapseButtonStyle,d=i.style;return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-header"),style:Object.assign(Object.assign({},d),r),onClick:o},pe.a.createElement(Pfe,{rotate:t?180:0})))},Dfe=40,Ife=40,Nfe=function(i){var c=i&&i.headerPosition&&i.headerPosition.height||Dfe,o=i.footerPosition&&i.footerPosition.height||Ife;return{headerStyle:rm(Object.assign({height:c,lineHeight:c,top:0,left:0,right:0},i.headerPosition)),bodyStyle:rm(Object.assign({left:0,right:0,top:c,bottom:o},i.bodyPosition)),footerStyle:rm(Object.assign({left:0,right:0,lineHeight:o,height:o,bottom:0},i.footerPosition))}},K4;(function(u){var i=this;u.id="COLLAPSE_PANEL_DATA",u.useModel=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",c.awaitModel(u.id));case 1:case"end":return r.stop()}},o)}))}})(K4||(K4={}));var age=function(i,c){i.executeCommand(tE.UPDATE_MODEL.id,{getModel:function(t){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",K4.useModel(t));case 1:case"end":return v.stop()}},r)}))},updateModel:c})},Lfe=function(i){var c=i.collapsible,o=i.nodeDataService,t=i.searchService,r=i.onCollapseChange,d=Ep(),v=d.modelService,g=yP({keyword:"",collapseData:[],searchResult:[]}),b=Object(we.a)(g,3),P=b[0],I=b[1],V=b[2];pe.a.useEffect(function(){v.findDeferredModel(K4.id)||v.registerModel({id:K4.id,modelFactory:function(){return V},watchChange:function(ve){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Oe(){var ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,ne.GRAPH_META.getModel(v);case 2:return ke=et.sent,Ie=function(jt){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ft(){var Ht;return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:return Jt.next=2,o(jt,v);case 2:return Ht=Jt.sent,Jt.abrupt("return",{collapseData:Ht});case 4:case"end":return Jt.stop()}},Ft)}))},Ye=ke.watch(function(yt){return la(void 0,void 0,void 0,Object(Z.a)().mark(function jt(){var Ft,Ht;return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:return Jt.next=2,Ie(yt);case 2:Ft=Jt.sent,Ht=Ft.collapseData,ve.setValue(function(mn){mn.keyword="",mn.collapseData=Ht,mn.searchResult=[]});case 5:case"end":return Jt.stop()}},jt)}))}),et.abrupt("return",ou.create(function(){Ye.dispose()}));case 6:case"end":return et.stop()}},Oe)}))}})},[]);var K=pe.a.useCallback(function(ue){I(function(ve){ve.collapseData.forEach(function(Oe){Oe.id===ue&&Oe.collapsible!==!1&&(Oe.isCollapsed=!Oe.isCollapsed)})})},[I]),ae=pe.a.useCallback(function(ue,ve){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Oe(){var ke;return Object(Z.a)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(t){Ye.next=2;break}return Ye.abrupt("return",console.warn("searchService is not defined"));case 2:if(!ue){Ye.next=9;break}return Ye.next=5,t(ve,ue);case 5:ke=Ye.sent,I(function(Ze){Ze.keyword=ue,Ze.searchResult=ke}),Ye.next=10;break;case 9:I(function(Ze){Ze.keyword="",Ze.searchResult=[]});case 10:case"end":return Ye.stop()}},Oe)}))},[t]);return{state:P,collapsible:c,setState:I,onKeywordChange:ae,onActiveKeyChange:K,onCollapseChange:r}},Ffe=function(i){var c=Nfe(i),o=c.headerStyle,t=c.bodyStyle,r=c.footerStyle,d=Lfe(i),v=d.state,g=d.onActiveKeyChange,b=d.onKeywordChange;return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement(Afe,Object.assign({},i,{state:v,style:o,onKeywordChange:b})),pe.a.createElement(Tfe,Object.assign({},i,{state:v,style:t,onActiveKeyChange:g})),pe.a.createElement(kfe,Object.assign({},i,{state:v,style:r})))},Ufe=function(i){var c=i.position,o=i.collapsible,t=i.onCollapseChange,r=c.width,d=r===void 0?200:r,v=c.left,g=t0("collapse-panel"),b=Object(fe.useState)(!1),P=Object(we.a)(b,2),I=P[0],V=P[1],K=Object(fe.useCallback)(function(){V(!I),t(!I)},[I,t]);return pe.a.createElement(Bb,Object.assign({},i,{className:g,position:Object.assign(Object.assign({},c),{left:I?-d:v}),style:{transition:"left 0.5s"}}),pe.a.createElement(Ffe,Object.assign({},i,{prefixClz:g})),o&&pe.a.createElement(Rfe,Object.assign({},i,{prefixClz:g,isCollapsed:I,onCollapseBtnClick:K,style:{position:"absolute",zIndex:1,width:13,right:-13,bottom:20,padding:"12px 0px",textAlign:"center",borderWidth:"1px 1px 1px 0",borderStyle:"solid solid solid",borderColor:"rgb(232, 232, 232) rgb(232, 232, 232) rgb(232, 232, 232)",cursor:"pointer"}})))},Bfe=function(i){var c=i.state,o=VE(),t=o.propsProxy,r=t.getValue(),d=Ep(),v=r.footer&&typeof r.footer=="function";return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(i.prefixClz,"-footer"),style:i.style},v&&pe.a.createElement(r.footer,Object.assign(Object.assign({},i),{headerStyle:{},bodyStyle:{},footerStyle:i.style,targetData:c.targetData,targetType:c.targetType,modelService:d.modelService,commandService:d.commandService})),!r.footer&&pe.a.createElement("div",{className:"".concat(i.prefixClz,"-footer-title")},r.footerText)))},Vfe=function(i){var c=i.prefixClz,o=i.hasSchema,t=i.state,r=VE(),d=r.propsProxy,v=d.getValue(),g=Ep();if(o)return null;var b=v.header&&typeof v.header=="function";return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-header"),style:i.style},b&&pe.a.createElement(v.header,Object.assign(Object.assign({},i),{headerStyle:i.style,bodyStyle:{},footerStyle:{},targetData:t.targetData,targetType:t.targetType,modelService:g.modelService,commandService:g.commandService})),!v.header&&pe.a.createElement("div",{className:"".concat(c,"-header-title")},v.headerText||"Panel")))},zfe=function(i){var c=i.text,o=bv(i,["text"]);return c?pe.a.createElement(Ni.a,Object.assign({placement:"left",title:c},o),pe.a.createElement("div",{className:"text-truncate"},c)):null};function SP(u){if(!!u)return pe.a.createElement(zfe,{text:u})}var Hfe=l("mwIZ"),Cle=l.n(Hfe);function Gfe(u,i){return function(c,o){var t=u.some(function(r){return typeof(r==null?void 0:r.condition)=="function"});return t?(typeof i=="function"&&i(void 0),!0):u.some(function(r){var d=r.name;if(!d)return console.error("[Schema form]: A dependent name must be provided in the updater when the dependency condition is not a function."),!1;var v=Cle()(c,d)!==Cle()(o,d);return v?(typeof i=="function"&&i(d),!0):!1})}}function $fe(u){return u===""||u===void 0}function Wfe(u,i,c){var o=u.getFieldValue,t=u.getFieldsValue,r=i.dependencies,d=i.hidden,v=i.disabled,g=d,b=v;return r==null||r.forEach(function(P){var I=P.name,V=P.condition,K=P.hidden,ae=P.disabled;if(!(typeof V!="function"&&c&&I!==c)){var ue=!1;if(typeof V=="function"){var ve=t();ue=!!V(ve)}else{if(!I){console.error("[Schema form]: A dependent name must be provided in the props genarator when the dependency condition is not a function.");return}ue=o(I)===V}ue&&(K!==void 0&&(g=K),ae!==void 0&&(b=ae))}}),{hidden:g,disabled:b}}var zw=function(i){var c=i.schema,o=i.children,t=Object(fe.useState)(),r=Object(we.a)(t,2),d=r[0],v=r[1],g=c.dependencies,b=c.value,P=c.defaultValue,I=c.hidden,V=c.disabled,K=Object(fe.useMemo)(function(){return(g==null?void 0:g.length)?Gfe(g,v):void 0},[g]);if(typeof o!="function")throw new Error("[Schema Form]: chilren of FormItemWrapper should be a render prop.");var ae=$fe(b)?P:b;return K?pe.a.createElement(Ot.a.Item,{noStyle:!0,shouldUpdate:K},function(ue){var ve=Wfe(ue,c,d),Oe=ve.hidden,ke=ve.disabled;return o({hidden:Oe,disabled:ke,initialValue:ae})}):o({hidden:I,disabled:V,initialValue:ae})},Ele=function(i){var c=i.controlSchema,o=c.required,t=c.tooltip,r=c.extra,d=c.name,v=c.label,g=c.placeholder,b=c.rules;return pe.a.createElement(zw,{schema:c},function(P){var I=P.disabled,V=P.hidden,K=P.initialValue;return pe.a.createElement(Ot.a.Item,{name:d,label:v,initialValue:K,tooltip:t,extra:SP(r),required:o,hidden:V,rules:b},pe.a.createElement(_s.a,{className:"xflow-form-input",allowClear:!0,placeholder:g,disabled:I}))})},Kfe=function(i){var c=i.controlSchema,o=c.required,t=c.tooltip,r=c.extra,d=c.name,v=c.label,g=c.rules;return pe.a.createElement(zw,{schema:c},function(b){var P=b.hidden,I=b.disabled,V=b.initialValue;return pe.a.createElement(Ot.a.Item,{className:"xflow-form-checkbox",name:d,rules:g,initialValue:V,tooltip:t,extra:SP(r),required:o,hidden:P,valuePropName:"checked",getValueProps:function(ae){var ue={true:!0,false:!1};return{checked:!!ue[ae]}}},pe.a.createElement(Ae.a,{disabled:I},v))})},Yfe=function(i){var c=i.controlSchema,o=c.required,t=c.tooltip,r=c.extra,d=c.name,v=c.label,g=c.placeholder,b=c.rules;return pe.a.createElement(zw,{schema:c},function(P){var I=P.hidden,V=P.disabled,K=P.initialValue;return pe.a.createElement(Ot.a.Item,{name:d,label:v,initialValue:K,tooltip:t,extra:SP(r),required:o,hidden:I,rules:b},pe.a.createElement(_s.a.TextArea,{allowClear:!0,placeholder:g,rows:3,disabled:V}))})},Xfe=function(i){var c=i.controlSchema,o=c.required,t=c.tooltip,r=c.extra,d=c.name,v=c.label,g=c.placeholder,b=c.options,P=b===void 0?[]:b,I=c.rules;return pe.a.createElement(zw,{schema:c},function(V){var K=V.hidden,ae=V.disabled,ue=V.initialValue;return pe.a.createElement(Ot.a.Item,{name:d,label:v,initialValue:ue,tooltip:t,extra:SP(r),required:o,hidden:K,rules:I},pe.a.createElement(jl.a,{disabled:ae,placeholder:g},P.map(function(ve){var Oe=ve.title,ke=ve.value;return pe.a.createElement(jl.a.Option,{key:ke.toString(),value:ke},Oe)})))})},Jfe=function(i){var c=i.className,o=i.style,t=i.disabled,r=i.value,d=i.onChange,v=Object(fe.useState)(r?Zt()(r):void 0),g=Object(we.a)(v,2),b=g[0],P=g[1],I=Object(fe.useRef)(!1);Object(fe.useEffect)(function(){if(!I.current){I.current=!0;return}var K=Zt()(r);K.isValid()&&P(K)},[r]);var V=Object(fe.useCallback)(function(K,ae){var ue=Zt()(ae);P(ue.isValid()?ue:void 0),typeof d=="function"&&d(ue.isValid()?ue.format("YYYY-MM-DD HH:mm:ss"):"")},[d]);return pe.a.createElement(Op.a,{showTime:!0,allowClear:!0,className:c,style:o,disabled:t,value:b,onChange:V})},Zfe=function(i){var c=i.controlSchema,o=c.required,t=c.tooltip,r=c.extra,d=c.name,v=c.label,g=c.rules;return pe.a.createElement(zw,{schema:c},function(b){var P=b.disabled,I=b.hidden,V=b.initialValue;return pe.a.createElement(Ot.a.Item,{name:d,label:v,initialValue:V,tooltip:t,extra:SP(r),required:o,hidden:I,rules:g},pe.a.createElement(Jfe,{style:{width:"100%"},disabled:P}))})};function v$(u){var i=Number(u);return Number.isNaN(i)?void 0:i}var Qfe=function(i){var c=i.disabled,o=i.placeholder,t=i.value,r=i.onChange,d=Object(fe.useState)(v$(t)),v=Object(we.a)(d,2),g=v[0],b=v[1],P=Object(fe.useRef)(!1);Object(fe.useEffect)(function(){P.current||(P.current=!0),b(v$(t))},[t]);var I=Object(fe.useCallback)(function(V){b(V),typeof r=="function"&&(V===void 0?r(""):typeof v$(V)=="number"&&r(v$(V)))},[r]);return pe.a.createElement(Kt.a,{style:{width:"100%"},size:"small",placeholder:o,value:g,onChange:I,disabled:c})},qfe=function(i){var c=i.controlSchema,o=c.required,t=c.tooltip,r=c.extra,d=c.name,v=c.label,g=c.placeholder,b=c.rules;return pe.a.createElement(zw,{schema:c},function(P){var I=P.disabled,V=P.hidden,K=P.initialValue;return pe.a.createElement(Ot.a.Item,{name:d,label:v,initialValue:K,tooltip:t,extra:SP(r),required:o,hidden:V,rules:b},pe.a.createElement(Qfe,{placeholder:g,disabled:I}))})},zE;(function(u){u.INPUT="input",u.CHECKBOX="checkbox",u.TEXTAREA="textArea",u.SELECT="select",u.DATETIME="datetime",u.FLOAT="float"})(zE||(zE={}));var xle=[[zE.INPUT,Ele],[zE.CHECKBOX,Kfe],[zE.TEXTAREA,Yfe],[zE.DATETIME,Zfe],[zE.SELECT,Xfe],[zE.FLOAT,qfe]],Sle=function(i){var c=new Map;return i.forEach(function(o){var t=Object(we.a)(o,2),r=t[0],d=t[1],v=r.toLowerCase();c.has(v)&&console.error("".concat(r," is duplicated in controlMap:"),c),c.set(v,d)}),c},epe=function(i,c){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ele;if(c.has(i))return c.get(i);var t=i.toLowerCase();return c.has(t)?c.get(t):(console.warn("".concat(i," is not exist in controlmap, fallback to defaultControl")),o)},tpe=oe.a.TabPane,npe=function(i){var c,o,t=i.schema,r=i.form,d=i.className,v=i.triggerUpdate,g=i.defaultControlRender,b=i.afterUpdatingCb,P=i.controlMap,I=bv(i,["schema","form","className","triggerUpdate","defaultControlRender","afterUpdatingCb","controlMap"]),V=t.tabs,K=Ot.a.useForm(r),ae=Object(we.a)(K,1),ue=ae[0],ve=pe.a.useMemo(function(){return i.controlMap?i.controlMap:Sle(xle)},[i.controlMap]),Oe=Object(fe.useCallback)(function(Ie){typeof v=="function"&&v(ue,Ie)},[ue,v]);Object(fe.useEffect)(function(){ue.setFieldsValue({})},[ue]);var ke=Object(fe.useCallback)(function(){requestAnimationFrame(function(){ue.setFieldsValue({})})},[ue]);return pe.a.createElement(Ot.a,Object.assign({size:"small",form:ue,layout:"vertical",className:tr()("xflow-json-form",d)},I),pe.a.createElement(oe.a,{type:"card",defaultActiveKey:(o=V[0])===null||o===void 0?void 0:o.name,className:tr()((c={},Object(qc.a)(c,"tabs",!0),Object(qc.a)(c,"xTab",!0),Object(qc.a)(c,"singleTab",(V==null?void 0:V.length)===1),Object(qc.a)(c,"coupleTab",(V==null?void 0:V.length)===2),Object(qc.a)(c,"ternateTab",(V==null?void 0:V.length)===3),c)),onTabClick:ke},V.map(function(Ie){var Ye=Ie.name,Ze=Ie.groups;return pe.a.createElement(tpe,{key:Ye,tab:Ye},Ze.length===0&&pe.a.createElement(Vw.a,{style:{padding:"24px 0"}}),Ze.length>0&&Ze.map(function(et){var yt=et.controls,jt=yt===void 0?[]:yt;return jt.length===0?pe.a.createElement(Vw.a,{style:{padding:"24px 0"}}):jt.map(function(Ft){var Ht=Ft.shape,Gt=Ft.name,Jt=epe(Ht,ve,g);return Jt?pe.a.createElement(Jt,{key:Gt,form:ue,controlSchema:Ft,triggerUpdate:Oe,afterUpdatingCb:b}):(console.error("\u672A\u627E\u5230\u5BF9\u5E94\u7684\u63A7\u4EF6:",Ht),null)})}))})))},rpe=function(i){var c=i.schema,o=c===void 0?{tabs:[]}:c,t=i.triggerUpdate,r=i.onFieldsChange,d=i.afterUpdatingCb,v=i.defaultControlRender,g=i.loading,b=i.controlMapService,P=i.defaultControls,I=P===void 0?[]:P,V=pe.a.useMemo(function(){var K=Sle([].concat(Object(Bs.a)(xle),Object(Bs.a)(I)));return b&&b(K),K},[b,I]);return g?pe.a.createElement("div",{className:"".concat(i.prefixClz,"-body"),style:Object.assign(Object.assign({},i.style),{display:"flex",justifyContent:"center",alignItems:"center"})},pe.a.createElement(At.a,{spinning:!0})):pe.a.createElement("div",{className:"".concat(i.prefixClz,"-body"),style:i.style},o.tabs.length>0&&pe.a.createElement(npe,{schema:o,onFieldsChange:r,controlMap:V,defaultControlRender:v,afterUpdatingCb:d,triggerUpdate:t}),o.tabs.length===0&&pe.a.createElement(Vw.a,{style:{paddingTop:"64px"}}))},ape=40,ipe=40,ope=function(i,c){var o=i&&i.headerPosition&&i.headerPosition.height||ape,t=i.footerPosition&&i.footerPosition.height||ipe;return{headerStyle:rm(Object.assign(Object.assign({height:0,top:0,left:0,right:0},c?{height:o,lineHeight:o}:{}),i.headerPosition)),bodyStyle:rm(Object.assign(Object.assign({left:0,right:0,top:0},c?{top:o,bottom:t}:{bottom:t}),i.bodyPosition)),footerStyle:rm(Object.assign(Object.assign({left:0,right:0,lineHeight:t,height:t,bottom:0},c?{lineHeight:t,height:t}:{bottom:0}),i.footerPosition))}},Y4;(function(u){var i=this;u.id="XFLOW_JSON_SCHEMA_FORM",u.useModel=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",c.awaitModel(u.id));case 1:case"end":return r.stop()}},o)}))}})(Y4||(Y4={}));var ige=function(i,c){i.executeCommand(tE.UPDATE_MODEL.id,{getModel:function(t){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",Y4.useModel(t));case 1:case"end":return v.stop()}},r)}))},updateModel:c})},wle=function(i){var c=Ep(),o=c.commandService,t=c.modelService,r=c.getGraphInstance,d=i.formSchemaService,v=yP({schema:{tabs:[]},targetType:null,targetData:null,targetCell:null,loading:!1}),g=Object(we.a)(v,4),b=g[0],P=g[1],I=g[2],V=g[3];return pe.a.useEffect(function(){if(!(!c||!c.modelService)){var K=new Of,ae=c.modelService.findDeferredModel(Y4.id);if(!ae){var ue=c.modelService.registerModel({id:Y4.id,modelFactory:function(){return I},watchChange:function(Oe,ke){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ie(){var Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,ne.SELECTED_CELL.getModel(ke);case 2:return Ye=yt.sent,Ze=Ye.watch(function(jt){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ft(){var Ht,Gt,Jt;return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:if(Ht=function(En,or){return la(void 0,void 0,void 0,Object(Z.a)().mark(function $r(){var vr,Er,Hr;return Object(Z.a)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:if(Oe.setValue(function(ca){ca.loading=!0,ca.schema={tabs:[]},ca.targetType=null,ca.targetData=null,ca.targetCell=null}),vr=En?En.getData():null,d){Fr.next=4;break}return Fr.abrupt("return");case 4:return Fr.next=6,r();case 6:return Er=Fr.sent,Fr.next=9,d({commandService:o,modelService:t,targetData:vr,cell:En,targetType:or,graph:Er});case 9:Hr=Fr.sent,Oe.setValue({loading:!1,schema:Hr,targetType:or,targetCell:En,targetData:vr});case 11:case"end":return Fr.stop()}},$r)}))},Gt=function(En){return En?En.isNode&&En.isNode()&&En.getProp("isGroup")?"group":En.isNode&&En.isNode()?"node":En.isEdge&&En.isEdge()?"edge":"canvas":"canvas"},Jt=Gt(jt),!(i.targetType||["node","canvas"]).includes(Jt)){vn.next=6;break}return vn.next=6,Ht(jt,Jt);case 6:case"end":return vn.stop()}},Ft)}))}),yt.abrupt("return",ou.create(function(){Ze.dispose(),K.push(Ze)}));case 5:case"end":return yt.stop()}},Ie)}))}});K.push(ue)}return function(){K.dispose()}}},[]),{commandService:o,modelService:t,state:b,setState:P,model:I,isModelReady:V}},spe=function(i){var c=i.prefixClz,o=i.getCustomRenderComponent,t=i.afterUpdatingCb,r=i.formValueUpdateService,d=r===void 0?function(){}:r,v=wle(i),g=v.state,b=v.commandService,P=v.modelService,I=pe.a.useCallback(function(Ie){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ze(){var et,yt,jt;return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:return Ie.setFieldsValue(Ye),et=Object.entries(Ye).map(function(Gt){var Jt=Object(we.a)(Gt,2),mn=Jt[0],vn=Jt[1];return{name:mn,value:vn}}),yt=Object.entries(g.targetData).map(function(Gt){var Jt=Object(we.a)(Gt,2),mn=Jt[0],vn=Jt[1];return{name:mn,value:vn}}),Ht.next=5,d({allFields:yt,values:et,modelService:P,commandService:b,targetData:g.targetData,targetType:g.targetType});case 5:jt=Ht.sent,t&&t(jt);case 7:case"end":return Ht.stop()}},Ze)}))},[t,b,d,P,g.targetData,g.targetType]),V=pe.a.useCallback(function(Ie,Ye){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ze(){var et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,d({values:Ie,allFields:Ye,modelService:P,commandService:b,targetData:g.targetData,targetType:g.targetType});case 2:et=jt.sent,t&&t(et);case 4:case"end":return jt.stop()}},Ze)}))},[t,b,d,P,g.targetData,g.targetType]),K=pe.a.useMemo(function(){try{return g.schema.tabs.length===0||!g.schema}catch(Ie){return!0}},[g.schema]),ae=ope(i,K),ue=ae.headerStyle,ve=ae.bodyStyle,Oe=ae.footerStyle;if(o){var ke=o(g.targetType,g.targetData,P,b);if(ke)return pe.a.createElement(ke,Object.assign(Object.assign({},i),{headerStyle:ue,bodyStyle:ve,footerStyle:Oe,targetData:g.targetData,targetType:g.targetType,modelService:P,commandService:b}))}return pe.a.createElement("div",{className:c},pe.a.createElement(Vfe,Object.assign({hasSchema:!K},i,{state:g,style:ue,prefixClz:i.prefixClz})),pe.a.createElement(rpe,Object.assign({},i,{key:g.targetData&&g.targetData.id,style:ve,prefixClz:i.prefixClz,loading:g.loading,schema:g.schema,triggerUpdate:I,onFieldsChange:V})),pe.a.createElement(Bfe,Object.assign({},i,{state:g,style:Oe})))},cpe=function(i){var c=t0("json-schema-form");return pe.a.createElement(Bb,Object.assign({},i,{className:c}),pe.a.createElement(spe,Object.assign({},i,{prefixClz:c})))},X4;(function(u){u.ASYNC_SRRIES="ASYNC_SRRIES",u.ASYNC_PARALLEL="ASYNC_PARALLEL"})(X4||(X4={}));var wP;(function(u){var i;(function(t){t.INVALID_HOOK_BEFORE="INVALID_HOOK_BEFORE",t.INVALID_HOOK_AFTER="INVALID_HOOK_AFTER",t.INVALID_HOOK_ARGS_LENGTH="INVALID_HOOK_ARGS_LENGTH"})(i=u.ErrorEnum||(u.ErrorEnum={}));var c=function(t){Object(Cc.a)(d,t);var r=Object(Ec.a)(d);function d(v,g){var b;Object(xi.a)(this,d),Array.isArray(g)&&(g=g.filter(function(K){return!!K}).join(" ")),b=r.call(this,"".concat(v,": ").concat(g)),Error.captureStackTrace&&Error.captureStackTrace(Object(Fp.a)(b),d),b.code=v,b.contexts={};for(var P=arguments.length,I=new Array(P>2?P-2:0),V=2;V<P;V++)I[V-2]=arguments[V];return I.forEach(function(K){typeof K=="object"&&Object.entries(K).forEach(function(ae){var ue=Object(we.a)(ae,2),ve=ue[0],Oe=ue[1];ve!=="key"&&Oe&&(b.contexts[ve]=JSON.parse(JSON.stringify(Oe)))})}),b}return Object(Pi.a)(d,[{key:"toString",value:function(){return"".concat(this.code,": ").concat(this.message)}}]),d}(Object(i3.a)(Error));u.HookError=c;var o=function(r,d){for(var v=arguments.length,g=new Array(v>2?v-2:0),b=2;b<v;b++)g[b-2]=arguments[b];return Object(pO.a)(c,[r,d].concat(g))};u.HookBeforeError=function(){return o(i.INVALID_HOOK_BEFORE,["hook require a before dependency but not exist in hookmap"])},u.HookAfterError=function(){return o(i.INVALID_HOOK_AFTER,["hook require a after dependency but not exist in hookmap"])},u.InvalidHookArguments=function(t){return o(i.INVALID_HOOK_ARGS_LENGTH,["hook handlers must have 0 to 2 arguments","but got ".concat(t.handler.length)])}})(wP||(wP={}));var h$;(function(u){u.normalize=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0,o=Array.isArray(i)?i:[i],t=[];return c.forEach(function(r){t.push(r)}),[].concat(t,Object(Bs.a)(o)).filter(function(r){return r&&!!r.handler})},u.sort=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0,o=[];i.forEach(function(r){if(r.before){if(!c.has(r.before))throw wP.HookBeforeError();var d=[r,c.get(r.before)];o.push(d)}if(r.after){if(!c.has(r.after))throw wP.HookBeforeError();var v=[c.get(r.after),r];o.push(v)}});var t=U2.a.array(i,o);return t}})(h$||(h$={}));var lpe=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.isResolved=!1,this.isRejected=!1,this.promise=new Promise(function(c,o){i.resolve=function(t){i.isResolved=!0,c(t)},i.reject=function(t){i.isRejected=!0,o(t)}})}),upe=Object(Pi.a)(function u(i){var c=this,o;Object(xi.a)(this,u),this.scheduleType=X4.ASYNC_SRRIES,this.hasHook=function(t){return c.hookMap.has(t)},this.getHooks=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=h$.normalize(t,c.hookMap);return r?h$.sort(d,c.hookMap):d},this.registerHook=function(t){return c.hookMap.has(t.name)&&console.error("".concat(t.name," is duplicated in hookmap")),c.hookMap.set(t.name,t),{dispose:function(){c.hookMap.delete(t.name)}}},this.call=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(v){return la(c,void 0,void 0,Object(Z.a)().mark(function g(){return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",v);case 1:case"end":return P.stop()}},g)}))},d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return g=this.getHooks(d,!0),b=this.schedulers[this.scheduleType],I.abrupt("return",b(t,r,g));case 3:case"end":return I.stop()}},v,this)}))},this.schedulers=(o={},Object(qc.a)(o,X4.ASYNC_SRRIES,function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g,b,P,I,V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:g=r,b=Object(iv.a)(d),ue.prev=2,b.s();case 4:if((P=b.n()).done){ue.next=26;break}if(I=P.value,![0,1].includes(I.handler.length)){ue.next=10;break}return ue.next=9,I.handler.call(this,t);case 9:return ue.abrupt("continue",24);case 10:if(!([2].includes(I.handler.length)&&g!==null)){ue.next=22;break}return ue.next=13,I.handler.call(this,t,g);case 13:if(V=ue.sent,V!==null){ue.next=19;break}return g=null,ue.abrupt("break",26);case 19:if(typeof V!="function"){ue.next=22;break}return g=V,ue.abrupt("continue",24);case 22:throw K=wP.InvalidHookArguments(I),K;case 24:ue.next=4;break;case 26:ue.next=31;break;case 28:ue.prev=28,ue.t0=ue.catch(2),b.e(ue.t0);case 31:return ue.prev=31,b.f(),ue.finish(31);case 34:if(!g){ue.next=38;break}return ue.next=37,g.call(this,t);case 37:return ue.abrupt("return",ue.sent);case 38:case"end":return ue.stop()}},v,this,[[2,28,31,34]])}))}),Object(qc.a)(o,X4.ASYNC_PARALLEL,function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g=this,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(b=d.map(function(K){if([0,1].includes(K.handler.length))return K.handler.call(g,t);if([2].includes(K.handler.length))return K.handler.call(g,t,r);throw wP.InvalidHookArguments(K)}),P=new lpe,Promise.all(b).then(function(K){return P.resolve(K)}),!r){V.next=7;break}return V.next=6,r.call(this,P);case 6:return V.abrupt("return",V.sent);case 7:case"end":return V.stop()}},v,this)}))}),o),this.hookMap=new Map,i&&i.type&&(this.scheduleType=i.type)});ie.Connector.registry.exist(EP.VERTICAL_NODE)||bf.registerConnector(EP.VERTICAL_NODE,function(u,i){var c=16,o=Math.abs(i.y-u.y),t=Math.floor(o/3*2),r={x:u.x,y:u.y+c+t},d={x:i.x,y:i.y-c-t};return df.normalize("M ".concat(u.x," ").concat(u.y,`
L `).concat(u.x," ").concat(u.y+c,`
C `).concat(r.x," ").concat(r.y," ").concat(d.x," ").concat(d.y," ").concat(i.x," ").concat(i.y-c,`
L `).concat(i.x," ").concat(i.y,`
`))},!0),ie.Connector.registry.exist(EP.VERTICAL_GROUP)||bf.registerConnector(EP.VERTICAL_GROUP,function(u,i){var c=4,o=Math.abs(i.y-u.y),t={x:u.x,y:u.y+c+o},r={x:i.x,y:i.y-c-o};return df.normalize("M ".concat(u.x," ").concat(u.y,`
L `).concat(u.x," ").concat(u.y+c,`
C `).concat(t.x," ").concat(t.y," ").concat(r.x," ").concat(r.y," ").concat(i.x," ").concat(i.y-c,`
L `).concat(i.x," ").concat(i.y,`
`))},!0),ie.Connector.registry.exist(EP.HORIRONTAL_NODE)||bf.registerConnector(EP.HORIRONTAL_NODE,function(u,i){var c=4,o=Math.abs(i.y-u.y),t=Math.floor(o/3*2),r={x:u.x,y:u.y+c+t},d={x:i.x,y:i.y-c-t};return df.normalize("M ".concat(u.x," ").concat(u.y,`
L `).concat(u.x," ").concat(u.y+c,`
C `).concat(r.x," ").concat(r.y," ").concat(d.x," ").concat(d.y," ").concat(i.x," ").concat(i.y-c,`
L `).concat(i.x," ").concat(i.y,`
`))},!0);var Ioe=G.Edge.registry.get(d$.EDGE);G.Edge.registry.exist(d$.EDGE)||(Ioe=G.Edge.registry.register(d$.EDGE,G.Edge.define({zIndex:1,highlight:!1,shape:d$.EDGE}),!0));var Bp;(function(u){var i=this;u.MODEL=xP,u.command=f$.QUERY_GRAPH_STATUS,u.hookKey="queryGraphStatus";var c;(function(o){o.SUCCESS="success",o.PROCESSING="processing",o.ERROR="error",o.DEFAULT="default",o.WARNING="warning"})(c=u.StatusEnum||(u.StatusEnum={})),u.initStatusMap=function(){var o;return o={},Object(qc.a)(o,u.StatusEnum.DEFAULT,[]),Object(qc.a)(o,u.StatusEnum.PROCESSING,[]),Object(qc.a)(o,u.StatusEnum.ERROR,[]),Object(qc.a)(o,u.StatusEnum.WARNING,[]),Object(qc.a)(o,u.StatusEnum.SUCCESS,[]),o},u.groupByStatus=function(o){var t=u.initStatusMap();return Object.entries(o).reduce(function(r,d){var v=Object(we.a)(d,2),g=v[0],b=v[1];return r[b.status].push(g),r},t)},u.statusDiff=function(o,t){var r=new Set([].concat(Object(Bs.a)(o),Object(Bs.a)(t))),d={current:[],add:[],remove:[]};return r.forEach(function(v){t.includes(v)&&!o.includes(v)&&d.add.push(v),!t.includes(v)&&o.includes(v)&&d.remove.push(v)}),d},u.shouldStop=function(o){return la(i,void 0,void 0,Object(Z.a)().mark(function t(){return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",[c.ERROR,c.SUCCESS].includes(o.graphStatus));case 1:case"end":return d.stop()}},t)}))}})(Bp||(Bp={}));var g$=function(){function u(){var i=this;Object(xi.a)(this,u),this.statusInfo=Bp.initStatusMap(),this.getStatusModel=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=this.contextProvider(),t=o.getModelService(),v.next=4,xP.getModel(t);case 4:return r=v.sent,v.abrupt("return",r);case 6:case"end":return v.stop()}},c,this)}))},this.updateModelValue=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.getStatusModel();case 2:t=d.sent,t.setValue(c);case 4:case"end":return d.stop()}},o,this)}))},this.stopCurrentStatusLooping=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o,t,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,this.getStatusModel();case 2:return o=v.sent,v.next=5,o.getValidValue();case 5:t=v.sent,r=t.subscription,r.dispose();case 8:case"end":return v.stop()}},c,this)}))},this.addStopDispose=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.getStatusModel();case 2:return t=g.sent,g.next=5,t.getValidValue();case 5:r=g.sent,d=r.subscription,d.push({dispose:function(){o.updateEdges(o.statusInfo,Bp.initStatusMap()),o.isLooping=!1}});case 8:case"end":return g.stop()}},c,this)}))},this.updateGraph=function(c,o,t){i.updateNodes(c,o,t),i.updateEdges(c,o)},this.updateNodeData=function(c,o){var t=i.x6Graph.getCellById(c);!t||t.setData(Object.assign(Object.assign(Object.assign(Object.assign({},t.getData()),t.getSize()),t.getPosition()),o))},this.updateNodes=function(c,o,t){Object.keys(c).forEach(function(r){var d=Bp.statusDiff(c[r],o[r]);d.add.forEach(function(v){i.updateNodeData(v,t[v])}),d.remove.forEach(function(v){i.updateNodeData(v,t[v])})})},this.updateEdges=function(c,o){var t=Bp.statusDiff(c.processing,o.processing),r=i.x6Graph.getEdges();r.forEach(function(d){var v,g=(v=i.x6Graph)===null||v===void 0?void 0:v.findViewByCell(d.id),b=d.getTargetCellId();if(!!b){var P=b.toString();if(!!g){if(t.add.includes(P))return g.addClass(dle);if(t.remove.includes(P))return g.removeClass(dle)}}})},this.execute=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o=this,t,r,d,v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return t=this.contextProvider(),r=t.getArgs(),d=r.args,v=r.hooks,g=t.getHooks(),I.next=5,t.getX6Graph();case 5:return this.x6Graph=I.sent,I.next=8,g.queryGraphStatus.call(d,function(V){return la(o,void 0,void 0,Object(Z.a)().mark(function K(){var ae=this,ue,ve,Oe,ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return ue=V.graphStatusService,ve=V.shouldStop,Oe=ve===void 0?Bp.shouldStop:ve,ke=V.doOnce,Ze.next=3,this.stopCurrentStatusLooping();case 3:return Ie=function et(yt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e4;return la(ae,void 0,void 0,Object(Z.a)().mark(function Ft(){var Ht,Gt,Jt;return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:return vn.next=2,yt(V);case 2:return Ht=vn.sent,this.updateModelValue(function(Yt){Object.entries(Ht.statusMap).forEach(function(En){var or=Object(we.a)(En,2),$r=or[0],vr=or[1];Yt.statusMap.set($r,vr)}),Yt.graphStatus=Ht.graphStatus}),Gt=Bp.groupByStatus(Ht.statusMap),this.updateGraph(this.statusInfo,Gt,Ht.statusMap),this.statusInfo=Gt,vn.next=9,Zue(jt);case 9:if(this.isLooping){vn.next=11;break}return vn.abrupt("return");case 11:if(!Oe){vn.next=17;break}return vn.next=14,Oe(Ht,V);case 14:if(Jt=vn.sent,!Jt){vn.next=17;break}return vn.abrupt("return");case 17:return vn.next=19,et(yt,jt);case 19:case"end":return vn.stop()}},Ft,this)}))},this.isLooping=V.loop===void 0?!0:V.loop,Ze.next=7,this.addStopDispose();case 7:if(!ke){Ze.next=10;break}return Ze.next=10,ke(V);case 10:return Ie(ue,V.loopInterval),Ze.abrupt("return",{});case 12:case"end":return Ze.stop()}},K,this)}))},v);case 8:return b=I.sent,t.setResult(b),I.abrupt("return",this);case 11:case"end":return I.stop()}},c,this)}))},this.undo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=this.contextProvider(),this.isUndoable()&&o.undo(),r.abrupt("return",this);case 3:case"end":return r.stop()}},c,this)}))},this.redo=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isUndoable()){t.next=3;break}return t.next=3,this.execute();case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}},c,this)}))}}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}();ls([co.inject(Ad),Es("design:type",Object)],g$.prototype,"contextProvider",void 0),g$=ls([co.injectable({token:{token:cf,named:Bp.command.id}})],g$);var oge=function(){},HE;(function(u){u.TOP_BOTTOM="TB",u.LEFT_RIGHT="LR"})(HE||(HE={}));var Tle=co.Syringe.defineToken("DAG_EXTENSION_CONFIG"),m$;(function(u){u.EVENT_NAME="ADD_EDGE_CMD_EVENT"})(m$||(m$={}));var _$;(function(u){u.router={name:"manhattan"},u.connector={name:"rounded",args:{radius:15}}})(_$||(_$={}));var sge="ant",dpe=function(i){var c=i.layout,o=i.router,t=o===void 0?_$.router:o,r=i.connector,d=r===void 0?_$.connector:r,v={grid:!1,keyboard:{enabled:!0},selecting:{enabled:!0,multiple:!0,selectCellOnMoved:!0,showNodeSelectionBox:!1,rubberEdge:!0,rubberNode:!0,movable:!0},connecting:{sourceAnchor:c?c===HE.TOP_BOTTOM?"bottom":"right":"center",targetAnchor:c?c===HE.TOP_BOTTOM?"center":"left":"center",connectionPoint:"anchor",snap:{radius:20},router:t,connector:d,highlight:!0,dangling:!1,createEdge:function(){var b=this,P=new Ioe({attrs:{line:{strokeDasharray:"5 5",stroke:"#888",strokeWidth:1,targetMarker:{name:"block",args:{size:"6"}}}}}),I=function(K){var ae=K.isNew,ue=K.edge;if(ae&&ue.isEdge()&&ue===P){var ve=ue.getTargetPortId(),Oe=ue.getTargetCell();if(Oe&&Oe.isNode()){Oe.setPortProp(ve,"connected",!1),ue.attr({line:{strokeDasharray:"",targetMarker:"",stroke:"#d5d5d5"}});var ke=ue.getTargetPortId(),Ie=ue.getSourcePortId(),Ye=ue.getSourceCellId(),Ze=ue.getTargetCellId();b.trigger(m$.EVENT_NAME,{targetPortId:ke,sourcePortId:Ie,source:Ye,target:Ze,edge:P})}}};return b.once("edge:connected",I),P},validateEdge:function(b){var P,I=b.edge;return!!((P=I==null?void 0:I.target)===null||P===void 0?void 0:P.port)},validateMagnet:function(b){var P=b.magnet,I=b.cell,V=I.getData().ports.filter(function(K){return K.type===kh.AnchorType.INPUT});return V.length>0?P.getAttribute("port-group")!==V[0].group:!1},validateConnection:function(b){var P=b.sourceView,I=b.targetView,V=b.sourceMagnet,K=b.targetMagnet;if(P===I||!V||!K)return!1;if(c){var ae=c===HE.TOP_BOTTOM?kh.AnchorGroup.TOP:kh.AnchorGroup.LEFT;if(V.getAttribute("port-group")===ae||K.getAttribute("port-group")!==ae)return!1}var ue=P.cell,ve=V.getAttribute("port");if(!ve)return!1;var Oe=ue.getPort(ve);if(Oe.type!==kh.AnchorType.OUTPUT)return!1;var ke=I.cell,Ie=K.getAttribute("port");if(!Ie)return!1;var Ye=ke.getPort(Ie);return Ye.type!==kh.AnchorType.INPUT?!1:!(Ye&&Ye.connected)}},highlighting:{nodeAvailable:{name:"className",args:{className:"available"}},magnetAvailable:{name:"className",args:{className:"available"}},magnetAdsorbed:{name:"className",args:{className:"adsorbed"}}},scaling:{max:1.05,min:.01}};return v},J4=function(){function u(){var i=this;Object(xi.a)(this,u),this.registerGraphCommands=function(c){c.registerCommand(Bp.command,{createCommand:i.commandFactory})},this.toDispose=new Of,this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.addNode.registerHook({name:"dag-add-node",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V=this,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:K=function(Oe){return la(V,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ie=new $4(Object.assign({},Oe)),Ze.abrupt("return",Ie);case 2:case"end":return Ze.stop()}},ke)}))},P.cellFactory=K;case 2:case"end":return ue.stop()}},I)}))}}),c.addEdge.registerHook({name:"dag-add-edge",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V=this,K,ae,ue,ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,this.propConfig.getConfig();case 2:K=ke.sent,ae=K.layout,ue=ae===void 0?HE.TOP_BOTTOM:ae,ve=function(Ye){return la(V,void 0,void 0,Object(Z.a)().mark(function Ze(){var et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return et=new Ioe(Object.assign(Object.assign({},Ye),{id:Ye.id,source:{cell:Ye.source,port:Ye.sourcePortId,anchor:{name:ue===HE.TOP_BOTTOM?"bottom":"right"}},target:{cell:Ye.target,port:Ye.targetPortId,anchor:{name:ue===HE.TOP_BOTTOM?"center":"right"}},attrs:{line:{strokeDasharray:"",targetMarker:"",stroke:"#d5d5d5",strokeWidth:1}},data:Object.assign({},Ye)})),jt.abrupt("return",et);case 2:case"end":return jt.stop()}},Ze)}))},P.cellFactory=ve;case 7:case"end":return ke.stop()}},I,this)}))}}),c.addEdge.registerHook({name:"after add edge, set target port props",handler:function(P,I){return la(t,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ae=function(ke){return la(K,void 0,void 0,Object(Z.a)().mark(function Ie(){var Ye,Ze,et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,I(ke);case 2:return Ye=jt.sent,Ye&&Ye.edgeCell&&(Ze=Ye.edgeCell.getTargetCell(),et=Ye.edgeCell.getTargetPortId(),Ze.setPortProp(et,"connected",!0)),jt.abrupt("return",Ye);case 5:case"end":return jt.stop()}},Ie)}))},ve.abrupt("return",ae);case 2:case"end":return ve.stop()}},V)}))}}),c.delEdge.registerHook({name:"afetr del edge, reset target node port props",handler:function(P,I){return la(t,void 0,void 0,Object(Z.a)().mark(function V(){var K=this,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ae=function(ke){return la(K,void 0,void 0,Object(Z.a)().mark(function Ie(){var Ye,Ze,et;return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,I(ke);case 2:return Ye=jt.sent,Ze=Ye.targetCell,et=Ye.targetPortId,Ze&&Ze.isNode()&&et&&Ze.setPortProp(et,"connected",!1),jt.abrupt("return",Ye);case 6:case"end":return jt.stop()}},Ie)}))},ve.abrupt("return",ae);case 2:case"end":return ve.stop()}},V)}))}}),c.afterGraphInit.registerHook({name:"call add edge to replace temp edge",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:V=P.commandService,K=P.graph,K.on(m$.EVENT_NAME,function(ve){V.executeCommand(Up.ADD_EDGE.id,{edgeConfig:ve}),ve.edge.remove()});case 2:case"end":return ue.stop()}},I)}))}}),c.graphOptions.registerHook({name:"dag-extension-x6-options",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.propConfig.getConfig();case 2:V=ue.sent,K=dpe(V),Object.assign(P,K);case 5:case"end":return ue.stop()}},I,this)}))}})],r.pushAll(d),g.abrupt("return",ou.create(function(){}));case 4:case"end":return g.stop()}},o)}))},this.registerHookHub=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",c.registerHookHub(Bp.hookKey,new upe));case 1:case"end":return r.stop()}},o)}))}}return Object(Pi.a)(u,[{key:"registerModel",value:function(c){var o=this;c.registerModel({id:xP.id,getInitialValue:function(){return{statusMap:new Map,subscription:new Of,graphStatus:xP.StatusEnum.DEFAULT}},watchChange:function(r){return la(o,void 0,void 0,Object(Z.a)().mark(function d(){var v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,r.getValidValue();case 2:return v=P.sent,g=v.subscription,P.abrupt("return",g);case 5:case"end":return P.stop()}},d)}))}})}}]),u}();ls([co.inject(n3),Es("design:type",Function)],J4.prototype,"commandFactory",void 0),ls([co.inject(Tle),Es("design:type",Object)],J4.prototype,"propConfig",void 0),J4=ls([co.singleton({contrib:[Tm,n_,qj]})],J4);var fpe=function(i){return co.Module(function(c){c(J4),c(g$),c(Tle,{useValue:i})})},ppe=function(i){var c=nm();pe.a.useEffect(function(){c.addContainerClassNames("dag-extension-container");var t=i.layout||"TB";c.addContainerClassNames(t==="TB"?"layout-top-bottom":"layout-left-right")},[c,i.layout]);var o=pe.a.useMemo(function(){return{CONFIG_TYPE:"DAG_EXTENSION",getConfig:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function r(){return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",i);case 1:case"end":return v.stop()}},r)}))}}},[i]);return pe.a.createElement(fE,{config:o,createModule:fpe})},Noe="XFLOW_FLOW_NODE_SHAPE",vpe=150,hpe=60,Loe,y$=kh.AnchorGroup,b$={circle:{r:4,magnet:!0,stroke:"#5F95FF",strokeWidth:1,fill:"#fff",style:{visibility:"hidden"}}};zf.registry.exist(Noe)?Loe=zf.registry.get(Noe):Loe=Y2.define({width:vpe,height:hpe,shape:Noe,view:W.X6_NODE_PORTAL_NODE_VIEW,ports:{groups:{top:{position:y$.TOP,attrs:b$},bottom:{position:y$.BOTTOM,attrs:b$},right:{position:y$.RIGHT,attrs:b$},left:{position:y$.LEFT,attrs:b$}}},attrs:{body:{magnet:!1,fill:"none",stroke:"none",refWidth:"100%",refHeight:"100%"}}});var gpe={grid:!0,mousewheel:{enabled:!0,zoomAtMousePosition:!0,modifiers:"ctrl",minScale:.5,maxScale:3},connecting:{router:"manhattan",connector:{name:"rounded",args:{radius:8}},anchor:"center",connectionPoint:"anchor",allowBlank:!1,snap:{radius:20},createEdge:function(){return new G.Edge({attrs:{line:{stroke:"#A2B1C3",strokeWidth:2,targetMarker:{name:"block",width:12,height:8}}},zIndex:0})},validateConnection:function(i){var c=i.targetMagnet;return!!c}},highlighting:{magnetAdsorbed:{name:"stroke",args:{attrs:{fill:"#5F95FF",stroke:"#5F95FF"}}}},resizing:!0,rotating:!0,selecting:{enabled:!0,rubberband:!0,showNodeSelectionBox:!0,modifiers:"shift"},snapline:!0,keyboard:!0,clipboard:!0},Foe=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.registerHookHub=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ou.create(function(){}));case 1:case"end":return t.stop()}},c)}))},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.addNode.registerHook({name:"flow-add-node",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V=this,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:K=function(Oe){return la(V,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ie=new Loe(Object.assign({},Oe)),Ze.abrupt("return",Ie);case 2:case"end":return Ze.stop()}},ke)}))},P.cellFactory=K;case 2:case"end":return ue.stop()}},I)}))}}),c.addEdge.registerHook({name:"flow-add-edge",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V=this,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:K=function(Oe){return la(V,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return delete Oe.id,Ie=new G.Edge({source:{cell:Oe.source,port:Oe.sourcePortId},target:{cell:Oe.target,port:Oe.targetPortId},attrs:{line:{stroke:"#A2B1C3",strokeWidth:2,targetMarker:{name:"block",width:12,height:8}}},zIndex:-1,data:Object.assign({},Oe)}),Ze.abrupt("return",Ie);case 3:case"end":return Ze.stop()}},ke)}))},P.cellFactory=K;case 2:case"end":return ue.stop()}},I)}))}}),c.graphOptions.registerHook({name:"assign options ",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:Object.assign(P,gpe);case 1:case"end":return K.stop()}},I)}))}})],r.pushAll(d),g.abrupt("return",ou.create(function(){}));case 4:case"end":return g.stop()}},o)}))}});Foe=ls([co.singleton({contrib:Tm})],Foe);var mpe=function(){return co.Module(function(i){i(Foe)})},cge=function(){var i=nm(),c=pe.a.useMemo(function(){return{CONFIG_TYPE:"DAG_EXTENSION",getConfig:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function t(){return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:case"end":return d.stop()}},t)}))}}},[]);return pe.a.useEffect(function(){var o=i.addExtension({config:c,createModule:mpe});return i.addContainerClassNames("flow-extension-container"),function(){o.dispose()}},[c,i]),null},Ale=l("zs7G"),kle=l("JaaR"),Uoe={config:{}},jle=function(i){Uoe.config=Object.assign({},Uoe.config,i)},Z4=function(i){var c;return(c=Uoe.config)===null||c===void 0?void 0:c[i]},Mle=new Map,Ple=new Map,_pe=function(i){return la(void 0,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,i.getGraphInstance();case 2:o=r.sent,Mle.set("x6graph",o),Ple.set("app",i);case 5:case"end":return r.stop()}},c)}))},Rle=function(){return Mle.get("x6graph")},ype=function(){return Ple.get("app")},bpe=function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function i(){var c;return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=ype(),t.abrupt("return",c.getGraphData());case 2:case"end":return t.stop()}},i)}))},Q4=Object(Gh.debounce)(function(u){var i=Z4("onConfigChange");if(!(!i||typeof i!="function"))return i(Object.assign({data:bpe()},u))},300,{trailing:!0}),Ope=function(i,c){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){var t,r,d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(t=i.node,t){b.next=3;break}return b.abrupt("return");case 3:return r=t.data,(r==null?void 0:r.groupChildren)&&(d=Rle(),r==null||r.groupChildren.forEach(function(P){return la(void 0,void 0,void 0,Object(Z.a)().mark(function I(){var V,K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:if(ae=d.getCellById(P),!(ae&&ae.isNode())){ve.next=4;break}return ve.next=4,c.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:Object.assign(Object.assign(Object.assign({},ae.data),(V=ae.getSize)===null||V===void 0?void 0:V.call(ae)),(K=ae.getPosition)===null||K===void 0?void 0:K.call(ae))});case 4:case"end":return ve.stop()}},I)}))})),v=Object.assign(Object.assign(Object.assign({},t.data),t.getPosition()),t.getSize()),b.next=8,c.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:v});case 8:Q4({type:"move:node",config:v});case 9:case"end":return b.stop()}},o)}))},Cpe=function(i,c){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){var t,r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(t=i.node,t){v.next=3;break}return v.abrupt("return");case 3:return r=Object.assign(Object.assign(Object.assign({},t.data),t.getPosition()),t.size()),v.next=6,c.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:r});case 6:Q4({type:"resize:node",config:r});case 7:case"end":return v.stop()}},o)}))},Epe=function(i){var c,o=(c=i==null?void 0:i.e)===null||c===void 0?void 0:c.currentTarget;if(!o)return document.getElementsByClassName("xflow-canvas-root");for(var t=null;!t;){var r=o.getElementsByClassName("xflow-canvas-root");(r==null?void 0:r.length)>0&&(t=r),o=o.parentNode}return t},xpe=function(i){var c=document.getElementsByClassName("x6-node-selected");if(!!c){var o=c[0];return Array.from(c).forEach(function(t){t.getAttribute("data-cell-id")===i&&(o=t)}),o.getElementsByClassName("x6-port")}},Dle=function(i,c){var o=i.getAttribute("transform"),t=o.split(",");t[0]="matrix(".concat(Number(t[0].split("(")[1])*c),t[3]=Number(t[3])*c,i.setAttribute("transform",t.join(","))},Spe=function(i){if(!!(i==null?void 0:i.length)){var c=2;i.forEach(function(o){o.getAttribute("data-scale")||(Dle(o,c),o.setAttribute("data-scale","".concat(c)))})}},wpe=function(){var i=document.getElementsByClassName("x6-port");!i||Array.from(i).forEach(function(c){var o=c.getAttribute("data-scale");o&&(Dle(c,1/Number(o)),c.removeAttribute("data-scale"))})},Boe=function(i,c,o){var t;i||wpe();var r=Epe(c),d=Rle(),v=(t=d.getSelectedCells())===null||t===void 0?void 0:t[0];(v==null?void 0:v.isNode())&&o&&Spe(xpe(v.id)),Array.from(r).forEach(function(g){for(var b=g.querySelectorAll(".x6-port-body"),P=v==null?void 0:v.isNode(),I=0,V=b.length;I<V;I=I+1)b[I].style.visibility=(!P||o)&&i?"visible":"hidden"})},Tpe=function(i){return la(void 0,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(o=i.edge,o){r.next=3;break}return r.abrupt("return");case 3:o.addTools("vertices","ondbclick");case 4:case"end":return r.stop()}},c)}))},Ape=function(i,c){return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(t=i.edge,t){d.next=3;break}return d.abrupt("return");case 3:t.hasTools("ondbclick")&&(c.executeCommand(Up.UPDATE_EDGE.id,{edgeConfig:Object.assign(Object.assign({},Object(Gh.get)(t,"data")),{vertices:t.getVertices()})}),t.removeTools());case 4:case"end":return d.stop()}},o)}))},Ile=40,O$="xflow-node-panel-collpase",kpe="GROUP_NODE_RENDER_ID",pv=60,sp=40,ro=1,Ac={stroke:"#A2B1C3",fill:"#FFFFFF",fontFill:"#000",fontSize:12,label:""},Nle=[{name:"Terminal"},{name:"Process"},{name:"Decision"},{name:"Multi Document"},{name:"Connector",width:sp,height:sp},{name:"DataIO",ports:["top","bottom"]},{name:"Database"},{name:"Hard Disk"},{name:"Stroed Data"},{name:"Document"},{name:"Predefined Process"},{name:"Extract"},{name:"Merge"},{name:"Or",width:sp,height:sp},{name:"Manual Input"},{name:"Preparation"},{name:"Delay"},{name:"Manual Operation"},{name:"Display"},{name:"Off Page Link"},{name:"Note Left",label:"\u2263"},{name:"Note Right",label:"\u2263"},{name:"Internal Storage"},{name:"Text",label:"text"}],jpe=["Connector","Or"],Mpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=[["M",ro,ro],["L",ve-2*ro,ro],["L",ve-2*ro,Oe-2*ro],["L",ro,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(ke),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Ppe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=[["M",ve/2,ro],["L",ve-2*ro,Oe/2],["L",ve/2,Oe-2*ro],["L",ro,Oe/2],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(ke),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Rpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Oe-2*ro;return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:"M ".concat(ro,",").concat(Oe/2," a ").concat(ke/2," ").concat(ke/2," 0 1 1 0 1 z"),fill:I,stroke:v}),pe.a.createElement("text",{x:Oe/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Dpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Oe/2,Ie=[["M",ke-ro,ro],["L",ve-2*ro,ro],["L",ve-ke,Oe-2*ro],["L",ro,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Ipe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(Oe,ve)/2,Ie=[["M",ke,ro],["L",ve-ke,ro],["C",ve-2*ro,ro,ve-2*ro,Oe/2],["",ve-2*ro,Oe/2],["C",ve-2*ro,Oe/2,ve-2*ro,Oe-2*ro],["",ve-ke,Oe-2*ro],["L",ke,Oe-2*ro],["C",ro,Oe-2*ro,ro,Oe/2],["",ro,Oe/2],["C",ro,Oe/2,ro,ro],["",ke,ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Npe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=ve/4,Ie=Math.min(Oe/10,12),Ye=[["M",ro,ro+Ie],["C",ro+ke,ro,ro+ve-ke,ro],["",ve-2*ro,ro+Ie],["L",ve-2*ro,Oe-2*ro-Ie],["C",ve-2*ro-ke,Oe-2*ro,ro+ke,Oe-2*ro],["",ro,Oe-2*ro-Ie],["Z"]],Ze=[["M",ro,ro+Ie],["C",ro+ke,ro+2*Ie,ro+ve-ke,ro+2*Ie],["",ve-2*ro,ro+Ie]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ye),fill:I,stroke:v}),pe.a.createElement("path",{d:Vp(Ze),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Lpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(ve/10,Oe/4),Ie=Math.min(Oe/4,ve/4),Ye=[["M",ro+ke,ro],["L",ve-2*ro-ke,ro],["C",ve-2*ro,ro+Ie,ve-2*ro,Oe-2*ro-Ie],["",ve-2*ro-ke,Oe-2*ro],["L",ro+ke,Oe-2*ro],["C",ro,Oe-2*ro-Ie,ro,ro+Ie],["",ro+ke,ro]],Ze=[["M",ve-2*ro-ke,ro],["C",ve-2*ro-2*ke,ro+Ie,ve-2*ro-2*ke,Oe-2*ro-Ie],["",ve-2*ro-ke,Oe-2*ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ye),fill:I,stroke:v}),pe.a.createElement("path",{d:Vp(Ze),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Fpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(ve/10,Oe/4),Ie=Math.min(Oe/4,ve/4),Ye=[["M",ro+ke,ro],["L",ve-2*ro-ke,ro],["C",ve-2*ro-2*ke,ro+Ie,ve-2*ro-2*ke,Oe-2*ro-Ie],["",ve-2*ro-ke,Oe-2*ro],["L",ro+ke,Oe-2*ro],["C",ro,Oe-2*ro-Ie,ro,ro+Ie],["",ro+ke,ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ye),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Upe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=ve/8,Ie=Oe/8,Ye=[["M",ro,ro],["L",ve-2*ro,ro],["L",ve-2*ro,Oe-2*ro-Ie],["C",ve-2*ro-ke,Oe-2*ro-2*Ie,ve/2+ke,Oe-2*ro-2*Ie],["",ve/2,Oe-2*ro-Ie],["S",ve/4,Oe-2*ro,ro,Oe-2*ro-2*Ie],["L",ro,ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ye),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Bpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=6,Oe=ro,ke=ve/2,Ie=o.width,Ye=o.height;Ie+=ve,Ye+=ve;var Ze=Ie/8,et=Ye/8,yt=[["M",Oe+ke,Oe],["L",Ie-2*Oe,Oe],["L",Ie-2*Oe,Ye-2*Oe-et],["C",Ie-2*Oe-Ze,Ye-2*Oe-2*et,Ie/2+Ze,Ye-2*Oe-2*et],["",Ie/2,Ye-2*Oe-et],["S",Ie/4,Ye-2*Oe,Oe+ke,Ye-2*Oe-2*et],["L",Oe+ke,Oe]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(Ie," ").concat(Ye),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(yt),fill:I,stroke:v}),pe.a.createElement("path",{d:Vp(yt,-ve/2,ve/2),fill:I,stroke:v}),pe.a.createElement("text",{x:Ie/2,y:Ye/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Vpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=ve/8,Ie=[["M",ro,ro],["L",ve-2*ro,ro],["L",ve-2*ro,Oe-2*ro],["L",ro,Oe-2*ro],["Z"]],Ye=[["M",ke,ro],["L",ke,Oe-2*ro]],Ze=[["M",ve-ke,ro],["L",ve-ke,Oe-2*ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("path",{d:Vp(Ye),stroke:v}),pe.a.createElement("path",{d:Vp(Ze),stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},zpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=[["M",ve/2,ro],["L",ve-2*ro,Oe-2*ro],["L",ro,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(ke),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Hpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=[["M",ro,ro],["L",ve-2*ro,ro],["L",ve/2,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(ke),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Gpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=[["M",Oe/2,ro],["L",Oe/2,Oe-2*ro]],Ie=[["M",ro,Oe/2],["L",Oe-2*ro,Oe/2]],Ye=Oe-2*ro;return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:"M ".concat(ro,",").concat(Oe/2," a ").concat(Ye/2," ").concat(Ye/2," 0 1 1 0 1 z"),fill:I,stroke:v}),pe.a.createElement("path",{d:Vp(ke),stroke:v}),pe.a.createElement("path",{d:Vp(Ie),stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},$pe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=[["M",ro,Oe/5],["L",ve-2*ro,ro],["L",ve-2*ro,Oe-2*ro],["L",ro,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(ke),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Wpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.tan(Math.PI/6)*(Oe/2),Ie=[["M",ke,ro],["L",ve-ke,ro],["L",ve-2*ro,Oe/2],["L",ve-ke,Oe-2*ro],["L",ke,Oe-2*ro],["L",ro,Oe/2],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Kpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(Oe,ve)/2,Ie=[["M",ro,ro],["L",ve-ke,ro],["C",ve-2*ro,ro,ve-2*ro,Oe/2],["",ve-2*ro,Oe/2],["C",ve-2*ro,Oe/2,ve-2*ro,Oe-2*ro],["",ve-ke,Oe-2*ro],["L",ro,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Ype=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(Math.tan(Math.PI/6)*Oe,ve/2),Ie=[["M",ro,ro],["L",ve-2*ro,ro],["L",ve-ke,Oe-2*ro],["L",ke,Oe-2*ro],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Xpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(Oe,ve)/3,Ie=Math.min(Math.tan(Math.PI/6)*(Oe/2),ve/3),Ye=[["M",Ie,ro],["L",ve-ke,ro],["C",ve-2*ro,ro,ve-2*ro,Oe/2],["",ve-2*ro,Oe/2],["C",ve-2*ro,Oe/2,ve-2*ro,Oe-2*ro],["",ve-ke,Oe-2*ro],["L",Ie,Oe-2*ro],["L",ro,Oe/2],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ye),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Jpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=Math.min(Math.tan(Math.PI/6)*(ve/2),Oe/4),Ie=[["M",ro,ro],["L",ve-2*ro,ro],["L",ve-2*ro,Oe-ke],["L",ve/2,Oe-2*ro],["L",ro,Oe-ke],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Zpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?"transparent":P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=6,Ie=ve-2*ro,Ye=[["M",Ie,ro],["C",Ie-ke,ro,Ie-ke,ke],["",Ie-ke,(Oe-ke)/2],["L",Ie-2*ke,Oe/2],["L",Ie-ke,(Oe+ke)/2],["L",Ie-ke,Oe-2*ro-ke],["C",Ie-ke,Oe-2*ro,Ie,Oe-2*ro],["",Ie,Oe-2*ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ye),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},Qpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?"transparent":P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=6,Ie=[["M",ro,ro],["C",ke,ro,ke,ke],["",ke,(Oe-ke)/2],["L",2*ke,Oe/2],["L",ke,(Oe+ke)/2],["L",ke,Oe-2*ro-ke],["C",ke,Oe-2*ro,ro,Oe-2*ro],["",ro,Oe-2*ro]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ie),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},qpe=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.stroke,v=d===void 0?Ac.stroke:d,g=r.label,b=g===void 0?Ac.label:g,P=r.fill,I=P===void 0?Ac.fill:P,V=r.fontFill,K=V===void 0?Ac.fontFill:V,ae=r.fontSize,ue=ae===void 0?Ac.fontSize:ae,ve=o.width,Oe=o.height,ke=ve-2*ro,Ie=Oe-2*ro,Ye=6,Ze=[["M",ro,ro],["L",ke-Ye,ro],["C",ke,ro,ke,Ye],["",ke,Oe/2],["L",ke,Ie-Ye],["C",ke,Ie,ke-Ye,Ie],["",ke-Ye,Ie],["L",Ye,Ie],["C",ro,Ie,ro,Ie-Ye],["",ro,Ie-Ye],["Z"]];return pe.a.createElement("svg",{viewBox:"0 0 ".concat(ve," ").concat(Oe),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("path",{d:Vp(Ze),fill:I,stroke:v}),pe.a.createElement("path",{d:"M ".concat(ro,",").concat(Ye," L ").concat(ke-1," ").concat(Ye," "),fill:I,stroke:v}),pe.a.createElement("path",{d:"M ".concat(Ye,",").concat(ro," L ").concat(Ye," ").concat(Ie," "),fill:I,stroke:v}),pe.a.createElement("text",{x:ve/2,y:Oe/2,fill:K,textAnchor:"middle",alignmentBaseline:"middle",fontSize:ue},b),"Sorry, your browser does not support inline SVG.")},eve=function(i){var c=i.size,o=c===void 0?{width:pv,height:sp}:c,t=i.data,r=t===void 0?{}:t,d=r.label,v=d===void 0?Ac.label:d,g=r.fontFill,b=g===void 0?Ac.fontFill:g,P=r.fontSize,I=P===void 0?Ac.fontSize:P,V=o.width,K=o.height,ae=2;return pe.a.createElement("svg",{viewBox:"0 0 ".concat(V/ae," ").concat(K/ae),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%"},pe.a.createElement("text",{x:V/(2*ae),y:K/(2*ae),fill:b,textAnchor:"middle",alignmentBaseline:"middle",fontSize:I},v),"Sorry, your browser does not support inline SVG.")},C$=function(i){return{position:{name:i},attrs:{circle:{r:4,magnet:!0,stroke:"#31d0c6",strokeWidth:2,fill:"#fff",style:{visibility:"hidden"}}},zIndex:10}},Lle=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["top","right","bottom","left"];return{items:i.map(function(c){return{group:c,id:ug()}}),groups:{top:C$("top"),right:C$("right"),bottom:C$("bottom"),left:C$("left")}}},tve=function(i){return(i||[]).map(function(c){var o=c.name,t=c.popover,r=c.label,d=r===void 0?"":r,v=c.width,g=v===void 0?sp:v,b=c.height,P=b===void 0?sp:b,I=c.ports,V=c.parentKey,K=ug();return{id:K,renderKey:o,name:o,label:d,popoverContent:t,width:g,height:P,ports:I||Lle(),originData:Object.assign({},c),isCustom:!0,parentKey:V}})},nve=function(i){return la(void 0,void 0,void 0,Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=tve(i),r.abrupt("return",[].concat(Object(Bs.a)(o),Object(Bs.a)(Nle.map(function(d){var v=d.name,g=d.ports,b=d.width,P=b===void 0?pv:b,I=d.height,V=I===void 0?sp:I,K=d.label,ae=K===void 0?"":K;return{id:ug(),renderKey:v,name:v,label:ae,popoverContent:function(){return v},width:P,height:V,ports:Lle(g)}}))));case 2:case"end":return r.stop()}},c)}))},Fle=function(i){var c=i?Object(Gh.isArray)(i)?i:[i]:[],o=[];c.forEach(function(d){o=o.concat(d.nodes.map(function(v){return Object.assign(Object.assign({},v),{parentKey:d.key})}))}),o.length&&jle({registerNode:o});var t=Z4("graphConfig"),r=Z4("registerNode");!t||!(r==null?void 0:r.length)||r.forEach(function(d){var v=d.name,g=d.component;t.setNodeRender(v,g)})},rve=function(i){Fle(),i.nodeRender.get("Terminal")||Nle.forEach(function(c){i.setNodeRender(c.name,_e["".concat(c.name.replace(/\s+/g,""),"Node")])})},Vp=function(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!i.length)return null;var t="";return i.forEach(function(r){var d=Object(we.a)(r,5),v=d[0],g=d[1],b=d[2],P=d[3],I=d[4];t+=Object(Gh.isNumber)(b)?" ".concat(v," ").concat(g+c," ").concat(b+o):" ".concat(v),I&&(t+=" ".concat(P+c," ").concat(I+o))}),t},Ule=l("gK9i"),Ble=Ule.a.Panel,ave=function(i){var c=i.x6NodeFactory,o=i.dndOptions,t=i.state,r=i.prefixClz,d=i.defaultActiveKey,v=d===void 0?["official"]:d,g=i.showOfficial,b=g===void 0?!0:g,P=i.registerNode?Object(Gh.isArray)(i.registerNode)?i.registerNode:[i.registerNode]:[],I=Ep(),V=I.graphProvider,K=I.modelService,ae=I.commandService,ue=pe.a.useState(),ve=Object(we.a)(ue,2),Oe=ve[0],ke=ve[1],Ie=pe.a.useState(),Ye=Object(we.a)(Ie,2),Ze=Ye[0],et=Ye[1];pe.a.useEffect(function(){V.getGraphInstance().then(function(Yt){et(Yt)})});var yt=void 0;V.getGraphOptions().then(function(Yt){yt=Yt});var jt=Object(fe.useCallback)(function(Yt){return la(void 0,void 0,void 0,Object(Z.a)().mark(function En(){var or,$r,vr,Er,Hr;return Object(Z.a)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:return $r=Yt.ports,vr=Object.assign(Object.assign({},Yt),{id:"node-".concat(ug()),zIndex:10,ports:Object.assign(Object.assign({},$r),{items:(or=$r.items)===null||or===void 0?void 0:or.map(function(ca){return Object.assign(Object.assign({},ca),{id:ug()})})})}),Er={nodeConfig:vr},Fr.next=5,ae.executeCommand(Pf.ADD_NODE.id,Er);case 5:Hr=Z4("onAddNode"),typeof Hr=="function"&&Hr(vr);case 7:case"end":return Fr.stop()}},En)}))},[ae]);pe.a.useEffect(function(){if(!!Ze){var Yt=new Q.Dnd(Object.assign(Object.assign({scaled:!1,animation:!1},o),{target:Ze,validateNode:function(or){return la(void 0,void 0,void 0,Object(Z.a)().mark(function $r(){var vr;return Object(Z.a)().wrap(function(Hr){for(;;)switch(Hr.prev=Hr.next){case 0:return vr=Object.assign(Object.assign({},or.getData()),or.getPosition()),Hr.next=3,jt(vr);case 3:return Hr.abrupt("return",!1);case 4:case"end":return Hr.stop()}},$r)}))}}));ke(Yt)}},[ae,o,Ze,K,jt]);var Ft=pe.a.useCallback(function(Yt){return function(En){if(!(!Ze||!Oe||!yt)){var or=yt.nodeTypeParser(Yt),$r=Yt.width,vr=$r===void 0?180:$r,Er=Yt.height,Hr=Er===void 0?40:Er,Aa=yt.nodeRender.get(or),Fr=aM(Aa,ae,K),ca={data:Yt,width:vr,height:Hr,view:yt.graphId,component:Fr},fa=c?c(ca):ple(ca);Oe.start(fa,En.nativeEvent)}}},[ae,Oe,Ze,yt,K,c]),Ht=pe.a.useCallback(function(){var Yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Yt.map(function(En){var or=En.popoverContent;return pe.a.createElement(Doe,{item:En,key:En.id,onMouseDown:Ft(En),popoverContent:or,prefixClz:r,modelService:K,commandService:ae,graphConfig:yt})})},[ae,yt,K,Ft,r]),Gt=t.nodeList.filter(function(Yt){return!Yt.isCustom}),Jt=t.searchList.filter(function(Yt){return!Yt.isCustom}),mn=function(En){return t.nodeList.filter(function(or){return or.isCustom&&or.parentKey===En})},vn=function(En){return t.searchList.filter(function(or){return or.isCustom&&or.parentKey===En})};return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(r,"-body")},pe.a.createElement(Ule.a,{defaultActiveKey:v,style:{border:"none"}},b&&pe.a.createElement(Ble,{header:"\u901A\u7528\u8282\u70B9",key:"official",style:{border:"none"}},!t.keyword&&pe.a.createElement("div",{className:"".concat(r,"-official")},Ht(Gt)),t.searchList.length>0&&pe.a.createElement("div",{className:"".concat(r,"-official")},Ht(Jt))),(P==null?void 0:P.length)>0&&P.map(function(Yt){return!Yt.hidden&&Yt.nodes.length>0&&pe.a.createElement(Ble,{header:Yt.title,key:Yt.key,style:{border:"none"}},!t.keyword&&pe.a.createElement("div",{className:"".concat(r,"-custom")},Ht(mn(Yt.key))),t.searchList.length>0&&pe.a.createElement("div",{className:"".concat(r,"-custom")},Ht(vn(Yt.key))))})),t.keyword&&t.searchList.length===0&&pe.a.createElement(Vw.a,{style:{marginTop:"48px"}})))},ive=function(i){var c=i.prefixClz,o=i.onKeywordChange,t=VE(),r=t.propsProxy,d=r.getValue();return pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{className:"".concat(c,"-header"),style:Object.assign({zIndex:1},i.style)},d.header&&pe.a.isValidElement(d.header)&&d.header,pe.a.createElement("div",{className:"".concat(c,"-header-search")},pe.a.createElement(_s.a,{placeholder:"\u641C\u7D22\u7EC4\u4EF6",allowClear:!0,onChange:function(g){return o(g.target.value)},style:{width:"100%",border:0}}))))},E$;(function(u){u.id="NODE_PANEL_DATA"})(E$||(E$={}));var ove=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;return la(void 0,void 0,void 0,Object(Z.a)().mark(function o(){var t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return t=i.filter(function(v){var g,b;return v.isDirectory||((g=v.label)===null||g===void 0?void 0:g.includes(c))||((b=v.name)===null||b===void 0?void 0:b.includes(c))}),d.abrupt("return",t);case 2:case"end":return d.stop()}},o)}))},sve=function(i){var c=i.searchService,o=c===void 0?ove:c,t=i.registerNode?Object(Gh.isArray)(i.registerNode)?i.registerNode:[i.registerNode]:[],r=[];t.forEach(function(ae){r=r.concat(ae.nodes.map(function(ue){return Object.assign(Object.assign({},ue),{parentKey:ae.key})}))});var d=Ep(),v=d.modelService,g=yP({searchList:[],nodeList:[],defaultExpandAll:!1,keyword:""}),b=Object(we.a)(g,3),P=b[0],I=b[1],V=b[2];pe.a.useEffect(function(){v.findDeferredModel(E$.id)||v.registerModel({id:E$.id,modelFactory:function(){return V},watchChange:function(ue){return la(void 0,void 0,void 0,Object(Z.a)().mark(function ve(){var Oe,ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ze.next=2,ne.GRAPH_META.getModel(v);case 2:return Oe=Ze.sent,ke=function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function yt(){var jt;return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:return Ht.next=2,nve(r);case 2:return jt=Ht.sent,Ht.abrupt("return",{listData:jt});case 4:case"end":return Ht.stop()}},yt)}))},Ie=Oe.watch(function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function et(){var yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.next=2,ke();case 2:yt=Ft.sent,ue.setValue({nodeList:yt.listData,defaultExpandAll:!1,keyword:"",searchList:[]});case 4:case"end":return Ft.stop()}},et)}))}),Ze.abrupt("return",ou.create(function(){Ie.dispose()}));case 6:case"end":return Ze.stop()}},ve)}))}})},[]);var K=pe.a.useCallback(function(ae){return la(void 0,void 0,void 0,Object(Z.a)().mark(function ue(){var ve;return Object(Z.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(o){ke.next=2;break}return ke.abrupt("return");case 2:if(!ae){ke.next=9;break}return ke.next=5,o(P.nodeList,ae);case 5:ve=ke.sent,I(function(Ie){Ie.keyword=ae,Ie.searchList=ve}),ke.next=10;break;case 9:I(function(Ie){Ie.keyword="",Ie.searchList=[]});case 10:case"end":return ke.stop()}},ue)}))},[o,P.nodeList,I]);return{state:P,setState:I,onKeywordChange:K}},cve=function(i){var c=i.cell,o=i.data,t=o.label,r=o.stroke,d=o.fill,v=o.fontSize,g=o.fontFill,b=o.width,P=b===void 0?200:b,I=o.isCollapsed,V=I===void 0?!1:I,K=Ep(),ae=function(){K.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:c.id,isCollapsed:!1,collapsedSize:{width:P,height:40}})},ue=function(){K.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:c.id,isCollapsed:!0,collapsedSize:{width:P,height:40},gap:3})};return pe.a.createElement("div",{className:"xflow-group-node",style:{borderColor:r,backgroundColor:d,fontSize:v,color:g}},pe.a.createElement("div",{className:"xflow-group-header"},pe.a.createElement("div",{className:"header-left"},t),pe.a.createElement("div",{className:"header-right"},V&&pe.a.createElement(RL.a,{onClick:ae}),!V&&pe.a.createElement(DL.a,{onClick:ue}))))},lve=function(i){i.setNodeRender(kpe,cve)},Vle;(function(u){u.id="FLOWCHART_PANEL_DATA"})(Vle||(Vle={}));var uve=function(i){var c=i.prefixClz,o=i.position,t=o===void 0?{width:240,top:0,bottom:0,left:0}:o,r=i.showHeader,d=r===void 0?!0:r,v=bv(i,["prefixClz","position","showHeader"]),g=t.width,b=g===void 0?200:g,P=gle(i),I=P.headerStyle,V=P.bodyStyle,K=sve(i),ae=K.state,ue=K.onKeywordChange;return pe.a.createElement(pe.a.Fragment,null,d&&pe.a.createElement(Bb,Object.assign({},v,{position:{top:0,left:0,height:Ile,width:b}}),pe.a.createElement(ive,Object.assign({},i,{state:ae,style:I,onKeywordChange:ue}))),pe.a.createElement(Bb,Object.assign({className:"".concat(O$,"-nodes")},v,{position:Object.assign(Object.assign({},t),{top:d?Ile:0})}),pe.a.createElement(ave,Object.assign({},i,{state:ae,style:V}))))},lge=function(i){Fle(Object(Gh.get)(i,"registerNode"));var c=t0("node-panel"),o=Object(fe.useState)(!1),t=Object(we.a)(o,2),r=t[0],d=t[1],v=i.show,g=v===void 0?!0:v,b=i.position,P=b===void 0?{width:240,top:40,bottom:0,left:0}:b,I=bv(i,["show","position"]);if(!g)return null;var V=P.width,K=V===void 0?200:V,ae=P.left;return pe.a.createElement(Bb,{className:O$,position:Object.assign(Object.assign({},P),{left:r?-K:ae})},pe.a.createElement("div",{className:"".concat(O$,"-wrapper")},pe.a.createElement(Bb,Object.assign({className:c},I,{position:{top:0,bottom:0,left:0,right:0}}),pe.a.createElement(uve,Object.assign({},i,{prefixClz:c,position:P}))),pe.a.createElement("div",{className:"".concat(O$,"-icon"),style:{top:21,right:r?-20:-10,borderRadius:r?"0 50% 50% 0":"50%",borderLeft:r?"none":""},onClick:function(){d(!r)}},r?pe.a.createElement(Ale.a,null):pe.a.createElement(kle.a,null))))},dve="flowchart-connecting-edge",fve="ant",x$;(function(u){u.EVENT_NAME="ADD_FLOWCHART_EDGE_CMD_EVENT"})(x$||(x$={}));var zle={attrs:{line:{stroke:"#A2B1C3",targetMarker:{name:"block",width:12,height:8},strokeDasharray:"5 5",strokeWidth:1}}},pve=G.Edge.registry.register("xflow",G.Edge.define({zIndex:1,highlight:!0,name:dve,label:"",anchor:{name:"midSide",args:{dx:10}},attrs:zle.attrs,data:{label:""}}),!0),vve=vne(function(u,i){var c=i.getValue(),o=c.config,t=o===void 0?{}:o,r=c.useConfig,d=c.mode,v=d===void 0?"edit":d,g=c.showPortsOnNodeSelected,b=g===void 0?!1:g,P=c.edgeConfig,I=P===void 0?{}:P;u.setEdgeTypeParser(function(V){return V==null?void 0:V.renderKey}),jle(Object.assign(Object.assign({},i.getValue()),{graphConfig:u})),rve(u),lve(u),u.setX6Config(ud()({grid:!0,history:!0,resizing:{enabled:!0,minWidth:sp,minHeight:sp,preserveAspectRatio:function(K){var ae=K.data;return jpe.includes(ae.name)}},snapline:{enabled:!0},connecting:{router:"manhattan",connector:{name:"rounded",args:{radius:8}},anchor:"center",connectionPoint:"anchor",allowBlank:!1,snap:{radius:20},createEdge:function(){var K=this,ae=new pve({});return this.once("edge:connected",function(ue){var ve=ue.edge,Oe=ue.isNew;if(Oe&&ve&&ve.isEdge()&&ae===ve){var ke=ve.getTargetCell();if(ke&&ke.isNode()){var Ie=ve.getTargetPortId(),Ye=ve.getSourcePortId(),Ze=ve.getSourceCellId(),et=ve.getTargetCellId(),yt=typeof I=="function"?I(ve):I;K.trigger(x$.EVENT_NAME,Object.assign({targetPortId:Ie,sourcePortId:Ye,source:Ze,target:et,edge:ve,tempEdgeId:ae.id},ud()(zle,yt)))}}}),ae},validateEdge:function(K){var ae,ue=K.edge;return!!((ae=ue==null?void 0:ue.target)===null||ae===void 0?void 0:ae.port)},validateMagnet:function(){return!0},validateConnection:function(K){var ae=K.sourceView,ue=K.targetView,ve=K.targetMagnet;if(ae===ue)return!1;var Oe=ue.cell;if(ve){var ke=ve.getAttribute("port"),Ie=Oe.getPort(ke);return!(Ie&&Ie.connected)}}},highlighting:{nodeAvailable:{name:"className",args:{className:"available"}},magnetAvailable:{name:"className",args:{className:"available"}},magnetAdsorbed:{name:"className",args:{className:"adsorbed"}}},onPortRendered:function(K){var ae=K.port,ue=K.contentSelectors,ve=ue&&ue.content,Oe=ae.group,ke=tr()("xflow-port",{connected:ae.connected});ve&&Jo.a.render(pe.a.createElement(bt.a,{prefixCls:fve},pe.a.createElement(Ni.a,{title:ae.tooltip,placement:Oe},pe.a.createElement("span",{className:ke}))),ve)}},t)),u.setEvents([{eventName:"node:selected",callback:function(){v==="edit"&&Boe(!1)}},{eventName:"edge:dblclick",callback:function(K){Tpe(K)}},{eventName:"edge:mouseleave",callback:function(K,ae){Ape(K,ae)}},{eventName:"node:mouseenter",callback:function(K){v==="edit"&&Boe(!0,K,b)}},{eventName:"node:mouseleave",callback:function(K){Boe(!1,K)}},{eventName:"node:moved",callback:function(K,ae){Ope(K,ae)}},{eventName:"node:resized",callback:function(K,ae){Cpe(K,ae)}}]),typeof r=="function"&&r(u)}),Voe=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.toDispose=new Of,this.registerHookHub=function(){return la(i,void 0,void 0,Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",ou.create(function(){}));case 1:case"end":return t.stop()}},c)}))},this.registerHook=function(c){return la(i,void 0,void 0,Object(Z.a)().mark(function o(){var t=this,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=new Of,d=[c.afterGraphInit.registerHook({name:"call add edge to replace temp edge",handler:function(P){return la(t,void 0,void 0,Object(Z.a)().mark(function I(){var V=this,K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:K=P.commandService,ae=P.graph,ae.on(x$.EVENT_NAME,function(Oe){return la(V,void 0,void 0,Object(Z.a)().mark(function ke(){var Ie,Ye,Ze,et,yt,jt,Ft,Ht;return Object(Z.a)().wrap(function(Jt){for(;;)switch(Jt.prev=Jt.next){case 0:return Ie=Oe.edge,Ye=bv(Oe,["edge"]),Ze=Ye.tempEdgeId,et=bv(Ye,["tempEdgeId"]),yt={edgeConfig:Object.assign(Object.assign({},et),{source:{cell:Ye.source,port:Ye.sourcePortId},target:{cell:Ye.target,port:Ye.targetPortId},zIndex:1,data:Object.assign({},et)})},Jt.next=5,K.executeCommand(Up.ADD_EDGE.id,yt);case 5:return Jt.next=7,K.executeCommand(Up.DEL_EDGE.id,{edgeConfig:{id:Ze}});case 7:return jt=ae.getCellById(Ye.source),Ft=ae.getCellById(Ye.target),Jt.next=11,K.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:Object.assign(Object.assign({},jt.data),{incomingEdges:ae.getIncomingEdges(jt),outgoingEdges:ae.getOutgoingEdges(jt)})});case 11:return Jt.next=13,K.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:Object.assign(Object.assign({},Ft.data),{incomingEdges:ae.getIncomingEdges(Ft),outgoingEdges:ae.getOutgoingEdges(Ft)})});case 13:Ht=Z4("onAddEdge"),typeof Ht=="function"&&Ht(yt.edgeConfig),Oe.edge.remove();case 16:case"end":return Jt.stop()}},ke)}))});case 2:case"end":return ve.stop()}},I)}))}})],r.pushAll(d),g.abrupt("return",ou.create(function(){}));case 4:case"end":return g.stop()}},o)}))}});Voe=ls([Object(co.singleton)({contrib:Tm})],Voe);var uge=function(){var i=nm(),c=pe.a.useMemo(function(){return{CONFIG_TYPE:"FLOWCHART_EXTENSION",getConfig:function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function t(){return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:case"end":return d.stop()}},t)}))}}},[]);return pe.a.useEffect(function(){var o=i.addExtension({config:c,createModule:hve});return i.addContainerClassNames("flowchart-extension-container"),function(){o.dispose()}},[c,i]),null},hve=function(){return Object(co.Module)(function(i){i(Voe)})},gve=function(i){var c=i.position,o=c===void 0?{top:40,left:240,right:240,bottom:0}:c,t=vve(i),r=Ep();return Object(fe.useEffect)(function(){r&&_pe(r)},[r]),pe.a.createElement(X2,Object.assign({},i,{config:t,position:o}),i.children)};gve.defaultProps={isXFlowCanvas:!0};var mve=function(i){return la(void 0,void 0,void 0,Object(Z.a)().mark(function c(){var o,t,r,d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(t=i.targetType,r=(o=i.targetData)===null||o===void 0?void 0:o.isGroup,d={tabs:[{name:"\u8BBE\u7F6E",groups:[{name:"groupName",controls:[{label:"\u5206\u7EC4\u540D",name:"group-service",shape:"group-service",placeholder:"\u5206\u7EC4\u540D\u79F0"}]}]}]},v={tabs:[{name:"\u8BBE\u7F6E",groups:[{name:"groupName",controls:[{label:"\u8282\u70B9\u540D",name:"node-service",shape:"node-service",placeholder:"\u8282\u70B9\u540D\u79F0"}]}]}]},g={tabs:[{name:"\u8BBE\u7F6E",groups:[{name:"groupName",controls:[{label:"\u8FB9",name:"edge-service",shape:"edge-service",placeholder:"\u8FB9\u540D\u79F0"}]}]}]},!r){P.next=7;break}return P.abrupt("return",d);case 7:if(t!=="node"){P.next=9;break}return P.abrupt("return",v);case 9:if(t!=="edge"){P.next=11;break}return P.abrupt("return",g);case 11:return P.abrupt("return",{tabs:[{name:"\u8BBE\u7F6E",groups:[{name:"groupName",controls:[{label:"",name:"canvas-service",shape:"canvas-service"}]}]}]});case 12:case"end":return P.stop()}},c)}))};function _ve(u){var i=Object(fe.useState)({loading:!0}),c=Object(we.a)(i,2),o=c[0],t=c[1],r=Object(fe.useCallback)(function(){u().then(function(d){t({loading:!1,data:d})},function(d){t({loading:!1}),console.error(d)})},[u]);return Object(fe.useEffect)(function(){r()},[r]),o}var zoe=function(i){var c=i.controlSchema,o=i.children,t=i.type,r=t===void 0?"node":t,d=VE(),v=d.commandService,g=d.modelService,b=Object(fe.useCallback)(function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Oe(){var ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ze.next=2,ne.SELECTED_NODE.useValue(g);case 2:return ke=Ze.sent,Ie=ke.data,Ze.abrupt("return",Ie);case 5:case"end":return Ze.stop()}},Oe)}))},[g]),P=Object(fe.useCallback)(function(){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Oe(){var ke,Ie;return Object(Z.a)().wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Ze.next=2,ne.SELECTED_CELL.useValue(g);case 2:return ke=Ze.sent,Ie=ke.getData(),Ze.abrupt("return",Object.assign({id:ke.id},Ie));case 5:case"end":return Ze.stop()}},Oe)}))},[g]),I=_ve(r==="edge"?P:b),V=I.data,K=I.loading;pe.a.useEffect(function(){v.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(ke,Ie){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ye(){return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.abrupt("return",{err:null,data:Ie,meta:ke});case 1:case"end":return et.stop()}},Ye)}))}})},[v]);var ae=function(ke){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ie(){var Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,b();case 2:return Ye=yt.sent,Ze=Object.assign(Object.assign({},Ye),ke),yt.next=6,v.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:Ze});case 6:Q4({type:"update:node",config:Ze});case 7:case"end":return yt.stop()}},Ie)}))},ue=function(ke){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"line",Ye=arguments.length>2?arguments[2]:void 0;return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ze(){var et,yt,jt;return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:return Ht.next=2,P();case 2:return yt=Ht.sent,jt=Object.assign(Object.assign(Object.assign({},yt),Ye?ke[Ye]:ke),{attrs:Object.assign(Object.assign({},yt.attrs),Object(qc.a)({},Ie,Object.assign(Object.assign({},(et=yt.attrs)===null||et===void 0?void 0:et[Ie]),Ye?ke[Ye]:ke)))}),Ht.next=6,v.executeCommand(Up.UPDATE_EDGE.id,{edgeConfig:jt});case 6:Q4({type:"update:edge",config:jt});case 7:case"end":return Ht.stop()}},Ze)}))},ve=function(ke){return la(void 0,void 0,void 0,Object(Z.a)().mark(function Ie(){var Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,b();case 2:return Ye=yt.sent,Ze=Object.assign(Object.assign({},Ye),ke),yt.next=6,v.executeCommand(Pf.UPDATE_NODE.id,{nodeConfig:Ze});case 6:Q4({type:"update:group",config:Ze});case 7:case"end":return yt.stop()}},Ie)}))};return K?null:pe.a.createElement(zw,{schema:c},function(){return o(Object.assign({},V),{updateNode:ae,updateEdge:ue,updateGroup:ve})})},Ih="flowchart-editor",S$=24,Hle={attrs:{line:{stroke:"#A2B1C3",strokeWidth:1},text:{fill:"#000",fontSize:12,textAnchor:"middle",textVerticalAnchor:"middle"}}},w$={width:12,height:8,name:"block"},T$={width:0,height:0,name:""},yve={target:{sourceMarker:T$,targetMarker:w$},source:{sourceMarker:w$,targetMarker:T$},all:{sourceMarker:w$,targetMarker:w$},none:{sourceMarker:T$,targetMarker:T$}},bve={solid:[0,0],dash:[5,5]},Ove=function(i){var c=i.label,o=c===void 0?"\u6807\u7B7E":c,t=i.value,r=i.onChange;return pe.a.createElement("div",{className:"group"},pe.a.createElement("label",null,o),pe.a.createElement(_s.a,{value:t,style:{height:S$},onChange:function(v){r==null||r(v.target.value)}}))},A$=Ove,Cve=l("sLDj"),Eve=function(i){var c=i.label,o=i.value,t=o===void 0?"":o,r=i.onChange,d=i.getContainer,v=Object(fe.useState)(!1),g=Object(we.a)(v,2),b=g[0],P=g[1],I=Object(fe.useRef)(t),V=Object(fe.useRef)(),K=Ep(),ae=K.graphProvider,ue=Object(fe.useRef)();ae.getGraphOptions().then(function(Ie){ue.current=Ie});var ve=function(){return pe.a.createElement("div",{className:"".concat(Ih,"-pick-color-container")},pe.a.createElement("div",{className:"".concat(Ih,"-popover")},pe.a.createElement(Cve.SketchPicker,{onChange:function(Ze){I.current=Ze.hex}}),pe.a.createElement("div",{className:"foolter"},pe.a.createElement(it.a,{onClick:function(){P(!1)}},"\u53D6\u6D88"),pe.a.createElement(it.a,{type:"primary",onClick:function(){r==null||r(I.current),P(!1)}},"\u786E\u8BA4"))))},Oe=function(Ye,Ze){var et=document.getElementsByClassName(Ze);if(et.length===1)return et[0];for(var yt=null,jt=Ye.parentElement;!yt;){var Ft=jt.getElementsByClassName(Ze);(Ft==null?void 0:Ft.length)>0&&(yt=Ft[0]),jt=jt.parentElement}return yt},ke=function(){var Ye,Ze=(Ye=d==null?void 0:d())!==null&&Ye!==void 0?Ye:Oe(V.current,"flowchart-editor-panel-body");return Object(Vs.createPortal)(pe.a.createElement(ve,null),Ze)};return pe.a.createElement("div",{className:"group",ref:V},c&&pe.a.createElement("label",null,c),pe.a.createElement("div",{className:"".concat(Ih,"-color-container"),onClick:function(){P(!0)}},pe.a.createElement("div",{className:"".concat(Ih,"-color"),style:{backgroundColor:t,height:"100%"}})),b&&ke())},jO=Object(fe.memo)(Eve,function(u,i){return u.label===i.label&&u.value===i.value}),xve=function(i){var c=i.label,o=i.value,t=i.onChange,r=i.min,d=i.width;return pe.a.createElement("div",{className:"group"},c&&pe.a.createElement("label",null,c),pe.a.createElement(Kt.a,{value:o,min:r,style:{width:d,height:S$},onChange:function(g){t==null||t(g)}}))},q4=xve,k$=function(i){var c=i.value,o=i.onChangeItem,t=i.addonBefore;return pe.a.createElement("div",{className:"addon-before-group"},pe.a.createElement(Kt.a,{value:c,style:{height:S$,border:"none"},onChange:function(d){o(d)}}),pe.a.createElement("span",null,t))},Sve=function(i){var c=i.label,o=c===void 0?"\u4F4D\u7F6E":c,t=i.x,r=i.y,d=i.onChange;return pe.a.createElement("div",{className:"group"},pe.a.createElement("label",null,o),pe.a.createElement("div",{className:"split"},pe.a.createElement(k$,{addonBefore:"X",value:t,onChangeItem:function(g){d==null||d("x",g)}}),pe.a.createElement(k$,{addonBefore:"Y",value:r,onChangeItem:function(g){d==null||d("y",g)}})))},Hoe=Sve,wve=function(i){var c=i.width,o=i.height,t=i.label,r=t===void 0?"\u5C3A\u5BF8":t,d=i.onChange;return pe.a.createElement("div",{className:"group"},pe.a.createElement("label",null,r),pe.a.createElement("div",{className:"split"},pe.a.createElement(k$,{addonBefore:"W",value:c,onChangeItem:function(g){d==null||d("width",g)}}),pe.a.createElement(k$,{addonBefore:"H",value:o,onChangeItem:function(g){d==null||d("height",g)}})))},Goe=wve,Tve=function(i){var c=i.label,o=c===void 0?"\u7BAD\u5934":c,t=i.value,r=i.onChange,d=i.options,v=d===void 0?[]:d,g=i.width;return pe.a.createElement("div",{className:"group"},pe.a.createElement("label",null,o),pe.a.createElement(jl.a,{size:"small",value:t,style:{width:g,height:S$},getPopupContainer:function(P){return P.parentNode},optionFilterProp:"children",onChange:function(P){r==null||r(P)},filterOption:function(P,I){var V=I.label,K=V===void 0?"":V;return typeof K=="string"?K.toLowerCase().indexOf(P.toLowerCase())>=0:K.toString().indexOf(P.toLowerCase())>=0},options:v}))},$oe=Tve,dge={InputFiled:A$,ColorPicker:jO,InputNumberFiled:q4,Size:Goe,Position:Hoe,SelectField:$oe},Ave=function(i){var c=i.config,o=i.plugin,t=o===void 0?{}:o,r=t.updateNode,d=Object(fe.useState)(Object.assign(Object.assign({},Ac),c)),v=Object(we.a)(d,2),g=v[0],b=v[1],P=function(V,K){b(Object.assign(Object.assign({},g),Object(qc.a)({},V,K))),r(Object(qc.a)({},V,K))};return Object(fe.useEffect)(function(){b(Object.assign(Object.assign({},Ac),c))},[c]),pe.a.createElement("div",{className:"".concat(Ih,"-panel-body")},pe.a.createElement("div",{className:"".concat(Ih,"-panel-group")},pe.a.createElement("h5",null,"\u5185\u5BB9"),pe.a.createElement(A$,{label:"\u6807\u9898",value:g.label,onChange:function(V){P("label",V)}})),pe.a.createElement("div",{className:"".concat(Ih,"-panel-group")},pe.a.createElement("h5",null,"\u6837\u5F0F"),pe.a.createElement(Hoe,{x:g.x,y:g.y,onChange:function(V,K){P(V,K)}}),pe.a.createElement(Goe,{width:g.width,height:g.height,onChange:function(V,K){P(V,K)}}),pe.a.createElement(jO,{label:"\u586B\u5145",value:g.fill,onChange:function(V){P("fill",V)}}),pe.a.createElement(jO,{label:"\u8FB9\u6846",value:g.stroke,onChange:function(V){P("stroke",V)}}),pe.a.createElement("div",{className:"".concat(Ih,"-node-text-style")},pe.a.createElement(q4,{label:"\u5B57\u53F7",value:g.fontSize,width:68,onChange:function(V){P("fontSize",V)}}),pe.a.createElement(jO,{value:g.fontFill,onChange:function(V){P("fontFill",V)}}))))},Gle=function(i){return pe.a.createElement(zoe,Object.assign({},i),function(c,o){return pe.a.createElement(Ave,Object.assign({},i,{plugin:o,config:c}))})},kve=function(i){var c=i.config,o=i.plugin,t=o===void 0?{}:o,r=t.updateEdge,d=Object(fe.useState)(Object.assign(Object.assign({},Hle),c)),v=Object(we.a)(d,2),g=v[0],b=v[1];Object(fe.useEffect)(function(){b(Object.assign(Object.assign({},Hle),c))},[c]);var P=function(ue){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"line",Oe,ke=g.attrs,Ie=ke===void 0?{}:ke;return(Oe=Ie[ve])===null||Oe===void 0?void 0:Oe[ue]},I=function(){var ue,ve,Oe,ke,Ie,Ye=g.attrs,Ze=Ye===void 0?{}:Ye,et=Ze.line,yt=et===void 0?{}:et;return((ue=yt.sourceMarker)===null||ue===void 0?void 0:ue.name)&&((ve=yt.targetMarker)===null||ve===void 0?void 0:ve.name)?"all":!((Oe=yt.sourceMarker)===null||Oe===void 0?void 0:Oe.name)&&!((ke=yt.targetMarker)===null||ke===void 0?void 0:ke.name)?"none":((Ie=yt.sourceMarker)===null||Ie===void 0?void 0:Ie.name)?"source":"target"},V=function(){var ue=g.attrs,ve=ue===void 0?{}:ue,Oe=ve.line,ke=Oe===void 0?{}:Oe;return ke.strokeDasharray?"dash":"solid"},K=function(ue,ve){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"line",ke,Ie;if(ue==="arrow")b(Object.assign(Object.assign({},g),{attrs:Object.assign(Object.assign({},g.attrs),Object(qc.a)({},Oe,Object.assign(Object.assign({},(ke=g.attrs)===null||ke===void 0?void 0:ke[Oe]),ve)))}));else{var Ye;b(Object.assign(Object.assign({},g),(Ye={},Object(qc.a)(Ye,ue,ve),Object(qc.a)(Ye,"attrs",Object.assign(Object.assign({},g.attrs),Object(qc.a)({},Oe,Object.assign(Object.assign({},(Ie=g.attrs)===null||Ie===void 0?void 0:Ie[Oe]),Object(qc.a)({},ue,ve))))),Ye)))}r(Object(qc.a)({},ue,ve),Oe,ue==="arrow"?"arrow":"")};return pe.a.createElement("div",{className:"".concat(Ih,"-panel-body")},pe.a.createElement("div",{className:"".concat(Ih,"-panel-group")},pe.a.createElement("h5",null,"\u5185\u5BB9"),pe.a.createElement(A$,{label:"\u6807\u7B7E",value:g.label,onChange:function(ue){K("label",ue)}})),pe.a.createElement("h5",{style:{marginBottom:12}},"\u6837\u5F0F"),pe.a.createElement("div",{className:"".concat(Ih,"-panel-group"),style:{marginBottom:0}},pe.a.createElement("h5",null,"\u7EBF"),pe.a.createElement($oe,{label:"\u7BAD\u5934",value:I(),width:"100%",options:[{label:"\u6B63\u5411",value:"target"},{label:"\u9006\u5411",value:"source"},{label:"\u53CC\u5411",value:"all"},{label:"\u65E0",value:"none"}],onChange:function(ue){K("arrow",yve[ue],"line")}}),pe.a.createElement("div",{className:"".concat(Ih,"-edge-stroke-style")},pe.a.createElement($oe,{label:"\u7EBF\u5F62",width:68,value:V(),options:[{label:"\u5B9E\u7EBF",value:"solid"},{label:"\u865A\u7EBF",value:"dash"}],onChange:function(ue){K("strokeDasharray",bve[ue],"line")}}),pe.a.createElement(q4,{value:P("strokeWidth"),min:1,onChange:function(ue){K("strokeWidth",ue,"line")}})),pe.a.createElement(jO,{label:"\u8FB9\u6846",value:P("stroke"),onChange:function(ue){K("stroke",ue,"line")}})),pe.a.createElement("div",{className:"".concat(Ih,"-panel-group")},pe.a.createElement("h5",null,"\u6807\u7B7E"),pe.a.createElement("div",{className:"".concat(Ih,"-edge-text-style")},pe.a.createElement(q4,{label:"\u5B57\u53F7",min:10,width:68,value:P("fontSize","text")||12,onChange:function(ue){K("fontSize",ue,"text")}}),pe.a.createElement(jO,{value:P("fill","text")||"#000",onChange:function(ue){K("fill",ue,"text")}}))))},$le=function(i){return pe.a.createElement(zoe,Object.assign({},i,{type:"edge"}),function(c,o){return pe.a.createElement(kve,Object.assign({},i,{plugin:o,config:c}))})},jve=function(i){var c=i.config,o=i.plugin,t=o===void 0?{}:o,r=t.updateGroup,d=Object(fe.useState)(Object.assign(Object.assign({},Ac),c)),v=Object(we.a)(d,2),g=v[0],b=v[1],P=function(V,K){b(Object.assign(Object.assign({},g),Object(qc.a)({},V,K))),r(Object(qc.a)({},V,K))};return Object(fe.useEffect)(function(){b(Object.assign(Object.assign({},Ac),c))},[c]),pe.a.createElement("div",{className:"".concat(Ih,"-panel-body")},pe.a.createElement("div",{className:"".concat(Ih,"-panel-group")},pe.a.createElement("h5",null,"\u5185\u5BB9"),pe.a.createElement(A$,{label:"\u6807\u9898",value:g.label,onChange:function(V){P("label",V)}})),pe.a.createElement("div",{className:"".concat(Ih,"-panel-group")},pe.a.createElement("h5",null,"\u6837\u5F0F"),pe.a.createElement(Hoe,{x:g.x,y:g.y,onChange:function(V,K){P(V,K)}}),pe.a.createElement(Goe,{width:g.width,height:g.height,onChange:function(V,K){P(V,K)}}),pe.a.createElement(jO,{label:"\u586B\u5145",value:g.fill,onChange:function(V){P("fill",V)}}),pe.a.createElement(jO,{label:"\u8FB9\u6846",value:g.stroke,onChange:function(V){P("stroke",V)}}),pe.a.createElement("div",{className:"".concat(Ih,"-node-text-style")},pe.a.createElement(q4,{label:"\u5B57\u53F7",value:g.fontSize,width:68,onChange:function(V){P("fontSize",V)}}),pe.a.createElement(jO,{value:g.fontFill,onChange:function(V){P("fontFill",V)}}))))},Wle=function(i){return pe.a.createElement(zoe,Object.assign({},i),function(c,o){return pe.a.createElement(jve,Object.assign({},i,{plugin:o,config:c}))})},Kle=function(){return pe.a.createElement("div",{className:"".concat(Ih,"-canvas-panel")},pe.a.createElement("span",null,"\u672A\u9009\u4E2D"))},Mve=function(i){return i.set("node-service",Gle),i.set("edge-service",$le),i.set("group-service",Wle),i.set("canvas-service",Kle),i},fge={NodeService:Gle,EdgeService:$le,GroupService:Wle,CanvasService:Kle},Woe="xflow-editor-panel-collpase",pge=function(i){var c=Object(fe.useState)(!1),o=Object(we.a)(c,2),t=o[0],r=o[1],d=i.controlMapService,v=d===void 0?Mve:d,g=i.formSchemaService,b=g===void 0?mve:g,P=i.position,I=P===void 0?{width:240,top:0,bottom:0,right:0}:P,V=i.show,K=V===void 0?!0:V,ae=bv(i,["controlMapService","formSchemaService","position","show"]);if(!K)return null;var ue=I.width,ve=ue===void 0?200:ue,Oe=I.right;return pe.a.createElement(Bb,{className:Woe,position:Object.assign(Object.assign({},I),{right:t?-ve:Oe})},pe.a.createElement("div",{className:"".concat(Woe,"-wrapper")},pe.a.createElement(cpe,Object.assign({targetType:["node","edge","canvas","group"],controlMapService:v,formSchemaService:b,position:Object.assign(Object.assign({},I),{top:0}),prefixClz:"xflow-form-editor"},ae)),pe.a.createElement("div",{className:"".concat(Woe,"-icon"),style:{top:21,left:t?-20:-10,borderRadius:t?"50% 0 0 50%":"50%",borderRight:t?"none":""},onClick:function(){r(!t)}},t?pe.a.createElement(kle.a,null):pe.a.createElement(Ale.a,null))))},eF;(function(u){u.ASYNC_SRRIES="ASYNC_SRRIES",u.ASYNC_PARALLEL="ASYNC_PARALLEL"})(eF||(eF={}));var TP;(function(u){var i;(function(t){t.INVALID_HOOK_BEFORE="INVALID_HOOK_BEFORE",t.INVALID_HOOK_AFTER="INVALID_HOOK_AFTER",t.INVALID_HOOK_ARGS_LENGTH="INVALID_HOOK_ARGS_LENGTH"})(i=u.ErrorEnum||(u.ErrorEnum={}));var c=function(t){Object(Cc.a)(d,t);var r=Object(Ec.a)(d);function d(v,g){var b;Object(xi.a)(this,d),Array.isArray(g)&&(g=g.filter(function(K){return!!K}).join(" ")),b=r.call(this,"".concat(v,": ").concat(g)),Error.captureStackTrace&&Error.captureStackTrace(Object(Fp.a)(b),d),b.code=v,b.contexts={};for(var P=arguments.length,I=new Array(P>2?P-2:0),V=2;V<P;V++)I[V-2]=arguments[V];return I.forEach(function(K){typeof K=="object"&&Object.entries(K).forEach(function(ae){var ue=Object(we.a)(ae,2),ve=ue[0],Oe=ue[1];ve!=="key"&&Oe&&(b.contexts[ve]=JSON.parse(JSON.stringify(Oe)))})}),b}return Object(Pi.a)(d,[{key:"toString",value:function(){return"".concat(this.code,": ").concat(this.message)}}]),d}(Object(i3.a)(Error));u.HookError=c;var o=function(r,d){for(var v=arguments.length,g=new Array(v>2?v-2:0),b=2;b<v;b++)g[b-2]=arguments[b];return Object(pO.a)(c,[r,d].concat(g))};u.HookBeforeError=function(){return o(i.INVALID_HOOK_BEFORE,["hook require a before dependency but not exist in hookmap"])},u.HookAfterError=function(){return o(i.INVALID_HOOK_AFTER,["hook require a after dependency but not exist in hookmap"])},u.InvalidHookArguments=function(t){return o(i.INVALID_HOOK_ARGS_LENGTH,["hook handlers must have 0 to 2 arguments","but got ".concat(t.handler.length)])}})(TP||(TP={}));var j$;(function(u){u.normalize=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0,o=Array.isArray(i)?i:[i],t=[];return c.forEach(function(r){t.push(r)}),[].concat(t,Object(Bs.a)(o)).filter(function(r){return r&&!!r.handler})},u.sort=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0,o=[];i.forEach(function(r){if(r.before){if(!c.has(r.before))throw TP.HookBeforeError();var d=[r,c.get(r.before)];o.push(d)}if(r.after){if(!c.has(r.after))throw TP.HookBeforeError();var v=[c.get(r.after),r];o.push(v)}});var t=U2.a.array(i,o);return t}})(j$||(j$={}));var Pve=Object(Pi.a)(function u(){var i=this;Object(xi.a)(this,u),this.isResolved=!1,this.isRejected=!1,this.promise=new Promise(function(c,o){i.resolve=function(t){i.isResolved=!0,c(t)},i.reject=function(t){i.isRejected=!0,o(t)}})}),vge=Object(Pi.a)(function u(i){var c=this,o;Object(xi.a)(this,u),this.scheduleType=eF.ASYNC_SRRIES,this.hasHook=function(t){return c.hookMap.has(t)},this.getHooks=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=j$.normalize(t,c.hookMap);return r?j$.sort(d,c.hookMap):d},this.registerHook=function(t){return c.hookMap.has(t.name)&&console.error("".concat(t.name," is duplicated in hookmap")),c.hookMap.set(t.name,t),{dispose:function(){c.hookMap.delete(t.name)}}},this.call=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(v){return la(c,void 0,void 0,Object(Z.a)().mark(function g(){return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",v);case 1:case"end":return P.stop()}},g)}))},d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return g=this.getHooks(d,!0),b=this.schedulers[this.scheduleType],I.abrupt("return",b(t,r,g));case 3:case"end":return I.stop()}},v,this)}))},this.schedulers=(o={},Object(qc.a)(o,eF.ASYNC_SRRIES,function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g,b,P,I,V,K;return Object(Z.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:g=r,b=Object(iv.a)(d),ue.prev=2,b.s();case 4:if((P=b.n()).done){ue.next=26;break}if(I=P.value,![0,1].includes(I.handler.length)){ue.next=10;break}return ue.next=9,I.handler.call(this,t);case 9:return ue.abrupt("continue",24);case 10:if(!([2].includes(I.handler.length)&&g!==null)){ue.next=22;break}return ue.next=13,I.handler.call(this,t,g);case 13:if(V=ue.sent,V!==null){ue.next=19;break}return g=null,ue.abrupt("break",26);case 19:if(typeof V!="function"){ue.next=22;break}return g=V,ue.abrupt("continue",24);case 22:throw K=TP.InvalidHookArguments(I),K;case 24:ue.next=4;break;case 26:ue.next=31;break;case 28:ue.prev=28,ue.t0=ue.catch(2),b.e(ue.t0);case 31:return ue.prev=31,b.f(),ue.finish(31);case 34:if(!g){ue.next=38;break}return ue.next=37,g.call(this,t);case 37:return ue.abrupt("return",ue.sent);case 38:case"end":return ue.stop()}},v,this,[[2,28,31,34]])}))}),Object(qc.a)(o,eF.ASYNC_PARALLEL,function(t,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return la(c,void 0,void 0,Object(Z.a)().mark(function v(){var g=this,b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(b=d.map(function(K){if([0,1].includes(K.handler.length))return K.handler.call(g,t);if([2].includes(K.handler.length))return K.handler.call(g,t,r);throw TP.InvalidHookArguments(K)}),P=new Pve,Promise.all(b).then(function(K){return P.resolve(K)}),!r){V.next=7;break}return V.next=6,r.call(this,P);case 6:return V.abrupt("return",V.sent);case 7:case"end":return V.stop()}},v,this)}))}),o),this.hookMap=new Map,i&&i.type&&(this.scheduleType=i.type)}),hge="DND_NDOE",Rve="GROUP_NODE_RENDER_ID",tF="DATASOURCE_NODE",Yle=180,Xle=72,gge=l("krds"),Dve={fontSize:"16px",color:"#3057e3"},Ive=function(i){if(i.hide)return null;switch(i.status){case Bp.StatusEnum.PROCESSING:return Object(le.jsx)(jV,{spin:!0,style:{color:"#c1cdf7",fontSize:"16px"}});case Bp.StatusEnum.ERROR:return Object(le.jsx)(NL.a,{style:{color:"#ff4d4f",fontSize:"16px"}});case Bp.StatusEnum.SUCCESS:return Object(le.jsx)(une.a,{style:{color:"#39ca74cc",fontSize:"16px"}});case Bp.StatusEnum.WARNING:return Object(le.jsx)(dne.a,{style:{color:"#faad14",fontSize:"16px"}});case Bp.StatusEnum.DEFAULT:return Object(le.jsx)(MV.a,{style:{color:"#d9d9d9",fontSize:"16px"}});default:return null}},Nve=function(i){var c=i.data,o=c.payload,t=o?void 0:!1,r=Object(le.jsx)(le.Fragment,{});if(o){var d=o.name,v=o.id,g=o.bizName,b=o.description,P=o.createdBy,I=o.updatedAt,V=[{label:"\u6570\u636E\u6E90ID",value:v},{label:"\u540D\u79F0",value:d},{label:"\u82F1\u6587\u540D",value:g},{label:"\u521B\u5EFA\u4EBA",value:P},{label:"\u66F4\u65B0\u65F6\u95F4",value:I?Zt()(I).format("YYYY-MM-DD HH:mm:ss"):"-"},{label:"\u63CF\u8FF0",value:b}];r=Object(le.jsx)("div",{className:"dataSourceTooltip",children:V.map(function(K){var ae=K.label,ue=K.value;return Object(le.jsxs)("p",{children:[Object(le.jsxs)("span",{className:"dataSourceTooltipLabel",children:[ae,":"]}),Object(le.jsx)("span",{className:"dataSourceTooltipValue",children:ue||"-"})]},ue)})})}return Object(le.jsxs)("div",{className:"xflow-algo-node ".concat(i.isNodeTreePanel?"panel-node":""),children:[Object(le.jsx)("span",{className:"icon",children:Object(le.jsx)(w2,{style:Dve})}),Object(le.jsx)("span",{className:"label",children:Object(le.jsx)(Ni.a,{open:t,title:r,placement:"right",color:"#fff",overlayClassName:"dataSourceTooltipWrapper",children:i.data.label})}),Object(le.jsx)("span",{className:"status",children:Object(le.jsx)(Ive,{status:i.data&&i.data.status,hide:i.isNodeTreePanel})})]})},mge=l("rmp2"),Lve=function(i){var c=i.cell,o=Ep(),t=i.data.isCollapsed||!1,r=function(){o.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:c.id,isCollapsed:!1,collapsedSize:{width:200,height:40}})},d=function(){o.executeCommand(Nv.COLLAPSE_GROUP.id,{nodeId:c.id,isCollapsed:!0,collapsedSize:{width:200,height:40},gap:3})};return Object(le.jsx)("div",{className:"xflow-group-node",children:Object(le.jsxs)("div",{className:"xflow-group-header",children:[Object(le.jsx)("div",{className:"header-left",children:i.data.label}),Object(le.jsxs)("div",{className:"header-right",children:[t&&Object(le.jsx)(RL.a,{onClick:r}),!t&&Object(le.jsx)(DL.a,{onClick:d})]})]})})},Fve=tre(function(u){u.setRegisterHook(function(i){var c=[i.reactNodeRender.registerHook({name:"add react node",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:v.set(tF,Nve),v.set(Rve,Lve);case 2:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()}),i.graphOptions.registerHook({name:"custom-x6-options",after:"dag-extension-x6-options",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){var g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:g={connecting:{allowLoop:!1,validateMagnet:function(){return!0},validateConnection:function(V){var K=V.sourceView,ae=V.targetView,ue=V.sourceMagnet,ve=V.targetMagnet;if(K===ae||!ue||!ve||(ue==null?void 0:ue.getAttribute("port-group"))===kh.AnchorGroup.LEFT||(ve==null?void 0:ve.getAttribute("port-group"))===kh.AnchorGroup.RIGHT)return!1;var Oe=ae.cell,ke=ve.getAttribute("port"),Ie=Oe.getPort(ke);return!!Ie}}},v.connecting=Object(Xe.a)(Object(Xe.a)({},v.connecting),g.connecting);case 2:case"end":return P.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()})],o=new Of;return o.pushAll(c),o})}),Uve=l("c+yx"),Bve=function(i,c){var o=i.reduce(function(r,d){var v=d.source,g=d.target;return c?c==="source"?r.push(v):c==="target"&&r.push(g):r.push(v,g),r},[]),t=Array.from(new Set(o));return t},_ge=function(i){var c=i.nodes,o=i.edges,t=Bve(o),r=100,d=100,v=50,g=r,b=d,P=c.reduce(function(I,V,K){var ae=V.id,ue=V.width,ve=V.height,Oe=ve===void 0?Xle:ve;return t.includes(ae)||(g=g+(ue||Yle+v)*K),I.push(Object(Xe.a)(Object(Xe.a)({},V),{},{x:g,y:Oe>b?Oe+v:b})),I},[]);return{nodes:P,edges:o}},Vve=function(i,c){var o=i.nodes,t=o===void 0?[]:o,r=i.edges,d=r===void 0?[]:r,v=c.selectDomainId,g=c.selectDomainName,b="classNodeId-".concat(v),P=Object(Xe.a)(Object(Xe.a)({},Qh.NODE_COMMON_PROPS),{},{id:b,label:g,ports:Qh.createPorts(b)}),I=t.reduce(function(K,ae){var ue=ae.id,ve="".concat(b,"-output-1"),Oe={id:ug(),source:b,target:ue,sourcePortId:ve,targetPortId:"".concat(ue,"-input-1")};return K.push(Oe),K},[]),V={nodes:[P].concat(Object(Bs.a)(t)),edges:[].concat(Object(Bs.a)(d),Object(Bs.a)(I))};return V},zve=function(i,c){var o=i.nodes,t=o===void 0?[]:o,r=i.edges,d=r===void 0?[]:r,v=c.id,g=t.reduce(function(P,I){var V=I.id,K="".concat(v,"-output-1"),ae={id:ug(),source:v,target:V,sourcePortId:K,targetPortId:"".concat(V,"-input-1")};return P.push(ae),P},[]),b={nodes:[c].concat(Object(Bs.a)(t)),edges:[].concat(Object(Bs.a)(d),Object(Bs.a)(g))};return b},Hve=function(i){i.sort(function(r,d){return Zt()(d.updatedAt).valueOf()-Zt()(r.updatedAt).valueOf()});var c=i[0];if(c){var o=c.config,t=c.id;return{config:Object(Uve.h)(o),id:t}}},Jle=function(i,c,o){var t=o.filter(function(r){var d=r.datasourceFrom,v=r.datasourceTo;return i===d&&c===v})[0];return t},Qh;(function(u){var i=u.NODE_COMMON_PROPS={renderKey:tF,width:Yle,height:Xle},c=u.queryGraphMeta=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.abrupt("return",Object(Xe.a)(Object(Xe.a)({},et),{},{flowId:et.meta.flowId}));case 1:case"end":return jt.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),o=u.createPorts=function(Ye){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"LR",yt=[];return Array(Ze).fill(1).forEach(function(jt,Ft){var Ht=Ft+1;yt.push.apply(yt,[{id:"".concat(Ye,"-input-").concat(Ht),type:kh.AnchorType.INPUT,group:et==="TB"?kh.AnchorGroup.TOP:kh.AnchorGroup.LEFT,tooltip:"\u8F93\u5165\u6869-".concat(Ht)},{id:"".concat(Ye,"-output-").concat(Ht),type:kh.AnchorType.OUTPUT,group:et==="TB"?kh.AnchorGroup.BOTTOM:kh.AnchorGroup.RIGHT,tooltip:"\u8F93\u51FA\u6869-".concat(Ht)}])}),yt},t=u.createDataSourceNode=function(Ye){var Ze=Ye.id,et=Ye.name,yt="dataSource-".concat(Ze);return Object(Xe.a)(Object(Xe.a)({},i),{},{id:yt,label:"".concat(et,"-").concat(Ze),ports:o(yt),payload:Ye})},r=u.delDataSource=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt,jt,Ft,Ht,Gt,Jt;return Object(Z.a)().wrap(function(vn){for(;;)switch(vn.prev=vn.next){case 0:if(Ft=(yt=et.targetData)===null||yt===void 0||(jt=yt.payload)===null||jt===void 0?void 0:jt.id,Ft){vn.next=3;break}return vn.abrupt("return",!0);case 3:return vn.next=5,Object(If.i)(Ft);case 5:if(Ht=vn.sent,Gt=Ht.code,Jt=Ht.msg,Gt!==200){vn.next=10;break}return vn.abrupt("return",!0);case 10:return Ee.default.error(Jt),vn.abrupt("return",!1);case 12:case"end":return vn.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),d=u.loadDataSourceData=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or,$r,vr,Er,Hr,Aa;return Object(Z.a)().wrap(function(ca){for(;;)switch(ca.prev=ca.next){case 0:return yt=et.meta,jt=yt.domainManger,Ft=yt.graphConfig,Ht=jt.selectDomainId,ca.next=4,Object(If.r)({domainId:Ht});case 4:if(Gt=ca.sent,Jt=Gt.code,mn=Gt.data,vn=mn===void 0?[]:mn,Yt=vn.reduce(function(fa,ai){var Wi=ai.id,Co=ai.name;return fa["dataSource-".concat(Wi)]=ai,fa[Co]=ai,fa},{}),Jt!==200){ca.next=21;break}if(!(Ft!=null&&Ft.id&&Ft!==null&&Ft!==void 0&&Ft.config)){ca.next=19;break}return En=Ft.config,or=En.nodes,$r=En.edges,vr=or.reduce(function(fa,ai){return fa[ai.id]=ai,fa},{}),Er=or,Hr=$r,Array.isArray(or)&&(Er=vn.reduce(function(fa,ai){var Wi=ai.id,Co=vr["dataSource-".concat(Wi)];return Co?fa.push(Object(Xe.a)(Object(Xe.a)({},Co),{},{payload:ai})):fa.push(t(ai)),fa},[])),Array.isArray($r)&&(Hr=$r.reduce(function(fa,ai){var Wi=ai.source,Co=ai.target,zi=Yt[Wi],us=Yt[Co];if(zi&&us){var Us=Object(Xe.a)({},ai);Us.sourceNodeData.payload=zi,Us.targetNodeData.payload=us,fa.push(Us)}return fa},[])),ca.abrupt("return",{nodes:Er,edges:Hr});case 19:return Aa=vn.map(function(fa){return t(fa)}),ca.abrupt("return",Vve({nodes:Aa,edges:[]},jt));case 21:return ca.abrupt("return",{});case 22:case"end":return ca.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),v=u.loadDimensionData=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt,jt,Ft,Ht,Gt,Jt,mn;return Object(Z.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:return yt=et.meta.domainManger,jt=yt.domainId,Yt.next=4,Object(If.u)({domainId:jt});case 4:if(Ft=Yt.sent,Ht=Ft.code,Gt=Ft.data,Ht!==200){Yt.next=11;break}return Jt=Gt.list,mn=Jt.map(function(En){var or=En.id,$r=En.name,vr="dimension-".concat(or);return Object(Xe.a)(Object(Xe.a)({},i),{},{id:vr,label:"".concat($r,"-").concat(or),ports:o(vr),payload:En})}),Yt.abrupt("return",{nodes:mn,edges:[]});case 11:return Yt.abrupt("return",{});case 12:case"end":return Yt.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),g=u.saveGraphData=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et,yt){var jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or,$r;return Object(Z.a)().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:if(jt=et.commandService,Ft=jt.getGlobal("initGraphCmdsSuccess"),Ft){Er.next=4;break}return Er.abrupt("return");case 4:return Ht=Object(Gh.cloneDeep)(yt),Gt=Ht.edges,Jt=Ht.nodes,Array.isArray(Jt)&&(Ht.nodes=Jt.map(function(Hr){return delete Hr.payload,Hr})),Array.isArray(Gt)&&(Ht.edges=Gt.map(function(Hr){return delete Hr.sourceNodeData.payload,delete Hr.targetNodeData.payload,Hr})),mn=et.meta,vn=mn.domainManger,Yt=mn.graphConfig,Er.next=11,Object(If.h)({id:Yt==null?void 0:Yt.id,domainId:vn.selectDomainId,type:"datasource",config:JSON.stringify(Ht)});case 11:return En=Er.sent,or=En.code,$r=En.msg,or!==200&&Ee.default.error($r),Er.abrupt("return",{success:!0,data:yt});case 16:case"end":return Er.stop()}},Ze)}));return function(Ze,et){return Ye.apply(this,arguments)}}(),b=u.deployDagService=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et,yt){return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.abrupt("return",{success:!0,data:yt});case 1:case"end":return Ft.stop()}},Ze)}));return function(Ze,et){return Ye.apply(this,arguments)}}(),P=u.addNode=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt,jt,Ft,Ht,Gt,Jt,mn;return Object(Z.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:return console.info("addNode service running, add node:",et),yt=et.nodeConfig,jt=yt.id,Ft=yt.ports,Ht=Ft===void 0?o(jt,1):Ft,Gt=yt.groupChildren,Jt=jt||ug(),mn=Object(Xe.a)(Object(Xe.a)(Object(Xe.a)({},i),et.nodeConfig),{},{id:Jt,ports:Ht}),Gt&&Gt.length&&(mn.ports=[]),Yt.abrupt("return",mn);case 6:case"end":return Yt.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),I=u.renameNode=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et,yt,jt){return Object(Z.a)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:return Ht.abrupt("return",{err:null,nodeName:et});case 1:case"end":return Ht.stop()}},Ze)}));return function(Ze,et,yt){return Ye.apply(this,arguments)}}(),V=u.delNode=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:yt=et.nodeConfig.type,Ft.t0=yt,Ft.next=Ft.t0==="dataSource"?4:Ft.t0==="class"?7:8;break;case 4:return Ft.next=6,r(et.nodeConfig);case 6:return Ft.abrupt("return",Ft.sent);case 7:return Ft.abrupt("return",!0);case 8:return Ft.abrupt("return",!0);case 9:case"end":return Ft.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),K=u.addEdge=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt;return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return console.info("addEdge service running, add edge:",et),yt=et.edgeConfig,Ft.abrupt("return",Object(Xe.a)(Object(Xe.a)({},yt),{},{id:ug()}));case 3:case"end":return Ft.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),ae=u.delEdge=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){var yt,jt,Ft,Ht,Gt,Jt,mn,vn,Yt,En,or,$r,vr,Er;return Object(Z.a)().wrap(function(Aa){for(;;)switch(Aa.prev=Aa.next){case 0:if(console.info("delEdge service running, del edge:",et),yt=et.commandService,jt=et.edgeConfig,!(!(jt!=null&&jt.sourceNodeData)||!(jt!=null&&jt.targetNodeData))){Aa.next=4;break}return Aa.abrupt("return",!0);case 4:if(Ft=jt,Ht=Ft.sourceNodeData,Gt=Ft.targetNodeData,Jt=Ht.payload.id,mn=Gt.payload.id,vn=yt,Yt=vn.getGlobal,En=Yt("dataSourceRelationList"),or=Jle(Jt,mn,En),or){Aa.next=12;break}return Aa.abrupt("return",!0);case 12:return Aa.next=14,Object(If.j)(or.id);case 14:if($r=Aa.sent,vr=$r.code,Er=$r.msg,vr!==200){Aa.next=19;break}return Aa.abrupt("return",!0);case 19:return Ee.default.error(Er),Aa.abrupt("return",!1);case 21:case"end":return Aa.stop()}},Ze)}));return function(Ze){return Ye.apply(this,arguments)}}(),ue=0,ve={},Oe=Bp.StatusEnum.DEFAULT,ke=u.graphStatusService=Object(Le.a)(Object(Z.a)().mark(function Ye(){return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return ue<4?(ve["node".concat(ue)]={status:Bp.StatusEnum.SUCCESS},ve["node".concat(ue+1)]={status:Bp.StatusEnum.PROCESSING},ue+=1,Oe=Bp.StatusEnum.PROCESSING):(ue=0,ve.node4={status:Bp.StatusEnum.SUCCESS},Oe=Bp.StatusEnum.SUCCESS),et.abrupt("return",{graphStatus:Oe,statusMap:ve});case 2:case"end":return et.stop()}},Ye)})),Ie=u.stopGraphStatusService=Object(Le.a)(Object(Z.a)().mark(function Ye(){return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return Object.entries(ve).forEach(function(yt){var jt=Object(we.a)(yt,2),Ft=jt[1],Ht=Ft,Gt=Ht.status;Gt===Bp.StatusEnum.PROCESSING&&(Ft.status=Bp.StatusEnum.ERROR)}),et.abrupt("return",{graphStatus:Bp.StatusEnum.ERROR,statusMap:ve});case 2:case"end":return et.stop()}},Ye)}))})(Qh||(Qh={}));function M$(u,i,c,o){!c||Object.defineProperty(u,i,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(o):void 0})}function P$(u,i,c,o,t){var r={};return Object.keys(o).forEach(function(d){r[d]=o[d]}),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=c.slice().reverse().reduce(function(d,v){return v(u,i,d)||d},r),t&&r.initializer!==void 0&&(r.value=r.initializer?r.initializer.call(t):void 0,r.initializer=void 0),r.initializer===void 0&&(Object.defineProperty(u,i,r),r=null),r}function yge(u,i){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}var jm;(function(u){var i="\u8282\u70B9\u64CD\u4F5C",c=u.TEST_ASYNC_CMD={id:"xflow:async-cmd",label:"\u5F02\u6B65\u8BF7\u6C42",category:i},o=u.SHOW_RENAME_MODAL={id:"xflow:rename-node-modal",label:"\u6253\u5F00\u91CD\u547D\u540D\u5F39\u7A97",category:i},t=u.SHOW_CONFIRM_MODAL={id:"xflow:confirm-modal",label:"\u6253\u5F00\u4E8C\u6B21\u786E\u8BA4\u5F39\u7A97",category:i},r=u.DEPLOY_SERVICE={id:"xflow:deploy-service",label:"\u90E8\u7F72\u670D\u52A1",category:i},d=u.DATASOURCE_RELATION={id:"xflow:datasource-relation",label:"\u83B7\u53D6\u6570\u636E\u6E90\u5173\u7CFB\u6570\u636E",category:i},v=u.VIEW_DIMENSION={id:"xflow:view-dimension",label:"\u67E5\u770B\u7EF4\u5EA6",category:i}})(jm||(jm={}));var Zle,Qle,qle,eue,Koe,tue,Yoe;(function(u){var i=u.command=jm.DEPLOY_SERVICE,c=u.hookKey="deployDag"})(Yoe||(Yoe={}));var Gve=(Zle=co.injectable(),Qle=co.inject(Ad),qle=Reflect.metadata("design:type",Object),Zle(eue=(Koe=function(){function u(){var i=this;Object(xi.a)(this,u),M$(this,"contextProvider",tue,this),this.execute=Object(Le.a)(Object(Z.a)().mark(function c(){var o,t,r,d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return o=i.contextProvider(),t=o.getArgs(),r=t.args,d=o.getHooks(),b.next=5,d.deployDag.call(r,function(){var P=Object(Le.a)(Object(Z.a)().mark(function I(V){var K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return K=V.commandService,ae=V.deployDagService,ve.next=3,K.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(){var Oe=Object(Le.a)(Object(Z.a)().mark(function Ie(Ye,Ze){return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,ae(Ye,Ze);case 2:case"end":return yt.stop()}},Ie)}));function ke(Ie,Ye){return Oe.apply(this,arguments)}return ke}()});case 3:return ve.abrupt("return",{success:!0});case 4:case"end":return ve.stop()}},I)}));return function(I){return P.apply(this,arguments)}}());case 5:return v=b.sent,o.setResult(v),b.abrupt("return",i);case 8:case"end":return b.stop()}},c)})),this.undo=Object(Le.a)(Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i.isUndoable()&&(o=i.contextProvider(),o.undo()),r.abrupt("return",i);case 2:case"end":return r.stop()}},c)})),this.redo=Object(Le.a)(Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i.isUndoable()){t.next=3;break}return t.next=3,i.execute();case 3:return t.abrupt("return",i);case 4:case"end":return t.stop()}},c)}))}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}(),tue=P$(Koe.prototype,"contextProvider",[Qle,qle],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Koe))||eue),bge=l("QKg/"),nue,rue,aue,iue,Xoe,oue,Joe;(function(u){var i=u.command=jm.SHOW_RENAME_MODAL,c=u.hookKey="renameNode"})(Joe||(Joe={}));var $ve=(nue=co.injectable(),rue=co.inject(Ad),aue=Reflect.metadata("design:type",Object),nue(iue=(Xoe=function(){function u(){var i=this;Object(xi.a)(this,u),M$(this,"contextProvider",oue,this),this.execute=Object(Le.a)(Object(Z.a)().mark(function c(){var o,t,r,d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return o=i.contextProvider(),t=o.getArgs(),r=t.args,d=o.getHooks(),b.next=5,d.renameNode.call(r,function(){var P=Object(Le.a)(Object(Z.a)().mark(function I(V){var K,ae,ue,ve,Oe,ke,Ie,Ye,Ze,et,yt,jt,Ft;return Object(Z.a)().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return K=V.nodeConfig,ae=V.graphMeta,ue=V.commandService,ve=V.modelService,Oe=V.updateNodeNameService,ke=K.label,Ie=function(){return{graphMeta:ae,commandService:ue,modelService:ve,updateNodeNameService:Oe}},Gt.next=5,o.getX6Graph();case 5:if(Ye=Gt.sent,Ze=Ye.getCellById(K.id),et=Ye.getNodes(),yt=Ye.getEdges(),et.forEach(function(Jt){Jt!==Ze&&Ye.removeCell(Jt)}),yt.forEach(function(Jt){Ye.removeEdge(Jt)}),!(!Ze||!Ze.isNode())){Gt.next=13;break}throw new Error("".concat(K.id," is not a valid node"));case 13:return Gt.next=15,Kve(K,Ie);case 15:if(jt=Gt.sent,!jt){Gt.next=20;break}return Ft=Ze.getData(),Ze.setData(Object(Xe.a)(Object(Xe.a)({},Ft),{},{label:jt})),Gt.abrupt("return",{err:null,preNodeName:ke,currentNodeName:jt});case 20:return Gt.abrupt("return",{err:null,preNodeName:ke,currentNodeName:""});case 21:case"end":return Gt.stop()}},I)}));return function(I){return P.apply(this,arguments)}}());case 5:return v=b.sent,o.setResult(v),b.abrupt("return",i);case 8:case"end":return b.stop()}},c)})),this.undo=Object(Le.a)(Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i.isUndoable()&&(o=i.contextProvider(),o.undo()),r.abrupt("return",i);case 2:case"end":return r.stop()}},c)})),this.redo=Object(Le.a)(Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i.isUndoable()){t.next=3;break}return t.next=3,i.execute();case 3:return t.abrupt("return",i);case 4:case"end":return t.stop()}},c)}))}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}(),oue=P$(Xoe.prototype,"contextProvider",[rue,aue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xoe))||iue),Wve={labelCol:{span:5},wrapperCol:{span:19}};function Kve(u,i){var c=new sh,o=Object(Pi.a)(function b(){Object(xi.a)(this,b)});o.modal=void 0,o.form=void 0;var t=function(){var b=Object(Le.a)(Object(Z.a)().mark(function P(){var I,V,K,ae,ue,ve,Oe,ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return I=o.form,V=o.modal,K=i(),ae=K.updateNodeNameService,ue=K.graphMeta,et.prev=3,V.update({okButtonProps:{loading:!0}}),et.next=7,I.validateFields();case 7:return et.next=9,I.getFieldsValue();case 9:if(ve=et.sent,Oe=ve.newNodeName,!ae){et.next=20;break}return et.next=14,ae(Oe,u,ue);case 14:if(ke=et.sent,Ie=ke.err,Ye=ke.nodeName,!Ie){et.next=19;break}throw new Error(Ie);case 19:c.resolve(Ye);case 20:r(),et.next=27;break;case 23:et.prev=23,et.t0=et.catch(3),console.error(et.t0),V.update({okButtonProps:{loading:!1}});case 27:case"end":return et.stop()}},P,null,[[3,23]])}));return function(){return b.apply(this,arguments)}}(),r=function(){g.destroy(),o.form=null,o.modal=null,v.destroy()},d=function(){var P=Ot.a.useForm(),I=Object(we.a)(P,1),V=I[0];return o.form=V,Object(le.jsx)("div",{children:Object(le.jsx)(bt.a,{children:Object(le.jsx)(Ot.a,Object(Xe.a)(Object(Xe.a)({form:V},Wve),{},{initialValues:{newNodeName:u.label},children:Object(le.jsx)(Ot.a.Item,{name:"newNodeName",label:"\u8282\u70B9\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u65B0\u8282\u70B9\u540D"},{min:3,message:"\u8282\u70B9\u540D\u4E0D\u80FD\u5C11\u4E8E3\u4E2A\u5B57\u7B26"}],children:Object(le.jsx)(_s.a,{})})}))})})},v=Yve(),g=Fo.a.confirm({title:"\u91CD\u547D\u540D",content:Object(le.jsx)(d,{}),getContainer:function(){return v.element},okButtonProps:{onClick:function(P){P.stopPropagation(),t()}},onCancel:function(){r()},afterClose:function(){r()}});return o.modal=g,c.promise}var Yve=function(){var i=document.createElement("div");return i.classList.add("xflow-modal-container"),window.document.body.append(i),{element:i,destroy:function(){window.document.body.removeChild(i)}}},sue,cue,lue,uue,Zoe,due,Qoe;(function(u){var i=u.command=jm.SHOW_CONFIRM_MODAL,c=u.hookKey="confirmModal"})(Qoe||(Qoe={}));var Xve=function(i){return Object(le.jsxs)(le.Fragment,{children:["\u6570\u636E\u6E90",Object(le.jsx)("span",{style:{color:"#296DF3",fontWeight:"bold"},children:i}),"\u5C06\u88AB\u5220\u9664\uFF0C\u662F\u5426\u786E\u8BA4\uFF1F"]})},Jve=(sue=co.injectable(),cue=co.inject(Ad),lue=Reflect.metadata("design:type",Object),sue(uue=(Zoe=function(){function u(){var i=this;Object(xi.a)(this,u),M$(this,"contextProvider",due,this),this.execute=Object(Le.a)(Object(Z.a)().mark(function c(){var o,t,r,d;return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return o=i.contextProvider(),t=o.getArgs(),r=t.args,d=o.getHooks(),g.next=5,d.confirmModal.call(r,function(){var b=Object(Le.a)(Object(Z.a)().mark(function P(I){var V,K,ae,ue,ve,Oe,ke,Ie,Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return K=I.nodeConfig,ae=I.confirmModalCallBack,ue=K.renderKey,ve=K.label,(V=K.modalProps)!==null&&V!==void 0&&V.modalContent||(Oe=Object(le.jsx)(le.Fragment,{}),ue===tF&&(Oe=Xve(ve)),K.modalProps=Object(Xe.a)(Object(Xe.a)({},K.modalProps||{}),{},{modalContent:Oe})),ke=function(){return{confirmModalCallBack:ae}},et.next=6,o.getX6Graph();case 6:if(Ie=et.sent,Ye=Ie.getCellById(K.id),!(!Ye||!Ye.isNode())){et.next=10;break}throw new Error("".concat(K.id," is not a valid node"));case 10:return et.next=12,Zve(K,ke);case 12:return et.abrupt("return");case 13:case"end":return et.stop()}},P)}));return function(P){return b.apply(this,arguments)}}());case 5:return g.abrupt("return",i);case 6:case"end":return g.stop()}},c)})),this.undo=Object(Le.a)(Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i.isUndoable()&&(o=i.contextProvider(),o.undo()),r.abrupt("return",i);case 2:case"end":return r.stop()}},c)})),this.redo=Object(Le.a)(Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i.isUndoable()){t.next=3;break}return t.next=3,i.execute();case 3:return t.abrupt("return",i);case 4:case"end":return t.stop()}},c)}))}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}(),due=P$(Zoe.prototype,"contextProvider",[cue,lue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Zoe))||uue);function Zve(u,i){var c,o,t=new sh,r=(c=u.modalProps)===null||c===void 0?void 0:c.title,d=(o=u.modalProps)===null||o===void 0?void 0:o.modalContent,v=Object(Pi.a)(function K(){Object(xi.a)(this,K)});v.modal=void 0;var g=function(){var K=Object(Le.a)(Object(Z.a)().mark(function ae(){var ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(ue=v.modal,ve=i(),Oe=ve.confirmModalCallBack,Ie.prev=3,ue.update({okButtonProps:{loading:!0}}),!Oe){Ie.next=8;break}return Ie.next=8,Oe();case 8:b(),Ie.next=15;break;case 11:Ie.prev=11,Ie.t0=Ie.catch(3),console.error(Ie.t0),ue.update({okButtonProps:{loading:!1}});case 15:case"end":return Ie.stop()}},ae,null,[[3,11]])}));return function(){return K.apply(this,arguments)}}(),b=function(){V.destroy(),v.modal=null,I.destroy()},P=function(){return Object(le.jsx)("div",{children:Object(le.jsx)(bt.a,{children:d})})},I=Qve(),V=Fo.a.confirm({title:r,content:Object(le.jsx)(P,{}),getContainer:function(){return I.element},okButtonProps:{onClick:function(ae){ae.stopPropagation(),g()}},onCancel:function(){b()},afterClose:function(){b()}});return v.modal=V,t.promise}var Qve=function(){var i=document.createElement("div");return i.classList.add("xflow-modal-container"),window.document.body.append(i),{element:i,destroy:function(){window.document.body.removeChild(i)}}},fue,pue,vue,hue,qoe,gue,ese;(function(u){var i=u.command=jm.DATASOURCE_RELATION,c=u.hookKey="dataSourceRelation"})(ese||(ese={}));var qve=(fue=co.injectable(),pue=co.inject(Ad),vue=Reflect.metadata("design:type",Object),fue(hue=(qoe=function(){function u(){var i=this;Object(xi.a)(this,u),M$(this,"contextProvider",gue,this),this.execute=Object(Le.a)(Object(Z.a)().mark(function c(){var o,t,r,d,v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return r=i.contextProvider(),d=r.getArgs(),v=d.args,g=r.getHooks(),K.next=5,r.getGraphMeta();case 5:if(b=K.sent,P=b==null||(o=b.meta)===null||o===void 0||(t=o.domainManger)===null||t===void 0?void 0:t.selectDomainId,P){K.next=9;break}return K.abrupt("return",i);case 9:return K.next=11,g.dataSourceRelation.call(v,Object(Le.a)(Object(Z.a)().mark(function ae(){var ue,ve,Oe;return Object(Z.a)().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,Object(If.s)(P);case 2:if(ue=Ie.sent,ve=ue.code,Oe=ue.data,ve!==200){Ie.next=7;break}return Ie.abrupt("return",Oe);case 7:return Ie.abrupt("return",[]);case 8:case"end":return Ie.stop()}},ae)})));case 11:return I=K.sent,r.setResult(I),r.setGlobal("dataSourceRelationList",I),K.abrupt("return",i);case 15:case"end":return K.stop()}},c)})),this.undo=Object(Le.a)(Object(Z.a)().mark(function c(){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i.isUndoable()&&(o=i.contextProvider(),o.undo()),r.abrupt("return",i);case 2:case"end":return r.stop()}},c)})),this.redo=Object(Le.a)(Object(Z.a)().mark(function c(){return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i.isUndoable()){t.next=3;break}return t.next=3,i.execute();case 3:return t.abrupt("return",i);case 4:case"end":return t.stop()}},c)}))}return Object(Pi.a)(u,[{key:"isUndoable",value:function(){var c=this.contextProvider();return c.isUndoable()}}]),u}(),gue=P$(qoe.prototype,"contextProvider",[pue,vue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qoe))||hue),ehe=[Object(Xe.a)(Object(Xe.a)({},Yoe),{},{CommandHandler:Gve}),Object(Xe.a)(Object(Xe.a)({},Joe),{},{CommandHandler:$ve}),Object(Xe.a)(Object(Xe.a)({},Qoe),{},{CommandHandler:Jve}),Object(Xe.a)(Object(Xe.a)({},ese),{},{CommandHandler:qve})],the=Vue(function(u){u.setCommandContributions(function(){return ehe}),u.setRegisterHookFn(function(i){var c=[i.graphMeta.registerHook({name:"get graph meta from backend",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:v.graphMetaService=Qh.queryGraphMeta;case 1:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()}),i.saveGraphData.registerHook({name:"save graph data",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:v.saveGraphDataService||(v.saveGraphDataService=Qh.saveGraphData);case 1:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()}),i.addNode.registerHook({name:"get node config from backend api",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:v.createNodeService=Qh.addNode;case 1:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()}),i.delNode.registerHook({name:"get edge config from backend api",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:v.deleteNodeService=Qh.delNode;case 1:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()}),i.addEdge.registerHook({name:"\u83B7\u53D6\u8D77\u59CB\u548C\u7ED3\u675F\u8282\u70B9\u7684\u4E1A\u52A1\u6570\u636E\uFF0C\u5E76\u5199\u5165\u5728\u8FB9\u4E0A",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v,g){var b,P;return Object(Z.a)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return b=v.commandService,P=function(){var K=Object(Le.a)(Object(Z.a)().mark(function ae(ue){var ve,Oe,ke,Ie,Ye,Ze;return Object(Z.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,g(ue);case 2:if(ve=yt.sent,!(ve&&ve.edgeCell)){yt.next=12;break}return Oe=ve.edgeCell.getSourceNode(),ke=ve.edgeCell.getTargetNode(),Ie=(Oe==null?void 0:Oe.getData())||{},Ye=(ke==null?void 0:ke.getData())||{},ve.edgeCell.setData({sourceNodeData:Ie,targetNodeData:Ye,source:Ie.id,target:Ye.id}),ve.edgeCell.addTools([{name:"tooltip",args:{tooltip:"\u5DE6\u952E\u70B9\u51FB\u8FDB\u884C\u5173\u7CFB\u7F16\u8F91\uFF0C\u53F3\u952E\u70B9\u51FB\u8FDB\u884C\u5220\u9664\u64CD\u4F5C"}}]),b&&(Ze=b.getGlobal("initGraphCmdsSuccess"),Ze&&b.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(Ft,Ht){return Qh.saveGraphData(Ft,Ht)}})),yt.abrupt("return",ve);case 12:case"end":return yt.stop()}},ae)}));return function(ue){return K.apply(this,arguments)}}(),V.abrupt("return",P);case 3:case"end":return V.stop()}},d)}));function r(d,v){return t.apply(this,arguments)}return r}()}),i.delEdge.registerHook({name:"\u8FB9\u5220\u9664\uFF0C\u5E76\u5411\u540E\u53F0\u8BF7\u6C42\u5220\u9664\u6570\u636E\u6E90\u95F4\u5173\u8054\u5173\u7CFB",handler:function(){var t=Object(Le.a)(Object(Z.a)().mark(function d(v){return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:v.deleteEdgeService=Qh.delEdge;case 1:case"end":return b.stop()}},d)}));function r(d){return t.apply(this,arguments)}return r}()})],o=new Of;return o.pushAll(c),o})}),mue=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(c){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=c.commandService,r.next=3,c.executeCommandPipeline([{commandId:qu.LOAD_DATA.id,getCommandOption:function(){var d=Object(Le.a)(Object(Z.a)().mark(function g(){return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return o.setGlobal("initGraphCmdsSuccess",!1),P.abrupt("return",{args:{loadDataService:Qh.loadDataSourceData}});case 2:case"end":return P.stop()}},g)}));function v(){return d.apply(this,arguments)}return v}()},{commandId:qu.GRAPH_LAYOUT.id,getCommandOption:function(){var d=Object(Le.a)(Object(Z.a)().mark(function g(b){var P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return P=b.getResult(),I=P.graphData,K.abrupt("return",{args:{layoutType:"dagre",layoutOptions:{type:"dagre",rankdir:"LR",nodesep:30,ranksep:80,begin:[0,0]},graphData:I}});case 2:case"end":return K.stop()}},g)}));function v(g){return d.apply(this,arguments)}return v}()},{commandId:qu.GRAPH_RENDER.id,getCommandOption:function(){var d=Object(Le.a)(Object(Z.a)().mark(function g(b){var P,I,V,K,ae,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return P=b.getResult(),I=P.graphData,V=I.edges,K=I.nodes,ae=V.filter(function(ke){return!ke.source.includes("classNodeId-")}),ue=K.filter(function(ke){return!ke.id.includes("classNodeId-")}),Oe.abrupt("return",{args:{graphData:{edges:ae,nodes:ue}}});case 5:case"end":return Oe.stop()}},g)}));function v(g){return d.apply(this,arguments)}return v}()},{commandId:qu.GRAPH_ZOOM.id,getCommandOption:function(){var d=Object(Le.a)(Object(Z.a)().mark(function g(){return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return o.setGlobal("initGraphCmdsSuccess",!0),P.abrupt("return",{args:{factor:"fit",zoomOptions:{maxScale:.9}}});case 2:case"end":return P.stop()}},g)}));function v(){return d.apply(this,arguments)}return v}()},{commandId:jm.DATASOURCE_RELATION.id,getCommandOption:function(){var d=Object(Le.a)(Object(Z.a)().mark(function g(){return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",{args:{}});case 1:case"end":return P.stop()}},g)}));function v(){return d.apply(this,arguments)}return v}()}]);case 3:case"end":return r.stop()}},i)}));return function(c){return u.apply(this,arguments)}}(),nhe=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(c){var o,t;return Object(Z.a)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return o=c.commandService,t=c.target,d.next=3,o.executeCommandPipeline([{commandId:qu.LOAD_DATA.id,getCommandOption:function(){var v=Object(Le.a)(Object(Z.a)().mark(function b(){return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.abrupt("return",{args:{loadDataService:Qh.loadDimensionData}});case 1:case"end":return I.stop()}},b)}));function g(){return v.apply(this,arguments)}return g}()},{commandId:qu.GRAPH_LAYOUT.id,getCommandOption:function(){var v=Object(Le.a)(Object(Z.a)().mark(function b(P){var I,V,K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return I=P.getResult(),V=I.graphData,K=Object(Xe.a)({},t.data),delete K.x,delete K.y,ae=zve(V,K),P.setResult(ae),ve.abrupt("return",{args:{layoutType:"dagre",layoutOptions:{type:"dagre",rankdir:"LR",nodesep:30,ranksep:80,begin:[0,0]},graphData:ae}});case 7:case"end":return ve.stop()}},b)}));function g(b){return v.apply(this,arguments)}return g}()},{commandId:qu.GRAPH_RENDER.id,getCommandOption:function(){var v=Object(Le.a)(Object(Z.a)().mark(function b(P){var I,V;return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return I=P.getResult(),V=I.graphData,ae.abrupt("return",{args:{graphData:V}});case 2:case"end":return ae.stop()}},b)}));function g(b){return v.apply(this,arguments)}return g}()},{commandId:qu.GRAPH_ZOOM.id,getCommandOption:function(){var v=Object(Le.a)(Object(Z.a)().mark(function b(){return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.abrupt("return",{args:{factor:"fit",zoomOptions:{maxScale:.9}}});case 1:case"end":return I.stop()}},b)}));function g(){return v.apply(this,arguments)}return g}()}]);case 3:case"end":return d.stop()}},i)}));return function(c){return u.apply(this,arguments)}}(),AP;(function(u){var i=u.ID="NS_DATA_SOURCE_RELATION_MODAL_OPEN_STATE"})(AP||(AP={}));var rhe=pz(function(u){u.registerModel(function(i){var c=[i.registerModel({id:AP.ID})],o=new Of;return o.pushAll(c),o})}),Oge=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(c){var o;return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,c.awaitModel(AP.ID);case 2:return o=r.sent,r.abrupt("return",o.getValidValue());case 4:case"end":return r.stop()}},i)}));return function(c){return u.apply(this,arguments)}}(),ahe={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-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},ihe=ahe,_ue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:ihe}))};_ue.displayName="StopOutlined";var yue=fe.forwardRef(_ue),kP;(function(u){Ch.set("DeleteOutlined",Mr.a),Ch.set("EditOutlined",_R.a),Ch.set("StopOutlined",yue);var i=u.DELETE_EDGE={id:Up.DEL_EDGE.id,label:"\u5220\u9664\u8FB9",iconName:"DeleteOutlined",onClick:function(){var g=Object(Le.a)(Object(Z.a)().mark(function P(I){var V,K,ae,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return V=I.target,K=I.commandService,ae=I.modelService,Oe.next=3,K.executeCommand(Up.DEL_EDGE.id,{edgeConfig:V.data});case 3:return Oe.next=5,K.executeCommand(jm.DATASOURCE_RELATION.id,{});case 5:return K.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(Ie,Ye){return Qh.saveGraphData(Ie,Ye)}}),Oe.next=8,ae.awaitModel(AP.ID);case 8:ue=Oe.sent,ue.setValue({open:!1});case 10:case"end":return Oe.stop()}},P)}));function b(P){return g.apply(this,arguments)}return b}()},c=u.DELETE_NODE={id:Pf.DEL_NODE.id,label:"\u5220\u9664\u8282\u70B9",iconName:"DeleteOutlined",onClick:function(){var g=Object(Le.a)(Object(Z.a)().mark(function P(I){var V,K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:K=I.target,ae=I.commandService,ae.executeCommand(Pf.DEL_NODE.id,{nodeConfig:{id:(K==null||(V=K.data)===null||V===void 0?void 0:V.id)||"",targetData:K.data}});case 2:case"end":return ve.stop()}},P)}));function b(P){return g.apply(this,arguments)}return b}()},o=u.EMPTY_MENU={id:"EMPTY_MENU_ITEM",label:"\u6682\u65E0\u53EF\u7528",isEnabled:!1,iconName:"DeleteOutlined"},t=u.RENAME_NODE={id:jm.SHOW_RENAME_MODAL.id,label:"\u91CD\u547D\u540D",isVisible:!0,iconName:"EditOutlined",onClick:function(){var g=Object(Le.a)(Object(Z.a)().mark(function P(I){var V,K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:V=I.target,K=I.commandService,ae=V.data,K.executeCommand(jm.SHOW_RENAME_MODAL.id,{nodeConfig:ae,updateNodeNameService:Qh.renameNode});case 3:case"end":return ve.stop()}},P)}));function b(P){return g.apply(this,arguments)}return b}()},r=u.DELETE_DATASOURCE_NODE={id:jm.SHOW_RENAME_MODAL.id,label:"\u5220\u9664\u6570\u636E\u6E90",isVisible:!0,iconName:"EditOutlined",onClick:function(){var g=Object(Le.a)(Object(Z.a)().mark(function P(I){var V,K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return V=I.target,K=I.commandService,ae=Object(Xe.a)(Object(Xe.a)({},V.data),{},{modalProps:{title:"\u786E\u8BA4\u5220\u9664\uFF1F"}}),ve.next=4,K.executeCommand(jm.SHOW_CONFIRM_MODAL.id,{nodeConfig:ae,confirmModalCallBack:function(){var Oe=Object(Le.a)(Object(Z.a)().mark(function Ie(){var Ye;return Object(Z.a)().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,K.executeCommand(Pf.DEL_NODE.id,{nodeConfig:{id:(V==null||(Ye=V.data)===null||Ye===void 0?void 0:Ye.id)||"",type:"dataSource",targetData:V.data}});case 2:K.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(jt,Ft){return Qh.saveGraphData(jt,Ft)}});case 3:case"end":return et.stop()}},Ie)}));function ke(){return Oe.apply(this,arguments)}return ke}()});case 4:case"end":return ve.stop()}},P)}));function b(P){return g.apply(this,arguments)}return b}()},d=u.VIEW_DIMENSION={id:jm.VIEW_DIMENSION.id,label:"\u67E5\u770B\u7EF4\u5EA6",isVisible:!0,iconName:"EditOutlined",onClick:function(){var g=Object(Le.a)(Object(Z.a)().mark(function P(I){var V,K,ae,ue;return Object(Z.a)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:V=I,K=V.target,ae=V.commandService,ue=V.modelService,nhe({commandService:ae,target:K});case 2:case"end":return Oe.stop()}},P)}));function b(P){return g.apply(this,arguments)}return b}()},v=u.SEPARATOR={id:"separator",type:LE.Separator}})(kP||(kP={}));var ohe=Pde(function(u){u.setMenuModelService(function(){var i=Object(Le.a)(Object(Z.a)().mark(function c(o,t,r,d){var v,g,b;return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:v=o,g=v.type,b=v.cell,I.t0=g,I.next=I.t0==="node"?4:I.t0==="edge"?6:I.t0==="blank"?8:10;break;case 4:return t.setValue({id:"root",type:LE.Root,submenu:[kP.DELETE_DATASOURCE_NODE]}),I.abrupt("break",12);case 6:return t.setValue({id:"root",type:LE.Root,submenu:[kP.DELETE_EDGE]}),I.abrupt("break",12);case 8:return t.setValue({id:"root",type:LE.Root,submenu:[kP.EMPTY_MENU]}),I.abrupt("break",12);case 10:return t.setValue({id:"root",type:LE.Root,submenu:[kP.EMPTY_MENU]}),I.abrupt("break",12);case 12:case"end":return I.stop()}},c)}));return function(c,o,t,r){return i.apply(this,arguments)}}())}),she={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},che=she,bue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:che}))};bue.displayName="SaveOutlined";var lhe=fe.forwardRef(bue),uhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},dhe=uhe,Oue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:dhe}))};Oue.displayName="CloudSyncOutlined";var fhe=fe.forwardRef(Oue),phe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z"}}]},name:"gateway",theme:"outlined"},vhe=phe,Cue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:vhe}))};Cue.displayName="GatewayOutlined";var hhe=fe.forwardRef(Cue),ghe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}},{tag:"path",attrs:{d:"M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z"}}]},name:"group",theme:"outlined"},mhe=ghe,Eue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:mhe}))};Eue.displayName="GroupOutlined";var _he=fe.forwardRef(Eue),yhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}}]},name:"ungroup",theme:"outlined"},bhe=yhe,xue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:bhe}))};xue.displayName="UngroupOutlined";var Ohe=fe.forwardRef(xue),Che={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z"}},{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:"play-square",theme:"outlined"},Ehe=Che,Sue=function(i,c){return fe.createElement(_a.a,Object(Te.a)(Object(Te.a)({},i),{},{ref:c,icon:Ehe}))};Sue.displayName="PlaySquareOutlined";var xhe=fe.forwardRef(Sue),nF;(function(u){Ch.set("SaveOutlined",lhe),Ch.set("CloudSyncOutlined",fhe),Ch.set("GatewayOutlined",hhe),Ch.set("GroupOutlined",_he),Ch.set("UngroupOutlined",Ohe),Ch.set("PlaySquareOutlined",xhe),Ch.set("StopOutlined",yue);var i=u.getDependencies=function(){var t=Object(Le.a)(Object(Z.a)().mark(function r(d){return Object(Z.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,ne.SELECTED_CELLS.getModel(d);case 2:return g.t0=g.sent,g.next=5,ne.GRAPH_ENABLE_MULTI_SELECT.getModel(d);case 5:return g.t1=g.sent,g.next=8,Bp.MODEL.getModel(d);case 8:return g.t2=g.sent,g.abrupt("return",[g.t0,g.t1,g.t2]);case 10:case"end":return g.stop()}},r)}));return function(r){return t.apply(this,arguments)}}(),c=u.getToolbarState=function(){var t=Object(Le.a)(Object(Z.a)().mark(function r(d){var v,g,b,P,I;return Object(Z.a)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,ne.GRAPH_ENABLE_MULTI_SELECT.useValue(d);case 2:return v=K.sent,g=v.isEnable,K.next=6,ne.IS_GROUP_SELECTED.useValue(d);case 6:return b=K.sent,K.next=9,ne.IS_NORMAL_NODES_SELECTED.useValue(d);case 9:return P=K.sent,K.next=12,Bp.MODEL.useValue(d);case 12:return I=K.sent,K.abrupt("return",{isNodeSelected:P,isGroupSelected:b,isMultiSelectionActive:g,isProcessing:I.graphStatus===Bp.StatusEnum.PROCESSING});case 14:case"end":return K.stop()}},r)}));return function(r){return t.apply(this,arguments)}}(),o=u.getToolbarItems=Object(Le.a)(Object(Z.a)().mark(function t(){var r,d,v;return Object(Z.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return r=[],d=[],v=[],r.push({id:qu.SAVE_GRAPH_DATA.id,iconName:"SaveOutlined",tooltip:"\u4FDD\u5B58\u6570\u636E",onClick:function(){var P=Object(Le.a)(Object(Z.a)().mark(function V(K){var ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:ae=K.commandService,ae.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(ke,Ie){return Qh.saveGraphData(ke,Ie)}});case 2:case"end":return ve.stop()}},V)}));function I(V){return P.apply(this,arguments)}return I}()}),b.abrupt("return",[{name:"graphData",items:r},{name:"groupOperations",items:d},{name:"customCmd",items:v}]);case 5:case"end":return b.stop()}},t)}))})(nF||(nF={}));var Cge=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(){var c;return Object(Z.a)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=[],c.push({id:f$.QUERY_GRAPH_STATUS.id+"switchShowType",render:function(){return Object(le.jsxs)(wh.a.Group,{defaultValue:"dataSource",buttonStyle:"solid",size:"small",children:[Object(le.jsx)(wh.a.Button,{value:"dataSource",children:"\u6570\u636E\u6E90"}),Object(le.jsx)(wh.a.Button,{value:"dimension",children:"\u7EF4\u5EA6"}),Object(le.jsx)(wh.a.Button,{value:"metric",children:"\u6307\u6807"})]})}}),t.abrupt("return",[{name:"extra",items:c}]);case 3:case"end":return t.stop()}},i)}));return function(){return u.apply(this,arguments)}}(),She=ale(function(u){u.setToolbarModelService(function(){var i=Object(Le.a)(Object(Z.a)().mark(function c(o,t,r){var d,v,g;return Object(Z.a)().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return d=function(){var I=Object(Le.a)(Object(Z.a)().mark(function V(){var K,ae;return Object(Z.a)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ve.next=2,nF.getToolbarState(t);case 2:return K=ve.sent,ve.next=5,nF.getToolbarItems(K);case 5:ae=ve.sent,o.setValue(function(Oe){Oe.mainGroups=ae});case 7:case"end":return ve.stop()}},V)}));return function(){return I.apply(this,arguments)}}(),P.next=3,nF.getDependencies(t);case 3:v=P.sent,g=v.map(function(I){return I.watch(Object(Le.a)(Object(Z.a)().mark(function V(){return Object(Z.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:d();case 1:case"end":return ae.stop()}},V)})))}),r.pushAll(g);case 6:case"end":return P.stop()}},c)}));return function(c,o,t){return i.apply(this,arguments)}}())}),whe=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(c,o,t){var r;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:r={nodeConfig:Object(Xe.a)(Object(Xe.a)({},c),{},{id:ug()})},o.executeCommand(Pf.ADD_NODE.id,r);case 2:case"end":return v.stop()}},i)}));return function(c,o,t){return u.apply(this,arguments)}}(),The=function(i){return Object(le.jsx)(vt.a,{size:"small",style:{width:"200px"},bordered:!1,children:"\u5C06\u6570\u636E\u6E90\u7EC4\u4EF6\u62D6\u5165\u753B\u5E03\uFF0C\u5BF9\u6570\u636E\u6E90\u8FDB\u884C\u8BBE\u7F6E\u53CA\u5173\u8054"})},Ahe=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(c,o){return Object(Z.a)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",[{id:"\u6570\u636E\u6E90",header:"\u6570\u636E\u6E90",children:[{id:"2",label:"\u65B0\u589E\u6570\u636E\u6E90",parentId:"1",renderKey:tF,popoverContent:Object(le.jsx)(The,{name:"\u6570\u636E\u6E90"})}]}]);case 1:case"end":return r.stop()}},i)}));return function(c,o){return u.apply(this,arguments)}}(),khe=function(){var u=Object(Le.a)(Object(Z.a)().mark(function i(){var c,o,t,r=arguments;return Object(Z.a)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return c=r.length>0&&r[0]!==void 0?r[0]:[],o=r.length>1?r[1]:void 0,t=c.filter(function(g){return g.label.includes(o)}),v.abrupt("return",t);case 4:case"end":return v.stop()}},i)}));return function(){return u.apply(this,arguments)}}(),Ege=l("JA98"),R$=Ot.a.Item,jhe=jl.a.Option,Mhe=function(i){var c=i.domainId,o=i.open,t=i.nodeDataSource,r=i.onClose,d=Ot.a.useForm(),v=Object(we.a)(d,1),g=v[0],b=Object(fe.useState)(!1),P=Object(we.a)(b,2),I=P[0],V=P[1],K=Object(fe.useState)([]),ae=Object(we.a)(K,2),ue=ae[0],ve=ae[1],Oe=Ep(),ke=function(){var et=Object(Le.a)(Object(Z.a)().mark(function yt(){return Object(Z.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.next=2,Oe.commandService.executeCommand(jm.DATASOURCE_RELATION.id,{});case 2:case"end":return Ft.stop()}},yt)}));return function(){return et.apply(this,arguments)}}();Object(fe.useEffect)(function(){var et,yt,jt=t.sourceData,Ft=t.targetData,Ht=(jt==null||(et=jt.datasourceDetail)===null||et===void 0?void 0:et.identifiers)||[],Gt=(Ft==null||(yt=Ft.datasourceDetail)===null||yt===void 0?void 0:yt.identifiers)||[],Jt=Gt.map(function(vn){return vn.bizName}),mn=Ht.reduce(function(vn,Yt){var En=Yt.bizName;return Jt.includes(En)&&vn.push(Yt),vn},[]);ve(mn.map(function(vn){var Yt=vn.name,En=vn.bizName;return{label:Yt,value:En}}))},[t]),Object(fe.useEffect)(function(){var et=t.sourceData,yt=t.targetData;if(!(!et||!yt)){var jt=Oe.commandService.getGlobal("dataSourceRelationList")||[],Ft=Jle(et.id,yt.id,jt);Ft?g.setFieldsValue({joinKey:Ft.joinKey}):g.setFieldsValue({joinKey:""})}},[t]);var Ie=function(){var yt,jt;return Object(le.jsxs)(le.Fragment,{children:[Object(le.jsx)(R$,{hidden:!0,name:"id",label:"ID",children:Object(le.jsx)(_s.a,{placeholder:"id"})}),Object(le.jsx)(R$,{label:"\u4E3B\u6570\u636E\u6E90:",children:t==null||(yt=t.sourceData)===null||yt===void 0?void 0:yt.name}),Object(le.jsx)(R$,{label:"\u5173\u8054\u6570\u636E\u6E90:",children:t==null||(jt=t.targetData)===null||jt===void 0?void 0:jt.name}),Object(le.jsx)(R$,{name:"joinKey",label:"\u53EF\u5173\u8054Key:",tooltip:"\u4E3B\u4ECE\u6570\u636E\u6E90\u4E2D\u5FC5\u987B\u5177\u6709\u76F8\u540C\u7684\u4E3B\u952E\u6216\u5916\u952E\u624D\u53EF\u5EFA\u7ACB\u5173\u8054\u5173\u7CFB",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054Key"}],children:Object(le.jsx)(jl.a,{placeholder:"\u8BF7\u9009\u62E9\u5173\u8054Key",children:ue.map(function(Ft){return Object(le.jsx)(jhe,{value:Ft.value,children:Ft.label},Ft.value)})})})]})},Ye=function(){var et=Object(Le.a)(Object(Z.a)().mark(function yt(){var jt,Ft,Ht,Gt,Jt,mn;return Object(Z.a)().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:return Yt.next=2,g.validateFields();case 2:return Ht=Yt.sent,V(!0),Yt.next=6,Object(If.g)(Object(Xe.a)({domainId:c,datasourceFrom:t==null||(jt=t.sourceData)===null||jt===void 0?void 0:jt.id,datasourceTo:t==null||(Ft=t.targetData)===null||Ft===void 0?void 0:Ft.id},Ht));case 6:if(Gt=Yt.sent,Jt=Gt.code,mn=Gt.msg,V(!1),Jt!==200){Yt.next=15;break}return Ee.default.success("\u4FDD\u5B58\u6210\u529F"),ke(),r==null||r(),Yt.abrupt("return");case 15:Ee.default.error(mn);case 16:case"end":return Yt.stop()}},yt)}));return function(){return et.apply(this,arguments)}}(),Ze=function(){return Object(le.jsxs)(lt.b,{children:[Object(le.jsx)(it.a,{onClick:function(){r==null||r()},children:"\u53D6\u6D88"}),Object(le.jsx)(it.a,{type:"primary",loading:I,onClick:function(){Ye()},children:"\u5B8C\u6210"})]})};return Object(le.jsx)(He.a,{forceRender:!0,width:400,getContainer:!1,title:"\u6570\u636E\u6E90\u5173\u8054\u4FE1\u606F",mask:!1,open:o,footer:Ze(),onClose:function(){r==null||r()},children:Object(le.jsx)(Ot.a,Object(Xe.a)(Object(Xe.a)({},GO.a),{},{form:g,children:Ie()}))})},Phe=Mhe,Rhe=function(i){var c=i.domainManger,o=c.selectDomainId,t=Object(fe.useState)(!1),r=Object(we.a)(t,2),d=r[0],v=r[1],g=Object(fe.useState)(!1),b=Object(we.a)(g,2),P=b[0],I=b[1],V=Object(fe.useState)(),K=Object(we.a)(V,2),ae=K[0],ue=K[1],ve=Object(fe.useState)({sourceData:{},targetData:{}}),Oe=Object(we.a)(ve,2),ke=Oe[0],Ie=Oe[1],Ye=Object(fe.useState)(!1),Ze=Object(we.a)(Ye,2),et=Ze[0],yt=Ze[1],jt=Object(fe.useState)(!1),Ft=Object(we.a)(jt,2),Ht=Ft[0],Gt=Ft[1],Jt=Ep(),mn=wle(Object(Xe.a)(Object(Xe.a)({},i),{},{targetType:["node","edge","canvas","group"],position:{}})),vn=mn.state,Yt=mn.commandService,En=mn.modelService,or=Vce({getModel:function(){var Aa=Object(Le.a)(Object(Z.a)().mark(function ca(){return Object(Z.a)().wrap(function(ai){for(;;)switch(ai.prev=ai.next){case 0:return ai.next=2,En.awaitModel(AP.ID);case 2:return ai.abrupt("return",ai.sent);case 3:case"end":return ai.stop()}},ca)}));function Fr(){return Aa.apply(this,arguments)}return Fr}(),initialState:!1}),$r=Object(we.a)(or,1),vr=$r[0];Object(fe.useEffect)(function(){var Aa=vr,Fr=Aa.open;v(Fr)},[vr]),Object(fe.useEffect)(function(){var Aa=vn.targetType,Fr=vn.targetData;if(Aa&&["node","edge"].includes(Aa)){var ca=Fr,fa=ca.renderKey,ai=ca.payload;if(fa===tF)if(ue(ai),!ai)yt(!0);else{var Wi;(ai==null||(Wi=ai.datasourceDetail)===null||Wi===void 0?void 0:Wi.queryType)==="table_query"?Gt(!0):I(!0)}else{var Co=Fr,zi=Co.sourceNodeData,us=Co.targetNodeData;Ie({sourceData:zi.payload,targetData:us.payload}),v(!0)}}},[vn]);var Er=function(){var Aa=Object(Le.a)(Object(Z.a)().mark(function Fr(){var ca;return Object(Z.a)().wrap(function(ai){for(;;)switch(ai.prev=ai.next){case 0:return ai.next=2,Jt.graphProvider.getGraphInstance();case 2:ca=ai.sent,ca.resetSelection();case 4:case"end":return ai.stop()}},Fr)}));return function(){return Aa.apply(this,arguments)}}(),Hr=function(){Er(),v(!1)};return Object(le.jsxs)(Bb,{position:{},children:[Object(le.jsx)(Phe,{domainId:c.selectDomainId,nodeDataSource:ke,onClose:function(){Hr()},open:d}),Ht&&Object(le.jsx)(T0,{basicInfoFormMode:"fast",domainId:Number(o),dataSourceItem:ae,onCancel:function(){Gt(!1)},onSubmit:function(Fr){Gt(!1);var ca=vn.targetCell,fa=vn.targetData;ca==null||ca.setData(Object(Xe.a)(Object(Xe.a)({},fa),{},{label:Fr.name,payload:Fr,id:"dataSource-".concat(Fr.id)})),ue(void 0),Yt.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(Wi,Co){return Qh.saveGraphData(Wi,Co)}})},createModalVisible:Ht}),Object(le.jsx)(He.a,{width:"100%",destroyOnClose:!0,title:"\u6570\u636E\u6E90\u7F16\u8F91",open:P,onClose:function(){Er(),I(!1),ue(void 0)},footer:null,children:Object(le.jsx)(zF,{initialValues:ae,domainId:Number(c==null?void 0:c.selectDomainId),onSubmitSuccess:function(Fr){I(!1);var ca=vn.targetCell,fa=vn.targetData;ca==null||ca.setData(Object(Xe.a)(Object(Xe.a)({},fa),{},{label:Fr.name,payload:Fr,id:"dataSource-".concat(Fr.id)})),ue(void 0),Yt.executeCommand(qu.SAVE_GRAPH_DATA.id,{saveGraphDataService:function(Wi,Co){return Qh.saveGraphData(Wi,Co)}})}})}),Object(le.jsx)(VT,{open:et,onCancel:function(){Er(),yt(!1)},onTypeChange:function(Fr){Fr==="fast"?Gt(!0):I(!0),yt(!1)}})]})},Dhe=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(Rhe),Ihe=function(i){var c=i.controlMapService,o=i.formSchemaService,t=i.formValueUpdateService,r=function(){var g=Object(Le.a)(Object(Z.a)().mark(function b(){return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:case"end":return I.stop()}},b)}));return function(){return g.apply(this,arguments)}}(),d=function(){var g=Object(Le.a)(Object(Z.a)().mark(function b(){return Object(Z.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.abrupt("return",{tabs:[]});case 1:case"end":return I.stop()}},b)}));return function(){return g.apply(this,arguments)}}(),v=function(b){return b};return Object(le.jsx)(Bb,{position:{},children:Object(le.jsx)(Dhe,{controlMapService:c||v,formSchemaService:o||d,formValueUpdateService:t||r})})},Nhe=Ihe,xge=l("sfHF"),wue=function(u){Object(Cc.a)(c,u);var i=Object(Ec.a)(c);function c(){var o;Object(xi.a)(this,c);for(var t=arguments.length,r=new Array(t),d=0;d<t;d++)r[d]=arguments[d];return o=i.call.apply(i,[this].concat(r)),o.knob=void 0,o}return Object(Pi.a)(c,[{key:"render",value:function(){return this.knob||(this.knob=bh.createElement("div",!1),this.knob.style.position="absolute",this.container.appendChild(this.knob)),this}},{key:"toggleTooltip",value:function(t){this.knob&&(Jo.a.unmountComponentAtNode(this.knob),t&&Jo.a.render(Object(le.jsx)(Ni.a,{title:this.options.tooltip,open:t,destroyTooltipOnHide:!0,children:Object(le.jsx)("div",{})}),this.knob))}},{key:"onMosueEnter",value:function(t){var r=t.e;this.updatePosition(r),this.toggleTooltip(!0)}},{key:"onMouseLeave",value:function(){this.updatePosition(),this.toggleTooltip(!1)}},{key:"onMouseMove",value:function(){this.updatePosition(),this.toggleTooltip(!1)}},{key:"delegateEvents",value:function(){return this.cellView.on("cell:mouseenter",this.onMosueEnter,this),this.cellView.on("cell:mouseleave",this.onMouseLeave,this),this.cellView.on("cell:mousemove",this.onMouseMove,this),Object($u.a)(Object(Wu.a)(c.prototype),"delegateEvents",this).call(this)}},{key:"updatePosition",value:function(t){var r=this.knob.style;if(t){var d=this.graph.clientToGraph(t.clientX,t.clientY);r.display="block",r.left="".concat(d.x,"px"),r.top="".concat(d.y,"px")}else r.display="none",r.left="-1000px",r.top="-1000px"}},{key:"onRemove",value:function(){this.toggleTooltip(!1),this.cellView.off("cell:mouseenter",this.onMosueEnter,this),this.cellView.off("cell:mouseleave",this.onMouseLeave,this),this.cellView.off("cell:mousemove",this.onMouseMove,this)}}]),c}(bh.ToolItem);wue.config({tagName:"div",isSVGElement:!1}),bf.registerEdgeTool("tooltip",wue,!0);var Lhe=function(i){var c=i.domainManger,o=Fve(i),t=She(),r=ohe(),d=the(),v=rhe(),g=Object(fe.useState)(),b=Object(we.a)(g,2),P=b[0],I=b[1],V=Object(fe.useState)({flowId:"semanticFlow",domainManger:c}),K=Object(we.a)(V,2),ae=K[0],ue=K[1],ve=pe.a.useMemo(function(){return{app:null}},[])||{},Oe=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(){var et,yt,jt,Ft;return Object(Z.a)().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return Gt.next=2,Object(If.B)(c.selectDomainId);case 2:et=Gt.sent,yt=et.code,jt=et.data,yt===200&&(Ft=Hve(jt),I(Ft||{}));case 6:case"end":return Gt.stop()}},Ze)}));return function(){return Ye.apply(this,arguments)}}();Object(fe.useEffect)(function(){Oe()},[c.selectDomainId]),Object(fe.useEffect)(function(){ue(Object(Xe.a)(Object(Xe.a)({},ae),{},{domainManger:c,graphConfig:P}))},[P]);var ke=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:ve.app=et,mue(ve.app);case 2:case"end":return jt.stop()}},Ze)}));return function(et){return Ye.apply(this,arguments)}}(),Ie=function(){var Ye=Object(Le.a)(Object(Z.a)().mark(function Ze(et){return Object(Z.a)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,et.executeCommand(qu.LOAD_META.id,{meta:ae});case 2:mue(et);case 3:case"end":return jt.stop()}},Ze)}));return function(et){return Ye.apply(this,arguments)}}();return pe.a.useEffect(function(){ve.app&&Ie(ve.app)},[ve.app,ae]),Object(le.jsx)("div",{id:"semanticFlowContainer",style:{height:"100%"},children:ae.graphConfig&&Object(le.jsxs)(woe,{className:"dag-user-custom-clz dag-solution-layout",hookConfig:o,modelServiceConfig:v,commandConfig:d,onLoad:ke,meta:ae,children:[Object(le.jsx)(ppe,{layout:"LR"}),Object(le.jsx)(Ufe,{className:"xflow-node-panel",searchService:khe,nodeDataService:Ahe,onNodeDrop:whe,position:{width:230,top:0,bottom:0,left:0},footerPosition:{height:0},bodyPosition:{top:40,bottom:0,left:0}}),Object(le.jsx)(rle,{className:"xflow-workspace-toolbar-top",layout:"horizontal",config:t,position:{top:0,left:230,right:0,bottom:0}}),Object(le.jsxs)(X2,{position:{top:40,left:230,right:0,bottom:0},children:[Object(le.jsx)(Xde,{position:{top:60,left:20}}),Object(le.jsx)(Mde,{config:r}),Object(le.jsx)(nde,{color:"#faad14"}),Object(le.jsx)(ode,{})]}),Object(le.jsx)(Nhe,{})]})})},Fhe=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(Lhe),Uhe=function(i){var c=i.domainManger,o=i.dispatch;window.RUNNING_ENV="semantic";var t="xflow",r=Object(Ke.l)(),d=r.menuKey?r.menuKey:t,v=r.modelId,g=c.selectDomainId,b=c.selectDomainName,P=c.domainList,I=Object(fe.useState)([]),V=Object(we.a)(I,2),K=V[0],ae=V[1],ue=Object(fe.useState)(!1),ve=Object(we.a)(ue,2),Oe=ve[0],ke=ve[1],Ie=Object(fe.useState)(!1),Ye=Object(we.a)(Ie,2),Ze=Ye[0],et=Ye[1],yt=Object(fe.useState)(d),jt=Object(we.a)(yt,2),Ft=jt[0],Ht=jt[1],Gt=function($r){var vr=$r.filter(function(fa){return"".concat(fa.id)===v})[0];if(vr){var Fr=vr.id,ca=vr.name;o({type:"domainManger/setSelectDomain",selectDomainId:Fr,selectDomainName:ca,domainData:vr})}else{var Er=$r.filter(function(fa){return fa.parentId===0})[0];if(Er){var Hr=Er.id,Aa=Er.name;o({type:"domainManger/setSelectDomain",selectDomainId:Hr,selectDomainName:Aa,domainData:Er})}}},Jt=function(){var or=Object(Le.a)(Object(Z.a)().mark(function $r(){var vr,Er,Hr,Aa;return Object(Z.a)().wrap(function(ca){for(;;)switch(ca.prev=ca.next){case 0:return ca.next=2,Object(If.x)();case 2:vr=ca.sent,Er=vr.code,Hr=vr.data,Aa=vr.msg,Er===200?(g||Gt(Hr),o({type:"domainManger/setDomainList",payload:{domainList:Hr}})):Ee.default.error(Aa);case 7:case"end":return ca.stop()}},$r)}));return function(){return or.apply(this,arguments)}}();Object(fe.useEffect)(function(){Jt()},[]),Object(fe.useEffect)(function(){if(!!g){var or=Object(s6.d)(P,g);if(ae(or),Array.isArray(or)&&or.length>0)ke(!1),vn(g,"overview"),Ht("overview");else{ke(!0);var $r=d==="overview"?t:d;vn(g,$r),Ht($r)}}},[P,g]);var mn=function($r){et($r)},vn=function($r,vr){Me.d.push("/semanticModel/".concat($r,"/").concat(vr))};Object(fe.useEffect)(function(){g&&(o({type:"domainManger/queryDimensionList",payload:{domainId:g}}),o({type:"domainManger/queryMetricList",payload:{domainId:g}}),o({type:"domainManger/queryDatabaseByDomainId",payload:{domainId:g}}))},[g]);var Yt=[{label:"\u5B50\u4E3B\u9898\u57DF",key:"overview",children:Object(le.jsx)(pW.a,{modelList:K})},{label:"\u6743\u9650\u7BA1\u7406",key:"permissonSetting",children:Object(le.jsx)(l6,{})}],En=[{label:"\u53EF\u89C6\u5316\u5EFA\u6A21",key:"xflow",children:Object(le.jsx)("div",{style:{width:"100%",height:"calc(100vh - 200px)"},children:Object(le.jsx)(Fhe,{})})},{label:"\u6570\u636E\u5E93",key:"dataBase",children:Object(le.jsx)(Bm,{})},{label:"\u6570\u636E\u6E90",key:"dataSource",children:Object(le.jsx)($F,{})},{label:"\u7EF4\u5EA6",key:"dimenstion",children:Object(le.jsx)(tW,{},g)},{label:"\u6307\u6807",key:"metric",children:Object(le.jsx)(KT,{})},{label:"\u6743\u9650\u7BA1\u7406",key:"permissonSetting",children:Object(le.jsx)(l6,{})}];return Object(le.jsxs)("div",{className:yv.a.projectBody,children:[Object(le.jsx)(Me.a,{title:"\u8BED\u4E49\u5EFA\u6A21-\u8D85\u97F3\u6570"}),Object(le.jsxs)("div",{className:yv.a.projectManger,children:[Object(le.jsx)("h2",{className:yv.a.title,children:Object(le.jsx)(me.a,{zIndex:1e3,overlayInnerStyle:{overflow:"scroll",maxHeight:"800px"},content:Object(le.jsx)(ze.a,{onTreeSelected:function(){et(!1)},onTreeDataUpdate:function(){Jt()}}),trigger:"click",open:Ze,onOpenChange:mn,children:Object(le.jsxs)("div",{className:yv.a.domainSelector,children:[Object(le.jsx)("span",{className:yv.a.domainTitle,children:b?"\u5F53\u524D\u4E3B\u9898\u57DF\uFF1A".concat(b):"\u4E3B\u9898\u57DF\u4FE1\u606F"}),Object(le.jsx)("span",{className:yv.a.downIcon,children:Object(le.jsx)(xr.a,{})})]})})}),g?Object(le.jsx)(le.Fragment,{children:Object(le.jsx)(oe.a,{className:yv.a.tab,items:Oe?En:Yt,activeKey:Ft,destroyInactiveTabPane:!0,onChange:function($r){Ht($r),vn(g,$r)}})}):Object(le.jsx)("h2",{className:yv.a.mainTip,children:"\u8BF7\u9009\u62E9\u9879\u76EE"})]})]})},Sge=R.default=Object(Me.c)(function(u){var i=u.domainManger;return{domainManger:i}})(Uhe)},vuIU:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("o46R");function m(C,k){for(var A=0;A<k.length;A++){var S=k[A];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,Object(E.a)(S.key),S)}}function O(C,k,A){return k&&m(C.prototype,k),A&&m(C,A),Object.defineProperty(C,"prototype",{writable:!1}),C}},"w/wX":function(ce,R,l){var E=l("QqLw"),m=l("ExA7"),O="[object Set]";function C(k){return m(k)&&E(k)==O}ce.exports=C},w4Tj:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("oZsa");function m(C,k){for(;!Object.prototype.hasOwnProperty.call(C,k)&&(C=Object(E.a)(C),C!==null););return C}function O(){return typeof Reflect!="undefined"&&Reflect.get?O=Reflect.get.bind():O=function(k,A,S){var y=m(k,A);if(!!y){var w=Object.getOwnPropertyDescriptor(y,A);return w.get?w.get.call(arguments.length<3?k:S):w.value}},O.apply(this,arguments)}},w7pK:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Alpha=void 0;var E=Object.assign||function(U){for(var J=1;J<arguments.length;J++){var $=arguments[J];for(var X in $)Object.prototype.hasOwnProperty.call($,X)&&(U[X]=$[X])}return U},m=function(){function U(J,$){for(var X=0;X<$.length;X++){var ee=$[X];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(J,ee.key,ee)}}return function(J,$,X){return $&&U(J.prototype,$),X&&U(J,X),J}}(),O=l("q1tI"),C=j(O),k=l("/FUP"),A=j(k),S=l("T+mL"),y=T(S),w=l("TIy0"),x=j(w);function T(U){if(U&&U.__esModule)return U;var J={};if(U!=null)for(var $ in U)Object.prototype.hasOwnProperty.call(U,$)&&(J[$]=U[$]);return J.default=U,J}function j(U){return U&&U.__esModule?U:{default:U}}function D(U,J){if(!(U instanceof J))throw new TypeError("Cannot call a class as a function")}function N(U,J){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J&&(typeof J=="object"||typeof J=="function")?J:U}function F(U,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof J);U.prototype=Object.create(J&&J.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),J&&(Object.setPrototypeOf?Object.setPrototypeOf(U,J):U.__proto__=J)}var B=R.Alpha=function(U){F(J,U);function J(){var $,X,ee,ie;D(this,J);for(var G=arguments.length,Q=Array(G),W=0;W<G;W++)Q[W]=arguments[W];return ie=(X=(ee=N(this,($=J.__proto__||Object.getPrototypeOf(J)).call.apply($,[this].concat(Q))),ee),ee.handleChange=function(ne){var te=y.calculateChange(ne,ee.props.hsl,ee.props.direction,ee.props.a,ee.container);te&&typeof ee.props.onChange=="function"&&ee.props.onChange(te,ne)},ee.handleMouseDown=function(ne){ee.handleChange(ne),window.addEventListener("mousemove",ee.handleChange),window.addEventListener("mouseup",ee.handleMouseUp)},ee.handleMouseUp=function(){ee.unbindEventListeners()},ee.unbindEventListeners=function(){window.removeEventListener("mousemove",ee.handleChange),window.removeEventListener("mouseup",ee.handleMouseUp)},X),N(ee,ie)}return m(J,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var X=this,ee=this.props.rgb,ie=(0,A.default)({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("+ee.r+","+ee.g+","+ee.b+`, 0) 0%,
rgba(`+ee.r+","+ee.g+","+ee.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:ee.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("+ee.r+","+ee.g+","+ee.b+`, 0) 0%,
rgba(`+ee.r+","+ee.g+","+ee.b+", 1) 100%)"},pointer:{left:0,top:ee.a*100+"%"}},overwrite:E({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return C.default.createElement("div",{style:ie.alpha},C.default.createElement("div",{style:ie.checkboard},C.default.createElement(x.default,{renderers:this.props.renderers})),C.default.createElement("div",{style:ie.gradient}),C.default.createElement("div",{style:ie.container,ref:function(Q){return X.container=Q},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},C.default.createElement("div",{style:ie.pointer},this.props.pointer?C.default.createElement(this.props.pointer,this.props):C.default.createElement("div",{style:ie.slider}))))}}]),J}(O.PureComponent||O.Component);R.default=B},wBTz:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=T;var E=l("ux5W"),m=S(E),O=l("b+tR"),C=S(O),k=l("MMCX"),A=S(k);function S(j){return j&&j.__esModule?j:{default:j}}var y={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},w={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};function x(j,D){if((0,C.default)(j))return j;for(var N=j.split(/,(?![^()]*(?:\([^()]*\))?\))/g),F=0,B=N.length;F<B;++F){var U=N[F],J=[U];for(var $ in D){var X=(0,m.default)($);if(U.indexOf(X)>-1&&X!=="order")for(var ee=D[$],ie=0,G=ee.length;ie<G;++ie)J.unshift(U.replace(X,w[ee[ie]]+X))}N[F]=J.join(",")}return N.join(",")}function T(j,D,N,F){if(typeof D=="string"&&y.hasOwnProperty(j)){var B=x(D,F),U=B.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function($){return!/-moz-|-ms-/.test($)}).join(",");if(j.indexOf("Webkit")>-1)return U;var J=B.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function($){return!/-webkit-|-ms-/.test($)}).join(",");return j.indexOf("Moz")>-1?J:(N["Webkit"+(0,A.default)(j)]=U,N["Moz"+(0,A.default)(j)]=J,B)}}ce.exports=R.default},wCAj:function(ce,R,l){"use strict";var E=l("U8pU"),m=l("rePB"),O=l("wx14"),C=l("ODXe"),k=l("TSYQ"),A=l.n(k),S=l("VTBJ"),y=l("KQm4"),w=l("q1tI"),x=l.n(w),T=function(yn){if(!yn)return!1;if(yn instanceof Element){if(yn.offsetParent)return!0;if(yn.getBBox){var Dr=yn.getBBox(),Xr=Dr.width,Ta=Dr.height;if(Xr||Ta)return!0}if(yn.getBoundingClientRect){var Ra=yn.getBoundingClientRect(),wi=Ra.width,mo=Ra.height;if(wi||mo)return!0}}return!1},j=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,D=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,N="".concat(j," ").concat(D).split(/[\s\n]+/),F="aria-",B="data-";function U(yn,Dr){return yn.indexOf(Dr)===0}function J(yn){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xr;Dr===!1?Xr={aria:!0,data:!0,attr:!0}:Dr===!0?Xr={aria:!0}:Xr=Object(S.a)({},Dr);var Ta={};return Object.keys(yn).forEach(function(Ra){(Xr.aria&&(Ra==="role"||U(Ra,F))||Xr.data&&U(Ra,B)||Xr.attr&&N.includes(Ra))&&(Ta[Ra]=yn[Ra])}),Ta}function $(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var X=function(Dr){if($()&&window.document.documentElement){var Xr=Array.isArray(Dr)?Dr:[Dr],Ta=window.document.documentElement;return Xr.some(function(Ra){return Ra in Ta.style})}return!1},ee=function(Dr,Xr){if(!X(Dr))return!1;var Ta=document.createElement("div"),Ra=Ta.style[Dr];return Ta.style[Dr]=Xr,Ta.style[Dr]!==Ra};function ie(yn,Dr){return!Array.isArray(yn)&&Dr!==void 0?ee(yn,Dr):X(yn)}var G=l("Gytx"),Q=l.n(G),W={},ne=[],te=function(Dr){ne.push(Dr)};function _e(yn,Dr){if(!1)var Xr}function he(yn,Dr){if(!1)var Xr}function oe(){W={}}function ge(yn,Dr,Xr){!Dr&&!W[Xr]&&(yn(!1,Xr),W[Xr]=!0)}function me(yn,Dr){ge(_e,yn,Dr)}function Z(yn,Dr){ge(he,yn,Dr)}me.preMessage=te,me.resetWarned=oe,me.noteOnce=Z;var xe=me,Ee=l("t23M"),Le;function we(yn){if(typeof document=="undefined")return 0;if(yn||Le===void 0){var Dr=document.createElement("div");Dr.style.width="100%",Dr.style.height="200px";var Xr=document.createElement("div"),Ta=Xr.style;Ta.position="absolute",Ta.top="0",Ta.left="0",Ta.pointerEvents="none",Ta.visibility="hidden",Ta.width="200px",Ta.height="150px",Ta.overflow="hidden",Xr.appendChild(Dr),document.body.appendChild(Xr);var Ra=Dr.offsetWidth;Xr.style.overflow="scroll";var wi=Dr.offsetWidth;Ra===wi&&(wi=Xr.clientWidth),document.body.removeChild(Xr),Le=Ra-wi}return Le}function fe(yn){var Dr=yn.match(/^(.*)px$/),Xr=Number(Dr==null?void 0:Dr[1]);return Number.isNaN(Xr)?we():Xr}function pe(yn){if(typeof document=="undefined"||!yn||!(yn instanceof Element))return{width:0,height:0};var Dr=getComputedStyle(yn,"::-webkit-scrollbar"),Xr=Dr.width,Ta=Dr.height;return{width:fe(Xr),height:fe(Ta)}}function Ke(yn){return null}var Me=Ke;function ze(yn){return null}var Ue=ze,He=l("Ff2n"),Ne=l("TOwV");function it(yn,Dr,Xr){var Ta=w.useRef({});return(!("value"in Ta.current)||Xr(Ta.current.condition,Dr))&&(Ta.current.value=yn(),Ta.current.condition=Dr),Ta.current.value}function Xe(yn,Dr){typeof yn=="function"?yn(Dr):Object(E.a)(yn)==="object"&&yn&&"current"in yn&&(yn.current=Dr)}function ht(){for(var yn=arguments.length,Dr=new Array(yn),Xr=0;Xr<yn;Xr++)Dr[Xr]=arguments[Xr];var Ta=Dr.filter(function(Ra){return Ra});return Ta.length<=1?Ta[0]:function(Ra){Dr.forEach(function(wi){Xe(wi,Ra)})}}function lt(){for(var yn=arguments.length,Dr=new Array(yn),Xr=0;Xr<yn;Xr++)Dr[Xr]=arguments[Xr];return it(function(){return ht.apply(void 0,Dr)},Dr,function(Ta,Ra){return Ta.length===Ra.length&&Ta.every(function(wi,mo){return wi===Ra[mo]})})}function Et(yn){var Dr,Xr,Ta=Object(Ne.isMemo)(yn)?yn.type.type:yn.type;return!(typeof Ta=="function"&&!((Dr=Ta.prototype)!==null&&Dr!==void 0&&Dr.render)||typeof yn=="function"&&!((Xr=yn.prototype)!==null&&Xr!==void 0&&Xr.render))}var tt="RC_TABLE_KEY";function mt(yn){return yn==null?[]:Array.isArray(yn)?yn:[yn]}function xt(yn,Dr){if(!Dr&&typeof Dr!="number")return yn;for(var Xr=mt(Dr),Ta=yn,Ra=0;Ra<Xr.length;Ra+=1){if(!Ta)return null;var wi=Xr[Ra];Ta=Ta[wi]}return Ta}function Xt(yn){var Dr=[],Xr={};return yn.forEach(function(Ta){for(var Ra=Ta||{},wi=Ra.key,mo=Ra.dataIndex,Yi=wi||mt(mo).join("-")||tt;Xr[Yi];)Yi="".concat(Yi,"_next");Xr[Yi]=!0,Dr.push(Yi)}),Dr}function vt(yn){return yn!=null}var qe=w.createContext(!1),Re=qe,Se=$()?w.useLayoutEffect:w.useEffect,Ve=function(Dr,Xr){var Ta=w.useRef(!0);Se(function(){return Dr(Ta.current)},Xr),Se(function(){return Ta.current=!1,function(){Ta.current=!0}},[])},Ge=function(Dr,Xr){Ve(function(Ta){if(!Ta)return Dr()},Xr)},_t=Ve;function bt(yn){var Dr=w.useRef();Dr.current=yn;var Xr=w.useCallback(function(){for(var Ta,Ra=arguments.length,wi=new Array(Ra),mo=0;mo<Ra;mo++)wi[mo]=arguments[mo];return(Ta=Dr.current)===null||Ta===void 0?void 0:Ta.call.apply(Ta,[Dr].concat(wi))},[]);return Xr}function gt(){var yn=w.createContext(null),Dr=function(Ta){var Ra=Ta.value,wi=Ta.children,mo=w.useRef(Ra);mo.current=Ra;var Yi=w.useState(function(){return{getValue:function(){return mo.current},listeners:new Set}}),Ji=Object(C.a)(Yi,1),Vs=Ji[0];return _t(function(){Vs.listeners.forEach(function(Jo){Jo(Ra)})},[Ra]),w.createElement(yn.Provider,{value:Vs},wi)};return{Context:yn,Provider:Dr}}function at(yn,Dr){var Xr=bt(Dr),Ta=w.useContext(yn==null?void 0:yn.Context),Ra=Ta||{},wi=Ra.listeners,mo=Ra.getValue,Yi=w.useState(function(){return Xr(Ta?mo():null)}),Ji=Object(C.a)(Yi,2),Vs=Ji[0],Jo=Ji[1];return _t(function(){if(!Ta)return;function dn(pn){Jo(function(sr){var lr=Xr(pn);return Q()(sr,lr)?sr:lr})}return wi.add(dn),function(){wi.delete(dn)}},[Ta]),Vs}var ft=gt(),Fe=ft,Te=w.createContext(null),ut=Te,le=w.createContext({renderWithProps:!1}),$e=le,Qe=["colSpan","rowSpan","style","className"];function Tt(yn,Dr,Xr,Ta){var Ra=yn+Dr-1;return yn<=Ta&&Ra>=Xr}function Ot(yn){return yn&&Object(E.a)(yn)==="object"&&!Array.isArray(yn)&&!w.isValidElement(yn)}function Ut(yn){return typeof yn=="string"?!0:Et(yn)}var At=function(Dr){var Xr=Dr.ellipsis,Ta=Dr.rowType,Ra=Dr.children,wi,mo=Xr===!0?{showTitle:!0}:Xr;return mo&&(mo.showTitle||Ta==="header")&&(typeof Ra=="string"||typeof Ra=="number"?wi=Ra.toString():w.isValidElement(Ra)&&typeof Ra.props.children=="string"&&(wi=Ra.props.children)),wi};function Pt(yn,Dr){var Xr,Ta,Ra,wi=yn.prefixCls,mo=yn.className,Yi=yn.record,Ji=yn.index,Vs=yn.renderIndex,Jo=yn.dataIndex,dn=yn.render,pn=yn.children,sr=yn.component,lr=sr===void 0?"td":sr,_a=yn.colSpan,Fa=yn.rowSpan,Va=yn.fixLeft,di=yn.fixRight,Ci=yn.firstFixLeft,wo=yn.lastFixLeft,ho=yn.firstFixRight,Io=yn.lastFixRight,Fo=yn.appendNode,xs=yn.additionalProps,ms=xs===void 0?{}:xs,ys=yn.ellipsis,bs=yn.align,Po=yn.rowType,yr=yn.isSticky,Ls=yn.hovering,Zs=yn.onHover,Sc="".concat(wi,"-cell"),Hs=w.useContext($e),bc=w.useContext(Re),cr=w.useContext(ut),qr=cr.allColumnsFixedLeft,yi=w.useMemo(function(){if(vt(pn))return[pn];var ws=xt(Yi,Jo),Cs=ws,$o=void 0;if(dn){var _c=dn(ws,Yi,Vs);Ot(_c)?(Cs=_c.children,$o=_c.props,Hs.renderWithProps=!0):Cs=_c}return[Cs,$o]},[Hs.renderWithProps?Math.random():0,pn,Jo,Hs,Yi,dn,Vs]),Ki=Object(C.a)(yi,2),uo=Ki[0],As=Ki[1],zc=uo;Object(E.a)(zc)==="object"&&!Array.isArray(zc)&&!w.isValidElement(zc)&&(zc=null),ys&&(wo||ho)&&(zc=w.createElement("span",{className:"".concat(Sc,"-content")},zc));var cc=As||{},fl=cc.colSpan,Bc=cc.rowSpan,Gl=cc.style,Fl=cc.className,pl=Object(He.a)(cc,Qe),gu=(Xr=fl!==void 0?fl:_a)!==null&&Xr!==void 0?Xr:1,bl=(Ta=Bc!==void 0?Bc:Fa)!==null&&Ta!==void 0?Ta:1;if(gu===0||bl===0)return null;var tu={},hl=typeof Va=="number"&&bc,ju=typeof di=="number"&&bc;hl&&(tu.position="sticky",tu.left=Va),ju&&(tu.position="sticky",tu.right=di);var il={};bs&&(il.textAlign=bs);var Mu=function(Cs){var $o;Yi&&Zs(Ji,Ji+bl-1),ms==null||($o=ms.onMouseEnter)===null||$o===void 0||$o.call(ms,Cs)},ji=function(Cs){var $o;Yi&&Zs(-1,-1),ms==null||($o=ms.onMouseLeave)===null||$o===void 0||$o.call(ms,Cs)},xa=At({rowType:Po,ellipsis:ys,children:uo}),as=Object(S.a)(Object(S.a)(Object(S.a)({title:xa},pl),ms),{},{colSpan:gu!==1?gu:null,rowSpan:bl!==1?bl:null,className:A()(Sc,mo,(Ra={},Object(m.a)(Ra,"".concat(Sc,"-fix-left"),hl&&bc),Object(m.a)(Ra,"".concat(Sc,"-fix-left-first"),Ci&&bc),Object(m.a)(Ra,"".concat(Sc,"-fix-left-last"),wo&&bc),Object(m.a)(Ra,"".concat(Sc,"-fix-left-all"),wo&&qr&&bc),Object(m.a)(Ra,"".concat(Sc,"-fix-right"),ju&&bc),Object(m.a)(Ra,"".concat(Sc,"-fix-right-first"),ho&&bc),Object(m.a)(Ra,"".concat(Sc,"-fix-right-last"),Io&&bc),Object(m.a)(Ra,"".concat(Sc,"-ellipsis"),ys),Object(m.a)(Ra,"".concat(Sc,"-with-append"),Fo),Object(m.a)(Ra,"".concat(Sc,"-fix-sticky"),(hl||ju)&&yr&&bc),Object(m.a)(Ra,"".concat(Sc,"-row-hover"),!As&&Ls),Ra),ms.className,Fl),style:Object(S.a)(Object(S.a)(Object(S.a)(Object(S.a)({},ms.style),il),tu),Gl),onMouseEnter:Mu,onMouseLeave:ji,ref:Ut(lr)?Dr:null});return w.createElement(lr,as,Fo,zc)}var Dt=w.forwardRef(Pt);Dt.displayName="Cell";var Qt=["expanded","className","hovering"],cn=w.memo(Dt,function(yn,Dr){return Dr.shouldCellUpdate?Qt.every(function(Xr){return yn[Xr]===Dr[Xr]})&&!Dr.shouldCellUpdate(Dr.record,yn.record):Q()(yn,Dr)}),$n=w.forwardRef(function(yn,Dr){var Xr=yn.index,Ta=yn.additionalProps,Ra=Ta===void 0?{}:Ta,wi=yn.colSpan,mo=yn.rowSpan,Yi=Ra.colSpan,Ji=Ra.rowSpan,Vs=wi!=null?wi:Yi,Jo=mo!=null?mo:Ji,dn=at(Fe,function(lr){var _a=Tt(Xr,Jo||1,lr==null?void 0:lr.startRow,lr==null?void 0:lr.endRow);return{onHover:lr==null?void 0:lr.onHover,hovering:_a}}),pn=dn.onHover,sr=dn.hovering;return w.createElement(cn,Object(O.a)({},yn,{colSpan:Vs,rowSpan:Jo,hovering:sr,ref:Dr,onHover:pn}))});$n.displayName="WrappedCell";var hn=$n,_n=w.createContext(null),bn=_n;function Bn(yn,Dr,Xr,Ta,Ra){var wi=Xr[yn]||{},mo=Xr[Dr]||{},Yi,Ji;wi.fixed==="left"?Yi=Ta.left[yn]:mo.fixed==="right"&&(Ji=Ta.right[Dr]);var Vs=!1,Jo=!1,dn=!1,pn=!1,sr=Xr[Dr+1],lr=Xr[yn-1];if(Ra==="rtl"){if(Yi!==void 0){var _a=lr&&lr.fixed==="left";pn=!_a}else if(Ji!==void 0){var Fa=sr&&sr.fixed==="right";dn=!Fa}}else if(Yi!==void 0){var Va=sr&&sr.fixed==="left";Vs=!Va}else if(Ji!==void 0){var di=lr&&lr.fixed==="right";Jo=!di}return{fixLeft:Yi,fixRight:Ji,lastFixLeft:Vs,firstFixRight:Jo,lastFixRight:dn,firstFixLeft:pn,isSticky:Ta.isSticky}}function Tn(yn){var Dr=yn.cells,Xr=yn.stickyOffsets,Ta=yn.flattenColumns,Ra=yn.rowComponent,wi=yn.cellComponent,mo=yn.onHeaderRow,Yi=yn.index,Ji=w.useContext(bn),Vs=Ji.prefixCls,Jo=Ji.direction,dn;mo&&(dn=mo(Dr.map(function(sr){return sr.column}),Yi));var pn=Xt(Dr.map(function(sr){return sr.column}));return w.createElement(Ra,dn,Dr.map(function(sr,lr){var _a=sr.column,Fa=Bn(sr.colStart,sr.colEnd,Ta,Xr,Jo),Va;return _a&&_a.onHeaderCell&&(Va=sr.column.onHeaderCell(_a)),w.createElement(hn,Object(O.a)({},sr,{ellipsis:_a.ellipsis,align:_a.align,component:wi,prefixCls:Vs,key:pn[lr]},Fa,{additionalProps:Va,rowType:"header"}))}))}Tn.displayName="HeaderRow";var Tr=Tn;function Sr(yn){var Dr=[];function Xr(mo,Yi){var Ji=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Dr[Ji]=Dr[Ji]||[];var Vs=Yi,Jo=mo.filter(Boolean).map(function(dn){var pn={key:dn.key,className:dn.className||"",children:dn.title,column:dn,colStart:Vs},sr=1,lr=dn.children;return lr&&lr.length>0&&(sr=Xr(lr,Vs,Ji+1).reduce(function(_a,Fa){return _a+Fa},0),pn.hasSubColumns=!0),"colSpan"in dn&&(sr=dn.colSpan),"rowSpan"in dn&&(pn.rowSpan=dn.rowSpan),pn.colSpan=sr,pn.colEnd=pn.colStart+sr-1,Dr[Ji].push(pn),Vs+=sr,sr});return Jo}Xr(yn,0);for(var Ta=Dr.length,Ra=function(Yi){Dr[Yi].forEach(function(Ji){!("rowSpan"in Ji)&&!Ji.hasSubColumns&&(Ji.rowSpan=Ta-Yi)})},wi=0;wi<Ta;wi+=1)Ra(wi);return Dr}function Wr(yn){var Dr=yn.stickyOffsets,Xr=yn.columns,Ta=yn.flattenColumns,Ra=yn.onHeaderRow,wi=w.useContext(bn),mo=wi.prefixCls,Yi=wi.getComponent,Ji=w.useMemo(function(){return Sr(Xr)},[Xr]),Vs=Yi(["header","wrapper"],"thead"),Jo=Yi(["header","row"],"tr"),dn=Yi(["header","cell"],"th");return w.createElement(Vs,{className:"".concat(mo,"-thead")},Ji.map(function(pn,sr){var lr=w.createElement(Tr,{key:sr,flattenColumns:Ta,cells:pn,stickyOffsets:Dr,rowComponent:Jo,cellComponent:dn,onHeaderRow:Ra,index:sr});return lr}))}var br=Wr,Wn=w.createContext(null),gr=Wn;function na(yn){var Dr=yn.prefixCls,Xr=yn.children,Ta=yn.component,Ra=yn.cellComponent,wi=yn.className,mo=yn.expanded,Yi=yn.colSpan,Ji=yn.isEmpty,Vs=w.useContext(bn),Jo=Vs.scrollbarSize,dn=w.useContext(gr),pn=dn.fixHeader,sr=dn.fixColumn,lr=dn.componentWidth,_a=dn.horizonScroll;return w.useMemo(function(){var Fa=Xr;return(Ji?_a:sr)&&(Fa=w.createElement("div",{style:{width:lr-(pn?Jo:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Dr,"-expanded-row-fixed")},lr!==0&&Fa)),w.createElement(Ta,{className:wi,style:{display:mo?null:"none"}},w.createElement(hn,{component:Ra,prefixCls:Dr,colSpan:Yi},Fa))},[Xr,Ta,wi,mo,Yi,Ji,Jo,lr,sr,pn,_a])}var jn=na,un=w.createContext(null),zt=un;function Bt(yn){var Dr=yn.className,Xr=yn.style,Ta=yn.record,Ra=yn.index,wi=yn.renderIndex,mo=yn.rowKey,Yi=yn.rowExpandable,Ji=yn.expandedKeys,Vs=yn.onRow,Jo=yn.indent,dn=Jo===void 0?0:Jo,pn=yn.rowComponent,sr=yn.cellComponent,lr=yn.childrenColumnName,_a=w.useContext(bn),Fa=_a.prefixCls,Va=_a.fixedInfoList,di=w.useContext(ut),Ci=di.flattenColumns,wo=di.expandableType,ho=di.expandRowByClick,Io=di.onTriggerExpand,Fo=di.rowClassName,xs=di.expandedRowClassName,ms=di.indentSize,ys=di.expandIcon,bs=di.expandedRowRender,Po=di.expandIconColumnIndex,yr=w.useState(!1),Ls=Object(C.a)(yr,2),Zs=Ls[0],Sc=Ls[1],Hs=Ji&&Ji.has(yn.recordKey);w.useEffect(function(){Hs&&Sc(!0)},[Hs]);var bc=wo==="row"&&(!Yi||Yi(Ta)),cr=wo==="nest",qr=lr&&Ta&&Ta[lr],yi=bc||cr,Ki=w.useRef(Io);Ki.current=Io;var uo=function(){Ki.current.apply(Ki,arguments)},As=Vs==null?void 0:Vs(Ta,Ra),zc=function(bl){var tu;ho&&yi&&uo(Ta,bl);for(var hl=arguments.length,ju=new Array(hl>1?hl-1:0),il=1;il<hl;il++)ju[il-1]=arguments[il];As==null||(tu=As.onClick)===null||tu===void 0||tu.call.apply(tu,[As,bl].concat(ju))},cc;typeof Fo=="string"?cc=Fo:typeof Fo=="function"&&(cc=Fo(Ta,Ra,dn));var fl=Xt(Ci),Bc=w.createElement(pn,Object(O.a)({},As,{"data-row-key":mo,className:A()(Dr,"".concat(Fa,"-row"),"".concat(Fa,"-row-level-").concat(dn),cc,As&&As.className),style:Object(S.a)(Object(S.a)({},Xr),As?As.style:null),onClick:zc}),Ci.map(function(gu,bl){var tu=gu.render,hl=gu.dataIndex,ju=gu.className,il=fl[bl],Mu=Va[bl],ji;bl===(Po||0)&&cr&&(ji=w.createElement(w.Fragment,null,w.createElement("span",{style:{paddingLeft:"".concat(ms*dn,"px")},className:"".concat(Fa,"-row-indent indent-level-").concat(dn)}),ys({prefixCls:Fa,expanded:Hs,expandable:qr,record:Ta,onExpand:uo})));var xa;return gu.onCell&&(xa=gu.onCell(Ta,Ra)),w.createElement(hn,Object(O.a)({className:ju,ellipsis:gu.ellipsis,align:gu.align,component:sr,prefixCls:Fa,key:il,record:Ta,index:Ra,renderIndex:wi,dataIndex:hl,render:tu,shouldCellUpdate:gu.shouldCellUpdate,expanded:ji&&Hs},Mu,{appendNode:ji,additionalProps:xa}))})),Gl;if(bc&&(Zs||Hs)){var Fl=bs(Ta,Ra,dn+1,Hs),pl=xs&&xs(Ta,Ra,dn);Gl=w.createElement(jn,{expanded:Hs,className:A()("".concat(Fa,"-expanded-row"),"".concat(Fa,"-expanded-row-level-").concat(dn+1),pl),prefixCls:Fa,component:pn,cellComponent:sr,colSpan:Ci.length,isEmpty:!1},Fl)}return w.createElement(w.Fragment,null,Bc,Gl)}Bt.displayName="BodyRow";var H=Bt;function ot(yn,Dr,Xr,Ta,Ra,wi){var mo=[];mo.push({record:yn,indent:Dr,index:wi});var Yi=Ra(yn),Ji=Ta==null?void 0:Ta.has(Yi);if(yn&&Array.isArray(yn[Xr])&&Ji)for(var Vs=0;Vs<yn[Xr].length;Vs+=1){var Jo=ot(yn[Xr][Vs],Dr+1,Xr,Ta,Ra,Vs);mo.push.apply(mo,Object(y.a)(Jo))}return mo}function nt(yn,Dr,Xr,Ta){var Ra=w.useMemo(function(){if(Xr==null?void 0:Xr.size){for(var wi=[],mo=0;mo<(yn==null?void 0:yn.length);mo+=1){var Yi=yn[mo];wi.push.apply(wi,Object(y.a)(ot(Yi,0,Dr,Xr,Ta,mo)))}return wi}return yn==null?void 0:yn.map(function(Ji,Vs){return{record:Ji,indent:0,index:Vs}})},[yn,Dr,Xr,Ta]);return Ra}function Ct(yn){var Dr=yn.columnKey,Xr=yn.onColumnResize,Ta=w.useRef();return w.useEffect(function(){Ta.current&&Xr(Dr,Ta.current.offsetWidth)},[]),w.createElement(Ee.a,{data:Dr},w.createElement("td",{ref:Ta,style:{padding:0,border:0,height:0}},w.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Wt(yn){var Dr=yn.prefixCls,Xr=yn.columnsKey,Ta=yn.onColumnResize;return w.createElement("tr",{"aria-hidden":"true",className:"".concat(Dr,"-measure-row"),style:{height:0,fontSize:0}},w.createElement(Ee.a.Collection,{onBatchResize:function(wi){wi.forEach(function(mo){var Yi=mo.data,Ji=mo.size;Ta(Yi,Ji.offsetWidth)})}},Xr.map(function(Ra){return w.createElement(Ct,{key:Ra,columnKey:Ra,onColumnResize:Ta})})))}function kn(yn){var Dr=yn.data,Xr=yn.getRowKey,Ta=yn.measureColumnWidth,Ra=yn.expandedKeys,wi=yn.onRow,mo=yn.rowExpandable,Yi=yn.emptyNode,Ji=yn.childrenColumnName,Vs=w.useContext(zt),Jo=Vs.onColumnResize,dn=w.useContext(bn),pn=dn.prefixCls,sr=dn.getComponent,lr=w.useContext(ut),_a=lr.flattenColumns,Fa=nt(Dr,Ji,Ra,Xr),Va=w.useRef({renderWithProps:!1}),di=w.useState(-1),Ci=Object(C.a)(di,2),wo=Ci[0],ho=Ci[1],Io=w.useState(-1),Fo=Object(C.a)(Io,2),xs=Fo[0],ms=Fo[1],ys=w.useCallback(function(Po,yr){ho(Po),ms(yr)},[]),bs=w.useMemo(function(){var Po=sr(["body","wrapper"],"tbody"),yr=sr(["body","row"],"tr"),Ls=sr(["body","cell"],"td"),Zs;Dr.length?Zs=Fa.map(function(Hs,bc){var cr=Hs.record,qr=Hs.indent,yi=Hs.index,Ki=Xr(cr,bc);return w.createElement(H,{key:Ki,rowKey:Ki,record:cr,recordKey:Ki,index:bc,renderIndex:yi,rowComponent:yr,cellComponent:Ls,expandedKeys:Ra,onRow:wi,getRowKey:Xr,rowExpandable:mo,childrenColumnName:Ji,indent:qr})}):Zs=w.createElement(jn,{expanded:!0,className:"".concat(pn,"-placeholder"),prefixCls:pn,component:yr,cellComponent:Ls,colSpan:_a.length,isEmpty:!0},Yi);var Sc=Xt(_a);return w.createElement(Po,{className:"".concat(pn,"-tbody")},Ta&&w.createElement(Wt,{prefixCls:pn,columnsKey:Sc,onColumnResize:Jo}),Zs)},[Dr,pn,wi,Ta,Ra,Xr,sr,Yi,_a,Ji,Jo,mo,Fa]);return w.createElement($e.Provider,{value:Va.current},w.createElement(Fe.Provider,{value:{startRow:wo,endRow:xs,onHover:ys}},bs))}var Sn=w.memo(kn);Sn.displayName="Body";var Zn=Sn;function Or(yn){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xr=[];return x.a.Children.forEach(yn,function(Ta){Ta==null&&!Dr.keepEmpty||(Array.isArray(Ta)?Xr=Xr.concat(Or(Ta)):Object(Ne.isFragment)(Ta)&&Ta.props?Xr=Xr.concat(Or(Ta.props.children,Dr)):Xr.push(Ta))}),Xr}var Yn=["expandable"],Nn="RC_TABLE_INTERNAL_COL_DEFINE";function Zt(yn){var Dr=yn.expandable,Xr=Object(He.a)(yn,Yn),Ta;return"expandable"in yn?Ta=Object(S.a)(Object(S.a)({},Xr),Dr):Ta=Xr,Ta.showExpandColumn===!1&&(Ta.expandIconColumnIndex=-1),Ta}var rr={},Gn=["children"],ln=["fixed"];function Xn(yn){return Or(yn).filter(function(Dr){return w.isValidElement(Dr)}).map(function(Dr){var Xr=Dr.key,Ta=Dr.props,Ra=Ta.children,wi=Object(He.a)(Ta,Gn),mo=Object(S.a)({key:Xr},wi);return Ra&&(mo.children=Xn(Ra)),mo})}function Kn(yn){return yn.reduce(function(Dr,Xr){var Ta=Xr.fixed,Ra=Ta===!0?"left":Ta,wi=Xr.children;return wi&&wi.length>0?[].concat(Object(y.a)(Dr),Object(y.a)(Kn(wi).map(function(mo){return Object(S.a)({fixed:Ra},mo)}))):[].concat(Object(y.a)(Dr),[Object(S.a)(Object(S.a)({},Xr),{},{fixed:Ra})])},[])}function fr(yn){for(var Dr=!0,Xr=0;Xr<yn.length;Xr+=1){var Ta=yn[Xr];if(Dr&&Ta.fixed!=="left")Dr=!1;else if(!Dr&&Ta.fixed==="left"){xe(!1,"Index ".concat(Xr-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ra=!0,wi=yn.length-1;wi>=0;wi-=1){var mo=yn[wi];if(Ra&&mo.fixed!=="right")Ra=!1;else if(!Ra&&mo.fixed==="right"){xe(!1,"Index ".concat(wi+1," of `columns` missing `fixed='right'` prop."));break}}}function Hn(yn){return yn.map(function(Dr){var Xr=Dr.fixed,Ta=Object(He.a)(Dr,ln),Ra=Xr;return Xr==="left"?Ra="right":Xr==="right"&&(Ra="left"),Object(S.a)({fixed:Ra},Ta)})}function Sa(yn,Dr){var Xr=yn.prefixCls,Ta=yn.columns,Ra=yn.children,wi=yn.expandable,mo=yn.expandedKeys,Yi=yn.columnTitle,Ji=yn.getRowKey,Vs=yn.onTriggerExpand,Jo=yn.expandIcon,dn=yn.rowExpandable,pn=yn.expandIconColumnIndex,sr=yn.direction,lr=yn.expandRowByClick,_a=yn.columnWidth,Fa=yn.fixed,Va=w.useMemo(function(){return Ta||Xn(Ra)},[Ta,Ra]),di=w.useMemo(function(){if(wi){var ho,Io=Va.slice();if(!Io.includes(rr)){var Fo=pn||0;Fo>=0&&Io.splice(Fo,0,rr)}var xs=Io.indexOf(rr);Io=Io.filter(function(Po,yr){return Po!==rr||yr===xs});var ms=Va[xs],ys;(Fa==="left"||Fa)&&!pn?ys="left":(Fa==="right"||Fa)&&pn===Va.length?ys="right":ys=ms?ms.fixed:null;var bs=(ho={},Object(m.a)(ho,Nn,{className:"".concat(Xr,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),Object(m.a)(ho,"title",Yi),Object(m.a)(ho,"fixed",ys),Object(m.a)(ho,"className","".concat(Xr,"-row-expand-icon-cell")),Object(m.a)(ho,"width",_a),Object(m.a)(ho,"render",function(yr,Ls,Zs){var Sc=Ji(Ls,Zs),Hs=mo.has(Sc),bc=dn?dn(Ls):!0,cr=Jo({prefixCls:Xr,expanded:Hs,expandable:bc,record:Ls,onExpand:Vs});return lr?w.createElement("span",{onClick:function(yi){return yi.stopPropagation()}},cr):cr}),ho);return Io.map(function(Po){return Po===rr?bs:Po})}return Va.filter(function(Po){return Po!==rr})},[wi,Va,Ji,mo,Jo,sr]),Ci=w.useMemo(function(){var ho=di;return Dr&&(ho=Dr(ho)),ho.length||(ho=[{render:function(){return null}}]),ho},[Dr,di,sr]),wo=w.useMemo(function(){return sr==="rtl"?Hn(Kn(Ci)):Kn(Ci)},[Ci,sr]);return[Ci,wo]}var Lr=Sa;function Ca(yn){var Dr=Object(w.useRef)(yn),Xr=Object(w.useState)({}),Ta=Object(C.a)(Xr,2),Ra=Ta[1],wi=Object(w.useRef)(null),mo=Object(w.useRef)([]);function Yi(Ji){mo.current.push(Ji);var Vs=Promise.resolve();wi.current=Vs,Vs.then(function(){if(wi.current===Vs){var Jo=mo.current,dn=Dr.current;mo.current=[],Jo.forEach(function(pn){Dr.current=pn(Dr.current)}),wi.current=null,dn!==Dr.current&&Ra({})}})}return Object(w.useEffect)(function(){return function(){wi.current=null}},[]),[Dr.current,Yi]}function za(yn){var Dr=Object(w.useRef)(yn||null),Xr=Object(w.useRef)();function Ta(){window.clearTimeout(Xr.current)}function Ra(mo){Dr.current=mo,Ta(),Xr.current=window.setTimeout(function(){Dr.current=null,Xr.current=void 0},100)}function wi(){return Dr.current}return Object(w.useEffect)(function(){return Ta},[]),[Ra,wi]}function Ma(yn,Dr,Xr){var Ta=Object(w.useMemo)(function(){for(var Ra=[],wi=[],mo=0,Yi=0,Ji=0;Ji<Dr;Ji+=1)if(Xr==="rtl"){wi[Ji]=Yi,Yi+=yn[Ji]||0;var Vs=Dr-Ji-1;Ra[Vs]=mo,mo+=yn[Vs]||0}else{Ra[Ji]=mo,mo+=yn[Ji]||0;var Jo=Dr-Ji-1;wi[Jo]=Yi,Yi+=yn[Jo]||0}return{left:Ra,right:wi}},[yn,Dr,Xr]);return Ta}var va=Ma,qa=["columnType"];function gi(yn){for(var Dr=yn.colWidths,Xr=yn.columns,Ta=yn.columCount,Ra=[],wi=Ta||Xr.length,mo=!1,Yi=wi-1;Yi>=0;Yi-=1){var Ji=Dr[Yi],Vs=Xr&&Xr[Yi],Jo=Vs&&Vs[Nn];if(Ji||Jo||mo){var dn=Jo||{},pn=dn.columnType,sr=Object(He.a)(dn,qa);Ra.unshift(w.createElement("col",Object(O.a)({key:Yi,style:{width:Ji}},sr))),mo=!0}}return w.createElement("colgroup",null,Ra)}var Qi=gi;function mi(yn){var Dr=yn.className,Xr=yn.children;return w.createElement("div",{className:Dr},Xr)}var Cr=mi,Un=w.createContext({}),Lt=Un;function gn(yn){var Dr=yn.className,Xr=yn.index,Ta=yn.children,Ra=yn.colSpan,wi=Ra===void 0?1:Ra,mo=yn.rowSpan,Yi=yn.align,Ji=w.useContext(bn),Vs=Ji.prefixCls,Jo=Ji.direction,dn=w.useContext(Lt),pn=dn.scrollColumnIndex,sr=dn.stickyOffsets,lr=dn.flattenColumns,_a=Xr+wi-1,Fa=_a+1===pn?wi+1:wi,Va=Bn(Xr,Xr+Fa-1,lr,sr,Jo);return w.createElement(hn,Object(O.a)({className:Dr,index:Xr,component:"td",prefixCls:Vs,record:null,dataIndex:null,align:Yi,colSpan:Fa,rowSpan:mo,render:function(){return Ta}},Va))}var Ln=["children"];function kr(yn){var Dr=yn.children,Xr=Object(He.a)(yn,Ln);return w.createElement("tr",Xr,Dr)}function ea(yn){var Dr=yn.children;return Dr}ea.Row=kr,ea.Cell=gn;var Qr=ea;function Na(yn){var Dr=yn.children,Xr=yn.stickyOffsets,Ta=yn.flattenColumns,Ra=w.useContext(bn),wi=Ra.prefixCls,mo=Ta.length-1,Yi=Ta[mo],Ji=w.useMemo(function(){return{stickyOffsets:Xr,flattenColumns:Ta,scrollColumnIndex:(Yi==null?void 0:Yi.scrollbar)?mo:null}},[Yi,Ta,mo,Xr]);return w.createElement(Lt.Provider,{value:Ji},w.createElement("tfoot",{className:"".concat(wi,"-summary")},Dr))}var ar=Na,pi=Qr;function _i(yn){var Dr,Xr=yn.prefixCls,Ta=yn.record,Ra=yn.onExpand,wi=yn.expanded,mo=yn.expandable,Yi="".concat(Xr,"-row-expand-icon");if(!mo)return w.createElement("span",{className:A()(Yi,"".concat(Xr,"-row-spaced"))});var Ji=function(Jo){Ra(Ta,Jo),Jo.stopPropagation()};return w.createElement("span",{className:A()(Yi,(Dr={},Object(m.a)(Dr,"".concat(Xr,"-row-expanded"),wi),Object(m.a)(Dr,"".concat(Xr,"-row-collapsed"),!wi),Dr)),onClick:Ji})}function ti(yn,Dr,Xr){var Ta=[];function Ra(wi){(wi||[]).forEach(function(mo,Yi){Ta.push(Dr(mo,Yi)),Ra(mo[Xr])})}return Ra(yn),Ta}var ui=l("i8i4"),Ri=l.n(ui);function ao(yn,Dr,Xr,Ta){var Ra=Ri.a.unstable_batchedUpdates?function(mo){Ri.a.unstable_batchedUpdates(Xr,mo)}:Xr;return yn!=null&&yn.addEventListener&&yn.addEventListener(Dr,Ra,Ta),{remove:function(){yn!=null&&yn.removeEventListener&&yn.removeEventListener(Dr,Ra,Ta)}}}var Zi=/margin|padding|width|height|max|min|offset/,Fi={left:!0,top:!0},Si={cssFloat:1,styleFloat:1,float:1};function qi(yn){return yn.nodeType===1?yn.ownerDocument.defaultView.getComputedStyle(yn,null):{}}function eo(yn,Dr,Xr){if(Dr=Dr.toLowerCase(),Xr==="auto"){if(Dr==="height")return yn.offsetHeight;if(Dr==="width")return yn.offsetWidth}return Dr in Fi||(Fi[Dr]=Zi.test(Dr)),Fi[Dr]?parseFloat(Xr)||0:Xr}function xo(yn,Dr){var Xr=arguments.length,Ta=qi(yn);return Dr=Si[Dr]?"cssFloat"in yn.style?"cssFloat":"styleFloat":Dr,Xr===1?Ta:eo(yn,Dr,Ta[Dr]||yn.style[Dr])}function cs(yn,Dr,Xr){var Ta=arguments.length;if(Dr=Si[Dr]?"cssFloat"in yn.style?"cssFloat":"styleFloat":Dr,Ta===3)return typeof Xr=="number"&&Zi.test(Dr)&&(Xr="".concat(Xr,"px")),yn.style[Dr]=Xr,Xr;for(var Ra in Dr)Dr.hasOwnProperty(Ra)&&cs(yn,Ra,Dr[Ra]);return qi(yn)}function ba(yn){return yn===document.body?document.documentElement.clientWidth:yn.offsetWidth}function sa(yn){return yn===document.body?window.innerHeight||document.documentElement.clientHeight:yn.offsetHeight}function Da(){var yn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Dr=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:yn,height:Dr}}function On(){var yn=document.documentElement.clientWidth,Dr=window.innerHeight||document.documentElement.clientHeight;return{width:yn,height:Dr}}function xn(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Rt(yn){var Dr=yn.getBoundingClientRect(),Xr=document.documentElement;return{left:Dr.left+(window.pageXOffset||Xr.scrollLeft)-(Xr.clientLeft||document.body.clientLeft||0),top:Dr.top+(window.pageYOffset||Xr.scrollTop)-(Xr.clientTop||document.body.clientTop||0)}}var mr=function(Dr,Xr){var Ta,Ra,wi=Dr.scrollBodyRef,mo=Dr.onScroll,Yi=Dr.offsetScroll,Ji=Dr.container,Vs=w.useContext(bn),Jo=Vs.prefixCls,dn=((Ta=wi.current)===null||Ta===void 0?void 0:Ta.scrollWidth)||0,pn=((Ra=wi.current)===null||Ra===void 0?void 0:Ra.clientWidth)||0,sr=dn&&pn*(pn/dn),lr=w.useRef(),_a=Ca({scrollLeft:0,isHiddenScrollBar:!1}),Fa=Object(C.a)(_a,2),Va=Fa[0],di=Fa[1],Ci=w.useRef({delta:0,x:0}),wo=w.useState(!1),ho=Object(C.a)(wo,2),Io=ho[0],Fo=ho[1],xs=function(){Fo(!1)},ms=function(Ls){Ls.persist(),Ci.current.delta=Ls.pageX-Va.scrollLeft,Ci.current.x=0,Fo(!0),Ls.preventDefault()},ys=function(Ls){var Zs,Sc=Ls||((Zs=window)===null||Zs===void 0?void 0:Zs.event),Hs=Sc.buttons;if(!Io||Hs===0){Io&&Fo(!1);return}var bc=Ci.current.x+Ls.pageX-Ci.current.x-Ci.current.delta;bc<=0&&(bc=0),bc+sr>=pn&&(bc=pn-sr),mo({scrollLeft:bc/pn*(dn+2)}),Ci.current.x=Ls.pageX},bs=function(){if(!!wi.current){var Ls=Rt(wi.current).top,Zs=Ls+wi.current.offsetHeight,Sc=Ji===window?document.documentElement.scrollTop+window.innerHeight:Rt(Ji).top+Ji.clientHeight;Zs-we()<=Sc||Ls>=Sc-Yi?di(function(Hs){return Object(S.a)(Object(S.a)({},Hs),{},{isHiddenScrollBar:!0})}):di(function(Hs){return Object(S.a)(Object(S.a)({},Hs),{},{isHiddenScrollBar:!1})})}},Po=function(Ls){di(function(Zs){return Object(S.a)(Object(S.a)({},Zs),{},{scrollLeft:Ls/dn*pn||0})})};return w.useImperativeHandle(Xr,function(){return{setScrollLeft:Po}}),w.useEffect(function(){var yr=ao(document.body,"mouseup",xs,!1),Ls=ao(document.body,"mousemove",ys,!1);return bs(),function(){yr.remove(),Ls.remove()}},[sr,Io]),w.useEffect(function(){var yr=ao(Ji,"scroll",bs,!1),Ls=ao(window,"resize",bs,!1);return function(){yr.remove(),Ls.remove()}},[Ji]),w.useEffect(function(){Va.isHiddenScrollBar||di(function(yr){var Ls=wi.current;return Ls?Object(S.a)(Object(S.a)({},yr),{},{scrollLeft:Ls.scrollLeft/Ls.scrollWidth*Ls.clientWidth}):yr})},[Va.isHiddenScrollBar]),dn<=pn||!sr||Va.isHiddenScrollBar?null:w.createElement("div",{style:{height:we(),width:pn,bottom:Yi},className:"".concat(Jo,"-sticky-scroll")},w.createElement("div",{onMouseDown:ms,ref:lr,className:A()("".concat(Jo,"-sticky-scroll-bar"),Object(m.a)({},"".concat(Jo,"-sticky-scroll-bar-active"),Io)),style:{width:"".concat(sr,"px"),transform:"translate3d(".concat(Va.scrollLeft,"px, 0, 0)")}}))},ta=w.forwardRef(mr),ma=$()?window:null;function Oa(yn,Dr){var Xr=Object(E.a)(yn)==="object"?yn:{},Ta=Xr.offsetHeader,Ra=Ta===void 0?0:Ta,wi=Xr.offsetSummary,mo=wi===void 0?0:wi,Yi=Xr.offsetScroll,Ji=Yi===void 0?0:Yi,Vs=Xr.getContainer,Jo=Vs===void 0?function(){return ma}:Vs,dn=Jo()||ma;return w.useMemo(function(){var pn=!!yn;return{isSticky:pn,stickyClassName:pn?"".concat(Dr,"-sticky-holder"):"",offsetHeader:Ra,offsetSummary:mo,offsetScroll:Ji,container:dn}},[Ji,Ra,mo,Dr,dn])}var Pn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Kr(yn,Dr){return Object(w.useMemo)(function(){for(var Xr=[],Ta=0;Ta<Dr;Ta+=1){var Ra=yn[Ta];if(Ra!==void 0)Xr[Ta]=Ra;else return null}return Xr},[yn.join("_"),Dr])}var Vn=w.forwardRef(function(yn,Dr){var Xr=yn.className,Ta=yn.noData,Ra=yn.columns,wi=yn.flattenColumns,mo=yn.colWidths,Yi=yn.columCount,Ji=yn.stickyOffsets,Vs=yn.direction,Jo=yn.fixHeader,dn=yn.stickyTopOffset,pn=yn.stickyBottomOffset,sr=yn.stickyClassName,lr=yn.onScroll,_a=yn.maxContentScroll,Fa=yn.children,Va=Object(He.a)(yn,Pn),di=w.useContext(bn),Ci=di.prefixCls,wo=di.scrollbarSize,ho=di.isSticky,Io=ho&&!Jo?0:wo,Fo=w.useRef(null),xs=w.useCallback(function(Sc){Xe(Dr,Sc),Xe(Fo,Sc)},[]);w.useEffect(function(){var Sc;function Hs(bc){var cr=bc.currentTarget,qr=bc.deltaX;qr&&(lr({currentTarget:cr,scrollLeft:cr.scrollLeft+qr}),bc.preventDefault())}return(Sc=Fo.current)===null||Sc===void 0||Sc.addEventListener("wheel",Hs),function(){var bc;(bc=Fo.current)===null||bc===void 0||bc.removeEventListener("wheel",Hs)}},[]);var ms=w.useMemo(function(){return wi.every(function(Sc){return Sc.width>=0})},[wi]),ys=wi[wi.length-1],bs={fixed:ys?ys.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ci,"-cell-scrollbar")}}},Po=Object(w.useMemo)(function(){return Io?[].concat(Object(y.a)(Ra),[bs]):Ra},[Io,Ra]),yr=Object(w.useMemo)(function(){return Io?[].concat(Object(y.a)(wi),[bs]):wi},[Io,wi]),Ls=Object(w.useMemo)(function(){var Sc=Ji.right,Hs=Ji.left;return Object(S.a)(Object(S.a)({},Ji),{},{left:Vs==="rtl"?[].concat(Object(y.a)(Hs.map(function(bc){return bc+Io})),[0]):Hs,right:Vs==="rtl"?Sc:[].concat(Object(y.a)(Sc.map(function(bc){return bc+Io})),[0]),isSticky:ho})},[Io,Ji,ho]),Zs=Kr(mo,Yi);return w.createElement("div",{style:Object(S.a)({overflow:"hidden"},ho?{top:dn,bottom:pn}:{}),ref:xs,className:A()(Xr,Object(m.a)({},sr,!!sr))},w.createElement("table",{style:{tableLayout:"fixed",visibility:Ta||Zs?null:"hidden"}},(!Ta||!_a||ms)&&w.createElement(Qi,{colWidths:Zs?[].concat(Object(y.a)(Zs),[Io]):[],columCount:Yi+1,columns:yr}),Fa(Object(S.a)(Object(S.a)({},Va),{},{stickyOffsets:Ls,columns:Po,flattenColumns:yr}))))});Vn.displayName="FixedHolder";var tr=Vn,Ea=[],Ja={},go="rc-table-internal-hook",fi=w.memo(function(yn){var Dr=yn.children;return Dr},function(yn,Dr){return Q()(yn.props,Dr.props)?yn.pingLeft!==Dr.pingLeft||yn.pingRight!==Dr.pingRight:!1});function lo(yn){var Dr,Xr=yn.prefixCls,Ta=yn.className,Ra=yn.rowClassName,wi=yn.style,mo=yn.data,Yi=yn.rowKey,Ji=yn.scroll,Vs=yn.tableLayout,Jo=yn.direction,dn=yn.title,pn=yn.footer,sr=yn.summary,lr=yn.id,_a=yn.showHeader,Fa=yn.components,Va=yn.emptyText,di=yn.onRow,Ci=yn.onHeaderRow,wo=yn.internalHooks,ho=yn.transformColumns,Io=yn.internalRefs,Fo=yn.sticky,xs=mo||Ea,ms=!!xs.length,ys=w.useCallback(function(oa,Jr){return xt(Fa||{},oa)||Jr},[Fa]),bs=w.useMemo(function(){return typeof Yi=="function"?Yi:function(oa){var Jr=oa&&oa[Yi];return Jr}},[Yi]),Po=Zt(yn),yr=Po.expandIcon,Ls=Po.expandedRowKeys,Zs=Po.defaultExpandedRowKeys,Sc=Po.defaultExpandAllRows,Hs=Po.expandedRowRender,bc=Po.columnTitle,cr=Po.onExpand,qr=Po.onExpandedRowsChange,yi=Po.expandRowByClick,Ki=Po.rowExpandable,uo=Po.expandIconColumnIndex,As=Po.expandedRowClassName,zc=Po.childrenColumnName,cc=Po.indentSize,fl=yr||_i,Bc=zc||"children",Gl=w.useMemo(function(){return Hs?"row":yn.expandable&&wo===go&&yn.expandable.__PARENT_RENDER_ICON__||xs.some(function(oa){return oa&&Object(E.a)(oa)==="object"&&oa[Bc]})?"nest":!1},[!!Hs,xs]),Fl=w.useState(function(){return Zs||(Sc?ti(xs,bs,Bc):[])}),pl=Object(C.a)(Fl,2),gu=pl[0],bl=pl[1],tu=w.useMemo(function(){return new Set(Ls||gu||[])},[Ls,gu]),hl=w.useCallback(function(oa){var Jr=bs(oa,xs.indexOf(oa)),Ia,Li=tu.has(Jr);Li?(tu.delete(Jr),Ia=Object(y.a)(tu)):Ia=[].concat(Object(y.a)(tu),[Jr]),bl(Ia),cr&&cr(!Li,oa),qr&&qr(Ia)},[bs,tu,xs,cr,qr]),ju=w.useState(0),il=Object(C.a)(ju,2),Mu=il[0],ji=il[1],xa=Lr(Object(S.a)(Object(S.a)(Object(S.a)({},yn),Po),{},{expandable:!!Hs,columnTitle:bc,expandedKeys:tu,getRowKey:bs,onTriggerExpand:hl,expandIcon:fl,expandIconColumnIndex:uo,direction:Jo}),wo===go?ho:null),as=Object(C.a)(xa,2),ws=as[0],Cs=as[1],$o=w.useMemo(function(){return{columns:ws,flattenColumns:Cs}},[ws,Cs]),_c=w.useRef(),Lc=w.useRef(),Rl=w.useRef(),Ol=w.useRef(),cl=w.useRef(),au=w.useState(!1),Yu=Object(C.a)(au,2),Od=Yu[0],Lu=Yu[1],Hd=w.useState(!1),af=Object(C.a)(Hd,2),Gd=af[0],Nd=af[1],kd=Ca(new Map),xf=Object(C.a)(kd,2),Bd=xf[0],Fu=xf[1],xd=Xt(Cs),of=xd.map(function(oa){return Bd.get(oa)}),ld=w.useMemo(function(){return of},[of.join("_")]),cu=va(ld,Cs.length,Jo),ll=Ji&&vt(Ji.y),ad=Ji&&vt(Ji.x)||Boolean(Po.fixed),Xu=ad&&Cs.some(function(oa){var Jr=oa.fixed;return Jr}),_s=w.useRef(),jl=Oa(Fo,Xr),Uu=jl.isSticky,jd=jl.offsetHeader,Sf=jl.offsetSummary,Af=jl.offsetScroll,mf=jl.stickyClassName,Ld=jl.container,qd=sr==null?void 0:sr(xs),bu=(ll||Uu)&&w.isValidElement(qd)&&qd.type===Qr&&qd.props.fixed,$d,Ju,Jd;ll&&(Ju={overflowY:"scroll",maxHeight:Ji.y}),ad&&($d={overflowX:"auto"},ll||(Ju={overflowY:"hidden"}),Jd={width:(Ji==null?void 0:Ji.x)===!0?"auto":Ji==null?void 0:Ji.x,minWidth:"100%"});var Zo=w.useCallback(function(oa,Jr){T(_c.current)&&Fu(function(Ia){if(Ia.get(oa)!==Jr){var Li=new Map(Ia);return Li.set(oa,Jr),Li}return Ia})},[]),Vr=za(null),Yo=Object(C.a)(Vr,2),Mi=Yo[0],ds=Yo[1];function oc(oa,Jr){!Jr||(typeof Jr=="function"?Jr(oa):Jr.scrollLeft!==oa&&(Jr.scrollLeft=oa))}var Il=function(Jr){var Ia=Jr.currentTarget,Li=Jr.scrollLeft,no=Jo==="rtl",es=typeof Li=="number"?Li:Ia.scrollLeft,Bo=Ia||Ja;if(!ds()||ds()===Bo){var Uo;Mi(Bo),oc(es,Lc.current),oc(es,Rl.current),oc(es,cl.current),oc(es,(Uo=_s.current)===null||Uo===void 0?void 0:Uo.setScrollLeft)}if(Ia){var Dc=Ia.scrollWidth,nc=Ia.clientWidth;if(Dc===nc){Lu(!1),Nd(!1);return}no?(Lu(-es<Dc-nc),Nd(-es>0)):(Lu(es>0),Nd(es<Dc-nc))}},pu=function(){ad&&Rl.current?Il({currentTarget:Rl.current}):(Lu(!1),Nd(!1))},Nl=function(Jr){var Ia=Jr.width;Ia!==Mu&&(pu(),ji(_c.current?_c.current.offsetWidth:Ia))},Du=w.useRef(!1);w.useEffect(function(){Du.current&&pu()},[ad,mo,ws.length]),w.useEffect(function(){Du.current=!0},[]);var vu=w.useState(0),lu=Object(C.a)(vu,2),id=lu[0],Ws=lu[1],re=w.useState(!0),Ae=Object(C.a)(re,2),ct=Ae[0],wt=Ae[1];w.useEffect(function(){Rl.current instanceof Element?Ws(pe(Rl.current).width):Ws(pe(Ol.current).width),wt(ie("position","sticky"))},[]),w.useEffect(function(){wo===go&&Io&&(Io.body.current=Rl.current)});var an=ys(["table"],"table"),jr=w.useMemo(function(){return Vs||(Xu?(Ji==null?void 0:Ji.x)==="max-content"?"auto":"fixed":ll||Uu||Cs.some(function(oa){var Jr=oa.ellipsis;return Jr})?"fixed":"auto")},[ll,Xu,Cs,Vs,Uu]),Xa,fs={colWidths:ld,columCount:Cs.length,stickyOffsets:cu,onHeaderRow:Ci,fixHeader:ll,scroll:Ji},Xs=w.useMemo(function(){return ms?null:typeof Va=="function"?Va():Va},[ms,Va]),Uc=w.createElement(Zn,{data:xs,measureColumnWidth:ll||ad||Uu,expandedKeys:tu,rowExpandable:Ki,getRowKey:bs,onRow:di,emptyNode:Xs,childrenColumnName:Bc}),zl=w.createElement(Qi,{colWidths:Cs.map(function(oa){var Jr=oa.width;return Jr}),columns:Cs}),Bu=ys(["body"]);if(ll||Uu){var ud;typeof Bu=="function"?(ud=Bu(xs,{scrollbarSize:id,ref:Rl,onScroll:Il}),fs.colWidths=Cs.map(function(oa,Jr){var Ia=oa.width,Li=Jr===ws.length-1?Ia-id:Ia;return typeof Li=="number"&&!Number.isNaN(Li)?Li:(xe(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0)})):ud=w.createElement("div",{style:Object(S.a)(Object(S.a)({},$d),Ju),onScroll:Il,ref:Rl,className:A()("".concat(Xr,"-body"))},w.createElement(an,{style:Object(S.a)(Object(S.a)({},Jd),{},{tableLayout:jr})},zl,Uc,!bu&&qd&&w.createElement(ar,{stickyOffsets:cu,flattenColumns:Cs},qd)));var Mp=Object(S.a)(Object(S.a)(Object(S.a)({noData:!xs.length,maxContentScroll:ad&&Ji.x==="max-content"},fs),$o),{},{direction:Jo,stickyClassName:mf,onScroll:Il});Xa=w.createElement(w.Fragment,null,_a!==!1&&w.createElement(tr,Object(O.a)({},Mp,{stickyTopOffset:jd,className:"".concat(Xr,"-header"),ref:Lc}),function(oa){return w.createElement(w.Fragment,null,w.createElement(br,oa),bu==="top"&&w.createElement(ar,oa,qd))}),ud,bu&&bu!=="top"&&w.createElement(tr,Object(O.a)({},Mp,{stickyBottomOffset:Sf,className:"".concat(Xr,"-summary"),ref:cl}),function(oa){return w.createElement(ar,oa,qd)}),Uu&&w.createElement(ta,{ref:_s,offsetScroll:Af,scrollBodyRef:Rl,onScroll:Il,container:Ld}))}else Xa=w.createElement("div",{style:Object(S.a)(Object(S.a)({},$d),Ju),className:A()("".concat(Xr,"-content")),onScroll:Il,ref:Rl},w.createElement(an,{style:Object(S.a)(Object(S.a)({},Jd),{},{tableLayout:jr})},zl,_a!==!1&&w.createElement(br,Object(O.a)({},fs,$o)),Uc,qd&&w.createElement(ar,{stickyOffsets:cu,flattenColumns:Cs},qd)));var ev=J(yn,{aria:!0,data:!0}),Rn=w.createElement("div",Object(O.a)({className:A()(Xr,Ta,(Dr={},Object(m.a)(Dr,"".concat(Xr,"-rtl"),Jo==="rtl"),Object(m.a)(Dr,"".concat(Xr,"-ping-left"),Od),Object(m.a)(Dr,"".concat(Xr,"-ping-right"),Gd),Object(m.a)(Dr,"".concat(Xr,"-layout-fixed"),Vs==="fixed"),Object(m.a)(Dr,"".concat(Xr,"-fixed-header"),ll),Object(m.a)(Dr,"".concat(Xr,"-fixed-column"),Xu),Object(m.a)(Dr,"".concat(Xr,"-scroll-horizontal"),ad),Object(m.a)(Dr,"".concat(Xr,"-has-fix-left"),Cs[0]&&Cs[0].fixed),Object(m.a)(Dr,"".concat(Xr,"-has-fix-right"),Cs[Cs.length-1]&&Cs[Cs.length-1].fixed==="right"),Dr)),style:wi,id:lr,ref:_c},ev),w.createElement(fi,{pingLeft:Od,pingRight:Gd,props:Object(S.a)(Object(S.a)({},yn),{},{stickyOffsets:cu,mergedExpandedKeys:tu})},dn&&w.createElement(Cr,{className:"".concat(Xr,"-title")},dn(xs)),w.createElement("div",{ref:Ol,className:"".concat(Xr,"-container")},Xa),pn&&w.createElement(Cr,{className:"".concat(Xr,"-footer")},pn(xs))));ad&&(Rn=w.createElement(Ee.a,{onResize:Nl},Rn));var St=w.useMemo(function(){return{prefixCls:Xr,getComponent:ys,scrollbarSize:id,direction:Jo,fixedInfoList:Cs.map(function(oa,Jr){return Bn(Jr,Jr,Cs,cu,Jo)}),isSticky:Uu}},[Xr,ys,id,Jo,Cs,cu,Uu]),on=w.useMemo(function(){return Object(S.a)(Object(S.a)({},$o),{},{tableLayout:jr,rowClassName:Ra,expandedRowClassName:As,expandIcon:fl,expandableType:Gl,expandRowByClick:yi,expandedRowRender:Hs,onTriggerExpand:hl,expandIconColumnIndex:uo,indentSize:cc,allColumnsFixedLeft:$o.flattenColumns.every(function(oa){return oa.fixed==="left"})})},[$o,jr,Ra,As,fl,Gl,yi,Hs,hl,uo,cc]),Dn=w.useMemo(function(){return{componentWidth:Mu,fixHeader:ll,fixColumn:Xu,horizonScroll:ad}},[Mu,ll,Xu,ad]),aa=w.useMemo(function(){return{onColumnResize:Zo}},[Zo]);return w.createElement(Re.Provider,{value:ct},w.createElement(bn.Provider,{value:St},w.createElement(ut.Provider,{value:on},w.createElement(gr.Provider,{value:Dn},w.createElement(zt.Provider,{value:aa},Rn)))))}lo.EXPAND_COLUMN=rr,lo.Column=Ue,lo.ColumnGroup=Me,lo.Summary=pi,lo.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Oi=lo,io=Oi,Vi=l("Ya77"),vo=l("H84U"),qo=l("XI05"),hs=l("3Nzz"),$t=l("5OYt"),rt=l("D7Yy"),Vt=l("NUBc"),tn=l("W9HT"),wn=l("3F7U");function qn(yn,Dr,Xr,Ta){var Ra=Xr-Dr;return yn/=Ta/2,yn<1?Ra/2*yn*yn*yn+Dr:Ra/2*((yn-=2)*yn*yn+2)+Dr}function zn(yn){return yn!=null&&yn===yn.window}function xr(yn,Dr){var Xr,Ta;if(typeof window=="undefined")return 0;var Ra=Dr?"scrollTop":"scrollLeft",wi=0;return zn(yn)?wi=yn[Dr?"pageYOffset":"pageXOffset"]:yn instanceof Document?wi=yn.documentElement[Ra]:(yn instanceof HTMLElement||yn)&&(wi=yn[Ra]),yn&&!zn(yn)&&typeof wi!="number"&&(wi=(Ta=((Xr=yn.ownerDocument)!==null&&Xr!==void 0?Xr:yn).documentElement)===null||Ta===void 0?void 0:Ta[Ra]),wi}function da(yn){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xr=Dr.getContainer,Ta=Xr===void 0?function(){return window}:Xr,Ra=Dr.callback,wi=Dr.duration,mo=wi===void 0?450:wi,Yi=Ta(),Ji=xr(Yi,!0),Vs=Date.now(),Jo=function dn(){var pn=Date.now(),sr=pn-Vs,lr=qn(sr>mo?mo:sr,Ji,yn,mo);zn(Yi)?Yi.scrollTo(window.pageXOffset,lr):Yi instanceof Document||Yi.constructor.name==="HTMLDocument"?Yi.documentElement.scrollTop=lr:Yi.scrollTop=lr,sr<mo?Object(wn.a)(dn):typeof Ra=="function"&&Ra()};Object(wn.a)(Jo)}function en(yn){return null}var Fn=en;function Jn(yn){return null}var Ir=Jn;function Gr(yn){return function(Xr){var Ta,Ra=Xr.prefixCls,wi=Xr.onExpand,mo=Xr.record,Yi=Xr.expanded,Ji=Xr.expandable,Vs="".concat(Ra,"-row-expand-icon");return w.createElement("button",{type:"button",onClick:function(dn){wi(mo,dn),dn.stopPropagation()},className:A()(Vs,(Ta={},Object(m.a)(Ta,"".concat(Vs,"-spaced"),!Ji),Object(m.a)(Ta,"".concat(Vs,"-expanded"),Ji&&Yi),Object(m.a)(Ta,"".concat(Vs,"-collapsed"),Ji&&!Yi),Ta)),"aria-label":Yi?yn.collapse:yn.expand,"aria-expanded":Yi})}}var ga=Gr;function Mr(yn,Dr){return"key"in yn&&yn.key!==void 0&&yn.key!==null?yn.key:yn.dataIndex?Array.isArray(yn.dataIndex)?yn.dataIndex.join("."):yn.dataIndex:Dr}function $a(yn,Dr){return Dr?"".concat(Dr,"-").concat(yn):"".concat(yn)}function Ya(yn,Dr){return typeof yn=="function"?yn(Dr):yn}function _o(yn,Dr){var Xr=Ya(yn,Dr);return Object.prototype.toString.call(Xr)==="[object Object]"?"":Xr}var Ni={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"},ec=Ni,ks=l("6VBw"),jo=function(Dr,Xr){return w.createElement(ks.a,Object(S.a)(Object(S.a)({},Dr),{},{ref:Xr,icon:ec}))};jo.displayName="FilterFilled";var Qn=w.forwardRef(jo),ka=l("Y+p1"),Pa=l.n(ka),Qa=l("2/Rp"),Ei=l("kaz8"),zo=l("jsC+"),fo=l("ECub"),gs=l("BvKs"),Ks=l("UuAG"),pc=l("9yH6"),tc=l("MJZm"),xc=l("hkKa");function kc(yn){var Dr=w.useRef(yn),Xr=Object(xc.a)();return[function(){return Dr.current},function(Ta){Dr.current=Ta,Xr()}]}var Ss=l("l+S1"),Js=l("5rEg");function Mo(yn){var Dr=yn.value,Xr=yn.onChange,Ta=yn.filterSearch,Ra=yn.tablePrefixCls,wi=yn.locale;return Ta?w.createElement("div",{className:"".concat(Ra,"-filter-dropdown-search")},w.createElement(Js.a,{prefix:w.createElement(Ss.a,null),placeholder:wi.filterSearchPlaceholder,onChange:Xr,value:Dr,htmlSize:1,className:"".concat(Ra,"-filter-dropdown-search-input")})):null}var js=Mo,Yc=l("rOxa"),gc=function(Dr){var Xr=Dr.keyCode;Xr===Yc.a.ENTER&&Dr.stopPropagation()},Cl=function(Dr){return w.createElement("div",{className:Dr.className,onClick:function(Ta){return Ta.stopPropagation()},onKeyDown:gc},Dr.children)},wl=Cl;function Wc(yn){return yn.some(function(Dr){var Xr=Dr.children;return Xr})}function nl(yn,Dr){return typeof Dr=="string"||typeof Dr=="number"?Dr==null?void 0:Dr.toString().toLowerCase().includes(yn.trim().toLowerCase()):!1}function Rc(yn){var Dr=yn.filters,Xr=yn.prefixCls,Ta=yn.filteredKeys,Ra=yn.filterMultiple,wi=yn.searchValue,mo=yn.filterSearch;return Dr.map(function(Yi,Ji){var Vs=String(Yi.value);if(Yi.children)return{key:Vs||Ji,label:Yi.text,popupClassName:"".concat(Xr,"-dropdown-submenu"),children:Rc({filters:Yi.children,prefixCls:Xr,filteredKeys:Ta,filterMultiple:Ra,searchValue:wi,filterSearch:mo})};var Jo=Ra?Ei.a:pc.a,dn={key:Yi.value!==void 0?Vs:Ji,label:w.createElement(w.Fragment,null,w.createElement(Jo,{checked:Ta.includes(Vs)}),w.createElement("span",null,Yi.text))};return wi.trim()?typeof mo=="function"?mo(wi,Yi)?dn:null:nl(wi,Yi.text)?dn:null:dn})}function su(yn){var Dr,Xr=yn.tablePrefixCls,Ta=yn.prefixCls,Ra=yn.column,wi=yn.dropdownPrefixCls,mo=yn.columnKey,Yi=yn.filterMultiple,Ji=yn.filterMode,Vs=Ji===void 0?"menu":Ji,Jo=yn.filterSearch,dn=Jo===void 0?!1:Jo,pn=yn.filterState,sr=yn.triggerFilter,lr=yn.locale,_a=yn.children,Fa=yn.getPopupContainer,Va=Ra.filterDropdownOpen,di=Ra.onFilterDropdownOpenChange,Ci=Ra.filterDropdownVisible,wo=Ra.onFilterDropdownVisibleChange,ho=Ra.filterResetToDefaultFilteredValue,Io=Ra.defaultFilteredValue,Fo=w.useState(!1),xs=Object(C.a)(Fo,2),ms=xs[0],ys=xs[1],bs=!!(pn&&(((Dr=pn.filteredKeys)===null||Dr===void 0?void 0:Dr.length)||pn.forceFiltered)),Po=function(cl){ys(cl),di==null||di(cl),wo==null||wo(cl)},yr;typeof Va=="boolean"?yr=Va:yr=typeof Ci=="boolean"?Ci:ms;var Ls=pn==null?void 0:pn.filteredKeys,Zs=kc(Ls||[]),Sc=Object(C.a)(Zs,2),Hs=Sc[0],bc=Sc[1],cr=function(cl){var au=cl.selectedKeys;bc(au)},qr=function(cl,au){var Yu=au.node,Od=au.checked;cr(Yi?{selectedKeys:cl}:{selectedKeys:Od&&Yu.key?[Yu.key]:[]})};w.useEffect(function(){!ms||cr({selectedKeys:Ls||[]})},[Ls]);var yi=w.useState([]),Ki=Object(C.a)(yi,2),uo=Ki[0],As=Ki[1],zc=function(cl){As(cl)},cc=w.useState(""),fl=Object(C.a)(cc,2),Bc=fl[0],Gl=fl[1],Fl=function(cl){var au=cl.target.value;Gl(au)};w.useEffect(function(){ms||Gl("")},[ms]);var pl=function(cl){var au=cl&&cl.length?cl:null;if(au===null&&(!pn||!pn.filteredKeys)||Pa()(au,pn==null?void 0:pn.filteredKeys))return null;sr({column:Ra,key:mo,filteredKeys:au})},gu=function(){Po(!1),pl(Hs())},bl=function(){var cl=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1},au=cl.confirm,Yu=cl.closeDropdown;au&&pl([]),Yu&&Po(!1),Gl(""),bc(ho?(Io||[]).map(function(Od){return String(Od)}):[])},tu=function(){var cl=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0},au=cl.closeDropdown;au&&Po(!1),pl(Hs())},hl=function(cl){cl&&Ls!==void 0&&bc(Ls||[]),Po(cl),!cl&&!Ra.filterDropdown&&gu()},ju=A()(Object(m.a)({},"".concat(wi,"-menu-without-submenu"),!Wc(Ra.filters||[]))),il=function(cl){if(cl.target.checked){var au=Tl(Ra==null?void 0:Ra.filters).map(function(Yu){return String(Yu)});bc(au)}else bc([])},Mu=function Ol(cl){var au=cl.filters;return(au||[]).map(function(Yu,Od){var Lu=String(Yu.value),Hd={title:Yu.text,key:Yu.value!==void 0?Lu:Od};return Yu.children&&(Hd.children=Ol({filters:Yu.children})),Hd})},ji=function Ol(cl){var au;return Object(O.a)(Object(O.a)({},cl),{text:cl.title,value:cl.key,children:((au=cl.children)===null||au===void 0?void 0:au.map(function(Yu){return Ol(Yu)}))||[]})},xa;if(typeof Ra.filterDropdown=="function")xa=Ra.filterDropdown({prefixCls:"".concat(wi,"-custom"),setSelectedKeys:function(cl){return cr({selectedKeys:cl})},selectedKeys:Hs(),confirm:tu,clearFilters:bl,filters:Ra.filters,visible:yr,close:function(){Po(!1)}});else if(Ra.filterDropdown)xa=Ra.filterDropdown;else{var as=Hs()||[],ws=function(){return(Ra.filters||[]).length===0?w.createElement(fo.a,{image:fo.a.PRESENTED_IMAGE_SIMPLE,description:lr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Vs==="tree"?w.createElement(w.Fragment,null,w.createElement(js,{filterSearch:dn,value:Bc,onChange:Fl,tablePrefixCls:Xr,locale:lr}),w.createElement("div",{className:"".concat(Xr,"-filter-dropdown-tree")},Yi?w.createElement(Ei.a,{checked:as.length===Tl(Ra.filters).length,indeterminate:as.length>0&&as.length<Tl(Ra.filters).length,className:"".concat(Xr,"-filter-dropdown-checkall"),onChange:il},lr.filterCheckall):null,w.createElement(tc.a,{checkable:!0,selectable:!1,blockNode:!0,multiple:Yi,checkStrictly:!Yi,className:"".concat(wi,"-menu"),onCheck:qr,checkedKeys:as,selectedKeys:as,showIcon:!1,treeData:Mu({filters:Ra.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Bc.trim()?function(cl){return typeof dn=="function"?dn(Bc,ji(cl)):nl(Bc,cl.title)}:void 0}))):w.createElement(w.Fragment,null,w.createElement(js,{filterSearch:dn,value:Bc,onChange:Fl,tablePrefixCls:Xr,locale:lr}),w.createElement(gs.a,{selectable:!0,multiple:Yi,prefixCls:"".concat(wi,"-menu"),className:ju,onSelect:cr,onDeselect:cr,selectedKeys:as,getPopupContainer:Fa,openKeys:uo,onOpenChange:zc,items:Rc({filters:Ra.filters||[],filterSearch:dn,prefixCls:Ta,filteredKeys:Hs(),filterMultiple:Yi,searchValue:Bc})}))},Cs=function(){return ho?Pa()((Io||[]).map(function(cl){return String(cl)}),as):as.length===0};xa=w.createElement(w.Fragment,null,ws(),w.createElement("div",{className:"".concat(Ta,"-dropdown-btns")},w.createElement(Qa.a,{type:"link",size:"small",disabled:Cs(),onClick:function(){return bl()}},lr.filterReset),w.createElement(Qa.a,{type:"primary",size:"small",onClick:gu},lr.filterConfirm)))}Ra.filterDropdown&&(xa=w.createElement(Ks.a,{selectable:void 0},xa));var $o=function(){return w.createElement(wl,{className:"".concat(Ta,"-dropdown")},xa)},_c;typeof Ra.filterIcon=="function"?_c=Ra.filterIcon(bs):Ra.filterIcon?_c=Ra.filterIcon:_c=w.createElement(Qn,null);var Lc=w.useContext(vo.b),Rl=Lc.direction;return w.createElement("div",{className:"".concat(Ta,"-column")},w.createElement("span",{className:"".concat(Xr,"-column-title")},_a),w.createElement(zo.a,{dropdownRender:$o,trigger:["click"],open:yr,onOpenChange:hl,getPopupContainer:Fa,placement:Rl==="rtl"?"bottomLeft":"bottomRight"},w.createElement("span",{role:"button",tabIndex:-1,className:A()("".concat(Ta,"-trigger"),{active:bs}),onClick:function(cl){cl.stopPropagation()}},_c)))}var Pl=su;function al(yn,Dr,Xr){var Ta=[];return(yn||[]).forEach(function(Ra,wi){var mo,Yi=$a(wi,Xr);if(Ra.filters||"filterDropdown"in Ra||"onFilter"in Ra)if("filteredValue"in Ra){var Ji=Ra.filteredValue;"filterDropdown"in Ra||(Ji=(mo=Ji==null?void 0:Ji.map(String))!==null&&mo!==void 0?mo:Ji),Ta.push({column:Ra,key:Mr(Ra,Yi),filteredKeys:Ji,forceFiltered:Ra.filtered})}else Ta.push({column:Ra,key:Mr(Ra,Yi),filteredKeys:Dr&&Ra.defaultFilteredValue?Ra.defaultFilteredValue:void 0,forceFiltered:Ra.filtered});"children"in Ra&&(Ta=[].concat(Object(y.a)(Ta),Object(y.a)(al(Ra.children,Dr,Yi))))}),Ta}function Ml(yn,Dr,Xr,Ta,Ra,wi,mo,Yi){return Xr.map(function(Ji,Vs){var Jo=$a(Vs,Yi),dn=Ji.filterMultiple,pn=dn===void 0?!0:dn,sr=Ji.filterMode,lr=Ji.filterSearch,_a=Ji;if(_a.filters||_a.filterDropdown){var Fa=Mr(_a,Jo),Va=Ta.find(function(di){var Ci=di.key;return Fa===Ci});_a=Object(O.a)(Object(O.a)({},_a),{title:function(Ci){return w.createElement(Pl,{tablePrefixCls:yn,prefixCls:"".concat(yn,"-filter"),dropdownPrefixCls:Dr,column:_a,columnKey:Fa,filterState:Va,filterMultiple:pn,filterMode:sr,filterSearch:lr,triggerFilter:Ra,locale:mo,getPopupContainer:wi},Ya(Ji.title,Ci))}})}return"children"in _a&&(_a=Object(O.a)(Object(O.a)({},_a),{children:Ml(yn,Dr,_a.children,Ta,Ra,wi,mo,Jo)})),_a})}function Tl(yn){var Dr=[];return(yn||[]).forEach(function(Xr){var Ta=Xr.value,Ra=Xr.children;Dr.push(Ta),Ra&&(Dr=[].concat(Object(y.a)(Dr),Object(y.a)(Tl(Ra))))}),Dr}function td(yn){var Dr={};return yn.forEach(function(Xr){var Ta=Xr.key,Ra=Xr.filteredKeys,wi=Xr.column,mo=wi.filters,Yi=wi.filterDropdown;if(Yi)Dr[Ta]=Ra||null;else if(Array.isArray(Ra)){var Ji=Tl(mo);Dr[Ta]=Ji.filter(function(Vs){return Ra.includes(String(Vs))})}else Dr[Ta]=null}),Dr}function rl(yn,Dr){return Dr.reduce(function(Xr,Ta){var Ra=Ta.column,wi=Ra.onFilter,mo=Ra.filters,Yi=Ta.filteredKeys;return wi&&Yi&&Yi.length?Xr.filter(function(Ji){return Yi.some(function(Vs){var Jo=Tl(mo),dn=Jo.findIndex(function(sr){return String(sr)===String(Vs)}),pn=dn!==-1?Jo[dn]:Vs;return wi(pn,Ji)})}):Xr},yn)}function dl(yn){var Dr=yn.prefixCls,Xr=yn.dropdownPrefixCls,Ta=yn.mergedColumns,Ra=yn.onFilterChange,wi=yn.getPopupContainer,mo=yn.locale,Yi=w.useState(function(){return al(Ta,!0)}),Ji=Object(C.a)(Yi,2),Vs=Ji[0],Jo=Ji[1],dn=w.useMemo(function(){var _a=al(Ta,!1),Fa=!0,Va=!0;return _a.forEach(function(di){var Ci=di.filteredKeys;Ci!==void 0?Fa=!1:Va=!1}),Fa?Vs:_a},[Ta,Vs]),pn=w.useMemo(function(){return td(dn)},[dn]),sr=function(Fa){var Va=dn.filter(function(di){var Ci=di.key;return Ci!==Fa.key});Va.push(Fa),Jo(Va),Ra(td(Va),Va)},lr=function(Fa){return Ml(Dr,Xr,Fa,dn,sr,wi,mo)};return[lr,dn,pn]}var qt=dl,nr=l("YWTS"),Ur=function(yn,Dr){var Xr={};for(var Ta in yn)Object.prototype.hasOwnProperty.call(yn,Ta)&&Dr.indexOf(Ta)<0&&(Xr[Ta]=yn[Ta]);if(yn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ra=0,Ta=Object.getOwnPropertySymbols(yn);Ra<Ta.length;Ra++)Dr.indexOf(Ta[Ra])<0&&Object.prototype.propertyIsEnumerable.call(yn,Ta[Ra])&&(Xr[Ta[Ra]]=yn[Ta[Ra]]);return Xr},Yr=10;function ni(yn,Dr){var Xr={current:Dr.current,pageSize:Dr.pageSize},Ta=yn&&Object(E.a)(yn)==="object"?yn:{};return Object.keys(Ta).forEach(function(Ra){var wi=Dr[Ra];typeof wi!="function"&&(Xr[Ra]=wi)}),Xr}function vi(){for(var yn={},Dr=arguments.length,Xr=new Array(Dr),Ta=0;Ta<Dr;Ta++)Xr[Ta]=arguments[Ta];return Xr.forEach(function(Ra){Ra&&Object.keys(Ra).forEach(function(wi){var mo=Ra[wi];mo!==void 0&&(yn[wi]=mo)})}),yn}function zr(yn,Dr,Xr){var Ta=Dr&&Object(E.a)(Dr)==="object"?Dr:{},Ra=Ta.total,wi=Ra===void 0?0:Ra,mo=Ur(Ta,["total"]),Yi=Object(w.useState)(function(){return{current:"defaultCurrent"in mo?mo.defaultCurrent:1,pageSize:"defaultPageSize"in mo?mo.defaultPageSize:Yr}}),Ji=Object(C.a)(Yi,2),Vs=Ji[0],Jo=Ji[1],dn=vi(Vs,mo,{total:wi>0?wi:yn}),pn=Math.ceil((wi||yn)/dn.pageSize);dn.current>pn&&(dn.current=pn||1);var sr=function(Fa,Va){Jo({current:Fa!=null?Fa:1,pageSize:Va||dn.pageSize})},lr=function(Fa,Va){var di;Dr&&((di=Dr.onChange)===null||di===void 0||di.call(Dr,Fa,Va)),sr(Fa,Va),Xr(Fa,Va||(dn==null?void 0:dn.pageSize))};return Dr===!1?[{},function(){}]:[Object(O.a)(Object(O.a)({},dn),{onChange:lr}),sr]}var wr=l("T5bk"),Ua=l("8Skl"),La=l("OZM5"),Nr=l("NvD2"),ua=l("815F"),ra=l("pAT6"),ri={},li="SELECT_ALL",hi="SELECT_INVERT",ii="SELECT_NONE",Di=[];function Xo(yn,Dr){var Xr=[];return(yn||[]).forEach(function(Ta){Xr.push(Ta),Ta&&Object(E.a)(Ta)==="object"&&Dr in Ta&&(Xr=[].concat(Object(y.a)(Xr),Object(y.a)(Xo(Ta[Dr],Dr))))}),Xr}function ps(yn,Dr){var Xr=yn||{},Ta=Xr.preserveSelectedRowKeys,Ra=Xr.selectedRowKeys,wi=Xr.defaultSelectedRowKeys,mo=Xr.getCheckboxProps,Yi=Xr.onChange,Ji=Xr.onSelect,Vs=Xr.onSelectAll,Jo=Xr.onSelectInvert,dn=Xr.onSelectNone,pn=Xr.onSelectMultiple,sr=Xr.columnWidth,lr=Xr.type,_a=Xr.selections,Fa=Xr.fixed,Va=Xr.renderCell,di=Xr.hideSelectAll,Ci=Xr.checkStrictly,wo=Ci===void 0?!0:Ci,ho=Dr.prefixCls,Io=Dr.data,Fo=Dr.pageData,xs=Dr.getRecordByKey,ms=Dr.getRowKey,ys=Dr.expandType,bs=Dr.childrenColumnName,Po=Dr.locale,yr=Dr.getPopupContainer,Ls=Object(ra.a)(Ra||wi||Di,{value:Ra}),Zs=Object(C.a)(Ls,2),Sc=Zs[0],Hs=Zs[1],bc=w.useRef(new Map),cr=Object(w.useCallback)(function(ji){if(Ta){var xa=new Map;ji.forEach(function(as){var ws=xs(as);!ws&&bc.current.has(as)&&(ws=bc.current.get(as)),xa.set(as,ws)}),bc.current=xa}},[xs,Ta]);w.useEffect(function(){cr(Sc)},[Sc]);var qr=Object(w.useMemo)(function(){return wo?{keyEntities:null}:Object(ua.a)(Io,{externalGetKey:ms,childrenPropName:bs})},[Io,ms,wo,bs]),yi=qr.keyEntities,Ki=Object(w.useMemo)(function(){return Xo(Fo,bs)},[Fo,bs]),uo=Object(w.useMemo)(function(){var ji=new Map;return Ki.forEach(function(xa,as){var ws=ms(xa,as),Cs=(mo?mo(xa):null)||{};ji.set(ws,Cs)}),ji},[Ki,ms,mo]),As=Object(w.useCallback)(function(ji){var xa;return!!((xa=uo.get(ms(ji)))===null||xa===void 0?void 0:xa.disabled)},[uo,ms]),zc=Object(w.useMemo)(function(){if(wo)return[Sc||[],[]];var ji=Object(Nr.a)(Sc,!0,yi,As),xa=ji.checkedKeys,as=ji.halfCheckedKeys;return[xa||[],as]},[Sc,wo,yi,As]),cc=Object(C.a)(zc,2),fl=cc[0],Bc=cc[1],Gl=Object(w.useMemo)(function(){var ji=lr==="radio"?fl.slice(0,1):fl;return new Set(ji)},[fl,lr]),Fl=Object(w.useMemo)(function(){return lr==="radio"?new Set:new Set(Bc)},[Bc,lr]),pl=Object(w.useState)(null),gu=Object(C.a)(pl,2),bl=gu[0],tu=gu[1];w.useEffect(function(){yn||Hs(Di)},[!!yn]);var hl=Object(w.useCallback)(function(ji,xa){var as,ws;cr(ji),Ta?(as=ji,ws=ji.map(function(Cs){return bc.current.get(Cs)})):(as=[],ws=[],ji.forEach(function(Cs){var $o=xs(Cs);$o!==void 0&&(as.push(Cs),ws.push($o))})),Hs(as),Yi==null||Yi(as,ws,{type:xa})},[Hs,xs,Yi,Ta]),ju=Object(w.useCallback)(function(ji,xa,as,ws){if(Ji){var Cs=as.map(function($o){return xs($o)});Ji(xs(ji),xa,Cs,ws)}hl(as,"single")},[Ji,xs,hl]),il=Object(w.useMemo)(function(){if(!_a||di)return null;var ji=_a===!0?[li,hi,ii]:_a;return ji.map(function(xa){return xa===li?{key:"all",text:Po.selectionAll,onSelect:function(){hl(Io.map(function(ws,Cs){return ms(ws,Cs)}).filter(function(ws){var Cs=uo.get(ws);return!(Cs==null?void 0:Cs.disabled)||Gl.has(ws)}),"all")}}:xa===hi?{key:"invert",text:Po.selectInvert,onSelect:function(){var ws=new Set(Gl);Fo.forEach(function($o,_c){var Lc=ms($o,_c),Rl=uo.get(Lc);(Rl==null?void 0:Rl.disabled)||(ws.has(Lc)?ws.delete(Lc):ws.add(Lc))});var Cs=Array.from(ws);Jo&&Jo(Cs),hl(Cs,"invert")}}:xa===ii?{key:"none",text:Po.selectNone,onSelect:function(){dn==null||dn(),hl(Array.from(Gl).filter(function(ws){var Cs=uo.get(ws);return Cs==null?void 0:Cs.disabled}),"none")}}:xa}).map(function(xa){return Object(O.a)(Object(O.a)({},xa),{onSelect:function(){for(var ws,Cs,$o=arguments.length,_c=new Array($o),Lc=0;Lc<$o;Lc++)_c[Lc]=arguments[Lc];(Cs=xa.onSelect)===null||Cs===void 0||(ws=Cs).call.apply(ws,[xa].concat(_c)),tu(null)}})})},[_a,Gl,Fo,ms,Jo,hl]),Mu=Object(w.useCallback)(function(ji){var xa;if(!yn)return ji.filter(function(cu){return cu!==ri});var as=Object(y.a)(ji),ws=new Set(Gl),Cs=Ki.map(ms).filter(function(cu){return!uo.get(cu).disabled}),$o=Cs.every(function(cu){return ws.has(cu)}),_c=Cs.some(function(cu){return ws.has(cu)}),Lc=function(){var ll=[];$o?Cs.forEach(function(Xu){ws.delete(Xu),ll.push(Xu)}):Cs.forEach(function(Xu){ws.has(Xu)||(ws.add(Xu),ll.push(Xu))});var ad=Array.from(ws);Vs==null||Vs(!$o,ad.map(function(Xu){return xs(Xu)}),ll.map(function(Xu){return xs(Xu)})),hl(ad,"all"),tu(null)},Rl;if(lr!=="radio"){var Ol;if(il){var cl={getPopupContainer:yr,items:il.map(function(cu,ll){var ad=cu.key,Xu=cu.text,_s=cu.onSelect;return{key:ad||ll,onClick:function(){_s==null||_s(Cs)},label:Xu}})};Ol=w.createElement("div",{className:"".concat(ho,"-selection-extra")},w.createElement(zo.a,{menu:cl,getPopupContainer:yr},w.createElement("span",null,w.createElement(Ua.a,null))))}var au=Ki.map(function(cu,ll){var ad=ms(cu,ll),Xu=uo.get(ad)||{};return Object(O.a)({checked:ws.has(ad)},Xu)}).filter(function(cu){var ll=cu.disabled;return ll}),Yu=!!au.length&&au.length===Ki.length,Od=Yu&&au.every(function(cu){var ll=cu.checked;return ll}),Lu=Yu&&au.some(function(cu){var ll=cu.checked;return ll});Rl=!di&&w.createElement("div",{className:"".concat(ho,"-selection")},w.createElement(Ei.a,{checked:Yu?Od:!!Ki.length&&$o,indeterminate:Yu?!Od&&Lu:!$o&&_c,onChange:Lc,disabled:Ki.length===0||Yu,"aria-label":Ol?"Custom selection":"Select all",skipGroup:!0}),Ol)}var Hd;lr==="radio"?Hd=function(ll,ad,Xu){var _s=ms(ad,Xu),jl=ws.has(_s);return{node:w.createElement(pc.a,Object(O.a)({},uo.get(_s),{checked:jl,onClick:function(jd){return jd.stopPropagation()},onChange:function(jd){ws.has(_s)||ju(_s,!0,[_s],jd.nativeEvent)}})),checked:jl}}:Hd=function(ll,ad,Xu){var _s,jl=ms(ad,Xu),Uu=ws.has(jl),jd=Fl.has(jl),Sf=uo.get(jl),Af;return ys==="nest"?Af=jd:Af=(_s=Sf==null?void 0:Sf.indeterminate)!==null&&_s!==void 0?_s:jd,{node:w.createElement(Ei.a,Object(O.a)({},Sf,{indeterminate:Af,checked:Uu,skipGroup:!0,onClick:function(Ld){return Ld.stopPropagation()},onChange:function(Ld){var qd=Ld.nativeEvent,bu=qd.shiftKey,$d=-1,Ju=-1;if(bu&&wo){var Jd=new Set([bl,jl]);Cs.some(function(vu,lu){if(Jd.has(vu))if($d===-1)$d=lu;else return Ju=lu,!0;return!1})}if(Ju!==-1&&$d!==Ju&&wo){var Zo=Cs.slice($d,Ju+1),Vr=[];Uu?Zo.forEach(function(vu){ws.has(vu)&&(Vr.push(vu),ws.delete(vu))}):Zo.forEach(function(vu){ws.has(vu)||(Vr.push(vu),ws.add(vu))});var Yo=Array.from(ws);pn==null||pn(!Uu,Yo.map(function(vu){return xs(vu)}),Vr.map(function(vu){return xs(vu)})),hl(Yo,"multiple")}else{var Mi=fl;if(wo){var ds=Uu?Object(La.b)(Mi,jl):Object(La.a)(Mi,jl);ju(jl,!Uu,ds,qd)}else{var oc=Object(Nr.a)([].concat(Object(y.a)(Mi),[jl]),!0,yi,As),Il=oc.checkedKeys,pu=oc.halfCheckedKeys,Nl=Il;if(Uu){var Du=new Set(Il);Du.delete(jl),Nl=Object(Nr.a)(Array.from(Du),{checked:!1,halfCheckedKeys:pu},yi,As).checkedKeys}ju(jl,!Uu,Nl,qd)}}tu(Uu?null:jl)}})),checked:Uu}};var af=function(ll,ad,Xu){var _s=Hd(ll,ad,Xu),jl=_s.node,Uu=_s.checked;return Va?Va(Uu,ad,Xu,jl):jl};if(!as.includes(ri))if(as.findIndex(function(cu){var ll;return((ll=cu[Nn])===null||ll===void 0?void 0:ll.columnType)==="EXPAND_COLUMN"})===0){var Gd=as,Nd=Object(wr.a)(Gd),kd=Nd[0],xf=Nd.slice(1);as=[kd,ri].concat(Object(y.a)(xf))}else as=[ri].concat(Object(y.a)(as));var Bd=as.indexOf(ri);as=as.filter(function(cu,ll){return cu!==ri||ll===Bd});var Fu=as[Bd-1],xd=as[Bd+1],of=Fa;of===void 0&&((xd==null?void 0:xd.fixed)!==void 0?of=xd.fixed:(Fu==null?void 0:Fu.fixed)!==void 0&&(of=Fu.fixed)),of&&Fu&&((xa=Fu[Nn])===null||xa===void 0?void 0:xa.columnType)==="EXPAND_COLUMN"&&Fu.fixed===void 0&&(Fu.fixed=of);var ld=Object(m.a)({fixed:of,width:sr,className:"".concat(ho,"-selection-column"),title:yn.columnTitle||Rl,render:af},Nn,{className:"".concat(ho,"-selection-col")});return as.map(function(cu){return cu===ri?ld:cu})},[ms,Ki,yn,fl,Gl,Fl,sr,il,ys,bl,uo,pn,ju,As]);return[Mu,Gl]}var mc={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"},Ts=mc,Ar=function(Dr,Xr){return w.createElement(ks.a,Object(S.a)(Object(S.a)({},Dr),{},{ref:Xr,icon:Ts}))};Ar.displayName="CaretDownOutlined";var Gs=w.forwardRef(Ar),Nc={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"},Jc=Nc,Fc=function(Dr,Xr){return w.createElement(ks.a,Object(S.a)(Object(S.a)({},Dr),{},{ref:Xr,icon:Jc}))};Fc.displayName="CaretUpOutlined";var Ro=w.forwardRef(Fc),Dl=l("3S7+"),Vl="ascend",hu="descend";function ru(yn){return Object(E.a)(yn.sorter)==="object"&&typeof yn.sorter.multiple=="number"?yn.sorter.multiple:!1}function pd(yn){return typeof yn=="function"?yn:yn&&Object(E.a)(yn)==="object"&&yn.compare?yn.compare:!1}function ql(yn,Dr){return Dr?yn[yn.indexOf(Dr)+1]:yn[0]}function Ru(yn,Dr,Xr){var Ta=[];function Ra(wi,mo){Ta.push({column:wi,key:Mr(wi,mo),multiplePriority:ru(wi),sortOrder:wi.sortOrder})}return(yn||[]).forEach(function(wi,mo){var Yi=$a(mo,Xr);wi.children?("sortOrder"in wi&&Ra(wi,Yi),Ta=[].concat(Object(y.a)(Ta),Object(y.a)(Ru(wi.children,Dr,Yi)))):wi.sorter&&("sortOrder"in wi?Ra(wi,Yi):Dr&&wi.defaultSortOrder&&Ta.push({column:wi,key:Mr(wi,Yi),multiplePriority:ru(wi),sortOrder:wi.defaultSortOrder}))}),Ta}function Hl(yn,Dr,Xr,Ta,Ra,wi,mo,Yi){return(Dr||[]).map(function(Ji,Vs){var Jo=$a(Vs,Yi),dn=Ji;if(dn.sorter){var pn=dn.sortDirections||Ra,sr=dn.showSorterTooltip===void 0?mo:dn.showSorterTooltip,lr=Mr(dn,Jo),_a=Xr.find(function(ys){var bs=ys.key;return bs===lr}),Fa=_a?_a.sortOrder:null,Va=ql(pn,Fa),di=pn.includes(Vl)&&w.createElement(Ro,{className:A()("".concat(yn,"-column-sorter-up"),{active:Fa===Vl}),role:"presentation"}),Ci=pn.includes(hu)&&w.createElement(Gs,{className:A()("".concat(yn,"-column-sorter-down"),{active:Fa===hu}),role:"presentation"}),wo=wi||{},ho=wo.cancelSort,Io=wo.triggerAsc,Fo=wo.triggerDesc,xs=ho;Va===hu?xs=Fo:Va===Vl&&(xs=Io);var ms=Object(E.a)(sr)==="object"?sr:{title:xs};dn=Object(O.a)(Object(O.a)({},dn),{className:A()(dn.className,Object(m.a)({},"".concat(yn,"-column-sort"),Fa)),title:function(bs){var Po=w.createElement("div",{className:"".concat(yn,"-column-sorters")},w.createElement("span",{className:"".concat(yn,"-column-title")},Ya(Ji.title,bs)),w.createElement("span",{className:A()("".concat(yn,"-column-sorter"),Object(m.a)({},"".concat(yn,"-column-sorter-full"),!!(di&&Ci)))},w.createElement("span",{className:"".concat(yn,"-column-sorter-inner")},di,Ci)));return sr?w.createElement(Dl.a,Object(O.a)({},ms),Po):Po},onHeaderCell:function(bs){var Po=Ji.onHeaderCell&&Ji.onHeaderCell(bs)||{},yr=Po.onClick,Ls=Po.onKeyDown;Po.onClick=function(Hs){Ta({column:Ji,key:lr,sortOrder:Va,multiplePriority:ru(Ji)}),yr==null||yr(Hs)},Po.onKeyDown=function(Hs){Hs.keyCode===Yc.a.ENTER&&(Ta({column:Ji,key:lr,sortOrder:Va,multiplePriority:ru(Ji)}),Ls==null||Ls(Hs))};var Zs=_o(Ji.title,{}),Sc=Zs==null?void 0:Zs.toString();return Fa?Po["aria-sort"]=Fa==="ascend"?"ascending":"descending":Po["aria-label"]=Sc||"",Po.className=A()(Po.className,"".concat(yn,"-column-has-sorters")),Po.tabIndex=0,Ji.ellipsis&&(Po.title=(Zs!=null?Zs:"").toString()),Po}})}return"children"in dn&&(dn=Object(O.a)(Object(O.a)({},dn),{children:Hl(yn,dn.children,Xr,Ta,Ra,wi,mo,Jo)})),dn})}function fu(yn){var Dr=yn.column,Xr=yn.sortOrder;return{column:Dr,order:Xr,field:Dr.dataIndex,columnKey:Dr.key}}function nd(yn){var Dr=yn.filter(function(Xr){var Ta=Xr.sortOrder;return Ta}).map(fu);return Dr.length===0&&yn.length?Object(O.a)(Object(O.a)({},fu(yn[yn.length-1])),{column:void 0}):Dr.length<=1?Dr[0]||{}:Dr}function bd(yn,Dr,Xr){var Ta=Dr.slice().sort(function(mo,Yi){return Yi.multiplePriority-mo.multiplePriority}),Ra=yn.slice(),wi=Ta.filter(function(mo){var Yi=mo.column.sorter,Ji=mo.sortOrder;return pd(Yi)&&Ji});return wi.length?Ra.sort(function(mo,Yi){for(var Ji=0;Ji<wi.length;Ji+=1){var Vs=wi[Ji],Jo=Vs.column.sorter,dn=Vs.sortOrder,pn=pd(Jo);if(pn&&dn){var sr=pn(mo,Yi,dn);if(sr!==0)return dn===Vl?sr:-sr}}return 0}).map(function(mo){var Yi=mo[Xr];return Yi?Object(O.a)(Object(O.a)({},mo),Object(m.a)({},Xr,bd(Yi,Dr,Xr))):mo}):Ra}function ml(yn){var Dr=yn.prefixCls,Xr=yn.mergedColumns,Ta=yn.onSorterChange,Ra=yn.sortDirections,wi=yn.tableLocale,mo=yn.showSorterTooltip,Yi=w.useState(Ru(Xr,!0)),Ji=Object(C.a)(Yi,2),Vs=Ji[0],Jo=Ji[1],dn=w.useMemo(function(){var Fa=!0,Va=Ru(Xr,!1);if(!Va.length)return Vs;var di=[];function Ci(ho){Fa?di.push(ho):di.push(Object(O.a)(Object(O.a)({},ho),{sortOrder:null}))}var wo=null;return Va.forEach(function(ho){wo===null?(Ci(ho),ho.sortOrder&&(ho.multiplePriority===!1?Fa=!1:wo=!0)):(wo&&ho.multiplePriority!==!1||(Fa=!1),Ci(ho))}),di},[Xr,Vs]),pn=w.useMemo(function(){var Fa=dn.map(function(Va){var di=Va.column,Ci=Va.sortOrder;return{column:di,order:Ci}});return{sortColumns:Fa,sortColumn:Fa[0]&&Fa[0].column,sortOrder:Fa[0]&&Fa[0].order}},[dn]);function sr(Fa){var Va;Fa.multiplePriority===!1||!dn.length||dn[0].multiplePriority===!1?Va=[Fa]:Va=[].concat(Object(y.a)(dn.filter(function(di){var Ci=di.key;return Ci!==Fa.key})),[Fa]),Jo(Va),Ta(nd(Va),Va)}var lr=function(Va){return Hl(Dr,Va,dn,sr,Ra,wi,mo)},_a=function(){return nd(dn)};return[lr,dn,pn,_a]}function os(yn,Dr){return yn.map(function(Xr){var Ta=Object(O.a)({},Xr);return Ta.title=Ya(Xr.title,Dr),"children"in Ta&&(Ta.children=os(Ta.children,Dr)),Ta})}function wu(yn){var Dr=w.useCallback(function(Xr){return os(Xr,yn)},[yn]);return[Dr]}var cd=[];function Ud(yn,Dr){var Xr,Ta=yn.prefixCls,Ra=yn.className,wi=yn.style,mo=yn.size,Yi=yn.bordered,Ji=yn.dropdownPrefixCls,Vs=yn.dataSource,Jo=yn.pagination,dn=yn.rowSelection,pn=yn.rowKey,sr=pn===void 0?"key":pn,lr=yn.rowClassName,_a=yn.columns,Fa=yn.children,Va=yn.childrenColumnName,di=yn.onChange,Ci=yn.getPopupContainer,wo=yn.loading,ho=yn.expandIcon,Io=yn.expandable,Fo=yn.expandedRowRender,xs=yn.expandIconColumnIndex,ms=yn.indentSize,ys=yn.scroll,bs=yn.sortDirections,Po=yn.locale,yr=yn.showSorterTooltip,Ls=yr===void 0?!0:yr;[["filterDropdownVisible","filterDropdownOpen"],["onFilterDropdownVisibleChange","onFilterDropdownOpenChange"]].forEach(function(ds){var oc=Object(C.a)(ds,2),Il=oc[0],pu=oc[1]});var Zs=w.useMemo(function(){return _a||Xn(Fa)},[_a,Fa]),Sc=w.useMemo(function(){return Zs.some(function(ds){return ds.responsive})},[Zs]),Hs=Object($t.a)(Sc),bc=w.useMemo(function(){var ds=new Set(Object.keys(Hs).filter(function(oc){return Hs[oc]}));return Zs.filter(function(oc){return!oc.responsive||oc.responsive.some(function(Il){return ds.has(Il)})})},[Zs,Hs]),cr=Object(Vi.a)(yn,["className","style","columns"]),qr=w.useContext(hs.b),yi=w.useContext(vo.b),Ki=yi.locale,uo=Ki===void 0?rt.a:Ki,As=yi.renderEmpty,zc=yi.direction,cc=mo||qr,fl=Object(O.a)(Object(O.a)({},uo.Table),Po),Bc=Vs||cd,Gl=w.useContext(vo.b),Fl=Gl.getPrefixCls,pl=Fl("table",Ta),gu=Fl("dropdown",Ji),bl=Object(O.a)({childrenColumnName:Va,expandIconColumnIndex:xs},Io),tu=bl.childrenColumnName,hl=tu===void 0?"children":tu,ju=w.useMemo(function(){return Bc.some(function(ds){return ds==null?void 0:ds[hl]})?"nest":Fo||Io&&Io.expandedRowRender?"row":null},[Bc]),il={body:w.useRef()},Mu=w.useMemo(function(){return typeof sr=="function"?sr:function(ds){return ds==null?void 0:ds[sr]}},[sr]),ji=Object(nr.a)(Bc,hl,Mu),xa=Object(C.a)(ji,1),as=xa[0],ws={},Cs=function(oc,Il){var pu=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Nl=Object(O.a)(Object(O.a)({},ws),oc);pu&&(ws.resetPagination(),Nl.pagination.current&&(Nl.pagination.current=1),Jo&&Jo.onChange&&Jo.onChange(1,Nl.pagination.pageSize)),ys&&ys.scrollToFirstRowOnChange!==!1&&il.body.current&&da(0,{getContainer:function(){return il.body.current}}),di==null||di(Nl.pagination,Nl.filters,Nl.sorter,{currentDataSource:rl(bd(Bc,Nl.sorterStates,hl),Nl.filterStates),action:Il})},$o=function(oc,Il){Cs({sorter:oc,sorterStates:Il},"sort",!1)},_c=ml({prefixCls:pl,mergedColumns:bc,onSorterChange:$o,sortDirections:bs||["ascend","descend"],tableLocale:fl,showSorterTooltip:Ls}),Lc=Object(C.a)(_c,4),Rl=Lc[0],Ol=Lc[1],cl=Lc[2],au=Lc[3],Yu=w.useMemo(function(){return bd(Bc,Ol,hl)},[Bc,Ol]);ws.sorter=au(),ws.sorterStates=Ol;var Od=function(oc,Il){Cs({filters:oc,filterStates:Il},"filter",!0)},Lu=qt({prefixCls:pl,locale:fl,dropdownPrefixCls:gu,mergedColumns:bc,onFilterChange:Od,getPopupContainer:Ci}),Hd=Object(C.a)(Lu,3),af=Hd[0],Gd=Hd[1],Nd=Hd[2],kd=rl(Yu,Gd);ws.filters=Nd,ws.filterStates=Gd;var xf=w.useMemo(function(){var ds={};return Object.keys(Nd).forEach(function(oc){Nd[oc]!==null&&(ds[oc]=Nd[oc])}),Object(O.a)(Object(O.a)({},cl),{filters:ds})},[cl,Nd]),Bd=wu(xf),Fu=Object(C.a)(Bd,1),xd=Fu[0],of=function(oc,Il){Cs({pagination:Object(O.a)(Object(O.a)({},ws.pagination),{current:oc,pageSize:Il})},"paginate")},ld=zr(kd.length,Jo,of),cu=Object(C.a)(ld,2),ll=cu[0],ad=cu[1];ws.pagination=Jo===!1?{}:ni(Jo,ll),ws.resetPagination=ad;var Xu=w.useMemo(function(){if(Jo===!1||!ll.pageSize)return kd;var ds=ll.current,oc=ds===void 0?1:ds,Il=ll.total,pu=ll.pageSize,Nl=pu===void 0?Yr:pu;return kd.length<Il?kd.length>Nl?kd.slice((oc-1)*Nl,oc*Nl):kd:kd.slice((oc-1)*Nl,oc*Nl)},[!!Jo,kd,ll&&ll.current,ll&&ll.pageSize,ll&&ll.total]),_s=ps(dn,{prefixCls:pl,data:kd,pageData:Xu,getRowKey:Mu,getRecordByKey:as,expandType:ju,childrenColumnName:hl,locale:fl,getPopupContainer:Ci}),jl=Object(C.a)(_s,2),Uu=jl[0],jd=jl[1],Sf=function(oc,Il,pu){var Nl;return typeof lr=="function"?Nl=A()(lr(oc,Il,pu)):Nl=A()(lr),A()(Object(m.a)({},"".concat(pl,"-row-selected"),jd.has(Mu(oc,Il))),Nl)};bl.__PARENT_RENDER_ICON__=bl.expandIcon,bl.expandIcon=bl.expandIcon||ho||ga(fl),ju==="nest"&&bl.expandIconColumnIndex===void 0?bl.expandIconColumnIndex=dn?1:0:bl.expandIconColumnIndex>0&&dn&&(bl.expandIconColumnIndex-=1),typeof bl.indentSize!="number"&&(bl.indentSize=typeof ms=="number"?ms:15);var Af=w.useCallback(function(ds){return xd(Uu(af(Rl(ds))))},[Rl,af,Uu]),mf,Ld;if(Jo!==!1&&(ll==null?void 0:ll.total)){var qd;ll.size?qd=ll.size:qd=cc==="small"||cc==="middle"?"small":void 0;var bu=function(oc){return w.createElement(Vt.a,Object(O.a)({},ll,{className:A()("".concat(pl,"-pagination ").concat(pl,"-pagination-").concat(oc),ll.className),size:qd}))},$d=zc==="rtl"?"left":"right",Ju=ll.position;if(Ju!==null&&Array.isArray(Ju)){var Jd=Ju.find(function(ds){return ds.includes("top")}),Zo=Ju.find(function(ds){return ds.includes("bottom")}),Vr=Ju.every(function(ds){return"".concat(ds)==="none"});!Jd&&!Zo&&!Vr&&(Ld=bu($d)),Jd&&(mf=bu(Jd.toLowerCase().replace("top",""))),Zo&&(Ld=bu(Zo.toLowerCase().replace("bottom","")))}else Ld=bu($d)}var Yo;typeof wo=="boolean"?Yo={spinning:wo}:Object(E.a)(wo)==="object"&&(Yo=Object(O.a)({spinning:!0},wo));var Mi=A()("".concat(pl,"-wrapper"),Object(m.a)({},"".concat(pl,"-wrapper-rtl"),zc==="rtl"),Ra);return w.createElement("div",{ref:Dr,className:Mi,style:wi},w.createElement(tn.a,Object(O.a)({spinning:!1},Yo),mf,w.createElement(io,Object(O.a)({},cr,{columns:bc,direction:zc,expandable:bl,prefixCls:pl,className:A()((Xr={},Object(m.a)(Xr,"".concat(pl,"-middle"),cc==="middle"),Object(m.a)(Xr,"".concat(pl,"-small"),cc==="small"),Object(m.a)(Xr,"".concat(pl,"-bordered"),Yi),Object(m.a)(Xr,"".concat(pl,"-empty"),Bc.length===0),Xr)),data:Xu,rowKey:Mu,rowClassName:Sf,emptyText:Po&&Po.emptyText||(As||qo.a)("Table"),internalHooks:go,internalRefs:il,transformColumns:Af})),Ld))}var Eu=w.forwardRef(Ud),El=Eu;El.SELECTION_COLUMN=ri,El.EXPAND_COLUMN=io.EXPAND_COLUMN,El.SELECTION_ALL=li,El.SELECTION_INVERT=hi,El.SELECTION_NONE=ii,El.Column=Fn,El.ColumnGroup=Ir,El.Summary=pi;var eu=El,rd=R.a=eu},wCxl:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){for(var C=m,k=0;k<O.length;k+=1){if(C==null)return;C=C[O[k]]}return C}},"wEI+":function(ce,R,l){"use strict";l.d(R,"b",function(){return xe});var E=l("wx14"),m=l("Pw59"),O=l("1HLR"),C=l("q1tI"),k=l("yv/b"),A=l("ul5b"),S=l("YlG9"),y="internalMark",w=function(pe){var Ke=pe.locale,Me=Ke===void 0?{}:Ke,ze=pe.children,Ue=pe._ANT_MARK__;C.useEffect(function(){return Object(A.a)(Me&&Me.Modal),function(){Object(A.a)()}},[Me]);var He=C.useMemo(function(){return Object(E.a)(Object(E.a)({},Me),{exist:!0})},[Me]);return C.createElement(S.a.Provider,{value:He},ze)},x=w,T=l("YMnH"),j=l("ZvpZ"),D=l("tsqr"),N=l("TeRw"),F=l("H84U"),B=l("hNzZ"),U=l("VJFB"),J=l("A0Fo"),$=l("3zOE"),X="-ant-".concat(Date.now(),"-").concat(Math.random());function ee(fe,pe){var Ke={},Me=function(ht,lt){var Et=ht.clone();return Et=(lt==null?void 0:lt(Et))||Et,Et.toRgbString()},ze=function(ht,lt){var Et=new U.a(ht),tt=Object(B.generate)(Et.toRgbString());Ke["".concat(lt,"-color")]=Me(Et),Ke["".concat(lt,"-color-disabled")]=tt[1],Ke["".concat(lt,"-color-hover")]=tt[4],Ke["".concat(lt,"-color-active")]=tt[6],Ke["".concat(lt,"-color-outline")]=Et.clone().setAlpha(.2).toRgbString(),Ke["".concat(lt,"-color-deprecated-bg")]=tt[0],Ke["".concat(lt,"-color-deprecated-border")]=tt[2]};if(pe.primaryColor){ze(pe.primaryColor,"primary");var Ue=new U.a(pe.primaryColor),He=Object(B.generate)(Ue.toRgbString());He.forEach(function(Xe,ht){Ke["primary-".concat(ht+1)]=Xe}),Ke["primary-color-deprecated-l-35"]=Me(Ue,function(Xe){return Xe.lighten(35)}),Ke["primary-color-deprecated-l-20"]=Me(Ue,function(Xe){return Xe.lighten(20)}),Ke["primary-color-deprecated-t-20"]=Me(Ue,function(Xe){return Xe.tint(20)}),Ke["primary-color-deprecated-t-50"]=Me(Ue,function(Xe){return Xe.tint(50)}),Ke["primary-color-deprecated-f-12"]=Me(Ue,function(Xe){return Xe.setAlpha(Xe.getAlpha()*.12)});var Ne=new U.a(He[0]);Ke["primary-color-active-deprecated-f-30"]=Me(Ne,function(Xe){return Xe.setAlpha(Xe.getAlpha()*.3)}),Ke["primary-color-active-deprecated-d-02"]=Me(Ne,function(Xe){return Xe.darken(2)})}pe.successColor&&ze(pe.successColor,"success"),pe.warningColor&&ze(pe.warningColor,"warning"),pe.errorColor&&ze(pe.errorColor,"error"),pe.infoColor&&ze(pe.infoColor,"info");var it=Object.keys(Ke).map(function(Xe){return"--".concat(fe,"-").concat(Xe,": ").concat(Ke[Xe],";")});return`
:root {
`.concat(it.join(`
`),`
}
`).trim()}function ie(fe,pe){var Ke=ee(fe,pe);Object(J.a)()&&Object($.a)(Ke,"".concat(X,"-dynamic-theme"))}var G=l("caoh"),Q=l("3Nzz"),W=["getTargetContainer","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","autoInsertSpaceInButton","locale","pageHeader"],ne=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"],te="ant",_e="anticon",he,oe;function ge(){return he||te}function me(){return oe||_e}var Z=function(pe){var Ke=pe.prefixCls,Me=pe.iconPrefixCls,ze=pe.theme;Ke!==void 0&&(he=Ke),Me!==void 0&&(oe=Me),ze&&ie(ge(),ze)},xe=function(){return{getPrefixCls:function(Ke,Me){return Me||(Ke?"".concat(ge(),"-").concat(Ke):ge())},getIconPrefixCls:me,getRootPrefixCls:function(Ke,Me){return Ke||he||(Me&&Me.includes("-")?Me.replace(/^(.*)-[^-]*$/,"$1"):ge())}}},Ee=function(pe){var Ke,Me,ze=pe.children,Ue=pe.csp,He=pe.autoInsertSpaceInButton,Ne=pe.form,it=pe.locale,Xe=pe.componentSize,ht=pe.direction,lt=pe.space,Et=pe.virtual,tt=pe.dropdownMatchSelectWidth,mt=pe.legacyLocale,xt=pe.parentContext,Xt=pe.iconPrefixCls,vt=pe.componentDisabled,qe=C.useCallback(function(bt,gt){var at=pe.prefixCls;if(gt)return gt;var ft=at||xt.getPrefixCls("");return bt?"".concat(ft,"-").concat(bt):ft},[xt.getPrefixCls,pe.prefixCls]),Re=Object(E.a)(Object(E.a)({},xt),{csp:Ue,autoInsertSpaceInButton:He,locale:it||mt,direction:ht,space:lt,virtual:Et,dropdownMatchSelectWidth:tt,getPrefixCls:qe});ne.forEach(function(bt){var gt=pe[bt];gt&&(Re[bt]=gt)});var Se=Object(O.a)(function(){return Re},Re,function(bt,gt){var at=Object.keys(bt),ft=Object.keys(gt);return at.length!==ft.length||at.some(function(Fe){return bt[Fe]!==gt[Fe]})}),Ve=C.useMemo(function(){return{prefixCls:Xt,csp:Ue}},[Xt,Ue]),Ge=ze,_t={};return it&&(_t=((Ke=it.Form)===null||Ke===void 0?void 0:Ke.defaultValidateMessages)||((Me=j.a.Form)===null||Me===void 0?void 0:Me.defaultValidateMessages)||{}),Ne&&Ne.validateMessages&&(_t=Object(E.a)(Object(E.a)({},_t),Ne.validateMessages)),Object.keys(_t).length>0&&(Ge=C.createElement(k.a.Provider,{value:_t},ze)),it&&(Ge=C.createElement(x,{locale:it,_ANT_MARK__:y},Ge)),(Xt||Ue)&&(Ge=C.createElement(m.a.Provider,{value:Ve},Ge)),Xe&&(Ge=C.createElement(Q.a,{size:Xe},Ge)),vt!==void 0&&(Ge=C.createElement(G.a,{disabled:vt},Ge)),C.createElement(F.b.Provider,{value:Se},Ge)},Le=function(pe){return C.useEffect(function(){pe.direction&&(D.default.config({rtl:pe.direction==="rtl"}),N.default.config({rtl:pe.direction==="rtl"}))},[pe.direction]),C.createElement(T.a,null,function(Ke,Me,ze){return C.createElement(F.a,null,function(Ue){return C.createElement(Ee,Object(E.a)({parentContext:Ue,legacyLocale:ze},pe))})})};Le.ConfigContext=F.b,Le.SizeContext=Q.b,Le.config=Z;var we=R.a=Le},"wF/u":function(ce,R,l){var E=l("e5cp"),m=l("ExA7");function O(C,k,A,S,y){return C===k?!0:C==null||k==null||!m(C)&&!m(k)?C!==C&&k!==k:E(C,k,A,S,O,y)}ce.exports=O},wFNa:function(ce,R,l){},wFql:function(ce,R,l){"use strict";var E=l("wx14"),m=l("U8pU"),O=l("q1tI"),C=l("rePB"),k=l("ODXe"),A=l("bRQS"),S=l("lfch"),y=l("G3dp"),w=l("TSYQ"),x=l.n(w),T=l("+QRC"),j=l.n(T),D=l("t23M"),N=l("axMd"),F=l("N0Yx"),B=l("pAT6"),U=l("Ya77"),J=l("Twdv"),$=l("H84U"),X=l("YMnH"),ee=l("gDlH"),ie=l("DmF2"),G=l("3S7+"),Q=l("VTBJ"),W={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"},ne=W,te=l("6VBw"),_e=function(Pt,Dt){return O.createElement(te.a,Object(Q.a)(Object(Q.a)({},Pt),{},{ref:Dt,icon:ne}))};_e.displayName="EnterOutlined";var he=O.forwardRef(_e),oe=l("rOxa"),ge=l("whJP"),me=l("0n0R"),Z=function(Pt){var Dt=Pt.prefixCls,Qt=Pt["aria-label"],cn=Pt.className,$n=Pt.style,hn=Pt.direction,_n=Pt.maxLength,bn=Pt.autoSize,Bn=bn===void 0?!0:bn,Tn=Pt.value,Tr=Pt.onSave,Sr=Pt.onCancel,Wr=Pt.onEnd,br=Pt.component,Wn=Pt.enterIcon,gr=Wn===void 0?O.createElement(he,null):Wn,na=O.useRef(null),jn=O.useRef(!1),un=O.useRef(),zt=O.useState(Tn),Bt=Object(k.a)(zt,2),H=Bt[0],ot=Bt[1];O.useEffect(function(){ot(Tn)},[Tn]),O.useEffect(function(){if(na.current&&na.current.resizableTextArea){var Zt=na.current.resizableTextArea.textArea;Zt.focus();var rr=Zt.value.length;Zt.setSelectionRange(rr,rr)}},[]);var nt=function(rr){var Gn=rr.target;ot(Gn.value.replace(/[\n\r]/g,""))},Ct=function(){jn.current=!0},Wt=function(){jn.current=!1},kn=function(rr){var Gn=rr.keyCode;jn.current||(un.current=Gn)},Sn=function(){Tr(H.trim())},Zn=function(rr){var Gn=rr.keyCode,ln=rr.ctrlKey,Xn=rr.altKey,Kn=rr.metaKey,fr=rr.shiftKey;un.current===Gn&&!jn.current&&!ln&&!Xn&&!Kn&&!fr&&(Gn===oe.a.ENTER?(Sn(),Wr==null||Wr()):Gn===oe.a.ESC&&Sr())},Or=function(){Sn()},Yn=br?"".concat(Dt,"-").concat(br):"",Nn=x()(Dt,"".concat(Dt,"-edit-content"),Object(C.a)({},"".concat(Dt,"-rtl"),hn==="rtl"),cn,Yn);return O.createElement("div",{className:Nn,style:$n},O.createElement(ge.a,{ref:na,maxLength:_n,value:H,onChange:nt,onKeyDown:kn,onKeyUp:Zn,onCompositionStart:Ct,onCompositionEnd:Wt,onBlur:Or,"aria-label":Qt,rows:1,autoSize:Bn}),gr!==null?Object(me.a)(gr,{className:"".concat(Dt,"-edit-content-confirm")}):null)},xe=Z;function Ee(At,Pt){return O.useMemo(function(){var Dt=!!At;return[Dt,Object(E.a)(Object(E.a)({},Pt),Dt&&Object(m.a)(At)==="object"?At:null)]},[At])}var Le=function(Pt,Dt){var Qt=O.useRef(!1);O.useEffect(function(){Qt.current?Pt():Qt.current=!0},Dt)},we=Le,fe=function(At,Pt){var Dt={};for(var Qt in At)Object.prototype.hasOwnProperty.call(At,Qt)&&Pt.indexOf(Qt)<0&&(Dt[Qt]=At[Qt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Qt=Object.getOwnPropertySymbols(At);cn<Qt.length;cn++)Pt.indexOf(Qt[cn])<0&&Object.prototype.propertyIsEnumerable.call(At,Qt[cn])&&(Dt[Qt[cn]]=At[Qt[cn]]);return Dt},pe=O.forwardRef(function(At,Pt){var Dt=At.prefixCls,Qt=At.component,cn=Qt===void 0?"article":Qt,$n=At.className,hn=At.setContentRef,_n=At.children,bn=At.direction,Bn=fe(At,["prefixCls","component","className","setContentRef","children","direction"]),Tn=O.useContext($.b),Tr=Tn.getPrefixCls,Sr=Tn.direction,Wr=bn!=null?bn:Sr,br=Pt;hn&&(br=Object(J.a)(Pt,hn));var Wn=Tr("typography",Dt),gr=x()(Wn,Object(C.a)({},"".concat(Wn,"-rtl"),Wr==="rtl"),$n);return O.createElement(cn,Object(E.a)({className:gr,ref:br},Bn),_n)}),Ke=pe;function Me(At){var Pt=Object(m.a)(At);return Pt==="string"||Pt==="number"}function ze(At){var Pt=0;return At.forEach(function(Dt){Me(Dt)?Pt+=String(Dt).length:Pt+=1}),Pt}function Ue(At,Pt){for(var Dt=0,Qt=[],cn=0;cn<At.length;cn+=1){if(Dt===Pt)return Qt;var $n=At[cn],hn=Me($n),_n=hn?String($n).length:1,bn=Dt+_n;if(bn>Pt){var Bn=Pt-Dt;return Qt.push(String($n).slice(0,Bn)),Qt}Qt.push($n),Dt=bn}return At}var He=0,Ne=1,it=2,Xe=3,ht=4,lt=function(Pt){var Dt=Pt.enabledMeasure,Qt=Pt.children,cn=Pt.text,$n=Pt.width,hn=Pt.fontSize,_n=Pt.rows,bn=Pt.onEllipsis,Bn=O.useState([0,0,0]),Tn=Object(k.a)(Bn,2),Tr=Object(k.a)(Tn[0],3),Sr=Tr[0],Wr=Tr[1],br=Tr[2],Wn=Tn[1],gr=O.useState(He),na=Object(k.a)(gr,2),jn=na[0],un=na[1],zt=O.useState(0),Bt=Object(k.a)(zt,2),H=Bt[0],ot=Bt[1],nt=O.useRef(null),Ct=O.useRef(null),Wt=O.useMemo(function(){return Object(N.a)(cn)},[cn]),kn=O.useMemo(function(){return ze(Wt)},[Wt]),Sn=O.useMemo(function(){return!Dt||jn!==Xe?Qt(Wt,!1):Qt(Ue(Wt,Wr),Wr<kn)},[Dt,jn,Qt,Wt,Wr,kn]);Object(F.a)(function(){Dt&&$n&&hn&&kn&&(un(Ne),Wn([0,Math.ceil(kn/2),kn]))},[Dt,$n,hn,cn,kn,_n]),Object(F.a)(function(){var Nn;jn===Ne&&ot(((Nn=nt.current)===null||Nn===void 0?void 0:Nn.offsetHeight)||0)},[jn]),Object(F.a)(function(){var Nn,Zt;if(H){if(jn===Ne){var rr=((Nn=Ct.current)===null||Nn===void 0?void 0:Nn.offsetHeight)||0,Gn=_n*H;rr<=Gn?(un(ht),bn(!1)):un(it)}else if(jn===it)if(Sr!==br){var ln=((Zt=Ct.current)===null||Zt===void 0?void 0:Zt.offsetHeight)||0,Xn=_n*H,Kn=Sr,fr=br;Sr===br-1?fr=Sr:ln<=Xn?Kn=Wr:fr=Wr;var Hn=Math.ceil((Kn+fr)/2);Wn([Kn,Hn,fr])}else un(Xe),bn(!0)}},[jn,Sr,br,_n,H]);var Zn={width:$n,whiteSpace:"normal",margin:0,padding:0},Or=function(Zt,rr,Gn){return O.createElement("span",{"aria-hidden":!0,ref:rr,style:Object(E.a)({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.floor(hn/2)*2},Gn)},Zt)},Yn=function(Zt,rr){var Gn=Ue(Wt,Zt);return Or(Qt(Gn,!0),rr,Zn)};return O.createElement(O.Fragment,null,Sn,Dt&&jn!==Xe&&jn!==ht&&O.createElement(O.Fragment,null,Or("lg",nt,{wordBreak:"keep-all",whiteSpace:"nowrap"}),jn===Ne?Or(Qt(Wt,!1),Ct,Zn):Yn(Wr,Ct)))},Et=lt,tt=function(Pt){var Dt=Pt.enabledEllipsis,Qt=Pt.isEllipsis,cn=Pt.children,$n=Pt.tooltipProps;return!($n==null?void 0:$n.title)||!Dt?cn:O.createElement(G.a,Object(E.a)({open:Qt?void 0:!1},$n),cn)},mt=tt,xt=function(At,Pt){var Dt={};for(var Qt in At)Object.prototype.hasOwnProperty.call(At,Qt)&&Pt.indexOf(Qt)<0&&(Dt[Qt]=At[Qt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Qt=Object.getOwnPropertySymbols(At);cn<Qt.length;cn++)Pt.indexOf(Qt[cn])<0&&Object.prototype.propertyIsEnumerable.call(At,Qt[cn])&&(Dt[Qt[cn]]=At[Qt[cn]]);return Dt};function Xt(At,Pt){var Dt=At.mark,Qt=At.code,cn=At.underline,$n=At.delete,hn=At.strong,_n=At.keyboard,bn=At.italic,Bn=Pt;function Tn(Tr,Sr){!Tr||(Bn=O.createElement(Sr,{},Bn))}return Tn(hn,"strong"),Tn(cn,"u"),Tn($n,"del"),Tn(Qt,"code"),Tn(Dt,"mark"),Tn(_n,"kbd"),Tn(bn,"i"),Bn}function vt(At,Pt,Dt){return At===!0||At===void 0?Pt:At||Dt&&Pt}function qe(At){return At===!1?[!1,!1]:Array.isArray(At)?At:[At]}var Re="...",Se=O.forwardRef(function(At,Pt){var Dt,Qt,cn,$n=At.prefixCls,hn=At.className,_n=At.style,bn=At.type,Bn=At.disabled,Tn=At.children,Tr=At.ellipsis,Sr=At.editable,Wr=At.copyable,br=At.component,Wn=At.title,gr=xt(At,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),na=O.useContext($.b),jn=na.getPrefixCls,un=na.direction,zt=Object(X.b)("Text")[0],Bt=O.useRef(null),H=O.useRef(null),ot=jn("typography",$n),nt=Object(U.a)(gr,["mark","code","delete","underline","strong","keyboard","italic"]),Ct=Ee(Sr),Wt=Object(k.a)(Ct,2),kn=Wt[0],Sn=Wt[1],Zn=Object(B.a)(!1,{value:Sn.editing}),Or=Object(k.a)(Zn,2),Yn=Or[0],Nn=Or[1],Zt=Sn.triggerType,rr=Zt===void 0?["icon"]:Zt,Gn=function(xr){var da;xr&&((da=Sn.onStart)===null||da===void 0||da.call(Sn)),Nn(xr)};we(function(){var zn;Yn||(zn=H.current)===null||zn===void 0||zn.focus()},[Yn]);var ln=function(xr){xr==null||xr.preventDefault(),Gn(!0)},Xn=function(xr){var da;(da=Sn.onChange)===null||da===void 0||da.call(Sn,xr),Gn(!1)},Kn=function(){var xr;(xr=Sn.onCancel)===null||xr===void 0||xr.call(Sn),Gn(!1)},fr=Ee(Wr),Hn=Object(k.a)(fr,2),Sa=Hn[0],Lr=Hn[1],Ca=O.useState(!1),za=Object(k.a)(Ca,2),Ma=za[0],va=za[1],qa=O.useRef(),gi={};Lr.format&&(gi.format=Lr.format);var Qi=function(){window.clearTimeout(qa.current)},mi=function(xr){var da;xr==null||xr.preventDefault(),xr==null||xr.stopPropagation(),j()(Lr.text||String(Tn)||"",gi),va(!0),Qi(),qa.current=window.setTimeout(function(){va(!1)},3e3),(da=Lr.onCopy)===null||da===void 0||da.call(Lr,xr)};O.useEffect(function(){return Qi},[]);var Cr=O.useState(!1),Un=Object(k.a)(Cr,2),Lt=Un[0],gn=Un[1],Ln=O.useState(!1),kr=Object(k.a)(Ln,2),ea=kr[0],Qr=kr[1],Na=O.useState(!1),ar=Object(k.a)(Na,2),pi=ar[0],_i=ar[1],ti=O.useState(!1),ui=Object(k.a)(ti,2),Ri=ui[0],ao=ui[1],Zi=O.useState(!1),Fi=Object(k.a)(Zi,2),Si=Fi[0],qi=Fi[1],eo=O.useState(!0),xo=Object(k.a)(eo,2),cs=xo[0],ba=xo[1],sa=Ee(Tr,{expandable:!1}),Da=Object(k.a)(sa,2),On=Da[0],xn=Da[1],Rt=On&&!pi,mr=xn.rows,ta=mr===void 0?1:mr,ma=O.useMemo(function(){return!Rt||xn.suffix!==void 0||xn.onEllipsis||xn.expandable||kn||Sa},[Rt,xn,kn,Sa]);Object(F.a)(function(){On&&!ma&&(gn(Object(ie.a)("webkitLineClamp")),Qr(Object(ie.a)("textOverflow")))},[ma,On]);var Oa=O.useMemo(function(){return ma?!1:ta===1?ea:Lt},[ma,ea,Lt]),Pn=Rt&&(Oa?Si:Ri),Kr=Rt&&ta===1&&Oa,Vn=Rt&&ta>1&&Oa,tr=function(xr){var da;_i(!0),(da=xn.onExpand)===null||da===void 0||da.call(xn,xr)},Ea=O.useState(0),Ja=Object(k.a)(Ea,2),go=Ja[0],fi=Ja[1],lo=O.useState(0),Oi=Object(k.a)(lo,2),io=Oi[0],Vi=Oi[1],vo=function(xr,da){var en=xr.offsetWidth,Fn;fi(en),Vi(parseInt((Fn=window.getComputedStyle)===null||Fn===void 0?void 0:Fn.call(window,da).fontSize,10)||0)},qo=function(xr){var da;ao(xr),Ri!==xr&&((da=xn.onEllipsis)===null||da===void 0||da.call(xn,xr))};O.useEffect(function(){var zn=Bt.current;if(On&&Oa&&zn){var xr=Vn?zn.offsetHeight<zn.scrollHeight:zn.offsetWidth<zn.scrollWidth;Si!==xr&&qi(xr)}},[On,Oa,Tn,Vn,cs]),O.useEffect(function(){var zn=Bt.current;if(!(typeof IntersectionObserver=="undefined"||!zn||!Oa||!Rt)){var xr=new IntersectionObserver(function(){ba(!!zn.offsetParent)});return xr.observe(zn),function(){xr.disconnect()}}},[Oa,Rt]);var hs={};xn.tooltip===!0?hs={title:(Dt=Sn.text)!==null&&Dt!==void 0?Dt:Tn}:O.isValidElement(xn.tooltip)?hs={title:xn.tooltip}:Object(m.a)(xn.tooltip)==="object"?hs=Object(E.a)({title:(Qt=Sn.text)!==null&&Qt!==void 0?Qt:Tn},xn.tooltip):hs={title:xn.tooltip};var $t=O.useMemo(function(){var zn=function(da){return["string","number"].includes(Object(m.a)(da))};if(!(!On||Oa)){if(zn(Sn.text))return Sn.text;if(zn(Tn))return Tn;if(zn(Wn))return Wn;if(zn(hs.title))return hs.title}},[On,Oa,Wn,hs.title,Pn]);if(Yn)return O.createElement(xe,{value:(cn=Sn.text)!==null&&cn!==void 0?cn:typeof Tn=="string"?Tn:"",onSave:Xn,onCancel:Kn,onEnd:Sn.onEnd,prefixCls:ot,className:hn,style:_n,direction:un,component:br,maxLength:Sn.maxLength,autoSize:Sn.autoSize,enterIcon:Sn.enterIcon});var rt=function(){var xr=xn.expandable,da=xn.symbol;if(!xr)return null;var en;return da?en=da:en=zt.expand,O.createElement("a",{key:"expand",className:"".concat(ot,"-expand"),onClick:tr,"aria-label":zt.expand},en)},Vt=function(){if(!!kn){var xr=Sn.icon,da=Sn.tooltip,en=Object(N.a)(da)[0]||zt.edit,Fn=typeof en=="string"?en:"";return rr.includes("icon")?O.createElement(G.a,{key:"edit",title:da===!1?"":en},O.createElement(ee.a,{ref:H,className:"".concat(ot,"-edit"),onClick:ln,"aria-label":Fn},xr||O.createElement(y.a,{role:"button"}))):null}},tn=function(){if(!!Sa){var xr=Lr.tooltips,da=Lr.icon,en=qe(xr),Fn=qe(da),Jn=Ma?vt(en[1],zt.copied):vt(en[0],zt.copy),Ir=Ma?zt.copied:zt.copy,Gr=typeof Jn=="string"?Jn:Ir;return O.createElement(G.a,{key:"copy",title:Jn},O.createElement(ee.a,{className:x()("".concat(ot,"-copy"),Ma&&"".concat(ot,"-copy-success")),onClick:mi,"aria-label":Gr},Ma?vt(Fn[1],O.createElement(A.a,null),!0):vt(Fn[0],O.createElement(S.a,null),!0)))}},wn=function(xr){return[xr&&rt(),Vt(),tn()]},qn=function(xr){return[xr&&O.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Re),xn.suffix,wn(xr)]};return O.createElement(D.a,{onResize:vo,disabled:!Rt||Oa},function(zn){var xr;return O.createElement(mt,{tooltipProps:hs,enabledEllipsis:Rt,isEllipsis:Pn},O.createElement(Ke,Object(E.a)({className:x()((xr={},Object(C.a)(xr,"".concat(ot,"-").concat(bn),bn),Object(C.a)(xr,"".concat(ot,"-disabled"),Bn),Object(C.a)(xr,"".concat(ot,"-ellipsis"),On),Object(C.a)(xr,"".concat(ot,"-single-line"),Rt&&ta===1),Object(C.a)(xr,"".concat(ot,"-ellipsis-single-line"),Kr),Object(C.a)(xr,"".concat(ot,"-ellipsis-multiple-line"),Vn),xr),hn),prefixCls:$n,style:Object(E.a)(Object(E.a)({},_n),{WebkitLineClamp:Vn?ta:void 0}),component:br,ref:Object(J.a)(zn,Bt,Pt),direction:un,onClick:rr.includes("text")?ln:void 0,"aria-label":$t==null?void 0:$t.toString(),title:Wn},nt),O.createElement(Et,{enabledMeasure:Rt&&!Oa,text:Tn,rows:ta,width:go,fontSize:io,onEllipsis:qo},function(da,en){var Fn=da;da.length&&en&&$t&&(Fn=O.createElement("span",{key:"show-content","aria-hidden":!0},Fn));var Jn=Xt(At,O.createElement(O.Fragment,null,Fn,qn(en)));return Jn})))})}),Ve=Se,Ge=function(At,Pt){var Dt={};for(var Qt in At)Object.prototype.hasOwnProperty.call(At,Qt)&&Pt.indexOf(Qt)<0&&(Dt[Qt]=At[Qt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Qt=Object.getOwnPropertySymbols(At);cn<Qt.length;cn++)Pt.indexOf(Qt[cn])<0&&Object.prototype.propertyIsEnumerable.call(At,Qt[cn])&&(Dt[Qt[cn]]=At[Qt[cn]]);return Dt},_t=O.forwardRef(function(At,Pt){var Dt=At.ellipsis,Qt=At.rel,cn=Ge(At,["ellipsis","rel"]),$n=Object(E.a)(Object(E.a)({},cn),{rel:Qt===void 0&&cn.target==="_blank"?"noopener noreferrer":Qt});return delete $n.navigate,O.createElement(Ve,Object(E.a)({},$n,{ref:Pt,ellipsis:!!Dt,component:"a"}))}),bt=_t,gt=O.forwardRef(function(At,Pt){return O.createElement(Ve,Object(E.a)({ref:Pt},At,{component:"div"}))}),at=gt,ft=function(At,Pt){var Dt={};for(var Qt in At)Object.prototype.hasOwnProperty.call(At,Qt)&&Pt.indexOf(Qt)<0&&(Dt[Qt]=At[Qt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Qt=Object.getOwnPropertySymbols(At);cn<Qt.length;cn++)Pt.indexOf(Qt[cn])<0&&Object.prototype.propertyIsEnumerable.call(At,Qt[cn])&&(Dt[Qt[cn]]=At[Qt[cn]]);return Dt},Fe=function(Pt,Dt){var Qt=Pt.ellipsis,cn=ft(Pt,["ellipsis"]),$n=O.useMemo(function(){return Qt&&Object(m.a)(Qt)==="object"?Object(U.a)(Qt,["expandable","rows"]):Qt},[Qt]);return O.createElement(Ve,Object(E.a)({ref:Dt},cn,{ellipsis:$n,component:"span"}))},Te=O.forwardRef(Fe),ut=l("CWQg"),le=function(At,Pt){var Dt={};for(var Qt in At)Object.prototype.hasOwnProperty.call(At,Qt)&&Pt.indexOf(Qt)<0&&(Dt[Qt]=At[Qt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Qt=Object.getOwnPropertySymbols(At);cn<Qt.length;cn++)Pt.indexOf(Qt[cn])<0&&Object.prototype.propertyIsEnumerable.call(At,Qt[cn])&&(Dt[Qt[cn]]=At[Qt[cn]]);return Dt},$e=Object(ut.b)(1,2,3,4,5),Qe=O.forwardRef(function(At,Pt){var Dt=At.level,Qt=Dt===void 0?1:Dt,cn=le(At,["level"]),$n;return $e.includes(Qt)?$n="h".concat(Qt):$n="h1",O.createElement(Ve,Object(E.a)({ref:Pt},cn,{component:$n}))}),Tt=Qe,Ot=Ke;Ot.Text=Te,Ot.Link=bt,Ot.Title=Tt,Ot.Paragraph=at;var Ut=R.a=Ot},wIYK:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=k;var E=l("b+tR"),m=O(E);function O(A){return A&&A.__esModule?A:{default:A}}var C=["-webkit-",""];function k(A,S){if(typeof S=="string"&&!(0,m.default)(S)&&S.indexOf("filter(")>-1)return C.map(function(y){return S.replace(/filter\(/g,y+"filter(")})}ce.exports=R.default},wJg7:function(ce,R){var l=9007199254740991,E=/^(?:0|[1-9]\d*)$/;function m(O,C){var k=typeof O;return C=C==null?l:C,!!C&&(k=="number"||k!="symbol"&&E.test(O))&&O>-1&&O%1==0&&O<C}ce.exports=m},wKP8:function(ce,R,l){(function(E){var m;//! moment.js
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(O,C){E.exports=C()})(this,function(){"use strict";var O;function C(){return O.apply(null,arguments)}function k(re){O=re}function A(re){return re instanceof Array||Object.prototype.toString.call(re)==="[object Array]"}function S(re){return re!=null&&Object.prototype.toString.call(re)==="[object Object]"}function y(re,Ae){return Object.prototype.hasOwnProperty.call(re,Ae)}function w(re){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(re).length===0;var Ae;for(Ae in re)if(y(re,Ae))return!1;return!0}function x(re){return re===void 0}function T(re){return typeof re=="number"||Object.prototype.toString.call(re)==="[object Number]"}function j(re){return re instanceof Date||Object.prototype.toString.call(re)==="[object Date]"}function D(re,Ae){var ct=[],wt,an=re.length;for(wt=0;wt<an;++wt)ct.push(Ae(re[wt],wt));return ct}function N(re,Ae){for(var ct in Ae)y(Ae,ct)&&(re[ct]=Ae[ct]);return y(Ae,"toString")&&(re.toString=Ae.toString),y(Ae,"valueOf")&&(re.valueOf=Ae.valueOf),re}function F(re,Ae,ct,wt){return Js(re,Ae,ct,wt,!0).utc()}function B(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function U(re){return re._pf==null&&(re._pf=B()),re._pf}var J;Array.prototype.some?J=Array.prototype.some:J=function(Ae){var ct=Object(this),wt=ct.length>>>0,an;for(an=0;an<wt;an++)if(an in ct&&Ae.call(this,ct[an],an,ct))return!0;return!1};function $(re){if(re._isValid==null){var Ae=U(re),ct=J.call(Ae.parsedDateParts,function(an){return an!=null}),wt=!isNaN(re._d.getTime())&&Ae.overflow<0&&!Ae.empty&&!Ae.invalidEra&&!Ae.invalidMonth&&!Ae.invalidWeekday&&!Ae.weekdayMismatch&&!Ae.nullInput&&!Ae.invalidFormat&&!Ae.userInvalidated&&(!Ae.meridiem||Ae.meridiem&&ct);if(re._strict&&(wt=wt&&Ae.charsLeftOver===0&&Ae.unusedTokens.length===0&&Ae.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(re))re._isValid=wt;else return wt}return re._isValid}function X(re){var Ae=F(NaN);return re!=null?N(U(Ae),re):U(Ae).userInvalidated=!0,Ae}var ee=C.momentProperties=[],ie=!1;function G(re,Ae){var ct,wt,an,jr=ee.length;if(x(Ae._isAMomentObject)||(re._isAMomentObject=Ae._isAMomentObject),x(Ae._i)||(re._i=Ae._i),x(Ae._f)||(re._f=Ae._f),x(Ae._l)||(re._l=Ae._l),x(Ae._strict)||(re._strict=Ae._strict),x(Ae._tzm)||(re._tzm=Ae._tzm),x(Ae._isUTC)||(re._isUTC=Ae._isUTC),x(Ae._offset)||(re._offset=Ae._offset),x(Ae._pf)||(re._pf=U(Ae)),x(Ae._locale)||(re._locale=Ae._locale),jr>0)for(ct=0;ct<jr;ct++)wt=ee[ct],an=Ae[wt],x(an)||(re[wt]=an);return re}function Q(re){G(this,re),this._d=new Date(re._d!=null?re._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ie===!1&&(ie=!0,C.updateOffset(this),ie=!1)}function W(re){return re instanceof Q||re!=null&&re._isAMomentObject!=null}function ne(re){C.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+re)}function te(re,Ae){var ct=!0;return N(function(){if(C.deprecationHandler!=null&&C.deprecationHandler(null,re),ct){var wt=[],an,jr,Xa,fs=arguments.length;for(jr=0;jr<fs;jr++){if(an="",typeof arguments[jr]=="object"){an+=`
[`+jr+"] ";for(Xa in arguments[0])y(arguments[0],Xa)&&(an+=Xa+": "+arguments[0][Xa]+", ");an=an.slice(0,-2)}else an=arguments[jr];wt.push(an)}ne(re+`
Arguments: `+Array.prototype.slice.call(wt).join("")+`
`+new Error().stack),ct=!1}return Ae.apply(this,arguments)},Ae)}var _e={};function he(re,Ae){C.deprecationHandler!=null&&C.deprecationHandler(re,Ae),_e[re]||(ne(Ae),_e[re]=!0)}C.suppressDeprecationWarnings=!1,C.deprecationHandler=null;function oe(re){return typeof Function!="undefined"&&re instanceof Function||Object.prototype.toString.call(re)==="[object Function]"}function ge(re){var Ae,ct;for(ct in re)y(re,ct)&&(Ae=re[ct],oe(Ae)?this[ct]=Ae:this["_"+ct]=Ae);this._config=re,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function me(re,Ae){var ct=N({},re),wt;for(wt in Ae)y(Ae,wt)&&(S(re[wt])&&S(Ae[wt])?(ct[wt]={},N(ct[wt],re[wt]),N(ct[wt],Ae[wt])):Ae[wt]!=null?ct[wt]=Ae[wt]:delete ct[wt]);for(wt in re)y(re,wt)&&!y(Ae,wt)&&S(re[wt])&&(ct[wt]=N({},ct[wt]));return ct}function Z(re){re!=null&&this.set(re)}var xe;Object.keys?xe=Object.keys:xe=function(Ae){var ct,wt=[];for(ct in Ae)y(Ae,ct)&&wt.push(ct);return wt};var Ee={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Le(re,Ae,ct){var wt=this._calendar[re]||this._calendar.sameElse;return oe(wt)?wt.call(Ae,ct):wt}function we(re,Ae,ct){var wt=""+Math.abs(re),an=Ae-wt.length,jr=re>=0;return(jr?ct?"+":"":"-")+Math.pow(10,Math.max(0,an)).toString().substr(1)+wt}var fe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ke={},Me={};function ze(re,Ae,ct,wt){var an=wt;typeof wt=="string"&&(an=function(){return this[wt]()}),re&&(Me[re]=an),Ae&&(Me[Ae[0]]=function(){return we(an.apply(this,arguments),Ae[1],Ae[2])}),ct&&(Me[ct]=function(){return this.localeData().ordinal(an.apply(this,arguments),re)})}function Ue(re){return re.match(/\[[\s\S]/)?re.replace(/^\[|\]$/g,""):re.replace(/\\/g,"")}function He(re){var Ae=re.match(fe),ct,wt;for(ct=0,wt=Ae.length;ct<wt;ct++)Me[Ae[ct]]?Ae[ct]=Me[Ae[ct]]:Ae[ct]=Ue(Ae[ct]);return function(an){var jr="",Xa;for(Xa=0;Xa<wt;Xa++)jr+=oe(Ae[Xa])?Ae[Xa].call(an,re):Ae[Xa];return jr}}function Ne(re,Ae){return re.isValid()?(Ae=it(Ae,re.localeData()),Ke[Ae]=Ke[Ae]||He(Ae),Ke[Ae](re)):re.localeData().invalidDate()}function it(re,Ae){var ct=5;function wt(an){return Ae.longDateFormat(an)||an}for(pe.lastIndex=0;ct>=0&&pe.test(re);)re=re.replace(pe,wt),pe.lastIndex=0,ct-=1;return re}var Xe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ht(re){var Ae=this._longDateFormat[re],ct=this._longDateFormat[re.toUpperCase()];return Ae||!ct?Ae:(this._longDateFormat[re]=ct.match(fe).map(function(wt){return wt==="MMMM"||wt==="MM"||wt==="DD"||wt==="dddd"?wt.slice(1):wt}).join(""),this._longDateFormat[re])}var lt="Invalid date";function Et(){return this._invalidDate}var tt="%d",mt=/\d{1,2}/;function xt(re){return this._ordinal.replace("%d",re)}var Xt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function vt(re,Ae,ct,wt){var an=this._relativeTime[ct];return oe(an)?an(re,Ae,ct,wt):an.replace(/%d/i,re)}function qe(re,Ae){var ct=this._relativeTime[re>0?"future":"past"];return oe(ct)?ct(Ae):ct.replace(/%s/i,Ae)}var Re={};function Se(re,Ae){var ct=re.toLowerCase();Re[ct]=Re[ct+"s"]=Re[Ae]=re}function Ve(re){return typeof re=="string"?Re[re]||Re[re.toLowerCase()]:void 0}function Ge(re){var Ae={},ct,wt;for(wt in re)y(re,wt)&&(ct=Ve(wt),ct&&(Ae[ct]=re[wt]));return Ae}var _t={};function bt(re,Ae){_t[re]=Ae}function gt(re){var Ae=[],ct;for(ct in re)y(re,ct)&&Ae.push({unit:ct,priority:_t[ct]});return Ae.sort(function(wt,an){return wt.priority-an.priority}),Ae}function at(re){return re%4==0&&re%100!=0||re%400==0}function ft(re){return re<0?Math.ceil(re)||0:Math.floor(re)}function Fe(re){var Ae=+re,ct=0;return Ae!==0&&isFinite(Ae)&&(ct=ft(Ae)),ct}function Te(re,Ae){return function(ct){return ct!=null?(le(this,re,ct),C.updateOffset(this,Ae),this):ut(this,re)}}function ut(re,Ae){return re.isValid()?re._d["get"+(re._isUTC?"UTC":"")+Ae]():NaN}function le(re,Ae,ct){re.isValid()&&!isNaN(ct)&&(Ae==="FullYear"&&at(re.year())&&re.month()===1&&re.date()===29?(ct=Fe(ct),re._d["set"+(re._isUTC?"UTC":"")+Ae](ct,re.month(),rr(ct,re.month()))):re._d["set"+(re._isUTC?"UTC":"")+Ae](ct))}function $e(re){return re=Ve(re),oe(this[re])?this[re]():this}function Qe(re,Ae){if(typeof re=="object"){re=Ge(re);var ct=gt(re),wt,an=ct.length;for(wt=0;wt<an;wt++)this[ct[wt].unit](re[ct[wt].unit])}else if(re=Ve(re),oe(this[re]))return this[re](Ae);return this}var Tt=/\d/,Ot=/\d\d/,Ut=/\d{3}/,At=/\d{4}/,Pt=/[+-]?\d{6}/,Dt=/\d\d?/,Qt=/\d\d\d\d?/,cn=/\d\d\d\d\d\d?/,$n=/\d{1,3}/,hn=/\d{1,4}/,_n=/[+-]?\d{1,6}/,bn=/\d+/,Bn=/[+-]?\d+/,Tn=/Z|[+-]\d\d:?\d\d/gi,Tr=/Z|[+-]\d\d(?::?\d\d)?/gi,Sr=/[+-]?\d+(\.\d{1,3})?/,Wr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,br;br={};function Wn(re,Ae,ct){br[re]=oe(Ae)?Ae:function(wt,an){return wt&&ct?ct:Ae}}function gr(re,Ae){return y(br,re)?br[re](Ae._strict,Ae._locale):new RegExp(na(re))}function na(re){return jn(re.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(Ae,ct,wt,an,jr){return ct||wt||an||jr}))}function jn(re){return re.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var un={};function zt(re,Ae){var ct,wt=Ae,an;for(typeof re=="string"&&(re=[re]),T(Ae)&&(wt=function(Xa,fs){fs[Ae]=Fe(Xa)}),an=re.length,ct=0;ct<an;ct++)un[re[ct]]=wt}function Bt(re,Ae){zt(re,function(ct,wt,an,jr){an._w=an._w||{},Ae(ct,an._w,an,jr)})}function H(re,Ae,ct){Ae!=null&&y(un,re)&&un[re](Ae,ct._a,ct,re)}var ot=0,nt=1,Ct=2,Wt=3,kn=4,Sn=5,Zn=6,Or=7,Yn=8;function Nn(re,Ae){return(re%Ae+Ae)%Ae}var Zt;Array.prototype.indexOf?Zt=Array.prototype.indexOf:Zt=function(Ae){var ct;for(ct=0;ct<this.length;++ct)if(this[ct]===Ae)return ct;return-1};function rr(re,Ae){if(isNaN(re)||isNaN(Ae))return NaN;var ct=Nn(Ae,12);return re+=(Ae-ct)/12,ct===1?at(re)?29:28:31-ct%7%2}ze("M",["MM",2],"Mo",function(){return this.month()+1}),ze("MMM",0,0,function(re){return this.localeData().monthsShort(this,re)}),ze("MMMM",0,0,function(re){return this.localeData().months(this,re)}),Se("month","M"),bt("month",8),Wn("M",Dt),Wn("MM",Dt,Ot),Wn("MMM",function(re,Ae){return Ae.monthsShortRegex(re)}),Wn("MMMM",function(re,Ae){return Ae.monthsRegex(re)}),zt(["M","MM"],function(re,Ae){Ae[nt]=Fe(re)-1}),zt(["MMM","MMMM"],function(re,Ae,ct,wt){var an=ct._locale.monthsParse(re,wt,ct._strict);an!=null?Ae[nt]=an:U(ct).invalidMonth=re});var Gn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ln="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Xn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kn=Wr,fr=Wr;function Hn(re,Ae){return re?A(this._months)?this._months[re.month()]:this._months[(this._months.isFormat||Xn).test(Ae)?"format":"standalone"][re.month()]:A(this._months)?this._months:this._months.standalone}function Sa(re,Ae){return re?A(this._monthsShort)?this._monthsShort[re.month()]:this._monthsShort[Xn.test(Ae)?"format":"standalone"][re.month()]:A(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Lr(re,Ae,ct){var wt,an,jr,Xa=re.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],wt=0;wt<12;++wt)jr=F([2e3,wt]),this._shortMonthsParse[wt]=this.monthsShort(jr,"").toLocaleLowerCase(),this._longMonthsParse[wt]=this.months(jr,"").toLocaleLowerCase();return ct?Ae==="MMM"?(an=Zt.call(this._shortMonthsParse,Xa),an!==-1?an:null):(an=Zt.call(this._longMonthsParse,Xa),an!==-1?an:null):Ae==="MMM"?(an=Zt.call(this._shortMonthsParse,Xa),an!==-1?an:(an=Zt.call(this._longMonthsParse,Xa),an!==-1?an:null)):(an=Zt.call(this._longMonthsParse,Xa),an!==-1?an:(an=Zt.call(this._shortMonthsParse,Xa),an!==-1?an:null))}function Ca(re,Ae,ct){var wt,an,jr;if(this._monthsParseExact)return Lr.call(this,re,Ae,ct);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),wt=0;wt<12;wt++){if(an=F([2e3,wt]),ct&&!this._longMonthsParse[wt]&&(this._longMonthsParse[wt]=new RegExp("^"+this.months(an,"").replace(".","")+"$","i"),this._shortMonthsParse[wt]=new RegExp("^"+this.monthsShort(an,"").replace(".","")+"$","i")),!ct&&!this._monthsParse[wt]&&(jr="^"+this.months(an,"")+"|^"+this.monthsShort(an,""),this._monthsParse[wt]=new RegExp(jr.replace(".",""),"i")),ct&&Ae==="MMMM"&&this._longMonthsParse[wt].test(re))return wt;if(ct&&Ae==="MMM"&&this._shortMonthsParse[wt].test(re))return wt;if(!ct&&this._monthsParse[wt].test(re))return wt}}function za(re,Ae){var ct;if(!re.isValid())return re;if(typeof Ae=="string"){if(/^\d+$/.test(Ae))Ae=Fe(Ae);else if(Ae=re.localeData().monthsParse(Ae),!T(Ae))return re}return ct=Math.min(re.date(),rr(re.year(),Ae)),re._d["set"+(re._isUTC?"UTC":"")+"Month"](Ae,ct),re}function Ma(re){return re!=null?(za(this,re),C.updateOffset(this,!0),this):ut(this,"Month")}function va(){return rr(this.year(),this.month())}function qa(re){return this._monthsParseExact?(y(this,"_monthsRegex")||Qi.call(this),re?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Kn),this._monthsShortStrictRegex&&re?this._monthsShortStrictRegex:this._monthsShortRegex)}function gi(re){return this._monthsParseExact?(y(this,"_monthsRegex")||Qi.call(this),re?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=fr),this._monthsStrictRegex&&re?this._monthsStrictRegex:this._monthsRegex)}function Qi(){function re(Xa,fs){return fs.length-Xa.length}var Ae=[],ct=[],wt=[],an,jr;for(an=0;an<12;an++)jr=F([2e3,an]),Ae.push(this.monthsShort(jr,"")),ct.push(this.months(jr,"")),wt.push(this.months(jr,"")),wt.push(this.monthsShort(jr,""));for(Ae.sort(re),ct.sort(re),wt.sort(re),an=0;an<12;an++)Ae[an]=jn(Ae[an]),ct[an]=jn(ct[an]);for(an=0;an<24;an++)wt[an]=jn(wt[an]);this._monthsRegex=new RegExp("^("+wt.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+ct.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+Ae.join("|")+")","i")}ze("Y",0,0,function(){var re=this.year();return re<=9999?we(re,4):"+"+re}),ze(0,["YY",2],0,function(){return this.year()%100}),ze(0,["YYYY",4],0,"year"),ze(0,["YYYYY",5],0,"year"),ze(0,["YYYYYY",6,!0],0,"year"),Se("year","y"),bt("year",1),Wn("Y",Bn),Wn("YY",Dt,Ot),Wn("YYYY",hn,At),Wn("YYYYY",_n,Pt),Wn("YYYYYY",_n,Pt),zt(["YYYYY","YYYYYY"],ot),zt("YYYY",function(re,Ae){Ae[ot]=re.length===2?C.parseTwoDigitYear(re):Fe(re)}),zt("YY",function(re,Ae){Ae[ot]=C.parseTwoDigitYear(re)}),zt("Y",function(re,Ae){Ae[ot]=parseInt(re,10)});function mi(re){return at(re)?366:365}C.parseTwoDigitYear=function(re){return Fe(re)+(Fe(re)>68?1900:2e3)};var Cr=Te("FullYear",!0);function Un(){return at(this.year())}function Lt(re,Ae,ct,wt,an,jr,Xa){var fs;return re<100&&re>=0?(fs=new Date(re+400,Ae,ct,wt,an,jr,Xa),isFinite(fs.getFullYear())&&fs.setFullYear(re)):fs=new Date(re,Ae,ct,wt,an,jr,Xa),fs}function gn(re){var Ae,ct;return re<100&&re>=0?(ct=Array.prototype.slice.call(arguments),ct[0]=re+400,Ae=new Date(Date.UTC.apply(null,ct)),isFinite(Ae.getUTCFullYear())&&Ae.setUTCFullYear(re)):Ae=new Date(Date.UTC.apply(null,arguments)),Ae}function Ln(re,Ae,ct){var wt=7+Ae-ct,an=(7+gn(re,0,wt).getUTCDay()-Ae)%7;return-an+wt-1}function kr(re,Ae,ct,wt,an){var jr=(7+ct-wt)%7,Xa=Ln(re,wt,an),fs=1+7*(Ae-1)+jr+Xa,Xs,Uc;return fs<=0?(Xs=re-1,Uc=mi(Xs)+fs):fs>mi(re)?(Xs=re+1,Uc=fs-mi(re)):(Xs=re,Uc=fs),{year:Xs,dayOfYear:Uc}}function ea(re,Ae,ct){var wt=Ln(re.year(),Ae,ct),an=Math.floor((re.dayOfYear()-wt-1)/7)+1,jr,Xa;return an<1?(Xa=re.year()-1,jr=an+Qr(Xa,Ae,ct)):an>Qr(re.year(),Ae,ct)?(jr=an-Qr(re.year(),Ae,ct),Xa=re.year()+1):(Xa=re.year(),jr=an),{week:jr,year:Xa}}function Qr(re,Ae,ct){var wt=Ln(re,Ae,ct),an=Ln(re+1,Ae,ct);return(mi(re)-wt+an)/7}ze("w",["ww",2],"wo","week"),ze("W",["WW",2],"Wo","isoWeek"),Se("week","w"),Se("isoWeek","W"),bt("week",5),bt("isoWeek",5),Wn("w",Dt),Wn("ww",Dt,Ot),Wn("W",Dt),Wn("WW",Dt,Ot),Bt(["w","ww","W","WW"],function(re,Ae,ct,wt){Ae[wt.substr(0,1)]=Fe(re)});function Na(re){return ea(re,this._week.dow,this._week.doy).week}var ar={dow:0,doy:6};function pi(){return this._week.dow}function _i(){return this._week.doy}function ti(re){var Ae=this.localeData().week(this);return re==null?Ae:this.add((re-Ae)*7,"d")}function ui(re){var Ae=ea(this,1,4).week;return re==null?Ae:this.add((re-Ae)*7,"d")}ze("d",0,"do","day"),ze("dd",0,0,function(re){return this.localeData().weekdaysMin(this,re)}),ze("ddd",0,0,function(re){return this.localeData().weekdaysShort(this,re)}),ze("dddd",0,0,function(re){return this.localeData().weekdays(this,re)}),ze("e",0,0,"weekday"),ze("E",0,0,"isoWeekday"),Se("day","d"),Se("weekday","e"),Se("isoWeekday","E"),bt("day",11),bt("weekday",11),bt("isoWeekday",11),Wn("d",Dt),Wn("e",Dt),Wn("E",Dt),Wn("dd",function(re,Ae){return Ae.weekdaysMinRegex(re)}),Wn("ddd",function(re,Ae){return Ae.weekdaysShortRegex(re)}),Wn("dddd",function(re,Ae){return Ae.weekdaysRegex(re)}),Bt(["dd","ddd","dddd"],function(re,Ae,ct,wt){var an=ct._locale.weekdaysParse(re,wt,ct._strict);an!=null?Ae.d=an:U(ct).invalidWeekday=re}),Bt(["d","e","E"],function(re,Ae,ct,wt){Ae[wt]=Fe(re)});function Ri(re,Ae){return typeof re!="string"?re:isNaN(re)?(re=Ae.weekdaysParse(re),typeof re=="number"?re:null):parseInt(re,10)}function ao(re,Ae){return typeof re=="string"?Ae.weekdaysParse(re)%7||7:isNaN(re)?null:re}function Zi(re,Ae){return re.slice(Ae,7).concat(re.slice(0,Ae))}var Fi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Si="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eo=Wr,xo=Wr,cs=Wr;function ba(re,Ae){var ct=A(this._weekdays)?this._weekdays:this._weekdays[re&&re!==!0&&this._weekdays.isFormat.test(Ae)?"format":"standalone"];return re===!0?Zi(ct,this._week.dow):re?ct[re.day()]:ct}function sa(re){return re===!0?Zi(this._weekdaysShort,this._week.dow):re?this._weekdaysShort[re.day()]:this._weekdaysShort}function Da(re){return re===!0?Zi(this._weekdaysMin,this._week.dow):re?this._weekdaysMin[re.day()]:this._weekdaysMin}function On(re,Ae,ct){var wt,an,jr,Xa=re.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],wt=0;wt<7;++wt)jr=F([2e3,1]).day(wt),this._minWeekdaysParse[wt]=this.weekdaysMin(jr,"").toLocaleLowerCase(),this._shortWeekdaysParse[wt]=this.weekdaysShort(jr,"").toLocaleLowerCase(),this._weekdaysParse[wt]=this.weekdays(jr,"").toLocaleLowerCase();return ct?Ae==="dddd"?(an=Zt.call(this._weekdaysParse,Xa),an!==-1?an:null):Ae==="ddd"?(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1?an:null):(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1?an:null):Ae==="dddd"?(an=Zt.call(this._weekdaysParse,Xa),an!==-1||(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1)?an:(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1?an:null)):Ae==="ddd"?(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1||(an=Zt.call(this._weekdaysParse,Xa),an!==-1)?an:(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1?an:null)):(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1||(an=Zt.call(this._weekdaysParse,Xa),an!==-1)?an:(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1?an:null))}function xn(re,Ae,ct){var wt,an,jr;if(this._weekdaysParseExact)return On.call(this,re,Ae,ct);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),wt=0;wt<7;wt++){if(an=F([2e3,1]).day(wt),ct&&!this._fullWeekdaysParse[wt]&&(this._fullWeekdaysParse[wt]=new RegExp("^"+this.weekdays(an,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[wt]=new RegExp("^"+this.weekdaysShort(an,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[wt]=new RegExp("^"+this.weekdaysMin(an,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[wt]||(jr="^"+this.weekdays(an,"")+"|^"+this.weekdaysShort(an,"")+"|^"+this.weekdaysMin(an,""),this._weekdaysParse[wt]=new RegExp(jr.replace(".",""),"i")),ct&&Ae==="dddd"&&this._fullWeekdaysParse[wt].test(re))return wt;if(ct&&Ae==="ddd"&&this._shortWeekdaysParse[wt].test(re))return wt;if(ct&&Ae==="dd"&&this._minWeekdaysParse[wt].test(re))return wt;if(!ct&&this._weekdaysParse[wt].test(re))return wt}}function Rt(re){if(!this.isValid())return re!=null?this:NaN;var Ae=this._isUTC?this._d.getUTCDay():this._d.getDay();return re!=null?(re=Ri(re,this.localeData()),this.add(re-Ae,"d")):Ae}function mr(re){if(!this.isValid())return re!=null?this:NaN;var Ae=(this.day()+7-this.localeData()._week.dow)%7;return re==null?Ae:this.add(re-Ae,"d")}function ta(re){if(!this.isValid())return re!=null?this:NaN;if(re!=null){var Ae=ao(re,this.localeData());return this.day(this.day()%7?Ae:Ae-7)}else return this.day()||7}function ma(re){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kr.call(this),re?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=eo),this._weekdaysStrictRegex&&re?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oa(re){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kr.call(this),re?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xo),this._weekdaysShortStrictRegex&&re?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pn(re){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kr.call(this),re?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=cs),this._weekdaysMinStrictRegex&&re?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kr(){function re(zl,Bu){return Bu.length-zl.length}var Ae=[],ct=[],wt=[],an=[],jr,Xa,fs,Xs,Uc;for(jr=0;jr<7;jr++)Xa=F([2e3,1]).day(jr),fs=jn(this.weekdaysMin(Xa,"")),Xs=jn(this.weekdaysShort(Xa,"")),Uc=jn(this.weekdays(Xa,"")),Ae.push(fs),ct.push(Xs),wt.push(Uc),an.push(fs),an.push(Xs),an.push(Uc);Ae.sort(re),ct.sort(re),wt.sort(re),an.sort(re),this._weekdaysRegex=new RegExp("^("+an.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+wt.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ct.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Ae.join("|")+")","i")}function Vn(){return this.hours()%12||12}function tr(){return this.hours()||24}ze("H",["HH",2],0,"hour"),ze("h",["hh",2],0,Vn),ze("k",["kk",2],0,tr),ze("hmm",0,0,function(){return""+Vn.apply(this)+we(this.minutes(),2)}),ze("hmmss",0,0,function(){return""+Vn.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),ze("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),ze("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)});function Ea(re,Ae){ze(re,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),Ae)})}Ea("a",!0),Ea("A",!1),Se("hour","h"),bt("hour",13);function Ja(re,Ae){return Ae._meridiemParse}Wn("a",Ja),Wn("A",Ja),Wn("H",Dt),Wn("h",Dt),Wn("k",Dt),Wn("HH",Dt,Ot),Wn("hh",Dt,Ot),Wn("kk",Dt,Ot),Wn("hmm",Qt),Wn("hmmss",cn),Wn("Hmm",Qt),Wn("Hmmss",cn),zt(["H","HH"],Wt),zt(["k","kk"],function(re,Ae,ct){var wt=Fe(re);Ae[Wt]=wt===24?0:wt}),zt(["a","A"],function(re,Ae,ct){ct._isPm=ct._locale.isPM(re),ct._meridiem=re}),zt(["h","hh"],function(re,Ae,ct){Ae[Wt]=Fe(re),U(ct).bigHour=!0}),zt("hmm",function(re,Ae,ct){var wt=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt)),U(ct).bigHour=!0}),zt("hmmss",function(re,Ae,ct){var wt=re.length-4,an=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt,2)),Ae[Sn]=Fe(re.substr(an)),U(ct).bigHour=!0}),zt("Hmm",function(re,Ae,ct){var wt=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt))}),zt("Hmmss",function(re,Ae,ct){var wt=re.length-4,an=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt,2)),Ae[Sn]=Fe(re.substr(an))});function go(re){return(re+"").toLowerCase().charAt(0)==="p"}var fi=/[ap]\.?m?\.?/i,lo=Te("Hours",!0);function Oi(re,Ae,ct){return re>11?ct?"pm":"PM":ct?"am":"AM"}var io={calendar:Ee,longDateFormat:Xe,invalidDate:lt,ordinal:tt,dayOfMonthOrdinalParse:mt,relativeTime:Xt,months:Gn,monthsShort:ln,week:ar,weekdays:Fi,weekdaysMin:qi,weekdaysShort:Si,meridiemParse:fi},Vi={},vo={},qo;function hs(re,Ae){var ct,wt=Math.min(re.length,Ae.length);for(ct=0;ct<wt;ct+=1)if(re[ct]!==Ae[ct])return ct;return wt}function $t(re){return re&&re.toLowerCase().replace("_","-")}function rt(re){for(var Ae=0,ct,wt,an,jr;Ae<re.length;){for(jr=$t(re[Ae]).split("-"),ct=jr.length,wt=$t(re[Ae+1]),wt=wt?wt.split("-"):null;ct>0;){if(an=tn(jr.slice(0,ct).join("-")),an)return an;if(wt&&wt.length>=ct&&hs(jr,wt)>=ct-1)break;ct--}Ae++}return qo}function Vt(re){return re.match("^[^/\\\\]*$")!=null}function tn(re){var Ae=null,ct;if(Vi[re]===void 0&&typeof E!="undefined"&&E&&E.exports&&Vt(re))try{Ae=qo._abbr,ct=m,function(){var an=new Error("Cannot find module 'undefined'");throw an.code="MODULE_NOT_FOUND",an}(),wn(Ae)}catch(wt){Vi[re]=null}return Vi[re]}function wn(re,Ae){var ct;return re&&(x(Ae)?ct=xr(re):ct=qn(re,Ae),ct?qo=ct:typeof console!="undefined"&&console.warn&&console.warn("Locale "+re+" not found. Did you forget to load it?")),qo._abbr}function qn(re,Ae){if(Ae!==null){var ct,wt=io;if(Ae.abbr=re,Vi[re]!=null)he("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),wt=Vi[re]._config;else if(Ae.parentLocale!=null)if(Vi[Ae.parentLocale]!=null)wt=Vi[Ae.parentLocale]._config;else if(ct=tn(Ae.parentLocale),ct!=null)wt=ct._config;else return vo[Ae.parentLocale]||(vo[Ae.parentLocale]=[]),vo[Ae.parentLocale].push({name:re,config:Ae}),null;return Vi[re]=new Z(me(wt,Ae)),vo[re]&&vo[re].forEach(function(an){qn(an.name,an.config)}),wn(re),Vi[re]}else return delete Vi[re],null}function zn(re,Ae){if(Ae!=null){var ct,wt,an=io;Vi[re]!=null&&Vi[re].parentLocale!=null?Vi[re].set(me(Vi[re]._config,Ae)):(wt=tn(re),wt!=null&&(an=wt._config),Ae=me(an,Ae),wt==null&&(Ae.abbr=re),ct=new Z(Ae),ct.parentLocale=Vi[re],Vi[re]=ct),wn(re)}else Vi[re]!=null&&(Vi[re].parentLocale!=null?(Vi[re]=Vi[re].parentLocale,re===wn()&&wn(re)):Vi[re]!=null&&delete Vi[re]);return Vi[re]}function xr(re){var Ae;if(re&&re._locale&&re._locale._abbr&&(re=re._locale._abbr),!re)return qo;if(!A(re)){if(Ae=tn(re),Ae)return Ae;re=[re]}return rt(re)}function da(){return xe(Vi)}function en(re){var Ae,ct=re._a;return ct&&U(re).overflow===-2&&(Ae=ct[nt]<0||ct[nt]>11?nt:ct[Ct]<1||ct[Ct]>rr(ct[ot],ct[nt])?Ct:ct[Wt]<0||ct[Wt]>24||ct[Wt]===24&&(ct[kn]!==0||ct[Sn]!==0||ct[Zn]!==0)?Wt:ct[kn]<0||ct[kn]>59?kn:ct[Sn]<0||ct[Sn]>59?Sn:ct[Zn]<0||ct[Zn]>999?Zn:-1,U(re)._overflowDayOfYear&&(Ae<ot||Ae>Ct)&&(Ae=Ct),U(re)._overflowWeeks&&Ae===-1&&(Ae=Or),U(re)._overflowWeekday&&Ae===-1&&(Ae=Yn),U(re).overflow=Ae),re}var Fn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ir=/Z|[+-]\d\d(?::?\d\d)?/,Gr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ga=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mr=/^\/?Date\((-?\d+)/i,$a=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ya={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function _o(re){var Ae,ct,wt=re._i,an=Fn.exec(wt)||Jn.exec(wt),jr,Xa,fs,Xs,Uc=Gr.length,zl=ga.length;if(an){for(U(re).iso=!0,Ae=0,ct=Uc;Ae<ct;Ae++)if(Gr[Ae][1].exec(an[1])){Xa=Gr[Ae][0],jr=Gr[Ae][2]!==!1;break}if(Xa==null){re._isValid=!1;return}if(an[3]){for(Ae=0,ct=zl;Ae<ct;Ae++)if(ga[Ae][1].exec(an[3])){fs=(an[2]||" ")+ga[Ae][0];break}if(fs==null){re._isValid=!1;return}}if(!jr&&fs!=null){re._isValid=!1;return}if(an[4])if(Ir.exec(an[4]))Xs="Z";else{re._isValid=!1;return}re._f=Xa+(fs||"")+(Xs||""),gs(re)}else re._isValid=!1}function Ni(re,Ae,ct,wt,an,jr){var Xa=[ec(re),ln.indexOf(Ae),parseInt(ct,10),parseInt(wt,10),parseInt(an,10)];return jr&&Xa.push(parseInt(jr,10)),Xa}function ec(re){var Ae=parseInt(re,10);return Ae<=49?2e3+Ae:Ae<=999?1900+Ae:Ae}function ks(re){return re.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jo(re,Ae,ct){if(re){var wt=Si.indexOf(re),an=new Date(Ae[0],Ae[1],Ae[2]).getDay();if(wt!==an)return U(ct).weekdayMismatch=!0,ct._isValid=!1,!1}return!0}function Qn(re,Ae,ct){if(re)return Ya[re];if(Ae)return 0;var wt=parseInt(ct,10),an=wt%100,jr=(wt-an)/100;return jr*60+an}function ka(re){var Ae=$a.exec(ks(re._i)),ct;if(Ae){if(ct=Ni(Ae[4],Ae[3],Ae[2],Ae[5],Ae[6],Ae[7]),!jo(Ae[1],ct,re))return;re._a=ct,re._tzm=Qn(Ae[8],Ae[9],Ae[10]),re._d=gn.apply(null,re._a),re._d.setUTCMinutes(re._d.getUTCMinutes()-re._tzm),U(re).rfc2822=!0}else re._isValid=!1}function Pa(re){var Ae=Mr.exec(re._i);if(Ae!==null){re._d=new Date(+Ae[1]);return}if(_o(re),re._isValid===!1)delete re._isValid;else return;if(ka(re),re._isValid===!1)delete re._isValid;else return;re._strict?re._isValid=!1:C.createFromInputFallback(re)}C.createFromInputFallback=te("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(re){re._d=new Date(re._i+(re._useUTC?" UTC":""))});function Qa(re,Ae,ct){return re!=null?re:Ae!=null?Ae:ct}function Ei(re){var Ae=new Date(C.now());return re._useUTC?[Ae.getUTCFullYear(),Ae.getUTCMonth(),Ae.getUTCDate()]:[Ae.getFullYear(),Ae.getMonth(),Ae.getDate()]}function zo(re){var Ae,ct,wt=[],an,jr,Xa;if(!re._d){for(an=Ei(re),re._w&&re._a[Ct]==null&&re._a[nt]==null&&fo(re),re._dayOfYear!=null&&(Xa=Qa(re._a[ot],an[ot]),(re._dayOfYear>mi(Xa)||re._dayOfYear===0)&&(U(re)._overflowDayOfYear=!0),ct=gn(Xa,0,re._dayOfYear),re._a[nt]=ct.getUTCMonth(),re._a[Ct]=ct.getUTCDate()),Ae=0;Ae<3&&re._a[Ae]==null;++Ae)re._a[Ae]=wt[Ae]=an[Ae];for(;Ae<7;Ae++)re._a[Ae]=wt[Ae]=re._a[Ae]==null?Ae===2?1:0:re._a[Ae];re._a[Wt]===24&&re._a[kn]===0&&re._a[Sn]===0&&re._a[Zn]===0&&(re._nextDay=!0,re._a[Wt]=0),re._d=(re._useUTC?gn:Lt).apply(null,wt),jr=re._useUTC?re._d.getUTCDay():re._d.getDay(),re._tzm!=null&&re._d.setUTCMinutes(re._d.getUTCMinutes()-re._tzm),re._nextDay&&(re._a[Wt]=24),re._w&&typeof re._w.d!="undefined"&&re._w.d!==jr&&(U(re).weekdayMismatch=!0)}}function fo(re){var Ae,ct,wt,an,jr,Xa,fs,Xs,Uc;Ae=re._w,Ae.GG!=null||Ae.W!=null||Ae.E!=null?(jr=1,Xa=4,ct=Qa(Ae.GG,re._a[ot],ea(Mo(),1,4).year),wt=Qa(Ae.W,1),an=Qa(Ae.E,1),(an<1||an>7)&&(Xs=!0)):(jr=re._locale._week.dow,Xa=re._locale._week.doy,Uc=ea(Mo(),jr,Xa),ct=Qa(Ae.gg,re._a[ot],Uc.year),wt=Qa(Ae.w,Uc.week),Ae.d!=null?(an=Ae.d,(an<0||an>6)&&(Xs=!0)):Ae.e!=null?(an=Ae.e+jr,(Ae.e<0||Ae.e>6)&&(Xs=!0)):an=jr),wt<1||wt>Qr(ct,jr,Xa)?U(re)._overflowWeeks=!0:Xs!=null?U(re)._overflowWeekday=!0:(fs=kr(ct,wt,an,jr,Xa),re._a[ot]=fs.year,re._dayOfYear=fs.dayOfYear)}C.ISO_8601=function(){},C.RFC_2822=function(){};function gs(re){if(re._f===C.ISO_8601){_o(re);return}if(re._f===C.RFC_2822){ka(re);return}re._a=[],U(re).empty=!0;var Ae=""+re._i,ct,wt,an,jr,Xa,fs=Ae.length,Xs=0,Uc,zl;for(an=it(re._f,re._locale).match(fe)||[],zl=an.length,ct=0;ct<zl;ct++)jr=an[ct],wt=(Ae.match(gr(jr,re))||[])[0],wt&&(Xa=Ae.substr(0,Ae.indexOf(wt)),Xa.length>0&&U(re).unusedInput.push(Xa),Ae=Ae.slice(Ae.indexOf(wt)+wt.length),Xs+=wt.length),Me[jr]?(wt?U(re).empty=!1:U(re).unusedTokens.push(jr),H(jr,wt,re)):re._strict&&!wt&&U(re).unusedTokens.push(jr);U(re).charsLeftOver=fs-Xs,Ae.length>0&&U(re).unusedInput.push(Ae),re._a[Wt]<=12&&U(re).bigHour===!0&&re._a[Wt]>0&&(U(re).bigHour=void 0),U(re).parsedDateParts=re._a.slice(0),U(re).meridiem=re._meridiem,re._a[Wt]=Ks(re._locale,re._a[Wt],re._meridiem),Uc=U(re).era,Uc!==null&&(re._a[ot]=re._locale.erasConvertYear(Uc,re._a[ot])),zo(re),en(re)}function Ks(re,Ae,ct){var wt;return ct==null?Ae:re.meridiemHour!=null?re.meridiemHour(Ae,ct):(re.isPM!=null&&(wt=re.isPM(ct),wt&&Ae<12&&(Ae+=12),!wt&&Ae===12&&(Ae=0)),Ae)}function pc(re){var Ae,ct,wt,an,jr,Xa,fs=!1,Xs=re._f.length;if(Xs===0){U(re).invalidFormat=!0,re._d=new Date(NaN);return}for(an=0;an<Xs;an++)jr=0,Xa=!1,Ae=G({},re),re._useUTC!=null&&(Ae._useUTC=re._useUTC),Ae._f=re._f[an],gs(Ae),$(Ae)&&(Xa=!0),jr+=U(Ae).charsLeftOver,jr+=U(Ae).unusedTokens.length*10,U(Ae).score=jr,fs?jr<wt&&(wt=jr,ct=Ae):(wt==null||jr<wt||Xa)&&(wt=jr,ct=Ae,Xa&&(fs=!0));N(re,ct||Ae)}function tc(re){if(!re._d){var Ae=Ge(re._i),ct=Ae.day===void 0?Ae.date:Ae.day;re._a=D([Ae.year,Ae.month,ct,Ae.hour,Ae.minute,Ae.second,Ae.millisecond],function(wt){return wt&&parseInt(wt,10)}),zo(re)}}function xc(re){var Ae=new Q(en(kc(re)));return Ae._nextDay&&(Ae.add(1,"d"),Ae._nextDay=void 0),Ae}function kc(re){var Ae=re._i,ct=re._f;return re._locale=re._locale||xr(re._l),Ae===null||ct===void 0&&Ae===""?X({nullInput:!0}):(typeof Ae=="string"&&(re._i=Ae=re._locale.preparse(Ae)),W(Ae)?new Q(en(Ae)):(j(Ae)?re._d=Ae:A(ct)?pc(re):ct?gs(re):Ss(re),$(re)||(re._d=null),re))}function Ss(re){var Ae=re._i;x(Ae)?re._d=new Date(C.now()):j(Ae)?re._d=new Date(Ae.valueOf()):typeof Ae=="string"?Pa(re):A(Ae)?(re._a=D(Ae.slice(0),function(ct){return parseInt(ct,10)}),zo(re)):S(Ae)?tc(re):T(Ae)?re._d=new Date(Ae):C.createFromInputFallback(re)}function Js(re,Ae,ct,wt,an){var jr={};return(Ae===!0||Ae===!1)&&(wt=Ae,Ae=void 0),(ct===!0||ct===!1)&&(wt=ct,ct=void 0),(S(re)&&w(re)||A(re)&&re.length===0)&&(re=void 0),jr._isAMomentObject=!0,jr._useUTC=jr._isUTC=an,jr._l=ct,jr._i=re,jr._f=Ae,jr._strict=wt,xc(jr)}function Mo(re,Ae,ct,wt){return Js(re,Ae,ct,wt,!1)}var js=te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var re=Mo.apply(null,arguments);return this.isValid()&&re.isValid()?re<this?this:re:X()}),Yc=te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var re=Mo.apply(null,arguments);return this.isValid()&&re.isValid()?re>this?this:re:X()});function gc(re,Ae){var ct,wt;if(Ae.length===1&&A(Ae[0])&&(Ae=Ae[0]),!Ae.length)return Mo();for(ct=Ae[0],wt=1;wt<Ae.length;++wt)(!Ae[wt].isValid()||Ae[wt][re](ct))&&(ct=Ae[wt]);return ct}function Cl(){var re=[].slice.call(arguments,0);return gc("isBefore",re)}function wl(){var re=[].slice.call(arguments,0);return gc("isAfter",re)}var Wc=function(){return Date.now?Date.now():+new Date},nl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rc(re){var Ae,ct=!1,wt,an=nl.length;for(Ae in re)if(y(re,Ae)&&!(Zt.call(nl,Ae)!==-1&&(re[Ae]==null||!isNaN(re[Ae]))))return!1;for(wt=0;wt<an;++wt)if(re[nl[wt]]){if(ct)return!1;parseFloat(re[nl[wt]])!==Fe(re[nl[wt]])&&(ct=!0)}return!0}function su(){return this._isValid}function Pl(){return ii(NaN)}function al(re){var Ae=Ge(re),ct=Ae.year||0,wt=Ae.quarter||0,an=Ae.month||0,jr=Ae.week||Ae.isoWeek||0,Xa=Ae.day||0,fs=Ae.hour||0,Xs=Ae.minute||0,Uc=Ae.second||0,zl=Ae.millisecond||0;this._isValid=Rc(Ae),this._milliseconds=+zl+Uc*1e3+Xs*6e4+fs*1e3*60*60,this._days=+Xa+jr*7,this._months=+an+wt*3+ct*12,this._data={},this._locale=xr(),this._bubble()}function Ml(re){return re instanceof al}function Tl(re){return re<0?Math.round(-1*re)*-1:Math.round(re)}function td(re,Ae,ct){var wt=Math.min(re.length,Ae.length),an=Math.abs(re.length-Ae.length),jr=0,Xa;for(Xa=0;Xa<wt;Xa++)(ct&&re[Xa]!==Ae[Xa]||!ct&&Fe(re[Xa])!==Fe(Ae[Xa]))&&jr++;return jr+an}function rl(re,Ae){ze(re,0,0,function(){var ct=this.utcOffset(),wt="+";return ct<0&&(ct=-ct,wt="-"),wt+we(~~(ct/60),2)+Ae+we(~~ct%60,2)})}rl("Z",":"),rl("ZZ",""),Wn("Z",Tr),Wn("ZZ",Tr),zt(["Z","ZZ"],function(re,Ae,ct){ct._useUTC=!0,ct._tzm=qt(Tr,re)});var dl=/([\+\-]|\d\d)/gi;function qt(re,Ae){var ct=(Ae||"").match(re),wt,an,jr;return ct===null?null:(wt=ct[ct.length-1]||[],an=(wt+"").match(dl)||["-",0,0],jr=+(an[1]*60)+Fe(an[2]),jr===0?0:an[0]==="+"?jr:-jr)}function nr(re,Ae){var ct,wt;return Ae._isUTC?(ct=Ae.clone(),wt=(W(re)||j(re)?re.valueOf():Mo(re).valueOf())-ct.valueOf(),ct._d.setTime(ct._d.valueOf()+wt),C.updateOffset(ct,!1),ct):Mo(re).local()}function Ur(re){return-Math.round(re._d.getTimezoneOffset())}C.updateOffset=function(){};function Yr(re,Ae,ct){var wt=this._offset||0,an;if(!this.isValid())return re!=null?this:NaN;if(re!=null){if(typeof re=="string"){if(re=qt(Tr,re),re===null)return this}else Math.abs(re)<16&&!ct&&(re=re*60);return!this._isUTC&&Ae&&(an=Ur(this)),this._offset=re,this._isUTC=!0,an!=null&&this.add(an,"m"),wt!==re&&(!Ae||this._changeInProgress?Ts(this,ii(re-wt,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,C.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?wt:Ur(this)}function ni(re,Ae){return re!=null?(typeof re!="string"&&(re=-re),this.utcOffset(re,Ae),this):-this.utcOffset()}function vi(re){return this.utcOffset(0,re)}function zr(re){return this._isUTC&&(this.utcOffset(0,re),this._isUTC=!1,re&&this.subtract(Ur(this),"m")),this}function wr(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var re=qt(Tn,this._i);re!=null?this.utcOffset(re):this.utcOffset(0,!0)}return this}function Ua(re){return this.isValid()?(re=re?Mo(re).utcOffset():0,(this.utcOffset()-re)%60==0):!1}function La(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nr(){if(!x(this._isDSTShifted))return this._isDSTShifted;var re={},Ae;return G(re,this),re=kc(re),re._a?(Ae=re._isUTC?F(re._a):Mo(re._a),this._isDSTShifted=this.isValid()&&td(re._a,Ae.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ua(){return this.isValid()?!this._isUTC:!1}function ra(){return this.isValid()?this._isUTC:!1}function ri(){return this.isValid()?this._isUTC&&this._offset===0:!1}var li=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,hi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ii(re,Ae){var ct=re,wt=null,an,jr,Xa;return Ml(re)?ct={ms:re._milliseconds,d:re._days,M:re._months}:T(re)||!isNaN(+re)?(ct={},Ae?ct[Ae]=+re:ct.milliseconds=+re):(wt=li.exec(re))?(an=wt[1]==="-"?-1:1,ct={y:0,d:Fe(wt[Ct])*an,h:Fe(wt[Wt])*an,m:Fe(wt[kn])*an,s:Fe(wt[Sn])*an,ms:Fe(Tl(wt[Zn]*1e3))*an}):(wt=hi.exec(re))?(an=wt[1]==="-"?-1:1,ct={y:Di(wt[2],an),M:Di(wt[3],an),w:Di(wt[4],an),d:Di(wt[5],an),h:Di(wt[6],an),m:Di(wt[7],an),s:Di(wt[8],an)}):ct==null?ct={}:typeof ct=="object"&&("from"in ct||"to"in ct)&&(Xa=ps(Mo(ct.from),Mo(ct.to)),ct={},ct.ms=Xa.milliseconds,ct.M=Xa.months),jr=new al(ct),Ml(re)&&y(re,"_locale")&&(jr._locale=re._locale),Ml(re)&&y(re,"_isValid")&&(jr._isValid=re._isValid),jr}ii.fn=al.prototype,ii.invalid=Pl;function Di(re,Ae){var ct=re&&parseFloat(re.replace(",","."));return(isNaN(ct)?0:ct)*Ae}function Xo(re,Ae){var ct={};return ct.months=Ae.month()-re.month()+(Ae.year()-re.year())*12,re.clone().add(ct.months,"M").isAfter(Ae)&&--ct.months,ct.milliseconds=+Ae-+re.clone().add(ct.months,"M"),ct}function ps(re,Ae){var ct;return re.isValid()&&Ae.isValid()?(Ae=nr(Ae,re),re.isBefore(Ae)?ct=Xo(re,Ae):(ct=Xo(Ae,re),ct.milliseconds=-ct.milliseconds,ct.months=-ct.months),ct):{milliseconds:0,months:0}}function mc(re,Ae){return function(ct,wt){var an,jr;return wt!==null&&!isNaN(+wt)&&(he(Ae,"moment()."+Ae+"(period, number) is deprecated. Please use moment()."+Ae+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),jr=ct,ct=wt,wt=jr),an=ii(ct,wt),Ts(this,an,re),this}}function Ts(re,Ae,ct,wt){var an=Ae._milliseconds,jr=Tl(Ae._days),Xa=Tl(Ae._months);!re.isValid()||(wt=wt==null?!0:wt,Xa&&za(re,ut(re,"Month")+Xa*ct),jr&&le(re,"Date",ut(re,"Date")+jr*ct),an&&re._d.setTime(re._d.valueOf()+an*ct),wt&&C.updateOffset(re,jr||Xa))}var Ar=mc(1,"add"),Gs=mc(-1,"subtract");function Nc(re){return typeof re=="string"||re instanceof String}function Jc(re){return W(re)||j(re)||Nc(re)||T(re)||Ro(re)||Fc(re)||re===null||re===void 0}function Fc(re){var Ae=S(re)&&!w(re),ct=!1,wt=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],an,jr,Xa=wt.length;for(an=0;an<Xa;an+=1)jr=wt[an],ct=ct||y(re,jr);return Ae&&ct}function Ro(re){var Ae=A(re),ct=!1;return Ae&&(ct=re.filter(function(wt){return!T(wt)&&Nc(re)}).length===0),Ae&&ct}function Dl(re){var Ae=S(re)&&!w(re),ct=!1,wt=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],an,jr;for(an=0;an<wt.length;an+=1)jr=wt[an],ct=ct||y(re,jr);return Ae&&ct}function Vl(re,Ae){var ct=re.diff(Ae,"days",!0);return ct<-6?"sameElse":ct<-1?"lastWeek":ct<0?"lastDay":ct<1?"sameDay":ct<2?"nextDay":ct<7?"nextWeek":"sameElse"}function hu(re,Ae){arguments.length===1&&(arguments[0]?Jc(arguments[0])?(re=arguments[0],Ae=void 0):Dl(arguments[0])&&(Ae=arguments[0],re=void 0):(re=void 0,Ae=void 0));var ct=re||Mo(),wt=nr(ct,this).startOf("day"),an=C.calendarFormat(this,wt)||"sameElse",jr=Ae&&(oe(Ae[an])?Ae[an].call(this,ct):Ae[an]);return this.format(jr||this.localeData().calendar(an,this,Mo(ct)))}function ru(){return new Q(this)}function pd(re,Ae){var ct=W(re)?re:Mo(re);return this.isValid()&&ct.isValid()?(Ae=Ve(Ae)||"millisecond",Ae==="millisecond"?this.valueOf()>ct.valueOf():ct.valueOf()<this.clone().startOf(Ae).valueOf()):!1}function ql(re,Ae){var ct=W(re)?re:Mo(re);return this.isValid()&&ct.isValid()?(Ae=Ve(Ae)||"millisecond",Ae==="millisecond"?this.valueOf()<ct.valueOf():this.clone().endOf(Ae).valueOf()<ct.valueOf()):!1}function Ru(re,Ae,ct,wt){var an=W(re)?re:Mo(re),jr=W(Ae)?Ae:Mo(Ae);return this.isValid()&&an.isValid()&&jr.isValid()?(wt=wt||"()",(wt[0]==="("?this.isAfter(an,ct):!this.isBefore(an,ct))&&(wt[1]===")"?this.isBefore(jr,ct):!this.isAfter(jr,ct))):!1}function Hl(re,Ae){var ct=W(re)?re:Mo(re),wt;return this.isValid()&&ct.isValid()?(Ae=Ve(Ae)||"millisecond",Ae==="millisecond"?this.valueOf()===ct.valueOf():(wt=ct.valueOf(),this.clone().startOf(Ae).valueOf()<=wt&&wt<=this.clone().endOf(Ae).valueOf())):!1}function fu(re,Ae){return this.isSame(re,Ae)||this.isAfter(re,Ae)}function nd(re,Ae){return this.isSame(re,Ae)||this.isBefore(re,Ae)}function bd(re,Ae,ct){var wt,an,jr;if(!this.isValid())return NaN;if(wt=nr(re,this),!wt.isValid())return NaN;switch(an=(wt.utcOffset()-this.utcOffset())*6e4,Ae=Ve(Ae),Ae){case"year":jr=ml(this,wt)/12;break;case"month":jr=ml(this,wt);break;case"quarter":jr=ml(this,wt)/3;break;case"second":jr=(this-wt)/1e3;break;case"minute":jr=(this-wt)/6e4;break;case"hour":jr=(this-wt)/36e5;break;case"day":jr=(this-wt-an)/864e5;break;case"week":jr=(this-wt-an)/6048e5;break;default:jr=this-wt}return ct?jr:ft(jr)}function ml(re,Ae){if(re.date()<Ae.date())return-ml(Ae,re);var ct=(Ae.year()-re.year())*12+(Ae.month()-re.month()),wt=re.clone().add(ct,"months"),an,jr;return Ae-wt<0?(an=re.clone().add(ct-1,"months"),jr=(Ae-wt)/(wt-an)):(an=re.clone().add(ct+1,"months"),jr=(Ae-wt)/(an-wt)),-(ct+jr)||0}C.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",C.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function os(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function wu(re){if(!this.isValid())return null;var Ae=re!==!0,ct=Ae?this.clone().utc():this;return ct.year()<0||ct.year()>9999?Ne(ct,Ae?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):oe(Date.prototype.toISOString)?Ae?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ne(ct,"Z")):Ne(ct,Ae?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function cd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var re="moment",Ae="",ct,wt,an,jr;return this.isLocal()||(re=this.utcOffset()===0?"moment.utc":"moment.parseZone",Ae="Z"),ct="["+re+'("]',wt=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",an="-MM-DD[T]HH:mm:ss.SSS",jr=Ae+'[")]',this.format(ct+wt+an+jr)}function Ud(re){re||(re=this.isUtc()?C.defaultFormatUtc:C.defaultFormat);var Ae=Ne(this,re);return this.localeData().postformat(Ae)}function Eu(re,Ae){return this.isValid()&&(W(re)&&re.isValid()||Mo(re).isValid())?ii({to:this,from:re}).locale(this.locale()).humanize(!Ae):this.localeData().invalidDate()}function El(re){return this.from(Mo(),re)}function eu(re,Ae){return this.isValid()&&(W(re)&&re.isValid()||Mo(re).isValid())?ii({from:this,to:re}).locale(this.locale()).humanize(!Ae):this.localeData().invalidDate()}function rd(re){return this.to(Mo(),re)}function yn(re){var Ae;return re===void 0?this._locale._abbr:(Ae=xr(re),Ae!=null&&(this._locale=Ae),this)}var Dr=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(re){return re===void 0?this.localeData():this.locale(re)});function Xr(){return this._locale}var Ta=1e3,Ra=60*Ta,wi=60*Ra,mo=(365*400+97)*24*wi;function Yi(re,Ae){return(re%Ae+Ae)%Ae}function Ji(re,Ae,ct){return re<100&&re>=0?new Date(re+400,Ae,ct)-mo:new Date(re,Ae,ct).valueOf()}function Vs(re,Ae,ct){return re<100&&re>=0?Date.UTC(re+400,Ae,ct)-mo:Date.UTC(re,Ae,ct)}function Jo(re){var Ae,ct;if(re=Ve(re),re===void 0||re==="millisecond"||!this.isValid())return this;switch(ct=this._isUTC?Vs:Ji,re){case"year":Ae=ct(this.year(),0,1);break;case"quarter":Ae=ct(this.year(),this.month()-this.month()%3,1);break;case"month":Ae=ct(this.year(),this.month(),1);break;case"week":Ae=ct(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":Ae=ct(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":Ae=ct(this.year(),this.month(),this.date());break;case"hour":Ae=this._d.valueOf(),Ae-=Yi(Ae+(this._isUTC?0:this.utcOffset()*Ra),wi);break;case"minute":Ae=this._d.valueOf(),Ae-=Yi(Ae,Ra);break;case"second":Ae=this._d.valueOf(),Ae-=Yi(Ae,Ta);break}return this._d.setTime(Ae),C.updateOffset(this,!0),this}function dn(re){var Ae,ct;if(re=Ve(re),re===void 0||re==="millisecond"||!this.isValid())return this;switch(ct=this._isUTC?Vs:Ji,re){case"year":Ae=ct(this.year()+1,0,1)-1;break;case"quarter":Ae=ct(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":Ae=ct(this.year(),this.month()+1,1)-1;break;case"week":Ae=ct(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":Ae=ct(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":Ae=ct(this.year(),this.month(),this.date()+1)-1;break;case"hour":Ae=this._d.valueOf(),Ae+=wi-Yi(Ae+(this._isUTC?0:this.utcOffset()*Ra),wi)-1;break;case"minute":Ae=this._d.valueOf(),Ae+=Ra-Yi(Ae,Ra)-1;break;case"second":Ae=this._d.valueOf(),Ae+=Ta-Yi(Ae,Ta)-1;break}return this._d.setTime(Ae),C.updateOffset(this,!0),this}function pn(){return this._d.valueOf()-(this._offset||0)*6e4}function sr(){return Math.floor(this.valueOf()/1e3)}function lr(){return new Date(this.valueOf())}function _a(){var re=this;return[re.year(),re.month(),re.date(),re.hour(),re.minute(),re.second(),re.millisecond()]}function Fa(){var re=this;return{years:re.year(),months:re.month(),date:re.date(),hours:re.hours(),minutes:re.minutes(),seconds:re.seconds(),milliseconds:re.milliseconds()}}function Va(){return this.isValid()?this.toISOString():null}function di(){return $(this)}function Ci(){return N({},U(this))}function wo(){return U(this).overflow}function ho(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ze("N",0,0,"eraAbbr"),ze("NN",0,0,"eraAbbr"),ze("NNN",0,0,"eraAbbr"),ze("NNNN",0,0,"eraName"),ze("NNNNN",0,0,"eraNarrow"),ze("y",["y",1],"yo","eraYear"),ze("y",["yy",2],0,"eraYear"),ze("y",["yyy",3],0,"eraYear"),ze("y",["yyyy",4],0,"eraYear"),Wn("N",Sc),Wn("NN",Sc),Wn("NNN",Sc),Wn("NNNN",Hs),Wn("NNNNN",bc),zt(["N","NN","NNN","NNNN","NNNNN"],function(re,Ae,ct,wt){var an=ct._locale.erasParse(re,wt,ct._strict);an?U(ct).era=an:U(ct).invalidEra=re}),Wn("y",bn),Wn("yy",bn),Wn("yyy",bn),Wn("yyyy",bn),Wn("yo",cr),zt(["y","yy","yyy","yyyy"],ot),zt(["yo"],function(re,Ae,ct,wt){var an;ct._locale._eraYearOrdinalRegex&&(an=re.match(ct._locale._eraYearOrdinalRegex)),ct._locale.eraYearOrdinalParse?Ae[ot]=ct._locale.eraYearOrdinalParse(re,an):Ae[ot]=parseInt(re,10)});function Io(re,Ae){var ct,wt,an,jr=this._eras||xr("en")._eras;for(ct=0,wt=jr.length;ct<wt;++ct){switch(typeof jr[ct].since){case"string":an=C(jr[ct].since).startOf("day"),jr[ct].since=an.valueOf();break}switch(typeof jr[ct].until){case"undefined":jr[ct].until=Infinity;break;case"string":an=C(jr[ct].until).startOf("day").valueOf(),jr[ct].until=an.valueOf();break}}return jr}function Fo(re,Ae,ct){var wt,an,jr=this.eras(),Xa,fs,Xs;for(re=re.toUpperCase(),wt=0,an=jr.length;wt<an;++wt)if(Xa=jr[wt].name.toUpperCase(),fs=jr[wt].abbr.toUpperCase(),Xs=jr[wt].narrow.toUpperCase(),ct)switch(Ae){case"N":case"NN":case"NNN":if(fs===re)return jr[wt];break;case"NNNN":if(Xa===re)return jr[wt];break;case"NNNNN":if(Xs===re)return jr[wt];break}else if([Xa,fs,Xs].indexOf(re)>=0)return jr[wt]}function xs(re,Ae){var ct=re.since<=re.until?1:-1;return Ae===void 0?C(re.since).year():C(re.since).year()+(Ae-re.offset)*ct}function ms(){var re,Ae,ct,wt=this.localeData().eras();for(re=0,Ae=wt.length;re<Ae;++re)if(ct=this.clone().startOf("day").valueOf(),wt[re].since<=ct&&ct<=wt[re].until||wt[re].until<=ct&&ct<=wt[re].since)return wt[re].name;return""}function ys(){var re,Ae,ct,wt=this.localeData().eras();for(re=0,Ae=wt.length;re<Ae;++re)if(ct=this.clone().startOf("day").valueOf(),wt[re].since<=ct&&ct<=wt[re].until||wt[re].until<=ct&&ct<=wt[re].since)return wt[re].narrow;return""}function bs(){var re,Ae,ct,wt=this.localeData().eras();for(re=0,Ae=wt.length;re<Ae;++re)if(ct=this.clone().startOf("day").valueOf(),wt[re].since<=ct&&ct<=wt[re].until||wt[re].until<=ct&&ct<=wt[re].since)return wt[re].abbr;return""}function Po(){var re,Ae,ct,wt,an=this.localeData().eras();for(re=0,Ae=an.length;re<Ae;++re)if(ct=an[re].since<=an[re].until?1:-1,wt=this.clone().startOf("day").valueOf(),an[re].since<=wt&&wt<=an[re].until||an[re].until<=wt&&wt<=an[re].since)return(this.year()-C(an[re].since).year())*ct+an[re].offset;return this.year()}function yr(re){return y(this,"_erasNameRegex")||qr.call(this),re?this._erasNameRegex:this._erasRegex}function Ls(re){return y(this,"_erasAbbrRegex")||qr.call(this),re?this._erasAbbrRegex:this._erasRegex}function Zs(re){return y(this,"_erasNarrowRegex")||qr.call(this),re?this._erasNarrowRegex:this._erasRegex}function Sc(re,Ae){return Ae.erasAbbrRegex(re)}function Hs(re,Ae){return Ae.erasNameRegex(re)}function bc(re,Ae){return Ae.erasNarrowRegex(re)}function cr(re,Ae){return Ae._eraYearOrdinalRegex||bn}function qr(){var re=[],Ae=[],ct=[],wt=[],an,jr,Xa=this.eras();for(an=0,jr=Xa.length;an<jr;++an)Ae.push(jn(Xa[an].name)),re.push(jn(Xa[an].abbr)),ct.push(jn(Xa[an].narrow)),wt.push(jn(Xa[an].name)),wt.push(jn(Xa[an].abbr)),wt.push(jn(Xa[an].narrow));this._erasRegex=new RegExp("^("+wt.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+Ae.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+re.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+ct.join("|")+")","i")}ze(0,["gg",2],0,function(){return this.weekYear()%100}),ze(0,["GG",2],0,function(){return this.isoWeekYear()%100});function yi(re,Ae){ze(0,[re,re.length],0,Ae)}yi("gggg","weekYear"),yi("ggggg","weekYear"),yi("GGGG","isoWeekYear"),yi("GGGGG","isoWeekYear"),Se("weekYear","gg"),Se("isoWeekYear","GG"),bt("weekYear",1),bt("isoWeekYear",1),Wn("G",Bn),Wn("g",Bn),Wn("GG",Dt,Ot),Wn("gg",Dt,Ot),Wn("GGGG",hn,At),Wn("gggg",hn,At),Wn("GGGGG",_n,Pt),Wn("ggggg",_n,Pt),Bt(["gggg","ggggg","GGGG","GGGGG"],function(re,Ae,ct,wt){Ae[wt.substr(0,2)]=Fe(re)}),Bt(["gg","GG"],function(re,Ae,ct,wt){Ae[wt]=C.parseTwoDigitYear(re)});function Ki(re){return Bc.call(this,re,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function uo(re){return Bc.call(this,re,this.isoWeek(),this.isoWeekday(),1,4)}function As(){return Qr(this.year(),1,4)}function zc(){return Qr(this.isoWeekYear(),1,4)}function cc(){var re=this.localeData()._week;return Qr(this.year(),re.dow,re.doy)}function fl(){var re=this.localeData()._week;return Qr(this.weekYear(),re.dow,re.doy)}function Bc(re,Ae,ct,wt,an){var jr;return re==null?ea(this,wt,an).year:(jr=Qr(re,wt,an),Ae>jr&&(Ae=jr),Gl.call(this,re,Ae,ct,wt,an))}function Gl(re,Ae,ct,wt,an){var jr=kr(re,Ae,ct,wt,an),Xa=gn(jr.year,0,jr.dayOfYear);return this.year(Xa.getUTCFullYear()),this.month(Xa.getUTCMonth()),this.date(Xa.getUTCDate()),this}ze("Q",0,"Qo","quarter"),Se("quarter","Q"),bt("quarter",7),Wn("Q",Tt),zt("Q",function(re,Ae){Ae[nt]=(Fe(re)-1)*3});function Fl(re){return re==null?Math.ceil((this.month()+1)/3):this.month((re-1)*3+this.month()%3)}ze("D",["DD",2],"Do","date"),Se("date","D"),bt("date",9),Wn("D",Dt),Wn("DD",Dt,Ot),Wn("Do",function(re,Ae){return re?Ae._dayOfMonthOrdinalParse||Ae._ordinalParse:Ae._dayOfMonthOrdinalParseLenient}),zt(["D","DD"],Ct),zt("Do",function(re,Ae){Ae[Ct]=Fe(re.match(Dt)[0])});var pl=Te("Date",!0);ze("DDD",["DDDD",3],"DDDo","dayOfYear"),Se("dayOfYear","DDD"),bt("dayOfYear",4),Wn("DDD",$n),Wn("DDDD",Ut),zt(["DDD","DDDD"],function(re,Ae,ct){ct._dayOfYear=Fe(re)});function gu(re){var Ae=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return re==null?Ae:this.add(re-Ae,"d")}ze("m",["mm",2],0,"minute"),Se("minute","m"),bt("minute",14),Wn("m",Dt),Wn("mm",Dt,Ot),zt(["m","mm"],kn);var bl=Te("Minutes",!1);ze("s",["ss",2],0,"second"),Se("second","s"),bt("second",15),Wn("s",Dt),Wn("ss",Dt,Ot),zt(["s","ss"],Sn);var tu=Te("Seconds",!1);ze("S",0,0,function(){return~~(this.millisecond()/100)}),ze(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ze(0,["SSS",3],0,"millisecond"),ze(0,["SSSS",4],0,function(){return this.millisecond()*10}),ze(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ze(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ze(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ze(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ze(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Se("millisecond","ms"),bt("millisecond",16),Wn("S",$n,Tt),Wn("SS",$n,Ot),Wn("SSS",$n,Ut);var hl,ju;for(hl="SSSS";hl.length<=9;hl+="S")Wn(hl,bn);function il(re,Ae){Ae[Zn]=Fe(("0."+re)*1e3)}for(hl="S";hl.length<=9;hl+="S")zt(hl,il);ju=Te("Milliseconds",!1),ze("z",0,0,"zoneAbbr"),ze("zz",0,0,"zoneName");function Mu(){return this._isUTC?"UTC":""}function ji(){return this._isUTC?"Coordinated Universal Time":""}var xa=Q.prototype;xa.add=Ar,xa.calendar=hu,xa.clone=ru,xa.diff=bd,xa.endOf=dn,xa.format=Ud,xa.from=Eu,xa.fromNow=El,xa.to=eu,xa.toNow=rd,xa.get=$e,xa.invalidAt=wo,xa.isAfter=pd,xa.isBefore=ql,xa.isBetween=Ru,xa.isSame=Hl,xa.isSameOrAfter=fu,xa.isSameOrBefore=nd,xa.isValid=di,xa.lang=Dr,xa.locale=yn,xa.localeData=Xr,xa.max=Yc,xa.min=js,xa.parsingFlags=Ci,xa.set=Qe,xa.startOf=Jo,xa.subtract=Gs,xa.toArray=_a,xa.toObject=Fa,xa.toDate=lr,xa.toISOString=wu,xa.inspect=cd,typeof Symbol!="undefined"&&Symbol.for!=null&&(xa[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),xa.toJSON=Va,xa.toString=os,xa.unix=sr,xa.valueOf=pn,xa.creationData=ho,xa.eraName=ms,xa.eraNarrow=ys,xa.eraAbbr=bs,xa.eraYear=Po,xa.year=Cr,xa.isLeapYear=Un,xa.weekYear=Ki,xa.isoWeekYear=uo,xa.quarter=xa.quarters=Fl,xa.month=Ma,xa.daysInMonth=va,xa.week=xa.weeks=ti,xa.isoWeek=xa.isoWeeks=ui,xa.weeksInYear=cc,xa.weeksInWeekYear=fl,xa.isoWeeksInYear=As,xa.isoWeeksInISOWeekYear=zc,xa.date=pl,xa.day=xa.days=Rt,xa.weekday=mr,xa.isoWeekday=ta,xa.dayOfYear=gu,xa.hour=xa.hours=lo,xa.minute=xa.minutes=bl,xa.second=xa.seconds=tu,xa.millisecond=xa.milliseconds=ju,xa.utcOffset=Yr,xa.utc=vi,xa.local=zr,xa.parseZone=wr,xa.hasAlignedHourOffset=Ua,xa.isDST=La,xa.isLocal=ua,xa.isUtcOffset=ra,xa.isUtc=ri,xa.isUTC=ri,xa.zoneAbbr=Mu,xa.zoneName=ji,xa.dates=te("dates accessor is deprecated. Use date instead.",pl),xa.months=te("months accessor is deprecated. Use month instead",Ma),xa.years=te("years accessor is deprecated. Use year instead",Cr),xa.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ni),xa.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nr);function as(re){return Mo(re*1e3)}function ws(){return Mo.apply(null,arguments).parseZone()}function Cs(re){return re}var $o=Z.prototype;$o.calendar=Le,$o.longDateFormat=ht,$o.invalidDate=Et,$o.ordinal=xt,$o.preparse=Cs,$o.postformat=Cs,$o.relativeTime=vt,$o.pastFuture=qe,$o.set=ge,$o.eras=Io,$o.erasParse=Fo,$o.erasConvertYear=xs,$o.erasAbbrRegex=Ls,$o.erasNameRegex=yr,$o.erasNarrowRegex=Zs,$o.months=Hn,$o.monthsShort=Sa,$o.monthsParse=Ca,$o.monthsRegex=gi,$o.monthsShortRegex=qa,$o.week=Na,$o.firstDayOfYear=_i,$o.firstDayOfWeek=pi,$o.weekdays=ba,$o.weekdaysMin=Da,$o.weekdaysShort=sa,$o.weekdaysParse=xn,$o.weekdaysRegex=ma,$o.weekdaysShortRegex=Oa,$o.weekdaysMinRegex=Pn,$o.isPM=go,$o.meridiem=Oi;function _c(re,Ae,ct,wt){var an=xr(),jr=F().set(wt,Ae);return an[ct](jr,re)}function Lc(re,Ae,ct){if(T(re)&&(Ae=re,re=void 0),re=re||"",Ae!=null)return _c(re,Ae,ct,"month");var wt,an=[];for(wt=0;wt<12;wt++)an[wt]=_c(re,wt,ct,"month");return an}function Rl(re,Ae,ct,wt){typeof re=="boolean"?(T(Ae)&&(ct=Ae,Ae=void 0),Ae=Ae||""):(Ae=re,ct=Ae,re=!1,T(Ae)&&(ct=Ae,Ae=void 0),Ae=Ae||"");var an=xr(),jr=re?an._week.dow:0,Xa,fs=[];if(ct!=null)return _c(Ae,(ct+jr)%7,wt,"day");for(Xa=0;Xa<7;Xa++)fs[Xa]=_c(Ae,(Xa+jr)%7,wt,"day");return fs}function Ol(re,Ae){return Lc(re,Ae,"months")}function cl(re,Ae){return Lc(re,Ae,"monthsShort")}function au(re,Ae,ct){return Rl(re,Ae,ct,"weekdays")}function Yu(re,Ae,ct){return Rl(re,Ae,ct,"weekdaysShort")}function Od(re,Ae,ct){return Rl(re,Ae,ct,"weekdaysMin")}wn("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(Ae){var ct=Ae%10,wt=Fe(Ae%100/10)===1?"th":ct===1?"st":ct===2?"nd":ct===3?"rd":"th";return Ae+wt}}),C.lang=te("moment.lang is deprecated. Use moment.locale instead.",wn),C.langData=te("moment.langData is deprecated. Use moment.localeData instead.",xr);var Lu=Math.abs;function Hd(){var re=this._data;return this._milliseconds=Lu(this._milliseconds),this._days=Lu(this._days),this._months=Lu(this._months),re.milliseconds=Lu(re.milliseconds),re.seconds=Lu(re.seconds),re.minutes=Lu(re.minutes),re.hours=Lu(re.hours),re.months=Lu(re.months),re.years=Lu(re.years),this}function af(re,Ae,ct,wt){var an=ii(Ae,ct);return re._milliseconds+=wt*an._milliseconds,re._days+=wt*an._days,re._months+=wt*an._months,re._bubble()}function Gd(re,Ae){return af(this,re,Ae,1)}function Nd(re,Ae){return af(this,re,Ae,-1)}function kd(re){return re<0?Math.floor(re):Math.ceil(re)}function xf(){var re=this._milliseconds,Ae=this._days,ct=this._months,wt=this._data,an,jr,Xa,fs,Xs;return re>=0&&Ae>=0&&ct>=0||re<=0&&Ae<=0&&ct<=0||(re+=kd(Fu(ct)+Ae)*864e5,Ae=0,ct=0),wt.milliseconds=re%1e3,an=ft(re/1e3),wt.seconds=an%60,jr=ft(an/60),wt.minutes=jr%60,Xa=ft(jr/60),wt.hours=Xa%24,Ae+=ft(Xa/24),Xs=ft(Bd(Ae)),ct+=Xs,Ae-=kd(Fu(Xs)),fs=ft(ct/12),ct%=12,wt.days=Ae,wt.months=ct,wt.years=fs,this}function Bd(re){return re*4800/146097}function Fu(re){return re*146097/4800}function xd(re){if(!this.isValid())return NaN;var Ae,ct,wt=this._milliseconds;if(re=Ve(re),re==="month"||re==="quarter"||re==="year")switch(Ae=this._days+wt/864e5,ct=this._months+Bd(Ae),re){case"month":return ct;case"quarter":return ct/3;case"year":return ct/12}else switch(Ae=this._days+Math.round(Fu(this._months)),re){case"week":return Ae/7+wt/6048e5;case"day":return Ae+wt/864e5;case"hour":return Ae*24+wt/36e5;case"minute":return Ae*1440+wt/6e4;case"second":return Ae*86400+wt/1e3;case"millisecond":return Math.floor(Ae*864e5)+wt;default:throw new Error("Unknown unit "+re)}}function of(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Fe(this._months/12)*31536e6:NaN}function ld(re){return function(){return this.as(re)}}var cu=ld("ms"),ll=ld("s"),ad=ld("m"),Xu=ld("h"),_s=ld("d"),jl=ld("w"),Uu=ld("M"),jd=ld("Q"),Sf=ld("y");function Af(){return ii(this)}function mf(re){return re=Ve(re),this.isValid()?this[re+"s"]():NaN}function Ld(re){return function(){return this.isValid()?this._data[re]:NaN}}var qd=Ld("milliseconds"),bu=Ld("seconds"),$d=Ld("minutes"),Ju=Ld("hours"),Jd=Ld("days"),Zo=Ld("months"),Vr=Ld("years");function Yo(){return ft(this.days()/7)}var Mi=Math.round,ds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function oc(re,Ae,ct,wt,an){return an.relativeTime(Ae||1,!!ct,re,wt)}function Il(re,Ae,ct,wt){var an=ii(re).abs(),jr=Mi(an.as("s")),Xa=Mi(an.as("m")),fs=Mi(an.as("h")),Xs=Mi(an.as("d")),Uc=Mi(an.as("M")),zl=Mi(an.as("w")),Bu=Mi(an.as("y")),ud=jr<=ct.ss&&["s",jr]||jr<ct.s&&["ss",jr]||Xa<=1&&["m"]||Xa<ct.m&&["mm",Xa]||fs<=1&&["h"]||fs<ct.h&&["hh",fs]||Xs<=1&&["d"]||Xs<ct.d&&["dd",Xs];return ct.w!=null&&(ud=ud||zl<=1&&["w"]||zl<ct.w&&["ww",zl]),ud=ud||Uc<=1&&["M"]||Uc<ct.M&&["MM",Uc]||Bu<=1&&["y"]||["yy",Bu],ud[2]=Ae,ud[3]=+re>0,ud[4]=wt,oc.apply(null,ud)}function pu(re){return re===void 0?Mi:typeof re=="function"?(Mi=re,!0):!1}function Nl(re,Ae){return ds[re]===void 0?!1:Ae===void 0?ds[re]:(ds[re]=Ae,re==="s"&&(ds.ss=Ae-1),!0)}function Du(re,Ae){if(!this.isValid())return this.localeData().invalidDate();var ct=!1,wt=ds,an,jr;return typeof re=="object"&&(Ae=re,re=!1),typeof re=="boolean"&&(ct=re),typeof Ae=="object"&&(wt=Object.assign({},ds,Ae),Ae.s!=null&&Ae.ss==null&&(wt.ss=Ae.s-1)),an=this.localeData(),jr=Il(this,!ct,wt,an),ct&&(jr=an.pastFuture(+this,jr)),an.postformat(jr)}var vu=Math.abs;function lu(re){return(re>0)-(re<0)||+re}function id(){if(!this.isValid())return this.localeData().invalidDate();var re=vu(this._milliseconds)/1e3,Ae=vu(this._days),ct=vu(this._months),wt,an,jr,Xa,fs=this.asSeconds(),Xs,Uc,zl,Bu;return fs?(wt=ft(re/60),an=ft(wt/60),re%=60,wt%=60,jr=ft(ct/12),ct%=12,Xa=re?re.toFixed(3).replace(/\.?0+$/,""):"",Xs=fs<0?"-":"",Uc=lu(this._months)!==lu(fs)?"-":"",zl=lu(this._days)!==lu(fs)?"-":"",Bu=lu(this._milliseconds)!==lu(fs)?"-":"",Xs+"P"+(jr?Uc+jr+"Y":"")+(ct?Uc+ct+"M":"")+(Ae?zl+Ae+"D":"")+(an||wt||re?"T":"")+(an?Bu+an+"H":"")+(wt?Bu+wt+"M":"")+(re?Bu+Xa+"S":"")):"P0D"}var Ws=al.prototype;Ws.isValid=su,Ws.abs=Hd,Ws.add=Gd,Ws.subtract=Nd,Ws.as=xd,Ws.asMilliseconds=cu,Ws.asSeconds=ll,Ws.asMinutes=ad,Ws.asHours=Xu,Ws.asDays=_s,Ws.asWeeks=jl,Ws.asMonths=Uu,Ws.asQuarters=jd,Ws.asYears=Sf,Ws.valueOf=of,Ws._bubble=xf,Ws.clone=Af,Ws.get=mf,Ws.milliseconds=qd,Ws.seconds=bu,Ws.minutes=$d,Ws.hours=Ju,Ws.days=Jd,Ws.weeks=Yo,Ws.months=Zo,Ws.years=Vr,Ws.humanize=Du,Ws.toISOString=id,Ws.toString=id,Ws.toJSON=id,Ws.locale=yn,Ws.localeData=Xr,Ws.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",id),Ws.lang=Dr,ze("X",0,0,"unix"),ze("x",0,0,"valueOf"),Wn("x",Bn),Wn("X",Sr),zt("X",function(re,Ae,ct){ct._d=new Date(parseFloat(re)*1e3)}),zt("x",function(re,Ae,ct){ct._d=new Date(Fe(re))});//! moment.js
return C.version="2.29.4",k(Mo),C.fn=xa,C.min=Cl,C.max=wl,C.now=Wc,C.utc=F,C.unix=as,C.months=Ol,C.isDate=j,C.locale=wn,C.invalid=X,C.duration=ii,C.isMoment=W,C.weekdays=au,C.parseZone=ws,C.localeData=xr,C.isDuration=Ml,C.monthsShort=cl,C.weekdaysMin=Od,C.defineLocale=qn,C.updateLocale=zn,C.locales=da,C.weekdaysShort=Yu,C.normalizeUnits=Ve,C.relativeTimeRounding=pu,C.relativeTimeThreshold=Nl,C.calendarFormat=Vl,C.prototype=xa,C.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},C})}).call(this,l("hOG+")(ce))},wME1:function(ce,R,l){"use strict";l.r(R),l.d(R,"red",function(){return E}),l.d(R,"pink",function(){return m}),l.d(R,"purple",function(){return O}),l.d(R,"deepPurple",function(){return C}),l.d(R,"indigo",function(){return k}),l.d(R,"blue",function(){return A}),l.d(R,"lightBlue",function(){return S}),l.d(R,"cyan",function(){return y}),l.d(R,"teal",function(){return w}),l.d(R,"green",function(){return x}),l.d(R,"lightGreen",function(){return T}),l.d(R,"lime",function(){return j}),l.d(R,"yellow",function(){return D}),l.d(R,"amber",function(){return N}),l.d(R,"orange",function(){return F}),l.d(R,"deepOrange",function(){return B}),l.d(R,"brown",function(){return U}),l.d(R,"grey",function(){return J}),l.d(R,"blueGrey",function(){return $}),l.d(R,"darkText",function(){return X}),l.d(R,"lightText",function(){return ee}),l.d(R,"darkIcons",function(){return ie}),l.d(R,"lightIcons",function(){return G}),l.d(R,"white",function(){return Q}),l.d(R,"black",function(){return W});var E={"50":"#ffebee","100":"#ffcdd2","200":"#ef9a9a","300":"#e57373","400":"#ef5350","500":"#f44336","600":"#e53935","700":"#d32f2f","800":"#c62828","900":"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},m={"50":"#fce4ec","100":"#f8bbd0","200":"#f48fb1","300":"#f06292","400":"#ec407a","500":"#e91e63","600":"#d81b60","700":"#c2185b","800":"#ad1457","900":"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},O={"50":"#f3e5f5","100":"#e1bee7","200":"#ce93d8","300":"#ba68c8","400":"#ab47bc","500":"#9c27b0","600":"#8e24aa","700":"#7b1fa2","800":"#6a1b9a","900":"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},C={"50":"#ede7f6","100":"#d1c4e9","200":"#b39ddb","300":"#9575cd","400":"#7e57c2","500":"#673ab7","600":"#5e35b1","700":"#512da8","800":"#4527a0","900":"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},k={"50":"#e8eaf6","100":"#c5cae9","200":"#9fa8da","300":"#7986cb","400":"#5c6bc0","500":"#3f51b5","600":"#3949ab","700":"#303f9f","800":"#283593","900":"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},A={"50":"#e3f2fd","100":"#bbdefb","200":"#90caf9","300":"#64b5f6","400":"#42a5f5","500":"#2196f3","600":"#1e88e5","700":"#1976d2","800":"#1565c0","900":"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},S={"50":"#e1f5fe","100":"#b3e5fc","200":"#81d4fa","300":"#4fc3f7","400":"#29b6f6","500":"#03a9f4","600":"#039be5","700":"#0288d1","800":"#0277bd","900":"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},y={"50":"#e0f7fa","100":"#b2ebf2","200":"#80deea","300":"#4dd0e1","400":"#26c6da","500":"#00bcd4","600":"#00acc1","700":"#0097a7","800":"#00838f","900":"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},w={"50":"#e0f2f1","100":"#b2dfdb","200":"#80cbc4","300":"#4db6ac","400":"#26a69a","500":"#009688","600":"#00897b","700":"#00796b","800":"#00695c","900":"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},x={"50":"#e8f5e9","100":"#c8e6c9","200":"#a5d6a7","300":"#81c784","400":"#66bb6a","500":"#4caf50","600":"#43a047","700":"#388e3c","800":"#2e7d32","900":"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},T={"50":"#f1f8e9","100":"#dcedc8","200":"#c5e1a5","300":"#aed581","400":"#9ccc65","500":"#8bc34a","600":"#7cb342","700":"#689f38","800":"#558b2f","900":"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},j={"50":"#f9fbe7","100":"#f0f4c3","200":"#e6ee9c","300":"#dce775","400":"#d4e157","500":"#cddc39","600":"#c0ca33","700":"#afb42b","800":"#9e9d24","900":"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},D={"50":"#fffde7","100":"#fff9c4","200":"#fff59d","300":"#fff176","400":"#ffee58","500":"#ffeb3b","600":"#fdd835","700":"#fbc02d","800":"#f9a825","900":"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},N={"50":"#fff8e1","100":"#ffecb3","200":"#ffe082","300":"#ffd54f","400":"#ffca28","500":"#ffc107","600":"#ffb300","700":"#ffa000","800":"#ff8f00","900":"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},F={"50":"#fff3e0","100":"#ffe0b2","200":"#ffcc80","300":"#ffb74d","400":"#ffa726","500":"#ff9800","600":"#fb8c00","700":"#f57c00","800":"#ef6c00","900":"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},B={"50":"#fbe9e7","100":"#ffccbc","200":"#ffab91","300":"#ff8a65","400":"#ff7043","500":"#ff5722","600":"#f4511e","700":"#e64a19","800":"#d84315","900":"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},U={"50":"#efebe9","100":"#d7ccc8","200":"#bcaaa4","300":"#a1887f","400":"#8d6e63","500":"#795548","600":"#6d4c41","700":"#5d4037","800":"#4e342e","900":"#3e2723"},J={"50":"#fafafa","100":"#f5f5f5","200":"#eeeeee","300":"#e0e0e0","400":"#bdbdbd","500":"#9e9e9e","600":"#757575","700":"#616161","800":"#424242","900":"#212121"},$={"50":"#eceff1","100":"#cfd8dc","200":"#b0bec5","300":"#90a4ae","400":"#78909c","500":"#607d8b","600":"#546e7a","700":"#455a64","800":"#37474f","900":"#263238"},X={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},ee={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},ie={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},G={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},Q="#ffffff",W="#000000";R.default={red:E,pink:m,purple:O,deepPurple:C,indigo:k,blue:A,lightBlue:S,cyan:y,teal:w,green:x,lightGreen:T,lime:j,yellow:D,amber:N,orange:F,deepOrange:B,brown:U,grey:J,blueGrey:$,darkText:X,lightText:ee,darkIcons:ie,lightIcons:G,white:Q,black:W}},wTVA:function(ce,R){function l(E){if(Array.isArray(E))return E}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},wYL9:function(ce,R,l){ce.exports={domains:"domains___2sNnl",titleBar:"titleBar___18_Sr",title:"title___vvDMG",subTitle:"subTitle___3Gezp",domainList:"domainList___2Fuun",domainItem:"domainItem___-Hg_Y",loadingIcon:"loadingIcon___w5OHT",arrowIcon:"arrowIcon___1yO5n",domainIcon:"domainIcon___3OrVz",domainName:"domainName___3FZaC",activeDomainItem:"activeDomainItem___2i6vy"}},waHm:function(ce,R,l){"use strict";var E=l("FVwB"),m=l("VSU6"),O=E.aTypedArray,C=E.exportTypedArrayMethod;C("fill",function(A){return m.apply(O(this),arguments)})},wclG:function(ce,R,l){var E=l("pFRH"),m=l("88Gu"),O=m(E);ce.exports=O},"wd/R":function(ce,R,l){(function(E){var m;//! moment.js
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(O,C){E.exports=C()})(this,function(){"use strict";var O;function C(){return O.apply(null,arguments)}function k(re){O=re}function A(re){return re instanceof Array||Object.prototype.toString.call(re)==="[object Array]"}function S(re){return re!=null&&Object.prototype.toString.call(re)==="[object Object]"}function y(re,Ae){return Object.prototype.hasOwnProperty.call(re,Ae)}function w(re){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(re).length===0;var Ae;for(Ae in re)if(y(re,Ae))return!1;return!0}function x(re){return re===void 0}function T(re){return typeof re=="number"||Object.prototype.toString.call(re)==="[object Number]"}function j(re){return re instanceof Date||Object.prototype.toString.call(re)==="[object Date]"}function D(re,Ae){var ct=[],wt,an=re.length;for(wt=0;wt<an;++wt)ct.push(Ae(re[wt],wt));return ct}function N(re,Ae){for(var ct in Ae)y(Ae,ct)&&(re[ct]=Ae[ct]);return y(Ae,"toString")&&(re.toString=Ae.toString),y(Ae,"valueOf")&&(re.valueOf=Ae.valueOf),re}function F(re,Ae,ct,wt){return Js(re,Ae,ct,wt,!0).utc()}function B(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function U(re){return re._pf==null&&(re._pf=B()),re._pf}var J;Array.prototype.some?J=Array.prototype.some:J=function(Ae){var ct=Object(this),wt=ct.length>>>0,an;for(an=0;an<wt;an++)if(an in ct&&Ae.call(this,ct[an],an,ct))return!0;return!1};function $(re){if(re._isValid==null){var Ae=U(re),ct=J.call(Ae.parsedDateParts,function(an){return an!=null}),wt=!isNaN(re._d.getTime())&&Ae.overflow<0&&!Ae.empty&&!Ae.invalidEra&&!Ae.invalidMonth&&!Ae.invalidWeekday&&!Ae.weekdayMismatch&&!Ae.nullInput&&!Ae.invalidFormat&&!Ae.userInvalidated&&(!Ae.meridiem||Ae.meridiem&&ct);if(re._strict&&(wt=wt&&Ae.charsLeftOver===0&&Ae.unusedTokens.length===0&&Ae.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(re))re._isValid=wt;else return wt}return re._isValid}function X(re){var Ae=F(NaN);return re!=null?N(U(Ae),re):U(Ae).userInvalidated=!0,Ae}var ee=C.momentProperties=[],ie=!1;function G(re,Ae){var ct,wt,an,jr=ee.length;if(x(Ae._isAMomentObject)||(re._isAMomentObject=Ae._isAMomentObject),x(Ae._i)||(re._i=Ae._i),x(Ae._f)||(re._f=Ae._f),x(Ae._l)||(re._l=Ae._l),x(Ae._strict)||(re._strict=Ae._strict),x(Ae._tzm)||(re._tzm=Ae._tzm),x(Ae._isUTC)||(re._isUTC=Ae._isUTC),x(Ae._offset)||(re._offset=Ae._offset),x(Ae._pf)||(re._pf=U(Ae)),x(Ae._locale)||(re._locale=Ae._locale),jr>0)for(ct=0;ct<jr;ct++)wt=ee[ct],an=Ae[wt],x(an)||(re[wt]=an);return re}function Q(re){G(this,re),this._d=new Date(re._d!=null?re._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ie===!1&&(ie=!0,C.updateOffset(this),ie=!1)}function W(re){return re instanceof Q||re!=null&&re._isAMomentObject!=null}function ne(re){C.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+re)}function te(re,Ae){var ct=!0;return N(function(){if(C.deprecationHandler!=null&&C.deprecationHandler(null,re),ct){var wt=[],an,jr,Xa,fs=arguments.length;for(jr=0;jr<fs;jr++){if(an="",typeof arguments[jr]=="object"){an+=`
[`+jr+"] ";for(Xa in arguments[0])y(arguments[0],Xa)&&(an+=Xa+": "+arguments[0][Xa]+", ");an=an.slice(0,-2)}else an=arguments[jr];wt.push(an)}ne(re+`
Arguments: `+Array.prototype.slice.call(wt).join("")+`
`+new Error().stack),ct=!1}return Ae.apply(this,arguments)},Ae)}var _e={};function he(re,Ae){C.deprecationHandler!=null&&C.deprecationHandler(re,Ae),_e[re]||(ne(Ae),_e[re]=!0)}C.suppressDeprecationWarnings=!1,C.deprecationHandler=null;function oe(re){return typeof Function!="undefined"&&re instanceof Function||Object.prototype.toString.call(re)==="[object Function]"}function ge(re){var Ae,ct;for(ct in re)y(re,ct)&&(Ae=re[ct],oe(Ae)?this[ct]=Ae:this["_"+ct]=Ae);this._config=re,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function me(re,Ae){var ct=N({},re),wt;for(wt in Ae)y(Ae,wt)&&(S(re[wt])&&S(Ae[wt])?(ct[wt]={},N(ct[wt],re[wt]),N(ct[wt],Ae[wt])):Ae[wt]!=null?ct[wt]=Ae[wt]:delete ct[wt]);for(wt in re)y(re,wt)&&!y(Ae,wt)&&S(re[wt])&&(ct[wt]=N({},ct[wt]));return ct}function Z(re){re!=null&&this.set(re)}var xe;Object.keys?xe=Object.keys:xe=function(Ae){var ct,wt=[];for(ct in Ae)y(Ae,ct)&&wt.push(ct);return wt};var Ee={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Le(re,Ae,ct){var wt=this._calendar[re]||this._calendar.sameElse;return oe(wt)?wt.call(Ae,ct):wt}function we(re,Ae,ct){var wt=""+Math.abs(re),an=Ae-wt.length,jr=re>=0;return(jr?ct?"+":"":"-")+Math.pow(10,Math.max(0,an)).toString().substr(1)+wt}var fe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ke={},Me={};function ze(re,Ae,ct,wt){var an=wt;typeof wt=="string"&&(an=function(){return this[wt]()}),re&&(Me[re]=an),Ae&&(Me[Ae[0]]=function(){return we(an.apply(this,arguments),Ae[1],Ae[2])}),ct&&(Me[ct]=function(){return this.localeData().ordinal(an.apply(this,arguments),re)})}function Ue(re){return re.match(/\[[\s\S]/)?re.replace(/^\[|\]$/g,""):re.replace(/\\/g,"")}function He(re){var Ae=re.match(fe),ct,wt;for(ct=0,wt=Ae.length;ct<wt;ct++)Me[Ae[ct]]?Ae[ct]=Me[Ae[ct]]:Ae[ct]=Ue(Ae[ct]);return function(an){var jr="",Xa;for(Xa=0;Xa<wt;Xa++)jr+=oe(Ae[Xa])?Ae[Xa].call(an,re):Ae[Xa];return jr}}function Ne(re,Ae){return re.isValid()?(Ae=it(Ae,re.localeData()),Ke[Ae]=Ke[Ae]||He(Ae),Ke[Ae](re)):re.localeData().invalidDate()}function it(re,Ae){var ct=5;function wt(an){return Ae.longDateFormat(an)||an}for(pe.lastIndex=0;ct>=0&&pe.test(re);)re=re.replace(pe,wt),pe.lastIndex=0,ct-=1;return re}var Xe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ht(re){var Ae=this._longDateFormat[re],ct=this._longDateFormat[re.toUpperCase()];return Ae||!ct?Ae:(this._longDateFormat[re]=ct.match(fe).map(function(wt){return wt==="MMMM"||wt==="MM"||wt==="DD"||wt==="dddd"?wt.slice(1):wt}).join(""),this._longDateFormat[re])}var lt="Invalid date";function Et(){return this._invalidDate}var tt="%d",mt=/\d{1,2}/;function xt(re){return this._ordinal.replace("%d",re)}var Xt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function vt(re,Ae,ct,wt){var an=this._relativeTime[ct];return oe(an)?an(re,Ae,ct,wt):an.replace(/%d/i,re)}function qe(re,Ae){var ct=this._relativeTime[re>0?"future":"past"];return oe(ct)?ct(Ae):ct.replace(/%s/i,Ae)}var Re={};function Se(re,Ae){var ct=re.toLowerCase();Re[ct]=Re[ct+"s"]=Re[Ae]=re}function Ve(re){return typeof re=="string"?Re[re]||Re[re.toLowerCase()]:void 0}function Ge(re){var Ae={},ct,wt;for(wt in re)y(re,wt)&&(ct=Ve(wt),ct&&(Ae[ct]=re[wt]));return Ae}var _t={};function bt(re,Ae){_t[re]=Ae}function gt(re){var Ae=[],ct;for(ct in re)y(re,ct)&&Ae.push({unit:ct,priority:_t[ct]});return Ae.sort(function(wt,an){return wt.priority-an.priority}),Ae}function at(re){return re%4==0&&re%100!=0||re%400==0}function ft(re){return re<0?Math.ceil(re)||0:Math.floor(re)}function Fe(re){var Ae=+re,ct=0;return Ae!==0&&isFinite(Ae)&&(ct=ft(Ae)),ct}function Te(re,Ae){return function(ct){return ct!=null?(le(this,re,ct),C.updateOffset(this,Ae),this):ut(this,re)}}function ut(re,Ae){return re.isValid()?re._d["get"+(re._isUTC?"UTC":"")+Ae]():NaN}function le(re,Ae,ct){re.isValid()&&!isNaN(ct)&&(Ae==="FullYear"&&at(re.year())&&re.month()===1&&re.date()===29?(ct=Fe(ct),re._d["set"+(re._isUTC?"UTC":"")+Ae](ct,re.month(),rr(ct,re.month()))):re._d["set"+(re._isUTC?"UTC":"")+Ae](ct))}function $e(re){return re=Ve(re),oe(this[re])?this[re]():this}function Qe(re,Ae){if(typeof re=="object"){re=Ge(re);var ct=gt(re),wt,an=ct.length;for(wt=0;wt<an;wt++)this[ct[wt].unit](re[ct[wt].unit])}else if(re=Ve(re),oe(this[re]))return this[re](Ae);return this}var Tt=/\d/,Ot=/\d\d/,Ut=/\d{3}/,At=/\d{4}/,Pt=/[+-]?\d{6}/,Dt=/\d\d?/,Qt=/\d\d\d\d?/,cn=/\d\d\d\d\d\d?/,$n=/\d{1,3}/,hn=/\d{1,4}/,_n=/[+-]?\d{1,6}/,bn=/\d+/,Bn=/[+-]?\d+/,Tn=/Z|[+-]\d\d:?\d\d/gi,Tr=/Z|[+-]\d\d(?::?\d\d)?/gi,Sr=/[+-]?\d+(\.\d{1,3})?/,Wr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,br;br={};function Wn(re,Ae,ct){br[re]=oe(Ae)?Ae:function(wt,an){return wt&&ct?ct:Ae}}function gr(re,Ae){return y(br,re)?br[re](Ae._strict,Ae._locale):new RegExp(na(re))}function na(re){return jn(re.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(Ae,ct,wt,an,jr){return ct||wt||an||jr}))}function jn(re){return re.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var un={};function zt(re,Ae){var ct,wt=Ae,an;for(typeof re=="string"&&(re=[re]),T(Ae)&&(wt=function(Xa,fs){fs[Ae]=Fe(Xa)}),an=re.length,ct=0;ct<an;ct++)un[re[ct]]=wt}function Bt(re,Ae){zt(re,function(ct,wt,an,jr){an._w=an._w||{},Ae(ct,an._w,an,jr)})}function H(re,Ae,ct){Ae!=null&&y(un,re)&&un[re](Ae,ct._a,ct,re)}var ot=0,nt=1,Ct=2,Wt=3,kn=4,Sn=5,Zn=6,Or=7,Yn=8;function Nn(re,Ae){return(re%Ae+Ae)%Ae}var Zt;Array.prototype.indexOf?Zt=Array.prototype.indexOf:Zt=function(Ae){var ct;for(ct=0;ct<this.length;++ct)if(this[ct]===Ae)return ct;return-1};function rr(re,Ae){if(isNaN(re)||isNaN(Ae))return NaN;var ct=Nn(Ae,12);return re+=(Ae-ct)/12,ct===1?at(re)?29:28:31-ct%7%2}ze("M",["MM",2],"Mo",function(){return this.month()+1}),ze("MMM",0,0,function(re){return this.localeData().monthsShort(this,re)}),ze("MMMM",0,0,function(re){return this.localeData().months(this,re)}),Se("month","M"),bt("month",8),Wn("M",Dt),Wn("MM",Dt,Ot),Wn("MMM",function(re,Ae){return Ae.monthsShortRegex(re)}),Wn("MMMM",function(re,Ae){return Ae.monthsRegex(re)}),zt(["M","MM"],function(re,Ae){Ae[nt]=Fe(re)-1}),zt(["MMM","MMMM"],function(re,Ae,ct,wt){var an=ct._locale.monthsParse(re,wt,ct._strict);an!=null?Ae[nt]=an:U(ct).invalidMonth=re});var Gn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ln="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Xn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kn=Wr,fr=Wr;function Hn(re,Ae){return re?A(this._months)?this._months[re.month()]:this._months[(this._months.isFormat||Xn).test(Ae)?"format":"standalone"][re.month()]:A(this._months)?this._months:this._months.standalone}function Sa(re,Ae){return re?A(this._monthsShort)?this._monthsShort[re.month()]:this._monthsShort[Xn.test(Ae)?"format":"standalone"][re.month()]:A(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Lr(re,Ae,ct){var wt,an,jr,Xa=re.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],wt=0;wt<12;++wt)jr=F([2e3,wt]),this._shortMonthsParse[wt]=this.monthsShort(jr,"").toLocaleLowerCase(),this._longMonthsParse[wt]=this.months(jr,"").toLocaleLowerCase();return ct?Ae==="MMM"?(an=Zt.call(this._shortMonthsParse,Xa),an!==-1?an:null):(an=Zt.call(this._longMonthsParse,Xa),an!==-1?an:null):Ae==="MMM"?(an=Zt.call(this._shortMonthsParse,Xa),an!==-1?an:(an=Zt.call(this._longMonthsParse,Xa),an!==-1?an:null)):(an=Zt.call(this._longMonthsParse,Xa),an!==-1?an:(an=Zt.call(this._shortMonthsParse,Xa),an!==-1?an:null))}function Ca(re,Ae,ct){var wt,an,jr;if(this._monthsParseExact)return Lr.call(this,re,Ae,ct);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),wt=0;wt<12;wt++){if(an=F([2e3,wt]),ct&&!this._longMonthsParse[wt]&&(this._longMonthsParse[wt]=new RegExp("^"+this.months(an,"").replace(".","")+"$","i"),this._shortMonthsParse[wt]=new RegExp("^"+this.monthsShort(an,"").replace(".","")+"$","i")),!ct&&!this._monthsParse[wt]&&(jr="^"+this.months(an,"")+"|^"+this.monthsShort(an,""),this._monthsParse[wt]=new RegExp(jr.replace(".",""),"i")),ct&&Ae==="MMMM"&&this._longMonthsParse[wt].test(re))return wt;if(ct&&Ae==="MMM"&&this._shortMonthsParse[wt].test(re))return wt;if(!ct&&this._monthsParse[wt].test(re))return wt}}function za(re,Ae){var ct;if(!re.isValid())return re;if(typeof Ae=="string"){if(/^\d+$/.test(Ae))Ae=Fe(Ae);else if(Ae=re.localeData().monthsParse(Ae),!T(Ae))return re}return ct=Math.min(re.date(),rr(re.year(),Ae)),re._d["set"+(re._isUTC?"UTC":"")+"Month"](Ae,ct),re}function Ma(re){return re!=null?(za(this,re),C.updateOffset(this,!0),this):ut(this,"Month")}function va(){return rr(this.year(),this.month())}function qa(re){return this._monthsParseExact?(y(this,"_monthsRegex")||Qi.call(this),re?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Kn),this._monthsShortStrictRegex&&re?this._monthsShortStrictRegex:this._monthsShortRegex)}function gi(re){return this._monthsParseExact?(y(this,"_monthsRegex")||Qi.call(this),re?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=fr),this._monthsStrictRegex&&re?this._monthsStrictRegex:this._monthsRegex)}function Qi(){function re(Xa,fs){return fs.length-Xa.length}var Ae=[],ct=[],wt=[],an,jr;for(an=0;an<12;an++)jr=F([2e3,an]),Ae.push(this.monthsShort(jr,"")),ct.push(this.months(jr,"")),wt.push(this.months(jr,"")),wt.push(this.monthsShort(jr,""));for(Ae.sort(re),ct.sort(re),wt.sort(re),an=0;an<12;an++)Ae[an]=jn(Ae[an]),ct[an]=jn(ct[an]);for(an=0;an<24;an++)wt[an]=jn(wt[an]);this._monthsRegex=new RegExp("^("+wt.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+ct.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+Ae.join("|")+")","i")}ze("Y",0,0,function(){var re=this.year();return re<=9999?we(re,4):"+"+re}),ze(0,["YY",2],0,function(){return this.year()%100}),ze(0,["YYYY",4],0,"year"),ze(0,["YYYYY",5],0,"year"),ze(0,["YYYYYY",6,!0],0,"year"),Se("year","y"),bt("year",1),Wn("Y",Bn),Wn("YY",Dt,Ot),Wn("YYYY",hn,At),Wn("YYYYY",_n,Pt),Wn("YYYYYY",_n,Pt),zt(["YYYYY","YYYYYY"],ot),zt("YYYY",function(re,Ae){Ae[ot]=re.length===2?C.parseTwoDigitYear(re):Fe(re)}),zt("YY",function(re,Ae){Ae[ot]=C.parseTwoDigitYear(re)}),zt("Y",function(re,Ae){Ae[ot]=parseInt(re,10)});function mi(re){return at(re)?366:365}C.parseTwoDigitYear=function(re){return Fe(re)+(Fe(re)>68?1900:2e3)};var Cr=Te("FullYear",!0);function Un(){return at(this.year())}function Lt(re,Ae,ct,wt,an,jr,Xa){var fs;return re<100&&re>=0?(fs=new Date(re+400,Ae,ct,wt,an,jr,Xa),isFinite(fs.getFullYear())&&fs.setFullYear(re)):fs=new Date(re,Ae,ct,wt,an,jr,Xa),fs}function gn(re){var Ae,ct;return re<100&&re>=0?(ct=Array.prototype.slice.call(arguments),ct[0]=re+400,Ae=new Date(Date.UTC.apply(null,ct)),isFinite(Ae.getUTCFullYear())&&Ae.setUTCFullYear(re)):Ae=new Date(Date.UTC.apply(null,arguments)),Ae}function Ln(re,Ae,ct){var wt=7+Ae-ct,an=(7+gn(re,0,wt).getUTCDay()-Ae)%7;return-an+wt-1}function kr(re,Ae,ct,wt,an){var jr=(7+ct-wt)%7,Xa=Ln(re,wt,an),fs=1+7*(Ae-1)+jr+Xa,Xs,Uc;return fs<=0?(Xs=re-1,Uc=mi(Xs)+fs):fs>mi(re)?(Xs=re+1,Uc=fs-mi(re)):(Xs=re,Uc=fs),{year:Xs,dayOfYear:Uc}}function ea(re,Ae,ct){var wt=Ln(re.year(),Ae,ct),an=Math.floor((re.dayOfYear()-wt-1)/7)+1,jr,Xa;return an<1?(Xa=re.year()-1,jr=an+Qr(Xa,Ae,ct)):an>Qr(re.year(),Ae,ct)?(jr=an-Qr(re.year(),Ae,ct),Xa=re.year()+1):(Xa=re.year(),jr=an),{week:jr,year:Xa}}function Qr(re,Ae,ct){var wt=Ln(re,Ae,ct),an=Ln(re+1,Ae,ct);return(mi(re)-wt+an)/7}ze("w",["ww",2],"wo","week"),ze("W",["WW",2],"Wo","isoWeek"),Se("week","w"),Se("isoWeek","W"),bt("week",5),bt("isoWeek",5),Wn("w",Dt),Wn("ww",Dt,Ot),Wn("W",Dt),Wn("WW",Dt,Ot),Bt(["w","ww","W","WW"],function(re,Ae,ct,wt){Ae[wt.substr(0,1)]=Fe(re)});function Na(re){return ea(re,this._week.dow,this._week.doy).week}var ar={dow:0,doy:6};function pi(){return this._week.dow}function _i(){return this._week.doy}function ti(re){var Ae=this.localeData().week(this);return re==null?Ae:this.add((re-Ae)*7,"d")}function ui(re){var Ae=ea(this,1,4).week;return re==null?Ae:this.add((re-Ae)*7,"d")}ze("d",0,"do","day"),ze("dd",0,0,function(re){return this.localeData().weekdaysMin(this,re)}),ze("ddd",0,0,function(re){return this.localeData().weekdaysShort(this,re)}),ze("dddd",0,0,function(re){return this.localeData().weekdays(this,re)}),ze("e",0,0,"weekday"),ze("E",0,0,"isoWeekday"),Se("day","d"),Se("weekday","e"),Se("isoWeekday","E"),bt("day",11),bt("weekday",11),bt("isoWeekday",11),Wn("d",Dt),Wn("e",Dt),Wn("E",Dt),Wn("dd",function(re,Ae){return Ae.weekdaysMinRegex(re)}),Wn("ddd",function(re,Ae){return Ae.weekdaysShortRegex(re)}),Wn("dddd",function(re,Ae){return Ae.weekdaysRegex(re)}),Bt(["dd","ddd","dddd"],function(re,Ae,ct,wt){var an=ct._locale.weekdaysParse(re,wt,ct._strict);an!=null?Ae.d=an:U(ct).invalidWeekday=re}),Bt(["d","e","E"],function(re,Ae,ct,wt){Ae[wt]=Fe(re)});function Ri(re,Ae){return typeof re!="string"?re:isNaN(re)?(re=Ae.weekdaysParse(re),typeof re=="number"?re:null):parseInt(re,10)}function ao(re,Ae){return typeof re=="string"?Ae.weekdaysParse(re)%7||7:isNaN(re)?null:re}function Zi(re,Ae){return re.slice(Ae,7).concat(re.slice(0,Ae))}var Fi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Si="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eo=Wr,xo=Wr,cs=Wr;function ba(re,Ae){var ct=A(this._weekdays)?this._weekdays:this._weekdays[re&&re!==!0&&this._weekdays.isFormat.test(Ae)?"format":"standalone"];return re===!0?Zi(ct,this._week.dow):re?ct[re.day()]:ct}function sa(re){return re===!0?Zi(this._weekdaysShort,this._week.dow):re?this._weekdaysShort[re.day()]:this._weekdaysShort}function Da(re){return re===!0?Zi(this._weekdaysMin,this._week.dow):re?this._weekdaysMin[re.day()]:this._weekdaysMin}function On(re,Ae,ct){var wt,an,jr,Xa=re.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],wt=0;wt<7;++wt)jr=F([2e3,1]).day(wt),this._minWeekdaysParse[wt]=this.weekdaysMin(jr,"").toLocaleLowerCase(),this._shortWeekdaysParse[wt]=this.weekdaysShort(jr,"").toLocaleLowerCase(),this._weekdaysParse[wt]=this.weekdays(jr,"").toLocaleLowerCase();return ct?Ae==="dddd"?(an=Zt.call(this._weekdaysParse,Xa),an!==-1?an:null):Ae==="ddd"?(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1?an:null):(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1?an:null):Ae==="dddd"?(an=Zt.call(this._weekdaysParse,Xa),an!==-1||(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1)?an:(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1?an:null)):Ae==="ddd"?(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1||(an=Zt.call(this._weekdaysParse,Xa),an!==-1)?an:(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1?an:null)):(an=Zt.call(this._minWeekdaysParse,Xa),an!==-1||(an=Zt.call(this._weekdaysParse,Xa),an!==-1)?an:(an=Zt.call(this._shortWeekdaysParse,Xa),an!==-1?an:null))}function xn(re,Ae,ct){var wt,an,jr;if(this._weekdaysParseExact)return On.call(this,re,Ae,ct);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),wt=0;wt<7;wt++){if(an=F([2e3,1]).day(wt),ct&&!this._fullWeekdaysParse[wt]&&(this._fullWeekdaysParse[wt]=new RegExp("^"+this.weekdays(an,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[wt]=new RegExp("^"+this.weekdaysShort(an,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[wt]=new RegExp("^"+this.weekdaysMin(an,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[wt]||(jr="^"+this.weekdays(an,"")+"|^"+this.weekdaysShort(an,"")+"|^"+this.weekdaysMin(an,""),this._weekdaysParse[wt]=new RegExp(jr.replace(".",""),"i")),ct&&Ae==="dddd"&&this._fullWeekdaysParse[wt].test(re))return wt;if(ct&&Ae==="ddd"&&this._shortWeekdaysParse[wt].test(re))return wt;if(ct&&Ae==="dd"&&this._minWeekdaysParse[wt].test(re))return wt;if(!ct&&this._weekdaysParse[wt].test(re))return wt}}function Rt(re){if(!this.isValid())return re!=null?this:NaN;var Ae=this._isUTC?this._d.getUTCDay():this._d.getDay();return re!=null?(re=Ri(re,this.localeData()),this.add(re-Ae,"d")):Ae}function mr(re){if(!this.isValid())return re!=null?this:NaN;var Ae=(this.day()+7-this.localeData()._week.dow)%7;return re==null?Ae:this.add(re-Ae,"d")}function ta(re){if(!this.isValid())return re!=null?this:NaN;if(re!=null){var Ae=ao(re,this.localeData());return this.day(this.day()%7?Ae:Ae-7)}else return this.day()||7}function ma(re){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kr.call(this),re?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=eo),this._weekdaysStrictRegex&&re?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oa(re){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kr.call(this),re?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xo),this._weekdaysShortStrictRegex&&re?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pn(re){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Kr.call(this),re?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=cs),this._weekdaysMinStrictRegex&&re?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kr(){function re(zl,Bu){return Bu.length-zl.length}var Ae=[],ct=[],wt=[],an=[],jr,Xa,fs,Xs,Uc;for(jr=0;jr<7;jr++)Xa=F([2e3,1]).day(jr),fs=jn(this.weekdaysMin(Xa,"")),Xs=jn(this.weekdaysShort(Xa,"")),Uc=jn(this.weekdays(Xa,"")),Ae.push(fs),ct.push(Xs),wt.push(Uc),an.push(fs),an.push(Xs),an.push(Uc);Ae.sort(re),ct.sort(re),wt.sort(re),an.sort(re),this._weekdaysRegex=new RegExp("^("+an.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+wt.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ct.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Ae.join("|")+")","i")}function Vn(){return this.hours()%12||12}function tr(){return this.hours()||24}ze("H",["HH",2],0,"hour"),ze("h",["hh",2],0,Vn),ze("k",["kk",2],0,tr),ze("hmm",0,0,function(){return""+Vn.apply(this)+we(this.minutes(),2)}),ze("hmmss",0,0,function(){return""+Vn.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),ze("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),ze("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)});function Ea(re,Ae){ze(re,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),Ae)})}Ea("a",!0),Ea("A",!1),Se("hour","h"),bt("hour",13);function Ja(re,Ae){return Ae._meridiemParse}Wn("a",Ja),Wn("A",Ja),Wn("H",Dt),Wn("h",Dt),Wn("k",Dt),Wn("HH",Dt,Ot),Wn("hh",Dt,Ot),Wn("kk",Dt,Ot),Wn("hmm",Qt),Wn("hmmss",cn),Wn("Hmm",Qt),Wn("Hmmss",cn),zt(["H","HH"],Wt),zt(["k","kk"],function(re,Ae,ct){var wt=Fe(re);Ae[Wt]=wt===24?0:wt}),zt(["a","A"],function(re,Ae,ct){ct._isPm=ct._locale.isPM(re),ct._meridiem=re}),zt(["h","hh"],function(re,Ae,ct){Ae[Wt]=Fe(re),U(ct).bigHour=!0}),zt("hmm",function(re,Ae,ct){var wt=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt)),U(ct).bigHour=!0}),zt("hmmss",function(re,Ae,ct){var wt=re.length-4,an=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt,2)),Ae[Sn]=Fe(re.substr(an)),U(ct).bigHour=!0}),zt("Hmm",function(re,Ae,ct){var wt=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt))}),zt("Hmmss",function(re,Ae,ct){var wt=re.length-4,an=re.length-2;Ae[Wt]=Fe(re.substr(0,wt)),Ae[kn]=Fe(re.substr(wt,2)),Ae[Sn]=Fe(re.substr(an))});function go(re){return(re+"").toLowerCase().charAt(0)==="p"}var fi=/[ap]\.?m?\.?/i,lo=Te("Hours",!0);function Oi(re,Ae,ct){return re>11?ct?"pm":"PM":ct?"am":"AM"}var io={calendar:Ee,longDateFormat:Xe,invalidDate:lt,ordinal:tt,dayOfMonthOrdinalParse:mt,relativeTime:Xt,months:Gn,monthsShort:ln,week:ar,weekdays:Fi,weekdaysMin:qi,weekdaysShort:Si,meridiemParse:fi},Vi={},vo={},qo;function hs(re,Ae){var ct,wt=Math.min(re.length,Ae.length);for(ct=0;ct<wt;ct+=1)if(re[ct]!==Ae[ct])return ct;return wt}function $t(re){return re&&re.toLowerCase().replace("_","-")}function rt(re){for(var Ae=0,ct,wt,an,jr;Ae<re.length;){for(jr=$t(re[Ae]).split("-"),ct=jr.length,wt=$t(re[Ae+1]),wt=wt?wt.split("-"):null;ct>0;){if(an=tn(jr.slice(0,ct).join("-")),an)return an;if(wt&&wt.length>=ct&&hs(jr,wt)>=ct-1)break;ct--}Ae++}return qo}function Vt(re){return re.match("^[^/\\\\]*$")!=null}function tn(re){var Ae=null,ct;if(Vi[re]===void 0&&typeof E!="undefined"&&E&&E.exports&&Vt(re))try{Ae=qo._abbr,ct=m,function(){var an=new Error("Cannot find module 'undefined'");throw an.code="MODULE_NOT_FOUND",an}(),wn(Ae)}catch(wt){Vi[re]=null}return Vi[re]}function wn(re,Ae){var ct;return re&&(x(Ae)?ct=xr(re):ct=qn(re,Ae),ct?qo=ct:typeof console!="undefined"&&console.warn&&console.warn("Locale "+re+" not found. Did you forget to load it?")),qo._abbr}function qn(re,Ae){if(Ae!==null){var ct,wt=io;if(Ae.abbr=re,Vi[re]!=null)he("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),wt=Vi[re]._config;else if(Ae.parentLocale!=null)if(Vi[Ae.parentLocale]!=null)wt=Vi[Ae.parentLocale]._config;else if(ct=tn(Ae.parentLocale),ct!=null)wt=ct._config;else return vo[Ae.parentLocale]||(vo[Ae.parentLocale]=[]),vo[Ae.parentLocale].push({name:re,config:Ae}),null;return Vi[re]=new Z(me(wt,Ae)),vo[re]&&vo[re].forEach(function(an){qn(an.name,an.config)}),wn(re),Vi[re]}else return delete Vi[re],null}function zn(re,Ae){if(Ae!=null){var ct,wt,an=io;Vi[re]!=null&&Vi[re].parentLocale!=null?Vi[re].set(me(Vi[re]._config,Ae)):(wt=tn(re),wt!=null&&(an=wt._config),Ae=me(an,Ae),wt==null&&(Ae.abbr=re),ct=new Z(Ae),ct.parentLocale=Vi[re],Vi[re]=ct),wn(re)}else Vi[re]!=null&&(Vi[re].parentLocale!=null?(Vi[re]=Vi[re].parentLocale,re===wn()&&wn(re)):Vi[re]!=null&&delete Vi[re]);return Vi[re]}function xr(re){var Ae;if(re&&re._locale&&re._locale._abbr&&(re=re._locale._abbr),!re)return qo;if(!A(re)){if(Ae=tn(re),Ae)return Ae;re=[re]}return rt(re)}function da(){return xe(Vi)}function en(re){var Ae,ct=re._a;return ct&&U(re).overflow===-2&&(Ae=ct[nt]<0||ct[nt]>11?nt:ct[Ct]<1||ct[Ct]>rr(ct[ot],ct[nt])?Ct:ct[Wt]<0||ct[Wt]>24||ct[Wt]===24&&(ct[kn]!==0||ct[Sn]!==0||ct[Zn]!==0)?Wt:ct[kn]<0||ct[kn]>59?kn:ct[Sn]<0||ct[Sn]>59?Sn:ct[Zn]<0||ct[Zn]>999?Zn:-1,U(re)._overflowDayOfYear&&(Ae<ot||Ae>Ct)&&(Ae=Ct),U(re)._overflowWeeks&&Ae===-1&&(Ae=Or),U(re)._overflowWeekday&&Ae===-1&&(Ae=Yn),U(re).overflow=Ae),re}var Fn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ir=/Z|[+-]\d\d(?::?\d\d)?/,Gr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ga=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mr=/^\/?Date\((-?\d+)/i,$a=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ya={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function _o(re){var Ae,ct,wt=re._i,an=Fn.exec(wt)||Jn.exec(wt),jr,Xa,fs,Xs,Uc=Gr.length,zl=ga.length;if(an){for(U(re).iso=!0,Ae=0,ct=Uc;Ae<ct;Ae++)if(Gr[Ae][1].exec(an[1])){Xa=Gr[Ae][0],jr=Gr[Ae][2]!==!1;break}if(Xa==null){re._isValid=!1;return}if(an[3]){for(Ae=0,ct=zl;Ae<ct;Ae++)if(ga[Ae][1].exec(an[3])){fs=(an[2]||" ")+ga[Ae][0];break}if(fs==null){re._isValid=!1;return}}if(!jr&&fs!=null){re._isValid=!1;return}if(an[4])if(Ir.exec(an[4]))Xs="Z";else{re._isValid=!1;return}re._f=Xa+(fs||"")+(Xs||""),gs(re)}else re._isValid=!1}function Ni(re,Ae,ct,wt,an,jr){var Xa=[ec(re),ln.indexOf(Ae),parseInt(ct,10),parseInt(wt,10),parseInt(an,10)];return jr&&Xa.push(parseInt(jr,10)),Xa}function ec(re){var Ae=parseInt(re,10);return Ae<=49?2e3+Ae:Ae<=999?1900+Ae:Ae}function ks(re){return re.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jo(re,Ae,ct){if(re){var wt=Si.indexOf(re),an=new Date(Ae[0],Ae[1],Ae[2]).getDay();if(wt!==an)return U(ct).weekdayMismatch=!0,ct._isValid=!1,!1}return!0}function Qn(re,Ae,ct){if(re)return Ya[re];if(Ae)return 0;var wt=parseInt(ct,10),an=wt%100,jr=(wt-an)/100;return jr*60+an}function ka(re){var Ae=$a.exec(ks(re._i)),ct;if(Ae){if(ct=Ni(Ae[4],Ae[3],Ae[2],Ae[5],Ae[6],Ae[7]),!jo(Ae[1],ct,re))return;re._a=ct,re._tzm=Qn(Ae[8],Ae[9],Ae[10]),re._d=gn.apply(null,re._a),re._d.setUTCMinutes(re._d.getUTCMinutes()-re._tzm),U(re).rfc2822=!0}else re._isValid=!1}function Pa(re){var Ae=Mr.exec(re._i);if(Ae!==null){re._d=new Date(+Ae[1]);return}if(_o(re),re._isValid===!1)delete re._isValid;else return;if(ka(re),re._isValid===!1)delete re._isValid;else return;re._strict?re._isValid=!1:C.createFromInputFallback(re)}C.createFromInputFallback=te("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(re){re._d=new Date(re._i+(re._useUTC?" UTC":""))});function Qa(re,Ae,ct){return re!=null?re:Ae!=null?Ae:ct}function Ei(re){var Ae=new Date(C.now());return re._useUTC?[Ae.getUTCFullYear(),Ae.getUTCMonth(),Ae.getUTCDate()]:[Ae.getFullYear(),Ae.getMonth(),Ae.getDate()]}function zo(re){var Ae,ct,wt=[],an,jr,Xa;if(!re._d){for(an=Ei(re),re._w&&re._a[Ct]==null&&re._a[nt]==null&&fo(re),re._dayOfYear!=null&&(Xa=Qa(re._a[ot],an[ot]),(re._dayOfYear>mi(Xa)||re._dayOfYear===0)&&(U(re)._overflowDayOfYear=!0),ct=gn(Xa,0,re._dayOfYear),re._a[nt]=ct.getUTCMonth(),re._a[Ct]=ct.getUTCDate()),Ae=0;Ae<3&&re._a[Ae]==null;++Ae)re._a[Ae]=wt[Ae]=an[Ae];for(;Ae<7;Ae++)re._a[Ae]=wt[Ae]=re._a[Ae]==null?Ae===2?1:0:re._a[Ae];re._a[Wt]===24&&re._a[kn]===0&&re._a[Sn]===0&&re._a[Zn]===0&&(re._nextDay=!0,re._a[Wt]=0),re._d=(re._useUTC?gn:Lt).apply(null,wt),jr=re._useUTC?re._d.getUTCDay():re._d.getDay(),re._tzm!=null&&re._d.setUTCMinutes(re._d.getUTCMinutes()-re._tzm),re._nextDay&&(re._a[Wt]=24),re._w&&typeof re._w.d!="undefined"&&re._w.d!==jr&&(U(re).weekdayMismatch=!0)}}function fo(re){var Ae,ct,wt,an,jr,Xa,fs,Xs,Uc;Ae=re._w,Ae.GG!=null||Ae.W!=null||Ae.E!=null?(jr=1,Xa=4,ct=Qa(Ae.GG,re._a[ot],ea(Mo(),1,4).year),wt=Qa(Ae.W,1),an=Qa(Ae.E,1),(an<1||an>7)&&(Xs=!0)):(jr=re._locale._week.dow,Xa=re._locale._week.doy,Uc=ea(Mo(),jr,Xa),ct=Qa(Ae.gg,re._a[ot],Uc.year),wt=Qa(Ae.w,Uc.week),Ae.d!=null?(an=Ae.d,(an<0||an>6)&&(Xs=!0)):Ae.e!=null?(an=Ae.e+jr,(Ae.e<0||Ae.e>6)&&(Xs=!0)):an=jr),wt<1||wt>Qr(ct,jr,Xa)?U(re)._overflowWeeks=!0:Xs!=null?U(re)._overflowWeekday=!0:(fs=kr(ct,wt,an,jr,Xa),re._a[ot]=fs.year,re._dayOfYear=fs.dayOfYear)}C.ISO_8601=function(){},C.RFC_2822=function(){};function gs(re){if(re._f===C.ISO_8601){_o(re);return}if(re._f===C.RFC_2822){ka(re);return}re._a=[],U(re).empty=!0;var Ae=""+re._i,ct,wt,an,jr,Xa,fs=Ae.length,Xs=0,Uc,zl;for(an=it(re._f,re._locale).match(fe)||[],zl=an.length,ct=0;ct<zl;ct++)jr=an[ct],wt=(Ae.match(gr(jr,re))||[])[0],wt&&(Xa=Ae.substr(0,Ae.indexOf(wt)),Xa.length>0&&U(re).unusedInput.push(Xa),Ae=Ae.slice(Ae.indexOf(wt)+wt.length),Xs+=wt.length),Me[jr]?(wt?U(re).empty=!1:U(re).unusedTokens.push(jr),H(jr,wt,re)):re._strict&&!wt&&U(re).unusedTokens.push(jr);U(re).charsLeftOver=fs-Xs,Ae.length>0&&U(re).unusedInput.push(Ae),re._a[Wt]<=12&&U(re).bigHour===!0&&re._a[Wt]>0&&(U(re).bigHour=void 0),U(re).parsedDateParts=re._a.slice(0),U(re).meridiem=re._meridiem,re._a[Wt]=Ks(re._locale,re._a[Wt],re._meridiem),Uc=U(re).era,Uc!==null&&(re._a[ot]=re._locale.erasConvertYear(Uc,re._a[ot])),zo(re),en(re)}function Ks(re,Ae,ct){var wt;return ct==null?Ae:re.meridiemHour!=null?re.meridiemHour(Ae,ct):(re.isPM!=null&&(wt=re.isPM(ct),wt&&Ae<12&&(Ae+=12),!wt&&Ae===12&&(Ae=0)),Ae)}function pc(re){var Ae,ct,wt,an,jr,Xa,fs=!1,Xs=re._f.length;if(Xs===0){U(re).invalidFormat=!0,re._d=new Date(NaN);return}for(an=0;an<Xs;an++)jr=0,Xa=!1,Ae=G({},re),re._useUTC!=null&&(Ae._useUTC=re._useUTC),Ae._f=re._f[an],gs(Ae),$(Ae)&&(Xa=!0),jr+=U(Ae).charsLeftOver,jr+=U(Ae).unusedTokens.length*10,U(Ae).score=jr,fs?jr<wt&&(wt=jr,ct=Ae):(wt==null||jr<wt||Xa)&&(wt=jr,ct=Ae,Xa&&(fs=!0));N(re,ct||Ae)}function tc(re){if(!re._d){var Ae=Ge(re._i),ct=Ae.day===void 0?Ae.date:Ae.day;re._a=D([Ae.year,Ae.month,ct,Ae.hour,Ae.minute,Ae.second,Ae.millisecond],function(wt){return wt&&parseInt(wt,10)}),zo(re)}}function xc(re){var Ae=new Q(en(kc(re)));return Ae._nextDay&&(Ae.add(1,"d"),Ae._nextDay=void 0),Ae}function kc(re){var Ae=re._i,ct=re._f;return re._locale=re._locale||xr(re._l),Ae===null||ct===void 0&&Ae===""?X({nullInput:!0}):(typeof Ae=="string"&&(re._i=Ae=re._locale.preparse(Ae)),W(Ae)?new Q(en(Ae)):(j(Ae)?re._d=Ae:A(ct)?pc(re):ct?gs(re):Ss(re),$(re)||(re._d=null),re))}function Ss(re){var Ae=re._i;x(Ae)?re._d=new Date(C.now()):j(Ae)?re._d=new Date(Ae.valueOf()):typeof Ae=="string"?Pa(re):A(Ae)?(re._a=D(Ae.slice(0),function(ct){return parseInt(ct,10)}),zo(re)):S(Ae)?tc(re):T(Ae)?re._d=new Date(Ae):C.createFromInputFallback(re)}function Js(re,Ae,ct,wt,an){var jr={};return(Ae===!0||Ae===!1)&&(wt=Ae,Ae=void 0),(ct===!0||ct===!1)&&(wt=ct,ct=void 0),(S(re)&&w(re)||A(re)&&re.length===0)&&(re=void 0),jr._isAMomentObject=!0,jr._useUTC=jr._isUTC=an,jr._l=ct,jr._i=re,jr._f=Ae,jr._strict=wt,xc(jr)}function Mo(re,Ae,ct,wt){return Js(re,Ae,ct,wt,!1)}var js=te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var re=Mo.apply(null,arguments);return this.isValid()&&re.isValid()?re<this?this:re:X()}),Yc=te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var re=Mo.apply(null,arguments);return this.isValid()&&re.isValid()?re>this?this:re:X()});function gc(re,Ae){var ct,wt;if(Ae.length===1&&A(Ae[0])&&(Ae=Ae[0]),!Ae.length)return Mo();for(ct=Ae[0],wt=1;wt<Ae.length;++wt)(!Ae[wt].isValid()||Ae[wt][re](ct))&&(ct=Ae[wt]);return ct}function Cl(){var re=[].slice.call(arguments,0);return gc("isBefore",re)}function wl(){var re=[].slice.call(arguments,0);return gc("isAfter",re)}var Wc=function(){return Date.now?Date.now():+new Date},nl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rc(re){var Ae,ct=!1,wt,an=nl.length;for(Ae in re)if(y(re,Ae)&&!(Zt.call(nl,Ae)!==-1&&(re[Ae]==null||!isNaN(re[Ae]))))return!1;for(wt=0;wt<an;++wt)if(re[nl[wt]]){if(ct)return!1;parseFloat(re[nl[wt]])!==Fe(re[nl[wt]])&&(ct=!0)}return!0}function su(){return this._isValid}function Pl(){return ii(NaN)}function al(re){var Ae=Ge(re),ct=Ae.year||0,wt=Ae.quarter||0,an=Ae.month||0,jr=Ae.week||Ae.isoWeek||0,Xa=Ae.day||0,fs=Ae.hour||0,Xs=Ae.minute||0,Uc=Ae.second||0,zl=Ae.millisecond||0;this._isValid=Rc(Ae),this._milliseconds=+zl+Uc*1e3+Xs*6e4+fs*1e3*60*60,this._days=+Xa+jr*7,this._months=+an+wt*3+ct*12,this._data={},this._locale=xr(),this._bubble()}function Ml(re){return re instanceof al}function Tl(re){return re<0?Math.round(-1*re)*-1:Math.round(re)}function td(re,Ae,ct){var wt=Math.min(re.length,Ae.length),an=Math.abs(re.length-Ae.length),jr=0,Xa;for(Xa=0;Xa<wt;Xa++)(ct&&re[Xa]!==Ae[Xa]||!ct&&Fe(re[Xa])!==Fe(Ae[Xa]))&&jr++;return jr+an}function rl(re,Ae){ze(re,0,0,function(){var ct=this.utcOffset(),wt="+";return ct<0&&(ct=-ct,wt="-"),wt+we(~~(ct/60),2)+Ae+we(~~ct%60,2)})}rl("Z",":"),rl("ZZ",""),Wn("Z",Tr),Wn("ZZ",Tr),zt(["Z","ZZ"],function(re,Ae,ct){ct._useUTC=!0,ct._tzm=qt(Tr,re)});var dl=/([\+\-]|\d\d)/gi;function qt(re,Ae){var ct=(Ae||"").match(re),wt,an,jr;return ct===null?null:(wt=ct[ct.length-1]||[],an=(wt+"").match(dl)||["-",0,0],jr=+(an[1]*60)+Fe(an[2]),jr===0?0:an[0]==="+"?jr:-jr)}function nr(re,Ae){var ct,wt;return Ae._isUTC?(ct=Ae.clone(),wt=(W(re)||j(re)?re.valueOf():Mo(re).valueOf())-ct.valueOf(),ct._d.setTime(ct._d.valueOf()+wt),C.updateOffset(ct,!1),ct):Mo(re).local()}function Ur(re){return-Math.round(re._d.getTimezoneOffset())}C.updateOffset=function(){};function Yr(re,Ae,ct){var wt=this._offset||0,an;if(!this.isValid())return re!=null?this:NaN;if(re!=null){if(typeof re=="string"){if(re=qt(Tr,re),re===null)return this}else Math.abs(re)<16&&!ct&&(re=re*60);return!this._isUTC&&Ae&&(an=Ur(this)),this._offset=re,this._isUTC=!0,an!=null&&this.add(an,"m"),wt!==re&&(!Ae||this._changeInProgress?Ts(this,ii(re-wt,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,C.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?wt:Ur(this)}function ni(re,Ae){return re!=null?(typeof re!="string"&&(re=-re),this.utcOffset(re,Ae),this):-this.utcOffset()}function vi(re){return this.utcOffset(0,re)}function zr(re){return this._isUTC&&(this.utcOffset(0,re),this._isUTC=!1,re&&this.subtract(Ur(this),"m")),this}function wr(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var re=qt(Tn,this._i);re!=null?this.utcOffset(re):this.utcOffset(0,!0)}return this}function Ua(re){return this.isValid()?(re=re?Mo(re).utcOffset():0,(this.utcOffset()-re)%60==0):!1}function La(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nr(){if(!x(this._isDSTShifted))return this._isDSTShifted;var re={},Ae;return G(re,this),re=kc(re),re._a?(Ae=re._isUTC?F(re._a):Mo(re._a),this._isDSTShifted=this.isValid()&&td(re._a,Ae.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ua(){return this.isValid()?!this._isUTC:!1}function ra(){return this.isValid()?this._isUTC:!1}function ri(){return this.isValid()?this._isUTC&&this._offset===0:!1}var li=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,hi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ii(re,Ae){var ct=re,wt=null,an,jr,Xa;return Ml(re)?ct={ms:re._milliseconds,d:re._days,M:re._months}:T(re)||!isNaN(+re)?(ct={},Ae?ct[Ae]=+re:ct.milliseconds=+re):(wt=li.exec(re))?(an=wt[1]==="-"?-1:1,ct={y:0,d:Fe(wt[Ct])*an,h:Fe(wt[Wt])*an,m:Fe(wt[kn])*an,s:Fe(wt[Sn])*an,ms:Fe(Tl(wt[Zn]*1e3))*an}):(wt=hi.exec(re))?(an=wt[1]==="-"?-1:1,ct={y:Di(wt[2],an),M:Di(wt[3],an),w:Di(wt[4],an),d:Di(wt[5],an),h:Di(wt[6],an),m:Di(wt[7],an),s:Di(wt[8],an)}):ct==null?ct={}:typeof ct=="object"&&("from"in ct||"to"in ct)&&(Xa=ps(Mo(ct.from),Mo(ct.to)),ct={},ct.ms=Xa.milliseconds,ct.M=Xa.months),jr=new al(ct),Ml(re)&&y(re,"_locale")&&(jr._locale=re._locale),Ml(re)&&y(re,"_isValid")&&(jr._isValid=re._isValid),jr}ii.fn=al.prototype,ii.invalid=Pl;function Di(re,Ae){var ct=re&&parseFloat(re.replace(",","."));return(isNaN(ct)?0:ct)*Ae}function Xo(re,Ae){var ct={};return ct.months=Ae.month()-re.month()+(Ae.year()-re.year())*12,re.clone().add(ct.months,"M").isAfter(Ae)&&--ct.months,ct.milliseconds=+Ae-+re.clone().add(ct.months,"M"),ct}function ps(re,Ae){var ct;return re.isValid()&&Ae.isValid()?(Ae=nr(Ae,re),re.isBefore(Ae)?ct=Xo(re,Ae):(ct=Xo(Ae,re),ct.milliseconds=-ct.milliseconds,ct.months=-ct.months),ct):{milliseconds:0,months:0}}function mc(re,Ae){return function(ct,wt){var an,jr;return wt!==null&&!isNaN(+wt)&&(he(Ae,"moment()."+Ae+"(period, number) is deprecated. Please use moment()."+Ae+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),jr=ct,ct=wt,wt=jr),an=ii(ct,wt),Ts(this,an,re),this}}function Ts(re,Ae,ct,wt){var an=Ae._milliseconds,jr=Tl(Ae._days),Xa=Tl(Ae._months);!re.isValid()||(wt=wt==null?!0:wt,Xa&&za(re,ut(re,"Month")+Xa*ct),jr&&le(re,"Date",ut(re,"Date")+jr*ct),an&&re._d.setTime(re._d.valueOf()+an*ct),wt&&C.updateOffset(re,jr||Xa))}var Ar=mc(1,"add"),Gs=mc(-1,"subtract");function Nc(re){return typeof re=="string"||re instanceof String}function Jc(re){return W(re)||j(re)||Nc(re)||T(re)||Ro(re)||Fc(re)||re===null||re===void 0}function Fc(re){var Ae=S(re)&&!w(re),ct=!1,wt=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],an,jr,Xa=wt.length;for(an=0;an<Xa;an+=1)jr=wt[an],ct=ct||y(re,jr);return Ae&&ct}function Ro(re){var Ae=A(re),ct=!1;return Ae&&(ct=re.filter(function(wt){return!T(wt)&&Nc(re)}).length===0),Ae&&ct}function Dl(re){var Ae=S(re)&&!w(re),ct=!1,wt=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],an,jr;for(an=0;an<wt.length;an+=1)jr=wt[an],ct=ct||y(re,jr);return Ae&&ct}function Vl(re,Ae){var ct=re.diff(Ae,"days",!0);return ct<-6?"sameElse":ct<-1?"lastWeek":ct<0?"lastDay":ct<1?"sameDay":ct<2?"nextDay":ct<7?"nextWeek":"sameElse"}function hu(re,Ae){arguments.length===1&&(arguments[0]?Jc(arguments[0])?(re=arguments[0],Ae=void 0):Dl(arguments[0])&&(Ae=arguments[0],re=void 0):(re=void 0,Ae=void 0));var ct=re||Mo(),wt=nr(ct,this).startOf("day"),an=C.calendarFormat(this,wt)||"sameElse",jr=Ae&&(oe(Ae[an])?Ae[an].call(this,ct):Ae[an]);return this.format(jr||this.localeData().calendar(an,this,Mo(ct)))}function ru(){return new Q(this)}function pd(re,Ae){var ct=W(re)?re:Mo(re);return this.isValid()&&ct.isValid()?(Ae=Ve(Ae)||"millisecond",Ae==="millisecond"?this.valueOf()>ct.valueOf():ct.valueOf()<this.clone().startOf(Ae).valueOf()):!1}function ql(re,Ae){var ct=W(re)?re:Mo(re);return this.isValid()&&ct.isValid()?(Ae=Ve(Ae)||"millisecond",Ae==="millisecond"?this.valueOf()<ct.valueOf():this.clone().endOf(Ae).valueOf()<ct.valueOf()):!1}function Ru(re,Ae,ct,wt){var an=W(re)?re:Mo(re),jr=W(Ae)?Ae:Mo(Ae);return this.isValid()&&an.isValid()&&jr.isValid()?(wt=wt||"()",(wt[0]==="("?this.isAfter(an,ct):!this.isBefore(an,ct))&&(wt[1]===")"?this.isBefore(jr,ct):!this.isAfter(jr,ct))):!1}function Hl(re,Ae){var ct=W(re)?re:Mo(re),wt;return this.isValid()&&ct.isValid()?(Ae=Ve(Ae)||"millisecond",Ae==="millisecond"?this.valueOf()===ct.valueOf():(wt=ct.valueOf(),this.clone().startOf(Ae).valueOf()<=wt&&wt<=this.clone().endOf(Ae).valueOf())):!1}function fu(re,Ae){return this.isSame(re,Ae)||this.isAfter(re,Ae)}function nd(re,Ae){return this.isSame(re,Ae)||this.isBefore(re,Ae)}function bd(re,Ae,ct){var wt,an,jr;if(!this.isValid())return NaN;if(wt=nr(re,this),!wt.isValid())return NaN;switch(an=(wt.utcOffset()-this.utcOffset())*6e4,Ae=Ve(Ae),Ae){case"year":jr=ml(this,wt)/12;break;case"month":jr=ml(this,wt);break;case"quarter":jr=ml(this,wt)/3;break;case"second":jr=(this-wt)/1e3;break;case"minute":jr=(this-wt)/6e4;break;case"hour":jr=(this-wt)/36e5;break;case"day":jr=(this-wt-an)/864e5;break;case"week":jr=(this-wt-an)/6048e5;break;default:jr=this-wt}return ct?jr:ft(jr)}function ml(re,Ae){if(re.date()<Ae.date())return-ml(Ae,re);var ct=(Ae.year()-re.year())*12+(Ae.month()-re.month()),wt=re.clone().add(ct,"months"),an,jr;return Ae-wt<0?(an=re.clone().add(ct-1,"months"),jr=(Ae-wt)/(wt-an)):(an=re.clone().add(ct+1,"months"),jr=(Ae-wt)/(an-wt)),-(ct+jr)||0}C.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",C.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function os(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function wu(re){if(!this.isValid())return null;var Ae=re!==!0,ct=Ae?this.clone().utc():this;return ct.year()<0||ct.year()>9999?Ne(ct,Ae?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):oe(Date.prototype.toISOString)?Ae?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ne(ct,"Z")):Ne(ct,Ae?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function cd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var re="moment",Ae="",ct,wt,an,jr;return this.isLocal()||(re=this.utcOffset()===0?"moment.utc":"moment.parseZone",Ae="Z"),ct="["+re+'("]',wt=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",an="-MM-DD[T]HH:mm:ss.SSS",jr=Ae+'[")]',this.format(ct+wt+an+jr)}function Ud(re){re||(re=this.isUtc()?C.defaultFormatUtc:C.defaultFormat);var Ae=Ne(this,re);return this.localeData().postformat(Ae)}function Eu(re,Ae){return this.isValid()&&(W(re)&&re.isValid()||Mo(re).isValid())?ii({to:this,from:re}).locale(this.locale()).humanize(!Ae):this.localeData().invalidDate()}function El(re){return this.from(Mo(),re)}function eu(re,Ae){return this.isValid()&&(W(re)&&re.isValid()||Mo(re).isValid())?ii({from:this,to:re}).locale(this.locale()).humanize(!Ae):this.localeData().invalidDate()}function rd(re){return this.to(Mo(),re)}function yn(re){var Ae;return re===void 0?this._locale._abbr:(Ae=xr(re),Ae!=null&&(this._locale=Ae),this)}var Dr=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(re){return re===void 0?this.localeData():this.locale(re)});function Xr(){return this._locale}var Ta=1e3,Ra=60*Ta,wi=60*Ra,mo=(365*400+97)*24*wi;function Yi(re,Ae){return(re%Ae+Ae)%Ae}function Ji(re,Ae,ct){return re<100&&re>=0?new Date(re+400,Ae,ct)-mo:new Date(re,Ae,ct).valueOf()}function Vs(re,Ae,ct){return re<100&&re>=0?Date.UTC(re+400,Ae,ct)-mo:Date.UTC(re,Ae,ct)}function Jo(re){var Ae,ct;if(re=Ve(re),re===void 0||re==="millisecond"||!this.isValid())return this;switch(ct=this._isUTC?Vs:Ji,re){case"year":Ae=ct(this.year(),0,1);break;case"quarter":Ae=ct(this.year(),this.month()-this.month()%3,1);break;case"month":Ae=ct(this.year(),this.month(),1);break;case"week":Ae=ct(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":Ae=ct(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":Ae=ct(this.year(),this.month(),this.date());break;case"hour":Ae=this._d.valueOf(),Ae-=Yi(Ae+(this._isUTC?0:this.utcOffset()*Ra),wi);break;case"minute":Ae=this._d.valueOf(),Ae-=Yi(Ae,Ra);break;case"second":Ae=this._d.valueOf(),Ae-=Yi(Ae,Ta);break}return this._d.setTime(Ae),C.updateOffset(this,!0),this}function dn(re){var Ae,ct;if(re=Ve(re),re===void 0||re==="millisecond"||!this.isValid())return this;switch(ct=this._isUTC?Vs:Ji,re){case"year":Ae=ct(this.year()+1,0,1)-1;break;case"quarter":Ae=ct(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":Ae=ct(this.year(),this.month()+1,1)-1;break;case"week":Ae=ct(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":Ae=ct(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":Ae=ct(this.year(),this.month(),this.date()+1)-1;break;case"hour":Ae=this._d.valueOf(),Ae+=wi-Yi(Ae+(this._isUTC?0:this.utcOffset()*Ra),wi)-1;break;case"minute":Ae=this._d.valueOf(),Ae+=Ra-Yi(Ae,Ra)-1;break;case"second":Ae=this._d.valueOf(),Ae+=Ta-Yi(Ae,Ta)-1;break}return this._d.setTime(Ae),C.updateOffset(this,!0),this}function pn(){return this._d.valueOf()-(this._offset||0)*6e4}function sr(){return Math.floor(this.valueOf()/1e3)}function lr(){return new Date(this.valueOf())}function _a(){var re=this;return[re.year(),re.month(),re.date(),re.hour(),re.minute(),re.second(),re.millisecond()]}function Fa(){var re=this;return{years:re.year(),months:re.month(),date:re.date(),hours:re.hours(),minutes:re.minutes(),seconds:re.seconds(),milliseconds:re.milliseconds()}}function Va(){return this.isValid()?this.toISOString():null}function di(){return $(this)}function Ci(){return N({},U(this))}function wo(){return U(this).overflow}function ho(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ze("N",0,0,"eraAbbr"),ze("NN",0,0,"eraAbbr"),ze("NNN",0,0,"eraAbbr"),ze("NNNN",0,0,"eraName"),ze("NNNNN",0,0,"eraNarrow"),ze("y",["y",1],"yo","eraYear"),ze("y",["yy",2],0,"eraYear"),ze("y",["yyy",3],0,"eraYear"),ze("y",["yyyy",4],0,"eraYear"),Wn("N",Sc),Wn("NN",Sc),Wn("NNN",Sc),Wn("NNNN",Hs),Wn("NNNNN",bc),zt(["N","NN","NNN","NNNN","NNNNN"],function(re,Ae,ct,wt){var an=ct._locale.erasParse(re,wt,ct._strict);an?U(ct).era=an:U(ct).invalidEra=re}),Wn("y",bn),Wn("yy",bn),Wn("yyy",bn),Wn("yyyy",bn),Wn("yo",cr),zt(["y","yy","yyy","yyyy"],ot),zt(["yo"],function(re,Ae,ct,wt){var an;ct._locale._eraYearOrdinalRegex&&(an=re.match(ct._locale._eraYearOrdinalRegex)),ct._locale.eraYearOrdinalParse?Ae[ot]=ct._locale.eraYearOrdinalParse(re,an):Ae[ot]=parseInt(re,10)});function Io(re,Ae){var ct,wt,an,jr=this._eras||xr("en")._eras;for(ct=0,wt=jr.length;ct<wt;++ct){switch(typeof jr[ct].since){case"string":an=C(jr[ct].since).startOf("day"),jr[ct].since=an.valueOf();break}switch(typeof jr[ct].until){case"undefined":jr[ct].until=Infinity;break;case"string":an=C(jr[ct].until).startOf("day").valueOf(),jr[ct].until=an.valueOf();break}}return jr}function Fo(re,Ae,ct){var wt,an,jr=this.eras(),Xa,fs,Xs;for(re=re.toUpperCase(),wt=0,an=jr.length;wt<an;++wt)if(Xa=jr[wt].name.toUpperCase(),fs=jr[wt].abbr.toUpperCase(),Xs=jr[wt].narrow.toUpperCase(),ct)switch(Ae){case"N":case"NN":case"NNN":if(fs===re)return jr[wt];break;case"NNNN":if(Xa===re)return jr[wt];break;case"NNNNN":if(Xs===re)return jr[wt];break}else if([Xa,fs,Xs].indexOf(re)>=0)return jr[wt]}function xs(re,Ae){var ct=re.since<=re.until?1:-1;return Ae===void 0?C(re.since).year():C(re.since).year()+(Ae-re.offset)*ct}function ms(){var re,Ae,ct,wt=this.localeData().eras();for(re=0,Ae=wt.length;re<Ae;++re)if(ct=this.clone().startOf("day").valueOf(),wt[re].since<=ct&&ct<=wt[re].until||wt[re].until<=ct&&ct<=wt[re].since)return wt[re].name;return""}function ys(){var re,Ae,ct,wt=this.localeData().eras();for(re=0,Ae=wt.length;re<Ae;++re)if(ct=this.clone().startOf("day").valueOf(),wt[re].since<=ct&&ct<=wt[re].until||wt[re].until<=ct&&ct<=wt[re].since)return wt[re].narrow;return""}function bs(){var re,Ae,ct,wt=this.localeData().eras();for(re=0,Ae=wt.length;re<Ae;++re)if(ct=this.clone().startOf("day").valueOf(),wt[re].since<=ct&&ct<=wt[re].until||wt[re].until<=ct&&ct<=wt[re].since)return wt[re].abbr;return""}function Po(){var re,Ae,ct,wt,an=this.localeData().eras();for(re=0,Ae=an.length;re<Ae;++re)if(ct=an[re].since<=an[re].until?1:-1,wt=this.clone().startOf("day").valueOf(),an[re].since<=wt&&wt<=an[re].until||an[re].until<=wt&&wt<=an[re].since)return(this.year()-C(an[re].since).year())*ct+an[re].offset;return this.year()}function yr(re){return y(this,"_erasNameRegex")||qr.call(this),re?this._erasNameRegex:this._erasRegex}function Ls(re){return y(this,"_erasAbbrRegex")||qr.call(this),re?this._erasAbbrRegex:this._erasRegex}function Zs(re){return y(this,"_erasNarrowRegex")||qr.call(this),re?this._erasNarrowRegex:this._erasRegex}function Sc(re,Ae){return Ae.erasAbbrRegex(re)}function Hs(re,Ae){return Ae.erasNameRegex(re)}function bc(re,Ae){return Ae.erasNarrowRegex(re)}function cr(re,Ae){return Ae._eraYearOrdinalRegex||bn}function qr(){var re=[],Ae=[],ct=[],wt=[],an,jr,Xa=this.eras();for(an=0,jr=Xa.length;an<jr;++an)Ae.push(jn(Xa[an].name)),re.push(jn(Xa[an].abbr)),ct.push(jn(Xa[an].narrow)),wt.push(jn(Xa[an].name)),wt.push(jn(Xa[an].abbr)),wt.push(jn(Xa[an].narrow));this._erasRegex=new RegExp("^("+wt.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+Ae.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+re.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+ct.join("|")+")","i")}ze(0,["gg",2],0,function(){return this.weekYear()%100}),ze(0,["GG",2],0,function(){return this.isoWeekYear()%100});function yi(re,Ae){ze(0,[re,re.length],0,Ae)}yi("gggg","weekYear"),yi("ggggg","weekYear"),yi("GGGG","isoWeekYear"),yi("GGGGG","isoWeekYear"),Se("weekYear","gg"),Se("isoWeekYear","GG"),bt("weekYear",1),bt("isoWeekYear",1),Wn("G",Bn),Wn("g",Bn),Wn("GG",Dt,Ot),Wn("gg",Dt,Ot),Wn("GGGG",hn,At),Wn("gggg",hn,At),Wn("GGGGG",_n,Pt),Wn("ggggg",_n,Pt),Bt(["gggg","ggggg","GGGG","GGGGG"],function(re,Ae,ct,wt){Ae[wt.substr(0,2)]=Fe(re)}),Bt(["gg","GG"],function(re,Ae,ct,wt){Ae[wt]=C.parseTwoDigitYear(re)});function Ki(re){return Bc.call(this,re,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function uo(re){return Bc.call(this,re,this.isoWeek(),this.isoWeekday(),1,4)}function As(){return Qr(this.year(),1,4)}function zc(){return Qr(this.isoWeekYear(),1,4)}function cc(){var re=this.localeData()._week;return Qr(this.year(),re.dow,re.doy)}function fl(){var re=this.localeData()._week;return Qr(this.weekYear(),re.dow,re.doy)}function Bc(re,Ae,ct,wt,an){var jr;return re==null?ea(this,wt,an).year:(jr=Qr(re,wt,an),Ae>jr&&(Ae=jr),Gl.call(this,re,Ae,ct,wt,an))}function Gl(re,Ae,ct,wt,an){var jr=kr(re,Ae,ct,wt,an),Xa=gn(jr.year,0,jr.dayOfYear);return this.year(Xa.getUTCFullYear()),this.month(Xa.getUTCMonth()),this.date(Xa.getUTCDate()),this}ze("Q",0,"Qo","quarter"),Se("quarter","Q"),bt("quarter",7),Wn("Q",Tt),zt("Q",function(re,Ae){Ae[nt]=(Fe(re)-1)*3});function Fl(re){return re==null?Math.ceil((this.month()+1)/3):this.month((re-1)*3+this.month()%3)}ze("D",["DD",2],"Do","date"),Se("date","D"),bt("date",9),Wn("D",Dt),Wn("DD",Dt,Ot),Wn("Do",function(re,Ae){return re?Ae._dayOfMonthOrdinalParse||Ae._ordinalParse:Ae._dayOfMonthOrdinalParseLenient}),zt(["D","DD"],Ct),zt("Do",function(re,Ae){Ae[Ct]=Fe(re.match(Dt)[0])});var pl=Te("Date",!0);ze("DDD",["DDDD",3],"DDDo","dayOfYear"),Se("dayOfYear","DDD"),bt("dayOfYear",4),Wn("DDD",$n),Wn("DDDD",Ut),zt(["DDD","DDDD"],function(re,Ae,ct){ct._dayOfYear=Fe(re)});function gu(re){var Ae=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return re==null?Ae:this.add(re-Ae,"d")}ze("m",["mm",2],0,"minute"),Se("minute","m"),bt("minute",14),Wn("m",Dt),Wn("mm",Dt,Ot),zt(["m","mm"],kn);var bl=Te("Minutes",!1);ze("s",["ss",2],0,"second"),Se("second","s"),bt("second",15),Wn("s",Dt),Wn("ss",Dt,Ot),zt(["s","ss"],Sn);var tu=Te("Seconds",!1);ze("S",0,0,function(){return~~(this.millisecond()/100)}),ze(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ze(0,["SSS",3],0,"millisecond"),ze(0,["SSSS",4],0,function(){return this.millisecond()*10}),ze(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ze(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ze(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ze(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ze(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Se("millisecond","ms"),bt("millisecond",16),Wn("S",$n,Tt),Wn("SS",$n,Ot),Wn("SSS",$n,Ut);var hl,ju;for(hl="SSSS";hl.length<=9;hl+="S")Wn(hl,bn);function il(re,Ae){Ae[Zn]=Fe(("0."+re)*1e3)}for(hl="S";hl.length<=9;hl+="S")zt(hl,il);ju=Te("Milliseconds",!1),ze("z",0,0,"zoneAbbr"),ze("zz",0,0,"zoneName");function Mu(){return this._isUTC?"UTC":""}function ji(){return this._isUTC?"Coordinated Universal Time":""}var xa=Q.prototype;xa.add=Ar,xa.calendar=hu,xa.clone=ru,xa.diff=bd,xa.endOf=dn,xa.format=Ud,xa.from=Eu,xa.fromNow=El,xa.to=eu,xa.toNow=rd,xa.get=$e,xa.invalidAt=wo,xa.isAfter=pd,xa.isBefore=ql,xa.isBetween=Ru,xa.isSame=Hl,xa.isSameOrAfter=fu,xa.isSameOrBefore=nd,xa.isValid=di,xa.lang=Dr,xa.locale=yn,xa.localeData=Xr,xa.max=Yc,xa.min=js,xa.parsingFlags=Ci,xa.set=Qe,xa.startOf=Jo,xa.subtract=Gs,xa.toArray=_a,xa.toObject=Fa,xa.toDate=lr,xa.toISOString=wu,xa.inspect=cd,typeof Symbol!="undefined"&&Symbol.for!=null&&(xa[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),xa.toJSON=Va,xa.toString=os,xa.unix=sr,xa.valueOf=pn,xa.creationData=ho,xa.eraName=ms,xa.eraNarrow=ys,xa.eraAbbr=bs,xa.eraYear=Po,xa.year=Cr,xa.isLeapYear=Un,xa.weekYear=Ki,xa.isoWeekYear=uo,xa.quarter=xa.quarters=Fl,xa.month=Ma,xa.daysInMonth=va,xa.week=xa.weeks=ti,xa.isoWeek=xa.isoWeeks=ui,xa.weeksInYear=cc,xa.weeksInWeekYear=fl,xa.isoWeeksInYear=As,xa.isoWeeksInISOWeekYear=zc,xa.date=pl,xa.day=xa.days=Rt,xa.weekday=mr,xa.isoWeekday=ta,xa.dayOfYear=gu,xa.hour=xa.hours=lo,xa.minute=xa.minutes=bl,xa.second=xa.seconds=tu,xa.millisecond=xa.milliseconds=ju,xa.utcOffset=Yr,xa.utc=vi,xa.local=zr,xa.parseZone=wr,xa.hasAlignedHourOffset=Ua,xa.isDST=La,xa.isLocal=ua,xa.isUtcOffset=ra,xa.isUtc=ri,xa.isUTC=ri,xa.zoneAbbr=Mu,xa.zoneName=ji,xa.dates=te("dates accessor is deprecated. Use date instead.",pl),xa.months=te("months accessor is deprecated. Use month instead",Ma),xa.years=te("years accessor is deprecated. Use year instead",Cr),xa.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ni),xa.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nr);function as(re){return Mo(re*1e3)}function ws(){return Mo.apply(null,arguments).parseZone()}function Cs(re){return re}var $o=Z.prototype;$o.calendar=Le,$o.longDateFormat=ht,$o.invalidDate=Et,$o.ordinal=xt,$o.preparse=Cs,$o.postformat=Cs,$o.relativeTime=vt,$o.pastFuture=qe,$o.set=ge,$o.eras=Io,$o.erasParse=Fo,$o.erasConvertYear=xs,$o.erasAbbrRegex=Ls,$o.erasNameRegex=yr,$o.erasNarrowRegex=Zs,$o.months=Hn,$o.monthsShort=Sa,$o.monthsParse=Ca,$o.monthsRegex=gi,$o.monthsShortRegex=qa,$o.week=Na,$o.firstDayOfYear=_i,$o.firstDayOfWeek=pi,$o.weekdays=ba,$o.weekdaysMin=Da,$o.weekdaysShort=sa,$o.weekdaysParse=xn,$o.weekdaysRegex=ma,$o.weekdaysShortRegex=Oa,$o.weekdaysMinRegex=Pn,$o.isPM=go,$o.meridiem=Oi;function _c(re,Ae,ct,wt){var an=xr(),jr=F().set(wt,Ae);return an[ct](jr,re)}function Lc(re,Ae,ct){if(T(re)&&(Ae=re,re=void 0),re=re||"",Ae!=null)return _c(re,Ae,ct,"month");var wt,an=[];for(wt=0;wt<12;wt++)an[wt]=_c(re,wt,ct,"month");return an}function Rl(re,Ae,ct,wt){typeof re=="boolean"?(T(Ae)&&(ct=Ae,Ae=void 0),Ae=Ae||""):(Ae=re,ct=Ae,re=!1,T(Ae)&&(ct=Ae,Ae=void 0),Ae=Ae||"");var an=xr(),jr=re?an._week.dow:0,Xa,fs=[];if(ct!=null)return _c(Ae,(ct+jr)%7,wt,"day");for(Xa=0;Xa<7;Xa++)fs[Xa]=_c(Ae,(Xa+jr)%7,wt,"day");return fs}function Ol(re,Ae){return Lc(re,Ae,"months")}function cl(re,Ae){return Lc(re,Ae,"monthsShort")}function au(re,Ae,ct){return Rl(re,Ae,ct,"weekdays")}function Yu(re,Ae,ct){return Rl(re,Ae,ct,"weekdaysShort")}function Od(re,Ae,ct){return Rl(re,Ae,ct,"weekdaysMin")}wn("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(Ae){var ct=Ae%10,wt=Fe(Ae%100/10)===1?"th":ct===1?"st":ct===2?"nd":ct===3?"rd":"th";return Ae+wt}}),C.lang=te("moment.lang is deprecated. Use moment.locale instead.",wn),C.langData=te("moment.langData is deprecated. Use moment.localeData instead.",xr);var Lu=Math.abs;function Hd(){var re=this._data;return this._milliseconds=Lu(this._milliseconds),this._days=Lu(this._days),this._months=Lu(this._months),re.milliseconds=Lu(re.milliseconds),re.seconds=Lu(re.seconds),re.minutes=Lu(re.minutes),re.hours=Lu(re.hours),re.months=Lu(re.months),re.years=Lu(re.years),this}function af(re,Ae,ct,wt){var an=ii(Ae,ct);return re._milliseconds+=wt*an._milliseconds,re._days+=wt*an._days,re._months+=wt*an._months,re._bubble()}function Gd(re,Ae){return af(this,re,Ae,1)}function Nd(re,Ae){return af(this,re,Ae,-1)}function kd(re){return re<0?Math.floor(re):Math.ceil(re)}function xf(){var re=this._milliseconds,Ae=this._days,ct=this._months,wt=this._data,an,jr,Xa,fs,Xs;return re>=0&&Ae>=0&&ct>=0||re<=0&&Ae<=0&&ct<=0||(re+=kd(Fu(ct)+Ae)*864e5,Ae=0,ct=0),wt.milliseconds=re%1e3,an=ft(re/1e3),wt.seconds=an%60,jr=ft(an/60),wt.minutes=jr%60,Xa=ft(jr/60),wt.hours=Xa%24,Ae+=ft(Xa/24),Xs=ft(Bd(Ae)),ct+=Xs,Ae-=kd(Fu(Xs)),fs=ft(ct/12),ct%=12,wt.days=Ae,wt.months=ct,wt.years=fs,this}function Bd(re){return re*4800/146097}function Fu(re){return re*146097/4800}function xd(re){if(!this.isValid())return NaN;var Ae,ct,wt=this._milliseconds;if(re=Ve(re),re==="month"||re==="quarter"||re==="year")switch(Ae=this._days+wt/864e5,ct=this._months+Bd(Ae),re){case"month":return ct;case"quarter":return ct/3;case"year":return ct/12}else switch(Ae=this._days+Math.round(Fu(this._months)),re){case"week":return Ae/7+wt/6048e5;case"day":return Ae+wt/864e5;case"hour":return Ae*24+wt/36e5;case"minute":return Ae*1440+wt/6e4;case"second":return Ae*86400+wt/1e3;case"millisecond":return Math.floor(Ae*864e5)+wt;default:throw new Error("Unknown unit "+re)}}function of(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Fe(this._months/12)*31536e6:NaN}function ld(re){return function(){return this.as(re)}}var cu=ld("ms"),ll=ld("s"),ad=ld("m"),Xu=ld("h"),_s=ld("d"),jl=ld("w"),Uu=ld("M"),jd=ld("Q"),Sf=ld("y");function Af(){return ii(this)}function mf(re){return re=Ve(re),this.isValid()?this[re+"s"]():NaN}function Ld(re){return function(){return this.isValid()?this._data[re]:NaN}}var qd=Ld("milliseconds"),bu=Ld("seconds"),$d=Ld("minutes"),Ju=Ld("hours"),Jd=Ld("days"),Zo=Ld("months"),Vr=Ld("years");function Yo(){return ft(this.days()/7)}var Mi=Math.round,ds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function oc(re,Ae,ct,wt,an){return an.relativeTime(Ae||1,!!ct,re,wt)}function Il(re,Ae,ct,wt){var an=ii(re).abs(),jr=Mi(an.as("s")),Xa=Mi(an.as("m")),fs=Mi(an.as("h")),Xs=Mi(an.as("d")),Uc=Mi(an.as("M")),zl=Mi(an.as("w")),Bu=Mi(an.as("y")),ud=jr<=ct.ss&&["s",jr]||jr<ct.s&&["ss",jr]||Xa<=1&&["m"]||Xa<ct.m&&["mm",Xa]||fs<=1&&["h"]||fs<ct.h&&["hh",fs]||Xs<=1&&["d"]||Xs<ct.d&&["dd",Xs];return ct.w!=null&&(ud=ud||zl<=1&&["w"]||zl<ct.w&&["ww",zl]),ud=ud||Uc<=1&&["M"]||Uc<ct.M&&["MM",Uc]||Bu<=1&&["y"]||["yy",Bu],ud[2]=Ae,ud[3]=+re>0,ud[4]=wt,oc.apply(null,ud)}function pu(re){return re===void 0?Mi:typeof re=="function"?(Mi=re,!0):!1}function Nl(re,Ae){return ds[re]===void 0?!1:Ae===void 0?ds[re]:(ds[re]=Ae,re==="s"&&(ds.ss=Ae-1),!0)}function Du(re,Ae){if(!this.isValid())return this.localeData().invalidDate();var ct=!1,wt=ds,an,jr;return typeof re=="object"&&(Ae=re,re=!1),typeof re=="boolean"&&(ct=re),typeof Ae=="object"&&(wt=Object.assign({},ds,Ae),Ae.s!=null&&Ae.ss==null&&(wt.ss=Ae.s-1)),an=this.localeData(),jr=Il(this,!ct,wt,an),ct&&(jr=an.pastFuture(+this,jr)),an.postformat(jr)}var vu=Math.abs;function lu(re){return(re>0)-(re<0)||+re}function id(){if(!this.isValid())return this.localeData().invalidDate();var re=vu(this._milliseconds)/1e3,Ae=vu(this._days),ct=vu(this._months),wt,an,jr,Xa,fs=this.asSeconds(),Xs,Uc,zl,Bu;return fs?(wt=ft(re/60),an=ft(wt/60),re%=60,wt%=60,jr=ft(ct/12),ct%=12,Xa=re?re.toFixed(3).replace(/\.?0+$/,""):"",Xs=fs<0?"-":"",Uc=lu(this._months)!==lu(fs)?"-":"",zl=lu(this._days)!==lu(fs)?"-":"",Bu=lu(this._milliseconds)!==lu(fs)?"-":"",Xs+"P"+(jr?Uc+jr+"Y":"")+(ct?Uc+ct+"M":"")+(Ae?zl+Ae+"D":"")+(an||wt||re?"T":"")+(an?Bu+an+"H":"")+(wt?Bu+wt+"M":"")+(re?Bu+Xa+"S":"")):"P0D"}var Ws=al.prototype;Ws.isValid=su,Ws.abs=Hd,Ws.add=Gd,Ws.subtract=Nd,Ws.as=xd,Ws.asMilliseconds=cu,Ws.asSeconds=ll,Ws.asMinutes=ad,Ws.asHours=Xu,Ws.asDays=_s,Ws.asWeeks=jl,Ws.asMonths=Uu,Ws.asQuarters=jd,Ws.asYears=Sf,Ws.valueOf=of,Ws._bubble=xf,Ws.clone=Af,Ws.get=mf,Ws.milliseconds=qd,Ws.seconds=bu,Ws.minutes=$d,Ws.hours=Ju,Ws.days=Jd,Ws.weeks=Yo,Ws.months=Zo,Ws.years=Vr,Ws.humanize=Du,Ws.toISOString=id,Ws.toString=id,Ws.toJSON=id,Ws.locale=yn,Ws.localeData=Xr,Ws.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",id),Ws.lang=Dr,ze("X",0,0,"unix"),ze("x",0,0,"valueOf"),Wn("x",Bn),Wn("X",Sr),zt("X",function(re,Ae,ct){ct._d=new Date(parseFloat(re)*1e3)}),zt("x",function(re,Ae,ct){ct._d=new Date(Fe(re))});//! moment.js
return C.version="2.29.4",k(Mo),C.fn=xa,C.min=Cl,C.max=wl,C.now=Wc,C.utc=F,C.unix=as,C.months=Ol,C.isDate=j,C.locale=wn,C.invalid=X,C.duration=ii,C.isMoment=W,C.weekdays=au,C.parseZone=ws,C.localeData=xr,C.isDuration=Ml,C.monthsShort=cl,C.weekdaysMin=Od,C.defineLocale=qn,C.updateLocale=zn,C.locales=da,C.weekdaysShort=Yu,C.normalizeUnits=Ve,C.relativeTimeRounding=pu,C.relativeTimeThreshold=Nl,C.calendarFormat=Vl,C.prototype=xa,C.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},C})}).call(this,l("hOG+")(ce))},wgKq:function(ce,R,l){var E=l("Fs9M");ce.exports=E&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},whJP:function(ce,R,l){"use strict";var E=l("U8pU"),m=l("rePB"),O=l("wx14"),C=l("ODXe"),k=l("KQm4"),A=l("TSYQ"),S=l.n(A),y=l("Y1PL"),w=l("pAT6"),x=l("Ya77"),T=l("q1tI"),j=l("H84U"),D=l("caoh"),N=l("3Nzz"),F=l("ihLV"),B=l("ATYA"),U=l("1OyB"),J=l("vuIU"),$=l("Ji7U"),X=l("LK+K"),ee=l("jN4g"),ie=l("0n0R"),G=l("CWQg"),Q=Object(G.a)("text","input");function W(xe){return!!(xe.addonBefore||xe.addonAfter)}var ne=function(xe){Object($.a)(Le,xe);var Ee=Object(X.a)(Le);function Le(){return Object(U.a)(this,Le),Ee.apply(this,arguments)}return Object(J.a)(Le,[{key:"renderClearIcon",value:function(fe){var pe,Ke=this.props,Me=Ke.value,ze=Ke.disabled,Ue=Ke.readOnly,He=Ke.handleReset,Ne=Ke.suffix,it=!ze&&!Ue&&Me,Xe="".concat(fe,"-clear-icon");return T.createElement(ee.a,{onClick:He,onMouseDown:function(lt){return lt.preventDefault()},className:S()((pe={},Object(m.a)(pe,"".concat(Xe,"-hidden"),!it),Object(m.a)(pe,"".concat(Xe,"-has-suffix"),!!Ne),pe),Xe),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(fe,pe,Ke){var Me,ze=this.props,Ue=ze.value,He=ze.allowClear,Ne=ze.className,it=ze.focused,Xe=ze.style,ht=ze.direction,lt=ze.bordered,Et=ze.hidden,tt=ze.status,mt=Ke.status,xt=Ke.hasFeedback;if(!He)return Object(ie.a)(pe,{value:Ue});var Xt=S()("".concat(fe,"-affix-wrapper"),"".concat(fe,"-affix-wrapper-textarea-with-clear-btn"),Object(B.b)("".concat(fe,"-affix-wrapper"),Object(B.a)(mt,tt),xt),(Me={},Object(m.a)(Me,"".concat(fe,"-affix-wrapper-focused"),it),Object(m.a)(Me,"".concat(fe,"-affix-wrapper-rtl"),ht==="rtl"),Object(m.a)(Me,"".concat(fe,"-affix-wrapper-borderless"),!lt),Object(m.a)(Me,"".concat(Ne),!W(this.props)&&Ne),Me));return T.createElement("span",{className:Xt,style:Xe,hidden:Et},Object(ie.a)(pe,{style:null,value:Ue}),this.renderClearIcon(fe))}},{key:"render",value:function(){var fe=this;return T.createElement(F.b.Consumer,null,function(pe){var Ke=fe.props,Me=Ke.prefixCls,ze=Ke.inputType,Ue=Ke.element;if(ze===Q[0])return fe.renderTextAreaWithClearIcon(Me,Ue,pe)})}}]),Le}(T.Component),te=ne,_e=l("mh/l"),he=function(xe,Ee){var Le={};for(var we in xe)Object.prototype.hasOwnProperty.call(xe,we)&&Ee.indexOf(we)<0&&(Le[we]=xe[we]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,we=Object.getOwnPropertySymbols(xe);fe<we.length;fe++)Ee.indexOf(we[fe])<0&&Object.prototype.propertyIsEnumerable.call(xe,we[fe])&&(Le[we[fe]]=xe[we[fe]]);return Le};function oe(xe,Ee){return Object(k.a)(xe||"").slice(0,Ee).join("")}function ge(xe,Ee,Le,we){var fe=Le;return xe?fe=oe(Le,we):Object(k.a)(Ee||"").length<Le.length&&Object(k.a)(Le||"").length>we&&(fe=Ee),fe}var me=T.forwardRef(function(xe,Ee){var Le,we=xe.prefixCls,fe=xe.bordered,pe=fe===void 0?!0:fe,Ke=xe.showCount,Me=Ke===void 0?!1:Ke,ze=xe.maxLength,Ue=xe.className,He=xe.style,Ne=xe.size,it=xe.disabled,Xe=xe.onCompositionStart,ht=xe.onCompositionEnd,lt=xe.onChange,Et=xe.onFocus,tt=xe.onBlur,mt=xe.status,xt=he(xe,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","onFocus","onBlur","status"]),Xt=T.useContext(j.b),vt=Xt.getPrefixCls,qe=Xt.direction,Re=T.useContext(N.b),Se=T.useContext(D.b),Ve=it!=null?it:Se,Ge=T.useContext(F.b),_t=Ge.status,bt=Ge.hasFeedback,gt=Ge.isFormItemInput,at=Ge.feedbackIcon,ft=Object(B.a)(_t,mt),Fe=T.useRef(null),Te=T.useRef(null),ut=T.useState(!1),le=Object(C.a)(ut,2),$e=le[0],Qe=le[1],Tt=T.useState(!1),Ot=Object(C.a)(Tt,2),Ut=Ot[0],At=Ot[1],Pt=T.useRef(),Dt=T.useRef(0),Qt=Object(w.a)(xt.defaultValue,{value:xt.value}),cn=Object(C.a)(Qt,2),$n=cn[0],hn=cn[1],_n=xt.hidden,bn=function(nt,Ct){xt.value===void 0&&(hn(nt),Ct==null||Ct())},Bn=Number(ze)>0,Tn=function(nt){Qe(!0),Pt.current=$n,Dt.current=nt.currentTarget.selectionStart,Xe==null||Xe(nt)},Tr=function(nt){var Ct;Qe(!1);var Wt=nt.currentTarget.value;if(Bn){var kn=Dt.current>=ze+1||Dt.current===((Ct=Pt.current)===null||Ct===void 0?void 0:Ct.length);Wt=ge(kn,Pt.current,Wt,ze)}Wt!==$n&&(bn(Wt),Object(_e.c)(nt.currentTarget,nt,lt,Wt)),ht==null||ht(nt)},Sr=function(nt){var Ct=nt.target.value;if(!$e&&Bn){var Wt=nt.target.selectionStart>=ze+1||nt.target.selectionStart===Ct.length||!nt.target.selectionStart;Ct=ge(Wt,$n,Ct,ze)}bn(Ct),Object(_e.c)(nt.currentTarget,nt,lt,Ct)},Wr=function(nt){At(!1),tt==null||tt(nt)},br=function(nt){At(!0),Et==null||Et(nt)};T.useEffect(function(){At(function(ot){return!Ve&&ot})},[Ve]);var Wn=function(nt){var Ct,Wt,kn;bn(""),(Ct=Fe.current)===null||Ct===void 0||Ct.focus(),Object(_e.c)((kn=(Wt=Fe.current)===null||Wt===void 0?void 0:Wt.resizableTextArea)===null||kn===void 0?void 0:kn.textArea,nt,lt)},gr=vt("input",we);T.useImperativeHandle(Ee,function(){var ot;return{resizableTextArea:(ot=Fe.current)===null||ot===void 0?void 0:ot.resizableTextArea,focus:function(Ct){var Wt,kn;Object(_e.d)((kn=(Wt=Fe.current)===null||Wt===void 0?void 0:Wt.resizableTextArea)===null||kn===void 0?void 0:kn.textArea,Ct)},blur:function(){var Ct;return(Ct=Fe.current)===null||Ct===void 0?void 0:Ct.blur()}}});var na=T.createElement(y.a,Object(O.a)({},Object(x.a)(xt,["allowClear"]),{disabled:Ve,className:S()((Le={},Object(m.a)(Le,"".concat(gr,"-borderless"),!pe),Object(m.a)(Le,Ue,Ue&&!Me),Object(m.a)(Le,"".concat(gr,"-sm"),Re==="small"||Ne==="small"),Object(m.a)(Le,"".concat(gr,"-lg"),Re==="large"||Ne==="large"),Le),Object(B.b)(gr,ft)),style:Me?{resize:He==null?void 0:He.resize}:He,prefixCls:gr,onCompositionStart:Tn,onChange:Sr,onBlur:Wr,onFocus:br,onCompositionEnd:Tr,ref:Fe})),jn=Object(_e.b)($n);!$e&&Bn&&(xt.value===null||xt.value===void 0)&&(jn=oe(jn,ze));var un=T.createElement(te,Object(O.a)({disabled:Ve,focused:Ut},xt,{prefixCls:gr,direction:qe,inputType:"text",value:jn,element:na,handleReset:Wn,ref:Te,bordered:pe,status:mt,style:Me?void 0:He}));if(Me||bt){var zt,Bt=Object(k.a)(jn).length,H="";return Object(E.a)(Me)==="object"?H=Me.formatter({value:jn,count:Bt,maxLength:ze}):H="".concat(Bt).concat(Bn?" / ".concat(ze):""),T.createElement("div",{hidden:_n,className:S()("".concat(gr,"-textarea"),(zt={},Object(m.a)(zt,"".concat(gr,"-textarea-rtl"),qe==="rtl"),Object(m.a)(zt,"".concat(gr,"-textarea-show-count"),Me),Object(m.a)(zt,"".concat(gr,"-textarea-in-form-item"),gt),zt),Object(B.b)("".concat(gr,"-textarea"),ft,bt),Ue),style:He,"data-count":H},un,bt&&T.createElement("span",{className:"".concat(gr,"-textarea-suffix")},at))}return un}),Z=R.a=me},wiAF:function(ce,R,l){(function(E){ace.define("ace/theme/monokai-css",["require","exports","module"],function(m,O,C){C.exports=`.ace-monokai .ace_gutter {
background: #2F3129;
color: #8F908A
}
.ace-monokai .ace_print-margin {
width: 1px;
background: #555651
}
.ace-monokai {
background-color: #272822;
color: #F8F8F2
}
.ace-monokai .ace_cursor {
color: #F8F8F0
}
.ace-monokai .ace_marker-layer .ace_selection {
background: #49483E
}
.ace-monokai.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #272822;
}
.ace-monokai .ace_marker-layer .ace_step {
background: rgb(102, 82, 0)
}
.ace-monokai .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #49483E
}
.ace-monokai .ace_marker-layer .ace_active-line {
background: #202020
}
.ace-monokai .ace_gutter-active-line {
background-color: #272727
}
.ace-monokai .ace_marker-layer .ace_selected-word {
border: 1px solid #49483E
}
.ace-monokai .ace_invisible {
color: #52524d
}
.ace-monokai .ace_entity.ace_name.ace_tag,
.ace-monokai .ace_keyword,
.ace-monokai .ace_meta.ace_tag,
.ace-monokai .ace_storage {
color: #F92672
}
.ace-monokai .ace_punctuation,
.ace-monokai .ace_punctuation.ace_tag {
color: #fff
}
.ace-monokai .ace_constant.ace_character,
.ace-monokai .ace_constant.ace_language,
.ace-monokai .ace_constant.ace_numeric,
.ace-monokai .ace_constant.ace_other {
color: #AE81FF
}
.ace-monokai .ace_invalid {
color: #F8F8F0;
background-color: #F92672
}
.ace-monokai .ace_invalid.ace_deprecated {
color: #F8F8F0;
background-color: #AE81FF
}
.ace-monokai .ace_support.ace_constant,
.ace-monokai .ace_support.ace_function {
color: #66D9EF
}
.ace-monokai .ace_fold {
background-color: #A6E22E;
border-color: #F8F8F2
}
.ace-monokai .ace_storage.ace_type,
.ace-monokai .ace_support.ace_class,
.ace-monokai .ace_support.ace_type {
font-style: italic;
color: #66D9EF
}
.ace-monokai .ace_entity.ace_name.ace_function,
.ace-monokai .ace_entity.ace_other,
.ace-monokai .ace_entity.ace_other.ace_attribute-name,
.ace-monokai .ace_variable {
color: #A6E22E
}
.ace-monokai .ace_variable.ace_parameter {
font-style: italic;
color: #FD971F
}
.ace-monokai .ace_string {
color: #E6DB74
}
.ace-monokai .ace_comment {
color: #75715E
}
.ace-monokai .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y
}
.ace-monokai .ace_indent-guide-active {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y;
}
`}),ace.define("ace/theme/monokai",["require","exports","module","ace/theme/monokai-css","ace/lib/dom"],function(m,O,C){O.isDark=!0,O.cssClass="ace-monokai",O.cssText=m("./monokai-css");var k=m("../lib/dom");k.importCssString(O.cssText,O.cssClass,!1)}),function(){ace.require(["ace/theme/monokai"],function(m){E&&(E.exports=m)})}()}).call(this,l("hOG+")(ce))},wkBT:function(ce,R){function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},wnjb:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.MetadataReader=void 0;var E=l("xfSm"),m=function(){function O(){}return O.prototype.getConstructorMetadata=function(C){var k=Reflect.getMetadata(E.PARAM_TYPES,C),A=Reflect.getMetadata(E.TAGGED,C);return{compilerGeneratedMetadata:k,userGeneratedMetadata:A||{}}},O.prototype.getPropertiesMetadata=function(C){var k=Reflect.getMetadata(E.TAGGED_PROP,C)||[];return k},O}();R.MetadataReader=m},wpse:function(ce,R,l){var E=l("I65O");E("asyncIterator")},wrZu:function(ce,R,l){var E=l("+K+b"),m=l("XYm9"),O=l("b2z7"),C=l("otv/"),k=l("yP5f"),A="[object Boolean]",S="[object Date]",y="[object Map]",w="[object Number]",x="[object RegExp]",T="[object Set]",j="[object String]",D="[object Symbol]",N="[object ArrayBuffer]",F="[object DataView]",B="[object Float32Array]",U="[object Float64Array]",J="[object Int8Array]",$="[object Int16Array]",X="[object Int32Array]",ee="[object Uint8Array]",ie="[object Uint8ClampedArray]",G="[object Uint16Array]",Q="[object Uint32Array]";function W(ne,te,_e){var he=ne.constructor;switch(te){case N:return E(ne);case A:case S:return new he(+ne);case F:return m(ne,_e);case B:case U:case J:case $:case X:case ee:case ie:case G:case Q:return k(ne,_e);case y:return new he;case w:case j:return new he(ne);case x:return O(ne);case T:return new he;case D:return C(ne)}}ce.exports=W},wwZZ:function(ce,R,l){var E=l("MMxC"),m=l("QQ4S");E({target:"Array",proto:!0,forced:m!==[].lastIndexOf},{lastIndexOf:m})},wx14:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(){return E=Object.assign?Object.assign.bind():function(m){for(var O=1;O<arguments.length;O++){var C=arguments[O];for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(m[k]=C[k])}return m},E.apply(this,arguments)}},wy8a:function(ce,R,l){var E=l("KxBF");function m(O,C,k){var A=O.length;return k=k===void 0?A:k,!C&&k>=A?O:E(O,C,k)}ce.exports=m},"x+uP":function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("U8pU");function m(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return O};var O={},C=Object.prototype,k=C.hasOwnProperty,A=Object.defineProperty||function(ge,me,Z){ge[me]=Z.value},S=typeof Symbol=="function"?Symbol:{},y=S.iterator||"@@iterator",w=S.asyncIterator||"@@asyncIterator",x=S.toStringTag||"@@toStringTag";function T(ge,me,Z){return Object.defineProperty(ge,me,{value:Z,enumerable:!0,configurable:!0,writable:!0}),ge[me]}try{T({},"")}catch(ge){T=function(Z,xe,Ee){return Z[xe]=Ee}}function j(ge,me,Z,xe){var Ee=me&&me.prototype instanceof F?me:F,Le=Object.create(Ee.prototype),we=new _e(xe||[]);return A(Le,"_invoke",{value:Q(ge,Z,we)}),Le}function D(ge,me,Z){try{return{type:"normal",arg:ge.call(me,Z)}}catch(xe){return{type:"throw",arg:xe}}}O.wrap=j;var N={};function F(){}function B(){}function U(){}var J={};T(J,y,function(){return this});var $=Object.getPrototypeOf,X=$&&$($(he([])));X&&X!==C&&k.call(X,y)&&(J=X);var ee=U.prototype=F.prototype=Object.create(J);function ie(ge){["next","throw","return"].forEach(function(me){T(ge,me,function(Z){return this._invoke(me,Z)})})}function G(ge,me){function Z(Ee,Le,we,fe){var pe=D(ge[Ee],ge,Le);if(pe.type!=="throw"){var Ke=pe.arg,Me=Ke.value;return Me&&Object(E.a)(Me)=="object"&&k.call(Me,"__await")?me.resolve(Me.__await).then(function(ze){Z("next",ze,we,fe)},function(ze){Z("throw",ze,we,fe)}):me.resolve(Me).then(function(ze){Ke.value=ze,we(Ke)},function(ze){return Z("throw",ze,we,fe)})}fe(pe.arg)}var xe;A(this,"_invoke",{value:function(Le,we){function fe(){return new me(function(pe,Ke){Z(Le,we,pe,Ke)})}return xe=xe?xe.then(fe,fe):fe()}})}function Q(ge,me,Z){var xe="suspendedStart";return function(Ee,Le){if(xe==="executing")throw new Error("Generator is already running");if(xe==="completed"){if(Ee==="throw")throw Le;return oe()}for(Z.method=Ee,Z.arg=Le;;){var we=Z.delegate;if(we){var fe=W(we,Z);if(fe){if(fe===N)continue;return fe}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(xe==="suspendedStart")throw xe="completed",Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);xe="executing";var pe=D(ge,me,Z);if(pe.type==="normal"){if(xe=Z.done?"completed":"suspendedYield",pe.arg===N)continue;return{value:pe.arg,done:Z.done}}pe.type==="throw"&&(xe="completed",Z.method="throw",Z.arg=pe.arg)}}}function W(ge,me){var Z=me.method,xe=ge.iterator[Z];if(xe===void 0)return me.delegate=null,Z==="throw"&&ge.iterator.return&&(me.method="return",me.arg=void 0,W(ge,me),me.method==="throw")||Z!=="return"&&(me.method="throw",me.arg=new TypeError("The iterator does not provide a '"+Z+"' method")),N;var Ee=D(xe,ge.iterator,me.arg);if(Ee.type==="throw")return me.method="throw",me.arg=Ee.arg,me.delegate=null,N;var Le=Ee.arg;return Le?Le.done?(me[ge.resultName]=Le.value,me.next=ge.nextLoc,me.method!=="return"&&(me.method="next",me.arg=void 0),me.delegate=null,N):Le:(me.method="throw",me.arg=new TypeError("iterator result is not an object"),me.delegate=null,N)}function ne(ge){var me={tryLoc:ge[0]};1 in ge&&(me.catchLoc=ge[1]),2 in ge&&(me.finallyLoc=ge[2],me.afterLoc=ge[3]),this.tryEntries.push(me)}function te(ge){var me=ge.completion||{};me.type="normal",delete me.arg,ge.completion=me}function _e(ge){this.tryEntries=[{tryLoc:"root"}],ge.forEach(ne,this),this.reset(!0)}function he(ge){if(ge){var me=ge[y];if(me)return me.call(ge);if(typeof ge.next=="function")return ge;if(!isNaN(ge.length)){var Z=-1,xe=function Ee(){for(;++Z<ge.length;)if(k.call(ge,Z))return Ee.value=ge[Z],Ee.done=!1,Ee;return Ee.value=void 0,Ee.done=!0,Ee};return xe.next=xe}}return{next:oe}}function oe(){return{value:void 0,done:!0}}return B.prototype=U,A(ee,"constructor",{value:U,configurable:!0}),A(U,"constructor",{value:B,configurable:!0}),B.displayName=T(U,x,"GeneratorFunction"),O.isGeneratorFunction=function(ge){var me=typeof ge=="function"&&ge.constructor;return!!me&&(me===B||(me.displayName||me.name)==="GeneratorFunction")},O.mark=function(ge){return Object.setPrototypeOf?Object.setPrototypeOf(ge,U):(ge.__proto__=U,T(ge,x,"GeneratorFunction")),ge.prototype=Object.create(ee),ge},O.awrap=function(ge){return{__await:ge}},ie(G.prototype),T(G.prototype,w,function(){return this}),O.AsyncIterator=G,O.async=function(ge,me,Z,xe,Ee){Ee===void 0&&(Ee=Promise);var Le=new G(j(ge,me,Z,xe),Ee);return O.isGeneratorFunction(me)?Le:Le.next().then(function(we){return we.done?we.value:Le.next()})},ie(ee),T(ee,x,"Generator"),T(ee,y,function(){return this}),T(ee,"toString",function(){return"[object Generator]"}),O.keys=function(ge){var me=Object(ge),Z=[];for(var xe in me)Z.push(xe);return Z.reverse(),function Ee(){for(;Z.length;){var Le=Z.pop();if(Le in me)return Ee.value=Le,Ee.done=!1,Ee}return Ee.done=!0,Ee}},O.values=he,_e.prototype={constructor:_e,reset:function(me){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(te),!me)for(var Z in this)Z.charAt(0)==="t"&&k.call(this,Z)&&!isNaN(+Z.slice(1))&&(this[Z]=void 0)},stop:function(){this.done=!0;var me=this.tryEntries[0].completion;if(me.type==="throw")throw me.arg;return this.rval},dispatchException:function(me){if(this.done)throw me;var Z=this;function xe(Ke,Me){return we.type="throw",we.arg=me,Z.next=Ke,Me&&(Z.method="next",Z.arg=void 0),!!Me}for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var Le=this.tryEntries[Ee],we=Le.completion;if(Le.tryLoc==="root")return xe("end");if(Le.tryLoc<=this.prev){var fe=k.call(Le,"catchLoc"),pe=k.call(Le,"finallyLoc");if(fe&&pe){if(this.prev<Le.catchLoc)return xe(Le.catchLoc,!0);if(this.prev<Le.finallyLoc)return xe(Le.finallyLoc)}else if(fe){if(this.prev<Le.catchLoc)return xe(Le.catchLoc,!0)}else{if(!pe)throw new Error("try statement without catch or finally");if(this.prev<Le.finallyLoc)return xe(Le.finallyLoc)}}}},abrupt:function(me,Z){for(var xe=this.tryEntries.length-1;xe>=0;--xe){var Ee=this.tryEntries[xe];if(Ee.tryLoc<=this.prev&&k.call(Ee,"finallyLoc")&&this.prev<Ee.finallyLoc){var Le=Ee;break}}Le&&(me==="break"||me==="continue")&&Le.tryLoc<=Z&&Z<=Le.finallyLoc&&(Le=null);var we=Le?Le.completion:{};return we.type=me,we.arg=Z,Le?(this.method="next",this.next=Le.finallyLoc,N):this.complete(we)},complete:function(me,Z){if(me.type==="throw")throw me.arg;return me.type==="break"||me.type==="continue"?this.next=me.arg:me.type==="return"?(this.rval=this.arg=me.arg,this.method="return",this.next="end"):me.type==="normal"&&Z&&(this.next=Z),N},finish:function(me){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var xe=this.tryEntries[Z];if(xe.finallyLoc===me)return this.complete(xe.completion,xe.afterLoc),te(xe),N}},catch:function(me){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var xe=this.tryEntries[Z];if(xe.tryLoc===me){var Ee=xe.completion;if(Ee.type==="throw"){var Le=Ee.arg;te(xe)}return Le}}throw new Error("illegal catch attempt")},delegateYield:function(me,Z,xe){return this.delegate={iterator:he(me),resultName:Z,nextLoc:xe},this.method==="next"&&(this.arg=void 0),N}},O}},x1Ya:function(ce,R,l){"use strict";var E=l("wx14"),m=l("VTBJ"),O=l("rePB"),C=l("ODXe"),k=l("Ff2n"),A=l("TSYQ"),S=l.n(A),y=l("q1tI");function w(ee){var ie=y.useRef();ie.current=ee;var G=y.useCallback(function(){for(var Q,W=arguments.length,ne=new Array(W),te=0;te<W;te++)ne[te]=arguments[te];return(Q=ie.current)===null||Q===void 0?void 0:Q.call.apply(Q,[ie].concat(ne))},[]);return G}function x(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var T=x()?y.useLayoutEffect:y.useEffect,j=function(ie,G){var Q=y.useRef(!0);T(function(){return ie(Q.current)},G),T(function(){return Q.current=!1,function(){Q.current=!0}},[])},D=function(ie,G){j(function(Q){if(!Q)return ie()},G)},N=j;function F(ee){var ie=y.useRef(!1),G=y.useState(ee),Q=Object(C.a)(G,2),W=Q[0],ne=Q[1];y.useEffect(function(){return ie.current=!1,function(){ie.current=!0}},[]);function te(_e,he){he&&ie.current||ne(_e)}return[W,te]}function B(ee){return ee!==void 0}function U(ee,ie){var G=ie||{},Q=G.defaultValue,W=G.value,ne=G.onChange,te=G.postState,_e=F(function(){return B(W)?W:B(Q)?typeof Q=="function"?Q():Q:typeof ee=="function"?ee():ee}),he=Object(C.a)(_e,2),oe=he[0],ge=he[1],me=W!==void 0?W:oe,Z=te?te(me):me,xe=w(ne),Ee=F([me]),Le=Object(C.a)(Ee,2),we=Le[0],fe=Le[1];D(function(){var Ke=we[0];oe!==Ke&&xe(oe,Ke)},[we]),D(function(){B(W)||ge(W)},[W]);var pe=w(function(Ke,Me){ge(Ke,Me),fe([me],Me)});return[Z,pe]}var J=["prefixCls","className","style","checked","disabled","defaultChecked","type","onChange"],$=Object(y.forwardRef)(function(ee,ie){var G,Q=ee.prefixCls,W=Q===void 0?"rc-checkbox":Q,ne=ee.className,te=ee.style,_e=ee.checked,he=ee.disabled,oe=ee.defaultChecked,ge=oe===void 0?!1:oe,me=ee.type,Z=me===void 0?"checkbox":me,xe=ee.onChange,Ee=Object(k.a)(ee,J),Le=Object(y.useRef)(null),we=U(ge,{value:_e}),fe=Object(C.a)(we,2),pe=fe[0],Ke=fe[1];Object(y.useImperativeHandle)(ie,function(){return{focus:function(){var He;(He=Le.current)===null||He===void 0||He.focus()},blur:function(){var He;(He=Le.current)===null||He===void 0||He.blur()},input:Le.current}});var Me=S()(W,ne,(G={},Object(O.a)(G,"".concat(W,"-checked"),pe),Object(O.a)(G,"".concat(W,"-disabled"),he),G)),ze=function(He){he||("checked"in ee||Ke(He.target.checked),xe==null||xe({target:Object(m.a)(Object(m.a)({},ee),{},{type:Z,checked:He.target.checked}),stopPropagation:function(){He.stopPropagation()},preventDefault:function(){He.preventDefault()},nativeEvent:He.nativeEvent}))};return y.createElement("span",{className:Me,style:te},y.createElement("input",Object(E.a)({},Ee,{className:"".concat(W,"-input"),ref:Le,onChange:ze,disabled:he,checked:!!pe,type:Z})),y.createElement("span",{className:"".concat(W,"-inner")}))}),X=R.a=$},x54q:function(ce,R,l){},xD7I:function(ce,R,l){var E=l("MMxC"),m=Math.PI/180;E({target:"Math",stat:!0},{radians:function(C){return C*m}})},xF6R:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("Zcjx"),O=l("f1E4"),C=l("7BAe"),k=l("PPXv"),A=l("IuhT");E({target:"Map",proto:!0,real:!0,forced:m},{some:function(y){var w=O(this),x=k(w),T=C(y,arguments.length>1?arguments[1]:void 0,3);return A(x,function(j,D){if(T(D,j,w))return A.stop()},void 0,!0,!0).stopped}})},xGfz:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="PlusSquareOutlined";var S=R.a=m.forwardRef(A)},xH5X:function(ce,R,l){"use strict";var E=l("eYKs").charAt;ce.exports=function(m,O,C){return O+(C?E(m,O).length:1)}},xLai:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=C;var E=["-webkit-","-moz-",""],m={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},O={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};function C(k,A){if(m.hasOwnProperty(k)&&O.hasOwnProperty(A))return E.map(function(S){return S+A})}ce.exports=R.default},xRZI:function(ce,R,l){var E=l("Qlla");ce.exports=/(iphone|ipod|ipad).*applewebkit/i.test(E)},xYSL:function(ce,R){function l(E,m){return E.has(m)}ce.exports=l},xaQh:function(ce,R,l){var E=l("MMxC"),m=l("ls1J"),O=l("f1E4"),C=m.toKey,k=m.set;E({target:"Reflect",stat:!0},{defineMetadata:function(S,y,w){var x=arguments.length<4?void 0:C(arguments[3]);k(S,y,O(w),x)}})},xddM:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(l("sxS5"));function m(C){return C&&C.__esModule?C:{default:C}}var O=E;R.default=O,ce.exports=O},xdlL:function(ce,R,l){"use strict";l.d(R,"a",function(){return O});var E=l("iZzK"),m=l("cHpt");function O(C,k,A){return Object(m.a)()?O=Reflect.construct.bind():O=function(y,w,x){var T=[null];T.push.apply(T,w);var j=Function.bind.apply(y,T),D=new j;return x&&Object(E.a)(D,x.prototype),D},O.apply(null,arguments)}},xfSm:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.NON_CUSTOM_TAG_KEYS=R.POST_CONSTRUCT=R.DESIGN_PARAM_TYPES=R.PARAM_TYPES=R.TAGGED_PROP=R.TAGGED=R.MULTI_INJECT_TAG=R.INJECT_TAG=R.OPTIONAL_TAG=R.UNMANAGED_TAG=R.NAME_TAG=R.NAMED_TAG=void 0,R.NAMED_TAG="named",R.NAME_TAG="name",R.UNMANAGED_TAG="unmanaged",R.OPTIONAL_TAG="optional",R.INJECT_TAG="inject",R.MULTI_INJECT_TAG="multi_inject",R.TAGGED="inversify:tagged",R.TAGGED_PROP="inversify:tagged_props",R.PARAM_TYPES="inversify:paramtypes",R.DESIGN_PARAM_TYPES="design:paramtypes",R.POST_CONSTRUCT="post_construct";function E(){return[R.INJECT_TAG,R.MULTI_INJECT_TAG,R.NAME_TAG,R.UNMANAGED_TAG,R.NAMED_TAG,R.OPTIONAL_TAG]}R.NON_CUSTOM_TAG_KEYS=E()},xgaV:function(ce,R,l){"use strict";R.__esModule=!0;var E=l("E+oP"),m=S(E),O=l("kGJw"),C=S(O),k=l("a1Gm"),A=S(k);function S(x){return x&&x.__esModule?x:{default:x}}function y(x,T){if(!(x instanceof T))throw new TypeError("Cannot call a class as a function")}var w=function(){function x(T){y(this,x),this.WHITESPACE_REGEX=/^(\s+)/,this.NUMBER_REGEX=/^((-\s*)?[0-9]+(\.[0-9]+)?|0x[0-9a-fA-F]+|0b[01]+)\b/,this.OPERATOR_REGEX=/^(!=|<>|==|<=|>=|!<|!>|\|\||::|->>|->|~~\*|~~|!~~\*|!~~|~\*|!~\*|!~|.)/,this.BLOCK_COMMENT_REGEX=/^(\/\*[^]*?(?:\*\/|$))/,this.LINE_COMMENT_REGEX=this.createLineCommentRegex(T.lineCommentTypes),this.RESERVED_TOPLEVEL_REGEX=this.createReservedWordRegex(T.reservedToplevelWords),this.RESERVED_NEWLINE_REGEX=this.createReservedWordRegex(T.reservedNewlineWords),this.RESERVED_PLAIN_REGEX=this.createReservedWordRegex(T.reservedWords),this.WORD_REGEX=this.createWordRegex(T.specialWordChars),this.STRING_REGEX=this.createStringRegex(T.stringTypes),this.OPEN_PAREN_REGEX=this.createParenRegex(T.openParens),this.CLOSE_PAREN_REGEX=this.createParenRegex(T.closeParens),this.INDEXED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(T.indexedPlaceholderTypes,"[0-9]*"),this.IDENT_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(T.namedPlaceholderTypes,"[a-zA-Z0-9._$]+"),this.STRING_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(T.namedPlaceholderTypes,this.createStringPattern(T.stringTypes))}return x.prototype.createLineCommentRegex=function(j){return new RegExp("^((?:"+j.map(function(D){return(0,C.default)(D)}).join("|")+`).*?(?:
|$))`)},x.prototype.createReservedWordRegex=function(j){var D=j.join("|").replace(/ /g,"\\s+");return new RegExp("^("+D+")\\b","i")},x.prototype.createWordRegex=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return new RegExp("^([\\w"+j.join("")+"]+)")},x.prototype.createStringRegex=function(j){return new RegExp("^("+this.createStringPattern(j)+")")},x.prototype.createStringPattern=function(j){var D={"``":"((`[^`]*($|`))+)","[]":"((\\[[^\\]]*($|\\]))(\\][^\\]]*($|\\]))*)",'""':'(("[^"\\\\]*(?:\\\\.[^"\\\\]*)*("|$))+)',"''":"(('[^'\\\\]*(?:\\\\.[^'\\\\]*)*('|$))+)","N''":"((N'[^N'\\\\]*(?:\\\\.[^N'\\\\]*)*('|$))+)"};return j.map(function(N){return D[N]}).join("|")},x.prototype.createParenRegex=function(j){var D=this;return new RegExp("^("+j.map(function(N){return D.escapeParen(N)}).join("|")+")","i")},x.prototype.escapeParen=function(j){return j.length===1?(0,C.default)(j):"\\b"+j+"\\b"},x.prototype.createPlaceholderRegex=function(j,D){if((0,m.default)(j))return!1;var N=j.map(C.default).join("|");return new RegExp("^((?:"+N+")(?:"+D+"))")},x.prototype.tokenize=function(j){for(var D=[],N=void 0;j.length;)N=this.getNextToken(j,N),j=j.substring(N.value.length),D.push(N);return D},x.prototype.getNextToken=function(j,D){return this.getWhitespaceToken(j)||this.getCommentToken(j)||this.getStringToken(j)||this.getOpenParenToken(j)||this.getCloseParenToken(j)||this.getPlaceholderToken(j)||this.getNumberToken(j)||this.getReservedWordToken(j,D)||this.getWordToken(j)||this.getOperatorToken(j)},x.prototype.getWhitespaceToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.WHITESPACE,regex:this.WHITESPACE_REGEX})},x.prototype.getCommentToken=function(j){return this.getLineCommentToken(j)||this.getBlockCommentToken(j)},x.prototype.getLineCommentToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.LINE_COMMENT,regex:this.LINE_COMMENT_REGEX})},x.prototype.getBlockCommentToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.BLOCK_COMMENT,regex:this.BLOCK_COMMENT_REGEX})},x.prototype.getStringToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.STRING,regex:this.STRING_REGEX})},x.prototype.getOpenParenToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.OPEN_PAREN,regex:this.OPEN_PAREN_REGEX})},x.prototype.getCloseParenToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.CLOSE_PAREN,regex:this.CLOSE_PAREN_REGEX})},x.prototype.getPlaceholderToken=function(j){return this.getIdentNamedPlaceholderToken(j)||this.getStringNamedPlaceholderToken(j)||this.getIndexedPlaceholderToken(j)},x.prototype.getIdentNamedPlaceholderToken=function(j){return this.getPlaceholderTokenWithKey({input:j,regex:this.IDENT_NAMED_PLACEHOLDER_REGEX,parseKey:function(N){return N.slice(1)}})},x.prototype.getStringNamedPlaceholderToken=function(j){var D=this;return this.getPlaceholderTokenWithKey({input:j,regex:this.STRING_NAMED_PLACEHOLDER_REGEX,parseKey:function(F){return D.getEscapedPlaceholderKey({key:F.slice(2,-1),quoteChar:F.slice(-1)})}})},x.prototype.getIndexedPlaceholderToken=function(j){return this.getPlaceholderTokenWithKey({input:j,regex:this.INDEXED_PLACEHOLDER_REGEX,parseKey:function(N){return N.slice(1)}})},x.prototype.getPlaceholderTokenWithKey=function(j){var D=j.input,N=j.regex,F=j.parseKey,B=this.getTokenOnFirstMatch({input:D,regex:N,type:A.default.PLACEHOLDER});return B&&(B.key=F(B.value)),B},x.prototype.getEscapedPlaceholderKey=function(j){var D=j.key,N=j.quoteChar;return D.replace(new RegExp((0,C.default)("\\")+N,"g"),N)},x.prototype.getNumberToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.NUMBER,regex:this.NUMBER_REGEX})},x.prototype.getOperatorToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.OPERATOR,regex:this.OPERATOR_REGEX})},x.prototype.getReservedWordToken=function(j,D){if(!(D&&D.value&&D.value==="."))return this.getToplevelReservedToken(j)||this.getNewlineReservedToken(j)||this.getPlainReservedToken(j)},x.prototype.getToplevelReservedToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.RESERVED_TOPLEVEL,regex:this.RESERVED_TOPLEVEL_REGEX})},x.prototype.getNewlineReservedToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.RESERVED_NEWLINE,regex:this.RESERVED_NEWLINE_REGEX})},x.prototype.getPlainReservedToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.RESERVED,regex:this.RESERVED_PLAIN_REGEX})},x.prototype.getWordToken=function(j){return this.getTokenOnFirstMatch({input:j,type:A.default.WORD,regex:this.WORD_REGEX})},x.prototype.getTokenOnFirstMatch=function(j){var D=j.input,N=j.type,F=j.regex,B=D.match(F);if(B)return{type:N,value:B[1]}},x}();R.default=w,ce.exports=R.default},xiII:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Request=void 0;var E=l("d9O0"),m=function(){function O(C,k,A,S,y){this.id=E.id(),this.serviceIdentifier=C,this.parentContext=k,this.parentRequest=A,this.target=y,this.childRequests=[],this.bindings=Array.isArray(S)?S:[S],this.requestScope=A===null?new Map:null}return O.prototype.addChildRequest=function(C,k,A){var S=new O(C,this.parentContext,this,k,A);return this.childRequests.push(S),S},O}();R.Request=m},xkGU:function(ce,R,l){ce.exports=l("bNQv")},xtlo:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("m0kY"),O=l("F52u"),C=l("+rjg"),k=l("MVys"),A=1 .toFixed,S=Math.floor,y=function(T,j,D){return j===0?D:j%2==1?y(T,j-1,D*T):y(T*T,j/2,D)},w=function(T){for(var j=0,D=T;D>=4096;)j+=12,D/=4096;for(;D>=2;)j+=1,D/=2;return j},x=A&&(8e-5 .toFixed(3)!=="0.000"||.9 .toFixed(0)!=="1"||1.255 .toFixed(2)!=="1.25"||1000000000000000100 .toFixed(0)!=="1000000000000000128")||!k(function(){A.call({})});E({target:"Number",proto:!0,forced:x},{toFixed:function(j){var D=O(this),N=m(j),F=[0,0,0,0,0,0],B="",U="0",J,$,X,ee,ie=function(W,ne){for(var te=-1,_e=ne;++te<6;)_e+=W*F[te],F[te]=_e%1e7,_e=S(_e/1e7)},G=function(W){for(var ne=6,te=0;--ne>=0;)te+=F[ne],F[ne]=S(te/W),te=te%W*1e7},Q=function(){for(var W=6,ne="";--W>=0;)if(ne!==""||W===0||F[W]!==0){var te=String(F[W]);ne=ne===""?te:ne+C.call("0",7-te.length)+te}return ne};if(N<0||N>20)throw RangeError("Incorrect fraction digits");if(D!=D)return"NaN";if(D<=-1e21||D>=1e21)return String(D);if(D<0&&(B="-",D=-D),D>1e-21)if(J=w(D*y(2,69,1))-69,$=J<0?D*y(2,-J,1):D/y(2,J,1),$*=4503599627370496,J=52-J,J>0){for(ie(0,$),X=N;X>=7;)ie(1e7,0),X-=7;for(ie(y(10,X,1),0),X=J-1;X>=23;)G(1<<23),X-=23;G(1<<X),ie(1,1),G(2),U=Q()}else ie(0,$),ie(1<<-J,0),U=Q()+C.call("0",N);return N>0?(ee=U.length,U=B+(ee<=N?"0."+C.call("0",N-ee)+U:U.slice(0,ee-N)+"."+U.slice(ee-N))):U=B+U,U}})},xutz:function(ce,R,l){"use strict";(function(E){var m=l("XqMk"),O=typeof exports=="object"&&exports&&!exports.nodeType&&exports,C=O&&typeof E=="object"&&E&&!E.nodeType&&E,k=C&&C.exports===O,A=k&&m.a.process,S=function(){try{var y=C&&C.require&&C.require("util").types;return y||A&&A.binding&&A.binding("util")}catch(w){}}();R.a=S}).call(this,l("Vg/k")(ce))},xvlK:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="PlusOutlined";var S=R.a=m.forwardRef(A)},xxWa:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("fontsize")},{fontsize:function(k){return m(this,"font","size",k)}})},xxaU:function(ce,R,l){var E=l("Zcjx"),m=l("pb5k");(ce.exports=function(O,C){return m[O]||(m[O]=C!==void 0?C:{})})("versions",[]).push({version:"3.6.5",mode:E?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},xzDV:function(ce,R,l){},"y/19":function(ce,R,l){},y1pI:function(ce,R,l){var E=l("ljhN");function m(O,C){for(var k=O.length;k--;)if(E(O[k][0],C))return k;return-1}ce.exports=m},y2tf:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var E=function(){function F(B,U){for(var J=0;J<U.length;J++){var $=U[J];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(B,$.key,$)}}return function(B,U,J){return U&&F(B.prototype,U),J&&F(B,J),B}}(),m=l("q1tI"),O=w(m),C=l("17x9"),k=w(C),A=l("mDwP"),S=w(A),y=l("DsIs");function w(F){return F&&F.__esModule?F:{default:F}}function x(F,B){if(!(F instanceof B))throw new TypeError("Cannot call a class as a function")}function T(F,B){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B&&(typeof B=="object"||typeof B=="function")?B:F}function j(F,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof B);F.prototype=Object.create(B&&B.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),B&&(Object.setPrototypeOf?Object.setPrototypeOf(F,B):F.__proto__=B)}function D(F){var B=F.split,U=F.initialSize,J=F.size,$=F.minSize,X=F.maxSize,ee=F.resizersSize,ie=J||U,G=B==="vertical",Q={minSize:G?"minWidth":"minHeight",maxSize:G?"maxWidth":"maxHeight",size:G?"width":"height"},W={display:"flex",outline:"none"};switch(W[Q.minSize]=(0,y.convertSizeToCssValue)($,ee),W[Q.maxSize]=(0,y.convertSizeToCssValue)(X,ee),(0,y.getUnit)(ie)){case"ratio":W.flex=ie;break;case"%":case"px":W.flexGrow=0,W[Q.size]=(0,y.convertSizeToCssValue)(ie,ee);break}return W}var N=function(F){j(B,F);function B(){var U,J,$,X;x(this,B);for(var ee=arguments.length,ie=Array(ee),G=0;G<ee;G++)ie[G]=arguments[G];return X=(J=($=T(this,(U=B.__proto__||Object.getPrototypeOf(B)).call.apply(U,[this].concat(ie))),$),$.setRef=function(Q){$.props.innerRef($.props.index,Q)},J),T($,X)}return E(B,[{key:"render",value:function(){var J=this.props,$=J.children,X=J.className,ee=(0,S.default)(D(this.props));return O.default.createElement("div",{className:X,style:ee,ref:this.setRef},$)}}]),B}(m.PureComponent);N.propTypes={children:k.default.node,innerRef:k.default.func,index:k.default.number,className:k.default.string,initialSize:k.default.oneOfType([k.default.string,k.default.number]),minSize:k.default.string,maxSize:k.default.string},N.defaultProps={initialSize:"1",split:"vertical",minSize:"0",maxSize:"100%"},R.default=N,ce.exports=R.default},"y36+":function(ce,R,l){var E=l("Mi8B");E("Uint8",function(m){return function(C,k,A){return m(this,C,k,A)}},!0)},y4z8:function(ce,R,l){var E=l("MMxC"),m=l("tSXo"),O=l("a5mf").onFreeze,C=l("R/Zn"),k=l("MVys"),A=Object.preventExtensions,S=k(function(){A(1)});E({target:"Object",stat:!0,forced:S,sham:!C},{preventExtensions:function(w){return A&&m(w)?A(O(w)):w}})},y6O0:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=A;var E=l("B9n1"),m=O(E);function O(S){return S&&S.__esModule?S:{default:S}}var C=["-webkit-","-moz-",""],k=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi;function A(S,y){if(typeof y=="string"&&!(0,m.default)(y)&&k.test(y))return C.map(function(w){return y.replace(k,function(x){return w+x})})}ce.exports=R.default},y8nQ:function(ce,R,l){"use strict";var E=l("EFp3"),m=l.n(E),O=l("gwTy"),C=l.n(O),k=l("1GLa"),A=l("5Dmo")},y9mK:function(ce,R,l){var E=l("Qlla");ce.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(E)},yA9W:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Swatch=void 0;var E=Object.assign||function(j){for(var D=1;D<arguments.length;D++){var N=arguments[D];for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&(j[F]=N[F])}return j},m=l("q1tI"),O=w(m),C=l("/FUP"),k=w(C),A=l("YO3e"),S=l("TIy0"),y=w(S);function w(j){return j&&j.__esModule?j:{default:j}}var x=13,T=R.Swatch=function(D){var N=D.color,F=D.style,B=D.onClick,U=B===void 0?function(){}:B,J=D.onHover,$=D.title,X=$===void 0?N:$,ee=D.children,ie=D.focus,G=D.focusStyle,Q=G===void 0?{}:G,W=N==="transparent",ne=(0,k.default)({default:{swatch:E({background:N,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},F,ie?Q:{})}}),te=function(me){return U(N,me)},_e=function(me){return me.keyCode===x&&U(N,me)},he=function(me){return J(N,me)},oe={};return J&&(oe.onMouseOver=he),O.default.createElement("div",E({style:ne.swatch,onClick:te,title:X,tabIndex:0,onKeyDown:_e},oe),ee,W&&O.default.createElement(y.default,{borderRadius:ne.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};R.default=(0,A.handleFocus)(T)},yDJ3:function(ce,R,l){(function(E){var m="Expected a function",O="__lodash_hash_undefined__",C=1/0,k="[object Function]",A="[object GeneratorFunction]",S="[object Symbol]",y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/,x=/^\./,T=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/[\\^$.*+?()[\]{}|]/g,D=/\\(\\)?/g,N=/^\[object .+?Constructor\]$/,F=typeof E=="object"&&E&&E.Object===Object&&E,B=typeof self=="object"&&self&&self.Object===Object&&self,U=F||B||Function("return this")();function J(At,Pt){return At==null?void 0:At[Pt]}function $(At){var Pt=!1;if(At!=null&&typeof At.toString!="function")try{Pt=!!(At+"")}catch(Dt){}return Pt}var X=Array.prototype,ee=Function.prototype,ie=Object.prototype,G=U["__core-js_shared__"],Q=function(){var At=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return At?"Symbol(src)_1."+At:""}(),W=ee.toString,ne=ie.hasOwnProperty,te=ie.toString,_e=RegExp("^"+W.call(ne).replace(j,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),he=U.Symbol,oe=X.splice,ge=Ve(U,"Map"),me=Ve(Object,"create"),Z=he?he.prototype:void 0,xe=Z?Z.toString:void 0;function Ee(At){var Pt=-1,Dt=At?At.length:0;for(this.clear();++Pt<Dt;){var Qt=At[Pt];this.set(Qt[0],Qt[1])}}function Le(){this.__data__=me?me(null):{}}function we(At){return this.has(At)&&delete this.__data__[At]}function fe(At){var Pt=this.__data__;if(me){var Dt=Pt[At];return Dt===O?void 0:Dt}return ne.call(Pt,At)?Pt[At]:void 0}function pe(At){var Pt=this.__data__;return me?Pt[At]!==void 0:ne.call(Pt,At)}function Ke(At,Pt){var Dt=this.__data__;return Dt[At]=me&&Pt===void 0?O:Pt,this}Ee.prototype.clear=Le,Ee.prototype.delete=we,Ee.prototype.get=fe,Ee.prototype.has=pe,Ee.prototype.set=Ke;function Me(At){var Pt=-1,Dt=At?At.length:0;for(this.clear();++Pt<Dt;){var Qt=At[Pt];this.set(Qt[0],Qt[1])}}function ze(){this.__data__=[]}function Ue(At){var Pt=this.__data__,Dt=xt(Pt,At);if(Dt<0)return!1;var Qt=Pt.length-1;return Dt==Qt?Pt.pop():oe.call(Pt,Dt,1),!0}function He(At){var Pt=this.__data__,Dt=xt(Pt,At);return Dt<0?void 0:Pt[Dt][1]}function Ne(At){return xt(this.__data__,At)>-1}function it(At,Pt){var Dt=this.__data__,Qt=xt(Dt,At);return Qt<0?Dt.push([At,Pt]):Dt[Qt][1]=Pt,this}Me.prototype.clear=ze,Me.prototype.delete=Ue,Me.prototype.get=He,Me.prototype.has=Ne,Me.prototype.set=it;function Xe(At){var Pt=-1,Dt=At?At.length:0;for(this.clear();++Pt<Dt;){var Qt=At[Pt];this.set(Qt[0],Qt[1])}}function ht(){this.__data__={hash:new Ee,map:new(ge||Me),string:new Ee}}function lt(At){return Se(this,At).delete(At)}function Et(At){return Se(this,At).get(At)}function tt(At){return Se(this,At).has(At)}function mt(At,Pt){return Se(this,At).set(At,Pt),this}Xe.prototype.clear=ht,Xe.prototype.delete=lt,Xe.prototype.get=Et,Xe.prototype.has=tt,Xe.prototype.set=mt;function xt(At,Pt){for(var Dt=At.length;Dt--;)if(Te(At[Dt][0],Pt))return Dt;return-1}function Xt(At,Pt){Pt=Ge(Pt,At)?[Pt]:Re(Pt);for(var Dt=0,Qt=Pt.length;At!=null&&Dt<Qt;)At=At[at(Pt[Dt++])];return Dt&&Dt==Qt?At:void 0}function vt(At){if(!$e(At)||bt(At))return!1;var Pt=le(At)||$(At)?_e:N;return Pt.test(ft(At))}function qe(At){if(typeof At=="string")return At;if(Tt(At))return xe?xe.call(At):"";var Pt=At+"";return Pt=="0"&&1/At==-C?"-0":Pt}function Re(At){return ut(At)?At:gt(At)}function Se(At,Pt){var Dt=At.__data__;return _t(Pt)?Dt[typeof Pt=="string"?"string":"hash"]:Dt.map}function Ve(At,Pt){var Dt=J(At,Pt);return vt(Dt)?Dt:void 0}function Ge(At,Pt){if(ut(At))return!1;var Dt=typeof At;return Dt=="number"||Dt=="symbol"||Dt=="boolean"||At==null||Tt(At)?!0:w.test(At)||!y.test(At)||Pt!=null&&At in Object(Pt)}function _t(At){var Pt=typeof At;return Pt=="string"||Pt=="number"||Pt=="symbol"||Pt=="boolean"?At!=="__proto__":At===null}function bt(At){return!!Q&&Q in At}var gt=Fe(function(At){At=Ot(At);var Pt=[];return x.test(At)&&Pt.push(""),At.replace(T,function(Dt,Qt,cn,$n){Pt.push(cn?$n.replace(D,"$1"):Qt||Dt)}),Pt});function at(At){if(typeof At=="string"||Tt(At))return At;var Pt=At+"";return Pt=="0"&&1/At==-C?"-0":Pt}function ft(At){if(At!=null){try{return W.call(At)}catch(Pt){}try{return At+""}catch(Pt){}}return""}function Fe(At,Pt){if(typeof At!="function"||Pt&&typeof Pt!="function")throw new TypeError(m);var Dt=function Qt(){var cn=arguments,$n=Pt?Pt.apply(this,cn):cn[0],hn=Qt.cache;if(hn.has($n))return hn.get($n);var _n=At.apply(this,cn);return Qt.cache=hn.set($n,_n),_n};return Dt.cache=new(Fe.Cache||Xe),Dt}Fe.Cache=Xe;function Te(At,Pt){return At===Pt||At!==At&&Pt!==Pt}var ut=Array.isArray;function le(At){var Pt=$e(At)?te.call(At):"";return Pt==k||Pt==A}function $e(At){var Pt=typeof At;return!!At&&(Pt=="object"||Pt=="function")}function Qe(At){return!!At&&typeof At=="object"}function Tt(At){return typeof At=="symbol"||Qe(At)&&te.call(At)==S}function Ot(At){return At==null?"":qe(At)}function Ut(At,Pt,Dt){var Qt=At==null?void 0:Xt(At,Pt);return Qt===void 0?Dt:Qt}ce.exports=Ut}).call(this,l("IyRk"))},yGk4:function(ce,R,l){var E=l("Cwc5"),m=l("Kz5y"),O=E(m,"Set");ce.exports=O},yHx3:function(ce,R){var l=Object.prototype,E=l.hasOwnProperty;function m(O){var C=O.length,k=new O.constructor(C);return C&&typeof O[0]=="string"&&E.call(O,"index")&&(k.index=O.index,k.input=O.input),k}ce.exports=m},yIAO:function(ce,R,l){var E=l("tny8"),m=l("ukPv"),O=l("kkxG"),C=l("+vfm"),k=l("YfKC").f,A=l("uGHk").f,S=l("YON3"),y=l("k/J9"),w=l("M8HR"),x=l("NMFW"),T=l("MVys"),j=l("1aI8").set,D=l("ssJt"),N=l("2kyd"),F=N("match"),B=m.RegExp,U=B.prototype,J=/a/g,$=/a/g,X=new B(J)!==J,ee=w.UNSUPPORTED_Y,ie=E&&O("RegExp",!X||ee||T(function(){return $[F]=!1,B(J)!=J||B($)==$||B(J,"i")!="/a/i"}));if(ie){for(var G=function(_e,he){var oe=this instanceof G,ge=S(_e),me=he===void 0,Z;if(!oe&&ge&&_e.constructor===G&&me)return _e;X?ge&&!me&&(_e=_e.source):_e instanceof G&&(me&&(he=y.call(_e)),_e=_e.source),ee&&(Z=!!he&&he.indexOf("y")>-1,Z&&(he=he.replace(/y/g,"")));var xe=C(X?new B(_e,he):B(_e,he),oe?this:U,G);return ee&&Z&&j(xe,{sticky:Z}),xe},Q=function(te){te in G||k(G,te,{configurable:!0,get:function(){return B[te]},set:function(_e){B[te]=_e}})},W=A(B),ne=0;W.length>ne;)Q(W[ne++]);U.constructor=G,G.prototype=U,x(m,"RegExp",G)}D("RegExp")},yKVA:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("iZzK");function m(O,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(C&&C.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),C&&Object(E.a)(O,C)}},yMAV:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.Plan=void 0;var E=function(){function m(O,C){this.parentContext=O,this.rootRequest=C}return m}();R.Plan=E},yP5f:function(ce,R,l){var E=l("+K+b");function m(O,C){var k=C?E(O.buffer):O.buffer;return new O.constructor(k,O.byteOffset,O.length)}ce.exports=m},yXPU:function(ce,R){function l(m,O,C,k,A,S,y){try{var w=m[S](y),x=w.value}catch(T){C(T);return}w.done?O(x):Promise.resolve(x).then(k,A)}function E(m){return function(){var O=this,C=arguments;return new Promise(function(k,A){var S=m.apply(O,C);function y(x){l(S,k,A,y,w,"next",x)}function w(x){l(S,k,A,y,w,"throw",x)}y(void 0)})}}ce.exports=E,ce.exports.__esModule=!0,ce.exports.default=ce.exports},yZgL:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("V85Q"),O=l("NQQk");E({target:"String",proto:!0,forced:O("fixed")},{fixed:function(){return m(this,"tt","","")}})},ye1Q:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="LoadingOutlined";var S=R.a=m.forwardRef(A)},yfLh:function(ce,R,l){},yhcj:function(ce,R,l){ce.exports={iconfont:"iconfont___1fcw4",iconbaobiaokanban:"iconbaobiaokanban___DR4U5",iconkanban:"iconkanban___IWq2H",iconyunyingkanban:"iconyunyingkanban___14Q9Y",iconshujukanban1:"iconshujukanban1___16Nzt",iconjingqingqidai01:"iconjingqingqidai01___310Aa",icontouzi:"icontouzi___381YH",iconriqi:"iconriqi___2aj5n",iconyinleren_:"iconyinleren____3AoFi",icondapan:"icondapan___3Qdzn",iconbangdan:"iconbangdan___fr8LR",iconshujuwajue:"iconshujuwajue___1s5Ck",iconshoucang1:"iconshoucang1___2lxZQ",icontianjiazhibiao:"icontianjiazhibiao___1oZVf",icontianjiafenzu:"icontianjiafenzu___2ond3",iconyouxiajiaogouxuan:"iconyouxiajiaogouxuan___3Z1by",iconxiaoshouzhibiaoshezhi:"iconxiaoshouzhibiaoshezhi___1TLhk",iconyingyongbiaoge:"iconyingyongbiaoge___3zN8L",iconzhibiao:"iconzhibiao____6qJe",iconsearch:"iconsearch___1joAc","iconfactory-color":"iconfactory-color___2JEj0","iconportray-color":"iconportray-color___7pSrY","iconvisualize-color":"iconvisualize-color___zOv2M","iconamount-color":"iconamount-color___Jji4q","iconapi-color":"iconapi-color___397Gu","iconcontent-color":"iconcontent-color___2Qofk","iconbox-color":"iconbox-color___1pb-b","iconchat-color":"iconchat-color___25UvW","iconclient-color":"iconclient-color___W3t54","icondata-process":"icondata-process___3Flot","iconbi-color":"iconbi-color___3Yki1","iconfiled-color":"iconfiled-color___1bkOK","iconinvoking-color":"iconinvoking-color___jnm66","iconissue-color":"iconissue-color___1D8Jy","iconplatform-color":"iconplatform-color___39LXE","iconfile-color":"iconfile-color___1pueQ","iconname-color":"iconname-color___pm4p9",icondraft:"icondraft___2wSyM",iconunknown:"iconunknown___29KoO",iconnormal:"iconnormal___39WGI",iconfreezed:"iconfreezed___3HYp5",iconlogowenzi:"iconlogowenzi___1Cqhp",iconlogobiaoshi:"iconlogobiaoshi___2hx1_",iconchaoyinshuxitonglogo:"iconchaoyinshuxitonglogo___1AMzn",iconzanwuquanxiandianjishenqing_1:"iconzanwuquanxiandianjishenqing_1___1SBfE",iconqingchuangjianmuluhuokanban:"iconqingchuangjianmuluhuokanban___1norf",iconzichan:"iconzichan___3twqW",iconhangweifenxi:"iconhangweifenxi___3n1jk",iconshujuzichan:"iconshujuzichan___1iKwI",iconshujukanban:"iconshujukanban___4BASP",iconshujujieru:"iconshujujieru___1l_6a",iconshujutansuo:"iconshujutansuo___3Iy5X",iconminjiefenxi:"iconminjiefenxi___CRxBx",iconyanfagongju:"iconyanfagongju___1oGmZ",iconshujuanquan:"iconshujuanquan___22tW_",iconCE:"iconCE___2mRLn","iconkanbantu-shuaxin":"iconkanbantu-shuaxin___16YQf","icondaohang-sousuo":"icondaohang-sousuo___1wNGK","icondaohang-bangzhu":"icondaohang-bangzhu___1KLsE","iconkanbantu-fenxiang":"iconkanbantu-fenxiang___3WwdQ","iconquanju-riqi":"iconquanju-riqi___A41DI","icondaohang-shezhi":"icondaohang-shezhi___1ljpY","icondaohang-zichangouwuche":"icondaohang-zichangouwuche___k4UwW","iconquanju-xiazai":"iconquanju-xiazai___2X4jV","iconkanbantu-quanping":"iconkanbantu-quanping___2DvgF","iconshujuzichan-yewushujuzichan":"iconshujuzichan-yewushujuzichan___3Hzfq","iconshujukanban-tianjiakanban":"iconshujukanban-tianjiakanban___2q82r",iconqingkong:"iconqingkong___2Xgqr","iconshujuzichan-jishushujuzichan":"iconshujuzichan-jishushujuzichan___3bZh5","iconshujuzichan-zichanfaxian":"iconshujuzichan-zichanfaxian___3T4LE","icontishi-beizhu1":"icontishi-beizhu1___10Rgg","iconshujukanban-tianjiamulu":"iconshujukanban-tianjiamulu___17x-o","icontubiao-zhuzhuangtu":"icontubiao-zhuzhuangtu___3HRWi","icondaohang-xiaoxitishi":"icondaohang-xiaoxitishi___1cqbc","icontubiao-bingtu":"icontubiao-bingtu___1ZnTb","icontishi-beizhu2":"icontishi-beizhu2___1T1U0","iconshezhi-quanxianshezhi":"iconshezhi-quanxianshezhi___33vY2","iconhangweifenxi-mokuaifenxi":"iconhangweifenxi-mokuaifenxi___3wDS8","icontubiao-loudoutu":"icontubiao-loudoutu___3VAKj","icontubiao-zhexiantu":"icontubiao-zhexiantu___3Rs-l","icontubiao-biaoge":"icontubiao-biaoge___14GNX","iconhangweifenxi-baobiaoliebiao":"iconhangweifenxi-baobiaoliebiao___1cwXt"}},yiTY:function(ce,R,l){var E=l("Mi8B");E("Int32",function(m){return function(C,k,A){return m(this,C,k,A)}})},yj7k:function(ce,R,l){var E=l("29mP");ce.exports=E("document","documentElement")},yl30:function(ce,R,l){"use strict";/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var E=l("q1tI"),m=l("MgzW"),O=l("QCnb");function C(de){for(var Ce="https://reactjs.org/docs/error-decoder.html?invariant="+de,Je=1;Je<arguments.length;Je++)Ce+="&args[]="+encodeURIComponent(arguments[Je]);return"Minified React error #"+de+"; visit "+Ce+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!E)throw Error(C(227));var k=new Set,A={};function S(de,Ce){y(de,Ce),y(de+"Capture",Ce)}function y(de,Ce){for(A[de]=Ce,de=0;de<Ce.length;de++)k.add(Ce[de])}var w=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T=Object.prototype.hasOwnProperty,j={},D={};function N(de){return T.call(D,de)?!0:T.call(j,de)?!1:x.test(de)?D[de]=!0:(j[de]=!0,!1)}function F(de,Ce,Je,Kt){if(Je!==null&&Je.type===0)return!1;switch(typeof Ce){case"function":case"symbol":return!0;case"boolean":return Kt?!1:Je!==null?!Je.acceptsBooleans:(de=de.toLowerCase().slice(0,5),de!=="data-"&&de!=="aria-");default:return!1}}function B(de,Ce,Je,Kt){if(Ce===null||typeof Ce=="undefined"||F(de,Ce,Je,Kt))return!0;if(Kt)return!1;if(Je!==null)switch(Je.type){case 3:return!Ce;case 4:return Ce===!1;case 5:return isNaN(Ce);case 6:return isNaN(Ce)||1>Ce}return!1}function U(de,Ce,Je,Kt,Mn,Rr,ja){this.acceptsBooleans=Ce===2||Ce===3||Ce===4,this.attributeName=Kt,this.attributeNamespace=Mn,this.mustUseProperty=Je,this.propertyName=de,this.type=Ce,this.sanitizeURL=Rr,this.removeEmptyString=ja}var J={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(de){J[de]=new U(de,0,!1,de,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(de){var Ce=de[0];J[Ce]=new U(Ce,1,!1,de[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(de){J[de]=new U(de,2,!1,de.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(de){J[de]=new U(de,2,!1,de,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(de){J[de]=new U(de,3,!1,de.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(de){J[de]=new U(de,3,!0,de,null,!1,!1)}),["capture","download"].forEach(function(de){J[de]=new U(de,4,!1,de,null,!1,!1)}),["cols","rows","size","span"].forEach(function(de){J[de]=new U(de,6,!1,de,null,!1,!1)}),["rowSpan","start"].forEach(function(de){J[de]=new U(de,5,!1,de.toLowerCase(),null,!1,!1)});var $=/[\-:]([a-z])/g;function X(de){return de[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(de){var Ce=de.replace($,X);J[Ce]=new U(Ce,1,!1,de,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(de){var Ce=de.replace($,X);J[Ce]=new U(Ce,1,!1,de,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(de){var Ce=de.replace($,X);J[Ce]=new U(Ce,1,!1,de,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(de){J[de]=new U(de,1,!1,de.toLowerCase(),null,!1,!1)}),J.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(de){J[de]=new U(de,1,!1,de.toLowerCase(),null,!0,!0)});function ee(de,Ce,Je,Kt){var Mn=J.hasOwnProperty(Ce)?J[Ce]:null,Rr=Mn!==null?Mn.type===0:Kt?!1:!(!(2<Ce.length)||Ce[0]!=="o"&&Ce[0]!=="O"||Ce[1]!=="n"&&Ce[1]!=="N");Rr||(B(Ce,Je,Mn,Kt)&&(Je=null),Kt||Mn===null?N(Ce)&&(Je===null?de.removeAttribute(Ce):de.setAttribute(Ce,""+Je)):Mn.mustUseProperty?de[Mn.propertyName]=Je===null?Mn.type===3?!1:"":Je:(Ce=Mn.attributeName,Kt=Mn.attributeNamespace,Je===null?de.removeAttribute(Ce):(Mn=Mn.type,Je=Mn===3||Mn===4&&Je===!0?"":""+Je,Kt?de.setAttributeNS(Kt,Ce,Je):de.setAttribute(Ce,Je))))}var ie=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,G=60103,Q=60106,W=60107,ne=60108,te=60114,_e=60109,he=60110,oe=60112,ge=60113,me=60120,Z=60115,xe=60116,Ee=60121,Le=60128,we=60129,fe=60130,pe=60131;if(typeof Symbol=="function"&&Symbol.for){var Ke=Symbol.for;G=Ke("react.element"),Q=Ke("react.portal"),W=Ke("react.fragment"),ne=Ke("react.strict_mode"),te=Ke("react.profiler"),_e=Ke("react.provider"),he=Ke("react.context"),oe=Ke("react.forward_ref"),ge=Ke("react.suspense"),me=Ke("react.suspense_list"),Z=Ke("react.memo"),xe=Ke("react.lazy"),Ee=Ke("react.block"),Ke("react.scope"),Le=Ke("react.opaque.id"),we=Ke("react.debug_trace_mode"),fe=Ke("react.offscreen"),pe=Ke("react.legacy_hidden")}var Me=typeof Symbol=="function"&&Symbol.iterator;function ze(de){return de===null||typeof de!="object"?null:(de=Me&&de[Me]||de["@@iterator"],typeof de=="function"?de:null)}var Ue;function He(de){if(Ue===void 0)try{throw Error()}catch(Je){var Ce=Je.stack.trim().match(/\n( *(at )?)/);Ue=Ce&&Ce[1]||""}return`
`+Ue+de}var Ne=!1;function it(de,Ce){if(!de||Ne)return"";Ne=!0;var Je=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(Ce)if(Ce=function(){throw Error()},Object.defineProperty(Ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(yo){var Kt=yo}Reflect.construct(de,[],Ce)}else{try{Ce.call()}catch(yo){Kt=yo}de.call(Ce.prototype)}else{try{throw Error()}catch(yo){Kt=yo}de()}}catch(yo){if(yo&&Kt&&typeof yo.stack=="string"){for(var Mn=yo.stack.split(`
`),Rr=Kt.stack.split(`
`),ja=Mn.length-1,ci=Rr.length-1;1<=ja&&0<=ci&&Mn[ja]!==Rr[ci];)ci--;for(;1<=ja&&0<=ci;ja--,ci--)if(Mn[ja]!==Rr[ci]){if(ja!==1||ci!==1)do if(ja--,ci--,0>ci||Mn[ja]!==Rr[ci])return`
`+Mn[ja].replace(" at new "," at ");while(1<=ja&&0<=ci);break}}}finally{Ne=!1,Error.prepareStackTrace=Je}return(de=de?de.displayName||de.name:"")?He(de):""}function Xe(de){switch(de.tag){case 5:return He(de.type);case 16:return He("Lazy");case 13:return He("Suspense");case 19:return He("SuspenseList");case 0:case 2:case 15:return de=it(de.type,!1),de;case 11:return de=it(de.type.render,!1),de;case 22:return de=it(de.type._render,!1),de;case 1:return de=it(de.type,!0),de;default:return""}}function ht(de){if(de==null)return null;if(typeof de=="function")return de.displayName||de.name||null;if(typeof de=="string")return de;switch(de){case W:return"Fragment";case Q:return"Portal";case te:return"Profiler";case ne:return"StrictMode";case ge:return"Suspense";case me:return"SuspenseList"}if(typeof de=="object")switch(de.$$typeof){case he:return(de.displayName||"Context")+".Consumer";case _e:return(de._context.displayName||"Context")+".Provider";case oe:var Ce=de.render;return Ce=Ce.displayName||Ce.name||"",de.displayName||(Ce!==""?"ForwardRef("+Ce+")":"ForwardRef");case Z:return ht(de.type);case Ee:return ht(de._render);case xe:Ce=de._payload,de=de._init;try{return ht(de(Ce))}catch(Je){}}return null}function lt(de){switch(typeof de){case"boolean":case"number":case"object":case"string":case"undefined":return de;default:return""}}function Et(de){var Ce=de.type;return(de=de.nodeName)&&de.toLowerCase()==="input"&&(Ce==="checkbox"||Ce==="radio")}function tt(de){var Ce=Et(de)?"checked":"value",Je=Object.getOwnPropertyDescriptor(de.constructor.prototype,Ce),Kt=""+de[Ce];if(!de.hasOwnProperty(Ce)&&typeof Je!="undefined"&&typeof Je.get=="function"&&typeof Je.set=="function"){var Mn=Je.get,Rr=Je.set;return Object.defineProperty(de,Ce,{configurable:!0,get:function(){return Mn.call(this)},set:function(ja){Kt=""+ja,Rr.call(this,ja)}}),Object.defineProperty(de,Ce,{enumerable:Je.enumerable}),{getValue:function(){return Kt},setValue:function(ja){Kt=""+ja},stopTracking:function(){de._valueTracker=null,delete de[Ce]}}}}function mt(de){de._valueTracker||(de._valueTracker=tt(de))}function xt(de){if(!de)return!1;var Ce=de._valueTracker;if(!Ce)return!0;var Je=Ce.getValue(),Kt="";return de&&(Kt=Et(de)?de.checked?"true":"false":de.value),de=Kt,de!==Je?(Ce.setValue(de),!0):!1}function Xt(de){if(de=de||(typeof document!="undefined"?document:void 0),typeof de=="undefined")return null;try{return de.activeElement||de.body}catch(Ce){return de.body}}function vt(de,Ce){var Je=Ce.checked;return m({},Ce,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Je!=null?Je:de._wrapperState.initialChecked})}function qe(de,Ce){var Je=Ce.defaultValue==null?"":Ce.defaultValue,Kt=Ce.checked!=null?Ce.checked:Ce.defaultChecked;Je=lt(Ce.value!=null?Ce.value:Je),de._wrapperState={initialChecked:Kt,initialValue:Je,controlled:Ce.type==="checkbox"||Ce.type==="radio"?Ce.checked!=null:Ce.value!=null}}function Re(de,Ce){Ce=Ce.checked,Ce!=null&&ee(de,"checked",Ce,!1)}function Se(de,Ce){Re(de,Ce);var Je=lt(Ce.value),Kt=Ce.type;if(Je!=null)Kt==="number"?(Je===0&&de.value===""||de.value!=Je)&&(de.value=""+Je):de.value!==""+Je&&(de.value=""+Je);else if(Kt==="submit"||Kt==="reset"){de.removeAttribute("value");return}Ce.hasOwnProperty("value")?Ge(de,Ce.type,Je):Ce.hasOwnProperty("defaultValue")&&Ge(de,Ce.type,lt(Ce.defaultValue)),Ce.checked==null&&Ce.defaultChecked!=null&&(de.defaultChecked=!!Ce.defaultChecked)}function Ve(de,Ce,Je){if(Ce.hasOwnProperty("value")||Ce.hasOwnProperty("defaultValue")){var Kt=Ce.type;if(!(Kt!=="submit"&&Kt!=="reset"||Ce.value!==void 0&&Ce.value!==null))return;Ce=""+de._wrapperState.initialValue,Je||Ce===de.value||(de.value=Ce),de.defaultValue=Ce}Je=de.name,Je!==""&&(de.name=""),de.defaultChecked=!!de._wrapperState.initialChecked,Je!==""&&(de.name=Je)}function Ge(de,Ce,Je){(Ce!=="number"||Xt(de.ownerDocument)!==de)&&(Je==null?de.defaultValue=""+de._wrapperState.initialValue:de.defaultValue!==""+Je&&(de.defaultValue=""+Je))}function _t(de){var Ce="";return E.Children.forEach(de,function(Je){Je!=null&&(Ce+=Je)}),Ce}function bt(de,Ce){return de=m({children:void 0},Ce),(Ce=_t(Ce.children))&&(de.children=Ce),de}function gt(de,Ce,Je,Kt){if(de=de.options,Ce){Ce={};for(var Mn=0;Mn<Je.length;Mn++)Ce["$"+Je[Mn]]=!0;for(Je=0;Je<de.length;Je++)Mn=Ce.hasOwnProperty("$"+de[Je].value),de[Je].selected!==Mn&&(de[Je].selected=Mn),Mn&&Kt&&(de[Je].defaultSelected=!0)}else{for(Je=""+lt(Je),Ce=null,Mn=0;Mn<de.length;Mn++){if(de[Mn].value===Je){de[Mn].selected=!0,Kt&&(de[Mn].defaultSelected=!0);return}Ce!==null||de[Mn].disabled||(Ce=de[Mn])}Ce!==null&&(Ce.selected=!0)}}function at(de,Ce){if(Ce.dangerouslySetInnerHTML!=null)throw Error(C(91));return m({},Ce,{value:void 0,defaultValue:void 0,children:""+de._wrapperState.initialValue})}function ft(de,Ce){var Je=Ce.value;if(Je==null){if(Je=Ce.children,Ce=Ce.defaultValue,Je!=null){if(Ce!=null)throw Error(C(92));if(Array.isArray(Je)){if(!(1>=Je.length))throw Error(C(93));Je=Je[0]}Ce=Je}Ce==null&&(Ce=""),Je=Ce}de._wrapperState={initialValue:lt(Je)}}function Fe(de,Ce){var Je=lt(Ce.value),Kt=lt(Ce.defaultValue);Je!=null&&(Je=""+Je,Je!==de.value&&(de.value=Je),Ce.defaultValue==null&&de.defaultValue!==Je&&(de.defaultValue=Je)),Kt!=null&&(de.defaultValue=""+Kt)}function Te(de){var Ce=de.textContent;Ce===de._wrapperState.initialValue&&Ce!==""&&Ce!==null&&(de.value=Ce)}var ut={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function le(de){switch(de){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $e(de,Ce){return de==null||de==="http://www.w3.org/1999/xhtml"?le(Ce):de==="http://www.w3.org/2000/svg"&&Ce==="foreignObject"?"http://www.w3.org/1999/xhtml":de}var Qe,Tt=function(de){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(Ce,Je,Kt,Mn){MSApp.execUnsafeLocalFunction(function(){return de(Ce,Je,Kt,Mn)})}:de}(function(de,Ce){if(de.namespaceURI!==ut.svg||"innerHTML"in de)de.innerHTML=Ce;else{for(Qe=Qe||document.createElement("div"),Qe.innerHTML="<svg>"+Ce.valueOf().toString()+"</svg>",Ce=Qe.firstChild;de.firstChild;)de.removeChild(de.firstChild);for(;Ce.firstChild;)de.appendChild(Ce.firstChild)}});function Ot(de,Ce){if(Ce){var Je=de.firstChild;if(Je&&Je===de.lastChild&&Je.nodeType===3){Je.nodeValue=Ce;return}}de.textContent=Ce}var Ut={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},At=["Webkit","ms","Moz","O"];Object.keys(Ut).forEach(function(de){At.forEach(function(Ce){Ce=Ce+de.charAt(0).toUpperCase()+de.substring(1),Ut[Ce]=Ut[de]})});function Pt(de,Ce,Je){return Ce==null||typeof Ce=="boolean"||Ce===""?"":Je||typeof Ce!="number"||Ce===0||Ut.hasOwnProperty(de)&&Ut[de]?(""+Ce).trim():Ce+"px"}function Dt(de,Ce){de=de.style;for(var Je in Ce)if(Ce.hasOwnProperty(Je)){var Kt=Je.indexOf("--")===0,Mn=Pt(Je,Ce[Je],Kt);Je==="float"&&(Je="cssFloat"),Kt?de.setProperty(Je,Mn):de[Je]=Mn}}var Qt=m({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function cn(de,Ce){if(Ce){if(Qt[de]&&(Ce.children!=null||Ce.dangerouslySetInnerHTML!=null))throw Error(C(137,de));if(Ce.dangerouslySetInnerHTML!=null){if(Ce.children!=null)throw Error(C(60));if(!(typeof Ce.dangerouslySetInnerHTML=="object"&&"__html"in Ce.dangerouslySetInnerHTML))throw Error(C(61))}if(Ce.style!=null&&typeof Ce.style!="object")throw Error(C(62))}}function $n(de,Ce){if(de.indexOf("-")===-1)return typeof Ce.is=="string";switch(de){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function hn(de){return de=de.target||de.srcElement||window,de.correspondingUseElement&&(de=de.correspondingUseElement),de.nodeType===3?de.parentNode:de}var _n=null,bn=null,Bn=null;function Tn(de){if(de=_a(de)){if(typeof _n!="function")throw Error(C(280));var Ce=de.stateNode;Ce&&(Ce=Va(Ce),_n(de.stateNode,de.type,Ce))}}function Tr(de){bn?Bn?Bn.push(de):Bn=[de]:bn=de}function Sr(){if(bn){var de=bn,Ce=Bn;if(Bn=bn=null,Tn(de),Ce)for(de=0;de<Ce.length;de++)Tn(Ce[de])}}function Wr(de,Ce){return de(Ce)}function br(de,Ce,Je,Kt,Mn){return de(Ce,Je,Kt,Mn)}function Wn(){}var gr=Wr,na=!1,jn=!1;function un(){(bn!==null||Bn!==null)&&(Wn(),Sr())}function zt(de,Ce,Je){if(jn)return de(Ce,Je);jn=!0;try{return gr(de,Ce,Je)}finally{jn=!1,un()}}function Bt(de,Ce){var Je=de.stateNode;if(Je===null)return null;var Kt=Va(Je);if(Kt===null)return null;Je=Kt[Ce];e:switch(Ce){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Kt=!Kt.disabled)||(de=de.type,Kt=!(de==="button"||de==="input"||de==="select"||de==="textarea")),de=!Kt;break e;default:de=!1}if(de)return null;if(Je&&typeof Je!="function")throw Error(C(231,Ce,typeof Je));return Je}var H=!1;if(w)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){H=!0}}),window.addEventListener("test",ot,ot),window.removeEventListener("test",ot,ot)}catch(de){H=!1}function nt(de,Ce,Je,Kt,Mn,Rr,ja,ci,yo){var Ho=Array.prototype.slice.call(arguments,3);try{Ce.apply(Je,Ho)}catch(sc){this.onError(sc)}}var Ct=!1,Wt=null,kn=!1,Sn=null,Zn={onError:function(de){Ct=!0,Wt=de}};function Or(de,Ce,Je,Kt,Mn,Rr,ja,ci,yo){Ct=!1,Wt=null,nt.apply(Zn,arguments)}function Yn(de,Ce,Je,Kt,Mn,Rr,ja,ci,yo){if(Or.apply(this,arguments),Ct){if(Ct){var Ho=Wt;Ct=!1,Wt=null}else throw Error(C(198));kn||(kn=!0,Sn=Ho)}}function Nn(de){var Ce=de,Je=de;if(de.alternate)for(;Ce.return;)Ce=Ce.return;else{de=Ce;do Ce=de,(Ce.flags&1026)!=0&&(Je=Ce.return),de=Ce.return;while(de)}return Ce.tag===3?Je:null}function Zt(de){if(de.tag===13){var Ce=de.memoizedState;if(Ce===null&&(de=de.alternate,de!==null&&(Ce=de.memoizedState)),Ce!==null)return Ce.dehydrated}return null}function rr(de){if(Nn(de)!==de)throw Error(C(188))}function Gn(de){var Ce=de.alternate;if(!Ce){if(Ce=Nn(de),Ce===null)throw Error(C(188));return Ce!==de?null:de}for(var Je=de,Kt=Ce;;){var Mn=Je.return;if(Mn===null)break;var Rr=Mn.alternate;if(Rr===null){if(Kt=Mn.return,Kt!==null){Je=Kt;continue}break}if(Mn.child===Rr.child){for(Rr=Mn.child;Rr;){if(Rr===Je)return rr(Mn),de;if(Rr===Kt)return rr(Mn),Ce;Rr=Rr.sibling}throw Error(C(188))}if(Je.return!==Kt.return)Je=Mn,Kt=Rr;else{for(var ja=!1,ci=Mn.child;ci;){if(ci===Je){ja=!0,Je=Mn,Kt=Rr;break}if(ci===Kt){ja=!0,Kt=Mn,Je=Rr;break}ci=ci.sibling}if(!ja){for(ci=Rr.child;ci;){if(ci===Je){ja=!0,Je=Rr,Kt=Mn;break}if(ci===Kt){ja=!0,Kt=Rr,Je=Mn;break}ci=ci.sibling}if(!ja)throw Error(C(189))}}if(Je.alternate!==Kt)throw Error(C(190))}if(Je.tag!==3)throw Error(C(188));return Je.stateNode.current===Je?de:Ce}function ln(de){if(de=Gn(de),!de)return null;for(var Ce=de;;){if(Ce.tag===5||Ce.tag===6)return Ce;if(Ce.child)Ce.child.return=Ce,Ce=Ce.child;else{if(Ce===de)break;for(;!Ce.sibling;){if(!Ce.return||Ce.return===de)return null;Ce=Ce.return}Ce.sibling.return=Ce.return,Ce=Ce.sibling}}return null}function Xn(de,Ce){for(var Je=de.alternate;Ce!==null;){if(Ce===de||Ce===Je)return!0;Ce=Ce.return}return!1}var Kn,fr,Hn,Sa,Lr=!1,Ca=[],za=null,Ma=null,va=null,qa=new Map,gi=new Map,Qi=[],mi="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Cr(de,Ce,Je,Kt,Mn){return{blockedOn:de,domEventName:Ce,eventSystemFlags:Je|16,nativeEvent:Mn,targetContainers:[Kt]}}function Un(de,Ce){switch(de){case"focusin":case"focusout":za=null;break;case"dragenter":case"dragleave":Ma=null;break;case"mouseover":case"mouseout":va=null;break;case"pointerover":case"pointerout":qa.delete(Ce.pointerId);break;case"gotpointercapture":case"lostpointercapture":gi.delete(Ce.pointerId)}}function Lt(de,Ce,Je,Kt,Mn,Rr){return de===null||de.nativeEvent!==Rr?(de=Cr(Ce,Je,Kt,Mn,Rr),Ce!==null&&(Ce=_a(Ce),Ce!==null&&fr(Ce)),de):(de.eventSystemFlags|=Kt,Ce=de.targetContainers,Mn!==null&&Ce.indexOf(Mn)===-1&&Ce.push(Mn),de)}function gn(de,Ce,Je,Kt,Mn){switch(Ce){case"focusin":return za=Lt(za,de,Ce,Je,Kt,Mn),!0;case"dragenter":return Ma=Lt(Ma,de,Ce,Je,Kt,Mn),!0;case"mouseover":return va=Lt(va,de,Ce,Je,Kt,Mn),!0;case"pointerover":var Rr=Mn.pointerId;return qa.set(Rr,Lt(qa.get(Rr)||null,de,Ce,Je,Kt,Mn)),!0;case"gotpointercapture":return Rr=Mn.pointerId,gi.set(Rr,Lt(gi.get(Rr)||null,de,Ce,Je,Kt,Mn)),!0}return!1}function Ln(de){var Ce=lr(de.target);if(Ce!==null){var Je=Nn(Ce);if(Je!==null){if(Ce=Je.tag,Ce===13){if(Ce=Zt(Je),Ce!==null){de.blockedOn=Ce,Sa(de.lanePriority,function(){O.unstable_runWithPriority(de.priority,function(){Hn(Je)})});return}}else if(Ce===3&&Je.stateNode.hydrate){de.blockedOn=Je.tag===3?Je.stateNode.containerInfo:null;return}}}de.blockedOn=null}function kr(de){if(de.blockedOn!==null)return!1;for(var Ce=de.targetContainers;0<Ce.length;){var Je=Vi(de.domEventName,de.eventSystemFlags,Ce[0],de.nativeEvent);if(Je!==null)return Ce=_a(Je),Ce!==null&&fr(Ce),de.blockedOn=Je,!1;Ce.shift()}return!0}function ea(de,Ce,Je){kr(de)&&Je.delete(Ce)}function Qr(){for(Lr=!1;0<Ca.length;){var de=Ca[0];if(de.blockedOn!==null){de=_a(de.blockedOn),de!==null&&Kn(de);break}for(var Ce=de.targetContainers;0<Ce.length;){var Je=Vi(de.domEventName,de.eventSystemFlags,Ce[0],de.nativeEvent);if(Je!==null){de.blockedOn=Je;break}Ce.shift()}de.blockedOn===null&&Ca.shift()}za!==null&&kr(za)&&(za=null),Ma!==null&&kr(Ma)&&(Ma=null),va!==null&&kr(va)&&(va=null),qa.forEach(ea),gi.forEach(ea)}function Na(de,Ce){de.blockedOn===Ce&&(de.blockedOn=null,Lr||(Lr=!0,O.unstable_scheduleCallback(O.unstable_NormalPriority,Qr)))}function ar(de){function Ce(Mn){return Na(Mn,de)}if(0<Ca.length){Na(Ca[0],de);for(var Je=1;Je<Ca.length;Je++){var Kt=Ca[Je];Kt.blockedOn===de&&(Kt.blockedOn=null)}}for(za!==null&&Na(za,de),Ma!==null&&Na(Ma,de),va!==null&&Na(va,de),qa.forEach(Ce),gi.forEach(Ce),Je=0;Je<Qi.length;Je++)Kt=Qi[Je],Kt.blockedOn===de&&(Kt.blockedOn=null);for(;0<Qi.length&&(Je=Qi[0],Je.blockedOn===null);)Ln(Je),Je.blockedOn===null&&Qi.shift()}function pi(de,Ce){var Je={};return Je[de.toLowerCase()]=Ce.toLowerCase(),Je["Webkit"+de]="webkit"+Ce,Je["Moz"+de]="moz"+Ce,Je}var _i={animationend:pi("Animation","AnimationEnd"),animationiteration:pi("Animation","AnimationIteration"),animationstart:pi("Animation","AnimationStart"),transitionend:pi("Transition","TransitionEnd")},ti={},ui={};w&&(ui=document.createElement("div").style,"AnimationEvent"in window||(delete _i.animationend.animation,delete _i.animationiteration.animation,delete _i.animationstart.animation),"TransitionEvent"in window||delete _i.transitionend.transition);function Ri(de){if(ti[de])return ti[de];if(!_i[de])return de;var Ce=_i[de],Je;for(Je in Ce)if(Ce.hasOwnProperty(Je)&&Je in ui)return ti[de]=Ce[Je];return de}var ao=Ri("animationend"),Zi=Ri("animationiteration"),Fi=Ri("animationstart"),Si=Ri("transitionend"),qi=new Map,eo=new Map,xo=["abort","abort",ao,"animationEnd",Zi,"animationIteration",Fi,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Si,"transitionEnd","waiting","waiting"];function cs(de,Ce){for(var Je=0;Je<de.length;Je+=2){var Kt=de[Je],Mn=de[Je+1];Mn="on"+(Mn[0].toUpperCase()+Mn.slice(1)),eo.set(Kt,Ce),qi.set(Kt,Mn),S(Mn,[Kt])}}var ba=O.unstable_now;ba();var sa=8;function Da(de){if((1&de)!=0)return sa=15,1;if((2&de)!=0)return sa=14,2;if((4&de)!=0)return sa=13,4;var Ce=24&de;return Ce!==0?(sa=12,Ce):(de&32)!=0?(sa=11,32):(Ce=192&de,Ce!==0?(sa=10,Ce):(de&256)!=0?(sa=9,256):(Ce=3584&de,Ce!==0?(sa=8,Ce):(de&4096)!=0?(sa=7,4096):(Ce=4186112&de,Ce!==0?(sa=6,Ce):(Ce=62914560&de,Ce!==0?(sa=5,Ce):de&67108864?(sa=4,67108864):(de&134217728)!=0?(sa=3,134217728):(Ce=805306368&de,Ce!==0?(sa=2,Ce):(1073741824&de)!=0?(sa=1,1073741824):(sa=8,de))))))}function On(de){switch(de){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function xn(de){switch(de){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(C(358,de))}}function Rt(de,Ce){var Je=de.pendingLanes;if(Je===0)return sa=0;var Kt=0,Mn=0,Rr=de.expiredLanes,ja=de.suspendedLanes,ci=de.pingedLanes;if(Rr!==0)Kt=Rr,Mn=sa=15;else if(Rr=Je&134217727,Rr!==0){var yo=Rr&~ja;yo!==0?(Kt=Da(yo),Mn=sa):(ci&=Rr,ci!==0&&(Kt=Da(ci),Mn=sa))}else Rr=Je&~ja,Rr!==0?(Kt=Da(Rr),Mn=sa):ci!==0&&(Kt=Da(ci),Mn=sa);if(Kt===0)return 0;if(Kt=31-Kr(Kt),Kt=Je&((0>Kt?0:1<<Kt)<<1)-1,Ce!==0&&Ce!==Kt&&(Ce&ja)==0){if(Da(Ce),Mn<=sa)return Ce;sa=Mn}if(Ce=de.entangledLanes,Ce!==0)for(de=de.entanglements,Ce&=Kt;0<Ce;)Je=31-Kr(Ce),Mn=1<<Je,Kt|=de[Je],Ce&=~Mn;return Kt}function mr(de){return de=de.pendingLanes&-1073741825,de!==0?de:de&1073741824?1073741824:0}function ta(de,Ce){switch(de){case 15:return 1;case 14:return 2;case 12:return de=ma(24&~Ce),de===0?ta(10,Ce):de;case 10:return de=ma(192&~Ce),de===0?ta(8,Ce):de;case 8:return de=ma(3584&~Ce),de===0&&(de=ma(4186112&~Ce),de===0&&(de=512)),de;case 2:return Ce=ma(805306368&~Ce),Ce===0&&(Ce=268435456),Ce}throw Error(C(358,de))}function ma(de){return de&-de}function Oa(de){for(var Ce=[],Je=0;31>Je;Je++)Ce.push(de);return Ce}function Pn(de,Ce,Je){de.pendingLanes|=Ce;var Kt=Ce-1;de.suspendedLanes&=Kt,de.pingedLanes&=Kt,de=de.eventTimes,Ce=31-Kr(Ce),de[Ce]=Je}var Kr=Math.clz32?Math.clz32:Ea,Vn=Math.log,tr=Math.LN2;function Ea(de){return de===0?32:31-(Vn(de)/tr|0)|0}var Ja=O.unstable_UserBlockingPriority,go=O.unstable_runWithPriority,fi=!0;function lo(de,Ce,Je,Kt){na||Wn();var Mn=io,Rr=na;na=!0;try{br(Mn,de,Ce,Je,Kt)}finally{(na=Rr)||un()}}function Oi(de,Ce,Je,Kt){go(Ja,io.bind(null,de,Ce,Je,Kt))}function io(de,Ce,Je,Kt){if(fi){var Mn;if((Mn=(Ce&4)==0)&&0<Ca.length&&-1<mi.indexOf(de))de=Cr(null,de,Ce,Je,Kt),Ca.push(de);else{var Rr=Vi(de,Ce,Je,Kt);if(Rr===null)Mn&&Un(de,Kt);else{if(Mn){if(-1<mi.indexOf(de)){de=Cr(Rr,de,Ce,Je,Kt),Ca.push(de);return}if(gn(Rr,de,Ce,Je,Kt))return;Un(de,Kt)}os(de,Ce,Kt,null,Je)}}}}function Vi(de,Ce,Je,Kt){var Mn=hn(Kt);if(Mn=lr(Mn),Mn!==null){var Rr=Nn(Mn);if(Rr===null)Mn=null;else{var ja=Rr.tag;if(ja===13){if(Mn=Zt(Rr),Mn!==null)return Mn;Mn=null}else if(ja===3){if(Rr.stateNode.hydrate)return Rr.tag===3?Rr.stateNode.containerInfo:null;Mn=null}else Rr!==Mn&&(Mn=null)}}return os(de,Ce,Kt,Mn,Je),null}var vo=null,qo=null,hs=null;function $t(){if(hs)return hs;var de,Ce=qo,Je=Ce.length,Kt,Mn="value"in vo?vo.value:vo.textContent,Rr=Mn.length;for(de=0;de<Je&&Ce[de]===Mn[de];de++);var ja=Je-de;for(Kt=1;Kt<=ja&&Ce[Je-Kt]===Mn[Rr-Kt];Kt++);return hs=Mn.slice(de,1<Kt?1-Kt:void 0)}function rt(de){var Ce=de.keyCode;return"charCode"in de?(de=de.charCode,de===0&&Ce===13&&(de=13)):de=Ce,de===10&&(de=13),32<=de||de===13?de:0}function Vt(){return!0}function tn(){return!1}function wn(de){function Ce(Je,Kt,Mn,Rr,ja){this._reactName=Je,this._targetInst=Mn,this.type=Kt,this.nativeEvent=Rr,this.target=ja,this.currentTarget=null;for(var ci in de)de.hasOwnProperty(ci)&&(Je=de[ci],this[ci]=Je?Je(Rr):Rr[ci]);return this.isDefaultPrevented=(Rr.defaultPrevented!=null?Rr.defaultPrevented:Rr.returnValue===!1)?Vt:tn,this.isPropagationStopped=tn,this}return m(Ce.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Je=this.nativeEvent;Je&&(Je.preventDefault?Je.preventDefault():typeof Je.returnValue!="unknown"&&(Je.returnValue=!1),this.isDefaultPrevented=Vt)},stopPropagation:function(){var Je=this.nativeEvent;Je&&(Je.stopPropagation?Je.stopPropagation():typeof Je.cancelBubble!="unknown"&&(Je.cancelBubble=!0),this.isPropagationStopped=Vt)},persist:function(){},isPersistent:Vt}),Ce}var qn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(de){return de.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zn=wn(qn),xr=m({},qn,{view:0,detail:0}),da=wn(xr),en,Fn,Jn,Ir=m({},xr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zo,button:0,buttons:0,relatedTarget:function(de){return de.relatedTarget===void 0?de.fromElement===de.srcElement?de.toElement:de.fromElement:de.relatedTarget},movementX:function(de){return"movementX"in de?de.movementX:(de!==Jn&&(Jn&&de.type==="mousemove"?(en=de.screenX-Jn.screenX,Fn=de.screenY-Jn.screenY):Fn=en=0,Jn=de),en)},movementY:function(de){return"movementY"in de?de.movementY:Fn}}),Gr=wn(Ir),ga=m({},Ir,{dataTransfer:0}),Mr=wn(ga),$a=m({},xr,{relatedTarget:0}),Ya=wn($a),_o=m({},qn,{animationName:0,elapsedTime:0,pseudoElement:0}),Ni=wn(_o),ec=m({},qn,{clipboardData:function(de){return"clipboardData"in de?de.clipboardData:window.clipboardData}}),ks=wn(ec),jo=m({},qn,{data:0}),Qn=wn(jo),ka={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pa={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Qa={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ei(de){var Ce=this.nativeEvent;return Ce.getModifierState?Ce.getModifierState(de):(de=Qa[de])?!!Ce[de]:!1}function zo(){return Ei}var fo=m({},xr,{key:function(de){if(de.key){var Ce=ka[de.key]||de.key;if(Ce!=="Unidentified")return Ce}return de.type==="keypress"?(de=rt(de),de===13?"Enter":String.fromCharCode(de)):de.type==="keydown"||de.type==="keyup"?Pa[de.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zo,charCode:function(de){return de.type==="keypress"?rt(de):0},keyCode:function(de){return de.type==="keydown"||de.type==="keyup"?de.keyCode:0},which:function(de){return de.type==="keypress"?rt(de):de.type==="keydown"||de.type==="keyup"?de.keyCode:0}}),gs=wn(fo),Ks=m({},Ir,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pc=wn(Ks),tc=m({},xr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zo}),xc=wn(tc),kc=m({},qn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ss=wn(kc),Js=m({},Ir,{deltaX:function(de){return"deltaX"in de?de.deltaX:"wheelDeltaX"in de?-de.wheelDeltaX:0},deltaY:function(de){return"deltaY"in de?de.deltaY:"wheelDeltaY"in de?-de.wheelDeltaY:"wheelDelta"in de?-de.wheelDelta:0},deltaZ:0,deltaMode:0}),Mo=wn(Js),js=[9,13,27,32],Yc=w&&"CompositionEvent"in window,gc=null;w&&"documentMode"in document&&(gc=document.documentMode);var Cl=w&&"TextEvent"in window&&!gc,wl=w&&(!Yc||gc&&8<gc&&11>=gc),Wc=String.fromCharCode(32),nl=!1;function Rc(de,Ce){switch(de){case"keyup":return js.indexOf(Ce.keyCode)!==-1;case"keydown":return Ce.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function su(de){return de=de.detail,typeof de=="object"&&"data"in de?de.data:null}var Pl=!1;function al(de,Ce){switch(de){case"compositionend":return su(Ce);case"keypress":return Ce.which!==32?null:(nl=!0,Wc);case"textInput":return de=Ce.data,de===Wc&&nl?null:de;default:return null}}function Ml(de,Ce){if(Pl)return de==="compositionend"||!Yc&&Rc(de,Ce)?(de=$t(),hs=qo=vo=null,Pl=!1,de):null;switch(de){case"paste":return null;case"keypress":if(!(Ce.ctrlKey||Ce.altKey||Ce.metaKey)||Ce.ctrlKey&&Ce.altKey){if(Ce.char&&1<Ce.char.length)return Ce.char;if(Ce.which)return String.fromCharCode(Ce.which)}return null;case"compositionend":return wl&&Ce.locale!=="ko"?null:Ce.data;default:return null}}var Tl={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function td(de){var Ce=de&&de.nodeName&&de.nodeName.toLowerCase();return Ce==="input"?!!Tl[de.type]:Ce==="textarea"}function rl(de,Ce,Je,Kt){Tr(Kt),Ce=cd(Ce,"onChange"),0<Ce.length&&(Je=new zn("onChange","change",null,Je,Kt),de.push({event:Je,listeners:Ce}))}var dl=null,qt=null;function nr(de){Ru(de,0)}function Ur(de){var Ce=Fa(de);if(xt(Ce))return de}function Yr(de,Ce){if(de==="change")return Ce}var ni=!1;if(w){var vi;if(w){var zr="oninput"in document;if(!zr){var wr=document.createElement("div");wr.setAttribute("oninput","return;"),zr=typeof wr.oninput=="function"}vi=zr}else vi=!1;ni=vi&&(!document.documentMode||9<document.documentMode)}function Ua(){dl&&(dl.detachEvent("onpropertychange",La),qt=dl=null)}function La(de){if(de.propertyName==="value"&&Ur(qt)){var Ce=[];if(rl(Ce,qt,de,hn(de)),de=nr,na)de(Ce);else{na=!0;try{Wr(de,Ce)}finally{na=!1,un()}}}}function Nr(de,Ce,Je){de==="focusin"?(Ua(),dl=Ce,qt=Je,dl.attachEvent("onpropertychange",La)):de==="focusout"&&Ua()}function ua(de){if(de==="selectionchange"||de==="keyup"||de==="keydown")return Ur(qt)}function ra(de,Ce){if(de==="click")return Ur(Ce)}function ri(de,Ce){if(de==="input"||de==="change")return Ur(Ce)}function li(de,Ce){return de===Ce&&(de!==0||1/de==1/Ce)||de!==de&&Ce!==Ce}var hi=typeof Object.is=="function"?Object.is:li,ii=Object.prototype.hasOwnProperty;function Di(de,Ce){if(hi(de,Ce))return!0;if(typeof de!="object"||de===null||typeof Ce!="object"||Ce===null)return!1;var Je=Object.keys(de),Kt=Object.keys(Ce);if(Je.length!==Kt.length)return!1;for(Kt=0;Kt<Je.length;Kt++)if(!ii.call(Ce,Je[Kt])||!hi(de[Je[Kt]],Ce[Je[Kt]]))return!1;return!0}function Xo(de){for(;de&&de.firstChild;)de=de.firstChild;return de}function ps(de,Ce){var Je=Xo(de);de=0;for(var Kt;Je;){if(Je.nodeType===3){if(Kt=de+Je.textContent.length,de<=Ce&&Kt>=Ce)return{node:Je,offset:Ce-de};de=Kt}e:{for(;Je;){if(Je.nextSibling){Je=Je.nextSibling;break e}Je=Je.parentNode}Je=void 0}Je=Xo(Je)}}function mc(de,Ce){return de&&Ce?de===Ce?!0:de&&de.nodeType===3?!1:Ce&&Ce.nodeType===3?mc(de,Ce.parentNode):"contains"in de?de.contains(Ce):de.compareDocumentPosition?!!(de.compareDocumentPosition(Ce)&16):!1:!1}function Ts(){for(var de=window,Ce=Xt();Ce instanceof de.HTMLIFrameElement;){try{var Je=typeof Ce.contentWindow.location.href=="string"}catch(Kt){Je=!1}if(Je)de=Ce.contentWindow;else break;Ce=Xt(de.document)}return Ce}function Ar(de){var Ce=de&&de.nodeName&&de.nodeName.toLowerCase();return Ce&&(Ce==="input"&&(de.type==="text"||de.type==="search"||de.type==="tel"||de.type==="url"||de.type==="password")||Ce==="textarea"||de.contentEditable==="true")}var Gs=w&&"documentMode"in document&&11>=document.documentMode,Nc=null,Jc=null,Fc=null,Ro=!1;function Dl(de,Ce,Je){var Kt=Je.window===Je?Je.document:Je.nodeType===9?Je:Je.ownerDocument;Ro||Nc==null||Nc!==Xt(Kt)||(Kt=Nc,"selectionStart"in Kt&&Ar(Kt)?Kt={start:Kt.selectionStart,end:Kt.selectionEnd}:(Kt=(Kt.ownerDocument&&Kt.ownerDocument.defaultView||window).getSelection(),Kt={anchorNode:Kt.anchorNode,anchorOffset:Kt.anchorOffset,focusNode:Kt.focusNode,focusOffset:Kt.focusOffset}),Fc&&Di(Fc,Kt)||(Fc=Kt,Kt=cd(Jc,"onSelect"),0<Kt.length&&(Ce=new zn("onSelect","select",null,Ce,Je),de.push({event:Ce,listeners:Kt}),Ce.target=Nc)))}cs("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),cs("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),cs(xo,2);for(var Vl="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),hu=0;hu<Vl.length;hu++)eo.set(Vl[hu],0);y("onMouseEnter",["mouseout","mouseover"]),y("onMouseLeave",["mouseout","mouseover"]),y("onPointerEnter",["pointerout","pointerover"]),y("onPointerLeave",["pointerout","pointerover"]),S("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),S("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),S("onBeforeInput",["compositionend","keypress","textInput","paste"]),S("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),S("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),S("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ru="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pd=new Set("cancel close invalid load scroll toggle".split(" ").concat(ru));function ql(de,Ce,Je){var Kt=de.type||"unknown-event";de.currentTarget=Je,Yn(Kt,Ce,void 0,de),de.currentTarget=null}function Ru(de,Ce){Ce=(Ce&4)!=0;for(var Je=0;Je<de.length;Je++){var Kt=de[Je],Mn=Kt.event;Kt=Kt.listeners;e:{var Rr=void 0;if(Ce)for(var ja=Kt.length-1;0<=ja;ja--){var ci=Kt[ja],yo=ci.instance,Ho=ci.currentTarget;if(ci=ci.listener,yo!==Rr&&Mn.isPropagationStopped())break e;ql(Mn,ci,Ho),Rr=yo}else for(ja=0;ja<Kt.length;ja++){if(ci=Kt[ja],yo=ci.instance,Ho=ci.currentTarget,ci=ci.listener,yo!==Rr&&Mn.isPropagationStopped())break e;ql(Mn,ci,Ho),Rr=yo}}}if(kn)throw de=Sn,kn=!1,Sn=null,de}function Hl(de,Ce){var Je=di(Ce),Kt=de+"__bubble";Je.has(Kt)||(ml(Ce,de,2,!1),Je.add(Kt))}var fu="_reactListening"+Math.random().toString(36).slice(2);function nd(de){de[fu]||(de[fu]=!0,k.forEach(function(Ce){pd.has(Ce)||bd(Ce,!1,de,null),bd(Ce,!0,de,null)}))}function bd(de,Ce,Je,Kt){var Mn=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,Rr=Je;if(de==="selectionchange"&&Je.nodeType!==9&&(Rr=Je.ownerDocument),Kt!==null&&!Ce&&pd.has(de)){if(de!=="scroll")return;Mn|=2,Rr=Kt}var ja=di(Rr),ci=de+"__"+(Ce?"capture":"bubble");ja.has(ci)||(Ce&&(Mn|=4),ml(Rr,de,Mn,Ce),ja.add(ci))}function ml(de,Ce,Je,Kt){var Mn=eo.get(Ce);switch(Mn===void 0?2:Mn){case 0:Mn=lo;break;case 1:Mn=Oi;break;default:Mn=io}Je=Mn.bind(null,Ce,Je,de),Mn=void 0,!H||Ce!=="touchstart"&&Ce!=="touchmove"&&Ce!=="wheel"||(Mn=!0),Kt?Mn!==void 0?de.addEventListener(Ce,Je,{capture:!0,passive:Mn}):de.addEventListener(Ce,Je,!0):Mn!==void 0?de.addEventListener(Ce,Je,{passive:Mn}):de.addEventListener(Ce,Je,!1)}function os(de,Ce,Je,Kt,Mn){var Rr=Kt;if((Ce&1)==0&&(Ce&2)==0&&Kt!==null)e:for(;;){if(Kt===null)return;var ja=Kt.tag;if(ja===3||ja===4){var ci=Kt.stateNode.containerInfo;if(ci===Mn||ci.nodeType===8&&ci.parentNode===Mn)break;if(ja===4)for(ja=Kt.return;ja!==null;){var yo=ja.tag;if((yo===3||yo===4)&&(yo=ja.stateNode.containerInfo,yo===Mn||yo.nodeType===8&&yo.parentNode===Mn))return;ja=ja.return}for(;ci!==null;){if(ja=lr(ci),ja===null)return;if(yo=ja.tag,yo===5||yo===6){Kt=Rr=ja;continue e}ci=ci.parentNode}}Kt=Kt.return}zt(function(){var Ho=Rr,sc=hn(Je),Pd=[];e:{var Gc=qi.get(de);if(Gc!==void 0){var Tu=zn,Fd=de;switch(de){case"keypress":if(rt(Je)===0)break e;case"keydown":case"keyup":Tu=gs;break;case"focusin":Fd="focus",Tu=Ya;break;case"focusout":Fd="blur",Tu=Ya;break;case"beforeblur":case"afterblur":Tu=Ya;break;case"click":if(Je.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Tu=Gr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Tu=Mr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Tu=xc;break;case ao:case Zi:case Fi:Tu=Ni;break;case Si:Tu=Ss;break;case"scroll":Tu=da;break;case"wheel":Tu=Mo;break;case"copy":case"cut":case"paste":Tu=ks;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Tu=pc}var Ed=(Ce&4)!=0,is=!Ed&&de==="scroll",ko=Ed?Gc!==null?Gc+"Capture":null:Gc;Ed=[];for(var Wo=Ho,ic;Wo!==null;){ic=Wo;var jc=ic.stateNode;if(ic.tag===5&&jc!==null&&(ic=jc,ko!==null&&(jc=Bt(Wo,ko),jc!=null&&Ed.push(wu(Wo,jc,ic)))),is)break;Wo=Wo.return}0<Ed.length&&(Gc=new Tu(Gc,Fd,null,Je,sc),Pd.push({event:Gc,listeners:Ed}))}}if((Ce&7)==0){e:{if(Gc=de==="mouseover"||de==="pointerover",Tu=de==="mouseout"||de==="pointerout",Gc&&(Ce&16)==0&&(Fd=Je.relatedTarget||Je.fromElement)&&(lr(Fd)||Fd[pn]))break e;if((Tu||Gc)&&(Gc=sc.window===sc?sc:(Gc=sc.ownerDocument)?Gc.defaultView||Gc.parentWindow:window,Tu?(Fd=Je.relatedTarget||Je.toElement,Tu=Ho,Fd=Fd?lr(Fd):null,Fd!==null&&(is=Nn(Fd),Fd!==is||Fd.tag!==5&&Fd.tag!==6)&&(Fd=null)):(Tu=null,Fd=Ho),Tu!==Fd)){if(Ed=Gr,jc="onMouseLeave",ko="onMouseEnter",Wo="mouse",(de==="pointerout"||de==="pointerover")&&(Ed=pc,jc="onPointerLeave",ko="onPointerEnter",Wo="pointer"),is=Tu==null?Gc:Fa(Tu),ic=Fd==null?Gc:Fa(Fd),Gc=new Ed(jc,Wo+"leave",Tu,Je,sc),Gc.target=is,Gc.relatedTarget=ic,jc=null,lr(sc)===Ho&&(Ed=new Ed(ko,Wo+"enter",Fd,Je,sc),Ed.target=ic,Ed.relatedTarget=is,jc=Ed),is=jc,Tu&&Fd)t:{for(Ed=Tu,ko=Fd,Wo=0,ic=Ed;ic;ic=Ud(ic))Wo++;for(ic=0,jc=ko;jc;jc=Ud(jc))ic++;for(;0<Wo-ic;)Ed=Ud(Ed),Wo--;for(;0<ic-Wo;)ko=Ud(ko),ic--;for(;Wo--;){if(Ed===ko||ko!==null&&Ed===ko.alternate)break t;Ed=Ud(Ed),ko=Ud(ko)}Ed=null}else Ed=null;Tu!==null&&Eu(Pd,Gc,Tu,Ed,!1),Fd!==null&&is!==null&&Eu(Pd,is,Fd,Ed,!0)}}e:{if(Gc=Ho?Fa(Ho):window,Tu=Gc.nodeName&&Gc.nodeName.toLowerCase(),Tu==="select"||Tu==="input"&&Gc.type==="file")var Td=Yr;else if(td(Gc))if(ni)Td=ri;else{Td=ua;var Ou=Nr}else(Tu=Gc.nodeName)&&Tu.toLowerCase()==="input"&&(Gc.type==="checkbox"||Gc.type==="radio")&&(Td=ra);if(Td&&(Td=Td(de,Ho))){rl(Pd,Td,Je,sc);break e}Ou&&Ou(de,Gc,Ho),de==="focusout"&&(Ou=Gc._wrapperState)&&Ou.controlled&&Gc.type==="number"&&Ge(Gc,"number",Gc.value)}switch(Ou=Ho?Fa(Ho):window,de){case"focusin":(td(Ou)||Ou.contentEditable==="true")&&(Nc=Ou,Jc=Ho,Fc=null);break;case"focusout":Fc=Jc=Nc=null;break;case"mousedown":Ro=!0;break;case"contextmenu":case"mouseup":case"dragend":Ro=!1,Dl(Pd,Je,sc);break;case"selectionchange":if(Gs)break;case"keydown":case"keyup":Dl(Pd,Je,sc)}var Sd;if(Yc)e:{switch(de){case"compositionstart":var Vd="onCompositionStart";break e;case"compositionend":Vd="onCompositionEnd";break e;case"compositionupdate":Vd="onCompositionUpdate";break e}Vd=void 0}else Pl?Rc(de,Je)&&(Vd="onCompositionEnd"):de==="keydown"&&Je.keyCode===229&&(Vd="onCompositionStart");Vd&&(wl&&Je.locale!=="ko"&&(Pl||Vd!=="onCompositionStart"?Vd==="onCompositionEnd"&&Pl&&(Sd=$t()):(vo=sc,qo="value"in vo?vo.value:vo.textContent,Pl=!0)),Ou=cd(Ho,Vd),0<Ou.length&&(Vd=new Qn(Vd,de,null,Je,sc),Pd.push({event:Vd,listeners:Ou}),Sd?Vd.data=Sd:(Sd=su(Je),Sd!==null&&(Vd.data=Sd)))),(Sd=Cl?al(de,Je):Ml(de,Je))&&(Ho=cd(Ho,"onBeforeInput"),0<Ho.length&&(sc=new Qn("onBeforeInput","beforeinput",null,Je,sc),Pd.push({event:sc,listeners:Ho}),sc.data=Sd))}Ru(Pd,Ce)})}function wu(de,Ce,Je){return{instance:de,listener:Ce,currentTarget:Je}}function cd(de,Ce){for(var Je=Ce+"Capture",Kt=[];de!==null;){var Mn=de,Rr=Mn.stateNode;Mn.tag===5&&Rr!==null&&(Mn=Rr,Rr=Bt(de,Je),Rr!=null&&Kt.unshift(wu(de,Rr,Mn)),Rr=Bt(de,Ce),Rr!=null&&Kt.push(wu(de,Rr,Mn))),de=de.return}return Kt}function Ud(de){if(de===null)return null;do de=de.return;while(de&&de.tag!==5);return de||null}function Eu(de,Ce,Je,Kt,Mn){for(var Rr=Ce._reactName,ja=[];Je!==null&&Je!==Kt;){var ci=Je,yo=ci.alternate,Ho=ci.stateNode;if(yo!==null&&yo===Kt)break;ci.tag===5&&Ho!==null&&(ci=Ho,Mn?(yo=Bt(Je,Rr),yo!=null&&ja.unshift(wu(Je,yo,ci))):Mn||(yo=Bt(Je,Rr),yo!=null&&ja.push(wu(Je,yo,ci)))),Je=Je.return}ja.length!==0&&de.push({event:Ce,listeners:ja})}function El(){}var eu=null,rd=null;function yn(de,Ce){switch(de){case"button":case"input":case"select":case"textarea":return!!Ce.autoFocus}return!1}function Dr(de,Ce){return de==="textarea"||de==="option"||de==="noscript"||typeof Ce.children=="string"||typeof Ce.children=="number"||typeof Ce.dangerouslySetInnerHTML=="object"&&Ce.dangerouslySetInnerHTML!==null&&Ce.dangerouslySetInnerHTML.__html!=null}var Xr=typeof setTimeout=="function"?setTimeout:void 0,Ta=typeof clearTimeout=="function"?clearTimeout:void 0;function Ra(de){de.nodeType===1?de.textContent="":de.nodeType===9&&(de=de.body,de!=null&&(de.textContent=""))}function wi(de){for(;de!=null;de=de.nextSibling){var Ce=de.nodeType;if(Ce===1||Ce===3)break}return de}function mo(de){de=de.previousSibling;for(var Ce=0;de;){if(de.nodeType===8){var Je=de.data;if(Je==="$"||Je==="$!"||Je==="$?"){if(Ce===0)return de;Ce--}else Je==="/$"&&Ce++}de=de.previousSibling}return null}var Yi=0;function Ji(de){return{$$typeof:Le,toString:de,valueOf:de}}var Vs=Math.random().toString(36).slice(2),Jo="__reactFiber$"+Vs,dn="__reactProps$"+Vs,pn="__reactContainer$"+Vs,sr="__reactEvents$"+Vs;function lr(de){var Ce=de[Jo];if(Ce)return Ce;for(var Je=de.parentNode;Je;){if(Ce=Je[pn]||Je[Jo]){if(Je=Ce.alternate,Ce.child!==null||Je!==null&&Je.child!==null)for(de=mo(de);de!==null;){if(Je=de[Jo])return Je;de=mo(de)}return Ce}de=Je,Je=de.parentNode}return null}function _a(de){return de=de[Jo]||de[pn],!de||de.tag!==5&&de.tag!==6&&de.tag!==13&&de.tag!==3?null:de}function Fa(de){if(de.tag===5||de.tag===6)return de.stateNode;throw Error(C(33))}function Va(de){return de[dn]||null}function di(de){var Ce=de[sr];return Ce===void 0&&(Ce=de[sr]=new Set),Ce}var Ci=[],wo=-1;function ho(de){return{current:de}}function Io(de){0>wo||(de.current=Ci[wo],Ci[wo]=null,wo--)}function Fo(de,Ce){wo++,Ci[wo]=de.current,de.current=Ce}var xs={},ms=ho(xs),ys=ho(!1),bs=xs;function Po(de,Ce){var Je=de.type.contextTypes;if(!Je)return xs;var Kt=de.stateNode;if(Kt&&Kt.__reactInternalMemoizedUnmaskedChildContext===Ce)return Kt.__reactInternalMemoizedMaskedChildContext;var Mn={},Rr;for(Rr in Je)Mn[Rr]=Ce[Rr];return Kt&&(de=de.stateNode,de.__reactInternalMemoizedUnmaskedChildContext=Ce,de.__reactInternalMemoizedMaskedChildContext=Mn),Mn}function yr(de){return de=de.childContextTypes,de!=null}function Ls(){Io(ys),Io(ms)}function Zs(de,Ce,Je){if(ms.current!==xs)throw Error(C(168));Fo(ms,Ce),Fo(ys,Je)}function Sc(de,Ce,Je){var Kt=de.stateNode;if(de=Ce.childContextTypes,typeof Kt.getChildContext!="function")return Je;Kt=Kt.getChildContext();for(var Mn in Kt)if(!(Mn in de))throw Error(C(108,ht(Ce)||"Unknown",Mn));return m({},Je,Kt)}function Hs(de){return de=(de=de.stateNode)&&de.__reactInternalMemoizedMergedChildContext||xs,bs=ms.current,Fo(ms,de),Fo(ys,ys.current),!0}function bc(de,Ce,Je){var Kt=de.stateNode;if(!Kt)throw Error(C(169));Je?(de=Sc(de,Ce,bs),Kt.__reactInternalMemoizedMergedChildContext=de,Io(ys),Io(ms),Fo(ms,de)):Io(ys),Fo(ys,Je)}var cr=null,qr=null,yi=O.unstable_runWithPriority,Ki=O.unstable_scheduleCallback,uo=O.unstable_cancelCallback,As=O.unstable_shouldYield,zc=O.unstable_requestPaint,cc=O.unstable_now,fl=O.unstable_getCurrentPriorityLevel,Bc=O.unstable_ImmediatePriority,Gl=O.unstable_UserBlockingPriority,Fl=O.unstable_NormalPriority,pl=O.unstable_LowPriority,gu=O.unstable_IdlePriority,bl={},tu=zc!==void 0?zc:function(){},hl=null,ju=null,il=!1,Mu=cc(),ji=1e4>Mu?cc:function(){return cc()-Mu};function xa(){switch(fl()){case Bc:return 99;case Gl:return 98;case Fl:return 97;case pl:return 96;case gu:return 95;default:throw Error(C(332))}}function as(de){switch(de){case 99:return Bc;case 98:return Gl;case 97:return Fl;case 96:return pl;case 95:return gu;default:throw Error(C(332))}}function ws(de,Ce){return de=as(de),yi(de,Ce)}function Cs(de,Ce,Je){return de=as(de),Ki(de,Ce,Je)}function $o(){if(ju!==null){var de=ju;ju=null,uo(de)}_c()}function _c(){if(!il&&hl!==null){il=!0;var de=0;try{var Ce=hl;ws(99,function(){for(;de<Ce.length;de++){var Je=Ce[de];do Je=Je(!0);while(Je!==null)}}),hl=null}catch(Je){throw hl!==null&&(hl=hl.slice(de+1)),Ki(Bc,$o),Je}finally{il=!1}}}var Lc=ie.ReactCurrentBatchConfig;function Rl(de,Ce){if(de&&de.defaultProps){Ce=m({},Ce),de=de.defaultProps;for(var Je in de)Ce[Je]===void 0&&(Ce[Je]=de[Je]);return Ce}return Ce}var Ol=ho(null),cl=null,au=null,Yu=null;function Od(){Yu=au=cl=null}function Lu(de){var Ce=Ol.current;Io(Ol),de.type._context._currentValue=Ce}function Hd(de,Ce){for(;de!==null;){var Je=de.alternate;if((de.childLanes&Ce)===Ce){if(Je===null||(Je.childLanes&Ce)===Ce)break;Je.childLanes|=Ce}else de.childLanes|=Ce,Je!==null&&(Je.childLanes|=Ce);de=de.return}}function af(de,Ce){cl=de,Yu=au=null,de=de.dependencies,de!==null&&de.firstContext!==null&&((de.lanes&Ce)!=0&&(Vu=!0),de.firstContext=null)}function Gd(de,Ce){if(Yu!==de&&Ce!==!1&&Ce!==0)if((typeof Ce!="number"||Ce===1073741823)&&(Yu=de,Ce=1073741823),Ce={context:de,observedBits:Ce,next:null},au===null){if(cl===null)throw Error(C(308));au=Ce,cl.dependencies={lanes:0,firstContext:Ce,responders:null}}else au=au.next=Ce;return de._currentValue}var Nd=!1;function kd(de){de.updateQueue={baseState:de.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function xf(de,Ce){de=de.updateQueue,Ce.updateQueue===de&&(Ce.updateQueue={baseState:de.baseState,firstBaseUpdate:de.firstBaseUpdate,lastBaseUpdate:de.lastBaseUpdate,shared:de.shared,effects:de.effects})}function Bd(de,Ce){return{eventTime:de,lane:Ce,tag:0,payload:null,callback:null,next:null}}function Fu(de,Ce){if(de=de.updateQueue,de!==null){de=de.shared;var Je=de.pending;Je===null?Ce.next=Ce:(Ce.next=Je.next,Je.next=Ce),de.pending=Ce}}function xd(de,Ce){var Je=de.updateQueue,Kt=de.alternate;if(Kt!==null&&(Kt=Kt.updateQueue,Je===Kt)){var Mn=null,Rr=null;if(Je=Je.firstBaseUpdate,Je!==null){do{var ja={eventTime:Je.eventTime,lane:Je.lane,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};Rr===null?Mn=Rr=ja:Rr=Rr.next=ja,Je=Je.next}while(Je!==null);Rr===null?Mn=Rr=Ce:Rr=Rr.next=Ce}else Mn=Rr=Ce;Je={baseState:Kt.baseState,firstBaseUpdate:Mn,lastBaseUpdate:Rr,shared:Kt.shared,effects:Kt.effects},de.updateQueue=Je;return}de=Je.lastBaseUpdate,de===null?Je.firstBaseUpdate=Ce:de.next=Ce,Je.lastBaseUpdate=Ce}function of(de,Ce,Je,Kt){var Mn=de.updateQueue;Nd=!1;var Rr=Mn.firstBaseUpdate,ja=Mn.lastBaseUpdate,ci=Mn.shared.pending;if(ci!==null){Mn.shared.pending=null;var yo=ci,Ho=yo.next;yo.next=null,ja===null?Rr=Ho:ja.next=Ho,ja=yo;var sc=de.alternate;if(sc!==null){sc=sc.updateQueue;var Pd=sc.lastBaseUpdate;Pd!==ja&&(Pd===null?sc.firstBaseUpdate=Ho:Pd.next=Ho,sc.lastBaseUpdate=yo)}}if(Rr!==null){Pd=Mn.baseState,ja=0,sc=Ho=yo=null;do{ci=Rr.lane;var Gc=Rr.eventTime;if((Kt&ci)===ci){sc!==null&&(sc=sc.next={eventTime:Gc,lane:0,tag:Rr.tag,payload:Rr.payload,callback:Rr.callback,next:null});e:{var Tu=de,Fd=Rr;switch(ci=Ce,Gc=Je,Fd.tag){case 1:if(Tu=Fd.payload,typeof Tu=="function"){Pd=Tu.call(Gc,Pd,ci);break e}Pd=Tu;break e;case 3:Tu.flags=Tu.flags&-4097|64;case 0:if(Tu=Fd.payload,ci=typeof Tu=="function"?Tu.call(Gc,Pd,ci):Tu,ci==null)break e;Pd=m({},Pd,ci);break e;case 2:Nd=!0}}Rr.callback!==null&&(de.flags|=32,ci=Mn.effects,ci===null?Mn.effects=[Rr]:ci.push(Rr))}else Gc={eventTime:Gc,lane:ci,tag:Rr.tag,payload:Rr.payload,callback:Rr.callback,next:null},sc===null?(Ho=sc=Gc,yo=Pd):sc=sc.next=Gc,ja|=ci;if(Rr=Rr.next,Rr===null){if(ci=Mn.shared.pending,ci===null)break;Rr=ci.next,ci.next=null,Mn.lastBaseUpdate=ci,Mn.shared.pending=null}}while(1);sc===null&&(yo=Pd),Mn.baseState=yo,Mn.firstBaseUpdate=Ho,Mn.lastBaseUpdate=sc,rc|=ja,de.lanes=ja,de.memoizedState=Pd}}function ld(de,Ce,Je){if(de=Ce.effects,Ce.effects=null,de!==null)for(Ce=0;Ce<de.length;Ce++){var Kt=de[Ce],Mn=Kt.callback;if(Mn!==null){if(Kt.callback=null,Kt=Je,typeof Mn!="function")throw Error(C(191,Mn));Mn.call(Kt)}}}var cu=new E.Component().refs;function ll(de,Ce,Je,Kt){Ce=de.memoizedState,Je=Je(Kt,Ce),Je=Je==null?Ce:m({},Ce,Je),de.memoizedState=Je,de.lanes===0&&(de.updateQueue.baseState=Je)}var ad={isMounted:function(de){return(de=de._reactInternals)?Nn(de)===de:!1},enqueueSetState:function(de,Ce,Je){de=de._reactInternals;var Kt=Xi(),Mn=ss(de),Rr=Bd(Kt,Mn);Rr.payload=Ce,Je!=null&&(Rr.callback=Je),Fu(de,Rr),ts(de,Mn,Kt)},enqueueReplaceState:function(de,Ce,Je){de=de._reactInternals;var Kt=Xi(),Mn=ss(de),Rr=Bd(Kt,Mn);Rr.tag=1,Rr.payload=Ce,Je!=null&&(Rr.callback=Je),Fu(de,Rr),ts(de,Mn,Kt)},enqueueForceUpdate:function(de,Ce){de=de._reactInternals;var Je=Xi(),Kt=ss(de),Mn=Bd(Je,Kt);Mn.tag=2,Ce!=null&&(Mn.callback=Ce),Fu(de,Mn),ts(de,Kt,Je)}};function Xu(de,Ce,Je,Kt,Mn,Rr,ja){return de=de.stateNode,typeof de.shouldComponentUpdate=="function"?de.shouldComponentUpdate(Kt,Rr,ja):Ce.prototype&&Ce.prototype.isPureReactComponent?!Di(Je,Kt)||!Di(Mn,Rr):!0}function _s(de,Ce,Je){var Kt=!1,Mn=xs,Rr=Ce.contextType;return typeof Rr=="object"&&Rr!==null?Rr=Gd(Rr):(Mn=yr(Ce)?bs:ms.current,Kt=Ce.contextTypes,Rr=(Kt=Kt!=null)?Po(de,Mn):xs),Ce=new Ce(Je,Rr),de.memoizedState=Ce.state!==null&&Ce.state!==void 0?Ce.state:null,Ce.updater=ad,de.stateNode=Ce,Ce._reactInternals=de,Kt&&(de=de.stateNode,de.__reactInternalMemoizedUnmaskedChildContext=Mn,de.__reactInternalMemoizedMaskedChildContext=Rr),Ce}function jl(de,Ce,Je,Kt){de=Ce.state,typeof Ce.componentWillReceiveProps=="function"&&Ce.componentWillReceiveProps(Je,Kt),typeof Ce.UNSAFE_componentWillReceiveProps=="function"&&Ce.UNSAFE_componentWillReceiveProps(Je,Kt),Ce.state!==de&&ad.enqueueReplaceState(Ce,Ce.state,null)}function Uu(de,Ce,Je,Kt){var Mn=de.stateNode;Mn.props=Je,Mn.state=de.memoizedState,Mn.refs=cu,kd(de);var Rr=Ce.contextType;typeof Rr=="object"&&Rr!==null?Mn.context=Gd(Rr):(Rr=yr(Ce)?bs:ms.current,Mn.context=Po(de,Rr)),of(de,Je,Mn,Kt),Mn.state=de.memoizedState,Rr=Ce.getDerivedStateFromProps,typeof Rr=="function"&&(ll(de,Ce,Rr,Je),Mn.state=de.memoizedState),typeof Ce.getDerivedStateFromProps=="function"||typeof Mn.getSnapshotBeforeUpdate=="function"||typeof Mn.UNSAFE_componentWillMount!="function"&&typeof Mn.componentWillMount!="function"||(Ce=Mn.state,typeof Mn.componentWillMount=="function"&&Mn.componentWillMount(),typeof Mn.UNSAFE_componentWillMount=="function"&&Mn.UNSAFE_componentWillMount(),Ce!==Mn.state&&ad.enqueueReplaceState(Mn,Mn.state,null),of(de,Je,Mn,Kt),Mn.state=de.memoizedState),typeof Mn.componentDidMount=="function"&&(de.flags|=4)}var jd=Array.isArray;function Sf(de,Ce,Je){if(de=Je.ref,de!==null&&typeof de!="function"&&typeof de!="object"){if(Je._owner){if(Je=Je._owner,Je){if(Je.tag!==1)throw Error(C(309));var Kt=Je.stateNode}if(!Kt)throw Error(C(147,de));var Mn=""+de;return Ce!==null&&Ce.ref!==null&&typeof Ce.ref=="function"&&Ce.ref._stringRef===Mn?Ce.ref:(Ce=function(Rr){var ja=Kt.refs;ja===cu&&(ja=Kt.refs={}),Rr===null?delete ja[Mn]:ja[Mn]=Rr},Ce._stringRef=Mn,Ce)}if(typeof de!="string")throw Error(C(284));if(!Je._owner)throw Error(C(290,de))}return de}function Af(de,Ce){if(de.type!=="textarea")throw Error(C(31,Object.prototype.toString.call(Ce)==="[object Object]"?"object with keys {"+Object.keys(Ce).join(", ")+"}":Ce))}function mf(de){function Ce(is,ko){if(de){var Wo=is.lastEffect;Wo!==null?(Wo.nextEffect=ko,is.lastEffect=ko):is.firstEffect=is.lastEffect=ko,ko.nextEffect=null,ko.flags=8}}function Je(is,ko){if(!de)return null;for(;ko!==null;)Ce(is,ko),ko=ko.sibling;return null}function Kt(is,ko){for(is=new Map;ko!==null;)ko.key!==null?is.set(ko.key,ko):is.set(ko.index,ko),ko=ko.sibling;return is}function Mn(is,ko){return is=oo(is,ko),is.index=0,is.sibling=null,is}function Rr(is,ko,Wo){return is.index=Wo,de?(Wo=is.alternate,Wo!==null?(Wo=Wo.index,Wo<ko?(is.flags=2,ko):Wo):(is.flags=2,ko)):ko}function ja(is){return de&&is.alternate===null&&(is.flags=2),is}function ci(is,ko,Wo,ic){return ko===null||ko.tag!==6?(ko=Gi(Wo,is.mode,ic),ko.return=is,ko):(ko=Mn(ko,Wo),ko.return=is,ko)}function yo(is,ko,Wo,ic){return ko!==null&&ko.elementType===Wo.type?(ic=Mn(ko,Wo.props),ic.ref=Sf(is,ko,Wo),ic.return=is,ic):(ic=Wa(Wo.type,Wo.key,Wo.props,null,is.mode,ic),ic.ref=Sf(is,ko,Wo),ic.return=is,ic)}function Ho(is,ko,Wo,ic){return ko===null||ko.tag!==4||ko.stateNode.containerInfo!==Wo.containerInfo||ko.stateNode.implementation!==Wo.implementation?(ko=Do(Wo,is.mode,ic),ko.return=is,ko):(ko=Mn(ko,Wo.children||[]),ko.return=is,ko)}function sc(is,ko,Wo,ic,jc){return ko===null||ko.tag!==7?(ko=bi(Wo,is.mode,ic,jc),ko.return=is,ko):(ko=Mn(ko,Wo),ko.return=is,ko)}function Pd(is,ko,Wo){if(typeof ko=="string"||typeof ko=="number")return ko=Gi(""+ko,is.mode,Wo),ko.return=is,ko;if(typeof ko=="object"&&ko!==null){switch(ko.$$typeof){case G:return Wo=Wa(ko.type,ko.key,ko.props,null,is.mode,Wo),Wo.ref=Sf(is,null,ko),Wo.return=is,Wo;case Q:return ko=Do(ko,is.mode,Wo),ko.return=is,ko}if(jd(ko)||ze(ko))return ko=bi(ko,is.mode,Wo,null),ko.return=is,ko;Af(is,ko)}return null}function Gc(is,ko,Wo,ic){var jc=ko!==null?ko.key:null;if(typeof Wo=="string"||typeof Wo=="number")return jc!==null?null:ci(is,ko,""+Wo,ic);if(typeof Wo=="object"&&Wo!==null){switch(Wo.$$typeof){case G:return Wo.key===jc?Wo.type===W?sc(is,ko,Wo.props.children,ic,jc):yo(is,ko,Wo,ic):null;case Q:return Wo.key===jc?Ho(is,ko,Wo,ic):null}if(jd(Wo)||ze(Wo))return jc!==null?null:sc(is,ko,Wo,ic,null);Af(is,Wo)}return null}function Tu(is,ko,Wo,ic,jc){if(typeof ic=="string"||typeof ic=="number")return is=is.get(Wo)||null,ci(ko,is,""+ic,jc);if(typeof ic=="object"&&ic!==null){switch(ic.$$typeof){case G:return is=is.get(ic.key===null?Wo:ic.key)||null,ic.type===W?sc(ko,is,ic.props.children,jc,ic.key):yo(ko,is,ic,jc);case Q:return is=is.get(ic.key===null?Wo:ic.key)||null,Ho(ko,is,ic,jc)}if(jd(ic)||ze(ic))return is=is.get(Wo)||null,sc(ko,is,ic,jc,null);Af(ko,ic)}return null}function Fd(is,ko,Wo,ic){for(var jc=null,Td=null,Ou=ko,Sd=ko=0,Vd=null;Ou!==null&&Sd<Wo.length;Sd++){Ou.index>Sd?(Vd=Ou,Ou=null):Vd=Ou.sibling;var Rd=Gc(is,Ou,Wo[Sd],ic);if(Rd===null){Ou===null&&(Ou=Vd);break}de&&Ou&&Rd.alternate===null&&Ce(is,Ou),ko=Rr(Rd,ko,Sd),Td===null?jc=Rd:Td.sibling=Rd,Td=Rd,Ou=Vd}if(Sd===Wo.length)return Je(is,Ou),jc;if(Ou===null){for(;Sd<Wo.length;Sd++)Ou=Pd(is,Wo[Sd],ic),Ou!==null&&(ko=Rr(Ou,ko,Sd),Td===null?jc=Ou:Td.sibling=Ou,Td=Ou);return jc}for(Ou=Kt(is,Ou);Sd<Wo.length;Sd++)Vd=Tu(Ou,is,Sd,Wo[Sd],ic),Vd!==null&&(de&&Vd.alternate!==null&&Ou.delete(Vd.key===null?Sd:Vd.key),ko=Rr(Vd,ko,Sd),Td===null?jc=Vd:Td.sibling=Vd,Td=Vd);return de&&Ou.forEach(function(Bh){return Ce(is,Bh)}),jc}function Ed(is,ko,Wo,ic){var jc=ze(Wo);if(typeof jc!="function")throw Error(C(150));if(Wo=jc.call(Wo),Wo==null)throw Error(C(151));for(var Td=jc=null,Ou=ko,Sd=ko=0,Vd=null,Rd=Wo.next();Ou!==null&&!Rd.done;Sd++,Rd=Wo.next()){Ou.index>Sd?(Vd=Ou,Ou=null):Vd=Ou.sibling;var Bh=Gc(is,Ou,Rd.value,ic);if(Bh===null){Ou===null&&(Ou=Vd);break}de&&Ou&&Bh.alternate===null&&Ce(is,Ou),ko=Rr(Bh,ko,Sd),Td===null?jc=Bh:Td.sibling=Bh,Td=Bh,Ou=Vd}if(Rd.done)return Je(is,Ou),jc;if(Ou===null){for(;!Rd.done;Sd++,Rd=Wo.next())Rd=Pd(is,Rd.value,ic),Rd!==null&&(ko=Rr(Rd,ko,Sd),Td===null?jc=Rd:Td.sibling=Rd,Td=Rd);return jc}for(Ou=Kt(is,Ou);!Rd.done;Sd++,Rd=Wo.next())Rd=Tu(Ou,is,Sd,Rd.value,ic),Rd!==null&&(de&&Rd.alternate!==null&&Ou.delete(Rd.key===null?Sd:Rd.key),ko=Rr(Rd,ko,Sd),Td===null?jc=Rd:Td.sibling=Rd,Td=Rd);return de&&Ou.forEach(function(Rm){return Ce(is,Rm)}),jc}return function(is,ko,Wo,ic){var jc=typeof Wo=="object"&&Wo!==null&&Wo.type===W&&Wo.key===null;jc&&(Wo=Wo.props.children);var Td=typeof Wo=="object"&&Wo!==null;if(Td)switch(Wo.$$typeof){case G:e:{for(Td=Wo.key,jc=ko;jc!==null;){if(jc.key===Td){switch(jc.tag){case 7:if(Wo.type===W){Je(is,jc.sibling),ko=Mn(jc,Wo.props.children),ko.return=is,is=ko;break e}break;default:if(jc.elementType===Wo.type){Je(is,jc.sibling),ko=Mn(jc,Wo.props),ko.ref=Sf(is,jc,Wo),ko.return=is,is=ko;break e}}Je(is,jc);break}else Ce(is,jc);jc=jc.sibling}Wo.type===W?(ko=bi(Wo.props.children,is.mode,ic,Wo.key),ko.return=is,is=ko):(ic=Wa(Wo.type,Wo.key,Wo.props,null,is.mode,ic),ic.ref=Sf(is,ko,Wo),ic.return=is,is=ic)}return ja(is);case Q:e:{for(jc=Wo.key;ko!==null;){if(ko.key===jc)if(ko.tag===4&&ko.stateNode.containerInfo===Wo.containerInfo&&ko.stateNode.implementation===Wo.implementation){Je(is,ko.sibling),ko=Mn(ko,Wo.children||[]),ko.return=is,is=ko;break e}else{Je(is,ko);break}else Ce(is,ko);ko=ko.sibling}ko=Do(Wo,is.mode,ic),ko.return=is,is=ko}return ja(is)}if(typeof Wo=="string"||typeof Wo=="number")return Wo=""+Wo,ko!==null&&ko.tag===6?(Je(is,ko.sibling),ko=Mn(ko,Wo),ko.return=is,is=ko):(Je(is,ko),ko=Gi(Wo,is.mode,ic),ko.return=is,is=ko),ja(is);if(jd(Wo))return Fd(is,ko,Wo,ic);if(ze(Wo))return Ed(is,ko,Wo,ic);if(Td&&Af(is,Wo),typeof Wo=="undefined"&&!jc)switch(is.tag){case 1:case 22:case 0:case 11:case 15:throw Error(C(152,ht(is.type)||"Component"))}return Je(is,ko)}}var Ld=mf(!0),qd=mf(!1),bu={},$d=ho(bu),Ju=ho(bu),Jd=ho(bu);function Zo(de){if(de===bu)throw Error(C(174));return de}function Vr(de,Ce){switch(Fo(Jd,Ce),Fo(Ju,de),Fo($d,bu),de=Ce.nodeType,de){case 9:case 11:Ce=(Ce=Ce.documentElement)?Ce.namespaceURI:$e(null,"");break;default:de=de===8?Ce.parentNode:Ce,Ce=de.namespaceURI||null,de=de.tagName,Ce=$e(Ce,de)}Io($d),Fo($d,Ce)}function Yo(){Io($d),Io(Ju),Io(Jd)}function Mi(de){Zo(Jd.current);var Ce=Zo($d.current),Je=$e(Ce,de.type);Ce!==Je&&(Fo(Ju,de),Fo($d,Je))}function ds(de){Ju.current===de&&(Io($d),Io(Ju))}var oc=ho(0);function Il(de){for(var Ce=de;Ce!==null;){if(Ce.tag===13){var Je=Ce.memoizedState;if(Je!==null&&(Je=Je.dehydrated,Je===null||Je.data==="$?"||Je.data==="$!"))return Ce}else if(Ce.tag===19&&Ce.memoizedProps.revealOrder!==void 0){if((Ce.flags&64)!=0)return Ce}else if(Ce.child!==null){Ce.child.return=Ce,Ce=Ce.child;continue}if(Ce===de)break;for(;Ce.sibling===null;){if(Ce.return===null||Ce.return===de)return null;Ce=Ce.return}Ce.sibling.return=Ce.return,Ce=Ce.sibling}return null}var pu=null,Nl=null,Du=!1;function vu(de,Ce){var Je=bo(5,null,null,0);Je.elementType="DELETED",Je.type="DELETED",Je.stateNode=Ce,Je.return=de,Je.flags=8,de.lastEffect!==null?(de.lastEffect.nextEffect=Je,de.lastEffect=Je):de.firstEffect=de.lastEffect=Je}function lu(de,Ce){switch(de.tag){case 5:var Je=de.type;return Ce=Ce.nodeType!==1||Je.toLowerCase()!==Ce.nodeName.toLowerCase()?null:Ce,Ce!==null?(de.stateNode=Ce,!0):!1;case 6:return Ce=de.pendingProps===""||Ce.nodeType!==3?null:Ce,Ce!==null?(de.stateNode=Ce,!0):!1;case 13:return!1;default:return!1}}function id(de){if(Du){var Ce=Nl;if(Ce){var Je=Ce;if(!lu(de,Ce)){if(Ce=wi(Je.nextSibling),!Ce||!lu(de,Ce)){de.flags=de.flags&-1025|2,Du=!1,pu=de;return}vu(pu,Je)}pu=de,Nl=wi(Ce.firstChild)}else de.flags=de.flags&-1025|2,Du=!1,pu=de}}function Ws(de){for(de=de.return;de!==null&&de.tag!==5&&de.tag!==3&&de.tag!==13;)de=de.return;pu=de}function re(de){if(de!==pu)return!1;if(!Du)return Ws(de),Du=!0,!1;var Ce=de.type;if(de.tag!==5||Ce!=="head"&&Ce!=="body"&&!Dr(Ce,de.memoizedProps))for(Ce=Nl;Ce;)vu(de,Ce),Ce=wi(Ce.nextSibling);if(Ws(de),de.tag===13){if(de=de.memoizedState,de=de!==null?de.dehydrated:null,!de)throw Error(C(317));e:{for(de=de.nextSibling,Ce=0;de;){if(de.nodeType===8){var Je=de.data;if(Je==="/$"){if(Ce===0){Nl=wi(de.nextSibling);break e}Ce--}else Je!=="$"&&Je!=="$!"&&Je!=="$?"||Ce++}de=de.nextSibling}Nl=null}}else Nl=pu?wi(de.stateNode.nextSibling):null;return!0}function Ae(){Nl=pu=null,Du=!1}var ct=[];function wt(){for(var de=0;de<ct.length;de++)ct[de]._workInProgressVersionPrimary=null;ct.length=0}var an=ie.ReactCurrentDispatcher,jr=ie.ReactCurrentBatchConfig,Xa=0,fs=null,Xs=null,Uc=null,zl=!1,Bu=!1;function ud(){throw Error(C(321))}function Mp(de,Ce){if(Ce===null)return!1;for(var Je=0;Je<Ce.length&&Je<de.length;Je++)if(!hi(de[Je],Ce[Je]))return!1;return!0}function ev(de,Ce,Je,Kt,Mn,Rr){if(Xa=Rr,fs=Ce,Ce.memoizedState=null,Ce.updateQueue=null,Ce.lanes=0,an.current=de===null||de.memoizedState===null?ol:Md,de=Je(Kt,Mn),Bu){Rr=0;do{if(Bu=!1,!(25>Rr))throw Error(C(301));Rr+=1,Uc=Xs=null,Ce.updateQueue=null,an.current=Ff,de=Je(Kt,Mn)}while(Bu)}if(an.current=Gu,Ce=Xs!==null&&Xs.next!==null,Xa=0,Uc=Xs=fs=null,zl=!1,Ce)throw Error(C(300));return de}function Rn(){var de={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Uc===null?fs.memoizedState=Uc=de:Uc=Uc.next=de,Uc}function St(){if(Xs===null){var de=fs.alternate;de=de!==null?de.memoizedState:null}else de=Xs.next;var Ce=Uc===null?fs.memoizedState:Uc.next;if(Ce!==null)Uc=Ce,Xs=de;else{if(de===null)throw Error(C(310));Xs=de,de={memoizedState:Xs.memoizedState,baseState:Xs.baseState,baseQueue:Xs.baseQueue,queue:Xs.queue,next:null},Uc===null?fs.memoizedState=Uc=de:Uc=Uc.next=de}return Uc}function on(de,Ce){return typeof Ce=="function"?Ce(de):Ce}function Dn(de){var Ce=St(),Je=Ce.queue;if(Je===null)throw Error(C(311));Je.lastRenderedReducer=de;var Kt=Xs,Mn=Kt.baseQueue,Rr=Je.pending;if(Rr!==null){if(Mn!==null){var ja=Mn.next;Mn.next=Rr.next,Rr.next=ja}Kt.baseQueue=Mn=Rr,Je.pending=null}if(Mn!==null){Mn=Mn.next,Kt=Kt.baseState;var ci=ja=Rr=null,yo=Mn;do{var Ho=yo.lane;if((Xa&Ho)===Ho)ci!==null&&(ci=ci.next={lane:0,action:yo.action,eagerReducer:yo.eagerReducer,eagerState:yo.eagerState,next:null}),Kt=yo.eagerReducer===de?yo.eagerState:de(Kt,yo.action);else{var sc={lane:Ho,action:yo.action,eagerReducer:yo.eagerReducer,eagerState:yo.eagerState,next:null};ci===null?(ja=ci=sc,Rr=Kt):ci=ci.next=sc,fs.lanes|=Ho,rc|=Ho}yo=yo.next}while(yo!==null&&yo!==Mn);ci===null?Rr=Kt:ci.next=ja,hi(Kt,Ce.memoizedState)||(Vu=!0),Ce.memoizedState=Kt,Ce.baseState=Rr,Ce.baseQueue=ci,Je.lastRenderedState=Kt}return[Ce.memoizedState,Je.dispatch]}function aa(de){var Ce=St(),Je=Ce.queue;if(Je===null)throw Error(C(311));Je.lastRenderedReducer=de;var Kt=Je.dispatch,Mn=Je.pending,Rr=Ce.memoizedState;if(Mn!==null){Je.pending=null;var ja=Mn=Mn.next;do Rr=de(Rr,ja.action),ja=ja.next;while(ja!==Mn);hi(Rr,Ce.memoizedState)||(Vu=!0),Ce.memoizedState=Rr,Ce.baseQueue===null&&(Ce.baseState=Rr),Je.lastRenderedState=Rr}return[Rr,Kt]}function oa(de,Ce,Je){var Kt=Ce._getVersion;Kt=Kt(Ce._source);var Mn=Ce._workInProgressVersionPrimary;if(Mn!==null?de=Mn===Kt:(de=de.mutableReadLanes,(de=(Xa&de)===de)&&(Ce._workInProgressVersionPrimary=Kt,ct.push(Ce))),de)return Je(Ce._source);throw ct.push(Ce),Error(C(350))}function Jr(de,Ce,Je,Kt){var Mn=_r;if(Mn===null)throw Error(C(349));var Rr=Ce._getVersion,ja=Rr(Ce._source),ci=an.current,yo=ci.useState(function(){return oa(Mn,Ce,Je)}),Ho=yo[1],sc=yo[0];yo=Uc;var Pd=de.memoizedState,Gc=Pd.refs,Tu=Gc.getSnapshot,Fd=Pd.source;Pd=Pd.subscribe;var Ed=fs;return de.memoizedState={refs:Gc,source:Ce,subscribe:Kt},ci.useEffect(function(){Gc.getSnapshot=Je,Gc.setSnapshot=Ho;var is=Rr(Ce._source);if(!hi(ja,is)){is=Je(Ce._source),hi(sc,is)||(Ho(is),is=ss(Ed),Mn.mutableReadLanes|=is&Mn.pendingLanes),is=Mn.mutableReadLanes,Mn.entangledLanes|=is;for(var ko=Mn.entanglements,Wo=is;0<Wo;){var ic=31-Kr(Wo),jc=1<<ic;ko[ic]|=is,Wo&=~jc}}},[Je,Ce,Kt]),ci.useEffect(function(){return Kt(Ce._source,function(){var is=Gc.getSnapshot,ko=Gc.setSnapshot;try{ko(is(Ce._source));var Wo=ss(Ed);Mn.mutableReadLanes|=Wo&Mn.pendingLanes}catch(ic){ko(function(){throw ic})}})},[Ce,Kt]),hi(Tu,Je)&&hi(Fd,Ce)&&hi(Pd,Kt)||(de={pending:null,dispatch:null,lastRenderedReducer:on,lastRenderedState:sc},de.dispatch=Ho=Cd.bind(null,fs,de),yo.queue=de,yo.baseQueue=null,sc=oa(Mn,Ce,Je),yo.memoizedState=yo.baseState=sc),sc}function Ia(de,Ce,Je){var Kt=St();return Jr(Kt,de,Ce,Je)}function Li(de){var Ce=Rn();return typeof de=="function"&&(de=de()),Ce.memoizedState=Ce.baseState=de,de=Ce.queue={pending:null,dispatch:null,lastRenderedReducer:on,lastRenderedState:de},de=de.dispatch=Cd.bind(null,fs,de),[Ce.memoizedState,de]}function no(de,Ce,Je,Kt){return de={tag:de,create:Ce,destroy:Je,deps:Kt,next:null},Ce=fs.updateQueue,Ce===null?(Ce={lastEffect:null},fs.updateQueue=Ce,Ce.lastEffect=de.next=de):(Je=Ce.lastEffect,Je===null?Ce.lastEffect=de.next=de:(Kt=Je.next,Je.next=de,de.next=Kt,Ce.lastEffect=de)),de}function es(de){var Ce=Rn();return de={current:de},Ce.memoizedState=de}function Bo(){return St().memoizedState}function Uo(de,Ce,Je,Kt){var Mn=Rn();fs.flags|=de,Mn.memoizedState=no(1|Ce,Je,void 0,Kt===void 0?null:Kt)}function Dc(de,Ce,Je,Kt){var Mn=St();Kt=Kt===void 0?null:Kt;var Rr=void 0;if(Xs!==null){var ja=Xs.memoizedState;if(Rr=ja.destroy,Kt!==null&&Mp(Kt,ja.deps)){no(Ce,Je,Rr,Kt);return}}fs.flags|=de,Mn.memoizedState=no(1|Ce,Je,Rr,Kt)}function nc(de,Ce){return Uo(516,4,de,Ce)}function Ms(de,Ce){return Dc(516,4,de,Ce)}function Eo(de,Ce){return Dc(4,2,de,Ce)}function Is(de,Ce){if(typeof Ce=="function")return de=de(),Ce(de),function(){Ce(null)};if(Ce!=null)return de=de(),Ce.current=de,function(){Ce.current=null}}function $s(de,Ce,Je){return Je=Je!=null?Je.concat([de]):null,Dc(4,2,Is.bind(null,Ce,de),Je)}function _l(){}function Wl(de,Ce){var Je=St();Ce=Ce===void 0?null:Ce;var Kt=Je.memoizedState;return Kt!==null&&Ce!==null&&Mp(Ce,Kt[1])?Kt[0]:(Je.memoizedState=[de,Ce],de)}function Hu(de,Ce){var Je=St();Ce=Ce===void 0?null:Ce;var Kt=Je.memoizedState;return Kt!==null&&Ce!==null&&Mp(Ce,Kt[1])?Kt[0]:(de=de(),Je.memoizedState=[de,Ce],de)}function gd(de,Ce){var Je=xa();ws(98>Je?98:Je,function(){de(!0)}),ws(97<Je?97:Je,function(){var Kt=jr.transition;jr.transition=1;try{de(!1),Ce()}finally{jr.transition=Kt}})}function Cd(de,Ce,Je){var Kt=Xi(),Mn=ss(de),Rr={lane:Mn,action:Je,eagerReducer:null,eagerState:null,next:null},ja=Ce.pending;if(ja===null?Rr.next=Rr:(Rr.next=ja.next,ja.next=Rr),Ce.pending=Rr,ja=de.alternate,de===fs||ja!==null&&ja===fs)Bu=zl=!0;else{if(de.lanes===0&&(ja===null||ja.lanes===0)&&(ja=Ce.lastRenderedReducer,ja!==null))try{var ci=Ce.lastRenderedState,yo=ja(ci,Je);if(Rr.eagerReducer=ja,Rr.eagerState=yo,hi(yo,ci))return}catch(Ho){}finally{}ts(de,Mn,Kt)}}var Gu={readContext:Gd,useCallback:ud,useContext:ud,useEffect:ud,useImperativeHandle:ud,useLayoutEffect:ud,useMemo:ud,useReducer:ud,useRef:ud,useState:ud,useDebugValue:ud,useDeferredValue:ud,useTransition:ud,useMutableSource:ud,useOpaqueIdentifier:ud,unstable_isNewReconciler:!1},ol={readContext:Gd,useCallback:function(de,Ce){return Rn().memoizedState=[de,Ce===void 0?null:Ce],de},useContext:Gd,useEffect:nc,useImperativeHandle:function(de,Ce,Je){return Je=Je!=null?Je.concat([de]):null,Uo(4,2,Is.bind(null,Ce,de),Je)},useLayoutEffect:function(de,Ce){return Uo(4,2,de,Ce)},useMemo:function(de,Ce){var Je=Rn();return Ce=Ce===void 0?null:Ce,de=de(),Je.memoizedState=[de,Ce],de},useReducer:function(de,Ce,Je){var Kt=Rn();return Ce=Je!==void 0?Je(Ce):Ce,Kt.memoizedState=Kt.baseState=Ce,de=Kt.queue={pending:null,dispatch:null,lastRenderedReducer:de,lastRenderedState:Ce},de=de.dispatch=Cd.bind(null,fs,de),[Kt.memoizedState,de]},useRef:es,useState:Li,useDebugValue:_l,useDeferredValue:function(de){var Ce=Li(de),Je=Ce[0],Kt=Ce[1];return nc(function(){var Mn=jr.transition;jr.transition=1;try{Kt(de)}finally{jr.transition=Mn}},[de]),Je},useTransition:function(){var de=Li(!1),Ce=de[0];return de=gd.bind(null,de[1]),es(de),[de,Ce]},useMutableSource:function(de,Ce,Je){var Kt=Rn();return Kt.memoizedState={refs:{getSnapshot:Ce,setSnapshot:null},source:de,subscribe:Je},Jr(Kt,de,Ce,Je)},useOpaqueIdentifier:function(){if(Du){var de=!1,Ce=Ji(function(){throw de||(de=!0,Je("r:"+(Yi++).toString(36))),Error(C(355))}),Je=Li(Ce)[1];return(fs.mode&2)==0&&(fs.flags|=516,no(5,function(){Je("r:"+(Yi++).toString(36))},void 0,null)),Ce}return Ce="r:"+(Yi++).toString(36),Li(Ce),Ce},unstable_isNewReconciler:!1},Md={readContext:Gd,useCallback:Wl,useContext:Gd,useEffect:Ms,useImperativeHandle:$s,useLayoutEffect:Eo,useMemo:Hu,useReducer:Dn,useRef:Bo,useState:function(){return Dn(on)},useDebugValue:_l,useDeferredValue:function(de){var Ce=Dn(on),Je=Ce[0],Kt=Ce[1];return Ms(function(){var Mn=jr.transition;jr.transition=1;try{Kt(de)}finally{jr.transition=Mn}},[de]),Je},useTransition:function(){var de=Dn(on)[0];return[Bo().current,de]},useMutableSource:Ia,useOpaqueIdentifier:function(){return Dn(on)[0]},unstable_isNewReconciler:!1},Ff={readContext:Gd,useCallback:Wl,useContext:Gd,useEffect:Ms,useImperativeHandle:$s,useLayoutEffect:Eo,useMemo:Hu,useReducer:aa,useRef:Bo,useState:function(){return aa(on)},useDebugValue:_l,useDeferredValue:function(de){var Ce=aa(on),Je=Ce[0],Kt=Ce[1];return Ms(function(){var Mn=jr.transition;jr.transition=1;try{Kt(de)}finally{jr.transition=Mn}},[de]),Je},useTransition:function(){var de=aa(on)[0];return[Bo().current,de]},useMutableSource:Ia,useOpaqueIdentifier:function(){return aa(on)[0]},unstable_isNewReconciler:!1},pp=ie.ReactCurrentOwner,Vu=!1;function lf(de,Ce,Je,Kt){Ce.child=de===null?qd(Ce,null,Je,Kt):Ld(Ce,de.child,Je,Kt)}function cp(de,Ce,Je,Kt,Mn){Je=Je.render;var Rr=Ce.ref;return af(Ce,Mn),Kt=ev(de,Ce,Je,Kt,Rr,Mn),de!==null&&!Vu?(Ce.updateQueue=de.updateQueue,Ce.flags&=-517,de.lanes&=~Mn,Pp(de,Ce,Mn)):(Ce.flags|=1,lf(de,Ce,Kt,Mn),Ce.child)}function Gf(de,Ce,Je,Kt,Mn,Rr){if(de===null){var ja=Je.type;return typeof ja=="function"&&!Hi(ja)&&ja.defaultProps===void 0&&Je.compare===null&&Je.defaultProps===void 0?(Ce.tag=15,Ce.type=ja,wp(de,Ce,ja,Kt,Mn,Rr)):(de=Wa(Je.type,null,Kt,Ce,Ce.mode,Rr),de.ref=Ce.ref,de.return=Ce,Ce.child=de)}return ja=de.child,(Mn&Rr)==0&&(Mn=ja.memoizedProps,Je=Je.compare,Je=Je!==null?Je:Di,Je(Mn,Kt)&&de.ref===Ce.ref)?Pp(de,Ce,Rr):(Ce.flags|=1,de=oo(ja,Kt),de.ref=Ce.ref,de.return=Ce,Ce.child=de)}function wp(de,Ce,Je,Kt,Mn,Rr){if(de!==null&&Di(de.memoizedProps,Kt)&&de.ref===Ce.ref)if(Vu=!1,(Rr&Mn)!=0)(de.flags&16384)!=0&&(Vu=!0);else return Ce.lanes=de.lanes,Pp(de,Ce,Rr);return vp(de,Ce,Je,Kt,Rr)}function Tp(de,Ce,Je){var Kt=Ce.pendingProps,Mn=Kt.children,Rr=de!==null?de.memoizedState:null;if(Kt.mode==="hidden"||Kt.mode==="unstable-defer-without-hiding")if((Ce.mode&4)==0)Ce.memoizedState={baseLanes:0},dd(Ce,Je);else if((Je&1073741824)!=0)Ce.memoizedState={baseLanes:0},dd(Ce,Rr!==null?Rr.baseLanes:Je);else return de=Rr!==null?Rr.baseLanes|Je:Je,Ce.lanes=Ce.childLanes=1073741824,Ce.memoizedState={baseLanes:de},dd(Ce,de),null;else Rr!==null?(Kt=Rr.baseLanes|Je,Ce.memoizedState=null):Kt=Je,dd(Ce,Kt);return lf(de,Ce,Mn,Je),Ce.child}function lp(de,Ce){var Je=Ce.ref;(de===null&&Je!==null||de!==null&&de.ref!==Je)&&(Ce.flags|=128)}function vp(de,Ce,Je,Kt,Mn){var Rr=yr(Je)?bs:ms.current;return Rr=Po(Ce,Rr),af(Ce,Mn),Je=ev(de,Ce,Je,Kt,Rr,Mn),de!==null&&!Vu?(Ce.updateQueue=de.updateQueue,Ce.flags&=-517,de.lanes&=~Mn,Pp(de,Ce,Mn)):(Ce.flags|=1,lf(de,Ce,Je,Mn),Ce.child)}function Uv(de,Ce,Je,Kt,Mn){if(yr(Je)){var Rr=!0;Hs(Ce)}else Rr=!1;if(af(Ce,Mn),Ce.stateNode===null)de!==null&&(de.alternate=null,Ce.alternate=null,Ce.flags|=2),_s(Ce,Je,Kt),Uu(Ce,Je,Kt,Mn),Kt=!0;else if(de===null){var ja=Ce.stateNode,ci=Ce.memoizedProps;ja.props=ci;var yo=ja.context,Ho=Je.contextType;typeof Ho=="object"&&Ho!==null?Ho=Gd(Ho):(Ho=yr(Je)?bs:ms.current,Ho=Po(Ce,Ho));var sc=Je.getDerivedStateFromProps,Pd=typeof sc=="function"||typeof ja.getSnapshotBeforeUpdate=="function";Pd||typeof ja.UNSAFE_componentWillReceiveProps!="function"&&typeof ja.componentWillReceiveProps!="function"||(ci!==Kt||yo!==Ho)&&jl(Ce,ja,Kt,Ho),Nd=!1;var Gc=Ce.memoizedState;ja.state=Gc,of(Ce,Kt,ja,Mn),yo=Ce.memoizedState,ci!==Kt||Gc!==yo||ys.current||Nd?(typeof sc=="function"&&(ll(Ce,Je,sc,Kt),yo=Ce.memoizedState),(ci=Nd||Xu(Ce,Je,ci,Kt,Gc,yo,Ho))?(Pd||typeof ja.UNSAFE_componentWillMount!="function"&&typeof ja.componentWillMount!="function"||(typeof ja.componentWillMount=="function"&&ja.componentWillMount(),typeof ja.UNSAFE_componentWillMount=="function"&&ja.UNSAFE_componentWillMount()),typeof ja.componentDidMount=="function"&&(Ce.flags|=4)):(typeof ja.componentDidMount=="function"&&(Ce.flags|=4),Ce.memoizedProps=Kt,Ce.memoizedState=yo),ja.props=Kt,ja.state=yo,ja.context=Ho,Kt=ci):(typeof ja.componentDidMount=="function"&&(Ce.flags|=4),Kt=!1)}else{ja=Ce.stateNode,xf(de,Ce),ci=Ce.memoizedProps,Ho=Ce.type===Ce.elementType?ci:Rl(Ce.type,ci),ja.props=Ho,Pd=Ce.pendingProps,Gc=ja.context,yo=Je.contextType,typeof yo=="object"&&yo!==null?yo=Gd(yo):(yo=yr(Je)?bs:ms.current,yo=Po(Ce,yo));var Tu=Je.getDerivedStateFromProps;(sc=typeof Tu=="function"||typeof ja.getSnapshotBeforeUpdate=="function")||typeof ja.UNSAFE_componentWillReceiveProps!="function"&&typeof ja.componentWillReceiveProps!="function"||(ci!==Pd||Gc!==yo)&&jl(Ce,ja,Kt,yo),Nd=!1,Gc=Ce.memoizedState,ja.state=Gc,of(Ce,Kt,ja,Mn);var Fd=Ce.memoizedState;ci!==Pd||Gc!==Fd||ys.current||Nd?(typeof Tu=="function"&&(ll(Ce,Je,Tu,Kt),Fd=Ce.memoizedState),(Ho=Nd||Xu(Ce,Je,Ho,Kt,Gc,Fd,yo))?(sc||typeof ja.UNSAFE_componentWillUpdate!="function"&&typeof ja.componentWillUpdate!="function"||(typeof ja.componentWillUpdate=="function"&&ja.componentWillUpdate(Kt,Fd,yo),typeof ja.UNSAFE_componentWillUpdate=="function"&&ja.UNSAFE_componentWillUpdate(Kt,Fd,yo)),typeof ja.componentDidUpdate=="function"&&(Ce.flags|=4),typeof ja.getSnapshotBeforeUpdate=="function"&&(Ce.flags|=256)):(typeof ja.componentDidUpdate!="function"||ci===de.memoizedProps&&Gc===de.memoizedState||(Ce.flags|=4),typeof ja.getSnapshotBeforeUpdate!="function"||ci===de.memoizedProps&&Gc===de.memoizedState||(Ce.flags|=256),Ce.memoizedProps=Kt,Ce.memoizedState=Fd),ja.props=Kt,ja.state=Fd,ja.context=yo,Kt=Ho):(typeof ja.componentDidUpdate!="function"||ci===de.memoizedProps&&Gc===de.memoizedState||(Ce.flags|=4),typeof ja.getSnapshotBeforeUpdate!="function"||ci===de.memoizedProps&&Gc===de.memoizedState||(Ce.flags|=256),Kt=!1)}return tv(de,Ce,Je,Kt,Rr,Mn)}function tv(de,Ce,Je,Kt,Mn,Rr){lp(de,Ce);var ja=(Ce.flags&64)!=0;if(!Kt&&!ja)return Mn&&bc(Ce,Je,!1),Pp(de,Ce,Rr);Kt=Ce.stateNode,pp.current=Ce;var ci=ja&&typeof Je.getDerivedStateFromError!="function"?null:Kt.render();return Ce.flags|=1,de!==null&&ja?(Ce.child=Ld(Ce,de.child,null,Rr),Ce.child=Ld(Ce,null,ci,Rr)):lf(de,Ce,ci,Rr),Ce.memoizedState=Kt.state,Mn&&bc(Ce,Je,!0),Ce.child}function ph(de){var Ce=de.stateNode;Ce.pendingContext?Zs(de,Ce.pendingContext,Ce.pendingContext!==Ce.context):Ce.context&&Zs(de,Ce.context,!1),Vr(de,Ce.containerInfo)}var up={dehydrated:null,retryLane:0};function Xv(de,Ce,Je){var Kt=Ce.pendingProps,Mn=oc.current,Rr=!1,ja;return(ja=(Ce.flags&64)!=0)||(ja=de!==null&&de.memoizedState===null?!1:(Mn&2)!=0),ja?(Rr=!0,Ce.flags&=-65):de!==null&&de.memoizedState===null||Kt.fallback===void 0||Kt.unstable_avoidThisFallback===!0||(Mn|=1),Fo(oc,Mn&1),de===null?(Kt.fallback!==void 0&&id(Ce),de=Kt.children,Mn=Kt.fallback,Rr?(de=Fh(Ce,de,Mn,Je),Ce.child.memoizedState={baseLanes:Je},Ce.memoizedState=up,de):typeof Kt.unstable_expectedLoadTime=="number"?(de=Fh(Ce,de,Mn,Je),Ce.child.memoizedState={baseLanes:Je},Ce.memoizedState=up,Ce.lanes=33554432,de):(Je=Ba({mode:"visible",children:de},Ce.mode,Je,null),Je.return=Ce,Ce.child=Je)):de.memoizedState!==null?Rr?(Kt=kf(de,Ce,Kt.children,Kt.fallback,Je),Rr=Ce.child,Mn=de.child.memoizedState,Rr.memoizedState=Mn===null?{baseLanes:Je}:{baseLanes:Mn.baseLanes|Je},Rr.childLanes=de.childLanes&~Je,Ce.memoizedState=up,Kt):(Je=hp(de,Ce,Kt.children,Je),Ce.memoizedState=null,Je):Rr?(Kt=kf(de,Ce,Kt.children,Kt.fallback,Je),Rr=Ce.child,Mn=de.child.memoizedState,Rr.memoizedState=Mn===null?{baseLanes:Je}:{baseLanes:Mn.baseLanes|Je},Rr.childLanes=de.childLanes&~Je,Ce.memoizedState=up,Kt):(Je=hp(de,Ce,Kt.children,Je),Ce.memoizedState=null,Je)}function Fh(de,Ce,Je,Kt){var Mn=de.mode,Rr=de.child;return Ce={mode:"hidden",children:Ce},(Mn&2)==0&&Rr!==null?(Rr.childLanes=0,Rr.pendingProps=Ce):Rr=Ba(Ce,Mn,0,null),Je=bi(Je,Mn,Kt,null),Rr.return=de,Je.return=de,Rr.sibling=Je,de.child=Rr,Je}function hp(de,Ce,Je,Kt){var Mn=de.child;return de=Mn.sibling,Je=oo(Mn,{mode:"visible",children:Je}),(Ce.mode&2)==0&&(Je.lanes=Kt),Je.return=Ce,Je.sibling=null,de!==null&&(de.nextEffect=null,de.flags=8,Ce.firstEffect=Ce.lastEffect=de),Ce.child=Je}function kf(de,Ce,Je,Kt,Mn){var Rr=Ce.mode,ja=de.child;de=ja.sibling;var ci={mode:"hidden",children:Je};return(Rr&2)==0&&Ce.child!==ja?(Je=Ce.child,Je.childLanes=0,Je.pendingProps=ci,ja=Je.lastEffect,ja!==null?(Ce.firstEffect=Je.firstEffect,Ce.lastEffect=ja,ja.nextEffect=null):Ce.firstEffect=Ce.lastEffect=null):Je=oo(ja,ci),de!==null?Kt=oo(de,Kt):(Kt=bi(Kt,Rr,Mn,null),Kt.flags|=2),Kt.return=Ce,Je.return=Ce,Je.sibling=Kt,Ce.child=Je,Kt}function Df(de,Ce){de.lanes|=Ce;var Je=de.alternate;Je!==null&&(Je.lanes|=Ce),Hd(de.return,Ce)}function Bv(de,Ce,Je,Kt,Mn,Rr){var ja=de.memoizedState;ja===null?de.memoizedState={isBackwards:Ce,rendering:null,renderingStartTime:0,last:Kt,tail:Je,tailMode:Mn,lastEffect:Rr}:(ja.isBackwards=Ce,ja.rendering=null,ja.renderingStartTime=0,ja.last=Kt,ja.tail=Je,ja.tailMode=Mn,ja.lastEffect=Rr)}function Sv(de,Ce,Je){var Kt=Ce.pendingProps,Mn=Kt.revealOrder,Rr=Kt.tail;if(lf(de,Ce,Kt.children,Je),Kt=oc.current,(Kt&2)!=0)Kt=Kt&1|2,Ce.flags|=64;else{if(de!==null&&(de.flags&64)!=0)e:for(de=Ce.child;de!==null;){if(de.tag===13)de.memoizedState!==null&&Df(de,Je);else if(de.tag===19)Df(de,Je);else if(de.child!==null){de.child.return=de,de=de.child;continue}if(de===Ce)break e;for(;de.sibling===null;){if(de.return===null||de.return===Ce)break e;de=de.return}de.sibling.return=de.return,de=de.sibling}Kt&=1}if(Fo(oc,Kt),(Ce.mode&2)==0)Ce.memoizedState=null;else switch(Mn){case"forwards":for(Je=Ce.child,Mn=null;Je!==null;)de=Je.alternate,de!==null&&Il(de)===null&&(Mn=Je),Je=Je.sibling;Je=Mn,Je===null?(Mn=Ce.child,Ce.child=null):(Mn=Je.sibling,Je.sibling=null),Bv(Ce,!1,Mn,Je,Rr,Ce.lastEffect);break;case"backwards":for(Je=null,Mn=Ce.child,Ce.child=null;Mn!==null;){if(de=Mn.alternate,de!==null&&Il(de)===null){Ce.child=Mn;break}de=Mn.sibling,Mn.sibling=Je,Je=Mn,Mn=de}Bv(Ce,!0,Je,null,Rr,Ce.lastEffect);break;case"together":Bv(Ce,!1,null,null,void 0,Ce.lastEffect);break;default:Ce.memoizedState=null}return Ce.child}function Pp(de,Ce,Je){if(de!==null&&(Ce.dependencies=de.dependencies),rc|=Ce.lanes,(Je&Ce.childLanes)!=0){if(de!==null&&Ce.child!==de.child)throw Error(C(153));if(Ce.child!==null){for(de=Ce.child,Je=oo(de,de.pendingProps),Ce.child=Je,Je.return=Ce;de.sibling!==null;)de=de.sibling,Je=Je.sibling=oo(de,de.pendingProps),Je.return=Ce;Je.sibling=null}return Ce.child}return null}var wv,Qf,lv,nv;wv=function(de,Ce){for(var Je=Ce.child;Je!==null;){if(Je.tag===5||Je.tag===6)de.appendChild(Je.stateNode);else if(Je.tag!==4&&Je.child!==null){Je.child.return=Je,Je=Je.child;continue}if(Je===Ce)break;for(;Je.sibling===null;){if(Je.return===null||Je.return===Ce)return;Je=Je.return}Je.sibling.return=Je.return,Je=Je.sibling}},Qf=function(){},lv=function(de,Ce,Je,Kt){var Mn=de.memoizedProps;if(Mn!==Kt){de=Ce.stateNode,Zo($d.current);var Rr=null;switch(Je){case"input":Mn=vt(de,Mn),Kt=vt(de,Kt),Rr=[];break;case"option":Mn=bt(de,Mn),Kt=bt(de,Kt),Rr=[];break;case"select":Mn=m({},Mn,{value:void 0}),Kt=m({},Kt,{value:void 0}),Rr=[];break;case"textarea":Mn=at(de,Mn),Kt=at(de,Kt),Rr=[];break;default:typeof Mn.onClick!="function"&&typeof Kt.onClick=="function"&&(de.onclick=El)}cn(Je,Kt);var ja;Je=null;for(Ho in Mn)if(!Kt.hasOwnProperty(Ho)&&Mn.hasOwnProperty(Ho)&&Mn[Ho]!=null)if(Ho==="style"){var ci=Mn[Ho];for(ja in ci)ci.hasOwnProperty(ja)&&(Je||(Je={}),Je[ja]="")}else Ho!=="dangerouslySetInnerHTML"&&Ho!=="children"&&Ho!=="suppressContentEditableWarning"&&Ho!=="suppressHydrationWarning"&&Ho!=="autoFocus"&&(A.hasOwnProperty(Ho)?Rr||(Rr=[]):(Rr=Rr||[]).push(Ho,null));for(Ho in Kt){var yo=Kt[Ho];if(ci=Mn!=null?Mn[Ho]:void 0,Kt.hasOwnProperty(Ho)&&yo!==ci&&(yo!=null||ci!=null))if(Ho==="style")if(ci){for(ja in ci)!ci.hasOwnProperty(ja)||yo&&yo.hasOwnProperty(ja)||(Je||(Je={}),Je[ja]="");for(ja in yo)yo.hasOwnProperty(ja)&&ci[ja]!==yo[ja]&&(Je||(Je={}),Je[ja]=yo[ja])}else Je||(Rr||(Rr=[]),Rr.push(Ho,Je)),Je=yo;else Ho==="dangerouslySetInnerHTML"?(yo=yo?yo.__html:void 0,ci=ci?ci.__html:void 0,yo!=null&&ci!==yo&&(Rr=Rr||[]).push(Ho,yo)):Ho==="children"?typeof yo!="string"&&typeof yo!="number"||(Rr=Rr||[]).push(Ho,""+yo):Ho!=="suppressContentEditableWarning"&&Ho!=="suppressHydrationWarning"&&(A.hasOwnProperty(Ho)?(yo!=null&&Ho==="onScroll"&&Hl("scroll",de),Rr||ci===yo||(Rr=[])):typeof yo=="object"&&yo!==null&&yo.$$typeof===Le?yo.toString():(Rr=Rr||[]).push(Ho,yo))}Je&&(Rr=Rr||[]).push("style",Je);var Ho=Rr;(Ce.updateQueue=Ho)&&(Ce.flags|=4)}},nv=function(de,Ce,Je,Kt){Je!==Kt&&(Ce.flags|=4)};function Hp(de,Ce){if(!Du)switch(de.tailMode){case"hidden":Ce=de.tail;for(var Je=null;Ce!==null;)Ce.alternate!==null&&(Je=Ce),Ce=Ce.sibling;Je===null?de.tail=null:Je.sibling=null;break;case"collapsed":Je=de.tail;for(var Kt=null;Je!==null;)Je.alternate!==null&&(Kt=Je),Je=Je.sibling;Kt===null?Ce||de.tail===null?de.tail=null:de.tail.sibling=null:Kt.sibling=null}}function Tv(de,Ce,Je){var Kt=Ce.pendingProps;switch(Ce.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yr(Ce.type)&&Ls(),null;case 3:return Yo(),Io(ys),Io(ms),wt(),Kt=Ce.stateNode,Kt.pendingContext&&(Kt.context=Kt.pendingContext,Kt.pendingContext=null),(de===null||de.child===null)&&(re(Ce)?Ce.flags|=4:Kt.hydrate||(Ce.flags|=256)),Qf(Ce),null;case 5:ds(Ce);var Mn=Zo(Jd.current);if(Je=Ce.type,de!==null&&Ce.stateNode!=null)lv(de,Ce,Je,Kt,Mn),de.ref!==Ce.ref&&(Ce.flags|=128);else{if(!Kt){if(Ce.stateNode===null)throw Error(C(166));return null}if(de=Zo($d.current),re(Ce)){Kt=Ce.stateNode,Je=Ce.type;var Rr=Ce.memoizedProps;switch(Kt[Jo]=Ce,Kt[dn]=Rr,Je){case"dialog":Hl("cancel",Kt),Hl("close",Kt);break;case"iframe":case"object":case"embed":Hl("load",Kt);break;case"video":case"audio":for(de=0;de<ru.length;de++)Hl(ru[de],Kt);break;case"source":Hl("error",Kt);break;case"img":case"image":case"link":Hl("error",Kt),Hl("load",Kt);break;case"details":Hl("toggle",Kt);break;case"input":qe(Kt,Rr),Hl("invalid",Kt);break;case"select":Kt._wrapperState={wasMultiple:!!Rr.multiple},Hl("invalid",Kt);break;case"textarea":ft(Kt,Rr),Hl("invalid",Kt)}cn(Je,Rr),de=null;for(var ja in Rr)Rr.hasOwnProperty(ja)&&(Mn=Rr[ja],ja==="children"?typeof Mn=="string"?Kt.textContent!==Mn&&(de=["children",Mn]):typeof Mn=="number"&&Kt.textContent!==""+Mn&&(de=["children",""+Mn]):A.hasOwnProperty(ja)&&Mn!=null&&ja==="onScroll"&&Hl("scroll",Kt));switch(Je){case"input":mt(Kt),Ve(Kt,Rr,!0);break;case"textarea":mt(Kt),Te(Kt);break;case"select":case"option":break;default:typeof Rr.onClick=="function"&&(Kt.onclick=El)}Kt=de,Ce.updateQueue=Kt,Kt!==null&&(Ce.flags|=4)}else{switch(ja=Mn.nodeType===9?Mn:Mn.ownerDocument,de===ut.html&&(de=le(Je)),de===ut.html?Je==="script"?(de=ja.createElement("div"),de.innerHTML="<script></script>",de=de.removeChild(de.firstChild)):typeof Kt.is=="string"?de=ja.createElement(Je,{is:Kt.is}):(de=ja.createElement(Je),Je==="select"&&(ja=de,Kt.multiple?ja.multiple=!0:Kt.size&&(ja.size=Kt.size))):de=ja.createElementNS(de,Je),de[Jo]=Ce,de[dn]=Kt,wv(de,Ce,!1,!1),Ce.stateNode=de,ja=$n(Je,Kt),Je){case"dialog":Hl("cancel",de),Hl("close",de),Mn=Kt;break;case"iframe":case"object":case"embed":Hl("load",de),Mn=Kt;break;case"video":case"audio":for(Mn=0;Mn<ru.length;Mn++)Hl(ru[Mn],de);Mn=Kt;break;case"source":Hl("error",de),Mn=Kt;break;case"img":case"image":case"link":Hl("error",de),Hl("load",de),Mn=Kt;break;case"details":Hl("toggle",de),Mn=Kt;break;case"input":qe(de,Kt),Mn=vt(de,Kt),Hl("invalid",de);break;case"option":Mn=bt(de,Kt);break;case"select":de._wrapperState={wasMultiple:!!Kt.multiple},Mn=m({},Kt,{value:void 0}),Hl("invalid",de);break;case"textarea":ft(de,Kt),Mn=at(de,Kt),Hl("invalid",de);break;default:Mn=Kt}cn(Je,Mn);var ci=Mn;for(Rr in ci)if(ci.hasOwnProperty(Rr)){var yo=ci[Rr];Rr==="style"?Dt(de,yo):Rr==="dangerouslySetInnerHTML"?(yo=yo?yo.__html:void 0,yo!=null&&Tt(de,yo)):Rr==="children"?typeof yo=="string"?(Je!=="textarea"||yo!=="")&&Ot(de,yo):typeof yo=="number"&&Ot(de,""+yo):Rr!=="suppressContentEditableWarning"&&Rr!=="suppressHydrationWarning"&&Rr!=="autoFocus"&&(A.hasOwnProperty(Rr)?yo!=null&&Rr==="onScroll"&&Hl("scroll",de):yo!=null&&ee(de,Rr,yo,ja))}switch(Je){case"input":mt(de),Ve(de,Kt,!1);break;case"textarea":mt(de),Te(de);break;case"option":Kt.value!=null&&de.setAttribute("value",""+lt(Kt.value));break;case"select":de.multiple=!!Kt.multiple,Rr=Kt.value,Rr!=null?gt(de,!!Kt.multiple,Rr,!1):Kt.defaultValue!=null&&gt(de,!!Kt.multiple,Kt.defaultValue,!0);break;default:typeof Mn.onClick=="function"&&(de.onclick=El)}yn(Je,Kt)&&(Ce.flags|=4)}Ce.ref!==null&&(Ce.flags|=128)}return null;case 6:if(de&&Ce.stateNode!=null)nv(de,Ce,de.memoizedProps,Kt);else{if(typeof Kt!="string"&&Ce.stateNode===null)throw Error(C(166));Je=Zo(Jd.current),Zo($d.current),re(Ce)?(Kt=Ce.stateNode,Je=Ce.memoizedProps,Kt[Jo]=Ce,Kt.nodeValue!==Je&&(Ce.flags|=4)):(Kt=(Je.nodeType===9?Je:Je.ownerDocument).createTextNode(Kt),Kt[Jo]=Ce,Ce.stateNode=Kt)}return null;case 13:return Io(oc),Kt=Ce.memoizedState,(Ce.flags&64)!=0?(Ce.lanes=Je,Ce):(Kt=Kt!==null,Je=!1,de===null?Ce.memoizedProps.fallback!==void 0&&re(Ce):Je=de.memoizedState!==null,Kt&&!Je&&(Ce.mode&2)!=0&&(de===null&&Ce.memoizedProps.unstable_avoidThisFallback!==!0||(oc.current&1)!=0?So===0&&(So=3):((So===0||So===3)&&(So=4),_r===null||(rc&134217727)==0&&(Ys&134217727)==0||nu(_r,ei))),(Kt||Je)&&(Ce.flags|=4),null);case 4:return Yo(),Qf(Ce),de===null&&nd(Ce.stateNode.containerInfo),null;case 10:return Lu(Ce),null;case 17:return yr(Ce.type)&&Ls(),null;case 19:if(Io(oc),Kt=Ce.memoizedState,Kt===null)return null;if(Rr=(Ce.flags&64)!=0,ja=Kt.rendering,ja===null)if(Rr)Hp(Kt,!1);else{if(So!==0||de!==null&&(de.flags&64)!=0)for(de=Ce.child;de!==null;){if(ja=Il(de),ja!==null){for(Ce.flags|=64,Hp(Kt,!1),Rr=ja.updateQueue,Rr!==null&&(Ce.updateQueue=Rr,Ce.flags|=4),Kt.lastEffect===null&&(Ce.firstEffect=null),Ce.lastEffect=Kt.lastEffect,Kt=Je,Je=Ce.child;Je!==null;)Rr=Je,de=Kt,Rr.flags&=2,Rr.nextEffect=null,Rr.firstEffect=null,Rr.lastEffect=null,ja=Rr.alternate,ja===null?(Rr.childLanes=0,Rr.lanes=de,Rr.child=null,Rr.memoizedProps=null,Rr.memoizedState=null,Rr.updateQueue=null,Rr.dependencies=null,Rr.stateNode=null):(Rr.childLanes=ja.childLanes,Rr.lanes=ja.lanes,Rr.child=ja.child,Rr.memoizedProps=ja.memoizedProps,Rr.memoizedState=ja.memoizedState,Rr.updateQueue=ja.updateQueue,Rr.type=ja.type,de=ja.dependencies,Rr.dependencies=de===null?null:{lanes:de.lanes,firstContext:de.firstContext}),Je=Je.sibling;return Fo(oc,oc.current&1|2),Ce.child}de=de.sibling}Kt.tail!==null&&ji()>Oc&&(Ce.flags|=64,Rr=!0,Hp(Kt,!1),Ce.lanes=33554432)}else{if(!Rr)if(de=Il(ja),de!==null){if(Ce.flags|=64,Rr=!0,Je=de.updateQueue,Je!==null&&(Ce.updateQueue=Je,Ce.flags|=4),Hp(Kt,!0),Kt.tail===null&&Kt.tailMode==="hidden"&&!ja.alternate&&!Du)return Ce=Ce.lastEffect=Kt.lastEffect,Ce!==null&&(Ce.nextEffect=null),null}else 2*ji()-Kt.renderingStartTime>Oc&&Je!==1073741824&&(Ce.flags|=64,Rr=!0,Hp(Kt,!1),Ce.lanes=33554432);Kt.isBackwards?(ja.sibling=Ce.child,Ce.child=ja):(Je=Kt.last,Je!==null?Je.sibling=ja:Ce.child=ja,Kt.last=ja)}return Kt.tail!==null?(Je=Kt.tail,Kt.rendering=Je,Kt.tail=Je.sibling,Kt.lastEffect=Ce.lastEffect,Kt.renderingStartTime=ji(),Je.sibling=null,Ce=oc.current,Fo(oc,Rr?Ce&1|2:Ce&1),Je):null;case 23:case 24:return Xl(),de!==null&&de.memoizedState!==null!=(Ce.memoizedState!==null)&&Kt.mode!=="unstable-defer-without-hiding"&&(Ce.flags|=4),null}throw Error(C(156,Ce.tag))}function Gp(de){switch(de.tag){case 1:yr(de.type)&&Ls();var Ce=de.flags;return Ce&4096?(de.flags=Ce&-4097|64,de):null;case 3:if(Yo(),Io(ys),Io(ms),wt(),Ce=de.flags,(Ce&64)!=0)throw Error(C(285));return de.flags=Ce&-4097|64,de;case 5:return ds(de),null;case 13:return Io(oc),Ce=de.flags,Ce&4096?(de.flags=Ce&-4097|64,de):null;case 19:return Io(oc),null;case 4:return Yo(),null;case 10:return Lu(de),null;case 23:case 24:return Xl(),null;default:return null}}function Ap(de,Ce){try{var Je="",Kt=Ce;do Je+=Xe(Kt),Kt=Kt.return;while(Kt);var Mn=Je}catch(Rr){Mn=`
Error generating stack: `+Rr.message+`
`+Rr.stack}return{value:de,source:Ce,stack:Mn}}function hv(de,Ce){try{console.error(Ce.value)}catch(Je){setTimeout(function(){throw Je})}}var kp=typeof WeakMap=="function"?WeakMap:Map;function bp(de,Ce,Je){Je=Bd(-1,Je),Je.tag=3,Je.payload={element:null};var Kt=Ce.value;return Je.callback=function(){No||(No=!0,vc=Kt),hv(de,Ce)},Je}function jf(de,Ce,Je){Je=Bd(-1,Je),Je.tag=3;var Kt=de.type.getDerivedStateFromError;if(typeof Kt=="function"){var Mn=Ce.value;Je.payload=function(){return hv(de,Ce),Kt(Mn)}}var Rr=de.stateNode;return Rr!==null&&typeof Rr.componentDidCatch=="function"&&(Je.callback=function(){typeof Kt!="function"&&(kt===null?kt=new Set([this]):kt.add(this),hv(de,Ce));var ja=Ce.stack;this.componentDidCatch(Ce.value,{componentStack:ja!==null?ja:""})}),Je}var qf=typeof WeakSet=="function"?WeakSet:Set;function Eh(de){var Ce=de.ref;if(Ce!==null)if(typeof Ce=="function")try{Ce(null)}catch(Je){xu(de,Je)}else Ce.current=null}function Av(de,Ce){switch(Ce.tag){case 0:case 11:case 15:case 22:return;case 1:if(Ce.flags&256&&de!==null){var Je=de.memoizedProps,Kt=de.memoizedState;de=Ce.stateNode,Ce=de.getSnapshotBeforeUpdate(Ce.elementType===Ce.type?Je:Rl(Ce.type,Je),Kt),de.__reactInternalSnapshotBeforeUpdate=Ce}return;case 3:Ce.flags&256&&Ra(Ce.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(C(163))}function Lg(de,Ce,Je){switch(Je.tag){case 0:case 11:case 15:case 22:if(Ce=Je.updateQueue,Ce=Ce!==null?Ce.lastEffect:null,Ce!==null){de=Ce=Ce.next;do{if((de.tag&3)==3){var Kt=de.create;de.destroy=Kt()}de=de.next}while(de!==Ce)}if(Ce=Je.updateQueue,Ce=Ce!==null?Ce.lastEffect:null,Ce!==null){de=Ce=Ce.next;do{var Mn=de;Kt=Mn.next,Mn=Mn.tag,(Mn&4)!=0&&(Mn&1)!=0&&(rs(Je,de),oi(Je,de)),de=Kt}while(de!==Ce)}return;case 1:de=Je.stateNode,Je.flags&4&&(Ce===null?de.componentDidMount():(Kt=Je.elementType===Je.type?Ce.memoizedProps:Rl(Je.type,Ce.memoizedProps),de.componentDidUpdate(Kt,Ce.memoizedState,de.__reactInternalSnapshotBeforeUpdate))),Ce=Je.updateQueue,Ce!==null&&ld(Je,Ce,de);return;case 3:if(Ce=Je.updateQueue,Ce!==null){if(de=null,Je.child!==null)switch(Je.child.tag){case 5:de=Je.child.stateNode;break;case 1:de=Je.child.stateNode}ld(Je,Ce,de)}return;case 5:de=Je.stateNode,Ce===null&&Je.flags&4&&yn(Je.type,Je.memoizedProps)&&de.focus();return;case 6:return;case 4:return;case 12:return;case 13:Je.memoizedState===null&&(Je=Je.alternate,Je!==null&&(Je=Je.memoizedState,Je!==null&&(Je=Je.dehydrated,Je!==null&&ar(Je))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(C(163))}function Fg(de,Ce){for(var Je=de;;){if(Je.tag===5){var Kt=Je.stateNode;if(Ce)Kt=Kt.style,typeof Kt.setProperty=="function"?Kt.setProperty("display","none","important"):Kt.display="none";else{Kt=Je.stateNode;var Mn=Je.memoizedProps.style;Mn=Mn!=null&&Mn.hasOwnProperty("display")?Mn.display:null,Kt.style.display=Pt("display",Mn)}}else if(Je.tag===6)Je.stateNode.nodeValue=Ce?"":Je.memoizedProps;else if((Je.tag!==23&&Je.tag!==24||Je.memoizedState===null||Je===de)&&Je.child!==null){Je.child.return=Je,Je=Je.child;continue}if(Je===de)break;for(;Je.sibling===null;){if(Je.return===null||Je.return===de)return;Je=Je.return}Je.sibling.return=Je.return,Je=Je.sibling}}function xh(de,Ce){if(qr&&typeof qr.onCommitFiberUnmount=="function")try{qr.onCommitFiberUnmount(cr,Ce)}catch(Rr){}switch(Ce.tag){case 0:case 11:case 14:case 15:case 22:if(de=Ce.updateQueue,de!==null&&(de=de.lastEffect,de!==null)){var Je=de=de.next;do{var Kt=Je,Mn=Kt.destroy;if(Kt=Kt.tag,Mn!==void 0)if((Kt&4)!=0)rs(Ce,Je);else{Kt=Ce;try{Mn()}catch(Rr){xu(Kt,Rr)}}Je=Je.next}while(Je!==de)}break;case 1:if(Eh(Ce),de=Ce.stateNode,typeof de.componentWillUnmount=="function")try{de.props=Ce.memoizedProps,de.state=Ce.memoizedState,de.componentWillUnmount()}catch(Rr){xu(Ce,Rr)}break;case 5:Eh(Ce);break;case 4:Jv(de,Ce)}}function gv(de){de.alternate=null,de.child=null,de.dependencies=null,de.firstEffect=null,de.lastEffect=null,de.memoizedProps=null,de.memoizedState=null,de.pendingProps=null,de.return=null,de.updateQueue=null}function vh(de){return de.tag===5||de.tag===3||de.tag===4}function Uh(de){e:{for(var Ce=de.return;Ce!==null;){if(vh(Ce))break e;Ce=Ce.return}throw Error(C(160))}var Je=Ce;switch(Ce=Je.stateNode,Je.tag){case 5:var Kt=!1;break;case 3:Ce=Ce.containerInfo,Kt=!0;break;case 4:Ce=Ce.containerInfo,Kt=!0;break;default:throw Error(C(161))}Je.flags&16&&(Ot(Ce,""),Je.flags&=-17);e:t:for(Je=de;;){for(;Je.sibling===null;){if(Je.return===null||vh(Je.return)){Je=null;break e}Je=Je.return}for(Je.sibling.return=Je.return,Je=Je.sibling;Je.tag!==5&&Je.tag!==6&&Je.tag!==18;){if(Je.flags&2||Je.child===null||Je.tag===4)continue t;Je.child.return=Je,Je=Je.child}if(!(Je.flags&2)){Je=Je.stateNode;break e}}Kt?Sh(de,Je,Ce):mv(de,Je,Ce)}function Sh(de,Ce,Je){var Kt=de.tag,Mn=Kt===5||Kt===6;if(Mn)de=Mn?de.stateNode:de.stateNode.instance,Ce?Je.nodeType===8?Je.parentNode.insertBefore(de,Ce):Je.insertBefore(de,Ce):(Je.nodeType===8?(Ce=Je.parentNode,Ce.insertBefore(de,Je)):(Ce=Je,Ce.appendChild(de)),Je=Je._reactRootContainer,Je!=null||Ce.onclick!==null||(Ce.onclick=El));else if(Kt!==4&&(de=de.child,de!==null))for(Sh(de,Ce,Je),de=de.sibling;de!==null;)Sh(de,Ce,Je),de=de.sibling}function mv(de,Ce,Je){var Kt=de.tag,Mn=Kt===5||Kt===6;if(Mn)de=Mn?de.stateNode:de.stateNode.instance,Ce?Je.insertBefore(de,Ce):Je.appendChild(de);else if(Kt!==4&&(de=de.child,de!==null))for(mv(de,Ce,Je),de=de.sibling;de!==null;)mv(de,Ce,Je),de=de.sibling}function Jv(de,Ce){for(var Je=Ce,Kt=!1,Mn,Rr;;){if(!Kt){Kt=Je.return;e:for(;;){if(Kt===null)throw Error(C(160));switch(Mn=Kt.stateNode,Kt.tag){case 5:Rr=!1;break e;case 3:Mn=Mn.containerInfo,Rr=!0;break e;case 4:Mn=Mn.containerInfo,Rr=!0;break e}Kt=Kt.return}Kt=!0}if(Je.tag===5||Je.tag===6){e:for(var ja=de,ci=Je,yo=ci;;)if(xh(ja,yo),yo.child!==null&&yo.tag!==4)yo.child.return=yo,yo=yo.child;else{if(yo===ci)break e;for(;yo.sibling===null;){if(yo.return===null||yo.return===ci)break e;yo=yo.return}yo.sibling.return=yo.return,yo=yo.sibling}Rr?(ja=Mn,ci=Je.stateNode,ja.nodeType===8?ja.parentNode.removeChild(ci):ja.removeChild(ci)):Mn.removeChild(Je.stateNode)}else if(Je.tag===4){if(Je.child!==null){Mn=Je.stateNode.containerInfo,Rr=!0,Je.child.return=Je,Je=Je.child;continue}}else if(xh(de,Je),Je.child!==null){Je.child.return=Je,Je=Je.child;continue}if(Je===Ce)break;for(;Je.sibling===null;){if(Je.return===null||Je.return===Ce)return;Je=Je.return,Je.tag===4&&(Kt=!1)}Je.sibling.return=Je.return,Je=Je.sibling}}function mg(de,Ce){switch(Ce.tag){case 0:case 11:case 14:case 15:case 22:var Je=Ce.updateQueue;if(Je=Je!==null?Je.lastEffect:null,Je!==null){var Kt=Je=Je.next;do(Kt.tag&3)==3&&(de=Kt.destroy,Kt.destroy=void 0,de!==void 0&&de()),Kt=Kt.next;while(Kt!==Je)}return;case 1:return;case 5:if(Je=Ce.stateNode,Je!=null){Kt=Ce.memoizedProps;var Mn=de!==null?de.memoizedProps:Kt;de=Ce.type;var Rr=Ce.updateQueue;if(Ce.updateQueue=null,Rr!==null){for(Je[dn]=Kt,de==="input"&&Kt.type==="radio"&&Kt.name!=null&&Re(Je,Kt),$n(de,Mn),Ce=$n(de,Kt),Mn=0;Mn<Rr.length;Mn+=2){var ja=Rr[Mn],ci=Rr[Mn+1];ja==="style"?Dt(Je,ci):ja==="dangerouslySetInnerHTML"?Tt(Je,ci):ja==="children"?Ot(Je,ci):ee(Je,ja,ci,Ce)}switch(de){case"input":Se(Je,Kt);break;case"textarea":Fe(Je,Kt);break;case"select":de=Je._wrapperState.wasMultiple,Je._wrapperState.wasMultiple=!!Kt.multiple,Rr=Kt.value,Rr!=null?gt(Je,!!Kt.multiple,Rr,!1):de!==!!Kt.multiple&&(Kt.defaultValue!=null?gt(Je,!!Kt.multiple,Kt.defaultValue,!0):gt(Je,!!Kt.multiple,Kt.multiple?[]:"",!1))}}}return;case 6:if(Ce.stateNode===null)throw Error(C(162));Ce.stateNode.nodeValue=Ce.memoizedProps;return;case 3:Je=Ce.stateNode,Je.hydrate&&(Je.hydrate=!1,ar(Je.containerInfo));return;case 12:return;case 13:Ce.memoizedState!==null&&(Hc=ji(),Fg(Ce.child,!0)),Zv(Ce);return;case 19:Zv(Ce);return;case 17:return;case 23:case 24:Fg(Ce,Ce.memoizedState!==null);return}throw Error(C(163))}function Zv(de){var Ce=de.updateQueue;if(Ce!==null){de.updateQueue=null;var Je=de.stateNode;Je===null&&(Je=de.stateNode=new qf),Ce.forEach(function(Kt){var Mn=wa.bind(null,de,Kt);Je.has(Kt)||(Je.add(Kt),Kt.then(Mn,Mn))})}}function hh(de,Ce){return de!==null&&(de=de.memoizedState,de===null||de.dehydrated!==null)?(Ce=Ce.memoizedState,Ce!==null&&Ce.dehydrated===null):!1}var gh=Math.ceil,kv=ie.ReactCurrentDispatcher,$p=ie.ReactCurrentOwner,od=0,_r=null,Br=null,ei=0,Ao=0,so=ho(0),So=0,To=null,Fs=0,rc=0,Ys=0,qs=0,Qs=null,Hc=0,Oc=Infinity;function lc(){Oc=ji()+500}var Ii=null,No=!1,vc=null,kt=null,Pe=!1,pt=null,It=90,sn=[],fn=[],An=null,ur=0,Pr=null,hr=-1,ha=0,ya=0,Za=null,to=!1;function Xi(){return(od&48)!=0?ji():hr!==-1?hr:hr=ji()}function ss(de){if(de=de.mode,(de&2)==0)return 1;if((de&4)==0)return xa()===99?1:2;if(ha===0&&(ha=Fs),Lc.transition!==0){ya!==0&&(ya=Qs!==null?Qs.pendingLanes:0),de=ha;var Ce=4186112&~ya;return Ce&=-Ce,Ce===0&&(de=4186112&~de,Ce=de&-de,Ce===0&&(Ce=8192)),Ce}return de=xa(),(od&4)!=0&&de===98?de=ta(12,ha):(de=On(de),de=ta(de,ha)),de}function ts(de,Ce,Je){if(50<ur)throw ur=0,Pr=null,Error(C(185));if(de=Os(de,Ce),de===null)return null;Pn(de,Ce,Je),de===_r&&(Ys|=Ce,So===4&&nu(de,ei));var Kt=xa();Ce===1?(od&8)!=0&&(od&48)==0?tl(de):(ac(de,Je),od===0&&(lc(),$o())):((od&4)==0||Kt!==98&&Kt!==99||(An===null?An=new Set([de]):An.add(de)),ac(de,Je)),Qs=de}function Os(de,Ce){de.lanes|=Ce;var Je=de.alternate;for(Je!==null&&(Je.lanes|=Ce),Je=de,de=de.return;de!==null;)de.childLanes|=Ce,Je=de.alternate,Je!==null&&(Je.childLanes|=Ce),Je=de,de=de.return;return Je.tag===3?Je.stateNode:null}function ac(de,Ce){for(var Je=de.callbackNode,Kt=de.suspendedLanes,Mn=de.pingedLanes,Rr=de.expirationTimes,ja=de.pendingLanes;0<ja;){var ci=31-Kr(ja),yo=1<<ci,Ho=Rr[ci];if(Ho===-1){if((yo&Kt)==0||(yo&Mn)!=0){Ho=Ce,Da(yo);var sc=sa;Rr[ci]=10<=sc?Ho+250:6<=sc?Ho+5e3:-1}}else Ho<=Ce&&(de.expiredLanes|=yo);ja&=~yo}if(Kt=Rt(de,de===_r?ei:0),Ce=sa,Kt===0)Je!==null&&(Je!==bl&&uo(Je),de.callbackNode=null,de.callbackPriority=0);else{if(Je!==null){if(de.callbackPriority===Ce)return;Je!==bl&&uo(Je)}Ce===15?(Je=tl.bind(null,de),hl===null?(hl=[Je],ju=Ki(Bc,_c)):hl.push(Je),Je=bl):Ce===14?Je=Cs(99,tl.bind(null,de)):(Je=xn(Ce),Je=Cs(Je,Ll.bind(null,de))),de.callbackPriority=Ce,de.callbackNode=Je}}function Ll(de){if(hr=-1,ya=ha=0,(od&48)!=0)throw Error(C(327));var Ce=de.callbackNode;if(Vv()&&de.callbackNode!==Ce)return null;var Je=Rt(de,de===_r?ei:0);if(Je===0)return null;var Kt=Je,Mn=od;od|=16;var Rr=Zd();(_r!==de||ei!==Kt)&&(lc(),vd(de,Kt));do try{Wd();break}catch(ci){ff(de,ci)}while(1);if(Od(),kv.current=Rr,od=Mn,Br!==null?Kt=0:(_r=null,ei=0,Kt=So),(Fs&Ys)!=0)vd(de,0);else if(Kt!==0){if(Kt===2&&(od|=64,de.hydrate&&(de.hydrate=!1,Ra(de.containerInfo)),Je=mr(de),Je!==0&&(Kt=Zl(de,Je))),Kt===1)throw Ce=To,vd(de,0),nu(de,Je),ac(de,ji()),Ce;switch(de.finishedWork=de.current.alternate,de.finishedLanes=Je,Kt){case 0:case 1:throw Error(C(345));case 2:mu(de);break;case 3:if(nu(de,Je),(Je&62914560)===Je&&(Kt=Hc+500-ji(),10<Kt)){if(Rt(de,0)!==0)break;if(Mn=de.suspendedLanes,(Mn&Je)!==Je){Xi(),de.pingedLanes|=de.suspendedLanes&Mn;break}de.timeoutHandle=Xr(mu.bind(null,de),Kt);break}mu(de);break;case 4:if(nu(de,Je),(Je&4186112)===Je)break;for(Kt=de.eventTimes,Mn=-1;0<Je;){var ja=31-Kr(Je);Rr=1<<ja,ja=Kt[ja],ja>Mn&&(Mn=ja),Je&=~Rr}if(Je=Mn,Je=ji()-Je,Je=(120>Je?120:480>Je?480:1080>Je?1080:1920>Je?1920:3e3>Je?3e3:4320>Je?4320:1960*gh(Je/1960))-Je,10<Je){de.timeoutHandle=Xr(mu.bind(null,de),Je);break}mu(de);break;case 5:mu(de);break;default:throw Error(C(329))}}return ac(de,ji()),de.callbackNode===Ce?Ll.bind(null,de):null}function nu(de,Ce){for(Ce&=~qs,Ce&=~Ys,de.suspendedLanes|=Ce,de.pingedLanes&=~Ce,de=de.expirationTimes;0<Ce;){var Je=31-Kr(Ce),Kt=1<<Je;de[Je]=-1,Ce&=~Kt}}function tl(de){if((od&48)!=0)throw Error(C(327));if(Vv(),de===_r&&(de.expiredLanes&ei)!=0){var Ce=ei,Je=Zl(de,Ce);(Fs&Ys)!=0&&(Ce=Rt(de,Ce),Je=Zl(de,Ce))}else Ce=Rt(de,0),Je=Zl(de,Ce);if(de.tag!==0&&Je===2&&(od|=64,de.hydrate&&(de.hydrate=!1,Ra(de.containerInfo)),Ce=mr(de),Ce!==0&&(Je=Zl(de,Ce))),Je===1)throw Je=To,vd(de,0),nu(de,Ce),ac(de,ji()),Je;return de.finishedWork=de.current.alternate,de.finishedLanes=Ce,mu(de),ac(de,ji()),null}function iu(){if(An!==null){var de=An;An=null,de.forEach(function(Ce){Ce.expiredLanes|=24&Ce.pendingLanes,ac(Ce,ji())})}$o()}function sd(de,Ce){var Je=od;od|=1;try{return de(Ce)}finally{od=Je,od===0&&(lc(),$o())}}function md(de,Ce){var Je=od;od&=-2,od|=8;try{return de(Ce)}finally{od=Je,od===0&&(lc(),$o())}}function dd(de,Ce){Fo(so,Ao),Ao|=Ce,Fs|=Ce}function Xl(){Ao=so.current,Io(so)}function vd(de,Ce){de.finishedWork=null,de.finishedLanes=0;var Je=de.timeoutHandle;if(Je!==-1&&(de.timeoutHandle=-1,Ta(Je)),Br!==null)for(Je=Br.return;Je!==null;){var Kt=Je;switch(Kt.tag){case 1:Kt=Kt.type.childContextTypes,Kt!=null&&Ls();break;case 3:Yo(),Io(ys),Io(ms),wt();break;case 5:ds(Kt);break;case 4:Yo();break;case 13:Io(oc);break;case 19:Io(oc);break;case 10:Lu(Kt);break;case 23:case 24:Xl()}Je=Je.return}_r=de,Br=oo(de.current,null),ei=Ao=Fs=Ce,So=0,To=null,qs=Ys=rc=0}function ff(de,Ce){do{var Je=Br;try{if(Od(),an.current=Gu,zl){for(var Kt=fs.memoizedState;Kt!==null;){var Mn=Kt.queue;Mn!==null&&(Mn.pending=null),Kt=Kt.next}zl=!1}if(Xa=0,Uc=Xs=fs=null,Bu=!1,$p.current=null,Je===null||Je.return===null){So=1,To=Ce,Br=null;break}e:{var Rr=de,ja=Je.return,ci=Je,yo=Ce;if(Ce=ei,ci.flags|=2048,ci.firstEffect=ci.lastEffect=null,yo!==null&&typeof yo=="object"&&typeof yo.then=="function"){var Ho=yo;if((ci.mode&2)==0){var sc=ci.alternate;sc?(ci.updateQueue=sc.updateQueue,ci.memoizedState=sc.memoizedState,ci.lanes=sc.lanes):(ci.updateQueue=null,ci.memoizedState=null)}var Pd=(oc.current&1)!=0,Gc=ja;do{var Tu;if(Tu=Gc.tag===13){var Fd=Gc.memoizedState;if(Fd!==null)Tu=Fd.dehydrated!==null;else{var Ed=Gc.memoizedProps;Tu=Ed.fallback===void 0?!1:Ed.unstable_avoidThisFallback!==!0?!0:!Pd}}if(Tu){var is=Gc.updateQueue;if(is===null){var ko=new Set;ko.add(Ho),Gc.updateQueue=ko}else is.add(Ho);if((Gc.mode&2)==0){if(Gc.flags|=64,ci.flags|=16384,ci.flags&=-2981,ci.tag===1)if(ci.alternate===null)ci.tag=17;else{var Wo=Bd(-1,1);Wo.tag=2,Fu(ci,Wo)}ci.lanes|=1;break e}yo=void 0,ci=Ce;var ic=Rr.pingCache;if(ic===null?(ic=Rr.pingCache=new kp,yo=new Set,ic.set(Ho,yo)):(yo=ic.get(Ho),yo===void 0&&(yo=new Set,ic.set(Ho,yo))),!yo.has(ci)){yo.add(ci);var jc=Ka.bind(null,Rr,Ho,ci);Ho.then(jc,jc)}Gc.flags|=4096,Gc.lanes=Ce;break e}Gc=Gc.return}while(Gc!==null);yo=Error((ht(ci.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}So!==5&&(So=2),yo=Ap(yo,ci),Gc=ja;do{switch(Gc.tag){case 3:Rr=yo,Gc.flags|=4096,Ce&=-Ce,Gc.lanes|=Ce;var Td=bp(Gc,Rr,Ce);xd(Gc,Td);break e;case 1:Rr=yo;var Ou=Gc.type,Sd=Gc.stateNode;if((Gc.flags&64)==0&&(typeof Ou.getDerivedStateFromError=="function"||Sd!==null&&typeof Sd.componentDidCatch=="function"&&(kt===null||!kt.has(Sd)))){Gc.flags|=4096,Ce&=-Ce,Gc.lanes|=Ce;var Vd=jf(Gc,Rr,Ce);xd(Gc,Vd);break e}}Gc=Gc.return}while(Gc!==null)}Jl(Je)}catch(Rd){Ce=Rd,Br===Je&&Je!==null&&(Br=Je=Je.return);continue}break}while(1)}function Zd(){var de=kv.current;return kv.current=Gu,de===null?Gu:de}function Zl(de,Ce){var Je=od;od|=16;var Kt=Zd();_r===de&&ei===Ce||vd(de,Ce);do try{wf();break}catch(Mn){ff(de,Mn)}while(1);if(Od(),od=Je,kv.current=Kt,Br!==null)throw Error(C(261));return _r=null,ei=0,So}function wf(){for(;Br!==null;)Al(Br)}function Wd(){for(;Br!==null&&!As();)Al(Br)}function Al(de){var Ce=Ai(de.alternate,de,Ao);de.memoizedProps=de.pendingProps,Ce===null?Jl(de):Br=Ce,$p.current=null}function Jl(de){var Ce=de;do{var Je=Ce.alternate;if(de=Ce.return,(Ce.flags&2048)==0){if(Je=Tv(Je,Ce,Ao),Je!==null){Br=Je;return}if(Je=Ce,Je.tag!==24&&Je.tag!==23||Je.memoizedState===null||(Ao&1073741824)!=0||(Je.mode&4)==0){for(var Kt=0,Mn=Je.child;Mn!==null;)Kt|=Mn.lanes|Mn.childLanes,Mn=Mn.sibling;Je.childLanes=Kt}de!==null&&(de.flags&2048)==0&&(de.firstEffect===null&&(de.firstEffect=Ce.firstEffect),Ce.lastEffect!==null&&(de.lastEffect!==null&&(de.lastEffect.nextEffect=Ce.firstEffect),de.lastEffect=Ce.lastEffect),1<Ce.flags&&(de.lastEffect!==null?de.lastEffect.nextEffect=Ce:de.firstEffect=Ce,de.lastEffect=Ce))}else{if(Je=Gp(Ce),Je!==null){Je.flags&=2047,Br=Je;return}de!==null&&(de.firstEffect=de.lastEffect=null,de.flags|=2048)}if(Ce=Ce.sibling,Ce!==null){Br=Ce;return}Br=Ce=de}while(Ce!==null);So===0&&(So=5)}function mu(de){var Ce=xa();return ws(99,gp.bind(null,de,Ce)),null}function gp(de,Ce){do Vv();while(pt!==null);if((od&48)!=0)throw Error(C(327));var Je=de.finishedWork;if(Je===null)return null;if(de.finishedWork=null,de.finishedLanes=0,Je===de.current)throw Error(C(177));de.callbackNode=null;var Kt=Je.lanes|Je.childLanes,Mn=Kt,Rr=de.pendingLanes&~Mn;de.pendingLanes=Mn,de.suspendedLanes=0,de.pingedLanes=0,de.expiredLanes&=Mn,de.mutableReadLanes&=Mn,de.entangledLanes&=Mn,Mn=de.entanglements;for(var ja=de.eventTimes,ci=de.expirationTimes;0<Rr;){var yo=31-Kr(Rr),Ho=1<<yo;Mn[yo]=0,ja[yo]=-1,ci[yo]=-1,Rr&=~Ho}if(An!==null&&(Kt&24)==0&&An.has(de)&&An.delete(de),de===_r&&(Br=_r=null,ei=0),1<Je.flags?Je.lastEffect!==null?(Je.lastEffect.nextEffect=Je,Kt=Je.firstEffect):Kt=Je:Kt=Je.firstEffect,Kt!==null){if(Mn=od,od|=32,$p.current=null,eu=fi,ja=Ts(),Ar(ja)){if("selectionStart"in ja)ci={start:ja.selectionStart,end:ja.selectionEnd};else e:if(ci=(ci=ja.ownerDocument)&&ci.defaultView||window,(Ho=ci.getSelection&&ci.getSelection())&&Ho.rangeCount!==0){ci=Ho.anchorNode,Rr=Ho.anchorOffset,yo=Ho.focusNode,Ho=Ho.focusOffset;try{ci.nodeType,yo.nodeType}catch(Rd){ci=null;break e}var sc=0,Pd=-1,Gc=-1,Tu=0,Fd=0,Ed=ja,is=null;t:for(;;){for(var ko;Ed!==ci||Rr!==0&&Ed.nodeType!==3||(Pd=sc+Rr),Ed!==yo||Ho!==0&&Ed.nodeType!==3||(Gc=sc+Ho),Ed.nodeType===3&&(sc+=Ed.nodeValue.length),(ko=Ed.firstChild)!==null;)is=Ed,Ed=ko;for(;;){if(Ed===ja)break t;if(is===ci&&++Tu===Rr&&(Pd=sc),is===yo&&++Fd===Ho&&(Gc=sc),(ko=Ed.nextSibling)!==null)break;Ed=is,is=Ed.parentNode}Ed=ko}ci=Pd===-1||Gc===-1?null:{start:Pd,end:Gc}}else ci=null;ci=ci||{start:0,end:0}}else ci=null;rd={focusedElem:ja,selectionRange:ci},fi=!1,Za=null,to=!1,Ii=Kt;do try{jv()}catch(Rd){if(Ii===null)throw Error(C(330));xu(Ii,Rd),Ii=Ii.nextEffect}while(Ii!==null);Za=null,Ii=Kt;do try{for(ja=de;Ii!==null;){var Wo=Ii.flags;if(Wo&16&&Ot(Ii.stateNode,""),Wo&128){var ic=Ii.alternate;if(ic!==null){var jc=ic.ref;jc!==null&&(typeof jc=="function"?jc(null):jc.current=null)}}switch(Wo&1038){case 2:Uh(Ii),Ii.flags&=-3;break;case 6:Uh(Ii),Ii.flags&=-3,mg(Ii.alternate,Ii);break;case 1024:Ii.flags&=-1025;break;case 1028:Ii.flags&=-1025,mg(Ii.alternate,Ii);break;case 4:mg(Ii.alternate,Ii);break;case 8:ci=Ii,Jv(ja,ci);var Td=ci.alternate;gv(ci),Td!==null&&gv(Td)}Ii=Ii.nextEffect}}catch(Rd){if(Ii===null)throw Error(C(330));xu(Ii,Rd),Ii=Ii.nextEffect}while(Ii!==null);if(jc=rd,ic=Ts(),Wo=jc.focusedElem,ja=jc.selectionRange,ic!==Wo&&Wo&&Wo.ownerDocument&&mc(Wo.ownerDocument.documentElement,Wo)){for(ja!==null&&Ar(Wo)&&(ic=ja.start,jc=ja.end,jc===void 0&&(jc=ic),"selectionStart"in Wo?(Wo.selectionStart=ic,Wo.selectionEnd=Math.min(jc,Wo.value.length)):(jc=(ic=Wo.ownerDocument||document)&&ic.defaultView||window,jc.getSelection&&(jc=jc.getSelection(),ci=Wo.textContent.length,Td=Math.min(ja.start,ci),ja=ja.end===void 0?Td:Math.min(ja.end,ci),!jc.extend&&Td>ja&&(ci=ja,ja=Td,Td=ci),ci=ps(Wo,Td),Rr=ps(Wo,ja),ci&&Rr&&(jc.rangeCount!==1||jc.anchorNode!==ci.node||jc.anchorOffset!==ci.offset||jc.focusNode!==Rr.node||jc.focusOffset!==Rr.offset)&&(ic=ic.createRange(),ic.setStart(ci.node,ci.offset),jc.removeAllRanges(),Td>ja?(jc.addRange(ic),jc.extend(Rr.node,Rr.offset)):(ic.setEnd(Rr.node,Rr.offset),jc.addRange(ic)))))),ic=[],jc=Wo;jc=jc.parentNode;)jc.nodeType===1&&ic.push({element:jc,left:jc.scrollLeft,top:jc.scrollTop});for(typeof Wo.focus=="function"&&Wo.focus(),Wo=0;Wo<ic.length;Wo++)jc=ic[Wo],jc.element.scrollLeft=jc.left,jc.element.scrollTop=jc.top}fi=!!eu,rd=eu=null,de.current=Je,Ii=Kt;do try{for(Wo=de;Ii!==null;){var Ou=Ii.flags;if(Ou&36&&Lg(Wo,Ii.alternate,Ii),Ou&128){ic=void 0;var Sd=Ii.ref;if(Sd!==null){var Vd=Ii.stateNode;switch(Ii.tag){case 5:ic=Vd;break;default:ic=Vd}typeof Sd=="function"?Sd(ic):Sd.current=ic}}Ii=Ii.nextEffect}}catch(Rd){if(Ii===null)throw Error(C(330));xu(Ii,Rd),Ii=Ii.nextEffect}while(Ii!==null);Ii=null,tu(),od=Mn}else de.current=Je;if(Pe)Pe=!1,pt=de,It=Ce;else for(Ii=Kt;Ii!==null;)Ce=Ii.nextEffect,Ii.nextEffect=null,Ii.flags&8&&(Ou=Ii,Ou.sibling=null,Ou.stateNode=null),Ii=Ce;if(Kt=de.pendingLanes,Kt===0&&(kt=null),Kt===1?de===Pr?ur++:(ur=0,Pr=de):ur=0,Je=Je.stateNode,qr&&typeof qr.onCommitFiberRoot=="function")try{qr.onCommitFiberRoot(cr,Je,void 0,(Je.current.flags&64)==64)}catch(Rd){}if(ac(de,ji()),No)throw No=!1,de=vc,vc=null,de;return(od&8)!=0||$o(),null}function jv(){for(;Ii!==null;){var de=Ii.alternate;to||Za===null||((Ii.flags&8)!=0?Xn(Ii,Za)&&(to=!0):Ii.tag===13&&hh(de,Ii)&&Xn(Ii,Za)&&(to=!0));var Ce=Ii.flags;(Ce&256)!=0&&Av(de,Ii),(Ce&512)==0||Pe||(Pe=!0,Cs(97,function(){return Vv(),null})),Ii=Ii.nextEffect}}function Vv(){if(It!==90){var de=97<It?97:It;return It=90,ws(de,Vo)}return!1}function oi(de,Ce){sn.push(Ce,de),Pe||(Pe=!0,Cs(97,function(){return Vv(),null}))}function rs(de,Ce){fn.push(Ce,de),Pe||(Pe=!0,Cs(97,function(){return Vv(),null}))}function Vo(){if(pt===null)return!1;var de=pt;if(pt=null,(od&48)!=0)throw Error(C(331));var Ce=od;od|=32;var Je=fn;fn=[];for(var Kt=0;Kt<Je.length;Kt+=2){var Mn=Je[Kt],Rr=Je[Kt+1],ja=Mn.destroy;if(Mn.destroy=void 0,typeof ja=="function")try{ja()}catch(yo){if(Rr===null)throw Error(C(330));xu(Rr,yo)}}for(Je=sn,sn=[],Kt=0;Kt<Je.length;Kt+=2){Mn=Je[Kt],Rr=Je[Kt+1];try{var ci=Mn.create;Mn.destroy=ci()}catch(yo){if(Rr===null)throw Error(C(330));xu(Rr,yo)}}for(ci=de.current.firstEffect;ci!==null;)de=ci.nextEffect,ci.nextEffect=null,ci.flags&8&&(ci.sibling=null,ci.stateNode=null),ci=de;return od=Ce,$o(),!0}function ul(de,Ce,Je){Ce=Ap(Je,Ce),Ce=bp(de,Ce,1),Fu(de,Ce),Ce=Xi(),de=Os(de,1),de!==null&&(Pn(de,1,Ce),ac(de,Ce))}function xu(de,Ce){if(de.tag===3)ul(de,de,Ce);else for(var Je=de.return;Je!==null;){if(Je.tag===3){ul(Je,de,Ce);break}else if(Je.tag===1){var Kt=Je.stateNode;if(typeof Je.type.getDerivedStateFromError=="function"||typeof Kt.componentDidCatch=="function"&&(kt===null||!kt.has(Kt))){de=Ap(Ce,de);var Mn=jf(Je,de,1);if(Fu(Je,Mn),Mn=Xi(),Je=Os(Je,1),Je!==null)Pn(Je,1,Mn),ac(Je,Mn);else if(typeof Kt.componentDidCatch=="function"&&(kt===null||!kt.has(Kt)))try{Kt.componentDidCatch(Ce,de)}catch(Rr){}break}}Je=Je.return}}function Ka(de,Ce,Je){var Kt=de.pingCache;Kt!==null&&Kt.delete(Ce),Ce=Xi(),de.pingedLanes|=de.suspendedLanes&Je,_r===de&&(ei&Je)===Je&&(So===4||So===3&&(ei&62914560)===ei&&500>ji()-Hc?vd(de,0):qs|=Je),ac(de,Ce)}function wa(de,Ce){var Je=de.stateNode;Je!==null&&Je.delete(Ce),Ce=0,Ce===0&&(Ce=de.mode,(Ce&2)==0?Ce=1:(Ce&4)==0?Ce=xa()===99?1:2:(ha===0&&(ha=Fs),Ce=ma(62914560&~ha),Ce===0&&(Ce=4194304))),Je=Xi(),de=Os(de,Ce),de!==null&&(Pn(de,Ce,Je),ac(de,Je))}var Ai;Ai=function(de,Ce,Je){var Kt=Ce.lanes;if(de!==null)if(de.memoizedProps!==Ce.pendingProps||ys.current)Vu=!0;else if((Je&Kt)!=0)Vu=(de.flags&16384)!=0;else{switch(Vu=!1,Ce.tag){case 3:ph(Ce),Ae();break;case 5:Mi(Ce);break;case 1:yr(Ce.type)&&Hs(Ce);break;case 4:Vr(Ce,Ce.stateNode.containerInfo);break;case 10:Kt=Ce.memoizedProps.value;var Mn=Ce.type._context;Fo(Ol,Mn._currentValue),Mn._currentValue=Kt;break;case 13:if(Ce.memoizedState!==null)return(Je&Ce.child.childLanes)!=0?Xv(de,Ce,Je):(Fo(oc,oc.current&1),Ce=Pp(de,Ce,Je),Ce!==null?Ce.sibling:null);Fo(oc,oc.current&1);break;case 19:if(Kt=(Je&Ce.childLanes)!=0,(de.flags&64)!=0){if(Kt)return Sv(de,Ce,Je);Ce.flags|=64}if(Mn=Ce.memoizedState,Mn!==null&&(Mn.rendering=null,Mn.tail=null,Mn.lastEffect=null),Fo(oc,oc.current),Kt)break;return null;case 23:case 24:return Ce.lanes=0,Tp(de,Ce,Je)}return Pp(de,Ce,Je)}else Vu=!1;switch(Ce.lanes=0,Ce.tag){case 2:if(Kt=Ce.type,de!==null&&(de.alternate=null,Ce.alternate=null,Ce.flags|=2),de=Ce.pendingProps,Mn=Po(Ce,ms.current),af(Ce,Je),Mn=ev(null,Ce,Kt,de,Mn,Je),Ce.flags|=1,typeof Mn=="object"&&Mn!==null&&typeof Mn.render=="function"&&Mn.$$typeof===void 0){if(Ce.tag=1,Ce.memoizedState=null,Ce.updateQueue=null,yr(Kt)){var Rr=!0;Hs(Ce)}else Rr=!1;Ce.memoizedState=Mn.state!==null&&Mn.state!==void 0?Mn.state:null,kd(Ce);var ja=Kt.getDerivedStateFromProps;typeof ja=="function"&&ll(Ce,Kt,ja,de),Mn.updater=ad,Ce.stateNode=Mn,Mn._reactInternals=Ce,Uu(Ce,Kt,de,Je),Ce=tv(null,Ce,Kt,!0,Rr,Je)}else Ce.tag=0,lf(null,Ce,Mn,Je),Ce=Ce.child;return Ce;case 16:Mn=Ce.elementType;e:{switch(de!==null&&(de.alternate=null,Ce.alternate=null,Ce.flags|=2),de=Ce.pendingProps,Rr=Mn._init,Mn=Rr(Mn._payload),Ce.type=Mn,Rr=Ce.tag=ki(Mn),de=Rl(Mn,de),Rr){case 0:Ce=vp(null,Ce,Mn,de,Je);break e;case 1:Ce=Uv(null,Ce,Mn,de,Je);break e;case 11:Ce=cp(null,Ce,Mn,de,Je);break e;case 14:Ce=Gf(null,Ce,Mn,Rl(Mn.type,de),Kt,Je);break e}throw Error(C(306,Mn,""))}return Ce;case 0:return Kt=Ce.type,Mn=Ce.pendingProps,Mn=Ce.elementType===Kt?Mn:Rl(Kt,Mn),vp(de,Ce,Kt,Mn,Je);case 1:return Kt=Ce.type,Mn=Ce.pendingProps,Mn=Ce.elementType===Kt?Mn:Rl(Kt,Mn),Uv(de,Ce,Kt,Mn,Je);case 3:if(ph(Ce),Kt=Ce.updateQueue,de===null||Kt===null)throw Error(C(282));if(Kt=Ce.pendingProps,Mn=Ce.memoizedState,Mn=Mn!==null?Mn.element:null,xf(de,Ce),of(Ce,Kt,null,Je),Kt=Ce.memoizedState.element,Kt===Mn)Ae(),Ce=Pp(de,Ce,Je);else{if(Mn=Ce.stateNode,(Rr=Mn.hydrate)&&(Nl=wi(Ce.stateNode.containerInfo.firstChild),pu=Ce,Rr=Du=!0),Rr){if(de=Mn.mutableSourceEagerHydrationData,de!=null)for(Mn=0;Mn<de.length;Mn+=2)Rr=de[Mn],Rr._workInProgressVersionPrimary=de[Mn+1],ct.push(Rr);for(Je=qd(Ce,null,Kt,Je),Ce.child=Je;Je;)Je.flags=Je.flags&-3|1024,Je=Je.sibling}else lf(de,Ce,Kt,Je),Ae();Ce=Ce.child}return Ce;case 5:return Mi(Ce),de===null&&id(Ce),Kt=Ce.type,Mn=Ce.pendingProps,Rr=de!==null?de.memoizedProps:null,ja=Mn.children,Dr(Kt,Mn)?ja=null:Rr!==null&&Dr(Kt,Rr)&&(Ce.flags|=16),lp(de,Ce),lf(de,Ce,ja,Je),Ce.child;case 6:return de===null&&id(Ce),null;case 13:return Xv(de,Ce,Je);case 4:return Vr(Ce,Ce.stateNode.containerInfo),Kt=Ce.pendingProps,de===null?Ce.child=Ld(Ce,null,Kt,Je):lf(de,Ce,Kt,Je),Ce.child;case 11:return Kt=Ce.type,Mn=Ce.pendingProps,Mn=Ce.elementType===Kt?Mn:Rl(Kt,Mn),cp(de,Ce,Kt,Mn,Je);case 7:return lf(de,Ce,Ce.pendingProps,Je),Ce.child;case 8:return lf(de,Ce,Ce.pendingProps.children,Je),Ce.child;case 12:return lf(de,Ce,Ce.pendingProps.children,Je),Ce.child;case 10:e:{Kt=Ce.type._context,Mn=Ce.pendingProps,ja=Ce.memoizedProps,Rr=Mn.value;var ci=Ce.type._context;if(Fo(Ol,ci._currentValue),ci._currentValue=Rr,ja!==null)if(ci=ja.value,Rr=hi(ci,Rr)?0:(typeof Kt._calculateChangedBits=="function"?Kt._calculateChangedBits(ci,Rr):1073741823)|0,Rr===0){if(ja.children===Mn.children&&!ys.current){Ce=Pp(de,Ce,Je);break e}}else for(ci=Ce.child,ci!==null&&(ci.return=Ce);ci!==null;){var yo=ci.dependencies;if(yo!==null){ja=ci.child;for(var Ho=yo.firstContext;Ho!==null;){if(Ho.context===Kt&&(Ho.observedBits&Rr)!=0){ci.tag===1&&(Ho=Bd(-1,Je&-Je),Ho.tag=2,Fu(ci,Ho)),ci.lanes|=Je,Ho=ci.alternate,Ho!==null&&(Ho.lanes|=Je),Hd(ci.return,Je),yo.lanes|=Je;break}Ho=Ho.next}}else ja=ci.tag===10&&ci.type===Ce.type?null:ci.child;if(ja!==null)ja.return=ci;else for(ja=ci;ja!==null;){if(ja===Ce){ja=null;break}if(ci=ja.sibling,ci!==null){ci.return=ja.return,ja=ci;break}ja=ja.return}ci=ja}lf(de,Ce,Mn.children,Je),Ce=Ce.child}return Ce;case 9:return Mn=Ce.type,Rr=Ce.pendingProps,Kt=Rr.children,af(Ce,Je),Mn=Gd(Mn,Rr.unstable_observedBits),Kt=Kt(Mn),Ce.flags|=1,lf(de,Ce,Kt,Je),Ce.child;case 14:return Mn=Ce.type,Rr=Rl(Mn,Ce.pendingProps),Rr=Rl(Mn.type,Rr),Gf(de,Ce,Mn,Rr,Kt,Je);case 15:return wp(de,Ce,Ce.type,Ce.pendingProps,Kt,Je);case 17:return Kt=Ce.type,Mn=Ce.pendingProps,Mn=Ce.elementType===Kt?Mn:Rl(Kt,Mn),de!==null&&(de.alternate=null,Ce.alternate=null,Ce.flags|=2),Ce.tag=1,yr(Kt)?(de=!0,Hs(Ce)):de=!1,af(Ce,Je),_s(Ce,Kt,Mn),Uu(Ce,Kt,Mn,Je),tv(null,Ce,Kt,!0,de,Je);case 19:return Sv(de,Ce,Je);case 23:return Tp(de,Ce,Je);case 24:return Tp(de,Ce,Je)}throw Error(C(156,Ce.tag))};function Ti(de,Ce,Je,Kt){this.tag=de,this.key=Je,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=Ce,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Kt,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function bo(de,Ce,Je,Kt){return new Ti(de,Ce,Je,Kt)}function Hi(de){return de=de.prototype,!(!de||!de.isReactComponent)}function ki(de){if(typeof de=="function")return Hi(de)?1:0;if(de!=null){if(de=de.$$typeof,de===oe)return 11;if(de===Z)return 14}return 2}function oo(de,Ce){var Je=de.alternate;return Je===null?(Je=bo(de.tag,Ce,de.key,de.mode),Je.elementType=de.elementType,Je.type=de.type,Je.stateNode=de.stateNode,Je.alternate=de,de.alternate=Je):(Je.pendingProps=Ce,Je.type=de.type,Je.flags=0,Je.nextEffect=null,Je.firstEffect=null,Je.lastEffect=null),Je.childLanes=de.childLanes,Je.lanes=de.lanes,Je.child=de.child,Je.memoizedProps=de.memoizedProps,Je.memoizedState=de.memoizedState,Je.updateQueue=de.updateQueue,Ce=de.dependencies,Je.dependencies=Ce===null?null:{lanes:Ce.lanes,firstContext:Ce.firstContext},Je.sibling=de.sibling,Je.index=de.index,Je.ref=de.ref,Je}function Wa(de,Ce,Je,Kt,Mn,Rr){var ja=2;if(Kt=de,typeof de=="function")Hi(de)&&(ja=1);else if(typeof de=="string")ja=5;else e:switch(de){case W:return bi(Je.children,Mn,Rr,Ce);case we:ja=8,Mn|=16;break;case ne:ja=8,Mn|=1;break;case te:return de=bo(12,Je,Ce,Mn|8),de.elementType=te,de.type=te,de.lanes=Rr,de;case ge:return de=bo(13,Je,Ce,Mn),de.type=ge,de.elementType=ge,de.lanes=Rr,de;case me:return de=bo(19,Je,Ce,Mn),de.elementType=me,de.lanes=Rr,de;case fe:return Ba(Je,Mn,Rr,Ce);case pe:return de=bo(24,Je,Ce,Mn),de.elementType=pe,de.lanes=Rr,de;default:if(typeof de=="object"&&de!==null)switch(de.$$typeof){case _e:ja=10;break e;case he:ja=9;break e;case oe:ja=11;break e;case Z:ja=14;break e;case xe:ja=16,Kt=null;break e;case Ee:ja=22;break e}throw Error(C(130,de==null?de:typeof de,""))}return Ce=bo(ja,Je,Ce,Mn),Ce.elementType=de,Ce.type=Kt,Ce.lanes=Rr,Ce}function bi(de,Ce,Je,Kt){return de=bo(7,de,Kt,Ce),de.lanes=Je,de}function Ba(de,Ce,Je,Kt){return de=bo(23,de,Kt,Ce),de.elementType=fe,de.lanes=Je,de}function Gi(de,Ce,Je){return de=bo(6,de,null,Ce),de.lanes=Je,de}function Do(de,Ce,Je){return Ce=bo(4,de.children!==null?de.children:[],de.key,Ce),Ce.lanes=Je,Ce.stateNode={containerInfo:de.containerInfo,pendingChildren:null,implementation:de.implementation},Ce}function Ps(de,Ce,Je){this.tag=Ce,this.containerInfo=de,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Je,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Oa(0),this.expirationTimes=Oa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oa(0),this.mutableSourceEagerHydrationData=null}function zs(de,Ce,Je){var Kt=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Q,key:Kt==null?null:""+Kt,children:de,containerInfo:Ce,implementation:Je}}function vs(de,Ce,Je,Kt){var Mn=Ce.current,Rr=Xi(),ja=ss(Mn);e:if(Je){Je=Je._reactInternals;t:{if(Nn(Je)!==Je||Je.tag!==1)throw Error(C(170));var ci=Je;do{switch(ci.tag){case 3:ci=ci.stateNode.context;break t;case 1:if(yr(ci.type)){ci=ci.stateNode.__reactInternalMemoizedMergedChildContext;break t}}ci=ci.return}while(ci!==null);throw Error(C(171))}if(Je.tag===1){var yo=Je.type;if(yr(yo)){Je=Sc(Je,yo,ci);break e}}Je=ci}else Je=xs;return Ce.context===null?Ce.context=Je:Ce.pendingContext=Je,Ce=Bd(Rr,ja),Ce.payload={element:de},Kt=Kt===void 0?null:Kt,Kt!==null&&(Ce.callback=Kt),Fu(Mn,Ce),ts(Mn,ja,Rr),ja}function uc(de){if(de=de.current,!de.child)return null;switch(de.child.tag){case 5:return de.child.stateNode;default:return de.child.stateNode}}function Kl(de,Ce){if(de=de.memoizedState,de!==null&&de.dehydrated!==null){var Je=de.retryLane;de.retryLane=Je!==0&&Je<Ce?Je:Ce}}function fd(de,Ce){Kl(de,Ce),(de=de.alternate)&&Kl(de,Ce)}function kl(){return null}function Ic(de,Ce,Je){var Kt=Je!=null&&Je.hydrationOptions!=null&&Je.hydrationOptions.mutableSources||null;if(Je=new Ps(de,Ce,Je!=null&&Je.hydrate===!0),Ce=bo(3,null,null,Ce===2?7:Ce===1?3:0),Je.current=Ce,Ce.stateNode=Je,kd(Ce),de[pn]=Je.current,nd(de.nodeType===8?de.parentNode:de),Kt)for(de=0;de<Kt.length;de++){Ce=Kt[de];var Mn=Ce._getVersion;Mn=Mn(Ce._source),Je.mutableSourceEagerHydrationData==null?Je.mutableSourceEagerHydrationData=[Ce,Mn]:Je.mutableSourceEagerHydrationData.push(Ce,Mn)}this._internalRoot=Je}Ic.prototype.render=function(de){vs(de,this._internalRoot,null,null)},Ic.prototype.unmount=function(){var de=this._internalRoot,Ce=de.containerInfo;vs(null,de,null,function(){Ce[pn]=null})};function Pu(de){return!(!de||de.nodeType!==1&&de.nodeType!==9&&de.nodeType!==11&&(de.nodeType!==8||de.nodeValue!==" react-mount-point-unstable "))}function sf(de,Ce){if(Ce||(Ce=de?de.nodeType===9?de.documentElement:de.firstChild:null,Ce=!(!Ce||Ce.nodeType!==1||!Ce.hasAttribute("data-reactroot"))),!Ce)for(var Je;Je=de.lastChild;)de.removeChild(Je);return new Ic(de,0,Ce?{hydrate:!0}:void 0)}function $f(de,Ce,Je,Kt,Mn){var Rr=Je._reactRootContainer;if(Rr){var ja=Rr._internalRoot;if(typeof Mn=="function"){var ci=Mn;Mn=function(){var Ho=uc(ja);ci.call(Ho)}}vs(Ce,ja,de,Mn)}else{if(Rr=Je._reactRootContainer=sf(Je,Kt),ja=Rr._internalRoot,typeof Mn=="function"){var yo=Mn;Mn=function(){var Ho=uc(ja);yo.call(Ho)}}md(function(){vs(Ce,ja,de,Mn)})}return uc(ja)}Kn=function(de){if(de.tag===13){var Ce=Xi();ts(de,4,Ce),fd(de,4)}},fr=function(de){if(de.tag===13){var Ce=Xi();ts(de,67108864,Ce),fd(de,67108864)}},Hn=function(de){if(de.tag===13){var Ce=Xi(),Je=ss(de);ts(de,Je,Ce),fd(de,Je)}},Sa=function(de,Ce){return Ce()},_n=function(de,Ce,Je){switch(Ce){case"input":if(Se(de,Je),Ce=Je.name,Je.type==="radio"&&Ce!=null){for(Je=de;Je.parentNode;)Je=Je.parentNode;for(Je=Je.querySelectorAll("input[name="+JSON.stringify(""+Ce)+'][type="radio"]'),Ce=0;Ce<Je.length;Ce++){var Kt=Je[Ce];if(Kt!==de&&Kt.form===de.form){var Mn=Va(Kt);if(!Mn)throw Error(C(90));xt(Kt),Se(Kt,Mn)}}}break;case"textarea":Fe(de,Je);break;case"select":Ce=Je.value,Ce!=null&&gt(de,!!Je.multiple,Ce,!1)}},Wr=sd,br=function(de,Ce,Je,Kt,Mn){var Rr=od;od|=4;try{return ws(98,de.bind(null,Ce,Je,Kt,Mn))}finally{od=Rr,od===0&&(lc(),$o())}},Wn=function(){(od&49)==0&&(iu(),Vv())},gr=function(de,Ce){var Je=od;od|=2;try{return de(Ce)}finally{od=Je,od===0&&(lc(),$o())}};function Op(de,Ce){var Je=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pu(Ce))throw Error(C(200));return zs(de,Ce,null,Je)}var g0={Events:[_a,Fa,Va,Tr,Sr,Vv,{current:!1}]},Rp={findFiberByHostInstance:lr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},by={bundleType:Rp.bundleType,version:Rp.version,rendererPackageName:Rp.rendererPackageName,rendererConfig:Rp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ie.ReactCurrentDispatcher,findHostInstanceByFiber:function(de){return de=ln(de),de===null?null:de.stateNode},findFiberByHostInstance:Rp.findFiberByHostInstance||kl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Mv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mv.isDisabled&&Mv.supportsFiber)try{cr=Mv.inject(by),qr=Mv}catch(de){}}R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g0,R.createPortal=Op,R.findDOMNode=function(de){if(de==null)return null;if(de.nodeType===1)return de;var Ce=de._reactInternals;if(Ce===void 0)throw typeof de.render=="function"?Error(C(188)):Error(C(268,Object.keys(de)));return de=ln(Ce),de=de===null?null:de.stateNode,de},R.flushSync=function(de,Ce){var Je=od;if((Je&48)!=0)return de(Ce);od|=1;try{if(de)return ws(99,de.bind(null,Ce))}finally{od=Je,$o()}},R.hydrate=function(de,Ce,Je){if(!Pu(Ce))throw Error(C(200));return $f(null,de,Ce,!0,Je)},R.render=function(de,Ce,Je){if(!Pu(Ce))throw Error(C(200));return $f(null,de,Ce,!1,Je)},R.unmountComponentAtNode=function(de){if(!Pu(de))throw Error(C(40));return de._reactRootContainer?(md(function(){$f(null,null,de,!1,function(){de._reactRootContainer=null,de[pn]=null})}),!0):!1},R.unstable_batchedUpdates=sd,R.unstable_createPortal=function(de,Ce){return Op(de,Ce,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},R.unstable_renderSubtreeIntoContainer=function(de,Ce,Je,Kt){if(!Pu(Je))throw Error(C(200));if(de==null||de._reactInternals===void 0)throw Error(C(38));return $f(de,Ce,Je,!1,Kt)},R.version="17.0.2"},"ypl/":function(ce,R,l){"use strict";var E=l("F/eG");function m(k,A,S,y,w){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=k,this.name="AxiosError",A&&(this.code=A),S&&(this.config=S),y&&(this.request=y),w&&(this.response=w)}E.a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var O=m.prototype,C={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(function(k){C[k]={value:k}}),Object.defineProperties(m,C),Object.defineProperty(O,"isAxiosError",{value:!0}),m.from=function(k,A,S,y,w,x){var T=Object.create(O);return E.a.toFlatObject(k,T,function(D){return D!==Error.prototype},function(j){return j!=="isAxiosError"}),m.call(T,k.message,A,S,y,w),T.cause=k,T.name=k.name,x&&Object.assign(T,x),T},R.a=m},"yv/b":function(ce,R,l){"use strict";var E=l("q1tI"),m=l.n(E);R.a=Object(E.createContext)(void 0)},yxVd:function(ce,R,l){"use strict";var E=l("MMxC"),m=l("MVys"),O=l("arQb"),C=m(function(){function k(){}return!(Array.of.call(k)instanceof k)});E({target:"Array",stat:!0,forced:C},{of:function(){for(var A=0,S=arguments.length,y=new(typeof this=="function"?this:Array)(S);S>A;)O(y,A,arguments[A++]);return y.length=S,y}})},"z+Cf":function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.cssValue=R.parseLengthAndUnit=void 0;var E={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function m(C){if(typeof C=="number")return{value:C,unit:"px"};var k,A=(C.match(/^[0-9.]*/)||"").toString();A.includes(".")?k=parseFloat(A):k=parseInt(A,10);var S=(C.match(/[^0-9]*$/)||"").toString();return E[S]?{value:k,unit:S}:(console.warn("React Spinners: "+C+" is not a valid css value. Defaulting to "+k+"px."),{value:k,unit:"px"})}R.parseLengthAndUnit=m;function O(C){var k=m(C);return""+k.value+k.unit}R.cssValue=O},"z/XJ":function(ce,R,l){"use strict";var E=l("TqRt"),m=l("cDf5");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var O=E(l("3tO9")),C=y(l("q1tI")),k=E(l("g4LC")),A=E(l("KQxl"));function S(T){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(S=function(F){return F?D:j})(T)}function y(T,j){if(!j&&T&&T.__esModule)return T;if(T===null||m(T)!=="object"&&typeof T!="function")return{default:T};var D=S(j);if(D&&D.has(T))return D.get(T);var N={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in T)if(B!=="default"&&Object.prototype.hasOwnProperty.call(T,B)){var U=F?Object.getOwnPropertyDescriptor(T,B):null;U&&(U.get||U.set)?Object.defineProperty(N,B,U):N[B]=T[B]}return N.default=T,D&&D.set(T,N),N}var w=function(j,D){return C.createElement(A.default,(0,O.default)((0,O.default)({},j),{},{ref:D,icon:k.default}))};w.displayName="CloseCircleOutlined";var x=C.forwardRef(w);R.default=x},"z01/":function(ce,R){function l(E){return ce.exports=l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},ce.exports.__esModule=!0,ce.exports.default=ce.exports,l(E)}ce.exports=l,ce.exports.__esModule=!0,ce.exports.default=ce.exports},z4Hk:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.BindingWhenSyntax=void 0;var E=l("406g"),m=l("RR/i"),O=function(){function C(k){this._binding=k}return C.prototype.when=function(k){return this._binding.constraint=k,new E.BindingOnSyntax(this._binding)},C.prototype.whenTargetNamed=function(k){return this._binding.constraint=m.namedConstraint(k),new E.BindingOnSyntax(this._binding)},C.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(k){var A=k.target!==null&&!k.target.isNamed()&&!k.target.isTagged();return A},new E.BindingOnSyntax(this._binding)},C.prototype.whenTargetTagged=function(k,A){return this._binding.constraint=m.taggedConstraint(k)(A),new E.BindingOnSyntax(this._binding)},C.prototype.whenInjectedInto=function(k){return this._binding.constraint=function(A){return m.typeConstraint(k)(A.parentRequest)},new E.BindingOnSyntax(this._binding)},C.prototype.whenParentNamed=function(k){return this._binding.constraint=function(A){return m.namedConstraint(k)(A.parentRequest)},new E.BindingOnSyntax(this._binding)},C.prototype.whenParentTagged=function(k,A){return this._binding.constraint=function(S){return m.taggedConstraint(k)(A)(S.parentRequest)},new E.BindingOnSyntax(this._binding)},C.prototype.whenAnyAncestorIs=function(k){return this._binding.constraint=function(A){return m.traverseAncerstors(A,m.typeConstraint(k))},new E.BindingOnSyntax(this._binding)},C.prototype.whenNoAncestorIs=function(k){return this._binding.constraint=function(A){return!m.traverseAncerstors(A,m.typeConstraint(k))},new E.BindingOnSyntax(this._binding)},C.prototype.whenAnyAncestorNamed=function(k){return this._binding.constraint=function(A){return m.traverseAncerstors(A,m.namedConstraint(k))},new E.BindingOnSyntax(this._binding)},C.prototype.whenNoAncestorNamed=function(k){return this._binding.constraint=function(A){return!m.traverseAncerstors(A,m.namedConstraint(k))},new E.BindingOnSyntax(this._binding)},C.prototype.whenAnyAncestorTagged=function(k,A){return this._binding.constraint=function(S){return m.traverseAncerstors(S,m.taggedConstraint(k)(A))},new E.BindingOnSyntax(this._binding)},C.prototype.whenNoAncestorTagged=function(k,A){return this._binding.constraint=function(S){return!m.traverseAncerstors(S,m.taggedConstraint(k)(A))},new E.BindingOnSyntax(this._binding)},C.prototype.whenAnyAncestorMatches=function(k){return this._binding.constraint=function(A){return m.traverseAncerstors(A,k)},new E.BindingOnSyntax(this._binding)},C.prototype.whenNoAncestorMatches=function(k){return this._binding.constraint=function(A){return!m.traverseAncerstors(A,k)},new E.BindingOnSyntax(this._binding)},C}();R.BindingWhenSyntax=O},z9fm:function(ce,R,l){"use strict";var E=l("ENif"),m=l("f1E4"),O=l("oa35"),C=l("FCfD"),k=l("xH5X"),A=l("dagG");E("match",1,function(S,y,w){return[function(T){var j=C(this),D=T==null?void 0:T[S];return D!==void 0?D.call(T,j):new RegExp(T)[S](String(j))},function(x){var T=w(y,x,this);if(T.done)return T.value;var j=m(x),D=String(this);if(!j.global)return A(j,D);var N=j.unicode;j.lastIndex=0;for(var F=[],B=0,U;(U=A(j,D))!==null;){var J=String(U[0]);F[B]=J,J===""&&(j.lastIndex=k(D,O(j.lastIndex),N)),B++}return B===0?null:F}]})},zEVN:function(ce,R,l){var E=l("Gi0A"),m=l("sEf8"),O=l("mdPL"),C=O&&O.isMap,k=C?m(C):E;ce.exports=k},zLVn:function(ce,R,l){"use strict";l.d(R,"a",function(){return E});function E(m,O){if(m==null)return{};var C={},k=Object.keys(m),A,S;for(S=0;S<k.length;S++)A=k[S],!(O.indexOf(A)>=0)&&(C[A]=m[A]);return C}},zP5H:function(ce,R,l){"use strict";l.d(R,"a",function(){return m});var E=l("q1tI");function m(C){var k=E.createContext(null);function A(y){var w=C(y.initialState);return E.createElement(k.Provider,{value:w},y.children)}function S(){var y=E.useContext(k);if(y===null)throw new Error("Component must be wrapped with <Container.Provider>");return y}return{Provider:A,useContainer:S}}function O(C){return C.useContainer()}},zTPR:function(ce,R,l){"use strict";var E=l("/gva"),m=l("vO0A");ce.exports=E("Set",function(O){return function(){return O(this,arguments.length?arguments[0]:void 0)}},m)},zZ0H:function(ce,R){function l(E){return E}ce.exports=l},zbpD:function(ce,R,l){"use strict";var E=l("284h").default,m=l("TqRt").default;Object.defineProperty(R,"__esModule",{value:!0}),Object.defineProperty(R,"List",{enumerable:!0,get:function(){return y.List}}),R.default=void 0,Object.defineProperty(R,"useForm",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(R,"useWatch",{enumerable:!0,get:function(){return y.useWatch}});var O=m(l("pVnL")),C=m(l("cDf5")),k=m(l("J4zp")),A=m(l("lSNA")),S=m(l("TSYQ")),y=E(l("85Yc")),w=E(l("q1tI")),x=l("vgIT"),T=E(l("i4Ex")),j=E(l("fVhf")),D=l("Gi/T"),N=m(l("aWDn")),F=m(l("hpdD")),B=function(X,ee){var ie={};for(var G in X)Object.prototype.hasOwnProperty.call(X,G)&&ee.indexOf(G)<0&&(ie[G]=X[G]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,G=Object.getOwnPropertySymbols(X);Q<G.length;Q++)ee.indexOf(G[Q])<0&&Object.prototype.propertyIsEnumerable.call(X,G[Q])&&(ie[G[Q]]=X[G[Q]]);return ie},U=function(ee,ie){var G,Q=w.useContext(j.default),W=w.useContext(T.default),ne=w.useContext(x.ConfigContext),te=ne.getPrefixCls,_e=ne.direction,he=ne.form,oe=ee.prefixCls,ge=ee.className,me=ge===void 0?"":ge,Z=ee.size,xe=Z===void 0?Q:Z,Ee=ee.disabled,Le=Ee===void 0?W:Ee,we=ee.form,fe=ee.colon,pe=ee.labelAlign,Ke=ee.labelWrap,Me=ee.labelCol,ze=ee.wrapperCol,Ue=ee.hideRequiredMark,He=ee.layout,Ne=He===void 0?"horizontal":He,it=ee.scrollToFirstError,Xe=ee.requiredMark,ht=ee.onFinishFailed,lt=ee.name,Et=B(ee,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),tt=w.useContext(N.default),mt=(0,w.useMemo)(function(){return Xe!==void 0?Xe:he&&he.requiredMark!==void 0?he.requiredMark:!Ue},[Ue,Xe,he]),xt=fe!=null?fe:he==null?void 0:he.colon,Xt=te("form",oe),vt=(0,S.default)(Xt,(G={},(0,A.default)(G,"".concat(Xt,"-").concat(Ne),!0),(0,A.default)(G,"".concat(Xt,"-hide-required-mark"),mt===!1),(0,A.default)(G,"".concat(Xt,"-rtl"),_e==="rtl"),(0,A.default)(G,"".concat(Xt,"-").concat(xe),xe),G),me),qe=(0,F.default)(we),Re=(0,k.default)(qe,1),Se=Re[0],Ve=Se.__INTERNAL__;Ve.name=lt;var Ge=(0,w.useMemo)(function(){return{name:lt,labelAlign:pe,labelCol:Me,labelWrap:Ke,wrapperCol:ze,vertical:Ne==="vertical",colon:xt,requiredMark:mt,itemRef:Ve.itemRef,form:Se}},[lt,pe,Me,ze,Ne,xt,mt,Se]);w.useImperativeHandle(ie,function(){return Se});var _t=function(gt){ht==null||ht(gt);var at={block:"nearest"};it&&gt.errorFields.length&&((0,C.default)(it)==="object"&&(at=it),Se.scrollToField(gt.errorFields[0].name,at))};return w.createElement(T.DisabledContextProvider,{disabled:Le},w.createElement(j.SizeContextProvider,{size:xe},w.createElement(D.FormProvider,(0,O.default)({},{validateMessages:tt}),w.createElement(D.FormContext.Provider,{value:Ge},w.createElement(y.default,(0,O.default)({id:lt},Et,{name:lt,onFinishFailed:_t,form:Se,className:vt}))))))},J=w.forwardRef(U),$=J;R.default=$},zeV3:function(ce,R,l){"use strict";l.d(R,"a",function(){return D});var E=l("wx14"),m=l("rePB"),O=l("ODXe"),C=l("TSYQ"),k=l.n(C),A=l("axMd"),S=l("q1tI"),y=l("H84U"),w=l("P80f");function x($){var X=$.className,ee=$.direction,ie=$.index,G=$.marginDirection,Q=$.children,W=$.split,ne=$.wrap,te=S.useContext(D),_e=te.horizontalSize,he=te.verticalSize,oe=te.latestIndex,ge=te.supportFlexGap,me={};return ge||(ee==="vertical"?ie<oe&&(me={marginBottom:_e/(W?2:1)}):me=Object(E.a)(Object(E.a)({},ie<oe&&Object(m.a)({},G,_e/(W?2:1))),ne&&{paddingBottom:he})),Q==null?null:S.createElement(S.Fragment,null,S.createElement("div",{className:X,style:me},Q),ie<oe&&W&&S.createElement("span",{className:"".concat(X,"-split"),style:me},W))}var T=l("+f9I"),j=function($,X){var ee={};for(var ie in $)Object.prototype.hasOwnProperty.call($,ie)&&X.indexOf(ie)<0&&(ee[ie]=$[ie]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,ie=Object.getOwnPropertySymbols($);G<ie.length;G++)X.indexOf(ie[G])<0&&Object.prototype.propertyIsEnumerable.call($,ie[G])&&(ee[ie[G]]=$[ie[G]]);return ee},D=S.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),N={small:8,middle:16,large:24};function F($){return typeof $=="string"?N[$]:$||0}var B=function(X){var ee,ie=S.useContext(y.b),G=ie.getPrefixCls,Q=ie.space,W=ie.direction,ne=X.size,te=ne===void 0?(Q==null?void 0:Q.size)||"small":ne,_e=X.align,he=X.className,oe=X.children,ge=X.direction,me=ge===void 0?"horizontal":ge,Z=X.prefixCls,xe=X.split,Ee=X.style,Le=X.wrap,we=Le===void 0?!1:Le,fe=j(X,["size","align","className","children","direction","prefixCls","split","style","wrap"]),pe=Object(w.a)(),Ke=S.useMemo(function(){return(Array.isArray(te)?te:[te,te]).map(function(Xt){return F(Xt)})},[te]),Me=Object(O.a)(Ke,2),ze=Me[0],Ue=Me[1],He=Object(A.a)(oe,{keepEmpty:!0}),Ne=_e===void 0&&me==="horizontal"?"center":_e,it=G("space",Z),Xe=k()(it,"".concat(it,"-").concat(me),(ee={},Object(m.a)(ee,"".concat(it,"-rtl"),W==="rtl"),Object(m.a)(ee,"".concat(it,"-align-").concat(Ne),Ne),ee),he),ht="".concat(it,"-item"),lt=W==="rtl"?"marginLeft":"marginRight",Et=0,tt=He.map(function(Xt,vt){Xt!=null&&(Et=vt);var qe=Xt&&Xt.key||"".concat(ht,"-").concat(vt);return S.createElement(x,{className:ht,key:qe,direction:me,index:vt,marginDirection:lt,split:xe,wrap:we},Xt)}),mt=S.useMemo(function(){return{horizontalSize:ze,verticalSize:Ue,latestIndex:Et,supportFlexGap:pe}},[ze,Ue,Et,pe]);if(He.length===0)return null;var xt={};return we&&(xt.flexWrap="wrap",pe||(xt.marginBottom=-Ue)),pe&&(xt.columnGap=ze,xt.rowGap=Ue),S.createElement("div",Object(E.a)({className:Xe,style:Object(E.a)(Object(E.a)({},xt),Ee)},fe),S.createElement(D.Provider,{value:mt},tt))},U=B;U.Compact=T.b;var J=R.b=U},zlVK:function(ce,R,l){"use strict";var E=l("QGke").default;Object.defineProperty(R,"__esModule",{value:!0});var m=l("LtsZ"),O=l("q1tI"),C=l("i8i4"),k=l("V/vL");function A(we){return we&&typeof we=="object"&&"default"in we?we:{default:we}}var S=A(O);function y(we,fe){var pe=Object.keys(we);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(we);fe&&(Ke=Ke.filter(function(Me){return Object.getOwnPropertyDescriptor(we,Me).enumerable})),pe.push.apply(pe,Ke)}return pe}function w(we){for(var fe=1;fe<arguments.length;fe++){var pe=arguments[fe]!=null?arguments[fe]:{};fe%2?y(Object(pe),!0).forEach(function(Ke){j(we,Ke,pe[Ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(pe)):y(Object(pe)).forEach(function(Ke){Object.defineProperty(we,Ke,Object.getOwnPropertyDescriptor(pe,Ke))})}return we}function x(we,fe,pe,Ke,Me,ze,Ue){try{var He=we[ze](Ue),Ne=He.value}catch(it){pe(it);return}He.done?fe(Ne):Promise.resolve(Ne).then(Ke,Me)}function T(we){return function(){var fe=this,pe=arguments;return new Promise(function(Ke,Me){var ze=we.apply(fe,pe);function Ue(Ne){x(ze,Ke,Me,Ue,He,"next",Ne)}function He(Ne){x(ze,Ke,Me,Ue,He,"throw",Ne)}Ue(void 0)})}}function j(we,fe,pe){return fe in we?Object.defineProperty(we,fe,{value:pe,enumerable:!0,configurable:!0,writable:!0}):we[fe]=pe,we}function D(){return D=Object.assign||function(we){for(var fe=1;fe<arguments.length;fe++){var pe=arguments[fe];for(var Ke in pe)Object.prototype.hasOwnProperty.call(pe,Ke)&&(we[Ke]=pe[Ke])}return we},D.apply(this,arguments)}function N(we,fe){if(we==null)return{};var pe={},Ke=Object.keys(we),Me,ze;for(ze=0;ze<Ke.length;ze++)Me=Ke[ze],!(fe.indexOf(Me)>=0)&&(pe[Me]=we[Me]);return pe}function F(we,fe){if(we==null)return{};var pe=N(we,fe),Ke,Me;if(Object.getOwnPropertySymbols){var ze=Object.getOwnPropertySymbols(we);for(Me=0;Me<ze.length;Me++)Ke=ze[Me],!(fe.indexOf(Ke)>=0)&&(!Object.prototype.propertyIsEnumerable.call(we,Ke)||(pe[Ke]=we[Ke]))}return pe}function B(we,fe){return U(we)||J(we,fe)||$(we,fe)||ee()}function U(we){if(Array.isArray(we))return we}function J(we,fe){var pe=we==null?null:typeof Symbol!="undefined"&&we[Symbol.iterator]||we["@@iterator"];if(pe!=null){var Ke=[],Me=!0,ze=!1,Ue,He;try{for(pe=pe.call(we);!(Me=(Ue=pe.next()).done)&&(Ke.push(Ue.value),!(fe&&Ke.length===fe));Me=!0);}catch(Ne){ze=!0,He=Ne}finally{try{!Me&&pe.return!=null&&pe.return()}finally{if(ze)throw He}}return Ke}}function $(we,fe){if(!!we){if(typeof we=="string")return X(we,fe);var pe=Object.prototype.toString.call(we).slice(8,-1);if(pe==="Object"&&we.constructor&&(pe=we.constructor.name),pe==="Map"||pe==="Set")return Array.from(we);if(pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(pe))return X(we,fe)}}function X(we,fe){(fe==null||fe>we.length)&&(fe=we.length);for(var pe=0,Ke=new Array(fe);pe<fe;pe++)Ke[pe]=we[pe];return Ke}function ee(){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 ie(we,fe){var pe=typeof Symbol!="undefined"&&we[Symbol.iterator]||we["@@iterator"];if(!pe){if(Array.isArray(we)||(pe=$(we))||fe&&we&&typeof we.length=="number"){pe&&(we=pe);var Ke=0,Me=function(){};return{s:Me,n:function(){return Ke>=we.length?{done:!0}:{done:!1,value:we[Ke++]}},e:function(it){throw it},f:Me}}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 ze=!0,Ue=!1,He;return{s:function(){pe=pe.call(we)},n:function(){var it=pe.next();return ze=it.done,it},e:function(it){Ue=!0,He=it},f:function(){try{!ze&&pe.return!=null&&pe.return()}finally{if(Ue)throw He}}}}function G(we){return S.default.createElement(m.__RouterContext.Consumer,null,function(fe){var pe=we.location||fe.location,Ke=we.computedMatch,Me=w(w({},fe),{},{location:pe,match:Ke}),ze=we.render;return S.default.createElement(m.__RouterContext.Provider,{value:Me},Me.match?ze(w(w({},we.layoutProps),Me)):null)})}var Q=["children"];function W(we){return S.default.createElement(m.__RouterContext.Consumer,null,function(fe){var pe=we.children,Ke=F(we,Q),Me=we.location||fe.location,ze,Ue=null;return O.Children.forEach(pe,function(He){if(Ue===null&&O.isValidElement(He)){ze=He;var Ne=He.props.path||He.props.from;Ue=Ne?m.matchPath(Me.pathname,w(w({},He.props),{},{path:Ne})):fe.match}}),Ue?O.cloneElement(ze,{location:Me,computedMatch:Ue,layoutProps:Ke}):null})}var ne=["component"];function te(we,fe){var pe=we.component,Ke=F(we,ne),Me=we.component;function ze(Ue){var He=O.useState(function(){return window.g_initialProps}),Ne=B(He,2),it=Ne[0],Xe=Ne[1];return O.useEffect(function(){var ht=function(){var lt=T(E().mark(function Et(){var tt,mt,xt,Xt,vt;return E().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(mt=Me,!Me.preload){Re.next=6;break}return Re.next=4,Me.preload();case 4:mt=Re.sent,mt=mt.default||mt;case 6:if(xt=w(w({isServer:!1,match:Ue==null?void 0:Ue.match,history:Ue==null?void 0:Ue.history,route:we},fe.getInitialPropsCtx||{}),Ke),!((tt=mt)===null||tt===void 0?void 0:tt.getInitialProps)){Re.next=15;break}return Re.next=10,fe.plugin.applyPlugins({key:"ssr.modifyGetInitialPropsCtx",type:m.ApplyPluginsType.modify,initialValue:xt,async:!0});case 10:return Xt=Re.sent,Re.next=13,mt.getInitialProps(Xt||xt);case 13:vt=Re.sent,Xe(vt);case 15:case"end":return Re.stop()}},Et)}));return function(){return lt.apply(this,arguments)}}();window.g_initialProps||ht()},[window.location.pathname,window.location.search]),S.default.createElement(Me,D({},Ue,it))}return ze.wrapInitialPropsLoaded=!0,ze.displayName="ComponentWithInitialPropsFetch",ze}function _e(we){var fe=we.route,pe=we.opts,Ke=we.props,Me=oe(w(w({},pe),{},{routes:fe.routes||[],rootRoutes:pe.rootRoutes}),{location:Ke.location}),ze=fe.component,Ue=fe.wrappers;if(ze){var He=pe.isServer?{}:window.g_initialProps,Ne=w(w(w(w({},Ke),pe.extraProps),pe.pageInitialProps||He),{},{route:fe,routes:pe.rootRoutes}),it=S.default.createElement(ze,Ne,Me);if(Ue)for(var Xe=Ue.length-1;Xe>=0;)it=O.createElement(Ue[Xe],Ne,it),Xe-=1;return it}else return Me}function he(we){var fe=we.route,pe=we.index,Ke=we.opts,Me={key:fe.key||pe,exact:fe.exact,strict:fe.strict,sensitive:fe.sensitive,path:fe.path};if(fe.redirect)return S.default.createElement(m.Redirect,D({},Me,{from:fe.path,to:fe.redirect}));var ze,Ue,He;return Ke.ssrProps&&!Ke.isServer&&!((ze=fe.component)===null||ze===void 0?void 0:ze.wrapInitialPropsLoaded)&&(((Ue=fe.component)===null||Ue===void 0?void 0:Ue.getInitialProps)||((He=fe.component)===null||He===void 0?void 0:He.preload))&&(fe.component=te(fe,Ke)),S.default.createElement(G,D({},Me,{render:function(it){return _e({route:fe,opts:Ke,props:it})}}))}function oe(we){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return we.routes?S.default.createElement(W,fe,we.routes.map(function(pe,Ke){return he({route:pe,index:Ke,opts:w(w({},we),{},{rootRoutes:we.rootRoutes||we.routes})})})):null}var ge=["history"];function me(we){var fe=we.history,pe=F(we,ge);return O.useEffect(function(){window.g_useSSR&&(window.g_initialProps=null);function Ke(Me,ze){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,He=k.matchRoutes(we.routes,Me.pathname);typeof document!="undefined"&&pe.defaultTitle!==void 0&&(document.title=He.length&&He[He.length-1].route.title||pe.defaultTitle||""),we.plugin.applyPlugins({key:"onRouteChange",type:m.ApplyPluginsType.event,args:{routes:we.routes,matchedRoutes:He,location:Me,action:ze,isFirst:Ue}})}return Ke(fe.location,"POP",!0),fe.listen(Ke)},[fe]),S.default.createElement(m.Router,{history:fe},oe(pe))}function Z(we){return we.plugin.applyPlugins({type:m.ApplyPluginsType.modify,key:"rootContainer",initialValue:S.default.createElement(me,{history:we.history,routes:we.routes,plugin:we.plugin,ssrProps:we.ssrProps,defaultTitle:we.defaultTitle}),args:{history:we.history,routes:we.routes,plugin:we.plugin}})}function xe(we){return Ee.apply(this,arguments)}function Ee(){return Ee=T(E().mark(function we(fe){var pe,Ke,Me,ze,Ue,He,Ne,it,Xe=arguments;return E().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:pe=Xe.length>1&&Xe[1]!==void 0?Xe[1]:window.location.pathname,Ke=k.matchRoutes(fe,pe),Me=ie(Ke),lt.prev=3,Me.s();case 5:if((ze=Me.n()).done){lt.next=19;break}if(He=ze.value,Ne=He.route,!(typeof Ne.component!="string"&&((Ue=Ne.component)===null||Ue===void 0?void 0:Ue.preload))){lt.next=13;break}return lt.next=11,Ne.component.preload();case 11:it=lt.sent,Ne.component=it.default||it;case 13:if(!Ne.routes){lt.next=17;break}return lt.next=16,xe(Ne.routes,pe);case 16:Ne.routes=lt.sent;case 17:lt.next=5;break;case 19:lt.next=24;break;case 21:lt.prev=21,lt.t0=lt.catch(3),Me.e(lt.t0);case 24:return lt.prev=24,Me.f(),lt.finish(24);case 27:return lt.abrupt("return",fe);case 28:case"end":return lt.stop()}},we,null,[[3,21,24,27]])})),Ee.apply(this,arguments)}function Le(we){var fe=Z(we);if(we.rootElement){var pe=typeof we.rootElement=="string"?document.getElementById(we.rootElement):we.rootElement,Ke=we.callback||function(){};window.g_useSSR?we.dynamicImport?xe(we.routes).then(function(){C.hydrate(fe,pe,Ke)}):C.hydrate(fe,pe,Ke):C.render(fe,pe,Ke)}else return fe}R.renderClient=Le,R.renderRoutes=oe},zoYe:function(ce,R,l){var E=l("nmnc"),m=l("eUgh"),O=l("Z0cm"),C=l("/9aa"),k=1/0,A=E?E.prototype:void 0,S=A?A.toString:void 0;function y(w){if(typeof w=="string")return w;if(O(w))return m(w,y)+"";if(C(w))return S?S.call(w):"";var x=w+"";return x=="0"&&1/w==-k?"-0":x}ce.exports=y},"zpY+":function(ce,R,l){"use strict";function E(m){for(var O=0,C,k=0,A=m.length;A>=4;++k,A-=4)C=m.charCodeAt(k)&255|(m.charCodeAt(++k)&255)<<8|(m.charCodeAt(++k)&255)<<16|(m.charCodeAt(++k)&255)<<24,C=(C&65535)*1540483477+((C>>>16)*59797<<16),C^=C>>>24,O=(C&65535)*1540483477+((C>>>16)*59797<<16)^(O&65535)*1540483477+((O>>>16)*59797<<16);switch(A){case 3:O^=(m.charCodeAt(k+2)&255)<<16;case 2:O^=(m.charCodeAt(k+1)&255)<<8;case 1:O^=m.charCodeAt(k)&255,O=(O&65535)*1540483477+((O>>>16)*59797<<16)}return O^=O>>>13,O=(O&65535)*1540483477+((O>>>16)*59797<<16),((O^O>>>15)>>>0).toString(36)}R.a=E},zqxM:function(ce,R,l){var E=l("LqpT"),m=l("XGnz"),O=l("EA7m"),C=l("3L66"),k=O(function(A,S){return C(A)?E(A,m(S,1,C,!0)):[]});ce.exports=k},zs7G:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="DoubleRightOutlined";var S=R.a=m.forwardRef(A)},zsCH:function(ce,R,l){var E=l("MMxC"),m=l("tSXo"),O=l("f1E4"),C=l("jtLI"),k=l("g8rt"),A=l("Acmb");function S(y,w){var x=arguments.length<3?y:arguments[2],T,j;if(O(y)===x)return y[w];if(T=k.f(y,w))return C(T,"value")?T.value:T.get===void 0?void 0:T.get.call(x);if(m(j=A(y)))return S(j,w,x)}E({target:"Reflect",stat:!0},{get:S})},zueq:function(ce,R,l){"use strict";var E=l("VTBJ"),m=l("q1tI"),O={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},C=O,k=l("6VBw"),A=function(w,x){return m.createElement(k.a,Object(E.a)(Object(E.a)({},w),{},{ref:x,icon:C}))};A.displayName="InfoCircleFilled";var S=R.a=m.forwardRef(A)},zv1X:function(ce,R,l){var E=l("7BAe"),m=l("EzR6"),O=l("cTDu"),C=l("oa35"),k=l("nMuc"),A=[].push,S=function(y){var w=y==1,x=y==2,T=y==3,j=y==4,D=y==6,N=y==5||D;return function(F,B,U,J){for(var $=O(F),X=m($),ee=E(B,U,3),ie=C(X.length),G=0,Q=J||k,W=w?Q(F,ie):x?Q(F,0):void 0,ne,te;ie>G;G++)if((N||G in X)&&(ne=X[G],te=ee(ne,G,$),y)){if(w)W[G]=te;else if(te)switch(y){case 3:return!0;case 5:return ne;case 6:return G;case 2:A.call(W,ne)}else if(j)return!1}return D?-1:T||j?j:W}};ce.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6)}},zvFY:function(ce,R,l){"use strict";l.d(R,"a",function(){return we});var E=l("wx14"),m=l("rePB"),O=l("ODXe"),C=l("U8pU"),k=l("TSYQ"),A=l.n(k),S=l("Ya77"),y=l("q1tI"),w=l.n(y),x=l("H84U"),T=l("caoh"),j=l("3Nzz"),D=l("+f9I"),N=l("0n0R"),F=l("CWQg"),B=l("g0mS"),U=function(Me,ze){var Ue={};for(var He in Me)Object.prototype.hasOwnProperty.call(Me,He)&&ze.indexOf(He)<0&&(Ue[He]=Me[He]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,He=Object.getOwnPropertySymbols(Me);Ne<He.length;Ne++)ze.indexOf(He[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Me,He[Ne])&&(Ue[He[Ne]]=Me[He[Ne]]);return Ue},J=y.createContext(void 0),$=function(ze){var Ue,He=y.useContext(x.b),Ne=He.getPrefixCls,it=He.direction,Xe=ze.prefixCls,ht=ze.size,lt=ze.className,Et=U(ze,["prefixCls","size","className"]),tt=Ne("btn-group",Xe),mt="";switch(ht){case"large":mt="lg";break;case"small":mt="sm";break;case"middle":case void 0:break;default:}var xt=A()(tt,(Ue={},Object(m.a)(Ue,"".concat(tt,"-").concat(mt),mt),Object(m.a)(Ue,"".concat(tt,"-rtl"),it==="rtl"),Ue),lt);return y.createElement(J.Provider,{value:ht},y.createElement("div",Object(E.a)({},Et,{className:xt})))},X=$,ee=l("ye1Q"),ie=l("8XRh"),G=function(){return{width:0,opacity:0,transform:"scale(0)"}},Q=function(ze){return{width:ze.scrollWidth,opacity:1,transform:"scale(1)"}},W=function(ze){var Ue=ze.prefixCls,He=ze.loading,Ne=ze.existIcon,it=!!He;return Ne?w.a.createElement("span",{className:"".concat(Ue,"-loading-icon")},w.a.createElement(ee.a,null)):w.a.createElement(ie.b,{visible:it,motionName:"".concat(Ue,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:G,onAppearActive:Q,onEnterStart:G,onEnterActive:Q,onLeaveStart:Q,onLeaveActive:G},function(Xe,ht){var lt=Xe.className,Et=Xe.style;return w.a.createElement("span",{className:"".concat(Ue,"-loading-icon"),style:Et,ref:ht},w.a.createElement(ee.a,{className:lt}))})},ne=W,te=function(Me,ze){var Ue={};for(var He in Me)Object.prototype.hasOwnProperty.call(Me,He)&&ze.indexOf(He)<0&&(Ue[He]=Me[He]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,He=Object.getOwnPropertySymbols(Me);Ne<He.length;Ne++)ze.indexOf(He[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Me,He[Ne])&&(Ue[He[Ne]]=Me[He[Ne]]);return Ue},_e=/^[\u4e00-\u9fa5]{2}$/,he=_e.test.bind(_e);function oe(Me){return typeof Me=="string"}function ge(Me){return Me==="text"||Me==="link"}function me(Me,ze){if(Me!=null){var Ue=ze?" ":"";return typeof Me!="string"&&typeof Me!="number"&&oe(Me.type)&&he(Me.props.children)?Object(N.a)(Me,{children:Me.props.children.split("").join(Ue)}):typeof Me=="string"?he(Me)?y.createElement("span",null,Me.split("").join(Ue)):y.createElement("span",null,Me):Object(N.b)(Me)?y.createElement("span",null,Me):Me}}function Z(Me,ze){var Ue=!1,He=[];return y.Children.forEach(Me,function(Ne){var it=Object(C.a)(Ne),Xe=it==="string"||it==="number";if(Ue&&Xe){var ht=He.length-1,lt=He[ht];He[ht]="".concat(lt).concat(Ne)}else He.push(Ne);Ue=Xe}),y.Children.map(He,function(Ne){return me(Ne,ze)})}var xe=Object(F.a)("default","primary","ghost","dashed","link","text"),Ee=Object(F.a)("default","circle","round"),Le=Object(F.a)("submit","button","reset");function we(Me){return Me==="danger"?{danger:!0}:{type:Me}}var fe=function(ze,Ue){var He,Ne=ze.loading,it=Ne===void 0?!1:Ne,Xe=ze.prefixCls,ht=ze.type,lt=ht===void 0?"default":ht,Et=ze.danger,tt=ze.shape,mt=tt===void 0?"default":tt,xt=ze.size,Xt=ze.disabled,vt=ze.className,qe=ze.children,Re=ze.icon,Se=ze.ghost,Ve=Se===void 0?!1:Se,Ge=ze.block,_t=Ge===void 0?!1:Ge,bt=ze.htmlType,gt=bt===void 0?"button":bt,at=te(ze,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),ft=y.useContext(j.b),Fe=y.useContext(T.b),Te=Xt!=null?Xt:Fe,ut=y.useContext(J),le=y.useState(!!it),$e=Object(O.a)(le,2),Qe=$e[0],Tt=$e[1],Ot=y.useState(!1),Ut=Object(O.a)(Ot,2),At=Ut[0],Pt=Ut[1],Dt=y.useContext(x.b),Qt=Dt.getPrefixCls,cn=Dt.autoInsertSpaceInButton,$n=Dt.direction,hn=Ue||y.createRef(),_n=function(){return y.Children.count(qe)===1&&!Re&&!ge(lt)},bn=function(){if(!(!hn||!hn.current||cn===!1)){var Wt=hn.current.textContent;_n()&&he(Wt)?At||Pt(!0):At&&Pt(!1)}},Bn=typeof it=="boolean"?it:(it==null?void 0:it.delay)||!0;y.useEffect(function(){var Ct=null;return typeof Bn=="number"?Ct=window.setTimeout(function(){Ct=null,Tt(Bn)},Bn):Tt(Bn),function(){Ct&&(window.clearTimeout(Ct),Ct=null)}},[Bn]),y.useEffect(bn,[hn]);var Tn=function(Wt){var kn=ze.onClick;if(Qe||Te){Wt.preventDefault();return}kn==null||kn(Wt)},Tr=Qt("btn",Xe),Sr=cn!==!1,Wr=Object(D.c)(Tr,$n),br=Wr.compactSize,Wn=Wr.compactItemClassnames,gr={large:"lg",small:"sm",middle:void 0},na=br||ut||xt||ft,jn=na&&gr[na]||"",un=Qe?"loading":Re,zt=Object(S.a)(at,["navigate"]),Bt=A()(Tr,(He={},Object(m.a)(He,"".concat(Tr,"-").concat(mt),mt!=="default"&&mt),Object(m.a)(He,"".concat(Tr,"-").concat(lt),lt),Object(m.a)(He,"".concat(Tr,"-").concat(jn),jn),Object(m.a)(He,"".concat(Tr,"-icon-only"),!qe&&qe!==0&&!!un),Object(m.a)(He,"".concat(Tr,"-background-ghost"),Ve&&!ge(lt)),Object(m.a)(He,"".concat(Tr,"-loading"),Qe),Object(m.a)(He,"".concat(Tr,"-two-chinese-chars"),At&&Sr&&!Qe),Object(m.a)(He,"".concat(Tr,"-block"),_t),Object(m.a)(He,"".concat(Tr,"-dangerous"),!!Et),Object(m.a)(He,"".concat(Tr,"-rtl"),$n==="rtl"),Object(m.a)(He,"".concat(Tr,"-disabled"),zt.href!==void 0&&Te),He),Wn,vt),H=Re&&!Qe?Re:y.createElement(ne,{existIcon:!!Re,prefixCls:Tr,loading:!!Qe}),ot=qe||qe===0?Z(qe,_n()&&Sr):null;if(zt.href!==void 0)return y.createElement("a",Object(E.a)({},zt,{className:Bt,onClick:Tn,ref:hn}),H,ot);var nt=y.createElement("button",Object(E.a)({},at,{type:gt,className:Bt,onClick:Tn,disabled:Te,ref:hn}),H,ot);return ge(lt)?nt:y.createElement(B.a,{disabled:!!Qe},nt)},pe=y.forwardRef(fe);pe.Group=X,pe.__ANT_BUTTON=!0;var Ke=R.b=pe},zxMA:function(ce,R,l){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.QueryableString=void 0;var E=function(){function m(O){this.str=O}return m.prototype.startsWith=function(O){return this.str.indexOf(O)===0},m.prototype.endsWith=function(O){var C="",k=O.split("").reverse().join("");return C=this.str.split("").reverse().join(""),this.startsWith.call({str:C},k)},m.prototype.contains=function(O){return this.str.indexOf(O)!==-1},m.prototype.equals=function(O){return this.str===O},m.prototype.value=function(){return this.str},m}();R.QueryableString=E}});